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.22.1"
".": "2.23.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-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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.22.1)
moderation_api (2.23.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.22.1"
gem "moderation_api", "~> 2.23.0"
```

<!-- x-release-please-end -->
Expand Down
1 change: 1 addition & 0 deletions lib/moderation_api/models/content_submit_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ module MetaType
EVENT = :event
PRODUCT = :product
REVIEW = :review
VOICE = :voice
OTHER = :other

# @!method self.values
Expand Down
4 changes: 4 additions & 0 deletions lib/moderation_api/models/webhook_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3063,6 +3063,7 @@ module MetaType
EVENT = :event
PRODUCT = :product
REVIEW = :review
VOICE = :voice
OTHER = :other

# @!method self.values
Expand Down Expand Up @@ -4420,6 +4421,7 @@ module MetaType
EVENT = :event
PRODUCT = :product
REVIEW = :review
VOICE = :voice
OTHER = :other

# @!method self.values
Expand Down Expand Up @@ -5498,6 +5500,7 @@ module MetaType
EVENT = :event
PRODUCT = :product
REVIEW = :review
VOICE = :voice
OTHER = :other

# @!method self.values
Expand Down Expand Up @@ -6573,6 +6576,7 @@ module MetaType
EVENT = :event
PRODUCT = :product
REVIEW = :review
VOICE = :voice
OTHER = :other

# @!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.22.1"
VERSION = "2.23.0"
end
5 changes: 5 additions & 0 deletions rbi/moderation_api/models/content_submit_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,11 @@ module ModerationAPI
:review,
ModerationAPI::ContentSubmitParams::MetaType::TaggedSymbol
)
VOICE =
T.let(
:voice,
ModerationAPI::ContentSubmitParams::MetaType::TaggedSymbol
)
OTHER =
T.let(
:other,
Expand Down
20 changes: 20 additions & 0 deletions rbi/moderation_api/models/webhook_event.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions sig/moderation_api/models/content_submit_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ module ModerationAPI
| :event
| :product
| :review
| :voice
| :other

module MetaType
Expand All @@ -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]
Expand Down
8 changes: 8 additions & 0 deletions sig/moderation_api/models/webhook_event.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -2325,6 +2325,7 @@ module ModerationAPI
| :event
| :product
| :review
| :voice
| :other

module MetaType
Expand All @@ -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]
Expand Down Expand Up @@ -3347,6 +3349,7 @@ module ModerationAPI
| :event
| :product
| :review
| :voice
| :other

module MetaType
Expand All @@ -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]
Expand Down Expand Up @@ -4174,6 +4178,7 @@ module ModerationAPI
| :event
| :product
| :review
| :voice
| :other

module MetaType
Expand All @@ -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]
Expand Down Expand Up @@ -5001,6 +5007,7 @@ module ModerationAPI
| :event
| :product
| :review
| :voice
| :other

module MetaType
Expand All @@ -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]
Expand Down