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

from __future__ import annotations
from flexprice_py.models.components import (
    dto_topupwalletrequest as components_dto_topupwalletrequest,
)
from flexprice_py.types import BaseModel
from flexprice_py.utils import FieldMetadata, PathParamMetadata, RequestMetadata
from typing_extensions import Annotated, TypedDict


class TopUpWalletRequestTypedDict(TypedDict):
    id: str
    r"""Wallet ID"""
    body: components_dto_topupwalletrequest.DtoTopUpWalletRequestTypedDict
    r"""Top up request"""


class TopUpWalletRequest(BaseModel):
    id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""Wallet ID"""

    body: Annotated[
        components_dto_topupwalletrequest.DtoTopUpWalletRequest,
        FieldMetadata(request=RequestMetadata(media_type="application/json")),
    ]
    r"""Top up request"""
