UNPKG

881 BTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export 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};
13export interface Errors {
14}
15export interface Permission {
16 allowed_by_admin?: AllowedByAdmin;
17 allowed_entities?: AllowedEntities;
18 distribution?: AllowedByAdmin;
19}
20export interface AllowedByAdmin {
21 type?: string;
22 user_ids?: string[];
23}
24export interface AllowedEntities {
25 channel_ids?: string[];
26 org_ids?: string[];
27 team_ids?: string[];
28 type?: string;
29 user_ids?: string[];
30}
31export interface ResponseMetadata {
32 messages?: string[];
33}
34//# sourceMappingURL=AdminFunctionsPermissionsLookupResponse.d.ts.map
\No newline at end of file