Skip to content

Commit 63ab7ac

Browse files
committed
SDK regeneration
1 parent d08363f commit 63ab7ac

File tree

7 files changed

+70
-72
lines changed

7 files changed

+70
-72
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
{
22
"name": "cohere-ai",
3-
"version": "7.14.0",
3+
"version": "7.14.1",
44
"private": false,
55
"repository": "https://github.com/cohere-ai/cohere-typescript",
66
"main": "./index.js",
77
"types": "./index.d.ts",
8-
"bin": "./src/test/cloud-tests/script.ts",
98
"scripts": {
109
"format": "prettier . --write --ignore-unknown",
1110
"build": "tsc",
1211
"prepack": "cp -rv dist/. .",
13-
"test": "jest",
14-
"cloud-tests": "npx ts-node src/test/cloud-tests/script.ts"
12+
"test": "jest"
1513
},
1614
"dependencies": {
1715
"url-join": "4.0.1",

src/Client.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export class CohereClient {
6363
: undefined,
6464
"X-Fern-Language": "JavaScript",
6565
"X-Fern-SDK-Name": "cohere-ai",
66-
"X-Fern-SDK-Version": "7.14.0",
67-
"User-Agent": "cohere-ai/7.14.0",
66+
"X-Fern-SDK-Version": "7.14.1",
67+
"User-Agent": "cohere-ai/7.14.1",
6868
"X-Fern-Runtime": core.RUNTIME.type,
6969
"X-Fern-Runtime-Version": core.RUNTIME.version,
7070
Accepts: accepts != null ? accepts : undefined,
@@ -241,8 +241,8 @@ export class CohereClient {
241241
: undefined,
242242
"X-Fern-Language": "JavaScript",
243243
"X-Fern-SDK-Name": "cohere-ai",
244-
"X-Fern-SDK-Version": "7.14.0",
245-
"User-Agent": "cohere-ai/7.14.0",
244+
"X-Fern-SDK-Version": "7.14.1",
245+
"User-Agent": "cohere-ai/7.14.1",
246246
"X-Fern-Runtime": core.RUNTIME.type,
247247
"X-Fern-Runtime-Version": core.RUNTIME.version,
248248
Accepts: accepts != null ? accepts : undefined,
@@ -382,8 +382,8 @@ export class CohereClient {
382382
: undefined,
383383
"X-Fern-Language": "JavaScript",
384384
"X-Fern-SDK-Name": "cohere-ai",
385-
"X-Fern-SDK-Version": "7.14.0",
386-
"User-Agent": "cohere-ai/7.14.0",
385+
"X-Fern-SDK-Version": "7.14.1",
386+
"User-Agent": "cohere-ai/7.14.1",
387387
"X-Fern-Runtime": core.RUNTIME.type,
388388
"X-Fern-Runtime-Version": core.RUNTIME.version,
389389
},
@@ -553,8 +553,8 @@ export class CohereClient {
553553
: undefined,
554554
"X-Fern-Language": "JavaScript",
555555
"X-Fern-SDK-Name": "cohere-ai",
556-
"X-Fern-SDK-Version": "7.14.0",
557-
"User-Agent": "cohere-ai/7.14.0",
556+
"X-Fern-SDK-Version": "7.14.1",
557+
"User-Agent": "cohere-ai/7.14.1",
558558
"X-Fern-Runtime": core.RUNTIME.type,
559559
"X-Fern-Runtime-Version": core.RUNTIME.version,
560560
},
@@ -712,8 +712,8 @@ export class CohereClient {
712712
: undefined,
713713
"X-Fern-Language": "JavaScript",
714714
"X-Fern-SDK-Name": "cohere-ai",
715-
"X-Fern-SDK-Version": "7.14.0",
716-
"User-Agent": "cohere-ai/7.14.0",
715+
"X-Fern-SDK-Version": "7.14.1",
716+
"User-Agent": "cohere-ai/7.14.1",
717717
"X-Fern-Runtime": core.RUNTIME.type,
718718
"X-Fern-Runtime-Version": core.RUNTIME.version,
719719
},
@@ -867,8 +867,8 @@ export class CohereClient {
867867
: undefined,
868868
"X-Fern-Language": "JavaScript",
869869
"X-Fern-SDK-Name": "cohere-ai",
870-
"X-Fern-SDK-Version": "7.14.0",
871-
"User-Agent": "cohere-ai/7.14.0",
870+
"X-Fern-SDK-Version": "7.14.1",
871+
"User-Agent": "cohere-ai/7.14.1",
872872
"X-Fern-Runtime": core.RUNTIME.type,
873873
"X-Fern-Runtime-Version": core.RUNTIME.version,
874874
},
@@ -1022,8 +1022,8 @@ export class CohereClient {
10221022
: undefined,
10231023
"X-Fern-Language": "JavaScript",
10241024
"X-Fern-SDK-Name": "cohere-ai",
1025-
"X-Fern-SDK-Version": "7.14.0",
1026-
"User-Agent": "cohere-ai/7.14.0",
1025+
"X-Fern-SDK-Version": "7.14.1",
1026+
"User-Agent": "cohere-ai/7.14.1",
10271027
"X-Fern-Runtime": core.RUNTIME.type,
10281028
"X-Fern-Runtime-Version": core.RUNTIME.version,
10291029
},
@@ -1179,8 +1179,8 @@ export class CohereClient {
11791179
: undefined,
11801180
"X-Fern-Language": "JavaScript",
11811181
"X-Fern-SDK-Name": "cohere-ai",
1182-
"X-Fern-SDK-Version": "7.14.0",
1183-
"User-Agent": "cohere-ai/7.14.0",
1182+
"X-Fern-SDK-Version": "7.14.1",
1183+
"User-Agent": "cohere-ai/7.14.1",
11841184
"X-Fern-Runtime": core.RUNTIME.type,
11851185
"X-Fern-Runtime-Version": core.RUNTIME.version,
11861186
},
@@ -1334,8 +1334,8 @@ export class CohereClient {
13341334
: undefined,
13351335
"X-Fern-Language": "JavaScript",
13361336
"X-Fern-SDK-Name": "cohere-ai",
1337-
"X-Fern-SDK-Version": "7.14.0",
1338-
"User-Agent": "cohere-ai/7.14.0",
1337+
"X-Fern-SDK-Version": "7.14.1",
1338+
"User-Agent": "cohere-ai/7.14.1",
13391339
"X-Fern-Runtime": core.RUNTIME.type,
13401340
"X-Fern-Runtime-Version": core.RUNTIME.version,
13411341
},
@@ -1489,8 +1489,8 @@ export class CohereClient {
14891489
: undefined,
14901490
"X-Fern-Language": "JavaScript",
14911491
"X-Fern-SDK-Name": "cohere-ai",
1492-
"X-Fern-SDK-Version": "7.14.0",
1493-
"User-Agent": "cohere-ai/7.14.0",
1492+
"X-Fern-SDK-Version": "7.14.1",
1493+
"User-Agent": "cohere-ai/7.14.1",
14941494
"X-Fern-Runtime": core.RUNTIME.type,
14951495
"X-Fern-Runtime-Version": core.RUNTIME.version,
14961496
},
@@ -1637,8 +1637,8 @@ export class CohereClient {
16371637
: undefined,
16381638
"X-Fern-Language": "JavaScript",
16391639
"X-Fern-SDK-Name": "cohere-ai",
1640-
"X-Fern-SDK-Version": "7.14.0",
1641-
"User-Agent": "cohere-ai/7.14.0",
1640+
"X-Fern-SDK-Version": "7.14.1",
1641+
"User-Agent": "cohere-ai/7.14.1",
16421642
"X-Fern-Runtime": core.RUNTIME.type,
16431643
"X-Fern-Runtime-Version": core.RUNTIME.version,
16441644
},

src/api/resources/connectors/client/Client.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export class Connectors {
8282
: undefined,
8383
"X-Fern-Language": "JavaScript",
8484
"X-Fern-SDK-Name": "cohere-ai",
85-
"X-Fern-SDK-Version": "7.14.0",
86-
"User-Agent": "cohere-ai/7.14.0",
85+
"X-Fern-SDK-Version": "7.14.1",
86+
"User-Agent": "cohere-ai/7.14.1",
8787
"X-Fern-Runtime": core.RUNTIME.type,
8888
"X-Fern-Runtime-Version": core.RUNTIME.version,
8989
},
@@ -233,8 +233,8 @@ export class Connectors {
233233
: undefined,
234234
"X-Fern-Language": "JavaScript",
235235
"X-Fern-SDK-Name": "cohere-ai",
236-
"X-Fern-SDK-Version": "7.14.0",
237-
"User-Agent": "cohere-ai/7.14.0",
236+
"X-Fern-SDK-Version": "7.14.1",
237+
"User-Agent": "cohere-ai/7.14.1",
238238
"X-Fern-Runtime": core.RUNTIME.type,
239239
"X-Fern-Runtime-Version": core.RUNTIME.version,
240240
},
@@ -382,8 +382,8 @@ export class Connectors {
382382
: undefined,
383383
"X-Fern-Language": "JavaScript",
384384
"X-Fern-SDK-Name": "cohere-ai",
385-
"X-Fern-SDK-Version": "7.14.0",
386-
"User-Agent": "cohere-ai/7.14.0",
385+
"X-Fern-SDK-Version": "7.14.1",
386+
"User-Agent": "cohere-ai/7.14.1",
387387
"X-Fern-Runtime": core.RUNTIME.type,
388388
"X-Fern-Runtime-Version": core.RUNTIME.version,
389389
},
@@ -529,8 +529,8 @@ export class Connectors {
529529
: undefined,
530530
"X-Fern-Language": "JavaScript",
531531
"X-Fern-SDK-Name": "cohere-ai",
532-
"X-Fern-SDK-Version": "7.14.0",
533-
"User-Agent": "cohere-ai/7.14.0",
532+
"X-Fern-SDK-Version": "7.14.1",
533+
"User-Agent": "cohere-ai/7.14.1",
534534
"X-Fern-Runtime": core.RUNTIME.type,
535535
"X-Fern-Runtime-Version": core.RUNTIME.version,
536536
},
@@ -678,8 +678,8 @@ export class Connectors {
678678
: undefined,
679679
"X-Fern-Language": "JavaScript",
680680
"X-Fern-SDK-Name": "cohere-ai",
681-
"X-Fern-SDK-Version": "7.14.0",
682-
"User-Agent": "cohere-ai/7.14.0",
681+
"X-Fern-SDK-Version": "7.14.1",
682+
"User-Agent": "cohere-ai/7.14.1",
683683
"X-Fern-Runtime": core.RUNTIME.type,
684684
"X-Fern-Runtime-Version": core.RUNTIME.version,
685685
},
@@ -838,8 +838,8 @@ export class Connectors {
838838
: undefined,
839839
"X-Fern-Language": "JavaScript",
840840
"X-Fern-SDK-Name": "cohere-ai",
841-
"X-Fern-SDK-Version": "7.14.0",
842-
"User-Agent": "cohere-ai/7.14.0",
841+
"X-Fern-SDK-Version": "7.14.1",
842+
"User-Agent": "cohere-ai/7.14.1",
843843
"X-Fern-Runtime": core.RUNTIME.type,
844844
"X-Fern-Runtime-Version": core.RUNTIME.version,
845845
},

src/api/resources/embedJobs/client/Client.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ export class EmbedJobs {
6868
: undefined,
6969
"X-Fern-Language": "JavaScript",
7070
"X-Fern-SDK-Name": "cohere-ai",
71-
"X-Fern-SDK-Version": "7.14.0",
72-
"User-Agent": "cohere-ai/7.14.0",
71+
"X-Fern-SDK-Version": "7.14.1",
72+
"User-Agent": "cohere-ai/7.14.1",
7373
"X-Fern-Runtime": core.RUNTIME.type,
7474
"X-Fern-Runtime-Version": core.RUNTIME.version,
7575
},
@@ -219,8 +219,8 @@ export class EmbedJobs {
219219
: undefined,
220220
"X-Fern-Language": "JavaScript",
221221
"X-Fern-SDK-Name": "cohere-ai",
222-
"X-Fern-SDK-Version": "7.14.0",
223-
"User-Agent": "cohere-ai/7.14.0",
222+
"X-Fern-SDK-Version": "7.14.1",
223+
"User-Agent": "cohere-ai/7.14.1",
224224
"X-Fern-Runtime": core.RUNTIME.type,
225225
"X-Fern-Runtime-Version": core.RUNTIME.version,
226226
},
@@ -368,8 +368,8 @@ export class EmbedJobs {
368368
: undefined,
369369
"X-Fern-Language": "JavaScript",
370370
"X-Fern-SDK-Name": "cohere-ai",
371-
"X-Fern-SDK-Version": "7.14.0",
372-
"User-Agent": "cohere-ai/7.14.0",
371+
"X-Fern-SDK-Version": "7.14.1",
372+
"User-Agent": "cohere-ai/7.14.1",
373373
"X-Fern-Runtime": core.RUNTIME.type,
374374
"X-Fern-Runtime-Version": core.RUNTIME.version,
375375
},
@@ -512,8 +512,8 @@ export class EmbedJobs {
512512
: undefined,
513513
"X-Fern-Language": "JavaScript",
514514
"X-Fern-SDK-Name": "cohere-ai",
515-
"X-Fern-SDK-Version": "7.14.0",
516-
"User-Agent": "cohere-ai/7.14.0",
515+
"X-Fern-SDK-Version": "7.14.1",
516+
"User-Agent": "cohere-ai/7.14.1",
517517
"X-Fern-Runtime": core.RUNTIME.type,
518518
"X-Fern-Runtime-Version": core.RUNTIME.version,
519519
},

src/api/resources/finetuning/client/Client.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export class Finetuning {
8282
: undefined,
8383
"X-Fern-Language": "JavaScript",
8484
"X-Fern-SDK-Name": "cohere-ai",
85-
"X-Fern-SDK-Version": "7.14.0",
86-
"User-Agent": "cohere-ai/7.14.0",
85+
"X-Fern-SDK-Version": "7.14.1",
86+
"User-Agent": "cohere-ai/7.14.1",
8787
"X-Fern-Runtime": core.RUNTIME.type,
8888
"X-Fern-Runtime-Version": core.RUNTIME.version,
8989
},
@@ -181,8 +181,8 @@ export class Finetuning {
181181
: undefined,
182182
"X-Fern-Language": "JavaScript",
183183
"X-Fern-SDK-Name": "cohere-ai",
184-
"X-Fern-SDK-Version": "7.14.0",
185-
"User-Agent": "cohere-ai/7.14.0",
184+
"X-Fern-SDK-Version": "7.14.1",
185+
"User-Agent": "cohere-ai/7.14.1",
186186
"X-Fern-Runtime": core.RUNTIME.type,
187187
"X-Fern-Runtime-Version": core.RUNTIME.version,
188188
},
@@ -276,8 +276,8 @@ export class Finetuning {
276276
: undefined,
277277
"X-Fern-Language": "JavaScript",
278278
"X-Fern-SDK-Name": "cohere-ai",
279-
"X-Fern-SDK-Version": "7.14.0",
280-
"User-Agent": "cohere-ai/7.14.0",
279+
"X-Fern-SDK-Version": "7.14.1",
280+
"User-Agent": "cohere-ai/7.14.1",
281281
"X-Fern-Runtime": core.RUNTIME.type,
282282
"X-Fern-Runtime-Version": core.RUNTIME.version,
283283
},
@@ -366,8 +366,8 @@ export class Finetuning {
366366
: undefined,
367367
"X-Fern-Language": "JavaScript",
368368
"X-Fern-SDK-Name": "cohere-ai",
369-
"X-Fern-SDK-Version": "7.14.0",
370-
"User-Agent": "cohere-ai/7.14.0",
369+
"X-Fern-SDK-Version": "7.14.1",
370+
"User-Agent": "cohere-ai/7.14.1",
371371
"X-Fern-Runtime": core.RUNTIME.type,
372372
"X-Fern-Runtime-Version": core.RUNTIME.version,
373373
},
@@ -466,8 +466,8 @@ export class Finetuning {
466466
: undefined,
467467
"X-Fern-Language": "JavaScript",
468468
"X-Fern-SDK-Name": "cohere-ai",
469-
"X-Fern-SDK-Version": "7.14.0",
470-
"User-Agent": "cohere-ai/7.14.0",
469+
"X-Fern-SDK-Version": "7.14.1",
470+
"User-Agent": "cohere-ai/7.14.1",
471471
"X-Fern-Runtime": core.RUNTIME.type,
472472
"X-Fern-Runtime-Version": core.RUNTIME.version,
473473
},
@@ -577,8 +577,8 @@ export class Finetuning {
577577
: undefined,
578578
"X-Fern-Language": "JavaScript",
579579
"X-Fern-SDK-Name": "cohere-ai",
580-
"X-Fern-SDK-Version": "7.14.0",
581-
"User-Agent": "cohere-ai/7.14.0",
580+
"X-Fern-SDK-Version": "7.14.1",
581+
"User-Agent": "cohere-ai/7.14.1",
582582
"X-Fern-Runtime": core.RUNTIME.type,
583583
"X-Fern-Runtime-Version": core.RUNTIME.version,
584584
},
@@ -680,8 +680,8 @@ export class Finetuning {
680680
: undefined,
681681
"X-Fern-Language": "JavaScript",
682682
"X-Fern-SDK-Name": "cohere-ai",
683-
"X-Fern-SDK-Version": "7.14.0",
684-
"User-Agent": "cohere-ai/7.14.0",
683+
"X-Fern-SDK-Version": "7.14.1",
684+
"User-Agent": "cohere-ai/7.14.1",
685685
"X-Fern-Runtime": core.RUNTIME.type,
686686
"X-Fern-Runtime-Version": core.RUNTIME.version,
687687
},

src/api/resources/models/client/Client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ export class Models {
6969
: undefined,
7070
"X-Fern-Language": "JavaScript",
7171
"X-Fern-SDK-Name": "cohere-ai",
72-
"X-Fern-SDK-Version": "7.14.0",
73-
"User-Agent": "cohere-ai/7.14.0",
72+
"X-Fern-SDK-Version": "7.14.1",
73+
"User-Agent": "cohere-ai/7.14.1",
7474
"X-Fern-Runtime": core.RUNTIME.type,
7575
"X-Fern-Runtime-Version": core.RUNTIME.version,
7676
},
@@ -234,8 +234,8 @@ export class Models {
234234
: undefined,
235235
"X-Fern-Language": "JavaScript",
236236
"X-Fern-SDK-Name": "cohere-ai",
237-
"X-Fern-SDK-Version": "7.14.0",
238-
"User-Agent": "cohere-ai/7.14.0",
237+
"X-Fern-SDK-Version": "7.14.1",
238+
"User-Agent": "cohere-ai/7.14.1",
239239
"X-Fern-Runtime": core.RUNTIME.type,
240240
"X-Fern-Runtime-Version": core.RUNTIME.version,
241241
},

src/api/resources/v2/client/Client.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ export class V2 {
5757
: undefined,
5858
"X-Fern-Language": "JavaScript",
5959
"X-Fern-SDK-Name": "cohere-ai",
60-
"X-Fern-SDK-Version": "7.14.0",
61-
"User-Agent": "cohere-ai/7.14.0",
60+
"X-Fern-SDK-Version": "7.14.1",
61+
"User-Agent": "cohere-ai/7.14.1",
6262
"X-Fern-Runtime": core.RUNTIME.type,
6363
"X-Fern-Runtime-Version": core.RUNTIME.version,
6464
},
@@ -228,8 +228,8 @@ export class V2 {
228228
: undefined,
229229
"X-Fern-Language": "JavaScript",
230230
"X-Fern-SDK-Name": "cohere-ai",
231-
"X-Fern-SDK-Version": "7.14.0",
232-
"User-Agent": "cohere-ai/7.14.0",
231+
"X-Fern-SDK-Version": "7.14.1",
232+
"User-Agent": "cohere-ai/7.14.1",
233233
"X-Fern-Runtime": core.RUNTIME.type,
234234
"X-Fern-Runtime-Version": core.RUNTIME.version,
235235
},
@@ -391,8 +391,8 @@ export class V2 {
391391
: undefined,
392392
"X-Fern-Language": "JavaScript",
393393
"X-Fern-SDK-Name": "cohere-ai",
394-
"X-Fern-SDK-Version": "7.14.0",
395-
"User-Agent": "cohere-ai/7.14.0",
394+
"X-Fern-SDK-Version": "7.14.1",
395+
"User-Agent": "cohere-ai/7.14.1",
396396
"X-Fern-Runtime": core.RUNTIME.type,
397397
"X-Fern-Runtime-Version": core.RUNTIME.version,
398398
},
@@ -547,8 +547,8 @@ export class V2 {
547547
: undefined,
548548
"X-Fern-Language": "JavaScript",
549549
"X-Fern-SDK-Name": "cohere-ai",
550-
"X-Fern-SDK-Version": "7.14.0",
551-
"User-Agent": "cohere-ai/7.14.0",
550+
"X-Fern-SDK-Version": "7.14.1",
551+
"User-Agent": "cohere-ai/7.14.1",
552552
"X-Fern-Runtime": core.RUNTIME.type,
553553
"X-Fern-Runtime-Version": core.RUNTIME.version,
554554
},

0 commit comments

Comments
 (0)