@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/admin/state.ts
CHANGED
|
@@ -1254,6 +1254,14 @@ export const state = {
|
|
|
1254
1254
|
"additionalProperties": false
|
|
1255
1255
|
}
|
|
1256
1256
|
},
|
|
1257
|
+
"attributes": {
|
|
1258
|
+
"type": "object",
|
|
1259
|
+
"additionalProperties": {
|
|
1260
|
+
"type": "string",
|
|
1261
|
+
"maxLength": 200
|
|
1262
|
+
},
|
|
1263
|
+
"description": "Optional attributes"
|
|
1264
|
+
},
|
|
1257
1265
|
"dev": {
|
|
1258
1266
|
"type": "boolean",
|
|
1259
1267
|
"description": "Indicates if the integration is a development integration; Dev integrations run locally"
|
|
@@ -1987,6 +1995,14 @@ export const state = {
|
|
|
1987
1995
|
"additionalProperties": false
|
|
1988
1996
|
}
|
|
1989
1997
|
},
|
|
1998
|
+
"attributes": {
|
|
1999
|
+
"type": "object",
|
|
2000
|
+
"additionalProperties": {
|
|
2001
|
+
"type": "string",
|
|
2002
|
+
"maxLength": 200
|
|
2003
|
+
},
|
|
2004
|
+
"description": "Optional attributes"
|
|
2005
|
+
},
|
|
1990
2006
|
"dev": {
|
|
1991
2007
|
"type": "boolean",
|
|
1992
2008
|
"description": "Indicates if the integration is a development integration; Dev integrations run locally"
|
|
@@ -2559,6 +2575,14 @@ export const state = {
|
|
|
2559
2575
|
"description": "Conversation object configuration",
|
|
2560
2576
|
"additionalProperties": false
|
|
2561
2577
|
},
|
|
2578
|
+
"attributes": {
|
|
2579
|
+
"type": "object",
|
|
2580
|
+
"additionalProperties": {
|
|
2581
|
+
"type": "string",
|
|
2582
|
+
"maxLength": 200
|
|
2583
|
+
},
|
|
2584
|
+
"description": "Optional attributes"
|
|
2585
|
+
},
|
|
2562
2586
|
"title": {
|
|
2563
2587
|
"type": "string",
|
|
2564
2588
|
"minLength": 1,
|
|
@@ -2949,6 +2973,14 @@ export const state = {
|
|
|
2949
2973
|
"description": "Conversation object configuration",
|
|
2950
2974
|
"additionalProperties": false
|
|
2951
2975
|
},
|
|
2976
|
+
"attributes": {
|
|
2977
|
+
"type": "object",
|
|
2978
|
+
"additionalProperties": {
|
|
2979
|
+
"type": "string",
|
|
2980
|
+
"maxLength": 200
|
|
2981
|
+
},
|
|
2982
|
+
"description": "Optional attributes"
|
|
2983
|
+
},
|
|
2952
2984
|
"title": {
|
|
2953
2985
|
"type": "string",
|
|
2954
2986
|
"minLength": 1,
|
|
@@ -3399,6 +3431,14 @@ export const state = {
|
|
|
3399
3431
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
3400
3432
|
"additionalProperties": false
|
|
3401
3433
|
},
|
|
3434
|
+
"attributes": {
|
|
3435
|
+
"type": "object",
|
|
3436
|
+
"additionalProperties": {
|
|
3437
|
+
"type": "string",
|
|
3438
|
+
"maxLength": 200
|
|
3439
|
+
},
|
|
3440
|
+
"description": "Optional attributes"
|
|
3441
|
+
},
|
|
3402
3442
|
"title": {
|
|
3403
3443
|
"type": "string",
|
|
3404
3444
|
"minLength": 1,
|
|
@@ -3689,6 +3729,14 @@ export const state = {
|
|
|
3689
3729
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
3690
3730
|
"additionalProperties": false
|
|
3691
3731
|
},
|
|
3732
|
+
"attributes": {
|
|
3733
|
+
"type": "object",
|
|
3734
|
+
"additionalProperties": {
|
|
3735
|
+
"type": "string",
|
|
3736
|
+
"maxLength": 200
|
|
3737
|
+
},
|
|
3738
|
+
"description": "Optional attributes"
|
|
3739
|
+
},
|
|
3692
3740
|
"title": {
|
|
3693
3741
|
"type": "string",
|
|
3694
3742
|
"minLength": 1,
|
|
@@ -4040,7 +4088,7 @@ export const state = {
|
|
|
4040
4088
|
"type": "string",
|
|
4041
4089
|
"maxLength": 500
|
|
4042
4090
|
},
|
|
4043
|
-
"description": "
|
|
4091
|
+
"description": "Optional attributes of the [Bot](#schema_bot)"
|
|
4044
4092
|
},
|
|
4045
4093
|
"code": {
|
|
4046
4094
|
"type": "string",
|
|
@@ -4152,7 +4200,7 @@ export const state = {
|
|
|
4152
4200
|
"type": "string",
|
|
4153
4201
|
"maxLength": 500
|
|
4154
4202
|
},
|
|
4155
|
-
"description": "
|
|
4203
|
+
"description": "Optional attributes of the [Bot](#schema_bot)"
|
|
4156
4204
|
},
|
|
4157
4205
|
"blocked": {
|
|
4158
4206
|
"type": "boolean"
|
|
@@ -5719,6 +5767,33 @@ export const state = {
|
|
|
5719
5767
|
}
|
|
5720
5768
|
}
|
|
5721
5769
|
},
|
|
5770
|
+
"unlinkSandboxedConversations": {
|
|
5771
|
+
"name": "unlinkSandboxedConversations",
|
|
5772
|
+
"description": "**EXPERIMENTAL** Unlink all sandboxed conversations for an integration installed in a bot",
|
|
5773
|
+
"method": "delete",
|
|
5774
|
+
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/sandboxed-conversations",
|
|
5775
|
+
"section": "bot",
|
|
5776
|
+
"parameters": {
|
|
5777
|
+
"botId": {
|
|
5778
|
+
"type": "string",
|
|
5779
|
+
"description": "Bot ID",
|
|
5780
|
+
"in": "path"
|
|
5781
|
+
},
|
|
5782
|
+
"integrationId": {
|
|
5783
|
+
"type": "string",
|
|
5784
|
+
"description": "Integration Version ID",
|
|
5785
|
+
"in": "path"
|
|
5786
|
+
}
|
|
5787
|
+
},
|
|
5788
|
+
"response": {
|
|
5789
|
+
"description": "Success",
|
|
5790
|
+
"schema": {
|
|
5791
|
+
"type": "object",
|
|
5792
|
+
"title": "unlinkSandboxedConversationsResponse",
|
|
5793
|
+
"additionalProperties": false
|
|
5794
|
+
}
|
|
5795
|
+
}
|
|
5796
|
+
},
|
|
5722
5797
|
"listBotApiKeys": {
|
|
5723
5798
|
"name": "listBotApiKeys",
|
|
5724
5799
|
"description": "List BAKs (Bot Api Keys) of a bot",
|
|
@@ -8111,6 +8186,14 @@ export const state = {
|
|
|
8111
8186
|
"additionalProperties": false
|
|
8112
8187
|
}
|
|
8113
8188
|
},
|
|
8189
|
+
"attributes": {
|
|
8190
|
+
"type": "object",
|
|
8191
|
+
"additionalProperties": {
|
|
8192
|
+
"type": "string",
|
|
8193
|
+
"maxLength": 200
|
|
8194
|
+
},
|
|
8195
|
+
"description": "Optional attributes"
|
|
8196
|
+
},
|
|
8114
8197
|
"identifier": {
|
|
8115
8198
|
"type": "object",
|
|
8116
8199
|
"properties": {
|
|
@@ -8693,6 +8776,14 @@ export const state = {
|
|
|
8693
8776
|
"additionalProperties": false
|
|
8694
8777
|
}
|
|
8695
8778
|
},
|
|
8779
|
+
"attributes": {
|
|
8780
|
+
"type": "object",
|
|
8781
|
+
"additionalProperties": {
|
|
8782
|
+
"type": "string",
|
|
8783
|
+
"maxLength": 200
|
|
8784
|
+
},
|
|
8785
|
+
"description": "Optional attributes"
|
|
8786
|
+
},
|
|
8696
8787
|
"identifier": {
|
|
8697
8788
|
"type": "object",
|
|
8698
8789
|
"properties": {
|
|
@@ -9549,6 +9640,15 @@ export const state = {
|
|
|
9549
9640
|
},
|
|
9550
9641
|
"additionalProperties": false
|
|
9551
9642
|
},
|
|
9643
|
+
"attributes": {
|
|
9644
|
+
"type": "object",
|
|
9645
|
+
"additionalProperties": {
|
|
9646
|
+
"type": "string",
|
|
9647
|
+
"maxLength": 200,
|
|
9648
|
+
"nullable": true
|
|
9649
|
+
},
|
|
9650
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
9651
|
+
},
|
|
9552
9652
|
"secrets": {
|
|
9553
9653
|
"type": "object",
|
|
9554
9654
|
"additionalProperties": {
|
|
@@ -10148,6 +10248,15 @@ export const state = {
|
|
|
10148
10248
|
},
|
|
10149
10249
|
"additionalProperties": false
|
|
10150
10250
|
},
|
|
10251
|
+
"attributes": {
|
|
10252
|
+
"type": "object",
|
|
10253
|
+
"additionalProperties": {
|
|
10254
|
+
"type": "string",
|
|
10255
|
+
"maxLength": 200,
|
|
10256
|
+
"nullable": true
|
|
10257
|
+
},
|
|
10258
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
10259
|
+
},
|
|
10151
10260
|
"secrets": {
|
|
10152
10261
|
"type": "object",
|
|
10153
10262
|
"additionalProperties": {
|
|
@@ -10885,6 +10994,14 @@ export const state = {
|
|
|
10885
10994
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
10886
10995
|
"additionalProperties": false
|
|
10887
10996
|
},
|
|
10997
|
+
"attributes": {
|
|
10998
|
+
"type": "object",
|
|
10999
|
+
"additionalProperties": {
|
|
11000
|
+
"type": "string",
|
|
11001
|
+
"maxLength": 200
|
|
11002
|
+
},
|
|
11003
|
+
"description": "Optional attributes"
|
|
11004
|
+
},
|
|
10888
11005
|
"icon": {
|
|
10889
11006
|
"type": "string",
|
|
10890
11007
|
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
@@ -11204,6 +11321,15 @@ export const state = {
|
|
|
11204
11321
|
"nullable": true,
|
|
11205
11322
|
"additionalProperties": false
|
|
11206
11323
|
},
|
|
11324
|
+
"attributes": {
|
|
11325
|
+
"type": "object",
|
|
11326
|
+
"additionalProperties": {
|
|
11327
|
+
"type": "string",
|
|
11328
|
+
"maxLength": 200,
|
|
11329
|
+
"nullable": true
|
|
11330
|
+
},
|
|
11331
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
11332
|
+
},
|
|
11207
11333
|
"icon": {
|
|
11208
11334
|
"type": "string",
|
|
11209
11335
|
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
@@ -11663,6 +11789,14 @@ export const state = {
|
|
|
11663
11789
|
},
|
|
11664
11790
|
"additionalProperties": false
|
|
11665
11791
|
},
|
|
11792
|
+
"attributes": {
|
|
11793
|
+
"type": "object",
|
|
11794
|
+
"additionalProperties": {
|
|
11795
|
+
"type": "string",
|
|
11796
|
+
"maxLength": 200
|
|
11797
|
+
},
|
|
11798
|
+
"description": "Optional attributes"
|
|
11799
|
+
},
|
|
11666
11800
|
"code": {
|
|
11667
11801
|
"type": "object",
|
|
11668
11802
|
"properties": {
|
|
@@ -12073,6 +12207,15 @@ export const state = {
|
|
|
12073
12207
|
},
|
|
12074
12208
|
"additionalProperties": false
|
|
12075
12209
|
},
|
|
12210
|
+
"attributes": {
|
|
12211
|
+
"type": "object",
|
|
12212
|
+
"additionalProperties": {
|
|
12213
|
+
"type": "string",
|
|
12214
|
+
"maxLength": 200,
|
|
12215
|
+
"nullable": true
|
|
12216
|
+
},
|
|
12217
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
12218
|
+
},
|
|
12076
12219
|
"code": {
|
|
12077
12220
|
"type": "object",
|
|
12078
12221
|
"properties": {
|
|
@@ -12838,7 +12981,7 @@ export const state = {
|
|
|
12838
12981
|
"title": "Botpress API",
|
|
12839
12982
|
"description": "API for Botpress Cloud",
|
|
12840
12983
|
"server": "https://api.botpress.cloud",
|
|
12841
|
-
"version": "1.
|
|
12984
|
+
"version": "1.18.0",
|
|
12842
12985
|
"prefix": "v1"
|
|
12843
12986
|
},
|
|
12844
12987
|
"errors": [
|
|
@@ -13035,6 +13178,7 @@ export const state = {
|
|
|
13035
13178
|
"createIntegrationShareableIdResponse": true,
|
|
13036
13179
|
"deleteIntegrationShareableIdResponse": true,
|
|
13037
13180
|
"getIntegrationShareableIdResponse": true,
|
|
13181
|
+
"unlinkSandboxedConversationsResponse": true,
|
|
13038
13182
|
"listBotApiKeysResponse": true,
|
|
13039
13183
|
"createBotApiKeyResponse": true,
|
|
13040
13184
|
"deleteBotApiKeyResponse": true,
|
|
@@ -14346,6 +14490,14 @@ export const state = {
|
|
|
14346
14490
|
"additionalProperties": false
|
|
14347
14491
|
}
|
|
14348
14492
|
},
|
|
14493
|
+
"attributes": {
|
|
14494
|
+
"type": "object",
|
|
14495
|
+
"additionalProperties": {
|
|
14496
|
+
"type": "string",
|
|
14497
|
+
"maxLength": 200
|
|
14498
|
+
},
|
|
14499
|
+
"description": "Optional attributes"
|
|
14500
|
+
},
|
|
14349
14501
|
"dev": {
|
|
14350
14502
|
"type": "boolean",
|
|
14351
14503
|
"description": "Indicates if the integration is a development integration; Dev integrations run locally"
|
|
@@ -14635,6 +14787,14 @@ export const state = {
|
|
|
14635
14787
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
14636
14788
|
"additionalProperties": false
|
|
14637
14789
|
},
|
|
14790
|
+
"attributes": {
|
|
14791
|
+
"type": "object",
|
|
14792
|
+
"additionalProperties": {
|
|
14793
|
+
"type": "string",
|
|
14794
|
+
"maxLength": 200
|
|
14795
|
+
},
|
|
14796
|
+
"description": "Optional attributes"
|
|
14797
|
+
},
|
|
14638
14798
|
"title": {
|
|
14639
14799
|
"type": "string",
|
|
14640
14800
|
"minLength": 1,
|
|
@@ -14990,6 +15150,14 @@ export const state = {
|
|
|
14990
15150
|
"description": "Conversation object configuration",
|
|
14991
15151
|
"additionalProperties": false
|
|
14992
15152
|
},
|
|
15153
|
+
"attributes": {
|
|
15154
|
+
"type": "object",
|
|
15155
|
+
"additionalProperties": {
|
|
15156
|
+
"type": "string",
|
|
15157
|
+
"maxLength": 200
|
|
15158
|
+
},
|
|
15159
|
+
"description": "Optional attributes"
|
|
15160
|
+
},
|
|
14993
15161
|
"title": {
|
|
14994
15162
|
"type": "string",
|
|
14995
15163
|
"minLength": 1,
|
|
@@ -16628,6 +16796,7 @@ export const state = {
|
|
|
16628
16796
|
"createIntegrationShareableId",
|
|
16629
16797
|
"deleteIntegrationShareableId",
|
|
16630
16798
|
"getIntegrationShareableId",
|
|
16799
|
+
"unlinkSandboxedConversations",
|
|
16631
16800
|
"listBotApiKeys",
|
|
16632
16801
|
"createBotApiKey",
|
|
16633
16802
|
"deleteBotApiKey"
|