1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type UsersInfoResponse = WebAPICallResult & {
|
3 | error?: string;
|
4 | needed?: string;
|
5 | ok?: boolean;
|
6 | provided?: string;
|
7 | user?: User;
|
8 | };
|
9 | export interface User {
|
10 | color?: string;
|
11 | deleted?: boolean;
|
12 | enterprise_user?: EnterpriseUser;
|
13 | has_2fa?: boolean;
|
14 | id?: string;
|
15 | is_admin?: boolean;
|
16 | is_app_user?: boolean;
|
17 | is_bot?: boolean;
|
18 | is_connector_bot?: boolean;
|
19 | is_email_confirmed?: boolean;
|
20 | is_invited_user?: boolean;
|
21 | is_owner?: boolean;
|
22 | is_primary_owner?: boolean;
|
23 | is_restricted?: boolean;
|
24 | is_stranger?: boolean;
|
25 | is_ultra_restricted?: boolean;
|
26 | is_workflow_bot?: boolean;
|
27 | locale?: string;
|
28 | name?: string;
|
29 | profile?: Profile;
|
30 | real_name?: string;
|
31 | team_id?: string;
|
32 | tz?: string;
|
33 | tz_label?: string;
|
34 | tz_offset?: number;
|
35 | updated?: number;
|
36 | who_can_share_contact_card?: string;
|
37 | }
|
38 | export interface EnterpriseUser {
|
39 | enterprise_id?: string;
|
40 | enterprise_name?: string;
|
41 | id?: string;
|
42 | is_admin?: boolean;
|
43 | is_owner?: boolean;
|
44 | teams?: string[];
|
45 | }
|
46 | export interface Profile {
|
47 | always_active?: boolean;
|
48 | api_app_id?: string;
|
49 | avatar_hash?: string;
|
50 | bot_id?: string;
|
51 | display_name?: string;
|
52 | display_name_normalized?: string;
|
53 | email?: string;
|
54 | first_name?: string;
|
55 | guest_invited_by?: string;
|
56 | huddle_state?: string;
|
57 | huddle_state_expiration_ts?: number;
|
58 | image_1024?: string;
|
59 | image_192?: string;
|
60 | image_24?: string;
|
61 | image_32?: string;
|
62 | image_48?: string;
|
63 | image_512?: string;
|
64 | image_72?: string;
|
65 | image_original?: string;
|
66 | is_custom_image?: boolean;
|
67 | last_name?: string;
|
68 | phone?: string;
|
69 | pronouns?: string;
|
70 | real_name?: string;
|
71 | real_name_normalized?: string;
|
72 | skype?: string;
|
73 | status_emoji?: string;
|
74 | status_emoji_display_info?: StatusEmojiDisplayInfo[];
|
75 | status_emoji_url?: string;
|
76 | status_expiration?: number;
|
77 | status_text?: string;
|
78 | status_text_canonical?: string;
|
79 | team?: string;
|
80 | title?: string;
|
81 | }
|
82 | export interface StatusEmojiDisplayInfo {
|
83 | display_alias?: string;
|
84 | display_url?: string;
|
85 | emoji_name?: string;
|
86 | unicode?: string;
|
87 | }
|
88 |
|
\ | No newline at end of file |