From 2baea9759f8cb9675a8c281eec3d740d464aa1fe Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:13:55 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- .../models/content_submit_params.rb | 1 + lib/moderation_api/models/webhook_event.rb | 4 ++++ .../models/content_submit_params.rbi | 5 +++++ rbi/moderation_api/models/webhook_event.rbi | 20 +++++++++++++++++++ .../models/content_submit_params.rbs | 2 ++ sig/moderation_api/models/webhook_event.rbs | 8 ++++++++ 7 files changed, 42 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3729e09..a46dbf3 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-e2abce1482c148fbbce5c7a7048691afc45935d1bde7feddea11c522ad47a3a1.yml -openapi_spec_hash: 3b3b86090b2243f865bc5aea8554c737 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-f98e3ca6513c4ec22c2cf595a503c80649356ec0977d7e4ec592139aebf945a8.yml +openapi_spec_hash: 94799eb5a21fc7c9350e9b0678b00ca2 config_hash: 9d144cc6c49d3fd53e5b4472c1e22165 diff --git a/lib/moderation_api/models/content_submit_params.rb b/lib/moderation_api/models/content_submit_params.rb index 99503f3..4e6549d 100644 --- a/lib/moderation_api/models/content_submit_params.rb +++ b/lib/moderation_api/models/content_submit_params.rb @@ -441,6 +441,7 @@ module MetaType EVENT = :event PRODUCT = :product REVIEW = :review + VOICE = :voice OTHER = :other # @!method self.values diff --git a/lib/moderation_api/models/webhook_event.rb b/lib/moderation_api/models/webhook_event.rb index 03ec7f7..5fa8606 100644 --- a/lib/moderation_api/models/webhook_event.rb +++ b/lib/moderation_api/models/webhook_event.rb @@ -3063,6 +3063,7 @@ module MetaType EVENT = :event PRODUCT = :product REVIEW = :review + VOICE = :voice OTHER = :other # @!method self.values @@ -4420,6 +4421,7 @@ module MetaType EVENT = :event PRODUCT = :product REVIEW = :review + VOICE = :voice OTHER = :other # @!method self.values @@ -5498,6 +5500,7 @@ module MetaType EVENT = :event PRODUCT = :product REVIEW = :review + VOICE = :voice OTHER = :other # @!method self.values @@ -6573,6 +6576,7 @@ module MetaType EVENT = :event PRODUCT = :product REVIEW = :review + VOICE = :voice OTHER = :other # @!method self.values diff --git a/rbi/moderation_api/models/content_submit_params.rbi b/rbi/moderation_api/models/content_submit_params.rbi index 58de98c..4ae212a 100644 --- a/rbi/moderation_api/models/content_submit_params.rbi +++ b/rbi/moderation_api/models/content_submit_params.rbi @@ -959,6 +959,11 @@ module ModerationAPI :review, ModerationAPI::ContentSubmitParams::MetaType::TaggedSymbol ) + VOICE = + T.let( + :voice, + ModerationAPI::ContentSubmitParams::MetaType::TaggedSymbol + ) OTHER = T.let( :other, diff --git a/rbi/moderation_api/models/webhook_event.rbi b/rbi/moderation_api/models/webhook_event.rbi index c0876ab..de98e83 100644 --- a/rbi/moderation_api/models/webhook_event.rbi +++ b/rbi/moderation_api/models/webhook_event.rbi @@ -5645,6 +5645,11 @@ module ModerationAPI :review, ModerationAPI::WebhookEvent::QueueItemResolved::Data::Object::Item::MetaType::TaggedSymbol ) + VOICE = + T.let( + :voice, + ModerationAPI::WebhookEvent::QueueItemResolved::Data::Object::Item::MetaType::TaggedSymbol + ) OTHER = T.let( :other, @@ -8124,6 +8129,11 @@ module ModerationAPI :review, ModerationAPI::WebhookEvent::QueueItemAction::Data::Object::Item::MetaType::TaggedSymbol ) + VOICE = + T.let( + :voice, + ModerationAPI::WebhookEvent::QueueItemAction::Data::Object::Item::MetaType::TaggedSymbol + ) OTHER = T.let( :other, @@ -10103,6 +10113,11 @@ module ModerationAPI :review, ModerationAPI::WebhookEvent::QueueItemRejected::Data::Object::Item::MetaType::TaggedSymbol ) + VOICE = + T.let( + :voice, + ModerationAPI::WebhookEvent::QueueItemRejected::Data::Object::Item::MetaType::TaggedSymbol + ) OTHER = T.let( :other, @@ -12080,6 +12095,11 @@ module ModerationAPI :review, ModerationAPI::WebhookEvent::QueueItemAllowed::Data::Object::Item::MetaType::TaggedSymbol ) + VOICE = + T.let( + :voice, + ModerationAPI::WebhookEvent::QueueItemAllowed::Data::Object::Item::MetaType::TaggedSymbol + ) OTHER = T.let( :other, diff --git a/sig/moderation_api/models/content_submit_params.rbs b/sig/moderation_api/models/content_submit_params.rbs index 4c2d541..d9e19b2 100644 --- a/sig/moderation_api/models/content_submit_params.rbs +++ b/sig/moderation_api/models/content_submit_params.rbs @@ -328,6 +328,7 @@ module ModerationAPI | :event | :product | :review + | :voice | :other module MetaType @@ -340,6 +341,7 @@ module ModerationAPI EVENT: :event PRODUCT: :product REVIEW: :review + VOICE: :voice OTHER: :other def self?.values: -> ::Array[ModerationAPI::Models::ContentSubmitParams::meta_type] diff --git a/sig/moderation_api/models/webhook_event.rbs b/sig/moderation_api/models/webhook_event.rbs index 0b16cb9..6e5009a 100644 --- a/sig/moderation_api/models/webhook_event.rbs +++ b/sig/moderation_api/models/webhook_event.rbs @@ -2325,6 +2325,7 @@ module ModerationAPI | :event | :product | :review + | :voice | :other module MetaType @@ -2337,6 +2338,7 @@ module ModerationAPI EVENT: :event PRODUCT: :product REVIEW: :review + VOICE: :voice OTHER: :other def self?.values: -> ::Array[ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item::meta_type] @@ -3347,6 +3349,7 @@ module ModerationAPI | :event | :product | :review + | :voice | :other module MetaType @@ -3359,6 +3362,7 @@ module ModerationAPI EVENT: :event PRODUCT: :product REVIEW: :review + VOICE: :voice OTHER: :other def self?.values: -> ::Array[ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item::meta_type] @@ -4174,6 +4178,7 @@ module ModerationAPI | :event | :product | :review + | :voice | :other module MetaType @@ -4186,6 +4191,7 @@ module ModerationAPI EVENT: :event PRODUCT: :product REVIEW: :review + VOICE: :voice OTHER: :other def self?.values: -> ::Array[ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::meta_type] @@ -5001,6 +5007,7 @@ module ModerationAPI | :event | :product | :review + | :voice | :other module MetaType @@ -5013,6 +5020,7 @@ module ModerationAPI EVENT: :event PRODUCT: :product REVIEW: :review + VOICE: :voice OTHER: :other def self?.values: -> ::Array[ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item::meta_type] From 49892a18cc51a47148cc554b3e549ceb08fa267f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:14:20 +0000 Subject: [PATCH 2/2] release: 2.23.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 d1a01fd..29dfa68 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.22.1" + ".": "2.23.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e3ddaf..58acbfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.23.0 (2026-06-18) + +Full Changelog: [v2.22.1...v2.23.0](https://github.com/moderation-api/sdk-ruby/compare/v2.22.1...v2.23.0) + +### Features + +* **api:** api update ([2baea97](https://github.com/moderation-api/sdk-ruby/commit/2baea9759f8cb9675a8c281eec3d740d464aa1fe)) + ## 2.22.1 (2026-06-17) Full Changelog: [v2.22.0...v2.22.1](https://github.com/moderation-api/sdk-ruby/compare/v2.22.0...v2.22.1) diff --git a/Gemfile.lock b/Gemfile.lock index 3fe4301..61b8198 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - moderation_api (2.22.1) + moderation_api (2.23.0) cgi connection_pool diff --git a/README.md b/README.md index c46a231..1bd7a3b 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.22.1" +gem "moderation_api", "~> 2.23.0" ``` diff --git a/lib/moderation_api/version.rb b/lib/moderation_api/version.rb index fad1792..ec863d4 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.22.1" + VERSION = "2.23.0" end