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

from __future__ import annotations
from .transferstatus import TransferStatus
from moovio_sdk.types import BaseModel
import pydantic
from typing_extensions import Annotated, TypedDict


class WebhookDataTransferCreatedTypedDict(TypedDict):
    account_id: str
    r"""The accountID which facilitated the transfer."""
    transfer_id: str
    status: TransferStatus
    r"""Status of a transfer."""


class WebhookDataTransferCreated(BaseModel):
    account_id: Annotated[str, pydantic.Field(alias="accountID")]
    r"""The accountID which facilitated the transfer."""

    transfer_id: Annotated[str, pydantic.Field(alias="transferID")]

    status: TransferStatus
    r"""Status of a transfer."""
