integrate-sdk 0.9.53-dev.0 → 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 +90 -14
- package/dist/adapters/base-handler.js +90 -14
- package/dist/adapters/index.js +152 -18
- package/dist/adapters/nextjs.js +90 -14
- package/dist/adapters/solid-start.js +152 -18
- package/dist/adapters/svelte-kit.js +152 -18
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +888 -43
- package/dist/integrations.js +869 -43
- package/dist/oauth.js +90 -14
- package/dist/server.js +910 -66
- 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/ramp.d.ts.map +1 -1
- 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/server.js
CHANGED
|
@@ -141,7 +141,7 @@ var init_library_metadata = __esm(() => {
|
|
|
141
141
|
category: "Lifestyle"
|
|
142
142
|
},
|
|
143
143
|
google_home: {
|
|
144
|
-
description: "Manage Google Home
|
|
144
|
+
description: "Manage Google Home devices, structures, rooms, and device commands",
|
|
145
145
|
category: "Lifestyle"
|
|
146
146
|
},
|
|
147
147
|
sonos: {
|
|
@@ -206,11 +206,87 @@ var init_library_metadata = __esm(() => {
|
|
|
206
206
|
},
|
|
207
207
|
wordpress: {
|
|
208
208
|
description: "Manage WordPress get site, list posts, get post, create post, update post",
|
|
209
|
-
category: "CMS"
|
|
209
|
+
category: "Websites & CMS"
|
|
210
210
|
},
|
|
211
211
|
contentful: {
|
|
212
212
|
description: "Manage Contentful list spaces, get space, list entries, get entry, create entry",
|
|
213
|
-
category: "CMS"
|
|
213
|
+
category: "Websites & CMS"
|
|
214
|
+
},
|
|
215
|
+
calendly: {
|
|
216
|
+
description: "Manage Calendly user profiles, event types, scheduled events, invitees, and availability schedules",
|
|
217
|
+
category: "Scheduling"
|
|
218
|
+
},
|
|
219
|
+
klaviyo: {
|
|
220
|
+
description: "Manage Klaviyo accounts, profiles, lists, segments, campaigns, and metrics",
|
|
221
|
+
category: "Marketing"
|
|
222
|
+
},
|
|
223
|
+
google_forms: {
|
|
224
|
+
description: "Manage Google Forms forms, structure updates, and responses",
|
|
225
|
+
category: "Productivity"
|
|
226
|
+
},
|
|
227
|
+
firebase: {
|
|
228
|
+
description: "Manage Firebase projects and registered apps across web, Android, and Apple platforms",
|
|
229
|
+
category: "Infrastructure"
|
|
230
|
+
},
|
|
231
|
+
microsoft_to_do: {
|
|
232
|
+
description: "Manage Microsoft To Do task lists and tasks through Microsoft Graph",
|
|
233
|
+
category: "Productivity"
|
|
234
|
+
},
|
|
235
|
+
onenote: {
|
|
236
|
+
description: "Manage OneNote notebooks, sections, pages, and section creation through Microsoft Graph",
|
|
237
|
+
category: "Productivity"
|
|
238
|
+
},
|
|
239
|
+
microsoft_bookings: {
|
|
240
|
+
description: "Manage Microsoft Bookings businesses, services, staff members, and appointments",
|
|
241
|
+
category: "Scheduling"
|
|
242
|
+
},
|
|
243
|
+
azure_devops: {
|
|
244
|
+
description: "Manage Azure DevOps projects, repositories, pull requests, builds, and work items",
|
|
245
|
+
category: "Engineering"
|
|
246
|
+
},
|
|
247
|
+
google_play_console: {
|
|
248
|
+
description: "Manage Google Play edits, tracks, and in-app products through the Android Publisher API",
|
|
249
|
+
category: "Engineering"
|
|
250
|
+
},
|
|
251
|
+
squarespace: {
|
|
252
|
+
description: "Manage Squarespace commerce orders, products, inventory, and profiles",
|
|
253
|
+
category: "Websites & CMS"
|
|
254
|
+
},
|
|
255
|
+
zoho_people: {
|
|
256
|
+
description: "Manage Zoho People forms, employees, attendance, leave requests, and time tracking",
|
|
257
|
+
category: "HR & Recruiting"
|
|
258
|
+
},
|
|
259
|
+
zoho_recruit: {
|
|
260
|
+
description: "Manage Zoho Recruit candidates, job openings, interviews, and custom modules",
|
|
261
|
+
category: "HR & Recruiting"
|
|
262
|
+
},
|
|
263
|
+
zoho_sign: {
|
|
264
|
+
description: "Manage Zoho Sign requests, templates, contacts, and signature workflows",
|
|
265
|
+
category: "Legal"
|
|
266
|
+
},
|
|
267
|
+
zoho_workdrive: {
|
|
268
|
+
description: "Manage Zoho WorkDrive team folders, files, folders, and collaborators",
|
|
269
|
+
category: "Storage"
|
|
270
|
+
},
|
|
271
|
+
zoho_creator: {
|
|
272
|
+
description: "Manage Zoho Creator applications, forms, reports, and app records",
|
|
273
|
+
category: "Business"
|
|
274
|
+
},
|
|
275
|
+
zoho_inventory: {
|
|
276
|
+
description: "Manage Zoho Inventory organizations, contacts, items, sales orders, packages, and shipments",
|
|
277
|
+
category: "Commerce"
|
|
278
|
+
},
|
|
279
|
+
zoho_billing: {
|
|
280
|
+
description: "Manage Zoho Billing organizations, customers, items, subscriptions, and invoices",
|
|
281
|
+
category: "Accounting"
|
|
282
|
+
},
|
|
283
|
+
zoho_writer: {
|
|
284
|
+
description: "Manage Zoho Writer documents, templates, merges, and exports",
|
|
285
|
+
category: "Productivity"
|
|
286
|
+
},
|
|
287
|
+
zoho_sprints: {
|
|
288
|
+
description: "Manage Zoho Sprints portals, projects, sprints, epics, and work items",
|
|
289
|
+
category: "Engineering"
|
|
214
290
|
},
|
|
215
291
|
canvas_lms: {
|
|
216
292
|
description: "Manage Canvas LMS list courses, get course, list assignments, create assignment, list submissions",
|
|
@@ -289,7 +365,7 @@ var init_library_metadata = __esm(() => {
|
|
|
289
365
|
category: "Accounting"
|
|
290
366
|
},
|
|
291
367
|
sage: {
|
|
292
|
-
description: "Manage Sage
|
|
368
|
+
description: "Manage Sage business details, contacts, products, and sales invoices",
|
|
293
369
|
category: "Accounting"
|
|
294
370
|
},
|
|
295
371
|
freeagent: {
|
|
@@ -329,7 +405,7 @@ var init_library_metadata = __esm(() => {
|
|
|
329
405
|
category: "Banking"
|
|
330
406
|
},
|
|
331
407
|
gocardless: {
|
|
332
|
-
description: "Manage GoCardless
|
|
408
|
+
description: "Manage GoCardless institutions, requisitions, accounts, balances, and transactions",
|
|
333
409
|
category: "Banking"
|
|
334
410
|
},
|
|
335
411
|
google_ads: {
|
|
@@ -426,7 +502,7 @@ var init_library_metadata = __esm(() => {
|
|
|
426
502
|
},
|
|
427
503
|
calcom: {
|
|
428
504
|
description: "Manage Cal.com bookings and schedules",
|
|
429
|
-
category: "
|
|
505
|
+
category: "Scheduling"
|
|
430
506
|
},
|
|
431
507
|
canva: {
|
|
432
508
|
description: "List and create Canva designs, manage folders, and export assets",
|
|
@@ -541,8 +617,8 @@ var init_library_metadata = __esm(() => {
|
|
|
541
617
|
category: "Engineering"
|
|
542
618
|
},
|
|
543
619
|
ramp: {
|
|
544
|
-
description: "Manage Ramp corporate cards, bills, and spend",
|
|
545
|
-
category: "
|
|
620
|
+
description: "Manage Ramp corporate cards, bills, reimbursements, and spend controls",
|
|
621
|
+
category: "Finance"
|
|
546
622
|
},
|
|
547
623
|
quickbooks: {
|
|
548
624
|
description: "Manage QuickBooks Online accounting data, invoices, bills, payments, and reports",
|
|
@@ -638,7 +714,7 @@ var init_library_metadata = __esm(() => {
|
|
|
638
714
|
},
|
|
639
715
|
workos: {
|
|
640
716
|
description: "Manage WorkOS organizations, users, directory sync, and AuthKit",
|
|
641
|
-
category: "
|
|
717
|
+
category: "Identity & Access"
|
|
642
718
|
},
|
|
643
719
|
whatsapp: {
|
|
644
720
|
description: "Send WhatsApp messages and templates",
|
|
@@ -722,7 +798,7 @@ var init_library_metadata = __esm(() => {
|
|
|
722
798
|
},
|
|
723
799
|
clerk: {
|
|
724
800
|
description: "Manage Clerk users, organizations, and authentication",
|
|
725
|
-
category: "
|
|
801
|
+
category: "Identity & Access"
|
|
726
802
|
},
|
|
727
803
|
clickup: {
|
|
728
804
|
description: "Manage ClickUp tasks, lists, spaces, and workspaces",
|
|
@@ -802,15 +878,15 @@ var init_library_metadata = __esm(() => {
|
|
|
802
878
|
},
|
|
803
879
|
typeform: {
|
|
804
880
|
description: "Create and manage Typeform surveys and responses",
|
|
805
|
-
category: "
|
|
881
|
+
category: "Productivity"
|
|
806
882
|
},
|
|
807
883
|
webflow: {
|
|
808
884
|
description: "Manage Webflow sites, collections, and CMS content",
|
|
809
|
-
category: "
|
|
885
|
+
category: "Websites & CMS"
|
|
810
886
|
},
|
|
811
887
|
workday: {
|
|
812
888
|
description: "Read Workday HR data including workers, organizations, and pay",
|
|
813
|
-
category: "
|
|
889
|
+
category: "HR & Recruiting"
|
|
814
890
|
},
|
|
815
891
|
xero: {
|
|
816
892
|
description: "Manage Xero invoices, contacts, and accounting data",
|
|
@@ -818,7 +894,7 @@ var init_library_metadata = __esm(() => {
|
|
|
818
894
|
},
|
|
819
895
|
zapier: {
|
|
820
896
|
description: "Trigger and manage Zapier automation workflows",
|
|
821
|
-
category: "
|
|
897
|
+
category: "Productivity"
|
|
822
898
|
}
|
|
823
899
|
};
|
|
824
900
|
});
|
|
@@ -2987,7 +3063,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
|
|
|
2987
3063
|
signal: controller.signal
|
|
2988
3064
|
});
|
|
2989
3065
|
if (!response.ok) {
|
|
2990
|
-
|
|
3066
|
+
logger201.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
|
|
2991
3067
|
}
|
|
2992
3068
|
} finally {
|
|
2993
3069
|
clearTimeout(timeout);
|
|
@@ -3000,14 +3076,14 @@ async function deliverWebhooks(webhooks, payload, timeoutMs) {
|
|
|
3000
3076
|
for (let i = 0;i < results.length; i++) {
|
|
3001
3077
|
const result = results[i];
|
|
3002
3078
|
if (result.status === "rejected") {
|
|
3003
|
-
|
|
3079
|
+
logger201.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
|
|
3004
3080
|
}
|
|
3005
3081
|
}
|
|
3006
3082
|
}
|
|
3007
|
-
var
|
|
3083
|
+
var logger201;
|
|
3008
3084
|
var init_webhooks = __esm(() => {
|
|
3009
3085
|
init_logger();
|
|
3010
|
-
|
|
3086
|
+
logger201 = createLogger("Webhooks", "server");
|
|
3011
3087
|
});
|
|
3012
3088
|
|
|
3013
3089
|
// src/triggers/types.ts
|
|
@@ -3027,13 +3103,13 @@ async function executeTrigger(trigger, config, context) {
|
|
|
3027
3103
|
while (stepIndex < MAX_TRIGGER_STEPS) {
|
|
3028
3104
|
const stepValidation = validateStepLimit(stepIndex, MAX_TRIGGER_STEPS);
|
|
3029
3105
|
if (!stepValidation.valid) {
|
|
3030
|
-
|
|
3106
|
+
logger202.error(`[Trigger ${trigger.id}] ${stepValidation.error}`);
|
|
3031
3107
|
break;
|
|
3032
3108
|
}
|
|
3033
3109
|
const providerToken = await config.getProviderToken(currentProvider, undefined, context);
|
|
3034
3110
|
if (!providerToken) {
|
|
3035
3111
|
const error = `No OAuth token available for provider '${currentProvider}'`;
|
|
3036
|
-
|
|
3112
|
+
logger202.error(`[Trigger ${trigger.id}] ${error}`);
|
|
3037
3113
|
steps.push({
|
|
3038
3114
|
stepIndex,
|
|
3039
3115
|
toolName: currentToolName,
|
|
@@ -3059,7 +3135,7 @@ async function executeTrigger(trigger, config, context) {
|
|
|
3059
3135
|
} catch (err) {
|
|
3060
3136
|
stepSuccess = false;
|
|
3061
3137
|
stepError = err.message || "Tool execution failed";
|
|
3062
|
-
|
|
3138
|
+
logger202.error(`[Trigger ${trigger.id}] Step ${stepIndex} failed:`, err);
|
|
3063
3139
|
}
|
|
3064
3140
|
if (stepSuccess && toolResult) {
|
|
3065
3141
|
if (toolResult.isError === true) {
|
|
@@ -3152,7 +3228,7 @@ async function executeTrigger(trigger, config, context) {
|
|
|
3152
3228
|
return { success: steps.every((s) => s.success), steps, error: stepError };
|
|
3153
3229
|
}
|
|
3154
3230
|
const limitError = `Trigger execution exceeded maximum of ${MAX_TRIGGER_STEPS} steps`;
|
|
3155
|
-
|
|
3231
|
+
logger202.error(`[Trigger ${trigger.id}] ${limitError}`);
|
|
3156
3232
|
await config.triggers.update(trigger.id, {
|
|
3157
3233
|
lastRunAt: new Date().toISOString(),
|
|
3158
3234
|
runCount: (trigger.runCount || 0) + 1,
|
|
@@ -3161,12 +3237,12 @@ async function executeTrigger(trigger, config, context) {
|
|
|
3161
3237
|
}, context);
|
|
3162
3238
|
return { success: false, steps, error: limitError };
|
|
3163
3239
|
}
|
|
3164
|
-
var
|
|
3240
|
+
var logger202;
|
|
3165
3241
|
var init_executor2 = __esm(() => {
|
|
3166
3242
|
init_logger();
|
|
3167
3243
|
init_utils();
|
|
3168
3244
|
init_webhooks();
|
|
3169
|
-
|
|
3245
|
+
logger202 = createLogger("TriggerExecutor", "server");
|
|
3170
3246
|
});
|
|
3171
3247
|
|
|
3172
3248
|
// src/protocol/jsonrpc.ts
|
|
@@ -8139,7 +8215,7 @@ function philipsHueIntegration(config = {}) {
|
|
|
8139
8215
|
}
|
|
8140
8216
|
// src/integrations/google_home.ts
|
|
8141
8217
|
init_logger();
|
|
8142
|
-
var logger56 = createLogger("Google Home
|
|
8218
|
+
var logger56 = createLogger("Google Home");
|
|
8143
8219
|
var GOOGLE_HOME_SCOPES = [
|
|
8144
8220
|
"https://www.googleapis.com/auth/sdm.service"
|
|
8145
8221
|
];
|
|
@@ -8154,18 +8230,18 @@ function googleHomeIntegration(config = {}) {
|
|
|
8154
8230
|
const oauth = { provider: "google_home", clientId: config.clientId ?? getEnv("GOOGLE_HOME_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("GOOGLE_HOME_CLIENT_SECRET"), scopes: config.scopes ?? [...GOOGLE_HOME_SCOPES], redirectUri: config.redirectUri, config };
|
|
8155
8231
|
return {
|
|
8156
8232
|
id: "google_home",
|
|
8157
|
-
name: "Google Home
|
|
8233
|
+
name: "Google Home",
|
|
8158
8234
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_home.png",
|
|
8159
|
-
description: "Manage Google Home
|
|
8235
|
+
description: "Manage Google Home devices, structures, rooms, and device commands",
|
|
8160
8236
|
category: "Lifestyle",
|
|
8161
8237
|
tools: [...GOOGLE_HOME_TOOLS],
|
|
8162
8238
|
authType: "oauth",
|
|
8163
8239
|
oauth,
|
|
8164
8240
|
async onInit() {
|
|
8165
|
-
logger56.debug("Google Home
|
|
8241
|
+
logger56.debug("Google Home integration initialized");
|
|
8166
8242
|
},
|
|
8167
8243
|
async onAfterConnect() {
|
|
8168
|
-
logger56.debug("Google Home
|
|
8244
|
+
logger56.debug("Google Home integration connected");
|
|
8169
8245
|
}
|
|
8170
8246
|
};
|
|
8171
8247
|
}
|
|
@@ -8718,7 +8794,7 @@ function wordpressIntegration(config = {}) {
|
|
|
8718
8794
|
name: "WordPress",
|
|
8719
8795
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/wordpress.png",
|
|
8720
8796
|
description: "Manage WordPress get site, list posts, get post, create post, update post",
|
|
8721
|
-
category: "CMS",
|
|
8797
|
+
category: "Websites & CMS",
|
|
8722
8798
|
tools: [...WORDPRESS_TOOLS],
|
|
8723
8799
|
authType: "oauth",
|
|
8724
8800
|
oauth,
|
|
@@ -8757,7 +8833,7 @@ function contentfulIntegration(config = {}) {
|
|
|
8757
8833
|
name: "Contentful",
|
|
8758
8834
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/contentful.png",
|
|
8759
8835
|
description: "Manage Contentful list spaces, get space, list entries, get entry, create entry",
|
|
8760
|
-
category: "CMS",
|
|
8836
|
+
category: "Websites & CMS",
|
|
8761
8837
|
tools: [...CONTENTFUL_TOOLS],
|
|
8762
8838
|
authType: "oauth",
|
|
8763
8839
|
oauth,
|
|
@@ -9475,7 +9551,7 @@ function exactOnlineIntegration(config = {}) {
|
|
|
9475
9551
|
}
|
|
9476
9552
|
// src/integrations/sage.ts
|
|
9477
9553
|
init_logger();
|
|
9478
|
-
var logger93 = createLogger("Sage
|
|
9554
|
+
var logger93 = createLogger("Sage");
|
|
9479
9555
|
var SAGE_SCOPES = [
|
|
9480
9556
|
"full_access"
|
|
9481
9557
|
];
|
|
@@ -9491,18 +9567,18 @@ function sageIntegration(config = {}) {
|
|
|
9491
9567
|
const oauth = { provider: "sage", clientId: config.clientId ?? getEnv("SAGE_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("SAGE_CLIENT_SECRET"), scopes: config.scopes ?? [...SAGE_SCOPES], redirectUri: config.redirectUri, config };
|
|
9492
9568
|
return {
|
|
9493
9569
|
id: "sage",
|
|
9494
|
-
name: "Sage
|
|
9570
|
+
name: "Sage",
|
|
9495
9571
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/sage.png",
|
|
9496
|
-
description: "Manage Sage
|
|
9572
|
+
description: "Manage Sage business details, contacts, products, and sales invoices",
|
|
9497
9573
|
category: "Accounting",
|
|
9498
9574
|
tools: [...SAGE_TOOLS],
|
|
9499
9575
|
authType: "oauth",
|
|
9500
9576
|
oauth,
|
|
9501
9577
|
async onInit() {
|
|
9502
|
-
logger93.debug("Sage
|
|
9578
|
+
logger93.debug("Sage integration initialized");
|
|
9503
9579
|
},
|
|
9504
9580
|
async onAfterConnect() {
|
|
9505
|
-
logger93.debug("Sage
|
|
9581
|
+
logger93.debug("Sage integration connected");
|
|
9506
9582
|
}
|
|
9507
9583
|
};
|
|
9508
9584
|
}
|
|
@@ -9837,7 +9913,7 @@ function tinkIntegration(config = {}) {
|
|
|
9837
9913
|
}
|
|
9838
9914
|
// src/integrations/gocardless.ts
|
|
9839
9915
|
init_logger();
|
|
9840
|
-
var logger103 = createLogger("GoCardless
|
|
9916
|
+
var logger103 = createLogger("GoCardless");
|
|
9841
9917
|
var GOCARDLESS_SCOPES = [
|
|
9842
9918
|
"openid",
|
|
9843
9919
|
"accounts",
|
|
@@ -9856,18 +9932,18 @@ function gocardlessIntegration(config = {}) {
|
|
|
9856
9932
|
const oauth = { provider: "gocardless", clientId: config.clientId ?? getEnv("GOCARDLESS_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("GOCARDLESS_CLIENT_SECRET"), scopes: config.scopes ?? [...GOCARDLESS_SCOPES], redirectUri: config.redirectUri, config };
|
|
9857
9933
|
return {
|
|
9858
9934
|
id: "gocardless",
|
|
9859
|
-
name: "GoCardless
|
|
9935
|
+
name: "GoCardless",
|
|
9860
9936
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/gocardless.png",
|
|
9861
|
-
description: "Manage GoCardless
|
|
9937
|
+
description: "Manage GoCardless institutions, requisitions, accounts, balances, and transactions",
|
|
9862
9938
|
category: "Banking",
|
|
9863
9939
|
tools: [...GOCARDLESS_TOOLS],
|
|
9864
9940
|
authType: "oauth",
|
|
9865
9941
|
oauth,
|
|
9866
9942
|
async onInit() {
|
|
9867
|
-
logger103.debug("GoCardless
|
|
9943
|
+
logger103.debug("GoCardless integration initialized");
|
|
9868
9944
|
},
|
|
9869
9945
|
async onAfterConnect() {
|
|
9870
|
-
logger103.debug("GoCardless
|
|
9946
|
+
logger103.debug("GoCardless integration connected");
|
|
9871
9947
|
}
|
|
9872
9948
|
};
|
|
9873
9949
|
}
|
|
@@ -10736,7 +10812,7 @@ function astronomerIntegration(options = {}) {
|
|
|
10736
10812
|
name: "Astronomer",
|
|
10737
10813
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/astronomer.png",
|
|
10738
10814
|
description: "Manage Astro organizations, workspaces, deployments, clusters, and deploy history via the Astro API v1",
|
|
10739
|
-
category: "
|
|
10815
|
+
category: "Engineering",
|
|
10740
10816
|
tools: [...ASTRONOMER_TOOLS],
|
|
10741
10817
|
authType: "apiKey",
|
|
10742
10818
|
getHeaders() {
|
|
@@ -10778,7 +10854,7 @@ function betterstackIntegration(options = {}) {
|
|
|
10778
10854
|
name: "Better Stack",
|
|
10779
10855
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/betterstack.png",
|
|
10780
10856
|
description: "Ingest and manage log sources, collectors, and metrics with Better Stack Logs (Logtail) Telemetry API",
|
|
10781
|
-
category: "
|
|
10857
|
+
category: "Engineering",
|
|
10782
10858
|
tools: [...BETTERSTACK_TOOLS],
|
|
10783
10859
|
authType: "apiKey",
|
|
10784
10860
|
getHeaders() {
|
|
@@ -10991,7 +11067,10 @@ function calcomIntegration(config = {}) {
|
|
|
10991
11067
|
id: "calcom",
|
|
10992
11068
|
name: "Cal.com",
|
|
10993
11069
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/calcom.jpeg",
|
|
11070
|
+
description: "Manage Cal.com bookings and schedules",
|
|
11071
|
+
category: "Scheduling",
|
|
10994
11072
|
tools: [...CALCOM_TOOLS],
|
|
11073
|
+
authType: "oauth",
|
|
10995
11074
|
oauth,
|
|
10996
11075
|
async onInit(_client) {
|
|
10997
11076
|
logger122.debug("Cal.com integration initialized");
|
|
@@ -11032,6 +11111,8 @@ function rampIntegration(config = {}) {
|
|
|
11032
11111
|
id: "ramp",
|
|
11033
11112
|
name: "Ramp",
|
|
11034
11113
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/ramp.jpeg",
|
|
11114
|
+
description: "Manage Ramp corporate cards, bills, reimbursements, and spend controls",
|
|
11115
|
+
category: "Finance",
|
|
11035
11116
|
tools: [...RAMP_TOOLS],
|
|
11036
11117
|
oauth,
|
|
11037
11118
|
async onInit(_client) {
|
|
@@ -12612,7 +12693,7 @@ function webflowIntegration(config = {}) {
|
|
|
12612
12693
|
name: "Webflow",
|
|
12613
12694
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/webflow.png",
|
|
12614
12695
|
description: "Manage Webflow sites, CMS collections, pages, forms, and publishing",
|
|
12615
|
-
category: "
|
|
12696
|
+
category: "Websites & CMS",
|
|
12616
12697
|
tools: [...WEBFLOW_TOOLS],
|
|
12617
12698
|
oauth,
|
|
12618
12699
|
async onInit(_client) {
|
|
@@ -13242,7 +13323,7 @@ function convexIntegration(options = {}) {
|
|
|
13242
13323
|
name: "Convex",
|
|
13243
13324
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/convex.png",
|
|
13244
13325
|
description: "Manage Convex projects, deployments, regions, classes, and environment variables",
|
|
13245
|
-
category: "
|
|
13326
|
+
category: "Engineering",
|
|
13246
13327
|
tools: [...CONVEX_TOOLS],
|
|
13247
13328
|
authType: "apiKey",
|
|
13248
13329
|
getHeaders() {
|
|
@@ -13586,7 +13667,7 @@ function wixIntegration(options = {}) {
|
|
|
13586
13667
|
name: "Wix",
|
|
13587
13668
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/wix.png",
|
|
13588
13669
|
description: "Manage Wix site stores, products, and e-commerce orders via REST",
|
|
13589
|
-
category: "
|
|
13670
|
+
category: "Websites & CMS",
|
|
13590
13671
|
tools: [...WIX_TOOLS],
|
|
13591
13672
|
authType: "apiKey",
|
|
13592
13673
|
getHeaders() {
|
|
@@ -13802,8 +13883,8 @@ function clerkIntegration(options = {}) {
|
|
|
13802
13883
|
id: "clerk",
|
|
13803
13884
|
name: "Clerk",
|
|
13804
13885
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/clerk.png",
|
|
13805
|
-
description: "Manage Clerk users, organizations,
|
|
13806
|
-
category: "
|
|
13886
|
+
description: "Manage Clerk users, organizations, sessions, and authentication settings",
|
|
13887
|
+
category: "Identity & Access",
|
|
13807
13888
|
tools: [...CLERK_TOOLS],
|
|
13808
13889
|
authType: "apiKey",
|
|
13809
13890
|
getHeaders() {
|
|
@@ -14155,7 +14236,7 @@ function workdayIntegration(config = {}) {
|
|
|
14155
14236
|
name: "Workday",
|
|
14156
14237
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/workday.png",
|
|
14157
14238
|
description: "Query Workday workers via the tenant REST API",
|
|
14158
|
-
category: "
|
|
14239
|
+
category: "HR & Recruiting",
|
|
14159
14240
|
tools: [...WORKDAY_TOOLS],
|
|
14160
14241
|
oauth,
|
|
14161
14242
|
async onInit(_client) {
|
|
@@ -14192,7 +14273,7 @@ function workosIntegration(options = {}) {
|
|
|
14192
14273
|
name: "WorkOS",
|
|
14193
14274
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/workos.png",
|
|
14194
14275
|
description: "Manage WorkOS organizations, AuthKit users, memberships, and directory sync",
|
|
14195
|
-
category: "
|
|
14276
|
+
category: "Identity & Access",
|
|
14196
14277
|
tools: [...WORKOS_TOOLS],
|
|
14197
14278
|
authType: "apiKey",
|
|
14198
14279
|
getHeaders() {
|
|
@@ -20409,9 +20490,753 @@ function convertJsonSchemaToGoogleSchema(jsonSchema, TypeEnum) {
|
|
|
20409
20490
|
}
|
|
20410
20491
|
return result;
|
|
20411
20492
|
}
|
|
20493
|
+
// src/integrations/calendly.ts
|
|
20494
|
+
init_logger();
|
|
20495
|
+
var logger182 = createLogger("Calendly");
|
|
20496
|
+
var CALENDLY_SCOPES = [
|
|
20497
|
+
"user:read",
|
|
20498
|
+
"event_types:read",
|
|
20499
|
+
"scheduled_events:read",
|
|
20500
|
+
"organization_memberships:read",
|
|
20501
|
+
"routing:read"
|
|
20502
|
+
];
|
|
20503
|
+
var CALENDLY_TOOLS = [
|
|
20504
|
+
"calendly_get_current_user",
|
|
20505
|
+
"calendly_list_event_types",
|
|
20506
|
+
"calendly_get_event_type",
|
|
20507
|
+
"calendly_list_scheduled_events",
|
|
20508
|
+
"calendly_get_scheduled_event",
|
|
20509
|
+
"calendly_list_scheduled_event_invitees",
|
|
20510
|
+
"calendly_list_availability_schedules"
|
|
20511
|
+
];
|
|
20512
|
+
function calendlyIntegration(config = {}) {
|
|
20513
|
+
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 };
|
|
20514
|
+
return {
|
|
20515
|
+
id: "calendly",
|
|
20516
|
+
name: "Calendly",
|
|
20517
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/calendly.png",
|
|
20518
|
+
description: "Manage Calendly user profiles, event types, scheduled events, invitees, and availability schedules",
|
|
20519
|
+
category: "Scheduling",
|
|
20520
|
+
tools: [...CALENDLY_TOOLS],
|
|
20521
|
+
authType: "oauth",
|
|
20522
|
+
oauth,
|
|
20523
|
+
async onInit() {
|
|
20524
|
+
logger182.debug("Calendly integration initialized");
|
|
20525
|
+
},
|
|
20526
|
+
async onAfterConnect() {
|
|
20527
|
+
logger182.debug("Calendly integration connected");
|
|
20528
|
+
}
|
|
20529
|
+
};
|
|
20530
|
+
}
|
|
20531
|
+
// src/integrations/klaviyo.ts
|
|
20532
|
+
init_logger();
|
|
20533
|
+
var logger183 = createLogger("Klaviyo");
|
|
20534
|
+
var KLAVIYO_SCOPES = [
|
|
20535
|
+
"accounts:read",
|
|
20536
|
+
"profiles:read",
|
|
20537
|
+
"profiles:write",
|
|
20538
|
+
"lists:read",
|
|
20539
|
+
"lists:write",
|
|
20540
|
+
"campaigns:read",
|
|
20541
|
+
"campaigns:write",
|
|
20542
|
+
"metrics:read"
|
|
20543
|
+
];
|
|
20544
|
+
var KLAVIYO_TOOLS = [
|
|
20545
|
+
"klaviyo_list_accounts",
|
|
20546
|
+
"klaviyo_list_profiles",
|
|
20547
|
+
"klaviyo_get_profile",
|
|
20548
|
+
"klaviyo_create_profile",
|
|
20549
|
+
"klaviyo_list_lists",
|
|
20550
|
+
"klaviyo_list_campaigns",
|
|
20551
|
+
"klaviyo_create_campaign",
|
|
20552
|
+
"klaviyo_list_metrics"
|
|
20553
|
+
];
|
|
20554
|
+
function klaviyoIntegration(config = {}) {
|
|
20555
|
+
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 };
|
|
20556
|
+
return {
|
|
20557
|
+
id: "klaviyo",
|
|
20558
|
+
name: "Klaviyo",
|
|
20559
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/klaviyo.png",
|
|
20560
|
+
description: "Manage Klaviyo accounts, profiles, lists, segments, campaigns, and metrics",
|
|
20561
|
+
category: "Marketing",
|
|
20562
|
+
tools: [...KLAVIYO_TOOLS],
|
|
20563
|
+
authType: "oauth",
|
|
20564
|
+
oauth,
|
|
20565
|
+
getHeaders() {
|
|
20566
|
+
const headers = {};
|
|
20567
|
+
const revision = config.revision ?? getEnv("KLAVIYO_REVISION") ?? "2024-10-15";
|
|
20568
|
+
if (revision)
|
|
20569
|
+
headers["revision"] = revision;
|
|
20570
|
+
return headers;
|
|
20571
|
+
},
|
|
20572
|
+
async onInit() {
|
|
20573
|
+
logger183.debug("Klaviyo integration initialized");
|
|
20574
|
+
},
|
|
20575
|
+
async onAfterConnect() {
|
|
20576
|
+
logger183.debug("Klaviyo integration connected");
|
|
20577
|
+
}
|
|
20578
|
+
};
|
|
20579
|
+
}
|
|
20580
|
+
// src/integrations/google_forms.ts
|
|
20581
|
+
init_logger();
|
|
20582
|
+
var logger184 = createLogger("Google Forms");
|
|
20583
|
+
var GOOGLE_FORMS_SCOPES = [
|
|
20584
|
+
"openid",
|
|
20585
|
+
"email",
|
|
20586
|
+
"https://www.googleapis.com/auth/forms.body",
|
|
20587
|
+
"https://www.googleapis.com/auth/forms.responses.readonly",
|
|
20588
|
+
"https://www.googleapis.com/auth/drive.readonly"
|
|
20589
|
+
];
|
|
20590
|
+
var GOOGLE_FORMS_TOOLS = [
|
|
20591
|
+
"google_forms_create_form",
|
|
20592
|
+
"google_forms_get_form",
|
|
20593
|
+
"google_forms_batch_update_form",
|
|
20594
|
+
"google_forms_list_form_responses",
|
|
20595
|
+
"google_forms_get_form_response"
|
|
20596
|
+
];
|
|
20597
|
+
function googleFormsIntegration(config = {}) {
|
|
20598
|
+
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 };
|
|
20599
|
+
return {
|
|
20600
|
+
id: "google_forms",
|
|
20601
|
+
name: "Google Forms",
|
|
20602
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_forms.png",
|
|
20603
|
+
description: "Manage Google Forms forms, structure updates, and responses",
|
|
20604
|
+
category: "Productivity",
|
|
20605
|
+
tools: [...GOOGLE_FORMS_TOOLS],
|
|
20606
|
+
authType: "oauth",
|
|
20607
|
+
oauth,
|
|
20608
|
+
async onInit() {
|
|
20609
|
+
logger184.debug("Google Forms integration initialized");
|
|
20610
|
+
},
|
|
20611
|
+
async onAfterConnect() {
|
|
20612
|
+
logger184.debug("Google Forms integration connected");
|
|
20613
|
+
}
|
|
20614
|
+
};
|
|
20615
|
+
}
|
|
20616
|
+
// src/integrations/firebase.ts
|
|
20617
|
+
init_logger();
|
|
20618
|
+
var logger185 = createLogger("Firebase");
|
|
20619
|
+
var FIREBASE_SCOPES = [
|
|
20620
|
+
"openid",
|
|
20621
|
+
"email",
|
|
20622
|
+
"https://www.googleapis.com/auth/firebase",
|
|
20623
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
20624
|
+
];
|
|
20625
|
+
var FIREBASE_TOOLS = [
|
|
20626
|
+
"firebase_list_projects",
|
|
20627
|
+
"firebase_get_project",
|
|
20628
|
+
"firebase_list_web_apps",
|
|
20629
|
+
"firebase_list_android_apps",
|
|
20630
|
+
"firebase_list_ios_apps",
|
|
20631
|
+
"firebase_create_web_app"
|
|
20632
|
+
];
|
|
20633
|
+
function firebaseIntegration(config = {}) {
|
|
20634
|
+
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 };
|
|
20635
|
+
return {
|
|
20636
|
+
id: "firebase",
|
|
20637
|
+
name: "Firebase",
|
|
20638
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/firebase.png",
|
|
20639
|
+
description: "Manage Firebase projects and registered apps across web, Android, and Apple platforms",
|
|
20640
|
+
category: "Infrastructure",
|
|
20641
|
+
tools: [...FIREBASE_TOOLS],
|
|
20642
|
+
authType: "oauth",
|
|
20643
|
+
oauth,
|
|
20644
|
+
async onInit() {
|
|
20645
|
+
logger185.debug("Firebase integration initialized");
|
|
20646
|
+
},
|
|
20647
|
+
async onAfterConnect() {
|
|
20648
|
+
logger185.debug("Firebase integration connected");
|
|
20649
|
+
}
|
|
20650
|
+
};
|
|
20651
|
+
}
|
|
20652
|
+
// src/integrations/microsoft_to_do.ts
|
|
20653
|
+
init_logger();
|
|
20654
|
+
var logger186 = createLogger("Microsoft To Do");
|
|
20655
|
+
var MICROSOFT_TO_DO_SCOPES = [
|
|
20656
|
+
"offline_access",
|
|
20657
|
+
"User.Read",
|
|
20658
|
+
"Tasks.ReadWrite"
|
|
20659
|
+
];
|
|
20660
|
+
var MICROSOFT_TO_DO_TOOLS = [
|
|
20661
|
+
"microsoft_to_do_list_task_lists",
|
|
20662
|
+
"microsoft_to_do_get_task_list",
|
|
20663
|
+
"microsoft_to_do_create_task_list",
|
|
20664
|
+
"microsoft_to_do_list_tasks",
|
|
20665
|
+
"microsoft_to_do_get_task",
|
|
20666
|
+
"microsoft_to_do_create_task",
|
|
20667
|
+
"microsoft_to_do_update_task"
|
|
20668
|
+
];
|
|
20669
|
+
function microsoftToDoIntegration(config = {}) {
|
|
20670
|
+
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 };
|
|
20671
|
+
return {
|
|
20672
|
+
id: "microsoft_to_do",
|
|
20673
|
+
name: "Microsoft To Do",
|
|
20674
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/microsoft_to_do.png",
|
|
20675
|
+
description: "Manage Microsoft To Do task lists and tasks through Microsoft Graph",
|
|
20676
|
+
category: "Productivity",
|
|
20677
|
+
tools: [...MICROSOFT_TO_DO_TOOLS],
|
|
20678
|
+
authType: "oauth",
|
|
20679
|
+
oauth,
|
|
20680
|
+
async onInit() {
|
|
20681
|
+
logger186.debug("Microsoft To Do integration initialized");
|
|
20682
|
+
},
|
|
20683
|
+
async onAfterConnect() {
|
|
20684
|
+
logger186.debug("Microsoft To Do integration connected");
|
|
20685
|
+
}
|
|
20686
|
+
};
|
|
20687
|
+
}
|
|
20688
|
+
// src/integrations/onenote.ts
|
|
20689
|
+
init_logger();
|
|
20690
|
+
var logger187 = createLogger("OneNote");
|
|
20691
|
+
var ONENOTE_SCOPES = [
|
|
20692
|
+
"offline_access",
|
|
20693
|
+
"User.Read",
|
|
20694
|
+
"Notes.ReadWrite.All"
|
|
20695
|
+
];
|
|
20696
|
+
var ONENOTE_TOOLS = [
|
|
20697
|
+
"onenote_list_notebooks",
|
|
20698
|
+
"onenote_get_notebook",
|
|
20699
|
+
"onenote_list_sections",
|
|
20700
|
+
"onenote_create_section",
|
|
20701
|
+
"onenote_list_pages",
|
|
20702
|
+
"onenote_get_page"
|
|
20703
|
+
];
|
|
20704
|
+
function onenoteIntegration(config = {}) {
|
|
20705
|
+
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 };
|
|
20706
|
+
return {
|
|
20707
|
+
id: "onenote",
|
|
20708
|
+
name: "OneNote",
|
|
20709
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/onenote.png",
|
|
20710
|
+
description: "Manage OneNote notebooks, sections, pages, and section creation through Microsoft Graph",
|
|
20711
|
+
category: "Productivity",
|
|
20712
|
+
tools: [...ONENOTE_TOOLS],
|
|
20713
|
+
authType: "oauth",
|
|
20714
|
+
oauth,
|
|
20715
|
+
async onInit() {
|
|
20716
|
+
logger187.debug("OneNote integration initialized");
|
|
20717
|
+
},
|
|
20718
|
+
async onAfterConnect() {
|
|
20719
|
+
logger187.debug("OneNote integration connected");
|
|
20720
|
+
}
|
|
20721
|
+
};
|
|
20722
|
+
}
|
|
20723
|
+
// src/integrations/microsoft_bookings.ts
|
|
20724
|
+
init_logger();
|
|
20725
|
+
var logger188 = createLogger("Microsoft Bookings");
|
|
20726
|
+
var MICROSOFT_BOOKINGS_SCOPES = [
|
|
20727
|
+
"offline_access",
|
|
20728
|
+
"User.Read",
|
|
20729
|
+
"Bookings.ReadWrite.All"
|
|
20730
|
+
];
|
|
20731
|
+
var MICROSOFT_BOOKINGS_TOOLS = [
|
|
20732
|
+
"microsoft_bookings_list_businesses",
|
|
20733
|
+
"microsoft_bookings_get_business",
|
|
20734
|
+
"microsoft_bookings_list_services",
|
|
20735
|
+
"microsoft_bookings_list_staff_members",
|
|
20736
|
+
"microsoft_bookings_list_appointments",
|
|
20737
|
+
"microsoft_bookings_create_appointment"
|
|
20738
|
+
];
|
|
20739
|
+
function microsoftBookingsIntegration(config = {}) {
|
|
20740
|
+
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 };
|
|
20741
|
+
return {
|
|
20742
|
+
id: "microsoft_bookings",
|
|
20743
|
+
name: "Microsoft Bookings",
|
|
20744
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/microsoft_bookings.png",
|
|
20745
|
+
description: "Manage Microsoft Bookings businesses, services, staff members, and appointments",
|
|
20746
|
+
category: "Scheduling",
|
|
20747
|
+
tools: [...MICROSOFT_BOOKINGS_TOOLS],
|
|
20748
|
+
authType: "oauth",
|
|
20749
|
+
oauth,
|
|
20750
|
+
async onInit() {
|
|
20751
|
+
logger188.debug("Microsoft Bookings integration initialized");
|
|
20752
|
+
},
|
|
20753
|
+
async onAfterConnect() {
|
|
20754
|
+
logger188.debug("Microsoft Bookings integration connected");
|
|
20755
|
+
}
|
|
20756
|
+
};
|
|
20757
|
+
}
|
|
20758
|
+
// src/integrations/azure_devops.ts
|
|
20759
|
+
init_logger();
|
|
20760
|
+
var logger189 = createLogger("Azure DevOps");
|
|
20761
|
+
var AZURE_DEVOPS_SCOPES = [
|
|
20762
|
+
"vso.profile",
|
|
20763
|
+
"vso.project",
|
|
20764
|
+
"vso.code_write",
|
|
20765
|
+
"vso.build",
|
|
20766
|
+
"vso.work_write"
|
|
20767
|
+
];
|
|
20768
|
+
var AZURE_DEVOPS_TOOLS = [
|
|
20769
|
+
"azure_devops_list_projects",
|
|
20770
|
+
"azure_devops_list_repositories",
|
|
20771
|
+
"azure_devops_list_pull_requests",
|
|
20772
|
+
"azure_devops_list_builds",
|
|
20773
|
+
"azure_devops_queue_build",
|
|
20774
|
+
"azure_devops_get_work_item"
|
|
20775
|
+
];
|
|
20776
|
+
function azureDevopsIntegration(config = {}) {
|
|
20777
|
+
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 };
|
|
20778
|
+
return {
|
|
20779
|
+
id: "azure_devops",
|
|
20780
|
+
name: "Azure DevOps",
|
|
20781
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/azure_devops.png",
|
|
20782
|
+
description: "Manage Azure DevOps projects, repositories, pull requests, builds, and work items",
|
|
20783
|
+
category: "Engineering",
|
|
20784
|
+
tools: [...AZURE_DEVOPS_TOOLS],
|
|
20785
|
+
authType: "oauth",
|
|
20786
|
+
oauth,
|
|
20787
|
+
async onInit() {
|
|
20788
|
+
logger189.debug("Azure DevOps integration initialized");
|
|
20789
|
+
},
|
|
20790
|
+
async onAfterConnect() {
|
|
20791
|
+
logger189.debug("Azure DevOps integration connected");
|
|
20792
|
+
}
|
|
20793
|
+
};
|
|
20794
|
+
}
|
|
20795
|
+
// src/integrations/google_play_console.ts
|
|
20796
|
+
init_logger();
|
|
20797
|
+
var logger190 = createLogger("Google Play Console");
|
|
20798
|
+
var GOOGLE_PLAY_CONSOLE_SCOPES = [
|
|
20799
|
+
"openid",
|
|
20800
|
+
"email",
|
|
20801
|
+
"https://www.googleapis.com/auth/androidpublisher"
|
|
20802
|
+
];
|
|
20803
|
+
var GOOGLE_PLAY_CONSOLE_TOOLS = [
|
|
20804
|
+
"google_play_console_insert_edit",
|
|
20805
|
+
"google_play_console_get_edit",
|
|
20806
|
+
"google_play_console_list_tracks",
|
|
20807
|
+
"google_play_console_update_track",
|
|
20808
|
+
"google_play_console_commit_edit",
|
|
20809
|
+
"google_play_console_list_in_app_products"
|
|
20810
|
+
];
|
|
20811
|
+
function googlePlayConsoleIntegration(config = {}) {
|
|
20812
|
+
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 };
|
|
20813
|
+
return {
|
|
20814
|
+
id: "google_play_console",
|
|
20815
|
+
name: "Google Play Console",
|
|
20816
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_play_console.png",
|
|
20817
|
+
description: "Manage Google Play edits, tracks, and in-app products through the Android Publisher API",
|
|
20818
|
+
category: "Engineering",
|
|
20819
|
+
tools: [...GOOGLE_PLAY_CONSOLE_TOOLS],
|
|
20820
|
+
authType: "oauth",
|
|
20821
|
+
oauth,
|
|
20822
|
+
async onInit() {
|
|
20823
|
+
logger190.debug("Google Play Console integration initialized");
|
|
20824
|
+
},
|
|
20825
|
+
async onAfterConnect() {
|
|
20826
|
+
logger190.debug("Google Play Console integration connected");
|
|
20827
|
+
}
|
|
20828
|
+
};
|
|
20829
|
+
}
|
|
20830
|
+
// src/integrations/squarespace.ts
|
|
20831
|
+
init_logger();
|
|
20832
|
+
var logger191 = createLogger("Squarespace");
|
|
20833
|
+
var SQUARESPACE_SCOPES = [];
|
|
20834
|
+
var SQUARESPACE_TOOLS = [
|
|
20835
|
+
"squarespace_list_orders",
|
|
20836
|
+
"squarespace_get_order",
|
|
20837
|
+
"squarespace_list_products",
|
|
20838
|
+
"squarespace_get_product",
|
|
20839
|
+
"squarespace_list_inventory",
|
|
20840
|
+
"squarespace_adjust_inventory"
|
|
20841
|
+
];
|
|
20842
|
+
function squarespaceIntegration(config = {}) {
|
|
20843
|
+
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 };
|
|
20844
|
+
return {
|
|
20845
|
+
id: "squarespace",
|
|
20846
|
+
name: "Squarespace",
|
|
20847
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/squarespace.png",
|
|
20848
|
+
description: "Manage Squarespace commerce orders, products, inventory, and profiles",
|
|
20849
|
+
category: "Websites & CMS",
|
|
20850
|
+
tools: [...SQUARESPACE_TOOLS],
|
|
20851
|
+
authType: "oauth",
|
|
20852
|
+
oauth,
|
|
20853
|
+
async onInit() {
|
|
20854
|
+
logger191.debug("Squarespace integration initialized");
|
|
20855
|
+
},
|
|
20856
|
+
async onAfterConnect() {
|
|
20857
|
+
logger191.debug("Squarespace integration connected");
|
|
20858
|
+
}
|
|
20859
|
+
};
|
|
20860
|
+
}
|
|
20861
|
+
// src/integrations/zoho_people.ts
|
|
20862
|
+
init_logger();
|
|
20863
|
+
var logger192 = createLogger("Zoho People");
|
|
20864
|
+
var ZOHO_PEOPLE_SCOPES = [
|
|
20865
|
+
"ZohoPeople.forms.ALL",
|
|
20866
|
+
"ZohoPeople.employee.ALL",
|
|
20867
|
+
"ZohoPeople.leave.ALL",
|
|
20868
|
+
"ZohoPeople.attendance.ALL"
|
|
20869
|
+
];
|
|
20870
|
+
var ZOHO_PEOPLE_TOOLS = [
|
|
20871
|
+
"zoho_people_list_forms",
|
|
20872
|
+
"zoho_people_list_employees",
|
|
20873
|
+
"zoho_people_get_employee",
|
|
20874
|
+
"zoho_people_list_attendance",
|
|
20875
|
+
"zoho_people_list_leave_requests",
|
|
20876
|
+
"zoho_people_list_time_logs"
|
|
20877
|
+
];
|
|
20878
|
+
function zohoPeopleIntegration(config = {}) {
|
|
20879
|
+
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 };
|
|
20880
|
+
return {
|
|
20881
|
+
id: "zoho_people",
|
|
20882
|
+
name: "Zoho People",
|
|
20883
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_people.png",
|
|
20884
|
+
description: "Manage Zoho People forms, employees, attendance, leave requests, and time tracking",
|
|
20885
|
+
category: "HR & Recruiting",
|
|
20886
|
+
tools: [...ZOHO_PEOPLE_TOOLS],
|
|
20887
|
+
authType: "oauth",
|
|
20888
|
+
oauth,
|
|
20889
|
+
getHeaders() {
|
|
20890
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
20891
|
+
const headers = {};
|
|
20892
|
+
if (region)
|
|
20893
|
+
headers["X-Zoho-Region"] = region;
|
|
20894
|
+
return headers;
|
|
20895
|
+
},
|
|
20896
|
+
async onInit() {
|
|
20897
|
+
logger192.debug("Zoho People integration initialized");
|
|
20898
|
+
},
|
|
20899
|
+
async onAfterConnect() {
|
|
20900
|
+
logger192.debug("Zoho People integration connected");
|
|
20901
|
+
}
|
|
20902
|
+
};
|
|
20903
|
+
}
|
|
20904
|
+
// src/integrations/zoho_recruit.ts
|
|
20905
|
+
init_logger();
|
|
20906
|
+
var logger193 = createLogger("Zoho Recruit");
|
|
20907
|
+
var ZOHO_RECRUIT_SCOPES = [
|
|
20908
|
+
"ZohoRecruit.modules.ALL",
|
|
20909
|
+
"ZohoRecruit.settings.ALL"
|
|
20910
|
+
];
|
|
20911
|
+
var ZOHO_RECRUIT_TOOLS = [
|
|
20912
|
+
"zoho_recruit_list_modules",
|
|
20913
|
+
"zoho_recruit_list_candidates",
|
|
20914
|
+
"zoho_recruit_get_candidate",
|
|
20915
|
+
"zoho_recruit_create_candidate",
|
|
20916
|
+
"zoho_recruit_list_job_openings",
|
|
20917
|
+
"zoho_recruit_list_interviews"
|
|
20918
|
+
];
|
|
20919
|
+
function zohoRecruitIntegration(config = {}) {
|
|
20920
|
+
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 };
|
|
20921
|
+
return {
|
|
20922
|
+
id: "zoho_recruit",
|
|
20923
|
+
name: "Zoho Recruit",
|
|
20924
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_recruit.png",
|
|
20925
|
+
description: "Manage Zoho Recruit candidates, job openings, interviews, and custom modules",
|
|
20926
|
+
category: "HR & Recruiting",
|
|
20927
|
+
tools: [...ZOHO_RECRUIT_TOOLS],
|
|
20928
|
+
authType: "oauth",
|
|
20929
|
+
oauth,
|
|
20930
|
+
getHeaders() {
|
|
20931
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
20932
|
+
const headers = {};
|
|
20933
|
+
if (region)
|
|
20934
|
+
headers["X-Zoho-Region"] = region;
|
|
20935
|
+
return headers;
|
|
20936
|
+
},
|
|
20937
|
+
async onInit() {
|
|
20938
|
+
logger193.debug("Zoho Recruit integration initialized");
|
|
20939
|
+
},
|
|
20940
|
+
async onAfterConnect() {
|
|
20941
|
+
logger193.debug("Zoho Recruit integration connected");
|
|
20942
|
+
}
|
|
20943
|
+
};
|
|
20944
|
+
}
|
|
20945
|
+
// src/integrations/zoho_sign.ts
|
|
20946
|
+
init_logger();
|
|
20947
|
+
var logger194 = createLogger("Zoho Sign");
|
|
20948
|
+
var ZOHO_SIGN_SCOPES = [
|
|
20949
|
+
"ZohoSign.documents.ALL",
|
|
20950
|
+
"ZohoSign.templates.READ",
|
|
20951
|
+
"ZohoSign.account.READ"
|
|
20952
|
+
];
|
|
20953
|
+
var ZOHO_SIGN_TOOLS = [
|
|
20954
|
+
"zoho_sign_list_requests",
|
|
20955
|
+
"zoho_sign_get_request",
|
|
20956
|
+
"zoho_sign_create_request",
|
|
20957
|
+
"zoho_sign_list_templates",
|
|
20958
|
+
"zoho_sign_get_template",
|
|
20959
|
+
"zoho_sign_list_contacts"
|
|
20960
|
+
];
|
|
20961
|
+
function zohoSignIntegration(config = {}) {
|
|
20962
|
+
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 };
|
|
20963
|
+
return {
|
|
20964
|
+
id: "zoho_sign",
|
|
20965
|
+
name: "Zoho Sign",
|
|
20966
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_sign.png",
|
|
20967
|
+
description: "Manage Zoho Sign requests, templates, contacts, and signature workflows",
|
|
20968
|
+
category: "Legal",
|
|
20969
|
+
tools: [...ZOHO_SIGN_TOOLS],
|
|
20970
|
+
authType: "oauth",
|
|
20971
|
+
oauth,
|
|
20972
|
+
getHeaders() {
|
|
20973
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
20974
|
+
const headers = {};
|
|
20975
|
+
if (region)
|
|
20976
|
+
headers["X-Zoho-Region"] = region;
|
|
20977
|
+
return headers;
|
|
20978
|
+
},
|
|
20979
|
+
async onInit() {
|
|
20980
|
+
logger194.debug("Zoho Sign integration initialized");
|
|
20981
|
+
},
|
|
20982
|
+
async onAfterConnect() {
|
|
20983
|
+
logger194.debug("Zoho Sign integration connected");
|
|
20984
|
+
}
|
|
20985
|
+
};
|
|
20986
|
+
}
|
|
20987
|
+
// src/integrations/zoho_workdrive.ts
|
|
20988
|
+
init_logger();
|
|
20989
|
+
var logger195 = createLogger("Zoho WorkDrive");
|
|
20990
|
+
var ZOHO_WORKDRIVE_SCOPES = [
|
|
20991
|
+
"WorkDrive.files.ALL",
|
|
20992
|
+
"WorkDrive.teamfolders.READ",
|
|
20993
|
+
"WorkDrive.users.READ"
|
|
20994
|
+
];
|
|
20995
|
+
var ZOHO_WORKDRIVE_TOOLS = [
|
|
20996
|
+
"zoho_workdrive_list_teams",
|
|
20997
|
+
"zoho_workdrive_list_team_folders",
|
|
20998
|
+
"zoho_workdrive_get_team_folder",
|
|
20999
|
+
"zoho_workdrive_list_files",
|
|
21000
|
+
"zoho_workdrive_get_file",
|
|
21001
|
+
"zoho_workdrive_create_folder"
|
|
21002
|
+
];
|
|
21003
|
+
function zohoWorkdriveIntegration(config = {}) {
|
|
21004
|
+
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 };
|
|
21005
|
+
return {
|
|
21006
|
+
id: "zoho_workdrive",
|
|
21007
|
+
name: "Zoho WorkDrive",
|
|
21008
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_workdrive.png",
|
|
21009
|
+
description: "Manage Zoho WorkDrive team folders, files, folders, and collaborators",
|
|
21010
|
+
category: "Storage",
|
|
21011
|
+
tools: [...ZOHO_WORKDRIVE_TOOLS],
|
|
21012
|
+
authType: "oauth",
|
|
21013
|
+
oauth,
|
|
21014
|
+
getHeaders() {
|
|
21015
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
21016
|
+
const headers = {};
|
|
21017
|
+
if (region)
|
|
21018
|
+
headers["X-Zoho-Region"] = region;
|
|
21019
|
+
return headers;
|
|
21020
|
+
},
|
|
21021
|
+
async onInit() {
|
|
21022
|
+
logger195.debug("Zoho WorkDrive integration initialized");
|
|
21023
|
+
},
|
|
21024
|
+
async onAfterConnect() {
|
|
21025
|
+
logger195.debug("Zoho WorkDrive integration connected");
|
|
21026
|
+
}
|
|
21027
|
+
};
|
|
21028
|
+
}
|
|
21029
|
+
// src/integrations/zoho_creator.ts
|
|
21030
|
+
init_logger();
|
|
21031
|
+
var logger196 = createLogger("Zoho Creator");
|
|
21032
|
+
var ZOHO_CREATOR_SCOPES = [
|
|
21033
|
+
"ZohoCreator.meta.READ",
|
|
21034
|
+
"ZohoCreator.data.READ",
|
|
21035
|
+
"ZohoCreator.data.CREATE",
|
|
21036
|
+
"ZohoCreator.data.UPDATE"
|
|
21037
|
+
];
|
|
21038
|
+
var ZOHO_CREATOR_TOOLS = [
|
|
21039
|
+
"zoho_creator_list_applications",
|
|
21040
|
+
"zoho_creator_list_forms",
|
|
21041
|
+
"zoho_creator_list_reports",
|
|
21042
|
+
"zoho_creator_list_records",
|
|
21043
|
+
"zoho_creator_create_record",
|
|
21044
|
+
"zoho_creator_update_record"
|
|
21045
|
+
];
|
|
21046
|
+
function zohoCreatorIntegration(config = {}) {
|
|
21047
|
+
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 };
|
|
21048
|
+
return {
|
|
21049
|
+
id: "zoho_creator",
|
|
21050
|
+
name: "Zoho Creator",
|
|
21051
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_creator.png",
|
|
21052
|
+
description: "Manage Zoho Creator applications, forms, reports, and app records",
|
|
21053
|
+
category: "Business",
|
|
21054
|
+
tools: [...ZOHO_CREATOR_TOOLS],
|
|
21055
|
+
authType: "oauth",
|
|
21056
|
+
oauth,
|
|
21057
|
+
getHeaders() {
|
|
21058
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
21059
|
+
const headers = {};
|
|
21060
|
+
if (region)
|
|
21061
|
+
headers["X-Zoho-Region"] = region;
|
|
21062
|
+
return headers;
|
|
21063
|
+
},
|
|
21064
|
+
async onInit() {
|
|
21065
|
+
logger196.debug("Zoho Creator integration initialized");
|
|
21066
|
+
},
|
|
21067
|
+
async onAfterConnect() {
|
|
21068
|
+
logger196.debug("Zoho Creator integration connected");
|
|
21069
|
+
}
|
|
21070
|
+
};
|
|
21071
|
+
}
|
|
21072
|
+
// src/integrations/zoho_inventory.ts
|
|
21073
|
+
init_logger();
|
|
21074
|
+
var logger197 = createLogger("Zoho Inventory");
|
|
21075
|
+
var ZOHO_INVENTORY_SCOPES = [
|
|
21076
|
+
"ZohoInventory.fullaccess.all"
|
|
21077
|
+
];
|
|
21078
|
+
var ZOHO_INVENTORY_TOOLS = [
|
|
21079
|
+
"zoho_inventory_list_organizations",
|
|
21080
|
+
"zoho_inventory_list_contacts",
|
|
21081
|
+
"zoho_inventory_list_items",
|
|
21082
|
+
"zoho_inventory_list_sales_orders",
|
|
21083
|
+
"zoho_inventory_create_sales_order",
|
|
21084
|
+
"zoho_inventory_list_packages"
|
|
21085
|
+
];
|
|
21086
|
+
function zohoInventoryIntegration(config = {}) {
|
|
21087
|
+
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 };
|
|
21088
|
+
return {
|
|
21089
|
+
id: "zoho_inventory",
|
|
21090
|
+
name: "Zoho Inventory",
|
|
21091
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_inventory.png",
|
|
21092
|
+
description: "Manage Zoho Inventory organizations, contacts, items, sales orders, packages, and shipments",
|
|
21093
|
+
category: "Commerce",
|
|
21094
|
+
tools: [...ZOHO_INVENTORY_TOOLS],
|
|
21095
|
+
authType: "oauth",
|
|
21096
|
+
oauth,
|
|
21097
|
+
getHeaders() {
|
|
21098
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
21099
|
+
const headers = {};
|
|
21100
|
+
if (region)
|
|
21101
|
+
headers["X-Zoho-Region"] = region;
|
|
21102
|
+
return headers;
|
|
21103
|
+
},
|
|
21104
|
+
async onInit() {
|
|
21105
|
+
logger197.debug("Zoho Inventory integration initialized");
|
|
21106
|
+
},
|
|
21107
|
+
async onAfterConnect() {
|
|
21108
|
+
logger197.debug("Zoho Inventory integration connected");
|
|
21109
|
+
}
|
|
21110
|
+
};
|
|
21111
|
+
}
|
|
21112
|
+
// src/integrations/zoho_billing.ts
|
|
21113
|
+
init_logger();
|
|
21114
|
+
var logger198 = createLogger("Zoho Billing");
|
|
21115
|
+
var ZOHO_BILLING_SCOPES = [
|
|
21116
|
+
"ZohoBilling.fullaccess.all"
|
|
21117
|
+
];
|
|
21118
|
+
var ZOHO_BILLING_TOOLS = [
|
|
21119
|
+
"zoho_billing_list_organizations",
|
|
21120
|
+
"zoho_billing_list_customers",
|
|
21121
|
+
"zoho_billing_list_items",
|
|
21122
|
+
"zoho_billing_list_subscriptions",
|
|
21123
|
+
"zoho_billing_create_subscription",
|
|
21124
|
+
"zoho_billing_list_invoices"
|
|
21125
|
+
];
|
|
21126
|
+
function zohoBillingIntegration(config = {}) {
|
|
21127
|
+
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 };
|
|
21128
|
+
return {
|
|
21129
|
+
id: "zoho_billing",
|
|
21130
|
+
name: "Zoho Billing",
|
|
21131
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_billing.png",
|
|
21132
|
+
description: "Manage Zoho Billing organizations, customers, items, subscriptions, and invoices",
|
|
21133
|
+
category: "Accounting",
|
|
21134
|
+
tools: [...ZOHO_BILLING_TOOLS],
|
|
21135
|
+
authType: "oauth",
|
|
21136
|
+
oauth,
|
|
21137
|
+
getHeaders() {
|
|
21138
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
21139
|
+
const headers = {};
|
|
21140
|
+
if (region)
|
|
21141
|
+
headers["X-Zoho-Region"] = region;
|
|
21142
|
+
return headers;
|
|
21143
|
+
},
|
|
21144
|
+
async onInit() {
|
|
21145
|
+
logger198.debug("Zoho Billing integration initialized");
|
|
21146
|
+
},
|
|
21147
|
+
async onAfterConnect() {
|
|
21148
|
+
logger198.debug("Zoho Billing integration connected");
|
|
21149
|
+
}
|
|
21150
|
+
};
|
|
21151
|
+
}
|
|
21152
|
+
// src/integrations/zoho_writer.ts
|
|
21153
|
+
init_logger();
|
|
21154
|
+
var logger199 = createLogger("Zoho Writer");
|
|
21155
|
+
var ZOHO_WRITER_SCOPES = [
|
|
21156
|
+
"ZohoWriter.documentEditor.ALL",
|
|
21157
|
+
"ZohoWriter.merge.ALL"
|
|
21158
|
+
];
|
|
21159
|
+
var ZOHO_WRITER_TOOLS = [
|
|
21160
|
+
"zoho_writer_list_documents",
|
|
21161
|
+
"zoho_writer_get_document",
|
|
21162
|
+
"zoho_writer_create_document",
|
|
21163
|
+
"zoho_writer_list_templates",
|
|
21164
|
+
"zoho_writer_merge_document",
|
|
21165
|
+
"zoho_writer_export_document"
|
|
21166
|
+
];
|
|
21167
|
+
function zohoWriterIntegration(config = {}) {
|
|
21168
|
+
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 };
|
|
21169
|
+
return {
|
|
21170
|
+
id: "zoho_writer",
|
|
21171
|
+
name: "Zoho Writer",
|
|
21172
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_writer.png",
|
|
21173
|
+
description: "Manage Zoho Writer documents, templates, merges, and exports",
|
|
21174
|
+
category: "Productivity",
|
|
21175
|
+
tools: [...ZOHO_WRITER_TOOLS],
|
|
21176
|
+
authType: "oauth",
|
|
21177
|
+
oauth,
|
|
21178
|
+
getHeaders() {
|
|
21179
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
21180
|
+
const headers = {};
|
|
21181
|
+
if (region)
|
|
21182
|
+
headers["X-Zoho-Region"] = region;
|
|
21183
|
+
return headers;
|
|
21184
|
+
},
|
|
21185
|
+
async onInit() {
|
|
21186
|
+
logger199.debug("Zoho Writer integration initialized");
|
|
21187
|
+
},
|
|
21188
|
+
async onAfterConnect() {
|
|
21189
|
+
logger199.debug("Zoho Writer integration connected");
|
|
21190
|
+
}
|
|
21191
|
+
};
|
|
21192
|
+
}
|
|
21193
|
+
// src/integrations/zoho_sprints.ts
|
|
21194
|
+
init_logger();
|
|
21195
|
+
var logger200 = createLogger("Zoho Sprints");
|
|
21196
|
+
var ZOHO_SPRINTS_SCOPES = [
|
|
21197
|
+
"ZohoSprints.projects.ALL",
|
|
21198
|
+
"ZohoSprints.sprints.ALL",
|
|
21199
|
+
"ZohoSprints.workitems.ALL",
|
|
21200
|
+
"ZohoSprints.epics.ALL"
|
|
21201
|
+
];
|
|
21202
|
+
var ZOHO_SPRINTS_TOOLS = [
|
|
21203
|
+
"zoho_sprints_list_portals",
|
|
21204
|
+
"zoho_sprints_list_projects",
|
|
21205
|
+
"zoho_sprints_list_sprints",
|
|
21206
|
+
"zoho_sprints_list_work_items",
|
|
21207
|
+
"zoho_sprints_create_work_item",
|
|
21208
|
+
"zoho_sprints_list_epics"
|
|
21209
|
+
];
|
|
21210
|
+
function zohoSprintsIntegration(config = {}) {
|
|
21211
|
+
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 };
|
|
21212
|
+
return {
|
|
21213
|
+
id: "zoho_sprints",
|
|
21214
|
+
name: "Zoho Sprints",
|
|
21215
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_sprints.png",
|
|
21216
|
+
description: "Manage Zoho Sprints portals, projects, sprints, epics, and work items",
|
|
21217
|
+
category: "Engineering",
|
|
21218
|
+
tools: [...ZOHO_SPRINTS_TOOLS],
|
|
21219
|
+
authType: "oauth",
|
|
21220
|
+
oauth,
|
|
21221
|
+
getHeaders() {
|
|
21222
|
+
const region = config.region ?? getEnv("ZOHO_REGION");
|
|
21223
|
+
const headers = {};
|
|
21224
|
+
if (region)
|
|
21225
|
+
headers["X-Zoho-Region"] = region;
|
|
21226
|
+
return headers;
|
|
21227
|
+
},
|
|
21228
|
+
async onInit() {
|
|
21229
|
+
logger200.debug("Zoho Sprints integration initialized");
|
|
21230
|
+
},
|
|
21231
|
+
async onAfterConnect() {
|
|
21232
|
+
logger200.debug("Zoho Sprints integration connected");
|
|
21233
|
+
}
|
|
21234
|
+
};
|
|
21235
|
+
}
|
|
21236
|
+
|
|
20412
21237
|
// src/server.ts
|
|
20413
21238
|
var SERVER_LOG_CONTEXT3 = "server";
|
|
20414
|
-
var
|
|
21239
|
+
var logger203 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
|
|
20415
21240
|
async function refreshTokenIfNeeded(provider, tokenData, providers, config, context) {
|
|
20416
21241
|
const credentials = providers[provider];
|
|
20417
21242
|
if (!credentials || !config.serverUrl) {
|
|
@@ -20433,9 +21258,9 @@ async function refreshTokenIfNeeded(provider, tokenData, providers, config, cont
|
|
|
20433
21258
|
});
|
|
20434
21259
|
} catch (err) {
|
|
20435
21260
|
if (err instanceof RefreshRejectedError) {
|
|
20436
|
-
|
|
21261
|
+
logger203.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
|
|
20437
21262
|
} else {
|
|
20438
|
-
|
|
21263
|
+
logger203.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
|
|
20439
21264
|
}
|
|
20440
21265
|
return tokenData.accessToken;
|
|
20441
21266
|
}
|
|
@@ -20545,7 +21370,7 @@ function createMCPServer(config) {
|
|
|
20545
21370
|
if (integration.oauth) {
|
|
20546
21371
|
const { clientId, clientSecret, redirectUri: integrationRedirectUri, config: oauthConfig } = integration.oauth;
|
|
20547
21372
|
if (!clientId || !clientSecret) {
|
|
20548
|
-
|
|
21373
|
+
logger203.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
|
|
20549
21374
|
return integration;
|
|
20550
21375
|
}
|
|
20551
21376
|
const redirectUri = integrationRedirectUri || config.redirectUri || getDefaultRedirectUri();
|
|
@@ -20725,7 +21550,7 @@ function createMCPServer(config) {
|
|
|
20725
21550
|
}
|
|
20726
21551
|
return response2;
|
|
20727
21552
|
} catch (error) {
|
|
20728
|
-
|
|
21553
|
+
logger203.error("[MCP Tool Call] Error:", error);
|
|
20729
21554
|
return Response.json({ error: error.message || "Failed to execute tool call" }, { status: error.statusCode || 500 });
|
|
20730
21555
|
}
|
|
20731
21556
|
}
|
|
@@ -20774,7 +21599,7 @@ function createMCPServer(config) {
|
|
|
20774
21599
|
});
|
|
20775
21600
|
return Response.json(result, { status: result.success ? 200 : 500 });
|
|
20776
21601
|
} catch (error) {
|
|
20777
|
-
|
|
21602
|
+
logger203.error("[Code Mode] Error:", error);
|
|
20778
21603
|
return Response.json({ error: error?.message || "Failed to execute code" }, { status: 500 });
|
|
20779
21604
|
}
|
|
20780
21605
|
}
|
|
@@ -20832,7 +21657,7 @@ function createMCPServer(config) {
|
|
|
20832
21657
|
error: executionResult.error
|
|
20833
21658
|
});
|
|
20834
21659
|
} catch (error) {
|
|
20835
|
-
|
|
21660
|
+
logger203.error("[Trigger Notify] Error:", error);
|
|
20836
21661
|
return Response.json({ error: error.message || "Failed to execute trigger" }, { status: 500 });
|
|
20837
21662
|
}
|
|
20838
21663
|
}
|
|
@@ -20896,7 +21721,7 @@ function createMCPServer(config) {
|
|
|
20896
21721
|
})
|
|
20897
21722
|
});
|
|
20898
21723
|
} catch (scheduleError) {
|
|
20899
|
-
|
|
21724
|
+
logger203.error("[Trigger] Failed to register with scheduler:", scheduleError);
|
|
20900
21725
|
}
|
|
20901
21726
|
return Response.json(created, { status: 201 });
|
|
20902
21727
|
}
|
|
@@ -20931,7 +21756,7 @@ function createMCPServer(config) {
|
|
|
20931
21756
|
body: JSON.stringify({ triggerId })
|
|
20932
21757
|
});
|
|
20933
21758
|
} catch (error) {
|
|
20934
|
-
|
|
21759
|
+
logger203.error("[Trigger] Failed to pause in scheduler:", error);
|
|
20935
21760
|
}
|
|
20936
21761
|
return Response.json(updated);
|
|
20937
21762
|
} else if (subAction === "resume" && method === "POST") {
|
|
@@ -20959,7 +21784,7 @@ function createMCPServer(config) {
|
|
|
20959
21784
|
body: JSON.stringify({ triggerId })
|
|
20960
21785
|
});
|
|
20961
21786
|
} catch (error) {
|
|
20962
|
-
|
|
21787
|
+
logger203.error("[Trigger] Failed to resume in scheduler:", error);
|
|
20963
21788
|
}
|
|
20964
21789
|
return Response.json(updated);
|
|
20965
21790
|
} else if (subAction === "run" && method === "POST") {
|
|
@@ -21030,7 +21855,7 @@ function createMCPServer(config) {
|
|
|
21030
21855
|
})
|
|
21031
21856
|
});
|
|
21032
21857
|
} catch (error) {
|
|
21033
|
-
|
|
21858
|
+
logger203.error("[Trigger] Failed to update scheduler:", error);
|
|
21034
21859
|
}
|
|
21035
21860
|
}
|
|
21036
21861
|
return Response.json(updated);
|
|
@@ -21047,14 +21872,14 @@ function createMCPServer(config) {
|
|
|
21047
21872
|
body: JSON.stringify({ triggerId })
|
|
21048
21873
|
});
|
|
21049
21874
|
} catch (error) {
|
|
21050
|
-
|
|
21875
|
+
logger203.error("[Trigger] Failed to unregister from scheduler:", error);
|
|
21051
21876
|
}
|
|
21052
21877
|
return new Response(null, { status: 204 });
|
|
21053
21878
|
}
|
|
21054
21879
|
}
|
|
21055
21880
|
return Response.json({ error: "Invalid trigger route or method" }, { status: 404 });
|
|
21056
21881
|
} catch (error) {
|
|
21057
|
-
|
|
21882
|
+
logger203.error("[Trigger] Error:", error);
|
|
21058
21883
|
return Response.json({ error: error.message || "Failed to process trigger request" }, { status: error.statusCode || 500 });
|
|
21059
21884
|
}
|
|
21060
21885
|
}
|
|
@@ -21080,11 +21905,11 @@ function createMCPServer(config) {
|
|
|
21080
21905
|
const errorRedirectUrl = "/auth-error";
|
|
21081
21906
|
if (error) {
|
|
21082
21907
|
const errorMsg = errorDescription || error;
|
|
21083
|
-
|
|
21908
|
+
logger203.error("[OAuth Redirect] Error:", errorMsg);
|
|
21084
21909
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(errorMsg)}`, webRequest.url));
|
|
21085
21910
|
}
|
|
21086
21911
|
if (!code || !state) {
|
|
21087
|
-
|
|
21912
|
+
logger203.error("[OAuth Redirect] Missing code or state parameter");
|
|
21088
21913
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent("Invalid OAuth callback")}`, webRequest.url));
|
|
21089
21914
|
}
|
|
21090
21915
|
let returnUrl = defaultRedirectUrl;
|
|
@@ -21161,7 +21986,7 @@ function createMCPServer(config) {
|
|
|
21161
21986
|
frontendUrl.hash = `oauth_callback=${encodeURIComponent(JSON.stringify({ code, state, tokenData }))}`;
|
|
21162
21987
|
return Response.redirect(frontendUrl);
|
|
21163
21988
|
} catch (error2) {
|
|
21164
|
-
|
|
21989
|
+
logger203.error("[OAuth Backend Callback] Error:", error2);
|
|
21165
21990
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(error2.message || "Failed to exchange token")}`, webRequest.url));
|
|
21166
21991
|
}
|
|
21167
21992
|
} else {
|
|
@@ -21441,13 +22266,22 @@ init_executor();
|
|
|
21441
22266
|
init_tool_builder();
|
|
21442
22267
|
export {
|
|
21443
22268
|
zoomIntegration,
|
|
22269
|
+
zohoWriterIntegration,
|
|
22270
|
+
zohoWorkdriveIntegration,
|
|
22271
|
+
zohoSprintsIntegration,
|
|
22272
|
+
zohoSignIntegration,
|
|
22273
|
+
zohoRecruitIntegration,
|
|
21444
22274
|
zohoProjectsIntegration,
|
|
22275
|
+
zohoPeopleIntegration,
|
|
21445
22276
|
zohoMailIntegration,
|
|
21446
22277
|
zohoInvoiceIntegration,
|
|
22278
|
+
zohoInventoryIntegration,
|
|
21447
22279
|
zohoDeskIntegration,
|
|
21448
22280
|
zohoCrmIntegration,
|
|
22281
|
+
zohoCreatorIntegration,
|
|
21449
22282
|
zohoCampaignsIntegration,
|
|
21450
22283
|
zohoBooksIntegration,
|
|
22284
|
+
zohoBillingIntegration,
|
|
21451
22285
|
zohoAnalyticsIntegration,
|
|
21452
22286
|
zendeskIntegration,
|
|
21453
22287
|
zapierIntegration,
|
|
@@ -21494,6 +22328,7 @@ export {
|
|
|
21494
22328
|
stripeIntegration,
|
|
21495
22329
|
stravaIntegration,
|
|
21496
22330
|
storeCodeVerifier,
|
|
22331
|
+
squarespaceIntegration,
|
|
21497
22332
|
squareIntegration,
|
|
21498
22333
|
spotifyIntegration,
|
|
21499
22334
|
sonosIntegration,
|
|
@@ -21530,6 +22365,7 @@ export {
|
|
|
21530
22365
|
pandadocIntegration,
|
|
21531
22366
|
outlookIntegration,
|
|
21532
22367
|
ouraIntegration,
|
|
22368
|
+
onenoteIntegration,
|
|
21533
22369
|
oneloginIntegration,
|
|
21534
22370
|
onedriveIntegration,
|
|
21535
22371
|
oktaIntegration,
|
|
@@ -21541,8 +22377,10 @@ export {
|
|
|
21541
22377
|
mondayIntegration,
|
|
21542
22378
|
miroIntegration,
|
|
21543
22379
|
mieleIntegration,
|
|
22380
|
+
microsoftToDoIntegration,
|
|
21544
22381
|
microsoftGraphEducationIntegration,
|
|
21545
22382
|
microsoftEntraIdIntegration,
|
|
22383
|
+
microsoftBookingsIntegration,
|
|
21546
22384
|
microsoftAdsIntegration,
|
|
21547
22385
|
metaAdsIntegration,
|
|
21548
22386
|
mercuryIntegration,
|
|
@@ -21553,6 +22391,7 @@ export {
|
|
|
21553
22391
|
linkedinIntegration,
|
|
21554
22392
|
linearIntegration,
|
|
21555
22393
|
leverIntegration,
|
|
22394
|
+
klaviyoIntegration,
|
|
21556
22395
|
kickIntegration,
|
|
21557
22396
|
jiraIntegration,
|
|
21558
22397
|
intercomIntegration,
|
|
@@ -21566,7 +22405,9 @@ export {
|
|
|
21566
22405
|
gsheetsIntegration,
|
|
21567
22406
|
greenhouseIntegration,
|
|
21568
22407
|
granolaIntegration,
|
|
22408
|
+
googlePlayConsoleIntegration,
|
|
21569
22409
|
googleHomeIntegration,
|
|
22410
|
+
googleFormsIntegration,
|
|
21570
22411
|
googleClassroomIntegration,
|
|
21571
22412
|
googleAdsIntegration,
|
|
21572
22413
|
gocardlessIntegration,
|
|
@@ -21594,6 +22435,7 @@ export {
|
|
|
21594
22435
|
freeagentIntegration,
|
|
21595
22436
|
foursquareIntegration,
|
|
21596
22437
|
fitbitIntegration,
|
|
22438
|
+
firebaseIntegration,
|
|
21597
22439
|
figmaIntegration,
|
|
21598
22440
|
fedexIntegration,
|
|
21599
22441
|
facebookIntegration,
|
|
@@ -21629,6 +22471,7 @@ export {
|
|
|
21629
22471
|
clerkIntegration,
|
|
21630
22472
|
canvasLmsIntegration,
|
|
21631
22473
|
canvaIntegration,
|
|
22474
|
+
calendlyIntegration,
|
|
21632
22475
|
calcomIntegration,
|
|
21633
22476
|
buildPhantomBrowseDeeplink,
|
|
21634
22477
|
buildCodeModeTool,
|
|
@@ -21639,6 +22482,7 @@ export {
|
|
|
21639
22482
|
bigcommerceIntegration,
|
|
21640
22483
|
betterstackIntegration,
|
|
21641
22484
|
bamboohrIntegration,
|
|
22485
|
+
azureDevopsIntegration,
|
|
21642
22486
|
awsIntegration,
|
|
21643
22487
|
auth0Integration,
|
|
21644
22488
|
attioIntegration,
|