Add GetStatus to PartyManagement (#487)

This commit is contained in:
Sergey Yelin 2019-09-09 18:11:43 +03:00 committed by GitHub
parent 41acc208af
commit b563890354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -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
}

View File

@ -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)