@botpress/api 1.22.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.
@@ -2602,7 +2602,7 @@ export const state = {
2602
2602
  "title": "Botpress API",
2603
2603
  "description": "API for Botpress Cloud",
2604
2604
  "server": "https://api.botpress.cloud",
2605
- "version": "1.22.0",
2605
+ "version": "1.24.0",
2606
2606
  "prefix": "v1"
2607
2607
  },
2608
2608
  "errors": [
@@ -3009,6 +3009,22 @@ export const state = {
3009
3009
  "type": "object",
3010
3010
  "additionalProperties": true
3011
3011
  },
3012
+ "interfaces": {
3013
+ "type": "object",
3014
+ "additionalProperties": {
3015
+ "type": "object",
3016
+ "properties": {
3017
+ "integrationId": {
3018
+ "type": "string"
3019
+ }
3020
+ },
3021
+ "required": [
3022
+ "integrationId"
3023
+ ],
3024
+ "additionalProperties": false
3025
+ },
3026
+ "description": "A mapping of plugin interface aliases to their backing integrations"
3027
+ },
3012
3028
  "id": {
3013
3029
  "type": "string",
3014
3030
  "minLength": 28,
package/src/gen/state.ts CHANGED
@@ -7124,6 +7124,22 @@ export const state = {
7124
7124
  "configuration": {
7125
7125
  "type": "object",
7126
7126
  "additionalProperties": true
7127
+ },
7128
+ "interfaces": {
7129
+ "type": "object",
7130
+ "additionalProperties": {
7131
+ "type": "object",
7132
+ "properties": {
7133
+ "integrationId": {
7134
+ "type": "string"
7135
+ }
7136
+ },
7137
+ "required": [
7138
+ "integrationId"
7139
+ ],
7140
+ "additionalProperties": false
7141
+ },
7142
+ "description": "A mapping of plugin interface aliases to their backing integrations"
7127
7143
  }
7128
7144
  },
7129
7145
  "required": [
@@ -7134,6 +7150,10 @@ export const state = {
7134
7150
  },
7135
7151
  "description": "A mapping of plugin aliases to their configuration"
7136
7152
  },
7153
+ "shouldMergePlugins": {
7154
+ "type": "boolean",
7155
+ "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"
7156
+ },
7137
7157
  "subscriptions": {
7138
7158
  "type": "object",
7139
7159
  "properties": {
@@ -8289,6 +8309,67 @@ export const state = {
8289
8309
  }
8290
8310
  }
8291
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
+ },
8292
8373
  "createBotVersion": {
8293
8374
  "name": "createBotVersion",
8294
8375
  "description": "Create a new version for a bot",
@@ -18659,7 +18740,7 @@ export const state = {
18659
18740
  "title": "Botpress API",
18660
18741
  "description": "API for Botpress Cloud",
18661
18742
  "server": "https://api.botpress.cloud",
18662
- "version": "1.22.0",
18743
+ "version": "1.24.0",
18663
18744
  "prefix": "v1"
18664
18745
  },
18665
18746
  "errors": [
@@ -18818,6 +18899,7 @@ export const state = {
18818
18899
  "createBotBody": true,
18819
18900
  "updateBotBody": true,
18820
18901
  "transferBotBody": true,
18902
+ "publishFromBotJsonBody": true,
18821
18903
  "createBotVersionBody": true,
18822
18904
  "deployBotVersionBody": true,
18823
18905
  "createIntegrationShareableIdBody": true,
@@ -18939,6 +19021,8 @@ export const state = {
18939
19021
  "listBotIssueEventsResponse": true,
18940
19022
  "listBotVersionsResponse": true,
18941
19023
  "getBotVersionResponse": true,
19024
+ "getBotJsonResponse": true,
19025
+ "publishFromBotJsonResponse": true,
18942
19026
  "createBotVersionResponse": true,
18943
19027
  "deployBotVersionResponse": true,
18944
19028
  "createIntegrationShareableIdResponse": true,
@@ -19245,6 +19329,22 @@ export const state = {
19245
19329
  "type": "object",
19246
19330
  "additionalProperties": true
19247
19331
  },
19332
+ "interfaces": {
19333
+ "type": "object",
19334
+ "additionalProperties": {
19335
+ "type": "object",
19336
+ "properties": {
19337
+ "integrationId": {
19338
+ "type": "string"
19339
+ }
19340
+ },
19341
+ "required": [
19342
+ "integrationId"
19343
+ ],
19344
+ "additionalProperties": false
19345
+ },
19346
+ "description": "A mapping of plugin interface aliases to their backing integrations"
19347
+ },
19248
19348
  "id": {
19249
19349
  "type": "string",
19250
19350
  "minLength": 28,
@@ -22670,6 +22770,8 @@ export const state = {
22670
22770
  "listBotIssueEvents",
22671
22771
  "listBotVersions",
22672
22772
  "getBotVersion",
22773
+ "getBotJson",
22774
+ "publishFromBotJson",
22673
22775
  "createBotVersion",
22674
22776
  "deployBotVersion",
22675
22777
  "createIntegrationShareableId",