Compare commits
2 Commits
f0a82d9c64
...
bf518104e4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf518104e4 | ||
|
|
2eaed0a1c5 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lendry-erp/contracts",
|
||||
"version": "1.0.47",
|
||||
"version": "1.0.48",
|
||||
"description": "Protobuf definitions and generated TypeScript types",
|
||||
"type": "commonjs",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
@@ -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