@types/facebook-nodejs-business-sdk
Version:
TypeScript definitions for facebook-nodejs-business-sdk
94 lines (93 loc) • 3.15 kB
TypeScript
import { AbstractCrudObject } from "./../abstract-crud-object";
/**
* InsightsResult
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class InsightsResult extends AbstractCrudObject {
static get Fields(): Readonly<{
description: "description";
description_from_api_doc: "description_from_api_doc";
id: "id";
name: "name";
period: "period";
title: "title";
values: "values";
}>;
static get Breakdown(): Readonly<{
action_type: "action_type";
follow_type: "follow_type";
story_navigation_action_type: "story_navigation_action_type";
surface_type: "surface_type";
}>;
static get Metric(): Readonly<{
clips_replays_count: "clips_replays_count";
comments: "comments";
content_views: "content_views";
follows: "follows";
ig_reels_aggregated_all_plays_count: "ig_reels_aggregated_all_plays_count";
ig_reels_avg_watch_time: "ig_reels_avg_watch_time";
ig_reels_video_view_total_time: "ig_reels_video_view_total_time";
impressions: "impressions";
likes: "likes";
navigation: "navigation";
peak_concurrent_viewers: "peak_concurrent_viewers";
plays: "plays";
profile_activity: "profile_activity";
profile_visits: "profile_visits";
quotes: "quotes";
reach: "reach";
replies: "replies";
reposts: "reposts";
saved: "saved";
shares: "shares";
thread_replies: "thread_replies";
thread_shares: "thread_shares";
threads_views: "threads_views";
total_interactions: "total_interactions";
video_views: "video_views";
views: "views";
}>;
static get Period(): Readonly<{
day: "day";
days_28: "days_28";
lifetime: "lifetime";
month: "month";
total_over_range: "total_over_range";
week: "week";
}>;
static get DatePreset(): Readonly<{
data_maximum: "data_maximum";
last_14d: "last_14d";
last_28d: "last_28d";
last_30d: "last_30d";
last_3d: "last_3d";
last_7d: "last_7d";
last_90d: "last_90d";
last_month: "last_month";
last_quarter: "last_quarter";
last_week_mon_sun: "last_week_mon_sun";
last_week_sun_sat: "last_week_sun_sat";
last_year: "last_year";
maximum: "maximum";
this_month: "this_month";
this_quarter: "this_quarter";
this_week_mon_today: "this_week_mon_today";
this_week_sun_today: "this_week_sun_today";
this_year: "this_year";
today: "today";
yesterday: "yesterday";
}>;
static get MetricType(): Readonly<{
default: "default";
time_series: "time_series";
total_value: "total_value";
}>;
static get Timeframe(): Readonly<{
last_14_days: "last_14_days";
last_30_days: "last_30_days";
last_90_days: "last_90_days";
prev_month: "prev_month";
this_month: "this_month";
this_week: "this_week";
}>;
}