diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5334cb4..257e308 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.33.0" + ".": "1.34.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 8596638..c2c8b51 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-2ef54d84ceaaff07aaed2e027c1107c7df1d9885766a080d4d965e5ed49a295b.yml -openapi_spec_hash: 48908ecb83e4027405172a62d5a1638b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-984af2e010ad1bf22f607ee96f27260ecf421c0ce5664839799b92eb349f9255.yml +openapi_spec_hash: bbd9dbdc1a4b7b0ad35aa08fba66e676 config_hash: 9d144cc6c49d3fd53e5b4472c1e22165 diff --git a/CHANGELOG.md b/CHANGELOG.md index 511ad90..b682512 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.34.0 (2026-08-14) + +Full Changelog: [v1.33.0...v1.34.0](https://github.com/moderation-api/sdk-python/compare/v1.33.0...v1.34.0) + +### Features + +* **api:** api update ([af6464a](https://github.com/moderation-api/sdk-python/commit/af6464aa721bec6118317135f724c8b4c3bdc223)) + ## 1.33.0 (2026-08-13) Full Changelog: [v1.32.0...v1.33.0](https://github.com/moderation-api/sdk-python/compare/v1.32.0...v1.33.0) diff --git a/pyproject.toml b/pyproject.toml index 59e74b2..6834ebd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "moderation_api" -version = "1.33.0" +version = "1.34.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 aa9d23c..7ed0731 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.33.0" # x-release-please-version +__version__ = "1.34.0" # x-release-please-version diff --git a/src/moderation_api/types/queue_retrieve_response.py b/src/moderation_api/types/queue_retrieve_response.py index f701947..dd91ea4 100644 --- a/src/moderation_api/types/queue_retrieve_response.py +++ b/src/moderation_api/types/queue_retrieve_response.py @@ -55,10 +55,14 @@ class QueueFilter(BaseModel): languages: Optional[List[str]] = None + max_severity: Optional[int] = FieldInfo(alias="maxSeverity", default=None) + media_types: Optional[List[Literal["text", "image", "video", "object", "audio"]]] = FieldInfo( alias="mediaTypes", default=None ) + min_severity: Optional[int] = FieldInfo(alias="minSeverity", default=None) + recommendation_actions: Optional[List[Literal["review", "allow", "reject"]]] = FieldInfo( alias="recommendationActions", default=None )