@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.
@@ -4532,6 +4532,22 @@ export const state = {
4532
4532
  "configuration": {
4533
4533
  "type": "object",
4534
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"
4535
4551
  }
4536
4552
  },
4537
4553
  "required": [
@@ -4542,6 +4558,10 @@ export const state = {
4542
4558
  },
4543
4559
  "description": "A mapping of plugin aliases to their configuration"
4544
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
+ },
4545
4565
  "subscriptions": {
4546
4566
  "type": "object",
4547
4567
  "properties": {
@@ -5697,6 +5717,67 @@ export const state = {
5697
5717
  }
5698
5718
  }
5699
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
+ },
5700
5781
  "createBotVersion": {
5701
5782
  "name": "createBotVersion",
5702
5783
  "description": "Create a new version for a bot",
@@ -13092,7 +13173,7 @@ export const state = {
13092
13173
  "title": "Botpress API",
13093
13174
  "description": "API for Botpress Cloud",
13094
13175
  "server": "https://api.botpress.cloud",
13095
- "version": "1.22.0",
13176
+ "version": "1.24.0",
13096
13177
  "prefix": "v1"
13097
13178
  },
13098
13179
  "errors": [
@@ -13228,6 +13309,7 @@ export const state = {
13228
13309
  "createBotBody": true,
13229
13310
  "updateBotBody": true,
13230
13311
  "transferBotBody": true,
13312
+ "publishFromBotJsonBody": true,
13231
13313
  "createBotVersionBody": true,
13232
13314
  "deployBotVersionBody": true,
13233
13315
  "createIntegrationShareableIdBody": true,
@@ -13287,6 +13369,8 @@ export const state = {
13287
13369
  "listBotIssueEventsResponse": true,
13288
13370
  "listBotVersionsResponse": true,
13289
13371
  "getBotVersionResponse": true,
13372
+ "getBotJsonResponse": true,
13373
+ "publishFromBotJsonResponse": true,
13290
13374
  "createBotVersionResponse": true,
13291
13375
  "deployBotVersionResponse": true,
13292
13376
  "createIntegrationShareableIdResponse": true,
@@ -13561,6 +13645,22 @@ export const state = {
13561
13645
  "type": "object",
13562
13646
  "additionalProperties": true
13563
13647
  },
13648
+ "interfaces": {
13649
+ "type": "object",
13650
+ "additionalProperties": {
13651
+ "type": "object",
13652
+ "properties": {
13653
+ "integrationId": {
13654
+ "type": "string"
13655
+ }
13656
+ },
13657
+ "required": [
13658
+ "integrationId"
13659
+ ],
13660
+ "additionalProperties": false
13661
+ },
13662
+ "description": "A mapping of plugin interface aliases to their backing integrations"
13663
+ },
13564
13664
  "id": {
13565
13665
  "type": "string",
13566
13666
  "minLength": 28,
@@ -16932,6 +17032,8 @@ export const state = {
16932
17032
  "listBotIssueEvents",
16933
17033
  "listBotVersions",
16934
17034
  "getBotVersion",
17035
+ "getBotJson",
17036
+ "publishFromBotJson",
16935
17037
  "createBotVersion",
16936
17038
  "deployBotVersion",
16937
17039
  "createIntegrationShareableId",