feat: add referrer commission log messages and update service definition
This commit is contained in:
parent
1c96b85a5a
commit
8453a6bb9c
@ -6,7 +6,7 @@ import "auth/v1/msg.proto";
|
||||
import "base/v1/msg.proto";
|
||||
|
||||
/*
|
||||
INTERNAL DATA
|
||||
INTERNAL DATA;
|
||||
*/
|
||||
|
||||
message InternalTransactionData {
|
||||
@ -442,7 +442,7 @@ message TransferAssetRes {
|
||||
}
|
||||
|
||||
/*
|
||||
Redeem Token
|
||||
Redeem Token;
|
||||
*/
|
||||
message RedeemTokenReq {
|
||||
auth.v1.InternalIAM iam = 1;
|
||||
@ -497,7 +497,7 @@ message PubKeyRes {
|
||||
}
|
||||
|
||||
/*
|
||||
Network Details
|
||||
Network Details;
|
||||
*/
|
||||
enum NetworkType {
|
||||
UNKNOWN_NETWORK_TYPE = 0;
|
||||
@ -581,6 +581,19 @@ message CommissionRes {
|
||||
uint64 commission_log_id = 1;
|
||||
}
|
||||
|
||||
message ReferrerCommissionLogOut {
|
||||
double amount = 1;
|
||||
string mobile = 2;
|
||||
string status = 3;
|
||||
double commission_percentage = 4;
|
||||
}
|
||||
message ReferrerCommissionLogsList {
|
||||
repeated ReferrerCommissionLogOut list = 1;
|
||||
uint32 page_no = 2;
|
||||
uint32 page_size = 3;
|
||||
uint32 total_count = 4;
|
||||
}
|
||||
|
||||
/*
|
||||
* IPG - Internet Payment Gateway
|
||||
* 1. Get Token
|
||||
|
||||
@ -24,6 +24,9 @@ service WalletService {
|
||||
|
||||
rpc UserGetTransactionList(TransactionListFilter) returns (TransactionList);
|
||||
|
||||
// Commission Logs
|
||||
rpc GetReferrerCommissionLogsList(auth.v1.InternalIAM) returns (ReferrerCommissionLogsList);
|
||||
|
||||
// Get Token from IPG is and internal api
|
||||
rpc IPGGetToken(IPGGetTokenReq) returns (IPGGetTokenRes);
|
||||
// IPG Confirm is a public api
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user