# AUTO-GENERATED by mizan — do not edit

from __future__ import annotations

from typing import Any, Literal

from pydantic import BaseModel

class OrderOutput(BaseModel):
    id: int
    user_id: int
    total: int

class EchoInput(BaseModel):
    text: str

class EchoOutput(BaseModel):
    message: str

class FindUserInput(BaseModel):
    user_id: int

class FindUserOutput(BaseModel):
    user_id: int
    name: str

class RenameUserInput(BaseModel):
    user_id: int
    name: str

class RenameUserOutput(BaseModel):
    user_id: int
    name: str

class UpdateProfileInput(BaseModel):
    user_id: int
    name: str

class UpdateProfileOutput(BaseModel):
    ok: bool

class UserOrdersInput(BaseModel):
    user_id: int

UserOrdersOutput = list[OrderOutput]

class UserProfileInput(BaseModel):
    user_id: int

class UserProfileOutput(BaseModel):
    user_id: int
    name: str

class WhoamiOutput(BaseModel):
    email: str
    authenticated: bool
