@botpress/api 1.30.0 → 1.32.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/.turbo/turbo-openapi.log +5 -5
- package/dist/index.js +263 -15
- package/dist/src/gen/admin/state.d.ts +93 -0
- package/dist/src/gen/files/state.d.ts +7 -0
- package/dist/src/gen/runtime/state.d.ts +8 -0
- package/dist/src/gen/state.d.ts +108 -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 +110 -2
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +13 -5
- 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 +9 -1
- package/src/gen/state.ts +130 -6
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/.turbo/turbo-openapi.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/api@1.
|
|
2
|
+
> @botpress/api@1.32.0 openapi /home/runner/work/skynet/skynet/packages/public-api
|
|
3
3
|
> es-node openapi/generator.ts && pnpm run build
|
|
4
4
|
|
|
5
5
|
Generating openapi content
|
|
@@ -34,18 +34,18 @@ Saving openapi.json file
|
|
|
34
34
|
|
|
35
35
|
info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
|
|
36
36
|
|
|
37
|
-
> @botpress/api@1.
|
|
37
|
+
> @botpress/api@1.32.0 build /home/runner/work/skynet/skynet/packages/public-api
|
|
38
38
|
> pnpm run build:type && pnpm run build:impl
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
> @botpress/api@1.
|
|
41
|
+
> @botpress/api@1.32.0 build:type /home/runner/work/skynet/skynet/packages/public-api
|
|
42
42
|
> tsc -p tsconfig.package.json --emitDeclarationOnly
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
> @botpress/api@1.
|
|
45
|
+
> @botpress/api@1.32.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
|
|
46
46
|
> esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
dist/index.js 14.1mb ⚠️
|
|
50
50
|
|
|
51
|
-
⚡ Done in
|
|
51
|
+
⚡ Done in 930ms
|
package/dist/index.js
CHANGED
|
@@ -285184,6 +285184,14 @@ var state = {
|
|
|
285184
285184
|
"eventId": {
|
|
285185
285185
|
"type": "string",
|
|
285186
285186
|
"description": "Event id must be specified if the workflow is created with the status in_progress"
|
|
285187
|
+
},
|
|
285188
|
+
"discriminateByTags": {
|
|
285189
|
+
"type": "array",
|
|
285190
|
+
"items": {
|
|
285191
|
+
"type": "string",
|
|
285192
|
+
"maxLength": 500
|
|
285193
|
+
},
|
|
285194
|
+
"description": 'Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.'
|
|
285187
285195
|
}
|
|
285188
285196
|
},
|
|
285189
285197
|
"required": [
|
|
@@ -285326,7 +285334,7 @@ var state = {
|
|
|
285326
285334
|
"title": "Botpress API",
|
|
285327
285335
|
"description": "API for Botpress Cloud",
|
|
285328
285336
|
"server": "https://api.botpress.cloud",
|
|
285329
|
-
"version": "1.
|
|
285337
|
+
"version": "1.32.0",
|
|
285330
285338
|
"prefix": "v1"
|
|
285331
285339
|
},
|
|
285332
285340
|
"errors": [
|
|
@@ -295829,6 +295837,109 @@ var state2 = {
|
|
|
295829
295837
|
}
|
|
295830
295838
|
}
|
|
295831
295839
|
},
|
|
295840
|
+
"getBotAllowlist": {
|
|
295841
|
+
"name": "getBotAllowlist",
|
|
295842
|
+
"description": "Get the Bot Allowlist",
|
|
295843
|
+
"method": "get",
|
|
295844
|
+
"section": "bot",
|
|
295845
|
+
"path": "/v1/admin/bots/{botId}/allowlist",
|
|
295846
|
+
"parameters": {
|
|
295847
|
+
"botId": {
|
|
295848
|
+
"type": "string",
|
|
295849
|
+
"description": "Bot ID",
|
|
295850
|
+
"in": "path"
|
|
295851
|
+
}
|
|
295852
|
+
},
|
|
295853
|
+
"response": {
|
|
295854
|
+
"description": "Success",
|
|
295855
|
+
"schema": {
|
|
295856
|
+
"type": "object",
|
|
295857
|
+
"properties": {
|
|
295858
|
+
"setting": {
|
|
295859
|
+
"type": "string",
|
|
295860
|
+
"enum": [
|
|
295861
|
+
"ALL_WORKSPACE_USERS",
|
|
295862
|
+
"SELECTED_USERS"
|
|
295863
|
+
],
|
|
295864
|
+
"description": "Allowlist setting of the bot"
|
|
295865
|
+
},
|
|
295866
|
+
"users": {
|
|
295867
|
+
"type": "array",
|
|
295868
|
+
"items": {
|
|
295869
|
+
"type": "object",
|
|
295870
|
+
"properties": {
|
|
295871
|
+
"id": {
|
|
295872
|
+
"type": "string"
|
|
295873
|
+
}
|
|
295874
|
+
},
|
|
295875
|
+
"required": [
|
|
295876
|
+
"id"
|
|
295877
|
+
]
|
|
295878
|
+
}
|
|
295879
|
+
}
|
|
295880
|
+
},
|
|
295881
|
+
"required": [
|
|
295882
|
+
"setting",
|
|
295883
|
+
"users"
|
|
295884
|
+
],
|
|
295885
|
+
"title": "getBotAllowlistResponse",
|
|
295886
|
+
"additionalProperties": false
|
|
295887
|
+
}
|
|
295888
|
+
}
|
|
295889
|
+
},
|
|
295890
|
+
"updateBotAllowlist": {
|
|
295891
|
+
"name": "updateBotAllowlist",
|
|
295892
|
+
"description": "Update the Bot Allowlist",
|
|
295893
|
+
"method": "put",
|
|
295894
|
+
"section": "bot",
|
|
295895
|
+
"path": "/v1/admin/bots/{botId}/allowlist",
|
|
295896
|
+
"parameters": {
|
|
295897
|
+
"botId": {
|
|
295898
|
+
"type": "string",
|
|
295899
|
+
"description": "Bot ID",
|
|
295900
|
+
"in": "path"
|
|
295901
|
+
}
|
|
295902
|
+
},
|
|
295903
|
+
"requestBody": {
|
|
295904
|
+
"description": "Allowlist body",
|
|
295905
|
+
"schema": {
|
|
295906
|
+
"type": "object",
|
|
295907
|
+
"properties": {
|
|
295908
|
+
"setting": {
|
|
295909
|
+
"type": "string",
|
|
295910
|
+
"enum": [
|
|
295911
|
+
"ALL_WORKSPACE_USERS",
|
|
295912
|
+
"SELECTED_USERS"
|
|
295913
|
+
],
|
|
295914
|
+
"description": "Allowlist setting of the bot"
|
|
295915
|
+
},
|
|
295916
|
+
"modifiedUsers": {
|
|
295917
|
+
"type": "array",
|
|
295918
|
+
"items": {
|
|
295919
|
+
"type": "object",
|
|
295920
|
+
"additionalProperties": {
|
|
295921
|
+
"type": "boolean",
|
|
295922
|
+
"description": "If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist"
|
|
295923
|
+
}
|
|
295924
|
+
}
|
|
295925
|
+
}
|
|
295926
|
+
},
|
|
295927
|
+
"required": [
|
|
295928
|
+
"modifiedUsers"
|
|
295929
|
+
],
|
|
295930
|
+
"title": "updateBotAllowlistBody",
|
|
295931
|
+
"additionalProperties": false
|
|
295932
|
+
}
|
|
295933
|
+
},
|
|
295934
|
+
"response": {
|
|
295935
|
+
"description": "Success",
|
|
295936
|
+
"schema": {
|
|
295937
|
+
"type": "object",
|
|
295938
|
+
"title": "updateBotAllowlistResponse",
|
|
295939
|
+
"additionalProperties": false
|
|
295940
|
+
}
|
|
295941
|
+
}
|
|
295942
|
+
},
|
|
295832
295943
|
"listWorkspaceInvoices": {
|
|
295833
295944
|
"name": "listWorkspaceInvoices",
|
|
295834
295945
|
"description": "List invoices billed to workspace",
|
|
@@ -303037,7 +303148,7 @@ var state2 = {
|
|
|
303037
303148
|
"title": "Botpress API",
|
|
303038
303149
|
"description": "API for Botpress Cloud",
|
|
303039
303150
|
"server": "https://api.botpress.cloud",
|
|
303040
|
-
"version": "1.
|
|
303151
|
+
"version": "1.32.0",
|
|
303041
303152
|
"prefix": "v1"
|
|
303042
303153
|
},
|
|
303043
303154
|
"errors": [
|
|
@@ -303178,6 +303289,7 @@ var state2 = {
|
|
|
303178
303289
|
"deployBotVersionBody": true,
|
|
303179
303290
|
"createIntegrationShareableIdBody": true,
|
|
303180
303291
|
"createBotApiKeyBody": true,
|
|
303292
|
+
"updateBotAllowlistBody": true,
|
|
303181
303293
|
"chargeWorkspaceUnpaidInvoicesBody": true,
|
|
303182
303294
|
"createWorkspaceBody": true,
|
|
303183
303295
|
"updateWorkspaceBody": true,
|
|
@@ -303246,6 +303358,8 @@ var state2 = {
|
|
|
303246
303358
|
"listBotApiKeysResponse": true,
|
|
303247
303359
|
"createBotApiKeyResponse": true,
|
|
303248
303360
|
"deleteBotApiKeyResponse": true,
|
|
303361
|
+
"getBotAllowlistResponse": true,
|
|
303362
|
+
"updateBotAllowlistResponse": true,
|
|
303249
303363
|
"listWorkspaceInvoicesResponse": true,
|
|
303250
303364
|
"getUpcomingInvoiceResponse": true,
|
|
303251
303365
|
"chargeWorkspaceUnpaidInvoicesResponse": true,
|
|
@@ -306928,7 +307042,9 @@ var state2 = {
|
|
|
306928
307042
|
"unlinkSandboxedConversations",
|
|
306929
307043
|
"listBotApiKeys",
|
|
306930
307044
|
"createBotApiKey",
|
|
306931
|
-
"deleteBotApiKey"
|
|
307045
|
+
"deleteBotApiKey",
|
|
307046
|
+
"getBotAllowlist",
|
|
307047
|
+
"updateBotAllowlist"
|
|
306932
307048
|
],
|
|
306933
307049
|
"schema": "Bot"
|
|
306934
307050
|
},
|
|
@@ -307217,9 +307333,10 @@ var state3 = {
|
|
|
307217
307333
|
"stack": {
|
|
307218
307334
|
"type": "string",
|
|
307219
307335
|
"enum": [
|
|
307336
|
+
"legacy",
|
|
307220
307337
|
"realtime-v1"
|
|
307221
307338
|
],
|
|
307222
|
-
"description": "
|
|
307339
|
+
"description": "If not set, the default indexing stack will be used."
|
|
307223
307340
|
},
|
|
307224
307341
|
"vision": {
|
|
307225
307342
|
"type": "object",
|
|
@@ -308233,6 +308350,11 @@ var state3 = {
|
|
|
308233
308350
|
"in": "query",
|
|
308234
308351
|
"type": "boolean",
|
|
308235
308352
|
"description": "Prepend a breadcrumb to each passage, containing the title and subtitle(s) the passage belongs to in the file. This option is ignored when the `consolidate` option is set to `true`."
|
|
308353
|
+
},
|
|
308354
|
+
"withContext": {
|
|
308355
|
+
"in": "query",
|
|
308356
|
+
"type": "boolean",
|
|
308357
|
+
"description": "Include the surrounding context with each passage in the `context` property of each passage. Not supported when `consolidate` is set to `true`."
|
|
308236
308358
|
}
|
|
308237
308359
|
},
|
|
308238
308360
|
"response": {
|
|
@@ -308345,7 +308467,8 @@ var state3 = {
|
|
|
308345
308467
|
"properties": {
|
|
308346
308468
|
"id": {
|
|
308347
308469
|
"type": "string",
|
|
308348
|
-
"format": "uuid"
|
|
308470
|
+
"format": "uuid",
|
|
308471
|
+
"description": "The ID of the vector that the context passage belongs to. Omitted for breadcrumbs."
|
|
308349
308472
|
},
|
|
308350
308473
|
"text": {
|
|
308351
308474
|
"type": "string"
|
|
@@ -308359,17 +308482,18 @@ var state3 = {
|
|
|
308359
308482
|
"enum": [
|
|
308360
308483
|
"preceding",
|
|
308361
308484
|
"subsequent",
|
|
308485
|
+
"current",
|
|
308362
308486
|
"breadcrumb"
|
|
308363
308487
|
],
|
|
308364
308488
|
"description": "The type of context passage"
|
|
308365
308489
|
}
|
|
308366
308490
|
},
|
|
308367
308491
|
"required": [
|
|
308368
|
-
"id",
|
|
308369
308492
|
"text",
|
|
308370
308493
|
"type"
|
|
308371
308494
|
]
|
|
308372
|
-
}
|
|
308495
|
+
},
|
|
308496
|
+
"description": "Surrounding passages including the current passage, based on the requested `contextDepth`. Only returned if the `withContext` parameter is set to `true`. Not supported when using the `consolidate` option."
|
|
308373
308497
|
}
|
|
308374
308498
|
},
|
|
308375
308499
|
"required": [
|
|
@@ -308875,7 +308999,7 @@ var state3 = {
|
|
|
308875
308999
|
"title": "Botpress API",
|
|
308876
309000
|
"description": "API for Botpress Cloud",
|
|
308877
309001
|
"server": "https://api.botpress.cloud",
|
|
308878
|
-
"version": "1.
|
|
309002
|
+
"version": "1.32.0",
|
|
308879
309003
|
"prefix": "v1"
|
|
308880
309004
|
},
|
|
308881
309005
|
"errors": [
|
|
@@ -313937,7 +314061,7 @@ var state4 = {
|
|
|
313937
314061
|
"title": "Botpress API",
|
|
313938
314062
|
"description": "API for Botpress Cloud",
|
|
313939
314063
|
"server": "https://api.botpress.cloud",
|
|
313940
|
-
"version": "1.
|
|
314064
|
+
"version": "1.32.0",
|
|
313941
314065
|
"prefix": "v1"
|
|
313942
314066
|
},
|
|
313943
314067
|
"errors": [
|
|
@@ -320248,6 +320372,14 @@ var state5 = {
|
|
|
320248
320372
|
"eventId": {
|
|
320249
320373
|
"type": "string",
|
|
320250
320374
|
"description": "Event id must be specified if the workflow is created with the status in_progress"
|
|
320375
|
+
},
|
|
320376
|
+
"discriminateByTags": {
|
|
320377
|
+
"type": "array",
|
|
320378
|
+
"items": {
|
|
320379
|
+
"type": "string",
|
|
320380
|
+
"maxLength": 500
|
|
320381
|
+
},
|
|
320382
|
+
"description": 'Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.'
|
|
320251
320383
|
}
|
|
320252
320384
|
},
|
|
320253
320385
|
"required": [
|
|
@@ -326956,6 +327088,109 @@ var state5 = {
|
|
|
326956
327088
|
}
|
|
326957
327089
|
}
|
|
326958
327090
|
},
|
|
327091
|
+
"getBotAllowlist": {
|
|
327092
|
+
"name": "getBotAllowlist",
|
|
327093
|
+
"description": "Get the Bot Allowlist",
|
|
327094
|
+
"method": "get",
|
|
327095
|
+
"section": "bot",
|
|
327096
|
+
"path": "/v1/admin/bots/{botId}/allowlist",
|
|
327097
|
+
"parameters": {
|
|
327098
|
+
"botId": {
|
|
327099
|
+
"type": "string",
|
|
327100
|
+
"description": "Bot ID",
|
|
327101
|
+
"in": "path"
|
|
327102
|
+
}
|
|
327103
|
+
},
|
|
327104
|
+
"response": {
|
|
327105
|
+
"description": "Success",
|
|
327106
|
+
"schema": {
|
|
327107
|
+
"type": "object",
|
|
327108
|
+
"properties": {
|
|
327109
|
+
"setting": {
|
|
327110
|
+
"type": "string",
|
|
327111
|
+
"enum": [
|
|
327112
|
+
"ALL_WORKSPACE_USERS",
|
|
327113
|
+
"SELECTED_USERS"
|
|
327114
|
+
],
|
|
327115
|
+
"description": "Allowlist setting of the bot"
|
|
327116
|
+
},
|
|
327117
|
+
"users": {
|
|
327118
|
+
"type": "array",
|
|
327119
|
+
"items": {
|
|
327120
|
+
"type": "object",
|
|
327121
|
+
"properties": {
|
|
327122
|
+
"id": {
|
|
327123
|
+
"type": "string"
|
|
327124
|
+
}
|
|
327125
|
+
},
|
|
327126
|
+
"required": [
|
|
327127
|
+
"id"
|
|
327128
|
+
]
|
|
327129
|
+
}
|
|
327130
|
+
}
|
|
327131
|
+
},
|
|
327132
|
+
"required": [
|
|
327133
|
+
"setting",
|
|
327134
|
+
"users"
|
|
327135
|
+
],
|
|
327136
|
+
"title": "getBotAllowlistResponse",
|
|
327137
|
+
"additionalProperties": false
|
|
327138
|
+
}
|
|
327139
|
+
}
|
|
327140
|
+
},
|
|
327141
|
+
"updateBotAllowlist": {
|
|
327142
|
+
"name": "updateBotAllowlist",
|
|
327143
|
+
"description": "Update the Bot Allowlist",
|
|
327144
|
+
"method": "put",
|
|
327145
|
+
"section": "bot",
|
|
327146
|
+
"path": "/v1/admin/bots/{botId}/allowlist",
|
|
327147
|
+
"parameters": {
|
|
327148
|
+
"botId": {
|
|
327149
|
+
"type": "string",
|
|
327150
|
+
"description": "Bot ID",
|
|
327151
|
+
"in": "path"
|
|
327152
|
+
}
|
|
327153
|
+
},
|
|
327154
|
+
"requestBody": {
|
|
327155
|
+
"description": "Allowlist body",
|
|
327156
|
+
"schema": {
|
|
327157
|
+
"type": "object",
|
|
327158
|
+
"properties": {
|
|
327159
|
+
"setting": {
|
|
327160
|
+
"type": "string",
|
|
327161
|
+
"enum": [
|
|
327162
|
+
"ALL_WORKSPACE_USERS",
|
|
327163
|
+
"SELECTED_USERS"
|
|
327164
|
+
],
|
|
327165
|
+
"description": "Allowlist setting of the bot"
|
|
327166
|
+
},
|
|
327167
|
+
"modifiedUsers": {
|
|
327168
|
+
"type": "array",
|
|
327169
|
+
"items": {
|
|
327170
|
+
"type": "object",
|
|
327171
|
+
"additionalProperties": {
|
|
327172
|
+
"type": "boolean",
|
|
327173
|
+
"description": "If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist"
|
|
327174
|
+
}
|
|
327175
|
+
}
|
|
327176
|
+
}
|
|
327177
|
+
},
|
|
327178
|
+
"required": [
|
|
327179
|
+
"modifiedUsers"
|
|
327180
|
+
],
|
|
327181
|
+
"title": "updateBotAllowlistBody",
|
|
327182
|
+
"additionalProperties": false
|
|
327183
|
+
}
|
|
327184
|
+
},
|
|
327185
|
+
"response": {
|
|
327186
|
+
"description": "Success",
|
|
327187
|
+
"schema": {
|
|
327188
|
+
"type": "object",
|
|
327189
|
+
"title": "updateBotAllowlistResponse",
|
|
327190
|
+
"additionalProperties": false
|
|
327191
|
+
}
|
|
327192
|
+
}
|
|
327193
|
+
},
|
|
326959
327194
|
"listWorkspaceInvoices": {
|
|
326960
327195
|
"name": "listWorkspaceInvoices",
|
|
326961
327196
|
"description": "List invoices billed to workspace",
|
|
@@ -334275,9 +334510,10 @@ var state5 = {
|
|
|
334275
334510
|
"stack": {
|
|
334276
334511
|
"type": "string",
|
|
334277
334512
|
"enum": [
|
|
334513
|
+
"legacy",
|
|
334278
334514
|
"realtime-v1"
|
|
334279
334515
|
],
|
|
334280
|
-
"description": "
|
|
334516
|
+
"description": "If not set, the default indexing stack will be used."
|
|
334281
334517
|
},
|
|
334282
334518
|
"vision": {
|
|
334283
334519
|
"type": "object",
|
|
@@ -335291,6 +335527,11 @@ var state5 = {
|
|
|
335291
335527
|
"in": "query",
|
|
335292
335528
|
"type": "boolean",
|
|
335293
335529
|
"description": "Prepend a breadcrumb to each passage, containing the title and subtitle(s) the passage belongs to in the file. This option is ignored when the `consolidate` option is set to `true`."
|
|
335530
|
+
},
|
|
335531
|
+
"withContext": {
|
|
335532
|
+
"in": "query",
|
|
335533
|
+
"type": "boolean",
|
|
335534
|
+
"description": "Include the surrounding context with each passage in the `context` property of each passage. Not supported when `consolidate` is set to `true`."
|
|
335294
335535
|
}
|
|
335295
335536
|
},
|
|
335296
335537
|
"response": {
|
|
@@ -335403,7 +335644,8 @@ var state5 = {
|
|
|
335403
335644
|
"properties": {
|
|
335404
335645
|
"id": {
|
|
335405
335646
|
"type": "string",
|
|
335406
|
-
"format": "uuid"
|
|
335647
|
+
"format": "uuid",
|
|
335648
|
+
"description": "The ID of the vector that the context passage belongs to. Omitted for breadcrumbs."
|
|
335407
335649
|
},
|
|
335408
335650
|
"text": {
|
|
335409
335651
|
"type": "string"
|
|
@@ -335417,17 +335659,18 @@ var state5 = {
|
|
|
335417
335659
|
"enum": [
|
|
335418
335660
|
"preceding",
|
|
335419
335661
|
"subsequent",
|
|
335662
|
+
"current",
|
|
335420
335663
|
"breadcrumb"
|
|
335421
335664
|
],
|
|
335422
335665
|
"description": "The type of context passage"
|
|
335423
335666
|
}
|
|
335424
335667
|
},
|
|
335425
335668
|
"required": [
|
|
335426
|
-
"id",
|
|
335427
335669
|
"text",
|
|
335428
335670
|
"type"
|
|
335429
335671
|
]
|
|
335430
|
-
}
|
|
335672
|
+
},
|
|
335673
|
+
"description": "Surrounding passages including the current passage, based on the requested `contextDepth`. Only returned if the `withContext` parameter is set to `true`. Not supported when using the `consolidate` option."
|
|
335431
335674
|
}
|
|
335432
335675
|
},
|
|
335433
335676
|
"required": [
|
|
@@ -337139,7 +337382,7 @@ var state5 = {
|
|
|
337139
337382
|
"title": "Botpress API",
|
|
337140
337383
|
"description": "API for Botpress Cloud",
|
|
337141
337384
|
"server": "https://api.botpress.cloud",
|
|
337142
|
-
"version": "1.
|
|
337385
|
+
"version": "1.32.0",
|
|
337143
337386
|
"prefix": "v1"
|
|
337144
337387
|
},
|
|
337145
337388
|
"errors": [
|
|
@@ -337303,6 +337546,7 @@ var state5 = {
|
|
|
337303
337546
|
"deployBotVersionBody": true,
|
|
337304
337547
|
"createIntegrationShareableIdBody": true,
|
|
337305
337548
|
"createBotApiKeyBody": true,
|
|
337549
|
+
"updateBotAllowlistBody": true,
|
|
337306
337550
|
"chargeWorkspaceUnpaidInvoicesBody": true,
|
|
337307
337551
|
"createWorkspaceBody": true,
|
|
337308
337552
|
"updateWorkspaceBody": true,
|
|
@@ -337433,6 +337677,8 @@ var state5 = {
|
|
|
337433
337677
|
"listBotApiKeysResponse": true,
|
|
337434
337678
|
"createBotApiKeyResponse": true,
|
|
337435
337679
|
"deleteBotApiKeyResponse": true,
|
|
337680
|
+
"getBotAllowlistResponse": true,
|
|
337681
|
+
"updateBotAllowlistResponse": true,
|
|
337436
337682
|
"listWorkspaceInvoicesResponse": true,
|
|
337437
337683
|
"getUpcomingInvoiceResponse": true,
|
|
337438
337684
|
"chargeWorkspaceUnpaidInvoicesResponse": true,
|
|
@@ -341201,7 +341447,9 @@ var state5 = {
|
|
|
341201
341447
|
"unlinkSandboxedConversations",
|
|
341202
341448
|
"listBotApiKeys",
|
|
341203
341449
|
"createBotApiKey",
|
|
341204
|
-
"deleteBotApiKey"
|
|
341450
|
+
"deleteBotApiKey",
|
|
341451
|
+
"getBotAllowlist",
|
|
341452
|
+
"updateBotAllowlist"
|
|
341205
341453
|
],
|
|
341206
341454
|
"schema": "Bot"
|
|
341207
341455
|
},
|
|
@@ -5786,6 +5786,96 @@ export declare const state: {
|
|
|
5786
5786
|
};
|
|
5787
5787
|
};
|
|
5788
5788
|
};
|
|
5789
|
+
getBotAllowlist: {
|
|
5790
|
+
name: string;
|
|
5791
|
+
description: string;
|
|
5792
|
+
method: "get";
|
|
5793
|
+
section: "bot";
|
|
5794
|
+
path: string;
|
|
5795
|
+
parameters: {
|
|
5796
|
+
botId: {
|
|
5797
|
+
type: "string";
|
|
5798
|
+
description: string;
|
|
5799
|
+
in: "path";
|
|
5800
|
+
};
|
|
5801
|
+
};
|
|
5802
|
+
response: {
|
|
5803
|
+
description: string;
|
|
5804
|
+
schema: {
|
|
5805
|
+
type: "object";
|
|
5806
|
+
properties: {
|
|
5807
|
+
setting: {
|
|
5808
|
+
type: "string";
|
|
5809
|
+
enum: string[];
|
|
5810
|
+
description: string;
|
|
5811
|
+
};
|
|
5812
|
+
users: {
|
|
5813
|
+
type: "array";
|
|
5814
|
+
items: {
|
|
5815
|
+
type: "object";
|
|
5816
|
+
properties: {
|
|
5817
|
+
id: {
|
|
5818
|
+
type: "string";
|
|
5819
|
+
};
|
|
5820
|
+
};
|
|
5821
|
+
required: string[];
|
|
5822
|
+
};
|
|
5823
|
+
};
|
|
5824
|
+
};
|
|
5825
|
+
required: string[];
|
|
5826
|
+
title: string;
|
|
5827
|
+
additionalProperties: false;
|
|
5828
|
+
};
|
|
5829
|
+
};
|
|
5830
|
+
};
|
|
5831
|
+
updateBotAllowlist: {
|
|
5832
|
+
name: string;
|
|
5833
|
+
description: string;
|
|
5834
|
+
method: "put";
|
|
5835
|
+
section: "bot";
|
|
5836
|
+
path: string;
|
|
5837
|
+
parameters: {
|
|
5838
|
+
botId: {
|
|
5839
|
+
type: "string";
|
|
5840
|
+
description: string;
|
|
5841
|
+
in: "path";
|
|
5842
|
+
};
|
|
5843
|
+
};
|
|
5844
|
+
requestBody: {
|
|
5845
|
+
description: string;
|
|
5846
|
+
schema: {
|
|
5847
|
+
type: "object";
|
|
5848
|
+
properties: {
|
|
5849
|
+
setting: {
|
|
5850
|
+
type: "string";
|
|
5851
|
+
enum: string[];
|
|
5852
|
+
description: string;
|
|
5853
|
+
};
|
|
5854
|
+
modifiedUsers: {
|
|
5855
|
+
type: "array";
|
|
5856
|
+
items: {
|
|
5857
|
+
type: "object";
|
|
5858
|
+
additionalProperties: {
|
|
5859
|
+
type: "boolean";
|
|
5860
|
+
description: string;
|
|
5861
|
+
};
|
|
5862
|
+
};
|
|
5863
|
+
};
|
|
5864
|
+
};
|
|
5865
|
+
required: string[];
|
|
5866
|
+
title: string;
|
|
5867
|
+
additionalProperties: false;
|
|
5868
|
+
};
|
|
5869
|
+
};
|
|
5870
|
+
response: {
|
|
5871
|
+
description: string;
|
|
5872
|
+
schema: {
|
|
5873
|
+
type: "object";
|
|
5874
|
+
title: string;
|
|
5875
|
+
additionalProperties: false;
|
|
5876
|
+
};
|
|
5877
|
+
};
|
|
5878
|
+
};
|
|
5789
5879
|
listWorkspaceInvoices: {
|
|
5790
5880
|
name: string;
|
|
5791
5881
|
description: string;
|
|
@@ -12228,6 +12318,7 @@ export declare const state: {
|
|
|
12228
12318
|
deployBotVersionBody: true;
|
|
12229
12319
|
createIntegrationShareableIdBody: true;
|
|
12230
12320
|
createBotApiKeyBody: true;
|
|
12321
|
+
updateBotAllowlistBody: true;
|
|
12231
12322
|
chargeWorkspaceUnpaidInvoicesBody: true;
|
|
12232
12323
|
createWorkspaceBody: true;
|
|
12233
12324
|
updateWorkspaceBody: true;
|
|
@@ -12296,6 +12387,8 @@ export declare const state: {
|
|
|
12296
12387
|
listBotApiKeysResponse: true;
|
|
12297
12388
|
createBotApiKeyResponse: true;
|
|
12298
12389
|
deleteBotApiKeyResponse: true;
|
|
12390
|
+
getBotAllowlistResponse: true;
|
|
12391
|
+
updateBotAllowlistResponse: true;
|
|
12299
12392
|
listWorkspaceInvoicesResponse: true;
|
|
12300
12393
|
getUpcomingInvoiceResponse: true;
|
|
12301
12394
|
chargeWorkspaceUnpaidInvoicesResponse: true;
|
|
@@ -941,6 +941,11 @@ export declare const state: {
|
|
|
941
941
|
type: "boolean";
|
|
942
942
|
description: string;
|
|
943
943
|
};
|
|
944
|
+
withContext: {
|
|
945
|
+
in: "query";
|
|
946
|
+
type: "boolean";
|
|
947
|
+
description: string;
|
|
948
|
+
};
|
|
944
949
|
};
|
|
945
950
|
response: {
|
|
946
951
|
description: string;
|
|
@@ -1031,6 +1036,7 @@ export declare const state: {
|
|
|
1031
1036
|
id: {
|
|
1032
1037
|
type: "string";
|
|
1033
1038
|
format: string;
|
|
1039
|
+
description: string;
|
|
1034
1040
|
};
|
|
1035
1041
|
text: {
|
|
1036
1042
|
type: "string";
|
|
@@ -1047,6 +1053,7 @@ export declare const state: {
|
|
|
1047
1053
|
};
|
|
1048
1054
|
required: string[];
|
|
1049
1055
|
};
|
|
1056
|
+
description: string;
|
|
1050
1057
|
};
|
|
1051
1058
|
};
|
|
1052
1059
|
required: string[];
|
|
@@ -2230,6 +2230,14 @@ export declare const state: {
|
|
|
2230
2230
|
type: "string";
|
|
2231
2231
|
description: string;
|
|
2232
2232
|
};
|
|
2233
|
+
discriminateByTags: {
|
|
2234
|
+
type: "array";
|
|
2235
|
+
items: {
|
|
2236
|
+
type: "string";
|
|
2237
|
+
maxLength: number;
|
|
2238
|
+
};
|
|
2239
|
+
description: string;
|
|
2240
|
+
};
|
|
2233
2241
|
};
|
|
2234
2242
|
required: string[];
|
|
2235
2243
|
title: string;
|