From 77a8686c1461002f41c2243b26626d6605fdc1ae Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 15:13:37 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- .../types/content_submit_response.py | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.stats.yml b/.stats.yml index 78bcea0..fd98a14 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-c6993914ad5f9cb983c4b4eb18276af82b53ef3b56fbb7aec82fad2e2a39049a.yml -openapi_spec_hash: b528665c10bbfa79a5de41c338423fdd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-d45fc18a0aeccdda77cc82d443afc4e011858a155d39f8222e019127cc103b25.yml +openapi_spec_hash: 5b8bb678ea468c4801cf9ccc96b01637 config_hash: 9d144cc6c49d3fd53e5b4472c1e22165 diff --git a/src/moderation_api/types/content_submit_response.py b/src/moderation_api/types/content_submit_response.py index a2331ef..9e4ef31 100644 --- a/src/moderation_api/types/content_submit_response.py +++ b/src/moderation_api/types/content_submit_response.py @@ -144,6 +144,13 @@ class Content(BaseModel): ] = None """The modified content, if any.""" + unicode_cleaned: bool + """ + Whether Unicode spoofing normalization rewrote the content — confusables folded + to their Latin lookalikes, invisible characters and combining-mark abuse + stripped. + """ + transcript: Optional[str] = None """The transcribed text from audio content. @@ -151,13 +158,6 @@ class Content(BaseModel): on the channel. """ - unicode_cleaned: Optional[bool] = None - """ - Whether Unicode spoofing normalization rewrote the content — confusables folded - to their Latin lookalikes, invisible characters and combining-mark abuse - stripped. - """ - class Evaluation(BaseModel): """The evaluation of the content after running the channel policies.""" From a30c3581bb1a9770f1e3bfe69be6dd776cc9c35a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 15:14:52 +0000 Subject: [PATCH 2/2] release: 1.28.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/moderation_api/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4eb8987..31d8238 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.27.0" + ".": "1.28.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e05fd27..64bc6e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.28.0 (2026-07-20) + +Full Changelog: [v1.27.0...v1.28.0](https://github.com/moderation-api/sdk-python/compare/v1.27.0...v1.28.0) + +### Features + +* **api:** api update ([77a8686](https://github.com/moderation-api/sdk-python/commit/77a8686c1461002f41c2243b26626d6605fdc1ae)) + ## 1.27.0 (2026-07-20) Full Changelog: [v1.26.0...v1.27.0](https://github.com/moderation-api/sdk-python/compare/v1.26.0...v1.27.0) diff --git a/pyproject.toml b/pyproject.toml index acc30f8..94e7010 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "moderation_api" -version = "1.27.0" +version = "1.28.0" description = "The official Python library for the moderation-api API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/moderation_api/_version.py b/src/moderation_api/_version.py index e4fa426..475db8d 100644 --- a/src/moderation_api/_version.py +++ b/src/moderation_api/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "moderation_api" -__version__ = "1.27.0" # x-release-please-version +__version__ = "1.28.0" # x-release-please-version