1 | import type { OptionalArgument } from '../../helpers';
|
2 | import type { CursorPaginationEnabled, TokenOverridable } from '../common';
|
3 | interface BarrierID {
|
4 |
|
5 | barrier_id: string;
|
6 | }
|
7 | export interface AdminBarriersCreateArguments extends TokenOverridable {
|
8 |
|
9 | barriered_from_usergroup_ids: string[];
|
10 |
|
11 | primary_usergroup_id: string;
|
12 | |
13 |
|
14 |
|
15 |
|
16 | restricted_subjects: ['im', 'mpim', 'call'];
|
17 | }
|
18 | export interface AdminBarriersDeleteArguments extends BarrierID, TokenOverridable {
|
19 | }
|
20 | export type AdminBarriersListArguments = OptionalArgument<TokenOverridable & CursorPaginationEnabled>;
|
21 | export interface AdminBarriersUpdateArguments extends AdminBarriersCreateArguments, BarrierID {
|
22 | }
|
23 | export {};
|
24 |
|
\ | No newline at end of file |