Merge pull request 'wallet/#14' (#8) from wallet/#14 into v2
Reviewed-on: https://git.kahrobatoken.com/Kahroba/proto/pulls/8
This commit is contained in:
commit
21c190e5a5
@ -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;
|
||||||
@ -141,6 +142,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 {
|
||||||
@ -236,7 +238,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 {
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user