UNPKG

3.69 kBTypeScriptView Raw
1export interface NewsRepositoryInboxResponseRootObject {
2 aymf: NewsRepositoryInboxResponseAymf;
3 counts: NewsRepositoryInboxResponseCounts;
4 friend_request_stories: any[];
5 new_stories: NewsRepositoryInboxResponseNewStoriesItem[];
6 old_stories: NewsRepositoryInboxResponseOldStoriesItem[];
7 continuation_token: number;
8 subscription: any;
9 partition: NewsRepositoryInboxResponsePartition;
10 ads_manager: NewsRepositoryInboxResponseAds_manager;
11 business_profile_reminder: NewsRepositoryInboxResponseBusiness_profile_reminder;
12 status: string;
13}
14export interface NewsRepositoryInboxResponseAymf {
15 items: NewsRepositoryInboxResponseItemsItem[];
16 more_available: boolean;
17}
18export interface NewsRepositoryInboxResponseItemsItem {
19 user: NewsRepositoryInboxResponseUser;
20 algorithm: string;
21 social_context: string;
22 icon: string;
23 caption: string;
24 media_ids: any[];
25 thumbnail_urls: any[];
26 large_urls: any[];
27 media_infos: any[];
28 value: number;
29 followed_by: boolean;
30 is_new_suggestion: boolean;
31 uuid: string;
32}
33export interface NewsRepositoryInboxResponseUser {
34 pk: string;
35 username: string;
36 full_name: string;
37 is_private: boolean;
38 profile_pic_url: string;
39 profile_pic_id: string;
40 is_verified: boolean;
41 has_anonymous_profile_picture: boolean;
42 latest_reel_media: number;
43}
44export interface NewsRepositoryInboxResponseCounts {
45 relationships?: number;
46 usertags?: number;
47 likes?: number;
48 comments?: number;
49 campaign_notification?: number;
50 comment_likes?: number;
51 photos_of_you?: number;
52 requests?: number;
53}
54export interface NewsRepositoryInboxResponseNewStoriesItem {
55 type: number;
56 story_type: number;
57 args: NewsRepositoryInboxResponseArgs;
58 counts: NewsRepositoryInboxResponseCounts;
59 pk: string;
60}
61export interface NewsRepositoryInboxResponseArgs {
62 text?: string;
63 links?: NewsRepositoryInboxResponseLinksItem[];
64 actions?: string[];
65 profile_id?: number;
66 profile_image?: string;
67 media?: NewsRepositoryInboxResponseMediaItem[];
68 timestamp: string;
69 tuuid: string;
70 clicked: boolean;
71 profile_name?: string;
72 latest_reel_media?: number;
73 second_profile_id?: number;
74 second_profile_image?: string;
75 profile_image_destination?: string;
76 destination?: string;
77 aymt_notif_id?: string;
78 aymt_notif_type?: string;
79 aymt_channel_id?: string;
80 comment_id?: string;
81 comment_ids?: string[];
82 comment_notif_type?: string;
83 rich_text?: string;
84 icon_url?: string;
85 hashtag_follow?: NewsRepositoryInboxResponseHashtag_follow;
86}
87export interface NewsRepositoryInboxResponseLinksItem {
88 start: number;
89 end: number;
90 type: string;
91 id: string | number;
92}
93export interface NewsRepositoryInboxResponseMediaItem {
94 id: string;
95 image: string;
96 comment_threading_enabled?: boolean;
97}
98export interface NewsRepositoryInboxResponseOldStoriesItem {
99 type: number;
100 story_type: number;
101 args: NewsRepositoryInboxResponseArgs;
102 counts: NewsRepositoryInboxResponseCounts;
103 pk?: string;
104}
105export interface NewsRepositoryInboxResponseHashtag_follow {
106 id: string;
107 name: string;
108 follow_status: number;
109}
110export interface NewsRepositoryInboxResponsePartition {
111 time_bucket: NewsRepositoryInboxResponseTime_bucket;
112}
113export interface NewsRepositoryInboxResponseTime_bucket {
114 headers: string[];
115 indices: number[];
116}
117export interface NewsRepositoryInboxResponseAds_manager {
118 pending_count: number;
119}
120export interface NewsRepositoryInboxResponseBusiness_profile_reminder {
121 title: string;
122 subtitle: string;
123}