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

import typing

import typing_extensions
from ..core.serialization import FieldMetadata
from ..types.external_data_validation_step_definition_config_request_options_content_type import (
    ExternalDataValidationStepDefinitionConfigRequestOptionsContentType,
)
from ..types.external_data_validation_step_definition_config_request_options_method import (
    ExternalDataValidationStepDefinitionConfigRequestOptionsMethod,
)


class ExternalDataValidationStepDefinitionConfigRequestOptionsParams(typing_extensions.TypedDict):
    """
    HTTP request configuration for the external validation call.

    See the [External Data Validation step docs](https://docs.extend.ai/2026-02-09/product/workflows/configuring-workflows-via-api#external-data-validation-step).
    """

    url: str
    """
    The URL to send the validation request to.
    """

    method: ExternalDataValidationStepDefinitionConfigRequestOptionsMethod
    headers: typing_extensions.NotRequired[typing.Dict[str, str]]
    """
    Optional HTTP headers to include on the external validation request.
    
    See the [External Data Validation step docs](https://docs.extend.ai/2026-02-09/product/workflows/configuring-workflows-via-api#external-data-validation-step).
    """

    content_type: typing_extensions.NotRequired[
        typing_extensions.Annotated[
            ExternalDataValidationStepDefinitionConfigRequestOptionsContentType, FieldMetadata(alias="contentType")
        ]
    ]
    """
    Content type of the request body sent to the external endpoint.
    
    See the [External Data Validation step docs](https://docs.extend.ai/2026-02-09/product/workflows/configuring-workflows-via-api#external-data-validation-step).
    """
