@botpress/client 0.11.1 → 0.11.2

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.16.2
5
+ * The version of the OpenAPI document: 0.16.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,6 +38,64 @@ export interface Account {
38
38
  */
39
39
  'createdAt': string;
40
40
  }
41
+ /**
42
+ *
43
+ * @export
44
+ * @interface Activity
45
+ */
46
+ export interface Activity {
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof Activity
51
+ */
52
+ 'id': string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof Activity
57
+ */
58
+ 'description': string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof Activity
63
+ */
64
+ 'taskId': string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof Activity
69
+ */
70
+ 'category': ActivityCategoryEnum;
71
+ /**
72
+ *
73
+ * @type {{ [key: string]: any; }}
74
+ * @memberof Activity
75
+ */
76
+ 'data': {
77
+ [key: string]: any;
78
+ };
79
+ /**
80
+ * Creation date of the activity in ISO 8601 format
81
+ * @type {string}
82
+ * @memberof Activity
83
+ */
84
+ 'createdAt': string;
85
+ }
86
+ export declare const ActivityCategoryEnum: {
87
+ readonly Unknown: "unknown";
88
+ readonly Capture: "capture";
89
+ readonly BotMessage: "bot_message";
90
+ readonly UserMessage: "user_message";
91
+ readonly AgentMessage: "agent_message";
92
+ readonly Event: "event";
93
+ readonly Action: "action";
94
+ readonly TaskStatus: "task_status";
95
+ readonly SubtaskStatus: "subtask_status";
96
+ readonly Exception: "exception";
97
+ };
98
+ export type ActivityCategoryEnum = typeof ActivityCategoryEnum[keyof typeof ActivityCategoryEnum];
41
99
  /**
42
100
  *
43
101
  * @export
@@ -89,7 +147,7 @@ export interface Bot {
89
147
  */
90
148
  'updatedAt': string;
91
149
  /**
92
- * Signing secret of the [Bot](#schema_bot)
150
+ * Title describing the task
93
151
  * @type {string}
94
152
  * @memberof Bot
95
153
  */
@@ -255,31 +313,31 @@ export interface BotIntegrationsValue {
255
313
  */
256
314
  'enabled': boolean;
257
315
  /**
258
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
316
+ * Type of the task
259
317
  * @type {string}
260
318
  * @memberof BotIntegrationsValue
261
319
  */
262
320
  'name': string;
263
321
  /**
264
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
322
+ * Type of the task
265
323
  * @type {string}
266
324
  * @memberof BotIntegrationsValue
267
325
  */
268
326
  'version': string;
269
327
  /**
270
- * Signing secret of the [Bot](#schema_bot)
328
+ * Title describing the task
271
329
  * @type {string}
272
330
  * @memberof BotIntegrationsValue
273
331
  */
274
332
  'webhookUrl': string;
275
333
  /**
276
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
334
+ * Type of the task
277
335
  * @type {string}
278
336
  * @memberof BotIntegrationsValue
279
337
  */
280
338
  'webhookId': string;
281
339
  /**
282
- * Signing secret of the [Bot](#schema_bot)
340
+ * Title describing the task
283
341
  * @type {string}
284
342
  * @memberof BotIntegrationsValue
285
343
  */
@@ -299,7 +357,7 @@ export interface BotIntegrationsValue {
299
357
  */
300
358
  'status': BotIntegrationsValueStatusEnum;
301
359
  /**
302
- * Signing secret of the [Bot](#schema_bot)
360
+ * Title describing the task
303
361
  * @type {string}
304
362
  * @memberof BotIntegrationsValue
305
363
  */
@@ -397,7 +455,7 @@ export interface BotRecurringEventsValue {
397
455
  */
398
456
  'schedule': BotRecurringEventsValueSchedule;
399
457
  /**
400
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
458
+ * Type of the task
401
459
  * @type {string}
402
460
  * @memberof BotRecurringEventsValue
403
461
  */
@@ -430,7 +488,7 @@ export interface BotRecurringEventsValue {
430
488
  */
431
489
  export interface BotRecurringEventsValueSchedule {
432
490
  /**
433
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
491
+ * Type of the task
434
492
  * @type {string}
435
493
  * @memberof BotRecurringEventsValueSchedule
436
494
  */
@@ -1675,7 +1733,7 @@ export interface CreateIntegrationBodyConfigurationIdentifier {
1675
1733
  */
1676
1734
  'required'?: boolean;
1677
1735
  /**
1678
- * Signing secret of the [Bot](#schema_bot)
1736
+ * Title describing the task
1679
1737
  * @type {string}
1680
1738
  * @memberof CreateIntegrationBodyConfigurationIdentifier
1681
1739
  */
@@ -1688,13 +1746,13 @@ export interface CreateIntegrationBodyConfigurationIdentifier {
1688
1746
  */
1689
1747
  export interface CreateIntegrationBodyIdentifier {
1690
1748
  /**
1691
- * Signing secret of the [Bot](#schema_bot)
1749
+ * Title describing the task
1692
1750
  * @type {string}
1693
1751
  * @memberof CreateIntegrationBodyIdentifier
1694
1752
  */
1695
1753
  'fallbackHandlerScript'?: string;
1696
1754
  /**
1697
- * Signing secret of the [Bot](#schema_bot)
1755
+ * Title describing the task
1698
1756
  * @type {string}
1699
1757
  * @memberof CreateIntegrationBodyIdentifier
1700
1758
  */
@@ -1927,15 +1985,15 @@ export interface CreateTaskBody {
1927
1985
  * @type {string}
1928
1986
  * @memberof CreateTaskBody
1929
1987
  */
1930
- 'title': string;
1988
+ 'title'?: string;
1931
1989
  /**
1932
1990
  * All the notes related to the execution of the current task
1933
1991
  * @type {string}
1934
1992
  * @memberof CreateTaskBody
1935
1993
  */
1936
- 'instruction'?: string;
1994
+ 'description'?: string;
1937
1995
  /**
1938
- * Type of the task
1996
+ * Unique identifier of the integration that was installed on the bot
1939
1997
  * @type {string}
1940
1998
  * @memberof CreateTaskBody
1941
1999
  */
@@ -2278,7 +2336,7 @@ export interface Event {
2278
2336
  */
2279
2337
  'createdAt': string;
2280
2338
  /**
2281
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
2339
+ * Type of the task
2282
2340
  * @type {string}
2283
2341
  * @memberof Event
2284
2342
  */
@@ -3328,13 +3386,13 @@ export interface Integration {
3328
3386
  */
3329
3387
  'identifier': IntegrationIdentifier;
3330
3388
  /**
3331
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
3389
+ * Type of the task
3332
3390
  * @type {string}
3333
3391
  * @memberof Integration
3334
3392
  */
3335
3393
  'name': string;
3336
3394
  /**
3337
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
3395
+ * Type of the task
3338
3396
  * @type {string}
3339
3397
  * @memberof Integration
3340
3398
  */
@@ -3508,7 +3566,7 @@ export interface IntegrationConfiguration {
3508
3566
  */
3509
3567
  export interface IntegrationConfigurationIdentifier {
3510
3568
  /**
3511
- * Signing secret of the [Bot](#schema_bot)
3569
+ * Title describing the task
3512
3570
  * @type {string}
3513
3571
  * @memberof IntegrationConfigurationIdentifier
3514
3572
  */
@@ -3720,6 +3778,25 @@ export interface IssueGroupedDataValue {
3720
3778
  */
3721
3779
  'pretty'?: string;
3722
3780
  }
3781
+ /**
3782
+ *
3783
+ * @export
3784
+ * @interface ListActivitiesResponse
3785
+ */
3786
+ export interface ListActivitiesResponse {
3787
+ /**
3788
+ *
3789
+ * @type {Array<Activity>}
3790
+ * @memberof ListActivitiesResponse
3791
+ */
3792
+ 'activities': Array<Activity>;
3793
+ /**
3794
+ *
3795
+ * @type {ListConversationsResponseMeta}
3796
+ * @memberof ListActivitiesResponse
3797
+ */
3798
+ 'meta': ListConversationsResponseMeta;
3799
+ }
3723
3800
  /**
3724
3801
  *
3725
3802
  * @export
@@ -4488,7 +4565,7 @@ export interface Message {
4488
4565
  */
4489
4566
  'createdAt': string;
4490
4567
  /**
4491
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
4568
+ * Type of the task
4492
4569
  * @type {string}
4493
4570
  * @memberof Message
4494
4571
  */
@@ -4845,7 +4922,7 @@ export interface State {
4845
4922
  */
4846
4923
  'userId'?: string;
4847
4924
  /**
4848
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
4925
+ * Type of the task
4849
4926
  * @type {string}
4850
4927
  * @memberof State
4851
4928
  */
@@ -4944,7 +5021,7 @@ export interface TableSchema {
4944
5021
  [key: string]: TableSchemaPropertiesValue;
4945
5022
  };
4946
5023
  /**
4947
- *
5024
+ * Additional properties can be provided, but they will be ignored if no column matches.
4948
5025
  * @type {boolean}
4949
5026
  * @memberof TableSchema
4950
5027
  */
@@ -5063,7 +5140,7 @@ export interface Task {
5063
5140
  * @type {string}
5064
5141
  * @memberof Task
5065
5142
  */
5066
- 'instruction': string;
5143
+ 'description': string;
5067
5144
  /**
5068
5145
  * Type of the task
5069
5146
  * @type {string}
@@ -5142,6 +5219,8 @@ export declare const TaskStatusEnum: {
5142
5219
  readonly Completed: "completed";
5143
5220
  readonly Blocked: "blocked";
5144
5221
  readonly Paused: "paused";
5222
+ readonly Timeout: "timeout";
5223
+ readonly Cancelled: "cancelled";
5145
5224
  };
5146
5225
  export type TaskStatusEnum = typeof TaskStatusEnum[keyof typeof TaskStatusEnum];
5147
5226
  /**
@@ -5707,7 +5786,7 @@ export interface UpdateIntegrationBodyConfiguration {
5707
5786
  */
5708
5787
  export interface UpdateIntegrationBodyConfigurationIdentifier {
5709
5788
  /**
5710
- * Signing secret of the [Bot](#schema_bot)
5789
+ * Title describing the task
5711
5790
  * @type {string}
5712
5791
  * @memberof UpdateIntegrationBodyConfigurationIdentifier
5713
5792
  */
@@ -5726,13 +5805,13 @@ export interface UpdateIntegrationBodyConfigurationIdentifier {
5726
5805
  */
5727
5806
  export interface UpdateIntegrationBodyIdentifier {
5728
5807
  /**
5729
- * Signing secret of the [Bot](#schema_bot)
5808
+ * Title describing the task
5730
5809
  * @type {string}
5731
5810
  * @memberof UpdateIntegrationBodyIdentifier
5732
5811
  */
5733
5812
  'extractScript'?: string | null;
5734
5813
  /**
5735
- * Signing secret of the [Bot](#schema_bot)
5814
+ * Title describing the task
5736
5815
  * @type {string}
5737
5816
  * @memberof UpdateIntegrationBodyIdentifier
5738
5817
  */
@@ -5844,7 +5923,7 @@ export interface UpdateTaskBody {
5844
5923
  * @type {string}
5845
5924
  * @memberof UpdateTaskBody
5846
5925
  */
5847
- 'instruction'?: string;
5926
+ 'description'?: string;
5848
5927
  /**
5849
5928
  * Content related to the task
5850
5929
  * @type {{ [key: string]: any; }}
@@ -5881,6 +5960,8 @@ export declare const UpdateTaskBodyStatusEnum: {
5881
5960
  readonly Completed: "completed";
5882
5961
  readonly Blocked: "blocked";
5883
5962
  readonly Paused: "paused";
5963
+ readonly Timeout: "timeout";
5964
+ readonly Cancelled: "cancelled";
5884
5965
  };
5885
5966
  export type UpdateTaskBodyStatusEnum = typeof UpdateTaskBodyStatusEnum[keyof typeof UpdateTaskBodyStatusEnum];
5886
5967
  /**
@@ -7050,6 +7131,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7050
7131
  * @throws {RequiredError}
7051
7132
  */
7052
7133
  introspect: (introspectBody?: IntrospectBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7134
+ /**
7135
+ * List activities of a task
7136
+ * @param {string} taskId ID of the task to list activities for
7137
+ * @param {string} botId ID of the bot to list activities for
7138
+ * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
7139
+ * @param {*} [options] Override http request option.
7140
+ * @throws {RequiredError}
7141
+ */
7142
+ listActivities: (taskId: string, botId: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7053
7143
  /**
7054
7144
  * List Events for a Bot Issue
7055
7145
  * @param {string} id Bot ID
@@ -7155,14 +7245,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7155
7245
  * @param {string} [conversationId] Conversation id
7156
7246
  * @param {string} [userId] User id
7157
7247
  * @param {string} [parentTaskId] Parent task id
7158
- * @param {ListTasksStatusEnum} [status] Status
7248
+ * @param {Array<ListTasksStatusEnum>} [status] Status
7159
7249
  * @param {string} [type] Type
7160
7250
  * @param {*} [options] Override http request option.
7161
7251
  * @throws {RequiredError}
7162
7252
  */
7163
7253
  listTasks: (nextToken?: string, tags?: {
7164
7254
  [key: string]: string;
7165
- } | undefined, conversationId?: string, userId?: string, parentTaskId?: string, status?: ListTasksStatusEnum, type?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7255
+ } | undefined, conversationId?: string, userId?: string, parentTaskId?: string, status?: Array<ListTasksStatusEnum>, type?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7166
7256
  /**
7167
7257
  * Get usage history
7168
7258
  * @param {ListUsageHistoryTypeEnum} type Type of usage
@@ -7794,6 +7884,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7794
7884
  * @throws {RequiredError}
7795
7885
  */
7796
7886
  introspect(introspectBody?: IntrospectBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntrospectResponse>>;
7887
+ /**
7888
+ * List activities of a task
7889
+ * @param {string} taskId ID of the task to list activities for
7890
+ * @param {string} botId ID of the bot to list activities for
7891
+ * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
7892
+ * @param {*} [options] Override http request option.
7893
+ * @throws {RequiredError}
7894
+ */
7895
+ listActivities(taskId: string, botId: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActivitiesResponse>>;
7797
7896
  /**
7798
7897
  * List Events for a Bot Issue
7799
7898
  * @param {string} id Bot ID
@@ -7899,14 +7998,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7899
7998
  * @param {string} [conversationId] Conversation id
7900
7999
  * @param {string} [userId] User id
7901
8000
  * @param {string} [parentTaskId] Parent task id
7902
- * @param {ListTasksStatusEnum} [status] Status
8001
+ * @param {Array<ListTasksStatusEnum>} [status] Status
7903
8002
  * @param {string} [type] Type
7904
8003
  * @param {*} [options] Override http request option.
7905
8004
  * @throws {RequiredError}
7906
8005
  */
7907
8006
  listTasks(nextToken?: string, tags?: {
7908
8007
  [key: string]: string;
7909
- } | undefined, conversationId?: string, userId?: string, parentTaskId?: string, status?: ListTasksStatusEnum, type?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>>;
8008
+ } | undefined, conversationId?: string, userId?: string, parentTaskId?: string, status?: Array<ListTasksStatusEnum>, type?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>>;
7910
8009
  /**
7911
8010
  * Get usage history
7912
8011
  * @param {ListUsageHistoryTypeEnum} type Type of usage
@@ -8513,6 +8612,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
8513
8612
  * @throws {RequiredError}
8514
8613
  */
8515
8614
  introspect(requestParameters?: DefaultApiIntrospectRequest, options?: AxiosRequestConfig): AxiosPromise<IntrospectResponse>;
8615
+ /**
8616
+ * List activities of a task
8617
+ * @param {DefaultApiListActivitiesRequest} requestParameters Request parameters.
8618
+ * @param {*} [options] Override http request option.
8619
+ * @throws {RequiredError}
8620
+ */
8621
+ listActivities(requestParameters: DefaultApiListActivitiesRequest, options?: AxiosRequestConfig): AxiosPromise<ListActivitiesResponse>;
8516
8622
  /**
8517
8623
  * List Events for a Bot Issue
8518
8624
  * @param {DefaultApiListBotIssueEventsRequest} requestParameters Request parameters.
@@ -9655,6 +9761,31 @@ export interface DefaultApiIntrospectRequest {
9655
9761
  */
9656
9762
  readonly introspectBody?: IntrospectBody;
9657
9763
  }
9764
+ /**
9765
+ * Request parameters for listActivities operation in DefaultApi.
9766
+ * @export
9767
+ * @interface DefaultApiListActivitiesRequest
9768
+ */
9769
+ export interface DefaultApiListActivitiesRequest {
9770
+ /**
9771
+ * ID of the task to list activities for
9772
+ * @type {string}
9773
+ * @memberof DefaultApiListActivities
9774
+ */
9775
+ readonly taskId: string;
9776
+ /**
9777
+ * ID of the bot to list activities for
9778
+ * @type {string}
9779
+ * @memberof DefaultApiListActivities
9780
+ */
9781
+ readonly botId: string;
9782
+ /**
9783
+ * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
9784
+ * @type {string}
9785
+ * @memberof DefaultApiListActivities
9786
+ */
9787
+ readonly nextToken?: string;
9788
+ }
9658
9789
  /**
9659
9790
  * Request parameters for listBotIssueEvents operation in DefaultApi.
9660
9791
  * @export
@@ -9937,10 +10068,10 @@ export interface DefaultApiListTasksRequest {
9937
10068
  readonly parentTaskId?: string;
9938
10069
  /**
9939
10070
  * Status
9940
- * @type {'pending' | 'in_progress' | 'failed' | 'completed' | 'blocked' | 'paused'}
10071
+ * @type {Array<'pending' | 'in_progress' | 'failed' | 'completed' | 'blocked' | 'paused' | 'timeout' | 'cancelled'>}
9941
10072
  * @memberof DefaultApiListTasks
9942
10073
  */
9943
- readonly status?: ListTasksStatusEnum;
10074
+ readonly status?: Array<ListTasksStatusEnum>;
9944
10075
  /**
9945
10076
  * Type
9946
10077
  * @type {string}
@@ -10867,6 +10998,14 @@ export declare class DefaultApi extends BaseAPI {
10867
10998
  * @memberof DefaultApi
10868
10999
  */
10869
11000
  introspect(requestParameters?: DefaultApiIntrospectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<IntrospectResponse, any>>;
11001
+ /**
11002
+ * List activities of a task
11003
+ * @param {DefaultApiListActivitiesRequest} requestParameters Request parameters.
11004
+ * @param {*} [options] Override http request option.
11005
+ * @throws {RequiredError}
11006
+ * @memberof DefaultApi
11007
+ */
11008
+ listActivities(requestParameters: DefaultApiListActivitiesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActivitiesResponse, any>>;
10870
11009
  /**
10871
11010
  * List Events for a Bot Issue
10872
11011
  * @param {DefaultApiListBotIssueEventsRequest} requestParameters Request parameters.
@@ -11226,6 +11365,8 @@ export declare const ListTasksStatusEnum: {
11226
11365
  readonly Completed: "completed";
11227
11366
  readonly Blocked: "blocked";
11228
11367
  readonly Paused: "paused";
11368
+ readonly Timeout: "timeout";
11369
+ readonly Cancelled: "cancelled";
11229
11370
  };
11230
11371
  export type ListTasksStatusEnum = typeof ListTasksStatusEnum[keyof typeof ListTasksStatusEnum];
11231
11372
  /**
@@ -2,7 +2,7 @@
2
2
  * Botpress API
3
3
  * API for Botpress Cloud
4
4
  *
5
- * The version of the OpenAPI document: 0.16.2
5
+ * The version of the OpenAPI document: 0.16.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,6 +1,6 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { Merge, Except } from 'type-fest';
3
- import { Configuration, DefaultApiCreateConversationRequest, DefaultApiGetConversationRequest, DefaultApiListConversationsRequest, DefaultApiGetOrCreateConversationRequest, DefaultApiUpdateConversationRequest, DefaultApiDeleteConversationRequest, DefaultApiListParticipantsRequest, DefaultApiAddParticipantRequest, DefaultApiGetParticipantRequest, DefaultApiRemoveParticipantRequest, DefaultApiCreateEventRequest, DefaultApiGetEventRequest, DefaultApiListEventsRequest, DefaultApiCreateMessageRequest, DefaultApiGetOrCreateMessageRequest, DefaultApiGetMessageRequest, DefaultApiUpdateMessageRequest, DefaultApiListMessagesRequest, DefaultApiDeleteMessageRequest, DefaultApiCreateUserRequest, DefaultApiGetUserRequest, DefaultApiListUsersRequest, DefaultApiGetOrCreateUserRequest, DefaultApiUpdateUserRequest, DefaultApiDeleteUserRequest, DefaultApiGetStateRequest, DefaultApiSetStateRequest, DefaultApiPatchStateRequest, DefaultApiCallActionRequest, DefaultApiConfigureIntegrationRequest, DefaultApiGetTaskRequest, DefaultApiCreateTaskRequest, DefaultApiUpdateTaskRequest, DefaultApiDeleteTaskRequest, DefaultApiListTasksRequest, DefaultApiRunVrlRequest, DefaultApiCreatePersonalAccessTokenRequest, DefaultApiDeletePersonalAccessTokenRequest, DefaultApiSetAccountPreferenceRequest, DefaultApiGetAccountPreferenceRequest, DefaultApiListPublicIntegrationsRequest, DefaultApiGetPublicIntegrationByIdRequest, DefaultApiGetPublicIntegrationRequest, DefaultApiCreateBotRequest, DefaultApiUpdateBotRequest, DefaultApiTransferBotRequest, DefaultApiListBotsRequest, DefaultApiGetBotRequest, DefaultApiDeleteBotRequest, DefaultApiGetBotLogsRequest, DefaultApiGetBotWebchatRequest, DefaultApiGetBotAnalyticsRequest, DefaultApiListBotIssuesRequest, DefaultApiDeleteBotIssueRequest, DefaultApiListBotIssueEventsRequest, DefaultApiGetWorkspaceBillingDetailsRequest, DefaultApiSetWorkspacePaymentMethodRequest, DefaultApiListWorkspaceInvoicesRequest, DefaultApiChargeWorkspaceUnpaidInvoicesRequest, DefaultApiCreateWorkspaceRequest, DefaultApiGetWorkspaceRequest, DefaultApiListWorkspaceUsagesRequest, DefaultApiBreakDownWorkspaceUsageByBotRequest, DefaultApiGetWorkspaceQuotaRequest, DefaultApiListWorkspaceQuotasRequest, DefaultApiUpdateWorkspaceRequest, DefaultApiCheckHandleAvailabilityRequest, DefaultApiListWorkspacesRequest, DefaultApiChangeWorkspacePlanRequest, DefaultApiDeleteWorkspaceRequest, DefaultApiGetAuditRecordsRequest, DefaultApiListWorkspaceMembersRequest, DefaultApiDeleteWorkspaceMemberRequest, DefaultApiCreateWorkspaceMemberRequest, DefaultApiUpdateWorkspaceMemberRequest, DefaultApiCreateIntegrationRequest, DefaultApiUpdateIntegrationRequest, DefaultApiListIntegrationsRequest, DefaultApiGetIntegrationRequest, DefaultApiGetIntegrationLogsRequest, DefaultApiGetIntegrationByNameRequest, DefaultApiDeleteIntegrationRequest, DefaultApiGetUsageRequest, DefaultApiListUsageHistoryRequest, DefaultApiChangeAISpendQuotaRequest, DefaultApiIntrospectRequest, DefaultApiCreateFileRequest, DefaultApiGetFileRequest, DefaultApiDownloadFileRequest, DefaultApiDeleteFileRequest, DefaultApiListFilesRequest } from '.';
3
+ import { Configuration, DefaultApiCreateConversationRequest, DefaultApiGetConversationRequest, DefaultApiListConversationsRequest, DefaultApiGetOrCreateConversationRequest, DefaultApiUpdateConversationRequest, DefaultApiDeleteConversationRequest, DefaultApiListParticipantsRequest, DefaultApiAddParticipantRequest, DefaultApiGetParticipantRequest, DefaultApiRemoveParticipantRequest, DefaultApiCreateEventRequest, DefaultApiGetEventRequest, DefaultApiListEventsRequest, DefaultApiCreateMessageRequest, DefaultApiGetOrCreateMessageRequest, DefaultApiGetMessageRequest, DefaultApiUpdateMessageRequest, DefaultApiListMessagesRequest, DefaultApiDeleteMessageRequest, DefaultApiCreateUserRequest, DefaultApiGetUserRequest, DefaultApiListUsersRequest, DefaultApiGetOrCreateUserRequest, DefaultApiUpdateUserRequest, DefaultApiDeleteUserRequest, DefaultApiGetStateRequest, DefaultApiSetStateRequest, DefaultApiPatchStateRequest, DefaultApiCallActionRequest, DefaultApiConfigureIntegrationRequest, DefaultApiGetTaskRequest, DefaultApiCreateTaskRequest, DefaultApiUpdateTaskRequest, DefaultApiDeleteTaskRequest, DefaultApiListTasksRequest, DefaultApiRunVrlRequest, DefaultApiCreatePersonalAccessTokenRequest, DefaultApiDeletePersonalAccessTokenRequest, DefaultApiSetAccountPreferenceRequest, DefaultApiGetAccountPreferenceRequest, DefaultApiListPublicIntegrationsRequest, DefaultApiGetPublicIntegrationByIdRequest, DefaultApiGetPublicIntegrationRequest, DefaultApiCreateBotRequest, DefaultApiUpdateBotRequest, DefaultApiTransferBotRequest, DefaultApiListBotsRequest, DefaultApiGetBotRequest, DefaultApiDeleteBotRequest, DefaultApiGetBotLogsRequest, DefaultApiGetBotWebchatRequest, DefaultApiGetBotAnalyticsRequest, DefaultApiListBotIssuesRequest, DefaultApiDeleteBotIssueRequest, DefaultApiListBotIssueEventsRequest, DefaultApiGetWorkspaceBillingDetailsRequest, DefaultApiSetWorkspacePaymentMethodRequest, DefaultApiListWorkspaceInvoicesRequest, DefaultApiChargeWorkspaceUnpaidInvoicesRequest, DefaultApiCreateWorkspaceRequest, DefaultApiGetWorkspaceRequest, DefaultApiListWorkspaceUsagesRequest, DefaultApiBreakDownWorkspaceUsageByBotRequest, DefaultApiGetWorkspaceQuotaRequest, DefaultApiListWorkspaceQuotasRequest, DefaultApiUpdateWorkspaceRequest, DefaultApiCheckHandleAvailabilityRequest, DefaultApiListWorkspacesRequest, DefaultApiChangeWorkspacePlanRequest, DefaultApiDeleteWorkspaceRequest, DefaultApiGetAuditRecordsRequest, DefaultApiListWorkspaceMembersRequest, DefaultApiDeleteWorkspaceMemberRequest, DefaultApiCreateWorkspaceMemberRequest, DefaultApiUpdateWorkspaceMemberRequest, DefaultApiCreateIntegrationRequest, DefaultApiUpdateIntegrationRequest, DefaultApiListIntegrationsRequest, DefaultApiGetIntegrationRequest, DefaultApiGetIntegrationLogsRequest, DefaultApiGetIntegrationByNameRequest, DefaultApiDeleteIntegrationRequest, DefaultApiGetUsageRequest, DefaultApiListUsageHistoryRequest, DefaultApiChangeAISpendQuotaRequest, DefaultApiListActivitiesRequest, DefaultApiIntrospectRequest, DefaultApiCreateFileRequest, DefaultApiGetFileRequest, DefaultApiDownloadFileRequest, DefaultApiDeleteFileRequest, DefaultApiListFilesRequest } from '.';
4
4
  export declare class ApiClient {
5
5
  private _innerClient;
6
6
  constructor(configuration?: Configuration, basePath?: string, axiosInstance?: AxiosInstance);
@@ -94,6 +94,7 @@ export declare class ApiClient {
94
94
  getUsage: (props: GetUsageProps) => Promise<import("./api").GetUsageResponse>;
95
95
  listUsageHistory: (props: ListUsageHistoryProps) => Promise<import("./api").ListUsageHistoryResponse>;
96
96
  changeAISpendQuota: (changeAISpendQuotaBody: ChangeAISpendQuotaProps) => Promise<object>;
97
+ listActivities: (props: ListActivitiesProps) => Promise<import("./api").ListActivitiesResponse>;
97
98
  introspect: (introspectBody: IntrospectProps) => Promise<import("./api").IntrospectResponse>;
98
99
  createFile: (createFileBody: CreateFileProps) => Promise<import("./api").CreateFileResponse>;
99
100
  getFile: (props: GetFileProps) => Promise<import("./api").GetFileResponse>;
@@ -186,6 +187,7 @@ export type DeleteIntegrationProps = Merge<DefaultApiDeleteIntegrationRequest, {
186
187
  export type GetUsageProps = Merge<DefaultApiGetUsageRequest, {}>;
187
188
  export type ListUsageHistoryProps = Merge<DefaultApiListUsageHistoryRequest, {}>;
188
189
  export type ChangeAISpendQuotaProps = Merge<Except<DefaultApiChangeAISpendQuotaRequest, 'changeAISpendQuotaBody'>, NonNullable<DefaultApiChangeAISpendQuotaRequest['changeAISpendQuotaBody']>>;
190
+ export type ListActivitiesProps = Merge<DefaultApiListActivitiesRequest, {}>;
189
191
  export type IntrospectProps = Merge<Except<DefaultApiIntrospectRequest, 'introspectBody'>, NonNullable<DefaultApiIntrospectRequest['introspectBody']>>;
190
192
  export type CreateFileProps = Merge<Except<DefaultApiCreateFileRequest, 'createFileBody'>, NonNullable<DefaultApiCreateFileRequest['createFileBody']>>;
191
193
  export type GetFileProps = Merge<DefaultApiGetFileRequest, {}>;
@@ -3,7 +3,7 @@
3
3
  * Botpress API
4
4
  * API for Botpress Cloud
5
5
  *
6
- * The version of the OpenAPI document: 0.16.2
6
+ * The version of the OpenAPI document: 0.16.3
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Botpress API
3
3
  * API for Botpress Cloud
4
4
  *
5
- * The version of the OpenAPI document: 0.16.2
5
+ * The version of the OpenAPI document: 0.16.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Botpress API
3
3
  * API for Botpress Cloud
4
4
  *
5
- * The version of the OpenAPI document: 0.16.2
5
+ * The version of the OpenAPI document: 0.16.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).