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

import typing_extensions
from .agent_v1update_speak_speak_one_item_endpoint import AgentV1UpdateSpeakSpeakOneItemEndpointParams
from .agent_v1update_speak_speak_one_item_provider import AgentV1UpdateSpeakSpeakOneItemProviderParams


class AgentV1UpdateSpeakSpeakOneItemParams(typing_extensions.TypedDict):
    provider: AgentV1UpdateSpeakSpeakOneItemProviderParams
    endpoint: typing_extensions.NotRequired[AgentV1UpdateSpeakSpeakOneItemEndpointParams]
    """
    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.
    """
