@@ -66,6 +66,7 @@ export interface AssistantAppThreadBlock {
6666 dispatch_action ?: boolean ;
6767 element ?: Accessory ;
6868 elements ?: Accessory [ ] ;
69+ expand ?: boolean ;
6970 external_id ?: string ;
7071 fallback ?: string ;
7172 fields ?: DescriptionElement [ ] ;
@@ -109,7 +110,7 @@ export interface Accessory {
109110 default_to_current_conversation ?: boolean ;
110111 elements ?: AccessoryElement [ ] ;
111112 fallback ?: string ;
112- filter ?: Filter ;
113+ filter ?: AccessoryFilter ;
113114 focus_on_load ?: boolean ;
114115 image_bytes ?: number ;
115116 image_height ?: number ;
@@ -138,7 +139,7 @@ export interface Accessory {
138139 style ?: string ;
139140 text ?: DescriptionElement ;
140141 timezone ?: string ;
141- type ?: string ;
142+ type ?: AccessoryType ;
142143 url ?: string ;
143144 value ?: string ;
144145 workflow ?: Workflow ;
@@ -170,7 +171,7 @@ export interface AccessoryElement {
170171 indent ?: number ;
171172 offset ?: number ;
172173 style ?: string ;
173- type ?: FluffyType ;
174+ type ?: AccessoryType ;
174175}
175176
176177export interface PurpleElement {
@@ -216,14 +217,33 @@ export enum PurpleType {
216217 Usergroup = 'usergroup' ,
217218}
218219
219- export enum FluffyType {
220+ export enum AccessoryType {
221+ Button = 'button' ,
222+ ChannelsSelect = 'channels_select' ,
223+ Checkboxes = 'checkboxes' ,
224+ ConversationsSelect = 'conversations_select' ,
225+ Datepicker = 'datepicker' ,
226+ Datetimepicker = 'datetimepicker' ,
227+ ExternalSelect = 'external_select' ,
228+ Image = 'image' ,
229+ MultiChannelsSelect = 'multi_channels_select' ,
230+ MultiConversationsSelect = 'multi_conversations_select' ,
231+ MultiExternalSelect = 'multi_external_select' ,
232+ MultiStaticSelect = 'multi_static_select' ,
233+ MultiUsersSelect = 'multi_users_select' ,
234+ Overflow = 'overflow' ,
235+ RadioButtons = 'radio_buttons' ,
220236 RichTextList = 'rich_text_list' ,
221237 RichTextPreformatted = 'rich_text_preformatted' ,
222238 RichTextQuote = 'rich_text_quote' ,
223239 RichTextSection = 'rich_text_section' ,
240+ StaticSelect = 'static_select' ,
241+ Timepicker = 'timepicker' ,
242+ UsersSelect = 'users_select' ,
243+ WorkflowButton = 'workflow_button' ,
224244}
225245
226- export interface Filter {
246+ export interface AccessoryFilter {
227247 exclude_bot_users ?: boolean ;
228248 exclude_external_shared_channels ?: boolean ;
229249 include ?: any [ ] ;
@@ -313,9 +333,10 @@ export interface FileElement {
313333 app_id ?: string ;
314334 app_name ?: string ;
315335 attachments ?: any [ ] ;
316- blocks ?: FileBlock [ ] ;
336+ blocks ?: DescriptionBlockElement [ ] ;
317337 bot_id ?: string ;
318338 can_toggle_canvas_lock ?: boolean ;
339+ canvas_printing_enabled ?: boolean ;
319340 canvas_template_mode ?: string ;
320341 cc ?: Cc [ ] ;
321342 channel_actions_count ?: number ;
@@ -362,6 +383,7 @@ export interface FileElement {
362383 lines ?: number ;
363384 lines_more ?: number ;
364385 linked_channel_id ?: string ;
386+ list_csv_download_url ?: string ;
365387 list_limits ?: ListLimits ;
366388 list_metadata ?: ListMetadata ;
367389 media_display_type ?: string ;
@@ -454,7 +476,7 @@ export interface FileElement {
454476 thumb_video_w ?: number ;
455477 timestamp ?: number ;
456478 title ?: string ;
457- title_blocks ?: FileBlock [ ] ;
479+ title_blocks ?: DescriptionBlockElement [ ] ;
458480 to ?: Cc [ ] ;
459481 transcription ?: Transcription ;
460482 update_notification ?: number ;
@@ -468,7 +490,7 @@ export interface FileElement {
468490 vtt ?: string ;
469491}
470492
471- export interface FileBlock {
493+ export interface DescriptionBlockElement {
472494 accessory ?: Accessory ;
473495 alt_text ?: string ;
474496 app_collaborators ?: string [ ] ;
@@ -480,6 +502,7 @@ export interface FileBlock {
480502 description ?: DescriptionElement | string ;
481503 developer_trace_id ?: string ;
482504 elements ?: Accessory [ ] ;
505+ expand ?: boolean ;
483506 fallback ?: string ;
484507 fields ?: DescriptionElement [ ] ;
485508 function_trigger_id ?: string ;
@@ -555,6 +578,7 @@ export interface InitialComment {
555578export interface ListLimits {
556579 column_count ?: number ;
557580 column_count_limit ?: number ;
581+ max_attachments_per_cell ?: number ;
558582 over_column_maximum ?: boolean ;
559583 over_row_maximum ?: boolean ;
560584 over_view_maximum ?: boolean ;
@@ -567,6 +591,7 @@ export interface ListLimits {
567591export interface ListMetadata {
568592 creation_source ?: CreationSource ;
569593 description ?: string ;
594+ description_blocks ?: DescriptionBlockElement [ ] ;
570595 icon ?: string ;
571596 icon_team_id ?: string ;
572597 icon_url ?: string ;
@@ -633,11 +658,15 @@ export interface View {
633658 columns ?: Column [ ] ;
634659 created_by ?: string ;
635660 date_created ?: number ;
661+ default_view_key ?: string ;
662+ filters ?: FilterElement [ ] ;
663+ grouping ?: Grouping ;
636664 id ?: string ;
637665 is_all_items_view ?: boolean ;
638666 is_locked ?: boolean ;
639667 name ?: string ;
640668 position ?: string ;
669+ show_completed_items ?: boolean ;
641670 stick_column_left ?: boolean ;
642671 type ?: string ;
643672}
@@ -650,6 +679,19 @@ export interface Column {
650679 width ?: number ;
651680}
652681
682+ export interface FilterElement {
683+ column_id ?: string ;
684+ key ?: string ;
685+ operator ?: string ;
686+ typed_values ?: any [ ] ;
687+ values ?: string [ ] ;
688+ }
689+
690+ export interface Grouping {
691+ group_by ?: string ;
692+ group_by_column_id ?: string ;
693+ }
694+
653695export interface MediaProgress {
654696 duration_ms ?: number ;
655697 max_offset_ms ?: number ;
@@ -711,8 +753,9 @@ export interface Attachment {
711753 author_link ?: string ;
712754 author_name ?: string ;
713755 author_subname ?: string ;
714- blocks ?: FileBlock [ ] ;
756+ blocks ?: DescriptionBlockElement [ ] ;
715757 bot_id ?: string ;
758+ bot_team_id ?: string ;
716759 callback_id ?: string ;
717760 channel_id ?: string ;
718761 channel_name ?: string ;
@@ -783,7 +826,7 @@ export interface Action {
783826 selected_options ?: SelectedOptionElement [ ] ;
784827 style ?: string ;
785828 text ?: string ;
786- type ?: string ;
829+ type ?: AccessoryType ;
787830 url ?: string ;
788831 value ?: string ;
789832}
@@ -888,7 +931,7 @@ export interface FieldMessage {
888931 app_id ?: string ;
889932 assistant_app_thread ?: AssistantAppThread ;
890933 attachments ?: any [ ] ;
891- blocks ?: FileBlock [ ] ;
934+ blocks ?: DescriptionBlockElement [ ] ;
892935 bot_id ?: string ;
893936 bot_link ?: string ;
894937 bot_profile ?: BotProfile ;
@@ -1005,6 +1048,7 @@ export interface MessageFile {
10051048 blocks ?: any [ ] ;
10061049 bot_id ?: string ;
10071050 can_toggle_canvas_lock ?: boolean ;
1051+ canvas_printing_enabled ?: boolean ;
10081052 canvas_template_mode ?: string ;
10091053 cc ?: any [ ] ;
10101054 channel_actions_count ?: number ;
@@ -1051,6 +1095,7 @@ export interface MessageFile {
10511095 lines ?: number ;
10521096 lines_more ?: number ;
10531097 linked_channel_id ?: string ;
1098+ list_csv_download_url ?: string ;
10541099 list_limits ?: ListLimits ;
10551100 list_metadata ?: ListMetadata ;
10561101 media_display_type ?: string ;
@@ -1183,6 +1228,7 @@ export interface Room {
11831228 display_id ?: string ;
11841229 external_unique_id ?: string ;
11851230 has_ended ?: boolean ;
1231+ huddle_link ?: string ;
11861232 id ?: string ;
11871233 is_dm_call ?: boolean ;
11881234 is_prewarmed ?: boolean ;
@@ -1199,12 +1245,21 @@ export interface Room {
11991245 participants_screenshare_off ?: string [ ] ;
12001246 participants_screenshare_on ?: string [ ] ;
12011247 pending_invitees ?: EventPayload ;
1248+ recording ?: Recording ;
12021249 thread_root_ts ?: string ;
12031250 was_accepted ?: boolean ;
12041251 was_missed ?: boolean ;
12051252 was_rejected ?: boolean ;
12061253}
12071254
1255+ export interface Recording {
1256+ can_record_summary ?: string ;
1257+ notetaking ?: boolean ;
1258+ summary ?: boolean ;
1259+ summary_status ?: string ;
1260+ transcript ?: boolean ;
1261+ }
1262+
12081263export interface PurpleRoot {
12091264 bot_id ?: string ;
12101265 bot_profile ?: BotProfile ;
0 commit comments