@composio/client 2.0.0-rc.1 → 2.0.0-rc.11
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 +108 -2
- package/dist/{api-key-revocation-BZL5FAx7.mjs → api-key-revocation-Dh-KSokR.mjs} +4 -3
- package/dist/{auth-CEq4JqWm.mjs → auth-Drov-jN8.mjs} +1 -1
- package/dist/{auth-configs-CyksMqNB.mjs → auth-configs-yM05-r6r.mjs} +18 -11
- package/dist/{clanker-4wByThQJ.mjs → clanker-BYmc69WC.mjs} +4 -3
- package/dist/cli-Ce8RT7yp.mjs +45 -0
- package/dist/{connected-accounts-B-qN_yLT.mjs → connected-accounts-D__sOoNZ.mjs} +31 -15
- package/dist/{consumer-DWlaGBmh.mjs → consumer-DTh50Hih.mjs} +8 -8
- package/dist/{custom-BQWoONFY.mjs → custom-CdC-6Y_i.mjs} +5 -3
- package/dist/custom-nlGufiDz.mjs +88 -0
- package/dist/error-DLB1uKM3.mjs +109 -0
- package/dist/{files-B-UnEejx.mjs → files-DROCPzLP.mjs} +7 -5
- package/dist/{files-CNZ-ttVS.mjs → files-RJPIH6iE.mjs} +13 -9
- package/dist/{generate-DSqfJENZ.mjs → generate-mU4b3zJf.mjs} +5 -3
- package/dist/{request-DwPfYYNF.mjs → generated-operations-CWhusMPU.mjs} +1266 -157
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +312 -827
- package/dist/keyring-BzkcB1gu.mjs +17 -0
- package/dist/{link-CukKZMxs.mjs → link-CfIyH3nF.mjs} +4 -3
- package/dist/{logs-B87z4hq7.mjs → logs-D2wxXYiO.mjs} +8 -6
- package/dist/{manage-By-b66OH.mjs → manage-Vc3jdRr_.mjs} +7 -5
- package/dist/mcp-DEe7xU7G.mjs +91 -0
- package/dist/{org-BSq_z6fP.mjs → org-CYsl9O1u.mjs} +9 -8
- package/dist/{owner-BDkEFEVF.mjs → owner-DmQb3AF5.mjs} +1 -1
- package/dist/pagination.d.mts +56 -0
- package/dist/pagination.mjs +50 -0
- package/dist/{project-D-c0Zrrl.mjs → project-BVBWJzHm.mjs} +1 -1
- package/dist/{project-_s0fWHut.mjs → project-D-_r3H1_.mjs} +7 -7
- package/dist/project-DvSCDA9B.mjs +47 -0
- package/dist/{project-Cj-NKnWZ.mjs → project-OSigfIdr.mjs} +4 -3
- package/dist/realtime-Dsk1QGAl.mjs +28 -0
- 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 +2 -0
- package/dist/resources/custom.mjs +3 -0
- 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 +2 -0
- package/dist/resources/keyring.mjs +3 -0
- 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 +2 -0
- package/dist/resources/session-configs.mjs +24 -0
- 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-Do3wHYNe.mjs → session-BUYbl8BA.mjs} +39 -26
- package/dist/{session-DNm4GFO-.mjs → session-DfISYrbs.mjs} +3 -2
- package/dist/{client-CK6bm7nf.d.mts → session-configs-CipRvstF.d.mts} +5450 -1009
- package/dist/{tool-router-5OfsPkJ_.mjs → tool-router-DJQ12uhs.mjs} +1 -1
- package/dist/toolkits-CbdyRtvr.mjs +62 -0
- package/dist/tools-DiH6dAto.mjs +69 -0
- package/dist/tools-a29E_8La.mjs +33 -0
- package/dist/{trigger-instances-lkKWqHgd.mjs → trigger-instances-Bg0n7X-d.mjs} +8 -6
- package/dist/{triggers-DNx9yjbS.mjs → triggers-BoSFNGss.mjs} +6 -4
- package/dist/triggers-types-BPtTEwUA.mjs +34 -0
- package/dist/{usage-CKyu9RzD.mjs → usage-CHVyZ3tm.mjs} +7 -5
- package/dist/{usage-Cv9VNy5H.mjs → usage-Cs10eWCd.mjs} +7 -5
- package/dist/{webhook-endpoints-DIyg3YlR.mjs → webhook-endpoints-B4lZc5YC.mjs} +15 -10
- package/dist/webhook-subscriptions-DJTSJd6K.mjs +55 -0
- package/package.json +21 -6
- package/dist/cli-Bi4_ORQO.mjs +0 -45
- package/dist/mcp-B0wla_93.mjs +0 -73
- package/dist/project-C0h91WGF.mjs +0 -42
- package/dist/realtime-BcHoYszT.mjs +0 -26
- package/dist/toolkits-CcE90C2S.mjs +0 -43
- package/dist/tools-B5uEInC8.mjs +0 -30
- package/dist/tools-CdVgfSpk.mjs +0 -63
- package/dist/triggers-types-MjEcrPbH.mjs +0 -31
- package/dist/webhook-subscriptions-B7AgTACq.mjs +0 -48
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as SessionSearchParams, Br as SessionCreateResponse, Fr as SessionAttachParams, Gr as SessionExecuteResponse, Hr as SessionExecuteMetaParams, Ir as SessionAttachResponse, Jr as SessionPatchParams, Kr as SessionLinkParams, Lr as SessionConfigHistoryParams, Pr as Session, Qr as SessionRetrieveResponse, Rr as SessionConfigHistoryResponse, Ur as SessionExecuteMetaResponse, Vr as SessionDeleteResponse, Wr as SessionExecuteParams, Xr as SessionProxyExecuteParams, Yr as SessionPatchResponse, Zr as SessionProxyExecuteResponse, ai as FileCreateDownloadURLParams, ci as FileCreateUploadURLResponse, di as FileListParams, ei as SessionSearchResponse, fi as FileListResponse, ii as SessionToolsResponse, li as FileDeleteParams, ni as SessionToolkitsResponse, oi as FileCreateDownloadURLResponse, pi as Files, qr as SessionLinkResponse, ri as SessionToolsParams, si as FileCreateUploadURLParams, ti as SessionToolkitsParams, ui as FileDeleteResponse, zr as SessionCreateParams } from "../../../session-configs-CipRvstF.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-RJPIH6iE.mjs";
|
|
2
|
+
import { t as Session } from "../../../session-BUYbl8BA.mjs";
|
|
3
3
|
|
|
4
4
|
export { Files, Session };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as SessionSearchParams, Br as SessionCreateResponse, Fr as SessionAttachParams, Gr as SessionExecuteResponse, Hr as SessionExecuteMetaParams, Ir as SessionAttachResponse, Jr as SessionPatchParams, Kr as SessionLinkParams, Lr as SessionConfigHistoryParams, Pr as Session, Qr as SessionRetrieveResponse, Rr as SessionConfigHistoryResponse, Ur as SessionExecuteMetaResponse, Vr as SessionDeleteResponse, Wr as SessionExecuteParams, Xr as SessionProxyExecuteParams, Yr as SessionPatchResponse, Zr as SessionProxyExecuteResponse, ei as SessionSearchResponse, ii as SessionToolsResponse, ni as SessionToolkitsResponse, qr as SessionLinkResponse, ri as SessionToolsParams, ti as SessionToolkitsParams, zr as SessionCreateParams } from "../../../session-configs-CipRvstF.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
|
|
1
|
+
import { $r as SessionSearchParams, Br as SessionCreateResponse, Fr as SessionAttachParams, Gr as SessionExecuteResponse, Hr as SessionExecuteMetaParams, Ir as SessionAttachResponse, Jr as SessionPatchParams, Kr as SessionLinkParams, Lr as SessionConfigHistoryParams, Pr as Session, Qr as SessionRetrieveResponse, Rr as SessionConfigHistoryResponse, Ur as SessionExecuteMetaResponse, Vr as SessionDeleteResponse, Wr as SessionExecuteParams, Xr as SessionProxyExecuteParams, Yr as SessionPatchResponse, Zr as SessionProxyExecuteResponse, ai as FileCreateDownloadURLParams, ci as FileCreateUploadURLResponse, di as FileListParams, ei as SessionSearchResponse, fi as FileListResponse, ii as SessionToolsResponse, li as FileDeleteParams, ni as SessionToolkitsResponse, oi as FileCreateDownloadURLResponse, pi as Files, qr as SessionLinkResponse, ri as SessionToolsParams, si as FileCreateUploadURLParams, ti as SessionToolkitsParams, ui as FileDeleteResponse, zr as SessionCreateParams } from "../../session-configs-CipRvstF.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-RJPIH6iE.mjs";
|
|
2
|
+
import { t as Session } from "../../session-BUYbl8BA.mjs";
|
|
3
3
|
import "./session/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Files, Session };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Nr as ToolRouter } from "../../session-configs-CipRvstF.mjs";
|
|
2
2
|
export { ToolRouter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as SessionSearchParams, Br as SessionCreateResponse, Fr as SessionAttachParams, Gr as SessionExecuteResponse, Hr as SessionExecuteMetaParams, Ir as SessionAttachResponse, Jr as SessionPatchParams, Kr as SessionLinkParams, Lr as SessionConfigHistoryParams, Nr as ToolRouter, Pr as Session, Qr as SessionRetrieveResponse, Rr as SessionConfigHistoryResponse, Ur as SessionExecuteMetaResponse, Wr as SessionExecuteParams, Xr as SessionProxyExecuteParams, Yr as SessionPatchResponse, Zr as SessionProxyExecuteResponse, ei as SessionSearchResponse, ii as SessionToolsResponse, ni as SessionToolkitsResponse, qr as SessionLinkResponse, ri as SessionToolsParams, ti as SessionToolkitsParams, zr as SessionCreateParams } from "../session-configs-CipRvstF.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-BUYbl8BA.mjs";
|
|
2
|
+
import { t as ToolRouter } from "../tool-router-DJQ12uhs.mjs";
|
|
3
3
|
import "./tool-router/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Session, ToolRouter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jn as ToolkitListResponse, Qn as Toolkits, Xn as ToolkitRetrieveParams, Yn as ToolkitRetrieveCategoriesResponse, Zn as ToolkitRetrieveResponse, qn as ToolkitListParams } from "../session-configs-CipRvstF.mjs";
|
|
2
2
|
export { type ToolkitListParams, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitRetrieveParams, type ToolkitRetrieveResponse, Toolkits };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ar as ToolRetrieveParams, Cr as ToolGetInputParams, Dr as ToolProxyParams, Er as ToolListResponse, Mr as Tools, Or as ToolProxyResponse, Sr as ToolExecuteResponse, Tr as ToolListParams, jr as ToolRetrieveResponse, kr as ToolRetrieveEnumResponse, wr as ToolGetInputResponse, xr as ToolExecuteParams } from "../session-configs-CipRvstF.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 {
|
|
1
|
+
import { Cn as TriggerInstanceUpsertResponse, Dn as ManageUpdateParams, En as ManageDeleteResponse, On as ManageUpdateResponse, Sn as TriggerInstanceUpsertParams, Tn as Manage, bn as TriggerInstanceListActiveParams, wn as TriggerInstances, xn as TriggerInstanceListActiveResponse } from "../../session-configs-CipRvstF.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-Vc3jdRr_.mjs";
|
|
2
|
+
import { t as TriggerInstances } from "../../trigger-instances-Bg0n7X-d.mjs";
|
|
3
3
|
|
|
4
4
|
export { Manage, TriggerInstances };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dn as ManageUpdateParams, En as ManageDeleteResponse, On as ManageUpdateResponse, Tn as Manage } from "../../session-configs-CipRvstF.mjs";
|
|
2
2
|
export { Manage, ManageDeleteResponse, ManageUpdateParams, ManageUpdateResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as TriggerInstanceUpsertResponse, Sn as TriggerInstanceUpsertParams, bn as TriggerInstanceListActiveParams, wn as TriggerInstances, xn as TriggerInstanceListActiveResponse } from "../../session-configs-CipRvstF.mjs";
|
|
2
2
|
export { TriggerInstanceListActiveParams, TriggerInstanceListActiveResponse, TriggerInstanceUpsertParams, TriggerInstanceUpsertResponse, TriggerInstances };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as TriggerInstanceUpsertResponse, Dn as ManageUpdateParams, En as ManageDeleteResponse, On as ManageUpdateResponse, Sn as TriggerInstanceUpsertParams, Tn as Manage, bn as TriggerInstanceListActiveParams, wn as TriggerInstances, xn as TriggerInstanceListActiveResponse } from "../session-configs-CipRvstF.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-Vc3jdRr_.mjs";
|
|
2
|
+
import { t as TriggerInstances } from "../trigger-instances-Bg0n7X-d.mjs";
|
|
3
3
|
import "./trigger-instances/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Manage, TriggerInstances };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as TriggersTypeListResponse, Mn as TriggersTypeRetrieveParams, Nn as TriggersTypeRetrieveResponse, Pn as TriggersTypes, jn as TriggersTypeRetrieveEnumResponse, kn as TriggersTypeListParams } from "../session-configs-CipRvstF.mjs";
|
|
2
2
|
export { type TriggersTypeListParams, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeRetrieveParams, type TriggersTypeRetrieveResponse, TriggersTypes };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as WebhookEndpointReplaceResponse, ct as WebhookEndpointUpdateResponse, et as WebhookEndpointCreateParams, it as WebhookEndpointReplaceParams, lt as WebhookEndpoints, nt as WebhookEndpointListParams, ot as WebhookEndpointRetrieveResponse, rt as WebhookEndpointListResponse, st as WebhookEndpointUpdateParams, tt as WebhookEndpointCreateResponse } from "../session-configs-CipRvstF.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 {
|
|
1
|
+
import { _t as WebhookSubscriptionRotateSecretResponse, bt as WebhookSubscriptions, dt as WebhookSubscriptionCreateResponse, ft as WebhookSubscriptionDeleteResponse, gt as WebhookSubscriptionRetrieveResponse, ht as WebhookSubscriptionListResponse, mt as WebhookSubscriptionListParams, pt as WebhookSubscriptionListEventTypesResponse, ut as WebhookSubscriptionCreateParams, vt as WebhookSubscriptionUpdateParams, yt as WebhookSubscriptionUpdateResponse } from "../session-configs-CipRvstF.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,7 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Files } from "./files-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-CWhusMPU.mjs";
|
|
2
|
+
import { t as Files } from "./files-RJPIH6iE.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/tool-router/session/session.ts
|
|
5
|
+
const OP_CREATE = generatedOperation("toolRouter.session.create");
|
|
6
|
+
const OP_RETRIEVE = generatedOperation("toolRouter.session.retrieve");
|
|
7
|
+
const OP_DELETE = generatedOperation("toolRouter.session.delete");
|
|
8
|
+
const OP_ATTACH = generatedOperation("toolRouter.session.attach");
|
|
9
|
+
const OP_CONFIG_HISTORY = generatedOperation("toolRouter.session.configHistory");
|
|
10
|
+
const OP_EXECUTE = generatedOperation("toolRouter.session.execute");
|
|
11
|
+
const OP_EXECUTE_META = generatedOperation("toolRouter.session.executeMeta");
|
|
12
|
+
const OP_LINK = generatedOperation("toolRouter.session.link");
|
|
13
|
+
const OP_PATCH = generatedOperation("toolRouter.session.patch");
|
|
14
|
+
const OP_PROXY_EXECUTE = generatedOperation("toolRouter.session.proxyExecute");
|
|
15
|
+
const OP_SEARCH = generatedOperation("toolRouter.session.search");
|
|
16
|
+
const OP_TOOLKITS = generatedOperation("toolRouter.session.toolkits");
|
|
17
|
+
const OP_TOOLS = generatedOperation("toolRouter.session.tools");
|
|
5
18
|
/**
|
|
6
19
|
* Stainless-shaped `client.toolRouter.session` resource: the 12-method
|
|
7
20
|
* published surface of `@composio/client` plus the spec-surface `delete`
|
|
@@ -19,76 +32,76 @@ var Session = class {
|
|
|
19
32
|
this.files = new Files(client);
|
|
20
33
|
}
|
|
21
34
|
create(body, options) {
|
|
22
|
-
return this.#client.post(
|
|
35
|
+
return this.#client.post("/api/v3.1/tool_router/session", withOperation(OP_CREATE, {
|
|
23
36
|
body,
|
|
24
37
|
...options
|
|
25
|
-
});
|
|
38
|
+
}));
|
|
26
39
|
}
|
|
27
40
|
retrieve(sessionID, options) {
|
|
28
|
-
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}`, { ...options });
|
|
41
|
+
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}`, withOperation(OP_RETRIEVE, { ...options }));
|
|
29
42
|
}
|
|
30
43
|
delete(sessionID, options) {
|
|
31
|
-
return this.#client.delete(path`/api/v3.1/tool_router/session/${sessionID}`, { ...options });
|
|
44
|
+
return this.#client.delete(path`/api/v3.1/tool_router/session/${sessionID}`, withOperation(OP_DELETE, { ...options }));
|
|
32
45
|
}
|
|
33
46
|
attach(sessionID, body = {}, options) {
|
|
34
|
-
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/attach`, {
|
|
47
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/attach`, withOperation(OP_ATTACH, {
|
|
35
48
|
body,
|
|
36
49
|
...options
|
|
37
|
-
});
|
|
50
|
+
}));
|
|
38
51
|
}
|
|
39
52
|
configHistory(sessionID, query = {}, options) {
|
|
40
|
-
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/config_history`, {
|
|
53
|
+
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/config_history`, withOperation(OP_CONFIG_HISTORY, {
|
|
41
54
|
query,
|
|
42
55
|
...options
|
|
43
|
-
});
|
|
56
|
+
}));
|
|
44
57
|
}
|
|
45
58
|
execute(sessionID, body, options) {
|
|
46
|
-
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/execute`, {
|
|
59
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/execute`, withOperation(OP_EXECUTE, {
|
|
47
60
|
body,
|
|
48
61
|
...options
|
|
49
|
-
});
|
|
62
|
+
}));
|
|
50
63
|
}
|
|
51
64
|
executeMeta(sessionID, body, options) {
|
|
52
|
-
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/execute_meta`, {
|
|
65
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/execute_meta`, withOperation(OP_EXECUTE_META, {
|
|
53
66
|
body,
|
|
54
67
|
...options
|
|
55
|
-
});
|
|
68
|
+
}));
|
|
56
69
|
}
|
|
57
70
|
link(sessionID, body, options) {
|
|
58
|
-
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/link`, {
|
|
71
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/link`, withOperation(OP_LINK, {
|
|
59
72
|
body,
|
|
60
73
|
...options
|
|
61
|
-
});
|
|
74
|
+
}));
|
|
62
75
|
}
|
|
63
76
|
patch(sessionID, body = {}, options) {
|
|
64
|
-
return this.#client.patch(path`/api/v3.1/tool_router/session/${sessionID}`, {
|
|
77
|
+
return this.#client.patch(path`/api/v3.1/tool_router/session/${sessionID}`, withOperation(OP_PATCH, {
|
|
65
78
|
body,
|
|
66
79
|
...options
|
|
67
|
-
});
|
|
80
|
+
}));
|
|
68
81
|
}
|
|
69
82
|
proxyExecute(sessionID, body, options) {
|
|
70
|
-
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/proxy_execute`, {
|
|
83
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/proxy_execute`, withOperation(OP_PROXY_EXECUTE, {
|
|
71
84
|
body,
|
|
72
85
|
...options
|
|
73
|
-
});
|
|
86
|
+
}));
|
|
74
87
|
}
|
|
75
88
|
search(sessionID, body, options) {
|
|
76
|
-
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/search`, {
|
|
89
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/search`, withOperation(OP_SEARCH, {
|
|
77
90
|
body,
|
|
78
91
|
...options
|
|
79
|
-
});
|
|
92
|
+
}));
|
|
80
93
|
}
|
|
81
94
|
toolkits(sessionID, query = {}, options) {
|
|
82
|
-
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/toolkits`, {
|
|
95
|
+
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/toolkits`, withOperation(OP_TOOLKITS, {
|
|
83
96
|
query,
|
|
84
97
|
...options
|
|
85
|
-
});
|
|
98
|
+
}));
|
|
86
99
|
}
|
|
87
100
|
tools(sessionID, query = {}, options) {
|
|
88
|
-
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/tools`, {
|
|
101
|
+
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/tools`, withOperation(OP_TOOLS, {
|
|
89
102
|
query,
|
|
90
103
|
...options
|
|
91
|
-
});
|
|
104
|
+
}));
|
|
92
105
|
}
|
|
93
106
|
};
|
|
94
107
|
Session.Files = Files;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-CWhusMPU.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/auth/session.ts
|
|
4
|
+
const OP_RETRIEVE_INFO = generatedOperation("auth.session.retrieveInfo");
|
|
4
5
|
/**
|
|
5
6
|
* Spec-surface `client.auth.session` resource: the 1-method user-session
|
|
6
7
|
* introspection surface of the v3.1 spec (`GET /auth/session/info` —
|
|
@@ -13,7 +14,7 @@ var Session = class {
|
|
|
13
14
|
this.#client = client;
|
|
14
15
|
}
|
|
15
16
|
retrieveInfo(options) {
|
|
16
|
-
return this.#client.get(
|
|
17
|
+
return this.#client.get("/api/v3.1/auth/session/info", withOperation(OP_RETRIEVE_INFO, { ...options }));
|
|
17
18
|
}
|
|
18
19
|
};
|
|
19
20
|
|