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

import typing

import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_config_client_override_config_output import ConversationConfigClientOverrideConfigOutput


class ConversationInitiationClientDataConfigOutput(UncheckedBaseModel):
    conversation_config_override: typing.Optional[ConversationConfigClientOverrideConfigOutput] = pydantic.Field(
        default=None
    )
    """
    Overrides for the conversation configuration
    """

    custom_llm_extra_body: typing.Optional[bool] = pydantic.Field(default=None)
    """
    Whether to include custom LLM extra body
    """

    enable_conversation_initiation_client_data_from_webhook: typing.Optional[bool] = pydantic.Field(default=None)
    """
    Whether to enable conversation initiation client data from webhooks
    """

    enable_starting_workflow_node_id_from_client: typing.Optional[bool] = pydantic.Field(default=None)
    """
    Whether clients may pass starting_workflow_node_id in initiation client data; if false, sending it fails conversation start.
    """

    if IS_PYDANTIC_V2:
        model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)  # type: ignore # Pydantic v2
    else:

        class Config:
            frozen = True
            smart_union = True
            extra = pydantic.Extra.allow
