WhatsApp Core: - SessionManager with Baileys integration for multi-account support - Express server with REST API and Socket.IO for real-time events - Session lifecycle management (create, disconnect, delete) - Message sending with support for text, image, document, audio, video API Gateway: - Database models: User, WhatsAppAccount, Contact, Conversation, Message - JWT authentication with access/refresh tokens - Auth endpoints: login, refresh, register, me - Pydantic schemas for request/response validation Frontend: - React 18 app structure with routing - Zustand auth store with persistence - API client with automatic token handling - Base CSS and TypeScript declarations Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
294 B
Python
18 lines
294 B
Python
from app.schemas.auth import (
|
|
LoginRequest,
|
|
LoginResponse,
|
|
TokenResponse,
|
|
RefreshRequest,
|
|
UserResponse,
|
|
CreateUserRequest,
|
|
)
|
|
|
|
__all__ = [
|
|
"LoginRequest",
|
|
"LoginResponse",
|
|
"TokenResponse",
|
|
"RefreshRequest",
|
|
"UserResponse",
|
|
"CreateUserRequest",
|
|
]
|