@botpress/client 0.6.4 → 0.8.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/gen/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Botpress API
3
3
  * API for Botpress Cloud
4
4
  *
5
- * The version of the OpenAPI document: 0.12.6
5
+ * The version of the OpenAPI document: 0.14.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,6 +38,32 @@ export interface Account {
38
38
  */
39
39
  'createdAt': string;
40
40
  }
41
+ /**
42
+ *
43
+ * @export
44
+ * @interface AddParticipantBody
45
+ */
46
+ export interface AddParticipantBody {
47
+ /**
48
+ * User id
49
+ * @type {string}
50
+ * @memberof AddParticipantBody
51
+ */
52
+ 'userId': string;
53
+ }
54
+ /**
55
+ *
56
+ * @export
57
+ * @interface AddParticipantResponse
58
+ */
59
+ export interface AddParticipantResponse {
60
+ /**
61
+ *
62
+ * @type {User}
63
+ * @memberof AddParticipantResponse
64
+ */
65
+ 'participant': User;
66
+ }
41
67
  /**
42
68
  *
43
69
  * @export
@@ -45,7 +71,7 @@ export interface Account {
45
71
  */
46
72
  export interface Bot {
47
73
  /**
48
- * Id of the [Bot](#schema_bot)
74
+ * ID of the [Conversation](#schema_conversation)
49
75
  * @type {string}
50
76
  * @memberof Bot
51
77
  */
@@ -118,11 +144,11 @@ export interface Bot {
118
144
  };
119
145
  /**
120
146
  * Recurring events
121
- * @type {{ [key: string]: CreateBotBodyRecurringEventsValue; }}
147
+ * @type {{ [key: string]: BotRecurringEventsValue; }}
122
148
  * @memberof Bot
123
149
  */
124
150
  'recurringEvents': {
125
- [key: string]: CreateBotBodyRecurringEventsValue;
151
+ [key: string]: BotRecurringEventsValue;
126
152
  };
127
153
  /**
128
154
  * Name of the [Bot](#schema_bot)
@@ -206,31 +232,31 @@ export interface BotIntegrationsValue {
206
232
  */
207
233
  'enabled': boolean;
208
234
  /**
209
- * Name of the [Integration](#schema_integration)
235
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
210
236
  * @type {string}
211
237
  * @memberof BotIntegrationsValue
212
238
  */
213
239
  'name': string;
214
240
  /**
215
- * Version of the [Integration](#schema_integration)
241
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
216
242
  * @type {string}
217
243
  * @memberof BotIntegrationsValue
218
244
  */
219
245
  'version': string;
220
246
  /**
221
- *
247
+ * Signing secret of the [Bot](#schema_bot)
222
248
  * @type {string}
223
249
  * @memberof BotIntegrationsValue
224
250
  */
225
251
  'webhookUrl': string;
226
252
  /**
227
- *
253
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
228
254
  * @type {string}
229
255
  * @memberof BotIntegrationsValue
230
256
  */
231
257
  'webhookId': string;
232
258
  /**
233
- *
259
+ * Signing secret of the [Bot](#schema_bot)
234
260
  * @type {string}
235
261
  * @memberof BotIntegrationsValue
236
262
  */
@@ -250,13 +276,13 @@ export interface BotIntegrationsValue {
250
276
  */
251
277
  'status': BotIntegrationsValueStatusEnum;
252
278
  /**
253
- *
279
+ * Signing secret of the [Bot](#schema_bot)
254
280
  * @type {string}
255
281
  * @memberof BotIntegrationsValue
256
282
  */
257
283
  'statusReason': string | null;
258
284
  /**
259
- * ID of the [Integration](#schema_integration)
285
+ * ID of the [Conversation](#schema_conversation)
260
286
  * @type {string}
261
287
  * @memberof BotIntegrationsValue
262
288
  */
@@ -335,6 +361,46 @@ export interface BotMessage {
335
361
  [key: string]: CreateBotBodyUserTagsValue;
336
362
  };
337
363
  }
364
+ /**
365
+ *
366
+ * @export
367
+ * @interface BotRecurringEventsValue
368
+ */
369
+ export interface BotRecurringEventsValue {
370
+ /**
371
+ *
372
+ * @type {BotRecurringEventsValueSchedule}
373
+ * @memberof BotRecurringEventsValue
374
+ */
375
+ 'schedule': BotRecurringEventsValueSchedule;
376
+ /**
377
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
378
+ * @type {string}
379
+ * @memberof BotRecurringEventsValue
380
+ */
381
+ 'type': string;
382
+ /**
383
+ *
384
+ * @type {{ [key: string]: any; }}
385
+ * @memberof BotRecurringEventsValue
386
+ */
387
+ 'payload': {
388
+ [key: string]: any;
389
+ };
390
+ }
391
+ /**
392
+ *
393
+ * @export
394
+ * @interface BotRecurringEventsValueSchedule
395
+ */
396
+ export interface BotRecurringEventsValueSchedule {
397
+ /**
398
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
399
+ * @type {string}
400
+ * @memberof BotRecurringEventsValueSchedule
401
+ */
402
+ 'cron': string;
403
+ }
338
404
  /**
339
405
  * User object configuration
340
406
  * @export
@@ -357,7 +423,7 @@ export interface BotUser {
357
423
  */
358
424
  export interface CallActionBody {
359
425
  /**
360
- * Type of the action
426
+ * Unique identifier of the integration that was installed on the bot
361
427
  * @type {string}
362
428
  * @memberof CallActionBody
363
429
  */
@@ -578,7 +644,7 @@ export interface ConfigureIntegrationBody {
578
644
  */
579
645
  export interface Conversation {
580
646
  /**
581
- * Id of the [Conversation](#schema_conversation)
647
+ * ID of the [Conversation](#schema_conversation)
582
648
  * @type {string}
583
649
  * @memberof Conversation
584
650
  */
@@ -783,7 +849,7 @@ export interface CreateBotBodyRecurringEventsValue {
783
849
  */
784
850
  'schedule': CreateBotBodyRecurringEventsValueSchedule;
785
851
  /**
786
- *
852
+ * Unique identifier of the integration that was installed on the bot
787
853
  * @type {string}
788
854
  * @memberof CreateBotBodyRecurringEventsValue
789
855
  */
@@ -804,7 +870,7 @@ export interface CreateBotBodyRecurringEventsValue {
804
870
  */
805
871
  export interface CreateBotBodyRecurringEventsValueSchedule {
806
872
  /**
807
- *
873
+ * Unique identifier of the integration that was installed on the bot
808
874
  * @type {string}
809
875
  * @memberof CreateBotBodyRecurringEventsValueSchedule
810
876
  */
@@ -897,7 +963,7 @@ export interface CreateBotResponse {
897
963
  */
898
964
  export interface CreateConversationBody {
899
965
  /**
900
- * Channel name
966
+ * Unique identifier of the integration that was installed on the bot
901
967
  * @type {string}
902
968
  * @memberof CreateConversationBody
903
969
  */
@@ -911,7 +977,7 @@ export interface CreateConversationBody {
911
977
  [key: string]: string;
912
978
  };
913
979
  /**
914
- * Name of the integration to which the conversation creation will be delegated
980
+ * [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
915
981
  * @type {string}
916
982
  * @memberof CreateConversationBody
917
983
  */
@@ -937,7 +1003,7 @@ export interface CreateConversationResponse {
937
1003
  */
938
1004
  export interface CreateEventBody {
939
1005
  /**
940
- * Type of the [Event](#schema_event).
1006
+ * Unique identifier of the integration that was installed on the bot
941
1007
  * @type {string}
942
1008
  * @memberof CreateEventBody
943
1009
  */
@@ -1063,13 +1129,13 @@ export interface CreateFileResponse {
1063
1129
  */
1064
1130
  export interface CreateIntegrationBody {
1065
1131
  /**
1066
- * Name of the [Integration](#schema_integration)
1132
+ * Unique identifier of the integration that was installed on the bot
1067
1133
  * @type {string}
1068
1134
  * @memberof CreateIntegrationBody
1069
1135
  */
1070
1136
  'name': string;
1071
1137
  /**
1072
- * Version of the [Integration](#schema_integration)
1138
+ * Unique identifier of the integration that was installed on the bot
1073
1139
  * @type {string}
1074
1140
  * @memberof CreateIntegrationBody
1075
1141
  */
@@ -1341,7 +1407,7 @@ export interface CreateIntegrationBodyConfigurationIdentifier {
1341
1407
  */
1342
1408
  'required'?: boolean;
1343
1409
  /**
1344
- *
1410
+ * Signing secret of the [Bot](#schema_bot)
1345
1411
  * @type {string}
1346
1412
  * @memberof CreateIntegrationBodyConfigurationIdentifier
1347
1413
  */
@@ -1354,13 +1420,13 @@ export interface CreateIntegrationBodyConfigurationIdentifier {
1354
1420
  */
1355
1421
  export interface CreateIntegrationBodyIdentifier {
1356
1422
  /**
1357
- *
1423
+ * Signing secret of the [Bot](#schema_bot)
1358
1424
  * @type {string}
1359
1425
  * @memberof CreateIntegrationBodyIdentifier
1360
1426
  */
1361
1427
  'fallbackHandlerScript'?: string;
1362
1428
  /**
1363
- *
1429
+ * Signing secret of the [Bot](#schema_bot)
1364
1430
  * @type {string}
1365
1431
  * @memberof CreateIntegrationBodyIdentifier
1366
1432
  */
@@ -1461,19 +1527,19 @@ export interface CreateMessageBody {
1461
1527
  [key: string]: any;
1462
1528
  };
1463
1529
  /**
1464
- * ID of the [User](#schema_user)
1530
+ * User id
1465
1531
  * @type {string}
1466
1532
  * @memberof CreateMessageBody
1467
1533
  */
1468
1534
  'userId': string;
1469
1535
  /**
1470
- * ID of the [Conversation](#schema_conversation)
1536
+ * User id
1471
1537
  * @type {string}
1472
1538
  * @memberof CreateMessageBody
1473
1539
  */
1474
1540
  'conversationId': string;
1475
1541
  /**
1476
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
1542
+ * Unique identifier of the integration that was installed on the bot
1477
1543
  * @type {string}
1478
1544
  * @memberof CreateMessageBody
1479
1545
  */
@@ -1500,7 +1566,7 @@ export interface CreateMessageBody {
1500
1566
  */
1501
1567
  export interface CreateMessageBodySchedule {
1502
1568
  /**
1503
- * When the [Message](#schema_message) will be sent, in the ISO 8601 format
1569
+ * When the [Event](#schema_event) will be sent, in the ISO 8601 format
1504
1570
  * @type {string}
1505
1571
  * @memberof CreateMessageBodySchedule
1506
1572
  */
@@ -1597,7 +1663,7 @@ export interface CreateUserBody {
1597
1663
  [key: string]: string;
1598
1664
  };
1599
1665
  /**
1600
- * Name of the integration to which the user creation will be delegated
1666
+ * [DEPRECATED] To create a user from within a bot, call an action of the integration instead.
1601
1667
  * @type {string}
1602
1668
  * @memberof CreateUserBody
1603
1669
  */
@@ -1609,7 +1675,7 @@ export interface CreateUserBody {
1609
1675
  */
1610
1676
  'name'?: string;
1611
1677
  /**
1612
- * URL of the user picture
1678
+ * URI of the user picture
1613
1679
  * @type {string}
1614
1680
  * @memberof CreateUserBody
1615
1681
  */
@@ -1794,7 +1860,7 @@ export type CreateWorkspaceResponsePlanEnum = typeof CreateWorkspaceResponsePlan
1794
1860
  */
1795
1861
  export interface Event {
1796
1862
  /**
1797
- * Id of the [Event](#schema_event)
1863
+ * ID of the [Conversation](#schema_conversation)
1798
1864
  * @type {string}
1799
1865
  * @memberof Event
1800
1866
  */
@@ -1806,7 +1872,7 @@ export interface Event {
1806
1872
  */
1807
1873
  'createdAt': string;
1808
1874
  /**
1809
- * Type of the [Event](#schema_event).
1875
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
1810
1876
  * @type {string}
1811
1877
  * @memberof Event
1812
1878
  */
@@ -2222,7 +2288,7 @@ export interface GetMessageResponse {
2222
2288
  */
2223
2289
  export interface GetOrCreateConversationBody {
2224
2290
  /**
2225
- * Channel name
2291
+ * Unique identifier of the integration that was installed on the bot
2226
2292
  * @type {string}
2227
2293
  * @memberof GetOrCreateConversationBody
2228
2294
  */
@@ -2236,7 +2302,7 @@ export interface GetOrCreateConversationBody {
2236
2302
  [key: string]: string;
2237
2303
  };
2238
2304
  /**
2239
- * Name of the integration to which the conversation creation will be delegated
2305
+ * [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
2240
2306
  * @type {string}
2241
2307
  * @memberof GetOrCreateConversationBody
2242
2308
  */
@@ -2270,19 +2336,19 @@ export interface GetOrCreateMessageBody {
2270
2336
  [key: string]: any;
2271
2337
  };
2272
2338
  /**
2273
- * ID of the [User](#schema_user)
2339
+ * User id
2274
2340
  * @type {string}
2275
2341
  * @memberof GetOrCreateMessageBody
2276
2342
  */
2277
2343
  'userId': string;
2278
2344
  /**
2279
- * ID of the [Conversation](#schema_conversation)
2345
+ * User id
2280
2346
  * @type {string}
2281
2347
  * @memberof GetOrCreateMessageBody
2282
2348
  */
2283
2349
  'conversationId': string;
2284
2350
  /**
2285
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
2351
+ * Unique identifier of the integration that was installed on the bot
2286
2352
  * @type {string}
2287
2353
  * @memberof GetOrCreateMessageBody
2288
2354
  */
@@ -2330,7 +2396,7 @@ export interface GetOrCreateUserBody {
2330
2396
  [key: string]: string;
2331
2397
  };
2332
2398
  /**
2333
- * Name of the integration to which the user creation will be delegated
2399
+ * [DEPRECATED] To create a user from within a bot, call an action of the integration instead.
2334
2400
  * @type {string}
2335
2401
  * @memberof GetOrCreateUserBody
2336
2402
  */
@@ -2342,7 +2408,7 @@ export interface GetOrCreateUserBody {
2342
2408
  */
2343
2409
  'name'?: string;
2344
2410
  /**
2345
- * URL of the user picture
2411
+ * URI of the user picture
2346
2412
  * @type {string}
2347
2413
  * @memberof GetOrCreateUserBody
2348
2414
  */
@@ -2361,6 +2427,19 @@ export interface GetOrCreateUserResponse {
2361
2427
  */
2362
2428
  'user': User;
2363
2429
  }
2430
+ /**
2431
+ *
2432
+ * @export
2433
+ * @interface GetParticipantResponse
2434
+ */
2435
+ export interface GetParticipantResponse {
2436
+ /**
2437
+ *
2438
+ * @type {User}
2439
+ * @memberof GetParticipantResponse
2440
+ */
2441
+ 'participant': User;
2442
+ }
2364
2443
  /**
2365
2444
  *
2366
2445
  * @export
@@ -2588,13 +2667,12 @@ export declare const GetWorkspaceQuotaResponseQuotaTypeEnum: {
2588
2667
  readonly InvocationCalls: "invocation_calls";
2589
2668
  readonly StorageCount: "storage_count";
2590
2669
  readonly BotCount: "bot_count";
2591
- readonly KnowledgebaseVectorCount: "knowledgebase_vector_count";
2592
- readonly BotRatelimit: "bot_ratelimit";
2670
+ readonly KnowledgebaseVectorStorage: "knowledgebase_vector_storage";
2671
+ readonly WorkspaceRatelimit: "workspace_ratelimit";
2593
2672
  readonly TableRowCount: "table_row_count";
2594
2673
  readonly WorkspaceMemberCount: "workspace_member_count";
2595
2674
  readonly IntegrationsOwnedCount: "integrations_owned_count";
2596
- readonly CognitiveCalls: "cognitive_calls";
2597
- readonly ModelCredit: "model_credit";
2675
+ readonly AiSpend: "ai_spend";
2598
2676
  };
2599
2677
  export type GetWorkspaceQuotaResponseQuotaTypeEnum = typeof GetWorkspaceQuotaResponseQuotaTypeEnum[keyof typeof GetWorkspaceQuotaResponseQuotaTypeEnum];
2600
2678
  /**
@@ -2682,7 +2760,7 @@ export type GetWorkspaceResponsePlanEnum = typeof GetWorkspaceResponsePlanEnum[k
2682
2760
  */
2683
2761
  export interface Integration {
2684
2762
  /**
2685
- * ID of the [Integration](#schema_integration)
2763
+ * ID of the [Conversation](#schema_conversation)
2686
2764
  * @type {string}
2687
2765
  * @memberof Integration
2688
2766
  */
@@ -2706,13 +2784,13 @@ export interface Integration {
2706
2784
  */
2707
2785
  'identifier': IntegrationIdentifier;
2708
2786
  /**
2709
- * Name of the [Integration](#schema_integration)
2787
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
2710
2788
  * @type {string}
2711
2789
  * @memberof Integration
2712
2790
  */
2713
2791
  'name': string;
2714
2792
  /**
2715
- * Version of the [Integration](#schema_integration)
2793
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
2716
2794
  * @type {string}
2717
2795
  * @memberof Integration
2718
2796
  */
@@ -2880,7 +2958,7 @@ export interface IntegrationConfiguration {
2880
2958
  */
2881
2959
  export interface IntegrationConfigurationIdentifier {
2882
2960
  /**
2883
- *
2961
+ * Signing secret of the [Bot](#schema_bot)
2884
2962
  * @type {string}
2885
2963
  * @memberof IntegrationConfigurationIdentifier
2886
2964
  */
@@ -3272,7 +3350,7 @@ export interface ListBotsResponse {
3272
3350
  */
3273
3351
  export interface ListBotsResponseBotsInner {
3274
3352
  /**
3275
- * Id of the [Bot](#schema_bot)
3353
+ * User id
3276
3354
  * @type {string}
3277
3355
  * @memberof ListBotsResponseBotsInner
3278
3356
  */
@@ -3410,6 +3488,25 @@ export interface ListMessagesResponse {
3410
3488
  */
3411
3489
  'meta': ListConversationsResponseMeta;
3412
3490
  }
3491
+ /**
3492
+ *
3493
+ * @export
3494
+ * @interface ListParticipantsResponse
3495
+ */
3496
+ export interface ListParticipantsResponse {
3497
+ /**
3498
+ *
3499
+ * @type {Array<User>}
3500
+ * @memberof ListParticipantsResponse
3501
+ */
3502
+ 'participants': Array<User>;
3503
+ /**
3504
+ *
3505
+ * @type {ListConversationsResponseMeta}
3506
+ * @memberof ListParticipantsResponse
3507
+ */
3508
+ 'meta': ListConversationsResponseMeta;
3509
+ }
3413
3510
  /**
3414
3511
  *
3415
3512
  * @export
@@ -3474,19 +3571,19 @@ export interface ListPublicIntegrationsResponse {
3474
3571
  */
3475
3572
  export interface ListPublicIntegrationsResponseIntegrationsInner {
3476
3573
  /**
3477
- * ID of the [Integration](#schema_integration)
3574
+ * User id
3478
3575
  * @type {string}
3479
3576
  * @memberof ListPublicIntegrationsResponseIntegrationsInner
3480
3577
  */
3481
3578
  'id': string;
3482
3579
  /**
3483
- * Name of the [Integration](#schema_integration)
3580
+ * Unique identifier of the integration that was installed on the bot
3484
3581
  * @type {string}
3485
3582
  * @memberof ListPublicIntegrationsResponseIntegrationsInner
3486
3583
  */
3487
3584
  'name': string;
3488
3585
  /**
3489
- * Version of the [Integration](#schema_integration)
3586
+ * Unique identifier of the integration that was installed on the bot
3490
3587
  * @type {string}
3491
3588
  * @memberof ListPublicIntegrationsResponseIntegrationsInner
3492
3589
  */
@@ -3754,13 +3851,12 @@ export declare const ListWorkspaceQuotasResponseQuotasInnerTypeEnum: {
3754
3851
  readonly InvocationCalls: "invocation_calls";
3755
3852
  readonly StorageCount: "storage_count";
3756
3853
  readonly BotCount: "bot_count";
3757
- readonly KnowledgebaseVectorCount: "knowledgebase_vector_count";
3758
- readonly BotRatelimit: "bot_ratelimit";
3854
+ readonly KnowledgebaseVectorStorage: "knowledgebase_vector_storage";
3855
+ readonly WorkspaceRatelimit: "workspace_ratelimit";
3759
3856
  readonly TableRowCount: "table_row_count";
3760
3857
  readonly WorkspaceMemberCount: "workspace_member_count";
3761
3858
  readonly IntegrationsOwnedCount: "integrations_owned_count";
3762
- readonly CognitiveCalls: "cognitive_calls";
3763
- readonly ModelCredit: "model_credit";
3859
+ readonly AiSpend: "ai_spend";
3764
3860
  };
3765
3861
  export type ListWorkspaceQuotasResponseQuotasInnerTypeEnum = typeof ListWorkspaceQuotasResponseQuotasInnerTypeEnum[keyof typeof ListWorkspaceQuotasResponseQuotasInnerTypeEnum];
3766
3862
  /**
@@ -3802,7 +3898,7 @@ export interface ListWorkspacesResponse {
3802
3898
  */
3803
3899
  export interface Message {
3804
3900
  /**
3805
- * Id of the [Message](#schema_message)
3901
+ * ID of the [Conversation](#schema_conversation)
3806
3902
  * @type {string}
3807
3903
  * @memberof Message
3808
3904
  */
@@ -3834,7 +3930,7 @@ export interface Message {
3834
3930
  */
3835
3931
  'direction': MessageDirectionEnum;
3836
3932
  /**
3837
- * ID of the [User](#schema_user)
3933
+ * ID of the [Conversation](#schema_conversation)
3838
3934
  * @type {string}
3839
3935
  * @memberof Message
3840
3936
  */
@@ -4048,7 +4144,7 @@ export interface SetWorkspacePaymentMethodResponseNextAction {
4048
4144
  */
4049
4145
  export interface State {
4050
4146
  /**
4051
- * Id of the [State](#schema_state)
4147
+ * ID of the [Conversation](#schema_conversation)
4052
4148
  * @type {string}
4053
4149
  * @memberof State
4054
4150
  */
@@ -4066,7 +4162,7 @@ export interface State {
4066
4162
  */
4067
4163
  'updatedAt': string;
4068
4164
  /**
4069
- * Id of the [Bot](#schema_bot)
4165
+ * ID of the [Conversation](#schema_conversation)
4070
4166
  * @type {string}
4071
4167
  * @memberof State
4072
4168
  */
@@ -4084,7 +4180,7 @@ export interface State {
4084
4180
  */
4085
4181
  'userId'?: string;
4086
4182
  /**
4087
- * Name of the [State](#schema_state) which is declared inside the bot definition
4183
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
4088
4184
  * @type {string}
4089
4185
  * @memberof State
4090
4186
  */
@@ -4288,7 +4384,7 @@ export interface UpdateBotBodyRecurringEventsValue {
4288
4384
  */
4289
4385
  'schedule': CreateBotBodyRecurringEventsValueSchedule;
4290
4386
  /**
4291
- *
4387
+ * Unique identifier of the integration that was installed on the bot
4292
4388
  * @type {string}
4293
4389
  * @memberof UpdateBotBodyRecurringEventsValue
4294
4390
  */
@@ -4637,7 +4733,7 @@ export interface UpdateIntegrationBodyConfiguration {
4637
4733
  */
4638
4734
  export interface UpdateIntegrationBodyConfigurationIdentifier {
4639
4735
  /**
4640
- *
4736
+ * Signing secret of the [Bot](#schema_bot)
4641
4737
  * @type {string}
4642
4738
  * @memberof UpdateIntegrationBodyConfigurationIdentifier
4643
4739
  */
@@ -4656,13 +4752,13 @@ export interface UpdateIntegrationBodyConfigurationIdentifier {
4656
4752
  */
4657
4753
  export interface UpdateIntegrationBodyIdentifier {
4658
4754
  /**
4659
- *
4755
+ * Signing secret of the [Bot](#schema_bot)
4660
4756
  * @type {string}
4661
4757
  * @memberof UpdateIntegrationBodyIdentifier
4662
4758
  */
4663
4759
  'extractScript'?: string | null;
4664
4760
  /**
4665
- *
4761
+ * Signing secret of the [Bot](#schema_bot)
4666
4762
  * @type {string}
4667
4763
  * @memberof UpdateIntegrationBodyIdentifier
4668
4764
  */
@@ -4768,7 +4864,7 @@ export interface UpdateUserBody {
4768
4864
  * @type {{ [key: string]: string; }}
4769
4865
  * @memberof UpdateUserBody
4770
4866
  */
4771
- 'tags': {
4867
+ 'tags'?: {
4772
4868
  [key: string]: string;
4773
4869
  };
4774
4870
  /**
@@ -4776,9 +4872,9 @@ export interface UpdateUserBody {
4776
4872
  * @type {string}
4777
4873
  * @memberof UpdateUserBody
4778
4874
  */
4779
- 'name'?: string | null;
4875
+ 'name'?: string;
4780
4876
  /**
4781
- * URL of the user picture
4877
+ * URI of the user picture
4782
4878
  * @type {string}
4783
4879
  * @memberof UpdateUserBody
4784
4880
  */
@@ -5076,13 +5172,12 @@ export declare const UsageTypeEnum: {
5076
5172
  readonly InvocationCalls: "invocation_calls";
5077
5173
  readonly StorageCount: "storage_count";
5078
5174
  readonly BotCount: "bot_count";
5079
- readonly KnowledgebaseVectorCount: "knowledgebase_vector_count";
5080
- readonly BotRatelimit: "bot_ratelimit";
5175
+ readonly KnowledgebaseVectorStorage: "knowledgebase_vector_storage";
5176
+ readonly WorkspaceRatelimit: "workspace_ratelimit";
5081
5177
  readonly TableRowCount: "table_row_count";
5082
5178
  readonly WorkspaceMemberCount: "workspace_member_count";
5083
5179
  readonly IntegrationsOwnedCount: "integrations_owned_count";
5084
- readonly CognitiveCalls: "cognitive_calls";
5085
- readonly ModelCredit: "model_credit";
5180
+ readonly AiSpend: "ai_spend";
5086
5181
  };
5087
5182
  export type UsageTypeEnum = typeof UsageTypeEnum[keyof typeof UsageTypeEnum];
5088
5183
  /**
@@ -5092,7 +5187,7 @@ export type UsageTypeEnum = typeof UsageTypeEnum[keyof typeof UsageTypeEnum];
5092
5187
  */
5093
5188
  export interface User {
5094
5189
  /**
5095
- * Id of the [User](#schema_user)
5190
+ * ID of the [Conversation](#schema_conversation)
5096
5191
  * @type {string}
5097
5192
  * @memberof User
5098
5193
  */
@@ -5253,6 +5348,14 @@ export type WorkspaceMemberRoleEnum = typeof WorkspaceMemberRoleEnum[keyof typeo
5253
5348
  * @export
5254
5349
  */
5255
5350
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
5351
+ /**
5352
+ * Add a [Participant](#schema_participant) to a [Conversation](#schema_conversation).
5353
+ * @param {string} id Conversation id
5354
+ * @param {AddParticipantBody} [addParticipantBody] Participant data
5355
+ * @param {*} [options] Override http request option.
5356
+ * @throws {RequiredError}
5357
+ */
5358
+ addParticipant: (id: string, addParticipantBody?: AddParticipantBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5256
5359
  /**
5257
5360
  * Call an action
5258
5361
  * @param {CallActionBody} [callActionBody] Action payload
@@ -5553,6 +5656,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5553
5656
  * @throws {RequiredError}
5554
5657
  */
5555
5658
  getOrCreateUser: (getOrCreateUserBody?: GetOrCreateUserBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5659
+ /**
5660
+ * Retrieves a [Participant](#schema_participant) from a [Conversation](#schema_conversation).
5661
+ * @param {string} id Conversation id
5662
+ * @param {string} userId User id
5663
+ * @param {*} [options] Override http request option.
5664
+ * @throws {RequiredError}
5665
+ */
5666
+ getParticipant: (id: string, userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5556
5667
  /**
5557
5668
  * Get public integration by name and version
5558
5669
  * @param {string} name Integration Name
@@ -5696,6 +5807,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5696
5807
  listMessages: (nextToken?: string, conversationId?: string, tags?: {
5697
5808
  [key: string]: string;
5698
5809
  } | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5810
+ /**
5811
+ * Retrieves a list of [Participant](#schema_participant) for a given [Conversation](#schema_conversation).
5812
+ * @param {string} id Conversation id
5813
+ * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
5814
+ * @param {*} [options] Override http request option.
5815
+ * @throws {RequiredError}
5816
+ */
5817
+ listParticipants: (id: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5699
5818
  /**
5700
5819
  * List PATs (Personal Access Tokens) of account.
5701
5820
  * @param {*} [options] Override http request option.
@@ -5778,6 +5897,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5778
5897
  * @throws {RequiredError}
5779
5898
  */
5780
5899
  patchState: (type: PatchStateTypeEnum, id: string, name: string, patchStateBody?: PatchStateBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5900
+ /**
5901
+ * Remove a [Participant](#schema_participant) from a [Conversation](#schema_conversation).
5902
+ * @param {string} id Conversation id
5903
+ * @param {string} userId User id
5904
+ * @param {*} [options] Override http request option.
5905
+ * @throws {RequiredError}
5906
+ */
5907
+ removeParticipant: (id: string, userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5781
5908
  /**
5782
5909
  * Overrides the [State](#schema_state) object by setting the values of the parameters passed.
5783
5910
  * @param {SetStateTypeEnum} type State type
@@ -5866,6 +5993,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5866
5993
  * @export
5867
5994
  */
5868
5995
  export declare const DefaultApiFp: (configuration?: Configuration) => {
5996
+ /**
5997
+ * Add a [Participant](#schema_participant) to a [Conversation](#schema_conversation).
5998
+ * @param {string} id Conversation id
5999
+ * @param {AddParticipantBody} [addParticipantBody] Participant data
6000
+ * @param {*} [options] Override http request option.
6001
+ * @throws {RequiredError}
6002
+ */
6003
+ addParticipant(id: string, addParticipantBody?: AddParticipantBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddParticipantResponse>>;
5869
6004
  /**
5870
6005
  * Call an action
5871
6006
  * @param {CallActionBody} [callActionBody] Action payload
@@ -6166,6 +6301,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6166
6301
  * @throws {RequiredError}
6167
6302
  */
6168
6303
  getOrCreateUser(getOrCreateUserBody?: GetOrCreateUserBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrCreateUserResponse>>;
6304
+ /**
6305
+ * Retrieves a [Participant](#schema_participant) from a [Conversation](#schema_conversation).
6306
+ * @param {string} id Conversation id
6307
+ * @param {string} userId User id
6308
+ * @param {*} [options] Override http request option.
6309
+ * @throws {RequiredError}
6310
+ */
6311
+ getParticipant(id: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetParticipantResponse>>;
6169
6312
  /**
6170
6313
  * Get public integration by name and version
6171
6314
  * @param {string} name Integration Name
@@ -6309,6 +6452,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6309
6452
  listMessages(nextToken?: string, conversationId?: string, tags?: {
6310
6453
  [key: string]: string;
6311
6454
  } | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListMessagesResponse>>;
6455
+ /**
6456
+ * Retrieves a list of [Participant](#schema_participant) for a given [Conversation](#schema_conversation).
6457
+ * @param {string} id Conversation id
6458
+ * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
6459
+ * @param {*} [options] Override http request option.
6460
+ * @throws {RequiredError}
6461
+ */
6462
+ listParticipants(id: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListParticipantsResponse>>;
6312
6463
  /**
6313
6464
  * List PATs (Personal Access Tokens) of account.
6314
6465
  * @param {*} [options] Override http request option.
@@ -6391,6 +6542,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6391
6542
  * @throws {RequiredError}
6392
6543
  */
6393
6544
  patchState(type: PatchStateTypeEnum, id: string, name: string, patchStateBody?: PatchStateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStateResponse>>;
6545
+ /**
6546
+ * Remove a [Participant](#schema_participant) from a [Conversation](#schema_conversation).
6547
+ * @param {string} id Conversation id
6548
+ * @param {string} userId User id
6549
+ * @param {*} [options] Override http request option.
6550
+ * @throws {RequiredError}
6551
+ */
6552
+ removeParticipant(id: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
6394
6553
  /**
6395
6554
  * Overrides the [State](#schema_state) object by setting the values of the parameters passed.
6396
6555
  * @param {SetStateTypeEnum} type State type
@@ -6479,6 +6638,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6479
6638
  * @export
6480
6639
  */
6481
6640
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
6641
+ /**
6642
+ * Add a [Participant](#schema_participant) to a [Conversation](#schema_conversation).
6643
+ * @param {DefaultApiAddParticipantRequest} requestParameters Request parameters.
6644
+ * @param {*} [options] Override http request option.
6645
+ * @throws {RequiredError}
6646
+ */
6647
+ addParticipant(requestParameters: DefaultApiAddParticipantRequest, options?: AxiosRequestConfig): AxiosPromise<AddParticipantResponse>;
6482
6648
  /**
6483
6649
  * Call an action
6484
6650
  * @param {DefaultApiCallActionRequest} requestParameters Request parameters.
@@ -6765,6 +6931,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
6765
6931
  * @throws {RequiredError}
6766
6932
  */
6767
6933
  getOrCreateUser(requestParameters?: DefaultApiGetOrCreateUserRequest, options?: AxiosRequestConfig): AxiosPromise<GetOrCreateUserResponse>;
6934
+ /**
6935
+ * Retrieves a [Participant](#schema_participant) from a [Conversation](#schema_conversation).
6936
+ * @param {DefaultApiGetParticipantRequest} requestParameters Request parameters.
6937
+ * @param {*} [options] Override http request option.
6938
+ * @throws {RequiredError}
6939
+ */
6940
+ getParticipant(requestParameters: DefaultApiGetParticipantRequest, options?: AxiosRequestConfig): AxiosPromise<GetParticipantResponse>;
6768
6941
  /**
6769
6942
  * Get public integration by name and version
6770
6943
  * @param {DefaultApiGetPublicIntegrationRequest} requestParameters Request parameters.
@@ -6884,6 +7057,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
6884
7057
  * @throws {RequiredError}
6885
7058
  */
6886
7059
  listMessages(requestParameters?: DefaultApiListMessagesRequest, options?: AxiosRequestConfig): AxiosPromise<ListMessagesResponse>;
7060
+ /**
7061
+ * Retrieves a list of [Participant](#schema_participant) for a given [Conversation](#schema_conversation).
7062
+ * @param {DefaultApiListParticipantsRequest} requestParameters Request parameters.
7063
+ * @param {*} [options] Override http request option.
7064
+ * @throws {RequiredError}
7065
+ */
7066
+ listParticipants(requestParameters: DefaultApiListParticipantsRequest, options?: AxiosRequestConfig): AxiosPromise<ListParticipantsResponse>;
6887
7067
  /**
6888
7068
  * List PATs (Personal Access Tokens) of account.
6889
7069
  * @param {*} [options] Override http request option.
@@ -6953,6 +7133,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
6953
7133
  * @throws {RequiredError}
6954
7134
  */
6955
7135
  patchState(requestParameters: DefaultApiPatchStateRequest, options?: AxiosRequestConfig): AxiosPromise<PatchStateResponse>;
7136
+ /**
7137
+ * Remove a [Participant](#schema_participant) from a [Conversation](#schema_conversation).
7138
+ * @param {DefaultApiRemoveParticipantRequest} requestParameters Request parameters.
7139
+ * @param {*} [options] Override http request option.
7140
+ * @throws {RequiredError}
7141
+ */
7142
+ removeParticipant(requestParameters: DefaultApiRemoveParticipantRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
6956
7143
  /**
6957
7144
  * Overrides the [State](#schema_state) object by setting the values of the parameters passed.
6958
7145
  * @param {DefaultApiSetStateRequest} requestParameters Request parameters.
@@ -7024,6 +7211,25 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7024
7211
  */
7025
7212
  updateWorkspaceMember(requestParameters: DefaultApiUpdateWorkspaceMemberRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateWorkspaceMemberResponse>;
7026
7213
  };
7214
+ /**
7215
+ * Request parameters for addParticipant operation in DefaultApi.
7216
+ * @export
7217
+ * @interface DefaultApiAddParticipantRequest
7218
+ */
7219
+ export interface DefaultApiAddParticipantRequest {
7220
+ /**
7221
+ * Conversation id
7222
+ * @type {string}
7223
+ * @memberof DefaultApiAddParticipant
7224
+ */
7225
+ readonly id: string;
7226
+ /**
7227
+ * Participant data
7228
+ * @type {AddParticipantBody}
7229
+ * @memberof DefaultApiAddParticipant
7230
+ */
7231
+ readonly addParticipantBody?: AddParticipantBody;
7232
+ }
7027
7233
  /**
7028
7234
  * Request parameters for callAction operation in DefaultApi.
7029
7235
  * @export
@@ -7628,6 +7834,25 @@ export interface DefaultApiGetOrCreateUserRequest {
7628
7834
  */
7629
7835
  readonly getOrCreateUserBody?: GetOrCreateUserBody;
7630
7836
  }
7837
+ /**
7838
+ * Request parameters for getParticipant operation in DefaultApi.
7839
+ * @export
7840
+ * @interface DefaultApiGetParticipantRequest
7841
+ */
7842
+ export interface DefaultApiGetParticipantRequest {
7843
+ /**
7844
+ * Conversation id
7845
+ * @type {string}
7846
+ * @memberof DefaultApiGetParticipant
7847
+ */
7848
+ readonly id: string;
7849
+ /**
7850
+ * User id
7851
+ * @type {string}
7852
+ * @memberof DefaultApiGetParticipant
7853
+ */
7854
+ readonly userId: string;
7855
+ }
7631
7856
  /**
7632
7857
  * Request parameters for getPublicIntegration operation in DefaultApi.
7633
7858
  * @export
@@ -7693,7 +7918,7 @@ export interface DefaultApiGetStateRequest {
7693
7918
  export interface DefaultApiGetUsageRequest {
7694
7919
  /**
7695
7920
  * Type of usage
7696
- * @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count' | 'integrations_owned_count' | 'cognitive_calls' | 'model_credit'}
7921
+ * @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'}
7697
7922
  * @memberof DefaultApiGetUsage
7698
7923
  */
7699
7924
  readonly type: GetUsageTypeEnum;
@@ -7763,7 +7988,7 @@ export interface DefaultApiGetWorkspaceQuotaRequest {
7763
7988
  readonly id: string;
7764
7989
  /**
7765
7990
  * Type of usage
7766
- * @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count' | 'integrations_owned_count' | 'cognitive_calls' | 'model_credit'}
7991
+ * @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'}
7767
7992
  * @memberof DefaultApiGetWorkspaceQuota
7768
7993
  */
7769
7994
  readonly type: GetWorkspaceQuotaTypeEnum;
@@ -7973,6 +8198,25 @@ export interface DefaultApiListMessagesRequest {
7973
8198
  [key: string]: string;
7974
8199
  };
7975
8200
  }
8201
+ /**
8202
+ * Request parameters for listParticipants operation in DefaultApi.
8203
+ * @export
8204
+ * @interface DefaultApiListParticipantsRequest
8205
+ */
8206
+ export interface DefaultApiListParticipantsRequest {
8207
+ /**
8208
+ * Conversation id
8209
+ * @type {string}
8210
+ * @memberof DefaultApiListParticipants
8211
+ */
8212
+ readonly id: string;
8213
+ /**
8214
+ * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
8215
+ * @type {string}
8216
+ * @memberof DefaultApiListParticipants
8217
+ */
8218
+ readonly nextToken?: string;
8219
+ }
7976
8220
  /**
7977
8221
  * Request parameters for listPublicIntegrations operation in DefaultApi.
7978
8222
  * @export
@@ -8006,7 +8250,7 @@ export interface DefaultApiListPublicIntegrationsRequest {
8006
8250
  export interface DefaultApiListUsageHistoryRequest {
8007
8251
  /**
8008
8252
  * Type of usage
8009
- * @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count' | 'integrations_owned_count' | 'cognitive_calls' | 'model_credit'}
8253
+ * @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'}
8010
8254
  * @memberof DefaultApiListUsageHistory
8011
8255
  */
8012
8256
  readonly type: ListUsageHistoryTypeEnum;
@@ -8103,7 +8347,7 @@ export interface DefaultApiListWorkspaceUsagesRequest {
8103
8347
  readonly id: string;
8104
8348
  /**
8105
8349
  * Type of usage
8106
- * @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count' | 'integrations_owned_count' | 'cognitive_calls' | 'model_credit'}
8350
+ * @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'}
8107
8351
  * @memberof DefaultApiListWorkspaceUsages
8108
8352
  */
8109
8353
  readonly type: ListWorkspaceUsagesTypeEnum;
@@ -8158,6 +8402,25 @@ export interface DefaultApiPatchStateRequest {
8158
8402
  */
8159
8403
  readonly patchStateBody?: PatchStateBody;
8160
8404
  }
8405
+ /**
8406
+ * Request parameters for removeParticipant operation in DefaultApi.
8407
+ * @export
8408
+ * @interface DefaultApiRemoveParticipantRequest
8409
+ */
8410
+ export interface DefaultApiRemoveParticipantRequest {
8411
+ /**
8412
+ * Conversation id
8413
+ * @type {string}
8414
+ * @memberof DefaultApiRemoveParticipant
8415
+ */
8416
+ readonly id: string;
8417
+ /**
8418
+ * User id
8419
+ * @type {string}
8420
+ * @memberof DefaultApiRemoveParticipant
8421
+ */
8422
+ readonly userId: string;
8423
+ }
8161
8424
  /**
8162
8425
  * Request parameters for setState operation in DefaultApi.
8163
8426
  * @export
@@ -8367,6 +8630,14 @@ export interface DefaultApiUpdateWorkspaceMemberRequest {
8367
8630
  * @extends {BaseAPI}
8368
8631
  */
8369
8632
  export declare class DefaultApi extends BaseAPI {
8633
+ /**
8634
+ * Add a [Participant](#schema_participant) to a [Conversation](#schema_conversation).
8635
+ * @param {DefaultApiAddParticipantRequest} requestParameters Request parameters.
8636
+ * @param {*} [options] Override http request option.
8637
+ * @throws {RequiredError}
8638
+ * @memberof DefaultApi
8639
+ */
8640
+ addParticipant(requestParameters: DefaultApiAddParticipantRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddParticipantResponse, any>>;
8370
8641
  /**
8371
8642
  * Call an action
8372
8643
  * @param {DefaultApiCallActionRequest} requestParameters Request parameters.
@@ -8694,6 +8965,14 @@ export declare class DefaultApi extends BaseAPI {
8694
8965
  * @memberof DefaultApi
8695
8966
  */
8696
8967
  getOrCreateUser(requestParameters?: DefaultApiGetOrCreateUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrCreateUserResponse, any>>;
8968
+ /**
8969
+ * Retrieves a [Participant](#schema_participant) from a [Conversation](#schema_conversation).
8970
+ * @param {DefaultApiGetParticipantRequest} requestParameters Request parameters.
8971
+ * @param {*} [options] Override http request option.
8972
+ * @throws {RequiredError}
8973
+ * @memberof DefaultApi
8974
+ */
8975
+ getParticipant(requestParameters: DefaultApiGetParticipantRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetParticipantResponse, any>>;
8697
8976
  /**
8698
8977
  * Get public integration by name and version
8699
8978
  * @param {DefaultApiGetPublicIntegrationRequest} requestParameters Request parameters.
@@ -8830,6 +9109,14 @@ export declare class DefaultApi extends BaseAPI {
8830
9109
  * @memberof DefaultApi
8831
9110
  */
8832
9111
  listMessages(requestParameters?: DefaultApiListMessagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListMessagesResponse, any>>;
9112
+ /**
9113
+ * Retrieves a list of [Participant](#schema_participant) for a given [Conversation](#schema_conversation).
9114
+ * @param {DefaultApiListParticipantsRequest} requestParameters Request parameters.
9115
+ * @param {*} [options] Override http request option.
9116
+ * @throws {RequiredError}
9117
+ * @memberof DefaultApi
9118
+ */
9119
+ listParticipants(requestParameters: DefaultApiListParticipantsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListParticipantsResponse, any>>;
8833
9120
  /**
8834
9121
  * List PATs (Personal Access Tokens) of account.
8835
9122
  * @param {*} [options] Override http request option.
@@ -8909,6 +9196,14 @@ export declare class DefaultApi extends BaseAPI {
8909
9196
  * @memberof DefaultApi
8910
9197
  */
8911
9198
  patchState(requestParameters: DefaultApiPatchStateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStateResponse, any>>;
9199
+ /**
9200
+ * Remove a [Participant](#schema_participant) from a [Conversation](#schema_conversation).
9201
+ * @param {DefaultApiRemoveParticipantRequest} requestParameters Request parameters.
9202
+ * @param {*} [options] Override http request option.
9203
+ * @throws {RequiredError}
9204
+ * @memberof DefaultApi
9205
+ */
9206
+ removeParticipant(requestParameters: DefaultApiRemoveParticipantRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
8912
9207
  /**
8913
9208
  * Overrides the [State](#schema_state) object by setting the values of the parameters passed.
8914
9209
  * @param {DefaultApiSetStateRequest} requestParameters Request parameters.
@@ -9018,13 +9313,12 @@ export declare const GetUsageTypeEnum: {
9018
9313
  readonly InvocationCalls: "invocation_calls";
9019
9314
  readonly StorageCount: "storage_count";
9020
9315
  readonly BotCount: "bot_count";
9021
- readonly KnowledgebaseVectorCount: "knowledgebase_vector_count";
9022
- readonly BotRatelimit: "bot_ratelimit";
9316
+ readonly KnowledgebaseVectorStorage: "knowledgebase_vector_storage";
9317
+ readonly WorkspaceRatelimit: "workspace_ratelimit";
9023
9318
  readonly TableRowCount: "table_row_count";
9024
9319
  readonly WorkspaceMemberCount: "workspace_member_count";
9025
9320
  readonly IntegrationsOwnedCount: "integrations_owned_count";
9026
- readonly CognitiveCalls: "cognitive_calls";
9027
- readonly ModelCredit: "model_credit";
9321
+ readonly AiSpend: "ai_spend";
9028
9322
  };
9029
9323
  export type GetUsageTypeEnum = typeof GetUsageTypeEnum[keyof typeof GetUsageTypeEnum];
9030
9324
  /**
@@ -9035,13 +9329,12 @@ export declare const GetWorkspaceQuotaTypeEnum: {
9035
9329
  readonly InvocationCalls: "invocation_calls";
9036
9330
  readonly StorageCount: "storage_count";
9037
9331
  readonly BotCount: "bot_count";
9038
- readonly KnowledgebaseVectorCount: "knowledgebase_vector_count";
9039
- readonly BotRatelimit: "bot_ratelimit";
9332
+ readonly KnowledgebaseVectorStorage: "knowledgebase_vector_storage";
9333
+ readonly WorkspaceRatelimit: "workspace_ratelimit";
9040
9334
  readonly TableRowCount: "table_row_count";
9041
9335
  readonly WorkspaceMemberCount: "workspace_member_count";
9042
9336
  readonly IntegrationsOwnedCount: "integrations_owned_count";
9043
- readonly CognitiveCalls: "cognitive_calls";
9044
- readonly ModelCredit: "model_credit";
9337
+ readonly AiSpend: "ai_spend";
9045
9338
  };
9046
9339
  export type GetWorkspaceQuotaTypeEnum = typeof GetWorkspaceQuotaTypeEnum[keyof typeof GetWorkspaceQuotaTypeEnum];
9047
9340
  /**
@@ -9052,13 +9345,12 @@ export declare const ListUsageHistoryTypeEnum: {
9052
9345
  readonly InvocationCalls: "invocation_calls";
9053
9346
  readonly StorageCount: "storage_count";
9054
9347
  readonly BotCount: "bot_count";
9055
- readonly KnowledgebaseVectorCount: "knowledgebase_vector_count";
9056
- readonly BotRatelimit: "bot_ratelimit";
9348
+ readonly KnowledgebaseVectorStorage: "knowledgebase_vector_storage";
9349
+ readonly WorkspaceRatelimit: "workspace_ratelimit";
9057
9350
  readonly TableRowCount: "table_row_count";
9058
9351
  readonly WorkspaceMemberCount: "workspace_member_count";
9059
9352
  readonly IntegrationsOwnedCount: "integrations_owned_count";
9060
- readonly CognitiveCalls: "cognitive_calls";
9061
- readonly ModelCredit: "model_credit";
9353
+ readonly AiSpend: "ai_spend";
9062
9354
  };
9063
9355
  export type ListUsageHistoryTypeEnum = typeof ListUsageHistoryTypeEnum[keyof typeof ListUsageHistoryTypeEnum];
9064
9356
  /**
@@ -9069,13 +9361,12 @@ export declare const ListWorkspaceUsagesTypeEnum: {
9069
9361
  readonly InvocationCalls: "invocation_calls";
9070
9362
  readonly StorageCount: "storage_count";
9071
9363
  readonly BotCount: "bot_count";
9072
- readonly KnowledgebaseVectorCount: "knowledgebase_vector_count";
9073
- readonly BotRatelimit: "bot_ratelimit";
9364
+ readonly KnowledgebaseVectorStorage: "knowledgebase_vector_storage";
9365
+ readonly WorkspaceRatelimit: "workspace_ratelimit";
9074
9366
  readonly TableRowCount: "table_row_count";
9075
9367
  readonly WorkspaceMemberCount: "workspace_member_count";
9076
9368
  readonly IntegrationsOwnedCount: "integrations_owned_count";
9077
- readonly CognitiveCalls: "cognitive_calls";
9078
- readonly ModelCredit: "model_credit";
9369
+ readonly AiSpend: "ai_spend";
9079
9370
  };
9080
9371
  export type ListWorkspaceUsagesTypeEnum = typeof ListWorkspaceUsagesTypeEnum[keyof typeof ListWorkspaceUsagesTypeEnum];
9081
9372
  /**