@composio/core 0.6.3-alpha.0 → 0.6.4

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 (349) hide show
  1. package/dist/{BaseProvider-KztT1fTW.d.mts → BaseProvider-B_7Qy99Q.d.mts} +1951 -65
  2. package/dist/{BaseProvider-B7yFqBhL.d.cts → BaseProvider-DF03HAz3.d.cts} +1951 -65
  3. package/dist/{Telemetry-Bn5VseVi.mjs → Telemetry-B3HlLpMT.mjs} +4 -7
  4. package/dist/{Telemetry-DErMJqj0.cjs → Telemetry-DBe2oppA.cjs} +4 -7
  5. package/dist/{composio-D2VJ9p-v.d.cts → composio-COyITeJf.d.cts} +137 -165
  6. package/dist/{composio-XQjM3MQQ.d.mts → composio-ClplAPbl.d.mts} +137 -165
  7. package/dist/index.cjs +287 -132
  8. package/dist/index.d.cts +4777 -3
  9. package/dist/index.d.mts +4777 -3
  10. package/dist/index.mjs +280 -133
  11. package/dist/models/Files.node.cjs +1 -1
  12. package/dist/models/Files.node.mjs +1 -1
  13. package/dist/{types-CBJRDqI3.d.mts → types-BO1Bf2Xz.d.mts} +2 -2
  14. package/dist/{types-Q-uLBUsT.d.cts → types-Bib0jIbg.d.cts} +2 -2
  15. package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
  16. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +3 -3
  17. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
  18. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +3 -3
  19. package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
  20. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  21. package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
  22. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  23. package/package.json +2 -2
  24. package/generated/ably.ts +0 -20
  25. package/generated/accelo.ts +0 -8
  26. package/generated/acculynx.ts +0 -17
  27. package/generated/active_campaign.ts +0 -30
  28. package/generated/adobe.ts +0 -8
  29. package/generated/adyntel.ts +0 -12
  30. package/generated/aero_workflow.ts +0 -8
  31. package/generated/affinity.ts +0 -29
  32. package/generated/agencyzoom.ts +0 -108
  33. package/generated/ahrefs.ts +0 -49
  34. package/generated/airtable.ts +0 -26
  35. package/generated/alchemy.ts +0 -16
  36. package/generated/algolia.ts +0 -39
  37. package/generated/altoviz.ts +0 -18
  38. package/generated/amazon.ts +0 -8
  39. package/generated/amcards.ts +0 -11
  40. package/generated/amplitude.ts +0 -25
  41. package/generated/anthropic_administrator.ts +0 -13
  42. package/generated/apaleo.ts +0 -38
  43. package/generated/apollo.ts +0 -40
  44. package/generated/appdrag.ts +0 -8
  45. package/generated/appsflyer.ts +0 -8
  46. package/generated/asana.ts +0 -95
  47. package/generated/ashby.ts +0 -8
  48. package/generated/atlassian.ts +0 -8
  49. package/generated/attio.ts +0 -20
  50. package/generated/auth0.ts +0 -8
  51. package/generated/axonaut.ts +0 -8
  52. package/generated/bamboohr.ts +0 -168
  53. package/generated/bannerbear.ts +0 -17
  54. package/generated/baserow.ts +0 -11
  55. package/generated/battlenet.ts +0 -8
  56. package/generated/beeminder.ts +0 -14
  57. package/generated/bigmailer.ts +0 -12
  58. package/generated/bigml.ts +0 -15
  59. package/generated/bill.ts +0 -218
  60. package/generated/bitbucket.ts +0 -25
  61. package/generated/bitwarden.ts +0 -8
  62. package/generated/blackbaud.ts +0 -8
  63. package/generated/blackboard.ts +0 -323
  64. package/generated/boldsign.ts +0 -8
  65. package/generated/bolna.ts +0 -24
  66. package/generated/borneo.ts +0 -162
  67. package/generated/botbaba.ts +0 -8
  68. package/generated/box.ts +0 -282
  69. package/generated/braintree.ts +0 -8
  70. package/generated/brandfetch.ts +0 -15
  71. package/generated/breezy_hr.ts +0 -8
  72. package/generated/brevo.ts +0 -28
  73. package/generated/brex.ts +0 -8
  74. package/generated/brex_staging.ts +0 -8
  75. package/generated/brightpearl.ts +0 -8
  76. package/generated/brilliant_directories.ts +0 -15
  77. package/generated/browseai.ts +0 -18
  78. package/generated/browserbase_tool.ts +0 -10
  79. package/generated/browserhub.ts +0 -8
  80. package/generated/browserless.ts +0 -16
  81. package/generated/bubble.ts +0 -8
  82. package/generated/bugbug.ts +0 -13
  83. package/generated/builtwith.ts +0 -21
  84. package/generated/cal.ts +0 -150
  85. package/generated/calendly.ts +0 -51
  86. package/generated/canva.ts +0 -41
  87. package/generated/canvas.ts +0 -100
  88. package/generated/chatwork.ts +0 -17
  89. package/generated/chmeetings.ts +0 -8
  90. package/generated/clickup.ts +0 -153
  91. package/generated/clockify.ts +0 -23
  92. package/generated/close.ts +0 -15
  93. package/generated/cloudflare.ts +0 -10
  94. package/generated/coda.ts +0 -115
  95. package/generated/codeinterpreter.ts +0 -14
  96. package/generated/coinbase.ts +0 -15
  97. package/generated/coinmarketcal.ts +0 -8
  98. package/generated/composio.ts +0 -34
  99. package/generated/composio_search.ts +0 -22
  100. package/generated/confluence.ts +0 -199
  101. package/generated/contentful.ts +0 -12
  102. package/generated/crustdata.ts +0 -23
  103. package/generated/customer_io.ts +0 -8
  104. package/generated/cutt_ly.ts +0 -10
  105. package/generated/d2lbrightspace.ts +0 -54
  106. package/generated/dailybot.ts +0 -15
  107. package/generated/datadog.ts +0 -47
  108. package/generated/datagma.ts +0 -8
  109. package/generated/datarobot.ts +0 -8
  110. package/generated/deel.ts +0 -8
  111. package/generated/demio.ts +0 -8
  112. package/generated/dialpad.ts +0 -201
  113. package/generated/digicert.ts +0 -15
  114. package/generated/discord.ts +0 -17
  115. package/generated/discordbot.ts +0 -173
  116. package/generated/docmosis.ts +0 -8
  117. package/generated/docusign.ts +0 -351
  118. package/generated/dropbox.ts +0 -20
  119. package/generated/dropbox_sign.ts +0 -8
  120. package/generated/dynamics365.ts +0 -25
  121. package/generated/echtpost.ts +0 -10
  122. package/generated/elevenlabs.ts +0 -70
  123. package/generated/emailoctopus.ts +0 -16
  124. package/generated/enigma.ts +0 -11
  125. package/generated/entelligence.ts +0 -11
  126. package/generated/epic_games.ts +0 -8
  127. package/generated/eventbrite.ts +0 -12
  128. package/generated/exa.ts +0 -13
  129. package/generated/excel.ts +0 -34
  130. package/generated/exist.ts +0 -8
  131. package/generated/facebook.ts +0 -8
  132. package/generated/factorial.ts +0 -8
  133. package/generated/figma.ts +0 -59
  134. package/generated/finage.ts +0 -19
  135. package/generated/firecrawl.ts +0 -16
  136. package/generated/fireflies.ts +0 -21
  137. package/generated/fitbit.ts +0 -8
  138. package/generated/flutterwave.ts +0 -33
  139. package/generated/fomo.ts +0 -10
  140. package/generated/formcarry.ts +0 -10
  141. package/generated/formsite.ts +0 -14
  142. package/generated/foursquare.ts +0 -14
  143. package/generated/freshbooks.ts +0 -11
  144. package/generated/freshdesk.ts +0 -16
  145. package/generated/front.ts +0 -8
  146. package/generated/github.ts +0 -967
  147. package/generated/gitlab.ts +0 -82
  148. package/generated/gmail.d.ts +0 -86
  149. package/generated/gmail.js +0 -13
  150. package/generated/gmail.ts +0 -95
  151. package/generated/go_to_webinar.ts +0 -8
  152. package/generated/gong.ts +0 -63
  153. package/generated/google_analytics.ts +0 -13
  154. package/generated/google_maps.ts +0 -16
  155. package/generated/googleads.ts +0 -14
  156. package/generated/googlebigquery.ts +0 -10
  157. package/generated/googlecalendar.ts +0 -39
  158. package/generated/googledocs.ts +0 -41
  159. package/generated/googledrive.ts +0 -62
  160. package/generated/googlemeet.ts +0 -18
  161. package/generated/googlephotos.ts +0 -22
  162. package/generated/googlesheets.ts +0 -40
  163. package/generated/googleslides.ts +0 -8
  164. package/generated/googlesuper.ts +0 -230
  165. package/generated/googletasks.ts +0 -23
  166. package/generated/gorgias.ts +0 -41
  167. package/generated/gumroad.ts +0 -14
  168. package/generated/guru.ts +0 -8
  169. package/generated/hackernews.ts +0 -15
  170. package/generated/hackerrank_work.ts +0 -8
  171. package/generated/harvest.ts +0 -56
  172. package/generated/helcim.ts +0 -8
  173. package/generated/heygen.ts +0 -44
  174. package/generated/highlevel.ts +0 -8
  175. package/generated/hubspot.ts +0 -252
  176. package/generated/humanloop.ts +0 -13
  177. package/generated/icims_talent_cloud.ts +0 -8
  178. package/generated/idea_scale.ts +0 -8
  179. package/generated/index.ts +0 -151
  180. package/generated/insighto_ai.ts +0 -19
  181. package/generated/intercom.ts +0 -52
  182. package/generated/interzoid.ts +0 -8
  183. package/generated/jira.ts +0 -59
  184. package/generated/jotform.ts +0 -15
  185. package/generated/junglescout.ts +0 -15
  186. package/generated/keap.ts +0 -8
  187. package/generated/kibana.ts +0 -58
  188. package/generated/kit.ts +0 -38
  189. package/generated/klaviyo.ts +0 -240
  190. package/generated/klipfolio.ts +0 -20
  191. package/generated/kommo.ts +0 -24
  192. package/generated/lastpass.ts +0 -8
  193. package/generated/launch_darkly.ts +0 -16
  194. package/generated/leadfeeder.ts +0 -13
  195. package/generated/leadoku.ts +0 -10
  196. package/generated/lever.ts +0 -8
  197. package/generated/lever_sandbox.ts +0 -8
  198. package/generated/lexoffice.ts +0 -8
  199. package/generated/linear.ts +0 -31
  200. package/generated/linkedin.ts +0 -13
  201. package/generated/linkhut.ts +0 -14
  202. package/generated/linkup.ts +0 -11
  203. package/generated/listennotes.ts +0 -35
  204. package/generated/lmnt.ts +0 -16
  205. package/generated/lodgify.ts +0 -10
  206. package/generated/mailchimp.ts +0 -285
  207. package/generated/mailerlite.ts +0 -8
  208. package/generated/maintainx.ts +0 -20
  209. package/generated/make.ts +0 -12
  210. package/generated/mboum.ts +0 -8
  211. package/generated/mem0.ts +0 -52
  212. package/generated/metaads.ts +0 -25
  213. package/generated/metatextai.ts +0 -8
  214. package/generated/microsoft_clarity.ts +0 -10
  215. package/generated/microsoft_teams.ts +0 -22
  216. package/generated/microsoft_tenant.ts +0 -8
  217. package/generated/miro.ts +0 -23
  218. package/generated/mixpanel.ts +0 -30
  219. package/generated/mocean.ts +0 -8
  220. package/generated/monday.ts +0 -30
  221. package/generated/mopinion.ts +0 -8
  222. package/generated/more_trees.ts +0 -10
  223. package/generated/moxie.ts +0 -8
  224. package/generated/moz.ts +0 -8
  225. package/generated/mural.ts +0 -14
  226. package/generated/nasdaq.ts +0 -15
  227. package/generated/ncscale.ts +0 -8
  228. package/generated/neon.ts +0 -78
  229. package/generated/netsuite.ts +0 -8
  230. package/generated/nextdns.ts +0 -11
  231. package/generated/ngrok.ts +0 -18
  232. package/generated/notion.ts +0 -40
  233. package/generated/oncehub.ts +0 -8
  234. package/generated/one_drive.ts +0 -49
  235. package/generated/onepage.ts +0 -11
  236. package/generated/open_sea.ts +0 -33
  237. package/generated/outlook.ts +0 -37
  238. package/generated/pagerduty.ts +0 -362
  239. package/generated/pandadoc.ts +0 -23
  240. package/generated/peopledatalabs.ts +0 -24
  241. package/generated/perplexityai.ts +0 -10
  242. package/generated/piggy.ts +0 -8
  243. package/generated/pipedrive.ts +0 -288
  244. package/generated/placekey.ts +0 -12
  245. package/generated/posthog.ts +0 -367
  246. package/generated/precoro.ts +0 -8
  247. package/generated/printnode.ts +0 -8
  248. package/generated/process_street.ts +0 -14
  249. package/generated/productboard.ts +0 -8
  250. package/generated/qualaroo.ts +0 -8
  251. package/generated/quickbooks.ts +0 -22
  252. package/generated/rafflys.ts +0 -8
  253. package/generated/ragic.ts +0 -10
  254. package/generated/ramp.ts +0 -17
  255. package/generated/ravenseotools.ts +0 -8
  256. package/generated/recallai.ts +0 -17
  257. package/generated/reddit.ts +0 -19
  258. package/generated/resend.ts +0 -27
  259. package/generated/retellai.ts +0 -19
  260. package/generated/retently.ts +0 -24
  261. package/generated/ring_central.ts +0 -8
  262. package/generated/rippling.ts +0 -8
  263. package/generated/rocket_reach.ts +0 -8
  264. package/generated/rocketlane.ts +0 -42
  265. package/generated/rootly.ts +0 -12
  266. package/generated/rosette_text_analytics.ts +0 -12
  267. package/generated/sage.ts +0 -8
  268. package/generated/salesforce.ts +0 -46
  269. package/generated/scrape_do.ts +0 -28
  270. package/generated/scrapingant.ts +0 -14
  271. package/generated/screenshotone.ts +0 -10
  272. package/generated/seismic.ts +0 -8
  273. package/generated/semanticscholar.ts +0 -23
  274. package/generated/semrush.ts +0 -45
  275. package/generated/sendgrid.ts +0 -384
  276. package/generated/sentry.ts +0 -185
  277. package/generated/serpapi.ts +0 -32
  278. package/generated/servicem8.ts +0 -37
  279. package/generated/servicenow.ts +0 -14
  280. package/generated/share_point.ts +0 -15
  281. package/generated/shopify.ts +0 -37
  282. package/generated/shortcut.ts +0 -131
  283. package/generated/simplesat.ts +0 -11
  284. package/generated/slack.d.ts +0 -16
  285. package/generated/slack.js +0 -11
  286. package/generated/slack.ts +0 -24
  287. package/generated/slackbot.ts +0 -205
  288. package/generated/smartrecruiters.ts +0 -8
  289. package/generated/smugmug.ts +0 -14
  290. package/generated/snowflake.ts +0 -15
  291. package/generated/sourcegraph.ts +0 -16
  292. package/generated/square.ts +0 -8
  293. package/generated/stack_exchange.ts +0 -17
  294. package/generated/starton.ts +0 -11
  295. package/generated/storeganise.ts +0 -12
  296. package/generated/stripe.ts +0 -50
  297. package/generated/supabase.ts +0 -86
  298. package/generated/survey_monkey.ts +0 -8
  299. package/generated/tally.ts +0 -25
  300. package/generated/tapfiliate.ts +0 -11
  301. package/generated/tapform.ts +0 -8
  302. package/generated/tavily.ts +0 -10
  303. package/generated/terminus.ts +0 -8
  304. package/generated/text_to_pdf.ts +0 -10
  305. package/generated/textrazor.ts +0 -22
  306. package/generated/timecamp.ts +0 -10
  307. package/generated/timekit.ts +0 -8
  308. package/generated/timely.ts +0 -11
  309. package/generated/tinypng.ts +0 -15
  310. package/generated/tinyurl.ts +0 -10
  311. package/generated/tisane.ts +0 -15
  312. package/generated/todoist.ts +0 -19
  313. package/generated/toneden.ts +0 -8
  314. package/generated/tpscheck.ts +0 -10
  315. package/generated/trello.ts +0 -360
  316. package/generated/twitch.ts +0 -8
  317. package/generated/twitter.ts +0 -82
  318. package/generated/twitter_media.ts +0 -10
  319. package/generated/typefully.ts +0 -14
  320. package/generated/venly.ts +0 -8
  321. package/generated/vero.ts +0 -8
  322. package/generated/visme.ts +0 -8
  323. package/generated/waboxapp.ts +0 -8
  324. package/generated/wakatime.ts +0 -8
  325. package/generated/wave_accounting.ts +0 -8
  326. package/generated/weathermap.ts +0 -10
  327. package/generated/webex.ts +0 -37
  328. package/generated/webflow.ts +0 -30
  329. package/generated/whatsapp.ts +0 -14
  330. package/generated/wiz.ts +0 -8
  331. package/generated/workiom.ts +0 -12
  332. package/generated/wrike.ts +0 -47
  333. package/generated/xero.ts +0 -13
  334. package/generated/yandex.ts +0 -13
  335. package/generated/ynab.ts +0 -8
  336. package/generated/yousearch.ts +0 -10
  337. package/generated/youtube.ts +0 -26
  338. package/generated/zendesk.ts +0 -23
  339. package/generated/zenrows.ts +0 -25
  340. package/generated/zenserp.ts +0 -20
  341. package/generated/zoho.ts +0 -33
  342. package/generated/zoho_bigin.ts +0 -21
  343. package/generated/zoho_books.ts +0 -8
  344. package/generated/zoho_desk.ts +0 -8
  345. package/generated/zoho_inventory.ts +0 -8
  346. package/generated/zoho_invoice.ts +0 -15
  347. package/generated/zoho_mail.ts +0 -8
  348. package/generated/zoom.ts +0 -181
  349. package/generated/zoominfo.ts +0 -26
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as McpUpdateResponse, $t as SessionExecuteMetaModifiers, A as MCPServer, An as ToolkitLatestVersionSchema, At as Oauth1InitiatedConnectionData, B as MCPToolkitConfig, Bt as Oauth2FailedConnectionData, C as MCPGenerateURLParams, Cn as ToolListResponseSchema, Ct as Oauth1ConnectionDataSchema, D as MCPInstanceParams, Dn as ToolSchema, Dt as Oauth1FailedConnectionDataSchema, E as MCPGetServerParamsSchema, En as ToolRetrievalOptions, Et as Oauth1FailedConnectionData, F as MCPServerSchema, Fn as ToolkitVersionSchema, Ft as Oauth2ActiveConnectionDataSchema, G as McpListResponse, Gt as Oauth2InitiatedConnectionDataSchema, H as MCPToolkitConfigsArraySchema, Ht as Oauth2InactiveConnectionData, I as MCPServerUpdateParams, In as ToolkitVersions, It as Oauth2ConnectionData, J as McpRetrieveResponseSchema, Jt as RedirectableAuthSchemeSchema, K as McpListResponseSchema, Kt as Oauth2InitiatingConnectionData, L as MCPServerUpdateParamsSchema, Ln as ToolkitVersionsSchema, Lt as Oauth2ConnectionDataSchema, M as MCPServerCreateResponseSchema, Mn as ToolkitVersion, Mt as Oauth1InitiatingConnectionData, N as MCPServerListResponse, Nn as ToolkitVersionParam, Nt as Oauth1InitiatingConnectionDataSchema, O as MCPMultiAppServer, On as Toolkit, Ot as Oauth1InactiveConnectionData, P as MCPServerListResponseSchema, Pn as ToolkitVersionParamSchema, Pt as Oauth2ActiveConnectionData, Q as McpToolkitConnectionStatus, Qt as ProviderOptions, R as MCPSingleAppServer, Rt as Oauth2ExpiredConnectionData, S as MCPCreateMethodResponse, Sn as ToolListResponse, St as Oauth1ConnectionData, T as MCPGetServerParams, Tn as ToolProxyParamsSchema, Tt as Oauth1ExpiredConnectionDataSchema, U as McpDeleteResponse, Ut as Oauth2InactiveConnectionDataSchema, V as MCPToolkitConfigSchema, Vt as Oauth2FailedConnectionDataSchema, W as McpDeleteResponseSchema, Wt as Oauth2InitiatedConnectionData, X as McpServerGetResponse, Xt as ExecuteToolModifiers, Y as McpServerCreateResponse, Yt as AgenticToolOptions, Z as McpServerUrlInfo, Zt as MetaToolArguments, _ as GenerateURLResponse, _n as ToolExecuteResponse, _t as CustomOauth1ConnectionDataSchema, a as ComposioGenerateURLParamsSchema, an as beforeExecuteMetaModifier, at as ExecuteToolFnOptions, b as MCPAuthOptions, bn as ToolListParams, bt as Oauth1ActiveConnectionData, c as ComposioMcpListResponseSchema, cn as CustomAuthParamsSchema, ct as BaseConnectionFields, d as ConnectionStatus, dn as SchemaModifierOptions, dt as ConnectionDataSchema, en as SessionMetaToolOptions, et as McpUpdateResponseSchema, f as CustomCreateResponse, fn as Tool, ft as ConnectionStatusEnum, g as GenerateURLParamsSchema, gn as ToolExecuteParamsSchema, gt as CustomOauth1ConnectionData, h as GenerateURLParams, hn as ToolExecuteParams, ht as CustomConnectionDataSchema, i as ComposioCustomCreateResponseSchema, in as afterExecuteModifier, it as ExecuteToolFn, j as MCPServerCreateResponse, jn as ToolkitSchema, jt as Oauth1InitiatedConnectionDataSchema, k as MCPMultiAppServerSchema, kn as ToolkitLatestVersion, kt as Oauth1InactiveConnectionDataSchema, l as ComposioMcpRetrieveResponseSchema, ln as JSONSchemaProperty, lt as BillcomAuthConnectionDataSchema, m as CustomCreateResponseValidated, mn as ToolExecuteMetaParamsSchema, mt as CustomConnectionData, n as BaseComposioProvider, nn as TransformToolSchemaModifier, nt as McpUrlResponseCamelCase, o as ComposioGenerateURLResponseSchema, on as beforeExecuteModifier, ot as GlobalExecuteToolFn, p as CustomCreateResponseSchema, pn as ToolExecuteMetaParams, pt as ConnectionStatuses, q as McpRetrieveResponse, qt as Oauth2InitiatingConnectionDataSchema, r as BaseNonAgenticProvider, rn as afterExecuteMetaModifier, rt as McpUserConnectionStatus, s as ComposioMcpDeleteResponseSchema, sn as CustomAuthParams, st as Provider, t as BaseAgenticProvider, tn as ToolOptions, tt as McpUrlResponse, u as ComposioMcpUpdateResponseSchema, un as JSONSchemaPropertySchema, ut as ConnectionData, v as GenerateURLResponseSchema, vn as ToolExecuteResponseSchema, vt as CustomOauth2ConnectionData, w as MCPGenerateURLParamsSchema, wn as ToolProxyParams, wt as Oauth1ExpiredConnectionData, x as MCPAuthOptionsSchema, xn as ToolListParamsSchema, xt as Oauth1ActiveConnectionDataSchema, y as GenerateURLResponseValidated, yn as ToolList, yt as CustomOauth2ConnectionDataSchema, z as MCPSingleAppServerSchema, zt as Oauth2ExpiredConnectionDataSchema } from "./BaseProvider-KztT1fTW.mjs";
2
- import { $ as TriggerInstanceUpsertParamsSchema, $n as InputParamsSchema, $t as ConnectedAccountAuthConfigSchema, A as ToolkitConnectionStateSchema, An as ToolkitAuthConfigDetails, At as AuthConfigListResponse, B as TriggerInstanceListActiveParams, Bn as ToolkitMangedByEnumSchema, Bt as AuthDefaultConfigUpdateParamsSchema, C as ToolRouterToolkitsOptions, Cn as DefaultCreateConnectedAccountParamsSchema, Ct as WebhookPayloadV3, D as ToolRouterToolsParam, Dn as ToolKitListResponseSchema, Dt as AuthConfigCreationToolAccessConfigSchema, E as ToolRouterToolsFn, En as ToolKitListResponse, Et as WebhookVersions, F as IncomingTriggerPayload, Fn as ToolkitAuthFieldsResponseSchema, Ft as AuthConfigType, G as TriggerInstanceListActiveResponseSchema, Gn as ToolkitSortByEnum, Gt as CreateAuthConfigParamsSchema, H as TriggerInstanceListActiveResponse, Hn as ToolkitRetrieveCategoriesResponseSchema, Ht as AuthSchemeType, I as IncomingTriggerPayloadSchema, In as ToolkitCategory, It as AuthConfigTypes, J as TriggerInstanceManageUpdateParams, Jn as CustomToolInputParameter, Jt as CreateComposioManagedAuthConfigParamsSchema, K as TriggerInstanceManageDeleteResponse, Kn as ToolkitSortByEnumSchema, Kt as CreateAuthConfigResponse, L as TriggerData, Ln as ToolkitCategorySchema, Lt as AuthConfigUpdateParams, M as ToolkitConnectionsDetailsSchema, Mn as ToolkitAuthField, Mt as AuthConfigRetrieveResponse, N as OpenAIProvider, Nn as ToolkitAuthFieldSchema, Nt as AuthConfigRetrieveResponseSchema, O as ToolRouterToolsParamSchema, On as ToolKitMeta, Ot as AuthConfigListParams, P as MCP, Pn as ToolkitAuthFieldsResponse, Pt as AuthConfigToolAccessConfigSchema, Q as TriggerInstanceUpsertParams, Qn as ExecuteMetadata, Qt as ConnectedAccountAuthConfig, R as TriggerEvent, Rn as ToolkitListParams, Rt as AuthConfigUpdateParamsSchema, S as ToolRouterToolkitsFn, Sn as CreateConnectedAccountResponseSchema, St as WebhookPayloadV2Schema, T as ToolRouterToolkitsParamSchema, Tn as ToolKitItemSchema, Tt as WebhookVersion, U as TriggerInstanceListActiveResponseItem, Un as ToolkitRetrieveResponse, Ut as AuthSchemeTypes, V as TriggerInstanceListActiveParamsSchema, Vn as ToolkitRetrieveCategoriesResponse, Vt as AuthSchemeEnum, W as TriggerInstanceListActiveResponseItemSchema, Wn as ToolkitRetrieveResponseSchema, Wt as CreateAuthConfigParams, X as TriggerInstanceManageUpdateResponse, Xn as CustomToolRegistry, Xt as ConnectionRequest, Y as TriggerInstanceManageUpdateParamsSchema, Yn as CustomToolOptions, Yt as CreateCustomAuthConfigParamsSchema, Z as TriggerInstanceManageUpdateResponseSchema, Zn as CustomToolRegistryItem, Zt as ConnectionRequestState, _ as ToolRouterSessionExperimental, _n as CreateConnectedAccountOptions, _t as WebhookPayload, a as ToolRouterAuthorizeFn, an as ConnectedAccountRefreshOptions, at as TriggerSubscribeParamSchema, b as ToolRouterToolkitsDisabledConfigSchema, bn as CreateConnectedAccountParamsSchema, bt as WebhookPayloadV1Schema, c as ToolRouterConfigTagsSchema, cn as ConnectedAccountRetrieveResponseSchema, ct as TriggerTypeSchema, d as ToolRouterCreateSessionConfig, dn as ConnectedAccountStatusSchema, dt as TriggersTypeListResponse, en as ConnectedAccountListParams, et as TriggerInstanceUpsertResponse, f as ToolRouterCreateSessionConfigSchema, fn as ConnectedAccountStatuses, ft as TriggersTypeListResponseSchema, g as ToolRouterSession, gn as CreateConnectedAccountLinkResponseSchema, gt as VerifyWebhookResult, h as ToolRouterManageConnectionsConfigSchema, hn as CreateConnectedAccountLinkResponse, ht as VerifyWebhookParamsSchema, i as MCPServerTypeSchema, in as ConnectedAccountListResponseSchema, it as TriggerStatuses, j as ToolkitConnectionsDetails, jn as ToolkitAuthConfigDetailsSchema, jt as AuthConfigListResponseSchema, k as ToolkitConnectionState, kn as ToolKitMetaSchema, kt as AuthConfigListParamsSchema, l as ToolRouterConfigTools, ln as ConnectedAccountStatus, lt as TriggersTypeListParams, m as ToolRouterMCPServerConfigSchema, mn as CreateConnectedAccountLinkOptionsSchema, mt as VerifyWebhookParams, nn as ConnectedAccountListResponse, nt as TriggerStatusEnum, o as ToolRouterConfigManageConnectionsSchema, on as ConnectedAccountRefreshOptionsSchema, ot as TriggerSubscribeParams, p as ToolRouterMCPServerConfig, pn as CreateConnectedAccountLinkOptions, pt as TriggersTypeRetrieveResponse, q as TriggerInstanceManageDeleteResponseSchema, qn as ToolkitsListParamsSchema, qt as CreateAuthConfigResponseSchema, r as MCPServerType, rn as ConnectedAccountListResponseItem, rt as TriggerStatusType, s as ToolRouterConfigTags, sn as ConnectedAccountRetrieveResponse, st as TriggerType, t as Composio, tn as ConnectedAccountListParamsSchema, tt as TriggerInstanceUpsertResponseSchema, u as ToolRouterConfigToolsSchema, un as ConnectedAccountStatusEnum, ut as TriggersTypeListParamsSchema, v as ToolRouterTagsEnableDisableSchema, vn as CreateConnectedAccountOptionsSchema, vt as WebhookPayloadSchema, w as ToolRouterToolkitsOptionsSchema, wn as ToolKitItem, wt as WebhookPayloadV3Schema, x as ToolRouterToolkitsEnabledConfigSchema, xn as CreateConnectedAccountResponse, xt as WebhookPayloadV2, y as ToolRouterTagsParamSchema, yn as CreateConnectedAccountParams, yt as WebhookPayloadV1, z as TriggerEventData, zn as ToolkitMangedByEnum, zt as AuthCustomConfigUpdateParamsSchema } from "./composio-XQjM3MQQ.mjs";
1
+ import { $ as McpUpdateResponse, $t as SessionExecuteMetaModifiers, A as MCPServer, An as ToolkitLatestVersionSchema, At as Oauth1InitiatedConnectionData, B as MCPToolkitConfig, Bt as Oauth2FailedConnectionData, C as MCPGenerateURLParams, Cn as ToolListResponseSchema, Ct as Oauth1ConnectionDataSchema, D as MCPInstanceParams, Dn as ToolSchema, Dt as Oauth1FailedConnectionDataSchema, E as MCPGetServerParamsSchema, En as ToolRetrievalOptions, Et as Oauth1FailedConnectionData, F as MCPServerSchema, Fn as ToolkitVersionSchema, Ft as Oauth2ActiveConnectionDataSchema, G as McpListResponse, Gt as Oauth2InitiatedConnectionDataSchema, H as MCPToolkitConfigsArraySchema, Ht as Oauth2InactiveConnectionData, I as MCPServerUpdateParams, In as ToolkitVersions, It as Oauth2ConnectionData, J as McpRetrieveResponseSchema, Jt as RedirectableAuthSchemeSchema, K as McpListResponseSchema, Kt as Oauth2InitiatingConnectionData, L as MCPServerUpdateParamsSchema, Ln as ToolkitVersionsSchema, Lt as Oauth2ConnectionDataSchema, M as MCPServerCreateResponseSchema, Mn as ToolkitVersion, Mt as Oauth1InitiatingConnectionData, N as MCPServerListResponse, Nn as ToolkitVersionParam, Nt as Oauth1InitiatingConnectionDataSchema, O as MCPMultiAppServer, On as Toolkit, Ot as Oauth1InactiveConnectionData, P as MCPServerListResponseSchema, Pn as ToolkitVersionParamSchema, Pt as Oauth2ActiveConnectionData, Q as McpToolkitConnectionStatus, Qt as ProviderOptions, R as MCPSingleAppServer, Rt as Oauth2ExpiredConnectionData, S as MCPCreateMethodResponse, Sn as ToolListResponse, St as Oauth1ConnectionData, T as MCPGetServerParams, Tn as ToolProxyParamsSchema, Tt as Oauth1ExpiredConnectionDataSchema, U as McpDeleteResponse, Ut as Oauth2InactiveConnectionDataSchema, V as MCPToolkitConfigSchema, Vt as Oauth2FailedConnectionDataSchema, W as McpDeleteResponseSchema, Wt as Oauth2InitiatedConnectionData, X as McpServerGetResponse, Xt as ExecuteToolModifiers, Y as McpServerCreateResponse, Yt as AgenticToolOptions, Z as McpServerUrlInfo, Zt as MetaToolArguments, _ as GenerateURLResponse, _n as ToolExecuteResponse, _t as CustomOauth1ConnectionDataSchema, a as ComposioGenerateURLParamsSchema, an as beforeExecuteMetaModifier, at as ExecuteToolFnOptions, b as MCPAuthOptions, bn as ToolListParams, bt as Oauth1ActiveConnectionData, c as ComposioMcpListResponseSchema, cn as CustomAuthParamsSchema, ct as BaseConnectionFields, d as ConnectionStatus, dn as SchemaModifierOptions, dt as ConnectionDataSchema, en as SessionMetaToolOptions, et as McpUpdateResponseSchema, f as CustomCreateResponse, fn as Tool, ft as ConnectionStatusEnum, g as GenerateURLParamsSchema, gn as ToolExecuteParamsSchema, gt as CustomOauth1ConnectionData, h as GenerateURLParams, hn as ToolExecuteParams, ht as CustomConnectionDataSchema, i as ComposioCustomCreateResponseSchema, in as afterExecuteModifier, it as ExecuteToolFn, j as MCPServerCreateResponse, jn as ToolkitSchema, jt as Oauth1InitiatedConnectionDataSchema, k as MCPMultiAppServerSchema, kn as ToolkitLatestVersion, kt as Oauth1InactiveConnectionDataSchema, l as ComposioMcpRetrieveResponseSchema, ln as JSONSchemaProperty, lt as BillcomAuthConnectionDataSchema, m as CustomCreateResponseValidated, mn as ToolExecuteMetaParamsSchema, mt as CustomConnectionData, n as BaseComposioProvider, nn as TransformToolSchemaModifier, nt as McpUrlResponseCamelCase, o as ComposioGenerateURLResponseSchema, on as beforeExecuteModifier, ot as GlobalExecuteToolFn, p as CustomCreateResponseSchema, pn as ToolExecuteMetaParams, pt as ConnectionStatuses, q as McpRetrieveResponse, qt as Oauth2InitiatingConnectionDataSchema, r as BaseNonAgenticProvider, rn as afterExecuteMetaModifier, rt as McpUserConnectionStatus, s as ComposioMcpDeleteResponseSchema, sn as CustomAuthParams, st as Provider, t as BaseAgenticProvider, tn as ToolOptions, tt as McpUrlResponse, u as ComposioMcpUpdateResponseSchema, un as JSONSchemaPropertySchema, ut as ConnectionData, v as GenerateURLResponseSchema, vn as ToolExecuteResponseSchema, vt as CustomOauth2ConnectionData, w as MCPGenerateURLParamsSchema, wn as ToolProxyParams, wt as Oauth1ExpiredConnectionData, x as MCPAuthOptionsSchema, xn as ToolListParamsSchema, xt as Oauth1ActiveConnectionDataSchema, y as GenerateURLResponseValidated, yn as ToolList, yt as CustomOauth2ConnectionDataSchema, z as MCPSingleAppServerSchema, zt as Oauth2ExpiredConnectionDataSchema } from "./BaseProvider-B_7Qy99Q.mjs";
2
+ import { $ as TriggerInstanceUpsertParamsSchema, $n as CustomToolRegistryItem, $t as ConnectionRequestState, A as ToolkitConnectionStateSchema, An as ToolKitMeta, At as AuthConfigListParams, B as TriggerInstanceListActiveParams, Bn as ToolkitListParams, Bt as AuthConfigUpdateParamsSchema, C as ToolRouterToolkitsOptions, Cn as CreateConnectedAccountResponse, Ct as WebhookPayloadV3, D as ToolRouterToolsParam, Dn as ToolKitItemSchema, Dt as WebhookVersion, E as ToolRouterToolsFn, En as ToolKitItem, Et as WebhookTriggerPayloadV3Schema, F as IncomingTriggerPayload, Fn as ToolkitAuthFieldSchema, Ft as AuthConfigRetrieveResponseSchema, G as TriggerInstanceListActiveResponseSchema, Gn as ToolkitRetrieveResponse, Gt as AuthSchemeTypes, H as TriggerInstanceListActiveResponse, Hn as ToolkitMangedByEnumSchema, Ht as AuthDefaultConfigUpdateParamsSchema, I as IncomingTriggerPayloadSchema, In as ToolkitAuthFieldsResponse, It as AuthConfigToolAccessConfigSchema, J as TriggerInstanceManageUpdateParams, Jn as ToolkitSortByEnumSchema, Jt as CreateAuthConfigResponse, K as TriggerInstanceManageDeleteResponse, Kn as ToolkitRetrieveResponseSchema, Kt as CreateAuthConfigParams, L as TriggerData, Ln as ToolkitAuthFieldsResponseSchema, Lt as AuthConfigType, M as ToolkitConnectionsDetailsSchema, Mn as ToolkitAuthConfigDetails, Mt as AuthConfigListResponse, N as OpenAIProvider, Nn as ToolkitAuthConfigDetailsSchema, Nt as AuthConfigListResponseSchema, O as ToolRouterToolsParamSchema, On as ToolKitListResponse, Ot as WebhookVersions, P as MCP, Pn as ToolkitAuthField, Pt as AuthConfigRetrieveResponse, Q as TriggerInstanceUpsertParams, Qn as CustomToolRegistry, Qt as ConnectionRequest, R as TriggerEvent, Rn as ToolkitCategory, Rt as AuthConfigTypes, S as ToolRouterToolkitsFn, Sn as CreateConnectedAccountParamsSchema, St as WebhookPayloadV2Schema, T as ToolRouterToolkitsParamSchema, Tn as DefaultCreateConnectedAccountParamsSchema, Tt as WebhookTriggerPayloadV3, U as TriggerInstanceListActiveResponseItem, Un as ToolkitRetrieveCategoriesResponse, Ut as AuthSchemeEnum, V as TriggerInstanceListActiveParamsSchema, Vn as ToolkitMangedByEnum, Vt as AuthCustomConfigUpdateParamsSchema, W as TriggerInstanceListActiveResponseItemSchema, Wn as ToolkitRetrieveCategoriesResponseSchema, Wt as AuthSchemeType, X as TriggerInstanceManageUpdateResponse, Xn as CustomToolInputParameter, Xt as CreateComposioManagedAuthConfigParamsSchema, Y as TriggerInstanceManageUpdateParamsSchema, Yn as ToolkitsListParamsSchema, Yt as CreateAuthConfigResponseSchema, Z as TriggerInstanceManageUpdateResponseSchema, Zn as CustomToolOptions, Zt as CreateCustomAuthConfigParamsSchema, _ as ToolRouterSessionExperimental, _n as CreateConnectedAccountLinkResponse, _t as WebhookPayload, a as ToolRouterAuthorizeFn, an as ConnectedAccountListResponseItem, at as TriggerSubscribeParamSchema, b as ToolRouterToolkitsDisabledConfigSchema, bn as CreateConnectedAccountOptionsSchema, bt as WebhookPayloadV1Schema, c as ToolRouterConfigTagsSchema, cn as ConnectedAccountRefreshOptionsSchema, ct as TriggerTypeSchema, d as ToolRouterCreateSessionConfig, dn as ConnectedAccountStatus, dt as TriggersTypeListResponse, en as ConnectedAccountAuthConfig, er as ExecuteMetadata, et as TriggerInstanceUpsertResponse, f as ToolRouterCreateSessionConfigSchema, fn as ConnectedAccountStatusEnum, ft as TriggersTypeListResponseSchema, g as ToolRouterSession, gn as CreateConnectedAccountLinkOptionsSchema, gt as VerifyWebhookResult, h as ToolRouterManageConnectionsConfigSchema, hn as CreateConnectedAccountLinkOptions, ht as VerifyWebhookParamsSchema, i as MCPServerTypeSchema, in as ConnectedAccountListResponse, it as TriggerStatuses, j as ToolkitConnectionsDetails, jn as ToolKitMetaSchema, jt as AuthConfigListParamsSchema, k as ToolkitConnectionState, kn as ToolKitListResponseSchema, kt as AuthConfigCreationToolAccessConfigSchema, l as ToolRouterConfigTools, ln as ConnectedAccountRetrieveResponse, lt as TriggersTypeListParams, m as ToolRouterMCPServerConfigSchema, mn as ConnectedAccountStatuses, mt as VerifyWebhookParams, nn as ConnectedAccountListParams, nt as TriggerStatusEnum, o as ToolRouterConfigManageConnectionsSchema, on as ConnectedAccountListResponseSchema, ot as TriggerSubscribeParams, p as ToolRouterMCPServerConfig, pn as ConnectedAccountStatusSchema, pt as TriggersTypeRetrieveResponse, q as TriggerInstanceManageDeleteResponseSchema, qn as ToolkitSortByEnum, qt as CreateAuthConfigParamsSchema, r as MCPServerType, rn as ConnectedAccountListParamsSchema, rt as TriggerStatusType, s as ToolRouterConfigTags, sn as ConnectedAccountRefreshOptions, st as TriggerType, t as Composio, tn as ConnectedAccountAuthConfigSchema, tr as InputParamsSchema, tt as TriggerInstanceUpsertResponseSchema, u as ToolRouterConfigToolsSchema, un as ConnectedAccountRetrieveResponseSchema, ut as TriggersTypeListParamsSchema, v as ToolRouterTagsEnableDisableSchema, vn as CreateConnectedAccountLinkResponseSchema, vt as WebhookPayloadSchema, w as ToolRouterToolkitsOptionsSchema, wn as CreateConnectedAccountResponseSchema, wt as WebhookPayloadV3Schema, x as ToolRouterToolkitsEnabledConfigSchema, xn as CreateConnectedAccountParams, xt as WebhookPayloadV2, y as ToolRouterTagsParamSchema, yn as CreateConnectedAccountOptions, yt as WebhookPayloadV1, z as TriggerEventData, zn as ToolkitCategorySchema, zt as AuthConfigUpdateParams } from "./composio-ClplAPbl.mjs";
3
3
  import { n as FileUploadData, t as FileDownloadData } from "./files.types-BDqIUdfP.mjs";
4
4
  import ComposioClient from "@composio/client";
5
5
  import { z as z$1 } from "zod/v3";
@@ -197,6 +197,4780 @@ declare class AuthScheme {
197
197
  * Connection request object with state and methods
198
198
  */
199
199
  declare function createConnectionRequest(client: ComposioClient, connectedAccountId: string, status?: ConnectedAccountStatus, redirectUrl?: string | null): ConnectionRequest;
200
+ //#endregion
201
+ //#region src/types/webhookEvents.types.d.ts
202
+ declare const WebhookEventTypes: {
203
+ readonly CONNECTION_EXPIRED: "composio.connected_account.expired";
204
+ readonly TRIGGER_MESSAGE: "composio.trigger.message";
205
+ };
206
+ type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventTypes];
207
+ /**
208
+ * Auth config schema for webhook payloads (raw API format, snake_case).
209
+ *
210
+ * This intentionally does NOT reuse ConnectedAccountAuthConfigSchema from
211
+ * connectedAccounts.types.ts because:
212
+ * - Webhook payloads arrive in raw snake_case (is_composio_managed, is_disabled)
213
+ * while the SDK schema uses camelCase (isComposioManaged, isDisabled)
214
+ * - Webhook payloads include additional fields (auth_scheme, deprecated)
215
+ * not present in the SDK schema
216
+ *
217
+ * Uses .passthrough() to accept unknown fields the API may add in the future.
218
+ *
219
+ * @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
220
+ */
221
+ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
222
+ /** The nano ID of the auth config */
223
+ id: z$1.ZodString;
224
+ /** @deprecated - use state.authScheme instead */
225
+ auth_scheme: z$1.ZodNativeEnum<{
226
+ readonly OAUTH1: "OAUTH1";
227
+ readonly OAUTH2: "OAUTH2";
228
+ readonly API_KEY: "API_KEY";
229
+ readonly BASIC: "BASIC";
230
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
231
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
232
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
233
+ readonly NO_AUTH: "NO_AUTH";
234
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
235
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
236
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
237
+ readonly SAML: "SAML";
238
+ readonly DCR_OAUTH: "DCR_OAUTH";
239
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
240
+ }>;
241
+ /** Whether this auth config is managed by Composio */
242
+ is_composio_managed: z$1.ZodBoolean;
243
+ /** Whether the auth config is disabled */
244
+ is_disabled: z$1.ZodBoolean;
245
+ /** @deprecated */
246
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
247
+ uuid: z$1.ZodString;
248
+ }, "strip", z$1.ZodTypeAny, {
249
+ uuid: string;
250
+ }, {
251
+ uuid: string;
252
+ }>>;
253
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
254
+ /** The nano ID of the auth config */
255
+ id: z$1.ZodString;
256
+ /** @deprecated - use state.authScheme instead */
257
+ auth_scheme: z$1.ZodNativeEnum<{
258
+ readonly OAUTH1: "OAUTH1";
259
+ readonly OAUTH2: "OAUTH2";
260
+ readonly API_KEY: "API_KEY";
261
+ readonly BASIC: "BASIC";
262
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
263
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
264
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
265
+ readonly NO_AUTH: "NO_AUTH";
266
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
267
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
268
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
269
+ readonly SAML: "SAML";
270
+ readonly DCR_OAUTH: "DCR_OAUTH";
271
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
272
+ }>;
273
+ /** Whether this auth config is managed by Composio */
274
+ is_composio_managed: z$1.ZodBoolean;
275
+ /** Whether the auth config is disabled */
276
+ is_disabled: z$1.ZodBoolean;
277
+ /** @deprecated */
278
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
279
+ uuid: z$1.ZodString;
280
+ }, "strip", z$1.ZodTypeAny, {
281
+ uuid: string;
282
+ }, {
283
+ uuid: string;
284
+ }>>;
285
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
286
+ /** The nano ID of the auth config */
287
+ id: z$1.ZodString;
288
+ /** @deprecated - use state.authScheme instead */
289
+ auth_scheme: z$1.ZodNativeEnum<{
290
+ readonly OAUTH1: "OAUTH1";
291
+ readonly OAUTH2: "OAUTH2";
292
+ readonly API_KEY: "API_KEY";
293
+ readonly BASIC: "BASIC";
294
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
295
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
296
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
297
+ readonly NO_AUTH: "NO_AUTH";
298
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
299
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
300
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
301
+ readonly SAML: "SAML";
302
+ readonly DCR_OAUTH: "DCR_OAUTH";
303
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
304
+ }>;
305
+ /** Whether this auth config is managed by Composio */
306
+ is_composio_managed: z$1.ZodBoolean;
307
+ /** Whether the auth config is disabled */
308
+ is_disabled: z$1.ZodBoolean;
309
+ /** @deprecated */
310
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
311
+ uuid: z$1.ZodString;
312
+ }, "strip", z$1.ZodTypeAny, {
313
+ uuid: string;
314
+ }, {
315
+ uuid: string;
316
+ }>>;
317
+ }, z$1.ZodTypeAny, "passthrough">>;
318
+ type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
319
+ /**
320
+ * Simplified connection state schema for webhook payloads (raw API format).
321
+ *
322
+ * This intentionally does NOT reuse ConnectionDataSchema from
323
+ * connectedAccountAuthStates.types.ts because:
324
+ * - ConnectionDataSchema is a discriminated union requiring typed `val`
325
+ * per auth scheme (e.g., Oauth2ConnectionDataSchema)
326
+ * - Webhook payloads need loose validation (z.record(z.unknown()))
327
+ * since the connection state varies and isn't the focus of event handling
328
+ *
329
+ * Uses .passthrough() to accept unknown fields the API may add in the future.
330
+ *
331
+ * @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
332
+ */
333
+ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
334
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
335
+ authScheme: z$1.ZodNativeEnum<{
336
+ readonly OAUTH1: "OAUTH1";
337
+ readonly OAUTH2: "OAUTH2";
338
+ readonly API_KEY: "API_KEY";
339
+ readonly BASIC: "BASIC";
340
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
341
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
342
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
343
+ readonly NO_AUTH: "NO_AUTH";
344
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
345
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
346
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
347
+ readonly SAML: "SAML";
348
+ readonly DCR_OAUTH: "DCR_OAUTH";
349
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
350
+ }>;
351
+ /** Connection state values - varies by auth scheme */
352
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
353
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
354
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
355
+ authScheme: z$1.ZodNativeEnum<{
356
+ readonly OAUTH1: "OAUTH1";
357
+ readonly OAUTH2: "OAUTH2";
358
+ readonly API_KEY: "API_KEY";
359
+ readonly BASIC: "BASIC";
360
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
361
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
362
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
363
+ readonly NO_AUTH: "NO_AUTH";
364
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
365
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
366
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
367
+ readonly SAML: "SAML";
368
+ readonly DCR_OAUTH: "DCR_OAUTH";
369
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
370
+ }>;
371
+ /** Connection state values - varies by auth scheme */
372
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
373
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
374
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
375
+ authScheme: z$1.ZodNativeEnum<{
376
+ readonly OAUTH1: "OAUTH1";
377
+ readonly OAUTH2: "OAUTH2";
378
+ readonly API_KEY: "API_KEY";
379
+ readonly BASIC: "BASIC";
380
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
381
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
382
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
383
+ readonly NO_AUTH: "NO_AUTH";
384
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
385
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
386
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
387
+ readonly SAML: "SAML";
388
+ readonly DCR_OAUTH: "DCR_OAUTH";
389
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
390
+ }>;
391
+ /** Connection state values - varies by auth scheme */
392
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
393
+ }, z$1.ZodTypeAny, "passthrough">>;
394
+ type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
395
+ /**
396
+ * Connected account data schema for webhook payloads (raw API format, snake_case).
397
+ *
398
+ * This is the snake_case equivalent of ConnectedAccountRetrieveResponseSchema
399
+ * from connectedAccounts.types.ts. It intentionally does NOT reuse that schema because:
400
+ * - Webhook payloads arrive in raw snake_case (auth_config, user_id, created_at, etc.)
401
+ * while the SDK schema uses camelCase (authConfig, createdAt, etc.)
402
+ * - The SDK applies a transformation layer (utils/transformers/connectedAccounts.ts)
403
+ * before validation; webhooks are validated directly by the user
404
+ * - Webhook payloads include user_id, which the SDK schema omits
405
+ *
406
+ * Uses .passthrough() to accept unknown fields the API may add in the future.
407
+ *
408
+ * @see ConnectedAccountRetrieveResponseSchema in connectedAccounts.types.ts for the camelCase SDK version
409
+ * @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
410
+ */
411
+ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
412
+ /** Toolkit information */
413
+ toolkit: z$1.ZodObject<{
414
+ slug: z$1.ZodString;
415
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
416
+ slug: z$1.ZodString;
417
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
418
+ slug: z$1.ZodString;
419
+ }, z$1.ZodTypeAny, "passthrough">>;
420
+ /** Auth config details */
421
+ auth_config: z$1.ZodObject<{
422
+ /** The nano ID of the auth config */
423
+ id: z$1.ZodString;
424
+ /** @deprecated - use state.authScheme instead */
425
+ auth_scheme: z$1.ZodNativeEnum<{
426
+ readonly OAUTH1: "OAUTH1";
427
+ readonly OAUTH2: "OAUTH2";
428
+ readonly API_KEY: "API_KEY";
429
+ readonly BASIC: "BASIC";
430
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
431
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
432
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
433
+ readonly NO_AUTH: "NO_AUTH";
434
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
435
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
436
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
437
+ readonly SAML: "SAML";
438
+ readonly DCR_OAUTH: "DCR_OAUTH";
439
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
440
+ }>;
441
+ /** Whether this auth config is managed by Composio */
442
+ is_composio_managed: z$1.ZodBoolean;
443
+ /** Whether the auth config is disabled */
444
+ is_disabled: z$1.ZodBoolean;
445
+ /** @deprecated */
446
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
447
+ uuid: z$1.ZodString;
448
+ }, "strip", z$1.ZodTypeAny, {
449
+ uuid: string;
450
+ }, {
451
+ uuid: string;
452
+ }>>;
453
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
454
+ /** The nano ID of the auth config */
455
+ id: z$1.ZodString;
456
+ /** @deprecated - use state.authScheme instead */
457
+ auth_scheme: z$1.ZodNativeEnum<{
458
+ readonly OAUTH1: "OAUTH1";
459
+ readonly OAUTH2: "OAUTH2";
460
+ readonly API_KEY: "API_KEY";
461
+ readonly BASIC: "BASIC";
462
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
463
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
464
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
465
+ readonly NO_AUTH: "NO_AUTH";
466
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
467
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
468
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
469
+ readonly SAML: "SAML";
470
+ readonly DCR_OAUTH: "DCR_OAUTH";
471
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
472
+ }>;
473
+ /** Whether this auth config is managed by Composio */
474
+ is_composio_managed: z$1.ZodBoolean;
475
+ /** Whether the auth config is disabled */
476
+ is_disabled: z$1.ZodBoolean;
477
+ /** @deprecated */
478
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
479
+ uuid: z$1.ZodString;
480
+ }, "strip", z$1.ZodTypeAny, {
481
+ uuid: string;
482
+ }, {
483
+ uuid: string;
484
+ }>>;
485
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
486
+ /** The nano ID of the auth config */
487
+ id: z$1.ZodString;
488
+ /** @deprecated - use state.authScheme instead */
489
+ auth_scheme: z$1.ZodNativeEnum<{
490
+ readonly OAUTH1: "OAUTH1";
491
+ readonly OAUTH2: "OAUTH2";
492
+ readonly API_KEY: "API_KEY";
493
+ readonly BASIC: "BASIC";
494
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
495
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
496
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
497
+ readonly NO_AUTH: "NO_AUTH";
498
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
499
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
500
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
501
+ readonly SAML: "SAML";
502
+ readonly DCR_OAUTH: "DCR_OAUTH";
503
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
504
+ }>;
505
+ /** Whether this auth config is managed by Composio */
506
+ is_composio_managed: z$1.ZodBoolean;
507
+ /** Whether the auth config is disabled */
508
+ is_disabled: z$1.ZodBoolean;
509
+ /** @deprecated */
510
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
511
+ uuid: z$1.ZodString;
512
+ }, "strip", z$1.ZodTypeAny, {
513
+ uuid: string;
514
+ }, {
515
+ uuid: string;
516
+ }>>;
517
+ }, z$1.ZodTypeAny, "passthrough">>;
518
+ /** The nano ID of the connected account */
519
+ id: z$1.ZodString;
520
+ /** @deprecated - user ID of the connection owner */
521
+ user_id: z$1.ZodString;
522
+ /** Connection status */
523
+ status: z$1.ZodNativeEnum<{
524
+ readonly INITIALIZING: "INITIALIZING";
525
+ readonly INITIATED: "INITIATED";
526
+ readonly ACTIVE: "ACTIVE";
527
+ readonly FAILED: "FAILED";
528
+ readonly EXPIRED: "EXPIRED";
529
+ readonly INACTIVE: "INACTIVE";
530
+ }>;
531
+ /** ISO-8601 timestamp of creation */
532
+ created_at: z$1.ZodString;
533
+ /** ISO-8601 timestamp of last update */
534
+ updated_at: z$1.ZodString;
535
+ /** Connection state data (auth scheme + state values) */
536
+ state: z$1.ZodObject<{
537
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
538
+ authScheme: z$1.ZodNativeEnum<{
539
+ readonly OAUTH1: "OAUTH1";
540
+ readonly OAUTH2: "OAUTH2";
541
+ readonly API_KEY: "API_KEY";
542
+ readonly BASIC: "BASIC";
543
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
544
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
545
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
546
+ readonly NO_AUTH: "NO_AUTH";
547
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
548
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
549
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
550
+ readonly SAML: "SAML";
551
+ readonly DCR_OAUTH: "DCR_OAUTH";
552
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
553
+ }>;
554
+ /** Connection state values - varies by auth scheme */
555
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
556
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
557
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
558
+ authScheme: z$1.ZodNativeEnum<{
559
+ readonly OAUTH1: "OAUTH1";
560
+ readonly OAUTH2: "OAUTH2";
561
+ readonly API_KEY: "API_KEY";
562
+ readonly BASIC: "BASIC";
563
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
564
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
565
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
566
+ readonly NO_AUTH: "NO_AUTH";
567
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
568
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
569
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
570
+ readonly SAML: "SAML";
571
+ readonly DCR_OAUTH: "DCR_OAUTH";
572
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
573
+ }>;
574
+ /** Connection state values - varies by auth scheme */
575
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
576
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
577
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
578
+ authScheme: z$1.ZodNativeEnum<{
579
+ readonly OAUTH1: "OAUTH1";
580
+ readonly OAUTH2: "OAUTH2";
581
+ readonly API_KEY: "API_KEY";
582
+ readonly BASIC: "BASIC";
583
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
584
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
585
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
586
+ readonly NO_AUTH: "NO_AUTH";
587
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
588
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
589
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
590
+ readonly SAML: "SAML";
591
+ readonly DCR_OAUTH: "DCR_OAUTH";
592
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
593
+ }>;
594
+ /** Connection state values - varies by auth scheme */
595
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
596
+ }, z$1.ZodTypeAny, "passthrough">>;
597
+ /** @deprecated - use state instead */
598
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
599
+ /** @deprecated - use state instead */
600
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
601
+ /** Reason for the current status (e.g., expiration reason) */
602
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
603
+ /** Whether the connection is disabled */
604
+ is_disabled: z$1.ZodBoolean;
605
+ /** Endpoint for making test requests */
606
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
607
+ /** @deprecated */
608
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
609
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
610
+ uuid: z$1.ZodString;
611
+ }, "strip", z$1.ZodTypeAny, {
612
+ uuid: string;
613
+ labels: string[];
614
+ }, {
615
+ uuid: string;
616
+ labels: string[];
617
+ }>>;
618
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
619
+ /** Toolkit information */
620
+ toolkit: z$1.ZodObject<{
621
+ slug: z$1.ZodString;
622
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
623
+ slug: z$1.ZodString;
624
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
625
+ slug: z$1.ZodString;
626
+ }, z$1.ZodTypeAny, "passthrough">>;
627
+ /** Auth config details */
628
+ auth_config: z$1.ZodObject<{
629
+ /** The nano ID of the auth config */
630
+ id: z$1.ZodString;
631
+ /** @deprecated - use state.authScheme instead */
632
+ auth_scheme: z$1.ZodNativeEnum<{
633
+ readonly OAUTH1: "OAUTH1";
634
+ readonly OAUTH2: "OAUTH2";
635
+ readonly API_KEY: "API_KEY";
636
+ readonly BASIC: "BASIC";
637
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
638
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
639
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
640
+ readonly NO_AUTH: "NO_AUTH";
641
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
642
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
643
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
644
+ readonly SAML: "SAML";
645
+ readonly DCR_OAUTH: "DCR_OAUTH";
646
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
647
+ }>;
648
+ /** Whether this auth config is managed by Composio */
649
+ is_composio_managed: z$1.ZodBoolean;
650
+ /** Whether the auth config is disabled */
651
+ is_disabled: z$1.ZodBoolean;
652
+ /** @deprecated */
653
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
654
+ uuid: z$1.ZodString;
655
+ }, "strip", z$1.ZodTypeAny, {
656
+ uuid: string;
657
+ }, {
658
+ uuid: string;
659
+ }>>;
660
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
661
+ /** The nano ID of the auth config */
662
+ id: z$1.ZodString;
663
+ /** @deprecated - use state.authScheme instead */
664
+ auth_scheme: z$1.ZodNativeEnum<{
665
+ readonly OAUTH1: "OAUTH1";
666
+ readonly OAUTH2: "OAUTH2";
667
+ readonly API_KEY: "API_KEY";
668
+ readonly BASIC: "BASIC";
669
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
670
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
671
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
672
+ readonly NO_AUTH: "NO_AUTH";
673
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
674
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
675
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
676
+ readonly SAML: "SAML";
677
+ readonly DCR_OAUTH: "DCR_OAUTH";
678
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
679
+ }>;
680
+ /** Whether this auth config is managed by Composio */
681
+ is_composio_managed: z$1.ZodBoolean;
682
+ /** Whether the auth config is disabled */
683
+ is_disabled: z$1.ZodBoolean;
684
+ /** @deprecated */
685
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
686
+ uuid: z$1.ZodString;
687
+ }, "strip", z$1.ZodTypeAny, {
688
+ uuid: string;
689
+ }, {
690
+ uuid: string;
691
+ }>>;
692
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
693
+ /** The nano ID of the auth config */
694
+ id: z$1.ZodString;
695
+ /** @deprecated - use state.authScheme instead */
696
+ auth_scheme: z$1.ZodNativeEnum<{
697
+ readonly OAUTH1: "OAUTH1";
698
+ readonly OAUTH2: "OAUTH2";
699
+ readonly API_KEY: "API_KEY";
700
+ readonly BASIC: "BASIC";
701
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
702
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
703
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
704
+ readonly NO_AUTH: "NO_AUTH";
705
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
706
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
707
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
708
+ readonly SAML: "SAML";
709
+ readonly DCR_OAUTH: "DCR_OAUTH";
710
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
711
+ }>;
712
+ /** Whether this auth config is managed by Composio */
713
+ is_composio_managed: z$1.ZodBoolean;
714
+ /** Whether the auth config is disabled */
715
+ is_disabled: z$1.ZodBoolean;
716
+ /** @deprecated */
717
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
718
+ uuid: z$1.ZodString;
719
+ }, "strip", z$1.ZodTypeAny, {
720
+ uuid: string;
721
+ }, {
722
+ uuid: string;
723
+ }>>;
724
+ }, z$1.ZodTypeAny, "passthrough">>;
725
+ /** The nano ID of the connected account */
726
+ id: z$1.ZodString;
727
+ /** @deprecated - user ID of the connection owner */
728
+ user_id: z$1.ZodString;
729
+ /** Connection status */
730
+ status: z$1.ZodNativeEnum<{
731
+ readonly INITIALIZING: "INITIALIZING";
732
+ readonly INITIATED: "INITIATED";
733
+ readonly ACTIVE: "ACTIVE";
734
+ readonly FAILED: "FAILED";
735
+ readonly EXPIRED: "EXPIRED";
736
+ readonly INACTIVE: "INACTIVE";
737
+ }>;
738
+ /** ISO-8601 timestamp of creation */
739
+ created_at: z$1.ZodString;
740
+ /** ISO-8601 timestamp of last update */
741
+ updated_at: z$1.ZodString;
742
+ /** Connection state data (auth scheme + state values) */
743
+ state: z$1.ZodObject<{
744
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
745
+ authScheme: z$1.ZodNativeEnum<{
746
+ readonly OAUTH1: "OAUTH1";
747
+ readonly OAUTH2: "OAUTH2";
748
+ readonly API_KEY: "API_KEY";
749
+ readonly BASIC: "BASIC";
750
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
751
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
752
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
753
+ readonly NO_AUTH: "NO_AUTH";
754
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
755
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
756
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
757
+ readonly SAML: "SAML";
758
+ readonly DCR_OAUTH: "DCR_OAUTH";
759
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
760
+ }>;
761
+ /** Connection state values - varies by auth scheme */
762
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
763
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
764
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
765
+ authScheme: z$1.ZodNativeEnum<{
766
+ readonly OAUTH1: "OAUTH1";
767
+ readonly OAUTH2: "OAUTH2";
768
+ readonly API_KEY: "API_KEY";
769
+ readonly BASIC: "BASIC";
770
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
771
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
772
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
773
+ readonly NO_AUTH: "NO_AUTH";
774
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
775
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
776
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
777
+ readonly SAML: "SAML";
778
+ readonly DCR_OAUTH: "DCR_OAUTH";
779
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
780
+ }>;
781
+ /** Connection state values - varies by auth scheme */
782
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
783
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
784
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
785
+ authScheme: z$1.ZodNativeEnum<{
786
+ readonly OAUTH1: "OAUTH1";
787
+ readonly OAUTH2: "OAUTH2";
788
+ readonly API_KEY: "API_KEY";
789
+ readonly BASIC: "BASIC";
790
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
791
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
792
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
793
+ readonly NO_AUTH: "NO_AUTH";
794
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
795
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
796
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
797
+ readonly SAML: "SAML";
798
+ readonly DCR_OAUTH: "DCR_OAUTH";
799
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
800
+ }>;
801
+ /** Connection state values - varies by auth scheme */
802
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
803
+ }, z$1.ZodTypeAny, "passthrough">>;
804
+ /** @deprecated - use state instead */
805
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
806
+ /** @deprecated - use state instead */
807
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
808
+ /** Reason for the current status (e.g., expiration reason) */
809
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
810
+ /** Whether the connection is disabled */
811
+ is_disabled: z$1.ZodBoolean;
812
+ /** Endpoint for making test requests */
813
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
814
+ /** @deprecated */
815
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
816
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
817
+ uuid: z$1.ZodString;
818
+ }, "strip", z$1.ZodTypeAny, {
819
+ uuid: string;
820
+ labels: string[];
821
+ }, {
822
+ uuid: string;
823
+ labels: string[];
824
+ }>>;
825
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
826
+ /** Toolkit information */
827
+ toolkit: z$1.ZodObject<{
828
+ slug: z$1.ZodString;
829
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
830
+ slug: z$1.ZodString;
831
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
832
+ slug: z$1.ZodString;
833
+ }, z$1.ZodTypeAny, "passthrough">>;
834
+ /** Auth config details */
835
+ auth_config: z$1.ZodObject<{
836
+ /** The nano ID of the auth config */
837
+ id: z$1.ZodString;
838
+ /** @deprecated - use state.authScheme instead */
839
+ auth_scheme: z$1.ZodNativeEnum<{
840
+ readonly OAUTH1: "OAUTH1";
841
+ readonly OAUTH2: "OAUTH2";
842
+ readonly API_KEY: "API_KEY";
843
+ readonly BASIC: "BASIC";
844
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
845
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
846
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
847
+ readonly NO_AUTH: "NO_AUTH";
848
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
849
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
850
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
851
+ readonly SAML: "SAML";
852
+ readonly DCR_OAUTH: "DCR_OAUTH";
853
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
854
+ }>;
855
+ /** Whether this auth config is managed by Composio */
856
+ is_composio_managed: z$1.ZodBoolean;
857
+ /** Whether the auth config is disabled */
858
+ is_disabled: z$1.ZodBoolean;
859
+ /** @deprecated */
860
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
861
+ uuid: z$1.ZodString;
862
+ }, "strip", z$1.ZodTypeAny, {
863
+ uuid: string;
864
+ }, {
865
+ uuid: string;
866
+ }>>;
867
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
868
+ /** The nano ID of the auth config */
869
+ id: z$1.ZodString;
870
+ /** @deprecated - use state.authScheme instead */
871
+ auth_scheme: z$1.ZodNativeEnum<{
872
+ readonly OAUTH1: "OAUTH1";
873
+ readonly OAUTH2: "OAUTH2";
874
+ readonly API_KEY: "API_KEY";
875
+ readonly BASIC: "BASIC";
876
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
877
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
878
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
879
+ readonly NO_AUTH: "NO_AUTH";
880
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
881
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
882
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
883
+ readonly SAML: "SAML";
884
+ readonly DCR_OAUTH: "DCR_OAUTH";
885
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
886
+ }>;
887
+ /** Whether this auth config is managed by Composio */
888
+ is_composio_managed: z$1.ZodBoolean;
889
+ /** Whether the auth config is disabled */
890
+ is_disabled: z$1.ZodBoolean;
891
+ /** @deprecated */
892
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
893
+ uuid: z$1.ZodString;
894
+ }, "strip", z$1.ZodTypeAny, {
895
+ uuid: string;
896
+ }, {
897
+ uuid: string;
898
+ }>>;
899
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
900
+ /** The nano ID of the auth config */
901
+ id: z$1.ZodString;
902
+ /** @deprecated - use state.authScheme instead */
903
+ auth_scheme: z$1.ZodNativeEnum<{
904
+ readonly OAUTH1: "OAUTH1";
905
+ readonly OAUTH2: "OAUTH2";
906
+ readonly API_KEY: "API_KEY";
907
+ readonly BASIC: "BASIC";
908
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
909
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
910
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
911
+ readonly NO_AUTH: "NO_AUTH";
912
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
913
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
914
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
915
+ readonly SAML: "SAML";
916
+ readonly DCR_OAUTH: "DCR_OAUTH";
917
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
918
+ }>;
919
+ /** Whether this auth config is managed by Composio */
920
+ is_composio_managed: z$1.ZodBoolean;
921
+ /** Whether the auth config is disabled */
922
+ is_disabled: z$1.ZodBoolean;
923
+ /** @deprecated */
924
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
925
+ uuid: z$1.ZodString;
926
+ }, "strip", z$1.ZodTypeAny, {
927
+ uuid: string;
928
+ }, {
929
+ uuid: string;
930
+ }>>;
931
+ }, z$1.ZodTypeAny, "passthrough">>;
932
+ /** The nano ID of the connected account */
933
+ id: z$1.ZodString;
934
+ /** @deprecated - user ID of the connection owner */
935
+ user_id: z$1.ZodString;
936
+ /** Connection status */
937
+ status: z$1.ZodNativeEnum<{
938
+ readonly INITIALIZING: "INITIALIZING";
939
+ readonly INITIATED: "INITIATED";
940
+ readonly ACTIVE: "ACTIVE";
941
+ readonly FAILED: "FAILED";
942
+ readonly EXPIRED: "EXPIRED";
943
+ readonly INACTIVE: "INACTIVE";
944
+ }>;
945
+ /** ISO-8601 timestamp of creation */
946
+ created_at: z$1.ZodString;
947
+ /** ISO-8601 timestamp of last update */
948
+ updated_at: z$1.ZodString;
949
+ /** Connection state data (auth scheme + state values) */
950
+ state: z$1.ZodObject<{
951
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
952
+ authScheme: z$1.ZodNativeEnum<{
953
+ readonly OAUTH1: "OAUTH1";
954
+ readonly OAUTH2: "OAUTH2";
955
+ readonly API_KEY: "API_KEY";
956
+ readonly BASIC: "BASIC";
957
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
958
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
959
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
960
+ readonly NO_AUTH: "NO_AUTH";
961
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
962
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
963
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
964
+ readonly SAML: "SAML";
965
+ readonly DCR_OAUTH: "DCR_OAUTH";
966
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
967
+ }>;
968
+ /** Connection state values - varies by auth scheme */
969
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
970
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
971
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
972
+ authScheme: z$1.ZodNativeEnum<{
973
+ readonly OAUTH1: "OAUTH1";
974
+ readonly OAUTH2: "OAUTH2";
975
+ readonly API_KEY: "API_KEY";
976
+ readonly BASIC: "BASIC";
977
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
978
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
979
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
980
+ readonly NO_AUTH: "NO_AUTH";
981
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
982
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
983
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
984
+ readonly SAML: "SAML";
985
+ readonly DCR_OAUTH: "DCR_OAUTH";
986
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
987
+ }>;
988
+ /** Connection state values - varies by auth scheme */
989
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
990
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
991
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
992
+ authScheme: z$1.ZodNativeEnum<{
993
+ readonly OAUTH1: "OAUTH1";
994
+ readonly OAUTH2: "OAUTH2";
995
+ readonly API_KEY: "API_KEY";
996
+ readonly BASIC: "BASIC";
997
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
998
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
999
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1000
+ readonly NO_AUTH: "NO_AUTH";
1001
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1002
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1003
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1004
+ readonly SAML: "SAML";
1005
+ readonly DCR_OAUTH: "DCR_OAUTH";
1006
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1007
+ }>;
1008
+ /** Connection state values - varies by auth scheme */
1009
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1010
+ }, z$1.ZodTypeAny, "passthrough">>;
1011
+ /** @deprecated - use state instead */
1012
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1013
+ /** @deprecated - use state instead */
1014
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1015
+ /** Reason for the current status (e.g., expiration reason) */
1016
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1017
+ /** Whether the connection is disabled */
1018
+ is_disabled: z$1.ZodBoolean;
1019
+ /** Endpoint for making test requests */
1020
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1021
+ /** @deprecated */
1022
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1023
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1024
+ uuid: z$1.ZodString;
1025
+ }, "strip", z$1.ZodTypeAny, {
1026
+ uuid: string;
1027
+ labels: string[];
1028
+ }, {
1029
+ uuid: string;
1030
+ labels: string[];
1031
+ }>>;
1032
+ }, z$1.ZodTypeAny, "passthrough">>;
1033
+ type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
1034
+ /**
1035
+ * Webhook metadata for connection events.
1036
+ * Note: This differs from the trigger webhook metadata in WebhookTriggerPayloadV3Schema.
1037
+ *
1038
+ * Uses .passthrough() to accept unknown fields the API may add in the future.
1039
+ */
1040
+ declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
1041
+ /** Project nano ID */
1042
+ project_id: z$1.ZodString;
1043
+ /** Organization UUID */
1044
+ org_id: z$1.ZodString;
1045
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1046
+ /** Project nano ID */
1047
+ project_id: z$1.ZodString;
1048
+ /** Organization UUID */
1049
+ org_id: z$1.ZodString;
1050
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1051
+ /** Project nano ID */
1052
+ project_id: z$1.ZodString;
1053
+ /** Organization UUID */
1054
+ org_id: z$1.ZodString;
1055
+ }, z$1.ZodTypeAny, "passthrough">>;
1056
+ type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
1057
+ /**
1058
+ * Connection expired webhook event payload.
1059
+ * Emitted when a connected account expires due to authentication refresh failure.
1060
+ *
1061
+ * Uses .passthrough() to accept unknown fields the API may add in the future.
1062
+ *
1063
+ * @example
1064
+ * ```typescript
1065
+ * import { ConnectionExpiredEventSchema } from '@composio/core';
1066
+ *
1067
+ * // In your webhook handler
1068
+ * const result = ConnectionExpiredEventSchema.safeParse(webhookPayload);
1069
+ * if (result.success) {
1070
+ * const { data, metadata } = result.data;
1071
+ * console.log(`Connection ${data.id} expired for user ${data.user_id}`);
1072
+ * console.log(`Toolkit: ${data.toolkit.slug}`);
1073
+ * console.log(`Project: ${metadata.project_id}`);
1074
+ * }
1075
+ * ```
1076
+ */
1077
+ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1078
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
1079
+ id: z$1.ZodString;
1080
+ /** ISO-8601 timestamp of when the event was emitted */
1081
+ timestamp: z$1.ZodString;
1082
+ /** Event type identifier */
1083
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
1084
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
1085
+ data: z$1.ZodObject<{
1086
+ /** Toolkit information */
1087
+ toolkit: z$1.ZodObject<{
1088
+ slug: z$1.ZodString;
1089
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1090
+ slug: z$1.ZodString;
1091
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1092
+ slug: z$1.ZodString;
1093
+ }, z$1.ZodTypeAny, "passthrough">>;
1094
+ /** Auth config details */
1095
+ auth_config: z$1.ZodObject<{
1096
+ /** The nano ID of the auth config */
1097
+ id: z$1.ZodString;
1098
+ /** @deprecated - use state.authScheme instead */
1099
+ auth_scheme: z$1.ZodNativeEnum<{
1100
+ readonly OAUTH1: "OAUTH1";
1101
+ readonly OAUTH2: "OAUTH2";
1102
+ readonly API_KEY: "API_KEY";
1103
+ readonly BASIC: "BASIC";
1104
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1105
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1106
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1107
+ readonly NO_AUTH: "NO_AUTH";
1108
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1109
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1110
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1111
+ readonly SAML: "SAML";
1112
+ readonly DCR_OAUTH: "DCR_OAUTH";
1113
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1114
+ }>;
1115
+ /** Whether this auth config is managed by Composio */
1116
+ is_composio_managed: z$1.ZodBoolean;
1117
+ /** Whether the auth config is disabled */
1118
+ is_disabled: z$1.ZodBoolean;
1119
+ /** @deprecated */
1120
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1121
+ uuid: z$1.ZodString;
1122
+ }, "strip", z$1.ZodTypeAny, {
1123
+ uuid: string;
1124
+ }, {
1125
+ uuid: string;
1126
+ }>>;
1127
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1128
+ /** The nano ID of the auth config */
1129
+ id: z$1.ZodString;
1130
+ /** @deprecated - use state.authScheme instead */
1131
+ auth_scheme: z$1.ZodNativeEnum<{
1132
+ readonly OAUTH1: "OAUTH1";
1133
+ readonly OAUTH2: "OAUTH2";
1134
+ readonly API_KEY: "API_KEY";
1135
+ readonly BASIC: "BASIC";
1136
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1137
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1138
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1139
+ readonly NO_AUTH: "NO_AUTH";
1140
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1141
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1142
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1143
+ readonly SAML: "SAML";
1144
+ readonly DCR_OAUTH: "DCR_OAUTH";
1145
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1146
+ }>;
1147
+ /** Whether this auth config is managed by Composio */
1148
+ is_composio_managed: z$1.ZodBoolean;
1149
+ /** Whether the auth config is disabled */
1150
+ is_disabled: z$1.ZodBoolean;
1151
+ /** @deprecated */
1152
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1153
+ uuid: z$1.ZodString;
1154
+ }, "strip", z$1.ZodTypeAny, {
1155
+ uuid: string;
1156
+ }, {
1157
+ uuid: string;
1158
+ }>>;
1159
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1160
+ /** The nano ID of the auth config */
1161
+ id: z$1.ZodString;
1162
+ /** @deprecated - use state.authScheme instead */
1163
+ auth_scheme: z$1.ZodNativeEnum<{
1164
+ readonly OAUTH1: "OAUTH1";
1165
+ readonly OAUTH2: "OAUTH2";
1166
+ readonly API_KEY: "API_KEY";
1167
+ readonly BASIC: "BASIC";
1168
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1169
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1170
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1171
+ readonly NO_AUTH: "NO_AUTH";
1172
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1173
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1174
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1175
+ readonly SAML: "SAML";
1176
+ readonly DCR_OAUTH: "DCR_OAUTH";
1177
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1178
+ }>;
1179
+ /** Whether this auth config is managed by Composio */
1180
+ is_composio_managed: z$1.ZodBoolean;
1181
+ /** Whether the auth config is disabled */
1182
+ is_disabled: z$1.ZodBoolean;
1183
+ /** @deprecated */
1184
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1185
+ uuid: z$1.ZodString;
1186
+ }, "strip", z$1.ZodTypeAny, {
1187
+ uuid: string;
1188
+ }, {
1189
+ uuid: string;
1190
+ }>>;
1191
+ }, z$1.ZodTypeAny, "passthrough">>;
1192
+ /** The nano ID of the connected account */
1193
+ id: z$1.ZodString;
1194
+ /** @deprecated - user ID of the connection owner */
1195
+ user_id: z$1.ZodString;
1196
+ /** Connection status */
1197
+ status: z$1.ZodNativeEnum<{
1198
+ readonly INITIALIZING: "INITIALIZING";
1199
+ readonly INITIATED: "INITIATED";
1200
+ readonly ACTIVE: "ACTIVE";
1201
+ readonly FAILED: "FAILED";
1202
+ readonly EXPIRED: "EXPIRED";
1203
+ readonly INACTIVE: "INACTIVE";
1204
+ }>;
1205
+ /** ISO-8601 timestamp of creation */
1206
+ created_at: z$1.ZodString;
1207
+ /** ISO-8601 timestamp of last update */
1208
+ updated_at: z$1.ZodString;
1209
+ /** Connection state data (auth scheme + state values) */
1210
+ state: z$1.ZodObject<{
1211
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1212
+ authScheme: z$1.ZodNativeEnum<{
1213
+ readonly OAUTH1: "OAUTH1";
1214
+ readonly OAUTH2: "OAUTH2";
1215
+ readonly API_KEY: "API_KEY";
1216
+ readonly BASIC: "BASIC";
1217
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1218
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1219
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1220
+ readonly NO_AUTH: "NO_AUTH";
1221
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1222
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1223
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1224
+ readonly SAML: "SAML";
1225
+ readonly DCR_OAUTH: "DCR_OAUTH";
1226
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1227
+ }>;
1228
+ /** Connection state values - varies by auth scheme */
1229
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1230
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1231
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1232
+ authScheme: z$1.ZodNativeEnum<{
1233
+ readonly OAUTH1: "OAUTH1";
1234
+ readonly OAUTH2: "OAUTH2";
1235
+ readonly API_KEY: "API_KEY";
1236
+ readonly BASIC: "BASIC";
1237
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1238
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1239
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1240
+ readonly NO_AUTH: "NO_AUTH";
1241
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1242
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1243
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1244
+ readonly SAML: "SAML";
1245
+ readonly DCR_OAUTH: "DCR_OAUTH";
1246
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1247
+ }>;
1248
+ /** Connection state values - varies by auth scheme */
1249
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1250
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1251
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1252
+ authScheme: z$1.ZodNativeEnum<{
1253
+ readonly OAUTH1: "OAUTH1";
1254
+ readonly OAUTH2: "OAUTH2";
1255
+ readonly API_KEY: "API_KEY";
1256
+ readonly BASIC: "BASIC";
1257
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1258
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1259
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1260
+ readonly NO_AUTH: "NO_AUTH";
1261
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1262
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1263
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1264
+ readonly SAML: "SAML";
1265
+ readonly DCR_OAUTH: "DCR_OAUTH";
1266
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1267
+ }>;
1268
+ /** Connection state values - varies by auth scheme */
1269
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1270
+ }, z$1.ZodTypeAny, "passthrough">>;
1271
+ /** @deprecated - use state instead */
1272
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1273
+ /** @deprecated - use state instead */
1274
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1275
+ /** Reason for the current status (e.g., expiration reason) */
1276
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1277
+ /** Whether the connection is disabled */
1278
+ is_disabled: z$1.ZodBoolean;
1279
+ /** Endpoint for making test requests */
1280
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1281
+ /** @deprecated */
1282
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1283
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1284
+ uuid: z$1.ZodString;
1285
+ }, "strip", z$1.ZodTypeAny, {
1286
+ uuid: string;
1287
+ labels: string[];
1288
+ }, {
1289
+ uuid: string;
1290
+ labels: string[];
1291
+ }>>;
1292
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1293
+ /** Toolkit information */
1294
+ toolkit: z$1.ZodObject<{
1295
+ slug: z$1.ZodString;
1296
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1297
+ slug: z$1.ZodString;
1298
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1299
+ slug: z$1.ZodString;
1300
+ }, z$1.ZodTypeAny, "passthrough">>;
1301
+ /** Auth config details */
1302
+ auth_config: z$1.ZodObject<{
1303
+ /** The nano ID of the auth config */
1304
+ id: z$1.ZodString;
1305
+ /** @deprecated - use state.authScheme instead */
1306
+ auth_scheme: z$1.ZodNativeEnum<{
1307
+ readonly OAUTH1: "OAUTH1";
1308
+ readonly OAUTH2: "OAUTH2";
1309
+ readonly API_KEY: "API_KEY";
1310
+ readonly BASIC: "BASIC";
1311
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1312
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1313
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1314
+ readonly NO_AUTH: "NO_AUTH";
1315
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1316
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1317
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1318
+ readonly SAML: "SAML";
1319
+ readonly DCR_OAUTH: "DCR_OAUTH";
1320
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1321
+ }>;
1322
+ /** Whether this auth config is managed by Composio */
1323
+ is_composio_managed: z$1.ZodBoolean;
1324
+ /** Whether the auth config is disabled */
1325
+ is_disabled: z$1.ZodBoolean;
1326
+ /** @deprecated */
1327
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1328
+ uuid: z$1.ZodString;
1329
+ }, "strip", z$1.ZodTypeAny, {
1330
+ uuid: string;
1331
+ }, {
1332
+ uuid: string;
1333
+ }>>;
1334
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1335
+ /** The nano ID of the auth config */
1336
+ id: z$1.ZodString;
1337
+ /** @deprecated - use state.authScheme instead */
1338
+ auth_scheme: z$1.ZodNativeEnum<{
1339
+ readonly OAUTH1: "OAUTH1";
1340
+ readonly OAUTH2: "OAUTH2";
1341
+ readonly API_KEY: "API_KEY";
1342
+ readonly BASIC: "BASIC";
1343
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1344
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1345
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1346
+ readonly NO_AUTH: "NO_AUTH";
1347
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1348
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1349
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1350
+ readonly SAML: "SAML";
1351
+ readonly DCR_OAUTH: "DCR_OAUTH";
1352
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1353
+ }>;
1354
+ /** Whether this auth config is managed by Composio */
1355
+ is_composio_managed: z$1.ZodBoolean;
1356
+ /** Whether the auth config is disabled */
1357
+ is_disabled: z$1.ZodBoolean;
1358
+ /** @deprecated */
1359
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1360
+ uuid: z$1.ZodString;
1361
+ }, "strip", z$1.ZodTypeAny, {
1362
+ uuid: string;
1363
+ }, {
1364
+ uuid: string;
1365
+ }>>;
1366
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1367
+ /** The nano ID of the auth config */
1368
+ id: z$1.ZodString;
1369
+ /** @deprecated - use state.authScheme instead */
1370
+ auth_scheme: z$1.ZodNativeEnum<{
1371
+ readonly OAUTH1: "OAUTH1";
1372
+ readonly OAUTH2: "OAUTH2";
1373
+ readonly API_KEY: "API_KEY";
1374
+ readonly BASIC: "BASIC";
1375
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1376
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1377
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1378
+ readonly NO_AUTH: "NO_AUTH";
1379
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1380
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1381
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1382
+ readonly SAML: "SAML";
1383
+ readonly DCR_OAUTH: "DCR_OAUTH";
1384
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1385
+ }>;
1386
+ /** Whether this auth config is managed by Composio */
1387
+ is_composio_managed: z$1.ZodBoolean;
1388
+ /** Whether the auth config is disabled */
1389
+ is_disabled: z$1.ZodBoolean;
1390
+ /** @deprecated */
1391
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1392
+ uuid: z$1.ZodString;
1393
+ }, "strip", z$1.ZodTypeAny, {
1394
+ uuid: string;
1395
+ }, {
1396
+ uuid: string;
1397
+ }>>;
1398
+ }, z$1.ZodTypeAny, "passthrough">>;
1399
+ /** The nano ID of the connected account */
1400
+ id: z$1.ZodString;
1401
+ /** @deprecated - user ID of the connection owner */
1402
+ user_id: z$1.ZodString;
1403
+ /** Connection status */
1404
+ status: z$1.ZodNativeEnum<{
1405
+ readonly INITIALIZING: "INITIALIZING";
1406
+ readonly INITIATED: "INITIATED";
1407
+ readonly ACTIVE: "ACTIVE";
1408
+ readonly FAILED: "FAILED";
1409
+ readonly EXPIRED: "EXPIRED";
1410
+ readonly INACTIVE: "INACTIVE";
1411
+ }>;
1412
+ /** ISO-8601 timestamp of creation */
1413
+ created_at: z$1.ZodString;
1414
+ /** ISO-8601 timestamp of last update */
1415
+ updated_at: z$1.ZodString;
1416
+ /** Connection state data (auth scheme + state values) */
1417
+ state: z$1.ZodObject<{
1418
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1419
+ authScheme: z$1.ZodNativeEnum<{
1420
+ readonly OAUTH1: "OAUTH1";
1421
+ readonly OAUTH2: "OAUTH2";
1422
+ readonly API_KEY: "API_KEY";
1423
+ readonly BASIC: "BASIC";
1424
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1425
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1426
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1427
+ readonly NO_AUTH: "NO_AUTH";
1428
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1429
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1430
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1431
+ readonly SAML: "SAML";
1432
+ readonly DCR_OAUTH: "DCR_OAUTH";
1433
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1434
+ }>;
1435
+ /** Connection state values - varies by auth scheme */
1436
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1437
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1438
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1439
+ authScheme: z$1.ZodNativeEnum<{
1440
+ readonly OAUTH1: "OAUTH1";
1441
+ readonly OAUTH2: "OAUTH2";
1442
+ readonly API_KEY: "API_KEY";
1443
+ readonly BASIC: "BASIC";
1444
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1445
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1446
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1447
+ readonly NO_AUTH: "NO_AUTH";
1448
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1449
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1450
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1451
+ readonly SAML: "SAML";
1452
+ readonly DCR_OAUTH: "DCR_OAUTH";
1453
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1454
+ }>;
1455
+ /** Connection state values - varies by auth scheme */
1456
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1457
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1458
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1459
+ authScheme: z$1.ZodNativeEnum<{
1460
+ readonly OAUTH1: "OAUTH1";
1461
+ readonly OAUTH2: "OAUTH2";
1462
+ readonly API_KEY: "API_KEY";
1463
+ readonly BASIC: "BASIC";
1464
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1465
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1466
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1467
+ readonly NO_AUTH: "NO_AUTH";
1468
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1469
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1470
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1471
+ readonly SAML: "SAML";
1472
+ readonly DCR_OAUTH: "DCR_OAUTH";
1473
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1474
+ }>;
1475
+ /** Connection state values - varies by auth scheme */
1476
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1477
+ }, z$1.ZodTypeAny, "passthrough">>;
1478
+ /** @deprecated - use state instead */
1479
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1480
+ /** @deprecated - use state instead */
1481
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1482
+ /** Reason for the current status (e.g., expiration reason) */
1483
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1484
+ /** Whether the connection is disabled */
1485
+ is_disabled: z$1.ZodBoolean;
1486
+ /** Endpoint for making test requests */
1487
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1488
+ /** @deprecated */
1489
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1490
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1491
+ uuid: z$1.ZodString;
1492
+ }, "strip", z$1.ZodTypeAny, {
1493
+ uuid: string;
1494
+ labels: string[];
1495
+ }, {
1496
+ uuid: string;
1497
+ labels: string[];
1498
+ }>>;
1499
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1500
+ /** Toolkit information */
1501
+ toolkit: z$1.ZodObject<{
1502
+ slug: z$1.ZodString;
1503
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1504
+ slug: z$1.ZodString;
1505
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1506
+ slug: z$1.ZodString;
1507
+ }, z$1.ZodTypeAny, "passthrough">>;
1508
+ /** Auth config details */
1509
+ auth_config: z$1.ZodObject<{
1510
+ /** The nano ID of the auth config */
1511
+ id: z$1.ZodString;
1512
+ /** @deprecated - use state.authScheme instead */
1513
+ auth_scheme: z$1.ZodNativeEnum<{
1514
+ readonly OAUTH1: "OAUTH1";
1515
+ readonly OAUTH2: "OAUTH2";
1516
+ readonly API_KEY: "API_KEY";
1517
+ readonly BASIC: "BASIC";
1518
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1519
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1520
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1521
+ readonly NO_AUTH: "NO_AUTH";
1522
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1523
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1524
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1525
+ readonly SAML: "SAML";
1526
+ readonly DCR_OAUTH: "DCR_OAUTH";
1527
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1528
+ }>;
1529
+ /** Whether this auth config is managed by Composio */
1530
+ is_composio_managed: z$1.ZodBoolean;
1531
+ /** Whether the auth config is disabled */
1532
+ is_disabled: z$1.ZodBoolean;
1533
+ /** @deprecated */
1534
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1535
+ uuid: z$1.ZodString;
1536
+ }, "strip", z$1.ZodTypeAny, {
1537
+ uuid: string;
1538
+ }, {
1539
+ uuid: string;
1540
+ }>>;
1541
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1542
+ /** The nano ID of the auth config */
1543
+ id: z$1.ZodString;
1544
+ /** @deprecated - use state.authScheme instead */
1545
+ auth_scheme: z$1.ZodNativeEnum<{
1546
+ readonly OAUTH1: "OAUTH1";
1547
+ readonly OAUTH2: "OAUTH2";
1548
+ readonly API_KEY: "API_KEY";
1549
+ readonly BASIC: "BASIC";
1550
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1551
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1552
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1553
+ readonly NO_AUTH: "NO_AUTH";
1554
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1555
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1556
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1557
+ readonly SAML: "SAML";
1558
+ readonly DCR_OAUTH: "DCR_OAUTH";
1559
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1560
+ }>;
1561
+ /** Whether this auth config is managed by Composio */
1562
+ is_composio_managed: z$1.ZodBoolean;
1563
+ /** Whether the auth config is disabled */
1564
+ is_disabled: z$1.ZodBoolean;
1565
+ /** @deprecated */
1566
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1567
+ uuid: z$1.ZodString;
1568
+ }, "strip", z$1.ZodTypeAny, {
1569
+ uuid: string;
1570
+ }, {
1571
+ uuid: string;
1572
+ }>>;
1573
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1574
+ /** The nano ID of the auth config */
1575
+ id: z$1.ZodString;
1576
+ /** @deprecated - use state.authScheme instead */
1577
+ auth_scheme: z$1.ZodNativeEnum<{
1578
+ readonly OAUTH1: "OAUTH1";
1579
+ readonly OAUTH2: "OAUTH2";
1580
+ readonly API_KEY: "API_KEY";
1581
+ readonly BASIC: "BASIC";
1582
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1583
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1584
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1585
+ readonly NO_AUTH: "NO_AUTH";
1586
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1587
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1588
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1589
+ readonly SAML: "SAML";
1590
+ readonly DCR_OAUTH: "DCR_OAUTH";
1591
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1592
+ }>;
1593
+ /** Whether this auth config is managed by Composio */
1594
+ is_composio_managed: z$1.ZodBoolean;
1595
+ /** Whether the auth config is disabled */
1596
+ is_disabled: z$1.ZodBoolean;
1597
+ /** @deprecated */
1598
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1599
+ uuid: z$1.ZodString;
1600
+ }, "strip", z$1.ZodTypeAny, {
1601
+ uuid: string;
1602
+ }, {
1603
+ uuid: string;
1604
+ }>>;
1605
+ }, z$1.ZodTypeAny, "passthrough">>;
1606
+ /** The nano ID of the connected account */
1607
+ id: z$1.ZodString;
1608
+ /** @deprecated - user ID of the connection owner */
1609
+ user_id: z$1.ZodString;
1610
+ /** Connection status */
1611
+ status: z$1.ZodNativeEnum<{
1612
+ readonly INITIALIZING: "INITIALIZING";
1613
+ readonly INITIATED: "INITIATED";
1614
+ readonly ACTIVE: "ACTIVE";
1615
+ readonly FAILED: "FAILED";
1616
+ readonly EXPIRED: "EXPIRED";
1617
+ readonly INACTIVE: "INACTIVE";
1618
+ }>;
1619
+ /** ISO-8601 timestamp of creation */
1620
+ created_at: z$1.ZodString;
1621
+ /** ISO-8601 timestamp of last update */
1622
+ updated_at: z$1.ZodString;
1623
+ /** Connection state data (auth scheme + state values) */
1624
+ state: z$1.ZodObject<{
1625
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1626
+ authScheme: z$1.ZodNativeEnum<{
1627
+ readonly OAUTH1: "OAUTH1";
1628
+ readonly OAUTH2: "OAUTH2";
1629
+ readonly API_KEY: "API_KEY";
1630
+ readonly BASIC: "BASIC";
1631
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1632
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1633
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1634
+ readonly NO_AUTH: "NO_AUTH";
1635
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1636
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1637
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1638
+ readonly SAML: "SAML";
1639
+ readonly DCR_OAUTH: "DCR_OAUTH";
1640
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1641
+ }>;
1642
+ /** Connection state values - varies by auth scheme */
1643
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1644
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1645
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1646
+ authScheme: z$1.ZodNativeEnum<{
1647
+ readonly OAUTH1: "OAUTH1";
1648
+ readonly OAUTH2: "OAUTH2";
1649
+ readonly API_KEY: "API_KEY";
1650
+ readonly BASIC: "BASIC";
1651
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1652
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1653
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1654
+ readonly NO_AUTH: "NO_AUTH";
1655
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1656
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1657
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1658
+ readonly SAML: "SAML";
1659
+ readonly DCR_OAUTH: "DCR_OAUTH";
1660
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1661
+ }>;
1662
+ /** Connection state values - varies by auth scheme */
1663
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1664
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1665
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1666
+ authScheme: z$1.ZodNativeEnum<{
1667
+ readonly OAUTH1: "OAUTH1";
1668
+ readonly OAUTH2: "OAUTH2";
1669
+ readonly API_KEY: "API_KEY";
1670
+ readonly BASIC: "BASIC";
1671
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1672
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1673
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1674
+ readonly NO_AUTH: "NO_AUTH";
1675
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1676
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1677
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1678
+ readonly SAML: "SAML";
1679
+ readonly DCR_OAUTH: "DCR_OAUTH";
1680
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1681
+ }>;
1682
+ /** Connection state values - varies by auth scheme */
1683
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1684
+ }, z$1.ZodTypeAny, "passthrough">>;
1685
+ /** @deprecated - use state instead */
1686
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1687
+ /** @deprecated - use state instead */
1688
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1689
+ /** Reason for the current status (e.g., expiration reason) */
1690
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1691
+ /** Whether the connection is disabled */
1692
+ is_disabled: z$1.ZodBoolean;
1693
+ /** Endpoint for making test requests */
1694
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1695
+ /** @deprecated */
1696
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1697
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1698
+ uuid: z$1.ZodString;
1699
+ }, "strip", z$1.ZodTypeAny, {
1700
+ uuid: string;
1701
+ labels: string[];
1702
+ }, {
1703
+ uuid: string;
1704
+ labels: string[];
1705
+ }>>;
1706
+ }, z$1.ZodTypeAny, "passthrough">>;
1707
+ /** Event metadata */
1708
+ metadata: z$1.ZodObject<{
1709
+ /** Project nano ID */
1710
+ project_id: z$1.ZodString;
1711
+ /** Organization UUID */
1712
+ org_id: z$1.ZodString;
1713
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1714
+ /** Project nano ID */
1715
+ project_id: z$1.ZodString;
1716
+ /** Organization UUID */
1717
+ org_id: z$1.ZodString;
1718
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1719
+ /** Project nano ID */
1720
+ project_id: z$1.ZodString;
1721
+ /** Organization UUID */
1722
+ org_id: z$1.ZodString;
1723
+ }, z$1.ZodTypeAny, "passthrough">>;
1724
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1725
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
1726
+ id: z$1.ZodString;
1727
+ /** ISO-8601 timestamp of when the event was emitted */
1728
+ timestamp: z$1.ZodString;
1729
+ /** Event type identifier */
1730
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
1731
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
1732
+ data: z$1.ZodObject<{
1733
+ /** Toolkit information */
1734
+ toolkit: z$1.ZodObject<{
1735
+ slug: z$1.ZodString;
1736
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1737
+ slug: z$1.ZodString;
1738
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1739
+ slug: z$1.ZodString;
1740
+ }, z$1.ZodTypeAny, "passthrough">>;
1741
+ /** Auth config details */
1742
+ auth_config: z$1.ZodObject<{
1743
+ /** The nano ID of the auth config */
1744
+ id: z$1.ZodString;
1745
+ /** @deprecated - use state.authScheme instead */
1746
+ auth_scheme: z$1.ZodNativeEnum<{
1747
+ readonly OAUTH1: "OAUTH1";
1748
+ readonly OAUTH2: "OAUTH2";
1749
+ readonly API_KEY: "API_KEY";
1750
+ readonly BASIC: "BASIC";
1751
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1752
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1753
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1754
+ readonly NO_AUTH: "NO_AUTH";
1755
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1756
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1757
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1758
+ readonly SAML: "SAML";
1759
+ readonly DCR_OAUTH: "DCR_OAUTH";
1760
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1761
+ }>;
1762
+ /** Whether this auth config is managed by Composio */
1763
+ is_composio_managed: z$1.ZodBoolean;
1764
+ /** Whether the auth config is disabled */
1765
+ is_disabled: z$1.ZodBoolean;
1766
+ /** @deprecated */
1767
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1768
+ uuid: z$1.ZodString;
1769
+ }, "strip", z$1.ZodTypeAny, {
1770
+ uuid: string;
1771
+ }, {
1772
+ uuid: string;
1773
+ }>>;
1774
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1775
+ /** The nano ID of the auth config */
1776
+ id: z$1.ZodString;
1777
+ /** @deprecated - use state.authScheme instead */
1778
+ auth_scheme: z$1.ZodNativeEnum<{
1779
+ readonly OAUTH1: "OAUTH1";
1780
+ readonly OAUTH2: "OAUTH2";
1781
+ readonly API_KEY: "API_KEY";
1782
+ readonly BASIC: "BASIC";
1783
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1784
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1785
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1786
+ readonly NO_AUTH: "NO_AUTH";
1787
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1788
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1789
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1790
+ readonly SAML: "SAML";
1791
+ readonly DCR_OAUTH: "DCR_OAUTH";
1792
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1793
+ }>;
1794
+ /** Whether this auth config is managed by Composio */
1795
+ is_composio_managed: z$1.ZodBoolean;
1796
+ /** Whether the auth config is disabled */
1797
+ is_disabled: z$1.ZodBoolean;
1798
+ /** @deprecated */
1799
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1800
+ uuid: z$1.ZodString;
1801
+ }, "strip", z$1.ZodTypeAny, {
1802
+ uuid: string;
1803
+ }, {
1804
+ uuid: string;
1805
+ }>>;
1806
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1807
+ /** The nano ID of the auth config */
1808
+ id: z$1.ZodString;
1809
+ /** @deprecated - use state.authScheme instead */
1810
+ auth_scheme: z$1.ZodNativeEnum<{
1811
+ readonly OAUTH1: "OAUTH1";
1812
+ readonly OAUTH2: "OAUTH2";
1813
+ readonly API_KEY: "API_KEY";
1814
+ readonly BASIC: "BASIC";
1815
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1816
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1817
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1818
+ readonly NO_AUTH: "NO_AUTH";
1819
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1820
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1821
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1822
+ readonly SAML: "SAML";
1823
+ readonly DCR_OAUTH: "DCR_OAUTH";
1824
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1825
+ }>;
1826
+ /** Whether this auth config is managed by Composio */
1827
+ is_composio_managed: z$1.ZodBoolean;
1828
+ /** Whether the auth config is disabled */
1829
+ is_disabled: z$1.ZodBoolean;
1830
+ /** @deprecated */
1831
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1832
+ uuid: z$1.ZodString;
1833
+ }, "strip", z$1.ZodTypeAny, {
1834
+ uuid: string;
1835
+ }, {
1836
+ uuid: string;
1837
+ }>>;
1838
+ }, z$1.ZodTypeAny, "passthrough">>;
1839
+ /** The nano ID of the connected account */
1840
+ id: z$1.ZodString;
1841
+ /** @deprecated - user ID of the connection owner */
1842
+ user_id: z$1.ZodString;
1843
+ /** Connection status */
1844
+ status: z$1.ZodNativeEnum<{
1845
+ readonly INITIALIZING: "INITIALIZING";
1846
+ readonly INITIATED: "INITIATED";
1847
+ readonly ACTIVE: "ACTIVE";
1848
+ readonly FAILED: "FAILED";
1849
+ readonly EXPIRED: "EXPIRED";
1850
+ readonly INACTIVE: "INACTIVE";
1851
+ }>;
1852
+ /** ISO-8601 timestamp of creation */
1853
+ created_at: z$1.ZodString;
1854
+ /** ISO-8601 timestamp of last update */
1855
+ updated_at: z$1.ZodString;
1856
+ /** Connection state data (auth scheme + state values) */
1857
+ state: z$1.ZodObject<{
1858
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1859
+ authScheme: z$1.ZodNativeEnum<{
1860
+ readonly OAUTH1: "OAUTH1";
1861
+ readonly OAUTH2: "OAUTH2";
1862
+ readonly API_KEY: "API_KEY";
1863
+ readonly BASIC: "BASIC";
1864
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1865
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1866
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1867
+ readonly NO_AUTH: "NO_AUTH";
1868
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1869
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1870
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1871
+ readonly SAML: "SAML";
1872
+ readonly DCR_OAUTH: "DCR_OAUTH";
1873
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1874
+ }>;
1875
+ /** Connection state values - varies by auth scheme */
1876
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1877
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1878
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1879
+ authScheme: z$1.ZodNativeEnum<{
1880
+ readonly OAUTH1: "OAUTH1";
1881
+ readonly OAUTH2: "OAUTH2";
1882
+ readonly API_KEY: "API_KEY";
1883
+ readonly BASIC: "BASIC";
1884
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1885
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1886
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1887
+ readonly NO_AUTH: "NO_AUTH";
1888
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1889
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1890
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1891
+ readonly SAML: "SAML";
1892
+ readonly DCR_OAUTH: "DCR_OAUTH";
1893
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1894
+ }>;
1895
+ /** Connection state values - varies by auth scheme */
1896
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1897
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1898
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1899
+ authScheme: z$1.ZodNativeEnum<{
1900
+ readonly OAUTH1: "OAUTH1";
1901
+ readonly OAUTH2: "OAUTH2";
1902
+ readonly API_KEY: "API_KEY";
1903
+ readonly BASIC: "BASIC";
1904
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1905
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1906
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1907
+ readonly NO_AUTH: "NO_AUTH";
1908
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1909
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1910
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1911
+ readonly SAML: "SAML";
1912
+ readonly DCR_OAUTH: "DCR_OAUTH";
1913
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1914
+ }>;
1915
+ /** Connection state values - varies by auth scheme */
1916
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1917
+ }, z$1.ZodTypeAny, "passthrough">>;
1918
+ /** @deprecated - use state instead */
1919
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1920
+ /** @deprecated - use state instead */
1921
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1922
+ /** Reason for the current status (e.g., expiration reason) */
1923
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1924
+ /** Whether the connection is disabled */
1925
+ is_disabled: z$1.ZodBoolean;
1926
+ /** Endpoint for making test requests */
1927
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1928
+ /** @deprecated */
1929
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1930
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1931
+ uuid: z$1.ZodString;
1932
+ }, "strip", z$1.ZodTypeAny, {
1933
+ uuid: string;
1934
+ labels: string[];
1935
+ }, {
1936
+ uuid: string;
1937
+ labels: string[];
1938
+ }>>;
1939
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1940
+ /** Toolkit information */
1941
+ toolkit: z$1.ZodObject<{
1942
+ slug: z$1.ZodString;
1943
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1944
+ slug: z$1.ZodString;
1945
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1946
+ slug: z$1.ZodString;
1947
+ }, z$1.ZodTypeAny, "passthrough">>;
1948
+ /** Auth config details */
1949
+ auth_config: z$1.ZodObject<{
1950
+ /** The nano ID of the auth config */
1951
+ id: z$1.ZodString;
1952
+ /** @deprecated - use state.authScheme instead */
1953
+ auth_scheme: z$1.ZodNativeEnum<{
1954
+ readonly OAUTH1: "OAUTH1";
1955
+ readonly OAUTH2: "OAUTH2";
1956
+ readonly API_KEY: "API_KEY";
1957
+ readonly BASIC: "BASIC";
1958
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1959
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1960
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1961
+ readonly NO_AUTH: "NO_AUTH";
1962
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1963
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1964
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1965
+ readonly SAML: "SAML";
1966
+ readonly DCR_OAUTH: "DCR_OAUTH";
1967
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
1968
+ }>;
1969
+ /** Whether this auth config is managed by Composio */
1970
+ is_composio_managed: z$1.ZodBoolean;
1971
+ /** Whether the auth config is disabled */
1972
+ is_disabled: z$1.ZodBoolean;
1973
+ /** @deprecated */
1974
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1975
+ uuid: z$1.ZodString;
1976
+ }, "strip", z$1.ZodTypeAny, {
1977
+ uuid: string;
1978
+ }, {
1979
+ uuid: string;
1980
+ }>>;
1981
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1982
+ /** The nano ID of the auth config */
1983
+ id: z$1.ZodString;
1984
+ /** @deprecated - use state.authScheme instead */
1985
+ auth_scheme: z$1.ZodNativeEnum<{
1986
+ readonly OAUTH1: "OAUTH1";
1987
+ readonly OAUTH2: "OAUTH2";
1988
+ readonly API_KEY: "API_KEY";
1989
+ readonly BASIC: "BASIC";
1990
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
1991
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
1992
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
1993
+ readonly NO_AUTH: "NO_AUTH";
1994
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
1995
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
1996
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1997
+ readonly SAML: "SAML";
1998
+ readonly DCR_OAUTH: "DCR_OAUTH";
1999
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2000
+ }>;
2001
+ /** Whether this auth config is managed by Composio */
2002
+ is_composio_managed: z$1.ZodBoolean;
2003
+ /** Whether the auth config is disabled */
2004
+ is_disabled: z$1.ZodBoolean;
2005
+ /** @deprecated */
2006
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2007
+ uuid: z$1.ZodString;
2008
+ }, "strip", z$1.ZodTypeAny, {
2009
+ uuid: string;
2010
+ }, {
2011
+ uuid: string;
2012
+ }>>;
2013
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2014
+ /** The nano ID of the auth config */
2015
+ id: z$1.ZodString;
2016
+ /** @deprecated - use state.authScheme instead */
2017
+ auth_scheme: z$1.ZodNativeEnum<{
2018
+ readonly OAUTH1: "OAUTH1";
2019
+ readonly OAUTH2: "OAUTH2";
2020
+ readonly API_KEY: "API_KEY";
2021
+ readonly BASIC: "BASIC";
2022
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2023
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2024
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2025
+ readonly NO_AUTH: "NO_AUTH";
2026
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2027
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2028
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2029
+ readonly SAML: "SAML";
2030
+ readonly DCR_OAUTH: "DCR_OAUTH";
2031
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2032
+ }>;
2033
+ /** Whether this auth config is managed by Composio */
2034
+ is_composio_managed: z$1.ZodBoolean;
2035
+ /** Whether the auth config is disabled */
2036
+ is_disabled: z$1.ZodBoolean;
2037
+ /** @deprecated */
2038
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2039
+ uuid: z$1.ZodString;
2040
+ }, "strip", z$1.ZodTypeAny, {
2041
+ uuid: string;
2042
+ }, {
2043
+ uuid: string;
2044
+ }>>;
2045
+ }, z$1.ZodTypeAny, "passthrough">>;
2046
+ /** The nano ID of the connected account */
2047
+ id: z$1.ZodString;
2048
+ /** @deprecated - user ID of the connection owner */
2049
+ user_id: z$1.ZodString;
2050
+ /** Connection status */
2051
+ status: z$1.ZodNativeEnum<{
2052
+ readonly INITIALIZING: "INITIALIZING";
2053
+ readonly INITIATED: "INITIATED";
2054
+ readonly ACTIVE: "ACTIVE";
2055
+ readonly FAILED: "FAILED";
2056
+ readonly EXPIRED: "EXPIRED";
2057
+ readonly INACTIVE: "INACTIVE";
2058
+ }>;
2059
+ /** ISO-8601 timestamp of creation */
2060
+ created_at: z$1.ZodString;
2061
+ /** ISO-8601 timestamp of last update */
2062
+ updated_at: z$1.ZodString;
2063
+ /** Connection state data (auth scheme + state values) */
2064
+ state: z$1.ZodObject<{
2065
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2066
+ authScheme: z$1.ZodNativeEnum<{
2067
+ readonly OAUTH1: "OAUTH1";
2068
+ readonly OAUTH2: "OAUTH2";
2069
+ readonly API_KEY: "API_KEY";
2070
+ readonly BASIC: "BASIC";
2071
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2072
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2073
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2074
+ readonly NO_AUTH: "NO_AUTH";
2075
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2076
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2077
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2078
+ readonly SAML: "SAML";
2079
+ readonly DCR_OAUTH: "DCR_OAUTH";
2080
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2081
+ }>;
2082
+ /** Connection state values - varies by auth scheme */
2083
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2084
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2085
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2086
+ authScheme: z$1.ZodNativeEnum<{
2087
+ readonly OAUTH1: "OAUTH1";
2088
+ readonly OAUTH2: "OAUTH2";
2089
+ readonly API_KEY: "API_KEY";
2090
+ readonly BASIC: "BASIC";
2091
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2092
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2093
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2094
+ readonly NO_AUTH: "NO_AUTH";
2095
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2096
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2097
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2098
+ readonly SAML: "SAML";
2099
+ readonly DCR_OAUTH: "DCR_OAUTH";
2100
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2101
+ }>;
2102
+ /** Connection state values - varies by auth scheme */
2103
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2104
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2105
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2106
+ authScheme: z$1.ZodNativeEnum<{
2107
+ readonly OAUTH1: "OAUTH1";
2108
+ readonly OAUTH2: "OAUTH2";
2109
+ readonly API_KEY: "API_KEY";
2110
+ readonly BASIC: "BASIC";
2111
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2112
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2113
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2114
+ readonly NO_AUTH: "NO_AUTH";
2115
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2116
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2117
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2118
+ readonly SAML: "SAML";
2119
+ readonly DCR_OAUTH: "DCR_OAUTH";
2120
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2121
+ }>;
2122
+ /** Connection state values - varies by auth scheme */
2123
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2124
+ }, z$1.ZodTypeAny, "passthrough">>;
2125
+ /** @deprecated - use state instead */
2126
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2127
+ /** @deprecated - use state instead */
2128
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2129
+ /** Reason for the current status (e.g., expiration reason) */
2130
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2131
+ /** Whether the connection is disabled */
2132
+ is_disabled: z$1.ZodBoolean;
2133
+ /** Endpoint for making test requests */
2134
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2135
+ /** @deprecated */
2136
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2137
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2138
+ uuid: z$1.ZodString;
2139
+ }, "strip", z$1.ZodTypeAny, {
2140
+ uuid: string;
2141
+ labels: string[];
2142
+ }, {
2143
+ uuid: string;
2144
+ labels: string[];
2145
+ }>>;
2146
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2147
+ /** Toolkit information */
2148
+ toolkit: z$1.ZodObject<{
2149
+ slug: z$1.ZodString;
2150
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2151
+ slug: z$1.ZodString;
2152
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2153
+ slug: z$1.ZodString;
2154
+ }, z$1.ZodTypeAny, "passthrough">>;
2155
+ /** Auth config details */
2156
+ auth_config: z$1.ZodObject<{
2157
+ /** The nano ID of the auth config */
2158
+ id: z$1.ZodString;
2159
+ /** @deprecated - use state.authScheme instead */
2160
+ auth_scheme: z$1.ZodNativeEnum<{
2161
+ readonly OAUTH1: "OAUTH1";
2162
+ readonly OAUTH2: "OAUTH2";
2163
+ readonly API_KEY: "API_KEY";
2164
+ readonly BASIC: "BASIC";
2165
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2166
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2167
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2168
+ readonly NO_AUTH: "NO_AUTH";
2169
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2170
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2171
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2172
+ readonly SAML: "SAML";
2173
+ readonly DCR_OAUTH: "DCR_OAUTH";
2174
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2175
+ }>;
2176
+ /** Whether this auth config is managed by Composio */
2177
+ is_composio_managed: z$1.ZodBoolean;
2178
+ /** Whether the auth config is disabled */
2179
+ is_disabled: z$1.ZodBoolean;
2180
+ /** @deprecated */
2181
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2182
+ uuid: z$1.ZodString;
2183
+ }, "strip", z$1.ZodTypeAny, {
2184
+ uuid: string;
2185
+ }, {
2186
+ uuid: string;
2187
+ }>>;
2188
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2189
+ /** The nano ID of the auth config */
2190
+ id: z$1.ZodString;
2191
+ /** @deprecated - use state.authScheme instead */
2192
+ auth_scheme: z$1.ZodNativeEnum<{
2193
+ readonly OAUTH1: "OAUTH1";
2194
+ readonly OAUTH2: "OAUTH2";
2195
+ readonly API_KEY: "API_KEY";
2196
+ readonly BASIC: "BASIC";
2197
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2198
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2199
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2200
+ readonly NO_AUTH: "NO_AUTH";
2201
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2202
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2203
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2204
+ readonly SAML: "SAML";
2205
+ readonly DCR_OAUTH: "DCR_OAUTH";
2206
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2207
+ }>;
2208
+ /** Whether this auth config is managed by Composio */
2209
+ is_composio_managed: z$1.ZodBoolean;
2210
+ /** Whether the auth config is disabled */
2211
+ is_disabled: z$1.ZodBoolean;
2212
+ /** @deprecated */
2213
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2214
+ uuid: z$1.ZodString;
2215
+ }, "strip", z$1.ZodTypeAny, {
2216
+ uuid: string;
2217
+ }, {
2218
+ uuid: string;
2219
+ }>>;
2220
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2221
+ /** The nano ID of the auth config */
2222
+ id: z$1.ZodString;
2223
+ /** @deprecated - use state.authScheme instead */
2224
+ auth_scheme: z$1.ZodNativeEnum<{
2225
+ readonly OAUTH1: "OAUTH1";
2226
+ readonly OAUTH2: "OAUTH2";
2227
+ readonly API_KEY: "API_KEY";
2228
+ readonly BASIC: "BASIC";
2229
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2230
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2231
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2232
+ readonly NO_AUTH: "NO_AUTH";
2233
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2234
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2235
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2236
+ readonly SAML: "SAML";
2237
+ readonly DCR_OAUTH: "DCR_OAUTH";
2238
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2239
+ }>;
2240
+ /** Whether this auth config is managed by Composio */
2241
+ is_composio_managed: z$1.ZodBoolean;
2242
+ /** Whether the auth config is disabled */
2243
+ is_disabled: z$1.ZodBoolean;
2244
+ /** @deprecated */
2245
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2246
+ uuid: z$1.ZodString;
2247
+ }, "strip", z$1.ZodTypeAny, {
2248
+ uuid: string;
2249
+ }, {
2250
+ uuid: string;
2251
+ }>>;
2252
+ }, z$1.ZodTypeAny, "passthrough">>;
2253
+ /** The nano ID of the connected account */
2254
+ id: z$1.ZodString;
2255
+ /** @deprecated - user ID of the connection owner */
2256
+ user_id: z$1.ZodString;
2257
+ /** Connection status */
2258
+ status: z$1.ZodNativeEnum<{
2259
+ readonly INITIALIZING: "INITIALIZING";
2260
+ readonly INITIATED: "INITIATED";
2261
+ readonly ACTIVE: "ACTIVE";
2262
+ readonly FAILED: "FAILED";
2263
+ readonly EXPIRED: "EXPIRED";
2264
+ readonly INACTIVE: "INACTIVE";
2265
+ }>;
2266
+ /** ISO-8601 timestamp of creation */
2267
+ created_at: z$1.ZodString;
2268
+ /** ISO-8601 timestamp of last update */
2269
+ updated_at: z$1.ZodString;
2270
+ /** Connection state data (auth scheme + state values) */
2271
+ state: z$1.ZodObject<{
2272
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2273
+ authScheme: z$1.ZodNativeEnum<{
2274
+ readonly OAUTH1: "OAUTH1";
2275
+ readonly OAUTH2: "OAUTH2";
2276
+ readonly API_KEY: "API_KEY";
2277
+ readonly BASIC: "BASIC";
2278
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2279
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2280
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2281
+ readonly NO_AUTH: "NO_AUTH";
2282
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2283
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2284
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2285
+ readonly SAML: "SAML";
2286
+ readonly DCR_OAUTH: "DCR_OAUTH";
2287
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2288
+ }>;
2289
+ /** Connection state values - varies by auth scheme */
2290
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2291
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2292
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2293
+ authScheme: z$1.ZodNativeEnum<{
2294
+ readonly OAUTH1: "OAUTH1";
2295
+ readonly OAUTH2: "OAUTH2";
2296
+ readonly API_KEY: "API_KEY";
2297
+ readonly BASIC: "BASIC";
2298
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2299
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2300
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2301
+ readonly NO_AUTH: "NO_AUTH";
2302
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2303
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2304
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2305
+ readonly SAML: "SAML";
2306
+ readonly DCR_OAUTH: "DCR_OAUTH";
2307
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2308
+ }>;
2309
+ /** Connection state values - varies by auth scheme */
2310
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2311
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2312
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2313
+ authScheme: z$1.ZodNativeEnum<{
2314
+ readonly OAUTH1: "OAUTH1";
2315
+ readonly OAUTH2: "OAUTH2";
2316
+ readonly API_KEY: "API_KEY";
2317
+ readonly BASIC: "BASIC";
2318
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2319
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2320
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2321
+ readonly NO_AUTH: "NO_AUTH";
2322
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2323
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2324
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2325
+ readonly SAML: "SAML";
2326
+ readonly DCR_OAUTH: "DCR_OAUTH";
2327
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2328
+ }>;
2329
+ /** Connection state values - varies by auth scheme */
2330
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2331
+ }, z$1.ZodTypeAny, "passthrough">>;
2332
+ /** @deprecated - use state instead */
2333
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2334
+ /** @deprecated - use state instead */
2335
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2336
+ /** Reason for the current status (e.g., expiration reason) */
2337
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2338
+ /** Whether the connection is disabled */
2339
+ is_disabled: z$1.ZodBoolean;
2340
+ /** Endpoint for making test requests */
2341
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2342
+ /** @deprecated */
2343
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2344
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2345
+ uuid: z$1.ZodString;
2346
+ }, "strip", z$1.ZodTypeAny, {
2347
+ uuid: string;
2348
+ labels: string[];
2349
+ }, {
2350
+ uuid: string;
2351
+ labels: string[];
2352
+ }>>;
2353
+ }, z$1.ZodTypeAny, "passthrough">>;
2354
+ /** Event metadata */
2355
+ metadata: z$1.ZodObject<{
2356
+ /** Project nano ID */
2357
+ project_id: z$1.ZodString;
2358
+ /** Organization UUID */
2359
+ org_id: z$1.ZodString;
2360
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2361
+ /** Project nano ID */
2362
+ project_id: z$1.ZodString;
2363
+ /** Organization UUID */
2364
+ org_id: z$1.ZodString;
2365
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2366
+ /** Project nano ID */
2367
+ project_id: z$1.ZodString;
2368
+ /** Organization UUID */
2369
+ org_id: z$1.ZodString;
2370
+ }, z$1.ZodTypeAny, "passthrough">>;
2371
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2372
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
2373
+ id: z$1.ZodString;
2374
+ /** ISO-8601 timestamp of when the event was emitted */
2375
+ timestamp: z$1.ZodString;
2376
+ /** Event type identifier */
2377
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
2378
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
2379
+ data: z$1.ZodObject<{
2380
+ /** Toolkit information */
2381
+ toolkit: z$1.ZodObject<{
2382
+ slug: z$1.ZodString;
2383
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2384
+ slug: z$1.ZodString;
2385
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2386
+ slug: z$1.ZodString;
2387
+ }, z$1.ZodTypeAny, "passthrough">>;
2388
+ /** Auth config details */
2389
+ auth_config: z$1.ZodObject<{
2390
+ /** The nano ID of the auth config */
2391
+ id: z$1.ZodString;
2392
+ /** @deprecated - use state.authScheme instead */
2393
+ auth_scheme: z$1.ZodNativeEnum<{
2394
+ readonly OAUTH1: "OAUTH1";
2395
+ readonly OAUTH2: "OAUTH2";
2396
+ readonly API_KEY: "API_KEY";
2397
+ readonly BASIC: "BASIC";
2398
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2399
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2400
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2401
+ readonly NO_AUTH: "NO_AUTH";
2402
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2403
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2404
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2405
+ readonly SAML: "SAML";
2406
+ readonly DCR_OAUTH: "DCR_OAUTH";
2407
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2408
+ }>;
2409
+ /** Whether this auth config is managed by Composio */
2410
+ is_composio_managed: z$1.ZodBoolean;
2411
+ /** Whether the auth config is disabled */
2412
+ is_disabled: z$1.ZodBoolean;
2413
+ /** @deprecated */
2414
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2415
+ uuid: z$1.ZodString;
2416
+ }, "strip", z$1.ZodTypeAny, {
2417
+ uuid: string;
2418
+ }, {
2419
+ uuid: string;
2420
+ }>>;
2421
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2422
+ /** The nano ID of the auth config */
2423
+ id: z$1.ZodString;
2424
+ /** @deprecated - use state.authScheme instead */
2425
+ auth_scheme: z$1.ZodNativeEnum<{
2426
+ readonly OAUTH1: "OAUTH1";
2427
+ readonly OAUTH2: "OAUTH2";
2428
+ readonly API_KEY: "API_KEY";
2429
+ readonly BASIC: "BASIC";
2430
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2431
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2432
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2433
+ readonly NO_AUTH: "NO_AUTH";
2434
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2435
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2436
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2437
+ readonly SAML: "SAML";
2438
+ readonly DCR_OAUTH: "DCR_OAUTH";
2439
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2440
+ }>;
2441
+ /** Whether this auth config is managed by Composio */
2442
+ is_composio_managed: z$1.ZodBoolean;
2443
+ /** Whether the auth config is disabled */
2444
+ is_disabled: z$1.ZodBoolean;
2445
+ /** @deprecated */
2446
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2447
+ uuid: z$1.ZodString;
2448
+ }, "strip", z$1.ZodTypeAny, {
2449
+ uuid: string;
2450
+ }, {
2451
+ uuid: string;
2452
+ }>>;
2453
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2454
+ /** The nano ID of the auth config */
2455
+ id: z$1.ZodString;
2456
+ /** @deprecated - use state.authScheme instead */
2457
+ auth_scheme: z$1.ZodNativeEnum<{
2458
+ readonly OAUTH1: "OAUTH1";
2459
+ readonly OAUTH2: "OAUTH2";
2460
+ readonly API_KEY: "API_KEY";
2461
+ readonly BASIC: "BASIC";
2462
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2463
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2464
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2465
+ readonly NO_AUTH: "NO_AUTH";
2466
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2467
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2468
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2469
+ readonly SAML: "SAML";
2470
+ readonly DCR_OAUTH: "DCR_OAUTH";
2471
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2472
+ }>;
2473
+ /** Whether this auth config is managed by Composio */
2474
+ is_composio_managed: z$1.ZodBoolean;
2475
+ /** Whether the auth config is disabled */
2476
+ is_disabled: z$1.ZodBoolean;
2477
+ /** @deprecated */
2478
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2479
+ uuid: z$1.ZodString;
2480
+ }, "strip", z$1.ZodTypeAny, {
2481
+ uuid: string;
2482
+ }, {
2483
+ uuid: string;
2484
+ }>>;
2485
+ }, z$1.ZodTypeAny, "passthrough">>;
2486
+ /** The nano ID of the connected account */
2487
+ id: z$1.ZodString;
2488
+ /** @deprecated - user ID of the connection owner */
2489
+ user_id: z$1.ZodString;
2490
+ /** Connection status */
2491
+ status: z$1.ZodNativeEnum<{
2492
+ readonly INITIALIZING: "INITIALIZING";
2493
+ readonly INITIATED: "INITIATED";
2494
+ readonly ACTIVE: "ACTIVE";
2495
+ readonly FAILED: "FAILED";
2496
+ readonly EXPIRED: "EXPIRED";
2497
+ readonly INACTIVE: "INACTIVE";
2498
+ }>;
2499
+ /** ISO-8601 timestamp of creation */
2500
+ created_at: z$1.ZodString;
2501
+ /** ISO-8601 timestamp of last update */
2502
+ updated_at: z$1.ZodString;
2503
+ /** Connection state data (auth scheme + state values) */
2504
+ state: z$1.ZodObject<{
2505
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2506
+ authScheme: z$1.ZodNativeEnum<{
2507
+ readonly OAUTH1: "OAUTH1";
2508
+ readonly OAUTH2: "OAUTH2";
2509
+ readonly API_KEY: "API_KEY";
2510
+ readonly BASIC: "BASIC";
2511
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2512
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2513
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2514
+ readonly NO_AUTH: "NO_AUTH";
2515
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2516
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2517
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2518
+ readonly SAML: "SAML";
2519
+ readonly DCR_OAUTH: "DCR_OAUTH";
2520
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2521
+ }>;
2522
+ /** Connection state values - varies by auth scheme */
2523
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2524
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2525
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2526
+ authScheme: z$1.ZodNativeEnum<{
2527
+ readonly OAUTH1: "OAUTH1";
2528
+ readonly OAUTH2: "OAUTH2";
2529
+ readonly API_KEY: "API_KEY";
2530
+ readonly BASIC: "BASIC";
2531
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2532
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2533
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2534
+ readonly NO_AUTH: "NO_AUTH";
2535
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2536
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2537
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2538
+ readonly SAML: "SAML";
2539
+ readonly DCR_OAUTH: "DCR_OAUTH";
2540
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2541
+ }>;
2542
+ /** Connection state values - varies by auth scheme */
2543
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2544
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2545
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2546
+ authScheme: z$1.ZodNativeEnum<{
2547
+ readonly OAUTH1: "OAUTH1";
2548
+ readonly OAUTH2: "OAUTH2";
2549
+ readonly API_KEY: "API_KEY";
2550
+ readonly BASIC: "BASIC";
2551
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2552
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2553
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2554
+ readonly NO_AUTH: "NO_AUTH";
2555
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2556
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2557
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2558
+ readonly SAML: "SAML";
2559
+ readonly DCR_OAUTH: "DCR_OAUTH";
2560
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2561
+ }>;
2562
+ /** Connection state values - varies by auth scheme */
2563
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2564
+ }, z$1.ZodTypeAny, "passthrough">>;
2565
+ /** @deprecated - use state instead */
2566
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2567
+ /** @deprecated - use state instead */
2568
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2569
+ /** Reason for the current status (e.g., expiration reason) */
2570
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2571
+ /** Whether the connection is disabled */
2572
+ is_disabled: z$1.ZodBoolean;
2573
+ /** Endpoint for making test requests */
2574
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2575
+ /** @deprecated */
2576
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2577
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2578
+ uuid: z$1.ZodString;
2579
+ }, "strip", z$1.ZodTypeAny, {
2580
+ uuid: string;
2581
+ labels: string[];
2582
+ }, {
2583
+ uuid: string;
2584
+ labels: string[];
2585
+ }>>;
2586
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2587
+ /** Toolkit information */
2588
+ toolkit: z$1.ZodObject<{
2589
+ slug: z$1.ZodString;
2590
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2591
+ slug: z$1.ZodString;
2592
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2593
+ slug: z$1.ZodString;
2594
+ }, z$1.ZodTypeAny, "passthrough">>;
2595
+ /** Auth config details */
2596
+ auth_config: z$1.ZodObject<{
2597
+ /** The nano ID of the auth config */
2598
+ id: z$1.ZodString;
2599
+ /** @deprecated - use state.authScheme instead */
2600
+ auth_scheme: z$1.ZodNativeEnum<{
2601
+ readonly OAUTH1: "OAUTH1";
2602
+ readonly OAUTH2: "OAUTH2";
2603
+ readonly API_KEY: "API_KEY";
2604
+ readonly BASIC: "BASIC";
2605
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2606
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2607
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2608
+ readonly NO_AUTH: "NO_AUTH";
2609
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2610
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2611
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2612
+ readonly SAML: "SAML";
2613
+ readonly DCR_OAUTH: "DCR_OAUTH";
2614
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2615
+ }>;
2616
+ /** Whether this auth config is managed by Composio */
2617
+ is_composio_managed: z$1.ZodBoolean;
2618
+ /** Whether the auth config is disabled */
2619
+ is_disabled: z$1.ZodBoolean;
2620
+ /** @deprecated */
2621
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2622
+ uuid: z$1.ZodString;
2623
+ }, "strip", z$1.ZodTypeAny, {
2624
+ uuid: string;
2625
+ }, {
2626
+ uuid: string;
2627
+ }>>;
2628
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2629
+ /** The nano ID of the auth config */
2630
+ id: z$1.ZodString;
2631
+ /** @deprecated - use state.authScheme instead */
2632
+ auth_scheme: z$1.ZodNativeEnum<{
2633
+ readonly OAUTH1: "OAUTH1";
2634
+ readonly OAUTH2: "OAUTH2";
2635
+ readonly API_KEY: "API_KEY";
2636
+ readonly BASIC: "BASIC";
2637
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2638
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2639
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2640
+ readonly NO_AUTH: "NO_AUTH";
2641
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2642
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2643
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2644
+ readonly SAML: "SAML";
2645
+ readonly DCR_OAUTH: "DCR_OAUTH";
2646
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2647
+ }>;
2648
+ /** Whether this auth config is managed by Composio */
2649
+ is_composio_managed: z$1.ZodBoolean;
2650
+ /** Whether the auth config is disabled */
2651
+ is_disabled: z$1.ZodBoolean;
2652
+ /** @deprecated */
2653
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2654
+ uuid: z$1.ZodString;
2655
+ }, "strip", z$1.ZodTypeAny, {
2656
+ uuid: string;
2657
+ }, {
2658
+ uuid: string;
2659
+ }>>;
2660
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2661
+ /** The nano ID of the auth config */
2662
+ id: z$1.ZodString;
2663
+ /** @deprecated - use state.authScheme instead */
2664
+ auth_scheme: z$1.ZodNativeEnum<{
2665
+ readonly OAUTH1: "OAUTH1";
2666
+ readonly OAUTH2: "OAUTH2";
2667
+ readonly API_KEY: "API_KEY";
2668
+ readonly BASIC: "BASIC";
2669
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2670
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2671
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2672
+ readonly NO_AUTH: "NO_AUTH";
2673
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2674
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2675
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2676
+ readonly SAML: "SAML";
2677
+ readonly DCR_OAUTH: "DCR_OAUTH";
2678
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2679
+ }>;
2680
+ /** Whether this auth config is managed by Composio */
2681
+ is_composio_managed: z$1.ZodBoolean;
2682
+ /** Whether the auth config is disabled */
2683
+ is_disabled: z$1.ZodBoolean;
2684
+ /** @deprecated */
2685
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2686
+ uuid: z$1.ZodString;
2687
+ }, "strip", z$1.ZodTypeAny, {
2688
+ uuid: string;
2689
+ }, {
2690
+ uuid: string;
2691
+ }>>;
2692
+ }, z$1.ZodTypeAny, "passthrough">>;
2693
+ /** The nano ID of the connected account */
2694
+ id: z$1.ZodString;
2695
+ /** @deprecated - user ID of the connection owner */
2696
+ user_id: z$1.ZodString;
2697
+ /** Connection status */
2698
+ status: z$1.ZodNativeEnum<{
2699
+ readonly INITIALIZING: "INITIALIZING";
2700
+ readonly INITIATED: "INITIATED";
2701
+ readonly ACTIVE: "ACTIVE";
2702
+ readonly FAILED: "FAILED";
2703
+ readonly EXPIRED: "EXPIRED";
2704
+ readonly INACTIVE: "INACTIVE";
2705
+ }>;
2706
+ /** ISO-8601 timestamp of creation */
2707
+ created_at: z$1.ZodString;
2708
+ /** ISO-8601 timestamp of last update */
2709
+ updated_at: z$1.ZodString;
2710
+ /** Connection state data (auth scheme + state values) */
2711
+ state: z$1.ZodObject<{
2712
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2713
+ authScheme: z$1.ZodNativeEnum<{
2714
+ readonly OAUTH1: "OAUTH1";
2715
+ readonly OAUTH2: "OAUTH2";
2716
+ readonly API_KEY: "API_KEY";
2717
+ readonly BASIC: "BASIC";
2718
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2719
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2720
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2721
+ readonly NO_AUTH: "NO_AUTH";
2722
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2723
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2724
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2725
+ readonly SAML: "SAML";
2726
+ readonly DCR_OAUTH: "DCR_OAUTH";
2727
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2728
+ }>;
2729
+ /** Connection state values - varies by auth scheme */
2730
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2731
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2732
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2733
+ authScheme: z$1.ZodNativeEnum<{
2734
+ readonly OAUTH1: "OAUTH1";
2735
+ readonly OAUTH2: "OAUTH2";
2736
+ readonly API_KEY: "API_KEY";
2737
+ readonly BASIC: "BASIC";
2738
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2739
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2740
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2741
+ readonly NO_AUTH: "NO_AUTH";
2742
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2743
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2744
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2745
+ readonly SAML: "SAML";
2746
+ readonly DCR_OAUTH: "DCR_OAUTH";
2747
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2748
+ }>;
2749
+ /** Connection state values - varies by auth scheme */
2750
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2751
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2752
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2753
+ authScheme: z$1.ZodNativeEnum<{
2754
+ readonly OAUTH1: "OAUTH1";
2755
+ readonly OAUTH2: "OAUTH2";
2756
+ readonly API_KEY: "API_KEY";
2757
+ readonly BASIC: "BASIC";
2758
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2759
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2760
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2761
+ readonly NO_AUTH: "NO_AUTH";
2762
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2763
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2764
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2765
+ readonly SAML: "SAML";
2766
+ readonly DCR_OAUTH: "DCR_OAUTH";
2767
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2768
+ }>;
2769
+ /** Connection state values - varies by auth scheme */
2770
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2771
+ }, z$1.ZodTypeAny, "passthrough">>;
2772
+ /** @deprecated - use state instead */
2773
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2774
+ /** @deprecated - use state instead */
2775
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2776
+ /** Reason for the current status (e.g., expiration reason) */
2777
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2778
+ /** Whether the connection is disabled */
2779
+ is_disabled: z$1.ZodBoolean;
2780
+ /** Endpoint for making test requests */
2781
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2782
+ /** @deprecated */
2783
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2784
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2785
+ uuid: z$1.ZodString;
2786
+ }, "strip", z$1.ZodTypeAny, {
2787
+ uuid: string;
2788
+ labels: string[];
2789
+ }, {
2790
+ uuid: string;
2791
+ labels: string[];
2792
+ }>>;
2793
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2794
+ /** Toolkit information */
2795
+ toolkit: z$1.ZodObject<{
2796
+ slug: z$1.ZodString;
2797
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2798
+ slug: z$1.ZodString;
2799
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2800
+ slug: z$1.ZodString;
2801
+ }, z$1.ZodTypeAny, "passthrough">>;
2802
+ /** Auth config details */
2803
+ auth_config: z$1.ZodObject<{
2804
+ /** The nano ID of the auth config */
2805
+ id: z$1.ZodString;
2806
+ /** @deprecated - use state.authScheme instead */
2807
+ auth_scheme: z$1.ZodNativeEnum<{
2808
+ readonly OAUTH1: "OAUTH1";
2809
+ readonly OAUTH2: "OAUTH2";
2810
+ readonly API_KEY: "API_KEY";
2811
+ readonly BASIC: "BASIC";
2812
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2813
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2814
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2815
+ readonly NO_AUTH: "NO_AUTH";
2816
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2817
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2818
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2819
+ readonly SAML: "SAML";
2820
+ readonly DCR_OAUTH: "DCR_OAUTH";
2821
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2822
+ }>;
2823
+ /** Whether this auth config is managed by Composio */
2824
+ is_composio_managed: z$1.ZodBoolean;
2825
+ /** Whether the auth config is disabled */
2826
+ is_disabled: z$1.ZodBoolean;
2827
+ /** @deprecated */
2828
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2829
+ uuid: z$1.ZodString;
2830
+ }, "strip", z$1.ZodTypeAny, {
2831
+ uuid: string;
2832
+ }, {
2833
+ uuid: string;
2834
+ }>>;
2835
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2836
+ /** The nano ID of the auth config */
2837
+ id: z$1.ZodString;
2838
+ /** @deprecated - use state.authScheme instead */
2839
+ auth_scheme: z$1.ZodNativeEnum<{
2840
+ readonly OAUTH1: "OAUTH1";
2841
+ readonly OAUTH2: "OAUTH2";
2842
+ readonly API_KEY: "API_KEY";
2843
+ readonly BASIC: "BASIC";
2844
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2845
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2846
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2847
+ readonly NO_AUTH: "NO_AUTH";
2848
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2849
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2850
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2851
+ readonly SAML: "SAML";
2852
+ readonly DCR_OAUTH: "DCR_OAUTH";
2853
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2854
+ }>;
2855
+ /** Whether this auth config is managed by Composio */
2856
+ is_composio_managed: z$1.ZodBoolean;
2857
+ /** Whether the auth config is disabled */
2858
+ is_disabled: z$1.ZodBoolean;
2859
+ /** @deprecated */
2860
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2861
+ uuid: z$1.ZodString;
2862
+ }, "strip", z$1.ZodTypeAny, {
2863
+ uuid: string;
2864
+ }, {
2865
+ uuid: string;
2866
+ }>>;
2867
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2868
+ /** The nano ID of the auth config */
2869
+ id: z$1.ZodString;
2870
+ /** @deprecated - use state.authScheme instead */
2871
+ auth_scheme: z$1.ZodNativeEnum<{
2872
+ readonly OAUTH1: "OAUTH1";
2873
+ readonly OAUTH2: "OAUTH2";
2874
+ readonly API_KEY: "API_KEY";
2875
+ readonly BASIC: "BASIC";
2876
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2877
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2878
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2879
+ readonly NO_AUTH: "NO_AUTH";
2880
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2881
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2882
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2883
+ readonly SAML: "SAML";
2884
+ readonly DCR_OAUTH: "DCR_OAUTH";
2885
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2886
+ }>;
2887
+ /** Whether this auth config is managed by Composio */
2888
+ is_composio_managed: z$1.ZodBoolean;
2889
+ /** Whether the auth config is disabled */
2890
+ is_disabled: z$1.ZodBoolean;
2891
+ /** @deprecated */
2892
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2893
+ uuid: z$1.ZodString;
2894
+ }, "strip", z$1.ZodTypeAny, {
2895
+ uuid: string;
2896
+ }, {
2897
+ uuid: string;
2898
+ }>>;
2899
+ }, z$1.ZodTypeAny, "passthrough">>;
2900
+ /** The nano ID of the connected account */
2901
+ id: z$1.ZodString;
2902
+ /** @deprecated - user ID of the connection owner */
2903
+ user_id: z$1.ZodString;
2904
+ /** Connection status */
2905
+ status: z$1.ZodNativeEnum<{
2906
+ readonly INITIALIZING: "INITIALIZING";
2907
+ readonly INITIATED: "INITIATED";
2908
+ readonly ACTIVE: "ACTIVE";
2909
+ readonly FAILED: "FAILED";
2910
+ readonly EXPIRED: "EXPIRED";
2911
+ readonly INACTIVE: "INACTIVE";
2912
+ }>;
2913
+ /** ISO-8601 timestamp of creation */
2914
+ created_at: z$1.ZodString;
2915
+ /** ISO-8601 timestamp of last update */
2916
+ updated_at: z$1.ZodString;
2917
+ /** Connection state data (auth scheme + state values) */
2918
+ state: z$1.ZodObject<{
2919
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2920
+ authScheme: z$1.ZodNativeEnum<{
2921
+ readonly OAUTH1: "OAUTH1";
2922
+ readonly OAUTH2: "OAUTH2";
2923
+ readonly API_KEY: "API_KEY";
2924
+ readonly BASIC: "BASIC";
2925
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2926
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2927
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2928
+ readonly NO_AUTH: "NO_AUTH";
2929
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2930
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2931
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2932
+ readonly SAML: "SAML";
2933
+ readonly DCR_OAUTH: "DCR_OAUTH";
2934
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2935
+ }>;
2936
+ /** Connection state values - varies by auth scheme */
2937
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2938
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2939
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2940
+ authScheme: z$1.ZodNativeEnum<{
2941
+ readonly OAUTH1: "OAUTH1";
2942
+ readonly OAUTH2: "OAUTH2";
2943
+ readonly API_KEY: "API_KEY";
2944
+ readonly BASIC: "BASIC";
2945
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2946
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2947
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2948
+ readonly NO_AUTH: "NO_AUTH";
2949
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2950
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2951
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2952
+ readonly SAML: "SAML";
2953
+ readonly DCR_OAUTH: "DCR_OAUTH";
2954
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2955
+ }>;
2956
+ /** Connection state values - varies by auth scheme */
2957
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2958
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2959
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2960
+ authScheme: z$1.ZodNativeEnum<{
2961
+ readonly OAUTH1: "OAUTH1";
2962
+ readonly OAUTH2: "OAUTH2";
2963
+ readonly API_KEY: "API_KEY";
2964
+ readonly BASIC: "BASIC";
2965
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
2966
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
2967
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
2968
+ readonly NO_AUTH: "NO_AUTH";
2969
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
2970
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
2971
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
2972
+ readonly SAML: "SAML";
2973
+ readonly DCR_OAUTH: "DCR_OAUTH";
2974
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
2975
+ }>;
2976
+ /** Connection state values - varies by auth scheme */
2977
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2978
+ }, z$1.ZodTypeAny, "passthrough">>;
2979
+ /** @deprecated - use state instead */
2980
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2981
+ /** @deprecated - use state instead */
2982
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2983
+ /** Reason for the current status (e.g., expiration reason) */
2984
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2985
+ /** Whether the connection is disabled */
2986
+ is_disabled: z$1.ZodBoolean;
2987
+ /** Endpoint for making test requests */
2988
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2989
+ /** @deprecated */
2990
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2991
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2992
+ uuid: z$1.ZodString;
2993
+ }, "strip", z$1.ZodTypeAny, {
2994
+ uuid: string;
2995
+ labels: string[];
2996
+ }, {
2997
+ uuid: string;
2998
+ labels: string[];
2999
+ }>>;
3000
+ }, z$1.ZodTypeAny, "passthrough">>;
3001
+ /** Event metadata */
3002
+ metadata: z$1.ZodObject<{
3003
+ /** Project nano ID */
3004
+ project_id: z$1.ZodString;
3005
+ /** Organization UUID */
3006
+ org_id: z$1.ZodString;
3007
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3008
+ /** Project nano ID */
3009
+ project_id: z$1.ZodString;
3010
+ /** Organization UUID */
3011
+ org_id: z$1.ZodString;
3012
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3013
+ /** Project nano ID */
3014
+ project_id: z$1.ZodString;
3015
+ /** Organization UUID */
3016
+ org_id: z$1.ZodString;
3017
+ }, z$1.ZodTypeAny, "passthrough">>;
3018
+ }, z$1.ZodTypeAny, "passthrough">>;
3019
+ type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
3020
+ /**
3021
+ * Union of all typed webhook event schemas.
3022
+ * Extend this as new event types are added.
3023
+ *
3024
+ * Note: This covers specific known event types with strict validation.
3025
+ * For unknown or new event types, use WebhookPayloadV3Schema from
3026
+ * triggers.types.ts which accepts any composio.* event with loose validation.
3027
+ *
3028
+ * Trigger events (composio.trigger.message) are handled through the
3029
+ * WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
3030
+ */
3031
+ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
3032
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
3033
+ id: z$1.ZodString;
3034
+ /** ISO-8601 timestamp of when the event was emitted */
3035
+ timestamp: z$1.ZodString;
3036
+ /** Event type identifier */
3037
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
3038
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
3039
+ data: z$1.ZodObject<{
3040
+ /** Toolkit information */
3041
+ toolkit: z$1.ZodObject<{
3042
+ slug: z$1.ZodString;
3043
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3044
+ slug: z$1.ZodString;
3045
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3046
+ slug: z$1.ZodString;
3047
+ }, z$1.ZodTypeAny, "passthrough">>;
3048
+ /** Auth config details */
3049
+ auth_config: z$1.ZodObject<{
3050
+ /** The nano ID of the auth config */
3051
+ id: z$1.ZodString;
3052
+ /** @deprecated - use state.authScheme instead */
3053
+ auth_scheme: z$1.ZodNativeEnum<{
3054
+ readonly OAUTH1: "OAUTH1";
3055
+ readonly OAUTH2: "OAUTH2";
3056
+ readonly API_KEY: "API_KEY";
3057
+ readonly BASIC: "BASIC";
3058
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3059
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3060
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3061
+ readonly NO_AUTH: "NO_AUTH";
3062
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3063
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3064
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3065
+ readonly SAML: "SAML";
3066
+ readonly DCR_OAUTH: "DCR_OAUTH";
3067
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3068
+ }>;
3069
+ /** Whether this auth config is managed by Composio */
3070
+ is_composio_managed: z$1.ZodBoolean;
3071
+ /** Whether the auth config is disabled */
3072
+ is_disabled: z$1.ZodBoolean;
3073
+ /** @deprecated */
3074
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3075
+ uuid: z$1.ZodString;
3076
+ }, "strip", z$1.ZodTypeAny, {
3077
+ uuid: string;
3078
+ }, {
3079
+ uuid: string;
3080
+ }>>;
3081
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3082
+ /** The nano ID of the auth config */
3083
+ id: z$1.ZodString;
3084
+ /** @deprecated - use state.authScheme instead */
3085
+ auth_scheme: z$1.ZodNativeEnum<{
3086
+ readonly OAUTH1: "OAUTH1";
3087
+ readonly OAUTH2: "OAUTH2";
3088
+ readonly API_KEY: "API_KEY";
3089
+ readonly BASIC: "BASIC";
3090
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3091
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3092
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3093
+ readonly NO_AUTH: "NO_AUTH";
3094
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3095
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3096
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3097
+ readonly SAML: "SAML";
3098
+ readonly DCR_OAUTH: "DCR_OAUTH";
3099
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3100
+ }>;
3101
+ /** Whether this auth config is managed by Composio */
3102
+ is_composio_managed: z$1.ZodBoolean;
3103
+ /** Whether the auth config is disabled */
3104
+ is_disabled: z$1.ZodBoolean;
3105
+ /** @deprecated */
3106
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3107
+ uuid: z$1.ZodString;
3108
+ }, "strip", z$1.ZodTypeAny, {
3109
+ uuid: string;
3110
+ }, {
3111
+ uuid: string;
3112
+ }>>;
3113
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3114
+ /** The nano ID of the auth config */
3115
+ id: z$1.ZodString;
3116
+ /** @deprecated - use state.authScheme instead */
3117
+ auth_scheme: z$1.ZodNativeEnum<{
3118
+ readonly OAUTH1: "OAUTH1";
3119
+ readonly OAUTH2: "OAUTH2";
3120
+ readonly API_KEY: "API_KEY";
3121
+ readonly BASIC: "BASIC";
3122
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3123
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3124
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3125
+ readonly NO_AUTH: "NO_AUTH";
3126
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3127
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3128
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3129
+ readonly SAML: "SAML";
3130
+ readonly DCR_OAUTH: "DCR_OAUTH";
3131
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3132
+ }>;
3133
+ /** Whether this auth config is managed by Composio */
3134
+ is_composio_managed: z$1.ZodBoolean;
3135
+ /** Whether the auth config is disabled */
3136
+ is_disabled: z$1.ZodBoolean;
3137
+ /** @deprecated */
3138
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3139
+ uuid: z$1.ZodString;
3140
+ }, "strip", z$1.ZodTypeAny, {
3141
+ uuid: string;
3142
+ }, {
3143
+ uuid: string;
3144
+ }>>;
3145
+ }, z$1.ZodTypeAny, "passthrough">>;
3146
+ /** The nano ID of the connected account */
3147
+ id: z$1.ZodString;
3148
+ /** @deprecated - user ID of the connection owner */
3149
+ user_id: z$1.ZodString;
3150
+ /** Connection status */
3151
+ status: z$1.ZodNativeEnum<{
3152
+ readonly INITIALIZING: "INITIALIZING";
3153
+ readonly INITIATED: "INITIATED";
3154
+ readonly ACTIVE: "ACTIVE";
3155
+ readonly FAILED: "FAILED";
3156
+ readonly EXPIRED: "EXPIRED";
3157
+ readonly INACTIVE: "INACTIVE";
3158
+ }>;
3159
+ /** ISO-8601 timestamp of creation */
3160
+ created_at: z$1.ZodString;
3161
+ /** ISO-8601 timestamp of last update */
3162
+ updated_at: z$1.ZodString;
3163
+ /** Connection state data (auth scheme + state values) */
3164
+ state: z$1.ZodObject<{
3165
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3166
+ authScheme: z$1.ZodNativeEnum<{
3167
+ readonly OAUTH1: "OAUTH1";
3168
+ readonly OAUTH2: "OAUTH2";
3169
+ readonly API_KEY: "API_KEY";
3170
+ readonly BASIC: "BASIC";
3171
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3172
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3173
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3174
+ readonly NO_AUTH: "NO_AUTH";
3175
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3176
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3177
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3178
+ readonly SAML: "SAML";
3179
+ readonly DCR_OAUTH: "DCR_OAUTH";
3180
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3181
+ }>;
3182
+ /** Connection state values - varies by auth scheme */
3183
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3184
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3185
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3186
+ authScheme: z$1.ZodNativeEnum<{
3187
+ readonly OAUTH1: "OAUTH1";
3188
+ readonly OAUTH2: "OAUTH2";
3189
+ readonly API_KEY: "API_KEY";
3190
+ readonly BASIC: "BASIC";
3191
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3192
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3193
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3194
+ readonly NO_AUTH: "NO_AUTH";
3195
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3196
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3197
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3198
+ readonly SAML: "SAML";
3199
+ readonly DCR_OAUTH: "DCR_OAUTH";
3200
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3201
+ }>;
3202
+ /** Connection state values - varies by auth scheme */
3203
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3204
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3205
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3206
+ authScheme: z$1.ZodNativeEnum<{
3207
+ readonly OAUTH1: "OAUTH1";
3208
+ readonly OAUTH2: "OAUTH2";
3209
+ readonly API_KEY: "API_KEY";
3210
+ readonly BASIC: "BASIC";
3211
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3212
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3213
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3214
+ readonly NO_AUTH: "NO_AUTH";
3215
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3216
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3217
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3218
+ readonly SAML: "SAML";
3219
+ readonly DCR_OAUTH: "DCR_OAUTH";
3220
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3221
+ }>;
3222
+ /** Connection state values - varies by auth scheme */
3223
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3224
+ }, z$1.ZodTypeAny, "passthrough">>;
3225
+ /** @deprecated - use state instead */
3226
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3227
+ /** @deprecated - use state instead */
3228
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3229
+ /** Reason for the current status (e.g., expiration reason) */
3230
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
3231
+ /** Whether the connection is disabled */
3232
+ is_disabled: z$1.ZodBoolean;
3233
+ /** Endpoint for making test requests */
3234
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
3235
+ /** @deprecated */
3236
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3237
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3238
+ uuid: z$1.ZodString;
3239
+ }, "strip", z$1.ZodTypeAny, {
3240
+ uuid: string;
3241
+ labels: string[];
3242
+ }, {
3243
+ uuid: string;
3244
+ labels: string[];
3245
+ }>>;
3246
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3247
+ /** Toolkit information */
3248
+ toolkit: z$1.ZodObject<{
3249
+ slug: z$1.ZodString;
3250
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3251
+ slug: z$1.ZodString;
3252
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3253
+ slug: z$1.ZodString;
3254
+ }, z$1.ZodTypeAny, "passthrough">>;
3255
+ /** Auth config details */
3256
+ auth_config: z$1.ZodObject<{
3257
+ /** The nano ID of the auth config */
3258
+ id: z$1.ZodString;
3259
+ /** @deprecated - use state.authScheme instead */
3260
+ auth_scheme: z$1.ZodNativeEnum<{
3261
+ readonly OAUTH1: "OAUTH1";
3262
+ readonly OAUTH2: "OAUTH2";
3263
+ readonly API_KEY: "API_KEY";
3264
+ readonly BASIC: "BASIC";
3265
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3266
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3267
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3268
+ readonly NO_AUTH: "NO_AUTH";
3269
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3270
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3271
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3272
+ readonly SAML: "SAML";
3273
+ readonly DCR_OAUTH: "DCR_OAUTH";
3274
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3275
+ }>;
3276
+ /** Whether this auth config is managed by Composio */
3277
+ is_composio_managed: z$1.ZodBoolean;
3278
+ /** Whether the auth config is disabled */
3279
+ is_disabled: z$1.ZodBoolean;
3280
+ /** @deprecated */
3281
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3282
+ uuid: z$1.ZodString;
3283
+ }, "strip", z$1.ZodTypeAny, {
3284
+ uuid: string;
3285
+ }, {
3286
+ uuid: string;
3287
+ }>>;
3288
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3289
+ /** The nano ID of the auth config */
3290
+ id: z$1.ZodString;
3291
+ /** @deprecated - use state.authScheme instead */
3292
+ auth_scheme: z$1.ZodNativeEnum<{
3293
+ readonly OAUTH1: "OAUTH1";
3294
+ readonly OAUTH2: "OAUTH2";
3295
+ readonly API_KEY: "API_KEY";
3296
+ readonly BASIC: "BASIC";
3297
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3298
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3299
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3300
+ readonly NO_AUTH: "NO_AUTH";
3301
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3302
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3303
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3304
+ readonly SAML: "SAML";
3305
+ readonly DCR_OAUTH: "DCR_OAUTH";
3306
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3307
+ }>;
3308
+ /** Whether this auth config is managed by Composio */
3309
+ is_composio_managed: z$1.ZodBoolean;
3310
+ /** Whether the auth config is disabled */
3311
+ is_disabled: z$1.ZodBoolean;
3312
+ /** @deprecated */
3313
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3314
+ uuid: z$1.ZodString;
3315
+ }, "strip", z$1.ZodTypeAny, {
3316
+ uuid: string;
3317
+ }, {
3318
+ uuid: string;
3319
+ }>>;
3320
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3321
+ /** The nano ID of the auth config */
3322
+ id: z$1.ZodString;
3323
+ /** @deprecated - use state.authScheme instead */
3324
+ auth_scheme: z$1.ZodNativeEnum<{
3325
+ readonly OAUTH1: "OAUTH1";
3326
+ readonly OAUTH2: "OAUTH2";
3327
+ readonly API_KEY: "API_KEY";
3328
+ readonly BASIC: "BASIC";
3329
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3330
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3331
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3332
+ readonly NO_AUTH: "NO_AUTH";
3333
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3334
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3335
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3336
+ readonly SAML: "SAML";
3337
+ readonly DCR_OAUTH: "DCR_OAUTH";
3338
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3339
+ }>;
3340
+ /** Whether this auth config is managed by Composio */
3341
+ is_composio_managed: z$1.ZodBoolean;
3342
+ /** Whether the auth config is disabled */
3343
+ is_disabled: z$1.ZodBoolean;
3344
+ /** @deprecated */
3345
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3346
+ uuid: z$1.ZodString;
3347
+ }, "strip", z$1.ZodTypeAny, {
3348
+ uuid: string;
3349
+ }, {
3350
+ uuid: string;
3351
+ }>>;
3352
+ }, z$1.ZodTypeAny, "passthrough">>;
3353
+ /** The nano ID of the connected account */
3354
+ id: z$1.ZodString;
3355
+ /** @deprecated - user ID of the connection owner */
3356
+ user_id: z$1.ZodString;
3357
+ /** Connection status */
3358
+ status: z$1.ZodNativeEnum<{
3359
+ readonly INITIALIZING: "INITIALIZING";
3360
+ readonly INITIATED: "INITIATED";
3361
+ readonly ACTIVE: "ACTIVE";
3362
+ readonly FAILED: "FAILED";
3363
+ readonly EXPIRED: "EXPIRED";
3364
+ readonly INACTIVE: "INACTIVE";
3365
+ }>;
3366
+ /** ISO-8601 timestamp of creation */
3367
+ created_at: z$1.ZodString;
3368
+ /** ISO-8601 timestamp of last update */
3369
+ updated_at: z$1.ZodString;
3370
+ /** Connection state data (auth scheme + state values) */
3371
+ state: z$1.ZodObject<{
3372
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3373
+ authScheme: z$1.ZodNativeEnum<{
3374
+ readonly OAUTH1: "OAUTH1";
3375
+ readonly OAUTH2: "OAUTH2";
3376
+ readonly API_KEY: "API_KEY";
3377
+ readonly BASIC: "BASIC";
3378
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3379
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3380
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3381
+ readonly NO_AUTH: "NO_AUTH";
3382
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3383
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3384
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3385
+ readonly SAML: "SAML";
3386
+ readonly DCR_OAUTH: "DCR_OAUTH";
3387
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3388
+ }>;
3389
+ /** Connection state values - varies by auth scheme */
3390
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3391
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3392
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3393
+ authScheme: z$1.ZodNativeEnum<{
3394
+ readonly OAUTH1: "OAUTH1";
3395
+ readonly OAUTH2: "OAUTH2";
3396
+ readonly API_KEY: "API_KEY";
3397
+ readonly BASIC: "BASIC";
3398
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3399
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3400
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3401
+ readonly NO_AUTH: "NO_AUTH";
3402
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3403
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3404
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3405
+ readonly SAML: "SAML";
3406
+ readonly DCR_OAUTH: "DCR_OAUTH";
3407
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3408
+ }>;
3409
+ /** Connection state values - varies by auth scheme */
3410
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3411
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3412
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3413
+ authScheme: z$1.ZodNativeEnum<{
3414
+ readonly OAUTH1: "OAUTH1";
3415
+ readonly OAUTH2: "OAUTH2";
3416
+ readonly API_KEY: "API_KEY";
3417
+ readonly BASIC: "BASIC";
3418
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3419
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3420
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3421
+ readonly NO_AUTH: "NO_AUTH";
3422
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3423
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3424
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3425
+ readonly SAML: "SAML";
3426
+ readonly DCR_OAUTH: "DCR_OAUTH";
3427
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3428
+ }>;
3429
+ /** Connection state values - varies by auth scheme */
3430
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3431
+ }, z$1.ZodTypeAny, "passthrough">>;
3432
+ /** @deprecated - use state instead */
3433
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3434
+ /** @deprecated - use state instead */
3435
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3436
+ /** Reason for the current status (e.g., expiration reason) */
3437
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
3438
+ /** Whether the connection is disabled */
3439
+ is_disabled: z$1.ZodBoolean;
3440
+ /** Endpoint for making test requests */
3441
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
3442
+ /** @deprecated */
3443
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3444
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3445
+ uuid: z$1.ZodString;
3446
+ }, "strip", z$1.ZodTypeAny, {
3447
+ uuid: string;
3448
+ labels: string[];
3449
+ }, {
3450
+ uuid: string;
3451
+ labels: string[];
3452
+ }>>;
3453
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3454
+ /** Toolkit information */
3455
+ toolkit: z$1.ZodObject<{
3456
+ slug: z$1.ZodString;
3457
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3458
+ slug: z$1.ZodString;
3459
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3460
+ slug: z$1.ZodString;
3461
+ }, z$1.ZodTypeAny, "passthrough">>;
3462
+ /** Auth config details */
3463
+ auth_config: z$1.ZodObject<{
3464
+ /** The nano ID of the auth config */
3465
+ id: z$1.ZodString;
3466
+ /** @deprecated - use state.authScheme instead */
3467
+ auth_scheme: z$1.ZodNativeEnum<{
3468
+ readonly OAUTH1: "OAUTH1";
3469
+ readonly OAUTH2: "OAUTH2";
3470
+ readonly API_KEY: "API_KEY";
3471
+ readonly BASIC: "BASIC";
3472
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3473
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3474
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3475
+ readonly NO_AUTH: "NO_AUTH";
3476
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3477
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3478
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3479
+ readonly SAML: "SAML";
3480
+ readonly DCR_OAUTH: "DCR_OAUTH";
3481
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3482
+ }>;
3483
+ /** Whether this auth config is managed by Composio */
3484
+ is_composio_managed: z$1.ZodBoolean;
3485
+ /** Whether the auth config is disabled */
3486
+ is_disabled: z$1.ZodBoolean;
3487
+ /** @deprecated */
3488
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3489
+ uuid: z$1.ZodString;
3490
+ }, "strip", z$1.ZodTypeAny, {
3491
+ uuid: string;
3492
+ }, {
3493
+ uuid: string;
3494
+ }>>;
3495
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3496
+ /** The nano ID of the auth config */
3497
+ id: z$1.ZodString;
3498
+ /** @deprecated - use state.authScheme instead */
3499
+ auth_scheme: z$1.ZodNativeEnum<{
3500
+ readonly OAUTH1: "OAUTH1";
3501
+ readonly OAUTH2: "OAUTH2";
3502
+ readonly API_KEY: "API_KEY";
3503
+ readonly BASIC: "BASIC";
3504
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3505
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3506
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3507
+ readonly NO_AUTH: "NO_AUTH";
3508
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3509
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3510
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3511
+ readonly SAML: "SAML";
3512
+ readonly DCR_OAUTH: "DCR_OAUTH";
3513
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3514
+ }>;
3515
+ /** Whether this auth config is managed by Composio */
3516
+ is_composio_managed: z$1.ZodBoolean;
3517
+ /** Whether the auth config is disabled */
3518
+ is_disabled: z$1.ZodBoolean;
3519
+ /** @deprecated */
3520
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3521
+ uuid: z$1.ZodString;
3522
+ }, "strip", z$1.ZodTypeAny, {
3523
+ uuid: string;
3524
+ }, {
3525
+ uuid: string;
3526
+ }>>;
3527
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3528
+ /** The nano ID of the auth config */
3529
+ id: z$1.ZodString;
3530
+ /** @deprecated - use state.authScheme instead */
3531
+ auth_scheme: z$1.ZodNativeEnum<{
3532
+ readonly OAUTH1: "OAUTH1";
3533
+ readonly OAUTH2: "OAUTH2";
3534
+ readonly API_KEY: "API_KEY";
3535
+ readonly BASIC: "BASIC";
3536
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3537
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3538
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3539
+ readonly NO_AUTH: "NO_AUTH";
3540
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3541
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3542
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3543
+ readonly SAML: "SAML";
3544
+ readonly DCR_OAUTH: "DCR_OAUTH";
3545
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3546
+ }>;
3547
+ /** Whether this auth config is managed by Composio */
3548
+ is_composio_managed: z$1.ZodBoolean;
3549
+ /** Whether the auth config is disabled */
3550
+ is_disabled: z$1.ZodBoolean;
3551
+ /** @deprecated */
3552
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3553
+ uuid: z$1.ZodString;
3554
+ }, "strip", z$1.ZodTypeAny, {
3555
+ uuid: string;
3556
+ }, {
3557
+ uuid: string;
3558
+ }>>;
3559
+ }, z$1.ZodTypeAny, "passthrough">>;
3560
+ /** The nano ID of the connected account */
3561
+ id: z$1.ZodString;
3562
+ /** @deprecated - user ID of the connection owner */
3563
+ user_id: z$1.ZodString;
3564
+ /** Connection status */
3565
+ status: z$1.ZodNativeEnum<{
3566
+ readonly INITIALIZING: "INITIALIZING";
3567
+ readonly INITIATED: "INITIATED";
3568
+ readonly ACTIVE: "ACTIVE";
3569
+ readonly FAILED: "FAILED";
3570
+ readonly EXPIRED: "EXPIRED";
3571
+ readonly INACTIVE: "INACTIVE";
3572
+ }>;
3573
+ /** ISO-8601 timestamp of creation */
3574
+ created_at: z$1.ZodString;
3575
+ /** ISO-8601 timestamp of last update */
3576
+ updated_at: z$1.ZodString;
3577
+ /** Connection state data (auth scheme + state values) */
3578
+ state: z$1.ZodObject<{
3579
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3580
+ authScheme: z$1.ZodNativeEnum<{
3581
+ readonly OAUTH1: "OAUTH1";
3582
+ readonly OAUTH2: "OAUTH2";
3583
+ readonly API_KEY: "API_KEY";
3584
+ readonly BASIC: "BASIC";
3585
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3586
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3587
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3588
+ readonly NO_AUTH: "NO_AUTH";
3589
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3590
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3591
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3592
+ readonly SAML: "SAML";
3593
+ readonly DCR_OAUTH: "DCR_OAUTH";
3594
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3595
+ }>;
3596
+ /** Connection state values - varies by auth scheme */
3597
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3598
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3599
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3600
+ authScheme: z$1.ZodNativeEnum<{
3601
+ readonly OAUTH1: "OAUTH1";
3602
+ readonly OAUTH2: "OAUTH2";
3603
+ readonly API_KEY: "API_KEY";
3604
+ readonly BASIC: "BASIC";
3605
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3606
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3607
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3608
+ readonly NO_AUTH: "NO_AUTH";
3609
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3610
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3611
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3612
+ readonly SAML: "SAML";
3613
+ readonly DCR_OAUTH: "DCR_OAUTH";
3614
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3615
+ }>;
3616
+ /** Connection state values - varies by auth scheme */
3617
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3618
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3619
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3620
+ authScheme: z$1.ZodNativeEnum<{
3621
+ readonly OAUTH1: "OAUTH1";
3622
+ readonly OAUTH2: "OAUTH2";
3623
+ readonly API_KEY: "API_KEY";
3624
+ readonly BASIC: "BASIC";
3625
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3626
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3627
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3628
+ readonly NO_AUTH: "NO_AUTH";
3629
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3630
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3631
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3632
+ readonly SAML: "SAML";
3633
+ readonly DCR_OAUTH: "DCR_OAUTH";
3634
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3635
+ }>;
3636
+ /** Connection state values - varies by auth scheme */
3637
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3638
+ }, z$1.ZodTypeAny, "passthrough">>;
3639
+ /** @deprecated - use state instead */
3640
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3641
+ /** @deprecated - use state instead */
3642
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3643
+ /** Reason for the current status (e.g., expiration reason) */
3644
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
3645
+ /** Whether the connection is disabled */
3646
+ is_disabled: z$1.ZodBoolean;
3647
+ /** Endpoint for making test requests */
3648
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
3649
+ /** @deprecated */
3650
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3651
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3652
+ uuid: z$1.ZodString;
3653
+ }, "strip", z$1.ZodTypeAny, {
3654
+ uuid: string;
3655
+ labels: string[];
3656
+ }, {
3657
+ uuid: string;
3658
+ labels: string[];
3659
+ }>>;
3660
+ }, z$1.ZodTypeAny, "passthrough">>;
3661
+ /** Event metadata */
3662
+ metadata: z$1.ZodObject<{
3663
+ /** Project nano ID */
3664
+ project_id: z$1.ZodString;
3665
+ /** Organization UUID */
3666
+ org_id: z$1.ZodString;
3667
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3668
+ /** Project nano ID */
3669
+ project_id: z$1.ZodString;
3670
+ /** Organization UUID */
3671
+ org_id: z$1.ZodString;
3672
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3673
+ /** Project nano ID */
3674
+ project_id: z$1.ZodString;
3675
+ /** Organization UUID */
3676
+ org_id: z$1.ZodString;
3677
+ }, z$1.ZodTypeAny, "passthrough">>;
3678
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3679
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
3680
+ id: z$1.ZodString;
3681
+ /** ISO-8601 timestamp of when the event was emitted */
3682
+ timestamp: z$1.ZodString;
3683
+ /** Event type identifier */
3684
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
3685
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
3686
+ data: z$1.ZodObject<{
3687
+ /** Toolkit information */
3688
+ toolkit: z$1.ZodObject<{
3689
+ slug: z$1.ZodString;
3690
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3691
+ slug: z$1.ZodString;
3692
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3693
+ slug: z$1.ZodString;
3694
+ }, z$1.ZodTypeAny, "passthrough">>;
3695
+ /** Auth config details */
3696
+ auth_config: z$1.ZodObject<{
3697
+ /** The nano ID of the auth config */
3698
+ id: z$1.ZodString;
3699
+ /** @deprecated - use state.authScheme instead */
3700
+ auth_scheme: z$1.ZodNativeEnum<{
3701
+ readonly OAUTH1: "OAUTH1";
3702
+ readonly OAUTH2: "OAUTH2";
3703
+ readonly API_KEY: "API_KEY";
3704
+ readonly BASIC: "BASIC";
3705
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3706
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3707
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3708
+ readonly NO_AUTH: "NO_AUTH";
3709
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3710
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3711
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3712
+ readonly SAML: "SAML";
3713
+ readonly DCR_OAUTH: "DCR_OAUTH";
3714
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3715
+ }>;
3716
+ /** Whether this auth config is managed by Composio */
3717
+ is_composio_managed: z$1.ZodBoolean;
3718
+ /** Whether the auth config is disabled */
3719
+ is_disabled: z$1.ZodBoolean;
3720
+ /** @deprecated */
3721
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3722
+ uuid: z$1.ZodString;
3723
+ }, "strip", z$1.ZodTypeAny, {
3724
+ uuid: string;
3725
+ }, {
3726
+ uuid: string;
3727
+ }>>;
3728
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3729
+ /** The nano ID of the auth config */
3730
+ id: z$1.ZodString;
3731
+ /** @deprecated - use state.authScheme instead */
3732
+ auth_scheme: z$1.ZodNativeEnum<{
3733
+ readonly OAUTH1: "OAUTH1";
3734
+ readonly OAUTH2: "OAUTH2";
3735
+ readonly API_KEY: "API_KEY";
3736
+ readonly BASIC: "BASIC";
3737
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3738
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3739
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3740
+ readonly NO_AUTH: "NO_AUTH";
3741
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3742
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3743
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3744
+ readonly SAML: "SAML";
3745
+ readonly DCR_OAUTH: "DCR_OAUTH";
3746
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3747
+ }>;
3748
+ /** Whether this auth config is managed by Composio */
3749
+ is_composio_managed: z$1.ZodBoolean;
3750
+ /** Whether the auth config is disabled */
3751
+ is_disabled: z$1.ZodBoolean;
3752
+ /** @deprecated */
3753
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3754
+ uuid: z$1.ZodString;
3755
+ }, "strip", z$1.ZodTypeAny, {
3756
+ uuid: string;
3757
+ }, {
3758
+ uuid: string;
3759
+ }>>;
3760
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3761
+ /** The nano ID of the auth config */
3762
+ id: z$1.ZodString;
3763
+ /** @deprecated - use state.authScheme instead */
3764
+ auth_scheme: z$1.ZodNativeEnum<{
3765
+ readonly OAUTH1: "OAUTH1";
3766
+ readonly OAUTH2: "OAUTH2";
3767
+ readonly API_KEY: "API_KEY";
3768
+ readonly BASIC: "BASIC";
3769
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3770
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3771
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3772
+ readonly NO_AUTH: "NO_AUTH";
3773
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3774
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3775
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3776
+ readonly SAML: "SAML";
3777
+ readonly DCR_OAUTH: "DCR_OAUTH";
3778
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3779
+ }>;
3780
+ /** Whether this auth config is managed by Composio */
3781
+ is_composio_managed: z$1.ZodBoolean;
3782
+ /** Whether the auth config is disabled */
3783
+ is_disabled: z$1.ZodBoolean;
3784
+ /** @deprecated */
3785
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3786
+ uuid: z$1.ZodString;
3787
+ }, "strip", z$1.ZodTypeAny, {
3788
+ uuid: string;
3789
+ }, {
3790
+ uuid: string;
3791
+ }>>;
3792
+ }, z$1.ZodTypeAny, "passthrough">>;
3793
+ /** The nano ID of the connected account */
3794
+ id: z$1.ZodString;
3795
+ /** @deprecated - user ID of the connection owner */
3796
+ user_id: z$1.ZodString;
3797
+ /** Connection status */
3798
+ status: z$1.ZodNativeEnum<{
3799
+ readonly INITIALIZING: "INITIALIZING";
3800
+ readonly INITIATED: "INITIATED";
3801
+ readonly ACTIVE: "ACTIVE";
3802
+ readonly FAILED: "FAILED";
3803
+ readonly EXPIRED: "EXPIRED";
3804
+ readonly INACTIVE: "INACTIVE";
3805
+ }>;
3806
+ /** ISO-8601 timestamp of creation */
3807
+ created_at: z$1.ZodString;
3808
+ /** ISO-8601 timestamp of last update */
3809
+ updated_at: z$1.ZodString;
3810
+ /** Connection state data (auth scheme + state values) */
3811
+ state: z$1.ZodObject<{
3812
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3813
+ authScheme: z$1.ZodNativeEnum<{
3814
+ readonly OAUTH1: "OAUTH1";
3815
+ readonly OAUTH2: "OAUTH2";
3816
+ readonly API_KEY: "API_KEY";
3817
+ readonly BASIC: "BASIC";
3818
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3819
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3820
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3821
+ readonly NO_AUTH: "NO_AUTH";
3822
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3823
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3824
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3825
+ readonly SAML: "SAML";
3826
+ readonly DCR_OAUTH: "DCR_OAUTH";
3827
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3828
+ }>;
3829
+ /** Connection state values - varies by auth scheme */
3830
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3831
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3832
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3833
+ authScheme: z$1.ZodNativeEnum<{
3834
+ readonly OAUTH1: "OAUTH1";
3835
+ readonly OAUTH2: "OAUTH2";
3836
+ readonly API_KEY: "API_KEY";
3837
+ readonly BASIC: "BASIC";
3838
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3839
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3840
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3841
+ readonly NO_AUTH: "NO_AUTH";
3842
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3843
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3844
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3845
+ readonly SAML: "SAML";
3846
+ readonly DCR_OAUTH: "DCR_OAUTH";
3847
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3848
+ }>;
3849
+ /** Connection state values - varies by auth scheme */
3850
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3851
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3852
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3853
+ authScheme: z$1.ZodNativeEnum<{
3854
+ readonly OAUTH1: "OAUTH1";
3855
+ readonly OAUTH2: "OAUTH2";
3856
+ readonly API_KEY: "API_KEY";
3857
+ readonly BASIC: "BASIC";
3858
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3859
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3860
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3861
+ readonly NO_AUTH: "NO_AUTH";
3862
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3863
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3864
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3865
+ readonly SAML: "SAML";
3866
+ readonly DCR_OAUTH: "DCR_OAUTH";
3867
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3868
+ }>;
3869
+ /** Connection state values - varies by auth scheme */
3870
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3871
+ }, z$1.ZodTypeAny, "passthrough">>;
3872
+ /** @deprecated - use state instead */
3873
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3874
+ /** @deprecated - use state instead */
3875
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3876
+ /** Reason for the current status (e.g., expiration reason) */
3877
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
3878
+ /** Whether the connection is disabled */
3879
+ is_disabled: z$1.ZodBoolean;
3880
+ /** Endpoint for making test requests */
3881
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
3882
+ /** @deprecated */
3883
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3884
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3885
+ uuid: z$1.ZodString;
3886
+ }, "strip", z$1.ZodTypeAny, {
3887
+ uuid: string;
3888
+ labels: string[];
3889
+ }, {
3890
+ uuid: string;
3891
+ labels: string[];
3892
+ }>>;
3893
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3894
+ /** Toolkit information */
3895
+ toolkit: z$1.ZodObject<{
3896
+ slug: z$1.ZodString;
3897
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3898
+ slug: z$1.ZodString;
3899
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3900
+ slug: z$1.ZodString;
3901
+ }, z$1.ZodTypeAny, "passthrough">>;
3902
+ /** Auth config details */
3903
+ auth_config: z$1.ZodObject<{
3904
+ /** The nano ID of the auth config */
3905
+ id: z$1.ZodString;
3906
+ /** @deprecated - use state.authScheme instead */
3907
+ auth_scheme: z$1.ZodNativeEnum<{
3908
+ readonly OAUTH1: "OAUTH1";
3909
+ readonly OAUTH2: "OAUTH2";
3910
+ readonly API_KEY: "API_KEY";
3911
+ readonly BASIC: "BASIC";
3912
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3913
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3914
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3915
+ readonly NO_AUTH: "NO_AUTH";
3916
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3917
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3918
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3919
+ readonly SAML: "SAML";
3920
+ readonly DCR_OAUTH: "DCR_OAUTH";
3921
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3922
+ }>;
3923
+ /** Whether this auth config is managed by Composio */
3924
+ is_composio_managed: z$1.ZodBoolean;
3925
+ /** Whether the auth config is disabled */
3926
+ is_disabled: z$1.ZodBoolean;
3927
+ /** @deprecated */
3928
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3929
+ uuid: z$1.ZodString;
3930
+ }, "strip", z$1.ZodTypeAny, {
3931
+ uuid: string;
3932
+ }, {
3933
+ uuid: string;
3934
+ }>>;
3935
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3936
+ /** The nano ID of the auth config */
3937
+ id: z$1.ZodString;
3938
+ /** @deprecated - use state.authScheme instead */
3939
+ auth_scheme: z$1.ZodNativeEnum<{
3940
+ readonly OAUTH1: "OAUTH1";
3941
+ readonly OAUTH2: "OAUTH2";
3942
+ readonly API_KEY: "API_KEY";
3943
+ readonly BASIC: "BASIC";
3944
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3945
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3946
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3947
+ readonly NO_AUTH: "NO_AUTH";
3948
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3949
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3950
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3951
+ readonly SAML: "SAML";
3952
+ readonly DCR_OAUTH: "DCR_OAUTH";
3953
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3954
+ }>;
3955
+ /** Whether this auth config is managed by Composio */
3956
+ is_composio_managed: z$1.ZodBoolean;
3957
+ /** Whether the auth config is disabled */
3958
+ is_disabled: z$1.ZodBoolean;
3959
+ /** @deprecated */
3960
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3961
+ uuid: z$1.ZodString;
3962
+ }, "strip", z$1.ZodTypeAny, {
3963
+ uuid: string;
3964
+ }, {
3965
+ uuid: string;
3966
+ }>>;
3967
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3968
+ /** The nano ID of the auth config */
3969
+ id: z$1.ZodString;
3970
+ /** @deprecated - use state.authScheme instead */
3971
+ auth_scheme: z$1.ZodNativeEnum<{
3972
+ readonly OAUTH1: "OAUTH1";
3973
+ readonly OAUTH2: "OAUTH2";
3974
+ readonly API_KEY: "API_KEY";
3975
+ readonly BASIC: "BASIC";
3976
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
3977
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
3978
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
3979
+ readonly NO_AUTH: "NO_AUTH";
3980
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
3981
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
3982
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
3983
+ readonly SAML: "SAML";
3984
+ readonly DCR_OAUTH: "DCR_OAUTH";
3985
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
3986
+ }>;
3987
+ /** Whether this auth config is managed by Composio */
3988
+ is_composio_managed: z$1.ZodBoolean;
3989
+ /** Whether the auth config is disabled */
3990
+ is_disabled: z$1.ZodBoolean;
3991
+ /** @deprecated */
3992
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3993
+ uuid: z$1.ZodString;
3994
+ }, "strip", z$1.ZodTypeAny, {
3995
+ uuid: string;
3996
+ }, {
3997
+ uuid: string;
3998
+ }>>;
3999
+ }, z$1.ZodTypeAny, "passthrough">>;
4000
+ /** The nano ID of the connected account */
4001
+ id: z$1.ZodString;
4002
+ /** @deprecated - user ID of the connection owner */
4003
+ user_id: z$1.ZodString;
4004
+ /** Connection status */
4005
+ status: z$1.ZodNativeEnum<{
4006
+ readonly INITIALIZING: "INITIALIZING";
4007
+ readonly INITIATED: "INITIATED";
4008
+ readonly ACTIVE: "ACTIVE";
4009
+ readonly FAILED: "FAILED";
4010
+ readonly EXPIRED: "EXPIRED";
4011
+ readonly INACTIVE: "INACTIVE";
4012
+ }>;
4013
+ /** ISO-8601 timestamp of creation */
4014
+ created_at: z$1.ZodString;
4015
+ /** ISO-8601 timestamp of last update */
4016
+ updated_at: z$1.ZodString;
4017
+ /** Connection state data (auth scheme + state values) */
4018
+ state: z$1.ZodObject<{
4019
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4020
+ authScheme: z$1.ZodNativeEnum<{
4021
+ readonly OAUTH1: "OAUTH1";
4022
+ readonly OAUTH2: "OAUTH2";
4023
+ readonly API_KEY: "API_KEY";
4024
+ readonly BASIC: "BASIC";
4025
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4026
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4027
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4028
+ readonly NO_AUTH: "NO_AUTH";
4029
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4030
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4031
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4032
+ readonly SAML: "SAML";
4033
+ readonly DCR_OAUTH: "DCR_OAUTH";
4034
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4035
+ }>;
4036
+ /** Connection state values - varies by auth scheme */
4037
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4038
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4039
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4040
+ authScheme: z$1.ZodNativeEnum<{
4041
+ readonly OAUTH1: "OAUTH1";
4042
+ readonly OAUTH2: "OAUTH2";
4043
+ readonly API_KEY: "API_KEY";
4044
+ readonly BASIC: "BASIC";
4045
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4046
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4047
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4048
+ readonly NO_AUTH: "NO_AUTH";
4049
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4050
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4051
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4052
+ readonly SAML: "SAML";
4053
+ readonly DCR_OAUTH: "DCR_OAUTH";
4054
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4055
+ }>;
4056
+ /** Connection state values - varies by auth scheme */
4057
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4058
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4059
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4060
+ authScheme: z$1.ZodNativeEnum<{
4061
+ readonly OAUTH1: "OAUTH1";
4062
+ readonly OAUTH2: "OAUTH2";
4063
+ readonly API_KEY: "API_KEY";
4064
+ readonly BASIC: "BASIC";
4065
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4066
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4067
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4068
+ readonly NO_AUTH: "NO_AUTH";
4069
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4070
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4071
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4072
+ readonly SAML: "SAML";
4073
+ readonly DCR_OAUTH: "DCR_OAUTH";
4074
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4075
+ }>;
4076
+ /** Connection state values - varies by auth scheme */
4077
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4078
+ }, z$1.ZodTypeAny, "passthrough">>;
4079
+ /** @deprecated - use state instead */
4080
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4081
+ /** @deprecated - use state instead */
4082
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4083
+ /** Reason for the current status (e.g., expiration reason) */
4084
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4085
+ /** Whether the connection is disabled */
4086
+ is_disabled: z$1.ZodBoolean;
4087
+ /** Endpoint for making test requests */
4088
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4089
+ /** @deprecated */
4090
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4091
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
4092
+ uuid: z$1.ZodString;
4093
+ }, "strip", z$1.ZodTypeAny, {
4094
+ uuid: string;
4095
+ labels: string[];
4096
+ }, {
4097
+ uuid: string;
4098
+ labels: string[];
4099
+ }>>;
4100
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4101
+ /** Toolkit information */
4102
+ toolkit: z$1.ZodObject<{
4103
+ slug: z$1.ZodString;
4104
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4105
+ slug: z$1.ZodString;
4106
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4107
+ slug: z$1.ZodString;
4108
+ }, z$1.ZodTypeAny, "passthrough">>;
4109
+ /** Auth config details */
4110
+ auth_config: z$1.ZodObject<{
4111
+ /** The nano ID of the auth config */
4112
+ id: z$1.ZodString;
4113
+ /** @deprecated - use state.authScheme instead */
4114
+ auth_scheme: z$1.ZodNativeEnum<{
4115
+ readonly OAUTH1: "OAUTH1";
4116
+ readonly OAUTH2: "OAUTH2";
4117
+ readonly API_KEY: "API_KEY";
4118
+ readonly BASIC: "BASIC";
4119
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4120
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4121
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4122
+ readonly NO_AUTH: "NO_AUTH";
4123
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4124
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4125
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4126
+ readonly SAML: "SAML";
4127
+ readonly DCR_OAUTH: "DCR_OAUTH";
4128
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4129
+ }>;
4130
+ /** Whether this auth config is managed by Composio */
4131
+ is_composio_managed: z$1.ZodBoolean;
4132
+ /** Whether the auth config is disabled */
4133
+ is_disabled: z$1.ZodBoolean;
4134
+ /** @deprecated */
4135
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4136
+ uuid: z$1.ZodString;
4137
+ }, "strip", z$1.ZodTypeAny, {
4138
+ uuid: string;
4139
+ }, {
4140
+ uuid: string;
4141
+ }>>;
4142
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4143
+ /** The nano ID of the auth config */
4144
+ id: z$1.ZodString;
4145
+ /** @deprecated - use state.authScheme instead */
4146
+ auth_scheme: z$1.ZodNativeEnum<{
4147
+ readonly OAUTH1: "OAUTH1";
4148
+ readonly OAUTH2: "OAUTH2";
4149
+ readonly API_KEY: "API_KEY";
4150
+ readonly BASIC: "BASIC";
4151
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4152
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4153
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4154
+ readonly NO_AUTH: "NO_AUTH";
4155
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4156
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4157
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4158
+ readonly SAML: "SAML";
4159
+ readonly DCR_OAUTH: "DCR_OAUTH";
4160
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4161
+ }>;
4162
+ /** Whether this auth config is managed by Composio */
4163
+ is_composio_managed: z$1.ZodBoolean;
4164
+ /** Whether the auth config is disabled */
4165
+ is_disabled: z$1.ZodBoolean;
4166
+ /** @deprecated */
4167
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4168
+ uuid: z$1.ZodString;
4169
+ }, "strip", z$1.ZodTypeAny, {
4170
+ uuid: string;
4171
+ }, {
4172
+ uuid: string;
4173
+ }>>;
4174
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4175
+ /** The nano ID of the auth config */
4176
+ id: z$1.ZodString;
4177
+ /** @deprecated - use state.authScheme instead */
4178
+ auth_scheme: z$1.ZodNativeEnum<{
4179
+ readonly OAUTH1: "OAUTH1";
4180
+ readonly OAUTH2: "OAUTH2";
4181
+ readonly API_KEY: "API_KEY";
4182
+ readonly BASIC: "BASIC";
4183
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4184
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4185
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4186
+ readonly NO_AUTH: "NO_AUTH";
4187
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4188
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4189
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4190
+ readonly SAML: "SAML";
4191
+ readonly DCR_OAUTH: "DCR_OAUTH";
4192
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4193
+ }>;
4194
+ /** Whether this auth config is managed by Composio */
4195
+ is_composio_managed: z$1.ZodBoolean;
4196
+ /** Whether the auth config is disabled */
4197
+ is_disabled: z$1.ZodBoolean;
4198
+ /** @deprecated */
4199
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4200
+ uuid: z$1.ZodString;
4201
+ }, "strip", z$1.ZodTypeAny, {
4202
+ uuid: string;
4203
+ }, {
4204
+ uuid: string;
4205
+ }>>;
4206
+ }, z$1.ZodTypeAny, "passthrough">>;
4207
+ /** The nano ID of the connected account */
4208
+ id: z$1.ZodString;
4209
+ /** @deprecated - user ID of the connection owner */
4210
+ user_id: z$1.ZodString;
4211
+ /** Connection status */
4212
+ status: z$1.ZodNativeEnum<{
4213
+ readonly INITIALIZING: "INITIALIZING";
4214
+ readonly INITIATED: "INITIATED";
4215
+ readonly ACTIVE: "ACTIVE";
4216
+ readonly FAILED: "FAILED";
4217
+ readonly EXPIRED: "EXPIRED";
4218
+ readonly INACTIVE: "INACTIVE";
4219
+ }>;
4220
+ /** ISO-8601 timestamp of creation */
4221
+ created_at: z$1.ZodString;
4222
+ /** ISO-8601 timestamp of last update */
4223
+ updated_at: z$1.ZodString;
4224
+ /** Connection state data (auth scheme + state values) */
4225
+ state: z$1.ZodObject<{
4226
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4227
+ authScheme: z$1.ZodNativeEnum<{
4228
+ readonly OAUTH1: "OAUTH1";
4229
+ readonly OAUTH2: "OAUTH2";
4230
+ readonly API_KEY: "API_KEY";
4231
+ readonly BASIC: "BASIC";
4232
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4233
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4234
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4235
+ readonly NO_AUTH: "NO_AUTH";
4236
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4237
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4238
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4239
+ readonly SAML: "SAML";
4240
+ readonly DCR_OAUTH: "DCR_OAUTH";
4241
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4242
+ }>;
4243
+ /** Connection state values - varies by auth scheme */
4244
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4245
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4246
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4247
+ authScheme: z$1.ZodNativeEnum<{
4248
+ readonly OAUTH1: "OAUTH1";
4249
+ readonly OAUTH2: "OAUTH2";
4250
+ readonly API_KEY: "API_KEY";
4251
+ readonly BASIC: "BASIC";
4252
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4253
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4254
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4255
+ readonly NO_AUTH: "NO_AUTH";
4256
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4257
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4258
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4259
+ readonly SAML: "SAML";
4260
+ readonly DCR_OAUTH: "DCR_OAUTH";
4261
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4262
+ }>;
4263
+ /** Connection state values - varies by auth scheme */
4264
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4265
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4266
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4267
+ authScheme: z$1.ZodNativeEnum<{
4268
+ readonly OAUTH1: "OAUTH1";
4269
+ readonly OAUTH2: "OAUTH2";
4270
+ readonly API_KEY: "API_KEY";
4271
+ readonly BASIC: "BASIC";
4272
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4273
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4274
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4275
+ readonly NO_AUTH: "NO_AUTH";
4276
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4277
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4278
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4279
+ readonly SAML: "SAML";
4280
+ readonly DCR_OAUTH: "DCR_OAUTH";
4281
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4282
+ }>;
4283
+ /** Connection state values - varies by auth scheme */
4284
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4285
+ }, z$1.ZodTypeAny, "passthrough">>;
4286
+ /** @deprecated - use state instead */
4287
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4288
+ /** @deprecated - use state instead */
4289
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4290
+ /** Reason for the current status (e.g., expiration reason) */
4291
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4292
+ /** Whether the connection is disabled */
4293
+ is_disabled: z$1.ZodBoolean;
4294
+ /** Endpoint for making test requests */
4295
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4296
+ /** @deprecated */
4297
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4298
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
4299
+ uuid: z$1.ZodString;
4300
+ }, "strip", z$1.ZodTypeAny, {
4301
+ uuid: string;
4302
+ labels: string[];
4303
+ }, {
4304
+ uuid: string;
4305
+ labels: string[];
4306
+ }>>;
4307
+ }, z$1.ZodTypeAny, "passthrough">>;
4308
+ /** Event metadata */
4309
+ metadata: z$1.ZodObject<{
4310
+ /** Project nano ID */
4311
+ project_id: z$1.ZodString;
4312
+ /** Organization UUID */
4313
+ org_id: z$1.ZodString;
4314
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4315
+ /** Project nano ID */
4316
+ project_id: z$1.ZodString;
4317
+ /** Organization UUID */
4318
+ org_id: z$1.ZodString;
4319
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4320
+ /** Project nano ID */
4321
+ project_id: z$1.ZodString;
4322
+ /** Organization UUID */
4323
+ org_id: z$1.ZodString;
4324
+ }, z$1.ZodTypeAny, "passthrough">>;
4325
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4326
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
4327
+ id: z$1.ZodString;
4328
+ /** ISO-8601 timestamp of when the event was emitted */
4329
+ timestamp: z$1.ZodString;
4330
+ /** Event type identifier */
4331
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
4332
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
4333
+ data: z$1.ZodObject<{
4334
+ /** Toolkit information */
4335
+ toolkit: z$1.ZodObject<{
4336
+ slug: z$1.ZodString;
4337
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4338
+ slug: z$1.ZodString;
4339
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4340
+ slug: z$1.ZodString;
4341
+ }, z$1.ZodTypeAny, "passthrough">>;
4342
+ /** Auth config details */
4343
+ auth_config: z$1.ZodObject<{
4344
+ /** The nano ID of the auth config */
4345
+ id: z$1.ZodString;
4346
+ /** @deprecated - use state.authScheme instead */
4347
+ auth_scheme: z$1.ZodNativeEnum<{
4348
+ readonly OAUTH1: "OAUTH1";
4349
+ readonly OAUTH2: "OAUTH2";
4350
+ readonly API_KEY: "API_KEY";
4351
+ readonly BASIC: "BASIC";
4352
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4353
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4354
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4355
+ readonly NO_AUTH: "NO_AUTH";
4356
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4357
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4358
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4359
+ readonly SAML: "SAML";
4360
+ readonly DCR_OAUTH: "DCR_OAUTH";
4361
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4362
+ }>;
4363
+ /** Whether this auth config is managed by Composio */
4364
+ is_composio_managed: z$1.ZodBoolean;
4365
+ /** Whether the auth config is disabled */
4366
+ is_disabled: z$1.ZodBoolean;
4367
+ /** @deprecated */
4368
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4369
+ uuid: z$1.ZodString;
4370
+ }, "strip", z$1.ZodTypeAny, {
4371
+ uuid: string;
4372
+ }, {
4373
+ uuid: string;
4374
+ }>>;
4375
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4376
+ /** The nano ID of the auth config */
4377
+ id: z$1.ZodString;
4378
+ /** @deprecated - use state.authScheme instead */
4379
+ auth_scheme: z$1.ZodNativeEnum<{
4380
+ readonly OAUTH1: "OAUTH1";
4381
+ readonly OAUTH2: "OAUTH2";
4382
+ readonly API_KEY: "API_KEY";
4383
+ readonly BASIC: "BASIC";
4384
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4385
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4386
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4387
+ readonly NO_AUTH: "NO_AUTH";
4388
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4389
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4390
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4391
+ readonly SAML: "SAML";
4392
+ readonly DCR_OAUTH: "DCR_OAUTH";
4393
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4394
+ }>;
4395
+ /** Whether this auth config is managed by Composio */
4396
+ is_composio_managed: z$1.ZodBoolean;
4397
+ /** Whether the auth config is disabled */
4398
+ is_disabled: z$1.ZodBoolean;
4399
+ /** @deprecated */
4400
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4401
+ uuid: z$1.ZodString;
4402
+ }, "strip", z$1.ZodTypeAny, {
4403
+ uuid: string;
4404
+ }, {
4405
+ uuid: string;
4406
+ }>>;
4407
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4408
+ /** The nano ID of the auth config */
4409
+ id: z$1.ZodString;
4410
+ /** @deprecated - use state.authScheme instead */
4411
+ auth_scheme: z$1.ZodNativeEnum<{
4412
+ readonly OAUTH1: "OAUTH1";
4413
+ readonly OAUTH2: "OAUTH2";
4414
+ readonly API_KEY: "API_KEY";
4415
+ readonly BASIC: "BASIC";
4416
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4417
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4418
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4419
+ readonly NO_AUTH: "NO_AUTH";
4420
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4421
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4422
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4423
+ readonly SAML: "SAML";
4424
+ readonly DCR_OAUTH: "DCR_OAUTH";
4425
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4426
+ }>;
4427
+ /** Whether this auth config is managed by Composio */
4428
+ is_composio_managed: z$1.ZodBoolean;
4429
+ /** Whether the auth config is disabled */
4430
+ is_disabled: z$1.ZodBoolean;
4431
+ /** @deprecated */
4432
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4433
+ uuid: z$1.ZodString;
4434
+ }, "strip", z$1.ZodTypeAny, {
4435
+ uuid: string;
4436
+ }, {
4437
+ uuid: string;
4438
+ }>>;
4439
+ }, z$1.ZodTypeAny, "passthrough">>;
4440
+ /** The nano ID of the connected account */
4441
+ id: z$1.ZodString;
4442
+ /** @deprecated - user ID of the connection owner */
4443
+ user_id: z$1.ZodString;
4444
+ /** Connection status */
4445
+ status: z$1.ZodNativeEnum<{
4446
+ readonly INITIALIZING: "INITIALIZING";
4447
+ readonly INITIATED: "INITIATED";
4448
+ readonly ACTIVE: "ACTIVE";
4449
+ readonly FAILED: "FAILED";
4450
+ readonly EXPIRED: "EXPIRED";
4451
+ readonly INACTIVE: "INACTIVE";
4452
+ }>;
4453
+ /** ISO-8601 timestamp of creation */
4454
+ created_at: z$1.ZodString;
4455
+ /** ISO-8601 timestamp of last update */
4456
+ updated_at: z$1.ZodString;
4457
+ /** Connection state data (auth scheme + state values) */
4458
+ state: z$1.ZodObject<{
4459
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4460
+ authScheme: z$1.ZodNativeEnum<{
4461
+ readonly OAUTH1: "OAUTH1";
4462
+ readonly OAUTH2: "OAUTH2";
4463
+ readonly API_KEY: "API_KEY";
4464
+ readonly BASIC: "BASIC";
4465
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4466
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4467
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4468
+ readonly NO_AUTH: "NO_AUTH";
4469
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4470
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4471
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4472
+ readonly SAML: "SAML";
4473
+ readonly DCR_OAUTH: "DCR_OAUTH";
4474
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4475
+ }>;
4476
+ /** Connection state values - varies by auth scheme */
4477
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4478
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4479
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4480
+ authScheme: z$1.ZodNativeEnum<{
4481
+ readonly OAUTH1: "OAUTH1";
4482
+ readonly OAUTH2: "OAUTH2";
4483
+ readonly API_KEY: "API_KEY";
4484
+ readonly BASIC: "BASIC";
4485
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4486
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4487
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4488
+ readonly NO_AUTH: "NO_AUTH";
4489
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4490
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4491
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4492
+ readonly SAML: "SAML";
4493
+ readonly DCR_OAUTH: "DCR_OAUTH";
4494
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4495
+ }>;
4496
+ /** Connection state values - varies by auth scheme */
4497
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4498
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4499
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4500
+ authScheme: z$1.ZodNativeEnum<{
4501
+ readonly OAUTH1: "OAUTH1";
4502
+ readonly OAUTH2: "OAUTH2";
4503
+ readonly API_KEY: "API_KEY";
4504
+ readonly BASIC: "BASIC";
4505
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4506
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4507
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4508
+ readonly NO_AUTH: "NO_AUTH";
4509
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4510
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4511
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4512
+ readonly SAML: "SAML";
4513
+ readonly DCR_OAUTH: "DCR_OAUTH";
4514
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4515
+ }>;
4516
+ /** Connection state values - varies by auth scheme */
4517
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4518
+ }, z$1.ZodTypeAny, "passthrough">>;
4519
+ /** @deprecated - use state instead */
4520
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4521
+ /** @deprecated - use state instead */
4522
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4523
+ /** Reason for the current status (e.g., expiration reason) */
4524
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4525
+ /** Whether the connection is disabled */
4526
+ is_disabled: z$1.ZodBoolean;
4527
+ /** Endpoint for making test requests */
4528
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4529
+ /** @deprecated */
4530
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4531
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
4532
+ uuid: z$1.ZodString;
4533
+ }, "strip", z$1.ZodTypeAny, {
4534
+ uuid: string;
4535
+ labels: string[];
4536
+ }, {
4537
+ uuid: string;
4538
+ labels: string[];
4539
+ }>>;
4540
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4541
+ /** Toolkit information */
4542
+ toolkit: z$1.ZodObject<{
4543
+ slug: z$1.ZodString;
4544
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4545
+ slug: z$1.ZodString;
4546
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4547
+ slug: z$1.ZodString;
4548
+ }, z$1.ZodTypeAny, "passthrough">>;
4549
+ /** Auth config details */
4550
+ auth_config: z$1.ZodObject<{
4551
+ /** The nano ID of the auth config */
4552
+ id: z$1.ZodString;
4553
+ /** @deprecated - use state.authScheme instead */
4554
+ auth_scheme: z$1.ZodNativeEnum<{
4555
+ readonly OAUTH1: "OAUTH1";
4556
+ readonly OAUTH2: "OAUTH2";
4557
+ readonly API_KEY: "API_KEY";
4558
+ readonly BASIC: "BASIC";
4559
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4560
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4561
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4562
+ readonly NO_AUTH: "NO_AUTH";
4563
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4564
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4565
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4566
+ readonly SAML: "SAML";
4567
+ readonly DCR_OAUTH: "DCR_OAUTH";
4568
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4569
+ }>;
4570
+ /** Whether this auth config is managed by Composio */
4571
+ is_composio_managed: z$1.ZodBoolean;
4572
+ /** Whether the auth config is disabled */
4573
+ is_disabled: z$1.ZodBoolean;
4574
+ /** @deprecated */
4575
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4576
+ uuid: z$1.ZodString;
4577
+ }, "strip", z$1.ZodTypeAny, {
4578
+ uuid: string;
4579
+ }, {
4580
+ uuid: string;
4581
+ }>>;
4582
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4583
+ /** The nano ID of the auth config */
4584
+ id: z$1.ZodString;
4585
+ /** @deprecated - use state.authScheme instead */
4586
+ auth_scheme: z$1.ZodNativeEnum<{
4587
+ readonly OAUTH1: "OAUTH1";
4588
+ readonly OAUTH2: "OAUTH2";
4589
+ readonly API_KEY: "API_KEY";
4590
+ readonly BASIC: "BASIC";
4591
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4592
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4593
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4594
+ readonly NO_AUTH: "NO_AUTH";
4595
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4596
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4597
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4598
+ readonly SAML: "SAML";
4599
+ readonly DCR_OAUTH: "DCR_OAUTH";
4600
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4601
+ }>;
4602
+ /** Whether this auth config is managed by Composio */
4603
+ is_composio_managed: z$1.ZodBoolean;
4604
+ /** Whether the auth config is disabled */
4605
+ is_disabled: z$1.ZodBoolean;
4606
+ /** @deprecated */
4607
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4608
+ uuid: z$1.ZodString;
4609
+ }, "strip", z$1.ZodTypeAny, {
4610
+ uuid: string;
4611
+ }, {
4612
+ uuid: string;
4613
+ }>>;
4614
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4615
+ /** The nano ID of the auth config */
4616
+ id: z$1.ZodString;
4617
+ /** @deprecated - use state.authScheme instead */
4618
+ auth_scheme: z$1.ZodNativeEnum<{
4619
+ readonly OAUTH1: "OAUTH1";
4620
+ readonly OAUTH2: "OAUTH2";
4621
+ readonly API_KEY: "API_KEY";
4622
+ readonly BASIC: "BASIC";
4623
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4624
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4625
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4626
+ readonly NO_AUTH: "NO_AUTH";
4627
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4628
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4629
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4630
+ readonly SAML: "SAML";
4631
+ readonly DCR_OAUTH: "DCR_OAUTH";
4632
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4633
+ }>;
4634
+ /** Whether this auth config is managed by Composio */
4635
+ is_composio_managed: z$1.ZodBoolean;
4636
+ /** Whether the auth config is disabled */
4637
+ is_disabled: z$1.ZodBoolean;
4638
+ /** @deprecated */
4639
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4640
+ uuid: z$1.ZodString;
4641
+ }, "strip", z$1.ZodTypeAny, {
4642
+ uuid: string;
4643
+ }, {
4644
+ uuid: string;
4645
+ }>>;
4646
+ }, z$1.ZodTypeAny, "passthrough">>;
4647
+ /** The nano ID of the connected account */
4648
+ id: z$1.ZodString;
4649
+ /** @deprecated - user ID of the connection owner */
4650
+ user_id: z$1.ZodString;
4651
+ /** Connection status */
4652
+ status: z$1.ZodNativeEnum<{
4653
+ readonly INITIALIZING: "INITIALIZING";
4654
+ readonly INITIATED: "INITIATED";
4655
+ readonly ACTIVE: "ACTIVE";
4656
+ readonly FAILED: "FAILED";
4657
+ readonly EXPIRED: "EXPIRED";
4658
+ readonly INACTIVE: "INACTIVE";
4659
+ }>;
4660
+ /** ISO-8601 timestamp of creation */
4661
+ created_at: z$1.ZodString;
4662
+ /** ISO-8601 timestamp of last update */
4663
+ updated_at: z$1.ZodString;
4664
+ /** Connection state data (auth scheme + state values) */
4665
+ state: z$1.ZodObject<{
4666
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4667
+ authScheme: z$1.ZodNativeEnum<{
4668
+ readonly OAUTH1: "OAUTH1";
4669
+ readonly OAUTH2: "OAUTH2";
4670
+ readonly API_KEY: "API_KEY";
4671
+ readonly BASIC: "BASIC";
4672
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4673
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4674
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4675
+ readonly NO_AUTH: "NO_AUTH";
4676
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4677
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4678
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4679
+ readonly SAML: "SAML";
4680
+ readonly DCR_OAUTH: "DCR_OAUTH";
4681
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4682
+ }>;
4683
+ /** Connection state values - varies by auth scheme */
4684
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4685
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4686
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4687
+ authScheme: z$1.ZodNativeEnum<{
4688
+ readonly OAUTH1: "OAUTH1";
4689
+ readonly OAUTH2: "OAUTH2";
4690
+ readonly API_KEY: "API_KEY";
4691
+ readonly BASIC: "BASIC";
4692
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4693
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4694
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4695
+ readonly NO_AUTH: "NO_AUTH";
4696
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4697
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4698
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4699
+ readonly SAML: "SAML";
4700
+ readonly DCR_OAUTH: "DCR_OAUTH";
4701
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4702
+ }>;
4703
+ /** Connection state values - varies by auth scheme */
4704
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4705
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4706
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4707
+ authScheme: z$1.ZodNativeEnum<{
4708
+ readonly OAUTH1: "OAUTH1";
4709
+ readonly OAUTH2: "OAUTH2";
4710
+ readonly API_KEY: "API_KEY";
4711
+ readonly BASIC: "BASIC";
4712
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4713
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4714
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4715
+ readonly NO_AUTH: "NO_AUTH";
4716
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4717
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4718
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4719
+ readonly SAML: "SAML";
4720
+ readonly DCR_OAUTH: "DCR_OAUTH";
4721
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4722
+ }>;
4723
+ /** Connection state values - varies by auth scheme */
4724
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4725
+ }, z$1.ZodTypeAny, "passthrough">>;
4726
+ /** @deprecated - use state instead */
4727
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4728
+ /** @deprecated - use state instead */
4729
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4730
+ /** Reason for the current status (e.g., expiration reason) */
4731
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4732
+ /** Whether the connection is disabled */
4733
+ is_disabled: z$1.ZodBoolean;
4734
+ /** Endpoint for making test requests */
4735
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4736
+ /** @deprecated */
4737
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4738
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
4739
+ uuid: z$1.ZodString;
4740
+ }, "strip", z$1.ZodTypeAny, {
4741
+ uuid: string;
4742
+ labels: string[];
4743
+ }, {
4744
+ uuid: string;
4745
+ labels: string[];
4746
+ }>>;
4747
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4748
+ /** Toolkit information */
4749
+ toolkit: z$1.ZodObject<{
4750
+ slug: z$1.ZodString;
4751
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4752
+ slug: z$1.ZodString;
4753
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4754
+ slug: z$1.ZodString;
4755
+ }, z$1.ZodTypeAny, "passthrough">>;
4756
+ /** Auth config details */
4757
+ auth_config: z$1.ZodObject<{
4758
+ /** The nano ID of the auth config */
4759
+ id: z$1.ZodString;
4760
+ /** @deprecated - use state.authScheme instead */
4761
+ auth_scheme: z$1.ZodNativeEnum<{
4762
+ readonly OAUTH1: "OAUTH1";
4763
+ readonly OAUTH2: "OAUTH2";
4764
+ readonly API_KEY: "API_KEY";
4765
+ readonly BASIC: "BASIC";
4766
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4767
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4768
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4769
+ readonly NO_AUTH: "NO_AUTH";
4770
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4771
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4772
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4773
+ readonly SAML: "SAML";
4774
+ readonly DCR_OAUTH: "DCR_OAUTH";
4775
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4776
+ }>;
4777
+ /** Whether this auth config is managed by Composio */
4778
+ is_composio_managed: z$1.ZodBoolean;
4779
+ /** Whether the auth config is disabled */
4780
+ is_disabled: z$1.ZodBoolean;
4781
+ /** @deprecated */
4782
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4783
+ uuid: z$1.ZodString;
4784
+ }, "strip", z$1.ZodTypeAny, {
4785
+ uuid: string;
4786
+ }, {
4787
+ uuid: string;
4788
+ }>>;
4789
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4790
+ /** The nano ID of the auth config */
4791
+ id: z$1.ZodString;
4792
+ /** @deprecated - use state.authScheme instead */
4793
+ auth_scheme: z$1.ZodNativeEnum<{
4794
+ readonly OAUTH1: "OAUTH1";
4795
+ readonly OAUTH2: "OAUTH2";
4796
+ readonly API_KEY: "API_KEY";
4797
+ readonly BASIC: "BASIC";
4798
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4799
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4800
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4801
+ readonly NO_AUTH: "NO_AUTH";
4802
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4803
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4804
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4805
+ readonly SAML: "SAML";
4806
+ readonly DCR_OAUTH: "DCR_OAUTH";
4807
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4808
+ }>;
4809
+ /** Whether this auth config is managed by Composio */
4810
+ is_composio_managed: z$1.ZodBoolean;
4811
+ /** Whether the auth config is disabled */
4812
+ is_disabled: z$1.ZodBoolean;
4813
+ /** @deprecated */
4814
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4815
+ uuid: z$1.ZodString;
4816
+ }, "strip", z$1.ZodTypeAny, {
4817
+ uuid: string;
4818
+ }, {
4819
+ uuid: string;
4820
+ }>>;
4821
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4822
+ /** The nano ID of the auth config */
4823
+ id: z$1.ZodString;
4824
+ /** @deprecated - use state.authScheme instead */
4825
+ auth_scheme: z$1.ZodNativeEnum<{
4826
+ readonly OAUTH1: "OAUTH1";
4827
+ readonly OAUTH2: "OAUTH2";
4828
+ readonly API_KEY: "API_KEY";
4829
+ readonly BASIC: "BASIC";
4830
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4831
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4832
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4833
+ readonly NO_AUTH: "NO_AUTH";
4834
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4835
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4836
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4837
+ readonly SAML: "SAML";
4838
+ readonly DCR_OAUTH: "DCR_OAUTH";
4839
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4840
+ }>;
4841
+ /** Whether this auth config is managed by Composio */
4842
+ is_composio_managed: z$1.ZodBoolean;
4843
+ /** Whether the auth config is disabled */
4844
+ is_disabled: z$1.ZodBoolean;
4845
+ /** @deprecated */
4846
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4847
+ uuid: z$1.ZodString;
4848
+ }, "strip", z$1.ZodTypeAny, {
4849
+ uuid: string;
4850
+ }, {
4851
+ uuid: string;
4852
+ }>>;
4853
+ }, z$1.ZodTypeAny, "passthrough">>;
4854
+ /** The nano ID of the connected account */
4855
+ id: z$1.ZodString;
4856
+ /** @deprecated - user ID of the connection owner */
4857
+ user_id: z$1.ZodString;
4858
+ /** Connection status */
4859
+ status: z$1.ZodNativeEnum<{
4860
+ readonly INITIALIZING: "INITIALIZING";
4861
+ readonly INITIATED: "INITIATED";
4862
+ readonly ACTIVE: "ACTIVE";
4863
+ readonly FAILED: "FAILED";
4864
+ readonly EXPIRED: "EXPIRED";
4865
+ readonly INACTIVE: "INACTIVE";
4866
+ }>;
4867
+ /** ISO-8601 timestamp of creation */
4868
+ created_at: z$1.ZodString;
4869
+ /** ISO-8601 timestamp of last update */
4870
+ updated_at: z$1.ZodString;
4871
+ /** Connection state data (auth scheme + state values) */
4872
+ state: z$1.ZodObject<{
4873
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4874
+ authScheme: z$1.ZodNativeEnum<{
4875
+ readonly OAUTH1: "OAUTH1";
4876
+ readonly OAUTH2: "OAUTH2";
4877
+ readonly API_KEY: "API_KEY";
4878
+ readonly BASIC: "BASIC";
4879
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4880
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4881
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4882
+ readonly NO_AUTH: "NO_AUTH";
4883
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4884
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4885
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4886
+ readonly SAML: "SAML";
4887
+ readonly DCR_OAUTH: "DCR_OAUTH";
4888
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4889
+ }>;
4890
+ /** Connection state values - varies by auth scheme */
4891
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4892
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4893
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4894
+ authScheme: z$1.ZodNativeEnum<{
4895
+ readonly OAUTH1: "OAUTH1";
4896
+ readonly OAUTH2: "OAUTH2";
4897
+ readonly API_KEY: "API_KEY";
4898
+ readonly BASIC: "BASIC";
4899
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4900
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4901
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4902
+ readonly NO_AUTH: "NO_AUTH";
4903
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4904
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4905
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4906
+ readonly SAML: "SAML";
4907
+ readonly DCR_OAUTH: "DCR_OAUTH";
4908
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4909
+ }>;
4910
+ /** Connection state values - varies by auth scheme */
4911
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4912
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4913
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4914
+ authScheme: z$1.ZodNativeEnum<{
4915
+ readonly OAUTH1: "OAUTH1";
4916
+ readonly OAUTH2: "OAUTH2";
4917
+ readonly API_KEY: "API_KEY";
4918
+ readonly BASIC: "BASIC";
4919
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
4920
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
4921
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
4922
+ readonly NO_AUTH: "NO_AUTH";
4923
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
4924
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
4925
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
4926
+ readonly SAML: "SAML";
4927
+ readonly DCR_OAUTH: "DCR_OAUTH";
4928
+ readonly S2S_OAUTH2: "S2S_OAUTH2";
4929
+ }>;
4930
+ /** Connection state values - varies by auth scheme */
4931
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4932
+ }, z$1.ZodTypeAny, "passthrough">>;
4933
+ /** @deprecated - use state instead */
4934
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4935
+ /** @deprecated - use state instead */
4936
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4937
+ /** Reason for the current status (e.g., expiration reason) */
4938
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4939
+ /** Whether the connection is disabled */
4940
+ is_disabled: z$1.ZodBoolean;
4941
+ /** Endpoint for making test requests */
4942
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4943
+ /** @deprecated */
4944
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4945
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
4946
+ uuid: z$1.ZodString;
4947
+ }, "strip", z$1.ZodTypeAny, {
4948
+ uuid: string;
4949
+ labels: string[];
4950
+ }, {
4951
+ uuid: string;
4952
+ labels: string[];
4953
+ }>>;
4954
+ }, z$1.ZodTypeAny, "passthrough">>;
4955
+ /** Event metadata */
4956
+ metadata: z$1.ZodObject<{
4957
+ /** Project nano ID */
4958
+ project_id: z$1.ZodString;
4959
+ /** Organization UUID */
4960
+ org_id: z$1.ZodString;
4961
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4962
+ /** Project nano ID */
4963
+ project_id: z$1.ZodString;
4964
+ /** Organization UUID */
4965
+ org_id: z$1.ZodString;
4966
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4967
+ /** Project nano ID */
4968
+ project_id: z$1.ZodString;
4969
+ /** Organization UUID */
4970
+ org_id: z$1.ZodString;
4971
+ }, z$1.ZodTypeAny, "passthrough">>;
4972
+ }, z$1.ZodTypeAny, "passthrough">>]>;
4973
+ type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
200
4974
  declare namespace constants_d_exports {
201
4975
  export { CLIENT_PUSHER_KEY, COMPOSIO_DIR, COMPOSIO_LOG_LEVEL, DEFAULT_BASE_URL, DEFAULT_WEB_URL, IS_DEVELOPMENT_OR_CI, TELEMETRY_URL, TEMP_FILES_DIRECTORY_NAME, USER_DATA_FILE_NAME };
202
4976
  }
@@ -573,4 +5347,4 @@ declare class ComposioWebhookPayloadError extends ComposioError {
573
5347
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
574
5348
  }
575
5349
  //#endregion
576
- export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDownloadData, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, SchemaModifierOptions, SessionExecuteMetaModifiers, SessionMetaToolOptions, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterSessionExperimental, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
5350
+ export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionExpiredEvent, ConnectionExpiredEventSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDownloadData, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, SchemaModifierOptions, SessionExecuteMetaModifiers, SessionMetaToolOptions, SingleConnectedAccountDetailedResponse, SingleConnectedAccountDetailedResponseSchema, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterSessionExperimental, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookConnectedAccountAuthConfig, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadata, WebhookConnectionMetadataSchema, WebhookConnectionState, WebhookConnectionStateSchema, WebhookEvent, WebhookEventSchema, WebhookEventType, WebhookEventTypes, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };