transcription-cost-usage-re.../backend/app/schemas/transcription_schema.py

10 lines
266 B
Python
Raw Normal View History

2025-06-09 11:13:05 +00:00
from pydantic import BaseModel, Field
from typing import List, Optional, Literal
class TranscriptionRequest(BaseModel):
company_id: str
start_date: str
end_date: str
who: Literal['hit', 'client']
totalCost: Optional[Literal['true', 'false']]