diff --git a/auth/v1/msg.proto b/auth/v1/msg.proto index 0d5020b..51db28b 100644 --- a/auth/v1/msg.proto +++ b/auth/v1/msg.proto @@ -75,8 +75,8 @@ message CheckIAMReq { message InternalIAM { User user = 1; IdentityBasic identity = 2; - repeated Company company = 3; } + message IdReqWithIAM { int64 id = 1; InternalIAM iam = 2; @@ -110,6 +110,7 @@ message Company { bool can_provide_bnpl = 5; } +// Identity is bound to current user's real identity message Identity { string national_id = 1; string national_serial_id = 2; @@ -141,6 +142,7 @@ message Identity { message IdentityBasic { string first_name = 1; string last_name = 2; + optional Company company = 3; } message UserIdentityBasic { @@ -236,7 +238,6 @@ message Recipient { optional string last_name = 3; optional int64 user_id = 4; optional string public_key = 5; - } message LookUpNameReq { diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index d8533c4..312910c 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -145,6 +145,7 @@ message UserBNPLResp { optional string updated_at = 12; optional string created_at = 13; Asset selected_asset = 14; + optional string rejection_reason = 15; } message UserBNPLReq {