add: system methods for search
Some checks failed
Publish / Publish Job (push) Failing after 2m35s

This commit is contained in:
Дмитрий
2026-04-19 10:50:12 +03:00
parent 5053e031dd
commit 4be5b29131
2 changed files with 35 additions and 0 deletions

View File

@@ -21,6 +21,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 {
@@ -156,4 +157,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;
}