@botpress/api 1.5.1 → 1.7.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 +291 -15
- package/dist/src/gen/admin/state.d.ts +121 -0
- package/dist/src/gen/runtime/state.d.ts +1 -0
- package/dist/src/gen/state.d.ts +122 -0
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +142 -5
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +3 -2
- package/src/gen/state.ts +144 -6
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -283789,6 +283789,7 @@ var state = {
|
|
|
283789
283789
|
"identifier": {
|
|
283790
283790
|
"type": "string",
|
|
283791
283791
|
"maxLength": 200,
|
|
283792
|
+
"nullable": true,
|
|
283792
283793
|
"description": "Unique identifier of the integration that was installed on the bot"
|
|
283793
283794
|
},
|
|
283794
283795
|
"scheduleRegisterCall": {
|
|
@@ -283813,7 +283814,7 @@ var state = {
|
|
|
283813
283814
|
"additionalProperties": false
|
|
283814
283815
|
},
|
|
283815
283816
|
"nullable": true,
|
|
283816
|
-
"description": "Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual
|
|
283817
|
+
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations."
|
|
283817
283818
|
}
|
|
283818
283819
|
},
|
|
283819
283820
|
"title": "configureIntegrationBody",
|
|
@@ -284643,7 +284644,7 @@ var state = {
|
|
|
284643
284644
|
"title": "Botpress API",
|
|
284644
284645
|
"description": "API for Botpress Cloud",
|
|
284645
284646
|
"server": "https://api.botpress.cloud",
|
|
284646
|
-
"version": "1.
|
|
284647
|
+
"version": "1.7.0",
|
|
284647
284648
|
"prefix": "v1"
|
|
284648
284649
|
},
|
|
284649
284650
|
"errors": [
|
|
@@ -293089,7 +293090,7 @@ var state2 = {
|
|
|
293089
293090
|
},
|
|
293090
293091
|
"createIntegrationShareableId": {
|
|
293091
293092
|
"name": "createIntegrationShareableId",
|
|
293092
|
-
"description": "
|
|
293093
|
+
"description": "**EXPERIMENTAL** Generate a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
293093
293094
|
"method": "post",
|
|
293094
293095
|
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
293095
293096
|
"section": "bot",
|
|
@@ -293132,7 +293133,7 @@ var state2 = {
|
|
|
293132
293133
|
},
|
|
293133
293134
|
"deleteIntegrationShareableId": {
|
|
293134
293135
|
"name": "deleteIntegrationShareableId",
|
|
293135
|
-
"description": "
|
|
293136
|
+
"description": "**EXPERIMENTAL** Delete a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
293136
293137
|
"method": "delete",
|
|
293137
293138
|
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
293138
293139
|
"section": "bot",
|
|
@@ -293159,7 +293160,7 @@ var state2 = {
|
|
|
293159
293160
|
},
|
|
293160
293161
|
"getIntegrationShareableId": {
|
|
293161
293162
|
"name": "getIntegrationShareableId",
|
|
293162
|
-
"description": "
|
|
293163
|
+
"description": "**EXPERIMENTAL** Get an existing shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
293163
293164
|
"method": "get",
|
|
293164
293165
|
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
293165
293166
|
"section": "bot",
|
|
@@ -293196,6 +293197,136 @@ var state2 = {
|
|
|
293196
293197
|
}
|
|
293197
293198
|
}
|
|
293198
293199
|
},
|
|
293200
|
+
"listBotApiKeys": {
|
|
293201
|
+
"name": "listBotApiKeys",
|
|
293202
|
+
"description": "List BAKs (Bot Api Keys) of a bot",
|
|
293203
|
+
"method": "get",
|
|
293204
|
+
"section": "bot",
|
|
293205
|
+
"path": "/v1/admin/bots/baks",
|
|
293206
|
+
"parameters": {
|
|
293207
|
+
"botId": {
|
|
293208
|
+
"in": "query",
|
|
293209
|
+
"description": "ID of the bot",
|
|
293210
|
+
"type": "string",
|
|
293211
|
+
"required": true
|
|
293212
|
+
}
|
|
293213
|
+
},
|
|
293214
|
+
"response": {
|
|
293215
|
+
"description": "Success",
|
|
293216
|
+
"schema": {
|
|
293217
|
+
"type": "object",
|
|
293218
|
+
"properties": {
|
|
293219
|
+
"baks": {
|
|
293220
|
+
"type": "array",
|
|
293221
|
+
"items": {
|
|
293222
|
+
"type": "object",
|
|
293223
|
+
"properties": {
|
|
293224
|
+
"id": {
|
|
293225
|
+
"type": "string"
|
|
293226
|
+
},
|
|
293227
|
+
"createdAt": {
|
|
293228
|
+
"type": "string",
|
|
293229
|
+
"format": "date-time"
|
|
293230
|
+
},
|
|
293231
|
+
"note": {
|
|
293232
|
+
"type": "string"
|
|
293233
|
+
}
|
|
293234
|
+
},
|
|
293235
|
+
"required": [
|
|
293236
|
+
"id",
|
|
293237
|
+
"createdAt",
|
|
293238
|
+
"note"
|
|
293239
|
+
]
|
|
293240
|
+
}
|
|
293241
|
+
}
|
|
293242
|
+
},
|
|
293243
|
+
"required": [
|
|
293244
|
+
"baks"
|
|
293245
|
+
],
|
|
293246
|
+
"title": "listBotApiKeysResponse",
|
|
293247
|
+
"additionalProperties": false
|
|
293248
|
+
}
|
|
293249
|
+
}
|
|
293250
|
+
},
|
|
293251
|
+
"createBotApiKey": {
|
|
293252
|
+
"name": "createBotApiKey",
|
|
293253
|
+
"description": "Create a BAK",
|
|
293254
|
+
"method": "post",
|
|
293255
|
+
"section": "bot",
|
|
293256
|
+
"path": "/v1/admin/bots/baks",
|
|
293257
|
+
"requestBody": {
|
|
293258
|
+
"description": "BAK body",
|
|
293259
|
+
"schema": {
|
|
293260
|
+
"type": "object",
|
|
293261
|
+
"properties": {
|
|
293262
|
+
"botId": {
|
|
293263
|
+
"type": "string"
|
|
293264
|
+
},
|
|
293265
|
+
"note": {
|
|
293266
|
+
"type": "string"
|
|
293267
|
+
}
|
|
293268
|
+
},
|
|
293269
|
+
"required": [
|
|
293270
|
+
"botId"
|
|
293271
|
+
],
|
|
293272
|
+
"title": "createBotApiKeyBody",
|
|
293273
|
+
"additionalProperties": false
|
|
293274
|
+
}
|
|
293275
|
+
},
|
|
293276
|
+
"response": {
|
|
293277
|
+
"description": "Success",
|
|
293278
|
+
"schema": {
|
|
293279
|
+
"type": "object",
|
|
293280
|
+
"properties": {
|
|
293281
|
+
"id": {
|
|
293282
|
+
"type": "string"
|
|
293283
|
+
},
|
|
293284
|
+
"createdAt": {
|
|
293285
|
+
"type": "string",
|
|
293286
|
+
"format": "date-time"
|
|
293287
|
+
},
|
|
293288
|
+
"note": {
|
|
293289
|
+
"type": "string"
|
|
293290
|
+
},
|
|
293291
|
+
"value": {
|
|
293292
|
+
"type": "string",
|
|
293293
|
+
"description": "The BAK value. This will only be returned here when created and cannot be retrieved later."
|
|
293294
|
+
}
|
|
293295
|
+
},
|
|
293296
|
+
"required": [
|
|
293297
|
+
"id",
|
|
293298
|
+
"createdAt",
|
|
293299
|
+
"note",
|
|
293300
|
+
"value"
|
|
293301
|
+
],
|
|
293302
|
+
"title": "createBotApiKeyResponse",
|
|
293303
|
+
"additionalProperties": false
|
|
293304
|
+
}
|
|
293305
|
+
},
|
|
293306
|
+
"parameters": {}
|
|
293307
|
+
},
|
|
293308
|
+
"deleteBotApiKey": {
|
|
293309
|
+
"name": "deleteBotApiKey",
|
|
293310
|
+
"description": "Delete a BAK",
|
|
293311
|
+
"method": "delete",
|
|
293312
|
+
"section": "bot",
|
|
293313
|
+
"path": "/v1/admin/bots/baks/{id}",
|
|
293314
|
+
"parameters": {
|
|
293315
|
+
"id": {
|
|
293316
|
+
"type": "string",
|
|
293317
|
+
"description": "ID of Bot Api Key",
|
|
293318
|
+
"in": "path"
|
|
293319
|
+
}
|
|
293320
|
+
},
|
|
293321
|
+
"response": {
|
|
293322
|
+
"description": "Success",
|
|
293323
|
+
"schema": {
|
|
293324
|
+
"type": "object",
|
|
293325
|
+
"title": "deleteBotApiKeyResponse",
|
|
293326
|
+
"additionalProperties": false
|
|
293327
|
+
}
|
|
293328
|
+
}
|
|
293329
|
+
},
|
|
293199
293330
|
"listWorkspaceInvoices": {
|
|
293200
293331
|
"name": "listWorkspaceInvoices",
|
|
293201
293332
|
"description": "List invoices billed to workspace",
|
|
@@ -299942,7 +300073,7 @@ var state2 = {
|
|
|
299942
300073
|
"title": "Botpress API",
|
|
299943
300074
|
"description": "API for Botpress Cloud",
|
|
299944
300075
|
"server": "https://api.botpress.cloud",
|
|
299945
|
-
"version": "1.
|
|
300076
|
+
"version": "1.7.0",
|
|
299946
300077
|
"prefix": "v1"
|
|
299947
300078
|
},
|
|
299948
300079
|
"errors": [
|
|
@@ -300080,6 +300211,7 @@ var state2 = {
|
|
|
300080
300211
|
"createBotVersionBody": true,
|
|
300081
300212
|
"deployBotVersionBody": true,
|
|
300082
300213
|
"createIntegrationShareableIdBody": true,
|
|
300214
|
+
"createBotApiKeyBody": true,
|
|
300083
300215
|
"chargeWorkspaceUnpaidInvoicesBody": true,
|
|
300084
300216
|
"createWorkspaceBody": true,
|
|
300085
300217
|
"updateWorkspaceBody": true,
|
|
@@ -300135,6 +300267,9 @@ var state2 = {
|
|
|
300135
300267
|
"createIntegrationShareableIdResponse": true,
|
|
300136
300268
|
"deleteIntegrationShareableIdResponse": true,
|
|
300137
300269
|
"getIntegrationShareableIdResponse": true,
|
|
300270
|
+
"listBotApiKeysResponse": true,
|
|
300271
|
+
"createBotApiKeyResponse": true,
|
|
300272
|
+
"deleteBotApiKeyResponse": true,
|
|
300138
300273
|
"listWorkspaceInvoicesResponse": true,
|
|
300139
300274
|
"getUpcomingInvoiceResponse": true,
|
|
300140
300275
|
"chargeWorkspaceUnpaidInvoicesResponse": true,
|
|
@@ -303539,7 +303674,10 @@ var state2 = {
|
|
|
303539
303674
|
"deployBotVersion",
|
|
303540
303675
|
"createIntegrationShareableId",
|
|
303541
303676
|
"deleteIntegrationShareableId",
|
|
303542
|
-
"getIntegrationShareableId"
|
|
303677
|
+
"getIntegrationShareableId",
|
|
303678
|
+
"listBotApiKeys",
|
|
303679
|
+
"createBotApiKey",
|
|
303680
|
+
"deleteBotApiKey"
|
|
303543
303681
|
],
|
|
303544
303682
|
"schema": "Bot"
|
|
303545
303683
|
},
|
|
@@ -305283,7 +305421,7 @@ var state3 = {
|
|
|
305283
305421
|
"title": "Botpress API",
|
|
305284
305422
|
"description": "API for Botpress Cloud",
|
|
305285
305423
|
"server": "https://api.botpress.cloud",
|
|
305286
|
-
"version": "1.
|
|
305424
|
+
"version": "1.7.0",
|
|
305287
305425
|
"prefix": "v1"
|
|
305288
305426
|
},
|
|
305289
305427
|
"errors": [
|
|
@@ -310078,7 +310216,7 @@ var state4 = {
|
|
|
310078
310216
|
"title": "Botpress API",
|
|
310079
310217
|
"description": "API for Botpress Cloud",
|
|
310080
310218
|
"server": "https://api.botpress.cloud",
|
|
310081
|
-
"version": "1.
|
|
310219
|
+
"version": "1.7.0",
|
|
310082
310220
|
"prefix": "v1"
|
|
310083
310221
|
},
|
|
310084
310222
|
"errors": [
|
|
@@ -315418,6 +315556,7 @@ var state5 = {
|
|
|
315418
315556
|
"identifier": {
|
|
315419
315557
|
"type": "string",
|
|
315420
315558
|
"maxLength": 200,
|
|
315559
|
+
"nullable": true,
|
|
315421
315560
|
"description": "Unique identifier of the integration that was installed on the bot"
|
|
315422
315561
|
},
|
|
315423
315562
|
"scheduleRegisterCall": {
|
|
@@ -315442,7 +315581,7 @@ var state5 = {
|
|
|
315442
315581
|
"additionalProperties": false
|
|
315443
315582
|
},
|
|
315444
315583
|
"nullable": true,
|
|
315445
|
-
"description": "Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual
|
|
315584
|
+
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations."
|
|
315446
315585
|
}
|
|
315447
315586
|
},
|
|
315448
315587
|
"title": "configureIntegrationBody",
|
|
@@ -321045,7 +321184,7 @@ var state5 = {
|
|
|
321045
321184
|
},
|
|
321046
321185
|
"createIntegrationShareableId": {
|
|
321047
321186
|
"name": "createIntegrationShareableId",
|
|
321048
|
-
"description": "
|
|
321187
|
+
"description": "**EXPERIMENTAL** Generate a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
321049
321188
|
"method": "post",
|
|
321050
321189
|
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
321051
321190
|
"section": "bot",
|
|
@@ -321088,7 +321227,7 @@ var state5 = {
|
|
|
321088
321227
|
},
|
|
321089
321228
|
"deleteIntegrationShareableId": {
|
|
321090
321229
|
"name": "deleteIntegrationShareableId",
|
|
321091
|
-
"description": "
|
|
321230
|
+
"description": "**EXPERIMENTAL** Delete a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
321092
321231
|
"method": "delete",
|
|
321093
321232
|
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
321094
321233
|
"section": "bot",
|
|
@@ -321115,7 +321254,7 @@ var state5 = {
|
|
|
321115
321254
|
},
|
|
321116
321255
|
"getIntegrationShareableId": {
|
|
321117
321256
|
"name": "getIntegrationShareableId",
|
|
321118
|
-
"description": "
|
|
321257
|
+
"description": "**EXPERIMENTAL** Get an existing shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
321119
321258
|
"method": "get",
|
|
321120
321259
|
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
321121
321260
|
"section": "bot",
|
|
@@ -321152,6 +321291,136 @@ var state5 = {
|
|
|
321152
321291
|
}
|
|
321153
321292
|
}
|
|
321154
321293
|
},
|
|
321294
|
+
"listBotApiKeys": {
|
|
321295
|
+
"name": "listBotApiKeys",
|
|
321296
|
+
"description": "List BAKs (Bot Api Keys) of a bot",
|
|
321297
|
+
"method": "get",
|
|
321298
|
+
"section": "bot",
|
|
321299
|
+
"path": "/v1/admin/bots/baks",
|
|
321300
|
+
"parameters": {
|
|
321301
|
+
"botId": {
|
|
321302
|
+
"in": "query",
|
|
321303
|
+
"description": "ID of the bot",
|
|
321304
|
+
"type": "string",
|
|
321305
|
+
"required": true
|
|
321306
|
+
}
|
|
321307
|
+
},
|
|
321308
|
+
"response": {
|
|
321309
|
+
"description": "Success",
|
|
321310
|
+
"schema": {
|
|
321311
|
+
"type": "object",
|
|
321312
|
+
"properties": {
|
|
321313
|
+
"baks": {
|
|
321314
|
+
"type": "array",
|
|
321315
|
+
"items": {
|
|
321316
|
+
"type": "object",
|
|
321317
|
+
"properties": {
|
|
321318
|
+
"id": {
|
|
321319
|
+
"type": "string"
|
|
321320
|
+
},
|
|
321321
|
+
"createdAt": {
|
|
321322
|
+
"type": "string",
|
|
321323
|
+
"format": "date-time"
|
|
321324
|
+
},
|
|
321325
|
+
"note": {
|
|
321326
|
+
"type": "string"
|
|
321327
|
+
}
|
|
321328
|
+
},
|
|
321329
|
+
"required": [
|
|
321330
|
+
"id",
|
|
321331
|
+
"createdAt",
|
|
321332
|
+
"note"
|
|
321333
|
+
]
|
|
321334
|
+
}
|
|
321335
|
+
}
|
|
321336
|
+
},
|
|
321337
|
+
"required": [
|
|
321338
|
+
"baks"
|
|
321339
|
+
],
|
|
321340
|
+
"title": "listBotApiKeysResponse",
|
|
321341
|
+
"additionalProperties": false
|
|
321342
|
+
}
|
|
321343
|
+
}
|
|
321344
|
+
},
|
|
321345
|
+
"createBotApiKey": {
|
|
321346
|
+
"name": "createBotApiKey",
|
|
321347
|
+
"description": "Create a BAK",
|
|
321348
|
+
"method": "post",
|
|
321349
|
+
"section": "bot",
|
|
321350
|
+
"path": "/v1/admin/bots/baks",
|
|
321351
|
+
"requestBody": {
|
|
321352
|
+
"description": "BAK body",
|
|
321353
|
+
"schema": {
|
|
321354
|
+
"type": "object",
|
|
321355
|
+
"properties": {
|
|
321356
|
+
"botId": {
|
|
321357
|
+
"type": "string"
|
|
321358
|
+
},
|
|
321359
|
+
"note": {
|
|
321360
|
+
"type": "string"
|
|
321361
|
+
}
|
|
321362
|
+
},
|
|
321363
|
+
"required": [
|
|
321364
|
+
"botId"
|
|
321365
|
+
],
|
|
321366
|
+
"title": "createBotApiKeyBody",
|
|
321367
|
+
"additionalProperties": false
|
|
321368
|
+
}
|
|
321369
|
+
},
|
|
321370
|
+
"response": {
|
|
321371
|
+
"description": "Success",
|
|
321372
|
+
"schema": {
|
|
321373
|
+
"type": "object",
|
|
321374
|
+
"properties": {
|
|
321375
|
+
"id": {
|
|
321376
|
+
"type": "string"
|
|
321377
|
+
},
|
|
321378
|
+
"createdAt": {
|
|
321379
|
+
"type": "string",
|
|
321380
|
+
"format": "date-time"
|
|
321381
|
+
},
|
|
321382
|
+
"note": {
|
|
321383
|
+
"type": "string"
|
|
321384
|
+
},
|
|
321385
|
+
"value": {
|
|
321386
|
+
"type": "string",
|
|
321387
|
+
"description": "The BAK value. This will only be returned here when created and cannot be retrieved later."
|
|
321388
|
+
}
|
|
321389
|
+
},
|
|
321390
|
+
"required": [
|
|
321391
|
+
"id",
|
|
321392
|
+
"createdAt",
|
|
321393
|
+
"note",
|
|
321394
|
+
"value"
|
|
321395
|
+
],
|
|
321396
|
+
"title": "createBotApiKeyResponse",
|
|
321397
|
+
"additionalProperties": false
|
|
321398
|
+
}
|
|
321399
|
+
},
|
|
321400
|
+
"parameters": {}
|
|
321401
|
+
},
|
|
321402
|
+
"deleteBotApiKey": {
|
|
321403
|
+
"name": "deleteBotApiKey",
|
|
321404
|
+
"description": "Delete a BAK",
|
|
321405
|
+
"method": "delete",
|
|
321406
|
+
"section": "bot",
|
|
321407
|
+
"path": "/v1/admin/bots/baks/{id}",
|
|
321408
|
+
"parameters": {
|
|
321409
|
+
"id": {
|
|
321410
|
+
"type": "string",
|
|
321411
|
+
"description": "ID of Bot Api Key",
|
|
321412
|
+
"in": "path"
|
|
321413
|
+
}
|
|
321414
|
+
},
|
|
321415
|
+
"response": {
|
|
321416
|
+
"description": "Success",
|
|
321417
|
+
"schema": {
|
|
321418
|
+
"type": "object",
|
|
321419
|
+
"title": "deleteBotApiKeyResponse",
|
|
321420
|
+
"additionalProperties": false
|
|
321421
|
+
}
|
|
321422
|
+
}
|
|
321423
|
+
},
|
|
321155
321424
|
"listWorkspaceInvoices": {
|
|
321156
321425
|
"name": "listWorkspaceInvoices",
|
|
321157
321426
|
"description": "List invoices billed to workspace",
|
|
@@ -330674,7 +330943,7 @@ var state5 = {
|
|
|
330674
330943
|
"title": "Botpress API",
|
|
330675
330944
|
"description": "API for Botpress Cloud",
|
|
330676
330945
|
"server": "https://api.botpress.cloud",
|
|
330677
|
-
"version": "1.
|
|
330946
|
+
"version": "1.7.0",
|
|
330678
330947
|
"prefix": "v1"
|
|
330679
330948
|
},
|
|
330680
330949
|
"errors": [
|
|
@@ -330835,6 +331104,7 @@ var state5 = {
|
|
|
330835
331104
|
"createBotVersionBody": true,
|
|
330836
331105
|
"deployBotVersionBody": true,
|
|
330837
331106
|
"createIntegrationShareableIdBody": true,
|
|
331107
|
+
"createBotApiKeyBody": true,
|
|
330838
331108
|
"chargeWorkspaceUnpaidInvoicesBody": true,
|
|
330839
331109
|
"createWorkspaceBody": true,
|
|
330840
331110
|
"updateWorkspaceBody": true,
|
|
@@ -330951,6 +331221,9 @@ var state5 = {
|
|
|
330951
331221
|
"createIntegrationShareableIdResponse": true,
|
|
330952
331222
|
"deleteIntegrationShareableIdResponse": true,
|
|
330953
331223
|
"getIntegrationShareableIdResponse": true,
|
|
331224
|
+
"listBotApiKeysResponse": true,
|
|
331225
|
+
"createBotApiKeyResponse": true,
|
|
331226
|
+
"deleteBotApiKeyResponse": true,
|
|
330954
331227
|
"listWorkspaceInvoicesResponse": true,
|
|
330955
331228
|
"getUpcomingInvoiceResponse": true,
|
|
330956
331229
|
"chargeWorkspaceUnpaidInvoicesResponse": true,
|
|
@@ -334440,7 +334713,10 @@ var state5 = {
|
|
|
334440
334713
|
"deployBotVersion",
|
|
334441
334714
|
"createIntegrationShareableId",
|
|
334442
334715
|
"deleteIntegrationShareableId",
|
|
334443
|
-
"getIntegrationShareableId"
|
|
334716
|
+
"getIntegrationShareableId",
|
|
334717
|
+
"listBotApiKeys",
|
|
334718
|
+
"createBotApiKey",
|
|
334719
|
+
"deleteBotApiKey"
|
|
334444
334720
|
],
|
|
334445
334721
|
"schema": "Bot"
|
|
334446
334722
|
},
|
|
@@ -4271,6 +4271,123 @@ export declare const state: {
|
|
|
4271
4271
|
};
|
|
4272
4272
|
};
|
|
4273
4273
|
};
|
|
4274
|
+
listBotApiKeys: {
|
|
4275
|
+
name: string;
|
|
4276
|
+
description: string;
|
|
4277
|
+
method: "get";
|
|
4278
|
+
section: "bot";
|
|
4279
|
+
path: string;
|
|
4280
|
+
parameters: {
|
|
4281
|
+
botId: {
|
|
4282
|
+
in: "query";
|
|
4283
|
+
description: string;
|
|
4284
|
+
type: "string";
|
|
4285
|
+
required: true;
|
|
4286
|
+
};
|
|
4287
|
+
};
|
|
4288
|
+
response: {
|
|
4289
|
+
description: string;
|
|
4290
|
+
schema: {
|
|
4291
|
+
type: "object";
|
|
4292
|
+
properties: {
|
|
4293
|
+
baks: {
|
|
4294
|
+
type: "array";
|
|
4295
|
+
items: {
|
|
4296
|
+
type: "object";
|
|
4297
|
+
properties: {
|
|
4298
|
+
id: {
|
|
4299
|
+
type: "string";
|
|
4300
|
+
};
|
|
4301
|
+
createdAt: {
|
|
4302
|
+
type: "string";
|
|
4303
|
+
format: string;
|
|
4304
|
+
};
|
|
4305
|
+
note: {
|
|
4306
|
+
type: "string";
|
|
4307
|
+
};
|
|
4308
|
+
};
|
|
4309
|
+
required: string[];
|
|
4310
|
+
};
|
|
4311
|
+
};
|
|
4312
|
+
};
|
|
4313
|
+
required: string[];
|
|
4314
|
+
title: string;
|
|
4315
|
+
additionalProperties: false;
|
|
4316
|
+
};
|
|
4317
|
+
};
|
|
4318
|
+
};
|
|
4319
|
+
createBotApiKey: {
|
|
4320
|
+
name: string;
|
|
4321
|
+
description: string;
|
|
4322
|
+
method: "post";
|
|
4323
|
+
section: "bot";
|
|
4324
|
+
path: string;
|
|
4325
|
+
requestBody: {
|
|
4326
|
+
description: string;
|
|
4327
|
+
schema: {
|
|
4328
|
+
type: "object";
|
|
4329
|
+
properties: {
|
|
4330
|
+
botId: {
|
|
4331
|
+
type: "string";
|
|
4332
|
+
};
|
|
4333
|
+
note: {
|
|
4334
|
+
type: "string";
|
|
4335
|
+
};
|
|
4336
|
+
};
|
|
4337
|
+
required: string[];
|
|
4338
|
+
title: string;
|
|
4339
|
+
additionalProperties: false;
|
|
4340
|
+
};
|
|
4341
|
+
};
|
|
4342
|
+
response: {
|
|
4343
|
+
description: string;
|
|
4344
|
+
schema: {
|
|
4345
|
+
type: "object";
|
|
4346
|
+
properties: {
|
|
4347
|
+
id: {
|
|
4348
|
+
type: "string";
|
|
4349
|
+
};
|
|
4350
|
+
createdAt: {
|
|
4351
|
+
type: "string";
|
|
4352
|
+
format: string;
|
|
4353
|
+
};
|
|
4354
|
+
note: {
|
|
4355
|
+
type: "string";
|
|
4356
|
+
};
|
|
4357
|
+
value: {
|
|
4358
|
+
type: "string";
|
|
4359
|
+
description: string;
|
|
4360
|
+
};
|
|
4361
|
+
};
|
|
4362
|
+
required: string[];
|
|
4363
|
+
title: string;
|
|
4364
|
+
additionalProperties: false;
|
|
4365
|
+
};
|
|
4366
|
+
};
|
|
4367
|
+
parameters: {};
|
|
4368
|
+
};
|
|
4369
|
+
deleteBotApiKey: {
|
|
4370
|
+
name: string;
|
|
4371
|
+
description: string;
|
|
4372
|
+
method: "delete";
|
|
4373
|
+
section: "bot";
|
|
4374
|
+
path: string;
|
|
4375
|
+
parameters: {
|
|
4376
|
+
id: {
|
|
4377
|
+
type: "string";
|
|
4378
|
+
description: string;
|
|
4379
|
+
in: "path";
|
|
4380
|
+
};
|
|
4381
|
+
};
|
|
4382
|
+
response: {
|
|
4383
|
+
description: string;
|
|
4384
|
+
schema: {
|
|
4385
|
+
type: "object";
|
|
4386
|
+
title: string;
|
|
4387
|
+
additionalProperties: false;
|
|
4388
|
+
};
|
|
4389
|
+
};
|
|
4390
|
+
};
|
|
4274
4391
|
listWorkspaceInvoices: {
|
|
4275
4392
|
name: string;
|
|
4276
4393
|
description: string;
|
|
@@ -10272,6 +10389,7 @@ export declare const state: {
|
|
|
10272
10389
|
createBotVersionBody: true;
|
|
10273
10390
|
deployBotVersionBody: true;
|
|
10274
10391
|
createIntegrationShareableIdBody: true;
|
|
10392
|
+
createBotApiKeyBody: true;
|
|
10275
10393
|
chargeWorkspaceUnpaidInvoicesBody: true;
|
|
10276
10394
|
createWorkspaceBody: true;
|
|
10277
10395
|
updateWorkspaceBody: true;
|
|
@@ -10327,6 +10445,9 @@ export declare const state: {
|
|
|
10327
10445
|
createIntegrationShareableIdResponse: true;
|
|
10328
10446
|
deleteIntegrationShareableIdResponse: true;
|
|
10329
10447
|
getIntegrationShareableIdResponse: true;
|
|
10448
|
+
listBotApiKeysResponse: true;
|
|
10449
|
+
createBotApiKeyResponse: true;
|
|
10450
|
+
deleteBotApiKeyResponse: true;
|
|
10330
10451
|
listWorkspaceInvoicesResponse: true;
|
|
10331
10452
|
getUpcomingInvoiceResponse: true;
|
|
10332
10453
|
chargeWorkspaceUnpaidInvoicesResponse: true;
|