import { AbstractCrudObject } from "./../abstract-crud-object"; import AbstractObject from "./../abstract-object"; import Cursor from "./../cursor"; import BrandedContentShadowIGUserID from "./branded-content-shadow-ig-user-id"; import IGComment from "./ig-comment"; import ShadowIGMediaProductTags from "./shadow-ig-media-product-tags"; /** * IGMedia * @see {@link https://developers.facebook.com/docs/marketing-api/} */ export default class IGMedia extends AbstractCrudObject { static get Fields(): Readonly<{ alt_text: "alt_text"; boost_eligibility_info: "boost_eligibility_info"; caption: "caption"; comments_count: "comments_count"; copyright_check_information: "copyright_check_information"; id: "id"; ig_id: "ig_id"; is_comment_enabled: "is_comment_enabled"; is_shared_to_feed: "is_shared_to_feed"; legacy_instagram_media_id: "legacy_instagram_media_id"; like_count: "like_count"; media_product_type: "media_product_type"; media_type: "media_type"; media_url: "media_url"; owner: "owner"; permalink: "permalink"; shortcode: "shortcode"; thumbnail_url: "thumbnail_url"; timestamp: "timestamp"; username: "username"; view_count: "view_count"; }>; getBoostAdsList(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getBrandedContentPartnerPromote(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createBrandedContentPartnerPromote(fields: string[], params?: Record, pathOverride?: string | null): Promise; getChildren(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getCollaborators(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getComments(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createComment(fields: string[], params?: Record, pathOverride?: string | null): Promise; getInsights(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deletePartnershipAdCode(params?: Record): Promise; createPartnershipAdCode(fields: string[], params?: Record, pathOverride?: string | null): Promise; getProductTags(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createProductTag(fields: string[], params?: Record, pathOverride?: string | null): Promise; get(fields: string[], params?: Record): Promise; update(fields: string[], params?: Record): Promise; }