UNPKG

3.73 kBTypeScriptView Raw
1export interface UsertagsFeedResponseRootObject {
2 items: UsertagsFeedResponseItemsItem[];
3 num_results: number;
4 more_available: boolean;
5 auto_load_more_enabled: boolean;
6 next_max_id: string;
7 new_photos: any[];
8 requires_review: boolean;
9 total_count: number;
10 status: string;
11}
12export interface UsertagsFeedResponseItemsItem {
13 taken_at: number;
14 pk: string;
15 id: string;
16 device_timestamp: number;
17 media_type: number;
18 code: string;
19 client_cache_key: string;
20 filter_type: number;
21 image_versions2: UsertagsFeedResponseImage_versions2;
22 original_width: number;
23 original_height: number;
24 user: UsertagsFeedResponseUser;
25 can_viewer_reshare: boolean;
26 caption_is_edited: boolean;
27 comment_likes_enabled: boolean;
28 comment_threading_enabled: boolean;
29 has_more_comments: boolean;
30 next_max_id: string;
31 max_num_visible_preview_comments: number;
32 preview_comments: UsertagsFeedResponsePreviewCommentsItem[];
33 can_view_more_preview_comments: boolean;
34 comment_count: number;
35 inline_composer_display_condition: string;
36 inline_composer_imp_trigger_time: number;
37 like_count: number;
38 has_liked: boolean;
39 photo_of_you: boolean;
40 usertags: UsertagsFeedResponseUsertags;
41 caption: UsertagsFeedResponseCaption;
42 can_viewer_save: boolean;
43 organic_tracking_token: string;
44 location?: UsertagsFeedResponseLocation;
45 lat?: number;
46 lng?: string;
47}
48export interface UsertagsFeedResponseImage_versions2 {
49 candidates: UsertagsFeedResponseCandidatesItem[];
50}
51export interface UsertagsFeedResponseCandidatesItem {
52 width: number;
53 height: number;
54 url: string;
55 estimated_scans_sizes: number[];
56}
57export interface UsertagsFeedResponseUser {
58 pk: number;
59 username: string;
60 full_name: string;
61 is_private: boolean;
62 profile_pic_url: string;
63 profile_pic_id?: string;
64 friendship_status?: UsertagsFeedResponseFriendship_status;
65 is_verified: boolean;
66 has_anonymous_profile_picture?: boolean;
67 is_unpublished?: boolean;
68 is_favorite?: boolean;
69}
70export interface UsertagsFeedResponseFriendship_status {
71 following: boolean;
72 outgoing_request: boolean;
73 is_bestie: boolean;
74 is_restricted: boolean;
75}
76export interface UsertagsFeedResponsePreviewCommentsItem {
77 pk: string;
78 user_id: number;
79 text: string;
80 type: number;
81 created_at: number;
82 created_at_utc: number;
83 content_type: string;
84 status: string;
85 bit_flags: number;
86 user: UsertagsFeedResponseUser;
87 did_report_as_spam: boolean;
88 share_enabled: boolean;
89 media_id: string;
90 has_liked_comment: boolean;
91 comment_like_count: number;
92 has_translation?: boolean;
93 parent_comment_id?: string;
94}
95export interface UsertagsFeedResponseUsertags {
96 in: UsertagsFeedResponseInItem[];
97}
98export interface UsertagsFeedResponseInItem {
99 user: UsertagsFeedResponseUser;
100 position: number[] | (number | string)[];
101 start_time_in_video_in_sec: null;
102 duration_in_video_in_sec: null;
103}
104export interface UsertagsFeedResponseCaption {
105 pk: string;
106 user_id: number;
107 text: string;
108 type: number;
109 created_at: number;
110 created_at_utc: number;
111 content_type: string;
112 status: string;
113 bit_flags: number;
114 user: UsertagsFeedResponseUser;
115 did_report_as_spam: boolean;
116 share_enabled: boolean;
117 media_id: string;
118 has_translation?: boolean;
119}
120export interface UsertagsFeedResponseLocation {
121 pk: number;
122 name: string;
123 address: string;
124 city: string;
125 short_name: string;
126 lng: number;
127 lat: number | string;
128 external_source: string;
129 facebook_places_id: number | string;
130}