integrate-sdk 0.9.53-dev.1 → 0.9.54-dev.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/adapters/auto-routes.js +80 -4
- package/dist/adapters/base-handler.js +80 -4
- package/dist/adapters/index.js +139 -5
- package/dist/adapters/nextjs.js +80 -4
- package/dist/adapters/solid-start.js +139 -5
- package/dist/adapters/svelte-kit.js +139 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +854 -11
- package/dist/integrations.js +835 -11
- package/dist/oauth.js +80 -4
- package/dist/server.js +876 -34
- package/dist/src/client.d.ts +38 -0
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/index.d.ts +38 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/integrations/azure_devops-client.d.ts +30 -0
- package/dist/src/integrations/azure_devops-client.d.ts.map +1 -0
- package/dist/src/integrations/azure_devops.d.ts +14 -0
- package/dist/src/integrations/azure_devops.d.ts.map +1 -0
- package/dist/src/integrations/calcom.d.ts.map +1 -1
- package/dist/src/integrations/calendly-client.d.ts +36 -0
- package/dist/src/integrations/calendly-client.d.ts.map +1 -0
- package/dist/src/integrations/calendly.d.ts +14 -0
- package/dist/src/integrations/calendly.d.ts.map +1 -0
- package/dist/src/integrations/firebase-client.d.ts +24 -0
- package/dist/src/integrations/firebase-client.d.ts.map +1 -0
- package/dist/src/integrations/firebase.d.ts +14 -0
- package/dist/src/integrations/firebase.d.ts.map +1 -0
- package/dist/src/integrations/google_forms-client.d.ts +24 -0
- package/dist/src/integrations/google_forms-client.d.ts.map +1 -0
- package/dist/src/integrations/google_forms.d.ts +14 -0
- package/dist/src/integrations/google_forms.d.ts.map +1 -0
- package/dist/src/integrations/google_play_console-client.d.ts +30 -0
- package/dist/src/integrations/google_play_console-client.d.ts.map +1 -0
- package/dist/src/integrations/google_play_console.d.ts +14 -0
- package/dist/src/integrations/google_play_console.d.ts.map +1 -0
- package/dist/src/integrations/klaviyo-client.d.ts +31 -0
- package/dist/src/integrations/klaviyo-client.d.ts.map +1 -0
- package/dist/src/integrations/klaviyo.d.ts +15 -0
- package/dist/src/integrations/klaviyo.d.ts.map +1 -0
- package/dist/src/integrations/library-metadata.d.ts +1 -1
- package/dist/src/integrations/library-metadata.d.ts.map +1 -1
- package/dist/src/integrations/microsoft_bookings-client.d.ts +26 -0
- package/dist/src/integrations/microsoft_bookings-client.d.ts.map +1 -0
- package/dist/src/integrations/microsoft_bookings.d.ts +14 -0
- package/dist/src/integrations/microsoft_bookings.d.ts.map +1 -0
- package/dist/src/integrations/microsoft_to_do-client.d.ts +33 -0
- package/dist/src/integrations/microsoft_to_do-client.d.ts.map +1 -0
- package/dist/src/integrations/microsoft_to_do.d.ts +14 -0
- package/dist/src/integrations/microsoft_to_do.d.ts.map +1 -0
- package/dist/src/integrations/onenote-client.d.ts +28 -0
- package/dist/src/integrations/onenote-client.d.ts.map +1 -0
- package/dist/src/integrations/onenote.d.ts +14 -0
- package/dist/src/integrations/onenote.d.ts.map +1 -0
- package/dist/src/integrations/squarespace-client.d.ts +27 -0
- package/dist/src/integrations/squarespace-client.d.ts.map +1 -0
- package/dist/src/integrations/squarespace.d.ts +14 -0
- package/dist/src/integrations/squarespace.d.ts.map +1 -0
- package/dist/src/integrations/zoho_billing-client.d.ts +29 -0
- package/dist/src/integrations/zoho_billing-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_billing.d.ts +15 -0
- package/dist/src/integrations/zoho_billing.d.ts.map +1 -0
- package/dist/src/integrations/zoho_creator-client.d.ts +35 -0
- package/dist/src/integrations/zoho_creator-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_creator.d.ts +15 -0
- package/dist/src/integrations/zoho_creator.d.ts.map +1 -0
- package/dist/src/integrations/zoho_inventory-client.d.ts +29 -0
- package/dist/src/integrations/zoho_inventory-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_inventory.d.ts +15 -0
- package/dist/src/integrations/zoho_inventory.d.ts.map +1 -0
- package/dist/src/integrations/zoho_people-client.d.ts +26 -0
- package/dist/src/integrations/zoho_people-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_people.d.ts +15 -0
- package/dist/src/integrations/zoho_people.d.ts.map +1 -0
- package/dist/src/integrations/zoho_recruit-client.d.ts +23 -0
- package/dist/src/integrations/zoho_recruit-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_recruit.d.ts +15 -0
- package/dist/src/integrations/zoho_recruit.d.ts.map +1 -0
- package/dist/src/integrations/zoho_sign-client.d.ts +26 -0
- package/dist/src/integrations/zoho_sign-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_sign.d.ts +15 -0
- package/dist/src/integrations/zoho_sign.d.ts.map +1 -0
- package/dist/src/integrations/zoho_sprints-client.d.ts +25 -0
- package/dist/src/integrations/zoho_sprints-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_sprints.d.ts +15 -0
- package/dist/src/integrations/zoho_sprints.d.ts.map +1 -0
- package/dist/src/integrations/zoho_workdrive-client.d.ts +23 -0
- package/dist/src/integrations/zoho_workdrive-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_workdrive.d.ts +15 -0
- package/dist/src/integrations/zoho_workdrive.d.ts.map +1 -0
- package/dist/src/integrations/zoho_writer-client.d.ts +26 -0
- package/dist/src/integrations/zoho_writer-client.d.ts.map +1 -0
- package/dist/src/integrations/zoho_writer.d.ts +15 -0
- package/dist/src/integrations/zoho_writer.d.ts.map +1 -0
- package/dist/src/server.d.ts +19 -0
- package/dist/src/server.d.ts.map +1 -1
- package/index.ts +39 -0
- package/package.json +1 -1
package/dist/integrations.js
CHANGED
|
@@ -803,6 +803,7 @@ var MCPMethod;
|
|
|
803
803
|
// src/integrations/library-metadata.ts
|
|
804
804
|
var INTEGRATION_CATEGORY_ORDER = [
|
|
805
805
|
"Analytics",
|
|
806
|
+
"Scheduling",
|
|
806
807
|
"Productivity",
|
|
807
808
|
"Lifestyle",
|
|
808
809
|
"Business",
|
|
@@ -819,6 +820,7 @@ var INTEGRATION_CATEGORY_ORDER = [
|
|
|
819
820
|
"Events & Ticketing",
|
|
820
821
|
"Commerce",
|
|
821
822
|
"Food",
|
|
823
|
+
"Websites & CMS",
|
|
822
824
|
"CMS",
|
|
823
825
|
"Education",
|
|
824
826
|
"HR & Recruiting",
|
|
@@ -945,11 +947,87 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
945
947
|
},
|
|
946
948
|
wordpress: {
|
|
947
949
|
description: "Manage WordPress get site, list posts, get post, create post, update post",
|
|
948
|
-
category: "CMS"
|
|
950
|
+
category: "Websites & CMS"
|
|
949
951
|
},
|
|
950
952
|
contentful: {
|
|
951
953
|
description: "Manage Contentful list spaces, get space, list entries, get entry, create entry",
|
|
952
|
-
category: "CMS"
|
|
954
|
+
category: "Websites & CMS"
|
|
955
|
+
},
|
|
956
|
+
calendly: {
|
|
957
|
+
description: "Manage Calendly user profiles, event types, scheduled events, invitees, and availability schedules",
|
|
958
|
+
category: "Scheduling"
|
|
959
|
+
},
|
|
960
|
+
klaviyo: {
|
|
961
|
+
description: "Manage Klaviyo accounts, profiles, lists, segments, campaigns, and metrics",
|
|
962
|
+
category: "Marketing"
|
|
963
|
+
},
|
|
964
|
+
google_forms: {
|
|
965
|
+
description: "Manage Google Forms forms, structure updates, and responses",
|
|
966
|
+
category: "Productivity"
|
|
967
|
+
},
|
|
968
|
+
firebase: {
|
|
969
|
+
description: "Manage Firebase projects and registered apps across web, Android, and Apple platforms",
|
|
970
|
+
category: "Infrastructure"
|
|
971
|
+
},
|
|
972
|
+
microsoft_to_do: {
|
|
973
|
+
description: "Manage Microsoft To Do task lists and tasks through Microsoft Graph",
|
|
974
|
+
category: "Productivity"
|
|
975
|
+
},
|
|
976
|
+
onenote: {
|
|
977
|
+
description: "Manage OneNote notebooks, sections, pages, and section creation through Microsoft Graph",
|
|
978
|
+
category: "Productivity"
|
|
979
|
+
},
|
|
980
|
+
microsoft_bookings: {
|
|
981
|
+
description: "Manage Microsoft Bookings businesses, services, staff members, and appointments",
|
|
982
|
+
category: "Scheduling"
|
|
983
|
+
},
|
|
984
|
+
azure_devops: {
|
|
985
|
+
description: "Manage Azure DevOps projects, repositories, pull requests, builds, and work items",
|
|
986
|
+
category: "Engineering"
|
|
987
|
+
},
|
|
988
|
+
google_play_console: {
|
|
989
|
+
description: "Manage Google Play edits, tracks, and in-app products through the Android Publisher API",
|
|
990
|
+
category: "Engineering"
|
|
991
|
+
},
|
|
992
|
+
squarespace: {
|
|
993
|
+
description: "Manage Squarespace commerce orders, products, inventory, and profiles",
|
|
994
|
+
category: "Websites & CMS"
|
|
995
|
+
},
|
|
996
|
+
zoho_people: {
|
|
997
|
+
description: "Manage Zoho People forms, employees, attendance, leave requests, and time tracking",
|
|
998
|
+
category: "HR & Recruiting"
|
|
999
|
+
},
|
|
1000
|
+
zoho_recruit: {
|
|
1001
|
+
description: "Manage Zoho Recruit candidates, job openings, interviews, and custom modules",
|
|
1002
|
+
category: "HR & Recruiting"
|
|
1003
|
+
},
|
|
1004
|
+
zoho_sign: {
|
|
1005
|
+
description: "Manage Zoho Sign requests, templates, contacts, and signature workflows",
|
|
1006
|
+
category: "Legal"
|
|
1007
|
+
},
|
|
1008
|
+
zoho_workdrive: {
|
|
1009
|
+
description: "Manage Zoho WorkDrive team folders, files, folders, and collaborators",
|
|
1010
|
+
category: "Storage"
|
|
1011
|
+
},
|
|
1012
|
+
zoho_creator: {
|
|
1013
|
+
description: "Manage Zoho Creator applications, forms, reports, and app records",
|
|
1014
|
+
category: "Business"
|
|
1015
|
+
},
|
|
1016
|
+
zoho_inventory: {
|
|
1017
|
+
description: "Manage Zoho Inventory organizations, contacts, items, sales orders, packages, and shipments",
|
|
1018
|
+
category: "Commerce"
|
|
1019
|
+
},
|
|
1020
|
+
zoho_billing: {
|
|
1021
|
+
description: "Manage Zoho Billing organizations, customers, items, subscriptions, and invoices",
|
|
1022
|
+
category: "Accounting"
|
|
1023
|
+
},
|
|
1024
|
+
zoho_writer: {
|
|
1025
|
+
description: "Manage Zoho Writer documents, templates, merges, and exports",
|
|
1026
|
+
category: "Productivity"
|
|
1027
|
+
},
|
|
1028
|
+
zoho_sprints: {
|
|
1029
|
+
description: "Manage Zoho Sprints portals, projects, sprints, epics, and work items",
|
|
1030
|
+
category: "Engineering"
|
|
953
1031
|
},
|
|
954
1032
|
canvas_lms: {
|
|
955
1033
|
description: "Manage Canvas LMS list courses, get course, list assignments, create assignment, list submissions",
|
|
@@ -1165,7 +1243,7 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
1165
1243
|
},
|
|
1166
1244
|
calcom: {
|
|
1167
1245
|
description: "Manage Cal.com bookings and schedules",
|
|
1168
|
-
category: "
|
|
1246
|
+
category: "Scheduling"
|
|
1169
1247
|
},
|
|
1170
1248
|
canva: {
|
|
1171
1249
|
description: "List and create Canva designs, manage folders, and export assets",
|
|
@@ -1545,7 +1623,7 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
1545
1623
|
},
|
|
1546
1624
|
webflow: {
|
|
1547
1625
|
description: "Manage Webflow sites, collections, and CMS content",
|
|
1548
|
-
category: "
|
|
1626
|
+
category: "Websites & CMS"
|
|
1549
1627
|
},
|
|
1550
1628
|
workday: {
|
|
1551
1629
|
description: "Read Workday HR data including workers, organizations, and pay",
|
|
@@ -7747,7 +7825,7 @@ function wordpressIntegration(config = {}) {
|
|
|
7747
7825
|
name: "WordPress",
|
|
7748
7826
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/wordpress.png",
|
|
7749
7827
|
description: "Manage WordPress get site, list posts, get post, create post, update post",
|
|
7750
|
-
category: "CMS",
|
|
7828
|
+
category: "Websites & CMS",
|
|
7751
7829
|
tools: [...WORDPRESS_TOOLS],
|
|
7752
7830
|
authType: "oauth",
|
|
7753
7831
|
oauth,
|
|
@@ -7785,7 +7863,7 @@ function contentfulIntegration(config = {}) {
|
|
|
7785
7863
|
name: "Contentful",
|
|
7786
7864
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/contentful.png",
|
|
7787
7865
|
description: "Manage Contentful list spaces, get space, list entries, get entry, create entry",
|
|
7788
|
-
category: "CMS",
|
|
7866
|
+
category: "Websites & CMS",
|
|
7789
7867
|
tools: [...CONTENTFUL_TOOLS],
|
|
7790
7868
|
authType: "oauth",
|
|
7791
7869
|
oauth,
|
|
@@ -9831,7 +9909,10 @@ function calcomIntegration(config = {}) {
|
|
|
9831
9909
|
id: "calcom",
|
|
9832
9910
|
name: "Cal.com",
|
|
9833
9911
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/calcom.jpeg",
|
|
9912
|
+
description: "Manage Cal.com bookings and schedules",
|
|
9913
|
+
category: "Scheduling",
|
|
9834
9914
|
tools: [...CALCOM_TOOLS],
|
|
9915
|
+
authType: "oauth",
|
|
9835
9916
|
oauth,
|
|
9836
9917
|
async onInit(_client) {
|
|
9837
9918
|
logger120.debug("Cal.com integration initialized");
|
|
@@ -11221,7 +11302,7 @@ function webflowIntegration(config = {}) {
|
|
|
11221
11302
|
name: "Webflow",
|
|
11222
11303
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/webflow.png",
|
|
11223
11304
|
description: "Manage Webflow sites, CMS collections, pages, forms, and publishing",
|
|
11224
|
-
category: "
|
|
11305
|
+
category: "Websites & CMS",
|
|
11225
11306
|
tools: [...WEBFLOW_TOOLS],
|
|
11226
11307
|
oauth,
|
|
11227
11308
|
async onInit(_client) {
|
|
@@ -12352,7 +12433,7 @@ function wixIntegration(options = {}) {
|
|
|
12352
12433
|
name: "Wix",
|
|
12353
12434
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/wix.png",
|
|
12354
12435
|
description: "Manage Wix site stores, products, and e-commerce orders via REST",
|
|
12355
|
-
category: "
|
|
12436
|
+
category: "Websites & CMS",
|
|
12356
12437
|
tools: [...WIX_TOOLS],
|
|
12357
12438
|
authType: "apiKey",
|
|
12358
12439
|
getHeaders() {
|
|
@@ -13220,6 +13301,730 @@ function zoomIntegration(config = {}) {
|
|
|
13220
13301
|
}
|
|
13221
13302
|
};
|
|
13222
13303
|
}
|
|
13304
|
+
// src/integrations/calendly.ts
|
|
13305
|
+
var logger183 = createLogger("Calendly");
|
|
13306
|
+
var CALENDLY_SCOPES = [
|
|
13307
|
+
"user:read",
|
|
13308
|
+
"event_types:read",
|
|
13309
|
+
"scheduled_events:read",
|
|
13310
|
+
"organization_memberships:read",
|
|
13311
|
+
"routing:read"
|
|
13312
|
+
];
|
|
13313
|
+
var CALENDLY_TOOLS = [
|
|
13314
|
+
"calendly_get_current_user",
|
|
13315
|
+
"calendly_list_event_types",
|
|
13316
|
+
"calendly_get_event_type",
|
|
13317
|
+
"calendly_list_scheduled_events",
|
|
13318
|
+
"calendly_get_scheduled_event",
|
|
13319
|
+
"calendly_list_scheduled_event_invitees",
|
|
13320
|
+
"calendly_list_availability_schedules"
|
|
13321
|
+
];
|
|
13322
|
+
function calendlyIntegration(config = {}) {
|
|
13323
|
+
const oauth = { provider: "calendly", clientId: config.clientId ?? getEnv("CALENDLY_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("CALENDLY_CLIENT_SECRET"), scopes: config.scopes ?? [...CALENDLY_SCOPES], redirectUri: config.redirectUri, config };
|
|
13324
|
+
return {
|
|
13325
|
+
id: "calendly",
|
|
13326
|
+
name: "Calendly",
|
|
13327
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/calendly.png",
|
|
13328
|
+
description: "Manage Calendly user profiles, event types, scheduled events, invitees, and availability schedules",
|
|
13329
|
+
category: "Scheduling",
|
|
13330
|
+
tools: [...CALENDLY_TOOLS],
|
|
13331
|
+
authType: "oauth",
|
|
13332
|
+
oauth,
|
|
13333
|
+
async onInit() {
|
|
13334
|
+
logger183.debug("Calendly integration initialized");
|
|
13335
|
+
},
|
|
13336
|
+
async onAfterConnect() {
|
|
13337
|
+
logger183.debug("Calendly integration connected");
|
|
13338
|
+
}
|
|
13339
|
+
};
|
|
13340
|
+
}
|
|
13341
|
+
// src/integrations/klaviyo.ts
|
|
13342
|
+
var logger184 = createLogger("Klaviyo");
|
|
13343
|
+
var KLAVIYO_SCOPES = [
|
|
13344
|
+
"accounts:read",
|
|
13345
|
+
"profiles:read",
|
|
13346
|
+
"profiles:write",
|
|
13347
|
+
"lists:read",
|
|
13348
|
+
"lists:write",
|
|
13349
|
+
"campaigns:read",
|
|
13350
|
+
"campaigns:write",
|
|
13351
|
+
"metrics:read"
|
|
13352
|
+
];
|
|
13353
|
+
var KLAVIYO_TOOLS = [
|
|
13354
|
+
"klaviyo_list_accounts",
|
|
13355
|
+
"klaviyo_list_profiles",
|
|
13356
|
+
"klaviyo_get_profile",
|
|
13357
|
+
"klaviyo_create_profile",
|
|
13358
|
+
"klaviyo_list_lists",
|
|
13359
|
+
"klaviyo_list_campaigns",
|
|
13360
|
+
"klaviyo_create_campaign",
|
|
13361
|
+
"klaviyo_list_metrics"
|
|
13362
|
+
];
|
|
13363
|
+
function klaviyoIntegration(config = {}) {
|
|
13364
|
+
const oauth = { provider: "klaviyo", clientId: config.clientId ?? getEnv("KLAVIYO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("KLAVIYO_CLIENT_SECRET"), scopes: config.scopes ?? [...KLAVIYO_SCOPES], redirectUri: config.redirectUri, config };
|
|
13365
|
+
return {
|
|
13366
|
+
id: "klaviyo",
|
|
13367
|
+
name: "Klaviyo",
|
|
13368
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/klaviyo.png",
|
|
13369
|
+
description: "Manage Klaviyo accounts, profiles, lists, segments, campaigns, and metrics",
|
|
13370
|
+
category: "Marketing",
|
|
13371
|
+
tools: [...KLAVIYO_TOOLS],
|
|
13372
|
+
authType: "oauth",
|
|
13373
|
+
oauth,
|
|
13374
|
+
getHeaders() {
|
|
13375
|
+
const headers = {};
|
|
13376
|
+
const revision = config.revision ?? getEnv("KLAVIYO_REVISION") ?? "2024-10-15";
|
|
13377
|
+
if (revision)
|
|
13378
|
+
headers["revision"] = revision;
|
|
13379
|
+
return headers;
|
|
13380
|
+
},
|
|
13381
|
+
async onInit() {
|
|
13382
|
+
logger184.debug("Klaviyo integration initialized");
|
|
13383
|
+
},
|
|
13384
|
+
async onAfterConnect() {
|
|
13385
|
+
logger184.debug("Klaviyo integration connected");
|
|
13386
|
+
}
|
|
13387
|
+
};
|
|
13388
|
+
}
|
|
13389
|
+
// src/integrations/google_forms.ts
|
|
13390
|
+
var logger185 = createLogger("Google Forms");
|
|
13391
|
+
var GOOGLE_FORMS_SCOPES = [
|
|
13392
|
+
"openid",
|
|
13393
|
+
"email",
|
|
13394
|
+
"https://www.googleapis.com/auth/forms.body",
|
|
13395
|
+
"https://www.googleapis.com/auth/forms.responses.readonly",
|
|
13396
|
+
"https://www.googleapis.com/auth/drive.readonly"
|
|
13397
|
+
];
|
|
13398
|
+
var GOOGLE_FORMS_TOOLS = [
|
|
13399
|
+
"google_forms_create_form",
|
|
13400
|
+
"google_forms_get_form",
|
|
13401
|
+
"google_forms_batch_update_form",
|
|
13402
|
+
"google_forms_list_form_responses",
|
|
13403
|
+
"google_forms_get_form_response"
|
|
13404
|
+
];
|
|
13405
|
+
function googleFormsIntegration(config = {}) {
|
|
13406
|
+
const oauth = { provider: "google_forms", clientId: config.clientId ?? getEnv("GOOGLE_FORMS_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("GOOGLE_FORMS_CLIENT_SECRET"), scopes: config.scopes ?? [...GOOGLE_FORMS_SCOPES], redirectUri: config.redirectUri, config };
|
|
13407
|
+
return {
|
|
13408
|
+
id: "google_forms",
|
|
13409
|
+
name: "Google Forms",
|
|
13410
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_forms.png",
|
|
13411
|
+
description: "Manage Google Forms forms, structure updates, and responses",
|
|
13412
|
+
category: "Productivity",
|
|
13413
|
+
tools: [...GOOGLE_FORMS_TOOLS],
|
|
13414
|
+
authType: "oauth",
|
|
13415
|
+
oauth,
|
|
13416
|
+
async onInit() {
|
|
13417
|
+
logger185.debug("Google Forms integration initialized");
|
|
13418
|
+
},
|
|
13419
|
+
async onAfterConnect() {
|
|
13420
|
+
logger185.debug("Google Forms integration connected");
|
|
13421
|
+
}
|
|
13422
|
+
};
|
|
13423
|
+
}
|
|
13424
|
+
// src/integrations/firebase.ts
|
|
13425
|
+
var logger186 = createLogger("Firebase");
|
|
13426
|
+
var FIREBASE_SCOPES = [
|
|
13427
|
+
"openid",
|
|
13428
|
+
"email",
|
|
13429
|
+
"https://www.googleapis.com/auth/firebase",
|
|
13430
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
13431
|
+
];
|
|
13432
|
+
var FIREBASE_TOOLS = [
|
|
13433
|
+
"firebase_list_projects",
|
|
13434
|
+
"firebase_get_project",
|
|
13435
|
+
"firebase_list_web_apps",
|
|
13436
|
+
"firebase_list_android_apps",
|
|
13437
|
+
"firebase_list_ios_apps",
|
|
13438
|
+
"firebase_create_web_app"
|
|
13439
|
+
];
|
|
13440
|
+
function firebaseIntegration(config = {}) {
|
|
13441
|
+
const oauth = { provider: "firebase", clientId: config.clientId ?? getEnv("FIREBASE_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("FIREBASE_CLIENT_SECRET"), scopes: config.scopes ?? [...FIREBASE_SCOPES], redirectUri: config.redirectUri, config };
|
|
13442
|
+
return {
|
|
13443
|
+
id: "firebase",
|
|
13444
|
+
name: "Firebase",
|
|
13445
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/firebase.png",
|
|
13446
|
+
description: "Manage Firebase projects and registered apps across web, Android, and Apple platforms",
|
|
13447
|
+
category: "Infrastructure",
|
|
13448
|
+
tools: [...FIREBASE_TOOLS],
|
|
13449
|
+
authType: "oauth",
|
|
13450
|
+
oauth,
|
|
13451
|
+
async onInit() {
|
|
13452
|
+
logger186.debug("Firebase integration initialized");
|
|
13453
|
+
},
|
|
13454
|
+
async onAfterConnect() {
|
|
13455
|
+
logger186.debug("Firebase integration connected");
|
|
13456
|
+
}
|
|
13457
|
+
};
|
|
13458
|
+
}
|
|
13459
|
+
// src/integrations/microsoft_to_do.ts
|
|
13460
|
+
var logger187 = createLogger("Microsoft To Do");
|
|
13461
|
+
var MICROSOFT_TO_DO_SCOPES = [
|
|
13462
|
+
"offline_access",
|
|
13463
|
+
"User.Read",
|
|
13464
|
+
"Tasks.ReadWrite"
|
|
13465
|
+
];
|
|
13466
|
+
var MICROSOFT_TO_DO_TOOLS = [
|
|
13467
|
+
"microsoft_to_do_list_task_lists",
|
|
13468
|
+
"microsoft_to_do_get_task_list",
|
|
13469
|
+
"microsoft_to_do_create_task_list",
|
|
13470
|
+
"microsoft_to_do_list_tasks",
|
|
13471
|
+
"microsoft_to_do_get_task",
|
|
13472
|
+
"microsoft_to_do_create_task",
|
|
13473
|
+
"microsoft_to_do_update_task"
|
|
13474
|
+
];
|
|
13475
|
+
function microsoftToDoIntegration(config = {}) {
|
|
13476
|
+
const oauth = { provider: "microsoft_to_do", clientId: config.clientId ?? getEnv("MICROSOFT_TO_DO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("MICROSOFT_TO_DO_CLIENT_SECRET"), scopes: config.scopes ?? [...MICROSOFT_TO_DO_SCOPES], redirectUri: config.redirectUri, config };
|
|
13477
|
+
return {
|
|
13478
|
+
id: "microsoft_to_do",
|
|
13479
|
+
name: "Microsoft To Do",
|
|
13480
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/microsoft_to_do.png",
|
|
13481
|
+
description: "Manage Microsoft To Do task lists and tasks through Microsoft Graph",
|
|
13482
|
+
category: "Productivity",
|
|
13483
|
+
tools: [...MICROSOFT_TO_DO_TOOLS],
|
|
13484
|
+
authType: "oauth",
|
|
13485
|
+
oauth,
|
|
13486
|
+
async onInit() {
|
|
13487
|
+
logger187.debug("Microsoft To Do integration initialized");
|
|
13488
|
+
},
|
|
13489
|
+
async onAfterConnect() {
|
|
13490
|
+
logger187.debug("Microsoft To Do integration connected");
|
|
13491
|
+
}
|
|
13492
|
+
};
|
|
13493
|
+
}
|
|
13494
|
+
// src/integrations/onenote.ts
|
|
13495
|
+
var logger188 = createLogger("OneNote");
|
|
13496
|
+
var ONENOTE_SCOPES = [
|
|
13497
|
+
"offline_access",
|
|
13498
|
+
"User.Read",
|
|
13499
|
+
"Notes.ReadWrite.All"
|
|
13500
|
+
];
|
|
13501
|
+
var ONENOTE_TOOLS = [
|
|
13502
|
+
"onenote_list_notebooks",
|
|
13503
|
+
"onenote_get_notebook",
|
|
13504
|
+
"onenote_list_sections",
|
|
13505
|
+
"onenote_create_section",
|
|
13506
|
+
"onenote_list_pages",
|
|
13507
|
+
"onenote_get_page"
|
|
13508
|
+
];
|
|
13509
|
+
function onenoteIntegration(config = {}) {
|
|
13510
|
+
const oauth = { provider: "onenote", clientId: config.clientId ?? getEnv("ONENOTE_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ONENOTE_CLIENT_SECRET"), scopes: config.scopes ?? [...ONENOTE_SCOPES], redirectUri: config.redirectUri, config };
|
|
13511
|
+
return {
|
|
13512
|
+
id: "onenote",
|
|
13513
|
+
name: "OneNote",
|
|
13514
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/onenote.png",
|
|
13515
|
+
description: "Manage OneNote notebooks, sections, pages, and section creation through Microsoft Graph",
|
|
13516
|
+
category: "Productivity",
|
|
13517
|
+
tools: [...ONENOTE_TOOLS],
|
|
13518
|
+
authType: "oauth",
|
|
13519
|
+
oauth,
|
|
13520
|
+
async onInit() {
|
|
13521
|
+
logger188.debug("OneNote integration initialized");
|
|
13522
|
+
},
|
|
13523
|
+
async onAfterConnect() {
|
|
13524
|
+
logger188.debug("OneNote integration connected");
|
|
13525
|
+
}
|
|
13526
|
+
};
|
|
13527
|
+
}
|
|
13528
|
+
// src/integrations/microsoft_bookings.ts
|
|
13529
|
+
var logger189 = createLogger("Microsoft Bookings");
|
|
13530
|
+
var MICROSOFT_BOOKINGS_SCOPES = [
|
|
13531
|
+
"offline_access",
|
|
13532
|
+
"User.Read",
|
|
13533
|
+
"Bookings.ReadWrite.All"
|
|
13534
|
+
];
|
|
13535
|
+
var MICROSOFT_BOOKINGS_TOOLS = [
|
|
13536
|
+
"microsoft_bookings_list_businesses",
|
|
13537
|
+
"microsoft_bookings_get_business",
|
|
13538
|
+
"microsoft_bookings_list_services",
|
|
13539
|
+
"microsoft_bookings_list_staff_members",
|
|
13540
|
+
"microsoft_bookings_list_appointments",
|
|
13541
|
+
"microsoft_bookings_create_appointment"
|
|
13542
|
+
];
|
|
13543
|
+
function microsoftBookingsIntegration(config = {}) {
|
|
13544
|
+
const oauth = { provider: "microsoft_bookings", clientId: config.clientId ?? getEnv("MICROSOFT_BOOKINGS_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("MICROSOFT_BOOKINGS_CLIENT_SECRET"), scopes: config.scopes ?? [...MICROSOFT_BOOKINGS_SCOPES], redirectUri: config.redirectUri, config };
|
|
13545
|
+
return {
|
|
13546
|
+
id: "microsoft_bookings",
|
|
13547
|
+
name: "Microsoft Bookings",
|
|
13548
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/microsoft_bookings.png",
|
|
13549
|
+
description: "Manage Microsoft Bookings businesses, services, staff members, and appointments",
|
|
13550
|
+
category: "Scheduling",
|
|
13551
|
+
tools: [...MICROSOFT_BOOKINGS_TOOLS],
|
|
13552
|
+
authType: "oauth",
|
|
13553
|
+
oauth,
|
|
13554
|
+
async onInit() {
|
|
13555
|
+
logger189.debug("Microsoft Bookings integration initialized");
|
|
13556
|
+
},
|
|
13557
|
+
async onAfterConnect() {
|
|
13558
|
+
logger189.debug("Microsoft Bookings integration connected");
|
|
13559
|
+
}
|
|
13560
|
+
};
|
|
13561
|
+
}
|
|
13562
|
+
// src/integrations/azure_devops.ts
|
|
13563
|
+
var logger190 = createLogger("Azure DevOps");
|
|
13564
|
+
var AZURE_DEVOPS_SCOPES = [
|
|
13565
|
+
"vso.profile",
|
|
13566
|
+
"vso.project",
|
|
13567
|
+
"vso.code_write",
|
|
13568
|
+
"vso.build",
|
|
13569
|
+
"vso.work_write"
|
|
13570
|
+
];
|
|
13571
|
+
var AZURE_DEVOPS_TOOLS = [
|
|
13572
|
+
"azure_devops_list_projects",
|
|
13573
|
+
"azure_devops_list_repositories",
|
|
13574
|
+
"azure_devops_list_pull_requests",
|
|
13575
|
+
"azure_devops_list_builds",
|
|
13576
|
+
"azure_devops_queue_build",
|
|
13577
|
+
"azure_devops_get_work_item"
|
|
13578
|
+
];
|
|
13579
|
+
function azureDevopsIntegration(config = {}) {
|
|
13580
|
+
const oauth = { provider: "azure_devops", clientId: config.clientId ?? getEnv("AZURE_DEVOPS_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("AZURE_DEVOPS_CLIENT_SECRET"), scopes: config.scopes ?? [...AZURE_DEVOPS_SCOPES], redirectUri: config.redirectUri, config };
|
|
13581
|
+
return {
|
|
13582
|
+
id: "azure_devops",
|
|
13583
|
+
name: "Azure DevOps",
|
|
13584
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/azure_devops.png",
|
|
13585
|
+
description: "Manage Azure DevOps projects, repositories, pull requests, builds, and work items",
|
|
13586
|
+
category: "Engineering",
|
|
13587
|
+
tools: [...AZURE_DEVOPS_TOOLS],
|
|
13588
|
+
authType: "oauth",
|
|
13589
|
+
oauth,
|
|
13590
|
+
async onInit() {
|
|
13591
|
+
logger190.debug("Azure DevOps integration initialized");
|
|
13592
|
+
},
|
|
13593
|
+
async onAfterConnect() {
|
|
13594
|
+
logger190.debug("Azure DevOps integration connected");
|
|
13595
|
+
}
|
|
13596
|
+
};
|
|
13597
|
+
}
|
|
13598
|
+
// src/integrations/google_play_console.ts
|
|
13599
|
+
var logger191 = createLogger("Google Play Console");
|
|
13600
|
+
var GOOGLE_PLAY_CONSOLE_SCOPES = [
|
|
13601
|
+
"openid",
|
|
13602
|
+
"email",
|
|
13603
|
+
"https://www.googleapis.com/auth/androidpublisher"
|
|
13604
|
+
];
|
|
13605
|
+
var GOOGLE_PLAY_CONSOLE_TOOLS = [
|
|
13606
|
+
"google_play_console_insert_edit",
|
|
13607
|
+
"google_play_console_get_edit",
|
|
13608
|
+
"google_play_console_list_tracks",
|
|
13609
|
+
"google_play_console_update_track",
|
|
13610
|
+
"google_play_console_commit_edit",
|
|
13611
|
+
"google_play_console_list_in_app_products"
|
|
13612
|
+
];
|
|
13613
|
+
function googlePlayConsoleIntegration(config = {}) {
|
|
13614
|
+
const oauth = { provider: "google_play_console", clientId: config.clientId ?? getEnv("GOOGLE_PLAY_CONSOLE_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("GOOGLE_PLAY_CONSOLE_CLIENT_SECRET"), scopes: config.scopes ?? [...GOOGLE_PLAY_CONSOLE_SCOPES], redirectUri: config.redirectUri, config };
|
|
13615
|
+
return {
|
|
13616
|
+
id: "google_play_console",
|
|
13617
|
+
name: "Google Play Console",
|
|
13618
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_play_console.png",
|
|
13619
|
+
description: "Manage Google Play edits, tracks, and in-app products through the Android Publisher API",
|
|
13620
|
+
category: "Engineering",
|
|
13621
|
+
tools: [...GOOGLE_PLAY_CONSOLE_TOOLS],
|
|
13622
|
+
authType: "oauth",
|
|
13623
|
+
oauth,
|
|
13624
|
+
async onInit() {
|
|
13625
|
+
logger191.debug("Google Play Console integration initialized");
|
|
13626
|
+
},
|
|
13627
|
+
async onAfterConnect() {
|
|
13628
|
+
logger191.debug("Google Play Console integration connected");
|
|
13629
|
+
}
|
|
13630
|
+
};
|
|
13631
|
+
}
|
|
13632
|
+
// src/integrations/squarespace.ts
|
|
13633
|
+
var logger192 = createLogger("Squarespace");
|
|
13634
|
+
var SQUARESPACE_SCOPES = [];
|
|
13635
|
+
var SQUARESPACE_TOOLS = [
|
|
13636
|
+
"squarespace_list_orders",
|
|
13637
|
+
"squarespace_get_order",
|
|
13638
|
+
"squarespace_list_products",
|
|
13639
|
+
"squarespace_get_product",
|
|
13640
|
+
"squarespace_list_inventory",
|
|
13641
|
+
"squarespace_adjust_inventory"
|
|
13642
|
+
];
|
|
13643
|
+
function squarespaceIntegration(config = {}) {
|
|
13644
|
+
const oauth = { provider: "squarespace", clientId: config.clientId ?? getEnv("SQUARESPACE_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("SQUARESPACE_CLIENT_SECRET"), scopes: config.scopes ?? [...SQUARESPACE_SCOPES], redirectUri: config.redirectUri, config };
|
|
13645
|
+
return {
|
|
13646
|
+
id: "squarespace",
|
|
13647
|
+
name: "Squarespace",
|
|
13648
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/squarespace.png",
|
|
13649
|
+
description: "Manage Squarespace commerce orders, products, inventory, and profiles",
|
|
13650
|
+
category: "Websites & CMS",
|
|
13651
|
+
tools: [...SQUARESPACE_TOOLS],
|
|
13652
|
+
authType: "oauth",
|
|
13653
|
+
oauth,
|
|
13654
|
+
async onInit() {
|
|
13655
|
+
logger192.debug("Squarespace integration initialized");
|
|
13656
|
+
},
|
|
13657
|
+
async onAfterConnect() {
|
|
13658
|
+
logger192.debug("Squarespace integration connected");
|
|
13659
|
+
}
|
|
13660
|
+
};
|
|
13661
|
+
}
|
|
13662
|
+
// src/integrations/zoho_people.ts
|
|
13663
|
+
var logger193 = createLogger("Zoho People");
|
|
13664
|
+
var ZOHO_PEOPLE_SCOPES = [
|
|
13665
|
+
"ZohoPeople.forms.ALL",
|
|
13666
|
+
"ZohoPeople.employee.ALL",
|
|
13667
|
+
"ZohoPeople.leave.ALL",
|
|
13668
|
+
"ZohoPeople.attendance.ALL"
|
|
13669
|
+
];
|
|
13670
|
+
var ZOHO_PEOPLE_TOOLS = [
|
|
13671
|
+
"zoho_people_list_forms",
|
|
13672
|
+
"zoho_people_list_employees",
|
|
13673
|
+
"zoho_people_get_employee",
|
|
13674
|
+
"zoho_people_list_attendance",
|
|
13675
|
+
"zoho_people_list_leave_requests",
|
|
13676
|
+
"zoho_people_list_time_logs"
|
|
13677
|
+
];
|
|
13678
|
+
function zohoPeopleIntegration(config = {}) {
|
|
13679
|
+
const oauth = { provider: "zoho_people", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_PEOPLE_SCOPES], redirectUri: config.redirectUri, config };
|
|
13680
|
+
return {
|
|
13681
|
+
id: "zoho_people",
|
|
13682
|
+
name: "Zoho People",
|
|
13683
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_people.png",
|
|
13684
|
+
description: "Manage Zoho People forms, employees, attendance, leave requests, and time tracking",
|
|
13685
|
+
category: "HR & Recruiting",
|
|
13686
|
+
tools: [...ZOHO_PEOPLE_TOOLS],
|
|
13687
|
+
authType: "oauth",
|
|
13688
|
+
oauth,
|
|
13689
|
+
getHeaders() {
|
|
13690
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
13691
|
+
const headers = {};
|
|
13692
|
+
if (region)
|
|
13693
|
+
headers["X-Zoho-Region"] = region;
|
|
13694
|
+
return headers;
|
|
13695
|
+
},
|
|
13696
|
+
async onInit() {
|
|
13697
|
+
logger193.debug("Zoho People integration initialized");
|
|
13698
|
+
},
|
|
13699
|
+
async onAfterConnect() {
|
|
13700
|
+
logger193.debug("Zoho People integration connected");
|
|
13701
|
+
}
|
|
13702
|
+
};
|
|
13703
|
+
}
|
|
13704
|
+
// src/integrations/zoho_recruit.ts
|
|
13705
|
+
var logger194 = createLogger("Zoho Recruit");
|
|
13706
|
+
var ZOHO_RECRUIT_SCOPES = [
|
|
13707
|
+
"ZohoRecruit.modules.ALL",
|
|
13708
|
+
"ZohoRecruit.settings.ALL"
|
|
13709
|
+
];
|
|
13710
|
+
var ZOHO_RECRUIT_TOOLS = [
|
|
13711
|
+
"zoho_recruit_list_modules",
|
|
13712
|
+
"zoho_recruit_list_candidates",
|
|
13713
|
+
"zoho_recruit_get_candidate",
|
|
13714
|
+
"zoho_recruit_create_candidate",
|
|
13715
|
+
"zoho_recruit_list_job_openings",
|
|
13716
|
+
"zoho_recruit_list_interviews"
|
|
13717
|
+
];
|
|
13718
|
+
function zohoRecruitIntegration(config = {}) {
|
|
13719
|
+
const oauth = { provider: "zoho_recruit", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_RECRUIT_SCOPES], redirectUri: config.redirectUri, config };
|
|
13720
|
+
return {
|
|
13721
|
+
id: "zoho_recruit",
|
|
13722
|
+
name: "Zoho Recruit",
|
|
13723
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_recruit.png",
|
|
13724
|
+
description: "Manage Zoho Recruit candidates, job openings, interviews, and custom modules",
|
|
13725
|
+
category: "HR & Recruiting",
|
|
13726
|
+
tools: [...ZOHO_RECRUIT_TOOLS],
|
|
13727
|
+
authType: "oauth",
|
|
13728
|
+
oauth,
|
|
13729
|
+
getHeaders() {
|
|
13730
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
13731
|
+
const headers = {};
|
|
13732
|
+
if (region)
|
|
13733
|
+
headers["X-Zoho-Region"] = region;
|
|
13734
|
+
return headers;
|
|
13735
|
+
},
|
|
13736
|
+
async onInit() {
|
|
13737
|
+
logger194.debug("Zoho Recruit integration initialized");
|
|
13738
|
+
},
|
|
13739
|
+
async onAfterConnect() {
|
|
13740
|
+
logger194.debug("Zoho Recruit integration connected");
|
|
13741
|
+
}
|
|
13742
|
+
};
|
|
13743
|
+
}
|
|
13744
|
+
// src/integrations/zoho_sign.ts
|
|
13745
|
+
var logger195 = createLogger("Zoho Sign");
|
|
13746
|
+
var ZOHO_SIGN_SCOPES = [
|
|
13747
|
+
"ZohoSign.documents.ALL",
|
|
13748
|
+
"ZohoSign.templates.READ",
|
|
13749
|
+
"ZohoSign.account.READ"
|
|
13750
|
+
];
|
|
13751
|
+
var ZOHO_SIGN_TOOLS = [
|
|
13752
|
+
"zoho_sign_list_requests",
|
|
13753
|
+
"zoho_sign_get_request",
|
|
13754
|
+
"zoho_sign_create_request",
|
|
13755
|
+
"zoho_sign_list_templates",
|
|
13756
|
+
"zoho_sign_get_template",
|
|
13757
|
+
"zoho_sign_list_contacts"
|
|
13758
|
+
];
|
|
13759
|
+
function zohoSignIntegration(config = {}) {
|
|
13760
|
+
const oauth = { provider: "zoho_sign", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_SIGN_SCOPES], redirectUri: config.redirectUri, config };
|
|
13761
|
+
return {
|
|
13762
|
+
id: "zoho_sign",
|
|
13763
|
+
name: "Zoho Sign",
|
|
13764
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_sign.png",
|
|
13765
|
+
description: "Manage Zoho Sign requests, templates, contacts, and signature workflows",
|
|
13766
|
+
category: "Legal",
|
|
13767
|
+
tools: [...ZOHO_SIGN_TOOLS],
|
|
13768
|
+
authType: "oauth",
|
|
13769
|
+
oauth,
|
|
13770
|
+
getHeaders() {
|
|
13771
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
13772
|
+
const headers = {};
|
|
13773
|
+
if (region)
|
|
13774
|
+
headers["X-Zoho-Region"] = region;
|
|
13775
|
+
return headers;
|
|
13776
|
+
},
|
|
13777
|
+
async onInit() {
|
|
13778
|
+
logger195.debug("Zoho Sign integration initialized");
|
|
13779
|
+
},
|
|
13780
|
+
async onAfterConnect() {
|
|
13781
|
+
logger195.debug("Zoho Sign integration connected");
|
|
13782
|
+
}
|
|
13783
|
+
};
|
|
13784
|
+
}
|
|
13785
|
+
// src/integrations/zoho_workdrive.ts
|
|
13786
|
+
var logger196 = createLogger("Zoho WorkDrive");
|
|
13787
|
+
var ZOHO_WORKDRIVE_SCOPES = [
|
|
13788
|
+
"WorkDrive.files.ALL",
|
|
13789
|
+
"WorkDrive.teamfolders.READ",
|
|
13790
|
+
"WorkDrive.users.READ"
|
|
13791
|
+
];
|
|
13792
|
+
var ZOHO_WORKDRIVE_TOOLS = [
|
|
13793
|
+
"zoho_workdrive_list_teams",
|
|
13794
|
+
"zoho_workdrive_list_team_folders",
|
|
13795
|
+
"zoho_workdrive_get_team_folder",
|
|
13796
|
+
"zoho_workdrive_list_files",
|
|
13797
|
+
"zoho_workdrive_get_file",
|
|
13798
|
+
"zoho_workdrive_create_folder"
|
|
13799
|
+
];
|
|
13800
|
+
function zohoWorkdriveIntegration(config = {}) {
|
|
13801
|
+
const oauth = { provider: "zoho_workdrive", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_WORKDRIVE_SCOPES], redirectUri: config.redirectUri, config };
|
|
13802
|
+
return {
|
|
13803
|
+
id: "zoho_workdrive",
|
|
13804
|
+
name: "Zoho WorkDrive",
|
|
13805
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_workdrive.png",
|
|
13806
|
+
description: "Manage Zoho WorkDrive team folders, files, folders, and collaborators",
|
|
13807
|
+
category: "Storage",
|
|
13808
|
+
tools: [...ZOHO_WORKDRIVE_TOOLS],
|
|
13809
|
+
authType: "oauth",
|
|
13810
|
+
oauth,
|
|
13811
|
+
getHeaders() {
|
|
13812
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
13813
|
+
const headers = {};
|
|
13814
|
+
if (region)
|
|
13815
|
+
headers["X-Zoho-Region"] = region;
|
|
13816
|
+
return headers;
|
|
13817
|
+
},
|
|
13818
|
+
async onInit() {
|
|
13819
|
+
logger196.debug("Zoho WorkDrive integration initialized");
|
|
13820
|
+
},
|
|
13821
|
+
async onAfterConnect() {
|
|
13822
|
+
logger196.debug("Zoho WorkDrive integration connected");
|
|
13823
|
+
}
|
|
13824
|
+
};
|
|
13825
|
+
}
|
|
13826
|
+
// src/integrations/zoho_creator.ts
|
|
13827
|
+
var logger197 = createLogger("Zoho Creator");
|
|
13828
|
+
var ZOHO_CREATOR_SCOPES = [
|
|
13829
|
+
"ZohoCreator.meta.READ",
|
|
13830
|
+
"ZohoCreator.data.READ",
|
|
13831
|
+
"ZohoCreator.data.CREATE",
|
|
13832
|
+
"ZohoCreator.data.UPDATE"
|
|
13833
|
+
];
|
|
13834
|
+
var ZOHO_CREATOR_TOOLS = [
|
|
13835
|
+
"zoho_creator_list_applications",
|
|
13836
|
+
"zoho_creator_list_forms",
|
|
13837
|
+
"zoho_creator_list_reports",
|
|
13838
|
+
"zoho_creator_list_records",
|
|
13839
|
+
"zoho_creator_create_record",
|
|
13840
|
+
"zoho_creator_update_record"
|
|
13841
|
+
];
|
|
13842
|
+
function zohoCreatorIntegration(config = {}) {
|
|
13843
|
+
const oauth = { provider: "zoho_creator", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_CREATOR_SCOPES], redirectUri: config.redirectUri, config };
|
|
13844
|
+
return {
|
|
13845
|
+
id: "zoho_creator",
|
|
13846
|
+
name: "Zoho Creator",
|
|
13847
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_creator.png",
|
|
13848
|
+
description: "Manage Zoho Creator applications, forms, reports, and app records",
|
|
13849
|
+
category: "Business",
|
|
13850
|
+
tools: [...ZOHO_CREATOR_TOOLS],
|
|
13851
|
+
authType: "oauth",
|
|
13852
|
+
oauth,
|
|
13853
|
+
getHeaders() {
|
|
13854
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
13855
|
+
const headers = {};
|
|
13856
|
+
if (region)
|
|
13857
|
+
headers["X-Zoho-Region"] = region;
|
|
13858
|
+
return headers;
|
|
13859
|
+
},
|
|
13860
|
+
async onInit() {
|
|
13861
|
+
logger197.debug("Zoho Creator integration initialized");
|
|
13862
|
+
},
|
|
13863
|
+
async onAfterConnect() {
|
|
13864
|
+
logger197.debug("Zoho Creator integration connected");
|
|
13865
|
+
}
|
|
13866
|
+
};
|
|
13867
|
+
}
|
|
13868
|
+
// src/integrations/zoho_inventory.ts
|
|
13869
|
+
var logger198 = createLogger("Zoho Inventory");
|
|
13870
|
+
var ZOHO_INVENTORY_SCOPES = [
|
|
13871
|
+
"ZohoInventory.fullaccess.all"
|
|
13872
|
+
];
|
|
13873
|
+
var ZOHO_INVENTORY_TOOLS = [
|
|
13874
|
+
"zoho_inventory_list_organizations",
|
|
13875
|
+
"zoho_inventory_list_contacts",
|
|
13876
|
+
"zoho_inventory_list_items",
|
|
13877
|
+
"zoho_inventory_list_sales_orders",
|
|
13878
|
+
"zoho_inventory_create_sales_order",
|
|
13879
|
+
"zoho_inventory_list_packages"
|
|
13880
|
+
];
|
|
13881
|
+
function zohoInventoryIntegration(config = {}) {
|
|
13882
|
+
const oauth = { provider: "zoho_inventory", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_INVENTORY_SCOPES], redirectUri: config.redirectUri, config };
|
|
13883
|
+
return {
|
|
13884
|
+
id: "zoho_inventory",
|
|
13885
|
+
name: "Zoho Inventory",
|
|
13886
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_inventory.png",
|
|
13887
|
+
description: "Manage Zoho Inventory organizations, contacts, items, sales orders, packages, and shipments",
|
|
13888
|
+
category: "Commerce",
|
|
13889
|
+
tools: [...ZOHO_INVENTORY_TOOLS],
|
|
13890
|
+
authType: "oauth",
|
|
13891
|
+
oauth,
|
|
13892
|
+
getHeaders() {
|
|
13893
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
13894
|
+
const headers = {};
|
|
13895
|
+
if (region)
|
|
13896
|
+
headers["X-Zoho-Region"] = region;
|
|
13897
|
+
return headers;
|
|
13898
|
+
},
|
|
13899
|
+
async onInit() {
|
|
13900
|
+
logger198.debug("Zoho Inventory integration initialized");
|
|
13901
|
+
},
|
|
13902
|
+
async onAfterConnect() {
|
|
13903
|
+
logger198.debug("Zoho Inventory integration connected");
|
|
13904
|
+
}
|
|
13905
|
+
};
|
|
13906
|
+
}
|
|
13907
|
+
// src/integrations/zoho_billing.ts
|
|
13908
|
+
var logger199 = createLogger("Zoho Billing");
|
|
13909
|
+
var ZOHO_BILLING_SCOPES = [
|
|
13910
|
+
"ZohoBilling.fullaccess.all"
|
|
13911
|
+
];
|
|
13912
|
+
var ZOHO_BILLING_TOOLS = [
|
|
13913
|
+
"zoho_billing_list_organizations",
|
|
13914
|
+
"zoho_billing_list_customers",
|
|
13915
|
+
"zoho_billing_list_items",
|
|
13916
|
+
"zoho_billing_list_subscriptions",
|
|
13917
|
+
"zoho_billing_create_subscription",
|
|
13918
|
+
"zoho_billing_list_invoices"
|
|
13919
|
+
];
|
|
13920
|
+
function zohoBillingIntegration(config = {}) {
|
|
13921
|
+
const oauth = { provider: "zoho_billing", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_BILLING_SCOPES], redirectUri: config.redirectUri, config };
|
|
13922
|
+
return {
|
|
13923
|
+
id: "zoho_billing",
|
|
13924
|
+
name: "Zoho Billing",
|
|
13925
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_billing.png",
|
|
13926
|
+
description: "Manage Zoho Billing organizations, customers, items, subscriptions, and invoices",
|
|
13927
|
+
category: "Accounting",
|
|
13928
|
+
tools: [...ZOHO_BILLING_TOOLS],
|
|
13929
|
+
authType: "oauth",
|
|
13930
|
+
oauth,
|
|
13931
|
+
getHeaders() {
|
|
13932
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
13933
|
+
const headers = {};
|
|
13934
|
+
if (region)
|
|
13935
|
+
headers["X-Zoho-Region"] = region;
|
|
13936
|
+
return headers;
|
|
13937
|
+
},
|
|
13938
|
+
async onInit() {
|
|
13939
|
+
logger199.debug("Zoho Billing integration initialized");
|
|
13940
|
+
},
|
|
13941
|
+
async onAfterConnect() {
|
|
13942
|
+
logger199.debug("Zoho Billing integration connected");
|
|
13943
|
+
}
|
|
13944
|
+
};
|
|
13945
|
+
}
|
|
13946
|
+
// src/integrations/zoho_writer.ts
|
|
13947
|
+
var logger200 = createLogger("Zoho Writer");
|
|
13948
|
+
var ZOHO_WRITER_SCOPES = [
|
|
13949
|
+
"ZohoWriter.documentEditor.ALL",
|
|
13950
|
+
"ZohoWriter.merge.ALL"
|
|
13951
|
+
];
|
|
13952
|
+
var ZOHO_WRITER_TOOLS = [
|
|
13953
|
+
"zoho_writer_list_documents",
|
|
13954
|
+
"zoho_writer_get_document",
|
|
13955
|
+
"zoho_writer_create_document",
|
|
13956
|
+
"zoho_writer_list_templates",
|
|
13957
|
+
"zoho_writer_merge_document",
|
|
13958
|
+
"zoho_writer_export_document"
|
|
13959
|
+
];
|
|
13960
|
+
function zohoWriterIntegration(config = {}) {
|
|
13961
|
+
const oauth = { provider: "zoho_writer", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_WRITER_SCOPES], redirectUri: config.redirectUri, config };
|
|
13962
|
+
return {
|
|
13963
|
+
id: "zoho_writer",
|
|
13964
|
+
name: "Zoho Writer",
|
|
13965
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_writer.png",
|
|
13966
|
+
description: "Manage Zoho Writer documents, templates, merges, and exports",
|
|
13967
|
+
category: "Productivity",
|
|
13968
|
+
tools: [...ZOHO_WRITER_TOOLS],
|
|
13969
|
+
authType: "oauth",
|
|
13970
|
+
oauth,
|
|
13971
|
+
getHeaders() {
|
|
13972
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
13973
|
+
const headers = {};
|
|
13974
|
+
if (region)
|
|
13975
|
+
headers["X-Zoho-Region"] = region;
|
|
13976
|
+
return headers;
|
|
13977
|
+
},
|
|
13978
|
+
async onInit() {
|
|
13979
|
+
logger200.debug("Zoho Writer integration initialized");
|
|
13980
|
+
},
|
|
13981
|
+
async onAfterConnect() {
|
|
13982
|
+
logger200.debug("Zoho Writer integration connected");
|
|
13983
|
+
}
|
|
13984
|
+
};
|
|
13985
|
+
}
|
|
13986
|
+
// src/integrations/zoho_sprints.ts
|
|
13987
|
+
var logger201 = createLogger("Zoho Sprints");
|
|
13988
|
+
var ZOHO_SPRINTS_SCOPES = [
|
|
13989
|
+
"ZohoSprints.projects.ALL",
|
|
13990
|
+
"ZohoSprints.sprints.ALL",
|
|
13991
|
+
"ZohoSprints.workitems.ALL",
|
|
13992
|
+
"ZohoSprints.epics.ALL"
|
|
13993
|
+
];
|
|
13994
|
+
var ZOHO_SPRINTS_TOOLS = [
|
|
13995
|
+
"zoho_sprints_list_portals",
|
|
13996
|
+
"zoho_sprints_list_projects",
|
|
13997
|
+
"zoho_sprints_list_sprints",
|
|
13998
|
+
"zoho_sprints_list_work_items",
|
|
13999
|
+
"zoho_sprints_create_work_item",
|
|
14000
|
+
"zoho_sprints_list_epics"
|
|
14001
|
+
];
|
|
14002
|
+
function zohoSprintsIntegration(config = {}) {
|
|
14003
|
+
const oauth = { provider: "zoho_sprints", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_SPRINTS_SCOPES], redirectUri: config.redirectUri, config };
|
|
14004
|
+
return {
|
|
14005
|
+
id: "zoho_sprints",
|
|
14006
|
+
name: "Zoho Sprints",
|
|
14007
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_sprints.png",
|
|
14008
|
+
description: "Manage Zoho Sprints portals, projects, sprints, epics, and work items",
|
|
14009
|
+
category: "Engineering",
|
|
14010
|
+
tools: [...ZOHO_SPRINTS_TOOLS],
|
|
14011
|
+
authType: "oauth",
|
|
14012
|
+
oauth,
|
|
14013
|
+
getHeaders() {
|
|
14014
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
14015
|
+
const headers = {};
|
|
14016
|
+
if (region)
|
|
14017
|
+
headers["X-Zoho-Region"] = region;
|
|
14018
|
+
return headers;
|
|
14019
|
+
},
|
|
14020
|
+
async onInit() {
|
|
14021
|
+
logger201.debug("Zoho Sprints integration initialized");
|
|
14022
|
+
},
|
|
14023
|
+
async onAfterConnect() {
|
|
14024
|
+
logger201.debug("Zoho Sprints integration connected");
|
|
14025
|
+
}
|
|
14026
|
+
};
|
|
14027
|
+
}
|
|
13223
14028
|
// src/triggers/types.ts
|
|
13224
14029
|
var MAX_TRIGGER_STEPS = 20;
|
|
13225
14030
|
var WEBHOOK_DELIVERY_TIMEOUT_MS = 1e4;
|
|
@@ -13234,7 +14039,7 @@ function validateStepLimit(stepIndex, maxSteps) {
|
|
|
13234
14039
|
return { valid: true };
|
|
13235
14040
|
}
|
|
13236
14041
|
// src/triggers/webhooks.ts
|
|
13237
|
-
var
|
|
14042
|
+
var logger202 = createLogger("Webhooks", "server");
|
|
13238
14043
|
async function signPayload(payload, secret) {
|
|
13239
14044
|
const encoder = new TextEncoder;
|
|
13240
14045
|
const data = encoder.encode(JSON.stringify(payload));
|
|
@@ -13260,7 +14065,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
|
|
|
13260
14065
|
signal: controller.signal
|
|
13261
14066
|
});
|
|
13262
14067
|
if (!response.ok) {
|
|
13263
|
-
|
|
14068
|
+
logger202.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
|
|
13264
14069
|
}
|
|
13265
14070
|
} finally {
|
|
13266
14071
|
clearTimeout(timeout);
|
|
@@ -13273,7 +14078,7 @@ async function deliverWebhooks(webhooks, payload, timeoutMs) {
|
|
|
13273
14078
|
for (let i = 0;i < results.length; i++) {
|
|
13274
14079
|
const result = results[i];
|
|
13275
14080
|
if (result.status === "rejected") {
|
|
13276
|
-
|
|
14081
|
+
logger202.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
|
|
13277
14082
|
}
|
|
13278
14083
|
}
|
|
13279
14084
|
}
|
|
@@ -13311,13 +14116,22 @@ function createSimpleIntegration(config) {
|
|
|
13311
14116
|
}
|
|
13312
14117
|
export {
|
|
13313
14118
|
zoomIntegration,
|
|
14119
|
+
zohoWriterIntegration,
|
|
14120
|
+
zohoWorkdriveIntegration,
|
|
14121
|
+
zohoSprintsIntegration,
|
|
14122
|
+
zohoSignIntegration,
|
|
14123
|
+
zohoRecruitIntegration,
|
|
13314
14124
|
zohoProjectsIntegration,
|
|
14125
|
+
zohoPeopleIntegration,
|
|
13315
14126
|
zohoMailIntegration,
|
|
13316
14127
|
zohoInvoiceIntegration,
|
|
14128
|
+
zohoInventoryIntegration,
|
|
13317
14129
|
zohoDeskIntegration,
|
|
13318
14130
|
zohoCrmIntegration,
|
|
14131
|
+
zohoCreatorIntegration,
|
|
13319
14132
|
zohoCampaignsIntegration,
|
|
13320
14133
|
zohoBooksIntegration,
|
|
14134
|
+
zohoBillingIntegration,
|
|
13321
14135
|
zohoAnalyticsIntegration,
|
|
13322
14136
|
zendeskIntegration,
|
|
13323
14137
|
zapierIntegration,
|
|
@@ -13360,6 +14174,7 @@ export {
|
|
|
13360
14174
|
supabaseIntegration,
|
|
13361
14175
|
stripeIntegration,
|
|
13362
14176
|
stravaIntegration,
|
|
14177
|
+
squarespaceIntegration,
|
|
13363
14178
|
squareIntegration,
|
|
13364
14179
|
spotifyIntegration,
|
|
13365
14180
|
sonosIntegration,
|
|
@@ -13401,6 +14216,7 @@ export {
|
|
|
13401
14216
|
pandadocIntegration,
|
|
13402
14217
|
outlookIntegration,
|
|
13403
14218
|
ouraIntegration,
|
|
14219
|
+
onenoteIntegration,
|
|
13404
14220
|
oneloginIntegration,
|
|
13405
14221
|
onedriveIntegration,
|
|
13406
14222
|
oktaIntegration,
|
|
@@ -13412,8 +14228,10 @@ export {
|
|
|
13412
14228
|
mondayIntegration,
|
|
13413
14229
|
miroIntegration,
|
|
13414
14230
|
mieleIntegration,
|
|
14231
|
+
microsoftToDoIntegration,
|
|
13415
14232
|
microsoftGraphEducationIntegration,
|
|
13416
14233
|
microsoftEntraIdIntegration,
|
|
14234
|
+
microsoftBookingsIntegration,
|
|
13417
14235
|
microsoftAdsIntegration,
|
|
13418
14236
|
metaAdsIntegration,
|
|
13419
14237
|
mercuryIntegration,
|
|
@@ -13424,6 +14242,7 @@ export {
|
|
|
13424
14242
|
linkedinIntegration,
|
|
13425
14243
|
linearIntegration,
|
|
13426
14244
|
leverIntegration,
|
|
14245
|
+
klaviyoIntegration,
|
|
13427
14246
|
kickIntegration,
|
|
13428
14247
|
jiraIntegration,
|
|
13429
14248
|
isTokenExpiredError,
|
|
@@ -13438,7 +14257,9 @@ export {
|
|
|
13438
14257
|
gsheetsIntegration,
|
|
13439
14258
|
greenhouseIntegration,
|
|
13440
14259
|
granolaIntegration,
|
|
14260
|
+
googlePlayConsoleIntegration,
|
|
13441
14261
|
googleHomeIntegration,
|
|
14262
|
+
googleFormsIntegration,
|
|
13442
14263
|
googleClassroomIntegration,
|
|
13443
14264
|
googleAdsIntegration,
|
|
13444
14265
|
gocardlessIntegration,
|
|
@@ -13464,6 +14285,7 @@ export {
|
|
|
13464
14285
|
freeagentIntegration,
|
|
13465
14286
|
foursquareIntegration,
|
|
13466
14287
|
fitbitIntegration,
|
|
14288
|
+
firebaseIntegration,
|
|
13467
14289
|
figmaIntegration,
|
|
13468
14290
|
fedexIntegration,
|
|
13469
14291
|
facebookIntegration,
|
|
@@ -13499,6 +14321,7 @@ export {
|
|
|
13499
14321
|
clearClientCache,
|
|
13500
14322
|
canvasLmsIntegration,
|
|
13501
14323
|
canvaIntegration,
|
|
14324
|
+
calendlyIntegration,
|
|
13502
14325
|
calcomIntegration,
|
|
13503
14326
|
buildPhantomBrowseDeeplink,
|
|
13504
14327
|
boxIntegration,
|
|
@@ -13508,6 +14331,7 @@ export {
|
|
|
13508
14331
|
bigcommerceIntegration,
|
|
13509
14332
|
betterstackIntegration,
|
|
13510
14333
|
bamboohrIntegration,
|
|
14334
|
+
azureDevopsIntegration,
|
|
13511
14335
|
awsIntegration,
|
|
13512
14336
|
auth0Integration,
|
|
13513
14337
|
attioIntegration,
|