Skip to content

Commit b5f4964

Browse files
SDK regeneration (#33)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 2d412ff commit b5f4964

File tree

12 files changed

+240
-201
lines changed

12 files changed

+240
-201
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@credal/sdk",
3-
"version": "0.0.18",
3+
"version": "0.0.19",
44
"private": false,
55
"repository": "https://github.com/credal-ai/credal-typescript-sdk",
66
"main": "./index.js",

Diff for: src/api/resources/actions/client/Client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ export class Actions {
6666
Authorization: await this._getAuthorizationHeader(),
6767
"X-Fern-Language": "JavaScript",
6868
"X-Fern-SDK-Name": "@credal/sdk",
69-
"X-Fern-SDK-Version": "0.0.18",
70-
"User-Agent": "@credal/sdk/0.0.18",
69+
"X-Fern-SDK-Version": "0.0.19",
70+
"User-Agent": "@credal/sdk/0.0.19",
7171
"X-Fern-Runtime": core.RUNTIME.type,
7272
"X-Fern-Runtime-Version": core.RUNTIME.version,
7373
},

Diff for: src/api/resources/copilots/client/Client.ts

+18-18
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export class Copilots {
6060
Authorization: await this._getAuthorizationHeader(),
6161
"X-Fern-Language": "JavaScript",
6262
"X-Fern-SDK-Name": "@credal/sdk",
63-
"X-Fern-SDK-Version": "0.0.18",
64-
"User-Agent": "@credal/sdk/0.0.18",
63+
"X-Fern-SDK-Version": "0.0.19",
64+
"User-Agent": "@credal/sdk/0.0.19",
6565
"X-Fern-Runtime": core.RUNTIME.type,
6666
"X-Fern-Runtime-Version": core.RUNTIME.version,
6767
},
@@ -129,8 +129,8 @@ export class Copilots {
129129
Authorization: await this._getAuthorizationHeader(),
130130
"X-Fern-Language": "JavaScript",
131131
"X-Fern-SDK-Name": "@credal/sdk",
132-
"X-Fern-SDK-Version": "0.0.18",
133-
"User-Agent": "@credal/sdk/0.0.18",
132+
"X-Fern-SDK-Version": "0.0.19",
133+
"User-Agent": "@credal/sdk/0.0.19",
134134
"X-Fern-Runtime": core.RUNTIME.type,
135135
"X-Fern-Runtime-Version": core.RUNTIME.version,
136136
},
@@ -201,8 +201,8 @@ export class Copilots {
201201
Authorization: await this._getAuthorizationHeader(),
202202
"X-Fern-Language": "JavaScript",
203203
"X-Fern-SDK-Name": "@credal/sdk",
204-
"X-Fern-SDK-Version": "0.0.18",
205-
"User-Agent": "@credal/sdk/0.0.18",
204+
"X-Fern-SDK-Version": "0.0.19",
205+
"User-Agent": "@credal/sdk/0.0.19",
206206
"X-Fern-Runtime": core.RUNTIME.type,
207207
"X-Fern-Runtime-Version": core.RUNTIME.version,
208208
},
@@ -271,8 +271,8 @@ export class Copilots {
271271
Authorization: await this._getAuthorizationHeader(),
272272
"X-Fern-Language": "JavaScript",
273273
"X-Fern-SDK-Name": "@credal/sdk",
274-
"X-Fern-SDK-Version": "0.0.18",
275-
"User-Agent": "@credal/sdk/0.0.18",
274+
"X-Fern-SDK-Version": "0.0.19",
275+
"User-Agent": "@credal/sdk/0.0.19",
276276
"X-Fern-Runtime": core.RUNTIME.type,
277277
"X-Fern-Runtime-Version": core.RUNTIME.version,
278278
},
@@ -331,8 +331,8 @@ export class Copilots {
331331
Authorization: await this._getAuthorizationHeader(),
332332
"X-Fern-Language": "JavaScript",
333333
"X-Fern-SDK-Name": "@credal/sdk",
334-
"X-Fern-SDK-Version": "0.0.18",
335-
"User-Agent": "@credal/sdk/0.0.18",
334+
"X-Fern-SDK-Version": "0.0.19",
335+
"User-Agent": "@credal/sdk/0.0.19",
336336
"X-Fern-Runtime": core.RUNTIME.type,
337337
"X-Fern-Runtime-Version": core.RUNTIME.version,
338338
},
@@ -411,8 +411,8 @@ export class Copilots {
411411
Authorization: await this._getAuthorizationHeader(),
412412
"X-Fern-Language": "JavaScript",
413413
"X-Fern-SDK-Name": "@credal/sdk",
414-
"X-Fern-SDK-Version": "0.0.18",
415-
"User-Agent": "@credal/sdk/0.0.18",
414+
"X-Fern-SDK-Version": "0.0.19",
415+
"User-Agent": "@credal/sdk/0.0.19",
416416
"X-Fern-Runtime": core.RUNTIME.type,
417417
"X-Fern-Runtime-Version": core.RUNTIME.version,
418418
},
@@ -475,8 +475,8 @@ export class Copilots {
475475
Authorization: await this._getAuthorizationHeader(),
476476
"X-Fern-Language": "JavaScript",
477477
"X-Fern-SDK-Name": "@credal/sdk",
478-
"X-Fern-SDK-Version": "0.0.18",
479-
"User-Agent": "@credal/sdk/0.0.18",
478+
"X-Fern-SDK-Version": "0.0.19",
479+
"User-Agent": "@credal/sdk/0.0.19",
480480
"X-Fern-Runtime": core.RUNTIME.type,
481481
"X-Fern-Runtime-Version": core.RUNTIME.version,
482482
},
@@ -549,8 +549,8 @@ export class Copilots {
549549
Authorization: await this._getAuthorizationHeader(),
550550
"X-Fern-Language": "JavaScript",
551551
"X-Fern-SDK-Name": "@credal/sdk",
552-
"X-Fern-SDK-Version": "0.0.18",
553-
"User-Agent": "@credal/sdk/0.0.18",
552+
"X-Fern-SDK-Version": "0.0.19",
553+
"User-Agent": "@credal/sdk/0.0.19",
554554
"X-Fern-Runtime": core.RUNTIME.type,
555555
"X-Fern-Runtime-Version": core.RUNTIME.version,
556556
},
@@ -610,8 +610,8 @@ export class Copilots {
610610
Authorization: await this._getAuthorizationHeader(),
611611
"X-Fern-Language": "JavaScript",
612612
"X-Fern-SDK-Name": "@credal/sdk",
613-
"X-Fern-SDK-Version": "0.0.18",
614-
"User-Agent": "@credal/sdk/0.0.18",
613+
"X-Fern-SDK-Version": "0.0.19",
614+
"User-Agent": "@credal/sdk/0.0.19",
615615
"X-Fern-Runtime": core.RUNTIME.type,
616616
"X-Fern-Runtime-Version": core.RUNTIME.version,
617617
},

Diff for: src/api/resources/documentCatalog/client/Client.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ export class DocumentCatalog {
5656
Authorization: await this._getAuthorizationHeader(),
5757
"X-Fern-Language": "JavaScript",
5858
"X-Fern-SDK-Name": "@credal/sdk",
59-
"X-Fern-SDK-Version": "0.0.18",
60-
"User-Agent": "@credal/sdk/0.0.18",
59+
"X-Fern-SDK-Version": "0.0.19",
60+
"User-Agent": "@credal/sdk/0.0.19",
6161
"X-Fern-Runtime": core.RUNTIME.type,
6262
"X-Fern-Runtime-Version": core.RUNTIME.version,
6363
},
@@ -125,8 +125,8 @@ export class DocumentCatalog {
125125
Authorization: await this._getAuthorizationHeader(),
126126
"X-Fern-Language": "JavaScript",
127127
"X-Fern-SDK-Name": "@credal/sdk",
128-
"X-Fern-SDK-Version": "0.0.18",
129-
"User-Agent": "@credal/sdk/0.0.18",
128+
"X-Fern-SDK-Version": "0.0.19",
129+
"User-Agent": "@credal/sdk/0.0.19",
130130
"X-Fern-Runtime": core.RUNTIME.type,
131131
"X-Fern-Runtime-Version": core.RUNTIME.version,
132132
},
@@ -214,8 +214,8 @@ export class DocumentCatalog {
214214
Authorization: await this._getAuthorizationHeader(),
215215
"X-Fern-Language": "JavaScript",
216216
"X-Fern-SDK-Name": "@credal/sdk",
217-
"X-Fern-SDK-Version": "0.0.18",
218-
"User-Agent": "@credal/sdk/0.0.18",
217+
"X-Fern-SDK-Version": "0.0.19",
218+
"User-Agent": "@credal/sdk/0.0.19",
219219
"X-Fern-Runtime": core.RUNTIME.type,
220220
"X-Fern-Runtime-Version": core.RUNTIME.version,
221221
},

Diff for: src/api/resources/documentCollections/client/Client.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export class DocumentCollections {
6363
Authorization: await this._getAuthorizationHeader(),
6464
"X-Fern-Language": "JavaScript",
6565
"X-Fern-SDK-Name": "@credal/sdk",
66-
"X-Fern-SDK-Version": "0.0.18",
67-
"User-Agent": "@credal/sdk/0.0.18",
66+
"X-Fern-SDK-Version": "0.0.19",
67+
"User-Agent": "@credal/sdk/0.0.19",
6868
"X-Fern-Runtime": core.RUNTIME.type,
6969
"X-Fern-Runtime-Version": core.RUNTIME.version,
7070
},
@@ -135,8 +135,8 @@ export class DocumentCollections {
135135
Authorization: await this._getAuthorizationHeader(),
136136
"X-Fern-Language": "JavaScript",
137137
"X-Fern-SDK-Name": "@credal/sdk",
138-
"X-Fern-SDK-Version": "0.0.18",
139-
"User-Agent": "@credal/sdk/0.0.18",
138+
"X-Fern-SDK-Version": "0.0.19",
139+
"User-Agent": "@credal/sdk/0.0.19",
140140
"X-Fern-Runtime": core.RUNTIME.type,
141141
"X-Fern-Runtime-Version": core.RUNTIME.version,
142142
},
@@ -205,8 +205,8 @@ export class DocumentCollections {
205205
Authorization: await this._getAuthorizationHeader(),
206206
"X-Fern-Language": "JavaScript",
207207
"X-Fern-SDK-Name": "@credal/sdk",
208-
"X-Fern-SDK-Version": "0.0.18",
209-
"User-Agent": "@credal/sdk/0.0.18",
208+
"X-Fern-SDK-Version": "0.0.19",
209+
"User-Agent": "@credal/sdk/0.0.19",
210210
"X-Fern-Runtime": core.RUNTIME.type,
211211
"X-Fern-Runtime-Version": core.RUNTIME.version,
212212
},
@@ -273,8 +273,8 @@ export class DocumentCollections {
273273
Authorization: await this._getAuthorizationHeader(),
274274
"X-Fern-Language": "JavaScript",
275275
"X-Fern-SDK-Name": "@credal/sdk",
276-
"X-Fern-SDK-Version": "0.0.18",
277-
"User-Agent": "@credal/sdk/0.0.18",
276+
"X-Fern-SDK-Version": "0.0.19",
277+
"User-Agent": "@credal/sdk/0.0.19",
278278
"X-Fern-Runtime": core.RUNTIME.type,
279279
"X-Fern-Runtime-Version": core.RUNTIME.version,
280280
},
@@ -357,8 +357,8 @@ export class DocumentCollections {
357357
Authorization: await this._getAuthorizationHeader(),
358358
"X-Fern-Language": "JavaScript",
359359
"X-Fern-SDK-Name": "@credal/sdk",
360-
"X-Fern-SDK-Version": "0.0.18",
361-
"User-Agent": "@credal/sdk/0.0.18",
360+
"X-Fern-SDK-Version": "0.0.19",
361+
"User-Agent": "@credal/sdk/0.0.19",
362362
"X-Fern-Runtime": core.RUNTIME.type,
363363
"X-Fern-Runtime-Version": core.RUNTIME.version,
364364
},
@@ -443,8 +443,8 @@ export class DocumentCollections {
443443
Authorization: await this._getAuthorizationHeader(),
444444
"X-Fern-Language": "JavaScript",
445445
"X-Fern-SDK-Name": "@credal/sdk",
446-
"X-Fern-SDK-Version": "0.0.18",
447-
"User-Agent": "@credal/sdk/0.0.18",
446+
"X-Fern-SDK-Version": "0.0.19",
447+
"User-Agent": "@credal/sdk/0.0.19",
448448
"X-Fern-Runtime": core.RUNTIME.type,
449449
"X-Fern-Runtime-Version": core.RUNTIME.version,
450450
},

Diff for: src/api/resources/permissionsService/client/Client.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export class PermissionsService {
5959
Authorization: await this._getAuthorizationHeader(),
6060
"X-Fern-Language": "JavaScript",
6161
"X-Fern-SDK-Name": "@credal/sdk",
62-
"X-Fern-SDK-Version": "0.0.18",
63-
"User-Agent": "@credal/sdk/0.0.18",
62+
"X-Fern-SDK-Version": "0.0.19",
63+
"User-Agent": "@credal/sdk/0.0.19",
6464
"X-Fern-Runtime": core.RUNTIME.type,
6565
"X-Fern-Runtime-Version": core.RUNTIME.version,
6666
},
@@ -137,8 +137,8 @@ export class PermissionsService {
137137
Authorization: await this._getAuthorizationHeader(),
138138
"X-Fern-Language": "JavaScript",
139139
"X-Fern-SDK-Name": "@credal/sdk",
140-
"X-Fern-SDK-Version": "0.0.18",
141-
"User-Agent": "@credal/sdk/0.0.18",
140+
"X-Fern-SDK-Version": "0.0.19",
141+
"User-Agent": "@credal/sdk/0.0.19",
142142
"X-Fern-Runtime": core.RUNTIME.type,
143143
"X-Fern-Runtime-Version": core.RUNTIME.version,
144144
},
@@ -207,8 +207,8 @@ export class PermissionsService {
207207
Authorization: await this._getAuthorizationHeader(),
208208
"X-Fern-Language": "JavaScript",
209209
"X-Fern-SDK-Name": "@credal/sdk",
210-
"X-Fern-SDK-Version": "0.0.18",
211-
"User-Agent": "@credal/sdk/0.0.18",
210+
"X-Fern-SDK-Version": "0.0.19",
211+
"User-Agent": "@credal/sdk/0.0.19",
212212
"X-Fern-Runtime": core.RUNTIME.type,
213213
"X-Fern-Runtime-Version": core.RUNTIME.version,
214214
},

Diff for: src/api/resources/search/client/Client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ export class Search {
6969
Authorization: await this._getAuthorizationHeader(),
7070
"X-Fern-Language": "JavaScript",
7171
"X-Fern-SDK-Name": "@credal/sdk",
72-
"X-Fern-SDK-Version": "0.0.18",
73-
"User-Agent": "@credal/sdk/0.0.18",
72+
"X-Fern-SDK-Version": "0.0.19",
73+
"User-Agent": "@credal/sdk/0.0.19",
7474
"X-Fern-Runtime": core.RUNTIME.type,
7575
"X-Fern-Runtime-Version": core.RUNTIME.version,
7676
},

Diff for: src/api/resources/search/types/DocumentCollectionSearchResult.ts

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import * as Credal from "../../../index";
77
export interface DocumentCollectionSearchResult {
88
documentId: string;
99
documentName: string;
10+
documentUrl: string;
11+
documentExternalId: string;
1012
documentMetadata: Record<string, string>;
1113
chunks: Credal.SearchResultChunk[];
1214
mergedContents?: string;

Diff for: src/api/resources/users/client/Client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export class Users {
6161
Authorization: await this._getAuthorizationHeader(),
6262
"X-Fern-Language": "JavaScript",
6363
"X-Fern-SDK-Name": "@credal/sdk",
64-
"X-Fern-SDK-Version": "0.0.18",
65-
"User-Agent": "@credal/sdk/0.0.18",
64+
"X-Fern-SDK-Version": "0.0.19",
65+
"User-Agent": "@credal/sdk/0.0.19",
6666
"X-Fern-Runtime": core.RUNTIME.type,
6767
"X-Fern-Runtime-Version": core.RUNTIME.version,
6868
},

Diff for: src/serialization/resources/search/types/DocumentCollectionSearchResult.ts

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export const DocumentCollectionSearchResult: core.serialization.ObjectSchema<
1313
> = core.serialization.object({
1414
documentId: core.serialization.string(),
1515
documentName: core.serialization.string(),
16+
documentUrl: core.serialization.string(),
17+
documentExternalId: core.serialization.string(),
1618
documentMetadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
1719
chunks: core.serialization.list(SearchResultChunk),
1820
mergedContents: core.serialization.string().optional(),
@@ -22,6 +24,8 @@ export declare namespace DocumentCollectionSearchResult {
2224
interface Raw {
2325
documentId: string;
2426
documentName: string;
27+
documentUrl: string;
28+
documentExternalId: string;
2529
documentMetadata: Record<string, string>;
2630
chunks: SearchResultChunk.Raw[];
2731
mergedContents?: string | null;

Diff for: src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "0.0.18";
1+
export const SDK_VERSION = "0.0.19";

0 commit comments

Comments
 (0)