@composio/core 0.6.4 → 0.6.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseProvider-B_7Qy99Q.d.mts → BaseProvider-B2v5L9PY.d.mts} +218 -218
- package/dist/{BaseProvider-DF03HAz3.d.cts → BaseProvider-B_UIuruL.d.cts} +218 -218
- package/dist/{Telemetry-B3HlLpMT.mjs → Telemetry-CHfDfthM.mjs} +1 -1
- package/dist/{Telemetry-DBe2oppA.cjs → Telemetry-DRFfIuVS.cjs} +1 -1
- package/dist/{buffer-BFpVRahf.mjs → buffer-C1MwV-7j.mjs} +3 -1
- package/dist/{buffer-CYf1Z6Sd.cjs → buffer-Dy7Xi_sk.cjs} +8 -0
- package/dist/{composio-COyITeJf.d.cts → composio-B-tZKVA0.d.cts} +897 -305
- package/dist/{composio-ClplAPbl.d.mts → composio-OAY2JH-U.d.mts} +897 -305
- package/dist/{fileUtils.node-DLp53qm1.cjs → fileUtils.node-BUe2eO0j.cjs} +1 -1
- package/dist/{fileUtils.node-MOEGtpnI.mjs → fileUtils.node-D1JLL4nZ.mjs} +1 -1
- package/dist/index.cjs +802 -100
- package/dist/index.d.cts +132 -5
- package/dist/index.d.mts +132 -5
- package/dist/index.mjs +789 -101
- package/dist/models/Files.node.cjs +3 -3
- package/dist/models/Files.node.mjs +3 -3
- package/dist/{types-BO1Bf2Xz.d.mts → types-Bo0skt5g.d.mts} +2 -2
- package/dist/{types-Bib0jIbg.d.cts → types-lcoAiXDa.d.cts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +3 -3
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +3 -3
- package/dist/utils/modifiers/FileToolModifier.node.cjs +2 -2
- 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.node.mjs +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/generated/ably.ts +20 -0
- package/generated/accelo.ts +8 -0
- package/generated/acculynx.ts +17 -0
- package/generated/active_campaign.ts +30 -0
- package/generated/adobe.ts +8 -0
- package/generated/adyntel.ts +12 -0
- package/generated/aero_workflow.ts +8 -0
- package/generated/affinity.ts +29 -0
- package/generated/agencyzoom.ts +108 -0
- package/generated/ahrefs.ts +49 -0
- package/generated/airtable.ts +26 -0
- package/generated/alchemy.ts +16 -0
- package/generated/algolia.ts +39 -0
- package/generated/altoviz.ts +18 -0
- package/generated/amazon.ts +8 -0
- package/generated/amcards.ts +11 -0
- package/generated/amplitude.ts +25 -0
- package/generated/anthropic_administrator.ts +13 -0
- package/generated/apaleo.ts +38 -0
- package/generated/apollo.ts +40 -0
- package/generated/appdrag.ts +8 -0
- package/generated/appsflyer.ts +8 -0
- package/generated/asana.ts +95 -0
- package/generated/ashby.ts +8 -0
- package/generated/atlassian.ts +8 -0
- package/generated/attio.ts +20 -0
- package/generated/auth0.ts +8 -0
- package/generated/axonaut.ts +8 -0
- package/generated/bamboohr.ts +168 -0
- package/generated/bannerbear.ts +17 -0
- package/generated/baserow.ts +11 -0
- package/generated/battlenet.ts +8 -0
- package/generated/beeminder.ts +14 -0
- package/generated/bigmailer.ts +12 -0
- package/generated/bigml.ts +15 -0
- package/generated/bill.ts +218 -0
- package/generated/bitbucket.ts +25 -0
- package/generated/bitwarden.ts +8 -0
- package/generated/blackbaud.ts +8 -0
- package/generated/blackboard.ts +323 -0
- package/generated/boldsign.ts +8 -0
- package/generated/bolna.ts +24 -0
- package/generated/borneo.ts +162 -0
- package/generated/botbaba.ts +8 -0
- package/generated/box.ts +282 -0
- package/generated/braintree.ts +8 -0
- package/generated/brandfetch.ts +15 -0
- package/generated/breezy_hr.ts +8 -0
- package/generated/brevo.ts +28 -0
- package/generated/brex.ts +8 -0
- package/generated/brex_staging.ts +8 -0
- package/generated/brightpearl.ts +8 -0
- package/generated/brilliant_directories.ts +15 -0
- package/generated/browseai.ts +18 -0
- package/generated/browserbase_tool.ts +10 -0
- package/generated/browserhub.ts +8 -0
- package/generated/browserless.ts +16 -0
- package/generated/bubble.ts +8 -0
- package/generated/bugbug.ts +13 -0
- package/generated/builtwith.ts +21 -0
- package/generated/cal.ts +150 -0
- package/generated/calendly.ts +51 -0
- package/generated/canva.ts +41 -0
- package/generated/canvas.ts +100 -0
- package/generated/chatwork.ts +17 -0
- package/generated/chmeetings.ts +8 -0
- package/generated/clickup.ts +153 -0
- package/generated/clockify.ts +23 -0
- package/generated/close.ts +15 -0
- package/generated/cloudflare.ts +10 -0
- package/generated/coda.ts +115 -0
- package/generated/codeinterpreter.ts +14 -0
- package/generated/coinbase.ts +15 -0
- package/generated/coinmarketcal.ts +8 -0
- package/generated/composio.ts +34 -0
- package/generated/composio_search.ts +22 -0
- package/generated/confluence.ts +199 -0
- package/generated/contentful.ts +12 -0
- package/generated/crustdata.ts +23 -0
- package/generated/customer_io.ts +8 -0
- package/generated/cutt_ly.ts +10 -0
- package/generated/d2lbrightspace.ts +54 -0
- package/generated/dailybot.ts +15 -0
- package/generated/datadog.ts +47 -0
- package/generated/datagma.ts +8 -0
- package/generated/datarobot.ts +8 -0
- package/generated/deel.ts +8 -0
- package/generated/demio.ts +8 -0
- package/generated/dialpad.ts +201 -0
- package/generated/digicert.ts +15 -0
- package/generated/discord.ts +17 -0
- package/generated/discordbot.ts +173 -0
- package/generated/docmosis.ts +8 -0
- package/generated/docusign.ts +351 -0
- package/generated/dropbox.ts +20 -0
- package/generated/dropbox_sign.ts +8 -0
- package/generated/dynamics365.ts +25 -0
- package/generated/echtpost.ts +10 -0
- package/generated/elevenlabs.ts +70 -0
- package/generated/emailoctopus.ts +16 -0
- package/generated/enigma.ts +11 -0
- package/generated/entelligence.ts +11 -0
- package/generated/epic_games.ts +8 -0
- package/generated/eventbrite.ts +12 -0
- package/generated/exa.ts +13 -0
- package/generated/excel.ts +34 -0
- package/generated/exist.ts +8 -0
- package/generated/facebook.ts +8 -0
- package/generated/factorial.ts +8 -0
- package/generated/figma.ts +59 -0
- package/generated/finage.ts +19 -0
- package/generated/firecrawl.ts +16 -0
- package/generated/fireflies.ts +21 -0
- package/generated/fitbit.ts +8 -0
- package/generated/flutterwave.ts +33 -0
- package/generated/fomo.ts +10 -0
- package/generated/formcarry.ts +10 -0
- package/generated/formsite.ts +14 -0
- package/generated/foursquare.ts +14 -0
- package/generated/freshbooks.ts +11 -0
- package/generated/freshdesk.ts +16 -0
- package/generated/front.ts +8 -0
- package/generated/github.ts +967 -0
- package/generated/gitlab.ts +82 -0
- package/generated/gmail.d.ts +86 -0
- package/generated/gmail.js +13 -0
- package/generated/gmail.ts +95 -0
- package/generated/go_to_webinar.ts +8 -0
- package/generated/gong.ts +63 -0
- package/generated/google_analytics.ts +13 -0
- package/generated/google_maps.ts +16 -0
- package/generated/googleads.ts +14 -0
- package/generated/googlebigquery.ts +10 -0
- package/generated/googlecalendar.ts +39 -0
- package/generated/googledocs.ts +41 -0
- package/generated/googledrive.ts +62 -0
- package/generated/googlemeet.ts +18 -0
- package/generated/googlephotos.ts +22 -0
- package/generated/googlesheets.ts +40 -0
- package/generated/googleslides.ts +8 -0
- package/generated/googlesuper.ts +230 -0
- package/generated/googletasks.ts +23 -0
- package/generated/gorgias.ts +41 -0
- package/generated/gumroad.ts +14 -0
- package/generated/guru.ts +8 -0
- package/generated/hackernews.ts +15 -0
- package/generated/hackerrank_work.ts +8 -0
- package/generated/harvest.ts +56 -0
- package/generated/helcim.ts +8 -0
- package/generated/heygen.ts +44 -0
- package/generated/highlevel.ts +8 -0
- package/generated/hubspot.ts +252 -0
- package/generated/humanloop.ts +13 -0
- package/generated/icims_talent_cloud.ts +8 -0
- package/generated/idea_scale.ts +8 -0
- package/generated/index.ts +151 -0
- package/generated/insighto_ai.ts +19 -0
- package/generated/intercom.ts +52 -0
- package/generated/interzoid.ts +8 -0
- package/generated/jira.ts +59 -0
- package/generated/jotform.ts +15 -0
- package/generated/junglescout.ts +15 -0
- package/generated/keap.ts +8 -0
- package/generated/kibana.ts +58 -0
- package/generated/kit.ts +38 -0
- package/generated/klaviyo.ts +240 -0
- package/generated/klipfolio.ts +20 -0
- package/generated/kommo.ts +24 -0
- package/generated/lastpass.ts +8 -0
- package/generated/launch_darkly.ts +16 -0
- package/generated/leadfeeder.ts +13 -0
- package/generated/leadoku.ts +10 -0
- package/generated/lever.ts +8 -0
- package/generated/lever_sandbox.ts +8 -0
- package/generated/lexoffice.ts +8 -0
- package/generated/linear.ts +31 -0
- package/generated/linkedin.ts +13 -0
- package/generated/linkhut.ts +14 -0
- package/generated/linkup.ts +11 -0
- package/generated/listennotes.ts +35 -0
- package/generated/lmnt.ts +16 -0
- package/generated/lodgify.ts +10 -0
- package/generated/mailchimp.ts +285 -0
- package/generated/mailerlite.ts +8 -0
- package/generated/maintainx.ts +20 -0
- package/generated/make.ts +12 -0
- package/generated/mboum.ts +8 -0
- package/generated/mem0.ts +52 -0
- package/generated/metaads.ts +25 -0
- package/generated/metatextai.ts +8 -0
- package/generated/microsoft_clarity.ts +10 -0
- package/generated/microsoft_teams.ts +22 -0
- package/generated/microsoft_tenant.ts +8 -0
- package/generated/miro.ts +23 -0
- package/generated/mixpanel.ts +30 -0
- package/generated/mocean.ts +8 -0
- package/generated/monday.ts +30 -0
- package/generated/mopinion.ts +8 -0
- package/generated/more_trees.ts +10 -0
- package/generated/moxie.ts +8 -0
- package/generated/moz.ts +8 -0
- package/generated/mural.ts +14 -0
- package/generated/nasdaq.ts +15 -0
- package/generated/ncscale.ts +8 -0
- package/generated/neon.ts +78 -0
- package/generated/netsuite.ts +8 -0
- package/generated/nextdns.ts +11 -0
- package/generated/ngrok.ts +18 -0
- package/generated/notion.ts +40 -0
- package/generated/oncehub.ts +8 -0
- package/generated/one_drive.ts +49 -0
- package/generated/onepage.ts +11 -0
- package/generated/open_sea.ts +33 -0
- package/generated/outlook.ts +37 -0
- package/generated/pagerduty.ts +362 -0
- package/generated/pandadoc.ts +23 -0
- package/generated/peopledatalabs.ts +24 -0
- package/generated/perplexityai.ts +10 -0
- package/generated/piggy.ts +8 -0
- package/generated/pipedrive.ts +288 -0
- package/generated/placekey.ts +12 -0
- package/generated/posthog.ts +367 -0
- package/generated/precoro.ts +8 -0
- package/generated/printnode.ts +8 -0
- package/generated/process_street.ts +14 -0
- package/generated/productboard.ts +8 -0
- package/generated/qualaroo.ts +8 -0
- package/generated/quickbooks.ts +22 -0
- package/generated/rafflys.ts +8 -0
- package/generated/ragic.ts +10 -0
- package/generated/ramp.ts +17 -0
- package/generated/ravenseotools.ts +8 -0
- package/generated/recallai.ts +17 -0
- package/generated/reddit.ts +19 -0
- package/generated/resend.ts +27 -0
- package/generated/retellai.ts +19 -0
- package/generated/retently.ts +24 -0
- package/generated/ring_central.ts +8 -0
- package/generated/rippling.ts +8 -0
- package/generated/rocket_reach.ts +8 -0
- package/generated/rocketlane.ts +42 -0
- package/generated/rootly.ts +12 -0
- package/generated/rosette_text_analytics.ts +12 -0
- package/generated/sage.ts +8 -0
- package/generated/salesforce.ts +46 -0
- package/generated/scrape_do.ts +28 -0
- package/generated/scrapingant.ts +14 -0
- package/generated/screenshotone.ts +10 -0
- package/generated/seismic.ts +8 -0
- package/generated/semanticscholar.ts +23 -0
- package/generated/semrush.ts +45 -0
- package/generated/sendgrid.ts +384 -0
- package/generated/sentry.ts +185 -0
- package/generated/serpapi.ts +32 -0
- package/generated/servicem8.ts +37 -0
- package/generated/servicenow.ts +14 -0
- package/generated/share_point.ts +15 -0
- package/generated/shopify.ts +37 -0
- package/generated/shortcut.ts +131 -0
- package/generated/simplesat.ts +11 -0
- package/generated/slack.d.ts +16 -0
- package/generated/slack.js +11 -0
- package/generated/slack.ts +24 -0
- package/generated/slackbot.ts +205 -0
- package/generated/smartrecruiters.ts +8 -0
- package/generated/smugmug.ts +14 -0
- package/generated/snowflake.ts +15 -0
- package/generated/sourcegraph.ts +16 -0
- package/generated/square.ts +8 -0
- package/generated/stack_exchange.ts +17 -0
- package/generated/starton.ts +11 -0
- package/generated/storeganise.ts +12 -0
- package/generated/stripe.ts +50 -0
- package/generated/supabase.ts +86 -0
- package/generated/survey_monkey.ts +8 -0
- package/generated/tally.ts +25 -0
- package/generated/tapfiliate.ts +11 -0
- package/generated/tapform.ts +8 -0
- package/generated/tavily.ts +10 -0
- package/generated/terminus.ts +8 -0
- package/generated/text_to_pdf.ts +10 -0
- package/generated/textrazor.ts +22 -0
- package/generated/timecamp.ts +10 -0
- package/generated/timekit.ts +8 -0
- package/generated/timely.ts +11 -0
- package/generated/tinypng.ts +15 -0
- package/generated/tinyurl.ts +10 -0
- package/generated/tisane.ts +15 -0
- package/generated/todoist.ts +19 -0
- package/generated/toneden.ts +8 -0
- package/generated/tpscheck.ts +10 -0
- package/generated/trello.ts +360 -0
- package/generated/twitch.ts +8 -0
- package/generated/twitter.ts +82 -0
- package/generated/twitter_media.ts +10 -0
- package/generated/typefully.ts +14 -0
- package/generated/venly.ts +8 -0
- package/generated/vero.ts +8 -0
- package/generated/visme.ts +8 -0
- package/generated/waboxapp.ts +8 -0
- package/generated/wakatime.ts +8 -0
- package/generated/wave_accounting.ts +8 -0
- package/generated/weathermap.ts +10 -0
- package/generated/webex.ts +37 -0
- package/generated/webflow.ts +30 -0
- package/generated/whatsapp.ts +14 -0
- package/generated/wiz.ts +8 -0
- package/generated/workiom.ts +12 -0
- package/generated/wrike.ts +47 -0
- package/generated/xero.ts +13 -0
- package/generated/yandex.ts +13 -0
- package/generated/ynab.ts +8 -0
- package/generated/yousearch.ts +10 -0
- package/generated/youtube.ts +26 -0
- package/generated/zendesk.ts +23 -0
- package/generated/zenrows.ts +25 -0
- package/generated/zenserp.ts +20 -0
- package/generated/zoho.ts +33 -0
- package/generated/zoho_bigin.ts +21 -0
- package/generated/zoho_books.ts +8 -0
- package/generated/zoho_desk.ts +8 -0
- package/generated/zoho_inventory.ts +8 -0
- package/generated/zoho_invoice.ts +15 -0
- package/generated/zoho_mail.ts +8 -0
- package/generated/zoom.ts +181 -0
- package/generated/zoominfo.ts +26 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as SessionExecuteMetaModifiers, En as ToolRetrievalOptions, Nn as ToolkitVersionParam, Qt as ProviderOptions, X as McpServerGetResponse, Xt as ExecuteToolModifiers, _n as ToolExecuteResponse$1, at as ExecuteToolFnOptions, bn as ToolListParams, dn as SchemaModifierOptions, dt as ConnectionDataSchema, en as SessionMetaToolOptions, fn as Tool, hn as ToolExecuteParams, n as BaseComposioProvider, pn as ToolExecuteMetaParams, r as BaseNonAgenticProvider, tt as McpUrlResponse, ut as ConnectionData, wn as ToolProxyParams, yn as ToolList } from "./BaseProvider-
|
|
1
|
+
import { $t as SessionExecuteMetaModifiers, En as ToolRetrievalOptions, Nn as ToolkitVersionParam, Qt as ProviderOptions, X as McpServerGetResponse, Xt as ExecuteToolModifiers, _n as ToolExecuteResponse$1, at as ExecuteToolFnOptions, bn as ToolListParams, dn as SchemaModifierOptions, dt as ConnectionDataSchema, en as SessionMetaToolOptions, fn as Tool, hn as ToolExecuteParams, n as BaseComposioProvider, pn as ToolExecuteMetaParams, r as BaseNonAgenticProvider, tt as McpUrlResponse, ut as ConnectionData, wn as ToolProxyParams, yn as ToolList } from "./BaseProvider-B_UIuruL.cjs";
|
|
2
2
|
import z$1, { z } from "zod/v3";
|
|
3
3
|
import ComposioClient, { Composio } from "@composio/client";
|
|
4
4
|
import { ToolExecuteResponse, ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
|
|
@@ -554,14 +554,14 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
|
|
|
554
554
|
cursor: z.ZodOptional<z.ZodString>;
|
|
555
555
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
556
556
|
}, "strip", z.ZodTypeAny, {
|
|
557
|
-
limit?: number | undefined;
|
|
558
557
|
cursor?: string | undefined;
|
|
558
|
+
limit?: number | undefined;
|
|
559
559
|
category?: string | undefined;
|
|
560
560
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
561
561
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
562
562
|
}, {
|
|
563
|
-
limit?: number | undefined;
|
|
564
563
|
cursor?: string | undefined;
|
|
564
|
+
limit?: number | undefined;
|
|
565
565
|
category?: string | undefined;
|
|
566
566
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
567
567
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -592,10 +592,11 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
592
592
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
593
593
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
594
594
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
logo?: string | undefined;
|
|
596
595
|
description?: string | undefined;
|
|
596
|
+
logo?: string | undefined;
|
|
597
597
|
availableVersions?: string[] | undefined;
|
|
598
598
|
createdAt?: string | undefined;
|
|
599
|
+
updatedAt?: string | undefined;
|
|
599
600
|
categories?: {
|
|
600
601
|
slug: string;
|
|
601
602
|
name: string;
|
|
@@ -603,12 +604,12 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
603
604
|
appUrl?: string | undefined;
|
|
604
605
|
toolsCount?: number | undefined;
|
|
605
606
|
triggersCount?: number | undefined;
|
|
606
|
-
updatedAt?: string | undefined;
|
|
607
607
|
}, {
|
|
608
|
-
logo?: string | undefined;
|
|
609
608
|
description?: string | undefined;
|
|
609
|
+
logo?: string | undefined;
|
|
610
610
|
availableVersions?: string[] | undefined;
|
|
611
611
|
createdAt?: string | undefined;
|
|
612
|
+
updatedAt?: string | undefined;
|
|
612
613
|
categories?: {
|
|
613
614
|
slug: string;
|
|
614
615
|
name: string;
|
|
@@ -616,7 +617,6 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
616
617
|
appUrl?: string | undefined;
|
|
617
618
|
toolsCount?: number | undefined;
|
|
618
619
|
triggersCount?: number | undefined;
|
|
619
|
-
updatedAt?: string | undefined;
|
|
620
620
|
}>;
|
|
621
621
|
declare const ToolKitItemSchema: z.ZodObject<{
|
|
622
622
|
name: z.ZodString;
|
|
@@ -641,10 +641,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
641
641
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
642
642
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
643
643
|
}, "strip", z.ZodTypeAny, {
|
|
644
|
-
logo?: string | undefined;
|
|
645
644
|
description?: string | undefined;
|
|
645
|
+
logo?: string | undefined;
|
|
646
646
|
availableVersions?: string[] | undefined;
|
|
647
647
|
createdAt?: string | undefined;
|
|
648
|
+
updatedAt?: string | undefined;
|
|
648
649
|
categories?: {
|
|
649
650
|
slug: string;
|
|
650
651
|
name: string;
|
|
@@ -652,12 +653,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
652
653
|
appUrl?: string | undefined;
|
|
653
654
|
toolsCount?: number | undefined;
|
|
654
655
|
triggersCount?: number | undefined;
|
|
655
|
-
updatedAt?: string | undefined;
|
|
656
656
|
}, {
|
|
657
|
-
logo?: string | undefined;
|
|
658
657
|
description?: string | undefined;
|
|
658
|
+
logo?: string | undefined;
|
|
659
659
|
availableVersions?: string[] | undefined;
|
|
660
660
|
createdAt?: string | undefined;
|
|
661
|
+
updatedAt?: string | undefined;
|
|
661
662
|
categories?: {
|
|
662
663
|
slug: string;
|
|
663
664
|
name: string;
|
|
@@ -665,7 +666,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
665
666
|
appUrl?: string | undefined;
|
|
666
667
|
toolsCount?: number | undefined;
|
|
667
668
|
triggersCount?: number | undefined;
|
|
668
|
-
updatedAt?: string | undefined;
|
|
669
669
|
}>;
|
|
670
670
|
isLocalToolkit: z.ZodBoolean;
|
|
671
671
|
authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -675,10 +675,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
675
675
|
slug: string;
|
|
676
676
|
name: string;
|
|
677
677
|
meta: {
|
|
678
|
-
logo?: string | undefined;
|
|
679
678
|
description?: string | undefined;
|
|
679
|
+
logo?: string | undefined;
|
|
680
680
|
availableVersions?: string[] | undefined;
|
|
681
681
|
createdAt?: string | undefined;
|
|
682
|
+
updatedAt?: string | undefined;
|
|
682
683
|
categories?: {
|
|
683
684
|
slug: string;
|
|
684
685
|
name: string;
|
|
@@ -686,7 +687,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
686
687
|
appUrl?: string | undefined;
|
|
687
688
|
toolsCount?: number | undefined;
|
|
688
689
|
triggersCount?: number | undefined;
|
|
689
|
-
updatedAt?: string | undefined;
|
|
690
690
|
};
|
|
691
691
|
isLocalToolkit: boolean;
|
|
692
692
|
authSchemes?: string[] | undefined;
|
|
@@ -696,10 +696,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
696
696
|
slug: string;
|
|
697
697
|
name: string;
|
|
698
698
|
meta: {
|
|
699
|
-
logo?: string | undefined;
|
|
700
699
|
description?: string | undefined;
|
|
700
|
+
logo?: string | undefined;
|
|
701
701
|
availableVersions?: string[] | undefined;
|
|
702
702
|
createdAt?: string | undefined;
|
|
703
|
+
updatedAt?: string | undefined;
|
|
703
704
|
categories?: {
|
|
704
705
|
slug: string;
|
|
705
706
|
name: string;
|
|
@@ -707,7 +708,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
707
708
|
appUrl?: string | undefined;
|
|
708
709
|
toolsCount?: number | undefined;
|
|
709
710
|
triggersCount?: number | undefined;
|
|
710
|
-
updatedAt?: string | undefined;
|
|
711
711
|
};
|
|
712
712
|
isLocalToolkit: boolean;
|
|
713
713
|
authSchemes?: string[] | undefined;
|
|
@@ -737,10 +737,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
737
737
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
738
738
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
739
739
|
}, "strip", z.ZodTypeAny, {
|
|
740
|
-
logo?: string | undefined;
|
|
741
740
|
description?: string | undefined;
|
|
741
|
+
logo?: string | undefined;
|
|
742
742
|
availableVersions?: string[] | undefined;
|
|
743
743
|
createdAt?: string | undefined;
|
|
744
|
+
updatedAt?: string | undefined;
|
|
744
745
|
categories?: {
|
|
745
746
|
slug: string;
|
|
746
747
|
name: string;
|
|
@@ -748,12 +749,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
748
749
|
appUrl?: string | undefined;
|
|
749
750
|
toolsCount?: number | undefined;
|
|
750
751
|
triggersCount?: number | undefined;
|
|
751
|
-
updatedAt?: string | undefined;
|
|
752
752
|
}, {
|
|
753
|
-
logo?: string | undefined;
|
|
754
753
|
description?: string | undefined;
|
|
754
|
+
logo?: string | undefined;
|
|
755
755
|
availableVersions?: string[] | undefined;
|
|
756
756
|
createdAt?: string | undefined;
|
|
757
|
+
updatedAt?: string | undefined;
|
|
757
758
|
categories?: {
|
|
758
759
|
slug: string;
|
|
759
760
|
name: string;
|
|
@@ -761,7 +762,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
761
762
|
appUrl?: string | undefined;
|
|
762
763
|
toolsCount?: number | undefined;
|
|
763
764
|
triggersCount?: number | undefined;
|
|
764
|
-
updatedAt?: string | undefined;
|
|
765
765
|
}>;
|
|
766
766
|
isLocalToolkit: z.ZodBoolean;
|
|
767
767
|
authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -771,10 +771,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
771
771
|
slug: string;
|
|
772
772
|
name: string;
|
|
773
773
|
meta: {
|
|
774
|
-
logo?: string | undefined;
|
|
775
774
|
description?: string | undefined;
|
|
775
|
+
logo?: string | undefined;
|
|
776
776
|
availableVersions?: string[] | undefined;
|
|
777
777
|
createdAt?: string | undefined;
|
|
778
|
+
updatedAt?: string | undefined;
|
|
778
779
|
categories?: {
|
|
779
780
|
slug: string;
|
|
780
781
|
name: string;
|
|
@@ -782,7 +783,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
782
783
|
appUrl?: string | undefined;
|
|
783
784
|
toolsCount?: number | undefined;
|
|
784
785
|
triggersCount?: number | undefined;
|
|
785
|
-
updatedAt?: string | undefined;
|
|
786
786
|
};
|
|
787
787
|
isLocalToolkit: boolean;
|
|
788
788
|
authSchemes?: string[] | undefined;
|
|
@@ -792,10 +792,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
792
792
|
slug: string;
|
|
793
793
|
name: string;
|
|
794
794
|
meta: {
|
|
795
|
-
logo?: string | undefined;
|
|
796
795
|
description?: string | undefined;
|
|
796
|
+
logo?: string | undefined;
|
|
797
797
|
availableVersions?: string[] | undefined;
|
|
798
798
|
createdAt?: string | undefined;
|
|
799
|
+
updatedAt?: string | undefined;
|
|
799
800
|
categories?: {
|
|
800
801
|
slug: string;
|
|
801
802
|
name: string;
|
|
@@ -803,7 +804,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
803
804
|
appUrl?: string | undefined;
|
|
804
805
|
toolsCount?: number | undefined;
|
|
805
806
|
triggersCount?: number | undefined;
|
|
806
|
-
updatedAt?: string | undefined;
|
|
807
807
|
};
|
|
808
808
|
isLocalToolkit: boolean;
|
|
809
809
|
authSchemes?: string[] | undefined;
|
|
@@ -825,15 +825,15 @@ declare const ToolkitAuthFieldSchema: z.ZodObject<{
|
|
|
825
825
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
826
826
|
}, "strip", z.ZodTypeAny, {
|
|
827
827
|
name: string;
|
|
828
|
-
type: string;
|
|
829
828
|
description: string;
|
|
829
|
+
type: string;
|
|
830
830
|
required: boolean;
|
|
831
831
|
displayName: string;
|
|
832
832
|
default?: string | null | undefined;
|
|
833
833
|
}, {
|
|
834
834
|
name: string;
|
|
835
|
-
type: string;
|
|
836
835
|
description: string;
|
|
836
|
+
type: string;
|
|
837
837
|
required: boolean;
|
|
838
838
|
displayName: string;
|
|
839
839
|
default?: string | null | undefined;
|
|
@@ -852,15 +852,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
852
852
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
853
853
|
}, "strip", z.ZodTypeAny, {
|
|
854
854
|
name: string;
|
|
855
|
-
type: string;
|
|
856
855
|
description: string;
|
|
856
|
+
type: string;
|
|
857
857
|
required: boolean;
|
|
858
858
|
displayName: string;
|
|
859
859
|
default?: string | null | undefined;
|
|
860
860
|
}, {
|
|
861
861
|
name: string;
|
|
862
|
-
type: string;
|
|
863
862
|
description: string;
|
|
863
|
+
type: string;
|
|
864
864
|
required: boolean;
|
|
865
865
|
displayName: string;
|
|
866
866
|
default?: string | null | undefined;
|
|
@@ -874,15 +874,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
874
874
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
875
875
|
}, "strip", z.ZodTypeAny, {
|
|
876
876
|
name: string;
|
|
877
|
-
type: string;
|
|
878
877
|
description: string;
|
|
878
|
+
type: string;
|
|
879
879
|
required: boolean;
|
|
880
880
|
displayName: string;
|
|
881
881
|
default?: string | null | undefined;
|
|
882
882
|
}, {
|
|
883
883
|
name: string;
|
|
884
|
-
type: string;
|
|
885
884
|
description: string;
|
|
885
|
+
type: string;
|
|
886
886
|
required: boolean;
|
|
887
887
|
displayName: string;
|
|
888
888
|
default?: string | null | undefined;
|
|
@@ -890,16 +890,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
890
890
|
}, "strip", z.ZodTypeAny, {
|
|
891
891
|
required: {
|
|
892
892
|
name: string;
|
|
893
|
-
type: string;
|
|
894
893
|
description: string;
|
|
894
|
+
type: string;
|
|
895
895
|
required: boolean;
|
|
896
896
|
displayName: string;
|
|
897
897
|
default?: string | null | undefined;
|
|
898
898
|
}[];
|
|
899
899
|
optional: {
|
|
900
900
|
name: string;
|
|
901
|
-
type: string;
|
|
902
901
|
description: string;
|
|
902
|
+
type: string;
|
|
903
903
|
required: boolean;
|
|
904
904
|
displayName: string;
|
|
905
905
|
default?: string | null | undefined;
|
|
@@ -907,16 +907,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
907
907
|
}, {
|
|
908
908
|
required: {
|
|
909
909
|
name: string;
|
|
910
|
-
type: string;
|
|
911
910
|
description: string;
|
|
911
|
+
type: string;
|
|
912
912
|
required: boolean;
|
|
913
913
|
displayName: string;
|
|
914
914
|
default?: string | null | undefined;
|
|
915
915
|
}[];
|
|
916
916
|
optional: {
|
|
917
917
|
name: string;
|
|
918
|
-
type: string;
|
|
919
918
|
description: string;
|
|
919
|
+
type: string;
|
|
920
920
|
required: boolean;
|
|
921
921
|
displayName: string;
|
|
922
922
|
default?: string | null | undefined;
|
|
@@ -932,15 +932,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
932
932
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
933
933
|
}, "strip", z.ZodTypeAny, {
|
|
934
934
|
name: string;
|
|
935
|
-
type: string;
|
|
936
935
|
description: string;
|
|
936
|
+
type: string;
|
|
937
937
|
required: boolean;
|
|
938
938
|
displayName: string;
|
|
939
939
|
default?: string | null | undefined;
|
|
940
940
|
}, {
|
|
941
941
|
name: string;
|
|
942
|
-
type: string;
|
|
943
942
|
description: string;
|
|
943
|
+
type: string;
|
|
944
944
|
required: boolean;
|
|
945
945
|
displayName: string;
|
|
946
946
|
default?: string | null | undefined;
|
|
@@ -954,15 +954,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
954
954
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
955
955
|
}, "strip", z.ZodTypeAny, {
|
|
956
956
|
name: string;
|
|
957
|
-
type: string;
|
|
958
957
|
description: string;
|
|
958
|
+
type: string;
|
|
959
959
|
required: boolean;
|
|
960
960
|
displayName: string;
|
|
961
961
|
default?: string | null | undefined;
|
|
962
962
|
}, {
|
|
963
963
|
name: string;
|
|
964
|
-
type: string;
|
|
965
964
|
description: string;
|
|
965
|
+
type: string;
|
|
966
966
|
required: boolean;
|
|
967
967
|
displayName: string;
|
|
968
968
|
default?: string | null | undefined;
|
|
@@ -970,16 +970,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
970
970
|
}, "strip", z.ZodTypeAny, {
|
|
971
971
|
required: {
|
|
972
972
|
name: string;
|
|
973
|
-
type: string;
|
|
974
973
|
description: string;
|
|
974
|
+
type: string;
|
|
975
975
|
required: boolean;
|
|
976
976
|
displayName: string;
|
|
977
977
|
default?: string | null | undefined;
|
|
978
978
|
}[];
|
|
979
979
|
optional: {
|
|
980
980
|
name: string;
|
|
981
|
-
type: string;
|
|
982
981
|
description: string;
|
|
982
|
+
type: string;
|
|
983
983
|
required: boolean;
|
|
984
984
|
displayName: string;
|
|
985
985
|
default?: string | null | undefined;
|
|
@@ -987,16 +987,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
987
987
|
}, {
|
|
988
988
|
required: {
|
|
989
989
|
name: string;
|
|
990
|
-
type: string;
|
|
991
990
|
description: string;
|
|
991
|
+
type: string;
|
|
992
992
|
required: boolean;
|
|
993
993
|
displayName: string;
|
|
994
994
|
default?: string | null | undefined;
|
|
995
995
|
}[];
|
|
996
996
|
optional: {
|
|
997
997
|
name: string;
|
|
998
|
-
type: string;
|
|
999
998
|
description: string;
|
|
999
|
+
type: string;
|
|
1000
1000
|
required: boolean;
|
|
1001
1001
|
displayName: string;
|
|
1002
1002
|
default?: string | null | undefined;
|
|
@@ -1006,16 +1006,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1006
1006
|
authConfigCreation: {
|
|
1007
1007
|
required: {
|
|
1008
1008
|
name: string;
|
|
1009
|
-
type: string;
|
|
1010
1009
|
description: string;
|
|
1010
|
+
type: string;
|
|
1011
1011
|
required: boolean;
|
|
1012
1012
|
displayName: string;
|
|
1013
1013
|
default?: string | null | undefined;
|
|
1014
1014
|
}[];
|
|
1015
1015
|
optional: {
|
|
1016
1016
|
name: string;
|
|
1017
|
-
type: string;
|
|
1018
1017
|
description: string;
|
|
1018
|
+
type: string;
|
|
1019
1019
|
required: boolean;
|
|
1020
1020
|
displayName: string;
|
|
1021
1021
|
default?: string | null | undefined;
|
|
@@ -1024,16 +1024,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1024
1024
|
connectedAccountInitiation: {
|
|
1025
1025
|
required: {
|
|
1026
1026
|
name: string;
|
|
1027
|
-
type: string;
|
|
1028
1027
|
description: string;
|
|
1028
|
+
type: string;
|
|
1029
1029
|
required: boolean;
|
|
1030
1030
|
displayName: string;
|
|
1031
1031
|
default?: string | null | undefined;
|
|
1032
1032
|
}[];
|
|
1033
1033
|
optional: {
|
|
1034
1034
|
name: string;
|
|
1035
|
-
type: string;
|
|
1036
1035
|
description: string;
|
|
1036
|
+
type: string;
|
|
1037
1037
|
required: boolean;
|
|
1038
1038
|
displayName: string;
|
|
1039
1039
|
default?: string | null | undefined;
|
|
@@ -1043,16 +1043,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1043
1043
|
authConfigCreation: {
|
|
1044
1044
|
required: {
|
|
1045
1045
|
name: string;
|
|
1046
|
-
type: string;
|
|
1047
1046
|
description: string;
|
|
1047
|
+
type: string;
|
|
1048
1048
|
required: boolean;
|
|
1049
1049
|
displayName: string;
|
|
1050
1050
|
default?: string | null | undefined;
|
|
1051
1051
|
}[];
|
|
1052
1052
|
optional: {
|
|
1053
1053
|
name: string;
|
|
1054
|
-
type: string;
|
|
1055
1054
|
description: string;
|
|
1055
|
+
type: string;
|
|
1056
1056
|
required: boolean;
|
|
1057
1057
|
displayName: string;
|
|
1058
1058
|
default?: string | null | undefined;
|
|
@@ -1061,16 +1061,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1061
1061
|
connectedAccountInitiation: {
|
|
1062
1062
|
required: {
|
|
1063
1063
|
name: string;
|
|
1064
|
-
type: string;
|
|
1065
1064
|
description: string;
|
|
1065
|
+
type: string;
|
|
1066
1066
|
required: boolean;
|
|
1067
1067
|
displayName: string;
|
|
1068
1068
|
default?: string | null | undefined;
|
|
1069
1069
|
}[];
|
|
1070
1070
|
optional: {
|
|
1071
1071
|
name: string;
|
|
1072
|
-
type: string;
|
|
1073
1072
|
description: string;
|
|
1073
|
+
type: string;
|
|
1074
1074
|
required: boolean;
|
|
1075
1075
|
displayName: string;
|
|
1076
1076
|
default?: string | null | undefined;
|
|
@@ -1091,16 +1091,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1091
1091
|
authConfigCreation: {
|
|
1092
1092
|
required: {
|
|
1093
1093
|
name: string;
|
|
1094
|
-
type: string;
|
|
1095
1094
|
description: string;
|
|
1095
|
+
type: string;
|
|
1096
1096
|
required: boolean;
|
|
1097
1097
|
displayName: string;
|
|
1098
1098
|
default?: string | null | undefined;
|
|
1099
1099
|
}[];
|
|
1100
1100
|
optional: {
|
|
1101
1101
|
name: string;
|
|
1102
|
-
type: string;
|
|
1103
1102
|
description: string;
|
|
1103
|
+
type: string;
|
|
1104
1104
|
required: boolean;
|
|
1105
1105
|
displayName: string;
|
|
1106
1106
|
default?: string | null | undefined;
|
|
@@ -1109,16 +1109,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1109
1109
|
connectedAccountInitiation: {
|
|
1110
1110
|
required: {
|
|
1111
1111
|
name: string;
|
|
1112
|
-
type: string;
|
|
1113
1112
|
description: string;
|
|
1113
|
+
type: string;
|
|
1114
1114
|
required: boolean;
|
|
1115
1115
|
displayName: string;
|
|
1116
1116
|
default?: string | null | undefined;
|
|
1117
1117
|
}[];
|
|
1118
1118
|
optional: {
|
|
1119
1119
|
name: string;
|
|
1120
|
-
type: string;
|
|
1121
1120
|
description: string;
|
|
1121
|
+
type: string;
|
|
1122
1122
|
required: boolean;
|
|
1123
1123
|
displayName: string;
|
|
1124
1124
|
default?: string | null | undefined;
|
|
@@ -1135,16 +1135,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1135
1135
|
authConfigCreation: {
|
|
1136
1136
|
required: {
|
|
1137
1137
|
name: string;
|
|
1138
|
-
type: string;
|
|
1139
1138
|
description: string;
|
|
1139
|
+
type: string;
|
|
1140
1140
|
required: boolean;
|
|
1141
1141
|
displayName: string;
|
|
1142
1142
|
default?: string | null | undefined;
|
|
1143
1143
|
}[];
|
|
1144
1144
|
optional: {
|
|
1145
1145
|
name: string;
|
|
1146
|
-
type: string;
|
|
1147
1146
|
description: string;
|
|
1147
|
+
type: string;
|
|
1148
1148
|
required: boolean;
|
|
1149
1149
|
displayName: string;
|
|
1150
1150
|
default?: string | null | undefined;
|
|
@@ -1153,16 +1153,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1153
1153
|
connectedAccountInitiation: {
|
|
1154
1154
|
required: {
|
|
1155
1155
|
name: string;
|
|
1156
|
-
type: string;
|
|
1157
1156
|
description: string;
|
|
1157
|
+
type: string;
|
|
1158
1158
|
required: boolean;
|
|
1159
1159
|
displayName: string;
|
|
1160
1160
|
default?: string | null | undefined;
|
|
1161
1161
|
}[];
|
|
1162
1162
|
optional: {
|
|
1163
1163
|
name: string;
|
|
1164
|
-
type: string;
|
|
1165
1164
|
description: string;
|
|
1165
|
+
type: string;
|
|
1166
1166
|
required: boolean;
|
|
1167
1167
|
displayName: string;
|
|
1168
1168
|
default?: string | null | undefined;
|
|
@@ -1196,10 +1196,11 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1196
1196
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1197
1197
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1198
1198
|
}, "strip", z.ZodTypeAny, {
|
|
1199
|
-
logo?: string | undefined;
|
|
1200
1199
|
description?: string | undefined;
|
|
1200
|
+
logo?: string | undefined;
|
|
1201
1201
|
availableVersions?: string[] | undefined;
|
|
1202
1202
|
createdAt?: string | undefined;
|
|
1203
|
+
updatedAt?: string | undefined;
|
|
1203
1204
|
categories?: {
|
|
1204
1205
|
slug: string;
|
|
1205
1206
|
name: string;
|
|
@@ -1207,12 +1208,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1207
1208
|
appUrl?: string | undefined;
|
|
1208
1209
|
toolsCount?: number | undefined;
|
|
1209
1210
|
triggersCount?: number | undefined;
|
|
1210
|
-
updatedAt?: string | undefined;
|
|
1211
1211
|
}, {
|
|
1212
|
-
logo?: string | undefined;
|
|
1213
1212
|
description?: string | undefined;
|
|
1213
|
+
logo?: string | undefined;
|
|
1214
1214
|
availableVersions?: string[] | undefined;
|
|
1215
1215
|
createdAt?: string | undefined;
|
|
1216
|
+
updatedAt?: string | undefined;
|
|
1216
1217
|
categories?: {
|
|
1217
1218
|
slug: string;
|
|
1218
1219
|
name: string;
|
|
@@ -1220,7 +1221,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1220
1221
|
appUrl?: string | undefined;
|
|
1221
1222
|
toolsCount?: number | undefined;
|
|
1222
1223
|
triggersCount?: number | undefined;
|
|
1223
|
-
updatedAt?: string | undefined;
|
|
1224
1224
|
}>;
|
|
1225
1225
|
isLocalToolkit: z.ZodBoolean;
|
|
1226
1226
|
composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1238,15 +1238,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1238
1238
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1239
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1240
1240
|
name: string;
|
|
1241
|
-
type: string;
|
|
1242
1241
|
description: string;
|
|
1242
|
+
type: string;
|
|
1243
1243
|
required: boolean;
|
|
1244
1244
|
displayName: string;
|
|
1245
1245
|
default?: string | null | undefined;
|
|
1246
1246
|
}, {
|
|
1247
1247
|
name: string;
|
|
1248
|
-
type: string;
|
|
1249
1248
|
description: string;
|
|
1249
|
+
type: string;
|
|
1250
1250
|
required: boolean;
|
|
1251
1251
|
displayName: string;
|
|
1252
1252
|
default?: string | null | undefined;
|
|
@@ -1260,15 +1260,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1260
1260
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1261
1261
|
}, "strip", z.ZodTypeAny, {
|
|
1262
1262
|
name: string;
|
|
1263
|
-
type: string;
|
|
1264
1263
|
description: string;
|
|
1264
|
+
type: string;
|
|
1265
1265
|
required: boolean;
|
|
1266
1266
|
displayName: string;
|
|
1267
1267
|
default?: string | null | undefined;
|
|
1268
1268
|
}, {
|
|
1269
1269
|
name: string;
|
|
1270
|
-
type: string;
|
|
1271
1270
|
description: string;
|
|
1271
|
+
type: string;
|
|
1272
1272
|
required: boolean;
|
|
1273
1273
|
displayName: string;
|
|
1274
1274
|
default?: string | null | undefined;
|
|
@@ -1276,16 +1276,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1276
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1277
1277
|
required: {
|
|
1278
1278
|
name: string;
|
|
1279
|
-
type: string;
|
|
1280
1279
|
description: string;
|
|
1280
|
+
type: string;
|
|
1281
1281
|
required: boolean;
|
|
1282
1282
|
displayName: string;
|
|
1283
1283
|
default?: string | null | undefined;
|
|
1284
1284
|
}[];
|
|
1285
1285
|
optional: {
|
|
1286
1286
|
name: string;
|
|
1287
|
-
type: string;
|
|
1288
1287
|
description: string;
|
|
1288
|
+
type: string;
|
|
1289
1289
|
required: boolean;
|
|
1290
1290
|
displayName: string;
|
|
1291
1291
|
default?: string | null | undefined;
|
|
@@ -1293,16 +1293,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1293
1293
|
}, {
|
|
1294
1294
|
required: {
|
|
1295
1295
|
name: string;
|
|
1296
|
-
type: string;
|
|
1297
1296
|
description: string;
|
|
1297
|
+
type: string;
|
|
1298
1298
|
required: boolean;
|
|
1299
1299
|
displayName: string;
|
|
1300
1300
|
default?: string | null | undefined;
|
|
1301
1301
|
}[];
|
|
1302
1302
|
optional: {
|
|
1303
1303
|
name: string;
|
|
1304
|
-
type: string;
|
|
1305
1304
|
description: string;
|
|
1305
|
+
type: string;
|
|
1306
1306
|
required: boolean;
|
|
1307
1307
|
displayName: string;
|
|
1308
1308
|
default?: string | null | undefined;
|
|
@@ -1318,15 +1318,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1318
1318
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1319
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1320
1320
|
name: string;
|
|
1321
|
-
type: string;
|
|
1322
1321
|
description: string;
|
|
1322
|
+
type: string;
|
|
1323
1323
|
required: boolean;
|
|
1324
1324
|
displayName: string;
|
|
1325
1325
|
default?: string | null | undefined;
|
|
1326
1326
|
}, {
|
|
1327
1327
|
name: string;
|
|
1328
|
-
type: string;
|
|
1329
1328
|
description: string;
|
|
1329
|
+
type: string;
|
|
1330
1330
|
required: boolean;
|
|
1331
1331
|
displayName: string;
|
|
1332
1332
|
default?: string | null | undefined;
|
|
@@ -1340,15 +1340,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1340
1340
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1341
1341
|
}, "strip", z.ZodTypeAny, {
|
|
1342
1342
|
name: string;
|
|
1343
|
-
type: string;
|
|
1344
1343
|
description: string;
|
|
1344
|
+
type: string;
|
|
1345
1345
|
required: boolean;
|
|
1346
1346
|
displayName: string;
|
|
1347
1347
|
default?: string | null | undefined;
|
|
1348
1348
|
}, {
|
|
1349
1349
|
name: string;
|
|
1350
|
-
type: string;
|
|
1351
1350
|
description: string;
|
|
1351
|
+
type: string;
|
|
1352
1352
|
required: boolean;
|
|
1353
1353
|
displayName: string;
|
|
1354
1354
|
default?: string | null | undefined;
|
|
@@ -1356,16 +1356,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1356
1356
|
}, "strip", z.ZodTypeAny, {
|
|
1357
1357
|
required: {
|
|
1358
1358
|
name: string;
|
|
1359
|
-
type: string;
|
|
1360
1359
|
description: string;
|
|
1360
|
+
type: string;
|
|
1361
1361
|
required: boolean;
|
|
1362
1362
|
displayName: string;
|
|
1363
1363
|
default?: string | null | undefined;
|
|
1364
1364
|
}[];
|
|
1365
1365
|
optional: {
|
|
1366
1366
|
name: string;
|
|
1367
|
-
type: string;
|
|
1368
1367
|
description: string;
|
|
1368
|
+
type: string;
|
|
1369
1369
|
required: boolean;
|
|
1370
1370
|
displayName: string;
|
|
1371
1371
|
default?: string | null | undefined;
|
|
@@ -1373,16 +1373,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1373
1373
|
}, {
|
|
1374
1374
|
required: {
|
|
1375
1375
|
name: string;
|
|
1376
|
-
type: string;
|
|
1377
1376
|
description: string;
|
|
1377
|
+
type: string;
|
|
1378
1378
|
required: boolean;
|
|
1379
1379
|
displayName: string;
|
|
1380
1380
|
default?: string | null | undefined;
|
|
1381
1381
|
}[];
|
|
1382
1382
|
optional: {
|
|
1383
1383
|
name: string;
|
|
1384
|
-
type: string;
|
|
1385
1384
|
description: string;
|
|
1385
|
+
type: string;
|
|
1386
1386
|
required: boolean;
|
|
1387
1387
|
displayName: string;
|
|
1388
1388
|
default?: string | null | undefined;
|
|
@@ -1392,16 +1392,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1392
1392
|
authConfigCreation: {
|
|
1393
1393
|
required: {
|
|
1394
1394
|
name: string;
|
|
1395
|
-
type: string;
|
|
1396
1395
|
description: string;
|
|
1396
|
+
type: string;
|
|
1397
1397
|
required: boolean;
|
|
1398
1398
|
displayName: string;
|
|
1399
1399
|
default?: string | null | undefined;
|
|
1400
1400
|
}[];
|
|
1401
1401
|
optional: {
|
|
1402
1402
|
name: string;
|
|
1403
|
-
type: string;
|
|
1404
1403
|
description: string;
|
|
1404
|
+
type: string;
|
|
1405
1405
|
required: boolean;
|
|
1406
1406
|
displayName: string;
|
|
1407
1407
|
default?: string | null | undefined;
|
|
@@ -1410,16 +1410,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1410
1410
|
connectedAccountInitiation: {
|
|
1411
1411
|
required: {
|
|
1412
1412
|
name: string;
|
|
1413
|
-
type: string;
|
|
1414
1413
|
description: string;
|
|
1414
|
+
type: string;
|
|
1415
1415
|
required: boolean;
|
|
1416
1416
|
displayName: string;
|
|
1417
1417
|
default?: string | null | undefined;
|
|
1418
1418
|
}[];
|
|
1419
1419
|
optional: {
|
|
1420
1420
|
name: string;
|
|
1421
|
-
type: string;
|
|
1422
1421
|
description: string;
|
|
1422
|
+
type: string;
|
|
1423
1423
|
required: boolean;
|
|
1424
1424
|
displayName: string;
|
|
1425
1425
|
default?: string | null | undefined;
|
|
@@ -1429,16 +1429,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1429
1429
|
authConfigCreation: {
|
|
1430
1430
|
required: {
|
|
1431
1431
|
name: string;
|
|
1432
|
-
type: string;
|
|
1433
1432
|
description: string;
|
|
1433
|
+
type: string;
|
|
1434
1434
|
required: boolean;
|
|
1435
1435
|
displayName: string;
|
|
1436
1436
|
default?: string | null | undefined;
|
|
1437
1437
|
}[];
|
|
1438
1438
|
optional: {
|
|
1439
1439
|
name: string;
|
|
1440
|
-
type: string;
|
|
1441
1440
|
description: string;
|
|
1441
|
+
type: string;
|
|
1442
1442
|
required: boolean;
|
|
1443
1443
|
displayName: string;
|
|
1444
1444
|
default?: string | null | undefined;
|
|
@@ -1447,16 +1447,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1447
1447
|
connectedAccountInitiation: {
|
|
1448
1448
|
required: {
|
|
1449
1449
|
name: string;
|
|
1450
|
-
type: string;
|
|
1451
1450
|
description: string;
|
|
1451
|
+
type: string;
|
|
1452
1452
|
required: boolean;
|
|
1453
1453
|
displayName: string;
|
|
1454
1454
|
default?: string | null | undefined;
|
|
1455
1455
|
}[];
|
|
1456
1456
|
optional: {
|
|
1457
1457
|
name: string;
|
|
1458
|
-
type: string;
|
|
1459
1458
|
description: string;
|
|
1459
|
+
type: string;
|
|
1460
1460
|
required: boolean;
|
|
1461
1461
|
displayName: string;
|
|
1462
1462
|
default?: string | null | undefined;
|
|
@@ -1477,16 +1477,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1477
1477
|
authConfigCreation: {
|
|
1478
1478
|
required: {
|
|
1479
1479
|
name: string;
|
|
1480
|
-
type: string;
|
|
1481
1480
|
description: string;
|
|
1481
|
+
type: string;
|
|
1482
1482
|
required: boolean;
|
|
1483
1483
|
displayName: string;
|
|
1484
1484
|
default?: string | null | undefined;
|
|
1485
1485
|
}[];
|
|
1486
1486
|
optional: {
|
|
1487
1487
|
name: string;
|
|
1488
|
-
type: string;
|
|
1489
1488
|
description: string;
|
|
1489
|
+
type: string;
|
|
1490
1490
|
required: boolean;
|
|
1491
1491
|
displayName: string;
|
|
1492
1492
|
default?: string | null | undefined;
|
|
@@ -1495,16 +1495,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1495
1495
|
connectedAccountInitiation: {
|
|
1496
1496
|
required: {
|
|
1497
1497
|
name: string;
|
|
1498
|
-
type: string;
|
|
1499
1498
|
description: string;
|
|
1499
|
+
type: string;
|
|
1500
1500
|
required: boolean;
|
|
1501
1501
|
displayName: string;
|
|
1502
1502
|
default?: string | null | undefined;
|
|
1503
1503
|
}[];
|
|
1504
1504
|
optional: {
|
|
1505
1505
|
name: string;
|
|
1506
|
-
type: string;
|
|
1507
1506
|
description: string;
|
|
1507
|
+
type: string;
|
|
1508
1508
|
required: boolean;
|
|
1509
1509
|
displayName: string;
|
|
1510
1510
|
default?: string | null | undefined;
|
|
@@ -1521,16 +1521,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1521
1521
|
authConfigCreation: {
|
|
1522
1522
|
required: {
|
|
1523
1523
|
name: string;
|
|
1524
|
-
type: string;
|
|
1525
1524
|
description: string;
|
|
1525
|
+
type: string;
|
|
1526
1526
|
required: boolean;
|
|
1527
1527
|
displayName: string;
|
|
1528
1528
|
default?: string | null | undefined;
|
|
1529
1529
|
}[];
|
|
1530
1530
|
optional: {
|
|
1531
1531
|
name: string;
|
|
1532
|
-
type: string;
|
|
1533
1532
|
description: string;
|
|
1533
|
+
type: string;
|
|
1534
1534
|
required: boolean;
|
|
1535
1535
|
displayName: string;
|
|
1536
1536
|
default?: string | null | undefined;
|
|
@@ -1539,16 +1539,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1539
1539
|
connectedAccountInitiation: {
|
|
1540
1540
|
required: {
|
|
1541
1541
|
name: string;
|
|
1542
|
-
type: string;
|
|
1543
1542
|
description: string;
|
|
1543
|
+
type: string;
|
|
1544
1544
|
required: boolean;
|
|
1545
1545
|
displayName: string;
|
|
1546
1546
|
default?: string | null | undefined;
|
|
1547
1547
|
}[];
|
|
1548
1548
|
optional: {
|
|
1549
1549
|
name: string;
|
|
1550
|
-
type: string;
|
|
1551
1550
|
description: string;
|
|
1551
|
+
type: string;
|
|
1552
1552
|
required: boolean;
|
|
1553
1553
|
displayName: string;
|
|
1554
1554
|
default?: string | null | undefined;
|
|
@@ -1566,10 +1566,11 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1566
1566
|
slug: string;
|
|
1567
1567
|
name: string;
|
|
1568
1568
|
meta: {
|
|
1569
|
-
logo?: string | undefined;
|
|
1570
1569
|
description?: string | undefined;
|
|
1570
|
+
logo?: string | undefined;
|
|
1571
1571
|
availableVersions?: string[] | undefined;
|
|
1572
1572
|
createdAt?: string | undefined;
|
|
1573
|
+
updatedAt?: string | undefined;
|
|
1573
1574
|
categories?: {
|
|
1574
1575
|
slug: string;
|
|
1575
1576
|
name: string;
|
|
@@ -1577,7 +1578,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1577
1578
|
appUrl?: string | undefined;
|
|
1578
1579
|
toolsCount?: number | undefined;
|
|
1579
1580
|
triggersCount?: number | undefined;
|
|
1580
|
-
updatedAt?: string | undefined;
|
|
1581
1581
|
};
|
|
1582
1582
|
isLocalToolkit: boolean;
|
|
1583
1583
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -1589,16 +1589,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1589
1589
|
authConfigCreation: {
|
|
1590
1590
|
required: {
|
|
1591
1591
|
name: string;
|
|
1592
|
-
type: string;
|
|
1593
1592
|
description: string;
|
|
1593
|
+
type: string;
|
|
1594
1594
|
required: boolean;
|
|
1595
1595
|
displayName: string;
|
|
1596
1596
|
default?: string | null | undefined;
|
|
1597
1597
|
}[];
|
|
1598
1598
|
optional: {
|
|
1599
1599
|
name: string;
|
|
1600
|
-
type: string;
|
|
1601
1600
|
description: string;
|
|
1601
|
+
type: string;
|
|
1602
1602
|
required: boolean;
|
|
1603
1603
|
displayName: string;
|
|
1604
1604
|
default?: string | null | undefined;
|
|
@@ -1607,16 +1607,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1607
1607
|
connectedAccountInitiation: {
|
|
1608
1608
|
required: {
|
|
1609
1609
|
name: string;
|
|
1610
|
-
type: string;
|
|
1611
1610
|
description: string;
|
|
1611
|
+
type: string;
|
|
1612
1612
|
required: boolean;
|
|
1613
1613
|
displayName: string;
|
|
1614
1614
|
default?: string | null | undefined;
|
|
1615
1615
|
}[];
|
|
1616
1616
|
optional: {
|
|
1617
1617
|
name: string;
|
|
1618
|
-
type: string;
|
|
1619
1618
|
description: string;
|
|
1619
|
+
type: string;
|
|
1620
1620
|
required: boolean;
|
|
1621
1621
|
displayName: string;
|
|
1622
1622
|
default?: string | null | undefined;
|
|
@@ -1633,10 +1633,11 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1633
1633
|
slug: string;
|
|
1634
1634
|
name: string;
|
|
1635
1635
|
meta: {
|
|
1636
|
-
logo?: string | undefined;
|
|
1637
1636
|
description?: string | undefined;
|
|
1637
|
+
logo?: string | undefined;
|
|
1638
1638
|
availableVersions?: string[] | undefined;
|
|
1639
1639
|
createdAt?: string | undefined;
|
|
1640
|
+
updatedAt?: string | undefined;
|
|
1640
1641
|
categories?: {
|
|
1641
1642
|
slug: string;
|
|
1642
1643
|
name: string;
|
|
@@ -1644,7 +1645,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1644
1645
|
appUrl?: string | undefined;
|
|
1645
1646
|
toolsCount?: number | undefined;
|
|
1646
1647
|
triggersCount?: number | undefined;
|
|
1647
|
-
updatedAt?: string | undefined;
|
|
1648
1648
|
};
|
|
1649
1649
|
isLocalToolkit: boolean;
|
|
1650
1650
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -1656,16 +1656,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1656
1656
|
authConfigCreation: {
|
|
1657
1657
|
required: {
|
|
1658
1658
|
name: string;
|
|
1659
|
-
type: string;
|
|
1660
1659
|
description: string;
|
|
1660
|
+
type: string;
|
|
1661
1661
|
required: boolean;
|
|
1662
1662
|
displayName: string;
|
|
1663
1663
|
default?: string | null | undefined;
|
|
1664
1664
|
}[];
|
|
1665
1665
|
optional: {
|
|
1666
1666
|
name: string;
|
|
1667
|
-
type: string;
|
|
1668
1667
|
description: string;
|
|
1668
|
+
type: string;
|
|
1669
1669
|
required: boolean;
|
|
1670
1670
|
displayName: string;
|
|
1671
1671
|
default?: string | null | undefined;
|
|
@@ -1674,16 +1674,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1674
1674
|
connectedAccountInitiation: {
|
|
1675
1675
|
required: {
|
|
1676
1676
|
name: string;
|
|
1677
|
-
type: string;
|
|
1678
1677
|
description: string;
|
|
1678
|
+
type: string;
|
|
1679
1679
|
required: boolean;
|
|
1680
1680
|
displayName: string;
|
|
1681
1681
|
default?: string | null | undefined;
|
|
1682
1682
|
}[];
|
|
1683
1683
|
optional: {
|
|
1684
1684
|
name: string;
|
|
1685
|
-
type: string;
|
|
1686
1685
|
description: string;
|
|
1686
|
+
type: string;
|
|
1687
1687
|
required: boolean;
|
|
1688
1688
|
displayName: string;
|
|
1689
1689
|
default?: string | null | undefined;
|
|
@@ -1753,15 +1753,15 @@ declare const ToolkitAuthFieldsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
1753
1753
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1754
1754
|
}, "strip", z.ZodTypeAny, {
|
|
1755
1755
|
name: string;
|
|
1756
|
-
type: string;
|
|
1757
1756
|
description: string;
|
|
1757
|
+
type: string;
|
|
1758
1758
|
displayName: string;
|
|
1759
1759
|
required?: boolean | undefined;
|
|
1760
1760
|
default?: string | null | undefined;
|
|
1761
1761
|
}, {
|
|
1762
1762
|
name: string;
|
|
1763
|
-
type: string;
|
|
1764
1763
|
description: string;
|
|
1764
|
+
type: string;
|
|
1765
1765
|
displayName: string;
|
|
1766
1766
|
required?: boolean | undefined;
|
|
1767
1767
|
default?: string | null | undefined;
|
|
@@ -1796,31 +1796,31 @@ declare const CreateConnectedAccountParamsSchema: z.ZodObject<{
|
|
|
1796
1796
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
1797
1797
|
userId: z.ZodOptional<z.ZodString>;
|
|
1798
1798
|
}, "strip", z.ZodTypeAny, {
|
|
1799
|
-
userId?: string | undefined;
|
|
1800
|
-
data?: Record<string, unknown> | undefined;
|
|
1801
1799
|
callbackUrl?: string | undefined;
|
|
1802
|
-
}, {
|
|
1803
|
-
userId?: string | undefined;
|
|
1804
1800
|
data?: Record<string, unknown> | undefined;
|
|
1801
|
+
userId?: string | undefined;
|
|
1802
|
+
}, {
|
|
1805
1803
|
callbackUrl?: string | undefined;
|
|
1804
|
+
data?: Record<string, unknown> | undefined;
|
|
1805
|
+
userId?: string | undefined;
|
|
1806
1806
|
}>;
|
|
1807
1807
|
}, "strip", z.ZodTypeAny, {
|
|
1808
1808
|
authConfig: {
|
|
1809
1809
|
id: string;
|
|
1810
1810
|
};
|
|
1811
1811
|
connection: {
|
|
1812
|
-
userId?: string | undefined;
|
|
1813
|
-
data?: Record<string, unknown> | undefined;
|
|
1814
1812
|
callbackUrl?: string | undefined;
|
|
1813
|
+
data?: Record<string, unknown> | undefined;
|
|
1814
|
+
userId?: string | undefined;
|
|
1815
1815
|
};
|
|
1816
1816
|
}, {
|
|
1817
1817
|
authConfig: {
|
|
1818
1818
|
id: string;
|
|
1819
1819
|
};
|
|
1820
1820
|
connection: {
|
|
1821
|
-
userId?: string | undefined;
|
|
1822
|
-
data?: Record<string, unknown> | undefined;
|
|
1823
1821
|
callbackUrl?: string | undefined;
|
|
1822
|
+
data?: Record<string, unknown> | undefined;
|
|
1823
|
+
userId?: string | undefined;
|
|
1824
1824
|
};
|
|
1825
1825
|
}>;
|
|
1826
1826
|
declare const DefaultCreateConnectedAccountParamsSchema: z.ZodType<{
|
|
@@ -1908,21 +1908,21 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
|
|
|
1908
1908
|
toolkitSlugs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1909
1909
|
userIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1910
1910
|
}, "strip", z.ZodTypeAny, {
|
|
1911
|
-
|
|
1911
|
+
userIds?: string[] | null | undefined;
|
|
1912
1912
|
authConfigIds?: string[] | null | undefined;
|
|
1913
1913
|
cursor?: string | null | undefined;
|
|
1914
|
+
limit?: number | null | undefined;
|
|
1914
1915
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
1915
1916
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
|
|
1916
1917
|
toolkitSlugs?: string[] | null | undefined;
|
|
1917
|
-
userIds?: string[] | null | undefined;
|
|
1918
1918
|
}, {
|
|
1919
|
-
|
|
1919
|
+
userIds?: string[] | null | undefined;
|
|
1920
1920
|
authConfigIds?: string[] | null | undefined;
|
|
1921
1921
|
cursor?: string | null | undefined;
|
|
1922
|
+
limit?: number | null | undefined;
|
|
1922
1923
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
1923
1924
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
|
|
1924
1925
|
toolkitSlugs?: string[] | null | undefined;
|
|
1925
|
-
userIds?: string[] | null | undefined;
|
|
1926
1926
|
}>;
|
|
1927
1927
|
type ConnectedAccountListParams = z.infer<typeof ConnectedAccountListParamsSchema>;
|
|
1928
1928
|
declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
@@ -2351,10 +2351,11 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
2351
2351
|
logo: string;
|
|
2352
2352
|
};
|
|
2353
2353
|
id: string;
|
|
2354
|
-
noOfConnections: number;
|
|
2355
2354
|
uuid: string;
|
|
2355
|
+
noOfConnections: number;
|
|
2356
2356
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2357
2357
|
isComposioManaged?: boolean | undefined;
|
|
2358
|
+
createdAt?: string | undefined;
|
|
2358
2359
|
credentials?: Record<string, unknown> | undefined;
|
|
2359
2360
|
toolAccessConfig?: {
|
|
2360
2361
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2364,7 +2365,6 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
2364
2365
|
expectedInputFields?: unknown[] | undefined;
|
|
2365
2366
|
restrictToFollowingTools?: string[] | undefined;
|
|
2366
2367
|
createdBy?: string | undefined;
|
|
2367
|
-
createdAt?: string | undefined;
|
|
2368
2368
|
lastUpdatedAt?: string | undefined;
|
|
2369
2369
|
}, {
|
|
2370
2370
|
name: string;
|
|
@@ -2374,10 +2374,11 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
2374
2374
|
logo: string;
|
|
2375
2375
|
};
|
|
2376
2376
|
id: string;
|
|
2377
|
-
noOfConnections: number;
|
|
2378
2377
|
uuid: string;
|
|
2378
|
+
noOfConnections: number;
|
|
2379
2379
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2380
2380
|
isComposioManaged?: boolean | undefined;
|
|
2381
|
+
createdAt?: string | undefined;
|
|
2381
2382
|
credentials?: Record<string, unknown> | undefined;
|
|
2382
2383
|
toolAccessConfig?: {
|
|
2383
2384
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2387,7 +2388,6 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
2387
2388
|
expectedInputFields?: unknown[] | undefined;
|
|
2388
2389
|
restrictToFollowingTools?: string[] | undefined;
|
|
2389
2390
|
createdBy?: string | undefined;
|
|
2390
|
-
createdAt?: string | undefined;
|
|
2391
2391
|
lastUpdatedAt?: string | undefined;
|
|
2392
2392
|
}>;
|
|
2393
2393
|
type AuthConfigRetrieveResponse = z.infer<typeof AuthConfigRetrieveResponseSchema>;
|
|
@@ -2398,14 +2398,14 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
|
|
|
2398
2398
|
toolkit: z.ZodOptional<z.ZodString>;
|
|
2399
2399
|
}, "strip", z.ZodTypeAny, {
|
|
2400
2400
|
toolkit?: string | undefined;
|
|
2401
|
-
limit?: number | undefined;
|
|
2402
2401
|
isComposioManaged?: boolean | undefined;
|
|
2403
2402
|
cursor?: string | undefined;
|
|
2403
|
+
limit?: number | undefined;
|
|
2404
2404
|
}, {
|
|
2405
2405
|
toolkit?: string | undefined;
|
|
2406
|
-
limit?: number | undefined;
|
|
2407
2406
|
isComposioManaged?: boolean | undefined;
|
|
2408
2407
|
cursor?: string | undefined;
|
|
2408
|
+
limit?: number | undefined;
|
|
2409
2409
|
}>;
|
|
2410
2410
|
type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
|
|
2411
2411
|
declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
@@ -2455,10 +2455,11 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2455
2455
|
logo: string;
|
|
2456
2456
|
};
|
|
2457
2457
|
id: string;
|
|
2458
|
-
noOfConnections: number;
|
|
2459
2458
|
uuid: string;
|
|
2459
|
+
noOfConnections: number;
|
|
2460
2460
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2461
2461
|
isComposioManaged?: boolean | undefined;
|
|
2462
|
+
createdAt?: string | undefined;
|
|
2462
2463
|
credentials?: Record<string, unknown> | undefined;
|
|
2463
2464
|
toolAccessConfig?: {
|
|
2464
2465
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2468,7 +2469,6 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2468
2469
|
expectedInputFields?: unknown[] | undefined;
|
|
2469
2470
|
restrictToFollowingTools?: string[] | undefined;
|
|
2470
2471
|
createdBy?: string | undefined;
|
|
2471
|
-
createdAt?: string | undefined;
|
|
2472
2472
|
lastUpdatedAt?: string | undefined;
|
|
2473
2473
|
}, {
|
|
2474
2474
|
name: string;
|
|
@@ -2478,10 +2478,11 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2478
2478
|
logo: string;
|
|
2479
2479
|
};
|
|
2480
2480
|
id: string;
|
|
2481
|
-
noOfConnections: number;
|
|
2482
2481
|
uuid: string;
|
|
2482
|
+
noOfConnections: number;
|
|
2483
2483
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2484
2484
|
isComposioManaged?: boolean | undefined;
|
|
2485
|
+
createdAt?: string | undefined;
|
|
2485
2486
|
credentials?: Record<string, unknown> | undefined;
|
|
2486
2487
|
toolAccessConfig?: {
|
|
2487
2488
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2491,7 +2492,6 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2491
2492
|
expectedInputFields?: unknown[] | undefined;
|
|
2492
2493
|
restrictToFollowingTools?: string[] | undefined;
|
|
2493
2494
|
createdBy?: string | undefined;
|
|
2494
|
-
createdAt?: string | undefined;
|
|
2495
2495
|
lastUpdatedAt?: string | undefined;
|
|
2496
2496
|
}>, "many">;
|
|
2497
2497
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -2505,10 +2505,11 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2505
2505
|
logo: string;
|
|
2506
2506
|
};
|
|
2507
2507
|
id: string;
|
|
2508
|
-
noOfConnections: number;
|
|
2509
2508
|
uuid: string;
|
|
2509
|
+
noOfConnections: number;
|
|
2510
2510
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2511
2511
|
isComposioManaged?: boolean | undefined;
|
|
2512
|
+
createdAt?: string | undefined;
|
|
2512
2513
|
credentials?: Record<string, unknown> | undefined;
|
|
2513
2514
|
toolAccessConfig?: {
|
|
2514
2515
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2518,7 +2519,6 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2518
2519
|
expectedInputFields?: unknown[] | undefined;
|
|
2519
2520
|
restrictToFollowingTools?: string[] | undefined;
|
|
2520
2521
|
createdBy?: string | undefined;
|
|
2521
|
-
createdAt?: string | undefined;
|
|
2522
2522
|
lastUpdatedAt?: string | undefined;
|
|
2523
2523
|
}[];
|
|
2524
2524
|
nextCursor: string | null;
|
|
@@ -2532,10 +2532,11 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2532
2532
|
logo: string;
|
|
2533
2533
|
};
|
|
2534
2534
|
id: string;
|
|
2535
|
-
noOfConnections: number;
|
|
2536
2535
|
uuid: string;
|
|
2536
|
+
noOfConnections: number;
|
|
2537
2537
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2538
2538
|
isComposioManaged?: boolean | undefined;
|
|
2539
|
+
createdAt?: string | undefined;
|
|
2539
2540
|
credentials?: Record<string, unknown> | undefined;
|
|
2540
2541
|
toolAccessConfig?: {
|
|
2541
2542
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2545,7 +2546,6 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2545
2546
|
expectedInputFields?: unknown[] | undefined;
|
|
2546
2547
|
restrictToFollowingTools?: string[] | undefined;
|
|
2547
2548
|
createdBy?: string | undefined;
|
|
2548
|
-
createdAt?: string | undefined;
|
|
2549
2549
|
lastUpdatedAt?: string | undefined;
|
|
2550
2550
|
}[];
|
|
2551
2551
|
nextCursor: string | null;
|
|
@@ -2879,18 +2879,18 @@ declare const TriggerSubscribeParamSchema: z.ZodObject<{
|
|
|
2879
2879
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2880
2880
|
userId: z.ZodOptional<z.ZodString>;
|
|
2881
2881
|
}, "strip", z.ZodTypeAny, {
|
|
2882
|
+
authConfigId?: string | undefined;
|
|
2883
|
+
userId?: string | undefined;
|
|
2882
2884
|
toolkits?: string[] | undefined;
|
|
2883
2885
|
connectedAccountId?: string | undefined;
|
|
2884
|
-
userId?: string | undefined;
|
|
2885
|
-
authConfigId?: string | undefined;
|
|
2886
2886
|
triggerId?: string | undefined;
|
|
2887
2887
|
triggerSlug?: string[] | undefined;
|
|
2888
2888
|
triggerData?: string | undefined;
|
|
2889
2889
|
}, {
|
|
2890
|
+
authConfigId?: string | undefined;
|
|
2891
|
+
userId?: string | undefined;
|
|
2890
2892
|
toolkits?: string[] | undefined;
|
|
2891
2893
|
connectedAccountId?: string | undefined;
|
|
2892
|
-
userId?: string | undefined;
|
|
2893
|
-
authConfigId?: string | undefined;
|
|
2894
2894
|
triggerId?: string | undefined;
|
|
2895
2895
|
triggerSlug?: string[] | undefined;
|
|
2896
2896
|
triggerData?: string | undefined;
|
|
@@ -2905,18 +2905,18 @@ declare const TriggerInstanceListActiveParamsSchema: z.ZodObject<{
|
|
|
2905
2905
|
triggerIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2906
2906
|
triggerNames: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2907
2907
|
}, "strip", z.ZodTypeAny, {
|
|
2908
|
-
|
|
2908
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
2909
2909
|
authConfigIds?: string[] | null | undefined;
|
|
2910
2910
|
cursor?: string | undefined;
|
|
2911
|
-
|
|
2911
|
+
limit?: number | undefined;
|
|
2912
2912
|
showDisabled?: boolean | null | undefined;
|
|
2913
2913
|
triggerIds?: string[] | null | undefined;
|
|
2914
2914
|
triggerNames?: string[] | null | undefined;
|
|
2915
2915
|
}, {
|
|
2916
|
-
|
|
2916
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
2917
2917
|
authConfigIds?: string[] | null | undefined;
|
|
2918
2918
|
cursor?: string | undefined;
|
|
2919
|
-
|
|
2919
|
+
limit?: number | undefined;
|
|
2920
2920
|
showDisabled?: boolean | null | undefined;
|
|
2921
2921
|
triggerIds?: string[] | null | undefined;
|
|
2922
2922
|
triggerNames?: string[] | null | undefined;
|
|
@@ -2933,20 +2933,20 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
2933
2933
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2934
2934
|
uuid: z.ZodOptional<z.ZodString>;
|
|
2935
2935
|
}, "strip", z.ZodTypeAny, {
|
|
2936
|
-
connectedAccountId: string;
|
|
2937
2936
|
id: string;
|
|
2938
|
-
updatedAt: string;
|
|
2939
2937
|
state: Record<string, unknown>;
|
|
2938
|
+
updatedAt: string;
|
|
2939
|
+
connectedAccountId: string;
|
|
2940
2940
|
disabledAt: string | null;
|
|
2941
2941
|
triggerConfig: Record<string, unknown>;
|
|
2942
2942
|
triggerName: string;
|
|
2943
2943
|
uuid?: string | undefined;
|
|
2944
2944
|
triggerData?: string | undefined;
|
|
2945
2945
|
}, {
|
|
2946
|
-
connectedAccountId: string;
|
|
2947
2946
|
id: string;
|
|
2948
|
-
updatedAt: string;
|
|
2949
2947
|
state: Record<string, unknown>;
|
|
2948
|
+
updatedAt: string;
|
|
2949
|
+
connectedAccountId: string;
|
|
2950
2950
|
disabledAt: string | null;
|
|
2951
2951
|
triggerConfig: Record<string, unknown>;
|
|
2952
2952
|
triggerName: string;
|
|
@@ -2965,20 +2965,20 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2965
2965
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2966
2966
|
uuid: z.ZodOptional<z.ZodString>;
|
|
2967
2967
|
}, "strip", z.ZodTypeAny, {
|
|
2968
|
-
connectedAccountId: string;
|
|
2969
2968
|
id: string;
|
|
2970
|
-
updatedAt: string;
|
|
2971
2969
|
state: Record<string, unknown>;
|
|
2970
|
+
updatedAt: string;
|
|
2971
|
+
connectedAccountId: string;
|
|
2972
2972
|
disabledAt: string | null;
|
|
2973
2973
|
triggerConfig: Record<string, unknown>;
|
|
2974
2974
|
triggerName: string;
|
|
2975
2975
|
uuid?: string | undefined;
|
|
2976
2976
|
triggerData?: string | undefined;
|
|
2977
2977
|
}, {
|
|
2978
|
-
connectedAccountId: string;
|
|
2979
2978
|
id: string;
|
|
2980
|
-
updatedAt: string;
|
|
2981
2979
|
state: Record<string, unknown>;
|
|
2980
|
+
updatedAt: string;
|
|
2981
|
+
connectedAccountId: string;
|
|
2982
2982
|
disabledAt: string | null;
|
|
2983
2983
|
triggerConfig: Record<string, unknown>;
|
|
2984
2984
|
triggerName: string;
|
|
@@ -2989,10 +2989,10 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2989
2989
|
totalPages: z.ZodNumber;
|
|
2990
2990
|
}, "strip", z.ZodTypeAny, {
|
|
2991
2991
|
items: {
|
|
2992
|
-
connectedAccountId: string;
|
|
2993
2992
|
id: string;
|
|
2994
|
-
updatedAt: string;
|
|
2995
2993
|
state: Record<string, unknown>;
|
|
2994
|
+
updatedAt: string;
|
|
2995
|
+
connectedAccountId: string;
|
|
2996
2996
|
disabledAt: string | null;
|
|
2997
2997
|
triggerConfig: Record<string, unknown>;
|
|
2998
2998
|
triggerName: string;
|
|
@@ -3003,10 +3003,10 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
3003
3003
|
totalPages: number;
|
|
3004
3004
|
}, {
|
|
3005
3005
|
items: {
|
|
3006
|
-
connectedAccountId: string;
|
|
3007
3006
|
id: string;
|
|
3008
|
-
updatedAt: string;
|
|
3009
3007
|
state: Record<string, unknown>;
|
|
3008
|
+
updatedAt: string;
|
|
3009
|
+
connectedAccountId: string;
|
|
3010
3010
|
disabledAt: string | null;
|
|
3011
3011
|
triggerConfig: Record<string, unknown>;
|
|
3012
3012
|
triggerName: string;
|
|
@@ -3085,95 +3085,95 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
3085
3085
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
3086
3086
|
}, "strip", z.ZodTypeAny, {
|
|
3087
3087
|
status: "ACTIVE" | "INACTIVE";
|
|
3088
|
-
userId: string;
|
|
3089
3088
|
id: string;
|
|
3090
3089
|
uuid: string;
|
|
3091
3090
|
authConfigId: string;
|
|
3091
|
+
userId: string;
|
|
3092
3092
|
authConfigUUID: string;
|
|
3093
3093
|
}, {
|
|
3094
3094
|
status: "ACTIVE" | "INACTIVE";
|
|
3095
|
-
userId: string;
|
|
3096
3095
|
id: string;
|
|
3097
3096
|
uuid: string;
|
|
3098
3097
|
authConfigId: string;
|
|
3098
|
+
userId: string;
|
|
3099
3099
|
authConfigUUID: string;
|
|
3100
3100
|
}>;
|
|
3101
3101
|
}, "strip", z.ZodTypeAny, {
|
|
3102
3102
|
toolkitSlug: string;
|
|
3103
3103
|
id: string;
|
|
3104
|
-
uuid: string;
|
|
3105
|
-
triggerSlug: string;
|
|
3106
|
-
triggerConfig: Record<string, unknown>;
|
|
3107
3104
|
connectedAccount: {
|
|
3108
3105
|
status: "ACTIVE" | "INACTIVE";
|
|
3109
|
-
userId: string;
|
|
3110
3106
|
id: string;
|
|
3111
3107
|
uuid: string;
|
|
3112
3108
|
authConfigId: string;
|
|
3109
|
+
userId: string;
|
|
3113
3110
|
authConfigUUID: string;
|
|
3114
3111
|
};
|
|
3112
|
+
uuid: string;
|
|
3113
|
+
triggerSlug: string;
|
|
3114
|
+
triggerConfig: Record<string, unknown>;
|
|
3115
3115
|
triggerData?: string | undefined;
|
|
3116
3116
|
}, {
|
|
3117
3117
|
toolkitSlug: string;
|
|
3118
3118
|
id: string;
|
|
3119
|
-
uuid: string;
|
|
3120
|
-
triggerSlug: string;
|
|
3121
|
-
triggerConfig: Record<string, unknown>;
|
|
3122
3119
|
connectedAccount: {
|
|
3123
3120
|
status: "ACTIVE" | "INACTIVE";
|
|
3124
|
-
userId: string;
|
|
3125
3121
|
id: string;
|
|
3126
3122
|
uuid: string;
|
|
3127
3123
|
authConfigId: string;
|
|
3124
|
+
userId: string;
|
|
3128
3125
|
authConfigUUID: string;
|
|
3129
3126
|
};
|
|
3127
|
+
uuid: string;
|
|
3128
|
+
triggerSlug: string;
|
|
3129
|
+
triggerConfig: Record<string, unknown>;
|
|
3130
3130
|
triggerData?: string | undefined;
|
|
3131
3131
|
}>;
|
|
3132
3132
|
}, "strip", z.ZodTypeAny, {
|
|
3133
3133
|
toolkitSlug: string;
|
|
3134
|
-
userId: string;
|
|
3135
3134
|
id: string;
|
|
3136
3135
|
uuid: string;
|
|
3137
3136
|
metadata: {
|
|
3138
3137
|
toolkitSlug: string;
|
|
3139
3138
|
id: string;
|
|
3140
|
-
uuid: string;
|
|
3141
|
-
triggerSlug: string;
|
|
3142
|
-
triggerConfig: Record<string, unknown>;
|
|
3143
3139
|
connectedAccount: {
|
|
3144
3140
|
status: "ACTIVE" | "INACTIVE";
|
|
3145
|
-
userId: string;
|
|
3146
3141
|
id: string;
|
|
3147
3142
|
uuid: string;
|
|
3148
3143
|
authConfigId: string;
|
|
3144
|
+
userId: string;
|
|
3149
3145
|
authConfigUUID: string;
|
|
3150
3146
|
};
|
|
3147
|
+
uuid: string;
|
|
3148
|
+
triggerSlug: string;
|
|
3149
|
+
triggerConfig: Record<string, unknown>;
|
|
3151
3150
|
triggerData?: string | undefined;
|
|
3152
3151
|
};
|
|
3152
|
+
userId: string;
|
|
3153
3153
|
triggerSlug: string;
|
|
3154
3154
|
payload?: Record<string, unknown> | undefined;
|
|
3155
3155
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3156
3156
|
}, {
|
|
3157
3157
|
toolkitSlug: string;
|
|
3158
|
-
userId: string;
|
|
3159
3158
|
id: string;
|
|
3160
3159
|
uuid: string;
|
|
3161
3160
|
metadata: {
|
|
3162
3161
|
toolkitSlug: string;
|
|
3163
3162
|
id: string;
|
|
3164
|
-
uuid: string;
|
|
3165
|
-
triggerSlug: string;
|
|
3166
|
-
triggerConfig: Record<string, unknown>;
|
|
3167
3163
|
connectedAccount: {
|
|
3168
3164
|
status: "ACTIVE" | "INACTIVE";
|
|
3169
|
-
userId: string;
|
|
3170
3165
|
id: string;
|
|
3171
3166
|
uuid: string;
|
|
3172
3167
|
authConfigId: string;
|
|
3168
|
+
userId: string;
|
|
3173
3169
|
authConfigUUID: string;
|
|
3174
3170
|
};
|
|
3171
|
+
uuid: string;
|
|
3172
|
+
triggerSlug: string;
|
|
3173
|
+
triggerConfig: Record<string, unknown>;
|
|
3175
3174
|
triggerData?: string | undefined;
|
|
3176
3175
|
};
|
|
3176
|
+
userId: string;
|
|
3177
3177
|
triggerSlug: string;
|
|
3178
3178
|
payload?: Record<string, unknown> | undefined;
|
|
3179
3179
|
originalPayload?: Record<string, unknown> | undefined;
|
|
@@ -3206,12 +3206,12 @@ declare const TriggersTypeListParamsSchema: z.ZodObject<{
|
|
|
3206
3206
|
toolkits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
3207
3207
|
}, "strip", z.ZodTypeAny, {
|
|
3208
3208
|
toolkits?: string[] | null | undefined;
|
|
3209
|
-
limit?: number | null | undefined;
|
|
3210
3209
|
cursor?: string | undefined;
|
|
3210
|
+
limit?: number | null | undefined;
|
|
3211
3211
|
}, {
|
|
3212
3212
|
toolkits?: string[] | null | undefined;
|
|
3213
|
-
limit?: number | null | undefined;
|
|
3214
3213
|
cursor?: string | undefined;
|
|
3214
|
+
limit?: number | null | undefined;
|
|
3215
3215
|
}>;
|
|
3216
3216
|
type TriggersTypeListParams = z.infer<typeof TriggersTypeListParamsSchema>;
|
|
3217
3217
|
declare const TriggerTypeSchema: z.ZodObject<{
|
|
@@ -3455,14 +3455,14 @@ declare const WebhookPayloadV3Schema: z.ZodObject<{
|
|
|
3455
3455
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3456
3456
|
}, "strip", z.ZodTypeAny, {
|
|
3457
3457
|
type: string;
|
|
3458
|
-
data: Record<string, unknown>;
|
|
3459
3458
|
id: string;
|
|
3459
|
+
data: Record<string, unknown>;
|
|
3460
3460
|
timestamp: string;
|
|
3461
3461
|
metadata: Record<string, unknown>;
|
|
3462
3462
|
}, {
|
|
3463
3463
|
type: string;
|
|
3464
|
-
data: Record<string, unknown>;
|
|
3465
3464
|
id: string;
|
|
3465
|
+
data: Record<string, unknown>;
|
|
3466
3466
|
timestamp: string;
|
|
3467
3467
|
metadata: Record<string, unknown>;
|
|
3468
3468
|
}>;
|
|
@@ -3497,8 +3497,8 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
|
|
|
3497
3497
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3498
3498
|
}, "strip", z.ZodTypeAny, {
|
|
3499
3499
|
type: string;
|
|
3500
|
-
data: Record<string, unknown>;
|
|
3501
3500
|
id: string;
|
|
3501
|
+
data: Record<string, unknown>;
|
|
3502
3502
|
timestamp: string;
|
|
3503
3503
|
metadata: {
|
|
3504
3504
|
user_id: string;
|
|
@@ -3512,8 +3512,8 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
|
|
|
3512
3512
|
};
|
|
3513
3513
|
}, {
|
|
3514
3514
|
type: string;
|
|
3515
|
-
data: Record<string, unknown>;
|
|
3516
3515
|
id: string;
|
|
3516
|
+
data: Record<string, unknown>;
|
|
3517
3517
|
timestamp: string;
|
|
3518
3518
|
metadata: {
|
|
3519
3519
|
user_id: string;
|
|
@@ -3536,14 +3536,14 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3536
3536
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3537
3537
|
}, "strip", z.ZodTypeAny, {
|
|
3538
3538
|
type: string;
|
|
3539
|
-
data: Record<string, unknown>;
|
|
3540
3539
|
id: string;
|
|
3540
|
+
data: Record<string, unknown>;
|
|
3541
3541
|
timestamp: string;
|
|
3542
3542
|
metadata: Record<string, unknown>;
|
|
3543
3543
|
}, {
|
|
3544
3544
|
type: string;
|
|
3545
|
-
data: Record<string, unknown>;
|
|
3546
3545
|
id: string;
|
|
3546
|
+
data: Record<string, unknown>;
|
|
3547
3547
|
timestamp: string;
|
|
3548
3548
|
metadata: Record<string, unknown>;
|
|
3549
3549
|
}>, z.ZodObject<{
|
|
@@ -4362,17 +4362,17 @@ declare const MCPServerInstanceSchema: z$1.ZodObject<{
|
|
|
4362
4362
|
}, "strip", z$1.ZodTypeAny, {
|
|
4363
4363
|
name: string;
|
|
4364
4364
|
type: "streamable_http";
|
|
4365
|
-
userId: string;
|
|
4366
4365
|
id: string;
|
|
4367
4366
|
allowedTools: string[];
|
|
4367
|
+
userId: string;
|
|
4368
4368
|
url: string;
|
|
4369
4369
|
authConfigs: string[];
|
|
4370
4370
|
}, {
|
|
4371
4371
|
name: string;
|
|
4372
4372
|
type: "streamable_http";
|
|
4373
|
-
userId: string;
|
|
4374
4373
|
id: string;
|
|
4375
4374
|
allowedTools: string[];
|
|
4375
|
+
userId: string;
|
|
4376
4376
|
url: string;
|
|
4377
4377
|
authConfigs: string[];
|
|
4378
4378
|
}>;
|
|
@@ -4440,12 +4440,12 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
4440
4440
|
*/
|
|
4441
4441
|
windsurf: z$1.ZodString;
|
|
4442
4442
|
}, "strip", z$1.ZodTypeAny, {
|
|
4443
|
-
cursor: string;
|
|
4444
4443
|
claude: string;
|
|
4444
|
+
cursor: string;
|
|
4445
4445
|
windsurf: string;
|
|
4446
4446
|
}, {
|
|
4447
|
-
cursor: string;
|
|
4448
4447
|
claude: string;
|
|
4448
|
+
cursor: string;
|
|
4449
4449
|
windsurf: string;
|
|
4450
4450
|
}>;
|
|
4451
4451
|
/**
|
|
@@ -4454,23 +4454,23 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
4454
4454
|
MCPUrl: z$1.ZodString;
|
|
4455
4455
|
}, "strip", z$1.ZodTypeAny, {
|
|
4456
4456
|
name: string;
|
|
4457
|
-
authConfigIds: string[];
|
|
4458
4457
|
id: string;
|
|
4459
4458
|
allowedTools: string[];
|
|
4459
|
+
authConfigIds: string[];
|
|
4460
4460
|
commands: {
|
|
4461
|
-
cursor: string;
|
|
4462
4461
|
claude: string;
|
|
4462
|
+
cursor: string;
|
|
4463
4463
|
windsurf: string;
|
|
4464
4464
|
};
|
|
4465
4465
|
MCPUrl: string;
|
|
4466
4466
|
}, {
|
|
4467
4467
|
name: string;
|
|
4468
|
-
authConfigIds: string[];
|
|
4469
4468
|
id: string;
|
|
4470
4469
|
allowedTools: string[];
|
|
4470
|
+
authConfigIds: string[];
|
|
4471
4471
|
commands: {
|
|
4472
|
-
cursor: string;
|
|
4473
4472
|
claude: string;
|
|
4473
|
+
cursor: string;
|
|
4474
4474
|
windsurf: string;
|
|
4475
4475
|
};
|
|
4476
4476
|
MCPUrl: string;
|
|
@@ -4500,15 +4500,15 @@ declare const MCPListParamsSchema: z$1.ZodObject<{
|
|
|
4500
4500
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4501
4501
|
}, "strip", z$1.ZodTypeAny, {
|
|
4502
4502
|
toolkits: string[];
|
|
4503
|
-
limit: number;
|
|
4504
4503
|
page: number;
|
|
4504
|
+
limit: number;
|
|
4505
4505
|
authConfigs: string[];
|
|
4506
4506
|
name?: string | undefined;
|
|
4507
4507
|
}, {
|
|
4508
4508
|
name?: string | undefined;
|
|
4509
4509
|
toolkits?: string[] | undefined;
|
|
4510
|
-
limit?: number | undefined;
|
|
4511
4510
|
page?: number | undefined;
|
|
4511
|
+
limit?: number | undefined;
|
|
4512
4512
|
authConfigs?: string[] | undefined;
|
|
4513
4513
|
}>;
|
|
4514
4514
|
type MCPListParams = z$1.infer<typeof MCPListParamsSchema>;
|
|
@@ -4546,12 +4546,12 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
4546
4546
|
*/
|
|
4547
4547
|
windsurf: z$1.ZodString;
|
|
4548
4548
|
}, "strip", z$1.ZodTypeAny, {
|
|
4549
|
-
cursor: string;
|
|
4550
4549
|
claude: string;
|
|
4550
|
+
cursor: string;
|
|
4551
4551
|
windsurf: string;
|
|
4552
4552
|
}, {
|
|
4553
|
-
cursor: string;
|
|
4554
4553
|
claude: string;
|
|
4554
|
+
cursor: string;
|
|
4555
4555
|
windsurf: string;
|
|
4556
4556
|
}>;
|
|
4557
4557
|
/**
|
|
@@ -4564,13 +4564,13 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
4564
4564
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4565
4565
|
}, "strip", z$1.ZodTypeAny, {
|
|
4566
4566
|
name: string;
|
|
4567
|
-
toolkits: string[];
|
|
4568
|
-
authConfigIds: string[];
|
|
4569
4567
|
id: string;
|
|
4570
4568
|
allowedTools: string[];
|
|
4569
|
+
toolkits: string[];
|
|
4570
|
+
authConfigIds: string[];
|
|
4571
4571
|
commands: {
|
|
4572
|
-
cursor: string;
|
|
4573
4572
|
claude: string;
|
|
4573
|
+
cursor: string;
|
|
4574
4574
|
windsurf: string;
|
|
4575
4575
|
};
|
|
4576
4576
|
MCPUrl: string;
|
|
@@ -4578,13 +4578,13 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
4578
4578
|
serverInstanceCount: number;
|
|
4579
4579
|
}, {
|
|
4580
4580
|
name: string;
|
|
4581
|
-
toolkits: string[];
|
|
4582
|
-
authConfigIds: string[];
|
|
4583
4581
|
id: string;
|
|
4584
4582
|
allowedTools: string[];
|
|
4583
|
+
toolkits: string[];
|
|
4584
|
+
authConfigIds: string[];
|
|
4585
4585
|
commands: {
|
|
4586
|
-
cursor: string;
|
|
4587
4586
|
claude: string;
|
|
4587
|
+
cursor: string;
|
|
4588
4588
|
windsurf: string;
|
|
4589
4589
|
};
|
|
4590
4590
|
MCPUrl: string;
|
|
@@ -4627,12 +4627,12 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4627
4627
|
*/
|
|
4628
4628
|
windsurf: z$1.ZodString;
|
|
4629
4629
|
}, "strip", z$1.ZodTypeAny, {
|
|
4630
|
-
cursor: string;
|
|
4631
4630
|
claude: string;
|
|
4631
|
+
cursor: string;
|
|
4632
4632
|
windsurf: string;
|
|
4633
4633
|
}, {
|
|
4634
|
-
cursor: string;
|
|
4635
4634
|
claude: string;
|
|
4635
|
+
cursor: string;
|
|
4636
4636
|
windsurf: string;
|
|
4637
4637
|
}>;
|
|
4638
4638
|
/**
|
|
@@ -4645,13 +4645,13 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4645
4645
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4646
4646
|
}, "strip", z$1.ZodTypeAny, {
|
|
4647
4647
|
name: string;
|
|
4648
|
-
toolkits: string[];
|
|
4649
|
-
authConfigIds: string[];
|
|
4650
4648
|
id: string;
|
|
4651
4649
|
allowedTools: string[];
|
|
4650
|
+
toolkits: string[];
|
|
4651
|
+
authConfigIds: string[];
|
|
4652
4652
|
commands: {
|
|
4653
|
-
cursor: string;
|
|
4654
4653
|
claude: string;
|
|
4654
|
+
cursor: string;
|
|
4655
4655
|
windsurf: string;
|
|
4656
4656
|
};
|
|
4657
4657
|
MCPUrl: string;
|
|
@@ -4659,13 +4659,13 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4659
4659
|
serverInstanceCount: number;
|
|
4660
4660
|
}, {
|
|
4661
4661
|
name: string;
|
|
4662
|
-
toolkits: string[];
|
|
4663
|
-
authConfigIds: string[];
|
|
4664
4662
|
id: string;
|
|
4665
4663
|
allowedTools: string[];
|
|
4664
|
+
toolkits: string[];
|
|
4665
|
+
authConfigIds: string[];
|
|
4666
4666
|
commands: {
|
|
4667
|
-
cursor: string;
|
|
4668
4667
|
claude: string;
|
|
4668
|
+
cursor: string;
|
|
4669
4669
|
windsurf: string;
|
|
4670
4670
|
};
|
|
4671
4671
|
MCPUrl: string;
|
|
@@ -4677,13 +4677,13 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4677
4677
|
}, "strip", z$1.ZodTypeAny, {
|
|
4678
4678
|
items: {
|
|
4679
4679
|
name: string;
|
|
4680
|
-
toolkits: string[];
|
|
4681
|
-
authConfigIds: string[];
|
|
4682
4680
|
id: string;
|
|
4683
4681
|
allowedTools: string[];
|
|
4682
|
+
toolkits: string[];
|
|
4683
|
+
authConfigIds: string[];
|
|
4684
4684
|
commands: {
|
|
4685
|
-
cursor: string;
|
|
4686
4685
|
claude: string;
|
|
4686
|
+
cursor: string;
|
|
4687
4687
|
windsurf: string;
|
|
4688
4688
|
};
|
|
4689
4689
|
MCPUrl: string;
|
|
@@ -4695,13 +4695,13 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4695
4695
|
}, {
|
|
4696
4696
|
items: {
|
|
4697
4697
|
name: string;
|
|
4698
|
-
toolkits: string[];
|
|
4699
|
-
authConfigIds: string[];
|
|
4700
4698
|
id: string;
|
|
4701
4699
|
allowedTools: string[];
|
|
4700
|
+
toolkits: string[];
|
|
4701
|
+
authConfigIds: string[];
|
|
4702
4702
|
commands: {
|
|
4703
|
-
cursor: string;
|
|
4704
4703
|
claude: string;
|
|
4704
|
+
cursor: string;
|
|
4705
4705
|
windsurf: string;
|
|
4706
4706
|
};
|
|
4707
4707
|
MCPUrl: string;
|
|
@@ -4728,19 +4728,19 @@ declare const MCPUpdateParamsSchema: z$1.ZodObject<{
|
|
|
4728
4728
|
manuallyManageConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4729
4729
|
}, "strip", z$1.ZodTypeAny, {
|
|
4730
4730
|
name?: string | undefined;
|
|
4731
|
+
allowedTools?: string[] | undefined;
|
|
4731
4732
|
toolkits?: (string | {
|
|
4732
4733
|
toolkit?: string | undefined;
|
|
4733
4734
|
authConfigId?: string | undefined;
|
|
4734
4735
|
})[] | undefined;
|
|
4735
|
-
allowedTools?: string[] | undefined;
|
|
4736
4736
|
manuallyManageConnections?: boolean | undefined;
|
|
4737
4737
|
}, {
|
|
4738
4738
|
name?: string | undefined;
|
|
4739
|
+
allowedTools?: string[] | undefined;
|
|
4739
4740
|
toolkits?: (string | {
|
|
4740
4741
|
toolkit?: string | undefined;
|
|
4741
4742
|
authConfigId?: string | undefined;
|
|
4742
4743
|
})[] | undefined;
|
|
4743
|
-
allowedTools?: string[] | undefined;
|
|
4744
4744
|
manuallyManageConnections?: boolean | undefined;
|
|
4745
4745
|
}>;
|
|
4746
4746
|
type MCPUpdateParams = z$1.infer<typeof MCPUpdateParamsSchema>;
|
|
@@ -5291,6 +5291,353 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5291
5291
|
//#region src/types/composio.types.d.ts
|
|
5292
5292
|
type ComposioRequestHeaders = Record<string, string>;
|
|
5293
5293
|
//#endregion
|
|
5294
|
+
//#region src/types/ToolRouterSessionFilesMount.types.d.ts
|
|
5295
|
+
declare const ToolRouterSessionFilesMountListOptionsSchema: z$1.ZodObject<{
|
|
5296
|
+
path: z$1.ZodOptional<z$1.ZodString>;
|
|
5297
|
+
mountId: z$1.ZodDefault<z$1.ZodString>;
|
|
5298
|
+
/** Pagination cursor from the previous response nextCursor field */
|
|
5299
|
+
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
5300
|
+
/** Maximum number of files to return per page (1-500) */
|
|
5301
|
+
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
5302
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
5303
|
+
mountId: string;
|
|
5304
|
+
path?: string | undefined;
|
|
5305
|
+
cursor?: string | undefined;
|
|
5306
|
+
limit?: number | undefined;
|
|
5307
|
+
}, {
|
|
5308
|
+
path?: string | undefined;
|
|
5309
|
+
cursor?: string | undefined;
|
|
5310
|
+
limit?: number | undefined;
|
|
5311
|
+
mountId?: string | undefined;
|
|
5312
|
+
}>;
|
|
5313
|
+
type ToolRouterSessionFilesMountListOptions = z$1.input<typeof ToolRouterSessionFilesMountListOptionsSchema>;
|
|
5314
|
+
declare const FileListResponseSchema: z$1.ZodEffects<z$1.ZodObject<{
|
|
5315
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
5316
|
+
last_modified: z$1.ZodString;
|
|
5317
|
+
mount_relative_path: z$1.ZodString;
|
|
5318
|
+
sandbox_mount_prefix: z$1.ZodString;
|
|
5319
|
+
size: z$1.ZodNumber;
|
|
5320
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
5321
|
+
last_modified: string;
|
|
5322
|
+
mount_relative_path: string;
|
|
5323
|
+
sandbox_mount_prefix: string;
|
|
5324
|
+
size: number;
|
|
5325
|
+
}, {
|
|
5326
|
+
last_modified: string;
|
|
5327
|
+
mount_relative_path: string;
|
|
5328
|
+
sandbox_mount_prefix: string;
|
|
5329
|
+
size: number;
|
|
5330
|
+
}>, "many">;
|
|
5331
|
+
next_cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
5332
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
5333
|
+
items: {
|
|
5334
|
+
last_modified: string;
|
|
5335
|
+
mount_relative_path: string;
|
|
5336
|
+
sandbox_mount_prefix: string;
|
|
5337
|
+
size: number;
|
|
5338
|
+
}[];
|
|
5339
|
+
next_cursor?: string | undefined;
|
|
5340
|
+
}, {
|
|
5341
|
+
items: {
|
|
5342
|
+
last_modified: string;
|
|
5343
|
+
mount_relative_path: string;
|
|
5344
|
+
sandbox_mount_prefix: string;
|
|
5345
|
+
size: number;
|
|
5346
|
+
}[];
|
|
5347
|
+
next_cursor?: string | undefined;
|
|
5348
|
+
}>, {
|
|
5349
|
+
items: {
|
|
5350
|
+
lastModified: string;
|
|
5351
|
+
mountRelativePath: string;
|
|
5352
|
+
sandboxMountPrefix: string;
|
|
5353
|
+
size: number;
|
|
5354
|
+
}[];
|
|
5355
|
+
nextCursor: string | undefined;
|
|
5356
|
+
}, {
|
|
5357
|
+
items: {
|
|
5358
|
+
last_modified: string;
|
|
5359
|
+
mount_relative_path: string;
|
|
5360
|
+
sandbox_mount_prefix: string;
|
|
5361
|
+
size: number;
|
|
5362
|
+
}[];
|
|
5363
|
+
next_cursor?: string | undefined;
|
|
5364
|
+
}>;
|
|
5365
|
+
type FileListResponse = z$1.infer<typeof FileListResponseSchema>;
|
|
5366
|
+
declare const ToolRouterSessionFilesMountUploadOptionsSchema: z$1.ZodObject<{
|
|
5367
|
+
/** Remote path/filename on the mount. When passing a buffer, either mimetype or remotePath is required. */
|
|
5368
|
+
remotePath: z$1.ZodOptional<z$1.ZodString>;
|
|
5369
|
+
mountId: z$1.ZodDefault<z$1.ZodString>;
|
|
5370
|
+
/** MIME type. When passing a buffer, either mimetype or remotePath is required. Ignored when passing File (uses file.type). */
|
|
5371
|
+
mimetype: z$1.ZodOptional<z$1.ZodString>;
|
|
5372
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
5373
|
+
mountId: string;
|
|
5374
|
+
remotePath?: string | undefined;
|
|
5375
|
+
mimetype?: string | undefined;
|
|
5376
|
+
}, {
|
|
5377
|
+
mountId?: string | undefined;
|
|
5378
|
+
remotePath?: string | undefined;
|
|
5379
|
+
mimetype?: string | undefined;
|
|
5380
|
+
}>;
|
|
5381
|
+
type ToolRouterSessionFilesMountUploadOptions = z$1.input<typeof ToolRouterSessionFilesMountUploadOptionsSchema>;
|
|
5382
|
+
declare const ToolRouterSessionFilesMountDownloadOptionsSchema: z$1.ZodObject<{
|
|
5383
|
+
mountId: z$1.ZodDefault<z$1.ZodString>;
|
|
5384
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
5385
|
+
mountId: string;
|
|
5386
|
+
}, {
|
|
5387
|
+
mountId?: string | undefined;
|
|
5388
|
+
}>;
|
|
5389
|
+
type ToolRouterSessionFilesMountDownloadOptions = z$1.input<typeof ToolRouterSessionFilesMountDownloadOptionsSchema>;
|
|
5390
|
+
declare const ToolRouterSessionFilesMountDeleteOptionsSchema: z$1.ZodObject<{
|
|
5391
|
+
mountId: z$1.ZodDefault<z$1.ZodString>;
|
|
5392
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
5393
|
+
mountId: string;
|
|
5394
|
+
}, {
|
|
5395
|
+
mountId?: string | undefined;
|
|
5396
|
+
}>;
|
|
5397
|
+
type ToolRouterSessionFilesMountDeleteOptions = z$1.input<typeof ToolRouterSessionFilesMountDeleteOptionsSchema>;
|
|
5398
|
+
declare const RemoteFileDataSchema: z$1.ZodEffects<z$1.ZodObject<{
|
|
5399
|
+
expires_at: z$1.ZodString;
|
|
5400
|
+
mount_relative_path: z$1.ZodString;
|
|
5401
|
+
sandbox_mount_prefix: z$1.ZodString;
|
|
5402
|
+
download_url: z$1.ZodString;
|
|
5403
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
5404
|
+
mount_relative_path: string;
|
|
5405
|
+
sandbox_mount_prefix: string;
|
|
5406
|
+
expires_at: string;
|
|
5407
|
+
download_url: string;
|
|
5408
|
+
}, {
|
|
5409
|
+
mount_relative_path: string;
|
|
5410
|
+
sandbox_mount_prefix: string;
|
|
5411
|
+
expires_at: string;
|
|
5412
|
+
download_url: string;
|
|
5413
|
+
}>, {
|
|
5414
|
+
expiresAt: string;
|
|
5415
|
+
mountRelativePath: string;
|
|
5416
|
+
sandboxMountPrefix: string;
|
|
5417
|
+
downloadUrl: string;
|
|
5418
|
+
}, {
|
|
5419
|
+
mount_relative_path: string;
|
|
5420
|
+
sandbox_mount_prefix: string;
|
|
5421
|
+
expires_at: string;
|
|
5422
|
+
download_url: string;
|
|
5423
|
+
}>;
|
|
5424
|
+
/** Parsed shape from API response. Use with `new RemoteFile(data)`. */
|
|
5425
|
+
type RemoteFileData = z$1.infer<typeof RemoteFileDataSchema>;
|
|
5426
|
+
declare const FileDeleteResponseSchema: z$1.ZodEffects<z$1.ZodObject<{
|
|
5427
|
+
mount_relative_path: z$1.ZodString;
|
|
5428
|
+
sandbox_mount_prefix: z$1.ZodString;
|
|
5429
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
5430
|
+
mount_relative_path: string;
|
|
5431
|
+
sandbox_mount_prefix: string;
|
|
5432
|
+
}, {
|
|
5433
|
+
mount_relative_path: string;
|
|
5434
|
+
sandbox_mount_prefix: string;
|
|
5435
|
+
}>, {
|
|
5436
|
+
mountRelativePath: string;
|
|
5437
|
+
sandboxMountPrefix: string;
|
|
5438
|
+
}, {
|
|
5439
|
+
mount_relative_path: string;
|
|
5440
|
+
sandbox_mount_prefix: string;
|
|
5441
|
+
}>;
|
|
5442
|
+
type FileDeleteResponse = z$1.infer<typeof FileDeleteResponseSchema>;
|
|
5443
|
+
//#endregion
|
|
5444
|
+
//#region src/models/RemoteFile.d.ts
|
|
5445
|
+
/**
|
|
5446
|
+
* Represents a file stored in a tool router session's file mount.
|
|
5447
|
+
* Provides methods to fetch, save, and work with the file content.
|
|
5448
|
+
*
|
|
5449
|
+
* @example
|
|
5450
|
+
* ```typescript
|
|
5451
|
+
* const remoteFile = await session.files.download('/output/report.pdf');
|
|
5452
|
+
* const buffer = await remoteFile.buffer();
|
|
5453
|
+
* await remoteFile.save('/tmp/report.pdf');
|
|
5454
|
+
* const text = await remoteFile.text();
|
|
5455
|
+
* ```
|
|
5456
|
+
*
|
|
5457
|
+
* @example
|
|
5458
|
+
* ```typescript
|
|
5459
|
+
* // Create from API response (snake_case)
|
|
5460
|
+
* const remoteFile = RemoteFile.parse(apiResponse);
|
|
5461
|
+
*
|
|
5462
|
+
* // Or create from parsed data (camelCase)
|
|
5463
|
+
* const remoteFile = new RemoteFile({
|
|
5464
|
+
* expiresAt: '...',
|
|
5465
|
+
* mountRelativePath: 'report.pdf',
|
|
5466
|
+
* sandboxMountPrefix: '/mnt/files',
|
|
5467
|
+
* downloadUrl: 'https://...',
|
|
5468
|
+
* });
|
|
5469
|
+
* ```
|
|
5470
|
+
*/
|
|
5471
|
+
declare class RemoteFile {
|
|
5472
|
+
/** ISO 8601 timestamp when the download URL expires */
|
|
5473
|
+
readonly expiresAt: string;
|
|
5474
|
+
/** Relative path within the mount (e.g. "report.pdf") */
|
|
5475
|
+
readonly mountRelativePath: string;
|
|
5476
|
+
/** Absolute mount path inside the sandbox (e.g. /mnt/files) */
|
|
5477
|
+
readonly sandboxMountPrefix: string;
|
|
5478
|
+
/** Presigned URL for downloading the file */
|
|
5479
|
+
readonly downloadUrl: string;
|
|
5480
|
+
constructor(data: RemoteFileData);
|
|
5481
|
+
/**
|
|
5482
|
+
* Parses an API response (snake_case) and returns a RemoteFile instance.
|
|
5483
|
+
* @param data - Raw API response with snake_case keys
|
|
5484
|
+
* @returns A RemoteFile instance
|
|
5485
|
+
* @throws ValidationError if the response shape is invalid
|
|
5486
|
+
*/
|
|
5487
|
+
static parse(data: unknown): RemoteFile;
|
|
5488
|
+
/** Filename extracted from the mount path (e.g. "report.pdf" from "output/report.pdf") */
|
|
5489
|
+
get filename(): string;
|
|
5490
|
+
/**
|
|
5491
|
+
* Fetches the file content as a buffer.
|
|
5492
|
+
* @returns The file content as a Uint8Array
|
|
5493
|
+
* @throws RemoteFileDownloadError if the fetch fails
|
|
5494
|
+
*/
|
|
5495
|
+
buffer(): Promise<Uint8Array>;
|
|
5496
|
+
/**
|
|
5497
|
+
* Fetches the file content as UTF-8 text.
|
|
5498
|
+
* @returns The file content as a string
|
|
5499
|
+
* @throws Error if the fetch fails
|
|
5500
|
+
*/
|
|
5501
|
+
text(): Promise<string>;
|
|
5502
|
+
/**
|
|
5503
|
+
* Fetches the file content as a Blob.
|
|
5504
|
+
* @returns The file content as a Blob
|
|
5505
|
+
* @throws RemoteFileDownloadError if the fetch fails
|
|
5506
|
+
*/
|
|
5507
|
+
blob(): Promise<Blob>;
|
|
5508
|
+
/**
|
|
5509
|
+
* Downloads and saves the file to the local filesystem.
|
|
5510
|
+
* Requires a Node.js runtime with file system support (not available in Cloudflare Workers/Edge).
|
|
5511
|
+
*
|
|
5512
|
+
* @param path - Local path to save the file. If omitted, saves to the Composio temp directory using the filename from the mount path.
|
|
5513
|
+
* @returns The absolute path where the file was saved
|
|
5514
|
+
* @throws Error if file system is not supported or the save fails
|
|
5515
|
+
*/
|
|
5516
|
+
save(path?: string): Promise<string>;
|
|
5517
|
+
}
|
|
5518
|
+
//#endregion
|
|
5519
|
+
//#region src/models/ToolRouterSessionFileMount.d.ts
|
|
5520
|
+
declare class ToolRouterSessionFilesMount {
|
|
5521
|
+
private readonly sessionId;
|
|
5522
|
+
private readonly client;
|
|
5523
|
+
constructor(client: Composio, sessionId: string);
|
|
5524
|
+
/**
|
|
5525
|
+
* Lists files and directories at the specified path on the session's file mount.
|
|
5526
|
+
*
|
|
5527
|
+
* Use this to browse the virtual filesystem attached to the tool router session.
|
|
5528
|
+
* The path is relative to the mount root (e.g., `"/"` for root, `"/documents"` for a subdirectory).
|
|
5529
|
+
* Supports cursor-based pagination via `cursor` and `limit` options.
|
|
5530
|
+
*
|
|
5531
|
+
* @param options - Optional configuration for the list operation.
|
|
5532
|
+
* @param options.path - The directory path to list. Use `"/"` for the mount root.
|
|
5533
|
+
* @param options.mountId - The ID of the file mount to operate on. Defaults to `"files"` when omitted.
|
|
5534
|
+
* @param options.cursor - Pagination cursor from the previous response's nextCursor field.
|
|
5535
|
+
* @param options.limit - Maximum number of files to return per page (1-500).
|
|
5536
|
+
* @returns List of files with nextCursor for pagination.
|
|
5537
|
+
*
|
|
5538
|
+
* @example
|
|
5539
|
+
* ```typescript
|
|
5540
|
+
* const session = await composio.toolRouter.use('session_123');
|
|
5541
|
+
* const { items, nextCursor } = await session.files.list({ path: '/' });
|
|
5542
|
+
* ```
|
|
5543
|
+
*
|
|
5544
|
+
* @example
|
|
5545
|
+
* ```typescript
|
|
5546
|
+
* // Paginated listing
|
|
5547
|
+
* let result = await session.files.list({ path: '/', limit: 10 });
|
|
5548
|
+
* while (result.nextCursor) {
|
|
5549
|
+
* result = await session.files.list({ path: '/', cursor: result.nextCursor, limit: 10 });
|
|
5550
|
+
* }
|
|
5551
|
+
* ```
|
|
5552
|
+
*/
|
|
5553
|
+
list(options?: ToolRouterSessionFilesMountListOptions): Promise<FileListResponse>;
|
|
5554
|
+
private normalizeUploadInput;
|
|
5555
|
+
/**
|
|
5556
|
+
* Uploads a file to the session's file mount.
|
|
5557
|
+
*
|
|
5558
|
+
* Accepts a file path (local or URL), a native File object, or a raw buffer.
|
|
5559
|
+
* The file is stored in the virtual filesystem associated with the tool router session.
|
|
5560
|
+
*
|
|
5561
|
+
* @param input - File path (string), native File, or raw buffer (ArrayBuffer | Uint8Array).
|
|
5562
|
+
* @param options - Optional configuration. When passing a buffer, remotePath is required.
|
|
5563
|
+
* @returns Metadata about the uploaded file.
|
|
5564
|
+
*
|
|
5565
|
+
* @example
|
|
5566
|
+
* ```typescript
|
|
5567
|
+
* // From file path (local or URL)
|
|
5568
|
+
* await session.files.upload('/path/to/report.pdf');
|
|
5569
|
+
* await session.files.upload('https://example.com/file.pdf');
|
|
5570
|
+
* ```
|
|
5571
|
+
*
|
|
5572
|
+
* @example
|
|
5573
|
+
* ```typescript
|
|
5574
|
+
* // From native File (e.g. from input[type=file])
|
|
5575
|
+
* await session.files.upload(fileInput.files[0]);
|
|
5576
|
+
* ```
|
|
5577
|
+
*
|
|
5578
|
+
* @example
|
|
5579
|
+
* ```typescript
|
|
5580
|
+
* // From raw buffer
|
|
5581
|
+
* await session.files.upload(buffer, { remotePath: 'data.json', mimetype: 'application/json' });
|
|
5582
|
+
* ```
|
|
5583
|
+
*/
|
|
5584
|
+
upload(input: string | File | ArrayBuffer | Uint8Array, options?: ToolRouterSessionFilesMountUploadOptions): Promise<RemoteFile>;
|
|
5585
|
+
/**
|
|
5586
|
+
* Downloads a file from the session's file mount to the local filesystem.
|
|
5587
|
+
*
|
|
5588
|
+
* Retrieves a file stored in the session's virtual filesystem (e.g., one produced
|
|
5589
|
+
* by a tool or previously uploaded) and saves it to the specified local path.
|
|
5590
|
+
*
|
|
5591
|
+
* @param filePath - The path of the file on the mount to download, or the local path where the file should be saved (implementation-specific).
|
|
5592
|
+
* @param options - Optional configuration for the download.
|
|
5593
|
+
* @param options.mountId - The ID of the file mount to download from. Defaults to `"files"` when omitted.
|
|
5594
|
+
* @returns The downloaded file data or path (implementation-specific).
|
|
5595
|
+
*
|
|
5596
|
+
* @example
|
|
5597
|
+
* ```typescript
|
|
5598
|
+
* const session = await composio.toolRouter.use('session_123');
|
|
5599
|
+
* const result = await session.files.download('/output/report.pdf');
|
|
5600
|
+
* ```
|
|
5601
|
+
*
|
|
5602
|
+
* @example
|
|
5603
|
+
* ```typescript
|
|
5604
|
+
* // Download from a custom mount
|
|
5605
|
+
* await session.files.download('/exports/data.json', {
|
|
5606
|
+
* mountId: 'custom-mount',
|
|
5607
|
+
* });
|
|
5608
|
+
* ```
|
|
5609
|
+
*/
|
|
5610
|
+
download(filePath: string, options?: ToolRouterSessionFilesMountDownloadOptions): Promise<RemoteFile>;
|
|
5611
|
+
/**
|
|
5612
|
+
* Deletes a file or directory at the specified path on the session's file mount.
|
|
5613
|
+
*
|
|
5614
|
+
* Removes the file or directory from the virtual filesystem. Use with caution:
|
|
5615
|
+
* deletion is typically irreversible. Ensure the path exists and is intended for removal.
|
|
5616
|
+
*
|
|
5617
|
+
* @param remotePath - The path of the file or directory to delete on the mount.
|
|
5618
|
+
* @param options - Optional configuration for the delete operation.
|
|
5619
|
+
* @param options.mountId - The ID of the file mount to operate on. Defaults to `"files"` when omitted.
|
|
5620
|
+
* @returns Confirmation of deletion (implementation-specific).
|
|
5621
|
+
*
|
|
5622
|
+
* @example
|
|
5623
|
+
* ```typescript
|
|
5624
|
+
* const session = await composio.toolRouter.use('session_123');
|
|
5625
|
+
* await session.files.delete('/temp/cache.json');
|
|
5626
|
+
* ```
|
|
5627
|
+
*
|
|
5628
|
+
* @example
|
|
5629
|
+
* ```typescript
|
|
5630
|
+
* // Delete from a custom mount
|
|
5631
|
+
* await session.files.delete('/old-backup', {
|
|
5632
|
+
* mountId: 'custom-mount',
|
|
5633
|
+
* });
|
|
5634
|
+
* ```
|
|
5635
|
+
*
|
|
5636
|
+
* @warning This operation is destructive. Deleted files cannot be recovered.
|
|
5637
|
+
*/
|
|
5638
|
+
delete(remotePath: string, options?: ToolRouterSessionFilesMountDeleteOptions): Promise<FileDeleteResponse>;
|
|
5639
|
+
}
|
|
5640
|
+
//#endregion
|
|
5294
5641
|
//#region src/types/toolRouter.types.d.ts
|
|
5295
5642
|
declare const MCPServerTypeSchema: z$1.ZodEnum<["http", "sse"]>;
|
|
5296
5643
|
type MCPServerType = z$1.infer<typeof MCPServerTypeSchema>;
|
|
@@ -5651,12 +5998,12 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
5651
5998
|
isComposioManaged: z$1.ZodBoolean;
|
|
5652
5999
|
}, "strip", z$1.ZodTypeAny, {
|
|
5653
6000
|
id: string;
|
|
5654
|
-
isComposioManaged: boolean;
|
|
5655
6001
|
mode: string;
|
|
6002
|
+
isComposioManaged: boolean;
|
|
5656
6003
|
}, {
|
|
5657
6004
|
id: string;
|
|
5658
|
-
isComposioManaged: boolean;
|
|
5659
6005
|
mode: string;
|
|
6006
|
+
isComposioManaged: boolean;
|
|
5660
6007
|
}>>>;
|
|
5661
6008
|
connectedAccount: z$1.ZodOptional<z$1.ZodObject<{
|
|
5662
6009
|
id: z$1.ZodString;
|
|
@@ -5672,8 +6019,8 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
5672
6019
|
isActive: boolean;
|
|
5673
6020
|
authConfig?: {
|
|
5674
6021
|
id: string;
|
|
5675
|
-
isComposioManaged: boolean;
|
|
5676
6022
|
mode: string;
|
|
6023
|
+
isComposioManaged: boolean;
|
|
5677
6024
|
} | null | undefined;
|
|
5678
6025
|
connectedAccount?: {
|
|
5679
6026
|
status: string;
|
|
@@ -5683,8 +6030,8 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
5683
6030
|
isActive: boolean;
|
|
5684
6031
|
authConfig?: {
|
|
5685
6032
|
id: string;
|
|
5686
|
-
isComposioManaged: boolean;
|
|
5687
6033
|
mode: string;
|
|
6034
|
+
isComposioManaged: boolean;
|
|
5688
6035
|
} | null | undefined;
|
|
5689
6036
|
connectedAccount?: {
|
|
5690
6037
|
status: string;
|
|
@@ -5700,8 +6047,8 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
5700
6047
|
isActive: boolean;
|
|
5701
6048
|
authConfig?: {
|
|
5702
6049
|
id: string;
|
|
5703
|
-
isComposioManaged: boolean;
|
|
5704
6050
|
mode: string;
|
|
6051
|
+
isComposioManaged: boolean;
|
|
5705
6052
|
} | null | undefined;
|
|
5706
6053
|
connectedAccount?: {
|
|
5707
6054
|
status: string;
|
|
@@ -5717,8 +6064,8 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
5717
6064
|
isActive: boolean;
|
|
5718
6065
|
authConfig?: {
|
|
5719
6066
|
id: string;
|
|
5720
|
-
isComposioManaged: boolean;
|
|
5721
6067
|
mode: string;
|
|
6068
|
+
isComposioManaged: boolean;
|
|
5722
6069
|
} | null | undefined;
|
|
5723
6070
|
connectedAccount?: {
|
|
5724
6071
|
status: string;
|
|
@@ -5740,12 +6087,12 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
5740
6087
|
isComposioManaged: z$1.ZodBoolean;
|
|
5741
6088
|
}, "strip", z$1.ZodTypeAny, {
|
|
5742
6089
|
id: string;
|
|
5743
|
-
isComposioManaged: boolean;
|
|
5744
6090
|
mode: string;
|
|
6091
|
+
isComposioManaged: boolean;
|
|
5745
6092
|
}, {
|
|
5746
6093
|
id: string;
|
|
5747
|
-
isComposioManaged: boolean;
|
|
5748
6094
|
mode: string;
|
|
6095
|
+
isComposioManaged: boolean;
|
|
5749
6096
|
}>>>;
|
|
5750
6097
|
connectedAccount: z$1.ZodOptional<z$1.ZodObject<{
|
|
5751
6098
|
id: z$1.ZodString;
|
|
@@ -5761,8 +6108,8 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
5761
6108
|
isActive: boolean;
|
|
5762
6109
|
authConfig?: {
|
|
5763
6110
|
id: string;
|
|
5764
|
-
isComposioManaged: boolean;
|
|
5765
6111
|
mode: string;
|
|
6112
|
+
isComposioManaged: boolean;
|
|
5766
6113
|
} | null | undefined;
|
|
5767
6114
|
connectedAccount?: {
|
|
5768
6115
|
status: string;
|
|
@@ -5772,8 +6119,8 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
5772
6119
|
isActive: boolean;
|
|
5773
6120
|
authConfig?: {
|
|
5774
6121
|
id: string;
|
|
5775
|
-
isComposioManaged: boolean;
|
|
5776
6122
|
mode: string;
|
|
6123
|
+
isComposioManaged: boolean;
|
|
5777
6124
|
} | null | undefined;
|
|
5778
6125
|
connectedAccount?: {
|
|
5779
6126
|
status: string;
|
|
@@ -5789,8 +6136,8 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
5789
6136
|
isActive: boolean;
|
|
5790
6137
|
authConfig?: {
|
|
5791
6138
|
id: string;
|
|
5792
|
-
isComposioManaged: boolean;
|
|
5793
6139
|
mode: string;
|
|
6140
|
+
isComposioManaged: boolean;
|
|
5794
6141
|
} | null | undefined;
|
|
5795
6142
|
connectedAccount?: {
|
|
5796
6143
|
status: string;
|
|
@@ -5806,8 +6153,8 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
5806
6153
|
isActive: boolean;
|
|
5807
6154
|
authConfig?: {
|
|
5808
6155
|
id: string;
|
|
5809
|
-
isComposioManaged: boolean;
|
|
5810
6156
|
mode: string;
|
|
6157
|
+
isComposioManaged: boolean;
|
|
5811
6158
|
} | null | undefined;
|
|
5812
6159
|
connectedAccount?: {
|
|
5813
6160
|
status: string;
|
|
@@ -5827,8 +6174,8 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
5827
6174
|
isActive: boolean;
|
|
5828
6175
|
authConfig?: {
|
|
5829
6176
|
id: string;
|
|
5830
|
-
isComposioManaged: boolean;
|
|
5831
6177
|
mode: string;
|
|
6178
|
+
isComposioManaged: boolean;
|
|
5832
6179
|
} | null | undefined;
|
|
5833
6180
|
connectedAccount?: {
|
|
5834
6181
|
status: string;
|
|
@@ -5848,8 +6195,8 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
5848
6195
|
isActive: boolean;
|
|
5849
6196
|
authConfig?: {
|
|
5850
6197
|
id: string;
|
|
5851
|
-
isComposioManaged: boolean;
|
|
5852
6198
|
mode: string;
|
|
6199
|
+
isComposioManaged: boolean;
|
|
5853
6200
|
} | null | undefined;
|
|
5854
6201
|
connectedAccount?: {
|
|
5855
6202
|
status: string;
|
|
@@ -5887,60 +6234,344 @@ declare const ToolRouterToolkitsOptionsSchema: z$1.ZodObject<{
|
|
|
5887
6234
|
isConnected: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
5888
6235
|
search: z$1.ZodOptional<z$1.ZodString>;
|
|
5889
6236
|
}, "strip", z$1.ZodTypeAny, {
|
|
5890
|
-
nextCursor?: string | undefined;
|
|
5891
6237
|
toolkits?: string[] | undefined;
|
|
5892
6238
|
limit?: number | undefined;
|
|
6239
|
+
nextCursor?: string | undefined;
|
|
5893
6240
|
search?: string | undefined;
|
|
5894
6241
|
isConnected?: boolean | undefined;
|
|
5895
6242
|
}, {
|
|
5896
|
-
nextCursor?: string | undefined;
|
|
5897
6243
|
toolkits?: string[] | undefined;
|
|
5898
6244
|
limit?: number | undefined;
|
|
6245
|
+
nextCursor?: string | undefined;
|
|
5899
6246
|
search?: string | undefined;
|
|
5900
6247
|
isConnected?: boolean | undefined;
|
|
5901
6248
|
}>;
|
|
5902
6249
|
type ToolRouterToolkitsOptions = z$1.infer<typeof ToolRouterToolkitsOptionsSchema>;
|
|
5903
6250
|
type ToolRouterToolkitsFn = (options?: ToolRouterToolkitsOptions) => Promise<ToolkitConnectionsDetails>;
|
|
6251
|
+
declare const ToolRouterSessionSearchResponseSchema: z$1.ZodObject<{
|
|
6252
|
+
success: z$1.ZodBoolean;
|
|
6253
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
6254
|
+
results: z$1.ZodArray<z$1.ZodObject<{
|
|
6255
|
+
index: z$1.ZodNumber;
|
|
6256
|
+
useCase: z$1.ZodString;
|
|
6257
|
+
primaryToolSlugs: z$1.ZodArray<z$1.ZodString, "many">;
|
|
6258
|
+
relatedToolSlugs: z$1.ZodArray<z$1.ZodString, "many">;
|
|
6259
|
+
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
6260
|
+
difficulty: z$1.ZodOptional<z$1.ZodString>;
|
|
6261
|
+
error: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
6262
|
+
executionGuidance: z$1.ZodOptional<z$1.ZodString>;
|
|
6263
|
+
knownPitfalls: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
6264
|
+
memory: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
6265
|
+
planId: z$1.ZodOptional<z$1.ZodString>;
|
|
6266
|
+
recommendedPlanSteps: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
6267
|
+
referenceWorkbenchSnippets: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
6268
|
+
code: z$1.ZodString;
|
|
6269
|
+
description: z$1.ZodString;
|
|
6270
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6271
|
+
description: string;
|
|
6272
|
+
code: string;
|
|
6273
|
+
}, {
|
|
6274
|
+
description: string;
|
|
6275
|
+
code: string;
|
|
6276
|
+
}>, "many">>;
|
|
6277
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6278
|
+
toolkits: string[];
|
|
6279
|
+
index: number;
|
|
6280
|
+
useCase: string;
|
|
6281
|
+
primaryToolSlugs: string[];
|
|
6282
|
+
relatedToolSlugs: string[];
|
|
6283
|
+
error?: string | null | undefined;
|
|
6284
|
+
difficulty?: string | undefined;
|
|
6285
|
+
executionGuidance?: string | undefined;
|
|
6286
|
+
knownPitfalls?: string[] | undefined;
|
|
6287
|
+
memory?: Record<string, string[]> | undefined;
|
|
6288
|
+
planId?: string | undefined;
|
|
6289
|
+
recommendedPlanSteps?: string[] | undefined;
|
|
6290
|
+
referenceWorkbenchSnippets?: {
|
|
6291
|
+
description: string;
|
|
6292
|
+
code: string;
|
|
6293
|
+
}[] | undefined;
|
|
6294
|
+
}, {
|
|
6295
|
+
toolkits: string[];
|
|
6296
|
+
index: number;
|
|
6297
|
+
useCase: string;
|
|
6298
|
+
primaryToolSlugs: string[];
|
|
6299
|
+
relatedToolSlugs: string[];
|
|
6300
|
+
error?: string | null | undefined;
|
|
6301
|
+
difficulty?: string | undefined;
|
|
6302
|
+
executionGuidance?: string | undefined;
|
|
6303
|
+
knownPitfalls?: string[] | undefined;
|
|
6304
|
+
memory?: Record<string, string[]> | undefined;
|
|
6305
|
+
planId?: string | undefined;
|
|
6306
|
+
recommendedPlanSteps?: string[] | undefined;
|
|
6307
|
+
referenceWorkbenchSnippets?: {
|
|
6308
|
+
description: string;
|
|
6309
|
+
code: string;
|
|
6310
|
+
}[] | undefined;
|
|
6311
|
+
}>, "many">;
|
|
6312
|
+
toolSchemas: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
6313
|
+
toolSlug: z$1.ZodString;
|
|
6314
|
+
toolkit: z$1.ZodString;
|
|
6315
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
6316
|
+
hasFullSchema: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
6317
|
+
inputSchema: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
6318
|
+
outputSchema: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
6319
|
+
schemaRef: z$1.ZodOptional<z$1.ZodObject<{
|
|
6320
|
+
args: z$1.ZodObject<{
|
|
6321
|
+
toolSlugs: z$1.ZodArray<z$1.ZodString, "many">;
|
|
6322
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6323
|
+
toolSlugs: string[];
|
|
6324
|
+
}, {
|
|
6325
|
+
toolSlugs: string[];
|
|
6326
|
+
}>;
|
|
6327
|
+
message: z$1.ZodString;
|
|
6328
|
+
tool: z$1.ZodLiteral<"COMPOSIO_GET_TOOL_SCHEMAS">;
|
|
6329
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6330
|
+
message: string;
|
|
6331
|
+
args: {
|
|
6332
|
+
toolSlugs: string[];
|
|
6333
|
+
};
|
|
6334
|
+
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
6335
|
+
}, {
|
|
6336
|
+
message: string;
|
|
6337
|
+
args: {
|
|
6338
|
+
toolSlugs: string[];
|
|
6339
|
+
};
|
|
6340
|
+
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
6341
|
+
}>>;
|
|
6342
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6343
|
+
toolkit: string;
|
|
6344
|
+
toolSlug: string;
|
|
6345
|
+
description?: string | undefined;
|
|
6346
|
+
hasFullSchema?: boolean | undefined;
|
|
6347
|
+
inputSchema?: Record<string, unknown> | undefined;
|
|
6348
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
6349
|
+
schemaRef?: {
|
|
6350
|
+
message: string;
|
|
6351
|
+
args: {
|
|
6352
|
+
toolSlugs: string[];
|
|
6353
|
+
};
|
|
6354
|
+
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
6355
|
+
} | undefined;
|
|
6356
|
+
}, {
|
|
6357
|
+
toolkit: string;
|
|
6358
|
+
toolSlug: string;
|
|
6359
|
+
description?: string | undefined;
|
|
6360
|
+
hasFullSchema?: boolean | undefined;
|
|
6361
|
+
inputSchema?: Record<string, unknown> | undefined;
|
|
6362
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
6363
|
+
schemaRef?: {
|
|
6364
|
+
message: string;
|
|
6365
|
+
args: {
|
|
6366
|
+
toolSlugs: string[];
|
|
6367
|
+
};
|
|
6368
|
+
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
6369
|
+
} | undefined;
|
|
6370
|
+
}>>;
|
|
6371
|
+
toolkitConnectionStatuses: z$1.ZodArray<z$1.ZodObject<{
|
|
6372
|
+
toolkit: z$1.ZodString;
|
|
6373
|
+
description: z$1.ZodString;
|
|
6374
|
+
hasActiveConnection: z$1.ZodBoolean;
|
|
6375
|
+
statusMessage: z$1.ZodString;
|
|
6376
|
+
connectionDetails: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
6377
|
+
currentUserInfo: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
6378
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6379
|
+
description: string;
|
|
6380
|
+
toolkit: string;
|
|
6381
|
+
hasActiveConnection: boolean;
|
|
6382
|
+
statusMessage: string;
|
|
6383
|
+
connectionDetails?: Record<string, unknown> | undefined;
|
|
6384
|
+
currentUserInfo?: Record<string, unknown> | undefined;
|
|
6385
|
+
}, {
|
|
6386
|
+
description: string;
|
|
6387
|
+
toolkit: string;
|
|
6388
|
+
hasActiveConnection: boolean;
|
|
6389
|
+
statusMessage: string;
|
|
6390
|
+
connectionDetails?: Record<string, unknown> | undefined;
|
|
6391
|
+
currentUserInfo?: Record<string, unknown> | undefined;
|
|
6392
|
+
}>, "many">;
|
|
6393
|
+
nextStepsGuidance: z$1.ZodArray<z$1.ZodString, "many">;
|
|
6394
|
+
session: z$1.ZodObject<{
|
|
6395
|
+
id: z$1.ZodString;
|
|
6396
|
+
generateId: z$1.ZodBoolean;
|
|
6397
|
+
instructions: z$1.ZodString;
|
|
6398
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6399
|
+
id: string;
|
|
6400
|
+
generateId: boolean;
|
|
6401
|
+
instructions: string;
|
|
6402
|
+
}, {
|
|
6403
|
+
id: string;
|
|
6404
|
+
generateId: boolean;
|
|
6405
|
+
instructions: string;
|
|
6406
|
+
}>;
|
|
6407
|
+
timeInfo: z$1.ZodObject<{
|
|
6408
|
+
currentTimeUtc: z$1.ZodString;
|
|
6409
|
+
currentTimeUtcEpochSeconds: z$1.ZodNumber;
|
|
6410
|
+
message: z$1.ZodString;
|
|
6411
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6412
|
+
message: string;
|
|
6413
|
+
currentTimeUtc: string;
|
|
6414
|
+
currentTimeUtcEpochSeconds: number;
|
|
6415
|
+
}, {
|
|
6416
|
+
message: string;
|
|
6417
|
+
currentTimeUtc: string;
|
|
6418
|
+
currentTimeUtcEpochSeconds: number;
|
|
6419
|
+
}>;
|
|
6420
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6421
|
+
error: string | null;
|
|
6422
|
+
success: boolean;
|
|
6423
|
+
results: {
|
|
6424
|
+
toolkits: string[];
|
|
6425
|
+
index: number;
|
|
6426
|
+
useCase: string;
|
|
6427
|
+
primaryToolSlugs: string[];
|
|
6428
|
+
relatedToolSlugs: string[];
|
|
6429
|
+
error?: string | null | undefined;
|
|
6430
|
+
difficulty?: string | undefined;
|
|
6431
|
+
executionGuidance?: string | undefined;
|
|
6432
|
+
knownPitfalls?: string[] | undefined;
|
|
6433
|
+
memory?: Record<string, string[]> | undefined;
|
|
6434
|
+
planId?: string | undefined;
|
|
6435
|
+
recommendedPlanSteps?: string[] | undefined;
|
|
6436
|
+
referenceWorkbenchSnippets?: {
|
|
6437
|
+
description: string;
|
|
6438
|
+
code: string;
|
|
6439
|
+
}[] | undefined;
|
|
6440
|
+
}[];
|
|
6441
|
+
toolSchemas: Record<string, {
|
|
6442
|
+
toolkit: string;
|
|
6443
|
+
toolSlug: string;
|
|
6444
|
+
description?: string | undefined;
|
|
6445
|
+
hasFullSchema?: boolean | undefined;
|
|
6446
|
+
inputSchema?: Record<string, unknown> | undefined;
|
|
6447
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
6448
|
+
schemaRef?: {
|
|
6449
|
+
message: string;
|
|
6450
|
+
args: {
|
|
6451
|
+
toolSlugs: string[];
|
|
6452
|
+
};
|
|
6453
|
+
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
6454
|
+
} | undefined;
|
|
6455
|
+
}>;
|
|
6456
|
+
toolkitConnectionStatuses: {
|
|
6457
|
+
description: string;
|
|
6458
|
+
toolkit: string;
|
|
6459
|
+
hasActiveConnection: boolean;
|
|
6460
|
+
statusMessage: string;
|
|
6461
|
+
connectionDetails?: Record<string, unknown> | undefined;
|
|
6462
|
+
currentUserInfo?: Record<string, unknown> | undefined;
|
|
6463
|
+
}[];
|
|
6464
|
+
nextStepsGuidance: string[];
|
|
6465
|
+
session: {
|
|
6466
|
+
id: string;
|
|
6467
|
+
generateId: boolean;
|
|
6468
|
+
instructions: string;
|
|
6469
|
+
};
|
|
6470
|
+
timeInfo: {
|
|
6471
|
+
message: string;
|
|
6472
|
+
currentTimeUtc: string;
|
|
6473
|
+
currentTimeUtcEpochSeconds: number;
|
|
6474
|
+
};
|
|
6475
|
+
}, {
|
|
6476
|
+
error: string | null;
|
|
6477
|
+
success: boolean;
|
|
6478
|
+
results: {
|
|
6479
|
+
toolkits: string[];
|
|
6480
|
+
index: number;
|
|
6481
|
+
useCase: string;
|
|
6482
|
+
primaryToolSlugs: string[];
|
|
6483
|
+
relatedToolSlugs: string[];
|
|
6484
|
+
error?: string | null | undefined;
|
|
6485
|
+
difficulty?: string | undefined;
|
|
6486
|
+
executionGuidance?: string | undefined;
|
|
6487
|
+
knownPitfalls?: string[] | undefined;
|
|
6488
|
+
memory?: Record<string, string[]> | undefined;
|
|
6489
|
+
planId?: string | undefined;
|
|
6490
|
+
recommendedPlanSteps?: string[] | undefined;
|
|
6491
|
+
referenceWorkbenchSnippets?: {
|
|
6492
|
+
description: string;
|
|
6493
|
+
code: string;
|
|
6494
|
+
}[] | undefined;
|
|
6495
|
+
}[];
|
|
6496
|
+
toolSchemas: Record<string, {
|
|
6497
|
+
toolkit: string;
|
|
6498
|
+
toolSlug: string;
|
|
6499
|
+
description?: string | undefined;
|
|
6500
|
+
hasFullSchema?: boolean | undefined;
|
|
6501
|
+
inputSchema?: Record<string, unknown> | undefined;
|
|
6502
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
6503
|
+
schemaRef?: {
|
|
6504
|
+
message: string;
|
|
6505
|
+
args: {
|
|
6506
|
+
toolSlugs: string[];
|
|
6507
|
+
};
|
|
6508
|
+
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
6509
|
+
} | undefined;
|
|
6510
|
+
}>;
|
|
6511
|
+
toolkitConnectionStatuses: {
|
|
6512
|
+
description: string;
|
|
6513
|
+
toolkit: string;
|
|
6514
|
+
hasActiveConnection: boolean;
|
|
6515
|
+
statusMessage: string;
|
|
6516
|
+
connectionDetails?: Record<string, unknown> | undefined;
|
|
6517
|
+
currentUserInfo?: Record<string, unknown> | undefined;
|
|
6518
|
+
}[];
|
|
6519
|
+
nextStepsGuidance: string[];
|
|
6520
|
+
session: {
|
|
6521
|
+
id: string;
|
|
6522
|
+
generateId: boolean;
|
|
6523
|
+
instructions: string;
|
|
6524
|
+
};
|
|
6525
|
+
timeInfo: {
|
|
6526
|
+
message: string;
|
|
6527
|
+
currentTimeUtc: string;
|
|
6528
|
+
currentTimeUtcEpochSeconds: number;
|
|
6529
|
+
};
|
|
6530
|
+
}>;
|
|
6531
|
+
type ToolRouterSessionSearchResponse = z$1.infer<typeof ToolRouterSessionSearchResponseSchema>;
|
|
6532
|
+
declare const ToolRouterSessionExecuteResponseSchema: z$1.ZodObject<{
|
|
6533
|
+
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
6534
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
6535
|
+
logId: z$1.ZodString;
|
|
6536
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
6537
|
+
error: string | null;
|
|
6538
|
+
data: Record<string, unknown>;
|
|
6539
|
+
logId: string;
|
|
6540
|
+
}, {
|
|
6541
|
+
error: string | null;
|
|
6542
|
+
data: Record<string, unknown>;
|
|
6543
|
+
logId: string;
|
|
6544
|
+
}>;
|
|
6545
|
+
type ToolRouterSessionExecuteResponse = z$1.infer<typeof ToolRouterSessionExecuteResponseSchema>;
|
|
5904
6546
|
/**
|
|
5905
6547
|
* Experimental features response from session creation.
|
|
5906
6548
|
* Only returned on session creation, not on GET.
|
|
5907
6549
|
*/
|
|
5908
|
-
interface
|
|
6550
|
+
interface SessionExperimental {
|
|
5909
6551
|
/**
|
|
5910
6552
|
* The assistive system prompt to inject into your agent for optimal tool router usage.
|
|
5911
6553
|
*/
|
|
5912
6554
|
assistivePrompt?: string;
|
|
5913
6555
|
}
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
6556
|
+
type ToolRouterSessionSearchFn = (params: {
|
|
6557
|
+
query: string;
|
|
6558
|
+
toolkits?: string[];
|
|
6559
|
+
}) => Promise<ToolRouterSessionSearchResponse>;
|
|
6560
|
+
type ToolRouterSessionExecuteFn = (toolSlug: string, arguments_?: Record<string, unknown>) => Promise<ToolRouterSessionExecuteResponse>;
|
|
6561
|
+
/** Session type returned by ToolRouter.create() and ToolRouter.use() */
|
|
6562
|
+
interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
|
|
5918
6563
|
sessionId: string;
|
|
5919
|
-
/**
|
|
5920
|
-
* The MCP server config of the tool router session.
|
|
5921
|
-
* Contains the URL, type ('http' or 'sse'), and headers for authentication.
|
|
5922
|
-
*/
|
|
5923
6564
|
mcp: ToolRouterMCPServerConfig;
|
|
5924
|
-
/**
|
|
5925
|
-
* Get the tools available in the session, formatted for your AI framework.
|
|
5926
|
-
* Requires a provider to be configured in the Composio constructor.
|
|
5927
|
-
*/
|
|
5928
6565
|
tools: ToolRouterToolsFn<TToolCollection, TTool, TProvider>;
|
|
5929
|
-
/**
|
|
5930
|
-
* Initiate an authorization flow for a toolkit.
|
|
5931
|
-
* Returns a ConnectionRequest with a redirect URL for the user.
|
|
5932
|
-
*/
|
|
5933
6566
|
authorize: ToolRouterAuthorizeFn;
|
|
5934
|
-
/**
|
|
5935
|
-
* Query the connection state of toolkits in the session.
|
|
5936
|
-
* Supports pagination and filtering by toolkit slugs.
|
|
5937
|
-
*/
|
|
5938
6567
|
toolkits: ToolRouterToolkitsFn;
|
|
5939
|
-
/**
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
6568
|
+
/** Search for tools by semantic use case */
|
|
6569
|
+
search: ToolRouterSessionSearchFn;
|
|
6570
|
+
/** Execute a tool within the session */
|
|
6571
|
+
execute: ToolRouterSessionExecuteFn;
|
|
6572
|
+
/** File mount operations (list, upload, download, delete) */
|
|
6573
|
+
files: ToolRouterSessionFilesMount;
|
|
6574
|
+
experimental?: SessionExperimental;
|
|
5944
6575
|
}
|
|
5945
6576
|
//#endregion
|
|
5946
6577
|
//#region src/models/ToolRouter.d.ts
|
|
@@ -5948,52 +6579,13 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5948
6579
|
private client;
|
|
5949
6580
|
private config?;
|
|
5950
6581
|
constructor(client: Composio, config?: ComposioConfig<TProvider> | undefined);
|
|
5951
|
-
/**
|
|
5952
|
-
* Creates a function that authorizes a toolkit for a user.
|
|
5953
|
-
* @param sessionId {string} The session id to create the authorize function for
|
|
5954
|
-
* @returns {ToolRouterAuthorizeFn} The authorize function
|
|
5955
|
-
*
|
|
5956
|
-
*/
|
|
5957
|
-
private createAuthorizeFn;
|
|
5958
|
-
/**
|
|
5959
|
-
*
|
|
5960
|
-
* @param sessionId {string} The session id to create the toolkits function for
|
|
5961
|
-
* @returns {ToolRouterToolkitsFn} The toolkits function
|
|
5962
|
-
*
|
|
5963
|
-
* @example
|
|
5964
|
-
* ```typescript
|
|
5965
|
-
* import { Composio } from '@composio/core';
|
|
5966
|
-
*
|
|
5967
|
-
* const composio = new Composio();
|
|
5968
|
-
* const session = await composio.toolRouter.use('session_123');
|
|
5969
|
-
*
|
|
5970
|
-
* const toolkits = await session.toolkits();
|
|
5971
|
-
* console.log(toolkits);
|
|
5972
|
-
* ```
|
|
5973
|
-
*/
|
|
5974
|
-
private createToolkitsFn;
|
|
5975
|
-
/**
|
|
5976
|
-
* @internal
|
|
5977
|
-
* Creates a function that wraps the tools based on the provider.
|
|
5978
|
-
* The returned tools will be of the type the frameworks expects.
|
|
5979
|
-
*
|
|
5980
|
-
* @param sessionId - The session id to get the tools for
|
|
5981
|
-
* @returns A function that wraps the tools based on the provider with session-specific modifiers.
|
|
5982
|
-
*/
|
|
5983
|
-
private createToolsFn;
|
|
5984
|
-
/**
|
|
5985
|
-
* Creates a MCP server config object.
|
|
5986
|
-
* @param type {MCPServerType} The type of the MCP server
|
|
5987
|
-
* @param url {string} The URL of the MCP server
|
|
5988
|
-
* @returns {ToolRouterMCPServerConfig} The MCP server config object
|
|
5989
|
-
*/
|
|
5990
6582
|
private createMCPServerConfig;
|
|
5991
6583
|
/**
|
|
5992
6584
|
* Creates a new tool router session for a user.
|
|
5993
6585
|
*
|
|
5994
6586
|
* @param userId {string} The user id to create the session for
|
|
5995
6587
|
* @param config {ToolRouterCreateSessionConfig} The config for the tool router session
|
|
5996
|
-
* @returns {Promise<
|
|
6588
|
+
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
5997
6589
|
*
|
|
5998
6590
|
* @example
|
|
5999
6591
|
* ```typescript
|
|
@@ -6023,11 +6615,11 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
6023
6615
|
* const toolkits = await session.toolkits();
|
|
6024
6616
|
* ```
|
|
6025
6617
|
*/
|
|
6026
|
-
create(userId: string, config?: ToolRouterCreateSessionConfig): Promise<
|
|
6618
|
+
create(userId: string, config?: ToolRouterCreateSessionConfig): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
6027
6619
|
/**
|
|
6028
6620
|
* Use an existing session
|
|
6029
6621
|
* @param id {string} The id of the session to use
|
|
6030
|
-
* @returns {Promise<
|
|
6622
|
+
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
6031
6623
|
*
|
|
6032
6624
|
* @example
|
|
6033
6625
|
* ```typescript
|
|
@@ -6041,7 +6633,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
6041
6633
|
* console.log(session.mcp.headers);
|
|
6042
6634
|
* ```
|
|
6043
6635
|
*/
|
|
6044
|
-
use(id: string): Promise<Omit<
|
|
6636
|
+
use(id: string): Promise<Omit<Session<TToolCollection, TTool, TProvider>, 'experimental'>>;
|
|
6045
6637
|
}
|
|
6046
6638
|
//#endregion
|
|
6047
6639
|
//#region src/composio.d.ts
|
|
@@ -6181,7 +6773,7 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
6181
6773
|
*
|
|
6182
6774
|
* @param userId {string} The user id to create the session for
|
|
6183
6775
|
* @param config {ToolRouterConfig} The config for the tool router session
|
|
6184
|
-
* @returns {Promise<
|
|
6776
|
+
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
6185
6777
|
*
|
|
6186
6778
|
* @example
|
|
6187
6779
|
* ```typescript
|
|
@@ -6199,14 +6791,14 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
6199
6791
|
* console.log(session.tools());
|
|
6200
6792
|
* ```
|
|
6201
6793
|
*/
|
|
6202
|
-
create: (userId: string, routerConfig?: ToolRouterCreateSessionConfig) => Promise<
|
|
6794
|
+
create: (userId: string, routerConfig?: ToolRouterCreateSessionConfig) => Promise<Session<unknown, unknown, TProvider>>;
|
|
6203
6795
|
/**
|
|
6204
6796
|
* Use an existing tool router session
|
|
6205
6797
|
*
|
|
6206
6798
|
* @param id {string} The id of the session to use
|
|
6207
|
-
* @returns {Promise<
|
|
6799
|
+
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
6208
6800
|
*/
|
|
6209
|
-
use: (id: string) => Promise<
|
|
6801
|
+
use: (id: string) => Promise<Session<unknown, unknown, TProvider>>;
|
|
6210
6802
|
/**
|
|
6211
6803
|
* Creates a new instance of the Composio SDK.
|
|
6212
6804
|
*
|
|
@@ -6317,4 +6909,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
6317
6909
|
flush(): Promise<void>;
|
|
6318
6910
|
}
|
|
6319
6911
|
//#endregion
|
|
6320
|
-
export {
|
|
6912
|
+
export { ToolRouterSessionFilesMountUploadOptions as $, ToolKitMetaSchema as $n, AuthConfigListParamsSchema as $t, ToolRouterToolkitsOptionsSchema as A, ConnectedAccountRefreshOptionsSchema as An, TriggerTypeSchema as At, RemoteFile as B, CreateConnectedAccountLinkResponseSchema as Bn, WebhookPayloadSchema as Bt, ToolRouterSessionSearchResponseSchema as C, ConnectedAccountAuthConfigSchema as Cn, InputParamsSchema as Cr, TriggerInstanceUpsertResponseSchema as Ct, ToolRouterToolkitsEnabledConfigSchema as D, ConnectedAccountListResponseItem as Dn, TriggerSubscribeParamSchema as Dt, ToolRouterToolkitsDisabledConfigSchema as E, ConnectedAccountListResponse as En, TriggerStatuses as Et, ToolkitConnectionState as F, ConnectedAccountStatusSchema as Fn, TriggersTypeRetrieveResponse as Ft, RemoteFileData as G, CreateConnectedAccountResponse as Gn, WebhookPayloadV3 as Gt, FileDeleteResponseSchema as H, CreateConnectedAccountOptionsSchema as Hn, WebhookPayloadV1Schema as Ht, ToolkitConnectionStateSchema as I, ConnectedAccountStatuses as In, VerifyWebhookParams as It, ToolRouterSessionFilesMountDeleteOptionsSchema as J, ToolKitItem as Jn, WebhookTriggerPayloadV3Schema as Jt, RemoteFileDataSchema as K, CreateConnectedAccountResponseSchema as Kn, WebhookPayloadV3Schema as Kt, ToolkitConnectionsDetails as L, CreateConnectedAccountLinkOptions as Ln, VerifyWebhookParamsSchema as Lt, ToolRouterToolsFn as M, ConnectedAccountRetrieveResponseSchema as Mn, TriggersTypeListParamsSchema as Mt, ToolRouterToolsParam as N, ConnectedAccountStatus as Nn, TriggersTypeListResponse as Nt, ToolRouterToolkitsFn as O, ConnectedAccountListResponseSchema as On, TriggerSubscribeParams as Ot, ToolRouterToolsParamSchema as P, ConnectedAccountStatusEnum as Pn, TriggersTypeListResponseSchema as Pt, ToolRouterSessionFilesMountListOptionsSchema as Q, ToolKitMeta as Qn, AuthConfigListParams as Qt, ToolkitConnectionsDetailsSchema as R, CreateConnectedAccountLinkOptionsSchema as Rn, VerifyWebhookResult as Rt, ToolRouterSessionSearchResponse as S, ConnectedAccountAuthConfig as Sn, ExecuteMetadata as Sr, TriggerInstanceUpsertResponse as St, ToolRouterTagsParamSchema as T, ConnectedAccountListParamsSchema as Tn, TriggerStatusType as Tt, FileListResponse as U, CreateConnectedAccountParams as Un, WebhookPayloadV2 as Ut, FileDeleteResponse as V, CreateConnectedAccountOptions as Vn, WebhookPayloadV1 as Vt, FileListResponseSchema as W, CreateConnectedAccountParamsSchema as Wn, WebhookPayloadV2Schema as Wt, ToolRouterSessionFilesMountDownloadOptionsSchema as X, ToolKitListResponse as Xn, WebhookVersions as Xt, ToolRouterSessionFilesMountDownloadOptions as Y, ToolKitItemSchema as Yn, WebhookVersion as Yt, ToolRouterSessionFilesMountListOptions as Z, ToolKitListResponseSchema as Zn, AuthConfigCreationToolAccessConfigSchema as Zt, ToolRouterManageConnectionsConfigSchema as _, CreateAuthConfigResponseSchema as _n, ToolkitsListParamsSchema as _r, TriggerInstanceManageUpdateParamsSchema as _t, Session as a, AuthConfigType as an, ToolkitAuthFieldsResponseSchema as ar, TriggerData as at, ToolRouterSessionExecuteResponseSchema as b, ConnectionRequest as bn, CustomToolRegistry as br, TriggerInstanceUpsertParams as bt, ToolRouterConfigManageConnectionsSchema as c, AuthConfigUpdateParamsSchema as cn, ToolkitListParams as cr, TriggerInstanceListActiveParams as ct, ToolRouterConfigTools as d, AuthSchemeEnum as dn, ToolkitRetrieveCategoriesResponse as dr, TriggerInstanceListActiveResponseItem as dt, AuthConfigListResponse as en, ToolkitAuthConfigDetails as er, ToolRouterSessionFilesMountUploadOptionsSchema as et, ToolRouterConfigToolsSchema as f, AuthSchemeType as fn, ToolkitRetrieveCategoriesResponseSchema as fr, TriggerInstanceListActiveResponseItemSchema as ft, ToolRouterMCPServerConfigSchema as g, CreateAuthConfigResponse as gn, ToolkitSortByEnumSchema as gr, TriggerInstanceManageUpdateParams as gt, ToolRouterMCPServerConfig as h, CreateAuthConfigParamsSchema as hn, ToolkitSortByEnum as hr, TriggerInstanceManageDeleteResponseSchema as ht, MCPServerTypeSchema as i, AuthConfigToolAccessConfigSchema as in, ToolkitAuthFieldsResponse as ir, IncomingTriggerPayloadSchema as it, ToolRouterToolkitsParamSchema as j, ConnectedAccountRetrieveResponse as jn, TriggersTypeListParams as jt, ToolRouterToolkitsOptions as k, ConnectedAccountRefreshOptions as kn, TriggerType as kt, ToolRouterConfigTags as l, AuthCustomConfigUpdateParamsSchema as ln, ToolkitMangedByEnum as lr, TriggerInstanceListActiveParamsSchema as lt, ToolRouterCreateSessionConfigSchema as m, CreateAuthConfigParams as mn, ToolkitRetrieveResponseSchema as mr, TriggerInstanceManageDeleteResponse as mt, ComposioConfig as n, AuthConfigRetrieveResponse as nn, ToolkitAuthField as nr, MCP as nt, SessionExperimental as o, AuthConfigTypes as on, ToolkitCategory as or, TriggerEvent as ot, ToolRouterCreateSessionConfig as p, AuthSchemeTypes as pn, ToolkitRetrieveResponse as pr, TriggerInstanceListActiveResponseSchema as pt, ToolRouterSessionFilesMountDeleteOptions as q, DefaultCreateConnectedAccountParamsSchema as qn, WebhookTriggerPayloadV3 as qt, MCPServerType as r, AuthConfigRetrieveResponseSchema as rn, ToolkitAuthFieldSchema as rr, IncomingTriggerPayload as rt, ToolRouterAuthorizeFn as s, AuthConfigUpdateParams as sn, ToolkitCategorySchema as sr, TriggerEventData as st, Composio$1 as t, AuthConfigListResponseSchema as tn, ToolkitAuthConfigDetailsSchema as tr, OpenAIProvider as tt, ToolRouterConfigTagsSchema as u, AuthDefaultConfigUpdateParamsSchema as un, ToolkitMangedByEnumSchema as ur, TriggerInstanceListActiveResponse as ut, ToolRouterSessionExecuteFn as v, CreateComposioManagedAuthConfigParamsSchema as vn, CustomToolInputParameter as vr, TriggerInstanceManageUpdateResponse as vt, ToolRouterTagsEnableDisableSchema as w, ConnectedAccountListParams as wn, TriggerStatusEnum as wt, ToolRouterSessionSearchFn as x, ConnectionRequestState as xn, CustomToolRegistryItem as xr, TriggerInstanceUpsertParamsSchema as xt, ToolRouterSessionExecuteResponse as y, CreateCustomAuthConfigParamsSchema as yn, CustomToolOptions as yr, TriggerInstanceManageUpdateResponseSchema as yt, ToolRouterSessionFilesMount as z, CreateConnectedAccountLinkResponse as zn, WebhookPayload as zt };
|