import { AbstractCrudObject } from "./../abstract-crud-object"; import AbstractObject from "./../abstract-object"; import Cursor from "./../cursor"; import Dataset from "./dataset"; import ProductCatalog from "./product-catalog"; /** * WhatsAppBusinessAccount * @see {@link https://developers.facebook.com/docs/marketing-api/} */ export default class WhatsAppBusinessAccount extends AbstractCrudObject { static get Fields(): Readonly<{ account_review_status: "account_review_status"; analytics: "analytics"; auth_international_rate_eligibility: "auth_international_rate_eligibility"; business_verification_status: "business_verification_status"; country: "country"; creation_time: "creation_time"; currency: "currency"; health_status: "health_status"; id: "id"; is_enabled_for_insights: "is_enabled_for_insights"; is_shared_with_partners: "is_shared_with_partners"; linked_commerce_account: "linked_commerce_account"; marketing_messages_lite_api_status: "marketing_messages_lite_api_status"; marketing_messages_onboarding_status: "marketing_messages_onboarding_status"; message_template_namespace: "message_template_namespace"; name: "name"; on_behalf_of_business_info: "on_behalf_of_business_info"; owner_business: "owner_business"; owner_business_info: "owner_business_info"; ownership_type: "ownership_type"; primary_business_location: "primary_business_location"; primary_funding_id: "primary_funding_id"; purchase_order_number: "purchase_order_number"; status: "status"; timezone_id: "timezone_id"; }>; static get BusinessVerificationStatus(): Readonly<{ expired: "expired"; failed: "failed"; ineligible: "ineligible"; not_verified: "not_verified"; pending: "pending"; pending_need_more_info: "pending_need_more_info"; pending_submission: "pending_submission"; rejected: "rejected"; revoked: "revoked"; verified: "verified"; }>; static get Tasks(): Readonly<{ develop: "DEVELOP"; manage: "MANAGE"; manage_extensions: "MANAGE_EXTENSIONS"; manage_phone: "MANAGE_PHONE"; manage_phone_assets: "MANAGE_PHONE_ASSETS"; manage_templates: "MANAGE_TEMPLATES"; messaging: "MESSAGING"; view_cost: "VIEW_COST"; view_phone_assets: "VIEW_PHONE_ASSETS"; view_templates: "VIEW_TEMPLATES"; }>; static get Category(): Readonly<{ authentication: "AUTHENTICATION"; marketing: "MARKETING"; utility: "UTILITY"; }>; static get DisplayFormat(): Readonly<{ order_details: "ORDER_DETAILS"; }>; static get ParameterFormat(): Readonly<{ named: "NAMED"; positional: "POSITIONAL"; }>; static get SubCategory(): Readonly<{ order_details: "ORDER_DETAILS"; order_status: "ORDER_STATUS"; }>; static get ProviderName(): Readonly<{ billdesk: "BILLDESK"; payu: "PAYU"; razorpay: "RAZORPAY"; upi_vpa: "UPI_VPA"; zaakpay: "ZAAKPAY"; }>; getActivities(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteAssignedUsers(params?: Record): Promise; getAssignedUsers(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAssignedUser(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAudiences(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getCallAnalytics(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getConversationAnalytics(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getDataset(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createDataset(fields: string[], params?: Record, pathOverride?: string | null): Promise; getFlows(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createFlow(fields: string[], params?: Record, pathOverride?: string | null): Promise; createGeneratePaymentConfigurationOauthLink(fields: string[], params?: Record, pathOverride?: string | null): Promise; getMessageCampaigns(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getMessageTemplatePreviews(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteMessageTemplates(params?: Record): Promise; getMessageTemplates(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createMessageTemplate(fields: string[], params?: Record, pathOverride?: string | null): Promise; createMigrateFlow(fields: string[], params?: Record, pathOverride?: string | null): Promise; createMigrateMessageTemplate(fields: string[], params?: Record, pathOverride?: string | null): Promise; deletePaymentConfiguration(params?: Record): Promise; getPaymentConfiguration(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createPaymentConfiguration(fields: string[], params?: Record, pathOverride?: string | null): Promise; getPaymentConfigurations(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getPhoneNumbers(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createPhoneNumber(fields: string[], params?: Record, pathOverride?: string | null): Promise; getPricingAnalytics(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteProductCatalogs(params?: Record): Promise; getProductCatalogs(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createProductCatalog(fields: string[], params?: Record, pathOverride?: string | null): Promise; getSchedules(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createSetOboMobilityIntent(fields: string[], params?: Record, pathOverride?: string | null): Promise; createSetSolutionMigrationIntent(fields: string[], params?: Record, pathOverride?: string | null): Promise; getSolutions(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteSubscribedApps(params?: Record): Promise; getSubscribedApps(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createSubscribedApp(fields: string[], params?: Record, pathOverride?: string | null): Promise; getTemplateAnalytics(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getTemplateGroupAnalytics(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getTemplateGroups(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createTemplateGroup(fields: string[], params?: Record, pathOverride?: string | null): Promise; getTemplatePerformanceMetrics(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createUpsertMessageTemplate(fields: string[], params?: Record, pathOverride?: string | null): Promise; getWelcomeMessageSequences(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; get(fields: string[], params?: Record): Promise; update(fields: string[], params?: Record): Promise; }