@composio/core 0.6.3 → 0.6.5-alpha.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 (355) hide show
  1. package/dist/{BaseProvider-C7yGAyLz.d.mts → BaseProvider-B2v5L9PY.d.mts} +2273 -363
  2. package/dist/{BaseProvider-X7JCCvcK.d.cts → BaseProvider-B_UIuruL.d.cts} +2273 -363
  3. package/dist/{Telemetry-Bn5VseVi.mjs → Telemetry-CHfDfthM.mjs} +5 -8
  4. package/dist/{Telemetry-DErMJqj0.cjs → Telemetry-DRFfIuVS.cjs} +5 -8
  5. package/dist/{buffer-BFpVRahf.mjs → buffer-C1MwV-7j.mjs} +3 -1
  6. package/dist/{buffer-CYf1Z6Sd.cjs → buffer-Dy7Xi_sk.cjs} +8 -0
  7. package/dist/{composio-uGEfnO6v.d.cts → composio-B-tZKVA0.d.cts} +994 -407
  8. package/dist/{composio-Ds1Z80p8.d.mts → composio-OAY2JH-U.d.mts} +994 -407
  9. package/dist/{fileUtils.node-DLp53qm1.cjs → fileUtils.node-BUe2eO0j.cjs} +1 -1
  10. package/dist/{fileUtils.node-MOEGtpnI.mjs → fileUtils.node-D1JLL4nZ.mjs} +1 -1
  11. package/dist/index.cjs +1075 -123
  12. package/dist/index.d.cts +4906 -5
  13. package/dist/index.d.mts +4906 -5
  14. package/dist/index.mjs +1054 -124
  15. package/dist/models/Files.node.cjs +3 -3
  16. package/dist/models/Files.node.mjs +3 -3
  17. package/dist/{types-CMQAtpc_.d.mts → types-Bo0skt5g.d.mts} +2 -2
  18. package/dist/{types-CTXCkF_v.d.cts → types-lcoAiXDa.d.cts} +2 -2
  19. package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
  20. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +3 -3
  21. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
  22. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +3 -3
  23. package/dist/utils/modifiers/FileToolModifier.node.cjs +2 -2
  24. package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
  25. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  26. package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
  27. package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
  28. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  29. package/generated/ably.ts +20 -0
  30. package/generated/accelo.ts +8 -0
  31. package/generated/acculynx.ts +17 -0
  32. package/generated/active_campaign.ts +30 -0
  33. package/generated/adobe.ts +8 -0
  34. package/generated/adyntel.ts +12 -0
  35. package/generated/aero_workflow.ts +8 -0
  36. package/generated/affinity.ts +29 -0
  37. package/generated/agencyzoom.ts +108 -0
  38. package/generated/ahrefs.ts +49 -0
  39. package/generated/airtable.ts +26 -0
  40. package/generated/alchemy.ts +16 -0
  41. package/generated/algolia.ts +39 -0
  42. package/generated/altoviz.ts +18 -0
  43. package/generated/amazon.ts +8 -0
  44. package/generated/amcards.ts +11 -0
  45. package/generated/amplitude.ts +25 -0
  46. package/generated/anthropic_administrator.ts +13 -0
  47. package/generated/apaleo.ts +38 -0
  48. package/generated/apollo.ts +40 -0
  49. package/generated/appdrag.ts +8 -0
  50. package/generated/appsflyer.ts +8 -0
  51. package/generated/asana.ts +95 -0
  52. package/generated/ashby.ts +8 -0
  53. package/generated/atlassian.ts +8 -0
  54. package/generated/attio.ts +20 -0
  55. package/generated/auth0.ts +8 -0
  56. package/generated/axonaut.ts +8 -0
  57. package/generated/bamboohr.ts +168 -0
  58. package/generated/bannerbear.ts +17 -0
  59. package/generated/baserow.ts +11 -0
  60. package/generated/battlenet.ts +8 -0
  61. package/generated/beeminder.ts +14 -0
  62. package/generated/bigmailer.ts +12 -0
  63. package/generated/bigml.ts +15 -0
  64. package/generated/bill.ts +218 -0
  65. package/generated/bitbucket.ts +25 -0
  66. package/generated/bitwarden.ts +8 -0
  67. package/generated/blackbaud.ts +8 -0
  68. package/generated/blackboard.ts +323 -0
  69. package/generated/boldsign.ts +8 -0
  70. package/generated/bolna.ts +24 -0
  71. package/generated/borneo.ts +162 -0
  72. package/generated/botbaba.ts +8 -0
  73. package/generated/box.ts +282 -0
  74. package/generated/braintree.ts +8 -0
  75. package/generated/brandfetch.ts +15 -0
  76. package/generated/breezy_hr.ts +8 -0
  77. package/generated/brevo.ts +28 -0
  78. package/generated/brex.ts +8 -0
  79. package/generated/brex_staging.ts +8 -0
  80. package/generated/brightpearl.ts +8 -0
  81. package/generated/brilliant_directories.ts +15 -0
  82. package/generated/browseai.ts +18 -0
  83. package/generated/browserbase_tool.ts +10 -0
  84. package/generated/browserhub.ts +8 -0
  85. package/generated/browserless.ts +16 -0
  86. package/generated/bubble.ts +8 -0
  87. package/generated/bugbug.ts +13 -0
  88. package/generated/builtwith.ts +21 -0
  89. package/generated/cal.ts +150 -0
  90. package/generated/calendly.ts +51 -0
  91. package/generated/canva.ts +41 -0
  92. package/generated/canvas.ts +100 -0
  93. package/generated/chatwork.ts +17 -0
  94. package/generated/chmeetings.ts +8 -0
  95. package/generated/clickup.ts +153 -0
  96. package/generated/clockify.ts +23 -0
  97. package/generated/close.ts +15 -0
  98. package/generated/cloudflare.ts +10 -0
  99. package/generated/coda.ts +115 -0
  100. package/generated/codeinterpreter.ts +14 -0
  101. package/generated/coinbase.ts +15 -0
  102. package/generated/coinmarketcal.ts +8 -0
  103. package/generated/composio.ts +34 -0
  104. package/generated/composio_search.ts +22 -0
  105. package/generated/confluence.ts +199 -0
  106. package/generated/contentful.ts +12 -0
  107. package/generated/crustdata.ts +23 -0
  108. package/generated/customer_io.ts +8 -0
  109. package/generated/cutt_ly.ts +10 -0
  110. package/generated/d2lbrightspace.ts +54 -0
  111. package/generated/dailybot.ts +15 -0
  112. package/generated/datadog.ts +47 -0
  113. package/generated/datagma.ts +8 -0
  114. package/generated/datarobot.ts +8 -0
  115. package/generated/deel.ts +8 -0
  116. package/generated/demio.ts +8 -0
  117. package/generated/dialpad.ts +201 -0
  118. package/generated/digicert.ts +15 -0
  119. package/generated/discord.ts +17 -0
  120. package/generated/discordbot.ts +173 -0
  121. package/generated/docmosis.ts +8 -0
  122. package/generated/docusign.ts +351 -0
  123. package/generated/dropbox.ts +20 -0
  124. package/generated/dropbox_sign.ts +8 -0
  125. package/generated/dynamics365.ts +25 -0
  126. package/generated/echtpost.ts +10 -0
  127. package/generated/elevenlabs.ts +70 -0
  128. package/generated/emailoctopus.ts +16 -0
  129. package/generated/enigma.ts +11 -0
  130. package/generated/entelligence.ts +11 -0
  131. package/generated/epic_games.ts +8 -0
  132. package/generated/eventbrite.ts +12 -0
  133. package/generated/exa.ts +13 -0
  134. package/generated/excel.ts +34 -0
  135. package/generated/exist.ts +8 -0
  136. package/generated/facebook.ts +8 -0
  137. package/generated/factorial.ts +8 -0
  138. package/generated/figma.ts +59 -0
  139. package/generated/finage.ts +19 -0
  140. package/generated/firecrawl.ts +16 -0
  141. package/generated/fireflies.ts +21 -0
  142. package/generated/fitbit.ts +8 -0
  143. package/generated/flutterwave.ts +33 -0
  144. package/generated/fomo.ts +10 -0
  145. package/generated/formcarry.ts +10 -0
  146. package/generated/formsite.ts +14 -0
  147. package/generated/foursquare.ts +14 -0
  148. package/generated/freshbooks.ts +11 -0
  149. package/generated/freshdesk.ts +16 -0
  150. package/generated/front.ts +8 -0
  151. package/generated/github.ts +967 -0
  152. package/generated/gitlab.ts +82 -0
  153. package/generated/gmail.d.ts +86 -0
  154. package/generated/gmail.js +13 -0
  155. package/generated/gmail.ts +95 -0
  156. package/generated/go_to_webinar.ts +8 -0
  157. package/generated/gong.ts +63 -0
  158. package/generated/google_analytics.ts +13 -0
  159. package/generated/google_maps.ts +16 -0
  160. package/generated/googleads.ts +14 -0
  161. package/generated/googlebigquery.ts +10 -0
  162. package/generated/googlecalendar.ts +39 -0
  163. package/generated/googledocs.ts +41 -0
  164. package/generated/googledrive.ts +62 -0
  165. package/generated/googlemeet.ts +18 -0
  166. package/generated/googlephotos.ts +22 -0
  167. package/generated/googlesheets.ts +40 -0
  168. package/generated/googleslides.ts +8 -0
  169. package/generated/googlesuper.ts +230 -0
  170. package/generated/googletasks.ts +23 -0
  171. package/generated/gorgias.ts +41 -0
  172. package/generated/gumroad.ts +14 -0
  173. package/generated/guru.ts +8 -0
  174. package/generated/hackernews.ts +15 -0
  175. package/generated/hackerrank_work.ts +8 -0
  176. package/generated/harvest.ts +56 -0
  177. package/generated/helcim.ts +8 -0
  178. package/generated/heygen.ts +44 -0
  179. package/generated/highlevel.ts +8 -0
  180. package/generated/hubspot.ts +252 -0
  181. package/generated/humanloop.ts +13 -0
  182. package/generated/icims_talent_cloud.ts +8 -0
  183. package/generated/idea_scale.ts +8 -0
  184. package/generated/index.ts +151 -0
  185. package/generated/insighto_ai.ts +19 -0
  186. package/generated/intercom.ts +52 -0
  187. package/generated/interzoid.ts +8 -0
  188. package/generated/jira.ts +59 -0
  189. package/generated/jotform.ts +15 -0
  190. package/generated/junglescout.ts +15 -0
  191. package/generated/keap.ts +8 -0
  192. package/generated/kibana.ts +58 -0
  193. package/generated/kit.ts +38 -0
  194. package/generated/klaviyo.ts +240 -0
  195. package/generated/klipfolio.ts +20 -0
  196. package/generated/kommo.ts +24 -0
  197. package/generated/lastpass.ts +8 -0
  198. package/generated/launch_darkly.ts +16 -0
  199. package/generated/leadfeeder.ts +13 -0
  200. package/generated/leadoku.ts +10 -0
  201. package/generated/lever.ts +8 -0
  202. package/generated/lever_sandbox.ts +8 -0
  203. package/generated/lexoffice.ts +8 -0
  204. package/generated/linear.ts +31 -0
  205. package/generated/linkedin.ts +13 -0
  206. package/generated/linkhut.ts +14 -0
  207. package/generated/linkup.ts +11 -0
  208. package/generated/listennotes.ts +35 -0
  209. package/generated/lmnt.ts +16 -0
  210. package/generated/lodgify.ts +10 -0
  211. package/generated/mailchimp.ts +285 -0
  212. package/generated/mailerlite.ts +8 -0
  213. package/generated/maintainx.ts +20 -0
  214. package/generated/make.ts +12 -0
  215. package/generated/mboum.ts +8 -0
  216. package/generated/mem0.ts +52 -0
  217. package/generated/metaads.ts +25 -0
  218. package/generated/metatextai.ts +8 -0
  219. package/generated/microsoft_clarity.ts +10 -0
  220. package/generated/microsoft_teams.ts +22 -0
  221. package/generated/microsoft_tenant.ts +8 -0
  222. package/generated/miro.ts +23 -0
  223. package/generated/mixpanel.ts +30 -0
  224. package/generated/mocean.ts +8 -0
  225. package/generated/monday.ts +30 -0
  226. package/generated/mopinion.ts +8 -0
  227. package/generated/more_trees.ts +10 -0
  228. package/generated/moxie.ts +8 -0
  229. package/generated/moz.ts +8 -0
  230. package/generated/mural.ts +14 -0
  231. package/generated/nasdaq.ts +15 -0
  232. package/generated/ncscale.ts +8 -0
  233. package/generated/neon.ts +78 -0
  234. package/generated/netsuite.ts +8 -0
  235. package/generated/nextdns.ts +11 -0
  236. package/generated/ngrok.ts +18 -0
  237. package/generated/notion.ts +40 -0
  238. package/generated/oncehub.ts +8 -0
  239. package/generated/one_drive.ts +49 -0
  240. package/generated/onepage.ts +11 -0
  241. package/generated/open_sea.ts +33 -0
  242. package/generated/outlook.ts +37 -0
  243. package/generated/pagerduty.ts +362 -0
  244. package/generated/pandadoc.ts +23 -0
  245. package/generated/peopledatalabs.ts +24 -0
  246. package/generated/perplexityai.ts +10 -0
  247. package/generated/piggy.ts +8 -0
  248. package/generated/pipedrive.ts +288 -0
  249. package/generated/placekey.ts +12 -0
  250. package/generated/posthog.ts +367 -0
  251. package/generated/precoro.ts +8 -0
  252. package/generated/printnode.ts +8 -0
  253. package/generated/process_street.ts +14 -0
  254. package/generated/productboard.ts +8 -0
  255. package/generated/qualaroo.ts +8 -0
  256. package/generated/quickbooks.ts +22 -0
  257. package/generated/rafflys.ts +8 -0
  258. package/generated/ragic.ts +10 -0
  259. package/generated/ramp.ts +17 -0
  260. package/generated/ravenseotools.ts +8 -0
  261. package/generated/recallai.ts +17 -0
  262. package/generated/reddit.ts +19 -0
  263. package/generated/resend.ts +27 -0
  264. package/generated/retellai.ts +19 -0
  265. package/generated/retently.ts +24 -0
  266. package/generated/ring_central.ts +8 -0
  267. package/generated/rippling.ts +8 -0
  268. package/generated/rocket_reach.ts +8 -0
  269. package/generated/rocketlane.ts +42 -0
  270. package/generated/rootly.ts +12 -0
  271. package/generated/rosette_text_analytics.ts +12 -0
  272. package/generated/sage.ts +8 -0
  273. package/generated/salesforce.ts +46 -0
  274. package/generated/scrape_do.ts +28 -0
  275. package/generated/scrapingant.ts +14 -0
  276. package/generated/screenshotone.ts +10 -0
  277. package/generated/seismic.ts +8 -0
  278. package/generated/semanticscholar.ts +23 -0
  279. package/generated/semrush.ts +45 -0
  280. package/generated/sendgrid.ts +384 -0
  281. package/generated/sentry.ts +185 -0
  282. package/generated/serpapi.ts +32 -0
  283. package/generated/servicem8.ts +37 -0
  284. package/generated/servicenow.ts +14 -0
  285. package/generated/share_point.ts +15 -0
  286. package/generated/shopify.ts +37 -0
  287. package/generated/shortcut.ts +131 -0
  288. package/generated/simplesat.ts +11 -0
  289. package/generated/slack.d.ts +16 -0
  290. package/generated/slack.js +11 -0
  291. package/generated/slack.ts +24 -0
  292. package/generated/slackbot.ts +205 -0
  293. package/generated/smartrecruiters.ts +8 -0
  294. package/generated/smugmug.ts +14 -0
  295. package/generated/snowflake.ts +15 -0
  296. package/generated/sourcegraph.ts +16 -0
  297. package/generated/square.ts +8 -0
  298. package/generated/stack_exchange.ts +17 -0
  299. package/generated/starton.ts +11 -0
  300. package/generated/storeganise.ts +12 -0
  301. package/generated/stripe.ts +50 -0
  302. package/generated/supabase.ts +86 -0
  303. package/generated/survey_monkey.ts +8 -0
  304. package/generated/tally.ts +25 -0
  305. package/generated/tapfiliate.ts +11 -0
  306. package/generated/tapform.ts +8 -0
  307. package/generated/tavily.ts +10 -0
  308. package/generated/terminus.ts +8 -0
  309. package/generated/text_to_pdf.ts +10 -0
  310. package/generated/textrazor.ts +22 -0
  311. package/generated/timecamp.ts +10 -0
  312. package/generated/timekit.ts +8 -0
  313. package/generated/timely.ts +11 -0
  314. package/generated/tinypng.ts +15 -0
  315. package/generated/tinyurl.ts +10 -0
  316. package/generated/tisane.ts +15 -0
  317. package/generated/todoist.ts +19 -0
  318. package/generated/toneden.ts +8 -0
  319. package/generated/tpscheck.ts +10 -0
  320. package/generated/trello.ts +360 -0
  321. package/generated/twitch.ts +8 -0
  322. package/generated/twitter.ts +82 -0
  323. package/generated/twitter_media.ts +10 -0
  324. package/generated/typefully.ts +14 -0
  325. package/generated/venly.ts +8 -0
  326. package/generated/vero.ts +8 -0
  327. package/generated/visme.ts +8 -0
  328. package/generated/waboxapp.ts +8 -0
  329. package/generated/wakatime.ts +8 -0
  330. package/generated/wave_accounting.ts +8 -0
  331. package/generated/weathermap.ts +10 -0
  332. package/generated/webex.ts +37 -0
  333. package/generated/webflow.ts +30 -0
  334. package/generated/whatsapp.ts +14 -0
  335. package/generated/wiz.ts +8 -0
  336. package/generated/workiom.ts +12 -0
  337. package/generated/wrike.ts +47 -0
  338. package/generated/xero.ts +13 -0
  339. package/generated/yandex.ts +13 -0
  340. package/generated/ynab.ts +8 -0
  341. package/generated/yousearch.ts +10 -0
  342. package/generated/youtube.ts +26 -0
  343. package/generated/zendesk.ts +23 -0
  344. package/generated/zenrows.ts +25 -0
  345. package/generated/zenserp.ts +20 -0
  346. package/generated/zoho.ts +33 -0
  347. package/generated/zoho_bigin.ts +21 -0
  348. package/generated/zoho_books.ts +8 -0
  349. package/generated/zoho_desk.ts +8 -0
  350. package/generated/zoho_inventory.ts +8 -0
  351. package/generated/zoho_invoice.ts +15 -0
  352. package/generated/zoho_mail.ts +8 -0
  353. package/generated/zoom.ts +181 -0
  354. package/generated/zoominfo.ts +26 -0
  355. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { $t as SessionExecuteMetaModifiers, En as ToolRetrievalOptions, Nn as ToolkitVersionParam, Qt as ProviderOptions, X as McpServerGetResponse, Xt as ExecuteToolModifiers, _n as ToolExecuteResponse$1, at as ExecuteToolFnOptions, bn as ToolListParams, dn as SchemaModifierOptions, dt as ConnectionDataSchema, en as SessionMetaToolOptions, fn as Tool, hn as ToolExecuteParams, n as BaseComposioProvider, pn as ToolExecuteMetaParams, r as BaseNonAgenticProvider, tt as McpUrlResponse, ut as ConnectionData, wn as ToolProxyParams, yn as ToolList } from "./BaseProvider-C7yGAyLz.mjs";
1
+ import { $t as SessionExecuteMetaModifiers, En as ToolRetrievalOptions, Nn as ToolkitVersionParam, Qt as ProviderOptions, X as McpServerGetResponse, Xt as ExecuteToolModifiers, _n as ToolExecuteResponse$1, at as ExecuteToolFnOptions, bn as ToolListParams, dn as SchemaModifierOptions, dt as ConnectionDataSchema, en as SessionMetaToolOptions, fn as Tool, hn as ToolExecuteParams, n as BaseComposioProvider, pn as ToolExecuteMetaParams, r as BaseNonAgenticProvider, tt as McpUrlResponse, ut as ConnectionData, wn as ToolProxyParams, yn as ToolList } from "./BaseProvider-B2v5L9PY.mjs";
2
2
  import ComposioClient, { Composio } from "@composio/client";
3
3
  import z, { z as z$1 } from "zod/v3";
4
4
  import { OpenAI } from "openai";
@@ -554,14 +554,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
554
554
  cursor: z$1.ZodOptional<z$1.ZodString>;
555
555
  limit: z$1.ZodOptional<z$1.ZodNumber>;
556
556
  }, "strip", z$1.ZodTypeAny, {
557
- limit?: number | undefined;
558
557
  cursor?: string | undefined;
558
+ limit?: number | undefined;
559
559
  category?: string | undefined;
560
560
  managedBy?: "all" | "composio" | "project" | undefined;
561
561
  sortBy?: "usage" | "alphabetically" | undefined;
562
562
  }, {
563
- limit?: number | undefined;
564
563
  cursor?: string | undefined;
564
+ limit?: number | undefined;
565
565
  category?: string | undefined;
566
566
  managedBy?: "all" | "composio" | "project" | undefined;
567
567
  sortBy?: "usage" | "alphabetically" | undefined;
@@ -592,10 +592,11 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
592
592
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
593
593
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
594
594
  }, "strip", z$1.ZodTypeAny, {
595
- logo?: string | undefined;
596
595
  description?: string | undefined;
596
+ logo?: string | undefined;
597
597
  availableVersions?: string[] | undefined;
598
598
  createdAt?: string | undefined;
599
+ updatedAt?: string | undefined;
599
600
  categories?: {
600
601
  slug: string;
601
602
  name: string;
@@ -603,12 +604,12 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
603
604
  appUrl?: string | undefined;
604
605
  toolsCount?: number | undefined;
605
606
  triggersCount?: number | undefined;
606
- updatedAt?: string | undefined;
607
607
  }, {
608
- logo?: string | undefined;
609
608
  description?: string | undefined;
609
+ logo?: string | undefined;
610
610
  availableVersions?: string[] | undefined;
611
611
  createdAt?: string | undefined;
612
+ updatedAt?: string | undefined;
612
613
  categories?: {
613
614
  slug: string;
614
615
  name: string;
@@ -616,7 +617,6 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
616
617
  appUrl?: string | undefined;
617
618
  toolsCount?: number | undefined;
618
619
  triggersCount?: number | undefined;
619
- updatedAt?: string | undefined;
620
620
  }>;
621
621
  declare const ToolKitItemSchema: z$1.ZodObject<{
622
622
  name: z$1.ZodString;
@@ -641,10 +641,11 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
641
641
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
642
642
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
643
643
  }, "strip", z$1.ZodTypeAny, {
644
- logo?: string | undefined;
645
644
  description?: string | undefined;
645
+ logo?: string | undefined;
646
646
  availableVersions?: string[] | undefined;
647
647
  createdAt?: string | undefined;
648
+ updatedAt?: string | undefined;
648
649
  categories?: {
649
650
  slug: string;
650
651
  name: string;
@@ -652,12 +653,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
652
653
  appUrl?: string | undefined;
653
654
  toolsCount?: number | undefined;
654
655
  triggersCount?: number | undefined;
655
- updatedAt?: string | undefined;
656
656
  }, {
657
- logo?: string | undefined;
658
657
  description?: string | undefined;
658
+ logo?: string | undefined;
659
659
  availableVersions?: string[] | undefined;
660
660
  createdAt?: string | undefined;
661
+ updatedAt?: string | undefined;
661
662
  categories?: {
662
663
  slug: string;
663
664
  name: string;
@@ -665,7 +666,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
665
666
  appUrl?: string | undefined;
666
667
  toolsCount?: number | undefined;
667
668
  triggersCount?: number | undefined;
668
- updatedAt?: string | undefined;
669
669
  }>;
670
670
  isLocalToolkit: z$1.ZodBoolean;
671
671
  authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -675,10 +675,11 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
675
675
  slug: string;
676
676
  name: string;
677
677
  meta: {
678
- logo?: string | undefined;
679
678
  description?: string | undefined;
679
+ logo?: string | undefined;
680
680
  availableVersions?: string[] | undefined;
681
681
  createdAt?: string | undefined;
682
+ updatedAt?: string | undefined;
682
683
  categories?: {
683
684
  slug: string;
684
685
  name: string;
@@ -686,7 +687,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
686
687
  appUrl?: string | undefined;
687
688
  toolsCount?: number | undefined;
688
689
  triggersCount?: number | undefined;
689
- updatedAt?: string | undefined;
690
690
  };
691
691
  isLocalToolkit: boolean;
692
692
  authSchemes?: string[] | undefined;
@@ -696,10 +696,11 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
696
696
  slug: string;
697
697
  name: string;
698
698
  meta: {
699
- logo?: string | undefined;
700
699
  description?: string | undefined;
700
+ logo?: string | undefined;
701
701
  availableVersions?: string[] | undefined;
702
702
  createdAt?: string | undefined;
703
+ updatedAt?: string | undefined;
703
704
  categories?: {
704
705
  slug: string;
705
706
  name: string;
@@ -707,7 +708,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
707
708
  appUrl?: string | undefined;
708
709
  toolsCount?: number | undefined;
709
710
  triggersCount?: number | undefined;
710
- updatedAt?: string | undefined;
711
711
  };
712
712
  isLocalToolkit: boolean;
713
713
  authSchemes?: string[] | undefined;
@@ -737,10 +737,11 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
737
737
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
738
738
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
739
739
  }, "strip", z$1.ZodTypeAny, {
740
- logo?: string | undefined;
741
740
  description?: string | undefined;
741
+ logo?: string | undefined;
742
742
  availableVersions?: string[] | undefined;
743
743
  createdAt?: string | undefined;
744
+ updatedAt?: string | undefined;
744
745
  categories?: {
745
746
  slug: string;
746
747
  name: string;
@@ -748,12 +749,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
748
749
  appUrl?: string | undefined;
749
750
  toolsCount?: number | undefined;
750
751
  triggersCount?: number | undefined;
751
- updatedAt?: string | undefined;
752
752
  }, {
753
- logo?: string | undefined;
754
753
  description?: string | undefined;
754
+ logo?: string | undefined;
755
755
  availableVersions?: string[] | undefined;
756
756
  createdAt?: string | undefined;
757
+ updatedAt?: string | undefined;
757
758
  categories?: {
758
759
  slug: string;
759
760
  name: string;
@@ -761,7 +762,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
761
762
  appUrl?: string | undefined;
762
763
  toolsCount?: number | undefined;
763
764
  triggersCount?: number | undefined;
764
- updatedAt?: string | undefined;
765
765
  }>;
766
766
  isLocalToolkit: z$1.ZodBoolean;
767
767
  authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -771,10 +771,11 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
771
771
  slug: string;
772
772
  name: string;
773
773
  meta: {
774
- logo?: string | undefined;
775
774
  description?: string | undefined;
775
+ logo?: string | undefined;
776
776
  availableVersions?: string[] | undefined;
777
777
  createdAt?: string | undefined;
778
+ updatedAt?: string | undefined;
778
779
  categories?: {
779
780
  slug: string;
780
781
  name: string;
@@ -782,7 +783,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
782
783
  appUrl?: string | undefined;
783
784
  toolsCount?: number | undefined;
784
785
  triggersCount?: number | undefined;
785
- updatedAt?: string | undefined;
786
786
  };
787
787
  isLocalToolkit: boolean;
788
788
  authSchemes?: string[] | undefined;
@@ -792,10 +792,11 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
792
792
  slug: string;
793
793
  name: string;
794
794
  meta: {
795
- logo?: string | undefined;
796
795
  description?: string | undefined;
796
+ logo?: string | undefined;
797
797
  availableVersions?: string[] | undefined;
798
798
  createdAt?: string | undefined;
799
+ updatedAt?: string | undefined;
799
800
  categories?: {
800
801
  slug: string;
801
802
  name: string;
@@ -803,7 +804,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
803
804
  appUrl?: string | undefined;
804
805
  toolsCount?: number | undefined;
805
806
  triggersCount?: number | undefined;
806
- updatedAt?: string | undefined;
807
807
  };
808
808
  isLocalToolkit: boolean;
809
809
  authSchemes?: string[] | undefined;
@@ -825,15 +825,15 @@ declare const ToolkitAuthFieldSchema: z$1.ZodObject<{
825
825
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
826
826
  }, "strip", z$1.ZodTypeAny, {
827
827
  name: string;
828
- type: string;
829
828
  description: string;
829
+ type: string;
830
830
  required: boolean;
831
831
  displayName: string;
832
832
  default?: string | null | undefined;
833
833
  }, {
834
834
  name: string;
835
- type: string;
836
835
  description: string;
836
+ type: string;
837
837
  required: boolean;
838
838
  displayName: string;
839
839
  default?: string | null | undefined;
@@ -852,15 +852,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
852
852
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
853
853
  }, "strip", z$1.ZodTypeAny, {
854
854
  name: string;
855
- type: string;
856
855
  description: string;
856
+ type: string;
857
857
  required: boolean;
858
858
  displayName: string;
859
859
  default?: string | null | undefined;
860
860
  }, {
861
861
  name: string;
862
- type: string;
863
862
  description: string;
863
+ type: string;
864
864
  required: boolean;
865
865
  displayName: string;
866
866
  default?: string | null | undefined;
@@ -874,15 +874,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
874
874
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
875
875
  }, "strip", z$1.ZodTypeAny, {
876
876
  name: string;
877
- type: string;
878
877
  description: string;
878
+ type: string;
879
879
  required: boolean;
880
880
  displayName: string;
881
881
  default?: string | null | undefined;
882
882
  }, {
883
883
  name: string;
884
- type: string;
885
884
  description: string;
885
+ type: string;
886
886
  required: boolean;
887
887
  displayName: string;
888
888
  default?: string | null | undefined;
@@ -890,16 +890,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
890
890
  }, "strip", z$1.ZodTypeAny, {
891
891
  required: {
892
892
  name: string;
893
- type: string;
894
893
  description: string;
894
+ type: string;
895
895
  required: boolean;
896
896
  displayName: string;
897
897
  default?: string | null | undefined;
898
898
  }[];
899
899
  optional: {
900
900
  name: string;
901
- type: string;
902
901
  description: string;
902
+ type: string;
903
903
  required: boolean;
904
904
  displayName: string;
905
905
  default?: string | null | undefined;
@@ -907,16 +907,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
907
907
  }, {
908
908
  required: {
909
909
  name: string;
910
- type: string;
911
910
  description: string;
911
+ type: string;
912
912
  required: boolean;
913
913
  displayName: string;
914
914
  default?: string | null | undefined;
915
915
  }[];
916
916
  optional: {
917
917
  name: string;
918
- type: string;
919
918
  description: string;
919
+ type: string;
920
920
  required: boolean;
921
921
  displayName: string;
922
922
  default?: string | null | undefined;
@@ -932,15 +932,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
932
932
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
933
933
  }, "strip", z$1.ZodTypeAny, {
934
934
  name: string;
935
- type: string;
936
935
  description: string;
936
+ type: string;
937
937
  required: boolean;
938
938
  displayName: string;
939
939
  default?: string | null | undefined;
940
940
  }, {
941
941
  name: string;
942
- type: string;
943
942
  description: string;
943
+ type: string;
944
944
  required: boolean;
945
945
  displayName: string;
946
946
  default?: string | null | undefined;
@@ -954,15 +954,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
954
954
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
955
955
  }, "strip", z$1.ZodTypeAny, {
956
956
  name: string;
957
- type: string;
958
957
  description: string;
958
+ type: string;
959
959
  required: boolean;
960
960
  displayName: string;
961
961
  default?: string | null | undefined;
962
962
  }, {
963
963
  name: string;
964
- type: string;
965
964
  description: string;
965
+ type: string;
966
966
  required: boolean;
967
967
  displayName: string;
968
968
  default?: string | null | undefined;
@@ -970,16 +970,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
970
970
  }, "strip", z$1.ZodTypeAny, {
971
971
  required: {
972
972
  name: string;
973
- type: string;
974
973
  description: string;
974
+ type: string;
975
975
  required: boolean;
976
976
  displayName: string;
977
977
  default?: string | null | undefined;
978
978
  }[];
979
979
  optional: {
980
980
  name: string;
981
- type: string;
982
981
  description: string;
982
+ type: string;
983
983
  required: boolean;
984
984
  displayName: string;
985
985
  default?: string | null | undefined;
@@ -987,16 +987,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
987
987
  }, {
988
988
  required: {
989
989
  name: string;
990
- type: string;
991
990
  description: string;
991
+ type: string;
992
992
  required: boolean;
993
993
  displayName: string;
994
994
  default?: string | null | undefined;
995
995
  }[];
996
996
  optional: {
997
997
  name: string;
998
- type: string;
999
998
  description: string;
999
+ type: string;
1000
1000
  required: boolean;
1001
1001
  displayName: string;
1002
1002
  default?: string | null | undefined;
@@ -1006,16 +1006,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1006
1006
  authConfigCreation: {
1007
1007
  required: {
1008
1008
  name: string;
1009
- type: string;
1010
1009
  description: string;
1010
+ type: string;
1011
1011
  required: boolean;
1012
1012
  displayName: string;
1013
1013
  default?: string | null | undefined;
1014
1014
  }[];
1015
1015
  optional: {
1016
1016
  name: string;
1017
- type: string;
1018
1017
  description: string;
1018
+ type: string;
1019
1019
  required: boolean;
1020
1020
  displayName: string;
1021
1021
  default?: string | null | undefined;
@@ -1024,16 +1024,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1024
1024
  connectedAccountInitiation: {
1025
1025
  required: {
1026
1026
  name: string;
1027
- type: string;
1028
1027
  description: string;
1028
+ type: string;
1029
1029
  required: boolean;
1030
1030
  displayName: string;
1031
1031
  default?: string | null | undefined;
1032
1032
  }[];
1033
1033
  optional: {
1034
1034
  name: string;
1035
- type: string;
1036
1035
  description: string;
1036
+ type: string;
1037
1037
  required: boolean;
1038
1038
  displayName: string;
1039
1039
  default?: string | null | undefined;
@@ -1043,16 +1043,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1043
1043
  authConfigCreation: {
1044
1044
  required: {
1045
1045
  name: string;
1046
- type: string;
1047
1046
  description: string;
1047
+ type: string;
1048
1048
  required: boolean;
1049
1049
  displayName: string;
1050
1050
  default?: string | null | undefined;
1051
1051
  }[];
1052
1052
  optional: {
1053
1053
  name: string;
1054
- type: string;
1055
1054
  description: string;
1055
+ type: string;
1056
1056
  required: boolean;
1057
1057
  displayName: string;
1058
1058
  default?: string | null | undefined;
@@ -1061,16 +1061,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1061
1061
  connectedAccountInitiation: {
1062
1062
  required: {
1063
1063
  name: string;
1064
- type: string;
1065
1064
  description: string;
1065
+ type: string;
1066
1066
  required: boolean;
1067
1067
  displayName: string;
1068
1068
  default?: string | null | undefined;
1069
1069
  }[];
1070
1070
  optional: {
1071
1071
  name: string;
1072
- type: string;
1073
1072
  description: string;
1073
+ type: string;
1074
1074
  required: boolean;
1075
1075
  displayName: string;
1076
1076
  default?: string | null | undefined;
@@ -1091,16 +1091,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1091
1091
  authConfigCreation: {
1092
1092
  required: {
1093
1093
  name: string;
1094
- type: string;
1095
1094
  description: string;
1095
+ type: string;
1096
1096
  required: boolean;
1097
1097
  displayName: string;
1098
1098
  default?: string | null | undefined;
1099
1099
  }[];
1100
1100
  optional: {
1101
1101
  name: string;
1102
- type: string;
1103
1102
  description: string;
1103
+ type: string;
1104
1104
  required: boolean;
1105
1105
  displayName: string;
1106
1106
  default?: string | null | undefined;
@@ -1109,16 +1109,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1109
1109
  connectedAccountInitiation: {
1110
1110
  required: {
1111
1111
  name: string;
1112
- type: string;
1113
1112
  description: string;
1113
+ type: string;
1114
1114
  required: boolean;
1115
1115
  displayName: string;
1116
1116
  default?: string | null | undefined;
1117
1117
  }[];
1118
1118
  optional: {
1119
1119
  name: string;
1120
- type: string;
1121
1120
  description: string;
1121
+ type: string;
1122
1122
  required: boolean;
1123
1123
  displayName: string;
1124
1124
  default?: string | null | undefined;
@@ -1135,16 +1135,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1135
1135
  authConfigCreation: {
1136
1136
  required: {
1137
1137
  name: string;
1138
- type: string;
1139
1138
  description: string;
1139
+ type: string;
1140
1140
  required: boolean;
1141
1141
  displayName: string;
1142
1142
  default?: string | null | undefined;
1143
1143
  }[];
1144
1144
  optional: {
1145
1145
  name: string;
1146
- type: string;
1147
1146
  description: string;
1147
+ type: string;
1148
1148
  required: boolean;
1149
1149
  displayName: string;
1150
1150
  default?: string | null | undefined;
@@ -1153,16 +1153,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1153
1153
  connectedAccountInitiation: {
1154
1154
  required: {
1155
1155
  name: string;
1156
- type: string;
1157
1156
  description: string;
1157
+ type: string;
1158
1158
  required: boolean;
1159
1159
  displayName: string;
1160
1160
  default?: string | null | undefined;
1161
1161
  }[];
1162
1162
  optional: {
1163
1163
  name: string;
1164
- type: string;
1165
1164
  description: string;
1165
+ type: string;
1166
1166
  required: boolean;
1167
1167
  displayName: string;
1168
1168
  default?: string | null | undefined;
@@ -1196,10 +1196,11 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1196
1196
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
1197
1197
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1198
1198
  }, "strip", z$1.ZodTypeAny, {
1199
- logo?: string | undefined;
1200
1199
  description?: string | undefined;
1200
+ logo?: string | undefined;
1201
1201
  availableVersions?: string[] | undefined;
1202
1202
  createdAt?: string | undefined;
1203
+ updatedAt?: string | undefined;
1203
1204
  categories?: {
1204
1205
  slug: string;
1205
1206
  name: string;
@@ -1207,12 +1208,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1207
1208
  appUrl?: string | undefined;
1208
1209
  toolsCount?: number | undefined;
1209
1210
  triggersCount?: number | undefined;
1210
- updatedAt?: string | undefined;
1211
1211
  }, {
1212
- logo?: string | undefined;
1213
1212
  description?: string | undefined;
1213
+ logo?: string | undefined;
1214
1214
  availableVersions?: string[] | undefined;
1215
1215
  createdAt?: string | undefined;
1216
+ updatedAt?: string | undefined;
1216
1217
  categories?: {
1217
1218
  slug: string;
1218
1219
  name: string;
@@ -1220,7 +1221,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1220
1221
  appUrl?: string | undefined;
1221
1222
  toolsCount?: number | undefined;
1222
1223
  triggersCount?: number | undefined;
1223
- updatedAt?: string | undefined;
1224
1224
  }>;
1225
1225
  isLocalToolkit: z$1.ZodBoolean;
1226
1226
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -1238,15 +1238,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1238
1238
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1239
1239
  }, "strip", z$1.ZodTypeAny, {
1240
1240
  name: string;
1241
- type: string;
1242
1241
  description: string;
1242
+ type: string;
1243
1243
  required: boolean;
1244
1244
  displayName: string;
1245
1245
  default?: string | null | undefined;
1246
1246
  }, {
1247
1247
  name: string;
1248
- type: string;
1249
1248
  description: string;
1249
+ type: string;
1250
1250
  required: boolean;
1251
1251
  displayName: string;
1252
1252
  default?: string | null | undefined;
@@ -1260,15 +1260,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1260
1260
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1261
1261
  }, "strip", z$1.ZodTypeAny, {
1262
1262
  name: string;
1263
- type: string;
1264
1263
  description: string;
1264
+ type: string;
1265
1265
  required: boolean;
1266
1266
  displayName: string;
1267
1267
  default?: string | null | undefined;
1268
1268
  }, {
1269
1269
  name: string;
1270
- type: string;
1271
1270
  description: string;
1271
+ type: string;
1272
1272
  required: boolean;
1273
1273
  displayName: string;
1274
1274
  default?: string | null | undefined;
@@ -1276,16 +1276,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1276
1276
  }, "strip", z$1.ZodTypeAny, {
1277
1277
  required: {
1278
1278
  name: string;
1279
- type: string;
1280
1279
  description: string;
1280
+ type: string;
1281
1281
  required: boolean;
1282
1282
  displayName: string;
1283
1283
  default?: string | null | undefined;
1284
1284
  }[];
1285
1285
  optional: {
1286
1286
  name: string;
1287
- type: string;
1288
1287
  description: string;
1288
+ type: string;
1289
1289
  required: boolean;
1290
1290
  displayName: string;
1291
1291
  default?: string | null | undefined;
@@ -1293,16 +1293,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1293
1293
  }, {
1294
1294
  required: {
1295
1295
  name: string;
1296
- type: string;
1297
1296
  description: string;
1297
+ type: string;
1298
1298
  required: boolean;
1299
1299
  displayName: string;
1300
1300
  default?: string | null | undefined;
1301
1301
  }[];
1302
1302
  optional: {
1303
1303
  name: string;
1304
- type: string;
1305
1304
  description: string;
1305
+ type: string;
1306
1306
  required: boolean;
1307
1307
  displayName: string;
1308
1308
  default?: string | null | undefined;
@@ -1318,15 +1318,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1318
1318
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1319
1319
  }, "strip", z$1.ZodTypeAny, {
1320
1320
  name: string;
1321
- type: string;
1322
1321
  description: string;
1322
+ type: string;
1323
1323
  required: boolean;
1324
1324
  displayName: string;
1325
1325
  default?: string | null | undefined;
1326
1326
  }, {
1327
1327
  name: string;
1328
- type: string;
1329
1328
  description: string;
1329
+ type: string;
1330
1330
  required: boolean;
1331
1331
  displayName: string;
1332
1332
  default?: string | null | undefined;
@@ -1340,15 +1340,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1340
1340
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1341
1341
  }, "strip", z$1.ZodTypeAny, {
1342
1342
  name: string;
1343
- type: string;
1344
1343
  description: string;
1344
+ type: string;
1345
1345
  required: boolean;
1346
1346
  displayName: string;
1347
1347
  default?: string | null | undefined;
1348
1348
  }, {
1349
1349
  name: string;
1350
- type: string;
1351
1350
  description: string;
1351
+ type: string;
1352
1352
  required: boolean;
1353
1353
  displayName: string;
1354
1354
  default?: string | null | undefined;
@@ -1356,16 +1356,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1356
1356
  }, "strip", z$1.ZodTypeAny, {
1357
1357
  required: {
1358
1358
  name: string;
1359
- type: string;
1360
1359
  description: string;
1360
+ type: string;
1361
1361
  required: boolean;
1362
1362
  displayName: string;
1363
1363
  default?: string | null | undefined;
1364
1364
  }[];
1365
1365
  optional: {
1366
1366
  name: string;
1367
- type: string;
1368
1367
  description: string;
1368
+ type: string;
1369
1369
  required: boolean;
1370
1370
  displayName: string;
1371
1371
  default?: string | null | undefined;
@@ -1373,16 +1373,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1373
1373
  }, {
1374
1374
  required: {
1375
1375
  name: string;
1376
- type: string;
1377
1376
  description: string;
1377
+ type: string;
1378
1378
  required: boolean;
1379
1379
  displayName: string;
1380
1380
  default?: string | null | undefined;
1381
1381
  }[];
1382
1382
  optional: {
1383
1383
  name: string;
1384
- type: string;
1385
1384
  description: string;
1385
+ type: string;
1386
1386
  required: boolean;
1387
1387
  displayName: string;
1388
1388
  default?: string | null | undefined;
@@ -1392,16 +1392,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1392
1392
  authConfigCreation: {
1393
1393
  required: {
1394
1394
  name: string;
1395
- type: string;
1396
1395
  description: string;
1396
+ type: string;
1397
1397
  required: boolean;
1398
1398
  displayName: string;
1399
1399
  default?: string | null | undefined;
1400
1400
  }[];
1401
1401
  optional: {
1402
1402
  name: string;
1403
- type: string;
1404
1403
  description: string;
1404
+ type: string;
1405
1405
  required: boolean;
1406
1406
  displayName: string;
1407
1407
  default?: string | null | undefined;
@@ -1410,16 +1410,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1410
1410
  connectedAccountInitiation: {
1411
1411
  required: {
1412
1412
  name: string;
1413
- type: string;
1414
1413
  description: string;
1414
+ type: string;
1415
1415
  required: boolean;
1416
1416
  displayName: string;
1417
1417
  default?: string | null | undefined;
1418
1418
  }[];
1419
1419
  optional: {
1420
1420
  name: string;
1421
- type: string;
1422
1421
  description: string;
1422
+ type: string;
1423
1423
  required: boolean;
1424
1424
  displayName: string;
1425
1425
  default?: string | null | undefined;
@@ -1429,16 +1429,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1429
1429
  authConfigCreation: {
1430
1430
  required: {
1431
1431
  name: string;
1432
- type: string;
1433
1432
  description: string;
1433
+ type: string;
1434
1434
  required: boolean;
1435
1435
  displayName: string;
1436
1436
  default?: string | null | undefined;
1437
1437
  }[];
1438
1438
  optional: {
1439
1439
  name: string;
1440
- type: string;
1441
1440
  description: string;
1441
+ type: string;
1442
1442
  required: boolean;
1443
1443
  displayName: string;
1444
1444
  default?: string | null | undefined;
@@ -1447,16 +1447,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1447
1447
  connectedAccountInitiation: {
1448
1448
  required: {
1449
1449
  name: string;
1450
- type: string;
1451
1450
  description: string;
1451
+ type: string;
1452
1452
  required: boolean;
1453
1453
  displayName: string;
1454
1454
  default?: string | null | undefined;
1455
1455
  }[];
1456
1456
  optional: {
1457
1457
  name: string;
1458
- type: string;
1459
1458
  description: string;
1459
+ type: string;
1460
1460
  required: boolean;
1461
1461
  displayName: string;
1462
1462
  default?: string | null | undefined;
@@ -1477,16 +1477,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1477
1477
  authConfigCreation: {
1478
1478
  required: {
1479
1479
  name: string;
1480
- type: string;
1481
1480
  description: string;
1481
+ type: string;
1482
1482
  required: boolean;
1483
1483
  displayName: string;
1484
1484
  default?: string | null | undefined;
1485
1485
  }[];
1486
1486
  optional: {
1487
1487
  name: string;
1488
- type: string;
1489
1488
  description: string;
1489
+ type: string;
1490
1490
  required: boolean;
1491
1491
  displayName: string;
1492
1492
  default?: string | null | undefined;
@@ -1495,16 +1495,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1495
1495
  connectedAccountInitiation: {
1496
1496
  required: {
1497
1497
  name: string;
1498
- type: string;
1499
1498
  description: string;
1499
+ type: string;
1500
1500
  required: boolean;
1501
1501
  displayName: string;
1502
1502
  default?: string | null | undefined;
1503
1503
  }[];
1504
1504
  optional: {
1505
1505
  name: string;
1506
- type: string;
1507
1506
  description: string;
1507
+ type: string;
1508
1508
  required: boolean;
1509
1509
  displayName: string;
1510
1510
  default?: string | null | undefined;
@@ -1521,16 +1521,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1521
1521
  authConfigCreation: {
1522
1522
  required: {
1523
1523
  name: string;
1524
- type: string;
1525
1524
  description: string;
1525
+ type: string;
1526
1526
  required: boolean;
1527
1527
  displayName: string;
1528
1528
  default?: string | null | undefined;
1529
1529
  }[];
1530
1530
  optional: {
1531
1531
  name: string;
1532
- type: string;
1533
1532
  description: string;
1533
+ type: string;
1534
1534
  required: boolean;
1535
1535
  displayName: string;
1536
1536
  default?: string | null | undefined;
@@ -1539,16 +1539,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1539
1539
  connectedAccountInitiation: {
1540
1540
  required: {
1541
1541
  name: string;
1542
- type: string;
1543
1542
  description: string;
1543
+ type: string;
1544
1544
  required: boolean;
1545
1545
  displayName: string;
1546
1546
  default?: string | null | undefined;
1547
1547
  }[];
1548
1548
  optional: {
1549
1549
  name: string;
1550
- type: string;
1551
1550
  description: string;
1551
+ type: string;
1552
1552
  required: boolean;
1553
1553
  displayName: string;
1554
1554
  default?: string | null | undefined;
@@ -1566,10 +1566,11 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1566
1566
  slug: string;
1567
1567
  name: string;
1568
1568
  meta: {
1569
- logo?: string | undefined;
1570
1569
  description?: string | undefined;
1570
+ logo?: string | undefined;
1571
1571
  availableVersions?: string[] | undefined;
1572
1572
  createdAt?: string | undefined;
1573
+ updatedAt?: string | undefined;
1573
1574
  categories?: {
1574
1575
  slug: string;
1575
1576
  name: string;
@@ -1577,7 +1578,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1577
1578
  appUrl?: string | undefined;
1578
1579
  toolsCount?: number | undefined;
1579
1580
  triggersCount?: number | undefined;
1580
- updatedAt?: string | undefined;
1581
1581
  };
1582
1582
  isLocalToolkit: boolean;
1583
1583
  composioManagedAuthSchemes?: string[] | undefined;
@@ -1589,16 +1589,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1589
1589
  authConfigCreation: {
1590
1590
  required: {
1591
1591
  name: string;
1592
- type: string;
1593
1592
  description: string;
1593
+ type: string;
1594
1594
  required: boolean;
1595
1595
  displayName: string;
1596
1596
  default?: string | null | undefined;
1597
1597
  }[];
1598
1598
  optional: {
1599
1599
  name: string;
1600
- type: string;
1601
1600
  description: string;
1601
+ type: string;
1602
1602
  required: boolean;
1603
1603
  displayName: string;
1604
1604
  default?: string | null | undefined;
@@ -1607,16 +1607,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1607
1607
  connectedAccountInitiation: {
1608
1608
  required: {
1609
1609
  name: string;
1610
- type: string;
1611
1610
  description: string;
1611
+ type: string;
1612
1612
  required: boolean;
1613
1613
  displayName: string;
1614
1614
  default?: string | null | undefined;
1615
1615
  }[];
1616
1616
  optional: {
1617
1617
  name: string;
1618
- type: string;
1619
1618
  description: string;
1619
+ type: string;
1620
1620
  required: boolean;
1621
1621
  displayName: string;
1622
1622
  default?: string | null | undefined;
@@ -1633,10 +1633,11 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1633
1633
  slug: string;
1634
1634
  name: string;
1635
1635
  meta: {
1636
- logo?: string | undefined;
1637
1636
  description?: string | undefined;
1637
+ logo?: string | undefined;
1638
1638
  availableVersions?: string[] | undefined;
1639
1639
  createdAt?: string | undefined;
1640
+ updatedAt?: string | undefined;
1640
1641
  categories?: {
1641
1642
  slug: string;
1642
1643
  name: string;
@@ -1644,7 +1645,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1644
1645
  appUrl?: string | undefined;
1645
1646
  toolsCount?: number | undefined;
1646
1647
  triggersCount?: number | undefined;
1647
- updatedAt?: string | undefined;
1648
1648
  };
1649
1649
  isLocalToolkit: boolean;
1650
1650
  composioManagedAuthSchemes?: string[] | undefined;
@@ -1656,16 +1656,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1656
1656
  authConfigCreation: {
1657
1657
  required: {
1658
1658
  name: string;
1659
- type: string;
1660
1659
  description: string;
1660
+ type: string;
1661
1661
  required: boolean;
1662
1662
  displayName: string;
1663
1663
  default?: string | null | undefined;
1664
1664
  }[];
1665
1665
  optional: {
1666
1666
  name: string;
1667
- type: string;
1668
1667
  description: string;
1668
+ type: string;
1669
1669
  required: boolean;
1670
1670
  displayName: string;
1671
1671
  default?: string | null | undefined;
@@ -1674,16 +1674,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1674
1674
  connectedAccountInitiation: {
1675
1675
  required: {
1676
1676
  name: string;
1677
- type: string;
1678
1677
  description: string;
1678
+ type: string;
1679
1679
  required: boolean;
1680
1680
  displayName: string;
1681
1681
  default?: string | null | undefined;
1682
1682
  }[];
1683
1683
  optional: {
1684
1684
  name: string;
1685
- type: string;
1686
1685
  description: string;
1686
+ type: string;
1687
1687
  required: boolean;
1688
1688
  displayName: string;
1689
1689
  default?: string | null | undefined;
@@ -1753,15 +1753,15 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
1753
1753
  required: z$1.ZodOptional<z$1.ZodBoolean>;
1754
1754
  }, "strip", z$1.ZodTypeAny, {
1755
1755
  name: string;
1756
- type: string;
1757
1756
  description: string;
1757
+ type: string;
1758
1758
  displayName: string;
1759
1759
  required?: boolean | undefined;
1760
1760
  default?: string | null | undefined;
1761
1761
  }, {
1762
1762
  name: string;
1763
- type: string;
1764
1763
  description: string;
1764
+ type: string;
1765
1765
  displayName: string;
1766
1766
  required?: boolean | undefined;
1767
1767
  default?: string | null | undefined;
@@ -1796,31 +1796,31 @@ declare const CreateConnectedAccountParamsSchema: z$1.ZodObject<{
1796
1796
  callbackUrl: z$1.ZodOptional<z$1.ZodString>;
1797
1797
  userId: z$1.ZodOptional<z$1.ZodString>;
1798
1798
  }, "strip", z$1.ZodTypeAny, {
1799
- userId?: string | undefined;
1800
- data?: Record<string, unknown> | undefined;
1801
1799
  callbackUrl?: string | undefined;
1802
- }, {
1803
- userId?: string | undefined;
1804
1800
  data?: Record<string, unknown> | undefined;
1801
+ userId?: string | undefined;
1802
+ }, {
1805
1803
  callbackUrl?: string | undefined;
1804
+ data?: Record<string, unknown> | undefined;
1805
+ userId?: string | undefined;
1806
1806
  }>;
1807
1807
  }, "strip", z$1.ZodTypeAny, {
1808
1808
  authConfig: {
1809
1809
  id: string;
1810
1810
  };
1811
1811
  connection: {
1812
- userId?: string | undefined;
1813
- data?: Record<string, unknown> | undefined;
1814
1812
  callbackUrl?: string | undefined;
1813
+ data?: Record<string, unknown> | undefined;
1814
+ userId?: string | undefined;
1815
1815
  };
1816
1816
  }, {
1817
1817
  authConfig: {
1818
1818
  id: string;
1819
1819
  };
1820
1820
  connection: {
1821
- userId?: string | undefined;
1822
- data?: Record<string, unknown> | undefined;
1823
1821
  callbackUrl?: string | undefined;
1822
+ data?: Record<string, unknown> | undefined;
1823
+ userId?: string | undefined;
1824
1824
  };
1825
1825
  }>;
1826
1826
  declare const DefaultCreateConnectedAccountParamsSchema: z$1.ZodType<{
@@ -1860,16 +1860,20 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
1860
1860
  type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
1861
1861
  declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
1862
1862
  id: z$1.ZodString;
1863
+ /** @deprecated use connectedAccount.state.authScheme instead */
1864
+ authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
1863
1865
  isComposioManaged: z$1.ZodBoolean;
1864
1866
  isDisabled: z$1.ZodBoolean;
1865
1867
  }, "strip", z$1.ZodTypeAny, {
1866
1868
  id: string;
1867
1869
  isComposioManaged: boolean;
1868
1870
  isDisabled: boolean;
1871
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
1869
1872
  }, {
1870
1873
  id: string;
1871
1874
  isComposioManaged: boolean;
1872
1875
  isDisabled: boolean;
1876
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
1873
1877
  }>;
1874
1878
  type ConnectedAccountAuthConfig = z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
1875
1879
  declare const ConnectedAccountRetrieveResponseSchema: z$1.ZodType<{
@@ -1904,21 +1908,21 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
1904
1908
  toolkitSlugs: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
1905
1909
  userIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
1906
1910
  }, "strip", z$1.ZodTypeAny, {
1907
- limit?: number | null | undefined;
1911
+ userIds?: string[] | null | undefined;
1908
1912
  authConfigIds?: string[] | null | undefined;
1909
1913
  cursor?: string | null | undefined;
1914
+ limit?: number | null | undefined;
1910
1915
  orderBy?: "created_at" | "updated_at" | undefined;
1911
1916
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
1912
1917
  toolkitSlugs?: string[] | null | undefined;
1913
- userIds?: string[] | null | undefined;
1914
1918
  }, {
1915
- limit?: number | null | undefined;
1919
+ userIds?: string[] | null | undefined;
1916
1920
  authConfigIds?: string[] | null | undefined;
1917
1921
  cursor?: string | null | undefined;
1922
+ limit?: number | null | undefined;
1918
1923
  orderBy?: "created_at" | "updated_at" | undefined;
1919
1924
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
1920
1925
  toolkitSlugs?: string[] | null | undefined;
1921
- userIds?: string[] | null | undefined;
1922
1926
  }>;
1923
1927
  type ConnectedAccountListParams = z$1.infer<typeof ConnectedAccountListParamsSchema>;
1924
1928
  declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
@@ -2072,6 +2076,7 @@ declare const AuthSchemeTypes: {
2072
2076
  readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2073
2077
  readonly SAML: "SAML";
2074
2078
  readonly DCR_OAUTH: "DCR_OAUTH";
2079
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2075
2080
  };
2076
2081
  type AuthSchemeType = (typeof AuthSchemeTypes)[keyof typeof AuthSchemeTypes];
2077
2082
  declare const AuthConfigCreationToolAccessConfigSchema: z$1.ZodObject<{
@@ -2091,12 +2096,12 @@ declare const AuthConfigToolAccessConfigSchema: z$1.ZodObject<{
2091
2096
  toolsForConnectedAccountCreation?: string[] | undefined;
2092
2097
  toolsAvailableForExecution?: string[] | undefined;
2093
2098
  }>;
2094
- declare const AuthSchemeEnum: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>;
2099
+ declare const AuthSchemeEnum: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
2095
2100
  declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
2096
2101
  type: z$1.ZodLiteral<"use_custom_auth">;
2097
2102
  name: z$1.ZodOptional<z$1.ZodString>;
2098
2103
  credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>;
2099
- authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>;
2104
+ authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
2100
2105
  proxyConfig: z$1.ZodOptional<z$1.ZodObject<{
2101
2106
  proxyUrl: z$1.ZodString;
2102
2107
  proxyAuthKey: z$1.ZodOptional<z$1.ZodString>;
@@ -2117,7 +2122,7 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
2117
2122
  isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2118
2123
  }, "strip", z$1.ZodTypeAny, {
2119
2124
  type: "use_custom_auth";
2120
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
2125
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2";
2121
2126
  credentials: Record<string, string | number | boolean>;
2122
2127
  name?: string | undefined;
2123
2128
  proxyConfig?: {
@@ -2130,7 +2135,7 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
2130
2135
  isEnabledForToolRouter?: boolean | undefined;
2131
2136
  }, {
2132
2137
  type: "use_custom_auth";
2133
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
2138
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2";
2134
2139
  credentials: Record<string, string | number | boolean>;
2135
2140
  name?: string | undefined;
2136
2141
  proxyConfig?: {
@@ -2193,7 +2198,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
2193
2198
  type: z$1.ZodLiteral<"use_custom_auth">;
2194
2199
  name: z$1.ZodOptional<z$1.ZodString>;
2195
2200
  credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>;
2196
- authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>;
2201
+ authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
2197
2202
  proxyConfig: z$1.ZodOptional<z$1.ZodObject<{
2198
2203
  proxyUrl: z$1.ZodString;
2199
2204
  proxyAuthKey: z$1.ZodOptional<z$1.ZodString>;
@@ -2214,7 +2219,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
2214
2219
  isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2215
2220
  }, "strip", z$1.ZodTypeAny, {
2216
2221
  type: "use_custom_auth";
2217
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
2222
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2";
2218
2223
  credentials: Record<string, string | number | boolean>;
2219
2224
  name?: string | undefined;
2220
2225
  proxyConfig?: {
@@ -2227,7 +2232,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
2227
2232
  isEnabledForToolRouter?: boolean | undefined;
2228
2233
  }, {
2229
2234
  type: "use_custom_auth";
2230
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
2235
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2";
2231
2236
  credentials: Record<string, string | number | boolean>;
2232
2237
  name?: string | undefined;
2233
2238
  proxyConfig?: {
@@ -2316,7 +2321,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
2316
2321
  noOfConnections: z$1.ZodNumber;
2317
2322
  status: z$1.ZodEnum<["ENABLED", "DISABLED"]>;
2318
2323
  uuid: z$1.ZodString;
2319
- authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
2324
+ authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
2320
2325
  credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2321
2326
  expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
2322
2327
  isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -2346,20 +2351,20 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
2346
2351
  logo: string;
2347
2352
  };
2348
2353
  id: string;
2349
- noOfConnections: number;
2350
2354
  uuid: string;
2351
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
2355
+ noOfConnections: number;
2356
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2357
+ isComposioManaged?: boolean | undefined;
2358
+ createdAt?: string | undefined;
2352
2359
  credentials?: Record<string, unknown> | undefined;
2353
2360
  toolAccessConfig?: {
2354
2361
  toolsForConnectedAccountCreation?: string[] | undefined;
2355
2362
  toolsAvailableForExecution?: string[] | undefined;
2356
2363
  } | undefined;
2357
2364
  isEnabledForToolRouter?: boolean | undefined;
2358
- isComposioManaged?: boolean | undefined;
2359
2365
  expectedInputFields?: unknown[] | undefined;
2360
2366
  restrictToFollowingTools?: string[] | undefined;
2361
2367
  createdBy?: string | undefined;
2362
- createdAt?: string | undefined;
2363
2368
  lastUpdatedAt?: string | undefined;
2364
2369
  }, {
2365
2370
  name: string;
@@ -2369,20 +2374,20 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
2369
2374
  logo: string;
2370
2375
  };
2371
2376
  id: string;
2372
- noOfConnections: number;
2373
2377
  uuid: string;
2374
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
2378
+ noOfConnections: number;
2379
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2380
+ isComposioManaged?: boolean | undefined;
2381
+ createdAt?: string | undefined;
2375
2382
  credentials?: Record<string, unknown> | undefined;
2376
2383
  toolAccessConfig?: {
2377
2384
  toolsForConnectedAccountCreation?: string[] | undefined;
2378
2385
  toolsAvailableForExecution?: string[] | undefined;
2379
2386
  } | undefined;
2380
2387
  isEnabledForToolRouter?: boolean | undefined;
2381
- isComposioManaged?: boolean | undefined;
2382
2388
  expectedInputFields?: unknown[] | undefined;
2383
2389
  restrictToFollowingTools?: string[] | undefined;
2384
2390
  createdBy?: string | undefined;
2385
- createdAt?: string | undefined;
2386
2391
  lastUpdatedAt?: string | undefined;
2387
2392
  }>;
2388
2393
  type AuthConfigRetrieveResponse = z$1.infer<typeof AuthConfigRetrieveResponseSchema>;
@@ -2393,14 +2398,14 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
2393
2398
  toolkit: z$1.ZodOptional<z$1.ZodString>;
2394
2399
  }, "strip", z$1.ZodTypeAny, {
2395
2400
  toolkit?: string | undefined;
2396
- limit?: number | undefined;
2397
2401
  isComposioManaged?: boolean | undefined;
2398
2402
  cursor?: string | undefined;
2403
+ limit?: number | undefined;
2399
2404
  }, {
2400
2405
  toolkit?: string | undefined;
2401
- limit?: number | undefined;
2402
2406
  isComposioManaged?: boolean | undefined;
2403
2407
  cursor?: string | undefined;
2408
+ limit?: number | undefined;
2404
2409
  }>;
2405
2410
  type AuthConfigListParams = z$1.infer<typeof AuthConfigListParamsSchema>;
2406
2411
  declare const AuthConfigListResponseSchema: z$1.ZodObject<{
@@ -2420,7 +2425,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2420
2425
  noOfConnections: z$1.ZodNumber;
2421
2426
  status: z$1.ZodEnum<["ENABLED", "DISABLED"]>;
2422
2427
  uuid: z$1.ZodString;
2423
- authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
2428
+ authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
2424
2429
  credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2425
2430
  expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
2426
2431
  isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -2450,20 +2455,20 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2450
2455
  logo: string;
2451
2456
  };
2452
2457
  id: string;
2453
- noOfConnections: number;
2454
2458
  uuid: string;
2455
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
2459
+ noOfConnections: number;
2460
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2461
+ isComposioManaged?: boolean | undefined;
2462
+ createdAt?: string | undefined;
2456
2463
  credentials?: Record<string, unknown> | undefined;
2457
2464
  toolAccessConfig?: {
2458
2465
  toolsForConnectedAccountCreation?: string[] | undefined;
2459
2466
  toolsAvailableForExecution?: string[] | undefined;
2460
2467
  } | undefined;
2461
2468
  isEnabledForToolRouter?: boolean | undefined;
2462
- isComposioManaged?: boolean | undefined;
2463
2469
  expectedInputFields?: unknown[] | undefined;
2464
2470
  restrictToFollowingTools?: string[] | undefined;
2465
2471
  createdBy?: string | undefined;
2466
- createdAt?: string | undefined;
2467
2472
  lastUpdatedAt?: string | undefined;
2468
2473
  }, {
2469
2474
  name: string;
@@ -2473,20 +2478,20 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2473
2478
  logo: string;
2474
2479
  };
2475
2480
  id: string;
2476
- noOfConnections: number;
2477
2481
  uuid: string;
2478
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
2482
+ noOfConnections: number;
2483
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2484
+ isComposioManaged?: boolean | undefined;
2485
+ createdAt?: string | undefined;
2479
2486
  credentials?: Record<string, unknown> | undefined;
2480
2487
  toolAccessConfig?: {
2481
2488
  toolsForConnectedAccountCreation?: string[] | undefined;
2482
2489
  toolsAvailableForExecution?: string[] | undefined;
2483
2490
  } | undefined;
2484
2491
  isEnabledForToolRouter?: boolean | undefined;
2485
- isComposioManaged?: boolean | undefined;
2486
2492
  expectedInputFields?: unknown[] | undefined;
2487
2493
  restrictToFollowingTools?: string[] | undefined;
2488
2494
  createdBy?: string | undefined;
2489
- createdAt?: string | undefined;
2490
2495
  lastUpdatedAt?: string | undefined;
2491
2496
  }>, "many">;
2492
2497
  nextCursor: z$1.ZodNullable<z$1.ZodString>;
@@ -2500,20 +2505,20 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2500
2505
  logo: string;
2501
2506
  };
2502
2507
  id: string;
2503
- noOfConnections: number;
2504
2508
  uuid: string;
2505
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
2509
+ noOfConnections: number;
2510
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2511
+ isComposioManaged?: boolean | undefined;
2512
+ createdAt?: string | undefined;
2506
2513
  credentials?: Record<string, unknown> | undefined;
2507
2514
  toolAccessConfig?: {
2508
2515
  toolsForConnectedAccountCreation?: string[] | undefined;
2509
2516
  toolsAvailableForExecution?: string[] | undefined;
2510
2517
  } | undefined;
2511
2518
  isEnabledForToolRouter?: boolean | undefined;
2512
- isComposioManaged?: boolean | undefined;
2513
2519
  expectedInputFields?: unknown[] | undefined;
2514
2520
  restrictToFollowingTools?: string[] | undefined;
2515
2521
  createdBy?: string | undefined;
2516
- createdAt?: string | undefined;
2517
2522
  lastUpdatedAt?: string | undefined;
2518
2523
  }[];
2519
2524
  nextCursor: string | null;
@@ -2527,20 +2532,20 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2527
2532
  logo: string;
2528
2533
  };
2529
2534
  id: string;
2530
- noOfConnections: number;
2531
2535
  uuid: string;
2532
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
2536
+ noOfConnections: number;
2537
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2538
+ isComposioManaged?: boolean | undefined;
2539
+ createdAt?: string | undefined;
2533
2540
  credentials?: Record<string, unknown> | undefined;
2534
2541
  toolAccessConfig?: {
2535
2542
  toolsForConnectedAccountCreation?: string[] | undefined;
2536
2543
  toolsAvailableForExecution?: string[] | undefined;
2537
2544
  } | undefined;
2538
2545
  isEnabledForToolRouter?: boolean | undefined;
2539
- isComposioManaged?: boolean | undefined;
2540
2546
  expectedInputFields?: unknown[] | undefined;
2541
2547
  restrictToFollowingTools?: string[] | undefined;
2542
2548
  createdBy?: string | undefined;
2543
- createdAt?: string | undefined;
2544
2549
  lastUpdatedAt?: string | undefined;
2545
2550
  }[];
2546
2551
  nextCursor: string | null;
@@ -2874,19 +2879,19 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
2874
2879
  triggerData: z$1.ZodOptional<z$1.ZodString>;
2875
2880
  userId: z$1.ZodOptional<z$1.ZodString>;
2876
2881
  }, "strip", z$1.ZodTypeAny, {
2882
+ authConfigId?: string | undefined;
2883
+ userId?: string | undefined;
2877
2884
  toolkits?: string[] | undefined;
2878
2885
  connectedAccountId?: string | undefined;
2879
- userId?: string | undefined;
2880
2886
  triggerId?: string | undefined;
2881
- authConfigId?: string | undefined;
2882
2887
  triggerSlug?: string[] | undefined;
2883
2888
  triggerData?: string | undefined;
2884
2889
  }, {
2890
+ authConfigId?: string | undefined;
2891
+ userId?: string | undefined;
2885
2892
  toolkits?: string[] | undefined;
2886
2893
  connectedAccountId?: string | undefined;
2887
- userId?: string | undefined;
2888
2894
  triggerId?: string | undefined;
2889
- authConfigId?: string | undefined;
2890
2895
  triggerSlug?: string[] | undefined;
2891
2896
  triggerData?: string | undefined;
2892
2897
  }>;
@@ -2900,18 +2905,18 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
2900
2905
  triggerIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2901
2906
  triggerNames: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2902
2907
  }, "strip", z$1.ZodTypeAny, {
2903
- limit?: number | undefined;
2908
+ connectedAccountIds?: string[] | null | undefined;
2904
2909
  authConfigIds?: string[] | null | undefined;
2905
2910
  cursor?: string | undefined;
2906
- connectedAccountIds?: string[] | null | undefined;
2911
+ limit?: number | undefined;
2907
2912
  showDisabled?: boolean | null | undefined;
2908
2913
  triggerIds?: string[] | null | undefined;
2909
2914
  triggerNames?: string[] | null | undefined;
2910
2915
  }, {
2911
- limit?: number | undefined;
2916
+ connectedAccountIds?: string[] | null | undefined;
2912
2917
  authConfigIds?: string[] | null | undefined;
2913
2918
  cursor?: string | undefined;
2914
- connectedAccountIds?: string[] | null | undefined;
2919
+ limit?: number | undefined;
2915
2920
  showDisabled?: boolean | null | undefined;
2916
2921
  triggerIds?: string[] | null | undefined;
2917
2922
  triggerNames?: string[] | null | undefined;
@@ -2928,21 +2933,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
2928
2933
  triggerData: z$1.ZodOptional<z$1.ZodString>;
2929
2934
  uuid: z$1.ZodOptional<z$1.ZodString>;
2930
2935
  }, "strip", z$1.ZodTypeAny, {
2931
- connectedAccountId: string;
2932
2936
  id: string;
2937
+ state: Record<string, unknown>;
2933
2938
  updatedAt: string;
2939
+ connectedAccountId: string;
2934
2940
  disabledAt: string | null;
2935
- state: Record<string, unknown>;
2936
2941
  triggerConfig: Record<string, unknown>;
2937
2942
  triggerName: string;
2938
2943
  uuid?: string | undefined;
2939
2944
  triggerData?: string | undefined;
2940
2945
  }, {
2941
- connectedAccountId: string;
2942
2946
  id: string;
2947
+ state: Record<string, unknown>;
2943
2948
  updatedAt: string;
2949
+ connectedAccountId: string;
2944
2950
  disabledAt: string | null;
2945
- state: Record<string, unknown>;
2946
2951
  triggerConfig: Record<string, unknown>;
2947
2952
  triggerName: string;
2948
2953
  uuid?: string | undefined;
@@ -2960,21 +2965,21 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2960
2965
  triggerData: z$1.ZodOptional<z$1.ZodString>;
2961
2966
  uuid: z$1.ZodOptional<z$1.ZodString>;
2962
2967
  }, "strip", z$1.ZodTypeAny, {
2963
- connectedAccountId: string;
2964
2968
  id: string;
2969
+ state: Record<string, unknown>;
2965
2970
  updatedAt: string;
2971
+ connectedAccountId: string;
2966
2972
  disabledAt: string | null;
2967
- state: Record<string, unknown>;
2968
2973
  triggerConfig: Record<string, unknown>;
2969
2974
  triggerName: string;
2970
2975
  uuid?: string | undefined;
2971
2976
  triggerData?: string | undefined;
2972
2977
  }, {
2973
- connectedAccountId: string;
2974
2978
  id: string;
2979
+ state: Record<string, unknown>;
2975
2980
  updatedAt: string;
2981
+ connectedAccountId: string;
2976
2982
  disabledAt: string | null;
2977
- state: Record<string, unknown>;
2978
2983
  triggerConfig: Record<string, unknown>;
2979
2984
  triggerName: string;
2980
2985
  uuid?: string | undefined;
@@ -2984,11 +2989,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2984
2989
  totalPages: z$1.ZodNumber;
2985
2990
  }, "strip", z$1.ZodTypeAny, {
2986
2991
  items: {
2987
- connectedAccountId: string;
2988
2992
  id: string;
2993
+ state: Record<string, unknown>;
2989
2994
  updatedAt: string;
2995
+ connectedAccountId: string;
2990
2996
  disabledAt: string | null;
2991
- state: Record<string, unknown>;
2992
2997
  triggerConfig: Record<string, unknown>;
2993
2998
  triggerName: string;
2994
2999
  uuid?: string | undefined;
@@ -2998,11 +3003,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2998
3003
  totalPages: number;
2999
3004
  }, {
3000
3005
  items: {
3001
- connectedAccountId: string;
3002
3006
  id: string;
3007
+ state: Record<string, unknown>;
3003
3008
  updatedAt: string;
3009
+ connectedAccountId: string;
3004
3010
  disabledAt: string | null;
3005
- state: Record<string, unknown>;
3006
3011
  triggerConfig: Record<string, unknown>;
3007
3012
  triggerName: string;
3008
3013
  uuid?: string | undefined;
@@ -3080,96 +3085,96 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3080
3085
  status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
3081
3086
  }, "strip", z$1.ZodTypeAny, {
3082
3087
  status: "ACTIVE" | "INACTIVE";
3083
- userId: string;
3084
3088
  id: string;
3085
3089
  uuid: string;
3086
3090
  authConfigId: string;
3091
+ userId: string;
3087
3092
  authConfigUUID: string;
3088
3093
  }, {
3089
3094
  status: "ACTIVE" | "INACTIVE";
3090
- userId: string;
3091
3095
  id: string;
3092
3096
  uuid: string;
3093
3097
  authConfigId: string;
3098
+ userId: string;
3094
3099
  authConfigUUID: string;
3095
3100
  }>;
3096
3101
  }, "strip", z$1.ZodTypeAny, {
3097
3102
  toolkitSlug: string;
3098
3103
  id: string;
3099
- uuid: string;
3100
- triggerSlug: string;
3101
- triggerConfig: Record<string, unknown>;
3102
3104
  connectedAccount: {
3103
3105
  status: "ACTIVE" | "INACTIVE";
3104
- userId: string;
3105
3106
  id: string;
3106
3107
  uuid: string;
3107
3108
  authConfigId: string;
3109
+ userId: string;
3108
3110
  authConfigUUID: string;
3109
3111
  };
3112
+ uuid: string;
3113
+ triggerSlug: string;
3114
+ triggerConfig: Record<string, unknown>;
3110
3115
  triggerData?: string | undefined;
3111
3116
  }, {
3112
3117
  toolkitSlug: string;
3113
3118
  id: string;
3114
- uuid: string;
3115
- triggerSlug: string;
3116
- triggerConfig: Record<string, unknown>;
3117
3119
  connectedAccount: {
3118
3120
  status: "ACTIVE" | "INACTIVE";
3119
- userId: string;
3120
3121
  id: string;
3121
3122
  uuid: string;
3122
3123
  authConfigId: string;
3124
+ userId: string;
3123
3125
  authConfigUUID: string;
3124
3126
  };
3127
+ uuid: string;
3128
+ triggerSlug: string;
3129
+ triggerConfig: Record<string, unknown>;
3125
3130
  triggerData?: string | undefined;
3126
3131
  }>;
3127
3132
  }, "strip", z$1.ZodTypeAny, {
3128
3133
  toolkitSlug: string;
3129
- userId: string;
3130
3134
  id: string;
3131
3135
  uuid: string;
3132
- triggerSlug: string;
3133
3136
  metadata: {
3134
3137
  toolkitSlug: string;
3135
3138
  id: string;
3136
- uuid: string;
3137
- triggerSlug: string;
3138
- triggerConfig: Record<string, unknown>;
3139
3139
  connectedAccount: {
3140
3140
  status: "ACTIVE" | "INACTIVE";
3141
- userId: string;
3142
3141
  id: string;
3143
3142
  uuid: string;
3144
3143
  authConfigId: string;
3144
+ userId: string;
3145
3145
  authConfigUUID: string;
3146
3146
  };
3147
+ uuid: string;
3148
+ triggerSlug: string;
3149
+ triggerConfig: Record<string, unknown>;
3147
3150
  triggerData?: string | undefined;
3148
3151
  };
3152
+ userId: string;
3153
+ triggerSlug: string;
3149
3154
  payload?: Record<string, unknown> | undefined;
3150
3155
  originalPayload?: Record<string, unknown> | undefined;
3151
3156
  }, {
3152
3157
  toolkitSlug: string;
3153
- userId: string;
3154
3158
  id: string;
3155
3159
  uuid: string;
3156
- triggerSlug: string;
3157
3160
  metadata: {
3158
3161
  toolkitSlug: string;
3159
3162
  id: string;
3160
- uuid: string;
3161
- triggerSlug: string;
3162
- triggerConfig: Record<string, unknown>;
3163
3163
  connectedAccount: {
3164
3164
  status: "ACTIVE" | "INACTIVE";
3165
- userId: string;
3166
3165
  id: string;
3167
3166
  uuid: string;
3168
3167
  authConfigId: string;
3168
+ userId: string;
3169
3169
  authConfigUUID: string;
3170
3170
  };
3171
+ uuid: string;
3172
+ triggerSlug: string;
3173
+ triggerConfig: Record<string, unknown>;
3171
3174
  triggerData?: string | undefined;
3172
3175
  };
3176
+ userId: string;
3177
+ triggerSlug: string;
3173
3178
  payload?: Record<string, unknown> | undefined;
3174
3179
  originalPayload?: Record<string, unknown> | undefined;
3175
3180
  }>;
@@ -3201,12 +3206,12 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
3201
3206
  toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
3202
3207
  }, "strip", z$1.ZodTypeAny, {
3203
3208
  toolkits?: string[] | null | undefined;
3204
- limit?: number | null | undefined;
3205
3209
  cursor?: string | undefined;
3210
+ limit?: number | null | undefined;
3206
3211
  }, {
3207
3212
  toolkits?: string[] | null | undefined;
3208
- limit?: number | null | undefined;
3209
3213
  cursor?: string | undefined;
3214
+ limit?: number | null | undefined;
3210
3215
  }>;
3211
3216
  type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
3212
3217
  declare const TriggerTypeSchema: z$1.ZodObject<{
@@ -3239,8 +3244,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
3239
3244
  name: string;
3240
3245
  logo: string;
3241
3246
  };
3242
- payload: Record<string, unknown>;
3243
3247
  config: Record<string, unknown>;
3248
+ payload: Record<string, unknown>;
3244
3249
  version?: string | undefined;
3245
3250
  instructions?: string | undefined;
3246
3251
  }, {
@@ -3252,8 +3257,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
3252
3257
  name: string;
3253
3258
  logo: string;
3254
3259
  };
3255
- payload: Record<string, unknown>;
3256
3260
  config: Record<string, unknown>;
3261
+ payload: Record<string, unknown>;
3257
3262
  version?: string | undefined;
3258
3263
  instructions?: string | undefined;
3259
3264
  }>;
@@ -3289,8 +3294,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3289
3294
  name: string;
3290
3295
  logo: string;
3291
3296
  };
3292
- payload: Record<string, unknown>;
3293
3297
  config: Record<string, unknown>;
3298
+ payload: Record<string, unknown>;
3294
3299
  version?: string | undefined;
3295
3300
  instructions?: string | undefined;
3296
3301
  }, {
@@ -3302,8 +3307,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3302
3307
  name: string;
3303
3308
  logo: string;
3304
3309
  };
3305
- payload: Record<string, unknown>;
3306
3310
  config: Record<string, unknown>;
3311
+ payload: Record<string, unknown>;
3307
3312
  version?: string | undefined;
3308
3313
  instructions?: string | undefined;
3309
3314
  }>, "many">;
@@ -3319,8 +3324,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3319
3324
  name: string;
3320
3325
  logo: string;
3321
3326
  };
3322
- payload: Record<string, unknown>;
3323
3327
  config: Record<string, unknown>;
3328
+ payload: Record<string, unknown>;
3324
3329
  version?: string | undefined;
3325
3330
  instructions?: string | undefined;
3326
3331
  }[];
@@ -3336,8 +3341,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3336
3341
  name: string;
3337
3342
  logo: string;
3338
3343
  };
3339
- payload: Record<string, unknown>;
3340
3344
  config: Record<string, unknown>;
3345
+ payload: Record<string, unknown>;
3341
3346
  version?: string | undefined;
3342
3347
  instructions?: string | undefined;
3343
3348
  }[];
@@ -3416,92 +3421,57 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
3416
3421
  }, "strip", z$1.ZodTypeAny, {
3417
3422
  type: string;
3418
3423
  data: {
3424
+ user_id: string;
3419
3425
  connection_id: string;
3420
3426
  trigger_id: string;
3421
3427
  connection_nano_id: string;
3422
3428
  trigger_nano_id: string;
3423
- user_id: string;
3424
3429
  } & {
3425
3430
  [k: string]: unknown;
3426
3431
  };
3427
- log_id: string;
3428
3432
  timestamp: string;
3433
+ log_id: string;
3429
3434
  }, {
3430
3435
  type: string;
3431
3436
  data: {
3437
+ user_id: string;
3432
3438
  connection_id: string;
3433
3439
  trigger_id: string;
3434
3440
  connection_nano_id: string;
3435
3441
  trigger_nano_id: string;
3436
- user_id: string;
3437
3442
  } & {
3438
3443
  [k: string]: unknown;
3439
3444
  };
3440
- log_id: string;
3441
3445
  timestamp: string;
3446
+ log_id: string;
3442
3447
  }>;
3443
3448
  type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
3444
- /** V3 webhook payload - current format with metadata */
3449
+ /** V3 webhook payload - generic envelope for all composio.* events */
3445
3450
  declare const WebhookPayloadV3Schema: z$1.ZodObject<{
3446
3451
  id: z$1.ZodString;
3447
3452
  timestamp: z$1.ZodString;
3448
- type: z$1.ZodLiteral<"composio.trigger.message">;
3449
- metadata: z$1.ZodObject<{
3450
- log_id: z$1.ZodString;
3451
- trigger_slug: z$1.ZodString;
3452
- trigger_id: z$1.ZodString;
3453
- connected_account_id: z$1.ZodString;
3454
- auth_config_id: z$1.ZodString;
3455
- user_id: z$1.ZodString;
3456
- }, "strip", z$1.ZodTypeAny, {
3457
- trigger_id: string;
3458
- log_id: string;
3459
- user_id: string;
3460
- trigger_slug: string;
3461
- connected_account_id: string;
3462
- auth_config_id: string;
3463
- }, {
3464
- trigger_id: string;
3465
- log_id: string;
3466
- user_id: string;
3467
- trigger_slug: string;
3468
- connected_account_id: string;
3469
- auth_config_id: string;
3470
- }>;
3453
+ type: z$1.ZodEffects<z$1.ZodString, string, string>;
3454
+ metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3471
3455
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3472
3456
  }, "strip", z$1.ZodTypeAny, {
3473
- type: "composio.trigger.message";
3474
- data: Record<string, unknown>;
3457
+ type: string;
3475
3458
  id: string;
3476
- metadata: {
3477
- trigger_id: string;
3478
- log_id: string;
3479
- user_id: string;
3480
- trigger_slug: string;
3481
- connected_account_id: string;
3482
- auth_config_id: string;
3483
- };
3459
+ data: Record<string, unknown>;
3484
3460
  timestamp: string;
3461
+ metadata: Record<string, unknown>;
3485
3462
  }, {
3486
- type: "composio.trigger.message";
3487
- data: Record<string, unknown>;
3463
+ type: string;
3488
3464
  id: string;
3489
- metadata: {
3490
- trigger_id: string;
3491
- log_id: string;
3492
- user_id: string;
3493
- trigger_slug: string;
3494
- connected_account_id: string;
3495
- auth_config_id: string;
3496
- };
3465
+ data: Record<string, unknown>;
3497
3466
  timestamp: string;
3467
+ metadata: Record<string, unknown>;
3498
3468
  }>;
3499
3469
  type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
3500
- /** Union of all webhook payload versions */
3501
- declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
3470
+ /** V3 trigger-specific payload - has trigger metadata fields */
3471
+ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
3502
3472
  id: z$1.ZodString;
3503
3473
  timestamp: z$1.ZodString;
3504
- type: z$1.ZodLiteral<"composio.trigger.message">;
3474
+ type: z$1.ZodString;
3505
3475
  metadata: z$1.ZodObject<{
3506
3476
  log_id: z$1.ZodString;
3507
3477
  trigger_slug: z$1.ZodString;
@@ -3509,48 +3479,73 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
3509
3479
  connected_account_id: z$1.ZodString;
3510
3480
  auth_config_id: z$1.ZodString;
3511
3481
  user_id: z$1.ZodString;
3512
- }, "strip", z$1.ZodTypeAny, {
3513
- trigger_id: string;
3514
- log_id: string;
3515
- user_id: string;
3516
- trigger_slug: string;
3517
- connected_account_id: string;
3518
- auth_config_id: string;
3519
- }, {
3520
- trigger_id: string;
3521
- log_id: string;
3522
- user_id: string;
3523
- trigger_slug: string;
3524
- connected_account_id: string;
3525
- auth_config_id: string;
3526
- }>;
3482
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3483
+ log_id: z$1.ZodString;
3484
+ trigger_slug: z$1.ZodString;
3485
+ trigger_id: z$1.ZodString;
3486
+ connected_account_id: z$1.ZodString;
3487
+ auth_config_id: z$1.ZodString;
3488
+ user_id: z$1.ZodString;
3489
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3490
+ log_id: z$1.ZodString;
3491
+ trigger_slug: z$1.ZodString;
3492
+ trigger_id: z$1.ZodString;
3493
+ connected_account_id: z$1.ZodString;
3494
+ auth_config_id: z$1.ZodString;
3495
+ user_id: z$1.ZodString;
3496
+ }, z$1.ZodTypeAny, "passthrough">>;
3527
3497
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3528
3498
  }, "strip", z$1.ZodTypeAny, {
3529
- type: "composio.trigger.message";
3530
- data: Record<string, unknown>;
3499
+ type: string;
3531
3500
  id: string;
3501
+ data: Record<string, unknown>;
3502
+ timestamp: string;
3532
3503
  metadata: {
3504
+ user_id: string;
3533
3505
  trigger_id: string;
3534
3506
  log_id: string;
3535
- user_id: string;
3536
3507
  trigger_slug: string;
3537
3508
  connected_account_id: string;
3538
3509
  auth_config_id: string;
3510
+ } & {
3511
+ [k: string]: unknown;
3539
3512
  };
3540
- timestamp: string;
3541
3513
  }, {
3542
- type: "composio.trigger.message";
3543
- data: Record<string, unknown>;
3514
+ type: string;
3544
3515
  id: string;
3516
+ data: Record<string, unknown>;
3517
+ timestamp: string;
3545
3518
  metadata: {
3519
+ user_id: string;
3546
3520
  trigger_id: string;
3547
3521
  log_id: string;
3548
- user_id: string;
3549
3522
  trigger_slug: string;
3550
3523
  connected_account_id: string;
3551
3524
  auth_config_id: string;
3525
+ } & {
3526
+ [k: string]: unknown;
3552
3527
  };
3528
+ }>;
3529
+ type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
3530
+ /** Union of all webhook payload versions */
3531
+ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
3532
+ id: z$1.ZodString;
3533
+ timestamp: z$1.ZodString;
3534
+ type: z$1.ZodEffects<z$1.ZodString, string, string>;
3535
+ metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3536
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3537
+ }, "strip", z$1.ZodTypeAny, {
3538
+ type: string;
3539
+ id: string;
3540
+ data: Record<string, unknown>;
3553
3541
  timestamp: string;
3542
+ metadata: Record<string, unknown>;
3543
+ }, {
3544
+ type: string;
3545
+ id: string;
3546
+ data: Record<string, unknown>;
3547
+ timestamp: string;
3548
+ metadata: Record<string, unknown>;
3554
3549
  }>, z$1.ZodObject<{
3555
3550
  type: z$1.ZodString;
3556
3551
  timestamp: z$1.ZodString;
@@ -3577,29 +3572,29 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
3577
3572
  }, "strip", z$1.ZodTypeAny, {
3578
3573
  type: string;
3579
3574
  data: {
3575
+ user_id: string;
3580
3576
  connection_id: string;
3581
3577
  trigger_id: string;
3582
3578
  connection_nano_id: string;
3583
3579
  trigger_nano_id: string;
3584
- user_id: string;
3585
3580
  } & {
3586
3581
  [k: string]: unknown;
3587
3582
  };
3588
- log_id: string;
3589
3583
  timestamp: string;
3584
+ log_id: string;
3590
3585
  }, {
3591
3586
  type: string;
3592
3587
  data: {
3588
+ user_id: string;
3593
3589
  connection_id: string;
3594
3590
  trigger_id: string;
3595
3591
  connection_nano_id: string;
3596
3592
  trigger_nano_id: string;
3597
- user_id: string;
3598
3593
  } & {
3599
3594
  [k: string]: unknown;
3600
3595
  };
3601
- log_id: string;
3602
3596
  timestamp: string;
3597
+ log_id: string;
3603
3598
  }>, z$1.ZodObject<{
3604
3599
  trigger_name: z$1.ZodString;
3605
3600
  connection_id: z$1.ZodString;
@@ -3659,15 +3654,15 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
3659
3654
  tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
3660
3655
  }, "strip", z$1.ZodTypeAny, {
3661
3656
  id: string;
3662
- payload: string;
3663
3657
  timestamp: string;
3658
+ payload: string;
3664
3659
  secret: string;
3665
3660
  signature: string;
3666
3661
  tolerance: number;
3667
3662
  }, {
3668
3663
  id: string;
3669
- payload: string;
3670
3664
  timestamp: string;
3665
+ payload: string;
3671
3666
  secret: string;
3672
3667
  signature: string;
3673
3668
  tolerance?: number | undefined;
@@ -4367,17 +4362,17 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
4367
4362
  }, "strip", z.ZodTypeAny, {
4368
4363
  name: string;
4369
4364
  type: "streamable_http";
4370
- userId: string;
4371
4365
  id: string;
4372
4366
  allowedTools: string[];
4367
+ userId: string;
4373
4368
  url: string;
4374
4369
  authConfigs: string[];
4375
4370
  }, {
4376
4371
  name: string;
4377
4372
  type: "streamable_http";
4378
- userId: string;
4379
4373
  id: string;
4380
4374
  allowedTools: string[];
4375
+ userId: string;
4381
4376
  url: string;
4382
4377
  authConfigs: string[];
4383
4378
  }>;
@@ -4445,12 +4440,12 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
4445
4440
  */
4446
4441
  windsurf: z.ZodString;
4447
4442
  }, "strip", z.ZodTypeAny, {
4448
- cursor: string;
4449
4443
  claude: string;
4444
+ cursor: string;
4450
4445
  windsurf: string;
4451
4446
  }, {
4452
- cursor: string;
4453
4447
  claude: string;
4448
+ cursor: string;
4454
4449
  windsurf: string;
4455
4450
  }>;
4456
4451
  /**
@@ -4459,23 +4454,23 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
4459
4454
  MCPUrl: z.ZodString;
4460
4455
  }, "strip", z.ZodTypeAny, {
4461
4456
  name: string;
4462
- authConfigIds: string[];
4463
4457
  id: string;
4464
4458
  allowedTools: string[];
4459
+ authConfigIds: string[];
4465
4460
  commands: {
4466
- cursor: string;
4467
4461
  claude: string;
4462
+ cursor: string;
4468
4463
  windsurf: string;
4469
4464
  };
4470
4465
  MCPUrl: string;
4471
4466
  }, {
4472
4467
  name: string;
4473
- authConfigIds: string[];
4474
4468
  id: string;
4475
4469
  allowedTools: string[];
4470
+ authConfigIds: string[];
4476
4471
  commands: {
4477
- cursor: string;
4478
4472
  claude: string;
4473
+ cursor: string;
4479
4474
  windsurf: string;
4480
4475
  };
4481
4476
  MCPUrl: string;
@@ -4505,15 +4500,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
4505
4500
  name: z.ZodOptional<z.ZodString>;
4506
4501
  }, "strip", z.ZodTypeAny, {
4507
4502
  toolkits: string[];
4508
- limit: number;
4509
4503
  page: number;
4504
+ limit: number;
4510
4505
  authConfigs: string[];
4511
4506
  name?: string | undefined;
4512
4507
  }, {
4513
4508
  name?: string | undefined;
4514
4509
  toolkits?: string[] | undefined;
4515
- limit?: number | undefined;
4516
4510
  page?: number | undefined;
4511
+ limit?: number | undefined;
4517
4512
  authConfigs?: string[] | undefined;
4518
4513
  }>;
4519
4514
  type MCPListParams = z.infer<typeof MCPListParamsSchema>;
@@ -4551,12 +4546,12 @@ declare const MCPItemSchema: z.ZodObject<{
4551
4546
  */
4552
4547
  windsurf: z.ZodString;
4553
4548
  }, "strip", z.ZodTypeAny, {
4554
- cursor: string;
4555
4549
  claude: string;
4550
+ cursor: string;
4556
4551
  windsurf: string;
4557
4552
  }, {
4558
- cursor: string;
4559
4553
  claude: string;
4554
+ cursor: string;
4560
4555
  windsurf: string;
4561
4556
  }>;
4562
4557
  /**
@@ -4569,13 +4564,13 @@ declare const MCPItemSchema: z.ZodObject<{
4569
4564
  toolkits: z.ZodArray<z.ZodString, "many">;
4570
4565
  }, "strip", z.ZodTypeAny, {
4571
4566
  name: string;
4572
- toolkits: string[];
4573
- authConfigIds: string[];
4574
4567
  id: string;
4575
4568
  allowedTools: string[];
4569
+ toolkits: string[];
4570
+ authConfigIds: string[];
4576
4571
  commands: {
4577
- cursor: string;
4578
4572
  claude: string;
4573
+ cursor: string;
4579
4574
  windsurf: string;
4580
4575
  };
4581
4576
  MCPUrl: string;
@@ -4583,13 +4578,13 @@ declare const MCPItemSchema: z.ZodObject<{
4583
4578
  serverInstanceCount: number;
4584
4579
  }, {
4585
4580
  name: string;
4586
- toolkits: string[];
4587
- authConfigIds: string[];
4588
4581
  id: string;
4589
4582
  allowedTools: string[];
4583
+ toolkits: string[];
4584
+ authConfigIds: string[];
4590
4585
  commands: {
4591
- cursor: string;
4592
4586
  claude: string;
4587
+ cursor: string;
4593
4588
  windsurf: string;
4594
4589
  };
4595
4590
  MCPUrl: string;
@@ -4632,12 +4627,12 @@ declare const MCPListResponseSchema: z.ZodObject<{
4632
4627
  */
4633
4628
  windsurf: z.ZodString;
4634
4629
  }, "strip", z.ZodTypeAny, {
4635
- cursor: string;
4636
4630
  claude: string;
4631
+ cursor: string;
4637
4632
  windsurf: string;
4638
4633
  }, {
4639
- cursor: string;
4640
4634
  claude: string;
4635
+ cursor: string;
4641
4636
  windsurf: string;
4642
4637
  }>;
4643
4638
  /**
@@ -4650,13 +4645,13 @@ declare const MCPListResponseSchema: z.ZodObject<{
4650
4645
  toolkits: z.ZodArray<z.ZodString, "many">;
4651
4646
  }, "strip", z.ZodTypeAny, {
4652
4647
  name: string;
4653
- toolkits: string[];
4654
- authConfigIds: string[];
4655
4648
  id: string;
4656
4649
  allowedTools: string[];
4650
+ toolkits: string[];
4651
+ authConfigIds: string[];
4657
4652
  commands: {
4658
- cursor: string;
4659
4653
  claude: string;
4654
+ cursor: string;
4660
4655
  windsurf: string;
4661
4656
  };
4662
4657
  MCPUrl: string;
@@ -4664,13 +4659,13 @@ declare const MCPListResponseSchema: z.ZodObject<{
4664
4659
  serverInstanceCount: number;
4665
4660
  }, {
4666
4661
  name: string;
4667
- toolkits: string[];
4668
- authConfigIds: string[];
4669
4662
  id: string;
4670
4663
  allowedTools: string[];
4664
+ toolkits: string[];
4665
+ authConfigIds: string[];
4671
4666
  commands: {
4672
- cursor: string;
4673
4667
  claude: string;
4668
+ cursor: string;
4674
4669
  windsurf: string;
4675
4670
  };
4676
4671
  MCPUrl: string;
@@ -4682,13 +4677,13 @@ declare const MCPListResponseSchema: z.ZodObject<{
4682
4677
  }, "strip", z.ZodTypeAny, {
4683
4678
  items: {
4684
4679
  name: string;
4685
- toolkits: string[];
4686
- authConfigIds: string[];
4687
4680
  id: string;
4688
4681
  allowedTools: string[];
4682
+ toolkits: string[];
4683
+ authConfigIds: string[];
4689
4684
  commands: {
4690
- cursor: string;
4691
4685
  claude: string;
4686
+ cursor: string;
4692
4687
  windsurf: string;
4693
4688
  };
4694
4689
  MCPUrl: string;
@@ -4700,13 +4695,13 @@ declare const MCPListResponseSchema: z.ZodObject<{
4700
4695
  }, {
4701
4696
  items: {
4702
4697
  name: string;
4703
- toolkits: string[];
4704
- authConfigIds: string[];
4705
4698
  id: string;
4706
4699
  allowedTools: string[];
4700
+ toolkits: string[];
4701
+ authConfigIds: string[];
4707
4702
  commands: {
4708
- cursor: string;
4709
4703
  claude: string;
4704
+ cursor: string;
4710
4705
  windsurf: string;
4711
4706
  };
4712
4707
  MCPUrl: string;
@@ -4733,19 +4728,19 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
4733
4728
  manuallyManageConnections: z.ZodOptional<z.ZodBoolean>;
4734
4729
  }, "strip", z.ZodTypeAny, {
4735
4730
  name?: string | undefined;
4731
+ allowedTools?: string[] | undefined;
4736
4732
  toolkits?: (string | {
4737
4733
  toolkit?: string | undefined;
4738
4734
  authConfigId?: string | undefined;
4739
4735
  })[] | undefined;
4740
- allowedTools?: string[] | undefined;
4741
4736
  manuallyManageConnections?: boolean | undefined;
4742
4737
  }, {
4743
4738
  name?: string | undefined;
4739
+ allowedTools?: string[] | undefined;
4744
4740
  toolkits?: (string | {
4745
4741
  toolkit?: string | undefined;
4746
4742
  authConfigId?: string | undefined;
4747
4743
  })[] | undefined;
4748
- allowedTools?: string[] | undefined;
4749
4744
  manuallyManageConnections?: boolean | undefined;
4750
4745
  }>;
4751
4746
  type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
@@ -5296,6 +5291,353 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
5296
5291
  //#region src/types/composio.types.d.ts
5297
5292
  type ComposioRequestHeaders = Record<string, string>;
5298
5293
  //#endregion
5294
+ //#region src/types/ToolRouterSessionFilesMount.types.d.ts
5295
+ declare const ToolRouterSessionFilesMountListOptionsSchema: z.ZodObject<{
5296
+ path: z.ZodOptional<z.ZodString>;
5297
+ mountId: z.ZodDefault<z.ZodString>;
5298
+ /** Pagination cursor from the previous response nextCursor field */
5299
+ cursor: z.ZodOptional<z.ZodString>;
5300
+ /** Maximum number of files to return per page (1-500) */
5301
+ limit: z.ZodOptional<z.ZodNumber>;
5302
+ }, "strip", z.ZodTypeAny, {
5303
+ mountId: string;
5304
+ path?: string | undefined;
5305
+ cursor?: string | undefined;
5306
+ limit?: number | undefined;
5307
+ }, {
5308
+ path?: string | undefined;
5309
+ cursor?: string | undefined;
5310
+ limit?: number | undefined;
5311
+ mountId?: string | undefined;
5312
+ }>;
5313
+ type ToolRouterSessionFilesMountListOptions = z.input<typeof ToolRouterSessionFilesMountListOptionsSchema>;
5314
+ declare const FileListResponseSchema: z.ZodEffects<z.ZodObject<{
5315
+ items: z.ZodArray<z.ZodObject<{
5316
+ last_modified: z.ZodString;
5317
+ mount_relative_path: z.ZodString;
5318
+ sandbox_mount_prefix: z.ZodString;
5319
+ size: z.ZodNumber;
5320
+ }, "strip", z.ZodTypeAny, {
5321
+ last_modified: string;
5322
+ mount_relative_path: string;
5323
+ sandbox_mount_prefix: string;
5324
+ size: number;
5325
+ }, {
5326
+ last_modified: string;
5327
+ mount_relative_path: string;
5328
+ sandbox_mount_prefix: string;
5329
+ size: number;
5330
+ }>, "many">;
5331
+ next_cursor: z.ZodOptional<z.ZodString>;
5332
+ }, "strip", z.ZodTypeAny, {
5333
+ items: {
5334
+ last_modified: string;
5335
+ mount_relative_path: string;
5336
+ sandbox_mount_prefix: string;
5337
+ size: number;
5338
+ }[];
5339
+ next_cursor?: string | undefined;
5340
+ }, {
5341
+ items: {
5342
+ last_modified: string;
5343
+ mount_relative_path: string;
5344
+ sandbox_mount_prefix: string;
5345
+ size: number;
5346
+ }[];
5347
+ next_cursor?: string | undefined;
5348
+ }>, {
5349
+ items: {
5350
+ lastModified: string;
5351
+ mountRelativePath: string;
5352
+ sandboxMountPrefix: string;
5353
+ size: number;
5354
+ }[];
5355
+ nextCursor: string | undefined;
5356
+ }, {
5357
+ items: {
5358
+ last_modified: string;
5359
+ mount_relative_path: string;
5360
+ sandbox_mount_prefix: string;
5361
+ size: number;
5362
+ }[];
5363
+ next_cursor?: string | undefined;
5364
+ }>;
5365
+ type FileListResponse = z.infer<typeof FileListResponseSchema>;
5366
+ declare const ToolRouterSessionFilesMountUploadOptionsSchema: z.ZodObject<{
5367
+ /** Remote path/filename on the mount. When passing a buffer, either mimetype or remotePath is required. */
5368
+ remotePath: z.ZodOptional<z.ZodString>;
5369
+ mountId: z.ZodDefault<z.ZodString>;
5370
+ /** MIME type. When passing a buffer, either mimetype or remotePath is required. Ignored when passing File (uses file.type). */
5371
+ mimetype: z.ZodOptional<z.ZodString>;
5372
+ }, "strip", z.ZodTypeAny, {
5373
+ mountId: string;
5374
+ remotePath?: string | undefined;
5375
+ mimetype?: string | undefined;
5376
+ }, {
5377
+ mountId?: string | undefined;
5378
+ remotePath?: string | undefined;
5379
+ mimetype?: string | undefined;
5380
+ }>;
5381
+ type ToolRouterSessionFilesMountUploadOptions = z.input<typeof ToolRouterSessionFilesMountUploadOptionsSchema>;
5382
+ declare const ToolRouterSessionFilesMountDownloadOptionsSchema: z.ZodObject<{
5383
+ mountId: z.ZodDefault<z.ZodString>;
5384
+ }, "strip", z.ZodTypeAny, {
5385
+ mountId: string;
5386
+ }, {
5387
+ mountId?: string | undefined;
5388
+ }>;
5389
+ type ToolRouterSessionFilesMountDownloadOptions = z.input<typeof ToolRouterSessionFilesMountDownloadOptionsSchema>;
5390
+ declare const ToolRouterSessionFilesMountDeleteOptionsSchema: z.ZodObject<{
5391
+ mountId: z.ZodDefault<z.ZodString>;
5392
+ }, "strip", z.ZodTypeAny, {
5393
+ mountId: string;
5394
+ }, {
5395
+ mountId?: string | undefined;
5396
+ }>;
5397
+ type ToolRouterSessionFilesMountDeleteOptions = z.input<typeof ToolRouterSessionFilesMountDeleteOptionsSchema>;
5398
+ declare const RemoteFileDataSchema: z.ZodEffects<z.ZodObject<{
5399
+ expires_at: z.ZodString;
5400
+ mount_relative_path: z.ZodString;
5401
+ sandbox_mount_prefix: z.ZodString;
5402
+ download_url: z.ZodString;
5403
+ }, "strip", z.ZodTypeAny, {
5404
+ mount_relative_path: string;
5405
+ sandbox_mount_prefix: string;
5406
+ expires_at: string;
5407
+ download_url: string;
5408
+ }, {
5409
+ mount_relative_path: string;
5410
+ sandbox_mount_prefix: string;
5411
+ expires_at: string;
5412
+ download_url: string;
5413
+ }>, {
5414
+ expiresAt: string;
5415
+ mountRelativePath: string;
5416
+ sandboxMountPrefix: string;
5417
+ downloadUrl: string;
5418
+ }, {
5419
+ mount_relative_path: string;
5420
+ sandbox_mount_prefix: string;
5421
+ expires_at: string;
5422
+ download_url: string;
5423
+ }>;
5424
+ /** Parsed shape from API response. Use with `new RemoteFile(data)`. */
5425
+ type RemoteFileData = z.infer<typeof RemoteFileDataSchema>;
5426
+ declare const FileDeleteResponseSchema: z.ZodEffects<z.ZodObject<{
5427
+ mount_relative_path: z.ZodString;
5428
+ sandbox_mount_prefix: z.ZodString;
5429
+ }, "strip", z.ZodTypeAny, {
5430
+ mount_relative_path: string;
5431
+ sandbox_mount_prefix: string;
5432
+ }, {
5433
+ mount_relative_path: string;
5434
+ sandbox_mount_prefix: string;
5435
+ }>, {
5436
+ mountRelativePath: string;
5437
+ sandboxMountPrefix: string;
5438
+ }, {
5439
+ mount_relative_path: string;
5440
+ sandbox_mount_prefix: string;
5441
+ }>;
5442
+ type FileDeleteResponse = z.infer<typeof FileDeleteResponseSchema>;
5443
+ //#endregion
5444
+ //#region src/models/RemoteFile.d.ts
5445
+ /**
5446
+ * Represents a file stored in a tool router session's file mount.
5447
+ * Provides methods to fetch, save, and work with the file content.
5448
+ *
5449
+ * @example
5450
+ * ```typescript
5451
+ * const remoteFile = await session.files.download('/output/report.pdf');
5452
+ * const buffer = await remoteFile.buffer();
5453
+ * await remoteFile.save('/tmp/report.pdf');
5454
+ * const text = await remoteFile.text();
5455
+ * ```
5456
+ *
5457
+ * @example
5458
+ * ```typescript
5459
+ * // Create from API response (snake_case)
5460
+ * const remoteFile = RemoteFile.parse(apiResponse);
5461
+ *
5462
+ * // Or create from parsed data (camelCase)
5463
+ * const remoteFile = new RemoteFile({
5464
+ * expiresAt: '...',
5465
+ * mountRelativePath: 'report.pdf',
5466
+ * sandboxMountPrefix: '/mnt/files',
5467
+ * downloadUrl: 'https://...',
5468
+ * });
5469
+ * ```
5470
+ */
5471
+ declare class RemoteFile {
5472
+ /** ISO 8601 timestamp when the download URL expires */
5473
+ readonly expiresAt: string;
5474
+ /** Relative path within the mount (e.g. "report.pdf") */
5475
+ readonly mountRelativePath: string;
5476
+ /** Absolute mount path inside the sandbox (e.g. /mnt/files) */
5477
+ readonly sandboxMountPrefix: string;
5478
+ /** Presigned URL for downloading the file */
5479
+ readonly downloadUrl: string;
5480
+ constructor(data: RemoteFileData);
5481
+ /**
5482
+ * Parses an API response (snake_case) and returns a RemoteFile instance.
5483
+ * @param data - Raw API response with snake_case keys
5484
+ * @returns A RemoteFile instance
5485
+ * @throws ValidationError if the response shape is invalid
5486
+ */
5487
+ static parse(data: unknown): RemoteFile;
5488
+ /** Filename extracted from the mount path (e.g. "report.pdf" from "output/report.pdf") */
5489
+ get filename(): string;
5490
+ /**
5491
+ * Fetches the file content as a buffer.
5492
+ * @returns The file content as a Uint8Array
5493
+ * @throws RemoteFileDownloadError if the fetch fails
5494
+ */
5495
+ buffer(): Promise<Uint8Array>;
5496
+ /**
5497
+ * Fetches the file content as UTF-8 text.
5498
+ * @returns The file content as a string
5499
+ * @throws Error if the fetch fails
5500
+ */
5501
+ text(): Promise<string>;
5502
+ /**
5503
+ * Fetches the file content as a Blob.
5504
+ * @returns The file content as a Blob
5505
+ * @throws RemoteFileDownloadError if the fetch fails
5506
+ */
5507
+ blob(): Promise<Blob>;
5508
+ /**
5509
+ * Downloads and saves the file to the local filesystem.
5510
+ * Requires a Node.js runtime with file system support (not available in Cloudflare Workers/Edge).
5511
+ *
5512
+ * @param path - Local path to save the file. If omitted, saves to the Composio temp directory using the filename from the mount path.
5513
+ * @returns The absolute path where the file was saved
5514
+ * @throws Error if file system is not supported or the save fails
5515
+ */
5516
+ save(path?: string): Promise<string>;
5517
+ }
5518
+ //#endregion
5519
+ //#region src/models/ToolRouterSessionFileMount.d.ts
5520
+ declare class ToolRouterSessionFilesMount {
5521
+ private readonly sessionId;
5522
+ private readonly client;
5523
+ constructor(client: Composio, sessionId: string);
5524
+ /**
5525
+ * Lists files and directories at the specified path on the session's file mount.
5526
+ *
5527
+ * Use this to browse the virtual filesystem attached to the tool router session.
5528
+ * The path is relative to the mount root (e.g., `"/"` for root, `"/documents"` for a subdirectory).
5529
+ * Supports cursor-based pagination via `cursor` and `limit` options.
5530
+ *
5531
+ * @param options - Optional configuration for the list operation.
5532
+ * @param options.path - The directory path to list. Use `"/"` for the mount root.
5533
+ * @param options.mountId - The ID of the file mount to operate on. Defaults to `"files"` when omitted.
5534
+ * @param options.cursor - Pagination cursor from the previous response's nextCursor field.
5535
+ * @param options.limit - Maximum number of files to return per page (1-500).
5536
+ * @returns List of files with nextCursor for pagination.
5537
+ *
5538
+ * @example
5539
+ * ```typescript
5540
+ * const session = await composio.toolRouter.use('session_123');
5541
+ * const { items, nextCursor } = await session.files.list({ path: '/' });
5542
+ * ```
5543
+ *
5544
+ * @example
5545
+ * ```typescript
5546
+ * // Paginated listing
5547
+ * let result = await session.files.list({ path: '/', limit: 10 });
5548
+ * while (result.nextCursor) {
5549
+ * result = await session.files.list({ path: '/', cursor: result.nextCursor, limit: 10 });
5550
+ * }
5551
+ * ```
5552
+ */
5553
+ list(options?: ToolRouterSessionFilesMountListOptions): Promise<FileListResponse>;
5554
+ private normalizeUploadInput;
5555
+ /**
5556
+ * Uploads a file to the session's file mount.
5557
+ *
5558
+ * Accepts a file path (local or URL), a native File object, or a raw buffer.
5559
+ * The file is stored in the virtual filesystem associated with the tool router session.
5560
+ *
5561
+ * @param input - File path (string), native File, or raw buffer (ArrayBuffer | Uint8Array).
5562
+ * @param options - Optional configuration. When passing a buffer, remotePath is required.
5563
+ * @returns Metadata about the uploaded file.
5564
+ *
5565
+ * @example
5566
+ * ```typescript
5567
+ * // From file path (local or URL)
5568
+ * await session.files.upload('/path/to/report.pdf');
5569
+ * await session.files.upload('https://example.com/file.pdf');
5570
+ * ```
5571
+ *
5572
+ * @example
5573
+ * ```typescript
5574
+ * // From native File (e.g. from input[type=file])
5575
+ * await session.files.upload(fileInput.files[0]);
5576
+ * ```
5577
+ *
5578
+ * @example
5579
+ * ```typescript
5580
+ * // From raw buffer
5581
+ * await session.files.upload(buffer, { remotePath: 'data.json', mimetype: 'application/json' });
5582
+ * ```
5583
+ */
5584
+ upload(input: string | File | ArrayBuffer | Uint8Array, options?: ToolRouterSessionFilesMountUploadOptions): Promise<RemoteFile>;
5585
+ /**
5586
+ * Downloads a file from the session's file mount to the local filesystem.
5587
+ *
5588
+ * Retrieves a file stored in the session's virtual filesystem (e.g., one produced
5589
+ * by a tool or previously uploaded) and saves it to the specified local path.
5590
+ *
5591
+ * @param filePath - The path of the file on the mount to download, or the local path where the file should be saved (implementation-specific).
5592
+ * @param options - Optional configuration for the download.
5593
+ * @param options.mountId - The ID of the file mount to download from. Defaults to `"files"` when omitted.
5594
+ * @returns The downloaded file data or path (implementation-specific).
5595
+ *
5596
+ * @example
5597
+ * ```typescript
5598
+ * const session = await composio.toolRouter.use('session_123');
5599
+ * const result = await session.files.download('/output/report.pdf');
5600
+ * ```
5601
+ *
5602
+ * @example
5603
+ * ```typescript
5604
+ * // Download from a custom mount
5605
+ * await session.files.download('/exports/data.json', {
5606
+ * mountId: 'custom-mount',
5607
+ * });
5608
+ * ```
5609
+ */
5610
+ download(filePath: string, options?: ToolRouterSessionFilesMountDownloadOptions): Promise<RemoteFile>;
5611
+ /**
5612
+ * Deletes a file or directory at the specified path on the session's file mount.
5613
+ *
5614
+ * Removes the file or directory from the virtual filesystem. Use with caution:
5615
+ * deletion is typically irreversible. Ensure the path exists and is intended for removal.
5616
+ *
5617
+ * @param remotePath - The path of the file or directory to delete on the mount.
5618
+ * @param options - Optional configuration for the delete operation.
5619
+ * @param options.mountId - The ID of the file mount to operate on. Defaults to `"files"` when omitted.
5620
+ * @returns Confirmation of deletion (implementation-specific).
5621
+ *
5622
+ * @example
5623
+ * ```typescript
5624
+ * const session = await composio.toolRouter.use('session_123');
5625
+ * await session.files.delete('/temp/cache.json');
5626
+ * ```
5627
+ *
5628
+ * @example
5629
+ * ```typescript
5630
+ * // Delete from a custom mount
5631
+ * await session.files.delete('/old-backup', {
5632
+ * mountId: 'custom-mount',
5633
+ * });
5634
+ * ```
5635
+ *
5636
+ * @warning This operation is destructive. Deleted files cannot be recovered.
5637
+ */
5638
+ delete(remotePath: string, options?: ToolRouterSessionFilesMountDeleteOptions): Promise<FileDeleteResponse>;
5639
+ }
5640
+ //#endregion
5299
5641
  //#region src/types/toolRouter.types.d.ts
5300
5642
  declare const MCPServerTypeSchema: z.ZodEnum<["http", "sse"]>;
5301
5643
  type MCPServerType = z.infer<typeof MCPServerTypeSchema>;
@@ -5656,12 +5998,12 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
5656
5998
  isComposioManaged: z.ZodBoolean;
5657
5999
  }, "strip", z.ZodTypeAny, {
5658
6000
  id: string;
5659
- isComposioManaged: boolean;
5660
6001
  mode: string;
6002
+ isComposioManaged: boolean;
5661
6003
  }, {
5662
6004
  id: string;
5663
- isComposioManaged: boolean;
5664
6005
  mode: string;
6006
+ isComposioManaged: boolean;
5665
6007
  }>>>;
5666
6008
  connectedAccount: z.ZodOptional<z.ZodObject<{
5667
6009
  id: z.ZodString;
@@ -5677,8 +6019,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
5677
6019
  isActive: boolean;
5678
6020
  authConfig?: {
5679
6021
  id: string;
5680
- isComposioManaged: boolean;
5681
6022
  mode: string;
6023
+ isComposioManaged: boolean;
5682
6024
  } | null | undefined;
5683
6025
  connectedAccount?: {
5684
6026
  status: string;
@@ -5688,8 +6030,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
5688
6030
  isActive: boolean;
5689
6031
  authConfig?: {
5690
6032
  id: string;
5691
- isComposioManaged: boolean;
5692
6033
  mode: string;
6034
+ isComposioManaged: boolean;
5693
6035
  } | null | undefined;
5694
6036
  connectedAccount?: {
5695
6037
  status: string;
@@ -5705,8 +6047,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
5705
6047
  isActive: boolean;
5706
6048
  authConfig?: {
5707
6049
  id: string;
5708
- isComposioManaged: boolean;
5709
6050
  mode: string;
6051
+ isComposioManaged: boolean;
5710
6052
  } | null | undefined;
5711
6053
  connectedAccount?: {
5712
6054
  status: string;
@@ -5722,8 +6064,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
5722
6064
  isActive: boolean;
5723
6065
  authConfig?: {
5724
6066
  id: string;
5725
- isComposioManaged: boolean;
5726
6067
  mode: string;
6068
+ isComposioManaged: boolean;
5727
6069
  } | null | undefined;
5728
6070
  connectedAccount?: {
5729
6071
  status: string;
@@ -5745,12 +6087,12 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
5745
6087
  isComposioManaged: z.ZodBoolean;
5746
6088
  }, "strip", z.ZodTypeAny, {
5747
6089
  id: string;
5748
- isComposioManaged: boolean;
5749
6090
  mode: string;
6091
+ isComposioManaged: boolean;
5750
6092
  }, {
5751
6093
  id: string;
5752
- isComposioManaged: boolean;
5753
6094
  mode: string;
6095
+ isComposioManaged: boolean;
5754
6096
  }>>>;
5755
6097
  connectedAccount: z.ZodOptional<z.ZodObject<{
5756
6098
  id: z.ZodString;
@@ -5766,8 +6108,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
5766
6108
  isActive: boolean;
5767
6109
  authConfig?: {
5768
6110
  id: string;
5769
- isComposioManaged: boolean;
5770
6111
  mode: string;
6112
+ isComposioManaged: boolean;
5771
6113
  } | null | undefined;
5772
6114
  connectedAccount?: {
5773
6115
  status: string;
@@ -5777,8 +6119,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
5777
6119
  isActive: boolean;
5778
6120
  authConfig?: {
5779
6121
  id: string;
5780
- isComposioManaged: boolean;
5781
6122
  mode: string;
6123
+ isComposioManaged: boolean;
5782
6124
  } | null | undefined;
5783
6125
  connectedAccount?: {
5784
6126
  status: string;
@@ -5794,8 +6136,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
5794
6136
  isActive: boolean;
5795
6137
  authConfig?: {
5796
6138
  id: string;
5797
- isComposioManaged: boolean;
5798
6139
  mode: string;
6140
+ isComposioManaged: boolean;
5799
6141
  } | null | undefined;
5800
6142
  connectedAccount?: {
5801
6143
  status: string;
@@ -5811,8 +6153,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
5811
6153
  isActive: boolean;
5812
6154
  authConfig?: {
5813
6155
  id: string;
5814
- isComposioManaged: boolean;
5815
6156
  mode: string;
6157
+ isComposioManaged: boolean;
5816
6158
  } | null | undefined;
5817
6159
  connectedAccount?: {
5818
6160
  status: string;
@@ -5832,8 +6174,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
5832
6174
  isActive: boolean;
5833
6175
  authConfig?: {
5834
6176
  id: string;
5835
- isComposioManaged: boolean;
5836
6177
  mode: string;
6178
+ isComposioManaged: boolean;
5837
6179
  } | null | undefined;
5838
6180
  connectedAccount?: {
5839
6181
  status: string;
@@ -5853,8 +6195,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
5853
6195
  isActive: boolean;
5854
6196
  authConfig?: {
5855
6197
  id: string;
5856
- isComposioManaged: boolean;
5857
6198
  mode: string;
6199
+ isComposioManaged: boolean;
5858
6200
  } | null | undefined;
5859
6201
  connectedAccount?: {
5860
6202
  status: string;
@@ -5892,60 +6234,344 @@ declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
5892
6234
  isConnected: z.ZodOptional<z.ZodBoolean>;
5893
6235
  search: z.ZodOptional<z.ZodString>;
5894
6236
  }, "strip", z.ZodTypeAny, {
5895
- nextCursor?: string | undefined;
5896
6237
  toolkits?: string[] | undefined;
5897
6238
  limit?: number | undefined;
6239
+ nextCursor?: string | undefined;
5898
6240
  search?: string | undefined;
5899
6241
  isConnected?: boolean | undefined;
5900
6242
  }, {
5901
- nextCursor?: string | undefined;
5902
6243
  toolkits?: string[] | undefined;
5903
6244
  limit?: number | undefined;
6245
+ nextCursor?: string | undefined;
5904
6246
  search?: string | undefined;
5905
6247
  isConnected?: boolean | undefined;
5906
6248
  }>;
5907
6249
  type ToolRouterToolkitsOptions = z.infer<typeof ToolRouterToolkitsOptionsSchema>;
5908
6250
  type ToolRouterToolkitsFn = (options?: ToolRouterToolkitsOptions) => Promise<ToolkitConnectionsDetails>;
6251
+ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
6252
+ success: z.ZodBoolean;
6253
+ error: z.ZodNullable<z.ZodString>;
6254
+ results: z.ZodArray<z.ZodObject<{
6255
+ index: z.ZodNumber;
6256
+ useCase: z.ZodString;
6257
+ primaryToolSlugs: z.ZodArray<z.ZodString, "many">;
6258
+ relatedToolSlugs: z.ZodArray<z.ZodString, "many">;
6259
+ toolkits: z.ZodArray<z.ZodString, "many">;
6260
+ difficulty: z.ZodOptional<z.ZodString>;
6261
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6262
+ executionGuidance: z.ZodOptional<z.ZodString>;
6263
+ knownPitfalls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6264
+ memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
6265
+ planId: z.ZodOptional<z.ZodString>;
6266
+ recommendedPlanSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6267
+ referenceWorkbenchSnippets: z.ZodOptional<z.ZodArray<z.ZodObject<{
6268
+ code: z.ZodString;
6269
+ description: z.ZodString;
6270
+ }, "strip", z.ZodTypeAny, {
6271
+ description: string;
6272
+ code: string;
6273
+ }, {
6274
+ description: string;
6275
+ code: string;
6276
+ }>, "many">>;
6277
+ }, "strip", z.ZodTypeAny, {
6278
+ toolkits: string[];
6279
+ index: number;
6280
+ useCase: string;
6281
+ primaryToolSlugs: string[];
6282
+ relatedToolSlugs: string[];
6283
+ error?: string | null | undefined;
6284
+ difficulty?: string | undefined;
6285
+ executionGuidance?: string | undefined;
6286
+ knownPitfalls?: string[] | undefined;
6287
+ memory?: Record<string, string[]> | undefined;
6288
+ planId?: string | undefined;
6289
+ recommendedPlanSteps?: string[] | undefined;
6290
+ referenceWorkbenchSnippets?: {
6291
+ description: string;
6292
+ code: string;
6293
+ }[] | undefined;
6294
+ }, {
6295
+ toolkits: string[];
6296
+ index: number;
6297
+ useCase: string;
6298
+ primaryToolSlugs: string[];
6299
+ relatedToolSlugs: string[];
6300
+ error?: string | null | undefined;
6301
+ difficulty?: string | undefined;
6302
+ executionGuidance?: string | undefined;
6303
+ knownPitfalls?: string[] | undefined;
6304
+ memory?: Record<string, string[]> | undefined;
6305
+ planId?: string | undefined;
6306
+ recommendedPlanSteps?: string[] | undefined;
6307
+ referenceWorkbenchSnippets?: {
6308
+ description: string;
6309
+ code: string;
6310
+ }[] | undefined;
6311
+ }>, "many">;
6312
+ toolSchemas: z.ZodRecord<z.ZodString, z.ZodObject<{
6313
+ toolSlug: z.ZodString;
6314
+ toolkit: z.ZodString;
6315
+ description: z.ZodOptional<z.ZodString>;
6316
+ hasFullSchema: z.ZodOptional<z.ZodBoolean>;
6317
+ inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6318
+ outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6319
+ schemaRef: z.ZodOptional<z.ZodObject<{
6320
+ args: z.ZodObject<{
6321
+ toolSlugs: z.ZodArray<z.ZodString, "many">;
6322
+ }, "strip", z.ZodTypeAny, {
6323
+ toolSlugs: string[];
6324
+ }, {
6325
+ toolSlugs: string[];
6326
+ }>;
6327
+ message: z.ZodString;
6328
+ tool: z.ZodLiteral<"COMPOSIO_GET_TOOL_SCHEMAS">;
6329
+ }, "strip", z.ZodTypeAny, {
6330
+ message: string;
6331
+ args: {
6332
+ toolSlugs: string[];
6333
+ };
6334
+ tool: "COMPOSIO_GET_TOOL_SCHEMAS";
6335
+ }, {
6336
+ message: string;
6337
+ args: {
6338
+ toolSlugs: string[];
6339
+ };
6340
+ tool: "COMPOSIO_GET_TOOL_SCHEMAS";
6341
+ }>>;
6342
+ }, "strip", z.ZodTypeAny, {
6343
+ toolkit: string;
6344
+ toolSlug: string;
6345
+ description?: string | undefined;
6346
+ hasFullSchema?: boolean | undefined;
6347
+ inputSchema?: Record<string, unknown> | undefined;
6348
+ outputSchema?: Record<string, unknown> | undefined;
6349
+ schemaRef?: {
6350
+ message: string;
6351
+ args: {
6352
+ toolSlugs: string[];
6353
+ };
6354
+ tool: "COMPOSIO_GET_TOOL_SCHEMAS";
6355
+ } | undefined;
6356
+ }, {
6357
+ toolkit: string;
6358
+ toolSlug: string;
6359
+ description?: string | undefined;
6360
+ hasFullSchema?: boolean | undefined;
6361
+ inputSchema?: Record<string, unknown> | undefined;
6362
+ outputSchema?: Record<string, unknown> | undefined;
6363
+ schemaRef?: {
6364
+ message: string;
6365
+ args: {
6366
+ toolSlugs: string[];
6367
+ };
6368
+ tool: "COMPOSIO_GET_TOOL_SCHEMAS";
6369
+ } | undefined;
6370
+ }>>;
6371
+ toolkitConnectionStatuses: z.ZodArray<z.ZodObject<{
6372
+ toolkit: z.ZodString;
6373
+ description: z.ZodString;
6374
+ hasActiveConnection: z.ZodBoolean;
6375
+ statusMessage: z.ZodString;
6376
+ connectionDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6377
+ currentUserInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6378
+ }, "strip", z.ZodTypeAny, {
6379
+ description: string;
6380
+ toolkit: string;
6381
+ hasActiveConnection: boolean;
6382
+ statusMessage: string;
6383
+ connectionDetails?: Record<string, unknown> | undefined;
6384
+ currentUserInfo?: Record<string, unknown> | undefined;
6385
+ }, {
6386
+ description: string;
6387
+ toolkit: string;
6388
+ hasActiveConnection: boolean;
6389
+ statusMessage: string;
6390
+ connectionDetails?: Record<string, unknown> | undefined;
6391
+ currentUserInfo?: Record<string, unknown> | undefined;
6392
+ }>, "many">;
6393
+ nextStepsGuidance: z.ZodArray<z.ZodString, "many">;
6394
+ session: z.ZodObject<{
6395
+ id: z.ZodString;
6396
+ generateId: z.ZodBoolean;
6397
+ instructions: z.ZodString;
6398
+ }, "strip", z.ZodTypeAny, {
6399
+ id: string;
6400
+ generateId: boolean;
6401
+ instructions: string;
6402
+ }, {
6403
+ id: string;
6404
+ generateId: boolean;
6405
+ instructions: string;
6406
+ }>;
6407
+ timeInfo: z.ZodObject<{
6408
+ currentTimeUtc: z.ZodString;
6409
+ currentTimeUtcEpochSeconds: z.ZodNumber;
6410
+ message: z.ZodString;
6411
+ }, "strip", z.ZodTypeAny, {
6412
+ message: string;
6413
+ currentTimeUtc: string;
6414
+ currentTimeUtcEpochSeconds: number;
6415
+ }, {
6416
+ message: string;
6417
+ currentTimeUtc: string;
6418
+ currentTimeUtcEpochSeconds: number;
6419
+ }>;
6420
+ }, "strip", z.ZodTypeAny, {
6421
+ error: string | null;
6422
+ success: boolean;
6423
+ results: {
6424
+ toolkits: string[];
6425
+ index: number;
6426
+ useCase: string;
6427
+ primaryToolSlugs: string[];
6428
+ relatedToolSlugs: string[];
6429
+ error?: string | null | undefined;
6430
+ difficulty?: string | undefined;
6431
+ executionGuidance?: string | undefined;
6432
+ knownPitfalls?: string[] | undefined;
6433
+ memory?: Record<string, string[]> | undefined;
6434
+ planId?: string | undefined;
6435
+ recommendedPlanSteps?: string[] | undefined;
6436
+ referenceWorkbenchSnippets?: {
6437
+ description: string;
6438
+ code: string;
6439
+ }[] | undefined;
6440
+ }[];
6441
+ toolSchemas: Record<string, {
6442
+ toolkit: string;
6443
+ toolSlug: string;
6444
+ description?: string | undefined;
6445
+ hasFullSchema?: boolean | undefined;
6446
+ inputSchema?: Record<string, unknown> | undefined;
6447
+ outputSchema?: Record<string, unknown> | undefined;
6448
+ schemaRef?: {
6449
+ message: string;
6450
+ args: {
6451
+ toolSlugs: string[];
6452
+ };
6453
+ tool: "COMPOSIO_GET_TOOL_SCHEMAS";
6454
+ } | undefined;
6455
+ }>;
6456
+ toolkitConnectionStatuses: {
6457
+ description: string;
6458
+ toolkit: string;
6459
+ hasActiveConnection: boolean;
6460
+ statusMessage: string;
6461
+ connectionDetails?: Record<string, unknown> | undefined;
6462
+ currentUserInfo?: Record<string, unknown> | undefined;
6463
+ }[];
6464
+ nextStepsGuidance: string[];
6465
+ session: {
6466
+ id: string;
6467
+ generateId: boolean;
6468
+ instructions: string;
6469
+ };
6470
+ timeInfo: {
6471
+ message: string;
6472
+ currentTimeUtc: string;
6473
+ currentTimeUtcEpochSeconds: number;
6474
+ };
6475
+ }, {
6476
+ error: string | null;
6477
+ success: boolean;
6478
+ results: {
6479
+ toolkits: string[];
6480
+ index: number;
6481
+ useCase: string;
6482
+ primaryToolSlugs: string[];
6483
+ relatedToolSlugs: string[];
6484
+ error?: string | null | undefined;
6485
+ difficulty?: string | undefined;
6486
+ executionGuidance?: string | undefined;
6487
+ knownPitfalls?: string[] | undefined;
6488
+ memory?: Record<string, string[]> | undefined;
6489
+ planId?: string | undefined;
6490
+ recommendedPlanSteps?: string[] | undefined;
6491
+ referenceWorkbenchSnippets?: {
6492
+ description: string;
6493
+ code: string;
6494
+ }[] | undefined;
6495
+ }[];
6496
+ toolSchemas: Record<string, {
6497
+ toolkit: string;
6498
+ toolSlug: string;
6499
+ description?: string | undefined;
6500
+ hasFullSchema?: boolean | undefined;
6501
+ inputSchema?: Record<string, unknown> | undefined;
6502
+ outputSchema?: Record<string, unknown> | undefined;
6503
+ schemaRef?: {
6504
+ message: string;
6505
+ args: {
6506
+ toolSlugs: string[];
6507
+ };
6508
+ tool: "COMPOSIO_GET_TOOL_SCHEMAS";
6509
+ } | undefined;
6510
+ }>;
6511
+ toolkitConnectionStatuses: {
6512
+ description: string;
6513
+ toolkit: string;
6514
+ hasActiveConnection: boolean;
6515
+ statusMessage: string;
6516
+ connectionDetails?: Record<string, unknown> | undefined;
6517
+ currentUserInfo?: Record<string, unknown> | undefined;
6518
+ }[];
6519
+ nextStepsGuidance: string[];
6520
+ session: {
6521
+ id: string;
6522
+ generateId: boolean;
6523
+ instructions: string;
6524
+ };
6525
+ timeInfo: {
6526
+ message: string;
6527
+ currentTimeUtc: string;
6528
+ currentTimeUtcEpochSeconds: number;
6529
+ };
6530
+ }>;
6531
+ type ToolRouterSessionSearchResponse = z.infer<typeof ToolRouterSessionSearchResponseSchema>;
6532
+ declare const ToolRouterSessionExecuteResponseSchema: z.ZodObject<{
6533
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6534
+ error: z.ZodNullable<z.ZodString>;
6535
+ logId: z.ZodString;
6536
+ }, "strip", z.ZodTypeAny, {
6537
+ error: string | null;
6538
+ data: Record<string, unknown>;
6539
+ logId: string;
6540
+ }, {
6541
+ error: string | null;
6542
+ data: Record<string, unknown>;
6543
+ logId: string;
6544
+ }>;
6545
+ type ToolRouterSessionExecuteResponse = z.infer<typeof ToolRouterSessionExecuteResponseSchema>;
5909
6546
  /**
5910
6547
  * Experimental features response from session creation.
5911
6548
  * Only returned on session creation, not on GET.
5912
6549
  */
5913
- interface ToolRouterSessionExperimental {
6550
+ interface SessionExperimental {
5914
6551
  /**
5915
6552
  * The assistive system prompt to inject into your agent for optimal tool router usage.
5916
6553
  */
5917
6554
  assistivePrompt?: string;
5918
6555
  }
5919
- interface ToolRouterSession<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
5920
- /**
5921
- * The session id of the tool router session.
5922
- */
6556
+ type ToolRouterSessionSearchFn = (params: {
6557
+ query: string;
6558
+ toolkits?: string[];
6559
+ }) => Promise<ToolRouterSessionSearchResponse>;
6560
+ type ToolRouterSessionExecuteFn = (toolSlug: string, arguments_?: Record<string, unknown>) => Promise<ToolRouterSessionExecuteResponse>;
6561
+ /** Session type returned by ToolRouter.create() and ToolRouter.use() */
6562
+ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
5923
6563
  sessionId: string;
5924
- /**
5925
- * The MCP server config of the tool router session.
5926
- * Contains the URL, type ('http' or 'sse'), and headers for authentication.
5927
- */
5928
6564
  mcp: ToolRouterMCPServerConfig;
5929
- /**
5930
- * Get the tools available in the session, formatted for your AI framework.
5931
- * Requires a provider to be configured in the Composio constructor.
5932
- */
5933
6565
  tools: ToolRouterToolsFn<TToolCollection, TTool, TProvider>;
5934
- /**
5935
- * Initiate an authorization flow for a toolkit.
5936
- * Returns a ConnectionRequest with a redirect URL for the user.
5937
- */
5938
6566
  authorize: ToolRouterAuthorizeFn;
5939
- /**
5940
- * Query the connection state of toolkits in the session.
5941
- * Supports pagination and filtering by toolkit slugs.
5942
- */
5943
6567
  toolkits: ToolRouterToolkitsFn;
5944
- /**
5945
- * Experimental features including the generated system prompt.
5946
- * Only returned on session creation, not on GET.
5947
- */
5948
- experimental?: ToolRouterSessionExperimental;
6568
+ /** Search for tools by semantic use case */
6569
+ search: ToolRouterSessionSearchFn;
6570
+ /** Execute a tool within the session */
6571
+ execute: ToolRouterSessionExecuteFn;
6572
+ /** File mount operations (list, upload, download, delete) */
6573
+ files: ToolRouterSessionFilesMount;
6574
+ experimental?: SessionExperimental;
5949
6575
  }
5950
6576
  //#endregion
5951
6577
  //#region src/models/ToolRouter.d.ts
@@ -5953,52 +6579,13 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
5953
6579
  private client;
5954
6580
  private config?;
5955
6581
  constructor(client: Composio, config?: ComposioConfig<TProvider> | undefined);
5956
- /**
5957
- * Creates a function that authorizes a toolkit for a user.
5958
- * @param sessionId {string} The session id to create the authorize function for
5959
- * @returns {ToolRouterAuthorizeFn} The authorize function
5960
- *
5961
- */
5962
- private createAuthorizeFn;
5963
- /**
5964
- *
5965
- * @param sessionId {string} The session id to create the toolkits function for
5966
- * @returns {ToolRouterToolkitsFn} The toolkits function
5967
- *
5968
- * @example
5969
- * ```typescript
5970
- * import { Composio } from '@composio/core';
5971
- *
5972
- * const composio = new Composio();
5973
- * const session = await composio.toolRouter.use('session_123');
5974
- *
5975
- * const toolkits = await session.toolkits();
5976
- * console.log(toolkits);
5977
- * ```
5978
- */
5979
- private createToolkitsFn;
5980
- /**
5981
- * @internal
5982
- * Creates a function that wraps the tools based on the provider.
5983
- * The returned tools will be of the type the frameworks expects.
5984
- *
5985
- * @param sessionId - The session id to get the tools for
5986
- * @returns A function that wraps the tools based on the provider with session-specific modifiers.
5987
- */
5988
- private createToolsFn;
5989
- /**
5990
- * Creates a MCP server config object.
5991
- * @param type {MCPServerType} The type of the MCP server
5992
- * @param url {string} The URL of the MCP server
5993
- * @returns {ToolRouterMCPServerConfig} The MCP server config object
5994
- */
5995
6582
  private createMCPServerConfig;
5996
6583
  /**
5997
6584
  * Creates a new tool router session for a user.
5998
6585
  *
5999
6586
  * @param userId {string} The user id to create the session for
6000
6587
  * @param config {ToolRouterCreateSessionConfig} The config for the tool router session
6001
- * @returns {Promise<ToolRouterSession<TToolCollection, TTool, TProvider>>} The tool router session
6588
+ * @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
6002
6589
  *
6003
6590
  * @example
6004
6591
  * ```typescript
@@ -6028,11 +6615,11 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
6028
6615
  * const toolkits = await session.toolkits();
6029
6616
  * ```
6030
6617
  */
6031
- create(userId: string, config?: ToolRouterCreateSessionConfig): Promise<ToolRouterSession<TToolCollection, TTool, TProvider>>;
6618
+ create(userId: string, config?: ToolRouterCreateSessionConfig): Promise<Session<TToolCollection, TTool, TProvider>>;
6032
6619
  /**
6033
6620
  * Use an existing session
6034
6621
  * @param id {string} The id of the session to use
6035
- * @returns {Promise<ToolRouterSession<TToolCollection, TTool, TProvider>>} The tool router session
6622
+ * @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
6036
6623
  *
6037
6624
  * @example
6038
6625
  * ```typescript
@@ -6046,7 +6633,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
6046
6633
  * console.log(session.mcp.headers);
6047
6634
  * ```
6048
6635
  */
6049
- use(id: string): Promise<Omit<ToolRouterSession<TToolCollection, TTool, TProvider>, 'experimental'>>;
6636
+ use(id: string): Promise<Omit<Session<TToolCollection, TTool, TProvider>, 'experimental'>>;
6050
6637
  }
6051
6638
  //#endregion
6052
6639
  //#region src/composio.d.ts
@@ -6186,7 +6773,7 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
6186
6773
  *
6187
6774
  * @param userId {string} The user id to create the session for
6188
6775
  * @param config {ToolRouterConfig} The config for the tool router session
6189
- * @returns {Promise<ToolRouterSession<TToolCollection, TTool, TProvider>>} The tool router session
6776
+ * @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
6190
6777
  *
6191
6778
  * @example
6192
6779
  * ```typescript
@@ -6204,14 +6791,14 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
6204
6791
  * console.log(session.tools());
6205
6792
  * ```
6206
6793
  */
6207
- create: (userId: string, routerConfig?: ToolRouterCreateSessionConfig) => Promise<ToolRouterSession<unknown, unknown, TProvider>>;
6794
+ create: (userId: string, routerConfig?: ToolRouterCreateSessionConfig) => Promise<Session<unknown, unknown, TProvider>>;
6208
6795
  /**
6209
6796
  * Use an existing tool router session
6210
6797
  *
6211
6798
  * @param id {string} The id of the session to use
6212
- * @returns {Promise<ToolRouterSession<TToolCollection, TTool, TProvider>>} The tool router session
6799
+ * @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
6213
6800
  */
6214
- use: (id: string) => Promise<ToolRouterSession<unknown, unknown, TProvider>>;
6801
+ use: (id: string) => Promise<Session<unknown, unknown, TProvider>>;
6215
6802
  /**
6216
6803
  * Creates a new instance of the Composio SDK.
6217
6804
  *
@@ -6322,4 +6909,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
6322
6909
  flush(): Promise<void>;
6323
6910
  }
6324
6911
  //#endregion
6325
- export { TriggerInstanceUpsertParamsSchema as $, InputParamsSchema as $n, ConnectedAccountAuthConfigSchema as $t, ToolkitConnectionStateSchema as A, ToolkitAuthConfigDetails as An, AuthConfigListResponse as At, TriggerInstanceListActiveParams as B, ToolkitMangedByEnumSchema as Bn, AuthDefaultConfigUpdateParamsSchema as Bt, ToolRouterToolkitsOptions as C, DefaultCreateConnectedAccountParamsSchema as Cn, WebhookPayloadV3 as Ct, ToolRouterToolsParam as D, ToolKitListResponseSchema as Dn, AuthConfigCreationToolAccessConfigSchema as Dt, ToolRouterToolsFn as E, ToolKitListResponse as En, WebhookVersions as Et, IncomingTriggerPayload as F, ToolkitAuthFieldsResponseSchema as Fn, AuthConfigType as Ft, TriggerInstanceListActiveResponseSchema as G, ToolkitSortByEnum as Gn, CreateAuthConfigParamsSchema as Gt, TriggerInstanceListActiveResponse as H, ToolkitRetrieveCategoriesResponseSchema as Hn, AuthSchemeType as Ht, IncomingTriggerPayloadSchema as I, ToolkitCategory as In, AuthConfigTypes as It, TriggerInstanceManageUpdateParams as J, CustomToolInputParameter as Jn, CreateComposioManagedAuthConfigParamsSchema as Jt, TriggerInstanceManageDeleteResponse as K, ToolkitSortByEnumSchema as Kn, CreateAuthConfigResponse as Kt, TriggerData as L, ToolkitCategorySchema as Ln, AuthConfigUpdateParams as Lt, ToolkitConnectionsDetailsSchema as M, ToolkitAuthField as Mn, AuthConfigRetrieveResponse as Mt, OpenAIProvider as N, ToolkitAuthFieldSchema as Nn, AuthConfigRetrieveResponseSchema as Nt, ToolRouterToolsParamSchema as O, ToolKitMeta as On, AuthConfigListParams as Ot, MCP as P, ToolkitAuthFieldsResponse as Pn, AuthConfigToolAccessConfigSchema as Pt, TriggerInstanceUpsertParams as Q, ExecuteMetadata as Qn, ConnectedAccountAuthConfig as Qt, TriggerEvent as R, ToolkitListParams as Rn, AuthConfigUpdateParamsSchema as Rt, ToolRouterToolkitsFn as S, CreateConnectedAccountResponseSchema as Sn, WebhookPayloadV2Schema as St, ToolRouterToolkitsParamSchema as T, ToolKitItemSchema as Tn, WebhookVersion as Tt, TriggerInstanceListActiveResponseItem as U, ToolkitRetrieveResponse as Un, AuthSchemeTypes as Ut, TriggerInstanceListActiveParamsSchema as V, ToolkitRetrieveCategoriesResponse as Vn, AuthSchemeEnum as Vt, TriggerInstanceListActiveResponseItemSchema as W, ToolkitRetrieveResponseSchema as Wn, CreateAuthConfigParams as Wt, TriggerInstanceManageUpdateResponse as X, CustomToolRegistry as Xn, ConnectionRequest as Xt, TriggerInstanceManageUpdateParamsSchema as Y, CustomToolOptions as Yn, CreateCustomAuthConfigParamsSchema as Yt, TriggerInstanceManageUpdateResponseSchema as Z, CustomToolRegistryItem as Zn, ConnectionRequestState as Zt, ToolRouterSessionExperimental as _, CreateConnectedAccountOptions as _n, WebhookPayload as _t, ToolRouterAuthorizeFn as a, ConnectedAccountRefreshOptions as an, TriggerSubscribeParamSchema as at, ToolRouterToolkitsDisabledConfigSchema as b, CreateConnectedAccountParamsSchema as bn, WebhookPayloadV1Schema as bt, ToolRouterConfigTagsSchema as c, ConnectedAccountRetrieveResponseSchema as cn, TriggerTypeSchema as ct, ToolRouterCreateSessionConfig as d, ConnectedAccountStatusSchema as dn, TriggersTypeListResponse as dt, ConnectedAccountListParams as en, TriggerInstanceUpsertResponse as et, ToolRouterCreateSessionConfigSchema as f, ConnectedAccountStatuses as fn, TriggersTypeListResponseSchema as ft, ToolRouterSession as g, CreateConnectedAccountLinkResponseSchema as gn, VerifyWebhookResult as gt, ToolRouterManageConnectionsConfigSchema as h, CreateConnectedAccountLinkResponse as hn, VerifyWebhookParamsSchema as ht, MCPServerTypeSchema as i, ConnectedAccountListResponseSchema as in, TriggerStatuses as it, ToolkitConnectionsDetails as j, ToolkitAuthConfigDetailsSchema as jn, AuthConfigListResponseSchema as jt, ToolkitConnectionState as k, ToolKitMetaSchema as kn, AuthConfigListParamsSchema as kt, ToolRouterConfigTools as l, ConnectedAccountStatus as ln, TriggersTypeListParams as lt, ToolRouterMCPServerConfigSchema as m, CreateConnectedAccountLinkOptionsSchema as mn, VerifyWebhookParams as mt, ComposioConfig as n, ConnectedAccountListResponse as nn, TriggerStatusEnum as nt, ToolRouterConfigManageConnectionsSchema as o, ConnectedAccountRefreshOptionsSchema as on, TriggerSubscribeParams as ot, ToolRouterMCPServerConfig as p, CreateConnectedAccountLinkOptions as pn, TriggersTypeRetrieveResponse as pt, TriggerInstanceManageDeleteResponseSchema as q, ToolkitsListParamsSchema as qn, CreateAuthConfigResponseSchema as qt, MCPServerType as r, ConnectedAccountListResponseItem as rn, TriggerStatusType as rt, ToolRouterConfigTags as s, ConnectedAccountRetrieveResponse as sn, TriggerType as st, Composio$1 as t, ConnectedAccountListParamsSchema as tn, TriggerInstanceUpsertResponseSchema as tt, ToolRouterConfigToolsSchema as u, ConnectedAccountStatusEnum as un, TriggersTypeListParamsSchema as ut, ToolRouterTagsEnableDisableSchema as v, CreateConnectedAccountOptionsSchema as vn, WebhookPayloadSchema as vt, ToolRouterToolkitsOptionsSchema as w, ToolKitItem as wn, WebhookPayloadV3Schema as wt, ToolRouterToolkitsEnabledConfigSchema as x, CreateConnectedAccountResponse as xn, WebhookPayloadV2 as xt, ToolRouterTagsParamSchema as y, CreateConnectedAccountParams as yn, WebhookPayloadV1 as yt, TriggerEventData as z, ToolkitMangedByEnum as zn, AuthCustomConfigUpdateParamsSchema as zt };
6912
+ export { ToolRouterSessionFilesMountUploadOptions as $, ToolKitMetaSchema as $n, AuthConfigListParamsSchema as $t, ToolRouterToolkitsOptionsSchema as A, ConnectedAccountRefreshOptionsSchema as An, TriggerTypeSchema as At, RemoteFile as B, CreateConnectedAccountLinkResponseSchema as Bn, WebhookPayloadSchema as Bt, ToolRouterSessionSearchResponseSchema as C, ConnectedAccountAuthConfigSchema as Cn, InputParamsSchema as Cr, TriggerInstanceUpsertResponseSchema as Ct, ToolRouterToolkitsEnabledConfigSchema as D, ConnectedAccountListResponseItem as Dn, TriggerSubscribeParamSchema as Dt, ToolRouterToolkitsDisabledConfigSchema as E, ConnectedAccountListResponse as En, TriggerStatuses as Et, ToolkitConnectionState as F, ConnectedAccountStatusSchema as Fn, TriggersTypeRetrieveResponse as Ft, RemoteFileData as G, CreateConnectedAccountResponse as Gn, WebhookPayloadV3 as Gt, FileDeleteResponseSchema as H, CreateConnectedAccountOptionsSchema as Hn, WebhookPayloadV1Schema as Ht, ToolkitConnectionStateSchema as I, ConnectedAccountStatuses as In, VerifyWebhookParams as It, ToolRouterSessionFilesMountDeleteOptionsSchema as J, ToolKitItem as Jn, WebhookTriggerPayloadV3Schema as Jt, RemoteFileDataSchema as K, CreateConnectedAccountResponseSchema as Kn, WebhookPayloadV3Schema as Kt, ToolkitConnectionsDetails as L, CreateConnectedAccountLinkOptions as Ln, VerifyWebhookParamsSchema as Lt, ToolRouterToolsFn as M, ConnectedAccountRetrieveResponseSchema as Mn, TriggersTypeListParamsSchema as Mt, ToolRouterToolsParam as N, ConnectedAccountStatus as Nn, TriggersTypeListResponse as Nt, ToolRouterToolkitsFn as O, ConnectedAccountListResponseSchema as On, TriggerSubscribeParams as Ot, ToolRouterToolsParamSchema as P, ConnectedAccountStatusEnum as Pn, TriggersTypeListResponseSchema as Pt, ToolRouterSessionFilesMountListOptionsSchema as Q, ToolKitMeta as Qn, AuthConfigListParams as Qt, ToolkitConnectionsDetailsSchema as R, CreateConnectedAccountLinkOptionsSchema as Rn, VerifyWebhookResult as Rt, ToolRouterSessionSearchResponse as S, ConnectedAccountAuthConfig as Sn, ExecuteMetadata as Sr, TriggerInstanceUpsertResponse as St, ToolRouterTagsParamSchema as T, ConnectedAccountListParamsSchema as Tn, TriggerStatusType as Tt, FileListResponse as U, CreateConnectedAccountParams as Un, WebhookPayloadV2 as Ut, FileDeleteResponse as V, CreateConnectedAccountOptions as Vn, WebhookPayloadV1 as Vt, FileListResponseSchema as W, CreateConnectedAccountParamsSchema as Wn, WebhookPayloadV2Schema as Wt, ToolRouterSessionFilesMountDownloadOptionsSchema as X, ToolKitListResponse as Xn, WebhookVersions as Xt, ToolRouterSessionFilesMountDownloadOptions as Y, ToolKitItemSchema as Yn, WebhookVersion as Yt, ToolRouterSessionFilesMountListOptions as Z, ToolKitListResponseSchema as Zn, AuthConfigCreationToolAccessConfigSchema as Zt, ToolRouterManageConnectionsConfigSchema as _, CreateAuthConfigResponseSchema as _n, ToolkitsListParamsSchema as _r, TriggerInstanceManageUpdateParamsSchema as _t, Session as a, AuthConfigType as an, ToolkitAuthFieldsResponseSchema as ar, TriggerData as at, ToolRouterSessionExecuteResponseSchema as b, ConnectionRequest as bn, CustomToolRegistry as br, TriggerInstanceUpsertParams as bt, ToolRouterConfigManageConnectionsSchema as c, AuthConfigUpdateParamsSchema as cn, ToolkitListParams as cr, TriggerInstanceListActiveParams as ct, ToolRouterConfigTools as d, AuthSchemeEnum as dn, ToolkitRetrieveCategoriesResponse as dr, TriggerInstanceListActiveResponseItem as dt, AuthConfigListResponse as en, ToolkitAuthConfigDetails as er, ToolRouterSessionFilesMountUploadOptionsSchema as et, ToolRouterConfigToolsSchema as f, AuthSchemeType as fn, ToolkitRetrieveCategoriesResponseSchema as fr, TriggerInstanceListActiveResponseItemSchema as ft, ToolRouterMCPServerConfigSchema as g, CreateAuthConfigResponse as gn, ToolkitSortByEnumSchema as gr, TriggerInstanceManageUpdateParams as gt, ToolRouterMCPServerConfig as h, CreateAuthConfigParamsSchema as hn, ToolkitSortByEnum as hr, TriggerInstanceManageDeleteResponseSchema as ht, MCPServerTypeSchema as i, AuthConfigToolAccessConfigSchema as in, ToolkitAuthFieldsResponse as ir, IncomingTriggerPayloadSchema as it, ToolRouterToolkitsParamSchema as j, ConnectedAccountRetrieveResponse as jn, TriggersTypeListParams as jt, ToolRouterToolkitsOptions as k, ConnectedAccountRefreshOptions as kn, TriggerType as kt, ToolRouterConfigTags as l, AuthCustomConfigUpdateParamsSchema as ln, ToolkitMangedByEnum as lr, TriggerInstanceListActiveParamsSchema as lt, ToolRouterCreateSessionConfigSchema as m, CreateAuthConfigParams as mn, ToolkitRetrieveResponseSchema as mr, TriggerInstanceManageDeleteResponse as mt, ComposioConfig as n, AuthConfigRetrieveResponse as nn, ToolkitAuthField as nr, MCP as nt, SessionExperimental as o, AuthConfigTypes as on, ToolkitCategory as or, TriggerEvent as ot, ToolRouterCreateSessionConfig as p, AuthSchemeTypes as pn, ToolkitRetrieveResponse as pr, TriggerInstanceListActiveResponseSchema as pt, ToolRouterSessionFilesMountDeleteOptions as q, DefaultCreateConnectedAccountParamsSchema as qn, WebhookTriggerPayloadV3 as qt, MCPServerType as r, AuthConfigRetrieveResponseSchema as rn, ToolkitAuthFieldSchema as rr, IncomingTriggerPayload as rt, ToolRouterAuthorizeFn as s, AuthConfigUpdateParams as sn, ToolkitCategorySchema as sr, TriggerEventData as st, Composio$1 as t, AuthConfigListResponseSchema as tn, ToolkitAuthConfigDetailsSchema as tr, OpenAIProvider as tt, ToolRouterConfigTagsSchema as u, AuthDefaultConfigUpdateParamsSchema as un, ToolkitMangedByEnumSchema as ur, TriggerInstanceListActiveResponse as ut, ToolRouterSessionExecuteFn as v, CreateComposioManagedAuthConfigParamsSchema as vn, CustomToolInputParameter as vr, TriggerInstanceManageUpdateResponse as vt, ToolRouterTagsEnableDisableSchema as w, ConnectedAccountListParams as wn, TriggerStatusEnum as wt, ToolRouterSessionSearchFn as x, ConnectionRequestState as xn, CustomToolRegistryItem as xr, TriggerInstanceUpsertParamsSchema as xt, ToolRouterSessionExecuteResponse as y, CreateCustomAuthConfigParamsSchema as yn, CustomToolOptions as yr, TriggerInstanceManageUpdateResponseSchema as yt, ToolRouterSessionFilesMount as z, CreateConnectedAccountLinkResponse as zn, WebhookPayload as zt };