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

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


class TaxIDUpdateEinTypedDict(TypedDict):
    number: NotRequired[str]


class TaxIDUpdateEin(BaseModel):
    number: Optional[str] = None


class TaxIDUpdateTypedDict(TypedDict):
    r"""An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN."""

    ein: NotRequired[TaxIDUpdateEinTypedDict]


class TaxIDUpdate(BaseModel):
    r"""An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN."""

    ein: Optional[TaxIDUpdateEin] = None
