@botpress/api 1.59.0 → 1.60.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/index.js +45 -5
- package/dist/src/gen/admin/state.d.ts +14 -0
- package/dist/src/gen/runtime/state.d.ts +7 -1
- package/dist/src/gen/state.d.ts +21 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -279006,7 +279006,7 @@ var state = {
|
|
|
279006
279006
|
"title": "Botpress Runtime API",
|
|
279007
279007
|
"description": "API for Botpress Runtime",
|
|
279008
279008
|
"server": "https://api.botpress.cloud",
|
|
279009
|
-
"version": "1.
|
|
279009
|
+
"version": "1.60.0",
|
|
279010
279010
|
"prefix": "v1"
|
|
279011
279011
|
},
|
|
279012
279012
|
"defaultParameters": {
|
|
@@ -279915,6 +279915,12 @@ var state = {
|
|
|
279915
279915
|
"operations": [
|
|
279916
279916
|
"listTagValues"
|
|
279917
279917
|
]
|
|
279918
|
+
},
|
|
279919
|
+
{
|
|
279920
|
+
"description": "",
|
|
279921
|
+
"title": "Rate Limit",
|
|
279922
|
+
"name": "ratelimit",
|
|
279923
|
+
"operations": []
|
|
279918
279924
|
}
|
|
279919
279925
|
],
|
|
279920
279926
|
"options": {
|
|
@@ -284755,6 +284761,11 @@ var state2 = {
|
|
|
284755
284761
|
"minLength": 1,
|
|
284756
284762
|
"description": "Optional name for the bot, if not provided will be auto-generated"
|
|
284757
284763
|
},
|
|
284764
|
+
"description": {
|
|
284765
|
+
"type": "string",
|
|
284766
|
+
"maxLength": 2e3,
|
|
284767
|
+
"description": "Optional description for the bot"
|
|
284768
|
+
},
|
|
284758
284769
|
"medias": {
|
|
284759
284770
|
"type": "array",
|
|
284760
284771
|
"items": {
|
|
@@ -285278,6 +285289,11 @@ var state2 = {
|
|
|
285278
285289
|
"minLength": 1,
|
|
285279
285290
|
"description": "Optional name for the bot, if not provided will be auto-generated"
|
|
285280
285291
|
},
|
|
285292
|
+
"description": {
|
|
285293
|
+
"type": "string",
|
|
285294
|
+
"maxLength": 2e3,
|
|
285295
|
+
"description": "Optional description for the bot"
|
|
285296
|
+
},
|
|
285281
285297
|
"medias": {
|
|
285282
285298
|
"type": "array",
|
|
285283
285299
|
"items": {
|
|
@@ -295385,7 +295401,7 @@ var state2 = {
|
|
|
295385
295401
|
"title": "Botpress Admin API",
|
|
295386
295402
|
"description": "API for Botpress Cloud Manager",
|
|
295387
295403
|
"server": "https://api.botpress.cloud",
|
|
295388
|
-
"version": "1.
|
|
295404
|
+
"version": "1.60.0",
|
|
295389
295405
|
"prefix": "v1"
|
|
295390
295406
|
},
|
|
295391
295407
|
"defaultParameters": {
|
|
@@ -296355,6 +296371,10 @@ var state2 = {
|
|
|
296355
296371
|
"type": "string",
|
|
296356
296372
|
"description": "Name of the [Bot](#schema_bot)"
|
|
296357
296373
|
},
|
|
296374
|
+
"description": {
|
|
296375
|
+
"type": "string",
|
|
296376
|
+
"description": "Description of the [Bot](#schema_bot)"
|
|
296377
|
+
},
|
|
296358
296378
|
"deployedAt": {
|
|
296359
296379
|
"type": "string",
|
|
296360
296380
|
"format": "date-time",
|
|
@@ -300877,7 +300897,7 @@ var state3 = {
|
|
|
300877
300897
|
"title": "Botpress Files API",
|
|
300878
300898
|
"description": "API for Botpress Files",
|
|
300879
300899
|
"server": "https://api.botpress.cloud",
|
|
300880
|
-
"version": "1.
|
|
300900
|
+
"version": "1.60.0",
|
|
300881
300901
|
"prefix": "v1"
|
|
300882
300902
|
},
|
|
300883
300903
|
"defaultParameters": {
|
|
@@ -303162,7 +303182,7 @@ var state4 = {
|
|
|
303162
303182
|
"title": "Botpress Tables API",
|
|
303163
303183
|
"description": "API for Botpress Tables",
|
|
303164
303184
|
"server": "https://api.botpress.cloud",
|
|
303165
|
-
"version": "1.
|
|
303185
|
+
"version": "1.60.0",
|
|
303166
303186
|
"prefix": "v1"
|
|
303167
303187
|
},
|
|
303168
303188
|
"defaultParameters": {
|
|
@@ -311309,6 +311329,11 @@ var state5 = {
|
|
|
311309
311329
|
"minLength": 1,
|
|
311310
311330
|
"description": "Optional name for the bot, if not provided will be auto-generated"
|
|
311311
311331
|
},
|
|
311332
|
+
"description": {
|
|
311333
|
+
"type": "string",
|
|
311334
|
+
"maxLength": 2e3,
|
|
311335
|
+
"description": "Optional description for the bot"
|
|
311336
|
+
},
|
|
311312
311337
|
"medias": {
|
|
311313
311338
|
"type": "array",
|
|
311314
311339
|
"items": {
|
|
@@ -311807,6 +311832,11 @@ var state5 = {
|
|
|
311807
311832
|
"minLength": 1,
|
|
311808
311833
|
"description": "Optional name for the bot, if not provided will be auto-generated"
|
|
311809
311834
|
},
|
|
311835
|
+
"description": {
|
|
311836
|
+
"type": "string",
|
|
311837
|
+
"maxLength": 2e3,
|
|
311838
|
+
"description": "Optional description for the bot"
|
|
311839
|
+
},
|
|
311810
311840
|
"medias": {
|
|
311811
311841
|
"type": "array",
|
|
311812
311842
|
"items": {
|
|
@@ -324206,7 +324236,7 @@ var state5 = {
|
|
|
324206
324236
|
"title": "Botpress API",
|
|
324207
324237
|
"description": "API for Botpress Cloud",
|
|
324208
324238
|
"server": "https://api.botpress.cloud",
|
|
324209
|
-
"version": "1.
|
|
324239
|
+
"version": "1.60.0",
|
|
324210
324240
|
"prefix": "v1"
|
|
324211
324241
|
},
|
|
324212
324242
|
"errors": [
|
|
@@ -325291,6 +325321,10 @@ var state5 = {
|
|
|
325291
325321
|
"type": "string",
|
|
325292
325322
|
"description": "Name of the [Bot](#schema_bot)"
|
|
325293
325323
|
},
|
|
325324
|
+
"description": {
|
|
325325
|
+
"type": "string",
|
|
325326
|
+
"description": "Description of the [Bot](#schema_bot)"
|
|
325327
|
+
},
|
|
325294
325328
|
"deployedAt": {
|
|
325295
325329
|
"type": "string",
|
|
325296
325330
|
"format": "date-time",
|
|
@@ -328390,6 +328424,12 @@ var state5 = {
|
|
|
328390
328424
|
"listTagValues"
|
|
328391
328425
|
]
|
|
328392
328426
|
},
|
|
328427
|
+
{
|
|
328428
|
+
"description": "",
|
|
328429
|
+
"title": "Rate Limit",
|
|
328430
|
+
"name": "ratelimit",
|
|
328431
|
+
"operations": []
|
|
328432
|
+
},
|
|
328393
328433
|
{
|
|
328394
328434
|
"title": "Bot",
|
|
328395
328435
|
"description": "",
|
|
@@ -4176,6 +4176,11 @@ export declare const state: {
|
|
|
4176
4176
|
minLength: number;
|
|
4177
4177
|
description: string;
|
|
4178
4178
|
};
|
|
4179
|
+
description: {
|
|
4180
|
+
type: "string";
|
|
4181
|
+
maxLength: number;
|
|
4182
|
+
description: string;
|
|
4183
|
+
};
|
|
4179
4184
|
medias: {
|
|
4180
4185
|
type: "array";
|
|
4181
4186
|
items: {
|
|
@@ -4658,6 +4663,11 @@ export declare const state: {
|
|
|
4658
4663
|
minLength: number;
|
|
4659
4664
|
description: string;
|
|
4660
4665
|
};
|
|
4666
|
+
description: {
|
|
4667
|
+
type: "string";
|
|
4668
|
+
maxLength: number;
|
|
4669
|
+
description: string;
|
|
4670
|
+
};
|
|
4661
4671
|
medias: {
|
|
4662
4672
|
type: "array";
|
|
4663
4673
|
items: {
|
|
@@ -14414,6 +14424,10 @@ export declare const state: {
|
|
|
14414
14424
|
type: "string";
|
|
14415
14425
|
description: string;
|
|
14416
14426
|
};
|
|
14427
|
+
description: {
|
|
14428
|
+
type: "string";
|
|
14429
|
+
description: string;
|
|
14430
|
+
};
|
|
14417
14431
|
deployedAt: {
|
|
14418
14432
|
type: "string";
|
|
14419
14433
|
format: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as opapi from '@bpinternal/opapi';
|
|
2
|
-
export type State = opapi.State<'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow', 'x-bot-id' | 'x-integration-id' | 'x-integration-alias', 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag'>;
|
|
2
|
+
export type State = opapi.State<'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow', 'x-bot-id' | 'x-integration-id' | 'x-integration-alias', 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'ratelimit'>;
|
|
3
3
|
export declare const state: {
|
|
4
4
|
operations: {
|
|
5
5
|
createConversation: {
|
|
@@ -3979,6 +3979,12 @@ export declare const state: {
|
|
|
3979
3979
|
name: "tag";
|
|
3980
3980
|
operations: string[];
|
|
3981
3981
|
schema?: undefined;
|
|
3982
|
+
} | {
|
|
3983
|
+
description: string;
|
|
3984
|
+
title: string;
|
|
3985
|
+
name: "ratelimit";
|
|
3986
|
+
operations: never[];
|
|
3987
|
+
schema?: undefined;
|
|
3982
3988
|
})[];
|
|
3983
3989
|
options: {
|
|
3984
3990
|
allowUnions: false;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as opapi from '@bpinternal/opapi';
|
|
2
|
-
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
|
|
2
|
+
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'ratelimit' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
|
|
3
3
|
export declare const state: {
|
|
4
4
|
operations: {
|
|
5
5
|
createConversation: {
|
|
@@ -6499,6 +6499,11 @@ export declare const state: {
|
|
|
6499
6499
|
minLength: number;
|
|
6500
6500
|
description: string;
|
|
6501
6501
|
};
|
|
6502
|
+
description: {
|
|
6503
|
+
type: "string";
|
|
6504
|
+
maxLength: number;
|
|
6505
|
+
description: string;
|
|
6506
|
+
};
|
|
6502
6507
|
medias: {
|
|
6503
6508
|
type: "array";
|
|
6504
6509
|
items: {
|
|
@@ -6956,6 +6961,11 @@ export declare const state: {
|
|
|
6956
6961
|
minLength: number;
|
|
6957
6962
|
description: string;
|
|
6958
6963
|
};
|
|
6964
|
+
description: {
|
|
6965
|
+
type: "string";
|
|
6966
|
+
maxLength: number;
|
|
6967
|
+
description: string;
|
|
6968
|
+
};
|
|
6959
6969
|
medias: {
|
|
6960
6970
|
type: "array";
|
|
6961
6971
|
items: {
|
|
@@ -18631,6 +18641,10 @@ export declare const state: {
|
|
|
18631
18641
|
type: "string";
|
|
18632
18642
|
description: string;
|
|
18633
18643
|
};
|
|
18644
|
+
description: {
|
|
18645
|
+
type: "string";
|
|
18646
|
+
description: string;
|
|
18647
|
+
};
|
|
18634
18648
|
deployedAt: {
|
|
18635
18649
|
type: "string";
|
|
18636
18650
|
format: string;
|
|
@@ -21129,6 +21143,12 @@ export declare const state: {
|
|
|
21129
21143
|
name: "tag";
|
|
21130
21144
|
operations: string[];
|
|
21131
21145
|
schema?: undefined;
|
|
21146
|
+
} | {
|
|
21147
|
+
description: string;
|
|
21148
|
+
title: string;
|
|
21149
|
+
name: "ratelimit";
|
|
21150
|
+
operations: never[];
|
|
21151
|
+
schema?: undefined;
|
|
21132
21152
|
} | {
|
|
21133
21153
|
title: string;
|
|
21134
21154
|
description: string;
|