vellum-ai 1.2.2 → 1.2.4
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/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +9 -9
- package/api/resources/workflowExecutions/client/Client.d.ts +2 -1
- package/api/resources/workflowExecutions/client/Client.js +17 -7
- package/api/resources/workflowExecutions/client/index.d.ts +1 -1
- package/api/resources/workflowExecutions/client/index.js +15 -0
- package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts +17 -0
- package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.js +5 -0
- package/api/resources/workflowExecutions/client/requests/index.d.ts +1 -0
- package/api/resources/workflowExecutions/client/requests/index.js +2 -0
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/AudioInputRequest.d.ts +13 -0
- package/api/types/AudioInputRequest.js +5 -0
- package/api/types/DelimiterChunkerConfig.d.ts +7 -0
- package/api/types/DelimiterChunkerConfig.js +5 -0
- package/api/types/DelimiterChunkerConfigRequest.d.ts +7 -0
- package/api/types/DelimiterChunkerConfigRequest.js +5 -0
- package/api/types/DelimiterChunking.d.ts +8 -0
- package/api/types/DelimiterChunking.js +5 -0
- package/api/types/DelimiterChunkingRequest.d.ts +8 -0
- package/api/types/DelimiterChunkingRequest.js +5 -0
- package/api/types/DocumentIndexChunking.d.ts +1 -1
- package/api/types/DocumentIndexChunkingRequest.d.ts +1 -1
- package/api/types/DocumentInputRequest.d.ts +13 -0
- package/api/types/DocumentInputRequest.js +5 -0
- package/api/types/ExecutionAudioVellumValue.d.ts +14 -0
- package/api/types/ExecutionAudioVellumValue.js +5 -0
- package/api/types/ExecutionDocumentVellumValue.d.ts +14 -0
- package/api/types/ExecutionDocumentVellumValue.js +5 -0
- package/api/types/ExecutionImageVellumValue.d.ts +14 -0
- package/api/types/ExecutionImageVellumValue.js +5 -0
- package/api/types/ExecutionVellumValue.d.ts +1 -1
- package/api/types/ExecutionVideoVellumValue.d.ts +14 -0
- package/api/types/ExecutionVideoVellumValue.js +5 -0
- package/api/types/ImageInputRequest.d.ts +13 -0
- package/api/types/ImageInputRequest.js +5 -0
- package/api/types/LogicalOperator.d.ts +3 -1
- package/api/types/LogicalOperator.js +1 -0
- package/api/types/NodeInputCompiledAudioValue.d.ts +10 -0
- package/api/types/NodeInputCompiledAudioValue.js +5 -0
- package/api/types/NodeInputCompiledDocumentValue.d.ts +10 -0
- package/api/types/NodeInputCompiledDocumentValue.js +5 -0
- package/api/types/NodeInputCompiledImageValue.d.ts +10 -0
- package/api/types/NodeInputCompiledImageValue.js +5 -0
- package/api/types/NodeInputCompiledVideoValue.d.ts +10 -0
- package/api/types/NodeInputCompiledVideoValue.js +5 -0
- package/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
- package/api/types/PromptDeploymentInputRequest.d.ts +1 -1
- package/api/types/PromptRequestAudioInput.d.ts +10 -0
- package/api/types/PromptRequestAudioInput.js +5 -0
- package/api/types/PromptRequestDocumentInput.d.ts +10 -0
- package/api/types/PromptRequestDocumentInput.js +5 -0
- package/api/types/PromptRequestImageInput.d.ts +10 -0
- package/api/types/PromptRequestImageInput.js +5 -0
- package/api/types/PromptRequestInput.d.ts +1 -1
- package/api/types/PromptRequestVideoInput.d.ts +10 -0
- package/api/types/PromptRequestVideoInput.js +5 -0
- package/api/types/VideoInputRequest.d.ts +13 -0
- package/api/types/VideoInputRequest.js +5 -0
- package/api/types/index.d.ts +20 -0
- package/api/types/index.js +20 -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/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
- package/dist/api/resources/workflowExecutions/client/Client.d.ts +2 -1
- package/dist/api/resources/workflowExecutions/client/Client.js +17 -7
- package/dist/api/resources/workflowExecutions/client/index.d.ts +1 -1
- package/dist/api/resources/workflowExecutions/client/index.js +15 -0
- package/dist/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts +17 -0
- package/dist/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.js +5 -0
- package/dist/api/resources/workflowExecutions/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflowExecutions/client/requests/index.js +2 -0
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/AudioInputRequest.d.ts +13 -0
- package/dist/api/types/AudioInputRequest.js +5 -0
- package/dist/api/types/DelimiterChunkerConfig.d.ts +7 -0
- package/dist/api/types/DelimiterChunkerConfig.js +5 -0
- package/dist/api/types/DelimiterChunkerConfigRequest.d.ts +7 -0
- package/dist/api/types/DelimiterChunkerConfigRequest.js +5 -0
- package/dist/api/types/DelimiterChunking.d.ts +8 -0
- package/dist/api/types/DelimiterChunking.js +5 -0
- package/dist/api/types/DelimiterChunkingRequest.d.ts +8 -0
- package/dist/api/types/DelimiterChunkingRequest.js +5 -0
- package/dist/api/types/DocumentIndexChunking.d.ts +1 -1
- package/dist/api/types/DocumentIndexChunkingRequest.d.ts +1 -1
- package/dist/api/types/DocumentInputRequest.d.ts +13 -0
- package/dist/api/types/DocumentInputRequest.js +5 -0
- package/dist/api/types/ExecutionAudioVellumValue.d.ts +14 -0
- package/dist/api/types/ExecutionAudioVellumValue.js +5 -0
- package/dist/api/types/ExecutionDocumentVellumValue.d.ts +14 -0
- package/dist/api/types/ExecutionDocumentVellumValue.js +5 -0
- package/dist/api/types/ExecutionImageVellumValue.d.ts +14 -0
- package/dist/api/types/ExecutionImageVellumValue.js +5 -0
- package/dist/api/types/ExecutionVellumValue.d.ts +1 -1
- package/dist/api/types/ExecutionVideoVellumValue.d.ts +14 -0
- package/dist/api/types/ExecutionVideoVellumValue.js +5 -0
- package/dist/api/types/ImageInputRequest.d.ts +13 -0
- package/dist/api/types/ImageInputRequest.js +5 -0
- package/dist/api/types/LogicalOperator.d.ts +3 -1
- package/dist/api/types/LogicalOperator.js +1 -0
- package/dist/api/types/NodeInputCompiledAudioValue.d.ts +10 -0
- package/dist/api/types/NodeInputCompiledAudioValue.js +5 -0
- package/dist/api/types/NodeInputCompiledDocumentValue.d.ts +10 -0
- package/dist/api/types/NodeInputCompiledDocumentValue.js +5 -0
- package/dist/api/types/NodeInputCompiledImageValue.d.ts +10 -0
- package/dist/api/types/NodeInputCompiledImageValue.js +5 -0
- package/dist/api/types/NodeInputCompiledVideoValue.d.ts +10 -0
- package/dist/api/types/NodeInputCompiledVideoValue.js +5 -0
- package/dist/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
- package/dist/api/types/PromptDeploymentInputRequest.d.ts +1 -1
- package/dist/api/types/PromptRequestAudioInput.d.ts +10 -0
- package/dist/api/types/PromptRequestAudioInput.js +5 -0
- package/dist/api/types/PromptRequestDocumentInput.d.ts +10 -0
- package/dist/api/types/PromptRequestDocumentInput.js +5 -0
- package/dist/api/types/PromptRequestImageInput.d.ts +10 -0
- package/dist/api/types/PromptRequestImageInput.js +5 -0
- package/dist/api/types/PromptRequestInput.d.ts +1 -1
- package/dist/api/types/PromptRequestVideoInput.d.ts +10 -0
- package/dist/api/types/PromptRequestVideoInput.js +5 -0
- package/dist/api/types/VideoInputRequest.d.ts +13 -0
- package/dist/api/types/VideoInputRequest.js +5 -0
- package/dist/api/types/index.d.ts +20 -0
- package/dist/api/types/index.js +20 -0
- package/dist/serialization/types/AudioInputRequest.d.ts +15 -0
- package/dist/serialization/types/AudioInputRequest.js +46 -0
- package/dist/serialization/types/DelimiterChunkerConfig.d.ts +13 -0
- package/dist/serialization/types/DelimiterChunkerConfig.js +44 -0
- package/dist/serialization/types/DelimiterChunkerConfigRequest.d.ts +13 -0
- package/dist/serialization/types/DelimiterChunkerConfigRequest.js +44 -0
- package/dist/serialization/types/DelimiterChunking.d.ts +14 -0
- package/dist/serialization/types/DelimiterChunking.js +45 -0
- package/dist/serialization/types/DelimiterChunkingRequest.d.ts +14 -0
- package/dist/serialization/types/DelimiterChunkingRequest.js +45 -0
- package/dist/serialization/types/DocumentIndexChunking.d.ts +2 -1
- package/dist/serialization/types/DocumentIndexChunking.js +7 -1
- package/dist/serialization/types/DocumentIndexChunkingRequest.d.ts +2 -1
- package/dist/serialization/types/DocumentIndexChunkingRequest.js +2 -0
- package/dist/serialization/types/DocumentInputRequest.d.ts +15 -0
- package/dist/serialization/types/DocumentInputRequest.js +46 -0
- package/dist/serialization/types/ExecutionAudioVellumValue.d.ts +16 -0
- package/dist/serialization/types/ExecutionAudioVellumValue.js +47 -0
- package/dist/serialization/types/ExecutionDocumentVellumValue.d.ts +16 -0
- package/dist/serialization/types/ExecutionDocumentVellumValue.js +47 -0
- package/dist/serialization/types/ExecutionImageVellumValue.d.ts +16 -0
- package/dist/serialization/types/ExecutionImageVellumValue.js +47 -0
- package/dist/serialization/types/ExecutionVellumValue.d.ts +5 -1
- package/dist/serialization/types/ExecutionVellumValue.js +8 -0
- package/dist/serialization/types/ExecutionVideoVellumValue.d.ts +16 -0
- package/dist/serialization/types/ExecutionVideoVellumValue.js +47 -0
- package/dist/serialization/types/ImageInputRequest.d.ts +15 -0
- package/dist/serialization/types/ImageInputRequest.js +46 -0
- package/dist/serialization/types/LogicalOperator.d.ts +1 -1
- package/dist/serialization/types/LogicalOperator.js +1 -0
- package/dist/serialization/types/NodeInputCompiledAudioValue.d.ts +16 -0
- package/dist/serialization/types/NodeInputCompiledAudioValue.js +47 -0
- package/dist/serialization/types/NodeInputCompiledDocumentValue.d.ts +16 -0
- package/dist/serialization/types/NodeInputCompiledDocumentValue.js +47 -0
- package/dist/serialization/types/NodeInputCompiledImageValue.d.ts +16 -0
- package/dist/serialization/types/NodeInputCompiledImageValue.js +47 -0
- package/dist/serialization/types/NodeInputCompiledVideoValue.d.ts +16 -0
- package/dist/serialization/types/NodeInputCompiledVideoValue.js +47 -0
- package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +5 -1
- package/dist/serialization/types/NodeInputVariableCompiledValue.js +8 -0
- package/dist/serialization/types/PromptDeploymentInputRequest.d.ts +5 -1
- package/dist/serialization/types/PromptDeploymentInputRequest.js +13 -1
- package/dist/serialization/types/PromptRequestAudioInput.d.ts +15 -0
- package/dist/serialization/types/PromptRequestAudioInput.js +46 -0
- package/dist/serialization/types/PromptRequestDocumentInput.d.ts +15 -0
- package/dist/serialization/types/PromptRequestDocumentInput.js +46 -0
- package/dist/serialization/types/PromptRequestImageInput.d.ts +15 -0
- package/dist/serialization/types/PromptRequestImageInput.js +46 -0
- package/dist/serialization/types/PromptRequestInput.d.ts +5 -1
- package/dist/serialization/types/PromptRequestInput.js +8 -0
- package/dist/serialization/types/PromptRequestVideoInput.d.ts +15 -0
- package/dist/serialization/types/PromptRequestVideoInput.js +46 -0
- package/dist/serialization/types/VideoInputRequest.d.ts +15 -0
- package/dist/serialization/types/VideoInputRequest.js +46 -0
- package/dist/serialization/types/index.d.ts +20 -0
- package/dist/serialization/types/index.js +20 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +9 -1
- package/serialization/types/AudioInputRequest.d.ts +15 -0
- package/serialization/types/AudioInputRequest.js +46 -0
- package/serialization/types/DelimiterChunkerConfig.d.ts +13 -0
- package/serialization/types/DelimiterChunkerConfig.js +44 -0
- package/serialization/types/DelimiterChunkerConfigRequest.d.ts +13 -0
- package/serialization/types/DelimiterChunkerConfigRequest.js +44 -0
- package/serialization/types/DelimiterChunking.d.ts +14 -0
- package/serialization/types/DelimiterChunking.js +45 -0
- package/serialization/types/DelimiterChunkingRequest.d.ts +14 -0
- package/serialization/types/DelimiterChunkingRequest.js +45 -0
- package/serialization/types/DocumentIndexChunking.d.ts +2 -1
- package/serialization/types/DocumentIndexChunking.js +7 -1
- package/serialization/types/DocumentIndexChunkingRequest.d.ts +2 -1
- package/serialization/types/DocumentIndexChunkingRequest.js +2 -0
- package/serialization/types/DocumentInputRequest.d.ts +15 -0
- package/serialization/types/DocumentInputRequest.js +46 -0
- package/serialization/types/ExecutionAudioVellumValue.d.ts +16 -0
- package/serialization/types/ExecutionAudioVellumValue.js +47 -0
- package/serialization/types/ExecutionDocumentVellumValue.d.ts +16 -0
- package/serialization/types/ExecutionDocumentVellumValue.js +47 -0
- package/serialization/types/ExecutionImageVellumValue.d.ts +16 -0
- package/serialization/types/ExecutionImageVellumValue.js +47 -0
- package/serialization/types/ExecutionVellumValue.d.ts +5 -1
- package/serialization/types/ExecutionVellumValue.js +8 -0
- package/serialization/types/ExecutionVideoVellumValue.d.ts +16 -0
- package/serialization/types/ExecutionVideoVellumValue.js +47 -0
- package/serialization/types/ImageInputRequest.d.ts +15 -0
- package/serialization/types/ImageInputRequest.js +46 -0
- package/serialization/types/LogicalOperator.d.ts +1 -1
- package/serialization/types/LogicalOperator.js +1 -0
- package/serialization/types/NodeInputCompiledAudioValue.d.ts +16 -0
- package/serialization/types/NodeInputCompiledAudioValue.js +47 -0
- package/serialization/types/NodeInputCompiledDocumentValue.d.ts +16 -0
- package/serialization/types/NodeInputCompiledDocumentValue.js +47 -0
- package/serialization/types/NodeInputCompiledImageValue.d.ts +16 -0
- package/serialization/types/NodeInputCompiledImageValue.js +47 -0
- package/serialization/types/NodeInputCompiledVideoValue.d.ts +16 -0
- package/serialization/types/NodeInputCompiledVideoValue.js +47 -0
- package/serialization/types/NodeInputVariableCompiledValue.d.ts +5 -1
- package/serialization/types/NodeInputVariableCompiledValue.js +8 -0
- package/serialization/types/PromptDeploymentInputRequest.d.ts +5 -1
- package/serialization/types/PromptDeploymentInputRequest.js +13 -1
- package/serialization/types/PromptRequestAudioInput.d.ts +15 -0
- package/serialization/types/PromptRequestAudioInput.js +46 -0
- package/serialization/types/PromptRequestDocumentInput.d.ts +15 -0
- package/serialization/types/PromptRequestDocumentInput.js +46 -0
- package/serialization/types/PromptRequestImageInput.d.ts +15 -0
- package/serialization/types/PromptRequestImageInput.js +46 -0
- package/serialization/types/PromptRequestInput.d.ts +5 -1
- package/serialization/types/PromptRequestInput.js +8 -0
- package/serialization/types/PromptRequestVideoInput.d.ts +15 -0
- package/serialization/types/PromptRequestVideoInput.js +46 -0
- package/serialization/types/VideoInputRequest.d.ts +15 -0
- package/serialization/types/VideoInputRequest.js +46 -0
- package/serialization/types/index.d.ts +20 -0
- package/serialization/types/index.js +20 -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.2.
|
|
93
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
181
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
241
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
321
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
100
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
166
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
241
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
306
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
373
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
455
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
522
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
589
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
658
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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,
|
|
@@ -31,12 +31,13 @@ export declare class WorkflowExecutions {
|
|
|
31
31
|
constructor(_options: WorkflowExecutions.Options);
|
|
32
32
|
/**
|
|
33
33
|
* @param {string} executionId
|
|
34
|
+
* @param {Vellum.RetrieveWorkflowExecutionDetailRequest} request
|
|
34
35
|
* @param {WorkflowExecutions.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
36
|
*
|
|
36
37
|
* @example
|
|
37
38
|
* await client.workflowExecutions.retrieveWorkflowExecutionDetail("execution_id")
|
|
38
39
|
*/
|
|
39
|
-
retrieveWorkflowExecutionDetail(executionId: string, requestOptions?: WorkflowExecutions.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowExecutionDetail>;
|
|
40
|
+
retrieveWorkflowExecutionDetail(executionId: string, request?: Vellum.RetrieveWorkflowExecutionDetailRequest, requestOptions?: WorkflowExecutions.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowExecutionDetail>;
|
|
40
41
|
private __retrieveWorkflowExecutionDetail;
|
|
41
42
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
42
43
|
"X-API-KEY": string;
|
|
@@ -60,27 +60,37 @@ class WorkflowExecutions {
|
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* @param {string} executionId
|
|
63
|
+
* @param {Vellum.RetrieveWorkflowExecutionDetailRequest} request
|
|
63
64
|
* @param {WorkflowExecutions.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
65
|
*
|
|
65
66
|
* @example
|
|
66
67
|
* await client.workflowExecutions.retrieveWorkflowExecutionDetail("execution_id")
|
|
67
68
|
*/
|
|
68
|
-
retrieveWorkflowExecutionDetail(executionId, requestOptions) {
|
|
69
|
-
return core.HttpResponsePromise.fromPromise(this.__retrieveWorkflowExecutionDetail(executionId, requestOptions));
|
|
69
|
+
retrieveWorkflowExecutionDetail(executionId, request = {}, requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieveWorkflowExecutionDetail(executionId, request, requestOptions));
|
|
70
71
|
}
|
|
71
|
-
__retrieveWorkflowExecutionDetail(
|
|
72
|
-
return __awaiter(this,
|
|
73
|
-
var _a, _b;
|
|
72
|
+
__retrieveWorkflowExecutionDetail(executionId_1) {
|
|
73
|
+
return __awaiter(this, arguments, void 0, function* (executionId, request = {}, requestOptions) {
|
|
74
|
+
var _a, _b, _c;
|
|
75
|
+
const { prevSpanId, spanLimit } = request;
|
|
76
|
+
const _queryParams = {};
|
|
77
|
+
if (prevSpanId !== undefined) {
|
|
78
|
+
_queryParams["prev_span_id"] = prevSpanId;
|
|
79
|
+
}
|
|
80
|
+
if (spanLimit !== undefined) {
|
|
81
|
+
_queryParams["span_limit"] = (_a = spanLimit === null || spanLimit === void 0 ? void 0 : spanLimit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
82
|
+
}
|
|
74
83
|
const _response = yield core.fetcher({
|
|
75
|
-
url: (0, url_join_1.default)((
|
|
84
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.VellumEnvironment.Production)
|
|
76
85
|
.default, `v1/workflow-executions/${encodeURIComponent(executionId)}/detail`),
|
|
77
86
|
method: "GET",
|
|
78
87
|
headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
|
|
79
88
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
80
89
|
unrecognizedObjectKeys: "strip",
|
|
81
90
|
})
|
|
82
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.
|
|
91
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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),
|
|
83
92
|
contentType: "application/json",
|
|
93
|
+
queryParameters: _queryParams,
|
|
84
94
|
requestType: "json",
|
|
85
95
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
86
96
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests";
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface RetrieveWorkflowExecutionDetailRequest {
|
|
9
|
+
/**
|
|
10
|
+
* Optional keyset cursor span_id to continue from (exclusive)
|
|
11
|
+
*/
|
|
12
|
+
prevSpanId?: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Maximum number of spans to return (for lazy loading)
|
|
15
|
+
*/
|
|
16
|
+
spanLimit?: number | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type RetrieveWorkflowExecutionDetailRequest } from "./RetrieveWorkflowExecutionDetailRequest";
|
|
@@ -81,7 +81,7 @@ class WorkflowSandboxes {
|
|
|
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.2.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -163,7 +163,7 @@ class WorkflowSandboxes {
|
|
|
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.2.
|
|
166
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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
|
queryParameters: _queryParams,
|
|
169
169
|
requestType: "json",
|
|
@@ -94,7 +94,7 @@ class Workflows {
|
|
|
94
94
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
95
95
|
unrecognizedObjectKeys: "strip",
|
|
96
96
|
})
|
|
97
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.
|
|
97
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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),
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
100
100
|
requestType: "json",
|
|
@@ -174,7 +174,7 @@ class Workflows {
|
|
|
174
174
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
175
175
|
unrecognizedObjectKeys: "strip",
|
|
176
176
|
})
|
|
177
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.
|
|
177
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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),
|
|
178
178
|
requestType: "file",
|
|
179
179
|
duplex: _maybeEncodedRequest.duplex,
|
|
180
180
|
body: _maybeEncodedRequest.body,
|
|
@@ -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.2.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
150
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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.2.
|
|
83
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.4", "User-Agent": "vellum-ai/1.2.4", "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,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A user input representing a Vellum Audio value
|
|
7
|
+
*/
|
|
8
|
+
export interface AudioInputRequest {
|
|
9
|
+
/** The variable's name */
|
|
10
|
+
name: string;
|
|
11
|
+
type: "AUDIO";
|
|
12
|
+
value: Vellum.VellumAudioRequest;
|
|
13
|
+
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type DocumentIndexChunking = Vellum.ReductoChunking | Vellum.SentenceChunking | Vellum.TokenOverlappingWindowChunking;
|
|
5
|
+
export type DocumentIndexChunking = Vellum.ReductoChunking | Vellum.SentenceChunking | Vellum.TokenOverlappingWindowChunking | Vellum.DelimiterChunking;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type DocumentIndexChunkingRequest = Vellum.ReductoChunkingRequest | Vellum.SentenceChunkingRequest | Vellum.TokenOverlappingWindowChunkingRequest;
|
|
5
|
+
export type DocumentIndexChunkingRequest = Vellum.ReductoChunkingRequest | Vellum.SentenceChunkingRequest | Vellum.TokenOverlappingWindowChunkingRequest | Vellum.DelimiterChunkingRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A user input representing a Vellum Document value
|
|
7
|
+
*/
|
|
8
|
+
export interface DocumentInputRequest {
|
|
9
|
+
/** The variable's name */
|
|
10
|
+
name: string;
|
|
11
|
+
type: "DOCUMENT";
|
|
12
|
+
value: Vellum.VellumDocumentRequest;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A base Vellum primitive value representing audio.
|
|
7
|
+
*/
|
|
8
|
+
export interface ExecutionAudioVellumValue {
|
|
9
|
+
/** The variable's uniquely identifying internal id. */
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: "AUDIO";
|
|
13
|
+
value?: Vellum.VellumAudio | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A base Vellum primitive value representing a document.
|
|
7
|
+
*/
|
|
8
|
+
export interface ExecutionDocumentVellumValue {
|
|
9
|
+
/** The variable's uniquely identifying internal id. */
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: "DOCUMENT";
|
|
13
|
+
value?: Vellum.VellumDocument | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A base Vellum primitive value representing an image.
|
|
7
|
+
*/
|
|
8
|
+
export interface ExecutionImageVellumValue {
|
|
9
|
+
/** The variable's uniquely identifying internal id. */
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: "IMAGE";
|
|
13
|
+
value?: Vellum.VellumImage | null;
|
|
14
|
+
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type ExecutionVellumValue = Vellum.ExecutionStringVellumValue | Vellum.ExecutionNumberVellumValue | Vellum.ExecutionJsonVellumValue | Vellum.ExecutionChatHistoryVellumValue | Vellum.ExecutionSearchResultsVellumValue | Vellum.ExecutionErrorVellumValue | Vellum.ExecutionArrayVellumValue | Vellum.ExecutionFunctionCallVellumValue | Vellum.ExecutionThinkingVellumValue;
|
|
5
|
+
export type ExecutionVellumValue = Vellum.ExecutionStringVellumValue | Vellum.ExecutionNumberVellumValue | Vellum.ExecutionJsonVellumValue | Vellum.ExecutionChatHistoryVellumValue | Vellum.ExecutionSearchResultsVellumValue | Vellum.ExecutionErrorVellumValue | Vellum.ExecutionArrayVellumValue | Vellum.ExecutionFunctionCallVellumValue | Vellum.ExecutionThinkingVellumValue | Vellum.ExecutionAudioVellumValue | Vellum.ExecutionVideoVellumValue | Vellum.ExecutionImageVellumValue | Vellum.ExecutionDocumentVellumValue;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A base Vellum primitive value representing a video.
|
|
7
|
+
*/
|
|
8
|
+
export interface ExecutionVideoVellumValue {
|
|
9
|
+
/** The variable's uniquely identifying internal id. */
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: "VIDEO";
|
|
13
|
+
value?: Vellum.VellumVideo | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A user input representing a Vellum Image value
|
|
7
|
+
*/
|
|
8
|
+
export interface ImageInputRequest {
|
|
9
|
+
/** The variable's name */
|
|
10
|
+
name: string;
|
|
11
|
+
type: "IMAGE";
|
|
12
|
+
value: Vellum.VellumImageRequest;
|
|
13
|
+
}
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
* * `and` - AND
|
|
29
29
|
* * `or` - OR
|
|
30
30
|
* * `isError` - IS_ERROR
|
|
31
|
+
* * `length` - LENGTH
|
|
31
32
|
*/
|
|
32
33
|
export type LogicalOperator =
|
|
33
34
|
/**
|
|
@@ -86,7 +87,7 @@ export type LogicalOperator =
|
|
|
86
87
|
| "notBetween" | "blank" | "notBlank" | "coalesce" | "accessField"
|
|
87
88
|
/**
|
|
88
89
|
* Parse JSON */
|
|
89
|
-
| "parseJson" | "and" | "or" | "isError";
|
|
90
|
+
| "parseJson" | "and" | "or" | "isError" | "length";
|
|
90
91
|
export declare const LogicalOperator: {
|
|
91
92
|
readonly Equals: "=";
|
|
92
93
|
readonly DoesNotEqual: "!=";
|
|
@@ -114,4 +115,5 @@ export declare const LogicalOperator: {
|
|
|
114
115
|
readonly And: "and";
|
|
115
116
|
readonly Or: "or";
|
|
116
117
|
readonly IsError: "isError";
|
|
118
|
+
readonly Length: "length";
|
|
117
119
|
};
|