Skip to content

Commit

Permalink
SDK regeneration (#216)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
fern-api[bot] authored Jan 10, 2025
1 parent b5f751a commit dd911c8
Show file tree
Hide file tree
Showing 20 changed files with 868 additions and 768 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cohere-ai",
"version": "7.15.2",
"version": "7.15.3",
"private": false,
"repository": "https://github.com/cohere-ai/cohere-typescript",
"main": "./index.js",
Expand Down
44 changes: 22 additions & 22 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
Accepts: accepts != null ? accepts : undefined,
Expand Down Expand Up @@ -239,8 +239,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
Accepts: accepts != null ? accepts : undefined,
Expand Down Expand Up @@ -343,8 +343,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -478,8 +478,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -601,8 +601,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -720,8 +720,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -839,8 +839,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -960,8 +960,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -1079,8 +1079,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -1198,8 +1198,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -1310,8 +1310,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
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 @@ -85,8 +85,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -200,8 +200,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -313,8 +313,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -424,8 +424,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -537,8 +537,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -661,8 +661,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
20 changes: 10 additions & 10 deletions src/api/resources/datasets/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -268,8 +268,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
..._maybeEncodedRequest.headers,
Expand Down Expand Up @@ -378,8 +378,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -486,8 +486,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -594,8 +594,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
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 @@ -71,8 +71,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -186,8 +186,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -299,8 +299,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -407,8 +407,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
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 @@ -84,8 +84,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -186,8 +186,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -284,8 +284,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -377,8 +377,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -480,8 +480,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -594,8 +594,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -700,8 +700,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
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 @@ -72,8 +72,8 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -201,8 +201,8 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.15.2",
"User-Agent": "cohere-ai/7.15.2",
"X-Fern-SDK-Version": "7.15.3",
"User-Agent": "cohere-ai/7.15.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
Loading

0 comments on commit dd911c8

Please sign in to comment.