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

from __future__ import annotations
from .querybody import QueryBody, QueryBodyTypedDict
from panora_sdk.types import BaseModel
from panora_sdk.utils import FieldMetadata, HeaderMetadata, RequestMetadata
import pydantic
from typing import TypedDict
from typing_extensions import Annotated


class QueryRequestTypedDict(TypedDict):
    x_connection_token: str
    r"""The connection token"""
    query_body: QueryBodyTypedDict
    

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

class QueryResponseBodyTypedDict(TypedDict):
    pass
    

class QueryResponseBody(BaseModel):
    pass
    
