UNPKG

1.5 kBTypeScriptView Raw
1export interface DirectRepositoryRankedRecipientsResponseRootObject {
2 ranked_recipients: DirectRepositoryRankedRecipientsResponseRankedRecipientsItem[];
3 expires: number;
4 filtered: boolean;
5 request_id: string;
6 rank_token: string;
7 status: string;
8}
9export interface DirectRepositoryRankedRecipientsResponseRankedRecipientsItem {
10 user?: DirectRepositoryRankedRecipientsResponseUser;
11 thread?: DirectRepositoryRankedRecipientsResponseThread;
12}
13export interface DirectRepositoryRankedRecipientsResponseUser {
14 pk: number;
15 username: string;
16 full_name: string;
17 is_private: boolean;
18 profile_pic_url: string;
19 profile_pic_id: string;
20 is_verified: boolean;
21 has_anonymous_profile_picture: boolean;
22 is_directapp_installed: boolean;
23 is_using_unified_inbox_for_direct: boolean;
24}
25export interface DirectRepositoryRankedRecipientsResponseThread {
26 thread_id: string;
27 users: DirectRepositoryRankedRecipientsResponseUsersItem[];
28 canonical: boolean;
29 named: boolean;
30 thread_title: string;
31 pending: boolean;
32 thread_type: string;
33 viewer_id: number;
34}
35export interface DirectRepositoryRankedRecipientsResponseUsersItem {
36 pk: number;
37 username: string;
38 full_name: string;
39 is_private: boolean;
40 profile_pic_url: string;
41 profile_pic_id: string;
42 is_verified: boolean;
43 has_anonymous_profile_picture: boolean;
44 is_directapp_installed: boolean;
45 is_using_unified_inbox_for_direct: boolean;
46}