Skip to content

Commit 47bda94

Browse files
SDK regeneration (#37)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 9be0e7e commit 47bda94

File tree

12 files changed

+80
-80
lines changed

12 files changed

+80
-80
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.22",
3+
"version": "0.0.23",
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.22",
70-
"User-Agent": "@credal/sdk/0.0.22",
69+
"X-Fern-SDK-Version": "0.0.23",
70+
"User-Agent": "@credal/sdk/0.0.23",
7171
"X-Fern-Runtime": core.RUNTIME.type,
7272
"X-Fern-Runtime-Version": core.RUNTIME.version,
7373
},

Diff for: src/api/resources/actions/client/requests/InvokeActionRequest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ export interface InvokeActionRequest {
3838
* If true, then before executing the action we will ask for a human confirmation in Slack. If false, we may still ask for human confirmation if it's required by your organization admin.
3939
*
4040
*/
41-
requireHumanConfirmation?: boolean;
41+
requireHumanConfirmation: boolean;
4242
/**
4343
* Where we should ask for human confirmation if necessary
4444
*
4545
*/
46-
humanConfirmationChannel: Credal.HumanConfirmationChannel;
46+
humanConfirmationChannel?: Credal.HumanConfirmationChannel;
4747
/**
4848
* The justification for requesting this action. This is likely generated by the LLM that requested the action.
4949
*

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.22",
64-
"User-Agent": "@credal/sdk/0.0.22",
63+
"X-Fern-SDK-Version": "0.0.23",
64+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
133-
"User-Agent": "@credal/sdk/0.0.22",
132+
"X-Fern-SDK-Version": "0.0.23",
133+
"User-Agent": "@credal/sdk/0.0.23",
134134
"X-Fern-Runtime": core.RUNTIME.type,
135135
"X-Fern-Runtime-Version": core.RUNTIME.version,
136136
},
@@ -202,8 +202,8 @@ export class Copilots {
202202
Authorization: await this._getAuthorizationHeader(),
203203
"X-Fern-Language": "JavaScript",
204204
"X-Fern-SDK-Name": "@credal/sdk",
205-
"X-Fern-SDK-Version": "0.0.22",
206-
"User-Agent": "@credal/sdk/0.0.22",
205+
"X-Fern-SDK-Version": "0.0.23",
206+
"User-Agent": "@credal/sdk/0.0.23",
207207
"X-Fern-Runtime": core.RUNTIME.type,
208208
"X-Fern-Runtime-Version": core.RUNTIME.version,
209209
},
@@ -272,8 +272,8 @@ export class Copilots {
272272
Authorization: await this._getAuthorizationHeader(),
273273
"X-Fern-Language": "JavaScript",
274274
"X-Fern-SDK-Name": "@credal/sdk",
275-
"X-Fern-SDK-Version": "0.0.22",
276-
"User-Agent": "@credal/sdk/0.0.22",
275+
"X-Fern-SDK-Version": "0.0.23",
276+
"User-Agent": "@credal/sdk/0.0.23",
277277
"X-Fern-Runtime": core.RUNTIME.type,
278278
"X-Fern-Runtime-Version": core.RUNTIME.version,
279279
},
@@ -332,8 +332,8 @@ export class Copilots {
332332
Authorization: await this._getAuthorizationHeader(),
333333
"X-Fern-Language": "JavaScript",
334334
"X-Fern-SDK-Name": "@credal/sdk",
335-
"X-Fern-SDK-Version": "0.0.22",
336-
"User-Agent": "@credal/sdk/0.0.22",
335+
"X-Fern-SDK-Version": "0.0.23",
336+
"User-Agent": "@credal/sdk/0.0.23",
337337
"X-Fern-Runtime": core.RUNTIME.type,
338338
"X-Fern-Runtime-Version": core.RUNTIME.version,
339339
},
@@ -412,8 +412,8 @@ export class Copilots {
412412
Authorization: await this._getAuthorizationHeader(),
413413
"X-Fern-Language": "JavaScript",
414414
"X-Fern-SDK-Name": "@credal/sdk",
415-
"X-Fern-SDK-Version": "0.0.22",
416-
"User-Agent": "@credal/sdk/0.0.22",
415+
"X-Fern-SDK-Version": "0.0.23",
416+
"User-Agent": "@credal/sdk/0.0.23",
417417
"X-Fern-Runtime": core.RUNTIME.type,
418418
"X-Fern-Runtime-Version": core.RUNTIME.version,
419419
},
@@ -476,8 +476,8 @@ export class Copilots {
476476
Authorization: await this._getAuthorizationHeader(),
477477
"X-Fern-Language": "JavaScript",
478478
"X-Fern-SDK-Name": "@credal/sdk",
479-
"X-Fern-SDK-Version": "0.0.22",
480-
"User-Agent": "@credal/sdk/0.0.22",
479+
"X-Fern-SDK-Version": "0.0.23",
480+
"User-Agent": "@credal/sdk/0.0.23",
481481
"X-Fern-Runtime": core.RUNTIME.type,
482482
"X-Fern-Runtime-Version": core.RUNTIME.version,
483483
},
@@ -550,8 +550,8 @@ export class Copilots {
550550
Authorization: await this._getAuthorizationHeader(),
551551
"X-Fern-Language": "JavaScript",
552552
"X-Fern-SDK-Name": "@credal/sdk",
553-
"X-Fern-SDK-Version": "0.0.22",
554-
"User-Agent": "@credal/sdk/0.0.22",
553+
"X-Fern-SDK-Version": "0.0.23",
554+
"User-Agent": "@credal/sdk/0.0.23",
555555
"X-Fern-Runtime": core.RUNTIME.type,
556556
"X-Fern-Runtime-Version": core.RUNTIME.version,
557557
},
@@ -611,8 +611,8 @@ export class Copilots {
611611
Authorization: await this._getAuthorizationHeader(),
612612
"X-Fern-Language": "JavaScript",
613613
"X-Fern-SDK-Name": "@credal/sdk",
614-
"X-Fern-SDK-Version": "0.0.22",
615-
"User-Agent": "@credal/sdk/0.0.22",
614+
"X-Fern-SDK-Version": "0.0.23",
615+
"User-Agent": "@credal/sdk/0.0.23",
616616
"X-Fern-Runtime": core.RUNTIME.type,
617617
"X-Fern-Runtime-Version": core.RUNTIME.version,
618618
},

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.22",
60-
"User-Agent": "@credal/sdk/0.0.22",
59+
"X-Fern-SDK-Version": "0.0.23",
60+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
129-
"User-Agent": "@credal/sdk/0.0.22",
128+
"X-Fern-SDK-Version": "0.0.23",
129+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
218-
"User-Agent": "@credal/sdk/0.0.22",
217+
"X-Fern-SDK-Version": "0.0.23",
218+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
67-
"User-Agent": "@credal/sdk/0.0.22",
66+
"X-Fern-SDK-Version": "0.0.23",
67+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
139-
"User-Agent": "@credal/sdk/0.0.22",
138+
"X-Fern-SDK-Version": "0.0.23",
139+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
209-
"User-Agent": "@credal/sdk/0.0.22",
208+
"X-Fern-SDK-Version": "0.0.23",
209+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
277-
"User-Agent": "@credal/sdk/0.0.22",
276+
"X-Fern-SDK-Version": "0.0.23",
277+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
361-
"User-Agent": "@credal/sdk/0.0.22",
360+
"X-Fern-SDK-Version": "0.0.23",
361+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
447-
"User-Agent": "@credal/sdk/0.0.22",
446+
"X-Fern-SDK-Version": "0.0.23",
447+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
63-
"User-Agent": "@credal/sdk/0.0.22",
62+
"X-Fern-SDK-Version": "0.0.23",
63+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
141-
"User-Agent": "@credal/sdk/0.0.22",
140+
"X-Fern-SDK-Version": "0.0.23",
141+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
211-
"User-Agent": "@credal/sdk/0.0.22",
210+
"X-Fern-SDK-Version": "0.0.23",
211+
"User-Agent": "@credal/sdk/0.0.23",
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.22",
73-
"User-Agent": "@credal/sdk/0.0.22",
72+
"X-Fern-SDK-Version": "0.0.23",
73+
"User-Agent": "@credal/sdk/0.0.23",
7474
"X-Fern-Runtime": core.RUNTIME.type,
7575
"X-Fern-Runtime-Version": core.RUNTIME.version,
7676
},

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.22",
65-
"User-Agent": "@credal/sdk/0.0.22",
64+
"X-Fern-SDK-Version": "0.0.23",
65+
"User-Agent": "@credal/sdk/0.0.23",
6666
"X-Fern-Runtime": core.RUNTIME.type,
6767
"X-Fern-Runtime-Version": core.RUNTIME.version,
6868
},

Diff for: src/serialization/resources/actions/client/requests/InvokeActionRequest.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export const InvokeActionRequest: core.serialization.Schema<
1414
actionId: core.serialization.string(),
1515
actionInputs: core.serialization.unknown(),
1616
userEmail: core.serialization.string(),
17-
requireHumanConfirmation: core.serialization.boolean().optional(),
18-
humanConfirmationChannel: HumanConfirmationChannel,
17+
requireHumanConfirmation: core.serialization.boolean(),
18+
humanConfirmationChannel: HumanConfirmationChannel.optional(),
1919
justification: core.serialization.string(),
2020
auditLogId: core.serialization.string(),
2121
});
@@ -25,8 +25,8 @@ export declare namespace InvokeActionRequest {
2525
actionId: string;
2626
actionInputs?: unknown;
2727
userEmail: string;
28-
requireHumanConfirmation?: boolean | null;
29-
humanConfirmationChannel: HumanConfirmationChannel.Raw;
28+
requireHumanConfirmation: boolean;
29+
humanConfirmationChannel?: HumanConfirmationChannel.Raw | null;
3030
justification: string;
3131
auditLogId: string;
3232
}

Diff for: src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "0.0.22";
1+
export const SDK_VERSION = "0.0.23";

0 commit comments

Comments
 (0)