Files
Fulfillment-Backend/schemas/auth.py
2024-08-20 18:00:08 +03:00

16 lines
289 B
Python

from typing import Optional
from schemas.base import BaseSchema, CustomModelSnake
class AuthLoginRequest(CustomModelSnake):
auth_date: int
first_name: str
hash: str
id: int
photo_url: Optional[str] = None
class AuthLoginResponse(BaseSchema):
access_token: str