1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type AdminBarriersCreateResponse = WebAPICallResult & {
|
3 | barrier?: Barrier;
|
4 | error?: string;
|
5 | needed?: string;
|
6 | ok?: boolean;
|
7 | provided?: string;
|
8 | response_metadata?: ResponseMetadata;
|
9 | };
|
10 | export interface Barrier {
|
11 | barriered_from_usergroups?: Usergroup[];
|
12 | date_update?: number;
|
13 | enterprise_id?: string;
|
14 | id?: string;
|
15 | primary_usergroup?: Usergroup;
|
16 | restricted_subjects?: string[];
|
17 | }
|
18 | export interface Usergroup {
|
19 | id?: string;
|
20 | name?: string;
|
21 | }
|
22 | export interface ResponseMetadata {
|
23 | messages?: string[];
|
24 | }
|
25 |
|
\ | No newline at end of file |