@botpress/api 0.32.1 → 0.32.2

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
@@ -274241,8 +274241,7 @@ var state = {
274241
274241
  },
274242
274242
  "url": {
274243
274243
  "type": "string",
274244
- "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.",
274245
- "nullable": true
274244
+ "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."
274246
274245
  },
274247
274246
  "size": {
274248
274247
  "type": "number",
@@ -274372,8 +274371,7 @@ var state = {
274372
274371
  },
274373
274372
  "url": {
274374
274373
  "type": "string",
274375
- "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.",
274376
- "nullable": true
274374
+ "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."
274377
274375
  },
274378
274376
  "size": {
274379
274377
  "type": "number",
@@ -274522,8 +274520,7 @@ var state = {
274522
274520
  },
274523
274521
  "url": {
274524
274522
  "type": "string",
274525
- "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.",
274526
- "nullable": true
274523
+ "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."
274527
274524
  },
274528
274525
  "size": {
274529
274526
  "type": "number",
@@ -275609,7 +275606,7 @@ var state = {
275609
275606
  "title": "Botpress API",
275610
275607
  "description": "API for Botpress Cloud",
275611
275608
  "server": "https://api.botpress.cloud",
275612
- "version": "0.32.1",
275609
+ "version": "0.32.2",
275613
275610
  "prefix": "v1"
275614
275611
  },
275615
275612
  "errors": [
@@ -278320,8 +278317,7 @@ var state = {
278320
278317
  },
278321
278318
  "url": {
278322
278319
  "type": "string",
278323
- "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.",
278324
- "nullable": true
278320
+ "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."
278325
278321
  },
278326
278322
  "size": {
278327
278323
  "type": "number",
@@ -8215,7 +8215,6 @@ export declare const state: {
8215
8215
  url: {
8216
8216
  type: "string";
8217
8217
  description: string;
8218
- nullable: true;
8219
8218
  };
8220
8219
  size: {
8221
8220
  type: "number";
@@ -8320,7 +8319,6 @@ export declare const state: {
8320
8319
  url: {
8321
8320
  type: "string";
8322
8321
  description: string;
8323
- nullable: true;
8324
8322
  };
8325
8323
  size: {
8326
8324
  type: "number";
@@ -8442,7 +8440,6 @@ export declare const state: {
8442
8440
  url: {
8443
8441
  type: "string";
8444
8442
  description: string;
8445
- nullable: true;
8446
8443
  };
8447
8444
  size: {
8448
8445
  type: "number";
@@ -11652,7 +11649,6 @@ export declare const state: {
11652
11649
  url: {
11653
11650
  type: "string";
11654
11651
  description: string;
11655
- nullable: true;
11656
11652
  };
11657
11653
  size: {
11658
11654
  type: "number";
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.32.1",
3
+ "version": "0.32.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
7
7
  "openapi": "es-node openapi/generator.ts && pnpm run build",
8
8
  "openapi:lint": "spectral lint --fail-severity warn --ruleset ../../.spectral.yaml src/gen/openapi.json",
9
- "type-check": "tsc --noEmit",
9
+ "check:type": "tsc --noEmit",
10
10
  "build:type": "tsc -p tsconfig.package.json --emitDeclarationOnly",
11
11
  "build:impl": "esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts",
12
12
  "build:types-by-section": "esbuild --bundle --platform=node --outfile=dist/generate-types-by-section.js openapi/generate-types-by-section.ts && node dist/generate-types-by-section.js",