UNPKG

3.32 kBTypeScriptView Raw
1export interface UserStoryFeedResponseRootObject {
2 broadcast: null;
3 reel: UserStoryFeedResponseReel;
4 status: string;
5}
6export interface UserStoryFeedResponseReel {
7 id: number;
8 latest_reel_media: number;
9 expiring_at: number;
10 seen: number;
11 can_reply: boolean;
12 can_reshare: boolean;
13 reel_type: string;
14 user: UserStoryFeedResponseUser;
15 items: UserStoryFeedResponseItemsItem[];
16 prefetch_count: number;
17 has_besties_media: boolean;
18 media_count: number;
19 has_pride_media: boolean;
20}
21export interface UserStoryFeedResponseUser {
22 pk: number;
23 username: string;
24 full_name: string;
25 is_private: boolean;
26 profile_pic_url: string;
27 profile_pic_id: string;
28 friendship_status?: UserStoryFeedResponseFriendship_status;
29 is_verified: boolean;
30 has_anonymous_profile_picture?: boolean;
31 is_unpublished?: boolean;
32 is_favorite?: boolean;
33}
34export interface UserStoryFeedResponseFriendship_status {
35 following: boolean;
36 followed_by: boolean;
37 blocking: boolean;
38 muting: boolean;
39 is_private: boolean;
40 incoming_request: boolean;
41 outgoing_request: boolean;
42 is_bestie: boolean;
43 is_restricted: boolean;
44}
45export interface UserStoryFeedResponseItemsItem {
46 taken_at: number;
47 pk: string;
48 id: string;
49 device_timestamp: string | number;
50 media_type: number;
51 code: string;
52 client_cache_key: string;
53 filter_type: number;
54 image_versions2: UserStoryFeedResponseImage_versions2;
55 original_width: number;
56 original_height: number;
57 user: UserStoryFeedResponseUser;
58 caption_is_edited: boolean;
59 caption_position: number;
60 is_reel_media: boolean;
61 photo_of_you: boolean;
62 caption: null;
63 can_viewer_save: boolean;
64 organic_tracking_token: string;
65 expiring_at: number;
66 imported_taken_at: number;
67 can_reshare: boolean;
68 can_reply: boolean;
69 is_pride_media: boolean;
70 story_locations?: UserStoryFeedResponseStoryLocationsItem[];
71 supports_reel_reactions: boolean;
72 show_one_tap_fb_share_tooltip: boolean;
73 has_shared_to_fb: number;
74 is_dash_eligible?: number;
75 video_dash_manifest?: string;
76 video_codec?: string;
77 number_of_qualities?: number;
78 video_versions?: UserStoryFeedResponseVideoVersionsItem[];
79 has_audio?: boolean;
80 video_duration?: number;
81}
82export interface UserStoryFeedResponseImage_versions2 {
83 candidates: UserStoryFeedResponseCandidatesItem[];
84}
85export interface UserStoryFeedResponseCandidatesItem {
86 width: number;
87 height: number;
88 url: string;
89 estimated_scans_sizes?: number[];
90}
91export interface UserStoryFeedResponseStoryLocationsItem {
92 x: string;
93 y: string;
94 z: number;
95 width: string;
96 height: string;
97 rotation: number | string;
98 is_pinned: number;
99 is_hidden: number;
100 is_sticker: number;
101 location: UserStoryFeedResponseLocation;
102}
103export interface UserStoryFeedResponseLocation {
104 pk: number;
105 name: string;
106 address: string;
107 city: string;
108 short_name: string;
109 lng: string | number;
110 lat: number;
111 external_source: string;
112 facebook_places_id: number;
113}
114export interface UserStoryFeedResponseVideoVersionsItem {
115 type: number;
116 width: number;
117 height: number;
118 url: string;
119 id: string;
120}