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

from __future__ import annotations
from .externalaccountcreate import ExternalAccountCreate, ExternalAccountCreateTypedDict
from ascend_sdk.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class TransferAccountCreateTypedDict(TypedDict):
    r"""The delivering/receiving party information"""

    apex_account_id: NotRequired[str]
    r"""The internal apex account id"""
    external_account: NotRequired[ExternalAccountCreateTypedDict]
    r"""The external account information"""


class TransferAccountCreate(BaseModel):
    r"""The delivering/receiving party information"""

    apex_account_id: Optional[str] = None
    r"""The internal apex account id"""

    external_account: Optional[ExternalAccountCreate] = None
    r"""The external account information"""
