UNPKG

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