vellum-ai 1.5.4 → 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
|
@@ -99,7 +99,7 @@ class Documents {
|
|
|
99
99
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
100
100
|
unrecognizedObjectKeys: "strip",
|
|
101
101
|
})
|
|
102
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
102
|
+
: "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),
|
|
103
103
|
contentType: "application/json",
|
|
104
104
|
queryParameters: _queryParams,
|
|
105
105
|
requestType: "json",
|
|
@@ -165,7 +165,7 @@ class Documents {
|
|
|
165
165
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
166
166
|
unrecognizedObjectKeys: "strip",
|
|
167
167
|
})
|
|
168
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
168
|
+
: "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),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
requestType: "json",
|
|
171
171
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -230,7 +230,7 @@ class Documents {
|
|
|
230
230
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
231
231
|
unrecognizedObjectKeys: "strip",
|
|
232
232
|
})
|
|
233
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
233
|
+
: "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),
|
|
234
234
|
contentType: "application/json",
|
|
235
235
|
requestType: "json",
|
|
236
236
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -288,7 +288,7 @@ class Documents {
|
|
|
288
288
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
289
289
|
unrecognizedObjectKeys: "strip",
|
|
290
290
|
})
|
|
291
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
291
|
+
: "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),
|
|
292
292
|
contentType: "application/json",
|
|
293
293
|
requestType: "json",
|
|
294
294
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -378,7 +378,7 @@ class Documents {
|
|
|
378
378
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
379
379
|
unrecognizedObjectKeys: "strip",
|
|
380
380
|
})
|
|
381
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
381
|
+
: "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())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
382
382
|
requestType: "file",
|
|
383
383
|
duplex: _maybeEncodedRequest.duplex,
|
|
384
384
|
body: _maybeEncodedRequest.body,
|
|
@@ -123,7 +123,7 @@ class Events {
|
|
|
123
123
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
124
124
|
unrecognizedObjectKeys: "strip",
|
|
125
125
|
})
|
|
126
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
126
|
+
: "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),
|
|
127
127
|
contentType: "application/json",
|
|
128
128
|
requestType: "json",
|
|
129
129
|
body: serializers.CreateWorkflowEventRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -98,7 +98,7 @@ class FolderEntities {
|
|
|
98
98
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
99
99
|
unrecognizedObjectKeys: "strip",
|
|
100
100
|
})
|
|
101
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
101
|
+
: "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),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -174,7 +174,7 @@ class FolderEntities {
|
|
|
174
174
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
175
175
|
unrecognizedObjectKeys: "strip",
|
|
176
176
|
})
|
|
177
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.
|
|
177
|
+
: "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),
|
|
178
178
|
contentType: "application/json",
|
|
179
179
|
requestType: "json",
|
|
180
180
|
body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -13,6 +13,8 @@ export * as events from "./events";
|
|
|
13
13
|
export * as adHoc from "./adHoc";
|
|
14
14
|
export * as containerImages from "./containerImages";
|
|
15
15
|
export * as documents from "./documents";
|
|
16
|
+
export * as integrationAuthConfigs from "./integrationAuthConfigs";
|
|
17
|
+
export * as integrationProviders from "./integrationProviders";
|
|
16
18
|
export * as metricDefinitions from "./metricDefinitions";
|
|
17
19
|
export * as mlModels from "./mlModels";
|
|
18
20
|
export * as organizations from "./organizations";
|
|
@@ -24,12 +26,15 @@ export * as workflowExecutions from "./workflowExecutions";
|
|
|
24
26
|
export * as workflows from "./workflows";
|
|
25
27
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
26
28
|
export * as workspaces from "./workspaces";
|
|
29
|
+
export * from "./integrations/client/requests";
|
|
27
30
|
export * from "./adHoc/client/requests";
|
|
28
31
|
export * from "./containerImages/client/requests";
|
|
29
32
|
export * from "./deployments/client/requests";
|
|
30
33
|
export * from "./documentIndexes/client/requests";
|
|
31
34
|
export * from "./documents/client/requests";
|
|
32
35
|
export * from "./folderEntities/client/requests";
|
|
36
|
+
export * from "./integrationAuthConfigs/client/requests";
|
|
37
|
+
export * from "./integrationProviders/client/requests";
|
|
33
38
|
export * from "./metricDefinitions/client/requests";
|
|
34
39
|
export * from "./prompts/client/requests";
|
|
35
40
|
export * from "./sandboxes/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.workspaces = exports.workspaceSecrets = exports.workflows = exports.workflowExecutions = exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.prompts = exports.organizations = exports.mlModels = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.events = exports.integrations = exports.workflowSandboxes = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
39
|
+
exports.workspaces = exports.workspaceSecrets = exports.workflows = exports.workflowExecutions = exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.prompts = exports.organizations = exports.mlModels = exports.metricDefinitions = exports.integrationProviders = exports.integrationAuthConfigs = exports.documents = exports.containerImages = exports.adHoc = exports.events = exports.integrations = exports.workflowSandboxes = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
40
40
|
exports.deployments = __importStar(require("./deployments"));
|
|
41
41
|
__exportStar(require("./deployments/types"), exports);
|
|
42
42
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
@@ -52,6 +52,8 @@ exports.events = __importStar(require("./events"));
|
|
|
52
52
|
exports.adHoc = __importStar(require("./adHoc"));
|
|
53
53
|
exports.containerImages = __importStar(require("./containerImages"));
|
|
54
54
|
exports.documents = __importStar(require("./documents"));
|
|
55
|
+
exports.integrationAuthConfigs = __importStar(require("./integrationAuthConfigs"));
|
|
56
|
+
exports.integrationProviders = __importStar(require("./integrationProviders"));
|
|
55
57
|
exports.metricDefinitions = __importStar(require("./metricDefinitions"));
|
|
56
58
|
exports.mlModels = __importStar(require("./mlModels"));
|
|
57
59
|
exports.organizations = __importStar(require("./organizations"));
|
|
@@ -63,12 +65,15 @@ exports.workflowExecutions = __importStar(require("./workflowExecutions"));
|
|
|
63
65
|
exports.workflows = __importStar(require("./workflows"));
|
|
64
66
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
65
67
|
exports.workspaces = __importStar(require("./workspaces"));
|
|
68
|
+
__exportStar(require("./integrations/client/requests"), exports);
|
|
66
69
|
__exportStar(require("./adHoc/client/requests"), exports);
|
|
67
70
|
__exportStar(require("./containerImages/client/requests"), exports);
|
|
68
71
|
__exportStar(require("./deployments/client/requests"), exports);
|
|
69
72
|
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
70
73
|
__exportStar(require("./documents/client/requests"), exports);
|
|
71
74
|
__exportStar(require("./folderEntities/client/requests"), exports);
|
|
75
|
+
__exportStar(require("./integrationAuthConfigs/client/requests"), exports);
|
|
76
|
+
__exportStar(require("./integrationProviders/client/requests"), exports);
|
|
72
77
|
__exportStar(require("./metricDefinitions/client/requests"), exports);
|
|
73
78
|
__exportStar(require("./prompts/client/requests"), exports);
|
|
74
79
|
__exportStar(require("./sandboxes/client/requests"), exports);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import * as Vellum from "../../../index";
|
|
7
|
+
export declare namespace IntegrationAuthConfigs {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
apiKey: core.Supplier<string>;
|
|
13
|
+
/** Override the X-API-Version header */
|
|
14
|
+
apiVersion?: core.Supplier<Vellum.ApiVersionEnum | undefined>;
|
|
15
|
+
}
|
|
16
|
+
interface RequestOptions {
|
|
17
|
+
/** The maximum time to wait for a response in seconds. */
|
|
18
|
+
timeoutInSeconds?: number;
|
|
19
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
20
|
+
maxRetries?: number;
|
|
21
|
+
/** A hook to abort the request. */
|
|
22
|
+
abortSignal?: AbortSignal;
|
|
23
|
+
/** Override the X-API-Version header */
|
|
24
|
+
apiVersion?: Vellum.ApiVersionEnum | undefined;
|
|
25
|
+
/** Additional headers to include in the request. */
|
|
26
|
+
headers?: Record<string, string>;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare class IntegrationAuthConfigs {
|
|
30
|
+
protected readonly _options: IntegrationAuthConfigs.Options;
|
|
31
|
+
constructor(_options: IntegrationAuthConfigs.Options);
|
|
32
|
+
/**
|
|
33
|
+
* List Integration Auth Configs
|
|
34
|
+
*
|
|
35
|
+
* @param {Vellum.ListIntegrationAuthConfigsRequest} request
|
|
36
|
+
* @param {IntegrationAuthConfigs.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* await client.integrationAuthConfigs.listIntegrationAuthConfigs()
|
|
40
|
+
*/
|
|
41
|
+
listIntegrationAuthConfigs(request?: Vellum.ListIntegrationAuthConfigsRequest, requestOptions?: IntegrationAuthConfigs.RequestOptions): core.HttpResponsePromise<Vellum.PaginatedSlimIntegrationAuthConfigReadList>;
|
|
42
|
+
private __listIntegrationAuthConfigs;
|
|
43
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
44
|
+
"X-API-KEY": string;
|
|
45
|
+
}>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.IntegrationAuthConfigs = void 0;
|
|
52
|
+
const environments = __importStar(require("../../../../environments"));
|
|
53
|
+
const core = __importStar(require("../../../../core"));
|
|
54
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
55
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
56
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
57
|
+
class IntegrationAuthConfigs {
|
|
58
|
+
constructor(_options) {
|
|
59
|
+
this._options = _options;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* List Integration Auth Configs
|
|
63
|
+
*
|
|
64
|
+
* @param {Vellum.ListIntegrationAuthConfigsRequest} request
|
|
65
|
+
* @param {IntegrationAuthConfigs.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.integrationAuthConfigs.listIntegrationAuthConfigs()
|
|
69
|
+
*/
|
|
70
|
+
listIntegrationAuthConfigs(request = {}, requestOptions) {
|
|
71
|
+
return core.HttpResponsePromise.fromPromise(this.__listIntegrationAuthConfigs(request, requestOptions));
|
|
72
|
+
}
|
|
73
|
+
__listIntegrationAuthConfigs() {
|
|
74
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
75
|
+
var _a, _b, _c, _d;
|
|
76
|
+
const { expand, integrationName, integrationProvider, limit, offset, ordering, search } = request;
|
|
77
|
+
const _queryParams = {};
|
|
78
|
+
if (expand != null) {
|
|
79
|
+
if (Array.isArray(expand)) {
|
|
80
|
+
_queryParams["expand"] = expand.map((item) => item);
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
_queryParams["expand"] = expand;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
if (integrationName !== undefined) {
|
|
87
|
+
_queryParams["integration_name"] = integrationName;
|
|
88
|
+
}
|
|
89
|
+
if (integrationProvider !== undefined) {
|
|
90
|
+
_queryParams["integration_provider"] = integrationProvider;
|
|
91
|
+
}
|
|
92
|
+
if (limit !== undefined) {
|
|
93
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
94
|
+
}
|
|
95
|
+
if (offset !== undefined) {
|
|
96
|
+
_queryParams["offset"] = (_b = offset === null || offset === void 0 ? void 0 : offset.toString()) !== null && _b !== void 0 ? _b : null;
|
|
97
|
+
}
|
|
98
|
+
if (ordering !== undefined) {
|
|
99
|
+
_queryParams["ordering"] = ordering;
|
|
100
|
+
}
|
|
101
|
+
if (search !== undefined) {
|
|
102
|
+
_queryParams["search"] = search;
|
|
103
|
+
}
|
|
104
|
+
const _response = yield core.fetcher({
|
|
105
|
+
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)
|
|
106
|
+
.default, "v1/integration-auth-configs"),
|
|
107
|
+
method: "GET",
|
|
108
|
+
headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
|
|
109
|
+
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
110
|
+
unrecognizedObjectKeys: "strip",
|
|
111
|
+
})
|
|
112
|
+
: "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),
|
|
113
|
+
contentType: "application/json",
|
|
114
|
+
queryParameters: _queryParams,
|
|
115
|
+
requestType: "json",
|
|
116
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
117
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
118
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
119
|
+
});
|
|
120
|
+
if (_response.ok) {
|
|
121
|
+
return {
|
|
122
|
+
data: serializers.PaginatedSlimIntegrationAuthConfigReadList.parseOrThrow(_response.body, {
|
|
123
|
+
unrecognizedObjectKeys: "passthrough",
|
|
124
|
+
allowUnrecognizedUnionMembers: true,
|
|
125
|
+
allowUnrecognizedEnumValues: true,
|
|
126
|
+
breadcrumbsPrefix: ["response"],
|
|
127
|
+
}),
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
if (_response.error.reason === "status-code") {
|
|
132
|
+
throw new errors.VellumError({
|
|
133
|
+
statusCode: _response.error.statusCode,
|
|
134
|
+
body: _response.error.body,
|
|
135
|
+
rawResponse: _response.rawResponse,
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
switch (_response.error.reason) {
|
|
139
|
+
case "non-json":
|
|
140
|
+
throw new errors.VellumError({
|
|
141
|
+
statusCode: _response.error.statusCode,
|
|
142
|
+
body: _response.error.rawBody,
|
|
143
|
+
rawResponse: _response.rawResponse,
|
|
144
|
+
});
|
|
145
|
+
case "timeout":
|
|
146
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/integration-auth-configs.");
|
|
147
|
+
case "unknown":
|
|
148
|
+
throw new errors.VellumError({
|
|
149
|
+
message: _response.error.errorMessage,
|
|
150
|
+
rawResponse: _response.rawResponse,
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
_getCustomAuthorizationHeaders() {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
158
|
+
return { "X-API-KEY": apiKeyValue };
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
exports.IntegrationAuthConfigs = IntegrationAuthConfigs;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -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,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ListIntegrationAuthConfigsRequest {
|
|
9
|
+
/**
|
|
10
|
+
* The response fields to expand for more information.
|
|
11
|
+
* - 'integration_credentials' expands the list of integration credentials that the authenticated entity has access to for the auth config.
|
|
12
|
+
*/
|
|
13
|
+
expand?: string | string[];
|
|
14
|
+
integrationName?: string | null;
|
|
15
|
+
integrationProvider?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Number of results to return per page.
|
|
18
|
+
*/
|
|
19
|
+
limit?: number | null;
|
|
20
|
+
/**
|
|
21
|
+
* The initial index from which to return the results.
|
|
22
|
+
*/
|
|
23
|
+
offset?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Which field to use when ordering the results.
|
|
26
|
+
*/
|
|
27
|
+
ordering?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* A search term.
|
|
30
|
+
*/
|
|
31
|
+
search?: string | null;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type ListIntegrationAuthConfigsRequest } from "./ListIntegrationAuthConfigsRequest";
|
|
@@ -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);
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import * as Vellum from "../../../index";
|
|
7
|
+
export declare namespace IntegrationProviders {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
apiKey: core.Supplier<string>;
|
|
13
|
+
/** Override the X-API-Version header */
|
|
14
|
+
apiVersion?: core.Supplier<Vellum.ApiVersionEnum | undefined>;
|
|
15
|
+
}
|
|
16
|
+
interface RequestOptions {
|
|
17
|
+
/** The maximum time to wait for a response in seconds. */
|
|
18
|
+
timeoutInSeconds?: number;
|
|
19
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
20
|
+
maxRetries?: number;
|
|
21
|
+
/** A hook to abort the request. */
|
|
22
|
+
abortSignal?: AbortSignal;
|
|
23
|
+
/** Override the X-API-Version header */
|
|
24
|
+
apiVersion?: Vellum.ApiVersionEnum | undefined;
|
|
25
|
+
/** Additional headers to include in the request. */
|
|
26
|
+
headers?: Record<string, string>;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare class IntegrationProviders {
|
|
30
|
+
protected readonly _options: IntegrationProviders.Options;
|
|
31
|
+
constructor(_options: IntegrationProviders.Options);
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve a specific integration tool definition.
|
|
34
|
+
*
|
|
35
|
+
* @param {string} integrationName - The integration name
|
|
36
|
+
* @param {string} integrationProvider - The integration provider name
|
|
37
|
+
* @param {string} toolName - The tool's unique name, as specified by the integration provider
|
|
38
|
+
* @param {IntegrationProviders.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* await client.integrationProviders.retrieveIntegrationProviderToolDefinition("integration_name", "integration_provider", "tool_name")
|
|
42
|
+
*/
|
|
43
|
+
retrieveIntegrationProviderToolDefinition(integrationName: string, integrationProvider: string, toolName: string, requestOptions?: IntegrationProviders.RequestOptions): core.HttpResponsePromise<Vellum.ComponentsSchemasComposioToolDefinition>;
|
|
44
|
+
private __retrieveIntegrationProviderToolDefinition;
|
|
45
|
+
/**
|
|
46
|
+
* List all integration tools for a given provider and integration.
|
|
47
|
+
*
|
|
48
|
+
* @param {string} integrationProvider - The integration provider name
|
|
49
|
+
* @param {Vellum.ListIntegrationToolsRequest} request
|
|
50
|
+
* @param {IntegrationProviders.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* await client.integrationProviders.listIntegrationTools("integration_provider")
|
|
54
|
+
*/
|
|
55
|
+
listIntegrationTools(integrationProvider: string, request?: Vellum.ListIntegrationToolsRequest, requestOptions?: IntegrationProviders.RequestOptions): core.HttpResponsePromise<Vellum.PaginatedSlimToolDefinitionList>;
|
|
56
|
+
private __listIntegrationTools;
|
|
57
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
58
|
+
"X-API-KEY": string;
|
|
59
|
+
}>;
|
|
60
|
+
}
|