id type changed from int64 -> uint64
This commit is contained in:
parent
79374f9fe7
commit
81b00a7416
@ -76,73 +76,6 @@ message Asset {
|
||||
int32 status = 31;
|
||||
AssetMeta meta = 32;
|
||||
}
|
||||
/*
|
||||
BNPL - not really but close name
|
||||
*/
|
||||
|
||||
// enum BNPLPgState {
|
||||
//
|
||||
// }
|
||||
|
||||
message GetUserBNPLInfoReq{
|
||||
authorization.InternalIAM iam =1 ;
|
||||
base.IdReq id = 2;
|
||||
}
|
||||
|
||||
message BNPLPayments {
|
||||
int64 id = 1;
|
||||
double amount = 2;
|
||||
bool is_paied = 3;
|
||||
string due_date = 4;
|
||||
string settlement_date = 5;
|
||||
}
|
||||
|
||||
message UserBNPLResp {
|
||||
int64 id = 1;
|
||||
BNPLInfo bnpl = 2;
|
||||
int32 current_step=3;
|
||||
optional float amount = 4;
|
||||
optional float payment_period = 5;
|
||||
optional bool accepted_terms = 6;
|
||||
repeated BNPLPayments payments = 7;
|
||||
optional string employee_id = 8;
|
||||
optional authorization.Company company = 10;
|
||||
optional string updated_at = 12;
|
||||
optional string created_at = 13;
|
||||
}
|
||||
|
||||
message UserBNPLReq {
|
||||
int64 id = 1;
|
||||
int64 bnpl_id = 2;
|
||||
string created_at = 3;
|
||||
string employee_id = 4;
|
||||
int64 company_id = 5;
|
||||
float amount = 7;
|
||||
float payment_period = 8;
|
||||
bool has_agreed_contract = 9;
|
||||
}
|
||||
message PaymentPeriodInfo {
|
||||
int64 id = 1;
|
||||
string period = 2;
|
||||
bool enabled = 3;
|
||||
}
|
||||
message BNPLInfo {
|
||||
int64 id = 1;
|
||||
string description = 3;
|
||||
repeated Asset supported_assets = 2;
|
||||
optional bool enabled = 4;
|
||||
float amount_start = 5;
|
||||
float amount_end = 6;
|
||||
float amount_steps = 7;
|
||||
repeated PaymentPeriodInfo payment_period = 8;
|
||||
repeated authorization.Company possible_companies = 11;
|
||||
string updated_at = 12;
|
||||
string created_at = 13;
|
||||
string expiers_at = 14;
|
||||
}
|
||||
message BNPLList {
|
||||
repeated BNPLInfo list = 1;
|
||||
}
|
||||
|
||||
message GetAssetReq {
|
||||
optional int64 id = 1;
|
||||
@ -167,6 +100,74 @@ message PropertyMeta {
|
||||
string user_agreement_url = 11;
|
||||
}
|
||||
|
||||
/*
|
||||
BNPL - not really but close name
|
||||
*/
|
||||
|
||||
// enum BNPLPgState {
|
||||
//
|
||||
// }
|
||||
|
||||
message GetUserBNPLInfoReq {
|
||||
authorization.InternalIAM iam = 1;
|
||||
base.IdReq id = 2;
|
||||
}
|
||||
|
||||
message BNPLPayments {
|
||||
uint64 id = 1;
|
||||
double amount = 2;
|
||||
bool is_paied = 3;
|
||||
string due_date = 4;
|
||||
string settlement_date = 5;
|
||||
}
|
||||
|
||||
message UserBNPLResp {
|
||||
uint64 id = 1;
|
||||
BNPLInfo bnpl = 2;
|
||||
int32 current_step = 3;
|
||||
optional float amount = 4;
|
||||
optional float payment_period = 5;
|
||||
optional bool accepted_terms = 6;
|
||||
repeated BNPLPayments payments = 7;
|
||||
optional string employee_id = 8;
|
||||
optional authorization.Company company = 10;
|
||||
optional string updated_at = 12;
|
||||
optional string created_at = 13;
|
||||
}
|
||||
|
||||
message UserBNPLReq {
|
||||
uint64 id = 1;
|
||||
int64 bnpl_id = 2;
|
||||
string created_at = 3;
|
||||
string employee_id = 4;
|
||||
int64 company_id = 5;
|
||||
float amount = 7;
|
||||
float payment_period = 8;
|
||||
bool has_agreed_contract = 9;
|
||||
}
|
||||
message PaymentPeriodInfo {
|
||||
uint64 id = 1;
|
||||
string period = 2;
|
||||
bool enabled = 3;
|
||||
}
|
||||
message BNPLInfo {
|
||||
uint64 id = 1;
|
||||
string description = 3;
|
||||
repeated Asset supported_assets = 2;
|
||||
optional bool enabled = 4;
|
||||
float amount_start = 5;
|
||||
float amount_end = 6;
|
||||
float amount_steps = 7;
|
||||
repeated PaymentPeriodInfo payment_period = 8;
|
||||
repeated authorization.Company possible_companies = 11;
|
||||
string updated_at = 12;
|
||||
string created_at = 13;
|
||||
string expiers_at = 14;
|
||||
}
|
||||
message BNPLList {
|
||||
repeated BNPLInfo list = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
Wallet
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user