1 | import { WebAPICallResult } from '../../WebClient';
|
2 | export type AdminFunctionsPermissionsLookupResponse = WebAPICallResult & {
|
3 | error?: string;
|
4 | errors?: Errors;
|
5 | needed?: string;
|
6 | ok?: boolean;
|
7 | permissions?: {
|
8 | [key: string]: Permission;
|
9 | };
|
10 | provided?: string;
|
11 | response_metadata?: ResponseMetadata;
|
12 | };
|
13 | export interface Errors {
|
14 | }
|
15 | export interface Permission {
|
16 | allowed_by_admin?: AllowedByAdmin;
|
17 | allowed_entities?: AllowedEntities;
|
18 | distribution?: AllowedByAdmin;
|
19 | }
|
20 | export interface AllowedByAdmin {
|
21 | type?: string;
|
22 | user_ids?: string[];
|
23 | }
|
24 | export interface AllowedEntities {
|
25 | channel_ids?: string[];
|
26 | org_ids?: string[];
|
27 | team_ids?: string[];
|
28 | type?: string;
|
29 | user_ids?: string[];
|
30 | }
|
31 | export interface ResponseMetadata {
|
32 | messages?: string[];
|
33 | }
|
34 |
|
\ | No newline at end of file |