@botpress/api 0.37.2 → 0.38.1
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 +100 -3
- package/dist/src/gen/state.d.ts +61 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +100 -3
package/src/gen/state.ts
CHANGED
|
@@ -2475,6 +2475,16 @@ export const state = {
|
|
|
2475
2475
|
"type": "boolean",
|
|
2476
2476
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
2477
2477
|
},
|
|
2478
|
+
"verificationStatus": {
|
|
2479
|
+
"type": "string",
|
|
2480
|
+
"enum": [
|
|
2481
|
+
"unapproved",
|
|
2482
|
+
"pending",
|
|
2483
|
+
"approved",
|
|
2484
|
+
"rejected"
|
|
2485
|
+
],
|
|
2486
|
+
"description": "Status of the integration version verification"
|
|
2487
|
+
},
|
|
2478
2488
|
"ownerWorkspace": {
|
|
2479
2489
|
"type": "object",
|
|
2480
2490
|
"properties": {
|
|
@@ -2506,6 +2516,7 @@ export const state = {
|
|
|
2506
2516
|
"description",
|
|
2507
2517
|
"iconUrl",
|
|
2508
2518
|
"public",
|
|
2519
|
+
"verificationStatus",
|
|
2509
2520
|
"ownerWorkspace"
|
|
2510
2521
|
]
|
|
2511
2522
|
}
|
|
@@ -3039,6 +3050,16 @@ export const state = {
|
|
|
3039
3050
|
"type": "boolean",
|
|
3040
3051
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
3041
3052
|
},
|
|
3053
|
+
"verificationStatus": {
|
|
3054
|
+
"type": "string",
|
|
3055
|
+
"enum": [
|
|
3056
|
+
"unapproved",
|
|
3057
|
+
"pending",
|
|
3058
|
+
"approved",
|
|
3059
|
+
"rejected"
|
|
3060
|
+
],
|
|
3061
|
+
"description": "Status of the integration version verification"
|
|
3062
|
+
},
|
|
3042
3063
|
"secrets": {
|
|
3043
3064
|
"type": "array",
|
|
3044
3065
|
"items": {
|
|
@@ -3090,6 +3111,7 @@ export const state = {
|
|
|
3090
3111
|
"iconUrl",
|
|
3091
3112
|
"readmeUrl",
|
|
3092
3113
|
"public",
|
|
3114
|
+
"verificationStatus",
|
|
3093
3115
|
"secrets",
|
|
3094
3116
|
"ownerWorkspace"
|
|
3095
3117
|
],
|
|
@@ -3618,6 +3640,16 @@ export const state = {
|
|
|
3618
3640
|
"type": "boolean",
|
|
3619
3641
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
3620
3642
|
},
|
|
3643
|
+
"verificationStatus": {
|
|
3644
|
+
"type": "string",
|
|
3645
|
+
"enum": [
|
|
3646
|
+
"unapproved",
|
|
3647
|
+
"pending",
|
|
3648
|
+
"approved",
|
|
3649
|
+
"rejected"
|
|
3650
|
+
],
|
|
3651
|
+
"description": "Status of the integration version verification"
|
|
3652
|
+
},
|
|
3621
3653
|
"secrets": {
|
|
3622
3654
|
"type": "array",
|
|
3623
3655
|
"items": {
|
|
@@ -3669,6 +3701,7 @@ export const state = {
|
|
|
3669
3701
|
"iconUrl",
|
|
3670
3702
|
"readmeUrl",
|
|
3671
3703
|
"public",
|
|
3704
|
+
"verificationStatus",
|
|
3672
3705
|
"secrets",
|
|
3673
3706
|
"ownerWorkspace"
|
|
3674
3707
|
],
|
|
@@ -8385,6 +8418,16 @@ export const state = {
|
|
|
8385
8418
|
"public": {
|
|
8386
8419
|
"type": "boolean",
|
|
8387
8420
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
8421
|
+
},
|
|
8422
|
+
"verificationStatus": {
|
|
8423
|
+
"type": "string",
|
|
8424
|
+
"enum": [
|
|
8425
|
+
"unapproved",
|
|
8426
|
+
"pending",
|
|
8427
|
+
"approved",
|
|
8428
|
+
"rejected"
|
|
8429
|
+
],
|
|
8430
|
+
"description": "Status of the integration version verification"
|
|
8388
8431
|
}
|
|
8389
8432
|
},
|
|
8390
8433
|
"required": [
|
|
@@ -8396,7 +8439,8 @@ export const state = {
|
|
|
8396
8439
|
"title",
|
|
8397
8440
|
"description",
|
|
8398
8441
|
"iconUrl",
|
|
8399
|
-
"public"
|
|
8442
|
+
"public",
|
|
8443
|
+
"verificationStatus"
|
|
8400
8444
|
]
|
|
8401
8445
|
}
|
|
8402
8446
|
},
|
|
@@ -9390,6 +9434,11 @@ export const state = {
|
|
|
9390
9434
|
"contentType": {
|
|
9391
9435
|
"type": "string",
|
|
9392
9436
|
"description": "File content type. If omitted, the content type will be inferred from the file extension (if any) specified in `key`. If a content type cannot be inferred, the default is \"application/octet-stream\"."
|
|
9437
|
+
},
|
|
9438
|
+
"expiresAt": {
|
|
9439
|
+
"type": "string",
|
|
9440
|
+
"format": "date-time",
|
|
9441
|
+
"description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored."
|
|
9393
9442
|
}
|
|
9394
9443
|
},
|
|
9395
9444
|
"required": [
|
|
@@ -9482,6 +9531,10 @@ export const state = {
|
|
|
9482
9531
|
"type": "string",
|
|
9483
9532
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
9484
9533
|
},
|
|
9534
|
+
"expiresAt": {
|
|
9535
|
+
"type": "string",
|
|
9536
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
9537
|
+
},
|
|
9485
9538
|
"uploadUrl": {
|
|
9486
9539
|
"type": "string",
|
|
9487
9540
|
"description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
|
|
@@ -9641,6 +9694,10 @@ export const state = {
|
|
|
9641
9694
|
"failedStatusReason": {
|
|
9642
9695
|
"type": "string",
|
|
9643
9696
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
9697
|
+
},
|
|
9698
|
+
"expiresAt": {
|
|
9699
|
+
"type": "string",
|
|
9700
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
9644
9701
|
}
|
|
9645
9702
|
},
|
|
9646
9703
|
"required": [
|
|
@@ -9771,6 +9828,10 @@ export const state = {
|
|
|
9771
9828
|
"failedStatusReason": {
|
|
9772
9829
|
"type": "string",
|
|
9773
9830
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
9831
|
+
},
|
|
9832
|
+
"expiresAt": {
|
|
9833
|
+
"type": "string",
|
|
9834
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
9774
9835
|
}
|
|
9775
9836
|
},
|
|
9776
9837
|
"required": [
|
|
@@ -9835,6 +9896,12 @@ export const state = {
|
|
|
9835
9896
|
]
|
|
9836
9897
|
},
|
|
9837
9898
|
"description": "New access policies to set for the file. Omit to keep existing policies intact."
|
|
9899
|
+
},
|
|
9900
|
+
"expiresAt": {
|
|
9901
|
+
"type": "string",
|
|
9902
|
+
"format": "date-time",
|
|
9903
|
+
"description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored. Omit to keep the existing expiry intact. Set to `null` to remove the expiry.",
|
|
9904
|
+
"nullable": true
|
|
9838
9905
|
}
|
|
9839
9906
|
},
|
|
9840
9907
|
"title": "updateFileMetadataBody",
|
|
@@ -9920,6 +9987,10 @@ export const state = {
|
|
|
9920
9987
|
"failedStatusReason": {
|
|
9921
9988
|
"type": "string",
|
|
9922
9989
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
9990
|
+
},
|
|
9991
|
+
"expiresAt": {
|
|
9992
|
+
"type": "string",
|
|
9993
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
9923
9994
|
}
|
|
9924
9995
|
},
|
|
9925
9996
|
"required": [
|
|
@@ -11097,7 +11168,7 @@ export const state = {
|
|
|
11097
11168
|
"title": "Botpress API",
|
|
11098
11169
|
"description": "API for Botpress Cloud",
|
|
11099
11170
|
"server": "https://api.botpress.cloud",
|
|
11100
|
-
"version": "0.
|
|
11171
|
+
"version": "0.38.1",
|
|
11101
11172
|
"prefix": "v1"
|
|
11102
11173
|
},
|
|
11103
11174
|
"errors": [
|
|
@@ -11548,6 +11619,16 @@ export const state = {
|
|
|
11548
11619
|
"public": {
|
|
11549
11620
|
"type": "boolean",
|
|
11550
11621
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
11622
|
+
},
|
|
11623
|
+
"verificationStatus": {
|
|
11624
|
+
"type": "string",
|
|
11625
|
+
"enum": [
|
|
11626
|
+
"unapproved",
|
|
11627
|
+
"pending",
|
|
11628
|
+
"approved",
|
|
11629
|
+
"rejected"
|
|
11630
|
+
],
|
|
11631
|
+
"description": "Status of the integration version verification"
|
|
11551
11632
|
}
|
|
11552
11633
|
},
|
|
11553
11634
|
"required": [
|
|
@@ -11565,7 +11646,8 @@ export const state = {
|
|
|
11565
11646
|
"title",
|
|
11566
11647
|
"description",
|
|
11567
11648
|
"iconUrl",
|
|
11568
|
-
"public"
|
|
11649
|
+
"public",
|
|
11650
|
+
"verificationStatus"
|
|
11569
11651
|
],
|
|
11570
11652
|
"additionalProperties": false
|
|
11571
11653
|
},
|
|
@@ -12427,6 +12509,16 @@ export const state = {
|
|
|
12427
12509
|
"type": "boolean",
|
|
12428
12510
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
12429
12511
|
},
|
|
12512
|
+
"verificationStatus": {
|
|
12513
|
+
"type": "string",
|
|
12514
|
+
"enum": [
|
|
12515
|
+
"unapproved",
|
|
12516
|
+
"pending",
|
|
12517
|
+
"approved",
|
|
12518
|
+
"rejected"
|
|
12519
|
+
],
|
|
12520
|
+
"description": "Status of the integration version verification"
|
|
12521
|
+
},
|
|
12430
12522
|
"secrets": {
|
|
12431
12523
|
"type": "array",
|
|
12432
12524
|
"items": {
|
|
@@ -12457,6 +12549,7 @@ export const state = {
|
|
|
12457
12549
|
"iconUrl",
|
|
12458
12550
|
"readmeUrl",
|
|
12459
12551
|
"public",
|
|
12552
|
+
"verificationStatus",
|
|
12460
12553
|
"secrets"
|
|
12461
12554
|
],
|
|
12462
12555
|
"additionalProperties": false
|
|
@@ -13877,6 +13970,10 @@ export const state = {
|
|
|
13877
13970
|
"failedStatusReason": {
|
|
13878
13971
|
"type": "string",
|
|
13879
13972
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
13973
|
+
},
|
|
13974
|
+
"expiresAt": {
|
|
13975
|
+
"type": "string",
|
|
13976
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
13880
13977
|
}
|
|
13881
13978
|
},
|
|
13882
13979
|
"required": [
|