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

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


class OtherAccountsCreateTypedDict(TypedDict):
    r"""A customer-disclosed list of other Apex-held accounts owned by the Entity applicant at the time of this account's application; expressed as zero, one, or many account numbers"""

    owner_has_other_accounts_at_apex: bool
    r"""The owner has other accounts at Apex"""
    account_names: NotRequired[List[str]]
    r"""Other account names held at Apex"""
    account_numbers: NotRequired[List[str]]
    r"""Other account numbers held at Apex"""


class OtherAccountsCreate(BaseModel):
    r"""A customer-disclosed list of other Apex-held accounts owned by the Entity applicant at the time of this account's application; expressed as zero, one, or many account numbers"""

    owner_has_other_accounts_at_apex: bool
    r"""The owner has other accounts at Apex"""

    account_names: Optional[List[str]] = None
    r"""Other account names held at Apex"""

    account_numbers: Optional[List[str]] = None
    r"""Other account numbers held at Apex"""
