From dfbb9998ef58cf008ad4ec920fc387050ee37153 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:24:45 +0000 Subject: [PATCH 1/2] feat(api): api update (#84) --- .stats.yml | 2 +- src/resources/chat.ts | 2 +- tests/api-resources/chat.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index be52358..be7556d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 18 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-330636638e8423bfe0b00d5b5a5f605f9a64c59f27a3a45dd4c7ff88b9411c36.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-4206be8170d98e1f909e4c0e34167f63952645f292b0e4fa7459ca7fcfc1b48a.yml diff --git a/src/resources/chat.ts b/src/resources/chat.ts index dd32170..113a5f5 100644 --- a/src/resources/chat.ts +++ b/src/resources/chat.ts @@ -727,7 +727,7 @@ export namespace ChatChatParams { name?: string; - tool_id?: string; + tool_call_id?: string; } /** diff --git a/tests/api-resources/chat.test.ts b/tests/api-resources/chat.test.ts index c0e69bc..661fa36 100644 --- a/tests/api-resources/chat.test.ts +++ b/tests/api-resources/chat.test.ts @@ -27,7 +27,7 @@ describe('resource chat', () => { role: 'user', content: 'Write a memo summarizing this earnings report.', name: 'name', - tool_id: 'tool_id', + tool_call_id: 'tool_call_id', }, ], model: 'palmyra-x-004', From f48678889b3f8b78708cace1399f26544f3edb76 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:25:02 +0000 Subject: [PATCH 2/2] release: 1.2.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 5fdd883..c3f1463 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.1.0" + ".": "1.2.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index ccfadda..b4917da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.2.0 (2024-10-10) + +Full Changelog: [v1.1.0...v1.2.0](https://github.com/writer/writer-node/compare/v1.1.0...v1.2.0) + +### Features + +* **api:** api update ([#84](https://github.com/writer/writer-node/issues/84)) ([dfbb999](https://github.com/writer/writer-node/commit/dfbb9998ef58cf008ad4ec920fc387050ee37153)) + ## 1.1.0 (2024-10-09) Full Changelog: [v1.0.0...v1.1.0](https://github.com/writer/writer-node/compare/v1.0.0...v1.1.0) diff --git a/package.json b/package.json index 30f24d0..ee5ecce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "writer-sdk", - "version": "1.1.0", + "version": "1.2.0", "description": "The official TypeScript library for the Writer API", "author": "Writer ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index c80f975..54c8a47 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.1.0'; // x-release-please-version +export const VERSION = '1.2.0'; // x-release-please-version