import { AbstractCrudObject } from "./../abstract-crud-object"; import Cursor from "./../cursor"; import Post from "./post"; import LiveVideo from "./live-video"; import Photo from "./photo"; import AdVideo from "./ad-video"; /** * Group * @see {@link https://developers.facebook.com/docs/marketing-api/} */ export default class Group extends AbstractCrudObject { static get Fields(): Readonly<{ archived: "archived"; cover: "cover"; created_time: "created_time"; description: "description"; email: "email"; icon: "icon"; id: "id"; install: "install"; link: "link"; member_count: "member_count"; member_request_count: "member_request_count"; name: "name"; parent: "parent"; permissions: "permissions"; privacy: "privacy"; purpose: "purpose"; subdomain: "subdomain"; updated_time: "updated_time"; venue: "venue"; }>; static get JoinSetting(): Readonly<{ admin_only: "ADMIN_ONLY"; anyone: "ANYONE"; none: "NONE"; }>; static get PostPermissions(): Readonly<{ admin_only: "ADMIN_ONLY"; anyone: "ANYONE"; none: "NONE"; }>; static get Purpose(): Readonly<{ casual: "CASUAL"; coworkers: "COWORKERS"; custom: "CUSTOM"; for_sale: "FOR_SALE"; for_work: "FOR_WORK"; game: "GAME"; health_support: "HEALTH_SUPPORT"; jobs: "JOBS"; learning: "LEARNING"; none: "NONE"; parenting: "PARENTING"; streamer: "STREAMER"; work_announcement: "WORK_ANNOUNCEMENT"; work_demo_group: "WORK_DEMO_GROUP"; work_discussion: "WORK_DISCUSSION"; work_ephemeral: "WORK_EPHEMERAL"; work_feedback: "WORK_FEEDBACK"; work_for_sale: "WORK_FOR_SALE"; work_garden: "WORK_GARDEN"; work_integrity: "WORK_INTEGRITY"; work_learning: "WORK_LEARNING"; work_mentorship: "WORK_MENTORSHIP"; work_multi_company: "WORK_MULTI_COMPANY"; work_recruiting: "WORK_RECRUITING"; work_social: "WORK_SOCIAL"; work_stages: "WORK_STAGES"; work_team: "WORK_TEAM"; work_teamwork: "WORK_TEAMWORK"; }>; static get GroupType(): Readonly<{ casual: "CASUAL"; coworkers: "COWORKERS"; custom: "CUSTOM"; for_sale: "FOR_SALE"; for_work: "FOR_WORK"; game: "GAME"; health_support: "HEALTH_SUPPORT"; jobs: "JOBS"; learning: "LEARNING"; none: "NONE"; parenting: "PARENTING"; streamer: "STREAMER"; work_announcement: "WORK_ANNOUNCEMENT"; work_demo_group: "WORK_DEMO_GROUP"; work_discussion: "WORK_DISCUSSION"; work_ephemeral: "WORK_EPHEMERAL"; work_feedback: "WORK_FEEDBACK"; work_for_sale: "WORK_FOR_SALE"; work_garden: "WORK_GARDEN"; work_integrity: "WORK_INTEGRITY"; work_learning: "WORK_LEARNING"; work_mentorship: "WORK_MENTORSHIP"; work_multi_company: "WORK_MULTI_COMPANY"; work_recruiting: "WORK_RECRUITING"; work_social: "WORK_SOCIAL"; work_stages: "WORK_STAGES"; work_team: "WORK_TEAM"; work_teamwork: "WORK_TEAMWORK"; }>; deleteAdmins(params?: Record): Promise; createAdmin(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAlbums(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getDocs(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getEvents(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getFeed(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createFeed(fields: string[], params?: Record, pathOverride?: string | null): Promise; getFiles(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getGroups(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createGroup(fields: string[], params?: Record, pathOverride?: string | null): Promise; getLiveVideos(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createLiveVideo(fields: string[], params?: Record, pathOverride?: string | null): Promise; deleteMembers(params?: Record): Promise; createMember(fields: string[], params?: Record, pathOverride?: string | null): Promise; getOptedInMembers(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createPhoto(fields: string[], params?: Record, pathOverride?: string | null): Promise; getPicture(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getVideos(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createVideo(fields: string[], params?: Record, pathOverride?: string | null): Promise; get(fields: string[], params?: Record): Promise; update(fields: string[], params?: Record): Promise; }