UNPKG

3.65 kBTypeScriptView Raw
1export interface MediaRepositoryConfigureSidecarResponseRootObject {
2 client_sidecar_id: string;
3 media: MediaRepositoryConfigureSidecarResponseMedia;
4 status: string;
5}
6export interface MediaRepositoryConfigureSidecarResponseMedia {
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 carousel_media_count: number;
16 carousel_media: MediaRepositoryConfigureSidecarResponseCarouselMediaItem[];
17 can_see_insights_as_brand: boolean;
18 user: MediaRepositoryConfigureSidecarResponseUser;
19 can_viewer_reshare: boolean;
20 caption_is_edited: boolean;
21 comment_likes_enabled: boolean;
22 comment_threading_enabled: boolean;
23 has_more_comments: boolean;
24 max_num_visible_preview_comments: number;
25 preview_comments: any[];
26 can_view_more_preview_comments: boolean;
27 comment_count: number;
28 photo_of_you: boolean;
29 usertags: MediaRepositoryConfigureSidecarResponseUsertags;
30 caption: MediaRepositoryConfigureSidecarResponseCaption;
31 fb_user_tags: MediaRepositoryConfigureSidecarResponseFb_user_tags;
32 can_viewer_save: boolean;
33 organic_tracking_token: string;
34}
35export interface MediaRepositoryConfigureSidecarResponseCarouselMediaItem {
36 id: string;
37 media_type: number;
38 image_versions2: MediaRepositoryConfigureSidecarResponseImage_versions2;
39 original_width: number;
40 original_height: number;
41 video_versions?: MediaRepositoryConfigureSidecarResponseVideoVersionsItem[];
42 video_duration?: number;
43 pk: string;
44 carousel_parent_id: string;
45 usertags?: MediaRepositoryConfigureSidecarResponseUsertags;
46 fb_user_tags?: MediaRepositoryConfigureSidecarResponseFb_user_tags;
47}
48export interface MediaRepositoryConfigureSidecarResponseImage_versions2 {
49 candidates: MediaRepositoryConfigureSidecarResponseCandidatesItem[];
50}
51export interface MediaRepositoryConfigureSidecarResponseCandidatesItem {
52 width: number;
53 height: number;
54 url: string;
55 estimated_scans_sizes: number[];
56}
57export interface MediaRepositoryConfigureSidecarResponseVideoVersionsItem {
58 type: number;
59 width: number;
60 height: number;
61 url: string;
62 id: string;
63}
64export interface MediaRepositoryConfigureSidecarResponseUsertags {
65 in: MediaRepositoryConfigureSidecarResponseInItem[];
66}
67export interface MediaRepositoryConfigureSidecarResponseInItem {
68 user: MediaRepositoryConfigureSidecarResponseUser;
69 position: number[];
70 start_time_in_video_in_sec: null;
71 duration_in_video_in_sec: null;
72}
73export interface MediaRepositoryConfigureSidecarResponseUser {
74 pk: number;
75 username: string;
76 full_name: string;
77 is_private: boolean;
78 profile_pic_url: string;
79 profile_pic_id: string;
80 is_verified?: boolean;
81 has_anonymous_profile_picture?: boolean;
82 can_boost_post?: boolean;
83 can_see_organic_insights?: boolean;
84 show_insights_terms?: boolean;
85 reel_auto_archive?: string;
86 is_unpublished?: boolean;
87 latest_reel_media?: null;
88 allowed_commenter_type?: string;
89}
90export interface MediaRepositoryConfigureSidecarResponseFb_user_tags {
91 in: any[];
92}
93export interface MediaRepositoryConfigureSidecarResponseCaption {
94 pk: string;
95 user_id: number;
96 text: string;
97 type: number;
98 created_at: number;
99 created_at_utc: number;
100 content_type: string;
101 status: string;
102 bit_flags: number;
103 user: MediaRepositoryConfigureSidecarResponseUser;
104 did_report_as_spam: boolean;
105 share_enabled: boolean;
106 media_id: string;
107 has_translation: boolean;
108}