UNPKG

instagram-graph-api

Version:

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

49 lines (48 loc) 1.12 kB
/** * Possible status codes for the container. * * @author Tiago Grosso <tiagogrosso99@gmail.com> * @since 1.1.0 */ export declare enum CONTAINER_STATUS_CODE { /** * The container was not published within 24 hours and has expired. */ EXPIRED = "EXPIRED", /** * The container failed to complete the publishing process. */ ERROR = "ERROR", /** * The container and its media object are ready to be published. */ FINISHED = "FINISHED", /** * The container is still in the publishing process. */ IN_PROGRESS = "IN_PROGRESS", /** * The container's media object has been published. */ PUBLISHED = "PUBLISHED" } /** * Interface to represent the data regarding a container. * * @author Tiago Grosso <tiagogrosso99@gmail.com> * @since 1.1.0 */ export interface ContainerData { /** * The container id. */ id: string; /** * The publishing status of the container. */ status?: string; /** * The publishing status code of the container. */ status_code?: CONTAINER_STATUS_CODE; }