fix: add session id for requests
All checks were successful
Publish / Publish Job (push) Successful in 2m37s
All checks were successful
Publish / Publish Job (push) Successful in 2m37s
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user