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

from __future__ import annotations
from .addresscreate import AddressCreate, AddressCreateTypedDict
from ascend_sdk.types import BaseModel
from typing_extensions import TypedDict


class WireWithdrawalIntermediaryCreateTypedDict(TypedDict):
    r"""An intermediary party"""

    account: str
    r"""The account number of the intermediary party"""
    account_title: str
    r"""The name of the intermediary party"""
    address: AddressCreateTypedDict
    r"""The data structure containing attributes describing the location of an underlying entity."""


class WireWithdrawalIntermediaryCreate(BaseModel):
    r"""An intermediary party"""

    account: str
    r"""The account number of the intermediary party"""

    account_title: str
    r"""The name of the intermediary party"""

    address: AddressCreate
    r"""The data structure containing attributes describing the location of an underlying entity."""
