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

from __future__ import annotations
from .depositscheduledetailsupdate import (
    DepositScheduleDetailsUpdate,
    DepositScheduleDetailsUpdateTypedDict,
)
from ascend_sdk.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class AchDepositScheduleUpdateTypedDict(TypedDict):
    r"""A deposit transfer schedule using the ACH mechanism"""

    schedule_details: NotRequired[DepositScheduleDetailsUpdateTypedDict]
    r"""Details of deposit schedule transfers"""


class AchDepositScheduleUpdate(BaseModel):
    r"""A deposit transfer schedule using the ACH mechanism"""

    schedule_details: Optional[DepositScheduleDetailsUpdate] = None
    r"""Details of deposit schedule transfers"""
