@automate.ax/catalog 0.139.2 → 0.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalog.d.ts +58 -0
- package/dist/catalog.js +15 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/triggers/index.d.ts +260 -0
- package/dist/triggers/index.js +2 -0
- package/dist/triggers/meta-ads.d.ts +132 -0
- package/dist/triggers/meta-ads.js +72 -0
- package/package.json +7 -1
- package/src/catalog.ts +18 -0
- package/src/index.ts +2 -0
- package/src/triggers/index.ts +2 -0
- package/src/triggers/meta-ads.ts +81 -0
package/dist/catalog.d.ts
CHANGED
|
@@ -232,6 +232,16 @@ export declare const cloudflareService: {
|
|
|
232
232
|
readonly name: "Cloudflare";
|
|
233
233
|
readonly preferredConnectionMethodId: "oauth";
|
|
234
234
|
};
|
|
235
|
+
export declare const metaAdsService: {
|
|
236
|
+
readonly connectionMethods: readonly [{
|
|
237
|
+
readonly id: "oauth";
|
|
238
|
+
readonly name: "OAuth";
|
|
239
|
+
readonly type: "redirect";
|
|
240
|
+
}];
|
|
241
|
+
readonly description: "Connect Meta Ads for campaign management, reporting, audiences, leads, conversions, and events.";
|
|
242
|
+
readonly id: "meta-ads";
|
|
243
|
+
readonly name: "Meta Ads";
|
|
244
|
+
};
|
|
235
245
|
export declare const closeService: {
|
|
236
246
|
readonly connectionMethods: readonly [{
|
|
237
247
|
readonly id: "oauth";
|
|
@@ -255,6 +265,26 @@ export declare const closeService: {
|
|
|
255
265
|
readonly name: "Close";
|
|
256
266
|
readonly preferredConnectionMethodId: "oauth";
|
|
257
267
|
};
|
|
268
|
+
export declare const closeBotService: {
|
|
269
|
+
readonly id: "closebot";
|
|
270
|
+
readonly name: string;
|
|
271
|
+
readonly icon?: string | undefined;
|
|
272
|
+
readonly description: string;
|
|
273
|
+
readonly connectionNotice?: import("./types").IntegrationConnectionNotice | undefined;
|
|
274
|
+
readonly connectionMethods: readonly [{
|
|
275
|
+
readonly fields: readonly [{
|
|
276
|
+
readonly placeholder: string;
|
|
277
|
+
readonly input: "password";
|
|
278
|
+
readonly label: "API key";
|
|
279
|
+
readonly name: "apiKey";
|
|
280
|
+
readonly required: true;
|
|
281
|
+
}];
|
|
282
|
+
readonly id: "api-key";
|
|
283
|
+
readonly name: "API key";
|
|
284
|
+
readonly type: "form";
|
|
285
|
+
readonly credentialUrl?: string | undefined;
|
|
286
|
+
}];
|
|
287
|
+
};
|
|
258
288
|
export declare const chatgptService: {
|
|
259
289
|
readonly connectionMethods: readonly [{
|
|
260
290
|
readonly fields: readonly [{
|
|
@@ -1292,6 +1322,15 @@ export declare const integrationCatalog: readonly [{
|
|
|
1292
1322
|
readonly id: "cloudflare";
|
|
1293
1323
|
readonly name: "Cloudflare";
|
|
1294
1324
|
readonly preferredConnectionMethodId: "oauth";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly connectionMethods: readonly [{
|
|
1327
|
+
readonly id: "oauth";
|
|
1328
|
+
readonly name: "OAuth";
|
|
1329
|
+
readonly type: "redirect";
|
|
1330
|
+
}];
|
|
1331
|
+
readonly description: "Connect Meta Ads for campaign management, reporting, audiences, leads, conversions, and events.";
|
|
1332
|
+
readonly id: "meta-ads";
|
|
1333
|
+
readonly name: "Meta Ads";
|
|
1295
1334
|
}, {
|
|
1296
1335
|
readonly connectionMethods: readonly [{
|
|
1297
1336
|
readonly id: "oauth";
|
|
@@ -1314,6 +1353,25 @@ export declare const integrationCatalog: readonly [{
|
|
|
1314
1353
|
readonly id: "close";
|
|
1315
1354
|
readonly name: "Close";
|
|
1316
1355
|
readonly preferredConnectionMethodId: "oauth";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly id: "closebot";
|
|
1358
|
+
readonly name: string;
|
|
1359
|
+
readonly icon?: string | undefined;
|
|
1360
|
+
readonly description: string;
|
|
1361
|
+
readonly connectionNotice?: import("./types").IntegrationConnectionNotice | undefined;
|
|
1362
|
+
readonly connectionMethods: readonly [{
|
|
1363
|
+
readonly fields: readonly [{
|
|
1364
|
+
readonly placeholder: string;
|
|
1365
|
+
readonly input: "password";
|
|
1366
|
+
readonly label: "API key";
|
|
1367
|
+
readonly name: "apiKey";
|
|
1368
|
+
readonly required: true;
|
|
1369
|
+
}];
|
|
1370
|
+
readonly id: "api-key";
|
|
1371
|
+
readonly name: "API key";
|
|
1372
|
+
readonly type: "form";
|
|
1373
|
+
readonly credentialUrl?: string | undefined;
|
|
1374
|
+
}];
|
|
1317
1375
|
}, {
|
|
1318
1376
|
readonly connectionMethods: readonly [{
|
|
1319
1377
|
readonly fields: readonly [{
|
package/dist/catalog.js
CHANGED
|
@@ -195,6 +195,12 @@ export const cloudflareService = defineIntegrationService({
|
|
|
195
195
|
name: "Cloudflare",
|
|
196
196
|
preferredConnectionMethodId: "oauth",
|
|
197
197
|
});
|
|
198
|
+
export const metaAdsService = defineIntegrationService({
|
|
199
|
+
connectionMethods: [{ id: "oauth", name: "OAuth", type: "redirect" }],
|
|
200
|
+
description: "Connect Meta Ads for campaign management, reporting, audiences, leads, conversions, and events.",
|
|
201
|
+
id: "meta-ads",
|
|
202
|
+
name: "Meta Ads",
|
|
203
|
+
});
|
|
198
204
|
export const closeService = defineIntegrationService({
|
|
199
205
|
connectionMethods: [
|
|
200
206
|
{ id: "oauth", name: "OAuth", type: "redirect" },
|
|
@@ -211,6 +217,13 @@ export const closeService = defineIntegrationService({
|
|
|
211
217
|
name: "Close",
|
|
212
218
|
preferredConnectionMethodId: "oauth",
|
|
213
219
|
});
|
|
220
|
+
export const closeBotService = defineApiKeyService({
|
|
221
|
+
credentialUrl: "https://app.closebot.com/settings?tab=keys",
|
|
222
|
+
description: "Connect a CloseBot account with an API key.",
|
|
223
|
+
id: "closebot",
|
|
224
|
+
name: "CloseBot",
|
|
225
|
+
placeholder: "CloseBot API key",
|
|
226
|
+
});
|
|
214
227
|
export const chatgptService = defineIntegrationService({
|
|
215
228
|
connectionMethods: [
|
|
216
229
|
{
|
|
@@ -757,7 +770,9 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
757
770
|
cerebrasService,
|
|
758
771
|
chatgptService,
|
|
759
772
|
cloudflareService,
|
|
773
|
+
metaAdsService,
|
|
760
774
|
closeService,
|
|
775
|
+
closeBotService,
|
|
761
776
|
codexService,
|
|
762
777
|
cohereService,
|
|
763
778
|
convexService,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { airtableService, anthropicService, apolloService, apifyService, asanaService, automateService, axiomService, brevoService, browserbaseService, cerebrasService, chatgptService, cloudflareService, closeService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, type IntegrationServiceId, } from "./catalog.js";
|
|
1
|
+
export { airtableService, anthropicService, apolloService, apifyService, asanaService, automateService, axiomService, brevoService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, type IntegrationServiceId, } from "./catalog.js";
|
|
2
2
|
export { defineIntegrationCatalog, defineIntegrationService, integrationScope, type IntegrationAccountConnectionOption, type IntegrationAccountRequirement, type IntegrationConnectionDefinition, type IntegrationConnectionNotice, type IntegrationFormField, type IntegrationScopeRequirement, type IntegrationServiceDefinition, type ScopeRequirementGroup, type TriggerAccountRequirement, type TriggerDefinition, type TriggerPresentation, type TriggerPresentationContext, type TriggerPresentationDetail, type TriggerScopePresentation, type TriggerPresentationValue, } from "./types.js";
|
|
3
3
|
export { getDashboardRunEndpoint, getDashboardRunEndpointKey, getHttpTriggerEndpoint, getHttpTriggerEndpointKey, getMailhookAddress, getMailhookAddressKey, DASHBOARD_RUN_CONFIG_SCHEMA, getTriggerDefinition, getTriggerName, getTriggerPresentation, isTriggerVisible, PLATFORM_EMAIL_DOMAIN, triggerCatalog, triggerDefinitions, type DashboardRunConfig, type DashboardRunEndpointOptions, type DashboardRunField, type HttpTriggerEndpointOptions, type HttpTriggerScope, type MailhookAddressOptions, type MailhookScope, type TriggerType, } from "./triggers/index.js";
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { airtableService, anthropicService, apolloService, apifyService, asanaService, automateService, axiomService, brevoService, browserbaseService, cerebrasService, chatgptService, cloudflareService, closeService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, } from "./catalog.js";
|
|
1
|
+
export { airtableService, anthropicService, apolloService, apifyService, asanaService, automateService, axiomService, brevoService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, } from "./catalog.js";
|
|
2
2
|
export { defineIntegrationCatalog, defineIntegrationService, integrationScope, } from "./types.js";
|
|
3
3
|
export { getDashboardRunEndpoint, getDashboardRunEndpointKey, getHttpTriggerEndpoint, getHttpTriggerEndpointKey, getMailhookAddress, getMailhookAddressKey, DASHBOARD_RUN_CONFIG_SCHEMA, getTriggerDefinition, getTriggerName, getTriggerPresentation, isTriggerVisible, PLATFORM_EMAIL_DOMAIN, triggerCatalog, triggerDefinitions, } from "./triggers/index.js";
|
package/dist/triggers/index.d.ts
CHANGED
|
@@ -1993,6 +1993,136 @@ export declare const triggerDefinitions: {
|
|
|
1993
1993
|
account: import("..").IntegrationAccountRequirement<"notion">;
|
|
1994
1994
|
type: "notion.view.updated";
|
|
1995
1995
|
};
|
|
1996
|
+
readonly metaAdsAdEffectiveStatusChanged: {
|
|
1997
|
+
readonly account: {
|
|
1998
|
+
readonly connectionOptions: readonly [{
|
|
1999
|
+
readonly connectionMethodId: "oauth";
|
|
2000
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2001
|
+
}];
|
|
2002
|
+
readonly serviceId: "meta-ads";
|
|
2003
|
+
};
|
|
2004
|
+
readonly type: "meta-ads.ad.effectiveStatusChanged";
|
|
2005
|
+
};
|
|
2006
|
+
readonly metaAdsAdObjectIssuesChanged: {
|
|
2007
|
+
readonly account: {
|
|
2008
|
+
readonly connectionOptions: readonly [{
|
|
2009
|
+
readonly connectionMethodId: "oauth";
|
|
2010
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2011
|
+
}];
|
|
2012
|
+
readonly serviceId: "meta-ads";
|
|
2013
|
+
};
|
|
2014
|
+
readonly type: "meta-ads.adObject.issuesChanged";
|
|
2015
|
+
};
|
|
2016
|
+
readonly metaAdsAdObjectProcessingCompleted: {
|
|
2017
|
+
readonly account: {
|
|
2018
|
+
readonly connectionOptions: readonly [{
|
|
2019
|
+
readonly connectionMethodId: "oauth";
|
|
2020
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2021
|
+
}];
|
|
2022
|
+
readonly serviceId: "meta-ads";
|
|
2023
|
+
};
|
|
2024
|
+
readonly type: "meta-ads.adObject.processingCompleted";
|
|
2025
|
+
};
|
|
2026
|
+
readonly metaAdsAdRecommendation: {
|
|
2027
|
+
readonly account: {
|
|
2028
|
+
readonly connectionOptions: readonly [{
|
|
2029
|
+
readonly connectionMethodId: "oauth";
|
|
2030
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2031
|
+
}];
|
|
2032
|
+
readonly serviceId: "meta-ads";
|
|
2033
|
+
};
|
|
2034
|
+
readonly type: "meta-ads.ad.recommendation";
|
|
2035
|
+
};
|
|
2036
|
+
readonly metaAdsAdSetEffectiveStatusChanged: {
|
|
2037
|
+
readonly account: {
|
|
2038
|
+
readonly connectionOptions: readonly [{
|
|
2039
|
+
readonly connectionMethodId: "oauth";
|
|
2040
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2041
|
+
}];
|
|
2042
|
+
readonly serviceId: "meta-ads";
|
|
2043
|
+
};
|
|
2044
|
+
readonly type: "meta-ads.adSet.effectiveStatusChanged";
|
|
2045
|
+
};
|
|
2046
|
+
readonly metaAdsCampaignEffectiveStatusChanged: {
|
|
2047
|
+
readonly account: {
|
|
2048
|
+
readonly connectionOptions: readonly [{
|
|
2049
|
+
readonly connectionMethodId: "oauth";
|
|
2050
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2051
|
+
}];
|
|
2052
|
+
readonly serviceId: "meta-ads";
|
|
2053
|
+
};
|
|
2054
|
+
readonly type: "meta-ads.campaign.effectiveStatusChanged";
|
|
2055
|
+
};
|
|
2056
|
+
readonly metaAdsCreativeFatigueChanged: {
|
|
2057
|
+
readonly account: {
|
|
2058
|
+
readonly connectionOptions: readonly [{
|
|
2059
|
+
readonly connectionMethodId: "oauth";
|
|
2060
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2061
|
+
}];
|
|
2062
|
+
readonly serviceId: "meta-ads";
|
|
2063
|
+
};
|
|
2064
|
+
readonly type: "meta-ads.creativeFatigue.changed";
|
|
2065
|
+
};
|
|
2066
|
+
readonly metaAdsEvent: {
|
|
2067
|
+
readonly account: {
|
|
2068
|
+
readonly connectionOptions: readonly [{
|
|
2069
|
+
readonly connectionMethodId: "oauth";
|
|
2070
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2071
|
+
}];
|
|
2072
|
+
readonly serviceId: "meta-ads";
|
|
2073
|
+
};
|
|
2074
|
+
readonly type: "meta-ads.event";
|
|
2075
|
+
};
|
|
2076
|
+
readonly metaAdsLeadCreated: {
|
|
2077
|
+
readonly account: {
|
|
2078
|
+
readonly connectionOptions: readonly [{
|
|
2079
|
+
readonly connectionMethodId: "oauth";
|
|
2080
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2081
|
+
}];
|
|
2082
|
+
readonly serviceId: "meta-ads";
|
|
2083
|
+
};
|
|
2084
|
+
readonly type: "meta-ads.lead.created";
|
|
2085
|
+
};
|
|
2086
|
+
readonly metaAdsObjectCreated: {
|
|
2087
|
+
readonly account: {
|
|
2088
|
+
readonly connectionOptions: readonly [{
|
|
2089
|
+
readonly connectionMethodId: "oauth";
|
|
2090
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2091
|
+
}];
|
|
2092
|
+
readonly serviceId: "meta-ads";
|
|
2093
|
+
};
|
|
2094
|
+
readonly type: "meta-ads.object.created";
|
|
2095
|
+
};
|
|
2096
|
+
readonly metaAdsObjectUpdated: {
|
|
2097
|
+
readonly account: {
|
|
2098
|
+
readonly connectionOptions: readonly [{
|
|
2099
|
+
readonly connectionMethodId: "oauth";
|
|
2100
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2101
|
+
}];
|
|
2102
|
+
readonly serviceId: "meta-ads";
|
|
2103
|
+
};
|
|
2104
|
+
readonly type: "meta-ads.object.updated";
|
|
2105
|
+
};
|
|
2106
|
+
readonly metaAdsInsightsUpdated: {
|
|
2107
|
+
readonly account: {
|
|
2108
|
+
readonly connectionOptions: readonly [{
|
|
2109
|
+
readonly connectionMethodId: "oauth";
|
|
2110
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2111
|
+
}];
|
|
2112
|
+
readonly serviceId: "meta-ads";
|
|
2113
|
+
};
|
|
2114
|
+
readonly type: "meta-ads.insights.updated";
|
|
2115
|
+
};
|
|
2116
|
+
readonly metaAdsInsightsMilestoneReached: {
|
|
2117
|
+
readonly account: {
|
|
2118
|
+
readonly connectionOptions: readonly [{
|
|
2119
|
+
readonly connectionMethodId: "oauth";
|
|
2120
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
2121
|
+
}];
|
|
2122
|
+
readonly serviceId: "meta-ads";
|
|
2123
|
+
};
|
|
2124
|
+
readonly type: "meta-ads.insights.milestoneReached";
|
|
2125
|
+
};
|
|
1996
2126
|
readonly outlookMessageEvent: {
|
|
1997
2127
|
readonly account: {
|
|
1998
2128
|
readonly connectionOptions: readonly [{
|
|
@@ -13151,6 +13281,136 @@ export declare const triggerCatalog: ({
|
|
|
13151
13281
|
readonly serviceId: "microsoft";
|
|
13152
13282
|
};
|
|
13153
13283
|
type: "teams.chat.message.posted";
|
|
13284
|
+
} | {
|
|
13285
|
+
name: string;
|
|
13286
|
+
account: {
|
|
13287
|
+
readonly connectionOptions: readonly [{
|
|
13288
|
+
readonly connectionMethodId: "oauth";
|
|
13289
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13290
|
+
}];
|
|
13291
|
+
readonly serviceId: "meta-ads";
|
|
13292
|
+
};
|
|
13293
|
+
type: "meta-ads.ad.effectiveStatusChanged";
|
|
13294
|
+
} | {
|
|
13295
|
+
name: string;
|
|
13296
|
+
account: {
|
|
13297
|
+
readonly connectionOptions: readonly [{
|
|
13298
|
+
readonly connectionMethodId: "oauth";
|
|
13299
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13300
|
+
}];
|
|
13301
|
+
readonly serviceId: "meta-ads";
|
|
13302
|
+
};
|
|
13303
|
+
type: "meta-ads.adObject.issuesChanged";
|
|
13304
|
+
} | {
|
|
13305
|
+
name: string;
|
|
13306
|
+
account: {
|
|
13307
|
+
readonly connectionOptions: readonly [{
|
|
13308
|
+
readonly connectionMethodId: "oauth";
|
|
13309
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13310
|
+
}];
|
|
13311
|
+
readonly serviceId: "meta-ads";
|
|
13312
|
+
};
|
|
13313
|
+
type: "meta-ads.adObject.processingCompleted";
|
|
13314
|
+
} | {
|
|
13315
|
+
name: string;
|
|
13316
|
+
account: {
|
|
13317
|
+
readonly connectionOptions: readonly [{
|
|
13318
|
+
readonly connectionMethodId: "oauth";
|
|
13319
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13320
|
+
}];
|
|
13321
|
+
readonly serviceId: "meta-ads";
|
|
13322
|
+
};
|
|
13323
|
+
type: "meta-ads.ad.recommendation";
|
|
13324
|
+
} | {
|
|
13325
|
+
name: string;
|
|
13326
|
+
account: {
|
|
13327
|
+
readonly connectionOptions: readonly [{
|
|
13328
|
+
readonly connectionMethodId: "oauth";
|
|
13329
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13330
|
+
}];
|
|
13331
|
+
readonly serviceId: "meta-ads";
|
|
13332
|
+
};
|
|
13333
|
+
type: "meta-ads.adSet.effectiveStatusChanged";
|
|
13334
|
+
} | {
|
|
13335
|
+
name: string;
|
|
13336
|
+
account: {
|
|
13337
|
+
readonly connectionOptions: readonly [{
|
|
13338
|
+
readonly connectionMethodId: "oauth";
|
|
13339
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13340
|
+
}];
|
|
13341
|
+
readonly serviceId: "meta-ads";
|
|
13342
|
+
};
|
|
13343
|
+
type: "meta-ads.campaign.effectiveStatusChanged";
|
|
13344
|
+
} | {
|
|
13345
|
+
name: string;
|
|
13346
|
+
account: {
|
|
13347
|
+
readonly connectionOptions: readonly [{
|
|
13348
|
+
readonly connectionMethodId: "oauth";
|
|
13349
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13350
|
+
}];
|
|
13351
|
+
readonly serviceId: "meta-ads";
|
|
13352
|
+
};
|
|
13353
|
+
type: "meta-ads.creativeFatigue.changed";
|
|
13354
|
+
} | {
|
|
13355
|
+
name: string;
|
|
13356
|
+
account: {
|
|
13357
|
+
readonly connectionOptions: readonly [{
|
|
13358
|
+
readonly connectionMethodId: "oauth";
|
|
13359
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13360
|
+
}];
|
|
13361
|
+
readonly serviceId: "meta-ads";
|
|
13362
|
+
};
|
|
13363
|
+
type: "meta-ads.event";
|
|
13364
|
+
} | {
|
|
13365
|
+
name: string;
|
|
13366
|
+
account: {
|
|
13367
|
+
readonly connectionOptions: readonly [{
|
|
13368
|
+
readonly connectionMethodId: "oauth";
|
|
13369
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13370
|
+
}];
|
|
13371
|
+
readonly serviceId: "meta-ads";
|
|
13372
|
+
};
|
|
13373
|
+
type: "meta-ads.lead.created";
|
|
13374
|
+
} | {
|
|
13375
|
+
name: string;
|
|
13376
|
+
account: {
|
|
13377
|
+
readonly connectionOptions: readonly [{
|
|
13378
|
+
readonly connectionMethodId: "oauth";
|
|
13379
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13380
|
+
}];
|
|
13381
|
+
readonly serviceId: "meta-ads";
|
|
13382
|
+
};
|
|
13383
|
+
type: "meta-ads.object.created";
|
|
13384
|
+
} | {
|
|
13385
|
+
name: string;
|
|
13386
|
+
account: {
|
|
13387
|
+
readonly connectionOptions: readonly [{
|
|
13388
|
+
readonly connectionMethodId: "oauth";
|
|
13389
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13390
|
+
}];
|
|
13391
|
+
readonly serviceId: "meta-ads";
|
|
13392
|
+
};
|
|
13393
|
+
type: "meta-ads.object.updated";
|
|
13394
|
+
} | {
|
|
13395
|
+
name: string;
|
|
13396
|
+
account: {
|
|
13397
|
+
readonly connectionOptions: readonly [{
|
|
13398
|
+
readonly connectionMethodId: "oauth";
|
|
13399
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13400
|
+
}];
|
|
13401
|
+
readonly serviceId: "meta-ads";
|
|
13402
|
+
};
|
|
13403
|
+
type: "meta-ads.insights.updated";
|
|
13404
|
+
} | {
|
|
13405
|
+
name: string;
|
|
13406
|
+
account: {
|
|
13407
|
+
readonly connectionOptions: readonly [{
|
|
13408
|
+
readonly connectionMethodId: "oauth";
|
|
13409
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
13410
|
+
}];
|
|
13411
|
+
readonly serviceId: "meta-ads";
|
|
13412
|
+
};
|
|
13413
|
+
type: "meta-ads.insights.milestoneReached";
|
|
13154
13414
|
} | {
|
|
13155
13415
|
name: string;
|
|
13156
13416
|
account: import("..").IntegrationAccountRequirement<"notion">;
|
package/dist/triggers/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import { hubspotTriggerDefinitions } from "./hubspot.js";
|
|
|
16
16
|
import { linearTriggerDefinitions } from "./linear.js";
|
|
17
17
|
import { millionVerifierTriggerDefinitions } from "./millionverifier.js";
|
|
18
18
|
import { microsoftTriggerDefinitions } from "./microsoft.js";
|
|
19
|
+
import { metaAdsTriggerDefinitions } from "./meta-ads.js";
|
|
19
20
|
import { notionTriggerDefinitions } from "./notion.js";
|
|
20
21
|
import { redditTriggerDefinitions } from "./reddit.js";
|
|
21
22
|
import { resendTriggerDefinitions } from "./resend.js";
|
|
@@ -48,6 +49,7 @@ export const triggerDefinitions = {
|
|
|
48
49
|
...linearTriggerDefinitions,
|
|
49
50
|
...millionVerifierTriggerDefinitions,
|
|
50
51
|
...microsoftTriggerDefinitions,
|
|
52
|
+
...metaAdsTriggerDefinitions,
|
|
51
53
|
...notionTriggerDefinitions,
|
|
52
54
|
...redditTriggerDefinitions,
|
|
53
55
|
...resendTriggerDefinitions,
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
export declare const metaAdsTriggerDefinitions: {
|
|
2
|
+
readonly metaAdsAdEffectiveStatusChanged: {
|
|
3
|
+
readonly account: {
|
|
4
|
+
readonly connectionOptions: readonly [{
|
|
5
|
+
readonly connectionMethodId: "oauth";
|
|
6
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
7
|
+
}];
|
|
8
|
+
readonly serviceId: "meta-ads";
|
|
9
|
+
};
|
|
10
|
+
readonly type: "meta-ads.ad.effectiveStatusChanged";
|
|
11
|
+
};
|
|
12
|
+
readonly metaAdsAdObjectIssuesChanged: {
|
|
13
|
+
readonly account: {
|
|
14
|
+
readonly connectionOptions: readonly [{
|
|
15
|
+
readonly connectionMethodId: "oauth";
|
|
16
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
17
|
+
}];
|
|
18
|
+
readonly serviceId: "meta-ads";
|
|
19
|
+
};
|
|
20
|
+
readonly type: "meta-ads.adObject.issuesChanged";
|
|
21
|
+
};
|
|
22
|
+
readonly metaAdsAdObjectProcessingCompleted: {
|
|
23
|
+
readonly account: {
|
|
24
|
+
readonly connectionOptions: readonly [{
|
|
25
|
+
readonly connectionMethodId: "oauth";
|
|
26
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
27
|
+
}];
|
|
28
|
+
readonly serviceId: "meta-ads";
|
|
29
|
+
};
|
|
30
|
+
readonly type: "meta-ads.adObject.processingCompleted";
|
|
31
|
+
};
|
|
32
|
+
readonly metaAdsAdRecommendation: {
|
|
33
|
+
readonly account: {
|
|
34
|
+
readonly connectionOptions: readonly [{
|
|
35
|
+
readonly connectionMethodId: "oauth";
|
|
36
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
37
|
+
}];
|
|
38
|
+
readonly serviceId: "meta-ads";
|
|
39
|
+
};
|
|
40
|
+
readonly type: "meta-ads.ad.recommendation";
|
|
41
|
+
};
|
|
42
|
+
readonly metaAdsAdSetEffectiveStatusChanged: {
|
|
43
|
+
readonly account: {
|
|
44
|
+
readonly connectionOptions: readonly [{
|
|
45
|
+
readonly connectionMethodId: "oauth";
|
|
46
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
47
|
+
}];
|
|
48
|
+
readonly serviceId: "meta-ads";
|
|
49
|
+
};
|
|
50
|
+
readonly type: "meta-ads.adSet.effectiveStatusChanged";
|
|
51
|
+
};
|
|
52
|
+
readonly metaAdsCampaignEffectiveStatusChanged: {
|
|
53
|
+
readonly account: {
|
|
54
|
+
readonly connectionOptions: readonly [{
|
|
55
|
+
readonly connectionMethodId: "oauth";
|
|
56
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
57
|
+
}];
|
|
58
|
+
readonly serviceId: "meta-ads";
|
|
59
|
+
};
|
|
60
|
+
readonly type: "meta-ads.campaign.effectiveStatusChanged";
|
|
61
|
+
};
|
|
62
|
+
readonly metaAdsCreativeFatigueChanged: {
|
|
63
|
+
readonly account: {
|
|
64
|
+
readonly connectionOptions: readonly [{
|
|
65
|
+
readonly connectionMethodId: "oauth";
|
|
66
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
67
|
+
}];
|
|
68
|
+
readonly serviceId: "meta-ads";
|
|
69
|
+
};
|
|
70
|
+
readonly type: "meta-ads.creativeFatigue.changed";
|
|
71
|
+
};
|
|
72
|
+
readonly metaAdsEvent: {
|
|
73
|
+
readonly account: {
|
|
74
|
+
readonly connectionOptions: readonly [{
|
|
75
|
+
readonly connectionMethodId: "oauth";
|
|
76
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
77
|
+
}];
|
|
78
|
+
readonly serviceId: "meta-ads";
|
|
79
|
+
};
|
|
80
|
+
readonly type: "meta-ads.event";
|
|
81
|
+
};
|
|
82
|
+
readonly metaAdsLeadCreated: {
|
|
83
|
+
readonly account: {
|
|
84
|
+
readonly connectionOptions: readonly [{
|
|
85
|
+
readonly connectionMethodId: "oauth";
|
|
86
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
87
|
+
}];
|
|
88
|
+
readonly serviceId: "meta-ads";
|
|
89
|
+
};
|
|
90
|
+
readonly type: "meta-ads.lead.created";
|
|
91
|
+
};
|
|
92
|
+
readonly metaAdsObjectCreated: {
|
|
93
|
+
readonly account: {
|
|
94
|
+
readonly connectionOptions: readonly [{
|
|
95
|
+
readonly connectionMethodId: "oauth";
|
|
96
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
97
|
+
}];
|
|
98
|
+
readonly serviceId: "meta-ads";
|
|
99
|
+
};
|
|
100
|
+
readonly type: "meta-ads.object.created";
|
|
101
|
+
};
|
|
102
|
+
readonly metaAdsObjectUpdated: {
|
|
103
|
+
readonly account: {
|
|
104
|
+
readonly connectionOptions: readonly [{
|
|
105
|
+
readonly connectionMethodId: "oauth";
|
|
106
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
107
|
+
}];
|
|
108
|
+
readonly serviceId: "meta-ads";
|
|
109
|
+
};
|
|
110
|
+
readonly type: "meta-ads.object.updated";
|
|
111
|
+
};
|
|
112
|
+
readonly metaAdsInsightsUpdated: {
|
|
113
|
+
readonly account: {
|
|
114
|
+
readonly connectionOptions: readonly [{
|
|
115
|
+
readonly connectionMethodId: "oauth";
|
|
116
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
117
|
+
}];
|
|
118
|
+
readonly serviceId: "meta-ads";
|
|
119
|
+
};
|
|
120
|
+
readonly type: "meta-ads.insights.updated";
|
|
121
|
+
};
|
|
122
|
+
readonly metaAdsInsightsMilestoneReached: {
|
|
123
|
+
readonly account: {
|
|
124
|
+
readonly connectionOptions: readonly [{
|
|
125
|
+
readonly connectionMethodId: "oauth";
|
|
126
|
+
readonly requiredScopes: readonly [import("..").ScopeRequirementGroup];
|
|
127
|
+
}];
|
|
128
|
+
readonly serviceId: "meta-ads";
|
|
129
|
+
};
|
|
130
|
+
readonly type: "meta-ads.insights.milestoneReached";
|
|
131
|
+
};
|
|
132
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { integrationScope } from "../types.js";
|
|
2
|
+
const WEBHOOK_ACCOUNT = {
|
|
3
|
+
connectionOptions: [
|
|
4
|
+
{
|
|
5
|
+
connectionMethodId: "oauth",
|
|
6
|
+
requiredScopes: [integrationScope.and("ads_management")],
|
|
7
|
+
},
|
|
8
|
+
],
|
|
9
|
+
serviceId: "meta-ads",
|
|
10
|
+
};
|
|
11
|
+
const LEAD_ACCOUNT = {
|
|
12
|
+
connectionOptions: [
|
|
13
|
+
{
|
|
14
|
+
connectionMethodId: "oauth",
|
|
15
|
+
requiredScopes: [
|
|
16
|
+
integrationScope.and("ads_management", "pages_manage_metadata", "pages_read_engagement", "pages_show_list"),
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
serviceId: "meta-ads",
|
|
21
|
+
};
|
|
22
|
+
export const metaAdsTriggerDefinitions = {
|
|
23
|
+
metaAdsAdEffectiveStatusChanged: {
|
|
24
|
+
account: WEBHOOK_ACCOUNT,
|
|
25
|
+
type: "meta-ads.ad.effectiveStatusChanged",
|
|
26
|
+
},
|
|
27
|
+
metaAdsAdObjectIssuesChanged: {
|
|
28
|
+
account: WEBHOOK_ACCOUNT,
|
|
29
|
+
type: "meta-ads.adObject.issuesChanged",
|
|
30
|
+
},
|
|
31
|
+
metaAdsAdObjectProcessingCompleted: {
|
|
32
|
+
account: WEBHOOK_ACCOUNT,
|
|
33
|
+
type: "meta-ads.adObject.processingCompleted",
|
|
34
|
+
},
|
|
35
|
+
metaAdsAdRecommendation: {
|
|
36
|
+
account: WEBHOOK_ACCOUNT,
|
|
37
|
+
type: "meta-ads.ad.recommendation",
|
|
38
|
+
},
|
|
39
|
+
metaAdsAdSetEffectiveStatusChanged: {
|
|
40
|
+
account: WEBHOOK_ACCOUNT,
|
|
41
|
+
type: "meta-ads.adSet.effectiveStatusChanged",
|
|
42
|
+
},
|
|
43
|
+
metaAdsCampaignEffectiveStatusChanged: {
|
|
44
|
+
account: WEBHOOK_ACCOUNT,
|
|
45
|
+
type: "meta-ads.campaign.effectiveStatusChanged",
|
|
46
|
+
},
|
|
47
|
+
metaAdsCreativeFatigueChanged: {
|
|
48
|
+
account: WEBHOOK_ACCOUNT,
|
|
49
|
+
type: "meta-ads.creativeFatigue.changed",
|
|
50
|
+
},
|
|
51
|
+
metaAdsEvent: { account: WEBHOOK_ACCOUNT, type: "meta-ads.event" },
|
|
52
|
+
metaAdsLeadCreated: {
|
|
53
|
+
account: LEAD_ACCOUNT,
|
|
54
|
+
type: "meta-ads.lead.created",
|
|
55
|
+
},
|
|
56
|
+
metaAdsObjectCreated: {
|
|
57
|
+
account: WEBHOOK_ACCOUNT,
|
|
58
|
+
type: "meta-ads.object.created",
|
|
59
|
+
},
|
|
60
|
+
metaAdsObjectUpdated: {
|
|
61
|
+
account: WEBHOOK_ACCOUNT,
|
|
62
|
+
type: "meta-ads.object.updated",
|
|
63
|
+
},
|
|
64
|
+
metaAdsInsightsUpdated: {
|
|
65
|
+
account: WEBHOOK_ACCOUNT,
|
|
66
|
+
type: "meta-ads.insights.updated",
|
|
67
|
+
},
|
|
68
|
+
metaAdsInsightsMilestoneReached: {
|
|
69
|
+
account: WEBHOOK_ACCOUNT,
|
|
70
|
+
type: "meta-ads.insights.milestoneReached",
|
|
71
|
+
},
|
|
72
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/catalog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.141.0",
|
|
4
4
|
"description": "Shared integration service and trigger definitions for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"./triggers/linear": "./src/triggers/linear.ts",
|
|
43
43
|
"./triggers/millionverifier": "./src/triggers/millionverifier.ts",
|
|
44
44
|
"./triggers/microsoft": "./src/triggers/microsoft.ts",
|
|
45
|
+
"./triggers/meta-ads": "./src/triggers/meta-ads.ts",
|
|
45
46
|
"./triggers/notion": "./src/triggers/notion.ts",
|
|
46
47
|
"./triggers/reddit": "./src/triggers/reddit.ts",
|
|
47
48
|
"./triggers/name": "./src/triggers/name.ts",
|
|
@@ -210,6 +211,11 @@
|
|
|
210
211
|
"types": "./dist/triggers/microsoft.d.ts",
|
|
211
212
|
"default": "./dist/triggers/microsoft.js"
|
|
212
213
|
},
|
|
214
|
+
"./triggers/meta-ads": {
|
|
215
|
+
"bun": "./src/triggers/meta-ads.ts",
|
|
216
|
+
"types": "./dist/triggers/meta-ads.d.ts",
|
|
217
|
+
"default": "./dist/triggers/meta-ads.js"
|
|
218
|
+
},
|
|
213
219
|
"./triggers/notion": {
|
|
214
220
|
"bun": "./src/triggers/notion.ts",
|
|
215
221
|
"types": "./dist/triggers/notion.d.ts",
|
package/src/catalog.ts
CHANGED
|
@@ -214,6 +214,14 @@ export const cloudflareService = defineIntegrationService({
|
|
|
214
214
|
preferredConnectionMethodId: "oauth",
|
|
215
215
|
})
|
|
216
216
|
|
|
217
|
+
export const metaAdsService = defineIntegrationService({
|
|
218
|
+
connectionMethods: [{ id: "oauth", name: "OAuth", type: "redirect" }],
|
|
219
|
+
description:
|
|
220
|
+
"Connect Meta Ads for campaign management, reporting, audiences, leads, conversions, and events.",
|
|
221
|
+
id: "meta-ads",
|
|
222
|
+
name: "Meta Ads",
|
|
223
|
+
})
|
|
224
|
+
|
|
217
225
|
export const closeService = defineIntegrationService({
|
|
218
226
|
connectionMethods: [
|
|
219
227
|
{ id: "oauth", name: "OAuth", type: "redirect" },
|
|
@@ -231,6 +239,14 @@ export const closeService = defineIntegrationService({
|
|
|
231
239
|
preferredConnectionMethodId: "oauth",
|
|
232
240
|
})
|
|
233
241
|
|
|
242
|
+
export const closeBotService = defineApiKeyService({
|
|
243
|
+
credentialUrl: "https://app.closebot.com/settings?tab=keys",
|
|
244
|
+
description: "Connect a CloseBot account with an API key.",
|
|
245
|
+
id: "closebot",
|
|
246
|
+
name: "CloseBot",
|
|
247
|
+
placeholder: "CloseBot API key",
|
|
248
|
+
})
|
|
249
|
+
|
|
234
250
|
export const chatgptService = defineIntegrationService({
|
|
235
251
|
connectionMethods: [
|
|
236
252
|
{
|
|
@@ -834,7 +850,9 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
834
850
|
cerebrasService,
|
|
835
851
|
chatgptService,
|
|
836
852
|
cloudflareService,
|
|
853
|
+
metaAdsService,
|
|
837
854
|
closeService,
|
|
855
|
+
closeBotService,
|
|
838
856
|
codexService,
|
|
839
857
|
cohereService,
|
|
840
858
|
convexService,
|
package/src/index.ts
CHANGED
package/src/triggers/index.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { hubspotTriggerDefinitions } from "./hubspot"
|
|
|
16
16
|
import { linearTriggerDefinitions } from "./linear"
|
|
17
17
|
import { millionVerifierTriggerDefinitions } from "./millionverifier"
|
|
18
18
|
import { microsoftTriggerDefinitions } from "./microsoft"
|
|
19
|
+
import { metaAdsTriggerDefinitions } from "./meta-ads"
|
|
19
20
|
import { notionTriggerDefinitions } from "./notion"
|
|
20
21
|
import { redditTriggerDefinitions } from "./reddit"
|
|
21
22
|
import { resendTriggerDefinitions } from "./resend"
|
|
@@ -72,6 +73,7 @@ export const triggerDefinitions = {
|
|
|
72
73
|
...linearTriggerDefinitions,
|
|
73
74
|
...millionVerifierTriggerDefinitions,
|
|
74
75
|
...microsoftTriggerDefinitions,
|
|
76
|
+
...metaAdsTriggerDefinitions,
|
|
75
77
|
...notionTriggerDefinitions,
|
|
76
78
|
...redditTriggerDefinitions,
|
|
77
79
|
...resendTriggerDefinitions,
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { integrationScope } from "../types"
|
|
2
|
+
import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
|
|
3
|
+
|
|
4
|
+
const WEBHOOK_ACCOUNT = {
|
|
5
|
+
connectionOptions: [
|
|
6
|
+
{
|
|
7
|
+
connectionMethodId: "oauth",
|
|
8
|
+
requiredScopes: [integrationScope.and("ads_management")],
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
serviceId: "meta-ads",
|
|
12
|
+
} as const satisfies IntegrationAccountRequirement
|
|
13
|
+
|
|
14
|
+
const LEAD_ACCOUNT = {
|
|
15
|
+
connectionOptions: [
|
|
16
|
+
{
|
|
17
|
+
connectionMethodId: "oauth",
|
|
18
|
+
requiredScopes: [
|
|
19
|
+
integrationScope.and(
|
|
20
|
+
"ads_management",
|
|
21
|
+
"pages_manage_metadata",
|
|
22
|
+
"pages_read_engagement",
|
|
23
|
+
"pages_show_list",
|
|
24
|
+
),
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
serviceId: "meta-ads",
|
|
29
|
+
} as const satisfies IntegrationAccountRequirement
|
|
30
|
+
|
|
31
|
+
export const metaAdsTriggerDefinitions = {
|
|
32
|
+
metaAdsAdEffectiveStatusChanged: {
|
|
33
|
+
account: WEBHOOK_ACCOUNT,
|
|
34
|
+
type: "meta-ads.ad.effectiveStatusChanged",
|
|
35
|
+
},
|
|
36
|
+
metaAdsAdObjectIssuesChanged: {
|
|
37
|
+
account: WEBHOOK_ACCOUNT,
|
|
38
|
+
type: "meta-ads.adObject.issuesChanged",
|
|
39
|
+
},
|
|
40
|
+
metaAdsAdObjectProcessingCompleted: {
|
|
41
|
+
account: WEBHOOK_ACCOUNT,
|
|
42
|
+
type: "meta-ads.adObject.processingCompleted",
|
|
43
|
+
},
|
|
44
|
+
metaAdsAdRecommendation: {
|
|
45
|
+
account: WEBHOOK_ACCOUNT,
|
|
46
|
+
type: "meta-ads.ad.recommendation",
|
|
47
|
+
},
|
|
48
|
+
metaAdsAdSetEffectiveStatusChanged: {
|
|
49
|
+
account: WEBHOOK_ACCOUNT,
|
|
50
|
+
type: "meta-ads.adSet.effectiveStatusChanged",
|
|
51
|
+
},
|
|
52
|
+
metaAdsCampaignEffectiveStatusChanged: {
|
|
53
|
+
account: WEBHOOK_ACCOUNT,
|
|
54
|
+
type: "meta-ads.campaign.effectiveStatusChanged",
|
|
55
|
+
},
|
|
56
|
+
metaAdsCreativeFatigueChanged: {
|
|
57
|
+
account: WEBHOOK_ACCOUNT,
|
|
58
|
+
type: "meta-ads.creativeFatigue.changed",
|
|
59
|
+
},
|
|
60
|
+
metaAdsEvent: { account: WEBHOOK_ACCOUNT, type: "meta-ads.event" },
|
|
61
|
+
metaAdsLeadCreated: {
|
|
62
|
+
account: LEAD_ACCOUNT,
|
|
63
|
+
type: "meta-ads.lead.created",
|
|
64
|
+
},
|
|
65
|
+
metaAdsObjectCreated: {
|
|
66
|
+
account: WEBHOOK_ACCOUNT,
|
|
67
|
+
type: "meta-ads.object.created",
|
|
68
|
+
},
|
|
69
|
+
metaAdsObjectUpdated: {
|
|
70
|
+
account: WEBHOOK_ACCOUNT,
|
|
71
|
+
type: "meta-ads.object.updated",
|
|
72
|
+
},
|
|
73
|
+
metaAdsInsightsUpdated: {
|
|
74
|
+
account: WEBHOOK_ACCOUNT,
|
|
75
|
+
type: "meta-ads.insights.updated",
|
|
76
|
+
},
|
|
77
|
+
metaAdsInsightsMilestoneReached: {
|
|
78
|
+
account: WEBHOOK_ACCOUNT,
|
|
79
|
+
type: "meta-ads.insights.milestoneReached",
|
|
80
|
+
},
|
|
81
|
+
} as const satisfies Record<string, TriggerDefinition>
|