fix: обновить версию до 2.3.2rc3 и изменить структуру UserUsageDto для хранения информации о пользователе и узле

This commit is contained in:
Artem 2025-12-18 03:00:20 +01:00
parent 17c6b2e535
commit 3eaad58131
No known key found for this signature in database
GPG key ID: 833485276B7902CE
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
[project]
name = "remnawave"
version = "2.3.2rc2"
version = "2.3.2rc3"
description = "A Python SDK for interacting with the Remnawave API v2.3.2."
authors = [
{name = "Artem",email = "dev@forestsnet.com"}

View file

@ -49,10 +49,12 @@ class GetNodesUsageByRangeResponseDto(RootModel[List[NodeUsageDto]]):
class UserUsageDto(BaseModel):
"""User usage data with node information"""
user_uuid: UUID = Field(alias="userUuid")
node_uuid: UUID = Field(alias="nodeUuid")
username: str
upload: int
download: int
total: int
date: datetime
class GetNodeUserUsageByRangeResponseDto(RootModel[List[UserUsageDto]]):