UNPKG

instagram-graph-api

Version:

A library to help perform requests to the Instagram Graph API.

19 lines (18 loc) 808 B
import { AxiosResponse } from 'axios'; import { DayMetric, WeekAndMonthMetric } from '../../../Enums'; import { AbstractGetPageInsightsRequest } from './AbstractGetPageInsightsRequest'; import { GetPageTimedInsightsResponse } from './GetPageTimedInsightsResponse'; /** * An abstract class to represent Page Insights Get Requests that query a metric that is time bound. * * @param T the type of the metrics of the request. * * @author Tiago Grosso <tiagogrosso99@gmail.com> * @since 0.2.0 */ export declare abstract class AbstractGetPageTimedInsightsRequest<T extends DayMetric | WeekAndMonthMetric> extends AbstractGetPageInsightsRequest<T, GetPageTimedInsightsResponse> { /** * @inheritdoc */ protected parseResponse(response: AxiosResponse<never>): GetPageTimedInsightsResponse; }