@botpress/api 0.27.4 → 0.27.6

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/src/gen/state.ts CHANGED
@@ -8047,6 +8047,10 @@ export const state = {
8047
8047
  },
8048
8048
  "description": "File tags as an object of key/value pairs"
8049
8049
  },
8050
+ "size": {
8051
+ "type": "number",
8052
+ "description": "File size in bytes. This will count against your file storage quota. If the `index` parameter is set to `true`, this will also count against your vector database storage quota."
8053
+ },
8050
8054
  "index": {
8051
8055
  "default": false,
8052
8056
  "type": "boolean",
@@ -8068,6 +8072,9 @@ export const state = {
8068
8072
  "description": "File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is \"application/octet-stream\"."
8069
8073
  }
8070
8074
  },
8075
+ "required": [
8076
+ "size"
8077
+ ],
8071
8078
  "title": "createFileBody",
8072
8079
  "additionalProperties": false
8073
8080
  }
@@ -8252,6 +8259,11 @@ export const state = {
8252
8259
  "description": "File name",
8253
8260
  "nullable": true
8254
8261
  },
8262
+ "url": {
8263
+ "type": "string",
8264
+ "description": "If the file is not uploaded yet, this will be set to a `null` value.\n\nIf the file has a `public_content` policy, this will contain the permanent public URL to retrieve the file, otherwise this will contain a temporary pre-signed URL to download the file which should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe.",
8265
+ "nullable": true
8266
+ },
8255
8267
  "size": {
8256
8268
  "type": "number",
8257
8269
  "description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
@@ -8309,6 +8321,7 @@ export const state = {
8309
8321
  "id",
8310
8322
  "botId",
8311
8323
  "name",
8324
+ "url",
8312
8325
  "size",
8313
8326
  "contentType",
8314
8327
  "tags",
@@ -8374,6 +8387,11 @@ export const state = {
8374
8387
  "description": "File name",
8375
8388
  "nullable": true
8376
8389
  },
8390
+ "url": {
8391
+ "type": "string",
8392
+ "description": "If the file is not uploaded yet, this will be set to a `null` value.\n\nIf the file has a `public_content` policy, this will contain the permanent public URL to retrieve the file, otherwise this will contain a temporary pre-signed URL to download the file which should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe.",
8393
+ "nullable": true
8394
+ },
8377
8395
  "size": {
8378
8396
  "type": "number",
8379
8397
  "description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
@@ -8431,6 +8449,7 @@ export const state = {
8431
8449
  "id",
8432
8450
  "botId",
8433
8451
  "name",
8452
+ "url",
8434
8453
  "size",
8435
8454
  "contentType",
8436
8455
  "tags",
@@ -8441,16 +8460,10 @@ export const state = {
8441
8460
  "status"
8442
8461
  ],
8443
8462
  "additionalProperties": false
8444
- },
8445
- "url": {
8446
- "type": "string",
8447
- "description": "If the file is not uploaded yet, this will be set to a `null` value.\n\nIf the file has a `public_content` policy, this will contain the permanent public URL to retrieve the file, otherwise this will contain a temporary pre-signed URL to download the file which should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe.",
8448
- "nullable": true
8449
8463
  }
8450
8464
  },
8451
8465
  "required": [
8452
- "file",
8453
- "url"
8466
+ "file"
8454
8467
  ],
8455
8468
  "title": "getFileResponse",
8456
8469
  "additionalProperties": false
@@ -8513,6 +8526,11 @@ export const state = {
8513
8526
  "description": "File name",
8514
8527
  "nullable": true
8515
8528
  },
8529
+ "url": {
8530
+ "type": "string",
8531
+ "description": "If the file is not uploaded yet, this will be set to a `null` value.\n\nIf the file has a `public_content` policy, this will contain the permanent public URL to retrieve the file, otherwise this will contain a temporary pre-signed URL to download the file which should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe.",
8532
+ "nullable": true
8533
+ },
8516
8534
  "size": {
8517
8535
  "type": "number",
8518
8536
  "description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
@@ -8570,6 +8588,7 @@ export const state = {
8570
8588
  "id",
8571
8589
  "botId",
8572
8590
  "name",
8591
+ "url",
8573
8592
  "size",
8574
8593
  "contentType",
8575
8594
  "tags",
@@ -9562,7 +9581,7 @@ export const state = {
9562
9581
  "title": "Botpress API",
9563
9582
  "description": "API for Botpress Cloud",
9564
9583
  "server": "https://api.botpress.cloud",
9565
- "version": "0.27.4",
9584
+ "version": "0.27.6",
9566
9585
  "prefix": "v1"
9567
9586
  },
9568
9587
  "errors": [
@@ -11891,6 +11910,11 @@ export const state = {
11891
11910
  "description": "File name",
11892
11911
  "nullable": true
11893
11912
  },
11913
+ "url": {
11914
+ "type": "string",
11915
+ "description": "If the file is not uploaded yet, this will be set to a `null` value.\n\nIf the file has a `public_content` policy, this will contain the permanent public URL to retrieve the file, otherwise this will contain a temporary pre-signed URL to download the file which should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe.",
11916
+ "nullable": true
11917
+ },
11894
11918
  "size": {
11895
11919
  "type": "number",
11896
11920
  "description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
@@ -11948,6 +11972,7 @@ export const state = {
11948
11972
  "id",
11949
11973
  "botId",
11950
11974
  "name",
11975
+ "url",
11951
11976
  "size",
11952
11977
  "contentType",
11953
11978
  "tags",