@botpress/api 0.27.5 → 0.27.6
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 +26 -8
- package/dist/src/gen/state.d.ts +20 -5
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +26 -8
package/dist/index.js
CHANGED
|
@@ -280983,6 +280983,11 @@ var state = {
|
|
|
280983
280983
|
"description": "File name",
|
|
280984
280984
|
"nullable": true
|
|
280985
280985
|
},
|
|
280986
|
+
"url": {
|
|
280987
|
+
"type": "string",
|
|
280988
|
+
"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.",
|
|
280989
|
+
"nullable": true
|
|
280990
|
+
},
|
|
280986
280991
|
"size": {
|
|
280987
280992
|
"type": "number",
|
|
280988
280993
|
"description": 'File size in bytes. Non-null if file upload status is "COMPLETE".',
|
|
@@ -281040,6 +281045,7 @@ var state = {
|
|
|
281040
281045
|
"id",
|
|
281041
281046
|
"botId",
|
|
281042
281047
|
"name",
|
|
281048
|
+
"url",
|
|
281043
281049
|
"size",
|
|
281044
281050
|
"contentType",
|
|
281045
281051
|
"tags",
|
|
@@ -281105,6 +281111,11 @@ var state = {
|
|
|
281105
281111
|
"description": "File name",
|
|
281106
281112
|
"nullable": true
|
|
281107
281113
|
},
|
|
281114
|
+
"url": {
|
|
281115
|
+
"type": "string",
|
|
281116
|
+
"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.",
|
|
281117
|
+
"nullable": true
|
|
281118
|
+
},
|
|
281108
281119
|
"size": {
|
|
281109
281120
|
"type": "number",
|
|
281110
281121
|
"description": 'File size in bytes. Non-null if file upload status is "COMPLETE".',
|
|
@@ -281162,6 +281173,7 @@ var state = {
|
|
|
281162
281173
|
"id",
|
|
281163
281174
|
"botId",
|
|
281164
281175
|
"name",
|
|
281176
|
+
"url",
|
|
281165
281177
|
"size",
|
|
281166
281178
|
"contentType",
|
|
281167
281179
|
"tags",
|
|
@@ -281172,16 +281184,10 @@ var state = {
|
|
|
281172
281184
|
"status"
|
|
281173
281185
|
],
|
|
281174
281186
|
"additionalProperties": false
|
|
281175
|
-
},
|
|
281176
|
-
"url": {
|
|
281177
|
-
"type": "string",
|
|
281178
|
-
"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.",
|
|
281179
|
-
"nullable": true
|
|
281180
281187
|
}
|
|
281181
281188
|
},
|
|
281182
281189
|
"required": [
|
|
281183
|
-
"file"
|
|
281184
|
-
"url"
|
|
281190
|
+
"file"
|
|
281185
281191
|
],
|
|
281186
281192
|
"title": "getFileResponse",
|
|
281187
281193
|
"additionalProperties": false
|
|
@@ -281244,6 +281250,11 @@ var state = {
|
|
|
281244
281250
|
"description": "File name",
|
|
281245
281251
|
"nullable": true
|
|
281246
281252
|
},
|
|
281253
|
+
"url": {
|
|
281254
|
+
"type": "string",
|
|
281255
|
+
"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.",
|
|
281256
|
+
"nullable": true
|
|
281257
|
+
},
|
|
281247
281258
|
"size": {
|
|
281248
281259
|
"type": "number",
|
|
281249
281260
|
"description": 'File size in bytes. Non-null if file upload status is "COMPLETE".',
|
|
@@ -281301,6 +281312,7 @@ var state = {
|
|
|
281301
281312
|
"id",
|
|
281302
281313
|
"botId",
|
|
281303
281314
|
"name",
|
|
281315
|
+
"url",
|
|
281304
281316
|
"size",
|
|
281305
281317
|
"contentType",
|
|
281306
281318
|
"tags",
|
|
@@ -282293,7 +282305,7 @@ var state = {
|
|
|
282293
282305
|
"title": "Botpress API",
|
|
282294
282306
|
"description": "API for Botpress Cloud",
|
|
282295
282307
|
"server": "https://api.botpress.cloud",
|
|
282296
|
-
"version": "0.27.
|
|
282308
|
+
"version": "0.27.6",
|
|
282297
282309
|
"prefix": "v1"
|
|
282298
282310
|
},
|
|
282299
282311
|
"errors": [
|
|
@@ -284622,6 +284634,11 @@ var state = {
|
|
|
284622
284634
|
"description": "File name",
|
|
284623
284635
|
"nullable": true
|
|
284624
284636
|
},
|
|
284637
|
+
"url": {
|
|
284638
|
+
"type": "string",
|
|
284639
|
+
"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.",
|
|
284640
|
+
"nullable": true
|
|
284641
|
+
},
|
|
284625
284642
|
"size": {
|
|
284626
284643
|
"type": "number",
|
|
284627
284644
|
"description": 'File size in bytes. Non-null if file upload status is "COMPLETE".',
|
|
@@ -284679,6 +284696,7 @@ var state = {
|
|
|
284679
284696
|
"id",
|
|
284680
284697
|
"botId",
|
|
284681
284698
|
"name",
|
|
284699
|
+
"url",
|
|
284682
284700
|
"size",
|
|
284683
284701
|
"contentType",
|
|
284684
284702
|
"tags",
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -7271,6 +7271,11 @@ export declare const state: {
|
|
|
7271
7271
|
description: string;
|
|
7272
7272
|
nullable: true;
|
|
7273
7273
|
};
|
|
7274
|
+
url: {
|
|
7275
|
+
type: "string";
|
|
7276
|
+
description: string;
|
|
7277
|
+
nullable: true;
|
|
7278
|
+
};
|
|
7274
7279
|
size: {
|
|
7275
7280
|
type: "number";
|
|
7276
7281
|
description: string;
|
|
@@ -7371,6 +7376,11 @@ export declare const state: {
|
|
|
7371
7376
|
description: string;
|
|
7372
7377
|
nullable: true;
|
|
7373
7378
|
};
|
|
7379
|
+
url: {
|
|
7380
|
+
type: "string";
|
|
7381
|
+
description: string;
|
|
7382
|
+
nullable: true;
|
|
7383
|
+
};
|
|
7374
7384
|
size: {
|
|
7375
7385
|
type: "number";
|
|
7376
7386
|
description: string;
|
|
@@ -7420,11 +7430,6 @@ export declare const state: {
|
|
|
7420
7430
|
required: string[];
|
|
7421
7431
|
additionalProperties: false;
|
|
7422
7432
|
};
|
|
7423
|
-
url: {
|
|
7424
|
-
type: "string";
|
|
7425
|
-
description: string;
|
|
7426
|
-
nullable: true;
|
|
7427
|
-
};
|
|
7428
7433
|
};
|
|
7429
7434
|
required: string[];
|
|
7430
7435
|
title: string;
|
|
@@ -7486,6 +7491,11 @@ export declare const state: {
|
|
|
7486
7491
|
description: string;
|
|
7487
7492
|
nullable: true;
|
|
7488
7493
|
};
|
|
7494
|
+
url: {
|
|
7495
|
+
type: "string";
|
|
7496
|
+
description: string;
|
|
7497
|
+
nullable: true;
|
|
7498
|
+
};
|
|
7489
7499
|
size: {
|
|
7490
7500
|
type: "number";
|
|
7491
7501
|
description: string;
|
|
@@ -10348,6 +10358,11 @@ export declare const state: {
|
|
|
10348
10358
|
description: string;
|
|
10349
10359
|
nullable: true;
|
|
10350
10360
|
};
|
|
10361
|
+
url: {
|
|
10362
|
+
type: "string";
|
|
10363
|
+
description: string;
|
|
10364
|
+
nullable: true;
|
|
10365
|
+
};
|
|
10351
10366
|
size: {
|
|
10352
10367
|
type: "number";
|
|
10353
10368
|
description: string;
|