1 | export interface DirectThreadRepositoryAddUserResponseRootObject {
|
2 | thread: DirectThreadRepositoryAddUserResponseThread;
|
3 | status: string;
|
4 | }
|
5 | export interface DirectThreadRepositoryAddUserResponseThread {
|
6 | thread_id: string;
|
7 | thread_v2_id: string;
|
8 | users: DirectThreadRepositoryAddUserResponseUsersItem[];
|
9 | left_users: any[];
|
10 | admin_user_ids: number[];
|
11 | items: any[];
|
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: DirectThreadRepositoryAddUserResponseInviter;
|
33 | has_older: boolean;
|
34 | has_newer: boolean;
|
35 | last_seen_at: any;
|
36 | next_cursor: string;
|
37 | prev_cursor: string;
|
38 | last_permanent_item: DirectThreadRepositoryAddUserResponseLastPermanentItem;
|
39 | }
|
40 | export interface DirectThreadRepositoryAddUserResponseUsersItem {
|
41 | pk: number;
|
42 | username: string;
|
43 | full_name: string;
|
44 | is_private: boolean;
|
45 | profile_pic_url: string;
|
46 | profile_pic_id: string;
|
47 | friendship_status: DirectThreadRepositoryAddUserResponseFriendshipStatus;
|
48 | is_verified: boolean;
|
49 | has_anonymous_profile_picture: boolean;
|
50 | is_directapp_installed: boolean;
|
51 | is_using_unified_inbox_for_direct: boolean;
|
52 | }
|
53 | export interface DirectThreadRepositoryAddUserResponseFriendshipStatus {
|
54 | following: boolean;
|
55 | blocking: boolean;
|
56 | is_private: boolean;
|
57 | incoming_request: boolean;
|
58 | outgoing_request: boolean;
|
59 | is_bestie: boolean;
|
60 | is_restricted: boolean;
|
61 | }
|
62 | export interface DirectThreadRepositoryAddUserResponseInviter {
|
63 | pk: number;
|
64 | username: string;
|
65 | full_name: string;
|
66 | is_private: boolean;
|
67 | profile_pic_url: string;
|
68 | profile_pic_id: string;
|
69 | is_verified: boolean;
|
70 | has_anonymous_profile_picture: boolean;
|
71 | reel_auto_archive: string;
|
72 | allowed_commenter_type: string;
|
73 | }
|
74 | export interface DirectThreadRepositoryAddUserResponseLastPermanentItem {
|
75 | item_id: string;
|
76 | user_id: number;
|
77 | timestamp: string;
|
78 | item_type: string;
|
79 | action_log: DirectThreadRepositoryAddUserResponseActionLog;
|
80 | }
|
81 | export interface DirectThreadRepositoryAddUserResponseActionLog {
|
82 | description: string;
|
83 | bold: DirectThreadRepositoryAddUserResponseBoldItem[];
|
84 | text_attributes: DirectThreadRepositoryAddUserResponseTextAttributesItem[];
|
85 | }
|
86 | export interface DirectThreadRepositoryAddUserResponseBoldItem {
|
87 | start: number;
|
88 | end: number;
|
89 | }
|
90 | export interface DirectThreadRepositoryAddUserResponseTextAttributesItem {
|
91 | start: number;
|
92 | end: number;
|
93 | bold: number;
|
94 | color: string;
|
95 | intent: string;
|
96 | }
|