import * as actions from "./actions" import * as triggers from "./triggers" import { defineAccount } from "../../automation/integrations" /** Declares a named Meta Ads account binding for an automation. */ export const metaAdsAccount = defineAccount("meta-ads") /** Meta Ads callables. */ export const metaAds = { addAudienceUsers: actions.addMetaAdsAudienceUsers, archiveAd: actions.archiveMetaAdsAd, archiveAdSet: actions.archiveMetaAdsAdSet, archiveCampaign: actions.archiveMetaAdsCampaign, createAd: actions.createMetaAdsAd, createAdSet: actions.createMetaAdsAdSet, createAudience: actions.createMetaAdsAudience, createCampaign: actions.createMetaAdsCampaign, createCreative: actions.createMetaAdsCreative, createSubscription: actions.createMetaAdsSubscription, deleteAudience: actions.deleteMetaAdsAudience, deleteCreative: actions.deleteMetaAdsCreative, deleteSubscription: actions.deleteMetaAdsSubscription, getAd: actions.getMetaAdsAd, getAdAccount: actions.getMetaAdsAdAccount, getAdSet: actions.getMetaAdsAdSet, getAudience: actions.getMetaAdsAudience, getCampaign: actions.getMetaAdsCampaign, getCreative: actions.getMetaAdsCreative, getInsights: actions.getMetaAdsInsights, getLead: actions.getMetaAdsLead, getSubscription: actions.getMetaAdsSubscription, listAdAccounts: actions.listMetaAdsAdAccounts, listBusinessAdAccounts: actions.listMetaAdsBusinessAdAccounts, listAdSets: actions.listMetaAdsAdSets, listAds: actions.listMetaAdsAds, listAudiences: actions.listMetaAdsAudiences, listBusinesses: actions.listMetaAdsBusinesses, listCampaigns: actions.listMetaAdsCampaigns, listCreatives: actions.listMetaAdsCreatives, listLeadForms: actions.listMetaAdsLeadForms, listLeads: actions.listMetaAdsLeads, listPixels: actions.listMetaAdsPixels, listSubscriptions: actions.listMetaAdsSubscriptions, removeAudienceUsers: actions.removeMetaAdsAudienceUsers, sendConversionEvents: actions.sendMetaAdsConversionEvents, updateAd: actions.updateMetaAdsAd, updateAdSet: actions.updateMetaAdsAdSet, updateAudience: actions.updateMetaAdsAudience, updateCampaign: actions.updateMetaAdsCampaign, updateCreative: actions.updateMetaAdsCreative, onAdEffectiveStatusChanged: triggers.onMetaAdsAdEffectiveStatusChanged, onAdObjectIssuesChanged: triggers.onMetaAdsAdObjectIssuesChanged, onAdObjectProcessingCompleted: triggers.onMetaAdsAdObjectProcessingCompleted, onAdRecommendation: triggers.onMetaAdsAdRecommendation, onAdSetEffectiveStatusChanged: triggers.onMetaAdsAdSetEffectiveStatusChanged, onCampaignEffectiveStatusChanged: triggers.onMetaAdsCampaignEffectiveStatusChanged, onCreativeFatigueChanged: triggers.onMetaAdsCreativeFatigueChanged, onEvent: triggers.onMetaAdsEvent, onInsightsMilestoneReached: triggers.onMetaAdsInsightsMilestoneReached, onInsightsUpdated: triggers.onMetaAdsInsightsUpdated, onLeadCreated: triggers.onMetaAdsLeadCreated, onObjectCreated: triggers.onMetaAdsObjectCreated, onObjectUpdated: triggers.onMetaAdsObjectUpdated, } export * from "./actions" export * from "./lib" export * from "./triggers" export * from "@automate.ax/integration-contracts/meta-ads"