diff --git a/package.json b/package.json index 8a45354..65c6ed6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lendry-erp/contracts", - "version": "1.0.42", + "version": "1.0.43", "description": "Protobuf definitions and generated TypeScript types", "type": "commonjs", "main": "./dist/index.js", diff --git a/proto/account.proto b/proto/account.proto index a696652..7cc897f 100644 --- a/proto/account.proto +++ b/proto/account.proto @@ -43,6 +43,7 @@ message ChangePasswordRequest { string old_password = 3; string new_password = 4; optional string code = 5; + string session_id = 6; } message ChangePasswordResponse { @@ -53,6 +54,7 @@ message ChangePasswordResponse { message SetPinRequest { string user_id = 1; + string session_id = 2; string pin = 3; } @@ -63,7 +65,8 @@ message SetPinResponse { message UnlockPinRequest { string user_id = 1; - string pin = 2; + string session_id = 2; + string pin = 3; } message UnlockPinResponse { @@ -73,6 +76,7 @@ message UnlockPinResponse { message GetPinStatusRequest { string user_id = 1; + string session_id = 2; } message GetPinStatusResponse { @@ -84,6 +88,7 @@ message GetPinStatusResponse { message RemovePinRequest { string pin = 1; string user_id = 2; + string session_id=3; } message RemovePinResponse { bool success = 1;