feat(douyu): 支持斗鱼预售归档账号安全释放回号库并修复完成归档自动解租 (v0.4.25)
This commit is contained in:
@@ -2946,6 +2946,67 @@ class DouyuCollabArchiveRequest(BaseModel):
|
||||
reason: str = Field("", max_length=256)
|
||||
|
||||
|
||||
class DouyuCollabArchivedAccountReleaseRequest(BaseModel):
|
||||
order_ids: list[int] = Field(default_factory=list)
|
||||
all_archived: bool = False
|
||||
status: str = ""
|
||||
shop: str = ""
|
||||
owner_id: int | None = None
|
||||
gift_name: str = ""
|
||||
keyword: str = ""
|
||||
ck_status: str = ""
|
||||
include_void: bool = False
|
||||
include_manual_required: bool = False
|
||||
clear_assigned_to: bool = True
|
||||
reason: str = Field("", max_length=256)
|
||||
|
||||
|
||||
class DouyuCollabArchivedAccountReleasePreviewOut(BaseModel):
|
||||
matched_orders: int = 0
|
||||
total_accounts: int = 0
|
||||
releasable_total: int = 0
|
||||
release_lease_total: int = 0
|
||||
release_collab_count: int = 0
|
||||
release_platform_bound_count: int = 0
|
||||
release_platform_manual_count: int = 0
|
||||
clear_assigned_count: int = 0
|
||||
already_free_count: int = 0
|
||||
skipped_total: int = 0
|
||||
skipped_active_collab: int = 0
|
||||
skipped_active_platform: int = 0
|
||||
skipped_running_task: int = 0
|
||||
skipped_manual_required: int = 0
|
||||
cooldown_ready_count: int = 0
|
||||
cooldown_waiting_count: int = 0
|
||||
invalid_ck_count: int = 0
|
||||
include_manual_required: bool = False
|
||||
clear_assigned_to: bool = True
|
||||
|
||||
|
||||
class DouyuCollabArchivedAccountReleaseOut(BaseModel):
|
||||
matched_orders: int = 0
|
||||
total_accounts: int = 0
|
||||
processed_accounts: int = 0
|
||||
released_leases: int = 0
|
||||
release_collab_count: int = 0
|
||||
release_platform_bound_count: int = 0
|
||||
release_platform_manual_count: int = 0
|
||||
closed_platform_tasks: int = 0
|
||||
cancelled_manual_tasks: int = 0
|
||||
cleared_assigned_accounts: int = 0
|
||||
already_free_count: int = 0
|
||||
skipped_total: int = 0
|
||||
skipped_active_collab: int = 0
|
||||
skipped_active_platform: int = 0
|
||||
skipped_running_task: int = 0
|
||||
skipped_manual_required: int = 0
|
||||
cooldown_ready_count: int = 0
|
||||
cooldown_waiting_count: int = 0
|
||||
invalid_ck_count: int = 0
|
||||
include_manual_required: bool = False
|
||||
clear_assigned_to: bool = True
|
||||
|
||||
|
||||
class DouyuCollabCkExportRequest(BaseModel):
|
||||
"""勾选多行,导出关联内部账号的 CK 明文(一次最多 50 条)。"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user