1 | import type { 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 type Errors = {};
|
14 | export interface Permission {
|
15 | allowed_by_admin?: AllowedByAdmin;
|
16 | allowed_entities?: AllowedEntities;
|
17 | distribution?: AllowedByAdmin;
|
18 | }
|
19 | export interface AllowedByAdmin {
|
20 | type?: string;
|
21 | user_ids?: string[];
|
22 | }
|
23 | export interface AllowedEntities {
|
24 | channel_ids?: string[];
|
25 | org_ids?: string[];
|
26 | team_ids?: string[];
|
27 | type?: string;
|
28 | user_ids?: string[];
|
29 | }
|
30 | export interface ResponseMetadata {
|
31 | messages?: string[];
|
32 | }
|
33 |
|
\ | No newline at end of file |