@elevenlabs/elevenlabs-js 2.20.0 → 2.21.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.d.ts +3 -0
- package/Client.js +9 -4
- package/api/resources/conversationalAi/conversation/Conversation.d.ts +2 -0
- package/api/resources/conversationalAi/conversation/Conversation.js +4 -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 +4 -1
- package/api/resources/conversationalAi/resources/index.d.ts +2 -1
- package/api/resources/conversationalAi/resources/index.js +3 -2
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.js +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
- package/api/resources/dubbing/client/Client.d.ts +1 -6
- package/api/resources/dubbing/client/Client.js +13 -10
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -10
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -6
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -6
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -6
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +0 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +3 -2
- package/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +1 -2
- package/api/resources/speechToText/client/Client.d.ts +0 -1
- package/api/resources/speechToText/client/Client.js +3 -2
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -3
- package/api/resources/studio/resources/projects/client/Client.d.ts +0 -1
- package/api/resources/studio/resources/projects/client/Client.js +3 -2
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +1 -2
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -3
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +4 -4
- package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +2 -4
- package/api/resources/textToDialogue/client/Client.d.ts +27 -0
- package/api/resources/textToDialogue/client/Client.js +182 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +10 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +10 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +25 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +28 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +25 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +28 -0
- package/api/resources/textToDialogue/types/index.d.ts +4 -0
- package/api/resources/textToDialogue/types/index.js +4 -0
- package/api/resources/tokens/client/Client.d.ts +20 -0
- package/api/resources/tokens/client/Client.js +15 -0
- package/api/resources/tokens/client/index.d.ts +1 -0
- package/api/resources/tokens/client/index.js +2 -0
- package/api/resources/tokens/index.d.ts +2 -0
- package/api/resources/tokens/index.js +18 -0
- package/api/resources/tokens/resources/index.d.ts +1 -0
- package/api/resources/tokens/resources/index.js +37 -0
- package/api/resources/tokens/resources/singleUse/client/Client.d.ts +45 -0
- package/api/resources/tokens/resources/singleUse/client/Client.js +130 -0
- package/api/resources/tokens/resources/singleUse/client/index.d.ts +1 -0
- package/api/resources/tokens/resources/singleUse/client/index.js +2 -0
- package/api/resources/tokens/resources/singleUse/index.d.ts +1 -0
- package/api/resources/tokens/resources/singleUse/index.js +17 -0
- package/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
- package/api/types/ClientToolConfigInput.d.ts +4 -0
- package/api/types/ClientToolConfigOutput.d.ts +4 -0
- package/api/types/CreateTwilioPhoneNumberRequest.d.ts +3 -0
- package/api/types/GuardrailsV1Input.d.ts +5 -0
- package/api/types/GuardrailsV1Output.d.ts +5 -0
- package/api/types/Llm.d.ts +2 -0
- package/api/types/Llm.js +2 -0
- package/api/types/McpServerConfigInput.d.ts +2 -0
- package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
- package/api/types/McpServerConfigOutput.d.ts +2 -0
- package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
- package/api/types/MetricType.d.ts +1 -0
- package/api/types/MetricType.js +1 -0
- package/api/types/ModerationConfig.d.ts +14 -0
- package/api/types/ModerationConfig.js +3 -0
- package/api/types/ModerationGuardrailInput.d.ts +4 -0
- package/api/types/ModerationGuardrailInput.js +3 -0
- package/api/types/ModerationGuardrailOutput.d.ts +4 -0
- package/api/types/ModerationGuardrailOutput.js +3 -0
- package/api/types/ReferencedToolCommonModel.d.ts +1 -1
- package/api/types/ReferencedToolCommonModelType.d.ts +8 -0
- package/api/types/ReferencedToolCommonModelType.js +11 -0
- package/api/types/RegionConfigRequest.d.ts +9 -0
- package/api/types/RegionConfigRequest.js +3 -0
- package/api/types/SingleUseTokenResponseModel.d.ts +4 -0
- package/api/types/SingleUseTokenResponseModel.js +3 -0
- package/api/types/SingleUseTokenType.d.ts +1 -0
- package/api/types/SingleUseTokenType.js +3 -0
- package/api/types/SongSection.d.ts +1 -1
- package/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
- package/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
- package/api/types/SystemToolConfigInput.d.ts +4 -0
- package/api/types/SystemToolConfigOutput.d.ts +4 -0
- package/api/types/ThresholdGuardrail.d.ts +4 -0
- package/api/types/ThresholdGuardrail.js +3 -0
- package/api/types/ToolCallSoundBehavior.d.ts +6 -0
- package/api/types/ToolCallSoundBehavior.js +9 -0
- package/api/types/ToolCallSoundType.d.ts +9 -0
- package/api/types/ToolCallSoundType.js +12 -0
- package/api/types/ToolRequestModelToolConfig.d.ts +1 -5
- package/api/types/TurnConfig.d.ts +2 -2
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/api/types/TurnEagerness.d.ts +7 -0
- package/api/types/TurnEagerness.js +10 -0
- package/api/types/TwilioEdgeLocation.d.ts +13 -0
- package/api/types/TwilioEdgeLocation.js +16 -0
- package/api/types/TwilioRegionId.d.ts +7 -0
- package/api/types/TwilioRegionId.js +10 -0
- package/api/types/User.d.ts +0 -2
- package/api/types/VadConfig.d.ts +0 -2
- package/api/types/VadConfigWorkflowOverride.d.ts +0 -2
- package/api/types/VoiceSegment.d.ts +12 -0
- package/api/types/VoiceSegment.js +3 -0
- package/api/types/WebhookToolConfigInput.d.ts +4 -0
- package/api/types/WebhookToolConfigOutput.d.ts +4 -0
- package/api/types/WorkspaceResourceType.d.ts +2 -0
- package/api/types/WorkspaceResourceType.js +2 -0
- package/api/types/index.d.ts +18 -5
- package/api/types/index.js +18 -5
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +9 -4
- package/dist/api/resources/conversationalAi/conversation/Conversation.d.ts +2 -0
- package/dist/api/resources/conversationalAi/conversation/Conversation.js +4 -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 +4 -1
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/index.js +3 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
- package/dist/api/resources/dubbing/client/Client.d.ts +1 -6
- package/dist/api/resources/dubbing/client/Client.js +13 -10
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -10
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -6
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -6
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -6
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +0 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +3 -2
- package/dist/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +1 -2
- package/dist/api/resources/speechToText/client/Client.d.ts +0 -1
- package/dist/api/resources/speechToText/client/Client.js +3 -2
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -3
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +0 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +3 -2
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +1 -2
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -3
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +4 -4
- package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +2 -4
- package/dist/api/resources/textToDialogue/client/Client.d.ts +27 -0
- package/dist/api/resources/textToDialogue/client/Client.js +182 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +3 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +3 -0
- package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +10 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +10 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +25 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +28 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +25 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +28 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +4 -0
- package/dist/api/resources/textToDialogue/types/index.js +4 -0
- package/dist/api/resources/tokens/client/Client.d.ts +20 -0
- package/dist/api/resources/tokens/client/Client.js +15 -0
- package/dist/api/resources/tokens/client/index.d.ts +1 -0
- package/dist/api/resources/tokens/client/index.js +2 -0
- package/dist/api/resources/tokens/index.d.ts +2 -0
- package/dist/api/resources/tokens/index.js +18 -0
- package/dist/api/resources/tokens/resources/index.d.ts +1 -0
- package/dist/api/resources/tokens/resources/index.js +37 -0
- package/dist/api/resources/tokens/resources/singleUse/client/Client.d.ts +45 -0
- package/dist/api/resources/tokens/resources/singleUse/client/Client.js +130 -0
- package/dist/api/resources/tokens/resources/singleUse/client/index.d.ts +1 -0
- package/dist/api/resources/tokens/resources/singleUse/client/index.js +2 -0
- package/dist/api/resources/tokens/resources/singleUse/index.d.ts +1 -0
- package/dist/api/resources/tokens/resources/singleUse/index.js +17 -0
- package/dist/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
- package/dist/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
- package/dist/api/types/ClientToolConfigInput.d.ts +4 -0
- package/dist/api/types/ClientToolConfigOutput.d.ts +4 -0
- package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +3 -0
- package/dist/api/types/GuardrailsV1Input.d.ts +5 -0
- package/dist/api/types/GuardrailsV1Input.js +3 -0
- package/dist/api/types/GuardrailsV1Output.d.ts +5 -0
- package/dist/api/types/GuardrailsV1Output.js +3 -0
- package/dist/api/types/Llm.d.ts +2 -0
- package/dist/api/types/Llm.js +2 -0
- package/dist/api/types/McpServerConfigInput.d.ts +2 -0
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/MetricType.d.ts +1 -0
- package/dist/api/types/MetricType.js +1 -0
- package/dist/api/types/ModerationConfig.d.ts +14 -0
- package/dist/api/types/ModerationConfig.js +3 -0
- package/dist/api/types/ModerationGuardrailInput.d.ts +4 -0
- package/dist/api/types/ModerationGuardrailInput.js +3 -0
- package/dist/api/types/ModerationGuardrailOutput.d.ts +4 -0
- package/dist/api/types/ModerationGuardrailOutput.js +3 -0
- package/dist/api/types/ReferencedToolCommonModel.d.ts +1 -1
- package/dist/api/types/ReferencedToolCommonModelType.d.ts +8 -0
- package/dist/api/types/ReferencedToolCommonModelType.js +11 -0
- package/dist/api/types/RegionConfigRequest.d.ts +9 -0
- package/dist/api/types/RegionConfigRequest.js +3 -0
- package/dist/api/types/SingleUseTokenResponseModel.d.ts +4 -0
- package/dist/api/types/SingleUseTokenResponseModel.js +3 -0
- package/dist/api/types/SingleUseTokenType.d.ts +1 -0
- package/dist/api/types/SingleUseTokenType.js +3 -0
- package/dist/api/types/SongSection.d.ts +1 -1
- package/dist/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
- package/dist/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
- package/dist/api/types/SystemToolConfigInput.d.ts +4 -0
- package/dist/api/types/SystemToolConfigOutput.d.ts +4 -0
- package/dist/api/types/ThresholdGuardrail.d.ts +4 -0
- package/dist/api/types/ThresholdGuardrail.js +3 -0
- package/dist/api/types/ToolCallSoundBehavior.d.ts +6 -0
- package/dist/api/types/ToolCallSoundBehavior.js +9 -0
- package/dist/api/types/ToolCallSoundType.d.ts +9 -0
- package/dist/api/types/ToolCallSoundType.js +12 -0
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +1 -5
- package/dist/api/types/TurnConfig.d.ts +2 -2
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/dist/api/types/TurnEagerness.d.ts +7 -0
- package/dist/api/types/TurnEagerness.js +10 -0
- package/dist/api/types/TwilioEdgeLocation.d.ts +13 -0
- package/dist/api/types/TwilioEdgeLocation.js +16 -0
- package/dist/api/types/TwilioRegionId.d.ts +7 -0
- package/dist/api/types/TwilioRegionId.js +10 -0
- package/dist/api/types/User.d.ts +0 -2
- package/dist/api/types/VadConfig.d.ts +0 -2
- package/dist/api/types/VadConfigWorkflowOverride.d.ts +0 -2
- package/dist/api/types/VoiceSegment.d.ts +12 -0
- package/dist/api/types/VoiceSegment.js +3 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +4 -0
- package/dist/api/types/WebhookToolConfigOutput.d.ts +4 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -0
- package/dist/api/types/WorkspaceResourceType.js +2 -0
- package/dist/api/types/index.d.ts +18 -5
- package/dist/api/types/index.js +18 -5
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -2
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +6 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -2
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +0 -2
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -2
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +0 -2
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -2
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +0 -2
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +51 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +51 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.js +5 -1
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +39 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +39 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +4 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +4 -0
- package/dist/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
- package/dist/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
- package/dist/serialization/types/ClientToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/ClientToolConfigInput.js +4 -0
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/ClientToolConfigOutput.js +4 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/dist/serialization/types/GuardrailsV1Input.d.ts +11 -0
- package/dist/serialization/types/GuardrailsV1Input.js +43 -0
- package/dist/serialization/types/GuardrailsV1Output.d.ts +11 -0
- package/dist/serialization/types/GuardrailsV1Output.js +43 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +2 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +2 -0
- package/dist/serialization/types/McpServerConfigInput.js +2 -0
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +2 -1
- package/dist/serialization/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/serialization/types/McpServerConfigOutput.js +2 -0
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +2 -1
- package/dist/serialization/types/MetricType.d.ts +1 -1
- package/dist/serialization/types/MetricType.js +1 -0
- package/dist/serialization/types/ModerationConfig.d.ts +20 -0
- package/{serialization/types/SubscriptionUsageResponseModel.js → dist/serialization/types/ModerationConfig.js} +14 -10
- package/dist/serialization/types/ModerationGuardrailInput.d.ts +10 -0
- package/dist/serialization/types/ModerationGuardrailInput.js +42 -0
- package/dist/serialization/types/ModerationGuardrailOutput.d.ts +10 -0
- package/dist/serialization/types/ModerationGuardrailOutput.js +42 -0
- package/dist/serialization/types/ReferencedToolCommonModel.d.ts +2 -2
- package/dist/serialization/types/ReferencedToolCommonModel.js +2 -2
- package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +7 -0
- package/dist/serialization/types/{ModerationStatusResponseModelWarningStatus.js → ReferencedToolCommonModelType.js} +2 -2
- package/dist/serialization/types/RegionConfigRequest.d.ts +13 -0
- package/dist/serialization/types/RegionConfigRequest.js +45 -0
- package/dist/serialization/types/SingleUseTokenResponseModel.d.ts +9 -0
- package/{serialization/types/ModerationStatusResponseModelWarningStatus.js → dist/serialization/types/SingleUseTokenResponseModel.js} +4 -2
- package/dist/serialization/types/SingleUseTokenType.d.ts +7 -0
- package/dist/serialization/types/{ModerationStatusResponseModelSafetyStatus.js → SingleUseTokenType.js} +2 -2
- package/dist/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
- package/dist/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
- package/dist/serialization/types/SystemToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/SystemToolConfigInput.js +4 -0
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/SystemToolConfigOutput.js +4 -0
- package/dist/serialization/types/ThresholdGuardrail.d.ts +10 -0
- package/dist/serialization/types/ThresholdGuardrail.js +42 -0
- package/dist/serialization/types/ToolCallSoundBehavior.d.ts +7 -0
- package/{serialization/types/ModerationStatusResponseModelSafetyStatus.js → dist/serialization/types/ToolCallSoundBehavior.js} +2 -2
- package/dist/serialization/types/ToolCallSoundType.d.ts +7 -0
- package/dist/serialization/types/ToolCallSoundType.js +39 -0
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +1 -5
- package/dist/serialization/types/ToolRequestModelToolConfig.js +0 -3
- package/dist/serialization/types/TurnConfig.d.ts +2 -2
- package/dist/serialization/types/TurnConfig.js +2 -2
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -2
- package/dist/serialization/types/TurnEagerness.d.ts +7 -0
- package/dist/serialization/types/TurnEagerness.js +39 -0
- package/dist/serialization/types/TwilioEdgeLocation.d.ts +7 -0
- package/dist/serialization/types/TwilioEdgeLocation.js +49 -0
- package/dist/serialization/types/TwilioRegionId.d.ts +7 -0
- package/dist/serialization/types/TwilioRegionId.js +39 -0
- package/dist/serialization/types/User.d.ts +0 -2
- package/dist/serialization/types/User.js +0 -2
- package/dist/serialization/types/VadConfig.d.ts +0 -1
- package/dist/serialization/types/VadConfig.js +1 -3
- package/dist/serialization/types/VadConfigWorkflowOverride.d.ts +0 -1
- package/dist/serialization/types/VadConfigWorkflowOverride.js +1 -3
- package/dist/serialization/types/VoiceSegment.d.ts +13 -0
- package/dist/serialization/types/VoiceSegment.js +45 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/WebhookToolConfigInput.js +4 -0
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/WebhookToolConfigOutput.js +4 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +2 -0
- package/dist/serialization/types/index.d.ts +18 -5
- package/dist/serialization/types/index.js +18 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.js +1 -1
- package/dist/wrapper/music.d.ts +74 -3
- package/dist/wrapper/music.js +127 -14
- package/dist/wrapper/realtime/connection.js +0 -1
- package/dist/wrapper/realtime/scribe.d.ts +5 -0
- package/dist/wrapper/realtime/scribe.js +3 -0
- package/package.json +3 -2
- package/reference.md +221 -18
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/index.js +3 -2
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +6 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +41 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -2
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +0 -2
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -2
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +0 -2
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -2
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +0 -2
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +51 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +51 -0
- package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/client/requests/index.js +5 -1
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +39 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +39 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +4 -0
- package/serialization/resources/textToDialogue/types/index.js +4 -0
- package/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
- package/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
- package/serialization/types/ClientToolConfigInput.d.ts +4 -0
- package/serialization/types/ClientToolConfigInput.js +4 -0
- package/serialization/types/ClientToolConfigOutput.d.ts +4 -0
- package/serialization/types/ClientToolConfigOutput.js +4 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/serialization/types/GuardrailsV1Input.d.ts +11 -0
- package/serialization/types/GuardrailsV1Input.js +43 -0
- package/serialization/types/GuardrailsV1Output.d.ts +11 -0
- package/serialization/types/GuardrailsV1Output.js +43 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +2 -0
- package/serialization/types/McpServerConfigInput.d.ts +2 -0
- package/serialization/types/McpServerConfigInput.js +2 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
- package/serialization/types/McpServerConfigInputRequestHeadersValue.js +2 -1
- package/serialization/types/McpServerConfigOutput.d.ts +2 -0
- package/serialization/types/McpServerConfigOutput.js +2 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +2 -1
- package/serialization/types/MetricType.d.ts +1 -1
- package/serialization/types/MetricType.js +1 -0
- package/serialization/types/ModerationConfig.d.ts +20 -0
- package/{dist/serialization/types/SubscriptionUsageResponseModel.js → serialization/types/ModerationConfig.js} +14 -10
- package/serialization/types/ModerationGuardrailInput.d.ts +10 -0
- package/serialization/types/ModerationGuardrailInput.js +42 -0
- package/serialization/types/ModerationGuardrailOutput.d.ts +10 -0
- package/serialization/types/ModerationGuardrailOutput.js +42 -0
- package/serialization/types/ReferencedToolCommonModel.d.ts +2 -2
- package/serialization/types/ReferencedToolCommonModel.js +2 -2
- package/serialization/types/ReferencedToolCommonModelType.d.ts +7 -0
- package/serialization/types/ReferencedToolCommonModelType.js +39 -0
- package/serialization/types/RegionConfigRequest.d.ts +13 -0
- package/serialization/types/RegionConfigRequest.js +45 -0
- package/serialization/types/SingleUseTokenResponseModel.d.ts +9 -0
- package/serialization/types/SingleUseTokenResponseModel.js +41 -0
- package/serialization/types/SingleUseTokenType.d.ts +7 -0
- package/serialization/types/SingleUseTokenType.js +39 -0
- package/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
- package/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
- package/serialization/types/SystemToolConfigInput.d.ts +4 -0
- package/serialization/types/SystemToolConfigInput.js +4 -0
- package/serialization/types/SystemToolConfigOutput.d.ts +4 -0
- package/serialization/types/SystemToolConfigOutput.js +4 -0
- package/serialization/types/ThresholdGuardrail.d.ts +10 -0
- package/serialization/types/ThresholdGuardrail.js +42 -0
- package/serialization/types/ToolCallSoundBehavior.d.ts +7 -0
- package/serialization/types/ToolCallSoundBehavior.js +39 -0
- package/serialization/types/ToolCallSoundType.d.ts +7 -0
- package/serialization/types/ToolCallSoundType.js +39 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +1 -5
- package/serialization/types/ToolRequestModelToolConfig.js +0 -3
- package/serialization/types/TurnConfig.d.ts +2 -2
- package/serialization/types/TurnConfig.js +2 -2
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/serialization/types/TurnConfigWorkflowOverride.js +2 -2
- package/serialization/types/TurnEagerness.d.ts +7 -0
- package/serialization/types/TurnEagerness.js +39 -0
- package/serialization/types/TwilioEdgeLocation.d.ts +7 -0
- package/serialization/types/TwilioEdgeLocation.js +49 -0
- package/serialization/types/TwilioRegionId.d.ts +7 -0
- package/serialization/types/TwilioRegionId.js +39 -0
- package/serialization/types/User.d.ts +0 -2
- package/serialization/types/User.js +0 -2
- package/serialization/types/VadConfig.d.ts +0 -1
- package/serialization/types/VadConfig.js +1 -3
- package/serialization/types/VadConfigWorkflowOverride.d.ts +0 -1
- package/serialization/types/VadConfigWorkflowOverride.js +1 -3
- package/serialization/types/VoiceSegment.d.ts +13 -0
- package/serialization/types/VoiceSegment.js +45 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +4 -0
- package/serialization/types/WebhookToolConfigInput.js +4 -0
- package/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
- package/serialization/types/WebhookToolConfigOutput.js +4 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +2 -0
- package/serialization/types/index.d.ts +18 -5
- package/serialization/types/index.js +18 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.js +1 -1
- package/wrapper/music.d.ts +74 -3
- package/wrapper/music.js +127 -14
- package/wrapper/realtime/connection.js +0 -1
- package/wrapper/realtime/scribe.d.ts +5 -0
- package/wrapper/realtime/scribe.js +3 -0
- package/api/types/ModerationStatusResponseModel.d.ts +0 -21
- package/api/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -6
- package/api/types/ModerationStatusResponseModelSafetyStatus.js +0 -9
- package/api/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -5
- package/api/types/ModerationStatusResponseModelWarningStatus.js +0 -8
- package/api/types/SubscriptionExtrasResponseModel.d.ts +0 -27
- package/api/types/SubscriptionUsageResponseModel.d.ts +0 -18
- package/dist/api/types/ModerationStatusResponseModel.d.ts +0 -21
- package/dist/api/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -6
- package/dist/api/types/ModerationStatusResponseModelSafetyStatus.js +0 -9
- package/dist/api/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -5
- package/dist/api/types/ModerationStatusResponseModelWarningStatus.js +0 -8
- package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +0 -27
- package/dist/api/types/SubscriptionUsageResponseModel.d.ts +0 -18
- package/dist/serialization/types/ModerationStatusResponseModel.d.ts +0 -19
- package/dist/serialization/types/ModerationStatusResponseModel.js +0 -51
- package/dist/serialization/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -7
- package/dist/serialization/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -7
- package/dist/serialization/types/SubscriptionExtrasResponseModel.d.ts +0 -22
- package/dist/serialization/types/SubscriptionExtrasResponseModel.js +0 -54
- package/dist/serialization/types/SubscriptionUsageResponseModel.d.ts +0 -16
- package/serialization/types/ModerationStatusResponseModel.d.ts +0 -19
- package/serialization/types/ModerationStatusResponseModel.js +0 -51
- package/serialization/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -7
- package/serialization/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -7
- package/serialization/types/SubscriptionExtrasResponseModel.d.ts +0 -22
- package/serialization/types/SubscriptionExtrasResponseModel.js +0 -54
- package/serialization/types/SubscriptionUsageResponseModel.d.ts +0 -16
- /package/api/{types/ModerationStatusResponseModel.js → resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js} +0 -0
- /package/api/{types/SubscriptionExtrasResponseModel.js → resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js} +0 -0
- /package/api/{types/SubscriptionUsageResponseModel.js → resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js} +0 -0
- /package/{dist/api/types/ModerationStatusResponseModel.js → api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js} +0 -0
- /package/{dist/api/types/SubscriptionExtrasResponseModel.js → api/types/GuardrailsV1Input.js} +0 -0
- /package/{dist/api/types/SubscriptionUsageResponseModel.js → api/types/GuardrailsV1Output.js} +0 -0
|
@@ -107,6 +107,7 @@ export * from "./AudioNativeCreateProjectResponseModel";
|
|
|
107
107
|
export * from "./AudioNativeEditContentResponseModel";
|
|
108
108
|
export * from "./AudioNativeProjectSettingsResponseModelStatus";
|
|
109
109
|
export * from "./AudioNativeProjectSettingsResponseModel";
|
|
110
|
+
export * from "./AudioWithTimestampsAndVoiceSegmentsResponseModel";
|
|
110
111
|
export * from "./AudioWithTimestampsResponse";
|
|
111
112
|
export * from "./AuthConnectionLocator";
|
|
112
113
|
export * from "./AuthSettings";
|
|
@@ -369,6 +370,8 @@ export * from "./GetUnitTestResponseModel";
|
|
|
369
370
|
export * from "./GetVoicesResponse";
|
|
370
371
|
export * from "./GetVoicesV2Response";
|
|
371
372
|
export * from "./GetWorkspaceSecretsResponseModel";
|
|
373
|
+
export * from "./GuardrailsV1Input";
|
|
374
|
+
export * from "./GuardrailsV1Output";
|
|
372
375
|
export * from "./HttpValidationError";
|
|
373
376
|
export * from "./HistoryAlignmentResponseModel";
|
|
374
377
|
export * from "./HistoryAlignmentsResponseModel";
|
|
@@ -432,9 +435,9 @@ export * from "./MetricType";
|
|
|
432
435
|
export * from "./ModelRatesResponseModel";
|
|
433
436
|
export * from "./Model";
|
|
434
437
|
export * from "./ModelSettingsResponseModel";
|
|
435
|
-
export * from "./
|
|
436
|
-
export * from "./
|
|
437
|
-
export * from "./
|
|
438
|
+
export * from "./ModerationConfig";
|
|
439
|
+
export * from "./ModerationGuardrailInput";
|
|
440
|
+
export * from "./ModerationGuardrailOutput";
|
|
438
441
|
export * from "./MultichannelSpeechToTextResponseModel";
|
|
439
442
|
export * from "./MultipartMusicResponse";
|
|
440
443
|
export * from "./MusicPrompt";
|
|
@@ -527,8 +530,10 @@ export * from "./RagRetrievalInfo";
|
|
|
527
530
|
export * from "./ReaderResourceResponseModelResourceType";
|
|
528
531
|
export * from "./ReaderResourceResponseModel";
|
|
529
532
|
export * from "./RecordingResponse";
|
|
533
|
+
export * from "./ReferencedToolCommonModelType";
|
|
530
534
|
export * from "./ReferencedToolCommonModel";
|
|
531
535
|
export * from "./RegexParameterEvaluationStrategy";
|
|
536
|
+
export * from "./RegionConfigRequest";
|
|
532
537
|
export * from "./RenderStatus";
|
|
533
538
|
export * from "./Render";
|
|
534
539
|
export * from "./RenderType";
|
|
@@ -563,6 +568,8 @@ export * from "./SimilarVoiceCategory";
|
|
|
563
568
|
export * from "./SimilarVoice";
|
|
564
569
|
export * from "./SimilarVoicesForSpeakerResponse";
|
|
565
570
|
export * from "./SingleTestRunRequestModel";
|
|
571
|
+
export * from "./SingleUseTokenResponseModel";
|
|
572
|
+
export * from "./SingleUseTokenType";
|
|
566
573
|
export * from "./SkipTurnToolConfig";
|
|
567
574
|
export * from "./SkipTurnToolResponseModel";
|
|
568
575
|
export * from "./SongMetadata";
|
|
@@ -586,14 +593,13 @@ export * from "./SpeechToTextWordResponseModel";
|
|
|
586
593
|
export * from "./SrtExportOptions";
|
|
587
594
|
export * from "./StartPvcVoiceTrainingResponseModel";
|
|
588
595
|
export * from "./StartSpeakerSeparationResponseModel";
|
|
596
|
+
export * from "./StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel";
|
|
589
597
|
export * from "./StreamingAudioChunkWithTimestampsResponse";
|
|
590
|
-
export * from "./SubscriptionExtrasResponseModel";
|
|
591
598
|
export * from "./SubscriptionResponseModelCurrency";
|
|
592
599
|
export * from "./SubscriptionResponseModelBillingPeriod";
|
|
593
600
|
export * from "./SubscriptionResponseModelCharacterRefreshPeriod";
|
|
594
601
|
export * from "./SubscriptionResponse";
|
|
595
602
|
export * from "./SubscriptionStatusType";
|
|
596
|
-
export * from "./SubscriptionUsageResponseModel";
|
|
597
603
|
export * from "./SupportedVoice";
|
|
598
604
|
export * from "./SystemToolConfigInputParams";
|
|
599
605
|
export * from "./SystemToolConfigInput";
|
|
@@ -620,10 +626,13 @@ export * from "./TestRunMetadata";
|
|
|
620
626
|
export * from "./TestRunStatus";
|
|
621
627
|
export * from "./TestToolResultModel";
|
|
622
628
|
export * from "./TestsFeatureUsageCommonModel";
|
|
629
|
+
export * from "./ThresholdGuardrail";
|
|
623
630
|
export * from "./TimeRange";
|
|
624
631
|
export * from "./TokenResponseModel";
|
|
625
632
|
export * from "./Tool";
|
|
626
633
|
export * from "./ToolAnnotations";
|
|
634
|
+
export * from "./ToolCallSoundBehavior";
|
|
635
|
+
export * from "./ToolCallSoundType";
|
|
627
636
|
export * from "./ToolExecutionMode";
|
|
628
637
|
export * from "./ToolMockConfig";
|
|
629
638
|
export * from "./ToolRequestModelToolConfig";
|
|
@@ -644,8 +653,11 @@ export * from "./TransferToNumberToolConfigOutput";
|
|
|
644
653
|
export * from "./TransferTypeEnum";
|
|
645
654
|
export * from "./TurnConfig";
|
|
646
655
|
export * from "./TurnConfigWorkflowOverride";
|
|
656
|
+
export * from "./TurnEagerness";
|
|
647
657
|
export * from "./TurnMode";
|
|
658
|
+
export * from "./TwilioEdgeLocation";
|
|
648
659
|
export * from "./TwilioOutboundCallResponse";
|
|
660
|
+
export * from "./TwilioRegionId";
|
|
649
661
|
export * from "./TxtExportOptions";
|
|
650
662
|
export * from "./UrlAvatar";
|
|
651
663
|
export * from "./UnitTestCommonModelDynamicVariablesValue";
|
|
@@ -681,6 +693,7 @@ export * from "./VoiceResponseModelSafetyControl";
|
|
|
681
693
|
export * from "./Voice";
|
|
682
694
|
export * from "./VoiceSamplePreviewResponseModel";
|
|
683
695
|
export * from "./VoiceSampleVisualWaveformResponseModel";
|
|
696
|
+
export * from "./VoiceSegment";
|
|
684
697
|
export * from "./VoiceSettings";
|
|
685
698
|
export * from "./VoiceSharingModerationCheckResponseModel";
|
|
686
699
|
export * from "./VoiceSharingState";
|
package/dist/api/types/index.js
CHANGED
|
@@ -123,6 +123,7 @@ __exportStar(require("./AudioNativeCreateProjectResponseModel"), exports);
|
|
|
123
123
|
__exportStar(require("./AudioNativeEditContentResponseModel"), exports);
|
|
124
124
|
__exportStar(require("./AudioNativeProjectSettingsResponseModelStatus"), exports);
|
|
125
125
|
__exportStar(require("./AudioNativeProjectSettingsResponseModel"), exports);
|
|
126
|
+
__exportStar(require("./AudioWithTimestampsAndVoiceSegmentsResponseModel"), exports);
|
|
126
127
|
__exportStar(require("./AudioWithTimestampsResponse"), exports);
|
|
127
128
|
__exportStar(require("./AuthConnectionLocator"), exports);
|
|
128
129
|
__exportStar(require("./AuthSettings"), exports);
|
|
@@ -385,6 +386,8 @@ __exportStar(require("./GetUnitTestResponseModel"), exports);
|
|
|
385
386
|
__exportStar(require("./GetVoicesResponse"), exports);
|
|
386
387
|
__exportStar(require("./GetVoicesV2Response"), exports);
|
|
387
388
|
__exportStar(require("./GetWorkspaceSecretsResponseModel"), exports);
|
|
389
|
+
__exportStar(require("./GuardrailsV1Input"), exports);
|
|
390
|
+
__exportStar(require("./GuardrailsV1Output"), exports);
|
|
388
391
|
__exportStar(require("./HttpValidationError"), exports);
|
|
389
392
|
__exportStar(require("./HistoryAlignmentResponseModel"), exports);
|
|
390
393
|
__exportStar(require("./HistoryAlignmentsResponseModel"), exports);
|
|
@@ -448,9 +451,9 @@ __exportStar(require("./MetricType"), exports);
|
|
|
448
451
|
__exportStar(require("./ModelRatesResponseModel"), exports);
|
|
449
452
|
__exportStar(require("./Model"), exports);
|
|
450
453
|
__exportStar(require("./ModelSettingsResponseModel"), exports);
|
|
451
|
-
__exportStar(require("./
|
|
452
|
-
__exportStar(require("./
|
|
453
|
-
__exportStar(require("./
|
|
454
|
+
__exportStar(require("./ModerationConfig"), exports);
|
|
455
|
+
__exportStar(require("./ModerationGuardrailInput"), exports);
|
|
456
|
+
__exportStar(require("./ModerationGuardrailOutput"), exports);
|
|
454
457
|
__exportStar(require("./MultichannelSpeechToTextResponseModel"), exports);
|
|
455
458
|
__exportStar(require("./MultipartMusicResponse"), exports);
|
|
456
459
|
__exportStar(require("./MusicPrompt"), exports);
|
|
@@ -543,8 +546,10 @@ __exportStar(require("./RagRetrievalInfo"), exports);
|
|
|
543
546
|
__exportStar(require("./ReaderResourceResponseModelResourceType"), exports);
|
|
544
547
|
__exportStar(require("./ReaderResourceResponseModel"), exports);
|
|
545
548
|
__exportStar(require("./RecordingResponse"), exports);
|
|
549
|
+
__exportStar(require("./ReferencedToolCommonModelType"), exports);
|
|
546
550
|
__exportStar(require("./ReferencedToolCommonModel"), exports);
|
|
547
551
|
__exportStar(require("./RegexParameterEvaluationStrategy"), exports);
|
|
552
|
+
__exportStar(require("./RegionConfigRequest"), exports);
|
|
548
553
|
__exportStar(require("./RenderStatus"), exports);
|
|
549
554
|
__exportStar(require("./Render"), exports);
|
|
550
555
|
__exportStar(require("./RenderType"), exports);
|
|
@@ -579,6 +584,8 @@ __exportStar(require("./SimilarVoiceCategory"), exports);
|
|
|
579
584
|
__exportStar(require("./SimilarVoice"), exports);
|
|
580
585
|
__exportStar(require("./SimilarVoicesForSpeakerResponse"), exports);
|
|
581
586
|
__exportStar(require("./SingleTestRunRequestModel"), exports);
|
|
587
|
+
__exportStar(require("./SingleUseTokenResponseModel"), exports);
|
|
588
|
+
__exportStar(require("./SingleUseTokenType"), exports);
|
|
582
589
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
583
590
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
584
591
|
__exportStar(require("./SongMetadata"), exports);
|
|
@@ -602,14 +609,13 @@ __exportStar(require("./SpeechToTextWordResponseModel"), exports);
|
|
|
602
609
|
__exportStar(require("./SrtExportOptions"), exports);
|
|
603
610
|
__exportStar(require("./StartPvcVoiceTrainingResponseModel"), exports);
|
|
604
611
|
__exportStar(require("./StartSpeakerSeparationResponseModel"), exports);
|
|
612
|
+
__exportStar(require("./StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel"), exports);
|
|
605
613
|
__exportStar(require("./StreamingAudioChunkWithTimestampsResponse"), exports);
|
|
606
|
-
__exportStar(require("./SubscriptionExtrasResponseModel"), exports);
|
|
607
614
|
__exportStar(require("./SubscriptionResponseModelCurrency"), exports);
|
|
608
615
|
__exportStar(require("./SubscriptionResponseModelBillingPeriod"), exports);
|
|
609
616
|
__exportStar(require("./SubscriptionResponseModelCharacterRefreshPeriod"), exports);
|
|
610
617
|
__exportStar(require("./SubscriptionResponse"), exports);
|
|
611
618
|
__exportStar(require("./SubscriptionStatusType"), exports);
|
|
612
|
-
__exportStar(require("./SubscriptionUsageResponseModel"), exports);
|
|
613
619
|
__exportStar(require("./SupportedVoice"), exports);
|
|
614
620
|
__exportStar(require("./SystemToolConfigInputParams"), exports);
|
|
615
621
|
__exportStar(require("./SystemToolConfigInput"), exports);
|
|
@@ -636,10 +642,13 @@ __exportStar(require("./TestRunMetadata"), exports);
|
|
|
636
642
|
__exportStar(require("./TestRunStatus"), exports);
|
|
637
643
|
__exportStar(require("./TestToolResultModel"), exports);
|
|
638
644
|
__exportStar(require("./TestsFeatureUsageCommonModel"), exports);
|
|
645
|
+
__exportStar(require("./ThresholdGuardrail"), exports);
|
|
639
646
|
__exportStar(require("./TimeRange"), exports);
|
|
640
647
|
__exportStar(require("./TokenResponseModel"), exports);
|
|
641
648
|
__exportStar(require("./Tool"), exports);
|
|
642
649
|
__exportStar(require("./ToolAnnotations"), exports);
|
|
650
|
+
__exportStar(require("./ToolCallSoundBehavior"), exports);
|
|
651
|
+
__exportStar(require("./ToolCallSoundType"), exports);
|
|
643
652
|
__exportStar(require("./ToolExecutionMode"), exports);
|
|
644
653
|
__exportStar(require("./ToolMockConfig"), exports);
|
|
645
654
|
__exportStar(require("./ToolRequestModelToolConfig"), exports);
|
|
@@ -660,8 +669,11 @@ __exportStar(require("./TransferToNumberToolConfigOutput"), exports);
|
|
|
660
669
|
__exportStar(require("./TransferTypeEnum"), exports);
|
|
661
670
|
__exportStar(require("./TurnConfig"), exports);
|
|
662
671
|
__exportStar(require("./TurnConfigWorkflowOverride"), exports);
|
|
672
|
+
__exportStar(require("./TurnEagerness"), exports);
|
|
663
673
|
__exportStar(require("./TurnMode"), exports);
|
|
674
|
+
__exportStar(require("./TwilioEdgeLocation"), exports);
|
|
664
675
|
__exportStar(require("./TwilioOutboundCallResponse"), exports);
|
|
676
|
+
__exportStar(require("./TwilioRegionId"), exports);
|
|
665
677
|
__exportStar(require("./TxtExportOptions"), exports);
|
|
666
678
|
__exportStar(require("./UrlAvatar"), exports);
|
|
667
679
|
__exportStar(require("./UnitTestCommonModelDynamicVariablesValue"), exports);
|
|
@@ -697,6 +709,7 @@ __exportStar(require("./VoiceResponseModelSafetyControl"), exports);
|
|
|
697
709
|
__exportStar(require("./Voice"), exports);
|
|
698
710
|
__exportStar(require("./VoiceSamplePreviewResponseModel"), exports);
|
|
699
711
|
__exportStar(require("./VoiceSampleVisualWaveformResponseModel"), exports);
|
|
712
|
+
__exportStar(require("./VoiceSegment"), exports);
|
|
700
713
|
__exportStar(require("./VoiceSettings"), exports);
|
|
701
714
|
__exportStar(require("./VoiceSharingModerationCheckResponseModel"), exports);
|
|
702
715
|
__exportStar(require("./VoiceSharingState"), exports);
|
|
@@ -4,6 +4,8 @@ export * as tests from "./tests";
|
|
|
4
4
|
export * from "./tests/types";
|
|
5
5
|
export * as phoneNumbers from "./phoneNumbers";
|
|
6
6
|
export * from "./phoneNumbers/types";
|
|
7
|
+
export * as mcpServers from "./mcpServers";
|
|
8
|
+
export * from "./mcpServers/types";
|
|
7
9
|
export * as dashboard from "./dashboard";
|
|
8
10
|
export * as knowledgeBase from "./knowledgeBase";
|
|
9
11
|
export * as twilio from "./twilio";
|
|
@@ -22,5 +24,4 @@ export * as batchCalls from "./batchCalls";
|
|
|
22
24
|
export * from "./batchCalls/client/requests";
|
|
23
25
|
export * as sipTrunk from "./sipTrunk";
|
|
24
26
|
export * from "./sipTrunk/client/requests";
|
|
25
|
-
export * as mcpServers from "./mcpServers";
|
|
26
27
|
export * from "./mcpServers/client/requests";
|
|
@@ -36,13 +36,15 @@ 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.
|
|
39
|
+
exports.sipTrunk = exports.batchCalls = exports.secrets = exports.settings = exports.llmUsage = exports.agents = exports.twilio = exports.knowledgeBase = exports.dashboard = exports.mcpServers = exports.phoneNumbers = exports.tests = exports.conversations = void 0;
|
|
40
40
|
exports.conversations = __importStar(require("./conversations"));
|
|
41
41
|
__exportStar(require("./conversations/types"), exports);
|
|
42
42
|
exports.tests = __importStar(require("./tests"));
|
|
43
43
|
__exportStar(require("./tests/types"), exports);
|
|
44
44
|
exports.phoneNumbers = __importStar(require("./phoneNumbers"));
|
|
45
45
|
__exportStar(require("./phoneNumbers/types"), exports);
|
|
46
|
+
exports.mcpServers = __importStar(require("./mcpServers"));
|
|
47
|
+
__exportStar(require("./mcpServers/types"), exports);
|
|
46
48
|
exports.dashboard = __importStar(require("./dashboard"));
|
|
47
49
|
exports.knowledgeBase = __importStar(require("./knowledgeBase"));
|
|
48
50
|
exports.twilio = __importStar(require("./twilio"));
|
|
@@ -61,5 +63,4 @@ exports.batchCalls = __importStar(require("./batchCalls"));
|
|
|
61
63
|
__exportStar(require("./batchCalls/client/requests"), exports);
|
|
62
64
|
exports.sipTrunk = __importStar(require("./sipTrunk"));
|
|
63
65
|
__exportStar(require("./sipTrunk/client/requests"), exports);
|
|
64
|
-
exports.mcpServers = __importStar(require("./mcpServers"));
|
|
65
66
|
__exportStar(require("./mcpServers/client/requests"), exports);
|
|
@@ -2,11 +2,15 @@ import * as serializers from "../../../../../../index";
|
|
|
2
2
|
import * as ElevenLabs from "../../../../../../../api/index";
|
|
3
3
|
import * as core from "../../../../../../../core";
|
|
4
4
|
import { McpApprovalPolicy } from "../../../../../../types/McpApprovalPolicy";
|
|
5
|
+
import { ToolExecutionMode } from "../../../../../../types/ToolExecutionMode";
|
|
6
|
+
import { McpServerConfigUpdateRequestModelRequestHeadersValue } from "../../types/McpServerConfigUpdateRequestModelRequestHeadersValue";
|
|
5
7
|
export declare const McpServerConfigUpdateRequestModel: core.serialization.Schema<serializers.conversationalAi.McpServerConfigUpdateRequestModel.Raw, ElevenLabs.conversationalAi.McpServerConfigUpdateRequestModel>;
|
|
6
8
|
export declare namespace McpServerConfigUpdateRequestModel {
|
|
7
9
|
interface Raw {
|
|
8
10
|
approval_policy?: McpApprovalPolicy.Raw | null;
|
|
9
11
|
force_pre_tool_speech?: boolean | null;
|
|
10
12
|
disable_interruptions?: boolean | null;
|
|
13
|
+
execution_mode?: ToolExecutionMode.Raw | null;
|
|
14
|
+
request_headers?: Record<string, McpServerConfigUpdateRequestModelRequestHeadersValue.Raw | null | undefined> | null;
|
|
11
15
|
}
|
|
12
16
|
}
|
|
@@ -37,8 +37,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.McpServerConfigUpdateRequestModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../../core"));
|
|
39
39
|
const McpApprovalPolicy_1 = require("../../../../../../types/McpApprovalPolicy");
|
|
40
|
+
const ToolExecutionMode_1 = require("../../../../../../types/ToolExecutionMode");
|
|
41
|
+
const McpServerConfigUpdateRequestModelRequestHeadersValue_1 = require("../../types/McpServerConfigUpdateRequestModelRequestHeadersValue");
|
|
40
42
|
exports.McpServerConfigUpdateRequestModel = core.serialization.object({
|
|
41
43
|
approvalPolicy: core.serialization.property("approval_policy", McpApprovalPolicy_1.McpApprovalPolicy.optional()),
|
|
42
44
|
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
|
|
43
45
|
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
|
|
46
|
+
executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
|
|
47
|
+
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
48
|
+
.record(core.serialization.string(), McpServerConfigUpdateRequestModelRequestHeadersValue_1.McpServerConfigUpdateRequestModelRequestHeadersValue.optional())
|
|
49
|
+
.optional()),
|
|
44
50
|
});
|
|
@@ -14,5 +14,6 @@ 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("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
18
19
|
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as serializers from "../../../../../index";
|
|
2
|
+
import * as ElevenLabs from "../../../../../../api/index";
|
|
3
|
+
import * as core from "../../../../../../core";
|
|
4
|
+
import { ConvAiSecretLocator } from "../../../../../types/ConvAiSecretLocator";
|
|
5
|
+
import { ConvAiDynamicVariable } from "../../../../../types/ConvAiDynamicVariable";
|
|
6
|
+
export declare const McpServerConfigUpdateRequestModelRequestHeadersValue: core.serialization.Schema<serializers.conversationalAi.McpServerConfigUpdateRequestModelRequestHeadersValue.Raw, ElevenLabs.conversationalAi.McpServerConfigUpdateRequestModelRequestHeadersValue>;
|
|
7
|
+
export declare namespace McpServerConfigUpdateRequestModelRequestHeadersValue {
|
|
8
|
+
type Raw = string | ConvAiSecretLocator.Raw | ConvAiDynamicVariable.Raw;
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.McpServerConfigUpdateRequestModelRequestHeadersValue = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ConvAiSecretLocator_1 = require("../../../../../types/ConvAiSecretLocator");
|
|
40
|
+
const ConvAiDynamicVariable_1 = require("../../../../../types/ConvAiDynamicVariable");
|
|
41
|
+
exports.McpServerConfigUpdateRequestModelRequestHeadersValue = core.serialization.undiscriminatedUnion([core.serialization.string(), ConvAiSecretLocator_1.ConvAiSecretLocator, ConvAiDynamicVariable_1.ConvAiDynamicVariable]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./McpServerConfigUpdateRequestModelRequestHeadersValue";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./McpServerConfigUpdateRequestModelRequestHeadersValue"), exports);
|
|
@@ -6,11 +6,9 @@ export declare const BodyComposeMusicV1MusicPost: core.serialization.Schema<seri
|
|
|
6
6
|
export declare namespace BodyComposeMusicV1MusicPost {
|
|
7
7
|
interface Raw {
|
|
8
8
|
prompt?: string | null;
|
|
9
|
-
music_prompt?: MusicPrompt.Raw | null;
|
|
10
9
|
composition_plan?: MusicPrompt.Raw | null;
|
|
11
10
|
music_length_ms?: number | null;
|
|
12
11
|
model_id?: "music_v1" | null;
|
|
13
|
-
seed?: number | null;
|
|
14
12
|
force_instrumental?: boolean | null;
|
|
15
13
|
respect_sections_durations?: boolean | null;
|
|
16
14
|
store_for_inpainting?: boolean | null;
|
|
@@ -39,11 +39,9 @@ const core = __importStar(require("../../../../../core"));
|
|
|
39
39
|
const MusicPrompt_1 = require("../../../../types/MusicPrompt");
|
|
40
40
|
exports.BodyComposeMusicV1MusicPost = core.serialization.object({
|
|
41
41
|
prompt: core.serialization.string().optional(),
|
|
42
|
-
musicPrompt: core.serialization.property("music_prompt", MusicPrompt_1.MusicPrompt.optional()),
|
|
43
42
|
compositionPlan: core.serialization.property("composition_plan", MusicPrompt_1.MusicPrompt.optional()),
|
|
44
43
|
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
|
|
45
44
|
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
|
|
46
|
-
seed: core.serialization.number().optional(),
|
|
47
45
|
forceInstrumental: core.serialization.property("force_instrumental", core.serialization.boolean().optional()),
|
|
48
46
|
respectSectionsDurations: core.serialization.property("respect_sections_durations", core.serialization.boolean().optional()),
|
|
49
47
|
storeForInpainting: core.serialization.property("store_for_inpainting", core.serialization.boolean().optional()),
|
|
@@ -6,11 +6,9 @@ export declare const BodyComposeMusicWithADetailedResponseV1MusicDetailedPost: c
|
|
|
6
6
|
export declare namespace BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
7
7
|
interface Raw {
|
|
8
8
|
prompt?: string | null;
|
|
9
|
-
music_prompt?: MusicPrompt.Raw | null;
|
|
10
9
|
composition_plan?: MusicPrompt.Raw | null;
|
|
11
10
|
music_length_ms?: number | null;
|
|
12
11
|
model_id?: "music_v1" | null;
|
|
13
|
-
seed?: number | null;
|
|
14
12
|
force_instrumental?: boolean | null;
|
|
15
13
|
store_for_inpainting?: boolean | null;
|
|
16
14
|
}
|
|
@@ -39,11 +39,9 @@ const core = __importStar(require("../../../../../core"));
|
|
|
39
39
|
const MusicPrompt_1 = require("../../../../types/MusicPrompt");
|
|
40
40
|
exports.BodyComposeMusicWithADetailedResponseV1MusicDetailedPost = core.serialization.object({
|
|
41
41
|
prompt: core.serialization.string().optional(),
|
|
42
|
-
musicPrompt: core.serialization.property("music_prompt", MusicPrompt_1.MusicPrompt.optional()),
|
|
43
42
|
compositionPlan: core.serialization.property("composition_plan", MusicPrompt_1.MusicPrompt.optional()),
|
|
44
43
|
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
|
|
45
44
|
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
|
|
46
|
-
seed: core.serialization.number().optional(),
|
|
47
45
|
forceInstrumental: core.serialization.property("force_instrumental", core.serialization.boolean().optional()),
|
|
48
46
|
storeForInpainting: core.serialization.property("store_for_inpainting", core.serialization.boolean().optional()),
|
|
49
47
|
});
|
|
@@ -6,11 +6,9 @@ export declare const BodyStreamComposedMusicV1MusicStreamPost: core.serializatio
|
|
|
6
6
|
export declare namespace BodyStreamComposedMusicV1MusicStreamPost {
|
|
7
7
|
interface Raw {
|
|
8
8
|
prompt?: string | null;
|
|
9
|
-
music_prompt?: MusicPrompt.Raw | null;
|
|
10
9
|
composition_plan?: MusicPrompt.Raw | null;
|
|
11
10
|
music_length_ms?: number | null;
|
|
12
11
|
model_id?: "music_v1" | null;
|
|
13
|
-
seed?: number | null;
|
|
14
12
|
force_instrumental?: boolean | null;
|
|
15
13
|
store_for_inpainting?: boolean | null;
|
|
16
14
|
}
|
|
@@ -39,11 +39,9 @@ const core = __importStar(require("../../../../../core"));
|
|
|
39
39
|
const MusicPrompt_1 = require("../../../../types/MusicPrompt");
|
|
40
40
|
exports.BodyStreamComposedMusicV1MusicStreamPost = core.serialization.object({
|
|
41
41
|
prompt: core.serialization.string().optional(),
|
|
42
|
-
musicPrompt: core.serialization.property("music_prompt", MusicPrompt_1.MusicPrompt.optional()),
|
|
43
42
|
compositionPlan: core.serialization.property("composition_plan", MusicPrompt_1.MusicPrompt.optional()),
|
|
44
43
|
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
|
|
45
44
|
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
|
|
46
|
-
seed: core.serialization.number().optional(),
|
|
47
45
|
forceInstrumental: core.serialization.property("force_instrumental", core.serialization.boolean().optional()),
|
|
48
46
|
storeForInpainting: core.serialization.property("store_for_inpainting", core.serialization.boolean().optional()),
|
|
49
47
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as serializers from "../../../../index";
|
|
2
|
+
import * as ElevenLabs from "../../../../../api/index";
|
|
3
|
+
import * as core from "../../../../../core";
|
|
4
|
+
import { DialogueInput } from "../../../../types/DialogueInput";
|
|
5
|
+
import { ModelSettingsResponseModel } from "../../../../types/ModelSettingsResponseModel";
|
|
6
|
+
import { PronunciationDictionaryVersionLocator } from "../../../../types/PronunciationDictionaryVersionLocator";
|
|
7
|
+
import { BodyTextToDialogueFullWithTimestampsApplyTextNormalization } from "../../types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
|
|
8
|
+
export declare const BodyTextToDialogueFullWithTimestamps: core.serialization.Schema<serializers.BodyTextToDialogueFullWithTimestamps.Raw, Omit<ElevenLabs.BodyTextToDialogueFullWithTimestamps, "outputFormat">>;
|
|
9
|
+
export declare namespace BodyTextToDialogueFullWithTimestamps {
|
|
10
|
+
interface Raw {
|
|
11
|
+
inputs: DialogueInput.Raw[];
|
|
12
|
+
model_id?: string | null;
|
|
13
|
+
language_code?: string | null;
|
|
14
|
+
settings?: ModelSettingsResponseModel.Raw | null;
|
|
15
|
+
pronunciation_dictionary_locators?: PronunciationDictionaryVersionLocator.Raw[] | null;
|
|
16
|
+
seed?: number | null;
|
|
17
|
+
apply_text_normalization?: BodyTextToDialogueFullWithTimestampsApplyTextNormalization.Raw | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.BodyTextToDialogueFullWithTimestamps = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core"));
|
|
39
|
+
const DialogueInput_1 = require("../../../../types/DialogueInput");
|
|
40
|
+
const ModelSettingsResponseModel_1 = require("../../../../types/ModelSettingsResponseModel");
|
|
41
|
+
const PronunciationDictionaryVersionLocator_1 = require("../../../../types/PronunciationDictionaryVersionLocator");
|
|
42
|
+
const BodyTextToDialogueFullWithTimestampsApplyTextNormalization_1 = require("../../types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization");
|
|
43
|
+
exports.BodyTextToDialogueFullWithTimestamps = core.serialization.object({
|
|
44
|
+
inputs: core.serialization.list(DialogueInput_1.DialogueInput),
|
|
45
|
+
modelId: core.serialization.property("model_id", core.serialization.string().optional()),
|
|
46
|
+
languageCode: core.serialization.property("language_code", core.serialization.string().optional()),
|
|
47
|
+
settings: ModelSettingsResponseModel_1.ModelSettingsResponseModel.optional(),
|
|
48
|
+
pronunciationDictionaryLocators: core.serialization.property("pronunciation_dictionary_locators", core.serialization.list(PronunciationDictionaryVersionLocator_1.PronunciationDictionaryVersionLocator).optional()),
|
|
49
|
+
seed: core.serialization.number().optional(),
|
|
50
|
+
applyTextNormalization: core.serialization.property("apply_text_normalization", BodyTextToDialogueFullWithTimestampsApplyTextNormalization_1.BodyTextToDialogueFullWithTimestampsApplyTextNormalization.optional()),
|
|
51
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as serializers from "../../../../index";
|
|
2
|
+
import * as ElevenLabs from "../../../../../api/index";
|
|
3
|
+
import * as core from "../../../../../core";
|
|
4
|
+
import { DialogueInput } from "../../../../types/DialogueInput";
|
|
5
|
+
import { ModelSettingsResponseModel } from "../../../../types/ModelSettingsResponseModel";
|
|
6
|
+
import { PronunciationDictionaryVersionLocator } from "../../../../types/PronunciationDictionaryVersionLocator";
|
|
7
|
+
import { BodyTextToDialogueStreamWithTimestampsApplyTextNormalization } from "../../types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
|
|
8
|
+
export declare const BodyTextToDialogueStreamWithTimestamps: core.serialization.Schema<serializers.BodyTextToDialogueStreamWithTimestamps.Raw, Omit<ElevenLabs.BodyTextToDialogueStreamWithTimestamps, "outputFormat">>;
|
|
9
|
+
export declare namespace BodyTextToDialogueStreamWithTimestamps {
|
|
10
|
+
interface Raw {
|
|
11
|
+
inputs: DialogueInput.Raw[];
|
|
12
|
+
model_id?: string | null;
|
|
13
|
+
language_code?: string | null;
|
|
14
|
+
settings?: ModelSettingsResponseModel.Raw | null;
|
|
15
|
+
pronunciation_dictionary_locators?: PronunciationDictionaryVersionLocator.Raw[] | null;
|
|
16
|
+
seed?: number | null;
|
|
17
|
+
apply_text_normalization?: BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.Raw | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.BodyTextToDialogueStreamWithTimestamps = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core"));
|
|
39
|
+
const DialogueInput_1 = require("../../../../types/DialogueInput");
|
|
40
|
+
const ModelSettingsResponseModel_1 = require("../../../../types/ModelSettingsResponseModel");
|
|
41
|
+
const PronunciationDictionaryVersionLocator_1 = require("../../../../types/PronunciationDictionaryVersionLocator");
|
|
42
|
+
const BodyTextToDialogueStreamWithTimestampsApplyTextNormalization_1 = require("../../types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization");
|
|
43
|
+
exports.BodyTextToDialogueStreamWithTimestamps = core.serialization.object({
|
|
44
|
+
inputs: core.serialization.list(DialogueInput_1.DialogueInput),
|
|
45
|
+
modelId: core.serialization.property("model_id", core.serialization.string().optional()),
|
|
46
|
+
languageCode: core.serialization.property("language_code", core.serialization.string().optional()),
|
|
47
|
+
settings: ModelSettingsResponseModel_1.ModelSettingsResponseModel.optional(),
|
|
48
|
+
pronunciationDictionaryLocators: core.serialization.property("pronunciation_dictionary_locators", core.serialization.list(PronunciationDictionaryVersionLocator_1.PronunciationDictionaryVersionLocator).optional()),
|
|
49
|
+
seed: core.serialization.number().optional(),
|
|
50
|
+
applyTextNormalization: core.serialization.property("apply_text_normalization", BodyTextToDialogueStreamWithTimestampsApplyTextNormalization_1.BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.optional()),
|
|
51
|
+
});
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { BodyTextToDialogueMultiVoiceV1TextToDialoguePost } from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePost";
|
|
2
2
|
export { BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost } from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost";
|
|
3
|
+
export { BodyTextToDialogueStreamWithTimestamps } from "./BodyTextToDialogueStreamWithTimestamps";
|
|
4
|
+
export { BodyTextToDialogueFullWithTimestamps } from "./BodyTextToDialogueFullWithTimestamps";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost = exports.BodyTextToDialogueMultiVoiceV1TextToDialoguePost = void 0;
|
|
3
|
+
exports.BodyTextToDialogueFullWithTimestamps = exports.BodyTextToDialogueStreamWithTimestamps = exports.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost = exports.BodyTextToDialogueMultiVoiceV1TextToDialoguePost = void 0;
|
|
4
4
|
var BodyTextToDialogueMultiVoiceV1TextToDialoguePost_1 = require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePost");
|
|
5
5
|
Object.defineProperty(exports, "BodyTextToDialogueMultiVoiceV1TextToDialoguePost", { enumerable: true, get: function () { return BodyTextToDialogueMultiVoiceV1TextToDialoguePost_1.BodyTextToDialogueMultiVoiceV1TextToDialoguePost; } });
|
|
6
6
|
var BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost_1 = require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost");
|
|
7
7
|
Object.defineProperty(exports, "BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost", { enumerable: true, get: function () { return BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost_1.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost; } });
|
|
8
|
+
var BodyTextToDialogueStreamWithTimestamps_1 = require("./BodyTextToDialogueStreamWithTimestamps");
|
|
9
|
+
Object.defineProperty(exports, "BodyTextToDialogueStreamWithTimestamps", { enumerable: true, get: function () { return BodyTextToDialogueStreamWithTimestamps_1.BodyTextToDialogueStreamWithTimestamps; } });
|
|
10
|
+
var BodyTextToDialogueFullWithTimestamps_1 = require("./BodyTextToDialogueFullWithTimestamps");
|
|
11
|
+
Object.defineProperty(exports, "BodyTextToDialogueFullWithTimestamps", { enumerable: true, get: function () { return BodyTextToDialogueFullWithTimestamps_1.BodyTextToDialogueFullWithTimestamps; } });
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as serializers from "../../../index";
|
|
2
|
+
import * as ElevenLabs from "../../../../api/index";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
export declare const BodyTextToDialogueFullWithTimestampsApplyTextNormalization: core.serialization.Schema<serializers.BodyTextToDialogueFullWithTimestampsApplyTextNormalization.Raw, ElevenLabs.BodyTextToDialogueFullWithTimestampsApplyTextNormalization>;
|
|
5
|
+
export declare namespace BodyTextToDialogueFullWithTimestampsApplyTextNormalization {
|
|
6
|
+
type Raw = "auto" | "on" | "off";
|
|
7
|
+
}
|