@composio/core 1.0.0-beta.0 → 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-l-j5HtEf.mjs → CustomTool-CM-roKk7.mjs} +16 -6
- package/dist/{CustomTool-CwpeQhz2.d.mts → CustomTool-yMQjEyMz.d.mts} +1 -1
- package/dist/{FileModifierErrors-B8V8_3VE.mjs → FileModifierErrors-CdGSABoq.mjs} +1 -1
- package/dist/{FileToolModifier.utils.neutral-D_YkHwZP.mjs → FileToolModifier.utils.neutral-DWFpnsj2.mjs} +4 -2
- package/dist/{SsrfErrors-DNJt57GL.mjs → SsrfErrors-DiQldIdC.mjs} +154 -19
- package/dist/{Telemetry-DK1uAWnD.mjs → Telemetry-JRJJYS4I.mjs} +28 -44
- package/dist/cancellation-BEpFk2S8.mjs +706 -0
- package/dist/{composio-XjF7EMEe.d.mts → composio-BVNJTVYa.d.mts} +2450 -119
- package/dist/{customTool.types-DpJbYY5m.d.mts → customTool.types-CY5SXFfF.d.mts} +143 -28
- package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +1 -1
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +4 -3
- package/dist/{errors-BcEUHZbq.mjs → errors-CvZjP9CH.mjs} +42 -4
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/{fileUtils.node-BwpUOF0s.mjs → fileUtils.node-HQsywtTj.mjs} +11 -9
- package/dist/index.d.mts +393 -142
- package/dist/index.mjs +1945 -171
- 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-B0w8dqpv.mjs → sensitiveFileUploadPaths-BlLp-Yo2.mjs} +10 -7
- package/dist/{ssrfGuard.node-DlxO8uzr.mjs → ssrfGuard.node-BK50mYTq.mjs} +187 -24
- package/dist/{types-C9kJAurw.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 +2 -2
- package/package.json +25 -7
- package/src/composio.ts +86 -2
- package/src/errors/ConnectedAccountsErrors.ts +47 -0
- package/src/errors/ToolErrors.ts +1 -0
- package/src/errors/ValidationErrors.ts +2 -0
- package/src/index.ts +21 -0
- package/src/models/ConnectedAccounts.ts +118 -2
- package/src/models/CustomTool.ts +41 -6
- 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/RemoteFile.ts +54 -36
- package/src/models/ToolRouterSession.ts +60 -4
- package/src/models/Toolkits.ts +180 -0
- package/src/models/Tools.ts +3 -1
- package/src/models/Triggers.ts +17 -87
- package/src/models/Usage.ts +119 -0
- package/src/models/Webhooks.ts +520 -0
- package/src/services/telemetry/TelemetryService.ts +27 -12
- package/src/telemetry/redact.ts +133 -6
- 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/fileUtils.node.ts +10 -2
- package/src/utils/jsonSchema.ts +509 -28
- package/src/utils/logger.ts +45 -13
- package/src/utils/pinnedDispatcher.node.ts +109 -13
- package/src/utils/sdk.ts +1 -1
- package/src/utils/ssrfGuard.node.ts +124 -21
- package/src/utils/ssrfGuard.workerd.ts +5 -1
- package/src/utils/transformers/connectedAccounts.ts +37 -2
- package/src/utils/transformers/customToolkits.ts +98 -0
- package/src/utils/transformers/keyring.ts +24 -0
- package/src/utils/transformers/logs.ts +85 -0
- package/src/utils/transformers/toolkits.ts +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/cancellation-C-qy8rcj.mjs +0 -364
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-DpJbYY5m.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,16 +150,114 @@ 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
|
+
/**
|
|
157
|
+
* Reason recorded when strict normalization rewrites a schema node. Every
|
|
158
|
+
* rewrite is lossless: the model can still express the same values.
|
|
159
|
+
*
|
|
160
|
+
* - `optional-property-nullable` — a property missing from `required` was
|
|
161
|
+
* added to it and widened to accept `null`, the emulation of optional
|
|
162
|
+
* fields that OpenAI structured outputs document.
|
|
163
|
+
* - `unsupported-keyword-stripped` — an annotation keyword the API rejects
|
|
164
|
+
* (`default`, `examples`) was removed.
|
|
165
|
+
* - `one-of-converted` — `oneOf` (unsupported) became `anyOf`.
|
|
166
|
+
*/
|
|
167
|
+
type StrictSchemaChangeReason = 'optional-property-nullable' | 'unsupported-keyword-stripped' | 'one-of-converted';
|
|
168
|
+
/** A single lossless rewrite applied by {@link toStrictJsonSchema}. */
|
|
169
|
+
interface StrictSchemaChange {
|
|
170
|
+
/** Path to the changed node relative to the root, e.g. `properties.cfg.items`. */
|
|
171
|
+
path: string;
|
|
172
|
+
reason: StrictSchemaChangeReason;
|
|
173
|
+
/** Human-readable detail about what specifically changed. */
|
|
174
|
+
detail?: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* A schema construct strict structured outputs cannot express. Rewriting it
|
|
178
|
+
* would change what the tool accepts, so it is reported instead; providers
|
|
179
|
+
* send such a tool without strict mode.
|
|
180
|
+
*/
|
|
181
|
+
interface StrictSchemaIncompatibility {
|
|
182
|
+
/** Path to the offending node relative to the root. */
|
|
183
|
+
path: string;
|
|
184
|
+
/** The keyword (or `$ref`) that has no strict-mode equivalent. */
|
|
185
|
+
keyword: string;
|
|
186
|
+
detail: string;
|
|
187
|
+
}
|
|
188
|
+
/** Result of {@link toStrictJsonSchema}. */
|
|
189
|
+
interface StrictJsonSchemaResult {
|
|
190
|
+
/**
|
|
191
|
+
* The strict schema. Only usable when `unsupported` is empty; otherwise it
|
|
192
|
+
* is best-effort and the original schema should be sent without strict mode.
|
|
193
|
+
*/
|
|
194
|
+
schema: Record<string, unknown>;
|
|
195
|
+
/**
|
|
196
|
+
* The input schema the rewrite was computed from. Optionality is decided
|
|
197
|
+
* against this schema, so it is what `omitNullToolArguments` needs.
|
|
198
|
+
*/
|
|
199
|
+
source: Record<string, unknown>;
|
|
200
|
+
/** Lossless rewrites, capped at 50 entries; see `totalChanges`. */
|
|
201
|
+
changes: StrictSchemaChange[];
|
|
202
|
+
totalChanges: number;
|
|
203
|
+
/** Constructs strict mode cannot express. Non-empty means "do not use `schema`". */
|
|
204
|
+
unsupported: StrictSchemaIncompatibility[];
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Normalizes a tool parameter schema for OpenAI structured outputs
|
|
208
|
+
* (`strict: true`) at every depth, following the contract OpenAI documents:
|
|
209
|
+
*
|
|
210
|
+
* - every object lists all of its properties in `required` and sets
|
|
211
|
+
* `additionalProperties: false`;
|
|
212
|
+
* - properties that were optional stay available and are widened to accept
|
|
213
|
+
* `null` (`type: ['string', 'null']`, or an extra `anyOf` branch) — the
|
|
214
|
+
* documented way to emulate optional fields. Nothing is dropped, so the
|
|
215
|
+
* model keeps every parameter it could pass before. A `null` the model
|
|
216
|
+
* sends for such a property means "omitted"; the strict providers drop it
|
|
217
|
+
* before executing the tool (see {@link omitNullToolArguments});
|
|
218
|
+
* - `type` arrays are kept as-is (the API accepts them); `oneOf` becomes
|
|
219
|
+
* `anyOf`; `default` and `examples` are stripped;
|
|
220
|
+
* - local `$ref`s into `$defs`/`definitions` are kept (the API supports
|
|
221
|
+
* them, including recursion) and the definitions themselves are
|
|
222
|
+
* normalized; an optional `$ref` property is widened with an `anyOf`
|
|
223
|
+
* null branch;
|
|
224
|
+
* - constructs strict mode cannot express — objects that accept arbitrary
|
|
225
|
+
* keys (schema-valued or `true` `additionalProperties`, `patternProperties`,
|
|
226
|
+
* property-less free-form objects), boolean subschemas, `allOf`,
|
|
227
|
+
* `prefixItems`, tuple-form `items`, conditional and dependency keywords,
|
|
228
|
+
* external or dangling `$ref`s, and a non-object root — are reported in
|
|
229
|
+
* `unsupported` rather than rewritten into something narrower. Callers send
|
|
230
|
+
* such a tool without strict mode.
|
|
231
|
+
*
|
|
232
|
+
* The input is never mutated. Every rewrite is recorded in `changes` (capped
|
|
233
|
+
* at 50 entries; `totalChanges` carries the real count), and `required`
|
|
234
|
+
* arrays are de-duplicated at the end.
|
|
235
|
+
*/
|
|
236
|
+
export declare function toStrictJsonSchema(schema: unknown): StrictJsonSchemaResult;
|
|
237
|
+
/**
|
|
238
|
+
* Drops `null`-valued arguments that the tool's own schema does not accept,
|
|
239
|
+
* recursively through nested objects and arrays.
|
|
240
|
+
*
|
|
241
|
+
* Strict structured outputs cannot express optional parameters, so
|
|
242
|
+
* {@link toStrictJsonSchema} makes every parameter required and nullable. The
|
|
243
|
+
* model then sends `null` for a parameter it would otherwise have omitted;
|
|
244
|
+
* forwarding that `null` to the tool would fail validation against the tool's
|
|
245
|
+
* real schema, so it is treated as "omitted". A `null` the original schema
|
|
246
|
+
* accepts (a nullable field, an explicit "clear this value") is kept.
|
|
247
|
+
*
|
|
248
|
+
* @param args - Normalized tool arguments.
|
|
249
|
+
* @param schema - The dereferenced tool parameter schema the arguments were
|
|
250
|
+
* produced for (`StrictJsonSchemaResult.source`).
|
|
251
|
+
* @returns A new object; the input is not mutated.
|
|
252
|
+
*/
|
|
253
|
+
export declare function omitNullToolArguments(args: Record<string, unknown>, schema: unknown): Record<string, unknown>;
|
|
156
254
|
//#endregion
|
|
157
255
|
//#region src/utils/mime.d.ts
|
|
158
256
|
/**
|
|
159
257
|
* Maps MIME types to file extensions.
|
|
160
258
|
* Used when deriving filenames from content-type headers (e.g. for URLs without path segments).
|
|
161
259
|
*/
|
|
162
|
-
declare function getExtensionFromMimeType(mimeType: string): string;
|
|
260
|
+
export declare function getExtensionFromMimeType(mimeType: string): string;
|
|
163
261
|
//#endregion
|
|
164
262
|
//#region src/utils/toolArguments.d.ts
|
|
165
263
|
/**
|
|
@@ -178,7 +276,7 @@ declare function getExtensionFromMimeType(mimeType: string): string;
|
|
|
178
276
|
* @param toolSlug - Optional tool slug, used to enrich the error message.
|
|
179
277
|
* @returns The normalized arguments as a `Record<string, unknown>`.
|
|
180
278
|
*/
|
|
181
|
-
declare function normalizeToolArguments(input: unknown, toolSlug?: string): Record<string, unknown>;
|
|
279
|
+
export declare function normalizeToolArguments(input: unknown, toolSlug?: string): Record<string, unknown>;
|
|
182
280
|
//#endregion
|
|
183
281
|
//#region src/utils/sensitiveFileUploadPaths.d.ts
|
|
184
282
|
/**
|
|
@@ -186,20 +284,31 @@ declare function normalizeToolArguments(input: unknown, toolSlug?: string): Reco
|
|
|
186
284
|
* they appear anywhere in a resolved local path. Matching follows the case sensitivity
|
|
187
285
|
* of the filesystem containing that path.
|
|
188
286
|
*/
|
|
189
|
-
declare const BUILTIN_FILE_UPLOAD_PATH_DENY_SEGMENTS: readonly string[];
|
|
287
|
+
export declare const BUILTIN_FILE_UPLOAD_PATH_DENY_SEGMENTS: readonly string[];
|
|
190
288
|
/**
|
|
191
289
|
* True if the path is under a built-in or extra deny segment, or the basename
|
|
192
290
|
* looks like an env / netrc / default SSH private key name.
|
|
193
291
|
*/
|
|
194
|
-
declare function isBlockedSensitiveFileUploadPath(filePath: string, additionalDenySegments?: string[]): boolean;
|
|
292
|
+
export declare function isBlockedSensitiveFileUploadPath(filePath: string, additionalDenySegments?: string[]): boolean;
|
|
195
293
|
/**
|
|
196
294
|
* @throws {ComposioSensitiveFilePathBlockedError} if the path is not allowed
|
|
197
295
|
*/
|
|
198
|
-
declare function assertSafeFileUploadPath(filePath: string, options?: {
|
|
296
|
+
export declare function assertSafeFileUploadPath(filePath: string, options?: {
|
|
199
297
|
additionalDenySegments?: string[];
|
|
200
298
|
remediation?: string;
|
|
201
299
|
}): void;
|
|
202
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
|
|
203
312
|
//#region src/utils/schemaPropertyKeys.d.ts
|
|
204
313
|
/**
|
|
205
314
|
* JSON-schema property-key sanitization.
|
|
@@ -272,7 +381,7 @@ interface KeyMapping {
|
|
|
272
381
|
restItems?: KeyMapping;
|
|
273
382
|
}
|
|
274
383
|
/** Whether a mapping (or any of its descendants) actually renames a key. */
|
|
275
|
-
declare function mappingHasRenames(mapping: KeyMapping): boolean;
|
|
384
|
+
export declare function mappingHasRenames(mapping: KeyMapping): boolean;
|
|
276
385
|
/**
|
|
277
386
|
* Sanitizes a tool `input_schema` so all property keys conform to `policy`.
|
|
278
387
|
*
|
|
@@ -283,7 +392,7 @@ declare function mappingHasRenames(mapping: KeyMapping): boolean;
|
|
|
283
392
|
* the original keys. Use {@link mappingHasRenames} to tell whether
|
|
284
393
|
* anything was rewritten.
|
|
285
394
|
*/
|
|
286
|
-
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): {
|
|
287
396
|
schema: T;
|
|
288
397
|
mapping: KeyMapping;
|
|
289
398
|
};
|
|
@@ -294,10 +403,10 @@ declare function sanitizeSchemaPropertyKeys<T extends Record<string, unknown>>(s
|
|
|
294
403
|
* its alias was actually generated. Nested objects and arrays are handled
|
|
295
404
|
* recursively. Returns a new value; the input is not mutated.
|
|
296
405
|
*/
|
|
297
|
-
declare function restoreOriginalKeys(value: unknown, mapping: KeyMapping, depth?: number): unknown;
|
|
406
|
+
export declare function restoreOriginalKeys(value: unknown, mapping: KeyMapping, depth?: number): unknown;
|
|
298
407
|
//#endregion
|
|
299
408
|
//#region src/models/AuthScheme.d.ts
|
|
300
|
-
declare class AuthScheme {
|
|
409
|
+
export declare class AuthScheme {
|
|
301
410
|
/**
|
|
302
411
|
* Creates a ConnectionData object for OAuth2 authentication.
|
|
303
412
|
* When `access_token` is provided, status defaults to ACTIVE (token import).
|
|
@@ -419,7 +528,7 @@ declare class AuthScheme {
|
|
|
419
528
|
* @returns {ConnectionRequestState & { waitForConnection: (timeout?: number) => Promise<ConnectedAccountRetrieveResponse> }}
|
|
420
529
|
* Connection request object with state and methods
|
|
421
530
|
*/
|
|
422
|
-
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;
|
|
423
532
|
//#endregion
|
|
424
533
|
//#region src/models/ToolRouterSession.d.ts
|
|
425
534
|
/**
|
|
@@ -435,7 +544,7 @@ declare function createConnectionRequest(client: ComposioClient, connectedAccoun
|
|
|
435
544
|
*
|
|
436
545
|
* @see {@link Sessions} for the `composio.sessions` factory.
|
|
437
546
|
*/
|
|
438
|
-
declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
|
|
547
|
+
export declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
|
|
439
548
|
private readonly client;
|
|
440
549
|
private readonly config;
|
|
441
550
|
private readonly customToolsMap?;
|
|
@@ -527,8 +636,8 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
527
636
|
isActive: boolean;
|
|
528
637
|
authConfig?: {
|
|
529
638
|
id: string;
|
|
530
|
-
isComposioManaged: boolean;
|
|
531
639
|
mode: string;
|
|
640
|
+
isComposioManaged: boolean;
|
|
532
641
|
} | null | undefined;
|
|
533
642
|
connectedAccount?: {
|
|
534
643
|
status: string;
|
|
@@ -550,9 +659,10 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
550
659
|
/**
|
|
551
660
|
* Execute a tool within the session.
|
|
552
661
|
*
|
|
553
|
-
* For custom tools, accepts the
|
|
554
|
-
*
|
|
555
|
-
*
|
|
662
|
+
* For custom tools, accepts the full slug (e.g. "LOCAL_GREP") or the
|
|
663
|
+
* original slug (e.g. "GREP") when that original slug is unique across
|
|
664
|
+
* the session's custom tools and toolkits. Custom tools are executed
|
|
665
|
+
* in-process; remote tools are sent to the Composio backend.
|
|
556
666
|
*
|
|
557
667
|
* @param toolSlug - The tool slug to execute
|
|
558
668
|
* @param arguments_ - Optional tool arguments
|
|
@@ -582,6 +692,23 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
582
692
|
* an already-deleted session surfaces the backend 404.
|
|
583
693
|
*/
|
|
584
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>;
|
|
585
712
|
/** Check if this session has any custom tools bound. */
|
|
586
713
|
private hasCustomTools;
|
|
587
714
|
private executeBackendSessionTool;
|
|
@@ -596,11 +723,11 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
596
723
|
}
|
|
597
724
|
//#endregion
|
|
598
725
|
//#region src/types/webhookEvents.types.d.ts
|
|
599
|
-
declare const WebhookEventTypes: {
|
|
726
|
+
export declare const WebhookEventTypes: {
|
|
600
727
|
readonly CONNECTION_EXPIRED: "composio.connected_account.expired";
|
|
601
728
|
readonly TRIGGER_MESSAGE: "composio.trigger.message";
|
|
602
729
|
};
|
|
603
|
-
type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventTypes];
|
|
730
|
+
export type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventTypes];
|
|
604
731
|
/**
|
|
605
732
|
* Auth config schema for webhook payloads (raw API format, snake_case).
|
|
606
733
|
*
|
|
@@ -615,7 +742,7 @@ type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventType
|
|
|
615
742
|
*
|
|
616
743
|
* @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
617
744
|
*/
|
|
618
|
-
declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
745
|
+
export declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
619
746
|
/** The nano ID of the auth config */
|
|
620
747
|
id: z$1.ZodString;
|
|
621
748
|
/** @deprecated - use state.authScheme instead */
|
|
@@ -633,6 +760,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
633
760
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
634
761
|
readonly SAML: "SAML";
|
|
635
762
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
763
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
636
764
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
637
765
|
}>;
|
|
638
766
|
/** Whether this auth config is managed by Composio */
|
|
@@ -665,6 +793,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
665
793
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
666
794
|
readonly SAML: "SAML";
|
|
667
795
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
796
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
668
797
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
669
798
|
}>;
|
|
670
799
|
/** Whether this auth config is managed by Composio */
|
|
@@ -697,6 +826,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
697
826
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
698
827
|
readonly SAML: "SAML";
|
|
699
828
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
829
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
700
830
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
701
831
|
}>;
|
|
702
832
|
/** Whether this auth config is managed by Composio */
|
|
@@ -712,7 +842,7 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
|
712
842
|
uuid: string;
|
|
713
843
|
}>>;
|
|
714
844
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
715
|
-
type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
|
|
845
|
+
export type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
|
|
716
846
|
/**
|
|
717
847
|
* Simplified connection state schema for webhook payloads (raw API format).
|
|
718
848
|
*
|
|
@@ -727,7 +857,7 @@ type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccoun
|
|
|
727
857
|
*
|
|
728
858
|
* @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
|
|
729
859
|
*/
|
|
730
|
-
declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
860
|
+
export declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
731
861
|
/** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
|
|
732
862
|
authScheme: z$1.ZodNativeEnum<{
|
|
733
863
|
readonly OAUTH1: "OAUTH1";
|
|
@@ -743,6 +873,7 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
743
873
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
744
874
|
readonly SAML: "SAML";
|
|
745
875
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
876
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
746
877
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
747
878
|
}>;
|
|
748
879
|
/** Connection state values - varies by auth scheme */
|
|
@@ -763,6 +894,7 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
763
894
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
764
895
|
readonly SAML: "SAML";
|
|
765
896
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
897
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
766
898
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
767
899
|
}>;
|
|
768
900
|
/** Connection state values - varies by auth scheme */
|
|
@@ -783,12 +915,13 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
|
|
|
783
915
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
784
916
|
readonly SAML: "SAML";
|
|
785
917
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
918
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
786
919
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
787
920
|
}>;
|
|
788
921
|
/** Connection state values - varies by auth scheme */
|
|
789
922
|
val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
790
923
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
791
|
-
type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
924
|
+
export type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
792
925
|
/**
|
|
793
926
|
* Connected account data schema for webhook payloads (raw API format, snake_case).
|
|
794
927
|
*
|
|
@@ -805,7 +938,7 @@ type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
|
|
|
805
938
|
* @see ConnectedAccountRetrieveResponseSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
806
939
|
* @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
|
|
807
940
|
*/
|
|
808
|
-
declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
941
|
+
export declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
809
942
|
/** Toolkit information */
|
|
810
943
|
toolkit: z$1.ZodObject<{
|
|
811
944
|
slug: z$1.ZodString;
|
|
@@ -833,6 +966,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
833
966
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
834
967
|
readonly SAML: "SAML";
|
|
835
968
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
969
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
836
970
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
837
971
|
}>;
|
|
838
972
|
/** Whether this auth config is managed by Composio */
|
|
@@ -865,6 +999,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
865
999
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
866
1000
|
readonly SAML: "SAML";
|
|
867
1001
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1002
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
868
1003
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
869
1004
|
}>;
|
|
870
1005
|
/** Whether this auth config is managed by Composio */
|
|
@@ -897,6 +1032,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
897
1032
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
898
1033
|
readonly SAML: "SAML";
|
|
899
1034
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1035
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
900
1036
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
901
1037
|
}>;
|
|
902
1038
|
/** Whether this auth config is managed by Composio */
|
|
@@ -947,6 +1083,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
947
1083
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
948
1084
|
readonly SAML: "SAML";
|
|
949
1085
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1086
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
950
1087
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
951
1088
|
}>;
|
|
952
1089
|
/** Connection state values - varies by auth scheme */
|
|
@@ -967,6 +1104,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
967
1104
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
968
1105
|
readonly SAML: "SAML";
|
|
969
1106
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1107
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
970
1108
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
971
1109
|
}>;
|
|
972
1110
|
/** Connection state values - varies by auth scheme */
|
|
@@ -987,6 +1125,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
987
1125
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
988
1126
|
readonly SAML: "SAML";
|
|
989
1127
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1128
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
990
1129
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
991
1130
|
}>;
|
|
992
1131
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1041,6 +1180,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1041
1180
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1042
1181
|
readonly SAML: "SAML";
|
|
1043
1182
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1183
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1044
1184
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1045
1185
|
}>;
|
|
1046
1186
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1073,6 +1213,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1073
1213
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1074
1214
|
readonly SAML: "SAML";
|
|
1075
1215
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1216
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1076
1217
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1077
1218
|
}>;
|
|
1078
1219
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1105,6 +1246,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1105
1246
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1106
1247
|
readonly SAML: "SAML";
|
|
1107
1248
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1249
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1108
1250
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1109
1251
|
}>;
|
|
1110
1252
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1155,6 +1297,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1155
1297
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1156
1298
|
readonly SAML: "SAML";
|
|
1157
1299
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1300
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1158
1301
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1159
1302
|
}>;
|
|
1160
1303
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1175,6 +1318,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1175
1318
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1176
1319
|
readonly SAML: "SAML";
|
|
1177
1320
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1321
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1178
1322
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1179
1323
|
}>;
|
|
1180
1324
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1195,6 +1339,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1195
1339
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1196
1340
|
readonly SAML: "SAML";
|
|
1197
1341
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1342
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1198
1343
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1199
1344
|
}>;
|
|
1200
1345
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1249,6 +1394,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1249
1394
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1250
1395
|
readonly SAML: "SAML";
|
|
1251
1396
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1397
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1252
1398
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1253
1399
|
}>;
|
|
1254
1400
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1281,6 +1427,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1281
1427
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1282
1428
|
readonly SAML: "SAML";
|
|
1283
1429
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1430
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1284
1431
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1285
1432
|
}>;
|
|
1286
1433
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1313,6 +1460,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1313
1460
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1314
1461
|
readonly SAML: "SAML";
|
|
1315
1462
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1463
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1316
1464
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1317
1465
|
}>;
|
|
1318
1466
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1363,6 +1511,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1363
1511
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1364
1512
|
readonly SAML: "SAML";
|
|
1365
1513
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1514
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1366
1515
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1367
1516
|
}>;
|
|
1368
1517
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1383,6 +1532,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1383
1532
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1384
1533
|
readonly SAML: "SAML";
|
|
1385
1534
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1535
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1386
1536
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1387
1537
|
}>;
|
|
1388
1538
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1403,6 +1553,7 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1403
1553
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1404
1554
|
readonly SAML: "SAML";
|
|
1405
1555
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1556
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1406
1557
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1407
1558
|
}>;
|
|
1408
1559
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1430,14 +1581,14 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
|
|
|
1430
1581
|
labels: string[];
|
|
1431
1582
|
}>>;
|
|
1432
1583
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
1433
|
-
type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
|
|
1584
|
+
export type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
|
|
1434
1585
|
/**
|
|
1435
1586
|
* Webhook metadata for connection events.
|
|
1436
1587
|
* Note: This differs from the trigger webhook metadata in WebhookTriggerPayloadV3Schema.
|
|
1437
1588
|
*
|
|
1438
1589
|
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
1439
1590
|
*/
|
|
1440
|
-
declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
1591
|
+
export declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
1441
1592
|
/** Project nano ID */
|
|
1442
1593
|
project_id: z$1.ZodString;
|
|
1443
1594
|
/** Organization UUID */
|
|
@@ -1453,7 +1604,7 @@ declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
|
|
|
1453
1604
|
/** Organization UUID */
|
|
1454
1605
|
org_id: z$1.ZodString;
|
|
1455
1606
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
1456
|
-
type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
|
|
1607
|
+
export type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
|
|
1457
1608
|
/**
|
|
1458
1609
|
* Connection expired webhook event payload.
|
|
1459
1610
|
* Emitted when a connected account expires due to authentication refresh failure.
|
|
@@ -1474,7 +1625,7 @@ type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchem
|
|
|
1474
1625
|
* }
|
|
1475
1626
|
* ```
|
|
1476
1627
|
*/
|
|
1477
|
-
declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
1628
|
+
export declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
1478
1629
|
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
|
|
1479
1630
|
id: z$1.ZodString;
|
|
1480
1631
|
/** ISO-8601 timestamp of when the event was emitted */
|
|
@@ -1510,6 +1661,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1510
1661
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1511
1662
|
readonly SAML: "SAML";
|
|
1512
1663
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1664
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1513
1665
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1514
1666
|
}>;
|
|
1515
1667
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1542,6 +1694,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1542
1694
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1543
1695
|
readonly SAML: "SAML";
|
|
1544
1696
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1697
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1545
1698
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1546
1699
|
}>;
|
|
1547
1700
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1574,6 +1727,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1574
1727
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1575
1728
|
readonly SAML: "SAML";
|
|
1576
1729
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1730
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1577
1731
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1578
1732
|
}>;
|
|
1579
1733
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1624,6 +1778,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1624
1778
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1625
1779
|
readonly SAML: "SAML";
|
|
1626
1780
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1781
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1627
1782
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1628
1783
|
}>;
|
|
1629
1784
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1644,6 +1799,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1644
1799
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1645
1800
|
readonly SAML: "SAML";
|
|
1646
1801
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1802
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1647
1803
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1648
1804
|
}>;
|
|
1649
1805
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1664,6 +1820,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1664
1820
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1665
1821
|
readonly SAML: "SAML";
|
|
1666
1822
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1823
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1667
1824
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1668
1825
|
}>;
|
|
1669
1826
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1718,6 +1875,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1718
1875
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1719
1876
|
readonly SAML: "SAML";
|
|
1720
1877
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1878
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1721
1879
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1722
1880
|
}>;
|
|
1723
1881
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1750,6 +1908,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1750
1908
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1751
1909
|
readonly SAML: "SAML";
|
|
1752
1910
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1911
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1753
1912
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1754
1913
|
}>;
|
|
1755
1914
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1782,6 +1941,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1782
1941
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1783
1942
|
readonly SAML: "SAML";
|
|
1784
1943
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1944
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1785
1945
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1786
1946
|
}>;
|
|
1787
1947
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1832,6 +1992,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1832
1992
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1833
1993
|
readonly SAML: "SAML";
|
|
1834
1994
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1995
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1835
1996
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1836
1997
|
}>;
|
|
1837
1998
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1852,6 +2013,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1852
2013
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1853
2014
|
readonly SAML: "SAML";
|
|
1854
2015
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2016
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1855
2017
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1856
2018
|
}>;
|
|
1857
2019
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1872,6 +2034,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1872
2034
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1873
2035
|
readonly SAML: "SAML";
|
|
1874
2036
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2037
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1875
2038
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1876
2039
|
}>;
|
|
1877
2040
|
/** Connection state values - varies by auth scheme */
|
|
@@ -1926,6 +2089,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1926
2089
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1927
2090
|
readonly SAML: "SAML";
|
|
1928
2091
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2092
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1929
2093
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1930
2094
|
}>;
|
|
1931
2095
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1958,6 +2122,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1958
2122
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1959
2123
|
readonly SAML: "SAML";
|
|
1960
2124
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2125
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1961
2126
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1962
2127
|
}>;
|
|
1963
2128
|
/** Whether this auth config is managed by Composio */
|
|
@@ -1990,6 +2155,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
1990
2155
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
1991
2156
|
readonly SAML: "SAML";
|
|
1992
2157
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2158
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
1993
2159
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1994
2160
|
}>;
|
|
1995
2161
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2040,6 +2206,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2040
2206
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2041
2207
|
readonly SAML: "SAML";
|
|
2042
2208
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2209
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2043
2210
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2044
2211
|
}>;
|
|
2045
2212
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2060,6 +2227,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2060
2227
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2061
2228
|
readonly SAML: "SAML";
|
|
2062
2229
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2230
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2063
2231
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2064
2232
|
}>;
|
|
2065
2233
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2080,6 +2248,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2080
2248
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2081
2249
|
readonly SAML: "SAML";
|
|
2082
2250
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2251
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2083
2252
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2084
2253
|
}>;
|
|
2085
2254
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2160,6 +2329,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2160
2329
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2161
2330
|
readonly SAML: "SAML";
|
|
2162
2331
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2332
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2163
2333
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2164
2334
|
}>;
|
|
2165
2335
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2192,6 +2362,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2192
2362
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2193
2363
|
readonly SAML: "SAML";
|
|
2194
2364
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2365
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2195
2366
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2196
2367
|
}>;
|
|
2197
2368
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2224,6 +2395,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2224
2395
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2225
2396
|
readonly SAML: "SAML";
|
|
2226
2397
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2398
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2227
2399
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2228
2400
|
}>;
|
|
2229
2401
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2274,6 +2446,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2274
2446
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2275
2447
|
readonly SAML: "SAML";
|
|
2276
2448
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2449
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2277
2450
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2278
2451
|
}>;
|
|
2279
2452
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2294,6 +2467,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2294
2467
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2295
2468
|
readonly SAML: "SAML";
|
|
2296
2469
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2470
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2297
2471
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2298
2472
|
}>;
|
|
2299
2473
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2314,6 +2488,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2314
2488
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2315
2489
|
readonly SAML: "SAML";
|
|
2316
2490
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2491
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2317
2492
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2318
2493
|
}>;
|
|
2319
2494
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2368,6 +2543,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2368
2543
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2369
2544
|
readonly SAML: "SAML";
|
|
2370
2545
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2546
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2371
2547
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2372
2548
|
}>;
|
|
2373
2549
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2400,6 +2576,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2400
2576
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2401
2577
|
readonly SAML: "SAML";
|
|
2402
2578
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2579
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2403
2580
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2404
2581
|
}>;
|
|
2405
2582
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2432,6 +2609,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2432
2609
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2433
2610
|
readonly SAML: "SAML";
|
|
2434
2611
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2612
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2435
2613
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2436
2614
|
}>;
|
|
2437
2615
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2482,6 +2660,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2482
2660
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2483
2661
|
readonly SAML: "SAML";
|
|
2484
2662
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2663
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2485
2664
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2486
2665
|
}>;
|
|
2487
2666
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2502,6 +2681,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2502
2681
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2503
2682
|
readonly SAML: "SAML";
|
|
2504
2683
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2684
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2505
2685
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2506
2686
|
}>;
|
|
2507
2687
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2522,6 +2702,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2522
2702
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2523
2703
|
readonly SAML: "SAML";
|
|
2524
2704
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2705
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2525
2706
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2526
2707
|
}>;
|
|
2527
2708
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2576,6 +2757,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2576
2757
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2577
2758
|
readonly SAML: "SAML";
|
|
2578
2759
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2760
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2579
2761
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2580
2762
|
}>;
|
|
2581
2763
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2608,6 +2790,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2608
2790
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2609
2791
|
readonly SAML: "SAML";
|
|
2610
2792
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2793
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2611
2794
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2612
2795
|
}>;
|
|
2613
2796
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2640,6 +2823,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2640
2823
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2641
2824
|
readonly SAML: "SAML";
|
|
2642
2825
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2826
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2643
2827
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2644
2828
|
}>;
|
|
2645
2829
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2690,6 +2874,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2690
2874
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2691
2875
|
readonly SAML: "SAML";
|
|
2692
2876
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2877
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2693
2878
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2694
2879
|
}>;
|
|
2695
2880
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2710,6 +2895,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2710
2895
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2711
2896
|
readonly SAML: "SAML";
|
|
2712
2897
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2898
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2713
2899
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2714
2900
|
}>;
|
|
2715
2901
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2730,6 +2916,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2730
2916
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2731
2917
|
readonly SAML: "SAML";
|
|
2732
2918
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2919
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2733
2920
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2734
2921
|
}>;
|
|
2735
2922
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2810,6 +2997,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2810
2997
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2811
2998
|
readonly SAML: "SAML";
|
|
2812
2999
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3000
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2813
3001
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2814
3002
|
}>;
|
|
2815
3003
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2842,6 +3030,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2842
3030
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2843
3031
|
readonly SAML: "SAML";
|
|
2844
3032
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3033
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2845
3034
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2846
3035
|
}>;
|
|
2847
3036
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2874,6 +3063,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2874
3063
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2875
3064
|
readonly SAML: "SAML";
|
|
2876
3065
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3066
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2877
3067
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2878
3068
|
}>;
|
|
2879
3069
|
/** Whether this auth config is managed by Composio */
|
|
@@ -2924,6 +3114,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2924
3114
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2925
3115
|
readonly SAML: "SAML";
|
|
2926
3116
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3117
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2927
3118
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2928
3119
|
}>;
|
|
2929
3120
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2944,6 +3135,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2944
3135
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2945
3136
|
readonly SAML: "SAML";
|
|
2946
3137
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3138
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2947
3139
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2948
3140
|
}>;
|
|
2949
3141
|
/** Connection state values - varies by auth scheme */
|
|
@@ -2964,6 +3156,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
2964
3156
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2965
3157
|
readonly SAML: "SAML";
|
|
2966
3158
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3159
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
2967
3160
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2968
3161
|
}>;
|
|
2969
3162
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3018,6 +3211,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3018
3211
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3019
3212
|
readonly SAML: "SAML";
|
|
3020
3213
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3214
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3021
3215
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3022
3216
|
}>;
|
|
3023
3217
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3050,6 +3244,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3050
3244
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3051
3245
|
readonly SAML: "SAML";
|
|
3052
3246
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3247
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3053
3248
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3054
3249
|
}>;
|
|
3055
3250
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3082,6 +3277,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3082
3277
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3083
3278
|
readonly SAML: "SAML";
|
|
3084
3279
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3280
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3085
3281
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3086
3282
|
}>;
|
|
3087
3283
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3132,6 +3328,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3132
3328
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3133
3329
|
readonly SAML: "SAML";
|
|
3134
3330
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3331
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3135
3332
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3136
3333
|
}>;
|
|
3137
3334
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3152,6 +3349,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3152
3349
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3153
3350
|
readonly SAML: "SAML";
|
|
3154
3351
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3352
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3155
3353
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3156
3354
|
}>;
|
|
3157
3355
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3172,6 +3370,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3172
3370
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3173
3371
|
readonly SAML: "SAML";
|
|
3174
3372
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3373
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3175
3374
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3176
3375
|
}>;
|
|
3177
3376
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3226,6 +3425,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3226
3425
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3227
3426
|
readonly SAML: "SAML";
|
|
3228
3427
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3428
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3229
3429
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3230
3430
|
}>;
|
|
3231
3431
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3258,6 +3458,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3258
3458
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3259
3459
|
readonly SAML: "SAML";
|
|
3260
3460
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3461
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3261
3462
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3262
3463
|
}>;
|
|
3263
3464
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3290,6 +3491,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3290
3491
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3291
3492
|
readonly SAML: "SAML";
|
|
3292
3493
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3494
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3293
3495
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3294
3496
|
}>;
|
|
3295
3497
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3340,6 +3542,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3340
3542
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3341
3543
|
readonly SAML: "SAML";
|
|
3342
3544
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3545
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3343
3546
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3344
3547
|
}>;
|
|
3345
3548
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3360,6 +3563,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3360
3563
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3361
3564
|
readonly SAML: "SAML";
|
|
3362
3565
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3566
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3363
3567
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3364
3568
|
}>;
|
|
3365
3569
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3380,6 +3584,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3380
3584
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3381
3585
|
readonly SAML: "SAML";
|
|
3382
3586
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3587
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3383
3588
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3384
3589
|
}>;
|
|
3385
3590
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3425,7 +3630,7 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
|
|
|
3425
3630
|
org_id: z$1.ZodString;
|
|
3426
3631
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
3427
3632
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
3428
|
-
type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
3633
|
+
export type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
3429
3634
|
/**
|
|
3430
3635
|
* Union of all typed webhook event schemas.
|
|
3431
3636
|
* Extend this as new event types are added.
|
|
@@ -3437,7 +3642,7 @@ type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
|
|
|
3437
3642
|
* Trigger events (composio.trigger.message) are handled through the
|
|
3438
3643
|
* WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
|
|
3439
3644
|
*/
|
|
3440
|
-
declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
|
|
3645
|
+
export declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
|
|
3441
3646
|
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
|
|
3442
3647
|
id: z$1.ZodString;
|
|
3443
3648
|
/** ISO-8601 timestamp of when the event was emitted */
|
|
@@ -3473,6 +3678,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3473
3678
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3474
3679
|
readonly SAML: "SAML";
|
|
3475
3680
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3681
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3476
3682
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3477
3683
|
}>;
|
|
3478
3684
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3505,6 +3711,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3505
3711
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3506
3712
|
readonly SAML: "SAML";
|
|
3507
3713
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3714
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3508
3715
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3509
3716
|
}>;
|
|
3510
3717
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3537,6 +3744,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3537
3744
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3538
3745
|
readonly SAML: "SAML";
|
|
3539
3746
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3747
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3540
3748
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3541
3749
|
}>;
|
|
3542
3750
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3587,6 +3795,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3587
3795
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3588
3796
|
readonly SAML: "SAML";
|
|
3589
3797
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3798
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3590
3799
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3591
3800
|
}>;
|
|
3592
3801
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3607,6 +3816,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3607
3816
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3608
3817
|
readonly SAML: "SAML";
|
|
3609
3818
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3819
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3610
3820
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3611
3821
|
}>;
|
|
3612
3822
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3627,6 +3837,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3627
3837
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3628
3838
|
readonly SAML: "SAML";
|
|
3629
3839
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3840
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3630
3841
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3631
3842
|
}>;
|
|
3632
3843
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3681,6 +3892,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3681
3892
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3682
3893
|
readonly SAML: "SAML";
|
|
3683
3894
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3895
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3684
3896
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3685
3897
|
}>;
|
|
3686
3898
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3713,6 +3925,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3713
3925
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3714
3926
|
readonly SAML: "SAML";
|
|
3715
3927
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3928
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3716
3929
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3717
3930
|
}>;
|
|
3718
3931
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3745,6 +3958,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3745
3958
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3746
3959
|
readonly SAML: "SAML";
|
|
3747
3960
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3961
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3748
3962
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3749
3963
|
}>;
|
|
3750
3964
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3795,6 +4009,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3795
4009
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3796
4010
|
readonly SAML: "SAML";
|
|
3797
4011
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4012
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3798
4013
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3799
4014
|
}>;
|
|
3800
4015
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3815,6 +4030,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3815
4030
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3816
4031
|
readonly SAML: "SAML";
|
|
3817
4032
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4033
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3818
4034
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3819
4035
|
}>;
|
|
3820
4036
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3835,6 +4051,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3835
4051
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3836
4052
|
readonly SAML: "SAML";
|
|
3837
4053
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4054
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3838
4055
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3839
4056
|
}>;
|
|
3840
4057
|
/** Connection state values - varies by auth scheme */
|
|
@@ -3889,6 +4106,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3889
4106
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3890
4107
|
readonly SAML: "SAML";
|
|
3891
4108
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4109
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3892
4110
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3893
4111
|
}>;
|
|
3894
4112
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3921,6 +4139,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3921
4139
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3922
4140
|
readonly SAML: "SAML";
|
|
3923
4141
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4142
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3924
4143
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3925
4144
|
}>;
|
|
3926
4145
|
/** Whether this auth config is managed by Composio */
|
|
@@ -3953,6 +4172,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
3953
4172
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
3954
4173
|
readonly SAML: "SAML";
|
|
3955
4174
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4175
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
3956
4176
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3957
4177
|
}>;
|
|
3958
4178
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4003,6 +4223,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4003
4223
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4004
4224
|
readonly SAML: "SAML";
|
|
4005
4225
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4226
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4006
4227
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4007
4228
|
}>;
|
|
4008
4229
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4023,6 +4244,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4023
4244
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4024
4245
|
readonly SAML: "SAML";
|
|
4025
4246
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4247
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4026
4248
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4027
4249
|
}>;
|
|
4028
4250
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4043,6 +4265,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4043
4265
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4044
4266
|
readonly SAML: "SAML";
|
|
4045
4267
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4268
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4046
4269
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4047
4270
|
}>;
|
|
4048
4271
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4123,6 +4346,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4123
4346
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4124
4347
|
readonly SAML: "SAML";
|
|
4125
4348
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4349
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4126
4350
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4127
4351
|
}>;
|
|
4128
4352
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4155,6 +4379,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4155
4379
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4156
4380
|
readonly SAML: "SAML";
|
|
4157
4381
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4382
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4158
4383
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4159
4384
|
}>;
|
|
4160
4385
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4187,6 +4412,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4187
4412
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4188
4413
|
readonly SAML: "SAML";
|
|
4189
4414
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4415
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4190
4416
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4191
4417
|
}>;
|
|
4192
4418
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4237,6 +4463,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4237
4463
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4238
4464
|
readonly SAML: "SAML";
|
|
4239
4465
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4466
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4240
4467
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4241
4468
|
}>;
|
|
4242
4469
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4257,6 +4484,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4257
4484
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4258
4485
|
readonly SAML: "SAML";
|
|
4259
4486
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4487
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4260
4488
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4261
4489
|
}>;
|
|
4262
4490
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4277,6 +4505,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4277
4505
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4278
4506
|
readonly SAML: "SAML";
|
|
4279
4507
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4508
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4280
4509
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4281
4510
|
}>;
|
|
4282
4511
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4331,6 +4560,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4331
4560
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4332
4561
|
readonly SAML: "SAML";
|
|
4333
4562
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4563
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4334
4564
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4335
4565
|
}>;
|
|
4336
4566
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4363,6 +4593,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4363
4593
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4364
4594
|
readonly SAML: "SAML";
|
|
4365
4595
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4596
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4366
4597
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4367
4598
|
}>;
|
|
4368
4599
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4395,6 +4626,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4395
4626
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4396
4627
|
readonly SAML: "SAML";
|
|
4397
4628
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4629
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4398
4630
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4399
4631
|
}>;
|
|
4400
4632
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4445,6 +4677,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4445
4677
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4446
4678
|
readonly SAML: "SAML";
|
|
4447
4679
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4680
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4448
4681
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4449
4682
|
}>;
|
|
4450
4683
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4465,6 +4698,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4465
4698
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4466
4699
|
readonly SAML: "SAML";
|
|
4467
4700
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4701
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4468
4702
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4469
4703
|
}>;
|
|
4470
4704
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4485,6 +4719,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4485
4719
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4486
4720
|
readonly SAML: "SAML";
|
|
4487
4721
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4722
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4488
4723
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4489
4724
|
}>;
|
|
4490
4725
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4539,6 +4774,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4539
4774
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4540
4775
|
readonly SAML: "SAML";
|
|
4541
4776
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4777
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4542
4778
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4543
4779
|
}>;
|
|
4544
4780
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4571,6 +4807,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4571
4807
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4572
4808
|
readonly SAML: "SAML";
|
|
4573
4809
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4810
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4574
4811
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4575
4812
|
}>;
|
|
4576
4813
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4603,6 +4840,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4603
4840
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4604
4841
|
readonly SAML: "SAML";
|
|
4605
4842
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4843
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4606
4844
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4607
4845
|
}>;
|
|
4608
4846
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4653,6 +4891,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4653
4891
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4654
4892
|
readonly SAML: "SAML";
|
|
4655
4893
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4894
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4656
4895
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4657
4896
|
}>;
|
|
4658
4897
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4673,6 +4912,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4673
4912
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4674
4913
|
readonly SAML: "SAML";
|
|
4675
4914
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4915
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4676
4916
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4677
4917
|
}>;
|
|
4678
4918
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4693,6 +4933,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4693
4933
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4694
4934
|
readonly SAML: "SAML";
|
|
4695
4935
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4936
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4696
4937
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4697
4938
|
}>;
|
|
4698
4939
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4773,6 +5014,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4773
5014
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4774
5015
|
readonly SAML: "SAML";
|
|
4775
5016
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5017
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4776
5018
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4777
5019
|
}>;
|
|
4778
5020
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4805,6 +5047,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4805
5047
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4806
5048
|
readonly SAML: "SAML";
|
|
4807
5049
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5050
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4808
5051
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4809
5052
|
}>;
|
|
4810
5053
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4837,6 +5080,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4837
5080
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4838
5081
|
readonly SAML: "SAML";
|
|
4839
5082
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5083
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4840
5084
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4841
5085
|
}>;
|
|
4842
5086
|
/** Whether this auth config is managed by Composio */
|
|
@@ -4887,6 +5131,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4887
5131
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4888
5132
|
readonly SAML: "SAML";
|
|
4889
5133
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5134
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4890
5135
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4891
5136
|
}>;
|
|
4892
5137
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4907,6 +5152,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4907
5152
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4908
5153
|
readonly SAML: "SAML";
|
|
4909
5154
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5155
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4910
5156
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4911
5157
|
}>;
|
|
4912
5158
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4927,6 +5173,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4927
5173
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4928
5174
|
readonly SAML: "SAML";
|
|
4929
5175
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5176
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4930
5177
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4931
5178
|
}>;
|
|
4932
5179
|
/** Connection state values - varies by auth scheme */
|
|
@@ -4981,6 +5228,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
4981
5228
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
4982
5229
|
readonly SAML: "SAML";
|
|
4983
5230
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5231
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
4984
5232
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4985
5233
|
}>;
|
|
4986
5234
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5013,6 +5261,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5013
5261
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5014
5262
|
readonly SAML: "SAML";
|
|
5015
5263
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5264
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5016
5265
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5017
5266
|
}>;
|
|
5018
5267
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5045,6 +5294,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5045
5294
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5046
5295
|
readonly SAML: "SAML";
|
|
5047
5296
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5297
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5048
5298
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5049
5299
|
}>;
|
|
5050
5300
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5095,6 +5345,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5095
5345
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5096
5346
|
readonly SAML: "SAML";
|
|
5097
5347
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5348
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5098
5349
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5099
5350
|
}>;
|
|
5100
5351
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5115,6 +5366,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5115
5366
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5116
5367
|
readonly SAML: "SAML";
|
|
5117
5368
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5369
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5118
5370
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5119
5371
|
}>;
|
|
5120
5372
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5135,6 +5387,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5135
5387
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5136
5388
|
readonly SAML: "SAML";
|
|
5137
5389
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5390
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5138
5391
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5139
5392
|
}>;
|
|
5140
5393
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5189,6 +5442,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5189
5442
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5190
5443
|
readonly SAML: "SAML";
|
|
5191
5444
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5445
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5192
5446
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5193
5447
|
}>;
|
|
5194
5448
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5221,6 +5475,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5221
5475
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5222
5476
|
readonly SAML: "SAML";
|
|
5223
5477
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5478
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5224
5479
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5225
5480
|
}>;
|
|
5226
5481
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5253,6 +5508,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5253
5508
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5254
5509
|
readonly SAML: "SAML";
|
|
5255
5510
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5511
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5256
5512
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5257
5513
|
}>;
|
|
5258
5514
|
/** Whether this auth config is managed by Composio */
|
|
@@ -5303,6 +5559,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5303
5559
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5304
5560
|
readonly SAML: "SAML";
|
|
5305
5561
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5562
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5306
5563
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5307
5564
|
}>;
|
|
5308
5565
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5323,6 +5580,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5323
5580
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5324
5581
|
readonly SAML: "SAML";
|
|
5325
5582
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5583
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5326
5584
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5327
5585
|
}>;
|
|
5328
5586
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5343,6 +5601,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5343
5601
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
5344
5602
|
readonly SAML: "SAML";
|
|
5345
5603
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
5604
|
+
readonly CIMD_OAUTH: "CIMD_OAUTH";
|
|
5346
5605
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
5347
5606
|
}>;
|
|
5348
5607
|
/** Connection state values - varies by auth scheme */
|
|
@@ -5388,7 +5647,7 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
|
|
|
5388
5647
|
org_id: z$1.ZodString;
|
|
5389
5648
|
}, z$1.ZodTypeAny, "passthrough">>;
|
|
5390
5649
|
}, z$1.ZodTypeAny, "passthrough">>]>;
|
|
5391
|
-
type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
|
|
5650
|
+
export type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
|
|
5392
5651
|
declare namespace constants_d_exports {
|
|
5393
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 };
|
|
5394
5653
|
}
|
|
@@ -5399,37 +5658,10 @@ declare const DEFAULT_BASE_URL = "https://backend.composio.dev";
|
|
|
5399
5658
|
declare const DEFAULT_WEB_URL = "https://dashboard.composio.dev/";
|
|
5400
5659
|
declare const TELEMETRY_URL = "https://app.composio.dev";
|
|
5401
5660
|
declare const CLIENT_PUSHER_KEY: string;
|
|
5402
|
-
declare const COMPOSIO_LOG_LEVEL: "debug" | "info" | "warn" | "error" | undefined;
|
|
5661
|
+
declare const COMPOSIO_LOG_LEVEL: "silent" | "debug" | "info" | "warn" | "error" | undefined;
|
|
5403
5662
|
declare const IS_DEVELOPMENT_OR_CI: string | boolean;
|
|
5404
5663
|
declare const DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID = "files";
|
|
5405
5664
|
//#endregion
|
|
5406
|
-
//#region src/utils/logger.d.ts
|
|
5407
|
-
declare const LOG_LEVELS: {
|
|
5408
|
-
readonly silent: -1;
|
|
5409
|
-
readonly error: 0;
|
|
5410
|
-
readonly warn: 1;
|
|
5411
|
-
readonly info: 2;
|
|
5412
|
-
readonly debug: 3;
|
|
5413
|
-
};
|
|
5414
|
-
type LogLevel = keyof typeof LOG_LEVELS;
|
|
5415
|
-
interface LoggerOptions {
|
|
5416
|
-
level?: LogLevel;
|
|
5417
|
-
includeTimestamp?: boolean;
|
|
5418
|
-
}
|
|
5419
|
-
declare class Logger {
|
|
5420
|
-
private readonly level;
|
|
5421
|
-
private readonly includeTimestamp;
|
|
5422
|
-
private readonly console;
|
|
5423
|
-
constructor(options?: LoggerOptions);
|
|
5424
|
-
private formatMessage;
|
|
5425
|
-
private shouldLog;
|
|
5426
|
-
error(...args: unknown[]): void;
|
|
5427
|
-
warn(...args: unknown[]): void;
|
|
5428
|
-
info(...args: unknown[]): void;
|
|
5429
|
-
debug(...args: unknown[]): void;
|
|
5430
|
-
}
|
|
5431
|
-
declare const logger: Logger;
|
|
5432
|
-
//#endregion
|
|
5433
5665
|
//#region src/types/telemetry.types.d.ts
|
|
5434
5666
|
/**
|
|
5435
5667
|
* Metadata for the telemetry.
|
|
@@ -5484,15 +5716,15 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5484
5716
|
}, "strip", z$1.ZodTypeAny, {
|
|
5485
5717
|
version?: string | undefined;
|
|
5486
5718
|
host?: string | undefined;
|
|
5487
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5488
5719
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5720
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5489
5721
|
platform?: string | undefined;
|
|
5490
5722
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5491
5723
|
}, {
|
|
5492
5724
|
version?: string | undefined;
|
|
5493
5725
|
host?: string | undefined;
|
|
5494
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5495
5726
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5727
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5496
5728
|
platform?: string | undefined;
|
|
5497
5729
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5498
5730
|
}>>;
|
|
@@ -5539,16 +5771,16 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5539
5771
|
provider?: string | undefined;
|
|
5540
5772
|
} | undefined;
|
|
5541
5773
|
timestamp?: number | undefined;
|
|
5542
|
-
durationMs?: number | undefined;
|
|
5543
|
-
props?: Record<string, any> | undefined;
|
|
5544
5774
|
source?: {
|
|
5545
5775
|
version?: string | undefined;
|
|
5546
5776
|
host?: string | undefined;
|
|
5547
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5548
5777
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5778
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5549
5779
|
platform?: string | undefined;
|
|
5550
5780
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5551
5781
|
} | undefined;
|
|
5782
|
+
durationMs?: number | undefined;
|
|
5783
|
+
props?: Record<string, any> | undefined;
|
|
5552
5784
|
}, {
|
|
5553
5785
|
functionName: string;
|
|
5554
5786
|
error?: {
|
|
@@ -5563,16 +5795,16 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5563
5795
|
provider?: string | undefined;
|
|
5564
5796
|
} | undefined;
|
|
5565
5797
|
timestamp?: number | undefined;
|
|
5566
|
-
durationMs?: number | undefined;
|
|
5567
|
-
props?: Record<string, any> | undefined;
|
|
5568
5798
|
source?: {
|
|
5569
5799
|
version?: string | undefined;
|
|
5570
5800
|
host?: string | undefined;
|
|
5571
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5572
5801
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5802
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5573
5803
|
platform?: string | undefined;
|
|
5574
5804
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5575
5805
|
} | undefined;
|
|
5806
|
+
durationMs?: number | undefined;
|
|
5807
|
+
props?: Record<string, any> | undefined;
|
|
5576
5808
|
}>;
|
|
5577
5809
|
declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
5578
5810
|
functionName: z$1.ZodString;
|
|
@@ -5589,15 +5821,15 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5589
5821
|
}, "strip", z$1.ZodTypeAny, {
|
|
5590
5822
|
version?: string | undefined;
|
|
5591
5823
|
host?: string | undefined;
|
|
5592
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5593
5824
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5825
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5594
5826
|
platform?: string | undefined;
|
|
5595
5827
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5596
5828
|
}, {
|
|
5597
5829
|
version?: string | undefined;
|
|
5598
5830
|
host?: string | undefined;
|
|
5599
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5600
5831
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5832
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5601
5833
|
platform?: string | undefined;
|
|
5602
5834
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5603
5835
|
}>>;
|
|
@@ -5644,16 +5876,16 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5644
5876
|
provider?: string | undefined;
|
|
5645
5877
|
} | undefined;
|
|
5646
5878
|
timestamp?: number | undefined;
|
|
5647
|
-
durationMs?: number | undefined;
|
|
5648
|
-
props?: Record<string, any> | undefined;
|
|
5649
5879
|
source?: {
|
|
5650
5880
|
version?: string | undefined;
|
|
5651
5881
|
host?: string | undefined;
|
|
5652
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5653
5882
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5883
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5654
5884
|
platform?: string | undefined;
|
|
5655
5885
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5656
5886
|
} | undefined;
|
|
5887
|
+
durationMs?: number | undefined;
|
|
5888
|
+
props?: Record<string, any> | undefined;
|
|
5657
5889
|
}, {
|
|
5658
5890
|
functionName: string;
|
|
5659
5891
|
error?: {
|
|
@@ -5668,16 +5900,16 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5668
5900
|
provider?: string | undefined;
|
|
5669
5901
|
} | undefined;
|
|
5670
5902
|
timestamp?: number | undefined;
|
|
5671
|
-
durationMs?: number | undefined;
|
|
5672
|
-
props?: Record<string, any> | undefined;
|
|
5673
5903
|
source?: {
|
|
5674
5904
|
version?: string | undefined;
|
|
5675
5905
|
host?: string | undefined;
|
|
5676
|
-
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5677
5906
|
language?: "python" | "typescript" | "go" | "rust" | undefined;
|
|
5907
|
+
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
5678
5908
|
platform?: string | undefined;
|
|
5679
5909
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
5680
5910
|
} | undefined;
|
|
5911
|
+
durationMs?: number | undefined;
|
|
5912
|
+
props?: Record<string, any> | undefined;
|
|
5681
5913
|
}>, "many">;
|
|
5682
5914
|
type TelemetryPayload = z$1.infer<typeof TelemetryPayloadSchema>;
|
|
5683
5915
|
type TelemetryMetricPayloadBody = z$1.infer<typeof TelemetryMetricPayloadBodySchema>;
|
|
@@ -5761,13 +5993,13 @@ declare class TelemetryTransport {
|
|
|
5761
5993
|
*/
|
|
5762
5994
|
private registerExitHandlers;
|
|
5763
5995
|
}
|
|
5764
|
-
declare const telemetry: TelemetryTransport;
|
|
5996
|
+
export declare const telemetry: TelemetryTransport;
|
|
5765
5997
|
//#endregion
|
|
5766
5998
|
//#region src/errors/ComposioError.d.ts
|
|
5767
5999
|
/**
|
|
5768
6000
|
* Options for error handling
|
|
5769
6001
|
*/
|
|
5770
|
-
interface ErrorHandleOptions {
|
|
6002
|
+
export interface ErrorHandleOptions {
|
|
5771
6003
|
/** Whether to include the stack trace in the output */
|
|
5772
6004
|
includeStack?: boolean;
|
|
5773
6005
|
/** @deprecated Use ComposioError.handleAndThrow() instead. This option will be removed in a future version. */
|
|
@@ -5778,7 +6010,7 @@ interface ErrorHandleOptions {
|
|
|
5778
6010
|
/**
|
|
5779
6011
|
* Options for creating a ComposioError
|
|
5780
6012
|
*/
|
|
5781
|
-
type ComposioErrorOptions = {
|
|
6013
|
+
export type ComposioErrorOptions = {
|
|
5782
6014
|
/** Error code for categorizing errors */
|
|
5783
6015
|
code?: string;
|
|
5784
6016
|
/** HTTP status code associated with the error */
|
|
@@ -5795,7 +6027,7 @@ type ComposioErrorOptions = {
|
|
|
5795
6027
|
/**
|
|
5796
6028
|
* Base error class for all Composio errors
|
|
5797
6029
|
*/
|
|
5798
|
-
declare class ComposioError extends Error {
|
|
6030
|
+
export declare class ComposioError extends Error {
|
|
5799
6031
|
/** @readonly Error name */
|
|
5800
6032
|
name: string;
|
|
5801
6033
|
code?: string;
|
|
@@ -5888,15 +6120,15 @@ declare class ComposioError extends Error {
|
|
|
5888
6120
|
}
|
|
5889
6121
|
//#endregion
|
|
5890
6122
|
//#region src/errors/AuthConfigErrors.d.ts
|
|
5891
|
-
declare const AuthConfigErrorCodes: {
|
|
6123
|
+
export declare const AuthConfigErrorCodes: {
|
|
5892
6124
|
readonly AUTH_CONFIG_NOT_FOUND: "AUTH_CONFIG_NOT_FOUND";
|
|
5893
6125
|
};
|
|
5894
|
-
declare class ComposioAuthConfigNotFoundError extends ComposioError {
|
|
6126
|
+
export declare class ComposioAuthConfigNotFoundError extends ComposioError {
|
|
5895
6127
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5896
6128
|
}
|
|
5897
6129
|
//#endregion
|
|
5898
6130
|
//#region src/errors/ConnectedAccountsErrors.d.ts
|
|
5899
|
-
declare const ConnectedAccountErrorCodes: {
|
|
6131
|
+
export declare const ConnectedAccountErrorCodes: {
|
|
5900
6132
|
readonly CONNECTED_ACCOUNT_NOT_FOUND: "CONNECTED_ACCOUNT_NOT_FOUND";
|
|
5901
6133
|
readonly MULTIPLE_CONNECTED_ACCOUNTS: "MULTIPLE_CONNECTED_ACCOUNTS";
|
|
5902
6134
|
readonly FAILED_TO_CREATE_CONNECTED_ACCOUNT_LINK: "FAILED_TO_CREATE_CONNECTED_ACCOUNT_LINK";
|
|
@@ -5904,14 +6136,16 @@ declare const ConnectedAccountErrorCodes: {
|
|
|
5904
6136
|
readonly SHARED_ACCESS_DENIED: "SHARED_ACCESS_DENIED";
|
|
5905
6137
|
readonly ACL_ONLY_FOR_SHARED: "ACL_ONLY_FOR_SHARED";
|
|
5906
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";
|
|
5907
6141
|
};
|
|
5908
|
-
declare class ComposioConnectedAccountNotFoundError extends ComposioError {
|
|
6142
|
+
export declare class ComposioConnectedAccountNotFoundError extends ComposioError {
|
|
5909
6143
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
5910
6144
|
}
|
|
5911
|
-
declare class ComposioMultipleConnectedAccountsError extends ComposioError {
|
|
6145
|
+
export declare class ComposioMultipleConnectedAccountsError extends ComposioError {
|
|
5912
6146
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5913
6147
|
}
|
|
5914
|
-
declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
6148
|
+
export declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
5915
6149
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5916
6150
|
}
|
|
5917
6151
|
/**
|
|
@@ -5922,7 +6156,7 @@ declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
|
|
|
5922
6156
|
* `composio.tools.execute(slug, { connectedAccountId })`) without going
|
|
5923
6157
|
* through a tool-router session.
|
|
5924
6158
|
*/
|
|
5925
|
-
declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
6159
|
+
export declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
5926
6160
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
5927
6161
|
}
|
|
5928
6162
|
/**
|
|
@@ -5930,7 +6164,7 @@ declare class ComposioSharedAccessDeniedError extends ComposioError {
|
|
|
5930
6164
|
* `notAllowedUserIds`) are sent on a `PRIVATE` connection — at create
|
|
5931
6165
|
* time or via PATCH. ACL is only meaningful for `SHARED` connections.
|
|
5932
6166
|
*/
|
|
5933
|
-
declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
6167
|
+
export declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
5934
6168
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
5935
6169
|
}
|
|
5936
6170
|
/**
|
|
@@ -5939,7 +6173,7 @@ declare class ComposioAclOnlyForSharedError extends ComposioError {
|
|
|
5939
6173
|
* session-create time so the session never enters a state that fails
|
|
5940
6174
|
* mid-execution.
|
|
5941
6175
|
*/
|
|
5942
|
-
declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
6176
|
+
export declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
5943
6177
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
5944
6178
|
}
|
|
5945
6179
|
/**
|
|
@@ -5955,24 +6189,41 @@ declare class ComposioSharedConnectionNotAccessibleError extends ComposioError {
|
|
|
5955
6189
|
*
|
|
5956
6190
|
* See: https://docs.composio.dev/docs/changelog/2026/04/24
|
|
5957
6191
|
*/
|
|
5958
|
-
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 {
|
|
5959
6210
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
5960
6211
|
}
|
|
5961
6212
|
//#endregion
|
|
5962
6213
|
//#region src/errors/ConnectionRequestErrors.d.ts
|
|
5963
|
-
declare const ConnectionRequestErrorCodes: {
|
|
6214
|
+
export declare const ConnectionRequestErrorCodes: {
|
|
5964
6215
|
readonly CONNECTION_REQUEST_TIMEOUT: "CONNECTION_REQUEST_TIMEOUT";
|
|
5965
6216
|
readonly CONNECTION_REQUEST_FAILED: "CONNECTION_REQUEST_FAILED";
|
|
5966
6217
|
};
|
|
5967
|
-
declare class ConnectionRequestTimeoutError extends ComposioError {
|
|
6218
|
+
export declare class ConnectionRequestTimeoutError extends ComposioError {
|
|
5968
6219
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5969
6220
|
}
|
|
5970
|
-
declare class ConnectionRequestFailedError extends ComposioError {
|
|
6221
|
+
export declare class ConnectionRequestFailedError extends ComposioError {
|
|
5971
6222
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5972
6223
|
}
|
|
5973
6224
|
//#endregion
|
|
5974
6225
|
//#region src/errors/ToolErrors.d.ts
|
|
5975
|
-
declare const ToolErrorCodes: {
|
|
6226
|
+
export declare const ToolErrorCodes: {
|
|
5976
6227
|
readonly TOOLSET_NOT_DEFINED: "TOOLSET_NOT_DEFINED";
|
|
5977
6228
|
readonly TOOL_NOT_FOUND: "TOOL_NOT_FOUND";
|
|
5978
6229
|
readonly INVALID_MODIFIER: "INVALID_MODIFIER";
|
|
@@ -5982,25 +6233,25 @@ declare const ToolErrorCodes: {
|
|
|
5982
6233
|
readonly GLOBAL_EXECUTE_TOOL_FN_NOT_SET: "GLOBAL_EXECUTE_TOOL_FN_NOT_SET";
|
|
5983
6234
|
readonly TOOL_VERSION_REQUIRED: "TOOL_VERSION_REQUIRED";
|
|
5984
6235
|
};
|
|
5985
|
-
declare class ComposioProviderNotDefinedError extends ComposioError {
|
|
6236
|
+
export declare class ComposioProviderNotDefinedError extends ComposioError {
|
|
5986
6237
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5987
6238
|
}
|
|
5988
|
-
declare class ComposioToolNotFoundError extends ComposioError {
|
|
6239
|
+
export declare class ComposioToolNotFoundError extends ComposioError {
|
|
5989
6240
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
5990
6241
|
}
|
|
5991
|
-
declare class ComposioInvalidModifierError extends ComposioError {
|
|
6242
|
+
export declare class ComposioInvalidModifierError extends ComposioError {
|
|
5992
6243
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5993
6244
|
}
|
|
5994
|
-
declare class ComposioToolExecutionError extends ComposioError {
|
|
6245
|
+
export declare class ComposioToolExecutionError extends ComposioError {
|
|
5995
6246
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
5996
6247
|
}
|
|
5997
|
-
declare class ComposioInvalidToolArgumentsError extends ComposioError {
|
|
6248
|
+
export declare class ComposioInvalidToolArgumentsError extends ComposioError {
|
|
5998
6249
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
5999
6250
|
}
|
|
6000
|
-
declare class ComposioInvalidExecuteFunctionError extends ComposioError {
|
|
6251
|
+
export declare class ComposioInvalidExecuteFunctionError extends ComposioError {
|
|
6001
6252
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6002
6253
|
}
|
|
6003
|
-
declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
6254
|
+
export declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
6004
6255
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6005
6256
|
}
|
|
6006
6257
|
/**
|
|
@@ -6066,10 +6317,10 @@ declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
|
|
|
6066
6317
|
* });
|
|
6067
6318
|
* ```
|
|
6068
6319
|
*/
|
|
6069
|
-
declare class ComposioToolVersionRequiredError extends ComposioError {
|
|
6320
|
+
export declare class ComposioToolVersionRequiredError extends ComposioError {
|
|
6070
6321
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6071
6322
|
}
|
|
6072
|
-
interface ComposioAPIServerErrorBody {
|
|
6323
|
+
export interface ComposioAPIServerErrorBody {
|
|
6073
6324
|
error: {
|
|
6074
6325
|
message: string;
|
|
6075
6326
|
code: number;
|
|
@@ -6078,16 +6329,16 @@ interface ComposioAPIServerErrorBody {
|
|
|
6078
6329
|
suggested_fix: string;
|
|
6079
6330
|
};
|
|
6080
6331
|
}
|
|
6081
|
-
declare const handleToolExecutionError: (tool: string, actualError: Error) => ComposioError;
|
|
6332
|
+
export declare const handleToolExecutionError: (tool: string, actualError: Error) => ComposioError;
|
|
6082
6333
|
//#endregion
|
|
6083
6334
|
//#region src/errors/ToolkitErrors.d.ts
|
|
6084
|
-
declare const ToolkitErrorCodes: {
|
|
6335
|
+
export declare const ToolkitErrorCodes: {
|
|
6085
6336
|
readonly TOOLKIT_NOT_FOUND: "TOOLKIT_NOT_FOUND";
|
|
6086
6337
|
};
|
|
6087
|
-
declare class ComposioToolkitNotFoundError extends ComposioError {
|
|
6338
|
+
export declare class ComposioToolkitNotFoundError extends ComposioError {
|
|
6088
6339
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6089
6340
|
}
|
|
6090
|
-
declare class ComposioToolkitFetchError extends ComposioError {
|
|
6341
|
+
export declare class ComposioToolkitFetchError extends ComposioError {
|
|
6091
6342
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6092
6343
|
}
|
|
6093
6344
|
//#endregion
|
|
@@ -6095,16 +6346,16 @@ declare class ComposioToolkitFetchError extends ComposioError {
|
|
|
6095
6346
|
/**
|
|
6096
6347
|
* Represents an input validation error using Zod.
|
|
6097
6348
|
*/
|
|
6098
|
-
declare const ValidationErrorCodes: {
|
|
6349
|
+
export declare const ValidationErrorCodes: {
|
|
6099
6350
|
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
6100
6351
|
readonly JSON_SCHEMA_TO_ZOD_ERROR: "JSON_SCHEMA_TO_ZOD_ERROR";
|
|
6101
6352
|
readonly JSON_SCHEMA_REF_RESOLUTION_ERROR: "JSON_SCHEMA_REF_RESOLUTION_ERROR";
|
|
6102
6353
|
};
|
|
6103
|
-
declare class ValidationError extends ComposioError {
|
|
6354
|
+
export declare class ValidationError extends ComposioError {
|
|
6104
6355
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6105
6356
|
private generateUserFriendlyMessage;
|
|
6106
6357
|
}
|
|
6107
|
-
declare class JsonSchemaToZodError extends ComposioError {
|
|
6358
|
+
export declare class JsonSchemaToZodError extends ComposioError {
|
|
6108
6359
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6109
6360
|
}
|
|
6110
6361
|
/**
|
|
@@ -6112,16 +6363,16 @@ declare class JsonSchemaToZodError extends ComposioError {
|
|
|
6112
6363
|
* document. Used by `dereferenceJsonSchema` to surface malformed pointers,
|
|
6113
6364
|
* missing `$defs`/`definitions` targets, or chains exceeding the depth cap.
|
|
6114
6365
|
*/
|
|
6115
|
-
declare class JsonSchemaRefResolutionError extends ComposioError {
|
|
6366
|
+
export declare class JsonSchemaRefResolutionError extends ComposioError {
|
|
6116
6367
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6117
6368
|
}
|
|
6118
6369
|
//#endregion
|
|
6119
6370
|
//#region src/errors/SDKErrors.d.ts
|
|
6120
|
-
declare const SDKErrorCodes: {
|
|
6371
|
+
export declare const SDKErrorCodes: {
|
|
6121
6372
|
NO_API_KEY_PROVIDED: string;
|
|
6122
6373
|
REQUEST_CANCELLED: string;
|
|
6123
6374
|
};
|
|
6124
|
-
declare class ComposioNoAPIKeyError extends ComposioError {
|
|
6375
|
+
export declare class ComposioNoAPIKeyError extends ComposioError {
|
|
6125
6376
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6126
6377
|
}
|
|
6127
6378
|
/**
|
|
@@ -6137,7 +6388,7 @@ declare class ComposioNoAPIKeyError extends ComposioError {
|
|
|
6137
6388
|
* }
|
|
6138
6389
|
* ```
|
|
6139
6390
|
*/
|
|
6140
|
-
declare class ComposioRequestCancelledError extends ComposioError {
|
|
6391
|
+
export declare class ComposioRequestCancelledError extends ComposioError {
|
|
6141
6392
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6142
6393
|
}
|
|
6143
6394
|
/**
|
|
@@ -6145,10 +6396,10 @@ declare class ComposioRequestCancelledError extends ComposioError {
|
|
|
6145
6396
|
* so we fall back to `constructor.name` for dual-package-hazard cases.
|
|
6146
6397
|
* @internal
|
|
6147
6398
|
*/
|
|
6148
|
-
declare function isRequestAbortError(error: unknown): boolean;
|
|
6399
|
+
export declare function isRequestAbortError(error: unknown): boolean;
|
|
6149
6400
|
//#endregion
|
|
6150
6401
|
//#region src/errors/TriggerErrors.d.ts
|
|
6151
|
-
declare const TriggerErrorCodes: {
|
|
6402
|
+
export declare const TriggerErrorCodes: {
|
|
6152
6403
|
readonly TRIGGER_FAILED_TO_GET_SDK_REALTIME_CREDENTIALS: "TRIGGER_FAILED_TO_GET_SDK_REALTIME_CREDENTIALS";
|
|
6153
6404
|
readonly TRIGGER_FAILED_TO_CREATE_PUSHER_CLIENT: "TRIGGER_FAILED_TO_CREATE_PUSHER_CLIENT";
|
|
6154
6405
|
readonly TRIGGER_FAILED_TO_SUBSCRIBE_TO_PUSHER_CHANNEL: "TRIGGER_FAILED_TO_SUBSCRIBE_TO_PUSHER_CHANNEL";
|
|
@@ -6157,33 +6408,33 @@ declare const TriggerErrorCodes: {
|
|
|
6157
6408
|
readonly WEBHOOK_SIGNATURE_VERIFICATION_FAILED: "WEBHOOK_SIGNATURE_VERIFICATION_FAILED";
|
|
6158
6409
|
readonly WEBHOOK_PAYLOAD_INVALID: "WEBHOOK_PAYLOAD_INVALID";
|
|
6159
6410
|
};
|
|
6160
|
-
declare class ComposioFailedToGetSDKRealtimeCredentialsError extends ComposioError {
|
|
6411
|
+
export declare class ComposioFailedToGetSDKRealtimeCredentialsError extends ComposioError {
|
|
6161
6412
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6162
6413
|
}
|
|
6163
|
-
declare class ComposioFailedToCreatePusherClientError extends ComposioError {
|
|
6414
|
+
export declare class ComposioFailedToCreatePusherClientError extends ComposioError {
|
|
6164
6415
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6165
6416
|
}
|
|
6166
|
-
declare class ComposioFailedToSubscribeToPusherChannelError extends ComposioError {
|
|
6417
|
+
export declare class ComposioFailedToSubscribeToPusherChannelError extends ComposioError {
|
|
6167
6418
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6168
6419
|
}
|
|
6169
|
-
declare class ComposioFailedToUnsubscribeFromPusherChannelError extends ComposioError {
|
|
6420
|
+
export declare class ComposioFailedToUnsubscribeFromPusherChannelError extends ComposioError {
|
|
6170
6421
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
|
|
6171
6422
|
}
|
|
6172
|
-
declare class ComposioTriggerTypeNotFoundError extends ComposioError {
|
|
6423
|
+
export declare class ComposioTriggerTypeNotFoundError extends ComposioError {
|
|
6173
6424
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6174
6425
|
}
|
|
6175
|
-
declare class ComposioWebhookSignatureVerificationError extends ComposioError {
|
|
6426
|
+
export declare class ComposioWebhookSignatureVerificationError extends ComposioError {
|
|
6176
6427
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6177
6428
|
}
|
|
6178
|
-
declare class ComposioWebhookPayloadError extends ComposioError {
|
|
6429
|
+
export declare class ComposioWebhookPayloadError extends ComposioError {
|
|
6179
6430
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
6180
6431
|
}
|
|
6181
6432
|
//#endregion
|
|
6182
6433
|
//#region src/errors/RemoteFileErrors.d.ts
|
|
6183
|
-
declare const RemoteFileErrorCodes: {
|
|
6434
|
+
export declare const RemoteFileErrorCodes: {
|
|
6184
6435
|
readonly DOWNLOAD_FAILED: "REMOTE_FILE_DOWNLOAD_FAILED";
|
|
6185
6436
|
};
|
|
6186
|
-
interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6437
|
+
export interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6187
6438
|
/** HTTP status code from the failed response */
|
|
6188
6439
|
statusCode?: number;
|
|
6189
6440
|
/** HTTP status text (e.g. "Not Found", "Forbidden") */
|
|
@@ -6199,19 +6450,19 @@ interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'cod
|
|
|
6199
6450
|
* Error thrown when fetching a remote file from a tool router session mount fails.
|
|
6200
6451
|
* Includes HTTP status, URL, and file path context for debugging.
|
|
6201
6452
|
*/
|
|
6202
|
-
declare class RemoteFileDownloadError extends ComposioError {
|
|
6453
|
+
export declare class RemoteFileDownloadError extends ComposioError {
|
|
6203
6454
|
constructor(message?: string, options?: RemoteFileDownloadErrorOptions);
|
|
6204
6455
|
}
|
|
6205
6456
|
//#endregion
|
|
6206
6457
|
//#region src/errors/FileModifierErrors.d.ts
|
|
6207
|
-
declare const FileModifierErrorCodes: {
|
|
6458
|
+
export declare const FileModifierErrorCodes: {
|
|
6208
6459
|
readonly FILE_UPLOAD_FAILED: "FILE_UPLOAD_FAILED";
|
|
6209
6460
|
readonly SENSITIVE_FILE_PATH_BLOCKED: "SENSITIVE_FILE_PATH_BLOCKED";
|
|
6210
6461
|
readonly FILE_UPLOAD_ABORTED: "FILE_UPLOAD_ABORTED";
|
|
6211
6462
|
readonly FILE_UPLOAD_PATH_NOT_ALLOWED: "FILE_UPLOAD_PATH_NOT_ALLOWED";
|
|
6212
6463
|
readonly FILE_NOT_FOUND: "FILE_NOT_FOUND";
|
|
6213
6464
|
};
|
|
6214
|
-
declare class ComposioFileUploadError extends ComposioError {
|
|
6465
|
+
export declare class ComposioFileUploadError extends ComposioError {
|
|
6215
6466
|
constructor(message?: string, options?: ComposioErrorOptions);
|
|
6216
6467
|
}
|
|
6217
6468
|
/**
|
|
@@ -6219,13 +6470,13 @@ declare class ComposioFileUploadError extends ComposioError {
|
|
|
6219
6470
|
* credential-like file name). Subclass of {@link ComposioFileUploadError} so existing
|
|
6220
6471
|
* `instanceof ComposioFileUploadError` handlers still apply.
|
|
6221
6472
|
*/
|
|
6222
|
-
declare class ComposioSensitiveFilePathBlockedError extends ComposioFileUploadError {
|
|
6473
|
+
export declare class ComposioSensitiveFilePathBlockedError extends ComposioFileUploadError {
|
|
6223
6474
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6224
6475
|
}
|
|
6225
6476
|
/**
|
|
6226
6477
|
* Thrown when a `beforeFileUpload` hook returns `false`.
|
|
6227
6478
|
*/
|
|
6228
|
-
declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
6479
|
+
export declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
6229
6480
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6230
6481
|
}
|
|
6231
6482
|
/**
|
|
@@ -6236,7 +6487,7 @@ declare class ComposioFileUploadAbortedError extends ComposioFileUploadError {
|
|
|
6236
6487
|
* `dangerouslyAllowAutoUploadDownloadFiles: true`). Manual `composio.files.upload()`
|
|
6237
6488
|
* calls are never subject to this check.
|
|
6238
6489
|
*/
|
|
6239
|
-
declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadError {
|
|
6490
|
+
export declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadError {
|
|
6240
6491
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6241
6492
|
}
|
|
6242
6493
|
/**
|
|
@@ -6244,15 +6495,15 @@ declare class ComposioFileUploadPathNotAllowedError extends ComposioFileUploadEr
|
|
|
6244
6495
|
* Provides extra debugging context (resolved absolute path, cwd, allowlist state)
|
|
6245
6496
|
* to help the caller distinguish between "typo" and "not-allowlisted" failures.
|
|
6246
6497
|
*/
|
|
6247
|
-
declare class ComposioFileNotFoundError extends ComposioFileUploadError {
|
|
6498
|
+
export declare class ComposioFileNotFoundError extends ComposioFileUploadError {
|
|
6248
6499
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
6249
6500
|
}
|
|
6250
6501
|
//#endregion
|
|
6251
6502
|
//#region src/errors/SsrfErrors.d.ts
|
|
6252
|
-
declare const SsrfErrorCodes: {
|
|
6503
|
+
export declare const SsrfErrorCodes: {
|
|
6253
6504
|
readonly BLOCKED_INTERNAL_URL: "BLOCKED_INTERNAL_URL";
|
|
6254
6505
|
};
|
|
6255
|
-
interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6506
|
+
export interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
|
|
6256
6507
|
/** The user-supplied URL that was refused. */
|
|
6257
6508
|
url?: string;
|
|
6258
6509
|
/** The resolved address that tripped the guard, when known. */
|
|
@@ -6266,8 +6517,8 @@ interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptio
|
|
|
6266
6517
|
* (SSRF) probe of internal infrastructure such as cloud metadata endpoints
|
|
6267
6518
|
* (`169.254.169.254`).
|
|
6268
6519
|
*/
|
|
6269
|
-
declare class ComposioBlockedInternalUrlError extends ComposioError {
|
|
6520
|
+
export declare class ComposioBlockedInternalUrlError extends ComposioError {
|
|
6270
6521
|
constructor(message?: string, options?: ComposioBlockedInternalUrlErrorOptions);
|
|
6271
6522
|
}
|
|
6272
6523
|
//#endregion
|
|
6273
|
-
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, 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, removeNonRequiredProperties, restoreOriginalKeys, sanitizeSchemaPropertyKeys, telemetry };
|
|
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 };
|