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

10 lines
266 B
Python

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']]