From b74652fd0a88ec4c9ee5ff46c6f26f7690ffc15f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Aug 2026 13:14:02 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 53daf1a..5c68750 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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-53614c62077463e97bd8504226e63f3d5bb47646515e34becfb06471981d16e2.yml +openapi_spec_hash: 32b5183e7cf7e808bbccdd4f9b580e93 config_hash: 9d144cc6c49d3fd53e5b4472c1e22165 From 4e483424d93298db61b5f1a10e858519b218015b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:14:02 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- lib/moderation_api/models/queue_retrieve_response.rb | 1 + rbi/moderation_api/models/queue_retrieve_response.rbi | 5 +++++ sig/moderation_api/models/queue_retrieve_response.rbs | 3 ++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5c68750..8596638 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 27 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-53614c62077463e97bd8504226e63f3d5bb47646515e34becfb06471981d16e2.yml -openapi_spec_hash: 32b5183e7cf7e808bbccdd4f9b580e93 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-2ef54d84ceaaff07aaed2e027c1107c7df1d9885766a080d4d965e5ed49a295b.yml +openapi_spec_hash: 48908ecb83e4027405172a62d5a1638b config_hash: 9d144cc6c49d3fd53e5b4472c1e22165 diff --git a/lib/moderation_api/models/queue_retrieve_response.rb b/lib/moderation_api/models/queue_retrieve_response.rb index 9340c73..72aae34 100644 --- a/lib/moderation_api/models/queue_retrieve_response.rb +++ b/lib/moderation_api/models/queue_retrieve_response.rb @@ -269,6 +269,7 @@ module Type FLAGGED = :FLAGGED NOT_FLAGGED = :NOT_FLAGGED THRESHOLDS = :THRESHOLDS + MATCHED = :MATCHED # @!method self.values # @return [Array] diff --git a/rbi/moderation_api/models/queue_retrieve_response.rbi b/rbi/moderation_api/models/queue_retrieve_response.rbi index 64b6b65..ec74870 100644 --- a/rbi/moderation_api/models/queue_retrieve_response.rbi +++ b/rbi/moderation_api/models/queue_retrieve_response.rbi @@ -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( diff --git a/sig/moderation_api/models/queue_retrieve_response.rbs b/sig/moderation_api/models/queue_retrieve_response.rbs index f8aac9c..021d381 100644 --- a/sig/moderation_api/models/queue_retrieve_response.rbs +++ b/sig/moderation_api/models/queue_retrieve_response.rbs @@ -291,7 +291,7 @@ 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 @@ -299,6 +299,7 @@ module ModerationAPI FLAGGED: :FLAGGED NOT_FLAGGED: :NOT_FLAGGED THRESHOLDS: :THRESHOLDS + MATCHED: :MATCHED def self?.values: -> ::Array[ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::FilterLabel::type_] end From b8582aad747099192f9bf6e8f58a35cc7d9d736c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:14:33 +0000 Subject: [PATCH 3/3] release: 2.32.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/moderation_api/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8f5c652..527d2e3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.31.0" + ".": "2.32.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d1f28ab..eb5fe7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Gemfile.lock b/Gemfile.lock index 5a6abbe..06db6eb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - moderation_api (2.31.0) + moderation_api (2.32.0) cgi connection_pool diff --git a/README.md b/README.md index 1b37838..c18a6e6 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "moderation_api", "~> 2.31.0" +gem "moderation_api", "~> 2.32.0" ``` diff --git a/lib/moderation_api/version.rb b/lib/moderation_api/version.rb index 0ed34dd..1a199e2 100644 --- a/lib/moderation_api/version.rb +++ b/lib/moderation_api/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module ModerationAPI - VERSION = "2.31.0" + VERSION = "2.32.0" end