@chatbotkit/sdk 1.29.0 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cjs/platform/ability/v1.d.ts +3 -0
- package/dist/cjs/types/ability.d.ts +2302 -0
- package/dist/cjs/types/api/v1.d.ts +138 -41
- package/dist/esm/platform/ability/v1.d.ts +3 -0
- package/dist/esm/types/ability.d.ts +2302 -0
- package/dist/esm/types/api/v1.d.ts +138 -41
- package/package.json +21 -1
|
@@ -3398,6 +3398,23 @@ export interface paths {
|
|
|
3398
3398
|
patch?: never;
|
|
3399
3399
|
trace?: never;
|
|
3400
3400
|
};
|
|
3401
|
+
"/integration/widget/{widgetIntegrationId}/clone": {
|
|
3402
|
+
parameters: {
|
|
3403
|
+
query?: never;
|
|
3404
|
+
header?: never;
|
|
3405
|
+
path?: never;
|
|
3406
|
+
cookie?: never;
|
|
3407
|
+
};
|
|
3408
|
+
get?: never;
|
|
3409
|
+
put?: never;
|
|
3410
|
+
/** Clone Widget integration */
|
|
3411
|
+
post: operations["cloneWidgetIntegration"];
|
|
3412
|
+
delete?: never;
|
|
3413
|
+
options?: never;
|
|
3414
|
+
head?: never;
|
|
3415
|
+
patch?: never;
|
|
3416
|
+
trace?: never;
|
|
3417
|
+
};
|
|
3401
3418
|
"/integration/widget/{widgetIntegrationId}/delete": {
|
|
3402
3419
|
parameters: {
|
|
3403
3420
|
query?: never;
|
|
@@ -4203,7 +4220,7 @@ export interface paths {
|
|
|
4203
4220
|
patch?: never;
|
|
4204
4221
|
trace?: never;
|
|
4205
4222
|
};
|
|
4206
|
-
"/policy/{
|
|
4223
|
+
"/policy/{policyId}/delete": {
|
|
4207
4224
|
parameters: {
|
|
4208
4225
|
query?: never;
|
|
4209
4226
|
header?: never;
|
|
@@ -4220,14 +4237,14 @@ export interface paths {
|
|
|
4220
4237
|
patch?: never;
|
|
4221
4238
|
trace?: never;
|
|
4222
4239
|
};
|
|
4223
|
-
"/policy/{
|
|
4240
|
+
"/policy/{policyId}/fetch": {
|
|
4224
4241
|
parameters: {
|
|
4225
4242
|
query?: never;
|
|
4226
4243
|
header?: never;
|
|
4227
4244
|
path?: never;
|
|
4228
4245
|
cookie?: never;
|
|
4229
4246
|
};
|
|
4230
|
-
/** Fetch policy */
|
|
4247
|
+
/** Fetch a policy */
|
|
4231
4248
|
get: operations["fetchPolicy"];
|
|
4232
4249
|
put?: never;
|
|
4233
4250
|
post?: never;
|
|
@@ -4237,7 +4254,7 @@ export interface paths {
|
|
|
4237
4254
|
patch?: never;
|
|
4238
4255
|
trace?: never;
|
|
4239
4256
|
};
|
|
4240
|
-
"/policy/{
|
|
4257
|
+
"/policy/{policyId}/update": {
|
|
4241
4258
|
parameters: {
|
|
4242
4259
|
query?: never;
|
|
4243
4260
|
header?: never;
|
|
@@ -4721,6 +4738,23 @@ export interface paths {
|
|
|
4721
4738
|
patch?: never;
|
|
4722
4739
|
trace?: never;
|
|
4723
4740
|
};
|
|
4741
|
+
"/space/{spaceId}/delete": {
|
|
4742
|
+
parameters: {
|
|
4743
|
+
query?: never;
|
|
4744
|
+
header?: never;
|
|
4745
|
+
path?: never;
|
|
4746
|
+
cookie?: never;
|
|
4747
|
+
};
|
|
4748
|
+
get?: never;
|
|
4749
|
+
put?: never;
|
|
4750
|
+
/** Delete a space */
|
|
4751
|
+
post: operations["deleteSpace"];
|
|
4752
|
+
delete?: never;
|
|
4753
|
+
options?: never;
|
|
4754
|
+
head?: never;
|
|
4755
|
+
patch?: never;
|
|
4756
|
+
trace?: never;
|
|
4757
|
+
};
|
|
4724
4758
|
"/space/{spaceId}/fetch": {
|
|
4725
4759
|
parameters: {
|
|
4726
4760
|
query?: never;
|
|
@@ -4728,7 +4762,7 @@ export interface paths {
|
|
|
4728
4762
|
path?: never;
|
|
4729
4763
|
cookie?: never;
|
|
4730
4764
|
};
|
|
4731
|
-
/** Fetch space */
|
|
4765
|
+
/** Fetch a space */
|
|
4732
4766
|
get: operations["fetchSpace"];
|
|
4733
4767
|
put?: never;
|
|
4734
4768
|
post?: never;
|
|
@@ -4764,11 +4798,7 @@ export interface paths {
|
|
|
4764
4798
|
};
|
|
4765
4799
|
get?: never;
|
|
4766
4800
|
put?: never;
|
|
4767
|
-
/**
|
|
4768
|
-
* Create a new space
|
|
4769
|
-
* @description Create a new space with the given parameters.
|
|
4770
|
-
*
|
|
4771
|
-
*/
|
|
4801
|
+
/** Create space */
|
|
4772
4802
|
post: operations["createSpace"];
|
|
4773
4803
|
delete?: never;
|
|
4774
4804
|
options?: never;
|
|
@@ -5045,7 +5075,7 @@ export interface components {
|
|
|
5045
5075
|
* @description The schedule
|
|
5046
5076
|
* @enum {string}
|
|
5047
5077
|
*/
|
|
5048
|
-
Schedule: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
|
|
5078
|
+
Schedule: "never" | "quarterhourly" | "halfhourly" | "hourly" | "twicedaily" | "daily" | "twiceweekly" | "weekly" | "twicemonthly" | "monthly";
|
|
5049
5079
|
/**
|
|
5050
5080
|
* @description The sync status of an integration
|
|
5051
5081
|
* @enum {string}
|
|
@@ -14457,6 +14487,8 @@ export interface operations {
|
|
|
14457
14487
|
blueprintId?: string;
|
|
14458
14488
|
/** @description The ID of the skillset */
|
|
14459
14489
|
skillsetId?: string;
|
|
14490
|
+
/** @description The ID of the OAuth connection for IdP-based authentication */
|
|
14491
|
+
oAuthConnectionId?: string;
|
|
14460
14492
|
};
|
|
14461
14493
|
};
|
|
14462
14494
|
};
|
|
@@ -14493,6 +14525,8 @@ export interface operations {
|
|
|
14493
14525
|
blueprintId?: string;
|
|
14494
14526
|
/** @description The ID of the skillset */
|
|
14495
14527
|
skillsetId?: string;
|
|
14528
|
+
/** @description The ID of the OAuth connection for IdP-based authentication */
|
|
14529
|
+
oAuthConnectionId?: string;
|
|
14496
14530
|
};
|
|
14497
14531
|
};
|
|
14498
14532
|
};
|
|
@@ -14540,6 +14574,8 @@ export interface operations {
|
|
|
14540
14574
|
blueprintId?: string;
|
|
14541
14575
|
/** @description The ID of the skillset */
|
|
14542
14576
|
skillsetId?: string;
|
|
14577
|
+
/** @description The ID of the OAuth connection for IdP-based authentication */
|
|
14578
|
+
oAuthConnectionId?: string;
|
|
14543
14579
|
};
|
|
14544
14580
|
};
|
|
14545
14581
|
};
|
|
@@ -14607,6 +14643,8 @@ export interface operations {
|
|
|
14607
14643
|
blueprintId?: string;
|
|
14608
14644
|
/** @description The ID of the skillset */
|
|
14609
14645
|
skillsetId?: string;
|
|
14646
|
+
/** @description The ID of the OAuth connection for IdP-based authentication */
|
|
14647
|
+
oAuthConnectionId?: string;
|
|
14610
14648
|
}[];
|
|
14611
14649
|
/** @description Cursor for fetching the next page */
|
|
14612
14650
|
cursor: string;
|
|
@@ -14637,6 +14675,8 @@ export interface operations {
|
|
|
14637
14675
|
blueprintId?: string;
|
|
14638
14676
|
/** @description The ID of the skillset */
|
|
14639
14677
|
skillsetId?: string;
|
|
14678
|
+
/** @description The ID of the OAuth connection for IdP-based authentication */
|
|
14679
|
+
oAuthConnectionId?: string;
|
|
14640
14680
|
};
|
|
14641
14681
|
};
|
|
14642
14682
|
};
|
|
@@ -17238,11 +17278,8 @@ export interface operations {
|
|
|
17238
17278
|
secret: string;
|
|
17239
17279
|
/** @description When enabled the integration requires authentication */
|
|
17240
17280
|
authenticate?: boolean;
|
|
17241
|
-
/**
|
|
17242
|
-
|
|
17243
|
-
* @enum {string}
|
|
17244
|
-
*/
|
|
17245
|
-
triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
|
|
17281
|
+
/** @description The schedule for the trigger integration (interval, cron expression, ISO date, or null) */
|
|
17282
|
+
triggerSchedule?: string | null;
|
|
17246
17283
|
/** @description The session duration (in milliseconds) */
|
|
17247
17284
|
sessionDuration?: number;
|
|
17248
17285
|
/** @description The maximum number of iterations per trigger execution */
|
|
@@ -17359,11 +17396,8 @@ export interface operations {
|
|
|
17359
17396
|
botId?: string;
|
|
17360
17397
|
/** @description When enabled the integration requires authentication */
|
|
17361
17398
|
authenticate?: boolean;
|
|
17362
|
-
/**
|
|
17363
|
-
|
|
17364
|
-
* @enum {string}
|
|
17365
|
-
*/
|
|
17366
|
-
triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
|
|
17399
|
+
/** @description The schedule for the trigger integration (interval, cron expression, or ISO date) */
|
|
17400
|
+
triggerSchedule?: string | null;
|
|
17367
17401
|
/** @description The session duration (in milliseconds) */
|
|
17368
17402
|
sessionDuration?: number;
|
|
17369
17403
|
/** @description The maximum number of iterations per trigger execution */
|
|
@@ -17419,11 +17453,8 @@ export interface operations {
|
|
|
17419
17453
|
botId?: string;
|
|
17420
17454
|
/** @description When enabled the integration requires authentication */
|
|
17421
17455
|
authenticate?: boolean;
|
|
17422
|
-
/**
|
|
17423
|
-
|
|
17424
|
-
* @enum {string}
|
|
17425
|
-
*/
|
|
17426
|
-
triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
|
|
17456
|
+
/** @description The schedule for the trigger integration (interval, cron expression, or ISO date) */
|
|
17457
|
+
triggerSchedule?: string | null;
|
|
17427
17458
|
/** @description The session duration (in milliseconds) */
|
|
17428
17459
|
sessionDuration?: number;
|
|
17429
17460
|
/** @description The maximum number of iterations per trigger execution */
|
|
@@ -17501,11 +17532,8 @@ export interface operations {
|
|
|
17501
17532
|
secret: string;
|
|
17502
17533
|
/** @description When enabled the integration requires authentication */
|
|
17503
17534
|
authenticate?: boolean;
|
|
17504
|
-
/**
|
|
17505
|
-
|
|
17506
|
-
* @enum {string}
|
|
17507
|
-
*/
|
|
17508
|
-
triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
|
|
17535
|
+
/** @description The schedule for the trigger integration (interval, cron expression, ISO date, or null) */
|
|
17536
|
+
triggerSchedule?: string | null;
|
|
17509
17537
|
/** @description The session duration (in milliseconds) */
|
|
17510
17538
|
sessionDuration?: number;
|
|
17511
17539
|
/** @description The maximum number of iterations per trigger execution */
|
|
@@ -17546,11 +17574,8 @@ export interface operations {
|
|
|
17546
17574
|
secret: string;
|
|
17547
17575
|
/** @description When enabled the integration requires authentication */
|
|
17548
17576
|
authenticate?: boolean;
|
|
17549
|
-
/**
|
|
17550
|
-
|
|
17551
|
-
* @enum {string}
|
|
17552
|
-
*/
|
|
17553
|
-
triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
|
|
17577
|
+
/** @description The schedule for the trigger integration (interval, cron expression, ISO date, or null) */
|
|
17578
|
+
triggerSchedule?: string | null;
|
|
17554
17579
|
/** @description The session duration (in milliseconds) */
|
|
17555
17580
|
sessionDuration?: number;
|
|
17556
17581
|
/** @description The maximum number of iterations per trigger execution */
|
|
@@ -18258,6 +18283,42 @@ export interface operations {
|
|
|
18258
18283
|
};
|
|
18259
18284
|
};
|
|
18260
18285
|
};
|
|
18286
|
+
cloneWidgetIntegration: {
|
|
18287
|
+
parameters: {
|
|
18288
|
+
query?: never;
|
|
18289
|
+
header?: never;
|
|
18290
|
+
path: {
|
|
18291
|
+
widgetIntegrationId: string;
|
|
18292
|
+
};
|
|
18293
|
+
cookie?: never;
|
|
18294
|
+
};
|
|
18295
|
+
requestBody: {
|
|
18296
|
+
content: {
|
|
18297
|
+
"application/json": Record<string, never>;
|
|
18298
|
+
};
|
|
18299
|
+
};
|
|
18300
|
+
responses: {
|
|
18301
|
+
/** @description The Widget integration was cloned successfully */
|
|
18302
|
+
200: {
|
|
18303
|
+
headers: {
|
|
18304
|
+
[name: string]: unknown;
|
|
18305
|
+
};
|
|
18306
|
+
content: {
|
|
18307
|
+
"application/json": {
|
|
18308
|
+
/** @description The ID of the cloned Widget integration */
|
|
18309
|
+
id: string;
|
|
18310
|
+
};
|
|
18311
|
+
};
|
|
18312
|
+
};
|
|
18313
|
+
/** @description An error response */
|
|
18314
|
+
default: {
|
|
18315
|
+
headers: {
|
|
18316
|
+
[name: string]: unknown;
|
|
18317
|
+
};
|
|
18318
|
+
content?: never;
|
|
18319
|
+
};
|
|
18320
|
+
};
|
|
18321
|
+
};
|
|
18261
18322
|
deleteWidgetIntegration: {
|
|
18262
18323
|
parameters: {
|
|
18263
18324
|
query?: never;
|
|
@@ -18363,7 +18424,7 @@ export interface operations {
|
|
|
18363
18424
|
/** @description Whether the Widget integration supports carousels */
|
|
18364
18425
|
carousel?: boolean;
|
|
18365
18426
|
/** @description Whether the Widget integration supports forms */
|
|
18366
|
-
|
|
18427
|
+
form?: boolean;
|
|
18367
18428
|
/** @description Whether the Widget integration supports attachments */
|
|
18368
18429
|
attachments?: boolean;
|
|
18369
18430
|
/** @description Whether the Widget integration auto scrolls */
|
|
@@ -19144,7 +19205,7 @@ export interface operations {
|
|
|
19144
19205
|
/** @description The bot associated with the memory */
|
|
19145
19206
|
botId?: string;
|
|
19146
19207
|
/** @description The text of the memory */
|
|
19147
|
-
text
|
|
19208
|
+
text: string;
|
|
19148
19209
|
};
|
|
19149
19210
|
};
|
|
19150
19211
|
};
|
|
@@ -21693,7 +21754,7 @@ export interface operations {
|
|
|
21693
21754
|
query?: never;
|
|
21694
21755
|
header?: never;
|
|
21695
21756
|
path: {
|
|
21696
|
-
|
|
21757
|
+
policyId: string;
|
|
21697
21758
|
};
|
|
21698
21759
|
cookie?: never;
|
|
21699
21760
|
};
|
|
@@ -21729,7 +21790,7 @@ export interface operations {
|
|
|
21729
21790
|
query?: never;
|
|
21730
21791
|
header?: never;
|
|
21731
21792
|
path: {
|
|
21732
|
-
|
|
21793
|
+
policyId: string;
|
|
21733
21794
|
};
|
|
21734
21795
|
cookie?: never;
|
|
21735
21796
|
};
|
|
@@ -21778,7 +21839,7 @@ export interface operations {
|
|
|
21778
21839
|
query?: never;
|
|
21779
21840
|
header?: never;
|
|
21780
21841
|
path: {
|
|
21781
|
-
|
|
21842
|
+
policyId: string;
|
|
21782
21843
|
};
|
|
21783
21844
|
cookie?: never;
|
|
21784
21845
|
};
|
|
@@ -23651,6 +23712,42 @@ export interface operations {
|
|
|
23651
23712
|
};
|
|
23652
23713
|
};
|
|
23653
23714
|
};
|
|
23715
|
+
deleteSpace: {
|
|
23716
|
+
parameters: {
|
|
23717
|
+
query?: never;
|
|
23718
|
+
header?: never;
|
|
23719
|
+
path: {
|
|
23720
|
+
spaceId: string;
|
|
23721
|
+
};
|
|
23722
|
+
cookie?: never;
|
|
23723
|
+
};
|
|
23724
|
+
requestBody: {
|
|
23725
|
+
content: {
|
|
23726
|
+
"application/json": Record<string, never>;
|
|
23727
|
+
};
|
|
23728
|
+
};
|
|
23729
|
+
responses: {
|
|
23730
|
+
/** @description The space was deleted successfully */
|
|
23731
|
+
200: {
|
|
23732
|
+
headers: {
|
|
23733
|
+
[name: string]: unknown;
|
|
23734
|
+
};
|
|
23735
|
+
content: {
|
|
23736
|
+
"application/json": {
|
|
23737
|
+
/** @description The ID of the deleted space */
|
|
23738
|
+
id: string;
|
|
23739
|
+
};
|
|
23740
|
+
};
|
|
23741
|
+
};
|
|
23742
|
+
/** @description An error response */
|
|
23743
|
+
default: {
|
|
23744
|
+
headers: {
|
|
23745
|
+
[name: string]: unknown;
|
|
23746
|
+
};
|
|
23747
|
+
content?: never;
|
|
23748
|
+
};
|
|
23749
|
+
};
|
|
23750
|
+
};
|
|
23654
23751
|
fetchSpace: {
|
|
23655
23752
|
parameters: {
|
|
23656
23753
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatbotkit/sdk",
|
|
3
|
-
"version": "1.29.
|
|
3
|
+
"version": "1.29.1",
|
|
4
4
|
"description": "The fastest way to build advanced AI chat bots",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"engines": {
|
|
@@ -3148,6 +3148,26 @@
|
|
|
3148
3148
|
"default": "./dist/cjs/team/v1.cjs"
|
|
3149
3149
|
}
|
|
3150
3150
|
},
|
|
3151
|
+
"./types/ability": {
|
|
3152
|
+
"import": {
|
|
3153
|
+
"types": "./dist/esm/types/ability.d.ts",
|
|
3154
|
+
"default": "./dist/esm/types/ability.js"
|
|
3155
|
+
},
|
|
3156
|
+
"require": {
|
|
3157
|
+
"types": "./dist/cjs/types/ability.d.ts",
|
|
3158
|
+
"default": "./dist/cjs/types/ability.cjs"
|
|
3159
|
+
}
|
|
3160
|
+
},
|
|
3161
|
+
"./types/ability.js": {
|
|
3162
|
+
"import": {
|
|
3163
|
+
"types": "./dist/esm/types/ability.d.ts",
|
|
3164
|
+
"default": "./dist/esm/types/ability.js"
|
|
3165
|
+
},
|
|
3166
|
+
"require": {
|
|
3167
|
+
"types": "./dist/cjs/types/ability.d.ts",
|
|
3168
|
+
"default": "./dist/cjs/types/ability.cjs"
|
|
3169
|
+
}
|
|
3170
|
+
},
|
|
3151
3171
|
"./types/api/v1": {
|
|
3152
3172
|
"import": {
|
|
3153
3173
|
"types": "./dist/esm/types/api/v1.d.ts",
|