1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type AdminAnalyticsGetFileResponse = WebAPICallResult & {
|
3 | file_data?: (AdminAnalyticsMemberDetails | AdminAnalyticsPublicChannelDetails | AdminAnalyticsPublicChannelMetadataDetails)[];
|
4 | error?: string;
|
5 | needed?: string;
|
6 | ok?: boolean;
|
7 | provided?: string;
|
8 | response_metadata?: ResponseMetadata;
|
9 | };
|
10 | export interface ResponseMetadata {
|
11 | messages?: string[];
|
12 | }
|
13 | export interface AdminAnalyticsMemberDetails {
|
14 | enterprise_id: string;
|
15 | team_id: string;
|
16 | date: string;
|
17 | user_id: string;
|
18 | email_address: string;
|
19 | is_guest: boolean;
|
20 | is_billable_seat: boolean;
|
21 | is_active: boolean;
|
22 | is_active_ios: boolean;
|
23 | is_active_android: boolean;
|
24 | is_active_desktop: boolean;
|
25 | reactions_added_count: number;
|
26 | messages_posted_count: number;
|
27 | channel_messages_posted_count: number;
|
28 | files_added_count: number;
|
29 | is_active_apps: boolean;
|
30 | is_active_workflows: boolean;
|
31 | is_active_slack_connect: boolean;
|
32 | total_calls_count: number;
|
33 | slack_calls_count: number;
|
34 | slack_huddles_count: number;
|
35 | search_count: number;
|
36 | date_claimed: number;
|
37 | }
|
38 | export interface AdminAnalyticsPublicChannelDetails {
|
39 | enterprise_id: string;
|
40 | originating_team: AdminAnalyticsOriginatingTeamDetails;
|
41 | channel_id: string;
|
42 | date_created: number;
|
43 | date_last_active: number;
|
44 | total_members_count: number;
|
45 | full_members_count: number;
|
46 | guest_member_count: number;
|
47 | messages_posted_count: number;
|
48 | messages_posted_by_members_count: number;
|
49 | members_who_viewed_count: number;
|
50 | members_who_posted_count: number;
|
51 | reactions_added_count: number;
|
52 | visibility: string;
|
53 | channel_type: string;
|
54 | is_shared_externally: boolean;
|
55 | shared_with: AdminAnalyticsSharedWithDetails[];
|
56 | externally_shared_with_organizations: AdminAnalyticsExternallySharedWithOrganizationsDetails[];
|
57 | date: string;
|
58 | }
|
59 | export interface AdminAnalyticsPublicChannelMetadataDetails {
|
60 | channel_id: string;
|
61 | name: string;
|
62 | topic: string;
|
63 | description: string;
|
64 | date: string;
|
65 | }
|
66 | export interface AdminAnalyticsOriginatingTeamDetails {
|
67 | team_id: string;
|
68 | name: string;
|
69 | }
|
70 | export interface AdminAnalyticsSharedWithDetails {
|
71 | team_id: string;
|
72 | name: string;
|
73 | }
|
74 | export interface AdminAnalyticsExternallySharedWithOrganizationsDetails {
|
75 | name: string;
|
76 | domain: string;
|
77 | }
|
78 |
|
\ | No newline at end of file |