UNPKG

2.21 kBTypeScriptView Raw
1import type { WebAPICallResult } from '../../WebClient';
2export type FilesCompleteUploadExternalResponse = WebAPICallResult & {
3 error?: string;
4 files?: File[];
5 needed?: string;
6 ok?: boolean;
7 provided?: string;
8 response_metadata?: ResponseMetadata;
9};
10export interface File {
11 alt_txt?: string;
12 channels?: string[];
13 comments_count?: number;
14 created?: number;
15 deanimate?: string;
16 deanimate_gif?: string;
17 display_as_bot?: boolean;
18 edit_link?: string;
19 editable?: boolean;
20 external_type?: string;
21 file_access?: string;
22 filetype?: string;
23 groups?: string[];
24 has_more_shares?: boolean;
25 has_rich_preview?: boolean;
26 id?: string;
27 ims?: string[];
28 is_external?: boolean;
29 is_public?: boolean;
30 is_starred?: boolean;
31 lines?: number;
32 lines_more?: number;
33 media_display_type?: string;
34 mimetype?: string;
35 mode?: string;
36 name?: string;
37 original_h?: number;
38 original_w?: number;
39 permalink?: string;
40 permalink_public?: string;
41 pretty_type?: string;
42 preview?: string;
43 preview_highlight?: string;
44 preview_is_truncated?: boolean;
45 public_url_shared?: boolean;
46 shares?: Shares;
47 size?: number;
48 thumb_160?: string;
49 thumb_360?: string;
50 thumb_360_gif?: string;
51 thumb_360_h?: number;
52 thumb_360_w?: number;
53 thumb_480?: string;
54 thumb_480_gif?: string;
55 thumb_480_h?: number;
56 thumb_480_w?: number;
57 thumb_64?: string;
58 thumb_80?: string;
59 thumb_tiny?: string;
60 timestamp?: number;
61 title?: string;
62 url_private?: string;
63 url_private_download?: string;
64 user?: string;
65 user_team?: string;
66 username?: string;
67}
68export interface Shares {
69 public?: {
70 [key: string]: Public[];
71 };
72}
73export interface Public {
74 channel_name?: string;
75 latest_reply?: string;
76 reply_count?: number;
77 reply_users?: string[];
78 reply_users_count?: number;
79 share_user_id?: string;
80 source?: string;
81 team_id?: string;
82 thread_ts?: string;
83 ts?: string;
84}
85export interface ResponseMetadata {
86 messages?: string[];
87}
88//# sourceMappingURL=FilesCompleteUploadExternalResponse.d.ts.map
\No newline at end of file