@composio/core 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CustomTool-DCrZcOUW.d.cts → CustomTool-87USJ2u0.d.cts} +1 -1
- package/dist/{CustomTool-DJVmDusu.d.mts → CustomTool-BNxqr6BI.d.mts} +1 -1
- package/dist/{CustomTool-CVwF_isu.mjs → CustomTool-DOE7hgw6.mjs} +232 -27
- package/dist/{CustomTool-DnCSEC6t.cjs → CustomTool-Dj4fNvsu.cjs} +279 -26
- package/dist/{composio-DH5gDW5F.d.mts → composio-BJW2NaoA.d.mts} +110 -79
- package/dist/{composio-Dzaqn_PS.d.cts → composio-DTntXzL-.d.cts} +110 -79
- package/dist/{customTool.types-Xk-tbwbc.d.mts → customTool.types-B3HG185y.d.mts} +401 -32
- package/dist/{customTool.types-BqC41wRt.d.cts → customTool.types-Bd8ylotX.d.cts} +401 -32
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.mts +3 -3
- package/dist/experimental/index.mjs +1 -1
- package/dist/index.cjs +574 -85
- package/dist/index.d.cts +84 -8
- package/dist/index.d.mts +84 -8
- package/dist/index.mjs +570 -88
- package/dist/{tool.types-Cb-o48UU.d.mts → tool.types-CB_4JKhV.d.mts} +601 -38
- package/dist/{tool.types-B4k2Bnxc.d.cts → tool.types-CwbAy9l_.d.cts} +601 -38
- package/dist/{types-BR-1DJRJ.d.mts → types-BClz5lKM.d.mts} +2 -2
- package/dist/{types-gjJ_hDol.d.cts → types-jsOgjrWN.d.cts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +2 -2
- package/generated/ably.ts +0 -20
- package/generated/accelo.ts +0 -8
- package/generated/acculynx.ts +0 -17
- package/generated/active_campaign.ts +0 -30
- package/generated/adobe.ts +0 -8
- package/generated/adyntel.ts +0 -12
- package/generated/aero_workflow.ts +0 -8
- package/generated/affinity.ts +0 -29
- package/generated/agencyzoom.ts +0 -108
- package/generated/ahrefs.ts +0 -49
- package/generated/airtable.ts +0 -26
- package/generated/alchemy.ts +0 -16
- package/generated/algolia.ts +0 -39
- package/generated/altoviz.ts +0 -18
- package/generated/amazon.ts +0 -8
- package/generated/amcards.ts +0 -11
- package/generated/amplitude.ts +0 -25
- package/generated/anthropic_administrator.ts +0 -13
- package/generated/apaleo.ts +0 -38
- package/generated/apollo.ts +0 -40
- package/generated/appdrag.ts +0 -8
- package/generated/appsflyer.ts +0 -8
- package/generated/asana.ts +0 -95
- package/generated/ashby.ts +0 -8
- package/generated/atlassian.ts +0 -8
- package/generated/attio.ts +0 -20
- package/generated/auth0.ts +0 -8
- package/generated/axonaut.ts +0 -8
- package/generated/bamboohr.ts +0 -168
- package/generated/bannerbear.ts +0 -17
- package/generated/baserow.ts +0 -11
- package/generated/battlenet.ts +0 -8
- package/generated/beeminder.ts +0 -14
- package/generated/bigmailer.ts +0 -12
- package/generated/bigml.ts +0 -15
- package/generated/bill.ts +0 -218
- package/generated/bitbucket.ts +0 -25
- package/generated/bitwarden.ts +0 -8
- package/generated/blackbaud.ts +0 -8
- package/generated/blackboard.ts +0 -323
- package/generated/boldsign.ts +0 -8
- package/generated/bolna.ts +0 -24
- package/generated/borneo.ts +0 -162
- package/generated/botbaba.ts +0 -8
- package/generated/box.ts +0 -282
- package/generated/braintree.ts +0 -8
- package/generated/brandfetch.ts +0 -15
- package/generated/breezy_hr.ts +0 -8
- package/generated/brevo.ts +0 -28
- package/generated/brex.ts +0 -8
- package/generated/brex_staging.ts +0 -8
- package/generated/brightpearl.ts +0 -8
- package/generated/brilliant_directories.ts +0 -15
- package/generated/browseai.ts +0 -18
- package/generated/browserbase_tool.ts +0 -10
- package/generated/browserhub.ts +0 -8
- package/generated/browserless.ts +0 -16
- package/generated/bubble.ts +0 -8
- package/generated/bugbug.ts +0 -13
- package/generated/builtwith.ts +0 -21
- package/generated/cal.ts +0 -150
- package/generated/calendly.ts +0 -51
- package/generated/canva.ts +0 -41
- package/generated/canvas.ts +0 -100
- package/generated/chatwork.ts +0 -17
- package/generated/chmeetings.ts +0 -8
- package/generated/clickup.ts +0 -153
- package/generated/clockify.ts +0 -23
- package/generated/close.ts +0 -15
- package/generated/cloudflare.ts +0 -10
- package/generated/coda.ts +0 -115
- package/generated/codeinterpreter.ts +0 -14
- package/generated/coinbase.ts +0 -15
- package/generated/coinmarketcal.ts +0 -8
- package/generated/composio.ts +0 -34
- package/generated/composio_search.ts +0 -22
- package/generated/confluence.ts +0 -199
- package/generated/contentful.ts +0 -12
- package/generated/crustdata.ts +0 -23
- package/generated/customer_io.ts +0 -8
- package/generated/cutt_ly.ts +0 -10
- package/generated/d2lbrightspace.ts +0 -54
- package/generated/dailybot.ts +0 -15
- package/generated/datadog.ts +0 -47
- package/generated/datagma.ts +0 -8
- package/generated/datarobot.ts +0 -8
- package/generated/deel.ts +0 -8
- package/generated/demio.ts +0 -8
- package/generated/dialpad.ts +0 -201
- package/generated/digicert.ts +0 -15
- package/generated/discord.ts +0 -17
- package/generated/discordbot.ts +0 -173
- package/generated/docmosis.ts +0 -8
- package/generated/docusign.ts +0 -351
- package/generated/dropbox.ts +0 -20
- package/generated/dropbox_sign.ts +0 -8
- package/generated/dynamics365.ts +0 -25
- package/generated/echtpost.ts +0 -10
- package/generated/elevenlabs.ts +0 -70
- package/generated/emailoctopus.ts +0 -16
- package/generated/enigma.ts +0 -11
- package/generated/entelligence.ts +0 -11
- package/generated/epic_games.ts +0 -8
- package/generated/eventbrite.ts +0 -12
- package/generated/exa.ts +0 -13
- package/generated/excel.ts +0 -34
- package/generated/exist.ts +0 -8
- package/generated/facebook.ts +0 -8
- package/generated/factorial.ts +0 -8
- package/generated/figma.ts +0 -59
- package/generated/finage.ts +0 -19
- package/generated/firecrawl.ts +0 -16
- package/generated/fireflies.ts +0 -21
- package/generated/fitbit.ts +0 -8
- package/generated/flutterwave.ts +0 -33
- package/generated/fomo.ts +0 -10
- package/generated/formcarry.ts +0 -10
- package/generated/formsite.ts +0 -14
- package/generated/foursquare.ts +0 -14
- package/generated/freshbooks.ts +0 -11
- package/generated/freshdesk.ts +0 -16
- package/generated/front.ts +0 -8
- package/generated/github.ts +0 -967
- package/generated/gitlab.ts +0 -82
- package/generated/gmail.d.ts +0 -86
- package/generated/gmail.js +0 -13
- package/generated/gmail.ts +0 -95
- package/generated/go_to_webinar.ts +0 -8
- package/generated/gong.ts +0 -63
- package/generated/google_analytics.ts +0 -13
- package/generated/google_maps.ts +0 -16
- package/generated/googleads.ts +0 -14
- package/generated/googlebigquery.ts +0 -10
- package/generated/googlecalendar.ts +0 -39
- package/generated/googledocs.ts +0 -41
- package/generated/googledrive.ts +0 -62
- package/generated/googlemeet.ts +0 -18
- package/generated/googlephotos.ts +0 -22
- package/generated/googlesheets.ts +0 -40
- package/generated/googleslides.ts +0 -8
- package/generated/googlesuper.ts +0 -230
- package/generated/googletasks.ts +0 -23
- package/generated/gorgias.ts +0 -41
- package/generated/gumroad.ts +0 -14
- package/generated/guru.ts +0 -8
- package/generated/hackernews.ts +0 -15
- package/generated/hackerrank_work.ts +0 -8
- package/generated/harvest.ts +0 -56
- package/generated/helcim.ts +0 -8
- package/generated/heygen.ts +0 -44
- package/generated/highlevel.ts +0 -8
- package/generated/hubspot.ts +0 -252
- package/generated/humanloop.ts +0 -13
- package/generated/icims_talent_cloud.ts +0 -8
- package/generated/idea_scale.ts +0 -8
- package/generated/index.ts +0 -151
- package/generated/insighto_ai.ts +0 -19
- package/generated/intercom.ts +0 -52
- package/generated/interzoid.ts +0 -8
- package/generated/jira.ts +0 -59
- package/generated/jotform.ts +0 -15
- package/generated/junglescout.ts +0 -15
- package/generated/keap.ts +0 -8
- package/generated/kibana.ts +0 -58
- package/generated/kit.ts +0 -38
- package/generated/klaviyo.ts +0 -240
- package/generated/klipfolio.ts +0 -20
- package/generated/kommo.ts +0 -24
- package/generated/lastpass.ts +0 -8
- package/generated/launch_darkly.ts +0 -16
- package/generated/leadfeeder.ts +0 -13
- package/generated/leadoku.ts +0 -10
- package/generated/lever.ts +0 -8
- package/generated/lever_sandbox.ts +0 -8
- package/generated/lexoffice.ts +0 -8
- package/generated/linear.ts +0 -31
- package/generated/linkedin.ts +0 -13
- package/generated/linkhut.ts +0 -14
- package/generated/linkup.ts +0 -11
- package/generated/listennotes.ts +0 -35
- package/generated/lmnt.ts +0 -16
- package/generated/lodgify.ts +0 -10
- package/generated/mailchimp.ts +0 -285
- package/generated/mailerlite.ts +0 -8
- package/generated/maintainx.ts +0 -20
- package/generated/make.ts +0 -12
- package/generated/mboum.ts +0 -8
- package/generated/mem0.ts +0 -52
- package/generated/metaads.ts +0 -25
- package/generated/metatextai.ts +0 -8
- package/generated/microsoft_clarity.ts +0 -10
- package/generated/microsoft_teams.ts +0 -22
- package/generated/microsoft_tenant.ts +0 -8
- package/generated/miro.ts +0 -23
- package/generated/mixpanel.ts +0 -30
- package/generated/mocean.ts +0 -8
- package/generated/monday.ts +0 -30
- package/generated/mopinion.ts +0 -8
- package/generated/more_trees.ts +0 -10
- package/generated/moxie.ts +0 -8
- package/generated/moz.ts +0 -8
- package/generated/mural.ts +0 -14
- package/generated/nasdaq.ts +0 -15
- package/generated/ncscale.ts +0 -8
- package/generated/neon.ts +0 -78
- package/generated/netsuite.ts +0 -8
- package/generated/nextdns.ts +0 -11
- package/generated/ngrok.ts +0 -18
- package/generated/notion.ts +0 -40
- package/generated/oncehub.ts +0 -8
- package/generated/one_drive.ts +0 -49
- package/generated/onepage.ts +0 -11
- package/generated/open_sea.ts +0 -33
- package/generated/outlook.ts +0 -37
- package/generated/pagerduty.ts +0 -362
- package/generated/pandadoc.ts +0 -23
- package/generated/peopledatalabs.ts +0 -24
- package/generated/perplexityai.ts +0 -10
- package/generated/piggy.ts +0 -8
- package/generated/pipedrive.ts +0 -288
- package/generated/placekey.ts +0 -12
- package/generated/posthog.ts +0 -367
- package/generated/precoro.ts +0 -8
- package/generated/printnode.ts +0 -8
- package/generated/process_street.ts +0 -14
- package/generated/productboard.ts +0 -8
- package/generated/qualaroo.ts +0 -8
- package/generated/quickbooks.ts +0 -22
- package/generated/rafflys.ts +0 -8
- package/generated/ragic.ts +0 -10
- package/generated/ramp.ts +0 -17
- package/generated/ravenseotools.ts +0 -8
- package/generated/recallai.ts +0 -17
- package/generated/reddit.ts +0 -19
- package/generated/resend.ts +0 -27
- package/generated/retellai.ts +0 -19
- package/generated/retently.ts +0 -24
- package/generated/ring_central.ts +0 -8
- package/generated/rippling.ts +0 -8
- package/generated/rocket_reach.ts +0 -8
- package/generated/rocketlane.ts +0 -42
- package/generated/rootly.ts +0 -12
- package/generated/rosette_text_analytics.ts +0 -12
- package/generated/sage.ts +0 -8
- package/generated/salesforce.ts +0 -46
- package/generated/scrape_do.ts +0 -28
- package/generated/scrapingant.ts +0 -14
- package/generated/screenshotone.ts +0 -10
- package/generated/seismic.ts +0 -8
- package/generated/semanticscholar.ts +0 -23
- package/generated/semrush.ts +0 -45
- package/generated/sendgrid.ts +0 -384
- package/generated/sentry.ts +0 -185
- package/generated/serpapi.ts +0 -32
- package/generated/servicem8.ts +0 -37
- package/generated/servicenow.ts +0 -14
- package/generated/share_point.ts +0 -15
- package/generated/shopify.ts +0 -37
- package/generated/shortcut.ts +0 -131
- package/generated/simplesat.ts +0 -11
- package/generated/slack.d.ts +0 -16
- package/generated/slack.js +0 -11
- package/generated/slack.ts +0 -24
- package/generated/slackbot.ts +0 -205
- package/generated/smartrecruiters.ts +0 -8
- package/generated/smugmug.ts +0 -14
- package/generated/snowflake.ts +0 -15
- package/generated/sourcegraph.ts +0 -16
- package/generated/square.ts +0 -8
- package/generated/stack_exchange.ts +0 -17
- package/generated/starton.ts +0 -11
- package/generated/storeganise.ts +0 -12
- package/generated/stripe.ts +0 -50
- package/generated/supabase.ts +0 -86
- package/generated/survey_monkey.ts +0 -8
- package/generated/tally.ts +0 -25
- package/generated/tapfiliate.ts +0 -11
- package/generated/tapform.ts +0 -8
- package/generated/tavily.ts +0 -10
- package/generated/terminus.ts +0 -8
- package/generated/text_to_pdf.ts +0 -10
- package/generated/textrazor.ts +0 -22
- package/generated/timecamp.ts +0 -10
- package/generated/timekit.ts +0 -8
- package/generated/timely.ts +0 -11
- package/generated/tinypng.ts +0 -15
- package/generated/tinyurl.ts +0 -10
- package/generated/tisane.ts +0 -15
- package/generated/todoist.ts +0 -19
- package/generated/toneden.ts +0 -8
- package/generated/tpscheck.ts +0 -10
- package/generated/trello.ts +0 -360
- package/generated/twitch.ts +0 -8
- package/generated/twitter.ts +0 -82
- package/generated/twitter_media.ts +0 -10
- package/generated/typefully.ts +0 -14
- package/generated/venly.ts +0 -8
- package/generated/vero.ts +0 -8
- package/generated/visme.ts +0 -8
- package/generated/waboxapp.ts +0 -8
- package/generated/wakatime.ts +0 -8
- package/generated/wave_accounting.ts +0 -8
- package/generated/weathermap.ts +0 -10
- package/generated/webex.ts +0 -37
- package/generated/webflow.ts +0 -30
- package/generated/whatsapp.ts +0 -14
- package/generated/wiz.ts +0 -8
- package/generated/workiom.ts +0 -12
- package/generated/wrike.ts +0 -47
- package/generated/xero.ts +0 -13
- package/generated/yandex.ts +0 -13
- package/generated/ynab.ts +0 -8
- package/generated/yousearch.ts +0 -10
- package/generated/youtube.ts +0 -26
- package/generated/zendesk.ts +0 -23
- package/generated/zenrows.ts +0 -25
- package/generated/zenserp.ts +0 -20
- package/generated/zoho.ts +0 -33
- package/generated/zoho_bigin.ts +0 -21
- package/generated/zoho_books.ts +0 -8
- package/generated/zoho_desk.ts +0 -8
- package/generated/zoho_inventory.ts +0 -8
- package/generated/zoho_invoice.ts +0 -15
- package/generated/zoho_mail.ts +0 -8
- package/generated/zoom.ts +0 -181
- package/generated/zoominfo.ts +0 -26
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { D as ToolkitVersionParam, I as ProviderOptions, J as BaseNonAgenticProvider, Kt as McpUrlResponse, L as SessionExecuteMetaModifiers, P as ExecuteToolModifiers, Vt as McpServerGetResponse, Xt as ExecuteToolFnOptions, a as SchemaModifierOptions, b as ToolRetrievalOptions, d as ToolExecuteResponse$1, l as ToolExecuteParams, m as ToolListParams, o as Tool, p as ToolList, q as BaseComposioProvider, s as ToolExecuteMetaParams, v as ToolProxyParams } from "./tool.types-
|
|
2
|
-
import {
|
|
1
|
+
import { D as ToolkitVersionParam, I as ProviderOptions, J as BaseNonAgenticProvider, Kt as McpUrlResponse, L as SessionExecuteMetaModifiers, P as ExecuteToolModifiers, Vt as McpServerGetResponse, Xt as ExecuteToolFnOptions, a as SchemaModifierOptions, b as ToolRetrievalOptions, d as ToolExecuteResponse$1, l as ToolExecuteParams, m as ToolListParams, o as Tool, p as ToolList, q as BaseComposioProvider, s as ToolExecuteMetaParams, v as ToolProxyParams } from "./tool.types-CB_4JKhV.mjs";
|
|
2
|
+
import { H as ToolRouterCreateSessionConfig, Ht as ConnectedAccountListParams, Rt as ConnectionRequest, Wt as ConnectedAccountListResponse, Yt as ConnectedAccountRetrieveResponse, a as CustomTool, an as CreateConnectedAccountOptions, c as CustomToolInputParameter, fn as UpdateConnectedAccountParams, h as CustomToolkit, j as Session, l as CustomToolOptions, qt as ConnectedAccountRefreshOptions, tn as CreateConnectedAccountLinkOptions } from "./customTool.types-B3HG185y.mjs";
|
|
3
3
|
import ComposioClient, { Composio } from "@composio/client";
|
|
4
4
|
import z, { z as z$1 } from "zod/v3";
|
|
5
5
|
import { OpenAI } from "openai";
|
|
6
6
|
import { Files } from "#files";
|
|
7
7
|
import { ConnectedAccountDeleteResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
|
|
8
|
+
import { SessionExecuteParams } from "@composio/client/resources/tool-router/session/session.mjs";
|
|
8
9
|
import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
|
|
9
10
|
import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
|
|
10
11
|
import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
|
|
11
12
|
import { Stream } from "openai/streaming";
|
|
12
13
|
|
|
13
14
|
//#region src/models/Tools.d.ts
|
|
15
|
+
type ToolRouterSessionExecuteOptions = {
|
|
16
|
+
experimental?: SessionExecuteParams.Experimental;
|
|
17
|
+
};
|
|
14
18
|
/**
|
|
15
19
|
* This class is used to manage tools in the Composio SDK.
|
|
16
20
|
* It provides methods to list, get, and execute tools.
|
|
@@ -149,22 +153,22 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
149
153
|
*/
|
|
150
154
|
getRawComposioTools(query: ToolListParams, options?: SchemaModifierOptions): Promise<ToolList>;
|
|
151
155
|
/**
|
|
152
|
-
* Fetches
|
|
153
|
-
* This
|
|
154
|
-
* It provides access to the underlying
|
|
156
|
+
* Fetches tools exposed by a tool router session.
|
|
157
|
+
* This includes helper/meta tools plus any tools preloaded into the session.
|
|
158
|
+
* It provides access to the underlying tool data without provider-specific wrapping.
|
|
155
159
|
*
|
|
156
|
-
* @param sessionId {string} The session id to get
|
|
160
|
+
* @param sessionId {string} The session id to get tools for
|
|
157
161
|
* @param options {SchemaModifierOptions} Optional configuration for tool retrieval
|
|
158
162
|
* @param {TransformToolSchemaModifier} [options.modifySchema] - Function to transform the tool schema
|
|
159
|
-
* @returns {Promise<ToolList>} The list of
|
|
163
|
+
* @returns {Promise<ToolList>} The list of session tools
|
|
160
164
|
*
|
|
161
165
|
* @example
|
|
162
166
|
* ```typescript
|
|
163
|
-
* const
|
|
164
|
-
* console.log(
|
|
167
|
+
* const sessionTools = await composio.tools.getRawToolRouterSessionTools('session_123');
|
|
168
|
+
* console.log(sessionTools);
|
|
165
169
|
* ```
|
|
166
170
|
*/
|
|
167
|
-
|
|
171
|
+
getRawToolRouterSessionTools(sessionId: string, options?: SchemaModifierOptions): Promise<ToolList>;
|
|
168
172
|
/**
|
|
169
173
|
* Retrieves a specific tool by its slug from the Composio API.
|
|
170
174
|
*
|
|
@@ -407,16 +411,17 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
407
411
|
*/
|
|
408
412
|
execute(slug: string, body: ToolExecuteParams, modifiers?: ExecuteToolModifiers): Promise<ToolExecuteResponse$1>;
|
|
409
413
|
/**
|
|
410
|
-
* Executes a
|
|
414
|
+
* Executes a tool based on a tool router session.
|
|
411
415
|
*
|
|
412
416
|
* @param {string} toolSlug - The slug of the tool to execute
|
|
413
417
|
* @param {ToolExecuteMetaParams} body - The execution parameters
|
|
414
418
|
* @param {string} body.sessionId - The session id to execute the tool for
|
|
415
419
|
* @param {Record<string, unknown>} body.arguments - The input to pass to the tool
|
|
416
420
|
* @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
|
|
421
|
+
* @param {Tool} tool - Optional tool schema used to resolve toolkit metadata for modifiers
|
|
417
422
|
* @returns {Promise<ToolExecuteResponse>} The response from the tool execution
|
|
418
423
|
*/
|
|
419
|
-
|
|
424
|
+
executeSessionTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers, tool?: Tool, options?: ToolRouterSessionExecuteOptions): Promise<ToolExecuteResponse$1>;
|
|
420
425
|
/**
|
|
421
426
|
* Fetches the list of all available tools in the Composio SDK.
|
|
422
427
|
*
|
|
@@ -537,16 +542,16 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
|
|
|
537
542
|
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
538
543
|
}, "strip", z$1.ZodTypeAny, {
|
|
539
544
|
limit?: number | undefined;
|
|
545
|
+
cursor?: string | undefined;
|
|
540
546
|
category?: string | undefined;
|
|
541
547
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
542
548
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
543
|
-
cursor?: string | undefined;
|
|
544
549
|
}, {
|
|
545
550
|
limit?: number | undefined;
|
|
551
|
+
cursor?: string | undefined;
|
|
546
552
|
category?: string | undefined;
|
|
547
553
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
548
554
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
549
|
-
cursor?: string | undefined;
|
|
550
555
|
}>;
|
|
551
556
|
type ToolkitMangedByEnum = z$1.infer<typeof ToolkitMangedByEnumSchema>;
|
|
552
557
|
type ToolkitSortByEnum = z$1.infer<typeof ToolkitSortByEnumSchema>;
|
|
@@ -577,12 +582,12 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
577
582
|
logo?: string | undefined;
|
|
578
583
|
description?: string | undefined;
|
|
579
584
|
availableVersions?: string[] | undefined;
|
|
585
|
+
createdAt?: string | undefined;
|
|
580
586
|
categories?: {
|
|
581
587
|
slug: string;
|
|
582
588
|
name: string;
|
|
583
589
|
}[] | undefined;
|
|
584
590
|
appUrl?: string | undefined;
|
|
585
|
-
createdAt?: string | undefined;
|
|
586
591
|
toolsCount?: number | undefined;
|
|
587
592
|
triggersCount?: number | undefined;
|
|
588
593
|
updatedAt?: string | undefined;
|
|
@@ -590,12 +595,12 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
590
595
|
logo?: string | undefined;
|
|
591
596
|
description?: string | undefined;
|
|
592
597
|
availableVersions?: string[] | undefined;
|
|
598
|
+
createdAt?: string | undefined;
|
|
593
599
|
categories?: {
|
|
594
600
|
slug: string;
|
|
595
601
|
name: string;
|
|
596
602
|
}[] | undefined;
|
|
597
603
|
appUrl?: string | undefined;
|
|
598
|
-
createdAt?: string | undefined;
|
|
599
604
|
toolsCount?: number | undefined;
|
|
600
605
|
triggersCount?: number | undefined;
|
|
601
606
|
updatedAt?: string | undefined;
|
|
@@ -626,12 +631,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
626
631
|
logo?: string | undefined;
|
|
627
632
|
description?: string | undefined;
|
|
628
633
|
availableVersions?: string[] | undefined;
|
|
634
|
+
createdAt?: string | undefined;
|
|
629
635
|
categories?: {
|
|
630
636
|
slug: string;
|
|
631
637
|
name: string;
|
|
632
638
|
}[] | undefined;
|
|
633
639
|
appUrl?: string | undefined;
|
|
634
|
-
createdAt?: string | undefined;
|
|
635
640
|
toolsCount?: number | undefined;
|
|
636
641
|
triggersCount?: number | undefined;
|
|
637
642
|
updatedAt?: string | undefined;
|
|
@@ -639,12 +644,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
639
644
|
logo?: string | undefined;
|
|
640
645
|
description?: string | undefined;
|
|
641
646
|
availableVersions?: string[] | undefined;
|
|
647
|
+
createdAt?: string | undefined;
|
|
642
648
|
categories?: {
|
|
643
649
|
slug: string;
|
|
644
650
|
name: string;
|
|
645
651
|
}[] | undefined;
|
|
646
652
|
appUrl?: string | undefined;
|
|
647
|
-
createdAt?: string | undefined;
|
|
648
653
|
toolsCount?: number | undefined;
|
|
649
654
|
triggersCount?: number | undefined;
|
|
650
655
|
updatedAt?: string | undefined;
|
|
@@ -660,12 +665,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
660
665
|
logo?: string | undefined;
|
|
661
666
|
description?: string | undefined;
|
|
662
667
|
availableVersions?: string[] | undefined;
|
|
668
|
+
createdAt?: string | undefined;
|
|
663
669
|
categories?: {
|
|
664
670
|
slug: string;
|
|
665
671
|
name: string;
|
|
666
672
|
}[] | undefined;
|
|
667
673
|
appUrl?: string | undefined;
|
|
668
|
-
createdAt?: string | undefined;
|
|
669
674
|
toolsCount?: number | undefined;
|
|
670
675
|
triggersCount?: number | undefined;
|
|
671
676
|
updatedAt?: string | undefined;
|
|
@@ -681,12 +686,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
681
686
|
logo?: string | undefined;
|
|
682
687
|
description?: string | undefined;
|
|
683
688
|
availableVersions?: string[] | undefined;
|
|
689
|
+
createdAt?: string | undefined;
|
|
684
690
|
categories?: {
|
|
685
691
|
slug: string;
|
|
686
692
|
name: string;
|
|
687
693
|
}[] | undefined;
|
|
688
694
|
appUrl?: string | undefined;
|
|
689
|
-
createdAt?: string | undefined;
|
|
690
695
|
toolsCount?: number | undefined;
|
|
691
696
|
triggersCount?: number | undefined;
|
|
692
697
|
updatedAt?: string | undefined;
|
|
@@ -722,12 +727,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
722
727
|
logo?: string | undefined;
|
|
723
728
|
description?: string | undefined;
|
|
724
729
|
availableVersions?: string[] | undefined;
|
|
730
|
+
createdAt?: string | undefined;
|
|
725
731
|
categories?: {
|
|
726
732
|
slug: string;
|
|
727
733
|
name: string;
|
|
728
734
|
}[] | undefined;
|
|
729
735
|
appUrl?: string | undefined;
|
|
730
|
-
createdAt?: string | undefined;
|
|
731
736
|
toolsCount?: number | undefined;
|
|
732
737
|
triggersCount?: number | undefined;
|
|
733
738
|
updatedAt?: string | undefined;
|
|
@@ -735,12 +740,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
735
740
|
logo?: string | undefined;
|
|
736
741
|
description?: string | undefined;
|
|
737
742
|
availableVersions?: string[] | undefined;
|
|
743
|
+
createdAt?: string | undefined;
|
|
738
744
|
categories?: {
|
|
739
745
|
slug: string;
|
|
740
746
|
name: string;
|
|
741
747
|
}[] | undefined;
|
|
742
748
|
appUrl?: string | undefined;
|
|
743
|
-
createdAt?: string | undefined;
|
|
744
749
|
toolsCount?: number | undefined;
|
|
745
750
|
triggersCount?: number | undefined;
|
|
746
751
|
updatedAt?: string | undefined;
|
|
@@ -756,12 +761,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
756
761
|
logo?: string | undefined;
|
|
757
762
|
description?: string | undefined;
|
|
758
763
|
availableVersions?: string[] | undefined;
|
|
764
|
+
createdAt?: string | undefined;
|
|
759
765
|
categories?: {
|
|
760
766
|
slug: string;
|
|
761
767
|
name: string;
|
|
762
768
|
}[] | undefined;
|
|
763
769
|
appUrl?: string | undefined;
|
|
764
|
-
createdAt?: string | undefined;
|
|
765
770
|
toolsCount?: number | undefined;
|
|
766
771
|
triggersCount?: number | undefined;
|
|
767
772
|
updatedAt?: string | undefined;
|
|
@@ -777,12 +782,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
777
782
|
logo?: string | undefined;
|
|
778
783
|
description?: string | undefined;
|
|
779
784
|
availableVersions?: string[] | undefined;
|
|
785
|
+
createdAt?: string | undefined;
|
|
780
786
|
categories?: {
|
|
781
787
|
slug: string;
|
|
782
788
|
name: string;
|
|
783
789
|
}[] | undefined;
|
|
784
790
|
appUrl?: string | undefined;
|
|
785
|
-
createdAt?: string | undefined;
|
|
786
791
|
toolsCount?: number | undefined;
|
|
787
792
|
triggersCount?: number | undefined;
|
|
788
793
|
updatedAt?: string | undefined;
|
|
@@ -1181,12 +1186,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1181
1186
|
logo?: string | undefined;
|
|
1182
1187
|
description?: string | undefined;
|
|
1183
1188
|
availableVersions?: string[] | undefined;
|
|
1189
|
+
createdAt?: string | undefined;
|
|
1184
1190
|
categories?: {
|
|
1185
1191
|
slug: string;
|
|
1186
1192
|
name: string;
|
|
1187
1193
|
}[] | undefined;
|
|
1188
1194
|
appUrl?: string | undefined;
|
|
1189
|
-
createdAt?: string | undefined;
|
|
1190
1195
|
toolsCount?: number | undefined;
|
|
1191
1196
|
triggersCount?: number | undefined;
|
|
1192
1197
|
updatedAt?: string | undefined;
|
|
@@ -1194,12 +1199,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1194
1199
|
logo?: string | undefined;
|
|
1195
1200
|
description?: string | undefined;
|
|
1196
1201
|
availableVersions?: string[] | undefined;
|
|
1202
|
+
createdAt?: string | undefined;
|
|
1197
1203
|
categories?: {
|
|
1198
1204
|
slug: string;
|
|
1199
1205
|
name: string;
|
|
1200
1206
|
}[] | undefined;
|
|
1201
1207
|
appUrl?: string | undefined;
|
|
1202
|
-
createdAt?: string | undefined;
|
|
1203
1208
|
toolsCount?: number | undefined;
|
|
1204
1209
|
triggersCount?: number | undefined;
|
|
1205
1210
|
updatedAt?: string | undefined;
|
|
@@ -1551,12 +1556,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1551
1556
|
logo?: string | undefined;
|
|
1552
1557
|
description?: string | undefined;
|
|
1553
1558
|
availableVersions?: string[] | undefined;
|
|
1559
|
+
createdAt?: string | undefined;
|
|
1554
1560
|
categories?: {
|
|
1555
1561
|
slug: string;
|
|
1556
1562
|
name: string;
|
|
1557
1563
|
}[] | undefined;
|
|
1558
1564
|
appUrl?: string | undefined;
|
|
1559
|
-
createdAt?: string | undefined;
|
|
1560
1565
|
toolsCount?: number | undefined;
|
|
1561
1566
|
triggersCount?: number | undefined;
|
|
1562
1567
|
updatedAt?: string | undefined;
|
|
@@ -1618,12 +1623,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1618
1623
|
logo?: string | undefined;
|
|
1619
1624
|
description?: string | undefined;
|
|
1620
1625
|
availableVersions?: string[] | undefined;
|
|
1626
|
+
createdAt?: string | undefined;
|
|
1621
1627
|
categories?: {
|
|
1622
1628
|
slug: string;
|
|
1623
1629
|
name: string;
|
|
1624
1630
|
}[] | undefined;
|
|
1625
1631
|
appUrl?: string | undefined;
|
|
1626
|
-
createdAt?: string | undefined;
|
|
1627
1632
|
toolsCount?: number | undefined;
|
|
1628
1633
|
triggersCount?: number | undefined;
|
|
1629
1634
|
updatedAt?: string | undefined;
|
|
@@ -2045,20 +2050,20 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2045
2050
|
logo: string;
|
|
2046
2051
|
};
|
|
2047
2052
|
id: string;
|
|
2048
|
-
uuid: string;
|
|
2049
2053
|
noOfConnections: number;
|
|
2054
|
+
uuid: string;
|
|
2050
2055
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2051
|
-
createdAt?: string | undefined;
|
|
2052
|
-
isComposioManaged?: boolean | undefined;
|
|
2053
2056
|
credentials?: Record<string, unknown> | undefined;
|
|
2054
2057
|
toolAccessConfig?: {
|
|
2055
2058
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2056
2059
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2057
2060
|
} | undefined;
|
|
2058
2061
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2062
|
+
isComposioManaged?: boolean | undefined;
|
|
2059
2063
|
expectedInputFields?: unknown[] | undefined;
|
|
2060
2064
|
restrictToFollowingTools?: string[] | undefined;
|
|
2061
2065
|
createdBy?: string | undefined;
|
|
2066
|
+
createdAt?: string | undefined;
|
|
2062
2067
|
lastUpdatedAt?: string | undefined;
|
|
2063
2068
|
}, {
|
|
2064
2069
|
name: string;
|
|
@@ -2068,20 +2073,20 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2068
2073
|
logo: string;
|
|
2069
2074
|
};
|
|
2070
2075
|
id: string;
|
|
2071
|
-
uuid: string;
|
|
2072
2076
|
noOfConnections: number;
|
|
2077
|
+
uuid: string;
|
|
2073
2078
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2074
|
-
createdAt?: string | undefined;
|
|
2075
|
-
isComposioManaged?: boolean | undefined;
|
|
2076
2079
|
credentials?: Record<string, unknown> | undefined;
|
|
2077
2080
|
toolAccessConfig?: {
|
|
2078
2081
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2079
2082
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2080
2083
|
} | undefined;
|
|
2081
2084
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2085
|
+
isComposioManaged?: boolean | undefined;
|
|
2082
2086
|
expectedInputFields?: unknown[] | undefined;
|
|
2083
2087
|
restrictToFollowingTools?: string[] | undefined;
|
|
2084
2088
|
createdBy?: string | undefined;
|
|
2089
|
+
createdAt?: string | undefined;
|
|
2085
2090
|
lastUpdatedAt?: string | undefined;
|
|
2086
2091
|
}>;
|
|
2087
2092
|
type AuthConfigRetrieveResponse = z$1.infer<typeof AuthConfigRetrieveResponseSchema>;
|
|
@@ -2093,13 +2098,13 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
|
|
|
2093
2098
|
}, "strip", z$1.ZodTypeAny, {
|
|
2094
2099
|
toolkit?: string | undefined;
|
|
2095
2100
|
limit?: number | undefined;
|
|
2096
|
-
cursor?: string | undefined;
|
|
2097
2101
|
isComposioManaged?: boolean | undefined;
|
|
2102
|
+
cursor?: string | undefined;
|
|
2098
2103
|
}, {
|
|
2099
2104
|
toolkit?: string | undefined;
|
|
2100
2105
|
limit?: number | undefined;
|
|
2101
|
-
cursor?: string | undefined;
|
|
2102
2106
|
isComposioManaged?: boolean | undefined;
|
|
2107
|
+
cursor?: string | undefined;
|
|
2103
2108
|
}>;
|
|
2104
2109
|
type AuthConfigListParams = z$1.infer<typeof AuthConfigListParamsSchema>;
|
|
2105
2110
|
declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
@@ -2149,20 +2154,20 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2149
2154
|
logo: string;
|
|
2150
2155
|
};
|
|
2151
2156
|
id: string;
|
|
2152
|
-
uuid: string;
|
|
2153
2157
|
noOfConnections: number;
|
|
2158
|
+
uuid: string;
|
|
2154
2159
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2155
|
-
createdAt?: string | undefined;
|
|
2156
|
-
isComposioManaged?: boolean | undefined;
|
|
2157
2160
|
credentials?: Record<string, unknown> | undefined;
|
|
2158
2161
|
toolAccessConfig?: {
|
|
2159
2162
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2160
2163
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2161
2164
|
} | undefined;
|
|
2162
2165
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2166
|
+
isComposioManaged?: boolean | undefined;
|
|
2163
2167
|
expectedInputFields?: unknown[] | undefined;
|
|
2164
2168
|
restrictToFollowingTools?: string[] | undefined;
|
|
2165
2169
|
createdBy?: string | undefined;
|
|
2170
|
+
createdAt?: string | undefined;
|
|
2166
2171
|
lastUpdatedAt?: string | undefined;
|
|
2167
2172
|
}, {
|
|
2168
2173
|
name: string;
|
|
@@ -2172,20 +2177,20 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2172
2177
|
logo: string;
|
|
2173
2178
|
};
|
|
2174
2179
|
id: string;
|
|
2175
|
-
uuid: string;
|
|
2176
2180
|
noOfConnections: number;
|
|
2181
|
+
uuid: string;
|
|
2177
2182
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2178
|
-
createdAt?: string | undefined;
|
|
2179
|
-
isComposioManaged?: boolean | undefined;
|
|
2180
2183
|
credentials?: Record<string, unknown> | undefined;
|
|
2181
2184
|
toolAccessConfig?: {
|
|
2182
2185
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2183
2186
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2184
2187
|
} | undefined;
|
|
2185
2188
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2189
|
+
isComposioManaged?: boolean | undefined;
|
|
2186
2190
|
expectedInputFields?: unknown[] | undefined;
|
|
2187
2191
|
restrictToFollowingTools?: string[] | undefined;
|
|
2188
2192
|
createdBy?: string | undefined;
|
|
2193
|
+
createdAt?: string | undefined;
|
|
2189
2194
|
lastUpdatedAt?: string | undefined;
|
|
2190
2195
|
}>, "many">;
|
|
2191
2196
|
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -2199,20 +2204,20 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2199
2204
|
logo: string;
|
|
2200
2205
|
};
|
|
2201
2206
|
id: string;
|
|
2202
|
-
uuid: string;
|
|
2203
2207
|
noOfConnections: number;
|
|
2208
|
+
uuid: string;
|
|
2204
2209
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2205
|
-
createdAt?: string | undefined;
|
|
2206
|
-
isComposioManaged?: boolean | undefined;
|
|
2207
2210
|
credentials?: Record<string, unknown> | undefined;
|
|
2208
2211
|
toolAccessConfig?: {
|
|
2209
2212
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2210
2213
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2211
2214
|
} | undefined;
|
|
2212
2215
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2216
|
+
isComposioManaged?: boolean | undefined;
|
|
2213
2217
|
expectedInputFields?: unknown[] | undefined;
|
|
2214
2218
|
restrictToFollowingTools?: string[] | undefined;
|
|
2215
2219
|
createdBy?: string | undefined;
|
|
2220
|
+
createdAt?: string | undefined;
|
|
2216
2221
|
lastUpdatedAt?: string | undefined;
|
|
2217
2222
|
}[];
|
|
2218
2223
|
nextCursor: string | null;
|
|
@@ -2226,20 +2231,20 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2226
2231
|
logo: string;
|
|
2227
2232
|
};
|
|
2228
2233
|
id: string;
|
|
2229
|
-
uuid: string;
|
|
2230
2234
|
noOfConnections: number;
|
|
2235
|
+
uuid: string;
|
|
2231
2236
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2232
|
-
createdAt?: string | undefined;
|
|
2233
|
-
isComposioManaged?: boolean | undefined;
|
|
2234
2237
|
credentials?: Record<string, unknown> | undefined;
|
|
2235
2238
|
toolAccessConfig?: {
|
|
2236
2239
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2237
2240
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2238
2241
|
} | undefined;
|
|
2239
2242
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2243
|
+
isComposioManaged?: boolean | undefined;
|
|
2240
2244
|
expectedInputFields?: unknown[] | undefined;
|
|
2241
2245
|
restrictToFollowingTools?: string[] | undefined;
|
|
2242
2246
|
createdBy?: string | undefined;
|
|
2247
|
+
createdAt?: string | undefined;
|
|
2243
2248
|
lastUpdatedAt?: string | undefined;
|
|
2244
2249
|
}[];
|
|
2245
2250
|
nextCursor: string | null;
|
|
@@ -2576,16 +2581,16 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
2576
2581
|
toolkits?: string[] | undefined;
|
|
2577
2582
|
connectedAccountId?: string | undefined;
|
|
2578
2583
|
userId?: string | undefined;
|
|
2579
|
-
authConfigId?: string | undefined;
|
|
2580
2584
|
triggerId?: string | undefined;
|
|
2585
|
+
authConfigId?: string | undefined;
|
|
2581
2586
|
triggerSlug?: string[] | undefined;
|
|
2582
2587
|
triggerData?: string | undefined;
|
|
2583
2588
|
}, {
|
|
2584
2589
|
toolkits?: string[] | undefined;
|
|
2585
2590
|
connectedAccountId?: string | undefined;
|
|
2586
2591
|
userId?: string | undefined;
|
|
2587
|
-
authConfigId?: string | undefined;
|
|
2588
2592
|
triggerId?: string | undefined;
|
|
2593
|
+
authConfigId?: string | undefined;
|
|
2589
2594
|
triggerSlug?: string[] | undefined;
|
|
2590
2595
|
triggerData?: string | undefined;
|
|
2591
2596
|
}>;
|
|
@@ -2628,8 +2633,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2628
2633
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
2629
2634
|
}, "strip", z$1.ZodTypeAny, {
|
|
2630
2635
|
connectedAccountId: string;
|
|
2631
|
-
updatedAt: string;
|
|
2632
2636
|
id: string;
|
|
2637
|
+
updatedAt: string;
|
|
2633
2638
|
disabledAt: string | null;
|
|
2634
2639
|
state: Record<string, unknown>;
|
|
2635
2640
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2638,8 +2643,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2638
2643
|
triggerData?: string | undefined;
|
|
2639
2644
|
}, {
|
|
2640
2645
|
connectedAccountId: string;
|
|
2641
|
-
updatedAt: string;
|
|
2642
2646
|
id: string;
|
|
2647
|
+
updatedAt: string;
|
|
2643
2648
|
disabledAt: string | null;
|
|
2644
2649
|
state: Record<string, unknown>;
|
|
2645
2650
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2660,8 +2665,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2660
2665
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
2661
2666
|
}, "strip", z$1.ZodTypeAny, {
|
|
2662
2667
|
connectedAccountId: string;
|
|
2663
|
-
updatedAt: string;
|
|
2664
2668
|
id: string;
|
|
2669
|
+
updatedAt: string;
|
|
2665
2670
|
disabledAt: string | null;
|
|
2666
2671
|
state: Record<string, unknown>;
|
|
2667
2672
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2670,8 +2675,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2670
2675
|
triggerData?: string | undefined;
|
|
2671
2676
|
}, {
|
|
2672
2677
|
connectedAccountId: string;
|
|
2673
|
-
updatedAt: string;
|
|
2674
2678
|
id: string;
|
|
2679
|
+
updatedAt: string;
|
|
2675
2680
|
disabledAt: string | null;
|
|
2676
2681
|
state: Record<string, unknown>;
|
|
2677
2682
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2684,8 +2689,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2684
2689
|
}, "strip", z$1.ZodTypeAny, {
|
|
2685
2690
|
items: {
|
|
2686
2691
|
connectedAccountId: string;
|
|
2687
|
-
updatedAt: string;
|
|
2688
2692
|
id: string;
|
|
2693
|
+
updatedAt: string;
|
|
2689
2694
|
disabledAt: string | null;
|
|
2690
2695
|
state: Record<string, unknown>;
|
|
2691
2696
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2698,8 +2703,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2698
2703
|
}, {
|
|
2699
2704
|
items: {
|
|
2700
2705
|
connectedAccountId: string;
|
|
2701
|
-
updatedAt: string;
|
|
2702
2706
|
id: string;
|
|
2707
|
+
updatedAt: string;
|
|
2703
2708
|
disabledAt: string | null;
|
|
2704
2709
|
state: Record<string, unknown>;
|
|
2705
2710
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2781,46 +2786,46 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2781
2786
|
status: "ACTIVE" | "INACTIVE";
|
|
2782
2787
|
userId: string;
|
|
2783
2788
|
id: string;
|
|
2784
|
-
authConfigId: string;
|
|
2785
2789
|
uuid: string;
|
|
2790
|
+
authConfigId: string;
|
|
2786
2791
|
authConfigUUID: string;
|
|
2787
2792
|
}, {
|
|
2788
2793
|
status: "ACTIVE" | "INACTIVE";
|
|
2789
2794
|
userId: string;
|
|
2790
2795
|
id: string;
|
|
2791
|
-
authConfigId: string;
|
|
2792
2796
|
uuid: string;
|
|
2797
|
+
authConfigId: string;
|
|
2793
2798
|
authConfigUUID: string;
|
|
2794
2799
|
}>;
|
|
2795
2800
|
}, "strip", z$1.ZodTypeAny, {
|
|
2796
2801
|
toolkitSlug: string;
|
|
2797
2802
|
id: string;
|
|
2798
2803
|
uuid: string;
|
|
2799
|
-
triggerSlug: string;
|
|
2800
|
-
triggerConfig: Record<string, unknown>;
|
|
2801
2804
|
connectedAccount: {
|
|
2802
2805
|
status: "ACTIVE" | "INACTIVE";
|
|
2803
2806
|
userId: string;
|
|
2804
2807
|
id: string;
|
|
2805
|
-
authConfigId: string;
|
|
2806
2808
|
uuid: string;
|
|
2809
|
+
authConfigId: string;
|
|
2807
2810
|
authConfigUUID: string;
|
|
2808
2811
|
};
|
|
2812
|
+
triggerSlug: string;
|
|
2813
|
+
triggerConfig: Record<string, unknown>;
|
|
2809
2814
|
triggerData?: string | undefined;
|
|
2810
2815
|
}, {
|
|
2811
2816
|
toolkitSlug: string;
|
|
2812
2817
|
id: string;
|
|
2813
2818
|
uuid: string;
|
|
2814
|
-
triggerSlug: string;
|
|
2815
|
-
triggerConfig: Record<string, unknown>;
|
|
2816
2819
|
connectedAccount: {
|
|
2817
2820
|
status: "ACTIVE" | "INACTIVE";
|
|
2818
2821
|
userId: string;
|
|
2819
2822
|
id: string;
|
|
2820
|
-
authConfigId: string;
|
|
2821
2823
|
uuid: string;
|
|
2824
|
+
authConfigId: string;
|
|
2822
2825
|
authConfigUUID: string;
|
|
2823
2826
|
};
|
|
2827
|
+
triggerSlug: string;
|
|
2828
|
+
triggerConfig: Record<string, unknown>;
|
|
2824
2829
|
triggerData?: string | undefined;
|
|
2825
2830
|
}>;
|
|
2826
2831
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -2833,16 +2838,16 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2833
2838
|
toolkitSlug: string;
|
|
2834
2839
|
id: string;
|
|
2835
2840
|
uuid: string;
|
|
2836
|
-
triggerSlug: string;
|
|
2837
|
-
triggerConfig: Record<string, unknown>;
|
|
2838
2841
|
connectedAccount: {
|
|
2839
2842
|
status: "ACTIVE" | "INACTIVE";
|
|
2840
2843
|
userId: string;
|
|
2841
2844
|
id: string;
|
|
2842
|
-
authConfigId: string;
|
|
2843
2845
|
uuid: string;
|
|
2846
|
+
authConfigId: string;
|
|
2844
2847
|
authConfigUUID: string;
|
|
2845
2848
|
};
|
|
2849
|
+
triggerSlug: string;
|
|
2850
|
+
triggerConfig: Record<string, unknown>;
|
|
2846
2851
|
triggerData?: string | undefined;
|
|
2847
2852
|
};
|
|
2848
2853
|
payload?: Record<string, unknown> | undefined;
|
|
@@ -2857,16 +2862,16 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2857
2862
|
toolkitSlug: string;
|
|
2858
2863
|
id: string;
|
|
2859
2864
|
uuid: string;
|
|
2860
|
-
triggerSlug: string;
|
|
2861
|
-
triggerConfig: Record<string, unknown>;
|
|
2862
2865
|
connectedAccount: {
|
|
2863
2866
|
status: "ACTIVE" | "INACTIVE";
|
|
2864
2867
|
userId: string;
|
|
2865
2868
|
id: string;
|
|
2866
|
-
authConfigId: string;
|
|
2867
2869
|
uuid: string;
|
|
2870
|
+
authConfigId: string;
|
|
2868
2871
|
authConfigUUID: string;
|
|
2869
2872
|
};
|
|
2873
|
+
triggerSlug: string;
|
|
2874
|
+
triggerConfig: Record<string, unknown>;
|
|
2870
2875
|
triggerData?: string | undefined;
|
|
2871
2876
|
};
|
|
2872
2877
|
payload?: Record<string, unknown> | undefined;
|
|
@@ -2938,8 +2943,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
2938
2943
|
name: string;
|
|
2939
2944
|
logo: string;
|
|
2940
2945
|
};
|
|
2941
|
-
config: Record<string, unknown>;
|
|
2942
2946
|
payload: Record<string, unknown>;
|
|
2947
|
+
config: Record<string, unknown>;
|
|
2943
2948
|
version?: string | undefined;
|
|
2944
2949
|
instructions?: string | undefined;
|
|
2945
2950
|
}, {
|
|
@@ -2951,8 +2956,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
2951
2956
|
name: string;
|
|
2952
2957
|
logo: string;
|
|
2953
2958
|
};
|
|
2954
|
-
config: Record<string, unknown>;
|
|
2955
2959
|
payload: Record<string, unknown>;
|
|
2960
|
+
config: Record<string, unknown>;
|
|
2956
2961
|
version?: string | undefined;
|
|
2957
2962
|
instructions?: string | undefined;
|
|
2958
2963
|
}>;
|
|
@@ -2988,8 +2993,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2988
2993
|
name: string;
|
|
2989
2994
|
logo: string;
|
|
2990
2995
|
};
|
|
2991
|
-
config: Record<string, unknown>;
|
|
2992
2996
|
payload: Record<string, unknown>;
|
|
2997
|
+
config: Record<string, unknown>;
|
|
2993
2998
|
version?: string | undefined;
|
|
2994
2999
|
instructions?: string | undefined;
|
|
2995
3000
|
}, {
|
|
@@ -3001,8 +3006,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3001
3006
|
name: string;
|
|
3002
3007
|
logo: string;
|
|
3003
3008
|
};
|
|
3004
|
-
config: Record<string, unknown>;
|
|
3005
3009
|
payload: Record<string, unknown>;
|
|
3010
|
+
config: Record<string, unknown>;
|
|
3006
3011
|
version?: string | undefined;
|
|
3007
3012
|
instructions?: string | undefined;
|
|
3008
3013
|
}>, "many">;
|
|
@@ -3018,8 +3023,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3018
3023
|
name: string;
|
|
3019
3024
|
logo: string;
|
|
3020
3025
|
};
|
|
3021
|
-
config: Record<string, unknown>;
|
|
3022
3026
|
payload: Record<string, unknown>;
|
|
3027
|
+
config: Record<string, unknown>;
|
|
3023
3028
|
version?: string | undefined;
|
|
3024
3029
|
instructions?: string | undefined;
|
|
3025
3030
|
}[];
|
|
@@ -3035,8 +3040,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3035
3040
|
name: string;
|
|
3036
3041
|
logo: string;
|
|
3037
3042
|
};
|
|
3038
|
-
config: Record<string, unknown>;
|
|
3039
3043
|
payload: Record<string, unknown>;
|
|
3044
|
+
config: Record<string, unknown>;
|
|
3040
3045
|
version?: string | undefined;
|
|
3041
3046
|
instructions?: string | undefined;
|
|
3042
3047
|
}[];
|
|
@@ -3830,6 +3835,22 @@ declare class ConnectedAccounts {
|
|
|
3830
3835
|
* This function creates a new connected account and returns a connection request.
|
|
3831
3836
|
* Users can then wait for the connection to be established using the `waitForConnection` method.
|
|
3832
3837
|
*
|
|
3838
|
+
* **Deprecated for Composio-managed OAuth (OAuth1, OAuth2, DCR_OAUTH).**
|
|
3839
|
+
* The legacy `POST /api/v3/connected_accounts` endpoint that this method
|
|
3840
|
+
* wraps is being retired for Composio-managed auth configs on redirectable
|
|
3841
|
+
* schemes. The cutover is **2026-05-08** for new organizations and
|
|
3842
|
+
* **2026-07-03** for all remaining organizations. After your org's cutover,
|
|
3843
|
+
* this method will throw {@link ComposioLegacyConnectedAccountsEndpointRetiredError}
|
|
3844
|
+
* for that specific combination.
|
|
3845
|
+
*
|
|
3846
|
+
* Use {@link ConnectedAccounts.link} for Composio-managed OAuth — it works for
|
|
3847
|
+
* every redirectable scheme regardless of whether the auth config is
|
|
3848
|
+
* Composio-managed or custom, and the return shape is the same.
|
|
3849
|
+
*
|
|
3850
|
+
* Custom auth configs (your own OAuth app) and non-OAuth schemes (API key,
|
|
3851
|
+
* bearer token, basic auth) are unaffected and continue to work on
|
|
3852
|
+
* `initiate()`. See https://docs.composio.dev/docs/changelog/2026/04/24
|
|
3853
|
+
*
|
|
3833
3854
|
* @param {string} userId - User ID of the connected account
|
|
3834
3855
|
* @param {string} authConfigId - Auth config ID of the connected account
|
|
3835
3856
|
* @param {CreateConnectedAccountOptions} options - Options for creating a new connected account
|
|
@@ -5007,6 +5028,8 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5007
5028
|
private createMCPServerConfig;
|
|
5008
5029
|
/**
|
|
5009
5030
|
* Creates a new tool router session for a user.
|
|
5031
|
+
* Use `sessionPreset: SessionPreset.DIRECT_TOOLS` when all needed tools
|
|
5032
|
+
* should be exposed directly; see `ToolRouterCreateSessionConfig`.
|
|
5010
5033
|
*
|
|
5011
5034
|
* @param userId {string} The user id to create the session for
|
|
5012
5035
|
* @param config {ToolRouterCreateSessionConfig} The config for the tool router session
|
|
@@ -5014,7 +5037,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5014
5037
|
*
|
|
5015
5038
|
* @example
|
|
5016
5039
|
* ```typescript
|
|
5017
|
-
* import { Composio
|
|
5040
|
+
* import { Composio } from '@composio/core';
|
|
5018
5041
|
*
|
|
5019
5042
|
* const composio = new Composio();
|
|
5020
5043
|
*
|
|
@@ -5046,7 +5069,10 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5046
5069
|
* console.log(session.mcp.headers);
|
|
5047
5070
|
* ```
|
|
5048
5071
|
*/
|
|
5049
|
-
use(id: string
|
|
5072
|
+
use(id: string, options?: {
|
|
5073
|
+
customTools?: CustomTool[];
|
|
5074
|
+
customToolkits?: CustomToolkit[];
|
|
5075
|
+
}): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
5050
5076
|
}
|
|
5051
5077
|
//#endregion
|
|
5052
5078
|
//#region src/composio.d.ts
|
|
@@ -5223,6 +5249,8 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5223
5249
|
toolRouter: ToolRouter<unknown, unknown, TProvider>;
|
|
5224
5250
|
/**
|
|
5225
5251
|
* Creates a new tool router session for a user.
|
|
5252
|
+
* Use `sessionPreset: SessionPreset.DIRECT_TOOLS` when all needed tools
|
|
5253
|
+
* should be exposed directly; see `ToolRouterCreateSessionConfig`.
|
|
5226
5254
|
*
|
|
5227
5255
|
* @param userId {string} The user id to create the session for
|
|
5228
5256
|
* @param config {ToolRouterConfig} The config for the tool router session
|
|
@@ -5251,7 +5279,10 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5251
5279
|
* @param id {string} The id of the session to use
|
|
5252
5280
|
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
5253
5281
|
*/
|
|
5254
|
-
use: (id: string
|
|
5282
|
+
use: (id: string, options?: {
|
|
5283
|
+
customTools?: CustomTool[];
|
|
5284
|
+
customToolkits?: CustomToolkit[];
|
|
5285
|
+
}) => Promise<Session<unknown, unknown, TProvider>>;
|
|
5255
5286
|
/**
|
|
5256
5287
|
* Creates a new instance of the Composio SDK.
|
|
5257
5288
|
*
|