1 | export interface InsightsServiceAccountResponseRootObject {
|
2 | data: InsightsServiceAccountResponseData;
|
3 | }
|
4 | export interface InsightsServiceAccountResponseData {
|
5 | user: InsightsServiceAccountResponseUser;
|
6 | }
|
7 | export interface InsightsServiceAccountResponseUser {
|
8 | business_manager: InsightsServiceAccountResponseBusiness_manager;
|
9 | instagram_user_id: string;
|
10 | username: string;
|
11 | profile_picture: InsightsServiceAccountResponseProfile_picture;
|
12 | followers_count: number;
|
13 | business_profile: InsightsServiceAccountResponseBusiness_profile;
|
14 | id: string;
|
15 | }
|
16 | export interface InsightsServiceAccountResponseBusiness_manager {
|
17 | account_insights_unit: InsightsServiceAccountResponseAccount_insights_unit;
|
18 | status: InsightsServiceAccountResponseStatus;
|
19 | followers_unit: InsightsServiceAccountResponseFollowers_unit;
|
20 | top_posts_unit: InsightsServiceAccountResponseTop_posts_unit;
|
21 | stories_unit: InsightsServiceAccountResponseStories_unit;
|
22 | account_summary_unit: InsightsServiceAccountResponseAccount_summary_unit;
|
23 | promotions_unit: InsightsServiceAccountResponsePromotions_unit;
|
24 | }
|
25 | export interface InsightsServiceAccountResponseAccount_insights_unit {
|
26 | aymt_instagram_account_insights_channel: InsightsServiceAccountResponseAymt_instagram_account_insights_channel;
|
27 | account_actions_graph: InsightsServiceAccountResponseAccount_actions_graph;
|
28 | profile_visits_metric_count: number;
|
29 | profile_visits_metric_delta: number;
|
30 | website_visits_metric_count: number;
|
31 | website_visits_metric_delta: number;
|
32 | email_metric_count: number;
|
33 | email_metric_delta: number;
|
34 | get_direction_metric_count: number;
|
35 | get_direction_metric_delta: number;
|
36 | call_metric_count: number;
|
37 | call_metric_delta: number;
|
38 | text_metric_count: number;
|
39 | text_metric_delta: number;
|
40 | account_discovery_graph: InsightsServiceAccountResponseAccount_discovery_graph;
|
41 | impressions_metric_count: number;
|
42 | impressions_metric_delta: number;
|
43 | reach_metric_count: number;
|
44 | reach_metric_delta: number;
|
45 | hashtags_reach: InsightsServiceAccountResponseHashtags_reach;
|
46 | last_week_impressions: number;
|
47 | hashtags_impressions: InsightsServiceAccountResponseHashtags_impressions;
|
48 | graph: InsightsServiceAccountResponseGraph;
|
49 | metric_graph: InsightsServiceAccountResponseMetric_graph;
|
50 | }
|
51 | export interface InsightsServiceAccountResponseAymt_instagram_account_insights_channel {
|
52 | tips: any[];
|
53 | id: string;
|
54 | channel_id: string;
|
55 | }
|
56 | export interface InsightsServiceAccountResponseAccount_actions_graph {
|
57 | total_count_graph: InsightsServiceAccountResponseTotal_count_graph;
|
58 | }
|
59 | export interface InsightsServiceAccountResponseTotal_count_graph {
|
60 | graph_name: string;
|
61 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
62 | }
|
63 | export interface InsightsServiceAccountResponseDataPointsItem {
|
64 | label: string;
|
65 | value: number;
|
66 | }
|
67 | export interface InsightsServiceAccountResponseAccount_discovery_graph {
|
68 | nodes: InsightsServiceAccountResponseNodesItem[];
|
69 | }
|
70 | export interface InsightsServiceAccountResponseNodesItem {
|
71 | graph_name?: string;
|
72 | data_points?: InsightsServiceAccountResponseDataPointsItem[];
|
73 | __typename?: string;
|
74 | organic?: InsightsServiceAccountResponseOrganic;
|
75 | delta?: null;
|
76 | total?: number;
|
77 | }
|
78 | export interface InsightsServiceAccountResponseHashtags_reach {
|
79 | name: string;
|
80 | follow_status: InsightsServiceAccountResponseFollow_status;
|
81 | }
|
82 | export interface InsightsServiceAccountResponseFollow_status {
|
83 | nodes: InsightsServiceAccountResponseNodesItem[];
|
84 | }
|
85 | export interface InsightsServiceAccountResponseOrganic {
|
86 | value: number;
|
87 | status: string;
|
88 | }
|
89 | export interface InsightsServiceAccountResponseHashtags_impressions {
|
90 | organic: InsightsServiceAccountResponseOrganic;
|
91 | account_hashtags: InsightsServiceAccountResponseAccount_hashtags;
|
92 | }
|
93 | export interface InsightsServiceAccountResponseAccount_hashtags {
|
94 | count: number;
|
95 | nodes: any[];
|
96 | }
|
97 | export interface InsightsServiceAccountResponseGraph {
|
98 | nodes: InsightsServiceAccountResponseNodesItem[];
|
99 | }
|
100 | export interface InsightsServiceAccountResponseMetric_graph {
|
101 | nodes: InsightsServiceAccountResponseNodesItem[];
|
102 | }
|
103 | export interface InsightsServiceAccountResponseStatus {
|
104 | account_type: string;
|
105 | }
|
106 | export interface InsightsServiceAccountResponseFollowers_unit {
|
107 | followers_unit_state: string;
|
108 | followers_delta_from_last_week: number;
|
109 | gender_graph: InsightsServiceAccountResponseGender_graph;
|
110 | all_followers_age_graph: InsightsServiceAccountResponseAll_followers_age_graph;
|
111 | men_followers_age_graph: InsightsServiceAccountResponseMen_followers_age_graph;
|
112 | women_followers_age_graph: InsightsServiceAccountResponseWomen_followers_age_graph;
|
113 | followers_top_cities_graph: InsightsServiceAccountResponseFollowers_top_cities_graph;
|
114 | followers_top_countries_graph: InsightsServiceAccountResponseFollowers_top_countries_graph;
|
115 | week_daily_followers_graph: InsightsServiceAccountResponseWeek_daily_followers_graph;
|
116 | days_hourly_followers_graphs: InsightsServiceAccountResponseDaysHourlyFollowersGraphsItem[];
|
117 | }
|
118 | export interface InsightsServiceAccountResponseGender_graph {
|
119 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
120 | }
|
121 | export interface InsightsServiceAccountResponseAll_followers_age_graph {
|
122 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
123 | }
|
124 | export interface InsightsServiceAccountResponseMen_followers_age_graph {
|
125 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
126 | }
|
127 | export interface InsightsServiceAccountResponseWomen_followers_age_graph {
|
128 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
129 | }
|
130 | export interface InsightsServiceAccountResponseFollowers_top_cities_graph {
|
131 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
132 | }
|
133 | export interface InsightsServiceAccountResponseFollowers_top_countries_graph {
|
134 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
135 | }
|
136 | export interface InsightsServiceAccountResponseWeek_daily_followers_graph {
|
137 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
138 | }
|
139 | export interface InsightsServiceAccountResponseDaysHourlyFollowersGraphsItem {
|
140 | name: string;
|
141 | data_points: InsightsServiceAccountResponseDataPointsItem[];
|
142 | }
|
143 | export interface InsightsServiceAccountResponseTop_posts_unit {
|
144 | last_week_posts_count: number;
|
145 | week_over_week_posts_delta: number;
|
146 | top_posts: InsightsServiceAccountResponseTop_posts;
|
147 | }
|
148 | export interface InsightsServiceAccountResponseTop_posts {
|
149 | edges: any[];
|
150 | }
|
151 | export interface InsightsServiceAccountResponseStories_unit {
|
152 | last_week_stories_count: number;
|
153 | week_over_week_stories_delta: number;
|
154 | state: string;
|
155 | summary_stories: InsightsServiceAccountResponseSummary_stories;
|
156 | }
|
157 | export interface InsightsServiceAccountResponseSummary_stories {
|
158 | count: number;
|
159 | edges: any[];
|
160 | }
|
161 | export interface InsightsServiceAccountResponseAccount_summary_unit {
|
162 | posts_count: number;
|
163 | }
|
164 | export interface InsightsServiceAccountResponsePromotions_unit {
|
165 | summary_promotions: InsightsServiceAccountResponseSummary_promotions;
|
166 | }
|
167 | export interface InsightsServiceAccountResponseSummary_promotions {
|
168 | edges: any[];
|
169 | }
|
170 | export interface InsightsServiceAccountResponseProfile_picture {
|
171 | uri: string;
|
172 | }
|
173 | export interface InsightsServiceAccountResponseBusiness_profile {
|
174 | id: string;
|
175 | }
|