diff --git a/proto/payment_processing.thrift b/proto/payment_processing.thrift index a8b71808..35d4bf87 100644 --- a/proto/payment_processing.thrift +++ b/proto/payment_processing.thrift @@ -1581,6 +1581,40 @@ exception TermSetHierarchyNotFound {} service PartyManagement { /* Accounts */ + /** + * Функции `*ForLatestVersion` повторяют логику аналогичных функций без + * этого суффикса, а в качестве номера версии неявно используют последнюю на + * данный момент. + */ + domain.ShopAccount GetShopAccountForLatestVersion ( + 1: domain.PartyConfigRef party_ref, + 2: domain.ShopConfigRef shop_ref + ) + throws ( + 1: PartyNotFound ex1, + 2: ShopNotFound ex2, + 3: ShopAccountNotFound ex3 + ) + + domain.WalletAccount GetWalletAccountForLatestVersion ( + 1: domain.PartyConfigRef party_ref, + 2: domain.WalletConfigRef wallet_ref + ) + throws ( + 1: PartyNotFound ex1, + 2: WalletNotFound ex2, + 3: WalletAccountNotFound ex3 + ) + + AccountState GetAccountStateForLatestVersion ( + 1: domain.PartyConfigRef party_ref, + 2: domain.AccountID account_id + ) + throws ( + 1: PartyNotFound ex1, + 2: AccountNotFound ex2 + ) + /** * В функциях `GetShopAccount`, `GetWalletAccount` и * `GetAccountState` `party_ref` необходим для проверки