"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from mixpeek.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class EnrichmentFieldTypedDict(TypedDict):
    r"""Configuration for how a field should be enriched"""

    field_name: str
    r"""Name of the field to enrich"""
    append: NotRequired[bool]
    r"""Whether to append to existing values or replace them"""


class EnrichmentField(BaseModel):
    r"""Configuration for how a field should be enriched"""

    field_name: str
    r"""Name of the field to enrich"""

    append: Optional[bool] = False
    r"""Whether to append to existing values or replace them"""
