# This file was auto-generated by Fern from our API Definition.

import typing_extensions
from .agent_v1settings_agent_speak_endpoint_endpoint import AgentV1SettingsAgentSpeakEndpointEndpointParams
from .agent_v1settings_agent_speak_endpoint_provider import AgentV1SettingsAgentSpeakEndpointProviderParams


class AgentV1SettingsAgentSpeakEndpointParams(typing_extensions.TypedDict):
    provider: AgentV1SettingsAgentSpeakEndpointProviderParams
    endpoint: typing_extensions.NotRequired[AgentV1SettingsAgentSpeakEndpointEndpointParams]
    """
    Optional if provider is Deepgram. Required for non-Deepgram TTS providers.
    When present, must include url field and headers object. Valid schemes are https and wss with wss only supported for Eleven Labs.
    """
