@botpress/api 0.32.2 → 0.32.3

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
@@ -274084,6 +274084,10 @@ var state = {
274084
274084
  "type": "string",
274085
274085
  "description": "Unique key for the file. Must be unique across the bot (and the integration, when applicable)."
274086
274086
  },
274087
+ "url": {
274088
+ "type": "string",
274089
+ "description": "URL to retrieve the file content. This URL will be ready to use once the file is uploaded.\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."
274090
+ },
274087
274091
  "size": {
274088
274092
  "type": "number",
274089
274093
  "description": 'File size in bytes. Non-null if file upload status is "COMPLETE".',
@@ -274149,6 +274153,7 @@ var state = {
274149
274153
  "id",
274150
274154
  "botId",
274151
274155
  "key",
274156
+ "url",
274152
274157
  "size",
274153
274158
  "contentType",
274154
274159
  "tags",
@@ -275606,7 +275611,7 @@ var state = {
275606
275611
  "title": "Botpress API",
275607
275612
  "description": "API for Botpress Cloud",
275608
275613
  "server": "https://api.botpress.cloud",
275609
- "version": "0.32.2",
275614
+ "version": "0.32.3",
275610
275615
  "prefix": "v1"
275611
275616
  },
275612
275617
  "errors": [
@@ -8082,6 +8082,10 @@ export declare const state: {
8082
8082
  type: "string";
8083
8083
  description: string;
8084
8084
  };
8085
+ url: {
8086
+ type: "string";
8087
+ description: string;
8088
+ };
8085
8089
  size: {
8086
8090
  type: "number";
8087
8091
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.32.2",
3
+ "version": "0.32.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {