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
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { NamedTestCaseStringVariableValue } from "./NamedTestCaseStringVariableValue";
|
|
8
|
+
import { NamedTestCaseNumberVariableValue } from "./NamedTestCaseNumberVariableValue";
|
|
9
|
+
import { NamedTestCaseJsonVariableValue } from "./NamedTestCaseJsonVariableValue";
|
|
10
|
+
import { NamedTestCaseChatHistoryVariableValue } from "./NamedTestCaseChatHistoryVariableValue";
|
|
11
|
+
import { NamedTestCaseSearchResultsVariableValue } from "./NamedTestCaseSearchResultsVariableValue";
|
|
12
|
+
import { NamedTestCaseErrorVariableValue } from "./NamedTestCaseErrorVariableValue";
|
|
13
|
+
export declare const NamedTestCaseVariableValue: core.serialization.Schema<serializers.NamedTestCaseVariableValue.Raw, Vellum.NamedTestCaseVariableValue>;
|
|
14
|
+
export declare namespace NamedTestCaseVariableValue {
|
|
15
|
+
type Raw = NamedTestCaseVariableValue.String | NamedTestCaseVariableValue.Number | NamedTestCaseVariableValue.Json | NamedTestCaseVariableValue.ChatHistory | NamedTestCaseVariableValue.SearchResults | NamedTestCaseVariableValue.Error;
|
|
16
|
+
interface String extends NamedTestCaseStringVariableValue.Raw {
|
|
17
|
+
type: "STRING";
|
|
18
|
+
}
|
|
19
|
+
interface Number extends NamedTestCaseNumberVariableValue.Raw {
|
|
20
|
+
type: "NUMBER";
|
|
21
|
+
}
|
|
22
|
+
interface Json extends NamedTestCaseJsonVariableValue.Raw {
|
|
23
|
+
type: "JSON";
|
|
24
|
+
}
|
|
25
|
+
interface ChatHistory extends NamedTestCaseChatHistoryVariableValue.Raw {
|
|
26
|
+
type: "CHAT_HISTORY";
|
|
27
|
+
}
|
|
28
|
+
interface SearchResults extends NamedTestCaseSearchResultsVariableValue.Raw {
|
|
29
|
+
type: "SEARCH_RESULTS";
|
|
30
|
+
}
|
|
31
|
+
interface Error extends NamedTestCaseErrorVariableValue.Raw {
|
|
32
|
+
type: "ERROR";
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NamedTestCaseVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const NamedTestCaseStringVariableValue_1 = require("./NamedTestCaseStringVariableValue");
|
|
32
|
+
const NamedTestCaseNumberVariableValue_1 = require("./NamedTestCaseNumberVariableValue");
|
|
33
|
+
const NamedTestCaseJsonVariableValue_1 = require("./NamedTestCaseJsonVariableValue");
|
|
34
|
+
const NamedTestCaseChatHistoryVariableValue_1 = require("./NamedTestCaseChatHistoryVariableValue");
|
|
35
|
+
const NamedTestCaseSearchResultsVariableValue_1 = require("./NamedTestCaseSearchResultsVariableValue");
|
|
36
|
+
const NamedTestCaseErrorVariableValue_1 = require("./NamedTestCaseErrorVariableValue");
|
|
37
|
+
exports.NamedTestCaseVariableValue = core.serialization
|
|
38
|
+
.union("type", {
|
|
39
|
+
STRING: NamedTestCaseStringVariableValue_1.NamedTestCaseStringVariableValue,
|
|
40
|
+
NUMBER: NamedTestCaseNumberVariableValue_1.NamedTestCaseNumberVariableValue,
|
|
41
|
+
JSON: NamedTestCaseJsonVariableValue_1.NamedTestCaseJsonVariableValue,
|
|
42
|
+
CHAT_HISTORY: NamedTestCaseChatHistoryVariableValue_1.NamedTestCaseChatHistoryVariableValue,
|
|
43
|
+
SEARCH_RESULTS: NamedTestCaseSearchResultsVariableValue_1.NamedTestCaseSearchResultsVariableValue,
|
|
44
|
+
ERROR: NamedTestCaseErrorVariableValue_1.NamedTestCaseErrorVariableValue,
|
|
45
|
+
})
|
|
46
|
+
.transform({
|
|
47
|
+
transform: (value) => value,
|
|
48
|
+
untransform: (value) => value,
|
|
49
|
+
});
|
|
@@ -5,11 +5,13 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { BlockTypeEnum } from "./BlockTypeEnum";
|
|
8
|
+
import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
|
|
8
9
|
export declare const PromptTemplateBlock: core.serialization.ObjectSchema<serializers.PromptTemplateBlock.Raw, Vellum.PromptTemplateBlock>;
|
|
9
10
|
export declare namespace PromptTemplateBlock {
|
|
10
11
|
interface Raw {
|
|
11
12
|
id: string;
|
|
12
13
|
block_type: BlockTypeEnum.Raw;
|
|
13
14
|
properties: serializers.PromptTemplateBlockProperties.Raw;
|
|
15
|
+
state?: PromptTemplateBlockState.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -38,8 +38,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.PromptTemplateBlock = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
const BlockTypeEnum_1 = require("./BlockTypeEnum");
|
|
41
|
+
const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
|
|
41
42
|
exports.PromptTemplateBlock = core.serialization.object({
|
|
42
43
|
id: core.serialization.string(),
|
|
43
44
|
blockType: core.serialization.property("block_type", BlockTypeEnum_1.BlockTypeEnum),
|
|
44
45
|
properties: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockProperties; })),
|
|
46
|
+
state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
|
|
45
47
|
});
|
|
@@ -5,11 +5,13 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { BlockTypeEnum } from "./BlockTypeEnum";
|
|
8
|
+
import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
|
|
8
9
|
export declare const PromptTemplateBlockRequest: core.serialization.ObjectSchema<serializers.PromptTemplateBlockRequest.Raw, Vellum.PromptTemplateBlockRequest>;
|
|
9
10
|
export declare namespace PromptTemplateBlockRequest {
|
|
10
11
|
interface Raw {
|
|
11
12
|
id: string;
|
|
12
13
|
block_type: BlockTypeEnum.Raw;
|
|
13
14
|
properties: serializers.PromptTemplateBlockPropertiesRequest.Raw;
|
|
15
|
+
state?: PromptTemplateBlockState.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -38,8 +38,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.PromptTemplateBlockRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
const BlockTypeEnum_1 = require("./BlockTypeEnum");
|
|
41
|
+
const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
|
|
41
42
|
exports.PromptTemplateBlockRequest = core.serialization.object({
|
|
42
43
|
id: core.serialization.string(),
|
|
43
44
|
blockType: core.serialization.property("block_type", BlockTypeEnum_1.BlockTypeEnum),
|
|
44
45
|
properties: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockPropertiesRequest; })),
|
|
46
|
+
state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
|
|
45
47
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const PromptTemplateBlockState: core.serialization.Schema<serializers.PromptTemplateBlockState.Raw, Vellum.PromptTemplateBlockState>;
|
|
8
|
+
export declare namespace PromptTemplateBlockState {
|
|
9
|
+
type Raw = "ENABLED" | "DISABLED";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PromptTemplateBlockState = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PromptTemplateBlockState = core.serialization.enum_(["ENABLED", "DISABLED"]);
|
|
@@ -31,5 +31,6 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
const ChatMessage_1 = require("./ChatMessage");
|
|
32
32
|
exports.TestCaseChatHistoryVariableValue = core.serialization.object({
|
|
33
33
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
34
|
+
name: core.serialization.string(),
|
|
34
35
|
value: core.serialization.list(ChatMessage_1.ChatMessage).optional(),
|
|
35
36
|
});
|
|
@@ -31,5 +31,6 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
const VellumError_1 = require("./VellumError");
|
|
32
32
|
exports.TestCaseErrorVariableValue = core.serialization.object({
|
|
33
33
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
34
|
+
name: core.serialization.string(),
|
|
34
35
|
value: VellumError_1.VellumError.optional(),
|
|
35
36
|
});
|
|
@@ -30,5 +30,6 @@ exports.TestCaseJsonVariableValue = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.TestCaseJsonVariableValue = core.serialization.object({
|
|
32
32
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
33
|
+
name: core.serialization.string(),
|
|
33
34
|
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
34
35
|
});
|
|
@@ -30,5 +30,6 @@ exports.TestCaseNumberVariableValue = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.TestCaseNumberVariableValue = core.serialization.object({
|
|
32
32
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
33
|
+
name: core.serialization.string(),
|
|
33
34
|
value: core.serialization.number().optional(),
|
|
34
35
|
});
|
|
@@ -31,5 +31,6 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
const SearchResult_1 = require("./SearchResult");
|
|
32
32
|
exports.TestCaseSearchResultsVariableValue = core.serialization.object({
|
|
33
33
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
34
|
+
name: core.serialization.string(),
|
|
34
35
|
value: core.serialization.list(SearchResult_1.SearchResult).optional(),
|
|
35
36
|
});
|
|
@@ -30,5 +30,6 @@ exports.TestCaseStringVariableValue = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.TestCaseStringVariableValue = core.serialization.object({
|
|
32
32
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
33
|
+
name: core.serialization.string(),
|
|
33
34
|
value: core.serialization.string().optional(),
|
|
34
35
|
});
|
|
@@ -6,13 +6,17 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { TestSuiteRunDeploymentReleaseTagExecConfig } from "./TestSuiteRunDeploymentReleaseTagExecConfig";
|
|
8
8
|
import { TestSuiteRunWorkflowReleaseTagExecConfig } from "./TestSuiteRunWorkflowReleaseTagExecConfig";
|
|
9
|
+
import { TestSuiteRunExternalExecConfig } from "./TestSuiteRunExternalExecConfig";
|
|
9
10
|
export declare const TestSuiteRunExecConfig: core.serialization.Schema<serializers.TestSuiteRunExecConfig.Raw, Vellum.TestSuiteRunExecConfig>;
|
|
10
11
|
export declare namespace TestSuiteRunExecConfig {
|
|
11
|
-
type Raw = TestSuiteRunExecConfig.DeploymentReleaseTag | TestSuiteRunExecConfig.WorkflowReleaseTag;
|
|
12
|
+
type Raw = TestSuiteRunExecConfig.DeploymentReleaseTag | TestSuiteRunExecConfig.WorkflowReleaseTag | TestSuiteRunExecConfig.External;
|
|
12
13
|
interface DeploymentReleaseTag extends TestSuiteRunDeploymentReleaseTagExecConfig.Raw {
|
|
13
14
|
type: "DEPLOYMENT_RELEASE_TAG";
|
|
14
15
|
}
|
|
15
16
|
interface WorkflowReleaseTag extends TestSuiteRunWorkflowReleaseTagExecConfig.Raw {
|
|
16
17
|
type: "WORKFLOW_RELEASE_TAG";
|
|
17
18
|
}
|
|
19
|
+
interface External extends TestSuiteRunExternalExecConfig.Raw {
|
|
20
|
+
type: "EXTERNAL";
|
|
21
|
+
}
|
|
18
22
|
}
|
|
@@ -30,10 +30,12 @@ exports.TestSuiteRunExecConfig = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const TestSuiteRunDeploymentReleaseTagExecConfig_1 = require("./TestSuiteRunDeploymentReleaseTagExecConfig");
|
|
32
32
|
const TestSuiteRunWorkflowReleaseTagExecConfig_1 = require("./TestSuiteRunWorkflowReleaseTagExecConfig");
|
|
33
|
+
const TestSuiteRunExternalExecConfig_1 = require("./TestSuiteRunExternalExecConfig");
|
|
33
34
|
exports.TestSuiteRunExecConfig = core.serialization
|
|
34
35
|
.union("type", {
|
|
35
36
|
DEPLOYMENT_RELEASE_TAG: TestSuiteRunDeploymentReleaseTagExecConfig_1.TestSuiteRunDeploymentReleaseTagExecConfig,
|
|
36
37
|
WORKFLOW_RELEASE_TAG: TestSuiteRunWorkflowReleaseTagExecConfig_1.TestSuiteRunWorkflowReleaseTagExecConfig,
|
|
38
|
+
EXTERNAL: TestSuiteRunExternalExecConfig_1.TestSuiteRunExternalExecConfig,
|
|
37
39
|
})
|
|
38
40
|
.transform({
|
|
39
41
|
transform: (value) => value,
|
|
@@ -6,13 +6,17 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { TestSuiteRunDeploymentReleaseTagExecConfigRequest } from "./TestSuiteRunDeploymentReleaseTagExecConfigRequest";
|
|
8
8
|
import { TestSuiteRunWorkflowReleaseTagExecConfigRequest } from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
|
|
9
|
+
import { TestSuiteRunExternalExecConfigRequest } from "./TestSuiteRunExternalExecConfigRequest";
|
|
9
10
|
export declare const TestSuiteRunExecConfigRequest: core.serialization.Schema<serializers.TestSuiteRunExecConfigRequest.Raw, Vellum.TestSuiteRunExecConfigRequest>;
|
|
10
11
|
export declare namespace TestSuiteRunExecConfigRequest {
|
|
11
|
-
type Raw = TestSuiteRunExecConfigRequest.DeploymentReleaseTag | TestSuiteRunExecConfigRequest.WorkflowReleaseTag;
|
|
12
|
+
type Raw = TestSuiteRunExecConfigRequest.DeploymentReleaseTag | TestSuiteRunExecConfigRequest.WorkflowReleaseTag | TestSuiteRunExecConfigRequest.External;
|
|
12
13
|
interface DeploymentReleaseTag extends TestSuiteRunDeploymentReleaseTagExecConfigRequest.Raw {
|
|
13
14
|
type: "DEPLOYMENT_RELEASE_TAG";
|
|
14
15
|
}
|
|
15
16
|
interface WorkflowReleaseTag extends TestSuiteRunWorkflowReleaseTagExecConfigRequest.Raw {
|
|
16
17
|
type: "WORKFLOW_RELEASE_TAG";
|
|
17
18
|
}
|
|
19
|
+
interface External extends TestSuiteRunExternalExecConfigRequest.Raw {
|
|
20
|
+
type: "EXTERNAL";
|
|
21
|
+
}
|
|
18
22
|
}
|
|
@@ -30,10 +30,12 @@ exports.TestSuiteRunExecConfigRequest = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const TestSuiteRunDeploymentReleaseTagExecConfigRequest_1 = require("./TestSuiteRunDeploymentReleaseTagExecConfigRequest");
|
|
32
32
|
const TestSuiteRunWorkflowReleaseTagExecConfigRequest_1 = require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest");
|
|
33
|
+
const TestSuiteRunExternalExecConfigRequest_1 = require("./TestSuiteRunExternalExecConfigRequest");
|
|
33
34
|
exports.TestSuiteRunExecConfigRequest = core.serialization
|
|
34
35
|
.union("type", {
|
|
35
36
|
DEPLOYMENT_RELEASE_TAG: TestSuiteRunDeploymentReleaseTagExecConfigRequest_1.TestSuiteRunDeploymentReleaseTagExecConfigRequest,
|
|
36
37
|
WORKFLOW_RELEASE_TAG: TestSuiteRunWorkflowReleaseTagExecConfigRequest_1.TestSuiteRunWorkflowReleaseTagExecConfigRequest,
|
|
38
|
+
EXTERNAL: TestSuiteRunExternalExecConfigRequest_1.TestSuiteRunExternalExecConfigRequest,
|
|
37
39
|
})
|
|
38
40
|
.transform({
|
|
39
41
|
transform: (value) => value,
|
|
@@ -8,7 +8,8 @@ import { ChatMessage } from "./ChatMessage";
|
|
|
8
8
|
export declare const TestSuiteRunExecutionChatHistoryOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionChatHistoryOutput.Raw, Vellum.TestSuiteRunExecutionChatHistoryOutput>;
|
|
9
9
|
export declare namespace TestSuiteRunExecutionChatHistoryOutput {
|
|
10
10
|
interface Raw {
|
|
11
|
-
|
|
11
|
+
name: string;
|
|
12
12
|
value?: ChatMessage.Raw[] | null;
|
|
13
|
+
output_variable_id: string;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -30,6 +30,7 @@ exports.TestSuiteRunExecutionChatHistoryOutput = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const ChatMessage_1 = require("./ChatMessage");
|
|
32
32
|
exports.TestSuiteRunExecutionChatHistoryOutput = core.serialization.object({
|
|
33
|
-
|
|
33
|
+
name: core.serialization.string(),
|
|
34
34
|
value: core.serialization.list(ChatMessage_1.ChatMessage).optional(),
|
|
35
|
+
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
35
36
|
});
|
|
@@ -8,7 +8,8 @@ import { VellumError } from "./VellumError";
|
|
|
8
8
|
export declare const TestSuiteRunExecutionErrorOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionErrorOutput.Raw, Vellum.TestSuiteRunExecutionErrorOutput>;
|
|
9
9
|
export declare namespace TestSuiteRunExecutionErrorOutput {
|
|
10
10
|
interface Raw {
|
|
11
|
-
|
|
11
|
+
name: string;
|
|
12
12
|
value?: VellumError.Raw | null;
|
|
13
|
+
output_variable_id: string;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -30,6 +30,7 @@ exports.TestSuiteRunExecutionErrorOutput = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const VellumError_1 = require("./VellumError");
|
|
32
32
|
exports.TestSuiteRunExecutionErrorOutput = core.serialization.object({
|
|
33
|
-
|
|
33
|
+
name: core.serialization.string(),
|
|
34
34
|
value: VellumError_1.VellumError.optional(),
|
|
35
|
+
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
35
36
|
});
|
|
@@ -7,7 +7,8 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const TestSuiteRunExecutionJsonOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionJsonOutput.Raw, Vellum.TestSuiteRunExecutionJsonOutput>;
|
|
8
8
|
export declare namespace TestSuiteRunExecutionJsonOutput {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
name: string;
|
|
11
11
|
value?: Record<string, unknown> | null;
|
|
12
|
+
output_variable_id: string;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.TestSuiteRunExecutionJsonOutput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.TestSuiteRunExecutionJsonOutput = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
name: core.serialization.string(),
|
|
33
33
|
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
34
|
+
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
34
35
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TestSuiteRunExecutionMetricDefinition: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionMetricDefinition.Raw, Vellum.TestSuiteRunExecutionMetricDefinition>;
|
|
8
|
+
export declare namespace TestSuiteRunExecutionMetricDefinition {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id?: string | null;
|
|
11
|
+
label?: string | null;
|
|
12
|
+
name?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TestSuiteRunExecutionMetricDefinition = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TestSuiteRunExecutionMetricDefinition = core.serialization.object({
|
|
32
|
+
id: core.serialization.string().optional(),
|
|
33
|
+
label: core.serialization.string().optional(),
|
|
34
|
+
name: core.serialization.string().optional(),
|
|
35
|
+
});
|
|
@@ -5,10 +5,13 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { TestSuiteRunMetricOutput } from "./TestSuiteRunMetricOutput";
|
|
8
|
+
import { TestSuiteRunExecutionMetricDefinition } from "./TestSuiteRunExecutionMetricDefinition";
|
|
8
9
|
export declare const TestSuiteRunExecutionMetricResult: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionMetricResult.Raw, Vellum.TestSuiteRunExecutionMetricResult>;
|
|
9
10
|
export declare namespace TestSuiteRunExecutionMetricResult {
|
|
10
11
|
interface Raw {
|
|
11
12
|
metric_id: string;
|
|
12
13
|
outputs: TestSuiteRunMetricOutput.Raw[];
|
|
14
|
+
metric_label?: string | null;
|
|
15
|
+
metric_definition?: TestSuiteRunExecutionMetricDefinition.Raw | null;
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -29,7 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.TestSuiteRunExecutionMetricResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const TestSuiteRunMetricOutput_1 = require("./TestSuiteRunMetricOutput");
|
|
32
|
+
const TestSuiteRunExecutionMetricDefinition_1 = require("./TestSuiteRunExecutionMetricDefinition");
|
|
32
33
|
exports.TestSuiteRunExecutionMetricResult = core.serialization.object({
|
|
33
34
|
metricId: core.serialization.property("metric_id", core.serialization.string()),
|
|
34
35
|
outputs: core.serialization.list(TestSuiteRunMetricOutput_1.TestSuiteRunMetricOutput),
|
|
36
|
+
metricLabel: core.serialization.property("metric_label", core.serialization.string().optional()),
|
|
37
|
+
metricDefinition: core.serialization.property("metric_definition", TestSuiteRunExecutionMetricDefinition_1.TestSuiteRunExecutionMetricDefinition.optional()),
|
|
35
38
|
});
|
|
@@ -7,7 +7,8 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const TestSuiteRunExecutionNumberOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionNumberOutput.Raw, Vellum.TestSuiteRunExecutionNumberOutput>;
|
|
8
8
|
export declare namespace TestSuiteRunExecutionNumberOutput {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
name: string;
|
|
11
11
|
value?: number | null;
|
|
12
|
+
output_variable_id: string;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.TestSuiteRunExecutionNumberOutput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.TestSuiteRunExecutionNumberOutput = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
name: core.serialization.string(),
|
|
33
33
|
value: core.serialization.number().optional(),
|
|
34
|
+
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
34
35
|
});
|
|
@@ -8,7 +8,8 @@ import { SearchResult } from "./SearchResult";
|
|
|
8
8
|
export declare const TestSuiteRunExecutionSearchResultsOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionSearchResultsOutput.Raw, Vellum.TestSuiteRunExecutionSearchResultsOutput>;
|
|
9
9
|
export declare namespace TestSuiteRunExecutionSearchResultsOutput {
|
|
10
10
|
interface Raw {
|
|
11
|
-
|
|
11
|
+
name: string;
|
|
12
12
|
value?: SearchResult.Raw[] | null;
|
|
13
|
+
output_variable_id: string;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -30,6 +30,7 @@ exports.TestSuiteRunExecutionSearchResultsOutput = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const SearchResult_1 = require("./SearchResult");
|
|
32
32
|
exports.TestSuiteRunExecutionSearchResultsOutput = core.serialization.object({
|
|
33
|
-
|
|
33
|
+
name: core.serialization.string(),
|
|
34
34
|
value: core.serialization.list(SearchResult_1.SearchResult).optional(),
|
|
35
|
+
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
35
36
|
});
|
|
@@ -7,7 +7,8 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const TestSuiteRunExecutionStringOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionStringOutput.Raw, Vellum.TestSuiteRunExecutionStringOutput>;
|
|
8
8
|
export declare namespace TestSuiteRunExecutionStringOutput {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
name: string;
|
|
11
11
|
value?: string | null;
|
|
12
|
+
output_variable_id: string;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.TestSuiteRunExecutionStringOutput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.TestSuiteRunExecutionStringOutput = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
name: core.serialization.string(),
|
|
33
33
|
value: core.serialization.string().optional(),
|
|
34
|
+
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
34
35
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { TestSuiteRunExternalExecConfigData } from "./TestSuiteRunExternalExecConfigData";
|
|
8
|
+
export declare const TestSuiteRunExternalExecConfig: core.serialization.ObjectSchema<serializers.TestSuiteRunExternalExecConfig.Raw, Vellum.TestSuiteRunExternalExecConfig>;
|
|
9
|
+
export declare namespace TestSuiteRunExternalExecConfig {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: TestSuiteRunExternalExecConfigData.Raw;
|
|
12
|
+
test_case_ids?: string[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TestSuiteRunExternalExecConfig = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const TestSuiteRunExternalExecConfigData_1 = require("./TestSuiteRunExternalExecConfigData");
|
|
32
|
+
exports.TestSuiteRunExternalExecConfig = core.serialization.object({
|
|
33
|
+
data: TestSuiteRunExternalExecConfigData_1.TestSuiteRunExternalExecConfigData,
|
|
34
|
+
testCaseIds: core.serialization.property("test_case_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
35
|
+
});
|