@botpress/client 1.45.0 → 1.47.0
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/dist/bundle.cjs +13 -13
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +675 -187
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +4 -4
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -118,10 +118,6 @@ interface CreateConversationResponse$1 {
|
|
|
118
118
|
* Unused. This field will be removed in the future.
|
|
119
119
|
*/
|
|
120
120
|
currentTaskId?: string;
|
|
121
|
-
/**
|
|
122
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
123
|
-
*/
|
|
124
|
-
currentWorkflowId?: string;
|
|
125
121
|
/**
|
|
126
122
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
127
123
|
*/
|
|
@@ -181,10 +177,6 @@ interface GetConversationResponse$1 {
|
|
|
181
177
|
* Unused. This field will be removed in the future.
|
|
182
178
|
*/
|
|
183
179
|
currentTaskId?: string;
|
|
184
|
-
/**
|
|
185
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
186
|
-
*/
|
|
187
|
-
currentWorkflowId?: string;
|
|
188
180
|
/**
|
|
189
181
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
190
182
|
*/
|
|
@@ -254,10 +246,6 @@ interface ListConversationsResponse$1 {
|
|
|
254
246
|
* Unused. This field will be removed in the future.
|
|
255
247
|
*/
|
|
256
248
|
currentTaskId?: string;
|
|
257
|
-
/**
|
|
258
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
259
|
-
*/
|
|
260
|
-
currentWorkflowId?: string;
|
|
261
249
|
/**
|
|
262
250
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
263
251
|
*/
|
|
@@ -347,10 +335,6 @@ interface GetOrCreateConversationResponse$1 {
|
|
|
347
335
|
* Unused. This field will be removed in the future.
|
|
348
336
|
*/
|
|
349
337
|
currentTaskId?: string;
|
|
350
|
-
/**
|
|
351
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
352
|
-
*/
|
|
353
|
-
currentWorkflowId?: string;
|
|
354
338
|
/**
|
|
355
339
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
356
340
|
*/
|
|
@@ -430,10 +414,6 @@ interface UpdateConversationResponse$1 {
|
|
|
430
414
|
* Unused. This field will be removed in the future.
|
|
431
415
|
*/
|
|
432
416
|
currentTaskId?: string;
|
|
433
|
-
/**
|
|
434
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
435
|
-
*/
|
|
436
|
-
currentWorkflowId?: string;
|
|
437
417
|
/**
|
|
438
418
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
439
419
|
*/
|
|
@@ -1476,10 +1456,6 @@ interface InitializeIncomingMessageResponse$1 {
|
|
|
1476
1456
|
* Unused. This field will be removed in the future.
|
|
1477
1457
|
*/
|
|
1478
1458
|
currentTaskId?: string;
|
|
1479
|
-
/**
|
|
1480
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
1481
|
-
*/
|
|
1482
|
-
currentWorkflowId?: string;
|
|
1483
1459
|
/**
|
|
1484
1460
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
1485
1461
|
*/
|
|
@@ -3185,10 +3161,10 @@ declare class Client$a extends Client$b {
|
|
|
3185
3161
|
constructor(clientProps: ClientProps$a);
|
|
3186
3162
|
get list(): {
|
|
3187
3163
|
conversations: (props: {
|
|
3164
|
+
channel?: string | undefined;
|
|
3188
3165
|
tags?: {
|
|
3189
3166
|
[x: string]: string;
|
|
3190
3167
|
} | undefined;
|
|
3191
|
-
channel?: string | undefined;
|
|
3192
3168
|
integrationName?: string | undefined;
|
|
3193
3169
|
pageSize?: number | undefined;
|
|
3194
3170
|
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
@@ -3201,7 +3177,6 @@ declare class Client$a extends Client$b {
|
|
|
3201
3177
|
}) => AsyncCollection<{
|
|
3202
3178
|
id: string;
|
|
3203
3179
|
currentTaskId?: string;
|
|
3204
|
-
currentWorkflowId?: string;
|
|
3205
3180
|
createdAt: string;
|
|
3206
3181
|
updatedAt: string;
|
|
3207
3182
|
channel: string;
|
|
@@ -3234,13 +3209,13 @@ declare class Client$a extends Client$b {
|
|
|
3234
3209
|
};
|
|
3235
3210
|
}>;
|
|
3236
3211
|
events: (props: {
|
|
3237
|
-
status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
|
|
3238
|
-
type?: string | undefined;
|
|
3239
3212
|
pageSize?: number | undefined;
|
|
3240
3213
|
userId?: string | undefined;
|
|
3214
|
+
type?: string | undefined;
|
|
3241
3215
|
conversationId?: string | undefined;
|
|
3242
3216
|
workflowId?: string | undefined;
|
|
3243
3217
|
messageId?: string | undefined;
|
|
3218
|
+
status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
|
|
3244
3219
|
}) => AsyncCollection<{
|
|
3245
3220
|
id: string;
|
|
3246
3221
|
createdAt: string;
|
|
@@ -3309,7 +3284,8 @@ declare class Client$a extends Client$b {
|
|
|
3309
3284
|
}
|
|
3310
3285
|
|
|
3311
3286
|
declare namespace index$4 {
|
|
3312
|
-
export { Client$a as Client
|
|
3287
|
+
export { Client$a as Client };
|
|
3288
|
+
export type { ClientInputs$5 as ClientInputs, ClientOutputs$5 as ClientOutputs, ClientProps$a as ClientProps, Operation$5 as Operation };
|
|
3313
3289
|
}
|
|
3314
3290
|
|
|
3315
3291
|
type Primitive$4 = string | number | boolean;
|
|
@@ -4499,10 +4475,6 @@ interface ListPublicPluginsResponse$1 {
|
|
|
4499
4475
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
4500
4476
|
*/
|
|
4501
4477
|
iconUrl: string;
|
|
4502
|
-
/**
|
|
4503
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
4504
|
-
*/
|
|
4505
|
-
readmeUrl: string;
|
|
4506
4478
|
/**
|
|
4507
4479
|
* @deprecated
|
|
4508
4480
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -5731,17 +5703,6 @@ interface CreateBotRequestBody$1 {
|
|
|
5731
5703
|
};
|
|
5732
5704
|
};
|
|
5733
5705
|
};
|
|
5734
|
-
/**
|
|
5735
|
-
* Subscriptions of the bot
|
|
5736
|
-
*/
|
|
5737
|
-
subscriptions?: {
|
|
5738
|
-
/**
|
|
5739
|
-
* Events that the bot is currently subscribed on (ex: "slack:reactionAdded"). If null, the bot is subscribed to all events.
|
|
5740
|
-
*/
|
|
5741
|
-
events: {
|
|
5742
|
-
[k: string]: {};
|
|
5743
|
-
} | null;
|
|
5744
|
-
};
|
|
5745
5706
|
/**
|
|
5746
5707
|
* Actions definition
|
|
5747
5708
|
*/
|
|
@@ -5849,6 +5810,58 @@ interface CreateBotRequestBody$1 {
|
|
|
5849
5810
|
tags?: {
|
|
5850
5811
|
[k: string]: string;
|
|
5851
5812
|
};
|
|
5813
|
+
/**
|
|
5814
|
+
* Maximum execution time (in seconds).
|
|
5815
|
+
*/
|
|
5816
|
+
maxExecutionTime?: number;
|
|
5817
|
+
/**
|
|
5818
|
+
* Subscriptions of the bot
|
|
5819
|
+
*/
|
|
5820
|
+
subscriptions?: {
|
|
5821
|
+
/**
|
|
5822
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
5823
|
+
*/
|
|
5824
|
+
integrations?: {
|
|
5825
|
+
[k: string]: {
|
|
5826
|
+
/**
|
|
5827
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
5828
|
+
*/
|
|
5829
|
+
events: {
|
|
5830
|
+
include?: string[];
|
|
5831
|
+
exclude?: string[];
|
|
5832
|
+
} | null;
|
|
5833
|
+
};
|
|
5834
|
+
};
|
|
5835
|
+
/**
|
|
5836
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
5837
|
+
*/
|
|
5838
|
+
plugins?: {
|
|
5839
|
+
[k: string]: {
|
|
5840
|
+
/**
|
|
5841
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
5842
|
+
*/
|
|
5843
|
+
events: {
|
|
5844
|
+
include?: string[];
|
|
5845
|
+
exclude?: string[];
|
|
5846
|
+
} | null;
|
|
5847
|
+
};
|
|
5848
|
+
};
|
|
5849
|
+
bot?: {
|
|
5850
|
+
/**
|
|
5851
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
5852
|
+
*/
|
|
5853
|
+
events: {
|
|
5854
|
+
include?: string[];
|
|
5855
|
+
exclude?: string[];
|
|
5856
|
+
} | null;
|
|
5857
|
+
};
|
|
5858
|
+
/**
|
|
5859
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
5860
|
+
*/
|
|
5861
|
+
events?: {
|
|
5862
|
+
[k: string]: {} | null;
|
|
5863
|
+
} | null;
|
|
5864
|
+
};
|
|
5852
5865
|
/**
|
|
5853
5866
|
* JavaScript code of the bot
|
|
5854
5867
|
*/
|
|
@@ -5882,14 +5895,7 @@ interface CreateBotRequestBody$1 {
|
|
|
5882
5895
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
5883
5896
|
*/
|
|
5884
5897
|
dev?: boolean;
|
|
5885
|
-
|
|
5886
|
-
* Type of the [Bot](#schema_bot)
|
|
5887
|
-
*/
|
|
5888
|
-
type?: "studio" | "adk" | "desk";
|
|
5889
|
-
/**
|
|
5890
|
-
* Maximum execution time (in seconds).
|
|
5891
|
-
*/
|
|
5892
|
-
maxExecutionTime?: number;
|
|
5898
|
+
type?: "studio" | "adk";
|
|
5893
5899
|
}
|
|
5894
5900
|
type CreateBotInput$1 = CreateBotRequestBody$1 & CreateBotRequestHeaders$1 & CreateBotRequestQuery$1 & CreateBotRequestParams$1;
|
|
5895
5901
|
interface CreateBotResponse$1 {
|
|
@@ -6041,10 +6047,6 @@ interface CreateBotResponse$1 {
|
|
|
6041
6047
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
6042
6048
|
*/
|
|
6043
6049
|
iconUrl: string;
|
|
6044
|
-
/**
|
|
6045
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
6046
|
-
*/
|
|
6047
|
-
readmeUrl: string;
|
|
6048
6050
|
/**
|
|
6049
6051
|
* @deprecated
|
|
6050
6052
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -6216,11 +6218,48 @@ interface CreateBotResponse$1 {
|
|
|
6216
6218
|
*/
|
|
6217
6219
|
subscriptions: {
|
|
6218
6220
|
/**
|
|
6219
|
-
*
|
|
6221
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
6220
6222
|
*/
|
|
6221
6223
|
events: {
|
|
6222
6224
|
[k: string]: {};
|
|
6223
6225
|
} | null;
|
|
6226
|
+
/**
|
|
6227
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
6228
|
+
*/
|
|
6229
|
+
integrations?: {
|
|
6230
|
+
[k: string]: {
|
|
6231
|
+
/**
|
|
6232
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
6233
|
+
*/
|
|
6234
|
+
events: {
|
|
6235
|
+
include?: string[];
|
|
6236
|
+
exclude?: string[];
|
|
6237
|
+
} | null;
|
|
6238
|
+
};
|
|
6239
|
+
};
|
|
6240
|
+
/**
|
|
6241
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
6242
|
+
*/
|
|
6243
|
+
plugins?: {
|
|
6244
|
+
[k: string]: {
|
|
6245
|
+
/**
|
|
6246
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
6247
|
+
*/
|
|
6248
|
+
events: {
|
|
6249
|
+
include?: string[];
|
|
6250
|
+
exclude?: string[];
|
|
6251
|
+
} | null;
|
|
6252
|
+
};
|
|
6253
|
+
};
|
|
6254
|
+
bot?: {
|
|
6255
|
+
/**
|
|
6256
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
6257
|
+
*/
|
|
6258
|
+
events: {
|
|
6259
|
+
include?: string[];
|
|
6260
|
+
exclude?: string[];
|
|
6261
|
+
} | null;
|
|
6262
|
+
};
|
|
6224
6263
|
};
|
|
6225
6264
|
/**
|
|
6226
6265
|
* Actions definition
|
|
@@ -6346,11 +6385,11 @@ interface UpdateBotRequestBody$1 {
|
|
|
6346
6385
|
[k: string]: any;
|
|
6347
6386
|
};
|
|
6348
6387
|
};
|
|
6349
|
-
blocked?: boolean;
|
|
6350
6388
|
/**
|
|
6351
6389
|
* Maximum execution time (in seconds).
|
|
6352
6390
|
*/
|
|
6353
6391
|
maxExecutionTime?: number;
|
|
6392
|
+
blocked?: boolean;
|
|
6354
6393
|
/**
|
|
6355
6394
|
* Indicates if the [Bot](#schema_bot) should be in always alive mode
|
|
6356
6395
|
*/
|
|
@@ -6549,8 +6588,51 @@ interface UpdateBotRequestBody$1 {
|
|
|
6549
6588
|
};
|
|
6550
6589
|
} | null;
|
|
6551
6590
|
};
|
|
6591
|
+
/**
|
|
6592
|
+
* Subscriptions of the bot
|
|
6593
|
+
*/
|
|
6552
6594
|
subscriptions?: {
|
|
6553
|
-
|
|
6595
|
+
/**
|
|
6596
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
6597
|
+
*/
|
|
6598
|
+
integrations?: {
|
|
6599
|
+
[k: string]: {
|
|
6600
|
+
/**
|
|
6601
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
6602
|
+
*/
|
|
6603
|
+
events: {
|
|
6604
|
+
include?: string[];
|
|
6605
|
+
exclude?: string[];
|
|
6606
|
+
} | null;
|
|
6607
|
+
};
|
|
6608
|
+
};
|
|
6609
|
+
/**
|
|
6610
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
6611
|
+
*/
|
|
6612
|
+
plugins?: {
|
|
6613
|
+
[k: string]: {
|
|
6614
|
+
/**
|
|
6615
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
6616
|
+
*/
|
|
6617
|
+
events: {
|
|
6618
|
+
include?: string[];
|
|
6619
|
+
exclude?: string[];
|
|
6620
|
+
} | null;
|
|
6621
|
+
};
|
|
6622
|
+
};
|
|
6623
|
+
bot?: {
|
|
6624
|
+
/**
|
|
6625
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
6626
|
+
*/
|
|
6627
|
+
events: {
|
|
6628
|
+
include?: string[];
|
|
6629
|
+
exclude?: string[];
|
|
6630
|
+
} | null;
|
|
6631
|
+
};
|
|
6632
|
+
/**
|
|
6633
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
6634
|
+
*/
|
|
6635
|
+
events?: {
|
|
6554
6636
|
[k: string]: {} | null;
|
|
6555
6637
|
} | null;
|
|
6556
6638
|
};
|
|
@@ -6580,10 +6662,7 @@ interface UpdateBotRequestBody$1 {
|
|
|
6580
6662
|
[k: string]: string | null;
|
|
6581
6663
|
};
|
|
6582
6664
|
layers?: string[];
|
|
6583
|
-
|
|
6584
|
-
* Type of the [Bot](#schema_bot)
|
|
6585
|
-
*/
|
|
6586
|
-
type?: "studio" | "adk" | "desk";
|
|
6665
|
+
type?: "studio" | "adk";
|
|
6587
6666
|
}
|
|
6588
6667
|
type UpdateBotInput$1 = UpdateBotRequestBody$1 & UpdateBotRequestHeaders$1 & UpdateBotRequestQuery$1 & UpdateBotRequestParams$1;
|
|
6589
6668
|
interface UpdateBotResponse$1 {
|
|
@@ -6735,10 +6814,6 @@ interface UpdateBotResponse$1 {
|
|
|
6735
6814
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
6736
6815
|
*/
|
|
6737
6816
|
iconUrl: string;
|
|
6738
|
-
/**
|
|
6739
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
6740
|
-
*/
|
|
6741
|
-
readmeUrl: string;
|
|
6742
6817
|
/**
|
|
6743
6818
|
* @deprecated
|
|
6744
6819
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -6910,11 +6985,48 @@ interface UpdateBotResponse$1 {
|
|
|
6910
6985
|
*/
|
|
6911
6986
|
subscriptions: {
|
|
6912
6987
|
/**
|
|
6913
|
-
*
|
|
6988
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
6914
6989
|
*/
|
|
6915
6990
|
events: {
|
|
6916
6991
|
[k: string]: {};
|
|
6917
6992
|
} | null;
|
|
6993
|
+
/**
|
|
6994
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
6995
|
+
*/
|
|
6996
|
+
integrations?: {
|
|
6997
|
+
[k: string]: {
|
|
6998
|
+
/**
|
|
6999
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
7000
|
+
*/
|
|
7001
|
+
events: {
|
|
7002
|
+
include?: string[];
|
|
7003
|
+
exclude?: string[];
|
|
7004
|
+
} | null;
|
|
7005
|
+
};
|
|
7006
|
+
};
|
|
7007
|
+
/**
|
|
7008
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
7009
|
+
*/
|
|
7010
|
+
plugins?: {
|
|
7011
|
+
[k: string]: {
|
|
7012
|
+
/**
|
|
7013
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
7014
|
+
*/
|
|
7015
|
+
events: {
|
|
7016
|
+
include?: string[];
|
|
7017
|
+
exclude?: string[];
|
|
7018
|
+
} | null;
|
|
7019
|
+
};
|
|
7020
|
+
};
|
|
7021
|
+
bot?: {
|
|
7022
|
+
/**
|
|
7023
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
7024
|
+
*/
|
|
7025
|
+
events: {
|
|
7026
|
+
include?: string[];
|
|
7027
|
+
exclude?: string[];
|
|
7028
|
+
} | null;
|
|
7029
|
+
};
|
|
6918
7030
|
};
|
|
6919
7031
|
/**
|
|
6920
7032
|
* Actions definition
|
|
@@ -7257,10 +7369,6 @@ interface GetBotResponse$1 {
|
|
|
7257
7369
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
7258
7370
|
*/
|
|
7259
7371
|
iconUrl: string;
|
|
7260
|
-
/**
|
|
7261
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
7262
|
-
*/
|
|
7263
|
-
readmeUrl: string;
|
|
7264
7372
|
/**
|
|
7265
7373
|
* @deprecated
|
|
7266
7374
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -7432,11 +7540,48 @@ interface GetBotResponse$1 {
|
|
|
7432
7540
|
*/
|
|
7433
7541
|
subscriptions: {
|
|
7434
7542
|
/**
|
|
7435
|
-
*
|
|
7543
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
7436
7544
|
*/
|
|
7437
7545
|
events: {
|
|
7438
7546
|
[k: string]: {};
|
|
7439
7547
|
} | null;
|
|
7548
|
+
/**
|
|
7549
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
7550
|
+
*/
|
|
7551
|
+
integrations?: {
|
|
7552
|
+
[k: string]: {
|
|
7553
|
+
/**
|
|
7554
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
7555
|
+
*/
|
|
7556
|
+
events: {
|
|
7557
|
+
include?: string[];
|
|
7558
|
+
exclude?: string[];
|
|
7559
|
+
} | null;
|
|
7560
|
+
};
|
|
7561
|
+
};
|
|
7562
|
+
/**
|
|
7563
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
7564
|
+
*/
|
|
7565
|
+
plugins?: {
|
|
7566
|
+
[k: string]: {
|
|
7567
|
+
/**
|
|
7568
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
7569
|
+
*/
|
|
7570
|
+
events: {
|
|
7571
|
+
include?: string[];
|
|
7572
|
+
exclude?: string[];
|
|
7573
|
+
} | null;
|
|
7574
|
+
};
|
|
7575
|
+
};
|
|
7576
|
+
bot?: {
|
|
7577
|
+
/**
|
|
7578
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
7579
|
+
*/
|
|
7580
|
+
events: {
|
|
7581
|
+
include?: string[];
|
|
7582
|
+
exclude?: string[];
|
|
7583
|
+
} | null;
|
|
7584
|
+
};
|
|
7440
7585
|
};
|
|
7441
7586
|
/**
|
|
7442
7587
|
* Actions definition
|
|
@@ -7609,7 +7754,7 @@ interface GetBotAnalyticsResponse$1 {
|
|
|
7609
7754
|
*/
|
|
7610
7755
|
startDateTimeUtc: string;
|
|
7611
7756
|
/**
|
|
7612
|
-
* ISO 8601 date string of the end (
|
|
7757
|
+
* ISO 8601 date string of the end (exclusive) of the period
|
|
7613
7758
|
*/
|
|
7614
7759
|
endDateTimeUtc: string;
|
|
7615
7760
|
returningUsers: number;
|
|
@@ -7622,12 +7767,46 @@ interface GetBotAnalyticsResponse$1 {
|
|
|
7622
7767
|
userMessages: number;
|
|
7623
7768
|
botMessages: number;
|
|
7624
7769
|
events: number;
|
|
7770
|
+
/**
|
|
7771
|
+
* Number of conversations created during the period
|
|
7772
|
+
*/
|
|
7773
|
+
conversationsCreated: number;
|
|
7625
7774
|
eventTypes: {
|
|
7626
7775
|
[k: string]: number;
|
|
7627
7776
|
};
|
|
7628
7777
|
customEvents: {
|
|
7629
7778
|
[k: string]: number;
|
|
7630
7779
|
};
|
|
7780
|
+
workflows: {
|
|
7781
|
+
created: number;
|
|
7782
|
+
completed: number;
|
|
7783
|
+
failed: number;
|
|
7784
|
+
timedout: number;
|
|
7785
|
+
cancelled: number;
|
|
7786
|
+
duration: {
|
|
7787
|
+
count: number;
|
|
7788
|
+
sum: number;
|
|
7789
|
+
mean: number;
|
|
7790
|
+
min: number;
|
|
7791
|
+
max: number;
|
|
7792
|
+
};
|
|
7793
|
+
byName: {
|
|
7794
|
+
[k: string]: {
|
|
7795
|
+
created: number;
|
|
7796
|
+
completed: number;
|
|
7797
|
+
failed: number;
|
|
7798
|
+
timedout: number;
|
|
7799
|
+
cancelled: number;
|
|
7800
|
+
duration: {
|
|
7801
|
+
count: number;
|
|
7802
|
+
sum: number;
|
|
7803
|
+
mean: number;
|
|
7804
|
+
min: number;
|
|
7805
|
+
max: number;
|
|
7806
|
+
};
|
|
7807
|
+
};
|
|
7808
|
+
};
|
|
7809
|
+
};
|
|
7631
7810
|
llm: {
|
|
7632
7811
|
calls: number;
|
|
7633
7812
|
errors: number;
|
|
@@ -14727,10 +14906,6 @@ interface ListPluginsResponse$1 {
|
|
|
14727
14906
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
14728
14907
|
*/
|
|
14729
14908
|
iconUrl: string;
|
|
14730
|
-
/**
|
|
14731
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
14732
|
-
*/
|
|
14733
|
-
readmeUrl: string;
|
|
14734
14909
|
/**
|
|
14735
14910
|
* @deprecated
|
|
14736
14911
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -15138,7 +15313,6 @@ declare class Client$8 extends Client$9 {
|
|
|
15138
15313
|
constructor(clientProps: ClientProps$8);
|
|
15139
15314
|
get list(): {
|
|
15140
15315
|
publicIntegrations: (props: {
|
|
15141
|
-
search?: string | undefined;
|
|
15142
15316
|
pageSize?: number | undefined;
|
|
15143
15317
|
name?: string | undefined;
|
|
15144
15318
|
limit?: number | undefined;
|
|
@@ -15147,6 +15321,7 @@ declare class Client$8 extends Client$9 {
|
|
|
15147
15321
|
interfaceName?: string | undefined;
|
|
15148
15322
|
installedByBotId?: string | undefined;
|
|
15149
15323
|
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
|
|
15324
|
+
search?: string | undefined;
|
|
15150
15325
|
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
|
|
15151
15326
|
direction?: "asc" | "desc" | undefined;
|
|
15152
15327
|
}) => AsyncCollection<{
|
|
@@ -15228,8 +15403,8 @@ declare class Client$8 extends Client$9 {
|
|
|
15228
15403
|
handle?: string | undefined;
|
|
15229
15404
|
}) => AsyncCollection<UpdateWorkspaceResponse$2>;
|
|
15230
15405
|
publicWorkspaces: (props: {
|
|
15231
|
-
search?: string | undefined;
|
|
15232
15406
|
pageSize?: number | undefined;
|
|
15407
|
+
search?: string | undefined;
|
|
15233
15408
|
workspaceIds?: string[] | undefined;
|
|
15234
15409
|
}) => AsyncCollection<GetPublicWorkspaceResponse$2>;
|
|
15235
15410
|
workspaceMembers: (props: {
|
|
@@ -15244,7 +15419,6 @@ declare class Client$8 extends Client$9 {
|
|
|
15244
15419
|
displayName?: string;
|
|
15245
15420
|
}>;
|
|
15246
15421
|
integrations: (props: {
|
|
15247
|
-
search?: string | undefined;
|
|
15248
15422
|
pageSize?: number | undefined;
|
|
15249
15423
|
name?: string | undefined;
|
|
15250
15424
|
limit?: number | undefined;
|
|
@@ -15253,6 +15427,7 @@ declare class Client$8 extends Client$9 {
|
|
|
15253
15427
|
interfaceName?: string | undefined;
|
|
15254
15428
|
installedByBotId?: string | undefined;
|
|
15255
15429
|
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
|
|
15430
|
+
search?: string | undefined;
|
|
15256
15431
|
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
|
|
15257
15432
|
direction?: "asc" | "desc" | undefined;
|
|
15258
15433
|
dev?: boolean | undefined;
|
|
@@ -15303,8 +15478,8 @@ declare class Client$8 extends Client$9 {
|
|
|
15303
15478
|
public: boolean;
|
|
15304
15479
|
}>;
|
|
15305
15480
|
activities: (props: {
|
|
15306
|
-
botId: string;
|
|
15307
15481
|
pageSize?: number | undefined;
|
|
15482
|
+
botId: string;
|
|
15308
15483
|
taskId: string;
|
|
15309
15484
|
}) => AsyncCollection<{
|
|
15310
15485
|
id: string;
|
|
@@ -15317,9 +15492,9 @@ declare class Client$8 extends Client$9 {
|
|
|
15317
15492
|
createdAt: string;
|
|
15318
15493
|
}>;
|
|
15319
15494
|
usageActivity: (props: {
|
|
15320
|
-
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
|
|
15321
15495
|
id: string;
|
|
15322
15496
|
pageSize?: number | undefined;
|
|
15497
|
+
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
|
|
15323
15498
|
timestampFrom?: string | undefined;
|
|
15324
15499
|
timestampUntil?: string | undefined;
|
|
15325
15500
|
}) => AsyncCollection<{
|
|
@@ -15331,9 +15506,9 @@ declare class Client$8 extends Client$9 {
|
|
|
15331
15506
|
};
|
|
15332
15507
|
}>;
|
|
15333
15508
|
usageActivityDaily: (props: {
|
|
15334
|
-
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
|
|
15335
15509
|
id: string;
|
|
15336
15510
|
pageSize?: number | undefined;
|
|
15511
|
+
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
|
|
15337
15512
|
dateFrom?: string | undefined;
|
|
15338
15513
|
dateUntil?: string | undefined;
|
|
15339
15514
|
}) => AsyncCollection<{
|
|
@@ -15351,7 +15526,8 @@ declare class Client$8 extends Client$9 {
|
|
|
15351
15526
|
}
|
|
15352
15527
|
|
|
15353
15528
|
declare namespace index$3 {
|
|
15354
|
-
export { Client$8 as Client
|
|
15529
|
+
export { Client$8 as Client };
|
|
15530
|
+
export type { ClientInputs$4 as ClientInputs, ClientOutputs$4 as ClientOutputs, ClientProps$8 as ClientProps, Operation$4 as Operation };
|
|
15355
15531
|
}
|
|
15356
15532
|
|
|
15357
15533
|
type Primitive$3 = string | number | boolean;
|
|
@@ -15399,7 +15575,7 @@ interface GetBillingAddressResponse {
|
|
|
15399
15575
|
lineTwo?: string;
|
|
15400
15576
|
city: string;
|
|
15401
15577
|
state?: string;
|
|
15402
|
-
postalCode
|
|
15578
|
+
postalCode?: string;
|
|
15403
15579
|
country: string;
|
|
15404
15580
|
} | null;
|
|
15405
15581
|
}
|
|
@@ -15415,13 +15591,76 @@ interface SetBillingAddressRequestBody {
|
|
|
15415
15591
|
lineTwo?: string;
|
|
15416
15592
|
city: string;
|
|
15417
15593
|
state?: string;
|
|
15418
|
-
postalCode
|
|
15594
|
+
postalCode?: string;
|
|
15419
15595
|
country: string;
|
|
15420
15596
|
}
|
|
15421
15597
|
type SetBillingAddressInput = SetBillingAddressRequestBody & SetBillingAddressRequestHeaders & SetBillingAddressRequestQuery & SetBillingAddressRequestParams;
|
|
15422
15598
|
interface SetBillingAddressResponse {
|
|
15423
15599
|
}
|
|
15424
15600
|
|
|
15601
|
+
interface GetCustomerRequestHeaders {
|
|
15602
|
+
}
|
|
15603
|
+
interface GetCustomerRequestQuery {
|
|
15604
|
+
}
|
|
15605
|
+
interface GetCustomerRequestParams {
|
|
15606
|
+
}
|
|
15607
|
+
interface GetCustomerRequestBody {
|
|
15608
|
+
}
|
|
15609
|
+
type GetCustomerInput = GetCustomerRequestBody & GetCustomerRequestHeaders & GetCustomerRequestQuery & GetCustomerRequestParams;
|
|
15610
|
+
interface GetCustomerResponse {
|
|
15611
|
+
address: {
|
|
15612
|
+
lineOne: string;
|
|
15613
|
+
lineTwo?: string;
|
|
15614
|
+
city: string;
|
|
15615
|
+
state?: string;
|
|
15616
|
+
postalCode?: string;
|
|
15617
|
+
country: string;
|
|
15618
|
+
} | null;
|
|
15619
|
+
name: string | null;
|
|
15620
|
+
taxIds: {
|
|
15621
|
+
type: "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "au_abn" | "au_arn" | "aw_tin" | "az_tin" | "ba_tin" | "bb_tin" | "bd_bin" | "bf_ifu" | "bg_uic" | "bh_vat" | "bj_ifu" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cm_niu" | "cn_tin" | "co_nit" | "cr_tin" | "cv_nif" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "et_tin" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kg_tin" | "kh_tin" | "kr_brn" | "kz_bin" | "la_tin" | "li_uid" | "li_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat" | "zm_tin" | "zw_tin";
|
|
15622
|
+
value: string;
|
|
15623
|
+
}[];
|
|
15624
|
+
}
|
|
15625
|
+
|
|
15626
|
+
interface SetCustomerRequestHeaders {
|
|
15627
|
+
}
|
|
15628
|
+
interface SetCustomerRequestQuery {
|
|
15629
|
+
}
|
|
15630
|
+
interface SetCustomerRequestParams {
|
|
15631
|
+
}
|
|
15632
|
+
interface SetCustomerRequestBody {
|
|
15633
|
+
address?: {
|
|
15634
|
+
lineOne: string;
|
|
15635
|
+
lineTwo?: string;
|
|
15636
|
+
city: string;
|
|
15637
|
+
state?: string;
|
|
15638
|
+
postalCode?: string;
|
|
15639
|
+
country: string;
|
|
15640
|
+
};
|
|
15641
|
+
name?: string;
|
|
15642
|
+
taxIds?: {
|
|
15643
|
+
type: "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "au_abn" | "au_arn" | "aw_tin" | "az_tin" | "ba_tin" | "bb_tin" | "bd_bin" | "bf_ifu" | "bg_uic" | "bh_vat" | "bj_ifu" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cm_niu" | "cn_tin" | "co_nit" | "cr_tin" | "cv_nif" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "et_tin" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kg_tin" | "kh_tin" | "kr_brn" | "kz_bin" | "la_tin" | "li_uid" | "li_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat" | "zm_tin" | "zw_tin";
|
|
15644
|
+
value: string;
|
|
15645
|
+
}[];
|
|
15646
|
+
}
|
|
15647
|
+
type SetCustomerInput = SetCustomerRequestBody & SetCustomerRequestHeaders & SetCustomerRequestQuery & SetCustomerRequestParams;
|
|
15648
|
+
interface SetCustomerResponse {
|
|
15649
|
+
address: {
|
|
15650
|
+
lineOne: string;
|
|
15651
|
+
lineTwo?: string;
|
|
15652
|
+
city: string;
|
|
15653
|
+
state?: string;
|
|
15654
|
+
postalCode?: string;
|
|
15655
|
+
country: string;
|
|
15656
|
+
} | null;
|
|
15657
|
+
name: string | null;
|
|
15658
|
+
taxIds: {
|
|
15659
|
+
type: "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "au_abn" | "au_arn" | "aw_tin" | "az_tin" | "ba_tin" | "bb_tin" | "bd_bin" | "bf_ifu" | "bg_uic" | "bh_vat" | "bj_ifu" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cm_niu" | "cn_tin" | "co_nit" | "cr_tin" | "cv_nif" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "et_tin" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kg_tin" | "kh_tin" | "kr_brn" | "kz_bin" | "la_tin" | "li_uid" | "li_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat" | "zm_tin" | "zw_tin";
|
|
15660
|
+
value: string;
|
|
15661
|
+
}[];
|
|
15662
|
+
}
|
|
15663
|
+
|
|
15425
15664
|
interface GetPlanRequestHeaders {
|
|
15426
15665
|
}
|
|
15427
15666
|
interface GetPlanRequestQuery {
|
|
@@ -16062,7 +16301,7 @@ interface CreateCreditGrantRequestBody {
|
|
|
16062
16301
|
* Nanodollar value of the credit grant (e.g. 10_000_000_000 = $10.00 USD)
|
|
16063
16302
|
*/
|
|
16064
16303
|
amount: number;
|
|
16065
|
-
feature: "
|
|
16304
|
+
feature: "ai_spend";
|
|
16066
16305
|
}
|
|
16067
16306
|
type CreateCreditGrantInput = CreateCreditGrantRequestBody & CreateCreditGrantRequestHeaders & CreateCreditGrantRequestQuery & CreateCreditGrantRequestParams;
|
|
16068
16307
|
interface CreateCreditGrantResponse {
|
|
@@ -16270,6 +16509,8 @@ declare class Client$7 {
|
|
|
16270
16509
|
readonly getBillingReadonly: (input: GetBillingReadonlyInput) => Promise<GetBillingReadonlyResponse>;
|
|
16271
16510
|
readonly getBillingAddress: (input: GetBillingAddressInput) => Promise<GetBillingAddressResponse>;
|
|
16272
16511
|
readonly setBillingAddress: (input: SetBillingAddressInput) => Promise<SetBillingAddressResponse>;
|
|
16512
|
+
readonly getCustomer: (input: GetCustomerInput) => Promise<GetCustomerResponse>;
|
|
16513
|
+
readonly setCustomer: (input: SetCustomerInput) => Promise<SetCustomerResponse>;
|
|
16273
16514
|
readonly getPlan: (input: GetPlanInput) => Promise<GetPlanResponse$1>;
|
|
16274
16515
|
readonly listPlans: (input: ListPlansInput) => Promise<ListPlansResponse>;
|
|
16275
16516
|
readonly getAddon: (input: GetAddonInput) => Promise<GetAddonResponse$1>;
|
|
@@ -16325,7 +16566,8 @@ declare class Client$6 extends Client$7 {
|
|
|
16325
16566
|
}
|
|
16326
16567
|
|
|
16327
16568
|
declare namespace index$2 {
|
|
16328
|
-
export { Client$6 as Client
|
|
16569
|
+
export { Client$6 as Client };
|
|
16570
|
+
export type { ClientInputs$3 as ClientInputs, ClientOutputs$3 as ClientOutputs, ClientProps$6 as ClientProps, Operation$3 as Operation };
|
|
16329
16571
|
}
|
|
16330
16572
|
|
|
16331
16573
|
type Primitive$2 = string | number | boolean;
|
|
@@ -17327,6 +17569,10 @@ interface CreateKnowledgeBaseRequestBody$1 {
|
|
|
17327
17569
|
* Name of the knowledge base.
|
|
17328
17570
|
*/
|
|
17329
17571
|
name: string;
|
|
17572
|
+
/**
|
|
17573
|
+
* Description of the knowledge base.
|
|
17574
|
+
*/
|
|
17575
|
+
description?: string;
|
|
17330
17576
|
tags?: {
|
|
17331
17577
|
[k: string]: string;
|
|
17332
17578
|
};
|
|
@@ -17342,6 +17588,10 @@ interface CreateKnowledgeBaseResponse$1 {
|
|
|
17342
17588
|
* Name of the knowledge base.
|
|
17343
17589
|
*/
|
|
17344
17590
|
name: string;
|
|
17591
|
+
/**
|
|
17592
|
+
* Description of the knowledge base.
|
|
17593
|
+
*/
|
|
17594
|
+
description?: string;
|
|
17345
17595
|
tags: {
|
|
17346
17596
|
[k: string]: string;
|
|
17347
17597
|
};
|
|
@@ -17373,6 +17623,10 @@ interface UpdateKnowledgeBaseRequestBody$1 {
|
|
|
17373
17623
|
* New name of the knowledge base.
|
|
17374
17624
|
*/
|
|
17375
17625
|
name: string;
|
|
17626
|
+
/**
|
|
17627
|
+
* Description of the knowledge base. Omit to keep the existing description; set to `null` to clear it.
|
|
17628
|
+
*/
|
|
17629
|
+
description?: string | null;
|
|
17376
17630
|
/**
|
|
17377
17631
|
* The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`.
|
|
17378
17632
|
*/
|
|
@@ -17391,6 +17645,10 @@ interface UpdateKnowledgeBaseResponse$1 {
|
|
|
17391
17645
|
* Name of the knowledge base.
|
|
17392
17646
|
*/
|
|
17393
17647
|
name: string;
|
|
17648
|
+
/**
|
|
17649
|
+
* Description of the knowledge base.
|
|
17650
|
+
*/
|
|
17651
|
+
description?: string;
|
|
17394
17652
|
tags: {
|
|
17395
17653
|
[k: string]: string;
|
|
17396
17654
|
};
|
|
@@ -17419,6 +17677,10 @@ interface ListKnowledgeBasesResponse$1 {
|
|
|
17419
17677
|
* Name of the knowledge base.
|
|
17420
17678
|
*/
|
|
17421
17679
|
name: string;
|
|
17680
|
+
/**
|
|
17681
|
+
* Description of the knowledge base.
|
|
17682
|
+
*/
|
|
17683
|
+
description?: string;
|
|
17422
17684
|
/**
|
|
17423
17685
|
* Knowledge base creation timestamp in ISO 8601 format
|
|
17424
17686
|
*/
|
|
@@ -17546,6 +17808,7 @@ declare class Client$4 extends Client$5 implements IClient$2 {
|
|
|
17546
17808
|
}) => AsyncCollection<{
|
|
17547
17809
|
id: string;
|
|
17548
17810
|
name: string;
|
|
17811
|
+
description?: string;
|
|
17549
17812
|
createdAt: string;
|
|
17550
17813
|
tags: {
|
|
17551
17814
|
[k: string]: string;
|
|
@@ -17559,7 +17822,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
|
|
|
17559
17822
|
}
|
|
17560
17823
|
|
|
17561
17824
|
declare namespace index$1 {
|
|
17562
|
-
export { Client$4 as Client
|
|
17825
|
+
export { Client$4 as Client };
|
|
17826
|
+
export type { ClientInputs$2 as ClientInputs, ClientOutputs$2 as ClientOutputs, ClientProps$4 as ClientProps, Operation$2 as Operation };
|
|
17563
17827
|
}
|
|
17564
17828
|
|
|
17565
17829
|
type Primitive$1 = string | number | boolean;
|
|
@@ -19304,7 +19568,8 @@ declare class Client$2 extends Client$3 {
|
|
|
19304
19568
|
}
|
|
19305
19569
|
|
|
19306
19570
|
declare namespace index {
|
|
19307
|
-
export { Client$2 as Client
|
|
19571
|
+
export { Client$2 as Client };
|
|
19572
|
+
export type { ClientInputs$1 as ClientInputs, ClientOutputs$1 as ClientOutputs, ClientProps$2 as ClientProps, Operation$1 as Operation };
|
|
19308
19573
|
}
|
|
19309
19574
|
|
|
19310
19575
|
type Primitive = string | number | boolean;
|
|
@@ -19367,10 +19632,6 @@ interface CreateConversationResponse {
|
|
|
19367
19632
|
* Unused. This field will be removed in the future.
|
|
19368
19633
|
*/
|
|
19369
19634
|
currentTaskId?: string;
|
|
19370
|
-
/**
|
|
19371
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
19372
|
-
*/
|
|
19373
|
-
currentWorkflowId?: string;
|
|
19374
19635
|
/**
|
|
19375
19636
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
19376
19637
|
*/
|
|
@@ -19430,10 +19691,6 @@ interface GetConversationResponse {
|
|
|
19430
19691
|
* Unused. This field will be removed in the future.
|
|
19431
19692
|
*/
|
|
19432
19693
|
currentTaskId?: string;
|
|
19433
|
-
/**
|
|
19434
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
19435
|
-
*/
|
|
19436
|
-
currentWorkflowId?: string;
|
|
19437
19694
|
/**
|
|
19438
19695
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
19439
19696
|
*/
|
|
@@ -19503,10 +19760,6 @@ interface ListConversationsResponse {
|
|
|
19503
19760
|
* Unused. This field will be removed in the future.
|
|
19504
19761
|
*/
|
|
19505
19762
|
currentTaskId?: string;
|
|
19506
|
-
/**
|
|
19507
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
19508
|
-
*/
|
|
19509
|
-
currentWorkflowId?: string;
|
|
19510
19763
|
/**
|
|
19511
19764
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
19512
19765
|
*/
|
|
@@ -19596,10 +19849,6 @@ interface GetOrCreateConversationResponse {
|
|
|
19596
19849
|
* Unused. This field will be removed in the future.
|
|
19597
19850
|
*/
|
|
19598
19851
|
currentTaskId?: string;
|
|
19599
|
-
/**
|
|
19600
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
19601
|
-
*/
|
|
19602
|
-
currentWorkflowId?: string;
|
|
19603
19852
|
/**
|
|
19604
19853
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
19605
19854
|
*/
|
|
@@ -19679,10 +19928,6 @@ interface UpdateConversationResponse {
|
|
|
19679
19928
|
* Unused. This field will be removed in the future.
|
|
19680
19929
|
*/
|
|
19681
19930
|
currentTaskId?: string;
|
|
19682
|
-
/**
|
|
19683
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
19684
|
-
*/
|
|
19685
|
-
currentWorkflowId?: string;
|
|
19686
19931
|
/**
|
|
19687
19932
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
19688
19933
|
*/
|
|
@@ -20725,10 +20970,6 @@ interface InitializeIncomingMessageResponse {
|
|
|
20725
20970
|
* Unused. This field will be removed in the future.
|
|
20726
20971
|
*/
|
|
20727
20972
|
currentTaskId?: string;
|
|
20728
|
-
/**
|
|
20729
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
20730
|
-
*/
|
|
20731
|
-
currentWorkflowId?: string;
|
|
20732
20973
|
/**
|
|
20733
20974
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
20734
20975
|
*/
|
|
@@ -23535,10 +23776,6 @@ interface ListPublicPluginsResponse {
|
|
|
23535
23776
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
23536
23777
|
*/
|
|
23537
23778
|
iconUrl: string;
|
|
23538
|
-
/**
|
|
23539
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
23540
|
-
*/
|
|
23541
|
-
readmeUrl: string;
|
|
23542
23779
|
/**
|
|
23543
23780
|
* @deprecated
|
|
23544
23781
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -24767,17 +25004,6 @@ interface CreateBotRequestBody {
|
|
|
24767
25004
|
};
|
|
24768
25005
|
};
|
|
24769
25006
|
};
|
|
24770
|
-
/**
|
|
24771
|
-
* Subscriptions of the bot
|
|
24772
|
-
*/
|
|
24773
|
-
subscriptions?: {
|
|
24774
|
-
/**
|
|
24775
|
-
* Events that the bot is currently subscribed on (ex: "slack:reactionAdded"). If null, the bot is subscribed to all events.
|
|
24776
|
-
*/
|
|
24777
|
-
events: {
|
|
24778
|
-
[k: string]: {};
|
|
24779
|
-
} | null;
|
|
24780
|
-
};
|
|
24781
25007
|
/**
|
|
24782
25008
|
* Actions definition
|
|
24783
25009
|
*/
|
|
@@ -24885,6 +25111,58 @@ interface CreateBotRequestBody {
|
|
|
24885
25111
|
tags?: {
|
|
24886
25112
|
[k: string]: string;
|
|
24887
25113
|
};
|
|
25114
|
+
/**
|
|
25115
|
+
* Maximum execution time (in seconds).
|
|
25116
|
+
*/
|
|
25117
|
+
maxExecutionTime?: number;
|
|
25118
|
+
/**
|
|
25119
|
+
* Subscriptions of the bot
|
|
25120
|
+
*/
|
|
25121
|
+
subscriptions?: {
|
|
25122
|
+
/**
|
|
25123
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
25124
|
+
*/
|
|
25125
|
+
integrations?: {
|
|
25126
|
+
[k: string]: {
|
|
25127
|
+
/**
|
|
25128
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25129
|
+
*/
|
|
25130
|
+
events: {
|
|
25131
|
+
include?: string[];
|
|
25132
|
+
exclude?: string[];
|
|
25133
|
+
} | null;
|
|
25134
|
+
};
|
|
25135
|
+
};
|
|
25136
|
+
/**
|
|
25137
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
25138
|
+
*/
|
|
25139
|
+
plugins?: {
|
|
25140
|
+
[k: string]: {
|
|
25141
|
+
/**
|
|
25142
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25143
|
+
*/
|
|
25144
|
+
events: {
|
|
25145
|
+
include?: string[];
|
|
25146
|
+
exclude?: string[];
|
|
25147
|
+
} | null;
|
|
25148
|
+
};
|
|
25149
|
+
};
|
|
25150
|
+
bot?: {
|
|
25151
|
+
/**
|
|
25152
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25153
|
+
*/
|
|
25154
|
+
events: {
|
|
25155
|
+
include?: string[];
|
|
25156
|
+
exclude?: string[];
|
|
25157
|
+
} | null;
|
|
25158
|
+
};
|
|
25159
|
+
/**
|
|
25160
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
25161
|
+
*/
|
|
25162
|
+
events?: {
|
|
25163
|
+
[k: string]: {} | null;
|
|
25164
|
+
} | null;
|
|
25165
|
+
};
|
|
24888
25166
|
/**
|
|
24889
25167
|
* JavaScript code of the bot
|
|
24890
25168
|
*/
|
|
@@ -24918,14 +25196,7 @@ interface CreateBotRequestBody {
|
|
|
24918
25196
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
24919
25197
|
*/
|
|
24920
25198
|
dev?: boolean;
|
|
24921
|
-
|
|
24922
|
-
* Type of the [Bot](#schema_bot)
|
|
24923
|
-
*/
|
|
24924
|
-
type?: "studio" | "adk" | "desk";
|
|
24925
|
-
/**
|
|
24926
|
-
* Maximum execution time (in seconds).
|
|
24927
|
-
*/
|
|
24928
|
-
maxExecutionTime?: number;
|
|
25199
|
+
type?: "studio" | "adk";
|
|
24929
25200
|
}
|
|
24930
25201
|
type CreateBotInput = CreateBotRequestBody & CreateBotRequestHeaders & CreateBotRequestQuery & CreateBotRequestParams;
|
|
24931
25202
|
interface CreateBotResponse {
|
|
@@ -25077,10 +25348,6 @@ interface CreateBotResponse {
|
|
|
25077
25348
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
25078
25349
|
*/
|
|
25079
25350
|
iconUrl: string;
|
|
25080
|
-
/**
|
|
25081
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
25082
|
-
*/
|
|
25083
|
-
readmeUrl: string;
|
|
25084
25351
|
/**
|
|
25085
25352
|
* @deprecated
|
|
25086
25353
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -25252,11 +25519,48 @@ interface CreateBotResponse {
|
|
|
25252
25519
|
*/
|
|
25253
25520
|
subscriptions: {
|
|
25254
25521
|
/**
|
|
25255
|
-
*
|
|
25522
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
25256
25523
|
*/
|
|
25257
25524
|
events: {
|
|
25258
25525
|
[k: string]: {};
|
|
25259
25526
|
} | null;
|
|
25527
|
+
/**
|
|
25528
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
25529
|
+
*/
|
|
25530
|
+
integrations?: {
|
|
25531
|
+
[k: string]: {
|
|
25532
|
+
/**
|
|
25533
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25534
|
+
*/
|
|
25535
|
+
events: {
|
|
25536
|
+
include?: string[];
|
|
25537
|
+
exclude?: string[];
|
|
25538
|
+
} | null;
|
|
25539
|
+
};
|
|
25540
|
+
};
|
|
25541
|
+
/**
|
|
25542
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
25543
|
+
*/
|
|
25544
|
+
plugins?: {
|
|
25545
|
+
[k: string]: {
|
|
25546
|
+
/**
|
|
25547
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25548
|
+
*/
|
|
25549
|
+
events: {
|
|
25550
|
+
include?: string[];
|
|
25551
|
+
exclude?: string[];
|
|
25552
|
+
} | null;
|
|
25553
|
+
};
|
|
25554
|
+
};
|
|
25555
|
+
bot?: {
|
|
25556
|
+
/**
|
|
25557
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25558
|
+
*/
|
|
25559
|
+
events: {
|
|
25560
|
+
include?: string[];
|
|
25561
|
+
exclude?: string[];
|
|
25562
|
+
} | null;
|
|
25563
|
+
};
|
|
25260
25564
|
};
|
|
25261
25565
|
/**
|
|
25262
25566
|
* Actions definition
|
|
@@ -25382,11 +25686,11 @@ interface UpdateBotRequestBody {
|
|
|
25382
25686
|
[k: string]: any;
|
|
25383
25687
|
};
|
|
25384
25688
|
};
|
|
25385
|
-
blocked?: boolean;
|
|
25386
25689
|
/**
|
|
25387
25690
|
* Maximum execution time (in seconds).
|
|
25388
25691
|
*/
|
|
25389
25692
|
maxExecutionTime?: number;
|
|
25693
|
+
blocked?: boolean;
|
|
25390
25694
|
/**
|
|
25391
25695
|
* Indicates if the [Bot](#schema_bot) should be in always alive mode
|
|
25392
25696
|
*/
|
|
@@ -25585,8 +25889,51 @@ interface UpdateBotRequestBody {
|
|
|
25585
25889
|
};
|
|
25586
25890
|
} | null;
|
|
25587
25891
|
};
|
|
25892
|
+
/**
|
|
25893
|
+
* Subscriptions of the bot
|
|
25894
|
+
*/
|
|
25588
25895
|
subscriptions?: {
|
|
25589
|
-
|
|
25896
|
+
/**
|
|
25897
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
25898
|
+
*/
|
|
25899
|
+
integrations?: {
|
|
25900
|
+
[k: string]: {
|
|
25901
|
+
/**
|
|
25902
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25903
|
+
*/
|
|
25904
|
+
events: {
|
|
25905
|
+
include?: string[];
|
|
25906
|
+
exclude?: string[];
|
|
25907
|
+
} | null;
|
|
25908
|
+
};
|
|
25909
|
+
};
|
|
25910
|
+
/**
|
|
25911
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
25912
|
+
*/
|
|
25913
|
+
plugins?: {
|
|
25914
|
+
[k: string]: {
|
|
25915
|
+
/**
|
|
25916
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25917
|
+
*/
|
|
25918
|
+
events: {
|
|
25919
|
+
include?: string[];
|
|
25920
|
+
exclude?: string[];
|
|
25921
|
+
} | null;
|
|
25922
|
+
};
|
|
25923
|
+
};
|
|
25924
|
+
bot?: {
|
|
25925
|
+
/**
|
|
25926
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
25927
|
+
*/
|
|
25928
|
+
events: {
|
|
25929
|
+
include?: string[];
|
|
25930
|
+
exclude?: string[];
|
|
25931
|
+
} | null;
|
|
25932
|
+
};
|
|
25933
|
+
/**
|
|
25934
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
25935
|
+
*/
|
|
25936
|
+
events?: {
|
|
25590
25937
|
[k: string]: {} | null;
|
|
25591
25938
|
} | null;
|
|
25592
25939
|
};
|
|
@@ -25616,10 +25963,7 @@ interface UpdateBotRequestBody {
|
|
|
25616
25963
|
[k: string]: string | null;
|
|
25617
25964
|
};
|
|
25618
25965
|
layers?: string[];
|
|
25619
|
-
|
|
25620
|
-
* Type of the [Bot](#schema_bot)
|
|
25621
|
-
*/
|
|
25622
|
-
type?: "studio" | "adk" | "desk";
|
|
25966
|
+
type?: "studio" | "adk";
|
|
25623
25967
|
}
|
|
25624
25968
|
type UpdateBotInput = UpdateBotRequestBody & UpdateBotRequestHeaders & UpdateBotRequestQuery & UpdateBotRequestParams;
|
|
25625
25969
|
interface UpdateBotResponse {
|
|
@@ -25771,10 +26115,6 @@ interface UpdateBotResponse {
|
|
|
25771
26115
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
25772
26116
|
*/
|
|
25773
26117
|
iconUrl: string;
|
|
25774
|
-
/**
|
|
25775
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
25776
|
-
*/
|
|
25777
|
-
readmeUrl: string;
|
|
25778
26118
|
/**
|
|
25779
26119
|
* @deprecated
|
|
25780
26120
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -25946,11 +26286,48 @@ interface UpdateBotResponse {
|
|
|
25946
26286
|
*/
|
|
25947
26287
|
subscriptions: {
|
|
25948
26288
|
/**
|
|
25949
|
-
*
|
|
26289
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
25950
26290
|
*/
|
|
25951
26291
|
events: {
|
|
25952
26292
|
[k: string]: {};
|
|
25953
26293
|
} | null;
|
|
26294
|
+
/**
|
|
26295
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
26296
|
+
*/
|
|
26297
|
+
integrations?: {
|
|
26298
|
+
[k: string]: {
|
|
26299
|
+
/**
|
|
26300
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
26301
|
+
*/
|
|
26302
|
+
events: {
|
|
26303
|
+
include?: string[];
|
|
26304
|
+
exclude?: string[];
|
|
26305
|
+
} | null;
|
|
26306
|
+
};
|
|
26307
|
+
};
|
|
26308
|
+
/**
|
|
26309
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
26310
|
+
*/
|
|
26311
|
+
plugins?: {
|
|
26312
|
+
[k: string]: {
|
|
26313
|
+
/**
|
|
26314
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
26315
|
+
*/
|
|
26316
|
+
events: {
|
|
26317
|
+
include?: string[];
|
|
26318
|
+
exclude?: string[];
|
|
26319
|
+
} | null;
|
|
26320
|
+
};
|
|
26321
|
+
};
|
|
26322
|
+
bot?: {
|
|
26323
|
+
/**
|
|
26324
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
26325
|
+
*/
|
|
26326
|
+
events: {
|
|
26327
|
+
include?: string[];
|
|
26328
|
+
exclude?: string[];
|
|
26329
|
+
} | null;
|
|
26330
|
+
};
|
|
25954
26331
|
};
|
|
25955
26332
|
/**
|
|
25956
26333
|
* Actions definition
|
|
@@ -26293,10 +26670,6 @@ interface GetBotResponse {
|
|
|
26293
26670
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
26294
26671
|
*/
|
|
26295
26672
|
iconUrl: string;
|
|
26296
|
-
/**
|
|
26297
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
26298
|
-
*/
|
|
26299
|
-
readmeUrl: string;
|
|
26300
26673
|
/**
|
|
26301
26674
|
* @deprecated
|
|
26302
26675
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -26468,11 +26841,48 @@ interface GetBotResponse {
|
|
|
26468
26841
|
*/
|
|
26469
26842
|
subscriptions: {
|
|
26470
26843
|
/**
|
|
26471
|
-
*
|
|
26844
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
26472
26845
|
*/
|
|
26473
26846
|
events: {
|
|
26474
26847
|
[k: string]: {};
|
|
26475
26848
|
} | null;
|
|
26849
|
+
/**
|
|
26850
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
26851
|
+
*/
|
|
26852
|
+
integrations?: {
|
|
26853
|
+
[k: string]: {
|
|
26854
|
+
/**
|
|
26855
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
26856
|
+
*/
|
|
26857
|
+
events: {
|
|
26858
|
+
include?: string[];
|
|
26859
|
+
exclude?: string[];
|
|
26860
|
+
} | null;
|
|
26861
|
+
};
|
|
26862
|
+
};
|
|
26863
|
+
/**
|
|
26864
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
26865
|
+
*/
|
|
26866
|
+
plugins?: {
|
|
26867
|
+
[k: string]: {
|
|
26868
|
+
/**
|
|
26869
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
26870
|
+
*/
|
|
26871
|
+
events: {
|
|
26872
|
+
include?: string[];
|
|
26873
|
+
exclude?: string[];
|
|
26874
|
+
} | null;
|
|
26875
|
+
};
|
|
26876
|
+
};
|
|
26877
|
+
bot?: {
|
|
26878
|
+
/**
|
|
26879
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
26880
|
+
*/
|
|
26881
|
+
events: {
|
|
26882
|
+
include?: string[];
|
|
26883
|
+
exclude?: string[];
|
|
26884
|
+
} | null;
|
|
26885
|
+
};
|
|
26476
26886
|
};
|
|
26477
26887
|
/**
|
|
26478
26888
|
* Actions definition
|
|
@@ -26645,7 +27055,7 @@ interface GetBotAnalyticsResponse {
|
|
|
26645
27055
|
*/
|
|
26646
27056
|
startDateTimeUtc: string;
|
|
26647
27057
|
/**
|
|
26648
|
-
* ISO 8601 date string of the end (
|
|
27058
|
+
* ISO 8601 date string of the end (exclusive) of the period
|
|
26649
27059
|
*/
|
|
26650
27060
|
endDateTimeUtc: string;
|
|
26651
27061
|
returningUsers: number;
|
|
@@ -26658,12 +27068,46 @@ interface GetBotAnalyticsResponse {
|
|
|
26658
27068
|
userMessages: number;
|
|
26659
27069
|
botMessages: number;
|
|
26660
27070
|
events: number;
|
|
27071
|
+
/**
|
|
27072
|
+
* Number of conversations created during the period
|
|
27073
|
+
*/
|
|
27074
|
+
conversationsCreated: number;
|
|
26661
27075
|
eventTypes: {
|
|
26662
27076
|
[k: string]: number;
|
|
26663
27077
|
};
|
|
26664
27078
|
customEvents: {
|
|
26665
27079
|
[k: string]: number;
|
|
26666
27080
|
};
|
|
27081
|
+
workflows: {
|
|
27082
|
+
created: number;
|
|
27083
|
+
completed: number;
|
|
27084
|
+
failed: number;
|
|
27085
|
+
timedout: number;
|
|
27086
|
+
cancelled: number;
|
|
27087
|
+
duration: {
|
|
27088
|
+
count: number;
|
|
27089
|
+
sum: number;
|
|
27090
|
+
mean: number;
|
|
27091
|
+
min: number;
|
|
27092
|
+
max: number;
|
|
27093
|
+
};
|
|
27094
|
+
byName: {
|
|
27095
|
+
[k: string]: {
|
|
27096
|
+
created: number;
|
|
27097
|
+
completed: number;
|
|
27098
|
+
failed: number;
|
|
27099
|
+
timedout: number;
|
|
27100
|
+
cancelled: number;
|
|
27101
|
+
duration: {
|
|
27102
|
+
count: number;
|
|
27103
|
+
sum: number;
|
|
27104
|
+
mean: number;
|
|
27105
|
+
min: number;
|
|
27106
|
+
max: number;
|
|
27107
|
+
};
|
|
27108
|
+
};
|
|
27109
|
+
};
|
|
27110
|
+
};
|
|
26667
27111
|
llm: {
|
|
26668
27112
|
calls: number;
|
|
26669
27113
|
errors: number;
|
|
@@ -33764,10 +34208,6 @@ interface ListPluginsResponse {
|
|
|
33764
34208
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
33765
34209
|
*/
|
|
33766
34210
|
iconUrl: string;
|
|
33767
|
-
/**
|
|
33768
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
33769
|
-
*/
|
|
33770
|
-
readmeUrl: string;
|
|
33771
34211
|
/**
|
|
33772
34212
|
* @deprecated
|
|
33773
34213
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -35023,6 +35463,10 @@ interface CreateKnowledgeBaseRequestBody {
|
|
|
35023
35463
|
* Name of the knowledge base.
|
|
35024
35464
|
*/
|
|
35025
35465
|
name: string;
|
|
35466
|
+
/**
|
|
35467
|
+
* Description of the knowledge base.
|
|
35468
|
+
*/
|
|
35469
|
+
description?: string;
|
|
35026
35470
|
tags?: {
|
|
35027
35471
|
[k: string]: string;
|
|
35028
35472
|
};
|
|
@@ -35038,6 +35482,10 @@ interface CreateKnowledgeBaseResponse {
|
|
|
35038
35482
|
* Name of the knowledge base.
|
|
35039
35483
|
*/
|
|
35040
35484
|
name: string;
|
|
35485
|
+
/**
|
|
35486
|
+
* Description of the knowledge base.
|
|
35487
|
+
*/
|
|
35488
|
+
description?: string;
|
|
35041
35489
|
tags: {
|
|
35042
35490
|
[k: string]: string;
|
|
35043
35491
|
};
|
|
@@ -35069,6 +35517,10 @@ interface UpdateKnowledgeBaseRequestBody {
|
|
|
35069
35517
|
* New name of the knowledge base.
|
|
35070
35518
|
*/
|
|
35071
35519
|
name: string;
|
|
35520
|
+
/**
|
|
35521
|
+
* Description of the knowledge base. Omit to keep the existing description; set to `null` to clear it.
|
|
35522
|
+
*/
|
|
35523
|
+
description?: string | null;
|
|
35072
35524
|
/**
|
|
35073
35525
|
* The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`.
|
|
35074
35526
|
*/
|
|
@@ -35087,6 +35539,10 @@ interface UpdateKnowledgeBaseResponse {
|
|
|
35087
35539
|
* Name of the knowledge base.
|
|
35088
35540
|
*/
|
|
35089
35541
|
name: string;
|
|
35542
|
+
/**
|
|
35543
|
+
* Description of the knowledge base.
|
|
35544
|
+
*/
|
|
35545
|
+
description?: string;
|
|
35090
35546
|
tags: {
|
|
35091
35547
|
[k: string]: string;
|
|
35092
35548
|
};
|
|
@@ -35115,6 +35571,10 @@ interface ListKnowledgeBasesResponse {
|
|
|
35115
35571
|
* Name of the knowledge base.
|
|
35116
35572
|
*/
|
|
35117
35573
|
name: string;
|
|
35574
|
+
/**
|
|
35575
|
+
* Description of the knowledge base.
|
|
35576
|
+
*/
|
|
35577
|
+
description?: string;
|
|
35118
35578
|
/**
|
|
35119
35579
|
* Knowledge base creation timestamp in ISO 8601 format
|
|
35120
35580
|
*/
|
|
@@ -36961,10 +37421,6 @@ interface Bot {
|
|
|
36961
37421
|
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
36962
37422
|
*/
|
|
36963
37423
|
iconUrl: string;
|
|
36964
|
-
/**
|
|
36965
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
36966
|
-
*/
|
|
36967
|
-
readmeUrl: string;
|
|
36968
37424
|
/**
|
|
36969
37425
|
* @deprecated
|
|
36970
37426
|
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
@@ -37136,11 +37592,48 @@ interface Bot {
|
|
|
37136
37592
|
*/
|
|
37137
37593
|
subscriptions: {
|
|
37138
37594
|
/**
|
|
37139
|
-
*
|
|
37595
|
+
* [DEPRECATED] Use `integrations`, `plugins`, and `bot` instead. Mapped onto the new per-source fields incrementally (each entry adds or removes its own event type). Cannot be combined with the new fields in the same request. If null, the bot is subscribed to all events.
|
|
37140
37596
|
*/
|
|
37141
37597
|
events: {
|
|
37142
37598
|
[k: string]: {};
|
|
37143
37599
|
} | null;
|
|
37600
|
+
/**
|
|
37601
|
+
* Subscriptions for events coming from specific integrations. Keyed by integration alias.
|
|
37602
|
+
*/
|
|
37603
|
+
integrations?: {
|
|
37604
|
+
[k: string]: {
|
|
37605
|
+
/**
|
|
37606
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
37607
|
+
*/
|
|
37608
|
+
events: {
|
|
37609
|
+
include?: string[];
|
|
37610
|
+
exclude?: string[];
|
|
37611
|
+
} | null;
|
|
37612
|
+
};
|
|
37613
|
+
};
|
|
37614
|
+
/**
|
|
37615
|
+
* Subscriptions for events coming from specific plugins. Keyed by plugin alias.
|
|
37616
|
+
*/
|
|
37617
|
+
plugins?: {
|
|
37618
|
+
[k: string]: {
|
|
37619
|
+
/**
|
|
37620
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
37621
|
+
*/
|
|
37622
|
+
events: {
|
|
37623
|
+
include?: string[];
|
|
37624
|
+
exclude?: string[];
|
|
37625
|
+
} | null;
|
|
37626
|
+
};
|
|
37627
|
+
};
|
|
37628
|
+
bot?: {
|
|
37629
|
+
/**
|
|
37630
|
+
* Event filter for a source. Provide exactly one of `include` (deliver only the listed event types) or `exclude` (deliver all but the listed types); they are mutually exclusive, and providing both or neither is rejected. Set the entire `events` record to `null` to remove all filters for this source.
|
|
37631
|
+
*/
|
|
37632
|
+
events: {
|
|
37633
|
+
include?: string[];
|
|
37634
|
+
exclude?: string[];
|
|
37635
|
+
} | null;
|
|
37636
|
+
};
|
|
37144
37637
|
};
|
|
37145
37638
|
/**
|
|
37146
37639
|
* Actions definition
|
|
@@ -38173,10 +38666,6 @@ interface Conversation {
|
|
|
38173
38666
|
* Unused. This field will be removed in the future.
|
|
38174
38667
|
*/
|
|
38175
38668
|
currentTaskId?: string;
|
|
38176
|
-
/**
|
|
38177
|
-
* Id of the current [Workflow](#schema_workflow)
|
|
38178
|
-
*/
|
|
38179
|
-
currentWorkflowId?: string;
|
|
38180
38669
|
/**
|
|
38181
38670
|
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
38182
38671
|
*/
|
|
@@ -38944,10 +39433,10 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38944
39433
|
constructor(clientProps?: ClientProps);
|
|
38945
39434
|
get list(): {
|
|
38946
39435
|
conversations: (props: {
|
|
39436
|
+
channel?: string | undefined;
|
|
38947
39437
|
tags?: {
|
|
38948
39438
|
[x: string]: string;
|
|
38949
39439
|
} | undefined;
|
|
38950
|
-
channel?: string | undefined;
|
|
38951
39440
|
integrationName?: string | undefined;
|
|
38952
39441
|
pageSize?: number | undefined;
|
|
38953
39442
|
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
@@ -38960,7 +39449,6 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38960
39449
|
}) => AsyncCollection<{
|
|
38961
39450
|
id: string;
|
|
38962
39451
|
currentTaskId?: string;
|
|
38963
|
-
currentWorkflowId?: string;
|
|
38964
39452
|
createdAt: string;
|
|
38965
39453
|
updatedAt: string;
|
|
38966
39454
|
channel: string;
|
|
@@ -38993,13 +39481,13 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38993
39481
|
};
|
|
38994
39482
|
}>;
|
|
38995
39483
|
events: (props: {
|
|
38996
|
-
status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
|
|
38997
|
-
type?: string | undefined;
|
|
38998
39484
|
pageSize?: number | undefined;
|
|
38999
39485
|
userId?: string | undefined;
|
|
39486
|
+
type?: string | undefined;
|
|
39000
39487
|
conversationId?: string | undefined;
|
|
39001
39488
|
workflowId?: string | undefined;
|
|
39002
39489
|
messageId?: string | undefined;
|
|
39490
|
+
status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
|
|
39003
39491
|
}) => AsyncCollection<{
|
|
39004
39492
|
id: string;
|
|
39005
39493
|
createdAt: string;
|
|
@@ -39065,7 +39553,6 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39065
39553
|
};
|
|
39066
39554
|
}>;
|
|
39067
39555
|
publicIntegrations: (props: {
|
|
39068
|
-
search?: string | undefined;
|
|
39069
39556
|
pageSize?: number | undefined;
|
|
39070
39557
|
name?: string | undefined;
|
|
39071
39558
|
limit?: number | undefined;
|
|
@@ -39074,6 +39561,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39074
39561
|
interfaceName?: string | undefined;
|
|
39075
39562
|
installedByBotId?: string | undefined;
|
|
39076
39563
|
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
|
|
39564
|
+
search?: string | undefined;
|
|
39077
39565
|
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
|
|
39078
39566
|
direction?: "asc" | "desc" | undefined;
|
|
39079
39567
|
}) => AsyncCollection<{
|
|
@@ -39155,15 +39643,14 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39155
39643
|
handle?: string | undefined;
|
|
39156
39644
|
}) => AsyncCollection<UpdateWorkspaceResponse>;
|
|
39157
39645
|
publicWorkspaces: (props: {
|
|
39158
|
-
search?: string | undefined;
|
|
39159
39646
|
pageSize?: number | undefined;
|
|
39647
|
+
search?: string | undefined;
|
|
39160
39648
|
workspaceIds?: string[] | undefined;
|
|
39161
39649
|
}) => AsyncCollection<GetPublicWorkspaceResponse>;
|
|
39162
39650
|
workspaceMembers: (props: {
|
|
39163
39651
|
pageSize?: number | undefined;
|
|
39164
39652
|
}) => AsyncCollection<UpdateWorkspaceMemberResponse$1>;
|
|
39165
39653
|
integrations: (props: {
|
|
39166
|
-
search?: string | undefined;
|
|
39167
39654
|
pageSize?: number | undefined;
|
|
39168
39655
|
name?: string | undefined;
|
|
39169
39656
|
limit?: number | undefined;
|
|
@@ -39172,6 +39659,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39172
39659
|
interfaceName?: string | undefined;
|
|
39173
39660
|
installedByBotId?: string | undefined;
|
|
39174
39661
|
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
|
|
39662
|
+
search?: string | undefined;
|
|
39175
39663
|
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
|
|
39176
39664
|
direction?: "asc" | "desc" | undefined;
|
|
39177
39665
|
dev?: boolean | undefined;
|
|
@@ -39250,7 +39738,6 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39250
39738
|
title: string;
|
|
39251
39739
|
description: string;
|
|
39252
39740
|
iconUrl: string;
|
|
39253
|
-
readmeUrl: string;
|
|
39254
39741
|
public: boolean;
|
|
39255
39742
|
visibility: "public" | "private" | "unlisted";
|
|
39256
39743
|
lifecycleStatus: "published" | "deprecated";
|
|
@@ -39268,14 +39755,13 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39268
39755
|
title: string;
|
|
39269
39756
|
description: string;
|
|
39270
39757
|
iconUrl: string;
|
|
39271
|
-
readmeUrl: string;
|
|
39272
39758
|
public: boolean;
|
|
39273
39759
|
visibility: "public" | "private" | "unlisted";
|
|
39274
39760
|
lifecycleStatus: "published" | "deprecated";
|
|
39275
39761
|
}>;
|
|
39276
39762
|
activities: (props: {
|
|
39277
|
-
botId: string;
|
|
39278
39763
|
pageSize?: number | undefined;
|
|
39764
|
+
botId: string;
|
|
39279
39765
|
taskId: string;
|
|
39280
39766
|
}) => AsyncCollection<{
|
|
39281
39767
|
id: string;
|
|
@@ -39350,15 +39836,16 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39350
39836
|
}) => AsyncCollection<{
|
|
39351
39837
|
id: string;
|
|
39352
39838
|
name: string;
|
|
39839
|
+
description?: string;
|
|
39353
39840
|
createdAt: string;
|
|
39354
39841
|
tags: {
|
|
39355
39842
|
[k: string]: string;
|
|
39356
39843
|
};
|
|
39357
39844
|
}>;
|
|
39358
39845
|
usageActivity: (props: {
|
|
39359
|
-
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
|
|
39360
39846
|
id: string;
|
|
39361
39847
|
pageSize?: number | undefined;
|
|
39848
|
+
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
|
|
39362
39849
|
timestampFrom?: string | undefined;
|
|
39363
39850
|
timestampUntil?: string | undefined;
|
|
39364
39851
|
}) => AsyncCollection<{
|
|
@@ -39370,9 +39857,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39370
39857
|
};
|
|
39371
39858
|
}>;
|
|
39372
39859
|
usageActivityDaily: (props: {
|
|
39373
|
-
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
|
|
39374
39860
|
id: string;
|
|
39375
39861
|
pageSize?: number | undefined;
|
|
39862
|
+
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
|
|
39376
39863
|
dateFrom?: string | undefined;
|
|
39377
39864
|
dateUntil?: string | undefined;
|
|
39378
39865
|
}) => AsyncCollection<{
|
|
@@ -39395,7 +39882,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
39395
39882
|
conversationId?: string | undefined;
|
|
39396
39883
|
name?: string | undefined;
|
|
39397
39884
|
parentWorkflowId?: string | undefined;
|
|
39398
|
-
statuses?: ("pending" | "failed" | "in_progress" | "
|
|
39885
|
+
statuses?: ("pending" | "failed" | "in_progress" | "completed" | "listening" | "paused" | "timedout" | "cancelled")[] | undefined;
|
|
39399
39886
|
}) => AsyncCollection<{
|
|
39400
39887
|
id: string;
|
|
39401
39888
|
name: string;
|
|
@@ -39660,4 +40147,5 @@ declare class UploadFileError extends Error {
|
|
|
39660
40147
|
constructor(message: string, innerError?: AxiosError | undefined, file?: UpsertFileResponse["file"] | undefined);
|
|
39661
40148
|
}
|
|
39662
40149
|
|
|
39663
|
-
export {
|
|
40150
|
+
export { AlreadyExistsError, BreakingChangesError, Client, ForbiddenError, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, LimitExceededError, MethodNotFoundError, OperationTimeoutError, PayloadTooLargeError, PaymentRequiredError, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceGoneError, ResourceLockedConflictError, ResourceNotFoundError, RuntimeError, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, index$3 as admin, index$2 as billing, errorFrom, index$1 as files, isApiError, index$4 as runtime, index as tables };
|
|
40151
|
+
export type { Account, Activity, ApiError, Bot, ClientConfig, ClientInputs, ClientOutputs, ClientProps, Column, Conversation, ErrorType, Event, File, Headers, Integration, Interface, Issue, IssueEvent, Message, Operation, Plugin, RetryConfig, Row, State, Table, Usage, User, Version, Workflow, Workspace, WorkspaceMember };
|