Merge pull request #21 from remnawave:development

Update version to 2.2.3.post2 and refactor hwidDeviceLimit naming
This commit is contained in:
Artem 2025-10-30 17:54:58 +01:00 committed by GitHub
commit 7b2a4debad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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(