@botpress/client 0.11.2 → 0.11.3
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.map +2 -2
- package/dist/gen/api.d.ts +26 -8
- package/dist/gen/base.d.ts +1 -1
- package/dist/gen/common.d.ts +1 -1
- package/dist/gen/configuration.d.ts +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/index.cjs.map +2 -2
- package/package.json +2 -2
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.16.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1183,7 +1183,7 @@ export interface CreateBotBodyRecurringEventsValueSchedule {
|
|
|
1183
1183
|
*/
|
|
1184
1184
|
export interface CreateBotBodyStatesValue {
|
|
1185
1185
|
/**
|
|
1186
|
-
* Type of the [State](#schema_state) (`conversation`, `user` or `
|
|
1186
|
+
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
1187
1187
|
* @type {string}
|
|
1188
1188
|
* @memberof CreateBotBodyStatesValue
|
|
1189
1189
|
*/
|
|
@@ -1207,6 +1207,7 @@ export declare const CreateBotBodyStatesValueTypeEnum: {
|
|
|
1207
1207
|
readonly Conversation: "conversation";
|
|
1208
1208
|
readonly User: "user";
|
|
1209
1209
|
readonly Bot: "bot";
|
|
1210
|
+
readonly Task: "task";
|
|
1210
1211
|
};
|
|
1211
1212
|
export type CreateBotBodyStatesValueTypeEnum = typeof CreateBotBodyStatesValueTypeEnum[keyof typeof CreateBotBodyStatesValueTypeEnum];
|
|
1212
1213
|
/**
|
|
@@ -4928,7 +4929,7 @@ export interface State {
|
|
|
4928
4929
|
*/
|
|
4929
4930
|
'name': string;
|
|
4930
4931
|
/**
|
|
4931
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot` or `integration`) that the state is related to
|
|
4932
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `task` or `integration`) that the state is related to
|
|
4932
4933
|
* @type {string}
|
|
4933
4934
|
* @memberof State
|
|
4934
4935
|
*/
|
|
@@ -4946,6 +4947,7 @@ export declare const StateTypeEnum: {
|
|
|
4946
4947
|
readonly Conversation: "conversation";
|
|
4947
4948
|
readonly User: "user";
|
|
4948
4949
|
readonly Bot: "bot";
|
|
4950
|
+
readonly Task: "task";
|
|
4949
4951
|
readonly Integration: "integration";
|
|
4950
4952
|
};
|
|
4951
4953
|
export type StateTypeEnum = typeof StateTypeEnum[keyof typeof StateTypeEnum];
|
|
@@ -5104,6 +5106,12 @@ export interface TableSchemaPropertiesValueXZui {
|
|
|
5104
5106
|
* @memberof TableSchemaPropertiesValueXZui
|
|
5105
5107
|
*/
|
|
5106
5108
|
'index': number;
|
|
5109
|
+
/**
|
|
5110
|
+
* [deprecated] ID of the column.
|
|
5111
|
+
* @type {string}
|
|
5112
|
+
* @memberof TableSchemaPropertiesValueXZui
|
|
5113
|
+
*/
|
|
5114
|
+
'id'?: string;
|
|
5107
5115
|
/**
|
|
5108
5116
|
* Indicates if the column is vectorized and searchable.
|
|
5109
5117
|
* @type {boolean}
|
|
@@ -5433,7 +5441,7 @@ export interface UpdateBotBodyRecurringEventsValue {
|
|
|
5433
5441
|
*/
|
|
5434
5442
|
export interface UpdateBotBodyStatesValue {
|
|
5435
5443
|
/**
|
|
5436
|
-
* Type of the [State](#schema_state) (`conversation`, `user` or `
|
|
5444
|
+
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
5437
5445
|
* @type {string}
|
|
5438
5446
|
* @memberof UpdateBotBodyStatesValue
|
|
5439
5447
|
*/
|
|
@@ -5457,6 +5465,7 @@ export declare const UpdateBotBodyStatesValueTypeEnum: {
|
|
|
5457
5465
|
readonly Conversation: "conversation";
|
|
5458
5466
|
readonly User: "user";
|
|
5459
5467
|
readonly Bot: "bot";
|
|
5468
|
+
readonly Task: "task";
|
|
5460
5469
|
};
|
|
5461
5470
|
export type UpdateBotBodyStatesValueTypeEnum = typeof UpdateBotBodyStatesValueTypeEnum[keyof typeof UpdateBotBodyStatesValueTypeEnum];
|
|
5462
5471
|
/**
|
|
@@ -5529,12 +5538,18 @@ export interface UpdateBotResponse {
|
|
|
5529
5538
|
* @interface UpdateConversationBody
|
|
5530
5539
|
*/
|
|
5531
5540
|
export interface UpdateConversationBody {
|
|
5541
|
+
/**
|
|
5542
|
+
*
|
|
5543
|
+
* @type {string}
|
|
5544
|
+
* @memberof UpdateConversationBody
|
|
5545
|
+
*/
|
|
5546
|
+
'currentTaskId'?: string;
|
|
5532
5547
|
/**
|
|
5533
5548
|
* Tags for the [Conversation](#schema_conversation)
|
|
5534
5549
|
* @type {{ [key: string]: string; }}
|
|
5535
5550
|
* @memberof UpdateConversationBody
|
|
5536
5551
|
*/
|
|
5537
|
-
'tags'
|
|
5552
|
+
'tags'?: {
|
|
5538
5553
|
[key: string]: string;
|
|
5539
5554
|
};
|
|
5540
5555
|
}
|
|
@@ -9629,7 +9644,7 @@ export interface DefaultApiGetPublicIntegrationByIdRequest {
|
|
|
9629
9644
|
export interface DefaultApiGetStateRequest {
|
|
9630
9645
|
/**
|
|
9631
9646
|
* State type
|
|
9632
|
-
* @type {'conversation' | 'user' | 'bot' | 'integration'}
|
|
9647
|
+
* @type {'conversation' | 'user' | 'bot' | 'integration' | 'task'}
|
|
9633
9648
|
* @memberof DefaultApiGetState
|
|
9634
9649
|
*/
|
|
9635
9650
|
readonly type: GetStateTypeEnum;
|
|
@@ -10216,7 +10231,7 @@ export interface DefaultApiListWorkspacesRequest {
|
|
|
10216
10231
|
export interface DefaultApiPatchStateRequest {
|
|
10217
10232
|
/**
|
|
10218
10233
|
* State type
|
|
10219
|
-
* @type {'conversation' | 'user' | 'bot' | 'integration'}
|
|
10234
|
+
* @type {'conversation' | 'user' | 'bot' | 'integration' | 'task'}
|
|
10220
10235
|
* @memberof DefaultApiPatchState
|
|
10221
10236
|
*/
|
|
10222
10237
|
readonly type: PatchStateTypeEnum;
|
|
@@ -10298,7 +10313,7 @@ export interface DefaultApiSetAccountPreferenceRequest {
|
|
|
10298
10313
|
export interface DefaultApiSetStateRequest {
|
|
10299
10314
|
/**
|
|
10300
10315
|
* State type
|
|
10301
|
-
* @type {'conversation' | 'user' | 'bot' | 'integration'}
|
|
10316
|
+
* @type {'conversation' | 'user' | 'bot' | 'integration' | 'task'}
|
|
10302
10317
|
* @memberof DefaultApiSetState
|
|
10303
10318
|
*/
|
|
10304
10319
|
readonly type: SetStateTypeEnum;
|
|
@@ -11315,6 +11330,7 @@ export declare const GetStateTypeEnum: {
|
|
|
11315
11330
|
readonly User: "user";
|
|
11316
11331
|
readonly Bot: "bot";
|
|
11317
11332
|
readonly Integration: "integration";
|
|
11333
|
+
readonly Task: "task";
|
|
11318
11334
|
};
|
|
11319
11335
|
export type GetStateTypeEnum = typeof GetStateTypeEnum[keyof typeof GetStateTypeEnum];
|
|
11320
11336
|
/**
|
|
@@ -11415,6 +11431,7 @@ export declare const PatchStateTypeEnum: {
|
|
|
11415
11431
|
readonly User: "user";
|
|
11416
11432
|
readonly Bot: "bot";
|
|
11417
11433
|
readonly Integration: "integration";
|
|
11434
|
+
readonly Task: "task";
|
|
11418
11435
|
};
|
|
11419
11436
|
export type PatchStateTypeEnum = typeof PatchStateTypeEnum[keyof typeof PatchStateTypeEnum];
|
|
11420
11437
|
/**
|
|
@@ -11425,5 +11442,6 @@ export declare const SetStateTypeEnum: {
|
|
|
11425
11442
|
readonly User: "user";
|
|
11426
11443
|
readonly Bot: "bot";
|
|
11427
11444
|
readonly Integration: "integration";
|
|
11445
|
+
readonly Task: "task";
|
|
11428
11446
|
};
|
|
11429
11447
|
export type SetStateTypeEnum = typeof SetStateTypeEnum[keyof typeof SetStateTypeEnum];
|
package/dist/gen/base.d.ts
CHANGED
package/dist/gen/common.d.ts
CHANGED
package/dist/gen/index.d.ts
CHANGED