@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.
@@ -5717,6 +5717,67 @@ export const state = {
5717
5717
  }
5718
5718
  }
5719
5719
  },
5720
+ "getBotJson": {
5721
+ "name": "getBotJson",
5722
+ "description": "Download the raw bot JSON for a bot. Optionally specify versionId to download a specific version.",
5723
+ "method": "get",
5724
+ "path": "/v1/admin/bots/{id}/bot-json",
5725
+ "section": "bot",
5726
+ "parameters": {
5727
+ "id": {
5728
+ "type": "string",
5729
+ "description": "Bot ID",
5730
+ "in": "path"
5731
+ }
5732
+ },
5733
+ "response": {
5734
+ "description": "Success",
5735
+ "schema": {
5736
+ "type": "object",
5737
+ "additionalProperties": true,
5738
+ "title": "getBotJsonResponse"
5739
+ }
5740
+ }
5741
+ },
5742
+ "publishFromBotJson": {
5743
+ "name": "publishFromBotJson",
5744
+ "description": "Deploy a bot using the provided raw bot JSON payload.",
5745
+ "method": "post",
5746
+ "path": "/v1/admin/bots/{id}/publish-from-bot-json",
5747
+ "section": "bot",
5748
+ "parameters": {
5749
+ "id": {
5750
+ "type": "string",
5751
+ "description": "Bot ID",
5752
+ "in": "path"
5753
+ }
5754
+ },
5755
+ "requestBody": {
5756
+ "description": "Raw bot JSON payload",
5757
+ "schema": {
5758
+ "type": "object",
5759
+ "properties": {
5760
+ "botJson": {
5761
+ "type": "object",
5762
+ "additionalProperties": true
5763
+ }
5764
+ },
5765
+ "required": [
5766
+ "botJson"
5767
+ ],
5768
+ "title": "publishFromBotJsonBody",
5769
+ "additionalProperties": false
5770
+ }
5771
+ },
5772
+ "response": {
5773
+ "description": "Success",
5774
+ "schema": {
5775
+ "type": "object",
5776
+ "additionalProperties": true,
5777
+ "title": "publishFromBotJsonResponse"
5778
+ }
5779
+ }
5780
+ },
5720
5781
  "createBotVersion": {
5721
5782
  "name": "createBotVersion",
5722
5783
  "description": "Create a new version for a bot",
@@ -13112,7 +13173,7 @@ export const state = {
13112
13173
  "title": "Botpress API",
13113
13174
  "description": "API for Botpress Cloud",
13114
13175
  "server": "https://api.botpress.cloud",
13115
- "version": "1.23.0",
13176
+ "version": "1.24.0",
13116
13177
  "prefix": "v1"
13117
13178
  },
13118
13179
  "errors": [
@@ -13248,6 +13309,7 @@ export const state = {
13248
13309
  "createBotBody": true,
13249
13310
  "updateBotBody": true,
13250
13311
  "transferBotBody": true,
13312
+ "publishFromBotJsonBody": true,
13251
13313
  "createBotVersionBody": true,
13252
13314
  "deployBotVersionBody": true,
13253
13315
  "createIntegrationShareableIdBody": true,
@@ -13307,6 +13369,8 @@ export const state = {
13307
13369
  "listBotIssueEventsResponse": true,
13308
13370
  "listBotVersionsResponse": true,
13309
13371
  "getBotVersionResponse": true,
13372
+ "getBotJsonResponse": true,
13373
+ "publishFromBotJsonResponse": true,
13310
13374
  "createBotVersionResponse": true,
13311
13375
  "deployBotVersionResponse": true,
13312
13376
  "createIntegrationShareableIdResponse": true,
@@ -16968,6 +17032,8 @@ export const state = {
16968
17032
  "listBotIssueEvents",
16969
17033
  "listBotVersions",
16970
17034
  "getBotVersion",
17035
+ "getBotJson",
17036
+ "publishFromBotJson",
16971
17037
  "createBotVersion",
16972
17038
  "deployBotVersion",
16973
17039
  "createIntegrationShareableId",