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

from __future__ import annotations
from .wirewithdrawalschedule import (
    WireWithdrawalSchedule,
    WireWithdrawalScheduleTypedDict,
)
from ascend_sdk.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class ListWireWithdrawalSchedulesResponseTypedDict(TypedDict):
    r"""A paged response containing a list of Wire withdrawal transfer schedules"""

    next_page_token: NotRequired[str]
    r"""The next page token"""
    wire_withdrawal_schedules: NotRequired[List[WireWithdrawalScheduleTypedDict]]
    r"""The list of transfer schedules"""


class ListWireWithdrawalSchedulesResponse(BaseModel):
    r"""A paged response containing a list of Wire withdrawal transfer schedules"""

    next_page_token: Optional[str] = None
    r"""The next page token"""

    wire_withdrawal_schedules: Optional[List[WireWithdrawalSchedule]] = None
    r"""The list of transfer schedules"""
