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.
Files changed (99) hide show
  1. package/dist/adapters/auto-routes.js +80 -4
  2. package/dist/adapters/base-handler.js +80 -4
  3. package/dist/adapters/index.js +139 -5
  4. package/dist/adapters/nextjs.js +80 -4
  5. package/dist/adapters/solid-start.js +139 -5
  6. package/dist/adapters/svelte-kit.js +139 -5
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +854 -11
  10. package/dist/integrations.js +835 -11
  11. package/dist/oauth.js +80 -4
  12. package/dist/server.js +876 -34
  13. package/dist/src/client.d.ts +38 -0
  14. package/dist/src/client.d.ts.map +1 -1
  15. package/dist/src/index.d.ts +38 -0
  16. package/dist/src/index.d.ts.map +1 -1
  17. package/dist/src/integrations/azure_devops-client.d.ts +30 -0
  18. package/dist/src/integrations/azure_devops-client.d.ts.map +1 -0
  19. package/dist/src/integrations/azure_devops.d.ts +14 -0
  20. package/dist/src/integrations/azure_devops.d.ts.map +1 -0
  21. package/dist/src/integrations/calcom.d.ts.map +1 -1
  22. package/dist/src/integrations/calendly-client.d.ts +36 -0
  23. package/dist/src/integrations/calendly-client.d.ts.map +1 -0
  24. package/dist/src/integrations/calendly.d.ts +14 -0
  25. package/dist/src/integrations/calendly.d.ts.map +1 -0
  26. package/dist/src/integrations/firebase-client.d.ts +24 -0
  27. package/dist/src/integrations/firebase-client.d.ts.map +1 -0
  28. package/dist/src/integrations/firebase.d.ts +14 -0
  29. package/dist/src/integrations/firebase.d.ts.map +1 -0
  30. package/dist/src/integrations/google_forms-client.d.ts +24 -0
  31. package/dist/src/integrations/google_forms-client.d.ts.map +1 -0
  32. package/dist/src/integrations/google_forms.d.ts +14 -0
  33. package/dist/src/integrations/google_forms.d.ts.map +1 -0
  34. package/dist/src/integrations/google_play_console-client.d.ts +30 -0
  35. package/dist/src/integrations/google_play_console-client.d.ts.map +1 -0
  36. package/dist/src/integrations/google_play_console.d.ts +14 -0
  37. package/dist/src/integrations/google_play_console.d.ts.map +1 -0
  38. package/dist/src/integrations/klaviyo-client.d.ts +31 -0
  39. package/dist/src/integrations/klaviyo-client.d.ts.map +1 -0
  40. package/dist/src/integrations/klaviyo.d.ts +15 -0
  41. package/dist/src/integrations/klaviyo.d.ts.map +1 -0
  42. package/dist/src/integrations/library-metadata.d.ts +1 -1
  43. package/dist/src/integrations/library-metadata.d.ts.map +1 -1
  44. package/dist/src/integrations/microsoft_bookings-client.d.ts +26 -0
  45. package/dist/src/integrations/microsoft_bookings-client.d.ts.map +1 -0
  46. package/dist/src/integrations/microsoft_bookings.d.ts +14 -0
  47. package/dist/src/integrations/microsoft_bookings.d.ts.map +1 -0
  48. package/dist/src/integrations/microsoft_to_do-client.d.ts +33 -0
  49. package/dist/src/integrations/microsoft_to_do-client.d.ts.map +1 -0
  50. package/dist/src/integrations/microsoft_to_do.d.ts +14 -0
  51. package/dist/src/integrations/microsoft_to_do.d.ts.map +1 -0
  52. package/dist/src/integrations/onenote-client.d.ts +28 -0
  53. package/dist/src/integrations/onenote-client.d.ts.map +1 -0
  54. package/dist/src/integrations/onenote.d.ts +14 -0
  55. package/dist/src/integrations/onenote.d.ts.map +1 -0
  56. package/dist/src/integrations/squarespace-client.d.ts +27 -0
  57. package/dist/src/integrations/squarespace-client.d.ts.map +1 -0
  58. package/dist/src/integrations/squarespace.d.ts +14 -0
  59. package/dist/src/integrations/squarespace.d.ts.map +1 -0
  60. package/dist/src/integrations/zoho_billing-client.d.ts +29 -0
  61. package/dist/src/integrations/zoho_billing-client.d.ts.map +1 -0
  62. package/dist/src/integrations/zoho_billing.d.ts +15 -0
  63. package/dist/src/integrations/zoho_billing.d.ts.map +1 -0
  64. package/dist/src/integrations/zoho_creator-client.d.ts +35 -0
  65. package/dist/src/integrations/zoho_creator-client.d.ts.map +1 -0
  66. package/dist/src/integrations/zoho_creator.d.ts +15 -0
  67. package/dist/src/integrations/zoho_creator.d.ts.map +1 -0
  68. package/dist/src/integrations/zoho_inventory-client.d.ts +29 -0
  69. package/dist/src/integrations/zoho_inventory-client.d.ts.map +1 -0
  70. package/dist/src/integrations/zoho_inventory.d.ts +15 -0
  71. package/dist/src/integrations/zoho_inventory.d.ts.map +1 -0
  72. package/dist/src/integrations/zoho_people-client.d.ts +26 -0
  73. package/dist/src/integrations/zoho_people-client.d.ts.map +1 -0
  74. package/dist/src/integrations/zoho_people.d.ts +15 -0
  75. package/dist/src/integrations/zoho_people.d.ts.map +1 -0
  76. package/dist/src/integrations/zoho_recruit-client.d.ts +23 -0
  77. package/dist/src/integrations/zoho_recruit-client.d.ts.map +1 -0
  78. package/dist/src/integrations/zoho_recruit.d.ts +15 -0
  79. package/dist/src/integrations/zoho_recruit.d.ts.map +1 -0
  80. package/dist/src/integrations/zoho_sign-client.d.ts +26 -0
  81. package/dist/src/integrations/zoho_sign-client.d.ts.map +1 -0
  82. package/dist/src/integrations/zoho_sign.d.ts +15 -0
  83. package/dist/src/integrations/zoho_sign.d.ts.map +1 -0
  84. package/dist/src/integrations/zoho_sprints-client.d.ts +25 -0
  85. package/dist/src/integrations/zoho_sprints-client.d.ts.map +1 -0
  86. package/dist/src/integrations/zoho_sprints.d.ts +15 -0
  87. package/dist/src/integrations/zoho_sprints.d.ts.map +1 -0
  88. package/dist/src/integrations/zoho_workdrive-client.d.ts +23 -0
  89. package/dist/src/integrations/zoho_workdrive-client.d.ts.map +1 -0
  90. package/dist/src/integrations/zoho_workdrive.d.ts +15 -0
  91. package/dist/src/integrations/zoho_workdrive.d.ts.map +1 -0
  92. package/dist/src/integrations/zoho_writer-client.d.ts +26 -0
  93. package/dist/src/integrations/zoho_writer-client.d.ts.map +1 -0
  94. package/dist/src/integrations/zoho_writer.d.ts +15 -0
  95. package/dist/src/integrations/zoho_writer.d.ts.map +1 -0
  96. package/dist/src/server.d.ts +19 -0
  97. package/dist/src/server.d.ts.map +1 -1
  98. package/index.ts +39 -0
  99. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -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",
@@ -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: "Productivity"
505
+ category: "Scheduling"
430
506
  },
431
507
  canva: {
432
508
  description: "List and create Canva designs, manage folders, and export assets",
@@ -806,7 +882,7 @@ var init_library_metadata = __esm(() => {
806
882
  },
807
883
  webflow: {
808
884
  description: "Manage Webflow sites, collections, and CMS content",
809
- category: "Engineering"
885
+ category: "Websites & CMS"
810
886
  },
811
887
  workday: {
812
888
  description: "Read Workday HR data including workers, organizations, and pay",
@@ -2987,7 +3063,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
2987
3063
  signal: controller.signal
2988
3064
  });
2989
3065
  if (!response.ok) {
2990
- logger182.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
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
- logger182.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
3079
+ logger201.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
3004
3080
  }
3005
3081
  }
3006
3082
  }
3007
- var logger182;
3083
+ var logger201;
3008
3084
  var init_webhooks = __esm(() => {
3009
3085
  init_logger();
3010
- logger182 = createLogger("Webhooks", "server");
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
- logger183.error(`[Trigger ${trigger.id}] ${stepValidation.error}`);
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
- logger183.error(`[Trigger ${trigger.id}] ${error}`);
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
- logger183.error(`[Trigger ${trigger.id}] Step ${stepIndex} failed:`, err);
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
- logger183.error(`[Trigger ${trigger.id}] ${limitError}`);
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 logger183;
3240
+ var logger202;
3165
3241
  var init_executor2 = __esm(() => {
3166
3242
  init_logger();
3167
3243
  init_utils();
3168
3244
  init_webhooks();
3169
- logger183 = createLogger("TriggerExecutor", "server");
3245
+ logger202 = createLogger("TriggerExecutor", "server");
3170
3246
  });
3171
3247
 
3172
3248
  // src/protocol/jsonrpc.ts
@@ -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,
@@ -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");
@@ -12614,7 +12693,7 @@ function webflowIntegration(config = {}) {
12614
12693
  name: "Webflow",
12615
12694
  logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/webflow.png",
12616
12695
  description: "Manage Webflow sites, CMS collections, pages, forms, and publishing",
12617
- category: "Engineering",
12696
+ category: "Websites & CMS",
12618
12697
  tools: [...WEBFLOW_TOOLS],
12619
12698
  oauth,
12620
12699
  async onInit(_client) {
@@ -13588,7 +13667,7 @@ function wixIntegration(options = {}) {
13588
13667
  name: "Wix",
13589
13668
  logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/wix.png",
13590
13669
  description: "Manage Wix site stores, products, and e-commerce orders via REST",
13591
- category: "Business",
13670
+ category: "Websites & CMS",
13592
13671
  tools: [...WIX_TOOLS],
13593
13672
  authType: "apiKey",
13594
13673
  getHeaders() {
@@ -20411,9 +20490,753 @@ function convertJsonSchemaToGoogleSchema(jsonSchema, TypeEnum) {
20411
20490
  }
20412
20491
  return result;
20413
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
+
20414
21237
  // src/server.ts
20415
21238
  var SERVER_LOG_CONTEXT3 = "server";
20416
- var logger184 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
21239
+ var logger203 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
20417
21240
  async function refreshTokenIfNeeded(provider, tokenData, providers, config, context) {
20418
21241
  const credentials = providers[provider];
20419
21242
  if (!credentials || !config.serverUrl) {
@@ -20435,9 +21258,9 @@ async function refreshTokenIfNeeded(provider, tokenData, providers, config, cont
20435
21258
  });
20436
21259
  } catch (err) {
20437
21260
  if (err instanceof RefreshRejectedError) {
20438
- logger184.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
21261
+ logger203.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
20439
21262
  } else {
20440
- logger184.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
21263
+ logger203.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
20441
21264
  }
20442
21265
  return tokenData.accessToken;
20443
21266
  }
@@ -20547,7 +21370,7 @@ function createMCPServer(config) {
20547
21370
  if (integration.oauth) {
20548
21371
  const { clientId, clientSecret, redirectUri: integrationRedirectUri, config: oauthConfig } = integration.oauth;
20549
21372
  if (!clientId || !clientSecret) {
20550
- logger184.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
21373
+ logger203.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
20551
21374
  return integration;
20552
21375
  }
20553
21376
  const redirectUri = integrationRedirectUri || config.redirectUri || getDefaultRedirectUri();
@@ -20727,7 +21550,7 @@ function createMCPServer(config) {
20727
21550
  }
20728
21551
  return response2;
20729
21552
  } catch (error) {
20730
- logger184.error("[MCP Tool Call] Error:", error);
21553
+ logger203.error("[MCP Tool Call] Error:", error);
20731
21554
  return Response.json({ error: error.message || "Failed to execute tool call" }, { status: error.statusCode || 500 });
20732
21555
  }
20733
21556
  }
@@ -20776,7 +21599,7 @@ function createMCPServer(config) {
20776
21599
  });
20777
21600
  return Response.json(result, { status: result.success ? 200 : 500 });
20778
21601
  } catch (error) {
20779
- logger184.error("[Code Mode] Error:", error);
21602
+ logger203.error("[Code Mode] Error:", error);
20780
21603
  return Response.json({ error: error?.message || "Failed to execute code" }, { status: 500 });
20781
21604
  }
20782
21605
  }
@@ -20834,7 +21657,7 @@ function createMCPServer(config) {
20834
21657
  error: executionResult.error
20835
21658
  });
20836
21659
  } catch (error) {
20837
- logger184.error("[Trigger Notify] Error:", error);
21660
+ logger203.error("[Trigger Notify] Error:", error);
20838
21661
  return Response.json({ error: error.message || "Failed to execute trigger" }, { status: 500 });
20839
21662
  }
20840
21663
  }
@@ -20898,7 +21721,7 @@ function createMCPServer(config) {
20898
21721
  })
20899
21722
  });
20900
21723
  } catch (scheduleError) {
20901
- logger184.error("[Trigger] Failed to register with scheduler:", scheduleError);
21724
+ logger203.error("[Trigger] Failed to register with scheduler:", scheduleError);
20902
21725
  }
20903
21726
  return Response.json(created, { status: 201 });
20904
21727
  }
@@ -20933,7 +21756,7 @@ function createMCPServer(config) {
20933
21756
  body: JSON.stringify({ triggerId })
20934
21757
  });
20935
21758
  } catch (error) {
20936
- logger184.error("[Trigger] Failed to pause in scheduler:", error);
21759
+ logger203.error("[Trigger] Failed to pause in scheduler:", error);
20937
21760
  }
20938
21761
  return Response.json(updated);
20939
21762
  } else if (subAction === "resume" && method === "POST") {
@@ -20961,7 +21784,7 @@ function createMCPServer(config) {
20961
21784
  body: JSON.stringify({ triggerId })
20962
21785
  });
20963
21786
  } catch (error) {
20964
- logger184.error("[Trigger] Failed to resume in scheduler:", error);
21787
+ logger203.error("[Trigger] Failed to resume in scheduler:", error);
20965
21788
  }
20966
21789
  return Response.json(updated);
20967
21790
  } else if (subAction === "run" && method === "POST") {
@@ -21032,7 +21855,7 @@ function createMCPServer(config) {
21032
21855
  })
21033
21856
  });
21034
21857
  } catch (error) {
21035
- logger184.error("[Trigger] Failed to update scheduler:", error);
21858
+ logger203.error("[Trigger] Failed to update scheduler:", error);
21036
21859
  }
21037
21860
  }
21038
21861
  return Response.json(updated);
@@ -21049,14 +21872,14 @@ function createMCPServer(config) {
21049
21872
  body: JSON.stringify({ triggerId })
21050
21873
  });
21051
21874
  } catch (error) {
21052
- logger184.error("[Trigger] Failed to unregister from scheduler:", error);
21875
+ logger203.error("[Trigger] Failed to unregister from scheduler:", error);
21053
21876
  }
21054
21877
  return new Response(null, { status: 204 });
21055
21878
  }
21056
21879
  }
21057
21880
  return Response.json({ error: "Invalid trigger route or method" }, { status: 404 });
21058
21881
  } catch (error) {
21059
- logger184.error("[Trigger] Error:", error);
21882
+ logger203.error("[Trigger] Error:", error);
21060
21883
  return Response.json({ error: error.message || "Failed to process trigger request" }, { status: error.statusCode || 500 });
21061
21884
  }
21062
21885
  }
@@ -21082,11 +21905,11 @@ function createMCPServer(config) {
21082
21905
  const errorRedirectUrl = "/auth-error";
21083
21906
  if (error) {
21084
21907
  const errorMsg = errorDescription || error;
21085
- logger184.error("[OAuth Redirect] Error:", errorMsg);
21908
+ logger203.error("[OAuth Redirect] Error:", errorMsg);
21086
21909
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(errorMsg)}`, webRequest.url));
21087
21910
  }
21088
21911
  if (!code || !state) {
21089
- logger184.error("[OAuth Redirect] Missing code or state parameter");
21912
+ logger203.error("[OAuth Redirect] Missing code or state parameter");
21090
21913
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent("Invalid OAuth callback")}`, webRequest.url));
21091
21914
  }
21092
21915
  let returnUrl = defaultRedirectUrl;
@@ -21163,7 +21986,7 @@ function createMCPServer(config) {
21163
21986
  frontendUrl.hash = `oauth_callback=${encodeURIComponent(JSON.stringify({ code, state, tokenData }))}`;
21164
21987
  return Response.redirect(frontendUrl);
21165
21988
  } catch (error2) {
21166
- logger184.error("[OAuth Backend Callback] Error:", error2);
21989
+ logger203.error("[OAuth Backend Callback] Error:", error2);
21167
21990
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(error2.message || "Failed to exchange token")}`, webRequest.url));
21168
21991
  }
21169
21992
  } else {
@@ -21443,13 +22266,22 @@ init_executor();
21443
22266
  init_tool_builder();
21444
22267
  export {
21445
22268
  zoomIntegration,
22269
+ zohoWriterIntegration,
22270
+ zohoWorkdriveIntegration,
22271
+ zohoSprintsIntegration,
22272
+ zohoSignIntegration,
22273
+ zohoRecruitIntegration,
21446
22274
  zohoProjectsIntegration,
22275
+ zohoPeopleIntegration,
21447
22276
  zohoMailIntegration,
21448
22277
  zohoInvoiceIntegration,
22278
+ zohoInventoryIntegration,
21449
22279
  zohoDeskIntegration,
21450
22280
  zohoCrmIntegration,
22281
+ zohoCreatorIntegration,
21451
22282
  zohoCampaignsIntegration,
21452
22283
  zohoBooksIntegration,
22284
+ zohoBillingIntegration,
21453
22285
  zohoAnalyticsIntegration,
21454
22286
  zendeskIntegration,
21455
22287
  zapierIntegration,
@@ -21496,6 +22328,7 @@ export {
21496
22328
  stripeIntegration,
21497
22329
  stravaIntegration,
21498
22330
  storeCodeVerifier,
22331
+ squarespaceIntegration,
21499
22332
  squareIntegration,
21500
22333
  spotifyIntegration,
21501
22334
  sonosIntegration,
@@ -21532,6 +22365,7 @@ export {
21532
22365
  pandadocIntegration,
21533
22366
  outlookIntegration,
21534
22367
  ouraIntegration,
22368
+ onenoteIntegration,
21535
22369
  oneloginIntegration,
21536
22370
  onedriveIntegration,
21537
22371
  oktaIntegration,
@@ -21543,8 +22377,10 @@ export {
21543
22377
  mondayIntegration,
21544
22378
  miroIntegration,
21545
22379
  mieleIntegration,
22380
+ microsoftToDoIntegration,
21546
22381
  microsoftGraphEducationIntegration,
21547
22382
  microsoftEntraIdIntegration,
22383
+ microsoftBookingsIntegration,
21548
22384
  microsoftAdsIntegration,
21549
22385
  metaAdsIntegration,
21550
22386
  mercuryIntegration,
@@ -21555,6 +22391,7 @@ export {
21555
22391
  linkedinIntegration,
21556
22392
  linearIntegration,
21557
22393
  leverIntegration,
22394
+ klaviyoIntegration,
21558
22395
  kickIntegration,
21559
22396
  jiraIntegration,
21560
22397
  intercomIntegration,
@@ -21568,7 +22405,9 @@ export {
21568
22405
  gsheetsIntegration,
21569
22406
  greenhouseIntegration,
21570
22407
  granolaIntegration,
22408
+ googlePlayConsoleIntegration,
21571
22409
  googleHomeIntegration,
22410
+ googleFormsIntegration,
21572
22411
  googleClassroomIntegration,
21573
22412
  googleAdsIntegration,
21574
22413
  gocardlessIntegration,
@@ -21596,6 +22435,7 @@ export {
21596
22435
  freeagentIntegration,
21597
22436
  foursquareIntegration,
21598
22437
  fitbitIntegration,
22438
+ firebaseIntegration,
21599
22439
  figmaIntegration,
21600
22440
  fedexIntegration,
21601
22441
  facebookIntegration,
@@ -21631,6 +22471,7 @@ export {
21631
22471
  clerkIntegration,
21632
22472
  canvasLmsIntegration,
21633
22473
  canvaIntegration,
22474
+ calendlyIntegration,
21634
22475
  calcomIntegration,
21635
22476
  buildPhantomBrowseDeeplink,
21636
22477
  buildCodeModeTool,
@@ -21641,6 +22482,7 @@ export {
21641
22482
  bigcommerceIntegration,
21642
22483
  betterstackIntegration,
21643
22484
  bamboohrIntegration,
22485
+ azureDevopsIntegration,
21644
22486
  awsIntegration,
21645
22487
  auth0Integration,
21646
22488
  attioIntegration,