diff --git a/proto/domain.thrift b/proto/domain.thrift index 6ddd21d..6247ff2 100644 --- a/proto/domain.thrift +++ b/proto/domain.thrift @@ -452,6 +452,16 @@ struct Party { 6: required PartyRevision revision } +/** Статусы участника **/ +/** Данная структура используется только для получения статусов Участника **/ + +struct PartyStatus { + 1: required PartyID id + 2: required Blocking blocking + 3: required Suspension suspension + 4: required PartyRevision revision +} + struct PartyContactInfo { 1: required string email } diff --git a/proto/payment_processing.thrift b/proto/payment_processing.thrift index dd7b999..0ab30d4 100644 --- a/proto/payment_processing.thrift +++ b/proto/payment_processing.thrift @@ -1884,6 +1884,11 @@ service PartyManagement { void Unblock (1: UserInfo user, 2: PartyID party_id, 3: string reason) throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: InvalidPartyStatus ex3) + /* Party Status */ + + domain.PartyStatus GetStatus (1: UserInfo user, 2: PartyID party_id) + throws (1: InvalidUser ex1, 2: PartyNotFound ex2) + /* Party Meta */ domain.PartyMeta GetMeta (1: UserInfo user, 2: PartyID party_id)