fix: Обновить версию до "2.2.3.post2" в pyproject.toml; изменить hwidDeviceLimit на hwid_device_limit в CreateUserRequestDto и UpdateUserRequestDto

This commit is contained in:
Artem 2025-10-30 17:54:06 +01:00
parent 669920e059
commit 2986cd3b69
No known key found for this signature in database
GPG key ID: 833485276B7902CE
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -62,7 +62,7 @@ class CreateUserRequestDto(BaseModel):
tag: str | None = None
telegram_id: int | None = Field(None, serialization_alias="telegramId")
email: str | None = None
hwidDeviceLimit: int | None = Field(
hwid_device_limit: int | None = Field(
None, serialization_alias="hwidDeviceLimit", strict=True, ge=0
)
active_internal_squads: list[UUID] | None = Field(
@ -77,7 +77,7 @@ class UpdateUserRequestDto(BaseModel):
description: str | None = None
email: str | None = None
expire_at: datetime | None = Field(None, serialization_alias="expireAt")
hwidDeviceLimit: int | None = Field(
hwid_device_limit: int | None = Field(
None, serialization_alias="hwidDeviceLimit", strict=True, ge=0
)
status: UserStatus | None = None
@ -116,7 +116,7 @@ class UserResponseDto(BaseModel):
description: str | None = None
telegram_id: int | None = Field(None, alias="telegramId")
email: str | None = None
hwidDeviceLimit: int | None = Field(
hwid_device_limit: int | None = Field(
None, serialization_alias="hwidDeviceLimit", strict=True, ge=0
)
active_internal_squads: list[ActiveInternalSquadDto] | None = Field(