@automate.ax/catalog 0.150.2 → 0.151.3
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 +49 -8
- package/dist/catalog.js +66 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/triggers/elevenlabs.d.ts +92 -0
- package/dist/triggers/elevenlabs.js +39 -0
- package/dist/triggers/index.d.ts +180 -0
- package/dist/triggers/index.js +2 -0
- package/dist/types.d.ts +2 -0
- package/package.json +7 -1
- package/src/catalog.ts +69 -5
- package/src/index.ts +1 -0
- package/src/triggers/elevenlabs.ts +42 -0
- package/src/triggers/index.ts +2 -0
- package/src/types.ts +2 -0
package/dist/catalog.d.ts
CHANGED
|
@@ -484,6 +484,26 @@ export declare const deepseekService: {
|
|
|
484
484
|
readonly credentialUrl?: string | undefined;
|
|
485
485
|
}];
|
|
486
486
|
};
|
|
487
|
+
export declare const elevenLabsService: {
|
|
488
|
+
readonly id: "elevenlabs";
|
|
489
|
+
readonly name: string;
|
|
490
|
+
readonly icon?: string | undefined;
|
|
491
|
+
readonly description: string;
|
|
492
|
+
readonly connectionNotice?: import("./types").IntegrationConnectionNotice | undefined;
|
|
493
|
+
readonly connectionMethods: readonly [{
|
|
494
|
+
readonly fields: readonly [{
|
|
495
|
+
readonly placeholder: string;
|
|
496
|
+
readonly input: "password";
|
|
497
|
+
readonly label: "API key";
|
|
498
|
+
readonly name: "apiKey";
|
|
499
|
+
readonly required: true;
|
|
500
|
+
}];
|
|
501
|
+
readonly id: "api-key";
|
|
502
|
+
readonly name: "API key";
|
|
503
|
+
readonly type: "form";
|
|
504
|
+
readonly credentialUrl?: string | undefined;
|
|
505
|
+
}];
|
|
506
|
+
};
|
|
487
507
|
export declare const firecrawlService: {
|
|
488
508
|
readonly id: "firecrawl";
|
|
489
509
|
readonly name: string;
|
|
@@ -536,17 +556,18 @@ export declare const githubService: {
|
|
|
536
556
|
};
|
|
537
557
|
export declare const googleService: {
|
|
538
558
|
readonly connectionMethods: readonly [{
|
|
559
|
+
readonly allowedScopes: readonly ["email", "openid", "profile", "https://www.googleapis.com/auth/adwords", "https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.acls", "https://www.googleapis.com/auth/calendar.acls.readonly", "https://www.googleapis.com/auth/calendar.app.created", "https://www.googleapis.com/auth/calendar.calendarlist", "https://www.googleapis.com/auth/calendar.calendarlist.readonly", "https://www.googleapis.com/auth/calendar.calendars", "https://www.googleapis.com/auth/calendar.calendars.readonly", "https://www.googleapis.com/auth/calendar.events", "https://www.googleapis.com/auth/calendar.events.freebusy", "https://www.googleapis.com/auth/calendar.events.owned", "https://www.googleapis.com/auth/calendar.events.owned.readonly", "https://www.googleapis.com/auth/calendar.events.public.readonly", "https://www.googleapis.com/auth/calendar.events.readonly", "https://www.googleapis.com/auth/calendar.freebusy", "https://www.googleapis.com/auth/calendar.readonly", "https://www.googleapis.com/auth/datamanager", "https://www.googleapis.com/auth/documents", "https://www.googleapis.com/auth/documents.readonly", "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/forms.body", "https://www.googleapis.com/auth/forms.body.readonly", "https://www.googleapis.com/auth/forms.responses.readonly", "https://www.googleapis.com/auth/gmail.compose", "https://www.googleapis.com/auth/gmail.labels", "https://www.googleapis.com/auth/gmail.metadata", "https://www.googleapis.com/auth/gmail.modify", "https://www.googleapis.com/auth/gmail.readonly", "https://www.googleapis.com/auth/gmail.send", "https://www.googleapis.com/auth/meetings.space.created", "https://www.googleapis.com/auth/meetings.space.readonly", "https://www.googleapis.com/auth/meetings.space.settings", "https://www.googleapis.com/auth/presentations", "https://www.googleapis.com/auth/presentations.readonly", "https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/spreadsheets.readonly"];
|
|
539
560
|
readonly id: "oauth";
|
|
540
561
|
readonly name: "OAuth";
|
|
541
562
|
readonly type: "redirect";
|
|
542
563
|
}];
|
|
543
564
|
readonly connectionNotice: {
|
|
544
565
|
readonly action: {
|
|
545
|
-
readonly href: "
|
|
546
|
-
readonly label: "
|
|
566
|
+
readonly href: "https://automate.ax/privacy";
|
|
567
|
+
readonly label: "Google data use and deletion";
|
|
547
568
|
};
|
|
548
|
-
readonly description: "During alpha,
|
|
549
|
-
readonly title: "Google
|
|
569
|
+
readonly description: "During alpha, email hello@automate.ax to request access for the Google Account you want to connect. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.";
|
|
570
|
+
readonly title: "Google account data";
|
|
550
571
|
};
|
|
551
572
|
readonly description: "Connect a Google account.";
|
|
552
573
|
readonly id: "google";
|
|
@@ -1678,6 +1699,25 @@ export declare const integrationCatalog: readonly [{
|
|
|
1678
1699
|
readonly description: "Connect a customer-managed Discord bot for server actions and signed webhook events.";
|
|
1679
1700
|
readonly id: "discord";
|
|
1680
1701
|
readonly name: "Discord";
|
|
1702
|
+
}, {
|
|
1703
|
+
readonly id: "elevenlabs";
|
|
1704
|
+
readonly name: string;
|
|
1705
|
+
readonly icon?: string | undefined;
|
|
1706
|
+
readonly description: string;
|
|
1707
|
+
readonly connectionNotice?: import("./types").IntegrationConnectionNotice | undefined;
|
|
1708
|
+
readonly connectionMethods: readonly [{
|
|
1709
|
+
readonly fields: readonly [{
|
|
1710
|
+
readonly placeholder: string;
|
|
1711
|
+
readonly input: "password";
|
|
1712
|
+
readonly label: "API key";
|
|
1713
|
+
readonly name: "apiKey";
|
|
1714
|
+
readonly required: true;
|
|
1715
|
+
}];
|
|
1716
|
+
readonly id: "api-key";
|
|
1717
|
+
readonly name: "API key";
|
|
1718
|
+
readonly type: "form";
|
|
1719
|
+
readonly credentialUrl?: string | undefined;
|
|
1720
|
+
}];
|
|
1681
1721
|
}, {
|
|
1682
1722
|
readonly id: "deepinfra";
|
|
1683
1723
|
readonly name: string;
|
|
@@ -1765,17 +1805,18 @@ export declare const integrationCatalog: readonly [{
|
|
|
1765
1805
|
readonly name: "GitHub";
|
|
1766
1806
|
}, {
|
|
1767
1807
|
readonly connectionMethods: readonly [{
|
|
1808
|
+
readonly allowedScopes: readonly ["email", "openid", "profile", "https://www.googleapis.com/auth/adwords", "https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.acls", "https://www.googleapis.com/auth/calendar.acls.readonly", "https://www.googleapis.com/auth/calendar.app.created", "https://www.googleapis.com/auth/calendar.calendarlist", "https://www.googleapis.com/auth/calendar.calendarlist.readonly", "https://www.googleapis.com/auth/calendar.calendars", "https://www.googleapis.com/auth/calendar.calendars.readonly", "https://www.googleapis.com/auth/calendar.events", "https://www.googleapis.com/auth/calendar.events.freebusy", "https://www.googleapis.com/auth/calendar.events.owned", "https://www.googleapis.com/auth/calendar.events.owned.readonly", "https://www.googleapis.com/auth/calendar.events.public.readonly", "https://www.googleapis.com/auth/calendar.events.readonly", "https://www.googleapis.com/auth/calendar.freebusy", "https://www.googleapis.com/auth/calendar.readonly", "https://www.googleapis.com/auth/datamanager", "https://www.googleapis.com/auth/documents", "https://www.googleapis.com/auth/documents.readonly", "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/forms.body", "https://www.googleapis.com/auth/forms.body.readonly", "https://www.googleapis.com/auth/forms.responses.readonly", "https://www.googleapis.com/auth/gmail.compose", "https://www.googleapis.com/auth/gmail.labels", "https://www.googleapis.com/auth/gmail.metadata", "https://www.googleapis.com/auth/gmail.modify", "https://www.googleapis.com/auth/gmail.readonly", "https://www.googleapis.com/auth/gmail.send", "https://www.googleapis.com/auth/meetings.space.created", "https://www.googleapis.com/auth/meetings.space.readonly", "https://www.googleapis.com/auth/meetings.space.settings", "https://www.googleapis.com/auth/presentations", "https://www.googleapis.com/auth/presentations.readonly", "https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/spreadsheets.readonly"];
|
|
1768
1809
|
readonly id: "oauth";
|
|
1769
1810
|
readonly name: "OAuth";
|
|
1770
1811
|
readonly type: "redirect";
|
|
1771
1812
|
}];
|
|
1772
1813
|
readonly connectionNotice: {
|
|
1773
1814
|
readonly action: {
|
|
1774
|
-
readonly href: "
|
|
1775
|
-
readonly label: "
|
|
1815
|
+
readonly href: "https://automate.ax/privacy";
|
|
1816
|
+
readonly label: "Google data use and deletion";
|
|
1776
1817
|
};
|
|
1777
|
-
readonly description: "During alpha,
|
|
1778
|
-
readonly title: "Google
|
|
1818
|
+
readonly description: "During alpha, email hello@automate.ax to request access for the Google Account you want to connect. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.";
|
|
1819
|
+
readonly title: "Google account data";
|
|
1779
1820
|
};
|
|
1780
1821
|
readonly description: "Connect a Google account.";
|
|
1781
1822
|
readonly id: "google";
|
package/dist/catalog.js
CHANGED
|
@@ -390,6 +390,13 @@ export const deepseekService = defineApiKeyService({
|
|
|
390
390
|
id: "deepseek",
|
|
391
391
|
name: "DeepSeek",
|
|
392
392
|
});
|
|
393
|
+
export const elevenLabsService = defineApiKeyService({
|
|
394
|
+
credentialUrl: "https://elevenlabs.io/app/settings/api-keys",
|
|
395
|
+
description: "Connect ElevenLabs for speech, audio, music, dubbing, agents, and managed events.",
|
|
396
|
+
id: "elevenlabs",
|
|
397
|
+
name: "ElevenLabs",
|
|
398
|
+
placeholder: "sk_...",
|
|
399
|
+
});
|
|
393
400
|
export const firecrawlService = defineApiKeyService({
|
|
394
401
|
description: "Connect a Firecrawl API key.",
|
|
395
402
|
id: "firecrawl",
|
|
@@ -409,15 +416,68 @@ export const githubService = defineIntegrationService({
|
|
|
409
416
|
id: "github",
|
|
410
417
|
name: "GitHub",
|
|
411
418
|
});
|
|
419
|
+
const GOOGLE_OAUTH_ALLOWED_SCOPES = [
|
|
420
|
+
"email",
|
|
421
|
+
"openid",
|
|
422
|
+
"profile",
|
|
423
|
+
"https://www.googleapis.com/auth/adwords",
|
|
424
|
+
"https://www.googleapis.com/auth/calendar",
|
|
425
|
+
"https://www.googleapis.com/auth/calendar.acls",
|
|
426
|
+
"https://www.googleapis.com/auth/calendar.acls.readonly",
|
|
427
|
+
"https://www.googleapis.com/auth/calendar.app.created",
|
|
428
|
+
"https://www.googleapis.com/auth/calendar.calendarlist",
|
|
429
|
+
"https://www.googleapis.com/auth/calendar.calendarlist.readonly",
|
|
430
|
+
"https://www.googleapis.com/auth/calendar.calendars",
|
|
431
|
+
"https://www.googleapis.com/auth/calendar.calendars.readonly",
|
|
432
|
+
"https://www.googleapis.com/auth/calendar.events",
|
|
433
|
+
"https://www.googleapis.com/auth/calendar.events.freebusy",
|
|
434
|
+
"https://www.googleapis.com/auth/calendar.events.owned",
|
|
435
|
+
"https://www.googleapis.com/auth/calendar.events.owned.readonly",
|
|
436
|
+
"https://www.googleapis.com/auth/calendar.events.public.readonly",
|
|
437
|
+
"https://www.googleapis.com/auth/calendar.events.readonly",
|
|
438
|
+
"https://www.googleapis.com/auth/calendar.freebusy",
|
|
439
|
+
"https://www.googleapis.com/auth/calendar.readonly",
|
|
440
|
+
"https://www.googleapis.com/auth/datamanager",
|
|
441
|
+
"https://www.googleapis.com/auth/documents",
|
|
442
|
+
"https://www.googleapis.com/auth/documents.readonly",
|
|
443
|
+
"https://www.googleapis.com/auth/drive",
|
|
444
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
445
|
+
"https://www.googleapis.com/auth/drive.metadata",
|
|
446
|
+
"https://www.googleapis.com/auth/drive.metadata.readonly",
|
|
447
|
+
"https://www.googleapis.com/auth/drive.readonly",
|
|
448
|
+
"https://www.googleapis.com/auth/forms.body",
|
|
449
|
+
"https://www.googleapis.com/auth/forms.body.readonly",
|
|
450
|
+
"https://www.googleapis.com/auth/forms.responses.readonly",
|
|
451
|
+
"https://www.googleapis.com/auth/gmail.compose",
|
|
452
|
+
"https://www.googleapis.com/auth/gmail.labels",
|
|
453
|
+
"https://www.googleapis.com/auth/gmail.metadata",
|
|
454
|
+
"https://www.googleapis.com/auth/gmail.modify",
|
|
455
|
+
"https://www.googleapis.com/auth/gmail.readonly",
|
|
456
|
+
"https://www.googleapis.com/auth/gmail.send",
|
|
457
|
+
"https://www.googleapis.com/auth/meetings.space.created",
|
|
458
|
+
"https://www.googleapis.com/auth/meetings.space.readonly",
|
|
459
|
+
"https://www.googleapis.com/auth/meetings.space.settings",
|
|
460
|
+
"https://www.googleapis.com/auth/presentations",
|
|
461
|
+
"https://www.googleapis.com/auth/presentations.readonly",
|
|
462
|
+
"https://www.googleapis.com/auth/spreadsheets",
|
|
463
|
+
"https://www.googleapis.com/auth/spreadsheets.readonly",
|
|
464
|
+
];
|
|
412
465
|
export const googleService = defineIntegrationService({
|
|
413
|
-
connectionMethods: [
|
|
466
|
+
connectionMethods: [
|
|
467
|
+
{
|
|
468
|
+
allowedScopes: GOOGLE_OAUTH_ALLOWED_SCOPES,
|
|
469
|
+
id: "oauth",
|
|
470
|
+
name: "OAuth",
|
|
471
|
+
type: "redirect",
|
|
472
|
+
},
|
|
473
|
+
],
|
|
414
474
|
connectionNotice: {
|
|
415
475
|
action: {
|
|
416
|
-
href: "
|
|
417
|
-
label: "
|
|
476
|
+
href: "https://automate.ax/privacy",
|
|
477
|
+
label: "Google data use and deletion",
|
|
418
478
|
},
|
|
419
|
-
description: "During alpha,
|
|
420
|
-
title: "Google
|
|
479
|
+
description: "During alpha, email hello@automate.ax to request access for the Google Account you want to connect. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.",
|
|
480
|
+
title: "Google account data",
|
|
421
481
|
},
|
|
422
482
|
description: "Connect a Google account.",
|
|
423
483
|
id: "google",
|
|
@@ -940,6 +1000,7 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
940
1000
|
cohereService,
|
|
941
1001
|
convexService,
|
|
942
1002
|
discordService,
|
|
1003
|
+
elevenLabsService,
|
|
943
1004
|
deepinfraService,
|
|
944
1005
|
deepseekService,
|
|
945
1006
|
firecrawlService,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { airtableService, anthropicService, apolloService, apifyService, asanaService, calendlyService, automateService, axiomService, brevoService, calcomService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, highLevelService, integrationCatalog, jobNimbusService, kitService, krispService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tallyService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, type IntegrationServiceId, } from "./catalog.js";
|
|
1
|
+
export { airtableService, anthropicService, apolloService, apifyService, asanaService, calendlyService, automateService, axiomService, brevoService, calcomService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, elevenLabsService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, highLevelService, integrationCatalog, jobNimbusService, kitService, krispService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tallyService, 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, DASHBOARD_RUN_FIELDS_SCHEMA, getDashboardRunFieldDefaultValue, isDashboardRunFieldValueValid, getTriggerDefinition, getTriggerName, getTriggerPresentation, isTriggerVisible, PLATFORM_EMAIL_DOMAIN, triggerCatalog, triggerDefinitions, type DashboardRunConfig, type DashboardRunEndpointOptions, type DashboardRunField, type DashboardRunFieldValue, 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, calendlyService, automateService, axiomService, brevoService, calcomService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, highLevelService, integrationCatalog, jobNimbusService, kitService, krispService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tallyService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, } from "./catalog.js";
|
|
1
|
+
export { airtableService, anthropicService, apolloService, apifyService, asanaService, calendlyService, automateService, axiomService, brevoService, calcomService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, elevenLabsService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, highLevelService, integrationCatalog, jobNimbusService, kitService, krispService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tallyService, 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, DASHBOARD_RUN_FIELDS_SCHEMA, getDashboardRunFieldDefaultValue, isDashboardRunFieldValueValid, getTriggerDefinition, getTriggerName, getTriggerPresentation, isTriggerVisible, PLATFORM_EMAIL_DOMAIN, triggerCatalog, triggerDefinitions, } from "./triggers/index.js";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare const elevenLabsTriggerDefinitions: {
|
|
2
|
+
readonly elevenLabsEvent: {
|
|
3
|
+
readonly account: {
|
|
4
|
+
readonly connectionOptions: readonly [{
|
|
5
|
+
readonly connectionMethodId: "api-key";
|
|
6
|
+
readonly requiredScopes: readonly [];
|
|
7
|
+
}];
|
|
8
|
+
readonly serviceId: "elevenlabs";
|
|
9
|
+
};
|
|
10
|
+
readonly type: "elevenlabs.event";
|
|
11
|
+
};
|
|
12
|
+
readonly elevenLabsFlowGenerationCompleted: {
|
|
13
|
+
readonly account: {
|
|
14
|
+
readonly connectionOptions: readonly [{
|
|
15
|
+
readonly connectionMethodId: "api-key";
|
|
16
|
+
readonly requiredScopes: readonly [];
|
|
17
|
+
}];
|
|
18
|
+
readonly serviceId: "elevenlabs";
|
|
19
|
+
};
|
|
20
|
+
readonly type: "elevenlabs.flowGenerationCompleted";
|
|
21
|
+
};
|
|
22
|
+
readonly elevenLabsFlowGenerationEvent: {
|
|
23
|
+
readonly account: {
|
|
24
|
+
readonly connectionOptions: readonly [{
|
|
25
|
+
readonly connectionMethodId: "api-key";
|
|
26
|
+
readonly requiredScopes: readonly [];
|
|
27
|
+
}];
|
|
28
|
+
readonly serviceId: "elevenlabs";
|
|
29
|
+
};
|
|
30
|
+
readonly type: "elevenlabs.flowGenerationEvent";
|
|
31
|
+
};
|
|
32
|
+
readonly elevenLabsFlowGenerationFailed: {
|
|
33
|
+
readonly account: {
|
|
34
|
+
readonly connectionOptions: readonly [{
|
|
35
|
+
readonly connectionMethodId: "api-key";
|
|
36
|
+
readonly requiredScopes: readonly [];
|
|
37
|
+
}];
|
|
38
|
+
readonly serviceId: "elevenlabs";
|
|
39
|
+
};
|
|
40
|
+
readonly type: "elevenlabs.flowGenerationFailed";
|
|
41
|
+
};
|
|
42
|
+
readonly elevenLabsTranscriptionCompleted: {
|
|
43
|
+
readonly account: {
|
|
44
|
+
readonly connectionOptions: readonly [{
|
|
45
|
+
readonly connectionMethodId: "api-key";
|
|
46
|
+
readonly requiredScopes: readonly [];
|
|
47
|
+
}];
|
|
48
|
+
readonly serviceId: "elevenlabs";
|
|
49
|
+
};
|
|
50
|
+
readonly type: "elevenlabs.transcriptionCompleted";
|
|
51
|
+
};
|
|
52
|
+
readonly elevenLabsVoiceRemovalEvent: {
|
|
53
|
+
readonly account: {
|
|
54
|
+
readonly connectionOptions: readonly [{
|
|
55
|
+
readonly connectionMethodId: "api-key";
|
|
56
|
+
readonly requiredScopes: readonly [];
|
|
57
|
+
}];
|
|
58
|
+
readonly serviceId: "elevenlabs";
|
|
59
|
+
};
|
|
60
|
+
readonly type: "elevenlabs.voiceRemovalEvent";
|
|
61
|
+
};
|
|
62
|
+
readonly elevenLabsVoiceRemovalScheduled: {
|
|
63
|
+
readonly account: {
|
|
64
|
+
readonly connectionOptions: readonly [{
|
|
65
|
+
readonly connectionMethodId: "api-key";
|
|
66
|
+
readonly requiredScopes: readonly [];
|
|
67
|
+
}];
|
|
68
|
+
readonly serviceId: "elevenlabs";
|
|
69
|
+
};
|
|
70
|
+
readonly type: "elevenlabs.voiceRemovalScheduled";
|
|
71
|
+
};
|
|
72
|
+
readonly elevenLabsVoiceRemovalWithdrawn: {
|
|
73
|
+
readonly account: {
|
|
74
|
+
readonly connectionOptions: readonly [{
|
|
75
|
+
readonly connectionMethodId: "api-key";
|
|
76
|
+
readonly requiredScopes: readonly [];
|
|
77
|
+
}];
|
|
78
|
+
readonly serviceId: "elevenlabs";
|
|
79
|
+
};
|
|
80
|
+
readonly type: "elevenlabs.voiceRemovalWithdrawn";
|
|
81
|
+
};
|
|
82
|
+
readonly elevenLabsVoiceRemoved: {
|
|
83
|
+
readonly account: {
|
|
84
|
+
readonly connectionOptions: readonly [{
|
|
85
|
+
readonly connectionMethodId: "api-key";
|
|
86
|
+
readonly requiredScopes: readonly [];
|
|
87
|
+
}];
|
|
88
|
+
readonly serviceId: "elevenlabs";
|
|
89
|
+
};
|
|
90
|
+
readonly type: "elevenlabs.voiceRemoved";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const ELEVENLABS_ACCOUNT = {
|
|
2
|
+
connectionOptions: [{ connectionMethodId: "api-key", requiredScopes: [] }],
|
|
3
|
+
serviceId: "elevenlabs",
|
|
4
|
+
};
|
|
5
|
+
export const elevenLabsTriggerDefinitions = {
|
|
6
|
+
elevenLabsEvent: { account: ELEVENLABS_ACCOUNT, type: "elevenlabs.event" },
|
|
7
|
+
elevenLabsFlowGenerationCompleted: {
|
|
8
|
+
account: ELEVENLABS_ACCOUNT,
|
|
9
|
+
type: "elevenlabs.flowGenerationCompleted",
|
|
10
|
+
},
|
|
11
|
+
elevenLabsFlowGenerationEvent: {
|
|
12
|
+
account: ELEVENLABS_ACCOUNT,
|
|
13
|
+
type: "elevenlabs.flowGenerationEvent",
|
|
14
|
+
},
|
|
15
|
+
elevenLabsFlowGenerationFailed: {
|
|
16
|
+
account: ELEVENLABS_ACCOUNT,
|
|
17
|
+
type: "elevenlabs.flowGenerationFailed",
|
|
18
|
+
},
|
|
19
|
+
elevenLabsTranscriptionCompleted: {
|
|
20
|
+
account: ELEVENLABS_ACCOUNT,
|
|
21
|
+
type: "elevenlabs.transcriptionCompleted",
|
|
22
|
+
},
|
|
23
|
+
elevenLabsVoiceRemovalEvent: {
|
|
24
|
+
account: ELEVENLABS_ACCOUNT,
|
|
25
|
+
type: "elevenlabs.voiceRemovalEvent",
|
|
26
|
+
},
|
|
27
|
+
elevenLabsVoiceRemovalScheduled: {
|
|
28
|
+
account: ELEVENLABS_ACCOUNT,
|
|
29
|
+
type: "elevenlabs.voiceRemovalScheduled",
|
|
30
|
+
},
|
|
31
|
+
elevenLabsVoiceRemovalWithdrawn: {
|
|
32
|
+
account: ELEVENLABS_ACCOUNT,
|
|
33
|
+
type: "elevenlabs.voiceRemovalWithdrawn",
|
|
34
|
+
},
|
|
35
|
+
elevenLabsVoiceRemoved: {
|
|
36
|
+
account: ELEVENLABS_ACCOUNT,
|
|
37
|
+
type: "elevenlabs.voiceRemoved",
|
|
38
|
+
},
|
|
39
|
+
};
|
package/dist/triggers/index.d.ts
CHANGED
|
@@ -7523,6 +7523,96 @@ export declare const triggerDefinitions: {
|
|
|
7523
7523
|
};
|
|
7524
7524
|
readonly type: "close.task.updated";
|
|
7525
7525
|
};
|
|
7526
|
+
readonly elevenLabsEvent: {
|
|
7527
|
+
readonly account: {
|
|
7528
|
+
readonly connectionOptions: readonly [{
|
|
7529
|
+
readonly connectionMethodId: "api-key";
|
|
7530
|
+
readonly requiredScopes: readonly [];
|
|
7531
|
+
}];
|
|
7532
|
+
readonly serviceId: "elevenlabs";
|
|
7533
|
+
};
|
|
7534
|
+
readonly type: "elevenlabs.event";
|
|
7535
|
+
};
|
|
7536
|
+
readonly elevenLabsFlowGenerationCompleted: {
|
|
7537
|
+
readonly account: {
|
|
7538
|
+
readonly connectionOptions: readonly [{
|
|
7539
|
+
readonly connectionMethodId: "api-key";
|
|
7540
|
+
readonly requiredScopes: readonly [];
|
|
7541
|
+
}];
|
|
7542
|
+
readonly serviceId: "elevenlabs";
|
|
7543
|
+
};
|
|
7544
|
+
readonly type: "elevenlabs.flowGenerationCompleted";
|
|
7545
|
+
};
|
|
7546
|
+
readonly elevenLabsFlowGenerationEvent: {
|
|
7547
|
+
readonly account: {
|
|
7548
|
+
readonly connectionOptions: readonly [{
|
|
7549
|
+
readonly connectionMethodId: "api-key";
|
|
7550
|
+
readonly requiredScopes: readonly [];
|
|
7551
|
+
}];
|
|
7552
|
+
readonly serviceId: "elevenlabs";
|
|
7553
|
+
};
|
|
7554
|
+
readonly type: "elevenlabs.flowGenerationEvent";
|
|
7555
|
+
};
|
|
7556
|
+
readonly elevenLabsFlowGenerationFailed: {
|
|
7557
|
+
readonly account: {
|
|
7558
|
+
readonly connectionOptions: readonly [{
|
|
7559
|
+
readonly connectionMethodId: "api-key";
|
|
7560
|
+
readonly requiredScopes: readonly [];
|
|
7561
|
+
}];
|
|
7562
|
+
readonly serviceId: "elevenlabs";
|
|
7563
|
+
};
|
|
7564
|
+
readonly type: "elevenlabs.flowGenerationFailed";
|
|
7565
|
+
};
|
|
7566
|
+
readonly elevenLabsTranscriptionCompleted: {
|
|
7567
|
+
readonly account: {
|
|
7568
|
+
readonly connectionOptions: readonly [{
|
|
7569
|
+
readonly connectionMethodId: "api-key";
|
|
7570
|
+
readonly requiredScopes: readonly [];
|
|
7571
|
+
}];
|
|
7572
|
+
readonly serviceId: "elevenlabs";
|
|
7573
|
+
};
|
|
7574
|
+
readonly type: "elevenlabs.transcriptionCompleted";
|
|
7575
|
+
};
|
|
7576
|
+
readonly elevenLabsVoiceRemovalEvent: {
|
|
7577
|
+
readonly account: {
|
|
7578
|
+
readonly connectionOptions: readonly [{
|
|
7579
|
+
readonly connectionMethodId: "api-key";
|
|
7580
|
+
readonly requiredScopes: readonly [];
|
|
7581
|
+
}];
|
|
7582
|
+
readonly serviceId: "elevenlabs";
|
|
7583
|
+
};
|
|
7584
|
+
readonly type: "elevenlabs.voiceRemovalEvent";
|
|
7585
|
+
};
|
|
7586
|
+
readonly elevenLabsVoiceRemovalScheduled: {
|
|
7587
|
+
readonly account: {
|
|
7588
|
+
readonly connectionOptions: readonly [{
|
|
7589
|
+
readonly connectionMethodId: "api-key";
|
|
7590
|
+
readonly requiredScopes: readonly [];
|
|
7591
|
+
}];
|
|
7592
|
+
readonly serviceId: "elevenlabs";
|
|
7593
|
+
};
|
|
7594
|
+
readonly type: "elevenlabs.voiceRemovalScheduled";
|
|
7595
|
+
};
|
|
7596
|
+
readonly elevenLabsVoiceRemovalWithdrawn: {
|
|
7597
|
+
readonly account: {
|
|
7598
|
+
readonly connectionOptions: readonly [{
|
|
7599
|
+
readonly connectionMethodId: "api-key";
|
|
7600
|
+
readonly requiredScopes: readonly [];
|
|
7601
|
+
}];
|
|
7602
|
+
readonly serviceId: "elevenlabs";
|
|
7603
|
+
};
|
|
7604
|
+
readonly type: "elevenlabs.voiceRemovalWithdrawn";
|
|
7605
|
+
};
|
|
7606
|
+
readonly elevenLabsVoiceRemoved: {
|
|
7607
|
+
readonly account: {
|
|
7608
|
+
readonly connectionOptions: readonly [{
|
|
7609
|
+
readonly connectionMethodId: "api-key";
|
|
7610
|
+
readonly requiredScopes: readonly [];
|
|
7611
|
+
}];
|
|
7612
|
+
readonly serviceId: "elevenlabs";
|
|
7613
|
+
};
|
|
7614
|
+
readonly type: "elevenlabs.voiceRemoved";
|
|
7615
|
+
};
|
|
7526
7616
|
readonly discordApplicationAuthorized: {
|
|
7527
7617
|
readonly account: {
|
|
7528
7618
|
readonly connectionOptions: readonly [{
|
|
@@ -11060,6 +11150,96 @@ export declare const triggerCatalog: ({
|
|
|
11060
11150
|
readonly serviceId: "discord";
|
|
11061
11151
|
};
|
|
11062
11152
|
type: "discord.webhook.event";
|
|
11153
|
+
} | {
|
|
11154
|
+
name: string;
|
|
11155
|
+
account: {
|
|
11156
|
+
readonly connectionOptions: readonly [{
|
|
11157
|
+
readonly connectionMethodId: "api-key";
|
|
11158
|
+
readonly requiredScopes: readonly [];
|
|
11159
|
+
}];
|
|
11160
|
+
readonly serviceId: "elevenlabs";
|
|
11161
|
+
};
|
|
11162
|
+
type: "elevenlabs.event";
|
|
11163
|
+
} | {
|
|
11164
|
+
name: string;
|
|
11165
|
+
account: {
|
|
11166
|
+
readonly connectionOptions: readonly [{
|
|
11167
|
+
readonly connectionMethodId: "api-key";
|
|
11168
|
+
readonly requiredScopes: readonly [];
|
|
11169
|
+
}];
|
|
11170
|
+
readonly serviceId: "elevenlabs";
|
|
11171
|
+
};
|
|
11172
|
+
type: "elevenlabs.flowGenerationCompleted";
|
|
11173
|
+
} | {
|
|
11174
|
+
name: string;
|
|
11175
|
+
account: {
|
|
11176
|
+
readonly connectionOptions: readonly [{
|
|
11177
|
+
readonly connectionMethodId: "api-key";
|
|
11178
|
+
readonly requiredScopes: readonly [];
|
|
11179
|
+
}];
|
|
11180
|
+
readonly serviceId: "elevenlabs";
|
|
11181
|
+
};
|
|
11182
|
+
type: "elevenlabs.flowGenerationEvent";
|
|
11183
|
+
} | {
|
|
11184
|
+
name: string;
|
|
11185
|
+
account: {
|
|
11186
|
+
readonly connectionOptions: readonly [{
|
|
11187
|
+
readonly connectionMethodId: "api-key";
|
|
11188
|
+
readonly requiredScopes: readonly [];
|
|
11189
|
+
}];
|
|
11190
|
+
readonly serviceId: "elevenlabs";
|
|
11191
|
+
};
|
|
11192
|
+
type: "elevenlabs.flowGenerationFailed";
|
|
11193
|
+
} | {
|
|
11194
|
+
name: string;
|
|
11195
|
+
account: {
|
|
11196
|
+
readonly connectionOptions: readonly [{
|
|
11197
|
+
readonly connectionMethodId: "api-key";
|
|
11198
|
+
readonly requiredScopes: readonly [];
|
|
11199
|
+
}];
|
|
11200
|
+
readonly serviceId: "elevenlabs";
|
|
11201
|
+
};
|
|
11202
|
+
type: "elevenlabs.transcriptionCompleted";
|
|
11203
|
+
} | {
|
|
11204
|
+
name: string;
|
|
11205
|
+
account: {
|
|
11206
|
+
readonly connectionOptions: readonly [{
|
|
11207
|
+
readonly connectionMethodId: "api-key";
|
|
11208
|
+
readonly requiredScopes: readonly [];
|
|
11209
|
+
}];
|
|
11210
|
+
readonly serviceId: "elevenlabs";
|
|
11211
|
+
};
|
|
11212
|
+
type: "elevenlabs.voiceRemovalEvent";
|
|
11213
|
+
} | {
|
|
11214
|
+
name: string;
|
|
11215
|
+
account: {
|
|
11216
|
+
readonly connectionOptions: readonly [{
|
|
11217
|
+
readonly connectionMethodId: "api-key";
|
|
11218
|
+
readonly requiredScopes: readonly [];
|
|
11219
|
+
}];
|
|
11220
|
+
readonly serviceId: "elevenlabs";
|
|
11221
|
+
};
|
|
11222
|
+
type: "elevenlabs.voiceRemovalScheduled";
|
|
11223
|
+
} | {
|
|
11224
|
+
name: string;
|
|
11225
|
+
account: {
|
|
11226
|
+
readonly connectionOptions: readonly [{
|
|
11227
|
+
readonly connectionMethodId: "api-key";
|
|
11228
|
+
readonly requiredScopes: readonly [];
|
|
11229
|
+
}];
|
|
11230
|
+
readonly serviceId: "elevenlabs";
|
|
11231
|
+
};
|
|
11232
|
+
type: "elevenlabs.voiceRemovalWithdrawn";
|
|
11233
|
+
} | {
|
|
11234
|
+
name: string;
|
|
11235
|
+
account: {
|
|
11236
|
+
readonly connectionOptions: readonly [{
|
|
11237
|
+
readonly connectionMethodId: "api-key";
|
|
11238
|
+
readonly requiredScopes: readonly [];
|
|
11239
|
+
}];
|
|
11240
|
+
readonly serviceId: "elevenlabs";
|
|
11241
|
+
};
|
|
11242
|
+
type: "elevenlabs.voiceRemoved";
|
|
11063
11243
|
} | {
|
|
11064
11244
|
name: string;
|
|
11065
11245
|
account: {
|
package/dist/triggers/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import { brevoTriggerDefinitions } from "./brevo.js";
|
|
|
8
8
|
import { calcomTriggerDefinitions } from "./calcom.js";
|
|
9
9
|
import { convexTriggerDefinitions } from "./convex.js";
|
|
10
10
|
import { discordTriggerDefinitions } from "./discord.js";
|
|
11
|
+
import { elevenLabsTriggerDefinitions } from "./elevenlabs.js";
|
|
11
12
|
import { closeTriggerDefinitions } from "./close.js";
|
|
12
13
|
import { cloudflareTriggerDefinitions } from "./cloudflare.js";
|
|
13
14
|
import { clickUpTriggerDefinitions } from "./clickup.js";
|
|
@@ -47,6 +48,7 @@ export const triggerDefinitions = {
|
|
|
47
48
|
...calcomTriggerDefinitions,
|
|
48
49
|
...convexTriggerDefinitions,
|
|
49
50
|
...discordTriggerDefinitions,
|
|
51
|
+
...elevenLabsTriggerDefinitions,
|
|
50
52
|
...closeTriggerDefinitions,
|
|
51
53
|
...cloudflareTriggerDefinitions,
|
|
52
54
|
...clickUpTriggerDefinitions,
|
package/dist/types.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ interface IntegrationConnectionDefinitionBase {
|
|
|
25
25
|
name: string;
|
|
26
26
|
}
|
|
27
27
|
export type IntegrationConnectionDefinition = (IntegrationConnectionDefinitionBase & {
|
|
28
|
+
/** Exact provider scopes this redirect flow may request. */
|
|
29
|
+
allowedScopes?: readonly string[];
|
|
28
30
|
type: "redirect";
|
|
29
31
|
}) | (IntegrationConnectionDefinitionBase & {
|
|
30
32
|
credentialUrl?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/catalog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.151.3",
|
|
4
4
|
"description": "Shared integration service and trigger definitions for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"./triggers/cloudflare": "./src/triggers/cloudflare.ts",
|
|
35
35
|
"./triggers/convex": "./src/triggers/convex.ts",
|
|
36
36
|
"./triggers/discord": "./src/triggers/discord.ts",
|
|
37
|
+
"./triggers/elevenlabs": "./src/triggers/elevenlabs.ts",
|
|
37
38
|
"./triggers/close": "./src/triggers/close.ts",
|
|
38
39
|
"./triggers/core-dashboard": "./src/triggers/core-dashboard.ts",
|
|
39
40
|
"./triggers/core-http": "./src/triggers/core-http.ts",
|
|
@@ -178,6 +179,11 @@
|
|
|
178
179
|
"types": "./dist/triggers/discord.d.ts",
|
|
179
180
|
"default": "./dist/triggers/discord.js"
|
|
180
181
|
},
|
|
182
|
+
"./triggers/elevenlabs": {
|
|
183
|
+
"bun": "./src/triggers/elevenlabs.ts",
|
|
184
|
+
"types": "./dist/triggers/elevenlabs.d.ts",
|
|
185
|
+
"default": "./dist/triggers/elevenlabs.js"
|
|
186
|
+
},
|
|
181
187
|
"./triggers/close": {
|
|
182
188
|
"bun": "./src/triggers/close.ts",
|
|
183
189
|
"types": "./dist/triggers/close.d.ts",
|
package/src/catalog.ts
CHANGED
|
@@ -429,6 +429,15 @@ export const deepseekService = defineApiKeyService({
|
|
|
429
429
|
name: "DeepSeek",
|
|
430
430
|
})
|
|
431
431
|
|
|
432
|
+
export const elevenLabsService = defineApiKeyService({
|
|
433
|
+
credentialUrl: "https://elevenlabs.io/app/settings/api-keys",
|
|
434
|
+
description:
|
|
435
|
+
"Connect ElevenLabs for speech, audio, music, dubbing, agents, and managed events.",
|
|
436
|
+
id: "elevenlabs",
|
|
437
|
+
name: "ElevenLabs",
|
|
438
|
+
placeholder: "sk_...",
|
|
439
|
+
})
|
|
440
|
+
|
|
432
441
|
export const firecrawlService = defineApiKeyService({
|
|
433
442
|
description: "Connect a Firecrawl API key.",
|
|
434
443
|
id: "firecrawl",
|
|
@@ -451,16 +460,70 @@ export const githubService = defineIntegrationService({
|
|
|
451
460
|
name: "GitHub",
|
|
452
461
|
})
|
|
453
462
|
|
|
463
|
+
const GOOGLE_OAUTH_ALLOWED_SCOPES = [
|
|
464
|
+
"email",
|
|
465
|
+
"openid",
|
|
466
|
+
"profile",
|
|
467
|
+
"https://www.googleapis.com/auth/adwords",
|
|
468
|
+
"https://www.googleapis.com/auth/calendar",
|
|
469
|
+
"https://www.googleapis.com/auth/calendar.acls",
|
|
470
|
+
"https://www.googleapis.com/auth/calendar.acls.readonly",
|
|
471
|
+
"https://www.googleapis.com/auth/calendar.app.created",
|
|
472
|
+
"https://www.googleapis.com/auth/calendar.calendarlist",
|
|
473
|
+
"https://www.googleapis.com/auth/calendar.calendarlist.readonly",
|
|
474
|
+
"https://www.googleapis.com/auth/calendar.calendars",
|
|
475
|
+
"https://www.googleapis.com/auth/calendar.calendars.readonly",
|
|
476
|
+
"https://www.googleapis.com/auth/calendar.events",
|
|
477
|
+
"https://www.googleapis.com/auth/calendar.events.freebusy",
|
|
478
|
+
"https://www.googleapis.com/auth/calendar.events.owned",
|
|
479
|
+
"https://www.googleapis.com/auth/calendar.events.owned.readonly",
|
|
480
|
+
"https://www.googleapis.com/auth/calendar.events.public.readonly",
|
|
481
|
+
"https://www.googleapis.com/auth/calendar.events.readonly",
|
|
482
|
+
"https://www.googleapis.com/auth/calendar.freebusy",
|
|
483
|
+
"https://www.googleapis.com/auth/calendar.readonly",
|
|
484
|
+
"https://www.googleapis.com/auth/datamanager",
|
|
485
|
+
"https://www.googleapis.com/auth/documents",
|
|
486
|
+
"https://www.googleapis.com/auth/documents.readonly",
|
|
487
|
+
"https://www.googleapis.com/auth/drive",
|
|
488
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
489
|
+
"https://www.googleapis.com/auth/drive.metadata",
|
|
490
|
+
"https://www.googleapis.com/auth/drive.metadata.readonly",
|
|
491
|
+
"https://www.googleapis.com/auth/drive.readonly",
|
|
492
|
+
"https://www.googleapis.com/auth/forms.body",
|
|
493
|
+
"https://www.googleapis.com/auth/forms.body.readonly",
|
|
494
|
+
"https://www.googleapis.com/auth/forms.responses.readonly",
|
|
495
|
+
"https://www.googleapis.com/auth/gmail.compose",
|
|
496
|
+
"https://www.googleapis.com/auth/gmail.labels",
|
|
497
|
+
"https://www.googleapis.com/auth/gmail.metadata",
|
|
498
|
+
"https://www.googleapis.com/auth/gmail.modify",
|
|
499
|
+
"https://www.googleapis.com/auth/gmail.readonly",
|
|
500
|
+
"https://www.googleapis.com/auth/gmail.send",
|
|
501
|
+
"https://www.googleapis.com/auth/meetings.space.created",
|
|
502
|
+
"https://www.googleapis.com/auth/meetings.space.readonly",
|
|
503
|
+
"https://www.googleapis.com/auth/meetings.space.settings",
|
|
504
|
+
"https://www.googleapis.com/auth/presentations",
|
|
505
|
+
"https://www.googleapis.com/auth/presentations.readonly",
|
|
506
|
+
"https://www.googleapis.com/auth/spreadsheets",
|
|
507
|
+
"https://www.googleapis.com/auth/spreadsheets.readonly",
|
|
508
|
+
] as const
|
|
509
|
+
|
|
454
510
|
export const googleService = defineIntegrationService({
|
|
455
|
-
connectionMethods: [
|
|
511
|
+
connectionMethods: [
|
|
512
|
+
{
|
|
513
|
+
allowedScopes: GOOGLE_OAUTH_ALLOWED_SCOPES,
|
|
514
|
+
id: "oauth",
|
|
515
|
+
name: "OAuth",
|
|
516
|
+
type: "redirect",
|
|
517
|
+
},
|
|
518
|
+
],
|
|
456
519
|
connectionNotice: {
|
|
457
520
|
action: {
|
|
458
|
-
href: "
|
|
459
|
-
label: "
|
|
521
|
+
href: "https://automate.ax/privacy",
|
|
522
|
+
label: "Google data use and deletion",
|
|
460
523
|
},
|
|
461
524
|
description:
|
|
462
|
-
"During alpha,
|
|
463
|
-
title: "Google
|
|
525
|
+
"During alpha, email hello@automate.ax to request access for the Google Account you want to connect. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.",
|
|
526
|
+
title: "Google account data",
|
|
464
527
|
},
|
|
465
528
|
description: "Connect a Google account.",
|
|
466
529
|
id: "google",
|
|
@@ -1034,6 +1097,7 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
1034
1097
|
cohereService,
|
|
1035
1098
|
convexService,
|
|
1036
1099
|
discordService,
|
|
1100
|
+
elevenLabsService,
|
|
1037
1101
|
deepinfraService,
|
|
1038
1102
|
deepseekService,
|
|
1039
1103
|
firecrawlService,
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
|
|
2
|
+
|
|
3
|
+
const ELEVENLABS_ACCOUNT = {
|
|
4
|
+
connectionOptions: [{ connectionMethodId: "api-key", requiredScopes: [] }],
|
|
5
|
+
serviceId: "elevenlabs",
|
|
6
|
+
} as const satisfies IntegrationAccountRequirement
|
|
7
|
+
|
|
8
|
+
export const elevenLabsTriggerDefinitions = {
|
|
9
|
+
elevenLabsEvent: { account: ELEVENLABS_ACCOUNT, type: "elevenlabs.event" },
|
|
10
|
+
elevenLabsFlowGenerationCompleted: {
|
|
11
|
+
account: ELEVENLABS_ACCOUNT,
|
|
12
|
+
type: "elevenlabs.flowGenerationCompleted",
|
|
13
|
+
},
|
|
14
|
+
elevenLabsFlowGenerationEvent: {
|
|
15
|
+
account: ELEVENLABS_ACCOUNT,
|
|
16
|
+
type: "elevenlabs.flowGenerationEvent",
|
|
17
|
+
},
|
|
18
|
+
elevenLabsFlowGenerationFailed: {
|
|
19
|
+
account: ELEVENLABS_ACCOUNT,
|
|
20
|
+
type: "elevenlabs.flowGenerationFailed",
|
|
21
|
+
},
|
|
22
|
+
elevenLabsTranscriptionCompleted: {
|
|
23
|
+
account: ELEVENLABS_ACCOUNT,
|
|
24
|
+
type: "elevenlabs.transcriptionCompleted",
|
|
25
|
+
},
|
|
26
|
+
elevenLabsVoiceRemovalEvent: {
|
|
27
|
+
account: ELEVENLABS_ACCOUNT,
|
|
28
|
+
type: "elevenlabs.voiceRemovalEvent",
|
|
29
|
+
},
|
|
30
|
+
elevenLabsVoiceRemovalScheduled: {
|
|
31
|
+
account: ELEVENLABS_ACCOUNT,
|
|
32
|
+
type: "elevenlabs.voiceRemovalScheduled",
|
|
33
|
+
},
|
|
34
|
+
elevenLabsVoiceRemovalWithdrawn: {
|
|
35
|
+
account: ELEVENLABS_ACCOUNT,
|
|
36
|
+
type: "elevenlabs.voiceRemovalWithdrawn",
|
|
37
|
+
},
|
|
38
|
+
elevenLabsVoiceRemoved: {
|
|
39
|
+
account: ELEVENLABS_ACCOUNT,
|
|
40
|
+
type: "elevenlabs.voiceRemoved",
|
|
41
|
+
},
|
|
42
|
+
} as const satisfies Record<string, TriggerDefinition>
|
package/src/triggers/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { brevoTriggerDefinitions } from "./brevo"
|
|
|
8
8
|
import { calcomTriggerDefinitions } from "./calcom"
|
|
9
9
|
import { convexTriggerDefinitions } from "./convex"
|
|
10
10
|
import { discordTriggerDefinitions } from "./discord"
|
|
11
|
+
import { elevenLabsTriggerDefinitions } from "./elevenlabs"
|
|
11
12
|
import { closeTriggerDefinitions } from "./close"
|
|
12
13
|
import { cloudflareTriggerDefinitions } from "./cloudflare"
|
|
13
14
|
import { clickUpTriggerDefinitions } from "./clickup"
|
|
@@ -75,6 +76,7 @@ export const triggerDefinitions = {
|
|
|
75
76
|
...calcomTriggerDefinitions,
|
|
76
77
|
...convexTriggerDefinitions,
|
|
77
78
|
...discordTriggerDefinitions,
|
|
79
|
+
...elevenLabsTriggerDefinitions,
|
|
78
80
|
...closeTriggerDefinitions,
|
|
79
81
|
...cloudflareTriggerDefinitions,
|
|
80
82
|
...clickUpTriggerDefinitions,
|
package/src/types.ts
CHANGED
|
@@ -33,6 +33,8 @@ interface IntegrationConnectionDefinitionBase {
|
|
|
33
33
|
|
|
34
34
|
export type IntegrationConnectionDefinition =
|
|
35
35
|
| (IntegrationConnectionDefinitionBase & {
|
|
36
|
+
/** Exact provider scopes this redirect flow may request. */
|
|
37
|
+
allowedScopes?: readonly string[]
|
|
36
38
|
type: "redirect"
|
|
37
39
|
})
|
|
38
40
|
| (IntegrationConnectionDefinitionBase & {
|