UNPKG

29.7 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type SearchAllResponse = WebAPICallResult & {
3 error?: string;
4 files?: Files;
5 messages?: Messages;
6 needed?: string;
7 ok?: boolean;
8 posts?: Posts;
9 provided?: string;
10 query?: string;
11};
12export interface Files {
13 matches?: FilesMatch[];
14 pagination?: Pagination;
15 paging?: Paging;
16 total?: number;
17}
18export interface FilesMatch {
19 access?: string;
20 attachments?: Attachment[];
21 bot_id?: string;
22 cc?: Cc[];
23 channels?: string[];
24 comments_count?: number;
25 converted_pdf?: string;
26 created?: number;
27 deanimate?: string;
28 deanimate_gif?: string;
29 display_as_bot?: boolean;
30 dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[];
31 edit_link?: string;
32 editable?: boolean;
33 editors?: LastEditor[];
34 editors_count?: number;
35 external_id?: string;
36 external_type?: string;
37 external_url?: string;
38 file_access?: string;
39 filetype?: string;
40 from?: Cc[];
41 groups?: string[];
42 has_more?: boolean;
43 has_more_shares?: boolean;
44 has_rich_preview?: boolean;
45 headers?: MatchHeaders;
46 id?: string;
47 image_exif_rotation?: number;
48 ims?: string[];
49 is_channel_space?: boolean;
50 is_external?: boolean;
51 is_public?: boolean;
52 is_starred?: boolean;
53 last_editor?: LastEditor;
54 lines?: number;
55 lines_more?: number;
56 linked_channel_id?: string;
57 media_display_type?: string;
58 mimetype?: string;
59 mode?: string;
60 name?: string;
61 non_owner_editable?: boolean;
62 org_or_workspace_access?: string;
63 original_attachment_count?: number;
64 original_h?: number;
65 original_w?: number;
66 permalink?: string;
67 permalink_public?: string;
68 plain_text?: string;
69 pretty_type?: string;
70 preview?: string;
71 preview_highlight?: string;
72 preview_is_truncated?: boolean;
73 preview_plain_text?: string;
74 private_channels_with_file_access_count?: number;
75 public_url_shared?: boolean;
76 quip_thread_id?: string;
77 sent_to_self?: boolean;
78 shares?: MatchShares;
79 size?: number;
80 subject?: string;
81 team_pref_version_history_enabled?: boolean;
82 teams_shared_with?: string[];
83 thumb_1024?: string;
84 thumb_1024_h?: number;
85 thumb_1024_w?: number;
86 thumb_160?: string;
87 thumb_360?: string;
88 thumb_360_gif?: string;
89 thumb_360_h?: number;
90 thumb_360_w?: number;
91 thumb_480?: string;
92 thumb_480_gif?: string;
93 thumb_480_h?: number;
94 thumb_480_w?: number;
95 thumb_64?: string;
96 thumb_720?: string;
97 thumb_720_h?: number;
98 thumb_720_w?: number;
99 thumb_80?: string;
100 thumb_800?: string;
101 thumb_800_h?: number;
102 thumb_800_w?: number;
103 thumb_960?: string;
104 thumb_960_h?: number;
105 thumb_960_w?: number;
106 thumb_pdf?: string;
107 thumb_pdf_h?: number;
108 thumb_pdf_w?: number;
109 thumb_tiny?: string;
110 thumb_video?: string;
111 timestamp?: number;
112 title?: string;
113 title_blocks?: MatchTitleBlock[];
114 to?: Cc[];
115 update_notification?: number;
116 updated?: number;
117 url_private?: string;
118 url_private_download?: string;
119 url_static_preview?: string;
120 user?: LastEditor;
121 user_team?: UserTeam;
122 username?: string;
123}
124export interface Attachment {
125 actions?: Action[];
126 app_id?: string;
127 app_unfurl_url?: string;
128 author_icon?: string;
129 author_id?: string;
130 author_link?: string;
131 author_name?: string;
132 author_subname?: string;
133 blocks?: AttachmentBlock[];
134 bot_id?: string;
135 callback_id?: string;
136 channel_id?: string;
137 channel_name?: string;
138 channel_team?: string;
139 color?: string;
140 fallback?: string;
141 fields?: Field[];
142 filename?: string;
143 files?: FileElement[];
144 footer?: string;
145 footer_icon?: string;
146 from_url?: string;
147 hide_color?: boolean;
148 id?: number;
149 image_bytes?: number;
150 image_height?: number;
151 image_url?: string;
152 image_width?: number;
153 indent?: boolean;
154 is_app_unfurl?: boolean;
155 is_file_attachment?: boolean;
156 is_msg_unfurl?: boolean;
157 is_reply_unfurl?: boolean;
158 is_thread_root_unfurl?: boolean;
159 message_blocks?: MessageBlock[];
160 metadata?: AttachmentMetadata;
161 mimetype?: string;
162 mrkdwn_in?: string[];
163 msg_subtype?: string;
164 original_url?: string;
165 pretext?: string;
166 preview?: Preview;
167 service_icon?: string;
168 service_name?: string;
169 service_url?: string;
170 size?: number;
171 text?: string;
172 thumb_height?: number;
173 thumb_url?: string;
174 thumb_width?: number;
175 title?: string;
176 title_link?: string;
177 ts?: string;
178 url?: string;
179 video_html?: string;
180 video_html_height?: number;
181 video_html_width?: number;
182 video_url?: string;
183}
184export interface Action {
185 confirm?: ActionConfirm;
186 data_source?: string;
187 id?: string;
188 min_query_length?: number;
189 name?: string;
190 option_groups?: ActionOptionGroup[];
191 options?: SelectedOptionElement[];
192 selected_options?: SelectedOptionElement[];
193 style?: string;
194 text?: string;
195 type?: ActionType;
196 url?: string;
197 value?: string;
198}
199export interface ActionConfirm {
200 dismiss_text?: string;
201 ok_text?: string;
202 text?: string;
203 title?: string;
204}
205export interface ActionOptionGroup {
206 options?: SelectedOptionElement[];
207 text?: string;
208}
209export interface SelectedOptionElement {
210 text?: string;
211 value?: string;
212}
213export declare enum ActionType {
214 Button = "button",
215 ChannelsSelect = "channels_select",
216 Checkboxes = "checkboxes",
217 ConversationsSelect = "conversations_select",
218 Datepicker = "datepicker",
219 Datetimepicker = "datetimepicker",
220 ExternalSelect = "external_select",
221 Image = "image",
222 MultiChannelsSelect = "multi_channels_select",
223 MultiConversationsSelect = "multi_conversations_select",
224 MultiExternalSelect = "multi_external_select",
225 MultiStaticSelect = "multi_static_select",
226 MultiUsersSelect = "multi_users_select",
227 Overflow = "overflow",
228 RadioButtons = "radio_buttons",
229 RichTextList = "rich_text_list",
230 RichTextPreformatted = "rich_text_preformatted",
231 RichTextQuote = "rich_text_quote",
232 RichTextSection = "rich_text_section",
233 StaticSelect = "static_select",
234 Timepicker = "timepicker",
235 UsersSelect = "users_select",
236 WorkflowButton = "workflow_button"
237}
238export interface AttachmentBlock {
239 accessory?: Accessory;
240 alt_text?: string;
241 app_collaborators?: string[];
242 app_id?: string;
243 author_name?: string;
244 block_id?: string;
245 bot_user_id?: string;
246 button_label?: string;
247 description?: DescriptionElement | string;
248 developer_trace_id?: string;
249 elements?: Accessory[];
250 fallback?: string;
251 fields?: DescriptionElement[];
252 function_trigger_id?: string;
253 image_bytes?: number;
254 image_height?: number;
255 image_url?: string;
256 image_width?: number;
257 is_animated?: boolean;
258 is_workflow_app?: boolean;
259 owning_team_id?: string;
260 provider_icon_url?: string;
261 provider_name?: string;
262 sales_home_workflow_app_type?: number;
263 share_url?: string;
264 slack_file?: SlackFile;
265 text?: DescriptionElement;
266 thumbnail_url?: string;
267 title?: DescriptionElement | string;
268 title_url?: string;
269 trigger_subtype?: string;
270 trigger_type?: string;
271 type?: BlockType;
272 url?: string;
273 video_url?: string;
274 workflow_id?: string;
275}
276export interface Accessory {
277 accessibility_label?: string;
278 action_id?: string;
279 alt_text?: string;
280 border?: number;
281 confirm?: AccessoryConfirm;
282 default_to_current_conversation?: boolean;
283 elements?: AccessoryElement[];
284 fallback?: string;
285 filter?: Filter;
286 focus_on_load?: boolean;
287 image_bytes?: number;
288 image_height?: number;
289 image_url?: string;
290 image_width?: number;
291 indent?: number;
292 initial_channel?: string;
293 initial_channels?: string[];
294 initial_conversation?: string;
295 initial_conversations?: string[];
296 initial_date?: string;
297 initial_date_time?: number;
298 initial_option?: InitialOptionElement;
299 initial_options?: InitialOptionElement[];
300 initial_time?: string;
301 initial_user?: string;
302 initial_users?: string[];
303 max_selected_items?: number;
304 min_query_length?: number;
305 offset?: number;
306 option_groups?: AccessoryOptionGroup[];
307 options?: InitialOptionElement[];
308 placeholder?: DescriptionElement;
309 response_url_enabled?: boolean;
310 slack_file?: SlackFile;
311 style?: string;
312 text?: DescriptionElement;
313 timezone?: string;
314 type?: ActionType;
315 url?: string;
316 value?: string;
317 workflow?: Workflow;
318}
319export interface AccessoryConfirm {
320 confirm?: DescriptionElement;
321 deny?: DescriptionElement;
322 style?: string;
323 text?: DescriptionElement;
324 title?: DescriptionElement;
325}
326export interface DescriptionElement {
327 emoji?: boolean;
328 text?: string;
329 type?: DescriptionType;
330 verbatim?: boolean;
331}
332export declare enum DescriptionType {
333 Mrkdwn = "mrkdwn",
334 PlainText = "plain_text"
335}
336export interface AccessoryElement {
337 border?: number;
338 elements?: PurpleElement[];
339 indent?: number;
340 offset?: number;
341 style?: string;
342 type?: ActionType;
343}
344export interface PurpleElement {
345 channel_id?: string;
346 name?: string;
347 range?: string;
348 skin_tone?: number;
349 style?: Style;
350 team_id?: string;
351 text?: string;
352 timestamp?: string;
353 type?: PurpleType;
354 unicode?: string;
355 url?: string;
356 user_id?: string;
357 usergroup_id?: string;
358 value?: string;
359}
360export interface Style {
361 bold?: boolean;
362 code?: boolean;
363 italic?: boolean;
364 strike?: boolean;
365}
366export declare enum PurpleType {
367 Broadcast = "broadcast",
368 Channel = "channel",
369 Color = "color",
370 Date = "date",
371 Emoji = "emoji",
372 Link = "link",
373 Team = "team",
374 Text = "text",
375 User = "user",
376 Usergroup = "usergroup"
377}
378export interface Filter {
379 exclude_bot_users?: boolean;
380 exclude_external_shared_channels?: boolean;
381 include?: any[];
382}
383export interface InitialOptionElement {
384 description?: DescriptionElement;
385 text?: DescriptionElement;
386 url?: string;
387 value?: string;
388}
389export interface AccessoryOptionGroup {
390 label?: DescriptionElement;
391 options?: InitialOptionElement[];
392}
393export interface SlackFile {
394 id?: string;
395 url?: string;
396}
397export interface Workflow {
398 trigger?: Trigger;
399}
400export interface Trigger {
401 customizable_input_parameters?: CustomizableInputParameter[];
402 url?: string;
403}
404export interface CustomizableInputParameter {
405 name?: string;
406 value?: string;
407}
408export declare enum BlockType {
409 Actions = "actions",
410 Context = "context",
411 Divider = "divider",
412 Image = "image",
413 RichText = "rich_text",
414 Section = "section",
415 ShareShortcut = "share_shortcut",
416 Video = "video"
417}
418export interface Field {
419 short?: boolean;
420 title?: string;
421 value?: string;
422}
423export interface FileElement {
424 access?: string;
425 alt_txt?: string;
426 app_id?: string;
427 app_name?: string;
428 attachments?: any[];
429 blocks?: AttachmentBlock[];
430 bot_id?: string;
431 canvas_template_mode?: string;
432 cc?: Cc[];
433 channel_actions_count?: number;
434 channel_actions_ts?: string;
435 channels?: string[];
436 comments_count?: number;
437 converted_pdf?: string;
438 created?: number;
439 deanimate?: string;
440 deanimate_gif?: string;
441 display_as_bot?: boolean;
442 dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[];
443 duration_ms?: number;
444 edit_link?: string;
445 edit_timestamp?: number;
446 editable?: boolean;
447 editor?: string;
448 editors?: string[];
449 external_id?: string;
450 external_type?: string;
451 external_url?: string;
452 file_access?: string;
453 filetype?: string;
454 from?: Cc[];
455 groups?: string[];
456 has_more?: boolean;
457 has_more_shares?: boolean;
458 has_rich_preview?: boolean;
459 headers?: FileHeaders;
460 hls?: string;
461 hls_embed?: string;
462 id?: string;
463 image_exif_rotation?: number;
464 ims?: string[];
465 initial_comment?: InitialComment;
466 is_channel_space?: boolean;
467 is_external?: boolean;
468 is_public?: boolean;
469 is_starred?: boolean;
470 last_editor?: string;
471 last_read?: number;
472 lines?: number;
473 lines_more?: number;
474 linked_channel_id?: string;
475 media_display_type?: string;
476 media_progress?: MediaProgress;
477 mimetype?: string;
478 mode?: string;
479 mp4?: string;
480 mp4_low?: string;
481 name?: string;
482 non_owner_editable?: boolean;
483 num_stars?: number;
484 org_or_workspace_access?: string;
485 original_attachment_count?: number;
486 original_h?: string;
487 original_w?: string;
488 permalink?: string;
489 permalink_public?: string;
490 pinned_to?: string[];
491 pjpeg?: string;
492 plain_text?: string;
493 pretty_type?: string;
494 preview?: string;
495 preview_highlight?: string;
496 preview_is_truncated?: boolean;
497 preview_plain_text?: string;
498 private_channels_with_file_access_count?: number;
499 public_url_shared?: boolean;
500 quip_thread_id?: string;
501 reactions?: Reaction[];
502 saved?: Saved;
503 sent_to_self?: boolean;
504 shares?: PurpleShares;
505 show_badge?: boolean;
506 simplified_html?: string;
507 size?: number;
508 source_team?: string;
509 subject?: string;
510 subtype?: string;
511 team_pref_version_history_enabled?: boolean;
512 teams_shared_with?: any[];
513 template_conversion_ts?: number;
514 template_description?: string;
515 template_icon?: string;
516 template_name?: string;
517 template_title?: string;
518 thumb_1024?: string;
519 thumb_1024_gif?: string;
520 thumb_1024_h?: string;
521 thumb_1024_w?: string;
522 thumb_160?: string;
523 thumb_160_gif?: string;
524 thumb_160_h?: string;
525 thumb_160_w?: string;
526 thumb_360?: string;
527 thumb_360_gif?: string;
528 thumb_360_h?: string;
529 thumb_360_w?: string;
530 thumb_480?: string;
531 thumb_480_gif?: string;
532 thumb_480_h?: string;
533 thumb_480_w?: string;
534 thumb_64?: string;
535 thumb_64_gif?: string;
536 thumb_64_h?: string;
537 thumb_64_w?: string;
538 thumb_720?: string;
539 thumb_720_gif?: string;
540 thumb_720_h?: string;
541 thumb_720_w?: string;
542 thumb_80?: string;
543 thumb_800?: string;
544 thumb_800_gif?: string;
545 thumb_800_h?: string;
546 thumb_800_w?: string;
547 thumb_80_gif?: string;
548 thumb_80_h?: string;
549 thumb_80_w?: string;
550 thumb_960?: string;
551 thumb_960_gif?: string;
552 thumb_960_h?: string;
553 thumb_960_w?: string;
554 thumb_gif?: string;
555 thumb_pdf?: string;
556 thumb_pdf_h?: string;
557 thumb_pdf_w?: string;
558 thumb_tiny?: string;
559 thumb_video?: string;
560 thumb_video_h?: number;
561 thumb_video_w?: number;
562 timestamp?: number;
563 title?: string;
564 title_blocks?: AttachmentBlock[];
565 to?: Cc[];
566 transcription?: Transcription;
567 update_notification?: number;
568 updated?: number;
569 url_private?: string;
570 url_private_download?: string;
571 url_static_preview?: string;
572 user?: string;
573 user_team?: string;
574 username?: string;
575 vtt?: string;
576}
577export interface Cc {
578 address?: string;
579 name?: string;
580 original?: string;
581}
582export interface DmMpdmUsersWithFileAccess {
583 access?: string;
584 user_id?: LastEditor;
585}
586export declare enum LastEditor {
587 Empty = "",
588 U00000000 = "U00000000"
589}
590export interface FileHeaders {
591 date?: string;
592 in_reply_to?: string;
593 message_id?: string;
594 reply_to?: string;
595}
596export interface InitialComment {
597 channel?: string;
598 comment?: string;
599 created?: number;
600 id?: string;
601 is_intro?: boolean;
602 timestamp?: number;
603 user?: string;
604}
605export interface MediaProgress {
606 duration_ms?: number;
607 max_offset_ms?: number;
608 offset_ms?: number;
609}
610export interface Reaction {
611 count?: number;
612 name?: string;
613 url?: string;
614 users?: string[];
615}
616export interface Saved {
617 date_completed?: number;
618 date_due?: number;
619 is_archived?: boolean;
620 state?: string;
621}
622export interface PurpleShares {
623 private?: {
624 [key: string]: Public[];
625 };
626 public?: {
627 [key: string]: Public[];
628 };
629}
630export interface Public {
631 access?: string;
632 channel_name?: string;
633 date_last_shared?: number;
634 latest_reply?: string;
635 reply_count?: number;
636 reply_users?: string[];
637 reply_users_count?: number;
638 share_user_id?: LastEditor;
639 source?: string;
640 team_id?: UserTeam;
641 thread_ts?: string;
642 ts?: Ts;
643}
644export declare enum UserTeam {
645 Empty = "",
646 T00000000 = "T00000000"
647}
648export declare enum Ts {
649 Empty = "",
650 The0000000000000000 = "0000000000.000000"
651}
652export interface Transcription {
653 locale?: string;
654 status?: string;
655}
656export interface MessageBlock {
657 channel?: string;
658 message?: Message;
659 team?: string;
660 ts?: string;
661}
662export interface Message {
663 app_id?: string;
664 attachments?: any[];
665 blocks?: AttachmentBlock[];
666 bot_id?: string;
667 bot_link?: string;
668 bot_profile?: BotProfile;
669 channel?: string;
670 client_msg_id?: string;
671 comment?: Comment;
672 display_as_bot?: boolean;
673 edited?: Edited;
674 file?: MessageFile;
675 files?: any[];
676 hidden?: boolean;
677 icons?: MessageIcons;
678 inviter?: string;
679 is_intro?: boolean;
680 is_locked?: boolean;
681 is_starred?: boolean;
682 is_thread_broadcast?: boolean;
683 item?: Comment;
684 item_type?: string;
685 last_read?: string;
686 latest_reply?: string;
687 metadata?: MessageMetadata;
688 no_notifications?: boolean;
689 parent_user_id?: string;
690 pinned_to?: any[];
691 purpose?: string;
692 reactions?: any[];
693 replies?: any[];
694 reply_count?: number;
695 reply_users?: any[];
696 reply_users_count?: number;
697 room?: Room;
698 root?: Root;
699 subscribed?: boolean;
700 subtype?: string;
701 team?: string;
702 text?: string;
703 thread_ts?: string;
704 topic?: string;
705 ts?: string;
706 type?: string;
707 unfurl_links?: boolean;
708 unfurl_media?: boolean;
709 upload?: boolean;
710 user?: string;
711 username?: string;
712 wibblr?: boolean;
713 x_files?: any[];
714}
715export interface BotProfile {
716 app_id?: string;
717 deleted?: boolean;
718 icons?: BotProfileIcons;
719 id?: string;
720 name?: string;
721 team_id?: string;
722 updated?: number;
723}
724export interface BotProfileIcons {
725 image_36?: string;
726 image_48?: string;
727 image_72?: string;
728}
729export interface Comment {
730 comment?: string;
731 created?: string;
732 display_as_bot?: boolean;
733 edit_link?: string;
734 editable?: boolean;
735 external_type?: string;
736 filetype?: string;
737 has_rich_preview?: boolean;
738 id?: string;
739 is_external?: boolean;
740 is_intro?: boolean;
741 is_public?: boolean;
742 is_starred?: boolean;
743 lines?: number;
744 lines_more?: number;
745 media_display_type?: string;
746 mimetype?: string;
747 mode?: string;
748 name?: string;
749 permalink?: string;
750 permalink_public?: boolean;
751 pretty_type?: string;
752 preview?: string;
753 preview_highlight?: string;
754 preview_is_truncated?: boolean;
755 public_url_shared?: boolean;
756 size?: number;
757 timestamp?: string;
758 title?: string;
759 url_private?: string;
760 url_private_download?: boolean;
761 user?: string;
762 username?: string;
763}
764export interface Edited {
765 ts?: string;
766 user?: string;
767}
768export interface MessageFile {
769 access?: string;
770 alt_txt?: string;
771 app_id?: string;
772 app_name?: string;
773 attachments?: any[];
774 blocks?: any[];
775 bot_id?: string;
776 canvas_template_mode?: string;
777 cc?: any[];
778 channel_actions_count?: number;
779 channel_actions_ts?: string;
780 channels?: any[];
781 comments_count?: number;
782 converted_pdf?: string;
783 created?: number;
784 deanimate?: string;
785 deanimate_gif?: string;
786 display_as_bot?: boolean;
787 dm_mpdm_users_with_file_access?: any[];
788 duration_ms?: number;
789 edit_link?: string;
790 edit_timestamp?: number;
791 editable?: boolean;
792 editor?: string;
793 editors?: any[];
794 external_id?: string;
795 external_type?: string;
796 external_url?: string;
797 file_access?: string;
798 filetype?: string;
799 from?: any[];
800 groups?: any[];
801 has_more?: boolean;
802 has_more_shares?: boolean;
803 has_rich_preview?: boolean;
804 headers?: FileHeaders;
805 hls?: string;
806 hls_embed?: string;
807 id?: string;
808 image_exif_rotation?: number;
809 ims?: any[];
810 initial_comment?: InitialComment;
811 is_channel_space?: boolean;
812 is_external?: boolean;
813 is_public?: boolean;
814 is_starred?: boolean;
815 last_editor?: string;
816 last_read?: number;
817 lines?: number;
818 lines_more?: number;
819 linked_channel_id?: string;
820 media_display_type?: string;
821 media_progress?: MediaProgress;
822 mimetype?: string;
823 mode?: string;
824 mp4?: string;
825 mp4_low?: string;
826 name?: string;
827 non_owner_editable?: boolean;
828 num_stars?: number;
829 org_or_workspace_access?: string;
830 original_attachment_count?: number;
831 original_h?: string;
832 original_w?: string;
833 permalink?: string;
834 permalink_public?: string;
835 pinned_to?: any[];
836 pjpeg?: string;
837 plain_text?: string;
838 pretty_type?: string;
839 preview?: string;
840 preview_highlight?: string;
841 preview_is_truncated?: boolean;
842 preview_plain_text?: string;
843 private_channels_with_file_access_count?: number;
844 public_url_shared?: boolean;
845 quip_thread_id?: string;
846 reactions?: any[];
847 saved?: Saved;
848 sent_to_self?: boolean;
849 shares?: FluffyShares;
850 show_badge?: boolean;
851 simplified_html?: string;
852 size?: number;
853 source_team?: string;
854 subject?: string;
855 subtype?: string;
856 team_pref_version_history_enabled?: boolean;
857 teams_shared_with?: any[];
858 template_conversion_ts?: number;
859 template_description?: string;
860 template_icon?: string;
861 template_name?: string;
862 template_title?: string;
863 thumb_1024?: string;
864 thumb_1024_gif?: string;
865 thumb_1024_h?: string;
866 thumb_1024_w?: string;
867 thumb_160?: string;
868 thumb_160_gif?: string;
869 thumb_160_h?: string;
870 thumb_160_w?: string;
871 thumb_360?: string;
872 thumb_360_gif?: string;
873 thumb_360_h?: string;
874 thumb_360_w?: string;
875 thumb_480?: string;
876 thumb_480_gif?: string;
877 thumb_480_h?: string;
878 thumb_480_w?: string;
879 thumb_64?: string;
880 thumb_64_gif?: string;
881 thumb_64_h?: string;
882 thumb_64_w?: string;
883 thumb_720?: string;
884 thumb_720_gif?: string;
885 thumb_720_h?: string;
886 thumb_720_w?: string;
887 thumb_80?: string;
888 thumb_800?: string;
889 thumb_800_gif?: string;
890 thumb_800_h?: string;
891 thumb_800_w?: string;
892 thumb_80_gif?: string;
893 thumb_80_h?: string;
894 thumb_80_w?: string;
895 thumb_960?: string;
896 thumb_960_gif?: string;
897 thumb_960_h?: string;
898 thumb_960_w?: string;
899 thumb_gif?: string;
900 thumb_pdf?: string;
901 thumb_pdf_h?: string;
902 thumb_pdf_w?: string;
903 thumb_tiny?: string;
904 thumb_video?: string;
905 thumb_video_h?: number;
906 thumb_video_w?: number;
907 timestamp?: number;
908 title?: string;
909 title_blocks?: any[];
910 to?: any[];
911 transcription?: Transcription;
912 update_notification?: number;
913 updated?: number;
914 url_private?: string;
915 url_private_download?: string;
916 url_static_preview?: string;
917 user?: string;
918 user_team?: string;
919 username?: string;
920 vtt?: string;
921}
922export interface FluffyShares {
923}
924export interface MessageIcons {
925 emoji?: string;
926 image_36?: string;
927 image_48?: string;
928 image_64?: string;
929 image_72?: string;
930}
931export interface MessageMetadata {
932 event_type?: string;
933}
934export interface Room {
935 app_id?: string;
936 attached_file_ids?: any[];
937 background_id?: string;
938 call_family?: string;
939 canvas_background?: string;
940 canvas_thread_ts?: string;
941 channels?: any[];
942 created_by?: string;
943 date_end?: number;
944 date_start?: number;
945 display_id?: string;
946 external_unique_id?: string;
947 has_ended?: boolean;
948 id?: string;
949 is_dm_call?: boolean;
950 is_prewarmed?: boolean;
951 is_scheduled?: boolean;
952 media_backend_type?: string;
953 media_server?: string;
954 name?: string;
955 participant_history?: any[];
956 participants?: any[];
957 participants_camera_off?: any[];
958 participants_camera_on?: any[];
959 participants_screenshare_off?: any[];
960 participants_screenshare_on?: any[];
961 thread_root_ts?: string;
962 was_accepted?: boolean;
963 was_missed?: boolean;
964 was_rejected?: boolean;
965}
966export interface Root {
967 bot_id?: string;
968 bot_profile?: BotProfile;
969 edited?: Edited;
970 icons?: MessageIcons;
971 last_read?: string;
972 latest_reply?: string;
973 mrkdwn?: boolean;
974 no_notifications?: boolean;
975 parent_user_id?: string;
976 replies?: any[];
977 reply_count?: number;
978 reply_users?: any[];
979 reply_users_count?: number;
980 room?: Room;
981 subscribed?: boolean;
982 subtype?: string;
983 team?: string;
984 text?: string;
985 thread_ts?: string;
986 ts?: string;
987 type?: string;
988 unread_count?: number;
989 user?: string;
990 username?: string;
991}
992export interface AttachmentMetadata {
993 extension?: string;
994 format?: string;
995 original_h?: number;
996 original_w?: number;
997 rotation?: number;
998 thumb_160?: boolean;
999 thumb_360_h?: number;
1000 thumb_360_w?: number;
1001 thumb_64?: boolean;
1002 thumb_80?: boolean;
1003 thumb_tiny?: string;
1004}
1005export interface Preview {
1006 can_remove?: boolean;
1007 icon_url?: string;
1008 subtitle?: DescriptionElement;
1009 title?: DescriptionElement;
1010 type?: string;
1011}
1012export interface MatchHeaders {
1013 date?: string;
1014}
1015export interface MatchShares {
1016 public?: {
1017 [key: string]: Public[];
1018 };
1019}
1020export interface MatchTitleBlock {
1021 accessory?: Accessory;
1022 alt_text?: string;
1023 api_decoration_available?: boolean;
1024 app_collaborators?: string[];
1025 app_id?: string;
1026 author_name?: string;
1027 block_id?: string;
1028 bot_user_id?: string;
1029 button_label?: string;
1030 call?: Call;
1031 call_id?: string;
1032 description?: DescriptionElement;
1033 developer_trace_id?: string;
1034 dispatch_action?: boolean;
1035 element?: Accessory;
1036 elements?: Accessory[];
1037 external_id?: string;
1038 fallback?: string;
1039 fields?: DescriptionElement[];
1040 file?: MessageFile;
1041 file_id?: string;
1042 function_trigger_id?: string;
1043 hint?: DescriptionElement;
1044 image_bytes?: number;
1045 image_height?: number;
1046 image_url?: string;
1047 image_width?: number;
1048 is_animated?: boolean;
1049 is_workflow_app?: boolean;
1050 label?: DescriptionElement;
1051 optional?: boolean;
1052 owning_team_id?: string;
1053 provider_icon_url?: string;
1054 provider_name?: string;
1055 sales_home_workflow_app_type?: number;
1056 share_url?: string;
1057 slack_file?: SlackFile;
1058 source?: string;
1059 text?: DescriptionElement;
1060 thumbnail_url?: string;
1061 title?: DescriptionElement;
1062 title_url?: string;
1063 trigger_subtype?: string;
1064 trigger_type?: string;
1065 type?: BlockType;
1066 url?: string;
1067 video_url?: string;
1068 workflow_id?: string;
1069}
1070export interface Call {
1071 media_backend_type?: string;
1072 v1?: V1;
1073}
1074export interface V1 {
1075 active_participants?: Participant[];
1076 all_participants?: Participant[];
1077 app_icon_urls?: AppIconUrls;
1078 app_id?: string;
1079 channels?: string[];
1080 created_by?: string;
1081 date_end?: number;
1082 date_start?: number;
1083 desktop_app_join_url?: string;
1084 display_id?: string;
1085 has_ended?: boolean;
1086 id?: string;
1087 is_dm_call?: boolean;
1088 join_url?: string;
1089 name?: string;
1090 was_accepted?: boolean;
1091 was_missed?: boolean;
1092 was_rejected?: boolean;
1093}
1094export interface Participant {
1095 avatar_url?: string;
1096 display_name?: string;
1097 external_id?: string;
1098 slack_id?: string;
1099}
1100export interface AppIconUrls {
1101 image_1024?: string;
1102 image_128?: string;
1103 image_192?: string;
1104 image_32?: string;
1105 image_36?: string;
1106 image_48?: string;
1107 image_512?: string;
1108 image_64?: string;
1109 image_72?: string;
1110 image_96?: string;
1111 image_original?: string;
1112}
1113export interface Pagination {
1114 first?: number;
1115 last?: number;
1116 page?: number;
1117 page_count?: number;
1118 per_page?: number;
1119 total_count?: number;
1120}
1121export interface Paging {
1122 count?: number;
1123 page?: number;
1124 pages?: number;
1125 total?: number;
1126}
1127export interface Messages {
1128 matches?: MessagesMatch[];
1129 pagination?: Pagination;
1130 paging?: Paging;
1131 total?: number;
1132}
1133export interface MessagesMatch {
1134 attachments?: Attachment[];
1135 blocks?: MatchTitleBlock[];
1136 channel?: Channel;
1137 files?: FileElement[];
1138 iid?: string;
1139 is_mpim?: boolean;
1140 no_reactions?: boolean;
1141 permalink?: string;
1142 previous?: Previous;
1143 previous_2?: Previous;
1144 score?: number;
1145 team?: UserTeam;
1146 text?: string;
1147 ts?: Ts;
1148 type?: string;
1149 user?: LastEditor;
1150 username?: string;
1151}
1152export interface Channel {
1153 id?: string;
1154 is_channel?: boolean;
1155 is_ext_shared?: boolean;
1156 is_file?: boolean;
1157 is_group?: boolean;
1158 is_im?: boolean;
1159 is_mpim?: boolean;
1160 is_org_shared?: boolean;
1161 is_pending_ext_shared?: boolean;
1162 is_private?: boolean;
1163 is_shared?: boolean;
1164 name?: string;
1165 name_normalized?: string;
1166 pending_shared?: string[];
1167 user?: LastEditor;
1168}
1169export interface Previous {
1170 attachments?: Attachment[];
1171 blocks?: MatchTitleBlock[];
1172 iid?: string;
1173 permalink?: string;
1174 text?: string;
1175 ts?: Ts;
1176 type?: string;
1177 user?: LastEditor;
1178 username?: string;
1179}
1180export interface Posts {
1181 matches?: string[];
1182 total?: number;
1183}
1184//# sourceMappingURL=SearchAllResponse.d.ts.map
\No newline at end of file