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

from __future__ import annotations
from .errorresponse import ErrorResponse, ErrorResponseTypedDict
from postivo_client.types import BaseModel
from postivo_client.utils import FieldMetadata, PathParamMetadata
from typing import Dict, List
from typing_extensions import Annotated, TypedDict


class DeleteContactRequestTypedDict(TypedDict):
    id: int
    r"""Global contact `id` to remove."""


class DeleteContactRequest(BaseModel):
    id: Annotated[
        int, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""Global contact `id` to remove."""


class DeleteContactResponseTypedDict(TypedDict):
    headers: Dict[str, List[str]]
    result: ErrorResponseTypedDict


class DeleteContactResponse(BaseModel):
    headers: Dict[str, List[str]]

    result: ErrorResponse
