@botpress/client 1.43.0 → 1.44.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 +1 -1
- package/dist/bundle.cjs.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +56 -58
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -311,10 +311,10 @@ interface GetOrCreateConversationRequestBody$1 {
|
|
|
311
311
|
*/
|
|
312
312
|
channel: string;
|
|
313
313
|
/**
|
|
314
|
-
* Tags for the [Conversation](#schema_conversation)
|
|
314
|
+
* Tags for the [Conversation](#schema_conversation). Set to null or empty string to remove.
|
|
315
315
|
*/
|
|
316
316
|
tags: {
|
|
317
|
-
[k: string]: string;
|
|
317
|
+
[k: string]: string | null;
|
|
318
318
|
};
|
|
319
319
|
/**
|
|
320
320
|
* @deprecated
|
|
@@ -322,10 +322,10 @@ interface GetOrCreateConversationRequestBody$1 {
|
|
|
322
322
|
*/
|
|
323
323
|
integrationName?: string;
|
|
324
324
|
/**
|
|
325
|
-
* **EXPERIMENTAL** - Optional shared properties
|
|
325
|
+
* **EXPERIMENTAL** - Optional shared properties. Set individual properties to null or empty string to remove them.
|
|
326
326
|
*/
|
|
327
327
|
properties?: {
|
|
328
|
-
[k: string]: string;
|
|
328
|
+
[k: string]: string | null;
|
|
329
329
|
};
|
|
330
330
|
/**
|
|
331
331
|
* Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
@@ -403,10 +403,10 @@ interface UpdateConversationRequestBody$1 {
|
|
|
403
403
|
*/
|
|
404
404
|
currentTaskId?: string;
|
|
405
405
|
/**
|
|
406
|
-
* Tags for the [Conversation](#schema_conversation)
|
|
406
|
+
* Tags for the [Conversation](#schema_conversation). Set to null or empty string to remove.
|
|
407
407
|
*/
|
|
408
408
|
tags?: {
|
|
409
|
-
[k: string]: string;
|
|
409
|
+
[k: string]: string | null;
|
|
410
410
|
};
|
|
411
411
|
/**
|
|
412
412
|
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
@@ -1019,10 +1019,10 @@ interface GetOrCreateMessageRequestBody$1 {
|
|
|
1019
1019
|
*/
|
|
1020
1020
|
type: string;
|
|
1021
1021
|
/**
|
|
1022
|
-
*
|
|
1022
|
+
* Tags for the message. Set to null or empty string to remove.
|
|
1023
1023
|
*/
|
|
1024
1024
|
tags: {
|
|
1025
|
-
[k: string]: string;
|
|
1025
|
+
[k: string]: string | null;
|
|
1026
1026
|
};
|
|
1027
1027
|
/**
|
|
1028
1028
|
* Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.
|
|
@@ -1170,10 +1170,10 @@ interface UpdateMessageRequestParams$1 {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
interface UpdateMessageRequestBody$1 {
|
|
1172
1172
|
/**
|
|
1173
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [
|
|
1173
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Set to null or empty string to remove.
|
|
1174
1174
|
*/
|
|
1175
|
-
tags
|
|
1176
|
-
[k: string]: string;
|
|
1175
|
+
tags?: {
|
|
1176
|
+
[k: string]: string | null;
|
|
1177
1177
|
};
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
@@ -1879,10 +1879,10 @@ interface GetOrCreateUserRequestParams$1 {
|
|
|
1879
1879
|
}
|
|
1880
1880
|
interface GetOrCreateUserRequestBody$1 {
|
|
1881
1881
|
/**
|
|
1882
|
-
* Tags for the
|
|
1882
|
+
* Tags for the user. Set to null or empty string to remove.
|
|
1883
1883
|
*/
|
|
1884
1884
|
tags: {
|
|
1885
|
-
[k: string]: string;
|
|
1885
|
+
[k: string]: string | null;
|
|
1886
1886
|
};
|
|
1887
1887
|
/**
|
|
1888
1888
|
* @deprecated
|
|
@@ -1898,17 +1898,17 @@ interface GetOrCreateUserRequestBody$1 {
|
|
|
1898
1898
|
*/
|
|
1899
1899
|
pictureUrl?: string;
|
|
1900
1900
|
/**
|
|
1901
|
-
* **EXPERIMENTAL** - Optional shared properties
|
|
1901
|
+
* **EXPERIMENTAL** - Optional shared properties. Set individual properties to null or empty string to remove them.
|
|
1902
1902
|
*/
|
|
1903
1903
|
properties?: {
|
|
1904
|
-
[k: string]: string;
|
|
1904
|
+
[k: string]: string | null;
|
|
1905
1905
|
};
|
|
1906
1906
|
/**
|
|
1907
1907
|
* @deprecated
|
|
1908
1908
|
* DEPRECATED - Use properties instead.
|
|
1909
1909
|
*/
|
|
1910
1910
|
attributes?: {
|
|
1911
|
-
[k: string]: string;
|
|
1911
|
+
[k: string]: string | null;
|
|
1912
1912
|
};
|
|
1913
1913
|
/**
|
|
1914
1914
|
* Optional list of tag names to use for strict matching when looking up existing users. If provided, all specified tags must match exactly for a user to be considered a match. For example, with an existing user whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
@@ -1974,10 +1974,10 @@ interface UpdateUserRequestParams$1 {
|
|
|
1974
1974
|
}
|
|
1975
1975
|
interface UpdateUserRequestBody$1 {
|
|
1976
1976
|
/**
|
|
1977
|
-
* Tags for the [User](#schema_user)
|
|
1977
|
+
* Tags for the [User](#schema_user). Set to null or empty string to remove.
|
|
1978
1978
|
*/
|
|
1979
1979
|
tags?: {
|
|
1980
|
-
[k: string]: string;
|
|
1980
|
+
[k: string]: string | null;
|
|
1981
1981
|
};
|
|
1982
1982
|
/**
|
|
1983
1983
|
* Name of the user
|
|
@@ -2709,10 +2709,10 @@ interface UpdateWorkflowRequestBody$1 {
|
|
|
2709
2709
|
*/
|
|
2710
2710
|
failureReason?: string;
|
|
2711
2711
|
/**
|
|
2712
|
-
* Tags for the [Workflow](#schema_workflow)
|
|
2712
|
+
* Tags for the [Workflow](#schema_workflow). Set to null or empty string to remove.
|
|
2713
2713
|
*/
|
|
2714
2714
|
tags?: {
|
|
2715
|
-
[k: string]: string;
|
|
2715
|
+
[k: string]: string | null;
|
|
2716
2716
|
};
|
|
2717
2717
|
/**
|
|
2718
2718
|
* Specific user related to this workflow
|
|
@@ -6346,12 +6346,6 @@ interface UpdateBotRequestBody$1 {
|
|
|
6346
6346
|
[k: string]: any;
|
|
6347
6347
|
};
|
|
6348
6348
|
};
|
|
6349
|
-
/**
|
|
6350
|
-
* Optional attributes of the [Bot](#schema_bot)
|
|
6351
|
-
*/
|
|
6352
|
-
tags?: {
|
|
6353
|
-
[k: string]: string;
|
|
6354
|
-
};
|
|
6355
6349
|
blocked?: boolean;
|
|
6356
6350
|
/**
|
|
6357
6351
|
* Maximum execution time (in seconds).
|
|
@@ -6361,6 +6355,12 @@ interface UpdateBotRequestBody$1 {
|
|
|
6361
6355
|
* Indicates if the [Bot](#schema_bot) should be in always alive mode
|
|
6362
6356
|
*/
|
|
6363
6357
|
alwaysAlive?: boolean;
|
|
6358
|
+
/**
|
|
6359
|
+
* Optional attributes of the [Bot](#schema_bot). Set to null or empty string to remove.
|
|
6360
|
+
*/
|
|
6361
|
+
tags?: {
|
|
6362
|
+
[k: string]: string | null;
|
|
6363
|
+
};
|
|
6364
6364
|
user?: {
|
|
6365
6365
|
tags?: {
|
|
6366
6366
|
/**
|
|
@@ -8241,6 +8241,7 @@ interface CreateWorkspaceRequestParams$1 {
|
|
|
8241
8241
|
}
|
|
8242
8242
|
interface CreateWorkspaceRequestBody$1 {
|
|
8243
8243
|
name: string;
|
|
8244
|
+
billingVersion?: "v4";
|
|
8244
8245
|
}
|
|
8245
8246
|
type CreateWorkspaceInput$1 = CreateWorkspaceRequestBody$1 & CreateWorkspaceRequestHeaders$1 & CreateWorkspaceRequestQuery$1 & CreateWorkspaceRequestParams$1;
|
|
8246
8247
|
interface CreateWorkspaceResponse$1 {
|
|
@@ -15515,9 +15516,7 @@ interface GetAddonResponse$1 {
|
|
|
15515
15516
|
* Addon unit price in dollars per month
|
|
15516
15517
|
*/
|
|
15517
15518
|
price: number;
|
|
15518
|
-
|
|
15519
|
-
increment: number;
|
|
15520
|
-
increments?: {
|
|
15519
|
+
increments: {
|
|
15521
15520
|
[k: string]: number;
|
|
15522
15521
|
};
|
|
15523
15522
|
metadata?: {
|
|
@@ -15543,9 +15542,7 @@ interface GetAddonResponse {
|
|
|
15543
15542
|
* Addon unit price in dollars per month
|
|
15544
15543
|
*/
|
|
15545
15544
|
price: number;
|
|
15546
|
-
|
|
15547
|
-
increment: number;
|
|
15548
|
-
increments?: {
|
|
15545
|
+
increments: {
|
|
15549
15546
|
[k: string]: number;
|
|
15550
15547
|
};
|
|
15551
15548
|
metadata?: {
|
|
@@ -19551,10 +19548,10 @@ interface GetOrCreateConversationRequestBody {
|
|
|
19551
19548
|
*/
|
|
19552
19549
|
channel: string;
|
|
19553
19550
|
/**
|
|
19554
|
-
* Tags for the [Conversation](#schema_conversation)
|
|
19551
|
+
* Tags for the [Conversation](#schema_conversation). Set to null or empty string to remove.
|
|
19555
19552
|
*/
|
|
19556
19553
|
tags: {
|
|
19557
|
-
[k: string]: string;
|
|
19554
|
+
[k: string]: string | null;
|
|
19558
19555
|
};
|
|
19559
19556
|
/**
|
|
19560
19557
|
* @deprecated
|
|
@@ -19562,10 +19559,10 @@ interface GetOrCreateConversationRequestBody {
|
|
|
19562
19559
|
*/
|
|
19563
19560
|
integrationName?: string;
|
|
19564
19561
|
/**
|
|
19565
|
-
* **EXPERIMENTAL** - Optional shared properties
|
|
19562
|
+
* **EXPERIMENTAL** - Optional shared properties. Set individual properties to null or empty string to remove them.
|
|
19566
19563
|
*/
|
|
19567
19564
|
properties?: {
|
|
19568
|
-
[k: string]: string;
|
|
19565
|
+
[k: string]: string | null;
|
|
19569
19566
|
};
|
|
19570
19567
|
/**
|
|
19571
19568
|
* Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
@@ -19643,10 +19640,10 @@ interface UpdateConversationRequestBody {
|
|
|
19643
19640
|
*/
|
|
19644
19641
|
currentTaskId?: string;
|
|
19645
19642
|
/**
|
|
19646
|
-
* Tags for the [Conversation](#schema_conversation)
|
|
19643
|
+
* Tags for the [Conversation](#schema_conversation). Set to null or empty string to remove.
|
|
19647
19644
|
*/
|
|
19648
19645
|
tags?: {
|
|
19649
|
-
[k: string]: string;
|
|
19646
|
+
[k: string]: string | null;
|
|
19650
19647
|
};
|
|
19651
19648
|
/**
|
|
19652
19649
|
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
@@ -20259,10 +20256,10 @@ interface GetOrCreateMessageRequestBody {
|
|
|
20259
20256
|
*/
|
|
20260
20257
|
type: string;
|
|
20261
20258
|
/**
|
|
20262
|
-
*
|
|
20259
|
+
* Tags for the message. Set to null or empty string to remove.
|
|
20263
20260
|
*/
|
|
20264
20261
|
tags: {
|
|
20265
|
-
[k: string]: string;
|
|
20262
|
+
[k: string]: string | null;
|
|
20266
20263
|
};
|
|
20267
20264
|
/**
|
|
20268
20265
|
* Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.
|
|
@@ -20410,10 +20407,10 @@ interface UpdateMessageRequestParams {
|
|
|
20410
20407
|
}
|
|
20411
20408
|
interface UpdateMessageRequestBody {
|
|
20412
20409
|
/**
|
|
20413
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [
|
|
20410
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Set to null or empty string to remove.
|
|
20414
20411
|
*/
|
|
20415
|
-
tags
|
|
20416
|
-
[k: string]: string;
|
|
20412
|
+
tags?: {
|
|
20413
|
+
[k: string]: string | null;
|
|
20417
20414
|
};
|
|
20418
20415
|
/**
|
|
20419
20416
|
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
@@ -21119,10 +21116,10 @@ interface GetOrCreateUserRequestParams {
|
|
|
21119
21116
|
}
|
|
21120
21117
|
interface GetOrCreateUserRequestBody {
|
|
21121
21118
|
/**
|
|
21122
|
-
* Tags for the
|
|
21119
|
+
* Tags for the user. Set to null or empty string to remove.
|
|
21123
21120
|
*/
|
|
21124
21121
|
tags: {
|
|
21125
|
-
[k: string]: string;
|
|
21122
|
+
[k: string]: string | null;
|
|
21126
21123
|
};
|
|
21127
21124
|
/**
|
|
21128
21125
|
* @deprecated
|
|
@@ -21138,17 +21135,17 @@ interface GetOrCreateUserRequestBody {
|
|
|
21138
21135
|
*/
|
|
21139
21136
|
pictureUrl?: string;
|
|
21140
21137
|
/**
|
|
21141
|
-
* **EXPERIMENTAL** - Optional shared properties
|
|
21138
|
+
* **EXPERIMENTAL** - Optional shared properties. Set individual properties to null or empty string to remove them.
|
|
21142
21139
|
*/
|
|
21143
21140
|
properties?: {
|
|
21144
|
-
[k: string]: string;
|
|
21141
|
+
[k: string]: string | null;
|
|
21145
21142
|
};
|
|
21146
21143
|
/**
|
|
21147
21144
|
* @deprecated
|
|
21148
21145
|
* DEPRECATED - Use properties instead.
|
|
21149
21146
|
*/
|
|
21150
21147
|
attributes?: {
|
|
21151
|
-
[k: string]: string;
|
|
21148
|
+
[k: string]: string | null;
|
|
21152
21149
|
};
|
|
21153
21150
|
/**
|
|
21154
21151
|
* Optional list of tag names to use for strict matching when looking up existing users. If provided, all specified tags must match exactly for a user to be considered a match. For example, with an existing user whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
@@ -21214,10 +21211,10 @@ interface UpdateUserRequestParams {
|
|
|
21214
21211
|
}
|
|
21215
21212
|
interface UpdateUserRequestBody {
|
|
21216
21213
|
/**
|
|
21217
|
-
* Tags for the [User](#schema_user)
|
|
21214
|
+
* Tags for the [User](#schema_user). Set to null or empty string to remove.
|
|
21218
21215
|
*/
|
|
21219
21216
|
tags?: {
|
|
21220
|
-
[k: string]: string;
|
|
21217
|
+
[k: string]: string | null;
|
|
21221
21218
|
};
|
|
21222
21219
|
/**
|
|
21223
21220
|
* Name of the user
|
|
@@ -21949,10 +21946,10 @@ interface UpdateWorkflowRequestBody {
|
|
|
21949
21946
|
*/
|
|
21950
21947
|
failureReason?: string;
|
|
21951
21948
|
/**
|
|
21952
|
-
* Tags for the [Workflow](#schema_workflow)
|
|
21949
|
+
* Tags for the [Workflow](#schema_workflow). Set to null or empty string to remove.
|
|
21953
21950
|
*/
|
|
21954
21951
|
tags?: {
|
|
21955
|
-
[k: string]: string;
|
|
21952
|
+
[k: string]: string | null;
|
|
21956
21953
|
};
|
|
21957
21954
|
/**
|
|
21958
21955
|
* Specific user related to this workflow
|
|
@@ -25373,12 +25370,6 @@ interface UpdateBotRequestBody {
|
|
|
25373
25370
|
[k: string]: any;
|
|
25374
25371
|
};
|
|
25375
25372
|
};
|
|
25376
|
-
/**
|
|
25377
|
-
* Optional attributes of the [Bot](#schema_bot)
|
|
25378
|
-
*/
|
|
25379
|
-
tags?: {
|
|
25380
|
-
[k: string]: string;
|
|
25381
|
-
};
|
|
25382
25373
|
blocked?: boolean;
|
|
25383
25374
|
/**
|
|
25384
25375
|
* Maximum execution time (in seconds).
|
|
@@ -25388,6 +25379,12 @@ interface UpdateBotRequestBody {
|
|
|
25388
25379
|
* Indicates if the [Bot](#schema_bot) should be in always alive mode
|
|
25389
25380
|
*/
|
|
25390
25381
|
alwaysAlive?: boolean;
|
|
25382
|
+
/**
|
|
25383
|
+
* Optional attributes of the [Bot](#schema_bot). Set to null or empty string to remove.
|
|
25384
|
+
*/
|
|
25385
|
+
tags?: {
|
|
25386
|
+
[k: string]: string | null;
|
|
25387
|
+
};
|
|
25391
25388
|
user?: {
|
|
25392
25389
|
tags?: {
|
|
25393
25390
|
/**
|
|
@@ -27268,6 +27265,7 @@ interface CreateWorkspaceRequestParams {
|
|
|
27268
27265
|
}
|
|
27269
27266
|
interface CreateWorkspaceRequestBody {
|
|
27270
27267
|
name: string;
|
|
27268
|
+
billingVersion?: "v4";
|
|
27271
27269
|
}
|
|
27272
27270
|
type CreateWorkspaceInput = CreateWorkspaceRequestBody & CreateWorkspaceRequestHeaders & CreateWorkspaceRequestQuery & CreateWorkspaceRequestParams;
|
|
27273
27271
|
interface CreateWorkspaceResponse {
|