vellum-ai 0.3.21 → 0.3.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 +9 -9
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +6 -6
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuiteRuns/client/Client.js +12 -4
- package/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.d.ts +8 -0
- package/api/resources/testSuites/client/Client.js +3 -3
- package/api/resources/workflowDeployments/client/Client.js +2 -2
- package/api/types/ExternalTestCaseExecution.d.ts +9 -0
- package/api/types/ExternalTestCaseExecution.js +5 -0
- package/api/types/ExternalTestCaseExecutionRequest.d.ts +9 -0
- package/api/types/ExternalTestCaseExecutionRequest.js +5 -0
- package/api/types/FulfilledWorkflowNodeResultEvent.d.ts +1 -1
- package/api/types/NamedTestCaseChatHistoryVariableValue.d.ts +11 -0
- package/api/types/NamedTestCaseChatHistoryVariableValue.js +5 -0
- package/api/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +4 -1
- package/api/types/NamedTestCaseErrorVariableValue.d.ts +11 -0
- package/api/types/NamedTestCaseErrorVariableValue.js +5 -0
- package/api/types/NamedTestCaseErrorVariableValueRequest.d.ts +4 -1
- package/api/types/NamedTestCaseJsonVariableValue.d.ts +10 -0
- package/api/types/NamedTestCaseJsonVariableValue.js +5 -0
- package/api/types/NamedTestCaseJsonVariableValueRequest.d.ts +4 -1
- package/api/types/NamedTestCaseNumberVariableValue.d.ts +10 -0
- package/api/types/NamedTestCaseNumberVariableValue.js +5 -0
- package/api/types/NamedTestCaseNumberVariableValueRequest.d.ts +4 -1
- package/api/types/NamedTestCaseSearchResultsVariableValue.d.ts +11 -0
- package/api/types/NamedTestCaseSearchResultsVariableValue.js +5 -0
- package/api/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +4 -1
- package/api/types/NamedTestCaseStringVariableValue.d.ts +10 -0
- package/api/types/NamedTestCaseStringVariableValue.js +5 -0
- package/api/types/NamedTestCaseStringVariableValueRequest.d.ts +4 -1
- package/api/types/NamedTestCaseVariableValue.d.ts +25 -0
- package/api/types/NamedTestCaseVariableValue.js +5 -0
- package/api/types/PromptTemplateBlock.d.ts +1 -0
- package/api/types/PromptTemplateBlockRequest.d.ts +1 -0
- package/api/types/PromptTemplateBlockState.d.ts +12 -0
- package/api/types/PromptTemplateBlockState.js +10 -0
- package/api/types/SandboxScenario.d.ts +3 -0
- package/api/types/TestCaseChatHistoryVariableValue.d.ts +4 -0
- package/api/types/TestCaseErrorVariableValue.d.ts +4 -0
- package/api/types/TestCaseJsonVariableValue.d.ts +4 -0
- package/api/types/TestCaseNumberVariableValue.d.ts +4 -0
- package/api/types/TestCaseSearchResultsVariableValue.d.ts +4 -0
- package/api/types/TestCaseStringVariableValue.d.ts +4 -0
- package/api/types/TestSuiteRunExecConfig.d.ts +4 -1
- package/api/types/TestSuiteRunExecConfigRequest.d.ts +4 -1
- package/api/types/TestSuiteRunExecutionChatHistoryOutput.d.ts +5 -1
- package/api/types/TestSuiteRunExecutionErrorOutput.d.ts +5 -1
- package/api/types/TestSuiteRunExecutionJsonOutput.d.ts +5 -1
- package/api/types/TestSuiteRunExecutionMetricDefinition.d.ts +8 -0
- package/api/types/TestSuiteRunExecutionMetricDefinition.js +5 -0
- package/api/types/TestSuiteRunExecutionMetricResult.d.ts +2 -0
- package/api/types/TestSuiteRunExecutionNumberOutput.d.ts +5 -1
- package/api/types/TestSuiteRunExecutionSearchResultsOutput.d.ts +5 -1
- package/api/types/TestSuiteRunExecutionStringOutput.d.ts +5 -1
- package/api/types/TestSuiteRunExternalExecConfig.d.ts +12 -0
- package/api/types/TestSuiteRunExternalExecConfig.js +5 -0
- package/api/types/TestSuiteRunExternalExecConfigData.d.ts +8 -0
- package/api/types/TestSuiteRunExternalExecConfigData.js +5 -0
- package/api/types/TestSuiteRunExternalExecConfigDataRequest.d.ts +8 -0
- package/api/types/TestSuiteRunExternalExecConfigDataRequest.js +5 -0
- package/api/types/TestSuiteRunExternalExecConfigRequest.d.ts +12 -0
- package/api/types/TestSuiteRunExternalExecConfigRequest.js +5 -0
- package/api/types/TestSuiteRunExternalExecConfigTypeEnum.d.ts +4 -0
- package/api/types/TestSuiteRunExternalExecConfigTypeEnum.js +5 -0
- package/api/types/index.d.ts +16 -0
- package/api/types/index.js +16 -0
- package/dist/Client.js +9 -9
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +6 -6
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuiteRuns/client/Client.js +12 -4
- package/dist/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.d.ts +8 -0
- package/dist/api/resources/testSuites/client/Client.js +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
- package/dist/api/types/ExternalTestCaseExecution.d.ts +9 -0
- package/dist/api/types/ExternalTestCaseExecution.js +5 -0
- package/dist/api/types/ExternalTestCaseExecutionRequest.d.ts +9 -0
- package/dist/api/types/ExternalTestCaseExecutionRequest.js +5 -0
- package/dist/api/types/FulfilledWorkflowNodeResultEvent.d.ts +1 -1
- package/dist/api/types/NamedTestCaseChatHistoryVariableValue.d.ts +11 -0
- package/dist/api/types/NamedTestCaseChatHistoryVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +4 -1
- package/dist/api/types/NamedTestCaseErrorVariableValue.d.ts +11 -0
- package/dist/api/types/NamedTestCaseErrorVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseErrorVariableValueRequest.d.ts +4 -1
- package/dist/api/types/NamedTestCaseJsonVariableValue.d.ts +10 -0
- package/dist/api/types/NamedTestCaseJsonVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseJsonVariableValueRequest.d.ts +4 -1
- package/dist/api/types/NamedTestCaseNumberVariableValue.d.ts +10 -0
- package/dist/api/types/NamedTestCaseNumberVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseNumberVariableValueRequest.d.ts +4 -1
- package/dist/api/types/NamedTestCaseSearchResultsVariableValue.d.ts +11 -0
- package/dist/api/types/NamedTestCaseSearchResultsVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +4 -1
- package/dist/api/types/NamedTestCaseStringVariableValue.d.ts +10 -0
- package/dist/api/types/NamedTestCaseStringVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseStringVariableValueRequest.d.ts +4 -1
- package/dist/api/types/NamedTestCaseVariableValue.d.ts +25 -0
- package/dist/api/types/NamedTestCaseVariableValue.js +5 -0
- package/dist/api/types/PromptTemplateBlock.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockRequest.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockState.d.ts +12 -0
- package/dist/api/types/PromptTemplateBlockState.js +10 -0
- package/dist/api/types/SandboxScenario.d.ts +3 -0
- package/dist/api/types/TestCaseChatHistoryVariableValue.d.ts +4 -0
- package/dist/api/types/TestCaseErrorVariableValue.d.ts +4 -0
- package/dist/api/types/TestCaseJsonVariableValue.d.ts +4 -0
- package/dist/api/types/TestCaseNumberVariableValue.d.ts +4 -0
- package/dist/api/types/TestCaseSearchResultsVariableValue.d.ts +4 -0
- package/dist/api/types/TestCaseStringVariableValue.d.ts +4 -0
- package/dist/api/types/TestSuiteRunExecConfig.d.ts +4 -1
- package/dist/api/types/TestSuiteRunExecConfigRequest.d.ts +4 -1
- package/dist/api/types/TestSuiteRunExecutionChatHistoryOutput.d.ts +5 -1
- package/dist/api/types/TestSuiteRunExecutionErrorOutput.d.ts +5 -1
- package/dist/api/types/TestSuiteRunExecutionJsonOutput.d.ts +5 -1
- package/dist/api/types/TestSuiteRunExecutionMetricDefinition.d.ts +8 -0
- package/dist/api/types/TestSuiteRunExecutionMetricDefinition.js +5 -0
- package/dist/api/types/TestSuiteRunExecutionMetricResult.d.ts +2 -0
- package/dist/api/types/TestSuiteRunExecutionNumberOutput.d.ts +5 -1
- package/dist/api/types/TestSuiteRunExecutionSearchResultsOutput.d.ts +5 -1
- package/dist/api/types/TestSuiteRunExecutionStringOutput.d.ts +5 -1
- package/dist/api/types/TestSuiteRunExternalExecConfig.d.ts +12 -0
- package/dist/api/types/TestSuiteRunExternalExecConfig.js +5 -0
- package/dist/api/types/TestSuiteRunExternalExecConfigData.d.ts +8 -0
- package/dist/api/types/TestSuiteRunExternalExecConfigData.js +5 -0
- package/dist/api/types/TestSuiteRunExternalExecConfigDataRequest.d.ts +8 -0
- package/dist/api/types/TestSuiteRunExternalExecConfigDataRequest.js +5 -0
- package/dist/api/types/TestSuiteRunExternalExecConfigRequest.d.ts +12 -0
- package/dist/api/types/TestSuiteRunExternalExecConfigRequest.js +5 -0
- package/dist/api/types/TestSuiteRunExternalExecConfigTypeEnum.d.ts +4 -0
- package/dist/api/types/TestSuiteRunExternalExecConfigTypeEnum.js +5 -0
- package/dist/api/types/index.d.ts +16 -0
- package/dist/api/types/index.js +16 -0
- package/dist/serialization/types/ExternalTestCaseExecution.d.ts +14 -0
- package/dist/serialization/types/ExternalTestCaseExecution.js +35 -0
- package/dist/serialization/types/ExternalTestCaseExecutionRequest.d.ts +14 -0
- package/dist/serialization/types/ExternalTestCaseExecutionRequest.js +35 -0
- package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +1 -1
- package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.js +1 -1
- package/dist/serialization/types/NamedTestCaseChatHistoryVariableValue.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseChatHistoryVariableValue.js +35 -0
- package/dist/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseErrorVariableValue.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseErrorVariableValue.js +35 -0
- package/dist/serialization/types/NamedTestCaseErrorVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseErrorVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseJsonVariableValue.d.ts +13 -0
- package/dist/serialization/types/NamedTestCaseJsonVariableValue.js +34 -0
- package/dist/serialization/types/NamedTestCaseJsonVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseJsonVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseNumberVariableValue.d.ts +13 -0
- package/dist/serialization/types/NamedTestCaseNumberVariableValue.js +34 -0
- package/dist/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseNumberVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseSearchResultsVariableValue.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseSearchResultsVariableValue.js +35 -0
- package/dist/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseStringVariableValue.d.ts +13 -0
- package/dist/serialization/types/NamedTestCaseStringVariableValue.js +34 -0
- package/dist/serialization/types/NamedTestCaseStringVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseStringVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseVariableValue.d.ts +34 -0
- package/dist/serialization/types/NamedTestCaseVariableValue.js +49 -0
- package/dist/serialization/types/PromptTemplateBlock.d.ts +2 -0
- package/dist/serialization/types/PromptTemplateBlock.js +2 -0
- package/dist/serialization/types/PromptTemplateBlockRequest.d.ts +2 -0
- package/dist/serialization/types/PromptTemplateBlockRequest.js +2 -0
- package/dist/serialization/types/PromptTemplateBlockState.d.ts +10 -0
- package/dist/serialization/types/PromptTemplateBlockState.js +31 -0
- package/dist/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -0
- package/dist/serialization/types/TestCaseChatHistoryVariableValue.js +1 -0
- package/dist/serialization/types/TestCaseErrorVariableValue.d.ts +1 -0
- package/dist/serialization/types/TestCaseErrorVariableValue.js +1 -0
- package/dist/serialization/types/TestCaseJsonVariableValue.d.ts +1 -0
- package/dist/serialization/types/TestCaseJsonVariableValue.js +1 -0
- package/dist/serialization/types/TestCaseNumberVariableValue.d.ts +1 -0
- package/dist/serialization/types/TestCaseNumberVariableValue.js +1 -0
- package/dist/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -0
- package/dist/serialization/types/TestCaseSearchResultsVariableValue.js +1 -0
- package/dist/serialization/types/TestCaseStringVariableValue.d.ts +1 -0
- package/dist/serialization/types/TestCaseStringVariableValue.js +1 -0
- package/dist/serialization/types/TestSuiteRunExecConfig.d.ts +5 -1
- package/dist/serialization/types/TestSuiteRunExecConfig.js +2 -0
- package/dist/serialization/types/TestSuiteRunExecConfigRequest.d.ts +5 -1
- package/dist/serialization/types/TestSuiteRunExecConfigRequest.js +2 -0
- package/dist/serialization/types/TestSuiteRunExecutionChatHistoryOutput.d.ts +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionChatHistoryOutput.js +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionErrorOutput.d.ts +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionErrorOutput.js +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionJsonOutput.d.ts +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionJsonOutput.js +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionMetricDefinition.d.ts +14 -0
- package/dist/serialization/types/TestSuiteRunExecutionMetricDefinition.js +35 -0
- package/dist/serialization/types/TestSuiteRunExecutionMetricResult.d.ts +3 -0
- package/dist/serialization/types/TestSuiteRunExecutionMetricResult.js +3 -0
- package/dist/serialization/types/TestSuiteRunExecutionNumberOutput.d.ts +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionNumberOutput.js +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionSearchResultsOutput.d.ts +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionSearchResultsOutput.js +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionStringOutput.d.ts +2 -1
- package/dist/serialization/types/TestSuiteRunExecutionStringOutput.js +2 -1
- package/dist/serialization/types/TestSuiteRunExternalExecConfig.d.ts +14 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfig.js +35 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfigData.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfigData.js +34 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfigDataRequest.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfigDataRequest.js +34 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfigRequest.d.ts +14 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfigRequest.js +35 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfigTypeEnum.d.ts +10 -0
- package/dist/serialization/types/TestSuiteRunExternalExecConfigTypeEnum.js +31 -0
- package/dist/serialization/types/index.d.ts +16 -0
- package/dist/serialization/types/index.js +16 -0
- package/package.json +1 -1
- package/serialization/types/ExternalTestCaseExecution.d.ts +14 -0
- package/serialization/types/ExternalTestCaseExecution.js +35 -0
- package/serialization/types/ExternalTestCaseExecutionRequest.d.ts +14 -0
- package/serialization/types/ExternalTestCaseExecutionRequest.js +35 -0
- package/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +1 -1
- package/serialization/types/FulfilledWorkflowNodeResultEvent.js +1 -1
- package/serialization/types/NamedTestCaseChatHistoryVariableValue.d.ts +14 -0
- package/serialization/types/NamedTestCaseChatHistoryVariableValue.js +35 -0
- package/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseErrorVariableValue.d.ts +14 -0
- package/serialization/types/NamedTestCaseErrorVariableValue.js +35 -0
- package/serialization/types/NamedTestCaseErrorVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseErrorVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseJsonVariableValue.d.ts +13 -0
- package/serialization/types/NamedTestCaseJsonVariableValue.js +34 -0
- package/serialization/types/NamedTestCaseJsonVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseJsonVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseNumberVariableValue.d.ts +13 -0
- package/serialization/types/NamedTestCaseNumberVariableValue.js +34 -0
- package/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseNumberVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseSearchResultsVariableValue.d.ts +14 -0
- package/serialization/types/NamedTestCaseSearchResultsVariableValue.js +35 -0
- package/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseStringVariableValue.d.ts +13 -0
- package/serialization/types/NamedTestCaseStringVariableValue.js +34 -0
- package/serialization/types/NamedTestCaseStringVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseStringVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseVariableValue.d.ts +34 -0
- package/serialization/types/NamedTestCaseVariableValue.js +49 -0
- package/serialization/types/PromptTemplateBlock.d.ts +2 -0
- package/serialization/types/PromptTemplateBlock.js +2 -0
- package/serialization/types/PromptTemplateBlockRequest.d.ts +2 -0
- package/serialization/types/PromptTemplateBlockRequest.js +2 -0
- package/serialization/types/PromptTemplateBlockState.d.ts +10 -0
- package/serialization/types/PromptTemplateBlockState.js +31 -0
- package/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -0
- package/serialization/types/TestCaseChatHistoryVariableValue.js +1 -0
- package/serialization/types/TestCaseErrorVariableValue.d.ts +1 -0
- package/serialization/types/TestCaseErrorVariableValue.js +1 -0
- package/serialization/types/TestCaseJsonVariableValue.d.ts +1 -0
- package/serialization/types/TestCaseJsonVariableValue.js +1 -0
- package/serialization/types/TestCaseNumberVariableValue.d.ts +1 -0
- package/serialization/types/TestCaseNumberVariableValue.js +1 -0
- package/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -0
- package/serialization/types/TestCaseSearchResultsVariableValue.js +1 -0
- package/serialization/types/TestCaseStringVariableValue.d.ts +1 -0
- package/serialization/types/TestCaseStringVariableValue.js +1 -0
- package/serialization/types/TestSuiteRunExecConfig.d.ts +5 -1
- package/serialization/types/TestSuiteRunExecConfig.js +2 -0
- package/serialization/types/TestSuiteRunExecConfigRequest.d.ts +5 -1
- package/serialization/types/TestSuiteRunExecConfigRequest.js +2 -0
- package/serialization/types/TestSuiteRunExecutionChatHistoryOutput.d.ts +2 -1
- package/serialization/types/TestSuiteRunExecutionChatHistoryOutput.js +2 -1
- package/serialization/types/TestSuiteRunExecutionErrorOutput.d.ts +2 -1
- package/serialization/types/TestSuiteRunExecutionErrorOutput.js +2 -1
- package/serialization/types/TestSuiteRunExecutionJsonOutput.d.ts +2 -1
- package/serialization/types/TestSuiteRunExecutionJsonOutput.js +2 -1
- package/serialization/types/TestSuiteRunExecutionMetricDefinition.d.ts +14 -0
- package/serialization/types/TestSuiteRunExecutionMetricDefinition.js +35 -0
- package/serialization/types/TestSuiteRunExecutionMetricResult.d.ts +3 -0
- package/serialization/types/TestSuiteRunExecutionMetricResult.js +3 -0
- package/serialization/types/TestSuiteRunExecutionNumberOutput.d.ts +2 -1
- package/serialization/types/TestSuiteRunExecutionNumberOutput.js +2 -1
- package/serialization/types/TestSuiteRunExecutionSearchResultsOutput.d.ts +2 -1
- package/serialization/types/TestSuiteRunExecutionSearchResultsOutput.js +2 -1
- package/serialization/types/TestSuiteRunExecutionStringOutput.d.ts +2 -1
- package/serialization/types/TestSuiteRunExecutionStringOutput.js +2 -1
- package/serialization/types/TestSuiteRunExternalExecConfig.d.ts +14 -0
- package/serialization/types/TestSuiteRunExternalExecConfig.js +35 -0
- package/serialization/types/TestSuiteRunExternalExecConfigData.d.ts +13 -0
- package/serialization/types/TestSuiteRunExternalExecConfigData.js +34 -0
- package/serialization/types/TestSuiteRunExternalExecConfigDataRequest.d.ts +13 -0
- package/serialization/types/TestSuiteRunExternalExecConfigDataRequest.js +34 -0
- package/serialization/types/TestSuiteRunExternalExecConfigRequest.d.ts +14 -0
- package/serialization/types/TestSuiteRunExternalExecConfigRequest.js +35 -0
- package/serialization/types/TestSuiteRunExternalExecConfigTypeEnum.d.ts +10 -0
- package/serialization/types/TestSuiteRunExternalExecConfigTypeEnum.js +31 -0
- package/serialization/types/index.d.ts +16 -0
- package/serialization/types/index.js +16 -0
package/Client.js
CHANGED
|
@@ -73,7 +73,7 @@ class VellumClient {
|
|
|
73
73
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
74
74
|
.predict, "v1/execute-prompt"),
|
|
75
75
|
method: "POST",
|
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -129,7 +129,7 @@ class VellumClient {
|
|
|
129
129
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
130
130
|
.predict, "v1/execute-prompt-stream"),
|
|
131
131
|
method: "POST",
|
|
132
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
132
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
135
135
|
unrecognizedObjectKeys: "strip",
|
|
@@ -197,7 +197,7 @@ class VellumClient {
|
|
|
197
197
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
198
198
|
.predict, "v1/execute-workflow"),
|
|
199
199
|
method: "POST",
|
|
200
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
200
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
201
201
|
contentType: "application/json",
|
|
202
202
|
body: yield serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
203
203
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -251,7 +251,7 @@ class VellumClient {
|
|
|
251
251
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
252
252
|
.predict, "v1/execute-workflow-stream"),
|
|
253
253
|
method: "POST",
|
|
254
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
254
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
255
255
|
contentType: "application/json",
|
|
256
256
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
257
257
|
unrecognizedObjectKeys: "strip",
|
|
@@ -327,7 +327,7 @@ class VellumClient {
|
|
|
327
327
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
328
328
|
.predict, "v1/generate"),
|
|
329
329
|
method: "POST",
|
|
330
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
330
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
331
331
|
contentType: "application/json",
|
|
332
332
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
333
333
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -385,7 +385,7 @@ class VellumClient {
|
|
|
385
385
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
386
386
|
.predict, "v1/generate-stream"),
|
|
387
387
|
method: "POST",
|
|
388
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
388
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
389
389
|
contentType: "application/json",
|
|
390
390
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
391
391
|
responseType: "streaming",
|
|
@@ -458,7 +458,7 @@ class VellumClient {
|
|
|
458
458
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
459
459
|
.predict, "v1/search"),
|
|
460
460
|
method: "POST",
|
|
461
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
461
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
462
462
|
contentType: "application/json",
|
|
463
463
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
464
464
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -522,7 +522,7 @@ class VellumClient {
|
|
|
522
522
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
523
523
|
.predict, "v1/submit-completion-actuals"),
|
|
524
524
|
method: "POST",
|
|
525
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
525
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
526
526
|
contentType: "application/json",
|
|
527
527
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
528
528
|
unrecognizedObjectKeys: "strip",
|
|
@@ -580,7 +580,7 @@ class VellumClient {
|
|
|
580
580
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
581
581
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
582
582
|
method: "POST",
|
|
583
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
583
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
584
584
|
contentType: "application/json",
|
|
585
585
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
586
586
|
unrecognizedObjectKeys: "strip",
|
|
@@ -70,7 +70,7 @@ class Deployments {
|
|
|
70
70
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
71
71
|
.default, "v1/deployments"),
|
|
72
72
|
method: "GET",
|
|
73
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
73
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
queryParameters: _queryParams,
|
|
76
76
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -118,7 +118,7 @@ class Deployments {
|
|
|
118
118
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
119
119
|
.default, `v1/deployments/${id}`),
|
|
120
120
|
method: "GET",
|
|
121
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
121
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
122
122
|
contentType: "application/json",
|
|
123
123
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
124
124
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -170,7 +170,7 @@ class Deployments {
|
|
|
170
170
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
171
171
|
.default, "v1/deployments/provider-payload"),
|
|
172
172
|
method: "POST",
|
|
173
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
173
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
174
174
|
contentType: "application/json",
|
|
175
175
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
176
176
|
unrecognizedObjectKeys: "strip",
|
|
@@ -75,7 +75,7 @@ class DocumentIndexes {
|
|
|
75
75
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
76
76
|
.default, "v1/document-indexes"),
|
|
77
77
|
method: "GET",
|
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
queryParameters: _queryParams,
|
|
81
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -143,7 +143,7 @@ class DocumentIndexes {
|
|
|
143
143
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
144
144
|
.default, "v1/document-indexes"),
|
|
145
145
|
method: "POST",
|
|
146
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
146
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
149
149
|
unrecognizedObjectKeys: "strip",
|
|
@@ -193,7 +193,7 @@ class DocumentIndexes {
|
|
|
193
193
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
194
194
|
.default, `v1/document-indexes/${id}`),
|
|
195
195
|
method: "GET",
|
|
196
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
196
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
199
199
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -242,7 +242,7 @@ class DocumentIndexes {
|
|
|
242
242
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
243
243
|
.default, `v1/document-indexes/${id}`),
|
|
244
244
|
method: "PUT",
|
|
245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
245
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
246
246
|
contentType: "application/json",
|
|
247
247
|
body: yield serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
248
248
|
unrecognizedObjectKeys: "strip",
|
|
@@ -292,7 +292,7 @@ class DocumentIndexes {
|
|
|
292
292
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
293
293
|
.default, `v1/document-indexes/${id}`),
|
|
294
294
|
method: "DELETE",
|
|
295
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
295
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
296
296
|
contentType: "application/json",
|
|
297
297
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
298
298
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -334,7 +334,7 @@ class DocumentIndexes {
|
|
|
334
334
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
335
335
|
.default, `v1/document-indexes/${id}`),
|
|
336
336
|
method: "PATCH",
|
|
337
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
337
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
338
338
|
contentType: "application/json",
|
|
339
339
|
body: yield serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
340
340
|
unrecognizedObjectKeys: "strip",
|
|
@@ -77,7 +77,7 @@ class Documents {
|
|
|
77
77
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
78
78
|
.default, "v1/documents"),
|
|
79
79
|
method: "GET",
|
|
80
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
80
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
queryParameters: _queryParams,
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -119,7 +119,7 @@ class Documents {
|
|
|
119
119
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
120
120
|
.default, `v1/documents/${id}`),
|
|
121
121
|
method: "DELETE",
|
|
122
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
122
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
123
123
|
contentType: "application/json",
|
|
124
124
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
125
125
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -161,7 +161,7 @@ class Documents {
|
|
|
161
161
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
162
162
|
.default, `v1/documents/${id}`),
|
|
163
163
|
method: "PATCH",
|
|
164
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
164
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
165
165
|
contentType: "application/json",
|
|
166
166
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
167
167
|
unrecognizedObjectKeys: "strip",
|
|
@@ -240,7 +240,7 @@ class Documents {
|
|
|
240
240
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
241
241
|
.documents, "v1/upload-document"),
|
|
242
242
|
method: "POST",
|
|
243
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
243
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
244
244
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
245
245
|
body: _request,
|
|
246
246
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -65,7 +65,7 @@ class FolderEntities {
|
|
|
65
65
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
66
66
|
.default, `v1/folders/${folderId}/add-entity`),
|
|
67
67
|
method: "POST",
|
|
68
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
68
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
69
69
|
contentType: "application/json",
|
|
70
70
|
body: yield serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
71
71
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -61,7 +61,7 @@ class ModelVersions {
|
|
|
61
61
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
62
62
|
.default, `v1/model-versions/${id}`),
|
|
63
63
|
method: "GET",
|
|
64
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
64
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
65
65
|
contentType: "application/json",
|
|
66
66
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
67
67
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -92,7 +92,7 @@ class RegisteredPrompts {
|
|
|
92
92
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
93
93
|
.default, "v1/registered-prompts/register"),
|
|
94
94
|
method: "POST",
|
|
95
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
95
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
|
|
98
98
|
unrecognizedObjectKeys: "strip",
|
|
@@ -78,7 +78,7 @@ class Sandboxes {
|
|
|
78
78
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
79
79
|
.default, `v1/sandboxes/${id}/scenarios`),
|
|
80
80
|
method: "POST",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
84
84
|
unrecognizedObjectKeys: "strip",
|
|
@@ -128,7 +128,7 @@ class Sandboxes {
|
|
|
128
128
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
129
129
|
.default, `v1/sandboxes/${id}/scenarios/${scenarioId}`),
|
|
130
130
|
method: "DELETE",
|
|
131
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
131
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
134
134
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -58,7 +58,7 @@ class TestSuiteRuns {
|
|
|
58
58
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
59
59
|
.default, "v1/test-suite-runs"),
|
|
60
60
|
method: "POST",
|
|
61
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
61
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
62
62
|
contentType: "application/json",
|
|
63
63
|
body: yield serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
64
64
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -106,7 +106,7 @@ class TestSuiteRuns {
|
|
|
106
106
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
107
107
|
.default, `v1/test-suite-runs/${id}`),
|
|
108
108
|
method: "GET",
|
|
109
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
109
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
112
112
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -143,8 +143,16 @@ class TestSuiteRuns {
|
|
|
143
143
|
listExecutions(id, request = {}, requestOptions) {
|
|
144
144
|
var _a;
|
|
145
145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
146
|
-
const { limit, offset } = request;
|
|
146
|
+
const { expand, limit, offset } = request;
|
|
147
147
|
const _queryParams = {};
|
|
148
|
+
if (expand != null) {
|
|
149
|
+
if (Array.isArray(expand)) {
|
|
150
|
+
_queryParams["expand"] = expand.map((item) => item);
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
_queryParams["expand"] = expand;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
148
156
|
if (limit != null) {
|
|
149
157
|
_queryParams["limit"] = limit.toString();
|
|
150
158
|
}
|
|
@@ -155,7 +163,7 @@ class TestSuiteRuns {
|
|
|
155
163
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
156
164
|
.default, `v1/test-suite-runs/${id}/executions`),
|
|
157
165
|
method: "GET",
|
|
158
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
166
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
159
167
|
contentType: "application/json",
|
|
160
168
|
queryParameters: _queryParams,
|
|
161
169
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -6,6 +6,14 @@
|
|
|
6
6
|
* {}
|
|
7
7
|
*/
|
|
8
8
|
export interface TestSuiteRunsListExecutionsRequest {
|
|
9
|
+
/**
|
|
10
|
+
* The response fields to expand for more information.
|
|
11
|
+
*
|
|
12
|
+
* - 'results.metric_results.metric_label' expands the metric label for each metric result.
|
|
13
|
+
* - 'results.metric_results.metric_definition' expands the metric definition for each metric result.
|
|
14
|
+
* - 'results.metric_results.metric_definition.name' expands the metric definition name for each metric result.
|
|
15
|
+
*/
|
|
16
|
+
expand?: string | string[];
|
|
9
17
|
/**
|
|
10
18
|
* Number of results to return per page.
|
|
11
19
|
*/
|
|
@@ -69,7 +69,7 @@ class TestSuites {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, `v1/test-suites/${id}/test-cases`),
|
|
71
71
|
method: "GET",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
75
75
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -126,7 +126,7 @@ class TestSuites {
|
|
|
126
126
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
127
127
|
.default, `v1/test-suites/${id}/test-cases`),
|
|
128
128
|
method: "POST",
|
|
129
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
129
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
130
130
|
contentType: "application/json",
|
|
131
131
|
body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
|
|
132
132
|
unrecognizedObjectKeys: "strip",
|
|
@@ -176,7 +176,7 @@ class TestSuites {
|
|
|
176
176
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
177
177
|
.default, `v1/test-suites/${id}/test-cases/${testCaseId}`),
|
|
178
178
|
method: "DELETE",
|
|
179
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
179
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
180
180
|
contentType: "application/json",
|
|
181
181
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
182
182
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -69,7 +69,7 @@ class WorkflowDeployments {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, "v1/workflow-deployments"),
|
|
71
71
|
method: "GET",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
75
75
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -117,7 +117,7 @@ class WorkflowDeployments {
|
|
|
117
117
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
118
|
.default, `v1/workflow-deployments/${id}`),
|
|
119
119
|
method: "GET",
|
|
120
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.3.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
121
|
contentType: "application/json",
|
|
122
122
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
123
123
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface ExternalTestCaseExecution {
|
|
6
|
+
/** The output values of a callable that was executed against a Test Case outside of Vellum */
|
|
7
|
+
outputs: Vellum.NamedTestCaseVariableValue[];
|
|
8
|
+
testCaseId: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface ExternalTestCaseExecutionRequest {
|
|
6
|
+
/** The output values of a callable that was executed against a Test Case outside of Vellum */
|
|
7
|
+
outputs: Vellum.NamedTestCaseVariableValueRequest[];
|
|
8
|
+
testCaseId: string;
|
|
9
|
+
}
|
|
@@ -12,6 +12,6 @@ export interface FulfilledWorkflowNodeResultEvent {
|
|
|
12
12
|
ts?: Date;
|
|
13
13
|
data?: Vellum.WorkflowNodeResultData;
|
|
14
14
|
sourceExecutionId?: string;
|
|
15
|
-
outputValues
|
|
15
|
+
outputValues: Vellum.NodeOutputCompiledValue[];
|
|
16
16
|
mocked?: boolean;
|
|
17
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Named Test Case value that is of type CHAT_HISTORY
|
|
7
|
+
*/
|
|
8
|
+
export interface NamedTestCaseChatHistoryVariableValue {
|
|
9
|
+
value?: Vellum.ChatMessage[];
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Named Test Case value that is of type CHAT_HISTORY
|
|
7
|
+
*/
|
|
5
8
|
export interface NamedTestCaseChatHistoryVariableValueRequest {
|
|
6
|
-
name: string;
|
|
7
9
|
value?: Vellum.ChatMessageRequest[];
|
|
10
|
+
name: string;
|
|
8
11
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Named Test Case value that is of type ERROR
|
|
7
|
+
*/
|
|
8
|
+
export interface NamedTestCaseErrorVariableValue {
|
|
9
|
+
value?: Vellum.VellumError;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Named Test Case value that is of type ERROR
|
|
7
|
+
*/
|
|
5
8
|
export interface NamedTestCaseErrorVariableValueRequest {
|
|
6
|
-
name: string;
|
|
7
9
|
value?: Vellum.VellumErrorRequest;
|
|
10
|
+
name: string;
|
|
8
11
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* Named Test Case value that is of type JSON
|
|
6
|
+
*/
|
|
4
7
|
export interface NamedTestCaseJsonVariableValueRequest {
|
|
5
|
-
name: string;
|
|
6
8
|
value?: Record<string, unknown>;
|
|
9
|
+
name: string;
|
|
7
10
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Named Test Case value that is of type SEARCH_RESULTS
|
|
7
|
+
*/
|
|
8
|
+
export interface NamedTestCaseSearchResultsVariableValue {
|
|
9
|
+
value?: Vellum.SearchResult[];
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Named Test Case value that is of type SEARCH_RESULTS
|
|
7
|
+
*/
|
|
5
8
|
export interface NamedTestCaseSearchResultsVariableValueRequest {
|
|
6
|
-
name: string;
|
|
7
9
|
value?: Vellum.SearchResultRequest[];
|
|
10
|
+
name: string;
|
|
8
11
|
}
|