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

from __future__ import annotations
from .modelcatalogresponseitem import (
    ModelCatalogResponseItem,
    ModelCatalogResponseItemTypedDict,
)
from friendli.core.types import BaseModel
from typing import List
from typing_extensions import TypedDict


class ServerlessModelListSuccessTypedDict(TypedDict):
    """`/models` API response (for OpenRouters)."""

    data: List[ModelCatalogResponseItemTypedDict]


class ServerlessModelListSuccess(BaseModel):
    """`/models` API response (for OpenRouters)."""

    data: List[ModelCatalogResponseItem]
