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

from __future__ import annotations
from .putassessmentordersassessmentorderidresultrequestbody import (
    PutAssessmentOrdersAssessmentOrderIDResultRequestBody,
    PutAssessmentOrdersAssessmentOrderIDResultRequestBodyTypedDict,
)
from kombo.types import BaseModel
from kombo.utils import (
    FieldMetadata,
    HeaderMetadata,
    PathParamMetadata,
    RequestMetadata,
)
import pydantic
from typing import Optional
from typing_extensions import Annotated, NotRequired, TypedDict


class PutAssessmentOrdersAssessmentOrderIDResultGlobalsTypedDict(TypedDict):
    integration_id: NotRequired[str]
    r"""ID of the integration you want to interact with."""


class PutAssessmentOrdersAssessmentOrderIDResultGlobals(BaseModel):
    integration_id: Annotated[
        Optional[str],
        pydantic.Field(alias="X-Integration-Id"),
        FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
    ] = None
    r"""ID of the integration you want to interact with."""


class PutAssessmentOrdersAssessmentOrderIDResultRequestTypedDict(TypedDict):
    assessment_order_id: str
    r"""PUT /assessment/orders/:assessment_order_id/result Parameter"""
    body: PutAssessmentOrdersAssessmentOrderIDResultRequestBodyTypedDict
    r"""PUT /assessment/orders/:assessment_order_id/result Request body"""


class PutAssessmentOrdersAssessmentOrderIDResultRequest(BaseModel):
    assessment_order_id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""PUT /assessment/orders/:assessment_order_id/result Parameter"""

    body: Annotated[
        PutAssessmentOrdersAssessmentOrderIDResultRequestBody,
        FieldMetadata(request=RequestMetadata(media_type="application/json")),
    ]
    r"""PUT /assessment/orders/:assessment_order_id/result Request body"""
