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