fix: rename change data request id -> user_id
This commit is contained in:
@@ -7,6 +7,7 @@ option go_package = "git.lendry.ru/lendry-erp/proto.git/go;pb";
|
||||
service AccountService {
|
||||
rpc GetAccount(GetAccountRequest) returns (GetAccountResponse);
|
||||
rpc ChangePassword (ChangePasswordRequest) returns (ChangePasswordResponse);
|
||||
rpc ChangeData(ChangeDataRequest) returns (ChangeDataResponse);
|
||||
rpc SetPin (SetPinRequest) returns (SetPinResponse);
|
||||
rpc UnlockPin (UnlockPinRequest) returns (UnlockPinResponse);
|
||||
rpc GetPinStatus (GetPinStatusRequest) returns (GetPinStatusResponse);
|
||||
@@ -51,6 +52,23 @@ message ChangePasswordResponse {
|
||||
string message = 2;
|
||||
}
|
||||
|
||||
message ChangeDataRequest {
|
||||
string user_id = 1;
|
||||
string session_id = 2;
|
||||
optional string email = 3;
|
||||
optional string phone = 4;
|
||||
optional string full_name = 5;
|
||||
optional string avatar_url = 6;
|
||||
optional string custom_status_text = 7;
|
||||
optional string custom_status_emoji = 8;
|
||||
optional string timezone = 9;
|
||||
optional string language = 10;
|
||||
}
|
||||
|
||||
message ChangeDataResponse {
|
||||
bool success = 1;
|
||||
string message = 2;
|
||||
}
|
||||
|
||||
message SetPinRequest {
|
||||
string user_id = 1;
|
||||
|
||||
Reference in New Issue
Block a user