@elevenlabs/elevenlabs-js 2.30.0 → 2.31.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/BaseClient.js +2 -2
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +13 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +60 -0
- package/api/resources/dubbing/client/Client.d.ts +3 -0
- package/api/resources/dubbing/client/Client.js +5 -0
- package/api/resources/dubbing/resources/index.d.ts +2 -0
- package/api/resources/dubbing/resources/index.js +3 -1
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -2
- package/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
- package/api/resources/dubbing/resources/transcripts/client/Client.d.ts +28 -0
- package/api/resources/dubbing/resources/transcripts/client/Client.js +122 -0
- package/api/resources/dubbing/resources/transcripts/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/transcripts/client/index.js +2 -0
- package/api/resources/dubbing/resources/transcripts/index.d.ts +2 -0
- package/api/resources/dubbing/resources/transcripts/index.js +18 -0
- package/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
- package/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +10 -0
- package/api/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
- package/{dist/serialization/resources/textToSoundEffects → api/resources/dubbing/resources/transcripts}/types/index.js +1 -1
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +0 -1
- package/api/resources/music/client/Client.js +6 -4
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/api/resources/music/types/index.d.ts +0 -4
- package/api/resources/music/types/index.js +0 -4
- package/api/resources/textToDialogue/client/Client.js +10 -4
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/types/index.d.ts +0 -4
- package/api/resources/textToDialogue/types/index.js +0 -4
- package/api/resources/textToSoundEffects/client/Client.js +3 -1
- package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
- package/api/resources/textToSoundEffects/index.d.ts +0 -1
- package/api/resources/textToSoundEffects/index.js +0 -1
- package/api/resources/textToVoice/client/Client.js +5 -3
- package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -1
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
- package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
- package/api/resources/textToVoice/types/index.d.ts +0 -3
- package/api/resources/textToVoice/types/index.js +0 -3
- package/{dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts → api/types/AllowedOutputFormats.d.ts} +2 -3
- package/{dist/api/resources/music/types/MusicStreamRequestOutputFormat.js → api/types/AllowedOutputFormats.js} +2 -3
- package/api/types/BatchCallDetailedResponse.d.ts +1 -0
- package/api/types/BatchCallResponse.d.ts +1 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +0 -1
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/DubbingTranscript.d.ts +5 -0
- package/api/types/DubbingTranscriptsResponseModel.d.ts +7 -0
- package/api/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +6 -0
- package/api/types/DubbingTranscriptsResponseModelTranscriptFormat.js +9 -0
- package/api/types/GetAgentResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
- package/api/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +4 -0
- package/api/types/ProjectVideoResponseModel.d.ts +1 -0
- package/api/types/index.d.ts +5 -3
- package/api/types/index.js +5 -3
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +60 -0
- package/dist/api/resources/dubbing/client/Client.d.ts +3 -0
- package/dist/api/resources/dubbing/client/Client.js +5 -0
- package/dist/api/resources/dubbing/resources/index.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/index.js +3 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -2
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/transcripts/client/Client.d.ts +28 -0
- package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +122 -0
- package/dist/api/resources/dubbing/resources/transcripts/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/transcripts/client/index.js +2 -0
- package/dist/api/resources/dubbing/resources/transcripts/index.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/transcripts/index.js +18 -0
- package/dist/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
- package/dist/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +10 -0
- package/dist/api/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
- package/{api/resources/textToSoundEffects → dist/api/resources/dubbing/resources/transcripts}/types/index.js +1 -1
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +0 -1
- package/dist/api/resources/music/client/Client.js +6 -4
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/dist/api/resources/music/types/index.d.ts +0 -4
- package/dist/api/resources/music/types/index.js +0 -4
- package/dist/api/resources/textToDialogue/client/Client.js +10 -4
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/index.d.ts +0 -4
- package/dist/api/resources/textToDialogue/types/index.js +0 -4
- package/dist/api/resources/textToSoundEffects/client/Client.js +3 -1
- package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
- package/dist/api/resources/textToSoundEffects/index.d.ts +0 -1
- package/dist/api/resources/textToSoundEffects/index.js +0 -1
- package/dist/api/resources/textToVoice/client/Client.js +5 -3
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -1
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
- package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
- package/dist/api/resources/textToVoice/types/index.d.ts +0 -3
- package/dist/api/resources/textToVoice/types/index.js +0 -3
- package/{api/resources/music/types/MusicStreamRequestOutputFormat.d.ts → dist/api/types/AllowedOutputFormats.d.ts} +2 -3
- package/{api/resources/music/types/MusicStreamRequestOutputFormat.js → dist/api/types/AllowedOutputFormats.js} +2 -3
- package/dist/api/types/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/api/types/BatchCallResponse.d.ts +1 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +0 -1
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/DubbingTranscript.d.ts +5 -0
- package/dist/api/types/DubbingTranscriptsResponseModel.d.ts +7 -0
- package/dist/api/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +6 -0
- package/dist/api/types/DubbingTranscriptsResponseModelTranscriptFormat.js +9 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
- package/dist/api/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +4 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +1 -0
- package/dist/api/types/index.d.ts +5 -3
- package/dist/api/types/index.js +5 -3
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
- package/dist/serialization/resources/dubbing/resources/index.d.ts +2 -0
- package/dist/serialization/resources/dubbing/resources/index.js +3 -1
- package/dist/serialization/resources/dubbing/resources/transcripts/index.d.ts +1 -0
- package/{serialization/resources/textToSoundEffects/types → dist/serialization/resources/dubbing/resources/transcripts}/index.js +1 -1
- package/dist/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
- package/dist/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +39 -0
- package/dist/serialization/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
- package/dist/{api/resources/textToSoundEffects → serialization/resources/dubbing/resources/transcripts}/types/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +0 -1
- package/dist/serialization/resources/music/types/index.d.ts +0 -4
- package/dist/serialization/resources/music/types/index.js +0 -4
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +0 -4
- package/dist/serialization/resources/textToDialogue/types/index.js +0 -4
- package/dist/serialization/resources/textToSoundEffects/index.d.ts +0 -1
- package/dist/serialization/resources/textToSoundEffects/index.js +0 -1
- package/dist/serialization/resources/textToVoice/types/index.d.ts +0 -3
- package/dist/serialization/resources/textToVoice/types/index.js +0 -3
- package/dist/serialization/types/AllowedOutputFormats.d.ts +7 -0
- package/{serialization/resources/music/types/MusicStreamRequestOutputFormat.js → dist/serialization/types/AllowedOutputFormats.js} +3 -3
- package/dist/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/dist/serialization/types/BatchCallResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallResponse.js +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +0 -2
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +0 -2
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/DubbingTranscript.d.ts +11 -0
- package/dist/serialization/types/DubbingTranscript.js +43 -0
- package/dist/serialization/types/DubbingTranscriptsResponseModel.d.ts +14 -0
- package/dist/serialization/types/DubbingTranscriptsResponseModel.js +46 -0
- package/dist/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +7 -0
- package/dist/serialization/types/{DefaultConversationInitiationTrigger.js → DubbingTranscriptsResponseModelTranscriptFormat.js} +2 -2
- package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetAgentResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +1 -0
- package/dist/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +9 -0
- package/dist/serialization/types/{ZendeskConversationInitiationTrigger.js → KnowledgeBaseSourceFileUrlResponseModel.js} +3 -3
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +1 -0
- package/dist/serialization/types/index.d.ts +5 -3
- package/dist/serialization/types/index.js +5 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +147 -3
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
- package/serialization/resources/dubbing/resources/index.d.ts +2 -0
- package/serialization/resources/dubbing/resources/index.js +3 -1
- package/serialization/resources/dubbing/resources/transcripts/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/transcripts/index.js +17 -0
- package/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
- package/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +39 -0
- package/serialization/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/transcripts/types/index.js +17 -0
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +0 -1
- package/serialization/resources/music/types/index.d.ts +0 -4
- package/serialization/resources/music/types/index.js +0 -4
- package/serialization/resources/textToDialogue/types/index.d.ts +0 -4
- package/serialization/resources/textToDialogue/types/index.js +0 -4
- package/serialization/resources/textToSoundEffects/index.d.ts +0 -1
- package/serialization/resources/textToSoundEffects/index.js +0 -1
- package/serialization/resources/textToVoice/types/index.d.ts +0 -3
- package/serialization/resources/textToVoice/types/index.js +0 -3
- package/serialization/types/AllowedOutputFormats.d.ts +7 -0
- package/{dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js → serialization/types/AllowedOutputFormats.js} +3 -3
- package/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
- package/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/serialization/types/BatchCallResponse.d.ts +1 -0
- package/serialization/types/BatchCallResponse.js +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +0 -2
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +0 -2
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/DubbingTranscript.d.ts +11 -0
- package/serialization/types/DubbingTranscript.js +43 -0
- package/serialization/types/DubbingTranscriptsResponseModel.d.ts +14 -0
- package/serialization/types/DubbingTranscriptsResponseModel.js +46 -0
- package/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +7 -0
- package/serialization/types/{DefaultConversationInitiationTrigger.js → DubbingTranscriptsResponseModelTranscriptFormat.js} +2 -2
- package/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/serialization/types/GetAgentResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +1 -0
- package/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +9 -0
- package/serialization/types/{ZendeskConversationInitiationTrigger.js → KnowledgeBaseSourceFileUrlResponseModel.js} +3 -3
- package/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
- package/serialization/types/ProjectVideoResponseModel.js +1 -0
- package/serialization/types/index.d.ts +5 -3
- package/serialization/types/index.js +5 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -25
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -28
- package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -25
- package/api/resources/music/types/MusicComposeRequestOutputFormat.js +0 -28
- package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -25
- package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -28
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -28
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -28
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -28
- package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -28
- package/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -28
- package/api/resources/textToSoundEffects/types/index.d.ts +0 -1
- package/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -28
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -28
- package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -28
- package/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -10
- package/api/types/DefaultConversationInitiationTrigger.d.ts +0 -4
- package/api/types/ZendeskConversationInitiationTrigger.d.ts +0 -6
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -28
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +0 -28
- package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToSoundEffects/types/index.d.ts +0 -1
- package/dist/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -28
- package/dist/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -10
- package/dist/api/types/DefaultConversationInitiationTrigger.d.ts +0 -4
- package/dist/api/types/ZendeskConversationInitiationTrigger.d.ts +0 -6
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToSoundEffects/types/index.d.ts +0 -1
- package/dist/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -61
- package/dist/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -15
- package/dist/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js +0 -49
- package/dist/serialization/types/DefaultConversationInitiationTrigger.d.ts +0 -7
- package/dist/serialization/types/ZendeskConversationInitiationTrigger.d.ts +0 -9
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -61
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +0 -61
- package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -61
- package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -61
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -61
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -61
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -61
- package/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -61
- package/serialization/resources/textToSoundEffects/types/index.d.ts +0 -1
- package/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -61
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -61
- package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -61
- package/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -15
- package/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js +0 -49
- package/serialization/types/DefaultConversationInitiationTrigger.d.ts +0 -7
- package/serialization/types/ZendeskConversationInitiationTrigger.d.ts +0 -9
- /package/api/types/{ConversationHistoryMetadataCommonModelInitiationTrigger.js → DubbingTranscript.js} +0 -0
- /package/api/types/{DefaultConversationInitiationTrigger.js → DubbingTranscriptsResponseModel.js} +0 -0
- /package/api/types/{ZendeskConversationInitiationTrigger.js → KnowledgeBaseSourceFileUrlResponseModel.js} +0 -0
- /package/dist/api/types/{ConversationHistoryMetadataCommonModelInitiationTrigger.js → DubbingTranscript.js} +0 -0
- /package/dist/api/types/{DefaultConversationInitiationTrigger.js → DubbingTranscriptsResponseModel.js} +0 -0
- /package/dist/api/types/{ZendeskConversationInitiationTrigger.js → KnowledgeBaseSourceFileUrlResponseModel.js} +0 -0
|
@@ -80,7 +80,9 @@ class TextToSoundEffectsClient {
|
|
|
80
80
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
81
81
|
const _queryParams = {};
|
|
82
82
|
if (outputFormat != null) {
|
|
83
|
-
_queryParams.output_format = serializers.
|
|
83
|
+
_queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
|
|
84
|
+
unrecognizedObjectKeys: "strip",
|
|
85
|
+
});
|
|
84
86
|
}
|
|
85
87
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
86
88
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
@@ -7,7 +7,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface CreateSoundEffectRequest {
|
|
9
9
|
/** 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. */
|
|
10
|
-
outputFormat?: ElevenLabs.
|
|
10
|
+
outputFormat?: ElevenLabs.AllowedOutputFormats;
|
|
11
11
|
/** The text that will get converted into a sound effect. */
|
|
12
12
|
text: string;
|
|
13
13
|
/** Whether to create a sound effect that loops smoothly. Only available for the 'eleven_text_to_sound_v2 model'. */
|
|
@@ -95,7 +95,9 @@ class TextToVoiceClient {
|
|
|
95
95
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
96
96
|
const _queryParams = {};
|
|
97
97
|
if (outputFormat != null) {
|
|
98
|
-
_queryParams.output_format = serializers.
|
|
98
|
+
_queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
|
|
99
|
+
unrecognizedObjectKeys: "strip",
|
|
100
|
+
});
|
|
99
101
|
}
|
|
100
102
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
101
103
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
@@ -235,7 +237,7 @@ class TextToVoiceClient {
|
|
|
235
237
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
236
238
|
const _queryParams = {};
|
|
237
239
|
if (outputFormat != null) {
|
|
238
|
-
_queryParams.output_format = serializers.
|
|
240
|
+
_queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
|
|
239
241
|
unrecognizedObjectKeys: "strip",
|
|
240
242
|
});
|
|
241
243
|
}
|
|
@@ -309,7 +311,7 @@ class TextToVoiceClient {
|
|
|
309
311
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
310
312
|
const _queryParams = {};
|
|
311
313
|
if (outputFormat != null) {
|
|
312
|
-
_queryParams.output_format = serializers.
|
|
314
|
+
_queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
|
|
313
315
|
unrecognizedObjectKeys: "strip",
|
|
314
316
|
});
|
|
315
317
|
}
|
|
@@ -8,7 +8,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface VoiceDesignRequest {
|
|
10
10
|
/** The output format of the generated audio. */
|
|
11
|
-
outputFormat?: ElevenLabs.
|
|
11
|
+
outputFormat?: ElevenLabs.AllowedOutputFormats;
|
|
12
12
|
/** Description to use for the created voice. */
|
|
13
13
|
voiceDescription: string;
|
|
14
14
|
/** Text to generate, text length has to be between 100 and 1000. */
|
|
@@ -8,7 +8,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface VoiceDesignRequestModel {
|
|
10
10
|
/** 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. */
|
|
11
|
-
outputFormat?: ElevenLabs.
|
|
11
|
+
outputFormat?: ElevenLabs.AllowedOutputFormats;
|
|
12
12
|
/** Description to use for the created voice. */
|
|
13
13
|
voiceDescription: string;
|
|
14
14
|
/** Model to use for the voice generation. Possible values: eleven_multilingual_ttv_v2, eleven_ttv_v3. */
|
|
@@ -8,7 +8,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface VoiceRemixRequestModel {
|
|
10
10
|
/** 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. */
|
|
11
|
-
outputFormat?: ElevenLabs.
|
|
11
|
+
outputFormat?: ElevenLabs.AllowedOutputFormats;
|
|
12
12
|
/** Description of the changes to make to the voice. */
|
|
13
13
|
voiceDescription: string;
|
|
14
14
|
/** Text to generate, text length has to be between 100 and 1000. */
|
|
@@ -14,7 +14,4 @@ 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("./TextToVoiceCreatePreviewsRequestOutputFormat"), exports);
|
|
18
|
-
__exportStar(require("./TextToVoiceDesignRequestOutputFormat"), exports);
|
|
19
|
-
__exportStar(require("./TextToVoiceRemixRequestOutputFormat"), exports);
|
|
20
17
|
__exportStar(require("./VoiceDesignRequestModelModelId"), exports);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const MusicStreamRequestOutputFormat: {
|
|
1
|
+
export declare const AllowedOutputFormats: {
|
|
3
2
|
readonly Mp32205032: "mp3_22050_32";
|
|
4
3
|
readonly Mp32400048: "mp3_24000_48";
|
|
5
4
|
readonly Mp34410032: "mp3_44100_32";
|
|
@@ -22,4 +21,4 @@ export declare const MusicStreamRequestOutputFormat: {
|
|
|
22
21
|
readonly Opus48000128: "opus_48000_128";
|
|
23
22
|
readonly Opus48000192: "opus_48000_192";
|
|
24
23
|
};
|
|
25
|
-
export type
|
|
24
|
+
export type AllowedOutputFormats = (typeof AllowedOutputFormats)[keyof typeof AllowedOutputFormats];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
exports.MusicStreamRequestOutputFormat = {
|
|
4
|
+
exports.AllowedOutputFormats = void 0;
|
|
5
|
+
exports.AllowedOutputFormats = {
|
|
7
6
|
Mp32205032: "mp3_22050_32",
|
|
8
7
|
Mp32400048: "mp3_24000_48",
|
|
9
8
|
Mp34410032: "mp3_44100_32",
|
|
@@ -22,7 +22,6 @@ export interface ConversationHistoryMetadataCommonModel {
|
|
|
22
22
|
conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
|
|
23
23
|
conversationInitiationSourceVersion?: string;
|
|
24
24
|
timezone?: string;
|
|
25
|
-
initiationTrigger?: ElevenLabs.ConversationHistoryMetadataCommonModelInitiationTrigger;
|
|
26
25
|
asyncMetadata?: ElevenLabs.AsyncConversationMetadata;
|
|
27
26
|
whatsapp?: ElevenLabs.WhatsAppConversationInfo;
|
|
28
27
|
agentCreatedFrom?: ElevenLabs.AgentDefinitionSource;
|
|
@@ -14,5 +14,6 @@ export declare const ConversationInitiationSource: {
|
|
|
14
14
|
readonly SwiftSdk: "swift_sdk";
|
|
15
15
|
readonly Whatsapp: "whatsapp";
|
|
16
16
|
readonly FlutterSdk: "flutter_sdk";
|
|
17
|
+
readonly ZendeskIntegration: "zendesk_integration";
|
|
17
18
|
};
|
|
18
19
|
export type ConversationInitiationSource = (typeof ConversationInitiationSource)[keyof typeof ConversationInitiationSource];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const DubbingTranscriptsResponseModelTranscriptFormat: {
|
|
2
|
+
readonly Srt: "srt";
|
|
3
|
+
readonly Webvtt: "webvtt";
|
|
4
|
+
readonly Json: "json";
|
|
5
|
+
};
|
|
6
|
+
export type DubbingTranscriptsResponseModelTranscriptFormat = (typeof DubbingTranscriptsResponseModelTranscriptFormat)[keyof typeof DubbingTranscriptsResponseModelTranscriptFormat];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DubbingTranscriptsResponseModelTranscriptFormat = void 0;
|
|
5
|
+
exports.DubbingTranscriptsResponseModelTranscriptFormat = {
|
|
6
|
+
Srt: "srt",
|
|
7
|
+
Webvtt: "webvtt",
|
|
8
|
+
Json: "json",
|
|
9
|
+
};
|
|
@@ -12,6 +12,8 @@ export interface GetAgentResponseModel {
|
|
|
12
12
|
platformSettings?: ElevenLabs.AgentPlatformSettingsResponseModel;
|
|
13
13
|
/** The phone numbers of the agent */
|
|
14
14
|
phoneNumbers?: ElevenLabs.GetAgentResponseModelPhoneNumbersItem[];
|
|
15
|
+
/** WhatsApp accounts assigned to the agent */
|
|
16
|
+
whatsappAccounts?: ElevenLabs.GetWhatsAppAccountResponse[];
|
|
15
17
|
/** The workflow of the agent */
|
|
16
18
|
workflow?: ElevenLabs.AgentWorkflowResponseModel;
|
|
17
19
|
/** The access information of the agent for the user */
|
|
@@ -10,4 +10,5 @@ export interface GetKnowledgeBaseFileResponseModel {
|
|
|
10
10
|
/** The folder path segments leading to this entity, from root to parent folder. */
|
|
11
11
|
folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentResponseModel[];
|
|
12
12
|
extractedInnerHtml: string;
|
|
13
|
+
filename: string;
|
|
13
14
|
}
|
|
@@ -27,6 +27,7 @@ export interface ProjectVideoResponseModel {
|
|
|
27
27
|
pendingBlockIds: string[];
|
|
28
28
|
importSpeechProgress?: number;
|
|
29
29
|
speechImported?: boolean;
|
|
30
|
+
audioTrackReady?: boolean;
|
|
30
31
|
currentSnapshotId?: string;
|
|
31
32
|
canvasPlacement?: ElevenLabs.CanvasPlacement;
|
|
32
33
|
trackId?: string;
|
|
@@ -38,6 +38,7 @@ export * from "./AgentWorkflowResponseModel";
|
|
|
38
38
|
export * from "./AgentWorkflowResponseModelNodesValue";
|
|
39
39
|
export * from "./AgentWorkspaceOverridesInput";
|
|
40
40
|
export * from "./AgentWorkspaceOverridesOutput";
|
|
41
|
+
export * from "./AllowedOutputFormats";
|
|
41
42
|
export * from "./AllowlistItem";
|
|
42
43
|
export * from "./ApiIntegrationWebhookOverridesInput";
|
|
43
44
|
export * from "./ApiIntegrationWebhookOverridesInputRequestHeadersValue";
|
|
@@ -211,7 +212,6 @@ export * from "./ConversationHistoryErrorCommonModel";
|
|
|
211
212
|
export * from "./ConversationHistoryEvaluationCriteriaResultCommonModel";
|
|
212
213
|
export * from "./ConversationHistoryFeedbackCommonModel";
|
|
213
214
|
export * from "./ConversationHistoryMetadataCommonModel";
|
|
214
|
-
export * from "./ConversationHistoryMetadataCommonModelInitiationTrigger";
|
|
215
215
|
export * from "./ConversationHistoryMetadataCommonModelPhoneCall";
|
|
216
216
|
export * from "./ConversationHistoryMultivoiceMessageModel";
|
|
217
217
|
export * from "./ConversationHistoryMultivoiceMessagePartModel";
|
|
@@ -282,7 +282,6 @@ export * from "./DashboardCallSuccessChartModel";
|
|
|
282
282
|
export * from "./DashboardCriteriaChartModel";
|
|
283
283
|
export * from "./DashboardDataCollectionChartModel";
|
|
284
284
|
export * from "./DataCollectionResultCommonModel";
|
|
285
|
-
export * from "./DefaultConversationInitiationTrigger";
|
|
286
285
|
export * from "./DeleteChapterRequest";
|
|
287
286
|
export * from "./DeleteChapterResponseModel";
|
|
288
287
|
export * from "./DeleteDubbingResponseModel";
|
|
@@ -319,8 +318,11 @@ export * from "./DubbingModel";
|
|
|
319
318
|
export * from "./DubbingReleaseChannel";
|
|
320
319
|
export * from "./DubbingRenderResponseModel";
|
|
321
320
|
export * from "./DubbingResource";
|
|
321
|
+
export * from "./DubbingTranscript";
|
|
322
322
|
export * from "./DubbingTranscriptCharacter";
|
|
323
323
|
export * from "./DubbingTranscriptResponseModel";
|
|
324
|
+
export * from "./DubbingTranscriptsResponseModel";
|
|
325
|
+
export * from "./DubbingTranscriptsResponseModelTranscriptFormat";
|
|
324
326
|
export * from "./DubbingTranscriptUtterance";
|
|
325
327
|
export * from "./DubbingTranscriptWord";
|
|
326
328
|
export * from "./DynamicVariableAssignment";
|
|
@@ -437,6 +439,7 @@ export * from "./KnowledgeBaseFolderPathSegmentResponseModel";
|
|
|
437
439
|
export * from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
|
|
438
440
|
export * from "./KnowledgeBaseLocator";
|
|
439
441
|
export * from "./KnowledgeBaseSortBy";
|
|
442
|
+
export * from "./KnowledgeBaseSourceFileUrlResponseModel";
|
|
440
443
|
export * from "./KnowledgeBaseSummaryBatchSuccessfulResponseModel";
|
|
441
444
|
export * from "./KnowledgeBaseSummaryBatchSuccessfulResponseModelData";
|
|
442
445
|
export * from "./LanguageAddedResponse";
|
|
@@ -884,4 +887,3 @@ export * from "./WorkspaceServiceAccountResponseModel";
|
|
|
884
887
|
export * from "./WorkspaceWebhookListResponseModel";
|
|
885
888
|
export * from "./WorkspaceWebhookResponseModel";
|
|
886
889
|
export * from "./WorkspaceWebhookUsageResponseModel";
|
|
887
|
-
export * from "./ZendeskConversationInitiationTrigger";
|
package/dist/api/types/index.js
CHANGED
|
@@ -54,6 +54,7 @@ __exportStar(require("./AgentWorkflowResponseModel"), exports);
|
|
|
54
54
|
__exportStar(require("./AgentWorkflowResponseModelNodesValue"), exports);
|
|
55
55
|
__exportStar(require("./AgentWorkspaceOverridesInput"), exports);
|
|
56
56
|
__exportStar(require("./AgentWorkspaceOverridesOutput"), exports);
|
|
57
|
+
__exportStar(require("./AllowedOutputFormats"), exports);
|
|
57
58
|
__exportStar(require("./AllowlistItem"), exports);
|
|
58
59
|
__exportStar(require("./ApiIntegrationWebhookOverridesInput"), exports);
|
|
59
60
|
__exportStar(require("./ApiIntegrationWebhookOverridesInputRequestHeadersValue"), exports);
|
|
@@ -227,7 +228,6 @@ __exportStar(require("./ConversationHistoryErrorCommonModel"), exports);
|
|
|
227
228
|
__exportStar(require("./ConversationHistoryEvaluationCriteriaResultCommonModel"), exports);
|
|
228
229
|
__exportStar(require("./ConversationHistoryFeedbackCommonModel"), exports);
|
|
229
230
|
__exportStar(require("./ConversationHistoryMetadataCommonModel"), exports);
|
|
230
|
-
__exportStar(require("./ConversationHistoryMetadataCommonModelInitiationTrigger"), exports);
|
|
231
231
|
__exportStar(require("./ConversationHistoryMetadataCommonModelPhoneCall"), exports);
|
|
232
232
|
__exportStar(require("./ConversationHistoryMultivoiceMessageModel"), exports);
|
|
233
233
|
__exportStar(require("./ConversationHistoryMultivoiceMessagePartModel"), exports);
|
|
@@ -298,7 +298,6 @@ __exportStar(require("./DashboardCallSuccessChartModel"), exports);
|
|
|
298
298
|
__exportStar(require("./DashboardCriteriaChartModel"), exports);
|
|
299
299
|
__exportStar(require("./DashboardDataCollectionChartModel"), exports);
|
|
300
300
|
__exportStar(require("./DataCollectionResultCommonModel"), exports);
|
|
301
|
-
__exportStar(require("./DefaultConversationInitiationTrigger"), exports);
|
|
302
301
|
__exportStar(require("./DeleteChapterRequest"), exports);
|
|
303
302
|
__exportStar(require("./DeleteChapterResponseModel"), exports);
|
|
304
303
|
__exportStar(require("./DeleteDubbingResponseModel"), exports);
|
|
@@ -335,8 +334,11 @@ __exportStar(require("./DubbingModel"), exports);
|
|
|
335
334
|
__exportStar(require("./DubbingReleaseChannel"), exports);
|
|
336
335
|
__exportStar(require("./DubbingRenderResponseModel"), exports);
|
|
337
336
|
__exportStar(require("./DubbingResource"), exports);
|
|
337
|
+
__exportStar(require("./DubbingTranscript"), exports);
|
|
338
338
|
__exportStar(require("./DubbingTranscriptCharacter"), exports);
|
|
339
339
|
__exportStar(require("./DubbingTranscriptResponseModel"), exports);
|
|
340
|
+
__exportStar(require("./DubbingTranscriptsResponseModel"), exports);
|
|
341
|
+
__exportStar(require("./DubbingTranscriptsResponseModelTranscriptFormat"), exports);
|
|
340
342
|
__exportStar(require("./DubbingTranscriptUtterance"), exports);
|
|
341
343
|
__exportStar(require("./DubbingTranscriptWord"), exports);
|
|
342
344
|
__exportStar(require("./DynamicVariableAssignment"), exports);
|
|
@@ -453,6 +455,7 @@ __exportStar(require("./KnowledgeBaseFolderPathSegmentResponseModel"), exports);
|
|
|
453
455
|
__exportStar(require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel"), exports);
|
|
454
456
|
__exportStar(require("./KnowledgeBaseLocator"), exports);
|
|
455
457
|
__exportStar(require("./KnowledgeBaseSortBy"), exports);
|
|
458
|
+
__exportStar(require("./KnowledgeBaseSourceFileUrlResponseModel"), exports);
|
|
456
459
|
__exportStar(require("./KnowledgeBaseSummaryBatchSuccessfulResponseModel"), exports);
|
|
457
460
|
__exportStar(require("./KnowledgeBaseSummaryBatchSuccessfulResponseModelData"), exports);
|
|
458
461
|
__exportStar(require("./LanguageAddedResponse"), exports);
|
|
@@ -900,4 +903,3 @@ __exportStar(require("./WorkspaceServiceAccountResponseModel"), exports);
|
|
|
900
903
|
__exportStar(require("./WorkspaceWebhookListResponseModel"), exports);
|
|
901
904
|
__exportStar(require("./WorkspaceWebhookResponseModel"), exports);
|
|
902
905
|
__exportStar(require("./WorkspaceWebhookUsageResponseModel"), exports);
|
|
903
|
-
__exportStar(require("./ZendeskConversationInitiationTrigger"), exports);
|
|
@@ -45,4 +45,5 @@ exports.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost = core.seriali
|
|
|
45
45
|
scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number().optional()),
|
|
46
46
|
agentPhoneNumberId: core.serialization.property("agent_phone_number_id", core.serialization.string().optional()),
|
|
47
47
|
whatsappParams: core.serialization.property("whatsapp_params", BatchCallWhatsAppParams_1.BatchCallWhatsAppParams.optional()),
|
|
48
|
+
timezone: core.serialization.string().optional(),
|
|
48
49
|
});
|
|
@@ -36,8 +36,10 @@ 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.transcript = exports.resource = void 0;
|
|
39
|
+
exports.transcripts = exports.transcript = exports.resource = void 0;
|
|
40
40
|
exports.resource = __importStar(require("./resource"));
|
|
41
41
|
__exportStar(require("./resource/client/requests"), exports);
|
|
42
42
|
exports.transcript = __importStar(require("./transcript"));
|
|
43
43
|
__exportStar(require("./transcript/types"), exports);
|
|
44
|
+
exports.transcripts = __importStar(require("./transcripts"));
|
|
45
|
+
__exportStar(require("./transcripts/types"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -14,4 +14,4 @@ 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("./
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
export declare const TranscriptsGetRequestFormatType: core.serialization.Schema<serializers.dubbing.TranscriptsGetRequestFormatType.Raw, ElevenLabs.dubbing.TranscriptsGetRequestFormatType>;
|
|
5
|
+
export declare namespace TranscriptsGetRequestFormatType {
|
|
6
|
+
type Raw = "srt" | "webvtt" | "json";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TranscriptsGetRequestFormatType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
exports.TranscriptsGetRequestFormatType = core.serialization.enum_(["srt", "webvtt", "json"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TranscriptsGetRequestFormatType";
|
|
@@ -14,4 +14,4 @@ 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("./
|
|
17
|
+
__exportStar(require("./TranscriptsGetRequestFormatType"), exports);
|
|
@@ -28,7 +28,6 @@ export * from "./textToDialogue/client/requests";
|
|
|
28
28
|
export * from "./textToDialogue/types";
|
|
29
29
|
export * as textToSoundEffects from "./textToSoundEffects";
|
|
30
30
|
export * from "./textToSoundEffects/client/requests";
|
|
31
|
-
export * from "./textToSoundEffects/types";
|
|
32
31
|
export * as textToSpeech from "./textToSpeech";
|
|
33
32
|
export * from "./textToSpeech/client/requests";
|
|
34
33
|
export * from "./textToSpeech/types";
|
|
@@ -67,7 +67,6 @@ __exportStar(require("./textToDialogue/client/requests"), exports);
|
|
|
67
67
|
__exportStar(require("./textToDialogue/types"), exports);
|
|
68
68
|
exports.textToSoundEffects = __importStar(require("./textToSoundEffects"));
|
|
69
69
|
__exportStar(require("./textToSoundEffects/client/requests"), exports);
|
|
70
|
-
__exportStar(require("./textToSoundEffects/types"), exports);
|
|
71
70
|
exports.textToSpeech = __importStar(require("./textToSpeech"));
|
|
72
71
|
__exportStar(require("./textToSpeech/client/requests"), exports);
|
|
73
72
|
__exportStar(require("./textToSpeech/types"), exports);
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
export * from "./MusicComposeDetailedRequestOutputFormat";
|
|
2
|
-
export * from "./MusicComposeRequestOutputFormat";
|
|
3
|
-
export * from "./MusicSeparateStemsRequestOutputFormat";
|
|
4
1
|
export * from "./MusicSeparateStemsRequestStemVariationId";
|
|
5
|
-
export * from "./MusicStreamRequestOutputFormat";
|
|
@@ -14,8 +14,4 @@ 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("./MusicComposeDetailedRequestOutputFormat"), exports);
|
|
18
|
-
__exportStar(require("./MusicComposeRequestOutputFormat"), exports);
|
|
19
|
-
__exportStar(require("./MusicSeparateStemsRequestOutputFormat"), exports);
|
|
20
17
|
__exportStar(require("./MusicSeparateStemsRequestStemVariationId"), exports);
|
|
21
|
-
__exportStar(require("./MusicStreamRequestOutputFormat"), exports);
|
|
@@ -2,7 +2,3 @@ export * from "./BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
|
|
|
2
2
|
export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
|
|
3
3
|
export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
|
|
4
4
|
export * from "./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
|
|
5
|
-
export * from "./TextToDialogueConvertRequestOutputFormat";
|
|
6
|
-
export * from "./TextToDialogueConvertWithTimestampsRequestOutputFormat";
|
|
7
|
-
export * from "./TextToDialogueStreamRequestOutputFormat";
|
|
8
|
-
export * from "./TextToDialogueStreamWithTimestampsRequestOutputFormat";
|
|
@@ -18,7 +18,3 @@ __exportStar(require("./BodyTextToDialogueFullWithTimestampsApplyTextNormalizati
|
|
|
18
18
|
__exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
|
|
19
19
|
__exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
|
|
20
20
|
__exportStar(require("./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization"), exports);
|
|
21
|
-
__exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
|
|
22
|
-
__exportStar(require("./TextToDialogueConvertWithTimestampsRequestOutputFormat"), exports);
|
|
23
|
-
__exportStar(require("./TextToDialogueStreamRequestOutputFormat"), exports);
|
|
24
|
-
__exportStar(require("./TextToDialogueStreamWithTimestampsRequestOutputFormat"), exports);
|
|
@@ -14,7 +14,4 @@ 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("./TextToVoiceCreatePreviewsRequestOutputFormat"), exports);
|
|
18
|
-
__exportStar(require("./TextToVoiceDesignRequestOutputFormat"), exports);
|
|
19
|
-
__exportStar(require("./TextToVoiceRemixRequestOutputFormat"), exports);
|
|
20
17
|
__exportStar(require("./VoiceDesignRequestModelModelId"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const AllowedOutputFormats: core.serialization.Schema<serializers.AllowedOutputFormats.Raw, ElevenLabs.AllowedOutputFormats>;
|
|
5
|
+
export declare namespace AllowedOutputFormats {
|
|
6
|
+
type Raw = "mp3_22050_32" | "mp3_24000_48" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_8000" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_32000" | "pcm_44100" | "pcm_48000" | "ulaw_8000" | "alaw_8000" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "opus_48000_128" | "opus_48000_192";
|
|
7
|
+
}
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
const core = __importStar(require("
|
|
39
|
-
exports.
|
|
37
|
+
exports.AllowedOutputFormats = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.AllowedOutputFormats = core.serialization.enum_([
|
|
40
40
|
"mp3_22050_32",
|
|
41
41
|
"mp3_24000_48",
|
|
42
42
|
"mp3_44100_32",
|
|
@@ -16,6 +16,7 @@ export declare namespace BatchCallDetailedResponse {
|
|
|
16
16
|
agent_id: string;
|
|
17
17
|
created_at_unix: number;
|
|
18
18
|
scheduled_time_unix: number;
|
|
19
|
+
timezone?: string | null;
|
|
19
20
|
total_calls_dispatched: number;
|
|
20
21
|
total_calls_scheduled: number;
|
|
21
22
|
total_calls_finished: number;
|
|
@@ -49,6 +49,7 @@ exports.BatchCallDetailedResponse = core.serialization.object({
|
|
|
49
49
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
50
50
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
|
|
51
51
|
scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number()),
|
|
52
|
+
timezone: core.serialization.string().optional(),
|
|
52
53
|
totalCallsDispatched: core.serialization.property("total_calls_dispatched", core.serialization.number()),
|
|
53
54
|
totalCallsScheduled: core.serialization.property("total_calls_scheduled", core.serialization.number()),
|
|
54
55
|
totalCallsFinished: core.serialization.property("total_calls_finished", core.serialization.number()),
|
|
@@ -48,6 +48,7 @@ exports.BatchCallResponse = core.serialization.object({
|
|
|
48
48
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
49
49
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
|
|
50
50
|
scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number()),
|
|
51
|
+
timezone: core.serialization.string().optional(),
|
|
51
52
|
totalCallsDispatched: core.serialization.property("total_calls_dispatched", core.serialization.number()),
|
|
52
53
|
totalCallsScheduled: core.serialization.property("total_calls_scheduled", core.serialization.number()),
|
|
53
54
|
totalCallsFinished: core.serialization.property("total_calls_finished", core.serialization.number()),
|