From 3f27be13d92b5690ee8c87874b05c59018796da9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 08:39:54 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/resources/queue/queue.ts | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6265db3..3729e09 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-e2abce1482c148fbbce5c7a7048691afc45935d1bde7feddea11c522ad47a3a1.yml +openapi_spec_hash: 3b3b86090b2243f865bc5aea8554c737 config_hash: 9d144cc6c49d3fd53e5b4472c1e22165 diff --git a/src/resources/queue/queue.ts b/src/resources/queue/queue.ts index bac5e7e..6a832da 100644 --- a/src/resources/queue/queue.ts +++ b/src/resources/queue/queue.ts @@ -1470,6 +1470,12 @@ export namespace WebhookEvent { */ flagged: boolean | null; + /** + * For object content, the field keys (e.g. "bio") that triggered a flag. Empty + * when no fields were flagged or the content is not an object. + */ + flagged_fields: Array; + /** * Moderation labels applied to the content */ @@ -2182,6 +2188,12 @@ export namespace WebhookEvent { */ flagged: boolean | null; + /** + * For object content, the field keys (e.g. "bio") that triggered a flag. Empty + * when no fields were flagged or the content is not an object. + */ + flagged_fields: Array; + /** * Moderation labels applied to the content */ @@ -2735,6 +2747,12 @@ export namespace WebhookEvent { */ flagged: boolean | null; + /** + * For object content, the field keys (e.g. "bio") that triggered a flag. Empty + * when no fields were flagged or the content is not an object. + */ + flagged_fields: Array; + /** * Moderation labels applied to the content */ @@ -3288,6 +3306,12 @@ export namespace WebhookEvent { */ flagged: boolean | null; + /** + * For object content, the field keys (e.g. "bio") that triggered a flag. Empty + * when no fields were flagged or the content is not an object. + */ + flagged_fields: Array; + /** * Moderation labels applied to the content */ From e490fed042b9526a2b33d706be45ea3384ef683f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 08:40:18 +0000 Subject: [PATCH 2/2] release: 4.4.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 83f9eb8..fb1f343 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.3.0" + ".": "4.4.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index c73298d..46ddf8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.4.0 (2026-06-02) + +Full Changelog: [v4.3.0...v4.4.0](https://github.com/moderation-api/sdk-typescript/compare/v4.3.0...v4.4.0) + +### Features + +* **api:** api update ([3f27be1](https://github.com/moderation-api/sdk-typescript/commit/3f27be13d92b5690ee8c87874b05c59018796da9)) + ## 4.3.0 (2026-06-02) Full Changelog: [v4.2.0...v4.3.0](https://github.com/moderation-api/sdk-typescript/compare/v4.2.0...v4.3.0) diff --git a/package.json b/package.json index 7340deb..531c4a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moderation-api/sdk", - "version": "4.3.0", + "version": "4.4.0", "description": "The official TypeScript library for the Moderation API API", "author": "Moderation API ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index e743242..8ab2514 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.3.0'; // x-release-please-version +export const VERSION = '4.4.0'; // x-release-please-version