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
package/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
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 UpsertTestSuiteTestCaseRequest: core.serialization.Schema<serializers.UpsertTestSuiteTestCaseRequest.Raw, Vellum.UpsertTestSuiteTestCaseRequest>;
|
|
8
|
+
export declare namespace UpsertTestSuiteTestCaseRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id?: string | null;
|
|
11
|
+
label?: string | null;
|
|
12
|
+
input_values: serializers.NamedTestCaseVariableValueRequest.Raw[];
|
|
13
|
+
evaluation_values: serializers.NamedTestCaseVariableValueRequest.Raw[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -35,11 +35,11 @@ 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.UpsertTestSuiteTestCaseRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../../../../core"));
|
|
40
|
-
exports.
|
|
41
|
-
|
|
40
|
+
exports.UpsertTestSuiteTestCaseRequest = core.serialization.object({
|
|
41
|
+
upsertTestSuiteTestCaseRequestId: core.serialization.property("id", core.serialization.string().optional()),
|
|
42
42
|
label: core.serialization.string().optional(),
|
|
43
|
-
inputValues: core.serialization.property("input_values", core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).
|
|
44
|
-
evaluationValues: core.serialization.property("evaluation_values", core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).
|
|
43
|
+
inputValues: core.serialization.property("input_values", core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).NamedTestCaseVariableValueRequest; })))),
|
|
44
|
+
evaluationValues: core.serialization.property("evaluation_values", core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).NamedTestCaseVariableValueRequest; })))),
|
|
45
45
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { UpsertTestSuiteTestCaseRequest } from "./UpsertTestSuiteTestCaseRequest";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "
|
|
3
|
+
exports.UpsertTestSuiteTestCaseRequest = void 0;
|
|
4
|
+
var UpsertTestSuiteTestCaseRequest_1 = require("./UpsertTestSuiteTestCaseRequest");
|
|
5
|
+
Object.defineProperty(exports, "UpsertTestSuiteTestCaseRequest", { enumerable: true, get: function () { return UpsertTestSuiteTestCaseRequest_1.UpsertTestSuiteTestCaseRequest; } });
|
|
@@ -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 CodeExecutionNodeChatHistoryResult: core.serialization.ObjectSchema<serializers.CodeExecutionNodeChatHistoryResult.Raw, Vellum.CodeExecutionNodeChatHistoryResult>;
|
|
8
|
+
export declare namespace CodeExecutionNodeChatHistoryResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
value?: serializers.ChatMessage.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.CodeExecutionNodeChatHistoryResult = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.CodeExecutionNodeChatHistoryResult = 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("..")))).ChatMessage; })))
|
|
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 CodeExecutionNodeErrorResult: core.serialization.ObjectSchema<serializers.CodeExecutionNodeErrorResult.Raw, Vellum.CodeExecutionNodeErrorResult>;
|
|
8
|
+
export declare namespace CodeExecutionNodeErrorResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
value?: serializers.VellumError.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.CodeExecutionNodeErrorResult = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.
|
|
41
|
-
|
|
42
|
-
value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumError; })),
|
|
40
|
+
exports.CodeExecutionNodeErrorResult = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumError; })).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 CodeExecutionNodeJsonResult: core.serialization.ObjectSchema<serializers.CodeExecutionNodeJsonResult.Raw, Vellum.CodeExecutionNodeJsonResult>;
|
|
8
|
+
export declare namespace CodeExecutionNodeJsonResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: 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.CodeExecutionNodeJsonResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
31
|
+
exports.CodeExecutionNodeJsonResult = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
34
34
|
});
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const CodeExecutionNodeNumberResult: core.serialization.ObjectSchema<serializers.CodeExecutionNodeNumberResult.Raw, Vellum.CodeExecutionNodeNumberResult>;
|
|
8
|
+
export declare namespace CodeExecutionNodeNumberResult {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
id: string;
|
|
11
|
+
value?: number | null;
|
|
12
12
|
}
|
|
13
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.CodeExecutionNodeNumberResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.CodeExecutionNodeNumberResult = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
33
|
value: core.serialization.number().optional(),
|
|
34
34
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 CodeExecutionNodeResult: core.serialization.ObjectSchema<serializers.CodeExecutionNodeResult.Raw, Vellum.CodeExecutionNodeResult>;
|
|
8
|
+
export declare namespace CodeExecutionNodeResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data: serializers.CodeExecutionNodeResultData.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/serialization/types/{RejectedExecutePromptStreamingResponse.js → CodeExecutionNodeResult.js}
RENAMED
|
@@ -35,8 +35,8 @@ 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.CodeExecutionNodeResult = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.
|
|
41
|
-
data: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).
|
|
40
|
+
exports.CodeExecutionNodeResult = core.serialization.object({
|
|
41
|
+
data: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeResultData; })),
|
|
42
42
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 CodeExecutionNodeResultData: core.serialization.ObjectSchema<serializers.CodeExecutionNodeResultData.Raw, Vellum.CodeExecutionNodeResultData>;
|
|
8
|
+
export declare namespace CodeExecutionNodeResultData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
output: serializers.CodeExecutionNodeResultOutput.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -35,8 +35,8 @@ 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.CodeExecutionNodeResultData = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.
|
|
41
|
-
|
|
40
|
+
exports.CodeExecutionNodeResultData = core.serialization.object({
|
|
41
|
+
output: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CodeExecutionNodeResultOutput; })),
|
|
42
42
|
});
|
|
@@ -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,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.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
33
|
value: core.serialization.string().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 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
|
-
|
|
33
|
-
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
31
|
+
exports.NamedTestCaseJsonVariableValueRequest = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
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
|
+
}
|
|
@@ -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.NamedTestCaseNumberVariableValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NamedTestCaseNumberVariableValueRequest = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.number().optional(),
|
|
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
|
+
}
|
|
@@ -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.NamedTestCaseStringVariableValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NamedTestCaseStringVariableValueRequest = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.string().optional(),
|
|
34
|
+
});
|