vellum-ai 0.1.7 → 0.1.9
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 +21 -5
- package/Client.js +137 -44
- package/api/{types → client/requests}/ExecutePromptRequest.d.ts +7 -1
- package/api/client/requests/ExecutePromptStreamRequest.d.ts +20 -0
- package/api/client/requests/GenerateBodyRequest.d.ts +11 -0
- package/api/client/requests/SubmitCompletionActualsRequest.d.ts +6 -0
- package/api/client/requests/SubmitWorkflowExecutionActualsRequest.d.ts +6 -0
- package/api/client/requests/index.d.ts +2 -0
- package/api/resources/deployments/client/Client.js +2 -2
- package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +6 -0
- package/api/resources/documentIndexes/client/Client.js +2 -2
- package/api/resources/documents/client/Client.d.ts +3 -0
- package/api/resources/documents/client/Client.js +7 -5
- package/api/resources/documents/client/requests/DocumentsListRequest.d.ts +4 -0
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +1 -0
- package/api/resources/sandboxes/client/Client.d.ts +3 -0
- package/api/resources/sandboxes/client/Client.js +5 -2
- package/api/resources/testSuites/client/Client.d.ts +9 -1
- package/api/resources/testSuites/client/Client.js +13 -3
- package/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +17 -0
- package/api/resources/testSuites/client/requests/index.d.ts +1 -1
- package/api/types/BlockTypeEnum.d.ts +4 -4
- package/api/types/ChatMessageRole.d.ts +4 -4
- package/{dist/api/types/ErrorExecutePromptResponse.d.ts → api/types/CodeExecutionNodeChatHistoryResult.d.ts} +3 -3
- package/api/types/{FulfilledExecutePromptStreamingResponse.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/{dist/api/types/FulfilledExecutePromptStreamingResponse.d.ts → api/types/CodeExecutionNodeResult.d.ts} +2 -2
- package/{dist/api/types/StreamingExecutePromptStreamingResponse.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/DeploymentRead.d.ts +6 -6
- package/api/types/DeploymentStatus.d.ts +3 -3
- package/api/types/DocumentDocumentToDocumentIndex.d.ts +5 -5
- package/api/types/DocumentIndexRead.d.ts +5 -5
- package/api/types/DocumentIndexStatus.d.ts +2 -2
- package/api/types/DocumentRead.d.ts +5 -5
- package/api/types/EnrichedNormalizedCompletion.d.ts +3 -3
- package/api/types/EnvironmentEnum.d.ts +3 -3
- package/api/types/{StreamingExecutePromptStreamingResponse.d.ts → ErrorVariableValue.d.ts} +2 -2
- package/api/types/ExecutePromptEvent.d.ts +19 -0
- package/api/types/ExecutePromptResponse.d.ts +5 -8
- package/api/types/FinishReasonEnum.d.ts +3 -3
- package/api/types/FulfilledEnum.d.ts +4 -0
- package/api/types/FulfilledExecutePromptEvent.d.ts +12 -0
- package/api/types/FulfilledExecutePromptResponse.d.ts +15 -0
- package/api/types/FulfilledPromptExecutionMeta.d.ts +11 -0
- package/api/types/GenerateOptionsRequest.d.ts +2 -2
- package/api/types/IndexingStateEnum.d.ts +5 -5
- package/api/types/InitiatedEnum.d.ts +4 -0
- package/api/types/InitiatedExecutePromptEvent.d.ts +11 -0
- package/api/types/InitiatedPromptExecutionMeta.d.ts +12 -0
- package/api/types/{TestCaseJsonVariableValueRequest.d.ts → JsonVariableValue.d.ts} +1 -2
- package/api/types/LogicalOperator.d.ts +18 -18
- package/api/types/LogprobsEnum.d.ts +2 -2
- package/api/types/MetadataFilterRuleCombinator.d.ts +2 -2
- package/api/types/ModelVersionRead.d.ts +13 -12
- package/api/types/ModelVersionReadStatusEnum.d.ts +4 -4
- 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/NamedTestCaseJsonVariableValueRequest.d.ts +7 -0
- 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/ProcessingFailureReasonEnum.d.ts +2 -2
- package/api/types/ProcessingStateEnum.d.ts +4 -4
- package/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +15 -0
- package/api/types/PromptExecutionMeta.d.ts +14 -0
- package/api/types/PromptOutput.d.ts +16 -0
- package/api/types/ProviderEnum.d.ts +15 -13
- package/api/types/ProviderEnum.js +1 -0
- package/api/types/RawPromptExecutionOverridesRequest.d.ts +10 -0
- package/api/types/RejectedEnum.d.ts +4 -0
- package/api/types/RejectedExecutePromptEvent.d.ts +12 -0
- package/api/types/RejectedExecutePromptResponse.d.ts +8 -2
- package/api/types/RejectedPromptExecutionMeta.d.ts +11 -0
- package/api/types/ScenarioInputTypeEnum.d.ts +2 -2
- package/api/types/SlimDocument.d.ts +7 -7
- package/api/types/StreamingEnum.d.ts +4 -0
- package/api/types/StreamingEnum.js +5 -0
- package/api/types/StreamingExecutePromptEvent.d.ts +15 -0
- package/api/types/StreamingExecutePromptEvent.js +5 -0
- package/api/types/StreamingPromptExecutionMeta.d.ts +9 -0
- package/api/types/StreamingPromptExecutionMeta.js +5 -0
- package/api/types/StringVariableValue.d.ts +6 -0
- package/api/types/StringVariableValue.js +5 -0
- package/api/types/VellumErrorCodeEnum.d.ts +3 -3
- package/api/types/VellumVariableType.d.ts +9 -7
- package/api/types/VellumVariableType.js +1 -0
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +6 -6
- package/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/api/types/WorkflowNodeResultData.d.ts +4 -1
- package/api/types/WorkflowNodeResultEventState.d.ts +4 -4
- package/api/types/WorkflowRequestInputRequest.d.ts +4 -1
- package/api/types/WorkflowRequestNumberInputRequest.d.ts +8 -0
- package/api/types/WorkflowRequestNumberInputRequest.js +5 -0
- package/api/types/index.d.ts +38 -17
- package/api/types/index.js +38 -17
- package/core/fetcher/APIResponse.d.ts +1 -0
- package/core/fetcher/Fetcher.d.ts +1 -4
- package/core/fetcher/Fetcher.js +52 -31
- package/core/fetcher/getHeader.d.ts +1 -0
- package/core/{streaming-fetcher → fetcher}/getHeader.js +2 -2
- package/core/fetcher/index.d.ts +1 -0
- package/core/fetcher/index.js +3 -1
- package/core/index.d.ts +0 -1
- package/core/index.js +0 -1
- package/core/streaming-fetcher/Stream.d.ts +3 -2
- package/core/streaming-fetcher/index.d.ts +0 -3
- package/core/streaming-fetcher/index.js +1 -5
- package/dist/Client.d.ts +21 -5
- package/dist/Client.js +137 -44
- package/dist/api/{types → client/requests}/ExecutePromptRequest.d.ts +7 -1
- package/dist/api/client/requests/ExecutePromptRequest.js +5 -0
- package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +20 -0
- package/dist/api/client/requests/ExecutePromptStreamRequest.js +5 -0
- package/dist/api/client/requests/GenerateBodyRequest.d.ts +11 -0
- package/dist/api/client/requests/SubmitCompletionActualsRequest.d.ts +6 -0
- package/dist/api/client/requests/SubmitWorkflowExecutionActualsRequest.d.ts +6 -0
- package/dist/api/client/requests/index.d.ts +2 -0
- package/dist/api/resources/deployments/client/Client.js +2 -2
- package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +6 -0
- package/dist/api/resources/documentIndexes/client/Client.js +2 -2
- package/dist/api/resources/documents/client/Client.d.ts +3 -0
- package/dist/api/resources/documents/client/Client.js +7 -5
- package/dist/api/resources/documents/client/requests/DocumentsListRequest.d.ts +4 -0
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +1 -0
- package/dist/api/resources/sandboxes/client/Client.d.ts +3 -0
- package/dist/api/resources/sandboxes/client/Client.js +5 -2
- package/dist/api/resources/testSuites/client/Client.d.ts +9 -1
- package/dist/api/resources/testSuites/client/Client.js +13 -3
- package/dist/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +17 -0
- package/dist/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js +5 -0
- package/dist/api/resources/testSuites/client/requests/index.d.ts +1 -1
- package/dist/api/types/BlockTypeEnum.d.ts +4 -4
- package/dist/api/types/ChatMessageRole.d.ts +4 -4
- package/{api/types/ErrorExecutePromptResponse.d.ts → dist/api/types/CodeExecutionNodeChatHistoryResult.d.ts} +3 -3
- package/dist/api/types/CodeExecutionNodeChatHistoryResult.js +5 -0
- package/dist/api/types/CodeExecutionNodeErrorResult.d.ts +8 -0
- package/dist/api/types/CodeExecutionNodeErrorResult.js +5 -0
- package/dist/api/types/CodeExecutionNodeJsonResult.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeJsonResult.js +5 -0
- package/dist/api/types/CodeExecutionNodeNumberResult.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeNumberResult.js +5 -0
- package/dist/api/types/CodeExecutionNodeResult.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeResult.js +5 -0
- package/dist/api/types/CodeExecutionNodeResultData.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeResultData.js +5 -0
- package/dist/api/types/CodeExecutionNodeResultOutput.d.ts +25 -0
- package/dist/api/types/CodeExecutionNodeResultOutput.js +5 -0
- package/dist/api/types/CodeExecutionNodeSearchResultsResult.d.ts +8 -0
- package/dist/api/types/CodeExecutionNodeSearchResultsResult.js +5 -0
- package/dist/api/types/CodeExecutionNodeStringResult.d.ts +7 -0
- package/dist/api/types/CodeExecutionNodeStringResult.js +5 -0
- package/dist/api/types/DeploymentRead.d.ts +6 -6
- package/dist/api/types/DeploymentStatus.d.ts +3 -3
- package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +5 -5
- package/dist/api/types/DocumentIndexRead.d.ts +5 -5
- package/dist/api/types/DocumentIndexStatus.d.ts +2 -2
- package/dist/api/types/DocumentRead.d.ts +5 -5
- package/dist/api/types/EnrichedNormalizedCompletion.d.ts +3 -3
- package/dist/api/types/EnvironmentEnum.d.ts +3 -3
- package/dist/api/types/ErrorVariableValue.d.ts +7 -0
- package/dist/api/types/ErrorVariableValue.js +5 -0
- package/dist/api/types/ExecutePromptEvent.d.ts +19 -0
- package/dist/api/types/ExecutePromptEvent.js +5 -0
- package/dist/api/types/ExecutePromptResponse.d.ts +5 -8
- package/dist/api/types/FinishReasonEnum.d.ts +3 -3
- package/dist/api/types/FulfilledEnum.d.ts +4 -0
- package/dist/api/types/FulfilledEnum.js +5 -0
- package/dist/api/types/FulfilledExecutePromptEvent.d.ts +12 -0
- package/dist/api/types/FulfilledExecutePromptEvent.js +5 -0
- package/dist/api/types/FulfilledExecutePromptResponse.d.ts +15 -0
- package/dist/api/types/FulfilledExecutePromptResponse.js +5 -0
- package/dist/api/types/FulfilledPromptExecutionMeta.d.ts +11 -0
- package/dist/api/types/FulfilledPromptExecutionMeta.js +5 -0
- package/dist/api/types/GenerateOptionsRequest.d.ts +2 -2
- package/dist/api/types/IndexingStateEnum.d.ts +5 -5
- package/dist/api/types/InitiatedEnum.d.ts +4 -0
- package/dist/api/types/InitiatedEnum.js +5 -0
- package/dist/api/types/InitiatedExecutePromptEvent.d.ts +11 -0
- package/dist/api/types/InitiatedExecutePromptEvent.js +5 -0
- package/dist/api/types/InitiatedPromptExecutionMeta.d.ts +12 -0
- package/dist/api/types/InitiatedPromptExecutionMeta.js +5 -0
- package/dist/api/types/JsonVariableValue.d.ts +6 -0
- package/dist/api/types/JsonVariableValue.js +5 -0
- package/dist/api/types/LogicalOperator.d.ts +18 -18
- package/dist/api/types/LogprobsEnum.d.ts +2 -2
- package/dist/api/types/MetadataFilterRuleCombinator.d.ts +2 -2
- package/dist/api/types/ModelVersionRead.d.ts +13 -12
- package/dist/api/types/ModelVersionReadStatusEnum.d.ts +4 -4
- package/dist/api/types/{TestCaseChatHistoryVariableValueRequest.d.ts → NamedTestCaseChatHistoryVariableValueRequest.d.ts} +2 -2
- package/dist/api/types/NamedTestCaseChatHistoryVariableValueRequest.js +5 -0
- package/dist/api/types/{TestCaseErrorVariableValueRequest.d.ts → NamedTestCaseErrorVariableValueRequest.d.ts} +2 -2
- package/dist/api/types/NamedTestCaseErrorVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseJsonVariableValueRequest.d.ts +7 -0
- package/dist/api/types/NamedTestCaseJsonVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseNumberVariableValueRequest.d.ts +7 -0
- package/dist/api/types/NamedTestCaseNumberVariableValueRequest.js +5 -0
- package/dist/api/types/{TestCaseSearchResultsVariableValueRequest.d.ts → NamedTestCaseSearchResultsVariableValueRequest.d.ts} +2 -2
- package/dist/api/types/NamedTestCaseSearchResultsVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseStringVariableValueRequest.d.ts +7 -0
- package/dist/api/types/NamedTestCaseStringVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +25 -0
- package/dist/api/types/NamedTestCaseVariableValueRequest.js +5 -0
- package/dist/api/types/ProcessingFailureReasonEnum.d.ts +2 -2
- package/dist/api/types/ProcessingStateEnum.d.ts +4 -4
- package/dist/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +15 -0
- package/dist/api/types/PromptDeploymentExpandMetaRequestRequest.js +5 -0
- package/dist/api/types/PromptExecutionMeta.d.ts +14 -0
- package/dist/api/types/PromptExecutionMeta.js +5 -0
- package/dist/api/types/PromptOutput.d.ts +16 -0
- package/dist/api/types/PromptOutput.js +5 -0
- package/dist/api/types/ProviderEnum.d.ts +15 -13
- package/dist/api/types/ProviderEnum.js +1 -0
- package/dist/api/types/RawPromptExecutionOverridesRequest.d.ts +10 -0
- package/dist/api/types/RawPromptExecutionOverridesRequest.js +5 -0
- package/dist/api/types/RejectedEnum.d.ts +4 -0
- package/dist/api/types/RejectedEnum.js +5 -0
- package/dist/api/types/RejectedExecutePromptEvent.d.ts +12 -0
- package/dist/api/types/RejectedExecutePromptEvent.js +5 -0
- package/dist/api/types/RejectedExecutePromptResponse.d.ts +8 -2
- package/dist/api/types/RejectedPromptExecutionMeta.d.ts +11 -0
- package/dist/api/types/RejectedPromptExecutionMeta.js +5 -0
- package/dist/api/types/ScenarioInputTypeEnum.d.ts +2 -2
- package/dist/api/types/SlimDocument.d.ts +7 -7
- package/dist/api/types/StreamingEnum.d.ts +4 -0
- package/dist/api/types/StreamingEnum.js +5 -0
- package/dist/api/types/StreamingExecutePromptEvent.d.ts +15 -0
- package/dist/api/types/StreamingExecutePromptEvent.js +5 -0
- package/dist/api/types/StreamingPromptExecutionMeta.d.ts +9 -0
- package/dist/api/types/StreamingPromptExecutionMeta.js +5 -0
- package/dist/api/types/StringVariableValue.d.ts +6 -0
- package/dist/api/types/StringVariableValue.js +5 -0
- package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -3
- package/dist/api/types/VellumVariableType.d.ts +9 -7
- package/dist/api/types/VellumVariableType.js +1 -0
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +6 -6
- package/dist/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/dist/api/types/WorkflowNodeResultData.d.ts +4 -1
- package/dist/api/types/WorkflowNodeResultEventState.d.ts +4 -4
- package/dist/api/types/WorkflowRequestInputRequest.d.ts +4 -1
- package/dist/api/types/WorkflowRequestNumberInputRequest.d.ts +8 -0
- package/dist/api/types/WorkflowRequestNumberInputRequest.js +5 -0
- package/dist/api/types/index.d.ts +38 -17
- package/dist/api/types/index.js +38 -17
- package/dist/core/fetcher/APIResponse.d.ts +1 -0
- package/dist/core/fetcher/Fetcher.d.ts +1 -4
- package/dist/core/fetcher/Fetcher.js +52 -31
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/{streaming-fetcher → fetcher}/getHeader.js +2 -2
- package/dist/core/fetcher/index.d.ts +1 -0
- package/dist/core/fetcher/index.js +3 -1
- package/dist/core/index.d.ts +0 -1
- package/dist/core/index.js +0 -1
- package/dist/core/streaming-fetcher/Stream.d.ts +3 -2
- package/dist/core/streaming-fetcher/index.d.ts +0 -3
- package/dist/core/streaming-fetcher/index.js +1 -5
- package/dist/serialization/client/requests/ExecutePromptRequest.d.ts +20 -0
- package/dist/serialization/{types → client/requests}/ExecutePromptRequest.js +8 -2
- package/dist/serialization/client/requests/ExecutePromptStreamRequest.d.ts +20 -0
- package/dist/serialization/client/requests/ExecutePromptStreamRequest.js +52 -0
- package/dist/serialization/client/requests/index.d.ts +2 -0
- package/dist/serialization/client/requests/index.js +5 -1
- package/dist/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +15 -0
- package/{serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → dist/serialization/resources/testSuites/client/requests/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/dist/serialization/types/{TestCaseJsonVariableValueRequest.js → CodeExecutionNodeJsonResult.js} +3 -3
- package/{serialization/types/InitiatedExecutePromptResponse.d.ts → dist/serialization/types/CodeExecutionNodeNumberResult.d.ts} +4 -4
- package/{serialization/types/TestCaseNumberVariableValueRequest.js → dist/serialization/types/CodeExecutionNodeNumberResult.js} +3 -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/FulfilledExecutePromptStreamingResponse.js → dist/serialization/types/CodeExecutionNodeResultData.js} +3 -3
- package/dist/serialization/types/CodeExecutionNodeResultOutput.d.ts +28 -0
- package/dist/serialization/types/{TestCaseVariableValueRequest.js → 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/{TestCaseStringVariableValueRequest.js → CodeExecutionNodeStringResult.js} +3 -3
- package/dist/serialization/types/ErrorVariableValue.d.ts +12 -0
- package/dist/serialization/types/{ErrorExecutePromptResponse.js → ErrorVariableValue.js} +3 -4
- package/dist/serialization/types/{ExecutePromptStreamingResponse.d.ts → ExecutePromptEvent.d.ts} +7 -7
- package/dist/serialization/types/{ExecutePromptStreamingResponse.js → ExecutePromptEvent.js} +6 -6
- package/dist/serialization/types/ExecutePromptResponse.d.ts +5 -8
- package/dist/serialization/types/ExecutePromptResponse.js +3 -4
- package/dist/serialization/types/FulfilledEnum.d.ts +10 -0
- package/dist/serialization/types/FulfilledEnum.js +31 -0
- package/dist/serialization/types/FulfilledExecutePromptEvent.d.ts +14 -0
- package/dist/serialization/types/FulfilledExecutePromptEvent.js +44 -0
- package/dist/serialization/types/FulfilledExecutePromptResponse.d.ts +15 -0
- package/dist/serialization/types/FulfilledExecutePromptResponse.js +45 -0
- package/dist/serialization/types/FulfilledPromptExecutionMeta.d.ts +13 -0
- package/dist/serialization/types/FulfilledPromptExecutionMeta.js +43 -0
- package/dist/serialization/types/InitiatedEnum.d.ts +10 -0
- package/dist/serialization/types/InitiatedEnum.js +31 -0
- package/dist/serialization/types/InitiatedExecutePromptEvent.d.ts +13 -0
- package/dist/serialization/types/{InitiatedExecutePromptResponse.js → InitiatedExecutePromptEvent.js} +3 -3
- package/dist/serialization/types/InitiatedPromptExecutionMeta.d.ts +15 -0
- package/dist/serialization/types/InitiatedPromptExecutionMeta.js +36 -0
- package/dist/serialization/types/JsonVariableValue.d.ts +12 -0
- package/{serialization/types/TestCaseJsonVariableValueRequest.js → dist/serialization/types/JsonVariableValue.js} +2 -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/{JsonExecutePromptResponse.js → NamedTestCaseJsonVariableValueRequest.js} +4 -4
- package/dist/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +13 -0
- package/dist/serialization/types/{TestCaseNumberVariableValueRequest.js → 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/dist/serialization/types/NamedTestCaseVariableValueRequest.js +52 -0
- package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +16 -0
- package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +37 -0
- package/dist/serialization/types/PromptExecutionMeta.d.ts +16 -0
- package/dist/serialization/types/PromptExecutionMeta.js +46 -0
- package/dist/serialization/types/PromptOutput.d.ts +19 -0
- package/dist/serialization/types/PromptOutput.js +49 -0
- package/dist/serialization/types/ProviderEnum.d.ts +1 -1
- package/dist/serialization/types/ProviderEnum.js +1 -0
- package/dist/serialization/types/RawPromptExecutionOverridesRequest.d.ts +14 -0
- package/dist/serialization/types/RawPromptExecutionOverridesRequest.js +35 -0
- package/dist/serialization/types/RejectedEnum.d.ts +10 -0
- package/dist/serialization/types/RejectedEnum.js +31 -0
- package/dist/serialization/types/RejectedExecutePromptEvent.d.ts +14 -0
- package/dist/serialization/types/RejectedExecutePromptEvent.js +44 -0
- package/dist/serialization/types/RejectedExecutePromptResponse.d.ts +3 -2
- package/dist/serialization/types/RejectedExecutePromptResponse.js +3 -2
- package/dist/serialization/types/RejectedPromptExecutionMeta.d.ts +13 -0
- package/dist/serialization/types/{InitiatedExecutePromptStreamingResponse.js → RejectedPromptExecutionMeta.js} +4 -3
- package/dist/serialization/types/StreamingEnum.d.ts +10 -0
- package/dist/serialization/types/StreamingEnum.js +31 -0
- package/dist/serialization/types/StreamingExecutePromptEvent.d.ts +16 -0
- package/dist/serialization/types/StreamingExecutePromptEvent.js +46 -0
- package/dist/serialization/types/StreamingPromptExecutionMeta.d.ts +12 -0
- package/{serialization/types/StringExecutePromptResponse.js → dist/serialization/types/StreamingPromptExecutionMeta.js} +3 -4
- package/dist/serialization/types/StringVariableValue.d.ts +12 -0
- package/dist/serialization/types/{StringExecutePromptResponse.js → StringVariableValue.js} +3 -4
- package/dist/serialization/types/VellumVariableType.d.ts +1 -1
- package/dist/serialization/types/VellumVariableType.js +1 -1
- package/dist/serialization/types/WorkflowNodeResultData.d.ts +4 -1
- package/dist/serialization/types/WorkflowNodeResultData.js +1 -0
- package/dist/serialization/types/WorkflowRequestInputRequest.d.ts +4 -1
- package/dist/serialization/types/WorkflowRequestInputRequest.js +1 -0
- package/dist/serialization/types/WorkflowRequestNumberInputRequest.d.ts +13 -0
- package/dist/serialization/types/WorkflowRequestNumberInputRequest.js +34 -0
- package/dist/serialization/types/index.d.ts +38 -17
- package/dist/serialization/types/index.js +38 -17
- package/package.json +6 -5
- package/serialization/client/requests/ExecutePromptRequest.d.ts +20 -0
- package/serialization/{types → client/requests}/ExecutePromptRequest.js +8 -2
- package/serialization/client/requests/ExecutePromptStreamRequest.d.ts +20 -0
- package/serialization/client/requests/ExecutePromptStreamRequest.js +52 -0
- package/serialization/client/requests/index.d.ts +2 -0
- package/serialization/client/requests/index.js +5 -1
- package/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +15 -0
- package/{dist/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → serialization/resources/testSuites/client/requests/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/serialization/types/CodeExecutionNodeErrorResult.js +43 -0
- package/serialization/types/CodeExecutionNodeJsonResult.d.ts +13 -0
- package/serialization/types/{JsonExecutePromptResponse.js → CodeExecutionNodeJsonResult.js} +4 -4
- package/{dist/serialization/types/InitiatedExecutePromptResponse.d.ts → serialization/types/CodeExecutionNodeNumberResult.d.ts} +4 -4
- package/serialization/types/CodeExecutionNodeNumberResult.js +34 -0
- 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/{dist/serialization/types/FulfilledExecutePromptStreamingResponse.js → serialization/types/CodeExecutionNodeResultData.js} +3 -3
- package/serialization/types/CodeExecutionNodeResultOutput.d.ts +28 -0
- package/serialization/types/{TestCaseVariableValueRequest.js → 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/serialization/types/CodeExecutionNodeStringResult.js +34 -0
- package/serialization/types/ErrorVariableValue.d.ts +12 -0
- package/serialization/types/ErrorVariableValue.js +42 -0
- package/serialization/types/{ExecutePromptStreamingResponse.d.ts → ExecutePromptEvent.d.ts} +7 -7
- package/serialization/types/{ExecutePromptStreamingResponse.js → ExecutePromptEvent.js} +6 -6
- package/serialization/types/ExecutePromptResponse.d.ts +5 -8
- package/serialization/types/ExecutePromptResponse.js +3 -4
- package/serialization/types/FulfilledEnum.d.ts +10 -0
- package/serialization/types/FulfilledEnum.js +31 -0
- package/serialization/types/FulfilledExecutePromptEvent.d.ts +14 -0
- package/serialization/types/FulfilledExecutePromptEvent.js +44 -0
- package/serialization/types/FulfilledExecutePromptResponse.d.ts +15 -0
- package/serialization/types/FulfilledExecutePromptResponse.js +45 -0
- package/serialization/types/FulfilledPromptExecutionMeta.d.ts +13 -0
- package/serialization/types/FulfilledPromptExecutionMeta.js +43 -0
- package/serialization/types/InitiatedEnum.d.ts +10 -0
- package/serialization/types/InitiatedEnum.js +31 -0
- package/serialization/types/InitiatedExecutePromptEvent.d.ts +13 -0
- package/serialization/types/{InitiatedExecutePromptResponse.js → InitiatedExecutePromptEvent.js} +3 -3
- package/serialization/types/InitiatedPromptExecutionMeta.d.ts +15 -0
- package/serialization/types/InitiatedPromptExecutionMeta.js +36 -0
- package/serialization/types/JsonVariableValue.d.ts +12 -0
- package/serialization/types/JsonVariableValue.js +33 -0
- 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/NamedTestCaseJsonVariableValueRequest.js +34 -0
- 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/serialization/types/NamedTestCaseVariableValueRequest.js +52 -0
- package/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +16 -0
- package/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +37 -0
- package/serialization/types/PromptExecutionMeta.d.ts +16 -0
- package/serialization/types/PromptExecutionMeta.js +46 -0
- package/serialization/types/PromptOutput.d.ts +19 -0
- package/serialization/types/PromptOutput.js +49 -0
- package/serialization/types/ProviderEnum.d.ts +1 -1
- package/serialization/types/ProviderEnum.js +1 -0
- package/serialization/types/RawPromptExecutionOverridesRequest.d.ts +14 -0
- package/serialization/types/RawPromptExecutionOverridesRequest.js +35 -0
- package/serialization/types/RejectedEnum.d.ts +10 -0
- package/serialization/types/RejectedEnum.js +31 -0
- package/serialization/types/RejectedExecutePromptEvent.d.ts +14 -0
- package/serialization/types/RejectedExecutePromptEvent.js +44 -0
- package/serialization/types/RejectedExecutePromptResponse.d.ts +3 -2
- package/serialization/types/RejectedExecutePromptResponse.js +3 -2
- package/serialization/types/RejectedPromptExecutionMeta.d.ts +13 -0
- package/serialization/types/RejectedPromptExecutionMeta.js +43 -0
- package/serialization/types/StreamingEnum.d.ts +10 -0
- package/serialization/types/StreamingEnum.js +31 -0
- package/serialization/types/StreamingExecutePromptEvent.d.ts +16 -0
- package/serialization/types/StreamingExecutePromptEvent.js +46 -0
- package/serialization/types/StreamingPromptExecutionMeta.d.ts +12 -0
- package/serialization/types/StreamingPromptExecutionMeta.js +33 -0
- package/serialization/types/StringVariableValue.d.ts +12 -0
- package/serialization/types/StringVariableValue.js +33 -0
- package/serialization/types/VellumVariableType.d.ts +1 -1
- package/serialization/types/VellumVariableType.js +1 -1
- package/serialization/types/WorkflowNodeResultData.d.ts +4 -1
- package/serialization/types/WorkflowNodeResultData.js +1 -0
- package/serialization/types/WorkflowRequestInputRequest.d.ts +4 -1
- package/serialization/types/WorkflowRequestInputRequest.js +1 -0
- package/serialization/types/WorkflowRequestNumberInputRequest.d.ts +13 -0
- package/serialization/types/WorkflowRequestNumberInputRequest.js +34 -0
- package/serialization/types/index.d.ts +38 -17
- package/serialization/types/index.js +38 -17
- package/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -10
- 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/RejectedExecutePromptStreamingResponse.d.ts +0 -7
- package/api/types/StringExecutePromptResponse.d.ts +0 -7
- package/api/types/TestCaseVariableValueRequest.d.ts +0 -25
- package/core/form-data-utils/getFormDataContentLength.d.ts +0 -2
- package/core/form-data-utils/getFormDataContentLength.js +0 -27
- package/core/form-data-utils/index.d.ts +0 -1
- package/core/form-data-utils/index.js +0 -5
- package/core/streaming-fetcher/StreamingFetcher.d.ts +0 -24
- package/core/streaming-fetcher/StreamingFetcher.js +0 -58
- package/core/streaming-fetcher/getHeader.d.ts +0 -2
- package/dist/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -10
- 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/RejectedExecutePromptStreamingResponse.d.ts +0 -7
- package/dist/api/types/StringExecutePromptResponse.d.ts +0 -7
- package/dist/api/types/TestCaseVariableValueRequest.d.ts +0 -25
- package/dist/core/form-data-utils/getFormDataContentLength.d.ts +0 -2
- package/dist/core/form-data-utils/getFormDataContentLength.js +0 -27
- package/dist/core/form-data-utils/index.d.ts +0 -1
- package/dist/core/form-data-utils/index.js +0 -5
- package/dist/core/streaming-fetcher/StreamingFetcher.d.ts +0 -24
- package/dist/core/streaming-fetcher/StreamingFetcher.js +0 -58
- package/dist/core/streaming-fetcher/getHeader.d.ts +0 -2
- 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/ExecutePromptRequest.d.ts +0 -16
- package/dist/serialization/types/FulfilledExecutePromptStreamingResponse.d.ts +0 -12
- package/dist/serialization/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -12
- package/dist/serialization/types/JsonExecutePromptResponse.d.ts +0 -13
- 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/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/ExecutePromptRequest.d.ts +0 -16
- package/serialization/types/FulfilledExecutePromptStreamingResponse.d.ts +0 -12
- 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/RejectedExecutePromptStreamingResponse.d.ts +0 -12
- package/serialization/types/StreamingExecutePromptStreamingResponse.d.ts +0 -12
- package/serialization/types/StreamingExecutePromptStreamingResponse.js +0 -42
- package/serialization/types/StringExecutePromptResponse.d.ts +0 -13
- 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/{types → client/requests}/ExecutePromptRequest.js +0 -0
- /package/api/{resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → client/requests/ExecutePromptStreamRequest.js} +0 -0
- /package/api/{types/ErrorExecutePromptResponse.js → resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js} +0 -0
- /package/api/types/{ExecutePromptStreamingResponse.js → CodeExecutionNodeChatHistoryResult.js} +0 -0
- /package/api/types/{FulfilledExecutePromptStreamingResponse.js → CodeExecutionNodeErrorResult.js} +0 -0
- /package/api/types/{InitiatedExecutePromptResponse.js → CodeExecutionNodeJsonResult.js} +0 -0
- /package/api/types/{InitiatedExecutePromptStreamingResponse.js → CodeExecutionNodeNumberResult.js} +0 -0
- /package/api/types/{JsonExecutePromptResponse.js → CodeExecutionNodeResult.js} +0 -0
- /package/api/types/{RejectedExecutePromptStreamingResponse.js → CodeExecutionNodeResultData.js} +0 -0
- /package/api/types/{StreamingExecutePromptStreamingResponse.js → CodeExecutionNodeResultOutput.js} +0 -0
- /package/api/types/{StringExecutePromptResponse.js → CodeExecutionNodeSearchResultsResult.js} +0 -0
- /package/api/types/{TestCaseChatHistoryVariableValueRequest.js → CodeExecutionNodeStringResult.js} +0 -0
- /package/api/types/{TestCaseErrorVariableValueRequest.js → ErrorVariableValue.js} +0 -0
- /package/api/types/{TestCaseJsonVariableValueRequest.js → ExecutePromptEvent.js} +0 -0
- /package/api/types/{TestCaseNumberVariableValueRequest.js → FulfilledEnum.js} +0 -0
- /package/api/types/{TestCaseSearchResultsVariableValueRequest.js → FulfilledExecutePromptEvent.js} +0 -0
- /package/api/types/{TestCaseStringVariableValueRequest.js → FulfilledExecutePromptResponse.js} +0 -0
- /package/api/types/{TestCaseVariableValueRequest.js → FulfilledPromptExecutionMeta.js} +0 -0
- /package/{dist/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → api/types/InitiatedEnum.js} +0 -0
- /package/{dist/api/types/ErrorExecutePromptResponse.js → api/types/InitiatedExecutePromptEvent.js} +0 -0
- /package/{dist/api/types/ExecutePromptRequest.js → api/types/InitiatedPromptExecutionMeta.js} +0 -0
- /package/{dist/api/types/ExecutePromptStreamingResponse.js → api/types/JsonVariableValue.js} +0 -0
- /package/{dist/api/types/FulfilledExecutePromptStreamingResponse.js → api/types/NamedTestCaseChatHistoryVariableValueRequest.js} +0 -0
- /package/{dist/api/types/InitiatedExecutePromptResponse.js → api/types/NamedTestCaseErrorVariableValueRequest.js} +0 -0
- /package/{dist/api/types/InitiatedExecutePromptStreamingResponse.js → api/types/NamedTestCaseJsonVariableValueRequest.js} +0 -0
- /package/{dist/api/types/JsonExecutePromptResponse.js → api/types/NamedTestCaseNumberVariableValueRequest.js} +0 -0
- /package/{dist/api/types/RejectedExecutePromptStreamingResponse.js → api/types/NamedTestCaseSearchResultsVariableValueRequest.js} +0 -0
- /package/{dist/api/types/StreamingExecutePromptStreamingResponse.js → api/types/NamedTestCaseStringVariableValueRequest.js} +0 -0
- /package/{dist/api/types/StringExecutePromptResponse.js → api/types/NamedTestCaseVariableValueRequest.js} +0 -0
- /package/{dist/api/types/TestCaseChatHistoryVariableValueRequest.js → api/types/PromptDeploymentExpandMetaRequestRequest.js} +0 -0
- /package/{dist/api/types/TestCaseErrorVariableValueRequest.js → api/types/PromptExecutionMeta.js} +0 -0
- /package/{dist/api/types/TestCaseJsonVariableValueRequest.js → api/types/PromptOutput.js} +0 -0
- /package/{dist/api/types/TestCaseNumberVariableValueRequest.js → api/types/RawPromptExecutionOverridesRequest.js} +0 -0
- /package/{dist/api/types/TestCaseSearchResultsVariableValueRequest.js → api/types/RejectedEnum.js} +0 -0
- /package/{dist/api/types/TestCaseStringVariableValueRequest.js → api/types/RejectedExecutePromptEvent.js} +0 -0
- /package/{dist/api/types/TestCaseVariableValueRequest.js → api/types/RejectedPromptExecutionMeta.js} +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
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 ErrorExecutePromptResponse: core.serialization.ObjectSchema<serializers.ErrorExecutePromptResponse.Raw, Vellum.ErrorExecutePromptResponse>;
|
|
8
|
-
export declare namespace ErrorExecutePromptResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
execution_id: string;
|
|
11
|
-
value: serializers.VellumError.Raw;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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 ExecutePromptRequest: core.serialization.ObjectSchema<serializers.ExecutePromptRequest.Raw, Vellum.ExecutePromptRequest>;
|
|
8
|
-
export declare namespace ExecutePromptRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
inputs: serializers.PromptDeploymentInputRequest.Raw[];
|
|
11
|
-
prompt_deployment_id?: string | null;
|
|
12
|
-
prompt_deployment_name?: string | null;
|
|
13
|
-
release_tag?: string | null;
|
|
14
|
-
external_id?: string | null;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 FulfilledExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.FulfilledExecutePromptStreamingResponse.Raw, Vellum.FulfilledExecutePromptStreamingResponse>;
|
|
8
|
-
export declare namespace FulfilledExecutePromptStreamingResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data: serializers.ExecutePromptResponse.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 InitiatedExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.InitiatedExecutePromptStreamingResponse.Raw, Vellum.InitiatedExecutePromptStreamingResponse>;
|
|
8
|
-
export declare namespace InitiatedExecutePromptStreamingResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data: serializers.InitiatedExecutePromptResponse.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 JsonExecutePromptResponse: core.serialization.ObjectSchema<serializers.JsonExecutePromptResponse.Raw, Vellum.JsonExecutePromptResponse>;
|
|
8
|
-
export declare namespace JsonExecutePromptResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
execution_id: string;
|
|
11
|
-
value: Record<string, unknown>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 RejectedExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.RejectedExecutePromptStreamingResponse.Raw, Vellum.RejectedExecutePromptStreamingResponse>;
|
|
8
|
-
export declare namespace RejectedExecutePromptStreamingResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data: serializers.RejectedExecutePromptResponse.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 StreamingExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.StreamingExecutePromptStreamingResponse.Raw, Vellum.StreamingExecutePromptStreamingResponse>;
|
|
8
|
-
export declare namespace StreamingExecutePromptStreamingResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data: serializers.ExecutePromptResponse.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.StreamingExecutePromptStreamingResponse = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.StreamingExecutePromptStreamingResponse = core.serialization.object({
|
|
41
|
-
data: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutePromptResponse; })),
|
|
42
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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 StringExecutePromptResponse: core.serialization.ObjectSchema<serializers.StringExecutePromptResponse.Raw, Vellum.StringExecutePromptResponse>;
|
|
8
|
-
export declare namespace StringExecutePromptResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
execution_id: string;
|
|
11
|
-
value: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseChatHistoryVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseChatHistoryVariableValueRequest.Raw, Vellum.TestCaseChatHistoryVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseChatHistoryVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: serializers.ChatMessageRequest.Raw[] | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseErrorVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseErrorVariableValueRequest.Raw, Vellum.TestCaseErrorVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseErrorVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: serializers.VellumErrorRequest.Raw | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseJsonVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseJsonVariableValueRequest.Raw, Vellum.TestCaseJsonVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseJsonVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: Record<string, unknown> | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseNumberVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseNumberVariableValueRequest.Raw, Vellum.TestCaseNumberVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseNumberVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: number | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseSearchResultsVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseSearchResultsVariableValueRequest.Raw, Vellum.TestCaseSearchResultsVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseSearchResultsVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: serializers.SearchResultRequest.Raw[] | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseStringVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseStringVariableValueRequest.Raw, Vellum.TestCaseStringVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseStringVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: string | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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 TestCaseVariableValueRequest: core.serialization.Schema<serializers.TestCaseVariableValueRequest.Raw, Vellum.TestCaseVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseVariableValueRequest {
|
|
9
|
-
type Raw = TestCaseVariableValueRequest.String | TestCaseVariableValueRequest.Number | TestCaseVariableValueRequest.Json | TestCaseVariableValueRequest.ChatHistory | TestCaseVariableValueRequest.SearchResults | TestCaseVariableValueRequest.Error;
|
|
10
|
-
interface String extends serializers.TestCaseStringVariableValueRequest.Raw {
|
|
11
|
-
type: "STRING";
|
|
12
|
-
}
|
|
13
|
-
interface Number extends serializers.TestCaseNumberVariableValueRequest.Raw {
|
|
14
|
-
type: "NUMBER";
|
|
15
|
-
}
|
|
16
|
-
interface Json extends serializers.TestCaseJsonVariableValueRequest.Raw {
|
|
17
|
-
type: "JSON";
|
|
18
|
-
}
|
|
19
|
-
interface ChatHistory extends serializers.TestCaseChatHistoryVariableValueRequest.Raw {
|
|
20
|
-
type: "CHAT_HISTORY";
|
|
21
|
-
}
|
|
22
|
-
interface SearchResults extends serializers.TestCaseSearchResultsVariableValueRequest.Raw {
|
|
23
|
-
type: "SEARCH_RESULTS";
|
|
24
|
-
}
|
|
25
|
-
interface Error extends serializers.TestCaseErrorVariableValueRequest.Raw {
|
|
26
|
-
type: "ERROR";
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 TestSuiteTestCaseRequest: core.serialization.Schema<serializers.TestSuiteTestCaseRequest.Raw, Vellum.TestSuiteTestCaseRequest>;
|
|
8
|
-
export declare namespace TestSuiteTestCaseRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id?: string | null;
|
|
11
|
-
label?: string | null;
|
|
12
|
-
input_values: serializers.TestCaseVariableValueRequest.Raw[];
|
|
13
|
-
evaluation_values: serializers.TestCaseVariableValueRequest.Raw[];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 ErrorExecutePromptResponse: core.serialization.ObjectSchema<serializers.ErrorExecutePromptResponse.Raw, Vellum.ErrorExecutePromptResponse>;
|
|
8
|
-
export declare namespace ErrorExecutePromptResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
execution_id: string;
|
|
11
|
-
value: serializers.VellumError.Raw;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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 ExecutePromptRequest: core.serialization.ObjectSchema<serializers.ExecutePromptRequest.Raw, Vellum.ExecutePromptRequest>;
|
|
8
|
-
export declare namespace ExecutePromptRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
inputs: serializers.PromptDeploymentInputRequest.Raw[];
|
|
11
|
-
prompt_deployment_id?: string | null;
|
|
12
|
-
prompt_deployment_name?: string | null;
|
|
13
|
-
release_tag?: string | null;
|
|
14
|
-
external_id?: string | null;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 FulfilledExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.FulfilledExecutePromptStreamingResponse.Raw, Vellum.FulfilledExecutePromptStreamingResponse>;
|
|
8
|
-
export declare namespace FulfilledExecutePromptStreamingResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data: serializers.ExecutePromptResponse.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 InitiatedExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.InitiatedExecutePromptStreamingResponse.Raw, Vellum.InitiatedExecutePromptStreamingResponse>;
|
|
8
|
-
export declare namespace InitiatedExecutePromptStreamingResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data: serializers.InitiatedExecutePromptResponse.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.InitiatedExecutePromptStreamingResponse = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.InitiatedExecutePromptStreamingResponse = core.serialization.object({
|
|
41
|
-
data: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).InitiatedExecutePromptResponse; })),
|
|
42
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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 JsonExecutePromptResponse: core.serialization.ObjectSchema<serializers.JsonExecutePromptResponse.Raw, Vellum.JsonExecutePromptResponse>;
|
|
8
|
-
export declare namespace JsonExecutePromptResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
execution_id: string;
|
|
11
|
-
value: Record<string, unknown>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 RejectedExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.RejectedExecutePromptStreamingResponse.Raw, Vellum.RejectedExecutePromptStreamingResponse>;
|
|
8
|
-
export declare namespace RejectedExecutePromptStreamingResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data: serializers.RejectedExecutePromptResponse.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 StreamingExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.StreamingExecutePromptStreamingResponse.Raw, Vellum.StreamingExecutePromptStreamingResponse>;
|
|
8
|
-
export declare namespace StreamingExecutePromptStreamingResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data: serializers.ExecutePromptResponse.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.StreamingExecutePromptStreamingResponse = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.StreamingExecutePromptStreamingResponse = core.serialization.object({
|
|
41
|
-
data: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutePromptResponse; })),
|
|
42
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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 StringExecutePromptResponse: core.serialization.ObjectSchema<serializers.StringExecutePromptResponse.Raw, Vellum.StringExecutePromptResponse>;
|
|
8
|
-
export declare namespace StringExecutePromptResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
execution_id: string;
|
|
11
|
-
value: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseChatHistoryVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseChatHistoryVariableValueRequest.Raw, Vellum.TestCaseChatHistoryVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseChatHistoryVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: serializers.ChatMessageRequest.Raw[] | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseErrorVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseErrorVariableValueRequest.Raw, Vellum.TestCaseErrorVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseErrorVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: serializers.VellumErrorRequest.Raw | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseJsonVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseJsonVariableValueRequest.Raw, Vellum.TestCaseJsonVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseJsonVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: Record<string, unknown> | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseNumberVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseNumberVariableValueRequest.Raw, Vellum.TestCaseNumberVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseNumberVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: number | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseSearchResultsVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseSearchResultsVariableValueRequest.Raw, Vellum.TestCaseSearchResultsVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseSearchResultsVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: serializers.SearchResultRequest.Raw[] | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 TestCaseStringVariableValueRequest: core.serialization.ObjectSchema<serializers.TestCaseStringVariableValueRequest.Raw, Vellum.TestCaseStringVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseStringVariableValueRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
variable_id: string;
|
|
11
|
-
value?: string | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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 TestCaseVariableValueRequest: core.serialization.Schema<serializers.TestCaseVariableValueRequest.Raw, Vellum.TestCaseVariableValueRequest>;
|
|
8
|
-
export declare namespace TestCaseVariableValueRequest {
|
|
9
|
-
type Raw = TestCaseVariableValueRequest.String | TestCaseVariableValueRequest.Number | TestCaseVariableValueRequest.Json | TestCaseVariableValueRequest.ChatHistory | TestCaseVariableValueRequest.SearchResults | TestCaseVariableValueRequest.Error;
|
|
10
|
-
interface String extends serializers.TestCaseStringVariableValueRequest.Raw {
|
|
11
|
-
type: "STRING";
|
|
12
|
-
}
|
|
13
|
-
interface Number extends serializers.TestCaseNumberVariableValueRequest.Raw {
|
|
14
|
-
type: "NUMBER";
|
|
15
|
-
}
|
|
16
|
-
interface Json extends serializers.TestCaseJsonVariableValueRequest.Raw {
|
|
17
|
-
type: "JSON";
|
|
18
|
-
}
|
|
19
|
-
interface ChatHistory extends serializers.TestCaseChatHistoryVariableValueRequest.Raw {
|
|
20
|
-
type: "CHAT_HISTORY";
|
|
21
|
-
}
|
|
22
|
-
interface SearchResults extends serializers.TestCaseSearchResultsVariableValueRequest.Raw {
|
|
23
|
-
type: "SEARCH_RESULTS";
|
|
24
|
-
}
|
|
25
|
-
interface Error extends serializers.TestCaseErrorVariableValueRequest.Raw {
|
|
26
|
-
type: "ERROR";
|
|
27
|
-
}
|
|
28
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/api/types/{ExecutePromptStreamingResponse.js → CodeExecutionNodeChatHistoryResult.js}
RENAMED
|
File without changes
|
/package/api/types/{FulfilledExecutePromptStreamingResponse.js → CodeExecutionNodeErrorResult.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/api/types/{InitiatedExecutePromptStreamingResponse.js → CodeExecutionNodeNumberResult.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/api/types/{RejectedExecutePromptStreamingResponse.js → CodeExecutionNodeResultData.js}
RENAMED
|
File without changes
|