@composio/core 0.18.1 → 1.0.0-beta.1
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-Bz0f52QR.mjs → CustomTool-CM-roKk7.mjs} +1 -1
- package/dist/{CustomTool-VRfWzMix.d.mts → CustomTool-yMQjEyMz.d.mts} +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-BEpFk2S8.mjs} +7 -5
- package/dist/{composio-Cb3d1jFe.d.mts → composio-BVNJTVYa.d.mts} +2449 -118
- package/dist/{customTool.types-B6ej_8XZ.d.mts → customTool.types-CY5SXFfF.d.mts} +118 -5
- package/dist/{errors-Ue9wMrPK.mjs → errors-CvZjP9CH.mjs} +39 -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-HQsywtTj.mjs} +8 -6
- package/dist/index.d.mts +292 -140
- package/dist/index.mjs +1914 -160
- 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-BK50mYTq.mjs} +94 -8
- package/dist/{types-CGdgK442.d.mts → types-CqGfjlZg.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 +7 -7
- package/dist/utils/ssrfGuard.node.mjs +1 -1
- package/dist/utils/ssrfGuard.workerd.d.mts +3 -4
- package/dist/utils/ssrfGuard.workerd.mjs +1 -1
- package/package.json +7 -7
- package/src/composio.ts +86 -2
- package/src/errors/ConnectedAccountsErrors.ts +47 -0
- package/src/index.ts +15 -0
- 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/ToolRouterSession.ts +51 -0
- package/src/models/Toolkits.ts +180 -0
- package/src/models/Tools.ts +3 -1
- package/src/models/Triggers.ts +2 -87
- package/src/models/Usage.ts +119 -0
- package/src/models/Webhooks.ts +520 -0
- 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 +49 -1
- package/src/types/toolkit.types.ts +131 -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/ssrfGuard.node.ts +98 -7
- 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 +100 -1
- 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 ToolRouterSessionDeleteResponse, $i as afterExecuteModifier, $n as ComposioMcpRetrieveResponseSchema, $r as ToolCallSession, $t as ConnectedAccountAclConfigSchema, A as SessionProxyExecuteParams, Aa as ToolkitVersionParamSchema, Ai as Oauth2ExpiredConnectionData, An as CreateConnectedAccountLinkOptions, Ar as MCPToolkitConfig, At as ToolkitConnectionsDetails, B as ToolRouterCreateSessionConfigSchema, Bi as Oauth2RevokedConnectionData, Bn as DefaultCreateConnectedAccountParamsSchema, Br as McpServerGetResponse, Bt as ToolRouterSessionFilesMountDeleteOptionsSchema, C as MCPServerType, Ca as ToolSchema, Ci as Oauth1InitiatedConnectionDataSchema, Cn as ConnectedAccountStatus, Cr as MCPServerListResponse, Ct as ToolRouterToolsFn, D as Session, Da as ToolkitSchema, Di as Oauth2ActiveConnectionDataSchema, Dn as ConnectedAccountType, Dr as MCPServerUpdateParamsSchema, Dt as ToolRouterUpdateSessionConfigSchema, E as SandboxSizeSchema, Ea as ToolkitLatestVersionSchema, Ei as Oauth2ActiveConnectionData, En as ConnectedAccountStatuses, Er as MCPServerUpdateParams, Et as ToolRouterUpdateSessionConfig, F as ToolRouterConfigTags, Fi as Oauth2InactiveConnectionDataSchema, Fn as CreateConnectedAccountOptionsSchema, Fr as McpListResponse, Ft as FileListResponse, G as ToolRouterSandboxConfigSchema, Gi as ExecuteToolModifiers, Gn as BaseAgenticProvider, Gr as McpUrlResponse, Gt as ToolRouterSessionFilesMountUploadOptions, H as ToolRouterMCPServerConfigSchema, Hi as RedirectableAuthSchemeSchema, Hn as UpdateConnectedAccountAclParamsSchema, Hr as McpToolkitConnectionStatus, Ht as ToolRouterSessionFilesMountDownloadOptionsSchema, I as ToolRouterConfigTagsSchema, Ii as Oauth2InitiatedConnectionData, In as CreateConnectedAccountParams, Ir as McpListResponseSchema, It as FileListResponseSchema, J as ToolRouterSessionConfigHistoryItem, Ji as SessionExecuteMetaModifiers, Jn as ComposioCustomCreateResponseSchema, Jr as ExecuteToolFn, Jt as ConnectionRequest, K as ToolRouterSessionConfigHistoryConfig, Ki as MetaToolArguments, Kn as BaseComposioProvider, Kr as McpUrlResponseCamelCase, Kt as ToolRouterSessionFilesMountUploadOptionsSchema, L as ToolRouterConfigTools, Li as Oauth2InitiatedConnectionDataSchema, Ln as CreateConnectedAccountParamsSchema, Lr as McpRetrieveResponse, Lt as RemoteFileData, M as SessionWithoutMcp, Ma as ToolkitVersions, Mi as Oauth2FailedConnectionData, Mn as CreateConnectedAccountLinkResponse, Mr as MCPToolkitConfigsArraySchema, Mt as RemoteFile, N as ToolRouterAuthorizeFn, Na as ToolkitVersionsSchema, Ni as Oauth2FailedConnectionDataSchema, Nn as CreateConnectedAccountLinkResponseSchema, Nr as McpDeleteResponse, Nt as FileDeleteResponse, O as SessionExperimental, Oa as ToolkitVersion, Oi as Oauth2ConnectionData, On as ConnectedAccountTypeSchema, Or as MCPSingleAppServer, Ot as ToolkitConnectionState, P as ToolRouterConfigManageConnectionsSchema, Pi as Oauth2InactiveConnectionData, Pn as CreateConnectedAccountOptions, Pr as McpDeleteResponseSchema, Pt as FileDeleteResponseSchema, Q as ToolRouterSessionDeleteFn, Qi as afterExecuteMetaModifier, Qn as ComposioMcpListResponseSchema, Qr as ToolCallExecutionTarget, Qt as ConnectedAccountAclConfigResponseSchema, R as ToolRouterConfigToolsSchema, Ri as Oauth2InitiatingConnectionData, Rn as CreateConnectedAccountResponse, Rr as McpRetrieveResponseSchema, Rt as RemoteFileDataSchema, S as SessionContext, Sa as ToolRetrievalOptions, Si as Oauth1InitiatedConnectionData, Sn as ConnectedAccountRevokedTokenSchema, Sr as MCPServerCreateResponseSchema, St as ToolRouterToolkitsParamSchema, T as SandboxSize, Ta as ToolkitLatestVersion, Ti as Oauth1InitiatingConnectionDataSchema, Tn as ConnectedAccountStatusSchema, Tr as MCPServerSchema, Tt as ToolRouterToolsParamSchema, U as ToolRouterManageConnectionsConfigSchema, Ui as AgenticToolOptions, Un as UpdateConnectedAccountParams, Ur as McpUpdateResponse, Ut as ToolRouterSessionFilesMountListOptions, V as ToolRouterMCPServerConfig, Vi as Oauth2RevokedConnectionDataSchema, Vn as UpdateConnectedAccountAclParams, Vr as McpServerUrlInfo, Vt as ToolRouterSessionFilesMountDownloadOptions, W as ToolRouterSandboxConfig, Wi as BeforeFileUploadSource, Wn as UpdateConnectedAccountParamsSchema, Wr as McpUpdateResponseSchema, Wt as ToolRouterSessionFilesMountListOptionsSchema, X as ToolRouterSessionConfigHistoryOptionsSchema, Xi as ToolOptions, Xn as ComposioGenerateURLResponseSchema, Xr as GlobalExecuteToolFn, Xt as ConnectedAccountAclConfig, Y as ToolRouterSessionConfigHistoryOptions, Yi as SessionMetaToolOptions, Yn as ComposioGenerateURLParamsSchema, Yr as ExecuteToolFnOptions, Yt as ConnectionRequestState, Z as ToolRouterSessionConfigHistoryResponse, Zi as TransformToolSchemaModifier, Zn as ComposioMcpDeleteResponseSchema, Zr as Provider, Zt as ConnectedAccountAclConfigResponse, _ as CustomToolsMapEntry, _a as ToolListParamsSchema, _i as Oauth1ExpiredConnectionDataSchema, _n as ConnectedAccountRetrieveResponse, _r as MCPInstanceParams, _t as ToolRouterToolkitsDisabledConfigSchema, a as CreateCustomToolkitParams, aa as JSONSchemaProperty, ai as ConnectionStatuses, an as ConnectedAccountCompleteAuthResponseSchema, ar as GenerateURLParams, at as ToolRouterSessionMetadata, b as RegisteredCustomTool, ba as ToolProxyParams, bi as Oauth1InactiveConnectionData, bn as ConnectedAccountRevokeResponseSchema, br as MCPServer, bt as ToolRouterToolkitsOptions, c as CustomToolExecuteFn, ca as Tool, ci as CustomOauth1ConnectionData, cn as ConnectedAccountExperimentalResponseSchema, cr as GenerateURLResponseSchema, ct as ToolRouterSessionProxyExecuteResponse, d as CustomToolWireDefinition, da as ToolExecuteParams, di as CustomOauth2ConnectionDataSchema, dn as ConnectedAccountListParamsSchema, dr as MCPAuthOptionsSchema, dt as ToolRouterSessionSearchResponseSchema, ea as beforeExecuteMetaModifier, ei as BaseConnectionFields, en as ConnectedAccountAuthConfig, er as ComposioMcpUpdateResponseSchema, et as ToolRouterSessionDeleteResponseSchema, f as CustomToolkit, fa as ToolExecuteParamsSchema, fi as Oauth1ActiveConnectionData, fn as ConnectedAccountListResponse, fr as MCPCreateMethodResponse, ft as ToolRouterSessionUpdateFn, g as CustomToolsMap, ga as ToolListParams, gi as Oauth1ExpiredConnectionData, gn as ConnectedAccountRefreshOptionsSchema, gr as MCPGetServerParamsSchema, gt as ToolRouterTagsParamSchema, h as CustomToolkitWireDefinition, ha as ToolList, hi as Oauth1ConnectionDataSchema, hn as ConnectedAccountRefreshOptions, hr as MCPGetServerParams, ht as ToolRouterTagsEnableDisableSchema, i as CreateCustomToolkitBaseSchema, ia as CustomAuthParamsSchema, ii as ConnectionStatusEnum, in as ConnectedAccountCompleteAuthResponse, ir as CustomCreateResponseValidated, it as ToolRouterSessionExecuteResponseSchema, j as SessionProxyExecuteParamsSchema, ja as ToolkitVersionSchema, ji as Oauth2ExpiredConnectionDataSchema, jn as CreateConnectedAccountLinkOptionsSchema, jr as MCPToolkitConfigSchema, jt as ToolkitConnectionsDetailsSchema, k as SessionPreset, ka as ToolkitVersionParam, ki as Oauth2ConnectionDataSchema, kn as ConnectedAccountTypes, kr as MCPSingleAppServerSchema, kt as ToolkitConnectionStateSchema, l as CustomToolResponse, la as ToolExecuteMetaParams, li as CustomOauth1ConnectionDataSchema, ln as ConnectedAccountExperimentalSchema, lr as GenerateURLResponseValidated, lt as ToolRouterSessionSearchFn, m as CustomToolkitResponse, ma as ToolExecuteResponseSchema, mi as Oauth1ConnectionData, mn as ConnectedAccountListResponseSchema, mr as MCPGenerateURLParamsSchema, mt as ToolRouterSessionWorkbenchConfig, n as CreateCustomToolBaseSchema, na as beforeFileUploadModifier, ni as ConnectionData, nn as ConnectedAccountCompleteAuthParams, nr as CustomCreateResponse, nt as ToolRouterSessionExecuteOptions, o as CustomTool, oa as JSONSchemaPropertySchema, oi as CustomConnectionData, on as ConnectedAccountExperimental, or as GenerateURLParamsSchema, ot as ToolRouterSessionPreloadConfig, p as CustomToolkitDefinition, pa as ToolExecuteResponse, pi as Oauth1ActiveConnectionDataSchema, pn as ConnectedAccountListResponseItem, pr as MCPGenerateURLParams, pt as ToolRouterSessionWarning, q as ToolRouterSessionConfigHistoryFn, qi as ProviderOptions, qn as BaseNonAgenticProvider, qr as McpUserConnectionStatus, qt as ComposioRequestOptions, r as CreateCustomToolParams, ra as CustomAuthParams, ri as ConnectionDataSchema, rn as ConnectedAccountCompleteAuthParamsSchema, rr as CustomCreateResponseSchema, rt as ToolRouterSessionExecuteResponse, s as CustomToolDefinition, sa as SchemaModifierOptions, si as CustomConnectionDataSchema, sn as ConnectedAccountExperimentalResponse, sr as GenerateURLResponse, st as ToolRouterSessionProxyExecuteFn, t as AnyZodSchema, ta as beforeExecuteModifier, ti as BillcomAuthConnectionDataSchema, tn as ConnectedAccountAuthConfigSchema, tr as ConnectionStatus, tt as ToolRouterSessionExecuteFn, u as CustomToolSlugSchema, ua as ToolExecuteMetaParamsSchema, ui as CustomOauth2ConnectionData, un as ConnectedAccountListParams, ur as MCPAuthOptions, ut as ToolRouterSessionSearchResponse, v as InferZodSchema, va as ToolListResponse, vi as Oauth1FailedConnectionData, vn as ConnectedAccountRetrieveResponseSchema, vr as MCPMultiAppServer, vt as ToolRouterToolkitsEnabledConfigSchema, w as MCPServerTypeSchema, wa as Toolkit, wi as Oauth1InitiatingConnectionData, wn as ConnectedAccountStatusEnum, wr as MCPServerListResponseSchema, wt as ToolRouterToolsParam, x as RegisteredCustomToolkit, xa as ToolProxyParamsSchema, xi as Oauth1InactiveConnectionDataSchema, xn as ConnectedAccountRevokedToken, xr as MCPServerCreateResponse, xt as ToolRouterToolkitsOptionsSchema, y as InlineCustomToolsWirePayload, ya as ToolListResponseSchema, yi as Oauth1FailedConnectionDataSchema, yn as ConnectedAccountRevokeResponse, yr as MCPMultiAppServerSchema, yt as ToolRouterToolkitsFn, z as ToolRouterCreateSessionConfig, zi as Oauth2InitiatingConnectionDataSchema, zn as CreateConnectedAccountResponseSchema, zr as McpServerCreateResponse, zt as ToolRouterSessionFilesMountDeleteOptions } from "./customTool.types-CY5SXFfF.mjs";
|
|
2
|
+
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-yMQjEyMz.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-BVNJTVYa.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,7 +544,7 @@ 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
549
|
private readonly config;
|
|
539
550
|
private readonly customToolsMap?;
|
|
@@ -681,6 +692,23 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
681
692
|
* an already-deleted session surfaces the backend 404.
|
|
682
693
|
*/
|
|
683
694
|
delete(requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionDeleteResponse>;
|
|
695
|
+
/**
|
|
696
|
+
* Page through this session's configuration history, newest first. The
|
|
697
|
+
* first page starts with the live config (`isCurrent: true`); every
|
|
698
|
+
* `session.update()` archives the previous version as a history row.
|
|
699
|
+
*
|
|
700
|
+
* @param options - Optional `cursor` and `limit` (max 100)
|
|
701
|
+
* @returns The config versions on this page plus pagination info
|
|
702
|
+
* @throws {ValidationError} If the options fail validation
|
|
703
|
+
*
|
|
704
|
+
* @example
|
|
705
|
+
* ```typescript
|
|
706
|
+
* const { items, nextCursor } = await session.configHistory({ limit: 10 });
|
|
707
|
+
* console.log(items[0].version, items[0].isCurrent); // e.g. 3, true
|
|
708
|
+
* console.log(items[1].config.toolkits);
|
|
709
|
+
* ```
|
|
710
|
+
*/
|
|
711
|
+
configHistory(options?: ToolRouterSessionConfigHistoryOptions, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionConfigHistoryResponse>;
|
|
684
712
|
/** Check if this session has any custom tools bound. */
|
|
685
713
|
private hasCustomTools;
|
|
686
714
|
private executeBackendSessionTool;
|
|
@@ -695,11 +723,11 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
695
723
|
}
|
|
696
724
|
//#endregion
|
|
697
725
|
//#region src/types/webhookEvents.types.d.ts
|
|
698
|
-
declare const WebhookEventTypes: {
|
|
726
|
+
export declare const WebhookEventTypes: {
|
|
699
727
|
readonly CONNECTION_EXPIRED: "composio.connected_account.expired";
|
|
700
728
|
readonly TRIGGER_MESSAGE: "composio.trigger.message";
|
|
701
729
|
};
|
|
702
|
-
type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventTypes];
|
|
730
|
+
export type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventTypes];
|
|
703
731
|
/**
|
|
704
732
|
* Auth config schema for webhook payloads (raw API format, snake_case).
|
|
705
733
|
*
|
|
@@ -714,7 +742,7 @@ type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventType
|
|
|
714
742
|
*
|
|
715
743
|
* @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
716
744
|
*/
|
|
717
|
-
declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
745
|
+
export declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
718
746
|
/** The nano ID of the auth config */
|
|
719
747
|
id: z$1.ZodString;
|
|
720
748
|
/** @deprecated - use state.authScheme instead */
|
|
@@ -732,6 +760,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
732
760
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
733
761
|
readonly SAML: "SAML";
|
|
734
762
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
763
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
735
764
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
736
765
|
}>;
|
|
737
766
|
/** Whether this auth config is managed by Composio */
|
|
@@ -764,6 +793,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
764
793
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
765
794
|
readonly SAML: "SAML";
|
|
766
795
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
796
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
767
797
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
768
798
|
}>;
|
|
769
799
|
/** Whether this auth config is managed by Composio */
|
|
@@ -796,6 +826,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
796
826
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
797
827
|
readonly SAML: "SAML";
|
|
798
828
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
829
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
799
830
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
800
831
|
}>;
|
|
801
832
|
/** Whether this auth config is managed by Composio */
|
|
@@ -811,7 +842,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
811
842
|
uuid: string;
|
|
812
843
|
}>>;
|
|
813
844
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
814
|
-
type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
|
|
845
|
+
export type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
|
|
815
846
|
/**
|
|
816
847
|
* Simplified connection state schema for webhook payloads (raw API format).
|
|
817
848
|
*
|
|
@@ -826,7 +857,7 @@ type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccoun
|
|
|
826
857
|
*
|
|
827
858
|
* @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
|
|
828
859
|
*/
|
|
829
|
-
declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
860
|
+
export declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
830
861
|
/** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
|
|
831
862
|
authScheme: z$1.ZodNativeEnum<{
|
|
832
863
|
readonly OAUTH1: "OAUTH1";
|
|
@@ -842,6 +873,7 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
842
873
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
843
874
|
readonly SAML: "SAML";
|
|
844
875
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
876
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
845
877
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
846
878
|
}>;
|
|
847
879
|
/** Connection state values - varies by auth scheme */
|
|
@@ -862,6 +894,7 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
862
894
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
863
895
|
readonly SAML: "SAML";
|
|
864
896
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
897
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
865
898
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
866
899
|
}>;
|
|
867
900
|
/** Connection state values - varies by auth scheme */
|
|
@@ -882,12 +915,13 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
882
915
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
883
916
|
readonly SAML: "SAML";
|
|
884
917
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
918
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
885
919
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
886
920
|
}>;
|
|
887
921
|
/** Connection state values - varies by auth scheme */
|
|
888
922
|
val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
889
923
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
890
|
-
type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
924
|
+
export type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
891
925
|
/**
|
|
892
926
|
* Connected account data schema for webhook payloads (raw API format, snake_case).
|
|
893
927
|
*
|
|
@@ -904,7 +938,7 @@ type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
|
904
938
|
* @see ConnectedAccountRetrieveResponseSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
905
939
|
* @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
|
|
906
940
|
*/
|
|
907
|
-
declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
941
|
+
export declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
908
942
|
/** Toolkit information */
|
|
909
943
|
toolkit: z$1.ZodObject<{
|
|
910
944
|
slug: z$1.ZodString;
|
|
@@ -932,6 +966,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
932
966
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
933
967
|
readonly SAML: "SAML";
|
|
934
968
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
969
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
935
970
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
936
971
|
}>;
|
|
937
972
|
/** Whether this auth config is managed by Composio */
|
|
@@ -964,6 +999,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
964
999
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
965
1000
|
readonly SAML: "SAML";
|
|
966
1001
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1002
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
967
1003
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
968
1004
|
}>;
|
|
969
1005
|
/** Whether this auth config is managed by Composio */
|
|
@@ -996,6 +1032,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
996
1032
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
997
1033
|
readonly SAML: "SAML";
|
|
998
1034
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1035
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
999
1036
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1000
1037
|
}>;
|
|
1001
1038
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1046,6 +1083,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1046
1083
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1047
1084
|
readonly SAML: "SAML";
|
|
1048
1085
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1086
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1049
1087
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1050
1088
|
}>;
|
|
1051
1089
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1066,6 +1104,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1066
1104
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1067
1105
|
readonly SAML: "SAML";
|
|
1068
1106
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1107
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1069
1108
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1070
1109
|
}>;
|
|
1071
1110
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1086,6 +1125,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1086
1125
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1087
1126
|
readonly SAML: "SAML";
|
|
1088
1127
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1128
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1089
1129
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1090
1130
|
}>;
|
|
1091
1131
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1140,6 +1180,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1140
1180
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1141
1181
|
readonly SAML: "SAML";
|
|
1142
1182
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1183
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1143
1184
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1144
1185
|
}>;
|
|
1145
1186
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1172,6 +1213,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1172
1213
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1173
1214
|
readonly SAML: "SAML";
|
|
1174
1215
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1216
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1175
1217
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1176
1218
|
}>;
|
|
1177
1219
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1204,6 +1246,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1204
1246
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1205
1247
|
readonly SAML: "SAML";
|
|
1206
1248
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1249
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1207
1250
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1208
1251
|
}>;
|
|
1209
1252
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1254,6 +1297,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1254
1297
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1255
1298
|
readonly SAML: "SAML";
|
|
1256
1299
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1300
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1257
1301
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1258
1302
|
}>;
|
|
1259
1303
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1274,6 +1318,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1274
1318
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1275
1319
|
readonly SAML: "SAML";
|
|
1276
1320
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1321
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1277
1322
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1278
1323
|
}>;
|
|
1279
1324
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1294,6 +1339,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1294
1339
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1295
1340
|
readonly SAML: "SAML";
|
|
1296
1341
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1342
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1297
1343
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1298
1344
|
}>;
|
|
1299
1345
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1348,6 +1394,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1348
1394
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1349
1395
|
readonly SAML: "SAML";
|
|
1350
1396
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1397
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1351
1398
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1352
1399
|
}>;
|
|
1353
1400
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1380,6 +1427,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1380
1427
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1381
1428
|
readonly SAML: "SAML";
|
|
1382
1429
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1430
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1383
1431
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1384
1432
|
}>;
|
|
1385
1433
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1412,6 +1460,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1412
1460
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1413
1461
|
readonly SAML: "SAML";
|
|
1414
1462
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1463
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1415
1464
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1416
1465
|
}>;
|
|
1417
1466
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1462,6 +1511,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1462
1511
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1463
1512
|
readonly SAML: "SAML";
|
|
1464
1513
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1514
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1465
1515
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1466
1516
|
}>;
|
|
1467
1517
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1482,6 +1532,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1482
1532
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1483
1533
|
readonly SAML: "SAML";
|
|
1484
1534
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1535
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1485
1536
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1486
1537
|
}>;
|
|
1487
1538
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1502,6 +1553,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1502
1553
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1503
1554
|
readonly SAML: "SAML";
|
|
1504
1555
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1556
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1505
1557
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1506
1558
|
}>;
|
|
1507
1559
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1529,14 +1581,14 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1529
1581
|
labels: string[];
|
|
1530
1582
|
}>>;
|
|
1531
1583
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
1532
|
-
type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
|
|
1584
|
+
export type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
|
|
1533
1585
|
/**
|
|
1534
1586
|
* Webhook metadata for connection events.
|
|
1535
1587
|
* Note: This differs from the trigger webhook metadata in WebhookTriggerPayloadV3Schema.
|
|
1536
1588
|
*
|
|
1537
1589
|
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
1538
1590
|
*/
|
|
1539
|
-
declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
1591
|
+
export declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
1540
1592
|
/** Project nano ID */
|
|
1541
1593
|
project_id: z$1.ZodString;
|
|
1542
1594
|
/** Organization UUID */
|
|
@@ -1552,7 +1604,7 @@ declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
|
1552
1604
|
/** Organization UUID */
|
|
1553
1605
|
org_id: z$1.ZodString;
|
|
1554
1606
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
1555
|
-
type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
|
|
1607
|
+
export type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
|
|
1556
1608
|
/**
|
|
1557
1609
|
* Connection expired webhook event payload.
|
|
1558
1610
|
* Emitted when a connected account expires due to authentication refresh failure.
|
|
@@ -1573,7 +1625,7 @@ type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchem
|
|
|
1573
1625
|
* }
|
|
1574
1626
|
* ```
|
|
1575
1627
|
*/
|
|
1576
|
-
declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
1628
|
+
export declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
1577
1629
|
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
|
|
1578
1630
|
id: z$1.ZodString;
|
|
1579
1631
|
/** ISO-8601 timestamp of when the event was emitted */
|
|
@@ -1609,6 +1661,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1609
1661
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1610
1662
|
readonly SAML: "SAML";
|
|
1611
1663
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1664
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1612
1665
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1613
1666
|
}>;
|
|
1614
1667
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1641,6 +1694,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1641
1694
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1642
1695
|
readonly SAML: "SAML";
|
|
1643
1696
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1697
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1644
1698
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1645
1699
|
}>;
|
|
1646
1700
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1673,6 +1727,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1673
1727
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1674
1728
|
readonly SAML: "SAML";
|
|
1675
1729
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1730
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1676
1731
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1677
1732
|
}>;
|
|
1678
1733
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1723,6 +1778,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1723
1778
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1724
1779
|
readonly SAML: "SAML";
|
|
1725
1780
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1781
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1726
1782
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1727
1783
|
}>;
|
|
1728
1784
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1743,6 +1799,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1743
1799
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1744
1800
|
readonly SAML: "SAML";
|
|
1745
1801
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1802
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1746
1803
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1747
1804
|
}>;
|
|
1748
1805
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1763,6 +1820,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1763
1820
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1764
1821
|
readonly SAML: "SAML";
|
|
1765
1822
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1823
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1766
1824
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1767
1825
|
}>;
|
|
1768
1826
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1817,6 +1875,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1817
1875
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1818
1876
|
readonly SAML: "SAML";
|
|
1819
1877
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1878
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1820
1879
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1821
1880
|
}>;
|
|
1822
1881
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1849,6 +1908,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1849
1908
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1850
1909
|
readonly SAML: "SAML";
|
|
1851
1910
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1911
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1852
1912
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1853
1913
|
}>;
|
|
1854
1914
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1881,6 +1941,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1881
1941
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1882
1942
|
readonly SAML: "SAML";
|
|
1883
1943
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1944
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1884
1945
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1885
1946
|
}>;
|
|
1886
1947
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1931,6 +1992,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1931
1992
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1932
1993
|
readonly SAML: "SAML";
|
|
1933
1994
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1995
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1934
1996
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1935
1997
|
}>;
|
|
1936
1998
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1951,6 +2013,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1951
2013
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1952
2014
|
readonly SAML: "SAML";
|
|
1953
2015
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2016
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1954
2017
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1955
2018
|
}>;
|
|
1956
2019
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1971,6 +2034,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1971
2034
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1972
2035
|
readonly SAML: "SAML";
|
|
1973
2036
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2037
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1974
2038
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1975
2039
|
}>;
|
|
1976
2040
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2025,6 +2089,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2025
2089
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2026
2090
|
readonly SAML: "SAML";
|
|
2027
2091
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2092
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2028
2093
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2029
2094
|
}>;
|
|
2030
2095
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2057,6 +2122,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2057
2122
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2058
2123
|
readonly SAML: "SAML";
|
|
2059
2124
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2125
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2060
2126
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2061
2127
|
}>;
|
|
2062
2128
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2089,6 +2155,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2089
2155
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2090
2156
|
readonly SAML: "SAML";
|
|
2091
2157
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2158
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2092
2159
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2093
2160
|
}>;
|
|
2094
2161
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2139,6 +2206,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2139
2206
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2140
2207
|
readonly SAML: "SAML";
|
|
2141
2208
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2209
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2142
2210
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2143
2211
|
}>;
|
|
2144
2212
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2159,6 +2227,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2159
2227
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2160
2228
|
readonly SAML: "SAML";
|
|
2161
2229
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2230
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2162
2231
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2163
2232
|
}>;
|
|
2164
2233
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2179,6 +2248,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2179
2248
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2180
2249
|
readonly SAML: "SAML";
|
|
2181
2250
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2251
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2182
2252
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2183
2253
|
}>;
|
|
2184
2254
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2259,6 +2329,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2259
2329
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2260
2330
|
readonly SAML: "SAML";
|
|
2261
2331
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2332
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2262
2333
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2263
2334
|
}>;
|
|
2264
2335
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2291,6 +2362,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2291
2362
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2292
2363
|
readonly SAML: "SAML";
|
|
2293
2364
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2365
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2294
2366
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2295
2367
|
}>;
|
|
2296
2368
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2323,6 +2395,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2323
2395
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2324
2396
|
readonly SAML: "SAML";
|
|
2325
2397
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2398
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2326
2399
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2327
2400
|
}>;
|
|
2328
2401
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2373,6 +2446,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2373
2446
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2374
2447
|
readonly SAML: "SAML";
|
|
2375
2448
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2449
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2376
2450
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2377
2451
|
}>;
|
|
2378
2452
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2393,6 +2467,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2393
2467
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2394
2468
|
readonly SAML: "SAML";
|
|
2395
2469
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2470
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2396
2471
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2397
2472
|
}>;
|
|
2398
2473
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2413,6 +2488,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2413
2488
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2414
2489
|
readonly SAML: "SAML";
|
|
2415
2490
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2491
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2416
2492
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2417
2493
|
}>;
|
|
2418
2494
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2467,6 +2543,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2467
2543
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2468
2544
|
readonly SAML: "SAML";
|
|
2469
2545
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2546
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2470
2547
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2471
2548
|
}>;
|
|
2472
2549
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2499,6 +2576,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2499
2576
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2500
2577
|
readonly SAML: "SAML";
|
|
2501
2578
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2579
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2502
2580
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2503
2581
|
}>;
|
|
2504
2582
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2531,6 +2609,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2531
2609
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2532
2610
|
readonly SAML: "SAML";
|
|
2533
2611
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2612
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2534
2613
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2535
2614
|
}>;
|
|
2536
2615
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2581,6 +2660,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2581
2660
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2582
2661
|
readonly SAML: "SAML";
|
|
2583
2662
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2663
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2584
2664
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2585
2665
|
}>;
|
|
2586
2666
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2601,6 +2681,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2601
2681
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2602
2682
|
readonly SAML: "SAML";
|
|
2603
2683
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2684
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2604
2685
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2605
2686
|
}>;
|
|
2606
2687
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2621,6 +2702,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2621
2702
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2622
2703
|
readonly SAML: "SAML";
|
|
2623
2704
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2705
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2624
2706
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2625
2707
|
}>;
|
|
2626
2708
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2675,6 +2757,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2675
2757
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2676
2758
|
readonly SAML: "SAML";
|
|
2677
2759
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2760
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2678
2761
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2679
2762
|
}>;
|
|
2680
2763
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2707,6 +2790,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2707
2790
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2708
2791
|
readonly SAML: "SAML";
|
|
2709
2792
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2793
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2710
2794
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2711
2795
|
}>;
|
|
2712
2796
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2739,6 +2823,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2739
2823
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2740
2824
|
readonly SAML: "SAML";
|
|
2741
2825
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2826
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2742
2827
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2743
2828
|
}>;
|
|
2744
2829
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2789,6 +2874,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2789
2874
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2790
2875
|
readonly SAML: "SAML";
|
|
2791
2876
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2877
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2792
2878
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2793
2879
|
}>;
|
|
2794
2880
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2809,6 +2895,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2809
2895
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2810
2896
|
readonly SAML: "SAML";
|
|
2811
2897
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2898
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2812
2899
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2813
2900
|
}>;
|
|
2814
2901
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2829,6 +2916,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2829
2916
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2830
2917
|
readonly SAML: "SAML";
|
|
2831
2918
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2919
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2832
2920
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2833
2921
|
}>;
|
|
2834
2922
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2909,6 +2997,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2909
2997
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2910
2998
|
readonly SAML: "SAML";
|
|
2911
2999
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3000
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2912
3001
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2913
3002
|
}>;
|
|
2914
3003
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2941,6 +3030,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2941
3030
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2942
3031
|
readonly SAML: "SAML";
|
|
2943
3032
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3033
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2944
3034
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2945
3035
|
}>;
|
|
2946
3036
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2973,6 +3063,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2973
3063
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2974
3064
|
readonly SAML: "SAML";
|
|
2975
3065
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3066
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2976
3067
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2977
3068
|
}>;
|
|
2978
3069
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3023,6 +3114,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3023
3114
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3024
3115
|
readonly SAML: "SAML";
|
|
3025
3116
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3117
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3026
3118
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3027
3119
|
}>;
|
|
3028
3120
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3043,6 +3135,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3043
3135
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3044
3136
|
readonly SAML: "SAML";
|
|
3045
3137
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3138
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3046
3139
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3047
3140
|
}>;
|
|
3048
3141
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3063,6 +3156,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3063
3156
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3064
3157
|
readonly SAML: "SAML";
|
|
3065
3158
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3159
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3066
3160
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3067
3161
|
}>;
|
|
3068
3162
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3117,6 +3211,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3117
3211
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3118
3212
|
readonly SAML: "SAML";
|
|
3119
3213
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3214
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3120
3215
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3121
3216
|
}>;
|
|
3122
3217
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3149,6 +3244,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3149
3244
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3150
3245
|
readonly SAML: "SAML";
|
|
3151
3246
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3247
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3152
3248
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3153
3249
|
}>;
|
|
3154
3250
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3181,6 +3277,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3181
3277
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3182
3278
|
readonly SAML: "SAML";
|
|
3183
3279
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3280
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3184
3281
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3185
3282
|
}>;
|
|
3186
3283
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3231,6 +3328,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3231
3328
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3232
3329
|
readonly SAML: "SAML";
|
|
3233
3330
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3331
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3234
3332
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3235
3333
|
}>;
|
|
3236
3334
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3251,6 +3349,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3251
3349
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3252
3350
|
readonly SAML: "SAML";
|
|
3253
3351
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3352
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3254
3353
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3255
3354
|
}>;
|
|
3256
3355
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3271,6 +3370,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3271
3370
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3272
3371
|
readonly SAML: "SAML";
|
|
3273
3372
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3373
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3274
3374
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3275
3375
|
}>;
|
|
3276
3376
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3325,6 +3425,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3325
3425
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3326
3426
|
readonly SAML: "SAML";
|
|
3327
3427
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3428
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3328
3429
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3329
3430
|
}>;
|
|
3330
3431
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3357,6 +3458,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3357
3458
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3358
3459
|
readonly SAML: "SAML";
|
|
3359
3460
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3461
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3360
3462
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3361
3463
|
}>;
|
|
3362
3464
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3389,6 +3491,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3389
3491
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3390
3492
|
readonly SAML: "SAML";
|
|
3391
3493
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3494
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3392
3495
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3393
3496
|
}>;
|
|
3394
3497
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3439,6 +3542,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3439
3542
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3440
3543
|
readonly SAML: "SAML";
|
|
3441
3544
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3545
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3442
3546
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3443
3547
|
}>;
|
|
3444
3548
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3459,6 +3563,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3459
3563
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3460
3564
|
readonly SAML: "SAML";
|
|
3461
3565
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3566
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3462
3567
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3463
3568
|
}>;
|
|
3464
3569
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3479,6 +3584,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3479
3584
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3480
3585
|
readonly SAML: "SAML";
|
|
3481
3586
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3587
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3482
3588
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3483
3589
|
}>;
|
|
3484
3590
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3524,7 +3630,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3524
3630
|
org_id: z$1.ZodString;
|
|
3525
3631
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
3526
3632
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
3527
|
-
type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
3633
|
+
export type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
3528
3634
|
/**
|
|
3529
3635
|
* Union of all typed webhook event schemas.
|
|
3530
3636
|
* Extend this as new event types are added.
|
|
@@ -3536,7 +3642,7 @@ type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
|
3536
3642
|
* Trigger events (composio.trigger.message) are handled through the
|
|
3537
3643
|
* WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
|
|
3538
3644
|
*/
|
|
3539
|
-
declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
|
|
3645
|
+
export declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
|
|
3540
3646
|
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
|
|
3541
3647
|
id: z$1.ZodString;
|
|
3542
3648
|
/** ISO-8601 timestamp of when the event was emitted */
|
|
@@ -3572,6 +3678,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3572
3678
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3573
3679
|
readonly SAML: "SAML";
|
|
3574
3680
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3681
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3575
3682
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3576
3683
|
}>;
|
|
3577
3684
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3604,6 +3711,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3604
3711
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3605
3712
|
readonly SAML: "SAML";
|
|
3606
3713
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3714
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3607
3715
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3608
3716
|
}>;
|
|
3609
3717
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3636,6 +3744,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3636
3744
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3637
3745
|
readonly SAML: "SAML";
|
|
3638
3746
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3747
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3639
3748
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3640
3749
|
}>;
|
|
3641
3750
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3686,6 +3795,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3686
3795
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3687
3796
|
readonly SAML: "SAML";
|
|
3688
3797
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3798
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3689
3799
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3690
3800
|
}>;
|
|
3691
3801
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3706,6 +3816,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3706
3816
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3707
3817
|
readonly SAML: "SAML";
|
|
3708
3818
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3819
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3709
3820
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3710
3821
|
}>;
|
|
3711
3822
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3726,6 +3837,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3726
3837
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3727
3838
|
readonly SAML: "SAML";
|
|
3728
3839
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3840
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3729
3841
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3730
3842
|
}>;
|
|
3731
3843
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3780,6 +3892,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3780
3892
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3781
3893
|
readonly SAML: "SAML";
|
|
3782
3894
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3895
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3783
3896
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3784
3897
|
}>;
|
|
3785
3898
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3812,6 +3925,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3812
3925
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3813
3926
|
readonly SAML: "SAML";
|
|
3814
3927
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3928
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3815
3929
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3816
3930
|
}>;
|
|
3817
3931
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3844,6 +3958,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3844
3958
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3845
3959
|
readonly SAML: "SAML";
|
|
3846
3960
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3961
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3847
3962
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3848
3963
|
}>;
|
|
3849
3964
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3894,6 +4009,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3894
4009
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3895
4010
|
readonly SAML: "SAML";
|
|
3896
4011
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4012
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3897
4013
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3898
4014
|
}>;
|
|
3899
4015
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3914,6 +4030,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3914
4030
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3915
4031
|
readonly SAML: "SAML";
|
|
3916
4032
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4033
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3917
4034
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3918
4035
|
}>;
|
|
3919
4036
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3934,6 +4051,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3934
4051
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3935
4052
|
readonly SAML: "SAML";
|
|
3936
4053
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4054
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3937
4055
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3938
4056
|
}>;
|
|
3939
4057
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3988,6 +4106,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3988
4106
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3989
4107
|
readonly SAML: "SAML";
|
|
3990
4108
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4109
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3991
4110
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3992
4111
|
}>;
|
|
3993
4112
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4020,6 +4139,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4020
4139
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4021
4140
|
readonly SAML: "SAML";
|
|
4022
4141
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4142
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4023
4143
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4024
4144
|
}>;
|
|
4025
4145
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4052,6 +4172,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4052
4172
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4053
4173
|
readonly SAML: "SAML";
|
|
4054
4174
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4175
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4055
4176
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4056
4177
|
}>;
|
|
4057
4178
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4102,6 +4223,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4102
4223
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4103
4224
|
readonly SAML: "SAML";
|
|
4104
4225
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4226
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4105
4227
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4106
4228
|
}>;
|
|
4107
4229
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4122,6 +4244,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4122
4244
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4123
4245
|
readonly SAML: "SAML";
|
|
4124
4246
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4247
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4125
4248
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4126
4249
|
}>;
|
|
4127
4250
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4142,6 +4265,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4142
4265
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4143
4266
|
readonly SAML: "SAML";
|
|
4144
4267
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4268
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4145
4269
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4146
4270
|
}>;
|
|
4147
4271
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4222,6 +4346,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4222
4346
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4223
4347
|
readonly SAML: "SAML";
|
|
4224
4348
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4349
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4225
4350
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4226
4351
|
}>;
|
|
4227
4352
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4254,6 +4379,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4254
4379
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4255
4380
|
readonly SAML: "SAML";
|
|
4256
4381
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4382
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4257
4383
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4258
4384
|
}>;
|
|
4259
4385
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4286,6 +4412,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4286
4412
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4287
4413
|
readonly SAML: "SAML";
|
|
4288
4414
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4415
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4289
4416
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4290
4417
|
}>;
|
|
4291
4418
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4336,6 +4463,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4336
4463
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4337
4464
|
readonly SAML: "SAML";
|
|
4338
4465
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4466
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4339
4467
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4340
4468
|
}>;
|
|
4341
4469
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4356,6 +4484,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4356
4484
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4357
4485
|
readonly SAML: "SAML";
|
|
4358
4486
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4487
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4359
4488
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4360
4489
|
}>;
|
|
4361
4490
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4376,6 +4505,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4376
4505
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4377
4506
|
readonly SAML: "SAML";
|
|
4378
4507
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4508
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4379
4509
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4380
4510
|
}>;
|
|
4381
4511
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4430,6 +4560,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4430
4560
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4431
4561
|
readonly SAML: "SAML";
|
|
4432
4562
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4563
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4433
4564
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4434
4565
|
}>;
|
|
4435
4566
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4462,6 +4593,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4462
4593
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4463
4594
|
readonly SAML: "SAML";
|
|
4464
4595
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4596
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4465
4597
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4466
4598
|
}>;
|
|
4467
4599
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4494,6 +4626,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4494
4626
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4495
4627
|
readonly SAML: "SAML";
|
|
4496
4628
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4629
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4497
4630
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4498
4631
|
}>;
|
|
4499
4632
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4544,6 +4677,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4544
4677
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4545
4678
|
readonly SAML: "SAML";
|
|
4546
4679
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4680
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4547
4681
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4548
4682
|
}>;
|
|
4549
4683
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4564,6 +4698,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4564
4698
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4565
4699
|
readonly SAML: "SAML";
|
|
4566
4700
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4701
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4567
4702
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4568
4703
|
}>;
|
|
4569
4704
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4584,6 +4719,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4584
4719
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4585
4720
|
readonly SAML: "SAML";
|
|
4586
4721
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4722
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4587
4723
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4588
4724
|
}>;
|
|
4589
4725
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4638,6 +4774,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4638
4774
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4639
4775
|
readonly SAML: "SAML";
|
|
4640
4776
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4777
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4641
4778
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4642
4779
|
}>;
|
|
4643
4780
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4670,6 +4807,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4670
4807
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4671
4808
|
readonly SAML: "SAML";
|
|
4672
4809
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4810
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4673
4811
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4674
4812
|
}>;
|
|
4675
4813
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4702,6 +4840,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4702
4840
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4703
4841
|
readonly SAML: "SAML";
|
|
4704
4842
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4843
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4705
4844
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4706
4845
|
}>;
|
|
4707
4846
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4752,6 +4891,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4752
4891
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4753
4892
|
readonly SAML: "SAML";
|
|
4754
4893
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4894
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4755
4895
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4756
4896
|
}>;
|
|
4757
4897
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4772,6 +4912,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4772
4912
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4773
4913
|
readonly SAML: "SAML";
|
|
4774
4914
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4915
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4775
4916
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4776
4917
|
}>;
|
|
4777
4918
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4792,6 +4933,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4792
4933
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4793
4934
|
readonly SAML: "SAML";
|
|
4794
4935
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4936
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4795
4937
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4796
4938
|
}>;
|
|
4797
4939
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4872,6 +5014,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4872
5014
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4873
5015
|
readonly SAML: "SAML";
|
|
4874
5016
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5017
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4875
5018
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4876
5019
|
}>;
|
|
4877
5020
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4904,6 +5047,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4904
5047
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4905
5048
|
readonly SAML: "SAML";
|
|
4906
5049
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5050
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4907
5051
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4908
5052
|
}>;
|
|
4909
5053
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4936,6 +5080,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4936
5080
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4937
5081
|
readonly SAML: "SAML";
|
|
4938
5082
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5083
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4939
5084
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4940
5085
|
}>;
|
|
4941
5086
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4986,6 +5131,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4986
5131
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4987
5132
|
readonly SAML: "SAML";
|
|
4988
5133
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5134
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4989
5135
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4990
5136
|
}>;
|
|
4991
5137
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5006,6 +5152,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5006
5152
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5007
5153
|
readonly SAML: "SAML";
|
|
5008
5154
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5155
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5009
5156
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5010
5157
|
}>;
|
|
5011
5158
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5026,6 +5173,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5026
5173
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5027
5174
|
readonly SAML: "SAML";
|
|
5028
5175
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5176
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5029
5177
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5030
5178
|
}>;
|
|
5031
5179
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5080,6 +5228,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5080
5228
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5081
5229
|
readonly SAML: "SAML";
|
|
5082
5230
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5231
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5083
5232
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5084
5233
|
}>;
|
|
5085
5234
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5112,6 +5261,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5112
5261
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5113
5262
|
readonly SAML: "SAML";
|
|
5114
5263
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5264
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5115
5265
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5116
5266
|
}>;
|
|
5117
5267
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5144,6 +5294,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5144
5294
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5145
5295
|
readonly SAML: "SAML";
|
|
5146
5296
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5297
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5147
5298
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5148
5299
|
}>;
|
|
5149
5300
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5194,6 +5345,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5194
5345
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5195
5346
|
readonly SAML: "SAML";
|
|
5196
5347
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5348
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5197
5349
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5198
5350
|
}>;
|
|
5199
5351
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5214,6 +5366,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5214
5366
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5215
5367
|
readonly SAML: "SAML";
|
|
5216
5368
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5369
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5217
5370
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5218
5371
|
}>;
|
|
5219
5372
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5234,6 +5387,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5234
5387
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5235
5388
|
readonly SAML: "SAML";
|
|
5236
5389
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5390
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5237
5391
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5238
5392
|
}>;
|
|
5239
5393
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5288,6 +5442,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5288
5442
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5289
5443
|
readonly SAML: "SAML";
|
|
5290
5444
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5445
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5291
5446
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5292
5447
|
}>;
|
|
5293
5448
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5320,6 +5475,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5320
5475
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5321
5476
|
readonly SAML: "SAML";
|
|
5322
5477
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5478
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5323
5479
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5324
5480
|
}>;
|
|
5325
5481
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5352,6 +5508,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5352
5508
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5353
5509
|
readonly SAML: "SAML";
|
|
5354
5510
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5511
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5355
5512
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5356
5513
|
}>;
|
|
5357
5514
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5402,6 +5559,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5402
5559
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5403
5560
|
readonly SAML: "SAML";
|
|
5404
5561
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5562
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5405
5563
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5406
5564
|
}>;
|
|
5407
5565
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5422,6 +5580,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5422
5580
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5423
5581
|
readonly SAML: "SAML";
|
|
5424
5582
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5583
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5425
5584
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5426
5585
|
}>;
|
|
5427
5586
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5442,6 +5601,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5442
5601
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5443
5602
|
readonly SAML: "SAML";
|
|
5444
5603
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5604
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5445
5605
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5446
5606
|
}>;
|
|
5447
5607
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5487,7 +5647,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5487
5647
|
org_id: z$1.ZodString;
|
|
5488
5648
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
5489
5649
|
}, z$1.ZodTypeAny, "passthrough">>]>;
|
|
5490
|
-
type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
|
|
5650
|
+
export type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
|
|
5491
5651
|
declare namespace constants_d_exports {
|
|
5492
5652
|
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
5653
|
}
|
|
@@ -5498,37 +5658,10 @@ declare const DEFAULT_BASE_URL = "https://backend.composio.dev";
|
|
|
5498
5658
|
declare const DEFAULT_WEB_URL = "https://dashboard.composio.dev/";
|
|
5499
5659
|
declare const TELEMETRY_URL = "https://app.composio.dev";
|
|
5500
5660
|
declare const CLIENT_PUSHER_KEY: string;
|
|
5501
|
-
declare const COMPOSIO_LOG_LEVEL: "debug" | "info" | "warn" | "error" | undefined;
|
|
5661
|
+
declare const COMPOSIO_LOG_LEVEL: "silent" | "debug" | "info" | "warn" | "error" | undefined;
|
|
5502
5662
|
declare const IS_DEVELOPMENT_OR_CI: string | boolean;
|
|
5503
5663
|
declare const DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID = "files";
|
|
5504
5664
|
//#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
5665
|
//#region src/types/telemetry.types.d.ts
|
|
5533
5666
|
/**
|
|
5534
5667
|
* Metadata for the telemetry.
|
|
@@ -5583,15 +5716,15 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5583
5716
|
}, "strip", z$1.ZodTypeAny, {
|
|
5584
5717
|
version?: string | undefined;
|
|
5585
5718
|
host?: string | undefined;
|
|
5586
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5587
5719
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5720
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5588
5721
|
platform?: string | undefined;
|
|
5589
5722
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5590
5723
|
}, {
|
|
5591
5724
|
version?: string | undefined;
|
|
5592
5725
|
host?: string | undefined;
|
|
5593
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5594
5726
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5727
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5595
5728
|
platform?: string | undefined;
|
|
5596
5729
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5597
5730
|
}>>;
|
|
@@ -5638,16 +5771,16 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5638
5771
|
provider?: string | undefined;
|
|
5639
5772
|
} | undefined;
|
|
5640
5773
|
timestamp?: number | undefined;
|
|
5641
|
-
durationMs?: number | undefined;
|
|
5642
|
-
props?: Record<string, any> | undefined;
|
|
5643
5774
|
source?: {
|
|
5644
5775
|
version?: string | undefined;
|
|
5645
5776
|
host?: string | undefined;
|
|
5646
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5647
5777
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5778
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5648
5779
|
platform?: string | undefined;
|
|
5649
5780
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5650
5781
|
} | undefined;
|
|
5782
|
+
durationMs?: number | undefined;
|
|
5783
|
+
props?: Record<string, any> | undefined;
|
|
5651
5784
|
}, {
|
|
5652
5785
|
functionName: string;
|
|
5653
5786
|
error?: {
|
|
@@ -5662,16 +5795,16 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5662
5795
|
provider?: string | undefined;
|
|
5663
5796
|
} | undefined;
|
|
5664
5797
|
timestamp?: number | undefined;
|
|
5665
|
-
durationMs?: number | undefined;
|
|
5666
|
-
props?: Record<string, any> | undefined;
|
|
5667
5798
|
source?: {
|
|
5668
5799
|
version?: string | undefined;
|
|
5669
5800
|
host?: string | undefined;
|
|
5670
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5671
5801
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5802
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5672
5803
|
platform?: string | undefined;
|
|
5673
5804
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5674
5805
|
} | undefined;
|
|
5806
|
+
durationMs?: number | undefined;
|
|
5807
|
+
props?: Record<string, any> | undefined;
|
|
5675
5808
|
}>;
|
|
5676
5809
|
declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
5677
5810
|
functionName: z$1.ZodString;
|
|
@@ -5688,15 +5821,15 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5688
5821
|
}, "strip", z$1.ZodTypeAny, {
|
|
5689
5822
|
version?: string | undefined;
|
|
5690
5823
|
host?: string | undefined;
|
|
5691
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5692
5824
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5825
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5693
5826
|
platform?: string | undefined;
|
|
5694
5827
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5695
5828
|
}, {
|
|
5696
5829
|
version?: string | undefined;
|
|
5697
5830
|
host?: string | undefined;
|
|
5698
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5699
5831
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5832
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5700
5833
|
platform?: string | undefined;
|
|
5701
5834
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5702
5835
|
}>>;
|
|
@@ -5743,16 +5876,16 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5743
5876
|
provider?: string | undefined;
|
|
5744
5877
|
} | undefined;
|
|
5745
5878
|
timestamp?: number | undefined;
|
|
5746
|
-
durationMs?: number | undefined;
|
|
5747
|
-
props?: Record<string, any> | undefined;
|
|
5748
5879
|
source?: {
|
|
5749
5880
|
version?: string | undefined;
|
|
5750
5881
|
host?: string | undefined;
|
|
5751
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5752
5882
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5883
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5753
5884
|
platform?: string | undefined;
|
|
5754
5885
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5755
5886
|
} | undefined;
|
|
5887
|
+
durationMs?: number | undefined;
|
|
5888
|
+
props?: Record<string, any> | undefined;
|
|
5756
5889
|
}, {
|
|
5757
5890
|
functionName: string;
|
|
5758
5891
|
error?: {
|
|
@@ -5767,16 +5900,16 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5767
5900
|
provider?: string | undefined;
|
|
5768
5901
|
} | undefined;
|
|
5769
5902
|
timestamp?: number | undefined;
|
|
5770
|
-
durationMs?: number | undefined;
|
|
5771
|
-
props?: Record<string, any> | undefined;
|
|
5772
5903
|
source?: {
|
|
5773
5904
|
version?: string | undefined;
|
|
5774
5905
|
host?: string | undefined;
|
|
5775
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5776
5906
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5907
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5777
5908
|
platform?: string | undefined;
|
|
5778
5909
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5779
5910
|
} | undefined;
|
|
5911
|
+
durationMs?: number | undefined;
|
|
5912
|
+
props?: Record<string, any> | undefined;
|
|
5780
5913
|
}>, "many">;
|
|
5781
5914
|
type TelemetryPayload = z$1.infer<typeof TelemetryPayloadSchema>;
|
|
5782
5915
|
type TelemetryMetricPayloadBody = z$1.infer<typeof TelemetryMetricPayloadBodySchema>;
|
|
@@ -5860,13 +5993,13 @@ declare class TelemetryTransport {
|
|
|
5860
5993
|
*/
|
|
5861
5994
|
private registerExitHandlers;
|
|
5862
5995
|
}
|
|
5863
|
-
declare const telemetry: TelemetryTransport;
|
|
5996
|
+
export declare const telemetry: TelemetryTransport;
|
|
5864
5997
|
//#endregion
|
|
5865
5998
|
//#region src/errors/ComposioError.d.ts
|
|
5866
5999
|
/**
|
|
5867
6000
|
* Options for error handling
|
|
5868
6001
|
*/
|
|
5869
|
-
interface ErrorHandleOptions {
|
|
6002
|
+
export interface ErrorHandleOptions {
|
|
5870
6003
|
/** Whether to include the stack trace in the output */
|
|
5871
6004
|
includeStack?: boolean;
|
|
5872
6005
|
/** @deprecated Use ComposioError.handleAndThrow() instead. This option will be removed in a future version. */
|
|
@@ -5877,7 +6010,7 @@ interface ErrorHandleOptions {
|
|
|
5877
6010
|
/**
|
|
5878
6011
|
* Options for creating a ComposioError
|
|
5879
6012
|
*/
|
|
5880
|
-
type ComposioErrorOptions = {
|
|
6013
|
+
export type ComposioErrorOptions = {
|
|
5881
6014
|
/** Error code for categorizing errors */
|
|
5882
6015
|
code?: string;
|
|
5883
6016
|
/** HTTP status code associated with the error */
|
|
@@ -5894,7 +6027,7 @@ type ComposioErrorOptions = {
|
|
|
5894
6027
|
/**
|
|
5895
6028
|
* Base error class for all Composio errors
|
|
5896
6029
|
*/
|
|
5897
|
-
declare class ComposioError extends Error {
|
|
6030
|
+
export declare class ComposioError extends Error {
|
|
5898
6031
|
/** @readonly Error name */
|
|
5899
6032
|
name: string;
|
|
5900
6033
|
code?: string;
|
|
@@ -5987,15 +6120,15 @@ declare class ComposioError extends Error {
|
|
|
5987
6120
|
}
|
|
5988
6121
|
//#endregion
|
|
5989
6122
|
//#region src/errors/AuthConfigErrors.d.ts
|
|
5990
|
-
declare const AuthConfigErrorCodes: {
|
|
6123
|
+
export declare const AuthConfigErrorCodes: {
|
|
5991
6124
|
readonly AUTH_CONFIG_NOT_FOUND: "AUTH_CONFIG_NOT_FOUND";
|
|
5992
6125
|
};
|
|
5993
|
-
declare class ComposioAuthConfigNotFoundError extends ComposioError {
|
|
6126
|
+
export declare class ComposioAuthConfigNotFoundError extends ComposioError {
|
|
5994
6127
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5995
6128
|
}
|
|
5996
6129
|
//#endregion
|
|
5997
6130
|
//#region src/errors/ConnectedAccountsErrors.d.ts
|
|
5998
|
-
declare const ConnectedAccountErrorCodes: {
|
|
6131
|
+
export declare const ConnectedAccountErrorCodes: {
|
|
5999
6132
|
readonly CONNECTED_ACCOUNT_NOT_FOUND: "CONNECTED_ACCOUNT_NOT_FOUND";
|
|
6000
6133
|
readonly MULTIPLE_CONNECTED_ACCOUNTS: "MULTIPLE_CONNECTED_ACCOUNTS";
|
|
6001
6134
|
readonly FAILED_TO_CREATE_CONNECTED_ACCOUNT_LINK: "FAILED_TO_CREATE_CONNECTED_ACCOUNT_LINK";
|
|
@@ -6003,14 +6136,16 @@ declare const ConnectedAccountErrorCodes: {
|
|
|
6003
6136
|
readonly SHARED_ACCESS_DENIED: "SHARED_ACCESS_DENIED";
|
|
6004
6137
|
readonly ACL_ONLY_FOR_SHARED: "ACL_ONLY_FOR_SHARED";
|
|
6005
6138
|
readonly SHARED_CONNECTION_NOT_ACCESSIBLE: "SHARED_CONNECTION_NOT_ACCESSIBLE";
|
|
6139
|
+
readonly REVOCATION_NOT_SUPPORTED: "CONNECTED_ACCOUNT_REVOCATION_NOT_SUPPORTED";
|
|
6140
|
+
readonly NOT_REVOKABLE: "CONNECTED_ACCOUNT_NOT_REVOKABLE";
|
|
6006
6141
|
};
|
|
6007
|
-
declare class ComposioConnectedAccountNotFoundError extends ComposioError {
|
|
6142
|
+
export declare class ComposioConnectedAccountNotFoundError extends ComposioError {
|
|
6008
6143
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6009
6144
|
}
|
|
6010
|
-
declare class ComposioMultipleConnectedAccountsError extends ComposioError {
|
|
6145
|
+
export declare class ComposioMultipleConnectedAccountsError extends ComposioError {
|
|
6011
6146
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6012
6147
|
}
|
|
6013
|
-
declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
6148
|
+
export declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
6014
6149
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6015
6150
|
}
|
|
6016
6151
|
/**
|
|
@@ -6021,7 +6156,7 @@ declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
|
6021
6156
|
* `composio.tools.execute(slug, { connectedAccountId })`) without going
|
|
6022
6157
|
* through a tool-router session.
|
|
6023
6158
|
*/
|
|
6024
|
-
declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
6159
|
+
export declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
6025
6160
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6026
6161
|
}
|
|
6027
6162
|
/**
|
|
@@ -6029,7 +6164,7 @@ declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
|
6029
6164
|
* `notAllowedUserIds`) are sent on a `PRIVATE` connection — at create
|
|
6030
6165
|
* time or via PATCH. ACL is only meaningful for `SHARED` connections.
|
|
6031
6166
|
*/
|
|
6032
|
-
declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
6167
|
+
export declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
6033
6168
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6034
6169
|
}
|
|
6035
6170
|
/**
|
|
@@ -6038,7 +6173,7 @@ declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
|
6038
6173
|
* session-create time so the session never enters a state that fails
|
|
6039
6174
|
* mid-execution.
|
|
6040
6175
|
*/
|
|
6041
|
-
declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
6176
|
+
export declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
6042
6177
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6043
6178
|
}
|
|
6044
6179
|
/**
|
|
@@ -6054,24 +6189,41 @@ declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
|
6054
6189
|
*
|
|
6055
6190
|
* See: https://docs.composio.dev/docs/changelog/2026/04/24
|
|
6056
6191
|
*/
|
|
6057
|
-
declare class ComposioLegacyConnectedAccountsEndpointRetiredError extends ComposioError {
|
|
6192
|
+
export declare class ComposioLegacyConnectedAccountsEndpointRetiredError extends ComposioError {
|
|
6193
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6194
|
+
}
|
|
6195
|
+
/**
|
|
6196
|
+
* Thrown by `composio.connectedAccounts.revoke()` when the toolkit behind the
|
|
6197
|
+
* connection does not support programmatic revocation at the provider (API
|
|
6198
|
+
* 400).
|
|
6199
|
+
*/
|
|
6200
|
+
export declare class ComposioConnectedAccountRevocationNotSupportedError extends ComposioError {
|
|
6201
|
+
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6202
|
+
}
|
|
6203
|
+
/**
|
|
6204
|
+
* Thrown by `composio.connectedAccounts.revoke()` when the connection is not
|
|
6205
|
+
* in a state that can be revoked (API 409), for example it never completed
|
|
6206
|
+
* authentication. Revoking an already revoked connection is not an error: it
|
|
6207
|
+
* returns an empty `revokedTokens` list.
|
|
6208
|
+
*/
|
|
6209
|
+
export declare class ComposioConnectedAccountNotRevokableError extends ComposioError {
|
|
6058
6210
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6059
6211
|
}
|
|
6060
6212
|
//#endregion
|
|
6061
6213
|
//#region src/errors/ConnectionRequestErrors.d.ts
|
|
6062
|
-
declare const ConnectionRequestErrorCodes: {
|
|
6214
|
+
export declare const ConnectionRequestErrorCodes: {
|
|
6063
6215
|
readonly CONNECTION_REQUEST_TIMEOUT: "CONNECTION_REQUEST_TIMEOUT";
|
|
6064
6216
|
readonly CONNECTION_REQUEST_FAILED: "CONNECTION_REQUEST_FAILED";
|
|
6065
6217
|
};
|
|
6066
|
-
declare class ConnectionRequestTimeoutError extends ComposioError {
|
|
6218
|
+
export declare class ConnectionRequestTimeoutError extends ComposioError {
|
|
6067
6219
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6068
6220
|
}
|
|
6069
|
-
declare class ConnectionRequestFailedError extends ComposioError {
|
|
6221
|
+
export declare class ConnectionRequestFailedError extends ComposioError {
|
|
6070
6222
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6071
6223
|
}
|
|
6072
6224
|
//#endregion
|
|
6073
6225
|
//#region src/errors/ToolErrors.d.ts
|
|
6074
|
-
declare const ToolErrorCodes: {
|
|
6226
|
+
export declare const ToolErrorCodes: {
|
|
6075
6227
|
readonly TOOLSET_NOT_DEFINED: "TOOLSET_NOT_DEFINED";
|
|
6076
6228
|
readonly TOOL_NOT_FOUND: "TOOL_NOT_FOUND";
|
|
6077
6229
|
readonly INVALID_MODIFIER: "INVALID_MODIFIER";
|
|
@@ -6081,25 +6233,25 @@ declare const ToolErrorCodes: {
|
|
|
6081
6233
|
readonly GLOBAL_EXECUTE_TOOL_FN_NOT_SET: "GLOBAL_EXECUTE_TOOL_FN_NOT_SET";
|
|
6082
6234
|
readonly TOOL_VERSION_REQUIRED: "TOOL_VERSION_REQUIRED";
|
|
6083
6235
|
};
|
|
6084
|
-
declare class ComposioProviderNotDefinedError extends ComposioError {
|
|
6236
|
+
export declare class ComposioProviderNotDefinedError extends ComposioError {
|
|
6085
6237
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6086
6238
|
}
|
|
6087
|
-
declare class ComposioToolNotFoundError extends ComposioError {
|
|
6239
|
+
export declare class ComposioToolNotFoundError extends ComposioError {
|
|
6088
6240
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6089
6241
|
}
|
|
6090
|
-
declare class ComposioInvalidModifierError extends ComposioError {
|
|
6242
|
+
export declare class ComposioInvalidModifierError extends ComposioError {
|
|
6091
6243
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6092
6244
|
}
|
|
6093
|
-
declare class ComposioToolExecutionError extends ComposioError {
|
|
6245
|
+
export declare class ComposioToolExecutionError extends ComposioError {
|
|
6094
6246
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6095
6247
|
}
|
|
6096
|
-
declare class ComposioInvalidToolArgumentsError extends ComposioError {
|
|
6248
|
+
export declare class ComposioInvalidToolArgumentsError extends ComposioError {
|
|
6097
6249
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6098
6250
|
}
|
|
6099
|
-
declare class ComposioInvalidExecuteFunctionError extends ComposioError {
|
|
6251
|
+
export declare class ComposioInvalidExecuteFunctionError extends ComposioError {
|
|
6100
6252
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6101
6253
|
}
|
|
6102
|
-
declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
6254
|
+
export declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
6103
6255
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6104
6256
|
}
|
|
6105
6257
|
/**
|
|
@@ -6165,10 +6317,10 @@ declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
|
6165
6317
|
* });
|
|
6166
6318
|
* ```
|
|
6167
6319
|
*/
|
|
6168
|
-
declare class ComposioToolVersionRequiredError extends ComposioError {
|
|
6320
|
+
export declare class ComposioToolVersionRequiredError extends ComposioError {
|
|
6169
6321
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6170
6322
|
}
|
|
6171
|
-
interface ComposioAPIServerErrorBody {
|
|
6323
|
+
export interface ComposioAPIServerErrorBody {
|
|
6172
6324
|
error: {
|
|
6173
6325
|
message: string;
|
|
6174
6326
|
code: number;
|
|
@@ -6177,16 +6329,16 @@ interface ComposioAPIServerErrorBody {
|
|
|
6177
6329
|
suggested_fix: string;
|
|
6178
6330
|
};
|
|
6179
6331
|
}
|
|
6180
|
-
declare const handleToolExecutionError: (tool: string, actualError: Error) => ComposioError;
|
|
6332
|
+
export declare const handleToolExecutionError: (tool: string, actualError: Error) => ComposioError;
|
|
6181
6333
|
//#endregion
|
|
6182
6334
|
//#region src/errors/ToolkitErrors.d.ts
|
|
6183
|
-
declare const ToolkitErrorCodes: {
|
|
6335
|
+
export declare const ToolkitErrorCodes: {
|
|
6184
6336
|
readonly TOOLKIT_NOT_FOUND: "TOOLKIT_NOT_FOUND";
|
|
6185
6337
|
};
|
|
6186
|
-
declare class ComposioToolkitNotFoundError extends ComposioError {
|
|
6338
|
+
export declare class ComposioToolkitNotFoundError extends ComposioError {
|
|
6187
6339
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6188
6340
|
}
|
|
6189
|
-
declare class ComposioToolkitFetchError extends ComposioError {
|
|
6341
|
+
export declare class ComposioToolkitFetchError extends ComposioError {
|
|
6190
6342
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6191
6343
|
}
|
|
6192
6344
|
//#endregion
|
|
@@ -6194,16 +6346,16 @@ declare class ComposioToolkitFetchError extends ComposioError {
|
|
|
6194
6346
|
/**
|
|
6195
6347
|
* Represents an input validation error using Zod.
|
|
6196
6348
|
*/
|
|
6197
|
-
declare const ValidationErrorCodes: {
|
|
6349
|
+
export declare const ValidationErrorCodes: {
|
|
6198
6350
|
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
6199
6351
|
readonly JSON_SCHEMA_TO_ZOD_ERROR: "JSON_SCHEMA_TO_ZOD_ERROR";
|
|
6200
6352
|
readonly JSON_SCHEMA_REF_RESOLUTION_ERROR: "JSON_SCHEMA_REF_RESOLUTION_ERROR";
|
|
6201
6353
|
};
|
|
6202
|
-
declare class ValidationError extends ComposioError {
|
|
6354
|
+
export declare class ValidationError extends ComposioError {
|
|
6203
6355
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6204
6356
|
private generateUserFriendlyMessage;
|
|
6205
6357
|
}
|
|
6206
|
-
declare class JsonSchemaToZodError extends ComposioError {
|
|
6358
|
+
export declare class JsonSchemaToZodError extends ComposioError {
|
|
6207
6359
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6208
6360
|
}
|
|
6209
6361
|
/**
|
|
@@ -6211,16 +6363,16 @@ declare class JsonSchemaToZodError extends ComposioError {
|
|
|
6211
6363
|
* document. Used by `dereferenceJsonSchema` to surface malformed pointers,
|
|
6212
6364
|
* missing `$defs`/`definitions` targets, or chains exceeding the depth cap.
|
|
6213
6365
|
*/
|
|
6214
|
-
declare class JsonSchemaRefResolutionError extends ComposioError {
|
|
6366
|
+
export declare class JsonSchemaRefResolutionError extends ComposioError {
|
|
6215
6367
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6216
6368
|
}
|
|
6217
6369
|
//#endregion
|
|
6218
6370
|
//#region src/errors/SDKErrors.d.ts
|
|
6219
|
-
declare const SDKErrorCodes: {
|
|
6371
|
+
export declare const SDKErrorCodes: {
|
|
6220
6372
|
NO_API_KEY_PROVIDED: string;
|
|
6221
6373
|
REQUEST_CANCELLED: string;
|
|
6222
6374
|
};
|
|
6223
|
-
declare class ComposioNoAPIKeyError extends ComposioError {
|
|
6375
|
+
export declare class ComposioNoAPIKeyError extends ComposioError {
|
|
6224
6376
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6225
6377
|
}
|
|
6226
6378
|
/**
|
|
@@ -6236,7 +6388,7 @@ declare class ComposioNoAPIKeyError extends ComposioError {
|
|
|
6236
6388
|
* }
|
|
6237
6389
|
* ```
|
|
6238
6390
|
*/
|
|
6239
|
-
declare class ComposioRequestCancelledError extends ComposioError {
|
|
6391
|
+
export declare class ComposioRequestCancelledError extends ComposioError {
|
|
6240
6392
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6241
6393
|
}
|
|
6242
6394
|
/**
|
|
@@ -6244,10 +6396,10 @@ declare class ComposioRequestCancelledError extends ComposioError {
|
|
|
6244
6396
|
* so we fall back to `constructor.name` for dual-package-hazard cases.
|
|
6245
6397
|
* @internal
|
|
6246
6398
|
*/
|
|
6247
|
-
declare function isRequestAbortError(error: unknown): boolean;
|
|
6399
|
+
export declare function isRequestAbortError(error: unknown): boolean;
|
|
6248
6400
|
//#endregion
|
|
6249
6401
|
//#region src/errors/TriggerErrors.d.ts
|
|
6250
|
-
declare const TriggerErrorCodes: {
|
|
6402
|
+
export declare const TriggerErrorCodes: {
|
|
6251
6403
|
readonly TRIGGER_FAILED_TO_GET_SDK_REALTIME_CREDENTIALS: "TRIGGER_FAILED_TO_GET_SDK_REALTIME_CREDENTIALS";
|
|
6252
6404
|
readonly TRIGGER_FAILED_TO_CREATE_PUSHER_CLIENT: "TRIGGER_FAILED_TO_CREATE_PUSHER_CLIENT";
|
|
6253
6405
|
readonly TRIGGER_FAILED_TO_SUBSCRIBE_TO_PUSHER_CHANNEL: "TRIGGER_FAILED_TO_SUBSCRIBE_TO_PUSHER_CHANNEL";
|
|
@@ -6256,33 +6408,33 @@ declare const TriggerErrorCodes: {
|
|
|
6256
6408
|
readonly WEBHOOK_SIGNATURE_VERIFICATION_FAILED: "WEBHOOK_SIGNATURE_VERIFICATION_FAILED";
|
|
6257
6409
|
readonly WEBHOOK_PAYLOAD_INVALID: "WEBHOOK_PAYLOAD_INVALID";
|
|
6258
6410
|
};
|
|
6259
|
-
declare class ComposioFailedToGetSDKRealtimeCredentialsError extends ComposioError {
|
|
6411
|
+
export declare class ComposioFailedToGetSDKRealtimeCredentialsError extends ComposioError {
|
|
6260
6412
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6261
6413
|
}
|
|
6262
|
-
declare class ComposioFailedToCreatePusherClientError extends ComposioError {
|
|
6414
|
+
export declare class ComposioFailedToCreatePusherClientError extends ComposioError {
|
|
6263
6415
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6264
6416
|
}
|
|
6265
|
-
declare class ComposioFailedToSubscribeToPusherChannelError extends ComposioError {
|
|
6417
|
+
export declare class ComposioFailedToSubscribeToPusherChannelError extends ComposioError {
|
|
6266
6418
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6267
6419
|
}
|
|
6268
|
-
declare class ComposioFailedToUnsubscribeFromPusherChannelError extends ComposioError {
|
|
6420
|
+
export declare class ComposioFailedToUnsubscribeFromPusherChannelError extends ComposioError {
|
|
6269
6421
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6270
6422
|
}
|
|
6271
|
-
declare class ComposioTriggerTypeNotFoundError extends ComposioError {
|
|
6423
|
+
export declare class ComposioTriggerTypeNotFoundError extends ComposioError {
|
|
6272
6424
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6273
6425
|
}
|
|
6274
|
-
declare class ComposioWebhookSignatureVerificationError extends ComposioError {
|
|
6426
|
+
export declare class ComposioWebhookSignatureVerificationError extends ComposioError {
|
|
6275
6427
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6276
6428
|
}
|
|
6277
|
-
declare class ComposioWebhookPayloadError extends ComposioError {
|
|
6429
|
+
export declare class ComposioWebhookPayloadError extends ComposioError {
|
|
6278
6430
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6279
6431
|
}
|
|
6280
6432
|
//#endregion
|
|
6281
6433
|
//#region src/errors/RemoteFileErrors.d.ts
|
|
6282
|
-
declare const RemoteFileErrorCodes: {
|
|
6434
|
+
export declare const RemoteFileErrorCodes: {
|
|
6283
6435
|
readonly DOWNLOAD_FAILED: "REMOTE_FILE_DOWNLOAD_FAILED";
|
|
6284
6436
|
};
|
|
6285
|
-
interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6437
|
+
export interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6286
6438
|
/** HTTP status code from the failed response */
|
|
6287
6439
|
statusCode?: number;
|
|
6288
6440
|
/** HTTP status text (e.g. "Not Found", "Forbidden") */
|
|
@@ -6298,19 +6450,19 @@ interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'cod
|
|
|
6298
6450
|
* Error thrown when fetching a remote file from a tool router session mount fails.
|
|
6299
6451
|
* Includes HTTP status, URL, and file path context for debugging.
|
|
6300
6452
|
*/
|
|
6301
|
-
declare class RemoteFileDownloadError extends ComposioError {
|
|
6453
|
+
export declare class RemoteFileDownloadError extends ComposioError {
|
|
6302
6454
|
constructor(message?: string, options?: RemoteFileDownloadErrorOptions);
|
|
6303
6455
|
}
|
|
6304
6456
|
//#endregion
|
|
6305
6457
|
//#region src/errors/FileModifierErrors.d.ts
|
|
6306
|
-
declare const FileModifierErrorCodes: {
|
|
6458
|
+
export declare const FileModifierErrorCodes: {
|
|
6307
6459
|
readonly FILE_UPLOAD_FAILED: "FILE_UPLOAD_FAILED";
|
|
6308
6460
|
readonly SENSITIVE_FILE_PATH_BLOCKED: "SENSITIVE_FILE_PATH_BLOCKED";
|
|
6309
6461
|
readonly FILE_UPLOAD_ABORTED: "FILE_UPLOAD_ABORTED";
|
|
6310
6462
|
readonly FILE_UPLOAD_PATH_NOT_ALLOWED: "FILE_UPLOAD_PATH_NOT_ALLOWED";
|
|
6311
6463
|
readonly FILE_NOT_FOUND: "FILE_NOT_FOUND";
|
|
6312
6464
|
};
|
|
6313
|
-
declare class ComposioFileUploadError extends ComposioError {
|
|
6465
|
+
export declare class ComposioFileUploadError extends ComposioError {
|
|
6314
6466
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6315
6467
|
}
|
|
6316
6468
|
/**
|
|
@@ -6318,13 +6470,13 @@ declare class ComposioFileUploadError extends ComposioError {
|
|
|
6318
6470
|
* credential-like file name). Subclass of {@link ComposioFileUploadError} so existing
|
|
6319
6471
|
* `instanceof ComposioFileUploadError` handlers still apply.
|
|
6320
6472
|
*/
|
|
6321
|
-
declare class ComposioSensitiveFilePathBlockedError extends ComposioFileUploadError {
|
|
6473
|
+
export declare class ComposioSensitiveFilePathBlockedError extends ComposioFileUploadError {
|
|
6322
6474
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6323
6475
|
}
|
|
6324
6476
|
/**
|
|
6325
6477
|
* Thrown when a `beforeFileUpload` hook returns `false`.
|
|
6326
6478
|
*/
|
|
6327
|
-
declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
6479
|
+
export declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
6328
6480
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6329
6481
|
}
|
|
6330
6482
|
/**
|
|
@@ -6335,7 +6487,7 @@ declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
|
6335
6487
|
* `dangerouslyAllowAutoUploadDownloadFiles: true`). Manual `composio.files.upload()`
|
|
6336
6488
|
* calls are never subject to this check.
|
|
6337
6489
|
*/
|
|
6338
|
-
declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadError {
|
|
6490
|
+
export declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadError {
|
|
6339
6491
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6340
6492
|
}
|
|
6341
6493
|
/**
|
|
@@ -6343,15 +6495,15 @@ declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadEr
|
|
|
6343
6495
|
* Provides extra debugging context (resolved absolute path, cwd, allowlist state)
|
|
6344
6496
|
* to help the caller distinguish between "typo" and "not-allowlisted" failures.
|
|
6345
6497
|
*/
|
|
6346
|
-
declare class ComposioFileNotFoundError extends ComposioFileUploadError {
|
|
6498
|
+
export declare class ComposioFileNotFoundError extends ComposioFileUploadError {
|
|
6347
6499
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6348
6500
|
}
|
|
6349
6501
|
//#endregion
|
|
6350
6502
|
//#region src/errors/SsrfErrors.d.ts
|
|
6351
|
-
declare const SsrfErrorCodes: {
|
|
6503
|
+
export declare const SsrfErrorCodes: {
|
|
6352
6504
|
readonly BLOCKED_INTERNAL_URL: "BLOCKED_INTERNAL_URL";
|
|
6353
6505
|
};
|
|
6354
|
-
interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6506
|
+
export interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6355
6507
|
/** The user-supplied URL that was refused. */
|
|
6356
6508
|
url?: string;
|
|
6357
6509
|
/** The resolved address that tripped the guard, when known. */
|
|
@@ -6365,8 +6517,8 @@ interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptio
|
|
|
6365
6517
|
* (SSRF) probe of internal infrastructure such as cloud metadata endpoints
|
|
6366
6518
|
* (`169.254.169.254`).
|
|
6367
6519
|
*/
|
|
6368
|
-
declare class ComposioBlockedInternalUrlError extends ComposioError {
|
|
6520
|
+
export declare class ComposioBlockedInternalUrlError extends ComposioError {
|
|
6369
6521
|
constructor(message?: string, options?: ComposioBlockedInternalUrlErrorOptions);
|
|
6370
6522
|
}
|
|
6371
6523
|
//#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 };
|
|
6524
|
+
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, ToolRouterSessionConfigHistoryConfig, ToolRouterSessionConfigHistoryFn, ToolRouterSessionConfigHistoryItem, ToolRouterSessionConfigHistoryOptions, ToolRouterSessionConfigHistoryOptionsSchema, ToolRouterSessionConfigHistoryResponse, 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, 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 };
|