UNPKG

4.73 kBTypeScriptView Raw
1export interface LocationRepositoryStoryResponseRootObject {
2 story: LocationRepositoryStoryResponseStory;
3 status: string;
4}
5export interface LocationRepositoryStoryResponseStory {
6 id: string;
7 latest_reel_media: number;
8 expiring_at: number;
9 seen: number;
10 can_reply: boolean;
11 can_reshare: boolean;
12 reel_type: string;
13 owner: LocationRepositoryStoryResponseOwner;
14 location: LocationRepositoryStoryResponseLocation;
15 items: LocationRepositoryStoryResponseItemsItem[];
16 prefetch_count: number;
17 unique_integer_reel_id: string;
18 has_pride_media: boolean;
19}
20export interface LocationRepositoryStoryResponseOwner {
21 type: string;
22 pk: number;
23 name: string;
24 profile_pic_url: string;
25 profile_pic_username: string;
26 short_name: string;
27 lng: string;
28 lat: number;
29 location_dict: LocationRepositoryStoryResponseLocation_dict;
30}
31export interface LocationRepositoryStoryResponseLocation_dict {
32 pk: number;
33 name: string;
34 address: string;
35 city: string;
36 short_name: string;
37 lng: string;
38 lat: number;
39 external_source: string;
40 facebook_places_id: number;
41}
42export interface LocationRepositoryStoryResponseLocation {
43 type?: string;
44 pk: number;
45 name: string;
46 profile_pic_url?: string;
47 profile_pic_username?: string;
48 short_name: string;
49 lng: string | number;
50 lat: number;
51 location_dict?: LocationRepositoryStoryResponseLocation_dict;
52 address?: string;
53 city?: string;
54 external_source?: string;
55 facebook_places_id?: number;
56}
57export interface LocationRepositoryStoryResponseItemsItem {
58 taken_at: number;
59 pk: string;
60 id: string;
61 device_timestamp: string;
62 media_type: number;
63 code: string;
64 client_cache_key: string;
65 filter_type: number;
66 image_versions2: LocationRepositoryStoryResponseImage_versions2;
67 original_width: number;
68 original_height: number;
69 user: LocationRepositoryStoryResponseUser;
70 caption_is_edited: boolean;
71 caption_position: number;
72 is_reel_media: boolean;
73 photo_of_you: boolean;
74 caption: null;
75 can_viewer_save: boolean;
76 organic_tracking_token: string;
77 expiring_at: number;
78 imported_taken_at: number;
79 can_reshare: boolean;
80 can_reply: boolean;
81 is_pride_media: boolean;
82 story_locations: LocationRepositoryStoryResponseStoryLocationsItem[];
83 supports_reel_reactions: boolean;
84 show_one_tap_fb_share_tooltip: boolean;
85 has_shared_to_fb: number;
86 is_dash_eligible?: number;
87 video_dash_manifest?: string;
88 video_codec?: string;
89 number_of_qualities?: number;
90 video_versions?: LocationRepositoryStoryResponseVideoVersionsItem[];
91 has_audio?: boolean;
92 video_duration?: number;
93 story_hashtags?: LocationRepositoryStoryResponseStoryHashtagsItem[];
94 reel_mentions?: LocationRepositoryStoryResponseReelMentionsItem[];
95}
96export interface LocationRepositoryStoryResponseImage_versions2 {
97 candidates: LocationRepositoryStoryResponseCandidatesItem[];
98}
99export interface LocationRepositoryStoryResponseCandidatesItem {
100 width: number;
101 height: number;
102 url: string;
103 estimated_scans_sizes?: number[];
104}
105export interface LocationRepositoryStoryResponseUser {
106 pk: number;
107 username: string;
108 full_name: string;
109 is_private: boolean;
110 profile_pic_url: string;
111 profile_pic_id: string;
112 is_verified: boolean;
113 has_anonymous_profile_picture?: boolean;
114 is_unpublished?: boolean;
115 is_favorite?: boolean;
116}
117export interface LocationRepositoryStoryResponseStoryLocationsItem {
118 x: string | number;
119 y: string;
120 z: number;
121 width: string | number;
122 height: string;
123 rotation: number | string;
124 is_pinned: number;
125 is_hidden: number;
126 is_sticker: number;
127 location: LocationRepositoryStoryResponseLocation;
128}
129export interface LocationRepositoryStoryResponseVideoVersionsItem {
130 type: number;
131 width: number;
132 height: number;
133 url: string;
134 id: string;
135}
136export interface LocationRepositoryStoryResponseStoryHashtagsItem {
137 x: string;
138 y: string;
139 z: number;
140 width: string;
141 height: string;
142 rotation: number;
143 is_pinned: number;
144 is_hidden: number;
145 is_sticker: number;
146 hashtag: LocationRepositoryStoryResponseHashtag;
147}
148export interface LocationRepositoryStoryResponseHashtag {
149 name: string;
150 id: string;
151}
152export interface LocationRepositoryStoryResponseReelMentionsItem {
153 x: string;
154 y: string;
155 z: number;
156 width: string;
157 height: string;
158 rotation: number;
159 is_pinned: number;
160 is_hidden: number;
161 display_type: string;
162 is_sticker: number;
163 user: LocationRepositoryStoryResponseUser;
164}