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

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


class CancelWireWithdrawalScheduleRequestCreateTypedDict(TypedDict):
    r"""Request to cancel a Wire withdrawal transfer schedule"""

    name: str
    r"""The name of the Wire withdrawal transfer schedule to cancel"""
    comment: NotRequired[str]
    r"""A comment as to why the Wire withdrawal schedule is being canceled"""


class CancelWireWithdrawalScheduleRequestCreate(BaseModel):
    r"""Request to cancel a Wire withdrawal transfer schedule"""

    name: str
    r"""The name of the Wire withdrawal transfer schedule to cancel"""

    comment: Optional[str] = None
    r"""A comment as to why the Wire withdrawal schedule is being canceled"""
