1 | import { WebAPICallResult } from '../../WebClient';
|
2 | export type ConversationsListConnectInvitesResponse = WebAPICallResult & {
|
3 | arg?: string;
|
4 | error?: string;
|
5 | invites?: InviteElement[];
|
6 | needed?: string;
|
7 | ok?: boolean;
|
8 | provided?: string;
|
9 | response_metadata?: ResponseMetadata;
|
10 | };
|
11 | export interface InviteElement {
|
12 | acceptances?: Acceptance[];
|
13 | channel?: Channel;
|
14 | date_last_updated?: number;
|
15 | direction?: string;
|
16 | invite?: InviteInvite;
|
17 | invite_type?: string;
|
18 | status?: string;
|
19 | }
|
20 | export interface Acceptance {
|
21 | accepting_team?: IngTeam;
|
22 | accepting_user?: TingUser;
|
23 | approval_status?: string;
|
24 | date_accepted?: number;
|
25 | date_invalid?: number;
|
26 | date_last_updated?: number;
|
27 | reviews?: Review[];
|
28 | }
|
29 | export interface IngTeam {
|
30 | avatar_base_url?: string;
|
31 | date_created?: number;
|
32 | domain?: string;
|
33 | icon?: Icon;
|
34 | id?: string;
|
35 | is_verified?: boolean;
|
36 | name?: string;
|
37 | }
|
38 | export interface Icon {
|
39 | image_102?: string;
|
40 | image_132?: string;
|
41 | image_230?: string;
|
42 | image_34?: string;
|
43 | image_44?: string;
|
44 | image_68?: string;
|
45 | image_88?: string;
|
46 | image_default?: boolean;
|
47 | image_original?: string;
|
48 | }
|
49 | export interface TingUser {
|
50 | id?: string;
|
51 | name?: string;
|
52 | profile?: Profile;
|
53 | team_id?: string;
|
54 | updated?: number;
|
55 | who_can_share_contact_card?: string;
|
56 | }
|
57 | export interface Profile {
|
58 | avatar_hash?: string;
|
59 | display_name?: string;
|
60 | display_name_normalized?: string;
|
61 | email?: string;
|
62 | image_1024?: string;
|
63 | image_192?: string;
|
64 | image_24?: string;
|
65 | image_32?: string;
|
66 | image_48?: string;
|
67 | image_512?: string;
|
68 | image_72?: string;
|
69 | image_original?: string;
|
70 | is_custom_image?: boolean;
|
71 | real_name?: string;
|
72 | real_name_normalized?: string;
|
73 | team?: string;
|
74 | }
|
75 | export interface Review {
|
76 | date_review?: number;
|
77 | reviewing_team?: IngTeam;
|
78 | type?: string;
|
79 | }
|
80 | export interface Channel {
|
81 | id?: string;
|
82 | is_im?: boolean;
|
83 | is_private?: boolean;
|
84 | name?: string;
|
85 | }
|
86 | export interface InviteInvite {
|
87 | date_created?: number;
|
88 | date_invalid?: number;
|
89 | id?: string;
|
90 | inviting_team?: IngTeam;
|
91 | inviting_user?: TingUser;
|
92 | link?: string;
|
93 | recipient_email?: string;
|
94 | recipient_user_id?: string;
|
95 | }
|
96 | export interface ResponseMetadata {
|
97 | messages?: string[];
|
98 | next_cursor?: string;
|
99 | }
|
100 |
|
\ | No newline at end of file |