vellum-ai 0.14.21 → 0.14.23
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
package/Client.js
CHANGED
|
@@ -160,7 +160,7 @@ class VellumClient {
|
|
|
160
160
|
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)
|
|
161
161
|
.default, "v1/execute-api"),
|
|
162
162
|
method: "POST",
|
|
163
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
163
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
requestType: "json",
|
|
166
166
|
body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -226,7 +226,7 @@ class VellumClient {
|
|
|
226
226
|
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)
|
|
227
227
|
.predict, "v1/execute-code"),
|
|
228
228
|
method: "POST",
|
|
229
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
229
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
230
230
|
contentType: "application/json",
|
|
231
231
|
requestType: "json",
|
|
232
232
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -295,7 +295,7 @@ class VellumClient {
|
|
|
295
295
|
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)
|
|
296
296
|
.predict, "v1/execute-prompt"),
|
|
297
297
|
method: "POST",
|
|
298
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
298
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
299
299
|
contentType: "application/json",
|
|
300
300
|
requestType: "json",
|
|
301
301
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -353,7 +353,7 @@ class VellumClient {
|
|
|
353
353
|
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)
|
|
354
354
|
.predict, "v1/execute-prompt-stream"),
|
|
355
355
|
method: "POST",
|
|
356
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
356
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
357
357
|
contentType: "application/json",
|
|
358
358
|
requestType: "json",
|
|
359
359
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -438,7 +438,7 @@ class VellumClient {
|
|
|
438
438
|
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)
|
|
439
439
|
.predict, "v1/execute-workflow"),
|
|
440
440
|
method: "POST",
|
|
441
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
441
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
442
442
|
contentType: "application/json",
|
|
443
443
|
requestType: "json",
|
|
444
444
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -494,7 +494,7 @@ class VellumClient {
|
|
|
494
494
|
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)
|
|
495
495
|
.predict, "v1/execute-workflow-stream"),
|
|
496
496
|
method: "POST",
|
|
497
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
497
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
498
498
|
contentType: "application/json",
|
|
499
499
|
requestType: "json",
|
|
500
500
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -581,7 +581,7 @@ class VellumClient {
|
|
|
581
581
|
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)
|
|
582
582
|
.predict, "v1/generate"),
|
|
583
583
|
method: "POST",
|
|
584
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
584
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
585
585
|
contentType: "application/json",
|
|
586
586
|
requestType: "json",
|
|
587
587
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -642,7 +642,7 @@ class VellumClient {
|
|
|
642
642
|
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)
|
|
643
643
|
.predict, "v1/generate-stream"),
|
|
644
644
|
method: "POST",
|
|
645
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
645
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
646
646
|
contentType: "application/json",
|
|
647
647
|
requestType: "json",
|
|
648
648
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -723,7 +723,7 @@ class VellumClient {
|
|
|
723
723
|
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)
|
|
724
724
|
.predict, "v1/search"),
|
|
725
725
|
method: "POST",
|
|
726
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
726
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
727
727
|
contentType: "application/json",
|
|
728
728
|
requestType: "json",
|
|
729
729
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -791,7 +791,7 @@ class VellumClient {
|
|
|
791
791
|
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)
|
|
792
792
|
.predict, "v1/submit-completion-actuals"),
|
|
793
793
|
method: "POST",
|
|
794
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
794
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
795
795
|
contentType: "application/json",
|
|
796
796
|
requestType: "json",
|
|
797
797
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -854,7 +854,7 @@ class VellumClient {
|
|
|
854
854
|
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)
|
|
855
855
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
856
856
|
method: "POST",
|
|
857
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
857
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
858
858
|
contentType: "application/json",
|
|
859
859
|
requestType: "json",
|
|
860
860
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -66,7 +66,7 @@ class AdHoc {
|
|
|
66
66
|
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)
|
|
67
67
|
.predict, "v1/ad-hoc/execute-prompt-stream"),
|
|
68
68
|
method: "POST",
|
|
69
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
69
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
requestType: "json",
|
|
72
72
|
body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -85,7 +85,7 @@ class ContainerImages {
|
|
|
85
85
|
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)
|
|
86
86
|
.default, "v1/container-images"),
|
|
87
87
|
method: "GET",
|
|
88
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
88
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
89
89
|
contentType: "application/json",
|
|
90
90
|
queryParameters: _queryParams,
|
|
91
91
|
requestType: "json",
|
|
@@ -138,7 +138,7 @@ class ContainerImages {
|
|
|
138
138
|
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)
|
|
139
139
|
.default, `v1/container-images/${encodeURIComponent(id)}`),
|
|
140
140
|
method: "GET",
|
|
141
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
141
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
142
142
|
contentType: "application/json",
|
|
143
143
|
requestType: "json",
|
|
144
144
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -187,7 +187,7 @@ class ContainerImages {
|
|
|
187
187
|
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)
|
|
188
188
|
.default, "v1/container-images/docker-service-token"),
|
|
189
189
|
method: "GET",
|
|
190
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
190
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
191
191
|
contentType: "application/json",
|
|
192
192
|
requestType: "json",
|
|
193
193
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -241,7 +241,7 @@ class ContainerImages {
|
|
|
241
241
|
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)
|
|
242
242
|
.default, "v1/container-images/push"),
|
|
243
243
|
method: "POST",
|
|
244
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
244
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
245
245
|
contentType: "application/json",
|
|
246
246
|
requestType: "json",
|
|
247
247
|
body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -91,7 +91,7 @@ class Deployments {
|
|
|
91
91
|
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)
|
|
92
92
|
.default, "v1/deployments"),
|
|
93
93
|
method: "GET",
|
|
94
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
94
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
95
95
|
contentType: "application/json",
|
|
96
96
|
queryParameters: _queryParams,
|
|
97
97
|
requestType: "json",
|
|
@@ -144,7 +144,7 @@ class Deployments {
|
|
|
144
144
|
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)
|
|
145
145
|
.default, `v1/deployments/${encodeURIComponent(id)}`),
|
|
146
146
|
method: "GET",
|
|
147
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
147
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -197,7 +197,7 @@ class Deployments {
|
|
|
197
197
|
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)
|
|
198
198
|
.default, `v1/deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
199
199
|
method: "GET",
|
|
200
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
200
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
201
201
|
contentType: "application/json",
|
|
202
202
|
requestType: "json",
|
|
203
203
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -266,7 +266,7 @@ class Deployments {
|
|
|
266
266
|
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)
|
|
267
267
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
|
|
268
268
|
method: "GET",
|
|
269
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
269
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
queryParameters: _queryParams,
|
|
272
272
|
requestType: "json",
|
|
@@ -320,7 +320,7 @@ class Deployments {
|
|
|
320
320
|
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)
|
|
321
321
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
322
322
|
method: "GET",
|
|
323
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
323
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
324
324
|
contentType: "application/json",
|
|
325
325
|
requestType: "json",
|
|
326
326
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -374,7 +374,7 @@ class Deployments {
|
|
|
374
374
|
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)
|
|
375
375
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
376
376
|
method: "PATCH",
|
|
377
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
377
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
378
378
|
contentType: "application/json",
|
|
379
379
|
requestType: "json",
|
|
380
380
|
body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -449,7 +449,7 @@ class Deployments {
|
|
|
449
449
|
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)
|
|
450
450
|
.default, "v1/deployments/provider-payload"),
|
|
451
451
|
method: "POST",
|
|
452
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
452
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
453
453
|
contentType: "application/json",
|
|
454
454
|
requestType: "json",
|
|
455
455
|
body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -93,7 +93,7 @@ class DocumentIndexes {
|
|
|
93
93
|
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)
|
|
94
94
|
.default, "v1/document-indexes"),
|
|
95
95
|
method: "GET",
|
|
96
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
96
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
99
99
|
requestType: "json",
|
|
@@ -208,7 +208,7 @@ class DocumentIndexes {
|
|
|
208
208
|
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)
|
|
209
209
|
.default, "v1/document-indexes"),
|
|
210
210
|
method: "POST",
|
|
211
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
211
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
requestType: "json",
|
|
214
214
|
body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -261,7 +261,7 @@ class DocumentIndexes {
|
|
|
261
261
|
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)
|
|
262
262
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
263
263
|
method: "GET",
|
|
264
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
264
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -316,7 +316,7 @@ class DocumentIndexes {
|
|
|
316
316
|
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)
|
|
317
317
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
318
318
|
method: "PUT",
|
|
319
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
319
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
320
320
|
contentType: "application/json",
|
|
321
321
|
requestType: "json",
|
|
322
322
|
body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -369,7 +369,7 @@ class DocumentIndexes {
|
|
|
369
369
|
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)
|
|
370
370
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
371
371
|
method: "DELETE",
|
|
372
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
372
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
373
373
|
contentType: "application/json",
|
|
374
374
|
requestType: "json",
|
|
375
375
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -417,7 +417,7 @@ class DocumentIndexes {
|
|
|
417
417
|
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)
|
|
418
418
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
419
419
|
method: "PATCH",
|
|
420
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
420
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
421
421
|
contentType: "application/json",
|
|
422
422
|
requestType: "json",
|
|
423
423
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -473,7 +473,7 @@ class DocumentIndexes {
|
|
|
473
473
|
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)
|
|
474
474
|
.default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
475
475
|
method: "POST",
|
|
476
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
476
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
477
477
|
contentType: "application/json",
|
|
478
478
|
requestType: "json",
|
|
479
479
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -521,7 +521,7 @@ class DocumentIndexes {
|
|
|
521
521
|
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)
|
|
522
522
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
523
523
|
method: "DELETE",
|
|
524
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
524
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
525
525
|
contentType: "application/json",
|
|
526
526
|
requestType: "json",
|
|
527
527
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -92,7 +92,7 @@ class Documents {
|
|
|
92
92
|
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)
|
|
93
93
|
.default, "v1/documents"),
|
|
94
94
|
method: "GET",
|
|
95
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
95
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "json",
|
|
@@ -145,7 +145,7 @@ class Documents {
|
|
|
145
145
|
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)
|
|
146
146
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
147
147
|
method: "GET",
|
|
148
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
148
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
149
149
|
contentType: "application/json",
|
|
150
150
|
requestType: "json",
|
|
151
151
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -197,7 +197,7 @@ class Documents {
|
|
|
197
197
|
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)
|
|
198
198
|
.documents, `v1/documents/${encodeURIComponent(id)}`),
|
|
199
199
|
method: "DELETE",
|
|
200
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
200
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
201
201
|
contentType: "application/json",
|
|
202
202
|
requestType: "json",
|
|
203
203
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -245,7 +245,7 @@ class Documents {
|
|
|
245
245
|
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)
|
|
246
246
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
247
247
|
method: "PATCH",
|
|
248
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
248
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
249
249
|
contentType: "application/json",
|
|
250
250
|
requestType: "json",
|
|
251
251
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -334,7 +334,7 @@ class Documents {
|
|
|
334
334
|
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)
|
|
335
335
|
.documents, "v1/upload-document"),
|
|
336
336
|
method: "POST",
|
|
337
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
337
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
338
338
|
requestType: "file",
|
|
339
339
|
duplex: _maybeEncodedRequest.duplex,
|
|
340
340
|
body: _maybeEncodedRequest.body,
|
|
@@ -91,7 +91,7 @@ class FolderEntities {
|
|
|
91
91
|
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)
|
|
92
92
|
.default, "v1/folder-entities"),
|
|
93
93
|
method: "GET",
|
|
94
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
94
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
95
95
|
contentType: "application/json",
|
|
96
96
|
queryParameters: _queryParams,
|
|
97
97
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class FolderEntities {
|
|
|
154
154
|
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)
|
|
155
155
|
.default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
|
|
156
156
|
method: "POST",
|
|
157
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
157
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
requestType: "json",
|
|
160
160
|
body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -79,7 +79,7 @@ class MetricDefinitions {
|
|
|
79
79
|
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)
|
|
80
80
|
.predict, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
|
|
81
81
|
method: "POST",
|
|
82
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
82
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
requestType: "json",
|
|
85
85
|
body: serializers.ExecuteMetricDefinition.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -131,7 +131,7 @@ class MetricDefinitions {
|
|
|
131
131
|
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)
|
|
132
132
|
.default, `v1/metric-definitions/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
133
133
|
method: "GET",
|
|
134
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
134
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
requestType: "json",
|
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -74,7 +74,7 @@ class MlModels {
|
|
|
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/ml-models/${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.23", "User-Agent": "vellum-ai/0.14.23", "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,
|
|
@@ -73,7 +73,7 @@ class Organizations {
|
|
|
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/organizations/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.23", "User-Agent": "vellum-ai/0.14.23", "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,
|
|
@@ -74,7 +74,7 @@ class Sandboxes {
|
|
|
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/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/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.23", "User-Agent": "vellum-ai/0.14.23", "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.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -161,7 +161,7 @@ class Sandboxes {
|
|
|
161
161
|
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)
|
|
162
162
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
|
|
163
163
|
method: "POST",
|
|
164
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
164
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
165
165
|
contentType: "application/json",
|
|
166
166
|
requestType: "json",
|
|
167
167
|
body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -215,7 +215,7 @@ class Sandboxes {
|
|
|
215
215
|
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)
|
|
216
216
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
|
|
217
217
|
method: "DELETE",
|
|
218
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
218
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
219
219
|
contentType: "application/json",
|
|
220
220
|
requestType: "json",
|
|
221
221
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -81,7 +81,7 @@ class TestSuiteRuns {
|
|
|
81
81
|
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)
|
|
82
82
|
.default, "v1/test-suite-runs"),
|
|
83
83
|
method: "POST",
|
|
84
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
84
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -134,7 +134,7 @@ class TestSuiteRuns {
|
|
|
134
134
|
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)
|
|
135
135
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
|
|
136
136
|
method: "GET",
|
|
137
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
137
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
requestType: "json",
|
|
140
140
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -201,7 +201,7 @@ class TestSuiteRuns {
|
|
|
201
201
|
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)
|
|
202
202
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
|
|
203
203
|
method: "GET",
|
|
204
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
204
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
205
205
|
contentType: "application/json",
|
|
206
206
|
queryParameters: _queryParams,
|
|
207
207
|
requestType: "json",
|
|
@@ -83,7 +83,7 @@ class TestSuites {
|
|
|
83
83
|
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)
|
|
84
84
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
85
85
|
method: "GET",
|
|
86
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
86
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
queryParameters: _queryParams,
|
|
89
89
|
requestType: "json",
|
|
@@ -164,7 +164,7 @@ class TestSuites {
|
|
|
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/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
166
166
|
method: "POST",
|
|
167
|
-
headers: 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({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
requestType: "json",
|
|
170
170
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -211,7 +211,7 @@ class TestSuites {
|
|
|
211
211
|
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)
|
|
212
212
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
|
|
213
213
|
method: "POST",
|
|
214
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
214
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
215
215
|
contentType: "application/x-ndjson",
|
|
216
216
|
requestType: "json",
|
|
217
217
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -278,7 +278,7 @@ class TestSuites {
|
|
|
278
278
|
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)
|
|
279
279
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
|
|
280
280
|
method: "DELETE",
|
|
281
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
281
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.23", "User-Agent": "vellum-ai/0.14.23", "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),
|
|
282
282
|
contentType: "application/json",
|
|
283
283
|
requestType: "json",
|
|
284
284
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|