18 lines
346 B
Python
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
|