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

import typing_extensions
from ..core.serialization import FieldMetadata
from ..types.merge_extract_step_definition_config_merge_order import MergeExtractStepDefinitionConfigMergeOrder


class MergeExtractStepDefinitionConfigParams(typing_extensions.TypedDict):
    merge_order: typing_extensions.NotRequired[
        typing_extensions.Annotated[MergeExtractStepDefinitionConfigMergeOrder, FieldMetadata(alias="mergeOrder")]
    ]
    """
    How to order fields when merging. Defaults to confidence.
    
    See the [Merge Extract step docs](https://docs.extend.ai/2026-02-09/product/workflows/configuring-workflows-via-api#merge-extract-step).
    """
