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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.24.0'
version: '10.27.0'

- name: Bootstrap
run: ./scripts/bootstrap
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.24.0'
version: '10.27.0'

- name: Bootstrap
run: ./scripts/bootstrap
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.24.0'
version: '10.27.0'

- name: Bootstrap
run: ./scripts/bootstrap
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "3.6.2"
".": "3.7.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%2Fmoderation-api-d63cb4b89d39d82fa1d4600501ad5cedfddfbcf7a8806cac61634873b5211a9f.yml
openapi_spec_hash: 5a8d51e52ea8e52681c77eed584fb21c
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api%2Fmoderation-api-422330754281be38d7919f08a9d1e7862cbdc6921602473cb07a8f2022635832.yml
openapi_spec_hash: 7e6fa61ced995dc03e0ccd3e11fb121c
config_hash: 6a52f6ae7d55cf3b4e91538cc7752aeb
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 3.7.0 (2026-02-06)

Full Changelog: [v3.6.2...v3.7.0](https://github.com/moderation-api/sdk-typescript/compare/v3.6.2...v3.7.0)

### Features

* **api:** api update ([3db3b85](https://github.com/moderation-api/sdk-typescript/commit/3db3b850be82ad738e8deaa7f003a4a05638da0d))


### Chores

* **internal:** upgrade pnpm ([9904b8a](https://github.com/moderation-api/sdk-typescript/commit/9904b8ad2131a92a2b3c822f5d8f43075fc58bc3))

## 3.6.2 (2026-02-06)

Full Changelog: [v3.6.1...v3.6.2](https://github.com/moderation-api/sdk-typescript/compare/v3.6.1...v3.6.2)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@moderation-api/sdk",
"version": "3.6.2",
"version": "3.7.0",
"description": "The official TypeScript library for the Moderation API API",
"author": "Moderation API <support@moderationapi.com>",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"type": "commonjs",
"repository": "github:moderation-api/sdk-typescript",
"license": "Apache-2.0",
"packageManager": "pnpm@10.24.0",
"packageManager": "pnpm@10.27.0",
"files": [
"**/*"
],
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion src/resources/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,14 @@ export namespace ContentSubmitResponse {
* The reason code for the recommendation. Can be used to display a reason to the
* user.
*/
reason_codes: Array<'severity_reject' | 'severity_review' | 'author_block' | 'dry_run'>;
reason_codes: Array<
| 'severity_reject'
| 'severity_review'
| 'author_block'
| 'dry_run'
| 'trusted_allow'
| 'untrusted_severity'
>;
}

export interface Error {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '3.6.2'; // x-release-please-version
export const VERSION = '3.7.0'; // x-release-please-version