sendio/backend/app/schemas/imports.py
2026-01-13 05:17:57 +02:00

18 lines
346 B
Python

from pydantic import BaseModel
from typing import Dict, List, Optional
class ImportSummary(BaseModel):
total: int
created: int
updated: int
skipped: int
invalid: int
errors: List[str] = []
class GoogleAuthURL(BaseModel):
auth_url: str
class GoogleSyncResponse(BaseModel):
status: str
contacts_imported: int