vellum-ai 1.7.10 → 1.7.12
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.js +11 -11
- 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/integrationAuthConfigs/client/Client.js +1 -1
- package/api/resources/integrationProviders/client/Client.js +2 -2
- package/api/resources/integrations/client/Client.js +4 -4
- 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/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +10 -10
- 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 +4 -4
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/AuthTypeEnum.d.ts +12 -0
- package/api/types/AuthTypeEnum.js +10 -0
- package/api/types/IntegrationName.d.ts +9 -1
- package/api/types/IntegrationName.js +4 -0
- package/api/types/SlimIntegrationAuthConfigRead.d.ts +1 -0
- package/api/types/SlimWorkflowExecutionRead.d.ts +2 -2
- package/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/api/types/VellumErrorCodeEnum.js +1 -0
- package/api/types/VellumSdkErrorCodeEnum.d.ts +3 -1
- package/api/types/VellumSdkErrorCodeEnum.js +1 -0
- package/api/types/WorkflowEventExecutionRead.d.ts +2 -2
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/api/types/WorkflowExecutionSnapshottedBody.d.ts +1 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.js +11 -11
- 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/integrationAuthConfigs/client/Client.js +1 -1
- package/dist/api/resources/integrationProviders/client/Client.js +2 -2
- package/dist/api/resources/integrations/client/Client.js +4 -4
- 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/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +10 -10
- 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 +4 -4
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/AuthTypeEnum.d.ts +12 -0
- package/dist/api/types/AuthTypeEnum.js +10 -0
- package/dist/api/types/IntegrationName.d.ts +9 -1
- package/dist/api/types/IntegrationName.js +4 -0
- package/dist/api/types/SlimIntegrationAuthConfigRead.d.ts +1 -0
- package/dist/api/types/SlimWorkflowExecutionRead.d.ts +2 -2
- package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/dist/api/types/VellumErrorCodeEnum.js +1 -0
- package/dist/api/types/VellumSdkErrorCodeEnum.d.ts +3 -1
- package/dist/api/types/VellumSdkErrorCodeEnum.js +1 -0
- package/dist/api/types/WorkflowEventExecutionRead.d.ts +2 -2
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/api/types/WorkflowExecutionSnapshottedBody.d.ts +1 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/AuthTypeEnum.d.ts +10 -0
- package/dist/serialization/types/AuthTypeEnum.js +41 -0
- package/dist/serialization/types/IntegrationName.d.ts +1 -1
- package/dist/serialization/types/IntegrationName.js +4 -0
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.d.ts +2 -0
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.js +2 -0
- package/dist/serialization/types/SlimWorkflowExecutionRead.d.ts +3 -3
- package/dist/serialization/types/SlimWorkflowExecutionRead.js +3 -3
- package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumErrorCodeEnum.js +1 -0
- package/dist/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumSdkErrorCodeEnum.js +1 -0
- package/dist/serialization/types/WorkflowEventExecutionRead.d.ts +3 -3
- package/dist/serialization/types/WorkflowEventExecutionRead.js +3 -3
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/serialization/types/WorkflowExecutionSnapshottedBody.d.ts +1 -0
- package/dist/serialization/types/WorkflowExecutionSnapshottedBody.js +1 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/AuthTypeEnum.d.ts +10 -0
- package/serialization/types/AuthTypeEnum.js +41 -0
- package/serialization/types/IntegrationName.d.ts +1 -1
- package/serialization/types/IntegrationName.js +4 -0
- package/serialization/types/SlimIntegrationAuthConfigRead.d.ts +2 -0
- package/serialization/types/SlimIntegrationAuthConfigRead.js +2 -0
- package/serialization/types/SlimWorkflowExecutionRead.d.ts +3 -3
- package/serialization/types/SlimWorkflowExecutionRead.js +3 -3
- package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumErrorCodeEnum.js +1 -0
- package/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumSdkErrorCodeEnum.js +1 -0
- package/serialization/types/WorkflowEventExecutionRead.d.ts +3 -3
- package/serialization/types/WorkflowEventExecutionRead.js +3 -3
- package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/serialization/types/WorkflowExecutionSnapshottedBody.d.ts +1 -0
- package/serialization/types/WorkflowExecutionSnapshottedBody.js +1 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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.7.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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.7.
|
|
165
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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.7.
|
|
232
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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.7.
|
|
91
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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.7.
|
|
157
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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.7.
|
|
237
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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",
|
|
@@ -90,7 +90,7 @@ class TestSuites {
|
|
|
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.7.
|
|
93
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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
|
queryParameters: _queryParams,
|
|
96
96
|
requestType: "json",
|
|
@@ -178,7 +178,7 @@ class TestSuites {
|
|
|
178
178
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
179
179
|
unrecognizedObjectKeys: "strip",
|
|
180
180
|
})
|
|
181
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
181
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -238,7 +238,7 @@ class TestSuites {
|
|
|
238
238
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
239
239
|
unrecognizedObjectKeys: "strip",
|
|
240
240
|
})
|
|
241
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
241
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
242
242
|
contentType: "application/x-ndjson",
|
|
243
243
|
requestType: "json",
|
|
244
244
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -318,7 +318,7 @@ class TestSuites {
|
|
|
318
318
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
319
319
|
unrecognizedObjectKeys: "strip",
|
|
320
320
|
})
|
|
321
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
321
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
322
322
|
contentType: "application/json",
|
|
323
323
|
requestType: "json",
|
|
324
324
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -97,7 +97,7 @@ class WorkflowDeployments {
|
|
|
97
97
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
98
98
|
unrecognizedObjectKeys: "strip",
|
|
99
99
|
})
|
|
100
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
100
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
101
101
|
contentType: "application/json",
|
|
102
102
|
queryParameters: _queryParams,
|
|
103
103
|
requestType: "json",
|
|
@@ -163,7 +163,7 @@ class WorkflowDeployments {
|
|
|
163
163
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
164
164
|
unrecognizedObjectKeys: "strip",
|
|
165
165
|
})
|
|
166
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
166
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
requestType: "json",
|
|
169
169
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -241,7 +241,7 @@ class WorkflowDeployments {
|
|
|
241
241
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
242
242
|
unrecognizedObjectKeys: "strip",
|
|
243
243
|
})
|
|
244
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
244
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
245
245
|
contentType: "application/json",
|
|
246
246
|
queryParameters: _queryParams,
|
|
247
247
|
requestType: "json",
|
|
@@ -306,7 +306,7 @@ class WorkflowDeployments {
|
|
|
306
306
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
307
307
|
unrecognizedObjectKeys: "strip",
|
|
308
308
|
})
|
|
309
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
309
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
310
310
|
contentType: "application/json",
|
|
311
311
|
requestType: "json",
|
|
312
312
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -373,7 +373,7 @@ class WorkflowDeployments {
|
|
|
373
373
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
374
374
|
unrecognizedObjectKeys: "strip",
|
|
375
375
|
})
|
|
376
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
376
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
377
377
|
contentType: "application/json",
|
|
378
378
|
requestType: "json",
|
|
379
379
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -455,7 +455,7 @@ class WorkflowDeployments {
|
|
|
455
455
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
456
456
|
unrecognizedObjectKeys: "strip",
|
|
457
457
|
})
|
|
458
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
458
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
459
459
|
contentType: "application/json",
|
|
460
460
|
queryParameters: _queryParams,
|
|
461
461
|
requestType: "json",
|
|
@@ -522,7 +522,7 @@ class WorkflowDeployments {
|
|
|
522
522
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
523
523
|
unrecognizedObjectKeys: "strip",
|
|
524
524
|
})
|
|
525
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
525
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
526
526
|
contentType: "application/json",
|
|
527
527
|
requestType: "json",
|
|
528
528
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -589,7 +589,7 @@ class WorkflowDeployments {
|
|
|
589
589
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
590
590
|
unrecognizedObjectKeys: "strip",
|
|
591
591
|
})
|
|
592
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
592
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
593
593
|
contentType: "application/json",
|
|
594
594
|
requestType: "json",
|
|
595
595
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -669,7 +669,7 @@ class WorkflowDeployments {
|
|
|
669
669
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
670
670
|
unrecognizedObjectKeys: "strip",
|
|
671
671
|
})
|
|
672
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
672
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
673
673
|
contentType: "application/json",
|
|
674
674
|
queryParameters: _queryParams,
|
|
675
675
|
requestType: "json",
|
|
@@ -736,7 +736,7 @@ class WorkflowDeployments {
|
|
|
736
736
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
737
737
|
unrecognizedObjectKeys: "strip",
|
|
738
738
|
})
|
|
739
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
739
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
740
740
|
contentType: "application/json",
|
|
741
741
|
requestType: "json",
|
|
742
742
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -88,7 +88,7 @@ class WorkflowExecutions {
|
|
|
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.7.
|
|
91
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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
|
queryParameters: _queryParams,
|
|
94
94
|
requestType: "json",
|
|
@@ -80,7 +80,7 @@ class WorkflowSandboxes {
|
|
|
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.7.
|
|
83
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -162,7 +162,7 @@ class WorkflowSandboxes {
|
|
|
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.7.
|
|
165
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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
|
queryParameters: _queryParams,
|
|
168
168
|
requestType: "json",
|
|
@@ -100,7 +100,7 @@ class Workflows {
|
|
|
100
100
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
101
101
|
unrecognizedObjectKeys: "strip",
|
|
102
102
|
})
|
|
103
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
103
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
104
104
|
contentType: "application/json",
|
|
105
105
|
queryParameters: _queryParams,
|
|
106
106
|
requestType: "json",
|
|
@@ -166,7 +166,7 @@ class Workflows {
|
|
|
166
166
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
167
167
|
unrecognizedObjectKeys: "strip",
|
|
168
168
|
})
|
|
169
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
169
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
requestType: "json",
|
|
172
172
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -247,7 +247,7 @@ class Workflows {
|
|
|
247
247
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
248
248
|
unrecognizedObjectKeys: "strip",
|
|
249
249
|
})
|
|
250
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
250
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
251
251
|
requestType: "file",
|
|
252
252
|
duplex: _maybeEncodedRequest.duplex,
|
|
253
253
|
body: _maybeEncodedRequest.body,
|
|
@@ -319,7 +319,7 @@ class Workflows {
|
|
|
319
319
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
320
320
|
unrecognizedObjectKeys: "strip",
|
|
321
321
|
})
|
|
322
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
322
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
323
323
|
contentType: "application/json",
|
|
324
324
|
requestType: "json",
|
|
325
325
|
body: serializers.SerializeWorkflowFilesRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -81,7 +81,7 @@ class WorkspaceSecrets {
|
|
|
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.7.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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,
|
|
@@ -147,7 +147,7 @@ class WorkspaceSecrets {
|
|
|
147
147
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
148
148
|
unrecognizedObjectKeys: "strip",
|
|
149
149
|
})
|
|
150
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
150
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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),
|
|
151
151
|
contentType: "application/json",
|
|
152
152
|
requestType: "json",
|
|
153
153
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -80,7 +80,7 @@ class Workspaces {
|
|
|
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.7.
|
|
83
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.12", "User-Agent": "vellum-ai/1.7.12", "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,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* * `API_KEY` - API Key
|
|
6
|
+
* * `OAUTH2` - OAuth2
|
|
7
|
+
*/
|
|
8
|
+
export type AuthTypeEnum = "API_KEY" | "OAUTH2";
|
|
9
|
+
export declare const AuthTypeEnum: {
|
|
10
|
+
readonly ApiKey: "API_KEY";
|
|
11
|
+
readonly Oauth2: "OAUTH2";
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AuthTypeEnum = void 0;
|
|
7
|
+
exports.AuthTypeEnum = {
|
|
8
|
+
ApiKey: "API_KEY",
|
|
9
|
+
Oauth2: "OAUTH2",
|
|
10
|
+
};
|
|
@@ -14,8 +14,12 @@
|
|
|
14
14
|
* * `GOOGLE_DRIVE` - Google Drive
|
|
15
15
|
* * `GMAIL` - Gmail
|
|
16
16
|
* * `AIRTABLE` - Airtable
|
|
17
|
+
* * `GAMMA` - Gamma
|
|
18
|
+
* * `FIRECRAWL` - Firecrawl
|
|
19
|
+
* * `PERPLEXITY` - Perplexity
|
|
20
|
+
* * `SERPAPI` - Serp Api
|
|
17
21
|
*/
|
|
18
|
-
export type IntegrationName = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "HUBSPOT" | "LINEAR" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE";
|
|
22
|
+
export type IntegrationName = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "HUBSPOT" | "LINEAR" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "GAMMA" | "FIRECRAWL" | "PERPLEXITY" | "SERPAPI";
|
|
19
23
|
export declare const IntegrationName: {
|
|
20
24
|
readonly Slack: "SLACK";
|
|
21
25
|
readonly Notion: "NOTION";
|
|
@@ -29,4 +33,8 @@ export declare const IntegrationName: {
|
|
|
29
33
|
readonly GoogleDrive: "GOOGLE_DRIVE";
|
|
30
34
|
readonly Gmail: "GMAIL";
|
|
31
35
|
readonly Airtable: "AIRTABLE";
|
|
36
|
+
readonly Gamma: "GAMMA";
|
|
37
|
+
readonly Firecrawl: "FIRECRAWL";
|
|
38
|
+
readonly Perplexity: "PERPLEXITY";
|
|
39
|
+
readonly Serpapi: "SERPAPI";
|
|
32
40
|
};
|
|
@@ -9,5 +9,6 @@ export interface SlimIntegrationAuthConfigRead {
|
|
|
9
9
|
id: string;
|
|
10
10
|
integration: Vellum.IntegrationAuthConfigIntegration;
|
|
11
11
|
integrationCredentials?: Vellum.IntegrationAuthConfigIntegrationCredential[] | null;
|
|
12
|
+
authType?: Vellum.AuthTypeEnum;
|
|
12
13
|
defaultAccessType?: Vellum.IntegrationCredentialAccessType;
|
|
13
14
|
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface SlimWorkflowExecutionRead {
|
|
6
6
|
spanId: string;
|
|
7
|
-
parentContext?: Vellum.WorkflowDeploymentParentContext | null;
|
|
8
7
|
start: Date;
|
|
9
8
|
end?: Date | null;
|
|
10
9
|
inputs: Vellum.ExecutionVellumValue[];
|
|
11
10
|
outputs: Vellum.ExecutionVellumValue[];
|
|
12
11
|
error?: Vellum.WorkflowError | null;
|
|
12
|
+
usageResults?: Vellum.WorkflowExecutionUsageResult[] | null;
|
|
13
|
+
parentContext?: Vellum.WorkflowDeploymentParentContext | null;
|
|
13
14
|
latestActual?: Vellum.WorkflowExecutionActual | null;
|
|
14
15
|
metricResults: Vellum.WorkflowExecutionViewOnlineEvalMetricResult[];
|
|
15
|
-
usageResults?: Vellum.WorkflowExecutionUsageResult[] | null;
|
|
16
16
|
}
|
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
* * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
|
|
13
13
|
* * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
|
|
14
14
|
* * `NODE_CANCELLED` - NODE_CANCELLED
|
|
15
|
+
* * `PROVIDER_QUOTA_EXCEEDED` - PROVIDER_QUOTA_EXCEEDED
|
|
15
16
|
*/
|
|
16
|
-
export type VellumErrorCodeEnum = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED";
|
|
17
|
+
export type VellumErrorCodeEnum = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "PROVIDER_QUOTA_EXCEEDED";
|
|
17
18
|
export declare const VellumErrorCodeEnum: {
|
|
18
19
|
readonly InvalidRequest: "INVALID_REQUEST";
|
|
19
20
|
readonly InvalidInputs: "INVALID_INPUTS";
|
|
@@ -25,4 +26,5 @@ export declare const VellumErrorCodeEnum: {
|
|
|
25
26
|
readonly UserDefinedError: "USER_DEFINED_ERROR";
|
|
26
27
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
27
28
|
readonly NodeCancelled: "NODE_CANCELLED";
|
|
29
|
+
readonly ProviderQuotaExceeded: "PROVIDER_QUOTA_EXCEEDED";
|
|
28
30
|
};
|
|
@@ -12,12 +12,13 @@
|
|
|
12
12
|
* * `PROVIDER_CREDENTIALS_UNAVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
|
|
13
13
|
* * `INTEGRATION_CREDENTIALS_UNAVAILABLE` - INTEGRATION_CREDENTIALS_UNAVAILABLE
|
|
14
14
|
* * `PROVIDER_ERROR` - PROVIDER_ERROR
|
|
15
|
+
* * `PROVIDER_QUOTA_EXCEEDED` - PROVIDER_QUOTA_EXCEEDED
|
|
15
16
|
* * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
|
|
16
17
|
* * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
|
|
17
18
|
* * `NODE_CANCELLED` - NODE_CANCELLED
|
|
18
19
|
* * `NODE_EXECUTION` - NODE_EXECUTION
|
|
19
20
|
*/
|
|
20
|
-
export type VellumSdkErrorCodeEnum = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "NODE_EXECUTION";
|
|
21
|
+
export type VellumSdkErrorCodeEnum = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "PROVIDER_QUOTA_EXCEEDED" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "NODE_EXECUTION";
|
|
21
22
|
export declare const VellumSdkErrorCodeEnum: {
|
|
22
23
|
readonly InvalidWorkflow: "INVALID_WORKFLOW";
|
|
23
24
|
readonly InvalidInputs: "INVALID_INPUTS";
|
|
@@ -29,6 +30,7 @@ export declare const VellumSdkErrorCodeEnum: {
|
|
|
29
30
|
readonly ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE";
|
|
30
31
|
readonly IntegrationCredentialsUnavailable: "INTEGRATION_CREDENTIALS_UNAVAILABLE";
|
|
31
32
|
readonly ProviderError: "PROVIDER_ERROR";
|
|
33
|
+
readonly ProviderQuotaExceeded: "PROVIDER_QUOTA_EXCEEDED";
|
|
32
34
|
readonly UserDefinedError: "USER_DEFINED_ERROR";
|
|
33
35
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
34
36
|
readonly NodeCancelled: "NODE_CANCELLED";
|
|
@@ -15,6 +15,7 @@ exports.VellumSdkErrorCodeEnum = {
|
|
|
15
15
|
ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE",
|
|
16
16
|
IntegrationCredentialsUnavailable: "INTEGRATION_CREDENTIALS_UNAVAILABLE",
|
|
17
17
|
ProviderError: "PROVIDER_ERROR",
|
|
18
|
+
ProviderQuotaExceeded: "PROVIDER_QUOTA_EXCEEDED",
|
|
18
19
|
UserDefinedError: "USER_DEFINED_ERROR",
|
|
19
20
|
WorkflowCancelled: "WORKFLOW_CANCELLED",
|
|
20
21
|
NodeCancelled: "NODE_CANCELLED",
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface WorkflowEventExecutionRead {
|
|
6
6
|
spanId: string;
|
|
7
|
-
parentContext?: Vellum.WorkflowDeploymentParentContext | null;
|
|
8
7
|
start: Date;
|
|
9
8
|
end?: Date | null;
|
|
10
9
|
inputs: Vellum.ExecutionVellumValue[];
|
|
11
10
|
outputs: Vellum.ExecutionVellumValue[];
|
|
12
11
|
error?: Vellum.WorkflowError | null;
|
|
12
|
+
usageResults?: Vellum.WorkflowExecutionUsageResult[] | null;
|
|
13
|
+
parentContext?: Vellum.WorkflowDeploymentParentContext | null;
|
|
13
14
|
latestActual?: Vellum.WorkflowExecutionActual | null;
|
|
14
15
|
metricResults: Vellum.WorkflowExecutionViewOnlineEvalMetricResult[];
|
|
15
|
-
usageResults?: Vellum.WorkflowExecutionUsageResult[] | null;
|
|
16
16
|
spans: Vellum.VellumSpan[];
|
|
17
17
|
state?: Record<string, unknown> | null;
|
|
18
18
|
}
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
* * `LLM_PROVIDER` - LLM_PROVIDER
|
|
14
14
|
* * `INVALID_TEMPLATE` - INVALID_TEMPLATE
|
|
15
15
|
* * `INVALID_INPUTS` - INVALID_INPUTS
|
|
16
|
+
* * `PROVIDER_QUOTA_EXCEEDED` - PROVIDER_QUOTA_EXCEEDED
|
|
16
17
|
* * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
|
|
17
18
|
*/
|
|
18
|
-
export type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "NODE_CANCELLED" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
|
|
19
|
+
export type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "NODE_CANCELLED" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "PROVIDER_QUOTA_EXCEEDED" | "USER_DEFINED_ERROR";
|
|
19
20
|
export declare const WorkflowExecutionEventErrorCode: {
|
|
20
21
|
readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
|
|
21
22
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
@@ -28,5 +29,6 @@ export declare const WorkflowExecutionEventErrorCode: {
|
|
|
28
29
|
readonly LlmProvider: "LLM_PROVIDER";
|
|
29
30
|
readonly InvalidTemplate: "INVALID_TEMPLATE";
|
|
30
31
|
readonly InvalidInputs: "INVALID_INPUTS";
|
|
32
|
+
readonly ProviderQuotaExceeded: "PROVIDER_QUOTA_EXCEEDED";
|
|
31
33
|
readonly UserDefinedError: "USER_DEFINED_ERROR";
|
|
32
34
|
};
|
package/api/types/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from "./AudioInputRequest";
|
|
|
26
26
|
export * from "./AudioPromptBlock";
|
|
27
27
|
export * from "./AudioVellumValue";
|
|
28
28
|
export * from "./AudioVellumValueRequest";
|
|
29
|
+
export * from "./AuthTypeEnum";
|
|
29
30
|
export * from "./BaseOutput";
|
|
30
31
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
31
32
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
package/api/types/index.js
CHANGED
|
@@ -42,6 +42,7 @@ __exportStar(require("./AudioInputRequest"), exports);
|
|
|
42
42
|
__exportStar(require("./AudioPromptBlock"), exports);
|
|
43
43
|
__exportStar(require("./AudioVellumValue"), exports);
|
|
44
44
|
__exportStar(require("./AudioVellumValueRequest"), exports);
|
|
45
|
+
__exportStar(require("./AuthTypeEnum"), exports);
|
|
45
46
|
__exportStar(require("./BaseOutput"), exports);
|
|
46
47
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
47
48
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|