@elevenlabs/elevenlabs-js 2.14.0 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +2 -2
- package/api/resources/audioNative/client/Client.js +6 -1
- package/api/resources/audioNative/client/requests/BodyCreatesAudioNativeEnabledProjectV1AudioNativePost.d.ts +9 -0
- package/api/resources/audioNative/index.d.ts +1 -0
- package/api/resources/audioNative/index.js +1 -0
- package/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts +10 -0
- package/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js +12 -0
- package/api/resources/audioNative/types/index.d.ts +1 -0
- package/api/resources/audioNative/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +4 -2
- package/api/resources/conversationalAi/resources/agents/client/Client.js +16 -6
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +13 -4
- package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +2 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +2 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +14 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +12 -4
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +14 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +76 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +14 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +4 -0
- package/api/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/api/resources/dubbing/client/Client.js +9 -1
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +8 -0
- package/api/resources/dubbing/resources/resource/client/Client.js +1 -18
- package/api/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +2 -4
- package/api/resources/dubbing/types/DubbingListRequestOrderDirection.d.ts +11 -0
- package/api/resources/dubbing/types/DubbingListRequestOrderDirection.js +10 -0
- package/api/resources/dubbing/types/index.d.ts +1 -0
- package/api/resources/dubbing/types/index.js +1 -0
- package/api/resources/history/client/Client.js +15 -1
- package/api/resources/history/client/requests/DownloadHistoryRequest.d.ts +7 -0
- package/api/resources/history/client/requests/HistoryListRequest.d.ts +16 -0
- package/api/resources/history/types/HistoryListRequestSortDirection.d.ts +8 -0
- package/api/resources/history/types/HistoryListRequestSortDirection.js +10 -0
- package/api/resources/history/types/index.d.ts +1 -0
- package/api/resources/history/types/index.js +1 -0
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +16 -0
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +13 -0
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +13 -0
- package/api/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.d.ts +2 -1
- package/api/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.js +1 -0
- package/api/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.d.ts +2 -1
- package/api/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.js +1 -0
- package/api/resources/speechToText/resources/transcripts/client/Client.d.ts +14 -0
- package/api/resources/speechToText/resources/transcripts/client/Client.js +65 -0
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/requests/BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +6 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/requests/BodyStreamStudioProjectAudioV1StudioProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +6 -0
- package/api/resources/textToSpeech/client/Client.d.ts +2 -2
- package/api/resources/textToSpeech/client/Client.js +4 -2
- package/api/resources/textToSpeech/client/requests/{TextToSpeechWithTimestampsRequest.d.ts → BodyTextToSpeechFullWithTimestamps.d.ts} +2 -2
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/api/resources/textToSpeech/types/{BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts → BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +11 -0
- package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts → api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +11 -0
- package/api/resources/textToSpeech/types/index.d.ts +2 -2
- package/api/resources/textToSpeech/types/index.js +2 -2
- package/api/resources/textToVoice/client/Client.d.ts +16 -0
- package/api/resources/textToVoice/client/Client.js +84 -0
- package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +36 -0
- package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.js +5 -0
- package/api/resources/textToVoice/client/requests/index.d.ts +1 -0
- package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +27 -0
- package/api/resources/textToVoice/types/index.d.ts +1 -0
- package/api/resources/textToVoice/types/index.js +1 -0
- package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +2 -1
- package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -0
- package/api/types/AddPronunciationDictionaryResponseModelPermissionOnResource.d.ts +2 -1
- package/api/types/AddPronunciationDictionaryResponseModelPermissionOnResource.js +1 -0
- package/api/types/AgentConfig.d.ts +2 -0
- package/api/types/AgentConfigApiModelWorkflowOverride.d.ts +2 -0
- package/api/types/AgentMetadata.d.ts +7 -0
- package/api/types/AgentMetadata.js +5 -0
- package/api/types/AgentSortBy.d.ts +8 -0
- package/api/types/AgentSortBy.js +10 -0
- package/api/types/AttachedTestModel.d.ts +1 -0
- package/api/types/BreakdownTypes.d.ts +2 -1
- package/api/types/BreakdownTypes.js +1 -0
- package/api/types/ClientToolConfigInput.d.ts +1 -0
- package/api/types/ClientToolConfigOutput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -1
- package/api/types/ConversationalConfig.d.ts +2 -0
- package/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +2 -0
- package/api/types/DependentAvailableAgentIdentifierAccessLevel.d.ts +2 -1
- package/api/types/DependentAvailableAgentIdentifierAccessLevel.js +1 -0
- package/api/types/DependentAvailableToolIdentifierAccessLevel.d.ts +2 -1
- package/api/types/DependentAvailableToolIdentifierAccessLevel.js +1 -0
- package/api/types/DubbingMetadataResponse.d.ts +1 -1
- package/api/types/GetConvAiSettingsResponseModel.d.ts +1 -0
- package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/api/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.d.ts +2 -1
- package/api/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.js +1 -0
- package/api/types/GetSpeechHistoryResponse.d.ts +2 -0
- package/api/types/GetUnitTestResponseModel.d.ts +1 -0
- package/api/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/api/types/KnowledgeBaseSortBy.js +12 -0
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LivekitStackType.d.ts +8 -0
- package/{dist/api/types/ModelResponseModelConcurrencyGroup.js → api/types/LivekitStackType.js} +3 -3
- package/api/types/Llm.d.ts +4 -1
- package/api/types/Llm.js +3 -0
- package/api/types/LlmReasoningEffort.d.ts +10 -0
- package/api/types/LlmReasoningEffort.js +12 -0
- package/api/types/MatchAnythingParameterEvaluationStrategy.d.ts +5 -0
- package/api/types/MatchAnythingParameterEvaluationStrategy.js +5 -0
- package/api/types/McpServerConfigInput.d.ts +2 -0
- package/api/types/McpServerConfigOutput.d.ts +2 -0
- package/api/types/Model.d.ts +1 -1
- package/api/types/ModelSettingsResponseModel.d.ts +0 -2
- package/api/types/ProjectExtendedResponseModelAccessLevel.d.ts +2 -1
- package/api/types/ProjectExtendedResponseModelAccessLevel.js +1 -0
- package/api/types/ProjectResponseModelAccessLevel.d.ts +2 -1
- package/api/types/ProjectResponseModelAccessLevel.js +1 -0
- package/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverride.d.ts +2 -0
- package/api/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.d.ts +2 -1
- package/api/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.js +1 -0
- package/api/types/ResourceAccessInfoRole.d.ts +2 -1
- package/api/types/ResourceAccessInfoRole.js +1 -0
- package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +2 -1
- package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +1 -0
- package/api/types/SipTrunkCredentialsRequestModel.d.ts +2 -2
- package/api/types/SortDirection.d.ts +8 -0
- package/api/types/SortDirection.js +10 -0
- package/api/types/SystemToolConfigInput.d.ts +2 -1
- package/api/types/SystemToolConfigOutput.d.ts +2 -1
- package/api/types/TextToSpeechStreamWithTimestampsRequest.d.ts +4 -0
- package/api/types/TextToSpeechStreamWithTimestampsRequest.js +5 -0
- package/api/types/TextToSpeechWithTimestampsRequest.d.ts +4 -0
- package/api/types/TextToSpeechWithTimestampsRequest.js +5 -0
- package/api/types/TtsConversationalModel.d.ts +2 -1
- package/api/types/TtsConversationalModel.js +1 -0
- package/api/types/UnitTestCommonModelType.d.ts +8 -0
- package/api/types/UnitTestCommonModelType.js +10 -0
- package/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/api/types/UnitTestToolCallEvaluationModelInput.d.ts +3 -1
- package/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +3 -1
- package/api/types/UnitTestToolCallParameterEval.d.ts +4 -1
- package/api/types/VadConfig.d.ts +7 -0
- package/api/types/VadConfig.js +5 -0
- package/api/types/VadConfigWorkflowOverride.d.ts +7 -0
- package/api/types/VadConfigWorkflowOverride.js +5 -0
- package/api/types/WebhookToolConfigInput.d.ts +1 -0
- package/api/types/WebhookToolConfigOutput.d.ts +1 -0
- package/api/types/WorkflowToolResponseModelInput.d.ts +0 -1
- package/api/types/WorkflowToolResponseModelOutput.d.ts +0 -1
- package/api/types/index.d.ts +12 -1
- package/api/types/index.js +12 -1
- package/dist/Client.js +2 -2
- package/dist/api/resources/audioNative/client/Client.js +6 -1
- package/dist/api/resources/audioNative/client/requests/BodyCreatesAudioNativeEnabledProjectV1AudioNativePost.d.ts +9 -0
- package/dist/api/resources/audioNative/index.d.ts +1 -0
- package/dist/api/resources/audioNative/index.js +1 -0
- package/dist/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts +10 -0
- package/dist/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js +12 -0
- package/dist/api/resources/audioNative/types/index.d.ts +1 -0
- package/dist/api/resources/audioNative/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +4 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +16 -6
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +13 -4
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +14 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +12 -4
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +76 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/dist/api/resources/dubbing/client/Client.js +9 -1
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +8 -0
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +1 -18
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +2 -4
- package/dist/api/resources/dubbing/types/DubbingListRequestOrderDirection.d.ts +11 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestOrderDirection.js +10 -0
- package/dist/api/resources/dubbing/types/index.d.ts +1 -0
- package/dist/api/resources/dubbing/types/index.js +1 -0
- package/dist/api/resources/history/client/Client.js +15 -1
- package/dist/api/resources/history/client/requests/DownloadHistoryRequest.d.ts +7 -0
- package/dist/api/resources/history/client/requests/HistoryListRequest.d.ts +16 -0
- package/dist/api/resources/history/types/HistoryListRequestSortDirection.d.ts +8 -0
- package/dist/api/resources/history/types/HistoryListRequestSortDirection.js +10 -0
- package/dist/api/resources/history/types/index.d.ts +1 -0
- package/dist/api/resources/history/types/index.js +1 -0
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +16 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +13 -0
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +13 -0
- package/dist/api/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.d.ts +2 -1
- package/dist/api/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.js +1 -0
- package/dist/api/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.d.ts +2 -1
- package/dist/api/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.js +1 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.d.ts +14 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +65 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/requests/BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +6 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/requests/BodyStreamStudioProjectAudioV1StudioProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +6 -0
- package/dist/api/resources/textToSpeech/client/Client.d.ts +2 -2
- package/dist/api/resources/textToSpeech/client/Client.js +4 -2
- package/dist/api/resources/textToSpeech/client/requests/{TextToSpeechWithTimestampsRequest.d.ts → BodyTextToSpeechFullWithTimestamps.d.ts} +2 -2
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js +5 -0
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/{BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts → BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +11 -0
- package/{api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts → dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToSpeech/types/index.d.ts +2 -2
- package/dist/api/resources/textToSpeech/types/index.js +2 -2
- package/dist/api/resources/textToVoice/client/Client.d.ts +16 -0
- package/dist/api/resources/textToVoice/client/Client.js +84 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +36 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToVoice/types/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/types/index.js +1 -0
- package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +2 -1
- package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -0
- package/dist/api/types/AddPronunciationDictionaryResponseModelPermissionOnResource.d.ts +2 -1
- package/dist/api/types/AddPronunciationDictionaryResponseModelPermissionOnResource.js +1 -0
- package/dist/api/types/AgentConfig.d.ts +2 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverride.d.ts +2 -0
- package/dist/api/types/AgentMetadata.d.ts +7 -0
- package/dist/api/types/AgentMetadata.js +5 -0
- package/dist/api/types/AgentSortBy.d.ts +8 -0
- package/dist/api/types/AgentSortBy.js +10 -0
- package/dist/api/types/AttachedTestModel.d.ts +1 -0
- package/dist/api/types/BreakdownTypes.d.ts +2 -1
- package/dist/api/types/BreakdownTypes.js +1 -0
- package/dist/api/types/ClientToolConfigInput.d.ts +1 -0
- package/dist/api/types/ClientToolConfigOutput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -1
- package/dist/api/types/ConversationalConfig.d.ts +2 -0
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +2 -0
- package/dist/api/types/DependentAvailableAgentIdentifierAccessLevel.d.ts +2 -1
- package/dist/api/types/DependentAvailableAgentIdentifierAccessLevel.js +1 -0
- package/dist/api/types/DependentAvailableToolIdentifierAccessLevel.d.ts +2 -1
- package/dist/api/types/DependentAvailableToolIdentifierAccessLevel.js +1 -0
- package/dist/api/types/DubbingMetadataResponse.d.ts +1 -1
- package/dist/api/types/GetConvAiSettingsResponseModel.d.ts +1 -0
- package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/dist/api/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.d.ts +2 -1
- package/dist/api/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.js +1 -0
- package/dist/api/types/GetSpeechHistoryResponse.d.ts +2 -0
- package/dist/api/types/GetUnitTestResponseModel.d.ts +1 -0
- package/dist/api/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/dist/api/types/KnowledgeBaseSortBy.js +12 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LivekitStackType.d.ts +8 -0
- package/{api/types/ModelResponseModelConcurrencyGroup.js → dist/api/types/LivekitStackType.js} +3 -3
- package/dist/api/types/Llm.d.ts +4 -1
- package/dist/api/types/Llm.js +3 -0
- package/dist/api/types/LlmReasoningEffort.d.ts +10 -0
- package/dist/api/types/LlmReasoningEffort.js +12 -0
- package/dist/api/types/MatchAnythingParameterEvaluationStrategy.d.ts +5 -0
- package/dist/api/types/MatchAnythingParameterEvaluationStrategy.js +5 -0
- package/dist/api/types/McpServerConfigInput.d.ts +2 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/api/types/Model.d.ts +1 -1
- package/dist/api/types/ModelSettingsResponseModel.d.ts +0 -2
- package/dist/api/types/ProjectExtendedResponseModelAccessLevel.d.ts +2 -1
- package/dist/api/types/ProjectExtendedResponseModelAccessLevel.js +1 -0
- package/dist/api/types/ProjectResponseModelAccessLevel.d.ts +2 -1
- package/dist/api/types/ProjectResponseModelAccessLevel.js +1 -0
- package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverride.d.ts +2 -0
- package/dist/api/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.d.ts +2 -1
- package/dist/api/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.js +1 -0
- package/dist/api/types/ResourceAccessInfoRole.d.ts +2 -1
- package/dist/api/types/ResourceAccessInfoRole.js +1 -0
- package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +2 -1
- package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +1 -0
- package/dist/api/types/SipTrunkCredentialsRequestModel.d.ts +2 -2
- package/dist/api/types/SortDirection.d.ts +8 -0
- package/dist/api/types/SortDirection.js +10 -0
- package/dist/api/types/SystemToolConfigInput.d.ts +2 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +2 -1
- package/dist/api/types/TextToSpeechStreamWithTimestampsRequest.d.ts +4 -0
- package/dist/api/types/TextToSpeechStreamWithTimestampsRequest.js +5 -0
- package/dist/api/types/TextToSpeechWithTimestampsRequest.d.ts +4 -0
- package/dist/api/types/TextToSpeechWithTimestampsRequest.js +5 -0
- package/dist/api/types/TtsConversationalModel.d.ts +2 -1
- package/dist/api/types/TtsConversationalModel.js +1 -0
- package/dist/api/types/UnitTestCommonModelType.d.ts +8 -0
- package/dist/api/types/UnitTestCommonModelType.js +10 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/UnitTestToolCallEvaluationModelInput.d.ts +3 -1
- package/dist/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +3 -1
- package/dist/api/types/UnitTestToolCallParameterEval.d.ts +4 -1
- package/dist/api/types/VadConfig.d.ts +7 -0
- package/dist/api/types/VadConfig.js +5 -0
- package/dist/api/types/VadConfigWorkflowOverride.d.ts +7 -0
- package/dist/api/types/VadConfigWorkflowOverride.js +5 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +1 -0
- package/dist/api/types/WebhookToolConfigOutput.d.ts +1 -0
- package/dist/api/types/WorkflowToolResponseModelInput.d.ts +0 -1
- package/dist/api/types/WorkflowToolResponseModelOutput.d.ts +0 -1
- package/dist/api/types/index.d.ts +12 -1
- package/dist/api/types/index.js +12 -1
- package/dist/serialization/resources/audioNative/index.d.ts +1 -0
- package/dist/serialization/resources/audioNative/index.js +17 -0
- package/dist/serialization/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts +10 -0
- package/{serialization/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js → dist/serialization/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js} +2 -2
- package/dist/serialization/resources/audioNative/types/index.d.ts +1 -0
- package/dist/serialization/resources/audioNative/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +14 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +45 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +6 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +6 -0
- package/dist/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +2 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +2 -1
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.js +1 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/{textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js → dubbing/types/DubbingListRequestOrderDirection.js} +2 -2
- package/dist/serialization/resources/dubbing/types/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/types/index.js +1 -0
- package/dist/serialization/resources/history/types/HistoryListRequestSortDirection.d.ts +10 -0
- package/dist/serialization/resources/history/types/HistoryListRequestSortDirection.js +41 -0
- package/dist/serialization/resources/history/types/index.d.ts +1 -0
- package/dist/serialization/resources/history/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +2 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
- package/dist/serialization/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.d.ts +1 -1
- package/dist/serialization/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.js +1 -1
- package/dist/serialization/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.d.ts +1 -1
- package/dist/serialization/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.js +1 -1
- package/{serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts → dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts} +4 -4
- package/{serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js} +4 -4
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +2 -2
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +2 -2
- package/dist/serialization/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/textToSpeech/client/requests/index.js +3 -3
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +41 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +41 -0
- package/dist/serialization/resources/textToSpeech/types/index.d.ts +2 -2
- package/dist/serialization/resources/textToSpeech/types/index.js +2 -2
- package/dist/serialization/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +21 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceRemixRequestModel.js +52 -0
- package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/index.js +3 -1
- package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +10 -0
- package/{serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js → dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js} +22 -2
- package/dist/serialization/resources/textToVoice/types/index.d.ts +1 -0
- package/dist/serialization/resources/textToVoice/types/index.js +1 -0
- package/dist/serialization/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
- package/dist/serialization/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
- package/dist/serialization/types/AddPronunciationDictionaryResponseModelPermissionOnResource.d.ts +1 -1
- package/dist/serialization/types/AddPronunciationDictionaryResponseModelPermissionOnResource.js +1 -1
- package/dist/serialization/types/AgentConfig.d.ts +1 -0
- package/dist/serialization/types/AgentConfig.js +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverride.js +1 -0
- package/dist/serialization/types/AgentMetadata.d.ts +13 -0
- package/dist/serialization/types/AgentMetadata.js +44 -0
- package/dist/serialization/types/AgentSortBy.d.ts +10 -0
- package/dist/serialization/types/{ModelResponseModelConcurrencyGroup.js → AgentSortBy.js} +2 -2
- package/dist/serialization/types/AttachedTestModel.d.ts +1 -0
- package/dist/serialization/types/AttachedTestModel.js +1 -0
- package/dist/serialization/types/BreakdownTypes.d.ts +1 -1
- package/dist/serialization/types/BreakdownTypes.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -1
- package/dist/serialization/types/ConversationalConfig.d.ts +2 -0
- package/dist/serialization/types/ConversationalConfig.js +2 -0
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +2 -0
- package/dist/serialization/types/DependentAvailableAgentIdentifierAccessLevel.d.ts +1 -1
- package/dist/serialization/types/DependentAvailableAgentIdentifierAccessLevel.js +1 -1
- package/dist/serialization/types/DependentAvailableToolIdentifierAccessLevel.d.ts +1 -1
- package/dist/serialization/types/DependentAvailableToolIdentifierAccessLevel.js +1 -1
- package/dist/serialization/types/GetConvAiSettingsResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetConvAiSettingsResponseModel.js +2 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
- package/dist/serialization/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.d.ts +1 -1
- package/dist/serialization/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.js +1 -1
- package/dist/serialization/types/GetSpeechHistoryResponse.d.ts +1 -0
- package/dist/serialization/types/GetSpeechHistoryResponse.js +1 -0
- package/dist/serialization/types/GetUnitTestResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetUnitTestResponseModel.js +2 -0
- package/dist/serialization/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/{serialization/types/ModelResponseModelConcurrencyGroup.js → dist/serialization/types/KnowledgeBaseSortBy.js} +2 -2
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/LivekitStackType.d.ts +10 -0
- package/dist/serialization/types/LivekitStackType.js +41 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +3 -0
- package/dist/serialization/types/LlmReasoningEffort.d.ts +10 -0
- package/dist/serialization/types/LlmReasoningEffort.js +41 -0
- package/dist/serialization/types/MatchAnythingParameterEvaluationStrategy.d.ts +11 -0
- package/dist/serialization/types/MatchAnythingParameterEvaluationStrategy.js +41 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigInput.js +1 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigOutput.js +1 -0
- package/dist/serialization/types/Model.d.ts +1 -2
- package/dist/serialization/types/Model.js +1 -2
- package/dist/serialization/types/ModelSettingsResponseModel.d.ts +0 -1
- package/dist/serialization/types/ModelSettingsResponseModel.js +0 -1
- package/dist/serialization/types/ProjectExtendedResponseModelAccessLevel.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelAccessLevel.js +1 -1
- package/dist/serialization/types/ProjectResponseModelAccessLevel.d.ts +1 -1
- package/dist/serialization/types/ProjectResponseModelAccessLevel.js +1 -1
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.js +2 -0
- package/dist/serialization/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.d.ts +1 -1
- package/dist/serialization/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.js +1 -1
- package/dist/serialization/types/ResourceAccessInfoRole.d.ts +1 -1
- package/dist/serialization/types/ResourceAccessInfoRole.js +1 -1
- package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +1 -1
- package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +1 -1
- package/dist/serialization/types/SipTrunkCredentialsRequestModel.d.ts +1 -1
- package/dist/serialization/types/SipTrunkCredentialsRequestModel.js +1 -1
- package/dist/serialization/types/SortDirection.d.ts +10 -0
- package/dist/serialization/types/SortDirection.js +41 -0
- package/dist/serialization/types/SystemToolConfigInput.d.ts +1 -1
- package/dist/serialization/types/SystemToolConfigInput.js +1 -1
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +1 -1
- package/dist/serialization/types/SystemToolConfigOutput.js +1 -1
- package/dist/serialization/types/TextToSpeechStreamWithTimestampsRequest.d.ts +10 -0
- package/dist/serialization/types/TextToSpeechStreamWithTimestampsRequest.js +41 -0
- package/dist/serialization/types/TextToSpeechWithTimestampsRequest.d.ts +10 -0
- package/dist/serialization/types/TextToSpeechWithTimestampsRequest.js +41 -0
- package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/dist/serialization/types/TtsConversationalModel.js +7 -1
- package/dist/serialization/types/UnitTestCommonModelType.d.ts +10 -0
- package/dist/serialization/types/UnitTestCommonModelType.js +41 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -1
- package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -1
- package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -1
- package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -1
- package/dist/serialization/types/UnitTestToolCallParameterEval.d.ts +5 -1
- package/dist/serialization/types/UnitTestToolCallParameterEval.js +2 -0
- package/dist/serialization/types/VadConfig.d.ts +12 -0
- package/dist/serialization/types/VadConfig.js +43 -0
- package/dist/serialization/types/VadConfigWorkflowOverride.d.ts +12 -0
- package/dist/serialization/types/VadConfigWorkflowOverride.js +43 -0
- package/dist/serialization/types/WorkflowToolResponseModelInput.d.ts +0 -2
- package/dist/serialization/types/WorkflowToolResponseModelInput.js +0 -2
- package/dist/serialization/types/WorkflowToolResponseModelOutput.d.ts +0 -2
- package/dist/serialization/types/WorkflowToolResponseModelOutput.js +0 -2
- package/dist/serialization/types/index.d.ts +12 -1
- package/dist/serialization/types/index.js +12 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1175 -46
- package/serialization/resources/audioNative/index.d.ts +1 -0
- package/serialization/resources/audioNative/index.js +17 -0
- package/serialization/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js +41 -0
- package/serialization/resources/audioNative/types/index.d.ts +1 -0
- package/serialization/resources/audioNative/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +14 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +45 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +6 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +6 -0
- package/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.js +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +2 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +2 -1
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.js +1 -0
- package/serialization/resources/dubbing/types/DubbingListRequestOrderDirection.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestOrderDirection.js +41 -0
- package/serialization/resources/dubbing/types/index.d.ts +1 -0
- package/serialization/resources/dubbing/types/index.js +1 -0
- package/serialization/resources/history/types/HistoryListRequestSortDirection.d.ts +10 -0
- package/serialization/resources/history/types/HistoryListRequestSortDirection.js +41 -0
- package/serialization/resources/history/types/index.d.ts +1 -0
- package/serialization/resources/history/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +2 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
- package/serialization/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.d.ts +1 -1
- package/serialization/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.js +1 -1
- package/serialization/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.d.ts +1 -1
- package/serialization/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.js +1 -1
- package/{dist/serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts → serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts} +4 -4
- package/{dist/serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js} +4 -4
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +2 -2
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +2 -2
- package/serialization/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/serialization/resources/textToSpeech/client/requests/index.js +3 -3
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +41 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +41 -0
- package/serialization/resources/textToSpeech/types/index.d.ts +2 -2
- package/serialization/resources/textToSpeech/types/index.js +2 -2
- package/serialization/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +21 -0
- package/serialization/resources/textToVoice/client/requests/VoiceRemixRequestModel.js +52 -0
- package/serialization/resources/textToVoice/client/requests/index.d.ts +1 -0
- package/serialization/resources/textToVoice/client/requests/index.js +3 -1
- package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +10 -0
- package/{dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js → serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js} +22 -2
- package/serialization/resources/textToVoice/types/index.d.ts +1 -0
- package/serialization/resources/textToVoice/types/index.js +1 -0
- package/serialization/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
- package/serialization/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
- package/serialization/types/AddPronunciationDictionaryResponseModelPermissionOnResource.d.ts +1 -1
- package/serialization/types/AddPronunciationDictionaryResponseModelPermissionOnResource.js +1 -1
- package/serialization/types/AgentConfig.d.ts +1 -0
- package/serialization/types/AgentConfig.js +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverride.d.ts +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverride.js +1 -0
- package/serialization/types/AgentMetadata.d.ts +13 -0
- package/serialization/types/AgentMetadata.js +44 -0
- package/serialization/types/AgentSortBy.d.ts +10 -0
- package/serialization/types/AgentSortBy.js +41 -0
- package/serialization/types/AttachedTestModel.d.ts +1 -0
- package/serialization/types/AttachedTestModel.js +1 -0
- package/serialization/types/BreakdownTypes.d.ts +1 -1
- package/serialization/types/BreakdownTypes.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -1
- package/serialization/types/ConversationalConfig.d.ts +2 -0
- package/serialization/types/ConversationalConfig.js +2 -0
- package/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +2 -0
- package/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +2 -0
- package/serialization/types/DependentAvailableAgentIdentifierAccessLevel.d.ts +1 -1
- package/serialization/types/DependentAvailableAgentIdentifierAccessLevel.js +1 -1
- package/serialization/types/DependentAvailableToolIdentifierAccessLevel.d.ts +1 -1
- package/serialization/types/DependentAvailableToolIdentifierAccessLevel.js +1 -1
- package/serialization/types/GetConvAiSettingsResponseModel.d.ts +2 -0
- package/serialization/types/GetConvAiSettingsResponseModel.js +2 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
- package/serialization/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.d.ts +1 -1
- package/serialization/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.js +1 -1
- package/serialization/types/GetSpeechHistoryResponse.d.ts +1 -0
- package/serialization/types/GetSpeechHistoryResponse.js +1 -0
- package/serialization/types/GetUnitTestResponseModel.d.ts +2 -0
- package/serialization/types/GetUnitTestResponseModel.js +2 -0
- package/serialization/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/serialization/types/KnowledgeBaseSortBy.js +41 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/LivekitStackType.d.ts +10 -0
- package/serialization/types/LivekitStackType.js +41 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +3 -0
- package/serialization/types/LlmReasoningEffort.d.ts +10 -0
- package/serialization/types/LlmReasoningEffort.js +41 -0
- package/serialization/types/MatchAnythingParameterEvaluationStrategy.d.ts +11 -0
- package/serialization/types/MatchAnythingParameterEvaluationStrategy.js +41 -0
- package/serialization/types/McpServerConfigInput.d.ts +1 -0
- package/serialization/types/McpServerConfigInput.js +1 -0
- package/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/serialization/types/McpServerConfigOutput.js +1 -0
- package/serialization/types/Model.d.ts +1 -2
- package/serialization/types/Model.js +1 -2
- package/serialization/types/ModelSettingsResponseModel.d.ts +0 -1
- package/serialization/types/ModelSettingsResponseModel.js +0 -1
- package/serialization/types/ProjectExtendedResponseModelAccessLevel.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponseModelAccessLevel.js +1 -1
- package/serialization/types/ProjectResponseModelAccessLevel.d.ts +1 -1
- package/serialization/types/ProjectResponseModelAccessLevel.js +1 -1
- package/serialization/types/PromptAgentApiModelInput.d.ts +2 -0
- package/serialization/types/PromptAgentApiModelInput.js +2 -0
- package/serialization/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/serialization/types/PromptAgentApiModelOutput.js +2 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +2 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverride.js +2 -0
- package/serialization/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.d.ts +1 -1
- package/serialization/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.js +1 -1
- package/serialization/types/ResourceAccessInfoRole.d.ts +1 -1
- package/serialization/types/ResourceAccessInfoRole.js +1 -1
- package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +1 -1
- package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +1 -1
- package/serialization/types/SipTrunkCredentialsRequestModel.d.ts +1 -1
- package/serialization/types/SipTrunkCredentialsRequestModel.js +1 -1
- package/serialization/types/SortDirection.d.ts +10 -0
- package/serialization/types/SortDirection.js +41 -0
- package/serialization/types/SystemToolConfigInput.d.ts +1 -1
- package/serialization/types/SystemToolConfigInput.js +1 -1
- package/serialization/types/SystemToolConfigOutput.d.ts +1 -1
- package/serialization/types/SystemToolConfigOutput.js +1 -1
- package/serialization/types/TextToSpeechStreamWithTimestampsRequest.d.ts +10 -0
- package/serialization/types/TextToSpeechStreamWithTimestampsRequest.js +41 -0
- package/serialization/types/TextToSpeechWithTimestampsRequest.d.ts +10 -0
- package/serialization/types/TextToSpeechWithTimestampsRequest.js +41 -0
- package/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/serialization/types/TtsConversationalModel.js +7 -1
- package/serialization/types/UnitTestCommonModelType.d.ts +10 -0
- package/serialization/types/UnitTestCommonModelType.js +41 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/serialization/types/UnitTestSummaryResponseModel.js +2 -0
- package/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -1
- package/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -1
- package/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -1
- package/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -1
- package/serialization/types/UnitTestToolCallParameterEval.d.ts +5 -1
- package/serialization/types/UnitTestToolCallParameterEval.js +2 -0
- package/serialization/types/VadConfig.d.ts +12 -0
- package/serialization/types/VadConfig.js +43 -0
- package/serialization/types/VadConfigWorkflowOverride.d.ts +12 -0
- package/serialization/types/VadConfigWorkflowOverride.js +43 -0
- package/serialization/types/WorkflowToolResponseModelInput.d.ts +0 -2
- package/serialization/types/WorkflowToolResponseModelInput.js +0 -2
- package/serialization/types/WorkflowToolResponseModelOutput.d.ts +0 -2
- package/serialization/types/WorkflowToolResponseModelOutput.js +0 -2
- package/serialization/types/index.d.ts +12 -1
- package/serialization/types/index.js +12 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js +0 -11
- package/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js +0 -11
- package/api/types/ModelResponseModelConcurrencyGroup.d.ts +0 -11
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js +0 -11
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js +0 -11
- package/dist/api/types/ModelResponseModelConcurrencyGroup.d.ts +0 -11
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/types/ModelResponseModelConcurrencyGroup.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/serialization/types/ModelResponseModelConcurrencyGroup.d.ts +0 -10
- /package/api/resources/{textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js} +0 -0
- /package/{dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js} +0 -0
|
@@ -315,5 +315,89 @@ class TextToVoice {
|
|
|
315
315
|
}
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* Remix an existing voice via a prompt. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.
|
|
320
|
+
*
|
|
321
|
+
* @param {string} voiceId - Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
|
|
322
|
+
* @param {ElevenLabs.VoiceRemixRequestModel} request
|
|
323
|
+
* @param {TextToVoice.RequestOptions} requestOptions - Request-specific configuration.
|
|
324
|
+
*
|
|
325
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* await client.textToVoice.remix("21m00Tcm4TlvDq8ikWAM", {
|
|
329
|
+
* voiceDescription: "Make the voice have a higher pitch."
|
|
330
|
+
* })
|
|
331
|
+
*/
|
|
332
|
+
remix(voiceId, request, requestOptions) {
|
|
333
|
+
return core.HttpResponsePromise.fromPromise(this.__remix(voiceId, request, requestOptions));
|
|
334
|
+
}
|
|
335
|
+
__remix(voiceId, request, requestOptions) {
|
|
336
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
337
|
+
var _a, _b, _c;
|
|
338
|
+
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
339
|
+
const _queryParams = {};
|
|
340
|
+
if (outputFormat != null) {
|
|
341
|
+
_queryParams["output_format"] = serializers.TextToVoiceRemixRequestOutputFormat.jsonOrThrow(outputFormat, {
|
|
342
|
+
unrecognizedObjectKeys: "strip",
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
const _response = yield core.fetcher({
|
|
346
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/text-to-voice/${encodeURIComponent(voiceId)}/remix`),
|
|
347
|
+
method: "POST",
|
|
348
|
+
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
349
|
+
contentType: "application/json",
|
|
350
|
+
queryParameters: _queryParams,
|
|
351
|
+
requestType: "json",
|
|
352
|
+
body: serializers.VoiceRemixRequestModel.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
353
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
354
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
355
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
356
|
+
});
|
|
357
|
+
if (_response.ok) {
|
|
358
|
+
return {
|
|
359
|
+
data: serializers.VoiceDesignPreviewResponse.parseOrThrow(_response.body, {
|
|
360
|
+
unrecognizedObjectKeys: "passthrough",
|
|
361
|
+
allowUnrecognizedUnionMembers: true,
|
|
362
|
+
allowUnrecognizedEnumValues: true,
|
|
363
|
+
breadcrumbsPrefix: ["response"],
|
|
364
|
+
}),
|
|
365
|
+
rawResponse: _response.rawResponse,
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
if (_response.error.reason === "status-code") {
|
|
369
|
+
switch (_response.error.statusCode) {
|
|
370
|
+
case 422:
|
|
371
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
372
|
+
unrecognizedObjectKeys: "passthrough",
|
|
373
|
+
allowUnrecognizedUnionMembers: true,
|
|
374
|
+
allowUnrecognizedEnumValues: true,
|
|
375
|
+
breadcrumbsPrefix: ["response"],
|
|
376
|
+
}), _response.rawResponse);
|
|
377
|
+
default:
|
|
378
|
+
throw new errors.ElevenLabsError({
|
|
379
|
+
statusCode: _response.error.statusCode,
|
|
380
|
+
body: _response.error.body,
|
|
381
|
+
rawResponse: _response.rawResponse,
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
switch (_response.error.reason) {
|
|
386
|
+
case "non-json":
|
|
387
|
+
throw new errors.ElevenLabsError({
|
|
388
|
+
statusCode: _response.error.statusCode,
|
|
389
|
+
body: _response.error.rawBody,
|
|
390
|
+
rawResponse: _response.rawResponse,
|
|
391
|
+
});
|
|
392
|
+
case "timeout":
|
|
393
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/text-to-voice/{voice_id}/remix.");
|
|
394
|
+
case "unknown":
|
|
395
|
+
throw new errors.ElevenLabsError({
|
|
396
|
+
message: _response.error.errorMessage,
|
|
397
|
+
rawResponse: _response.rawResponse,
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
}
|
|
318
402
|
}
|
|
319
403
|
exports.TextToVoice = TextToVoice;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* voiceDescription: "Make the voice have a higher pitch."
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface VoiceRemixRequestModel {
|
|
12
|
+
/**
|
|
13
|
+
* Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.
|
|
14
|
+
*/
|
|
15
|
+
outputFormat?: ElevenLabs.TextToVoiceRemixRequestOutputFormat;
|
|
16
|
+
/** Description of the changes to make to the voice. */
|
|
17
|
+
voiceDescription: string;
|
|
18
|
+
/** Text to generate, text length has to be between 100 and 1000. */
|
|
19
|
+
text?: string;
|
|
20
|
+
/** Whether to automatically generate a text suitable for the voice description. */
|
|
21
|
+
autoGenerateText?: boolean;
|
|
22
|
+
/** Controls the volume level of the generated voice. -1 is quietest, 1 is loudest, 0 corresponds to roughly -24 LUFS. */
|
|
23
|
+
loudness?: number;
|
|
24
|
+
/** Random number that controls the voice generation. Same seed with same inputs produces same voice. */
|
|
25
|
+
seed?: number;
|
|
26
|
+
/** Controls how closely the AI follows the prompt. Lower numbers give the AI more freedom to be creative, while higher numbers force it to stick more to the prompt. High numbers can cause voice to sound artificial or robotic. We recommend to use longer, more detailed prompts at lower Guidance Scale. */
|
|
27
|
+
guidanceScale?: number;
|
|
28
|
+
/** Determines whether the Text to Voice previews should be included in the response. If true, only the generated IDs will be returned which can then be streamed via the /v1/text-to-voice/:generated_voice_id/stream endpoint. */
|
|
29
|
+
streamPreviews?: boolean;
|
|
30
|
+
/** The remixing session id. */
|
|
31
|
+
remixingSessionId?: string;
|
|
32
|
+
/** The id of the remixing session iteration where these generations should be attached to. If not provided, a new iteration will be created. */
|
|
33
|
+
remixingSessionIterationId?: string;
|
|
34
|
+
/** Controls the balance of prompt versus reference audio when generating voice samples. 0 means almost no prompt influence, 1 means almost no reference audio influence. Only supported when using the eleven_ttv_v3 model and providing reference audio. */
|
|
35
|
+
promptStrength?: number;
|
|
36
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type VoiceDesignRequest } from "./VoiceDesignRequest";
|
|
2
2
|
export { type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost } from "./BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost";
|
|
3
3
|
export { type VoiceDesignRequestModel } from "./VoiceDesignRequestModel";
|
|
4
|
+
export { type VoiceRemixRequestModel } from "./VoiceRemixRequestModel";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.
|
|
6
|
+
*/
|
|
7
|
+
export type TextToVoiceRemixRequestOutputFormat = "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_8000" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000" | "ulaw_8000" | "alaw_8000" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "opus_48000_128" | "opus_48000_192";
|
|
8
|
+
export declare const TextToVoiceRemixRequestOutputFormat: {
|
|
9
|
+
readonly Mp32205032: "mp3_22050_32";
|
|
10
|
+
readonly Mp34410032: "mp3_44100_32";
|
|
11
|
+
readonly Mp34410064: "mp3_44100_64";
|
|
12
|
+
readonly Mp34410096: "mp3_44100_96";
|
|
13
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
14
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
15
|
+
readonly Pcm8000: "pcm_8000";
|
|
16
|
+
readonly Pcm16000: "pcm_16000";
|
|
17
|
+
readonly Pcm22050: "pcm_22050";
|
|
18
|
+
readonly Pcm24000: "pcm_24000";
|
|
19
|
+
readonly Pcm44100: "pcm_44100";
|
|
20
|
+
readonly Pcm48000: "pcm_48000";
|
|
21
|
+
readonly Ulaw8000: "ulaw_8000";
|
|
22
|
+
readonly Alaw8000: "alaw_8000";
|
|
23
|
+
readonly Opus4800032: "opus_48000_32";
|
|
24
|
+
readonly Opus4800064: "opus_48000_64";
|
|
25
|
+
readonly Opus4800096: "opus_48000_96";
|
|
26
|
+
readonly Opus48000128: "opus_48000_128";
|
|
27
|
+
readonly Opus48000192: "opus_48000_192";
|
|
28
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TextToVoiceRemixRequestOutputFormat = void 0;
|
|
7
|
+
exports.TextToVoiceRemixRequestOutputFormat = {
|
|
8
|
+
Mp32205032: "mp3_22050_32",
|
|
9
|
+
Mp34410032: "mp3_44100_32",
|
|
10
|
+
Mp34410064: "mp3_44100_64",
|
|
11
|
+
Mp34410096: "mp3_44100_96",
|
|
12
|
+
Mp344100128: "mp3_44100_128",
|
|
13
|
+
Mp344100192: "mp3_44100_192",
|
|
14
|
+
Pcm8000: "pcm_8000",
|
|
15
|
+
Pcm16000: "pcm_16000",
|
|
16
|
+
Pcm22050: "pcm_22050",
|
|
17
|
+
Pcm24000: "pcm_24000",
|
|
18
|
+
Pcm44100: "pcm_44100",
|
|
19
|
+
Pcm48000: "pcm_48000",
|
|
20
|
+
Ulaw8000: "ulaw_8000",
|
|
21
|
+
Alaw8000: "alaw_8000",
|
|
22
|
+
Opus4800032: "opus_48000_32",
|
|
23
|
+
Opus4800064: "opus_48000_64",
|
|
24
|
+
Opus4800096: "opus_48000_96",
|
|
25
|
+
Opus48000128: "opus_48000_128",
|
|
26
|
+
Opus48000192: "opus_48000_192",
|
|
27
|
+
};
|
|
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./TextToVoiceCreatePreviewsRequestOutputFormat"), exports);
|
|
18
18
|
__exportStar(require("./TextToVoiceDesignRequestOutputFormat"), exports);
|
|
19
19
|
__exportStar(require("./VoiceDesignRequestModelModelId"), exports);
|
|
20
|
+
__exportStar(require("./TextToVoiceRemixRequestOutputFormat"), exports);
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Role to update the target principal with.
|
|
6
6
|
*/
|
|
7
|
-
export type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole = "admin" | "editor" | "viewer";
|
|
7
|
+
export type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole = "admin" | "editor" | "commenter" | "viewer";
|
|
8
8
|
export declare const BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole: {
|
|
9
9
|
readonly Admin: "admin";
|
|
10
10
|
readonly Editor: "editor";
|
|
11
|
+
readonly Commenter: "commenter";
|
|
11
12
|
readonly Viewer: "viewer";
|
|
12
13
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type AddPronunciationDictionaryResponseModelPermissionOnResource = "admin" | "editor" | "viewer";
|
|
4
|
+
export type AddPronunciationDictionaryResponseModelPermissionOnResource = "admin" | "editor" | "commenter" | "viewer";
|
|
5
5
|
export declare const AddPronunciationDictionaryResponseModelPermissionOnResource: {
|
|
6
6
|
readonly Admin: "admin";
|
|
7
7
|
readonly Editor: "editor";
|
|
8
|
+
readonly Commenter: "commenter";
|
|
8
9
|
readonly Viewer: "viewer";
|
|
9
10
|
};
|
|
@@ -9,6 +9,8 @@ export interface AgentConfig {
|
|
|
9
9
|
language?: string;
|
|
10
10
|
/** Configuration for dynamic variables */
|
|
11
11
|
dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
|
|
12
|
+
/** If true, the user will not be able to interrupt the agent while the first message is being delivered. */
|
|
13
|
+
disableFirstMessageInterruptions?: boolean;
|
|
12
14
|
/** The prompt for the agent */
|
|
13
15
|
prompt?: ElevenLabs.PromptAgentApiModelOutput;
|
|
14
16
|
}
|
|
@@ -9,6 +9,8 @@ export interface AgentConfigApiModelWorkflowOverride {
|
|
|
9
9
|
language?: string;
|
|
10
10
|
/** Configuration for dynamic variables */
|
|
11
11
|
dynamicVariables?: ElevenLabs.DynamicVariablesConfigWorkflowOverride;
|
|
12
|
+
/** If true, the user will not be able to interrupt the agent while the first message is being delivered. */
|
|
13
|
+
disableFirstMessageInterruptions?: boolean;
|
|
12
14
|
/** The prompt for the agent */
|
|
13
15
|
prompt?: ElevenLabs.PromptAgentApiModelWorkflowOverride;
|
|
14
16
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AgentSortBy = void 0;
|
|
7
|
+
exports.AgentSortBy = {
|
|
8
|
+
Name: "name",
|
|
9
|
+
CreatedAt: "created_at",
|
|
10
|
+
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* How to break down the information. Cannot be "user" or "api_key" if include_workspace_metrics is False.
|
|
6
6
|
*/
|
|
7
|
-
export type BreakdownTypes = "none" | "voice" | "voice_multiplier" | "user" | "groups" | "api_keys" | "all_api_keys" | "product_type" | "model" | "resource" | "request_queue" | "region" | "subresource_id" | "reporting_workspace_id" | "has_api_key";
|
|
7
|
+
export type BreakdownTypes = "none" | "voice" | "voice_multiplier" | "user" | "groups" | "api_keys" | "all_api_keys" | "product_type" | "model" | "resource" | "request_queue" | "region" | "subresource_id" | "reporting_workspace_id" | "has_api_key" | "request_source";
|
|
8
8
|
export declare const BreakdownTypes: {
|
|
9
9
|
readonly None: "none";
|
|
10
10
|
readonly Voice: "voice";
|
|
@@ -21,4 +21,5 @@ export declare const BreakdownTypes: {
|
|
|
21
21
|
readonly SubresourceId: "subresource_id";
|
|
22
22
|
readonly ReportingWorkspaceId: "reporting_workspace_id";
|
|
23
23
|
readonly HasApiKey: "has_api_key";
|
|
24
|
+
readonly RequestSource: "request_source";
|
|
24
25
|
};
|
|
@@ -7,6 +7,7 @@ import * as ElevenLabs from "../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface ClientToolConfigInput {
|
|
9
9
|
name: string;
|
|
10
|
+
/** Description of when the tool should be used and what it does. */
|
|
10
11
|
description: string;
|
|
11
12
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 1 and 120 seconds (inclusive). */
|
|
12
13
|
responseTimeoutSecs?: number;
|
|
@@ -7,6 +7,7 @@ import * as ElevenLabs from "../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface ClientToolConfigOutput {
|
|
9
9
|
name: string;
|
|
10
|
+
/** Description of when the tool should be used and what it does. */
|
|
10
11
|
description: string;
|
|
11
12
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 1 and 120 seconds (inclusive). */
|
|
12
13
|
responseTimeoutSecs?: number;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
5
|
export interface ConversationHistoryTranscriptCommonModelInput {
|
|
6
6
|
role: ElevenLabs.ConversationHistoryTranscriptCommonModelInputRole;
|
|
7
|
+
agentMetadata?: ElevenLabs.AgentMetadata;
|
|
7
8
|
message?: string;
|
|
8
9
|
multivoiceMessage?: ElevenLabs.ConversationHistoryMultivoiceMessageModel;
|
|
9
10
|
toolCalls?: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModel[];
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
5
|
export interface ConversationHistoryTranscriptCommonModelOutput {
|
|
6
6
|
role: ElevenLabs.ConversationHistoryTranscriptCommonModelOutputRole;
|
|
7
|
+
agentMetadata?: ElevenLabs.AgentMetadata;
|
|
7
8
|
message?: string;
|
|
8
9
|
multivoiceMessage?: ElevenLabs.ConversationHistoryMultivoiceMessageModel;
|
|
9
10
|
toolCalls?: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModel[];
|
|
@@ -10,5 +10,5 @@ export interface ConversationHistoryTranscriptOtherToolsResultCommonModel {
|
|
|
10
10
|
toolHasBeenCalled: boolean;
|
|
11
11
|
toolLatencySecs?: number;
|
|
12
12
|
dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
|
|
13
|
-
type
|
|
13
|
+
type?: ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModelType;
|
|
14
14
|
}
|
|
@@ -13,6 +13,8 @@ export interface ConversationalConfig {
|
|
|
13
13
|
conversation?: ElevenLabs.ConversationConfig;
|
|
14
14
|
/** Language presets for conversations */
|
|
15
15
|
languagePresets?: Record<string, ElevenLabs.LanguagePresetOutput>;
|
|
16
|
+
/** Configuration for voice activity detection */
|
|
17
|
+
vad?: ElevenLabs.VadConfig;
|
|
16
18
|
/** Agent specific configuration */
|
|
17
19
|
agent?: ElevenLabs.AgentConfig;
|
|
18
20
|
}
|
|
@@ -13,6 +13,8 @@ export interface ConversationalConfigApiModelWorkflowOverride {
|
|
|
13
13
|
conversation?: ElevenLabs.ConversationConfigWorkflowOverride;
|
|
14
14
|
/** Language presets for conversations */
|
|
15
15
|
languagePresets?: Record<string, ElevenLabs.LanguagePresetInput | undefined>;
|
|
16
|
+
/** Configuration for voice activity detection */
|
|
17
|
+
vad?: ElevenLabs.VadConfigWorkflowOverride;
|
|
16
18
|
/** Agent specific configuration */
|
|
17
19
|
agent?: ElevenLabs.AgentConfigApiModelWorkflowOverride;
|
|
18
20
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type DependentAvailableAgentIdentifierAccessLevel = "admin" | "editor" | "viewer";
|
|
4
|
+
export type DependentAvailableAgentIdentifierAccessLevel = "admin" | "editor" | "commenter" | "viewer";
|
|
5
5
|
export declare const DependentAvailableAgentIdentifierAccessLevel: {
|
|
6
6
|
readonly Admin: "admin";
|
|
7
7
|
readonly Editor: "editor";
|
|
8
|
+
readonly Commenter: "commenter";
|
|
8
9
|
readonly Viewer: "viewer";
|
|
9
10
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type DependentAvailableToolIdentifierAccessLevel = "admin" | "editor" | "viewer";
|
|
4
|
+
export type DependentAvailableToolIdentifierAccessLevel = "admin" | "editor" | "commenter" | "viewer";
|
|
5
5
|
export declare const DependentAvailableToolIdentifierAccessLevel: {
|
|
6
6
|
readonly Admin: "admin";
|
|
7
7
|
readonly Editor: "editor";
|
|
8
|
+
readonly Commenter: "commenter";
|
|
8
9
|
readonly Viewer: "viewer";
|
|
9
10
|
};
|
|
@@ -7,7 +7,7 @@ export interface DubbingMetadataResponse {
|
|
|
7
7
|
dubbingId: string;
|
|
8
8
|
/** The name of the dubbing project. */
|
|
9
9
|
name: string;
|
|
10
|
-
/** The status of the dubbing project. Either 'dubbed', 'dubbing' or '
|
|
10
|
+
/** The status of the dubbing project. Either 'dubbed', 'dubbing', 'failed', or 'cloning'. */
|
|
11
11
|
status: string;
|
|
12
12
|
/** The target languages of the dubbing project. */
|
|
13
13
|
targetLanguages: string[];
|
|
@@ -20,4 +20,6 @@ export interface GetPhoneNumberSipTrunkResponseModel {
|
|
|
20
20
|
outboundTrunk?: ElevenLabs.GetPhoneNumberOutboundSipTrunkConfigResponseModel;
|
|
21
21
|
/** Configuration of the Inbound SIP trunk - if configured. */
|
|
22
22
|
inboundTrunk?: ElevenLabs.GetPhoneNumberInboundSipTrunkConfigResponseModel;
|
|
23
|
+
/** Type of Livekit stack used for this number. */
|
|
24
|
+
livekitStack: ElevenLabs.LivekitStackType;
|
|
23
25
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type GetPronunciationDictionaryMetadataResponseModelPermissionOnResource = "admin" | "editor" | "viewer";
|
|
4
|
+
export type GetPronunciationDictionaryMetadataResponseModelPermissionOnResource = "admin" | "editor" | "commenter" | "viewer";
|
|
5
5
|
export declare const GetPronunciationDictionaryMetadataResponseModelPermissionOnResource: {
|
|
6
6
|
readonly Admin: "admin";
|
|
7
7
|
readonly Editor: "editor";
|
|
8
|
+
readonly Commenter: "commenter";
|
|
8
9
|
readonly Viewer: "viewer";
|
|
9
10
|
};
|
|
@@ -14,6 +14,7 @@ export interface GetUnitTestResponseModel {
|
|
|
14
14
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelOutput;
|
|
15
15
|
/** Dynamic variables to replace in the agent config during testing */
|
|
16
16
|
dynamicVariables?: Record<string, ElevenLabs.GetUnitTestResponseModelDynamicVariablesValue | undefined>;
|
|
17
|
+
type?: ElevenLabs.UnitTestCommonModelType;
|
|
17
18
|
id: string;
|
|
18
19
|
name: string;
|
|
19
20
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type KnowledgeBaseSortBy = "name" | "created_at" | "updated_at" | "size";
|
|
5
|
+
export declare const KnowledgeBaseSortBy: {
|
|
6
|
+
readonly Name: "name";
|
|
7
|
+
readonly CreatedAt: "created_at";
|
|
8
|
+
readonly UpdatedAt: "updated_at";
|
|
9
|
+
readonly Size: "size";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.KnowledgeBaseSortBy = void 0;
|
|
7
|
+
exports.KnowledgeBaseSortBy = {
|
|
8
|
+
Name: "name",
|
|
9
|
+
CreatedAt: "created_at",
|
|
10
|
+
UpdatedAt: "updated_at",
|
|
11
|
+
Size: "size",
|
|
12
|
+
};
|
|
@@ -6,6 +6,8 @@ export interface LiteralJsonSchemaProperty {
|
|
|
6
6
|
type: ElevenLabs.LiteralJsonSchemaPropertyType;
|
|
7
7
|
/** The description of the property */
|
|
8
8
|
description?: string;
|
|
9
|
+
/** List of allowed string values for string type parameters */
|
|
10
|
+
enum?: string[];
|
|
9
11
|
/** The dynamic variable of the property */
|
|
10
12
|
dynamicVariable?: string;
|
|
11
13
|
/** The constant value of the property */
|
package/{dist/api/types/ModelResponseModelConcurrencyGroup.js → api/types/LivekitStackType.js}
RENAMED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.LivekitStackType = void 0;
|
|
7
|
+
exports.LivekitStackType = {
|
|
8
8
|
Standard: "standard",
|
|
9
|
-
|
|
9
|
+
Static: "static",
|
|
10
10
|
};
|
package/api/types/Llm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type Llm = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "gpt-oss-20b" | "gpt-oss-120b" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106";
|
|
4
|
+
export type Llm = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "gpt-oss-20b" | "gpt-oss-120b" | "glm-45-air-fp8" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106" | "watt-tool-8b" | "watt-tool-70b";
|
|
5
5
|
export declare const Llm: {
|
|
6
6
|
readonly Gpt4OMini: "gpt-4o-mini";
|
|
7
7
|
readonly Gpt4O: "gpt-4o";
|
|
@@ -31,6 +31,7 @@ export declare const Llm: {
|
|
|
31
31
|
readonly Qwen330Ba3B: "qwen3-30b-a3b";
|
|
32
32
|
readonly GptOss20B: "gpt-oss-20b";
|
|
33
33
|
readonly GptOss120B: "gpt-oss-120b";
|
|
34
|
+
readonly Glm45AirFp8: "glm-45-air-fp8";
|
|
34
35
|
readonly Gemini25FlashPreview0520: "gemini-2.5-flash-preview-05-20";
|
|
35
36
|
readonly Gemini25FlashPreview0417: "gemini-2.5-flash-preview-04-17";
|
|
36
37
|
readonly Gemini25FlashLitePreview0617: "gemini-2.5-flash-lite-preview-06-17";
|
|
@@ -60,4 +61,6 @@ export declare const Llm: {
|
|
|
60
61
|
readonly Gpt4Turbo20240409: "gpt-4-turbo-2024-04-09";
|
|
61
62
|
readonly Gpt35Turbo0125: "gpt-3.5-turbo-0125";
|
|
62
63
|
readonly Gpt35Turbo1106: "gpt-3.5-turbo-1106";
|
|
64
|
+
readonly WattTool8B: "watt-tool-8b";
|
|
65
|
+
readonly WattTool70B: "watt-tool-70b";
|
|
63
66
|
};
|
package/api/types/Llm.js
CHANGED
|
@@ -33,6 +33,7 @@ exports.Llm = {
|
|
|
33
33
|
Qwen330Ba3B: "qwen3-30b-a3b",
|
|
34
34
|
GptOss20B: "gpt-oss-20b",
|
|
35
35
|
GptOss120B: "gpt-oss-120b",
|
|
36
|
+
Glm45AirFp8: "glm-45-air-fp8",
|
|
36
37
|
Gemini25FlashPreview0520: "gemini-2.5-flash-preview-05-20",
|
|
37
38
|
Gemini25FlashPreview0417: "gemini-2.5-flash-preview-04-17",
|
|
38
39
|
Gemini25FlashLitePreview0617: "gemini-2.5-flash-lite-preview-06-17",
|
|
@@ -62,4 +63,6 @@ exports.Llm = {
|
|
|
62
63
|
Gpt4Turbo20240409: "gpt-4-turbo-2024-04-09",
|
|
63
64
|
Gpt35Turbo0125: "gpt-3.5-turbo-0125",
|
|
64
65
|
Gpt35Turbo1106: "gpt-3.5-turbo-1106",
|
|
66
|
+
WattTool8B: "watt-tool-8b",
|
|
67
|
+
WattTool70B: "watt-tool-70b",
|
|
65
68
|
};
|