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
|
@@ -45,6 +45,24 @@ export declare class WorkflowDeployments {
|
|
|
45
45
|
* await client.workflowDeployments.retrieve("id")
|
|
46
46
|
*/
|
|
47
47
|
retrieve(id: string, requestOptions?: WorkflowDeployments.RequestOptions): Promise<Vellum.WorkflowDeploymentRead>;
|
|
48
|
+
/**
|
|
49
|
+
* @param {string} id
|
|
50
|
+
* @param {Vellum.ListWorkflowDeploymentEventExecutionsRequest} request
|
|
51
|
+
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* await client.workflowDeployments.listWorkflowDeploymentEventExecutions("id")
|
|
55
|
+
*/
|
|
56
|
+
listWorkflowDeploymentEventExecutions(id: string, request?: Vellum.ListWorkflowDeploymentEventExecutionsRequest, requestOptions?: WorkflowDeployments.RequestOptions): Promise<Vellum.WorkflowDeploymentEventExecutionsResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* @param {string} executionId
|
|
59
|
+
* @param {string} id
|
|
60
|
+
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* await client.workflowDeployments.workflowDeploymentEventExecution("execution_id", "id")
|
|
64
|
+
*/
|
|
65
|
+
workflowDeploymentEventExecution(executionId: string, id: string, requestOptions?: WorkflowDeployments.RequestOptions): Promise<Vellum.WorkflowEventExecutionRead>;
|
|
48
66
|
/**
|
|
49
67
|
* Retrieve a specific Workflow Deployment History Item by either its UUID or the name of a Release Tag that points to it.
|
|
50
68
|
*
|
|
@@ -90,7 +90,7 @@ class WorkflowDeployments {
|
|
|
90
90
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
91
91
|
.default, "v1/workflow-deployments"),
|
|
92
92
|
method: "GET",
|
|
93
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
93
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
96
96
|
requestType: "json",
|
|
@@ -143,7 +143,7 @@ class WorkflowDeployments {
|
|
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
144
144
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
146
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
requestType: "json",
|
|
149
149
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -179,6 +179,120 @@ class WorkflowDeployments {
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* @param {string} id
|
|
184
|
+
* @param {Vellum.ListWorkflowDeploymentEventExecutionsRequest} request
|
|
185
|
+
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* await client.workflowDeployments.listWorkflowDeploymentEventExecutions("id")
|
|
189
|
+
*/
|
|
190
|
+
listWorkflowDeploymentEventExecutions(id_1) {
|
|
191
|
+
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
192
|
+
var _a, _b;
|
|
193
|
+
const { filters, limit, offset } = request;
|
|
194
|
+
const _queryParams = {};
|
|
195
|
+
if (filters != null) {
|
|
196
|
+
_queryParams["filters"] = filters;
|
|
197
|
+
}
|
|
198
|
+
if (limit != null) {
|
|
199
|
+
_queryParams["limit"] = limit.toString();
|
|
200
|
+
}
|
|
201
|
+
if (offset != null) {
|
|
202
|
+
_queryParams["offset"] = offset.toString();
|
|
203
|
+
}
|
|
204
|
+
const _response = yield core.fetcher({
|
|
205
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
206
|
+
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
|
|
207
|
+
method: "GET",
|
|
208
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
209
|
+
contentType: "application/json",
|
|
210
|
+
queryParameters: _queryParams,
|
|
211
|
+
requestType: "json",
|
|
212
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
213
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
214
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
215
|
+
});
|
|
216
|
+
if (_response.ok) {
|
|
217
|
+
return serializers.WorkflowDeploymentEventExecutionsResponse.parseOrThrow(_response.body, {
|
|
218
|
+
unrecognizedObjectKeys: "passthrough",
|
|
219
|
+
allowUnrecognizedUnionMembers: true,
|
|
220
|
+
allowUnrecognizedEnumValues: true,
|
|
221
|
+
breadcrumbsPrefix: ["response"],
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
if (_response.error.reason === "status-code") {
|
|
225
|
+
throw new errors.VellumError({
|
|
226
|
+
statusCode: _response.error.statusCode,
|
|
227
|
+
body: _response.error.body,
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
switch (_response.error.reason) {
|
|
231
|
+
case "non-json":
|
|
232
|
+
throw new errors.VellumError({
|
|
233
|
+
statusCode: _response.error.statusCode,
|
|
234
|
+
body: _response.error.rawBody,
|
|
235
|
+
});
|
|
236
|
+
case "timeout":
|
|
237
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/workflow-deployments/{id}/execution-events.");
|
|
238
|
+
case "unknown":
|
|
239
|
+
throw new errors.VellumError({
|
|
240
|
+
message: _response.error.errorMessage,
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* @param {string} executionId
|
|
247
|
+
* @param {string} id
|
|
248
|
+
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* await client.workflowDeployments.workflowDeploymentEventExecution("execution_id", "id")
|
|
252
|
+
*/
|
|
253
|
+
workflowDeploymentEventExecution(executionId, id, requestOptions) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
var _a, _b;
|
|
256
|
+
const _response = yield core.fetcher({
|
|
257
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
258
|
+
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events/${encodeURIComponent(executionId)}`),
|
|
259
|
+
method: "GET",
|
|
260
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
261
|
+
contentType: "application/json",
|
|
262
|
+
requestType: "json",
|
|
263
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
264
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
265
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
266
|
+
});
|
|
267
|
+
if (_response.ok) {
|
|
268
|
+
return serializers.WorkflowEventExecutionRead.parseOrThrow(_response.body, {
|
|
269
|
+
unrecognizedObjectKeys: "passthrough",
|
|
270
|
+
allowUnrecognizedUnionMembers: true,
|
|
271
|
+
allowUnrecognizedEnumValues: true,
|
|
272
|
+
breadcrumbsPrefix: ["response"],
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
if (_response.error.reason === "status-code") {
|
|
276
|
+
throw new errors.VellumError({
|
|
277
|
+
statusCode: _response.error.statusCode,
|
|
278
|
+
body: _response.error.body,
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
switch (_response.error.reason) {
|
|
282
|
+
case "non-json":
|
|
283
|
+
throw new errors.VellumError({
|
|
284
|
+
statusCode: _response.error.statusCode,
|
|
285
|
+
body: _response.error.rawBody,
|
|
286
|
+
});
|
|
287
|
+
case "timeout":
|
|
288
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/workflow-deployments/{id}/execution-events/{execution_id}.");
|
|
289
|
+
case "unknown":
|
|
290
|
+
throw new errors.VellumError({
|
|
291
|
+
message: _response.error.errorMessage,
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
}
|
|
182
296
|
/**
|
|
183
297
|
* Retrieve a specific Workflow Deployment History Item by either its UUID or the name of a Release Tag that points to it.
|
|
184
298
|
*
|
|
@@ -196,7 +310,7 @@ class WorkflowDeployments {
|
|
|
196
310
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
197
311
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
198
312
|
method: "GET",
|
|
199
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
313
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
200
314
|
contentType: "application/json",
|
|
201
315
|
requestType: "json",
|
|
202
316
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -265,7 +379,7 @@ class WorkflowDeployments {
|
|
|
265
379
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
266
380
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
267
381
|
method: "GET",
|
|
268
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
382
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
269
383
|
contentType: "application/json",
|
|
270
384
|
queryParameters: _queryParams,
|
|
271
385
|
requestType: "json",
|
|
@@ -319,7 +433,7 @@ class WorkflowDeployments {
|
|
|
319
433
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
320
434
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
321
435
|
method: "GET",
|
|
322
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
436
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
323
437
|
contentType: "application/json",
|
|
324
438
|
requestType: "json",
|
|
325
439
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -373,7 +487,7 @@ class WorkflowDeployments {
|
|
|
373
487
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
374
488
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
375
489
|
method: "PATCH",
|
|
376
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
490
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
377
491
|
contentType: "application/json",
|
|
378
492
|
requestType: "json",
|
|
379
493
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ListWorkflowDeploymentEventExecutionsRequest {
|
|
9
|
+
filters?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Number of executions to return per page.
|
|
12
|
+
*/
|
|
13
|
+
limit?: number;
|
|
14
|
+
/**
|
|
15
|
+
* The initial index from which to return the executions.
|
|
16
|
+
*/
|
|
17
|
+
offset?: number;
|
|
18
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type WorkflowDeploymentsListRequest } from "./WorkflowDeploymentsListRequest";
|
|
2
|
+
export { type ListWorkflowDeploymentEventExecutionsRequest } from "./ListWorkflowDeploymentEventExecutionsRequest";
|
|
2
3
|
export { type ListWorkflowReleaseTagsRequest } from "./ListWorkflowReleaseTagsRequest";
|
|
3
4
|
export { type PatchedWorkflowReleaseTagUpdateRequest } from "./PatchedWorkflowReleaseTagUpdateRequest";
|
|
@@ -74,7 +74,7 @@ class WorkflowSandboxes {
|
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
75
75
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
76
76
|
method: "POST",
|
|
77
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -143,7 +143,7 @@ class WorkflowSandboxes {
|
|
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
144
144
|
.default, "v1/workflow-sandboxes/examples"),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
146
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
queryParameters: _queryParams,
|
|
149
149
|
requestType: "json",
|
|
@@ -89,7 +89,7 @@ class Workflows {
|
|
|
89
89
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
90
90
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
91
91
|
method: "GET",
|
|
92
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
92
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
93
93
|
contentType: "application/json",
|
|
94
94
|
queryParameters: _queryParams,
|
|
95
95
|
requestType: "json",
|
|
@@ -164,7 +164,7 @@ class Workflows {
|
|
|
164
164
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
165
165
|
.default, "v1/workflows/push"),
|
|
166
166
|
method: "POST",
|
|
167
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
167
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
168
168
|
requestType: "file",
|
|
169
169
|
duplex: _maybeEncodedRequest.duplex,
|
|
170
170
|
body: _maybeEncodedRequest.body,
|
|
@@ -74,7 +74,7 @@ class WorkspaceSecrets {
|
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
75
75
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
76
76
|
method: "GET",
|
|
77
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -127,7 +127,7 @@ class WorkspaceSecrets {
|
|
|
127
127
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
128
128
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
129
129
|
method: "PATCH",
|
|
130
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
130
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
requestType: "json",
|
|
133
133
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -73,7 +73,7 @@ class Workspaces {
|
|
|
73
73
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
74
74
|
.default, "v1/workspaces/identity"),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
76
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.24", "User-Agent": "vellum-ai/0.14.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -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 ApiRequestParentContext {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
type: "API_REQUEST";
|
|
9
|
+
spanId: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The definition of a resource defined in code.
|
|
6
|
+
*/
|
|
7
|
+
export interface CodeResourceDefinition {
|
|
8
|
+
/** The name of the resource, typically a class name. */
|
|
9
|
+
name: string;
|
|
10
|
+
/** The module that this resource is defined in. */
|
|
11
|
+
module: string[];
|
|
12
|
+
}
|
|
@@ -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 ExternalInputDescriptor {
|
|
6
|
+
types: Vellum.CodeResourceDefinition[];
|
|
7
|
+
inputsClass?: Vellum.CodeResourceDefinition;
|
|
8
|
+
instance?: unknown;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
@@ -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 NodeEventDisplayContext {
|
|
6
|
+
inputDisplay: Record<string, string>;
|
|
7
|
+
outputDisplay: Record<string, string>;
|
|
8
|
+
portDisplay: Record<string, string>;
|
|
9
|
+
subworkflowDisplay?: Vellum.WorkflowEventDisplayContext;
|
|
10
|
+
}
|
|
@@ -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 NodeExecutionFulfilledBody {
|
|
6
|
+
nodeDefinition: Vellum.VellumCodeResourceDefinition;
|
|
7
|
+
invokedPorts?: Vellum.InvokedPort[];
|
|
8
|
+
outputs: Record<string, unknown>;
|
|
9
|
+
mocked?: boolean;
|
|
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 NodeExecutionFulfilledEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "node.execution.fulfilled";
|
|
9
|
+
body: Vellum.NodeExecutionFulfilledBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|
|
@@ -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 NodeExecutionInitiatedEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "node.execution.initiated";
|
|
9
|
+
body: Vellum.NodeExecutionInitiatedBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|
|
@@ -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 NodeExecutionPausedEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "node.execution.paused";
|
|
9
|
+
body: Vellum.NodeExecutionPausedBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|
|
@@ -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 NodeExecutionRejectedEvent {
|
|
6
|
+
parent?: Vellum.ParentContext;
|
|
7
|
+
links?: Vellum.SpanLink[];
|
|
8
|
+
name: "node.execution.rejected";
|
|
9
|
+
body: Vellum.NodeExecutionRejectedBody;
|
|
10
|
+
id: string;
|
|
11
|
+
timestamp: Date;
|
|
12
|
+
apiVersion?: Vellum.ApiVersionEnum;
|
|
13
|
+
traceId: string;
|
|
14
|
+
spanId: string;
|
|
15
|
+
}
|