UNPKG

849 BTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type AdminUsersListResponse = WebAPICallResult & {
3 error?: string;
4 needed?: string;
5 ok?: boolean;
6 provided?: string;
7 response_metadata?: ResponseMetadata;
8 users?: User[];
9};
10export interface ResponseMetadata {
11 messages?: string[];
12 next_cursor?: string;
13}
14export interface User {
15 date_created?: number;
16 email?: string;
17 expiration_ts?: number;
18 full_name?: string;
19 has_2fa?: boolean;
20 has_sso?: boolean;
21 id?: string;
22 is_active?: boolean;
23 is_admin?: boolean;
24 is_bot?: boolean;
25 is_owner?: boolean;
26 is_primary_owner?: boolean;
27 is_restricted?: boolean;
28 is_ultra_restricted?: boolean;
29 roles?: string[];
30 username?: string;
31 workspaces?: string[];
32}
33//# sourceMappingURL=AdminUsersListResponse.d.ts.map
\No newline at end of file