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

from __future__ import annotations
from .additionupdate import AdditionUpdate, AdditionUpdateTypedDict
from dg_mol_track_client.types import BaseModel
from dg_mol_track_client.utils import FieldMetadata, PathParamMetadata, RequestMetadata
from typing_extensions import Annotated, TypedDict


class UpdateAdditionV1V1AdditionsAdditionIDPutRequestTypedDict(TypedDict):
    addition_id: int
    addition_update: AdditionUpdateTypedDict


class UpdateAdditionV1V1AdditionsAdditionIDPutRequest(BaseModel):
    addition_id: Annotated[
        int, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]

    addition_update: Annotated[
        AdditionUpdate,
        FieldMetadata(request=RequestMetadata(media_type="application/json")),
    ]
