vellum-ai 1.3.7 → 1.3.9
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/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 +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.d.ts +17 -0
- package/api/resources/workflows/client/Client.js +74 -2
- package/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +16 -0
- package/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +5 -0
- package/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/NodeExecutionRejectedBody.d.ts +1 -0
- package/api/types/VellumError.d.ts +2 -1
- package/api/types/VellumErrorRequest.d.ts +2 -1
- package/api/types/WorkflowEventError.d.ts +1 -0
- package/api/types/WorkflowExecutionRejectedBody.d.ts +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/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 +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.d.ts +17 -0
- package/dist/api/resources/workflows/client/Client.js +74 -2
- package/dist/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +16 -0
- package/dist/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +5 -0
- package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/NodeExecutionRejectedBody.d.ts +1 -0
- package/dist/api/types/VellumError.d.ts +2 -1
- package/dist/api/types/VellumErrorRequest.d.ts +2 -1
- package/dist/api/types/WorkflowEventError.d.ts +1 -0
- package/dist/api/types/WorkflowExecutionRejectedBody.d.ts +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/workflows/client/index.d.ts +2 -0
- package/dist/serialization/resources/workflows/client/index.js +41 -0
- package/dist/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +12 -0
- package/dist/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +43 -0
- package/dist/serialization/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/client/requests/index.js +5 -0
- package/dist/serialization/resources/workflows/client/serializeWorkflowFiles.d.ts +9 -0
- package/dist/serialization/resources/workflows/client/serializeWorkflowFiles.js +41 -0
- package/dist/serialization/resources/workflows/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/index.js +17 -0
- package/dist/serialization/types/NodeExecutionRejectedBody.d.ts +1 -0
- package/dist/serialization/types/NodeExecutionRejectedBody.js +1 -0
- package/dist/serialization/types/VellumError.d.ts +2 -1
- package/dist/serialization/types/VellumError.js +2 -1
- package/dist/serialization/types/VellumErrorRequest.d.ts +2 -1
- package/dist/serialization/types/VellumErrorRequest.js +2 -1
- package/dist/serialization/types/WorkflowEventError.d.ts +1 -0
- package/dist/serialization/types/WorkflowEventError.js +1 -0
- package/dist/serialization/types/WorkflowExecutionRejectedBody.d.ts +1 -0
- package/dist/serialization/types/WorkflowExecutionRejectedBody.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +69 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/workflows/client/index.d.ts +2 -0
- package/serialization/resources/workflows/client/index.js +41 -0
- package/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +12 -0
- package/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +43 -0
- package/serialization/resources/workflows/client/requests/index.d.ts +1 -0
- package/serialization/resources/workflows/client/requests/index.js +5 -0
- package/serialization/resources/workflows/client/serializeWorkflowFiles.d.ts +9 -0
- package/serialization/resources/workflows/client/serializeWorkflowFiles.js +41 -0
- package/serialization/resources/workflows/index.d.ts +1 -0
- package/serialization/resources/workflows/index.js +17 -0
- package/serialization/types/NodeExecutionRejectedBody.d.ts +1 -0
- package/serialization/types/NodeExecutionRejectedBody.js +1 -0
- package/serialization/types/VellumError.d.ts +2 -1
- package/serialization/types/VellumError.js +2 -1
- package/serialization/types/VellumErrorRequest.d.ts +2 -1
- package/serialization/types/VellumErrorRequest.js +2 -1
- package/serialization/types/WorkflowEventError.d.ts +1 -0
- package/serialization/types/WorkflowEventError.js +1 -0
- package/serialization/types/WorkflowExecutionRejectedBody.d.ts +1 -0
- package/serialization/types/WorkflowExecutionRejectedBody.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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.3.
|
|
93
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
181
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
241
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
321
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
100
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
166
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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,
|
|
@@ -238,7 +238,7 @@ class WorkflowDeployments {
|
|
|
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.3.
|
|
241
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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/json",
|
|
243
243
|
queryParameters: _queryParams,
|
|
244
244
|
requestType: "json",
|
|
@@ -303,7 +303,7 @@ class WorkflowDeployments {
|
|
|
303
303
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
304
304
|
unrecognizedObjectKeys: "strip",
|
|
305
305
|
})
|
|
306
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
306
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
307
307
|
contentType: "application/json",
|
|
308
308
|
requestType: "json",
|
|
309
309
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -370,7 +370,7 @@ class WorkflowDeployments {
|
|
|
370
370
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
371
371
|
unrecognizedObjectKeys: "strip",
|
|
372
372
|
})
|
|
373
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
373
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
374
374
|
contentType: "application/json",
|
|
375
375
|
requestType: "json",
|
|
376
376
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -452,7 +452,7 @@ class WorkflowDeployments {
|
|
|
452
452
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
453
453
|
unrecognizedObjectKeys: "strip",
|
|
454
454
|
})
|
|
455
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
455
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
456
456
|
contentType: "application/json",
|
|
457
457
|
queryParameters: _queryParams,
|
|
458
458
|
requestType: "json",
|
|
@@ -519,7 +519,7 @@ class WorkflowDeployments {
|
|
|
519
519
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
520
520
|
unrecognizedObjectKeys: "strip",
|
|
521
521
|
})
|
|
522
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
522
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
523
523
|
contentType: "application/json",
|
|
524
524
|
requestType: "json",
|
|
525
525
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -586,7 +586,7 @@ class WorkflowDeployments {
|
|
|
586
586
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
587
587
|
unrecognizedObjectKeys: "strip",
|
|
588
588
|
})
|
|
589
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
589
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
590
590
|
contentType: "application/json",
|
|
591
591
|
requestType: "json",
|
|
592
592
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -655,7 +655,7 @@ class WorkflowDeployments {
|
|
|
655
655
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
656
656
|
unrecognizedObjectKeys: "strip",
|
|
657
657
|
})
|
|
658
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
658
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
659
659
|
contentType: "application/json",
|
|
660
660
|
requestType: "json",
|
|
661
661
|
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.3.
|
|
91
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
83
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
165
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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",
|
|
@@ -44,6 +44,23 @@ export declare class Workflows {
|
|
|
44
44
|
*/
|
|
45
45
|
push(artifact: File | fs.ReadStream | Blob | undefined, request: Vellum.WorkflowPushRequest, requestOptions?: Workflows.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowPushResponse>;
|
|
46
46
|
private __push;
|
|
47
|
+
/**
|
|
48
|
+
* Serialize files
|
|
49
|
+
*
|
|
50
|
+
* @param {Vellum.SerializeWorkflowFilesRequest} request
|
|
51
|
+
* @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* await client.workflows.serializeWorkflowFiles({
|
|
55
|
+
* files: {
|
|
56
|
+
* "files": {
|
|
57
|
+
* "key": "value"
|
|
58
|
+
* }
|
|
59
|
+
* }
|
|
60
|
+
* })
|
|
61
|
+
*/
|
|
62
|
+
serializeWorkflowFiles(request: Vellum.SerializeWorkflowFilesRequest, requestOptions?: Workflows.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
63
|
+
private __serializeWorkflowFiles;
|
|
47
64
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
48
65
|
"X-API-KEY": string;
|
|
49
66
|
}>;
|
|
@@ -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.3.
|
|
103
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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",
|
|
@@ -180,7 +180,7 @@ class Workflows {
|
|
|
180
180
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
181
181
|
unrecognizedObjectKeys: "strip",
|
|
182
182
|
})
|
|
183
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
183
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
184
184
|
requestType: "file",
|
|
185
185
|
duplex: _maybeEncodedRequest.duplex,
|
|
186
186
|
body: _maybeEncodedRequest.body,
|
|
@@ -223,6 +223,78 @@ class Workflows {
|
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
+
/**
|
|
227
|
+
* Serialize files
|
|
228
|
+
*
|
|
229
|
+
* @param {Vellum.SerializeWorkflowFilesRequest} request
|
|
230
|
+
* @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
|
|
231
|
+
*
|
|
232
|
+
* @example
|
|
233
|
+
* await client.workflows.serializeWorkflowFiles({
|
|
234
|
+
* files: {
|
|
235
|
+
* "files": {
|
|
236
|
+
* "key": "value"
|
|
237
|
+
* }
|
|
238
|
+
* }
|
|
239
|
+
* })
|
|
240
|
+
*/
|
|
241
|
+
serializeWorkflowFiles(request, requestOptions) {
|
|
242
|
+
return core.HttpResponsePromise.fromPromise(this.__serializeWorkflowFiles(request, requestOptions));
|
|
243
|
+
}
|
|
244
|
+
__serializeWorkflowFiles(request, requestOptions) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
var _a, _b;
|
|
247
|
+
const _response = yield core.fetcher({
|
|
248
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
249
|
+
.default, "v1/workflows/serialize"),
|
|
250
|
+
method: "POST",
|
|
251
|
+
headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
|
|
252
|
+
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
253
|
+
unrecognizedObjectKeys: "strip",
|
|
254
|
+
})
|
|
255
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
256
|
+
contentType: "application/json",
|
|
257
|
+
requestType: "json",
|
|
258
|
+
body: serializers.SerializeWorkflowFilesRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
259
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
260
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
261
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
262
|
+
});
|
|
263
|
+
if (_response.ok) {
|
|
264
|
+
return {
|
|
265
|
+
data: serializers.workflows.serializeWorkflowFiles.Response.parseOrThrow(_response.body, {
|
|
266
|
+
unrecognizedObjectKeys: "passthrough",
|
|
267
|
+
allowUnrecognizedUnionMembers: true,
|
|
268
|
+
allowUnrecognizedEnumValues: true,
|
|
269
|
+
breadcrumbsPrefix: ["response"],
|
|
270
|
+
}),
|
|
271
|
+
rawResponse: _response.rawResponse,
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
if (_response.error.reason === "status-code") {
|
|
275
|
+
throw new errors.VellumError({
|
|
276
|
+
statusCode: _response.error.statusCode,
|
|
277
|
+
body: _response.error.body,
|
|
278
|
+
rawResponse: _response.rawResponse,
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
switch (_response.error.reason) {
|
|
282
|
+
case "non-json":
|
|
283
|
+
throw new errors.VellumError({
|
|
284
|
+
statusCode: _response.error.statusCode,
|
|
285
|
+
body: _response.error.rawBody,
|
|
286
|
+
rawResponse: _response.rawResponse,
|
|
287
|
+
});
|
|
288
|
+
case "timeout":
|
|
289
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling POST /v1/workflows/serialize.");
|
|
290
|
+
case "unknown":
|
|
291
|
+
throw new errors.VellumError({
|
|
292
|
+
message: _response.error.errorMessage,
|
|
293
|
+
rawResponse: _response.rawResponse,
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
}
|
|
226
298
|
_getCustomAuthorizationHeaders() {
|
|
227
299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
228
300
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* files: {
|
|
8
|
+
* "files": {
|
|
9
|
+
* "key": "value"
|
|
10
|
+
* }
|
|
11
|
+
* }
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface SerializeWorkflowFilesRequest {
|
|
15
|
+
files: Record<string, unknown>;
|
|
16
|
+
}
|
|
@@ -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.3.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
150
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.3.
|
|
83
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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,
|
package/dist/Client.js
CHANGED
|
@@ -182,7 +182,7 @@ class VellumClient {
|
|
|
182
182
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
183
183
|
unrecognizedObjectKeys: "strip",
|
|
184
184
|
})
|
|
185
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
185
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
186
186
|
contentType: "application/json",
|
|
187
187
|
requestType: "json",
|
|
188
188
|
body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -268,7 +268,7 @@ class VellumClient {
|
|
|
268
268
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
269
269
|
unrecognizedObjectKeys: "strip",
|
|
270
270
|
})
|
|
271
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
271
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
272
272
|
contentType: "application/json",
|
|
273
273
|
requestType: "json",
|
|
274
274
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -354,7 +354,7 @@ class VellumClient {
|
|
|
354
354
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
355
355
|
unrecognizedObjectKeys: "strip",
|
|
356
356
|
})
|
|
357
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
357
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
358
358
|
contentType: "application/json",
|
|
359
359
|
requestType: "json",
|
|
360
360
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -425,7 +425,7 @@ class VellumClient {
|
|
|
425
425
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
426
426
|
unrecognizedObjectKeys: "strip",
|
|
427
427
|
})
|
|
428
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
428
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
429
429
|
contentType: "application/json",
|
|
430
430
|
requestType: "json",
|
|
431
431
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -527,7 +527,7 @@ class VellumClient {
|
|
|
527
527
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
528
528
|
unrecognizedObjectKeys: "strip",
|
|
529
529
|
})
|
|
530
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
530
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
531
531
|
contentType: "application/json",
|
|
532
532
|
requestType: "json",
|
|
533
533
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -596,7 +596,7 @@ class VellumClient {
|
|
|
596
596
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
597
597
|
unrecognizedObjectKeys: "strip",
|
|
598
598
|
})
|
|
599
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
599
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
600
600
|
contentType: "application/json",
|
|
601
601
|
requestType: "json",
|
|
602
602
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -704,7 +704,7 @@ class VellumClient {
|
|
|
704
704
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
705
705
|
unrecognizedObjectKeys: "strip",
|
|
706
706
|
})
|
|
707
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
707
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
708
708
|
contentType: "application/json",
|
|
709
709
|
requestType: "json",
|
|
710
710
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -778,7 +778,7 @@ class VellumClient {
|
|
|
778
778
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
779
779
|
unrecognizedObjectKeys: "strip",
|
|
780
780
|
})
|
|
781
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
781
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
782
782
|
contentType: "application/json",
|
|
783
783
|
requestType: "json",
|
|
784
784
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -872,7 +872,7 @@ class VellumClient {
|
|
|
872
872
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
873
873
|
unrecognizedObjectKeys: "strip",
|
|
874
874
|
})
|
|
875
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
875
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
876
876
|
contentType: "application/json",
|
|
877
877
|
requestType: "json",
|
|
878
878
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -953,7 +953,7 @@ class VellumClient {
|
|
|
953
953
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
954
954
|
unrecognizedObjectKeys: "strip",
|
|
955
955
|
})
|
|
956
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
956
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
957
957
|
contentType: "application/json",
|
|
958
958
|
requestType: "json",
|
|
959
959
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1028,7 +1028,7 @@ class VellumClient {
|
|
|
1028
1028
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
1029
1029
|
unrecognizedObjectKeys: "strip",
|
|
1030
1030
|
})
|
|
1031
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
1031
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
1032
1032
|
contentType: "application/json",
|
|
1033
1033
|
requestType: "json",
|
|
1034
1034
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -112,7 +112,7 @@ class AdHoc {
|
|
|
112
112
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
113
113
|
unrecognizedObjectKeys: "strip",
|
|
114
114
|
})
|
|
115
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
115
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
116
116
|
contentType: "application/json",
|
|
117
117
|
requestType: "json",
|
|
118
118
|
body: serializers.AdHocExecutePrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -178,7 +178,7 @@ class AdHoc {
|
|
|
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.3.
|
|
181
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -92,7 +92,7 @@ class ContainerImages {
|
|
|
92
92
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
93
93
|
unrecognizedObjectKeys: "strip",
|
|
94
94
|
})
|
|
95
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
95
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "json",
|
|
@@ -158,7 +158,7 @@ class ContainerImages {
|
|
|
158
158
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
159
159
|
unrecognizedObjectKeys: "strip",
|
|
160
160
|
})
|
|
161
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
161
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
162
162
|
contentType: "application/json",
|
|
163
163
|
requestType: "json",
|
|
164
164
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -220,7 +220,7 @@ class ContainerImages {
|
|
|
220
220
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
221
221
|
unrecognizedObjectKeys: "strip",
|
|
222
222
|
})
|
|
223
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
223
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
224
224
|
contentType: "application/json",
|
|
225
225
|
requestType: "json",
|
|
226
226
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -287,7 +287,7 @@ class ContainerImages {
|
|
|
287
287
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
288
288
|
unrecognizedObjectKeys: "strip",
|
|
289
289
|
})
|
|
290
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
290
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.9", "User-Agent": "vellum-ai/1.3.9", "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),
|
|
291
291
|
contentType: "application/json",
|
|
292
292
|
requestType: "json",
|
|
293
293
|
body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|