vellum-ai 1.5.3 → 1.5.5
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/Client.d.ts +6 -0
- package/Client.js +47 -37
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +6 -1
- package/api/resources/integrationAuthConfigs/client/Client.d.ts +46 -0
- package/api/resources/integrationAuthConfigs/client/Client.js +162 -0
- package/api/resources/integrationAuthConfigs/client/index.d.ts +1 -0
- package/api/resources/integrationAuthConfigs/client/index.js +17 -0
- package/api/resources/integrationAuthConfigs/client/requests/ListIntegrationAuthConfigsRequest.d.ts +32 -0
- package/api/resources/integrationAuthConfigs/client/requests/ListIntegrationAuthConfigsRequest.js +5 -0
- package/api/resources/integrationAuthConfigs/client/requests/index.d.ts +1 -0
- package/api/resources/integrationAuthConfigs/client/requests/index.js +2 -0
- package/api/resources/integrationAuthConfigs/index.d.ts +1 -0
- package/api/resources/integrationAuthConfigs/index.js +17 -0
- package/api/resources/integrationProviders/client/Client.d.ts +60 -0
- package/api/resources/integrationProviders/client/Client.js +216 -0
- package/api/resources/integrationProviders/client/index.d.ts +1 -0
- package/api/resources/integrationProviders/client/index.js +17 -0
- package/api/resources/integrationProviders/client/requests/ListIntegrationToolsRequest.d.ts +25 -0
- package/api/resources/integrationProviders/client/requests/ListIntegrationToolsRequest.js +5 -0
- package/api/resources/integrationProviders/client/requests/index.d.ts +1 -0
- package/api/resources/integrationProviders/client/requests/index.js +2 -0
- package/api/resources/integrationProviders/index.d.ts +1 -0
- package/api/resources/integrationProviders/index.js +17 -0
- package/api/resources/integrations/client/Client.d.ts +31 -8
- package/api/resources/integrations/client/Client.js +169 -18
- package/api/resources/integrations/client/index.d.ts +1 -1
- package/api/resources/integrations/client/index.js +15 -0
- package/api/resources/integrations/client/requests/IntegrationsListRequest.d.ts +29 -0
- package/api/resources/integrations/client/requests/IntegrationsListRequest.js +5 -0
- package/api/resources/integrations/client/requests/index.d.ts +1 -0
- package/api/resources/integrations/client/requests/index.js +2 -0
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.d.ts +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +9 -9
- package/api/resources/workflowExecutions/client/Client.js +1 -1
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +3 -3
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ComponentsSchemasComposioIntegrationExecConfig.d.ts +5 -0
- package/api/types/ComponentsSchemasComposioIntegrationExecConfig.js +5 -0
- package/api/types/ComponentsSchemasSlimComposioToolDefinition.d.ts +5 -0
- package/api/types/ComponentsSchemasSlimComposioToolDefinition.js +5 -0
- package/api/types/ComposioIntegrationExecConfig.d.ts +7 -0
- package/api/types/ComposioIntegrationExecConfig.js +5 -0
- package/api/types/ComposioToolDefinition.d.ts +4 -1
- package/api/types/IntegrationAuthConfigIntegrationCredential.d.ts +6 -0
- package/api/types/IntegrationAuthConfigIntegrationCredential.js +5 -0
- package/api/types/IntegrationCredentialAccessType.d.ts +12 -0
- package/api/types/IntegrationCredentialAccessType.js +10 -0
- package/api/types/IntegrationName.d.ts +30 -0
- package/api/types/IntegrationName.js +19 -0
- package/api/types/IntegrationProvider.d.ts +7 -0
- package/api/types/IntegrationProvider.js +5 -0
- package/api/types/IntegrationRead.d.ts +13 -0
- package/api/types/IntegrationRead.js +5 -0
- package/api/types/PaginatedSlimIntegrationAuthConfigReadList.d.ts +10 -0
- package/api/types/PaginatedSlimIntegrationAuthConfigReadList.js +5 -0
- package/api/types/PaginatedSlimIntegrationReadList.d.ts +10 -0
- package/api/types/PaginatedSlimIntegrationReadList.js +5 -0
- package/api/types/PaginatedSlimToolDefinitionList.d.ts +10 -0
- package/api/types/PaginatedSlimToolDefinitionList.js +5 -0
- package/api/types/SlimComposioToolDefinition.d.ts +10 -0
- package/api/types/SlimComposioToolDefinition.js +5 -0
- package/api/types/SlimIntegrationAuthConfigRead.d.ts +12 -0
- package/api/types/SlimIntegrationAuthConfigRead.js +5 -0
- package/api/types/SlimIntegrationRead.d.ts +11 -0
- package/api/types/SlimIntegrationRead.js +5 -0
- package/api/types/ToolDefinitionIntegration.d.ts +9 -0
- package/api/types/ToolDefinitionIntegration.js +5 -0
- package/api/types/index.d.ts +15 -0
- package/api/types/index.js +15 -0
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +47 -37
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/events/client/Client.js +1 -1
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +5 -0
- package/dist/api/resources/index.js +6 -1
- package/dist/api/resources/integrationAuthConfigs/client/Client.d.ts +46 -0
- package/dist/api/resources/integrationAuthConfigs/client/Client.js +162 -0
- package/dist/api/resources/integrationAuthConfigs/client/index.d.ts +1 -0
- package/dist/api/resources/integrationAuthConfigs/client/index.js +17 -0
- package/dist/api/resources/integrationAuthConfigs/client/requests/ListIntegrationAuthConfigsRequest.d.ts +32 -0
- package/dist/api/resources/integrationAuthConfigs/client/requests/ListIntegrationAuthConfigsRequest.js +5 -0
- package/dist/api/resources/integrationAuthConfigs/client/requests/index.d.ts +1 -0
- package/dist/api/resources/integrationAuthConfigs/client/requests/index.js +2 -0
- package/dist/api/resources/integrationAuthConfigs/index.d.ts +1 -0
- package/dist/api/resources/integrationAuthConfigs/index.js +17 -0
- package/dist/api/resources/integrationProviders/client/Client.d.ts +60 -0
- package/dist/api/resources/integrationProviders/client/Client.js +216 -0
- package/dist/api/resources/integrationProviders/client/index.d.ts +1 -0
- package/dist/api/resources/integrationProviders/client/index.js +17 -0
- package/dist/api/resources/integrationProviders/client/requests/ListIntegrationToolsRequest.d.ts +25 -0
- package/dist/api/resources/integrationProviders/client/requests/ListIntegrationToolsRequest.js +5 -0
- package/dist/api/resources/integrationProviders/client/requests/index.d.ts +1 -0
- package/dist/api/resources/integrationProviders/client/requests/index.js +2 -0
- package/dist/api/resources/integrationProviders/index.d.ts +1 -0
- package/dist/api/resources/integrationProviders/index.js +17 -0
- package/dist/api/resources/integrations/client/Client.d.ts +31 -8
- package/dist/api/resources/integrations/client/Client.js +169 -18
- package/dist/api/resources/integrations/client/index.d.ts +1 -1
- package/dist/api/resources/integrations/client/index.js +15 -0
- package/dist/api/resources/integrations/client/requests/IntegrationsListRequest.d.ts +29 -0
- package/dist/api/resources/integrations/client/requests/IntegrationsListRequest.js +5 -0
- package/dist/api/resources/integrations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/integrations/client/requests/index.js +2 -0
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.d.ts +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
- package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +3 -3
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ComponentsSchemasComposioIntegrationExecConfig.d.ts +5 -0
- package/dist/api/types/ComponentsSchemasComposioIntegrationExecConfig.js +5 -0
- package/dist/api/types/ComponentsSchemasSlimComposioToolDefinition.d.ts +5 -0
- package/dist/api/types/ComponentsSchemasSlimComposioToolDefinition.js +5 -0
- package/dist/api/types/ComposioIntegrationExecConfig.d.ts +7 -0
- package/dist/api/types/ComposioIntegrationExecConfig.js +5 -0
- package/dist/api/types/ComposioToolDefinition.d.ts +4 -1
- package/dist/api/types/IntegrationAuthConfigIntegrationCredential.d.ts +6 -0
- package/dist/api/types/IntegrationAuthConfigIntegrationCredential.js +5 -0
- package/dist/api/types/IntegrationCredentialAccessType.d.ts +12 -0
- package/dist/api/types/IntegrationCredentialAccessType.js +10 -0
- package/dist/api/types/IntegrationName.d.ts +30 -0
- package/dist/api/types/IntegrationName.js +19 -0
- package/dist/api/types/IntegrationProvider.d.ts +7 -0
- package/dist/api/types/IntegrationProvider.js +5 -0
- package/dist/api/types/IntegrationRead.d.ts +13 -0
- package/dist/api/types/IntegrationRead.js +5 -0
- package/dist/api/types/PaginatedSlimIntegrationAuthConfigReadList.d.ts +10 -0
- package/dist/api/types/PaginatedSlimIntegrationAuthConfigReadList.js +5 -0
- package/dist/api/types/PaginatedSlimIntegrationReadList.d.ts +10 -0
- package/dist/api/types/PaginatedSlimIntegrationReadList.js +5 -0
- package/dist/api/types/PaginatedSlimToolDefinitionList.d.ts +10 -0
- package/dist/api/types/PaginatedSlimToolDefinitionList.js +5 -0
- package/dist/api/types/SlimComposioToolDefinition.d.ts +10 -0
- package/dist/api/types/SlimComposioToolDefinition.js +5 -0
- package/dist/api/types/SlimIntegrationAuthConfigRead.d.ts +12 -0
- package/dist/api/types/SlimIntegrationAuthConfigRead.js +5 -0
- package/dist/api/types/SlimIntegrationRead.d.ts +11 -0
- package/dist/api/types/SlimIntegrationRead.js +5 -0
- package/dist/api/types/ToolDefinitionIntegration.d.ts +9 -0
- package/dist/api/types/ToolDefinitionIntegration.js +5 -0
- package/dist/api/types/index.d.ts +15 -0
- package/dist/api/types/index.js +15 -0
- package/dist/serialization/types/ComponentsSchemasComposioIntegrationExecConfig.d.ts +11 -0
- package/dist/serialization/types/ComponentsSchemasComposioIntegrationExecConfig.js +8 -0
- package/dist/serialization/types/ComponentsSchemasSlimComposioToolDefinition.d.ts +11 -0
- package/dist/serialization/types/ComponentsSchemasSlimComposioToolDefinition.js +8 -0
- package/dist/serialization/types/ComposioIntegrationExecConfig.d.ts +13 -0
- package/dist/serialization/types/ComposioIntegrationExecConfig.js +44 -0
- package/dist/serialization/types/ComposioToolDefinition.d.ts +4 -1
- package/dist/serialization/types/ComposioToolDefinition.js +4 -1
- package/dist/serialization/types/IntegrationAuthConfigIntegrationCredential.d.ts +12 -0
- package/dist/serialization/types/IntegrationAuthConfigIntegrationCredential.js +43 -0
- package/dist/serialization/types/IntegrationCredentialAccessType.d.ts +10 -0
- package/dist/serialization/types/IntegrationCredentialAccessType.js +41 -0
- package/dist/serialization/types/IntegrationName.d.ts +10 -0
- package/dist/serialization/types/IntegrationName.js +53 -0
- package/dist/serialization/types/IntegrationProvider.d.ts +10 -0
- package/dist/serialization/types/IntegrationProvider.js +41 -0
- package/dist/serialization/types/IntegrationRead.d.ts +20 -0
- package/dist/serialization/types/IntegrationRead.js +51 -0
- package/dist/serialization/types/PaginatedSlimIntegrationAuthConfigReadList.d.ts +16 -0
- package/dist/serialization/types/PaginatedSlimIntegrationAuthConfigReadList.js +47 -0
- package/dist/serialization/types/PaginatedSlimIntegrationReadList.d.ts +16 -0
- package/dist/serialization/types/PaginatedSlimIntegrationReadList.js +47 -0
- package/dist/serialization/types/PaginatedSlimToolDefinitionList.d.ts +16 -0
- package/dist/serialization/types/PaginatedSlimToolDefinitionList.js +47 -0
- package/dist/serialization/types/SlimComposioToolDefinition.d.ts +16 -0
- package/dist/serialization/types/SlimComposioToolDefinition.js +47 -0
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.d.ts +16 -0
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.js +47 -0
- package/dist/serialization/types/SlimIntegrationRead.d.ts +18 -0
- package/dist/serialization/types/SlimIntegrationRead.js +49 -0
- package/dist/serialization/types/ToolDefinitionIntegration.d.ts +16 -0
- package/dist/serialization/types/ToolDefinitionIntegration.js +47 -0
- package/dist/serialization/types/index.d.ts +15 -0
- package/dist/serialization/types/index.js +15 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +355 -8
- package/serialization/types/ComponentsSchemasComposioIntegrationExecConfig.d.ts +11 -0
- package/serialization/types/ComponentsSchemasComposioIntegrationExecConfig.js +8 -0
- package/serialization/types/ComponentsSchemasSlimComposioToolDefinition.d.ts +11 -0
- package/serialization/types/ComponentsSchemasSlimComposioToolDefinition.js +8 -0
- package/serialization/types/ComposioIntegrationExecConfig.d.ts +13 -0
- package/serialization/types/ComposioIntegrationExecConfig.js +44 -0
- package/serialization/types/ComposioToolDefinition.d.ts +4 -1
- package/serialization/types/ComposioToolDefinition.js +4 -1
- package/serialization/types/IntegrationAuthConfigIntegrationCredential.d.ts +12 -0
- package/serialization/types/IntegrationAuthConfigIntegrationCredential.js +43 -0
- package/serialization/types/IntegrationCredentialAccessType.d.ts +10 -0
- package/serialization/types/IntegrationCredentialAccessType.js +41 -0
- package/serialization/types/IntegrationName.d.ts +10 -0
- package/serialization/types/IntegrationName.js +53 -0
- package/serialization/types/IntegrationProvider.d.ts +10 -0
- package/serialization/types/IntegrationProvider.js +41 -0
- package/serialization/types/IntegrationRead.d.ts +20 -0
- package/serialization/types/IntegrationRead.js +51 -0
- package/serialization/types/PaginatedSlimIntegrationAuthConfigReadList.d.ts +16 -0
- package/serialization/types/PaginatedSlimIntegrationAuthConfigReadList.js +47 -0
- package/serialization/types/PaginatedSlimIntegrationReadList.d.ts +16 -0
- package/serialization/types/PaginatedSlimIntegrationReadList.js +47 -0
- package/serialization/types/PaginatedSlimToolDefinitionList.d.ts +16 -0
- package/serialization/types/PaginatedSlimToolDefinitionList.js +47 -0
- package/serialization/types/SlimComposioToolDefinition.d.ts +16 -0
- package/serialization/types/SlimComposioToolDefinition.js +47 -0
- package/serialization/types/SlimIntegrationAuthConfigRead.d.ts +16 -0
- package/serialization/types/SlimIntegrationAuthConfigRead.js +47 -0
- package/serialization/types/SlimIntegrationRead.d.ts +18 -0
- package/serialization/types/SlimIntegrationRead.js +49 -0
- package/serialization/types/ToolDefinitionIntegration.d.ts +16 -0
- package/serialization/types/ToolDefinitionIntegration.js +47 -0
- package/serialization/types/index.d.ts +15 -0
- package/serialization/types/index.js +15 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ListIntegrationToolsRequest {
|
|
9
|
+
/**
|
|
10
|
+
* The Vellum Integration name
|
|
11
|
+
*/
|
|
12
|
+
integrationName?: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Number of results to return per page.
|
|
15
|
+
*/
|
|
16
|
+
limit?: number | null;
|
|
17
|
+
/**
|
|
18
|
+
* The initial index from which to return the results.
|
|
19
|
+
*/
|
|
20
|
+
offset?: number | null;
|
|
21
|
+
/**
|
|
22
|
+
* The search term to filter the tools by
|
|
23
|
+
*/
|
|
24
|
+
search?: string | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type ListIntegrationToolsRequest } from "./ListIntegrationToolsRequest";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -30,27 +30,28 @@ export declare class Integrations {
|
|
|
30
30
|
protected readonly _options: Integrations.Options;
|
|
31
31
|
constructor(_options: Integrations.Options);
|
|
32
32
|
/**
|
|
33
|
-
* @param {string}
|
|
34
|
-
* @param {string}
|
|
33
|
+
* @param {string} integrationName - The integration name
|
|
34
|
+
* @param {string} integrationProvider - The integration provider name
|
|
35
35
|
* @param {string} toolName - The tool's unique name, as specified by the integration provider
|
|
36
36
|
* @param {Integrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
|
-
* await client.integrations.retrieveIntegrationToolDefinition("
|
|
39
|
+
* await client.integrations.retrieveIntegrationToolDefinition("integration_name", "integration_provider", "tool_name")
|
|
40
40
|
*/
|
|
41
|
-
retrieveIntegrationToolDefinition(
|
|
41
|
+
retrieveIntegrationToolDefinition(integrationName: string, integrationProvider: string, toolName: string, requestOptions?: Integrations.RequestOptions): core.HttpResponsePromise<Vellum.ComponentsSchemasComposioToolDefinition>;
|
|
42
42
|
private __retrieveIntegrationToolDefinition;
|
|
43
43
|
/**
|
|
44
|
-
* @param {string}
|
|
45
|
-
* @param {string}
|
|
44
|
+
* @param {string} integrationName - The integration name
|
|
45
|
+
* @param {string} integrationProvider - The integration provider name
|
|
46
46
|
* @param {string} toolName - The tool's unique name, as specified by the integration provider
|
|
47
47
|
* @param {Vellum.ComponentsSchemasComposioExecuteToolRequest} request
|
|
48
48
|
* @param {Integrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link Vellum.BadRequestError}
|
|
51
|
+
* @throws {@link Vellum.ForbiddenError}
|
|
51
52
|
*
|
|
52
53
|
* @example
|
|
53
|
-
* await client.integrations.executeIntegrationTool("
|
|
54
|
+
* await client.integrations.executeIntegrationTool("integration_name", "integration_provider", "tool_name", {
|
|
54
55
|
* provider: "COMPOSIO",
|
|
55
56
|
* arguments: {
|
|
56
57
|
* "arguments": {
|
|
@@ -59,8 +60,30 @@ export declare class Integrations {
|
|
|
59
60
|
* }
|
|
60
61
|
* })
|
|
61
62
|
*/
|
|
62
|
-
executeIntegrationTool(
|
|
63
|
+
executeIntegrationTool(integrationName: string, integrationProvider: string, toolName: string, request: Vellum.ComponentsSchemasComposioExecuteToolRequest, requestOptions?: Integrations.RequestOptions): core.HttpResponsePromise<Vellum.ComponentsSchemasComposioExecuteToolResponse>;
|
|
63
64
|
private __executeIntegrationTool;
|
|
65
|
+
/**
|
|
66
|
+
* List all integrations
|
|
67
|
+
*
|
|
68
|
+
* @param {Vellum.IntegrationsListRequest} request
|
|
69
|
+
* @param {Integrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* await client.integrations.list()
|
|
73
|
+
*/
|
|
74
|
+
list(request?: Vellum.IntegrationsListRequest, requestOptions?: Integrations.RequestOptions): core.HttpResponsePromise<Vellum.PaginatedSlimIntegrationReadList>;
|
|
75
|
+
private __list;
|
|
76
|
+
/**
|
|
77
|
+
* Retrieve an integration
|
|
78
|
+
*
|
|
79
|
+
* @param {string} id - A UUID string identifying this integration.
|
|
80
|
+
* @param {Integrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* await client.integrations.retrieve("id")
|
|
84
|
+
*/
|
|
85
|
+
retrieve(id: string, requestOptions?: Integrations.RequestOptions): core.HttpResponsePromise<Vellum.IntegrationRead>;
|
|
86
|
+
private __retrieve;
|
|
64
87
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
65
88
|
"X-API-KEY": string;
|
|
66
89
|
}>;
|
|
@@ -60,29 +60,29 @@ class Integrations {
|
|
|
60
60
|
this._options = _options;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* @param {string}
|
|
64
|
-
* @param {string}
|
|
63
|
+
* @param {string} integrationName - The integration name
|
|
64
|
+
* @param {string} integrationProvider - The integration provider name
|
|
65
65
|
* @param {string} toolName - The tool's unique name, as specified by the integration provider
|
|
66
66
|
* @param {Integrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
|
-
* await client.integrations.retrieveIntegrationToolDefinition("
|
|
69
|
+
* await client.integrations.retrieveIntegrationToolDefinition("integration_name", "integration_provider", "tool_name")
|
|
70
70
|
*/
|
|
71
|
-
retrieveIntegrationToolDefinition(
|
|
72
|
-
return core.HttpResponsePromise.fromPromise(this.__retrieveIntegrationToolDefinition(
|
|
71
|
+
retrieveIntegrationToolDefinition(integrationName, integrationProvider, toolName, requestOptions) {
|
|
72
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieveIntegrationToolDefinition(integrationName, integrationProvider, toolName, requestOptions));
|
|
73
73
|
}
|
|
74
|
-
__retrieveIntegrationToolDefinition(
|
|
74
|
+
__retrieveIntegrationToolDefinition(integrationName, integrationProvider, toolName, requestOptions) {
|
|
75
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
76
|
var _a, _b;
|
|
77
77
|
const _response = yield core.fetcher({
|
|
78
78
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
79
|
-
.default, `integrations/v1/providers/${encodeURIComponent(
|
|
79
|
+
.default, `integrations/v1/providers/${encodeURIComponent(integrationProvider)}/integrations/${encodeURIComponent(integrationName)}/tools/${encodeURIComponent(toolName)}`),
|
|
80
80
|
method: "GET",
|
|
81
81
|
headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
|
|
82
82
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
83
83
|
unrecognizedObjectKeys: "strip",
|
|
84
84
|
})
|
|
85
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
85
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -115,7 +115,7 @@ class Integrations {
|
|
|
115
115
|
rawResponse: _response.rawResponse,
|
|
116
116
|
});
|
|
117
117
|
case "timeout":
|
|
118
|
-
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /integrations/v1/providers/{
|
|
118
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /integrations/v1/providers/{integration_provider}/integrations/{integration_name}/tools/{tool_name}.");
|
|
119
119
|
case "unknown":
|
|
120
120
|
throw new errors.VellumError({
|
|
121
121
|
message: _response.error.errorMessage,
|
|
@@ -125,16 +125,17 @@ class Integrations {
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
* @param {string}
|
|
129
|
-
* @param {string}
|
|
128
|
+
* @param {string} integrationName - The integration name
|
|
129
|
+
* @param {string} integrationProvider - The integration provider name
|
|
130
130
|
* @param {string} toolName - The tool's unique name, as specified by the integration provider
|
|
131
131
|
* @param {Vellum.ComponentsSchemasComposioExecuteToolRequest} request
|
|
132
132
|
* @param {Integrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
133
133
|
*
|
|
134
134
|
* @throws {@link Vellum.BadRequestError}
|
|
135
|
+
* @throws {@link Vellum.ForbiddenError}
|
|
135
136
|
*
|
|
136
137
|
* @example
|
|
137
|
-
* await client.integrations.executeIntegrationTool("
|
|
138
|
+
* await client.integrations.executeIntegrationTool("integration_name", "integration_provider", "tool_name", {
|
|
138
139
|
* provider: "COMPOSIO",
|
|
139
140
|
* arguments: {
|
|
140
141
|
* "arguments": {
|
|
@@ -143,21 +144,21 @@ class Integrations {
|
|
|
143
144
|
* }
|
|
144
145
|
* })
|
|
145
146
|
*/
|
|
146
|
-
executeIntegrationTool(
|
|
147
|
-
return core.HttpResponsePromise.fromPromise(this.__executeIntegrationTool(
|
|
147
|
+
executeIntegrationTool(integrationName, integrationProvider, toolName, request, requestOptions) {
|
|
148
|
+
return core.HttpResponsePromise.fromPromise(this.__executeIntegrationTool(integrationName, integrationProvider, toolName, request, requestOptions));
|
|
148
149
|
}
|
|
149
|
-
__executeIntegrationTool(
|
|
150
|
+
__executeIntegrationTool(integrationName, integrationProvider, toolName, request, requestOptions) {
|
|
150
151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
151
152
|
var _a, _b;
|
|
152
153
|
const _response = yield core.fetcher({
|
|
153
154
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
154
|
-
.default, `integrations/v1/providers/${encodeURIComponent(
|
|
155
|
+
.default, `integrations/v1/providers/${encodeURIComponent(integrationProvider)}/integrations/${encodeURIComponent(integrationName)}/tools/${encodeURIComponent(toolName)}/execute`),
|
|
155
156
|
method: "POST",
|
|
156
157
|
headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
|
|
157
158
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
158
159
|
unrecognizedObjectKeys: "strip",
|
|
159
160
|
})
|
|
160
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
161
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
161
162
|
contentType: "application/json",
|
|
162
163
|
requestType: "json",
|
|
163
164
|
body: serializers.ComponentsSchemasComposioExecuteToolRequest.jsonOrThrow(request, {
|
|
@@ -182,6 +183,8 @@ class Integrations {
|
|
|
182
183
|
switch (_response.error.statusCode) {
|
|
183
184
|
case 400:
|
|
184
185
|
throw new Vellum.BadRequestError(_response.error.body, _response.rawResponse);
|
|
186
|
+
case 403:
|
|
187
|
+
throw new Vellum.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
185
188
|
default:
|
|
186
189
|
throw new errors.VellumError({
|
|
187
190
|
statusCode: _response.error.statusCode,
|
|
@@ -198,7 +201,155 @@ class Integrations {
|
|
|
198
201
|
rawResponse: _response.rawResponse,
|
|
199
202
|
});
|
|
200
203
|
case "timeout":
|
|
201
|
-
throw new errors.VellumTimeoutError("Timeout exceeded when calling POST /integrations/v1/providers/{
|
|
204
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling POST /integrations/v1/providers/{integration_provider}/integrations/{integration_name}/tools/{tool_name}/execute.");
|
|
205
|
+
case "unknown":
|
|
206
|
+
throw new errors.VellumError({
|
|
207
|
+
message: _response.error.errorMessage,
|
|
208
|
+
rawResponse: _response.rawResponse,
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* List all integrations
|
|
215
|
+
*
|
|
216
|
+
* @param {Vellum.IntegrationsListRequest} request
|
|
217
|
+
* @param {Integrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
218
|
+
*
|
|
219
|
+
* @example
|
|
220
|
+
* await client.integrations.list()
|
|
221
|
+
*/
|
|
222
|
+
list(request = {}, requestOptions) {
|
|
223
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
224
|
+
}
|
|
225
|
+
__list() {
|
|
226
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
227
|
+
var _a, _b, _c, _d;
|
|
228
|
+
const { integrationProvider, limit, offset, ordering, search } = request;
|
|
229
|
+
const _queryParams = {};
|
|
230
|
+
if (integrationProvider !== undefined) {
|
|
231
|
+
_queryParams["integration_provider"] = integrationProvider;
|
|
232
|
+
}
|
|
233
|
+
if (limit !== undefined) {
|
|
234
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
235
|
+
}
|
|
236
|
+
if (offset !== undefined) {
|
|
237
|
+
_queryParams["offset"] = (_b = offset === null || offset === void 0 ? void 0 : offset.toString()) !== null && _b !== void 0 ? _b : null;
|
|
238
|
+
}
|
|
239
|
+
if (ordering !== undefined) {
|
|
240
|
+
_queryParams["ordering"] = ordering;
|
|
241
|
+
}
|
|
242
|
+
if (search !== undefined) {
|
|
243
|
+
_queryParams["search"] = search;
|
|
244
|
+
}
|
|
245
|
+
const _response = yield core.fetcher({
|
|
246
|
+
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
247
|
+
.default, "v1/integrations"),
|
|
248
|
+
method: "GET",
|
|
249
|
+
headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
|
|
250
|
+
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
251
|
+
unrecognizedObjectKeys: "strip",
|
|
252
|
+
})
|
|
253
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
254
|
+
contentType: "application/json",
|
|
255
|
+
queryParameters: _queryParams,
|
|
256
|
+
requestType: "json",
|
|
257
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
258
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
259
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
260
|
+
});
|
|
261
|
+
if (_response.ok) {
|
|
262
|
+
return {
|
|
263
|
+
data: serializers.PaginatedSlimIntegrationReadList.parseOrThrow(_response.body, {
|
|
264
|
+
unrecognizedObjectKeys: "passthrough",
|
|
265
|
+
allowUnrecognizedUnionMembers: true,
|
|
266
|
+
allowUnrecognizedEnumValues: true,
|
|
267
|
+
breadcrumbsPrefix: ["response"],
|
|
268
|
+
}),
|
|
269
|
+
rawResponse: _response.rawResponse,
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
if (_response.error.reason === "status-code") {
|
|
273
|
+
throw new errors.VellumError({
|
|
274
|
+
statusCode: _response.error.statusCode,
|
|
275
|
+
body: _response.error.body,
|
|
276
|
+
rawResponse: _response.rawResponse,
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
switch (_response.error.reason) {
|
|
280
|
+
case "non-json":
|
|
281
|
+
throw new errors.VellumError({
|
|
282
|
+
statusCode: _response.error.statusCode,
|
|
283
|
+
body: _response.error.rawBody,
|
|
284
|
+
rawResponse: _response.rawResponse,
|
|
285
|
+
});
|
|
286
|
+
case "timeout":
|
|
287
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/integrations.");
|
|
288
|
+
case "unknown":
|
|
289
|
+
throw new errors.VellumError({
|
|
290
|
+
message: _response.error.errorMessage,
|
|
291
|
+
rawResponse: _response.rawResponse,
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Retrieve an integration
|
|
298
|
+
*
|
|
299
|
+
* @param {string} id - A UUID string identifying this integration.
|
|
300
|
+
* @param {Integrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
301
|
+
*
|
|
302
|
+
* @example
|
|
303
|
+
* await client.integrations.retrieve("id")
|
|
304
|
+
*/
|
|
305
|
+
retrieve(id, requestOptions) {
|
|
306
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieve(id, requestOptions));
|
|
307
|
+
}
|
|
308
|
+
__retrieve(id, requestOptions) {
|
|
309
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
310
|
+
var _a, _b;
|
|
311
|
+
const _response = yield core.fetcher({
|
|
312
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
313
|
+
.default, `v1/integrations/${encodeURIComponent(id)}`),
|
|
314
|
+
method: "GET",
|
|
315
|
+
headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
|
|
316
|
+
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
317
|
+
unrecognizedObjectKeys: "strip",
|
|
318
|
+
})
|
|
319
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
320
|
+
contentType: "application/json",
|
|
321
|
+
requestType: "json",
|
|
322
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
323
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
324
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
325
|
+
});
|
|
326
|
+
if (_response.ok) {
|
|
327
|
+
return {
|
|
328
|
+
data: serializers.IntegrationRead.parseOrThrow(_response.body, {
|
|
329
|
+
unrecognizedObjectKeys: "passthrough",
|
|
330
|
+
allowUnrecognizedUnionMembers: true,
|
|
331
|
+
allowUnrecognizedEnumValues: true,
|
|
332
|
+
breadcrumbsPrefix: ["response"],
|
|
333
|
+
}),
|
|
334
|
+
rawResponse: _response.rawResponse,
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
if (_response.error.reason === "status-code") {
|
|
338
|
+
throw new errors.VellumError({
|
|
339
|
+
statusCode: _response.error.statusCode,
|
|
340
|
+
body: _response.error.body,
|
|
341
|
+
rawResponse: _response.rawResponse,
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
switch (_response.error.reason) {
|
|
345
|
+
case "non-json":
|
|
346
|
+
throw new errors.VellumError({
|
|
347
|
+
statusCode: _response.error.statusCode,
|
|
348
|
+
body: _response.error.rawBody,
|
|
349
|
+
rawResponse: _response.rawResponse,
|
|
350
|
+
});
|
|
351
|
+
case "timeout":
|
|
352
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/integrations/{id}.");
|
|
202
353
|
case "unknown":
|
|
203
354
|
throw new errors.VellumError({
|
|
204
355
|
message: _response.error.errorMessage,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests";
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface IntegrationsListRequest {
|
|
9
|
+
/**
|
|
10
|
+
* * `COMPOSIO` - Composio
|
|
11
|
+
*/
|
|
12
|
+
integrationProvider?: "COMPOSIO" | null;
|
|
13
|
+
/**
|
|
14
|
+
* Number of results to return per page.
|
|
15
|
+
*/
|
|
16
|
+
limit?: number | null;
|
|
17
|
+
/**
|
|
18
|
+
* The initial index from which to return the results.
|
|
19
|
+
*/
|
|
20
|
+
offset?: number | null;
|
|
21
|
+
/**
|
|
22
|
+
* Which field to use when ordering the results.
|
|
23
|
+
*/
|
|
24
|
+
ordering?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* A search term.
|
|
27
|
+
*/
|
|
28
|
+
search?: string | null;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type IntegrationsListRequest } from "./IntegrationsListRequest";
|
|
@@ -90,7 +90,7 @@ class MetricDefinitions {
|
|
|
90
90
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
91
91
|
unrecognizedObjectKeys: "strip",
|
|
92
92
|
})
|
|
93
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
93
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
requestType: "json",
|
|
96
96
|
body: serializers.ExecuteMetricDefinition.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -155,7 +155,7 @@ class MetricDefinitions {
|
|
|
155
155
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
156
156
|
unrecognizedObjectKeys: "strip",
|
|
157
157
|
})
|
|
158
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
158
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
requestType: "json",
|
|
161
161
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -81,7 +81,7 @@ class MlModels {
|
|
|
81
81
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
82
82
|
unrecognizedObjectKeys: "strip",
|
|
83
83
|
})
|
|
84
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -80,7 +80,7 @@ class Organizations {
|
|
|
80
80
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
81
81
|
unrecognizedObjectKeys: "strip",
|
|
82
82
|
})
|
|
83
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
83
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
requestType: "json",
|
|
86
86
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -91,7 +91,7 @@ class Prompts {
|
|
|
91
91
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
92
92
|
unrecognizedObjectKeys: "strip",
|
|
93
93
|
})
|
|
94
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
94
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, Accept: "application/json" }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
95
95
|
contentType: "application/json",
|
|
96
96
|
queryParameters: _queryParams,
|
|
97
97
|
requestType: "json",
|
|
@@ -188,7 +188,7 @@ class Prompts {
|
|
|
188
188
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
189
189
|
unrecognizedObjectKeys: "strip",
|
|
190
190
|
})
|
|
191
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
191
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
192
192
|
contentType: "application/json",
|
|
193
193
|
requestType: "json",
|
|
194
194
|
body: serializers.PromptPush.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -81,7 +81,7 @@ class Sandboxes {
|
|
|
81
81
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
82
82
|
unrecognizedObjectKeys: "strip",
|
|
83
83
|
})
|
|
84
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -162,7 +162,7 @@ class Sandboxes {
|
|
|
162
162
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
163
163
|
unrecognizedObjectKeys: "strip",
|
|
164
164
|
})
|
|
165
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
165
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
166
166
|
contentType: "application/json",
|
|
167
167
|
requestType: "json",
|
|
168
168
|
body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -229,7 +229,7 @@ class Sandboxes {
|
|
|
229
229
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
230
230
|
unrecognizedObjectKeys: "strip",
|
|
231
231
|
})
|
|
232
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
232
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
233
233
|
contentType: "application/json",
|
|
234
234
|
requestType: "json",
|
|
235
235
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -88,7 +88,7 @@ class TestSuiteRuns {
|
|
|
88
88
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
89
89
|
unrecognizedObjectKeys: "strip",
|
|
90
90
|
})
|
|
91
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
91
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
requestType: "json",
|
|
94
94
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -154,7 +154,7 @@ class TestSuiteRuns {
|
|
|
154
154
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
155
155
|
unrecognizedObjectKeys: "strip",
|
|
156
156
|
})
|
|
157
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
157
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
requestType: "json",
|
|
160
160
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -234,7 +234,7 @@ class TestSuiteRuns {
|
|
|
234
234
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
235
235
|
unrecognizedObjectKeys: "strip",
|
|
236
236
|
})
|
|
237
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
237
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
238
238
|
contentType: "application/json",
|
|
239
239
|
queryParameters: _queryParams,
|
|
240
240
|
requestType: "json",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
export interface TestSuiteRunsListExecutionsRequest {
|
|
9
9
|
/**
|
|
10
10
|
* The response fields to expand for more information.
|
|
11
|
-
* - '
|
|
12
|
-
* - '
|
|
13
|
-
* - '
|
|
11
|
+
* - 'metric_results.metric_label' expands the metric label for each metric result.
|
|
12
|
+
* - 'metric_results.metric_definition' expands the metric definition for each metric result.
|
|
13
|
+
* - 'metric_results.metric_definition.name' expands the metric definition name for each metric result.
|
|
14
14
|
*/
|
|
15
15
|
expand?: string | string[];
|
|
16
16
|
/**
|