@botpress/api 1.16.0 → 1.18.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 +419 -9
- package/dist/src/gen/admin/state.d.ts +168 -0
- package/dist/src/gen/files/state.d.ts +24 -0
- package/dist/src/gen/runtime/state.d.ts +24 -0
- package/dist/src/gen/state.d.ts +168 -0
- package/dist/src/gen/tables/state.d.ts +24 -0
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +172 -3
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +25 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +25 -1
- package/src/gen/state.ts +172 -3
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +25 -1
package/src/gen/runtime/state.ts
CHANGED
|
@@ -2604,7 +2604,7 @@ export const state = {
|
|
|
2604
2604
|
"title": "Botpress API",
|
|
2605
2605
|
"description": "API for Botpress Cloud",
|
|
2606
2606
|
"server": "https://api.botpress.cloud",
|
|
2607
|
-
"version": "1.
|
|
2607
|
+
"version": "1.18.0",
|
|
2608
2608
|
"prefix": "v1"
|
|
2609
2609
|
},
|
|
2610
2610
|
"errors": [
|
|
@@ -4054,6 +4054,14 @@ export const state = {
|
|
|
4054
4054
|
"additionalProperties": false
|
|
4055
4055
|
}
|
|
4056
4056
|
},
|
|
4057
|
+
"attributes": {
|
|
4058
|
+
"type": "object",
|
|
4059
|
+
"additionalProperties": {
|
|
4060
|
+
"type": "string",
|
|
4061
|
+
"maxLength": 200
|
|
4062
|
+
},
|
|
4063
|
+
"description": "Optional attributes"
|
|
4064
|
+
},
|
|
4057
4065
|
"dev": {
|
|
4058
4066
|
"type": "boolean",
|
|
4059
4067
|
"description": "Indicates if the integration is a development integration; Dev integrations run locally"
|
|
@@ -4343,6 +4351,14 @@ export const state = {
|
|
|
4343
4351
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
4344
4352
|
"additionalProperties": false
|
|
4345
4353
|
},
|
|
4354
|
+
"attributes": {
|
|
4355
|
+
"type": "object",
|
|
4356
|
+
"additionalProperties": {
|
|
4357
|
+
"type": "string",
|
|
4358
|
+
"maxLength": 200
|
|
4359
|
+
},
|
|
4360
|
+
"description": "Optional attributes"
|
|
4361
|
+
},
|
|
4346
4362
|
"title": {
|
|
4347
4363
|
"type": "string",
|
|
4348
4364
|
"minLength": 1,
|
|
@@ -4698,6 +4714,14 @@ export const state = {
|
|
|
4698
4714
|
"description": "Conversation object configuration",
|
|
4699
4715
|
"additionalProperties": false
|
|
4700
4716
|
},
|
|
4717
|
+
"attributes": {
|
|
4718
|
+
"type": "object",
|
|
4719
|
+
"additionalProperties": {
|
|
4720
|
+
"type": "string",
|
|
4721
|
+
"maxLength": 200
|
|
4722
|
+
},
|
|
4723
|
+
"description": "Optional attributes"
|
|
4724
|
+
},
|
|
4701
4725
|
"title": {
|
|
4702
4726
|
"type": "string",
|
|
4703
4727
|
"minLength": 1,
|
package/src/gen/state.ts
CHANGED
|
@@ -3848,6 +3848,14 @@ export const state = {
|
|
|
3848
3848
|
"additionalProperties": false
|
|
3849
3849
|
}
|
|
3850
3850
|
},
|
|
3851
|
+
"attributes": {
|
|
3852
|
+
"type": "object",
|
|
3853
|
+
"additionalProperties": {
|
|
3854
|
+
"type": "string",
|
|
3855
|
+
"maxLength": 200
|
|
3856
|
+
},
|
|
3857
|
+
"description": "Optional attributes"
|
|
3858
|
+
},
|
|
3851
3859
|
"dev": {
|
|
3852
3860
|
"type": "boolean",
|
|
3853
3861
|
"description": "Indicates if the integration is a development integration; Dev integrations run locally"
|
|
@@ -4581,6 +4589,14 @@ export const state = {
|
|
|
4581
4589
|
"additionalProperties": false
|
|
4582
4590
|
}
|
|
4583
4591
|
},
|
|
4592
|
+
"attributes": {
|
|
4593
|
+
"type": "object",
|
|
4594
|
+
"additionalProperties": {
|
|
4595
|
+
"type": "string",
|
|
4596
|
+
"maxLength": 200
|
|
4597
|
+
},
|
|
4598
|
+
"description": "Optional attributes"
|
|
4599
|
+
},
|
|
4584
4600
|
"dev": {
|
|
4585
4601
|
"type": "boolean",
|
|
4586
4602
|
"description": "Indicates if the integration is a development integration; Dev integrations run locally"
|
|
@@ -5153,6 +5169,14 @@ export const state = {
|
|
|
5153
5169
|
"description": "Conversation object configuration",
|
|
5154
5170
|
"additionalProperties": false
|
|
5155
5171
|
},
|
|
5172
|
+
"attributes": {
|
|
5173
|
+
"type": "object",
|
|
5174
|
+
"additionalProperties": {
|
|
5175
|
+
"type": "string",
|
|
5176
|
+
"maxLength": 200
|
|
5177
|
+
},
|
|
5178
|
+
"description": "Optional attributes"
|
|
5179
|
+
},
|
|
5156
5180
|
"title": {
|
|
5157
5181
|
"type": "string",
|
|
5158
5182
|
"minLength": 1,
|
|
@@ -5543,6 +5567,14 @@ export const state = {
|
|
|
5543
5567
|
"description": "Conversation object configuration",
|
|
5544
5568
|
"additionalProperties": false
|
|
5545
5569
|
},
|
|
5570
|
+
"attributes": {
|
|
5571
|
+
"type": "object",
|
|
5572
|
+
"additionalProperties": {
|
|
5573
|
+
"type": "string",
|
|
5574
|
+
"maxLength": 200
|
|
5575
|
+
},
|
|
5576
|
+
"description": "Optional attributes"
|
|
5577
|
+
},
|
|
5546
5578
|
"title": {
|
|
5547
5579
|
"type": "string",
|
|
5548
5580
|
"minLength": 1,
|
|
@@ -5993,6 +6025,14 @@ export const state = {
|
|
|
5993
6025
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
5994
6026
|
"additionalProperties": false
|
|
5995
6027
|
},
|
|
6028
|
+
"attributes": {
|
|
6029
|
+
"type": "object",
|
|
6030
|
+
"additionalProperties": {
|
|
6031
|
+
"type": "string",
|
|
6032
|
+
"maxLength": 200
|
|
6033
|
+
},
|
|
6034
|
+
"description": "Optional attributes"
|
|
6035
|
+
},
|
|
5996
6036
|
"title": {
|
|
5997
6037
|
"type": "string",
|
|
5998
6038
|
"minLength": 1,
|
|
@@ -6283,6 +6323,14 @@ export const state = {
|
|
|
6283
6323
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
6284
6324
|
"additionalProperties": false
|
|
6285
6325
|
},
|
|
6326
|
+
"attributes": {
|
|
6327
|
+
"type": "object",
|
|
6328
|
+
"additionalProperties": {
|
|
6329
|
+
"type": "string",
|
|
6330
|
+
"maxLength": 200
|
|
6331
|
+
},
|
|
6332
|
+
"description": "Optional attributes"
|
|
6333
|
+
},
|
|
6286
6334
|
"title": {
|
|
6287
6335
|
"type": "string",
|
|
6288
6336
|
"minLength": 1,
|
|
@@ -6634,7 +6682,7 @@ export const state = {
|
|
|
6634
6682
|
"type": "string",
|
|
6635
6683
|
"maxLength": 500
|
|
6636
6684
|
},
|
|
6637
|
-
"description": "
|
|
6685
|
+
"description": "Optional attributes of the [Bot](#schema_bot)"
|
|
6638
6686
|
},
|
|
6639
6687
|
"code": {
|
|
6640
6688
|
"type": "string",
|
|
@@ -6746,7 +6794,7 @@ export const state = {
|
|
|
6746
6794
|
"type": "string",
|
|
6747
6795
|
"maxLength": 500
|
|
6748
6796
|
},
|
|
6749
|
-
"description": "
|
|
6797
|
+
"description": "Optional attributes of the [Bot](#schema_bot)"
|
|
6750
6798
|
},
|
|
6751
6799
|
"blocked": {
|
|
6752
6800
|
"type": "boolean"
|
|
@@ -8313,6 +8361,33 @@ export const state = {
|
|
|
8313
8361
|
}
|
|
8314
8362
|
}
|
|
8315
8363
|
},
|
|
8364
|
+
"unlinkSandboxedConversations": {
|
|
8365
|
+
"name": "unlinkSandboxedConversations",
|
|
8366
|
+
"description": "**EXPERIMENTAL** Unlink all sandboxed conversations for an integration installed in a bot",
|
|
8367
|
+
"method": "delete",
|
|
8368
|
+
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/sandboxed-conversations",
|
|
8369
|
+
"section": "bot",
|
|
8370
|
+
"parameters": {
|
|
8371
|
+
"botId": {
|
|
8372
|
+
"type": "string",
|
|
8373
|
+
"description": "Bot ID",
|
|
8374
|
+
"in": "path"
|
|
8375
|
+
},
|
|
8376
|
+
"integrationId": {
|
|
8377
|
+
"type": "string",
|
|
8378
|
+
"description": "Integration Version ID",
|
|
8379
|
+
"in": "path"
|
|
8380
|
+
}
|
|
8381
|
+
},
|
|
8382
|
+
"response": {
|
|
8383
|
+
"description": "Success",
|
|
8384
|
+
"schema": {
|
|
8385
|
+
"type": "object",
|
|
8386
|
+
"title": "unlinkSandboxedConversationsResponse",
|
|
8387
|
+
"additionalProperties": false
|
|
8388
|
+
}
|
|
8389
|
+
}
|
|
8390
|
+
},
|
|
8316
8391
|
"listBotApiKeys": {
|
|
8317
8392
|
"name": "listBotApiKeys",
|
|
8318
8393
|
"description": "List BAKs (Bot Api Keys) of a bot",
|
|
@@ -10706,6 +10781,14 @@ export const state = {
|
|
|
10706
10781
|
"additionalProperties": false
|
|
10707
10782
|
}
|
|
10708
10783
|
},
|
|
10784
|
+
"attributes": {
|
|
10785
|
+
"type": "object",
|
|
10786
|
+
"additionalProperties": {
|
|
10787
|
+
"type": "string",
|
|
10788
|
+
"maxLength": 200
|
|
10789
|
+
},
|
|
10790
|
+
"description": "Optional attributes"
|
|
10791
|
+
},
|
|
10709
10792
|
"identifier": {
|
|
10710
10793
|
"type": "object",
|
|
10711
10794
|
"properties": {
|
|
@@ -11288,6 +11371,14 @@ export const state = {
|
|
|
11288
11371
|
"additionalProperties": false
|
|
11289
11372
|
}
|
|
11290
11373
|
},
|
|
11374
|
+
"attributes": {
|
|
11375
|
+
"type": "object",
|
|
11376
|
+
"additionalProperties": {
|
|
11377
|
+
"type": "string",
|
|
11378
|
+
"maxLength": 200
|
|
11379
|
+
},
|
|
11380
|
+
"description": "Optional attributes"
|
|
11381
|
+
},
|
|
11291
11382
|
"identifier": {
|
|
11292
11383
|
"type": "object",
|
|
11293
11384
|
"properties": {
|
|
@@ -12144,6 +12235,15 @@ export const state = {
|
|
|
12144
12235
|
},
|
|
12145
12236
|
"additionalProperties": false
|
|
12146
12237
|
},
|
|
12238
|
+
"attributes": {
|
|
12239
|
+
"type": "object",
|
|
12240
|
+
"additionalProperties": {
|
|
12241
|
+
"type": "string",
|
|
12242
|
+
"maxLength": 200,
|
|
12243
|
+
"nullable": true
|
|
12244
|
+
},
|
|
12245
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
12246
|
+
},
|
|
12147
12247
|
"secrets": {
|
|
12148
12248
|
"type": "object",
|
|
12149
12249
|
"additionalProperties": {
|
|
@@ -12743,6 +12843,15 @@ export const state = {
|
|
|
12743
12843
|
},
|
|
12744
12844
|
"additionalProperties": false
|
|
12745
12845
|
},
|
|
12846
|
+
"attributes": {
|
|
12847
|
+
"type": "object",
|
|
12848
|
+
"additionalProperties": {
|
|
12849
|
+
"type": "string",
|
|
12850
|
+
"maxLength": 200,
|
|
12851
|
+
"nullable": true
|
|
12852
|
+
},
|
|
12853
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
12854
|
+
},
|
|
12746
12855
|
"secrets": {
|
|
12747
12856
|
"type": "object",
|
|
12748
12857
|
"additionalProperties": {
|
|
@@ -13480,6 +13589,14 @@ export const state = {
|
|
|
13480
13589
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
13481
13590
|
"additionalProperties": false
|
|
13482
13591
|
},
|
|
13592
|
+
"attributes": {
|
|
13593
|
+
"type": "object",
|
|
13594
|
+
"additionalProperties": {
|
|
13595
|
+
"type": "string",
|
|
13596
|
+
"maxLength": 200
|
|
13597
|
+
},
|
|
13598
|
+
"description": "Optional attributes"
|
|
13599
|
+
},
|
|
13483
13600
|
"icon": {
|
|
13484
13601
|
"type": "string",
|
|
13485
13602
|
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
@@ -13799,6 +13916,15 @@ export const state = {
|
|
|
13799
13916
|
"nullable": true,
|
|
13800
13917
|
"additionalProperties": false
|
|
13801
13918
|
},
|
|
13919
|
+
"attributes": {
|
|
13920
|
+
"type": "object",
|
|
13921
|
+
"additionalProperties": {
|
|
13922
|
+
"type": "string",
|
|
13923
|
+
"maxLength": 200,
|
|
13924
|
+
"nullable": true
|
|
13925
|
+
},
|
|
13926
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
13927
|
+
},
|
|
13802
13928
|
"icon": {
|
|
13803
13929
|
"type": "string",
|
|
13804
13930
|
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
@@ -14258,6 +14384,14 @@ export const state = {
|
|
|
14258
14384
|
},
|
|
14259
14385
|
"additionalProperties": false
|
|
14260
14386
|
},
|
|
14387
|
+
"attributes": {
|
|
14388
|
+
"type": "object",
|
|
14389
|
+
"additionalProperties": {
|
|
14390
|
+
"type": "string",
|
|
14391
|
+
"maxLength": 200
|
|
14392
|
+
},
|
|
14393
|
+
"description": "Optional attributes"
|
|
14394
|
+
},
|
|
14261
14395
|
"code": {
|
|
14262
14396
|
"type": "object",
|
|
14263
14397
|
"properties": {
|
|
@@ -14668,6 +14802,15 @@ export const state = {
|
|
|
14668
14802
|
},
|
|
14669
14803
|
"additionalProperties": false
|
|
14670
14804
|
},
|
|
14805
|
+
"attributes": {
|
|
14806
|
+
"type": "object",
|
|
14807
|
+
"additionalProperties": {
|
|
14808
|
+
"type": "string",
|
|
14809
|
+
"maxLength": 200,
|
|
14810
|
+
"nullable": true
|
|
14811
|
+
},
|
|
14812
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
14813
|
+
},
|
|
14671
14814
|
"code": {
|
|
14672
14815
|
"type": "object",
|
|
14673
14816
|
"properties": {
|
|
@@ -18278,7 +18421,7 @@ export const state = {
|
|
|
18278
18421
|
"title": "Botpress API",
|
|
18279
18422
|
"description": "API for Botpress Cloud",
|
|
18280
18423
|
"server": "https://api.botpress.cloud",
|
|
18281
|
-
"version": "1.
|
|
18424
|
+
"version": "1.18.0",
|
|
18282
18425
|
"prefix": "v1"
|
|
18283
18426
|
},
|
|
18284
18427
|
"errors": [
|
|
@@ -18560,6 +18703,7 @@ export const state = {
|
|
|
18560
18703
|
"createIntegrationShareableIdResponse": true,
|
|
18561
18704
|
"deleteIntegrationShareableIdResponse": true,
|
|
18562
18705
|
"getIntegrationShareableIdResponse": true,
|
|
18706
|
+
"unlinkSandboxedConversationsResponse": true,
|
|
18563
18707
|
"listBotApiKeysResponse": true,
|
|
18564
18708
|
"createBotApiKeyResponse": true,
|
|
18565
18709
|
"deleteBotApiKeyResponse": true,
|
|
@@ -19903,6 +20047,14 @@ export const state = {
|
|
|
19903
20047
|
"additionalProperties": false
|
|
19904
20048
|
}
|
|
19905
20049
|
},
|
|
20050
|
+
"attributes": {
|
|
20051
|
+
"type": "object",
|
|
20052
|
+
"additionalProperties": {
|
|
20053
|
+
"type": "string",
|
|
20054
|
+
"maxLength": 200
|
|
20055
|
+
},
|
|
20056
|
+
"description": "Optional attributes"
|
|
20057
|
+
},
|
|
19906
20058
|
"dev": {
|
|
19907
20059
|
"type": "boolean",
|
|
19908
20060
|
"description": "Indicates if the integration is a development integration; Dev integrations run locally"
|
|
@@ -20192,6 +20344,14 @@ export const state = {
|
|
|
20192
20344
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
20193
20345
|
"additionalProperties": false
|
|
20194
20346
|
},
|
|
20347
|
+
"attributes": {
|
|
20348
|
+
"type": "object",
|
|
20349
|
+
"additionalProperties": {
|
|
20350
|
+
"type": "string",
|
|
20351
|
+
"maxLength": 200
|
|
20352
|
+
},
|
|
20353
|
+
"description": "Optional attributes"
|
|
20354
|
+
},
|
|
20195
20355
|
"title": {
|
|
20196
20356
|
"type": "string",
|
|
20197
20357
|
"minLength": 1,
|
|
@@ -20547,6 +20707,14 @@ export const state = {
|
|
|
20547
20707
|
"description": "Conversation object configuration",
|
|
20548
20708
|
"additionalProperties": false
|
|
20549
20709
|
},
|
|
20710
|
+
"attributes": {
|
|
20711
|
+
"type": "object",
|
|
20712
|
+
"additionalProperties": {
|
|
20713
|
+
"type": "string",
|
|
20714
|
+
"maxLength": 200
|
|
20715
|
+
},
|
|
20716
|
+
"description": "Optional attributes"
|
|
20717
|
+
},
|
|
20550
20718
|
"title": {
|
|
20551
20719
|
"type": "string",
|
|
20552
20720
|
"minLength": 1,
|
|
@@ -22239,6 +22407,7 @@ export const state = {
|
|
|
22239
22407
|
"createIntegrationShareableId",
|
|
22240
22408
|
"deleteIntegrationShareableId",
|
|
22241
22409
|
"getIntegrationShareableId",
|
|
22410
|
+
"unlinkSandboxedConversations",
|
|
22242
22411
|
"listBotApiKeys",
|
|
22243
22412
|
"createBotApiKey",
|
|
22244
22413
|
"deleteBotApiKey"
|