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

from __future__ import annotations
from kombo.types import BaseModel
from kombo.utils import validate_const
import pydantic
from pydantic.functional_validators import AfterValidator
from typing import List, Literal
from typing_extensions import Annotated, TypedDict


class PostAtsCandidatesCandidateIDResultLinksPositiveResponseDataTypedDict(TypedDict):
    pass


class PostAtsCandidatesCandidateIDResultLinksPositiveResponseData(BaseModel):
    pass


class PostAtsCandidatesCandidateIDResultLinksPositiveResponseWarningTypedDict(
    TypedDict
):
    message: str


class PostAtsCandidatesCandidateIDResultLinksPositiveResponseWarning(BaseModel):
    message: str


class PostAtsCandidatesCandidateIDResultLinksPositiveResponseTypedDict(TypedDict):
    data: PostAtsCandidatesCandidateIDResultLinksPositiveResponseDataTypedDict
    warnings: List[
        PostAtsCandidatesCandidateIDResultLinksPositiveResponseWarningTypedDict
    ]
    r"""These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console."""
    status: Literal["success"]


class PostAtsCandidatesCandidateIDResultLinksPositiveResponse(BaseModel):
    data: PostAtsCandidatesCandidateIDResultLinksPositiveResponseData

    warnings: List[PostAtsCandidatesCandidateIDResultLinksPositiveResponseWarning]
    r"""These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console."""

    STATUS: Annotated[
        Annotated[Literal["success"], AfterValidator(validate_const("success"))],
        pydantic.Field(alias="status"),
    ] = "success"


try:
    PostAtsCandidatesCandidateIDResultLinksPositiveResponse.model_rebuild()
except NameError:
    pass
