@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/dist/index.js CHANGED
@@ -292014,6 +292014,11 @@ var state = {
292014
292014
  "contentType": {
292015
292015
  "type": "string",
292016
292016
  "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".'
292017
+ },
292018
+ "expiresAt": {
292019
+ "type": "string",
292020
+ "format": "date-time",
292021
+ "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."
292017
292022
  }
292018
292023
  },
292019
292024
  "required": [
@@ -292106,6 +292111,10 @@ var state = {
292106
292111
  "type": "string",
292107
292112
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
292108
292113
  },
292114
+ "expiresAt": {
292115
+ "type": "string",
292116
+ "description": "File expiry timestamp in ISO 8601 format"
292117
+ },
292109
292118
  "uploadUrl": {
292110
292119
  "type": "string",
292111
292120
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -292265,6 +292274,10 @@ var state = {
292265
292274
  "failedStatusReason": {
292266
292275
  "type": "string",
292267
292276
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
292277
+ },
292278
+ "expiresAt": {
292279
+ "type": "string",
292280
+ "description": "File expiry timestamp in ISO 8601 format"
292268
292281
  }
292269
292282
  },
292270
292283
  "required": [
@@ -292395,6 +292408,10 @@ var state = {
292395
292408
  "failedStatusReason": {
292396
292409
  "type": "string",
292397
292410
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
292411
+ },
292412
+ "expiresAt": {
292413
+ "type": "string",
292414
+ "description": "File expiry timestamp in ISO 8601 format"
292398
292415
  }
292399
292416
  },
292400
292417
  "required": [
@@ -292459,6 +292476,12 @@ var state = {
292459
292476
  ]
292460
292477
  },
292461
292478
  "description": "New access policies to set for the file. Omit to keep existing policies intact."
292479
+ },
292480
+ "expiresAt": {
292481
+ "type": "string",
292482
+ "format": "date-time",
292483
+ "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.",
292484
+ "nullable": true
292462
292485
  }
292463
292486
  },
292464
292487
  "title": "updateFileMetadataBody",
@@ -292544,6 +292567,10 @@ var state = {
292544
292567
  "failedStatusReason": {
292545
292568
  "type": "string",
292546
292569
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
292570
+ },
292571
+ "expiresAt": {
292572
+ "type": "string",
292573
+ "description": "File expiry timestamp in ISO 8601 format"
292547
292574
  }
292548
292575
  },
292549
292576
  "required": [
@@ -293721,7 +293748,7 @@ var state = {
293721
293748
  "title": "Botpress API",
293722
293749
  "description": "API for Botpress Cloud",
293723
293750
  "server": "https://api.botpress.cloud",
293724
- "version": "0.38.0",
293751
+ "version": "0.38.1",
293725
293752
  "prefix": "v1"
293726
293753
  },
293727
293754
  "errors": [
@@ -296523,6 +296550,10 @@ var state = {
296523
296550
  "failedStatusReason": {
296524
296551
  "type": "string",
296525
296552
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
296553
+ },
296554
+ "expiresAt": {
296555
+ "type": "string",
296556
+ "description": "File expiry timestamp in ISO 8601 format"
296526
296557
  }
296527
296558
  },
296528
296559
  "required": [
@@ -8287,6 +8287,11 @@ export declare const state: {
8287
8287
  type: "string";
8288
8288
  description: string;
8289
8289
  };
8290
+ expiresAt: {
8291
+ type: "string";
8292
+ format: string;
8293
+ description: string;
8294
+ };
8290
8295
  };
8291
8296
  required: string[];
8292
8297
  title: string;
@@ -8365,6 +8370,10 @@ export declare const state: {
8365
8370
  type: "string";
8366
8371
  description: string;
8367
8372
  };
8373
+ expiresAt: {
8374
+ type: "string";
8375
+ description: string;
8376
+ };
8368
8377
  uploadUrl: {
8369
8378
  type: "string";
8370
8379
  description: string;
@@ -8499,6 +8508,10 @@ export declare const state: {
8499
8508
  type: "string";
8500
8509
  description: string;
8501
8510
  };
8511
+ expiresAt: {
8512
+ type: "string";
8513
+ description: string;
8514
+ };
8502
8515
  };
8503
8516
  required: string[];
8504
8517
  };
@@ -8603,6 +8616,10 @@ export declare const state: {
8603
8616
  type: "string";
8604
8617
  description: string;
8605
8618
  };
8619
+ expiresAt: {
8620
+ type: "string";
8621
+ description: string;
8622
+ };
8606
8623
  };
8607
8624
  required: string[];
8608
8625
  additionalProperties: false;
@@ -8649,6 +8666,12 @@ export declare const state: {
8649
8666
  };
8650
8667
  description: string;
8651
8668
  };
8669
+ expiresAt: {
8670
+ type: "string";
8671
+ format: string;
8672
+ description: string;
8673
+ nullable: true;
8674
+ };
8652
8675
  };
8653
8676
  title: string;
8654
8677
  additionalProperties: false;
@@ -8724,6 +8747,10 @@ export declare const state: {
8724
8747
  type: "string";
8725
8748
  description: string;
8726
8749
  };
8750
+ expiresAt: {
8751
+ type: "string";
8752
+ description: string;
8753
+ };
8727
8754
  };
8728
8755
  required: string[];
8729
8756
  additionalProperties: false;
@@ -12090,6 +12117,10 @@ export declare const state: {
12090
12117
  type: "string";
12091
12118
  description: string;
12092
12119
  };
12120
+ expiresAt: {
12121
+ type: "string";
12122
+ description: string;
12123
+ };
12093
12124
  };
12094
12125
  required: string[];
12095
12126
  additionalProperties: false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {