UNPKG

6.74 kBTypeScriptView Raw
1export interface HighlightsRepositoryHighlightsTrayResponseRootObject {
2 tray: HighlightsRepositoryHighlightsTrayResponseTrayItem[];
3 show_empty_state: boolean;
4 tv_channel: HighlightsRepositoryHighlightsTrayResponseTv_channel;
5 status: string;
6}
7export interface HighlightsRepositoryHighlightsTrayResponseTrayItem {
8 id: string;
9 latest_reel_media: number;
10 seen: null;
11 can_reply: boolean;
12 can_reshare: null;
13 reel_type: string;
14 cover_media: HighlightsRepositoryHighlightsTrayResponseCover_media;
15 user: HighlightsRepositoryHighlightsTrayResponseUser;
16 ranked_position: number;
17 title: string;
18 seen_ranked_position: number;
19 prefetch_count: number;
20 media_count: number;
21 has_pride_media: boolean;
22}
23export interface HighlightsRepositoryHighlightsTrayResponseCover_media {
24 cropped_image_version: HighlightsRepositoryHighlightsTrayResponseCropped_image_version;
25 crop_rect: (number | string)[] | number[];
26 media_id: string;
27}
28export interface HighlightsRepositoryHighlightsTrayResponseCropped_image_version {
29 width: number;
30 height: number;
31 url: string;
32 estimated_scans_sizes: number[];
33}
34export interface HighlightsRepositoryHighlightsTrayResponseUser {
35 pk: number;
36 username: string;
37 full_name: string;
38 is_private: boolean;
39 profile_pic_url: string;
40 profile_pic_id: string;
41 is_verified: boolean;
42 friendship_status?: HighlightsRepositoryHighlightsTrayResponseFriendship_status;
43 has_anonymous_profile_picture?: boolean;
44 is_unpublished?: boolean;
45 is_favorite?: boolean;
46 latest_reel_media?: null;
47}
48export interface HighlightsRepositoryHighlightsTrayResponseTv_channel {
49 id: string;
50 items: HighlightsRepositoryHighlightsTrayResponseItemsItem[];
51 more_available: boolean;
52 seen_state: HighlightsRepositoryHighlightsTrayResponseSeen_state;
53 title: string;
54 type: string;
55 max_id: null;
56 user_dict: HighlightsRepositoryHighlightsTrayResponseUser_dict;
57}
58export interface HighlightsRepositoryHighlightsTrayResponseItemsItem {
59 taken_at: number;
60 pk: string;
61 id: string;
62 device_timestamp: number;
63 media_type: number;
64 code: string;
65 client_cache_key: string;
66 filter_type: number;
67 image_versions2: HighlightsRepositoryHighlightsTrayResponseImage_versions2;
68 original_width: number;
69 original_height: number;
70 is_dash_eligible: number;
71 video_dash_manifest: string;
72 video_codec: string;
73 number_of_qualities: number;
74 video_versions: HighlightsRepositoryHighlightsTrayResponseVideoVersionsItem[];
75 has_audio: boolean;
76 video_duration: number;
77 view_count: number;
78 user: HighlightsRepositoryHighlightsTrayResponseUser;
79 can_viewer_reshare: boolean;
80 caption_is_edited: boolean;
81 comment_likes_enabled: boolean;
82 comment_threading_enabled: boolean;
83 has_more_comments: boolean;
84 next_max_id: string;
85 max_num_visible_preview_comments: number;
86 preview_comments: HighlightsRepositoryHighlightsTrayResponsePreviewCommentsItem[];
87 can_view_more_preview_comments: boolean;
88 comment_count: number;
89 title: string;
90 product_type: string;
91 nearly_complete_copyright_match: boolean;
92 media_cropping_info: HighlightsRepositoryHighlightsTrayResponseMedia_cropping_info;
93 thumbnails: HighlightsRepositoryHighlightsTrayResponseThumbnails;
94 like_count: number;
95 has_liked: boolean;
96 photo_of_you: boolean;
97 caption: HighlightsRepositoryHighlightsTrayResponseCaption;
98 can_viewer_save: boolean;
99 organic_tracking_token: string;
100}
101export interface HighlightsRepositoryHighlightsTrayResponseImage_versions2 {
102 candidates: HighlightsRepositoryHighlightsTrayResponseCandidatesItem[];
103}
104export interface HighlightsRepositoryHighlightsTrayResponseCandidatesItem {
105 width: number;
106 height: number;
107 url: string;
108 estimated_scans_sizes: number[];
109}
110export interface HighlightsRepositoryHighlightsTrayResponseVideoVersionsItem {
111 type: number;
112 width: number;
113 height: number;
114 url: string;
115 id: string;
116}
117export interface HighlightsRepositoryHighlightsTrayResponseFriendship_status {
118 following: boolean;
119 outgoing_request: boolean;
120 is_bestie: boolean;
121 is_restricted: boolean;
122 followed_by?: boolean;
123 blocking?: boolean;
124 muting?: boolean;
125 is_private?: boolean;
126 incoming_request?: boolean;
127}
128export interface HighlightsRepositoryHighlightsTrayResponsePreviewCommentsItem {
129 pk: string;
130 user_id: number;
131 text: string;
132 type: number;
133 created_at: number;
134 created_at_utc: number;
135 content_type: string;
136 status: string;
137 bit_flags: number;
138 user: HighlightsRepositoryHighlightsTrayResponseUser;
139 did_report_as_spam: boolean;
140 share_enabled: boolean;
141 media_id: string;
142 has_translation?: boolean;
143}
144export interface HighlightsRepositoryHighlightsTrayResponseMedia_cropping_info {
145}
146export interface HighlightsRepositoryHighlightsTrayResponseThumbnails {
147 video_length: number;
148 thumbnail_width: number;
149 thumbnail_height: number;
150 thumbnail_duration: string;
151 sprite_urls: string[];
152 thumbnails_per_row: number;
153 max_thumbnails_per_sprite: number;
154 sprite_width: number;
155 sprite_height: number;
156 rendered_width: number;
157}
158export interface HighlightsRepositoryHighlightsTrayResponseCaption {
159 pk: string;
160 user_id: number;
161 text: string;
162 type: number;
163 created_at: number;
164 created_at_utc: number;
165 content_type: string;
166 status: string;
167 bit_flags: number;
168 user: HighlightsRepositoryHighlightsTrayResponseUser;
169 did_report_as_spam: boolean;
170 share_enabled: boolean;
171 media_id: string;
172 has_translation: boolean;
173}
174export interface HighlightsRepositoryHighlightsTrayResponseSeen_state {
175}
176export interface HighlightsRepositoryHighlightsTrayResponseUser_dict {
177 pk: number;
178 username: string;
179 full_name: string;
180 is_private: boolean;
181 profile_pic_url: string;
182 profile_pic_id: string;
183 is_verified: boolean;
184 has_anonymous_profile_picture: boolean;
185 media_count: number;
186 geo_media_count: number;
187 follower_count: number;
188 following_count: number;
189 following_tag_count: number;
190 biography: string;
191 biography_with_entities: HighlightsRepositoryHighlightsTrayResponseBiography_with_entities;
192 external_url: string;
193 external_lynx_url: string;
194 has_biography_translation: boolean;
195 latest_reel_media: number;
196 friendship_status: HighlightsRepositoryHighlightsTrayResponseFriendship_status;
197 total_igtv_videos: number;
198}
199export interface HighlightsRepositoryHighlightsTrayResponseBiography_with_entities {
200 raw_text: string;
201 entities: any[];
202}