export interface View { readonly id?: string; readonly team_id?: string; readonly type: string; readonly blocks?: Block[]; readonly private_metadata?: string; readonly callback_id: string; readonly state?: State; readonly hash?: string; readonly title?: TextObject; readonly clear_on_close?: boolean; readonly notify_on_close?: boolean; readonly close?: TextObject | null; readonly submit?: TextObject | null; readonly previous_view_id?: string | null; readonly root_view_id?: string; readonly app_id?: string; readonly external_id?: string; readonly app_installed_team_id?: string; readonly bot_id?: string; } export interface Block { readonly type: string; readonly block_id: string; readonly text?: TextObject; readonly elements?: Element[]; readonly label?: TextObject; readonly optional?: boolean; readonly dispatch_action?: false; readonly element?: Element; readonly accessory?: Element; readonly fields?: TextObject[]; readonly [x: string]: any; } export interface TextObject { readonly type: string; readonly emoji?: boolean; readonly verbatim?: boolean; } export interface State { readonly values?: Record; } export interface Authorization { readonly enterprise_id: string | null; readonly team_id: string; readonly user_id: string; readonly is_bot: boolean; readonly is_enterprise_install: boolean; } export interface AppRequest { readonly id: string; readonly app: App; readonly previous_resolution: Resolution; readonly user: User; readonly team: Team; readonly enterprise?: string | null; readonly scopes: Scope[] | null; readonly message: string; } export interface App { readonly id: string; readonly name: string; readonly description: string; readonly help_url: string; readonly privacy_policy_url: string; readonly app_homepage_url: string; readonly app_directory_url: string; readonly is_app_directory_approved: boolean; readonly is_internal: boolean; readonly additional_info: string; } export interface Resolution { readonly status: string; readonly scopes?: Scope[] | null; } export interface Scope { readonly name: string; readonly description: string; readonly is_sensitive: boolean; readonly token_type: string; } export interface User { readonly id: string; readonly username: string; readonly team_id: string; readonly name?: string; readonly email?: string; } export interface FullUser extends User { readonly deleted?: boolean; readonly color?: string; readonly real_name?: string; readonly tz?: string; readonly tz_label?: string; readonly tz_offset?: number; readonly profile?: Profile; readonly is_admin?: boolean; readonly is_owner?: boolean; readonly is_primary_owner?: boolean; readonly is_restricted?: boolean; readonly is_ultra_restricted?: boolean; readonly is_bot?: boolean; readonly is_app_user?: boolean; readonly updated?: number; readonly is_email_confirmed?: boolean; readonly who_can_share_contact_card?: string; readonly presence?: string; readonly locale?: string; } export interface Team { readonly id: string; readonly name?: string; readonly domain: string; readonly icon?: Icon; readonly is_verified?: boolean; readonly date_created?: number; } export interface Channel { readonly id: string; readonly name: string; } export interface FullChannel extends Channel { readonly is_channel?: boolean; readonly name_normalized?: string; readonly created?: number; readonly creator?: string; readonly is_shared?: boolean; readonly is_org_shared?: boolean; readonly context_team_id?: string; readonly is_mpim?: boolean; readonly is_frozen?: boolean; readonly is_achieved?: boolean; readonly is_im?: boolean; readonly user?: string; readonly last_read?: string; readonly latest?: string | null; readonly unread_count?: number; readonly unread_count_display?: number; readonly is_open?: boolean; readonly is_private?: boolean; } export interface Dnd { readonly dnd_enabled: boolean; readonly next_dnd_start_ts: number; readonly next_dnd_end_ts: number; readonly snooze_enabled?: boolean; readonly snooze_endtime?: number; readonly snooze_remaining?: number; } export interface InviteRequest { readonly id: string; readonly email: string; readonly date_created: number; readonly requester_ids: string[]; readonly channel_ids: string[]; readonly invite_type: string; readonly real_name: string; readonly date_expire: number; readonly request_reason: string; readonly team: Team; } export interface Item { readonly type: string; readonly created?: number; readonly created_by?: string; readonly channel: string; readonly message?: Message; readonly ts?: string; readonly date_created?: string; } export interface Message { readonly client_msg_id?: string; readonly type: string; readonly text: string; readonly user: string; readonly ts: string; readonly team?: string; readonly blocks?: Block[]; readonly pinned_to?: string[]; readonly permalink?: string; readonly files?: { readonly id: string; readonly mode: string; }; readonly upload?: boolean; readonly display_as_bot?: boolean; readonly edited?: { readonly user: string; readonly ts: string; }; readonly thread_ts?: string; readonly reply_count?: number; readonly reply_users_count?: number; readonly latest_reply?: string; readonly reply_users?: string[]; readonly is_locked?: boolean; readonly subscribed?: boolean; readonly last_read?: string; readonly bot_profile?: Bot; readonly replies?: { readonly user: string; readonly ts: string; }[]; readonly bot_id?: string; readonly metadata?: { readonly event_type: string; }; readonly app_id?: string; readonly [x: string]: any; } export interface PinnedInfo { readonly channel: string; readonly pinned_by: string; readonly pinned_ts: number; } export interface Subteam { readonly id: string; readonly team_id: string; readonly is_usergroup: boolean; readonly is_subteam?: boolean; readonly name: string; readonly description: string; readonly handle: string; readonly is_external: boolean; readonly date_create: number; readonly date_update: number; readonly date_delete: number; readonly auto_type: string | null; readonly auto_provision?: boolean; readonly enterprise_subteam_id?: string; readonly created_by: string; readonly updated_by: string; readonly deleted_by?: string | null; readonly prefs: { readonly channels?: string[] | null; readonly groups?: string[] | null; }; readonly user_count: string; readonly users?: string[]; readonly channel_count?: number; } export interface Profile { readonly title: string; readonly phone: string; readonly skype: string; readonly real_name: string; readonly real_name_normalized: string; readonly display_name: string; readonly display_name_normalized: string; readonly fields: Record; readonly status_text: string; readonly status_emoji: string; readonly status_emoji_display_info: string[]; readonly status_expiration: number; readonly avatar_hash: string; readonly api_app_id?: string; readonly always_active?: boolean; readonly bot_id?: string; readonly first_name: string; readonly last_name: string; readonly readonlyimage_24: string; readonly image_32: string; readonly image_48: string; readonly image_72: string; readonly image_192: string; readonly image_512: string; readonly image_1024?: string; readonly status_text_canonical: string; readonly team: string; readonly is_custom_image?: boolean; readonly huddle_state?: string; readonly huddle_state_expiration_ts?: string; readonly image_original?: string; } export interface Configuration { readonly version_id: string; readonly app_steps: AppStep[]; } export interface AppStep { readonly app_id: string; readonly workflow_step_id: string; readonly callback_id: string; } export interface WorkflowStep { readonly workflow_step_execute_id: string; readonly inputs: Input; readonly outputs: Output[]; } export interface Input { readonly title: string; readonly submitter: string; readonly [x: string]: any; } export interface Output { readonly type: string; readonly name: string; readonly label: string; } export interface Icon { readonly image_36: string; readonly image_48: string; readonly image_72: string; } export interface File { readonly id: string; readonly created: number; readonly timestamp: number; readonly name: string; readonly title: string; readonly mimetype: string; readonly filetype: string; readonly pretty_type: string; readonly user: string; readonly user_team: string; readonly editable: boolean; readonly size: number; readonly mode: string; readonly is_external: boolean; readonly external_type: string; readonly is_public: boolean; readonly public_url_shared: boolean; readonly display_as_bot: boolean; readonly username: string; readonly url_private: string; readonly url_private_download: string; readonly media_display_type: string; readonly thumb_64: string; readonly thumb_80: string; readonly thumb_360: string; readonly thumb_360_w: number; readonly thumb_360_h: number; readonly thumb_480: string; readonly thumb_480_w: number; readonly thumb_480_h: number; readonly thumb_160: string; readonly thumb_720: string; readonly thumb_720_w: number; readonly thumb_720_h: number; readonly thumb_800: string; readonly thumb_800_w: number; readonly thumb_800_h: number; readonly thumb_960: string; readonly thumb_960_w: number; readonly thumb_960_h: number; readonly thumb_1024: string; readonly thumb_1024_w: number; readonly thumb_1024_h: number; readonly original_w: number; readonly original_h: number; readonly thumb_tiny: string; readonly permalink: string; readonly permalink_public: string; readonly has_rich_preview: boolean; readonly file_access: string; } export interface Room { readonly room: string; readonly name: string; readonly media_server: string; readonly created_by: string; readonly date_start: string; readonly date_end: string; readonly participants: string[]; readonly participant_history: string[]; readonly participants_camera_on: string[]; readonly participants_camera_off: string[]; readonly participants_screenshare_on: string[]; readonly participants_screenshare_off: string[]; readonly canvas_thread_ts: string; readonly thread_roots_ts: string; readonly channels: string[]; readonly is_dm_call: boolean; readonly was_rejected: boolean; readonly was_missed: boolean; readonly was_accepted: boolean; readonly has_ended: boolean; readonly background_id: string; readonly canvas_background: string; readonly huddle_recap_messages: string[]; readonly media_backend_type: string; readonly display_id: string; readonly external_unique_id: string; readonly app_id: string; readonly call_family: string; } export interface Bot { readonly id: string; readonly app_id: string; readonly name: string; readonly icons: Icon; readonly delete: boolean; readonly updated: number; readonly team_id: string; } export interface Metadata { readonly event_type: string; readonly event_payload: { readonly id: string; readonly summary: string; readonly priority: string; readonly resource_type: string; }; } export interface Invite { readonly id: string; readonly data_invalid?: number; readonly data_created: number; readonly inviting_team?: Team; readonly inviting_user?: FullUser; readonly recipient_email?: string; readonly recipient_user_id?: string; } export interface Element { readonly type: string; readonly text?: string | TextObject; readonly verbatim?: string; readonly block_id?: string; readonly user_id?: string; readonly elements?: Element[]; readonly action_id?: string; readonly style?: string; readonly value?: string; readonly action_ts?: string; readonly options?: Option[]; readonly initial_date?: string; readonly placeholder?: TextObject; readonly dispatch_action_config?: { readonly trigger_actions_on?: string[]; }; readonly selected_options?: Option[]; readonly image_url?: string; readonly alt_text?: string; readonly selected_date?: string; readonly [x: string]: any; } export interface Option { readonly text: TextObject; readonly value?: string; readonly description?: TextObject; } //# sourceMappingURL=types.d.ts.map