@composio/core 0.18.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CustomTool-VRfWzMix.d.mts → CustomTool-B3m-188G.d.mts} +1 -1
- package/dist/{CustomTool-Bz0f52QR.mjs → CustomTool-fYEFjSLM.mjs} +1 -1
- package/dist/{FileModifierErrors-CwB-Inm9.mjs → FileModifierErrors-CdGSABoq.mjs} +1 -1
- package/dist/{FileToolModifier.utils.neutral-D_YkHwZP.mjs → FileToolModifier.utils.neutral-DWFpnsj2.mjs} +4 -2
- package/dist/{SsrfErrors-xhdVE4yw.mjs → SsrfErrors-DiQldIdC.mjs} +32 -17
- package/dist/{Telemetry-Dw9W5RSp.mjs → Telemetry-JRJJYS4I.mjs} +2 -2
- package/dist/{cancellation-P5YUlcfz.mjs → cancellation-Dwa9lGHA.mjs} +7 -5
- package/dist/{composio-Cb3d1jFe.d.mts → composio-B36OXii1.d.mts} +3017 -144
- package/dist/{customTool.types-B6ej_8XZ.d.mts → customTool.types-C436M_D0.d.mts} +525 -101
- package/dist/docs/reference/sdk-reference/typescript/auth-configs.mdx +10 -10
- package/dist/docs/reference/sdk-reference/typescript/composio.mdx +8 -15
- package/dist/docs/reference/sdk-reference/typescript/connected-accounts.mdx +101 -18
- package/dist/docs/reference/sdk-reference/typescript/custom-toolkits.mdx +123 -0
- package/dist/docs/reference/sdk-reference/typescript/experimental.mdx +9 -2
- package/dist/docs/reference/sdk-reference/typescript/index.mdx +7 -0
- package/dist/docs/reference/sdk-reference/typescript/keyring.mdx +56 -0
- package/dist/docs/reference/sdk-reference/typescript/logs.mdx +78 -0
- package/dist/docs/reference/sdk-reference/typescript/mcp.mdx +15 -15
- package/dist/docs/reference/sdk-reference/typescript/meta.json +8 -1
- package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +10 -10
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +117 -24
- package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +24 -10
- package/dist/docs/reference/sdk-reference/typescript/toolkits.mdx +151 -14
- package/dist/docs/reference/sdk-reference/typescript/tools.mdx +50 -40
- package/dist/docs/reference/sdk-reference/typescript/triggers.mdx +26 -25
- package/dist/docs/reference/sdk-reference/typescript/usage.mdx +78 -0
- package/dist/docs/reference/sdk-reference/typescript/webhook-endpoints.mdx +162 -0
- package/dist/docs/reference/sdk-reference/typescript/webhook-subscriptions.mdx +218 -0
- package/dist/docs/reference/sdk-reference/typescript/webhooks.mdx +20 -0
- package/dist/{errors-Ue9wMrPK.mjs → errors-D_A4b2c2.mjs} +143 -4
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/{fileUtils.node-KE5Fa-af.mjs → fileUtils.node-DNLhLg0W.mjs} +8 -6
- package/dist/index.d.mts +418 -146
- package/dist/index.mjs +2728 -349
- package/dist/models/Files.node.d.mts +2 -3
- package/dist/models/Files.node.mjs +2 -2
- package/dist/models/Files.workerd.d.mts +2 -3
- package/dist/platform/node.d.mts +2 -3
- package/dist/platform/workerd.d.mts +2 -3
- package/dist/{sensitiveFileUploadPaths-QN7w4n8v.mjs → sensitiveFileUploadPaths-BlLp-Yo2.mjs} +10 -7
- package/dist/{ssrfGuard.node-BLX6b-Rf.mjs → ssrfGuard.node-BZ270bcu.mjs} +104 -14
- package/dist/{types-CGdgK442.d.mts → types-Br3GBya5.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +3 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +3 -4
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +3 -4
- package/dist/utils/modifiers/FileToolModifier.node.mjs +6 -6
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +3 -4
- package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
- package/dist/utils/ssrfGuard.node.d.mts +19 -10
- package/dist/utils/ssrfGuard.node.mjs +1 -1
- package/dist/utils/ssrfGuard.workerd.d.mts +12 -4
- package/dist/utils/ssrfGuard.workerd.mjs +2 -2
- package/package.json +9 -9
- package/src/composio.ts +207 -10
- package/src/errors/ConnectedAccountsErrors.ts +47 -0
- package/src/errors/SDKErrors.ts +52 -0
- package/src/errors/ToolErrors.ts +24 -0
- package/src/errors/ToolRouterErrors.ts +57 -0
- package/src/errors/index.ts +3 -0
- package/src/index.ts +15 -0
- package/src/lib/toolRouterMcp.ts +132 -0
- package/src/lib/toolRouterParams.ts +116 -29
- package/src/models/ConnectedAccounts.ts +118 -2
- package/src/models/CustomToolkits.ts +169 -0
- package/src/models/Experimental.ts +27 -0
- package/src/models/Keyring.ts +65 -0
- package/src/models/Logs.ts +101 -0
- package/src/models/MCP.ts +29 -15
- package/src/models/ToolRouter.ts +43 -14
- package/src/models/ToolRouterSession.ts +224 -16
- package/src/models/Toolkits.ts +181 -2
- package/src/models/Tools.ts +58 -26
- package/src/models/Triggers.ts +10 -90
- package/src/models/Usage.ts +119 -0
- package/src/models/Webhooks.ts +520 -0
- package/src/services/pusher/Pusher.ts +46 -16
- package/src/types/authConfigs.types.ts +2 -0
- package/src/types/connectedAccounts.types.ts +54 -0
- package/src/types/customToolkits.types.ts +102 -0
- package/src/types/keyring.types.ts +32 -0
- package/src/types/logs.types.ts +108 -0
- package/src/types/toolRouter.types.ts +259 -14
- package/src/types/toolkit.types.ts +161 -0
- package/src/types/usage.types.ts +81 -0
- package/src/types/webhooks.types.ts +143 -0
- package/src/utils/constants.ts +1 -5
- package/src/utils/jsonSchema.ts +4 -1
- package/src/utils/logger.ts +39 -7
- package/src/utils/sdk.ts +385 -22
- package/src/utils/ssrfGuard.node.ts +127 -13
- package/src/utils/ssrfGuard.workerd.ts +11 -1
- package/src/utils/transformers/connectedAccounts.ts +37 -2
- package/src/utils/transformers/customToolkits.ts +98 -0
- package/src/utils/transformers/keyring.ts +24 -0
- package/src/utils/transformers/logs.ts +85 -0
- package/src/utils/transformers/toolkits.ts +183 -3
- package/src/utils/transformers/triggers.ts +2 -2
- package/src/utils/transformers/usage.ts +77 -0
- package/src/utils/transformers/webhooks.ts +139 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as ToolRouterSessionMetadata, $i as ToolExecuteResponse, $n as MCPGenerateURLParams, $r as Oauth1ActiveConnectionDataSchema, $t as ConnectedAccountExperimentalSchema, A as SessionProxyExecuteParams, Ai as BeforeFileUploadSource, An as UpdateConnectedAccountParamsSchema, Ar as McpUpdateResponseSchema, At as FileListResponseSchema, B as ToolRouterCreateSessionConfigSchema, Bi as beforeExecuteMetaModifier, Bn as ComposioMcpUpdateResponseSchema, Br as BaseConnectionFields, Bt as ToolRouterSessionFilesMountUploadOptionsSchema, C as MCPServerType, Ci as Oauth2InitiatedConnectionDataSchema, Cn as CreateConnectedAccountParamsSchema, Cr as McpRetrieveResponse, Ct as ToolkitConnectionStateSchema, D as Session, Di as Oauth2RevokedConnectionDataSchema, Dn as UpdateConnectedAccountAclParams, Dr as McpServerUrlInfo, Dt as FileDeleteResponse, E as SandboxSizeSchema, Ei as Oauth2RevokedConnectionData, En as DefaultCreateConnectedAccountParamsSchema, Er as McpServerGetResponse, Et as RemoteFile, F as ToolRouterConfigTags, Fi as SessionMetaToolOptions, Fn as ComposioGenerateURLParamsSchema, Fr as ExecuteToolFnOptions, Ft as ToolRouterSessionFilesMountDownloadOptions, G as ToolRouterSandboxConfigSchema, Gi as JSONSchemaProperty, Gn as GenerateURLParams, Gr as ConnectionStatuses, Gt as ConnectedAccountAclConfigResponse, H as ToolRouterMCPServerConfigSchema, Hi as beforeFileUploadModifier, Hn as CustomCreateResponse, Hr as ConnectionData, Ht as ConnectionRequest, I as ToolRouterConfigTagsSchema, Ii as ToolOptions, In as ComposioGenerateURLResponseSchema, Ir as GlobalExecuteToolFn, It as ToolRouterSessionFilesMountDownloadOptionsSchema, J as ToolRouterSessionDeleteResponseSchema, Ji as Tool, Jn as GenerateURLResponseSchema, Jr as CustomOauth1ConnectionData, Jt as ConnectedAccountAuthConfig, K as ToolRouterSessionDeleteFn, Ki as JSONSchemaPropertySchema, Kn as GenerateURLParamsSchema, Kr as CustomConnectionData, Kt as ConnectedAccountAclConfigResponseSchema, L as ToolRouterConfigTools, Li as TransformToolSchemaModifier, Ln as ComposioMcpDeleteResponseSchema, Lr as Provider, Lt as ToolRouterSessionFilesMountListOptions, M as SessionWithoutMcp, Mi as MetaToolArguments, Mn as BaseComposioProvider, Mr as McpUrlResponseCamelCase, Mt as RemoteFileDataSchema, N as ToolRouterAuthorizeFn, Ni as ProviderOptions, Nn as BaseNonAgenticProvider, Nr as McpUserConnectionStatus, Nt as ToolRouterSessionFilesMountDeleteOptions, O as SessionExperimental, Oi as RedirectableAuthSchemeSchema, On as UpdateConnectedAccountAclParamsSchema, Or as McpToolkitConnectionStatus, Ot as FileDeleteResponseSchema, P as ToolRouterConfigManageConnectionsSchema, Pi as SessionExecuteMetaModifiers, Pn as ComposioCustomCreateResponseSchema, Pr as ExecuteToolFn, Pt as ToolRouterSessionFilesMountDeleteOptionsSchema, Q as ToolRouterSessionExecuteResponseSchema, Qi as ToolExecuteParamsSchema, Qn as MCPCreateMethodResponse, Qr as Oauth1ActiveConnectionData, Qt as ConnectedAccountExperimentalResponseSchema, R as ToolRouterConfigToolsSchema, Ri as afterExecuteMetaModifier, Rn as ComposioMcpListResponseSchema, Rr as ToolCallExecutionTarget, Rt as ToolRouterSessionFilesMountListOptionsSchema, S as SessionContext, Si as Oauth2InitiatedConnectionData, Sn as CreateConnectedAccountParams, Sr as McpListResponseSchema, St as ToolkitConnectionState, T as SandboxSize, Ti as Oauth2InitiatingConnectionDataSchema, Tn as CreateConnectedAccountResponseSchema, Tr as McpServerCreateResponse, Tt as ToolkitConnectionsDetailsSchema, U as ToolRouterManageConnectionsConfigSchema, Ui as CustomAuthParams, Un as CustomCreateResponseSchema, Ur as ConnectionDataSchema, Ut as ConnectionRequestState, V as ToolRouterMCPServerConfig, Vi as beforeExecuteModifier, Vn as ConnectionStatus, Vr as BillcomAuthConnectionDataSchema, Vt as ComposioRequestOptions, W as ToolRouterSandboxConfig, Wi as CustomAuthParamsSchema, Wn as CustomCreateResponseValidated, Wr as ConnectionStatusEnum, Wt as ConnectedAccountAclConfig, X as ToolRouterSessionExecuteOptions, Xi as ToolExecuteMetaParamsSchema, Xn as MCPAuthOptions, Xr as CustomOauth2ConnectionData, Xt as ConnectedAccountExperimental, Y as ToolRouterSessionExecuteFn, Yi as ToolExecuteMetaParams, Yn as GenerateURLResponseValidated, Yr as CustomOauth1ConnectionDataSchema, Yt as ConnectedAccountAuthConfigSchema, Z as ToolRouterSessionExecuteResponse, Zi as ToolExecuteParams, Zn as MCPAuthOptionsSchema, Zr as CustomOauth2ConnectionDataSchema, Zt as ConnectedAccountExperimentalResponse, _ as CustomToolsMapEntry, _a as ToolkitVersionSchema, _i as Oauth2ExpiredConnectionDataSchema, _n as CreateConnectedAccountLinkOptionsSchema, _r as MCPToolkitConfigSchema, _t as ToolRouterToolsFn, a as CreateCustomToolkitParams, aa as ToolListResponseSchema, ai as Oauth1FailedConnectionDataSchema, an as ConnectedAccountRefreshOptions, ar as MCPMultiAppServerSchema, at as ToolRouterSessionSearchResponseSchema, b as RegisteredCustomTool, bi as Oauth2InactiveConnectionData, bn as CreateConnectedAccountOptions, br as McpDeleteResponseSchema, bt as ToolRouterUpdateSessionConfig, c as CustomToolExecuteFn, ca as ToolRetrievalOptions, ci as Oauth1InitiatedConnectionData, cn as ConnectedAccountRetrieveResponseSchema, cr as MCPServerCreateResponseSchema, ct as ToolRouterSessionWorkbenchConfig, d as CustomToolWireDefinition, da as ToolkitLatestVersion, di as Oauth1InitiatingConnectionDataSchema, dn as ConnectedAccountStatusSchema, dr as MCPServerSchema, dt as ToolRouterToolkitsDisabledConfigSchema, ea as ToolExecuteResponseSchema, ei as Oauth1ConnectionData, en as ConnectedAccountListParams, er as MCPGenerateURLParamsSchema, et as ToolRouterSessionPreloadConfig, f as CustomToolkit, fa as ToolkitLatestVersionSchema, fi as Oauth2ActiveConnectionData, fn as ConnectedAccountStatuses, fr as MCPServerUpdateParams, ft as ToolRouterToolkitsEnabledConfigSchema, g as CustomToolsMap, ga as ToolkitVersionParamSchema, gi as Oauth2ExpiredConnectionData, gn as CreateConnectedAccountLinkOptions, gr as MCPToolkitConfig, gt as ToolRouterToolkitsParamSchema, h as CustomToolkitWireDefinition, ha as ToolkitVersionParam, hi as Oauth2ConnectionDataSchema, hn as ConnectedAccountTypes, hr as MCPSingleAppServerSchema, ht as ToolRouterToolkitsOptionsSchema, i as CreateCustomToolkitBaseSchema, ia as ToolListResponse, ii as Oauth1FailedConnectionData, in as ConnectedAccountListResponseSchema, ir as MCPMultiAppServer, it as ToolRouterSessionSearchResponse, j as SessionProxyExecuteParamsSchema, ji as ExecuteToolModifiers, jn as BaseAgenticProvider, jr as McpUrlResponse, jt as RemoteFileData, k as SessionPreset, ki as AgenticToolOptions, kn as UpdateConnectedAccountParams, kr as McpUpdateResponse, kt as FileListResponse, l as CustomToolResponse, la as ToolSchema, li as Oauth1InitiatedConnectionDataSchema, ln as ConnectedAccountStatus, lr as MCPServerListResponse, lt as ToolRouterTagsEnableDisableSchema, m as CustomToolkitResponse, ma as ToolkitVersion, mi as Oauth2ConnectionData, mn as ConnectedAccountTypeSchema, mr as MCPSingleAppServer, mt as ToolRouterToolkitsOptions, n as CreateCustomToolBaseSchema, na as ToolListParams, ni as Oauth1ExpiredConnectionData, nn as ConnectedAccountListResponse, nr as MCPGetServerParamsSchema, nt as ToolRouterSessionProxyExecuteResponse, o as CustomTool, oa as ToolProxyParams, oi as Oauth1InactiveConnectionData, on as ConnectedAccountRefreshOptionsSchema, or as MCPServer, ot as ToolRouterSessionUpdateFn, p as CustomToolkitDefinition, pa as ToolkitSchema, pi as Oauth2ActiveConnectionDataSchema, pn as ConnectedAccountType, pr as MCPServerUpdateParamsSchema, pt as ToolRouterToolkitsFn, q as ToolRouterSessionDeleteResponse, qi as SchemaModifierOptions, qn as GenerateURLResponse, qr as CustomConnectionDataSchema, qt as ConnectedAccountAclConfigSchema, r as CreateCustomToolParams, ra as ToolListParamsSchema, ri as Oauth1ExpiredConnectionDataSchema, rn as ConnectedAccountListResponseItem, rr as MCPInstanceParams, rt as ToolRouterSessionSearchFn, s as CustomToolDefinition, sa as ToolProxyParamsSchema, si as Oauth1InactiveConnectionDataSchema, sn as ConnectedAccountRetrieveResponse, sr as MCPServerCreateResponse, st as ToolRouterSessionWarning, t as AnyZodSchema, ta as ToolList, ti as Oauth1ConnectionDataSchema, tn as ConnectedAccountListParamsSchema, tr as MCPGetServerParams, tt as ToolRouterSessionProxyExecuteFn, u as CustomToolSlugSchema, ua as Toolkit, ui as Oauth1InitiatingConnectionData, un as ConnectedAccountStatusEnum, ur as MCPServerListResponseSchema, ut as ToolRouterTagsParamSchema, v as InferZodSchema, va as ToolkitVersions, vi as Oauth2FailedConnectionData, vn as CreateConnectedAccountLinkResponse, vr as MCPToolkitConfigsArraySchema, vt as ToolRouterToolsParam, w as MCPServerTypeSchema, wi as Oauth2InitiatingConnectionData, wn as CreateConnectedAccountResponse, wr as McpRetrieveResponseSchema, wt as ToolkitConnectionsDetails, x as RegisteredCustomToolkit, xi as Oauth2InactiveConnectionDataSchema, xn as CreateConnectedAccountOptionsSchema, xr as McpListResponse, xt as ToolRouterUpdateSessionConfigSchema, y as InlineCustomToolsWirePayload, ya as ToolkitVersionsSchema, yi as Oauth2FailedConnectionDataSchema, yn as CreateConnectedAccountLinkResponseSchema, yr as McpDeleteResponse, yt as ToolRouterToolsParamSchema, z as ToolRouterCreateSessionConfig, zi as afterExecuteModifier, zn as ComposioMcpRetrieveResponseSchema, zr as ToolCallSession, zt as ToolRouterSessionFilesMountUploadOptions } from "./customTool.types-B6ej_8XZ.mjs";
|
|
2
|
-
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-
|
|
3
|
-
import { $ as
|
|
1
|
+
import { $ as ToolRouterSessionEnsureConnectedOptions, $i as BeforeFileUploadSource, $n as UpdateConnectedAccountParamsSchema, $r as McpUpdateResponseSchema, $t as ToolRouterSessionFilesMountListOptionsSchema, A as SessionProxyExecuteParams, Aa as ToolProxyParamsSchema, Ai as Oauth1InactiveConnectionDataSchema, An as ConnectedAccountRevokedToken, Ar as MCPServerCreateResponse, At as ToolRouterToolsParamSchema, B as ToolRouterCreateSessionConfigSchema, Ba as ToolkitVersionSchema, Bi as Oauth2ExpiredConnectionDataSchema, Bn as CreateConnectedAccountLinkOptionsSchema, Br as MCPToolkitConfigSchema, Bt as ToolkitConnectionsDetailsSchema, C as MCPServerType, Ca as ToolExecuteResponseSchema, Ci as Oauth1ConnectionData, Cn as ConnectedAccountListResponseSchema, Cr as MCPGenerateURLParamsSchema, Ct as ToolRouterToolkitsEnabledConfigSchema, D as Session, Da as ToolListResponse, Di as Oauth1FailedConnectionData, Dn as ConnectedAccountRetrieveResponseSchema, Dr as MCPMultiAppServer, Dt as ToolRouterToolkitsParamSchema, E as SandboxSizeSchema, Ea as ToolListParamsSchema, Ei as Oauth1ExpiredConnectionDataSchema, En as ConnectedAccountRetrieveResponse, Er as MCPInstanceParams, Et as ToolRouterToolkitsOptionsSchema, F as ToolRouterConfigTags, Fa as ToolkitLatestVersionSchema, Fi as Oauth2ActiveConnectionData, Fn as ConnectedAccountStatuses, Fr as MCPServerUpdateParams, Ft as ToolRouterUpdateSessionConfig, G as ToolRouterSandboxConfigSchema, Gi as Oauth2InitiatedConnectionData, Gn as CreateConnectedAccountParams, Gr as McpListResponseSchema, Gt as FileListResponseSchema, H as ToolRouterMCPServerConfigSchema, Ha as ToolkitVersionsSchema, Hi as Oauth2FailedConnectionDataSchema, Hn as CreateConnectedAccountLinkResponseSchema, Hr as McpDeleteResponse, Ht as FileDeleteResponse, I as ToolRouterConfigTagsSchema, Ia as ToolkitSchema, Ii as Oauth2ActiveConnectionDataSchema, In as ConnectedAccountType, Ir as MCPServerUpdateParamsSchema, It as ToolRouterUpdateSessionConfigSchema, J as ToolRouterSessionConfigHistoryItem, Ji as Oauth2InitiatingConnectionDataSchema, Jn as CreateConnectedAccountResponseSchema, Jr as McpServerCreateResponse, Jt as ToolRouterSessionFilesMountDeleteOptions, K as ToolRouterSessionConfig, Ki as Oauth2InitiatedConnectionDataSchema, Kn as CreateConnectedAccountParamsSchema, Kr as McpRetrieveResponse, Kt as RemoteFileData, L as ToolRouterConfigTools, La as ToolkitVersion, Li as Oauth2ConnectionData, Ln as ConnectedAccountTypeSchema, Lr as MCPSingleAppServer, Lt as ToolkitConnectionState, M as SessionWithoutMcp, Ma as ToolSchema, Mi as Oauth1InitiatedConnectionDataSchema, Mn as ConnectedAccountStatus, Mr as MCPServerListResponse, Mt as ToolRouterUpdateExperimentalSchema, N as ToolRouterAuthorizeFn, Na as Toolkit, Ni as Oauth1InitiatingConnectionData, Nn as ConnectedAccountStatusEnum, Nr as MCPServerListResponseSchema, Nt as ToolRouterUpdateManageConnectionsConfig, O as SessionExperimental, Oa as ToolListResponseSchema, Oi as Oauth1FailedConnectionDataSchema, On as ConnectedAccountRevokeResponse, Or as MCPMultiAppServerSchema, Ot as ToolRouterToolsFn, P as ToolRouterConfigManageConnectionsSchema, Pa as ToolkitLatestVersion, Pi as Oauth1InitiatingConnectionDataSchema, Pn as ConnectedAccountStatusSchema, Pr as MCPServerSchema, Pt as ToolRouterUpdateManageConnectionsSchema, Q as ToolRouterSessionEnsureConnectedFn, Qi as AgenticToolOptions, Qn as UpdateConnectedAccountParams, Qr as McpUpdateResponse, Qt as ToolRouterSessionFilesMountListOptions, R as ToolRouterConfigToolsSchema, Ra as ToolkitVersionParam, Ri as Oauth2ConnectionDataSchema, Rn as ConnectedAccountTypes, Rr as MCPSingleAppServerSchema, Rt as ToolkitConnectionStateSchema, S as SessionContext, Sa as ToolExecuteResponse, Si as Oauth1ActiveConnectionDataSchema, Sn as ConnectedAccountListResponseItem, Sr as MCPGenerateURLParams, St as ToolRouterToolkitsDisabledConfigSchema, T as SandboxSize, Ta as ToolListParams, Ti as Oauth1ExpiredConnectionData, Tn as ConnectedAccountRefreshOptionsSchema, Tr as MCPGetServerParamsSchema, Tt as ToolRouterToolkitsOptions, U as ToolRouterManageConnectionsConfigSchema, Ui as Oauth2InactiveConnectionData, Un as CreateConnectedAccountOptions, Ur as McpDeleteResponseSchema, Ut as FileDeleteResponseSchema, V as ToolRouterMCPServerConfig, Va as ToolkitVersions, Vi as Oauth2FailedConnectionData, Vn as CreateConnectedAccountLinkResponse, Vr as MCPToolkitConfigsArraySchema, Vt as RemoteFile, W as ToolRouterSandboxConfig, Wi as Oauth2InactiveConnectionDataSchema, Wn as CreateConnectedAccountOptionsSchema, Wr as McpListResponse, Wt as FileListResponse, X as ToolRouterSessionDeleteResponse, Xi as Oauth2RevokedConnectionDataSchema, Xn as UpdateConnectedAccountAclParams, Xr as McpServerUrlInfo, Xt as ToolRouterSessionFilesMountDownloadOptions, Y as ToolRouterSessionDeleteFn, Yi as Oauth2RevokedConnectionData, Yn as DefaultCreateConnectedAccountParamsSchema, Yr as McpServerGetResponse, Yt as ToolRouterSessionFilesMountDeleteOptionsSchema, Z as ToolRouterSessionDeleteResponseSchema, Zi as RedirectableAuthSchemeSchema, Zn as UpdateConnectedAccountAclParamsSchema, Zr as McpToolkitConnectionStatus, Zt as ToolRouterSessionFilesMountDownloadOptionsSchema, _ as CustomToolsMapEntry, _a as Tool, _i as CustomOauth1ConnectionData, _n as ConnectedAccountExperimentalResponseSchema, _r as GenerateURLResponseSchema, _t as ToolRouterSessionUpdateFn, a as CreateCustomToolkitParams, aa as ToolOptions, ai as GlobalExecuteToolFn, an as ConnectedAccountAclConfig, ar as ComposioGenerateURLResponseSchema, at as ToolRouterSessionExecuteResponseSchema, b as RegisteredCustomTool, ba as ToolExecuteParams, bi as CustomOauth2ConnectionDataSchema, bn as ConnectedAccountListParamsSchema, br as MCPAuthOptionsSchema, bt as ToolRouterTagsEnableDisableSchema, c as CustomToolExecuteFn, ca as afterExecuteModifier, ci as ToolCallSession, cn as ConnectedAccountAclConfigSchema, cr as ComposioMcpRetrieveResponseSchema, ct as ToolRouterSessionListConfigHistoryOptionsSchema, d as CustomToolWireDefinition, da as beforeFileUploadModifier, di as ConnectionData, dn as ConnectedAccountCompleteAuthParams, dr as CustomCreateResponse, dt as ToolRouterSessionPreloadConfig, ea as ExecuteToolModifiers, ei as McpUrlResponse, en as ToolRouterSessionFilesMountUploadOptions, er as BaseAgenticProvider, et as ToolRouterSessionEnsureConnectedOptionsSchema, f as CustomToolkit, fa as CustomAuthParams, fi as ConnectionDataSchema, fn as ConnectedAccountCompleteAuthParamsSchema, fr as CustomCreateResponseSchema, ft as ToolRouterSessionProxyExecuteFn, g as CustomToolsMap, ga as SchemaModifierOptions, gi as CustomConnectionDataSchema, gn as ConnectedAccountExperimentalResponse, gr as GenerateURLResponse, gt as ToolRouterSessionSearchResponseSchema, h as CustomToolkitWireDefinition, ha as JSONSchemaPropertySchema, hi as CustomConnectionData, hn as ConnectedAccountExperimental, hr as GenerateURLParamsSchema, ht as ToolRouterSessionSearchResponse, i as CreateCustomToolkitBaseSchema, ia as SessionMetaToolOptions, ii as ExecuteToolFnOptions, in as ConnectionRequestState, ir as ComposioGenerateURLParamsSchema, it as ToolRouterSessionExecuteResponse, j as SessionProxyExecuteParamsSchema, ja as ToolRetrievalOptions, ji as Oauth1InitiatedConnectionData, jn as ConnectedAccountRevokedTokenSchema, jr as MCPServerCreateResponseSchema, jt as ToolRouterUpdateExperimentalConfig, k as SessionPreset, ka as ToolProxyParams, ki as Oauth1InactiveConnectionData, kn as ConnectedAccountRevokeResponseSchema, kr as MCPServer, kt as ToolRouterToolsParam, l as CustomToolResponse, la as beforeExecuteMetaModifier, li as BaseConnectionFields, ln as ConnectedAccountAuthConfig, lr as ComposioMcpUpdateResponseSchema, lt as ToolRouterSessionListConfigHistoryResponse, m as CustomToolkitResponse, ma as JSONSchemaProperty, mi as ConnectionStatuses, mn as ConnectedAccountCompleteAuthResponseSchema, mr as GenerateURLParams, mt as ToolRouterSessionSearchFn, n as CreateCustomToolBaseSchema, na as ProviderOptions, ni as McpUserConnectionStatus, nn as ComposioRequestOptions, nr as BaseNonAgenticProvider, nt as ToolRouterSessionExecuteFn, o as CustomTool, oa as TransformToolSchemaModifier, oi as Provider, on as ConnectedAccountAclConfigResponse, or as ComposioMcpDeleteResponseSchema, ot as ToolRouterSessionListConfigHistoryFn, p as CustomToolkitDefinition, pa as CustomAuthParamsSchema, pi as ConnectionStatusEnum, pn as ConnectedAccountCompleteAuthResponse, pr as CustomCreateResponseValidated, pt as ToolRouterSessionProxyExecuteResponse, q as ToolRouterSessionConfigHistoryConfig, qi as Oauth2InitiatingConnectionData, qn as CreateConnectedAccountResponse, qr as McpRetrieveResponseSchema, qt as RemoteFileDataSchema, r as CreateCustomToolParams, ra as SessionExecuteMetaModifiers, ri as ExecuteToolFn, rn as ConnectionRequest, rr as ComposioCustomCreateResponseSchema, rt as ToolRouterSessionExecuteOptions, s as CustomToolDefinition, sa as afterExecuteMetaModifier, si as ToolCallExecutionTarget, sn as ConnectedAccountAclConfigResponseSchema, sr as ComposioMcpListResponseSchema, st as ToolRouterSessionListConfigHistoryOptions, t as AnyZodSchema, ta as MetaToolArguments, ti as McpUrlResponseCamelCase, tn as ToolRouterSessionFilesMountUploadOptionsSchema, tr as BaseComposioProvider, tt as ToolRouterSessionEnsureConnectedResult, u as CustomToolSlugSchema, ua as beforeExecuteModifier, ui as BillcomAuthConnectionDataSchema, un as ConnectedAccountAuthConfigSchema, ur as ConnectionStatus, ut as ToolRouterSessionMetadata, v as InferZodSchema, va as ToolExecuteMetaParams, vi as CustomOauth1ConnectionDataSchema, vn as ConnectedAccountExperimentalSchema, vr as GenerateURLResponseValidated, vt as ToolRouterSessionWarning, w as MCPServerTypeSchema, wa as ToolList, wi as Oauth1ConnectionDataSchema, wn as ConnectedAccountRefreshOptions, wr as MCPGetServerParams, wt as ToolRouterToolkitsFn, x as RegisteredCustomToolkit, xa as ToolExecuteParamsSchema, xi as Oauth1ActiveConnectionData, xn as ConnectedAccountListResponse, xr as MCPCreateMethodResponse, xt as ToolRouterTagsParamSchema, y as InlineCustomToolsWirePayload, ya as ToolExecuteMetaParamsSchema, yi as CustomOauth2ConnectionData, yn as ConnectedAccountListParams, yr as MCPAuthOptions, yt as ToolRouterSessionWorkbenchConfig, z as ToolRouterCreateSessionConfig, za as ToolkitVersionParamSchema, zi as Oauth2ExpiredConnectionData, zn as CreateConnectedAccountLinkOptions, zr as MCPToolkitConfig, zt as ToolkitConnectionsDetails } from "./customTool.types-C436M_D0.mjs";
|
|
2
|
+
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-B3m-188G.mjs";
|
|
3
|
+
import { $ as WebhookSubscriptionEventTypeSchema, $n as AuthConfigToolAccessConfigSchema, $r as ToolkitRetrieveResponseSchema, $t as TriggerEvent, A as ToolExecutionLogParentSchema, An as VerifyWebhookParamsSchema, Ar as ToolkitChangelogItemSchema, At as UsageBreakdownGroup, B as WebhookEndpointListItemSchema, Bn as WebhookRequestLike, Br as ToolkitListGrantContextsParamsSchema, Bt as UsageOrderBySchema, C as LogSearchResponseSchema, Cn as TriggerTypeSchema, Cr as ToolkitAuthField, Ct as CustomToolkitSyncResponse, D as ToolExecutionLogDetail, Dn as TriggersTypeListResponseSchema, Dr as ToolkitCategory, Dt as CustomToolkitUpsertResponse, E as ToolExecutionLog, En as TriggersTypeListResponse, Er as ToolkitAuthFieldsResponseSchema, Et as CustomToolkitUpsertParamsSchema, F as Webhooks, Fn as WebhookPayloadV1Schema, Fr as ToolkitGetManyParams, Ft as UsageBreakdownResponseSchema, G as WebhookEndpointReplaceParams, Gn as WebhookVersions, Gr as ToolkitMangedByEnumSchema, Gt as UsageSummaryResponseSchema, H as WebhookEndpointListParamsSchema, Hn as WebhookTriggerPayloadV3, Hr as ToolkitListGrantContextsResponseSchema, Ht as UsageSummaryParams, I as WebhookEndpoint, In as WebhookPayloadV2, Ir as ToolkitGetManySlugsSchema, It as UsageEntitySummary, J as WebhookEndpointUpdateParams, Jn as AuthConfigListParamsSchema, Jr as ToolkitRecommendScopesResponse, Jt as IncomingTriggerPayloadSchema, K as WebhookEndpointReplaceParamsSchema, Kn as AuthConfigCreationToolAccessConfigSchema, Kr as ToolkitRecommendScopesParams, Kt as DefaultWebhookSubscriptionEvents, L as WebhookEndpointCreateParams, Ln as WebhookPayloadV2Schema, Lr as ToolkitGrantContextDimension, Lt as UsageEntitySummarySchema, M as ToolExecutionLogStatusSchema, Mn as WebhookPayload, Mr as ToolkitChangelogResponseSchema, Mt as UsageBreakdownParams, N as WebhookEndpoints, Nn as WebhookPayloadSchema, Nr as ToolkitConditionalScope, Nt as UsageBreakdownParamsSchema, O as ToolExecutionLogDetailSchema, On as TriggersTypeRetrieveResponse, Or as ToolkitCategorySchema, Ot as CustomToolkitUpsertResponseSchema, P as WebhookSubscriptions, Pn as WebhookPayloadV1, Pr as ToolkitConditionalScopeSchema, Pt as UsageBreakdownResponse, Q as WebhookSubscriptionEventType, Qn as AuthConfigRetrieveResponseSchema, Qr as ToolkitRetrieveResponse, Qt as TriggerData, R as WebhookEndpointCreateParamsSchema, Rn as WebhookPayloadV3, Rr as ToolkitGrantContextDimensionSchema, Rt as UsageFilters, S as LogSearchResponse, Sn as TriggerType, Sr as ToolkitAuthConfigDetailsSchema, St as CustomToolkitSyncParamsSchema, T as LogSearchTimeRangeSchema, Tn as TriggersTypeListParamsSchema, Tr as ToolkitAuthFieldsResponse, Tt as CustomToolkitUpsertParams, U as WebhookEndpointListResponse, Un as WebhookTriggerPayloadV3Schema, Ur as ToolkitListParams, Ut as UsageSummaryParamsSchema, V as WebhookEndpointListParams, Vn as WebhookSubscription, Vr as ToolkitListGrantContextsResponse, Vt as UsageOrderDirectionSchema, W as WebhookEndpointListResponseSchema, Wn as WebhookVersion, Wr as ToolkitMangedByEnum, Wt as UsageSummaryResponse, X as WebhookSubscriptionDeleteResponse, Xn as AuthConfigListResponseSchema, Xr as ToolkitRetrieveCategoriesResponse, Xt as SetWebhookSubscriptionParams, Y as WebhookEndpointUpdateParamsSchema, Yn as AuthConfigListResponse, Yr as ToolkitRecommendScopesResponseSchema, Yt as ParseWebhookOptions, Z as WebhookSubscriptionDeleteResponseSchema, Zn as AuthConfigRetrieveResponse, Zr as ToolkitRetrieveCategoriesResponseSchema, Zt as SetWebhookSubscriptionParamsSchema, _ as LogSearchFilterOperator, _n as TriggerStatusEnum, _r as ToolKitListResponse, _t as CustomToolkitAuthScheme, a as ComposioLogger, ai as ToolkitsListParamsSchema, an as TriggerInstanceListActiveResponseItemSchema, ar as AuthDefaultConfigUpdateParamsSchema, at as WebhookSubscriptionListResponseSchema, b as LogSearchParams, bn as TriggerSubscribeParamSchema, br as ToolKitMetaSchema, bt as CustomToolkitDeleteResponseSchema, c as Keyring, cn as TriggerInstanceManageDeleteResponseSchema, cr as AuthSchemeTypes, ct as WebhookSubscriptionSchema, d as KeyringTransferKeysResponse, dn as TriggerInstanceManageUpdateResponse, dr as CreateAuthConfigResponse, dt as WebhookSubscriptionUpdateParams, ei as ToolkitSortByEnum, en as TriggerEventData, er as AuthConfigType, et as WebhookSubscriptionEventTypesResponse, f as KeyringTransferKeysResponseSchema, fn as TriggerInstanceManageUpdateResponseSchema, fr as CreateAuthConfigResponseSchema, ft as WebhookSubscriptionUpdateParamsSchema, g as LogSearchFilterFieldSchema, gn as TriggerInstanceUpsertResponseSchema, gr as ToolKitItemSchema, gt as CustomToolkits, h as LogSearchFilterField, hn as TriggerInstanceUpsertResponse, hr as ToolKitItem, ht as Experimental, i as OpenAIProvider, ii as ToolkitsGetManyParamsSchema, in as TriggerInstanceListActiveResponseItem, ir as AuthCustomConfigUpdateParamsSchema, it as WebhookSubscriptionListResponse, j as ToolExecutionLogSchema, jn as VerifyWebhookResult, jr as ToolkitChangelogResponse, jt as UsageBreakdownGroupSchema, k as ToolExecutionLogLevelSchema, kn as VerifyWebhookParams, kr as ToolkitChangelogItem, kt as Usage, l as KeyringTransferKey, ln as TriggerInstanceManageUpdateParams, lr as CreateAuthConfigParams, lt as WebhookSubscriptionSetParams, m as LogSearchFilter, mn as TriggerInstanceUpsertParamsSchema, mr as CreateCustomAuthConfigParamsSchema, mt as MCP, n as ComposioConfig, ni as ToolkitVersionChangelog, nn as TriggerInstanceListActiveParamsSchema, nr as AuthConfigUpdateParams, nt as WebhookSubscriptionListParams, o as LogLevel, on as TriggerInstanceListActiveResponseSchema, or as AuthSchemeEnum, ot as WebhookSubscriptionRotateSecretResponse, p as Logs, pn as TriggerInstanceUpsertParams, pr as CreateComposioManagedAuthConfigParamsSchema, pt as WebhookVersionSchema, q as WebhookEndpointSchema, qn as AuthConfigListParams, qr as ToolkitRecommendScopesParamsSchema, qt as IncomingTriggerPayload, r as Sessions, ri as ToolkitVersionChangelogSchema, rn as TriggerInstanceListActiveResponse, rr as AuthConfigUpdateParamsSchema, rt as WebhookSubscriptionListParamsSchema, s as logger, sn as TriggerInstanceManageDeleteResponse, sr as AuthSchemeType, st as WebhookSubscriptionRotateSecretResponseSchema, t as Composio, ti as ToolkitSortByEnumSchema, tn as TriggerInstanceListActiveParams, tr as AuthConfigTypes, tt as WebhookSubscriptionEventTypesResponseSchema, u as KeyringTransferKeySchema, un as TriggerInstanceManageUpdateParamsSchema, ur as CreateAuthConfigParamsSchema, ut as WebhookSubscriptionSetParamsSchema, v as LogSearchFilterOperatorSchema, vn as TriggerStatusType, vr as ToolKitListResponseSchema, vt as CustomToolkitAuthSchemeSchema, w as LogSearchTimeRange, wn as TriggersTypeListParams, wr as ToolkitAuthFieldSchema, wt as CustomToolkitSyncResponseSchema, x as LogSearchParamsSchema, xn as TriggerSubscribeParams, xr as ToolkitAuthConfigDetails, xt as CustomToolkitSyncParams, y as LogSearchFilterSchema, yn as TriggerStatuses, yr as ToolKitMeta, yt as CustomToolkitDeleteResponse, z as WebhookEndpointListItem, zn as WebhookPayloadV3Schema, zr as ToolkitListGrantContextsParams, zt as UsageFiltersSchema } from "./composio-B36OXii1.mjs";
|
|
4
4
|
import { n as FileUploadData, t as FileDownloadData } from "./files.types-DeMC_mAW.mjs";
|
|
5
5
|
import ComposioClient, { Composio as Composio$1 } from "@composio/client";
|
|
6
6
|
import { z as z$1 } from "zod/v3";
|
|
@@ -14,7 +14,7 @@ import { z as z$1 } from "zod/v3";
|
|
|
14
14
|
interface CustomTool$1 {
|
|
15
15
|
name: string;
|
|
16
16
|
}
|
|
17
|
-
declare class ComposioProvider extends BaseNonAgenticProvider<Array<CustomTool$1>, CustomTool$1> {
|
|
17
|
+
export declare class ComposioProvider extends BaseNonAgenticProvider<Array<CustomTool$1>, CustomTool$1> {
|
|
18
18
|
readonly name = "ComposioProvider";
|
|
19
19
|
constructor();
|
|
20
20
|
wrapTool: (tool: Tool) => CustomTool$1;
|
|
@@ -74,7 +74,7 @@ interface DereferenceJsonSchemaOptions {
|
|
|
74
74
|
* @throws {JsonSchemaRefResolutionError} on malformed pointers, missing
|
|
75
75
|
* targets (strict mode only), or chains past the depth cap (both modes).
|
|
76
76
|
*/
|
|
77
|
-
declare function dereferenceJsonSchema<T = unknown>(schema: T, options?: DereferenceJsonSchemaOptions): T;
|
|
77
|
+
export declare function dereferenceJsonSchema<T = unknown>(schema: T, options?: DereferenceJsonSchemaOptions): T;
|
|
78
78
|
/**
|
|
79
79
|
* Returns a deep-cloned JSON Schema in which every node that carries a
|
|
80
80
|
* `properties` keyword also carries `type: "object"` when it has no explicit
|
|
@@ -86,7 +86,7 @@ declare function dereferenceJsonSchema<T = unknown>(schema: T, options?: Derefer
|
|
|
86
86
|
* property maps and instance values as containers. Nodes that already declare
|
|
87
87
|
* a `type` are left untouched.
|
|
88
88
|
*/
|
|
89
|
-
declare function ensureObjectTypeOnProperties<T = unknown>(schema: T): T;
|
|
89
|
+
export declare function ensureObjectTypeOnProperties<T = unknown>(schema: T): T;
|
|
90
90
|
/**
|
|
91
91
|
* Returns a deep-cloned JSON Schema whose `required` arrays contain each entry
|
|
92
92
|
* at most once. Duplicate entries are invalid in JSON Schema 2020-12 but do
|
|
@@ -97,7 +97,7 @@ declare function ensureObjectTypeOnProperties<T = unknown>(schema: T): T;
|
|
|
97
97
|
* canonical API schemas, while providers that further transform a schema can
|
|
98
98
|
* reapply it at their own emission boundary.
|
|
99
99
|
*/
|
|
100
|
-
declare function deduplicateJsonSchemaRequiredArrays<T = unknown>(schema: T): T;
|
|
100
|
+
export declare function deduplicateJsonSchemaRequiredArrays<T = unknown>(schema: T): T;
|
|
101
101
|
/**
|
|
102
102
|
* Removes all non-required properties from the schema
|
|
103
103
|
*
|
|
@@ -105,7 +105,7 @@ declare function deduplicateJsonSchemaRequiredArrays<T = unknown>(schema: T): T;
|
|
|
105
105
|
* @param schema - The JSON schema to remove non-required properties from
|
|
106
106
|
* @returns The JSON schema with all non-required properties removed
|
|
107
107
|
*/
|
|
108
|
-
declare const removeNonRequiredProperties: <T extends {
|
|
108
|
+
export declare const removeNonRequiredProperties: <T extends {
|
|
109
109
|
type: "object";
|
|
110
110
|
properties: Record<string, unknown>;
|
|
111
111
|
required?: string[];
|
|
@@ -150,7 +150,7 @@ declare const removeNonRequiredProperties: <T extends {
|
|
|
150
150
|
* // })
|
|
151
151
|
* ```
|
|
152
152
|
*/
|
|
153
|
-
declare function jsonSchemaToZodSchema<T extends z$1.ZodTypeAny>(jsonSchema: Record<string, unknown>, { strict }?: {
|
|
153
|
+
export declare function jsonSchemaToZodSchema<T extends z$1.ZodTypeAny>(jsonSchema: Record<string, unknown>, { strict }?: {
|
|
154
154
|
strict?: boolean;
|
|
155
155
|
}): T;
|
|
156
156
|
/**
|
|
@@ -233,7 +233,7 @@ interface StrictJsonSchemaResult {
|
|
|
233
233
|
* at 50 entries; `totalChanges` carries the real count), and `required`
|
|
234
234
|
* arrays are de-duplicated at the end.
|
|
235
235
|
*/
|
|
236
|
-
declare function toStrictJsonSchema(schema: unknown): StrictJsonSchemaResult;
|
|
236
|
+
export declare function toStrictJsonSchema(schema: unknown): StrictJsonSchemaResult;
|
|
237
237
|
/**
|
|
238
238
|
* Drops `null`-valued arguments that the tool's own schema does not accept,
|
|
239
239
|
* recursively through nested objects and arrays.
|
|
@@ -250,14 +250,14 @@ declare function toStrictJsonSchema(schema: unknown): StrictJsonSchemaResult;
|
|
|
250
250
|
* produced for (`StrictJsonSchemaResult.source`).
|
|
251
251
|
* @returns A new object; the input is not mutated.
|
|
252
252
|
*/
|
|
253
|
-
declare function omitNullToolArguments(args: Record<string, unknown>, schema: unknown): Record<string, unknown>;
|
|
253
|
+
export declare function omitNullToolArguments(args: Record<string, unknown>, schema: unknown): Record<string, unknown>;
|
|
254
254
|
//#endregion
|
|
255
255
|
//#region src/utils/mime.d.ts
|
|
256
256
|
/**
|
|
257
257
|
* Maps MIME types to file extensions.
|
|
258
258
|
* Used when deriving filenames from content-type headers (e.g. for URLs without path segments).
|
|
259
259
|
*/
|
|
260
|
-
declare function getExtensionFromMimeType(mimeType: string): string;
|
|
260
|
+
export declare function getExtensionFromMimeType(mimeType: string): string;
|
|
261
261
|
//#endregion
|
|
262
262
|
//#region src/utils/toolArguments.d.ts
|
|
263
263
|
/**
|
|
@@ -276,7 +276,7 @@ declare function getExtensionFromMimeType(mimeType: string): string;
|
|
|
276
276
|
* @param toolSlug - Optional tool slug, used to enrich the error message.
|
|
277
277
|
* @returns The normalized arguments as a `Record<string, unknown>`.
|
|
278
278
|
*/
|
|
279
|
-
declare function normalizeToolArguments(input: unknown, toolSlug?: string): Record<string, unknown>;
|
|
279
|
+
export declare function normalizeToolArguments(input: unknown, toolSlug?: string): Record<string, unknown>;
|
|
280
280
|
//#endregion
|
|
281
281
|
//#region src/utils/sensitiveFileUploadPaths.d.ts
|
|
282
282
|
/**
|
|
@@ -284,20 +284,31 @@ declare function normalizeToolArguments(input: unknown, toolSlug?: string): Reco
|
|
|
284
284
|
* they appear anywhere in a resolved local path. Matching follows the case sensitivity
|
|
285
285
|
* of the filesystem containing that path.
|
|
286
286
|
*/
|
|
287
|
-
declare const BUILTIN_FILE_UPLOAD_PATH_DENY_SEGMENTS: readonly string[];
|
|
287
|
+
export declare const BUILTIN_FILE_UPLOAD_PATH_DENY_SEGMENTS: readonly string[];
|
|
288
288
|
/**
|
|
289
289
|
* True if the path is under a built-in or extra deny segment, or the basename
|
|
290
290
|
* looks like an env / netrc / default SSH private key name.
|
|
291
291
|
*/
|
|
292
|
-
declare function isBlockedSensitiveFileUploadPath(filePath: string, additionalDenySegments?: string[]): boolean;
|
|
292
|
+
export declare function isBlockedSensitiveFileUploadPath(filePath: string, additionalDenySegments?: string[]): boolean;
|
|
293
293
|
/**
|
|
294
294
|
* @throws {ComposioSensitiveFilePathBlockedError} if the path is not allowed
|
|
295
295
|
*/
|
|
296
|
-
declare function assertSafeFileUploadPath(filePath: string, options?: {
|
|
296
|
+
export declare function assertSafeFileUploadPath(filePath: string, options?: {
|
|
297
297
|
additionalDenySegments?: string[];
|
|
298
298
|
remediation?: string;
|
|
299
299
|
}): void;
|
|
300
300
|
//#endregion
|
|
301
|
+
//#region src/utils/readResponseBody.d.ts
|
|
302
|
+
/** Maximum size accepted for files fetched from user-supplied URLs (100 MiB). */
|
|
303
|
+
export declare const MAX_URL_UPLOAD_SIZE_BYTES: number;
|
|
304
|
+
/**
|
|
305
|
+
* Read a fetch response without allowing an untrusted server to exhaust memory.
|
|
306
|
+
*
|
|
307
|
+
* `Content-Length` is checked as an early rejection, but the streamed byte
|
|
308
|
+
* count is authoritative because the header can be absent or dishonest.
|
|
309
|
+
*/
|
|
310
|
+
export declare const readResponseBodyWithLimit: (response: Response, maxBytes?: number) => Promise<Uint8Array>;
|
|
311
|
+
//#endregion
|
|
301
312
|
//#region src/utils/schemaPropertyKeys.d.ts
|
|
302
313
|
/**
|
|
303
314
|
* JSON-schema property-key sanitization.
|
|
@@ -370,7 +381,7 @@ interface KeyMapping {
|
|
|
370
381
|
restItems?: KeyMapping;
|
|
371
382
|
}
|
|
372
383
|
/** Whether a mapping (or any of its descendants) actually renames a key. */
|
|
373
|
-
declare function mappingHasRenames(mapping: KeyMapping): boolean;
|
|
384
|
+
export declare function mappingHasRenames(mapping: KeyMapping): boolean;
|
|
374
385
|
/**
|
|
375
386
|
* Sanitizes a tool `input_schema` so all property keys conform to `policy`.
|
|
376
387
|
*
|
|
@@ -381,7 +392,7 @@ declare function mappingHasRenames(mapping: KeyMapping): boolean;
|
|
|
381
392
|
* the original keys. Use {@link mappingHasRenames} to tell whether
|
|
382
393
|
* anything was rewritten.
|
|
383
394
|
*/
|
|
384
|
-
declare function sanitizeSchemaPropertyKeys<T extends Record<string, unknown>>(schema: T, policy: KeySanitizationPolicy): {
|
|
395
|
+
export declare function sanitizeSchemaPropertyKeys<T extends Record<string, unknown>>(schema: T, policy: KeySanitizationPolicy): {
|
|
385
396
|
schema: T;
|
|
386
397
|
mapping: KeyMapping;
|
|
387
398
|
};
|
|
@@ -392,10 +403,10 @@ declare function sanitizeSchemaPropertyKeys<T extends Record<string, unknown>>(s
|
|
|
392
403
|
* its alias was actually generated. Nested objects and arrays are handled
|
|
393
404
|
* recursively. Returns a new value; the input is not mutated.
|
|
394
405
|
*/
|
|
395
|
-
declare function restoreOriginalKeys(value: unknown, mapping: KeyMapping, depth?: number): unknown;
|
|
406
|
+
export declare function restoreOriginalKeys(value: unknown, mapping: KeyMapping, depth?: number): unknown;
|
|
396
407
|
//#endregion
|
|
397
408
|
//#region src/models/AuthScheme.d.ts
|
|
398
|
-
declare class AuthScheme {
|
|
409
|
+
export declare class AuthScheme {
|
|
399
410
|
/**
|
|
400
411
|
* Creates a ConnectionData object for OAuth2 authentication.
|
|
401
412
|
* When `access_token` is provided, status defaults to ACTIVE (token import).
|
|
@@ -517,7 +528,7 @@ declare class AuthScheme {
|
|
|
517
528
|
* @returns {ConnectionRequestState & { waitForConnection: (timeout?: number) => Promise<ConnectedAccountRetrieveResponse> }}
|
|
518
529
|
* Connection request object with state and methods
|
|
519
530
|
*/
|
|
520
|
-
declare function createConnectionRequest(client: ComposioClient, connectedAccountId: string, status?: ConnectedAccountStatus, redirectUrl?: string | null): ConnectionRequest;
|
|
531
|
+
export declare function createConnectionRequest(client: ComposioClient, connectedAccountId: string, status?: ConnectedAccountStatus, redirectUrl?: string | null): ConnectionRequest;
|
|
521
532
|
//#endregion
|
|
522
533
|
//#region src/models/ToolRouterSession.d.ts
|
|
523
534
|
/**
|
|
@@ -533,25 +544,36 @@ declare function createConnectionRequest(client: ComposioClient, connectedAccoun
|
|
|
533
544
|
*
|
|
534
545
|
* @see {@link Sessions} for the `composio.sessions` factory.
|
|
535
546
|
*/
|
|
536
|
-
declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
|
|
547
|
+
export declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
|
|
537
548
|
private readonly client;
|
|
538
|
-
private readonly
|
|
549
|
+
private readonly sdkConfig;
|
|
539
550
|
private readonly customToolsMap?;
|
|
540
551
|
private readonly userId?;
|
|
541
552
|
readonly sessionId: string;
|
|
542
553
|
/** Hosted MCP endpoint (`session.mcp.url` / `session.mcp.headers`). Exists on every session at runtime, but only surfaced in the type when the session is created with `{ mcp: true }` (which returns `Session`); the default `SessionWithoutMcp` omits `mcp`, so MCP is an explicit opt-in. See https://docs.composio.dev/docs/sessions-via-mcp */
|
|
543
554
|
readonly mcp: ToolRouterMCPServerConfig;
|
|
544
555
|
readonly experimental: SessionExperimental;
|
|
556
|
+
/**
|
|
557
|
+
* Server-side session configuration (toolkit/tool allowlists, tags, preload,
|
|
558
|
+
* sandbox, manage_connections) as returned by the API. Refreshed in place by
|
|
559
|
+
* `update()`.
|
|
560
|
+
*/
|
|
561
|
+
config: ToolRouterSessionConfig;
|
|
545
562
|
preload: ToolRouterSessionPreloadConfig;
|
|
546
563
|
/** Resolved sandbox (code-execution) config returned by the API. `enable` defaults to `true` server-side. */
|
|
547
564
|
sandbox?: ToolRouterSessionWorkbenchConfig;
|
|
565
|
+
/**
|
|
566
|
+
* Version of the server-side configuration this object last observed.
|
|
567
|
+
* Refreshed in place by `update()`, which sends it as the
|
|
568
|
+
* `expected_config_version` precondition by default.
|
|
569
|
+
*/
|
|
548
570
|
configVersion?: number;
|
|
549
571
|
warnings: ToolRouterSessionWarning[];
|
|
550
572
|
private readonly preloadedCustomToolSlugs;
|
|
551
573
|
private readonly inlineCustomToolsPayload;
|
|
552
574
|
/** Singleton session context — shared across all custom tool executions */
|
|
553
575
|
private readonly sessionContext?;
|
|
554
|
-
constructor(client: Composio$1,
|
|
576
|
+
constructor(client: Composio$1, sdkConfig: ComposioConfig<TProvider> | undefined, sessionId: string, mcp: ToolRouterMCPServerConfig, experimentalOverrides?: Pick<SessionExperimental, 'assistivePrompt'>, customToolsMap?: CustomToolsMap | undefined, userId?: string | undefined, metadata?: ToolRouterSessionMetadata);
|
|
555
577
|
/**
|
|
556
578
|
* Resolved sandbox config for the session.
|
|
557
579
|
*
|
|
@@ -611,6 +633,38 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
611
633
|
aclConfigForShared?: ConnectedAccountAclConfig;
|
|
612
634
|
};
|
|
613
635
|
}, requestOptions?: ComposioRequestOptions): Promise<ConnectionRequest>;
|
|
636
|
+
/**
|
|
637
|
+
* Ensure a toolkit has an active connection in this session, reconciling
|
|
638
|
+
* `authorize()`/`session.link` with the session's active connection state.
|
|
639
|
+
*
|
|
640
|
+
* If the session already resolves an ACTIVE connection (or the toolkit is
|
|
641
|
+
* no-auth), this returns immediately without creating a link — unlike
|
|
642
|
+
* `authorize()`, which always starts a new link flow, even when one is
|
|
643
|
+
* already connected. Otherwise it starts the authorization flow and waits
|
|
644
|
+
* for the new connection to become ACTIVE.
|
|
645
|
+
*
|
|
646
|
+
* For interactive flows that should surface the redirect URL instead of
|
|
647
|
+
* blocking, use `authorize()` and its `waitForConnection()` directly.
|
|
648
|
+
*
|
|
649
|
+
* @param toolkit - The toolkit slug to ensure a connection for (e.g. 'github')
|
|
650
|
+
* @param options - Optional authorization options plus `timeout` (ms to wait
|
|
651
|
+
* for a newly-initiated connection, default 60000)
|
|
652
|
+
* @returns The toolkit's canonical slug, whether it was already connected,
|
|
653
|
+
* and the active connected account (omitted for no-auth toolkits)
|
|
654
|
+
* @throws {ValidationError} If the options fail validation
|
|
655
|
+
* @throws {ConnectionRequestTimeoutError} If a newly-initiated connection does
|
|
656
|
+
* not become active within `timeout`
|
|
657
|
+
* @throws {ConnectionRequestFailedError} If the new connection enters a failed,
|
|
658
|
+
* expired, or revoked state
|
|
659
|
+
*
|
|
660
|
+
* @example
|
|
661
|
+
* ```typescript
|
|
662
|
+
* const session = await composio.sessions.create({ toolkits: ['github'] });
|
|
663
|
+
* const { wasConnected, connectedAccount } = await session.ensureConnected('github');
|
|
664
|
+
* if (!wasConnected) console.log('Newly linked:', connectedAccount?.id);
|
|
665
|
+
* ```
|
|
666
|
+
*/
|
|
667
|
+
ensureConnected(toolkit: string, options?: ToolRouterSessionEnsureConnectedOptions, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionEnsureConnectedResult>;
|
|
614
668
|
/**
|
|
615
669
|
* Query the connection state of toolkits in the session.
|
|
616
670
|
* Supports pagination and filtering by toolkit slugs.
|
|
@@ -656,7 +710,7 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
656
710
|
* @param toolSlug - The tool slug to execute
|
|
657
711
|
* @param arguments_ - Optional tool arguments
|
|
658
712
|
* @param options - Optional execution options
|
|
659
|
-
* @param options.account - Account identifier for direct app tool execution in multi-account sessions. Helper/meta tools either ignore this top-level field or define their own account-selection fields.
|
|
713
|
+
* @param options.account - Account identifier for direct app tool execution. Accepted on every project: in multi-account sessions it picks the account; on single-account projects it must match one of the session's active connections for the toolkit. Helper/meta tools either ignore this top-level field or define their own account-selection fields.
|
|
660
714
|
* @returns The tool execution result
|
|
661
715
|
*/
|
|
662
716
|
execute(toolSlug: string, arguments_?: Record<string, unknown>, options?: ToolRouterSessionExecuteOptions, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionExecuteResponse>;
|
|
@@ -670,10 +724,30 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
670
724
|
proxyExecute(params: SessionProxyExecuteParams, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionProxyExecuteResponse>;
|
|
671
725
|
/**
|
|
672
726
|
* Partially update the session configuration.
|
|
673
|
-
*
|
|
674
|
-
*
|
|
727
|
+
*
|
|
728
|
+
* Only the fields provided are changed; omitted fields are preserved. For
|
|
729
|
+
* each policy block `null` removes the stored override (which can increase
|
|
730
|
+
* access: `toolkits: null` restores the unrestricted default, while
|
|
731
|
+
* `toolkits: []` denies every app toolkit and is sent as-is). Supplied
|
|
732
|
+
* `tools`, `authConfigs` and `connectedAccounts` maps replace the stored
|
|
733
|
+
* map entirely. `manageConnections.callbackUrl: null` removes only the
|
|
734
|
+
* stored callback URL.
|
|
735
|
+
*
|
|
736
|
+
* The request carries the `configVersion` this object last observed as the
|
|
737
|
+
* `expected_config_version` precondition, so a concurrent change surfaces as
|
|
738
|
+
* {@link ComposioSessionConfigConflictError} (HTTP 409) instead of being
|
|
739
|
+
* overwritten. Pass `expectedConfigVersion` to send another version, or
|
|
740
|
+
* `expectedConfigVersion: false` to send no precondition (last writer
|
|
741
|
+
* wins). The PATCH is never retried by the transport, so a 409 is reported
|
|
742
|
+
* exactly once. On conflict this object is left unchanged: re-fetch the
|
|
743
|
+
* session with `sessions.use(sessionId)` and retry against the fresh
|
|
744
|
+
* `configVersion`.
|
|
745
|
+
*
|
|
746
|
+
* `config`, `configVersion`, `preload`, `sandbox` and `warnings` are
|
|
747
|
+
* refreshed in place only after a successful response, and the updated
|
|
748
|
+
* `config` is returned.
|
|
675
749
|
*/
|
|
676
|
-
update(config: ToolRouterUpdateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<
|
|
750
|
+
update(config: ToolRouterUpdateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionConfig>;
|
|
677
751
|
/**
|
|
678
752
|
* Delete this session.
|
|
679
753
|
*
|
|
@@ -681,6 +755,23 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
681
755
|
* an already-deleted session surfaces the backend 404.
|
|
682
756
|
*/
|
|
683
757
|
delete(requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionDeleteResponse>;
|
|
758
|
+
/**
|
|
759
|
+
* Page through this session's configuration history, newest first. The
|
|
760
|
+
* first page starts with the live config (`isCurrent: true`); every
|
|
761
|
+
* `session.update()` archives the previous version as a history row.
|
|
762
|
+
*
|
|
763
|
+
* @param options - Optional `cursor` and `limit` (max 100)
|
|
764
|
+
* @returns The config versions on this page plus pagination info
|
|
765
|
+
* @throws {ValidationError} If the options fail validation
|
|
766
|
+
*
|
|
767
|
+
* @example
|
|
768
|
+
* ```typescript
|
|
769
|
+
* const { items, nextCursor } = await session.listConfigHistory({ limit: 10 });
|
|
770
|
+
* console.log(items[0].version, items[0].isCurrent); // e.g. 3, true
|
|
771
|
+
* console.log(items[1].config.toolkits);
|
|
772
|
+
* ```
|
|
773
|
+
*/
|
|
774
|
+
listConfigHistory(options?: ToolRouterSessionListConfigHistoryOptions, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionListConfigHistoryResponse>;
|
|
684
775
|
/** Check if this session has any custom tools bound. */
|
|
685
776
|
private hasCustomTools;
|
|
686
777
|
private executeBackendSessionTool;
|
|
@@ -695,11 +786,11 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
695
786
|
}
|
|
696
787
|
//#endregion
|
|
697
788
|
//#region src/types/webhookEvents.types.d.ts
|
|
698
|
-
declare const WebhookEventTypes: {
|
|
789
|
+
export declare const WebhookEventTypes: {
|
|
699
790
|
readonly CONNECTION_EXPIRED: "composio.connected_account.expired";
|
|
700
791
|
readonly TRIGGER_MESSAGE: "composio.trigger.message";
|
|
701
792
|
};
|
|
702
|
-
type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventTypes];
|
|
793
|
+
export type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventTypes];
|
|
703
794
|
/**
|
|
704
795
|
* Auth config schema for webhook payloads (raw API format, snake_case).
|
|
705
796
|
*
|
|
@@ -714,7 +805,7 @@ type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventType
|
|
|
714
805
|
*
|
|
715
806
|
* @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
716
807
|
*/
|
|
717
|
-
declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
808
|
+
export declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
718
809
|
/** The nano ID of the auth config */
|
|
719
810
|
id: z$1.ZodString;
|
|
720
811
|
/** @deprecated - use state.authScheme instead */
|
|
@@ -732,6 +823,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
732
823
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
733
824
|
readonly SAML: "SAML";
|
|
734
825
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
826
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
735
827
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
736
828
|
}>;
|
|
737
829
|
/** Whether this auth config is managed by Composio */
|
|
@@ -764,6 +856,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
764
856
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
765
857
|
readonly SAML: "SAML";
|
|
766
858
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
859
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
767
860
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
768
861
|
}>;
|
|
769
862
|
/** Whether this auth config is managed by Composio */
|
|
@@ -796,6 +889,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
796
889
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
797
890
|
readonly SAML: "SAML";
|
|
798
891
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
892
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
799
893
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
800
894
|
}>;
|
|
801
895
|
/** Whether this auth config is managed by Composio */
|
|
@@ -811,7 +905,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
811
905
|
uuid: string;
|
|
812
906
|
}>>;
|
|
813
907
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
814
|
-
type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
|
|
908
|
+
export type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
|
|
815
909
|
/**
|
|
816
910
|
* Simplified connection state schema for webhook payloads (raw API format).
|
|
817
911
|
*
|
|
@@ -826,7 +920,7 @@ type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccoun
|
|
|
826
920
|
*
|
|
827
921
|
* @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
|
|
828
922
|
*/
|
|
829
|
-
declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
923
|
+
export declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
830
924
|
/** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
|
|
831
925
|
authScheme: z$1.ZodNativeEnum<{
|
|
832
926
|
readonly OAUTH1: "OAUTH1";
|
|
@@ -842,6 +936,7 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
842
936
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
843
937
|
readonly SAML: "SAML";
|
|
844
938
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
939
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
845
940
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
846
941
|
}>;
|
|
847
942
|
/** Connection state values - varies by auth scheme */
|
|
@@ -862,6 +957,7 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
862
957
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
863
958
|
readonly SAML: "SAML";
|
|
864
959
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
960
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
865
961
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
866
962
|
}>;
|
|
867
963
|
/** Connection state values - varies by auth scheme */
|
|
@@ -882,12 +978,13 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
882
978
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
883
979
|
readonly SAML: "SAML";
|
|
884
980
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
981
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
885
982
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
886
983
|
}>;
|
|
887
984
|
/** Connection state values - varies by auth scheme */
|
|
888
985
|
val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
889
986
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
890
|
-
type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
987
|
+
export type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
891
988
|
/**
|
|
892
989
|
* Connected account data schema for webhook payloads (raw API format, snake_case).
|
|
893
990
|
*
|
|
@@ -904,7 +1001,7 @@ type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
|
904
1001
|
* @see ConnectedAccountRetrieveResponseSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
905
1002
|
* @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
|
|
906
1003
|
*/
|
|
907
|
-
declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
1004
|
+
export declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
908
1005
|
/** Toolkit information */
|
|
909
1006
|
toolkit: z$1.ZodObject<{
|
|
910
1007
|
slug: z$1.ZodString;
|
|
@@ -932,6 +1029,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
932
1029
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
933
1030
|
readonly SAML: "SAML";
|
|
934
1031
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1032
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
935
1033
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
936
1034
|
}>;
|
|
937
1035
|
/** Whether this auth config is managed by Composio */
|
|
@@ -964,6 +1062,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
964
1062
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
965
1063
|
readonly SAML: "SAML";
|
|
966
1064
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1065
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
967
1066
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
968
1067
|
}>;
|
|
969
1068
|
/** Whether this auth config is managed by Composio */
|
|
@@ -996,6 +1095,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
996
1095
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
997
1096
|
readonly SAML: "SAML";
|
|
998
1097
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1098
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
999
1099
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1000
1100
|
}>;
|
|
1001
1101
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1046,6 +1146,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1046
1146
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1047
1147
|
readonly SAML: "SAML";
|
|
1048
1148
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1149
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1049
1150
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1050
1151
|
}>;
|
|
1051
1152
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1066,6 +1167,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1066
1167
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1067
1168
|
readonly SAML: "SAML";
|
|
1068
1169
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1170
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1069
1171
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1070
1172
|
}>;
|
|
1071
1173
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1086,6 +1188,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1086
1188
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1087
1189
|
readonly SAML: "SAML";
|
|
1088
1190
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1191
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1089
1192
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1090
1193
|
}>;
|
|
1091
1194
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1140,6 +1243,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1140
1243
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1141
1244
|
readonly SAML: "SAML";
|
|
1142
1245
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1246
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1143
1247
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1144
1248
|
}>;
|
|
1145
1249
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1172,6 +1276,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1172
1276
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1173
1277
|
readonly SAML: "SAML";
|
|
1174
1278
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1279
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1175
1280
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1176
1281
|
}>;
|
|
1177
1282
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1204,6 +1309,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1204
1309
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1205
1310
|
readonly SAML: "SAML";
|
|
1206
1311
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1312
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1207
1313
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1208
1314
|
}>;
|
|
1209
1315
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1254,6 +1360,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1254
1360
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1255
1361
|
readonly SAML: "SAML";
|
|
1256
1362
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1363
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1257
1364
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1258
1365
|
}>;
|
|
1259
1366
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1274,6 +1381,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1274
1381
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1275
1382
|
readonly SAML: "SAML";
|
|
1276
1383
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1384
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1277
1385
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1278
1386
|
}>;
|
|
1279
1387
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1294,6 +1402,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1294
1402
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1295
1403
|
readonly SAML: "SAML";
|
|
1296
1404
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1405
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1297
1406
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1298
1407
|
}>;
|
|
1299
1408
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1348,6 +1457,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1348
1457
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1349
1458
|
readonly SAML: "SAML";
|
|
1350
1459
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1460
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1351
1461
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1352
1462
|
}>;
|
|
1353
1463
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1380,6 +1490,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1380
1490
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1381
1491
|
readonly SAML: "SAML";
|
|
1382
1492
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1493
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1383
1494
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1384
1495
|
}>;
|
|
1385
1496
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1412,6 +1523,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1412
1523
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1413
1524
|
readonly SAML: "SAML";
|
|
1414
1525
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1526
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1415
1527
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1416
1528
|
}>;
|
|
1417
1529
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1462,6 +1574,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1462
1574
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1463
1575
|
readonly SAML: "SAML";
|
|
1464
1576
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1577
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1465
1578
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1466
1579
|
}>;
|
|
1467
1580
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1482,6 +1595,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1482
1595
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1483
1596
|
readonly SAML: "SAML";
|
|
1484
1597
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1598
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1485
1599
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1486
1600
|
}>;
|
|
1487
1601
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1502,6 +1616,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1502
1616
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1503
1617
|
readonly SAML: "SAML";
|
|
1504
1618
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1619
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1505
1620
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1506
1621
|
}>;
|
|
1507
1622
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1529,14 +1644,14 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1529
1644
|
labels: string[];
|
|
1530
1645
|
}>>;
|
|
1531
1646
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
1532
|
-
type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
|
|
1647
|
+
export type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
|
|
1533
1648
|
/**
|
|
1534
1649
|
* Webhook metadata for connection events.
|
|
1535
1650
|
* Note: This differs from the trigger webhook metadata in WebhookTriggerPayloadV3Schema.
|
|
1536
1651
|
*
|
|
1537
1652
|
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
1538
1653
|
*/
|
|
1539
|
-
declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
1654
|
+
export declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
1540
1655
|
/** Project nano ID */
|
|
1541
1656
|
project_id: z$1.ZodString;
|
|
1542
1657
|
/** Organization UUID */
|
|
@@ -1552,7 +1667,7 @@ declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
|
1552
1667
|
/** Organization UUID */
|
|
1553
1668
|
org_id: z$1.ZodString;
|
|
1554
1669
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
1555
|
-
type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
|
|
1670
|
+
export type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
|
|
1556
1671
|
/**
|
|
1557
1672
|
* Connection expired webhook event payload.
|
|
1558
1673
|
* Emitted when a connected account expires due to authentication refresh failure.
|
|
@@ -1573,7 +1688,7 @@ type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchem
|
|
|
1573
1688
|
* }
|
|
1574
1689
|
* ```
|
|
1575
1690
|
*/
|
|
1576
|
-
declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
1691
|
+
export declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
1577
1692
|
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
|
|
1578
1693
|
id: z$1.ZodString;
|
|
1579
1694
|
/** ISO-8601 timestamp of when the event was emitted */
|
|
@@ -1609,6 +1724,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1609
1724
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1610
1725
|
readonly SAML: "SAML";
|
|
1611
1726
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1727
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1612
1728
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1613
1729
|
}>;
|
|
1614
1730
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1641,6 +1757,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1641
1757
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1642
1758
|
readonly SAML: "SAML";
|
|
1643
1759
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1760
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1644
1761
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1645
1762
|
}>;
|
|
1646
1763
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1673,6 +1790,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1673
1790
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1674
1791
|
readonly SAML: "SAML";
|
|
1675
1792
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1793
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1676
1794
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1677
1795
|
}>;
|
|
1678
1796
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1723,6 +1841,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1723
1841
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1724
1842
|
readonly SAML: "SAML";
|
|
1725
1843
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1844
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1726
1845
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1727
1846
|
}>;
|
|
1728
1847
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1743,6 +1862,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1743
1862
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1744
1863
|
readonly SAML: "SAML";
|
|
1745
1864
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1865
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1746
1866
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1747
1867
|
}>;
|
|
1748
1868
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1763,6 +1883,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1763
1883
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1764
1884
|
readonly SAML: "SAML";
|
|
1765
1885
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1886
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1766
1887
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1767
1888
|
}>;
|
|
1768
1889
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1817,6 +1938,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1817
1938
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1818
1939
|
readonly SAML: "SAML";
|
|
1819
1940
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1941
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1820
1942
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1821
1943
|
}>;
|
|
1822
1944
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1849,6 +1971,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1849
1971
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1850
1972
|
readonly SAML: "SAML";
|
|
1851
1973
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1974
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1852
1975
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1853
1976
|
}>;
|
|
1854
1977
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1881,6 +2004,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1881
2004
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1882
2005
|
readonly SAML: "SAML";
|
|
1883
2006
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2007
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1884
2008
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1885
2009
|
}>;
|
|
1886
2010
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1931,6 +2055,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1931
2055
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1932
2056
|
readonly SAML: "SAML";
|
|
1933
2057
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2058
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1934
2059
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1935
2060
|
}>;
|
|
1936
2061
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1951,6 +2076,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1951
2076
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1952
2077
|
readonly SAML: "SAML";
|
|
1953
2078
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2079
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1954
2080
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1955
2081
|
}>;
|
|
1956
2082
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1971,6 +2097,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1971
2097
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1972
2098
|
readonly SAML: "SAML";
|
|
1973
2099
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2100
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1974
2101
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1975
2102
|
}>;
|
|
1976
2103
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2025,6 +2152,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2025
2152
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2026
2153
|
readonly SAML: "SAML";
|
|
2027
2154
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2155
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2028
2156
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2029
2157
|
}>;
|
|
2030
2158
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2057,6 +2185,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2057
2185
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2058
2186
|
readonly SAML: "SAML";
|
|
2059
2187
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2188
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2060
2189
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2061
2190
|
}>;
|
|
2062
2191
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2089,6 +2218,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2089
2218
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2090
2219
|
readonly SAML: "SAML";
|
|
2091
2220
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2221
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2092
2222
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2093
2223
|
}>;
|
|
2094
2224
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2139,6 +2269,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2139
2269
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2140
2270
|
readonly SAML: "SAML";
|
|
2141
2271
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2272
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2142
2273
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2143
2274
|
}>;
|
|
2144
2275
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2159,6 +2290,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2159
2290
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2160
2291
|
readonly SAML: "SAML";
|
|
2161
2292
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2293
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2162
2294
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2163
2295
|
}>;
|
|
2164
2296
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2179,6 +2311,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2179
2311
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2180
2312
|
readonly SAML: "SAML";
|
|
2181
2313
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2314
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2182
2315
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2183
2316
|
}>;
|
|
2184
2317
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2259,6 +2392,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2259
2392
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2260
2393
|
readonly SAML: "SAML";
|
|
2261
2394
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2395
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2262
2396
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2263
2397
|
}>;
|
|
2264
2398
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2291,6 +2425,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2291
2425
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2292
2426
|
readonly SAML: "SAML";
|
|
2293
2427
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2428
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2294
2429
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2295
2430
|
}>;
|
|
2296
2431
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2323,6 +2458,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2323
2458
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2324
2459
|
readonly SAML: "SAML";
|
|
2325
2460
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2461
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2326
2462
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2327
2463
|
}>;
|
|
2328
2464
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2373,6 +2509,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2373
2509
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2374
2510
|
readonly SAML: "SAML";
|
|
2375
2511
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2512
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2376
2513
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2377
2514
|
}>;
|
|
2378
2515
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2393,6 +2530,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2393
2530
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2394
2531
|
readonly SAML: "SAML";
|
|
2395
2532
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2533
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2396
2534
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2397
2535
|
}>;
|
|
2398
2536
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2413,6 +2551,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2413
2551
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2414
2552
|
readonly SAML: "SAML";
|
|
2415
2553
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2554
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2416
2555
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2417
2556
|
}>;
|
|
2418
2557
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2467,6 +2606,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2467
2606
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2468
2607
|
readonly SAML: "SAML";
|
|
2469
2608
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2609
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2470
2610
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2471
2611
|
}>;
|
|
2472
2612
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2499,6 +2639,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2499
2639
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2500
2640
|
readonly SAML: "SAML";
|
|
2501
2641
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2642
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2502
2643
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2503
2644
|
}>;
|
|
2504
2645
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2531,6 +2672,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2531
2672
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2532
2673
|
readonly SAML: "SAML";
|
|
2533
2674
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2675
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2534
2676
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2535
2677
|
}>;
|
|
2536
2678
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2581,6 +2723,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2581
2723
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2582
2724
|
readonly SAML: "SAML";
|
|
2583
2725
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2726
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2584
2727
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2585
2728
|
}>;
|
|
2586
2729
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2601,6 +2744,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2601
2744
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2602
2745
|
readonly SAML: "SAML";
|
|
2603
2746
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2747
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2604
2748
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2605
2749
|
}>;
|
|
2606
2750
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2621,6 +2765,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2621
2765
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2622
2766
|
readonly SAML: "SAML";
|
|
2623
2767
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2768
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2624
2769
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2625
2770
|
}>;
|
|
2626
2771
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2675,6 +2820,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2675
2820
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2676
2821
|
readonly SAML: "SAML";
|
|
2677
2822
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2823
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2678
2824
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2679
2825
|
}>;
|
|
2680
2826
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2707,6 +2853,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2707
2853
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2708
2854
|
readonly SAML: "SAML";
|
|
2709
2855
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2856
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2710
2857
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2711
2858
|
}>;
|
|
2712
2859
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2739,6 +2886,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2739
2886
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2740
2887
|
readonly SAML: "SAML";
|
|
2741
2888
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2889
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2742
2890
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2743
2891
|
}>;
|
|
2744
2892
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2789,6 +2937,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2789
2937
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2790
2938
|
readonly SAML: "SAML";
|
|
2791
2939
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2940
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2792
2941
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2793
2942
|
}>;
|
|
2794
2943
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2809,6 +2958,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2809
2958
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2810
2959
|
readonly SAML: "SAML";
|
|
2811
2960
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2961
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2812
2962
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2813
2963
|
}>;
|
|
2814
2964
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2829,6 +2979,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2829
2979
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2830
2980
|
readonly SAML: "SAML";
|
|
2831
2981
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2982
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2832
2983
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2833
2984
|
}>;
|
|
2834
2985
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2909,6 +3060,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2909
3060
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2910
3061
|
readonly SAML: "SAML";
|
|
2911
3062
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3063
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2912
3064
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2913
3065
|
}>;
|
|
2914
3066
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2941,6 +3093,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2941
3093
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2942
3094
|
readonly SAML: "SAML";
|
|
2943
3095
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3096
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2944
3097
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2945
3098
|
}>;
|
|
2946
3099
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2973,6 +3126,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2973
3126
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2974
3127
|
readonly SAML: "SAML";
|
|
2975
3128
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3129
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2976
3130
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2977
3131
|
}>;
|
|
2978
3132
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3023,6 +3177,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3023
3177
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3024
3178
|
readonly SAML: "SAML";
|
|
3025
3179
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3180
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3026
3181
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3027
3182
|
}>;
|
|
3028
3183
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3043,6 +3198,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3043
3198
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3044
3199
|
readonly SAML: "SAML";
|
|
3045
3200
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3201
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3046
3202
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3047
3203
|
}>;
|
|
3048
3204
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3063,6 +3219,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3063
3219
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3064
3220
|
readonly SAML: "SAML";
|
|
3065
3221
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3222
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3066
3223
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3067
3224
|
}>;
|
|
3068
3225
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3117,6 +3274,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3117
3274
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3118
3275
|
readonly SAML: "SAML";
|
|
3119
3276
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3277
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3120
3278
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3121
3279
|
}>;
|
|
3122
3280
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3149,6 +3307,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3149
3307
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3150
3308
|
readonly SAML: "SAML";
|
|
3151
3309
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3310
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3152
3311
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3153
3312
|
}>;
|
|
3154
3313
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3181,6 +3340,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3181
3340
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3182
3341
|
readonly SAML: "SAML";
|
|
3183
3342
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3343
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3184
3344
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3185
3345
|
}>;
|
|
3186
3346
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3231,6 +3391,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3231
3391
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3232
3392
|
readonly SAML: "SAML";
|
|
3233
3393
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3394
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3234
3395
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3235
3396
|
}>;
|
|
3236
3397
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3251,6 +3412,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3251
3412
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3252
3413
|
readonly SAML: "SAML";
|
|
3253
3414
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3415
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3254
3416
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3255
3417
|
}>;
|
|
3256
3418
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3271,6 +3433,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3271
3433
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3272
3434
|
readonly SAML: "SAML";
|
|
3273
3435
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3436
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3274
3437
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3275
3438
|
}>;
|
|
3276
3439
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3325,6 +3488,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3325
3488
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3326
3489
|
readonly SAML: "SAML";
|
|
3327
3490
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3491
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3328
3492
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3329
3493
|
}>;
|
|
3330
3494
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3357,6 +3521,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3357
3521
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3358
3522
|
readonly SAML: "SAML";
|
|
3359
3523
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3524
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3360
3525
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3361
3526
|
}>;
|
|
3362
3527
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3389,6 +3554,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3389
3554
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3390
3555
|
readonly SAML: "SAML";
|
|
3391
3556
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3557
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3392
3558
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3393
3559
|
}>;
|
|
3394
3560
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3439,6 +3605,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3439
3605
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3440
3606
|
readonly SAML: "SAML";
|
|
3441
3607
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3608
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3442
3609
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3443
3610
|
}>;
|
|
3444
3611
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3459,6 +3626,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3459
3626
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3460
3627
|
readonly SAML: "SAML";
|
|
3461
3628
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3629
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3462
3630
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3463
3631
|
}>;
|
|
3464
3632
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3479,6 +3647,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3479
3647
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3480
3648
|
readonly SAML: "SAML";
|
|
3481
3649
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3650
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3482
3651
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3483
3652
|
}>;
|
|
3484
3653
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3524,7 +3693,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3524
3693
|
org_id: z$1.ZodString;
|
|
3525
3694
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
3526
3695
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
3527
|
-
type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
3696
|
+
export type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
3528
3697
|
/**
|
|
3529
3698
|
* Union of all typed webhook event schemas.
|
|
3530
3699
|
* Extend this as new event types are added.
|
|
@@ -3536,7 +3705,7 @@ type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
|
3536
3705
|
* Trigger events (composio.trigger.message) are handled through the
|
|
3537
3706
|
* WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
|
|
3538
3707
|
*/
|
|
3539
|
-
declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
|
|
3708
|
+
export declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
|
|
3540
3709
|
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
|
|
3541
3710
|
id: z$1.ZodString;
|
|
3542
3711
|
/** ISO-8601 timestamp of when the event was emitted */
|
|
@@ -3572,6 +3741,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3572
3741
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3573
3742
|
readonly SAML: "SAML";
|
|
3574
3743
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3744
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3575
3745
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3576
3746
|
}>;
|
|
3577
3747
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3604,6 +3774,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3604
3774
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3605
3775
|
readonly SAML: "SAML";
|
|
3606
3776
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3777
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3607
3778
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3608
3779
|
}>;
|
|
3609
3780
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3636,6 +3807,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3636
3807
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3637
3808
|
readonly SAML: "SAML";
|
|
3638
3809
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3810
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3639
3811
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3640
3812
|
}>;
|
|
3641
3813
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3686,6 +3858,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3686
3858
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3687
3859
|
readonly SAML: "SAML";
|
|
3688
3860
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3861
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3689
3862
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3690
3863
|
}>;
|
|
3691
3864
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3706,6 +3879,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3706
3879
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3707
3880
|
readonly SAML: "SAML";
|
|
3708
3881
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3882
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3709
3883
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3710
3884
|
}>;
|
|
3711
3885
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3726,6 +3900,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3726
3900
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3727
3901
|
readonly SAML: "SAML";
|
|
3728
3902
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3903
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3729
3904
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3730
3905
|
}>;
|
|
3731
3906
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3780,6 +3955,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3780
3955
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3781
3956
|
readonly SAML: "SAML";
|
|
3782
3957
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3958
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3783
3959
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3784
3960
|
}>;
|
|
3785
3961
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3812,6 +3988,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3812
3988
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3813
3989
|
readonly SAML: "SAML";
|
|
3814
3990
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3991
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3815
3992
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3816
3993
|
}>;
|
|
3817
3994
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3844,6 +4021,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3844
4021
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3845
4022
|
readonly SAML: "SAML";
|
|
3846
4023
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4024
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3847
4025
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3848
4026
|
}>;
|
|
3849
4027
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3894,6 +4072,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3894
4072
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3895
4073
|
readonly SAML: "SAML";
|
|
3896
4074
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4075
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3897
4076
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3898
4077
|
}>;
|
|
3899
4078
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3914,6 +4093,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3914
4093
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3915
4094
|
readonly SAML: "SAML";
|
|
3916
4095
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4096
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3917
4097
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3918
4098
|
}>;
|
|
3919
4099
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3934,6 +4114,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3934
4114
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3935
4115
|
readonly SAML: "SAML";
|
|
3936
4116
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4117
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3937
4118
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3938
4119
|
}>;
|
|
3939
4120
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3988,6 +4169,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3988
4169
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3989
4170
|
readonly SAML: "SAML";
|
|
3990
4171
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4172
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3991
4173
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3992
4174
|
}>;
|
|
3993
4175
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4020,6 +4202,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4020
4202
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4021
4203
|
readonly SAML: "SAML";
|
|
4022
4204
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4205
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4023
4206
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4024
4207
|
}>;
|
|
4025
4208
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4052,6 +4235,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4052
4235
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4053
4236
|
readonly SAML: "SAML";
|
|
4054
4237
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4238
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4055
4239
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4056
4240
|
}>;
|
|
4057
4241
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4102,6 +4286,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4102
4286
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4103
4287
|
readonly SAML: "SAML";
|
|
4104
4288
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4289
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4105
4290
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4106
4291
|
}>;
|
|
4107
4292
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4122,6 +4307,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4122
4307
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4123
4308
|
readonly SAML: "SAML";
|
|
4124
4309
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4310
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4125
4311
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4126
4312
|
}>;
|
|
4127
4313
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4142,6 +4328,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4142
4328
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4143
4329
|
readonly SAML: "SAML";
|
|
4144
4330
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4331
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4145
4332
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4146
4333
|
}>;
|
|
4147
4334
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4222,6 +4409,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4222
4409
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4223
4410
|
readonly SAML: "SAML";
|
|
4224
4411
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4412
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4225
4413
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4226
4414
|
}>;
|
|
4227
4415
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4254,6 +4442,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4254
4442
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4255
4443
|
readonly SAML: "SAML";
|
|
4256
4444
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4445
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4257
4446
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4258
4447
|
}>;
|
|
4259
4448
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4286,6 +4475,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4286
4475
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4287
4476
|
readonly SAML: "SAML";
|
|
4288
4477
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4478
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4289
4479
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4290
4480
|
}>;
|
|
4291
4481
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4336,6 +4526,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4336
4526
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4337
4527
|
readonly SAML: "SAML";
|
|
4338
4528
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4529
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4339
4530
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4340
4531
|
}>;
|
|
4341
4532
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4356,6 +4547,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4356
4547
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4357
4548
|
readonly SAML: "SAML";
|
|
4358
4549
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4550
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4359
4551
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4360
4552
|
}>;
|
|
4361
4553
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4376,6 +4568,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4376
4568
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4377
4569
|
readonly SAML: "SAML";
|
|
4378
4570
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4571
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4379
4572
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4380
4573
|
}>;
|
|
4381
4574
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4430,6 +4623,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4430
4623
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4431
4624
|
readonly SAML: "SAML";
|
|
4432
4625
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4626
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4433
4627
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4434
4628
|
}>;
|
|
4435
4629
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4462,6 +4656,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4462
4656
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4463
4657
|
readonly SAML: "SAML";
|
|
4464
4658
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4659
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4465
4660
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4466
4661
|
}>;
|
|
4467
4662
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4494,6 +4689,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4494
4689
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4495
4690
|
readonly SAML: "SAML";
|
|
4496
4691
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4692
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4497
4693
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4498
4694
|
}>;
|
|
4499
4695
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4544,6 +4740,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4544
4740
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4545
4741
|
readonly SAML: "SAML";
|
|
4546
4742
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4743
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4547
4744
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4548
4745
|
}>;
|
|
4549
4746
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4564,6 +4761,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4564
4761
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4565
4762
|
readonly SAML: "SAML";
|
|
4566
4763
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4764
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4567
4765
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4568
4766
|
}>;
|
|
4569
4767
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4584,6 +4782,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4584
4782
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4585
4783
|
readonly SAML: "SAML";
|
|
4586
4784
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4785
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4587
4786
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4588
4787
|
}>;
|
|
4589
4788
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4638,6 +4837,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4638
4837
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4639
4838
|
readonly SAML: "SAML";
|
|
4640
4839
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4840
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4641
4841
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4642
4842
|
}>;
|
|
4643
4843
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4670,6 +4870,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4670
4870
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4671
4871
|
readonly SAML: "SAML";
|
|
4672
4872
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4873
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4673
4874
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4674
4875
|
}>;
|
|
4675
4876
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4702,6 +4903,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4702
4903
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4703
4904
|
readonly SAML: "SAML";
|
|
4704
4905
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4906
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4705
4907
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4706
4908
|
}>;
|
|
4707
4909
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4752,6 +4954,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4752
4954
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4753
4955
|
readonly SAML: "SAML";
|
|
4754
4956
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4957
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4755
4958
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4756
4959
|
}>;
|
|
4757
4960
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4772,6 +4975,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4772
4975
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4773
4976
|
readonly SAML: "SAML";
|
|
4774
4977
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4978
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4775
4979
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4776
4980
|
}>;
|
|
4777
4981
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4792,6 +4996,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4792
4996
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4793
4997
|
readonly SAML: "SAML";
|
|
4794
4998
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4999
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4795
5000
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4796
5001
|
}>;
|
|
4797
5002
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4872,6 +5077,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4872
5077
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4873
5078
|
readonly SAML: "SAML";
|
|
4874
5079
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5080
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4875
5081
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4876
5082
|
}>;
|
|
4877
5083
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4904,6 +5110,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4904
5110
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4905
5111
|
readonly SAML: "SAML";
|
|
4906
5112
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5113
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4907
5114
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4908
5115
|
}>;
|
|
4909
5116
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4936,6 +5143,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4936
5143
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4937
5144
|
readonly SAML: "SAML";
|
|
4938
5145
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5146
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4939
5147
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4940
5148
|
}>;
|
|
4941
5149
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4986,6 +5194,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4986
5194
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4987
5195
|
readonly SAML: "SAML";
|
|
4988
5196
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5197
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4989
5198
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4990
5199
|
}>;
|
|
4991
5200
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5006,6 +5215,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5006
5215
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5007
5216
|
readonly SAML: "SAML";
|
|
5008
5217
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5218
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5009
5219
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5010
5220
|
}>;
|
|
5011
5221
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5026,6 +5236,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5026
5236
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5027
5237
|
readonly SAML: "SAML";
|
|
5028
5238
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5239
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5029
5240
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5030
5241
|
}>;
|
|
5031
5242
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5080,6 +5291,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5080
5291
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5081
5292
|
readonly SAML: "SAML";
|
|
5082
5293
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5294
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5083
5295
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5084
5296
|
}>;
|
|
5085
5297
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5112,6 +5324,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5112
5324
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5113
5325
|
readonly SAML: "SAML";
|
|
5114
5326
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5327
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5115
5328
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5116
5329
|
}>;
|
|
5117
5330
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5144,6 +5357,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5144
5357
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5145
5358
|
readonly SAML: "SAML";
|
|
5146
5359
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5360
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5147
5361
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5148
5362
|
}>;
|
|
5149
5363
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5194,6 +5408,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5194
5408
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5195
5409
|
readonly SAML: "SAML";
|
|
5196
5410
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5411
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5197
5412
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5198
5413
|
}>;
|
|
5199
5414
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5214,6 +5429,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5214
5429
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5215
5430
|
readonly SAML: "SAML";
|
|
5216
5431
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5432
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5217
5433
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5218
5434
|
}>;
|
|
5219
5435
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5234,6 +5450,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5234
5450
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5235
5451
|
readonly SAML: "SAML";
|
|
5236
5452
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5453
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5237
5454
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5238
5455
|
}>;
|
|
5239
5456
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5288,6 +5505,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5288
5505
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5289
5506
|
readonly SAML: "SAML";
|
|
5290
5507
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5508
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5291
5509
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5292
5510
|
}>;
|
|
5293
5511
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5320,6 +5538,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5320
5538
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5321
5539
|
readonly SAML: "SAML";
|
|
5322
5540
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5541
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5323
5542
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5324
5543
|
}>;
|
|
5325
5544
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5352,6 +5571,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5352
5571
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5353
5572
|
readonly SAML: "SAML";
|
|
5354
5573
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5574
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5355
5575
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5356
5576
|
}>;
|
|
5357
5577
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5402,6 +5622,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5402
5622
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5403
5623
|
readonly SAML: "SAML";
|
|
5404
5624
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5625
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5405
5626
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5406
5627
|
}>;
|
|
5407
5628
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5422,6 +5643,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5422
5643
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5423
5644
|
readonly SAML: "SAML";
|
|
5424
5645
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5646
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5425
5647
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5426
5648
|
}>;
|
|
5427
5649
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5442,6 +5664,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5442
5664
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5443
5665
|
readonly SAML: "SAML";
|
|
5444
5666
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5667
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5445
5668
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5446
5669
|
}>;
|
|
5447
5670
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5487,7 +5710,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5487
5710
|
org_id: z$1.ZodString;
|
|
5488
5711
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
5489
5712
|
}, z$1.ZodTypeAny, "passthrough">>]>;
|
|
5490
|
-
type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
|
|
5713
|
+
export type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
|
|
5491
5714
|
declare namespace constants_d_exports {
|
|
5492
5715
|
export { CLIENT_PUSHER_KEY, COMPOSIO_DIR, COMPOSIO_LOG_LEVEL, DEFAULT_BASE_URL, DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID, DEFAULT_WEB_URL, IS_DEVELOPMENT_OR_CI, TELEMETRY_URL, TEMP_FILES_DIRECTORY_NAME, USER_DATA_FILE_NAME };
|
|
5493
5716
|
}
|
|
@@ -5498,37 +5721,10 @@ declare const DEFAULT_BASE_URL = "https://backend.composio.dev";
|
|
|
5498
5721
|
declare const DEFAULT_WEB_URL = "https://dashboard.composio.dev/";
|
|
5499
5722
|
declare const TELEMETRY_URL = "https://app.composio.dev";
|
|
5500
5723
|
declare const CLIENT_PUSHER_KEY: string;
|
|
5501
|
-
declare const COMPOSIO_LOG_LEVEL: "debug" | "info" | "warn" | "error" | undefined;
|
|
5724
|
+
declare const COMPOSIO_LOG_LEVEL: "silent" | "debug" | "info" | "warn" | "error" | undefined;
|
|
5502
5725
|
declare const IS_DEVELOPMENT_OR_CI: string | boolean;
|
|
5503
5726
|
declare const DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID = "files";
|
|
5504
5727
|
//#endregion
|
|
5505
|
-
//#region src/utils/logger.d.ts
|
|
5506
|
-
declare const LOG_LEVELS: {
|
|
5507
|
-
readonly silent: -1;
|
|
5508
|
-
readonly error: 0;
|
|
5509
|
-
readonly warn: 1;
|
|
5510
|
-
readonly info: 2;
|
|
5511
|
-
readonly debug: 3;
|
|
5512
|
-
};
|
|
5513
|
-
type LogLevel = keyof typeof LOG_LEVELS;
|
|
5514
|
-
interface LoggerOptions {
|
|
5515
|
-
level?: LogLevel;
|
|
5516
|
-
includeTimestamp?: boolean;
|
|
5517
|
-
}
|
|
5518
|
-
declare class Logger {
|
|
5519
|
-
private readonly level;
|
|
5520
|
-
private readonly includeTimestamp;
|
|
5521
|
-
private readonly console;
|
|
5522
|
-
constructor(options?: LoggerOptions);
|
|
5523
|
-
private formatMessage;
|
|
5524
|
-
private shouldLog;
|
|
5525
|
-
error(...args: unknown[]): void;
|
|
5526
|
-
warn(...args: unknown[]): void;
|
|
5527
|
-
info(...args: unknown[]): void;
|
|
5528
|
-
debug(...args: unknown[]): void;
|
|
5529
|
-
}
|
|
5530
|
-
declare const logger: Logger;
|
|
5531
|
-
//#endregion
|
|
5532
5728
|
//#region src/types/telemetry.types.d.ts
|
|
5533
5729
|
/**
|
|
5534
5730
|
* Metadata for the telemetry.
|
|
@@ -5583,15 +5779,15 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5583
5779
|
}, "strip", z$1.ZodTypeAny, {
|
|
5584
5780
|
version?: string | undefined;
|
|
5585
5781
|
host?: string | undefined;
|
|
5586
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5587
5782
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5783
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5588
5784
|
platform?: string | undefined;
|
|
5589
5785
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5590
5786
|
}, {
|
|
5591
5787
|
version?: string | undefined;
|
|
5592
5788
|
host?: string | undefined;
|
|
5593
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5594
5789
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5790
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5595
5791
|
platform?: string | undefined;
|
|
5596
5792
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5597
5793
|
}>>;
|
|
@@ -5638,16 +5834,16 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5638
5834
|
provider?: string | undefined;
|
|
5639
5835
|
} | undefined;
|
|
5640
5836
|
timestamp?: number | undefined;
|
|
5641
|
-
durationMs?: number | undefined;
|
|
5642
|
-
props?: Record<string, any> | undefined;
|
|
5643
5837
|
source?: {
|
|
5644
5838
|
version?: string | undefined;
|
|
5645
5839
|
host?: string | undefined;
|
|
5646
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5647
5840
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5841
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5648
5842
|
platform?: string | undefined;
|
|
5649
5843
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5650
5844
|
} | undefined;
|
|
5845
|
+
durationMs?: number | undefined;
|
|
5846
|
+
props?: Record<string, any> | undefined;
|
|
5651
5847
|
}, {
|
|
5652
5848
|
functionName: string;
|
|
5653
5849
|
error?: {
|
|
@@ -5662,16 +5858,16 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5662
5858
|
provider?: string | undefined;
|
|
5663
5859
|
} | undefined;
|
|
5664
5860
|
timestamp?: number | undefined;
|
|
5665
|
-
durationMs?: number | undefined;
|
|
5666
|
-
props?: Record<string, any> | undefined;
|
|
5667
5861
|
source?: {
|
|
5668
5862
|
version?: string | undefined;
|
|
5669
5863
|
host?: string | undefined;
|
|
5670
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5671
5864
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5865
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5672
5866
|
platform?: string | undefined;
|
|
5673
5867
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5674
5868
|
} | undefined;
|
|
5869
|
+
durationMs?: number | undefined;
|
|
5870
|
+
props?: Record<string, any> | undefined;
|
|
5675
5871
|
}>;
|
|
5676
5872
|
declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
5677
5873
|
functionName: z$1.ZodString;
|
|
@@ -5688,15 +5884,15 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5688
5884
|
}, "strip", z$1.ZodTypeAny, {
|
|
5689
5885
|
version?: string | undefined;
|
|
5690
5886
|
host?: string | undefined;
|
|
5691
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5692
5887
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5888
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5693
5889
|
platform?: string | undefined;
|
|
5694
5890
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5695
5891
|
}, {
|
|
5696
5892
|
version?: string | undefined;
|
|
5697
5893
|
host?: string | undefined;
|
|
5698
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5699
5894
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5895
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5700
5896
|
platform?: string | undefined;
|
|
5701
5897
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5702
5898
|
}>>;
|
|
@@ -5743,16 +5939,16 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5743
5939
|
provider?: string | undefined;
|
|
5744
5940
|
} | undefined;
|
|
5745
5941
|
timestamp?: number | undefined;
|
|
5746
|
-
durationMs?: number | undefined;
|
|
5747
|
-
props?: Record<string, any> | undefined;
|
|
5748
5942
|
source?: {
|
|
5749
5943
|
version?: string | undefined;
|
|
5750
5944
|
host?: string | undefined;
|
|
5751
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5752
5945
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5946
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5753
5947
|
platform?: string | undefined;
|
|
5754
5948
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5755
5949
|
} | undefined;
|
|
5950
|
+
durationMs?: number | undefined;
|
|
5951
|
+
props?: Record<string, any> | undefined;
|
|
5756
5952
|
}, {
|
|
5757
5953
|
functionName: string;
|
|
5758
5954
|
error?: {
|
|
@@ -5767,16 +5963,16 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5767
5963
|
provider?: string | undefined;
|
|
5768
5964
|
} | undefined;
|
|
5769
5965
|
timestamp?: number | undefined;
|
|
5770
|
-
durationMs?: number | undefined;
|
|
5771
|
-
props?: Record<string, any> | undefined;
|
|
5772
5966
|
source?: {
|
|
5773
5967
|
version?: string | undefined;
|
|
5774
5968
|
host?: string | undefined;
|
|
5775
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5776
5969
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5970
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5777
5971
|
platform?: string | undefined;
|
|
5778
5972
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5779
5973
|
} | undefined;
|
|
5974
|
+
durationMs?: number | undefined;
|
|
5975
|
+
props?: Record<string, any> | undefined;
|
|
5780
5976
|
}>, "many">;
|
|
5781
5977
|
type TelemetryPayload = z$1.infer<typeof TelemetryPayloadSchema>;
|
|
5782
5978
|
type TelemetryMetricPayloadBody = z$1.infer<typeof TelemetryMetricPayloadBodySchema>;
|
|
@@ -5860,13 +6056,13 @@ declare class TelemetryTransport {
|
|
|
5860
6056
|
*/
|
|
5861
6057
|
private registerExitHandlers;
|
|
5862
6058
|
}
|
|
5863
|
-
declare const telemetry: TelemetryTransport;
|
|
6059
|
+
export declare const telemetry: TelemetryTransport;
|
|
5864
6060
|
//#endregion
|
|
5865
6061
|
//#region src/errors/ComposioError.d.ts
|
|
5866
6062
|
/**
|
|
5867
6063
|
* Options for error handling
|
|
5868
6064
|
*/
|
|
5869
|
-
interface ErrorHandleOptions {
|
|
6065
|
+
export interface ErrorHandleOptions {
|
|
5870
6066
|
/** Whether to include the stack trace in the output */
|
|
5871
6067
|
includeStack?: boolean;
|
|
5872
6068
|
/** @deprecated Use ComposioError.handleAndThrow() instead. This option will be removed in a future version. */
|
|
@@ -5877,7 +6073,7 @@ interface ErrorHandleOptions {
|
|
|
5877
6073
|
/**
|
|
5878
6074
|
* Options for creating a ComposioError
|
|
5879
6075
|
*/
|
|
5880
|
-
type ComposioErrorOptions = {
|
|
6076
|
+
export type ComposioErrorOptions = {
|
|
5881
6077
|
/** Error code for categorizing errors */
|
|
5882
6078
|
code?: string;
|
|
5883
6079
|
/** HTTP status code associated with the error */
|
|
@@ -5894,7 +6090,7 @@ type ComposioErrorOptions = {
|
|
|
5894
6090
|
/**
|
|
5895
6091
|
* Base error class for all Composio errors
|
|
5896
6092
|
*/
|
|
5897
|
-
declare class ComposioError extends Error {
|
|
6093
|
+
export declare class ComposioError extends Error {
|
|
5898
6094
|
/** @readonly Error name */
|
|
5899
6095
|
name: string;
|
|
5900
6096
|
code?: string;
|
|
@@ -5987,15 +6183,15 @@ declare class ComposioError extends Error {
|
|
|
5987
6183
|
}
|
|
5988
6184
|
//#endregion
|
|
5989
6185
|
//#region src/errors/AuthConfigErrors.d.ts
|
|
5990
|
-
declare const AuthConfigErrorCodes: {
|
|
6186
|
+
export declare const AuthConfigErrorCodes: {
|
|
5991
6187
|
readonly AUTH_CONFIG_NOT_FOUND: "AUTH_CONFIG_NOT_FOUND";
|
|
5992
6188
|
};
|
|
5993
|
-
declare class ComposioAuthConfigNotFoundError extends ComposioError {
|
|
6189
|
+
export declare class ComposioAuthConfigNotFoundError extends ComposioError {
|
|
5994
6190
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5995
6191
|
}
|
|
5996
6192
|
//#endregion
|
|
5997
6193
|
//#region src/errors/ConnectedAccountsErrors.d.ts
|
|
5998
|
-
declare const ConnectedAccountErrorCodes: {
|
|
6194
|
+
export declare const ConnectedAccountErrorCodes: {
|
|
5999
6195
|
readonly CONNECTED_ACCOUNT_NOT_FOUND: "CONNECTED_ACCOUNT_NOT_FOUND";
|
|
6000
6196
|
readonly MULTIPLE_CONNECTED_ACCOUNTS: "MULTIPLE_CONNECTED_ACCOUNTS";
|
|
6001
6197
|
readonly FAILED_TO_CREATE_CONNECTED_ACCOUNT_LINK: "FAILED_TO_CREATE_CONNECTED_ACCOUNT_LINK";
|
|
@@ -6003,14 +6199,16 @@ declare const ConnectedAccountErrorCodes: {
|
|
|
6003
6199
|
readonly SHARED_ACCESS_DENIED: "SHARED_ACCESS_DENIED";
|
|
6004
6200
|
readonly ACL_ONLY_FOR_SHARED: "ACL_ONLY_FOR_SHARED";
|
|
6005
6201
|
readonly SHARED_CONNECTION_NOT_ACCESSIBLE: "SHARED_CONNECTION_NOT_ACCESSIBLE";
|
|
6202
|
+
readonly REVOCATION_NOT_SUPPORTED: "CONNECTED_ACCOUNT_REVOCATION_NOT_SUPPORTED";
|
|
6203
|
+
readonly NOT_REVOKABLE: "CONNECTED_ACCOUNT_NOT_REVOKABLE";
|
|
6006
6204
|
};
|
|
6007
|
-
declare class ComposioConnectedAccountNotFoundError extends ComposioError {
|
|
6205
|
+
export declare class ComposioConnectedAccountNotFoundError extends ComposioError {
|
|
6008
6206
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6009
6207
|
}
|
|
6010
|
-
declare class ComposioMultipleConnectedAccountsError extends ComposioError {
|
|
6208
|
+
export declare class ComposioMultipleConnectedAccountsError extends ComposioError {
|
|
6011
6209
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6012
6210
|
}
|
|
6013
|
-
declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
6211
|
+
export declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
6014
6212
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6015
6213
|
}
|
|
6016
6214
|
/**
|
|
@@ -6021,7 +6219,7 @@ declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
|
6021
6219
|
* `composio.tools.execute(slug, { connectedAccountId })`) without going
|
|
6022
6220
|
* through a tool-router session.
|
|
6023
6221
|
*/
|
|
6024
|
-
declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
6222
|
+
export declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
6025
6223
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6026
6224
|
}
|
|
6027
6225
|
/**
|
|
@@ -6029,7 +6227,7 @@ declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
|
6029
6227
|
* `notAllowedUserIds`) are sent on a `PRIVATE` connection — at create
|
|
6030
6228
|
* time or via PATCH. ACL is only meaningful for `SHARED` connections.
|
|
6031
6229
|
*/
|
|
6032
|
-
declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
6230
|
+
export declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
6033
6231
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6034
6232
|
}
|
|
6035
6233
|
/**
|
|
@@ -6038,7 +6236,7 @@ declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
|
6038
6236
|
* session-create time so the session never enters a state that fails
|
|
6039
6237
|
* mid-execution.
|
|
6040
6238
|
*/
|
|
6041
|
-
declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
6239
|
+
export declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
6042
6240
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6043
6241
|
}
|
|
6044
6242
|
/**
|
|
@@ -6054,26 +6252,44 @@ declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
|
6054
6252
|
*
|
|
6055
6253
|
* See: https://docs.composio.dev/docs/changelog/2026/04/24
|
|
6056
6254
|
*/
|
|
6057
|
-
declare class ComposioLegacyConnectedAccountsEndpointRetiredError extends ComposioError {
|
|
6255
|
+
export declare class ComposioLegacyConnectedAccountsEndpointRetiredError extends ComposioError {
|
|
6256
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6257
|
+
}
|
|
6258
|
+
/**
|
|
6259
|
+
* Thrown by `composio.connectedAccounts.revoke()` when the toolkit behind the
|
|
6260
|
+
* connection does not support programmatic revocation at the provider (API
|
|
6261
|
+
* 400).
|
|
6262
|
+
*/
|
|
6263
|
+
export declare class ComposioConnectedAccountRevocationNotSupportedError extends ComposioError {
|
|
6264
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6265
|
+
}
|
|
6266
|
+
/**
|
|
6267
|
+
* Thrown by `composio.connectedAccounts.revoke()` when the connection is not
|
|
6268
|
+
* in a state that can be revoked (API 409), for example it never completed
|
|
6269
|
+
* authentication. Revoking an already revoked connection is not an error: it
|
|
6270
|
+
* returns an empty `revokedTokens` list.
|
|
6271
|
+
*/
|
|
6272
|
+
export declare class ComposioConnectedAccountNotRevokableError extends ComposioError {
|
|
6058
6273
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6059
6274
|
}
|
|
6060
6275
|
//#endregion
|
|
6061
6276
|
//#region src/errors/ConnectionRequestErrors.d.ts
|
|
6062
|
-
declare const ConnectionRequestErrorCodes: {
|
|
6277
|
+
export declare const ConnectionRequestErrorCodes: {
|
|
6063
6278
|
readonly CONNECTION_REQUEST_TIMEOUT: "CONNECTION_REQUEST_TIMEOUT";
|
|
6064
6279
|
readonly CONNECTION_REQUEST_FAILED: "CONNECTION_REQUEST_FAILED";
|
|
6065
6280
|
};
|
|
6066
|
-
declare class ConnectionRequestTimeoutError extends ComposioError {
|
|
6281
|
+
export declare class ConnectionRequestTimeoutError extends ComposioError {
|
|
6067
6282
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6068
6283
|
}
|
|
6069
|
-
declare class ConnectionRequestFailedError extends ComposioError {
|
|
6284
|
+
export declare class ConnectionRequestFailedError extends ComposioError {
|
|
6070
6285
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6071
6286
|
}
|
|
6072
6287
|
//#endregion
|
|
6073
6288
|
//#region src/errors/ToolErrors.d.ts
|
|
6074
|
-
declare const ToolErrorCodes: {
|
|
6289
|
+
export declare const ToolErrorCodes: {
|
|
6075
6290
|
readonly TOOLSET_NOT_DEFINED: "TOOLSET_NOT_DEFINED";
|
|
6076
6291
|
readonly TOOL_NOT_FOUND: "TOOL_NOT_FOUND";
|
|
6292
|
+
readonly TOOL_FETCH_ERROR: "TOOL_FETCH_ERROR";
|
|
6077
6293
|
readonly INVALID_MODIFIER: "INVALID_MODIFIER";
|
|
6078
6294
|
readonly TOOL_EXECUTION_ERROR: "TOOL_EXECUTION_ERROR";
|
|
6079
6295
|
readonly INVALID_TOOL_ARGUMENTS: "INVALID_TOOL_ARGUMENTS";
|
|
@@ -6081,25 +6297,33 @@ declare const ToolErrorCodes: {
|
|
|
6081
6297
|
readonly GLOBAL_EXECUTE_TOOL_FN_NOT_SET: "GLOBAL_EXECUTE_TOOL_FN_NOT_SET";
|
|
6082
6298
|
readonly TOOL_VERSION_REQUIRED: "TOOL_VERSION_REQUIRED";
|
|
6083
6299
|
};
|
|
6084
|
-
declare class ComposioProviderNotDefinedError extends ComposioError {
|
|
6300
|
+
export declare class ComposioProviderNotDefinedError extends ComposioError {
|
|
6085
6301
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6086
6302
|
}
|
|
6087
|
-
declare class ComposioToolNotFoundError extends ComposioError {
|
|
6303
|
+
export declare class ComposioToolNotFoundError extends ComposioError {
|
|
6088
6304
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6089
6305
|
}
|
|
6090
|
-
|
|
6306
|
+
/**
|
|
6307
|
+
* Error thrown when a tool schema could not be fetched for a reason other than
|
|
6308
|
+
* the tool not existing (for example an invalid API key, a server error, or a
|
|
6309
|
+
* network failure). The underlying client error is preserved as `cause`.
|
|
6310
|
+
*/
|
|
6311
|
+
export declare class ComposioToolFetchError extends ComposioError {
|
|
6312
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6313
|
+
}
|
|
6314
|
+
export declare class ComposioInvalidModifierError extends ComposioError {
|
|
6091
6315
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6092
6316
|
}
|
|
6093
|
-
declare class ComposioToolExecutionError extends ComposioError {
|
|
6317
|
+
export declare class ComposioToolExecutionError extends ComposioError {
|
|
6094
6318
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6095
6319
|
}
|
|
6096
|
-
declare class ComposioInvalidToolArgumentsError extends ComposioError {
|
|
6320
|
+
export declare class ComposioInvalidToolArgumentsError extends ComposioError {
|
|
6097
6321
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6098
6322
|
}
|
|
6099
|
-
declare class ComposioInvalidExecuteFunctionError extends ComposioError {
|
|
6323
|
+
export declare class ComposioInvalidExecuteFunctionError extends ComposioError {
|
|
6100
6324
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6101
6325
|
}
|
|
6102
|
-
declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
6326
|
+
export declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
6103
6327
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6104
6328
|
}
|
|
6105
6329
|
/**
|
|
@@ -6165,10 +6389,10 @@ declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
|
6165
6389
|
* });
|
|
6166
6390
|
* ```
|
|
6167
6391
|
*/
|
|
6168
|
-
declare class ComposioToolVersionRequiredError extends ComposioError {
|
|
6392
|
+
export declare class ComposioToolVersionRequiredError extends ComposioError {
|
|
6169
6393
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6170
6394
|
}
|
|
6171
|
-
interface ComposioAPIServerErrorBody {
|
|
6395
|
+
export interface ComposioAPIServerErrorBody {
|
|
6172
6396
|
error: {
|
|
6173
6397
|
message: string;
|
|
6174
6398
|
code: number;
|
|
@@ -6177,16 +6401,16 @@ interface ComposioAPIServerErrorBody {
|
|
|
6177
6401
|
suggested_fix: string;
|
|
6178
6402
|
};
|
|
6179
6403
|
}
|
|
6180
|
-
declare const handleToolExecutionError: (tool: string, actualError: Error) => ComposioError;
|
|
6404
|
+
export declare const handleToolExecutionError: (tool: string, actualError: Error) => ComposioError;
|
|
6181
6405
|
//#endregion
|
|
6182
6406
|
//#region src/errors/ToolkitErrors.d.ts
|
|
6183
|
-
declare const ToolkitErrorCodes: {
|
|
6407
|
+
export declare const ToolkitErrorCodes: {
|
|
6184
6408
|
readonly TOOLKIT_NOT_FOUND: "TOOLKIT_NOT_FOUND";
|
|
6185
6409
|
};
|
|
6186
|
-
declare class ComposioToolkitNotFoundError extends ComposioError {
|
|
6410
|
+
export declare class ComposioToolkitNotFoundError extends ComposioError {
|
|
6187
6411
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6188
6412
|
}
|
|
6189
|
-
declare class ComposioToolkitFetchError extends ComposioError {
|
|
6413
|
+
export declare class ComposioToolkitFetchError extends ComposioError {
|
|
6190
6414
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6191
6415
|
}
|
|
6192
6416
|
//#endregion
|
|
@@ -6194,16 +6418,16 @@ declare class ComposioToolkitFetchError extends ComposioError {
|
|
|
6194
6418
|
/**
|
|
6195
6419
|
* Represents an input validation error using Zod.
|
|
6196
6420
|
*/
|
|
6197
|
-
declare const ValidationErrorCodes: {
|
|
6421
|
+
export declare const ValidationErrorCodes: {
|
|
6198
6422
|
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
6199
6423
|
readonly JSON_SCHEMA_TO_ZOD_ERROR: "JSON_SCHEMA_TO_ZOD_ERROR";
|
|
6200
6424
|
readonly JSON_SCHEMA_REF_RESOLUTION_ERROR: "JSON_SCHEMA_REF_RESOLUTION_ERROR";
|
|
6201
6425
|
};
|
|
6202
|
-
declare class ValidationError extends ComposioError {
|
|
6426
|
+
export declare class ValidationError extends ComposioError {
|
|
6203
6427
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6204
6428
|
private generateUserFriendlyMessage;
|
|
6205
6429
|
}
|
|
6206
|
-
declare class JsonSchemaToZodError extends ComposioError {
|
|
6430
|
+
export declare class JsonSchemaToZodError extends ComposioError {
|
|
6207
6431
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6208
6432
|
}
|
|
6209
6433
|
/**
|
|
@@ -6211,16 +6435,35 @@ declare class JsonSchemaToZodError extends ComposioError {
|
|
|
6211
6435
|
* document. Used by `dereferenceJsonSchema` to surface malformed pointers,
|
|
6212
6436
|
* missing `$defs`/`definitions` targets, or chains exceeding the depth cap.
|
|
6213
6437
|
*/
|
|
6214
|
-
declare class JsonSchemaRefResolutionError extends ComposioError {
|
|
6438
|
+
export declare class JsonSchemaRefResolutionError extends ComposioError {
|
|
6215
6439
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6216
6440
|
}
|
|
6217
6441
|
//#endregion
|
|
6218
6442
|
//#region src/errors/SDKErrors.d.ts
|
|
6219
|
-
declare const SDKErrorCodes: {
|
|
6443
|
+
export declare const SDKErrorCodes: {
|
|
6220
6444
|
NO_API_KEY_PROVIDED: string;
|
|
6445
|
+
API_KEY_KIND_MISMATCH: string;
|
|
6446
|
+
SCOPE_CONFIG_INVALID: string;
|
|
6221
6447
|
REQUEST_CANCELLED: string;
|
|
6222
6448
|
};
|
|
6223
|
-
declare class ComposioNoAPIKeyError extends ComposioError {
|
|
6449
|
+
export declare class ComposioNoAPIKeyError extends ComposioError {
|
|
6450
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6451
|
+
}
|
|
6452
|
+
/**
|
|
6453
|
+
* Thrown when the organization/project scope of an SDK instance is
|
|
6454
|
+
* inconsistent: only one of `orgId` / `projectId` was supplied, or a scope
|
|
6455
|
+
* option disagrees with the same header placed in `defaultHeaders`.
|
|
6456
|
+
*/
|
|
6457
|
+
export declare class ComposioScopeConfigError extends ComposioError {
|
|
6458
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6459
|
+
}
|
|
6460
|
+
/**
|
|
6461
|
+
* Thrown when the only API key the SDK could find is a Composio user key
|
|
6462
|
+
* (`uak_...`, as stored by `composio login`) rather than a project key.
|
|
6463
|
+
* User keys authenticate a person, not a project, so the SDK refuses to send
|
|
6464
|
+
* one as `x-api-key`. The error never includes the key value.
|
|
6465
|
+
*/
|
|
6466
|
+
export declare class ComposioAPIKeyKindError extends ComposioError {
|
|
6224
6467
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6225
6468
|
}
|
|
6226
6469
|
/**
|
|
@@ -6236,7 +6479,7 @@ declare class ComposioNoAPIKeyError extends ComposioError {
|
|
|
6236
6479
|
* }
|
|
6237
6480
|
* ```
|
|
6238
6481
|
*/
|
|
6239
|
-
declare class ComposioRequestCancelledError extends ComposioError {
|
|
6482
|
+
export declare class ComposioRequestCancelledError extends ComposioError {
|
|
6240
6483
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6241
6484
|
}
|
|
6242
6485
|
/**
|
|
@@ -6244,10 +6487,10 @@ declare class ComposioRequestCancelledError extends ComposioError {
|
|
|
6244
6487
|
* so we fall back to `constructor.name` for dual-package-hazard cases.
|
|
6245
6488
|
* @internal
|
|
6246
6489
|
*/
|
|
6247
|
-
declare function isRequestAbortError(error: unknown): boolean;
|
|
6490
|
+
export declare function isRequestAbortError(error: unknown): boolean;
|
|
6248
6491
|
//#endregion
|
|
6249
6492
|
//#region src/errors/TriggerErrors.d.ts
|
|
6250
|
-
declare const TriggerErrorCodes: {
|
|
6493
|
+
export declare const TriggerErrorCodes: {
|
|
6251
6494
|
readonly TRIGGER_FAILED_TO_GET_SDK_REALTIME_CREDENTIALS: "TRIGGER_FAILED_TO_GET_SDK_REALTIME_CREDENTIALS";
|
|
6252
6495
|
readonly TRIGGER_FAILED_TO_CREATE_PUSHER_CLIENT: "TRIGGER_FAILED_TO_CREATE_PUSHER_CLIENT";
|
|
6253
6496
|
readonly TRIGGER_FAILED_TO_SUBSCRIBE_TO_PUSHER_CHANNEL: "TRIGGER_FAILED_TO_SUBSCRIBE_TO_PUSHER_CHANNEL";
|
|
@@ -6256,33 +6499,33 @@ declare const TriggerErrorCodes: {
|
|
|
6256
6499
|
readonly WEBHOOK_SIGNATURE_VERIFICATION_FAILED: "WEBHOOK_SIGNATURE_VERIFICATION_FAILED";
|
|
6257
6500
|
readonly WEBHOOK_PAYLOAD_INVALID: "WEBHOOK_PAYLOAD_INVALID";
|
|
6258
6501
|
};
|
|
6259
|
-
declare class ComposioFailedToGetSDKRealtimeCredentialsError extends ComposioError {
|
|
6502
|
+
export declare class ComposioFailedToGetSDKRealtimeCredentialsError extends ComposioError {
|
|
6260
6503
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6261
6504
|
}
|
|
6262
|
-
declare class ComposioFailedToCreatePusherClientError extends ComposioError {
|
|
6505
|
+
export declare class ComposioFailedToCreatePusherClientError extends ComposioError {
|
|
6263
6506
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6264
6507
|
}
|
|
6265
|
-
declare class ComposioFailedToSubscribeToPusherChannelError extends ComposioError {
|
|
6508
|
+
export declare class ComposioFailedToSubscribeToPusherChannelError extends ComposioError {
|
|
6266
6509
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6267
6510
|
}
|
|
6268
|
-
declare class ComposioFailedToUnsubscribeFromPusherChannelError extends ComposioError {
|
|
6511
|
+
export declare class ComposioFailedToUnsubscribeFromPusherChannelError extends ComposioError {
|
|
6269
6512
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6270
6513
|
}
|
|
6271
|
-
declare class ComposioTriggerTypeNotFoundError extends ComposioError {
|
|
6514
|
+
export declare class ComposioTriggerTypeNotFoundError extends ComposioError {
|
|
6272
6515
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6273
6516
|
}
|
|
6274
|
-
declare class ComposioWebhookSignatureVerificationError extends ComposioError {
|
|
6517
|
+
export declare class ComposioWebhookSignatureVerificationError extends ComposioError {
|
|
6275
6518
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6276
6519
|
}
|
|
6277
|
-
declare class ComposioWebhookPayloadError extends ComposioError {
|
|
6520
|
+
export declare class ComposioWebhookPayloadError extends ComposioError {
|
|
6278
6521
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6279
6522
|
}
|
|
6280
6523
|
//#endregion
|
|
6281
6524
|
//#region src/errors/RemoteFileErrors.d.ts
|
|
6282
|
-
declare const RemoteFileErrorCodes: {
|
|
6525
|
+
export declare const RemoteFileErrorCodes: {
|
|
6283
6526
|
readonly DOWNLOAD_FAILED: "REMOTE_FILE_DOWNLOAD_FAILED";
|
|
6284
6527
|
};
|
|
6285
|
-
interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6528
|
+
export interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6286
6529
|
/** HTTP status code from the failed response */
|
|
6287
6530
|
statusCode?: number;
|
|
6288
6531
|
/** HTTP status text (e.g. "Not Found", "Forbidden") */
|
|
@@ -6298,19 +6541,19 @@ interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'cod
|
|
|
6298
6541
|
* Error thrown when fetching a remote file from a tool router session mount fails.
|
|
6299
6542
|
* Includes HTTP status, URL, and file path context for debugging.
|
|
6300
6543
|
*/
|
|
6301
|
-
declare class RemoteFileDownloadError extends ComposioError {
|
|
6544
|
+
export declare class RemoteFileDownloadError extends ComposioError {
|
|
6302
6545
|
constructor(message?: string, options?: RemoteFileDownloadErrorOptions);
|
|
6303
6546
|
}
|
|
6304
6547
|
//#endregion
|
|
6305
6548
|
//#region src/errors/FileModifierErrors.d.ts
|
|
6306
|
-
declare const FileModifierErrorCodes: {
|
|
6549
|
+
export declare const FileModifierErrorCodes: {
|
|
6307
6550
|
readonly FILE_UPLOAD_FAILED: "FILE_UPLOAD_FAILED";
|
|
6308
6551
|
readonly SENSITIVE_FILE_PATH_BLOCKED: "SENSITIVE_FILE_PATH_BLOCKED";
|
|
6309
6552
|
readonly FILE_UPLOAD_ABORTED: "FILE_UPLOAD_ABORTED";
|
|
6310
6553
|
readonly FILE_UPLOAD_PATH_NOT_ALLOWED: "FILE_UPLOAD_PATH_NOT_ALLOWED";
|
|
6311
6554
|
readonly FILE_NOT_FOUND: "FILE_NOT_FOUND";
|
|
6312
6555
|
};
|
|
6313
|
-
declare class ComposioFileUploadError extends ComposioError {
|
|
6556
|
+
export declare class ComposioFileUploadError extends ComposioError {
|
|
6314
6557
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6315
6558
|
}
|
|
6316
6559
|
/**
|
|
@@ -6318,13 +6561,13 @@ declare class ComposioFileUploadError extends ComposioError {
|
|
|
6318
6561
|
* credential-like file name). Subclass of {@link ComposioFileUploadError} so existing
|
|
6319
6562
|
* `instanceof ComposioFileUploadError` handlers still apply.
|
|
6320
6563
|
*/
|
|
6321
|
-
declare class ComposioSensitiveFilePathBlockedError extends ComposioFileUploadError {
|
|
6564
|
+
export declare class ComposioSensitiveFilePathBlockedError extends ComposioFileUploadError {
|
|
6322
6565
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6323
6566
|
}
|
|
6324
6567
|
/**
|
|
6325
6568
|
* Thrown when a `beforeFileUpload` hook returns `false`.
|
|
6326
6569
|
*/
|
|
6327
|
-
declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
6570
|
+
export declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
6328
6571
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6329
6572
|
}
|
|
6330
6573
|
/**
|
|
@@ -6335,7 +6578,7 @@ declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
|
6335
6578
|
* `dangerouslyAllowAutoUploadDownloadFiles: true`). Manual `composio.files.upload()`
|
|
6336
6579
|
* calls are never subject to this check.
|
|
6337
6580
|
*/
|
|
6338
|
-
declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadError {
|
|
6581
|
+
export declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadError {
|
|
6339
6582
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6340
6583
|
}
|
|
6341
6584
|
/**
|
|
@@ -6343,15 +6586,15 @@ declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadEr
|
|
|
6343
6586
|
* Provides extra debugging context (resolved absolute path, cwd, allowlist state)
|
|
6344
6587
|
* to help the caller distinguish between "typo" and "not-allowlisted" failures.
|
|
6345
6588
|
*/
|
|
6346
|
-
declare class ComposioFileNotFoundError extends ComposioFileUploadError {
|
|
6589
|
+
export declare class ComposioFileNotFoundError extends ComposioFileUploadError {
|
|
6347
6590
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6348
6591
|
}
|
|
6349
6592
|
//#endregion
|
|
6350
6593
|
//#region src/errors/SsrfErrors.d.ts
|
|
6351
|
-
declare const SsrfErrorCodes: {
|
|
6594
|
+
export declare const SsrfErrorCodes: {
|
|
6352
6595
|
readonly BLOCKED_INTERNAL_URL: "BLOCKED_INTERNAL_URL";
|
|
6353
6596
|
};
|
|
6354
|
-
interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6597
|
+
export interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6355
6598
|
/** The user-supplied URL that was refused. */
|
|
6356
6599
|
url?: string;
|
|
6357
6600
|
/** The resolved address that tripped the guard, when known. */
|
|
@@ -6365,8 +6608,37 @@ interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptio
|
|
|
6365
6608
|
* (SSRF) probe of internal infrastructure such as cloud metadata endpoints
|
|
6366
6609
|
* (`169.254.169.254`).
|
|
6367
6610
|
*/
|
|
6368
|
-
declare class ComposioBlockedInternalUrlError extends ComposioError {
|
|
6611
|
+
export declare class ComposioBlockedInternalUrlError extends ComposioError {
|
|
6369
6612
|
constructor(message?: string, options?: ComposioBlockedInternalUrlErrorOptions);
|
|
6370
6613
|
}
|
|
6371
6614
|
//#endregion
|
|
6372
|
-
export { AgenticToolOptions, AnyZodSchema, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BUILTIN_FILE_UPLOAD_PATH_DENY_SEGMENTS, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BeforeFileUploadSource, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAclOnlyForSharedError, ComposioAuthConfigNotFoundError, ComposioBlockedInternalUrlError, ComposioBlockedInternalUrlErrorOptions, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioFileNotFoundError, ComposioFileUploadAbortedError, ComposioFileUploadError, ComposioFileUploadPathNotAllowedError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioInvalidToolArgumentsError, ComposioLegacyConnectedAccountsEndpointRetiredError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioRequestCancelledError, ComposioRequestOptions, ComposioSensitiveFilePathBlockedError, ComposioSharedAccessDeniedError, ComposioSharedConnectionNotAccessibleError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAclConfig, ConnectedAccountAclConfigResponse, ConnectedAccountAclConfigResponseSchema, ConnectedAccountAclConfigSchema, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountExperimental, ConnectedAccountExperimentalResponse, ConnectedAccountExperimentalResponseSchema, ConnectedAccountExperimentalSchema, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectedAccountType, ConnectedAccountTypeSchema, ConnectedAccountTypes, ConnectionData, ConnectionDataSchema, ConnectionExpiredEvent, ConnectionExpiredEventSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolResponse, CustomToolSlugSchema, CustomToolWireDefinition, CustomToolkit, CustomToolkitDefinition, CustomToolkitResponse, CustomToolkitWireDefinition, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, DefaultWebhookSubscriptionEvents, type DereferenceJsonSchemaOptions, ErrorHandleOptions, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, Experimental, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, FileModifierErrorCodes, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InferZodSchema, InlineCustomToolsWirePayload, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaRefResolutionError, JsonSchemaToZodError, type KeyMapping, type KeySanitizationPolicy, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, Oauth2RevokedConnectionData, Oauth2RevokedConnectionDataSchema, OpenAIProvider, ParseWebhookOptions, Provider, ProviderOptions, RedirectableAuthSchemeSchema, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, RemoteFileDownloadError, RemoteFileDownloadErrorOptions, RemoteFileErrorCodes, SDKErrorCodes, SandboxSize, SandboxSizeSchema, SchemaModifierOptions, Session, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionPreset, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SessionWithoutMcp, Sessions, SetWebhookSubscriptionParams, SetWebhookSubscriptionParamsSchema, SingleConnectedAccountDetailedResponse, SingleConnectedAccountDetailedResponseSchema, SsrfErrorCodes, type StrictJsonSchemaResult, type StrictSchemaChange, type StrictSchemaChangeReason, type StrictSchemaIncompatibility, Tool, ToolCallExecutionTarget, ToolCallSession, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSandboxConfig, ToolRouterSandboxConfigSchema, ToolRouterSession, ToolRouterSessionDeleteFn, ToolRouterSessionDeleteResponse, ToolRouterSessionDeleteResponseSchema, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteOptions, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionMetadata, ToolRouterSessionPreloadConfig, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, ToolRouterSessionUpdateFn, ToolRouterSessionWarning, ToolRouterSessionWorkbenchConfig, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolRouterUpdateSessionConfig, ToolRouterUpdateSessionConfigSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, type UnresolvedRefReason, type UnresolvedRefStrategy, UpdateConnectedAccountAclParams, UpdateConnectedAccountAclParamsSchema, type UpdateConnectedAccountParams, UpdateConnectedAccountParamsSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookConnectedAccountAuthConfig, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadata, WebhookConnectionMetadataSchema, WebhookConnectionState, WebhookConnectionStateSchema, WebhookEvent, WebhookEventSchema, WebhookEventType, WebhookEventTypes, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookRequestLike, WebhookSubscription, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, assertSafeFileUploadPath, beforeExecuteMetaModifier, beforeExecuteModifier, beforeFileUploadModifier, constants_d_exports as constants, createConnectionRequest, deduplicateJsonSchemaRequiredArrays, dereferenceJsonSchema, ensureObjectTypeOnProperties, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, getExtensionFromMimeType, handleToolExecutionError, isBlockedSensitiveFileUploadPath, isRequestAbortError, jsonSchemaToZodSchema, logger, mappingHasRenames, normalizeToolArguments, omitNullToolArguments, removeNonRequiredProperties, restoreOriginalKeys, sanitizeSchemaPropertyKeys, telemetry, toStrictJsonSchema };
|
|
6615
|
+
//#region src/errors/ToolRouterErrors.d.ts
|
|
6616
|
+
export declare const ToolRouterErrorCodes: {
|
|
6617
|
+
MCP_DESTINATION_REJECTED: string;
|
|
6618
|
+
SESSION_CONFIG_CONFLICT: string;
|
|
6619
|
+
};
|
|
6620
|
+
/**
|
|
6621
|
+
* Thrown when a session's hosted MCP endpoint is not a destination the SDK
|
|
6622
|
+
* will hand the session credential to. The SDK only attaches its credential
|
|
6623
|
+
* and scope headers when the MCP URL shares the origin of the API base URL
|
|
6624
|
+
* the session was created against. The error is raised only when the caller
|
|
6625
|
+
* asked for the endpoint with `mcp: true`; otherwise the session is returned
|
|
6626
|
+
* with empty `mcp.headers` and a warning is logged instead. The error names
|
|
6627
|
+
* both origins and never includes a credential value.
|
|
6628
|
+
*/
|
|
6629
|
+
export declare class ComposioMCPDestinationError extends ComposioError {
|
|
6630
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6631
|
+
}
|
|
6632
|
+
/**
|
|
6633
|
+
* Thrown when a session update is rejected with HTTP 409 because the session
|
|
6634
|
+
* configuration changed since it was last read: the `expected_config_version`
|
|
6635
|
+
* precondition (the session's last observed `configVersion` by default) is
|
|
6636
|
+
* stale. The local session object is left as it was before the call.
|
|
6637
|
+
* Re-fetch the session with `sessions.use(sessionId)` and retry the update
|
|
6638
|
+
* against the fresh `configVersion`.
|
|
6639
|
+
*/
|
|
6640
|
+
export declare class ComposioSessionConfigConflictError extends ComposioError {
|
|
6641
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6642
|
+
}
|
|
6643
|
+
//#endregion
|
|
6644
|
+
export { AgenticToolOptions, AnyZodSchema, AuthConfigCreationToolAccessConfigSchema, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BeforeFileUploadSource, BillcomAuthConnectionDataSchema, Composio, ComposioCustomCreateResponseSchema, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, type ComposioLogger, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioRequestOptions, ConnectedAccountAclConfig, ConnectedAccountAclConfigResponse, ConnectedAccountAclConfigResponseSchema, ConnectedAccountAclConfigSchema, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountCompleteAuthParams, ConnectedAccountCompleteAuthParamsSchema, ConnectedAccountCompleteAuthResponse, ConnectedAccountCompleteAuthResponseSchema, ConnectedAccountExperimental, ConnectedAccountExperimentalResponse, ConnectedAccountExperimentalResponseSchema, ConnectedAccountExperimentalSchema, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountRevokeResponse, ConnectedAccountRevokeResponseSchema, ConnectedAccountRevokedToken, ConnectedAccountRevokedTokenSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectedAccountType, ConnectedAccountTypeSchema, ConnectedAccountTypes, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestState, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolResponse, CustomToolSlugSchema, CustomToolWireDefinition, CustomToolkit, CustomToolkitAuthScheme, CustomToolkitAuthSchemeSchema, CustomToolkitDefinition, CustomToolkitDeleteResponse, CustomToolkitDeleteResponseSchema, CustomToolkitResponse, CustomToolkitSyncParams, CustomToolkitSyncParamsSchema, CustomToolkitSyncResponse, CustomToolkitSyncResponseSchema, CustomToolkitUpsertParams, CustomToolkitUpsertParamsSchema, CustomToolkitUpsertResponse, CustomToolkitUpsertResponseSchema, CustomToolkitWireDefinition, CustomToolkits, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, DefaultWebhookSubscriptionEvents, type DereferenceJsonSchemaOptions, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, Experimental, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InferZodSchema, InlineCustomToolsWirePayload, JSONSchemaProperty, JSONSchemaPropertySchema, type KeyMapping, type KeySanitizationPolicy, Keyring, KeyringTransferKey, KeyringTransferKeySchema, KeyringTransferKeysResponse, KeyringTransferKeysResponseSchema, type LogLevel, LogSearchFilter, LogSearchFilterField, LogSearchFilterFieldSchema, LogSearchFilterOperator, LogSearchFilterOperatorSchema, LogSearchFilterSchema, LogSearchParams, LogSearchParamsSchema, LogSearchResponse, LogSearchResponseSchema, LogSearchTimeRange, LogSearchTimeRangeSchema, Logs, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, Oauth2RevokedConnectionData, Oauth2RevokedConnectionDataSchema, OpenAIProvider, ParseWebhookOptions, Provider, ProviderOptions, RedirectableAuthSchemeSchema, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, SandboxSize, SandboxSizeSchema, SchemaModifierOptions, Session, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionPreset, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SessionWithoutMcp, Sessions, SetWebhookSubscriptionParams, SetWebhookSubscriptionParamsSchema, type StrictJsonSchemaResult, type StrictSchemaChange, type StrictSchemaChangeReason, type StrictSchemaIncompatibility, Tool, ToolCallExecutionTarget, ToolCallSession, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolExecutionLog, ToolExecutionLogDetail, ToolExecutionLogDetailSchema, ToolExecutionLogLevelSchema, ToolExecutionLogParentSchema, ToolExecutionLogSchema, ToolExecutionLogStatusSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSandboxConfig, ToolRouterSandboxConfigSchema, ToolRouterSessionConfig, ToolRouterSessionConfigHistoryConfig, ToolRouterSessionConfigHistoryItem, ToolRouterSessionDeleteFn, ToolRouterSessionDeleteResponse, ToolRouterSessionDeleteResponseSchema, ToolRouterSessionEnsureConnectedFn, ToolRouterSessionEnsureConnectedOptions, ToolRouterSessionEnsureConnectedOptionsSchema, ToolRouterSessionEnsureConnectedResult, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteOptions, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionListConfigHistoryFn, ToolRouterSessionListConfigHistoryOptions, ToolRouterSessionListConfigHistoryOptionsSchema, ToolRouterSessionListConfigHistoryResponse, ToolRouterSessionMetadata, ToolRouterSessionPreloadConfig, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, ToolRouterSessionUpdateFn, ToolRouterSessionWarning, ToolRouterSessionWorkbenchConfig, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolRouterUpdateExperimentalConfig, ToolRouterUpdateExperimentalSchema, ToolRouterUpdateManageConnectionsConfig, ToolRouterUpdateManageConnectionsSchema, ToolRouterUpdateSessionConfig, ToolRouterUpdateSessionConfigSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitChangelogItem, ToolkitChangelogItemSchema, ToolkitChangelogResponse, ToolkitChangelogResponseSchema, ToolkitConditionalScope, ToolkitConditionalScopeSchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitGetManyParams, ToolkitGetManySlugsSchema, ToolkitGrantContextDimension, ToolkitGrantContextDimensionSchema, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListGrantContextsParams, ToolkitListGrantContextsParamsSchema, ToolkitListGrantContextsResponse, ToolkitListGrantContextsResponseSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRecommendScopesParams, ToolkitRecommendScopesParamsSchema, ToolkitRecommendScopesResponse, ToolkitRecommendScopesResponseSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionChangelog, ToolkitVersionChangelogSchema, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsGetManyParamsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, type UnresolvedRefReason, type UnresolvedRefStrategy, UpdateConnectedAccountAclParams, UpdateConnectedAccountAclParamsSchema, type UpdateConnectedAccountParams, UpdateConnectedAccountParamsSchema, Usage, UsageBreakdownGroup, UsageBreakdownGroupSchema, UsageBreakdownParams, UsageBreakdownParamsSchema, UsageBreakdownResponse, UsageBreakdownResponseSchema, UsageEntitySummary, UsageEntitySummarySchema, UsageFilters, UsageFiltersSchema, UsageOrderBySchema, UsageOrderDirectionSchema, UsageSummaryParams, UsageSummaryParamsSchema, UsageSummaryResponse, UsageSummaryResponseSchema, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookEndpoint, WebhookEndpointCreateParams, WebhookEndpointCreateParamsSchema, WebhookEndpointListItem, WebhookEndpointListItemSchema, WebhookEndpointListParams, WebhookEndpointListParamsSchema, WebhookEndpointListResponse, WebhookEndpointListResponseSchema, WebhookEndpointReplaceParams, WebhookEndpointReplaceParamsSchema, WebhookEndpointSchema, WebhookEndpointUpdateParams, WebhookEndpointUpdateParamsSchema, WebhookEndpoints, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookRequestLike, WebhookSubscription, WebhookSubscriptionDeleteResponse, WebhookSubscriptionDeleteResponseSchema, WebhookSubscriptionEventType, WebhookSubscriptionEventTypeSchema, WebhookSubscriptionEventTypesResponse, WebhookSubscriptionEventTypesResponseSchema, WebhookSubscriptionListParams, WebhookSubscriptionListParamsSchema, WebhookSubscriptionListResponse, WebhookSubscriptionListResponseSchema, WebhookSubscriptionRotateSecretResponse, WebhookSubscriptionRotateSecretResponseSchema, WebhookSubscriptionSchema, WebhookSubscriptionSetParams, WebhookSubscriptionSetParamsSchema, WebhookSubscriptionUpdateParams, WebhookSubscriptionUpdateParamsSchema, WebhookSubscriptions, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersionSchema, WebhookVersions, Webhooks, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, beforeFileUploadModifier, constants_d_exports as constants, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, logger };
|