mirror of
https://github.com/remnawave/python-sdk.git
synced 2026-05-13 12:16:42 +00:00
Merge pull request #8 from remnawave:development
Update SDK version to 2.1.9 and add vless_route_id field
This commit is contained in:
commit
da6add4f6e
3 changed files with 20 additions and 3 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
|
|
@ -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"}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue