mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 09:45:21 +00:00
Add GetStatus to PartyManagement (#487)
This commit is contained in:
parent
41acc208af
commit
b563890354
@ -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
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user