diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f4b3cc5..7aa3d56 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.4.1" + ".": "4.5.0" } diff --git a/.stats.yml b/.stats.yml index 3729e09..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-e2abce1482c148fbbce5c7a7048691afc45935d1bde7feddea11c522ad47a3a1.yml -openapi_spec_hash: 3b3b86090b2243f865bc5aea8554c737 +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 8a9d0d4..d3e149b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.5.0 (2026-06-18) + +Full Changelog: [v4.4.1...v4.5.0](https://github.com/moderation-api/sdk-typescript/compare/v4.4.1...v4.5.0) + +### Features + +* **api:** api update ([8873433](https://github.com/moderation-api/sdk-typescript/commit/8873433cd1e8e541ae3b7363b71b7f5a2bf3636b)) + ## 4.4.1 (2026-06-17) Full Changelog: [v4.4.0...v4.4.1](https://github.com/moderation-api/sdk-typescript/compare/v4.4.0...v4.4.1) diff --git a/package.json b/package.json index e748194..cf92bf8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moderation-api/sdk", - "version": "4.4.1", + "version": "4.5.0", "description": "The official TypeScript library for the Moderation API API", "author": "Moderation API ", "types": "dist/index.d.ts", diff --git a/src/resources/content.ts b/src/resources/content.ts index ec27cb3..93e013f 100644 --- a/src/resources/content.ts +++ b/src/resources/content.ts @@ -491,7 +491,7 @@ export interface ContentSubmitParams { /** * The meta type of content being moderated */ - metaType?: 'profile' | 'message' | 'post' | 'comment' | 'event' | 'product' | 'review' | 'other'; + metaType?: 'profile' | 'message' | 'post' | 'comment' | 'event' | 'product' | 'review' | 'voice' | 'other'; /** * (Enterprise) override the channel policies for this moderation request only. diff --git a/src/resources/queue/queue.ts b/src/resources/queue/queue.ts index 6a832da..1f13be6 100644 --- a/src/resources/queue/queue.ts +++ b/src/resources/queue/queue.ts @@ -1499,6 +1499,7 @@ export namespace WebhookEvent { | 'event' | 'product' | 'review' + | 'voice' | 'other' | null; @@ -2217,6 +2218,7 @@ export namespace WebhookEvent { | 'event' | 'product' | 'review' + | 'voice' | 'other' | null; @@ -2776,6 +2778,7 @@ export namespace WebhookEvent { | 'event' | 'product' | 'review' + | 'voice' | 'other' | null; @@ -3335,6 +3338,7 @@ export namespace WebhookEvent { | 'event' | 'product' | 'review' + | 'voice' | 'other' | null; diff --git a/src/version.ts b/src/version.ts index 5956b8d..dc414ab 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.4.1'; // x-release-please-version +export const VERSION = '4.5.0'; // x-release-please-version