diff --git a/auth/v1/msg.proto b/auth/v1/msg.proto index 4f8bf29..5204442 100644 --- a/auth/v1/msg.proto +++ b/auth/v1/msg.proto @@ -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; diff --git a/market/v1/srv.proto b/market/v1/srv.proto index 8b3436f..31380c5 100644 --- a/market/v1/srv.proto +++ b/market/v1/srv.proto @@ -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