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

from __future__ import annotations
from .compoundupdate import CompoundUpdate, CompoundUpdateTypedDict
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 UpdateCompoundByIDV1CompoundsCorporateCompoundIDPutRequestTypedDict(TypedDict):
    corporate_compound_id: str
    compound_update: CompoundUpdateTypedDict


class UpdateCompoundByIDV1CompoundsCorporateCompoundIDPutRequest(BaseModel):
    corporate_compound_id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]

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