v2: no tfa in cancle req
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
ffe8c384fc
commit
a3b3c56872
@ -85,6 +85,12 @@ message IdReqWithIAM {
|
||||
InternalIAM iam = 2;
|
||||
}
|
||||
|
||||
message IdReqWithIAMAndTFA {
|
||||
int64 id = 1;
|
||||
InternalIAM iam = 2;
|
||||
TFA tfa = 6;
|
||||
}
|
||||
|
||||
// Used for endpoints that need token and Query Param
|
||||
message IAMWithQP {
|
||||
InternalIAM iam = 1;
|
||||
@ -202,11 +208,11 @@ message BankInfo {
|
||||
}
|
||||
|
||||
/* Two Factor Authentication */
|
||||
message IdReqWithIAMAndTFA {
|
||||
int64 id = 1;
|
||||
InternalIAM iam = 2;
|
||||
string tfa_code = 3;
|
||||
}
|
||||
// message IdReqWithIAMAndTFA {
|
||||
// int64 id = 1;
|
||||
// InternalIAM iam = 2;
|
||||
// string tfa_code = 3;
|
||||
// }
|
||||
message TFAReq {
|
||||
InternalIAM iam = 1;
|
||||
optional string mobile = 2;
|
||||
|
||||
@ -16,7 +16,7 @@ service MarketplaceSrv {
|
||||
|
||||
rpc Purchase(PurchaseReq) returns (PurchaseRes); // purchase from an order
|
||||
|
||||
rpc CancelOrder(auth.v1.IdReqWithIAM) returns (base.v1.StatusRes); // cancel an order
|
||||
rpc CancelOrder(auth.v1.IdReqWithIAMAndTFA) returns (base.v1.StatusRes); // cancel an order
|
||||
|
||||
rpc GetMarketPubHistory(OrderListFilter) returns (MarketOrderList); // This is for public market
|
||||
rpc GetUserMarketHistory(OrderListFilter) returns (MarketOrderList); // list of order + purchase related to buying an asset
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user