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

from __future__ import annotations
from moovio_sdk.types import BaseModel
import pydantic
from typing import Optional
from typing_extensions import Annotated, NotRequired, TypedDict


class AddressTypedDict(TypedDict):
    address_line1: str
    city: str
    state_or_province: str
    postal_code: str
    country: str
    address_line2: NotRequired[str]


class Address(BaseModel):
    address_line1: Annotated[str, pydantic.Field(alias="addressLine1")]

    city: str

    state_or_province: Annotated[str, pydantic.Field(alias="stateOrProvince")]

    postal_code: Annotated[str, pydantic.Field(alias="postalCode")]

    country: str

    address_line2: Annotated[Optional[str], pydantic.Field(alias="addressLine2")] = None
