@botpress/api 0.38.0 → 0.38.1

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
@@ -9434,6 +9434,11 @@ export const state = {
9434
9434
  "contentType": {
9435
9435
  "type": "string",
9436
9436
  "description": "File content type. If omitted, the content type will be inferred from the file extension (if any) specified in `key`. If a content type cannot be inferred, the default is \"application/octet-stream\"."
9437
+ },
9438
+ "expiresAt": {
9439
+ "type": "string",
9440
+ "format": "date-time",
9441
+ "description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored."
9437
9442
  }
9438
9443
  },
9439
9444
  "required": [
@@ -9526,6 +9531,10 @@ export const state = {
9526
9531
  "type": "string",
9527
9532
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
9528
9533
  },
9534
+ "expiresAt": {
9535
+ "type": "string",
9536
+ "description": "File expiry timestamp in ISO 8601 format"
9537
+ },
9529
9538
  "uploadUrl": {
9530
9539
  "type": "string",
9531
9540
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -9685,6 +9694,10 @@ export const state = {
9685
9694
  "failedStatusReason": {
9686
9695
  "type": "string",
9687
9696
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
9697
+ },
9698
+ "expiresAt": {
9699
+ "type": "string",
9700
+ "description": "File expiry timestamp in ISO 8601 format"
9688
9701
  }
9689
9702
  },
9690
9703
  "required": [
@@ -9815,6 +9828,10 @@ export const state = {
9815
9828
  "failedStatusReason": {
9816
9829
  "type": "string",
9817
9830
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
9831
+ },
9832
+ "expiresAt": {
9833
+ "type": "string",
9834
+ "description": "File expiry timestamp in ISO 8601 format"
9818
9835
  }
9819
9836
  },
9820
9837
  "required": [
@@ -9879,6 +9896,12 @@ export const state = {
9879
9896
  ]
9880
9897
  },
9881
9898
  "description": "New access policies to set for the file. Omit to keep existing policies intact."
9899
+ },
9900
+ "expiresAt": {
9901
+ "type": "string",
9902
+ "format": "date-time",
9903
+ "description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored. Omit to keep the existing expiry intact. Set to `null` to remove the expiry.",
9904
+ "nullable": true
9882
9905
  }
9883
9906
  },
9884
9907
  "title": "updateFileMetadataBody",
@@ -9964,6 +9987,10 @@ export const state = {
9964
9987
  "failedStatusReason": {
9965
9988
  "type": "string",
9966
9989
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
9990
+ },
9991
+ "expiresAt": {
9992
+ "type": "string",
9993
+ "description": "File expiry timestamp in ISO 8601 format"
9967
9994
  }
9968
9995
  },
9969
9996
  "required": [
@@ -11141,7 +11168,7 @@ export const state = {
11141
11168
  "title": "Botpress API",
11142
11169
  "description": "API for Botpress Cloud",
11143
11170
  "server": "https://api.botpress.cloud",
11144
- "version": "0.38.0",
11171
+ "version": "0.38.1",
11145
11172
  "prefix": "v1"
11146
11173
  },
11147
11174
  "errors": [
@@ -13943,6 +13970,10 @@ export const state = {
13943
13970
  "failedStatusReason": {
13944
13971
  "type": "string",
13945
13972
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
13973
+ },
13974
+ "expiresAt": {
13975
+ "type": "string",
13976
+ "description": "File expiry timestamp in ISO 8601 format"
13946
13977
  }
13947
13978
  },
13948
13979
  "required": [