diff --git a/.release-please-manifest.json b/.release-please-manifest.json index bfaab56..0c0c0c3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.24.0" + ".": "1.25.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 6265db3..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-9c5291067ec36cba0c9ef772c5c8eb10238fb332f1f25d0e31f3f2ad87c24e5e.yml -openapi_spec_hash: 790cc0a36d6ed693c06a285c441ab977 +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/CHANGELOG.md b/CHANGELOG.md index fbad283..00017bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.25.0 (2026-06-18) + +Full Changelog: [v1.24.0...v1.25.0](https://github.com/moderation-api/sdk-python/compare/v1.24.0...v1.25.0) + +### Features + +* **api:** api update ([99f9085](https://github.com/moderation-api/sdk-python/commit/99f9085f211b55811acc687d41c5df778f822d4c)) + ## 1.24.0 (2026-06-02) Full Changelog: [v1.23.0...v1.24.0](https://github.com/moderation-api/sdk-python/compare/v1.23.0...v1.24.0) diff --git a/pyproject.toml b/pyproject.toml index 31ecf22..fd8275d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "moderation_api" -version = "1.24.0" +version = "1.25.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 0852e07..3bd6940 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.24.0" # x-release-please-version +__version__ = "1.25.0" # x-release-please-version diff --git a/src/moderation_api/resources/content.py b/src/moderation_api/resources/content.py index b29a7a3..7938459 100644 --- a/src/moderation_api/resources/content.py +++ b/src/moderation_api/resources/content.py @@ -55,7 +55,7 @@ def submit( conversation_id: str | Omit = omit, do_not_store: bool | Omit = omit, metadata: Dict[str, object] | Omit = omit, - meta_type: Literal["profile", "message", "post", "comment", "event", "product", "review", "other"] + meta_type: Literal["profile", "message", "post", "comment", "event", "product", "review", "voice", "other"] | Omit = omit, policies: Iterable[content_submit_params.Policy] | Omit = omit, timestamp: float | Omit = omit, @@ -158,7 +158,7 @@ async def submit( conversation_id: str | Omit = omit, do_not_store: bool | Omit = omit, metadata: Dict[str, object] | Omit = omit, - meta_type: Literal["profile", "message", "post", "comment", "event", "product", "review", "other"] + meta_type: Literal["profile", "message", "post", "comment", "event", "product", "review", "voice", "other"] | Omit = omit, policies: Iterable[content_submit_params.Policy] | Omit = omit, timestamp: float | Omit = omit, diff --git a/src/moderation_api/types/content_submit_params.py b/src/moderation_api/types/content_submit_params.py index 76f4631..c05f892 100644 --- a/src/moderation_api/types/content_submit_params.py +++ b/src/moderation_api/types/content_submit_params.py @@ -91,7 +91,7 @@ class ContentSubmitParams(TypedDict, total=False): """Any metadata you want to store with the content""" meta_type: Annotated[ - Literal["profile", "message", "post", "comment", "event", "product", "review", "other"], + Literal["profile", "message", "post", "comment", "event", "product", "review", "voice", "other"], PropertyInfo(alias="metaType"), ] """The meta type of content being moderated"""