@botpress/api 1.23.0 → 1.24.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 +137 -5
- package/dist/src/gen/admin/state.d.ts +62 -0
- package/dist/src/gen/state.d.ts +62 -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 +1 -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 +1 -1
- package/src/gen/state.ts +67 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/src/gen/runtime/state.ts
CHANGED
package/src/gen/state.ts
CHANGED
|
@@ -8309,6 +8309,67 @@ export const state = {
|
|
|
8309
8309
|
}
|
|
8310
8310
|
}
|
|
8311
8311
|
},
|
|
8312
|
+
"getBotJson": {
|
|
8313
|
+
"name": "getBotJson",
|
|
8314
|
+
"description": "Download the raw bot JSON for a bot. Optionally specify versionId to download a specific version.",
|
|
8315
|
+
"method": "get",
|
|
8316
|
+
"path": "/v1/admin/bots/{id}/bot-json",
|
|
8317
|
+
"section": "bot",
|
|
8318
|
+
"parameters": {
|
|
8319
|
+
"id": {
|
|
8320
|
+
"type": "string",
|
|
8321
|
+
"description": "Bot ID",
|
|
8322
|
+
"in": "path"
|
|
8323
|
+
}
|
|
8324
|
+
},
|
|
8325
|
+
"response": {
|
|
8326
|
+
"description": "Success",
|
|
8327
|
+
"schema": {
|
|
8328
|
+
"type": "object",
|
|
8329
|
+
"additionalProperties": true,
|
|
8330
|
+
"title": "getBotJsonResponse"
|
|
8331
|
+
}
|
|
8332
|
+
}
|
|
8333
|
+
},
|
|
8334
|
+
"publishFromBotJson": {
|
|
8335
|
+
"name": "publishFromBotJson",
|
|
8336
|
+
"description": "Deploy a bot using the provided raw bot JSON payload.",
|
|
8337
|
+
"method": "post",
|
|
8338
|
+
"path": "/v1/admin/bots/{id}/publish-from-bot-json",
|
|
8339
|
+
"section": "bot",
|
|
8340
|
+
"parameters": {
|
|
8341
|
+
"id": {
|
|
8342
|
+
"type": "string",
|
|
8343
|
+
"description": "Bot ID",
|
|
8344
|
+
"in": "path"
|
|
8345
|
+
}
|
|
8346
|
+
},
|
|
8347
|
+
"requestBody": {
|
|
8348
|
+
"description": "Raw bot JSON payload",
|
|
8349
|
+
"schema": {
|
|
8350
|
+
"type": "object",
|
|
8351
|
+
"properties": {
|
|
8352
|
+
"botJson": {
|
|
8353
|
+
"type": "object",
|
|
8354
|
+
"additionalProperties": true
|
|
8355
|
+
}
|
|
8356
|
+
},
|
|
8357
|
+
"required": [
|
|
8358
|
+
"botJson"
|
|
8359
|
+
],
|
|
8360
|
+
"title": "publishFromBotJsonBody",
|
|
8361
|
+
"additionalProperties": false
|
|
8362
|
+
}
|
|
8363
|
+
},
|
|
8364
|
+
"response": {
|
|
8365
|
+
"description": "Success",
|
|
8366
|
+
"schema": {
|
|
8367
|
+
"type": "object",
|
|
8368
|
+
"additionalProperties": true,
|
|
8369
|
+
"title": "publishFromBotJsonResponse"
|
|
8370
|
+
}
|
|
8371
|
+
}
|
|
8372
|
+
},
|
|
8312
8373
|
"createBotVersion": {
|
|
8313
8374
|
"name": "createBotVersion",
|
|
8314
8375
|
"description": "Create a new version for a bot",
|
|
@@ -18679,7 +18740,7 @@ export const state = {
|
|
|
18679
18740
|
"title": "Botpress API",
|
|
18680
18741
|
"description": "API for Botpress Cloud",
|
|
18681
18742
|
"server": "https://api.botpress.cloud",
|
|
18682
|
-
"version": "1.
|
|
18743
|
+
"version": "1.24.0",
|
|
18683
18744
|
"prefix": "v1"
|
|
18684
18745
|
},
|
|
18685
18746
|
"errors": [
|
|
@@ -18838,6 +18899,7 @@ export const state = {
|
|
|
18838
18899
|
"createBotBody": true,
|
|
18839
18900
|
"updateBotBody": true,
|
|
18840
18901
|
"transferBotBody": true,
|
|
18902
|
+
"publishFromBotJsonBody": true,
|
|
18841
18903
|
"createBotVersionBody": true,
|
|
18842
18904
|
"deployBotVersionBody": true,
|
|
18843
18905
|
"createIntegrationShareableIdBody": true,
|
|
@@ -18959,6 +19021,8 @@ export const state = {
|
|
|
18959
19021
|
"listBotIssueEventsResponse": true,
|
|
18960
19022
|
"listBotVersionsResponse": true,
|
|
18961
19023
|
"getBotVersionResponse": true,
|
|
19024
|
+
"getBotJsonResponse": true,
|
|
19025
|
+
"publishFromBotJsonResponse": true,
|
|
18962
19026
|
"createBotVersionResponse": true,
|
|
18963
19027
|
"deployBotVersionResponse": true,
|
|
18964
19028
|
"createIntegrationShareableIdResponse": true,
|
|
@@ -22706,6 +22770,8 @@ export const state = {
|
|
|
22706
22770
|
"listBotIssueEvents",
|
|
22707
22771
|
"listBotVersions",
|
|
22708
22772
|
"getBotVersion",
|
|
22773
|
+
"getBotJson",
|
|
22774
|
+
"publishFromBotJson",
|
|
22709
22775
|
"createBotVersion",
|
|
22710
22776
|
"deployBotVersion",
|
|
22711
22777
|
"createIntegrationShareableId",
|