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 @@
{
".": "0.22.0"
".": "0.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

## 0.23.0 (2026-06-18)

Full Changelog: [v0.22.0...v0.23.0](https://github.com/moderation-api/sdk-php/compare/v0.22.0...v0.23.0)

### Features

* **api:** api update ([f83c051](https://github.com/moderation-api/sdk-php/commit/f83c051deb17c543958f4790fbae5b4f4bce831d))

## 0.22.0 (2026-06-02)

Full Changelog: [v0.21.0...v0.22.0](https://github.com/moderation-api/sdk-php/compare/v0.21.0...v0.22.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The REST API documentation can be found on [docs.moderationapi.com](https://docs
<!-- x-release-please-start-version -->

```
composer require "moderation-api/sdk-php 0.22.0"
composer require "moderation-api/sdk-php 0.23.0"
```

<!-- x-release-please-end -->
Expand Down
2 changes: 2 additions & 0 deletions src/Content/ContentSubmitParams/MetaType.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ enum MetaType: string

case REVIEW = 'review';

case VOICE = 'voice';

case OTHER = 'other';
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ enum MetaType: string

case REVIEW = 'review';

case VOICE = 'voice';

case OTHER = 'other';
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ enum MetaType: string

case REVIEW = 'review';

case VOICE = 'voice';

case OTHER = 'other';
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ enum MetaType: string

case REVIEW = 'review';

case VOICE = 'voice';

case OTHER = 'other';
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ enum MetaType: string

case REVIEW = 'review';

case VOICE = 'voice';

case OTHER = 'other';
}
2 changes: 1 addition & 1 deletion src/Services/ContentRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct(private Client $client) {}
* conversationID?: string,
* doNotStore?: bool,
* metadata?: array<string,mixed>,
* metaType?: MetaType|value-of<MetaType>,
* metaType?: value-of<MetaType>,
* policies?: list<PolicyShape>,
* timestamp?: float,
* }|ContentSubmitParams $params
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace ModerationAPI;

// x-release-please-start-version
const VERSION = '0.22.0';
const VERSION = '0.23.0';
// x-release-please-end