@composio/core 0.6.11 → 0.8.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/README.md +1 -1
- package/dist/{CustomTool-D8cxWvi9.mjs → CustomTool-CVwF_isu.mjs} +1 -1
- package/dist/{CustomTool-B1b2MXbO.d.cts → CustomTool-DCrZcOUW.d.cts} +1 -1
- package/dist/{CustomTool-VQMc17af.d.mts → CustomTool-DJVmDusu.d.mts} +1 -1
- package/dist/{CustomTool-Cywkgg64.cjs → CustomTool-DnCSEC6t.cjs} +1 -1
- package/dist/{FileModifierErrors-DuKpNYju.cjs → FileModifierErrors-BYJBHiay.cjs} +57 -1
- package/dist/{FileModifierErrors-LQwvd6pa.mjs → FileModifierErrors-C7z16Dfi.mjs} +46 -2
- package/dist/{Telemetry-JZNofztq.cjs → Telemetry-Dm-0sewu.cjs} +1 -1
- package/dist/{Telemetry-BJ2KYlDT.mjs → Telemetry-kgWlkavX.mjs} +1 -1
- package/dist/{composio-D8u53qsy.d.mts → composio-DH5gDW5F.d.mts} +261 -206
- package/dist/{composio-ruMDVx1b.d.cts → composio-Dzaqn_PS.d.cts} +261 -206
- package/dist/{customTool.types-9jJUADW-.d.cts → customTool.types-BqC41wRt.d.cts} +21 -21
- package/dist/{customTool.types-C6-M75bi.d.mts → customTool.types-Xk-tbwbc.d.mts} +21 -21
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.mts +3 -3
- package/dist/experimental/index.mjs +2 -2
- package/dist/{fileUtils.node-mlBa5nwX.mjs → fileUtils.node-Dq7ebZPC.mjs} +177 -12
- package/dist/{fileUtils.node-DsDsZfEl.cjs → fileUtils.node-DtnSRMWa.cjs} +177 -12
- package/dist/index.cjs +132 -17
- package/dist/index.d.cts +28 -7
- package/dist/index.d.mts +28 -7
- package/dist/index.mjs +131 -18
- package/dist/models/Files.node.cjs +10 -9
- package/dist/models/Files.node.d.cts +3 -2
- package/dist/models/Files.node.d.mts +3 -2
- package/dist/models/Files.node.mjs +10 -9
- package/dist/platform/node.cjs +6 -0
- package/dist/platform/node.d.cts +1 -1
- package/dist/platform/node.d.mts +1 -1
- package/dist/platform/node.mjs +6 -0
- package/dist/platform/workerd.cjs +6 -0
- package/dist/platform/workerd.d.cts +1 -1
- package/dist/platform/workerd.d.mts +1 -1
- package/dist/platform/workerd.mjs +6 -0
- package/dist/{tool.types-C5DMrBdm.d.cts → tool.types-B4k2Bnxc.d.cts} +49 -32
- package/dist/{tool.types-BGrE7Vqc.d.mts → tool.types-Cb-o48UU.d.mts} +49 -32
- package/dist/{types-WkBTUiQh.d.mts → types-BR-1DJRJ.d.mts} +3 -3
- package/dist/{types-DiL6FAZi.d.cts → types-HpJQ8K9l.d.mts} +10 -0
- package/dist/{types-DZaf5VcY.d.cts → types-gjJ_hDol.d.cts} +3 -3
- package/dist/{types-CXR6l5Sj.d.mts → types-pDNm1lYs.d.cts} +10 -0
- package/dist/utils/config-defaults/ConfigDefaults.node.cjs +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
- package/dist/utils/config-defaults/ConfigDefaults.node.mjs +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.cjs +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.mjs +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.cjs +21 -17
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +2 -2
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +2 -2
- package/dist/utils/modifiers/FileToolModifier.node.mjs +21 -17
- package/dist/utils/modifiers/FileToolModifier.workerd.cjs +3 -3
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.mjs +3 -3
- 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 +1 -1
- package/src/platform/node.ts +8 -0
- package/src/platform/types.ts +12 -0
- package/src/platform/workerd.ts +12 -0
- /package/dist/{FileToolModifier.utils.neutral-BcIR-cVE.mjs → FileToolModifier.utils.neutral-B7P7wn-b.mjs} +0 -0
- /package/dist/{FileToolModifier.utils.neutral-BdMpiyie.cjs → FileToolModifier.utils.neutral-Dfwqgimk.cjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ComposioConfig } from "./composio-
|
|
1
|
+
import { q as BaseComposioProvider } from "./tool.types-B4k2Bnxc.cjs";
|
|
2
|
+
import { n as ComposioConfig } from "./composio-Dzaqn_PS.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/types.d.ts
|
|
5
5
|
|
|
@@ -8,6 +8,6 @@ import { n as ComposioConfig } from "./composio-ruMDVx1b.cjs";
|
|
|
8
8
|
* These are the required fields that must have default values.
|
|
9
9
|
* The provider type is set to never since defaults don't include a provider instance.
|
|
10
10
|
*/
|
|
11
|
-
type ConfigDefaults = Required<Pick<ComposioConfig<BaseComposioProvider<never, never, never>>, '
|
|
11
|
+
type ConfigDefaults = Required<Pick<ComposioConfig<BaseComposioProvider<never, never, never>>, 'dangerouslyAllowAutoUploadDownloadFiles' | 'allowTracking' | 'toolkitVersions'>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ConfigDefaults as t };
|
|
@@ -15,6 +15,16 @@ interface Platform {
|
|
|
15
15
|
* @returns The joined path.
|
|
16
16
|
*/
|
|
17
17
|
joinPath(...paths: string[]): string;
|
|
18
|
+
/**
|
|
19
|
+
* Resolves a sequence of paths into an absolute path. On Node this is
|
|
20
|
+
* `path.resolve`; on edge runtimes without a working directory it
|
|
21
|
+
* normalizes/joins the segments and returns the result verbatim.
|
|
22
|
+
*/
|
|
23
|
+
resolvePath(...paths: string[]): string;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given path is absolute.
|
|
26
|
+
*/
|
|
27
|
+
isAbsolutePath(filePath: string): boolean;
|
|
18
28
|
/**
|
|
19
29
|
* Returns the last portion of a path (the filename).
|
|
20
30
|
* @param filePath - The path to extract the basename from.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../composio-
|
|
2
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../composio-Dzaqn_PS.cjs";
|
|
2
|
+
import { t as ConfigDefaults } from "../../types-gjJ_hDol.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/ConfigDefaults.node.d.ts
|
|
5
5
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../tool.types-
|
|
2
|
-
import "../../customTool.types-
|
|
3
|
-
import "../../composio-
|
|
4
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../tool.types-Cb-o48UU.mjs";
|
|
2
|
+
import "../../customTool.types-Xk-tbwbc.mjs";
|
|
3
|
+
import "../../composio-DH5gDW5F.mjs";
|
|
4
|
+
import { t as ConfigDefaults } from "../../types-BR-1DJRJ.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/config-defaults/ConfigDefaults.node.d.ts
|
|
7
7
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../composio-
|
|
2
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../composio-Dzaqn_PS.cjs";
|
|
2
|
+
import { t as ConfigDefaults } from "../../types-gjJ_hDol.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/ConfigDefaults.workerd.d.ts
|
|
5
5
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../tool.types-
|
|
2
|
-
import "../../customTool.types-
|
|
3
|
-
import "../../composio-
|
|
4
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../tool.types-Cb-o48UU.mjs";
|
|
2
|
+
import "../../customTool.types-Xk-tbwbc.mjs";
|
|
3
|
+
import "../../composio-DH5gDW5F.mjs";
|
|
4
|
+
import { t as ConfigDefaults } from "../../types-BR-1DJRJ.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/config-defaults/ConfigDefaults.workerd.d.ts
|
|
7
7
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_FileModifierErrors = require('../../FileModifierErrors-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
1
|
+
const require_FileModifierErrors = require('../../FileModifierErrors-BYJBHiay.cjs');
|
|
2
|
+
const require_FileToolModifier_utils_neutral = require('../../FileToolModifier.utils.neutral-Dfwqgimk.cjs');
|
|
3
|
+
const require_fileUtils_node = require('../../fileUtils.node-DtnSRMWa.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/utils/modifiers/FileToolModifier.node.ts
|
|
6
6
|
/**
|
|
@@ -12,10 +12,11 @@ const require_FileToolModifier_utils_neutral = require('../../FileToolModifier.u
|
|
|
12
12
|
const hydrateFiles = async (value, schema, ctx) => {
|
|
13
13
|
if (schema?.file_uploadable) {
|
|
14
14
|
if (typeof value !== "string" && !(value instanceof File)) return value;
|
|
15
|
-
const runBeforeFileUpload = async (path) => {
|
|
15
|
+
const runBeforeFileUpload = async (path, source) => {
|
|
16
16
|
if (!ctx.beforeFileUpload) return path;
|
|
17
17
|
const out = await ctx.beforeFileUpload({
|
|
18
18
|
path,
|
|
19
|
+
source,
|
|
19
20
|
toolSlug: ctx.toolSlug,
|
|
20
21
|
toolkitSlug: ctx.toolkitSlug
|
|
21
22
|
});
|
|
@@ -23,19 +24,21 @@ const hydrateFiles = async (value, schema, ctx) => {
|
|
|
23
24
|
return out;
|
|
24
25
|
};
|
|
25
26
|
if (typeof value === "string") {
|
|
26
|
-
const pathOrUrl = await runBeforeFileUpload(value);
|
|
27
|
+
const pathOrUrl = await runBeforeFileUpload(value, value.startsWith("http") ? "url" : "path");
|
|
27
28
|
require_FileModifierErrors.logger_default.debug(`Uploading file "${pathOrUrl}"`);
|
|
28
29
|
return require_fileUtils_node.getFileDataAfterUploadingToS3(pathOrUrl, {
|
|
29
30
|
toolSlug: ctx.toolSlug,
|
|
30
31
|
toolkitSlug: ctx.toolkitSlug,
|
|
31
32
|
client: ctx.client,
|
|
32
33
|
sensitiveFileUploadProtection: ctx.sensitiveFileUploadProtection,
|
|
33
|
-
fileUploadPathDenySegments: ctx.fileUploadPathDenySegments
|
|
34
|
+
fileUploadPathDenySegments: ctx.fileUploadPathDenySegments,
|
|
35
|
+
fileUploadAllowlist: ctx.fileUploadAllowlist
|
|
34
36
|
});
|
|
35
37
|
}
|
|
36
38
|
if (ctx.beforeFileUpload) {
|
|
37
39
|
const out = await ctx.beforeFileUpload({
|
|
38
40
|
path: value.name,
|
|
41
|
+
source: "file",
|
|
39
42
|
toolSlug: ctx.toolSlug,
|
|
40
43
|
toolkitSlug: ctx.toolkitSlug
|
|
41
44
|
});
|
|
@@ -47,7 +50,8 @@ const hydrateFiles = async (value, schema, ctx) => {
|
|
|
47
50
|
toolkitSlug: ctx.toolkitSlug,
|
|
48
51
|
client: ctx.client,
|
|
49
52
|
sensitiveFileUploadProtection: ctx.sensitiveFileUploadProtection,
|
|
50
|
-
fileUploadPathDenySegments: ctx.fileUploadPathDenySegments
|
|
53
|
+
fileUploadPathDenySegments: ctx.fileUploadPathDenySegments,
|
|
54
|
+
fileUploadAllowlist: ctx.fileUploadAllowlist
|
|
51
55
|
});
|
|
52
56
|
}
|
|
53
57
|
}
|
|
@@ -66,12 +70,8 @@ const hydrateFiles = async (value, schema, ctx) => {
|
|
|
66
70
|
...schema?.allOf ?? []
|
|
67
71
|
];
|
|
68
72
|
if (schemaVariants.length > 0) {
|
|
69
|
-
const
|
|
70
|
-
if (
|
|
71
|
-
let result = value;
|
|
72
|
-
for (const variant of uploadableVariants) result = await hydrateFiles(result, variant, ctx);
|
|
73
|
-
return result;
|
|
74
|
-
}
|
|
73
|
+
const firstUploadableVariant = schemaVariants.find(require_FileToolModifier_utils_neutral.schemaHasFileUploadable);
|
|
74
|
+
if (firstUploadableVariant) return hydrateFiles(value, firstUploadableVariant, ctx);
|
|
75
75
|
}
|
|
76
76
|
if (schema?.type === "object" && schema.properties && require_FileToolModifier_utils_neutral.isPlainObject(value)) {
|
|
77
77
|
const transformed = {};
|
|
@@ -94,7 +94,8 @@ const downloadS3File = async (value, ctx) => {
|
|
|
94
94
|
const dl = await require_fileUtils_node.downloadFileFromS3({
|
|
95
95
|
toolSlug: ctx.toolSlug,
|
|
96
96
|
s3Url: s3url,
|
|
97
|
-
mimeType: mimetype ?? "application/octet-stream"
|
|
97
|
+
mimeType: mimetype ?? "application/octet-stream",
|
|
98
|
+
fileDownloadDir: ctx.fileDownloadDir
|
|
98
99
|
});
|
|
99
100
|
require_FileModifierErrors.logger_default.debug(`Downloaded → ${dl.filePath}`);
|
|
100
101
|
return {
|
|
@@ -158,7 +159,7 @@ var FileToolModifier = class {
|
|
|
158
159
|
this.client = client;
|
|
159
160
|
this.fileUploadPathOptions = fileUploadPathOptions;
|
|
160
161
|
}
|
|
161
|
-
async modifyToolSchema(
|
|
162
|
+
async modifyToolSchema(schema) {
|
|
162
163
|
if (!schema.inputParameters?.properties) return schema;
|
|
163
164
|
const properties = require_FileToolModifier_utils_neutral.transformProperties(schema.inputParameters.properties);
|
|
164
165
|
return {
|
|
@@ -185,13 +186,16 @@ var FileToolModifier = class {
|
|
|
185
186
|
arguments: newArgs
|
|
186
187
|
};
|
|
187
188
|
} catch (error) {
|
|
188
|
-
if (error instanceof require_FileModifierErrors.ComposioSensitiveFilePathBlockedError || error instanceof require_FileModifierErrors.ComposioFileUploadAbortedError) throw error;
|
|
189
|
+
if (error instanceof require_FileModifierErrors.ComposioSensitiveFilePathBlockedError || error instanceof require_FileModifierErrors.ComposioFileUploadAbortedError || error instanceof require_FileModifierErrors.ComposioFileUploadPathNotAllowedError || error instanceof require_FileModifierErrors.ComposioFileNotFoundError) throw error;
|
|
189
190
|
throw new require_FileModifierErrors.ComposioFileUploadError("Failed to upload file", { cause: error });
|
|
190
191
|
}
|
|
191
192
|
}
|
|
192
193
|
async fileDownloadModifier(tool, options) {
|
|
193
194
|
const { result, toolSlug } = options;
|
|
194
|
-
const dataWithDownloads = await hydrateDownloads(result.data, tool.outputParameters, {
|
|
195
|
+
const dataWithDownloads = await hydrateDownloads(result.data, tool.outputParameters, {
|
|
196
|
+
toolSlug,
|
|
197
|
+
fileDownloadDir: this.fileUploadPathOptions.fileDownloadDir
|
|
198
|
+
});
|
|
195
199
|
return {
|
|
196
200
|
...result,
|
|
197
201
|
data: dataWithDownloads
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-
|
|
1
|
+
import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-B4k2Bnxc.cjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/modifiers/FileToolModifier.node.d.ts
|
|
@@ -6,7 +6,7 @@ declare class FileToolModifier {
|
|
|
6
6
|
private client;
|
|
7
7
|
private fileUploadPathOptions;
|
|
8
8
|
constructor(client: ComposioClient, fileUploadPathOptions?: FileToolModifier['fileUploadPathOptions']);
|
|
9
|
-
modifyToolSchema(
|
|
9
|
+
modifyToolSchema(schema: Tool): Promise<Tool>;
|
|
10
10
|
fileUploadModifier(tool: Tool, options: {
|
|
11
11
|
toolSlug: string;
|
|
12
12
|
toolkitSlug?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-
|
|
1
|
+
import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-Cb-o48UU.mjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/modifiers/FileToolModifier.node.d.ts
|
|
@@ -6,7 +6,7 @@ declare class FileToolModifier {
|
|
|
6
6
|
private client;
|
|
7
7
|
private fileUploadPathOptions;
|
|
8
8
|
constructor(client: ComposioClient, fileUploadPathOptions?: FileToolModifier['fileUploadPathOptions']);
|
|
9
|
-
modifyToolSchema(
|
|
9
|
+
modifyToolSchema(schema: Tool): Promise<Tool>;
|
|
10
10
|
fileUploadModifier(tool: Tool, options: {
|
|
11
11
|
toolSlug: string;
|
|
12
12
|
toolkitSlug?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../chunk-CWQeghP5.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
2
|
+
import { a as ComposioSensitiveFilePathBlockedError, c as logger_default, i as ComposioFileUploadPathNotAllowedError, n as ComposioFileUploadAbortedError, r as ComposioFileUploadError, t as ComposioFileNotFoundError } from "../../FileModifierErrors-C7z16Dfi.mjs";
|
|
3
|
+
import { i as transformProperties, n as schemaHasFileDownloadable, r as schemaHasFileUploadable, t as isPlainObject } from "../../FileToolModifier.utils.neutral-B7P7wn-b.mjs";
|
|
4
|
+
import { n as getFileDataAfterUploadingToS3, t as downloadFileFromS3 } from "../../fileUtils.node-Dq7ebZPC.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/modifiers/FileToolModifier.node.ts
|
|
7
7
|
/**
|
|
@@ -13,10 +13,11 @@ import { i as transformProperties, n as schemaHasFileDownloadable, r as schemaHa
|
|
|
13
13
|
const hydrateFiles = async (value, schema, ctx) => {
|
|
14
14
|
if (schema?.file_uploadable) {
|
|
15
15
|
if (typeof value !== "string" && !(value instanceof File)) return value;
|
|
16
|
-
const runBeforeFileUpload = async (path) => {
|
|
16
|
+
const runBeforeFileUpload = async (path, source) => {
|
|
17
17
|
if (!ctx.beforeFileUpload) return path;
|
|
18
18
|
const out = await ctx.beforeFileUpload({
|
|
19
19
|
path,
|
|
20
|
+
source,
|
|
20
21
|
toolSlug: ctx.toolSlug,
|
|
21
22
|
toolkitSlug: ctx.toolkitSlug
|
|
22
23
|
});
|
|
@@ -24,19 +25,21 @@ const hydrateFiles = async (value, schema, ctx) => {
|
|
|
24
25
|
return out;
|
|
25
26
|
};
|
|
26
27
|
if (typeof value === "string") {
|
|
27
|
-
const pathOrUrl = await runBeforeFileUpload(value);
|
|
28
|
+
const pathOrUrl = await runBeforeFileUpload(value, value.startsWith("http") ? "url" : "path");
|
|
28
29
|
logger_default.debug(`Uploading file "${pathOrUrl}"`);
|
|
29
30
|
return getFileDataAfterUploadingToS3(pathOrUrl, {
|
|
30
31
|
toolSlug: ctx.toolSlug,
|
|
31
32
|
toolkitSlug: ctx.toolkitSlug,
|
|
32
33
|
client: ctx.client,
|
|
33
34
|
sensitiveFileUploadProtection: ctx.sensitiveFileUploadProtection,
|
|
34
|
-
fileUploadPathDenySegments: ctx.fileUploadPathDenySegments
|
|
35
|
+
fileUploadPathDenySegments: ctx.fileUploadPathDenySegments,
|
|
36
|
+
fileUploadAllowlist: ctx.fileUploadAllowlist
|
|
35
37
|
});
|
|
36
38
|
}
|
|
37
39
|
if (ctx.beforeFileUpload) {
|
|
38
40
|
const out = await ctx.beforeFileUpload({
|
|
39
41
|
path: value.name,
|
|
42
|
+
source: "file",
|
|
40
43
|
toolSlug: ctx.toolSlug,
|
|
41
44
|
toolkitSlug: ctx.toolkitSlug
|
|
42
45
|
});
|
|
@@ -48,7 +51,8 @@ const hydrateFiles = async (value, schema, ctx) => {
|
|
|
48
51
|
toolkitSlug: ctx.toolkitSlug,
|
|
49
52
|
client: ctx.client,
|
|
50
53
|
sensitiveFileUploadProtection: ctx.sensitiveFileUploadProtection,
|
|
51
|
-
fileUploadPathDenySegments: ctx.fileUploadPathDenySegments
|
|
54
|
+
fileUploadPathDenySegments: ctx.fileUploadPathDenySegments,
|
|
55
|
+
fileUploadAllowlist: ctx.fileUploadAllowlist
|
|
52
56
|
});
|
|
53
57
|
}
|
|
54
58
|
}
|
|
@@ -67,12 +71,8 @@ const hydrateFiles = async (value, schema, ctx) => {
|
|
|
67
71
|
...schema?.allOf ?? []
|
|
68
72
|
];
|
|
69
73
|
if (schemaVariants.length > 0) {
|
|
70
|
-
const
|
|
71
|
-
if (
|
|
72
|
-
let result = value;
|
|
73
|
-
for (const variant of uploadableVariants) result = await hydrateFiles(result, variant, ctx);
|
|
74
|
-
return result;
|
|
75
|
-
}
|
|
74
|
+
const firstUploadableVariant = schemaVariants.find(schemaHasFileUploadable);
|
|
75
|
+
if (firstUploadableVariant) return hydrateFiles(value, firstUploadableVariant, ctx);
|
|
76
76
|
}
|
|
77
77
|
if (schema?.type === "object" && schema.properties && isPlainObject(value)) {
|
|
78
78
|
const transformed = {};
|
|
@@ -95,7 +95,8 @@ const downloadS3File = async (value, ctx) => {
|
|
|
95
95
|
const dl = await downloadFileFromS3({
|
|
96
96
|
toolSlug: ctx.toolSlug,
|
|
97
97
|
s3Url: s3url,
|
|
98
|
-
mimeType: mimetype ?? "application/octet-stream"
|
|
98
|
+
mimeType: mimetype ?? "application/octet-stream",
|
|
99
|
+
fileDownloadDir: ctx.fileDownloadDir
|
|
99
100
|
});
|
|
100
101
|
logger_default.debug(`Downloaded → ${dl.filePath}`);
|
|
101
102
|
return {
|
|
@@ -159,7 +160,7 @@ var FileToolModifier = class {
|
|
|
159
160
|
this.client = client;
|
|
160
161
|
this.fileUploadPathOptions = fileUploadPathOptions;
|
|
161
162
|
}
|
|
162
|
-
async modifyToolSchema(
|
|
163
|
+
async modifyToolSchema(schema) {
|
|
163
164
|
if (!schema.inputParameters?.properties) return schema;
|
|
164
165
|
const properties = transformProperties(schema.inputParameters.properties);
|
|
165
166
|
return {
|
|
@@ -186,13 +187,16 @@ var FileToolModifier = class {
|
|
|
186
187
|
arguments: newArgs
|
|
187
188
|
};
|
|
188
189
|
} catch (error) {
|
|
189
|
-
if (error instanceof ComposioSensitiveFilePathBlockedError || error instanceof ComposioFileUploadAbortedError) throw error;
|
|
190
|
+
if (error instanceof ComposioSensitiveFilePathBlockedError || error instanceof ComposioFileUploadAbortedError || error instanceof ComposioFileUploadPathNotAllowedError || error instanceof ComposioFileNotFoundError) throw error;
|
|
190
191
|
throw new ComposioFileUploadError("Failed to upload file", { cause: error });
|
|
191
192
|
}
|
|
192
193
|
}
|
|
193
194
|
async fileDownloadModifier(tool, options) {
|
|
194
195
|
const { result, toolSlug } = options;
|
|
195
|
-
const dataWithDownloads = await hydrateDownloads(result.data, tool.outputParameters, {
|
|
196
|
+
const dataWithDownloads = await hydrateDownloads(result.data, tool.outputParameters, {
|
|
197
|
+
toolSlug,
|
|
198
|
+
fileDownloadDir: this.fileUploadPathOptions.fileDownloadDir
|
|
199
|
+
});
|
|
196
200
|
return {
|
|
197
201
|
...result,
|
|
198
202
|
data: dataWithDownloads
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const require_FileToolModifier_utils_neutral = require('../../FileToolModifier.utils.neutral-
|
|
1
|
+
const require_FileToolModifier_utils_neutral = require('../../FileToolModifier.utils.neutral-Dfwqgimk.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/utils/modifiers/FileToolModifier.workerd.ts
|
|
4
|
-
const UNSUPPORTED_MESSAGE = "File upload/download modifiers are not available on edge runtimes yet. Please set `
|
|
4
|
+
const UNSUPPORTED_MESSAGE = "File upload/download modifiers are not available on edge runtimes yet. Please set `dangerouslyAllowAutoUploadDownloadFiles: false` (or unset it; it defaults to false) or run Composio in another JS runtime (Node.js / Bun).";
|
|
5
5
|
var FileToolModifier = class {
|
|
6
6
|
constructor(_client) {}
|
|
7
|
-
async modifyToolSchema(
|
|
7
|
+
async modifyToolSchema(schema) {
|
|
8
8
|
if (!schema.inputParameters?.properties) return schema;
|
|
9
9
|
const properties = require_FileToolModifier_utils_neutral.transformProperties(schema.inputParameters.properties);
|
|
10
10
|
return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-
|
|
1
|
+
import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-B4k2Bnxc.cjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/modifiers/FileToolModifier.workerd.d.ts
|
|
5
5
|
declare class FileToolModifier {
|
|
6
6
|
constructor(_client: ComposioClient);
|
|
7
|
-
modifyToolSchema(
|
|
7
|
+
modifyToolSchema(schema: Tool): Promise<Tool>;
|
|
8
8
|
fileUploadModifier(_tool: Tool, _options: {
|
|
9
9
|
toolSlug: string;
|
|
10
10
|
toolkitSlug?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-
|
|
1
|
+
import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-Cb-o48UU.mjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/modifiers/FileToolModifier.workerd.d.ts
|
|
5
5
|
declare class FileToolModifier {
|
|
6
6
|
constructor(_client: ComposioClient);
|
|
7
|
-
modifyToolSchema(
|
|
7
|
+
modifyToolSchema(schema: Tool): Promise<Tool>;
|
|
8
8
|
fileUploadModifier(_tool: Tool, _options: {
|
|
9
9
|
toolSlug: string;
|
|
10
10
|
toolkitSlug?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as transformProperties } from "../../FileToolModifier.utils.neutral-
|
|
1
|
+
import { i as transformProperties } from "../../FileToolModifier.utils.neutral-B7P7wn-b.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/modifiers/FileToolModifier.workerd.ts
|
|
4
|
-
const UNSUPPORTED_MESSAGE = "File upload/download modifiers are not available on edge runtimes yet. Please set `
|
|
4
|
+
const UNSUPPORTED_MESSAGE = "File upload/download modifiers are not available on edge runtimes yet. Please set `dangerouslyAllowAutoUploadDownloadFiles: false` (or unset it; it defaults to false) or run Composio in another JS runtime (Node.js / Bun).";
|
|
5
5
|
var FileToolModifier = class {
|
|
6
6
|
constructor(_client) {}
|
|
7
|
-
async modifyToolSchema(
|
|
7
|
+
async modifyToolSchema(schema) {
|
|
8
8
|
if (!schema.inputParameters?.properties) return schema;
|
|
9
9
|
const properties = transformProperties(schema.inputParameters.properties);
|
|
10
10
|
return {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map of Composio's ABLY toolkit.
|
|
3
|
+
*/
|
|
4
|
+
export const ABLY = {
|
|
5
|
+
slug: "ably",
|
|
6
|
+
tools: {
|
|
7
|
+
BATCH_PRESENCE: "ABLY_BATCH_PRESENCE",
|
|
8
|
+
BATCH_PRESENCE_HISTORY: "ABLY_BATCH_PRESENCE_HISTORY",
|
|
9
|
+
CREATE_CHANNEL: "ABLY_CREATE_CHANNEL",
|
|
10
|
+
DELETE_CHANNEL_SUBSCRIPTION: "ABLY_DELETE_CHANNEL_SUBSCRIPTION",
|
|
11
|
+
GET_CHANNEL_DETAILS: "ABLY_GET_CHANNEL_DETAILS",
|
|
12
|
+
GET_CHANNEL_HISTORY: "ABLY_GET_CHANNEL_HISTORY",
|
|
13
|
+
GET_PRESENCE_HISTORY: "ABLY_GET_PRESENCE_HISTORY",
|
|
14
|
+
GET_SERVICE_TIME: "ABLY_GET_SERVICE_TIME",
|
|
15
|
+
GET_STATS: "ABLY_GET_STATS",
|
|
16
|
+
LIST_PUSH_CHANNEL_SUBSCRIPTIONS: "ABLY_LIST_PUSH_CHANNEL_SUBSCRIPTIONS",
|
|
17
|
+
PUBLISH_MESSAGE_TO_CHANNEL: "ABLY_PUBLISH_MESSAGE_TO_CHANNEL",
|
|
18
|
+
},
|
|
19
|
+
triggerTypes: {},
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map of Composio's ACCULYNX toolkit.
|
|
3
|
+
*/
|
|
4
|
+
export const ACCULYNX = {
|
|
5
|
+
slug: "acculynx",
|
|
6
|
+
tools: {
|
|
7
|
+
ADD_JOB_APPOINTMENT: "ACCULYNX_ADD_JOB_APPOINTMENT",
|
|
8
|
+
CREATE_A_CONTACT: "ACCULYNX_CREATE_A_CONTACT",
|
|
9
|
+
CREATE_A_JOB: "ACCULYNX_CREATE_A_JOB",
|
|
10
|
+
CREATE_A_LEAD: "ACCULYNX_CREATE_A_LEAD",
|
|
11
|
+
JOB_APPOINTMENT_SUMMARY: "ACCULYNX_JOB_APPOINTMENT_SUMMARY",
|
|
12
|
+
LIST_OF_CALENDARS_FOR_THE_LOCATION: "ACCULYNX_LIST_OF_CALENDARS_FOR_THE_LOCATION",
|
|
13
|
+
LIST_OF_CONTACT_TYPES_RELATED_TO_THE_COMPANY: "ACCULYNX_LIST_OF_CONTACT_TYPES_RELATED_TO_THE_COMPANY",
|
|
14
|
+
UPDATE_COMPANY_REPRESENTATIVE: "ACCULYNX_UPDATE_COMPANY_REPRESENTATIVE",
|
|
15
|
+
},
|
|
16
|
+
triggerTypes: {},
|
|
17
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map of Composio's ACTIVE_CAMPAIGN toolkit.
|
|
3
|
+
*/
|
|
4
|
+
export const ACTIVE_CAMPAIGN = {
|
|
5
|
+
slug: "active_campaign",
|
|
6
|
+
tools: {
|
|
7
|
+
ADD_CONTACT_NOTE: "ACTIVE_CAMPAIGN_ADD_CONTACT_NOTE",
|
|
8
|
+
ADD_CONTACT_TO_AUTOMATION: "ACTIVE_CAMPAIGN_ADD_CONTACT_TO_AUTOMATION",
|
|
9
|
+
ADD_SECONDARY_CONTACT_TO_DEAL: "ACTIVE_CAMPAIGN_ADD_SECONDARY_CONTACT_TO_DEAL",
|
|
10
|
+
CREATE_ACCOUNT: "ACTIVE_CAMPAIGN_CREATE_ACCOUNT",
|
|
11
|
+
CREATE_CONTACT: "ACTIVE_CAMPAIGN_CREATE_CONTACT",
|
|
12
|
+
CREATE_CONTACT_TASK: "ACTIVE_CAMPAIGN_CREATE_CONTACT_TASK",
|
|
13
|
+
CREATE_DEAL_PIPELINE: "ACTIVE_CAMPAIGN_CREATE_DEAL_PIPELINE",
|
|
14
|
+
CREATE_DEAL_TASK_TYPE: "ACTIVE_CAMPAIGN_CREATE_DEAL_TASK_TYPE",
|
|
15
|
+
DELETE_ACCOUNT: "ACTIVE_CAMPAIGN_DELETE_ACCOUNT",
|
|
16
|
+
DELETE_DEAL_PIPELINE: "ACTIVE_CAMPAIGN_DELETE_DEAL_PIPELINE",
|
|
17
|
+
DELETE_DEAL_STAGE: "ACTIVE_CAMPAIGN_DELETE_DEAL_STAGE",
|
|
18
|
+
FIND_CONTACT: "ACTIVE_CAMPAIGN_FIND_CONTACT",
|
|
19
|
+
FIND_CONTACT_TASK: "ACTIVE_CAMPAIGN_FIND_CONTACT_TASK",
|
|
20
|
+
FIND_USER_ACTION: "ACTIVE_CAMPAIGN_FIND_USER_ACTION",
|
|
21
|
+
LIST_ALL_CONTACTS: "ACTIVE_CAMPAIGN_LIST_ALL_CONTACTS",
|
|
22
|
+
MANAGE_CONTACT_TAG: "ACTIVE_CAMPAIGN_MANAGE_CONTACT_TAG",
|
|
23
|
+
MANAGE_LIST_SUBSCRIPTION: "ACTIVE_CAMPAIGN_MANAGE_LIST_SUBSCRIPTION",
|
|
24
|
+
REMOVE_CONTACT_FROM_AUTOMATION: "ACTIVE_CAMPAIGN_REMOVE_CONTACT_FROM_AUTOMATION",
|
|
25
|
+
TRACK_EVENT: "ACTIVE_CAMPAIGN_TRACK_EVENT",
|
|
26
|
+
UPDATE_ACCOUNT: "ACTIVE_CAMPAIGN_UPDATE_ACCOUNT",
|
|
27
|
+
UPSERT_ACCOUNT: "ACTIVE_CAMPAIGN_UPSERT_ACCOUNT",
|
|
28
|
+
},
|
|
29
|
+
triggerTypes: {},
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map of Composio's ADYNTEL toolkit.
|
|
3
|
+
*/
|
|
4
|
+
export const ADYNTEL = {
|
|
5
|
+
slug: "adyntel",
|
|
6
|
+
tools: {
|
|
7
|
+
GET_GOOGLE_ADS_BY_COMPANY: "ADYNTEL_GET_GOOGLE_ADS_BY_COMPANY",
|
|
8
|
+
META_AD_SEARCH: "ADYNTEL_META_AD_SEARCH",
|
|
9
|
+
SEARCH_TIK_TOK_ADS: "ADYNTEL_SEARCH_TIK_TOK_ADS",
|
|
10
|
+
},
|
|
11
|
+
triggerTypes: {},
|
|
12
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map of Composio's AFFINITY toolkit.
|
|
3
|
+
*/
|
|
4
|
+
export const AFFINITY = {
|
|
5
|
+
slug: "affinity",
|
|
6
|
+
tools: {
|
|
7
|
+
GET_ALL_COMPANIES: "AFFINITY_GET_ALL_COMPANIES",
|
|
8
|
+
GET_ALL_LIST_ENTRIES_ON_A_LIST: "AFFINITY_GET_ALL_LIST_ENTRIES_ON_A_LIST",
|
|
9
|
+
GET_ALL_LIST_ENTRIES_ON_A_SAVED_VIEW: "AFFINITY_GET_ALL_LIST_ENTRIES_ON_A_SAVED_VIEW",
|
|
10
|
+
GET_ALL_OPPORTUNITIES: "AFFINITY_GET_ALL_OPPORTUNITIES",
|
|
11
|
+
GET_ALL_PERSONS: "AFFINITY_GET_ALL_PERSONS",
|
|
12
|
+
GET_A_COMPANY_S_LISTS: "AFFINITY_GET_A_COMPANY_S_LISTS",
|
|
13
|
+
GET_A_COMPANY_S_LIST_ENTRIES: "AFFINITY_GET_A_COMPANY_S_LIST_ENTRIES",
|
|
14
|
+
GET_A_PERSON_S_LISTS: "AFFINITY_GET_A_PERSON_S_LISTS",
|
|
15
|
+
GET_A_PERSON_S_LIST_ENTRIES: "AFFINITY_GET_A_PERSON_S_LIST_ENTRIES",
|
|
16
|
+
GET_A_SINGLE_COMPANY: "AFFINITY_GET_A_SINGLE_COMPANY",
|
|
17
|
+
GET_A_SINGLE_OPPORTUNITY: "AFFINITY_GET_A_SINGLE_OPPORTUNITY",
|
|
18
|
+
GET_A_SINGLE_PERSON: "AFFINITY_GET_A_SINGLE_PERSON",
|
|
19
|
+
GET_CURRENT_USER: "AFFINITY_GET_CURRENT_USER",
|
|
20
|
+
GET_METADATA_ON_ALL_LISTS: "AFFINITY_GET_METADATA_ON_ALL_LISTS",
|
|
21
|
+
GET_METADATA_ON_A_SINGLE_LIST: "AFFINITY_GET_METADATA_ON_A_SINGLE_LIST",
|
|
22
|
+
GET_METADATA_ON_A_SINGLE_LIST_S_FIELDS: "AFFINITY_GET_METADATA_ON_A_SINGLE_LIST_S_FIELDS",
|
|
23
|
+
GET_METADATA_ON_A_SINGLE_SAVED_VIEW: "AFFINITY_GET_METADATA_ON_A_SINGLE_SAVED_VIEW",
|
|
24
|
+
GET_METADATA_ON_COMPANY_FIELDS: "AFFINITY_GET_METADATA_ON_COMPANY_FIELDS",
|
|
25
|
+
GET_METADATA_ON_PERSON_FIELDS: "AFFINITY_GET_METADATA_ON_PERSON_FIELDS",
|
|
26
|
+
GET_METADATA_ON_SAVED_VIEWS: "AFFINITY_GET_METADATA_ON_SAVED_VIEWS",
|
|
27
|
+
},
|
|
28
|
+
triggerTypes: {},
|
|
29
|
+
}
|