From 11d5ddabeceefa2a22ec92147ab8f7b24fd56421 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 12:13:22 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/moderation_api/types/queue_retrieve_response.py | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index bb83f32..7564488 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-ed38c0519aa62ea0320bb4d46fad0e5255aebfd460b3dd6baa03b9af4ef7f18a.yml -openapi_spec_hash: d38359acb0ce2ba95b4ab991b47ca47b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-4e324c5b209f6b1e2451e0fbafd20b35ba5fe2b57e3c70dd082faad332c3b779.yml +openapi_spec_hash: e974a7107729bb684c55008102a17754 config_hash: 6e090a71f4d354167d93b4534a0e7f05 diff --git a/src/moderation_api/types/queue_retrieve_response.py b/src/moderation_api/types/queue_retrieve_response.py index 10f5dac..e0075f0 100644 --- a/src/moderation_api/types/queue_retrieve_response.py +++ b/src/moderation_api/types/queue_retrieve_response.py @@ -35,8 +35,12 @@ class QueueFilter(BaseModel): before_date: Optional[str] = FieldInfo(alias="beforeDate", default=None) - casebook_handled: Optional[Literal["ALL", "ALLOWED", "REJECTED", "OVERRULED"]] = FieldInfo( - alias="casebookHandled", default=None + casebook_agreement: Optional[Literal["ALL", "OVERRULED", "AGREED"]] = FieldInfo( + alias="casebookAgreement", default=None + ) + + casebook_answer: Optional[Literal["ALL", "ALLOWED", "REJECTED", "NO_ANSWER"]] = FieldInfo( + alias="casebookAnswer", default=None ) check_status: Optional[Literal["all", "checked", "unchecked"]] = FieldInfo(alias="checkStatus", default=None) From f37f433cddad3d5eb558112815133aa85ee21bc4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 12:13:46 +0000 Subject: [PATCH 2/2] release: 1.41.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 0c37ae4..4bce58a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.40.0" + ".": "1.41.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c03cda7..fdd5345 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.41.0 (2026-08-28) + +Full Changelog: [v1.40.0...v1.41.0](https://github.com/moderation-api/sdk-python/compare/v1.40.0...v1.41.0) + +### Features + +* **api:** api update ([11d5dda](https://github.com/moderation-api/sdk-python/commit/11d5ddabeceefa2a22ec92147ab8f7b24fd56421)) + ## 1.40.0 (2026-08-27) Full Changelog: [v1.39.0...v1.40.0](https://github.com/moderation-api/sdk-python/compare/v1.39.0...v1.40.0) diff --git a/pyproject.toml b/pyproject.toml index b5073f8..ba68fb8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "moderation_api" -version = "1.40.0" +version = "1.41.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 41bb56e..cb8b1bf 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.40.0" # x-release-please-version +__version__ = "1.41.0" # x-release-please-version