diff --git a/README.md b/README.md index fcb153c..00c16ea 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,8 @@ pip install git+https://github.com/remnawave/python-sdk.git@development | Contract Version | Remnawave Panel Version | | ---------------- | ----------------------- | -| 2.1.8 | >=2.1.8 | +| 2.1.9 | >=2.1.9 | +| 2.1.8 | ==2.1.8 | | 2.1.7.post1 | ==2.1.7 | | 2.1.4 | >=2.1.4, <2.1.7 | | 2.1.1 | >=2.1.1, <2.1.4 | diff --git a/pyproject.toml b/pyproject.toml index 9e8294e..4b038be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "remnawave" -version = "2.1.8" -description = "A Python SDK for interacting with the Remnawave API v2.1.8." +version = "2.1.9" +description = "A Python SDK for interacting with the Remnawave API v2.1.9." authors = [ {name = "Artem",email = "dev@forestsnet.com"} ] diff --git a/remnawave/models/hosts.py b/remnawave/models/hosts.py index 241aed5..a638627 100644 --- a/remnawave/models/hosts.py +++ b/remnawave/models/hosts.py @@ -61,6 +61,12 @@ class UpdateHostRequestDto(BaseModel): None, serialization_alias="overrideSniFromAddress", ) + vless_route_id: Optional[int] = Field( + None, + serialization_alias="vlessRouteId", + ge=0, + le=65535 + ) class HostInboundData(BaseModel): @@ -114,6 +120,10 @@ class HostResponseDto(BaseModel): None, serialization_alias="overrideSniFromAddress", ) + vless_route_id: Optional[int] = Field( + None, + serialization_alias="vlessRouteId", + ) # Legacy compatibility property @property @@ -210,6 +220,12 @@ class CreateHostRequestDto(BaseModel): server_description: Optional[str] = Field( None, alias="serverDescription", max_length=30 ) + vless_route_id: Optional[int] = Field( + None, + serialization_alias="vlessRouteId", + ge=0, + le=65535 + ) # Legacy compatibility property @property