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,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.NamedTestCaseErrorVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumError_1 = require("./VellumError");
|
|
32
|
+
exports.NamedTestCaseErrorVariableValue = core.serialization.object({
|
|
33
|
+
value: VellumError_1.VellumError.optional(),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -8,7 +8,7 @@ import { VellumErrorRequest } from "./VellumErrorRequest";
|
|
|
8
8
|
export declare const NamedTestCaseErrorVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseErrorVariableValueRequest.Raw, Vellum.NamedTestCaseErrorVariableValueRequest>;
|
|
9
9
|
export declare namespace NamedTestCaseErrorVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
-
name: string;
|
|
12
11
|
value?: VellumErrorRequest.Raw | null;
|
|
12
|
+
name: string;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -30,6 +30,6 @@ exports.NamedTestCaseErrorVariableValueRequest = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const VellumErrorRequest_1 = require("./VellumErrorRequest");
|
|
32
32
|
exports.NamedTestCaseErrorVariableValueRequest = core.serialization.object({
|
|
33
|
-
name: core.serialization.string(),
|
|
34
33
|
value: VellumErrorRequest_1.VellumErrorRequest.optional(),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
35
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 NamedTestCaseJsonVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseJsonVariableValue.Raw, Vellum.NamedTestCaseJsonVariableValue>;
|
|
8
|
+
export declare namespace NamedTestCaseJsonVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: Record<string, unknown> | null;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.NamedTestCaseJsonVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NamedTestCaseJsonVariableValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const NamedTestCaseJsonVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseJsonVariableValueRequest.Raw, Vellum.NamedTestCaseJsonVariableValueRequest>;
|
|
8
8
|
export declare namespace NamedTestCaseJsonVariableValueRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
name: string;
|
|
11
10
|
value?: Record<string, unknown> | null;
|
|
11
|
+
name: string;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NamedTestCaseJsonVariableValueRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.NamedTestCaseJsonVariableValueRequest = core.serialization.object({
|
|
32
|
-
name: core.serialization.string(),
|
|
33
32
|
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
34
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 NamedTestCaseNumberVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseNumberVariableValue.Raw, Vellum.NamedTestCaseNumberVariableValue>;
|
|
8
|
+
export declare namespace NamedTestCaseNumberVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: number | null;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.NamedTestCaseNumberVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NamedTestCaseNumberVariableValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.number().optional(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const NamedTestCaseNumberVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseNumberVariableValueRequest.Raw, Vellum.NamedTestCaseNumberVariableValueRequest>;
|
|
8
8
|
export declare namespace NamedTestCaseNumberVariableValueRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
name: string;
|
|
11
10
|
value?: number | null;
|
|
11
|
+
name: string;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NamedTestCaseNumberVariableValueRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.NamedTestCaseNumberVariableValueRequest = core.serialization.object({
|
|
32
|
-
name: core.serialization.string(),
|
|
33
32
|
value: core.serialization.number().optional(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
34
|
});
|
|
@@ -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 { SearchResult } from "./SearchResult";
|
|
8
|
+
export declare const NamedTestCaseSearchResultsVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseSearchResultsVariableValue.Raw, Vellum.NamedTestCaseSearchResultsVariableValue>;
|
|
9
|
+
export declare namespace NamedTestCaseSearchResultsVariableValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value?: SearchResult.Raw[] | null;
|
|
12
|
+
name: string;
|
|
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.NamedTestCaseSearchResultsVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const SearchResult_1 = require("./SearchResult");
|
|
32
|
+
exports.NamedTestCaseSearchResultsVariableValue = core.serialization.object({
|
|
33
|
+
value: core.serialization.list(SearchResult_1.SearchResult).optional(),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -8,7 +8,7 @@ import { SearchResultRequest } from "./SearchResultRequest";
|
|
|
8
8
|
export declare const NamedTestCaseSearchResultsVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseSearchResultsVariableValueRequest.Raw, Vellum.NamedTestCaseSearchResultsVariableValueRequest>;
|
|
9
9
|
export declare namespace NamedTestCaseSearchResultsVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
-
name: string;
|
|
12
11
|
value?: SearchResultRequest.Raw[] | null;
|
|
12
|
+
name: string;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -30,6 +30,6 @@ exports.NamedTestCaseSearchResultsVariableValueRequest = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const SearchResultRequest_1 = require("./SearchResultRequest");
|
|
32
32
|
exports.NamedTestCaseSearchResultsVariableValueRequest = core.serialization.object({
|
|
33
|
-
name: core.serialization.string(),
|
|
34
33
|
value: core.serialization.list(SearchResultRequest_1.SearchResultRequest).optional(),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
35
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 NamedTestCaseStringVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseStringVariableValue.Raw, Vellum.NamedTestCaseStringVariableValue>;
|
|
8
|
+
export declare namespace NamedTestCaseStringVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: string | null;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.NamedTestCaseStringVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NamedTestCaseStringVariableValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.string().optional(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const NamedTestCaseStringVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseStringVariableValueRequest.Raw, Vellum.NamedTestCaseStringVariableValueRequest>;
|
|
8
8
|
export declare namespace NamedTestCaseStringVariableValueRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
name: string;
|
|
11
10
|
value?: string | null;
|
|
11
|
+
name: string;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NamedTestCaseStringVariableValueRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.NamedTestCaseStringVariableValueRequest = core.serialization.object({
|
|
32
|
-
name: core.serialization.string(),
|
|
33
32
|
value: core.serialization.string().optional(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
34
|
});
|
|
@@ -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
|
});
|