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

from __future__ import annotations
from .presetdesignatedversion import (
    PresetDesignatedVersion,
    PresetDesignatedVersionTypedDict,
)
from openrouter.types import BaseModel, Nullable
from typing import List
from typing_extensions import TypedDict


class ListPresetVersionsResponseTypedDict(TypedDict):
    r"""A paginated list of preset versions."""

    data: List[Nullable[PresetDesignatedVersionTypedDict]]
    total_count: int


class ListPresetVersionsResponse(BaseModel):
    r"""A paginated list of preset versions."""

    data: List[Nullable[PresetDesignatedVersion]]

    total_count: int
