vellum-ai 0.4.0 → 0.4.2
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 -6
- package/Client.js +17 -27
- package/api/errors/index.d.ts +0 -1
- package/api/errors/index.js +0 -1
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +6 -6
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/index.d.ts +0 -3
- package/api/resources/index.js +1 -4
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +3 -3
- package/api/resources/workflowDeployments/client/Client.js +2 -2
- package/api/types/index.d.ts +0 -39
- package/api/types/index.js +0 -39
- package/dist/Client.d.ts +0 -6
- package/dist/Client.js +17 -27
- package/dist/api/errors/index.d.ts +0 -1
- package/dist/api/errors/index.js +0 -1
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +6 -6
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +0 -3
- package/dist/api/resources/index.js +1 -4
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
- package/dist/api/types/index.d.ts +0 -39
- package/dist/api/types/index.js +0 -39
- package/dist/serialization/resources/index.d.ts +0 -2
- package/dist/serialization/resources/index.js +1 -3
- package/dist/serialization/types/index.d.ts +0 -39
- package/dist/serialization/types/index.js +0 -39
- package/package.json +1 -1
- package/serialization/resources/index.d.ts +0 -2
- package/serialization/resources/index.js +1 -3
- package/serialization/types/index.d.ts +0 -39
- package/serialization/types/index.js +0 -39
- package/api/errors/ConflictError.d.ts +0 -8
- package/api/errors/ConflictError.js +0 -41
- package/api/resources/modelVersions/client/Client.d.ts +0 -30
- package/api/resources/modelVersions/client/Client.js +0 -105
- package/api/resources/modelVersions/client/index.d.ts +0 -1
- package/api/resources/modelVersions/client/index.js +0 -2
- package/api/resources/modelVersions/index.d.ts +0 -1
- package/api/resources/modelVersions/index.js +0 -17
- package/api/resources/registeredPrompts/client/Client.d.ts +0 -56
- package/api/resources/registeredPrompts/client/Client.js +0 -149
- package/api/resources/registeredPrompts/client/index.d.ts +0 -1
- package/api/resources/registeredPrompts/client/index.js +0 -17
- package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +0 -60
- package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +0 -5
- package/api/resources/registeredPrompts/client/requests/index.d.ts +0 -1
- package/api/resources/registeredPrompts/client/requests/index.js +0 -2
- package/api/resources/registeredPrompts/index.d.ts +0 -1
- package/api/resources/registeredPrompts/index.js +0 -17
- package/api/types/ChatHistoryPromptTemplateBlock.d.ts +0 -12
- package/api/types/ChatHistoryPromptTemplateBlock.js +0 -5
- package/api/types/ChatHistoryPromptTemplateBlockRequest.d.ts +0 -12
- package/api/types/ChatHistoryPromptTemplateBlockRequest.js +0 -5
- package/api/types/ChatMessageEnum.d.ts +0 -4
- package/api/types/ChatMessageEnum.js +0 -5
- package/api/types/ChatMessagePromptTemplateBlock.d.ts +0 -12
- package/api/types/ChatMessagePromptTemplateBlock.js +0 -5
- package/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -13
- package/api/types/ChatMessagePromptTemplateBlockProperties.js +0 -5
- package/api/types/ChatMessagePromptTemplateBlockPropertiesRequest.d.ts +0 -13
- package/api/types/ChatMessagePromptTemplateBlockPropertiesRequest.js +0 -5
- package/api/types/ChatMessagePromptTemplateBlockRequest.d.ts +0 -12
- package/api/types/ChatMessagePromptTemplateBlockRequest.js +0 -5
- package/api/types/FunctionDefinitionEnum.d.ts +0 -4
- package/api/types/FunctionDefinitionEnum.js +0 -5
- package/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -12
- package/api/types/FunctionDefinitionPromptTemplateBlock.js +0 -5
- package/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -13
- package/api/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -5
- package/api/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.d.ts +0 -13
- package/api/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.js +0 -5
- package/api/types/FunctionDefinitionPromptTemplateBlockRequest.d.ts +0 -12
- package/api/types/FunctionDefinitionPromptTemplateBlockRequest.js +0 -5
- package/api/types/JinjaEnum.d.ts +0 -4
- package/api/types/JinjaEnum.js +0 -5
- package/api/types/JinjaPromptTemplateBlock.d.ts +0 -12
- package/api/types/JinjaPromptTemplateBlock.js +0 -5
- package/api/types/JinjaPromptTemplateBlockProperties.d.ts +0 -8
- package/api/types/JinjaPromptTemplateBlockProperties.js +0 -5
- package/api/types/JinjaPromptTemplateBlockPropertiesRequest.d.ts +0 -8
- package/api/types/JinjaPromptTemplateBlockPropertiesRequest.js +0 -5
- package/api/types/JinjaPromptTemplateBlockRequest.d.ts +0 -12
- package/api/types/JinjaPromptTemplateBlockRequest.js +0 -5
- package/api/types/ModelVersionBuildConfig.d.ts +0 -11
- package/api/types/ModelVersionBuildConfig.js +0 -5
- package/api/types/ModelVersionExecConfig.d.ts +0 -14
- package/api/types/ModelVersionExecConfig.js +0 -5
- package/api/types/ModelVersionExecConfigParameters.d.ts +0 -14
- package/api/types/ModelVersionExecConfigParameters.js +0 -5
- package/api/types/ModelVersionRead.d.ts +0 -37
- package/api/types/ModelVersionRead.js +0 -5
- package/api/types/ModelVersionReadStatusEnum.d.ts +0 -16
- package/api/types/ModelVersionReadStatusEnum.js +0 -12
- package/api/types/ModelVersionSandboxSnapshot.d.ts +0 -12
- package/api/types/ModelVersionSandboxSnapshot.js +0 -5
- package/api/types/PromptTemplateBlock.d.ts +0 -19
- package/api/types/PromptTemplateBlock.js +0 -5
- package/api/types/PromptTemplateBlockData.d.ts +0 -8
- package/api/types/PromptTemplateBlockData.js +0 -5
- package/api/types/PromptTemplateBlockDataRequest.d.ts +0 -8
- package/api/types/PromptTemplateBlockDataRequest.js +0 -5
- package/api/types/PromptTemplateBlockRequest.d.ts +0 -19
- package/api/types/PromptTemplateBlockRequest.js +0 -5
- package/api/types/PromptTemplateBlockState.d.ts +0 -12
- package/api/types/PromptTemplateBlockState.js +0 -10
- package/api/types/ProviderEnum.d.ts +0 -34
- package/api/types/ProviderEnum.js +0 -21
- package/api/types/RegisterPromptErrorResponse.d.ts +0 -7
- package/api/types/RegisterPromptErrorResponse.js +0 -5
- package/api/types/RegisterPromptModelParametersRequest.d.ts +0 -14
- package/api/types/RegisterPromptModelParametersRequest.js +0 -5
- package/api/types/RegisterPromptPrompt.d.ts +0 -9
- package/api/types/RegisterPromptPrompt.js +0 -5
- package/api/types/RegisterPromptPromptInfoRequest.d.ts +0 -9
- package/api/types/RegisterPromptPromptInfoRequest.js +0 -5
- package/api/types/RegisterPromptResponse.d.ts +0 -18
- package/api/types/RegisterPromptResponse.js +0 -5
- package/api/types/RegisteredPromptDeployment.d.ts +0 -11
- package/api/types/RegisteredPromptDeployment.js +0 -5
- package/api/types/RegisteredPromptInputVariableRequest.d.ts +0 -9
- package/api/types/RegisteredPromptInputVariableRequest.js +0 -5
- package/api/types/RegisteredPromptModelVersion.d.ts +0 -9
- package/api/types/RegisteredPromptModelVersion.js +0 -5
- package/api/types/RegisteredPromptSandbox.d.ts +0 -9
- package/api/types/RegisteredPromptSandbox.js +0 -5
- package/api/types/RegisteredPromptSandboxSnapshot.d.ts +0 -7
- package/api/types/RegisteredPromptSandboxSnapshot.js +0 -5
- package/dist/api/errors/ConflictError.d.ts +0 -8
- package/dist/api/errors/ConflictError.js +0 -41
- package/dist/api/resources/modelVersions/client/Client.d.ts +0 -30
- package/dist/api/resources/modelVersions/client/Client.js +0 -105
- package/dist/api/resources/modelVersions/client/index.d.ts +0 -1
- package/dist/api/resources/modelVersions/client/index.js +0 -2
- package/dist/api/resources/modelVersions/index.d.ts +0 -1
- package/dist/api/resources/modelVersions/index.js +0 -17
- package/dist/api/resources/registeredPrompts/client/Client.d.ts +0 -56
- package/dist/api/resources/registeredPrompts/client/Client.js +0 -149
- package/dist/api/resources/registeredPrompts/client/index.d.ts +0 -1
- package/dist/api/resources/registeredPrompts/client/index.js +0 -17
- package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +0 -60
- package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +0 -5
- package/dist/api/resources/registeredPrompts/client/requests/index.d.ts +0 -1
- package/dist/api/resources/registeredPrompts/client/requests/index.js +0 -2
- package/dist/api/resources/registeredPrompts/index.d.ts +0 -1
- package/dist/api/resources/registeredPrompts/index.js +0 -17
- package/dist/api/types/ChatHistoryPromptTemplateBlock.d.ts +0 -12
- package/dist/api/types/ChatHistoryPromptTemplateBlock.js +0 -5
- package/dist/api/types/ChatHistoryPromptTemplateBlockRequest.d.ts +0 -12
- package/dist/api/types/ChatHistoryPromptTemplateBlockRequest.js +0 -5
- package/dist/api/types/ChatMessageEnum.d.ts +0 -4
- package/dist/api/types/ChatMessageEnum.js +0 -5
- package/dist/api/types/ChatMessagePromptTemplateBlock.d.ts +0 -12
- package/dist/api/types/ChatMessagePromptTemplateBlock.js +0 -5
- package/dist/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -13
- package/dist/api/types/ChatMessagePromptTemplateBlockProperties.js +0 -5
- package/dist/api/types/ChatMessagePromptTemplateBlockPropertiesRequest.d.ts +0 -13
- package/dist/api/types/ChatMessagePromptTemplateBlockPropertiesRequest.js +0 -5
- package/dist/api/types/ChatMessagePromptTemplateBlockRequest.d.ts +0 -12
- package/dist/api/types/ChatMessagePromptTemplateBlockRequest.js +0 -5
- package/dist/api/types/FunctionDefinitionEnum.d.ts +0 -4
- package/dist/api/types/FunctionDefinitionEnum.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -12
- package/dist/api/types/FunctionDefinitionPromptTemplateBlock.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -13
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.d.ts +0 -13
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockRequest.d.ts +0 -12
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockRequest.js +0 -5
- package/dist/api/types/JinjaEnum.d.ts +0 -4
- package/dist/api/types/JinjaEnum.js +0 -5
- package/dist/api/types/JinjaPromptTemplateBlock.d.ts +0 -12
- package/dist/api/types/JinjaPromptTemplateBlock.js +0 -5
- package/dist/api/types/JinjaPromptTemplateBlockProperties.d.ts +0 -8
- package/dist/api/types/JinjaPromptTemplateBlockProperties.js +0 -5
- package/dist/api/types/JinjaPromptTemplateBlockPropertiesRequest.d.ts +0 -8
- package/dist/api/types/JinjaPromptTemplateBlockPropertiesRequest.js +0 -5
- package/dist/api/types/JinjaPromptTemplateBlockRequest.d.ts +0 -12
- package/dist/api/types/JinjaPromptTemplateBlockRequest.js +0 -5
- package/dist/api/types/ModelVersionBuildConfig.d.ts +0 -11
- package/dist/api/types/ModelVersionBuildConfig.js +0 -5
- package/dist/api/types/ModelVersionExecConfig.d.ts +0 -14
- package/dist/api/types/ModelVersionExecConfig.js +0 -5
- package/dist/api/types/ModelVersionExecConfigParameters.d.ts +0 -14
- package/dist/api/types/ModelVersionExecConfigParameters.js +0 -5
- package/dist/api/types/ModelVersionRead.d.ts +0 -37
- package/dist/api/types/ModelVersionRead.js +0 -5
- package/dist/api/types/ModelVersionReadStatusEnum.d.ts +0 -16
- package/dist/api/types/ModelVersionReadStatusEnum.js +0 -12
- package/dist/api/types/ModelVersionSandboxSnapshot.d.ts +0 -12
- package/dist/api/types/ModelVersionSandboxSnapshot.js +0 -5
- package/dist/api/types/PromptTemplateBlock.d.ts +0 -19
- package/dist/api/types/PromptTemplateBlock.js +0 -5
- package/dist/api/types/PromptTemplateBlockData.d.ts +0 -8
- package/dist/api/types/PromptTemplateBlockData.js +0 -5
- package/dist/api/types/PromptTemplateBlockDataRequest.d.ts +0 -8
- package/dist/api/types/PromptTemplateBlockDataRequest.js +0 -5
- package/dist/api/types/PromptTemplateBlockRequest.d.ts +0 -19
- package/dist/api/types/PromptTemplateBlockRequest.js +0 -5
- package/dist/api/types/PromptTemplateBlockState.d.ts +0 -12
- package/dist/api/types/PromptTemplateBlockState.js +0 -10
- package/dist/api/types/ProviderEnum.d.ts +0 -34
- package/dist/api/types/ProviderEnum.js +0 -21
- package/dist/api/types/RegisterPromptErrorResponse.d.ts +0 -7
- package/dist/api/types/RegisterPromptErrorResponse.js +0 -5
- package/dist/api/types/RegisterPromptModelParametersRequest.d.ts +0 -14
- package/dist/api/types/RegisterPromptModelParametersRequest.js +0 -5
- package/dist/api/types/RegisterPromptPrompt.d.ts +0 -9
- package/dist/api/types/RegisterPromptPrompt.js +0 -5
- package/dist/api/types/RegisterPromptPromptInfoRequest.d.ts +0 -9
- package/dist/api/types/RegisterPromptPromptInfoRequest.js +0 -5
- package/dist/api/types/RegisterPromptResponse.d.ts +0 -18
- package/dist/api/types/RegisterPromptResponse.js +0 -5
- package/dist/api/types/RegisteredPromptDeployment.d.ts +0 -11
- package/dist/api/types/RegisteredPromptDeployment.js +0 -5
- package/dist/api/types/RegisteredPromptInputVariableRequest.d.ts +0 -9
- package/dist/api/types/RegisteredPromptInputVariableRequest.js +0 -5
- package/dist/api/types/RegisteredPromptModelVersion.d.ts +0 -9
- package/dist/api/types/RegisteredPromptModelVersion.js +0 -5
- package/dist/api/types/RegisteredPromptSandbox.d.ts +0 -9
- package/dist/api/types/RegisteredPromptSandbox.js +0 -5
- package/dist/api/types/RegisteredPromptSandboxSnapshot.d.ts +0 -7
- package/dist/api/types/RegisteredPromptSandboxSnapshot.js +0 -5
- package/dist/serialization/resources/registeredPrompts/client/index.d.ts +0 -1
- package/dist/serialization/resources/registeredPrompts/client/index.js +0 -17
- package/dist/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +0 -21
- package/dist/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +0 -42
- package/dist/serialization/resources/registeredPrompts/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/registeredPrompts/client/requests/index.js +0 -5
- package/dist/serialization/resources/registeredPrompts/index.d.ts +0 -1
- package/dist/serialization/resources/registeredPrompts/index.js +0 -17
- package/dist/serialization/types/ChatHistoryPromptTemplateBlock.d.ts +0 -15
- package/dist/serialization/types/ChatHistoryPromptTemplateBlock.js +0 -36
- package/dist/serialization/types/ChatHistoryPromptTemplateBlockRequest.d.ts +0 -15
- package/dist/serialization/types/ChatHistoryPromptTemplateBlockRequest.js +0 -36
- package/dist/serialization/types/ChatMessageEnum.d.ts +0 -10
- package/dist/serialization/types/ChatMessageEnum.js +0 -31
- package/dist/serialization/types/ChatMessagePromptTemplateBlock.d.ts +0 -15
- package/dist/serialization/types/ChatMessagePromptTemplateBlock.js +0 -45
- package/dist/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -16
- package/dist/serialization/types/ChatMessagePromptTemplateBlockProperties.js +0 -46
- package/dist/serialization/types/ChatMessagePromptTemplateBlockPropertiesRequest.d.ts +0 -16
- package/dist/serialization/types/ChatMessagePromptTemplateBlockPropertiesRequest.js +0 -46
- package/dist/serialization/types/ChatMessagePromptTemplateBlockRequest.d.ts +0 -15
- package/dist/serialization/types/ChatMessagePromptTemplateBlockRequest.js +0 -45
- package/dist/serialization/types/FunctionDefinitionEnum.d.ts +0 -10
- package/dist/serialization/types/FunctionDefinitionEnum.js +0 -31
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -16
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlock.js +0 -37
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -15
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -36
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.d.ts +0 -15
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.js +0 -36
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockRequest.d.ts +0 -16
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockRequest.js +0 -37
- package/dist/serialization/types/JinjaEnum.d.ts +0 -10
- package/dist/serialization/types/JinjaEnum.js +0 -31
- package/dist/serialization/types/JinjaPromptTemplateBlock.d.ts +0 -16
- package/dist/serialization/types/JinjaPromptTemplateBlock.js +0 -37
- package/dist/serialization/types/JinjaPromptTemplateBlockProperties.d.ts +0 -14
- package/dist/serialization/types/JinjaPromptTemplateBlockProperties.js +0 -35
- package/dist/serialization/types/JinjaPromptTemplateBlockPropertiesRequest.d.ts +0 -14
- package/dist/serialization/types/JinjaPromptTemplateBlockPropertiesRequest.js +0 -35
- package/dist/serialization/types/JinjaPromptTemplateBlockRequest.d.ts +0 -16
- package/dist/serialization/types/JinjaPromptTemplateBlockRequest.js +0 -37
- package/dist/serialization/types/ModelVersionBuildConfig.d.ts +0 -15
- package/dist/serialization/types/ModelVersionBuildConfig.js +0 -36
- package/dist/serialization/types/ModelVersionExecConfig.d.ts +0 -19
- package/dist/serialization/types/ModelVersionExecConfig.js +0 -40
- package/dist/serialization/types/ModelVersionExecConfigParameters.d.ts +0 -20
- package/dist/serialization/types/ModelVersionExecConfigParameters.js +0 -41
- package/dist/serialization/types/ModelVersionRead.d.ts +0 -23
- package/dist/serialization/types/ModelVersionRead.js +0 -44
- package/dist/serialization/types/ModelVersionReadStatusEnum.d.ts +0 -10
- package/dist/serialization/types/ModelVersionReadStatusEnum.js +0 -31
- package/dist/serialization/types/ModelVersionSandboxSnapshot.d.ts +0 -15
- package/dist/serialization/types/ModelVersionSandboxSnapshot.js +0 -36
- package/dist/serialization/types/PromptTemplateBlock.d.ts +0 -25
- package/dist/serialization/types/PromptTemplateBlock.js +0 -53
- package/dist/serialization/types/PromptTemplateBlockData.d.ts +0 -13
- package/dist/serialization/types/PromptTemplateBlockData.js +0 -43
- package/dist/serialization/types/PromptTemplateBlockDataRequest.d.ts +0 -13
- package/dist/serialization/types/PromptTemplateBlockDataRequest.js +0 -43
- package/dist/serialization/types/PromptTemplateBlockRequest.d.ts +0 -25
- package/dist/serialization/types/PromptTemplateBlockRequest.js +0 -53
- package/dist/serialization/types/PromptTemplateBlockState.d.ts +0 -10
- package/dist/serialization/types/PromptTemplateBlockState.js +0 -31
- package/dist/serialization/types/ProviderEnum.d.ts +0 -10
- package/dist/serialization/types/ProviderEnum.js +0 -45
- package/dist/serialization/types/RegisterPromptErrorResponse.d.ts +0 -12
- package/dist/serialization/types/RegisterPromptErrorResponse.js +0 -33
- package/dist/serialization/types/RegisterPromptModelParametersRequest.d.ts +0 -20
- package/dist/serialization/types/RegisterPromptModelParametersRequest.js +0 -41
- package/dist/serialization/types/RegisterPromptPrompt.d.ts +0 -13
- package/dist/serialization/types/RegisterPromptPrompt.js +0 -34
- package/dist/serialization/types/RegisterPromptPromptInfoRequest.d.ts +0 -15
- package/dist/serialization/types/RegisterPromptPromptInfoRequest.js +0 -36
- package/dist/serialization/types/RegisterPromptResponse.d.ts +0 -22
- package/dist/serialization/types/RegisterPromptResponse.js +0 -43
- package/dist/serialization/types/RegisteredPromptDeployment.d.ts +0 -14
- package/dist/serialization/types/RegisteredPromptDeployment.js +0 -35
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.d.ts +0 -15
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.js +0 -36
- package/dist/serialization/types/RegisteredPromptModelVersion.d.ts +0 -13
- package/dist/serialization/types/RegisteredPromptModelVersion.js +0 -34
- package/dist/serialization/types/RegisteredPromptSandbox.d.ts +0 -13
- package/dist/serialization/types/RegisteredPromptSandbox.js +0 -34
- package/dist/serialization/types/RegisteredPromptSandboxSnapshot.d.ts +0 -12
- package/dist/serialization/types/RegisteredPromptSandboxSnapshot.js +0 -33
- package/serialization/resources/registeredPrompts/client/index.d.ts +0 -1
- package/serialization/resources/registeredPrompts/client/index.js +0 -17
- package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +0 -21
- package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +0 -42
- package/serialization/resources/registeredPrompts/client/requests/index.d.ts +0 -1
- package/serialization/resources/registeredPrompts/client/requests/index.js +0 -5
- package/serialization/resources/registeredPrompts/index.d.ts +0 -1
- package/serialization/resources/registeredPrompts/index.js +0 -17
- package/serialization/types/ChatHistoryPromptTemplateBlock.d.ts +0 -15
- package/serialization/types/ChatHistoryPromptTemplateBlock.js +0 -36
- package/serialization/types/ChatHistoryPromptTemplateBlockRequest.d.ts +0 -15
- package/serialization/types/ChatHistoryPromptTemplateBlockRequest.js +0 -36
- package/serialization/types/ChatMessageEnum.d.ts +0 -10
- package/serialization/types/ChatMessageEnum.js +0 -31
- package/serialization/types/ChatMessagePromptTemplateBlock.d.ts +0 -15
- package/serialization/types/ChatMessagePromptTemplateBlock.js +0 -45
- package/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -16
- package/serialization/types/ChatMessagePromptTemplateBlockProperties.js +0 -46
- package/serialization/types/ChatMessagePromptTemplateBlockPropertiesRequest.d.ts +0 -16
- package/serialization/types/ChatMessagePromptTemplateBlockPropertiesRequest.js +0 -46
- package/serialization/types/ChatMessagePromptTemplateBlockRequest.d.ts +0 -15
- package/serialization/types/ChatMessagePromptTemplateBlockRequest.js +0 -45
- package/serialization/types/FunctionDefinitionEnum.d.ts +0 -10
- package/serialization/types/FunctionDefinitionEnum.js +0 -31
- package/serialization/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -16
- package/serialization/types/FunctionDefinitionPromptTemplateBlock.js +0 -37
- package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -15
- package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -36
- package/serialization/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.d.ts +0 -15
- package/serialization/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.js +0 -36
- package/serialization/types/FunctionDefinitionPromptTemplateBlockRequest.d.ts +0 -16
- package/serialization/types/FunctionDefinitionPromptTemplateBlockRequest.js +0 -37
- package/serialization/types/JinjaEnum.d.ts +0 -10
- package/serialization/types/JinjaEnum.js +0 -31
- package/serialization/types/JinjaPromptTemplateBlock.d.ts +0 -16
- package/serialization/types/JinjaPromptTemplateBlock.js +0 -37
- package/serialization/types/JinjaPromptTemplateBlockProperties.d.ts +0 -14
- package/serialization/types/JinjaPromptTemplateBlockProperties.js +0 -35
- package/serialization/types/JinjaPromptTemplateBlockPropertiesRequest.d.ts +0 -14
- package/serialization/types/JinjaPromptTemplateBlockPropertiesRequest.js +0 -35
- package/serialization/types/JinjaPromptTemplateBlockRequest.d.ts +0 -16
- package/serialization/types/JinjaPromptTemplateBlockRequest.js +0 -37
- package/serialization/types/ModelVersionBuildConfig.d.ts +0 -15
- package/serialization/types/ModelVersionBuildConfig.js +0 -36
- package/serialization/types/ModelVersionExecConfig.d.ts +0 -19
- package/serialization/types/ModelVersionExecConfig.js +0 -40
- package/serialization/types/ModelVersionExecConfigParameters.d.ts +0 -20
- package/serialization/types/ModelVersionExecConfigParameters.js +0 -41
- package/serialization/types/ModelVersionRead.d.ts +0 -23
- package/serialization/types/ModelVersionRead.js +0 -44
- package/serialization/types/ModelVersionReadStatusEnum.d.ts +0 -10
- package/serialization/types/ModelVersionReadStatusEnum.js +0 -31
- package/serialization/types/ModelVersionSandboxSnapshot.d.ts +0 -15
- package/serialization/types/ModelVersionSandboxSnapshot.js +0 -36
- package/serialization/types/PromptTemplateBlock.d.ts +0 -25
- package/serialization/types/PromptTemplateBlock.js +0 -53
- package/serialization/types/PromptTemplateBlockData.d.ts +0 -13
- package/serialization/types/PromptTemplateBlockData.js +0 -43
- package/serialization/types/PromptTemplateBlockDataRequest.d.ts +0 -13
- package/serialization/types/PromptTemplateBlockDataRequest.js +0 -43
- package/serialization/types/PromptTemplateBlockRequest.d.ts +0 -25
- package/serialization/types/PromptTemplateBlockRequest.js +0 -53
- package/serialization/types/PromptTemplateBlockState.d.ts +0 -10
- package/serialization/types/PromptTemplateBlockState.js +0 -31
- package/serialization/types/ProviderEnum.d.ts +0 -10
- package/serialization/types/ProviderEnum.js +0 -45
- package/serialization/types/RegisterPromptErrorResponse.d.ts +0 -12
- package/serialization/types/RegisterPromptErrorResponse.js +0 -33
- package/serialization/types/RegisterPromptModelParametersRequest.d.ts +0 -20
- package/serialization/types/RegisterPromptModelParametersRequest.js +0 -41
- package/serialization/types/RegisterPromptPrompt.d.ts +0 -13
- package/serialization/types/RegisterPromptPrompt.js +0 -34
- package/serialization/types/RegisterPromptPromptInfoRequest.d.ts +0 -15
- package/serialization/types/RegisterPromptPromptInfoRequest.js +0 -36
- package/serialization/types/RegisterPromptResponse.d.ts +0 -22
- package/serialization/types/RegisterPromptResponse.js +0 -43
- package/serialization/types/RegisteredPromptDeployment.d.ts +0 -14
- package/serialization/types/RegisteredPromptDeployment.js +0 -35
- package/serialization/types/RegisteredPromptInputVariableRequest.d.ts +0 -15
- package/serialization/types/RegisteredPromptInputVariableRequest.js +0 -36
- package/serialization/types/RegisteredPromptModelVersion.d.ts +0 -13
- package/serialization/types/RegisteredPromptModelVersion.js +0 -34
- package/serialization/types/RegisteredPromptSandbox.d.ts +0 -13
- package/serialization/types/RegisteredPromptSandbox.js +0 -34
- package/serialization/types/RegisteredPromptSandboxSnapshot.d.ts +0 -12
- package/serialization/types/RegisteredPromptSandboxSnapshot.js +0 -33
package/api/types/index.js
CHANGED
|
@@ -24,17 +24,10 @@ __exportStar(require("./ArrayEnum"), exports);
|
|
|
24
24
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
25
25
|
__exportStar(require("./ChatHistoryEnum"), exports);
|
|
26
26
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
27
|
-
__exportStar(require("./ChatHistoryPromptTemplateBlock"), exports);
|
|
28
|
-
__exportStar(require("./ChatHistoryPromptTemplateBlockRequest"), exports);
|
|
29
27
|
__exportStar(require("./ChatHistoryVariableValue"), exports);
|
|
30
28
|
__exportStar(require("./ChatMessage"), exports);
|
|
31
29
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
32
30
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
33
|
-
__exportStar(require("./ChatMessageEnum"), exports);
|
|
34
|
-
__exportStar(require("./ChatMessagePromptTemplateBlock"), exports);
|
|
35
|
-
__exportStar(require("./ChatMessagePromptTemplateBlockProperties"), exports);
|
|
36
|
-
__exportStar(require("./ChatMessagePromptTemplateBlockPropertiesRequest"), exports);
|
|
37
|
-
__exportStar(require("./ChatMessagePromptTemplateBlockRequest"), exports);
|
|
38
31
|
__exportStar(require("./ChatMessageRequest"), exports);
|
|
39
32
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
40
33
|
__exportStar(require("./CodeExecutionNodeArrayResult"), exports);
|
|
@@ -95,11 +88,6 @@ __exportStar(require("./FunctionCallChatMessageContentValue"), exports);
|
|
|
95
88
|
__exportStar(require("./FunctionCallChatMessageContentValueRequest"), exports);
|
|
96
89
|
__exportStar(require("./FunctionCallEnum"), exports);
|
|
97
90
|
__exportStar(require("./FunctionCallVariableValue"), exports);
|
|
98
|
-
__exportStar(require("./FunctionDefinitionEnum"), exports);
|
|
99
|
-
__exportStar(require("./FunctionDefinitionPromptTemplateBlock"), exports);
|
|
100
|
-
__exportStar(require("./FunctionDefinitionPromptTemplateBlockProperties"), exports);
|
|
101
|
-
__exportStar(require("./FunctionDefinitionPromptTemplateBlockPropertiesRequest"), exports);
|
|
102
|
-
__exportStar(require("./FunctionDefinitionPromptTemplateBlockRequest"), exports);
|
|
103
91
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
104
92
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
105
93
|
__exportStar(require("./GenerateRequest"), exports);
|
|
@@ -120,11 +108,6 @@ __exportStar(require("./InitiatedExecutePromptEvent"), exports);
|
|
|
120
108
|
__exportStar(require("./InitiatedPromptExecutionMeta"), exports);
|
|
121
109
|
__exportStar(require("./InitiatedWorkflowNodeResultEvent"), exports);
|
|
122
110
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
123
|
-
__exportStar(require("./JinjaEnum"), exports);
|
|
124
|
-
__exportStar(require("./JinjaPromptTemplateBlock"), exports);
|
|
125
|
-
__exportStar(require("./JinjaPromptTemplateBlockProperties"), exports);
|
|
126
|
-
__exportStar(require("./JinjaPromptTemplateBlockPropertiesRequest"), exports);
|
|
127
|
-
__exportStar(require("./JinjaPromptTemplateBlockRequest"), exports);
|
|
128
111
|
__exportStar(require("./JsonEnum"), exports);
|
|
129
112
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
130
113
|
__exportStar(require("./LogicalOperator"), exports);
|
|
@@ -133,12 +116,6 @@ __exportStar(require("./MlModelUsage"), exports);
|
|
|
133
116
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
134
117
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
135
118
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
136
|
-
__exportStar(require("./ModelVersionBuildConfig"), exports);
|
|
137
|
-
__exportStar(require("./ModelVersionExecConfig"), exports);
|
|
138
|
-
__exportStar(require("./ModelVersionExecConfigParameters"), exports);
|
|
139
|
-
__exportStar(require("./ModelVersionRead"), exports);
|
|
140
|
-
__exportStar(require("./ModelVersionReadStatusEnum"), exports);
|
|
141
|
-
__exportStar(require("./ModelVersionSandboxSnapshot"), exports);
|
|
142
119
|
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
143
120
|
__exportStar(require("./NamedScenarioInputRequest"), exports);
|
|
144
121
|
__exportStar(require("./NamedScenarioInputStringVariableValueRequest"), exports);
|
|
@@ -194,23 +171,7 @@ __exportStar(require("./PromptExecutionMeta"), exports);
|
|
|
194
171
|
__exportStar(require("./PromptNodeResult"), exports);
|
|
195
172
|
__exportStar(require("./PromptNodeResultData"), exports);
|
|
196
173
|
__exportStar(require("./PromptOutput"), exports);
|
|
197
|
-
__exportStar(require("./PromptTemplateBlock"), exports);
|
|
198
|
-
__exportStar(require("./PromptTemplateBlockData"), exports);
|
|
199
|
-
__exportStar(require("./PromptTemplateBlockDataRequest"), exports);
|
|
200
|
-
__exportStar(require("./PromptTemplateBlockRequest"), exports);
|
|
201
|
-
__exportStar(require("./PromptTemplateBlockState"), exports);
|
|
202
|
-
__exportStar(require("./ProviderEnum"), exports);
|
|
203
174
|
__exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
|
|
204
|
-
__exportStar(require("./RegisterPromptErrorResponse"), exports);
|
|
205
|
-
__exportStar(require("./RegisterPromptModelParametersRequest"), exports);
|
|
206
|
-
__exportStar(require("./RegisterPromptPrompt"), exports);
|
|
207
|
-
__exportStar(require("./RegisterPromptPromptInfoRequest"), exports);
|
|
208
|
-
__exportStar(require("./RegisterPromptResponse"), exports);
|
|
209
|
-
__exportStar(require("./RegisteredPromptDeployment"), exports);
|
|
210
|
-
__exportStar(require("./RegisteredPromptInputVariableRequest"), exports);
|
|
211
|
-
__exportStar(require("./RegisteredPromptModelVersion"), exports);
|
|
212
|
-
__exportStar(require("./RegisteredPromptSandbox"), exports);
|
|
213
|
-
__exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
|
|
214
175
|
__exportStar(require("./RejectedEnum"), exports);
|
|
215
176
|
__exportStar(require("./RejectedExecutePromptEvent"), exports);
|
|
216
177
|
__exportStar(require("./RejectedExecutePromptResponse"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -8,8 +8,6 @@ import { Deployments } from "./api/resources/deployments/client/Client";
|
|
|
8
8
|
import { DocumentIndexes } from "./api/resources/documentIndexes/client/Client";
|
|
9
9
|
import { Documents } from "./api/resources/documents/client/Client";
|
|
10
10
|
import { FolderEntities } from "./api/resources/folderEntities/client/Client";
|
|
11
|
-
import { ModelVersions } from "./api/resources/modelVersions/client/Client";
|
|
12
|
-
import { RegisteredPrompts } from "./api/resources/registeredPrompts/client/Client";
|
|
13
11
|
import { Sandboxes } from "./api/resources/sandboxes/client/Client";
|
|
14
12
|
import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
|
|
15
13
|
import { TestSuites } from "./api/resources/testSuites/client/Client";
|
|
@@ -120,10 +118,6 @@ export declare class VellumClient {
|
|
|
120
118
|
get documents(): Documents;
|
|
121
119
|
protected _folderEntities: FolderEntities | undefined;
|
|
122
120
|
get folderEntities(): FolderEntities;
|
|
123
|
-
protected _modelVersions: ModelVersions | undefined;
|
|
124
|
-
get modelVersions(): ModelVersions;
|
|
125
|
-
protected _registeredPrompts: RegisteredPrompts | undefined;
|
|
126
|
-
get registeredPrompts(): RegisteredPrompts;
|
|
127
121
|
protected _sandboxes: Sandboxes | undefined;
|
|
128
122
|
get sandboxes(): Sandboxes;
|
|
129
123
|
protected _testSuiteRuns: TestSuiteRuns | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -49,12 +49,10 @@ const Client_1 = require("./api/resources/deployments/client/Client");
|
|
|
49
49
|
const Client_2 = require("./api/resources/documentIndexes/client/Client");
|
|
50
50
|
const Client_3 = require("./api/resources/documents/client/Client");
|
|
51
51
|
const Client_4 = require("./api/resources/folderEntities/client/Client");
|
|
52
|
-
const Client_5 = require("./api/resources/
|
|
53
|
-
const Client_6 = require("./api/resources/
|
|
54
|
-
const Client_7 = require("./api/resources/
|
|
55
|
-
const Client_8 = require("./api/resources/
|
|
56
|
-
const Client_9 = require("./api/resources/testSuites/client/Client");
|
|
57
|
-
const Client_10 = require("./api/resources/workflowDeployments/client/Client");
|
|
52
|
+
const Client_5 = require("./api/resources/sandboxes/client/Client");
|
|
53
|
+
const Client_6 = require("./api/resources/testSuiteRuns/client/Client");
|
|
54
|
+
const Client_7 = require("./api/resources/testSuites/client/Client");
|
|
55
|
+
const Client_8 = require("./api/resources/workflowDeployments/client/Client");
|
|
58
56
|
class VellumClient {
|
|
59
57
|
constructor(_options) {
|
|
60
58
|
this._options = _options;
|
|
@@ -73,7 +71,7 @@ class VellumClient {
|
|
|
73
71
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
74
72
|
.predict, "v1/execute-prompt"),
|
|
75
73
|
method: "POST",
|
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
77
75
|
contentType: "application/json",
|
|
78
76
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
79
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -129,7 +127,7 @@ class VellumClient {
|
|
|
129
127
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
130
128
|
.predict, "v1/execute-prompt-stream"),
|
|
131
129
|
method: "POST",
|
|
132
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
130
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
133
131
|
contentType: "application/json",
|
|
134
132
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
135
133
|
unrecognizedObjectKeys: "strip",
|
|
@@ -197,7 +195,7 @@ class VellumClient {
|
|
|
197
195
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
198
196
|
.predict, "v1/execute-workflow"),
|
|
199
197
|
method: "POST",
|
|
200
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
198
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
201
199
|
contentType: "application/json",
|
|
202
200
|
body: yield serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
203
201
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -251,7 +249,7 @@ class VellumClient {
|
|
|
251
249
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
252
250
|
.predict, "v1/execute-workflow-stream"),
|
|
253
251
|
method: "POST",
|
|
254
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
252
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
255
253
|
contentType: "application/json",
|
|
256
254
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
257
255
|
unrecognizedObjectKeys: "strip",
|
|
@@ -327,7 +325,7 @@ class VellumClient {
|
|
|
327
325
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
328
326
|
.predict, "v1/generate"),
|
|
329
327
|
method: "POST",
|
|
330
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
328
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
331
329
|
contentType: "application/json",
|
|
332
330
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
333
331
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -385,7 +383,7 @@ class VellumClient {
|
|
|
385
383
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
386
384
|
.predict, "v1/generate-stream"),
|
|
387
385
|
method: "POST",
|
|
388
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
386
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
389
387
|
contentType: "application/json",
|
|
390
388
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
391
389
|
responseType: "streaming",
|
|
@@ -458,7 +456,7 @@ class VellumClient {
|
|
|
458
456
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
459
457
|
.predict, "v1/search"),
|
|
460
458
|
method: "POST",
|
|
461
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
459
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
462
460
|
contentType: "application/json",
|
|
463
461
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
464
462
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -522,7 +520,7 @@ class VellumClient {
|
|
|
522
520
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
523
521
|
.predict, "v1/submit-completion-actuals"),
|
|
524
522
|
method: "POST",
|
|
525
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
523
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
526
524
|
contentType: "application/json",
|
|
527
525
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
528
526
|
unrecognizedObjectKeys: "strip",
|
|
@@ -580,7 +578,7 @@ class VellumClient {
|
|
|
580
578
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
581
579
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
582
580
|
method: "POST",
|
|
583
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
581
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
584
582
|
contentType: "application/json",
|
|
585
583
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
586
584
|
unrecognizedObjectKeys: "strip",
|
|
@@ -628,29 +626,21 @@ class VellumClient {
|
|
|
628
626
|
var _a;
|
|
629
627
|
return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new Client_4.FolderEntities(this._options)));
|
|
630
628
|
}
|
|
631
|
-
get modelVersions() {
|
|
632
|
-
var _a;
|
|
633
|
-
return ((_a = this._modelVersions) !== null && _a !== void 0 ? _a : (this._modelVersions = new Client_5.ModelVersions(this._options)));
|
|
634
|
-
}
|
|
635
|
-
get registeredPrompts() {
|
|
636
|
-
var _a;
|
|
637
|
-
return ((_a = this._registeredPrompts) !== null && _a !== void 0 ? _a : (this._registeredPrompts = new Client_6.RegisteredPrompts(this._options)));
|
|
638
|
-
}
|
|
639
629
|
get sandboxes() {
|
|
640
630
|
var _a;
|
|
641
|
-
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new
|
|
631
|
+
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_5.Sandboxes(this._options)));
|
|
642
632
|
}
|
|
643
633
|
get testSuiteRuns() {
|
|
644
634
|
var _a;
|
|
645
|
-
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new
|
|
635
|
+
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_6.TestSuiteRuns(this._options)));
|
|
646
636
|
}
|
|
647
637
|
get testSuites() {
|
|
648
638
|
var _a;
|
|
649
|
-
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new
|
|
639
|
+
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_7.TestSuites(this._options)));
|
|
650
640
|
}
|
|
651
641
|
get workflowDeployments() {
|
|
652
642
|
var _a;
|
|
653
|
-
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new
|
|
643
|
+
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_8.WorkflowDeployments(this._options)));
|
|
654
644
|
}
|
|
655
645
|
_getCustomAuthorizationHeaders() {
|
|
656
646
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/api/errors/index.js
CHANGED
|
@@ -17,5 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./BadRequestError"), exports);
|
|
18
18
|
__exportStar(require("./ForbiddenError"), exports);
|
|
19
19
|
__exportStar(require("./NotFoundError"), exports);
|
|
20
|
-
__exportStar(require("./ConflictError"), exports);
|
|
21
20
|
__exportStar(require("./InternalServerError"), exports);
|
|
@@ -70,7 +70,7 @@ class Deployments {
|
|
|
70
70
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
71
71
|
.default, "v1/deployments"),
|
|
72
72
|
method: "GET",
|
|
73
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
73
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
queryParameters: _queryParams,
|
|
76
76
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -118,7 +118,7 @@ class Deployments {
|
|
|
118
118
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
119
119
|
.default, `v1/deployments/${id}`),
|
|
120
120
|
method: "GET",
|
|
121
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
121
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
122
122
|
contentType: "application/json",
|
|
123
123
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
124
124
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -170,7 +170,7 @@ class Deployments {
|
|
|
170
170
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
171
171
|
.default, "v1/deployments/provider-payload"),
|
|
172
172
|
method: "POST",
|
|
173
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
173
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
174
174
|
contentType: "application/json",
|
|
175
175
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
176
176
|
unrecognizedObjectKeys: "strip",
|
|
@@ -75,7 +75,7 @@ class DocumentIndexes {
|
|
|
75
75
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
76
76
|
.default, "v1/document-indexes"),
|
|
77
77
|
method: "GET",
|
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
queryParameters: _queryParams,
|
|
81
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -143,7 +143,7 @@ class DocumentIndexes {
|
|
|
143
143
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
144
144
|
.default, "v1/document-indexes"),
|
|
145
145
|
method: "POST",
|
|
146
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
146
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
149
149
|
unrecognizedObjectKeys: "strip",
|
|
@@ -193,7 +193,7 @@ class DocumentIndexes {
|
|
|
193
193
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
194
194
|
.default, `v1/document-indexes/${id}`),
|
|
195
195
|
method: "GET",
|
|
196
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
196
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
199
199
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -242,7 +242,7 @@ class DocumentIndexes {
|
|
|
242
242
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
243
243
|
.default, `v1/document-indexes/${id}`),
|
|
244
244
|
method: "PUT",
|
|
245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
245
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
246
246
|
contentType: "application/json",
|
|
247
247
|
body: yield serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
248
248
|
unrecognizedObjectKeys: "strip",
|
|
@@ -292,7 +292,7 @@ class DocumentIndexes {
|
|
|
292
292
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
293
293
|
.default, `v1/document-indexes/${id}`),
|
|
294
294
|
method: "DELETE",
|
|
295
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
295
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
296
296
|
contentType: "application/json",
|
|
297
297
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
298
298
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -334,7 +334,7 @@ class DocumentIndexes {
|
|
|
334
334
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
335
335
|
.default, `v1/document-indexes/${id}`),
|
|
336
336
|
method: "PATCH",
|
|
337
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
337
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
338
338
|
contentType: "application/json",
|
|
339
339
|
body: yield serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
340
340
|
unrecognizedObjectKeys: "strip",
|
|
@@ -77,7 +77,7 @@ class Documents {
|
|
|
77
77
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
78
78
|
.default, "v1/documents"),
|
|
79
79
|
method: "GET",
|
|
80
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
80
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
queryParameters: _queryParams,
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -125,7 +125,7 @@ class Documents {
|
|
|
125
125
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
126
126
|
.default, `v1/documents/${id}`),
|
|
127
127
|
method: "GET",
|
|
128
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
128
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
129
129
|
contentType: "application/json",
|
|
130
130
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
131
131
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -166,7 +166,7 @@ class Documents {
|
|
|
166
166
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
167
167
|
.default, `v1/documents/${id}`),
|
|
168
168
|
method: "DELETE",
|
|
169
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
169
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
172
172
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -208,7 +208,7 @@ class Documents {
|
|
|
208
208
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
209
209
|
.default, `v1/documents/${id}`),
|
|
210
210
|
method: "PATCH",
|
|
211
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
211
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
214
214
|
unrecognizedObjectKeys: "strip",
|
|
@@ -287,7 +287,7 @@ class Documents {
|
|
|
287
287
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
288
288
|
.documents, "v1/upload-document"),
|
|
289
289
|
method: "POST",
|
|
290
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
290
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
291
291
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
292
292
|
body: _request,
|
|
293
293
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -65,7 +65,7 @@ class FolderEntities {
|
|
|
65
65
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
66
66
|
.default, `v1/folders/${folderId}/add-entity`),
|
|
67
67
|
method: "POST",
|
|
68
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
68
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
69
69
|
contentType: "application/json",
|
|
70
70
|
body: yield serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
71
71
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -6,8 +6,6 @@ export * as workflowDeployments from "./workflowDeployments";
|
|
|
6
6
|
export * from "./workflowDeployments/types";
|
|
7
7
|
export * as documents from "./documents";
|
|
8
8
|
export * as folderEntities from "./folderEntities";
|
|
9
|
-
export * as modelVersions from "./modelVersions";
|
|
10
|
-
export * as registeredPrompts from "./registeredPrompts";
|
|
11
9
|
export * as sandboxes from "./sandboxes";
|
|
12
10
|
export * as testSuiteRuns from "./testSuiteRuns";
|
|
13
11
|
export * as testSuites from "./testSuites";
|
|
@@ -15,7 +13,6 @@ export * from "./deployments/client/requests";
|
|
|
15
13
|
export * from "./documentIndexes/client/requests";
|
|
16
14
|
export * from "./documents/client/requests";
|
|
17
15
|
export * from "./folderEntities/client/requests";
|
|
18
|
-
export * from "./registeredPrompts/client/requests";
|
|
19
16
|
export * from "./sandboxes/client/requests";
|
|
20
17
|
export * from "./testSuiteRuns/client/requests";
|
|
21
18
|
export * from "./testSuites/client/requests";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.
|
|
29
|
+
exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.folderEntities = exports.documents = exports.workflowDeployments = exports.documentIndexes = exports.deployments = void 0;
|
|
30
30
|
exports.deployments = __importStar(require("./deployments"));
|
|
31
31
|
__exportStar(require("./deployments/types"), exports);
|
|
32
32
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
@@ -35,8 +35,6 @@ exports.workflowDeployments = __importStar(require("./workflowDeployments"));
|
|
|
35
35
|
__exportStar(require("./workflowDeployments/types"), exports);
|
|
36
36
|
exports.documents = __importStar(require("./documents"));
|
|
37
37
|
exports.folderEntities = __importStar(require("./folderEntities"));
|
|
38
|
-
exports.modelVersions = __importStar(require("./modelVersions"));
|
|
39
|
-
exports.registeredPrompts = __importStar(require("./registeredPrompts"));
|
|
40
38
|
exports.sandboxes = __importStar(require("./sandboxes"));
|
|
41
39
|
exports.testSuiteRuns = __importStar(require("./testSuiteRuns"));
|
|
42
40
|
exports.testSuites = __importStar(require("./testSuites"));
|
|
@@ -44,7 +42,6 @@ __exportStar(require("./deployments/client/requests"), exports);
|
|
|
44
42
|
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
45
43
|
__exportStar(require("./documents/client/requests"), exports);
|
|
46
44
|
__exportStar(require("./folderEntities/client/requests"), exports);
|
|
47
|
-
__exportStar(require("./registeredPrompts/client/requests"), exports);
|
|
48
45
|
__exportStar(require("./sandboxes/client/requests"), exports);
|
|
49
46
|
__exportStar(require("./testSuiteRuns/client/requests"), exports);
|
|
50
47
|
__exportStar(require("./testSuites/client/requests"), exports);
|
|
@@ -70,7 +70,7 @@ class Sandboxes {
|
|
|
70
70
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
71
71
|
.default, `v1/sandboxes/${id}/scenarios`),
|
|
72
72
|
method: "POST",
|
|
73
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
73
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
76
76
|
unrecognizedObjectKeys: "strip",
|
|
@@ -120,7 +120,7 @@ class Sandboxes {
|
|
|
120
120
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
121
121
|
.default, `v1/sandboxes/${id}/scenarios/${scenarioId}`),
|
|
122
122
|
method: "DELETE",
|
|
123
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
123
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
126
126
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -58,7 +58,7 @@ class TestSuiteRuns {
|
|
|
58
58
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
59
59
|
.default, "v1/test-suite-runs"),
|
|
60
60
|
method: "POST",
|
|
61
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
61
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
62
62
|
contentType: "application/json",
|
|
63
63
|
body: yield serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
64
64
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -106,7 +106,7 @@ class TestSuiteRuns {
|
|
|
106
106
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
107
107
|
.default, `v1/test-suite-runs/${id}`),
|
|
108
108
|
method: "GET",
|
|
109
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
109
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
112
112
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -163,7 +163,7 @@ class TestSuiteRuns {
|
|
|
163
163
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
164
164
|
.default, `v1/test-suite-runs/${id}/executions`),
|
|
165
165
|
method: "GET",
|
|
166
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
166
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
queryParameters: _queryParams,
|
|
169
169
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -69,7 +69,7 @@ class TestSuites {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, `v1/test-suites/${id}/test-cases`),
|
|
71
71
|
method: "GET",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
75
75
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -126,7 +126,7 @@ class TestSuites {
|
|
|
126
126
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
127
127
|
.default, `v1/test-suites/${id}/test-cases`),
|
|
128
128
|
method: "POST",
|
|
129
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
129
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
130
130
|
contentType: "application/json",
|
|
131
131
|
body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
|
|
132
132
|
unrecognizedObjectKeys: "strip",
|
|
@@ -176,7 +176,7 @@ class TestSuites {
|
|
|
176
176
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
177
177
|
.default, `v1/test-suites/${id}/test-cases/${testCaseId}`),
|
|
178
178
|
method: "DELETE",
|
|
179
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
179
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
180
180
|
contentType: "application/json",
|
|
181
181
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
182
182
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -69,7 +69,7 @@ class WorkflowDeployments {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, "v1/workflow-deployments"),
|
|
71
71
|
method: "GET",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
75
75
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -117,7 +117,7 @@ class WorkflowDeployments {
|
|
|
117
117
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
118
|
.default, `v1/workflow-deployments/${id}`),
|
|
119
119
|
method: "GET",
|
|
120
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.4.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
121
|
contentType: "application/json",
|
|
122
122
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
123
123
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|