UNPKG

5.57 kBTypeScriptView Raw
1export interface DirectThreadRepositoryApproveParticipantRequestResponseRootObject {
2 thread: DirectThreadRepositoryApproveParticipantRequestResponseThread;
3 status: string;
4}
5export interface DirectThreadRepositoryApproveParticipantRequestResponseThread {
6 thread_id: string;
7 thread_v2_id: string;
8 users: DirectThreadRepositoryApproveParticipantRequestResponseUsersItem[];
9 left_users: any[];
10 admin_user_ids: number[];
11 items: DirectThreadRepositoryApproveParticipantRequestResponseItemsItem[];
12 last_activity_at: string;
13 muted: boolean;
14 is_pin: boolean;
15 named: boolean;
16 canonical: boolean;
17 pending: boolean;
18 archived: boolean;
19 valued_request: boolean;
20 thread_type: string;
21 viewer_id: number;
22 thread_title: string;
23 pending_score: string;
24 folder: number;
25 vc_muted: boolean;
26 is_group: boolean;
27 mentions_muted: boolean;
28 approval_required_for_new_members: boolean;
29 input_mode: number;
30 business_thread_folder: number;
31 read_state: number;
32 inviter: DirectThreadRepositoryApproveParticipantRequestResponseInviter;
33 has_older: boolean;
34 has_newer: boolean;
35 last_seen_at: DirectThreadRepositoryApproveParticipantRequestResponseLast_seen_at;
36 newest_cursor: string;
37 oldest_cursor: string;
38 next_cursor: string;
39 prev_cursor: string;
40 last_permanent_item: DirectThreadRepositoryApproveParticipantRequestResponseLast_permanent_item;
41}
42export interface DirectThreadRepositoryApproveParticipantRequestResponseUsersItem {
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 friendship_status: DirectThreadRepositoryApproveParticipantRequestResponseFriendship_status;
50 is_verified: boolean;
51 has_anonymous_profile_picture: boolean;
52 is_directapp_installed: boolean;
53 is_using_unified_inbox_for_direct: boolean;
54}
55export interface DirectThreadRepositoryApproveParticipantRequestResponseFriendship_status {
56 following: boolean;
57 blocking: boolean;
58 is_private: boolean;
59 incoming_request: boolean;
60 outgoing_request: boolean;
61 is_bestie: boolean;
62 is_restricted: boolean;
63}
64export interface DirectThreadRepositoryApproveParticipantRequestResponseItemsItem {
65 item_id: string;
66 user_id: number;
67 timestamp: string;
68 item_type: string;
69 story_share: DirectThreadRepositoryApproveParticipantRequestResponseStory_share;
70}
71export interface DirectThreadRepositoryApproveParticipantRequestResponseStory_share {
72 media: DirectThreadRepositoryApproveParticipantRequestResponseMedia;
73 reel_id: number;
74 reel_type: string;
75 is_reel_persisted: boolean;
76 story_share_type: string;
77 text: null;
78}
79export interface DirectThreadRepositoryApproveParticipantRequestResponseMedia {
80 taken_at: number;
81 pk: string;
82 id: string;
83 device_timestamp: number;
84 media_type: number;
85 code: string;
86 client_cache_key: string;
87 filter_type: number;
88 image_versions2: DirectThreadRepositoryApproveParticipantRequestResponseImage_versions2;
89 original_width: number;
90 original_height: number;
91 user: DirectThreadRepositoryApproveParticipantRequestResponseUser;
92 caption_is_edited: boolean;
93 comment_likes_enabled: boolean;
94 comment_threading_enabled: boolean;
95 has_more_comments: boolean;
96 max_num_visible_preview_comments: number;
97 preview_comments: any[];
98 can_view_more_preview_comments: boolean;
99 comment_count: number;
100 caption_position: number;
101 is_reel_media: boolean;
102 timezone_offset: number;
103 like_count: number;
104 has_liked: boolean;
105 likers: any[];
106 photo_of_you: boolean;
107 caption: null;
108 fb_user_tags: DirectThreadRepositoryApproveParticipantRequestResponseFb_user_tags;
109 can_viewer_save: boolean;
110 organic_tracking_token: string;
111 expiring_at: number;
112}
113export interface DirectThreadRepositoryApproveParticipantRequestResponseImage_versions2 {
114 candidates: DirectThreadRepositoryApproveParticipantRequestResponseCandidatesItem[];
115}
116export interface DirectThreadRepositoryApproveParticipantRequestResponseCandidatesItem {
117 width: number;
118 height: number;
119 url: string;
120 estimated_scans_sizes: number[];
121}
122export interface DirectThreadRepositoryApproveParticipantRequestResponseUser {
123 pk: number;
124 username: string;
125 full_name: string;
126 is_private: boolean;
127 profile_pic_url: string;
128 profile_pic_id: string;
129 has_anonymous_profile_picture: boolean;
130 can_boost_post: boolean;
131 can_see_organic_insights: boolean;
132 show_insights_terms: boolean;
133 reel_auto_archive: string;
134 is_unpublished: boolean;
135 allowed_commenter_type: string;
136}
137export interface DirectThreadRepositoryApproveParticipantRequestResponseFb_user_tags {
138 in: any[];
139}
140export interface DirectThreadRepositoryApproveParticipantRequestResponseInviter {
141 pk: number;
142 username: string;
143 full_name: string;
144 is_private: boolean;
145 profile_pic_url: string;
146 profile_pic_id: string;
147 is_verified: boolean;
148 has_anonymous_profile_picture: boolean;
149 reel_auto_archive: string;
150 allowed_commenter_type: string;
151}
152export interface DirectThreadRepositoryApproveParticipantRequestResponseLast_seen_at {
153}
154export interface DirectThreadRepositoryApproveParticipantRequestResponseLast_permanent_item {
155 item_id: string;
156 user_id: number;
157 timestamp: string;
158 item_type: string;
159 story_share: DirectThreadRepositoryApproveParticipantRequestResponseStory_share;
160}