@elevenlabs/elevenlabs-js 2.15.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.js +12 -4
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +13 -4
- 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/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/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/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.js +12 -4
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +13 -4
- 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/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/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/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/{serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js → dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js} +7 -3
- 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/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/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/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 +1170 -116
- 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/{dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js → serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js} +7 -3
- 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/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/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/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
|
@@ -88,7 +88,7 @@ export declare class PhoneNumbers {
|
|
|
88
88
|
delete(phoneNumberId: string, requestOptions?: PhoneNumbers.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
89
89
|
private __delete;
|
|
90
90
|
/**
|
|
91
|
-
* Update
|
|
91
|
+
* Update assigned agent of a phone number
|
|
92
92
|
*
|
|
93
93
|
* @param {string} phoneNumberId - The id of an agent. This is returned on agent creation.
|
|
94
94
|
* @param {ElevenLabs.conversationalAi.UpdatePhoneNumberRequest} request
|
|
@@ -339,7 +339,7 @@ class PhoneNumbers {
|
|
|
339
339
|
});
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
342
|
-
* Update
|
|
342
|
+
* Update assigned agent of a phone number
|
|
343
343
|
*
|
|
344
344
|
* @param {string} phoneNumberId - The id of an agent. This is returned on agent creation.
|
|
345
345
|
* @param {ElevenLabs.conversationalAi.UpdatePhoneNumberRequest} request
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as ElevenLabs from "../../../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {}
|
|
7
8
|
*/
|
|
8
9
|
export interface UpdatePhoneNumberRequest {
|
|
9
10
|
agentId?: string;
|
|
11
|
+
inboundTrunkConfig?: ElevenLabs.InboundSipTrunkConfigRequestModel;
|
|
12
|
+
outboundTrunkConfig?: ElevenLabs.OutboundSipTrunkConfigRequestModel;
|
|
13
|
+
livekitStack?: ElevenLabs.LivekitStackType;
|
|
10
14
|
}
|
|
@@ -33,5 +33,6 @@ export interface CreateUnitTestRequest {
|
|
|
33
33
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelInput;
|
|
34
34
|
/** Dynamic variables to replace in the agent config during testing */
|
|
35
35
|
dynamicVariables?: Record<string, ElevenLabs.conversationalAi.CreateUnitTestRequestDynamicVariablesValue | undefined>;
|
|
36
|
+
type?: ElevenLabs.UnitTestCommonModelType;
|
|
36
37
|
name: string;
|
|
37
38
|
}
|
|
@@ -33,5 +33,6 @@ export interface UpdateUnitTestRequest {
|
|
|
33
33
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelInput;
|
|
34
34
|
/** Dynamic variables to replace in the agent config during testing */
|
|
35
35
|
dynamicVariables?: Record<string, ElevenLabs.conversationalAi.UpdateUnitTestRequestDynamicVariablesValue | undefined>;
|
|
36
|
+
type?: ElevenLabs.UnitTestCommonModelType;
|
|
36
37
|
name: string;
|
|
37
38
|
}
|
|
@@ -88,7 +88,7 @@ class Dubbing {
|
|
|
88
88
|
__list() {
|
|
89
89
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
90
90
|
var _a, _b, _c;
|
|
91
|
-
const { cursor, pageSize, dubbingStatus, filterByCreator } = request;
|
|
91
|
+
const { cursor, pageSize, dubbingStatus, filterByCreator, orderBy, orderDirection } = request;
|
|
92
92
|
const _queryParams = {};
|
|
93
93
|
if (cursor != null) {
|
|
94
94
|
_queryParams["cursor"] = cursor;
|
|
@@ -104,6 +104,14 @@ class Dubbing {
|
|
|
104
104
|
if (filterByCreator != null) {
|
|
105
105
|
_queryParams["filter_by_creator"] = serializers.DubbingListRequestFilterByCreator.jsonOrThrow(filterByCreator, { unrecognizedObjectKeys: "strip" });
|
|
106
106
|
}
|
|
107
|
+
if (orderBy != null) {
|
|
108
|
+
_queryParams["order_by"] = orderBy;
|
|
109
|
+
}
|
|
110
|
+
if (orderDirection != null) {
|
|
111
|
+
_queryParams["order_direction"] = serializers.DubbingListRequestOrderDirection.jsonOrThrow(orderDirection, {
|
|
112
|
+
unrecognizedObjectKeys: "strip",
|
|
113
|
+
});
|
|
114
|
+
}
|
|
107
115
|
const _response = yield core.fetcher({
|
|
108
116
|
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/dubbing"),
|
|
109
117
|
method: "GET",
|
package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface BodyDubAVideoOrAnAudioFileV1DubbingPost {
|
|
|
37
37
|
useProfanityFilter?: boolean;
|
|
38
38
|
/** Whether to prepare dub for edits in dubbing studio or edits as a dubbing resource. */
|
|
39
39
|
dubbingStudio?: boolean;
|
|
40
|
-
/**
|
|
40
|
+
/** Instead of using a voice clone in dubbing, use a similar voice from the ElevenLabs Voice Library. Voices used from the library will contribute towards a workspace's custom voices limit, and if there aren't enough available slots the dub will fail. Using this feature requires the caller to have the 'add_voice_from_voice_library' permission on their workspace to access new voices. */
|
|
41
41
|
disableVoiceCloning?: boolean;
|
|
42
42
|
/** automatic or manual. Manual mode is only supported when creating a dubbing studio project */
|
|
43
43
|
mode?: string;
|
|
@@ -23,4 +23,12 @@ export interface DubbingListRequest {
|
|
|
23
23
|
* Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them.
|
|
24
24
|
*/
|
|
25
25
|
filterByCreator?: ElevenLabs.DubbingListRequestFilterByCreator;
|
|
26
|
+
/**
|
|
27
|
+
* The field to use for ordering results from this query.
|
|
28
|
+
*/
|
|
29
|
+
orderBy?: "created_at";
|
|
30
|
+
/**
|
|
31
|
+
* The order direction to use for results from this query.
|
|
32
|
+
*/
|
|
33
|
+
orderDirection?: ElevenLabs.DubbingListRequestOrderDirection;
|
|
26
34
|
}
|
|
@@ -44,17 +44,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
48
|
-
var t = {};
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
-
t[p] = s[p];
|
|
51
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
-
t[p[i]] = s[p[i]];
|
|
55
|
-
}
|
|
56
|
-
return t;
|
|
57
|
-
};
|
|
58
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59
48
|
exports.Resource = void 0;
|
|
60
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
@@ -401,19 +390,13 @@ class Resource {
|
|
|
401
390
|
__render(dubbingId, language, request, requestOptions) {
|
|
402
391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
403
392
|
var _a, _b, _c;
|
|
404
|
-
const { shouldNormalizeVolume } = request, _body = __rest(request, ["shouldNormalizeVolume"]);
|
|
405
|
-
const _queryParams = {};
|
|
406
|
-
if (shouldNormalizeVolume != null) {
|
|
407
|
-
_queryParams["should_normalize_volume"] = shouldNormalizeVolume.toString();
|
|
408
|
-
}
|
|
409
393
|
const _response = yield core.fetcher({
|
|
410
394
|
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/dubbing/resource/${encodeURIComponent(dubbingId)}/render/${encodeURIComponent(language)}`),
|
|
411
395
|
method: "POST",
|
|
412
396
|
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),
|
|
413
397
|
contentType: "application/json",
|
|
414
|
-
queryParameters: _queryParams,
|
|
415
398
|
requestType: "json",
|
|
416
|
-
body: serializers.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.jsonOrThrow(
|
|
399
|
+
body: serializers.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
417
400
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
418
401
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
419
402
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -9,10 +9,8 @@ import * as ElevenLabs from "../../../../../../index";
|
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost {
|
|
12
|
-
/**
|
|
13
|
-
* Whether to normalize the volume of the rendered audio.
|
|
14
|
-
*/
|
|
15
|
-
shouldNormalizeVolume?: boolean;
|
|
16
12
|
/** The type of the render. One of ['mp4', 'aac', 'mp3', 'wav', 'aaf', 'tracks_zip', 'clips_zip'] */
|
|
17
13
|
renderType: ElevenLabs.RenderType;
|
|
14
|
+
/** Whether to normalize the volume of the rendered audio. */
|
|
15
|
+
normalizeVolume?: boolean;
|
|
18
16
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The order direction to use for results from this query.
|
|
6
|
+
*/
|
|
7
|
+
export type DubbingListRequestOrderDirection = "DESCENDING" | "ASCENDING";
|
|
8
|
+
export declare const DubbingListRequestOrderDirection: {
|
|
9
|
+
readonly Descending: "DESCENDING";
|
|
10
|
+
readonly Ascending: "ASCENDING";
|
|
11
|
+
};
|
|
@@ -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.DubbingListRequestOrderDirection = void 0;
|
|
7
|
+
exports.DubbingListRequestOrderDirection = {
|
|
8
|
+
Descending: "DESCENDING",
|
|
9
|
+
Ascending: "ASCENDING",
|
|
10
|
+
};
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./DubbingListRequestDubbingStatus"), exports);
|
|
18
18
|
__exportStar(require("./DubbingListRequestFilterByCreator"), exports);
|
|
19
|
+
__exportStar(require("./DubbingListRequestOrderDirection"), exports);
|
|
@@ -73,7 +73,7 @@ class History {
|
|
|
73
73
|
__list() {
|
|
74
74
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
75
75
|
var _a, _b, _c;
|
|
76
|
-
const { pageSize, startAfterHistoryItemId, voiceId, search, source } = request;
|
|
76
|
+
const { pageSize, startAfterHistoryItemId, voiceId, modelId, dateBeforeUnix, dateAfterUnix, sortDirection, search, source, } = request;
|
|
77
77
|
const _queryParams = {};
|
|
78
78
|
if (pageSize != null) {
|
|
79
79
|
_queryParams["page_size"] = pageSize.toString();
|
|
@@ -84,6 +84,20 @@ class History {
|
|
|
84
84
|
if (voiceId != null) {
|
|
85
85
|
_queryParams["voice_id"] = voiceId;
|
|
86
86
|
}
|
|
87
|
+
if (modelId != null) {
|
|
88
|
+
_queryParams["model_id"] = modelId;
|
|
89
|
+
}
|
|
90
|
+
if (dateBeforeUnix != null) {
|
|
91
|
+
_queryParams["date_before_unix"] = dateBeforeUnix.toString();
|
|
92
|
+
}
|
|
93
|
+
if (dateAfterUnix != null) {
|
|
94
|
+
_queryParams["date_after_unix"] = dateAfterUnix.toString();
|
|
95
|
+
}
|
|
96
|
+
if (sortDirection != null) {
|
|
97
|
+
_queryParams["sort_direction"] = serializers.HistoryListRequestSortDirection.jsonOrThrow(sortDirection, {
|
|
98
|
+
unrecognizedObjectKeys: "strip",
|
|
99
|
+
});
|
|
100
|
+
}
|
|
87
101
|
if (search != null) {
|
|
88
102
|
_queryParams["search"] = search;
|
|
89
103
|
}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* historyItemIds: ["history_item_ids", "history_item_ids"],
|
|
8
|
+
* outputFormat: undefined
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
4
11
|
export interface DownloadHistoryRequest {
|
|
5
12
|
/** A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint. */
|
|
6
13
|
historyItemIds: string[];
|
|
@@ -22,6 +22,22 @@ export interface HistoryListRequest {
|
|
|
22
22
|
/**
|
|
23
23
|
* Search term used for filtering history items. If provided, source becomes required.
|
|
24
24
|
*/
|
|
25
|
+
modelId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Unix timestamp to filter history items before this date (exclusive).
|
|
28
|
+
*/
|
|
29
|
+
dateBeforeUnix?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Unix timestamp to filter history items after this date (inclusive).
|
|
32
|
+
*/
|
|
33
|
+
dateAfterUnix?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Sort direction for the results.
|
|
36
|
+
*/
|
|
37
|
+
sortDirection?: ElevenLabs.HistoryListRequestSortDirection;
|
|
38
|
+
/**
|
|
39
|
+
* search term used for filtering
|
|
40
|
+
*/
|
|
25
41
|
search?: string;
|
|
26
42
|
/**
|
|
27
43
|
* Source of the generated history item
|
|
@@ -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.HistoryListRequestSortDirection = void 0;
|
|
7
|
+
exports.HistoryListRequestSortDirection = {
|
|
8
|
+
Asc: "asc",
|
|
9
|
+
Desc: "desc",
|
|
10
|
+
};
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./HistoryListRequestSortDirection"), exports);
|
|
17
18
|
__exportStar(require("./HistoryListRequestSource"), exports);
|
|
@@ -18,6 +18,8 @@ export * as studio from "./studio";
|
|
|
18
18
|
export * from "./studio/types";
|
|
19
19
|
export * as dubbing from "./dubbing";
|
|
20
20
|
export * from "./dubbing/types";
|
|
21
|
+
export * as audioNative from "./audioNative";
|
|
22
|
+
export * from "./audioNative/types";
|
|
21
23
|
export * as pronunciationDictionaries from "./pronunciationDictionaries";
|
|
22
24
|
export * from "./pronunciationDictionaries/types";
|
|
23
25
|
export * as speechToText from "./speechToText";
|
|
@@ -34,7 +36,6 @@ export * as workspace from "./workspace";
|
|
|
34
36
|
export * as samples from "./samples";
|
|
35
37
|
export * as user from "./user";
|
|
36
38
|
export * as models from "./models";
|
|
37
|
-
export * as audioNative from "./audioNative";
|
|
38
39
|
export * as usage from "./usage";
|
|
39
40
|
export * as webhooks from "./webhooks";
|
|
40
41
|
export * as forcedAlignment from "./forcedAlignment";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.forcedAlignment = exports.webhooks = exports.usage = exports.
|
|
39
|
+
exports.forcedAlignment = exports.webhooks = exports.usage = exports.models = exports.user = exports.samples = exports.workspace = exports.serviceAccounts = exports.conversationalAi = exports.v1TextToSpeechVoiceIdMultiStreamInput = exports.v1TextToSpeechVoiceIdStreamInput = exports.music = exports.speechToText = exports.pronunciationDictionaries = exports.audioNative = exports.dubbing = exports.studio = exports.voices = exports.textToVoice = exports.speechToSpeech = exports.textToDialogue = exports.textToSpeech = exports.audioIsolation = exports.textToSoundEffects = exports.history = void 0;
|
|
40
40
|
exports.history = __importStar(require("./history"));
|
|
41
41
|
__exportStar(require("./history/types"), exports);
|
|
42
42
|
exports.textToSoundEffects = __importStar(require("./textToSoundEffects"));
|
|
@@ -57,6 +57,8 @@ exports.studio = __importStar(require("./studio"));
|
|
|
57
57
|
__exportStar(require("./studio/types"), exports);
|
|
58
58
|
exports.dubbing = __importStar(require("./dubbing"));
|
|
59
59
|
__exportStar(require("./dubbing/types"), exports);
|
|
60
|
+
exports.audioNative = __importStar(require("./audioNative"));
|
|
61
|
+
__exportStar(require("./audioNative/types"), exports);
|
|
60
62
|
exports.pronunciationDictionaries = __importStar(require("./pronunciationDictionaries"));
|
|
61
63
|
__exportStar(require("./pronunciationDictionaries/types"), exports);
|
|
62
64
|
exports.speechToText = __importStar(require("./speechToText"));
|
|
@@ -73,7 +75,6 @@ exports.workspace = __importStar(require("./workspace"));
|
|
|
73
75
|
exports.samples = __importStar(require("./samples"));
|
|
74
76
|
exports.user = __importStar(require("./user"));
|
|
75
77
|
exports.models = __importStar(require("./models"));
|
|
76
|
-
exports.audioNative = __importStar(require("./audioNative"));
|
|
77
78
|
exports.usage = __importStar(require("./usage"));
|
|
78
79
|
exports.webhooks = __importStar(require("./webhooks"));
|
|
79
80
|
exports.forcedAlignment = __importStar(require("./forcedAlignment"));
|
|
@@ -2,11 +2,25 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* respectSectionsDurations: undefined,
|
|
9
|
+
* prompt: undefined,
|
|
10
|
+
* musicPrompt: undefined,
|
|
11
|
+
* compositionPlan: undefined,
|
|
12
|
+
* musicLengthMs: undefined,
|
|
13
|
+
* modelId: undefined,
|
|
14
|
+
* seed: undefined
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
5
17
|
export interface BodyComposeMusicV1MusicPost {
|
|
6
18
|
/**
|
|
7
19
|
* 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.
|
|
8
20
|
*/
|
|
9
21
|
outputFormat?: ElevenLabs.MusicComposeRequestOutputFormat;
|
|
22
|
+
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
|
|
23
|
+
respectSectionsDurations?: boolean;
|
|
10
24
|
/** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
|
|
11
25
|
prompt?: string;
|
|
12
26
|
/** A music prompt. Deprecated. Use `composition_plan` instead. */
|
|
@@ -17,4 +31,6 @@ export interface BodyComposeMusicV1MusicPost {
|
|
|
17
31
|
musicLengthMs?: number;
|
|
18
32
|
/** The model to use for the generation. */
|
|
19
33
|
modelId?: "music_v1";
|
|
34
|
+
/** The seed to use for the generation. */
|
|
35
|
+
seed?: number;
|
|
20
36
|
}
|
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* prompt: undefined,
|
|
9
|
+
* musicPrompt: undefined,
|
|
10
|
+
* compositionPlan: undefined,
|
|
11
|
+
* musicLengthMs: undefined,
|
|
12
|
+
* modelId: undefined,
|
|
13
|
+
* seed: undefined
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
5
16
|
export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
6
17
|
/**
|
|
7
18
|
* 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.
|
|
@@ -17,4 +28,6 @@ export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
|
17
28
|
musicLengthMs?: number;
|
|
18
29
|
/** The model to use for the generation. */
|
|
19
30
|
modelId?: "music_v1";
|
|
31
|
+
/** The seed to use for the generation. */
|
|
32
|
+
seed?: number;
|
|
20
33
|
}
|
package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* prompt: undefined,
|
|
9
|
+
* musicPrompt: undefined,
|
|
10
|
+
* compositionPlan: undefined,
|
|
11
|
+
* musicLengthMs: undefined,
|
|
12
|
+
* modelId: undefined,
|
|
13
|
+
* seed: undefined
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
5
16
|
export interface BodyStreamComposedMusicV1MusicStreamPost {
|
|
6
17
|
/**
|
|
7
18
|
* 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.
|
|
@@ -17,4 +28,6 @@ export interface BodyStreamComposedMusicV1MusicStreamPost {
|
|
|
17
28
|
musicLengthMs?: number;
|
|
18
29
|
/** The model to use for the generation. */
|
|
19
30
|
modelId?: "music_v1";
|
|
31
|
+
/** The seed to use for the generation. */
|
|
32
|
+
seed?: number;
|
|
20
33
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess = "admin" | "editor" | "viewer";
|
|
4
|
+
export type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess = "admin" | "editor" | "commenter" | "viewer";
|
|
5
5
|
export declare const BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess: {
|
|
6
6
|
readonly Admin: "admin";
|
|
7
7
|
readonly Editor: "editor";
|
|
8
|
+
readonly Commenter: "commenter";
|
|
8
9
|
readonly Viewer: "viewer";
|
|
9
10
|
};
|
|
@@ -7,5 +7,6 @@ exports.BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPo
|
|
|
7
7
|
exports.BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess = {
|
|
8
8
|
Admin: "admin",
|
|
9
9
|
Editor: "editor",
|
|
10
|
+
Commenter: "commenter",
|
|
10
11
|
Viewer: "viewer",
|
|
11
12
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type PronunciationDictionariesCreateFromFileRequestWorkspaceAccess = "admin" | "editor" | "viewer";
|
|
4
|
+
export type PronunciationDictionariesCreateFromFileRequestWorkspaceAccess = "admin" | "editor" | "commenter" | "viewer";
|
|
5
5
|
export declare const PronunciationDictionariesCreateFromFileRequestWorkspaceAccess: {
|
|
6
6
|
readonly Admin: "admin";
|
|
7
7
|
readonly Editor: "editor";
|
|
8
|
+
readonly Commenter: "commenter";
|
|
8
9
|
readonly Viewer: "viewer";
|
|
9
10
|
};
|
|
@@ -45,4 +45,18 @@ export declare class Transcripts {
|
|
|
45
45
|
*/
|
|
46
46
|
get(transcriptionId: string, requestOptions?: Transcripts.RequestOptions): core.HttpResponsePromise<ElevenLabs.speechToText.TranscriptsGetResponse>;
|
|
47
47
|
private __get;
|
|
48
|
+
/**
|
|
49
|
+
* Delete a previously generated transcript by its ID.
|
|
50
|
+
*
|
|
51
|
+
* @param {string} transcriptionId - The unique ID of the transcript to delete
|
|
52
|
+
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ElevenLabs.UnauthorizedError}
|
|
55
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.speechToText.transcripts.delete("transcription_id")
|
|
59
|
+
*/
|
|
60
|
+
delete(transcriptionId: string, requestOptions?: Transcripts.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
61
|
+
private __delete;
|
|
48
62
|
}
|
|
@@ -132,5 +132,70 @@ class Transcripts {
|
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Delete a previously generated transcript by its ID.
|
|
137
|
+
*
|
|
138
|
+
* @param {string} transcriptionId - The unique ID of the transcript to delete
|
|
139
|
+
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ElevenLabs.UnauthorizedError}
|
|
142
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.speechToText.transcripts.delete("transcription_id")
|
|
146
|
+
*/
|
|
147
|
+
delete(transcriptionId, requestOptions) {
|
|
148
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(transcriptionId, requestOptions));
|
|
149
|
+
}
|
|
150
|
+
__delete(transcriptionId, requestOptions) {
|
|
151
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
152
|
+
var _a, _b, _c;
|
|
153
|
+
const _response = yield core.fetcher({
|
|
154
|
+
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/speech-to-text/transcripts/${encodeURIComponent(transcriptionId)}`),
|
|
155
|
+
method: "DELETE",
|
|
156
|
+
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),
|
|
157
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
158
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
159
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
160
|
+
});
|
|
161
|
+
if (_response.ok) {
|
|
162
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
163
|
+
}
|
|
164
|
+
if (_response.error.reason === "status-code") {
|
|
165
|
+
switch (_response.error.statusCode) {
|
|
166
|
+
case 401:
|
|
167
|
+
throw new ElevenLabs.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
168
|
+
case 422:
|
|
169
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
170
|
+
unrecognizedObjectKeys: "passthrough",
|
|
171
|
+
allowUnrecognizedUnionMembers: true,
|
|
172
|
+
allowUnrecognizedEnumValues: true,
|
|
173
|
+
breadcrumbsPrefix: ["response"],
|
|
174
|
+
}), _response.rawResponse);
|
|
175
|
+
default:
|
|
176
|
+
throw new errors.ElevenLabsError({
|
|
177
|
+
statusCode: _response.error.statusCode,
|
|
178
|
+
body: _response.error.body,
|
|
179
|
+
rawResponse: _response.rawResponse,
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
switch (_response.error.reason) {
|
|
184
|
+
case "non-json":
|
|
185
|
+
throw new errors.ElevenLabsError({
|
|
186
|
+
statusCode: _response.error.statusCode,
|
|
187
|
+
body: _response.error.rawBody,
|
|
188
|
+
rawResponse: _response.rawResponse,
|
|
189
|
+
});
|
|
190
|
+
case "timeout":
|
|
191
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling DELETE /v1/speech-to-text/transcripts/{transcription_id}.");
|
|
192
|
+
case "unknown":
|
|
193
|
+
throw new errors.ElevenLabsError({
|
|
194
|
+
message: _response.error.errorMessage,
|
|
195
|
+
rawResponse: _response.rawResponse,
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
}
|
|
135
200
|
}
|
|
136
201
|
exports.Transcripts = Transcripts;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* convertToMpeg: undefined
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
4
10
|
export interface BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost {
|
|
5
11
|
/** Whether to convert the audio to mpeg format. */
|
|
6
12
|
convertToMpeg?: boolean;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* convertToMpeg: undefined
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
4
10
|
export interface BodyStreamStudioProjectAudioV1StudioProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost {
|
|
5
11
|
/** Whether to convert the audio to mpeg format. */
|
|
6
12
|
convertToMpeg?: boolean;
|
|
@@ -40,7 +40,7 @@ export declare class TextToSpeech {
|
|
|
40
40
|
* Generate speech from text with precise character-level timing information for audio-text synchronization.
|
|
41
41
|
*
|
|
42
42
|
* @param {string} voiceId - Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
|
|
43
|
-
* @param {ElevenLabs.
|
|
43
|
+
* @param {ElevenLabs.BodyTextToSpeechFullWithTimestamps} request
|
|
44
44
|
* @param {TextToSpeech.RequestOptions} requestOptions - Request-specific configuration.
|
|
45
45
|
*
|
|
46
46
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -50,7 +50,7 @@ export declare class TextToSpeech {
|
|
|
50
50
|
* text: "This is a test for the API of ElevenLabs."
|
|
51
51
|
* })
|
|
52
52
|
*/
|
|
53
|
-
convertWithTimestamps(voiceId: string, request: ElevenLabs.
|
|
53
|
+
convertWithTimestamps(voiceId: string, request: ElevenLabs.BodyTextToSpeechFullWithTimestamps, requestOptions?: TextToSpeech.RequestOptions): core.HttpResponsePromise<ElevenLabs.AudioWithTimestampsResponse>;
|
|
54
54
|
private __convertWithTimestamps;
|
|
55
55
|
/**
|
|
56
56
|
* Converts text into speech using a voice of your choice and returns audio as an audio stream.
|