@botpress/api 1.21.0 → 1.23.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 +724 -14
- package/dist/src/gen/admin/state.d.ts +61 -0
- package/dist/src/gen/files/state.d.ts +14 -0
- package/dist/src/gen/runtime/state.d.ts +15 -0
- package/dist/src/gen/state.d.ts +62 -0
- package/dist/src/gen/tables/state.d.ts +14 -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 +67 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +17 -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 +18 -1
- package/src/gen/state.ts +68 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +17 -1
package/src/gen/admin/state.ts
CHANGED
|
@@ -188,6 +188,33 @@ export const state = {
|
|
|
188
188
|
},
|
|
189
189
|
"parameters": {}
|
|
190
190
|
},
|
|
191
|
+
"deleteAccount": {
|
|
192
|
+
"name": "deleteAccount",
|
|
193
|
+
"description": "Delete the account associated with authenticated user",
|
|
194
|
+
"method": "post",
|
|
195
|
+
"path": "/v1/admin/account/me",
|
|
196
|
+
"section": "account",
|
|
197
|
+
"disableDefaultParameters": {
|
|
198
|
+
"x-workspace-id": true
|
|
199
|
+
},
|
|
200
|
+
"requestBody": {
|
|
201
|
+
"description": "Account",
|
|
202
|
+
"schema": {
|
|
203
|
+
"type": "object",
|
|
204
|
+
"title": "deleteAccountBody",
|
|
205
|
+
"additionalProperties": false
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"response": {
|
|
209
|
+
"description": "Success",
|
|
210
|
+
"schema": {
|
|
211
|
+
"type": "object",
|
|
212
|
+
"title": "deleteAccountResponse",
|
|
213
|
+
"additionalProperties": false
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"parameters": {}
|
|
217
|
+
},
|
|
191
218
|
"listPersonalAccessTokens": {
|
|
192
219
|
"name": "listPersonalAccessTokens",
|
|
193
220
|
"description": "List PATs (Personal Access Tokens) of account.",
|
|
@@ -4505,6 +4532,22 @@ export const state = {
|
|
|
4505
4532
|
"configuration": {
|
|
4506
4533
|
"type": "object",
|
|
4507
4534
|
"additionalProperties": true
|
|
4535
|
+
},
|
|
4536
|
+
"interfaces": {
|
|
4537
|
+
"type": "object",
|
|
4538
|
+
"additionalProperties": {
|
|
4539
|
+
"type": "object",
|
|
4540
|
+
"properties": {
|
|
4541
|
+
"integrationId": {
|
|
4542
|
+
"type": "string"
|
|
4543
|
+
}
|
|
4544
|
+
},
|
|
4545
|
+
"required": [
|
|
4546
|
+
"integrationId"
|
|
4547
|
+
],
|
|
4548
|
+
"additionalProperties": false
|
|
4549
|
+
},
|
|
4550
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
4508
4551
|
}
|
|
4509
4552
|
},
|
|
4510
4553
|
"required": [
|
|
@@ -4515,6 +4558,10 @@ export const state = {
|
|
|
4515
4558
|
},
|
|
4516
4559
|
"description": "A mapping of plugin aliases to their configuration"
|
|
4517
4560
|
},
|
|
4561
|
+
"shouldMergePlugins": {
|
|
4562
|
+
"type": "boolean",
|
|
4563
|
+
"description": "If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true"
|
|
4564
|
+
},
|
|
4518
4565
|
"subscriptions": {
|
|
4519
4566
|
"type": "object",
|
|
4520
4567
|
"properties": {
|
|
@@ -13065,7 +13112,7 @@ export const state = {
|
|
|
13065
13112
|
"title": "Botpress API",
|
|
13066
13113
|
"description": "API for Botpress Cloud",
|
|
13067
13114
|
"server": "https://api.botpress.cloud",
|
|
13068
|
-
"version": "1.
|
|
13115
|
+
"version": "1.23.0",
|
|
13069
13116
|
"prefix": "v1"
|
|
13070
13117
|
},
|
|
13071
13118
|
"errors": [
|
|
@@ -13195,6 +13242,7 @@ export const state = {
|
|
|
13195
13242
|
"requestBodies": {
|
|
13196
13243
|
"runVrlBody": true,
|
|
13197
13244
|
"updateAccountBody": true,
|
|
13245
|
+
"deleteAccountBody": true,
|
|
13198
13246
|
"createPersonalAccessTokenBody": true,
|
|
13199
13247
|
"setAccountPreferenceBody": true,
|
|
13200
13248
|
"createBotBody": true,
|
|
@@ -13227,6 +13275,7 @@ export const state = {
|
|
|
13227
13275
|
"runVrlResponse": true,
|
|
13228
13276
|
"getAccountResponse": true,
|
|
13229
13277
|
"updateAccountResponse": true,
|
|
13278
|
+
"deleteAccountResponse": true,
|
|
13230
13279
|
"listPersonalAccessTokensResponse": true,
|
|
13231
13280
|
"createPersonalAccessTokenResponse": true,
|
|
13232
13281
|
"deletePersonalAccessTokenResponse": true,
|
|
@@ -13532,6 +13581,22 @@ export const state = {
|
|
|
13532
13581
|
"type": "object",
|
|
13533
13582
|
"additionalProperties": true
|
|
13534
13583
|
},
|
|
13584
|
+
"interfaces": {
|
|
13585
|
+
"type": "object",
|
|
13586
|
+
"additionalProperties": {
|
|
13587
|
+
"type": "object",
|
|
13588
|
+
"properties": {
|
|
13589
|
+
"integrationId": {
|
|
13590
|
+
"type": "string"
|
|
13591
|
+
}
|
|
13592
|
+
},
|
|
13593
|
+
"required": [
|
|
13594
|
+
"integrationId"
|
|
13595
|
+
],
|
|
13596
|
+
"additionalProperties": false
|
|
13597
|
+
},
|
|
13598
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
13599
|
+
},
|
|
13535
13600
|
"id": {
|
|
13536
13601
|
"type": "string",
|
|
13537
13602
|
"minLength": 28,
|
|
@@ -17010,6 +17075,7 @@ export const state = {
|
|
|
17010
17075
|
"operations": [
|
|
17011
17076
|
"getAccount",
|
|
17012
17077
|
"updateAccount",
|
|
17078
|
+
"deleteAccount",
|
|
17013
17079
|
"listPersonalAccessTokens",
|
|
17014
17080
|
"createPersonalAccessToken",
|
|
17015
17081
|
"deletePersonalAccessToken",
|