export interface UsersLookupByEmailResponse { ok?: boolean; user?: User; error?: string; needed?: string; provided?: string; response_metadata?: ResponseMetadata; } export interface ResponseMetadata { messages?: string[]; } export interface User { id?: string; team_id?: string; name?: string; deleted?: boolean; color?: string; real_name?: string; tz?: string; tz_label?: string; tz_offset?: number; profile?: Profile; is_admin?: boolean; is_owner?: boolean; is_primary_owner?: boolean; is_restricted?: boolean; is_ultra_restricted?: boolean; is_bot?: boolean; is_app_user?: boolean; updated?: number; has_2fa?: boolean; is_email_confirmed?: boolean; who_can_share_contact_card?: string; is_invited_user?: boolean; } export interface Profile { title?: string; phone?: string; skype?: string; real_name?: string; real_name_normalized?: string; display_name?: string; display_name_normalized?: string; status_text?: string; status_emoji?: string; status_expiration?: number; avatar_hash?: string; image_original?: string; is_custom_image?: boolean; email?: string; first_name?: string; last_name?: string; image_24?: string; image_32?: string; image_48?: string; image_72?: string; image_192?: string; image_512?: string; image_1024?: string; status_text_canonical?: string; team?: string; status_emoji_url?: string; pronouns?: string; status_emoji_display_info?: StatusEmojiDisplayInfo[]; huddle_state?: string; huddle_state_expiration_ts?: number; guest_invited_by?: string; } export interface StatusEmojiDisplayInfo { emoji_name?: string; display_alias?: string; display_url?: string; unicode?: string; }