This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lendry-erp/contracts",
|
"name": "@lendry-erp/contracts",
|
||||||
"version": "1.0.25",
|
"version": "1.0.26",
|
||||||
"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",
|
||||||
|
|||||||
@@ -65,12 +65,13 @@ message VerifyTokenRequest {
|
|||||||
|
|
||||||
message VerifyTokenResponse {
|
message VerifyTokenResponse {
|
||||||
bool is_valid = 1;
|
bool is_valid = 1;
|
||||||
string error_message = 2;
|
optional string error_message = 2;
|
||||||
string id = 3;
|
optional string id = 3;
|
||||||
string username = 4;
|
optional string username = 4;
|
||||||
int32 role_level = 5;
|
optional int32 role_level = 5;
|
||||||
repeated string permissions = 6;
|
repeated string permissions = 6;
|
||||||
string session_id = 7;
|
optional string session_id = 7;
|
||||||
|
optional bool requires_pin = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetAccountRoleLevelRequest {
|
message GetAccountRoleLevelRequest {
|
||||||
|
|||||||
Reference in New Issue
Block a user