first commit
Some checks failed
Publish / Publish Job (push) Has been cancelled

This commit is contained in:
lendry
2026-04-21 16:04:58 +03:00
11 changed files with 629 additions and 118 deletions

View File

@@ -25,6 +25,7 @@ service AuthService {
rpc SystemUpdatePin (SystemUpdatePinRequest) returns (SystemUpdatePinResponse);
rpc SystemBlockIp(SystemBlockIpRequest) returns (SystemBlockIpResponse);
rpc SystemUnblockIp(SystemUnblockIpRequest) returns (SystemUnblockIpResponse);
rpc SystemGetAllAccounts (SystemGetAllAccountsRequest) returns (SystemGetAllAccountsResponse);
}
message LoginRequest {
@@ -182,4 +183,20 @@ message SystemUnblockIpRequest {
message SystemUnblockIpResponse {
bool success = 2;
}
message SystemGetAllAccountsRequest {
int32 limit = 1;
int32 offset = 2;
}
message AccountBasicItem {
string id = 1;
string username = 2;
string status = 3;
}
message SystemGetAllAccountsResponse {
repeated AccountBasicItem accounts = 1;
int32 total = 2;
}