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

from __future__ import annotations
from .passthroughrequestdto import PassThroughRequestDto, PassThroughRequestDtoTypedDict
from panora_sdk.types import BaseModel
from panora_sdk.utils import FieldMetadata, HeaderMetadata, RequestMetadata
import pydantic
from typing import TypedDict, Union
from typing_extensions import Annotated


class RequestRequestTypedDict(TypedDict):
    x_connection_token: str
    pass_through_request_dto: PassThroughRequestDtoTypedDict
    

class RequestRequest(BaseModel):
    x_connection_token: Annotated[str, pydantic.Field(alias="x-connection-token"), FieldMetadata(header=HeaderMetadata(style="simple", explode=False))]
    pass_through_request_dto: Annotated[PassThroughRequestDto, FieldMetadata(request=RequestMetadata(media_type="application/json"))]
    

class RequestPassthroughResponseBodyTypedDict(TypedDict):
    pass
    

class RequestPassthroughResponseBody(BaseModel):
    pass
    

class RequestResponseBodyTypedDict(TypedDict):
    pass
    

class RequestResponseBody(BaseModel):
    pass
    

RequestResponseTypedDict = Union[RequestResponseBodyTypedDict, RequestPassthroughResponseBodyTypedDict]


RequestResponse = Union[RequestResponseBody, RequestPassthroughResponseBody]

