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

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


class ListAchDepositSchedulesResponseTypedDict(TypedDict):
    r"""A paged response containing a list of ACH deposit transfer schedules"""

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


class ListAchDepositSchedulesResponse(BaseModel):
    r"""A paged response containing a list of ACH deposit transfer schedules"""

    ach_deposit_schedules: Optional[List[AchDepositSchedule]] = None
    r"""The list of transfer schedules"""

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