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,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowDeploymentParentContext = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
exports.WorkflowDeploymentParentContext = core.serialization.object({
|
|
43
|
+
parent: core.serialization.lazy(() => serializers.ParentContext).optional(),
|
|
44
|
+
links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optional(),
|
|
45
|
+
type: core.serialization.stringLiteral("WORKFLOW_RELEASE_TAG"),
|
|
46
|
+
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
47
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string()),
|
|
48
|
+
deploymentName: core.serialization.property("deployment_name", core.serialization.string()),
|
|
49
|
+
deploymentHistoryItemId: core.serialization.property("deployment_history_item_id", core.serialization.string()),
|
|
50
|
+
releaseTagId: core.serialization.property("release_tag_id", core.serialization.string()),
|
|
51
|
+
releaseTagName: core.serialization.property("release_tag_name", core.serialization.string()),
|
|
52
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
53
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
54
|
+
workflowVersionId: core.serialization.property("workflow_version_id", core.serialization.string()),
|
|
55
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { WorkflowEventError } from "./WorkflowEventError";
|
|
8
|
+
import { WorkflowInitializationError } from "./WorkflowInitializationError";
|
|
9
|
+
export declare const WorkflowError: core.serialization.Schema<serializers.WorkflowError.Raw, Vellum.WorkflowError>;
|
|
10
|
+
export declare namespace WorkflowError {
|
|
11
|
+
type Raw = WorkflowEventError.Raw | WorkflowInitializationError.Raw;
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowError = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const WorkflowEventError_1 = require("./WorkflowEventError");
|
|
42
|
+
const WorkflowInitializationError_1 = require("./WorkflowInitializationError");
|
|
43
|
+
exports.WorkflowError = core.serialization.undiscriminatedUnion([WorkflowEventError_1.WorkflowEventError, WorkflowInitializationError_1.WorkflowInitializationError]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WorkflowEventDisplayContext: core.serialization.ObjectSchema<serializers.WorkflowEventDisplayContext.Raw, Vellum.WorkflowEventDisplayContext>;
|
|
8
|
+
export declare namespace WorkflowEventDisplayContext {
|
|
9
|
+
interface Raw {
|
|
10
|
+
node_displays: Record<string, serializers.NodeEventDisplayContext.Raw>;
|
|
11
|
+
workflow_inputs: Record<string, string>;
|
|
12
|
+
workflow_outputs: Record<string, string>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowEventDisplayContext = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
exports.WorkflowEventDisplayContext = core.serialization.object({
|
|
43
|
+
nodeDisplays: core.serialization.property("node_displays", core.serialization.record(core.serialization.string(), core.serialization.lazyObject(() => serializers.NodeEventDisplayContext))),
|
|
44
|
+
workflowInputs: core.serialization.property("workflow_inputs", core.serialization.record(core.serialization.string(), core.serialization.string())),
|
|
45
|
+
workflowOutputs: core.serialization.property("workflow_outputs", core.serialization.record(core.serialization.string(), core.serialization.string())),
|
|
46
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ExecutionVellumValue } from "./ExecutionVellumValue";
|
|
8
|
+
import { WorkflowError } from "./WorkflowError";
|
|
9
|
+
import { WorkflowExecutionActual } from "./WorkflowExecutionActual";
|
|
10
|
+
import { WorkflowExecutionViewOnlineEvalMetricResult } from "./WorkflowExecutionViewOnlineEvalMetricResult";
|
|
11
|
+
import { WorkflowExecutionUsageCalculationFulfilledBody } from "./WorkflowExecutionUsageCalculationFulfilledBody";
|
|
12
|
+
import { VellumSpan } from "./VellumSpan";
|
|
13
|
+
export declare const WorkflowEventExecutionRead: core.serialization.ObjectSchema<serializers.WorkflowEventExecutionRead.Raw, Vellum.WorkflowEventExecutionRead>;
|
|
14
|
+
export declare namespace WorkflowEventExecutionRead {
|
|
15
|
+
interface Raw {
|
|
16
|
+
span_id: string;
|
|
17
|
+
parent_context?: serializers.WorkflowDeploymentParentContext.Raw | null;
|
|
18
|
+
start: string;
|
|
19
|
+
end?: string | null;
|
|
20
|
+
inputs: ExecutionVellumValue.Raw[];
|
|
21
|
+
outputs: ExecutionVellumValue.Raw[];
|
|
22
|
+
error?: WorkflowError.Raw | null;
|
|
23
|
+
latest_actual?: WorkflowExecutionActual.Raw | null;
|
|
24
|
+
metric_results: WorkflowExecutionViewOnlineEvalMetricResult.Raw[];
|
|
25
|
+
usage_results: WorkflowExecutionUsageCalculationFulfilledBody.Raw[];
|
|
26
|
+
spans: VellumSpan.Raw[];
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowEventExecutionRead = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
const ExecutionVellumValue_1 = require("./ExecutionVellumValue");
|
|
43
|
+
const WorkflowError_1 = require("./WorkflowError");
|
|
44
|
+
const WorkflowExecutionActual_1 = require("./WorkflowExecutionActual");
|
|
45
|
+
const WorkflowExecutionViewOnlineEvalMetricResult_1 = require("./WorkflowExecutionViewOnlineEvalMetricResult");
|
|
46
|
+
const WorkflowExecutionUsageCalculationFulfilledBody_1 = require("./WorkflowExecutionUsageCalculationFulfilledBody");
|
|
47
|
+
const VellumSpan_1 = require("./VellumSpan");
|
|
48
|
+
exports.WorkflowEventExecutionRead = core.serialization.object({
|
|
49
|
+
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
50
|
+
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optional()),
|
|
51
|
+
start: core.serialization.date(),
|
|
52
|
+
end: core.serialization.date().optional(),
|
|
53
|
+
inputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
54
|
+
outputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
55
|
+
error: WorkflowError_1.WorkflowError.optional(),
|
|
56
|
+
latestActual: core.serialization.property("latest_actual", WorkflowExecutionActual_1.WorkflowExecutionActual.optional()),
|
|
57
|
+
metricResults: core.serialization.property("metric_results", core.serialization.list(WorkflowExecutionViewOnlineEvalMetricResult_1.WorkflowExecutionViewOnlineEvalMetricResult)),
|
|
58
|
+
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageCalculationFulfilledBody_1.WorkflowExecutionUsageCalculationFulfilledBody)),
|
|
59
|
+
spans: core.serialization.list(VellumSpan_1.VellumSpan),
|
|
60
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ExecutionVellumValue } from "./ExecutionVellumValue";
|
|
8
|
+
export declare const WorkflowExecutionActual: core.serialization.ObjectSchema<serializers.WorkflowExecutionActual.Raw, Vellum.WorkflowExecutionActual>;
|
|
9
|
+
export declare namespace WorkflowExecutionActual {
|
|
10
|
+
interface Raw {
|
|
11
|
+
output: ExecutionVellumValue.Raw;
|
|
12
|
+
timestamp: string;
|
|
13
|
+
quality: number;
|
|
14
|
+
metadata?: Record<string, unknown> | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowExecutionActual = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ExecutionVellumValue_1 = require("./ExecutionVellumValue");
|
|
42
|
+
exports.WorkflowExecutionActual = core.serialization.object({
|
|
43
|
+
output: ExecutionVellumValue_1.ExecutionVellumValue,
|
|
44
|
+
timestamp: core.serialization.date(),
|
|
45
|
+
quality: core.serialization.number(),
|
|
46
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
47
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumCodeResourceDefinition } from "./VellumCodeResourceDefinition";
|
|
8
|
+
export declare const WorkflowExecutionFulfilledBody: core.serialization.ObjectSchema<serializers.WorkflowExecutionFulfilledBody.Raw, Vellum.WorkflowExecutionFulfilledBody>;
|
|
9
|
+
export declare namespace WorkflowExecutionFulfilledBody {
|
|
10
|
+
interface Raw {
|
|
11
|
+
workflow_definition: VellumCodeResourceDefinition.Raw;
|
|
12
|
+
outputs: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowExecutionFulfilledBody = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
|
|
42
|
+
exports.WorkflowExecutionFulfilledBody = core.serialization.object({
|
|
43
|
+
workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
|
|
44
|
+
outputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
45
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { WorkflowExecutionFulfilledBody } from "./WorkflowExecutionFulfilledBody";
|
|
8
|
+
import { ApiVersionEnum } from "./ApiVersionEnum";
|
|
9
|
+
export declare const WorkflowExecutionFulfilledEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionFulfilledEvent.Raw, Vellum.WorkflowExecutionFulfilledEvent>;
|
|
10
|
+
export declare namespace WorkflowExecutionFulfilledEvent {
|
|
11
|
+
interface Raw {
|
|
12
|
+
parent?: serializers.ParentContext.Raw | null;
|
|
13
|
+
links?: serializers.SpanLink.Raw[] | null;
|
|
14
|
+
name: "workflow.execution.fulfilled";
|
|
15
|
+
body: WorkflowExecutionFulfilledBody.Raw;
|
|
16
|
+
id: string;
|
|
17
|
+
timestamp: string;
|
|
18
|
+
api_version?: ApiVersionEnum.Raw | null;
|
|
19
|
+
trace_id: string;
|
|
20
|
+
span_id: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowExecutionFulfilledEvent = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
const WorkflowExecutionFulfilledBody_1 = require("./WorkflowExecutionFulfilledBody");
|
|
43
|
+
const ApiVersionEnum_1 = require("./ApiVersionEnum");
|
|
44
|
+
exports.WorkflowExecutionFulfilledEvent = core.serialization.object({
|
|
45
|
+
parent: core.serialization.lazy(() => serializers.ParentContext).optional(),
|
|
46
|
+
links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optional(),
|
|
47
|
+
name: core.serialization.stringLiteral("workflow.execution.fulfilled"),
|
|
48
|
+
body: WorkflowExecutionFulfilledBody_1.WorkflowExecutionFulfilledBody,
|
|
49
|
+
id: core.serialization.string(),
|
|
50
|
+
timestamp: core.serialization.date(),
|
|
51
|
+
apiVersion: core.serialization.property("api_version", ApiVersionEnum_1.ApiVersionEnum.optional()),
|
|
52
|
+
traceId: core.serialization.property("trace_id", core.serialization.string()),
|
|
53
|
+
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
54
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumCodeResourceDefinition } from "./VellumCodeResourceDefinition";
|
|
8
|
+
export declare const WorkflowExecutionInitiatedBody: core.serialization.ObjectSchema<serializers.WorkflowExecutionInitiatedBody.Raw, Vellum.WorkflowExecutionInitiatedBody>;
|
|
9
|
+
export declare namespace WorkflowExecutionInitiatedBody {
|
|
10
|
+
interface Raw {
|
|
11
|
+
workflow_definition: VellumCodeResourceDefinition.Raw;
|
|
12
|
+
display_context?: serializers.WorkflowEventDisplayContext.Raw | null;
|
|
13
|
+
inputs: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowExecutionInitiatedBody = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
|
|
43
|
+
exports.WorkflowExecutionInitiatedBody = core.serialization.object({
|
|
44
|
+
workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
|
|
45
|
+
displayContext: core.serialization.property("display_context", core.serialization.lazyObject(() => serializers.WorkflowEventDisplayContext).optional()),
|
|
46
|
+
inputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
47
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { WorkflowExecutionInitiatedBody } from "./WorkflowExecutionInitiatedBody";
|
|
8
|
+
import { ApiVersionEnum } from "./ApiVersionEnum";
|
|
9
|
+
export declare const WorkflowExecutionInitiatedEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionInitiatedEvent.Raw, Vellum.WorkflowExecutionInitiatedEvent>;
|
|
10
|
+
export declare namespace WorkflowExecutionInitiatedEvent {
|
|
11
|
+
interface Raw {
|
|
12
|
+
parent?: serializers.ParentContext.Raw | null;
|
|
13
|
+
links?: serializers.SpanLink.Raw[] | null;
|
|
14
|
+
name: "workflow.execution.initiated";
|
|
15
|
+
body: WorkflowExecutionInitiatedBody.Raw;
|
|
16
|
+
id: string;
|
|
17
|
+
timestamp: string;
|
|
18
|
+
api_version?: ApiVersionEnum.Raw | null;
|
|
19
|
+
trace_id: string;
|
|
20
|
+
span_id: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowExecutionInitiatedEvent = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
const WorkflowExecutionInitiatedBody_1 = require("./WorkflowExecutionInitiatedBody");
|
|
43
|
+
const ApiVersionEnum_1 = require("./ApiVersionEnum");
|
|
44
|
+
exports.WorkflowExecutionInitiatedEvent = core.serialization.object({
|
|
45
|
+
parent: core.serialization.lazy(() => serializers.ParentContext).optional(),
|
|
46
|
+
links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optional(),
|
|
47
|
+
name: core.serialization.stringLiteral("workflow.execution.initiated"),
|
|
48
|
+
body: WorkflowExecutionInitiatedBody_1.WorkflowExecutionInitiatedBody,
|
|
49
|
+
id: core.serialization.string(),
|
|
50
|
+
timestamp: core.serialization.date(),
|
|
51
|
+
apiVersion: core.serialization.property("api_version", ApiVersionEnum_1.ApiVersionEnum.optional()),
|
|
52
|
+
traceId: core.serialization.property("trace_id", core.serialization.string()),
|
|
53
|
+
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
54
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumCodeResourceDefinition } from "./VellumCodeResourceDefinition";
|
|
8
|
+
import { ExternalInputDescriptor } from "./ExternalInputDescriptor";
|
|
9
|
+
export declare const WorkflowExecutionPausedBody: core.serialization.ObjectSchema<serializers.WorkflowExecutionPausedBody.Raw, Vellum.WorkflowExecutionPausedBody>;
|
|
10
|
+
export declare namespace WorkflowExecutionPausedBody {
|
|
11
|
+
interface Raw {
|
|
12
|
+
workflow_definition: VellumCodeResourceDefinition.Raw;
|
|
13
|
+
external_inputs: ExternalInputDescriptor.Raw[];
|
|
14
|
+
}
|
|
15
|
+
}
|