@botpress/api 1.18.2 → 1.19.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.19.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
@@ -15680,7 +15680,7 @@ export const state = {
15680
15680
  "index": {
15681
15681
  "default": false,
15682
15682
  "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."
15683
+ "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
15684
  },
15685
15685
  "indexing": {
15686
15686
  "type": "object",
@@ -15921,6 +15921,31 @@ export const state = {
15921
15921
  "type": "string",
15922
15922
  "description": "File expiry timestamp in ISO 8601 format"
15923
15923
  },
15924
+ "owner": {
15925
+ "type": "object",
15926
+ "properties": {
15927
+ "type": {
15928
+ "type": "string",
15929
+ "enum": [
15930
+ "bot",
15931
+ "integration",
15932
+ "user"
15933
+ ]
15934
+ },
15935
+ "id": {
15936
+ "type": "string",
15937
+ "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."
15938
+ },
15939
+ "name": {
15940
+ "type": "string",
15941
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
15942
+ }
15943
+ },
15944
+ "required": [
15945
+ "type"
15946
+ ],
15947
+ "additionalProperties": false
15948
+ },
15924
15949
  "uploadUrl": {
15925
15950
  "type": "string",
15926
15951
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -15940,6 +15965,7 @@ export const state = {
15940
15965
  "accessPolicies",
15941
15966
  "index",
15942
15967
  "status",
15968
+ "owner",
15943
15969
  "uploadUrl"
15944
15970
  ],
15945
15971
  "additionalProperties": false
@@ -16120,6 +16146,30 @@ export const state = {
16120
16146
  "expiresAt": {
16121
16147
  "type": "string",
16122
16148
  "description": "File expiry timestamp in ISO 8601 format"
16149
+ },
16150
+ "owner": {
16151
+ "type": "object",
16152
+ "properties": {
16153
+ "type": {
16154
+ "type": "string",
16155
+ "enum": [
16156
+ "bot",
16157
+ "integration",
16158
+ "user"
16159
+ ]
16160
+ },
16161
+ "id": {
16162
+ "type": "string",
16163
+ "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."
16164
+ },
16165
+ "name": {
16166
+ "type": "string",
16167
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
16168
+ }
16169
+ },
16170
+ "required": [
16171
+ "type"
16172
+ ]
16123
16173
  }
16124
16174
  },
16125
16175
  "required": [
@@ -16135,7 +16185,8 @@ export const state = {
16135
16185
  "updatedAt",
16136
16186
  "accessPolicies",
16137
16187
  "index",
16138
- "status"
16188
+ "status",
16189
+ "owner"
16139
16190
  ]
16140
16191
  }
16141
16192
  },
@@ -16262,6 +16313,31 @@ export const state = {
16262
16313
  "expiresAt": {
16263
16314
  "type": "string",
16264
16315
  "description": "File expiry timestamp in ISO 8601 format"
16316
+ },
16317
+ "owner": {
16318
+ "type": "object",
16319
+ "properties": {
16320
+ "type": {
16321
+ "type": "string",
16322
+ "enum": [
16323
+ "bot",
16324
+ "integration",
16325
+ "user"
16326
+ ]
16327
+ },
16328
+ "id": {
16329
+ "type": "string",
16330
+ "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."
16331
+ },
16332
+ "name": {
16333
+ "type": "string",
16334
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
16335
+ }
16336
+ },
16337
+ "required": [
16338
+ "type"
16339
+ ],
16340
+ "additionalProperties": false
16265
16341
  }
16266
16342
  },
16267
16343
  "required": [
@@ -16277,7 +16353,8 @@ export const state = {
16277
16353
  "updatedAt",
16278
16354
  "accessPolicies",
16279
16355
  "index",
16280
- "status"
16356
+ "status",
16357
+ "owner"
16281
16358
  ],
16282
16359
  "additionalProperties": false
16283
16360
  }
@@ -16432,6 +16509,31 @@ export const state = {
16432
16509
  "expiresAt": {
16433
16510
  "type": "string",
16434
16511
  "description": "File expiry timestamp in ISO 8601 format"
16512
+ },
16513
+ "owner": {
16514
+ "type": "object",
16515
+ "properties": {
16516
+ "type": {
16517
+ "type": "string",
16518
+ "enum": [
16519
+ "bot",
16520
+ "integration",
16521
+ "user"
16522
+ ]
16523
+ },
16524
+ "id": {
16525
+ "type": "string",
16526
+ "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."
16527
+ },
16528
+ "name": {
16529
+ "type": "string",
16530
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
16531
+ }
16532
+ },
16533
+ "required": [
16534
+ "type"
16535
+ ],
16536
+ "additionalProperties": false
16435
16537
  }
16436
16538
  },
16437
16539
  "required": [
@@ -16447,7 +16549,8 @@ export const state = {
16447
16549
  "updatedAt",
16448
16550
  "accessPolicies",
16449
16551
  "index",
16450
- "status"
16552
+ "status",
16553
+ "owner"
16451
16554
  ],
16452
16555
  "additionalProperties": false
16453
16556
  }
@@ -16587,6 +16690,31 @@ export const state = {
16587
16690
  "expiresAt": {
16588
16691
  "type": "string",
16589
16692
  "description": "File expiry timestamp in ISO 8601 format"
16693
+ },
16694
+ "owner": {
16695
+ "type": "object",
16696
+ "properties": {
16697
+ "type": {
16698
+ "type": "string",
16699
+ "enum": [
16700
+ "bot",
16701
+ "integration",
16702
+ "user"
16703
+ ]
16704
+ },
16705
+ "id": {
16706
+ "type": "string",
16707
+ "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."
16708
+ },
16709
+ "name": {
16710
+ "type": "string",
16711
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
16712
+ }
16713
+ },
16714
+ "required": [
16715
+ "type"
16716
+ ],
16717
+ "additionalProperties": false
16590
16718
  }
16591
16719
  },
16592
16720
  "required": [
@@ -16602,7 +16730,8 @@ export const state = {
16602
16730
  "updatedAt",
16603
16731
  "accessPolicies",
16604
16732
  "index",
16605
- "status"
16733
+ "status",
16734
+ "owner"
16606
16735
  ],
16607
16736
  "additionalProperties": false
16608
16737
  }
@@ -18501,7 +18630,7 @@ export const state = {
18501
18630
  "title": "Botpress API",
18502
18631
  "description": "API for Botpress Cloud",
18503
18632
  "server": "https://api.botpress.cloud",
18504
- "version": "1.18.2",
18633
+ "version": "1.19.0",
18505
18634
  "prefix": "v1"
18506
18635
  },
18507
18636
  "errors": [
@@ -22311,6 +22440,31 @@ export const state = {
22311
22440
  "expiresAt": {
22312
22441
  "type": "string",
22313
22442
  "description": "File expiry timestamp in ISO 8601 format"
22443
+ },
22444
+ "owner": {
22445
+ "type": "object",
22446
+ "properties": {
22447
+ "type": {
22448
+ "type": "string",
22449
+ "enum": [
22450
+ "bot",
22451
+ "integration",
22452
+ "user"
22453
+ ]
22454
+ },
22455
+ "id": {
22456
+ "type": "string",
22457
+ "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."
22458
+ },
22459
+ "name": {
22460
+ "type": "string",
22461
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
22462
+ }
22463
+ },
22464
+ "required": [
22465
+ "type"
22466
+ ],
22467
+ "additionalProperties": false
22314
22468
  }
22315
22469
  },
22316
22470
  "required": [
@@ -22326,7 +22480,8 @@ export const state = {
22326
22480
  "updatedAt",
22327
22481
  "accessPolicies",
22328
22482
  "index",
22329
- "status"
22483
+ "status",
22484
+ "owner"
22330
22485
  ],
22331
22486
  "additionalProperties": false
22332
22487
  }