"""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 CancelIctDepositRequestCreateTypedDict(TypedDict):
    r"""Request to cancel an existing ICT deposit"""

    name: str
    r"""Full name of the ICT deposit resource, which contains account id and ICT deposit id"""
    reason: NotRequired[str]
    r"""Reason why the ICT deposit is being canceled"""


class CancelIctDepositRequestCreate(BaseModel):
    r"""Request to cancel an existing ICT deposit"""

    name: str
    r"""Full name of the ICT deposit resource, which contains account id and ICT deposit id"""

    reason: Optional[str] = None
    r"""Reason why the ICT deposit is being canceled"""
