From 9bac1c10cfd4531d2ba6c7b8c2e03e7285cf48fb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 6 Feb 2026 15:32:22 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- .../ContentSubmitResponse/Recommendation/ReasonCode.php | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index b7f9ccf..00bcaad 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%2Fmoderation-api-d63cb4b89d39d82fa1d4600501ad5cedfddfbcf7a8806cac61634873b5211a9f.yml -openapi_spec_hash: 5a8d51e52ea8e52681c77eed584fb21c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api%2Fmoderation-api-422330754281be38d7919f08a9d1e7862cbdc6921602473cb07a8f2022635832.yml +openapi_spec_hash: 7e6fa61ced995dc03e0ccd3e11fb121c config_hash: 6a52f6ae7d55cf3b4e91538cc7752aeb diff --git a/src/Content/ContentSubmitResponse/Recommendation/ReasonCode.php b/src/Content/ContentSubmitResponse/Recommendation/ReasonCode.php index a1eced7..d637c1c 100644 --- a/src/Content/ContentSubmitResponse/Recommendation/ReasonCode.php +++ b/src/Content/ContentSubmitResponse/Recommendation/ReasonCode.php @@ -13,4 +13,8 @@ enum ReasonCode: string case AUTHOR_BLOCK = 'author_block'; case DRY_RUN = 'dry_run'; + + case TRUSTED_ALLOW = 'trusted_allow'; + + case UNTRUSTED_SEVERITY = 'untrusted_severity'; } From e8ab4747fde06faa52208889742d39036d9ab8f9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 6 Feb 2026 15:32:43 +0000 Subject: [PATCH 2/2] release: 0.6.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 2 +- src/Version.php | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2aca35a..4208b5c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.5.0" + ".": "0.6.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b3429ff..f6e1364 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.6.0 (2026-02-06) + +Full Changelog: [v0.5.0...v0.6.0](https://github.com/moderation-api/sdk-php/compare/v0.5.0...v0.6.0) + +### Features + +* **api:** api update ([9bac1c1](https://github.com/moderation-api/sdk-php/commit/9bac1c10cfd4531d2ba6c7b8c2e03e7285cf48fb)) + ## 0.5.0 (2026-02-03) Full Changelog: [v0.4.0...v0.5.0](https://github.com/moderation-api/sdk-php/compare/v0.4.0...v0.5.0) diff --git a/README.md b/README.md index 3ce9174..01902b6 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The REST API documentation can be found on [docs.moderationapi.com](https://docs ``` -composer require "moderation-api/sdk-php 0.5.0" +composer require "moderation-api/sdk-php 0.6.0" ``` diff --git a/src/Version.php b/src/Version.php index 589ebba..ad66df2 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace ModerationAPI; // x-release-please-start-version -const VERSION = '0.5.0'; +const VERSION = '0.6.0'; // x-release-please-end