auto-commit for 9348b44e-e5f5-4058-9c1f-5aa21beca3c1

This commit is contained in:
emergent-agent-e1
2025-11-08 14:36:43 +00:00
parent c562c09bd2
commit 8f181c3502
+22
View File
@@ -77,6 +77,28 @@ class WalletBalanceResponse(BaseModel):
reserved: str
timestamp: datetime = Field(default_factory=datetime.utcnow)
# Auth Models
class SignUpRequest(BaseModel):
email: EmailStr
password: str
first_name: str
last_name: str
phone: str
referral_code: Optional[str] = None
language: str = "en"
class SignInRequest(BaseModel):
email: EmailStr
password: str
class AuthResponse(BaseModel):
user_id: str
email: str
access_token: str
refresh_token: str
first_name: str
last_name: str
# Add your routes to the router instead of directly to app
@api_router.get("/")
async def root():