# generated by datamodel-codegen:
#   filename:  _internal
#   timestamp: 1985-10-26T08:21:00+00:00

from __future__ import annotations

from typing import Optional

from pydantic import BaseModel


class Item(BaseModel):
    id: Optional[str] = None
    sub_item: Optional[Authorization] = None


class Item_1(BaseModel):
    id: Optional[str] = None


class Invoice(BaseModel):
    id: Optional[str] = None
    billing_item: Optional[Item_1] = None
    session: Optional[Session] = None


class Item_2(BaseModel):
    id: Optional[str] = None


class Session(BaseModel):
    id: Optional[str] = None
    checkout_item: Optional[Item_2] = None
    root_item: Optional[Item] = None


class Item_3(BaseModel):
    id: Optional[str] = None


class Authorization(BaseModel):
    id: Optional[str] = None
    item: Optional[Item_3] = None
    invoice: Optional[Invoice] = None


Item.update_forward_refs()
Invoice.update_forward_refs()
Authorization.update_forward_refs()
