vellum-ai 0.14.22 → 0.14.24
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 +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +7 -7
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- 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/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.d.ts +18 -0
- package/api/resources/workflowDeployments/client/Client.js +120 -6
- package/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.d.ts +18 -0
- package/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.js +5 -0
- package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ApiRequestParentContext.d.ts +10 -0
- package/api/types/ApiRequestParentContext.js +5 -0
- package/api/types/ApiVersionEnum.d.ts +7 -0
- package/api/types/ApiVersionEnum.js +5 -0
- package/api/types/BaseOutput.d.ts +8 -0
- package/api/types/BaseOutput.js +5 -0
- package/api/types/CodeResourceDefinition.d.ts +12 -0
- package/api/types/CodeResourceDefinition.js +5 -0
- package/api/types/ExternalInputDescriptor.d.ts +10 -0
- package/api/types/ExternalInputDescriptor.js +5 -0
- package/api/types/InvokedPort.d.ts +6 -0
- package/api/types/InvokedPort.js +5 -0
- package/api/types/MlModelUsageWrapper.d.ts +8 -0
- package/api/types/MlModelUsageWrapper.js +5 -0
- package/api/types/NodeEventDisplayContext.d.ts +10 -0
- package/api/types/NodeEventDisplayContext.js +5 -0
- package/api/types/NodeExecutionFulfilledBody.d.ts +10 -0
- package/api/types/NodeExecutionFulfilledBody.js +5 -0
- package/api/types/NodeExecutionFulfilledEvent.d.ts +15 -0
- package/api/types/NodeExecutionFulfilledEvent.js +5 -0
- package/api/types/NodeExecutionInitiatedBody.d.ts +8 -0
- package/api/types/NodeExecutionInitiatedBody.js +5 -0
- package/api/types/NodeExecutionInitiatedEvent.d.ts +15 -0
- package/api/types/NodeExecutionInitiatedEvent.js +5 -0
- package/api/types/NodeExecutionPausedBody.d.ts +7 -0
- package/api/types/NodeExecutionPausedBody.js +5 -0
- package/api/types/NodeExecutionPausedEvent.d.ts +15 -0
- package/api/types/NodeExecutionPausedEvent.js +5 -0
- package/api/types/NodeExecutionRejectedBody.d.ts +8 -0
- package/api/types/NodeExecutionRejectedBody.js +5 -0
- package/api/types/NodeExecutionRejectedEvent.d.ts +15 -0
- package/api/types/NodeExecutionRejectedEvent.js +5 -0
- package/api/types/NodeExecutionResumedBody.d.ts +7 -0
- package/api/types/NodeExecutionResumedBody.js +5 -0
- package/api/types/NodeExecutionResumedEvent.d.ts +15 -0
- package/api/types/NodeExecutionResumedEvent.js +5 -0
- package/api/types/NodeExecutionSpan.d.ts +13 -0
- package/api/types/NodeExecutionSpan.js +5 -0
- package/api/types/NodeExecutionSpanAttributes.d.ts +6 -0
- package/api/types/NodeExecutionSpanAttributes.js +5 -0
- package/api/types/NodeExecutionStreamingBody.d.ts +8 -0
- package/api/types/NodeExecutionStreamingBody.js +5 -0
- package/api/types/NodeExecutionStreamingEvent.d.ts +15 -0
- package/api/types/NodeExecutionStreamingEvent.js +5 -0
- package/api/types/NodeParentContext.d.ts +11 -0
- package/api/types/NodeParentContext.js +5 -0
- package/api/types/ParentContext.d.ts +5 -0
- package/api/types/ParentContext.js +5 -0
- package/api/types/PromptDeploymentParentContext.d.ts +18 -0
- package/api/types/PromptDeploymentParentContext.js +5 -0
- package/api/types/SlimWorkflowExecutionRead.d.ts +16 -0
- package/api/types/SlimWorkflowExecutionRead.js +5 -0
- package/api/types/SpanLink.d.ts +9 -0
- package/api/types/SpanLink.js +5 -0
- package/api/types/SpanLinkTypeEnum.d.ts +7 -0
- package/api/types/SpanLinkTypeEnum.js +5 -0
- package/api/types/VellumCodeResourceDefinition.d.ts +9 -0
- package/api/types/VellumCodeResourceDefinition.js +5 -0
- package/api/types/VellumNodeExecutionEvent.d.ts +5 -0
- package/api/types/VellumNodeExecutionEvent.js +5 -0
- package/api/types/VellumSdkError.d.ts +8 -0
- package/api/types/VellumSdkError.js +5 -0
- package/api/types/VellumSdkErrorCodeEnum.d.ts +30 -0
- package/api/types/VellumSdkErrorCodeEnum.js +19 -0
- package/api/types/VellumSpan.d.ts +5 -0
- package/api/types/VellumSpan.js +5 -0
- package/api/types/VellumWorkflowExecutionEvent.d.ts +5 -0
- package/api/types/VellumWorkflowExecutionEvent.js +5 -0
- package/api/types/WorkflowDeploymentEventExecutionsResponse.d.ts +8 -0
- package/api/types/WorkflowDeploymentEventExecutionsResponse.js +5 -0
- package/api/types/WorkflowDeploymentParentContext.d.ts +18 -0
- package/api/types/WorkflowDeploymentParentContext.js +5 -0
- package/api/types/WorkflowError.d.ts +5 -0
- package/api/types/WorkflowError.js +5 -0
- package/api/types/WorkflowEventDisplayContext.d.ts +9 -0
- package/api/types/WorkflowEventDisplayContext.js +5 -0
- package/api/types/WorkflowEventExecutionRead.d.ts +17 -0
- package/api/types/WorkflowEventExecutionRead.js +5 -0
- package/api/types/WorkflowExecutionActual.d.ts +10 -0
- package/api/types/WorkflowExecutionActual.js +5 -0
- package/api/types/WorkflowExecutionFulfilledBody.d.ts +8 -0
- package/api/types/WorkflowExecutionFulfilledBody.js +5 -0
- package/api/types/WorkflowExecutionFulfilledEvent.d.ts +15 -0
- package/api/types/WorkflowExecutionFulfilledEvent.js +5 -0
- package/api/types/WorkflowExecutionInitiatedBody.d.ts +9 -0
- package/api/types/WorkflowExecutionInitiatedBody.js +5 -0
- package/api/types/WorkflowExecutionInitiatedEvent.d.ts +15 -0
- package/api/types/WorkflowExecutionInitiatedEvent.js +5 -0
- package/api/types/WorkflowExecutionPausedBody.d.ts +8 -0
- package/api/types/WorkflowExecutionPausedBody.js +5 -0
- package/api/types/WorkflowExecutionPausedEvent.d.ts +15 -0
- package/api/types/WorkflowExecutionPausedEvent.js +5 -0
- package/api/types/WorkflowExecutionRejectedBody.d.ts +8 -0
- package/api/types/WorkflowExecutionRejectedBody.js +5 -0
- package/api/types/WorkflowExecutionRejectedEvent.d.ts +15 -0
- package/api/types/WorkflowExecutionRejectedEvent.js +5 -0
- package/api/types/WorkflowExecutionResumedBody.d.ts +7 -0
- package/api/types/WorkflowExecutionResumedBody.js +5 -0
- package/api/types/WorkflowExecutionResumedEvent.d.ts +15 -0
- package/api/types/WorkflowExecutionResumedEvent.js +5 -0
- package/api/types/WorkflowExecutionSnapshottedBody.d.ts +8 -0
- package/api/types/WorkflowExecutionSnapshottedBody.js +5 -0
- package/api/types/WorkflowExecutionSnapshottedEvent.d.ts +15 -0
- package/api/types/WorkflowExecutionSnapshottedEvent.js +5 -0
- package/api/types/WorkflowExecutionSpan.d.ts +13 -0
- package/api/types/WorkflowExecutionSpan.js +5 -0
- package/api/types/WorkflowExecutionSpanAttributes.d.ts +6 -0
- package/api/types/WorkflowExecutionSpanAttributes.js +5 -0
- package/api/types/WorkflowExecutionStreamingBody.d.ts +8 -0
- package/api/types/WorkflowExecutionStreamingBody.js +5 -0
- package/api/types/WorkflowExecutionStreamingEvent.d.ts +15 -0
- package/api/types/WorkflowExecutionStreamingEvent.js +5 -0
- package/api/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +8 -0
- package/api/types/WorkflowExecutionUsageCalculationFulfilledBody.js +5 -0
- package/api/types/WorkflowExecutionViewOnlineEvalMetricResult.d.ts +9 -0
- package/api/types/WorkflowExecutionViewOnlineEvalMetricResult.js +5 -0
- package/api/types/WorkflowInitializationError.d.ts +10 -0
- package/api/types/WorkflowInitializationError.js +5 -0
- package/api/types/WorkflowParentContext.d.ts +11 -0
- package/api/types/WorkflowParentContext.js +5 -0
- package/api/types/WorkflowSandboxParentContext.d.ts +13 -0
- package/api/types/WorkflowSandboxParentContext.js +5 -0
- package/api/types/index.d.ts +61 -0
- package/api/types/index.js +61 -0
- package/dist/Client.js +11 -11
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +7 -7
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- 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/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.d.ts +18 -0
- package/dist/api/resources/workflowDeployments/client/Client.js +120 -6
- package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.d.ts +18 -0
- package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.js +5 -0
- package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ApiRequestParentContext.d.ts +10 -0
- package/dist/api/types/ApiRequestParentContext.js +5 -0
- package/dist/api/types/ApiVersionEnum.d.ts +7 -0
- package/dist/api/types/ApiVersionEnum.js +5 -0
- package/dist/api/types/BaseOutput.d.ts +8 -0
- package/dist/api/types/BaseOutput.js +5 -0
- package/dist/api/types/CodeResourceDefinition.d.ts +12 -0
- package/dist/api/types/CodeResourceDefinition.js +5 -0
- package/dist/api/types/ExternalInputDescriptor.d.ts +10 -0
- package/dist/api/types/ExternalInputDescriptor.js +5 -0
- package/dist/api/types/InvokedPort.d.ts +6 -0
- package/dist/api/types/InvokedPort.js +5 -0
- package/dist/api/types/MlModelUsageWrapper.d.ts +8 -0
- package/dist/api/types/MlModelUsageWrapper.js +5 -0
- package/dist/api/types/NodeEventDisplayContext.d.ts +10 -0
- package/dist/api/types/NodeEventDisplayContext.js +5 -0
- package/dist/api/types/NodeExecutionFulfilledBody.d.ts +10 -0
- package/dist/api/types/NodeExecutionFulfilledBody.js +5 -0
- package/dist/api/types/NodeExecutionFulfilledEvent.d.ts +15 -0
- package/dist/api/types/NodeExecutionFulfilledEvent.js +5 -0
- package/dist/api/types/NodeExecutionInitiatedBody.d.ts +8 -0
- package/dist/api/types/NodeExecutionInitiatedBody.js +5 -0
- package/dist/api/types/NodeExecutionInitiatedEvent.d.ts +15 -0
- package/dist/api/types/NodeExecutionInitiatedEvent.js +5 -0
- package/dist/api/types/NodeExecutionPausedBody.d.ts +7 -0
- package/dist/api/types/NodeExecutionPausedBody.js +5 -0
- package/dist/api/types/NodeExecutionPausedEvent.d.ts +15 -0
- package/dist/api/types/NodeExecutionPausedEvent.js +5 -0
- package/dist/api/types/NodeExecutionRejectedBody.d.ts +8 -0
- package/dist/api/types/NodeExecutionRejectedBody.js +5 -0
- package/dist/api/types/NodeExecutionRejectedEvent.d.ts +15 -0
- package/dist/api/types/NodeExecutionRejectedEvent.js +5 -0
- package/dist/api/types/NodeExecutionResumedBody.d.ts +7 -0
- package/dist/api/types/NodeExecutionResumedBody.js +5 -0
- package/dist/api/types/NodeExecutionResumedEvent.d.ts +15 -0
- package/dist/api/types/NodeExecutionResumedEvent.js +5 -0
- package/dist/api/types/NodeExecutionSpan.d.ts +13 -0
- package/dist/api/types/NodeExecutionSpan.js +5 -0
- package/dist/api/types/NodeExecutionSpanAttributes.d.ts +6 -0
- package/dist/api/types/NodeExecutionSpanAttributes.js +5 -0
- package/dist/api/types/NodeExecutionStreamingBody.d.ts +8 -0
- package/dist/api/types/NodeExecutionStreamingBody.js +5 -0
- package/dist/api/types/NodeExecutionStreamingEvent.d.ts +15 -0
- package/dist/api/types/NodeExecutionStreamingEvent.js +5 -0
- package/dist/api/types/NodeParentContext.d.ts +11 -0
- package/dist/api/types/NodeParentContext.js +5 -0
- package/dist/api/types/ParentContext.d.ts +5 -0
- package/dist/api/types/ParentContext.js +5 -0
- package/dist/api/types/PromptDeploymentParentContext.d.ts +18 -0
- package/dist/api/types/PromptDeploymentParentContext.js +5 -0
- package/dist/api/types/SlimWorkflowExecutionRead.d.ts +16 -0
- package/dist/api/types/SlimWorkflowExecutionRead.js +5 -0
- package/dist/api/types/SpanLink.d.ts +9 -0
- package/dist/api/types/SpanLink.js +5 -0
- package/dist/api/types/SpanLinkTypeEnum.d.ts +7 -0
- package/dist/api/types/SpanLinkTypeEnum.js +5 -0
- package/dist/api/types/VellumCodeResourceDefinition.d.ts +9 -0
- package/dist/api/types/VellumCodeResourceDefinition.js +5 -0
- package/dist/api/types/VellumNodeExecutionEvent.d.ts +5 -0
- package/dist/api/types/VellumNodeExecutionEvent.js +5 -0
- package/dist/api/types/VellumSdkError.d.ts +8 -0
- package/dist/api/types/VellumSdkError.js +5 -0
- package/dist/api/types/VellumSdkErrorCodeEnum.d.ts +30 -0
- package/dist/api/types/VellumSdkErrorCodeEnum.js +19 -0
- package/dist/api/types/VellumSpan.d.ts +5 -0
- package/dist/api/types/VellumSpan.js +5 -0
- package/dist/api/types/VellumWorkflowExecutionEvent.d.ts +5 -0
- package/dist/api/types/VellumWorkflowExecutionEvent.js +5 -0
- package/dist/api/types/WorkflowDeploymentEventExecutionsResponse.d.ts +8 -0
- package/dist/api/types/WorkflowDeploymentEventExecutionsResponse.js +5 -0
- package/dist/api/types/WorkflowDeploymentParentContext.d.ts +18 -0
- package/dist/api/types/WorkflowDeploymentParentContext.js +5 -0
- package/dist/api/types/WorkflowError.d.ts +5 -0
- package/dist/api/types/WorkflowError.js +5 -0
- package/dist/api/types/WorkflowEventDisplayContext.d.ts +9 -0
- package/dist/api/types/WorkflowEventDisplayContext.js +5 -0
- package/dist/api/types/WorkflowEventExecutionRead.d.ts +17 -0
- package/dist/api/types/WorkflowEventExecutionRead.js +5 -0
- package/dist/api/types/WorkflowExecutionActual.d.ts +10 -0
- package/dist/api/types/WorkflowExecutionActual.js +5 -0
- package/dist/api/types/WorkflowExecutionFulfilledBody.d.ts +8 -0
- package/dist/api/types/WorkflowExecutionFulfilledBody.js +5 -0
- package/dist/api/types/WorkflowExecutionFulfilledEvent.d.ts +15 -0
- package/dist/api/types/WorkflowExecutionFulfilledEvent.js +5 -0
- package/dist/api/types/WorkflowExecutionInitiatedBody.d.ts +9 -0
- package/dist/api/types/WorkflowExecutionInitiatedBody.js +5 -0
- package/dist/api/types/WorkflowExecutionInitiatedEvent.d.ts +15 -0
- package/dist/api/types/WorkflowExecutionInitiatedEvent.js +5 -0
- package/dist/api/types/WorkflowExecutionPausedBody.d.ts +8 -0
- package/dist/api/types/WorkflowExecutionPausedBody.js +5 -0
- package/dist/api/types/WorkflowExecutionPausedEvent.d.ts +15 -0
- package/dist/api/types/WorkflowExecutionPausedEvent.js +5 -0
- package/dist/api/types/WorkflowExecutionRejectedBody.d.ts +8 -0
- package/dist/api/types/WorkflowExecutionRejectedBody.js +5 -0
- package/dist/api/types/WorkflowExecutionRejectedEvent.d.ts +15 -0
- package/dist/api/types/WorkflowExecutionRejectedEvent.js +5 -0
- package/dist/api/types/WorkflowExecutionResumedBody.d.ts +7 -0
- package/dist/api/types/WorkflowExecutionResumedBody.js +5 -0
- package/dist/api/types/WorkflowExecutionResumedEvent.d.ts +15 -0
- package/dist/api/types/WorkflowExecutionResumedEvent.js +5 -0
- package/dist/api/types/WorkflowExecutionSnapshottedBody.d.ts +8 -0
- package/dist/api/types/WorkflowExecutionSnapshottedBody.js +5 -0
- package/dist/api/types/WorkflowExecutionSnapshottedEvent.d.ts +15 -0
- package/dist/api/types/WorkflowExecutionSnapshottedEvent.js +5 -0
- package/dist/api/types/WorkflowExecutionSpan.d.ts +13 -0
- package/dist/api/types/WorkflowExecutionSpan.js +5 -0
- package/dist/api/types/WorkflowExecutionSpanAttributes.d.ts +6 -0
- package/dist/api/types/WorkflowExecutionSpanAttributes.js +5 -0
- package/dist/api/types/WorkflowExecutionStreamingBody.d.ts +8 -0
- package/dist/api/types/WorkflowExecutionStreamingBody.js +5 -0
- package/dist/api/types/WorkflowExecutionStreamingEvent.d.ts +15 -0
- package/dist/api/types/WorkflowExecutionStreamingEvent.js +5 -0
- package/dist/api/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +8 -0
- package/dist/api/types/WorkflowExecutionUsageCalculationFulfilledBody.js +5 -0
- package/dist/api/types/WorkflowExecutionViewOnlineEvalMetricResult.d.ts +9 -0
- package/dist/api/types/WorkflowExecutionViewOnlineEvalMetricResult.js +5 -0
- package/dist/api/types/WorkflowInitializationError.d.ts +10 -0
- package/dist/api/types/WorkflowInitializationError.js +5 -0
- package/dist/api/types/WorkflowParentContext.d.ts +11 -0
- package/dist/api/types/WorkflowParentContext.js +5 -0
- package/dist/api/types/WorkflowSandboxParentContext.d.ts +13 -0
- package/dist/api/types/WorkflowSandboxParentContext.js +5 -0
- package/dist/api/types/index.d.ts +61 -0
- package/dist/api/types/index.js +61 -0
- package/dist/serialization/types/ApiRequestParentContext.d.ts +15 -0
- package/dist/serialization/types/ApiRequestParentContext.js +47 -0
- package/dist/serialization/types/ApiVersionEnum.d.ts +10 -0
- package/dist/serialization/types/ApiVersionEnum.js +41 -0
- package/dist/serialization/types/BaseOutput.d.ts +14 -0
- package/dist/serialization/types/BaseOutput.js +45 -0
- package/dist/serialization/types/CodeResourceDefinition.d.ts +13 -0
- package/dist/serialization/types/CodeResourceDefinition.js +44 -0
- package/dist/serialization/types/ExternalInputDescriptor.d.ts +16 -0
- package/dist/serialization/types/ExternalInputDescriptor.js +47 -0
- package/dist/serialization/types/InvokedPort.d.ts +12 -0
- package/dist/serialization/types/InvokedPort.js +43 -0
- package/dist/serialization/types/MlModelUsageWrapper.d.ts +14 -0
- package/dist/serialization/types/MlModelUsageWrapper.js +45 -0
- package/dist/serialization/types/NodeEventDisplayContext.d.ts +15 -0
- package/dist/serialization/types/NodeEventDisplayContext.js +47 -0
- package/dist/serialization/types/NodeExecutionFulfilledBody.d.ts +17 -0
- package/dist/serialization/types/NodeExecutionFulfilledBody.js +48 -0
- package/dist/serialization/types/NodeExecutionFulfilledEvent.d.ts +22 -0
- package/dist/serialization/types/NodeExecutionFulfilledEvent.js +54 -0
- package/dist/serialization/types/NodeExecutionInitiatedBody.d.ts +14 -0
- package/dist/serialization/types/NodeExecutionInitiatedBody.js +45 -0
- package/dist/serialization/types/NodeExecutionInitiatedEvent.d.ts +22 -0
- package/dist/serialization/types/NodeExecutionInitiatedEvent.js +54 -0
- package/dist/serialization/types/NodeExecutionPausedBody.d.ts +13 -0
- package/dist/serialization/types/NodeExecutionPausedBody.js +44 -0
- package/dist/serialization/types/NodeExecutionPausedEvent.d.ts +22 -0
- package/dist/serialization/types/NodeExecutionPausedEvent.js +54 -0
- package/dist/serialization/types/NodeExecutionRejectedBody.d.ts +15 -0
- package/dist/serialization/types/NodeExecutionRejectedBody.js +46 -0
- package/dist/serialization/types/NodeExecutionRejectedEvent.d.ts +22 -0
- package/dist/serialization/types/NodeExecutionRejectedEvent.js +54 -0
- package/dist/serialization/types/NodeExecutionResumedBody.d.ts +13 -0
- package/dist/serialization/types/NodeExecutionResumedBody.js +44 -0
- package/dist/serialization/types/NodeExecutionResumedEvent.d.ts +22 -0
- package/dist/serialization/types/NodeExecutionResumedEvent.js +54 -0
- package/dist/serialization/types/NodeExecutionSpan.d.ts +20 -0
- package/dist/serialization/types/NodeExecutionSpan.js +51 -0
- package/dist/serialization/types/NodeExecutionSpanAttributes.d.ts +12 -0
- package/dist/serialization/types/NodeExecutionSpanAttributes.js +43 -0
- package/dist/serialization/types/NodeExecutionStreamingBody.d.ts +15 -0
- package/dist/serialization/types/NodeExecutionStreamingBody.js +46 -0
- package/dist/serialization/types/NodeExecutionStreamingEvent.d.ts +22 -0
- package/dist/serialization/types/NodeExecutionStreamingEvent.js +54 -0
- package/dist/serialization/types/NodeParentContext.d.ts +17 -0
- package/dist/serialization/types/NodeParentContext.js +49 -0
- package/dist/serialization/types/ParentContext.d.ts +10 -0
- package/dist/serialization/types/ParentContext.js +49 -0
- package/dist/serialization/types/PromptDeploymentParentContext.d.ts +23 -0
- package/dist/serialization/types/PromptDeploymentParentContext.js +55 -0
- package/dist/serialization/types/SlimWorkflowExecutionRead.d.ts +26 -0
- package/dist/serialization/types/SlimWorkflowExecutionRead.js +58 -0
- package/dist/serialization/types/SpanLink.d.ts +15 -0
- package/dist/serialization/types/SpanLink.js +47 -0
- package/dist/serialization/types/SpanLinkTypeEnum.d.ts +10 -0
- package/dist/serialization/types/SpanLinkTypeEnum.js +41 -0
- package/dist/serialization/types/VellumCodeResourceDefinition.d.ts +14 -0
- package/dist/serialization/types/VellumCodeResourceDefinition.js +45 -0
- package/dist/serialization/types/VellumNodeExecutionEvent.d.ts +16 -0
- package/dist/serialization/types/VellumNodeExecutionEvent.js +54 -0
- package/dist/serialization/types/VellumSdkError.d.ts +14 -0
- package/dist/serialization/types/VellumSdkError.js +45 -0
- package/dist/serialization/types/VellumSdkErrorCodeEnum.d.ts +10 -0
- package/dist/serialization/types/VellumSdkErrorCodeEnum.js +53 -0
- package/dist/serialization/types/VellumSpan.d.ts +12 -0
- package/dist/serialization/types/VellumSpan.js +43 -0
- package/dist/serialization/types/VellumWorkflowExecutionEvent.d.ts +17 -0
- package/dist/serialization/types/VellumWorkflowExecutionEvent.js +56 -0
- package/dist/serialization/types/WorkflowDeploymentEventExecutionsResponse.d.ts +14 -0
- package/dist/serialization/types/WorkflowDeploymentEventExecutionsResponse.js +45 -0
- package/dist/serialization/types/WorkflowDeploymentParentContext.d.ts +23 -0
- package/dist/serialization/types/WorkflowDeploymentParentContext.js +55 -0
- package/dist/serialization/types/WorkflowError.d.ts +12 -0
- package/dist/serialization/types/WorkflowError.js +43 -0
- package/dist/serialization/types/WorkflowEventDisplayContext.d.ts +14 -0
- package/dist/serialization/types/WorkflowEventDisplayContext.js +46 -0
- package/dist/serialization/types/WorkflowEventExecutionRead.d.ts +28 -0
- package/dist/serialization/types/WorkflowEventExecutionRead.js +60 -0
- package/dist/serialization/types/WorkflowExecutionActual.d.ts +16 -0
- package/dist/serialization/types/WorkflowExecutionActual.js +47 -0
- package/dist/serialization/types/WorkflowExecutionFulfilledBody.d.ts +14 -0
- package/dist/serialization/types/WorkflowExecutionFulfilledBody.js +45 -0
- package/dist/serialization/types/WorkflowExecutionFulfilledEvent.d.ts +22 -0
- package/dist/serialization/types/WorkflowExecutionFulfilledEvent.js +54 -0
- package/dist/serialization/types/WorkflowExecutionInitiatedBody.d.ts +15 -0
- package/dist/serialization/types/WorkflowExecutionInitiatedBody.js +47 -0
- package/dist/serialization/types/WorkflowExecutionInitiatedEvent.d.ts +22 -0
- package/dist/serialization/types/WorkflowExecutionInitiatedEvent.js +54 -0
- package/dist/serialization/types/WorkflowExecutionPausedBody.d.ts +15 -0
- package/dist/serialization/types/WorkflowExecutionPausedBody.js +46 -0
- package/dist/serialization/types/WorkflowExecutionPausedEvent.d.ts +22 -0
- package/dist/serialization/types/WorkflowExecutionPausedEvent.js +54 -0
- package/dist/serialization/types/WorkflowExecutionRejectedBody.d.ts +15 -0
- package/dist/serialization/types/WorkflowExecutionRejectedBody.js +46 -0
- package/dist/serialization/types/WorkflowExecutionRejectedEvent.d.ts +22 -0
- package/dist/serialization/types/WorkflowExecutionRejectedEvent.js +54 -0
- package/dist/serialization/types/WorkflowExecutionResumedBody.d.ts +13 -0
- package/dist/serialization/types/WorkflowExecutionResumedBody.js +44 -0
- package/dist/serialization/types/WorkflowExecutionResumedEvent.d.ts +22 -0
- package/dist/serialization/types/WorkflowExecutionResumedEvent.js +54 -0
- package/dist/serialization/types/WorkflowExecutionSnapshottedBody.d.ts +14 -0
- package/dist/serialization/types/WorkflowExecutionSnapshottedBody.js +45 -0
- package/dist/serialization/types/WorkflowExecutionSnapshottedEvent.d.ts +22 -0
- package/dist/serialization/types/WorkflowExecutionSnapshottedEvent.js +54 -0
- package/dist/serialization/types/WorkflowExecutionSpan.d.ts +20 -0
- package/dist/serialization/types/WorkflowExecutionSpan.js +51 -0
- package/dist/serialization/types/WorkflowExecutionSpanAttributes.d.ts +12 -0
- package/dist/serialization/types/WorkflowExecutionSpanAttributes.js +43 -0
- package/dist/serialization/types/WorkflowExecutionStreamingBody.d.ts +15 -0
- package/dist/serialization/types/WorkflowExecutionStreamingBody.js +46 -0
- package/dist/serialization/types/WorkflowExecutionStreamingEvent.d.ts +22 -0
- package/dist/serialization/types/WorkflowExecutionStreamingEvent.js +54 -0
- package/dist/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +15 -0
- package/dist/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.js +46 -0
- package/dist/serialization/types/WorkflowExecutionViewOnlineEvalMetricResult.d.ts +15 -0
- package/dist/serialization/types/WorkflowExecutionViewOnlineEvalMetricResult.js +46 -0
- package/dist/serialization/types/WorkflowInitializationError.d.ts +13 -0
- package/dist/serialization/types/WorkflowInitializationError.js +44 -0
- package/dist/serialization/types/WorkflowParentContext.d.ts +17 -0
- package/dist/serialization/types/WorkflowParentContext.js +49 -0
- package/dist/serialization/types/WorkflowSandboxParentContext.d.ts +18 -0
- package/dist/serialization/types/WorkflowSandboxParentContext.js +50 -0
- package/dist/serialization/types/index.d.ts +61 -0
- package/dist/serialization/types/index.js +61 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +112 -0
- package/serialization/types/ApiRequestParentContext.d.ts +15 -0
- package/serialization/types/ApiRequestParentContext.js +47 -0
- package/serialization/types/ApiVersionEnum.d.ts +10 -0
- package/serialization/types/ApiVersionEnum.js +41 -0
- package/serialization/types/BaseOutput.d.ts +14 -0
- package/serialization/types/BaseOutput.js +45 -0
- package/serialization/types/CodeResourceDefinition.d.ts +13 -0
- package/serialization/types/CodeResourceDefinition.js +44 -0
- package/serialization/types/ExternalInputDescriptor.d.ts +16 -0
- package/serialization/types/ExternalInputDescriptor.js +47 -0
- package/serialization/types/InvokedPort.d.ts +12 -0
- package/serialization/types/InvokedPort.js +43 -0
- package/serialization/types/MlModelUsageWrapper.d.ts +14 -0
- package/serialization/types/MlModelUsageWrapper.js +45 -0
- package/serialization/types/NodeEventDisplayContext.d.ts +15 -0
- package/serialization/types/NodeEventDisplayContext.js +47 -0
- package/serialization/types/NodeExecutionFulfilledBody.d.ts +17 -0
- package/serialization/types/NodeExecutionFulfilledBody.js +48 -0
- package/serialization/types/NodeExecutionFulfilledEvent.d.ts +22 -0
- package/serialization/types/NodeExecutionFulfilledEvent.js +54 -0
- package/serialization/types/NodeExecutionInitiatedBody.d.ts +14 -0
- package/serialization/types/NodeExecutionInitiatedBody.js +45 -0
- package/serialization/types/NodeExecutionInitiatedEvent.d.ts +22 -0
- package/serialization/types/NodeExecutionInitiatedEvent.js +54 -0
- package/serialization/types/NodeExecutionPausedBody.d.ts +13 -0
- package/serialization/types/NodeExecutionPausedBody.js +44 -0
- package/serialization/types/NodeExecutionPausedEvent.d.ts +22 -0
- package/serialization/types/NodeExecutionPausedEvent.js +54 -0
- package/serialization/types/NodeExecutionRejectedBody.d.ts +15 -0
- package/serialization/types/NodeExecutionRejectedBody.js +46 -0
- package/serialization/types/NodeExecutionRejectedEvent.d.ts +22 -0
- package/serialization/types/NodeExecutionRejectedEvent.js +54 -0
- package/serialization/types/NodeExecutionResumedBody.d.ts +13 -0
- package/serialization/types/NodeExecutionResumedBody.js +44 -0
- package/serialization/types/NodeExecutionResumedEvent.d.ts +22 -0
- package/serialization/types/NodeExecutionResumedEvent.js +54 -0
- package/serialization/types/NodeExecutionSpan.d.ts +20 -0
- package/serialization/types/NodeExecutionSpan.js +51 -0
- package/serialization/types/NodeExecutionSpanAttributes.d.ts +12 -0
- package/serialization/types/NodeExecutionSpanAttributes.js +43 -0
- package/serialization/types/NodeExecutionStreamingBody.d.ts +15 -0
- package/serialization/types/NodeExecutionStreamingBody.js +46 -0
- package/serialization/types/NodeExecutionStreamingEvent.d.ts +22 -0
- package/serialization/types/NodeExecutionStreamingEvent.js +54 -0
- package/serialization/types/NodeParentContext.d.ts +17 -0
- package/serialization/types/NodeParentContext.js +49 -0
- package/serialization/types/ParentContext.d.ts +10 -0
- package/serialization/types/ParentContext.js +49 -0
- package/serialization/types/PromptDeploymentParentContext.d.ts +23 -0
- package/serialization/types/PromptDeploymentParentContext.js +55 -0
- package/serialization/types/SlimWorkflowExecutionRead.d.ts +26 -0
- package/serialization/types/SlimWorkflowExecutionRead.js +58 -0
- package/serialization/types/SpanLink.d.ts +15 -0
- package/serialization/types/SpanLink.js +47 -0
- package/serialization/types/SpanLinkTypeEnum.d.ts +10 -0
- package/serialization/types/SpanLinkTypeEnum.js +41 -0
- package/serialization/types/VellumCodeResourceDefinition.d.ts +14 -0
- package/serialization/types/VellumCodeResourceDefinition.js +45 -0
- package/serialization/types/VellumNodeExecutionEvent.d.ts +16 -0
- package/serialization/types/VellumNodeExecutionEvent.js +54 -0
- package/serialization/types/VellumSdkError.d.ts +14 -0
- package/serialization/types/VellumSdkError.js +45 -0
- package/serialization/types/VellumSdkErrorCodeEnum.d.ts +10 -0
- package/serialization/types/VellumSdkErrorCodeEnum.js +53 -0
- package/serialization/types/VellumSpan.d.ts +12 -0
- package/serialization/types/VellumSpan.js +43 -0
- package/serialization/types/VellumWorkflowExecutionEvent.d.ts +17 -0
- package/serialization/types/VellumWorkflowExecutionEvent.js +56 -0
- package/serialization/types/WorkflowDeploymentEventExecutionsResponse.d.ts +14 -0
- package/serialization/types/WorkflowDeploymentEventExecutionsResponse.js +45 -0
- package/serialization/types/WorkflowDeploymentParentContext.d.ts +23 -0
- package/serialization/types/WorkflowDeploymentParentContext.js +55 -0
- package/serialization/types/WorkflowError.d.ts +12 -0
- package/serialization/types/WorkflowError.js +43 -0
- package/serialization/types/WorkflowEventDisplayContext.d.ts +14 -0
- package/serialization/types/WorkflowEventDisplayContext.js +46 -0
- package/serialization/types/WorkflowEventExecutionRead.d.ts +28 -0
- package/serialization/types/WorkflowEventExecutionRead.js +60 -0
- package/serialization/types/WorkflowExecutionActual.d.ts +16 -0
- package/serialization/types/WorkflowExecutionActual.js +47 -0
- package/serialization/types/WorkflowExecutionFulfilledBody.d.ts +14 -0
- package/serialization/types/WorkflowExecutionFulfilledBody.js +45 -0
- package/serialization/types/WorkflowExecutionFulfilledEvent.d.ts +22 -0
- package/serialization/types/WorkflowExecutionFulfilledEvent.js +54 -0
- package/serialization/types/WorkflowExecutionInitiatedBody.d.ts +15 -0
- package/serialization/types/WorkflowExecutionInitiatedBody.js +47 -0
- package/serialization/types/WorkflowExecutionInitiatedEvent.d.ts +22 -0
- package/serialization/types/WorkflowExecutionInitiatedEvent.js +54 -0
- package/serialization/types/WorkflowExecutionPausedBody.d.ts +15 -0
- package/serialization/types/WorkflowExecutionPausedBody.js +46 -0
- package/serialization/types/WorkflowExecutionPausedEvent.d.ts +22 -0
- package/serialization/types/WorkflowExecutionPausedEvent.js +54 -0
- package/serialization/types/WorkflowExecutionRejectedBody.d.ts +15 -0
- package/serialization/types/WorkflowExecutionRejectedBody.js +46 -0
- package/serialization/types/WorkflowExecutionRejectedEvent.d.ts +22 -0
- package/serialization/types/WorkflowExecutionRejectedEvent.js +54 -0
- package/serialization/types/WorkflowExecutionResumedBody.d.ts +13 -0
- package/serialization/types/WorkflowExecutionResumedBody.js +44 -0
- package/serialization/types/WorkflowExecutionResumedEvent.d.ts +22 -0
- package/serialization/types/WorkflowExecutionResumedEvent.js +54 -0
- package/serialization/types/WorkflowExecutionSnapshottedBody.d.ts +14 -0
- package/serialization/types/WorkflowExecutionSnapshottedBody.js +45 -0
- package/serialization/types/WorkflowExecutionSnapshottedEvent.d.ts +22 -0
- package/serialization/types/WorkflowExecutionSnapshottedEvent.js +54 -0
- package/serialization/types/WorkflowExecutionSpan.d.ts +20 -0
- package/serialization/types/WorkflowExecutionSpan.js +51 -0
- package/serialization/types/WorkflowExecutionSpanAttributes.d.ts +12 -0
- package/serialization/types/WorkflowExecutionSpanAttributes.js +43 -0
- package/serialization/types/WorkflowExecutionStreamingBody.d.ts +15 -0
- package/serialization/types/WorkflowExecutionStreamingBody.js +46 -0
- package/serialization/types/WorkflowExecutionStreamingEvent.d.ts +22 -0
- package/serialization/types/WorkflowExecutionStreamingEvent.js +54 -0
- package/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +15 -0
- package/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.js +46 -0
- package/serialization/types/WorkflowExecutionViewOnlineEvalMetricResult.d.ts +15 -0
- package/serialization/types/WorkflowExecutionViewOnlineEvalMetricResult.js +46 -0
- package/serialization/types/WorkflowInitializationError.d.ts +13 -0
- package/serialization/types/WorkflowInitializationError.js +44 -0
- package/serialization/types/WorkflowParentContext.d.ts +17 -0
- package/serialization/types/WorkflowParentContext.js +49 -0
- package/serialization/types/WorkflowSandboxParentContext.d.ts +18 -0
- package/serialization/types/WorkflowSandboxParentContext.js +50 -0
- package/serialization/types/index.d.ts +61 -0
- package/serialization/types/index.js +61 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface NodeExecutionResumedEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "node.execution.resumed";
|
|
9
|
+
body: Vellum.NodeExecutionResumedBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface NodeExecutionSpan {
|
|
6
|
+
name: "node.execution";
|
|
7
|
+
events: Vellum.VellumNodeExecutionEvent[];
|
|
8
|
+
attributes: Vellum.NodeExecutionSpanAttributes;
|
|
9
|
+
spanId: string;
|
|
10
|
+
startTs: Date;
|
|
11
|
+
endTs: Date;
|
|
12
|
+
parentSpanId?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface NodeExecutionStreamingEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "node.execution.streaming";
|
|
9
|
+
body: Vellum.NodeExecutionStreamingBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface NodeParentContext {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
nodeDefinition: Vellum.VellumCodeResourceDefinition;
|
|
9
|
+
type: "WORKFLOW_NODE";
|
|
10
|
+
spanId: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export type ParentContext = Vellum.WorkflowParentContext | Vellum.NodeParentContext | Vellum.WorkflowDeploymentParentContext | Vellum.WorkflowSandboxParentContext | Vellum.PromptDeploymentParentContext | Vellum.ApiRequestParentContext;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface PromptDeploymentParentContext {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
type: "PROMPT_RELEASE_TAG";
|
|
9
|
+
spanId: string;
|
|
10
|
+
deploymentId: string;
|
|
11
|
+
deploymentName: string;
|
|
12
|
+
deploymentHistoryItemId: string;
|
|
13
|
+
releaseTagId: string;
|
|
14
|
+
releaseTagName: string;
|
|
15
|
+
externalId?: string;
|
|
16
|
+
metadata?: Record<string, unknown>;
|
|
17
|
+
promptVersionId: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface SlimWorkflowExecutionRead {
|
|
6
|
+
spanId: string;
|
|
7
|
+
parentContext?: Vellum.WorkflowDeploymentParentContext;
|
|
8
|
+
start: Date;
|
|
9
|
+
end?: Date;
|
|
10
|
+
inputs: Vellum.ExecutionVellumValue[];
|
|
11
|
+
outputs: Vellum.ExecutionVellumValue[];
|
|
12
|
+
error?: Vellum.WorkflowError;
|
|
13
|
+
latestActual?: Vellum.WorkflowExecutionActual;
|
|
14
|
+
metricResults: Vellum.WorkflowExecutionViewOnlineEvalMetricResult[];
|
|
15
|
+
usageResults: Vellum.WorkflowExecutionUsageCalculationFulfilledBody[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export type VellumNodeExecutionEvent = Vellum.NodeExecutionInitiatedEvent | Vellum.NodeExecutionStreamingEvent | Vellum.NodeExecutionFulfilledEvent | Vellum.NodeExecutionRejectedEvent | Vellum.NodeExecutionPausedEvent | Vellum.NodeExecutionResumedEvent;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* * `INVALID_WORKFLOW` - INVALID_WORKFLOW
|
|
6
|
+
* * `INVALID_INPUTS` - INVALID_INPUTS
|
|
7
|
+
* * `INVALID_OUTPUTS` - INVALID_OUTPUTS
|
|
8
|
+
* * `INVALID_STATE` - INVALID_STATE
|
|
9
|
+
* * `INVALID_CODE` - INVALID_CODE
|
|
10
|
+
* * `INVALID_TEMPLATE` - INVALID_TEMPLATE
|
|
11
|
+
* * `INTERNAL_ERROR` - INTERNAL_ERROR
|
|
12
|
+
* * `PROVIDER_ERROR` - PROVIDER_ERROR
|
|
13
|
+
* * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
|
|
14
|
+
* * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
|
|
15
|
+
* * `NODE_EXECUTION` - NODE_EXECUTION
|
|
16
|
+
*/
|
|
17
|
+
export type VellumSdkErrorCodeEnum = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION";
|
|
18
|
+
export declare const VellumSdkErrorCodeEnum: {
|
|
19
|
+
readonly InvalidWorkflow: "INVALID_WORKFLOW";
|
|
20
|
+
readonly InvalidInputs: "INVALID_INPUTS";
|
|
21
|
+
readonly InvalidOutputs: "INVALID_OUTPUTS";
|
|
22
|
+
readonly InvalidState: "INVALID_STATE";
|
|
23
|
+
readonly InvalidCode: "INVALID_CODE";
|
|
24
|
+
readonly InvalidTemplate: "INVALID_TEMPLATE";
|
|
25
|
+
readonly InternalError: "INTERNAL_ERROR";
|
|
26
|
+
readonly ProviderError: "PROVIDER_ERROR";
|
|
27
|
+
readonly UserDefinedError: "USER_DEFINED_ERROR";
|
|
28
|
+
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
29
|
+
readonly NodeExecution: "NODE_EXECUTION";
|
|
30
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.VellumSdkErrorCodeEnum = void 0;
|
|
7
|
+
exports.VellumSdkErrorCodeEnum = {
|
|
8
|
+
InvalidWorkflow: "INVALID_WORKFLOW",
|
|
9
|
+
InvalidInputs: "INVALID_INPUTS",
|
|
10
|
+
InvalidOutputs: "INVALID_OUTPUTS",
|
|
11
|
+
InvalidState: "INVALID_STATE",
|
|
12
|
+
InvalidCode: "INVALID_CODE",
|
|
13
|
+
InvalidTemplate: "INVALID_TEMPLATE",
|
|
14
|
+
InternalError: "INTERNAL_ERROR",
|
|
15
|
+
ProviderError: "PROVIDER_ERROR",
|
|
16
|
+
UserDefinedError: "USER_DEFINED_ERROR",
|
|
17
|
+
WorkflowCancelled: "WORKFLOW_CANCELLED",
|
|
18
|
+
NodeExecution: "NODE_EXECUTION",
|
|
19
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export type VellumWorkflowExecutionEvent = Vellum.WorkflowExecutionInitiatedEvent | Vellum.WorkflowExecutionStreamingEvent | Vellum.WorkflowExecutionFulfilledEvent | Vellum.WorkflowExecutionRejectedEvent | Vellum.WorkflowExecutionPausedEvent | Vellum.WorkflowExecutionResumedEvent | Vellum.WorkflowExecutionSnapshottedEvent;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowDeploymentParentContext {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
type: "WORKFLOW_RELEASE_TAG";
|
|
9
|
+
spanId: string;
|
|
10
|
+
deploymentId: string;
|
|
11
|
+
deploymentName: string;
|
|
12
|
+
deploymentHistoryItemId: string;
|
|
13
|
+
releaseTagId: string;
|
|
14
|
+
releaseTagName: string;
|
|
15
|
+
externalId?: string;
|
|
16
|
+
metadata?: Record<string, unknown>;
|
|
17
|
+
workflowVersionId: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowEventDisplayContext {
|
|
6
|
+
nodeDisplays: Record<string, Vellum.NodeEventDisplayContext>;
|
|
7
|
+
workflowInputs: Record<string, string>;
|
|
8
|
+
workflowOutputs: Record<string, string>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowEventExecutionRead {
|
|
6
|
+
spanId: string;
|
|
7
|
+
parentContext?: Vellum.WorkflowDeploymentParentContext;
|
|
8
|
+
start: Date;
|
|
9
|
+
end?: Date;
|
|
10
|
+
inputs: Vellum.ExecutionVellumValue[];
|
|
11
|
+
outputs: Vellum.ExecutionVellumValue[];
|
|
12
|
+
error?: Vellum.WorkflowError;
|
|
13
|
+
latestActual?: Vellum.WorkflowExecutionActual;
|
|
14
|
+
metricResults: Vellum.WorkflowExecutionViewOnlineEvalMetricResult[];
|
|
15
|
+
usageResults: Vellum.WorkflowExecutionUsageCalculationFulfilledBody[];
|
|
16
|
+
spans: Vellum.VellumSpan[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowExecutionActual {
|
|
6
|
+
output: Vellum.ExecutionVellumValue;
|
|
7
|
+
timestamp: Date;
|
|
8
|
+
quality: number;
|
|
9
|
+
metadata?: Record<string, unknown>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowExecutionFulfilledEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "workflow.execution.fulfilled";
|
|
9
|
+
body: Vellum.WorkflowExecutionFulfilledBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowExecutionInitiatedBody {
|
|
6
|
+
workflowDefinition: Vellum.VellumCodeResourceDefinition;
|
|
7
|
+
displayContext?: Vellum.WorkflowEventDisplayContext;
|
|
8
|
+
inputs: Record<string, unknown>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowExecutionInitiatedEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "workflow.execution.initiated";
|
|
9
|
+
body: Vellum.WorkflowExecutionInitiatedBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowExecutionPausedBody {
|
|
6
|
+
workflowDefinition: Vellum.VellumCodeResourceDefinition;
|
|
7
|
+
externalInputs: Vellum.ExternalInputDescriptor[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowExecutionPausedEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "workflow.execution.paused";
|
|
9
|
+
body: Vellum.WorkflowExecutionPausedBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|