UNPKG

slack-web-api-client

Version:
37 lines 936 B
import type { SlackAPIResponse } from "../response"; export type AdminFunctionsPermissionsLookupResponse = SlackAPIResponse & { error?: string; errors?: Errors; metadata?: { [key: string]: Errors; }; needed?: string; ok: boolean; permissions?: { [key: string]: Permission; }; provided?: string; response_metadata?: ResponseMetadata; }; export interface Errors { } export interface Permission { allowed_by_admin?: AllowedByAdmin; allowed_entities?: AllowedEntities; distribution?: AllowedByAdmin; } export interface AllowedByAdmin { type?: string; user_ids?: string[]; } export interface AllowedEntities { channel_ids?: string[]; org_ids?: string[]; team_ids?: string[]; type?: string; user_ids?: string[]; } export interface ResponseMetadata { messages?: string[]; } //# sourceMappingURL=AdminFunctionsPermissionsLookupResponse.d.ts.map