@botpress/api 1.18.2 → 1.20.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.
@@ -2601,7 +2601,7 @@ export const state = {
2601
2601
  "title": "Botpress API",
2602
2602
  "description": "API for Botpress Cloud",
2603
2603
  "server": "https://api.botpress.cloud",
2604
- "version": "1.18.2",
2604
+ "version": "1.20.0",
2605
2605
  "prefix": "v1"
2606
2606
  },
2607
2607
  "errors": [
@@ -6232,6 +6232,31 @@ export const state = {
6232
6232
  "expiresAt": {
6233
6233
  "type": "string",
6234
6234
  "description": "File expiry timestamp in ISO 8601 format"
6235
+ },
6236
+ "owner": {
6237
+ "type": "object",
6238
+ "properties": {
6239
+ "type": {
6240
+ "type": "string",
6241
+ "enum": [
6242
+ "bot",
6243
+ "integration",
6244
+ "user"
6245
+ ]
6246
+ },
6247
+ "id": {
6248
+ "type": "string",
6249
+ "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
6250
+ },
6251
+ "name": {
6252
+ "type": "string",
6253
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
6254
+ }
6255
+ },
6256
+ "required": [
6257
+ "type"
6258
+ ],
6259
+ "additionalProperties": false
6235
6260
  }
6236
6261
  },
6237
6262
  "required": [
@@ -6247,7 +6272,8 @@ export const state = {
6247
6272
  "updatedAt",
6248
6273
  "accessPolicies",
6249
6274
  "index",
6250
- "status"
6275
+ "status",
6276
+ "owner"
6251
6277
  ],
6252
6278
  "additionalProperties": false
6253
6279
  }
package/src/gen/state.ts CHANGED
@@ -15467,7 +15467,8 @@ export const state = {
15467
15467
  "type": "string",
15468
15468
  "enum": [
15469
15469
  "IntegrationAction",
15470
- "FileIndexing"
15470
+ "FileIndexing",
15471
+ "WebSearch"
15471
15472
  ]
15472
15473
  },
15473
15474
  "subtype": {
@@ -15680,7 +15681,7 @@ export const state = {
15680
15681
  "index": {
15681
15682
  "default": false,
15682
15683
  "type": "boolean",
15683
- "description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
15684
+ "description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Files larger than 95 MB cannot be indexed. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
15684
15685
  },
15685
15686
  "indexing": {
15686
15687
  "type": "object",
@@ -15921,6 +15922,31 @@ export const state = {
15921
15922
  "type": "string",
15922
15923
  "description": "File expiry timestamp in ISO 8601 format"
15923
15924
  },
15925
+ "owner": {
15926
+ "type": "object",
15927
+ "properties": {
15928
+ "type": {
15929
+ "type": "string",
15930
+ "enum": [
15931
+ "bot",
15932
+ "integration",
15933
+ "user"
15934
+ ]
15935
+ },
15936
+ "id": {
15937
+ "type": "string",
15938
+ "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
15939
+ },
15940
+ "name": {
15941
+ "type": "string",
15942
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
15943
+ }
15944
+ },
15945
+ "required": [
15946
+ "type"
15947
+ ],
15948
+ "additionalProperties": false
15949
+ },
15924
15950
  "uploadUrl": {
15925
15951
  "type": "string",
15926
15952
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -15940,6 +15966,7 @@ export const state = {
15940
15966
  "accessPolicies",
15941
15967
  "index",
15942
15968
  "status",
15969
+ "owner",
15943
15970
  "uploadUrl"
15944
15971
  ],
15945
15972
  "additionalProperties": false
@@ -16120,6 +16147,30 @@ export const state = {
16120
16147
  "expiresAt": {
16121
16148
  "type": "string",
16122
16149
  "description": "File expiry timestamp in ISO 8601 format"
16150
+ },
16151
+ "owner": {
16152
+ "type": "object",
16153
+ "properties": {
16154
+ "type": {
16155
+ "type": "string",
16156
+ "enum": [
16157
+ "bot",
16158
+ "integration",
16159
+ "user"
16160
+ ]
16161
+ },
16162
+ "id": {
16163
+ "type": "string",
16164
+ "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
16165
+ },
16166
+ "name": {
16167
+ "type": "string",
16168
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
16169
+ }
16170
+ },
16171
+ "required": [
16172
+ "type"
16173
+ ]
16123
16174
  }
16124
16175
  },
16125
16176
  "required": [
@@ -16135,7 +16186,8 @@ export const state = {
16135
16186
  "updatedAt",
16136
16187
  "accessPolicies",
16137
16188
  "index",
16138
- "status"
16189
+ "status",
16190
+ "owner"
16139
16191
  ]
16140
16192
  }
16141
16193
  },
@@ -16262,6 +16314,31 @@ export const state = {
16262
16314
  "expiresAt": {
16263
16315
  "type": "string",
16264
16316
  "description": "File expiry timestamp in ISO 8601 format"
16317
+ },
16318
+ "owner": {
16319
+ "type": "object",
16320
+ "properties": {
16321
+ "type": {
16322
+ "type": "string",
16323
+ "enum": [
16324
+ "bot",
16325
+ "integration",
16326
+ "user"
16327
+ ]
16328
+ },
16329
+ "id": {
16330
+ "type": "string",
16331
+ "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
16332
+ },
16333
+ "name": {
16334
+ "type": "string",
16335
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
16336
+ }
16337
+ },
16338
+ "required": [
16339
+ "type"
16340
+ ],
16341
+ "additionalProperties": false
16265
16342
  }
16266
16343
  },
16267
16344
  "required": [
@@ -16277,7 +16354,8 @@ export const state = {
16277
16354
  "updatedAt",
16278
16355
  "accessPolicies",
16279
16356
  "index",
16280
- "status"
16357
+ "status",
16358
+ "owner"
16281
16359
  ],
16282
16360
  "additionalProperties": false
16283
16361
  }
@@ -16432,6 +16510,31 @@ export const state = {
16432
16510
  "expiresAt": {
16433
16511
  "type": "string",
16434
16512
  "description": "File expiry timestamp in ISO 8601 format"
16513
+ },
16514
+ "owner": {
16515
+ "type": "object",
16516
+ "properties": {
16517
+ "type": {
16518
+ "type": "string",
16519
+ "enum": [
16520
+ "bot",
16521
+ "integration",
16522
+ "user"
16523
+ ]
16524
+ },
16525
+ "id": {
16526
+ "type": "string",
16527
+ "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
16528
+ },
16529
+ "name": {
16530
+ "type": "string",
16531
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
16532
+ }
16533
+ },
16534
+ "required": [
16535
+ "type"
16536
+ ],
16537
+ "additionalProperties": false
16435
16538
  }
16436
16539
  },
16437
16540
  "required": [
@@ -16447,7 +16550,8 @@ export const state = {
16447
16550
  "updatedAt",
16448
16551
  "accessPolicies",
16449
16552
  "index",
16450
- "status"
16553
+ "status",
16554
+ "owner"
16451
16555
  ],
16452
16556
  "additionalProperties": false
16453
16557
  }
@@ -16587,6 +16691,31 @@ export const state = {
16587
16691
  "expiresAt": {
16588
16692
  "type": "string",
16589
16693
  "description": "File expiry timestamp in ISO 8601 format"
16694
+ },
16695
+ "owner": {
16696
+ "type": "object",
16697
+ "properties": {
16698
+ "type": {
16699
+ "type": "string",
16700
+ "enum": [
16701
+ "bot",
16702
+ "integration",
16703
+ "user"
16704
+ ]
16705
+ },
16706
+ "id": {
16707
+ "type": "string",
16708
+ "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
16709
+ },
16710
+ "name": {
16711
+ "type": "string",
16712
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
16713
+ }
16714
+ },
16715
+ "required": [
16716
+ "type"
16717
+ ],
16718
+ "additionalProperties": false
16590
16719
  }
16591
16720
  },
16592
16721
  "required": [
@@ -16602,7 +16731,8 @@ export const state = {
16602
16731
  "updatedAt",
16603
16732
  "accessPolicies",
16604
16733
  "index",
16605
- "status"
16734
+ "status",
16735
+ "owner"
16606
16736
  ],
16607
16737
  "additionalProperties": false
16608
16738
  }
@@ -18501,7 +18631,7 @@ export const state = {
18501
18631
  "title": "Botpress API",
18502
18632
  "description": "API for Botpress Cloud",
18503
18633
  "server": "https://api.botpress.cloud",
18504
- "version": "1.18.2",
18634
+ "version": "1.20.0",
18505
18635
  "prefix": "v1"
18506
18636
  },
18507
18637
  "errors": [
@@ -22311,6 +22441,31 @@ export const state = {
22311
22441
  "expiresAt": {
22312
22442
  "type": "string",
22313
22443
  "description": "File expiry timestamp in ISO 8601 format"
22444
+ },
22445
+ "owner": {
22446
+ "type": "object",
22447
+ "properties": {
22448
+ "type": {
22449
+ "type": "string",
22450
+ "enum": [
22451
+ "bot",
22452
+ "integration",
22453
+ "user"
22454
+ ]
22455
+ },
22456
+ "id": {
22457
+ "type": "string",
22458
+ "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
22459
+ },
22460
+ "name": {
22461
+ "type": "string",
22462
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
22463
+ }
22464
+ },
22465
+ "required": [
22466
+ "type"
22467
+ ],
22468
+ "additionalProperties": false
22314
22469
  }
22315
22470
  },
22316
22471
  "required": [
@@ -22326,7 +22481,8 @@ export const state = {
22326
22481
  "updatedAt",
22327
22482
  "accessPolicies",
22328
22483
  "index",
22329
- "status"
22484
+ "status",
22485
+ "owner"
22330
22486
  ],
22331
22487
  "additionalProperties": false
22332
22488
  }