@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/src/gen/state.ts
CHANGED
|
@@ -8259,6 +8259,11 @@ export const state = {
|
|
|
8259
8259
|
"description": "File name",
|
|
8260
8260
|
"nullable": true
|
|
8261
8261
|
},
|
|
8262
|
+
"url": {
|
|
8263
|
+
"type": "string",
|
|
8264
|
+
"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.",
|
|
8265
|
+
"nullable": true
|
|
8266
|
+
},
|
|
8262
8267
|
"size": {
|
|
8263
8268
|
"type": "number",
|
|
8264
8269
|
"description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
|
|
@@ -8316,6 +8321,7 @@ export const state = {
|
|
|
8316
8321
|
"id",
|
|
8317
8322
|
"botId",
|
|
8318
8323
|
"name",
|
|
8324
|
+
"url",
|
|
8319
8325
|
"size",
|
|
8320
8326
|
"contentType",
|
|
8321
8327
|
"tags",
|
|
@@ -8381,6 +8387,11 @@ export const state = {
|
|
|
8381
8387
|
"description": "File name",
|
|
8382
8388
|
"nullable": true
|
|
8383
8389
|
},
|
|
8390
|
+
"url": {
|
|
8391
|
+
"type": "string",
|
|
8392
|
+
"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.",
|
|
8393
|
+
"nullable": true
|
|
8394
|
+
},
|
|
8384
8395
|
"size": {
|
|
8385
8396
|
"type": "number",
|
|
8386
8397
|
"description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
|
|
@@ -8438,6 +8449,7 @@ export const state = {
|
|
|
8438
8449
|
"id",
|
|
8439
8450
|
"botId",
|
|
8440
8451
|
"name",
|
|
8452
|
+
"url",
|
|
8441
8453
|
"size",
|
|
8442
8454
|
"contentType",
|
|
8443
8455
|
"tags",
|
|
@@ -8448,16 +8460,10 @@ export const state = {
|
|
|
8448
8460
|
"status"
|
|
8449
8461
|
],
|
|
8450
8462
|
"additionalProperties": false
|
|
8451
|
-
},
|
|
8452
|
-
"url": {
|
|
8453
|
-
"type": "string",
|
|
8454
|
-
"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.",
|
|
8455
|
-
"nullable": true
|
|
8456
8463
|
}
|
|
8457
8464
|
},
|
|
8458
8465
|
"required": [
|
|
8459
|
-
"file"
|
|
8460
|
-
"url"
|
|
8466
|
+
"file"
|
|
8461
8467
|
],
|
|
8462
8468
|
"title": "getFileResponse",
|
|
8463
8469
|
"additionalProperties": false
|
|
@@ -8520,6 +8526,11 @@ export const state = {
|
|
|
8520
8526
|
"description": "File name",
|
|
8521
8527
|
"nullable": true
|
|
8522
8528
|
},
|
|
8529
|
+
"url": {
|
|
8530
|
+
"type": "string",
|
|
8531
|
+
"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.",
|
|
8532
|
+
"nullable": true
|
|
8533
|
+
},
|
|
8523
8534
|
"size": {
|
|
8524
8535
|
"type": "number",
|
|
8525
8536
|
"description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
|
|
@@ -8577,6 +8588,7 @@ export const state = {
|
|
|
8577
8588
|
"id",
|
|
8578
8589
|
"botId",
|
|
8579
8590
|
"name",
|
|
8591
|
+
"url",
|
|
8580
8592
|
"size",
|
|
8581
8593
|
"contentType",
|
|
8582
8594
|
"tags",
|
|
@@ -9569,7 +9581,7 @@ export const state = {
|
|
|
9569
9581
|
"title": "Botpress API",
|
|
9570
9582
|
"description": "API for Botpress Cloud",
|
|
9571
9583
|
"server": "https://api.botpress.cloud",
|
|
9572
|
-
"version": "0.27.
|
|
9584
|
+
"version": "0.27.6",
|
|
9573
9585
|
"prefix": "v1"
|
|
9574
9586
|
},
|
|
9575
9587
|
"errors": [
|
|
@@ -11898,6 +11910,11 @@ export const state = {
|
|
|
11898
11910
|
"description": "File name",
|
|
11899
11911
|
"nullable": true
|
|
11900
11912
|
},
|
|
11913
|
+
"url": {
|
|
11914
|
+
"type": "string",
|
|
11915
|
+
"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.",
|
|
11916
|
+
"nullable": true
|
|
11917
|
+
},
|
|
11901
11918
|
"size": {
|
|
11902
11919
|
"type": "number",
|
|
11903
11920
|
"description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
|
|
@@ -11955,6 +11972,7 @@ export const state = {
|
|
|
11955
11972
|
"id",
|
|
11956
11973
|
"botId",
|
|
11957
11974
|
"name",
|
|
11975
|
+
"url",
|
|
11958
11976
|
"size",
|
|
11959
11977
|
"contentType",
|
|
11960
11978
|
"tags",
|