"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""

from __future__ import annotations
from dub.types import BaseModel
from dub.utils import FieldMetadata, PathParamMetadata, QueryParamMetadata
import pydantic
from typing import Optional, TypedDict
from typing_extensions import Annotated, NotRequired


class DeleteDomainGlobalsTypedDict(TypedDict):
    workspace_id: NotRequired[str]
    

class DeleteDomainGlobals(BaseModel):
    workspace_id: Annotated[Optional[str], pydantic.Field(deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.", alias="workspaceId"), FieldMetadata(query=QueryParamMetadata(style="form", explode=True))] = None
    

class DeleteDomainRequestTypedDict(TypedDict):
    slug: str
    r"""The domain name."""
    

class DeleteDomainRequest(BaseModel):
    slug: Annotated[str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))]
    r"""The domain name."""
    

class DeleteDomainResponseBodyTypedDict(TypedDict):
    r"""The domain was deleted."""
    
    slug: str
    r"""The domain name."""
    

class DeleteDomainResponseBody(BaseModel):
    r"""The domain was deleted."""
    
    slug: str
    r"""The domain name."""
    
