Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Oct 4, 2024
1 parent d08363f commit 63ab7ac
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 72 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
44 changes: 22 additions & 22 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down
24 changes: 12 additions & 12 deletions src/api/resources/connectors/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down
16 changes: 8 additions & 8 deletions src/api/resources/embedJobs/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down
28 changes: 14 additions & 14 deletions src/api/resources/finetuning/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/models/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down
16 changes: 8 additions & 8 deletions src/api/resources/v2/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down

0 comments on commit 63ab7ac

Please sign in to comment.