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

from __future__ import annotations
from tofupilot.v2.types import BaseModel
from tofupilot.v2.utils import FieldMetadata, PathParamMetadata
from typing_extensions import Annotated, TypedDict


class ProcedureDeleteVersionRequestTypedDict(TypedDict):
    procedure_id: str
    r"""ID of the procedure that owns this version"""
    tag: str
    r"""Version tag to delete"""


class ProcedureDeleteVersionRequest(BaseModel):
    procedure_id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""ID of the procedure that owns this version"""

    tag: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""Version tag to delete"""


class ProcedureDeleteVersionResponseTypedDict(TypedDict):
    r"""Procedure version deleted successfully"""

    id: str
    r"""ID of the deleted procedure version"""


class ProcedureDeleteVersionResponse(BaseModel):
    r"""Procedure version deleted successfully"""

    id: str
    r"""ID of the deleted procedure version"""
