v2: fixed bad type of int32 for page

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-07-16 17:06:48 +03:30
parent b6fe01f00b
commit 4ebfed6bec
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -9,9 +9,7 @@ import "base/v1/msg.proto";
INTERNAL DATA INTERNAL DATA
*/ */
message InternalTransactionData { message InternalTransactionData { int64 transaction_id = 1; }
int64 transaction_id = 1;
}
/* /*
Federation Federation
@ -183,7 +181,8 @@ message AssetDiscountRes {
double static_amount = 4; double static_amount = 4;
double percentage = 5; double percentage = 5;
double max_amount = 6; 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; optional int64 supported_asset = 8;
} }
@ -198,9 +197,7 @@ message GetAssetReq {
optional string code = 3; optional string code = 3;
} }
message AssetMeta { message AssetMeta { PropertyMeta property = 1; }
PropertyMeta property = 1;
}
message PropertyMeta { message PropertyMeta {
string description = 1; string description = 1;
@ -295,7 +292,8 @@ message UserBNPLReq {
optional float amount = 7; optional float amount = 7;
optional PaymentPeriodInfo payment_period = 8; optional PaymentPeriodInfo payment_period = 8;
optional bool has_agreed_contract = 9; 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; optional int64 asset_id = 11;
} }
@ -392,8 +390,8 @@ message Transaction {
message TransactionListFilter { message TransactionListFilter {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;
optional int32 page_no = 2; optional uint32 page_no = 2;
optional int32 page_size = 3; optional uint32 page_size = 3;
optional int64 id = 4; optional int64 id = 4;
optional int64 asset_id = 5; optional int64 asset_id = 5;
optional int64 from_user_id = 6; optional int64 from_user_id = 6;
@ -483,9 +481,7 @@ message NationalIDReq {
string national_id = 2; string national_id = 2;
} }
message PubKeyRes { message PubKeyRes { string pub_key = 1; }
string pub_key = 1;
}
/* /*
Network Details Network Details
@ -613,9 +609,7 @@ message IPGConfirmReq {
string final_amount = 7; string final_amount = 7;
} }
message IPGConfirmRes { message IPGConfirmRes { string receipt_link = 1; }
string receipt_link = 1;
}
message SaleManualReq { message SaleManualReq {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;