v2: fixed bad type of int32 for page
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
b6fe01f00b
commit
4ebfed6bec
@ -9,9 +9,7 @@ import "base/v1/msg.proto";
|
||||
INTERNAL DATA
|
||||
*/
|
||||
|
||||
message InternalTransactionData {
|
||||
int64 transaction_id = 1;
|
||||
}
|
||||
message InternalTransactionData { int64 transaction_id = 1; }
|
||||
|
||||
/*
|
||||
Federation
|
||||
@ -183,7 +181,8 @@ message AssetDiscountRes {
|
||||
double static_amount = 4;
|
||||
double percentage = 5;
|
||||
double max_amount = 6;
|
||||
double effective_amount = 7; // based of asset price and discount amount in req
|
||||
double effective_amount =
|
||||
7; // based of asset price and discount amount in req
|
||||
optional int64 supported_asset = 8;
|
||||
}
|
||||
|
||||
@ -198,9 +197,7 @@ message GetAssetReq {
|
||||
optional string code = 3;
|
||||
}
|
||||
|
||||
message AssetMeta {
|
||||
PropertyMeta property = 1;
|
||||
}
|
||||
message AssetMeta { PropertyMeta property = 1; }
|
||||
|
||||
message PropertyMeta {
|
||||
string description = 1;
|
||||
@ -295,7 +292,8 @@ message UserBNPLReq {
|
||||
optional float amount = 7;
|
||||
optional PaymentPeriodInfo payment_period = 8;
|
||||
optional bool has_agreed_contract = 9;
|
||||
optional int32 current_step = 10; // Can be useful for admin to change the current step
|
||||
optional int32 current_step =
|
||||
10; // Can be useful for admin to change the current step
|
||||
optional int64 asset_id = 11;
|
||||
}
|
||||
|
||||
@ -392,8 +390,8 @@ message Transaction {
|
||||
|
||||
message TransactionListFilter {
|
||||
auth.v1.InternalIAM iam = 1;
|
||||
optional int32 page_no = 2;
|
||||
optional int32 page_size = 3;
|
||||
optional uint32 page_no = 2;
|
||||
optional uint32 page_size = 3;
|
||||
optional int64 id = 4;
|
||||
optional int64 asset_id = 5;
|
||||
optional int64 from_user_id = 6;
|
||||
@ -483,9 +481,7 @@ message NationalIDReq {
|
||||
string national_id = 2;
|
||||
}
|
||||
|
||||
message PubKeyRes {
|
||||
string pub_key = 1;
|
||||
}
|
||||
message PubKeyRes { string pub_key = 1; }
|
||||
|
||||
/*
|
||||
Network Details
|
||||
@ -613,9 +609,7 @@ message IPGConfirmReq {
|
||||
string final_amount = 7;
|
||||
}
|
||||
|
||||
message IPGConfirmRes {
|
||||
string receipt_link = 1;
|
||||
}
|
||||
message IPGConfirmRes { string receipt_link = 1; }
|
||||
|
||||
message SaleManualReq {
|
||||
auth.v1.InternalIAM iam = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user