@botpress/api 0.27.5 → 0.27.7
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 +63 -17
- package/dist/src/gen/state.d.ts +33 -6
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +63 -17
package/src/gen/state.ts
CHANGED
|
@@ -8130,7 +8130,11 @@ export const state = {
|
|
|
8130
8130
|
"accessPolicies": {
|
|
8131
8131
|
"type": "array",
|
|
8132
8132
|
"items": {
|
|
8133
|
-
"type": "string"
|
|
8133
|
+
"type": "string",
|
|
8134
|
+
"enum": [
|
|
8135
|
+
"integrations",
|
|
8136
|
+
"public_content"
|
|
8137
|
+
]
|
|
8134
8138
|
},
|
|
8135
8139
|
"description": "Access policies configured for the file."
|
|
8136
8140
|
},
|
|
@@ -8259,6 +8263,11 @@ export const state = {
|
|
|
8259
8263
|
"description": "File name",
|
|
8260
8264
|
"nullable": true
|
|
8261
8265
|
},
|
|
8266
|
+
"url": {
|
|
8267
|
+
"type": "string",
|
|
8268
|
+
"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.",
|
|
8269
|
+
"nullable": true
|
|
8270
|
+
},
|
|
8262
8271
|
"size": {
|
|
8263
8272
|
"type": "number",
|
|
8264
8273
|
"description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
|
|
@@ -8287,7 +8296,11 @@ export const state = {
|
|
|
8287
8296
|
"accessPolicies": {
|
|
8288
8297
|
"type": "array",
|
|
8289
8298
|
"items": {
|
|
8290
|
-
"type": "string"
|
|
8299
|
+
"type": "string",
|
|
8300
|
+
"enum": [
|
|
8301
|
+
"integrations",
|
|
8302
|
+
"public_content"
|
|
8303
|
+
]
|
|
8291
8304
|
},
|
|
8292
8305
|
"description": "Access policies configured for the file."
|
|
8293
8306
|
},
|
|
@@ -8316,6 +8329,7 @@ export const state = {
|
|
|
8316
8329
|
"id",
|
|
8317
8330
|
"botId",
|
|
8318
8331
|
"name",
|
|
8332
|
+
"url",
|
|
8319
8333
|
"size",
|
|
8320
8334
|
"contentType",
|
|
8321
8335
|
"tags",
|
|
@@ -8381,6 +8395,11 @@ export const state = {
|
|
|
8381
8395
|
"description": "File name",
|
|
8382
8396
|
"nullable": true
|
|
8383
8397
|
},
|
|
8398
|
+
"url": {
|
|
8399
|
+
"type": "string",
|
|
8400
|
+
"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.",
|
|
8401
|
+
"nullable": true
|
|
8402
|
+
},
|
|
8384
8403
|
"size": {
|
|
8385
8404
|
"type": "number",
|
|
8386
8405
|
"description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
|
|
@@ -8409,7 +8428,11 @@ export const state = {
|
|
|
8409
8428
|
"accessPolicies": {
|
|
8410
8429
|
"type": "array",
|
|
8411
8430
|
"items": {
|
|
8412
|
-
"type": "string"
|
|
8431
|
+
"type": "string",
|
|
8432
|
+
"enum": [
|
|
8433
|
+
"integrations",
|
|
8434
|
+
"public_content"
|
|
8435
|
+
]
|
|
8413
8436
|
},
|
|
8414
8437
|
"description": "Access policies configured for the file."
|
|
8415
8438
|
},
|
|
@@ -8438,6 +8461,7 @@ export const state = {
|
|
|
8438
8461
|
"id",
|
|
8439
8462
|
"botId",
|
|
8440
8463
|
"name",
|
|
8464
|
+
"url",
|
|
8441
8465
|
"size",
|
|
8442
8466
|
"contentType",
|
|
8443
8467
|
"tags",
|
|
@@ -8448,16 +8472,10 @@ export const state = {
|
|
|
8448
8472
|
"status"
|
|
8449
8473
|
],
|
|
8450
8474
|
"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
8475
|
}
|
|
8457
8476
|
},
|
|
8458
8477
|
"required": [
|
|
8459
|
-
"file"
|
|
8460
|
-
"url"
|
|
8478
|
+
"file"
|
|
8461
8479
|
],
|
|
8462
8480
|
"title": "getFileResponse",
|
|
8463
8481
|
"additionalProperties": false
|
|
@@ -8489,12 +8507,20 @@ export const state = {
|
|
|
8489
8507
|
"maxLength": 1000,
|
|
8490
8508
|
"nullable": true
|
|
8491
8509
|
},
|
|
8492
|
-
"description": "The file tags to update as an object of key/value pairs with string (text) values. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`."
|
|
8510
|
+
"description": "The file tags to update as an object of key/value pairs with string (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`."
|
|
8511
|
+
},
|
|
8512
|
+
"accessPolicies": {
|
|
8513
|
+
"type": "array",
|
|
8514
|
+
"items": {
|
|
8515
|
+
"type": "string",
|
|
8516
|
+
"enum": [
|
|
8517
|
+
"integrations",
|
|
8518
|
+
"public_content"
|
|
8519
|
+
]
|
|
8520
|
+
},
|
|
8521
|
+
"description": "New access policies to set for the file. Omit to keep existing policies intact."
|
|
8493
8522
|
}
|
|
8494
8523
|
},
|
|
8495
|
-
"required": [
|
|
8496
|
-
"tags"
|
|
8497
|
-
],
|
|
8498
8524
|
"title": "updateFileBody",
|
|
8499
8525
|
"additionalProperties": false
|
|
8500
8526
|
}
|
|
@@ -8520,6 +8546,11 @@ export const state = {
|
|
|
8520
8546
|
"description": "File name",
|
|
8521
8547
|
"nullable": true
|
|
8522
8548
|
},
|
|
8549
|
+
"url": {
|
|
8550
|
+
"type": "string",
|
|
8551
|
+
"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.",
|
|
8552
|
+
"nullable": true
|
|
8553
|
+
},
|
|
8523
8554
|
"size": {
|
|
8524
8555
|
"type": "number",
|
|
8525
8556
|
"description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
|
|
@@ -8548,7 +8579,11 @@ export const state = {
|
|
|
8548
8579
|
"accessPolicies": {
|
|
8549
8580
|
"type": "array",
|
|
8550
8581
|
"items": {
|
|
8551
|
-
"type": "string"
|
|
8582
|
+
"type": "string",
|
|
8583
|
+
"enum": [
|
|
8584
|
+
"integrations",
|
|
8585
|
+
"public_content"
|
|
8586
|
+
]
|
|
8552
8587
|
},
|
|
8553
8588
|
"description": "Access policies configured for the file."
|
|
8554
8589
|
},
|
|
@@ -8577,6 +8612,7 @@ export const state = {
|
|
|
8577
8612
|
"id",
|
|
8578
8613
|
"botId",
|
|
8579
8614
|
"name",
|
|
8615
|
+
"url",
|
|
8580
8616
|
"size",
|
|
8581
8617
|
"contentType",
|
|
8582
8618
|
"tags",
|
|
@@ -9569,7 +9605,7 @@ export const state = {
|
|
|
9569
9605
|
"title": "Botpress API",
|
|
9570
9606
|
"description": "API for Botpress Cloud",
|
|
9571
9607
|
"server": "https://api.botpress.cloud",
|
|
9572
|
-
"version": "0.27.
|
|
9608
|
+
"version": "0.27.7",
|
|
9573
9609
|
"prefix": "v1"
|
|
9574
9610
|
},
|
|
9575
9611
|
"errors": [
|
|
@@ -11898,6 +11934,11 @@ export const state = {
|
|
|
11898
11934
|
"description": "File name",
|
|
11899
11935
|
"nullable": true
|
|
11900
11936
|
},
|
|
11937
|
+
"url": {
|
|
11938
|
+
"type": "string",
|
|
11939
|
+
"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.",
|
|
11940
|
+
"nullable": true
|
|
11941
|
+
},
|
|
11901
11942
|
"size": {
|
|
11902
11943
|
"type": "number",
|
|
11903
11944
|
"description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
|
|
@@ -11926,7 +11967,11 @@ export const state = {
|
|
|
11926
11967
|
"accessPolicies": {
|
|
11927
11968
|
"type": "array",
|
|
11928
11969
|
"items": {
|
|
11929
|
-
"type": "string"
|
|
11970
|
+
"type": "string",
|
|
11971
|
+
"enum": [
|
|
11972
|
+
"integrations",
|
|
11973
|
+
"public_content"
|
|
11974
|
+
]
|
|
11930
11975
|
},
|
|
11931
11976
|
"description": "Access policies configured for the file."
|
|
11932
11977
|
},
|
|
@@ -11955,6 +12000,7 @@ export const state = {
|
|
|
11955
12000
|
"id",
|
|
11956
12001
|
"botId",
|
|
11957
12002
|
"name",
|
|
12003
|
+
"url",
|
|
11958
12004
|
"size",
|
|
11959
12005
|
"contentType",
|
|
11960
12006
|
"tags",
|