@botpress/api 1.23.0 → 1.25.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 +169 -5
- package/dist/src/gen/admin/state.d.ts +78 -0
- package/dist/src/gen/state.d.ts +78 -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 +83 -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 +83 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/src/gen/admin/state.ts
CHANGED
|
@@ -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",
|
|
@@ -8613,6 +8674,10 @@ export const state = {
|
|
|
8613
8674
|
"additionalProperties": false
|
|
8614
8675
|
}
|
|
8615
8676
|
},
|
|
8677
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
8678
|
+
"type": "boolean",
|
|
8679
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
8680
|
+
},
|
|
8616
8681
|
"secrets": {
|
|
8617
8682
|
"type": "object",
|
|
8618
8683
|
"additionalProperties": {
|
|
@@ -9203,6 +9268,10 @@ export const state = {
|
|
|
9203
9268
|
"additionalProperties": false
|
|
9204
9269
|
}
|
|
9205
9270
|
},
|
|
9271
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
9272
|
+
"type": "boolean",
|
|
9273
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
9274
|
+
},
|
|
9206
9275
|
"secrets": {
|
|
9207
9276
|
"type": "object",
|
|
9208
9277
|
"additionalProperties": {
|
|
@@ -9366,6 +9435,10 @@ export const state = {
|
|
|
9366
9435
|
},
|
|
9367
9436
|
"description": "Additional configuration definitions of the integration"
|
|
9368
9437
|
},
|
|
9438
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
9439
|
+
"type": "boolean",
|
|
9440
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
9441
|
+
},
|
|
9369
9442
|
"channels": {
|
|
9370
9443
|
"type": "object",
|
|
9371
9444
|
"additionalProperties": {
|
|
@@ -9958,6 +10031,10 @@ export const state = {
|
|
|
9958
10031
|
},
|
|
9959
10032
|
"description": "Additional configuration definitions of the integration"
|
|
9960
10033
|
},
|
|
10034
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
10035
|
+
"type": "boolean",
|
|
10036
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
10037
|
+
},
|
|
9961
10038
|
"channels": {
|
|
9962
10039
|
"type": "object",
|
|
9963
10040
|
"additionalProperties": {
|
|
@@ -13112,7 +13189,7 @@ export const state = {
|
|
|
13112
13189
|
"title": "Botpress API",
|
|
13113
13190
|
"description": "API for Botpress Cloud",
|
|
13114
13191
|
"server": "https://api.botpress.cloud",
|
|
13115
|
-
"version": "1.
|
|
13192
|
+
"version": "1.25.0",
|
|
13116
13193
|
"prefix": "v1"
|
|
13117
13194
|
},
|
|
13118
13195
|
"errors": [
|
|
@@ -13248,6 +13325,7 @@ export const state = {
|
|
|
13248
13325
|
"createBotBody": true,
|
|
13249
13326
|
"updateBotBody": true,
|
|
13250
13327
|
"transferBotBody": true,
|
|
13328
|
+
"publishFromBotJsonBody": true,
|
|
13251
13329
|
"createBotVersionBody": true,
|
|
13252
13330
|
"deployBotVersionBody": true,
|
|
13253
13331
|
"createIntegrationShareableIdBody": true,
|
|
@@ -13307,6 +13385,8 @@ export const state = {
|
|
|
13307
13385
|
"listBotIssueEventsResponse": true,
|
|
13308
13386
|
"listBotVersionsResponse": true,
|
|
13309
13387
|
"getBotVersionResponse": true,
|
|
13388
|
+
"getBotJsonResponse": true,
|
|
13389
|
+
"publishFromBotJsonResponse": true,
|
|
13310
13390
|
"createBotVersionResponse": true,
|
|
13311
13391
|
"deployBotVersionResponse": true,
|
|
13312
13392
|
"createIntegrationShareableIdResponse": true,
|
|
@@ -16968,6 +17048,8 @@ export const state = {
|
|
|
16968
17048
|
"listBotIssueEvents",
|
|
16969
17049
|
"listBotVersions",
|
|
16970
17050
|
"getBotVersion",
|
|
17051
|
+
"getBotJson",
|
|
17052
|
+
"publishFromBotJson",
|
|
16971
17053
|
"createBotVersion",
|
|
16972
17054
|
"deployBotVersion",
|
|
16973
17055
|
"createIntegrationShareableId",
|