@botpress/api 1.71.1 → 1.72.1
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 +273 -107
- package/dist/src/gen/admin/state.d.ts +119 -0
- package/dist/src/gen/billing/state.d.ts +4 -64
- 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.1",
|
|
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.",
|
|
@@ -289490,6 +289557,8 @@ var state2 = {
|
|
|
289490
289557
|
"SET_SPENDING_LIMIT",
|
|
289491
289558
|
"SET_AI_SPENDING_LIMIT",
|
|
289492
289559
|
"UPDATE_WORKSPACE_BILLING_READONLY",
|
|
289560
|
+
"UPDATE_WORKSPACE_PLAN_READONLY",
|
|
289561
|
+
"UPDATE_WORKSPACE_ADDONS_READONLY",
|
|
289493
289562
|
"EXECUTE_AUTO_RECHARGE_SUCCESS",
|
|
289494
289563
|
"EXECUTE_AUTO_RECHARGE_FAILED"
|
|
289495
289564
|
]
|
|
@@ -292080,6 +292149,60 @@ var state2 = {
|
|
|
292080
292149
|
"documented"
|
|
292081
292150
|
]
|
|
292082
292151
|
},
|
|
292152
|
+
"rotateIntegrationSigningSecrets": {
|
|
292153
|
+
"name": "rotateIntegrationSigningSecrets",
|
|
292154
|
+
"description": "Rotate integration signing secrets. This will generate a new signing secret and invalidate the old ones after 24 hours.",
|
|
292155
|
+
"method": "post",
|
|
292156
|
+
"section": "integration",
|
|
292157
|
+
"path": "/v1/admin/integrations/{id}/signing-secrets/rotate",
|
|
292158
|
+
"parameters": {
|
|
292159
|
+
"id": {
|
|
292160
|
+
"type": "string",
|
|
292161
|
+
"description": "Integration Version ID",
|
|
292162
|
+
"in": "path"
|
|
292163
|
+
},
|
|
292164
|
+
"x-workspace-id": {
|
|
292165
|
+
"in": "header",
|
|
292166
|
+
"type": "string",
|
|
292167
|
+
"description": "Workspace ID",
|
|
292168
|
+
"required": true
|
|
292169
|
+
},
|
|
292170
|
+
"x-multiple-integrations": {
|
|
292171
|
+
"in": "header",
|
|
292172
|
+
"type": "string",
|
|
292173
|
+
"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.',
|
|
292174
|
+
"required": false
|
|
292175
|
+
}
|
|
292176
|
+
},
|
|
292177
|
+
"requestBody": {
|
|
292178
|
+
"description": "Empty body",
|
|
292179
|
+
"schema": {
|
|
292180
|
+
"type": "object",
|
|
292181
|
+
"title": "rotateIntegrationSigningSecretsBody",
|
|
292182
|
+
"additionalProperties": false
|
|
292183
|
+
}
|
|
292184
|
+
},
|
|
292185
|
+
"response": {
|
|
292186
|
+
"description": "Success",
|
|
292187
|
+
"schema": {
|
|
292188
|
+
"type": "object",
|
|
292189
|
+
"properties": {
|
|
292190
|
+
"newSigningSecret": {
|
|
292191
|
+
"type": "string",
|
|
292192
|
+
"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."
|
|
292193
|
+
}
|
|
292194
|
+
},
|
|
292195
|
+
"required": [
|
|
292196
|
+
"newSigningSecret"
|
|
292197
|
+
],
|
|
292198
|
+
"title": "rotateIntegrationSigningSecretsResponse",
|
|
292199
|
+
"additionalProperties": false
|
|
292200
|
+
}
|
|
292201
|
+
},
|
|
292202
|
+
"tags": [
|
|
292203
|
+
"experimental"
|
|
292204
|
+
]
|
|
292205
|
+
},
|
|
292083
292206
|
"validateIntegrationUpdate": {
|
|
292084
292207
|
"name": "validateIntegrationUpdate",
|
|
292085
292208
|
"description": "Perform a validation of an integration update request",
|
|
@@ -295871,7 +295994,7 @@ var state2 = {
|
|
|
295871
295994
|
"title": "Botpress Admin API",
|
|
295872
295995
|
"description": "API for Botpress Cloud Manager",
|
|
295873
295996
|
"server": "https://api.botpress.cloud",
|
|
295874
|
-
"version": "1.
|
|
295997
|
+
"version": "1.72.1",
|
|
295875
295998
|
"prefix": "v1"
|
|
295876
295999
|
},
|
|
295877
296000
|
"defaultParameters": {
|
|
@@ -296030,6 +296153,7 @@ var state2 = {
|
|
|
296030
296153
|
"setAccountPreferenceBody": true,
|
|
296031
296154
|
"createBotBody": true,
|
|
296032
296155
|
"updateBotBody": true,
|
|
296156
|
+
"rotateBotSigningSecretsBody": true,
|
|
296033
296157
|
"transferBotBody": true,
|
|
296034
296158
|
"publishFromBotJsonBody": true,
|
|
296035
296159
|
"createBotVersionBody": true,
|
|
@@ -296048,6 +296172,7 @@ var state2 = {
|
|
|
296048
296172
|
"createIntegrationBody": true,
|
|
296049
296173
|
"validateIntegrationCreationBody": true,
|
|
296050
296174
|
"updateIntegrationBody": true,
|
|
296175
|
+
"rotateIntegrationSigningSecretsBody": true,
|
|
296051
296176
|
"validateIntegrationUpdateBody": true,
|
|
296052
296177
|
"requestIntegrationVerificationBody": true,
|
|
296053
296178
|
"createInterfaceBody": true,
|
|
@@ -296080,6 +296205,7 @@ var state2 = {
|
|
|
296080
296205
|
"getPublicInterfaceResponse": true,
|
|
296081
296206
|
"createBotResponse": true,
|
|
296082
296207
|
"updateBotResponse": true,
|
|
296208
|
+
"rotateBotSigningSecretsResponse": true,
|
|
296083
296209
|
"transferBotResponse": true,
|
|
296084
296210
|
"listBotsResponse": true,
|
|
296085
296211
|
"getBotResponse": true,
|
|
@@ -296137,6 +296263,7 @@ var state2 = {
|
|
|
296137
296263
|
"createIntegrationResponse": true,
|
|
296138
296264
|
"validateIntegrationCreationResponse": true,
|
|
296139
296265
|
"updateIntegrationResponse": true,
|
|
296266
|
+
"rotateIntegrationSigningSecretsResponse": true,
|
|
296140
296267
|
"validateIntegrationUpdateResponse": true,
|
|
296141
296268
|
"listIntegrationsResponse": true,
|
|
296142
296269
|
"getIntegrationResponse": true,
|
|
@@ -296207,7 +296334,7 @@ var state2 = {
|
|
|
296207
296334
|
"signingSecret": {
|
|
296208
296335
|
"type": "string",
|
|
296209
296336
|
"maxLength": 2e3,
|
|
296210
|
-
"description": "Signing secret of the [Bot](#schema_bot)"
|
|
296337
|
+
"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
296338
|
},
|
|
296212
296339
|
"integrations": {
|
|
296213
296340
|
"type": "object",
|
|
@@ -296987,6 +297114,11 @@ var state2 = {
|
|
|
296987
297114
|
"maxLength": 2e3,
|
|
296988
297115
|
"description": "URL of the [Integration](#schema_integration)"
|
|
296989
297116
|
},
|
|
297117
|
+
"signingSecret": {
|
|
297118
|
+
"type": "string",
|
|
297119
|
+
"maxLength": 2e3,
|
|
297120
|
+
"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."
|
|
297121
|
+
},
|
|
296990
297122
|
"name": {
|
|
296991
297123
|
"type": "string",
|
|
296992
297124
|
"maxLength": 200,
|
|
@@ -297593,6 +297725,7 @@ var state2 = {
|
|
|
297593
297725
|
"updatedAt",
|
|
297594
297726
|
"identifier",
|
|
297595
297727
|
"url",
|
|
297728
|
+
"signingSecret",
|
|
297596
297729
|
"name",
|
|
297597
297730
|
"version",
|
|
297598
297731
|
"interfaces",
|
|
@@ -298697,6 +298830,7 @@ var state2 = {
|
|
|
298697
298830
|
"operations": [
|
|
298698
298831
|
"createBot",
|
|
298699
298832
|
"updateBot",
|
|
298833
|
+
"rotateBotSigningSecrets",
|
|
298700
298834
|
"transferBot",
|
|
298701
298835
|
"listBots",
|
|
298702
298836
|
"getBot",
|
|
@@ -298738,6 +298872,7 @@ var state2 = {
|
|
|
298738
298872
|
"createIntegration",
|
|
298739
298873
|
"validateIntegrationCreation",
|
|
298740
298874
|
"updateIntegration",
|
|
298875
|
+
"rotateIntegrationSigningSecrets",
|
|
298741
298876
|
"validateIntegrationUpdate",
|
|
298742
298877
|
"listIntegrations",
|
|
298743
298878
|
"getIntegration",
|
|
@@ -301380,7 +301515,7 @@ var state3 = {
|
|
|
301380
301515
|
"title": "Botpress Files API",
|
|
301381
301516
|
"description": "API for Botpress Files",
|
|
301382
301517
|
"server": "https://api.botpress.cloud",
|
|
301383
|
-
"version": "1.
|
|
301518
|
+
"version": "1.72.1",
|
|
301384
301519
|
"prefix": "v1"
|
|
301385
301520
|
},
|
|
301386
301521
|
"defaultParameters": {
|
|
@@ -303676,7 +303811,7 @@ var state4 = {
|
|
|
303676
303811
|
"title": "Botpress Tables API",
|
|
303677
303812
|
"description": "API for Botpress Tables",
|
|
303678
303813
|
"server": "https://api.botpress.cloud",
|
|
303679
|
-
"version": "1.
|
|
303814
|
+
"version": "1.72.1",
|
|
303680
303815
|
"prefix": "v1"
|
|
303681
303816
|
},
|
|
303682
303817
|
"defaultParameters": {
|
|
@@ -308297,6 +308432,11 @@ var state5 = {
|
|
|
308297
308432
|
"maxLength": 2e3,
|
|
308298
308433
|
"description": "URL of the [Integration](#schema_integration)"
|
|
308299
308434
|
},
|
|
308435
|
+
"signingSecret": {
|
|
308436
|
+
"type": "string",
|
|
308437
|
+
"maxLength": 2e3,
|
|
308438
|
+
"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."
|
|
308439
|
+
},
|
|
308300
308440
|
"name": {
|
|
308301
308441
|
"type": "string",
|
|
308302
308442
|
"maxLength": 200,
|
|
@@ -308940,6 +309080,7 @@ var state5 = {
|
|
|
308940
309080
|
"updatedAt",
|
|
308941
309081
|
"identifier",
|
|
308942
309082
|
"url",
|
|
309083
|
+
"signingSecret",
|
|
308943
309084
|
"name",
|
|
308944
309085
|
"version",
|
|
308945
309086
|
"interfaces",
|
|
@@ -309065,6 +309206,11 @@ var state5 = {
|
|
|
309065
309206
|
"maxLength": 2e3,
|
|
309066
309207
|
"description": "URL of the [Integration](#schema_integration)"
|
|
309067
309208
|
},
|
|
309209
|
+
"signingSecret": {
|
|
309210
|
+
"type": "string",
|
|
309211
|
+
"maxLength": 2e3,
|
|
309212
|
+
"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."
|
|
309213
|
+
},
|
|
309068
309214
|
"name": {
|
|
309069
309215
|
"type": "string",
|
|
309070
309216
|
"maxLength": 200,
|
|
@@ -309708,6 +309854,7 @@ var state5 = {
|
|
|
309708
309854
|
"updatedAt",
|
|
309709
309855
|
"identifier",
|
|
309710
309856
|
"url",
|
|
309857
|
+
"signingSecret",
|
|
309711
309858
|
"name",
|
|
309712
309859
|
"version",
|
|
309713
309860
|
"interfaces",
|
|
@@ -312292,9 +312439,10 @@ var state5 = {
|
|
|
312292
312439
|
"authentication": {
|
|
312293
312440
|
"type": "string",
|
|
312294
312441
|
"enum": [
|
|
312295
|
-
"iam"
|
|
312442
|
+
"iam",
|
|
312443
|
+
"hmac-sha256"
|
|
312296
312444
|
],
|
|
312297
|
-
"description": "Type of the [Bot](#schema_bot) authentication (`iam`)"
|
|
312445
|
+
"description": "Type of the [Bot](#schema_bot) authentication (`iam` or `hmac-sha256`)"
|
|
312298
312446
|
},
|
|
312299
312447
|
"configuration": {
|
|
312300
312448
|
"type": "object",
|
|
@@ -312771,6 +312919,48 @@ var state5 = {
|
|
|
312771
312919
|
"documented"
|
|
312772
312920
|
]
|
|
312773
312921
|
},
|
|
312922
|
+
"rotateBotSigningSecrets": {
|
|
312923
|
+
"name": "rotateBotSigningSecrets",
|
|
312924
|
+
"description": "Rotate bot signing secrets. This will generate a new signing secret and invalidate the old ones after 24 hours.",
|
|
312925
|
+
"method": "post",
|
|
312926
|
+
"section": "bot",
|
|
312927
|
+
"path": "/v1/admin/bots/{id}/signing-secrets/rotate",
|
|
312928
|
+
"parameters": {
|
|
312929
|
+
"id": {
|
|
312930
|
+
"type": "string",
|
|
312931
|
+
"description": "Bot ID",
|
|
312932
|
+
"in": "path"
|
|
312933
|
+
}
|
|
312934
|
+
},
|
|
312935
|
+
"requestBody": {
|
|
312936
|
+
"description": "Empty body",
|
|
312937
|
+
"schema": {
|
|
312938
|
+
"type": "object",
|
|
312939
|
+
"title": "rotateBotSigningSecretsBody",
|
|
312940
|
+
"additionalProperties": false
|
|
312941
|
+
}
|
|
312942
|
+
},
|
|
312943
|
+
"response": {
|
|
312944
|
+
"description": "Success",
|
|
312945
|
+
"schema": {
|
|
312946
|
+
"type": "object",
|
|
312947
|
+
"properties": {
|
|
312948
|
+
"newSigningSecret": {
|
|
312949
|
+
"type": "string",
|
|
312950
|
+
"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."
|
|
312951
|
+
}
|
|
312952
|
+
},
|
|
312953
|
+
"required": [
|
|
312954
|
+
"newSigningSecret"
|
|
312955
|
+
],
|
|
312956
|
+
"title": "rotateBotSigningSecretsResponse",
|
|
312957
|
+
"additionalProperties": false
|
|
312958
|
+
}
|
|
312959
|
+
},
|
|
312960
|
+
"tags": [
|
|
312961
|
+
"experimental"
|
|
312962
|
+
]
|
|
312963
|
+
},
|
|
312774
312964
|
"transferBot": {
|
|
312775
312965
|
"name": "transferBot",
|
|
312776
312966
|
"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.",
|
|
@@ -316036,6 +316226,8 @@ var state5 = {
|
|
|
316036
316226
|
"SET_SPENDING_LIMIT",
|
|
316037
316227
|
"SET_AI_SPENDING_LIMIT",
|
|
316038
316228
|
"UPDATE_WORKSPACE_BILLING_READONLY",
|
|
316229
|
+
"UPDATE_WORKSPACE_PLAN_READONLY",
|
|
316230
|
+
"UPDATE_WORKSPACE_ADDONS_READONLY",
|
|
316039
316231
|
"EXECUTE_AUTO_RECHARGE_SUCCESS",
|
|
316040
316232
|
"EXECUTE_AUTO_RECHARGE_FAILED"
|
|
316041
316233
|
]
|
|
@@ -318478,6 +318670,48 @@ var state5 = {
|
|
|
318478
318670
|
"documented"
|
|
318479
318671
|
]
|
|
318480
318672
|
},
|
|
318673
|
+
"rotateIntegrationSigningSecrets": {
|
|
318674
|
+
"name": "rotateIntegrationSigningSecrets",
|
|
318675
|
+
"description": "Rotate integration signing secrets. This will generate a new signing secret and invalidate the old ones after 24 hours.",
|
|
318676
|
+
"method": "post",
|
|
318677
|
+
"section": "integration",
|
|
318678
|
+
"path": "/v1/admin/integrations/{id}/signing-secrets/rotate",
|
|
318679
|
+
"parameters": {
|
|
318680
|
+
"id": {
|
|
318681
|
+
"type": "string",
|
|
318682
|
+
"description": "Integration Version ID",
|
|
318683
|
+
"in": "path"
|
|
318684
|
+
}
|
|
318685
|
+
},
|
|
318686
|
+
"requestBody": {
|
|
318687
|
+
"description": "Empty body",
|
|
318688
|
+
"schema": {
|
|
318689
|
+
"type": "object",
|
|
318690
|
+
"title": "rotateIntegrationSigningSecretsBody",
|
|
318691
|
+
"additionalProperties": false
|
|
318692
|
+
}
|
|
318693
|
+
},
|
|
318694
|
+
"response": {
|
|
318695
|
+
"description": "Success",
|
|
318696
|
+
"schema": {
|
|
318697
|
+
"type": "object",
|
|
318698
|
+
"properties": {
|
|
318699
|
+
"newSigningSecret": {
|
|
318700
|
+
"type": "string",
|
|
318701
|
+
"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."
|
|
318702
|
+
}
|
|
318703
|
+
},
|
|
318704
|
+
"required": [
|
|
318705
|
+
"newSigningSecret"
|
|
318706
|
+
],
|
|
318707
|
+
"title": "rotateIntegrationSigningSecretsResponse",
|
|
318708
|
+
"additionalProperties": false
|
|
318709
|
+
}
|
|
318710
|
+
},
|
|
318711
|
+
"tags": [
|
|
318712
|
+
"experimental"
|
|
318713
|
+
]
|
|
318714
|
+
},
|
|
318481
318715
|
"validateIntegrationUpdate": {
|
|
318482
318716
|
"name": "validateIntegrationUpdate",
|
|
318483
318717
|
"description": "Perform a validation of an integration update request",
|
|
@@ -325150,7 +325384,7 @@ var state5 = {
|
|
|
325150
325384
|
"title": "Botpress API",
|
|
325151
325385
|
"description": "API for Botpress Cloud",
|
|
325152
325386
|
"server": "https://api.botpress.cloud",
|
|
325153
|
-
"version": "1.
|
|
325387
|
+
"version": "1.72.1",
|
|
325154
325388
|
"prefix": "v1"
|
|
325155
325389
|
},
|
|
325156
325390
|
"errors": [
|
|
@@ -325321,6 +325555,7 @@ var state5 = {
|
|
|
325321
325555
|
"setAccountPreferenceBody": true,
|
|
325322
325556
|
"createBotBody": true,
|
|
325323
325557
|
"updateBotBody": true,
|
|
325558
|
+
"rotateBotSigningSecretsBody": true,
|
|
325324
325559
|
"transferBotBody": true,
|
|
325325
325560
|
"publishFromBotJsonBody": true,
|
|
325326
325561
|
"createBotVersionBody": true,
|
|
@@ -325339,6 +325574,7 @@ var state5 = {
|
|
|
325339
325574
|
"createIntegrationBody": true,
|
|
325340
325575
|
"validateIntegrationCreationBody": true,
|
|
325341
325576
|
"updateIntegrationBody": true,
|
|
325577
|
+
"rotateIntegrationSigningSecretsBody": true,
|
|
325342
325578
|
"validateIntegrationUpdateBody": true,
|
|
325343
325579
|
"requestIntegrationVerificationBody": true,
|
|
325344
325580
|
"createInterfaceBody": true,
|
|
@@ -325437,6 +325673,7 @@ var state5 = {
|
|
|
325437
325673
|
"getPublicInterfaceResponse": true,
|
|
325438
325674
|
"createBotResponse": true,
|
|
325439
325675
|
"updateBotResponse": true,
|
|
325676
|
+
"rotateBotSigningSecretsResponse": true,
|
|
325440
325677
|
"transferBotResponse": true,
|
|
325441
325678
|
"listBotsResponse": true,
|
|
325442
325679
|
"getBotResponse": true,
|
|
@@ -325494,6 +325731,7 @@ var state5 = {
|
|
|
325494
325731
|
"createIntegrationResponse": true,
|
|
325495
325732
|
"validateIntegrationCreationResponse": true,
|
|
325496
325733
|
"updateIntegrationResponse": true,
|
|
325734
|
+
"rotateIntegrationSigningSecretsResponse": true,
|
|
325497
325735
|
"validateIntegrationUpdateResponse": true,
|
|
325498
325736
|
"listIntegrationsResponse": true,
|
|
325499
325737
|
"getIntegrationResponse": true,
|
|
@@ -325607,7 +325845,7 @@ var state5 = {
|
|
|
325607
325845
|
"signingSecret": {
|
|
325608
325846
|
"type": "string",
|
|
325609
325847
|
"maxLength": 2e3,
|
|
325610
|
-
"description": "Signing secret of the [Bot](#schema_bot)"
|
|
325848
|
+
"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
325849
|
},
|
|
325612
325850
|
"integrations": {
|
|
325613
325851
|
"type": "object",
|
|
@@ -326387,6 +326625,11 @@ var state5 = {
|
|
|
326387
326625
|
"maxLength": 2e3,
|
|
326388
326626
|
"description": "URL of the [Integration](#schema_integration)"
|
|
326389
326627
|
},
|
|
326628
|
+
"signingSecret": {
|
|
326629
|
+
"type": "string",
|
|
326630
|
+
"maxLength": 2e3,
|
|
326631
|
+
"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."
|
|
326632
|
+
},
|
|
326390
326633
|
"name": {
|
|
326391
326634
|
"type": "string",
|
|
326392
326635
|
"maxLength": 200,
|
|
@@ -326993,6 +327236,7 @@ var state5 = {
|
|
|
326993
327236
|
"updatedAt",
|
|
326994
327237
|
"identifier",
|
|
326995
327238
|
"url",
|
|
327239
|
+
"signingSecret",
|
|
326996
327240
|
"name",
|
|
326997
327241
|
"version",
|
|
326998
327242
|
"interfaces",
|
|
@@ -329361,6 +329605,7 @@ var state5 = {
|
|
|
329361
329605
|
"operations": [
|
|
329362
329606
|
"createBot",
|
|
329363
329607
|
"updateBot",
|
|
329608
|
+
"rotateBotSigningSecrets",
|
|
329364
329609
|
"transferBot",
|
|
329365
329610
|
"listBots",
|
|
329366
329611
|
"getBot",
|
|
@@ -329402,6 +329647,7 @@ var state5 = {
|
|
|
329402
329647
|
"createIntegration",
|
|
329403
329648
|
"validateIntegrationCreation",
|
|
329404
329649
|
"updateIntegration",
|
|
329650
|
+
"rotateIntegrationSigningSecrets",
|
|
329405
329651
|
"validateIntegrationUpdate",
|
|
329406
329652
|
"listIntegrations",
|
|
329407
329653
|
"getIntegration",
|
|
@@ -329597,21 +329843,25 @@ var state6 = {
|
|
|
329597
329843
|
"operations": {
|
|
329598
329844
|
"getBillingReadonly": {
|
|
329599
329845
|
"name": "getBillingReadonly",
|
|
329600
|
-
"description": "Get whether
|
|
329846
|
+
"description": "Get whether plan and addons are readonly for the authenticated workspace",
|
|
329601
329847
|
"method": "get",
|
|
329602
329848
|
"path": "/v2/billing/readonly",
|
|
329603
329849
|
"response": {
|
|
329604
|
-
"description": "Whether
|
|
329850
|
+
"description": "Whether plan and addons are readonly for this workspace",
|
|
329605
329851
|
"status": 200,
|
|
329606
329852
|
"schema": {
|
|
329607
329853
|
"type": "object",
|
|
329608
329854
|
"properties": {
|
|
329609
|
-
"
|
|
329855
|
+
"planReadonly": {
|
|
329856
|
+
"type": "boolean"
|
|
329857
|
+
},
|
|
329858
|
+
"addonsReadonly": {
|
|
329610
329859
|
"type": "boolean"
|
|
329611
329860
|
}
|
|
329612
329861
|
},
|
|
329613
329862
|
"required": [
|
|
329614
|
-
"
|
|
329863
|
+
"planReadonly",
|
|
329864
|
+
"addonsReadonly"
|
|
329615
329865
|
],
|
|
329616
329866
|
"title": "getBillingReadonlyResponse",
|
|
329617
329867
|
"additionalProperties": false
|
|
@@ -330100,23 +330350,11 @@ var state6 = {
|
|
|
330100
330350
|
],
|
|
330101
330351
|
"additionalProperties": false
|
|
330102
330352
|
}
|
|
330103
|
-
},
|
|
330104
|
-
"yearlyTotal": {
|
|
330105
|
-
"type": "number"
|
|
330106
|
-
},
|
|
330107
|
-
"monthlyTotal": {
|
|
330108
|
-
"type": "number"
|
|
330109
|
-
},
|
|
330110
|
-
"proratedTotal": {
|
|
330111
|
-
"type": "number"
|
|
330112
330353
|
}
|
|
330113
330354
|
},
|
|
330114
330355
|
"required": [
|
|
330115
330356
|
"plan",
|
|
330116
|
-
"addons"
|
|
330117
|
-
"yearlyTotal",
|
|
330118
|
-
"monthlyTotal",
|
|
330119
|
-
"proratedTotal"
|
|
330357
|
+
"addons"
|
|
330120
330358
|
],
|
|
330121
330359
|
"title": "getCurrentSubscriptionResponse",
|
|
330122
330360
|
"additionalProperties": false
|
|
@@ -330280,23 +330518,11 @@ var state6 = {
|
|
|
330280
330518
|
],
|
|
330281
330519
|
"additionalProperties": false
|
|
330282
330520
|
}
|
|
330283
|
-
},
|
|
330284
|
-
"yearlyTotal": {
|
|
330285
|
-
"type": "number"
|
|
330286
|
-
},
|
|
330287
|
-
"monthlyTotal": {
|
|
330288
|
-
"type": "number"
|
|
330289
|
-
},
|
|
330290
|
-
"proratedTotal": {
|
|
330291
|
-
"type": "number"
|
|
330292
330521
|
}
|
|
330293
330522
|
},
|
|
330294
330523
|
"required": [
|
|
330295
330524
|
"plan",
|
|
330296
|
-
"addons"
|
|
330297
|
-
"yearlyTotal",
|
|
330298
|
-
"monthlyTotal",
|
|
330299
|
-
"proratedTotal"
|
|
330525
|
+
"addons"
|
|
330300
330526
|
],
|
|
330301
330527
|
"title": "getNextSubscriptionResponse",
|
|
330302
330528
|
"additionalProperties": false
|
|
@@ -330784,23 +331010,11 @@ var state6 = {
|
|
|
330784
331010
|
],
|
|
330785
331011
|
"additionalProperties": false
|
|
330786
331012
|
}
|
|
330787
|
-
},
|
|
330788
|
-
"yearlyTotal": {
|
|
330789
|
-
"type": "number"
|
|
330790
|
-
},
|
|
330791
|
-
"monthlyTotal": {
|
|
330792
|
-
"type": "number"
|
|
330793
|
-
},
|
|
330794
|
-
"proratedTotal": {
|
|
330795
|
-
"type": "number"
|
|
330796
331013
|
}
|
|
330797
331014
|
},
|
|
330798
331015
|
"required": [
|
|
330799
331016
|
"plan",
|
|
330800
|
-
"addons"
|
|
330801
|
-
"yearlyTotal",
|
|
330802
|
-
"monthlyTotal",
|
|
330803
|
-
"proratedTotal"
|
|
331017
|
+
"addons"
|
|
330804
331018
|
],
|
|
330805
331019
|
"description": "Subscription details including current plan, addons, and costs",
|
|
330806
331020
|
"title": "setPlanResponse",
|
|
@@ -330985,23 +331199,11 @@ var state6 = {
|
|
|
330985
331199
|
],
|
|
330986
331200
|
"additionalProperties": false
|
|
330987
331201
|
}
|
|
330988
|
-
},
|
|
330989
|
-
"yearlyTotal": {
|
|
330990
|
-
"type": "number"
|
|
330991
|
-
},
|
|
330992
|
-
"monthlyTotal": {
|
|
330993
|
-
"type": "number"
|
|
330994
|
-
},
|
|
330995
|
-
"proratedTotal": {
|
|
330996
|
-
"type": "number"
|
|
330997
331202
|
}
|
|
330998
331203
|
},
|
|
330999
331204
|
"required": [
|
|
331000
331205
|
"plan",
|
|
331001
|
-
"addons"
|
|
331002
|
-
"yearlyTotal",
|
|
331003
|
-
"monthlyTotal",
|
|
331004
|
-
"proratedTotal"
|
|
331206
|
+
"addons"
|
|
331005
331207
|
],
|
|
331006
331208
|
"description": "Subscription details including current plan, addons, and costs",
|
|
331007
331209
|
"title": "setAddonsResponse",
|
|
@@ -331428,7 +331630,7 @@ var state6 = {
|
|
|
331428
331630
|
"title": "Botpress Billing Public API",
|
|
331429
331631
|
"description": "API for Botpress Billing",
|
|
331430
331632
|
"server": "https://api.botpress.cloud",
|
|
331431
|
-
"version": "1.
|
|
331633
|
+
"version": "1.72.1",
|
|
331432
331634
|
"prefix": "v2"
|
|
331433
331635
|
},
|
|
331434
331636
|
"defaultParameters": {
|
|
@@ -331811,23 +332013,11 @@ var state6 = {
|
|
|
331811
332013
|
],
|
|
331812
332014
|
"additionalProperties": false
|
|
331813
332015
|
}
|
|
331814
|
-
},
|
|
331815
|
-
"yearlyTotal": {
|
|
331816
|
-
"type": "number"
|
|
331817
|
-
},
|
|
331818
|
-
"monthlyTotal": {
|
|
331819
|
-
"type": "number"
|
|
331820
|
-
},
|
|
331821
|
-
"proratedTotal": {
|
|
331822
|
-
"type": "number"
|
|
331823
332016
|
}
|
|
331824
332017
|
},
|
|
331825
332018
|
"required": [
|
|
331826
332019
|
"plan",
|
|
331827
|
-
"addons"
|
|
331828
|
-
"yearlyTotal",
|
|
331829
|
-
"monthlyTotal",
|
|
331830
|
-
"proratedTotal"
|
|
332020
|
+
"addons"
|
|
331831
332021
|
],
|
|
331832
332022
|
"additionalProperties": false
|
|
331833
332023
|
}
|
|
@@ -331975,23 +332165,11 @@ var state6 = {
|
|
|
331975
332165
|
],
|
|
331976
332166
|
"additionalProperties": false
|
|
331977
332167
|
}
|
|
331978
|
-
},
|
|
331979
|
-
"yearlyTotal": {
|
|
331980
|
-
"type": "number"
|
|
331981
|
-
},
|
|
331982
|
-
"monthlyTotal": {
|
|
331983
|
-
"type": "number"
|
|
331984
|
-
},
|
|
331985
|
-
"proratedTotal": {
|
|
331986
|
-
"type": "number"
|
|
331987
332168
|
}
|
|
331988
332169
|
},
|
|
331989
332170
|
"required": [
|
|
331990
332171
|
"plan",
|
|
331991
|
-
"addons"
|
|
331992
|
-
"yearlyTotal",
|
|
331993
|
-
"monthlyTotal",
|
|
331994
|
-
"proratedTotal"
|
|
332172
|
+
"addons"
|
|
331995
332173
|
],
|
|
331996
332174
|
"additionalProperties": false
|
|
331997
332175
|
}
|
|
@@ -332180,23 +332358,11 @@ var state6 = {
|
|
|
332180
332358
|
],
|
|
332181
332359
|
"additionalProperties": false
|
|
332182
332360
|
}
|
|
332183
|
-
},
|
|
332184
|
-
"yearlyTotal": {
|
|
332185
|
-
"type": "number"
|
|
332186
|
-
},
|
|
332187
|
-
"monthlyTotal": {
|
|
332188
|
-
"type": "number"
|
|
332189
|
-
},
|
|
332190
|
-
"proratedTotal": {
|
|
332191
|
-
"type": "number"
|
|
332192
332361
|
}
|
|
332193
332362
|
},
|
|
332194
332363
|
"required": [
|
|
332195
332364
|
"plan",
|
|
332196
|
-
"addons"
|
|
332197
|
-
"yearlyTotal",
|
|
332198
|
-
"monthlyTotal",
|
|
332199
|
-
"proratedTotal"
|
|
332365
|
+
"addons"
|
|
332200
332366
|
],
|
|
332201
332367
|
"description": "Subscription details including current plan, addons, and costs",
|
|
332202
332368
|
"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;
|
|
@@ -13,7 +13,10 @@ export declare const state: {
|
|
|
13
13
|
schema: {
|
|
14
14
|
type: "object";
|
|
15
15
|
properties: {
|
|
16
|
-
|
|
16
|
+
planReadonly: {
|
|
17
|
+
type: "boolean";
|
|
18
|
+
};
|
|
19
|
+
addonsReadonly: {
|
|
17
20
|
type: "boolean";
|
|
18
21
|
};
|
|
19
22
|
};
|
|
@@ -403,15 +406,6 @@ export declare const state: {
|
|
|
403
406
|
additionalProperties: false;
|
|
404
407
|
};
|
|
405
408
|
};
|
|
406
|
-
yearlyTotal: {
|
|
407
|
-
type: "number";
|
|
408
|
-
};
|
|
409
|
-
monthlyTotal: {
|
|
410
|
-
type: "number";
|
|
411
|
-
};
|
|
412
|
-
proratedTotal: {
|
|
413
|
-
type: "number";
|
|
414
|
-
};
|
|
415
409
|
};
|
|
416
410
|
required: string[];
|
|
417
411
|
title: string;
|
|
@@ -540,15 +534,6 @@ export declare const state: {
|
|
|
540
534
|
additionalProperties: false;
|
|
541
535
|
};
|
|
542
536
|
};
|
|
543
|
-
yearlyTotal: {
|
|
544
|
-
type: "number";
|
|
545
|
-
};
|
|
546
|
-
monthlyTotal: {
|
|
547
|
-
type: "number";
|
|
548
|
-
};
|
|
549
|
-
proratedTotal: {
|
|
550
|
-
type: "number";
|
|
551
|
-
};
|
|
552
537
|
};
|
|
553
538
|
required: string[];
|
|
554
539
|
title: string;
|
|
@@ -925,15 +910,6 @@ export declare const state: {
|
|
|
925
910
|
additionalProperties: false;
|
|
926
911
|
};
|
|
927
912
|
};
|
|
928
|
-
yearlyTotal: {
|
|
929
|
-
type: "number";
|
|
930
|
-
};
|
|
931
|
-
monthlyTotal: {
|
|
932
|
-
type: "number";
|
|
933
|
-
};
|
|
934
|
-
proratedTotal: {
|
|
935
|
-
type: "number";
|
|
936
|
-
};
|
|
937
913
|
};
|
|
938
914
|
required: string[];
|
|
939
915
|
description: string;
|
|
@@ -1081,15 +1057,6 @@ export declare const state: {
|
|
|
1081
1057
|
additionalProperties: false;
|
|
1082
1058
|
};
|
|
1083
1059
|
};
|
|
1084
|
-
yearlyTotal: {
|
|
1085
|
-
type: "number";
|
|
1086
|
-
};
|
|
1087
|
-
monthlyTotal: {
|
|
1088
|
-
type: "number";
|
|
1089
|
-
};
|
|
1090
|
-
proratedTotal: {
|
|
1091
|
-
type: "number";
|
|
1092
|
-
};
|
|
1093
1060
|
};
|
|
1094
1061
|
required: string[];
|
|
1095
1062
|
description: string;
|
|
@@ -1710,15 +1677,6 @@ export declare const state: {
|
|
|
1710
1677
|
additionalProperties: false;
|
|
1711
1678
|
};
|
|
1712
1679
|
};
|
|
1713
|
-
yearlyTotal: {
|
|
1714
|
-
type: "number";
|
|
1715
|
-
};
|
|
1716
|
-
monthlyTotal: {
|
|
1717
|
-
type: "number";
|
|
1718
|
-
};
|
|
1719
|
-
proratedTotal: {
|
|
1720
|
-
type: "number";
|
|
1721
|
-
};
|
|
1722
1680
|
};
|
|
1723
1681
|
required: string[];
|
|
1724
1682
|
additionalProperties: false;
|
|
@@ -1831,15 +1789,6 @@ export declare const state: {
|
|
|
1831
1789
|
additionalProperties: false;
|
|
1832
1790
|
};
|
|
1833
1791
|
};
|
|
1834
|
-
yearlyTotal: {
|
|
1835
|
-
type: "number";
|
|
1836
|
-
};
|
|
1837
|
-
monthlyTotal: {
|
|
1838
|
-
type: "number";
|
|
1839
|
-
};
|
|
1840
|
-
proratedTotal: {
|
|
1841
|
-
type: "number";
|
|
1842
|
-
};
|
|
1843
1792
|
};
|
|
1844
1793
|
required: string[];
|
|
1845
1794
|
additionalProperties: false;
|
|
@@ -1985,15 +1934,6 @@ export declare const state: {
|
|
|
1985
1934
|
additionalProperties: false;
|
|
1986
1935
|
};
|
|
1987
1936
|
};
|
|
1988
|
-
yearlyTotal: {
|
|
1989
|
-
type: "number";
|
|
1990
|
-
};
|
|
1991
|
-
monthlyTotal: {
|
|
1992
|
-
type: "number";
|
|
1993
|
-
};
|
|
1994
|
-
proratedTotal: {
|
|
1995
|
-
type: "number";
|
|
1996
|
-
};
|
|
1997
1937
|
};
|
|
1998
1938
|
required: string[];
|
|
1999
1939
|
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.1",
|
|
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"
|