@botpress/api 0.38.1 → 0.38.3
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 +47 -2
- package/dist/src/gen/state.d.ts +40 -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 +47 -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",
|
|
@@ -11168,7 +11200,7 @@ export const state = {
|
|
|
11168
11200
|
"title": "Botpress API",
|
|
11169
11201
|
"description": "API for Botpress Cloud",
|
|
11170
11202
|
"server": "https://api.botpress.cloud",
|
|
11171
|
-
"version": "0.38.
|
|
11203
|
+
"version": "0.38.3",
|
|
11172
11204
|
"prefix": "v1"
|
|
11173
11205
|
},
|
|
11174
11206
|
"errors": [
|
|
@@ -11334,6 +11366,7 @@ export const state = {
|
|
|
11334
11366
|
"createIntegrationApiKeyBody": true,
|
|
11335
11367
|
"createIntegrationBody": true,
|
|
11336
11368
|
"updateIntegrationBody": true,
|
|
11369
|
+
"requestIntegrationVerificationBody": true,
|
|
11337
11370
|
"createInterfaceBody": true,
|
|
11338
11371
|
"updateInterfaceBody": true,
|
|
11339
11372
|
"changeAISpendQuotaBody": true,
|
|
@@ -11450,6 +11483,7 @@ export const state = {
|
|
|
11450
11483
|
"getIntegrationLogsResponse": true,
|
|
11451
11484
|
"getIntegrationByNameResponse": true,
|
|
11452
11485
|
"deleteIntegrationResponse": true,
|
|
11486
|
+
"requestIntegrationVerificationResponse": true,
|
|
11453
11487
|
"createInterfaceResponse": true,
|
|
11454
11488
|
"getInterfaceResponse": true,
|
|
11455
11489
|
"getInterfaceByNameResponse": true,
|
|
@@ -13629,6 +13663,7 @@ export const state = {
|
|
|
13629
13663
|
"type": "string",
|
|
13630
13664
|
"enum": [
|
|
13631
13665
|
"ai",
|
|
13666
|
+
"code",
|
|
13632
13667
|
"workflow"
|
|
13633
13668
|
]
|
|
13634
13669
|
},
|
|
@@ -13643,6 +13678,10 @@ export const state = {
|
|
|
13643
13678
|
"type": "string",
|
|
13644
13679
|
"description": "Prompt when action is \"ai\""
|
|
13645
13680
|
},
|
|
13681
|
+
"code": {
|
|
13682
|
+
"type": "string",
|
|
13683
|
+
"description": "Code to execute when action is \"code\""
|
|
13684
|
+
},
|
|
13646
13685
|
"model": {
|
|
13647
13686
|
"default": "gpt-4o",
|
|
13648
13687
|
"type": "string",
|
|
@@ -13786,6 +13825,7 @@ export const state = {
|
|
|
13786
13825
|
"type": "string",
|
|
13787
13826
|
"enum": [
|
|
13788
13827
|
"ai",
|
|
13828
|
+
"code",
|
|
13789
13829
|
"workflow"
|
|
13790
13830
|
]
|
|
13791
13831
|
},
|
|
@@ -13800,6 +13840,10 @@ export const state = {
|
|
|
13800
13840
|
"type": "string",
|
|
13801
13841
|
"description": "Prompt when action is \"ai\""
|
|
13802
13842
|
},
|
|
13843
|
+
"code": {
|
|
13844
|
+
"type": "string",
|
|
13845
|
+
"description": "Code to execute when action is \"code\""
|
|
13846
|
+
},
|
|
13803
13847
|
"model": {
|
|
13804
13848
|
"default": "gpt-4o",
|
|
13805
13849
|
"type": "string",
|
|
@@ -14134,7 +14178,8 @@ export const state = {
|
|
|
14134
14178
|
"getIntegration",
|
|
14135
14179
|
"getIntegrationLogs",
|
|
14136
14180
|
"getIntegrationByName",
|
|
14137
|
-
"deleteIntegration"
|
|
14181
|
+
"deleteIntegration",
|
|
14182
|
+
"requestIntegrationVerification"
|
|
14138
14183
|
],
|
|
14139
14184
|
"schema": "Integration"
|
|
14140
14185
|
},
|