UNPKG

2.39 kBTypeScriptView Raw
1export interface PostsInsightsFeedResponseRootObject {
2 data: PostsInsightsFeedResponseData;
3}
4export interface PostsInsightsFeedResponseData {
5 user: PostsInsightsFeedResponseUser;
6}
7export interface PostsInsightsFeedResponseUser {
8 id: string;
9 business_manager: PostsInsightsFeedResponseBusiness_manager;
10}
11export interface PostsInsightsFeedResponseBusiness_manager {
12 top_posts_unit: PostsInsightsFeedResponseTop_posts_unit;
13}
14export interface PostsInsightsFeedResponseTop_posts_unit {
15 top_posts: PostsInsightsFeedResponseTop_posts;
16}
17export interface PostsInsightsFeedResponseTop_posts {
18 edges: PostsInsightsFeedResponseEdgesItem[];
19 page_info: PostsInsightsFeedResponsePage_info;
20}
21export interface PostsInsightsFeedResponseEdgesItem {
22 node: PostsInsightsFeedResponseNode;
23 cursor?: string;
24}
25export interface PostsInsightsFeedResponseNode {
26 instagram_media_id?: string;
27 instagram_media_type?: string;
28 image?: PostsInsightsFeedResponseImage;
29 creation_time?: number;
30 comment_count?: number;
31 engagement?: number;
32 like_count?: number;
33 save_count?: number;
34 video_view_count?: null;
35 shopping_product_click_count?: number;
36 shopping_outbound_click_count?: number;
37 inline_insights_node?: PostsInsightsFeedResponseInline_insights_node;
38 id?: string;
39 __typename: string;
40 name?: string;
41 value?: number;
42}
43export interface PostsInsightsFeedResponseImage {
44 uri: string;
45}
46export interface PostsInsightsFeedResponseInline_insights_node {
47 metrics: PostsInsightsFeedResponseMetrics;
48 state: string;
49}
50export interface PostsInsightsFeedResponseMetrics {
51 impression_count: number;
52 owner_account_follows_count: number;
53 owner_profile_views_count: number;
54 reach_count: number;
55 profile_actions: PostsInsightsFeedResponseProfile_actions;
56 share_count: PostsInsightsFeedResponseShare_count;
57}
58export interface PostsInsightsFeedResponseProfile_actions {
59 actions: PostsInsightsFeedResponseActions;
60}
61export interface PostsInsightsFeedResponseActions {
62 edges: PostsInsightsFeedResponseEdgesItem[];
63}
64export interface PostsInsightsFeedResponseShare_count {
65 tray: PostsInsightsFeedResponseTray;
66}
67export interface PostsInsightsFeedResponseTray {
68 value: number;
69}
70export interface PostsInsightsFeedResponsePage_info {
71 end_cursor: string;
72 has_next_page: boolean;
73}