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

from __future__ import annotations

from typing import NotRequired, TypeAlias, TypedDict

from . import models

Optional: TypeAlias = str


Id: TypeAlias = str


class Error(TypedDict):
    code: int
    message: str


class Result(TypedDict):
    event: NotRequired[models.Event]


class Source(TypedDict):
    country: NotRequired[str]


class DifferentTea(TypedDict):
    foo: NotRequired[Tea]
    nested: NotRequired[Tea_1]


class Tea(TypedDict):
    flavour: NotRequired[str]
    id: NotRequired[Id]


class Cocoa(TypedDict):
    quality: NotRequired[int]


class Tea_1(TypedDict):
    flavour: NotRequired[str]
    id: NotRequired[Id]
    self: NotRequired[Tea_1]
    optional: NotRequired[list[Optional]]


class TeaClone(TypedDict):
    flavour: NotRequired[str]
    id: NotRequired[Id]
    self: NotRequired[Tea_1]
    optional: NotRequired[list[Optional]]


List: TypeAlias = list[Tea_1]
