# Generated by ariadne-codegen
# Source: queries.graphql

from typing import List

from pydantic import Field

from .base_model import BaseModel
from .fragments import OrderFields


class GetHistoricalOrdersQuery(BaseModel):
    folio: "GetHistoricalOrdersQueryFolio"


class GetHistoricalOrdersQueryFolio(BaseModel):
    historical_orders: List["GetHistoricalOrdersQueryFolioHistoricalOrders"] = Field(
        alias="historicalOrders"
    )


class GetHistoricalOrdersQueryFolioHistoricalOrders(OrderFields):
    pass


GetHistoricalOrdersQuery.model_rebuild()
GetHistoricalOrdersQueryFolio.model_rebuild()
