from pydantic import BaseModel
from schemas.user import UserOut


class LoginRequest(BaseModel):
    username: str
    pin: str | None = None
    password: str | None = None


class TokenResponse(BaseModel):
    access_token: str
    user: UserOut


class UpdateMeRequest(BaseModel):
    full_name: str | None = None
    username: str | None = None
    current_password: str | None = None
    new_password: str | None = None
    new_pin: str | None = None
