vellum-ai 1.2.4 → 1.3.0
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.d.ts +2 -3
- package/api/resources/workflowSandboxes/client/Client.js +9 -10
- package/api/resources/workflows/client/Client.js +9 -3
- package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +8 -0
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/AudioInput.d.ts +13 -0
- package/api/types/AudioInput.js +5 -0
- package/api/types/CodeExecutorInput.d.ts +1 -1
- package/api/types/DeploymentRead.d.ts +4 -7
- package/api/types/DocumentInput.d.ts +13 -0
- package/api/types/DocumentInput.js +5 -0
- package/api/types/EnvironmentEnum.d.ts +0 -5
- package/api/types/ImageInput.d.ts +13 -0
- package/api/types/ImageInput.js +5 -0
- package/api/types/NamedScenarioInputAudioVariableValueRequest.d.ts +9 -0
- package/api/types/NamedScenarioInputAudioVariableValueRequest.js +5 -0
- package/api/types/NamedScenarioInputDocumentVariableValueRequest.d.ts +9 -0
- package/api/types/NamedScenarioInputDocumentVariableValueRequest.js +5 -0
- package/api/types/NamedScenarioInputImageVariableValueRequest.d.ts +9 -0
- package/api/types/NamedScenarioInputImageVariableValueRequest.js +5 -0
- package/api/types/NamedScenarioInputRequest.d.ts +1 -1
- package/api/types/NamedScenarioInputVideoVariableValueRequest.d.ts +9 -0
- package/api/types/NamedScenarioInputVideoVariableValueRequest.js +5 -0
- package/api/types/NamedTestCaseAudioVariableValue.d.ts +12 -0
- package/api/types/NamedTestCaseAudioVariableValue.js +5 -0
- package/api/types/NamedTestCaseAudioVariableValueRequest.d.ts +12 -0
- package/api/types/NamedTestCaseAudioVariableValueRequest.js +5 -0
- package/api/types/NamedTestCaseDocumentVariableValue.d.ts +9 -0
- package/api/types/NamedTestCaseDocumentVariableValue.js +5 -0
- package/api/types/NamedTestCaseDocumentVariableValueRequest.d.ts +9 -0
- package/api/types/NamedTestCaseDocumentVariableValueRequest.js +5 -0
- package/api/types/NamedTestCaseImageVariableValue.d.ts +9 -0
- package/api/types/NamedTestCaseImageVariableValue.js +5 -0
- package/api/types/NamedTestCaseImageVariableValueRequest.d.ts +9 -0
- package/api/types/NamedTestCaseImageVariableValueRequest.js +5 -0
- package/api/types/NamedTestCaseVariableValue.d.ts +1 -1
- package/api/types/NamedTestCaseVariableValueRequest.d.ts +1 -1
- package/api/types/NamedTestCaseVideoVariableValue.d.ts +9 -0
- package/api/types/NamedTestCaseVideoVariableValue.js +5 -0
- package/api/types/NamedTestCaseVideoVariableValueRequest.d.ts +9 -0
- package/api/types/NamedTestCaseVideoVariableValueRequest.js +5 -0
- package/api/types/NodeExecutionSpanAttributes.d.ts +1 -0
- package/api/types/ScenarioInput.d.ts +1 -1
- package/api/types/ScenarioInputAudioVariableValue.d.ts +9 -0
- package/api/types/ScenarioInputAudioVariableValue.js +5 -0
- package/api/types/ScenarioInputDocumentVariableValue.d.ts +9 -0
- package/api/types/ScenarioInputDocumentVariableValue.js +5 -0
- package/api/types/ScenarioInputImageVariableValue.d.ts +9 -0
- package/api/types/ScenarioInputImageVariableValue.js +5 -0
- package/api/types/ScenarioInputVideoVariableValue.d.ts +9 -0
- package/api/types/ScenarioInputVideoVariableValue.js +5 -0
- package/api/types/SlimDeploymentRead.d.ts +4 -7
- package/api/types/SlimWorkflowDeployment.d.ts +4 -7
- package/api/types/SpanLinkTypeEnum.d.ts +8 -1
- package/api/types/SpanLinkTypeEnum.js +6 -0
- package/api/types/TestCaseAudioVariableValue.d.ts +13 -0
- package/api/types/TestCaseAudioVariableValue.js +5 -0
- package/api/types/TestCaseDocumentVariableValue.d.ts +13 -0
- package/api/types/TestCaseDocumentVariableValue.js +5 -0
- package/api/types/TestCaseImageVariableValue.d.ts +13 -0
- package/api/types/TestCaseImageVariableValue.js +5 -0
- package/api/types/TestCaseVariableValue.d.ts +1 -1
- package/api/types/TestCaseVideoVariableValue.d.ts +13 -0
- package/api/types/TestCaseVideoVariableValue.js +5 -0
- package/api/types/VideoInput.d.ts +13 -0
- package/api/types/VideoInput.js +5 -0
- package/api/types/WorkflowDeploymentRead.d.ts +4 -7
- package/api/types/WorkflowPushDeploymentConfigRequest.d.ts +1 -0
- package/api/types/WorkflowRequestAudioInputRequest.d.ts +13 -0
- package/api/types/WorkflowRequestAudioInputRequest.js +5 -0
- package/api/types/WorkflowRequestDocumentInputRequest.d.ts +13 -0
- package/api/types/WorkflowRequestDocumentInputRequest.js +5 -0
- package/api/types/WorkflowRequestImageInputRequest.d.ts +13 -0
- package/api/types/WorkflowRequestImageInputRequest.js +5 -0
- package/api/types/WorkflowRequestInputRequest.d.ts +1 -1
- package/api/types/WorkflowRequestVideoInputRequest.d.ts +13 -0
- package/api/types/WorkflowRequestVideoInputRequest.js +5 -0
- package/api/types/index.d.ts +28 -0
- package/api/types/index.js +28 -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.d.ts +2 -3
- package/dist/api/resources/workflowSandboxes/client/Client.js +9 -10
- package/dist/api/resources/workflows/client/Client.js +9 -3
- package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +8 -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/AudioInput.d.ts +13 -0
- package/dist/api/types/AudioInput.js +5 -0
- package/dist/api/types/CodeExecutorInput.d.ts +1 -1
- package/dist/api/types/DeploymentRead.d.ts +4 -7
- package/dist/api/types/DocumentInput.d.ts +13 -0
- package/dist/api/types/DocumentInput.js +5 -0
- package/dist/api/types/EnvironmentEnum.d.ts +0 -5
- package/dist/api/types/ImageInput.d.ts +13 -0
- package/dist/api/types/ImageInput.js +5 -0
- package/dist/api/types/NamedScenarioInputAudioVariableValueRequest.d.ts +9 -0
- package/dist/api/types/NamedScenarioInputAudioVariableValueRequest.js +5 -0
- package/dist/api/types/NamedScenarioInputDocumentVariableValueRequest.d.ts +9 -0
- package/dist/api/types/NamedScenarioInputDocumentVariableValueRequest.js +5 -0
- package/dist/api/types/NamedScenarioInputImageVariableValueRequest.d.ts +9 -0
- package/dist/api/types/NamedScenarioInputImageVariableValueRequest.js +5 -0
- package/dist/api/types/NamedScenarioInputRequest.d.ts +1 -1
- package/dist/api/types/NamedScenarioInputVideoVariableValueRequest.d.ts +9 -0
- package/dist/api/types/NamedScenarioInputVideoVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseAudioVariableValue.d.ts +12 -0
- package/dist/api/types/NamedTestCaseAudioVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseAudioVariableValueRequest.d.ts +12 -0
- package/dist/api/types/NamedTestCaseAudioVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseDocumentVariableValue.d.ts +9 -0
- package/dist/api/types/NamedTestCaseDocumentVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseDocumentVariableValueRequest.d.ts +9 -0
- package/dist/api/types/NamedTestCaseDocumentVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseImageVariableValue.d.ts +9 -0
- package/dist/api/types/NamedTestCaseImageVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseImageVariableValueRequest.d.ts +9 -0
- package/dist/api/types/NamedTestCaseImageVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseVariableValue.d.ts +1 -1
- package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +1 -1
- package/dist/api/types/NamedTestCaseVideoVariableValue.d.ts +9 -0
- package/dist/api/types/NamedTestCaseVideoVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseVideoVariableValueRequest.d.ts +9 -0
- package/dist/api/types/NamedTestCaseVideoVariableValueRequest.js +5 -0
- package/dist/api/types/NodeExecutionSpanAttributes.d.ts +1 -0
- package/dist/api/types/ScenarioInput.d.ts +1 -1
- package/dist/api/types/ScenarioInputAudioVariableValue.d.ts +9 -0
- package/dist/api/types/ScenarioInputAudioVariableValue.js +5 -0
- package/dist/api/types/ScenarioInputDocumentVariableValue.d.ts +9 -0
- package/dist/api/types/ScenarioInputDocumentVariableValue.js +5 -0
- package/dist/api/types/ScenarioInputImageVariableValue.d.ts +9 -0
- package/dist/api/types/ScenarioInputImageVariableValue.js +5 -0
- package/dist/api/types/ScenarioInputVideoVariableValue.d.ts +9 -0
- package/dist/api/types/ScenarioInputVideoVariableValue.js +5 -0
- package/dist/api/types/SlimDeploymentRead.d.ts +4 -7
- package/dist/api/types/SlimWorkflowDeployment.d.ts +4 -7
- package/dist/api/types/SpanLinkTypeEnum.d.ts +8 -1
- package/dist/api/types/SpanLinkTypeEnum.js +6 -0
- package/dist/api/types/TestCaseAudioVariableValue.d.ts +13 -0
- package/dist/api/types/TestCaseAudioVariableValue.js +5 -0
- package/dist/api/types/TestCaseDocumentVariableValue.d.ts +13 -0
- package/dist/api/types/TestCaseDocumentVariableValue.js +5 -0
- package/dist/api/types/TestCaseImageVariableValue.d.ts +13 -0
- package/dist/api/types/TestCaseImageVariableValue.js +5 -0
- package/dist/api/types/TestCaseVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseVideoVariableValue.d.ts +13 -0
- package/dist/api/types/TestCaseVideoVariableValue.js +5 -0
- package/dist/api/types/VideoInput.d.ts +13 -0
- package/dist/api/types/VideoInput.js +5 -0
- package/dist/api/types/WorkflowDeploymentRead.d.ts +4 -7
- package/dist/api/types/WorkflowPushDeploymentConfigRequest.d.ts +1 -0
- package/dist/api/types/WorkflowRequestAudioInputRequest.d.ts +13 -0
- package/dist/api/types/WorkflowRequestAudioInputRequest.js +5 -0
- package/dist/api/types/WorkflowRequestDocumentInputRequest.d.ts +13 -0
- package/dist/api/types/WorkflowRequestDocumentInputRequest.js +5 -0
- package/dist/api/types/WorkflowRequestImageInputRequest.d.ts +13 -0
- package/dist/api/types/WorkflowRequestImageInputRequest.js +5 -0
- package/dist/api/types/WorkflowRequestInputRequest.d.ts +1 -1
- package/dist/api/types/WorkflowRequestVideoInputRequest.d.ts +13 -0
- package/dist/api/types/WorkflowRequestVideoInputRequest.js +5 -0
- package/dist/api/types/index.d.ts +28 -0
- package/dist/api/types/index.js +28 -0
- package/dist/serialization/types/AudioInput.d.ts +15 -0
- package/dist/{terraform/index.js → serialization/types/AudioInput.js} +11 -7
- package/dist/serialization/types/CodeExecutorInput.d.ts +5 -1
- package/dist/serialization/types/CodeExecutorInput.js +8 -0
- package/dist/serialization/types/DocumentInput.d.ts +15 -0
- package/{terraform/index.js → dist/serialization/types/DocumentInput.js} +11 -7
- package/dist/serialization/types/ImageInput.d.ts +15 -0
- package/dist/serialization/types/ImageInput.js +46 -0
- package/dist/serialization/types/NamedScenarioInputAudioVariableValueRequest.d.ts +15 -0
- package/dist/serialization/types/NamedScenarioInputAudioVariableValueRequest.js +46 -0
- package/dist/serialization/types/NamedScenarioInputDocumentVariableValueRequest.d.ts +15 -0
- package/dist/serialization/types/NamedScenarioInputDocumentVariableValueRequest.js +46 -0
- package/dist/serialization/types/NamedScenarioInputImageVariableValueRequest.d.ts +15 -0
- package/dist/serialization/types/NamedScenarioInputImageVariableValueRequest.js +46 -0
- package/dist/serialization/types/NamedScenarioInputRequest.d.ts +5 -1
- package/dist/serialization/types/NamedScenarioInputRequest.js +8 -0
- package/dist/serialization/types/NamedScenarioInputVideoVariableValueRequest.d.ts +15 -0
- package/dist/serialization/types/NamedScenarioInputVideoVariableValueRequest.js +46 -0
- package/dist/serialization/types/NamedTestCaseAudioVariableValue.d.ts +15 -0
- package/dist/serialization/types/NamedTestCaseAudioVariableValue.js +46 -0
- package/dist/serialization/types/NamedTestCaseAudioVariableValueRequest.d.ts +15 -0
- package/dist/serialization/types/NamedTestCaseAudioVariableValueRequest.js +46 -0
- package/dist/serialization/types/NamedTestCaseDocumentVariableValue.d.ts +15 -0
- package/dist/serialization/types/NamedTestCaseDocumentVariableValue.js +46 -0
- package/dist/serialization/types/NamedTestCaseDocumentVariableValueRequest.d.ts +15 -0
- package/dist/serialization/types/NamedTestCaseDocumentVariableValueRequest.js +46 -0
- package/dist/serialization/types/NamedTestCaseImageVariableValue.d.ts +15 -0
- package/dist/serialization/types/NamedTestCaseImageVariableValue.js +46 -0
- package/dist/serialization/types/NamedTestCaseImageVariableValueRequest.d.ts +15 -0
- package/dist/serialization/types/NamedTestCaseImageVariableValueRequest.js +46 -0
- package/dist/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
- package/dist/serialization/types/NamedTestCaseVariableValue.js +8 -0
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.js +8 -0
- package/dist/serialization/types/NamedTestCaseVideoVariableValue.d.ts +15 -0
- package/dist/serialization/types/NamedTestCaseVideoVariableValue.js +46 -0
- package/dist/serialization/types/NamedTestCaseVideoVariableValueRequest.d.ts +15 -0
- package/dist/serialization/types/NamedTestCaseVideoVariableValueRequest.js +46 -0
- package/dist/serialization/types/NodeExecutionSpanAttributes.d.ts +1 -0
- package/dist/serialization/types/NodeExecutionSpanAttributes.js +1 -0
- package/dist/serialization/types/ScenarioInput.d.ts +5 -1
- package/dist/serialization/types/ScenarioInput.js +8 -0
- package/dist/serialization/types/ScenarioInputAudioVariableValue.d.ts +15 -0
- package/dist/serialization/types/ScenarioInputAudioVariableValue.js +46 -0
- package/dist/serialization/types/ScenarioInputDocumentVariableValue.d.ts +15 -0
- package/dist/serialization/types/ScenarioInputDocumentVariableValue.js +46 -0
- package/dist/serialization/types/ScenarioInputImageVariableValue.d.ts +15 -0
- package/dist/serialization/types/ScenarioInputImageVariableValue.js +46 -0
- package/dist/serialization/types/ScenarioInputVideoVariableValue.d.ts +15 -0
- package/dist/serialization/types/ScenarioInputVideoVariableValue.js +46 -0
- package/dist/serialization/types/SpanLinkTypeEnum.d.ts +1 -1
- package/dist/serialization/types/SpanLinkTypeEnum.js +1 -1
- package/dist/serialization/types/TestCaseAudioVariableValue.d.ts +16 -0
- package/dist/serialization/types/TestCaseAudioVariableValue.js +47 -0
- package/dist/serialization/types/TestCaseDocumentVariableValue.d.ts +16 -0
- package/dist/serialization/types/TestCaseDocumentVariableValue.js +47 -0
- package/dist/serialization/types/TestCaseImageVariableValue.d.ts +16 -0
- package/dist/serialization/types/TestCaseImageVariableValue.js +47 -0
- package/dist/serialization/types/TestCaseVariableValue.d.ts +5 -1
- package/dist/serialization/types/TestCaseVariableValue.js +8 -0
- package/dist/serialization/types/TestCaseVideoVariableValue.d.ts +16 -0
- package/dist/serialization/types/TestCaseVideoVariableValue.js +47 -0
- package/dist/serialization/types/VideoInput.d.ts +15 -0
- package/dist/serialization/types/VideoInput.js +46 -0
- package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +1 -0
- package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.js +1 -0
- package/dist/serialization/types/WorkflowRequestAudioInputRequest.d.ts +15 -0
- package/dist/serialization/types/WorkflowRequestAudioInputRequest.js +46 -0
- package/dist/serialization/types/WorkflowRequestDocumentInputRequest.d.ts +15 -0
- package/dist/serialization/types/WorkflowRequestDocumentInputRequest.js +46 -0
- package/dist/serialization/types/WorkflowRequestImageInputRequest.d.ts +15 -0
- package/dist/serialization/types/WorkflowRequestImageInputRequest.js +46 -0
- package/dist/serialization/types/WorkflowRequestInputRequest.d.ts +5 -1
- package/dist/serialization/types/WorkflowRequestInputRequest.js +8 -0
- package/dist/serialization/types/WorkflowRequestVideoInputRequest.d.ts +15 -0
- package/dist/serialization/types/WorkflowRequestVideoInputRequest.js +46 -0
- package/dist/serialization/types/index.d.ts +28 -0
- package/dist/serialization/types/index.js +28 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -3
- package/reference.md +2 -10
- package/serialization/types/AudioInput.d.ts +15 -0
- package/serialization/types/AudioInput.js +46 -0
- package/serialization/types/CodeExecutorInput.d.ts +5 -1
- package/serialization/types/CodeExecutorInput.js +8 -0
- package/serialization/types/DocumentInput.d.ts +15 -0
- package/serialization/types/DocumentInput.js +46 -0
- package/serialization/types/ImageInput.d.ts +15 -0
- package/serialization/types/ImageInput.js +46 -0
- package/serialization/types/NamedScenarioInputAudioVariableValueRequest.d.ts +15 -0
- package/serialization/types/NamedScenarioInputAudioVariableValueRequest.js +46 -0
- package/serialization/types/NamedScenarioInputDocumentVariableValueRequest.d.ts +15 -0
- package/serialization/types/NamedScenarioInputDocumentVariableValueRequest.js +46 -0
- package/serialization/types/NamedScenarioInputImageVariableValueRequest.d.ts +15 -0
- package/serialization/types/NamedScenarioInputImageVariableValueRequest.js +46 -0
- package/serialization/types/NamedScenarioInputRequest.d.ts +5 -1
- package/serialization/types/NamedScenarioInputRequest.js +8 -0
- package/serialization/types/NamedScenarioInputVideoVariableValueRequest.d.ts +15 -0
- package/serialization/types/NamedScenarioInputVideoVariableValueRequest.js +46 -0
- package/serialization/types/NamedTestCaseAudioVariableValue.d.ts +15 -0
- package/serialization/types/NamedTestCaseAudioVariableValue.js +46 -0
- package/serialization/types/NamedTestCaseAudioVariableValueRequest.d.ts +15 -0
- package/serialization/types/NamedTestCaseAudioVariableValueRequest.js +46 -0
- package/serialization/types/NamedTestCaseDocumentVariableValue.d.ts +15 -0
- package/serialization/types/NamedTestCaseDocumentVariableValue.js +46 -0
- package/serialization/types/NamedTestCaseDocumentVariableValueRequest.d.ts +15 -0
- package/serialization/types/NamedTestCaseDocumentVariableValueRequest.js +46 -0
- package/serialization/types/NamedTestCaseImageVariableValue.d.ts +15 -0
- package/serialization/types/NamedTestCaseImageVariableValue.js +46 -0
- package/serialization/types/NamedTestCaseImageVariableValueRequest.d.ts +15 -0
- package/serialization/types/NamedTestCaseImageVariableValueRequest.js +46 -0
- package/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
- package/serialization/types/NamedTestCaseVariableValue.js +8 -0
- package/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
- package/serialization/types/NamedTestCaseVariableValueRequest.js +8 -0
- package/serialization/types/NamedTestCaseVideoVariableValue.d.ts +15 -0
- package/serialization/types/NamedTestCaseVideoVariableValue.js +46 -0
- package/serialization/types/NamedTestCaseVideoVariableValueRequest.d.ts +15 -0
- package/serialization/types/NamedTestCaseVideoVariableValueRequest.js +46 -0
- package/serialization/types/NodeExecutionSpanAttributes.d.ts +1 -0
- package/serialization/types/NodeExecutionSpanAttributes.js +1 -0
- package/serialization/types/ScenarioInput.d.ts +5 -1
- package/serialization/types/ScenarioInput.js +8 -0
- package/serialization/types/ScenarioInputAudioVariableValue.d.ts +15 -0
- package/serialization/types/ScenarioInputAudioVariableValue.js +46 -0
- package/serialization/types/ScenarioInputDocumentVariableValue.d.ts +15 -0
- package/serialization/types/ScenarioInputDocumentVariableValue.js +46 -0
- package/serialization/types/ScenarioInputImageVariableValue.d.ts +15 -0
- package/serialization/types/ScenarioInputImageVariableValue.js +46 -0
- package/serialization/types/ScenarioInputVideoVariableValue.d.ts +15 -0
- package/serialization/types/ScenarioInputVideoVariableValue.js +46 -0
- package/serialization/types/SpanLinkTypeEnum.d.ts +1 -1
- package/serialization/types/SpanLinkTypeEnum.js +1 -1
- package/serialization/types/TestCaseAudioVariableValue.d.ts +16 -0
- package/serialization/types/TestCaseAudioVariableValue.js +47 -0
- package/serialization/types/TestCaseDocumentVariableValue.d.ts +16 -0
- package/serialization/types/TestCaseDocumentVariableValue.js +47 -0
- package/serialization/types/TestCaseImageVariableValue.d.ts +16 -0
- package/serialization/types/TestCaseImageVariableValue.js +47 -0
- package/serialization/types/TestCaseVariableValue.d.ts +5 -1
- package/serialization/types/TestCaseVariableValue.js +8 -0
- package/serialization/types/TestCaseVideoVariableValue.d.ts +16 -0
- package/serialization/types/TestCaseVideoVariableValue.js +47 -0
- package/serialization/types/VideoInput.d.ts +15 -0
- package/serialization/types/VideoInput.js +46 -0
- package/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +1 -0
- package/serialization/types/WorkflowPushDeploymentConfigRequest.js +1 -0
- package/serialization/types/WorkflowRequestAudioInputRequest.d.ts +15 -0
- package/serialization/types/WorkflowRequestAudioInputRequest.js +46 -0
- package/serialization/types/WorkflowRequestDocumentInputRequest.d.ts +15 -0
- package/serialization/types/WorkflowRequestDocumentInputRequest.js +46 -0
- package/serialization/types/WorkflowRequestImageInputRequest.d.ts +15 -0
- package/serialization/types/WorkflowRequestImageInputRequest.js +46 -0
- package/serialization/types/WorkflowRequestInputRequest.d.ts +5 -1
- package/serialization/types/WorkflowRequestInputRequest.js +8 -0
- package/serialization/types/WorkflowRequestVideoInputRequest.d.ts +15 -0
- package/serialization/types/WorkflowRequestVideoInputRequest.js +46 -0
- package/serialization/types/index.d.ts +28 -0
- package/serialization/types/index.js +28 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/terraform/data-vellum-document-index/index.d.ts +0 -61
- package/dist/terraform/data-vellum-document-index/index.js +0 -162
- package/dist/terraform/data-vellum-ml-model/index.d.ts +0 -61
- package/dist/terraform/data-vellum-ml-model/index.js +0 -162
- package/dist/terraform/document-index/index.d.ts +0 -83
- package/dist/terraform/document-index/index.js +0 -190
- package/dist/terraform/index.d.ts +0 -5
- package/dist/terraform/lazy-index.d.ts +0 -0
- package/dist/terraform/lazy-index.js +0 -7
- package/dist/terraform/ml-model/index.d.ts +0 -148
- package/dist/terraform/ml-model/index.js +0 -364
- package/dist/terraform/provider/index.d.ts +0 -65
- package/dist/terraform/provider/index.js +0 -158
- package/terraform/data-vellum-document-index/index.d.ts +0 -61
- package/terraform/data-vellum-document-index/index.js +0 -162
- package/terraform/data-vellum-ml-model/index.d.ts +0 -61
- package/terraform/data-vellum-ml-model/index.js +0 -162
- package/terraform/document-index/index.d.ts +0 -83
- package/terraform/document-index/index.js +0 -190
- package/terraform/index.d.ts +0 -5
- package/terraform/lazy-index.d.ts +0 -0
- package/terraform/lazy-index.js +0 -7
- package/terraform/ml-model/index.d.ts +0 -148
- package/terraform/ml-model/index.js +0 -364
- package/terraform/provider/index.d.ts +0 -65
- package/terraform/provider/index.js +0 -158
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.3.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vellum-ai",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/vellum-ai/vellum-client-node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,8 +20,6 @@
|
|
|
20
20
|
"qs": "^6.13.1",
|
|
21
21
|
"readable-stream": "^4.5.2",
|
|
22
22
|
"form-data-encoder": "^4.0.2",
|
|
23
|
-
"cdktf": "^0.20.5",
|
|
24
|
-
"constructs": "10.3.0",
|
|
25
23
|
"undici": "6.21.2"
|
|
26
24
|
},
|
|
27
25
|
"devDependencies": {
|
package/reference.md
CHANGED
|
@@ -3953,7 +3953,7 @@ await client.workflowExecutions.retrieveWorkflowExecutionDetail("execution_id");
|
|
|
3953
3953
|
|
|
3954
3954
|
## WorkflowSandboxes
|
|
3955
3955
|
|
|
3956
|
-
<details><summary><code>client.workflowSandboxes.<a href="/src/api/resources/workflowSandboxes/client/Client.ts">deployWorkflow</a>(id,
|
|
3956
|
+
<details><summary><code>client.workflowSandboxes.<a href="/src/api/resources/workflowSandboxes/client/Client.ts">deployWorkflow</a>(id, { ...params }) -> Vellum.WorkflowDeploymentRead</code></summary>
|
|
3957
3957
|
<dl>
|
|
3958
3958
|
<dd>
|
|
3959
3959
|
|
|
@@ -3966,7 +3966,7 @@ await client.workflowExecutions.retrieveWorkflowExecutionDetail("execution_id");
|
|
|
3966
3966
|
<dd>
|
|
3967
3967
|
|
|
3968
3968
|
```typescript
|
|
3969
|
-
await client.workflowSandboxes.deployWorkflow("id"
|
|
3969
|
+
await client.workflowSandboxes.deployWorkflow("id");
|
|
3970
3970
|
```
|
|
3971
3971
|
|
|
3972
3972
|
</dd>
|
|
@@ -3990,14 +3990,6 @@ await client.workflowSandboxes.deployWorkflow("id", "workflow_id");
|
|
|
3990
3990
|
<dl>
|
|
3991
3991
|
<dd>
|
|
3992
3992
|
|
|
3993
|
-
**workflowId:** `string` — An ID identifying the Workflow you'd like to deploy.
|
|
3994
|
-
|
|
3995
|
-
</dd>
|
|
3996
|
-
</dl>
|
|
3997
|
-
|
|
3998
|
-
<dl>
|
|
3999
|
-
<dd>
|
|
4000
|
-
|
|
4001
3993
|
**request:** `Vellum.DeploySandboxWorkflowRequest`
|
|
4002
3994
|
|
|
4003
3995
|
</dd>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumAudio } from "./VellumAudio";
|
|
8
|
+
export declare const AudioInput: core.serialization.ObjectSchema<serializers.AudioInput.Raw, Vellum.AudioInput>;
|
|
9
|
+
export declare namespace AudioInput {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name: string;
|
|
12
|
+
type: "AUDIO";
|
|
13
|
+
value: VellumAudio.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AudioInput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumAudio_1 = require("./VellumAudio");
|
|
42
|
+
exports.AudioInput = core.serialization.object({
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
type: core.serialization.stringLiteral("AUDIO"),
|
|
45
|
+
value: VellumAudio_1.VellumAudio,
|
|
46
|
+
});
|
|
@@ -12,8 +12,12 @@ import { SearchResultsInput } from "./SearchResultsInput";
|
|
|
12
12
|
import { ErrorInput } from "./ErrorInput";
|
|
13
13
|
import { ArrayInput } from "./ArrayInput";
|
|
14
14
|
import { FunctionCallInput } from "./FunctionCallInput";
|
|
15
|
+
import { AudioInput } from "./AudioInput";
|
|
16
|
+
import { VideoInput } from "./VideoInput";
|
|
17
|
+
import { ImageInput } from "./ImageInput";
|
|
18
|
+
import { DocumentInput } from "./DocumentInput";
|
|
15
19
|
import { CodeExecutorSecretInput } from "./CodeExecutorSecretInput";
|
|
16
20
|
export declare const CodeExecutorInput: core.serialization.Schema<serializers.CodeExecutorInput.Raw, Vellum.CodeExecutorInput>;
|
|
17
21
|
export declare namespace CodeExecutorInput {
|
|
18
|
-
type Raw = StringInput.Raw | JsonInput.Raw | ChatHistoryInput.Raw | NumberInput.Raw | SearchResultsInput.Raw | ErrorInput.Raw | ArrayInput.Raw | FunctionCallInput.Raw | CodeExecutorSecretInput.Raw;
|
|
22
|
+
type Raw = StringInput.Raw | JsonInput.Raw | ChatHistoryInput.Raw | NumberInput.Raw | SearchResultsInput.Raw | ErrorInput.Raw | ArrayInput.Raw | FunctionCallInput.Raw | AudioInput.Raw | VideoInput.Raw | ImageInput.Raw | DocumentInput.Raw | CodeExecutorSecretInput.Raw;
|
|
19
23
|
}
|
|
@@ -46,6 +46,10 @@ const SearchResultsInput_1 = require("./SearchResultsInput");
|
|
|
46
46
|
const ErrorInput_1 = require("./ErrorInput");
|
|
47
47
|
const ArrayInput_1 = require("./ArrayInput");
|
|
48
48
|
const FunctionCallInput_1 = require("./FunctionCallInput");
|
|
49
|
+
const AudioInput_1 = require("./AudioInput");
|
|
50
|
+
const VideoInput_1 = require("./VideoInput");
|
|
51
|
+
const ImageInput_1 = require("./ImageInput");
|
|
52
|
+
const DocumentInput_1 = require("./DocumentInput");
|
|
49
53
|
const CodeExecutorSecretInput_1 = require("./CodeExecutorSecretInput");
|
|
50
54
|
exports.CodeExecutorInput = core.serialization.undiscriminatedUnion([
|
|
51
55
|
StringInput_1.StringInput,
|
|
@@ -56,5 +60,9 @@ exports.CodeExecutorInput = core.serialization.undiscriminatedUnion([
|
|
|
56
60
|
ErrorInput_1.ErrorInput,
|
|
57
61
|
ArrayInput_1.ArrayInput,
|
|
58
62
|
FunctionCallInput_1.FunctionCallInput,
|
|
63
|
+
AudioInput_1.AudioInput,
|
|
64
|
+
VideoInput_1.VideoInput,
|
|
65
|
+
ImageInput_1.ImageInput,
|
|
66
|
+
DocumentInput_1.DocumentInput,
|
|
59
67
|
CodeExecutorSecretInput_1.CodeExecutorSecretInput,
|
|
60
68
|
]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumDocument } from "./VellumDocument";
|
|
8
|
+
export declare const DocumentInput: core.serialization.ObjectSchema<serializers.DocumentInput.Raw, Vellum.DocumentInput>;
|
|
9
|
+
export declare namespace DocumentInput {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name: string;
|
|
12
|
+
type: "DOCUMENT";
|
|
13
|
+
value: VellumDocument.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DocumentInput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumDocument_1 = require("./VellumDocument");
|
|
42
|
+
exports.DocumentInput = core.serialization.object({
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
type: core.serialization.stringLiteral("DOCUMENT"),
|
|
45
|
+
value: VellumDocument_1.VellumDocument,
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumImage } from "./VellumImage";
|
|
8
|
+
export declare const ImageInput: core.serialization.ObjectSchema<serializers.ImageInput.Raw, Vellum.ImageInput>;
|
|
9
|
+
export declare namespace ImageInput {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name: string;
|
|
12
|
+
type: "IMAGE";
|
|
13
|
+
value: VellumImage.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ImageInput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumImage_1 = require("./VellumImage");
|
|
42
|
+
exports.ImageInput = core.serialization.object({
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
type: core.serialization.stringLiteral("IMAGE"),
|
|
45
|
+
value: VellumImage_1.VellumImage,
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumAudioRequest } from "./VellumAudioRequest";
|
|
8
|
+
export declare const NamedScenarioInputAudioVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedScenarioInputAudioVariableValueRequest.Raw, Vellum.NamedScenarioInputAudioVariableValueRequest>;
|
|
9
|
+
export declare namespace NamedScenarioInputAudioVariableValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "AUDIO";
|
|
12
|
+
value: VellumAudioRequest.Raw;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.NamedScenarioInputAudioVariableValueRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumAudioRequest_1 = require("./VellumAudioRequest");
|
|
42
|
+
exports.NamedScenarioInputAudioVariableValueRequest = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("AUDIO"),
|
|
44
|
+
value: VellumAudioRequest_1.VellumAudioRequest,
|
|
45
|
+
name: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumDocumentRequest } from "./VellumDocumentRequest";
|
|
8
|
+
export declare const NamedScenarioInputDocumentVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedScenarioInputDocumentVariableValueRequest.Raw, Vellum.NamedScenarioInputDocumentVariableValueRequest>;
|
|
9
|
+
export declare namespace NamedScenarioInputDocumentVariableValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "DOCUMENT";
|
|
12
|
+
value: VellumDocumentRequest.Raw;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.NamedScenarioInputDocumentVariableValueRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumDocumentRequest_1 = require("./VellumDocumentRequest");
|
|
42
|
+
exports.NamedScenarioInputDocumentVariableValueRequest = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("DOCUMENT"),
|
|
44
|
+
value: VellumDocumentRequest_1.VellumDocumentRequest,
|
|
45
|
+
name: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumImageRequest } from "./VellumImageRequest";
|
|
8
|
+
export declare const NamedScenarioInputImageVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedScenarioInputImageVariableValueRequest.Raw, Vellum.NamedScenarioInputImageVariableValueRequest>;
|
|
9
|
+
export declare namespace NamedScenarioInputImageVariableValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "IMAGE";
|
|
12
|
+
value: VellumImageRequest.Raw;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.NamedScenarioInputImageVariableValueRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumImageRequest_1 = require("./VellumImageRequest");
|
|
42
|
+
exports.NamedScenarioInputImageVariableValueRequest = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("IMAGE"),
|
|
44
|
+
value: VellumImageRequest_1.VellumImageRequest,
|
|
45
|
+
name: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -7,7 +7,11 @@ import * as core from "../../core";
|
|
|
7
7
|
import { NamedScenarioInputStringVariableValueRequest } from "./NamedScenarioInputStringVariableValueRequest";
|
|
8
8
|
import { NamedScenarioInputJsonVariableValueRequest } from "./NamedScenarioInputJsonVariableValueRequest";
|
|
9
9
|
import { NamedScenarioInputChatHistoryVariableValueRequest } from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
10
|
+
import { NamedScenarioInputAudioVariableValueRequest } from "./NamedScenarioInputAudioVariableValueRequest";
|
|
11
|
+
import { NamedScenarioInputVideoVariableValueRequest } from "./NamedScenarioInputVideoVariableValueRequest";
|
|
12
|
+
import { NamedScenarioInputImageVariableValueRequest } from "./NamedScenarioInputImageVariableValueRequest";
|
|
13
|
+
import { NamedScenarioInputDocumentVariableValueRequest } from "./NamedScenarioInputDocumentVariableValueRequest";
|
|
10
14
|
export declare const NamedScenarioInputRequest: core.serialization.Schema<serializers.NamedScenarioInputRequest.Raw, Vellum.NamedScenarioInputRequest>;
|
|
11
15
|
export declare namespace NamedScenarioInputRequest {
|
|
12
|
-
type Raw = NamedScenarioInputStringVariableValueRequest.Raw | NamedScenarioInputJsonVariableValueRequest.Raw | NamedScenarioInputChatHistoryVariableValueRequest.Raw;
|
|
16
|
+
type Raw = NamedScenarioInputStringVariableValueRequest.Raw | NamedScenarioInputJsonVariableValueRequest.Raw | NamedScenarioInputChatHistoryVariableValueRequest.Raw | NamedScenarioInputAudioVariableValueRequest.Raw | NamedScenarioInputVideoVariableValueRequest.Raw | NamedScenarioInputImageVariableValueRequest.Raw | NamedScenarioInputDocumentVariableValueRequest.Raw;
|
|
13
17
|
}
|
|
@@ -41,8 +41,16 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const NamedScenarioInputStringVariableValueRequest_1 = require("./NamedScenarioInputStringVariableValueRequest");
|
|
42
42
|
const NamedScenarioInputJsonVariableValueRequest_1 = require("./NamedScenarioInputJsonVariableValueRequest");
|
|
43
43
|
const NamedScenarioInputChatHistoryVariableValueRequest_1 = require("./NamedScenarioInputChatHistoryVariableValueRequest");
|
|
44
|
+
const NamedScenarioInputAudioVariableValueRequest_1 = require("./NamedScenarioInputAudioVariableValueRequest");
|
|
45
|
+
const NamedScenarioInputVideoVariableValueRequest_1 = require("./NamedScenarioInputVideoVariableValueRequest");
|
|
46
|
+
const NamedScenarioInputImageVariableValueRequest_1 = require("./NamedScenarioInputImageVariableValueRequest");
|
|
47
|
+
const NamedScenarioInputDocumentVariableValueRequest_1 = require("./NamedScenarioInputDocumentVariableValueRequest");
|
|
44
48
|
exports.NamedScenarioInputRequest = core.serialization.undiscriminatedUnion([
|
|
45
49
|
NamedScenarioInputStringVariableValueRequest_1.NamedScenarioInputStringVariableValueRequest,
|
|
46
50
|
NamedScenarioInputJsonVariableValueRequest_1.NamedScenarioInputJsonVariableValueRequest,
|
|
47
51
|
NamedScenarioInputChatHistoryVariableValueRequest_1.NamedScenarioInputChatHistoryVariableValueRequest,
|
|
52
|
+
NamedScenarioInputAudioVariableValueRequest_1.NamedScenarioInputAudioVariableValueRequest,
|
|
53
|
+
NamedScenarioInputVideoVariableValueRequest_1.NamedScenarioInputVideoVariableValueRequest,
|
|
54
|
+
NamedScenarioInputImageVariableValueRequest_1.NamedScenarioInputImageVariableValueRequest,
|
|
55
|
+
NamedScenarioInputDocumentVariableValueRequest_1.NamedScenarioInputDocumentVariableValueRequest,
|
|
48
56
|
]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumVideoRequest } from "./VellumVideoRequest";
|
|
8
|
+
export declare const NamedScenarioInputVideoVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedScenarioInputVideoVariableValueRequest.Raw, Vellum.NamedScenarioInputVideoVariableValueRequest>;
|
|
9
|
+
export declare namespace NamedScenarioInputVideoVariableValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "VIDEO";
|
|
12
|
+
value: VellumVideoRequest.Raw;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.NamedScenarioInputVideoVariableValueRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumVideoRequest_1 = require("./VellumVideoRequest");
|
|
42
|
+
exports.NamedScenarioInputVideoVariableValueRequest = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("VIDEO"),
|
|
44
|
+
value: VellumVideoRequest_1.VellumVideoRequest,
|
|
45
|
+
name: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumAudio } from "./VellumAudio";
|
|
8
|
+
export declare const NamedTestCaseAudioVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseAudioVariableValue.Raw, Vellum.NamedTestCaseAudioVariableValue>;
|
|
9
|
+
export declare namespace NamedTestCaseAudioVariableValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "AUDIO";
|
|
12
|
+
value: VellumAudio.Raw;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.NamedTestCaseAudioVariableValue = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumAudio_1 = require("./VellumAudio");
|
|
42
|
+
exports.NamedTestCaseAudioVariableValue = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("AUDIO"),
|
|
44
|
+
value: VellumAudio_1.VellumAudio,
|
|
45
|
+
name: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumAudioRequest } from "./VellumAudioRequest";
|
|
8
|
+
export declare const NamedTestCaseAudioVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseAudioVariableValueRequest.Raw, Vellum.NamedTestCaseAudioVariableValueRequest>;
|
|
9
|
+
export declare namespace NamedTestCaseAudioVariableValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "AUDIO";
|
|
12
|
+
value: VellumAudioRequest.Raw;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
}
|