@botpress/api 1.31.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 +247 -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/state.d.ts +100 -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 +1 -1
- package/src/gen/state.ts +122 -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
|
@@ -285334,7 +285334,7 @@ var state = {
|
|
|
285334
285334
|
"title": "Botpress API",
|
|
285335
285335
|
"description": "API for Botpress Cloud",
|
|
285336
285336
|
"server": "https://api.botpress.cloud",
|
|
285337
|
-
"version": "1.
|
|
285337
|
+
"version": "1.32.0",
|
|
285338
285338
|
"prefix": "v1"
|
|
285339
285339
|
},
|
|
285340
285340
|
"errors": [
|
|
@@ -295837,6 +295837,109 @@ var state2 = {
|
|
|
295837
295837
|
}
|
|
295838
295838
|
}
|
|
295839
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
|
+
},
|
|
295840
295943
|
"listWorkspaceInvoices": {
|
|
295841
295944
|
"name": "listWorkspaceInvoices",
|
|
295842
295945
|
"description": "List invoices billed to workspace",
|
|
@@ -303045,7 +303148,7 @@ var state2 = {
|
|
|
303045
303148
|
"title": "Botpress API",
|
|
303046
303149
|
"description": "API for Botpress Cloud",
|
|
303047
303150
|
"server": "https://api.botpress.cloud",
|
|
303048
|
-
"version": "1.
|
|
303151
|
+
"version": "1.32.0",
|
|
303049
303152
|
"prefix": "v1"
|
|
303050
303153
|
},
|
|
303051
303154
|
"errors": [
|
|
@@ -303186,6 +303289,7 @@ var state2 = {
|
|
|
303186
303289
|
"deployBotVersionBody": true,
|
|
303187
303290
|
"createIntegrationShareableIdBody": true,
|
|
303188
303291
|
"createBotApiKeyBody": true,
|
|
303292
|
+
"updateBotAllowlistBody": true,
|
|
303189
303293
|
"chargeWorkspaceUnpaidInvoicesBody": true,
|
|
303190
303294
|
"createWorkspaceBody": true,
|
|
303191
303295
|
"updateWorkspaceBody": true,
|
|
@@ -303254,6 +303358,8 @@ var state2 = {
|
|
|
303254
303358
|
"listBotApiKeysResponse": true,
|
|
303255
303359
|
"createBotApiKeyResponse": true,
|
|
303256
303360
|
"deleteBotApiKeyResponse": true,
|
|
303361
|
+
"getBotAllowlistResponse": true,
|
|
303362
|
+
"updateBotAllowlistResponse": true,
|
|
303257
303363
|
"listWorkspaceInvoicesResponse": true,
|
|
303258
303364
|
"getUpcomingInvoiceResponse": true,
|
|
303259
303365
|
"chargeWorkspaceUnpaidInvoicesResponse": true,
|
|
@@ -306936,7 +307042,9 @@ var state2 = {
|
|
|
306936
307042
|
"unlinkSandboxedConversations",
|
|
306937
307043
|
"listBotApiKeys",
|
|
306938
307044
|
"createBotApiKey",
|
|
306939
|
-
"deleteBotApiKey"
|
|
307045
|
+
"deleteBotApiKey",
|
|
307046
|
+
"getBotAllowlist",
|
|
307047
|
+
"updateBotAllowlist"
|
|
306940
307048
|
],
|
|
306941
307049
|
"schema": "Bot"
|
|
306942
307050
|
},
|
|
@@ -307225,9 +307333,10 @@ var state3 = {
|
|
|
307225
307333
|
"stack": {
|
|
307226
307334
|
"type": "string",
|
|
307227
307335
|
"enum": [
|
|
307336
|
+
"legacy",
|
|
307228
307337
|
"realtime-v1"
|
|
307229
307338
|
],
|
|
307230
|
-
"description": "
|
|
307339
|
+
"description": "If not set, the default indexing stack will be used."
|
|
307231
307340
|
},
|
|
307232
307341
|
"vision": {
|
|
307233
307342
|
"type": "object",
|
|
@@ -308241,6 +308350,11 @@ var state3 = {
|
|
|
308241
308350
|
"in": "query",
|
|
308242
308351
|
"type": "boolean",
|
|
308243
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`."
|
|
308244
308358
|
}
|
|
308245
308359
|
},
|
|
308246
308360
|
"response": {
|
|
@@ -308353,7 +308467,8 @@ var state3 = {
|
|
|
308353
308467
|
"properties": {
|
|
308354
308468
|
"id": {
|
|
308355
308469
|
"type": "string",
|
|
308356
|
-
"format": "uuid"
|
|
308470
|
+
"format": "uuid",
|
|
308471
|
+
"description": "The ID of the vector that the context passage belongs to. Omitted for breadcrumbs."
|
|
308357
308472
|
},
|
|
308358
308473
|
"text": {
|
|
308359
308474
|
"type": "string"
|
|
@@ -308367,17 +308482,18 @@ var state3 = {
|
|
|
308367
308482
|
"enum": [
|
|
308368
308483
|
"preceding",
|
|
308369
308484
|
"subsequent",
|
|
308485
|
+
"current",
|
|
308370
308486
|
"breadcrumb"
|
|
308371
308487
|
],
|
|
308372
308488
|
"description": "The type of context passage"
|
|
308373
308489
|
}
|
|
308374
308490
|
},
|
|
308375
308491
|
"required": [
|
|
308376
|
-
"id",
|
|
308377
308492
|
"text",
|
|
308378
308493
|
"type"
|
|
308379
308494
|
]
|
|
308380
|
-
}
|
|
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."
|
|
308381
308497
|
}
|
|
308382
308498
|
},
|
|
308383
308499
|
"required": [
|
|
@@ -308883,7 +308999,7 @@ var state3 = {
|
|
|
308883
308999
|
"title": "Botpress API",
|
|
308884
309000
|
"description": "API for Botpress Cloud",
|
|
308885
309001
|
"server": "https://api.botpress.cloud",
|
|
308886
|
-
"version": "1.
|
|
309002
|
+
"version": "1.32.0",
|
|
308887
309003
|
"prefix": "v1"
|
|
308888
309004
|
},
|
|
308889
309005
|
"errors": [
|
|
@@ -313945,7 +314061,7 @@ var state4 = {
|
|
|
313945
314061
|
"title": "Botpress API",
|
|
313946
314062
|
"description": "API for Botpress Cloud",
|
|
313947
314063
|
"server": "https://api.botpress.cloud",
|
|
313948
|
-
"version": "1.
|
|
314064
|
+
"version": "1.32.0",
|
|
313949
314065
|
"prefix": "v1"
|
|
313950
314066
|
},
|
|
313951
314067
|
"errors": [
|
|
@@ -326972,6 +327088,109 @@ var state5 = {
|
|
|
326972
327088
|
}
|
|
326973
327089
|
}
|
|
326974
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
|
+
},
|
|
326975
327194
|
"listWorkspaceInvoices": {
|
|
326976
327195
|
"name": "listWorkspaceInvoices",
|
|
326977
327196
|
"description": "List invoices billed to workspace",
|
|
@@ -334291,9 +334510,10 @@ var state5 = {
|
|
|
334291
334510
|
"stack": {
|
|
334292
334511
|
"type": "string",
|
|
334293
334512
|
"enum": [
|
|
334513
|
+
"legacy",
|
|
334294
334514
|
"realtime-v1"
|
|
334295
334515
|
],
|
|
334296
|
-
"description": "
|
|
334516
|
+
"description": "If not set, the default indexing stack will be used."
|
|
334297
334517
|
},
|
|
334298
334518
|
"vision": {
|
|
334299
334519
|
"type": "object",
|
|
@@ -335307,6 +335527,11 @@ var state5 = {
|
|
|
335307
335527
|
"in": "query",
|
|
335308
335528
|
"type": "boolean",
|
|
335309
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`."
|
|
335310
335535
|
}
|
|
335311
335536
|
},
|
|
335312
335537
|
"response": {
|
|
@@ -335419,7 +335644,8 @@ var state5 = {
|
|
|
335419
335644
|
"properties": {
|
|
335420
335645
|
"id": {
|
|
335421
335646
|
"type": "string",
|
|
335422
|
-
"format": "uuid"
|
|
335647
|
+
"format": "uuid",
|
|
335648
|
+
"description": "The ID of the vector that the context passage belongs to. Omitted for breadcrumbs."
|
|
335423
335649
|
},
|
|
335424
335650
|
"text": {
|
|
335425
335651
|
"type": "string"
|
|
@@ -335433,17 +335659,18 @@ var state5 = {
|
|
|
335433
335659
|
"enum": [
|
|
335434
335660
|
"preceding",
|
|
335435
335661
|
"subsequent",
|
|
335662
|
+
"current",
|
|
335436
335663
|
"breadcrumb"
|
|
335437
335664
|
],
|
|
335438
335665
|
"description": "The type of context passage"
|
|
335439
335666
|
}
|
|
335440
335667
|
},
|
|
335441
335668
|
"required": [
|
|
335442
|
-
"id",
|
|
335443
335669
|
"text",
|
|
335444
335670
|
"type"
|
|
335445
335671
|
]
|
|
335446
|
-
}
|
|
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."
|
|
335447
335674
|
}
|
|
335448
335675
|
},
|
|
335449
335676
|
"required": [
|
|
@@ -337155,7 +337382,7 @@ var state5 = {
|
|
|
337155
337382
|
"title": "Botpress API",
|
|
337156
337383
|
"description": "API for Botpress Cloud",
|
|
337157
337384
|
"server": "https://api.botpress.cloud",
|
|
337158
|
-
"version": "1.
|
|
337385
|
+
"version": "1.32.0",
|
|
337159
337386
|
"prefix": "v1"
|
|
337160
337387
|
},
|
|
337161
337388
|
"errors": [
|
|
@@ -337319,6 +337546,7 @@ var state5 = {
|
|
|
337319
337546
|
"deployBotVersionBody": true,
|
|
337320
337547
|
"createIntegrationShareableIdBody": true,
|
|
337321
337548
|
"createBotApiKeyBody": true,
|
|
337549
|
+
"updateBotAllowlistBody": true,
|
|
337322
337550
|
"chargeWorkspaceUnpaidInvoicesBody": true,
|
|
337323
337551
|
"createWorkspaceBody": true,
|
|
337324
337552
|
"updateWorkspaceBody": true,
|
|
@@ -337449,6 +337677,8 @@ var state5 = {
|
|
|
337449
337677
|
"listBotApiKeysResponse": true,
|
|
337450
337678
|
"createBotApiKeyResponse": true,
|
|
337451
337679
|
"deleteBotApiKeyResponse": true,
|
|
337680
|
+
"getBotAllowlistResponse": true,
|
|
337681
|
+
"updateBotAllowlistResponse": true,
|
|
337452
337682
|
"listWorkspaceInvoicesResponse": true,
|
|
337453
337683
|
"getUpcomingInvoiceResponse": true,
|
|
337454
337684
|
"chargeWorkspaceUnpaidInvoicesResponse": true,
|
|
@@ -341217,7 +341447,9 @@ var state5 = {
|
|
|
341217
341447
|
"unlinkSandboxedConversations",
|
|
341218
341448
|
"listBotApiKeys",
|
|
341219
341449
|
"createBotApiKey",
|
|
341220
|
-
"deleteBotApiKey"
|
|
341450
|
+
"deleteBotApiKey",
|
|
341451
|
+
"getBotAllowlist",
|
|
341452
|
+
"updateBotAllowlist"
|
|
341221
341453
|
],
|
|
341222
341454
|
"schema": "Bot"
|
|
341223
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[];
|