@composio/core 0.2.4 → 0.2.6

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 (334) hide show
  1. package/LICENSE +21 -0
  2. package/dist/index.cjs +54 -13
  3. package/dist/index.d.cts +27 -4
  4. package/dist/index.d.ts +27 -4
  5. package/dist/index.js +54 -13
  6. package/generated/ably.ts +20 -0
  7. package/generated/accelo.ts +8 -0
  8. package/generated/acculynx.ts +17 -0
  9. package/generated/active_campaign.ts +30 -0
  10. package/generated/adobe.ts +8 -0
  11. package/generated/adyntel.ts +12 -0
  12. package/generated/aero_workflow.ts +8 -0
  13. package/generated/affinity.ts +29 -0
  14. package/generated/agencyzoom.ts +108 -0
  15. package/generated/ahrefs.ts +49 -0
  16. package/generated/airtable.ts +26 -0
  17. package/generated/alchemy.ts +16 -0
  18. package/generated/algolia.ts +39 -0
  19. package/generated/altoviz.ts +18 -0
  20. package/generated/amazon.ts +8 -0
  21. package/generated/amcards.ts +11 -0
  22. package/generated/amplitude.ts +25 -0
  23. package/generated/anthropic_administrator.ts +13 -0
  24. package/generated/apaleo.ts +38 -0
  25. package/generated/apollo.ts +40 -0
  26. package/generated/appdrag.ts +8 -0
  27. package/generated/appsflyer.ts +8 -0
  28. package/generated/asana.ts +95 -0
  29. package/generated/ashby.ts +8 -0
  30. package/generated/atlassian.ts +8 -0
  31. package/generated/attio.ts +20 -0
  32. package/generated/auth0.ts +8 -0
  33. package/generated/axonaut.ts +8 -0
  34. package/generated/bamboohr.ts +168 -0
  35. package/generated/bannerbear.ts +17 -0
  36. package/generated/baserow.ts +11 -0
  37. package/generated/battlenet.ts +8 -0
  38. package/generated/beeminder.ts +14 -0
  39. package/generated/bigmailer.ts +12 -0
  40. package/generated/bigml.ts +15 -0
  41. package/generated/bill.ts +218 -0
  42. package/generated/bitbucket.ts +25 -0
  43. package/generated/bitwarden.ts +8 -0
  44. package/generated/blackbaud.ts +8 -0
  45. package/generated/blackboard.ts +323 -0
  46. package/generated/boldsign.ts +8 -0
  47. package/generated/bolna.ts +24 -0
  48. package/generated/borneo.ts +162 -0
  49. package/generated/botbaba.ts +8 -0
  50. package/generated/box.ts +282 -0
  51. package/generated/braintree.ts +8 -0
  52. package/generated/brandfetch.ts +15 -0
  53. package/generated/breezy_hr.ts +8 -0
  54. package/generated/brevo.ts +28 -0
  55. package/generated/brex.ts +8 -0
  56. package/generated/brex_staging.ts +8 -0
  57. package/generated/brightpearl.ts +8 -0
  58. package/generated/brilliant_directories.ts +15 -0
  59. package/generated/browseai.ts +18 -0
  60. package/generated/browserbase_tool.ts +10 -0
  61. package/generated/browserhub.ts +8 -0
  62. package/generated/browserless.ts +16 -0
  63. package/generated/bubble.ts +8 -0
  64. package/generated/bugbug.ts +13 -0
  65. package/generated/builtwith.ts +21 -0
  66. package/generated/cal.ts +150 -0
  67. package/generated/calendly.ts +51 -0
  68. package/generated/canva.ts +41 -0
  69. package/generated/canvas.ts +100 -0
  70. package/generated/chatwork.ts +17 -0
  71. package/generated/chmeetings.ts +8 -0
  72. package/generated/clickup.ts +153 -0
  73. package/generated/clockify.ts +23 -0
  74. package/generated/close.ts +15 -0
  75. package/generated/cloudflare.ts +10 -0
  76. package/generated/coda.ts +115 -0
  77. package/generated/codeinterpreter.ts +14 -0
  78. package/generated/coinbase.ts +15 -0
  79. package/generated/coinmarketcal.ts +8 -0
  80. package/generated/composio.ts +34 -0
  81. package/generated/composio_search.ts +22 -0
  82. package/generated/confluence.ts +199 -0
  83. package/generated/contentful.ts +12 -0
  84. package/generated/crustdata.ts +23 -0
  85. package/generated/customer_io.ts +8 -0
  86. package/generated/cutt_ly.ts +10 -0
  87. package/generated/d2lbrightspace.ts +54 -0
  88. package/generated/dailybot.ts +15 -0
  89. package/generated/datadog.ts +47 -0
  90. package/generated/datagma.ts +8 -0
  91. package/generated/datarobot.ts +8 -0
  92. package/generated/deel.ts +8 -0
  93. package/generated/demio.ts +8 -0
  94. package/generated/dialpad.ts +201 -0
  95. package/generated/digicert.ts +15 -0
  96. package/generated/discord.ts +17 -0
  97. package/generated/discordbot.ts +173 -0
  98. package/generated/docmosis.ts +8 -0
  99. package/generated/docusign.ts +351 -0
  100. package/generated/dropbox.ts +20 -0
  101. package/generated/dropbox_sign.ts +8 -0
  102. package/generated/dynamics365.ts +25 -0
  103. package/generated/echtpost.ts +10 -0
  104. package/generated/elevenlabs.ts +70 -0
  105. package/generated/emailoctopus.ts +16 -0
  106. package/generated/enigma.ts +11 -0
  107. package/generated/entelligence.ts +11 -0
  108. package/generated/epic_games.ts +8 -0
  109. package/generated/eventbrite.ts +12 -0
  110. package/generated/exa.ts +13 -0
  111. package/generated/excel.ts +34 -0
  112. package/generated/exist.ts +8 -0
  113. package/generated/facebook.ts +8 -0
  114. package/generated/factorial.ts +8 -0
  115. package/generated/figma.ts +59 -0
  116. package/generated/finage.ts +19 -0
  117. package/generated/firecrawl.ts +16 -0
  118. package/generated/fireflies.ts +21 -0
  119. package/generated/fitbit.ts +8 -0
  120. package/generated/flutterwave.ts +33 -0
  121. package/generated/fomo.ts +10 -0
  122. package/generated/formcarry.ts +10 -0
  123. package/generated/formsite.ts +14 -0
  124. package/generated/foursquare.ts +14 -0
  125. package/generated/freshbooks.ts +11 -0
  126. package/generated/freshdesk.ts +16 -0
  127. package/generated/front.ts +8 -0
  128. package/generated/github.ts +967 -0
  129. package/generated/gitlab.ts +82 -0
  130. package/generated/gmail.d.ts +86 -0
  131. package/generated/gmail.js +13 -0
  132. package/generated/gmail.ts +95 -0
  133. package/generated/go_to_webinar.ts +8 -0
  134. package/generated/gong.ts +63 -0
  135. package/generated/google_analytics.ts +13 -0
  136. package/generated/google_maps.ts +16 -0
  137. package/generated/googleads.ts +14 -0
  138. package/generated/googlebigquery.ts +10 -0
  139. package/generated/googlecalendar.ts +39 -0
  140. package/generated/googledocs.ts +41 -0
  141. package/generated/googledrive.ts +62 -0
  142. package/generated/googlemeet.ts +18 -0
  143. package/generated/googlephotos.ts +22 -0
  144. package/generated/googlesheets.ts +40 -0
  145. package/generated/googleslides.ts +8 -0
  146. package/generated/googlesuper.ts +230 -0
  147. package/generated/googletasks.ts +23 -0
  148. package/generated/gorgias.ts +41 -0
  149. package/generated/gumroad.ts +14 -0
  150. package/generated/guru.ts +8 -0
  151. package/generated/hackernews.ts +15 -0
  152. package/generated/hackerrank_work.ts +8 -0
  153. package/generated/harvest.ts +56 -0
  154. package/generated/helcim.ts +8 -0
  155. package/generated/heygen.ts +44 -0
  156. package/generated/highlevel.ts +8 -0
  157. package/generated/hubspot.ts +252 -0
  158. package/generated/humanloop.ts +13 -0
  159. package/generated/icims_talent_cloud.ts +8 -0
  160. package/generated/idea_scale.ts +8 -0
  161. package/generated/index.d.ts +136 -0
  162. package/generated/index.js +34 -0
  163. package/generated/index.ts +151 -0
  164. package/generated/insighto_ai.ts +19 -0
  165. package/generated/intercom.ts +52 -0
  166. package/generated/interzoid.ts +8 -0
  167. package/generated/jira.ts +59 -0
  168. package/generated/jotform.ts +15 -0
  169. package/generated/junglescout.ts +15 -0
  170. package/generated/keap.ts +8 -0
  171. package/generated/kibana.ts +58 -0
  172. package/generated/kit.ts +38 -0
  173. package/generated/klaviyo.ts +240 -0
  174. package/generated/klipfolio.ts +20 -0
  175. package/generated/kommo.ts +24 -0
  176. package/generated/lastpass.ts +8 -0
  177. package/generated/launch_darkly.ts +16 -0
  178. package/generated/leadfeeder.ts +13 -0
  179. package/generated/leadoku.ts +10 -0
  180. package/generated/lever.ts +8 -0
  181. package/generated/lever_sandbox.ts +8 -0
  182. package/generated/lexoffice.ts +8 -0
  183. package/generated/linear.ts +31 -0
  184. package/generated/linkedin.ts +13 -0
  185. package/generated/linkhut.ts +14 -0
  186. package/generated/linkup.ts +11 -0
  187. package/generated/listennotes.ts +35 -0
  188. package/generated/lmnt.ts +16 -0
  189. package/generated/lodgify.ts +10 -0
  190. package/generated/mailchimp.ts +285 -0
  191. package/generated/mailerlite.ts +8 -0
  192. package/generated/maintainx.ts +20 -0
  193. package/generated/make.ts +12 -0
  194. package/generated/mboum.ts +8 -0
  195. package/generated/mem0.ts +52 -0
  196. package/generated/metaads.ts +25 -0
  197. package/generated/metatextai.ts +8 -0
  198. package/generated/microsoft_clarity.ts +10 -0
  199. package/generated/microsoft_teams.ts +22 -0
  200. package/generated/microsoft_tenant.ts +8 -0
  201. package/generated/miro.ts +23 -0
  202. package/generated/mixpanel.ts +30 -0
  203. package/generated/mocean.ts +8 -0
  204. package/generated/monday.ts +30 -0
  205. package/generated/mopinion.ts +8 -0
  206. package/generated/more_trees.ts +10 -0
  207. package/generated/moxie.ts +8 -0
  208. package/generated/moz.ts +8 -0
  209. package/generated/mural.ts +14 -0
  210. package/generated/nasdaq.ts +15 -0
  211. package/generated/ncscale.ts +8 -0
  212. package/generated/neon.ts +78 -0
  213. package/generated/netsuite.ts +8 -0
  214. package/generated/nextdns.ts +11 -0
  215. package/generated/ngrok.ts +18 -0
  216. package/generated/notion.ts +40 -0
  217. package/generated/oncehub.ts +8 -0
  218. package/generated/one_drive.ts +49 -0
  219. package/generated/onepage.ts +11 -0
  220. package/generated/open_sea.ts +33 -0
  221. package/generated/outlook.ts +37 -0
  222. package/generated/pagerduty.ts +362 -0
  223. package/generated/pandadoc.ts +23 -0
  224. package/generated/peopledatalabs.ts +24 -0
  225. package/generated/perplexityai.ts +10 -0
  226. package/generated/piggy.ts +8 -0
  227. package/generated/pipedrive.ts +288 -0
  228. package/generated/placekey.ts +12 -0
  229. package/generated/posthog.ts +367 -0
  230. package/generated/precoro.ts +8 -0
  231. package/generated/printnode.ts +8 -0
  232. package/generated/process_street.ts +14 -0
  233. package/generated/productboard.ts +8 -0
  234. package/generated/qualaroo.ts +8 -0
  235. package/generated/quickbooks.ts +22 -0
  236. package/generated/rafflys.ts +8 -0
  237. package/generated/ragic.ts +10 -0
  238. package/generated/ramp.ts +17 -0
  239. package/generated/ravenseotools.ts +8 -0
  240. package/generated/recallai.ts +17 -0
  241. package/generated/reddit.ts +19 -0
  242. package/generated/resend.ts +27 -0
  243. package/generated/retellai.ts +19 -0
  244. package/generated/retently.ts +24 -0
  245. package/generated/ring_central.ts +8 -0
  246. package/generated/rippling.ts +8 -0
  247. package/generated/rocket_reach.ts +8 -0
  248. package/generated/rocketlane.ts +42 -0
  249. package/generated/rootly.ts +12 -0
  250. package/generated/rosette_text_analytics.ts +12 -0
  251. package/generated/sage.ts +8 -0
  252. package/generated/salesforce.ts +46 -0
  253. package/generated/scrape_do.ts +28 -0
  254. package/generated/scrapingant.ts +14 -0
  255. package/generated/screenshotone.ts +10 -0
  256. package/generated/seismic.ts +8 -0
  257. package/generated/semanticscholar.ts +23 -0
  258. package/generated/semrush.ts +45 -0
  259. package/generated/sendgrid.ts +384 -0
  260. package/generated/sentry.ts +185 -0
  261. package/generated/serpapi.ts +32 -0
  262. package/generated/servicem8.ts +37 -0
  263. package/generated/servicenow.ts +14 -0
  264. package/generated/share_point.ts +15 -0
  265. package/generated/shopify.ts +37 -0
  266. package/generated/shortcut.ts +131 -0
  267. package/generated/simplesat.ts +11 -0
  268. package/generated/slack.d.ts +16 -0
  269. package/generated/slack.js +11 -0
  270. package/generated/slack.ts +24 -0
  271. package/generated/slackbot.ts +205 -0
  272. package/generated/smartrecruiters.ts +8 -0
  273. package/generated/smugmug.ts +14 -0
  274. package/generated/snowflake.ts +15 -0
  275. package/generated/sourcegraph.ts +16 -0
  276. package/generated/square.ts +8 -0
  277. package/generated/stack_exchange.ts +17 -0
  278. package/generated/starton.ts +11 -0
  279. package/generated/storeganise.ts +12 -0
  280. package/generated/stripe.ts +50 -0
  281. package/generated/supabase.ts +86 -0
  282. package/generated/survey_monkey.ts +8 -0
  283. package/generated/tally.ts +25 -0
  284. package/generated/tapfiliate.ts +11 -0
  285. package/generated/tapform.ts +8 -0
  286. package/generated/tavily.ts +10 -0
  287. package/generated/terminus.ts +8 -0
  288. package/generated/text_to_pdf.ts +10 -0
  289. package/generated/textrazor.ts +22 -0
  290. package/generated/timecamp.ts +10 -0
  291. package/generated/timekit.ts +8 -0
  292. package/generated/timely.ts +11 -0
  293. package/generated/tinypng.ts +15 -0
  294. package/generated/tinyurl.ts +10 -0
  295. package/generated/tisane.ts +15 -0
  296. package/generated/todoist.ts +19 -0
  297. package/generated/toneden.ts +8 -0
  298. package/generated/tpscheck.ts +10 -0
  299. package/generated/trello.ts +360 -0
  300. package/generated/twitch.ts +8 -0
  301. package/generated/twitter.ts +82 -0
  302. package/generated/twitter_media.ts +10 -0
  303. package/generated/typefully.ts +14 -0
  304. package/generated/venly.ts +8 -0
  305. package/generated/vero.ts +8 -0
  306. package/generated/visme.ts +8 -0
  307. package/generated/waboxapp.ts +8 -0
  308. package/generated/wakatime.ts +8 -0
  309. package/generated/wave_accounting.ts +8 -0
  310. package/generated/weathermap.ts +10 -0
  311. package/generated/webex.ts +37 -0
  312. package/generated/webflow.ts +30 -0
  313. package/generated/whatsapp.ts +14 -0
  314. package/generated/wiz.ts +8 -0
  315. package/generated/workiom.ts +12 -0
  316. package/generated/wrike.ts +47 -0
  317. package/generated/xero.ts +13 -0
  318. package/generated/yandex.ts +13 -0
  319. package/generated/ynab.ts +8 -0
  320. package/generated/yousearch.ts +10 -0
  321. package/generated/youtube.ts +26 -0
  322. package/generated/zendesk.ts +23 -0
  323. package/generated/zenrows.ts +25 -0
  324. package/generated/zenserp.ts +20 -0
  325. package/generated/zoho.ts +33 -0
  326. package/generated/zoho_bigin.ts +21 -0
  327. package/generated/zoho_books.ts +8 -0
  328. package/generated/zoho_desk.ts +8 -0
  329. package/generated/zoho_inventory.ts +8 -0
  330. package/generated/zoho_invoice.ts +15 -0
  331. package/generated/zoho_mail.ts +8 -0
  332. package/generated/zoom.ts +181 -0
  333. package/generated/zoominfo.ts +26 -0
  334. package/package.json +3 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Sampark Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.cjs CHANGED
@@ -1208,12 +1208,12 @@ ${originalStackBody}`;
1208
1208
  }
1209
1209
  /**
1210
1210
  * Utility function to handle errors in a consistent way
1211
- * This properly displays the error and exits the process if needed
1211
+ * This properly displays the error without throwing
1212
1212
  * @param error The error to handle
1213
1213
  * @param options Options for error handling
1214
1214
  */
1215
1215
  static handle(error, options = {}) {
1216
- const { includeStack = false, exitProcess = false, exitCode = 1 } = options;
1216
+ const { includeStack = false, exitProcess = false } = options;
1217
1217
  if (error instanceof _ComposioError) {
1218
1218
  error.prettyPrint(includeStack);
1219
1219
  } else if (error instanceof import_v34.ZodError) {
@@ -1223,8 +1223,34 @@ ${originalStackBody}`;
1223
1223
  } else {
1224
1224
  this.handleUnknownError(error);
1225
1225
  }
1226
- if (exitProcess && typeof process !== "undefined") {
1227
- process.exit(exitCode);
1226
+ if (exitProcess) {
1227
+ this.throwError(error);
1228
+ }
1229
+ }
1230
+ /**
1231
+ * Utility function to handle errors and then throw them
1232
+ * This properly displays the error and then throws it, allowing callers to catch it.
1233
+ * Use this for fatal errors that should stop execution.
1234
+ * @param error The error to handle and throw
1235
+ * @param includeStack Whether to include the stack trace in the output
1236
+ * @throws ComposioError - Always throws after displaying the error
1237
+ */
1238
+ static handleAndThrow(error, includeStack = false) {
1239
+ this.handle(error, { includeStack });
1240
+ this.throwError(error);
1241
+ }
1242
+ /**
1243
+ * Helper method to throw an error as a ComposioError
1244
+ * @param error The error to throw
1245
+ * @private
1246
+ */
1247
+ static throwError(error) {
1248
+ if (error instanceof _ComposioError) {
1249
+ throw error;
1250
+ } else if (error instanceof Error) {
1251
+ throw new _ComposioError(error.message, { cause: error });
1252
+ } else {
1253
+ throw new _ComposioError(String(error));
1228
1254
  }
1229
1255
  }
1230
1256
  /**
@@ -2774,7 +2800,7 @@ var Tools = class {
2774
2800
  this.autoUploadDownloadFiles = config?.autoUploadDownloadFiles ?? true;
2775
2801
  this.toolkitVersions = config?.toolkitVersions ?? "latest";
2776
2802
  this.execute = this.execute.bind(this);
2777
- this.provider._setExecuteToolFn(this.execute);
2803
+ this.provider._setExecuteToolFn(this.createExecuteFnForProviders());
2778
2804
  this.getRawComposioToolBySlug = this.getRawComposioToolBySlug.bind(this);
2779
2805
  this.getRawComposioTools = this.getRawComposioTools.bind(this);
2780
2806
  telemetry.instrument(this, "Tools");
@@ -3133,6 +3159,22 @@ var Tools = class {
3133
3159
  return this.provider.wrapTools(tools, executeToolFn);
3134
3160
  }
3135
3161
  }
3162
+ /**
3163
+ * @internal
3164
+ * Creates a global execute tool function.
3165
+ * This function is used by providers to execute tools.
3166
+ * It skips the version check for provider controlled execution.
3167
+ * @returns {GlobalExecuteToolFn} The global execute tool function
3168
+ */
3169
+ createExecuteFnForProviders() {
3170
+ return async (slug, body, modifiers) => {
3171
+ return await this.execute(
3172
+ slug,
3173
+ { ...body, dangerouslySkipVersionCheck: body.dangerouslySkipVersionCheck ?? true },
3174
+ modifiers
3175
+ );
3176
+ };
3177
+ }
3136
3178
  /**
3137
3179
  * @internal
3138
3180
  * @description
@@ -3150,7 +3192,7 @@ var Tools = class {
3150
3192
  {
3151
3193
  userId,
3152
3194
  arguments: input,
3153
- // dangerously skip version check for agentic and non agentic tool execution via providers
3195
+ // dangerously skip version check for agentic tool execution via providers
3154
3196
  // this can be safe because most agentic flows users fetch latest version and then execute the tool
3155
3197
  dangerouslySkipVersionCheck: true
3156
3198
  },
@@ -6806,9 +6848,7 @@ function getSDKConfig(baseUrl, apiKey) {
6806
6848
  const baseURLParsed = baseUrl || getEnvVariable("COMPOSIO_BASE_URL") || baseURLFromUserConfig || DEFAULT_BASE_URL;
6807
6849
  const apiKeyParsed = apiKey || getEnvVariable("COMPOSIO_API_KEY") || apiKeyFromUserConfig || "";
6808
6850
  if (!apiKeyParsed) {
6809
- ComposioError.handle(new ComposioNoAPIKeyError(), {
6810
- exitProcess: true
6811
- });
6851
+ ComposioError.handleAndThrow(new ComposioNoAPIKeyError());
6812
6852
  }
6813
6853
  logger_default.debug("Environment", `API Key: ${apiKeyParsed}`);
6814
6854
  logger_default.debug("Environment", `Base URL: ${baseURLParsed}`);
@@ -6884,7 +6924,7 @@ var BaseProvider = class {
6884
6924
  /**
6885
6925
  * @public
6886
6926
  * Global function to execute a tool.
6887
- * This function is used by providerds to implement helper functions to execute tools.
6927
+ * This function is used by providers to implement helper functions to execute tools.
6888
6928
  * This is a 1:1 mapping of the `execute` method in the `Tools` class.
6889
6929
  * @param {string} toolSlug - The slug of the tool to execute.
6890
6930
  * @param {ToolExecuteParams} body - The body of the tool execution.
@@ -7360,7 +7400,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
7360
7400
  };
7361
7401
 
7362
7402
  // package.json
7363
- var version = "0.2.4";
7403
+ var version = "0.2.6";
7364
7404
 
7365
7405
  // src/models/Files.ts
7366
7406
  var Files = class {
@@ -7599,15 +7639,16 @@ var Composio = class _Composio {
7599
7639
  if (IS_DEVELOPMENT_OR_CI) {
7600
7640
  logger_default.debug(`Initializing Composio w API Key: [REDACTED] and baseURL: ${baseURLParsed}`);
7601
7641
  }
7642
+ this.provider = config?.provider ?? new OpenAIProvider();
7602
7643
  this.config = {
7603
7644
  ...config,
7604
7645
  baseURL: baseURLParsed,
7605
7646
  apiKey: apiKeyParsed,
7606
7647
  toolkitVersions: getToolkitVersionsFromEnv(config?.toolkitVersions),
7607
7648
  allowTracking: config?.allowTracking ?? true,
7608
- autoUploadDownloadFiles: config?.autoUploadDownloadFiles ?? true
7649
+ autoUploadDownloadFiles: config?.autoUploadDownloadFiles ?? true,
7650
+ provider: config?.provider ?? this.provider
7609
7651
  };
7610
- this.provider = config?.provider ?? new OpenAIProvider();
7611
7652
  const defaultHeaders = getDefaultHeaders(this.config.defaultHeaders, this.provider);
7612
7653
  this.client = new import_client8.default({
7613
7654
  apiKey: apiKeyParsed,
package/dist/index.d.cts CHANGED
@@ -16836,7 +16836,7 @@ declare abstract class BaseProvider<TMcpResponse> {
16836
16836
  /**
16837
16837
  * @public
16838
16838
  * Global function to execute a tool.
16839
- * This function is used by providerds to implement helper functions to execute tools.
16839
+ * This function is used by providers to implement helper functions to execute tools.
16840
16840
  * This is a 1:1 mapping of the `execute` method in the `Tools` class.
16841
16841
  * @param {string} toolSlug - The slug of the tool to execute.
16842
16842
  * @param {ToolExecuteParams} body - The body of the tool execution.
@@ -17172,6 +17172,14 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
17172
17172
  * ```
17173
17173
  */
17174
17174
  get<T extends TProvider>(userId: string, slug: string, options?: ProviderOptions<TProvider>): Promise<ReturnType<T['wrapTools']>>;
17175
+ /**
17176
+ * @internal
17177
+ * Creates a global execute tool function.
17178
+ * This function is used by providers to execute tools.
17179
+ * It skips the version check for provider controlled execution.
17180
+ * @returns {GlobalExecuteToolFn} The global execute tool function
17181
+ */
17182
+ private createExecuteFnForProviders;
17175
17183
  /**
17176
17184
  * @internal
17177
17185
  * @description
@@ -67383,9 +67391,9 @@ declare const logger: Logger;
67383
67391
  interface ErrorHandleOptions {
67384
67392
  /** Whether to include the stack trace in the output */
67385
67393
  includeStack?: boolean;
67386
- /** Whether to exit the process after handling */
67394
+ /** @deprecated Use ComposioError.handleAndThrow() instead. This option will be removed in a future version. */
67387
67395
  exitProcess?: boolean;
67388
- /** The exit code to use if exiting the process */
67396
+ /** @deprecated This option is no longer used. */
67389
67397
  exitCode?: number;
67390
67398
  }
67391
67399
  /**
@@ -67458,11 +67466,26 @@ declare class ComposioError extends Error {
67458
67466
  static createAndPrint(message: string, options?: ComposioErrorOptions, includeStack?: boolean): ComposioError;
67459
67467
  /**
67460
67468
  * Utility function to handle errors in a consistent way
67461
- * This properly displays the error and exits the process if needed
67469
+ * This properly displays the error without throwing
67462
67470
  * @param error The error to handle
67463
67471
  * @param options Options for error handling
67464
67472
  */
67465
67473
  static handle(error: unknown, options?: ErrorHandleOptions): void;
67474
+ /**
67475
+ * Utility function to handle errors and then throw them
67476
+ * This properly displays the error and then throws it, allowing callers to catch it.
67477
+ * Use this for fatal errors that should stop execution.
67478
+ * @param error The error to handle and throw
67479
+ * @param includeStack Whether to include the stack trace in the output
67480
+ * @throws ComposioError - Always throws after displaying the error
67481
+ */
67482
+ static handleAndThrow(error: unknown, includeStack?: boolean): never;
67483
+ /**
67484
+ * Helper method to throw an error as a ComposioError
67485
+ * @param error The error to throw
67486
+ * @private
67487
+ */
67488
+ private static throwError;
67466
67489
  /**
67467
67490
  * Helper method to handle Zod validation errors
67468
67491
  * @param error The Zod error to handle
package/dist/index.d.ts CHANGED
@@ -16836,7 +16836,7 @@ declare abstract class BaseProvider<TMcpResponse> {
16836
16836
  /**
16837
16837
  * @public
16838
16838
  * Global function to execute a tool.
16839
- * This function is used by providerds to implement helper functions to execute tools.
16839
+ * This function is used by providers to implement helper functions to execute tools.
16840
16840
  * This is a 1:1 mapping of the `execute` method in the `Tools` class.
16841
16841
  * @param {string} toolSlug - The slug of the tool to execute.
16842
16842
  * @param {ToolExecuteParams} body - The body of the tool execution.
@@ -17172,6 +17172,14 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
17172
17172
  * ```
17173
17173
  */
17174
17174
  get<T extends TProvider>(userId: string, slug: string, options?: ProviderOptions<TProvider>): Promise<ReturnType<T['wrapTools']>>;
17175
+ /**
17176
+ * @internal
17177
+ * Creates a global execute tool function.
17178
+ * This function is used by providers to execute tools.
17179
+ * It skips the version check for provider controlled execution.
17180
+ * @returns {GlobalExecuteToolFn} The global execute tool function
17181
+ */
17182
+ private createExecuteFnForProviders;
17175
17183
  /**
17176
17184
  * @internal
17177
17185
  * @description
@@ -67383,9 +67391,9 @@ declare const logger: Logger;
67383
67391
  interface ErrorHandleOptions {
67384
67392
  /** Whether to include the stack trace in the output */
67385
67393
  includeStack?: boolean;
67386
- /** Whether to exit the process after handling */
67394
+ /** @deprecated Use ComposioError.handleAndThrow() instead. This option will be removed in a future version. */
67387
67395
  exitProcess?: boolean;
67388
- /** The exit code to use if exiting the process */
67396
+ /** @deprecated This option is no longer used. */
67389
67397
  exitCode?: number;
67390
67398
  }
67391
67399
  /**
@@ -67458,11 +67466,26 @@ declare class ComposioError extends Error {
67458
67466
  static createAndPrint(message: string, options?: ComposioErrorOptions, includeStack?: boolean): ComposioError;
67459
67467
  /**
67460
67468
  * Utility function to handle errors in a consistent way
67461
- * This properly displays the error and exits the process if needed
67469
+ * This properly displays the error without throwing
67462
67470
  * @param error The error to handle
67463
67471
  * @param options Options for error handling
67464
67472
  */
67465
67473
  static handle(error: unknown, options?: ErrorHandleOptions): void;
67474
+ /**
67475
+ * Utility function to handle errors and then throw them
67476
+ * This properly displays the error and then throws it, allowing callers to catch it.
67477
+ * Use this for fatal errors that should stop execution.
67478
+ * @param error The error to handle and throw
67479
+ * @param includeStack Whether to include the stack trace in the output
67480
+ * @throws ComposioError - Always throws after displaying the error
67481
+ */
67482
+ static handleAndThrow(error: unknown, includeStack?: boolean): never;
67483
+ /**
67484
+ * Helper method to throw an error as a ComposioError
67485
+ * @param error The error to throw
67486
+ * @private
67487
+ */
67488
+ private static throwError;
67466
67489
  /**
67467
67490
  * Helper method to handle Zod validation errors
67468
67491
  * @param error The Zod error to handle
package/dist/index.js CHANGED
@@ -1031,12 +1031,12 @@ ${originalStackBody}`;
1031
1031
  }
1032
1032
  /**
1033
1033
  * Utility function to handle errors in a consistent way
1034
- * This properly displays the error and exits the process if needed
1034
+ * This properly displays the error without throwing
1035
1035
  * @param error The error to handle
1036
1036
  * @param options Options for error handling
1037
1037
  */
1038
1038
  static handle(error, options = {}) {
1039
- const { includeStack = false, exitProcess = false, exitCode = 1 } = options;
1039
+ const { includeStack = false, exitProcess = false } = options;
1040
1040
  if (error instanceof _ComposioError) {
1041
1041
  error.prettyPrint(includeStack);
1042
1042
  } else if (error instanceof ZodError) {
@@ -1046,8 +1046,34 @@ ${originalStackBody}`;
1046
1046
  } else {
1047
1047
  this.handleUnknownError(error);
1048
1048
  }
1049
- if (exitProcess && typeof process !== "undefined") {
1050
- process.exit(exitCode);
1049
+ if (exitProcess) {
1050
+ this.throwError(error);
1051
+ }
1052
+ }
1053
+ /**
1054
+ * Utility function to handle errors and then throw them
1055
+ * This properly displays the error and then throws it, allowing callers to catch it.
1056
+ * Use this for fatal errors that should stop execution.
1057
+ * @param error The error to handle and throw
1058
+ * @param includeStack Whether to include the stack trace in the output
1059
+ * @throws ComposioError - Always throws after displaying the error
1060
+ */
1061
+ static handleAndThrow(error, includeStack = false) {
1062
+ this.handle(error, { includeStack });
1063
+ this.throwError(error);
1064
+ }
1065
+ /**
1066
+ * Helper method to throw an error as a ComposioError
1067
+ * @param error The error to throw
1068
+ * @private
1069
+ */
1070
+ static throwError(error) {
1071
+ if (error instanceof _ComposioError) {
1072
+ throw error;
1073
+ } else if (error instanceof Error) {
1074
+ throw new _ComposioError(error.message, { cause: error });
1075
+ } else {
1076
+ throw new _ComposioError(String(error));
1051
1077
  }
1052
1078
  }
1053
1079
  /**
@@ -2597,7 +2623,7 @@ var Tools = class {
2597
2623
  this.autoUploadDownloadFiles = config?.autoUploadDownloadFiles ?? true;
2598
2624
  this.toolkitVersions = config?.toolkitVersions ?? "latest";
2599
2625
  this.execute = this.execute.bind(this);
2600
- this.provider._setExecuteToolFn(this.execute);
2626
+ this.provider._setExecuteToolFn(this.createExecuteFnForProviders());
2601
2627
  this.getRawComposioToolBySlug = this.getRawComposioToolBySlug.bind(this);
2602
2628
  this.getRawComposioTools = this.getRawComposioTools.bind(this);
2603
2629
  telemetry.instrument(this, "Tools");
@@ -2956,6 +2982,22 @@ var Tools = class {
2956
2982
  return this.provider.wrapTools(tools, executeToolFn);
2957
2983
  }
2958
2984
  }
2985
+ /**
2986
+ * @internal
2987
+ * Creates a global execute tool function.
2988
+ * This function is used by providers to execute tools.
2989
+ * It skips the version check for provider controlled execution.
2990
+ * @returns {GlobalExecuteToolFn} The global execute tool function
2991
+ */
2992
+ createExecuteFnForProviders() {
2993
+ return async (slug, body, modifiers) => {
2994
+ return await this.execute(
2995
+ slug,
2996
+ { ...body, dangerouslySkipVersionCheck: body.dangerouslySkipVersionCheck ?? true },
2997
+ modifiers
2998
+ );
2999
+ };
3000
+ }
2959
3001
  /**
2960
3002
  * @internal
2961
3003
  * @description
@@ -2973,7 +3015,7 @@ var Tools = class {
2973
3015
  {
2974
3016
  userId,
2975
3017
  arguments: input,
2976
- // dangerously skip version check for agentic and non agentic tool execution via providers
3018
+ // dangerously skip version check for agentic tool execution via providers
2977
3019
  // this can be safe because most agentic flows users fetch latest version and then execute the tool
2978
3020
  dangerouslySkipVersionCheck: true
2979
3021
  },
@@ -6629,9 +6671,7 @@ function getSDKConfig(baseUrl, apiKey) {
6629
6671
  const baseURLParsed = baseUrl || getEnvVariable("COMPOSIO_BASE_URL") || baseURLFromUserConfig || DEFAULT_BASE_URL;
6630
6672
  const apiKeyParsed = apiKey || getEnvVariable("COMPOSIO_API_KEY") || apiKeyFromUserConfig || "";
6631
6673
  if (!apiKeyParsed) {
6632
- ComposioError.handle(new ComposioNoAPIKeyError(), {
6633
- exitProcess: true
6634
- });
6674
+ ComposioError.handleAndThrow(new ComposioNoAPIKeyError());
6635
6675
  }
6636
6676
  logger_default.debug("Environment", `API Key: ${apiKeyParsed}`);
6637
6677
  logger_default.debug("Environment", `Base URL: ${baseURLParsed}`);
@@ -6707,7 +6747,7 @@ var BaseProvider = class {
6707
6747
  /**
6708
6748
  * @public
6709
6749
  * Global function to execute a tool.
6710
- * This function is used by providerds to implement helper functions to execute tools.
6750
+ * This function is used by providers to implement helper functions to execute tools.
6711
6751
  * This is a 1:1 mapping of the `execute` method in the `Tools` class.
6712
6752
  * @param {string} toolSlug - The slug of the tool to execute.
6713
6753
  * @param {ToolExecuteParams} body - The body of the tool execution.
@@ -7183,7 +7223,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
7183
7223
  };
7184
7224
 
7185
7225
  // package.json
7186
- var version = "0.2.4";
7226
+ var version = "0.2.6";
7187
7227
 
7188
7228
  // src/models/Files.ts
7189
7229
  var Files = class {
@@ -7422,15 +7462,16 @@ var Composio = class _Composio {
7422
7462
  if (IS_DEVELOPMENT_OR_CI) {
7423
7463
  logger_default.debug(`Initializing Composio w API Key: [REDACTED] and baseURL: ${baseURLParsed}`);
7424
7464
  }
7465
+ this.provider = config?.provider ?? new OpenAIProvider();
7425
7466
  this.config = {
7426
7467
  ...config,
7427
7468
  baseURL: baseURLParsed,
7428
7469
  apiKey: apiKeyParsed,
7429
7470
  toolkitVersions: getToolkitVersionsFromEnv(config?.toolkitVersions),
7430
7471
  allowTracking: config?.allowTracking ?? true,
7431
- autoUploadDownloadFiles: config?.autoUploadDownloadFiles ?? true
7472
+ autoUploadDownloadFiles: config?.autoUploadDownloadFiles ?? true,
7473
+ provider: config?.provider ?? this.provider
7432
7474
  };
7433
- this.provider = config?.provider ?? new OpenAIProvider();
7434
7475
  const defaultHeaders = getDefaultHeaders(this.config.defaultHeaders, this.provider);
7435
7476
  this.client = new ComposioClient4({
7436
7477
  apiKey: apiKeyParsed,
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Map of Composio's ABLY toolkit.
3
+ */
4
+ export const ABLY = {
5
+ slug: "ably",
6
+ tools: {
7
+ BATCH_PRESENCE: "ABLY_BATCH_PRESENCE",
8
+ BATCH_PRESENCE_HISTORY: "ABLY_BATCH_PRESENCE_HISTORY",
9
+ CREATE_CHANNEL: "ABLY_CREATE_CHANNEL",
10
+ DELETE_CHANNEL_SUBSCRIPTION: "ABLY_DELETE_CHANNEL_SUBSCRIPTION",
11
+ GET_CHANNEL_DETAILS: "ABLY_GET_CHANNEL_DETAILS",
12
+ GET_CHANNEL_HISTORY: "ABLY_GET_CHANNEL_HISTORY",
13
+ GET_PRESENCE_HISTORY: "ABLY_GET_PRESENCE_HISTORY",
14
+ GET_SERVICE_TIME: "ABLY_GET_SERVICE_TIME",
15
+ GET_STATS: "ABLY_GET_STATS",
16
+ LIST_PUSH_CHANNEL_SUBSCRIPTIONS: "ABLY_LIST_PUSH_CHANNEL_SUBSCRIPTIONS",
17
+ PUBLISH_MESSAGE_TO_CHANNEL: "ABLY_PUBLISH_MESSAGE_TO_CHANNEL",
18
+ },
19
+ triggerTypes: {},
20
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Map of Composio's ACCELO toolkit.
3
+ */
4
+ export const ACCELO = {
5
+ slug: "accelo",
6
+ tools: {},
7
+ triggerTypes: {},
8
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Map of Composio's ACCULYNX toolkit.
3
+ */
4
+ export const ACCULYNX = {
5
+ slug: "acculynx",
6
+ tools: {
7
+ ADD_JOB_APPOINTMENT: "ACCULYNX_ADD_JOB_APPOINTMENT",
8
+ CREATE_A_CONTACT: "ACCULYNX_CREATE_A_CONTACT",
9
+ CREATE_A_JOB: "ACCULYNX_CREATE_A_JOB",
10
+ CREATE_A_LEAD: "ACCULYNX_CREATE_A_LEAD",
11
+ JOB_APPOINTMENT_SUMMARY: "ACCULYNX_JOB_APPOINTMENT_SUMMARY",
12
+ LIST_OF_CALENDARS_FOR_THE_LOCATION: "ACCULYNX_LIST_OF_CALENDARS_FOR_THE_LOCATION",
13
+ LIST_OF_CONTACT_TYPES_RELATED_TO_THE_COMPANY: "ACCULYNX_LIST_OF_CONTACT_TYPES_RELATED_TO_THE_COMPANY",
14
+ UPDATE_COMPANY_REPRESENTATIVE: "ACCULYNX_UPDATE_COMPANY_REPRESENTATIVE",
15
+ },
16
+ triggerTypes: {},
17
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Map of Composio's ACTIVE_CAMPAIGN toolkit.
3
+ */
4
+ export const ACTIVE_CAMPAIGN = {
5
+ slug: "active_campaign",
6
+ tools: {
7
+ ADD_CONTACT_NOTE: "ACTIVE_CAMPAIGN_ADD_CONTACT_NOTE",
8
+ ADD_CONTACT_TO_AUTOMATION: "ACTIVE_CAMPAIGN_ADD_CONTACT_TO_AUTOMATION",
9
+ ADD_SECONDARY_CONTACT_TO_DEAL: "ACTIVE_CAMPAIGN_ADD_SECONDARY_CONTACT_TO_DEAL",
10
+ CREATE_ACCOUNT: "ACTIVE_CAMPAIGN_CREATE_ACCOUNT",
11
+ CREATE_CONTACT: "ACTIVE_CAMPAIGN_CREATE_CONTACT",
12
+ CREATE_CONTACT_TASK: "ACTIVE_CAMPAIGN_CREATE_CONTACT_TASK",
13
+ CREATE_DEAL_PIPELINE: "ACTIVE_CAMPAIGN_CREATE_DEAL_PIPELINE",
14
+ CREATE_DEAL_TASK_TYPE: "ACTIVE_CAMPAIGN_CREATE_DEAL_TASK_TYPE",
15
+ DELETE_ACCOUNT: "ACTIVE_CAMPAIGN_DELETE_ACCOUNT",
16
+ DELETE_DEAL_PIPELINE: "ACTIVE_CAMPAIGN_DELETE_DEAL_PIPELINE",
17
+ DELETE_DEAL_STAGE: "ACTIVE_CAMPAIGN_DELETE_DEAL_STAGE",
18
+ FIND_CONTACT: "ACTIVE_CAMPAIGN_FIND_CONTACT",
19
+ FIND_CONTACT_TASK: "ACTIVE_CAMPAIGN_FIND_CONTACT_TASK",
20
+ FIND_USER_ACTION: "ACTIVE_CAMPAIGN_FIND_USER_ACTION",
21
+ LIST_ALL_CONTACTS: "ACTIVE_CAMPAIGN_LIST_ALL_CONTACTS",
22
+ MANAGE_CONTACT_TAG: "ACTIVE_CAMPAIGN_MANAGE_CONTACT_TAG",
23
+ MANAGE_LIST_SUBSCRIPTION: "ACTIVE_CAMPAIGN_MANAGE_LIST_SUBSCRIPTION",
24
+ REMOVE_CONTACT_FROM_AUTOMATION: "ACTIVE_CAMPAIGN_REMOVE_CONTACT_FROM_AUTOMATION",
25
+ TRACK_EVENT: "ACTIVE_CAMPAIGN_TRACK_EVENT",
26
+ UPDATE_ACCOUNT: "ACTIVE_CAMPAIGN_UPDATE_ACCOUNT",
27
+ UPSERT_ACCOUNT: "ACTIVE_CAMPAIGN_UPSERT_ACCOUNT",
28
+ },
29
+ triggerTypes: {},
30
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Map of Composio's ADOBE toolkit.
3
+ */
4
+ export const ADOBE = {
5
+ slug: "adobe",
6
+ tools: {},
7
+ triggerTypes: {},
8
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Map of Composio's ADYNTEL toolkit.
3
+ */
4
+ export const ADYNTEL = {
5
+ slug: "adyntel",
6
+ tools: {
7
+ GET_GOOGLE_ADS_BY_COMPANY: "ADYNTEL_GET_GOOGLE_ADS_BY_COMPANY",
8
+ META_AD_SEARCH: "ADYNTEL_META_AD_SEARCH",
9
+ SEARCH_TIK_TOK_ADS: "ADYNTEL_SEARCH_TIK_TOK_ADS",
10
+ },
11
+ triggerTypes: {},
12
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Map of Composio's AERO_WORKFLOW toolkit.
3
+ */
4
+ export const AERO_WORKFLOW = {
5
+ slug: "aero_workflow",
6
+ tools: {},
7
+ triggerTypes: {},
8
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Map of Composio's AFFINITY toolkit.
3
+ */
4
+ export const AFFINITY = {
5
+ slug: "affinity",
6
+ tools: {
7
+ GET_ALL_COMPANIES: "AFFINITY_GET_ALL_COMPANIES",
8
+ GET_ALL_LIST_ENTRIES_ON_A_LIST: "AFFINITY_GET_ALL_LIST_ENTRIES_ON_A_LIST",
9
+ GET_ALL_LIST_ENTRIES_ON_A_SAVED_VIEW: "AFFINITY_GET_ALL_LIST_ENTRIES_ON_A_SAVED_VIEW",
10
+ GET_ALL_OPPORTUNITIES: "AFFINITY_GET_ALL_OPPORTUNITIES",
11
+ GET_ALL_PERSONS: "AFFINITY_GET_ALL_PERSONS",
12
+ GET_A_COMPANY_S_LISTS: "AFFINITY_GET_A_COMPANY_S_LISTS",
13
+ GET_A_COMPANY_S_LIST_ENTRIES: "AFFINITY_GET_A_COMPANY_S_LIST_ENTRIES",
14
+ GET_A_PERSON_S_LISTS: "AFFINITY_GET_A_PERSON_S_LISTS",
15
+ GET_A_PERSON_S_LIST_ENTRIES: "AFFINITY_GET_A_PERSON_S_LIST_ENTRIES",
16
+ GET_A_SINGLE_COMPANY: "AFFINITY_GET_A_SINGLE_COMPANY",
17
+ GET_A_SINGLE_OPPORTUNITY: "AFFINITY_GET_A_SINGLE_OPPORTUNITY",
18
+ GET_A_SINGLE_PERSON: "AFFINITY_GET_A_SINGLE_PERSON",
19
+ GET_CURRENT_USER: "AFFINITY_GET_CURRENT_USER",
20
+ GET_METADATA_ON_ALL_LISTS: "AFFINITY_GET_METADATA_ON_ALL_LISTS",
21
+ GET_METADATA_ON_A_SINGLE_LIST: "AFFINITY_GET_METADATA_ON_A_SINGLE_LIST",
22
+ GET_METADATA_ON_A_SINGLE_LIST_S_FIELDS: "AFFINITY_GET_METADATA_ON_A_SINGLE_LIST_S_FIELDS",
23
+ GET_METADATA_ON_A_SINGLE_SAVED_VIEW: "AFFINITY_GET_METADATA_ON_A_SINGLE_SAVED_VIEW",
24
+ GET_METADATA_ON_COMPANY_FIELDS: "AFFINITY_GET_METADATA_ON_COMPANY_FIELDS",
25
+ GET_METADATA_ON_PERSON_FIELDS: "AFFINITY_GET_METADATA_ON_PERSON_FIELDS",
26
+ GET_METADATA_ON_SAVED_VIEWS: "AFFINITY_GET_METADATA_ON_SAVED_VIEWS",
27
+ },
28
+ triggerTypes: {},
29
+ }