wallet/#14 #8

Merged
nfel merged 3 commits from wallet/#14 into v2 2024-12-21 11:16:43 +00:00
2 changed files with 4 additions and 2 deletions

View File

@ -75,8 +75,8 @@ message CheckIAMReq {
message InternalIAM { message InternalIAM {
User user = 1; User user = 1;
IdentityBasic identity = 2; IdentityBasic identity = 2;
repeated Company company = 3;
} }
message IdReqWithIAM { message IdReqWithIAM {
int64 id = 1; int64 id = 1;
InternalIAM iam = 2; InternalIAM iam = 2;
@ -110,6 +110,7 @@ message Company {
bool can_provide_bnpl = 5; bool can_provide_bnpl = 5;
} }
// Identity is bound to current user's real identity
message Identity { message Identity {
string national_id = 1; string national_id = 1;
string national_serial_id = 2; string national_serial_id = 2;
@ -139,6 +140,7 @@ message Identity {
message IdentityBasic { message IdentityBasic {
string first_name = 1; string first_name = 1;
string last_name = 2; string last_name = 2;
optional Company company = 3;
} }
message UserIdentityBasic { message UserIdentityBasic {
@ -234,7 +236,6 @@ message Recipient {
optional string last_name = 3; optional string last_name = 3;
optional int64 user_id = 4; optional int64 user_id = 4;
optional string public_key = 5; optional string public_key = 5;
} }
message LookUpNameReq { message LookUpNameReq {

View File

@ -145,6 +145,7 @@ message UserBNPLResp {
optional string updated_at = 12; optional string updated_at = 12;
optional string created_at = 13; optional string created_at = 13;
Asset selected_asset = 14; Asset selected_asset = 14;
optional string rejection_reason = 15;
} }
message UserBNPLReq { message UserBNPLReq {