diff --git a/.changeset/web-api-response-types.md b/.changeset/web-api-response-types.md new file mode 100644 index 000000000..dedf74352 --- /dev/null +++ b/.changeset/web-api-response-types.md @@ -0,0 +1,5 @@ +--- +"@slack/web-api": minor +--- + +feat(web-api): add webapi response changes as of 2026-11-20 diff --git a/packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts b/packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts index 7face3589..9b37f90c1 100644 --- a/packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts @@ -91,8 +91,24 @@ export interface Trigger { export interface Config { description?: string; event_type?: string; + function_inputs?: { [key: string]: FunctionInput }; name?: string; schema?: Inputs; + trigger_type_app_id?: number; + trigger_type_id?: number; +} + +export interface FunctionInput { + hidden?: boolean; + label?: { [key: string]: string }; + locked?: boolean; + value?: ValueClass | string; +} + +export interface ValueClass { + credential_source?: string; + external_token_id?: string; + user_context_source?: string; } export interface TripInformation { diff --git a/packages/web-api/src/types/response/AgentsConversationsListViewsResponse.ts b/packages/web-api/src/types/response/AgentsConversationsListViewsResponse.ts index 2001f4af0..3dd433c17 100644 --- a/packages/web-api/src/types/response/AgentsConversationsListViewsResponse.ts +++ b/packages/web-api/src/types/response/AgentsConversationsListViewsResponse.ts @@ -13,10 +13,22 @@ export type AgentsConversationsListViewsResponse = WebAPICallResult & { needed?: string; ok?: boolean; provided?: string; + session_views?: SessionView[]; views?: View[]; warning?: string; }; +export interface SessionView { + content_version?: number; + date_added?: number; + file_id?: string; + name?: string; + owner_bot_user_id?: string; + type?: string; + view_id?: string; + view_key?: string; +} + export interface View { content_version?: number; date_added?: number; diff --git a/packages/web-api/src/types/response/AppsIconSetResponse.ts b/packages/web-api/src/types/response/AppsIconSetResponse.ts index 4f9b87b9d..6ced1983e 100644 --- a/packages/web-api/src/types/response/AppsIconSetResponse.ts +++ b/packages/web-api/src/types/response/AppsIconSetResponse.ts @@ -13,5 +13,10 @@ export type AppsIconSetResponse = WebAPICallResult & { needed?: string; ok?: boolean; provided?: string; + response_metadata?: ResponseMetadata; warning?: string; }; + +export interface ResponseMetadata { + messages?: string[]; +} diff --git a/packages/web-api/src/types/response/AppsManifestExportResponse.ts b/packages/web-api/src/types/response/AppsManifestExportResponse.ts index bfd275fa3..a77476712 100644 --- a/packages/web-api/src/types/response/AppsManifestExportResponse.ts +++ b/packages/web-api/src/types/response/AppsManifestExportResponse.ts @@ -44,6 +44,7 @@ export interface Features { shortcuts?: Shortcut[]; slash_commands?: SlashCommand[]; unfurl_domains?: string[]; + user_connections?: UserConnections; } export interface AppHome { @@ -72,6 +73,11 @@ export interface SlashCommand { usage_hint?: string; } +export interface UserConnections { + auth_hosts?: string[]; + is_enabled?: boolean; +} + export interface Function { description?: string; input_parameters?: { [key: string]: PutParameter }; @@ -106,6 +112,7 @@ export interface Scopes { export interface Settings { allowed_ip_address_ranges?: string[]; + app_level_token_rotation_enabled?: boolean; background_color?: string; description?: string; event_subscriptions?: EventSubscriptions; diff --git a/packages/web-api/src/types/response/BlocksValidateResponse.ts b/packages/web-api/src/types/response/BlocksValidateResponse.ts index 98ac25f84..26417aede 100644 --- a/packages/web-api/src/types/response/BlocksValidateResponse.ts +++ b/packages/web-api/src/types/response/BlocksValidateResponse.ts @@ -8,7 +8,6 @@ ///////////////////////////////////////////////////////////////////////////////////////// import type { WebAPICallResult } from '../../WebClient'; - export type BlocksValidateResponse = WebAPICallResult & { error?: string; errors?: Error[]; diff --git a/packages/web-api/src/types/response/CanvasesGetContentResponse.ts b/packages/web-api/src/types/response/CanvasesGetContentResponse.ts index 8f363767b..c7844fae6 100644 --- a/packages/web-api/src/types/response/CanvasesGetContentResponse.ts +++ b/packages/web-api/src/types/response/CanvasesGetContentResponse.ts @@ -14,5 +14,8 @@ export type CanvasesGetContentResponse = WebAPICallResult & { needed?: string; ok?: boolean; provided?: string; + response_metadata?: ResponseMetadata; warning?: string; }; + +export type ResponseMetadata = {}; diff --git a/packages/web-api/src/types/response/ChatPostMessageResponse.ts b/packages/web-api/src/types/response/ChatPostMessageResponse.ts index 237f040e9..884fda782 100644 --- a/packages/web-api/src/types/response/ChatPostMessageResponse.ts +++ b/packages/web-api/src/types/response/ChatPostMessageResponse.ts @@ -106,6 +106,8 @@ export interface AssistantAppThreadBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: AccessoryConfirm; @@ -144,6 +146,7 @@ export interface Accessory { type?: AccessoryType; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -332,6 +335,12 @@ export interface AppIconUrls { export interface FileElement { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -340,7 +349,9 @@ export interface FileElement { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -386,6 +397,8 @@ export interface FileElement { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -429,6 +442,7 @@ export interface FileElement { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -500,6 +514,13 @@ export interface FileElement { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; @@ -822,6 +843,7 @@ export interface Attachment { list_schema?: Schema[]; list_view?: View; list_view_id?: string; + media_type?: string; message_blocks?: MessageBlock[]; metadata?: AttachmentMetadata; mimetype?: string; @@ -1026,6 +1048,7 @@ export interface AgentSession { agent_bot_user_ids?: any[]; agent_statuses?: any[]; date_status_processing_expire?: number; + encoded_initiator_user_id?: string; status?: string; title?: string; } @@ -1090,6 +1113,12 @@ export interface Edited { export interface MessageFile { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -1098,7 +1127,9 @@ export interface MessageFile { blocks?: any[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -1144,6 +1175,8 @@ export interface MessageFile { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1187,6 +1220,7 @@ export interface MessageFile { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -1382,11 +1416,27 @@ export interface AttachmentMetadata { original_h?: number; original_w?: number; rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: boolean; + thumb_360?: boolean; thumb_360_h?: number; thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; thumb_tiny?: string; } diff --git a/packages/web-api/src/types/response/ChatScheduleMessageResponse.ts b/packages/web-api/src/types/response/ChatScheduleMessageResponse.ts index 65378d1b8..f5f7c8f5d 100644 --- a/packages/web-api/src/types/response/ChatScheduleMessageResponse.ts +++ b/packages/web-api/src/types/response/ChatScheduleMessageResponse.ts @@ -96,6 +96,8 @@ export interface AssistantAppThreadBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -134,6 +136,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -303,6 +306,12 @@ export interface AppIconUrls { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -311,7 +320,9 @@ export interface File { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -357,6 +368,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -400,6 +413,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -471,6 +485,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; diff --git a/packages/web-api/src/types/response/ChatStopStreamResponse.ts b/packages/web-api/src/types/response/ChatStopStreamResponse.ts index e30b45212..6794d5993 100644 --- a/packages/web-api/src/types/response/ChatStopStreamResponse.ts +++ b/packages/web-api/src/types/response/ChatStopStreamResponse.ts @@ -90,6 +90,8 @@ export interface MessageBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -128,6 +130,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -297,6 +300,12 @@ export interface AppIconUrls { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -305,7 +314,9 @@ export interface File { blocks?: TitleBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -351,6 +362,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -394,6 +407,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -465,6 +479,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface TitleBlockElement { accessory?: Accessory; alt_text?: string; diff --git a/packages/web-api/src/types/response/ChatUpdateResponse.ts b/packages/web-api/src/types/response/ChatUpdateResponse.ts index 48e1cc39f..6027a8323 100644 --- a/packages/web-api/src/types/response/ChatUpdateResponse.ts +++ b/packages/web-api/src/types/response/ChatUpdateResponse.ts @@ -102,6 +102,8 @@ export interface AssistantAppThreadBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -140,6 +142,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -309,6 +312,12 @@ export interface AppIconUrls { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -317,7 +326,9 @@ export interface File { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -363,6 +374,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -406,6 +419,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -477,6 +491,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; diff --git a/packages/web-api/src/types/response/ConversationsCreateResponse.ts b/packages/web-api/src/types/response/ConversationsCreateResponse.ts index 23d895e9d..0427dd23e 100644 --- a/packages/web-api/src/types/response/ConversationsCreateResponse.ts +++ b/packages/web-api/src/types/response/ConversationsCreateResponse.ts @@ -45,6 +45,7 @@ export interface Channel { pending_shared?: string[]; previous_names?: string[]; priority?: number; + properties?: Properties; purpose?: Purpose; shared_team_ids?: string[]; topic?: Purpose; @@ -52,6 +53,8 @@ export interface Channel { updated?: number; } +export type Properties = {}; + export interface Purpose { creator?: string; last_set?: number; diff --git a/packages/web-api/src/types/response/ConversationsHistoryResponse.ts b/packages/web-api/src/types/response/ConversationsHistoryResponse.ts index a69f4343c..bf5845573 100644 --- a/packages/web-api/src/types/response/ConversationsHistoryResponse.ts +++ b/packages/web-api/src/types/response/ConversationsHistoryResponse.ts @@ -68,6 +68,7 @@ export interface AgentSession { agent_bot_user_ids?: string[]; agent_statuses?: AgentStatus[]; date_status_processing_expire?: number; + encoded_initiator_user_id?: string; status?: string; title?: string; } @@ -140,6 +141,8 @@ export interface AssistantAppThreadBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: AccessoryConfirm; @@ -178,6 +181,7 @@ export interface Accessory { type?: AccessoryType; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -366,6 +370,12 @@ export interface AppIconUrls { export interface FileElement { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -374,7 +384,9 @@ export interface FileElement { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -420,6 +432,8 @@ export interface FileElement { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -463,6 +477,7 @@ export interface FileElement { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -534,6 +549,13 @@ export interface FileElement { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; @@ -856,6 +878,7 @@ export interface Attachment { list_schema?: Schema[]; list_view?: View; list_view_id?: string; + media_type?: string; message_blocks?: MessageBlock[]; metadata?: AttachmentMetadata; mimetype?: string; @@ -1116,6 +1139,12 @@ export interface Edited { export interface PurpleFile { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -1124,7 +1153,9 @@ export interface PurpleFile { blocks?: any[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -1170,6 +1201,8 @@ export interface PurpleFile { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1213,6 +1246,7 @@ export interface PurpleFile { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -1405,11 +1439,27 @@ export interface AttachmentMetadata { original_h?: number; original_w?: number; rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: boolean; + thumb_360?: boolean; thumb_360_h?: number; thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; thumb_tiny?: string; } diff --git a/packages/web-api/src/types/response/ConversationsInfoResponse.ts b/packages/web-api/src/types/response/ConversationsInfoResponse.ts index 93b6861f4..09f5c3dd8 100644 --- a/packages/web-api/src/types/response/ConversationsInfoResponse.ts +++ b/packages/web-api/src/types/response/ConversationsInfoResponse.ts @@ -29,6 +29,7 @@ export interface Channel { is_archived?: boolean; is_channel?: boolean; is_ext_shared?: boolean; + is_file?: boolean; is_general?: boolean; is_global_shared?: boolean; is_group?: boolean; @@ -75,6 +76,7 @@ export interface Properties { export interface AgentSession { agent_bot_user_ids?: string[]; encoded_agent_bot_user_ids?: string[]; + encoded_initiator_user_id?: string; origin_link?: OriginLink; status?: string; title?: string; diff --git a/packages/web-api/src/types/response/ConversationsInviteResponse.ts b/packages/web-api/src/types/response/ConversationsInviteResponse.ts index ff7b67bf1..a3faf6cdc 100644 --- a/packages/web-api/src/types/response/ConversationsInviteResponse.ts +++ b/packages/web-api/src/types/response/ConversationsInviteResponse.ts @@ -44,6 +44,7 @@ export interface Channel { pending_connected_team_ids?: string[]; pending_shared?: string[]; previous_names?: string[]; + properties?: Properties; purpose?: Purpose; shared_team_ids?: string[]; topic?: Purpose; @@ -51,6 +52,8 @@ export interface Channel { updated?: number; } +export type Properties = {}; + export interface Purpose { creator?: string; last_set?: number; diff --git a/packages/web-api/src/types/response/ConversationsListResponse.ts b/packages/web-api/src/types/response/ConversationsListResponse.ts index 52204eb30..c861c7a4f 100644 --- a/packages/web-api/src/types/response/ConversationsListResponse.ts +++ b/packages/web-api/src/types/response/ConversationsListResponse.ts @@ -21,15 +21,21 @@ export type ConversationsListResponse = WebAPICallResult & { }; export interface Channel { + channel_email_addresses?: ChannelEmailAddress[]; + connected_limited_team_ids?: string[]; + connected_team_ids?: string[]; context_team_id?: string; conversation_host_id?: string; created?: number; creator?: string; + date_connected?: number; + enterprise_id?: string; id?: string; internal_team_ids?: string[]; is_archived?: boolean; is_channel?: boolean; is_ext_shared?: boolean; + is_file?: boolean; is_general?: boolean; is_global_shared?: boolean; is_group?: boolean; @@ -37,16 +43,25 @@ export interface Channel { is_member?: boolean; is_moved?: number; is_mpim?: boolean; + is_non_threadable?: boolean; + is_open?: boolean; is_org_default?: boolean; is_org_mandatory?: boolean; is_org_shared?: boolean; is_pending_ext_shared?: boolean; is_private?: boolean; + is_read_only?: boolean; is_shared?: boolean; + is_starred?: boolean; + is_thread_only?: boolean; is_user_deleted?: boolean; + last_read?: string; + latest?: Latest; + locale?: string; name?: string; name_normalized?: string; num_members?: number; + parent_conversation?: string; pending_connected_team_ids?: string[]; pending_shared?: string[]; previous_names?: string[]; @@ -56,14 +71,1462 @@ export interface Channel { shared_team_ids?: string[]; topic?: Purpose; unlinked?: number; + unread_count?: number; + unread_count_display?: number; updated?: number; user?: string; } +export interface ChannelEmailAddress { + address?: string; + conversation_id?: string; + date_created?: number; + icons?: ChannelEmailAddressIcons; + name?: string; + team_id?: string; + user_id?: string; +} + +export interface ChannelEmailAddressIcons { + image_36?: string; + image_48?: string; + image_72?: string; +} + +export interface Latest { + app_id?: string; + assistant_app_thread?: AssistantAppThread; + attachments?: Attachment[]; + blocks?: AssistantAppThreadBlock[]; + bot_id?: string; + bot_link?: string; + bot_profile?: BotProfile; + client_msg_id?: string; + display_as_bot?: boolean; + edited?: Edited; + files?: FileElement[]; + icons?: MessageIcons; + metadata?: MessageMetadata; + parent_user_id?: string; + reactions?: Reaction[]; + root?: Root; + subtype?: string; + team?: string; + text?: string; + thread_ts?: string; + topic?: string; + ts?: string; + type?: string; + upload?: boolean; + user?: string; + username?: string; + x_files?: string[]; +} + +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: AssistantAppThreadBlock[]; +} + +export interface AssistantAppThreadBlock { + accessory?: Accessory; + alt_text?: string; + api_decoration_available?: boolean; + app_collaborators?: string[]; + app_id?: string; + author_name?: string; + block_id?: string; + bot_user_id?: string; + button_label?: string; + call?: Call; + call_id?: string; + description?: DescriptionElement; + developer_trace_id?: string; + dispatch_action?: boolean; + element?: Accessory; + elements?: Accessory[]; + expand?: boolean; + external_id?: string; + fallback?: string; + fields?: DescriptionElement[]; + file?: FileElement; + file_id?: string; + function_trigger_id?: string; + hint?: DescriptionElement; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + is_animated?: boolean; + is_workflow_app?: boolean; + label?: DescriptionElement; + optional?: boolean; + owning_team_id?: string; + provider_icon_url?: string; + provider_name?: string; + sales_home_workflow_app_type?: number; + share_url?: string; + slack_file?: SlackFile; + source?: string; + text?: DescriptionElement; + thumbnail_url?: string; + title?: DescriptionElement; + title_url?: string; + trigger_subtype?: string; + trigger_type?: string; + type?: BlockType; + url?: string; + video_url?: string; + workflow_id?: string; +} + +export interface Accessory { + accessibility_label?: string; + action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; + alt_text?: string; + border?: number; + confirm?: AccessoryConfirm; + default_to_current_conversation?: boolean; + elements?: AccessoryElement[]; + fallback?: string; + filter?: AccessoryFilter; + focus_on_load?: boolean; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + indent?: number; + initial_channel?: string; + initial_channels?: string[]; + initial_conversation?: string; + initial_conversations?: string[]; + initial_date?: string; + initial_date_time?: number; + initial_option?: InitialOptionElement; + initial_options?: InitialOptionElement[]; + initial_time?: string; + initial_user?: string; + initial_users?: string[]; + max_selected_items?: number; + min_query_length?: number; + offset?: number; + option_groups?: AccessoryOptionGroup[]; + options?: InitialOptionElement[]; + placeholder?: DescriptionElement; + response_url_enabled?: boolean; + slack_file?: SlackFile; + style?: string; + text?: DescriptionElement; + timezone?: string; + type?: AccessoryType; + url?: string; + value?: string; + visible_to_user_ids?: any[]; + workflow?: Workflow; +} + +export interface AccessoryConfirm { + confirm?: DescriptionElement; + deny?: DescriptionElement; + style?: string; + text?: DescriptionElement; + title?: DescriptionElement; +} + +export interface DescriptionElement { + emoji?: boolean; + text?: string; + type?: DescriptionType; + verbatim?: boolean; +} + +export enum DescriptionType { + Mrkdwn = 'mrkdwn', + PlainText = 'plain_text', +} + +export interface AccessoryElement { + border?: number; + elements?: PurpleElement[]; + indent?: number; + offset?: number; + style?: string; + type?: AccessoryType; +} + +export interface PurpleElement { + channel_id?: string; + fallback?: string; + format?: string; + name?: string; + range?: string; + skin_tone?: number; + style?: Style; + team_id?: string; + text?: string; + timestamp?: number; + type?: PurpleType; + unicode?: string; + unsafe?: boolean; + url?: string; + user_id?: string; + usergroup_id?: string; + value?: string; +} + +export interface Style { + bold?: boolean; + client_highlight?: boolean; + code?: boolean; + highlight?: boolean; + italic?: boolean; + strike?: boolean; + underline?: boolean; + unlink?: boolean; +} + +export enum PurpleType { + Broadcast = 'broadcast', + Channel = 'channel', + Color = 'color', + Date = 'date', + Emoji = 'emoji', + Link = 'link', + Team = 'team', + Text = 'text', + User = 'user', + Usergroup = 'usergroup', +} + +export enum AccessoryType { + Button = 'button', + ChannelsSelect = 'channels_select', + Checkboxes = 'checkboxes', + ConversationsSelect = 'conversations_select', + Datepicker = 'datepicker', + Datetimepicker = 'datetimepicker', + ExternalSelect = 'external_select', + Image = 'image', + MultiChannelsSelect = 'multi_channels_select', + MultiConversationsSelect = 'multi_conversations_select', + MultiExternalSelect = 'multi_external_select', + MultiStaticSelect = 'multi_static_select', + MultiUsersSelect = 'multi_users_select', + Overflow = 'overflow', + RadioButtons = 'radio_buttons', + RichTextList = 'rich_text_list', + RichTextPreformatted = 'rich_text_preformatted', + RichTextQuote = 'rich_text_quote', + RichTextSection = 'rich_text_section', + StaticSelect = 'static_select', + Timepicker = 'timepicker', + UsersSelect = 'users_select', + WorkflowButton = 'workflow_button', +} + +export interface AccessoryFilter { + exclude_bot_users?: boolean; + exclude_external_shared_channels?: boolean; + include?: any[]; +} + +export interface InitialOptionElement { + description?: DescriptionElement; + text?: DescriptionElement; + url?: string; + value?: string; +} + +export interface AccessoryOptionGroup { + label?: DescriptionElement; + options?: InitialOptionElement[]; +} + +export interface SlackFile { + id?: string; + url?: string; +} + +export interface Workflow { + trigger?: Trigger; +} + +export interface Trigger { + customizable_input_parameters?: CustomizableInputParameter[]; + url?: string; +} + +export interface CustomizableInputParameter { + name?: string; + value?: string; +} + +export interface Call { + media_backend_type?: string; + v1?: V1; +} + +export interface V1 { + active_participants?: Participant[]; + all_participants?: Participant[]; + app_icon_urls?: AppIconUrls; + app_id?: string; + channels?: string[]; + created_by?: string; + date_end?: number; + date_start?: number; + desktop_app_join_url?: string; + display_id?: string; + has_ended?: boolean; + id?: string; + is_dm_call?: boolean; + join_url?: string; + name?: string; + was_accepted?: boolean; + was_missed?: boolean; + was_rejected?: boolean; +} + +export interface Participant { + avatar_url?: string; + display_name?: string; + external_id?: string; + slack_id?: string; +} + +export interface AppIconUrls { + image_1024?: string; + image_128?: string; + image_192?: string; + image_32?: string; + image_36?: string; + image_48?: string; + image_512?: string; + image_64?: string; + image_72?: string; + image_96?: string; + image_original?: string; +} + +export interface FileElement { + access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; + alt_txt?: string; + app_id?: string; + app_name?: string; + app_provides_file_work_objects?: boolean; + attachments?: any[]; + blocks?: DescriptionBlockElement[]; + bot_id?: string; + can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; + canvas_creator_id?: string; + canvas_default_agent_id?: string; + canvas_printing_enabled?: boolean; + canvas_readtime?: number; + canvas_template_mode?: string; + cc?: Cc[]; + channel_actions_count?: number; + channel_actions_ts?: string; + channels?: string[]; + comments_count?: number; + converted_pdf?: string; + created?: number; + deanimate?: string; + deanimate_gif?: string; + display_as_bot?: boolean; + dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[]; + duration_ms?: number; + edit_link?: string; + edit_timestamp?: number; + editable?: boolean; + editor?: string; + editors?: string[]; + external_id?: string; + external_type?: string; + external_url?: string; + favorites?: Favorite[]; + file_access?: string; + filetype?: string; + from?: Cc[]; + groups?: string[]; + has_more?: boolean; + has_more_shares?: boolean; + has_rich_preview?: boolean; + headers?: Headers; + hls?: string; + hls_embed?: string; + id?: string; + image_exif_rotation?: number; + ims?: string[]; + initial_comment?: InitialComment; + inline_attachment_count?: number; + is_ai_suggested?: boolean; + is_channel_space?: boolean; + is_external?: boolean; + is_modified_by_ai?: boolean; + is_public?: boolean; + is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; + is_starred?: boolean; + last_editor?: string; + last_read?: number; + lines?: number; + lines_more?: number; + linked_channel_id?: string; + list_csv_download_url?: string; + list_limits?: ListLimits; + list_metadata?: ListMetadata; + media_display_type?: string; + media_progress?: MediaProgress; + mimetype?: string; + mode?: string; + mp4?: string; + mp4_low?: string; + name?: string; + non_owner_editable?: boolean; + num_stars?: number; + org_or_workspace_access?: string; + original_attachment_count?: number; + original_h?: string; + original_w?: string; + permalink?: string; + permalink_public?: string; + pinned_to?: string[]; + pjpeg?: string; + plain_text?: string; + pretty_type?: string; + preview?: string; + preview_highlight?: string; + preview_is_truncated?: boolean; + preview_plain_text?: string; + private_channels_with_file_access_count?: number; + private_file_with_access_count?: number; + public_url_shared?: boolean; + quip_thread_id?: string; + reactions?: Reaction[]; + saved?: Saved; + sent_to_self?: boolean; + shares?: Shares; + show_badge?: boolean; + simplified_html?: string; + size?: number; + skill_description?: string; + skipped_shares?: boolean; + source_team?: string; + subject?: string; + subtype?: string; + team_pref_version_history_enabled?: boolean; + teams_shared_with?: any[]; + template_conversion_ts?: number; + template_description?: string; + template_icon?: string; + template_name?: string; + template_title?: string; + thumb_1024?: string; + thumb_1024_gif?: string; + thumb_1024_h?: string; + thumb_1024_w?: string; + thumb_160?: string; + thumb_160_gif?: string; + thumb_160_h?: string; + thumb_160_w?: string; + thumb_360?: string; + thumb_360_gif?: string; + thumb_360_h?: string; + thumb_360_w?: string; + thumb_480?: string; + thumb_480_gif?: string; + thumb_480_h?: string; + thumb_480_w?: string; + thumb_64?: string; + thumb_64_gif?: string; + thumb_64_h?: string; + thumb_64_w?: string; + thumb_720?: string; + thumb_720_gif?: string; + thumb_720_h?: string; + thumb_720_w?: string; + thumb_80?: string; + thumb_800?: string; + thumb_800_gif?: string; + thumb_800_h?: string; + thumb_800_w?: string; + thumb_80_gif?: string; + thumb_80_h?: string; + thumb_80_w?: string; + thumb_960?: string; + thumb_960_gif?: string; + thumb_960_h?: string; + thumb_960_w?: string; + thumb_gif?: string; + thumb_pdf?: string; + thumb_pdf_h?: string; + thumb_pdf_w?: string; + thumb_tiny?: string; + thumb_video?: string; + thumb_video_h?: number; + thumb_video_w?: number; + timestamp?: number; + title?: string; + title_blocks?: DescriptionBlockElement[]; + to?: Cc[]; + transcription?: Transcription; + update_notification?: number; + updated?: number; + url_private?: string; + url_private_download?: string; + url_static_preview?: string; + user?: string; + user_team?: string; + username?: string; + vtt?: string; +} + +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + +export interface DescriptionBlockElement { + accessory?: Accessory; + alt_text?: string; + app_collaborators?: string[]; + app_id?: string; + author_name?: string; + block_id?: string; + bot_user_id?: string; + button_label?: string; + description?: DescriptionElement | string; + developer_trace_id?: string; + elements?: Accessory[]; + expand?: boolean; + fallback?: string; + fields?: DescriptionElement[]; + function_trigger_id?: string; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + is_animated?: boolean; + is_workflow_app?: boolean; + owning_team_id?: string; + provider_icon_url?: string; + provider_name?: string; + sales_home_workflow_app_type?: number; + share_url?: string; + slack_file?: SlackFile; + text?: DescriptionElement; + thumbnail_url?: string; + title?: DescriptionElement | string; + title_url?: string; + trigger_subtype?: string; + trigger_type?: string; + type?: BlockType; + url?: string; + video_url?: string; + workflow_id?: string; +} + +export enum BlockType { + Actions = 'actions', + Context = 'context', + Divider = 'divider', + Image = 'image', + RichText = 'rich_text', + Section = 'section', + ShareShortcut = 'share_shortcut', + Video = 'video', +} + +export interface Cc { + address?: string; + name?: string; + original?: string; + slack_user_id?: string; +} + +export interface DmMpdmUsersWithFileAccess { + access?: string; + user_id?: string; +} + +export interface Favorite { + collection_id?: string; + collection_name?: string; + position?: string; +} + +export interface Headers { + date?: string; + in_reply_to?: string; + message_id?: string; + reply_to?: string; +} + +export interface InitialComment { + channel?: string; + comment?: string; + created?: number; + id?: string; + is_intro?: boolean; + timestamp?: number; + user?: string; +} + +export interface ListLimits { + archived_row_count?: number; + column_count?: number; + column_count_limit?: number; + max_attachments_per_cell?: number; + over_column_maximum?: boolean; + over_row_maximum?: boolean; + over_view_maximum?: boolean; + row_count?: number; + row_count_limit?: number; + view_count?: number; + view_count_limit?: number; +} + +export interface ListMetadata { + creation_source?: CreationSource; + default_view?: string; + description?: string; + description_blocks?: DescriptionBlockElement[]; + icon?: string; + icon_team_id?: string; + icon_url?: string; + integrations?: string[]; + is_trial?: boolean; + schema?: Schema[]; + subtask_schema?: any[]; + todo_mode?: boolean; + views?: View[]; +} + +export interface CreationSource { + reference_id?: string; + type?: string; + workflow_function_id?: string; +} + +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: ListSchemaOptions; + type?: string; +} + +export interface ListSchemaOptions { + canvas_id?: string; + canvas_placeholder_mapping?: CanvasPlaceholderMapping[]; + choices?: Choice[]; + currency?: string; + currency_format?: string; + date_format?: string; + default_value?: string; + default_value_typed?: DefaultValueTyped; + emoji?: string; + emoji_team_id?: string; + emoji_url?: string; + for_assignment?: boolean; + format?: string; + linked_to?: string[]; + mark_as_done_when_checked?: boolean; + max?: number; + notify_users?: boolean; + precision?: number; + rounding?: string; + show_member_name?: boolean; + time_format?: string; +} + +export interface CanvasPlaceholderMapping { + column?: string; + variable?: string; +} + +export interface Choice { + color?: string; + label?: string; + value?: string; +} + +export interface DefaultValueTyped { + channel?: any[]; + select?: string[]; + user?: any[]; +} + +export interface View { + calculations?: any[]; + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + info_column_filters?: any[]; + is_all_items_view?: boolean; + is_locked?: boolean; + is_template_initial_view?: boolean; + name?: string; + options?: ListViewOptions; + position?: string; + row_height?: number; + show_completed_items?: boolean; + sorts?: any[]; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + should_wrap_text?: boolean; + visible?: boolean; + width?: number; +} + +export interface FilterElement { + column_id?: string; + key?: string; + operator?: string; + typed_values?: any[]; + values?: string[]; +} + +export interface Grouping { + group_by?: string; + group_by_column_id?: string; + order?: any[]; +} + +export interface ListViewOptions { + calendar_field?: string; + cover_field?: string; + cover_fit?: string; +} + +export interface MediaProgress { + duration_ms?: number; + max_offset_ms?: number; + media_watched?: boolean; + offset_ms?: number; +} + +export interface Reaction { + count?: number; + name?: string; + url?: string; + users?: string[]; +} + +export interface Saved { + date_completed?: number; + date_due?: number; + is_archived?: boolean; + state?: string; +} + +export interface Shares { + private?: { [key: string]: Private[] }; + public?: { [key: string]: Private[] }; +} + +export interface Private { + access?: string; + channel_name?: string; + date_last_shared?: number; + is_silent_share?: boolean; + latest_reply?: string; + reply_count?: number; + reply_users?: string[]; + reply_users_count?: number; + share_user_id?: string; + source?: string; + team_id?: string; + thread_ts?: string; + ts?: string; +} + +export interface Transcription { + locale?: string; + preview?: TranscriptionPreview; + status?: string; +} + +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + +export interface Attachment { + actions?: Action[]; + app_id?: string; + app_unfurl_url?: string; + author_icon?: string; + author_id?: string; + author_link?: string; + author_name?: string; + author_subname?: string; + blocks?: DescriptionBlockElement[]; + bot_id?: string; + bot_team_id?: string; + callback_id?: string; + channel_id?: string; + channel_name?: string; + channel_team?: string; + color?: string; + fallback?: string; + fields?: AttachmentField[]; + file_id?: string; + filename?: string; + files?: FileElement[]; + footer?: string; + footer_icon?: string; + from_url?: string; + hide_border?: boolean; + hide_color?: boolean; + id?: number; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + indent?: boolean; + is_app_unfurl?: boolean; + is_file_attachment?: boolean; + is_msg_unfurl?: boolean; + is_reply_unfurl?: boolean; + is_thread_root_unfurl?: boolean; + list?: List; + list_record?: PurpleListRecord; + list_record_id?: string; + list_records?: ListRecordElement[]; + list_schema?: Schema[]; + list_view?: View; + list_view_id?: string; + media_type?: string; + message_blocks?: MessageBlock[]; + metadata?: AttachmentMetadata; + mimetype?: string; + mrkdwn_in?: string[]; + msg_subtype?: string; + original_url?: string; + pretext?: string; + preview?: AttachmentPreview; + service_icon?: string; + service_name?: string; + service_url?: string; + size?: number; + slack_file_id?: string; + text?: string; + thumb_height?: number; + thumb_url?: string; + thumb_width?: number; + title?: string; + title_link?: string; + ts?: string; + url?: string; + video_html?: string; + video_html_height?: number; + video_html_width?: number; + video_url?: string; +} + +export interface Action { + confirm?: ActionConfirm; + data_source?: string; + id?: string; + min_query_length?: number; + name?: string; + option_groups?: ActionOptionGroup[]; + options?: SelectedOptionElement[]; + selected_options?: SelectedOptionElement[]; + style?: string; + text?: string; + type?: AccessoryType; + url?: string; + value?: string; +} + +export interface ActionConfirm { + dismiss_text?: string; + ok_text?: string; + text?: string; + title?: string; +} + +export interface ActionOptionGroup { + options?: SelectedOptionElement[]; + text?: string; +} + +export interface SelectedOptionElement { + text?: string; + value?: string; +} + +export interface AttachmentField { + short?: boolean; + title?: string; + value?: string; +} + +export interface List { + channels?: string[]; + comments_count?: number; + created?: number; + display_as_bot?: boolean; + dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[]; + editable?: boolean; + external_type?: string; + file_access?: string; + filetype?: string; + groups?: string[]; + has_more_shares?: boolean; + has_rich_preview?: boolean; + id?: string; + ims?: string[]; + is_external?: boolean; + is_public?: boolean; + last_editor?: string; + list_limits?: ListLimits; + list_metadata?: ListMetadata; + mimetype?: string; + mode?: string; + name?: string; + permalink?: string; + permalink_public?: string; + pretty_type?: string; + private_channels_with_file_access_count?: number; + private_file_with_access_count?: number; + public_url_shared?: boolean; + shares?: Knocks; + size?: number; + timestamp?: number; + title?: string; + updated?: number; + url_private?: string; + url_private_download?: string; + user?: string; + user_team?: string; + username?: string; +} + +export type Knocks = {}; + +export interface PurpleListRecord { + record?: Record; + schema?: Schema[]; +} + +export interface Record { + fields?: RecordField[]; + record_id?: string; +} + +export interface RecordField { + attachment?: any[]; + channel?: any[]; + checkbox?: boolean; + column_id?: string; + date?: any[]; + email?: any[]; + key?: string; + link?: any[]; + message?: Message; + number?: any[]; + phone?: any[]; + rating?: any[]; + reference?: any[]; + rich_text?: any[]; + select?: any[]; + text?: string; + timestamp?: any[]; + user?: any[]; + value?: string; +} + +export interface Message { + agent_session?: AgentSession; + app_id?: string; + assistant_app_thread?: AssistantAppThread; + attachments?: any[]; + blocks?: DescriptionBlockElement[]; + bot_id?: string; + bot_link?: string; + bot_profile?: BotProfile; + channel?: string; + client_msg_id?: string; + comment?: Comment; + display_as_bot?: boolean; + edited?: Edited; + file?: MessageFile; + files?: any[]; + hidden?: boolean; + icons?: MessageIcons; + inviter?: string; + is_intro?: boolean; + is_locked?: boolean; + is_starred?: boolean; + is_thread_broadcast?: boolean; + item?: Comment; + item_type?: string; + language?: Language; + last_read?: string; + latest_reply?: string; + metadata?: MessageMetadata; + no_notifications?: boolean; + parent_user_id?: string; + permalink?: string; + pinned_to?: any[]; + purpose?: string; + reactions?: any[]; + replies?: any[]; + reply_count?: number; + reply_users?: any[]; + reply_users_count?: number; + room?: Room; + root?: Root; + streaming_state?: string; + subscribed?: boolean; + subtype?: string; + team?: string; + text?: string; + thread_ts?: string; + topic?: string; + ts?: string; + type?: string; + unfurl_links?: boolean; + unfurl_media?: boolean; + upload?: boolean; + user?: string; + username?: string; + wibblr?: boolean; + x_files?: any[]; +} + +export interface AgentSession { + agent_bot_user_ids?: any[]; + agent_statuses?: any[]; + date_status_processing_expire?: number; + encoded_initiator_user_id?: string; + status?: string; + title?: string; +} + +export interface BotProfile { + app_id?: string; + deleted?: boolean; + icons?: ChannelEmailAddressIcons; + id?: string; + name?: string; + team_id?: string; + updated?: number; + user_id?: string; +} + +export interface Comment { + comment?: string; + created?: string; + display_as_bot?: boolean; + edit_link?: string; + editable?: boolean; + external_type?: string; + filetype?: string; + has_rich_preview?: boolean; + id?: string; + is_external?: boolean; + is_intro?: boolean; + is_public?: boolean; + is_starred?: boolean; + lines?: number; + lines_more?: number; + media_display_type?: string; + mimetype?: string; + mode?: string; + name?: string; + permalink?: string; + permalink_public?: boolean; + pretty_type?: string; + preview?: string; + preview_highlight?: string; + preview_is_truncated?: boolean; + public_url_shared?: boolean; + size?: number; + timestamp?: string; + title?: string; + url_private?: string; + url_private_download?: boolean; + user?: string; + username?: string; +} + +export interface Edited { + ts?: string; + user?: string; +} + +export interface MessageFile { + access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; + alt_txt?: string; + app_id?: string; + app_name?: string; + app_provides_file_work_objects?: boolean; + attachments?: any[]; + blocks?: any[]; + bot_id?: string; + can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; + canvas_creator_id?: string; + canvas_default_agent_id?: string; + canvas_printing_enabled?: boolean; + canvas_readtime?: number; + canvas_template_mode?: string; + cc?: any[]; + channel_actions_count?: number; + channel_actions_ts?: string; + channels?: any[]; + comments_count?: number; + converted_pdf?: string; + created?: number; + deanimate?: string; + deanimate_gif?: string; + display_as_bot?: boolean; + dm_mpdm_users_with_file_access?: any[]; + duration_ms?: number; + edit_link?: string; + edit_timestamp?: number; + editable?: boolean; + editor?: string; + editors?: any[]; + external_id?: string; + external_type?: string; + external_url?: string; + favorites?: any[]; + file_access?: string; + filetype?: string; + from?: any[]; + groups?: any[]; + has_more?: boolean; + has_more_shares?: boolean; + has_rich_preview?: boolean; + headers?: Headers; + hls?: string; + hls_embed?: string; + id?: string; + image_exif_rotation?: number; + ims?: any[]; + initial_comment?: InitialComment; + inline_attachment_count?: number; + is_ai_suggested?: boolean; + is_channel_space?: boolean; + is_external?: boolean; + is_modified_by_ai?: boolean; + is_public?: boolean; + is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; + is_starred?: boolean; + last_editor?: string; + last_read?: number; + lines?: number; + lines_more?: number; + linked_channel_id?: string; + list_csv_download_url?: string; + list_limits?: ListLimits; + list_metadata?: ListMetadata; + media_display_type?: string; + media_progress?: MediaProgress; + mimetype?: string; + mode?: string; + mp4?: string; + mp4_low?: string; + name?: string; + non_owner_editable?: boolean; + num_stars?: number; + org_or_workspace_access?: string; + original_attachment_count?: number; + original_h?: string; + original_w?: string; + permalink?: string; + permalink_public?: string; + pinned_to?: any[]; + pjpeg?: string; + plain_text?: string; + pretty_type?: string; + preview?: string; + preview_highlight?: string; + preview_is_truncated?: boolean; + preview_plain_text?: string; + private_channels_with_file_access_count?: number; + private_file_with_access_count?: number; + public_url_shared?: boolean; + quip_thread_id?: string; + reactions?: any[]; + saved?: Saved; + sent_to_self?: boolean; + shares?: Knocks; + show_badge?: boolean; + simplified_html?: string; + size?: number; + skill_description?: string; + skipped_shares?: boolean; + source_team?: string; + subject?: string; + subtype?: string; + team_pref_version_history_enabled?: boolean; + teams_shared_with?: any[]; + template_conversion_ts?: number; + template_description?: string; + template_icon?: string; + template_name?: string; + template_title?: string; + thumb_1024?: string; + thumb_1024_gif?: string; + thumb_1024_h?: string; + thumb_1024_w?: string; + thumb_160?: string; + thumb_160_gif?: string; + thumb_160_h?: string; + thumb_160_w?: string; + thumb_360?: string; + thumb_360_gif?: string; + thumb_360_h?: string; + thumb_360_w?: string; + thumb_480?: string; + thumb_480_gif?: string; + thumb_480_h?: string; + thumb_480_w?: string; + thumb_64?: string; + thumb_64_gif?: string; + thumb_64_h?: string; + thumb_64_w?: string; + thumb_720?: string; + thumb_720_gif?: string; + thumb_720_h?: string; + thumb_720_w?: string; + thumb_80?: string; + thumb_800?: string; + thumb_800_gif?: string; + thumb_800_h?: string; + thumb_800_w?: string; + thumb_80_gif?: string; + thumb_80_h?: string; + thumb_80_w?: string; + thumb_960?: string; + thumb_960_gif?: string; + thumb_960_h?: string; + thumb_960_w?: string; + thumb_gif?: string; + thumb_pdf?: string; + thumb_pdf_h?: string; + thumb_pdf_w?: string; + thumb_tiny?: string; + thumb_video?: string; + thumb_video_h?: number; + thumb_video_w?: number; + timestamp?: number; + title?: string; + title_blocks?: any[]; + to?: any[]; + transcription?: Transcription; + update_notification?: number; + updated?: number; + url_private?: string; + url_private_download?: string; + url_static_preview?: string; + user?: string; + user_team?: string; + username?: string; + vtt?: string; +} + +export interface MessageIcons { + emoji?: string; + image_36?: string; + image_48?: string; + image_64?: string; + image_72?: string; +} + +export interface Language { + is_reliable?: boolean; + locale?: string; +} + +export interface MessageMetadata { + event_type?: string; +} + +export interface Room { + app_id?: string; + attached_file_ids?: string[]; + background_id?: string; + call_family?: string; + canvas_background?: string; + canvas_thread_ts?: string; + channels?: string[]; + created_by?: string; + date_end?: number; + date_start?: number; + display_id?: string; + external_unique_id?: string; + has_ended?: boolean; + huddle_link?: string; + id?: string; + is_dm_call?: boolean; + is_prewarmed?: boolean; + is_scheduled?: boolean; + knocks?: Knocks; + last_invite_status_by_user?: Knocks; + media_backend_type?: string; + media_server?: string; + name?: string; + participant_history?: string[]; + participants?: string[]; + participants_camera_off?: string[]; + participants_camera_on?: string[]; + participants_screenshare_off?: string[]; + participants_screenshare_on?: string[]; + pending_invitees?: Knocks; + recording?: Recording; + thread_root_ts?: string; + was_accepted?: boolean; + was_missed?: boolean; + was_rejected?: boolean; +} + +export interface Recording { + can_record_summary?: string; + notetaking?: boolean; + summary?: boolean; + summary_status?: string; + transcript?: boolean; +} + +export interface Root { + bot_id?: string; + bot_profile?: BotProfile; + edited?: Edited; + icons?: MessageIcons; + last_read?: string; + latest_reply?: string; + mrkdwn?: boolean; + no_notifications?: boolean; + parent_user_id?: string; + replies?: Edited[]; + reply_count?: number; + reply_users?: string[]; + reply_users_count?: number; + room?: Room; + subscribed?: boolean; + subtype?: string; + team?: string; + text?: string; + thread_ts?: string; + ts?: string; + type?: string; + unread_count?: number; + user?: string; + username?: string; +} + +export interface ListRecordElement { + created_by?: string; + date_created?: number; + fields?: RecordField[]; + id?: string; + is_subscribed?: boolean; + list_id?: string; + platform_refs?: PlatformRefs; + position?: string; + saved?: Saved; + thread_ts?: string; + updated_by?: string; + updated_timestamp?: string; +} + +export interface PlatformRefs { + bot_created_by?: string; + bot_deleted_by?: string; + bot_updated_by?: string; +} + +export interface MessageBlock { + channel?: string; + message?: Message; + team?: string; + ts?: string; +} + +export interface AttachmentMetadata { + extension?: string; + format?: string; + original_h?: number; + original_w?: number; + rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; + thumb_160?: boolean; + thumb_360?: boolean; + thumb_360_h?: number; + thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; + thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; + thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; + thumb_tiny?: string; +} + +export interface AttachmentPreview { + can_remove?: boolean; + icon_url?: string; + subtitle?: DescriptionElement; + title?: DescriptionElement; + type?: string; +} + export interface Properties { + at_channel_restricted?: boolean; + at_here_restricted?: boolean; canvas?: Canvas; channel_workflows?: ChannelWorkflow[]; has_slack_connect_invite_created?: boolean; + huddles_restricted?: boolean; is_dormant?: boolean; meeting_notes?: MeetingNotes; posting_restricted_to?: RestrictedTo; diff --git a/packages/web-api/src/types/response/ConversationsOpenResponse.ts b/packages/web-api/src/types/response/ConversationsOpenResponse.ts index 3fe64836e..21643687b 100644 --- a/packages/web-api/src/types/response/ConversationsOpenResponse.ts +++ b/packages/web-api/src/types/response/ConversationsOpenResponse.ts @@ -112,6 +112,8 @@ export interface AssistantAppThreadBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -150,6 +152,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -319,6 +322,12 @@ export interface AppIconUrls { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -327,7 +336,9 @@ export interface File { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -373,6 +384,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -416,6 +429,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -487,6 +501,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; diff --git a/packages/web-api/src/types/response/ConversationsRenameResponse.ts b/packages/web-api/src/types/response/ConversationsRenameResponse.ts index 8582c6c4b..5386c5fa0 100644 --- a/packages/web-api/src/types/response/ConversationsRenameResponse.ts +++ b/packages/web-api/src/types/response/ConversationsRenameResponse.ts @@ -43,6 +43,7 @@ export interface Channel { pending_connected_team_ids?: string[]; pending_shared?: string[]; previous_names?: string[]; + properties?: Properties; purpose?: Purpose; shared_team_ids?: string[]; topic?: Purpose; @@ -50,6 +51,8 @@ export interface Channel { updated?: number; } +export type Properties = {}; + export interface Purpose { creator?: string; last_set?: number; diff --git a/packages/web-api/src/types/response/ConversationsRepliesResponse.ts b/packages/web-api/src/types/response/ConversationsRepliesResponse.ts index 5b954f8a8..9e309cc5d 100644 --- a/packages/web-api/src/types/response/ConversationsRepliesResponse.ts +++ b/packages/web-api/src/types/response/ConversationsRepliesResponse.ts @@ -111,6 +111,8 @@ export interface AssistantAppThreadBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: AccessoryConfirm; @@ -149,6 +151,7 @@ export interface Accessory { type?: AccessoryType; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -337,6 +340,12 @@ export interface AppIconUrls { export interface FileElement { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -345,7 +354,9 @@ export interface FileElement { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -391,6 +402,8 @@ export interface FileElement { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -434,6 +447,7 @@ export interface FileElement { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -505,6 +519,13 @@ export interface FileElement { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; @@ -827,6 +848,7 @@ export interface Attachment { list_schema?: Schema[]; list_view?: View; list_view_id?: string; + media_type?: string; message_blocks?: MessageBlock[]; metadata?: AttachmentMetadata; mimetype?: string; @@ -1031,6 +1053,7 @@ export interface AgentSession { agent_bot_user_ids?: any[]; agent_statuses?: any[]; date_status_processing_expire?: number; + encoded_initiator_user_id?: string; status?: string; title?: string; } @@ -1095,6 +1118,12 @@ export interface Edited { export interface PurpleFile { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -1103,7 +1132,9 @@ export interface PurpleFile { blocks?: any[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -1149,6 +1180,8 @@ export interface PurpleFile { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1192,6 +1225,7 @@ export interface PurpleFile { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -1384,11 +1418,27 @@ export interface AttachmentMetadata { original_h?: number; original_w?: number; rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: boolean; + thumb_360?: boolean; thumb_360_h?: number; thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; thumb_tiny?: string; } diff --git a/packages/web-api/src/types/response/ConversationsSetPurposeResponse.ts b/packages/web-api/src/types/response/ConversationsSetPurposeResponse.ts index cc5d0d45c..9991ad02b 100644 --- a/packages/web-api/src/types/response/ConversationsSetPurposeResponse.ts +++ b/packages/web-api/src/types/response/ConversationsSetPurposeResponse.ts @@ -40,6 +40,7 @@ export interface Channel { pending_connected_team_ids?: string[]; pending_shared?: string[]; previous_names?: string[]; + properties?: Properties; purpose?: Purpose; shared_team_ids?: string[]; topic?: Purpose; @@ -47,6 +48,8 @@ export interface Channel { updated?: number; } +export type Properties = {}; + export interface Purpose { creator?: string; last_set?: number; diff --git a/packages/web-api/src/types/response/ConversationsSetTopicResponse.ts b/packages/web-api/src/types/response/ConversationsSetTopicResponse.ts index 845b5115d..66f94f1a3 100644 --- a/packages/web-api/src/types/response/ConversationsSetTopicResponse.ts +++ b/packages/web-api/src/types/response/ConversationsSetTopicResponse.ts @@ -40,6 +40,7 @@ export interface Channel { pending_connected_team_ids?: string[]; pending_shared?: string[]; previous_names?: string[]; + properties?: Properties; purpose?: Purpose; shared_team_ids?: string[]; topic?: Purpose; @@ -47,6 +48,8 @@ export interface Channel { updated?: number; } +export type Properties = {}; + export interface Purpose { creator?: string; last_set?: number; diff --git a/packages/web-api/src/types/response/FilesInfoResponse.ts b/packages/web-api/src/types/response/FilesInfoResponse.ts index 682f706f5..0bc3332d2 100644 --- a/packages/web-api/src/types/response/FilesInfoResponse.ts +++ b/packages/web-api/src/types/response/FilesInfoResponse.ts @@ -14,6 +14,7 @@ export type FilesInfoResponse = WebAPICallResult & { content_highlight_css?: string; content_highlight_html?: string; content_highlight_html_truncated?: boolean; + content_html?: string; error?: string; file?: File; is_truncated?: boolean; @@ -37,13 +38,21 @@ export interface Comment { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; app_provides_file_work_objects?: boolean; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -89,6 +98,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -132,6 +143,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -203,6 +215,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -307,6 +326,8 @@ export interface Block { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -345,6 +366,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/FilesListResponse.ts b/packages/web-api/src/types/response/FilesListResponse.ts index d4ee0b2cd..1297e02e0 100644 --- a/packages/web-api/src/types/response/FilesListResponse.ts +++ b/packages/web-api/src/types/response/FilesListResponse.ts @@ -20,13 +20,21 @@ export type FilesListResponse = WebAPICallResult & { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; app_provides_file_work_objects?: boolean; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -72,6 +80,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -115,6 +125,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -186,6 +197,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -300,6 +318,8 @@ export interface Block { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -338,6 +358,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/FilesRemoteAddResponse.ts b/packages/web-api/src/types/response/FilesRemoteAddResponse.ts index 0335b9804..5256a4ae2 100644 --- a/packages/web-api/src/types/response/FilesRemoteAddResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteAddResponse.ts @@ -19,13 +19,21 @@ export type FilesRemoteAddResponse = WebAPICallResult & { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; app_provides_file_work_objects?: boolean; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -71,6 +79,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -114,6 +124,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -185,6 +196,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -299,6 +317,8 @@ export interface Block { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -337,6 +357,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/FilesRemoteInfoResponse.ts b/packages/web-api/src/types/response/FilesRemoteInfoResponse.ts index 6f9dc73b4..499df5ef4 100644 --- a/packages/web-api/src/types/response/FilesRemoteInfoResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteInfoResponse.ts @@ -19,13 +19,21 @@ export type FilesRemoteInfoResponse = WebAPICallResult & { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; app_provides_file_work_objects?: boolean; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -71,6 +79,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -114,6 +124,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -185,6 +196,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -299,6 +317,8 @@ export interface Block { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -337,6 +357,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/FilesRemoteListResponse.ts b/packages/web-api/src/types/response/FilesRemoteListResponse.ts index de22d9d3d..34867d256 100644 --- a/packages/web-api/src/types/response/FilesRemoteListResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteListResponse.ts @@ -20,13 +20,21 @@ export type FilesRemoteListResponse = WebAPICallResult & { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; app_provides_file_work_objects?: boolean; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -72,6 +80,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -115,6 +125,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -186,6 +197,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -300,6 +318,8 @@ export interface Block { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -338,6 +358,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/FilesRemoteShareResponse.ts b/packages/web-api/src/types/response/FilesRemoteShareResponse.ts index 350d2524b..ea07db30b 100644 --- a/packages/web-api/src/types/response/FilesRemoteShareResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteShareResponse.ts @@ -19,13 +19,21 @@ export type FilesRemoteShareResponse = WebAPICallResult & { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; app_provides_file_work_objects?: boolean; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -71,6 +79,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -114,6 +124,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -185,6 +196,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -299,6 +317,8 @@ export interface Block { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -337,6 +357,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/FilesRemoteUpdateResponse.ts b/packages/web-api/src/types/response/FilesRemoteUpdateResponse.ts index 6f9018412..063bcbbf9 100644 --- a/packages/web-api/src/types/response/FilesRemoteUpdateResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteUpdateResponse.ts @@ -19,13 +19,21 @@ export type FilesRemoteUpdateResponse = WebAPICallResult & { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; app_provides_file_work_objects?: boolean; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -71,6 +79,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -114,6 +124,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -185,6 +196,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -299,6 +317,8 @@ export interface Block { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -337,6 +357,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/PinsListResponse.ts b/packages/web-api/src/types/response/PinsListResponse.ts index 6515d0e4e..6d67326d2 100644 --- a/packages/web-api/src/types/response/PinsListResponse.ts +++ b/packages/web-api/src/types/response/PinsListResponse.ts @@ -29,6 +29,12 @@ export interface Item { export interface FileElement { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -37,7 +43,9 @@ export interface FileElement { blocks?: TitleBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -83,6 +91,8 @@ export interface FileElement { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -126,6 +136,7 @@ export interface FileElement { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -197,6 +208,13 @@ export interface FileElement { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface TitleBlockElement { accessory?: Accessory; alt_text?: string; @@ -240,6 +258,8 @@ export interface TitleBlockElement { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: AccessoryConfirm; @@ -278,6 +298,7 @@ export interface Accessory { type?: AccessoryType; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -655,6 +676,7 @@ export interface TranscriptionPreview { } export interface ItemMessage { + agent_session?: PurpleAgentSession; app_id?: string; attachments?: Attachment[]; blocks?: PurpleBlock[]; @@ -664,6 +686,7 @@ export interface ItemMessage { display_as_bot?: boolean; files?: FileElement[]; is_locked?: boolean; + language?: Language; latest_reply?: string; parent_user_id?: string; permalink?: string; @@ -682,6 +705,18 @@ export interface ItemMessage { user?: string; } +export interface PurpleAgentSession { + agent_bot_user_ids?: string[]; + agent_statuses?: AgentStatus[]; + status?: string; +} + +export interface AgentStatus { + agent_bot_user_id?: string; + is_stoppable?: boolean; + status?: string; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -727,6 +762,7 @@ export interface Attachment { list_schema?: Schema[]; list_view?: View; list_view_id?: string; + media_type?: string; message_blocks?: MessageBlock[]; metadata?: AttachmentMetadata; mimetype?: string; @@ -869,7 +905,7 @@ export interface RecordField { } export interface FieldMessage { - agent_session?: AgentSession; + agent_session?: FluffyAgentSession; app_id?: string; assistant_app_thread?: AssistantAppThread; attachments?: any[]; @@ -927,10 +963,11 @@ export interface FieldMessage { x_files?: any[]; } -export interface AgentSession { +export interface FluffyAgentSession { agent_bot_user_ids?: any[]; agent_statuses?: any[]; date_status_processing_expire?: number; + encoded_initiator_user_id?: string; status?: string; title?: string; } @@ -1001,6 +1038,12 @@ export interface Edited { export interface PurpleFile { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -1009,7 +1052,9 @@ export interface PurpleFile { blocks?: any[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -1055,6 +1100,8 @@ export interface PurpleFile { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1098,6 +1145,7 @@ export interface PurpleFile { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -1293,11 +1341,27 @@ export interface AttachmentMetadata { original_h?: number; original_w?: number; rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: boolean; + thumb_360?: boolean; thumb_360_h?: number; thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; thumb_tiny?: string; } diff --git a/packages/web-api/src/types/response/ReactionsGetResponse.ts b/packages/web-api/src/types/response/ReactionsGetResponse.ts index c7bf41454..88f2e6d4e 100644 --- a/packages/web-api/src/types/response/ReactionsGetResponse.ts +++ b/packages/web-api/src/types/response/ReactionsGetResponse.ts @@ -96,6 +96,8 @@ export interface AssistantAppThreadBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: Confirm; @@ -134,6 +136,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -303,6 +306,12 @@ export interface AppIconUrls { export interface File { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -311,7 +320,9 @@ export interface File { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -357,6 +368,8 @@ export interface File { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -400,6 +413,7 @@ export interface File { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -471,6 +485,13 @@ export interface File { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; diff --git a/packages/web-api/src/types/response/ReactionsListResponse.ts b/packages/web-api/src/types/response/ReactionsListResponse.ts index a67a5434f..31b78bb99 100644 --- a/packages/web-api/src/types/response/ReactionsListResponse.ts +++ b/packages/web-api/src/types/response/ReactionsListResponse.ts @@ -122,6 +122,8 @@ export interface AssistantAppThreadBlock { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: AccessoryConfirm; @@ -160,6 +162,7 @@ export interface Accessory { type?: AccessoryType; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -348,6 +351,12 @@ export interface AppIconUrls { export interface FileElement { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -356,7 +365,9 @@ export interface FileElement { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -402,6 +413,8 @@ export interface FileElement { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -445,6 +458,7 @@ export interface FileElement { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -516,6 +530,13 @@ export interface FileElement { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; @@ -838,6 +859,7 @@ export interface Attachment { list_schema?: Schema[]; list_view?: View; list_view_id?: string; + media_type?: string; message_blocks?: MessageBlock[]; metadata?: AttachmentMetadata; mimetype?: string; @@ -1042,6 +1064,7 @@ export interface AgentSession { agent_bot_user_ids?: any[]; agent_statuses?: any[]; date_status_processing_expire?: number; + encoded_initiator_user_id?: string; status?: string; title?: string; } @@ -1106,6 +1129,12 @@ export interface Edited { export interface PurpleFile { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -1114,7 +1143,9 @@ export interface PurpleFile { blocks?: any[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -1160,6 +1191,8 @@ export interface PurpleFile { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1203,6 +1236,7 @@ export interface PurpleFile { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -1398,11 +1432,27 @@ export interface AttachmentMetadata { original_h?: number; original_w?: number; rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: boolean; + thumb_360?: boolean; thumb_360_h?: number; thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; thumb_tiny?: string; } diff --git a/packages/web-api/src/types/response/SearchAllResponse.ts b/packages/web-api/src/types/response/SearchAllResponse.ts index fa6dd1f29..53fd07bd5 100644 --- a/packages/web-api/src/types/response/SearchAllResponse.ts +++ b/packages/web-api/src/types/response/SearchAllResponse.ts @@ -31,7 +31,9 @@ export interface FilesMatch { access?: string; attachments?: Attachment[]; bot_id?: string; + canvas_creator_id?: string; canvas_printing_enabled?: boolean; + canvas_readtime?: number; cc?: Cc[]; channels?: string[]; comments_count?: number; @@ -59,6 +61,7 @@ export interface FilesMatch { id?: string; image_exif_rotation?: number; ims?: string[]; + is_ai_suggested?: boolean; is_channel_space?: boolean; is_external?: boolean; is_modified_by_ai?: boolean; @@ -92,6 +95,7 @@ export interface FilesMatch { quip_thread_id?: string; sent_to_self?: boolean; shares?: MatchShares; + show_badge?: boolean; size?: number; subject?: string; team_pref_version_history_enabled?: boolean; @@ -183,6 +187,7 @@ export interface Attachment { list_schema?: Schema[]; list_view?: View; list_view_id?: string; + media_type?: string; message_blocks?: MessageBlock[]; metadata?: AttachmentMetadata; mimetype?: string; @@ -312,6 +317,8 @@ export interface DescriptionBlockElement { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: AccessoryConfirm; @@ -350,6 +357,7 @@ export interface Accessory { type?: ActionType; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -482,6 +490,12 @@ export interface AttachmentField { export interface FileElement { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -490,7 +504,9 @@ export interface FileElement { blocks?: DescriptionBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -536,6 +552,8 @@ export interface FileElement { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -579,6 +597,7 @@ export interface FileElement { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -650,6 +669,13 @@ export interface FileElement { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -845,11 +871,11 @@ export interface Saved { } export interface FileShares { - private?: { [key: string]: Private[] }; - public?: { [key: string]: Private[] }; + private?: { [key: string]: Public[] }; + public?: { [key: string]: Public[] }; } -export interface Private { +export interface Public { access?: string; channel_name?: string; date_last_shared?: number; @@ -1014,6 +1040,7 @@ export interface AgentSession { agent_bot_user_ids?: any[]; agent_statuses?: any[]; date_status_processing_expire?: number; + encoded_initiator_user_id?: string; status?: string; title?: string; } @@ -1084,6 +1111,12 @@ export interface Edited { export interface MessageFile { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -1092,7 +1125,9 @@ export interface MessageFile { blocks?: any[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -1138,6 +1173,8 @@ export interface MessageFile { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1181,6 +1218,7 @@ export interface MessageFile { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -1373,11 +1411,27 @@ export interface AttachmentMetadata { original_h?: number; original_w?: number; rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: boolean; + thumb_360?: boolean; thumb_360_h?: number; thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; thumb_tiny?: string; } @@ -1394,18 +1448,14 @@ export interface MatchHeaders { } export interface MatchShares { + private?: { [key: string]: Private[] }; public?: { [key: string]: Public[] }; } -export interface Public { - access?: string; - channel_name?: string; - reply_count?: number; - reply_users?: string[]; - reply_users_count?: number; +export interface Private { + is_silent_share?: boolean; share_user_id?: string; source?: string; - team_id?: string; ts?: string; } diff --git a/packages/web-api/src/types/response/SearchFilesResponse.ts b/packages/web-api/src/types/response/SearchFilesResponse.ts index c4a63be8a..98560adec 100644 --- a/packages/web-api/src/types/response/SearchFilesResponse.ts +++ b/packages/web-api/src/types/response/SearchFilesResponse.ts @@ -29,7 +29,9 @@ export interface Match { access?: string; attachments?: Attachment[]; bot_id?: string; + canvas_creator_id?: string; canvas_printing_enabled?: boolean; + canvas_readtime?: number; cc?: Cc[]; channels?: string[]; comments_count?: number; @@ -57,6 +59,7 @@ export interface Match { id?: string; image_exif_rotation?: number; ims?: string[]; + is_ai_suggested?: boolean; is_channel_space?: boolean; is_external?: boolean; is_modified_by_ai?: boolean; @@ -90,6 +93,7 @@ export interface Match { quip_thread_id?: string; sent_to_self?: boolean; shares?: MatchShares; + show_badge?: boolean; size?: number; subject?: string; team_pref_version_history_enabled?: boolean; @@ -181,6 +185,7 @@ export interface Attachment { list_schema?: Schema[]; list_view?: View; list_view_id?: string; + media_type?: string; message_blocks?: MessageBlock[]; metadata?: AttachmentMetadata; mimetype?: string; @@ -284,6 +289,8 @@ export interface Block { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: AccessoryConfirm; @@ -322,6 +329,7 @@ export interface Accessory { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -461,6 +469,12 @@ export interface AttachmentField { export interface FileElement { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -469,7 +483,9 @@ export interface FileElement { blocks?: Block[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -515,6 +531,8 @@ export interface FileElement { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -558,6 +576,7 @@ export interface FileElement { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -629,6 +648,13 @@ export interface FileElement { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -824,11 +850,11 @@ export interface Saved { } export interface PurpleShares { - private?: { [key: string]: Private[] }; - public?: { [key: string]: Private[] }; + private?: { [key: string]: Public[] }; + public?: { [key: string]: Public[] }; } -export interface Private { +export interface Public { access?: string; channel_name?: string; date_last_shared?: number; @@ -993,6 +1019,7 @@ export interface AgentSession { agent_bot_user_ids?: any[]; agent_statuses?: any[]; date_status_processing_expire?: number; + encoded_initiator_user_id?: string; status?: string; title?: string; } @@ -1063,6 +1090,12 @@ export interface Edited { export interface MessageFile { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -1071,7 +1104,9 @@ export interface MessageFile { blocks?: any[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -1117,6 +1152,8 @@ export interface MessageFile { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1160,6 +1197,7 @@ export interface MessageFile { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -1352,11 +1390,27 @@ export interface AttachmentMetadata { original_h?: number; original_w?: number; rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: boolean; + thumb_360?: boolean; thumb_360_h?: number; thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; thumb_tiny?: string; } @@ -1373,18 +1427,14 @@ export interface MatchHeaders { } export interface MatchShares { + private?: { [key: string]: Private[] }; public?: { [key: string]: Public[] }; } -export interface Public { - access?: string; - channel_name?: string; - reply_count?: number; - reply_users?: string[]; - reply_users_count?: number; +export interface Private { + is_silent_share?: boolean; share_user_id?: string; source?: string; - team_id?: string; ts?: string; } diff --git a/packages/web-api/src/types/response/SearchMessagesResponse.ts b/packages/web-api/src/types/response/SearchMessagesResponse.ts index 180e69561..100875aec 100644 --- a/packages/web-api/src/types/response/SearchMessagesResponse.ts +++ b/packages/web-api/src/types/response/SearchMessagesResponse.ts @@ -91,6 +91,7 @@ export interface Attachment { list_schema?: Schema[]; list_view?: View; list_view_id?: string; + media_type?: string; message_blocks?: MessageBlock[]; metadata?: AttachmentMetadata; mimetype?: string; @@ -220,6 +221,8 @@ export interface TitleBlockElement { export interface Accessory { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; border?: number; confirm?: AccessoryConfirm; @@ -258,6 +261,7 @@ export interface Accessory { type?: ActionType; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } @@ -390,6 +394,12 @@ export interface AttachmentField { export interface FileElement { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -398,7 +408,9 @@ export interface FileElement { blocks?: TitleBlockElement[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -444,6 +456,8 @@ export interface FileElement { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -487,6 +501,7 @@ export interface FileElement { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -558,6 +573,13 @@ export interface FileElement { vtt?: string; } +export interface AiSummary { + content?: string; + id?: string; + status?: string; + unfurl_enabled?: boolean; +} + export interface Cc { address?: string; name?: string; @@ -922,6 +944,7 @@ export interface AgentSession { agent_bot_user_ids?: any[]; agent_statuses?: any[]; date_status_processing_expire?: number; + encoded_initiator_user_id?: string; status?: string; title?: string; } @@ -992,6 +1015,12 @@ export interface Edited { export interface MessageFile { access?: string; + ai_skill_example_prompts?: any[]; + ai_skill_library_count?: number; + ai_skill_mcp_servers?: any[]; + ai_skill_share_link_count?: number; + ai_skill_usage_count?: number; + ai_summary?: AiSummary; alt_txt?: string; app_id?: string; app_name?: string; @@ -1000,7 +1029,9 @@ export interface MessageFile { blocks?: any[]; bot_id?: string; can_toggle_canvas_lock?: boolean; + canvas_agent_creator_id?: string; canvas_creator_id?: string; + canvas_default_agent_id?: string; canvas_printing_enabled?: boolean; canvas_readtime?: number; canvas_template_mode?: string; @@ -1046,6 +1077,8 @@ export interface MessageFile { is_modified_by_ai?: boolean; is_public?: boolean; is_restricted_sharing_enabled?: boolean; + is_skill?: boolean; + is_skill_admin_deactivated?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1089,6 +1122,7 @@ export interface MessageFile { show_badge?: boolean; simplified_html?: string; size?: number; + skill_description?: string; skipped_shares?: boolean; source_team?: string; subject?: string; @@ -1281,11 +1315,27 @@ export interface AttachmentMetadata { original_h?: number; original_w?: number; rotation?: number; + thumb_1024?: boolean; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: boolean; + thumb_360?: boolean; thumb_360_h?: number; thumb_360_w?: number; + thumb_480?: boolean; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: boolean; + thumb_720?: boolean; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: boolean; + thumb_800?: boolean; + thumb_800_h?: number; + thumb_800_w?: number; + thumb_960?: boolean; + thumb_960_h?: number; + thumb_960_w?: number; thumb_tiny?: string; } diff --git a/packages/web-api/src/types/response/UsersListResponse.ts b/packages/web-api/src/types/response/UsersListResponse.ts index d2a63c584..3ea58d2d4 100644 --- a/packages/web-api/src/types/response/UsersListResponse.ts +++ b/packages/web-api/src/types/response/UsersListResponse.ts @@ -34,6 +34,7 @@ export interface Member { is_owner?: boolean; is_primary_owner?: boolean; is_restricted?: boolean; + is_seamless_enabled_app_bot?: boolean; is_ultra_restricted?: boolean; is_workflow_bot?: boolean; locale?: string; diff --git a/packages/web-api/src/types/response/ViewsOpenResponse.ts b/packages/web-api/src/types/response/ViewsOpenResponse.ts index b76d6f797..8abea8027 100644 --- a/packages/web-api/src/types/response/ViewsOpenResponse.ts +++ b/packages/web-api/src/types/response/ViewsOpenResponse.ts @@ -115,6 +115,8 @@ export enum CloseType { export interface PurpleElement { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; confirm?: Confirm; default_to_current_conversation?: boolean; @@ -151,6 +153,7 @@ export interface PurpleElement { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; } export interface Confirm { @@ -254,6 +257,8 @@ export interface OptionGroup { export interface StickyElement { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; confirm?: Confirm; default_to_current_conversation?: boolean; @@ -288,6 +293,7 @@ export interface StickyElement { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/ViewsPublishResponse.ts b/packages/web-api/src/types/response/ViewsPublishResponse.ts index baa342a9c..209f9a369 100644 --- a/packages/web-api/src/types/response/ViewsPublishResponse.ts +++ b/packages/web-api/src/types/response/ViewsPublishResponse.ts @@ -115,6 +115,8 @@ export enum CloseType { export interface PurpleElement { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; confirm?: Confirm; default_to_current_conversation?: boolean; @@ -151,6 +153,7 @@ export interface PurpleElement { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; } export interface Confirm { @@ -254,6 +257,8 @@ export interface OptionGroup { export interface StickyElement { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; confirm?: Confirm; default_to_current_conversation?: boolean; @@ -288,6 +293,7 @@ export interface StickyElement { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/ViewsPushResponse.ts b/packages/web-api/src/types/response/ViewsPushResponse.ts index 53ebaa5f0..10de475ee 100644 --- a/packages/web-api/src/types/response/ViewsPushResponse.ts +++ b/packages/web-api/src/types/response/ViewsPushResponse.ts @@ -115,6 +115,8 @@ export enum CloseType { export interface PurpleElement { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; confirm?: Confirm; default_to_current_conversation?: boolean; @@ -151,6 +153,7 @@ export interface PurpleElement { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; } export interface Confirm { @@ -254,6 +257,8 @@ export interface OptionGroup { export interface StickyElement { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; confirm?: Confirm; default_to_current_conversation?: boolean; @@ -288,6 +293,7 @@ export interface StickyElement { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; } diff --git a/packages/web-api/src/types/response/ViewsUpdateResponse.ts b/packages/web-api/src/types/response/ViewsUpdateResponse.ts index 92416d632..39abe9d37 100644 --- a/packages/web-api/src/types/response/ViewsUpdateResponse.ts +++ b/packages/web-api/src/types/response/ViewsUpdateResponse.ts @@ -115,6 +115,8 @@ export enum CloseType { export interface PurpleElement { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; confirm?: Confirm; default_to_current_conversation?: boolean; @@ -151,6 +153,7 @@ export interface PurpleElement { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; } export interface Confirm { @@ -254,6 +257,8 @@ export interface OptionGroup { export interface StickyElement { accessibility_label?: string; action_id?: string; + agent_prompt?: string; + agent_prompt_display?: string; alt_text?: string; confirm?: Confirm; default_to_current_conversation?: boolean; @@ -288,6 +293,7 @@ export interface StickyElement { type?: string; url?: string; value?: string; + visible_to_user_ids?: any[]; workflow?: Workflow; }