@botpress/api 0.38.0 → 0.38.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 +68 -2
- package/dist/src/gen/state.d.ts +63 -0
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +68 -2
package/src/gen/state.ts
CHANGED
|
@@ -8621,6 +8621,38 @@ export const state = {
|
|
|
8621
8621
|
}
|
|
8622
8622
|
}
|
|
8623
8623
|
},
|
|
8624
|
+
"requestIntegrationVerification": {
|
|
8625
|
+
"name": "requestIntegrationVerification",
|
|
8626
|
+
"description": "Request Integration Verification",
|
|
8627
|
+
"method": "post",
|
|
8628
|
+
"section": "integration",
|
|
8629
|
+
"path": "/v1/admin/integrations/request-verification",
|
|
8630
|
+
"requestBody": {
|
|
8631
|
+
"description": "Integration",
|
|
8632
|
+
"schema": {
|
|
8633
|
+
"type": "object",
|
|
8634
|
+
"properties": {
|
|
8635
|
+
"integrationId": {
|
|
8636
|
+
"type": "string"
|
|
8637
|
+
}
|
|
8638
|
+
},
|
|
8639
|
+
"required": [
|
|
8640
|
+
"integrationId"
|
|
8641
|
+
],
|
|
8642
|
+
"title": "requestIntegrationVerificationBody",
|
|
8643
|
+
"additionalProperties": false
|
|
8644
|
+
}
|
|
8645
|
+
},
|
|
8646
|
+
"response": {
|
|
8647
|
+
"description": "Success",
|
|
8648
|
+
"schema": {
|
|
8649
|
+
"type": "object",
|
|
8650
|
+
"title": "requestIntegrationVerificationResponse",
|
|
8651
|
+
"additionalProperties": false
|
|
8652
|
+
}
|
|
8653
|
+
},
|
|
8654
|
+
"parameters": {}
|
|
8655
|
+
},
|
|
8624
8656
|
"createInterface": {
|
|
8625
8657
|
"name": "createInterface",
|
|
8626
8658
|
"description": "Create Interface",
|
|
@@ -9434,6 +9466,11 @@ export const state = {
|
|
|
9434
9466
|
"contentType": {
|
|
9435
9467
|
"type": "string",
|
|
9436
9468
|
"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\"."
|
|
9469
|
+
},
|
|
9470
|
+
"expiresAt": {
|
|
9471
|
+
"type": "string",
|
|
9472
|
+
"format": "date-time",
|
|
9473
|
+
"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."
|
|
9437
9474
|
}
|
|
9438
9475
|
},
|
|
9439
9476
|
"required": [
|
|
@@ -9526,6 +9563,10 @@ export const state = {
|
|
|
9526
9563
|
"type": "string",
|
|
9527
9564
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
9528
9565
|
},
|
|
9566
|
+
"expiresAt": {
|
|
9567
|
+
"type": "string",
|
|
9568
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
9569
|
+
},
|
|
9529
9570
|
"uploadUrl": {
|
|
9530
9571
|
"type": "string",
|
|
9531
9572
|
"description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
|
|
@@ -9685,6 +9726,10 @@ export const state = {
|
|
|
9685
9726
|
"failedStatusReason": {
|
|
9686
9727
|
"type": "string",
|
|
9687
9728
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
9729
|
+
},
|
|
9730
|
+
"expiresAt": {
|
|
9731
|
+
"type": "string",
|
|
9732
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
9688
9733
|
}
|
|
9689
9734
|
},
|
|
9690
9735
|
"required": [
|
|
@@ -9815,6 +9860,10 @@ export const state = {
|
|
|
9815
9860
|
"failedStatusReason": {
|
|
9816
9861
|
"type": "string",
|
|
9817
9862
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
9863
|
+
},
|
|
9864
|
+
"expiresAt": {
|
|
9865
|
+
"type": "string",
|
|
9866
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
9818
9867
|
}
|
|
9819
9868
|
},
|
|
9820
9869
|
"required": [
|
|
@@ -9879,6 +9928,12 @@ export const state = {
|
|
|
9879
9928
|
]
|
|
9880
9929
|
},
|
|
9881
9930
|
"description": "New access policies to set for the file. Omit to keep existing policies intact."
|
|
9931
|
+
},
|
|
9932
|
+
"expiresAt": {
|
|
9933
|
+
"type": "string",
|
|
9934
|
+
"format": "date-time",
|
|
9935
|
+
"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.",
|
|
9936
|
+
"nullable": true
|
|
9882
9937
|
}
|
|
9883
9938
|
},
|
|
9884
9939
|
"title": "updateFileMetadataBody",
|
|
@@ -9964,6 +10019,10 @@ export const state = {
|
|
|
9964
10019
|
"failedStatusReason": {
|
|
9965
10020
|
"type": "string",
|
|
9966
10021
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
10022
|
+
},
|
|
10023
|
+
"expiresAt": {
|
|
10024
|
+
"type": "string",
|
|
10025
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
9967
10026
|
}
|
|
9968
10027
|
},
|
|
9969
10028
|
"required": [
|
|
@@ -11141,7 +11200,7 @@ export const state = {
|
|
|
11141
11200
|
"title": "Botpress API",
|
|
11142
11201
|
"description": "API for Botpress Cloud",
|
|
11143
11202
|
"server": "https://api.botpress.cloud",
|
|
11144
|
-
"version": "0.38.
|
|
11203
|
+
"version": "0.38.2",
|
|
11145
11204
|
"prefix": "v1"
|
|
11146
11205
|
},
|
|
11147
11206
|
"errors": [
|
|
@@ -11307,6 +11366,7 @@ export const state = {
|
|
|
11307
11366
|
"createIntegrationApiKeyBody": true,
|
|
11308
11367
|
"createIntegrationBody": true,
|
|
11309
11368
|
"updateIntegrationBody": true,
|
|
11369
|
+
"requestIntegrationVerificationBody": true,
|
|
11310
11370
|
"createInterfaceBody": true,
|
|
11311
11371
|
"updateInterfaceBody": true,
|
|
11312
11372
|
"changeAISpendQuotaBody": true,
|
|
@@ -11423,6 +11483,7 @@ export const state = {
|
|
|
11423
11483
|
"getIntegrationLogsResponse": true,
|
|
11424
11484
|
"getIntegrationByNameResponse": true,
|
|
11425
11485
|
"deleteIntegrationResponse": true,
|
|
11486
|
+
"requestIntegrationVerificationResponse": true,
|
|
11426
11487
|
"createInterfaceResponse": true,
|
|
11427
11488
|
"getInterfaceResponse": true,
|
|
11428
11489
|
"getInterfaceByNameResponse": true,
|
|
@@ -13943,6 +14004,10 @@ export const state = {
|
|
|
13943
14004
|
"failedStatusReason": {
|
|
13944
14005
|
"type": "string",
|
|
13945
14006
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
14007
|
+
},
|
|
14008
|
+
"expiresAt": {
|
|
14009
|
+
"type": "string",
|
|
14010
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
13946
14011
|
}
|
|
13947
14012
|
},
|
|
13948
14013
|
"required": [
|
|
@@ -14103,7 +14168,8 @@ export const state = {
|
|
|
14103
14168
|
"getIntegration",
|
|
14104
14169
|
"getIntegrationLogs",
|
|
14105
14170
|
"getIntegrationByName",
|
|
14106
|
-
"deleteIntegration"
|
|
14171
|
+
"deleteIntegration",
|
|
14172
|
+
"requestIntegrationVerification"
|
|
14107
14173
|
],
|
|
14108
14174
|
"schema": "Integration"
|
|
14109
14175
|
},
|