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
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model
|
|
3
|
-
// generated from terraform resource schema
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
-
}) : function(o, v) {
|
|
18
|
-
o["default"] = v;
|
|
19
|
-
});
|
|
20
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
-
var ownKeys = function(o) {
|
|
22
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
-
var ar = [];
|
|
24
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
-
return ar;
|
|
26
|
-
};
|
|
27
|
-
return ownKeys(o);
|
|
28
|
-
};
|
|
29
|
-
return function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
})();
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.MlModel = exports.MlModelExecConfigOutputReference = void 0;
|
|
39
|
-
exports.mlModelExecConfigToTerraform = mlModelExecConfigToTerraform;
|
|
40
|
-
exports.mlModelExecConfigToHclTerraform = mlModelExecConfigToHclTerraform;
|
|
41
|
-
const cdktf = __importStar(require("cdktf"));
|
|
42
|
-
function mlModelExecConfigToTerraform(struct) {
|
|
43
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
44
|
-
return struct;
|
|
45
|
-
}
|
|
46
|
-
if (cdktf.isComplexElement(struct)) {
|
|
47
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
base_url: cdktf.stringToTerraform(struct.baseUrl),
|
|
51
|
-
features: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.features),
|
|
52
|
-
metadata: cdktf.hashMapper(cdktf.stringToTerraform)(struct.metadata),
|
|
53
|
-
model_identifier: cdktf.stringToTerraform(struct.modelIdentifier),
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function mlModelExecConfigToHclTerraform(struct) {
|
|
57
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
58
|
-
return struct;
|
|
59
|
-
}
|
|
60
|
-
if (cdktf.isComplexElement(struct)) {
|
|
61
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
62
|
-
}
|
|
63
|
-
const attrs = {
|
|
64
|
-
base_url: {
|
|
65
|
-
value: cdktf.stringToHclTerraform(struct.baseUrl),
|
|
66
|
-
isBlock: false,
|
|
67
|
-
type: "simple",
|
|
68
|
-
storageClassType: "string",
|
|
69
|
-
},
|
|
70
|
-
features: {
|
|
71
|
-
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.features),
|
|
72
|
-
isBlock: false,
|
|
73
|
-
type: "list",
|
|
74
|
-
storageClassType: "stringList",
|
|
75
|
-
},
|
|
76
|
-
metadata: {
|
|
77
|
-
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.metadata),
|
|
78
|
-
isBlock: false,
|
|
79
|
-
type: "map",
|
|
80
|
-
storageClassType: "stringMap",
|
|
81
|
-
},
|
|
82
|
-
model_identifier: {
|
|
83
|
-
value: cdktf.stringToHclTerraform(struct.modelIdentifier),
|
|
84
|
-
isBlock: false,
|
|
85
|
-
type: "simple",
|
|
86
|
-
storageClassType: "string",
|
|
87
|
-
},
|
|
88
|
-
};
|
|
89
|
-
// remove undefined attributes
|
|
90
|
-
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
91
|
-
}
|
|
92
|
-
class MlModelExecConfigOutputReference extends cdktf.ComplexObject {
|
|
93
|
-
/**
|
|
94
|
-
* @param terraformResource The parent resource
|
|
95
|
-
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
96
|
-
*/
|
|
97
|
-
constructor(terraformResource, terraformAttribute) {
|
|
98
|
-
super(terraformResource, terraformAttribute, false);
|
|
99
|
-
this.isEmptyObject = false;
|
|
100
|
-
}
|
|
101
|
-
get internalValue() {
|
|
102
|
-
if (this.resolvableValue) {
|
|
103
|
-
return this.resolvableValue;
|
|
104
|
-
}
|
|
105
|
-
let hasAnyValues = this.isEmptyObject;
|
|
106
|
-
const internalValueResult = {};
|
|
107
|
-
if (this._baseUrl !== undefined) {
|
|
108
|
-
hasAnyValues = true;
|
|
109
|
-
internalValueResult.baseUrl = this._baseUrl;
|
|
110
|
-
}
|
|
111
|
-
if (this._features !== undefined) {
|
|
112
|
-
hasAnyValues = true;
|
|
113
|
-
internalValueResult.features = this._features;
|
|
114
|
-
}
|
|
115
|
-
if (this._metadata !== undefined) {
|
|
116
|
-
hasAnyValues = true;
|
|
117
|
-
internalValueResult.metadata = this._metadata;
|
|
118
|
-
}
|
|
119
|
-
if (this._modelIdentifier !== undefined) {
|
|
120
|
-
hasAnyValues = true;
|
|
121
|
-
internalValueResult.modelIdentifier = this._modelIdentifier;
|
|
122
|
-
}
|
|
123
|
-
return hasAnyValues ? internalValueResult : undefined;
|
|
124
|
-
}
|
|
125
|
-
set internalValue(value) {
|
|
126
|
-
if (value === undefined) {
|
|
127
|
-
this.isEmptyObject = false;
|
|
128
|
-
this.resolvableValue = undefined;
|
|
129
|
-
this._baseUrl = undefined;
|
|
130
|
-
this._features = undefined;
|
|
131
|
-
this._metadata = undefined;
|
|
132
|
-
this._modelIdentifier = undefined;
|
|
133
|
-
}
|
|
134
|
-
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
135
|
-
this.isEmptyObject = false;
|
|
136
|
-
this.resolvableValue = value;
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
this.isEmptyObject = Object.keys(value).length === 0;
|
|
140
|
-
this.resolvableValue = undefined;
|
|
141
|
-
this._baseUrl = value.baseUrl;
|
|
142
|
-
this._features = value.features;
|
|
143
|
-
this._metadata = value.metadata;
|
|
144
|
-
this._modelIdentifier = value.modelIdentifier;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
get baseUrl() {
|
|
148
|
-
return this.getStringAttribute('base_url');
|
|
149
|
-
}
|
|
150
|
-
set baseUrl(value) {
|
|
151
|
-
this._baseUrl = value;
|
|
152
|
-
}
|
|
153
|
-
// Temporarily expose input value. Use with caution.
|
|
154
|
-
get baseUrlInput() {
|
|
155
|
-
return this._baseUrl;
|
|
156
|
-
}
|
|
157
|
-
get features() {
|
|
158
|
-
return this.getListAttribute('features');
|
|
159
|
-
}
|
|
160
|
-
set features(value) {
|
|
161
|
-
this._features = value;
|
|
162
|
-
}
|
|
163
|
-
// Temporarily expose input value. Use with caution.
|
|
164
|
-
get featuresInput() {
|
|
165
|
-
return this._features;
|
|
166
|
-
}
|
|
167
|
-
get metadata() {
|
|
168
|
-
return this.getStringMapAttribute('metadata');
|
|
169
|
-
}
|
|
170
|
-
set metadata(value) {
|
|
171
|
-
this._metadata = value;
|
|
172
|
-
}
|
|
173
|
-
// Temporarily expose input value. Use with caution.
|
|
174
|
-
get metadataInput() {
|
|
175
|
-
return this._metadata;
|
|
176
|
-
}
|
|
177
|
-
get modelIdentifier() {
|
|
178
|
-
return this.getStringAttribute('model_identifier');
|
|
179
|
-
}
|
|
180
|
-
set modelIdentifier(value) {
|
|
181
|
-
this._modelIdentifier = value;
|
|
182
|
-
}
|
|
183
|
-
// Temporarily expose input value. Use with caution.
|
|
184
|
-
get modelIdentifierInput() {
|
|
185
|
-
return this._modelIdentifier;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
exports.MlModelExecConfigOutputReference = MlModelExecConfigOutputReference;
|
|
189
|
-
/**
|
|
190
|
-
* Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model vellum_ml_model}
|
|
191
|
-
*/
|
|
192
|
-
class MlModel extends cdktf.TerraformResource {
|
|
193
|
-
// ==============
|
|
194
|
-
// STATIC Methods
|
|
195
|
-
// ==============
|
|
196
|
-
/**
|
|
197
|
-
* Generates CDKTF code for importing a MlModel resource upon running "cdktf plan <stack-name>"
|
|
198
|
-
* @param scope The scope in which to define this construct
|
|
199
|
-
* @param importToId The construct id used in the generated config for the MlModel to import
|
|
200
|
-
* @param importFromId The id of the existing MlModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#import import section} in the documentation of this resource for the id to use
|
|
201
|
-
* @param provider? Optional instance of the provider where the MlModel to import is found
|
|
202
|
-
*/
|
|
203
|
-
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
204
|
-
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "vellum_ml_model", importId: importFromId, provider });
|
|
205
|
-
}
|
|
206
|
-
// ===========
|
|
207
|
-
// INITIALIZER
|
|
208
|
-
// ===========
|
|
209
|
-
/**
|
|
210
|
-
* Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model vellum_ml_model} Resource
|
|
211
|
-
*
|
|
212
|
-
* @param scope The scope in which to define this construct
|
|
213
|
-
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
214
|
-
* @param options MlModelConfig
|
|
215
|
-
*/
|
|
216
|
-
constructor(scope, id, config) {
|
|
217
|
-
super(scope, id, {
|
|
218
|
-
terraformResourceType: 'vellum_ml_model',
|
|
219
|
-
terraformGeneratorMetadata: {
|
|
220
|
-
providerName: 'vellum',
|
|
221
|
-
providerVersion: '0.0.7'
|
|
222
|
-
},
|
|
223
|
-
provider: config.provider,
|
|
224
|
-
dependsOn: config.dependsOn,
|
|
225
|
-
count: config.count,
|
|
226
|
-
lifecycle: config.lifecycle,
|
|
227
|
-
provisioners: config.provisioners,
|
|
228
|
-
connection: config.connection,
|
|
229
|
-
forEach: config.forEach
|
|
230
|
-
});
|
|
231
|
-
// exec_config - computed: false, optional: false, required: true
|
|
232
|
-
this._execConfig = new MlModelExecConfigOutputReference(this, "exec_config");
|
|
233
|
-
this._developedBy = config.developedBy;
|
|
234
|
-
this._execConfig.internalValue = config.execConfig;
|
|
235
|
-
this._family = config.family;
|
|
236
|
-
this._hostedBy = config.hostedBy;
|
|
237
|
-
this._name = config.name;
|
|
238
|
-
this._visibility = config.visibility;
|
|
239
|
-
}
|
|
240
|
-
get developedBy() {
|
|
241
|
-
return this.getStringAttribute('developed_by');
|
|
242
|
-
}
|
|
243
|
-
set developedBy(value) {
|
|
244
|
-
this._developedBy = value;
|
|
245
|
-
}
|
|
246
|
-
// Temporarily expose input value. Use with caution.
|
|
247
|
-
get developedByInput() {
|
|
248
|
-
return this._developedBy;
|
|
249
|
-
}
|
|
250
|
-
get execConfig() {
|
|
251
|
-
return this._execConfig;
|
|
252
|
-
}
|
|
253
|
-
putExecConfig(value) {
|
|
254
|
-
this._execConfig.internalValue = value;
|
|
255
|
-
}
|
|
256
|
-
// Temporarily expose input value. Use with caution.
|
|
257
|
-
get execConfigInput() {
|
|
258
|
-
return this._execConfig.internalValue;
|
|
259
|
-
}
|
|
260
|
-
get family() {
|
|
261
|
-
return this.getStringAttribute('family');
|
|
262
|
-
}
|
|
263
|
-
set family(value) {
|
|
264
|
-
this._family = value;
|
|
265
|
-
}
|
|
266
|
-
// Temporarily expose input value. Use with caution.
|
|
267
|
-
get familyInput() {
|
|
268
|
-
return this._family;
|
|
269
|
-
}
|
|
270
|
-
get hostedBy() {
|
|
271
|
-
return this.getStringAttribute('hosted_by');
|
|
272
|
-
}
|
|
273
|
-
set hostedBy(value) {
|
|
274
|
-
this._hostedBy = value;
|
|
275
|
-
}
|
|
276
|
-
// Temporarily expose input value. Use with caution.
|
|
277
|
-
get hostedByInput() {
|
|
278
|
-
return this._hostedBy;
|
|
279
|
-
}
|
|
280
|
-
// id - computed: true, optional: false, required: false
|
|
281
|
-
get id() {
|
|
282
|
-
return this.getStringAttribute('id');
|
|
283
|
-
}
|
|
284
|
-
get name() {
|
|
285
|
-
return this.getStringAttribute('name');
|
|
286
|
-
}
|
|
287
|
-
set name(value) {
|
|
288
|
-
this._name = value;
|
|
289
|
-
}
|
|
290
|
-
// Temporarily expose input value. Use with caution.
|
|
291
|
-
get nameInput() {
|
|
292
|
-
return this._name;
|
|
293
|
-
}
|
|
294
|
-
get visibility() {
|
|
295
|
-
return this.getStringAttribute('visibility');
|
|
296
|
-
}
|
|
297
|
-
set visibility(value) {
|
|
298
|
-
this._visibility = value;
|
|
299
|
-
}
|
|
300
|
-
// Temporarily expose input value. Use with caution.
|
|
301
|
-
get visibilityInput() {
|
|
302
|
-
return this._visibility;
|
|
303
|
-
}
|
|
304
|
-
// =========
|
|
305
|
-
// SYNTHESIS
|
|
306
|
-
// =========
|
|
307
|
-
synthesizeAttributes() {
|
|
308
|
-
return {
|
|
309
|
-
developed_by: cdktf.stringToTerraform(this._developedBy),
|
|
310
|
-
exec_config: mlModelExecConfigToTerraform(this._execConfig.internalValue),
|
|
311
|
-
family: cdktf.stringToTerraform(this._family),
|
|
312
|
-
hosted_by: cdktf.stringToTerraform(this._hostedBy),
|
|
313
|
-
name: cdktf.stringToTerraform(this._name),
|
|
314
|
-
visibility: cdktf.stringToTerraform(this._visibility),
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
synthesizeHclAttributes() {
|
|
318
|
-
const attrs = {
|
|
319
|
-
developed_by: {
|
|
320
|
-
value: cdktf.stringToHclTerraform(this._developedBy),
|
|
321
|
-
isBlock: false,
|
|
322
|
-
type: "simple",
|
|
323
|
-
storageClassType: "string",
|
|
324
|
-
},
|
|
325
|
-
exec_config: {
|
|
326
|
-
value: mlModelExecConfigToHclTerraform(this._execConfig.internalValue),
|
|
327
|
-
isBlock: true,
|
|
328
|
-
type: "struct",
|
|
329
|
-
storageClassType: "MlModelExecConfig",
|
|
330
|
-
},
|
|
331
|
-
family: {
|
|
332
|
-
value: cdktf.stringToHclTerraform(this._family),
|
|
333
|
-
isBlock: false,
|
|
334
|
-
type: "simple",
|
|
335
|
-
storageClassType: "string",
|
|
336
|
-
},
|
|
337
|
-
hosted_by: {
|
|
338
|
-
value: cdktf.stringToHclTerraform(this._hostedBy),
|
|
339
|
-
isBlock: false,
|
|
340
|
-
type: "simple",
|
|
341
|
-
storageClassType: "string",
|
|
342
|
-
},
|
|
343
|
-
name: {
|
|
344
|
-
value: cdktf.stringToHclTerraform(this._name),
|
|
345
|
-
isBlock: false,
|
|
346
|
-
type: "simple",
|
|
347
|
-
storageClassType: "string",
|
|
348
|
-
},
|
|
349
|
-
visibility: {
|
|
350
|
-
value: cdktf.stringToHclTerraform(this._visibility),
|
|
351
|
-
isBlock: false,
|
|
352
|
-
type: "simple",
|
|
353
|
-
storageClassType: "string",
|
|
354
|
-
},
|
|
355
|
-
};
|
|
356
|
-
// remove undefined attributes
|
|
357
|
-
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
exports.MlModel = MlModel;
|
|
361
|
-
// =================
|
|
362
|
-
// STATIC PROPERTIES
|
|
363
|
-
// =================
|
|
364
|
-
MlModel.tfResourceType = "vellum_ml_model";
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import * as cdktf from 'cdktf';
|
|
3
|
-
export interface VellumProviderConfig {
|
|
4
|
-
/**
|
|
5
|
-
* API Key to authenticate with the Vellum API
|
|
6
|
-
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#api_key VellumProvider#api_key}
|
|
8
|
-
*/
|
|
9
|
-
readonly apiKey?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Base URL to use with the Vellum API
|
|
12
|
-
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#base_url VellumProvider#base_url}
|
|
14
|
-
*/
|
|
15
|
-
readonly baseUrl?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Alias name
|
|
18
|
-
*
|
|
19
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#alias VellumProvider#alias}
|
|
20
|
-
*/
|
|
21
|
-
readonly alias?: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum}
|
|
25
|
-
*/
|
|
26
|
-
export declare class VellumProvider extends cdktf.TerraformProvider {
|
|
27
|
-
static readonly tfResourceType = "vellum";
|
|
28
|
-
/**
|
|
29
|
-
* Generates CDKTF code for importing a VellumProvider resource upon running "cdktf plan <stack-name>"
|
|
30
|
-
* @param scope The scope in which to define this construct
|
|
31
|
-
* @param importToId The construct id used in the generated config for the VellumProvider to import
|
|
32
|
-
* @param importFromId The id of the existing VellumProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#import import section} in the documentation of this resource for the id to use
|
|
33
|
-
* @param provider? Optional instance of the provider where the VellumProvider to import is found
|
|
34
|
-
*/
|
|
35
|
-
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
|
|
36
|
-
/**
|
|
37
|
-
* Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum} Resource
|
|
38
|
-
*
|
|
39
|
-
* @param scope The scope in which to define this construct
|
|
40
|
-
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
41
|
-
* @param options VellumProviderConfig = {}
|
|
42
|
-
*/
|
|
43
|
-
constructor(scope: Construct, id: string, config?: VellumProviderConfig);
|
|
44
|
-
private _apiKey?;
|
|
45
|
-
get apiKey(): string | undefined;
|
|
46
|
-
set apiKey(value: string | undefined);
|
|
47
|
-
resetApiKey(): void;
|
|
48
|
-
get apiKeyInput(): string | undefined;
|
|
49
|
-
private _baseUrl?;
|
|
50
|
-
get baseUrl(): string | undefined;
|
|
51
|
-
set baseUrl(value: string | undefined);
|
|
52
|
-
resetBaseUrl(): void;
|
|
53
|
-
get baseUrlInput(): string | undefined;
|
|
54
|
-
private _alias?;
|
|
55
|
-
get alias(): string | undefined;
|
|
56
|
-
set alias(value: string | undefined);
|
|
57
|
-
resetAlias(): void;
|
|
58
|
-
get aliasInput(): string | undefined;
|
|
59
|
-
protected synthesizeAttributes(): {
|
|
60
|
-
[name: string]: any;
|
|
61
|
-
};
|
|
62
|
-
protected synthesizeHclAttributes(): {
|
|
63
|
-
[name: string]: any;
|
|
64
|
-
};
|
|
65
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs
|
|
3
|
-
// generated from terraform resource schema
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
-
}) : function(o, v) {
|
|
18
|
-
o["default"] = v;
|
|
19
|
-
});
|
|
20
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
-
var ownKeys = function(o) {
|
|
22
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
-
var ar = [];
|
|
24
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
-
return ar;
|
|
26
|
-
};
|
|
27
|
-
return ownKeys(o);
|
|
28
|
-
};
|
|
29
|
-
return function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
})();
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.VellumProvider = void 0;
|
|
39
|
-
const cdktf = __importStar(require("cdktf"));
|
|
40
|
-
/**
|
|
41
|
-
* Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum}
|
|
42
|
-
*/
|
|
43
|
-
class VellumProvider extends cdktf.TerraformProvider {
|
|
44
|
-
// ==============
|
|
45
|
-
// STATIC Methods
|
|
46
|
-
// ==============
|
|
47
|
-
/**
|
|
48
|
-
* Generates CDKTF code for importing a VellumProvider resource upon running "cdktf plan <stack-name>"
|
|
49
|
-
* @param scope The scope in which to define this construct
|
|
50
|
-
* @param importToId The construct id used in the generated config for the VellumProvider to import
|
|
51
|
-
* @param importFromId The id of the existing VellumProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#import import section} in the documentation of this resource for the id to use
|
|
52
|
-
* @param provider? Optional instance of the provider where the VellumProvider to import is found
|
|
53
|
-
*/
|
|
54
|
-
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
55
|
-
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "vellum", importId: importFromId, provider });
|
|
56
|
-
}
|
|
57
|
-
// ===========
|
|
58
|
-
// INITIALIZER
|
|
59
|
-
// ===========
|
|
60
|
-
/**
|
|
61
|
-
* Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum} Resource
|
|
62
|
-
*
|
|
63
|
-
* @param scope The scope in which to define this construct
|
|
64
|
-
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
65
|
-
* @param options VellumProviderConfig = {}
|
|
66
|
-
*/
|
|
67
|
-
constructor(scope, id, config = {}) {
|
|
68
|
-
super(scope, id, {
|
|
69
|
-
terraformResourceType: 'vellum',
|
|
70
|
-
terraformGeneratorMetadata: {
|
|
71
|
-
providerName: 'vellum',
|
|
72
|
-
providerVersion: '0.0.7'
|
|
73
|
-
},
|
|
74
|
-
terraformProviderSource: 'vellum-ai/vellum'
|
|
75
|
-
});
|
|
76
|
-
this._apiKey = config.apiKey;
|
|
77
|
-
this._baseUrl = config.baseUrl;
|
|
78
|
-
this._alias = config.alias;
|
|
79
|
-
}
|
|
80
|
-
get apiKey() {
|
|
81
|
-
return this._apiKey;
|
|
82
|
-
}
|
|
83
|
-
set apiKey(value) {
|
|
84
|
-
this._apiKey = value;
|
|
85
|
-
}
|
|
86
|
-
resetApiKey() {
|
|
87
|
-
this._apiKey = undefined;
|
|
88
|
-
}
|
|
89
|
-
// Temporarily expose input value. Use with caution.
|
|
90
|
-
get apiKeyInput() {
|
|
91
|
-
return this._apiKey;
|
|
92
|
-
}
|
|
93
|
-
get baseUrl() {
|
|
94
|
-
return this._baseUrl;
|
|
95
|
-
}
|
|
96
|
-
set baseUrl(value) {
|
|
97
|
-
this._baseUrl = value;
|
|
98
|
-
}
|
|
99
|
-
resetBaseUrl() {
|
|
100
|
-
this._baseUrl = undefined;
|
|
101
|
-
}
|
|
102
|
-
// Temporarily expose input value. Use with caution.
|
|
103
|
-
get baseUrlInput() {
|
|
104
|
-
return this._baseUrl;
|
|
105
|
-
}
|
|
106
|
-
get alias() {
|
|
107
|
-
return this._alias;
|
|
108
|
-
}
|
|
109
|
-
set alias(value) {
|
|
110
|
-
this._alias = value;
|
|
111
|
-
}
|
|
112
|
-
resetAlias() {
|
|
113
|
-
this._alias = undefined;
|
|
114
|
-
}
|
|
115
|
-
// Temporarily expose input value. Use with caution.
|
|
116
|
-
get aliasInput() {
|
|
117
|
-
return this._alias;
|
|
118
|
-
}
|
|
119
|
-
// =========
|
|
120
|
-
// SYNTHESIS
|
|
121
|
-
// =========
|
|
122
|
-
synthesizeAttributes() {
|
|
123
|
-
return {
|
|
124
|
-
api_key: cdktf.stringToTerraform(this._apiKey),
|
|
125
|
-
base_url: cdktf.stringToTerraform(this._baseUrl),
|
|
126
|
-
alias: cdktf.stringToTerraform(this._alias),
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
synthesizeHclAttributes() {
|
|
130
|
-
const attrs = {
|
|
131
|
-
api_key: {
|
|
132
|
-
value: cdktf.stringToHclTerraform(this._apiKey),
|
|
133
|
-
isBlock: false,
|
|
134
|
-
type: "simple",
|
|
135
|
-
storageClassType: "string",
|
|
136
|
-
},
|
|
137
|
-
base_url: {
|
|
138
|
-
value: cdktf.stringToHclTerraform(this._baseUrl),
|
|
139
|
-
isBlock: false,
|
|
140
|
-
type: "simple",
|
|
141
|
-
storageClassType: "string",
|
|
142
|
-
},
|
|
143
|
-
alias: {
|
|
144
|
-
value: cdktf.stringToHclTerraform(this._alias),
|
|
145
|
-
isBlock: false,
|
|
146
|
-
type: "simple",
|
|
147
|
-
storageClassType: "string",
|
|
148
|
-
},
|
|
149
|
-
};
|
|
150
|
-
// remove undefined attributes
|
|
151
|
-
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
exports.VellumProvider = VellumProvider;
|
|
155
|
-
// =================
|
|
156
|
-
// STATIC PROPERTIES
|
|
157
|
-
// =================
|
|
158
|
-
VellumProvider.tfResourceType = "vellum";
|