UNPKG

3.29 kBTypeScriptView Raw
1export interface InsightsServicePostResponseRootObject {
2 data: InsightsServicePostResponseData;
3}
4export interface InsightsServicePostResponseData {
5 media: InsightsServicePostResponseMedia;
6}
7export interface InsightsServicePostResponseMedia {
8 id: string;
9 creation_time: number;
10 has_product_tags: boolean;
11 instagram_media_id: string;
12 instagram_media_owner_id: string;
13 instagram_actor: InsightsServicePostResponseInstagram_actor;
14 inline_insights_node: InsightsServicePostResponseInline_insights_node;
15 display_url: string;
16 instagram_media_type: string;
17 image: InsightsServicePostResponseImage;
18 comment_count: number;
19 like_count: number;
20 save_count: number;
21 ad_media: null;
22 organic_instagram_media_id: string;
23 shopping_outbound_click_count: number;
24 shopping_product_click_count: number;
25}
26export interface InsightsServicePostResponseInstagram_actor {
27 instagram_actor_id: string;
28 id: string;
29}
30export interface InsightsServicePostResponseInline_insights_node {
31 state: string;
32 metrics: InsightsServicePostResponseMetrics;
33 error: null;
34}
35export interface InsightsServicePostResponseMetrics {
36 share_count: InsightsServicePostResponseShare_count;
37 owner_profile_views_count: number;
38 reach_count: number;
39 profile_actions: InsightsServicePostResponseProfile_actions;
40 impression_count: number;
41 impressions: InsightsServicePostResponseImpressions;
42 owner_account_follows_count: number;
43 reach: InsightsServicePostResponseReach;
44 hashtags_impressions: InsightsServicePostResponseHashtags_impressions;
45}
46export interface InsightsServicePostResponseShare_count {
47 tray: InsightsServicePostResponseTray;
48 post: InsightsServicePostResponsePost;
49}
50export interface InsightsServicePostResponseTray {
51 nodes: InsightsServicePostResponseNodesItem[];
52}
53export interface InsightsServicePostResponseNodesItem {
54 __typename: string;
55 value: number;
56 name?: string;
57}
58export interface InsightsServicePostResponsePost {
59 value: number;
60 nodes: InsightsServicePostResponseNodesItem[];
61}
62export interface InsightsServicePostResponseProfile_actions {
63 actions: InsightsServicePostResponseActions;
64}
65export interface InsightsServicePostResponseActions {
66 value: number;
67 nodes: InsightsServicePostResponseNodesItem[];
68}
69export interface InsightsServicePostResponseImpressions {
70 value: number;
71 surfaces: InsightsServicePostResponseSurfaces;
72}
73export interface InsightsServicePostResponseSurfaces {
74 nodes: InsightsServicePostResponseNodesItem[];
75}
76export interface InsightsServicePostResponseReach {
77 value: number;
78 follow_status: InsightsServicePostResponseFollow_status;
79}
80export interface InsightsServicePostResponseFollow_status {
81 nodes: InsightsServicePostResponseNodesItem[];
82}
83export interface InsightsServicePostResponseHashtags_impressions {
84 organic: InsightsServicePostResponseOrganic;
85 hashtags: InsightsServicePostResponseHashtags;
86}
87export interface InsightsServicePostResponseOrganic {
88 value: number;
89 status: string;
90}
91export interface InsightsServicePostResponseHashtags {
92 count: number;
93 nodes: any[];
94}
95export interface InsightsServicePostResponseImage {
96 height: number;
97 width: number;
98}