Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.24.0"
".": "1.25.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/moderation_api/_version.py
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions src/moderation_api/resources/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/moderation_api/types/content_submit_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
Loading