diff --git a/src/client/generated-response/AppsManifestCreateResponse.ts b/src/client/generated-response/AppsManifestCreateResponse.ts index 289096f..502ab12 100644 --- a/src/client/generated-response/AppsManifestCreateResponse.ts +++ b/src/client/generated-response/AppsManifestCreateResponse.ts @@ -14,6 +14,8 @@ export type AppsManifestCreateResponse = SlackAPIResponse & { ok: boolean; provided?: string; response_metadata?: ResponseMetadata; + team_domain?: string; + team_id?: string; }; export interface Credentials { diff --git a/src/client/generated-response/ChatPostMessageResponse.ts b/src/client/generated-response/ChatPostMessageResponse.ts index 5785f82..9653197 100644 --- a/src/client/generated-response/ChatPostMessageResponse.ts +++ b/src/client/generated-response/ChatPostMessageResponse.ts @@ -107,7 +107,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -136,7 +136,7 @@ export interface Accessory { style?: string; text?: DescriptionElement; timezone?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; workflow?: Workflow; @@ -168,7 +168,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: FluffyType; + type?: AccessoryType; } export interface PurpleElement { @@ -214,14 +214,33 @@ export enum PurpleType { Usergroup = "usergroup", } -export enum FluffyType { +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 Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -360,6 +379,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -452,7 +472,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -466,7 +486,7 @@ export interface FileElement { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -553,6 +573,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -565,6 +586,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -631,11 +653,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -648,6 +674,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -781,7 +820,7 @@ export interface Action { selected_options?: SelectedOptionElement[]; style?: string; text?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; } @@ -1049,6 +1088,7 @@ export interface MessageFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src/client/generated-response/ChatScheduleMessageResponse.ts b/src/client/generated-response/ChatScheduleMessageResponse.ts index 743c7cb..505f45d 100644 --- a/src/client/generated-response/ChatScheduleMessageResponse.ts +++ b/src/client/generated-response/ChatScheduleMessageResponse.ts @@ -98,7 +98,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -212,7 +212,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -351,6 +351,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -443,7 +444,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -457,7 +458,7 @@ export interface File { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -544,6 +545,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -556,6 +558,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -622,11 +625,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -639,6 +646,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; diff --git a/src/client/generated-response/ChatUpdateResponse.ts b/src/client/generated-response/ChatUpdateResponse.ts index 45fc577..94e567d 100644 --- a/src/client/generated-response/ChatUpdateResponse.ts +++ b/src/client/generated-response/ChatUpdateResponse.ts @@ -103,7 +103,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -217,7 +217,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -356,6 +356,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -448,7 +449,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -462,7 +463,7 @@ export interface File { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -549,6 +550,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -561,6 +563,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -627,11 +630,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -644,6 +651,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; diff --git a/src/client/generated-response/ConversationsHistoryResponse.ts b/src/client/generated-response/ConversationsHistoryResponse.ts index 5d8ba78..215d76b 100644 --- a/src/client/generated-response/ConversationsHistoryResponse.ts +++ b/src/client/generated-response/ConversationsHistoryResponse.ts @@ -123,7 +123,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -152,7 +152,7 @@ export interface Accessory { style?: string; text?: DescriptionElement; timezone?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; workflow?: Workflow; @@ -184,7 +184,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: FluffyType; + type?: AccessoryType; } export interface PurpleElement { @@ -230,14 +230,33 @@ export enum PurpleType { Usergroup = "usergroup", } -export enum FluffyType { +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 Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -376,6 +395,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -468,7 +488,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -482,7 +502,7 @@ export interface FileElement { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -569,6 +589,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -581,6 +602,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -647,11 +669,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -664,6 +690,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -797,7 +836,7 @@ export interface Action { selected_options?: SelectedOptionElement[]; style?: string; text?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; } @@ -1065,6 +1104,7 @@ export interface PurpleFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src/client/generated-response/ConversationsOpenResponse.ts b/src/client/generated-response/ConversationsOpenResponse.ts index 7735041..f2ba42b 100644 --- a/src/client/generated-response/ConversationsOpenResponse.ts +++ b/src/client/generated-response/ConversationsOpenResponse.ts @@ -114,7 +114,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -228,7 +228,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -367,6 +367,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -459,7 +460,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -473,7 +474,7 @@ export interface File { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -560,6 +561,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -572,6 +574,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -638,11 +641,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -655,6 +662,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; diff --git a/src/client/generated-response/ConversationsRepliesResponse.ts b/src/client/generated-response/ConversationsRepliesResponse.ts index 053f73b..ad6dfee 100644 --- a/src/client/generated-response/ConversationsRepliesResponse.ts +++ b/src/client/generated-response/ConversationsRepliesResponse.ts @@ -112,7 +112,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -141,7 +141,7 @@ export interface Accessory { style?: string; text?: DescriptionElement; timezone?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; workflow?: Workflow; @@ -173,7 +173,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: FluffyType; + type?: AccessoryType; } export interface PurpleElement { @@ -219,14 +219,33 @@ export enum PurpleType { Usergroup = "usergroup", } -export enum FluffyType { +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 Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -365,6 +384,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -457,7 +477,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -471,7 +491,7 @@ export interface FileElement { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -558,6 +578,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -570,6 +591,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -636,11 +658,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -653,6 +679,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -786,7 +825,7 @@ export interface Action { selected_options?: SelectedOptionElement[]; style?: string; text?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; } @@ -1054,6 +1093,7 @@ export interface PurpleFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src/client/generated-response/FilesInfoResponse.ts b/src/client/generated-response/FilesInfoResponse.ts index 73621a8..b3cb8da 100644 --- a/src/client/generated-response/FilesInfoResponse.ts +++ b/src/client/generated-response/FilesInfoResponse.ts @@ -82,6 +82,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -174,7 +175,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -215,6 +216,7 @@ export interface Headers { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -227,6 +229,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -242,116 +245,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -399,7 +293,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -460,7 +354,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -474,7 +368,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -493,7 +387,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -506,7 +400,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -543,6 +444,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesListResponse.ts b/src/client/generated-response/FilesListResponse.ts index 0a9479a..b9c081d 100644 --- a/src/client/generated-response/FilesListResponse.ts +++ b/src/client/generated-response/FilesListResponse.ts @@ -66,6 +66,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -158,7 +159,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -209,6 +210,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -221,6 +223,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -236,116 +239,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -393,7 +287,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -454,7 +348,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -468,7 +362,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -487,7 +381,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -500,7 +394,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -537,6 +438,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesRemoteAddResponse.ts b/src/client/generated-response/FilesRemoteAddResponse.ts index 41a874b..c742c8c 100644 --- a/src/client/generated-response/FilesRemoteAddResponse.ts +++ b/src/client/generated-response/FilesRemoteAddResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesRemoteInfoResponse.ts b/src/client/generated-response/FilesRemoteInfoResponse.ts index 95c485b..8a7581e 100644 --- a/src/client/generated-response/FilesRemoteInfoResponse.ts +++ b/src/client/generated-response/FilesRemoteInfoResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesRemoteListResponse.ts b/src/client/generated-response/FilesRemoteListResponse.ts index dda1597..3c8991c 100644 --- a/src/client/generated-response/FilesRemoteListResponse.ts +++ b/src/client/generated-response/FilesRemoteListResponse.ts @@ -66,6 +66,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -158,7 +159,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -209,6 +210,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -221,6 +223,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -236,116 +239,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -393,7 +287,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -454,7 +348,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -468,7 +362,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -487,7 +381,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -500,7 +394,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -537,6 +438,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesRemoteShareResponse.ts b/src/client/generated-response/FilesRemoteShareResponse.ts index d0c4260..a92c8e3 100644 --- a/src/client/generated-response/FilesRemoteShareResponse.ts +++ b/src/client/generated-response/FilesRemoteShareResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesRemoteUpdateResponse.ts b/src/client/generated-response/FilesRemoteUpdateResponse.ts index 2b66a4c..7460085 100644 --- a/src/client/generated-response/FilesRemoteUpdateResponse.ts +++ b/src/client/generated-response/FilesRemoteUpdateResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesRevokePublicURLResponse.ts b/src/client/generated-response/FilesRevokePublicURLResponse.ts index 152e8b9..7a8ff35 100644 --- a/src/client/generated-response/FilesRevokePublicURLResponse.ts +++ b/src/client/generated-response/FilesRevokePublicURLResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesSharedPublicURLResponse.ts b/src/client/generated-response/FilesSharedPublicURLResponse.ts index dd1e590..94d98fb 100644 --- a/src/client/generated-response/FilesSharedPublicURLResponse.ts +++ b/src/client/generated-response/FilesSharedPublicURLResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/FilesUploadResponse.ts b/src/client/generated-response/FilesUploadResponse.ts index 972e5ff..0f8face 100644 --- a/src/client/generated-response/FilesUploadResponse.ts +++ b/src/client/generated-response/FilesUploadResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/PinsListResponse.ts b/src/client/generated-response/PinsListResponse.ts index f7420c8..371ca54 100644 --- a/src/client/generated-response/PinsListResponse.ts +++ b/src/client/generated-response/PinsListResponse.ts @@ -73,6 +73,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -165,7 +166,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -216,6 +217,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -228,6 +230,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -243,116 +246,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -400,7 +294,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -461,7 +355,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -475,7 +369,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -494,7 +388,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -507,7 +401,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -544,6 +445,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src/client/generated-response/ReactionsGetResponse.ts b/src/client/generated-response/ReactionsGetResponse.ts index 3f1ee78..c8ee0c6 100644 --- a/src/client/generated-response/ReactionsGetResponse.ts +++ b/src/client/generated-response/ReactionsGetResponse.ts @@ -98,7 +98,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -212,7 +212,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -351,6 +351,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -443,7 +444,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -457,7 +458,7 @@ export interface File { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -544,6 +545,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -556,6 +558,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -622,11 +625,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -639,6 +646,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; diff --git a/src/client/generated-response/ReactionsListResponse.ts b/src/client/generated-response/ReactionsListResponse.ts index f5e6456..855c195 100644 --- a/src/client/generated-response/ReactionsListResponse.ts +++ b/src/client/generated-response/ReactionsListResponse.ts @@ -124,7 +124,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -153,7 +153,7 @@ export interface Accessory { style?: string; text?: DescriptionElement; timezone?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; workflow?: Workflow; @@ -185,7 +185,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: FluffyType; + type?: AccessoryType; } export interface PurpleElement { @@ -231,14 +231,33 @@ export enum PurpleType { Usergroup = "usergroup", } -export enum FluffyType { +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 Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -377,6 +396,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -469,7 +489,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -483,7 +503,7 @@ export interface FileElement { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -570,6 +590,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -582,6 +603,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -648,11 +670,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -665,6 +691,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -798,7 +837,7 @@ export interface Action { selected_options?: SelectedOptionElement[]; style?: string; text?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; } @@ -1066,6 +1105,7 @@ export interface PurpleFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src/client/generated-response/SearchAllResponse.ts b/src/client/generated-response/SearchAllResponse.ts index fbc031e..c6dcbbf 100644 --- a/src/client/generated-response/SearchAllResponse.ts +++ b/src/client/generated-response/SearchAllResponse.ts @@ -261,7 +261,7 @@ export enum ActionType { WorkflowButton = "workflow_button", } -export interface AttachmentBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -309,7 +309,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -416,7 +416,7 @@ export enum PurpleType { Usergroup = "usergroup", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -525,6 +525,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -617,7 +618,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: AttachmentBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -673,6 +674,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -685,6 +687,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -751,11 +754,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -768,6 +775,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -1076,6 +1096,7 @@ export interface MessageFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src/client/generated-response/SearchFilesResponse.ts b/src/client/generated-response/SearchFilesResponse.ts index e80ec69..5018ef6 100644 --- a/src/client/generated-response/SearchFilesResponse.ts +++ b/src/client/generated-response/SearchFilesResponse.ts @@ -281,7 +281,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -395,7 +395,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -504,6 +504,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -652,6 +653,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -664,6 +666,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -730,11 +733,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -747,6 +754,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -1055,6 +1075,7 @@ export interface MessageFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src/client/generated-response/SearchMessagesResponse.ts b/src/client/generated-response/SearchMessagesResponse.ts index 855b1ec..fbf12c3 100644 --- a/src/client/generated-response/SearchMessagesResponse.ts +++ b/src/client/generated-response/SearchMessagesResponse.ts @@ -219,7 +219,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -326,7 +326,7 @@ export enum PurpleType { Usergroup = "usergroup", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -435,6 +435,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -578,6 +579,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -590,6 +592,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: TitleBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -656,11 +659,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -673,6 +680,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -971,6 +991,7 @@ export interface MessageFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src_deno/client/generated-response/AppsManifestCreateResponse.ts b/src_deno/client/generated-response/AppsManifestCreateResponse.ts index 84c3db6..0b4ca82 100644 --- a/src_deno/client/generated-response/AppsManifestCreateResponse.ts +++ b/src_deno/client/generated-response/AppsManifestCreateResponse.ts @@ -14,6 +14,8 @@ export type AppsManifestCreateResponse = SlackAPIResponse & { ok: boolean; provided?: string; response_metadata?: ResponseMetadata; + team_domain?: string; + team_id?: string; }; export interface Credentials { diff --git a/src_deno/client/generated-response/ChatPostMessageResponse.ts b/src_deno/client/generated-response/ChatPostMessageResponse.ts index 912d843..7ab8f7e 100644 --- a/src_deno/client/generated-response/ChatPostMessageResponse.ts +++ b/src_deno/client/generated-response/ChatPostMessageResponse.ts @@ -107,7 +107,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -136,7 +136,7 @@ export interface Accessory { style?: string; text?: DescriptionElement; timezone?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; workflow?: Workflow; @@ -168,7 +168,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: FluffyType; + type?: AccessoryType; } export interface PurpleElement { @@ -214,14 +214,33 @@ export enum PurpleType { Usergroup = "usergroup", } -export enum FluffyType { +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 Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -360,6 +379,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -452,7 +472,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -466,7 +486,7 @@ export interface FileElement { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -553,6 +573,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -565,6 +586,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -631,11 +653,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -648,6 +674,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -781,7 +820,7 @@ export interface Action { selected_options?: SelectedOptionElement[]; style?: string; text?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; } @@ -1049,6 +1088,7 @@ export interface MessageFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src_deno/client/generated-response/ChatScheduleMessageResponse.ts b/src_deno/client/generated-response/ChatScheduleMessageResponse.ts index cbb42d4..a42a78a 100644 --- a/src_deno/client/generated-response/ChatScheduleMessageResponse.ts +++ b/src_deno/client/generated-response/ChatScheduleMessageResponse.ts @@ -98,7 +98,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -212,7 +212,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -351,6 +351,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -443,7 +444,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -457,7 +458,7 @@ export interface File { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -544,6 +545,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -556,6 +558,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -622,11 +625,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -639,6 +646,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; diff --git a/src_deno/client/generated-response/ChatUpdateResponse.ts b/src_deno/client/generated-response/ChatUpdateResponse.ts index 5f6c430..626df7a 100644 --- a/src_deno/client/generated-response/ChatUpdateResponse.ts +++ b/src_deno/client/generated-response/ChatUpdateResponse.ts @@ -103,7 +103,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -217,7 +217,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -356,6 +356,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -448,7 +449,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -462,7 +463,7 @@ export interface File { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -549,6 +550,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -561,6 +563,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -627,11 +630,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -644,6 +651,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; diff --git a/src_deno/client/generated-response/ConversationsHistoryResponse.ts b/src_deno/client/generated-response/ConversationsHistoryResponse.ts index d9fb1f3..f76a275 100644 --- a/src_deno/client/generated-response/ConversationsHistoryResponse.ts +++ b/src_deno/client/generated-response/ConversationsHistoryResponse.ts @@ -123,7 +123,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -152,7 +152,7 @@ export interface Accessory { style?: string; text?: DescriptionElement; timezone?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; workflow?: Workflow; @@ -184,7 +184,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: FluffyType; + type?: AccessoryType; } export interface PurpleElement { @@ -230,14 +230,33 @@ export enum PurpleType { Usergroup = "usergroup", } -export enum FluffyType { +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 Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -376,6 +395,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -468,7 +488,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -482,7 +502,7 @@ export interface FileElement { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -569,6 +589,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -581,6 +602,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -647,11 +669,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -664,6 +690,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -797,7 +836,7 @@ export interface Action { selected_options?: SelectedOptionElement[]; style?: string; text?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; } @@ -1065,6 +1104,7 @@ export interface PurpleFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src_deno/client/generated-response/ConversationsOpenResponse.ts b/src_deno/client/generated-response/ConversationsOpenResponse.ts index 4f2e434..43fe920 100644 --- a/src_deno/client/generated-response/ConversationsOpenResponse.ts +++ b/src_deno/client/generated-response/ConversationsOpenResponse.ts @@ -114,7 +114,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -228,7 +228,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -367,6 +367,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -459,7 +460,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -473,7 +474,7 @@ export interface File { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -560,6 +561,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -572,6 +574,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -638,11 +641,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -655,6 +662,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; diff --git a/src_deno/client/generated-response/ConversationsRepliesResponse.ts b/src_deno/client/generated-response/ConversationsRepliesResponse.ts index eb93e8d..040b93e 100644 --- a/src_deno/client/generated-response/ConversationsRepliesResponse.ts +++ b/src_deno/client/generated-response/ConversationsRepliesResponse.ts @@ -112,7 +112,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -141,7 +141,7 @@ export interface Accessory { style?: string; text?: DescriptionElement; timezone?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; workflow?: Workflow; @@ -173,7 +173,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: FluffyType; + type?: AccessoryType; } export interface PurpleElement { @@ -219,14 +219,33 @@ export enum PurpleType { Usergroup = "usergroup", } -export enum FluffyType { +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 Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -365,6 +384,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -457,7 +477,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -471,7 +491,7 @@ export interface FileElement { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -558,6 +578,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -570,6 +591,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -636,11 +658,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -653,6 +679,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -786,7 +825,7 @@ export interface Action { selected_options?: SelectedOptionElement[]; style?: string; text?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; } @@ -1054,6 +1093,7 @@ export interface PurpleFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src_deno/client/generated-response/FilesInfoResponse.ts b/src_deno/client/generated-response/FilesInfoResponse.ts index d04af93..f7ed9d6 100644 --- a/src_deno/client/generated-response/FilesInfoResponse.ts +++ b/src_deno/client/generated-response/FilesInfoResponse.ts @@ -82,6 +82,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -174,7 +175,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -215,6 +216,7 @@ export interface Headers { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -227,6 +229,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -242,116 +245,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -399,7 +293,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -460,7 +354,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -474,7 +368,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -493,7 +387,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -506,7 +400,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -543,6 +444,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesListResponse.ts b/src_deno/client/generated-response/FilesListResponse.ts index d915008..c0064dc 100644 --- a/src_deno/client/generated-response/FilesListResponse.ts +++ b/src_deno/client/generated-response/FilesListResponse.ts @@ -66,6 +66,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -158,7 +159,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -209,6 +210,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -221,6 +223,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -236,116 +239,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -393,7 +287,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -454,7 +348,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -468,7 +362,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -487,7 +381,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -500,7 +394,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -537,6 +438,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesRemoteAddResponse.ts b/src_deno/client/generated-response/FilesRemoteAddResponse.ts index 7178ca9..7df00cf 100644 --- a/src_deno/client/generated-response/FilesRemoteAddResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteAddResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesRemoteInfoResponse.ts b/src_deno/client/generated-response/FilesRemoteInfoResponse.ts index 72e2bc1..c959aa0 100644 --- a/src_deno/client/generated-response/FilesRemoteInfoResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteInfoResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesRemoteListResponse.ts b/src_deno/client/generated-response/FilesRemoteListResponse.ts index 8b36c74..9777dcf 100644 --- a/src_deno/client/generated-response/FilesRemoteListResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteListResponse.ts @@ -66,6 +66,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -158,7 +159,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -209,6 +210,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -221,6 +223,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -236,116 +239,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -393,7 +287,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -454,7 +348,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -468,7 +362,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -487,7 +381,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -500,7 +394,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -537,6 +438,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesRemoteShareResponse.ts b/src_deno/client/generated-response/FilesRemoteShareResponse.ts index a294bd1..02356c4 100644 --- a/src_deno/client/generated-response/FilesRemoteShareResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteShareResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts b/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts index ce767b6..9592a6b 100644 --- a/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts b/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts index 5efa378..2794cdb 100644 --- a/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts +++ b/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts b/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts index 12e0107..6b47ce6 100644 --- a/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts +++ b/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/FilesUploadResponse.ts b/src_deno/client/generated-response/FilesUploadResponse.ts index 64ec0ab..056cefb 100644 --- a/src_deno/client/generated-response/FilesUploadResponse.ts +++ b/src_deno/client/generated-response/FilesUploadResponse.ts @@ -65,6 +65,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -157,7 +158,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -208,6 +209,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -220,6 +222,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -235,116 +238,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -392,7 +286,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -453,7 +347,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -467,7 +361,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -486,7 +380,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -499,7 +393,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -536,6 +437,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/PinsListResponse.ts b/src_deno/client/generated-response/PinsListResponse.ts index 91562c4..ebcbd9b 100644 --- a/src_deno/client/generated-response/PinsListResponse.ts +++ b/src_deno/client/generated-response/PinsListResponse.ts @@ -73,6 +73,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -165,7 +166,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlock[]; + title_blocks?: Block[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -216,6 +217,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -228,6 +230,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -243,116 +246,7 @@ export interface CreationSource { workflow_function_id?: string; } -export interface Schema { - id?: string; - is_primary_column?: boolean; - key?: string; - name?: string; - options?: Options; - type?: string; -} - -export interface Options { - 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; - 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 { - select?: string[]; -} - -export interface View { - columns?: Column[]; - created_by?: string; - date_created?: number; - id?: string; - is_all_items_view?: boolean; - is_locked?: boolean; - name?: string; - position?: string; - stick_column_left?: boolean; - type?: string; -} - -export interface Column { - id?: string; - key?: string; - position?: string; - visible?: boolean; - width?: number; -} - -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; - 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 TitleBlock { +export interface Block { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -400,7 +294,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -461,7 +355,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: string; + type?: FluffyType; } export interface PurpleElement { @@ -475,7 +369,7 @@ export interface PurpleElement { team_id?: string; text?: string; timestamp?: number; - type?: ElementType; + type?: PurpleType; unicode?: string; unsafe?: boolean; url?: string; @@ -494,7 +388,7 @@ export interface Style { unlink?: boolean; } -export enum ElementType { +export enum PurpleType { Broadcast = "broadcast", Channel = "channel", Color = "color", @@ -507,7 +401,14 @@ export enum ElementType { Usergroup = "usergroup", } -export interface Filter { +export enum FluffyType { + RichTextList = "rich_text_list", + RichTextPreformatted = "rich_text_preformatted", + RichTextQuote = "rich_text_quote", + RichTextSection = "rich_text_section", +} + +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -544,6 +445,132 @@ export interface CustomizableInputParameter { value?: string; } +export interface Schema { + id?: string; + is_primary_column?: boolean; + key?: string; + name?: string; + options?: Options; + type?: string; +} + +export interface Options { + 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; + 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 { + select?: string[]; +} + +export interface View { + columns?: Column[]; + created_by?: string; + date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; + id?: string; + is_all_items_view?: boolean; + is_locked?: boolean; + name?: string; + position?: string; + show_completed_items?: boolean; + stick_column_left?: boolean; + type?: string; +} + +export interface Column { + id?: string; + key?: string; + position?: string; + 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; +} + +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; + 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?: Preview; diff --git a/src_deno/client/generated-response/ReactionsGetResponse.ts b/src_deno/client/generated-response/ReactionsGetResponse.ts index 40e8e62..037515a 100644 --- a/src_deno/client/generated-response/ReactionsGetResponse.ts +++ b/src_deno/client/generated-response/ReactionsGetResponse.ts @@ -98,7 +98,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -212,7 +212,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -351,6 +351,7 @@ export interface File { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -443,7 +444,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -457,7 +458,7 @@ export interface File { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -544,6 +545,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -556,6 +558,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -622,11 +625,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -639,6 +646,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; diff --git a/src_deno/client/generated-response/ReactionsListResponse.ts b/src_deno/client/generated-response/ReactionsListResponse.ts index 13ae740..51ec89b 100644 --- a/src_deno/client/generated-response/ReactionsListResponse.ts +++ b/src_deno/client/generated-response/ReactionsListResponse.ts @@ -124,7 +124,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -153,7 +153,7 @@ export interface Accessory { style?: string; text?: DescriptionElement; timezone?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; workflow?: Workflow; @@ -185,7 +185,7 @@ export interface AccessoryElement { indent?: number; offset?: number; style?: string; - type?: FluffyType; + type?: AccessoryType; } export interface PurpleElement { @@ -231,14 +231,33 @@ export enum PurpleType { Usergroup = "usergroup", } -export enum FluffyType { +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 Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -377,6 +396,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -469,7 +489,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: FileBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -483,7 +503,7 @@ export interface FileElement { vtt?: string; } -export interface FileBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -570,6 +590,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -582,6 +603,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -648,11 +670,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -665,6 +691,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -798,7 +837,7 @@ export interface Action { selected_options?: SelectedOptionElement[]; style?: string; text?: string; - type?: string; + type?: AccessoryType; url?: string; value?: string; } @@ -1066,6 +1105,7 @@ export interface PurpleFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src_deno/client/generated-response/SearchAllResponse.ts b/src_deno/client/generated-response/SearchAllResponse.ts index dd9617a..970fcc6 100644 --- a/src_deno/client/generated-response/SearchAllResponse.ts +++ b/src_deno/client/generated-response/SearchAllResponse.ts @@ -261,7 +261,7 @@ export enum ActionType { WorkflowButton = "workflow_button", } -export interface AttachmentBlock { +export interface DescriptionBlockElement { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -309,7 +309,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -416,7 +416,7 @@ export enum PurpleType { Usergroup = "usergroup", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -525,6 +525,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -617,7 +618,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: AttachmentBlock[]; + title_blocks?: DescriptionBlockElement[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -673,6 +674,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -685,6 +687,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: DescriptionBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -751,11 +754,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -768,6 +775,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -1076,6 +1096,7 @@ export interface MessageFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src_deno/client/generated-response/SearchFilesResponse.ts b/src_deno/client/generated-response/SearchFilesResponse.ts index 18ea0c7..a2ba922 100644 --- a/src_deno/client/generated-response/SearchFilesResponse.ts +++ b/src_deno/client/generated-response/SearchFilesResponse.ts @@ -281,7 +281,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -395,7 +395,7 @@ export enum FluffyType { RichTextSection = "rich_text_section", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -504,6 +504,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -652,6 +653,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -664,6 +666,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: Block[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -730,11 +733,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -747,6 +754,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -1055,6 +1075,7 @@ export interface MessageFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; diff --git a/src_deno/client/generated-response/SearchMessagesResponse.ts b/src_deno/client/generated-response/SearchMessagesResponse.ts index ec8534b..6613d01 100644 --- a/src_deno/client/generated-response/SearchMessagesResponse.ts +++ b/src_deno/client/generated-response/SearchMessagesResponse.ts @@ -219,7 +219,7 @@ export interface Accessory { default_to_current_conversation?: boolean; elements?: AccessoryElement[]; fallback?: string; - filter?: Filter; + filter?: AccessoryFilter; focus_on_load?: boolean; image_bytes?: number; image_height?: number; @@ -326,7 +326,7 @@ export enum PurpleType { Usergroup = "usergroup", } -export interface Filter { +export interface AccessoryFilter { exclude_bot_users?: boolean; exclude_external_shared_channels?: boolean; include?: any[]; @@ -435,6 +435,7 @@ export interface FileElement { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string; @@ -578,6 +579,7 @@ export interface InitialComment { export interface ListLimits { column_count?: number; column_count_limit?: number; + max_attachments_per_cell?: number; over_column_maximum?: boolean; over_row_maximum?: boolean; over_view_maximum?: boolean; @@ -590,6 +592,7 @@ export interface ListLimits { export interface ListMetadata { creation_source?: CreationSource; description?: string; + description_blocks?: TitleBlockElement[]; icon?: string; icon_team_id?: string; icon_url?: string; @@ -656,11 +659,15 @@ export interface View { columns?: Column[]; created_by?: string; date_created?: number; + default_view_key?: string; + filters?: FilterElement[]; + grouping?: Grouping; id?: string; is_all_items_view?: boolean; is_locked?: boolean; name?: string; position?: string; + show_completed_items?: boolean; stick_column_left?: boolean; type?: string; } @@ -673,6 +680,19 @@ export interface Column { 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; +} + export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; @@ -971,6 +991,7 @@ export interface MessageFile { lines?: number; lines_more?: number; linked_channel_id?: string; + list_csv_download_url?: string; list_limits?: ListLimits; list_metadata?: ListMetadata; media_display_type?: string;