UNPKG

1.85 kBTypeScriptView Raw
1export interface MediaRepositoryConfigureResponseRootObject {
2 media: MediaRepositoryConfigureResponseMedia;
3 upload_id: string;
4 status: string;
5}
6export interface MediaRepositoryConfigureResponseMedia {
7 taken_at: number;
8 pk: string;
9 id: string;
10 device_timestamp: number;
11 media_type: number;
12 code: string;
13 client_cache_key: string;
14 filter_type: number;
15 comment_likes_enabled: boolean;
16 comment_threading_enabled: boolean;
17 has_more_comments: boolean;
18 max_num_visible_preview_comments: number;
19 preview_comments: any[];
20 can_view_more_preview_comments: boolean;
21 comment_count: number;
22 image_versions2: MediaRepositoryConfigureResponseImage_versions2;
23 original_width: number;
24 original_height: number;
25 user: MediaRepositoryConfigureResponseUser;
26 can_viewer_reshare: boolean;
27 caption_is_edited: boolean;
28 photo_of_you: boolean;
29 caption: null;
30 fb_user_tags: MediaRepositoryConfigureResponseFb_user_tags;
31 can_viewer_save: boolean;
32 organic_tracking_token: string;
33}
34export interface MediaRepositoryConfigureResponseImage_versions2 {
35 candidates: MediaRepositoryConfigureResponseCandidatesItem[];
36}
37export interface MediaRepositoryConfigureResponseCandidatesItem {
38 width: number;
39 height: number;
40 url: string;
41}
42export interface MediaRepositoryConfigureResponseUser {
43 pk: number;
44 username: string;
45 full_name: string;
46 is_private: boolean;
47 profile_pic_url: string;
48 profile_pic_id: string;
49 has_anonymous_profile_picture: boolean;
50 can_boost_post: boolean;
51 can_see_organic_insights: boolean;
52 show_insights_terms: boolean;
53 reel_auto_archive: string;
54 is_unpublished: boolean;
55 allowed_commenter_type: string;
56}
57export interface MediaRepositoryConfigureResponseFb_user_tags {
58 in: any[];
59}