fix: обновить версию до "2.2.6.post1" в pyproject.toml и добавить поля total и external_squads в GetExternalSquadsResponseDto

This commit is contained in:
Artem 2025-11-13 04:12:43 +01:00
parent 00225e9284
commit 1d9290c427
No known key found for this signature in database
GPG key ID: 833485276B7902CE
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -64,7 +64,8 @@ class ExternalSquadDto(BaseModel):
# Request/Response models
class GetExternalSquadsResponseDto(ExternalSquadDto):
"""Response with all external squads"""
pass
total: int = Field(alias="total")
external_squads: List[ExternalSquadDto] = Field(alias="externalSquads")
class GetExternalSquadByUuidResponseDto(ExternalSquadDto):