@botpress/api 0.27.4 → 0.27.5

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
@@ -280771,6 +280771,10 @@ var state = {
280771
280771
  },
280772
280772
  "description": "File tags as an object of key/value pairs"
280773
280773
  },
280774
+ "size": {
280775
+ "type": "number",
280776
+ "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."
280777
+ },
280774
280778
  "index": {
280775
280779
  "default": false,
280776
280780
  "type": "boolean",
@@ -280792,6 +280796,9 @@ var state = {
280792
280796
  "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".'
280793
280797
  }
280794
280798
  },
280799
+ "required": [
280800
+ "size"
280801
+ ],
280795
280802
  "title": "createFileBody",
280796
280803
  "additionalProperties": false
280797
280804
  }
@@ -282286,7 +282293,7 @@ var state = {
282286
282293
  "title": "Botpress API",
282287
282294
  "description": "API for Botpress Cloud",
282288
282295
  "server": "https://api.botpress.cloud",
282289
- "version": "0.27.4",
282296
+ "version": "0.27.5",
282290
282297
  "prefix": "v1"
282291
282298
  },
282292
282299
  "errors": [
@@ -7086,6 +7086,10 @@ export declare const state: {
7086
7086
  };
7087
7087
  description: string;
7088
7088
  };
7089
+ size: {
7090
+ type: "number";
7091
+ description: string;
7092
+ };
7089
7093
  index: {
7090
7094
  default: boolean;
7091
7095
  type: "boolean";
@@ -7104,6 +7108,7 @@ export declare const state: {
7104
7108
  description: string;
7105
7109
  };
7106
7110
  };
7111
+ required: string[];
7107
7112
  title: string;
7108
7113
  additionalProperties: false;
7109
7114
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.27.4",
3
+ "version": "0.27.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {