UNPKG

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