@botpress/api 1.71.1 → 1.72.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 +261 -103
- package/dist/src/gen/admin/state.d.ts +119 -0
- package/dist/src/gen/billing/state.d.ts +0 -63
- package/dist/src/gen/state.d.ts +95 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -279445,7 +279445,7 @@ var state = {
|
|
|
279445
279445
|
"title": "Botpress Runtime API",
|
|
279446
279446
|
"description": "API for Botpress Runtime",
|
|
279447
279447
|
"server": "https://api.botpress.cloud",
|
|
279448
|
-
"version": "1.
|
|
279448
|
+
"version": "1.72.0",
|
|
279449
279449
|
"prefix": "v1"
|
|
279450
279450
|
},
|
|
279451
279451
|
"defaultParameters": {
|
|
@@ -281242,6 +281242,11 @@ var state2 = {
|
|
|
281242
281242
|
"maxLength": 2e3,
|
|
281243
281243
|
"description": "URL of the [Integration](#schema_integration)"
|
|
281244
281244
|
},
|
|
281245
|
+
"signingSecret": {
|
|
281246
|
+
"type": "string",
|
|
281247
|
+
"maxLength": 2e3,
|
|
281248
|
+
"description": "Signing secret of the [Integration](#schema_integration). This field is only visible when creating a new integration or when rotating the signing secret of an existing integration."
|
|
281249
|
+
},
|
|
281245
281250
|
"name": {
|
|
281246
281251
|
"type": "string",
|
|
281247
281252
|
"maxLength": 200,
|
|
@@ -281885,6 +281890,7 @@ var state2 = {
|
|
|
281885
281890
|
"updatedAt",
|
|
281886
281891
|
"identifier",
|
|
281887
281892
|
"url",
|
|
281893
|
+
"signingSecret",
|
|
281888
281894
|
"name",
|
|
281889
281895
|
"version",
|
|
281890
281896
|
"interfaces",
|
|
@@ -282016,6 +282022,11 @@ var state2 = {
|
|
|
282016
282022
|
"maxLength": 2e3,
|
|
282017
282023
|
"description": "URL of the [Integration](#schema_integration)"
|
|
282018
282024
|
},
|
|
282025
|
+
"signingSecret": {
|
|
282026
|
+
"type": "string",
|
|
282027
|
+
"maxLength": 2e3,
|
|
282028
|
+
"description": "Signing secret of the [Integration](#schema_integration). This field is only visible when creating a new integration or when rotating the signing secret of an existing integration."
|
|
282029
|
+
},
|
|
282019
282030
|
"name": {
|
|
282020
282031
|
"type": "string",
|
|
282021
282032
|
"maxLength": 200,
|
|
@@ -282659,6 +282670,7 @@ var state2 = {
|
|
|
282659
282670
|
"updatedAt",
|
|
282660
282671
|
"identifier",
|
|
282661
282672
|
"url",
|
|
282673
|
+
"signingSecret",
|
|
282662
282674
|
"name",
|
|
282663
282675
|
"version",
|
|
282664
282676
|
"interfaces",
|
|
@@ -285316,9 +285328,10 @@ var state2 = {
|
|
|
285316
285328
|
"authentication": {
|
|
285317
285329
|
"type": "string",
|
|
285318
285330
|
"enum": [
|
|
285319
|
-
"iam"
|
|
285331
|
+
"iam",
|
|
285332
|
+
"hmac-sha256"
|
|
285320
285333
|
],
|
|
285321
|
-
"description": "Type of the [Bot](#schema_bot) authentication (`iam`)"
|
|
285334
|
+
"description": "Type of the [Bot](#schema_bot) authentication (`iam` or `hmac-sha256`)"
|
|
285322
285335
|
},
|
|
285323
285336
|
"configuration": {
|
|
285324
285337
|
"type": "object",
|
|
@@ -285795,6 +285808,60 @@ var state2 = {
|
|
|
285795
285808
|
"documented"
|
|
285796
285809
|
]
|
|
285797
285810
|
},
|
|
285811
|
+
"rotateBotSigningSecrets": {
|
|
285812
|
+
"name": "rotateBotSigningSecrets",
|
|
285813
|
+
"description": "Rotate bot signing secrets. This will generate a new signing secret and invalidate the old ones after 24 hours.",
|
|
285814
|
+
"method": "post",
|
|
285815
|
+
"section": "bot",
|
|
285816
|
+
"path": "/v1/admin/bots/{id}/signing-secrets/rotate",
|
|
285817
|
+
"parameters": {
|
|
285818
|
+
"id": {
|
|
285819
|
+
"type": "string",
|
|
285820
|
+
"description": "Bot ID",
|
|
285821
|
+
"in": "path"
|
|
285822
|
+
},
|
|
285823
|
+
"x-workspace-id": {
|
|
285824
|
+
"in": "header",
|
|
285825
|
+
"type": "string",
|
|
285826
|
+
"description": "Workspace ID",
|
|
285827
|
+
"required": true
|
|
285828
|
+
},
|
|
285829
|
+
"x-multiple-integrations": {
|
|
285830
|
+
"in": "header",
|
|
285831
|
+
"type": "string",
|
|
285832
|
+
"description": 'Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.',
|
|
285833
|
+
"required": false
|
|
285834
|
+
}
|
|
285835
|
+
},
|
|
285836
|
+
"requestBody": {
|
|
285837
|
+
"description": "Empty body",
|
|
285838
|
+
"schema": {
|
|
285839
|
+
"type": "object",
|
|
285840
|
+
"title": "rotateBotSigningSecretsBody",
|
|
285841
|
+
"additionalProperties": false
|
|
285842
|
+
}
|
|
285843
|
+
},
|
|
285844
|
+
"response": {
|
|
285845
|
+
"description": "Success",
|
|
285846
|
+
"schema": {
|
|
285847
|
+
"type": "object",
|
|
285848
|
+
"properties": {
|
|
285849
|
+
"newSigningSecret": {
|
|
285850
|
+
"type": "string",
|
|
285851
|
+
"description": "The new signing secret that can be used immediately. The old signing secret(s) will continue to work for 24 hours after this operation to allow for a smooth transition."
|
|
285852
|
+
}
|
|
285853
|
+
},
|
|
285854
|
+
"required": [
|
|
285855
|
+
"newSigningSecret"
|
|
285856
|
+
],
|
|
285857
|
+
"title": "rotateBotSigningSecretsResponse",
|
|
285858
|
+
"additionalProperties": false
|
|
285859
|
+
}
|
|
285860
|
+
},
|
|
285861
|
+
"tags": [
|
|
285862
|
+
"experimental"
|
|
285863
|
+
]
|
|
285864
|
+
},
|
|
285798
285865
|
"transferBot": {
|
|
285799
285866
|
"name": "transferBot",
|
|
285800
285867
|
"description": "Transfer bot to another workspace. You need to be a Manager member of the workspace the bot currently belongs to and have permission to create bots in the target workspace.",
|
|
@@ -292080,6 +292147,60 @@ var state2 = {
|
|
|
292080
292147
|
"documented"
|
|
292081
292148
|
]
|
|
292082
292149
|
},
|
|
292150
|
+
"rotateIntegrationSigningSecrets": {
|
|
292151
|
+
"name": "rotateIntegrationSigningSecrets",
|
|
292152
|
+
"description": "Rotate integration signing secrets. This will generate a new signing secret and invalidate the old ones after 24 hours.",
|
|
292153
|
+
"method": "post",
|
|
292154
|
+
"section": "integration",
|
|
292155
|
+
"path": "/v1/admin/integrations/{id}/signing-secrets/rotate",
|
|
292156
|
+
"parameters": {
|
|
292157
|
+
"id": {
|
|
292158
|
+
"type": "string",
|
|
292159
|
+
"description": "Integration Version ID",
|
|
292160
|
+
"in": "path"
|
|
292161
|
+
},
|
|
292162
|
+
"x-workspace-id": {
|
|
292163
|
+
"in": "header",
|
|
292164
|
+
"type": "string",
|
|
292165
|
+
"description": "Workspace ID",
|
|
292166
|
+
"required": true
|
|
292167
|
+
},
|
|
292168
|
+
"x-multiple-integrations": {
|
|
292169
|
+
"in": "header",
|
|
292170
|
+
"type": "string",
|
|
292171
|
+
"description": 'Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.',
|
|
292172
|
+
"required": false
|
|
292173
|
+
}
|
|
292174
|
+
},
|
|
292175
|
+
"requestBody": {
|
|
292176
|
+
"description": "Empty body",
|
|
292177
|
+
"schema": {
|
|
292178
|
+
"type": "object",
|
|
292179
|
+
"title": "rotateIntegrationSigningSecretsBody",
|
|
292180
|
+
"additionalProperties": false
|
|
292181
|
+
}
|
|
292182
|
+
},
|
|
292183
|
+
"response": {
|
|
292184
|
+
"description": "Success",
|
|
292185
|
+
"schema": {
|
|
292186
|
+
"type": "object",
|
|
292187
|
+
"properties": {
|
|
292188
|
+
"newSigningSecret": {
|
|
292189
|
+
"type": "string",
|
|
292190
|
+
"description": "The new signing secret that can be used immediately. The old signing secret(s) will continue to work for 24 hours after this operation to allow for a smooth transition."
|
|
292191
|
+
}
|
|
292192
|
+
},
|
|
292193
|
+
"required": [
|
|
292194
|
+
"newSigningSecret"
|
|
292195
|
+
],
|
|
292196
|
+
"title": "rotateIntegrationSigningSecretsResponse",
|
|
292197
|
+
"additionalProperties": false
|
|
292198
|
+
}
|
|
292199
|
+
},
|
|
292200
|
+
"tags": [
|
|
292201
|
+
"experimental"
|
|
292202
|
+
]
|
|
292203
|
+
},
|
|
292083
292204
|
"validateIntegrationUpdate": {
|
|
292084
292205
|
"name": "validateIntegrationUpdate",
|
|
292085
292206
|
"description": "Perform a validation of an integration update request",
|
|
@@ -295871,7 +295992,7 @@ var state2 = {
|
|
|
295871
295992
|
"title": "Botpress Admin API",
|
|
295872
295993
|
"description": "API for Botpress Cloud Manager",
|
|
295873
295994
|
"server": "https://api.botpress.cloud",
|
|
295874
|
-
"version": "1.
|
|
295995
|
+
"version": "1.72.0",
|
|
295875
295996
|
"prefix": "v1"
|
|
295876
295997
|
},
|
|
295877
295998
|
"defaultParameters": {
|
|
@@ -296030,6 +296151,7 @@ var state2 = {
|
|
|
296030
296151
|
"setAccountPreferenceBody": true,
|
|
296031
296152
|
"createBotBody": true,
|
|
296032
296153
|
"updateBotBody": true,
|
|
296154
|
+
"rotateBotSigningSecretsBody": true,
|
|
296033
296155
|
"transferBotBody": true,
|
|
296034
296156
|
"publishFromBotJsonBody": true,
|
|
296035
296157
|
"createBotVersionBody": true,
|
|
@@ -296048,6 +296170,7 @@ var state2 = {
|
|
|
296048
296170
|
"createIntegrationBody": true,
|
|
296049
296171
|
"validateIntegrationCreationBody": true,
|
|
296050
296172
|
"updateIntegrationBody": true,
|
|
296173
|
+
"rotateIntegrationSigningSecretsBody": true,
|
|
296051
296174
|
"validateIntegrationUpdateBody": true,
|
|
296052
296175
|
"requestIntegrationVerificationBody": true,
|
|
296053
296176
|
"createInterfaceBody": true,
|
|
@@ -296080,6 +296203,7 @@ var state2 = {
|
|
|
296080
296203
|
"getPublicInterfaceResponse": true,
|
|
296081
296204
|
"createBotResponse": true,
|
|
296082
296205
|
"updateBotResponse": true,
|
|
296206
|
+
"rotateBotSigningSecretsResponse": true,
|
|
296083
296207
|
"transferBotResponse": true,
|
|
296084
296208
|
"listBotsResponse": true,
|
|
296085
296209
|
"getBotResponse": true,
|
|
@@ -296137,6 +296261,7 @@ var state2 = {
|
|
|
296137
296261
|
"createIntegrationResponse": true,
|
|
296138
296262
|
"validateIntegrationCreationResponse": true,
|
|
296139
296263
|
"updateIntegrationResponse": true,
|
|
296264
|
+
"rotateIntegrationSigningSecretsResponse": true,
|
|
296140
296265
|
"validateIntegrationUpdateResponse": true,
|
|
296141
296266
|
"listIntegrationsResponse": true,
|
|
296142
296267
|
"getIntegrationResponse": true,
|
|
@@ -296207,7 +296332,7 @@ var state2 = {
|
|
|
296207
296332
|
"signingSecret": {
|
|
296208
296333
|
"type": "string",
|
|
296209
296334
|
"maxLength": 2e3,
|
|
296210
|
-
"description": "Signing secret of the [Bot](#schema_bot)"
|
|
296335
|
+
"description": "Signing secret of the [Bot](#schema_bot). This field is only visible when creating a new bot or when rotating the signing secret of an existing bot."
|
|
296211
296336
|
},
|
|
296212
296337
|
"integrations": {
|
|
296213
296338
|
"type": "object",
|
|
@@ -296987,6 +297112,11 @@ var state2 = {
|
|
|
296987
297112
|
"maxLength": 2e3,
|
|
296988
297113
|
"description": "URL of the [Integration](#schema_integration)"
|
|
296989
297114
|
},
|
|
297115
|
+
"signingSecret": {
|
|
297116
|
+
"type": "string",
|
|
297117
|
+
"maxLength": 2e3,
|
|
297118
|
+
"description": "Signing secret of the [Integration](#schema_integration). This field is only visible when creating a new integration or when rotating the signing secret of an existing integration."
|
|
297119
|
+
},
|
|
296990
297120
|
"name": {
|
|
296991
297121
|
"type": "string",
|
|
296992
297122
|
"maxLength": 200,
|
|
@@ -297593,6 +297723,7 @@ var state2 = {
|
|
|
297593
297723
|
"updatedAt",
|
|
297594
297724
|
"identifier",
|
|
297595
297725
|
"url",
|
|
297726
|
+
"signingSecret",
|
|
297596
297727
|
"name",
|
|
297597
297728
|
"version",
|
|
297598
297729
|
"interfaces",
|
|
@@ -298697,6 +298828,7 @@ var state2 = {
|
|
|
298697
298828
|
"operations": [
|
|
298698
298829
|
"createBot",
|
|
298699
298830
|
"updateBot",
|
|
298831
|
+
"rotateBotSigningSecrets",
|
|
298700
298832
|
"transferBot",
|
|
298701
298833
|
"listBots",
|
|
298702
298834
|
"getBot",
|
|
@@ -298738,6 +298870,7 @@ var state2 = {
|
|
|
298738
298870
|
"createIntegration",
|
|
298739
298871
|
"validateIntegrationCreation",
|
|
298740
298872
|
"updateIntegration",
|
|
298873
|
+
"rotateIntegrationSigningSecrets",
|
|
298741
298874
|
"validateIntegrationUpdate",
|
|
298742
298875
|
"listIntegrations",
|
|
298743
298876
|
"getIntegration",
|
|
@@ -301380,7 +301513,7 @@ var state3 = {
|
|
|
301380
301513
|
"title": "Botpress Files API",
|
|
301381
301514
|
"description": "API for Botpress Files",
|
|
301382
301515
|
"server": "https://api.botpress.cloud",
|
|
301383
|
-
"version": "1.
|
|
301516
|
+
"version": "1.72.0",
|
|
301384
301517
|
"prefix": "v1"
|
|
301385
301518
|
},
|
|
301386
301519
|
"defaultParameters": {
|
|
@@ -303676,7 +303809,7 @@ var state4 = {
|
|
|
303676
303809
|
"title": "Botpress Tables API",
|
|
303677
303810
|
"description": "API for Botpress Tables",
|
|
303678
303811
|
"server": "https://api.botpress.cloud",
|
|
303679
|
-
"version": "1.
|
|
303812
|
+
"version": "1.72.0",
|
|
303680
303813
|
"prefix": "v1"
|
|
303681
303814
|
},
|
|
303682
303815
|
"defaultParameters": {
|
|
@@ -308297,6 +308430,11 @@ var state5 = {
|
|
|
308297
308430
|
"maxLength": 2e3,
|
|
308298
308431
|
"description": "URL of the [Integration](#schema_integration)"
|
|
308299
308432
|
},
|
|
308433
|
+
"signingSecret": {
|
|
308434
|
+
"type": "string",
|
|
308435
|
+
"maxLength": 2e3,
|
|
308436
|
+
"description": "Signing secret of the [Integration](#schema_integration). This field is only visible when creating a new integration or when rotating the signing secret of an existing integration."
|
|
308437
|
+
},
|
|
308300
308438
|
"name": {
|
|
308301
308439
|
"type": "string",
|
|
308302
308440
|
"maxLength": 200,
|
|
@@ -308940,6 +309078,7 @@ var state5 = {
|
|
|
308940
309078
|
"updatedAt",
|
|
308941
309079
|
"identifier",
|
|
308942
309080
|
"url",
|
|
309081
|
+
"signingSecret",
|
|
308943
309082
|
"name",
|
|
308944
309083
|
"version",
|
|
308945
309084
|
"interfaces",
|
|
@@ -309065,6 +309204,11 @@ var state5 = {
|
|
|
309065
309204
|
"maxLength": 2e3,
|
|
309066
309205
|
"description": "URL of the [Integration](#schema_integration)"
|
|
309067
309206
|
},
|
|
309207
|
+
"signingSecret": {
|
|
309208
|
+
"type": "string",
|
|
309209
|
+
"maxLength": 2e3,
|
|
309210
|
+
"description": "Signing secret of the [Integration](#schema_integration). This field is only visible when creating a new integration or when rotating the signing secret of an existing integration."
|
|
309211
|
+
},
|
|
309068
309212
|
"name": {
|
|
309069
309213
|
"type": "string",
|
|
309070
309214
|
"maxLength": 200,
|
|
@@ -309708,6 +309852,7 @@ var state5 = {
|
|
|
309708
309852
|
"updatedAt",
|
|
309709
309853
|
"identifier",
|
|
309710
309854
|
"url",
|
|
309855
|
+
"signingSecret",
|
|
309711
309856
|
"name",
|
|
309712
309857
|
"version",
|
|
309713
309858
|
"interfaces",
|
|
@@ -312292,9 +312437,10 @@ var state5 = {
|
|
|
312292
312437
|
"authentication": {
|
|
312293
312438
|
"type": "string",
|
|
312294
312439
|
"enum": [
|
|
312295
|
-
"iam"
|
|
312440
|
+
"iam",
|
|
312441
|
+
"hmac-sha256"
|
|
312296
312442
|
],
|
|
312297
|
-
"description": "Type of the [Bot](#schema_bot) authentication (`iam`)"
|
|
312443
|
+
"description": "Type of the [Bot](#schema_bot) authentication (`iam` or `hmac-sha256`)"
|
|
312298
312444
|
},
|
|
312299
312445
|
"configuration": {
|
|
312300
312446
|
"type": "object",
|
|
@@ -312771,6 +312917,48 @@ var state5 = {
|
|
|
312771
312917
|
"documented"
|
|
312772
312918
|
]
|
|
312773
312919
|
},
|
|
312920
|
+
"rotateBotSigningSecrets": {
|
|
312921
|
+
"name": "rotateBotSigningSecrets",
|
|
312922
|
+
"description": "Rotate bot signing secrets. This will generate a new signing secret and invalidate the old ones after 24 hours.",
|
|
312923
|
+
"method": "post",
|
|
312924
|
+
"section": "bot",
|
|
312925
|
+
"path": "/v1/admin/bots/{id}/signing-secrets/rotate",
|
|
312926
|
+
"parameters": {
|
|
312927
|
+
"id": {
|
|
312928
|
+
"type": "string",
|
|
312929
|
+
"description": "Bot ID",
|
|
312930
|
+
"in": "path"
|
|
312931
|
+
}
|
|
312932
|
+
},
|
|
312933
|
+
"requestBody": {
|
|
312934
|
+
"description": "Empty body",
|
|
312935
|
+
"schema": {
|
|
312936
|
+
"type": "object",
|
|
312937
|
+
"title": "rotateBotSigningSecretsBody",
|
|
312938
|
+
"additionalProperties": false
|
|
312939
|
+
}
|
|
312940
|
+
},
|
|
312941
|
+
"response": {
|
|
312942
|
+
"description": "Success",
|
|
312943
|
+
"schema": {
|
|
312944
|
+
"type": "object",
|
|
312945
|
+
"properties": {
|
|
312946
|
+
"newSigningSecret": {
|
|
312947
|
+
"type": "string",
|
|
312948
|
+
"description": "The new signing secret that can be used immediately. The old signing secret(s) will continue to work for 24 hours after this operation to allow for a smooth transition."
|
|
312949
|
+
}
|
|
312950
|
+
},
|
|
312951
|
+
"required": [
|
|
312952
|
+
"newSigningSecret"
|
|
312953
|
+
],
|
|
312954
|
+
"title": "rotateBotSigningSecretsResponse",
|
|
312955
|
+
"additionalProperties": false
|
|
312956
|
+
}
|
|
312957
|
+
},
|
|
312958
|
+
"tags": [
|
|
312959
|
+
"experimental"
|
|
312960
|
+
]
|
|
312961
|
+
},
|
|
312774
312962
|
"transferBot": {
|
|
312775
312963
|
"name": "transferBot",
|
|
312776
312964
|
"description": "Transfer bot to another workspace. You need to be a Manager member of the workspace the bot currently belongs to and have permission to create bots in the target workspace.",
|
|
@@ -318478,6 +318666,48 @@ var state5 = {
|
|
|
318478
318666
|
"documented"
|
|
318479
318667
|
]
|
|
318480
318668
|
},
|
|
318669
|
+
"rotateIntegrationSigningSecrets": {
|
|
318670
|
+
"name": "rotateIntegrationSigningSecrets",
|
|
318671
|
+
"description": "Rotate integration signing secrets. This will generate a new signing secret and invalidate the old ones after 24 hours.",
|
|
318672
|
+
"method": "post",
|
|
318673
|
+
"section": "integration",
|
|
318674
|
+
"path": "/v1/admin/integrations/{id}/signing-secrets/rotate",
|
|
318675
|
+
"parameters": {
|
|
318676
|
+
"id": {
|
|
318677
|
+
"type": "string",
|
|
318678
|
+
"description": "Integration Version ID",
|
|
318679
|
+
"in": "path"
|
|
318680
|
+
}
|
|
318681
|
+
},
|
|
318682
|
+
"requestBody": {
|
|
318683
|
+
"description": "Empty body",
|
|
318684
|
+
"schema": {
|
|
318685
|
+
"type": "object",
|
|
318686
|
+
"title": "rotateIntegrationSigningSecretsBody",
|
|
318687
|
+
"additionalProperties": false
|
|
318688
|
+
}
|
|
318689
|
+
},
|
|
318690
|
+
"response": {
|
|
318691
|
+
"description": "Success",
|
|
318692
|
+
"schema": {
|
|
318693
|
+
"type": "object",
|
|
318694
|
+
"properties": {
|
|
318695
|
+
"newSigningSecret": {
|
|
318696
|
+
"type": "string",
|
|
318697
|
+
"description": "The new signing secret that can be used immediately. The old signing secret(s) will continue to work for 24 hours after this operation to allow for a smooth transition."
|
|
318698
|
+
}
|
|
318699
|
+
},
|
|
318700
|
+
"required": [
|
|
318701
|
+
"newSigningSecret"
|
|
318702
|
+
],
|
|
318703
|
+
"title": "rotateIntegrationSigningSecretsResponse",
|
|
318704
|
+
"additionalProperties": false
|
|
318705
|
+
}
|
|
318706
|
+
},
|
|
318707
|
+
"tags": [
|
|
318708
|
+
"experimental"
|
|
318709
|
+
]
|
|
318710
|
+
},
|
|
318481
318711
|
"validateIntegrationUpdate": {
|
|
318482
318712
|
"name": "validateIntegrationUpdate",
|
|
318483
318713
|
"description": "Perform a validation of an integration update request",
|
|
@@ -325150,7 +325380,7 @@ var state5 = {
|
|
|
325150
325380
|
"title": "Botpress API",
|
|
325151
325381
|
"description": "API for Botpress Cloud",
|
|
325152
325382
|
"server": "https://api.botpress.cloud",
|
|
325153
|
-
"version": "1.
|
|
325383
|
+
"version": "1.72.0",
|
|
325154
325384
|
"prefix": "v1"
|
|
325155
325385
|
},
|
|
325156
325386
|
"errors": [
|
|
@@ -325321,6 +325551,7 @@ var state5 = {
|
|
|
325321
325551
|
"setAccountPreferenceBody": true,
|
|
325322
325552
|
"createBotBody": true,
|
|
325323
325553
|
"updateBotBody": true,
|
|
325554
|
+
"rotateBotSigningSecretsBody": true,
|
|
325324
325555
|
"transferBotBody": true,
|
|
325325
325556
|
"publishFromBotJsonBody": true,
|
|
325326
325557
|
"createBotVersionBody": true,
|
|
@@ -325339,6 +325570,7 @@ var state5 = {
|
|
|
325339
325570
|
"createIntegrationBody": true,
|
|
325340
325571
|
"validateIntegrationCreationBody": true,
|
|
325341
325572
|
"updateIntegrationBody": true,
|
|
325573
|
+
"rotateIntegrationSigningSecretsBody": true,
|
|
325342
325574
|
"validateIntegrationUpdateBody": true,
|
|
325343
325575
|
"requestIntegrationVerificationBody": true,
|
|
325344
325576
|
"createInterfaceBody": true,
|
|
@@ -325437,6 +325669,7 @@ var state5 = {
|
|
|
325437
325669
|
"getPublicInterfaceResponse": true,
|
|
325438
325670
|
"createBotResponse": true,
|
|
325439
325671
|
"updateBotResponse": true,
|
|
325672
|
+
"rotateBotSigningSecretsResponse": true,
|
|
325440
325673
|
"transferBotResponse": true,
|
|
325441
325674
|
"listBotsResponse": true,
|
|
325442
325675
|
"getBotResponse": true,
|
|
@@ -325494,6 +325727,7 @@ var state5 = {
|
|
|
325494
325727
|
"createIntegrationResponse": true,
|
|
325495
325728
|
"validateIntegrationCreationResponse": true,
|
|
325496
325729
|
"updateIntegrationResponse": true,
|
|
325730
|
+
"rotateIntegrationSigningSecretsResponse": true,
|
|
325497
325731
|
"validateIntegrationUpdateResponse": true,
|
|
325498
325732
|
"listIntegrationsResponse": true,
|
|
325499
325733
|
"getIntegrationResponse": true,
|
|
@@ -325607,7 +325841,7 @@ var state5 = {
|
|
|
325607
325841
|
"signingSecret": {
|
|
325608
325842
|
"type": "string",
|
|
325609
325843
|
"maxLength": 2e3,
|
|
325610
|
-
"description": "Signing secret of the [Bot](#schema_bot)"
|
|
325844
|
+
"description": "Signing secret of the [Bot](#schema_bot). This field is only visible when creating a new bot or when rotating the signing secret of an existing bot."
|
|
325611
325845
|
},
|
|
325612
325846
|
"integrations": {
|
|
325613
325847
|
"type": "object",
|
|
@@ -326387,6 +326621,11 @@ var state5 = {
|
|
|
326387
326621
|
"maxLength": 2e3,
|
|
326388
326622
|
"description": "URL of the [Integration](#schema_integration)"
|
|
326389
326623
|
},
|
|
326624
|
+
"signingSecret": {
|
|
326625
|
+
"type": "string",
|
|
326626
|
+
"maxLength": 2e3,
|
|
326627
|
+
"description": "Signing secret of the [Integration](#schema_integration). This field is only visible when creating a new integration or when rotating the signing secret of an existing integration."
|
|
326628
|
+
},
|
|
326390
326629
|
"name": {
|
|
326391
326630
|
"type": "string",
|
|
326392
326631
|
"maxLength": 200,
|
|
@@ -326993,6 +327232,7 @@ var state5 = {
|
|
|
326993
327232
|
"updatedAt",
|
|
326994
327233
|
"identifier",
|
|
326995
327234
|
"url",
|
|
327235
|
+
"signingSecret",
|
|
326996
327236
|
"name",
|
|
326997
327237
|
"version",
|
|
326998
327238
|
"interfaces",
|
|
@@ -329361,6 +329601,7 @@ var state5 = {
|
|
|
329361
329601
|
"operations": [
|
|
329362
329602
|
"createBot",
|
|
329363
329603
|
"updateBot",
|
|
329604
|
+
"rotateBotSigningSecrets",
|
|
329364
329605
|
"transferBot",
|
|
329365
329606
|
"listBots",
|
|
329366
329607
|
"getBot",
|
|
@@ -329402,6 +329643,7 @@ var state5 = {
|
|
|
329402
329643
|
"createIntegration",
|
|
329403
329644
|
"validateIntegrationCreation",
|
|
329404
329645
|
"updateIntegration",
|
|
329646
|
+
"rotateIntegrationSigningSecrets",
|
|
329405
329647
|
"validateIntegrationUpdate",
|
|
329406
329648
|
"listIntegrations",
|
|
329407
329649
|
"getIntegration",
|
|
@@ -330100,23 +330342,11 @@ var state6 = {
|
|
|
330100
330342
|
],
|
|
330101
330343
|
"additionalProperties": false
|
|
330102
330344
|
}
|
|
330103
|
-
},
|
|
330104
|
-
"yearlyTotal": {
|
|
330105
|
-
"type": "number"
|
|
330106
|
-
},
|
|
330107
|
-
"monthlyTotal": {
|
|
330108
|
-
"type": "number"
|
|
330109
|
-
},
|
|
330110
|
-
"proratedTotal": {
|
|
330111
|
-
"type": "number"
|
|
330112
330345
|
}
|
|
330113
330346
|
},
|
|
330114
330347
|
"required": [
|
|
330115
330348
|
"plan",
|
|
330116
|
-
"addons"
|
|
330117
|
-
"yearlyTotal",
|
|
330118
|
-
"monthlyTotal",
|
|
330119
|
-
"proratedTotal"
|
|
330349
|
+
"addons"
|
|
330120
330350
|
],
|
|
330121
330351
|
"title": "getCurrentSubscriptionResponse",
|
|
330122
330352
|
"additionalProperties": false
|
|
@@ -330280,23 +330510,11 @@ var state6 = {
|
|
|
330280
330510
|
],
|
|
330281
330511
|
"additionalProperties": false
|
|
330282
330512
|
}
|
|
330283
|
-
},
|
|
330284
|
-
"yearlyTotal": {
|
|
330285
|
-
"type": "number"
|
|
330286
|
-
},
|
|
330287
|
-
"monthlyTotal": {
|
|
330288
|
-
"type": "number"
|
|
330289
|
-
},
|
|
330290
|
-
"proratedTotal": {
|
|
330291
|
-
"type": "number"
|
|
330292
330513
|
}
|
|
330293
330514
|
},
|
|
330294
330515
|
"required": [
|
|
330295
330516
|
"plan",
|
|
330296
|
-
"addons"
|
|
330297
|
-
"yearlyTotal",
|
|
330298
|
-
"monthlyTotal",
|
|
330299
|
-
"proratedTotal"
|
|
330517
|
+
"addons"
|
|
330300
330518
|
],
|
|
330301
330519
|
"title": "getNextSubscriptionResponse",
|
|
330302
330520
|
"additionalProperties": false
|
|
@@ -330784,23 +331002,11 @@ var state6 = {
|
|
|
330784
331002
|
],
|
|
330785
331003
|
"additionalProperties": false
|
|
330786
331004
|
}
|
|
330787
|
-
},
|
|
330788
|
-
"yearlyTotal": {
|
|
330789
|
-
"type": "number"
|
|
330790
|
-
},
|
|
330791
|
-
"monthlyTotal": {
|
|
330792
|
-
"type": "number"
|
|
330793
|
-
},
|
|
330794
|
-
"proratedTotal": {
|
|
330795
|
-
"type": "number"
|
|
330796
331005
|
}
|
|
330797
331006
|
},
|
|
330798
331007
|
"required": [
|
|
330799
331008
|
"plan",
|
|
330800
|
-
"addons"
|
|
330801
|
-
"yearlyTotal",
|
|
330802
|
-
"monthlyTotal",
|
|
330803
|
-
"proratedTotal"
|
|
331009
|
+
"addons"
|
|
330804
331010
|
],
|
|
330805
331011
|
"description": "Subscription details including current plan, addons, and costs",
|
|
330806
331012
|
"title": "setPlanResponse",
|
|
@@ -330985,23 +331191,11 @@ var state6 = {
|
|
|
330985
331191
|
],
|
|
330986
331192
|
"additionalProperties": false
|
|
330987
331193
|
}
|
|
330988
|
-
},
|
|
330989
|
-
"yearlyTotal": {
|
|
330990
|
-
"type": "number"
|
|
330991
|
-
},
|
|
330992
|
-
"monthlyTotal": {
|
|
330993
|
-
"type": "number"
|
|
330994
|
-
},
|
|
330995
|
-
"proratedTotal": {
|
|
330996
|
-
"type": "number"
|
|
330997
331194
|
}
|
|
330998
331195
|
},
|
|
330999
331196
|
"required": [
|
|
331000
331197
|
"plan",
|
|
331001
|
-
"addons"
|
|
331002
|
-
"yearlyTotal",
|
|
331003
|
-
"monthlyTotal",
|
|
331004
|
-
"proratedTotal"
|
|
331198
|
+
"addons"
|
|
331005
331199
|
],
|
|
331006
331200
|
"description": "Subscription details including current plan, addons, and costs",
|
|
331007
331201
|
"title": "setAddonsResponse",
|
|
@@ -331428,7 +331622,7 @@ var state6 = {
|
|
|
331428
331622
|
"title": "Botpress Billing Public API",
|
|
331429
331623
|
"description": "API for Botpress Billing",
|
|
331430
331624
|
"server": "https://api.botpress.cloud",
|
|
331431
|
-
"version": "1.
|
|
331625
|
+
"version": "1.72.0",
|
|
331432
331626
|
"prefix": "v2"
|
|
331433
331627
|
},
|
|
331434
331628
|
"defaultParameters": {
|
|
@@ -331811,23 +332005,11 @@ var state6 = {
|
|
|
331811
332005
|
],
|
|
331812
332006
|
"additionalProperties": false
|
|
331813
332007
|
}
|
|
331814
|
-
},
|
|
331815
|
-
"yearlyTotal": {
|
|
331816
|
-
"type": "number"
|
|
331817
|
-
},
|
|
331818
|
-
"monthlyTotal": {
|
|
331819
|
-
"type": "number"
|
|
331820
|
-
},
|
|
331821
|
-
"proratedTotal": {
|
|
331822
|
-
"type": "number"
|
|
331823
332008
|
}
|
|
331824
332009
|
},
|
|
331825
332010
|
"required": [
|
|
331826
332011
|
"plan",
|
|
331827
|
-
"addons"
|
|
331828
|
-
"yearlyTotal",
|
|
331829
|
-
"monthlyTotal",
|
|
331830
|
-
"proratedTotal"
|
|
332012
|
+
"addons"
|
|
331831
332013
|
],
|
|
331832
332014
|
"additionalProperties": false
|
|
331833
332015
|
}
|
|
@@ -331975,23 +332157,11 @@ var state6 = {
|
|
|
331975
332157
|
],
|
|
331976
332158
|
"additionalProperties": false
|
|
331977
332159
|
}
|
|
331978
|
-
},
|
|
331979
|
-
"yearlyTotal": {
|
|
331980
|
-
"type": "number"
|
|
331981
|
-
},
|
|
331982
|
-
"monthlyTotal": {
|
|
331983
|
-
"type": "number"
|
|
331984
|
-
},
|
|
331985
|
-
"proratedTotal": {
|
|
331986
|
-
"type": "number"
|
|
331987
332160
|
}
|
|
331988
332161
|
},
|
|
331989
332162
|
"required": [
|
|
331990
332163
|
"plan",
|
|
331991
|
-
"addons"
|
|
331992
|
-
"yearlyTotal",
|
|
331993
|
-
"monthlyTotal",
|
|
331994
|
-
"proratedTotal"
|
|
332164
|
+
"addons"
|
|
331995
332165
|
],
|
|
331996
332166
|
"additionalProperties": false
|
|
331997
332167
|
}
|
|
@@ -332180,23 +332350,11 @@ var state6 = {
|
|
|
332180
332350
|
],
|
|
332181
332351
|
"additionalProperties": false
|
|
332182
332352
|
}
|
|
332183
|
-
},
|
|
332184
|
-
"yearlyTotal": {
|
|
332185
|
-
"type": "number"
|
|
332186
|
-
},
|
|
332187
|
-
"monthlyTotal": {
|
|
332188
|
-
"type": "number"
|
|
332189
|
-
},
|
|
332190
|
-
"proratedTotal": {
|
|
332191
|
-
"type": "number"
|
|
332192
332353
|
}
|
|
332193
332354
|
},
|
|
332194
332355
|
"required": [
|
|
332195
332356
|
"plan",
|
|
332196
|
-
"addons"
|
|
332197
|
-
"yearlyTotal",
|
|
332198
|
-
"monthlyTotal",
|
|
332199
|
-
"proratedTotal"
|
|
332357
|
+
"addons"
|
|
332200
332358
|
],
|
|
332201
332359
|
"description": "Subscription details including current plan, addons, and costs",
|
|
332202
332360
|
"additionalProperties": false
|
|
@@ -769,6 +769,11 @@ export declare const state: {
|
|
|
769
769
|
maxLength: number;
|
|
770
770
|
description: string;
|
|
771
771
|
};
|
|
772
|
+
signingSecret: {
|
|
773
|
+
type: "string";
|
|
774
|
+
maxLength: number;
|
|
775
|
+
description: string;
|
|
776
|
+
};
|
|
772
777
|
name: {
|
|
773
778
|
type: "string";
|
|
774
779
|
maxLength: number;
|
|
@@ -1427,6 +1432,11 @@ export declare const state: {
|
|
|
1427
1432
|
maxLength: number;
|
|
1428
1433
|
description: string;
|
|
1429
1434
|
};
|
|
1435
|
+
signingSecret: {
|
|
1436
|
+
type: "string";
|
|
1437
|
+
maxLength: number;
|
|
1438
|
+
description: string;
|
|
1439
|
+
};
|
|
1430
1440
|
name: {
|
|
1431
1441
|
type: "string";
|
|
1432
1442
|
maxLength: number;
|
|
@@ -4716,6 +4726,56 @@ export declare const state: {
|
|
|
4716
4726
|
};
|
|
4717
4727
|
tags: string[];
|
|
4718
4728
|
};
|
|
4729
|
+
rotateBotSigningSecrets: {
|
|
4730
|
+
name: string;
|
|
4731
|
+
description: string;
|
|
4732
|
+
method: "post";
|
|
4733
|
+
section: "bot";
|
|
4734
|
+
path: string;
|
|
4735
|
+
parameters: {
|
|
4736
|
+
id: {
|
|
4737
|
+
type: "string";
|
|
4738
|
+
description: string;
|
|
4739
|
+
in: "path";
|
|
4740
|
+
};
|
|
4741
|
+
"x-workspace-id": {
|
|
4742
|
+
in: "header";
|
|
4743
|
+
type: "string";
|
|
4744
|
+
description: string;
|
|
4745
|
+
required: true;
|
|
4746
|
+
};
|
|
4747
|
+
"x-multiple-integrations": {
|
|
4748
|
+
in: "header";
|
|
4749
|
+
type: "string";
|
|
4750
|
+
description: string;
|
|
4751
|
+
required: false;
|
|
4752
|
+
};
|
|
4753
|
+
};
|
|
4754
|
+
requestBody: {
|
|
4755
|
+
description: string;
|
|
4756
|
+
schema: {
|
|
4757
|
+
type: "object";
|
|
4758
|
+
title: string;
|
|
4759
|
+
additionalProperties: false;
|
|
4760
|
+
};
|
|
4761
|
+
};
|
|
4762
|
+
response: {
|
|
4763
|
+
description: string;
|
|
4764
|
+
schema: {
|
|
4765
|
+
type: "object";
|
|
4766
|
+
properties: {
|
|
4767
|
+
newSigningSecret: {
|
|
4768
|
+
type: "string";
|
|
4769
|
+
description: string;
|
|
4770
|
+
};
|
|
4771
|
+
};
|
|
4772
|
+
required: string[];
|
|
4773
|
+
title: string;
|
|
4774
|
+
additionalProperties: false;
|
|
4775
|
+
};
|
|
4776
|
+
};
|
|
4777
|
+
tags: string[];
|
|
4778
|
+
};
|
|
4719
4779
|
transferBot: {
|
|
4720
4780
|
name: string;
|
|
4721
4781
|
description: string;
|
|
@@ -10233,6 +10293,56 @@ export declare const state: {
|
|
|
10233
10293
|
};
|
|
10234
10294
|
tags: string[];
|
|
10235
10295
|
};
|
|
10296
|
+
rotateIntegrationSigningSecrets: {
|
|
10297
|
+
name: string;
|
|
10298
|
+
description: string;
|
|
10299
|
+
method: "post";
|
|
10300
|
+
section: "integration";
|
|
10301
|
+
path: string;
|
|
10302
|
+
parameters: {
|
|
10303
|
+
id: {
|
|
10304
|
+
type: "string";
|
|
10305
|
+
description: string;
|
|
10306
|
+
in: "path";
|
|
10307
|
+
};
|
|
10308
|
+
"x-workspace-id": {
|
|
10309
|
+
in: "header";
|
|
10310
|
+
type: "string";
|
|
10311
|
+
description: string;
|
|
10312
|
+
required: true;
|
|
10313
|
+
};
|
|
10314
|
+
"x-multiple-integrations": {
|
|
10315
|
+
in: "header";
|
|
10316
|
+
type: "string";
|
|
10317
|
+
description: string;
|
|
10318
|
+
required: false;
|
|
10319
|
+
};
|
|
10320
|
+
};
|
|
10321
|
+
requestBody: {
|
|
10322
|
+
description: string;
|
|
10323
|
+
schema: {
|
|
10324
|
+
type: "object";
|
|
10325
|
+
title: string;
|
|
10326
|
+
additionalProperties: false;
|
|
10327
|
+
};
|
|
10328
|
+
};
|
|
10329
|
+
response: {
|
|
10330
|
+
description: string;
|
|
10331
|
+
schema: {
|
|
10332
|
+
type: "object";
|
|
10333
|
+
properties: {
|
|
10334
|
+
newSigningSecret: {
|
|
10335
|
+
type: "string";
|
|
10336
|
+
description: string;
|
|
10337
|
+
};
|
|
10338
|
+
};
|
|
10339
|
+
required: string[];
|
|
10340
|
+
title: string;
|
|
10341
|
+
additionalProperties: false;
|
|
10342
|
+
};
|
|
10343
|
+
};
|
|
10344
|
+
tags: string[];
|
|
10345
|
+
};
|
|
10236
10346
|
validateIntegrationUpdate: {
|
|
10237
10347
|
name: string;
|
|
10238
10348
|
description: string;
|
|
@@ -13727,6 +13837,7 @@ export declare const state: {
|
|
|
13727
13837
|
setAccountPreferenceBody: true;
|
|
13728
13838
|
createBotBody: true;
|
|
13729
13839
|
updateBotBody: true;
|
|
13840
|
+
rotateBotSigningSecretsBody: true;
|
|
13730
13841
|
transferBotBody: true;
|
|
13731
13842
|
publishFromBotJsonBody: true;
|
|
13732
13843
|
createBotVersionBody: true;
|
|
@@ -13745,6 +13856,7 @@ export declare const state: {
|
|
|
13745
13856
|
createIntegrationBody: true;
|
|
13746
13857
|
validateIntegrationCreationBody: true;
|
|
13747
13858
|
updateIntegrationBody: true;
|
|
13859
|
+
rotateIntegrationSigningSecretsBody: true;
|
|
13748
13860
|
validateIntegrationUpdateBody: true;
|
|
13749
13861
|
requestIntegrationVerificationBody: true;
|
|
13750
13862
|
createInterfaceBody: true;
|
|
@@ -13777,6 +13889,7 @@ export declare const state: {
|
|
|
13777
13889
|
getPublicInterfaceResponse: true;
|
|
13778
13890
|
createBotResponse: true;
|
|
13779
13891
|
updateBotResponse: true;
|
|
13892
|
+
rotateBotSigningSecretsResponse: true;
|
|
13780
13893
|
transferBotResponse: true;
|
|
13781
13894
|
listBotsResponse: true;
|
|
13782
13895
|
getBotResponse: true;
|
|
@@ -13834,6 +13947,7 @@ export declare const state: {
|
|
|
13834
13947
|
createIntegrationResponse: true;
|
|
13835
13948
|
validateIntegrationCreationResponse: true;
|
|
13836
13949
|
updateIntegrationResponse: true;
|
|
13950
|
+
rotateIntegrationSigningSecretsResponse: true;
|
|
13837
13951
|
validateIntegrationUpdateResponse: true;
|
|
13838
13952
|
listIntegrationsResponse: true;
|
|
13839
13953
|
getIntegrationResponse: true;
|
|
@@ -14550,6 +14664,11 @@ export declare const state: {
|
|
|
14550
14664
|
maxLength: number;
|
|
14551
14665
|
description: string;
|
|
14552
14666
|
};
|
|
14667
|
+
signingSecret: {
|
|
14668
|
+
type: "string";
|
|
14669
|
+
maxLength: number;
|
|
14670
|
+
description: string;
|
|
14671
|
+
};
|
|
14553
14672
|
name: {
|
|
14554
14673
|
type: "string";
|
|
14555
14674
|
maxLength: number;
|
|
@@ -403,15 +403,6 @@ export declare const state: {
|
|
|
403
403
|
additionalProperties: false;
|
|
404
404
|
};
|
|
405
405
|
};
|
|
406
|
-
yearlyTotal: {
|
|
407
|
-
type: "number";
|
|
408
|
-
};
|
|
409
|
-
monthlyTotal: {
|
|
410
|
-
type: "number";
|
|
411
|
-
};
|
|
412
|
-
proratedTotal: {
|
|
413
|
-
type: "number";
|
|
414
|
-
};
|
|
415
406
|
};
|
|
416
407
|
required: string[];
|
|
417
408
|
title: string;
|
|
@@ -540,15 +531,6 @@ export declare const state: {
|
|
|
540
531
|
additionalProperties: false;
|
|
541
532
|
};
|
|
542
533
|
};
|
|
543
|
-
yearlyTotal: {
|
|
544
|
-
type: "number";
|
|
545
|
-
};
|
|
546
|
-
monthlyTotal: {
|
|
547
|
-
type: "number";
|
|
548
|
-
};
|
|
549
|
-
proratedTotal: {
|
|
550
|
-
type: "number";
|
|
551
|
-
};
|
|
552
534
|
};
|
|
553
535
|
required: string[];
|
|
554
536
|
title: string;
|
|
@@ -925,15 +907,6 @@ export declare const state: {
|
|
|
925
907
|
additionalProperties: false;
|
|
926
908
|
};
|
|
927
909
|
};
|
|
928
|
-
yearlyTotal: {
|
|
929
|
-
type: "number";
|
|
930
|
-
};
|
|
931
|
-
monthlyTotal: {
|
|
932
|
-
type: "number";
|
|
933
|
-
};
|
|
934
|
-
proratedTotal: {
|
|
935
|
-
type: "number";
|
|
936
|
-
};
|
|
937
910
|
};
|
|
938
911
|
required: string[];
|
|
939
912
|
description: string;
|
|
@@ -1081,15 +1054,6 @@ export declare const state: {
|
|
|
1081
1054
|
additionalProperties: false;
|
|
1082
1055
|
};
|
|
1083
1056
|
};
|
|
1084
|
-
yearlyTotal: {
|
|
1085
|
-
type: "number";
|
|
1086
|
-
};
|
|
1087
|
-
monthlyTotal: {
|
|
1088
|
-
type: "number";
|
|
1089
|
-
};
|
|
1090
|
-
proratedTotal: {
|
|
1091
|
-
type: "number";
|
|
1092
|
-
};
|
|
1093
1057
|
};
|
|
1094
1058
|
required: string[];
|
|
1095
1059
|
description: string;
|
|
@@ -1710,15 +1674,6 @@ export declare const state: {
|
|
|
1710
1674
|
additionalProperties: false;
|
|
1711
1675
|
};
|
|
1712
1676
|
};
|
|
1713
|
-
yearlyTotal: {
|
|
1714
|
-
type: "number";
|
|
1715
|
-
};
|
|
1716
|
-
monthlyTotal: {
|
|
1717
|
-
type: "number";
|
|
1718
|
-
};
|
|
1719
|
-
proratedTotal: {
|
|
1720
|
-
type: "number";
|
|
1721
|
-
};
|
|
1722
1677
|
};
|
|
1723
1678
|
required: string[];
|
|
1724
1679
|
additionalProperties: false;
|
|
@@ -1831,15 +1786,6 @@ export declare const state: {
|
|
|
1831
1786
|
additionalProperties: false;
|
|
1832
1787
|
};
|
|
1833
1788
|
};
|
|
1834
|
-
yearlyTotal: {
|
|
1835
|
-
type: "number";
|
|
1836
|
-
};
|
|
1837
|
-
monthlyTotal: {
|
|
1838
|
-
type: "number";
|
|
1839
|
-
};
|
|
1840
|
-
proratedTotal: {
|
|
1841
|
-
type: "number";
|
|
1842
|
-
};
|
|
1843
1789
|
};
|
|
1844
1790
|
required: string[];
|
|
1845
1791
|
additionalProperties: false;
|
|
@@ -1985,15 +1931,6 @@ export declare const state: {
|
|
|
1985
1931
|
additionalProperties: false;
|
|
1986
1932
|
};
|
|
1987
1933
|
};
|
|
1988
|
-
yearlyTotal: {
|
|
1989
|
-
type: "number";
|
|
1990
|
-
};
|
|
1991
|
-
monthlyTotal: {
|
|
1992
|
-
type: "number";
|
|
1993
|
-
};
|
|
1994
|
-
proratedTotal: {
|
|
1995
|
-
type: "number";
|
|
1996
|
-
};
|
|
1997
1934
|
};
|
|
1998
1935
|
required: string[];
|
|
1999
1936
|
description: string;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -3481,6 +3481,11 @@ export declare const state: {
|
|
|
3481
3481
|
maxLength: number;
|
|
3482
3482
|
description: string;
|
|
3483
3483
|
};
|
|
3484
|
+
signingSecret: {
|
|
3485
|
+
type: "string";
|
|
3486
|
+
maxLength: number;
|
|
3487
|
+
description: string;
|
|
3488
|
+
};
|
|
3484
3489
|
name: {
|
|
3485
3490
|
type: "string";
|
|
3486
3491
|
maxLength: number;
|
|
@@ -4133,6 +4138,11 @@ export declare const state: {
|
|
|
4133
4138
|
maxLength: number;
|
|
4134
4139
|
description: string;
|
|
4135
4140
|
};
|
|
4141
|
+
signingSecret: {
|
|
4142
|
+
type: "string";
|
|
4143
|
+
maxLength: number;
|
|
4144
|
+
description: string;
|
|
4145
|
+
};
|
|
4136
4146
|
name: {
|
|
4137
4147
|
type: "string";
|
|
4138
4148
|
maxLength: number;
|
|
@@ -7349,6 +7359,44 @@ export declare const state: {
|
|
|
7349
7359
|
};
|
|
7350
7360
|
tags: string[];
|
|
7351
7361
|
};
|
|
7362
|
+
rotateBotSigningSecrets: {
|
|
7363
|
+
name: string;
|
|
7364
|
+
description: string;
|
|
7365
|
+
method: "post";
|
|
7366
|
+
section: "bot";
|
|
7367
|
+
path: string;
|
|
7368
|
+
parameters: {
|
|
7369
|
+
id: {
|
|
7370
|
+
type: "string";
|
|
7371
|
+
description: string;
|
|
7372
|
+
in: "path";
|
|
7373
|
+
};
|
|
7374
|
+
};
|
|
7375
|
+
requestBody: {
|
|
7376
|
+
description: string;
|
|
7377
|
+
schema: {
|
|
7378
|
+
type: "object";
|
|
7379
|
+
title: string;
|
|
7380
|
+
additionalProperties: false;
|
|
7381
|
+
};
|
|
7382
|
+
};
|
|
7383
|
+
response: {
|
|
7384
|
+
description: string;
|
|
7385
|
+
schema: {
|
|
7386
|
+
type: "object";
|
|
7387
|
+
properties: {
|
|
7388
|
+
newSigningSecret: {
|
|
7389
|
+
type: "string";
|
|
7390
|
+
description: string;
|
|
7391
|
+
};
|
|
7392
|
+
};
|
|
7393
|
+
required: string[];
|
|
7394
|
+
title: string;
|
|
7395
|
+
additionalProperties: false;
|
|
7396
|
+
};
|
|
7397
|
+
};
|
|
7398
|
+
tags: string[];
|
|
7399
|
+
};
|
|
7352
7400
|
transferBot: {
|
|
7353
7401
|
name: string;
|
|
7354
7402
|
description: string;
|
|
@@ -12288,6 +12336,44 @@ export declare const state: {
|
|
|
12288
12336
|
};
|
|
12289
12337
|
tags: string[];
|
|
12290
12338
|
};
|
|
12339
|
+
rotateIntegrationSigningSecrets: {
|
|
12340
|
+
name: string;
|
|
12341
|
+
description: string;
|
|
12342
|
+
method: "post";
|
|
12343
|
+
section: "integration";
|
|
12344
|
+
path: string;
|
|
12345
|
+
parameters: {
|
|
12346
|
+
id: {
|
|
12347
|
+
type: "string";
|
|
12348
|
+
description: string;
|
|
12349
|
+
in: "path";
|
|
12350
|
+
};
|
|
12351
|
+
};
|
|
12352
|
+
requestBody: {
|
|
12353
|
+
description: string;
|
|
12354
|
+
schema: {
|
|
12355
|
+
type: "object";
|
|
12356
|
+
title: string;
|
|
12357
|
+
additionalProperties: false;
|
|
12358
|
+
};
|
|
12359
|
+
};
|
|
12360
|
+
response: {
|
|
12361
|
+
description: string;
|
|
12362
|
+
schema: {
|
|
12363
|
+
type: "object";
|
|
12364
|
+
properties: {
|
|
12365
|
+
newSigningSecret: {
|
|
12366
|
+
type: "string";
|
|
12367
|
+
description: string;
|
|
12368
|
+
};
|
|
12369
|
+
};
|
|
12370
|
+
required: string[];
|
|
12371
|
+
title: string;
|
|
12372
|
+
additionalProperties: false;
|
|
12373
|
+
};
|
|
12374
|
+
};
|
|
12375
|
+
tags: string[];
|
|
12376
|
+
};
|
|
12291
12377
|
validateIntegrationUpdate: {
|
|
12292
12378
|
name: string;
|
|
12293
12379
|
description: string;
|
|
@@ -18181,6 +18267,7 @@ export declare const state: {
|
|
|
18181
18267
|
setAccountPreferenceBody: true;
|
|
18182
18268
|
createBotBody: true;
|
|
18183
18269
|
updateBotBody: true;
|
|
18270
|
+
rotateBotSigningSecretsBody: true;
|
|
18184
18271
|
transferBotBody: true;
|
|
18185
18272
|
publishFromBotJsonBody: true;
|
|
18186
18273
|
createBotVersionBody: true;
|
|
@@ -18199,6 +18286,7 @@ export declare const state: {
|
|
|
18199
18286
|
createIntegrationBody: true;
|
|
18200
18287
|
validateIntegrationCreationBody: true;
|
|
18201
18288
|
updateIntegrationBody: true;
|
|
18289
|
+
rotateIntegrationSigningSecretsBody: true;
|
|
18202
18290
|
validateIntegrationUpdateBody: true;
|
|
18203
18291
|
requestIntegrationVerificationBody: true;
|
|
18204
18292
|
createInterfaceBody: true;
|
|
@@ -18297,6 +18385,7 @@ export declare const state: {
|
|
|
18297
18385
|
getPublicInterfaceResponse: true;
|
|
18298
18386
|
createBotResponse: true;
|
|
18299
18387
|
updateBotResponse: true;
|
|
18388
|
+
rotateBotSigningSecretsResponse: true;
|
|
18300
18389
|
transferBotResponse: true;
|
|
18301
18390
|
listBotsResponse: true;
|
|
18302
18391
|
getBotResponse: true;
|
|
@@ -18354,6 +18443,7 @@ export declare const state: {
|
|
|
18354
18443
|
createIntegrationResponse: true;
|
|
18355
18444
|
validateIntegrationCreationResponse: true;
|
|
18356
18445
|
updateIntegrationResponse: true;
|
|
18446
|
+
rotateIntegrationSigningSecretsResponse: true;
|
|
18357
18447
|
validateIntegrationUpdateResponse: true;
|
|
18358
18448
|
listIntegrationsResponse: true;
|
|
18359
18449
|
getIntegrationResponse: true;
|
|
@@ -19113,6 +19203,11 @@ export declare const state: {
|
|
|
19113
19203
|
maxLength: number;
|
|
19114
19204
|
description: string;
|
|
19115
19205
|
};
|
|
19206
|
+
signingSecret: {
|
|
19207
|
+
type: "string";
|
|
19208
|
+
maxLength: number;
|
|
19209
|
+
description: string;
|
|
19210
|
+
};
|
|
19116
19211
|
name: {
|
|
19117
19212
|
type: "string";
|
|
19118
19213
|
maxLength: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.72.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"@botpress/common": "0.5.0",
|
|
14
14
|
"@botpress/files-api": "0.18.0",
|
|
15
15
|
"@bpinternal/const": "0.4.2",
|
|
16
|
-
"@
|
|
17
|
-
"@
|
|
16
|
+
"@bpinternal/tables-api": "0.17.2",
|
|
17
|
+
"@botpress/smaug": "1.0.1"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@bpinternal/opapi": "1.0.0"
|