feat: add sync users db for elastic search
All checks were successful
Publish / Publish Job (push) Successful in 2m31s
All checks were successful
Publish / Publish Job (push) Successful in 2m31s
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lendry-erp/contracts",
|
"name": "@lendry-erp/contracts",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"description": "Protobuf definitions and generated TypeScript types",
|
"description": "Protobuf definitions and generated TypeScript types",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ service AccountService {
|
|||||||
rpc UnblockUser(UnblockUserRequest) returns (UnblockUserResponse);
|
rpc UnblockUser(UnblockUserRequest) returns (UnblockUserResponse);
|
||||||
rpc BlockIp(BlockIpRequest) returns (BlockIpResponse);
|
rpc BlockIp(BlockIpRequest) returns (BlockIpResponse);
|
||||||
rpc UnblockIp(UnblockIpRequest) returns (UnblockIpResponse);
|
rpc UnblockIp(UnblockIpRequest) returns (UnblockIpResponse);
|
||||||
|
|
||||||
|
rpc SyncUsersToSearch (SyncUsersToSearchRequest) returns (SyncUsersToSearchResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetAccountRequest {
|
message GetAccountRequest {
|
||||||
@@ -196,4 +198,13 @@ message UnblockIpRequest {
|
|||||||
string ip_address = 1;
|
string ip_address = 1;
|
||||||
string admin_id = 2;
|
string admin_id = 2;
|
||||||
}
|
}
|
||||||
message UnblockIpResponse { bool success = 1; string message = 2; }
|
message UnblockIpResponse { bool success = 1; string message = 2; }
|
||||||
|
|
||||||
|
message SyncUsersToSearchRequest {
|
||||||
|
// Можно оставить пустым, так как нам не нужны входные данные
|
||||||
|
}
|
||||||
|
|
||||||
|
message SyncUsersToSearchResponse {
|
||||||
|
bool success = 1;
|
||||||
|
string message = 2;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user