instagram-graph-api
Version:
A library to help perform requests to the Instagram Graph API.
32 lines (31 loc) • 976 B
TypeScript
import { AbstractGetInsightsResponse } from '../../AbstractGetInsightsResponse';
import { BasicInsightsMetricData, MetricValue } from '../../data/insights/BasicInsightsMetricData';
import { SimpleMetric } from '../../data/insights/SimpleMetric';
import { Paging, PagingData } from '../../data/Paging';
/**
* Class that represents a response from a Page Insights request for Day, Week or Month metrics.
*
* @author Tiago Grosso <tiagogrosso99@gmail.com>
* @since 0.1.0
*/
export declare class GetPageTimedInsightsResponse extends AbstractGetInsightsResponse<SimpleMetric> {
/**
* The paging of the response.
*/
private readonly paging;
/**
* The constructor.
*
* @param body the body of the response.
*/
constructor(body: {
data: BasicInsightsMetricData<MetricValue<number>[]>[];
paging: PagingData;
});
/**
* Gets the paging.
*
* @returns the paging.
*/
getPaging(): Paging;
}