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.31.0"
".": "2.32.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: 27
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-47b38de435f06bb8996ae35c4fdc27a588c5746f06f8d3b5c3fbead53d799513.yml
openapi_spec_hash: 754e415c9b02d3ee3758c916b6376378
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-2ef54d84ceaaff07aaed2e027c1107c7df1d9885766a080d4d965e5ed49a295b.yml
openapi_spec_hash: 48908ecb83e4027405172a62d5a1638b
config_hash: 9d144cc6c49d3fd53e5b4472c1e22165
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 2.32.0 (2026-08-13)

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

### Features

* **api:** api update ([4e48342](https://github.com/moderation-api/sdk-ruby/commit/4e483424d93298db61b5f1a10e858519b218015b))

## 2.31.0 (2026-08-07)

Full Changelog: [v2.30.0...v2.31.0](https://github.com/moderation-api/sdk-ruby/compare/v2.30.0...v2.31.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.31.0)
moderation_api (2.32.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.31.0"
gem "moderation_api", "~> 2.32.0"
```

<!-- x-release-please-end -->
Expand Down
1 change: 1 addition & 0 deletions lib/moderation_api/models/queue_retrieve_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ module Type
FLAGGED = :FLAGGED
NOT_FLAGGED = :NOT_FLAGGED
THRESHOLDS = :THRESHOLDS
MATCHED = :MATCHED

# @!method self.values
# @return [Array<Symbol>]
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.31.0"
VERSION = "2.32.0"
end
5 changes: 5 additions & 0 deletions rbi/moderation_api/models/queue_retrieve_response.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,11 @@ module ModerationAPI
:THRESHOLDS,
ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::FilterLabel::Type::TaggedSymbol
)
MATCHED =
T.let(
:MATCHED,
ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::FilterLabel::Type::TaggedSymbol
)

sig do
override.returns(
Expand Down
3 changes: 2 additions & 1 deletion sig/moderation_api/models/queue_retrieve_response.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,15 @@ module ModerationAPI
min_threshold: Float?
}

type type_ = :FLAGGED | :NOT_FLAGGED | :THRESHOLDS
type type_ = :FLAGGED | :NOT_FLAGGED | :THRESHOLDS | :MATCHED

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

FLAGGED: :FLAGGED
NOT_FLAGGED: :NOT_FLAGGED
THRESHOLDS: :THRESHOLDS
MATCHED: :MATCHED

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