backend_update_260130
This commit is contained in:
@@ -67,7 +67,7 @@ class AssetClaimOut(AssetClaim):
|
||||
|
||||
class AssetAssign(BaseModel):
|
||||
asset_id: int
|
||||
heir_name: str
|
||||
heir_email: str
|
||||
|
||||
class DeclareGuale(BaseModel):
|
||||
username: str
|
||||
@@ -87,4 +87,19 @@ class AIResponse(BaseModel):
|
||||
created: int
|
||||
model: str
|
||||
choices: List[dict]
|
||||
usage: dict
|
||||
usage: dict
|
||||
|
||||
|
||||
# Subscription Plans Schemas
|
||||
class SubscriptionPlansBase(BaseModel):
|
||||
name: str
|
||||
max_heirs: int
|
||||
weekly_token_limit: int
|
||||
max_assets: int
|
||||
max_storage_mb: int
|
||||
can_use_ai_proxy: bool
|
||||
description: Optional[str] = None
|
||||
|
||||
class SubscriptionPlansOut(SubscriptionPlansBase):
|
||||
id: int
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
Reference in New Issue
Block a user