From 63ab7ace507da080b5fd9c199225aaa493e2df53 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2024 12:43:14 +0000 Subject: [PATCH] SDK regeneration --- package.json | 6 +-- src/Client.ts | 44 +++++++++---------- src/api/resources/connectors/client/Client.ts | 24 +++++----- src/api/resources/embedJobs/client/Client.ts | 16 +++---- src/api/resources/finetuning/client/Client.ts | 28 ++++++------ src/api/resources/models/client/Client.ts | 8 ++-- src/api/resources/v2/client/Client.ts | 16 +++---- 7 files changed, 70 insertions(+), 72 deletions(-) diff --git a/package.json b/package.json index bc09789..a57a39c 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,15 @@ { "name": "cohere-ai", - "version": "7.14.0", + "version": "7.14.1", "private": false, "repository": "https://github.com/cohere-ai/cohere-typescript", "main": "./index.js", "types": "./index.d.ts", - "bin": "./src/test/cloud-tests/script.ts", "scripts": { "format": "prettier . --write --ignore-unknown", "build": "tsc", "prepack": "cp -rv dist/. .", - "test": "jest", - "cloud-tests": "npx ts-node src/test/cloud-tests/script.ts" + "test": "jest" }, "dependencies": { "url-join": "4.0.1", diff --git a/src/Client.ts b/src/Client.ts index aa9ad94..a27b00f 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -63,8 +63,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, Accepts: accepts != null ? accepts : undefined, @@ -241,8 +241,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, Accepts: accepts != null ? accepts : undefined, @@ -382,8 +382,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -553,8 +553,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -712,8 +712,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -867,8 +867,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1022,8 +1022,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1179,8 +1179,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1334,8 +1334,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1489,8 +1489,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1637,8 +1637,8 @@ export class CohereClient { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/connectors/client/Client.ts b/src/api/resources/connectors/client/Client.ts index bdac187..908fc6a 100644 --- a/src/api/resources/connectors/client/Client.ts +++ b/src/api/resources/connectors/client/Client.ts @@ -82,8 +82,8 @@ export class Connectors { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -233,8 +233,8 @@ export class Connectors { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -382,8 +382,8 @@ export class Connectors { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -529,8 +529,8 @@ export class Connectors { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -678,8 +678,8 @@ export class Connectors { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -838,8 +838,8 @@ export class Connectors { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/embedJobs/client/Client.ts b/src/api/resources/embedJobs/client/Client.ts index aa90339..1787a1a 100644 --- a/src/api/resources/embedJobs/client/Client.ts +++ b/src/api/resources/embedJobs/client/Client.ts @@ -68,8 +68,8 @@ export class EmbedJobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -219,8 +219,8 @@ export class EmbedJobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -368,8 +368,8 @@ export class EmbedJobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -512,8 +512,8 @@ export class EmbedJobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/finetuning/client/Client.ts b/src/api/resources/finetuning/client/Client.ts index 4851400..f02804a 100644 --- a/src/api/resources/finetuning/client/Client.ts +++ b/src/api/resources/finetuning/client/Client.ts @@ -82,8 +82,8 @@ export class Finetuning { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -181,8 +181,8 @@ export class Finetuning { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -276,8 +276,8 @@ export class Finetuning { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -366,8 +366,8 @@ export class Finetuning { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -466,8 +466,8 @@ export class Finetuning { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -577,8 +577,8 @@ export class Finetuning { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -680,8 +680,8 @@ export class Finetuning { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/models/client/Client.ts b/src/api/resources/models/client/Client.ts index b686151..3d0c486 100644 --- a/src/api/resources/models/client/Client.ts +++ b/src/api/resources/models/client/Client.ts @@ -69,8 +69,8 @@ export class Models { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -234,8 +234,8 @@ export class Models { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/v2/client/Client.ts b/src/api/resources/v2/client/Client.ts index bddcfef..eb19fd5 100644 --- a/src/api/resources/v2/client/Client.ts +++ b/src/api/resources/v2/client/Client.ts @@ -57,8 +57,8 @@ export class V2 { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -228,8 +228,8 @@ export class V2 { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -391,8 +391,8 @@ export class V2 { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -547,8 +547,8 @@ export class V2 { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "cohere-ai", - "X-Fern-SDK-Version": "7.14.0", - "User-Agent": "cohere-ai/7.14.0", + "X-Fern-SDK-Version": "7.14.1", + "User-Agent": "cohere-ai/7.14.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, },