Merge branch 'refactor/backend-architecture' into development
This commit is contained in:
15
api/app/features/quota/schemas.py
Normal file
15
api/app/features/quota/schemas.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class QuotaCheckResponse(BaseModel):
|
||||
has_quota: bool
|
||||
remaining_conversations: Optional[int] = None
|
||||
remaining_chapters: Optional[int] = None
|
||||
remaining_words: Optional[int] = None
|
||||
used_conversations: Optional[int] = None
|
||||
used_chapters: Optional[int] = None
|
||||
max_conversations: Optional[int] = None
|
||||
max_chapters: Optional[int] = None
|
||||
message: str
|
||||
Reference in New Issue
Block a user