@composio/client 2.0.0-rc.15 → 2.0.0-rc.16
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 +19 -5
- package/dist/{api-key-revocation-CBTqyv77.mjs → api-key-revocation-CvGpd3Rw.mjs} +1 -1
- package/dist/{auth-YEGyiIZI.mjs → auth-C0IYTv5D.mjs} +1 -1
- package/dist/{auth-configs-V7U1YdOd.mjs → auth-configs-COmbnKYx.mjs} +1 -1
- package/dist/{clanker-DK892J2n.mjs → clanker-hE4FKPjg.mjs} +1 -1
- package/dist/{cli-BR9p7AMA.mjs → cli-CuFaxvp4.mjs} +2 -2
- package/dist/{connected-accounts-DyxruL1q.mjs → connected-accounts-BmbcAhdS.mjs} +1 -1
- package/dist/{consumer-QHRVNxXs.mjs → consumer-BaJgJBXQ.mjs} +2 -2
- package/dist/{custom-DNPJxZK5.mjs → custom-DIJbIQGR.mjs} +1 -1
- package/dist/custom-DbEv7dUC.mjs +34 -0
- package/dist/effect.d.mts +2 -4
- package/dist/effect.mjs +2 -3
- package/dist/{files-Bx7TZpgo.mjs → files-Cw6ulQZy.mjs} +1 -1
- package/dist/{files-Cs1Y7Oz6.mjs → files-RPz_Fvnz.mjs} +1 -1
- package/dist/{generate-gyrqQd_2.mjs → generate-DZXuXtYM.mjs} +1 -1
- package/dist/{generated-deprecated-inputs-BggrSLuP.mjs → generated-deprecated-inputs-B6o8D8ub.mjs} +1 -1
- package/dist/{generated-operations-lxo6Uhzh.mjs → generated-operations-DrhN6W_k.mjs} +43 -8
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +27 -63
- package/dist/{keyring-CaSbeDWI.mjs → keyring-CmnkWH5K.mjs} +1 -1
- package/dist/{link-BsD-BXnp.mjs → link-C0KzTJBI.mjs} +1 -1
- package/dist/{logs-CKWNAUJD.mjs → logs-Bj5MAt8z.mjs} +3 -3
- package/dist/{manage-LE7ZhkxJ.mjs → manage-DDFmGWNH.mjs} +1 -1
- package/dist/{mcp-BLaouUUs.mjs → mcp-DXmBAF09.mjs} +3 -3
- package/dist/{org-Cw6PQdvF.mjs → org-D4J-n07N.mjs} +6 -6
- package/dist/{owner-DnCCAK6L.mjs → owner-CfjgcAcM.mjs} +1 -1
- package/dist/{project-CVKYoJ9i.mjs → project-7LL6W_tc.mjs} +1 -1
- package/dist/{project-BdAUzLDU.mjs → project-CLrBv6tJ.mjs} +1 -1
- package/dist/{project-B383tf0r.mjs → project-CnOrdnOM.mjs} +1 -1
- package/dist/{project-Dug9gbmT.mjs → project-Dw9JLelr.mjs} +1 -1
- package/dist/{realtime-IBtbqLYg.mjs → realtime-DQ_gT0q7.mjs} +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -1
- package/dist/resources/auth/index.d.mts +1 -1
- package/dist/resources/auth/index.mjs +2 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/auth.mjs +2 -2
- package/dist/resources/cli/cli.d.mts +1 -1
- package/dist/resources/cli/cli.mjs +1 -1
- package/dist/resources/cli/index.d.mts +1 -1
- package/dist/resources/cli/index.mjs +2 -2
- package/dist/resources/cli/realtime.d.mts +1 -1
- package/dist/resources/cli/realtime.mjs +1 -1
- package/dist/resources/cli.d.mts +1 -1
- package/dist/resources/cli.mjs +2 -2
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +1 -1
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/index.d.mts +1 -1
- package/dist/resources/index.mjs +13 -13
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +1 -1
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/index.d.mts +1 -1
- package/dist/resources/logs/index.mjs +3 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs/tools.d.mts +1 -1
- package/dist/resources/logs/tools.mjs +1 -1
- package/dist/resources/logs/triggers.d.mts +1 -1
- package/dist/resources/logs/triggers.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/logs.mjs +3 -3
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/index.d.mts +1 -1
- package/dist/resources/mcp/index.mjs +3 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/mcp.mjs +3 -3
- package/dist/resources/org/clanker.d.mts +1 -1
- package/dist/resources/org/clanker.mjs +1 -1
- package/dist/resources/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/org/consumer/consumer.mjs +1 -1
- package/dist/resources/org/consumer/index.d.mts +1 -1
- package/dist/resources/org/consumer/index.mjs +2 -2
- package/dist/resources/org/consumer/project.d.mts +1 -1
- package/dist/resources/org/consumer/project.mjs +1 -1
- package/dist/resources/org/consumer.d.mts +1 -1
- package/dist/resources/org/consumer.mjs +2 -2
- package/dist/resources/org/index.d.mts +1 -1
- package/dist/resources/org/index.mjs +6 -6
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/index.d.mts +1 -1
- package/dist/resources/org/owner/index.mjs +2 -2
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/owner.mjs +2 -2
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/org.mjs +6 -6
- package/dist/resources/project/index.d.mts +1 -1
- package/dist/resources/project/index.mjs +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/project.mjs +1 -1
- package/dist/resources/session-configs.d.mts +1 -1
- package/dist/resources/session-configs.mjs +1 -1
- package/dist/resources/tool-router/index.d.mts +1 -1
- package/dist/resources/tool-router/index.mjs +2 -2
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/index.d.mts +1 -1
- package/dist/resources/tool-router/session/index.mjs +2 -2
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/session.mjs +2 -2
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.mjs +2 -2
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +1 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/index.d.mts +1 -1
- package/dist/resources/trigger-instances/index.mjs +2 -2
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances.mjs +2 -2
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/dist/{session-DcTM2Dmm.mjs → session-Bmbv2Y2h.mjs} +2 -2
- package/dist/{session-CGBr6GaO.mjs → session-CtO_BX-m.mjs} +1 -1
- package/dist/{session-configs-CtHZk-vG.d.mts → session-configs-C_A0gUf5.d.mts} +7 -15
- package/dist/{tool-router-BTK7Mzi8.mjs → tool-router-BICZScC1.mjs} +1 -1
- package/dist/{toolkits-DqOLVQhl.mjs → toolkits-Cj8oNvQi.mjs} +1 -1
- package/dist/{tools-BuSJLTWS.mjs → tools-BiyVpJSA.mjs} +1 -1
- package/dist/{tools-DmZteN_Z.mjs → tools-C-2Nsm32.mjs} +1 -1
- package/dist/{trigger-instances--9zM_0OP.mjs → trigger-instances-0GIUz_qu.mjs} +2 -2
- package/dist/{triggers-DVow72wn.mjs → triggers-DWnL3gjv.mjs} +1 -1
- package/dist/{triggers-types-BP340boz.mjs → triggers-types-BkigxzlE.mjs} +1 -1
- package/dist/{usage-BwUhfQlH.mjs → usage-D9XlIZBX.mjs} +1 -1
- package/dist/{usage-Dv5GAePW.mjs → usage-RRYqkjLH.mjs} +1 -1
- package/dist/version-BkHUhokz.d.mts +4 -0
- package/dist/{webhook-endpoints-BMe7DyIe.mjs → webhook-endpoints-x3UiV7uH.mjs} +1 -1
- package/dist/{webhook-subscriptions-BHpY2cSc.mjs → webhook-subscriptions-_7MTwe1s.mjs} +1 -1
- package/package.json +2 -2
- package/dist/custom-DaAJruvk.mjs +0 -88
- package/dist/version-CuFIok56.d.mts +0 -4
package/dist/resources/org.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as Clanker } from "../clanker-
|
|
2
|
-
import { t as Consumer } from "../consumer-
|
|
3
|
-
import { t as Owner } from "../owner-
|
|
4
|
-
import { t as Project } from "../project-
|
|
5
|
-
import { t as Usage } from "../usage-
|
|
6
|
-
import { t as Org } from "../org-
|
|
1
|
+
import { t as Clanker } from "../clanker-hE4FKPjg.mjs";
|
|
2
|
+
import { t as Consumer } from "../consumer-BaJgJBXQ.mjs";
|
|
3
|
+
import { t as Owner } from "../owner-CfjgcAcM.mjs";
|
|
4
|
+
import { t as Project } from "../project-CnOrdnOM.mjs";
|
|
5
|
+
import { t as Usage } from "../usage-RRYqkjLH.mjs";
|
|
6
|
+
import { t as Org } from "../org-D4J-n07N.mjs";
|
|
7
7
|
import "./org/index.mjs";
|
|
8
8
|
|
|
9
9
|
export { Clanker, Consumer, Org, Owner, Project, Usage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { St as Project } from "../../session-configs-
|
|
1
|
+
import { St as Project } from "../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { Project };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as Usage, Dt as UsageRetrieveSummaryResponse, Et as UsageRetrieveSummaryParams, Tt as UsageRetrieveResponse, wt as UsageRetrieveParams } from "../../session-configs-
|
|
1
|
+
import { Ct as Usage, Dt as UsageRetrieveSummaryResponse, Et as UsageRetrieveSummaryParams, Tt as UsageRetrieveResponse, wt as UsageRetrieveParams } from "../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { Usage, type UsageRetrieveParams, type UsageRetrieveResponse, type UsageRetrieveSummaryParams, type UsageRetrieveSummaryResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as SessionConfigsRetrieveResponse, n as SessionConfigsListParams, r as SessionConfigsListResponse, t as SessionConfigs } from "../session-configs-
|
|
1
|
+
import { i as SessionConfigsRetrieveResponse, n as SessionConfigsListParams, r as SessionConfigsListResponse, t as SessionConfigs } from "../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { SessionConfigs, SessionConfigsListParams, SessionConfigsListResponse, SessionConfigsRetrieveResponse };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/session-configs.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("sessionConfigs.retrieve");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as SessionCreateResponse, Jr as SessionAttachParams, Kr as ToolRouter, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../../session-configs-
|
|
1
|
+
import { $r as SessionCreateResponse, Jr as SessionAttachParams, Kr as ToolRouter, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Session } from "../../session-
|
|
2
|
-
import { t as ToolRouter } from "../../tool-router-
|
|
1
|
+
import { t as Session } from "../../session-Bmbv2Y2h.mjs";
|
|
2
|
+
import { t as ToolRouter } from "../../tool-router-BICZScC1.mjs";
|
|
3
3
|
|
|
4
4
|
export { Session, ToolRouter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ci as FileDeleteResponse, Ei as Files, Si as FileDeleteParams, Ti as FileListResponse, bi as FileCreateUploadURLParams, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse } from "../../../session-configs-
|
|
1
|
+
import { Ci as FileDeleteResponse, Ei as Files, Si as FileDeleteParams, Ti as FileListResponse, bi as FileCreateUploadURLParams, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse } from "../../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { FileCreateDownloadURLParams, FileCreateDownloadURLResponse, FileCreateUploadURLParams, FileCreateUploadURLResponse, FileDeleteParams, FileDeleteResponse, FileListParams, FileListResponse, Files };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as SessionCreateResponse, Ci as FileDeleteResponse, Ei as Files, Jr as SessionAttachParams, Qr as SessionCreateParams, Si as FileDeleteParams, Ti as FileListResponse, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, bi as FileCreateUploadURLParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse } from "../../../session-configs-
|
|
1
|
+
import { $r as SessionCreateResponse, Ci as FileDeleteResponse, Ei as Files, Jr as SessionAttachParams, Qr as SessionCreateParams, Si as FileDeleteParams, Ti as FileListResponse, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, bi as FileCreateUploadURLParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse } from "../../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Files } from "../../../files-
|
|
2
|
-
import { t as Session } from "../../../session-
|
|
1
|
+
import { t as Files } from "../../../files-Cw6ulQZy.mjs";
|
|
2
|
+
import { t as Session } from "../../../session-Bmbv2Y2h.mjs";
|
|
3
3
|
|
|
4
4
|
export { Files, Session };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as SessionCreateResponse, Jr as SessionAttachParams, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../../../session-configs-
|
|
1
|
+
import { $r as SessionCreateResponse, Jr as SessionAttachParams, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { Session, SessionAttachParams, SessionAttachResponse, SessionConfigHistoryParams, SessionConfigHistoryResponse, SessionCreateParams, SessionCreateResponse, SessionDeleteResponse, SessionExecuteMetaParams, SessionExecuteMetaResponse, SessionExecuteParams, SessionExecuteResponse, SessionLinkParams, SessionLinkResponse, SessionPatchParams, SessionPatchResponse, SessionProxyExecuteParams, SessionProxyExecuteResponse, SessionRetrieveResponse, SessionSearchParams, SessionSearchResponse, SessionToolkitsParams, SessionToolkitsResponse, SessionToolsParams, SessionToolsResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as SessionCreateResponse, Ci as FileDeleteResponse, Ei as Files, Jr as SessionAttachParams, Qr as SessionCreateParams, Si as FileDeleteParams, Ti as FileListResponse, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, bi as FileCreateUploadURLParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse } from "../../session-configs-
|
|
1
|
+
import { $r as SessionCreateResponse, Ci as FileDeleteResponse, Ei as Files, Jr as SessionAttachParams, Qr as SessionCreateParams, Si as FileDeleteParams, Ti as FileListResponse, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, bi as FileCreateUploadURLParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse } from "../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Files } from "../../files-
|
|
2
|
-
import { t as Session } from "../../session-
|
|
1
|
+
import { t as Files } from "../../files-Cw6ulQZy.mjs";
|
|
2
|
+
import { t as Session } from "../../session-Bmbv2Y2h.mjs";
|
|
3
3
|
import "./session/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Files, Session };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Kr as ToolRouter } from "../../session-configs-
|
|
1
|
+
import { Kr as ToolRouter } from "../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { ToolRouter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as SessionCreateResponse, Jr as SessionAttachParams, Kr as ToolRouter, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../session-configs-
|
|
1
|
+
import { $r as SessionCreateResponse, Jr as SessionAttachParams, Kr as ToolRouter, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Session } from "../session-
|
|
2
|
-
import { t as ToolRouter } from "../tool-router-
|
|
1
|
+
import { t as Session } from "../session-Bmbv2Y2h.mjs";
|
|
2
|
+
import { t as ToolRouter } from "../tool-router-BICZScC1.mjs";
|
|
3
3
|
import "./tool-router/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Session, ToolRouter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Jn as ToolkitListParams, Qn as ToolkitRetrieveCategoriesResponse, Yn as ToolkitListResponse, nr as ToolkitRetrieveParams, or as Toolkits, rr as ToolkitRetrieveResponse } from "../session-configs-
|
|
1
|
+
import { Jn as ToolkitListParams, Qn as ToolkitRetrieveCategoriesResponse, Yn as ToolkitListResponse, nr as ToolkitRetrieveParams, or as Toolkits, rr as ToolkitRetrieveResponse } from "../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { type ToolkitListParams, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitRetrieveParams, type ToolkitRetrieveResponse, Toolkits };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as ToolRetrieveEnumResponse, Fr as ToolGetInputResponse, Gr as Tools, Ir as ToolListParams, Lr as ToolListResponse, Mr as ToolExecuteParams, Nr as ToolExecuteResponse, Pr as ToolGetInputParams, Rr as ToolProxyParams, Vr as ToolRetrieveParams, Wr as ToolRetrieveResponse, zr as ToolProxyResponse } from "../session-configs-
|
|
1
|
+
import { Br as ToolRetrieveEnumResponse, Fr as ToolGetInputResponse, Gr as Tools, Ir as ToolListParams, Lr as ToolListResponse, Mr as ToolExecuteParams, Nr as ToolExecuteResponse, Pr as ToolGetInputParams, Rr as ToolProxyParams, Vr as ToolRetrieveParams, Wr as ToolRetrieveResponse, zr as ToolProxyResponse } from "../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { type ToolExecuteParams, type ToolExecuteResponse, type ToolGetInputParams, type ToolGetInputResponse, type ToolListParams, type ToolListResponse, type ToolProxyParams, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolRetrieveParams, type ToolRetrieveResponse, Tools };
|
package/dist/resources/tools.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cn as TriggerInstanceUpsertParams, Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, kn as ManageUpdateResponse, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../../session-configs-
|
|
1
|
+
import { Cn as TriggerInstanceUpsertParams, Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, kn as ManageUpdateResponse, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { Manage, type ManageDeleteResponse, type ManageUpdateParams, type ManageUpdateResponse, type TriggerInstanceListActiveParams, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertParams, type TriggerInstanceUpsertResponse, TriggerInstances };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Manage } from "../../manage-
|
|
2
|
-
import { t as TriggerInstances } from "../../trigger-instances
|
|
1
|
+
import { t as Manage } from "../../manage-DDFmGWNH.mjs";
|
|
2
|
+
import { t as TriggerInstances } from "../../trigger-instances-0GIUz_qu.mjs";
|
|
3
3
|
|
|
4
4
|
export { Manage, TriggerInstances };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, kn as ManageUpdateResponse } from "../../session-configs-
|
|
1
|
+
import { Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, kn as ManageUpdateResponse } from "../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { Manage, ManageDeleteResponse, ManageUpdateParams, ManageUpdateResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cn as TriggerInstanceUpsertParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../../session-configs-
|
|
1
|
+
import { Cn as TriggerInstanceUpsertParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { TriggerInstanceListActiveParams, TriggerInstanceListActiveResponse, TriggerInstanceUpsertParams, TriggerInstanceUpsertResponse, TriggerInstances };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cn as TriggerInstanceUpsertParams, Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, kn as ManageUpdateResponse, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../session-configs-
|
|
1
|
+
import { Cn as TriggerInstanceUpsertParams, Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, kn as ManageUpdateResponse, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { Manage, type ManageDeleteResponse, type ManageUpdateParams, type ManageUpdateResponse, type TriggerInstanceListActiveParams, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertParams, type TriggerInstanceUpsertResponse, TriggerInstances };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manage } from "../manage-
|
|
2
|
-
import { t as TriggerInstances } from "../trigger-instances
|
|
1
|
+
import { t as Manage } from "../manage-DDFmGWNH.mjs";
|
|
2
|
+
import { t as TriggerInstances } from "../trigger-instances-0GIUz_qu.mjs";
|
|
3
3
|
import "./trigger-instances/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Manage, TriggerInstances };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { An as TriggersTypeListParams, Fn as TriggersTypes, Mn as TriggersTypeRetrieveEnumResponse, Nn as TriggersTypeRetrieveParams, Pn as TriggersTypeRetrieveResponse, jn as TriggersTypeListResponse } from "../session-configs-
|
|
1
|
+
import { An as TriggersTypeListParams, Fn as TriggersTypes, Mn as TriggersTypeRetrieveEnumResponse, Nn as TriggersTypeRetrieveParams, Pn as TriggersTypeRetrieveResponse, jn as TriggersTypeListResponse } from "../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { type TriggersTypeListParams, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeRetrieveParams, type TriggersTypeRetrieveResponse, TriggersTypes };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as WebhookEndpointReplaceParams, ct as WebhookEndpointUpdateParams, it as WebhookEndpointListResponse, lt as WebhookEndpointUpdateResponse, nt as WebhookEndpointCreateResponse, ot as WebhookEndpointReplaceResponse, rt as WebhookEndpointListParams, st as WebhookEndpointRetrieveResponse, tt as WebhookEndpointCreateParams, ut as WebhookEndpoints } from "../session-configs-
|
|
1
|
+
import { at as WebhookEndpointReplaceParams, ct as WebhookEndpointUpdateParams, it as WebhookEndpointListResponse, lt as WebhookEndpointUpdateResponse, nt as WebhookEndpointCreateResponse, ot as WebhookEndpointReplaceResponse, rt as WebhookEndpointListParams, st as WebhookEndpointRetrieveResponse, tt as WebhookEndpointCreateParams, ut as WebhookEndpoints } from "../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { type WebhookEndpointCreateParams, type WebhookEndpointCreateResponse, type WebhookEndpointListParams, type WebhookEndpointListResponse, type WebhookEndpointReplaceParams, type WebhookEndpointReplaceResponse, type WebhookEndpointRetrieveResponse, type WebhookEndpointUpdateParams, type WebhookEndpointUpdateResponse, WebhookEndpoints };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _t as WebhookSubscriptionRetrieveResponse, bt as WebhookSubscriptionUpdateResponse, dt as WebhookSubscriptionCreateParams, ft as WebhookSubscriptionCreateResponse, gt as WebhookSubscriptionListResponse, ht as WebhookSubscriptionListParams, mt as WebhookSubscriptionListEventTypesResponse, pt as WebhookSubscriptionDeleteResponse, vt as WebhookSubscriptionRotateSecretResponse, xt as WebhookSubscriptions, yt as WebhookSubscriptionUpdateParams } from "../session-configs-
|
|
1
|
+
import { _t as WebhookSubscriptionRetrieveResponse, bt as WebhookSubscriptionUpdateResponse, dt as WebhookSubscriptionCreateParams, ft as WebhookSubscriptionCreateResponse, gt as WebhookSubscriptionListResponse, ht as WebhookSubscriptionListParams, mt as WebhookSubscriptionListEventTypesResponse, pt as WebhookSubscriptionDeleteResponse, vt as WebhookSubscriptionRotateSecretResponse, xt as WebhookSubscriptions, yt as WebhookSubscriptionUpdateParams } from "../session-configs-C_A0gUf5.mjs";
|
|
2
2
|
export { type WebhookSubscriptionCreateParams, type WebhookSubscriptionCreateResponse, type WebhookSubscriptionDeleteResponse, type WebhookSubscriptionListEventTypesResponse, type WebhookSubscriptionListParams, type WebhookSubscriptionListResponse, type WebhookSubscriptionRetrieveResponse, type WebhookSubscriptionRotateSecretResponse, type WebhookSubscriptionUpdateParams, type WebhookSubscriptionUpdateResponse, WebhookSubscriptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Files } from "./files-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
|
+
import { t as Files } from "./files-Cw6ulQZy.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/tool-router/session/session.ts
|
|
5
5
|
const OP_CREATE = generatedOperation("toolRouter.session.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/auth/session.ts
|
|
4
4
|
const OP_RETRIEVE_INFO = generatedOperation("auth.session.retrieveInfo");
|
|
@@ -25199,7 +25199,6 @@ interface RequestOptions {
|
|
|
25199
25199
|
maxRetries?: number;
|
|
25200
25200
|
timeout?: number;
|
|
25201
25201
|
signal?: AbortSignal | null;
|
|
25202
|
-
fetchOptions?: RequestInit;
|
|
25203
25202
|
/**
|
|
25204
25203
|
* Stainless options-bag compatibility: sent as the `Idempotency-Key`
|
|
25205
25204
|
* request header. Server-side replay/dedup for Composio's write endpoints
|
|
@@ -26990,12 +26989,7 @@ interface CustomUpsertResponse extends CustomUpsertResponseGen {}
|
|
|
26990
26989
|
declare class Custom {
|
|
26991
26990
|
#private;
|
|
26992
26991
|
constructor(client: Composio);
|
|
26993
|
-
deleteToolkit(slug: string, query?: CustomDeleteToolkitParams | null, options?: RequestOptions): APIPromise<CustomDeleteToolkitResponse>;
|
|
26994
|
-
/**
|
|
26995
|
-
* @deprecated The signature released through 2.0.0-rc.9. Pass request options
|
|
26996
|
-
* third instead: `deleteToolkit(slug, query, options)`.
|
|
26997
|
-
*/
|
|
26998
|
-
deleteToolkit(slug: string, options?: RequestOptions): APIPromise<CustomDeleteToolkitResponse>;
|
|
26992
|
+
deleteToolkit(slug: string, query?: CustomDeleteToolkitParams | null | undefined, options?: RequestOptions): APIPromise<CustomDeleteToolkitResponse>;
|
|
26999
26993
|
sync(body: CustomSyncParams, options?: RequestOptions): APIPromise<CustomSyncResponse>;
|
|
27000
26994
|
upsert(body: CustomUpsertParams, options?: RequestOptions): APIPromise<CustomUpsertResponse>;
|
|
27001
26995
|
}
|
|
@@ -27111,18 +27105,17 @@ interface ClientOptions {
|
|
|
27111
27105
|
allowInsecureHTTP?: boolean | undefined;
|
|
27112
27106
|
/** Per-request time budget in milliseconds (each retry attempt gets its own). */
|
|
27113
27107
|
timeout?: number | undefined;
|
|
27114
|
-
/**
|
|
27115
|
-
|
|
27116
|
-
|
|
27117
|
-
|
|
27118
|
-
|
|
27108
|
+
/**
|
|
27109
|
+
* Sends fully prepared requests. Defaults to `createFetchTransport()`, which
|
|
27110
|
+
* resolves `globalThis.fetch` when a request is sent, so late polyfills and
|
|
27111
|
+
* test interceptors are honored. A custom `fetch` or extra `RequestInit`
|
|
27112
|
+
* defaults go through `createFetchTransport({ fetch, defaults })`.
|
|
27113
|
+
*/
|
|
27119
27114
|
transport?: Transport | undefined;
|
|
27120
27115
|
/** Maximum retries for temporary failures. Defaults to 2. */
|
|
27121
27116
|
maxRetries?: number | undefined;
|
|
27122
27117
|
/** Headers sent on every request; per-request headers win, `null` deletes. */
|
|
27123
27118
|
defaultHeaders?: HeadersLike;
|
|
27124
|
-
/** Query params sent on every request; `undefined` removes a param. */
|
|
27125
|
-
defaultQuery?: Record<string, string | undefined> | undefined;
|
|
27126
27119
|
/** Defaults to `process.env['COMPOSIO_LOG_LEVEL']` or 'warn'. */
|
|
27127
27120
|
logLevel?: LogLevel | undefined;
|
|
27128
27121
|
/** Defaults to `globalThis.console`. */
|
|
@@ -27144,7 +27137,6 @@ declare class Composio {
|
|
|
27144
27137
|
timeout: number;
|
|
27145
27138
|
logger: Logger;
|
|
27146
27139
|
logLevel: LogLevel | undefined;
|
|
27147
|
-
fetchOptions: RequestInit | undefined;
|
|
27148
27140
|
constructor(input?: ClientOptions);
|
|
27149
27141
|
/**
|
|
27150
27142
|
* Constructs a client from a caller-supplied environment snapshot.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/toolkits.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("toolkits.retrieve");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/logs/tools.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("logs.tools.retrieve");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as mergeHeaders, b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/tools.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("tools.retrieve");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Manage } from "./manage-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
|
+
import { t as Manage } from "./manage-DDFmGWNH.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/trigger-instances/trigger-instances.ts
|
|
5
5
|
const OP_LIST_ACTIVE = generatedOperation("triggerInstances.listActive");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/logs/triggers.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("logs.triggers.retrieve");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/triggers-types.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("triggersTypes.retrieve");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/project/usage.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("project.usage.retrieve");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/usage.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("org.usage.retrieve");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/webhook-endpoints.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("webhookEndpoints.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-DrhN6W_k.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/webhook-subscriptions.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("webhookSubscriptions.create");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composio/client",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.16",
|
|
4
4
|
"description": "Composio API client for TypeScript, generated from the v3.1 OpenAPI spec with hey-api",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"@types/node": "^26.1.0",
|
|
115
115
|
"@typescript/native-preview": "^7.0.0-dev.20260703.1",
|
|
116
116
|
"@vitest/eslint-plugin": "^1.6.26",
|
|
117
|
-
"composio-client-previous": "npm:@composio/client@2.0.0-rc.
|
|
117
|
+
"composio-client-previous": "npm:@composio/client@2.0.0-rc.15",
|
|
118
118
|
"composio-client-stainless": "npm:@composio/client@0.1.0-alpha.76",
|
|
119
119
|
"effect": "4.0.3",
|
|
120
120
|
"eslint": "^9.39.4",
|
package/dist/custom-DaAJruvk.mjs
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-lxo6Uhzh.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/compat/legacy-options.ts
|
|
4
|
-
/**
|
|
5
|
-
* Recognizing a request-options bag passed where a params object now goes.
|
|
6
|
-
*
|
|
7
|
-
* TODO(#66): a migration guardrail, to be removed before stable 2.0 —
|
|
8
|
-
* https://github.com/ComposioHQ/composio-client/issues/66.
|
|
9
|
-
*
|
|
10
|
-
* A method that gains its first optional parameter moves from
|
|
11
|
-
* `method(id, options?)` to `method(id, params?, options?)`. A caller written
|
|
12
|
-
* against the released two-position form then hands its options to the params
|
|
13
|
-
* position, where `headers` is serialized into the URL and `timeout`/`signal`
|
|
14
|
-
* are dropped. The generator emits a check for exactly the methods its ledger
|
|
15
|
-
* declares (`LEGACY_OPTIONS_POSITIONS` in `packages/codegen`), and every one of
|
|
16
|
-
* them asks this module — the key set lives here once, not in generated files.
|
|
17
|
-
*
|
|
18
|
-
* This file imports nothing on purpose: the generator reads
|
|
19
|
-
* `REQUEST_OPTIONS_KEYS` to refuse a ledger entry whose parameter names collide
|
|
20
|
-
* with it, and must be able to load the list without the rest of the kernel.
|
|
21
|
-
* `test/types/legacy-options.test-d.ts` pins the list to `keyof RequestOptions`
|
|
22
|
-
* in both directions, so a key added to that interface cannot be forgotten here.
|
|
23
|
-
*/
|
|
24
|
-
/** Every key of `RequestOptions` (`request.ts`). */
|
|
25
|
-
const REQUEST_OPTIONS_KEYS = [
|
|
26
|
-
"headers",
|
|
27
|
-
"maxRetries",
|
|
28
|
-
"timeout",
|
|
29
|
-
"signal",
|
|
30
|
-
"fetchOptions",
|
|
31
|
-
"idempotencyKey"
|
|
32
|
-
];
|
|
33
|
-
/**
|
|
34
|
-
* Whether `value`, received in a params position, is really a request-options
|
|
35
|
-
* bag from a call written against the released two-position signature.
|
|
36
|
-
*
|
|
37
|
-
* `declaredKeys` are the operation's own parameter names. An object carrying
|
|
38
|
-
* any of them is params, whatever else it carries: a mixed object is ambiguous,
|
|
39
|
-
* and reading it as options would silently discard a parameter the caller set.
|
|
40
|
-
* Otherwise it is options only on positive evidence — at least one
|
|
41
|
-
* `RequestOptions` key — so `{}`, `null` and `undefined` stay params.
|
|
42
|
-
*
|
|
43
|
-
* The generator guarantees the two key sets are disjoint, which is what makes
|
|
44
|
-
* the answer unambiguous for every object that is not mixed.
|
|
45
|
-
*/
|
|
46
|
-
const isLegacyRequestOptions = (value, declaredKeys) => {
|
|
47
|
-
if (typeof value !== "object" || value === null) return false;
|
|
48
|
-
if (declaredKeys.some((key) => Object.hasOwn(value, key))) return false;
|
|
49
|
-
return REQUEST_OPTIONS_KEYS.some((key) => Object.hasOwn(value, key));
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
//#endregion
|
|
53
|
-
//#region src/compat/resources/custom.ts
|
|
54
|
-
const OP_DELETE_TOOLKIT = generatedOperation("custom.deleteToolkit");
|
|
55
|
-
const OP_SYNC = generatedOperation("custom.sync");
|
|
56
|
-
const OP_UPSERT = generatedOperation("custom.upsert");
|
|
57
|
-
const LEGACY_PARAM_KEYS_DELETE_TOOLKIT = ["revoke_on_delete"];
|
|
58
|
-
/** OpenAPI resource for `custom`. */
|
|
59
|
-
var Custom = class {
|
|
60
|
-
#client;
|
|
61
|
-
constructor(client) {
|
|
62
|
-
this.#client = client;
|
|
63
|
-
}
|
|
64
|
-
deleteToolkit(slug, queryOrOptions = {}, trailingOptions) {
|
|
65
|
-
const optionsSecond = trailingOptions === void 0 && isLegacyRequestOptions(queryOrOptions, LEGACY_PARAM_KEYS_DELETE_TOOLKIT);
|
|
66
|
-
const query = optionsSecond ? {} : queryOrOptions;
|
|
67
|
-
const options = optionsSecond ? queryOrOptions : trailingOptions;
|
|
68
|
-
return this.#client.delete(path`/api/v3.1/custom/toolkits/${slug}`, withOperation(OP_DELETE_TOOLKIT, {
|
|
69
|
-
query,
|
|
70
|
-
...options
|
|
71
|
-
}));
|
|
72
|
-
}
|
|
73
|
-
sync(body, options) {
|
|
74
|
-
return this.#client.post("/api/v3.1/custom/toolkits/sync", withOperation(OP_SYNC, {
|
|
75
|
-
body,
|
|
76
|
-
...options
|
|
77
|
-
}));
|
|
78
|
-
}
|
|
79
|
-
upsert(body, options) {
|
|
80
|
-
return this.#client.post("/api/v3.1/custom/toolkits/upsert", withOperation(OP_UPSERT, {
|
|
81
|
-
body,
|
|
82
|
-
...options
|
|
83
|
-
}));
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
//#endregion
|
|
88
|
-
export { Custom as t };
|