Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.38.0"
".": "2.39.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 34
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-bde66914ad8b6ebb5dec231f65dfb4c6d9051a4ed000cc0f3c23923a903fada6.yml
openapi_spec_hash: f69f67e1d9d4cf68941031bddcec64c6
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-ed38c0519aa62ea0320bb4d46fad0e5255aebfd460b3dd6baa03b9af4ef7f18a.yml
openapi_spec_hash: d38359acb0ce2ba95b4ab991b47ca47b
config_hash: 6e090a71f4d354167d93b4534a0e7f05
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 2.39.0 (2026-08-27)

Full Changelog: [v2.38.0...v2.39.0](https://github.com/moderation-api/sdk-ruby/compare/v2.38.0...v2.39.0)

### Features

* **api:** api update ([9900a33](https://github.com/moderation-api/sdk-ruby/commit/9900a33c21a106b0ba430aa630d88f8cf7f2ccb1))

## 2.38.0 (2026-08-27)

Full Changelog: [v2.37.0...v2.38.0](https://github.com/moderation-api/sdk-ruby/compare/v2.37.0...v2.38.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
moderation_api (2.38.0)
moderation_api (2.39.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "moderation_api", "~> 2.38.0"
gem "moderation_api", "~> 2.39.0"
```

<!-- x-release-please-end -->
Expand Down
3 changes: 2 additions & 1 deletion lib/moderation_api/models/queue_retrieve_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ module CasebookHandled
extend ModerationAPI::Internal::Type::Enum

ALL = :ALL
HANDLED = :HANDLED
ALLOWED = :ALLOWED
REJECTED = :REJECTED
OVERRULED = :OVERRULED

# @!method self.values
Expand Down
2 changes: 1 addition & 1 deletion lib/moderation_api/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ModerationAPI
VERSION = "2.38.0"
VERSION = "2.39.0"
end
9 changes: 7 additions & 2 deletions rbi/moderation_api/models/queue_retrieve_response.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,14 @@ module ModerationAPI
:ALL,
ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::CasebookHandled::TaggedSymbol
)
HANDLED =
ALLOWED =
T.let(
:HANDLED,
:ALLOWED,
ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::CasebookHandled::TaggedSymbol
)
REJECTED =
T.let(
:REJECTED,
ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::CasebookHandled::TaggedSymbol
)
OVERRULED =
Expand Down
5 changes: 3 additions & 2 deletions sig/moderation_api/models/queue_retrieve_response.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,14 @@ module ModerationAPI
within_unit: ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::within_unit
}

type casebook_handled = :ALL | :HANDLED | :OVERRULED
type casebook_handled = :ALL | :ALLOWED | :REJECTED | :OVERRULED

module CasebookHandled
extend ModerationAPI::Internal::Type::Enum

ALL: :ALL
HANDLED: :HANDLED
ALLOWED: :ALLOWED
REJECTED: :REJECTED
OVERRULED: :OVERRULED

def self?.values: -> ::Array[ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::casebook_handled]
Expand Down