chore: update identity status type to UserStatus #34

Open
mapoofano wants to merge 370 commits from chore-identity-user-status into main
Showing only changes of commit 14cd8ca8b5 - Show all commits
+10
View File
@@ -113,12 +113,21 @@ message GetUserBNPLInfoReq {
base.IdReq id = 2;
}
enum BNPLPaymentsStatus{
PENDING=0;
PAYED=1;
OVER_DUE=2;
NOT_STARTED=3;
NOT_YET_DUE=4;
CANCLED=5;
}
message BNPLPayments {
uint64 id = 1;
double amount = 2;
bool is_paied = 3;
string due_date = 4;
string settlement_date = 5;
BNPLPaymentsStatus status = 6;
}
message UserBNPLResp {
@@ -146,6 +155,7 @@ message UserBNPLReq {
PaymentPeriodInfo payment_period = 8;
bool has_agreed_contract = 9;
}
message PaymentPeriodInfo {
uint64 id = 1;
uint64 period = 2;