feat: generate SDK for Remnawave API v2.8.0

This commit is contained in:
2026-06-30 22:57:09 +03:00
parent c46da4d94f
commit 5c30a1a71b
19 changed files with 79754 additions and 3490 deletions
+30 -30
View File
@@ -94,6 +94,20 @@ func encodeAuthRegisterRequest(
return nil
}
func encodeBandwidthStatsNodesGetStatsNodesUsersUsageRequest(
req *GetStatsNodesUsersUsageRequest,
r *http.Request,
) error {
const contentType = "application/json"
e := new(jx.Encoder)
{
req.Encode(e)
}
encoded := e.Bytes()
ht.SetBody(r, bytes.NewReader(encoded), contentType)
return nil
}
func encodeConfigProfileCreateConfigProfileRequest(
req *CreateConfigProfileRequest,
r *http.Request,
@@ -220,22 +234,8 @@ func encodeHostsBulkActionsEnableHostsRequest(
return nil
}
func encodeHostsBulkActionsSetInboundToHostsRequest(
req *SetInboundToManyHostsRequest,
r *http.Request,
) error {
const contentType = "application/json"
e := new(jx.Encoder)
{
req.Encode(e)
}
encoded := e.Bytes()
ht.SetBody(r, bytes.NewReader(encoded), contentType)
return nil
}
func encodeHostsBulkActionsSetPortToHostsRequest(
req *SetPortToManyHostsRequest,
req *UpdateManyHostsRequest,
r *http.Request,
) error {
const contentType = "application/json"
@@ -627,7 +627,21 @@ func encodeNodesReorderNodesRequest(
}
func encodeNodesRestartAllNodesRequest(
req *RestartAllNodesRequestBody,
req *NodeRequestBodyRequest,
r *http.Request,
) error {
const contentType = "application/json"
e := new(jx.Encoder)
{
req.Encode(e)
}
encoded := e.Bytes()
ht.SetBody(r, bytes.NewReader(encoded), contentType)
return nil
}
func encodeNodesRestartNodeRequest(
req *NodeRequestBodyRequest,
r *http.Request,
) error {
const contentType = "application/json"
@@ -892,20 +906,6 @@ func encodeSystemDebugSrrMatcherRequest(
return nil
}
func encodeSystemEncryptHappCryptoLinkRequest(
req *EncryptHappCryptoLinkRequest,
r *http.Request,
) error {
const contentType = "application/json"
e := new(jx.Encoder)
{
req.Encode(e)
}
encoded := e.Bytes()
ht.SetBody(r, bytes.NewReader(encoded), contentType)
return nil
}
func encodeUsersBulkActionsBulkAllExtendExpirationDateRequest(
req *BulkAllExtendExpirationDateRequest,
r *http.Request,