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

from __future__ import annotations
from apideck_unify.types import BaseModel
from typing import List, Optional, Union
from typing_extensions import NotRequired, TypeAliasType, TypedDict


FiveTypedDict = TypeAliasType("FiveTypedDict", Union[str, int, float])


Five = TypeAliasType("Five", Union[str, int, float])


SimpleFormFieldOptionValueTypedDict = TypeAliasType(
    "SimpleFormFieldOptionValueTypedDict",
    Union[str, int, float, bool, List[FiveTypedDict]],
)


SimpleFormFieldOptionValue = TypeAliasType(
    "SimpleFormFieldOptionValue", Union[str, int, float, bool, List[Five]]
)


class SimpleFormFieldOptionTypedDict(TypedDict):
    label: NotRequired[str]
    value: NotRequired[SimpleFormFieldOptionValueTypedDict]


class SimpleFormFieldOption(BaseModel):
    label: Optional[str] = None

    value: Optional[SimpleFormFieldOptionValue] = None
