UNPKG

1.91 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type AdminConversationsSearchResponse = WebAPICallResult & {
3 conversations?: Conversation[];
4 error?: string;
5 needed?: string;
6 next_cursor?: string;
7 ok?: boolean;
8 provided?: string;
9 response_metadata?: ResponseMetadata;
10 total_count?: number;
11};
12export interface Conversation {
13 canvas?: Canvas;
14 channel_email_addresses?: ChannelEmailAddress[];
15 channel_manager_count?: number;
16 connected_limited_team_ids?: string[];
17 connected_team_ids?: string[];
18 context_team_id?: string;
19 conversation_host_id?: string;
20 created?: number;
21 creator_id?: string;
22 external_user_count?: number;
23 id?: string;
24 internal_team_ids?: string[];
25 internal_team_ids_count?: number;
26 internal_team_ids_sample_team?: string;
27 is_archived?: boolean;
28 is_disconnect_in_progress?: boolean;
29 is_ext_shared?: boolean;
30 is_frozen?: boolean;
31 is_general?: boolean;
32 is_global_shared?: boolean;
33 is_org_default?: boolean;
34 is_org_mandatory?: boolean;
35 is_org_shared?: boolean;
36 is_pending_ext_shared?: boolean;
37 is_private?: boolean;
38 last_activity_ts?: number;
39 member_count?: number;
40 name?: string;
41 pending_connected_team_ids?: string[];
42 purpose?: string;
43}
44export interface Canvas {
45 ownership_details?: OwnershipDetail[];
46 total_count?: number;
47}
48export interface OwnershipDetail {
49 count?: number;
50 team_id?: string;
51}
52export interface ChannelEmailAddress {
53 address?: string;
54 conversation_id?: string;
55 date_created?: number;
56 icons?: Icons;
57 name?: string;
58 team_id?: string;
59 user_id?: string;
60}
61export interface Icons {
62 image_36?: string;
63 image_48?: string;
64 image_72?: string;
65}
66export interface ResponseMetadata {
67 messages?: string[];
68}
69//# sourceMappingURL=AdminConversationsSearchResponse.d.ts.map
\No newline at end of file