vellum-ai 0.1.7 → 0.1.8
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.d.ts +0 -16
- package/Client.js +12 -137
- package/api/errors/ForbiddenError.d.ts +2 -1
- package/api/resources/deployments/client/Client.js +2 -2
- package/api/resources/documentIndexes/client/Client.js +2 -2
- package/api/resources/documents/client/Client.js +4 -4
- 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/testSuites/client/Client.d.ts +1 -1
- package/api/resources/testSuites/client/Client.js +5 -3
- package/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +10 -0
- package/api/resources/testSuites/client/requests/index.d.ts +1 -1
- package/api/types/{ErrorExecutePromptResponse.d.ts → CodeExecutionNodeChatHistoryResult.d.ts} +3 -3
- package/api/types/{StreamingExecutePromptStreamingResponse.d.ts → CodeExecutionNodeErrorResult.d.ts} +3 -2
- package/{dist/api/types/TestCaseJsonVariableValueRequest.d.ts → api/types/CodeExecutionNodeJsonResult.d.ts} +2 -2
- package/api/types/{TestCaseNumberVariableValueRequest.d.ts → CodeExecutionNodeNumberResult.d.ts} +2 -2
- package/api/types/{FulfilledExecutePromptStreamingResponse.d.ts → CodeExecutionNodeResult.d.ts} +2 -2
- package/{dist/api/types/FulfilledExecutePromptStreamingResponse.d.ts → api/types/CodeExecutionNodeResultData.d.ts} +2 -2
- package/api/types/CodeExecutionNodeResultOutput.d.ts +25 -0
- package/api/types/CodeExecutionNodeSearchResultsResult.d.ts +8 -0
- package/api/types/{TestCaseStringVariableValueRequest.d.ts → CodeExecutionNodeStringResult.d.ts} +2 -2
- package/api/types/{TestCaseChatHistoryVariableValueRequest.d.ts → NamedTestCaseChatHistoryVariableValueRequest.d.ts} +2 -2
- package/api/types/{TestCaseErrorVariableValueRequest.d.ts → NamedTestCaseErrorVariableValueRequest.d.ts} +2 -2
- package/api/types/{TestCaseJsonVariableValueRequest.d.ts → NamedTestCaseJsonVariableValueRequest.d.ts} +2 -2
- package/{dist/api/types/TestCaseNumberVariableValueRequest.d.ts → api/types/NamedTestCaseNumberVariableValueRequest.d.ts} +2 -2
- package/api/types/{TestCaseSearchResultsVariableValueRequest.d.ts → NamedTestCaseSearchResultsVariableValueRequest.d.ts} +2 -2
- package/{dist/api/types/TestCaseStringVariableValueRequest.d.ts → api/types/NamedTestCaseStringVariableValueRequest.d.ts} +2 -2
- package/api/types/NamedTestCaseVariableValueRequest.d.ts +25 -0
- package/api/types/WorkflowNodeResultData.d.ts +4 -1
- package/api/types/index.d.ts +16 -20
- package/api/types/index.js +16 -20
- package/dist/Client.d.ts +0 -16
- package/dist/Client.js +12 -137
- package/dist/api/errors/ForbiddenError.d.ts +2 -1
- package/dist/api/resources/deployments/client/Client.js +2 -2
- package/dist/api/resources/documentIndexes/client/Client.js +2 -2
- package/dist/api/resources/documents/client/Client.js +4 -4
- 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/testSuites/client/Client.d.ts +1 -1
- package/dist/api/resources/testSuites/client/Client.js +5 -3
- package/dist/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +10 -0
- package/dist/api/resources/testSuites/client/requests/index.d.ts +1 -1
- package/dist/api/types/{ErrorExecutePromptResponse.d.ts → CodeExecutionNodeChatHistoryResult.d.ts} +3 -3
- package/dist/api/types/{StreamingExecutePromptStreamingResponse.d.ts → CodeExecutionNodeErrorResult.d.ts} +3 -2
- package/dist/api/types/CodeExecutionNodeJsonResult.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeNumberResult.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeResult.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeResultData.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeResultOutput.d.ts +25 -0
- package/dist/api/types/CodeExecutionNodeSearchResultsResult.d.ts +8 -0
- package/dist/api/types/CodeExecutionNodeStringResult.d.ts +7 -0
- package/dist/api/types/{TestCaseChatHistoryVariableValueRequest.d.ts → NamedTestCaseChatHistoryVariableValueRequest.d.ts} +2 -2
- package/dist/api/types/{TestCaseErrorVariableValueRequest.d.ts → NamedTestCaseErrorVariableValueRequest.d.ts} +2 -2
- package/dist/api/types/NamedTestCaseJsonVariableValueRequest.d.ts +7 -0
- package/dist/api/types/NamedTestCaseNumberVariableValueRequest.d.ts +7 -0
- package/dist/api/types/{TestCaseSearchResultsVariableValueRequest.d.ts → NamedTestCaseSearchResultsVariableValueRequest.d.ts} +2 -2
- package/dist/api/types/NamedTestCaseStringVariableValueRequest.d.ts +7 -0
- package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +25 -0
- package/dist/api/types/WorkflowNodeResultData.d.ts +4 -1
- package/dist/api/types/index.d.ts +16 -20
- package/dist/api/types/index.js +16 -20
- package/dist/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +15 -0
- package/dist/serialization/resources/testSuites/client/requests/{TestSuiteTestCaseRequest.js → UpsertTestSuiteTestCaseRequest.js} +5 -5
- package/dist/serialization/resources/testSuites/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/testSuites/client/requests/index.js +3 -3
- package/dist/serialization/types/CodeExecutionNodeChatHistoryResult.d.ts +13 -0
- package/dist/serialization/types/CodeExecutionNodeChatHistoryResult.js +45 -0
- package/dist/serialization/types/CodeExecutionNodeErrorResult.d.ts +13 -0
- package/{serialization/types/ErrorExecutePromptResponse.js → dist/serialization/types/CodeExecutionNodeErrorResult.js} +4 -4
- package/dist/serialization/types/CodeExecutionNodeJsonResult.d.ts +13 -0
- package/{serialization/types/TestCaseJsonVariableValueRequest.js → dist/serialization/types/CodeExecutionNodeJsonResult.js} +3 -3
- package/{serialization/types/InitiatedExecutePromptResponse.d.ts → dist/serialization/types/CodeExecutionNodeNumberResult.d.ts} +4 -4
- package/{serialization/types/ExecutePromptApiErrorResponse.js → dist/serialization/types/CodeExecutionNodeNumberResult.js} +4 -3
- package/dist/serialization/types/CodeExecutionNodeResult.d.ts +12 -0
- package/dist/serialization/types/{RejectedExecutePromptStreamingResponse.js → CodeExecutionNodeResult.js} +3 -3
- package/dist/serialization/types/CodeExecutionNodeResultData.d.ts +12 -0
- package/{serialization/types/StreamingExecutePromptStreamingResponse.js → dist/serialization/types/CodeExecutionNodeResultData.js} +3 -3
- package/dist/serialization/types/CodeExecutionNodeResultOutput.d.ts +28 -0
- package/{serialization/types/TestCaseVariableValueRequest.js → dist/serialization/types/CodeExecutionNodeResultOutput.js} +8 -8
- package/dist/serialization/types/CodeExecutionNodeSearchResultsResult.d.ts +13 -0
- package/dist/serialization/types/CodeExecutionNodeSearchResultsResult.js +45 -0
- package/dist/serialization/types/CodeExecutionNodeStringResult.d.ts +13 -0
- package/dist/serialization/types/{ExecutePromptApiErrorResponse.js → CodeExecutionNodeStringResult.js} +4 -3
- package/dist/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +13 -0
- package/dist/serialization/types/{TestCaseChatHistoryVariableValueRequest.js → NamedTestCaseChatHistoryVariableValueRequest.js} +3 -3
- package/dist/serialization/types/NamedTestCaseErrorVariableValueRequest.d.ts +13 -0
- package/dist/serialization/types/{TestCaseErrorVariableValueRequest.js → NamedTestCaseErrorVariableValueRequest.js} +3 -3
- package/dist/serialization/types/NamedTestCaseJsonVariableValueRequest.d.ts +13 -0
- package/dist/serialization/types/{TestCaseJsonVariableValueRequest.js → NamedTestCaseJsonVariableValueRequest.js} +3 -3
- package/dist/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +13 -0
- package/{serialization/types/TestCaseNumberVariableValueRequest.js → dist/serialization/types/NamedTestCaseNumberVariableValueRequest.js} +3 -3
- package/dist/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +13 -0
- package/dist/serialization/types/{TestCaseSearchResultsVariableValueRequest.js → NamedTestCaseSearchResultsVariableValueRequest.js} +3 -3
- package/dist/serialization/types/NamedTestCaseStringVariableValueRequest.d.ts +13 -0
- package/{serialization/types/TestCaseStringVariableValueRequest.js → dist/serialization/types/NamedTestCaseStringVariableValueRequest.js} +3 -3
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.d.ts +28 -0
- package/{serialization/types/ExecutePromptResponse.js → dist/serialization/types/NamedTestCaseVariableValueRequest.js} +8 -5
- package/dist/serialization/types/WorkflowNodeResultData.d.ts +4 -1
- package/dist/serialization/types/WorkflowNodeResultData.js +1 -0
- package/dist/serialization/types/index.d.ts +16 -20
- package/dist/serialization/types/index.js +16 -20
- package/package.json +1 -1
- package/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +15 -0
- package/serialization/resources/testSuites/client/requests/{TestSuiteTestCaseRequest.js → UpsertTestSuiteTestCaseRequest.js} +5 -5
- package/serialization/resources/testSuites/client/requests/index.d.ts +1 -1
- package/serialization/resources/testSuites/client/requests/index.js +3 -3
- package/serialization/types/CodeExecutionNodeChatHistoryResult.d.ts +13 -0
- package/serialization/types/CodeExecutionNodeChatHistoryResult.js +45 -0
- package/serialization/types/CodeExecutionNodeErrorResult.d.ts +13 -0
- package/{dist/serialization/types/ErrorExecutePromptResponse.js → serialization/types/CodeExecutionNodeErrorResult.js} +4 -4
- package/serialization/types/CodeExecutionNodeJsonResult.d.ts +13 -0
- package/{dist/serialization/types/JsonExecutePromptResponse.js → serialization/types/CodeExecutionNodeJsonResult.js} +4 -4
- package/{dist/serialization/types/InitiatedExecutePromptResponse.d.ts → serialization/types/CodeExecutionNodeNumberResult.d.ts} +4 -4
- package/{dist/serialization/types/TestCaseNumberVariableValueRequest.js → serialization/types/CodeExecutionNodeNumberResult.js} +3 -3
- package/serialization/types/CodeExecutionNodeResult.d.ts +12 -0
- package/serialization/types/{RejectedExecutePromptStreamingResponse.js → CodeExecutionNodeResult.js} +3 -3
- package/serialization/types/CodeExecutionNodeResultData.d.ts +12 -0
- package/serialization/types/{FulfilledExecutePromptStreamingResponse.js → CodeExecutionNodeResultData.js} +3 -3
- package/serialization/types/CodeExecutionNodeResultOutput.d.ts +28 -0
- package/{dist/serialization/types/TestCaseVariableValueRequest.js → serialization/types/CodeExecutionNodeResultOutput.js} +8 -8
- package/serialization/types/CodeExecutionNodeSearchResultsResult.d.ts +13 -0
- package/serialization/types/CodeExecutionNodeSearchResultsResult.js +45 -0
- package/serialization/types/CodeExecutionNodeStringResult.d.ts +13 -0
- package/{dist/serialization/types/TestCaseStringVariableValueRequest.js → serialization/types/CodeExecutionNodeStringResult.js} +3 -3
- package/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +13 -0
- package/serialization/types/{TestCaseChatHistoryVariableValueRequest.js → NamedTestCaseChatHistoryVariableValueRequest.js} +3 -3
- package/serialization/types/NamedTestCaseErrorVariableValueRequest.d.ts +13 -0
- package/serialization/types/{TestCaseErrorVariableValueRequest.js → NamedTestCaseErrorVariableValueRequest.js} +3 -3
- package/serialization/types/NamedTestCaseJsonVariableValueRequest.d.ts +13 -0
- package/serialization/types/{JsonExecutePromptResponse.js → NamedTestCaseJsonVariableValueRequest.js} +4 -4
- package/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +13 -0
- package/serialization/types/NamedTestCaseNumberVariableValueRequest.js +34 -0
- package/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +13 -0
- package/serialization/types/{TestCaseSearchResultsVariableValueRequest.js → NamedTestCaseSearchResultsVariableValueRequest.js} +3 -3
- package/serialization/types/NamedTestCaseStringVariableValueRequest.d.ts +13 -0
- package/serialization/types/NamedTestCaseStringVariableValueRequest.js +34 -0
- package/serialization/types/NamedTestCaseVariableValueRequest.d.ts +28 -0
- package/{dist/serialization/types/ExecutePromptResponse.js → serialization/types/NamedTestCaseVariableValueRequest.js} +8 -5
- package/serialization/types/WorkflowNodeResultData.d.ts +4 -1
- package/serialization/types/WorkflowNodeResultData.js +1 -0
- package/serialization/types/index.d.ts +16 -20
- package/serialization/types/index.js +16 -20
- package/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -10
- package/api/types/ExecutePromptApiErrorResponse.d.ts +0 -7
- package/api/types/ExecutePromptRequest.d.ts +0 -14
- package/api/types/ExecutePromptResponse.d.ts +0 -16
- package/api/types/ExecutePromptStreamingResponse.d.ts +0 -19
- package/api/types/InitiatedExecutePromptResponse.d.ts +0 -8
- package/api/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -7
- package/api/types/JsonExecutePromptResponse.d.ts +0 -7
- package/api/types/RejectedExecutePromptResponse.d.ts +0 -9
- package/api/types/RejectedExecutePromptStreamingResponse.d.ts +0 -7
- package/api/types/StringExecutePromptResponse.d.ts +0 -7
- package/api/types/TestCaseVariableValueRequest.d.ts +0 -25
- package/dist/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -10
- package/dist/api/types/ExecutePromptApiErrorResponse.d.ts +0 -7
- package/dist/api/types/ExecutePromptRequest.d.ts +0 -14
- package/dist/api/types/ExecutePromptResponse.d.ts +0 -16
- package/dist/api/types/ExecutePromptStreamingResponse.d.ts +0 -19
- package/dist/api/types/InitiatedExecutePromptResponse.d.ts +0 -8
- package/dist/api/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -7
- package/dist/api/types/JsonExecutePromptResponse.d.ts +0 -7
- package/dist/api/types/RejectedExecutePromptResponse.d.ts +0 -9
- package/dist/api/types/RejectedExecutePromptStreamingResponse.d.ts +0 -7
- package/dist/api/types/StringExecutePromptResponse.d.ts +0 -7
- package/dist/api/types/StringExecutePromptResponse.js +0 -5
- package/dist/api/types/TestCaseChatHistoryVariableValueRequest.js +0 -5
- package/dist/api/types/TestCaseErrorVariableValueRequest.js +0 -5
- package/dist/api/types/TestCaseJsonVariableValueRequest.js +0 -5
- package/dist/api/types/TestCaseNumberVariableValueRequest.js +0 -5
- package/dist/api/types/TestCaseSearchResultsVariableValueRequest.js +0 -5
- package/dist/api/types/TestCaseStringVariableValueRequest.js +0 -5
- package/dist/api/types/TestCaseVariableValueRequest.d.ts +0 -25
- package/dist/api/types/TestCaseVariableValueRequest.js +0 -5
- package/dist/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -15
- package/dist/serialization/types/ErrorExecutePromptResponse.d.ts +0 -13
- package/dist/serialization/types/ExecutePromptApiErrorResponse.d.ts +0 -12
- package/dist/serialization/types/ExecutePromptRequest.d.ts +0 -16
- package/dist/serialization/types/ExecutePromptRequest.js +0 -46
- package/dist/serialization/types/ExecutePromptResponse.d.ts +0 -19
- package/dist/serialization/types/ExecutePromptStreamingResponse.d.ts +0 -22
- package/dist/serialization/types/ExecutePromptStreamingResponse.js +0 -50
- package/dist/serialization/types/FulfilledExecutePromptStreamingResponse.d.ts +0 -12
- package/dist/serialization/types/FulfilledExecutePromptStreamingResponse.js +0 -42
- package/dist/serialization/types/InitiatedExecutePromptResponse.js +0 -43
- package/dist/serialization/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -12
- package/dist/serialization/types/InitiatedExecutePromptStreamingResponse.js +0 -42
- package/dist/serialization/types/JsonExecutePromptResponse.d.ts +0 -13
- package/dist/serialization/types/RejectedExecutePromptResponse.d.ts +0 -14
- package/dist/serialization/types/RejectedExecutePromptResponse.js +0 -44
- package/dist/serialization/types/RejectedExecutePromptStreamingResponse.d.ts +0 -12
- package/dist/serialization/types/StreamingExecutePromptStreamingResponse.d.ts +0 -12
- package/dist/serialization/types/StreamingExecutePromptStreamingResponse.js +0 -42
- package/dist/serialization/types/StringExecutePromptResponse.d.ts +0 -13
- package/dist/serialization/types/StringExecutePromptResponse.js +0 -34
- package/dist/serialization/types/TestCaseChatHistoryVariableValueRequest.d.ts +0 -13
- package/dist/serialization/types/TestCaseErrorVariableValueRequest.d.ts +0 -13
- package/dist/serialization/types/TestCaseJsonVariableValueRequest.d.ts +0 -13
- package/dist/serialization/types/TestCaseNumberVariableValueRequest.d.ts +0 -13
- package/dist/serialization/types/TestCaseSearchResultsVariableValueRequest.d.ts +0 -13
- package/dist/serialization/types/TestCaseStringVariableValueRequest.d.ts +0 -13
- package/dist/serialization/types/TestCaseVariableValueRequest.d.ts +0 -28
- package/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -15
- package/serialization/types/ErrorExecutePromptResponse.d.ts +0 -13
- package/serialization/types/ExecutePromptApiErrorResponse.d.ts +0 -12
- package/serialization/types/ExecutePromptRequest.d.ts +0 -16
- package/serialization/types/ExecutePromptRequest.js +0 -46
- package/serialization/types/ExecutePromptResponse.d.ts +0 -19
- package/serialization/types/ExecutePromptStreamingResponse.d.ts +0 -22
- package/serialization/types/ExecutePromptStreamingResponse.js +0 -50
- package/serialization/types/FulfilledExecutePromptStreamingResponse.d.ts +0 -12
- package/serialization/types/InitiatedExecutePromptResponse.js +0 -43
- package/serialization/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -12
- package/serialization/types/InitiatedExecutePromptStreamingResponse.js +0 -42
- package/serialization/types/JsonExecutePromptResponse.d.ts +0 -13
- package/serialization/types/RejectedExecutePromptResponse.d.ts +0 -14
- package/serialization/types/RejectedExecutePromptResponse.js +0 -44
- package/serialization/types/RejectedExecutePromptStreamingResponse.d.ts +0 -12
- package/serialization/types/StreamingExecutePromptStreamingResponse.d.ts +0 -12
- package/serialization/types/StringExecutePromptResponse.d.ts +0 -13
- package/serialization/types/StringExecutePromptResponse.js +0 -34
- package/serialization/types/TestCaseChatHistoryVariableValueRequest.d.ts +0 -13
- package/serialization/types/TestCaseErrorVariableValueRequest.d.ts +0 -13
- package/serialization/types/TestCaseJsonVariableValueRequest.d.ts +0 -13
- package/serialization/types/TestCaseNumberVariableValueRequest.d.ts +0 -13
- package/serialization/types/TestCaseSearchResultsVariableValueRequest.d.ts +0 -13
- package/serialization/types/TestCaseStringVariableValueRequest.d.ts +0 -13
- package/serialization/types/TestCaseVariableValueRequest.d.ts +0 -28
- /package/api/resources/testSuites/client/requests/{TestSuiteTestCaseRequest.js → UpsertTestSuiteTestCaseRequest.js} +0 -0
- /package/api/types/{ErrorExecutePromptResponse.js → CodeExecutionNodeChatHistoryResult.js} +0 -0
- /package/api/types/{ExecutePromptApiErrorResponse.js → CodeExecutionNodeErrorResult.js} +0 -0
- /package/api/types/{ExecutePromptRequest.js → CodeExecutionNodeJsonResult.js} +0 -0
- /package/api/types/{ExecutePromptResponse.js → CodeExecutionNodeNumberResult.js} +0 -0
- /package/api/types/{ExecutePromptStreamingResponse.js → CodeExecutionNodeResult.js} +0 -0
- /package/api/types/{FulfilledExecutePromptStreamingResponse.js → CodeExecutionNodeResultData.js} +0 -0
- /package/api/types/{InitiatedExecutePromptResponse.js → CodeExecutionNodeResultOutput.js} +0 -0
- /package/api/types/{InitiatedExecutePromptStreamingResponse.js → CodeExecutionNodeSearchResultsResult.js} +0 -0
- /package/api/types/{JsonExecutePromptResponse.js → CodeExecutionNodeStringResult.js} +0 -0
- /package/api/types/{RejectedExecutePromptResponse.js → NamedTestCaseChatHistoryVariableValueRequest.js} +0 -0
- /package/api/types/{RejectedExecutePromptStreamingResponse.js → NamedTestCaseErrorVariableValueRequest.js} +0 -0
- /package/api/types/{StreamingExecutePromptStreamingResponse.js → NamedTestCaseJsonVariableValueRequest.js} +0 -0
- /package/api/types/{StringExecutePromptResponse.js → NamedTestCaseNumberVariableValueRequest.js} +0 -0
- /package/api/types/{TestCaseChatHistoryVariableValueRequest.js → NamedTestCaseSearchResultsVariableValueRequest.js} +0 -0
- /package/api/types/{TestCaseErrorVariableValueRequest.js → NamedTestCaseStringVariableValueRequest.js} +0 -0
- /package/api/types/{TestCaseJsonVariableValueRequest.js → NamedTestCaseVariableValueRequest.js} +0 -0
- /package/{api/types/TestCaseNumberVariableValueRequest.js → dist/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js} +0 -0
- /package/{api/types/TestCaseSearchResultsVariableValueRequest.js → dist/api/types/CodeExecutionNodeChatHistoryResult.js} +0 -0
- /package/{api/types/TestCaseStringVariableValueRequest.js → dist/api/types/CodeExecutionNodeErrorResult.js} +0 -0
- /package/{api/types/TestCaseVariableValueRequest.js → dist/api/types/CodeExecutionNodeJsonResult.js} +0 -0
- /package/dist/api/{resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → types/CodeExecutionNodeNumberResult.js} +0 -0
- /package/dist/api/types/{ErrorExecutePromptResponse.js → CodeExecutionNodeResult.js} +0 -0
- /package/dist/api/types/{ExecutePromptApiErrorResponse.js → CodeExecutionNodeResultData.js} +0 -0
- /package/dist/api/types/{ExecutePromptRequest.js → CodeExecutionNodeResultOutput.js} +0 -0
- /package/dist/api/types/{ExecutePromptResponse.js → CodeExecutionNodeSearchResultsResult.js} +0 -0
- /package/dist/api/types/{ExecutePromptStreamingResponse.js → CodeExecutionNodeStringResult.js} +0 -0
- /package/dist/api/types/{FulfilledExecutePromptStreamingResponse.js → NamedTestCaseChatHistoryVariableValueRequest.js} +0 -0
- /package/dist/api/types/{InitiatedExecutePromptResponse.js → NamedTestCaseErrorVariableValueRequest.js} +0 -0
- /package/dist/api/types/{InitiatedExecutePromptStreamingResponse.js → NamedTestCaseJsonVariableValueRequest.js} +0 -0
- /package/dist/api/types/{JsonExecutePromptResponse.js → NamedTestCaseNumberVariableValueRequest.js} +0 -0
- /package/dist/api/types/{RejectedExecutePromptResponse.js → NamedTestCaseSearchResultsVariableValueRequest.js} +0 -0
- /package/dist/api/types/{RejectedExecutePromptStreamingResponse.js → NamedTestCaseStringVariableValueRequest.js} +0 -0
- /package/dist/api/types/{StreamingExecutePromptStreamingResponse.js → NamedTestCaseVariableValueRequest.js} +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
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 CodeExecutionNodeResultOutput: core.serialization.Schema<serializers.CodeExecutionNodeResultOutput.Raw, Vellum.CodeExecutionNodeResultOutput>;
|
|
8
|
+
export declare namespace CodeExecutionNodeResultOutput {
|
|
9
|
+
type Raw = CodeExecutionNodeResultOutput.String | CodeExecutionNodeResultOutput.Number | CodeExecutionNodeResultOutput.Json | CodeExecutionNodeResultOutput.ChatHistory | CodeExecutionNodeResultOutput.SearchResults | CodeExecutionNodeResultOutput.Error;
|
|
10
|
+
interface String extends serializers.CodeExecutionNodeStringResult.Raw {
|
|
11
|
+
type: "STRING";
|
|
12
|
+
}
|
|
13
|
+
interface Number extends serializers.CodeExecutionNodeNumberResult.Raw {
|
|
14
|
+
type: "NUMBER";
|
|
15
|
+
}
|
|
16
|
+
interface Json extends serializers.CodeExecutionNodeJsonResult.Raw {
|
|
17
|
+
type: "JSON";
|
|
18
|
+
}
|
|
19
|
+
interface ChatHistory extends serializers.CodeExecutionNodeChatHistoryResult.Raw {
|
|
20
|
+
type: "CHAT_HISTORY";
|
|
21
|
+
}
|
|
22
|
+
interface SearchResults extends serializers.CodeExecutionNodeSearchResultsResult.Raw {
|
|
23
|
+
type: "SEARCH_RESULTS";
|
|
24
|
+
}
|
|
25
|
+
interface Error extends serializers.CodeExecutionNodeErrorResult.Raw {
|
|
26
|
+
type: "ERROR";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -35,16 +35,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
38
|
+
exports.CodeExecutionNodeResultOutput = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.
|
|
40
|
+
exports.CodeExecutionNodeResultOutput = core.serialization
|
|
41
41
|
.union("type", {
|
|
42
|
-
STRING: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).
|
|
43
|
-
NUMBER: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).
|
|
44
|
-
JSON: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).
|
|
45
|
-
CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).
|
|
46
|
-
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).
|
|
47
|
-
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).
|
|
42
|
+
STRING: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeStringResult; })),
|
|
43
|
+
NUMBER: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeNumberResult; })),
|
|
44
|
+
JSON: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeJsonResult; })),
|
|
45
|
+
CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeChatHistoryResult; })),
|
|
46
|
+
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeSearchResultsResult; })),
|
|
47
|
+
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeErrorResult; })),
|
|
48
48
|
})
|
|
49
49
|
.transform({
|
|
50
50
|
transform: (value) => value,
|
|
@@ -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 CodeExecutionNodeSearchResultsResult: core.serialization.ObjectSchema<serializers.CodeExecutionNodeSearchResultsResult.Raw, Vellum.CodeExecutionNodeSearchResultsResult>;
|
|
8
|
+
export declare namespace CodeExecutionNodeSearchResultsResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
value?: serializers.SearchResult.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.CodeExecutionNodeSearchResultsResult = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.CodeExecutionNodeSearchResultsResult = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
value: core.serialization
|
|
43
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchResult; })))
|
|
44
|
+
.optional(),
|
|
45
|
+
});
|
|
@@ -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 CodeExecutionNodeStringResult: core.serialization.ObjectSchema<serializers.CodeExecutionNodeStringResult.Raw, Vellum.CodeExecutionNodeStringResult>;
|
|
8
|
+
export declare namespace CodeExecutionNodeStringResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
value?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.CodeExecutionNodeStringResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.CodeExecutionNodeStringResult = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
value: core.serialization.string().optional(),
|
|
33
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 NamedTestCaseChatHistoryVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseChatHistoryVariableValueRequest.Raw, Vellum.NamedTestCaseChatHistoryVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedTestCaseChatHistoryVariableValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value?: serializers.ChatMessageRequest.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -35,10 +35,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
38
|
+
exports.NamedTestCaseChatHistoryVariableValueRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.
|
|
41
|
-
|
|
40
|
+
exports.NamedTestCaseChatHistoryVariableValueRequest = core.serialization.object({
|
|
41
|
+
name: core.serialization.string(),
|
|
42
42
|
value: core.serialization
|
|
43
43
|
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageRequest; })))
|
|
44
44
|
.optional(),
|
|
@@ -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 NamedTestCaseErrorVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseErrorVariableValueRequest.Raw, Vellum.NamedTestCaseErrorVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedTestCaseErrorVariableValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value?: serializers.VellumErrorRequest.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -35,9 +35,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
38
|
+
exports.NamedTestCaseErrorVariableValueRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.
|
|
41
|
-
|
|
40
|
+
exports.NamedTestCaseErrorVariableValueRequest = core.serialization.object({
|
|
41
|
+
name: core.serialization.string(),
|
|
42
42
|
value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumErrorRequest; })).optional(),
|
|
43
43
|
});
|
|
@@ -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 NamedTestCaseJsonVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseJsonVariableValueRequest.Raw, Vellum.NamedTestCaseJsonVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedTestCaseJsonVariableValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value?: Record<string, unknown> | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.NamedTestCaseJsonVariableValueRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.NamedTestCaseJsonVariableValueRequest = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
33
|
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
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 NamedTestCaseNumberVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseNumberVariableValueRequest.Raw, Vellum.NamedTestCaseNumberVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedTestCaseNumberVariableValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value?: number | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.NamedTestCaseNumberVariableValueRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.NamedTestCaseNumberVariableValueRequest = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
33
|
value: core.serialization.number().optional(),
|
|
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 NamedTestCaseSearchResultsVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseSearchResultsVariableValueRequest.Raw, Vellum.NamedTestCaseSearchResultsVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedTestCaseSearchResultsVariableValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value?: serializers.SearchResultRequest.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -35,10 +35,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
38
|
+
exports.NamedTestCaseSearchResultsVariableValueRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.
|
|
41
|
-
|
|
40
|
+
exports.NamedTestCaseSearchResultsVariableValueRequest = core.serialization.object({
|
|
41
|
+
name: core.serialization.string(),
|
|
42
42
|
value: core.serialization
|
|
43
43
|
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchResultRequest; })))
|
|
44
44
|
.optional(),
|
|
@@ -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 NamedTestCaseStringVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseStringVariableValueRequest.Raw, Vellum.NamedTestCaseStringVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedTestCaseStringVariableValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.NamedTestCaseStringVariableValueRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.NamedTestCaseStringVariableValueRequest = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
33
|
value: core.serialization.string().optional(),
|
|
34
34
|
});
|
|
@@ -0,0 +1,28 @@
|
|
|
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 NamedTestCaseVariableValueRequest: core.serialization.Schema<serializers.NamedTestCaseVariableValueRequest.Raw, Vellum.NamedTestCaseVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedTestCaseVariableValueRequest {
|
|
9
|
+
type Raw = NamedTestCaseVariableValueRequest.String | NamedTestCaseVariableValueRequest.Number | NamedTestCaseVariableValueRequest.Json | NamedTestCaseVariableValueRequest.ChatHistory | NamedTestCaseVariableValueRequest.SearchResults | NamedTestCaseVariableValueRequest.Error;
|
|
10
|
+
interface String extends serializers.NamedTestCaseStringVariableValueRequest.Raw {
|
|
11
|
+
type: "STRING";
|
|
12
|
+
}
|
|
13
|
+
interface Number extends serializers.NamedTestCaseNumberVariableValueRequest.Raw {
|
|
14
|
+
type: "NUMBER";
|
|
15
|
+
}
|
|
16
|
+
interface Json extends serializers.NamedTestCaseJsonVariableValueRequest.Raw {
|
|
17
|
+
type: "JSON";
|
|
18
|
+
}
|
|
19
|
+
interface ChatHistory extends serializers.NamedTestCaseChatHistoryVariableValueRequest.Raw {
|
|
20
|
+
type: "CHAT_HISTORY";
|
|
21
|
+
}
|
|
22
|
+
interface SearchResults extends serializers.NamedTestCaseSearchResultsVariableValueRequest.Raw {
|
|
23
|
+
type: "SEARCH_RESULTS";
|
|
24
|
+
}
|
|
25
|
+
interface Error extends serializers.NamedTestCaseErrorVariableValueRequest.Raw {
|
|
26
|
+
type: "ERROR";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -35,13 +35,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
38
|
+
exports.NamedTestCaseVariableValueRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.
|
|
40
|
+
exports.NamedTestCaseVariableValueRequest = core.serialization
|
|
41
41
|
.union("type", {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
STRING: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NamedTestCaseStringVariableValueRequest; })),
|
|
43
|
+
NUMBER: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NamedTestCaseNumberVariableValueRequest; })),
|
|
44
|
+
JSON: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NamedTestCaseJsonVariableValueRequest; })),
|
|
45
|
+
CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NamedTestCaseChatHistoryVariableValueRequest; })),
|
|
46
|
+
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NamedTestCaseSearchResultsVariableValueRequest; })),
|
|
47
|
+
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NamedTestCaseErrorVariableValueRequest; })),
|
|
45
48
|
})
|
|
46
49
|
.transform({
|
|
47
50
|
transform: (value) => value,
|
|
@@ -6,7 +6,7 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkflowNodeResultData: core.serialization.Schema<serializers.WorkflowNodeResultData.Raw, Vellum.WorkflowNodeResultData>;
|
|
8
8
|
export declare namespace WorkflowNodeResultData {
|
|
9
|
-
type Raw = WorkflowNodeResultData.Prompt | WorkflowNodeResultData.Search | WorkflowNodeResultData.Templating | WorkflowNodeResultData.Conditional | WorkflowNodeResultData.Api | WorkflowNodeResultData.Terminal;
|
|
9
|
+
type Raw = WorkflowNodeResultData.Prompt | WorkflowNodeResultData.Search | WorkflowNodeResultData.Templating | WorkflowNodeResultData.CodeExecution | WorkflowNodeResultData.Conditional | WorkflowNodeResultData.Api | WorkflowNodeResultData.Terminal;
|
|
10
10
|
interface Prompt extends serializers.PromptNodeResult.Raw {
|
|
11
11
|
type: "PROMPT";
|
|
12
12
|
}
|
|
@@ -16,6 +16,9 @@ export declare namespace WorkflowNodeResultData {
|
|
|
16
16
|
interface Templating extends serializers.TemplatingNodeResult.Raw {
|
|
17
17
|
type: "TEMPLATING";
|
|
18
18
|
}
|
|
19
|
+
interface CodeExecution extends serializers.CodeExecutionNodeResult.Raw {
|
|
20
|
+
type: "CODE_EXECUTION";
|
|
21
|
+
}
|
|
19
22
|
interface Conditional extends serializers.ConditionalNodeResult.Raw {
|
|
20
23
|
type: "CONDITIONAL";
|
|
21
24
|
}
|
|
@@ -42,6 +42,7 @@ exports.WorkflowNodeResultData = core.serialization
|
|
|
42
42
|
PROMPT: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptNodeResult; })),
|
|
43
43
|
SEARCH: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchNodeResult; })),
|
|
44
44
|
TEMPLATING: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TemplatingNodeResult; })),
|
|
45
|
+
CODE_EXECUTION: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeResult; })),
|
|
45
46
|
CONDITIONAL: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ConditionalNodeResult; })),
|
|
46
47
|
API: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ApiNodeResult; })),
|
|
47
48
|
TERMINAL: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeResult; })),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./ExecutePromptRequest";
|
|
2
1
|
export * from "./ApiNodeResult";
|
|
3
2
|
export * from "./ApiNodeResultData";
|
|
4
3
|
export * from "./BlockTypeEnum";
|
|
@@ -6,6 +5,15 @@ export * from "./ChatHistoryInputRequest";
|
|
|
6
5
|
export * from "./ChatMessage";
|
|
7
6
|
export * from "./ChatMessageRequest";
|
|
8
7
|
export * from "./ChatMessageRole";
|
|
8
|
+
export * from "./CodeExecutionNodeChatHistoryResult";
|
|
9
|
+
export * from "./CodeExecutionNodeErrorResult";
|
|
10
|
+
export * from "./CodeExecutionNodeJsonResult";
|
|
11
|
+
export * from "./CodeExecutionNodeNumberResult";
|
|
12
|
+
export * from "./CodeExecutionNodeResult";
|
|
13
|
+
export * from "./CodeExecutionNodeResultData";
|
|
14
|
+
export * from "./CodeExecutionNodeResultOutput";
|
|
15
|
+
export * from "./CodeExecutionNodeSearchResultsResult";
|
|
16
|
+
export * from "./CodeExecutionNodeStringResult";
|
|
9
17
|
export * from "./ConditionalNodeResult";
|
|
10
18
|
export * from "./ConditionalNodeResultData";
|
|
11
19
|
export * from "./DeploymentProviderPayloadResponse";
|
|
@@ -18,15 +26,10 @@ export * from "./DocumentRead";
|
|
|
18
26
|
export * from "./DocumentStatus";
|
|
19
27
|
export * from "./EnrichedNormalizedCompletion";
|
|
20
28
|
export * from "./EnvironmentEnum";
|
|
21
|
-
export * from "./ErrorExecutePromptResponse";
|
|
22
29
|
export * from "./EvaluationParams";
|
|
23
30
|
export * from "./EvaluationParamsRequest";
|
|
24
|
-
export * from "./ExecutePromptApiErrorResponse";
|
|
25
|
-
export * from "./ExecutePromptResponse";
|
|
26
|
-
export * from "./ExecutePromptStreamingResponse";
|
|
27
31
|
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
28
32
|
export * from "./FinishReasonEnum";
|
|
29
|
-
export * from "./FulfilledExecutePromptStreamingResponse";
|
|
30
33
|
export * from "./GenerateErrorResponse";
|
|
31
34
|
export * from "./GenerateOptionsRequest";
|
|
32
35
|
export * from "./GenerateRequest";
|
|
@@ -38,9 +41,6 @@ export * from "./GenerateStreamResponse";
|
|
|
38
41
|
export * from "./GenerateStreamResult";
|
|
39
42
|
export * from "./GenerateStreamResultData";
|
|
40
43
|
export * from "./IndexingStateEnum";
|
|
41
|
-
export * from "./InitiatedExecutePromptResponse";
|
|
42
|
-
export * from "./InitiatedExecutePromptStreamingResponse";
|
|
43
|
-
export * from "./JsonExecutePromptResponse";
|
|
44
44
|
export * from "./JsonInputRequest";
|
|
45
45
|
export * from "./LogicalOperator";
|
|
46
46
|
export * from "./LogprobsEnum";
|
|
@@ -53,6 +53,13 @@ export * from "./ModelVersionExecConfigParameters";
|
|
|
53
53
|
export * from "./ModelVersionRead";
|
|
54
54
|
export * from "./ModelVersionReadStatusEnum";
|
|
55
55
|
export * from "./ModelVersionSandboxSnapshot";
|
|
56
|
+
export * from "./NamedTestCaseChatHistoryVariableValueRequest";
|
|
57
|
+
export * from "./NamedTestCaseErrorVariableValueRequest";
|
|
58
|
+
export * from "./NamedTestCaseJsonVariableValueRequest";
|
|
59
|
+
export * from "./NamedTestCaseNumberVariableValueRequest";
|
|
60
|
+
export * from "./NamedTestCaseSearchResultsVariableValueRequest";
|
|
61
|
+
export * from "./NamedTestCaseStringVariableValueRequest";
|
|
62
|
+
export * from "./NamedTestCaseVariableValueRequest";
|
|
56
63
|
export * from "./NodeInputCompiledChatHistoryValue";
|
|
57
64
|
export * from "./NodeInputCompiledErrorValue";
|
|
58
65
|
export * from "./NodeInputCompiledJsonValue";
|
|
@@ -85,8 +92,6 @@ export * from "./RegisteredPromptInputVariableRequest";
|
|
|
85
92
|
export * from "./RegisteredPromptModelVersion";
|
|
86
93
|
export * from "./RegisteredPromptSandbox";
|
|
87
94
|
export * from "./RegisteredPromptSandboxSnapshot";
|
|
88
|
-
export * from "./RejectedExecutePromptResponse";
|
|
89
|
-
export * from "./RejectedExecutePromptStreamingResponse";
|
|
90
95
|
export * from "./SandboxMetricInputParams";
|
|
91
96
|
export * from "./SandboxMetricInputParamsRequest";
|
|
92
97
|
export * from "./SandboxScenario";
|
|
@@ -106,8 +111,6 @@ export * from "./SearchResultMergingRequest";
|
|
|
106
111
|
export * from "./SearchResultRequest";
|
|
107
112
|
export * from "./SearchWeightsRequest";
|
|
108
113
|
export * from "./SlimDocument";
|
|
109
|
-
export * from "./StreamingExecutePromptStreamingResponse";
|
|
110
|
-
export * from "./StringExecutePromptResponse";
|
|
111
114
|
export * from "./StringInputRequest";
|
|
112
115
|
export * from "./SubmitCompletionActualRequest";
|
|
113
116
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
@@ -131,19 +134,12 @@ export * from "./TerminalNodeResultOutput";
|
|
|
131
134
|
export * from "./TerminalNodeSearchResultsResult";
|
|
132
135
|
export * from "./TerminalNodeStringResult";
|
|
133
136
|
export * from "./TestCaseChatHistoryVariableValue";
|
|
134
|
-
export * from "./TestCaseChatHistoryVariableValueRequest";
|
|
135
137
|
export * from "./TestCaseErrorVariableValue";
|
|
136
|
-
export * from "./TestCaseErrorVariableValueRequest";
|
|
137
138
|
export * from "./TestCaseJsonVariableValue";
|
|
138
|
-
export * from "./TestCaseJsonVariableValueRequest";
|
|
139
139
|
export * from "./TestCaseNumberVariableValue";
|
|
140
|
-
export * from "./TestCaseNumberVariableValueRequest";
|
|
141
140
|
export * from "./TestCaseSearchResultsVariableValue";
|
|
142
|
-
export * from "./TestCaseSearchResultsVariableValueRequest";
|
|
143
141
|
export * from "./TestCaseStringVariableValue";
|
|
144
|
-
export * from "./TestCaseStringVariableValueRequest";
|
|
145
142
|
export * from "./TestCaseVariableValue";
|
|
146
|
-
export * from "./TestCaseVariableValueRequest";
|
|
147
143
|
export * from "./TestSuiteTestCase";
|
|
148
144
|
export * from "./UploadDocumentErrorResponse";
|
|
149
145
|
export * from "./UploadDocumentResponse";
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ExecutePromptRequest"), exports);
|
|
18
17
|
__exportStar(require("./ApiNodeResult"), exports);
|
|
19
18
|
__exportStar(require("./ApiNodeResultData"), exports);
|
|
20
19
|
__exportStar(require("./BlockTypeEnum"), exports);
|
|
@@ -22,6 +21,15 @@ __exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
|
22
21
|
__exportStar(require("./ChatMessage"), exports);
|
|
23
22
|
__exportStar(require("./ChatMessageRequest"), exports);
|
|
24
23
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
24
|
+
__exportStar(require("./CodeExecutionNodeChatHistoryResult"), exports);
|
|
25
|
+
__exportStar(require("./CodeExecutionNodeErrorResult"), exports);
|
|
26
|
+
__exportStar(require("./CodeExecutionNodeJsonResult"), exports);
|
|
27
|
+
__exportStar(require("./CodeExecutionNodeNumberResult"), exports);
|
|
28
|
+
__exportStar(require("./CodeExecutionNodeResult"), exports);
|
|
29
|
+
__exportStar(require("./CodeExecutionNodeResultData"), exports);
|
|
30
|
+
__exportStar(require("./CodeExecutionNodeResultOutput"), exports);
|
|
31
|
+
__exportStar(require("./CodeExecutionNodeSearchResultsResult"), exports);
|
|
32
|
+
__exportStar(require("./CodeExecutionNodeStringResult"), exports);
|
|
25
33
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
26
34
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
27
35
|
__exportStar(require("./DeploymentProviderPayloadResponse"), exports);
|
|
@@ -34,15 +42,10 @@ __exportStar(require("./DocumentRead"), exports);
|
|
|
34
42
|
__exportStar(require("./DocumentStatus"), exports);
|
|
35
43
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
36
44
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
37
|
-
__exportStar(require("./ErrorExecutePromptResponse"), exports);
|
|
38
45
|
__exportStar(require("./EvaluationParams"), exports);
|
|
39
46
|
__exportStar(require("./EvaluationParamsRequest"), exports);
|
|
40
|
-
__exportStar(require("./ExecutePromptApiErrorResponse"), exports);
|
|
41
|
-
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
42
|
-
__exportStar(require("./ExecutePromptStreamingResponse"), exports);
|
|
43
47
|
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
44
48
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
45
|
-
__exportStar(require("./FulfilledExecutePromptStreamingResponse"), exports);
|
|
46
49
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
47
50
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
48
51
|
__exportStar(require("./GenerateRequest"), exports);
|
|
@@ -54,9 +57,6 @@ __exportStar(require("./GenerateStreamResponse"), exports);
|
|
|
54
57
|
__exportStar(require("./GenerateStreamResult"), exports);
|
|
55
58
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
56
59
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
57
|
-
__exportStar(require("./InitiatedExecutePromptResponse"), exports);
|
|
58
|
-
__exportStar(require("./InitiatedExecutePromptStreamingResponse"), exports);
|
|
59
|
-
__exportStar(require("./JsonExecutePromptResponse"), exports);
|
|
60
60
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
61
61
|
__exportStar(require("./LogicalOperator"), exports);
|
|
62
62
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
@@ -69,6 +69,13 @@ __exportStar(require("./ModelVersionExecConfigParameters"), exports);
|
|
|
69
69
|
__exportStar(require("./ModelVersionRead"), exports);
|
|
70
70
|
__exportStar(require("./ModelVersionReadStatusEnum"), exports);
|
|
71
71
|
__exportStar(require("./ModelVersionSandboxSnapshot"), exports);
|
|
72
|
+
__exportStar(require("./NamedTestCaseChatHistoryVariableValueRequest"), exports);
|
|
73
|
+
__exportStar(require("./NamedTestCaseErrorVariableValueRequest"), exports);
|
|
74
|
+
__exportStar(require("./NamedTestCaseJsonVariableValueRequest"), exports);
|
|
75
|
+
__exportStar(require("./NamedTestCaseNumberVariableValueRequest"), exports);
|
|
76
|
+
__exportStar(require("./NamedTestCaseSearchResultsVariableValueRequest"), exports);
|
|
77
|
+
__exportStar(require("./NamedTestCaseStringVariableValueRequest"), exports);
|
|
78
|
+
__exportStar(require("./NamedTestCaseVariableValueRequest"), exports);
|
|
72
79
|
__exportStar(require("./NodeInputCompiledChatHistoryValue"), exports);
|
|
73
80
|
__exportStar(require("./NodeInputCompiledErrorValue"), exports);
|
|
74
81
|
__exportStar(require("./NodeInputCompiledJsonValue"), exports);
|
|
@@ -101,8 +108,6 @@ __exportStar(require("./RegisteredPromptInputVariableRequest"), exports);
|
|
|
101
108
|
__exportStar(require("./RegisteredPromptModelVersion"), exports);
|
|
102
109
|
__exportStar(require("./RegisteredPromptSandbox"), exports);
|
|
103
110
|
__exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
|
|
104
|
-
__exportStar(require("./RejectedExecutePromptResponse"), exports);
|
|
105
|
-
__exportStar(require("./RejectedExecutePromptStreamingResponse"), exports);
|
|
106
111
|
__exportStar(require("./SandboxMetricInputParams"), exports);
|
|
107
112
|
__exportStar(require("./SandboxMetricInputParamsRequest"), exports);
|
|
108
113
|
__exportStar(require("./SandboxScenario"), exports);
|
|
@@ -122,8 +127,6 @@ __exportStar(require("./SearchResultMergingRequest"), exports);
|
|
|
122
127
|
__exportStar(require("./SearchResultRequest"), exports);
|
|
123
128
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
124
129
|
__exportStar(require("./SlimDocument"), exports);
|
|
125
|
-
__exportStar(require("./StreamingExecutePromptStreamingResponse"), exports);
|
|
126
|
-
__exportStar(require("./StringExecutePromptResponse"), exports);
|
|
127
130
|
__exportStar(require("./StringInputRequest"), exports);
|
|
128
131
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
129
132
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
@@ -147,19 +150,12 @@ __exportStar(require("./TerminalNodeResultOutput"), exports);
|
|
|
147
150
|
__exportStar(require("./TerminalNodeSearchResultsResult"), exports);
|
|
148
151
|
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
149
152
|
__exportStar(require("./TestCaseChatHistoryVariableValue"), exports);
|
|
150
|
-
__exportStar(require("./TestCaseChatHistoryVariableValueRequest"), exports);
|
|
151
153
|
__exportStar(require("./TestCaseErrorVariableValue"), exports);
|
|
152
|
-
__exportStar(require("./TestCaseErrorVariableValueRequest"), exports);
|
|
153
154
|
__exportStar(require("./TestCaseJsonVariableValue"), exports);
|
|
154
|
-
__exportStar(require("./TestCaseJsonVariableValueRequest"), exports);
|
|
155
155
|
__exportStar(require("./TestCaseNumberVariableValue"), exports);
|
|
156
|
-
__exportStar(require("./TestCaseNumberVariableValueRequest"), exports);
|
|
157
156
|
__exportStar(require("./TestCaseSearchResultsVariableValue"), exports);
|
|
158
|
-
__exportStar(require("./TestCaseSearchResultsVariableValueRequest"), exports);
|
|
159
157
|
__exportStar(require("./TestCaseStringVariableValue"), exports);
|
|
160
|
-
__exportStar(require("./TestCaseStringVariableValueRequest"), exports);
|
|
161
158
|
__exportStar(require("./TestCaseVariableValue"), exports);
|
|
162
|
-
__exportStar(require("./TestCaseVariableValueRequest"), exports);
|
|
163
159
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
164
160
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
165
161
|
__exportStar(require("./UploadDocumentResponse"), exports);
|