UNPKG

2.05 kBTypeScriptView Raw
1export interface DirectRepositoryCreateGroupThreadResponseRootObject {
2 thread_id: string;
3 thread_v2_id: string;
4 users: DirectRepositoryCreateGroupThreadResponseUsersItem[];
5 left_users: any[];
6 admin_user_ids: number[];
7 items: any[];
8 last_activity_at: number;
9 muted: boolean;
10 is_pin: boolean;
11 named: boolean;
12 canonical: boolean;
13 pending: boolean;
14 archived: boolean;
15 valued_request: boolean;
16 thread_type: string;
17 viewer_id: number;
18 thread_title: string;
19 pending_score: number;
20 folder: number;
21 vc_muted: boolean;
22 is_group: boolean;
23 mentions_muted: boolean;
24 approval_required_for_new_members: boolean;
25 input_mode: number;
26 business_thread_folder: number;
27 read_state: number;
28 inviter: DirectRepositoryCreateGroupThreadResponseInviter;
29 has_older: boolean;
30 has_newer: boolean;
31 last_seen_at: any;
32 next_cursor: string;
33 prev_cursor: string;
34 status: string;
35}
36export interface DirectRepositoryCreateGroupThreadResponseUsersItem {
37 pk: number;
38 username: string;
39 full_name: string;
40 is_private: boolean;
41 profile_pic_url: string;
42 profile_pic_id: string;
43 friendship_status: DirectRepositoryCreateGroupThreadResponseFriendshipStatus;
44 is_verified: boolean;
45 has_anonymous_profile_picture: boolean;
46 is_directapp_installed: boolean;
47 is_using_unified_inbox_for_direct: boolean;
48}
49export interface DirectRepositoryCreateGroupThreadResponseFriendshipStatus {
50 following: boolean;
51 blocking: boolean;
52 is_private: boolean;
53 incoming_request: boolean;
54 outgoing_request: boolean;
55 is_bestie: boolean;
56 is_restricted: boolean;
57}
58export interface DirectRepositoryCreateGroupThreadResponseInviter {
59 pk: number;
60 username: string;
61 full_name: string;
62 is_private: boolean;
63 profile_pic_url: string;
64 profile_pic_id: string;
65 is_verified: boolean;
66 has_anonymous_profile_picture: boolean;
67 reel_auto_archive: string;
68 allowed_commenter_type: string;
69}