@composio/core 0.14.0 → 0.14.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.
Files changed (41) hide show
  1. package/dist/{BaseProvider-lCxnjFKQ.d.mts → BaseProvider-Dc5yKZhk.d.mts} +81 -82
  2. package/dist/{CustomTool-CmokRT9q.d.mts → CustomTool-4nVuwLzO.d.mts} +1 -2
  3. package/dist/{CustomTool-C_5NvBsX.mjs → CustomTool-l-j5HtEf.mjs} +1 -1
  4. package/dist/FileModifierErrors-B8V8_3VE.mjs +97 -0
  5. package/dist/{SsrfErrors-BQRozkeU.mjs → SsrfErrors-DNJt57GL.mjs} +5 -98
  6. package/dist/{Telemetry-llfvticE.mjs → Telemetry-CF0rNHu2.mjs} +2 -2
  7. package/dist/{cancellation-W65QRyj2.mjs → cancellation-BbJ-UQ__.mjs} +2 -2
  8. package/dist/{composio-6C8kHtqc.d.mts → composio-ChU3eD9F.d.mts} +260 -257
  9. package/dist/{customTool.types-kFhNYuzh.d.mts → customTool.types-CX2-LbfI.d.mts} +142 -109
  10. package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +2 -0
  11. package/dist/{errors-B165yJUQ.mjs → errors-BcEUHZbq.mjs} +2 -1
  12. package/dist/experimental/index.d.mts +2 -2
  13. package/dist/experimental/index.mjs +1 -1
  14. package/dist/{fileUtils.node-iPFi2o4i.mjs → fileUtils.node-DOkW4PBg.mjs} +5 -153
  15. package/dist/index.d.mts +1585 -753
  16. package/dist/index.mjs +14 -10
  17. package/dist/models/Files.node.d.mts +2 -11
  18. package/dist/models/Files.node.mjs +2 -2
  19. package/dist/models/Files.workerd.d.mts +0 -1
  20. package/dist/platform/node.d.mts +0 -1
  21. package/dist/platform/workerd.d.mts +0 -1
  22. package/dist/platform/workerd.mjs +27 -3
  23. package/dist/{sensitiveFileUploadPaths-B1OLsd8F.mjs → sensitiveFileUploadPaths-C43dHP7S.mjs} +52 -2
  24. package/dist/{types-yCrveqAj.d.mts → types-D5N60gUD.d.mts} +2 -3
  25. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -2
  26. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -2
  27. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -2
  28. package/dist/utils/modifiers/FileToolModifier.node.mjs +5 -4
  29. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -2
  30. package/dist/utils/ssrfGuard.node.d.mts +22 -0
  31. package/dist/utils/ssrfGuard.node.mjs +152 -0
  32. package/dist/utils/ssrfGuard.workerd.d.mts +9 -0
  33. package/dist/utils/ssrfGuard.workerd.mjs +17 -0
  34. package/package.json +14 -9
  35. package/src/errors/SsrfErrors.ts +4 -3
  36. package/src/models/ToolRouterSessionFileMount.ts +7 -3
  37. package/src/platform/workerd.ts +30 -3
  38. package/src/utils/fileUtils.node.ts +2 -2
  39. package/src/utils/readResponseBody.ts +63 -0
  40. package/src/utils/ssrfGuard.node.ts +6 -6
  41. package/src/utils/ssrfGuard.workerd.ts +19 -0
package/dist/index.d.mts CHANGED
@@ -1,11 +1,10 @@
1
- import { $ as McpUpdateResponse, $t as ExecuteToolModifiers, A as MCPServer, An as ToolRetrievalOptions, At as Oauth1InitiatedConnectionData, B as MCPToolkitConfig, Bn as ToolkitVersions, Bt as Oauth2FailedConnectionData, C as MCPGenerateURLParams, Cn as ToolList, Ct as Oauth1ConnectionDataSchema, D as MCPInstanceParams, Dn as ToolListResponseSchema, Dt as Oauth1FailedConnectionDataSchema, E as MCPGetServerParamsSchema, En as ToolListResponse, Et as Oauth1FailedConnectionData, F as MCPServerSchema, Fn as ToolkitSchema, Ft as Oauth2ActiveConnectionDataSchema, G as McpListResponse, Gt as Oauth2InitiatedConnectionDataSchema, H as MCPToolkitConfigsArraySchema, Ht as Oauth2InactiveConnectionData, I as MCPServerUpdateParams, In as ToolkitVersion, It as Oauth2ConnectionData, J as McpRetrieveResponseSchema, Jt as Oauth2RevokedConnectionData, K as McpListResponseSchema, Kt as Oauth2InitiatingConnectionData, L as MCPServerUpdateParamsSchema, Ln as ToolkitVersionParam, Lt as Oauth2ConnectionDataSchema, M as MCPServerCreateResponseSchema, Mn as Toolkit, Mt as Oauth1InitiatingConnectionData, N as MCPServerListResponse, Nn as ToolkitLatestVersion, Nt as Oauth1InitiatingConnectionDataSchema, O as MCPMultiAppServer, On as ToolProxyParams, Ot as Oauth1InactiveConnectionData, P as MCPServerListResponseSchema, Pn as ToolkitLatestVersionSchema, Pt as Oauth2ActiveConnectionData, Q as McpToolkitConnectionStatus, Qt as BeforeFileUploadSource, R as MCPSingleAppServer, Rn as ToolkitVersionParamSchema, Rt as Oauth2ExpiredConnectionData, S as MCPCreateMethodResponse, Sn as ToolExecuteResponseSchema, St as Oauth1ConnectionData, T as MCPGetServerParams, Tn as ToolListParamsSchema, Tt as Oauth1ExpiredConnectionDataSchema, U as McpDeleteResponse, Ut as Oauth2InactiveConnectionDataSchema, V as MCPToolkitConfigSchema, Vn as ToolkitVersionsSchema, Vt as Oauth2FailedConnectionDataSchema, W as McpDeleteResponseSchema, Wt as Oauth2InitiatedConnectionData, X as McpServerGetResponse, Xt as RedirectableAuthSchemeSchema, Y as McpServerCreateResponse, Yt as Oauth2RevokedConnectionDataSchema, Z as McpServerUrlInfo, Zt as AgenticToolOptions, _ as GenerateURLResponse, _n as ToolExecuteMetaParams, _t as CustomOauth1ConnectionDataSchema, a as ComposioGenerateURLParamsSchema, an as TransformToolSchemaModifier, at as ExecuteToolFnOptions, b as MCPAuthOptions, bn as ToolExecuteParamsSchema, bt as Oauth1ActiveConnectionData, c as ComposioMcpListResponseSchema, cn as beforeExecuteMetaModifier, ct as BaseConnectionFields, d as ConnectionStatus, dn as CustomAuthParams, dt as ConnectionDataSchema, en as MetaToolArguments, et as McpUpdateResponseSchema, f as CustomCreateResponse, fn as CustomAuthParamsSchema, ft as ConnectionStatusEnum, g as GenerateURLParamsSchema, gn as Tool, gt as CustomOauth1ConnectionData, h as GenerateURLParams, hn as SchemaModifierOptions, ht as CustomConnectionDataSchema, i as ComposioCustomCreateResponseSchema, in as ToolOptions, it as ExecuteToolFn, j as MCPServerCreateResponse, jn as ToolSchema, jt as Oauth1InitiatedConnectionDataSchema, k as MCPMultiAppServerSchema, kn as ToolProxyParamsSchema, kt as Oauth1InactiveConnectionDataSchema, l as ComposioMcpRetrieveResponseSchema, ln as beforeExecuteModifier, lt as BillcomAuthConnectionDataSchema, m as CustomCreateResponseValidated, mn as JSONSchemaPropertySchema, mt as CustomConnectionData, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, nt as McpUrlResponseCamelCase, o as ComposioGenerateURLResponseSchema, on as afterExecuteMetaModifier, ot as GlobalExecuteToolFn, p as CustomCreateResponseSchema, pn as JSONSchemaProperty, pt as ConnectionStatuses, q as McpRetrieveResponse, qt as Oauth2InitiatingConnectionDataSchema, r as BaseNonAgenticProvider, rn as SessionMetaToolOptions, rt as McpUserConnectionStatus, s as ComposioMcpDeleteResponseSchema, sn as afterExecuteModifier, st as Provider, t as BaseAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, u as ComposioMcpUpdateResponseSchema, un as beforeFileUploadModifier, ut as ConnectionData, v as GenerateURLResponseSchema, vn as ToolExecuteMetaParamsSchema, vt as CustomOauth2ConnectionData, w as MCPGenerateURLParamsSchema, wn as ToolListParams, wt as Oauth1ExpiredConnectionData, x as MCPAuthOptionsSchema, xn as ToolExecuteResponse, xt as Oauth1ActiveConnectionDataSchema, y as GenerateURLResponseValidated, yn as ToolExecuteParams, yt as CustomOauth2ConnectionDataSchema, z as MCPSingleAppServerSchema, zn as ToolkitVersionSchema, zt as Oauth2ExpiredConnectionDataSchema } from "./BaseProvider-lCxnjFKQ.mjs";
2
- import { $ as ToolRouterSessionMetadata, $t as ConnectedAccountExperimentalSchema, A as SessionProxyExecuteParams, An as UpdateConnectedAccountParamsSchema, At as FileListResponseSchema, B as ToolRouterCreateSessionConfigSchema, Bt as ToolRouterSessionFilesMountUploadOptionsSchema, C as MCPServerType, Cn as CreateConnectedAccountParamsSchema, Ct as ToolkitConnectionStateSchema, D as Session, Dn as UpdateConnectedAccountAclParams, Dt as FileDeleteResponse, E as SandboxSizeSchema, En as DefaultCreateConnectedAccountParamsSchema, Et as RemoteFile, F as ToolRouterConfigTags, Ft as ToolRouterSessionFilesMountDownloadOptions, G as ToolRouterSandboxConfigSchema, Gt as ConnectedAccountAclConfigResponse, H as ToolRouterMCPServerConfigSchema, Ht as ConnectionRequest, I as ToolRouterConfigTagsSchema, It as ToolRouterSessionFilesMountDownloadOptionsSchema, J as ToolRouterSessionDeleteResponseSchema, Jt as ConnectedAccountAuthConfig, K as ToolRouterSessionDeleteFn, Kt as ConnectedAccountAclConfigResponseSchema, L as ToolRouterConfigTools, Lt as ToolRouterSessionFilesMountListOptions, M as SessionWithoutMcp, Mt as RemoteFileDataSchema, N as ToolRouterAuthorizeFn, Nt as ToolRouterSessionFilesMountDeleteOptions, O as SessionExperimental, On as UpdateConnectedAccountAclParamsSchema, Ot as FileDeleteResponseSchema, P as ToolRouterConfigManageConnectionsSchema, Pt as ToolRouterSessionFilesMountDeleteOptionsSchema, Q as ToolRouterSessionExecuteResponseSchema, Qt as ConnectedAccountExperimentalResponseSchema, R as ToolRouterConfigToolsSchema, Rt as ToolRouterSessionFilesMountListOptionsSchema, S as SessionContext, Sn as CreateConnectedAccountParams, St as ToolkitConnectionState, T as SandboxSize, Tn as CreateConnectedAccountResponseSchema, Tt as ToolkitConnectionsDetailsSchema, U as ToolRouterManageConnectionsConfigSchema, Ut as ConnectionRequestState, V as ToolRouterMCPServerConfig, Vt as ComposioRequestOptions, W as ToolRouterSandboxConfig, Wt as ConnectedAccountAclConfig, X as ToolRouterSessionExecuteOptions, Xt as ConnectedAccountExperimental, Y as ToolRouterSessionExecuteFn, Yt as ConnectedAccountAuthConfigSchema, Z as ToolRouterSessionExecuteResponse, Zt as ConnectedAccountExperimentalResponse, _ as CustomToolsMapEntry, _n as CreateConnectedAccountLinkOptionsSchema, _t as ToolRouterToolsFn, a as CreateCustomToolkitParams, an as ConnectedAccountRefreshOptions, at as ToolRouterSessionSearchResponseSchema, b as RegisteredCustomTool, bn as CreateConnectedAccountOptions, bt as ToolRouterUpdateSessionConfig, c as CustomToolExecuteFn, cn as ConnectedAccountRetrieveResponseSchema, ct as ToolRouterSessionWorkbenchConfig, d as CustomToolWireDefinition, dn as ConnectedAccountStatusSchema, dt as ToolRouterToolkitsDisabledConfigSchema, en as ConnectedAccountListParams, et as ToolRouterSessionPreloadConfig, f as CustomToolkit, fn as ConnectedAccountStatuses, ft as ToolRouterToolkitsEnabledConfigSchema, g as CustomToolsMap, gn as CreateConnectedAccountLinkOptions, gt as ToolRouterToolkitsParamSchema, h as CustomToolkitWireDefinition, hn as ConnectedAccountTypes, ht as ToolRouterToolkitsOptionsSchema, i as CreateCustomToolkitBaseSchema, in as ConnectedAccountListResponseSchema, it as ToolRouterSessionSearchResponse, j as SessionProxyExecuteParamsSchema, jt as RemoteFileData, k as SessionPreset, kn as UpdateConnectedAccountParams, kt as FileListResponse, l as CustomToolResponse, ln as ConnectedAccountStatus, lt as ToolRouterTagsEnableDisableSchema, m as CustomToolkitResponse, mn as ConnectedAccountTypeSchema, mt as ToolRouterToolkitsOptions, n as CreateCustomToolBaseSchema, nn as ConnectedAccountListResponse, nt as ToolRouterSessionProxyExecuteResponse, o as CustomTool, on as ConnectedAccountRefreshOptionsSchema, ot as ToolRouterSessionUpdateFn, p as CustomToolkitDefinition, pn as ConnectedAccountType, pt as ToolRouterToolkitsFn, q as ToolRouterSessionDeleteResponse, qt as ConnectedAccountAclConfigSchema, r as CreateCustomToolParams, rn as ConnectedAccountListResponseItem, rt as ToolRouterSessionSearchFn, s as CustomToolDefinition, sn as ConnectedAccountRetrieveResponse, st as ToolRouterSessionWarning, t as AnyZodSchema, tn as ConnectedAccountListParamsSchema, tt as ToolRouterSessionProxyExecuteFn, u as CustomToolSlugSchema, un as ConnectedAccountStatusEnum, ut as ToolRouterTagsParamSchema, v as InferZodSchema, vn as CreateConnectedAccountLinkResponse, vt as ToolRouterToolsParam, w as MCPServerTypeSchema, wn as CreateConnectedAccountResponse, wt as ToolkitConnectionsDetails, x as RegisteredCustomToolkit, xn as CreateConnectedAccountOptionsSchema, xt as ToolRouterUpdateSessionConfigSchema, y as InlineCustomToolsWirePayload, yn as CreateConnectedAccountLinkResponseSchema, yt as ToolRouterToolsParamSchema, z as ToolRouterCreateSessionConfig, zt as ToolRouterSessionFilesMountUploadOptions } from "./customTool.types-kFhNYuzh.mjs";
3
- import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-CmokRT9q.mjs";
4
- import { $ as WebhookPayloadV3, $t as ToolkitsListParamsSchema, A as TriggerInstanceUpsertResponse, At as ToolKitItem, B as TriggersTypeListParamsSchema, Bt as ToolkitAuthFieldsResponse, C as TriggerInstanceManageDeleteResponseSchema, Ct as AuthSchemeTypes, D as TriggerInstanceManageUpdateResponseSchema, Dt as CreateAuthConfigResponseSchema, E as TriggerInstanceManageUpdateResponse, Et as CreateAuthConfigResponse, F as TriggerSubscribeParamSchema, Ft as ToolKitMetaSchema, G as VerifyWebhookParamsSchema, Gt as ToolkitMangedByEnum, H as TriggersTypeListResponseSchema, Ht as ToolkitCategory, I as TriggerSubscribeParams, It as ToolkitAuthConfigDetails, J as WebhookPayloadSchema, Jt as ToolkitRetrieveCategoriesResponseSchema, K as VerifyWebhookResult, Kt as ToolkitMangedByEnumSchema, L as TriggerType, Lt as ToolkitAuthConfigDetailsSchema, M as TriggerStatusEnum, Mt as ToolKitListResponse, N as TriggerStatusType, Nt as ToolKitListResponseSchema, O as TriggerInstanceUpsertParams, Ot as CreateComposioManagedAuthConfigParamsSchema, P as TriggerStatuses, Pt as ToolKitMeta, Q as WebhookPayloadV2Schema, Qt as ToolkitSortByEnumSchema, R as TriggerTypeSchema, Rt as ToolkitAuthField, S as TriggerInstanceManageDeleteResponse, St as AuthSchemeType, T as TriggerInstanceManageUpdateParamsSchema, Tt as CreateAuthConfigParamsSchema, U as TriggersTypeRetrieveResponse, Ut as ToolkitCategorySchema, V as TriggersTypeListResponse, Vt as ToolkitAuthFieldsResponseSchema, W as VerifyWebhookParams, Wt as ToolkitListParams, X as WebhookPayloadV1Schema, Xt as ToolkitRetrieveResponseSchema, Y as WebhookPayloadV1, Yt as ToolkitRetrieveResponse, Z as WebhookPayloadV2, Zt as ToolkitSortByEnum, _ as TriggerInstanceListActiveParamsSchema, _t as AuthConfigUpdateParams, a as MCP, at as WebhookVersion, b as TriggerInstanceListActiveResponseItemSchema, bt as AuthDefaultConfigUpdateParamsSchema, c as IncomingTriggerPayload, ct as AuthConfigListParams, d as SetWebhookSubscriptionParams, dt as AuthConfigListResponseSchema, et as WebhookPayloadV3Schema, f as SetWebhookSubscriptionParamsSchema, ft as AuthConfigRetrieveResponse, g as TriggerInstanceListActiveParams, gt as AuthConfigTypes, h as TriggerEventData, ht as AuthConfigType, i as OpenAIProvider, it as WebhookTriggerPayloadV3Schema, j as TriggerInstanceUpsertResponseSchema, jt as ToolKitItemSchema, k as TriggerInstanceUpsertParamsSchema, kt as CreateCustomAuthConfigParamsSchema, l as IncomingTriggerPayloadSchema, lt as AuthConfigListParamsSchema, m as TriggerEvent, mt as AuthConfigToolAccessConfigSchema, n as ComposioConfig, nt as WebhookSubscription, o as Experimental, ot as WebhookVersions, p as TriggerData, pt as AuthConfigRetrieveResponseSchema, q as WebhookPayload, qt as ToolkitRetrieveCategoriesResponse, r as Sessions, rt as WebhookTriggerPayloadV3, s as DefaultWebhookSubscriptionEvents, st as AuthConfigCreationToolAccessConfigSchema, t as Composio, tt as WebhookRequestLike, u as ParseWebhookOptions, ut as AuthConfigListResponse, v as TriggerInstanceListActiveResponse, vt as AuthConfigUpdateParamsSchema, w as TriggerInstanceManageUpdateParams, wt as CreateAuthConfigParams, x as TriggerInstanceListActiveResponseSchema, xt as AuthSchemeEnum, y as TriggerInstanceListActiveResponseItem, yt as AuthCustomConfigUpdateParamsSchema, z as TriggersTypeListParams, zt as ToolkitAuthFieldSchema } from "./composio-6C8kHtqc.mjs";
1
+ import { $ as McpUpdateResponse, $t as ExecuteToolModifiers, A as MCPServer, An as ToolRetrievalOptions, At as Oauth1InitiatedConnectionData, B as MCPToolkitConfig, Bn as ToolkitVersions, Bt as Oauth2FailedConnectionData, C as MCPGenerateURLParams, Cn as ToolList, Ct as Oauth1ConnectionDataSchema, D as MCPInstanceParams, Dn as ToolListResponseSchema, Dt as Oauth1FailedConnectionDataSchema, E as MCPGetServerParamsSchema, En as ToolListResponse, Et as Oauth1FailedConnectionData, F as MCPServerSchema, Fn as ToolkitSchema, Ft as Oauth2ActiveConnectionDataSchema, G as McpListResponse, Gt as Oauth2InitiatedConnectionDataSchema, H as MCPToolkitConfigsArraySchema, Ht as Oauth2InactiveConnectionData, I as MCPServerUpdateParams, In as ToolkitVersion, It as Oauth2ConnectionData, J as McpRetrieveResponseSchema, Jt as Oauth2RevokedConnectionData, K as McpListResponseSchema, Kt as Oauth2InitiatingConnectionData, L as MCPServerUpdateParamsSchema, Ln as ToolkitVersionParam, Lt as Oauth2ConnectionDataSchema, M as MCPServerCreateResponseSchema, Mn as Toolkit, Mt as Oauth1InitiatingConnectionData, N as MCPServerListResponse, Nn as ToolkitLatestVersion, Nt as Oauth1InitiatingConnectionDataSchema, O as MCPMultiAppServer, On as ToolProxyParams, Ot as Oauth1InactiveConnectionData, P as MCPServerListResponseSchema, Pn as ToolkitLatestVersionSchema, Pt as Oauth2ActiveConnectionData, Q as McpToolkitConnectionStatus, Qt as BeforeFileUploadSource, R as MCPSingleAppServer, Rn as ToolkitVersionParamSchema, Rt as Oauth2ExpiredConnectionData, S as MCPCreateMethodResponse, Sn as ToolExecuteResponseSchema, St as Oauth1ConnectionData, T as MCPGetServerParams, Tn as ToolListParamsSchema, Tt as Oauth1ExpiredConnectionDataSchema, U as McpDeleteResponse, Ut as Oauth2InactiveConnectionDataSchema, V as MCPToolkitConfigSchema, Vn as ToolkitVersionsSchema, Vt as Oauth2FailedConnectionDataSchema, W as McpDeleteResponseSchema, Wt as Oauth2InitiatedConnectionData, X as McpServerGetResponse, Xt as RedirectableAuthSchemeSchema, Y as McpServerCreateResponse, Yt as Oauth2RevokedConnectionDataSchema, Z as McpServerUrlInfo, Zt as AgenticToolOptions, _ as GenerateURLResponse, _n as ToolExecuteMetaParams, _t as CustomOauth1ConnectionDataSchema, a as ComposioGenerateURLParamsSchema, an as TransformToolSchemaModifier, at as ExecuteToolFnOptions, b as MCPAuthOptions, bn as ToolExecuteParamsSchema, bt as Oauth1ActiveConnectionData, c as ComposioMcpListResponseSchema, cn as beforeExecuteMetaModifier, ct as BaseConnectionFields, d as ConnectionStatus, dn as CustomAuthParams, dt as ConnectionDataSchema, en as MetaToolArguments, et as McpUpdateResponseSchema, f as CustomCreateResponse, fn as CustomAuthParamsSchema, ft as ConnectionStatusEnum, g as GenerateURLParamsSchema, gn as Tool, gt as CustomOauth1ConnectionData, h as GenerateURLParams, hn as SchemaModifierOptions, ht as CustomConnectionDataSchema, i as ComposioCustomCreateResponseSchema, in as ToolOptions, it as ExecuteToolFn, j as MCPServerCreateResponse, jn as ToolSchema, jt as Oauth1InitiatedConnectionDataSchema, k as MCPMultiAppServerSchema, kn as ToolProxyParamsSchema, kt as Oauth1InactiveConnectionDataSchema, l as ComposioMcpRetrieveResponseSchema, ln as beforeExecuteModifier, lt as BillcomAuthConnectionDataSchema, m as CustomCreateResponseValidated, mn as JSONSchemaPropertySchema, mt as CustomConnectionData, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, nt as McpUrlResponseCamelCase, o as ComposioGenerateURLResponseSchema, on as afterExecuteMetaModifier, ot as GlobalExecuteToolFn, p as CustomCreateResponseSchema, pn as JSONSchemaProperty, pt as ConnectionStatuses, q as McpRetrieveResponse, qt as Oauth2InitiatingConnectionDataSchema, r as BaseNonAgenticProvider, rn as SessionMetaToolOptions, rt as McpUserConnectionStatus, s as ComposioMcpDeleteResponseSchema, sn as afterExecuteModifier, st as Provider, t as BaseAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, u as ComposioMcpUpdateResponseSchema, un as beforeFileUploadModifier, ut as ConnectionData, v as GenerateURLResponseSchema, vn as ToolExecuteMetaParamsSchema, vt as CustomOauth2ConnectionData, w as MCPGenerateURLParamsSchema, wn as ToolListParams, wt as Oauth1ExpiredConnectionData, x as MCPAuthOptionsSchema, xn as ToolExecuteResponse, xt as Oauth1ActiveConnectionDataSchema, y as GenerateURLResponseValidated, yn as ToolExecuteParams, yt as CustomOauth2ConnectionDataSchema, z as MCPSingleAppServerSchema, zn as ToolkitVersionSchema, zt as Oauth2ExpiredConnectionDataSchema } from "./BaseProvider-Dc5yKZhk.mjs";
2
+ import { $ as ToolRouterSessionMetadata, $t as ConnectedAccountExperimentalSchema, A as SessionProxyExecuteParams, An as UpdateConnectedAccountParamsSchema, At as FileListResponseSchema, B as ToolRouterCreateSessionConfigSchema, Bt as ToolRouterSessionFilesMountUploadOptionsSchema, C as MCPServerType, Cn as CreateConnectedAccountParamsSchema, Ct as ToolkitConnectionStateSchema, D as Session, Dn as UpdateConnectedAccountAclParams, Dt as FileDeleteResponse, E as SandboxSizeSchema, En as DefaultCreateConnectedAccountParamsSchema, Et as RemoteFile, F as ToolRouterConfigTags, Ft as ToolRouterSessionFilesMountDownloadOptions, G as ToolRouterSandboxConfigSchema, Gt as ConnectedAccountAclConfigResponse, H as ToolRouterMCPServerConfigSchema, Ht as ConnectionRequest, I as ToolRouterConfigTagsSchema, It as ToolRouterSessionFilesMountDownloadOptionsSchema, J as ToolRouterSessionDeleteResponseSchema, Jt as ConnectedAccountAuthConfig, K as ToolRouterSessionDeleteFn, Kt as ConnectedAccountAclConfigResponseSchema, L as ToolRouterConfigTools, Lt as ToolRouterSessionFilesMountListOptions, M as SessionWithoutMcp, Mt as RemoteFileDataSchema, N as ToolRouterAuthorizeFn, Nt as ToolRouterSessionFilesMountDeleteOptions, O as SessionExperimental, On as UpdateConnectedAccountAclParamsSchema, Ot as FileDeleteResponseSchema, P as ToolRouterConfigManageConnectionsSchema, Pt as ToolRouterSessionFilesMountDeleteOptionsSchema, Q as ToolRouterSessionExecuteResponseSchema, Qt as ConnectedAccountExperimentalResponseSchema, R as ToolRouterConfigToolsSchema, Rt as ToolRouterSessionFilesMountListOptionsSchema, S as SessionContext, Sn as CreateConnectedAccountParams, St as ToolkitConnectionState, T as SandboxSize, Tn as CreateConnectedAccountResponseSchema, Tt as ToolkitConnectionsDetailsSchema, U as ToolRouterManageConnectionsConfigSchema, Ut as ConnectionRequestState, V as ToolRouterMCPServerConfig, Vt as ComposioRequestOptions, W as ToolRouterSandboxConfig, Wt as ConnectedAccountAclConfig, X as ToolRouterSessionExecuteOptions, Xt as ConnectedAccountExperimental, Y as ToolRouterSessionExecuteFn, Yt as ConnectedAccountAuthConfigSchema, Z as ToolRouterSessionExecuteResponse, Zt as ConnectedAccountExperimentalResponse, _ as CustomToolsMapEntry, _n as CreateConnectedAccountLinkOptionsSchema, _t as ToolRouterToolsFn, a as CreateCustomToolkitParams, an as ConnectedAccountRefreshOptions, at as ToolRouterSessionSearchResponseSchema, b as RegisteredCustomTool, bn as CreateConnectedAccountOptions, bt as ToolRouterUpdateSessionConfig, c as CustomToolExecuteFn, cn as ConnectedAccountRetrieveResponseSchema, ct as ToolRouterSessionWorkbenchConfig, d as CustomToolWireDefinition, dn as ConnectedAccountStatusSchema, dt as ToolRouterToolkitsDisabledConfigSchema, en as ConnectedAccountListParams, et as ToolRouterSessionPreloadConfig, f as CustomToolkit, fn as ConnectedAccountStatuses, ft as ToolRouterToolkitsEnabledConfigSchema, g as CustomToolsMap, gn as CreateConnectedAccountLinkOptions, gt as ToolRouterToolkitsParamSchema, h as CustomToolkitWireDefinition, hn as ConnectedAccountTypes, ht as ToolRouterToolkitsOptionsSchema, i as CreateCustomToolkitBaseSchema, in as ConnectedAccountListResponseSchema, it as ToolRouterSessionSearchResponse, j as SessionProxyExecuteParamsSchema, jt as RemoteFileData, k as SessionPreset, kn as UpdateConnectedAccountParams, kt as FileListResponse, l as CustomToolResponse, ln as ConnectedAccountStatus, lt as ToolRouterTagsEnableDisableSchema, m as CustomToolkitResponse, mn as ConnectedAccountTypeSchema, mt as ToolRouterToolkitsOptions, n as CreateCustomToolBaseSchema, nn as ConnectedAccountListResponse, nt as ToolRouterSessionProxyExecuteResponse, o as CustomTool, on as ConnectedAccountRefreshOptionsSchema, ot as ToolRouterSessionUpdateFn, p as CustomToolkitDefinition, pn as ConnectedAccountType, pt as ToolRouterToolkitsFn, q as ToolRouterSessionDeleteResponse, qt as ConnectedAccountAclConfigSchema, r as CreateCustomToolParams, rn as ConnectedAccountListResponseItem, rt as ToolRouterSessionSearchFn, s as CustomToolDefinition, sn as ConnectedAccountRetrieveResponse, st as ToolRouterSessionWarning, t as AnyZodSchema, tn as ConnectedAccountListParamsSchema, tt as ToolRouterSessionProxyExecuteFn, u as CustomToolSlugSchema, un as ConnectedAccountStatusEnum, ut as ToolRouterTagsParamSchema, v as InferZodSchema, vn as CreateConnectedAccountLinkResponse, vt as ToolRouterToolsParam, w as MCPServerTypeSchema, wn as CreateConnectedAccountResponse, wt as ToolkitConnectionsDetails, x as RegisteredCustomToolkit, xn as CreateConnectedAccountOptionsSchema, xt as ToolRouterUpdateSessionConfigSchema, y as InlineCustomToolsWirePayload, yn as CreateConnectedAccountLinkResponseSchema, yt as ToolRouterToolsParamSchema, z as ToolRouterCreateSessionConfig, zt as ToolRouterSessionFilesMountUploadOptions } from "./customTool.types-CX2-LbfI.mjs";
3
+ import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-4nVuwLzO.mjs";
4
+ import { $ as WebhookPayloadV3, $t as ToolkitsListParamsSchema, A as TriggerInstanceUpsertResponse, At as ToolKitItem, B as TriggersTypeListParamsSchema, Bt as ToolkitAuthFieldsResponse, C as TriggerInstanceManageDeleteResponseSchema, Ct as AuthSchemeTypes, D as TriggerInstanceManageUpdateResponseSchema, Dt as CreateAuthConfigResponseSchema, E as TriggerInstanceManageUpdateResponse, Et as CreateAuthConfigResponse, F as TriggerSubscribeParamSchema, Ft as ToolKitMetaSchema, G as VerifyWebhookParamsSchema, Gt as ToolkitMangedByEnum, H as TriggersTypeListResponseSchema, Ht as ToolkitCategory, I as TriggerSubscribeParams, It as ToolkitAuthConfigDetails, J as WebhookPayloadSchema, Jt as ToolkitRetrieveCategoriesResponseSchema, K as VerifyWebhookResult, Kt as ToolkitMangedByEnumSchema, L as TriggerType, Lt as ToolkitAuthConfigDetailsSchema, M as TriggerStatusEnum, Mt as ToolKitListResponse, N as TriggerStatusType, Nt as ToolKitListResponseSchema, O as TriggerInstanceUpsertParams, Ot as CreateComposioManagedAuthConfigParamsSchema, P as TriggerStatuses, Pt as ToolKitMeta, Q as WebhookPayloadV2Schema, Qt as ToolkitSortByEnumSchema, R as TriggerTypeSchema, Rt as ToolkitAuthField, S as TriggerInstanceManageDeleteResponse, St as AuthSchemeType, T as TriggerInstanceManageUpdateParamsSchema, Tt as CreateAuthConfigParamsSchema, U as TriggersTypeRetrieveResponse, Ut as ToolkitCategorySchema, V as TriggersTypeListResponse, Vt as ToolkitAuthFieldsResponseSchema, W as VerifyWebhookParams, Wt as ToolkitListParams, X as WebhookPayloadV1Schema, Xt as ToolkitRetrieveResponseSchema, Y as WebhookPayloadV1, Yt as ToolkitRetrieveResponse, Z as WebhookPayloadV2, Zt as ToolkitSortByEnum, _ as TriggerInstanceListActiveParamsSchema, _t as AuthConfigUpdateParams, a as MCP, at as WebhookVersion, b as TriggerInstanceListActiveResponseItemSchema, bt as AuthDefaultConfigUpdateParamsSchema, c as IncomingTriggerPayload, ct as AuthConfigListParams, d as SetWebhookSubscriptionParams, dt as AuthConfigListResponseSchema, et as WebhookPayloadV3Schema, f as SetWebhookSubscriptionParamsSchema, ft as AuthConfigRetrieveResponse, g as TriggerInstanceListActiveParams, gt as AuthConfigTypes, h as TriggerEventData, ht as AuthConfigType, i as OpenAIProvider, it as WebhookTriggerPayloadV3Schema, j as TriggerInstanceUpsertResponseSchema, jt as ToolKitItemSchema, k as TriggerInstanceUpsertParamsSchema, kt as CreateCustomAuthConfigParamsSchema, l as IncomingTriggerPayloadSchema, lt as AuthConfigListParamsSchema, m as TriggerEvent, mt as AuthConfigToolAccessConfigSchema, n as ComposioConfig, nt as WebhookSubscription, o as Experimental, ot as WebhookVersions, p as TriggerData, pt as AuthConfigRetrieveResponseSchema, q as WebhookPayload, qt as ToolkitRetrieveCategoriesResponse, r as Sessions, rt as WebhookTriggerPayloadV3, s as DefaultWebhookSubscriptionEvents, st as AuthConfigCreationToolAccessConfigSchema, t as Composio, tt as WebhookRequestLike, u as ParseWebhookOptions, ut as AuthConfigListResponse, v as TriggerInstanceListActiveResponse, vt as AuthConfigUpdateParamsSchema, w as TriggerInstanceManageUpdateParams, wt as CreateAuthConfigParams, x as TriggerInstanceListActiveResponseSchema, xt as AuthSchemeEnum, y as TriggerInstanceListActiveResponseItem, yt as AuthCustomConfigUpdateParamsSchema, z as TriggersTypeListParams, zt as ToolkitAuthFieldSchema } from "./composio-ChU3eD9F.mjs";
5
5
  import { n as FileUploadData, t as FileDownloadData } from "./files.types-DeMC_mAW.mjs";
6
6
  import ComposioClient, { Composio as Composio$1 } from "@composio/client";
7
7
  import { z as z$1 } from "zod/v3";
8
-
9
8
  //#region src/provider/ComposioProvider.d.ts
10
9
  /**
11
10
  * This is a default provider implementation for Composio.
@@ -140,9 +139,7 @@ declare const removeNonRequiredProperties: <T extends {
140
139
  * // })
141
140
  * ```
142
141
  */
143
- declare function jsonSchemaToZodSchema<T extends z$1.ZodTypeAny>(jsonSchema: Record<string, unknown>, {
144
- strict
145
- }?: {
142
+ declare function jsonSchemaToZodSchema<T extends z$1.ZodTypeAny>(jsonSchema: Record<string, unknown>, { strict }?: {
146
143
  strict?: boolean;
147
144
  }): T;
148
145
  //#endregion
@@ -509,16 +506,16 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
509
506
  */
510
507
  toolkits(options?: ToolRouterToolkitsOptions, requestOptions?: ComposioRequestOptions): Promise<{
511
508
  items: {
512
- slug: string;
513
509
  name: string;
510
+ slug: string;
514
511
  isNoAuth: boolean;
515
512
  logo?: string | undefined;
516
513
  connection?: {
517
514
  isActive: boolean;
518
515
  authConfig?: {
519
516
  id: string;
520
- mode: string;
521
517
  isComposioManaged: boolean;
518
+ mode: string;
522
519
  } | null | undefined;
523
520
  connectedAccount?: {
524
521
  status: string;
@@ -606,7 +603,9 @@ type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventType
606
603
  * @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
607
604
  */
608
605
  declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
609
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
606
+ /** The nano ID of the auth config */
607
+ id: z$1.ZodString;
608
+ /** @deprecated - use state.authScheme instead */
610
609
  auth_scheme: z$1.ZodNativeEnum<{
611
610
  readonly OAUTH1: "OAUTH1";
612
611
  readonly OAUTH2: "OAUTH2";
@@ -622,9 +621,12 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
622
621
  readonly SAML: "SAML";
623
622
  readonly DCR_OAUTH: "DCR_OAUTH";
624
623
  readonly S2S_OAUTH2: "S2S_OAUTH2";
625
- }>; /** Whether this auth config is managed by Composio */
626
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
627
- is_disabled: z$1.ZodBoolean; /** @deprecated */
624
+ }>;
625
+ /** Whether this auth config is managed by Composio */
626
+ is_composio_managed: z$1.ZodBoolean;
627
+ /** Whether the auth config is disabled */
628
+ is_disabled: z$1.ZodBoolean;
629
+ /** @deprecated */
628
630
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
629
631
  uuid: z$1.ZodString;
630
632
  }, "strip", z$1.ZodTypeAny, {
@@ -633,7 +635,9 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
633
635
  uuid: string;
634
636
  }>>;
635
637
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
636
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
638
+ /** The nano ID of the auth config */
639
+ id: z$1.ZodString;
640
+ /** @deprecated - use state.authScheme instead */
637
641
  auth_scheme: z$1.ZodNativeEnum<{
638
642
  readonly OAUTH1: "OAUTH1";
639
643
  readonly OAUTH2: "OAUTH2";
@@ -649,9 +653,12 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
649
653
  readonly SAML: "SAML";
650
654
  readonly DCR_OAUTH: "DCR_OAUTH";
651
655
  readonly S2S_OAUTH2: "S2S_OAUTH2";
652
- }>; /** Whether this auth config is managed by Composio */
653
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
654
- is_disabled: z$1.ZodBoolean; /** @deprecated */
656
+ }>;
657
+ /** Whether this auth config is managed by Composio */
658
+ is_composio_managed: z$1.ZodBoolean;
659
+ /** Whether the auth config is disabled */
660
+ is_disabled: z$1.ZodBoolean;
661
+ /** @deprecated */
655
662
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
656
663
  uuid: z$1.ZodString;
657
664
  }, "strip", z$1.ZodTypeAny, {
@@ -660,7 +667,9 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
660
667
  uuid: string;
661
668
  }>>;
662
669
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
663
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
670
+ /** The nano ID of the auth config */
671
+ id: z$1.ZodString;
672
+ /** @deprecated - use state.authScheme instead */
664
673
  auth_scheme: z$1.ZodNativeEnum<{
665
674
  readonly OAUTH1: "OAUTH1";
666
675
  readonly OAUTH2: "OAUTH2";
@@ -676,9 +685,12 @@ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
676
685
  readonly SAML: "SAML";
677
686
  readonly DCR_OAUTH: "DCR_OAUTH";
678
687
  readonly S2S_OAUTH2: "S2S_OAUTH2";
679
- }>; /** Whether this auth config is managed by Composio */
680
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
681
- is_disabled: z$1.ZodBoolean; /** @deprecated */
688
+ }>;
689
+ /** Whether this auth config is managed by Composio */
690
+ is_composio_managed: z$1.ZodBoolean;
691
+ /** Whether the auth config is disabled */
692
+ is_disabled: z$1.ZodBoolean;
693
+ /** @deprecated */
682
694
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
683
695
  uuid: z$1.ZodString;
684
696
  }, "strip", z$1.ZodTypeAny, {
@@ -703,7 +715,8 @@ type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccoun
703
715
  * @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
704
716
  */
705
717
  declare const WebhookConnectionStateSchema: z$1.ZodObject<{
706
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
718
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
719
+ authScheme: z$1.ZodNativeEnum<{
707
720
  readonly OAUTH1: "OAUTH1";
708
721
  readonly OAUTH2: "OAUTH2";
709
722
  readonly API_KEY: "API_KEY";
@@ -718,10 +731,12 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
718
731
  readonly SAML: "SAML";
719
732
  readonly DCR_OAUTH: "DCR_OAUTH";
720
733
  readonly S2S_OAUTH2: "S2S_OAUTH2";
721
- }>; /** Connection state values - varies by auth scheme */
734
+ }>;
735
+ /** Connection state values - varies by auth scheme */
722
736
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
723
737
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
724
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
738
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
739
+ authScheme: z$1.ZodNativeEnum<{
725
740
  readonly OAUTH1: "OAUTH1";
726
741
  readonly OAUTH2: "OAUTH2";
727
742
  readonly API_KEY: "API_KEY";
@@ -736,10 +751,12 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
736
751
  readonly SAML: "SAML";
737
752
  readonly DCR_OAUTH: "DCR_OAUTH";
738
753
  readonly S2S_OAUTH2: "S2S_OAUTH2";
739
- }>; /** Connection state values - varies by auth scheme */
754
+ }>;
755
+ /** Connection state values - varies by auth scheme */
740
756
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
741
757
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
742
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
758
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
759
+ authScheme: z$1.ZodNativeEnum<{
743
760
  readonly OAUTH1: "OAUTH1";
744
761
  readonly OAUTH2: "OAUTH2";
745
762
  readonly API_KEY: "API_KEY";
@@ -754,7 +771,8 @@ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
754
771
  readonly SAML: "SAML";
755
772
  readonly DCR_OAUTH: "DCR_OAUTH";
756
773
  readonly S2S_OAUTH2: "S2S_OAUTH2";
757
- }>; /** Connection state values - varies by auth scheme */
774
+ }>;
775
+ /** Connection state values - varies by auth scheme */
758
776
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
759
777
  }, z$1.ZodTypeAny, "passthrough">>;
760
778
  type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
@@ -775,15 +793,19 @@ type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
775
793
  * @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
776
794
  */
777
795
  declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
778
- /** Toolkit information */toolkit: z$1.ZodObject<{
796
+ /** Toolkit information */
797
+ toolkit: z$1.ZodObject<{
779
798
  slug: z$1.ZodString;
780
799
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
781
800
  slug: z$1.ZodString;
782
801
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
783
802
  slug: z$1.ZodString;
784
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
803
+ }, z$1.ZodTypeAny, "passthrough">>;
804
+ /** Auth config details */
785
805
  auth_config: z$1.ZodObject<{
786
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
806
+ /** The nano ID of the auth config */
807
+ id: z$1.ZodString;
808
+ /** @deprecated - use state.authScheme instead */
787
809
  auth_scheme: z$1.ZodNativeEnum<{
788
810
  readonly OAUTH1: "OAUTH1";
789
811
  readonly OAUTH2: "OAUTH2";
@@ -799,9 +821,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
799
821
  readonly SAML: "SAML";
800
822
  readonly DCR_OAUTH: "DCR_OAUTH";
801
823
  readonly S2S_OAUTH2: "S2S_OAUTH2";
802
- }>; /** Whether this auth config is managed by Composio */
803
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
804
- is_disabled: z$1.ZodBoolean; /** @deprecated */
824
+ }>;
825
+ /** Whether this auth config is managed by Composio */
826
+ is_composio_managed: z$1.ZodBoolean;
827
+ /** Whether the auth config is disabled */
828
+ is_disabled: z$1.ZodBoolean;
829
+ /** @deprecated */
805
830
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
806
831
  uuid: z$1.ZodString;
807
832
  }, "strip", z$1.ZodTypeAny, {
@@ -810,7 +835,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
810
835
  uuid: string;
811
836
  }>>;
812
837
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
813
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
838
+ /** The nano ID of the auth config */
839
+ id: z$1.ZodString;
840
+ /** @deprecated - use state.authScheme instead */
814
841
  auth_scheme: z$1.ZodNativeEnum<{
815
842
  readonly OAUTH1: "OAUTH1";
816
843
  readonly OAUTH2: "OAUTH2";
@@ -826,9 +853,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
826
853
  readonly SAML: "SAML";
827
854
  readonly DCR_OAUTH: "DCR_OAUTH";
828
855
  readonly S2S_OAUTH2: "S2S_OAUTH2";
829
- }>; /** Whether this auth config is managed by Composio */
830
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
831
- is_disabled: z$1.ZodBoolean; /** @deprecated */
856
+ }>;
857
+ /** Whether this auth config is managed by Composio */
858
+ is_composio_managed: z$1.ZodBoolean;
859
+ /** Whether the auth config is disabled */
860
+ is_disabled: z$1.ZodBoolean;
861
+ /** @deprecated */
832
862
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
833
863
  uuid: z$1.ZodString;
834
864
  }, "strip", z$1.ZodTypeAny, {
@@ -837,7 +867,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
837
867
  uuid: string;
838
868
  }>>;
839
869
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
840
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
870
+ /** The nano ID of the auth config */
871
+ id: z$1.ZodString;
872
+ /** @deprecated - use state.authScheme instead */
841
873
  auth_scheme: z$1.ZodNativeEnum<{
842
874
  readonly OAUTH1: "OAUTH1";
843
875
  readonly OAUTH2: "OAUTH2";
@@ -853,9 +885,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
853
885
  readonly SAML: "SAML";
854
886
  readonly DCR_OAUTH: "DCR_OAUTH";
855
887
  readonly S2S_OAUTH2: "S2S_OAUTH2";
856
- }>; /** Whether this auth config is managed by Composio */
857
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
858
- is_disabled: z$1.ZodBoolean; /** @deprecated */
888
+ }>;
889
+ /** Whether this auth config is managed by Composio */
890
+ is_composio_managed: z$1.ZodBoolean;
891
+ /** Whether the auth config is disabled */
892
+ is_disabled: z$1.ZodBoolean;
893
+ /** @deprecated */
859
894
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
860
895
  uuid: z$1.ZodString;
861
896
  }, "strip", z$1.ZodTypeAny, {
@@ -863,9 +898,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
863
898
  }, {
864
899
  uuid: string;
865
900
  }>>;
866
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
867
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
868
- user_id: z$1.ZodString; /** Connection status */
901
+ }, z$1.ZodTypeAny, "passthrough">>;
902
+ /** The nano ID of the connected account */
903
+ id: z$1.ZodString;
904
+ /** @deprecated - user ID of the connection owner */
905
+ user_id: z$1.ZodString;
906
+ /** Connection status */
869
907
  status: z$1.ZodNativeEnum<{
870
908
  readonly INITIALIZING: "INITIALIZING";
871
909
  readonly INITIATED: "INITIATED";
@@ -874,11 +912,15 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
874
912
  readonly EXPIRED: "EXPIRED";
875
913
  readonly INACTIVE: "INACTIVE";
876
914
  readonly REVOKED: "REVOKED";
877
- }>; /** ISO-8601 timestamp of creation */
878
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
879
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
915
+ }>;
916
+ /** ISO-8601 timestamp of creation */
917
+ created_at: z$1.ZodString;
918
+ /** ISO-8601 timestamp of last update */
919
+ updated_at: z$1.ZodString;
920
+ /** Connection state data (auth scheme + state values) */
880
921
  state: z$1.ZodObject<{
881
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
922
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
923
+ authScheme: z$1.ZodNativeEnum<{
882
924
  readonly OAUTH1: "OAUTH1";
883
925
  readonly OAUTH2: "OAUTH2";
884
926
  readonly API_KEY: "API_KEY";
@@ -893,10 +935,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
893
935
  readonly SAML: "SAML";
894
936
  readonly DCR_OAUTH: "DCR_OAUTH";
895
937
  readonly S2S_OAUTH2: "S2S_OAUTH2";
896
- }>; /** Connection state values - varies by auth scheme */
938
+ }>;
939
+ /** Connection state values - varies by auth scheme */
897
940
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
898
941
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
899
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
942
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
943
+ authScheme: z$1.ZodNativeEnum<{
900
944
  readonly OAUTH1: "OAUTH1";
901
945
  readonly OAUTH2: "OAUTH2";
902
946
  readonly API_KEY: "API_KEY";
@@ -911,10 +955,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
911
955
  readonly SAML: "SAML";
912
956
  readonly DCR_OAUTH: "DCR_OAUTH";
913
957
  readonly S2S_OAUTH2: "S2S_OAUTH2";
914
- }>; /** Connection state values - varies by auth scheme */
958
+ }>;
959
+ /** Connection state values - varies by auth scheme */
915
960
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
916
961
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
917
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
962
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
963
+ authScheme: z$1.ZodNativeEnum<{
918
964
  readonly OAUTH1: "OAUTH1";
919
965
  readonly OAUTH2: "OAUTH2";
920
966
  readonly API_KEY: "API_KEY";
@@ -929,14 +975,21 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
929
975
  readonly SAML: "SAML";
930
976
  readonly DCR_OAUTH: "DCR_OAUTH";
931
977
  readonly S2S_OAUTH2: "S2S_OAUTH2";
932
- }>; /** Connection state values - varies by auth scheme */
978
+ }>;
979
+ /** Connection state values - varies by auth scheme */
933
980
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
934
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
935
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
936
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
937
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
938
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
939
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
981
+ }, z$1.ZodTypeAny, "passthrough">>;
982
+ /** @deprecated - use state instead */
983
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
984
+ /** @deprecated - use state instead */
985
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
986
+ /** Reason for the current status (e.g., expiration reason) */
987
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
988
+ /** Whether the connection is disabled */
989
+ is_disabled: z$1.ZodBoolean;
990
+ /** Endpoint for making test requests */
991
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
992
+ /** @deprecated */
940
993
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
941
994
  labels: z$1.ZodArray<z$1.ZodString, "many">;
942
995
  uuid: z$1.ZodString;
@@ -948,15 +1001,19 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
948
1001
  labels: string[];
949
1002
  }>>;
950
1003
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
951
- /** Toolkit information */toolkit: z$1.ZodObject<{
1004
+ /** Toolkit information */
1005
+ toolkit: z$1.ZodObject<{
952
1006
  slug: z$1.ZodString;
953
1007
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
954
1008
  slug: z$1.ZodString;
955
1009
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
956
1010
  slug: z$1.ZodString;
957
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1011
+ }, z$1.ZodTypeAny, "passthrough">>;
1012
+ /** Auth config details */
958
1013
  auth_config: z$1.ZodObject<{
959
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1014
+ /** The nano ID of the auth config */
1015
+ id: z$1.ZodString;
1016
+ /** @deprecated - use state.authScheme instead */
960
1017
  auth_scheme: z$1.ZodNativeEnum<{
961
1018
  readonly OAUTH1: "OAUTH1";
962
1019
  readonly OAUTH2: "OAUTH2";
@@ -972,9 +1029,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
972
1029
  readonly SAML: "SAML";
973
1030
  readonly DCR_OAUTH: "DCR_OAUTH";
974
1031
  readonly S2S_OAUTH2: "S2S_OAUTH2";
975
- }>; /** Whether this auth config is managed by Composio */
976
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
977
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1032
+ }>;
1033
+ /** Whether this auth config is managed by Composio */
1034
+ is_composio_managed: z$1.ZodBoolean;
1035
+ /** Whether the auth config is disabled */
1036
+ is_disabled: z$1.ZodBoolean;
1037
+ /** @deprecated */
978
1038
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
979
1039
  uuid: z$1.ZodString;
980
1040
  }, "strip", z$1.ZodTypeAny, {
@@ -983,7 +1043,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
983
1043
  uuid: string;
984
1044
  }>>;
985
1045
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
986
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1046
+ /** The nano ID of the auth config */
1047
+ id: z$1.ZodString;
1048
+ /** @deprecated - use state.authScheme instead */
987
1049
  auth_scheme: z$1.ZodNativeEnum<{
988
1050
  readonly OAUTH1: "OAUTH1";
989
1051
  readonly OAUTH2: "OAUTH2";
@@ -999,9 +1061,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
999
1061
  readonly SAML: "SAML";
1000
1062
  readonly DCR_OAUTH: "DCR_OAUTH";
1001
1063
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1002
- }>; /** Whether this auth config is managed by Composio */
1003
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1004
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1064
+ }>;
1065
+ /** Whether this auth config is managed by Composio */
1066
+ is_composio_managed: z$1.ZodBoolean;
1067
+ /** Whether the auth config is disabled */
1068
+ is_disabled: z$1.ZodBoolean;
1069
+ /** @deprecated */
1005
1070
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1006
1071
  uuid: z$1.ZodString;
1007
1072
  }, "strip", z$1.ZodTypeAny, {
@@ -1010,7 +1075,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1010
1075
  uuid: string;
1011
1076
  }>>;
1012
1077
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1013
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1078
+ /** The nano ID of the auth config */
1079
+ id: z$1.ZodString;
1080
+ /** @deprecated - use state.authScheme instead */
1014
1081
  auth_scheme: z$1.ZodNativeEnum<{
1015
1082
  readonly OAUTH1: "OAUTH1";
1016
1083
  readonly OAUTH2: "OAUTH2";
@@ -1026,9 +1093,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1026
1093
  readonly SAML: "SAML";
1027
1094
  readonly DCR_OAUTH: "DCR_OAUTH";
1028
1095
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1029
- }>; /** Whether this auth config is managed by Composio */
1030
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1031
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1096
+ }>;
1097
+ /** Whether this auth config is managed by Composio */
1098
+ is_composio_managed: z$1.ZodBoolean;
1099
+ /** Whether the auth config is disabled */
1100
+ is_disabled: z$1.ZodBoolean;
1101
+ /** @deprecated */
1032
1102
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1033
1103
  uuid: z$1.ZodString;
1034
1104
  }, "strip", z$1.ZodTypeAny, {
@@ -1036,9 +1106,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1036
1106
  }, {
1037
1107
  uuid: string;
1038
1108
  }>>;
1039
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1040
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
1041
- user_id: z$1.ZodString; /** Connection status */
1109
+ }, z$1.ZodTypeAny, "passthrough">>;
1110
+ /** The nano ID of the connected account */
1111
+ id: z$1.ZodString;
1112
+ /** @deprecated - user ID of the connection owner */
1113
+ user_id: z$1.ZodString;
1114
+ /** Connection status */
1042
1115
  status: z$1.ZodNativeEnum<{
1043
1116
  readonly INITIALIZING: "INITIALIZING";
1044
1117
  readonly INITIATED: "INITIATED";
@@ -1047,11 +1120,15 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1047
1120
  readonly EXPIRED: "EXPIRED";
1048
1121
  readonly INACTIVE: "INACTIVE";
1049
1122
  readonly REVOKED: "REVOKED";
1050
- }>; /** ISO-8601 timestamp of creation */
1051
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
1052
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
1123
+ }>;
1124
+ /** ISO-8601 timestamp of creation */
1125
+ created_at: z$1.ZodString;
1126
+ /** ISO-8601 timestamp of last update */
1127
+ updated_at: z$1.ZodString;
1128
+ /** Connection state data (auth scheme + state values) */
1053
1129
  state: z$1.ZodObject<{
1054
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1130
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1131
+ authScheme: z$1.ZodNativeEnum<{
1055
1132
  readonly OAUTH1: "OAUTH1";
1056
1133
  readonly OAUTH2: "OAUTH2";
1057
1134
  readonly API_KEY: "API_KEY";
@@ -1066,10 +1143,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1066
1143
  readonly SAML: "SAML";
1067
1144
  readonly DCR_OAUTH: "DCR_OAUTH";
1068
1145
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1069
- }>; /** Connection state values - varies by auth scheme */
1146
+ }>;
1147
+ /** Connection state values - varies by auth scheme */
1070
1148
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1071
1149
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1072
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1150
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1151
+ authScheme: z$1.ZodNativeEnum<{
1073
1152
  readonly OAUTH1: "OAUTH1";
1074
1153
  readonly OAUTH2: "OAUTH2";
1075
1154
  readonly API_KEY: "API_KEY";
@@ -1084,10 +1163,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1084
1163
  readonly SAML: "SAML";
1085
1164
  readonly DCR_OAUTH: "DCR_OAUTH";
1086
1165
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1087
- }>; /** Connection state values - varies by auth scheme */
1166
+ }>;
1167
+ /** Connection state values - varies by auth scheme */
1088
1168
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1089
1169
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1090
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1170
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1171
+ authScheme: z$1.ZodNativeEnum<{
1091
1172
  readonly OAUTH1: "OAUTH1";
1092
1173
  readonly OAUTH2: "OAUTH2";
1093
1174
  readonly API_KEY: "API_KEY";
@@ -1102,14 +1183,21 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1102
1183
  readonly SAML: "SAML";
1103
1184
  readonly DCR_OAUTH: "DCR_OAUTH";
1104
1185
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1105
- }>; /** Connection state values - varies by auth scheme */
1186
+ }>;
1187
+ /** Connection state values - varies by auth scheme */
1106
1188
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1107
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1108
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
1109
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1110
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
1111
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
1112
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
1189
+ }, z$1.ZodTypeAny, "passthrough">>;
1190
+ /** @deprecated - use state instead */
1191
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1192
+ /** @deprecated - use state instead */
1193
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1194
+ /** Reason for the current status (e.g., expiration reason) */
1195
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1196
+ /** Whether the connection is disabled */
1197
+ is_disabled: z$1.ZodBoolean;
1198
+ /** Endpoint for making test requests */
1199
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1200
+ /** @deprecated */
1113
1201
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1114
1202
  labels: z$1.ZodArray<z$1.ZodString, "many">;
1115
1203
  uuid: z$1.ZodString;
@@ -1121,15 +1209,19 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1121
1209
  labels: string[];
1122
1210
  }>>;
1123
1211
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1124
- /** Toolkit information */toolkit: z$1.ZodObject<{
1212
+ /** Toolkit information */
1213
+ toolkit: z$1.ZodObject<{
1125
1214
  slug: z$1.ZodString;
1126
1215
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1127
1216
  slug: z$1.ZodString;
1128
1217
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1129
1218
  slug: z$1.ZodString;
1130
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1219
+ }, z$1.ZodTypeAny, "passthrough">>;
1220
+ /** Auth config details */
1131
1221
  auth_config: z$1.ZodObject<{
1132
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1222
+ /** The nano ID of the auth config */
1223
+ id: z$1.ZodString;
1224
+ /** @deprecated - use state.authScheme instead */
1133
1225
  auth_scheme: z$1.ZodNativeEnum<{
1134
1226
  readonly OAUTH1: "OAUTH1";
1135
1227
  readonly OAUTH2: "OAUTH2";
@@ -1145,9 +1237,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1145
1237
  readonly SAML: "SAML";
1146
1238
  readonly DCR_OAUTH: "DCR_OAUTH";
1147
1239
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1148
- }>; /** Whether this auth config is managed by Composio */
1149
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1150
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1240
+ }>;
1241
+ /** Whether this auth config is managed by Composio */
1242
+ is_composio_managed: z$1.ZodBoolean;
1243
+ /** Whether the auth config is disabled */
1244
+ is_disabled: z$1.ZodBoolean;
1245
+ /** @deprecated */
1151
1246
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1152
1247
  uuid: z$1.ZodString;
1153
1248
  }, "strip", z$1.ZodTypeAny, {
@@ -1156,7 +1251,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1156
1251
  uuid: string;
1157
1252
  }>>;
1158
1253
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1159
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1254
+ /** The nano ID of the auth config */
1255
+ id: z$1.ZodString;
1256
+ /** @deprecated - use state.authScheme instead */
1160
1257
  auth_scheme: z$1.ZodNativeEnum<{
1161
1258
  readonly OAUTH1: "OAUTH1";
1162
1259
  readonly OAUTH2: "OAUTH2";
@@ -1172,9 +1269,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1172
1269
  readonly SAML: "SAML";
1173
1270
  readonly DCR_OAUTH: "DCR_OAUTH";
1174
1271
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1175
- }>; /** Whether this auth config is managed by Composio */
1176
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1177
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1272
+ }>;
1273
+ /** Whether this auth config is managed by Composio */
1274
+ is_composio_managed: z$1.ZodBoolean;
1275
+ /** Whether the auth config is disabled */
1276
+ is_disabled: z$1.ZodBoolean;
1277
+ /** @deprecated */
1178
1278
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1179
1279
  uuid: z$1.ZodString;
1180
1280
  }, "strip", z$1.ZodTypeAny, {
@@ -1183,7 +1283,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1183
1283
  uuid: string;
1184
1284
  }>>;
1185
1285
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1186
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1286
+ /** The nano ID of the auth config */
1287
+ id: z$1.ZodString;
1288
+ /** @deprecated - use state.authScheme instead */
1187
1289
  auth_scheme: z$1.ZodNativeEnum<{
1188
1290
  readonly OAUTH1: "OAUTH1";
1189
1291
  readonly OAUTH2: "OAUTH2";
@@ -1199,9 +1301,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1199
1301
  readonly SAML: "SAML";
1200
1302
  readonly DCR_OAUTH: "DCR_OAUTH";
1201
1303
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1202
- }>; /** Whether this auth config is managed by Composio */
1203
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1204
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1304
+ }>;
1305
+ /** Whether this auth config is managed by Composio */
1306
+ is_composio_managed: z$1.ZodBoolean;
1307
+ /** Whether the auth config is disabled */
1308
+ is_disabled: z$1.ZodBoolean;
1309
+ /** @deprecated */
1205
1310
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1206
1311
  uuid: z$1.ZodString;
1207
1312
  }, "strip", z$1.ZodTypeAny, {
@@ -1209,9 +1314,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1209
1314
  }, {
1210
1315
  uuid: string;
1211
1316
  }>>;
1212
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1213
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
1214
- user_id: z$1.ZodString; /** Connection status */
1317
+ }, z$1.ZodTypeAny, "passthrough">>;
1318
+ /** The nano ID of the connected account */
1319
+ id: z$1.ZodString;
1320
+ /** @deprecated - user ID of the connection owner */
1321
+ user_id: z$1.ZodString;
1322
+ /** Connection status */
1215
1323
  status: z$1.ZodNativeEnum<{
1216
1324
  readonly INITIALIZING: "INITIALIZING";
1217
1325
  readonly INITIATED: "INITIATED";
@@ -1220,11 +1328,15 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1220
1328
  readonly EXPIRED: "EXPIRED";
1221
1329
  readonly INACTIVE: "INACTIVE";
1222
1330
  readonly REVOKED: "REVOKED";
1223
- }>; /** ISO-8601 timestamp of creation */
1224
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
1225
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
1331
+ }>;
1332
+ /** ISO-8601 timestamp of creation */
1333
+ created_at: z$1.ZodString;
1334
+ /** ISO-8601 timestamp of last update */
1335
+ updated_at: z$1.ZodString;
1336
+ /** Connection state data (auth scheme + state values) */
1226
1337
  state: z$1.ZodObject<{
1227
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1338
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1339
+ authScheme: z$1.ZodNativeEnum<{
1228
1340
  readonly OAUTH1: "OAUTH1";
1229
1341
  readonly OAUTH2: "OAUTH2";
1230
1342
  readonly API_KEY: "API_KEY";
@@ -1239,10 +1351,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1239
1351
  readonly SAML: "SAML";
1240
1352
  readonly DCR_OAUTH: "DCR_OAUTH";
1241
1353
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1242
- }>; /** Connection state values - varies by auth scheme */
1354
+ }>;
1355
+ /** Connection state values - varies by auth scheme */
1243
1356
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1244
1357
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1245
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1358
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1359
+ authScheme: z$1.ZodNativeEnum<{
1246
1360
  readonly OAUTH1: "OAUTH1";
1247
1361
  readonly OAUTH2: "OAUTH2";
1248
1362
  readonly API_KEY: "API_KEY";
@@ -1257,10 +1371,12 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1257
1371
  readonly SAML: "SAML";
1258
1372
  readonly DCR_OAUTH: "DCR_OAUTH";
1259
1373
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1260
- }>; /** Connection state values - varies by auth scheme */
1374
+ }>;
1375
+ /** Connection state values - varies by auth scheme */
1261
1376
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1262
1377
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1263
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1378
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1379
+ authScheme: z$1.ZodNativeEnum<{
1264
1380
  readonly OAUTH1: "OAUTH1";
1265
1381
  readonly OAUTH2: "OAUTH2";
1266
1382
  readonly API_KEY: "API_KEY";
@@ -1275,14 +1391,21 @@ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
1275
1391
  readonly SAML: "SAML";
1276
1392
  readonly DCR_OAUTH: "DCR_OAUTH";
1277
1393
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1278
- }>; /** Connection state values - varies by auth scheme */
1394
+ }>;
1395
+ /** Connection state values - varies by auth scheme */
1279
1396
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1280
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1281
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
1282
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1283
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
1284
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
1285
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
1397
+ }, z$1.ZodTypeAny, "passthrough">>;
1398
+ /** @deprecated - use state instead */
1399
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1400
+ /** @deprecated - use state instead */
1401
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1402
+ /** Reason for the current status (e.g., expiration reason) */
1403
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1404
+ /** Whether the connection is disabled */
1405
+ is_disabled: z$1.ZodBoolean;
1406
+ /** Endpoint for making test requests */
1407
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1408
+ /** @deprecated */
1286
1409
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1287
1410
  labels: z$1.ZodArray<z$1.ZodString, "many">;
1288
1411
  uuid: z$1.ZodString;
@@ -1302,13 +1425,19 @@ type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAc
1302
1425
  * Uses .passthrough() to accept unknown fields the API may add in the future.
1303
1426
  */
1304
1427
  declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
1305
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1428
+ /** Project nano ID */
1429
+ project_id: z$1.ZodString;
1430
+ /** Organization UUID */
1306
1431
  org_id: z$1.ZodString;
1307
1432
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1308
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1433
+ /** Project nano ID */
1434
+ project_id: z$1.ZodString;
1435
+ /** Organization UUID */
1309
1436
  org_id: z$1.ZodString;
1310
1437
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1311
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1438
+ /** Project nano ID */
1439
+ project_id: z$1.ZodString;
1440
+ /** Organization UUID */
1312
1441
  org_id: z$1.ZodString;
1313
1442
  }, z$1.ZodTypeAny, "passthrough">>;
1314
1443
  type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
@@ -1333,19 +1462,27 @@ type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchem
1333
1462
  * ```
1334
1463
  */
1335
1464
  declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1336
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z$1.ZodString; /** ISO-8601 timestamp of when the event was emitted */
1337
- timestamp: z$1.ZodString; /** Event type identifier */
1338
- type: z$1.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
1465
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
1466
+ id: z$1.ZodString;
1467
+ /** ISO-8601 timestamp of when the event was emitted */
1468
+ timestamp: z$1.ZodString;
1469
+ /** Event type identifier */
1470
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
1471
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
1339
1472
  data: z$1.ZodObject<{
1340
- /** Toolkit information */toolkit: z$1.ZodObject<{
1473
+ /** Toolkit information */
1474
+ toolkit: z$1.ZodObject<{
1341
1475
  slug: z$1.ZodString;
1342
1476
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1343
1477
  slug: z$1.ZodString;
1344
1478
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1345
1479
  slug: z$1.ZodString;
1346
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1480
+ }, z$1.ZodTypeAny, "passthrough">>;
1481
+ /** Auth config details */
1347
1482
  auth_config: z$1.ZodObject<{
1348
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1483
+ /** The nano ID of the auth config */
1484
+ id: z$1.ZodString;
1485
+ /** @deprecated - use state.authScheme instead */
1349
1486
  auth_scheme: z$1.ZodNativeEnum<{
1350
1487
  readonly OAUTH1: "OAUTH1";
1351
1488
  readonly OAUTH2: "OAUTH2";
@@ -1361,9 +1498,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1361
1498
  readonly SAML: "SAML";
1362
1499
  readonly DCR_OAUTH: "DCR_OAUTH";
1363
1500
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1364
- }>; /** Whether this auth config is managed by Composio */
1365
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1366
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1501
+ }>;
1502
+ /** Whether this auth config is managed by Composio */
1503
+ is_composio_managed: z$1.ZodBoolean;
1504
+ /** Whether the auth config is disabled */
1505
+ is_disabled: z$1.ZodBoolean;
1506
+ /** @deprecated */
1367
1507
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1368
1508
  uuid: z$1.ZodString;
1369
1509
  }, "strip", z$1.ZodTypeAny, {
@@ -1372,7 +1512,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1372
1512
  uuid: string;
1373
1513
  }>>;
1374
1514
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1375
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1515
+ /** The nano ID of the auth config */
1516
+ id: z$1.ZodString;
1517
+ /** @deprecated - use state.authScheme instead */
1376
1518
  auth_scheme: z$1.ZodNativeEnum<{
1377
1519
  readonly OAUTH1: "OAUTH1";
1378
1520
  readonly OAUTH2: "OAUTH2";
@@ -1388,9 +1530,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1388
1530
  readonly SAML: "SAML";
1389
1531
  readonly DCR_OAUTH: "DCR_OAUTH";
1390
1532
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1391
- }>; /** Whether this auth config is managed by Composio */
1392
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1393
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1533
+ }>;
1534
+ /** Whether this auth config is managed by Composio */
1535
+ is_composio_managed: z$1.ZodBoolean;
1536
+ /** Whether the auth config is disabled */
1537
+ is_disabled: z$1.ZodBoolean;
1538
+ /** @deprecated */
1394
1539
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1395
1540
  uuid: z$1.ZodString;
1396
1541
  }, "strip", z$1.ZodTypeAny, {
@@ -1399,7 +1544,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1399
1544
  uuid: string;
1400
1545
  }>>;
1401
1546
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1402
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1547
+ /** The nano ID of the auth config */
1548
+ id: z$1.ZodString;
1549
+ /** @deprecated - use state.authScheme instead */
1403
1550
  auth_scheme: z$1.ZodNativeEnum<{
1404
1551
  readonly OAUTH1: "OAUTH1";
1405
1552
  readonly OAUTH2: "OAUTH2";
@@ -1415,9 +1562,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1415
1562
  readonly SAML: "SAML";
1416
1563
  readonly DCR_OAUTH: "DCR_OAUTH";
1417
1564
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1418
- }>; /** Whether this auth config is managed by Composio */
1419
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1420
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1565
+ }>;
1566
+ /** Whether this auth config is managed by Composio */
1567
+ is_composio_managed: z$1.ZodBoolean;
1568
+ /** Whether the auth config is disabled */
1569
+ is_disabled: z$1.ZodBoolean;
1570
+ /** @deprecated */
1421
1571
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1422
1572
  uuid: z$1.ZodString;
1423
1573
  }, "strip", z$1.ZodTypeAny, {
@@ -1425,9 +1575,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1425
1575
  }, {
1426
1576
  uuid: string;
1427
1577
  }>>;
1428
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1429
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
1430
- user_id: z$1.ZodString; /** Connection status */
1578
+ }, z$1.ZodTypeAny, "passthrough">>;
1579
+ /** The nano ID of the connected account */
1580
+ id: z$1.ZodString;
1581
+ /** @deprecated - user ID of the connection owner */
1582
+ user_id: z$1.ZodString;
1583
+ /** Connection status */
1431
1584
  status: z$1.ZodNativeEnum<{
1432
1585
  readonly INITIALIZING: "INITIALIZING";
1433
1586
  readonly INITIATED: "INITIATED";
@@ -1436,11 +1589,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1436
1589
  readonly EXPIRED: "EXPIRED";
1437
1590
  readonly INACTIVE: "INACTIVE";
1438
1591
  readonly REVOKED: "REVOKED";
1439
- }>; /** ISO-8601 timestamp of creation */
1440
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
1441
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
1592
+ }>;
1593
+ /** ISO-8601 timestamp of creation */
1594
+ created_at: z$1.ZodString;
1595
+ /** ISO-8601 timestamp of last update */
1596
+ updated_at: z$1.ZodString;
1597
+ /** Connection state data (auth scheme + state values) */
1442
1598
  state: z$1.ZodObject<{
1443
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1599
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1600
+ authScheme: z$1.ZodNativeEnum<{
1444
1601
  readonly OAUTH1: "OAUTH1";
1445
1602
  readonly OAUTH2: "OAUTH2";
1446
1603
  readonly API_KEY: "API_KEY";
@@ -1455,10 +1612,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1455
1612
  readonly SAML: "SAML";
1456
1613
  readonly DCR_OAUTH: "DCR_OAUTH";
1457
1614
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1458
- }>; /** Connection state values - varies by auth scheme */
1615
+ }>;
1616
+ /** Connection state values - varies by auth scheme */
1459
1617
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1460
1618
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1461
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1619
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1620
+ authScheme: z$1.ZodNativeEnum<{
1462
1621
  readonly OAUTH1: "OAUTH1";
1463
1622
  readonly OAUTH2: "OAUTH2";
1464
1623
  readonly API_KEY: "API_KEY";
@@ -1473,10 +1632,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1473
1632
  readonly SAML: "SAML";
1474
1633
  readonly DCR_OAUTH: "DCR_OAUTH";
1475
1634
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1476
- }>; /** Connection state values - varies by auth scheme */
1635
+ }>;
1636
+ /** Connection state values - varies by auth scheme */
1477
1637
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1478
1638
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1479
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1639
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1640
+ authScheme: z$1.ZodNativeEnum<{
1480
1641
  readonly OAUTH1: "OAUTH1";
1481
1642
  readonly OAUTH2: "OAUTH2";
1482
1643
  readonly API_KEY: "API_KEY";
@@ -1491,14 +1652,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1491
1652
  readonly SAML: "SAML";
1492
1653
  readonly DCR_OAUTH: "DCR_OAUTH";
1493
1654
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1494
- }>; /** Connection state values - varies by auth scheme */
1655
+ }>;
1656
+ /** Connection state values - varies by auth scheme */
1495
1657
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1496
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1497
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
1498
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1499
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
1500
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
1501
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
1658
+ }, z$1.ZodTypeAny, "passthrough">>;
1659
+ /** @deprecated - use state instead */
1660
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1661
+ /** @deprecated - use state instead */
1662
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1663
+ /** Reason for the current status (e.g., expiration reason) */
1664
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1665
+ /** Whether the connection is disabled */
1666
+ is_disabled: z$1.ZodBoolean;
1667
+ /** Endpoint for making test requests */
1668
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1669
+ /** @deprecated */
1502
1670
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1503
1671
  labels: z$1.ZodArray<z$1.ZodString, "many">;
1504
1672
  uuid: z$1.ZodString;
@@ -1510,15 +1678,19 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1510
1678
  labels: string[];
1511
1679
  }>>;
1512
1680
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1513
- /** Toolkit information */toolkit: z$1.ZodObject<{
1681
+ /** Toolkit information */
1682
+ toolkit: z$1.ZodObject<{
1514
1683
  slug: z$1.ZodString;
1515
1684
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1516
1685
  slug: z$1.ZodString;
1517
1686
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1518
1687
  slug: z$1.ZodString;
1519
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1688
+ }, z$1.ZodTypeAny, "passthrough">>;
1689
+ /** Auth config details */
1520
1690
  auth_config: z$1.ZodObject<{
1521
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1691
+ /** The nano ID of the auth config */
1692
+ id: z$1.ZodString;
1693
+ /** @deprecated - use state.authScheme instead */
1522
1694
  auth_scheme: z$1.ZodNativeEnum<{
1523
1695
  readonly OAUTH1: "OAUTH1";
1524
1696
  readonly OAUTH2: "OAUTH2";
@@ -1534,9 +1706,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1534
1706
  readonly SAML: "SAML";
1535
1707
  readonly DCR_OAUTH: "DCR_OAUTH";
1536
1708
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1537
- }>; /** Whether this auth config is managed by Composio */
1538
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1539
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1709
+ }>;
1710
+ /** Whether this auth config is managed by Composio */
1711
+ is_composio_managed: z$1.ZodBoolean;
1712
+ /** Whether the auth config is disabled */
1713
+ is_disabled: z$1.ZodBoolean;
1714
+ /** @deprecated */
1540
1715
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1541
1716
  uuid: z$1.ZodString;
1542
1717
  }, "strip", z$1.ZodTypeAny, {
@@ -1545,7 +1720,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1545
1720
  uuid: string;
1546
1721
  }>>;
1547
1722
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1548
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1723
+ /** The nano ID of the auth config */
1724
+ id: z$1.ZodString;
1725
+ /** @deprecated - use state.authScheme instead */
1549
1726
  auth_scheme: z$1.ZodNativeEnum<{
1550
1727
  readonly OAUTH1: "OAUTH1";
1551
1728
  readonly OAUTH2: "OAUTH2";
@@ -1561,9 +1738,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1561
1738
  readonly SAML: "SAML";
1562
1739
  readonly DCR_OAUTH: "DCR_OAUTH";
1563
1740
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1564
- }>; /** Whether this auth config is managed by Composio */
1565
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1566
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1741
+ }>;
1742
+ /** Whether this auth config is managed by Composio */
1743
+ is_composio_managed: z$1.ZodBoolean;
1744
+ /** Whether the auth config is disabled */
1745
+ is_disabled: z$1.ZodBoolean;
1746
+ /** @deprecated */
1567
1747
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1568
1748
  uuid: z$1.ZodString;
1569
1749
  }, "strip", z$1.ZodTypeAny, {
@@ -1572,7 +1752,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1572
1752
  uuid: string;
1573
1753
  }>>;
1574
1754
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1575
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1755
+ /** The nano ID of the auth config */
1756
+ id: z$1.ZodString;
1757
+ /** @deprecated - use state.authScheme instead */
1576
1758
  auth_scheme: z$1.ZodNativeEnum<{
1577
1759
  readonly OAUTH1: "OAUTH1";
1578
1760
  readonly OAUTH2: "OAUTH2";
@@ -1588,9 +1770,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1588
1770
  readonly SAML: "SAML";
1589
1771
  readonly DCR_OAUTH: "DCR_OAUTH";
1590
1772
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1591
- }>; /** Whether this auth config is managed by Composio */
1592
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1593
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1773
+ }>;
1774
+ /** Whether this auth config is managed by Composio */
1775
+ is_composio_managed: z$1.ZodBoolean;
1776
+ /** Whether the auth config is disabled */
1777
+ is_disabled: z$1.ZodBoolean;
1778
+ /** @deprecated */
1594
1779
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1595
1780
  uuid: z$1.ZodString;
1596
1781
  }, "strip", z$1.ZodTypeAny, {
@@ -1598,9 +1783,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1598
1783
  }, {
1599
1784
  uuid: string;
1600
1785
  }>>;
1601
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1602
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
1603
- user_id: z$1.ZodString; /** Connection status */
1786
+ }, z$1.ZodTypeAny, "passthrough">>;
1787
+ /** The nano ID of the connected account */
1788
+ id: z$1.ZodString;
1789
+ /** @deprecated - user ID of the connection owner */
1790
+ user_id: z$1.ZodString;
1791
+ /** Connection status */
1604
1792
  status: z$1.ZodNativeEnum<{
1605
1793
  readonly INITIALIZING: "INITIALIZING";
1606
1794
  readonly INITIATED: "INITIATED";
@@ -1609,11 +1797,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1609
1797
  readonly EXPIRED: "EXPIRED";
1610
1798
  readonly INACTIVE: "INACTIVE";
1611
1799
  readonly REVOKED: "REVOKED";
1612
- }>; /** ISO-8601 timestamp of creation */
1613
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
1614
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
1800
+ }>;
1801
+ /** ISO-8601 timestamp of creation */
1802
+ created_at: z$1.ZodString;
1803
+ /** ISO-8601 timestamp of last update */
1804
+ updated_at: z$1.ZodString;
1805
+ /** Connection state data (auth scheme + state values) */
1615
1806
  state: z$1.ZodObject<{
1616
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1807
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1808
+ authScheme: z$1.ZodNativeEnum<{
1617
1809
  readonly OAUTH1: "OAUTH1";
1618
1810
  readonly OAUTH2: "OAUTH2";
1619
1811
  readonly API_KEY: "API_KEY";
@@ -1628,10 +1820,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1628
1820
  readonly SAML: "SAML";
1629
1821
  readonly DCR_OAUTH: "DCR_OAUTH";
1630
1822
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1631
- }>; /** Connection state values - varies by auth scheme */
1823
+ }>;
1824
+ /** Connection state values - varies by auth scheme */
1632
1825
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1633
1826
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1634
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1827
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1828
+ authScheme: z$1.ZodNativeEnum<{
1635
1829
  readonly OAUTH1: "OAUTH1";
1636
1830
  readonly OAUTH2: "OAUTH2";
1637
1831
  readonly API_KEY: "API_KEY";
@@ -1646,10 +1840,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1646
1840
  readonly SAML: "SAML";
1647
1841
  readonly DCR_OAUTH: "DCR_OAUTH";
1648
1842
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1649
- }>; /** Connection state values - varies by auth scheme */
1843
+ }>;
1844
+ /** Connection state values - varies by auth scheme */
1650
1845
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1651
1846
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1652
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1847
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
1848
+ authScheme: z$1.ZodNativeEnum<{
1653
1849
  readonly OAUTH1: "OAUTH1";
1654
1850
  readonly OAUTH2: "OAUTH2";
1655
1851
  readonly API_KEY: "API_KEY";
@@ -1664,14 +1860,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1664
1860
  readonly SAML: "SAML";
1665
1861
  readonly DCR_OAUTH: "DCR_OAUTH";
1666
1862
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1667
- }>; /** Connection state values - varies by auth scheme */
1863
+ }>;
1864
+ /** Connection state values - varies by auth scheme */
1668
1865
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1669
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1670
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
1671
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1672
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
1673
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
1674
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
1866
+ }, z$1.ZodTypeAny, "passthrough">>;
1867
+ /** @deprecated - use state instead */
1868
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1869
+ /** @deprecated - use state instead */
1870
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1871
+ /** Reason for the current status (e.g., expiration reason) */
1872
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
1873
+ /** Whether the connection is disabled */
1874
+ is_disabled: z$1.ZodBoolean;
1875
+ /** Endpoint for making test requests */
1876
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
1877
+ /** @deprecated */
1675
1878
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1676
1879
  labels: z$1.ZodArray<z$1.ZodString, "many">;
1677
1880
  uuid: z$1.ZodString;
@@ -1683,15 +1886,19 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1683
1886
  labels: string[];
1684
1887
  }>>;
1685
1888
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1686
- /** Toolkit information */toolkit: z$1.ZodObject<{
1889
+ /** Toolkit information */
1890
+ toolkit: z$1.ZodObject<{
1687
1891
  slug: z$1.ZodString;
1688
1892
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1689
1893
  slug: z$1.ZodString;
1690
1894
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1691
1895
  slug: z$1.ZodString;
1692
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1896
+ }, z$1.ZodTypeAny, "passthrough">>;
1897
+ /** Auth config details */
1693
1898
  auth_config: z$1.ZodObject<{
1694
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1899
+ /** The nano ID of the auth config */
1900
+ id: z$1.ZodString;
1901
+ /** @deprecated - use state.authScheme instead */
1695
1902
  auth_scheme: z$1.ZodNativeEnum<{
1696
1903
  readonly OAUTH1: "OAUTH1";
1697
1904
  readonly OAUTH2: "OAUTH2";
@@ -1707,9 +1914,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1707
1914
  readonly SAML: "SAML";
1708
1915
  readonly DCR_OAUTH: "DCR_OAUTH";
1709
1916
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1710
- }>; /** Whether this auth config is managed by Composio */
1711
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1712
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1917
+ }>;
1918
+ /** Whether this auth config is managed by Composio */
1919
+ is_composio_managed: z$1.ZodBoolean;
1920
+ /** Whether the auth config is disabled */
1921
+ is_disabled: z$1.ZodBoolean;
1922
+ /** @deprecated */
1713
1923
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1714
1924
  uuid: z$1.ZodString;
1715
1925
  }, "strip", z$1.ZodTypeAny, {
@@ -1718,7 +1928,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1718
1928
  uuid: string;
1719
1929
  }>>;
1720
1930
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1721
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1931
+ /** The nano ID of the auth config */
1932
+ id: z$1.ZodString;
1933
+ /** @deprecated - use state.authScheme instead */
1722
1934
  auth_scheme: z$1.ZodNativeEnum<{
1723
1935
  readonly OAUTH1: "OAUTH1";
1724
1936
  readonly OAUTH2: "OAUTH2";
@@ -1734,9 +1946,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1734
1946
  readonly SAML: "SAML";
1735
1947
  readonly DCR_OAUTH: "DCR_OAUTH";
1736
1948
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1737
- }>; /** Whether this auth config is managed by Composio */
1738
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1739
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1949
+ }>;
1950
+ /** Whether this auth config is managed by Composio */
1951
+ is_composio_managed: z$1.ZodBoolean;
1952
+ /** Whether the auth config is disabled */
1953
+ is_disabled: z$1.ZodBoolean;
1954
+ /** @deprecated */
1740
1955
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1741
1956
  uuid: z$1.ZodString;
1742
1957
  }, "strip", z$1.ZodTypeAny, {
@@ -1745,7 +1960,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1745
1960
  uuid: string;
1746
1961
  }>>;
1747
1962
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1748
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1963
+ /** The nano ID of the auth config */
1964
+ id: z$1.ZodString;
1965
+ /** @deprecated - use state.authScheme instead */
1749
1966
  auth_scheme: z$1.ZodNativeEnum<{
1750
1967
  readonly OAUTH1: "OAUTH1";
1751
1968
  readonly OAUTH2: "OAUTH2";
@@ -1761,9 +1978,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1761
1978
  readonly SAML: "SAML";
1762
1979
  readonly DCR_OAUTH: "DCR_OAUTH";
1763
1980
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1764
- }>; /** Whether this auth config is managed by Composio */
1765
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1766
- is_disabled: z$1.ZodBoolean; /** @deprecated */
1981
+ }>;
1982
+ /** Whether this auth config is managed by Composio */
1983
+ is_composio_managed: z$1.ZodBoolean;
1984
+ /** Whether the auth config is disabled */
1985
+ is_disabled: z$1.ZodBoolean;
1986
+ /** @deprecated */
1767
1987
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1768
1988
  uuid: z$1.ZodString;
1769
1989
  }, "strip", z$1.ZodTypeAny, {
@@ -1771,9 +1991,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1771
1991
  }, {
1772
1992
  uuid: string;
1773
1993
  }>>;
1774
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1775
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
1776
- user_id: z$1.ZodString; /** Connection status */
1994
+ }, z$1.ZodTypeAny, "passthrough">>;
1995
+ /** The nano ID of the connected account */
1996
+ id: z$1.ZodString;
1997
+ /** @deprecated - user ID of the connection owner */
1998
+ user_id: z$1.ZodString;
1999
+ /** Connection status */
1777
2000
  status: z$1.ZodNativeEnum<{
1778
2001
  readonly INITIALIZING: "INITIALIZING";
1779
2002
  readonly INITIATED: "INITIATED";
@@ -1782,11 +2005,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1782
2005
  readonly EXPIRED: "EXPIRED";
1783
2006
  readonly INACTIVE: "INACTIVE";
1784
2007
  readonly REVOKED: "REVOKED";
1785
- }>; /** ISO-8601 timestamp of creation */
1786
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
1787
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
2008
+ }>;
2009
+ /** ISO-8601 timestamp of creation */
2010
+ created_at: z$1.ZodString;
2011
+ /** ISO-8601 timestamp of last update */
2012
+ updated_at: z$1.ZodString;
2013
+ /** Connection state data (auth scheme + state values) */
1788
2014
  state: z$1.ZodObject<{
1789
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2015
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2016
+ authScheme: z$1.ZodNativeEnum<{
1790
2017
  readonly OAUTH1: "OAUTH1";
1791
2018
  readonly OAUTH2: "OAUTH2";
1792
2019
  readonly API_KEY: "API_KEY";
@@ -1801,10 +2028,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1801
2028
  readonly SAML: "SAML";
1802
2029
  readonly DCR_OAUTH: "DCR_OAUTH";
1803
2030
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1804
- }>; /** Connection state values - varies by auth scheme */
2031
+ }>;
2032
+ /** Connection state values - varies by auth scheme */
1805
2033
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1806
2034
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1807
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2035
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2036
+ authScheme: z$1.ZodNativeEnum<{
1808
2037
  readonly OAUTH1: "OAUTH1";
1809
2038
  readonly OAUTH2: "OAUTH2";
1810
2039
  readonly API_KEY: "API_KEY";
@@ -1819,10 +2048,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1819
2048
  readonly SAML: "SAML";
1820
2049
  readonly DCR_OAUTH: "DCR_OAUTH";
1821
2050
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1822
- }>; /** Connection state values - varies by auth scheme */
2051
+ }>;
2052
+ /** Connection state values - varies by auth scheme */
1823
2053
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1824
2054
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1825
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2055
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2056
+ authScheme: z$1.ZodNativeEnum<{
1826
2057
  readonly OAUTH1: "OAUTH1";
1827
2058
  readonly OAUTH2: "OAUTH2";
1828
2059
  readonly API_KEY: "API_KEY";
@@ -1837,14 +2068,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1837
2068
  readonly SAML: "SAML";
1838
2069
  readonly DCR_OAUTH: "DCR_OAUTH";
1839
2070
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1840
- }>; /** Connection state values - varies by auth scheme */
2071
+ }>;
2072
+ /** Connection state values - varies by auth scheme */
1841
2073
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1842
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1843
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
1844
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1845
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
1846
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
1847
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
2074
+ }, z$1.ZodTypeAny, "passthrough">>;
2075
+ /** @deprecated - use state instead */
2076
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2077
+ /** @deprecated - use state instead */
2078
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2079
+ /** Reason for the current status (e.g., expiration reason) */
2080
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2081
+ /** Whether the connection is disabled */
2082
+ is_disabled: z$1.ZodBoolean;
2083
+ /** Endpoint for making test requests */
2084
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2085
+ /** @deprecated */
1848
2086
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1849
2087
  labels: z$1.ZodArray<z$1.ZodString, "many">;
1850
2088
  uuid: z$1.ZodString;
@@ -1855,31 +2093,46 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1855
2093
  uuid: string;
1856
2094
  labels: string[];
1857
2095
  }>>;
1858
- }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
2096
+ }, z$1.ZodTypeAny, "passthrough">>;
2097
+ /** Event metadata */
1859
2098
  metadata: z$1.ZodObject<{
1860
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2099
+ /** Project nano ID */
2100
+ project_id: z$1.ZodString;
2101
+ /** Organization UUID */
1861
2102
  org_id: z$1.ZodString;
1862
2103
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1863
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2104
+ /** Project nano ID */
2105
+ project_id: z$1.ZodString;
2106
+ /** Organization UUID */
1864
2107
  org_id: z$1.ZodString;
1865
2108
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1866
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2109
+ /** Project nano ID */
2110
+ project_id: z$1.ZodString;
2111
+ /** Organization UUID */
1867
2112
  org_id: z$1.ZodString;
1868
2113
  }, z$1.ZodTypeAny, "passthrough">>;
1869
2114
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1870
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z$1.ZodString; /** ISO-8601 timestamp of when the event was emitted */
1871
- timestamp: z$1.ZodString; /** Event type identifier */
1872
- type: z$1.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
2115
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
2116
+ id: z$1.ZodString;
2117
+ /** ISO-8601 timestamp of when the event was emitted */
2118
+ timestamp: z$1.ZodString;
2119
+ /** Event type identifier */
2120
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
2121
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
1873
2122
  data: z$1.ZodObject<{
1874
- /** Toolkit information */toolkit: z$1.ZodObject<{
2123
+ /** Toolkit information */
2124
+ toolkit: z$1.ZodObject<{
1875
2125
  slug: z$1.ZodString;
1876
2126
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1877
2127
  slug: z$1.ZodString;
1878
2128
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1879
2129
  slug: z$1.ZodString;
1880
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2130
+ }, z$1.ZodTypeAny, "passthrough">>;
2131
+ /** Auth config details */
1881
2132
  auth_config: z$1.ZodObject<{
1882
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2133
+ /** The nano ID of the auth config */
2134
+ id: z$1.ZodString;
2135
+ /** @deprecated - use state.authScheme instead */
1883
2136
  auth_scheme: z$1.ZodNativeEnum<{
1884
2137
  readonly OAUTH1: "OAUTH1";
1885
2138
  readonly OAUTH2: "OAUTH2";
@@ -1895,9 +2148,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1895
2148
  readonly SAML: "SAML";
1896
2149
  readonly DCR_OAUTH: "DCR_OAUTH";
1897
2150
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1898
- }>; /** Whether this auth config is managed by Composio */
1899
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1900
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2151
+ }>;
2152
+ /** Whether this auth config is managed by Composio */
2153
+ is_composio_managed: z$1.ZodBoolean;
2154
+ /** Whether the auth config is disabled */
2155
+ is_disabled: z$1.ZodBoolean;
2156
+ /** @deprecated */
1901
2157
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1902
2158
  uuid: z$1.ZodString;
1903
2159
  }, "strip", z$1.ZodTypeAny, {
@@ -1906,7 +2162,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1906
2162
  uuid: string;
1907
2163
  }>>;
1908
2164
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1909
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2165
+ /** The nano ID of the auth config */
2166
+ id: z$1.ZodString;
2167
+ /** @deprecated - use state.authScheme instead */
1910
2168
  auth_scheme: z$1.ZodNativeEnum<{
1911
2169
  readonly OAUTH1: "OAUTH1";
1912
2170
  readonly OAUTH2: "OAUTH2";
@@ -1922,9 +2180,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1922
2180
  readonly SAML: "SAML";
1923
2181
  readonly DCR_OAUTH: "DCR_OAUTH";
1924
2182
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1925
- }>; /** Whether this auth config is managed by Composio */
1926
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1927
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2183
+ }>;
2184
+ /** Whether this auth config is managed by Composio */
2185
+ is_composio_managed: z$1.ZodBoolean;
2186
+ /** Whether the auth config is disabled */
2187
+ is_disabled: z$1.ZodBoolean;
2188
+ /** @deprecated */
1928
2189
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1929
2190
  uuid: z$1.ZodString;
1930
2191
  }, "strip", z$1.ZodTypeAny, {
@@ -1933,7 +2194,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1933
2194
  uuid: string;
1934
2195
  }>>;
1935
2196
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1936
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2197
+ /** The nano ID of the auth config */
2198
+ id: z$1.ZodString;
2199
+ /** @deprecated - use state.authScheme instead */
1937
2200
  auth_scheme: z$1.ZodNativeEnum<{
1938
2201
  readonly OAUTH1: "OAUTH1";
1939
2202
  readonly OAUTH2: "OAUTH2";
@@ -1949,9 +2212,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1949
2212
  readonly SAML: "SAML";
1950
2213
  readonly DCR_OAUTH: "DCR_OAUTH";
1951
2214
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1952
- }>; /** Whether this auth config is managed by Composio */
1953
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1954
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2215
+ }>;
2216
+ /** Whether this auth config is managed by Composio */
2217
+ is_composio_managed: z$1.ZodBoolean;
2218
+ /** Whether the auth config is disabled */
2219
+ is_disabled: z$1.ZodBoolean;
2220
+ /** @deprecated */
1955
2221
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
1956
2222
  uuid: z$1.ZodString;
1957
2223
  }, "strip", z$1.ZodTypeAny, {
@@ -1959,9 +2225,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1959
2225
  }, {
1960
2226
  uuid: string;
1961
2227
  }>>;
1962
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1963
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
1964
- user_id: z$1.ZodString; /** Connection status */
2228
+ }, z$1.ZodTypeAny, "passthrough">>;
2229
+ /** The nano ID of the connected account */
2230
+ id: z$1.ZodString;
2231
+ /** @deprecated - user ID of the connection owner */
2232
+ user_id: z$1.ZodString;
2233
+ /** Connection status */
1965
2234
  status: z$1.ZodNativeEnum<{
1966
2235
  readonly INITIALIZING: "INITIALIZING";
1967
2236
  readonly INITIATED: "INITIATED";
@@ -1970,11 +2239,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1970
2239
  readonly EXPIRED: "EXPIRED";
1971
2240
  readonly INACTIVE: "INACTIVE";
1972
2241
  readonly REVOKED: "REVOKED";
1973
- }>; /** ISO-8601 timestamp of creation */
1974
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
1975
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
2242
+ }>;
2243
+ /** ISO-8601 timestamp of creation */
2244
+ created_at: z$1.ZodString;
2245
+ /** ISO-8601 timestamp of last update */
2246
+ updated_at: z$1.ZodString;
2247
+ /** Connection state data (auth scheme + state values) */
1976
2248
  state: z$1.ZodObject<{
1977
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2249
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2250
+ authScheme: z$1.ZodNativeEnum<{
1978
2251
  readonly OAUTH1: "OAUTH1";
1979
2252
  readonly OAUTH2: "OAUTH2";
1980
2253
  readonly API_KEY: "API_KEY";
@@ -1989,10 +2262,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
1989
2262
  readonly SAML: "SAML";
1990
2263
  readonly DCR_OAUTH: "DCR_OAUTH";
1991
2264
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1992
- }>; /** Connection state values - varies by auth scheme */
2265
+ }>;
2266
+ /** Connection state values - varies by auth scheme */
1993
2267
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1994
2268
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1995
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2269
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2270
+ authScheme: z$1.ZodNativeEnum<{
1996
2271
  readonly OAUTH1: "OAUTH1";
1997
2272
  readonly OAUTH2: "OAUTH2";
1998
2273
  readonly API_KEY: "API_KEY";
@@ -2007,10 +2282,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2007
2282
  readonly SAML: "SAML";
2008
2283
  readonly DCR_OAUTH: "DCR_OAUTH";
2009
2284
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2010
- }>; /** Connection state values - varies by auth scheme */
2285
+ }>;
2286
+ /** Connection state values - varies by auth scheme */
2011
2287
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2012
2288
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2013
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2289
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2290
+ authScheme: z$1.ZodNativeEnum<{
2014
2291
  readonly OAUTH1: "OAUTH1";
2015
2292
  readonly OAUTH2: "OAUTH2";
2016
2293
  readonly API_KEY: "API_KEY";
@@ -2025,14 +2302,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2025
2302
  readonly SAML: "SAML";
2026
2303
  readonly DCR_OAUTH: "DCR_OAUTH";
2027
2304
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2028
- }>; /** Connection state values - varies by auth scheme */
2305
+ }>;
2306
+ /** Connection state values - varies by auth scheme */
2029
2307
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2030
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2031
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
2032
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2033
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
2034
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
2035
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
2308
+ }, z$1.ZodTypeAny, "passthrough">>;
2309
+ /** @deprecated - use state instead */
2310
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2311
+ /** @deprecated - use state instead */
2312
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2313
+ /** Reason for the current status (e.g., expiration reason) */
2314
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2315
+ /** Whether the connection is disabled */
2316
+ is_disabled: z$1.ZodBoolean;
2317
+ /** Endpoint for making test requests */
2318
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2319
+ /** @deprecated */
2036
2320
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2037
2321
  labels: z$1.ZodArray<z$1.ZodString, "many">;
2038
2322
  uuid: z$1.ZodString;
@@ -2044,15 +2328,19 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2044
2328
  labels: string[];
2045
2329
  }>>;
2046
2330
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2047
- /** Toolkit information */toolkit: z$1.ZodObject<{
2331
+ /** Toolkit information */
2332
+ toolkit: z$1.ZodObject<{
2048
2333
  slug: z$1.ZodString;
2049
2334
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2050
2335
  slug: z$1.ZodString;
2051
2336
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2052
2337
  slug: z$1.ZodString;
2053
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2338
+ }, z$1.ZodTypeAny, "passthrough">>;
2339
+ /** Auth config details */
2054
2340
  auth_config: z$1.ZodObject<{
2055
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2341
+ /** The nano ID of the auth config */
2342
+ id: z$1.ZodString;
2343
+ /** @deprecated - use state.authScheme instead */
2056
2344
  auth_scheme: z$1.ZodNativeEnum<{
2057
2345
  readonly OAUTH1: "OAUTH1";
2058
2346
  readonly OAUTH2: "OAUTH2";
@@ -2068,9 +2356,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2068
2356
  readonly SAML: "SAML";
2069
2357
  readonly DCR_OAUTH: "DCR_OAUTH";
2070
2358
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2071
- }>; /** Whether this auth config is managed by Composio */
2072
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2073
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2359
+ }>;
2360
+ /** Whether this auth config is managed by Composio */
2361
+ is_composio_managed: z$1.ZodBoolean;
2362
+ /** Whether the auth config is disabled */
2363
+ is_disabled: z$1.ZodBoolean;
2364
+ /** @deprecated */
2074
2365
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2075
2366
  uuid: z$1.ZodString;
2076
2367
  }, "strip", z$1.ZodTypeAny, {
@@ -2079,7 +2370,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2079
2370
  uuid: string;
2080
2371
  }>>;
2081
2372
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2082
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2373
+ /** The nano ID of the auth config */
2374
+ id: z$1.ZodString;
2375
+ /** @deprecated - use state.authScheme instead */
2083
2376
  auth_scheme: z$1.ZodNativeEnum<{
2084
2377
  readonly OAUTH1: "OAUTH1";
2085
2378
  readonly OAUTH2: "OAUTH2";
@@ -2095,9 +2388,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2095
2388
  readonly SAML: "SAML";
2096
2389
  readonly DCR_OAUTH: "DCR_OAUTH";
2097
2390
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2098
- }>; /** Whether this auth config is managed by Composio */
2099
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2100
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2391
+ }>;
2392
+ /** Whether this auth config is managed by Composio */
2393
+ is_composio_managed: z$1.ZodBoolean;
2394
+ /** Whether the auth config is disabled */
2395
+ is_disabled: z$1.ZodBoolean;
2396
+ /** @deprecated */
2101
2397
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2102
2398
  uuid: z$1.ZodString;
2103
2399
  }, "strip", z$1.ZodTypeAny, {
@@ -2106,7 +2402,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2106
2402
  uuid: string;
2107
2403
  }>>;
2108
2404
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2109
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2405
+ /** The nano ID of the auth config */
2406
+ id: z$1.ZodString;
2407
+ /** @deprecated - use state.authScheme instead */
2110
2408
  auth_scheme: z$1.ZodNativeEnum<{
2111
2409
  readonly OAUTH1: "OAUTH1";
2112
2410
  readonly OAUTH2: "OAUTH2";
@@ -2122,9 +2420,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2122
2420
  readonly SAML: "SAML";
2123
2421
  readonly DCR_OAUTH: "DCR_OAUTH";
2124
2422
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2125
- }>; /** Whether this auth config is managed by Composio */
2126
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2127
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2423
+ }>;
2424
+ /** Whether this auth config is managed by Composio */
2425
+ is_composio_managed: z$1.ZodBoolean;
2426
+ /** Whether the auth config is disabled */
2427
+ is_disabled: z$1.ZodBoolean;
2428
+ /** @deprecated */
2128
2429
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2129
2430
  uuid: z$1.ZodString;
2130
2431
  }, "strip", z$1.ZodTypeAny, {
@@ -2132,9 +2433,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2132
2433
  }, {
2133
2434
  uuid: string;
2134
2435
  }>>;
2135
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2136
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
2137
- user_id: z$1.ZodString; /** Connection status */
2436
+ }, z$1.ZodTypeAny, "passthrough">>;
2437
+ /** The nano ID of the connected account */
2438
+ id: z$1.ZodString;
2439
+ /** @deprecated - user ID of the connection owner */
2440
+ user_id: z$1.ZodString;
2441
+ /** Connection status */
2138
2442
  status: z$1.ZodNativeEnum<{
2139
2443
  readonly INITIALIZING: "INITIALIZING";
2140
2444
  readonly INITIATED: "INITIATED";
@@ -2143,11 +2447,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2143
2447
  readonly EXPIRED: "EXPIRED";
2144
2448
  readonly INACTIVE: "INACTIVE";
2145
2449
  readonly REVOKED: "REVOKED";
2146
- }>; /** ISO-8601 timestamp of creation */
2147
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
2148
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
2450
+ }>;
2451
+ /** ISO-8601 timestamp of creation */
2452
+ created_at: z$1.ZodString;
2453
+ /** ISO-8601 timestamp of last update */
2454
+ updated_at: z$1.ZodString;
2455
+ /** Connection state data (auth scheme + state values) */
2149
2456
  state: z$1.ZodObject<{
2150
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2457
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2458
+ authScheme: z$1.ZodNativeEnum<{
2151
2459
  readonly OAUTH1: "OAUTH1";
2152
2460
  readonly OAUTH2: "OAUTH2";
2153
2461
  readonly API_KEY: "API_KEY";
@@ -2162,10 +2470,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2162
2470
  readonly SAML: "SAML";
2163
2471
  readonly DCR_OAUTH: "DCR_OAUTH";
2164
2472
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2165
- }>; /** Connection state values - varies by auth scheme */
2473
+ }>;
2474
+ /** Connection state values - varies by auth scheme */
2166
2475
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2167
2476
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2168
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2477
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2478
+ authScheme: z$1.ZodNativeEnum<{
2169
2479
  readonly OAUTH1: "OAUTH1";
2170
2480
  readonly OAUTH2: "OAUTH2";
2171
2481
  readonly API_KEY: "API_KEY";
@@ -2180,10 +2490,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2180
2490
  readonly SAML: "SAML";
2181
2491
  readonly DCR_OAUTH: "DCR_OAUTH";
2182
2492
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2183
- }>; /** Connection state values - varies by auth scheme */
2493
+ }>;
2494
+ /** Connection state values - varies by auth scheme */
2184
2495
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2185
2496
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2186
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2497
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2498
+ authScheme: z$1.ZodNativeEnum<{
2187
2499
  readonly OAUTH1: "OAUTH1";
2188
2500
  readonly OAUTH2: "OAUTH2";
2189
2501
  readonly API_KEY: "API_KEY";
@@ -2198,14 +2510,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2198
2510
  readonly SAML: "SAML";
2199
2511
  readonly DCR_OAUTH: "DCR_OAUTH";
2200
2512
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2201
- }>; /** Connection state values - varies by auth scheme */
2513
+ }>;
2514
+ /** Connection state values - varies by auth scheme */
2202
2515
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2203
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2204
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
2205
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2206
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
2207
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
2208
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
2516
+ }, z$1.ZodTypeAny, "passthrough">>;
2517
+ /** @deprecated - use state instead */
2518
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2519
+ /** @deprecated - use state instead */
2520
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2521
+ /** Reason for the current status (e.g., expiration reason) */
2522
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2523
+ /** Whether the connection is disabled */
2524
+ is_disabled: z$1.ZodBoolean;
2525
+ /** Endpoint for making test requests */
2526
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2527
+ /** @deprecated */
2209
2528
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2210
2529
  labels: z$1.ZodArray<z$1.ZodString, "many">;
2211
2530
  uuid: z$1.ZodString;
@@ -2217,15 +2536,19 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2217
2536
  labels: string[];
2218
2537
  }>>;
2219
2538
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2220
- /** Toolkit information */toolkit: z$1.ZodObject<{
2539
+ /** Toolkit information */
2540
+ toolkit: z$1.ZodObject<{
2221
2541
  slug: z$1.ZodString;
2222
2542
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2223
2543
  slug: z$1.ZodString;
2224
2544
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2225
2545
  slug: z$1.ZodString;
2226
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2546
+ }, z$1.ZodTypeAny, "passthrough">>;
2547
+ /** Auth config details */
2227
2548
  auth_config: z$1.ZodObject<{
2228
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2549
+ /** The nano ID of the auth config */
2550
+ id: z$1.ZodString;
2551
+ /** @deprecated - use state.authScheme instead */
2229
2552
  auth_scheme: z$1.ZodNativeEnum<{
2230
2553
  readonly OAUTH1: "OAUTH1";
2231
2554
  readonly OAUTH2: "OAUTH2";
@@ -2241,9 +2564,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2241
2564
  readonly SAML: "SAML";
2242
2565
  readonly DCR_OAUTH: "DCR_OAUTH";
2243
2566
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2244
- }>; /** Whether this auth config is managed by Composio */
2245
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2246
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2567
+ }>;
2568
+ /** Whether this auth config is managed by Composio */
2569
+ is_composio_managed: z$1.ZodBoolean;
2570
+ /** Whether the auth config is disabled */
2571
+ is_disabled: z$1.ZodBoolean;
2572
+ /** @deprecated */
2247
2573
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2248
2574
  uuid: z$1.ZodString;
2249
2575
  }, "strip", z$1.ZodTypeAny, {
@@ -2252,7 +2578,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2252
2578
  uuid: string;
2253
2579
  }>>;
2254
2580
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2255
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2581
+ /** The nano ID of the auth config */
2582
+ id: z$1.ZodString;
2583
+ /** @deprecated - use state.authScheme instead */
2256
2584
  auth_scheme: z$1.ZodNativeEnum<{
2257
2585
  readonly OAUTH1: "OAUTH1";
2258
2586
  readonly OAUTH2: "OAUTH2";
@@ -2268,9 +2596,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2268
2596
  readonly SAML: "SAML";
2269
2597
  readonly DCR_OAUTH: "DCR_OAUTH";
2270
2598
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2271
- }>; /** Whether this auth config is managed by Composio */
2272
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2273
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2599
+ }>;
2600
+ /** Whether this auth config is managed by Composio */
2601
+ is_composio_managed: z$1.ZodBoolean;
2602
+ /** Whether the auth config is disabled */
2603
+ is_disabled: z$1.ZodBoolean;
2604
+ /** @deprecated */
2274
2605
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2275
2606
  uuid: z$1.ZodString;
2276
2607
  }, "strip", z$1.ZodTypeAny, {
@@ -2279,7 +2610,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2279
2610
  uuid: string;
2280
2611
  }>>;
2281
2612
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2282
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2613
+ /** The nano ID of the auth config */
2614
+ id: z$1.ZodString;
2615
+ /** @deprecated - use state.authScheme instead */
2283
2616
  auth_scheme: z$1.ZodNativeEnum<{
2284
2617
  readonly OAUTH1: "OAUTH1";
2285
2618
  readonly OAUTH2: "OAUTH2";
@@ -2295,9 +2628,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2295
2628
  readonly SAML: "SAML";
2296
2629
  readonly DCR_OAUTH: "DCR_OAUTH";
2297
2630
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2298
- }>; /** Whether this auth config is managed by Composio */
2299
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2300
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2631
+ }>;
2632
+ /** Whether this auth config is managed by Composio */
2633
+ is_composio_managed: z$1.ZodBoolean;
2634
+ /** Whether the auth config is disabled */
2635
+ is_disabled: z$1.ZodBoolean;
2636
+ /** @deprecated */
2301
2637
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2302
2638
  uuid: z$1.ZodString;
2303
2639
  }, "strip", z$1.ZodTypeAny, {
@@ -2305,9 +2641,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2305
2641
  }, {
2306
2642
  uuid: string;
2307
2643
  }>>;
2308
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2309
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
2310
- user_id: z$1.ZodString; /** Connection status */
2644
+ }, z$1.ZodTypeAny, "passthrough">>;
2645
+ /** The nano ID of the connected account */
2646
+ id: z$1.ZodString;
2647
+ /** @deprecated - user ID of the connection owner */
2648
+ user_id: z$1.ZodString;
2649
+ /** Connection status */
2311
2650
  status: z$1.ZodNativeEnum<{
2312
2651
  readonly INITIALIZING: "INITIALIZING";
2313
2652
  readonly INITIATED: "INITIATED";
@@ -2316,11 +2655,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2316
2655
  readonly EXPIRED: "EXPIRED";
2317
2656
  readonly INACTIVE: "INACTIVE";
2318
2657
  readonly REVOKED: "REVOKED";
2319
- }>; /** ISO-8601 timestamp of creation */
2320
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
2321
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
2658
+ }>;
2659
+ /** ISO-8601 timestamp of creation */
2660
+ created_at: z$1.ZodString;
2661
+ /** ISO-8601 timestamp of last update */
2662
+ updated_at: z$1.ZodString;
2663
+ /** Connection state data (auth scheme + state values) */
2322
2664
  state: z$1.ZodObject<{
2323
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2665
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2666
+ authScheme: z$1.ZodNativeEnum<{
2324
2667
  readonly OAUTH1: "OAUTH1";
2325
2668
  readonly OAUTH2: "OAUTH2";
2326
2669
  readonly API_KEY: "API_KEY";
@@ -2335,10 +2678,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2335
2678
  readonly SAML: "SAML";
2336
2679
  readonly DCR_OAUTH: "DCR_OAUTH";
2337
2680
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2338
- }>; /** Connection state values - varies by auth scheme */
2681
+ }>;
2682
+ /** Connection state values - varies by auth scheme */
2339
2683
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2340
2684
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2341
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2685
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2686
+ authScheme: z$1.ZodNativeEnum<{
2342
2687
  readonly OAUTH1: "OAUTH1";
2343
2688
  readonly OAUTH2: "OAUTH2";
2344
2689
  readonly API_KEY: "API_KEY";
@@ -2353,10 +2698,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2353
2698
  readonly SAML: "SAML";
2354
2699
  readonly DCR_OAUTH: "DCR_OAUTH";
2355
2700
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2356
- }>; /** Connection state values - varies by auth scheme */
2701
+ }>;
2702
+ /** Connection state values - varies by auth scheme */
2357
2703
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2358
2704
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2359
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2705
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2706
+ authScheme: z$1.ZodNativeEnum<{
2360
2707
  readonly OAUTH1: "OAUTH1";
2361
2708
  readonly OAUTH2: "OAUTH2";
2362
2709
  readonly API_KEY: "API_KEY";
@@ -2371,14 +2718,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2371
2718
  readonly SAML: "SAML";
2372
2719
  readonly DCR_OAUTH: "DCR_OAUTH";
2373
2720
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2374
- }>; /** Connection state values - varies by auth scheme */
2721
+ }>;
2722
+ /** Connection state values - varies by auth scheme */
2375
2723
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2376
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2377
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
2378
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2379
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
2380
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
2381
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
2724
+ }, z$1.ZodTypeAny, "passthrough">>;
2725
+ /** @deprecated - use state instead */
2726
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2727
+ /** @deprecated - use state instead */
2728
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2729
+ /** Reason for the current status (e.g., expiration reason) */
2730
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2731
+ /** Whether the connection is disabled */
2732
+ is_disabled: z$1.ZodBoolean;
2733
+ /** Endpoint for making test requests */
2734
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2735
+ /** @deprecated */
2382
2736
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2383
2737
  labels: z$1.ZodArray<z$1.ZodString, "many">;
2384
2738
  uuid: z$1.ZodString;
@@ -2389,31 +2743,46 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2389
2743
  uuid: string;
2390
2744
  labels: string[];
2391
2745
  }>>;
2392
- }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
2746
+ }, z$1.ZodTypeAny, "passthrough">>;
2747
+ /** Event metadata */
2393
2748
  metadata: z$1.ZodObject<{
2394
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2749
+ /** Project nano ID */
2750
+ project_id: z$1.ZodString;
2751
+ /** Organization UUID */
2395
2752
  org_id: z$1.ZodString;
2396
2753
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2397
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2754
+ /** Project nano ID */
2755
+ project_id: z$1.ZodString;
2756
+ /** Organization UUID */
2398
2757
  org_id: z$1.ZodString;
2399
2758
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2400
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2759
+ /** Project nano ID */
2760
+ project_id: z$1.ZodString;
2761
+ /** Organization UUID */
2401
2762
  org_id: z$1.ZodString;
2402
2763
  }, z$1.ZodTypeAny, "passthrough">>;
2403
2764
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2404
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z$1.ZodString; /** ISO-8601 timestamp of when the event was emitted */
2405
- timestamp: z$1.ZodString; /** Event type identifier */
2406
- type: z$1.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
2765
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
2766
+ id: z$1.ZodString;
2767
+ /** ISO-8601 timestamp of when the event was emitted */
2768
+ timestamp: z$1.ZodString;
2769
+ /** Event type identifier */
2770
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
2771
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
2407
2772
  data: z$1.ZodObject<{
2408
- /** Toolkit information */toolkit: z$1.ZodObject<{
2773
+ /** Toolkit information */
2774
+ toolkit: z$1.ZodObject<{
2409
2775
  slug: z$1.ZodString;
2410
2776
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2411
2777
  slug: z$1.ZodString;
2412
2778
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2413
2779
  slug: z$1.ZodString;
2414
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2780
+ }, z$1.ZodTypeAny, "passthrough">>;
2781
+ /** Auth config details */
2415
2782
  auth_config: z$1.ZodObject<{
2416
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2783
+ /** The nano ID of the auth config */
2784
+ id: z$1.ZodString;
2785
+ /** @deprecated - use state.authScheme instead */
2417
2786
  auth_scheme: z$1.ZodNativeEnum<{
2418
2787
  readonly OAUTH1: "OAUTH1";
2419
2788
  readonly OAUTH2: "OAUTH2";
@@ -2429,9 +2798,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2429
2798
  readonly SAML: "SAML";
2430
2799
  readonly DCR_OAUTH: "DCR_OAUTH";
2431
2800
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2432
- }>; /** Whether this auth config is managed by Composio */
2433
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2434
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2801
+ }>;
2802
+ /** Whether this auth config is managed by Composio */
2803
+ is_composio_managed: z$1.ZodBoolean;
2804
+ /** Whether the auth config is disabled */
2805
+ is_disabled: z$1.ZodBoolean;
2806
+ /** @deprecated */
2435
2807
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2436
2808
  uuid: z$1.ZodString;
2437
2809
  }, "strip", z$1.ZodTypeAny, {
@@ -2440,7 +2812,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2440
2812
  uuid: string;
2441
2813
  }>>;
2442
2814
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2443
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2815
+ /** The nano ID of the auth config */
2816
+ id: z$1.ZodString;
2817
+ /** @deprecated - use state.authScheme instead */
2444
2818
  auth_scheme: z$1.ZodNativeEnum<{
2445
2819
  readonly OAUTH1: "OAUTH1";
2446
2820
  readonly OAUTH2: "OAUTH2";
@@ -2456,9 +2830,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2456
2830
  readonly SAML: "SAML";
2457
2831
  readonly DCR_OAUTH: "DCR_OAUTH";
2458
2832
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2459
- }>; /** Whether this auth config is managed by Composio */
2460
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2461
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2833
+ }>;
2834
+ /** Whether this auth config is managed by Composio */
2835
+ is_composio_managed: z$1.ZodBoolean;
2836
+ /** Whether the auth config is disabled */
2837
+ is_disabled: z$1.ZodBoolean;
2838
+ /** @deprecated */
2462
2839
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2463
2840
  uuid: z$1.ZodString;
2464
2841
  }, "strip", z$1.ZodTypeAny, {
@@ -2467,7 +2844,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2467
2844
  uuid: string;
2468
2845
  }>>;
2469
2846
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2470
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2847
+ /** The nano ID of the auth config */
2848
+ id: z$1.ZodString;
2849
+ /** @deprecated - use state.authScheme instead */
2471
2850
  auth_scheme: z$1.ZodNativeEnum<{
2472
2851
  readonly OAUTH1: "OAUTH1";
2473
2852
  readonly OAUTH2: "OAUTH2";
@@ -2483,9 +2862,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2483
2862
  readonly SAML: "SAML";
2484
2863
  readonly DCR_OAUTH: "DCR_OAUTH";
2485
2864
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2486
- }>; /** Whether this auth config is managed by Composio */
2487
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2488
- is_disabled: z$1.ZodBoolean; /** @deprecated */
2865
+ }>;
2866
+ /** Whether this auth config is managed by Composio */
2867
+ is_composio_managed: z$1.ZodBoolean;
2868
+ /** Whether the auth config is disabled */
2869
+ is_disabled: z$1.ZodBoolean;
2870
+ /** @deprecated */
2489
2871
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2490
2872
  uuid: z$1.ZodString;
2491
2873
  }, "strip", z$1.ZodTypeAny, {
@@ -2493,9 +2875,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2493
2875
  }, {
2494
2876
  uuid: string;
2495
2877
  }>>;
2496
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2497
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
2498
- user_id: z$1.ZodString; /** Connection status */
2878
+ }, z$1.ZodTypeAny, "passthrough">>;
2879
+ /** The nano ID of the connected account */
2880
+ id: z$1.ZodString;
2881
+ /** @deprecated - user ID of the connection owner */
2882
+ user_id: z$1.ZodString;
2883
+ /** Connection status */
2499
2884
  status: z$1.ZodNativeEnum<{
2500
2885
  readonly INITIALIZING: "INITIALIZING";
2501
2886
  readonly INITIATED: "INITIATED";
@@ -2504,11 +2889,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2504
2889
  readonly EXPIRED: "EXPIRED";
2505
2890
  readonly INACTIVE: "INACTIVE";
2506
2891
  readonly REVOKED: "REVOKED";
2507
- }>; /** ISO-8601 timestamp of creation */
2508
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
2509
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
2892
+ }>;
2893
+ /** ISO-8601 timestamp of creation */
2894
+ created_at: z$1.ZodString;
2895
+ /** ISO-8601 timestamp of last update */
2896
+ updated_at: z$1.ZodString;
2897
+ /** Connection state data (auth scheme + state values) */
2510
2898
  state: z$1.ZodObject<{
2511
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2899
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2900
+ authScheme: z$1.ZodNativeEnum<{
2512
2901
  readonly OAUTH1: "OAUTH1";
2513
2902
  readonly OAUTH2: "OAUTH2";
2514
2903
  readonly API_KEY: "API_KEY";
@@ -2523,10 +2912,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2523
2912
  readonly SAML: "SAML";
2524
2913
  readonly DCR_OAUTH: "DCR_OAUTH";
2525
2914
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2526
- }>; /** Connection state values - varies by auth scheme */
2915
+ }>;
2916
+ /** Connection state values - varies by auth scheme */
2527
2917
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2528
2918
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2529
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2919
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2920
+ authScheme: z$1.ZodNativeEnum<{
2530
2921
  readonly OAUTH1: "OAUTH1";
2531
2922
  readonly OAUTH2: "OAUTH2";
2532
2923
  readonly API_KEY: "API_KEY";
@@ -2541,10 +2932,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2541
2932
  readonly SAML: "SAML";
2542
2933
  readonly DCR_OAUTH: "DCR_OAUTH";
2543
2934
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2544
- }>; /** Connection state values - varies by auth scheme */
2935
+ }>;
2936
+ /** Connection state values - varies by auth scheme */
2545
2937
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2546
2938
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2547
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2939
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
2940
+ authScheme: z$1.ZodNativeEnum<{
2548
2941
  readonly OAUTH1: "OAUTH1";
2549
2942
  readonly OAUTH2: "OAUTH2";
2550
2943
  readonly API_KEY: "API_KEY";
@@ -2559,14 +2952,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2559
2952
  readonly SAML: "SAML";
2560
2953
  readonly DCR_OAUTH: "DCR_OAUTH";
2561
2954
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2562
- }>; /** Connection state values - varies by auth scheme */
2955
+ }>;
2956
+ /** Connection state values - varies by auth scheme */
2563
2957
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2564
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2565
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
2566
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2567
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
2568
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
2569
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
2958
+ }, z$1.ZodTypeAny, "passthrough">>;
2959
+ /** @deprecated - use state instead */
2960
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2961
+ /** @deprecated - use state instead */
2962
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2963
+ /** Reason for the current status (e.g., expiration reason) */
2964
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
2965
+ /** Whether the connection is disabled */
2966
+ is_disabled: z$1.ZodBoolean;
2967
+ /** Endpoint for making test requests */
2968
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
2969
+ /** @deprecated */
2570
2970
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2571
2971
  labels: z$1.ZodArray<z$1.ZodString, "many">;
2572
2972
  uuid: z$1.ZodString;
@@ -2578,15 +2978,19 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2578
2978
  labels: string[];
2579
2979
  }>>;
2580
2980
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2581
- /** Toolkit information */toolkit: z$1.ZodObject<{
2981
+ /** Toolkit information */
2982
+ toolkit: z$1.ZodObject<{
2582
2983
  slug: z$1.ZodString;
2583
2984
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2584
2985
  slug: z$1.ZodString;
2585
2986
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2586
2987
  slug: z$1.ZodString;
2587
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2988
+ }, z$1.ZodTypeAny, "passthrough">>;
2989
+ /** Auth config details */
2588
2990
  auth_config: z$1.ZodObject<{
2589
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2991
+ /** The nano ID of the auth config */
2992
+ id: z$1.ZodString;
2993
+ /** @deprecated - use state.authScheme instead */
2590
2994
  auth_scheme: z$1.ZodNativeEnum<{
2591
2995
  readonly OAUTH1: "OAUTH1";
2592
2996
  readonly OAUTH2: "OAUTH2";
@@ -2602,9 +3006,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2602
3006
  readonly SAML: "SAML";
2603
3007
  readonly DCR_OAUTH: "DCR_OAUTH";
2604
3008
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2605
- }>; /** Whether this auth config is managed by Composio */
2606
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2607
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3009
+ }>;
3010
+ /** Whether this auth config is managed by Composio */
3011
+ is_composio_managed: z$1.ZodBoolean;
3012
+ /** Whether the auth config is disabled */
3013
+ is_disabled: z$1.ZodBoolean;
3014
+ /** @deprecated */
2608
3015
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2609
3016
  uuid: z$1.ZodString;
2610
3017
  }, "strip", z$1.ZodTypeAny, {
@@ -2613,7 +3020,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2613
3020
  uuid: string;
2614
3021
  }>>;
2615
3022
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2616
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3023
+ /** The nano ID of the auth config */
3024
+ id: z$1.ZodString;
3025
+ /** @deprecated - use state.authScheme instead */
2617
3026
  auth_scheme: z$1.ZodNativeEnum<{
2618
3027
  readonly OAUTH1: "OAUTH1";
2619
3028
  readonly OAUTH2: "OAUTH2";
@@ -2629,9 +3038,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2629
3038
  readonly SAML: "SAML";
2630
3039
  readonly DCR_OAUTH: "DCR_OAUTH";
2631
3040
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2632
- }>; /** Whether this auth config is managed by Composio */
2633
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2634
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3041
+ }>;
3042
+ /** Whether this auth config is managed by Composio */
3043
+ is_composio_managed: z$1.ZodBoolean;
3044
+ /** Whether the auth config is disabled */
3045
+ is_disabled: z$1.ZodBoolean;
3046
+ /** @deprecated */
2635
3047
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2636
3048
  uuid: z$1.ZodString;
2637
3049
  }, "strip", z$1.ZodTypeAny, {
@@ -2640,7 +3052,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2640
3052
  uuid: string;
2641
3053
  }>>;
2642
3054
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2643
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3055
+ /** The nano ID of the auth config */
3056
+ id: z$1.ZodString;
3057
+ /** @deprecated - use state.authScheme instead */
2644
3058
  auth_scheme: z$1.ZodNativeEnum<{
2645
3059
  readonly OAUTH1: "OAUTH1";
2646
3060
  readonly OAUTH2: "OAUTH2";
@@ -2656,9 +3070,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2656
3070
  readonly SAML: "SAML";
2657
3071
  readonly DCR_OAUTH: "DCR_OAUTH";
2658
3072
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2659
- }>; /** Whether this auth config is managed by Composio */
2660
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2661
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3073
+ }>;
3074
+ /** Whether this auth config is managed by Composio */
3075
+ is_composio_managed: z$1.ZodBoolean;
3076
+ /** Whether the auth config is disabled */
3077
+ is_disabled: z$1.ZodBoolean;
3078
+ /** @deprecated */
2662
3079
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2663
3080
  uuid: z$1.ZodString;
2664
3081
  }, "strip", z$1.ZodTypeAny, {
@@ -2666,9 +3083,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2666
3083
  }, {
2667
3084
  uuid: string;
2668
3085
  }>>;
2669
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2670
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
2671
- user_id: z$1.ZodString; /** Connection status */
3086
+ }, z$1.ZodTypeAny, "passthrough">>;
3087
+ /** The nano ID of the connected account */
3088
+ id: z$1.ZodString;
3089
+ /** @deprecated - user ID of the connection owner */
3090
+ user_id: z$1.ZodString;
3091
+ /** Connection status */
2672
3092
  status: z$1.ZodNativeEnum<{
2673
3093
  readonly INITIALIZING: "INITIALIZING";
2674
3094
  readonly INITIATED: "INITIATED";
@@ -2677,11 +3097,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2677
3097
  readonly EXPIRED: "EXPIRED";
2678
3098
  readonly INACTIVE: "INACTIVE";
2679
3099
  readonly REVOKED: "REVOKED";
2680
- }>; /** ISO-8601 timestamp of creation */
2681
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
2682
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
3100
+ }>;
3101
+ /** ISO-8601 timestamp of creation */
3102
+ created_at: z$1.ZodString;
3103
+ /** ISO-8601 timestamp of last update */
3104
+ updated_at: z$1.ZodString;
3105
+ /** Connection state data (auth scheme + state values) */
2683
3106
  state: z$1.ZodObject<{
2684
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3107
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3108
+ authScheme: z$1.ZodNativeEnum<{
2685
3109
  readonly OAUTH1: "OAUTH1";
2686
3110
  readonly OAUTH2: "OAUTH2";
2687
3111
  readonly API_KEY: "API_KEY";
@@ -2696,10 +3120,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2696
3120
  readonly SAML: "SAML";
2697
3121
  readonly DCR_OAUTH: "DCR_OAUTH";
2698
3122
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2699
- }>; /** Connection state values - varies by auth scheme */
3123
+ }>;
3124
+ /** Connection state values - varies by auth scheme */
2700
3125
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2701
3126
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2702
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3127
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3128
+ authScheme: z$1.ZodNativeEnum<{
2703
3129
  readonly OAUTH1: "OAUTH1";
2704
3130
  readonly OAUTH2: "OAUTH2";
2705
3131
  readonly API_KEY: "API_KEY";
@@ -2714,10 +3140,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2714
3140
  readonly SAML: "SAML";
2715
3141
  readonly DCR_OAUTH: "DCR_OAUTH";
2716
3142
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2717
- }>; /** Connection state values - varies by auth scheme */
3143
+ }>;
3144
+ /** Connection state values - varies by auth scheme */
2718
3145
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2719
3146
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2720
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3147
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3148
+ authScheme: z$1.ZodNativeEnum<{
2721
3149
  readonly OAUTH1: "OAUTH1";
2722
3150
  readonly OAUTH2: "OAUTH2";
2723
3151
  readonly API_KEY: "API_KEY";
@@ -2732,14 +3160,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2732
3160
  readonly SAML: "SAML";
2733
3161
  readonly DCR_OAUTH: "DCR_OAUTH";
2734
3162
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2735
- }>; /** Connection state values - varies by auth scheme */
3163
+ }>;
3164
+ /** Connection state values - varies by auth scheme */
2736
3165
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2737
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2738
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
2739
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2740
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
2741
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
2742
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
3166
+ }, z$1.ZodTypeAny, "passthrough">>;
3167
+ /** @deprecated - use state instead */
3168
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3169
+ /** @deprecated - use state instead */
3170
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3171
+ /** Reason for the current status (e.g., expiration reason) */
3172
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
3173
+ /** Whether the connection is disabled */
3174
+ is_disabled: z$1.ZodBoolean;
3175
+ /** Endpoint for making test requests */
3176
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
3177
+ /** @deprecated */
2743
3178
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2744
3179
  labels: z$1.ZodArray<z$1.ZodString, "many">;
2745
3180
  uuid: z$1.ZodString;
@@ -2751,15 +3186,19 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2751
3186
  labels: string[];
2752
3187
  }>>;
2753
3188
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2754
- /** Toolkit information */toolkit: z$1.ZodObject<{
3189
+ /** Toolkit information */
3190
+ toolkit: z$1.ZodObject<{
2755
3191
  slug: z$1.ZodString;
2756
3192
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2757
3193
  slug: z$1.ZodString;
2758
3194
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2759
3195
  slug: z$1.ZodString;
2760
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3196
+ }, z$1.ZodTypeAny, "passthrough">>;
3197
+ /** Auth config details */
2761
3198
  auth_config: z$1.ZodObject<{
2762
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3199
+ /** The nano ID of the auth config */
3200
+ id: z$1.ZodString;
3201
+ /** @deprecated - use state.authScheme instead */
2763
3202
  auth_scheme: z$1.ZodNativeEnum<{
2764
3203
  readonly OAUTH1: "OAUTH1";
2765
3204
  readonly OAUTH2: "OAUTH2";
@@ -2775,9 +3214,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2775
3214
  readonly SAML: "SAML";
2776
3215
  readonly DCR_OAUTH: "DCR_OAUTH";
2777
3216
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2778
- }>; /** Whether this auth config is managed by Composio */
2779
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2780
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3217
+ }>;
3218
+ /** Whether this auth config is managed by Composio */
3219
+ is_composio_managed: z$1.ZodBoolean;
3220
+ /** Whether the auth config is disabled */
3221
+ is_disabled: z$1.ZodBoolean;
3222
+ /** @deprecated */
2781
3223
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2782
3224
  uuid: z$1.ZodString;
2783
3225
  }, "strip", z$1.ZodTypeAny, {
@@ -2786,7 +3228,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2786
3228
  uuid: string;
2787
3229
  }>>;
2788
3230
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2789
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3231
+ /** The nano ID of the auth config */
3232
+ id: z$1.ZodString;
3233
+ /** @deprecated - use state.authScheme instead */
2790
3234
  auth_scheme: z$1.ZodNativeEnum<{
2791
3235
  readonly OAUTH1: "OAUTH1";
2792
3236
  readonly OAUTH2: "OAUTH2";
@@ -2802,9 +3246,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2802
3246
  readonly SAML: "SAML";
2803
3247
  readonly DCR_OAUTH: "DCR_OAUTH";
2804
3248
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2805
- }>; /** Whether this auth config is managed by Composio */
2806
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2807
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3249
+ }>;
3250
+ /** Whether this auth config is managed by Composio */
3251
+ is_composio_managed: z$1.ZodBoolean;
3252
+ /** Whether the auth config is disabled */
3253
+ is_disabled: z$1.ZodBoolean;
3254
+ /** @deprecated */
2808
3255
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2809
3256
  uuid: z$1.ZodString;
2810
3257
  }, "strip", z$1.ZodTypeAny, {
@@ -2813,7 +3260,9 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2813
3260
  uuid: string;
2814
3261
  }>>;
2815
3262
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2816
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3263
+ /** The nano ID of the auth config */
3264
+ id: z$1.ZodString;
3265
+ /** @deprecated - use state.authScheme instead */
2817
3266
  auth_scheme: z$1.ZodNativeEnum<{
2818
3267
  readonly OAUTH1: "OAUTH1";
2819
3268
  readonly OAUTH2: "OAUTH2";
@@ -2829,9 +3278,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2829
3278
  readonly SAML: "SAML";
2830
3279
  readonly DCR_OAUTH: "DCR_OAUTH";
2831
3280
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2832
- }>; /** Whether this auth config is managed by Composio */
2833
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2834
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3281
+ }>;
3282
+ /** Whether this auth config is managed by Composio */
3283
+ is_composio_managed: z$1.ZodBoolean;
3284
+ /** Whether the auth config is disabled */
3285
+ is_disabled: z$1.ZodBoolean;
3286
+ /** @deprecated */
2835
3287
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2836
3288
  uuid: z$1.ZodString;
2837
3289
  }, "strip", z$1.ZodTypeAny, {
@@ -2839,9 +3291,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2839
3291
  }, {
2840
3292
  uuid: string;
2841
3293
  }>>;
2842
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2843
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
2844
- user_id: z$1.ZodString; /** Connection status */
3294
+ }, z$1.ZodTypeAny, "passthrough">>;
3295
+ /** The nano ID of the connected account */
3296
+ id: z$1.ZodString;
3297
+ /** @deprecated - user ID of the connection owner */
3298
+ user_id: z$1.ZodString;
3299
+ /** Connection status */
2845
3300
  status: z$1.ZodNativeEnum<{
2846
3301
  readonly INITIALIZING: "INITIALIZING";
2847
3302
  readonly INITIATED: "INITIATED";
@@ -2850,11 +3305,15 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2850
3305
  readonly EXPIRED: "EXPIRED";
2851
3306
  readonly INACTIVE: "INACTIVE";
2852
3307
  readonly REVOKED: "REVOKED";
2853
- }>; /** ISO-8601 timestamp of creation */
2854
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
2855
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
3308
+ }>;
3309
+ /** ISO-8601 timestamp of creation */
3310
+ created_at: z$1.ZodString;
3311
+ /** ISO-8601 timestamp of last update */
3312
+ updated_at: z$1.ZodString;
3313
+ /** Connection state data (auth scheme + state values) */
2856
3314
  state: z$1.ZodObject<{
2857
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3315
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3316
+ authScheme: z$1.ZodNativeEnum<{
2858
3317
  readonly OAUTH1: "OAUTH1";
2859
3318
  readonly OAUTH2: "OAUTH2";
2860
3319
  readonly API_KEY: "API_KEY";
@@ -2869,10 +3328,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2869
3328
  readonly SAML: "SAML";
2870
3329
  readonly DCR_OAUTH: "DCR_OAUTH";
2871
3330
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2872
- }>; /** Connection state values - varies by auth scheme */
3331
+ }>;
3332
+ /** Connection state values - varies by auth scheme */
2873
3333
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2874
3334
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2875
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3335
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3336
+ authScheme: z$1.ZodNativeEnum<{
2876
3337
  readonly OAUTH1: "OAUTH1";
2877
3338
  readonly OAUTH2: "OAUTH2";
2878
3339
  readonly API_KEY: "API_KEY";
@@ -2887,10 +3348,12 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2887
3348
  readonly SAML: "SAML";
2888
3349
  readonly DCR_OAUTH: "DCR_OAUTH";
2889
3350
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2890
- }>; /** Connection state values - varies by auth scheme */
3351
+ }>;
3352
+ /** Connection state values - varies by auth scheme */
2891
3353
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2892
3354
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2893
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3355
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3356
+ authScheme: z$1.ZodNativeEnum<{
2894
3357
  readonly OAUTH1: "OAUTH1";
2895
3358
  readonly OAUTH2: "OAUTH2";
2896
3359
  readonly API_KEY: "API_KEY";
@@ -2905,14 +3368,21 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2905
3368
  readonly SAML: "SAML";
2906
3369
  readonly DCR_OAUTH: "DCR_OAUTH";
2907
3370
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2908
- }>; /** Connection state values - varies by auth scheme */
3371
+ }>;
3372
+ /** Connection state values - varies by auth scheme */
2909
3373
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2910
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2911
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
2912
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2913
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
2914
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
2915
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
3374
+ }, z$1.ZodTypeAny, "passthrough">>;
3375
+ /** @deprecated - use state instead */
3376
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3377
+ /** @deprecated - use state instead */
3378
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3379
+ /** Reason for the current status (e.g., expiration reason) */
3380
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
3381
+ /** Whether the connection is disabled */
3382
+ is_disabled: z$1.ZodBoolean;
3383
+ /** Endpoint for making test requests */
3384
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
3385
+ /** @deprecated */
2916
3386
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2917
3387
  labels: z$1.ZodArray<z$1.ZodString, "many">;
2918
3388
  uuid: z$1.ZodString;
@@ -2923,15 +3393,22 @@ declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
2923
3393
  uuid: string;
2924
3394
  labels: string[];
2925
3395
  }>>;
2926
- }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
3396
+ }, z$1.ZodTypeAny, "passthrough">>;
3397
+ /** Event metadata */
2927
3398
  metadata: z$1.ZodObject<{
2928
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
3399
+ /** Project nano ID */
3400
+ project_id: z$1.ZodString;
3401
+ /** Organization UUID */
2929
3402
  org_id: z$1.ZodString;
2930
3403
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2931
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
3404
+ /** Project nano ID */
3405
+ project_id: z$1.ZodString;
3406
+ /** Organization UUID */
2932
3407
  org_id: z$1.ZodString;
2933
3408
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2934
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
3409
+ /** Project nano ID */
3410
+ project_id: z$1.ZodString;
3411
+ /** Organization UUID */
2935
3412
  org_id: z$1.ZodString;
2936
3413
  }, z$1.ZodTypeAny, "passthrough">>;
2937
3414
  }, z$1.ZodTypeAny, "passthrough">>;
@@ -2948,19 +3425,27 @@ type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
2948
3425
  * WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
2949
3426
  */
2950
3427
  declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
2951
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z$1.ZodString; /** ISO-8601 timestamp of when the event was emitted */
2952
- timestamp: z$1.ZodString; /** Event type identifier */
2953
- type: z$1.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
3428
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
3429
+ id: z$1.ZodString;
3430
+ /** ISO-8601 timestamp of when the event was emitted */
3431
+ timestamp: z$1.ZodString;
3432
+ /** Event type identifier */
3433
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
3434
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
2954
3435
  data: z$1.ZodObject<{
2955
- /** Toolkit information */toolkit: z$1.ZodObject<{
3436
+ /** Toolkit information */
3437
+ toolkit: z$1.ZodObject<{
2956
3438
  slug: z$1.ZodString;
2957
3439
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2958
3440
  slug: z$1.ZodString;
2959
3441
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2960
3442
  slug: z$1.ZodString;
2961
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3443
+ }, z$1.ZodTypeAny, "passthrough">>;
3444
+ /** Auth config details */
2962
3445
  auth_config: z$1.ZodObject<{
2963
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3446
+ /** The nano ID of the auth config */
3447
+ id: z$1.ZodString;
3448
+ /** @deprecated - use state.authScheme instead */
2964
3449
  auth_scheme: z$1.ZodNativeEnum<{
2965
3450
  readonly OAUTH1: "OAUTH1";
2966
3451
  readonly OAUTH2: "OAUTH2";
@@ -2976,9 +3461,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
2976
3461
  readonly SAML: "SAML";
2977
3462
  readonly DCR_OAUTH: "DCR_OAUTH";
2978
3463
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2979
- }>; /** Whether this auth config is managed by Composio */
2980
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2981
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3464
+ }>;
3465
+ /** Whether this auth config is managed by Composio */
3466
+ is_composio_managed: z$1.ZodBoolean;
3467
+ /** Whether the auth config is disabled */
3468
+ is_disabled: z$1.ZodBoolean;
3469
+ /** @deprecated */
2982
3470
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
2983
3471
  uuid: z$1.ZodString;
2984
3472
  }, "strip", z$1.ZodTypeAny, {
@@ -2987,7 +3475,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
2987
3475
  uuid: string;
2988
3476
  }>>;
2989
3477
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2990
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3478
+ /** The nano ID of the auth config */
3479
+ id: z$1.ZodString;
3480
+ /** @deprecated - use state.authScheme instead */
2991
3481
  auth_scheme: z$1.ZodNativeEnum<{
2992
3482
  readonly OAUTH1: "OAUTH1";
2993
3483
  readonly OAUTH2: "OAUTH2";
@@ -3003,9 +3493,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3003
3493
  readonly SAML: "SAML";
3004
3494
  readonly DCR_OAUTH: "DCR_OAUTH";
3005
3495
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3006
- }>; /** Whether this auth config is managed by Composio */
3007
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3008
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3496
+ }>;
3497
+ /** Whether this auth config is managed by Composio */
3498
+ is_composio_managed: z$1.ZodBoolean;
3499
+ /** Whether the auth config is disabled */
3500
+ is_disabled: z$1.ZodBoolean;
3501
+ /** @deprecated */
3009
3502
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3010
3503
  uuid: z$1.ZodString;
3011
3504
  }, "strip", z$1.ZodTypeAny, {
@@ -3014,7 +3507,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3014
3507
  uuid: string;
3015
3508
  }>>;
3016
3509
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3017
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3510
+ /** The nano ID of the auth config */
3511
+ id: z$1.ZodString;
3512
+ /** @deprecated - use state.authScheme instead */
3018
3513
  auth_scheme: z$1.ZodNativeEnum<{
3019
3514
  readonly OAUTH1: "OAUTH1";
3020
3515
  readonly OAUTH2: "OAUTH2";
@@ -3030,9 +3525,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3030
3525
  readonly SAML: "SAML";
3031
3526
  readonly DCR_OAUTH: "DCR_OAUTH";
3032
3527
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3033
- }>; /** Whether this auth config is managed by Composio */
3034
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3035
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3528
+ }>;
3529
+ /** Whether this auth config is managed by Composio */
3530
+ is_composio_managed: z$1.ZodBoolean;
3531
+ /** Whether the auth config is disabled */
3532
+ is_disabled: z$1.ZodBoolean;
3533
+ /** @deprecated */
3036
3534
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3037
3535
  uuid: z$1.ZodString;
3038
3536
  }, "strip", z$1.ZodTypeAny, {
@@ -3040,9 +3538,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3040
3538
  }, {
3041
3539
  uuid: string;
3042
3540
  }>>;
3043
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3044
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
3045
- user_id: z$1.ZodString; /** Connection status */
3541
+ }, z$1.ZodTypeAny, "passthrough">>;
3542
+ /** The nano ID of the connected account */
3543
+ id: z$1.ZodString;
3544
+ /** @deprecated - user ID of the connection owner */
3545
+ user_id: z$1.ZodString;
3546
+ /** Connection status */
3046
3547
  status: z$1.ZodNativeEnum<{
3047
3548
  readonly INITIALIZING: "INITIALIZING";
3048
3549
  readonly INITIATED: "INITIATED";
@@ -3051,11 +3552,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3051
3552
  readonly EXPIRED: "EXPIRED";
3052
3553
  readonly INACTIVE: "INACTIVE";
3053
3554
  readonly REVOKED: "REVOKED";
3054
- }>; /** ISO-8601 timestamp of creation */
3055
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
3056
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
3555
+ }>;
3556
+ /** ISO-8601 timestamp of creation */
3557
+ created_at: z$1.ZodString;
3558
+ /** ISO-8601 timestamp of last update */
3559
+ updated_at: z$1.ZodString;
3560
+ /** Connection state data (auth scheme + state values) */
3057
3561
  state: z$1.ZodObject<{
3058
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3562
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3563
+ authScheme: z$1.ZodNativeEnum<{
3059
3564
  readonly OAUTH1: "OAUTH1";
3060
3565
  readonly OAUTH2: "OAUTH2";
3061
3566
  readonly API_KEY: "API_KEY";
@@ -3070,10 +3575,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3070
3575
  readonly SAML: "SAML";
3071
3576
  readonly DCR_OAUTH: "DCR_OAUTH";
3072
3577
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3073
- }>; /** Connection state values - varies by auth scheme */
3578
+ }>;
3579
+ /** Connection state values - varies by auth scheme */
3074
3580
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3075
3581
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3076
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3582
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3583
+ authScheme: z$1.ZodNativeEnum<{
3077
3584
  readonly OAUTH1: "OAUTH1";
3078
3585
  readonly OAUTH2: "OAUTH2";
3079
3586
  readonly API_KEY: "API_KEY";
@@ -3088,10 +3595,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3088
3595
  readonly SAML: "SAML";
3089
3596
  readonly DCR_OAUTH: "DCR_OAUTH";
3090
3597
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3091
- }>; /** Connection state values - varies by auth scheme */
3598
+ }>;
3599
+ /** Connection state values - varies by auth scheme */
3092
3600
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3093
3601
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3094
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3602
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3603
+ authScheme: z$1.ZodNativeEnum<{
3095
3604
  readonly OAUTH1: "OAUTH1";
3096
3605
  readonly OAUTH2: "OAUTH2";
3097
3606
  readonly API_KEY: "API_KEY";
@@ -3106,14 +3615,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3106
3615
  readonly SAML: "SAML";
3107
3616
  readonly DCR_OAUTH: "DCR_OAUTH";
3108
3617
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3109
- }>; /** Connection state values - varies by auth scheme */
3618
+ }>;
3619
+ /** Connection state values - varies by auth scheme */
3110
3620
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3111
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3112
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
3113
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3114
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
3115
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
3116
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
3621
+ }, z$1.ZodTypeAny, "passthrough">>;
3622
+ /** @deprecated - use state instead */
3623
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3624
+ /** @deprecated - use state instead */
3625
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3626
+ /** Reason for the current status (e.g., expiration reason) */
3627
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
3628
+ /** Whether the connection is disabled */
3629
+ is_disabled: z$1.ZodBoolean;
3630
+ /** Endpoint for making test requests */
3631
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
3632
+ /** @deprecated */
3117
3633
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3118
3634
  labels: z$1.ZodArray<z$1.ZodString, "many">;
3119
3635
  uuid: z$1.ZodString;
@@ -3125,15 +3641,19 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3125
3641
  labels: string[];
3126
3642
  }>>;
3127
3643
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3128
- /** Toolkit information */toolkit: z$1.ZodObject<{
3644
+ /** Toolkit information */
3645
+ toolkit: z$1.ZodObject<{
3129
3646
  slug: z$1.ZodString;
3130
3647
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3131
3648
  slug: z$1.ZodString;
3132
3649
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3133
3650
  slug: z$1.ZodString;
3134
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3651
+ }, z$1.ZodTypeAny, "passthrough">>;
3652
+ /** Auth config details */
3135
3653
  auth_config: z$1.ZodObject<{
3136
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3654
+ /** The nano ID of the auth config */
3655
+ id: z$1.ZodString;
3656
+ /** @deprecated - use state.authScheme instead */
3137
3657
  auth_scheme: z$1.ZodNativeEnum<{
3138
3658
  readonly OAUTH1: "OAUTH1";
3139
3659
  readonly OAUTH2: "OAUTH2";
@@ -3149,9 +3669,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3149
3669
  readonly SAML: "SAML";
3150
3670
  readonly DCR_OAUTH: "DCR_OAUTH";
3151
3671
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3152
- }>; /** Whether this auth config is managed by Composio */
3153
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3154
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3672
+ }>;
3673
+ /** Whether this auth config is managed by Composio */
3674
+ is_composio_managed: z$1.ZodBoolean;
3675
+ /** Whether the auth config is disabled */
3676
+ is_disabled: z$1.ZodBoolean;
3677
+ /** @deprecated */
3155
3678
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3156
3679
  uuid: z$1.ZodString;
3157
3680
  }, "strip", z$1.ZodTypeAny, {
@@ -3160,7 +3683,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3160
3683
  uuid: string;
3161
3684
  }>>;
3162
3685
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3163
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3686
+ /** The nano ID of the auth config */
3687
+ id: z$1.ZodString;
3688
+ /** @deprecated - use state.authScheme instead */
3164
3689
  auth_scheme: z$1.ZodNativeEnum<{
3165
3690
  readonly OAUTH1: "OAUTH1";
3166
3691
  readonly OAUTH2: "OAUTH2";
@@ -3176,9 +3701,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3176
3701
  readonly SAML: "SAML";
3177
3702
  readonly DCR_OAUTH: "DCR_OAUTH";
3178
3703
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3179
- }>; /** Whether this auth config is managed by Composio */
3180
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3181
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3704
+ }>;
3705
+ /** Whether this auth config is managed by Composio */
3706
+ is_composio_managed: z$1.ZodBoolean;
3707
+ /** Whether the auth config is disabled */
3708
+ is_disabled: z$1.ZodBoolean;
3709
+ /** @deprecated */
3182
3710
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3183
3711
  uuid: z$1.ZodString;
3184
3712
  }, "strip", z$1.ZodTypeAny, {
@@ -3187,7 +3715,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3187
3715
  uuid: string;
3188
3716
  }>>;
3189
3717
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3190
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3718
+ /** The nano ID of the auth config */
3719
+ id: z$1.ZodString;
3720
+ /** @deprecated - use state.authScheme instead */
3191
3721
  auth_scheme: z$1.ZodNativeEnum<{
3192
3722
  readonly OAUTH1: "OAUTH1";
3193
3723
  readonly OAUTH2: "OAUTH2";
@@ -3203,9 +3733,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3203
3733
  readonly SAML: "SAML";
3204
3734
  readonly DCR_OAUTH: "DCR_OAUTH";
3205
3735
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3206
- }>; /** Whether this auth config is managed by Composio */
3207
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3208
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3736
+ }>;
3737
+ /** Whether this auth config is managed by Composio */
3738
+ is_composio_managed: z$1.ZodBoolean;
3739
+ /** Whether the auth config is disabled */
3740
+ is_disabled: z$1.ZodBoolean;
3741
+ /** @deprecated */
3209
3742
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3210
3743
  uuid: z$1.ZodString;
3211
3744
  }, "strip", z$1.ZodTypeAny, {
@@ -3213,9 +3746,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3213
3746
  }, {
3214
3747
  uuid: string;
3215
3748
  }>>;
3216
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3217
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
3218
- user_id: z$1.ZodString; /** Connection status */
3749
+ }, z$1.ZodTypeAny, "passthrough">>;
3750
+ /** The nano ID of the connected account */
3751
+ id: z$1.ZodString;
3752
+ /** @deprecated - user ID of the connection owner */
3753
+ user_id: z$1.ZodString;
3754
+ /** Connection status */
3219
3755
  status: z$1.ZodNativeEnum<{
3220
3756
  readonly INITIALIZING: "INITIALIZING";
3221
3757
  readonly INITIATED: "INITIATED";
@@ -3224,11 +3760,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3224
3760
  readonly EXPIRED: "EXPIRED";
3225
3761
  readonly INACTIVE: "INACTIVE";
3226
3762
  readonly REVOKED: "REVOKED";
3227
- }>; /** ISO-8601 timestamp of creation */
3228
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
3229
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
3763
+ }>;
3764
+ /** ISO-8601 timestamp of creation */
3765
+ created_at: z$1.ZodString;
3766
+ /** ISO-8601 timestamp of last update */
3767
+ updated_at: z$1.ZodString;
3768
+ /** Connection state data (auth scheme + state values) */
3230
3769
  state: z$1.ZodObject<{
3231
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3770
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3771
+ authScheme: z$1.ZodNativeEnum<{
3232
3772
  readonly OAUTH1: "OAUTH1";
3233
3773
  readonly OAUTH2: "OAUTH2";
3234
3774
  readonly API_KEY: "API_KEY";
@@ -3243,10 +3783,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3243
3783
  readonly SAML: "SAML";
3244
3784
  readonly DCR_OAUTH: "DCR_OAUTH";
3245
3785
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3246
- }>; /** Connection state values - varies by auth scheme */
3786
+ }>;
3787
+ /** Connection state values - varies by auth scheme */
3247
3788
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3248
3789
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3249
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3790
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3791
+ authScheme: z$1.ZodNativeEnum<{
3250
3792
  readonly OAUTH1: "OAUTH1";
3251
3793
  readonly OAUTH2: "OAUTH2";
3252
3794
  readonly API_KEY: "API_KEY";
@@ -3261,10 +3803,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3261
3803
  readonly SAML: "SAML";
3262
3804
  readonly DCR_OAUTH: "DCR_OAUTH";
3263
3805
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3264
- }>; /** Connection state values - varies by auth scheme */
3806
+ }>;
3807
+ /** Connection state values - varies by auth scheme */
3265
3808
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3266
3809
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3267
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3810
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3811
+ authScheme: z$1.ZodNativeEnum<{
3268
3812
  readonly OAUTH1: "OAUTH1";
3269
3813
  readonly OAUTH2: "OAUTH2";
3270
3814
  readonly API_KEY: "API_KEY";
@@ -3279,14 +3823,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3279
3823
  readonly SAML: "SAML";
3280
3824
  readonly DCR_OAUTH: "DCR_OAUTH";
3281
3825
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3282
- }>; /** Connection state values - varies by auth scheme */
3826
+ }>;
3827
+ /** Connection state values - varies by auth scheme */
3283
3828
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3284
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3285
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
3286
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3287
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
3288
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
3289
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
3829
+ }, z$1.ZodTypeAny, "passthrough">>;
3830
+ /** @deprecated - use state instead */
3831
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3832
+ /** @deprecated - use state instead */
3833
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3834
+ /** Reason for the current status (e.g., expiration reason) */
3835
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
3836
+ /** Whether the connection is disabled */
3837
+ is_disabled: z$1.ZodBoolean;
3838
+ /** Endpoint for making test requests */
3839
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
3840
+ /** @deprecated */
3290
3841
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3291
3842
  labels: z$1.ZodArray<z$1.ZodString, "many">;
3292
3843
  uuid: z$1.ZodString;
@@ -3298,15 +3849,19 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3298
3849
  labels: string[];
3299
3850
  }>>;
3300
3851
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3301
- /** Toolkit information */toolkit: z$1.ZodObject<{
3852
+ /** Toolkit information */
3853
+ toolkit: z$1.ZodObject<{
3302
3854
  slug: z$1.ZodString;
3303
3855
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3304
3856
  slug: z$1.ZodString;
3305
3857
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3306
3858
  slug: z$1.ZodString;
3307
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3859
+ }, z$1.ZodTypeAny, "passthrough">>;
3860
+ /** Auth config details */
3308
3861
  auth_config: z$1.ZodObject<{
3309
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3862
+ /** The nano ID of the auth config */
3863
+ id: z$1.ZodString;
3864
+ /** @deprecated - use state.authScheme instead */
3310
3865
  auth_scheme: z$1.ZodNativeEnum<{
3311
3866
  readonly OAUTH1: "OAUTH1";
3312
3867
  readonly OAUTH2: "OAUTH2";
@@ -3322,9 +3877,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3322
3877
  readonly SAML: "SAML";
3323
3878
  readonly DCR_OAUTH: "DCR_OAUTH";
3324
3879
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3325
- }>; /** Whether this auth config is managed by Composio */
3326
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3327
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3880
+ }>;
3881
+ /** Whether this auth config is managed by Composio */
3882
+ is_composio_managed: z$1.ZodBoolean;
3883
+ /** Whether the auth config is disabled */
3884
+ is_disabled: z$1.ZodBoolean;
3885
+ /** @deprecated */
3328
3886
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3329
3887
  uuid: z$1.ZodString;
3330
3888
  }, "strip", z$1.ZodTypeAny, {
@@ -3333,7 +3891,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3333
3891
  uuid: string;
3334
3892
  }>>;
3335
3893
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3336
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3894
+ /** The nano ID of the auth config */
3895
+ id: z$1.ZodString;
3896
+ /** @deprecated - use state.authScheme instead */
3337
3897
  auth_scheme: z$1.ZodNativeEnum<{
3338
3898
  readonly OAUTH1: "OAUTH1";
3339
3899
  readonly OAUTH2: "OAUTH2";
@@ -3349,9 +3909,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3349
3909
  readonly SAML: "SAML";
3350
3910
  readonly DCR_OAUTH: "DCR_OAUTH";
3351
3911
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3352
- }>; /** Whether this auth config is managed by Composio */
3353
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3354
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3912
+ }>;
3913
+ /** Whether this auth config is managed by Composio */
3914
+ is_composio_managed: z$1.ZodBoolean;
3915
+ /** Whether the auth config is disabled */
3916
+ is_disabled: z$1.ZodBoolean;
3917
+ /** @deprecated */
3355
3918
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3356
3919
  uuid: z$1.ZodString;
3357
3920
  }, "strip", z$1.ZodTypeAny, {
@@ -3360,7 +3923,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3360
3923
  uuid: string;
3361
3924
  }>>;
3362
3925
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3363
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3926
+ /** The nano ID of the auth config */
3927
+ id: z$1.ZodString;
3928
+ /** @deprecated - use state.authScheme instead */
3364
3929
  auth_scheme: z$1.ZodNativeEnum<{
3365
3930
  readonly OAUTH1: "OAUTH1";
3366
3931
  readonly OAUTH2: "OAUTH2";
@@ -3376,9 +3941,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3376
3941
  readonly SAML: "SAML";
3377
3942
  readonly DCR_OAUTH: "DCR_OAUTH";
3378
3943
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3379
- }>; /** Whether this auth config is managed by Composio */
3380
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3381
- is_disabled: z$1.ZodBoolean; /** @deprecated */
3944
+ }>;
3945
+ /** Whether this auth config is managed by Composio */
3946
+ is_composio_managed: z$1.ZodBoolean;
3947
+ /** Whether the auth config is disabled */
3948
+ is_disabled: z$1.ZodBoolean;
3949
+ /** @deprecated */
3382
3950
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3383
3951
  uuid: z$1.ZodString;
3384
3952
  }, "strip", z$1.ZodTypeAny, {
@@ -3386,9 +3954,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3386
3954
  }, {
3387
3955
  uuid: string;
3388
3956
  }>>;
3389
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3390
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
3391
- user_id: z$1.ZodString; /** Connection status */
3957
+ }, z$1.ZodTypeAny, "passthrough">>;
3958
+ /** The nano ID of the connected account */
3959
+ id: z$1.ZodString;
3960
+ /** @deprecated - user ID of the connection owner */
3961
+ user_id: z$1.ZodString;
3962
+ /** Connection status */
3392
3963
  status: z$1.ZodNativeEnum<{
3393
3964
  readonly INITIALIZING: "INITIALIZING";
3394
3965
  readonly INITIATED: "INITIATED";
@@ -3397,11 +3968,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3397
3968
  readonly EXPIRED: "EXPIRED";
3398
3969
  readonly INACTIVE: "INACTIVE";
3399
3970
  readonly REVOKED: "REVOKED";
3400
- }>; /** ISO-8601 timestamp of creation */
3401
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
3402
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
3971
+ }>;
3972
+ /** ISO-8601 timestamp of creation */
3973
+ created_at: z$1.ZodString;
3974
+ /** ISO-8601 timestamp of last update */
3975
+ updated_at: z$1.ZodString;
3976
+ /** Connection state data (auth scheme + state values) */
3403
3977
  state: z$1.ZodObject<{
3404
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3978
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3979
+ authScheme: z$1.ZodNativeEnum<{
3405
3980
  readonly OAUTH1: "OAUTH1";
3406
3981
  readonly OAUTH2: "OAUTH2";
3407
3982
  readonly API_KEY: "API_KEY";
@@ -3416,10 +3991,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3416
3991
  readonly SAML: "SAML";
3417
3992
  readonly DCR_OAUTH: "DCR_OAUTH";
3418
3993
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3419
- }>; /** Connection state values - varies by auth scheme */
3994
+ }>;
3995
+ /** Connection state values - varies by auth scheme */
3420
3996
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3421
3997
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3422
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3998
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
3999
+ authScheme: z$1.ZodNativeEnum<{
3423
4000
  readonly OAUTH1: "OAUTH1";
3424
4001
  readonly OAUTH2: "OAUTH2";
3425
4002
  readonly API_KEY: "API_KEY";
@@ -3434,10 +4011,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3434
4011
  readonly SAML: "SAML";
3435
4012
  readonly DCR_OAUTH: "DCR_OAUTH";
3436
4013
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3437
- }>; /** Connection state values - varies by auth scheme */
4014
+ }>;
4015
+ /** Connection state values - varies by auth scheme */
3438
4016
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3439
4017
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3440
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4018
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4019
+ authScheme: z$1.ZodNativeEnum<{
3441
4020
  readonly OAUTH1: "OAUTH1";
3442
4021
  readonly OAUTH2: "OAUTH2";
3443
4022
  readonly API_KEY: "API_KEY";
@@ -3452,14 +4031,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3452
4031
  readonly SAML: "SAML";
3453
4032
  readonly DCR_OAUTH: "DCR_OAUTH";
3454
4033
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3455
- }>; /** Connection state values - varies by auth scheme */
4034
+ }>;
4035
+ /** Connection state values - varies by auth scheme */
3456
4036
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3457
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3458
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
3459
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3460
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
3461
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
3462
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
4037
+ }, z$1.ZodTypeAny, "passthrough">>;
4038
+ /** @deprecated - use state instead */
4039
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4040
+ /** @deprecated - use state instead */
4041
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4042
+ /** Reason for the current status (e.g., expiration reason) */
4043
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4044
+ /** Whether the connection is disabled */
4045
+ is_disabled: z$1.ZodBoolean;
4046
+ /** Endpoint for making test requests */
4047
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4048
+ /** @deprecated */
3463
4049
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3464
4050
  labels: z$1.ZodArray<z$1.ZodString, "many">;
3465
4051
  uuid: z$1.ZodString;
@@ -3470,31 +4056,46 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3470
4056
  uuid: string;
3471
4057
  labels: string[];
3472
4058
  }>>;
3473
- }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
4059
+ }, z$1.ZodTypeAny, "passthrough">>;
4060
+ /** Event metadata */
3474
4061
  metadata: z$1.ZodObject<{
3475
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4062
+ /** Project nano ID */
4063
+ project_id: z$1.ZodString;
4064
+ /** Organization UUID */
3476
4065
  org_id: z$1.ZodString;
3477
4066
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3478
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4067
+ /** Project nano ID */
4068
+ project_id: z$1.ZodString;
4069
+ /** Organization UUID */
3479
4070
  org_id: z$1.ZodString;
3480
4071
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3481
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4072
+ /** Project nano ID */
4073
+ project_id: z$1.ZodString;
4074
+ /** Organization UUID */
3482
4075
  org_id: z$1.ZodString;
3483
4076
  }, z$1.ZodTypeAny, "passthrough">>;
3484
4077
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3485
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z$1.ZodString; /** ISO-8601 timestamp of when the event was emitted */
3486
- timestamp: z$1.ZodString; /** Event type identifier */
3487
- type: z$1.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
4078
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
4079
+ id: z$1.ZodString;
4080
+ /** ISO-8601 timestamp of when the event was emitted */
4081
+ timestamp: z$1.ZodString;
4082
+ /** Event type identifier */
4083
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
4084
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
3488
4085
  data: z$1.ZodObject<{
3489
- /** Toolkit information */toolkit: z$1.ZodObject<{
4086
+ /** Toolkit information */
4087
+ toolkit: z$1.ZodObject<{
3490
4088
  slug: z$1.ZodString;
3491
4089
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3492
4090
  slug: z$1.ZodString;
3493
4091
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3494
4092
  slug: z$1.ZodString;
3495
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
4093
+ }, z$1.ZodTypeAny, "passthrough">>;
4094
+ /** Auth config details */
3496
4095
  auth_config: z$1.ZodObject<{
3497
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4096
+ /** The nano ID of the auth config */
4097
+ id: z$1.ZodString;
4098
+ /** @deprecated - use state.authScheme instead */
3498
4099
  auth_scheme: z$1.ZodNativeEnum<{
3499
4100
  readonly OAUTH1: "OAUTH1";
3500
4101
  readonly OAUTH2: "OAUTH2";
@@ -3510,9 +4111,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3510
4111
  readonly SAML: "SAML";
3511
4112
  readonly DCR_OAUTH: "DCR_OAUTH";
3512
4113
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3513
- }>; /** Whether this auth config is managed by Composio */
3514
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3515
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4114
+ }>;
4115
+ /** Whether this auth config is managed by Composio */
4116
+ is_composio_managed: z$1.ZodBoolean;
4117
+ /** Whether the auth config is disabled */
4118
+ is_disabled: z$1.ZodBoolean;
4119
+ /** @deprecated */
3516
4120
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3517
4121
  uuid: z$1.ZodString;
3518
4122
  }, "strip", z$1.ZodTypeAny, {
@@ -3521,7 +4125,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3521
4125
  uuid: string;
3522
4126
  }>>;
3523
4127
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3524
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4128
+ /** The nano ID of the auth config */
4129
+ id: z$1.ZodString;
4130
+ /** @deprecated - use state.authScheme instead */
3525
4131
  auth_scheme: z$1.ZodNativeEnum<{
3526
4132
  readonly OAUTH1: "OAUTH1";
3527
4133
  readonly OAUTH2: "OAUTH2";
@@ -3537,9 +4143,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3537
4143
  readonly SAML: "SAML";
3538
4144
  readonly DCR_OAUTH: "DCR_OAUTH";
3539
4145
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3540
- }>; /** Whether this auth config is managed by Composio */
3541
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3542
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4146
+ }>;
4147
+ /** Whether this auth config is managed by Composio */
4148
+ is_composio_managed: z$1.ZodBoolean;
4149
+ /** Whether the auth config is disabled */
4150
+ is_disabled: z$1.ZodBoolean;
4151
+ /** @deprecated */
3543
4152
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3544
4153
  uuid: z$1.ZodString;
3545
4154
  }, "strip", z$1.ZodTypeAny, {
@@ -3548,7 +4157,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3548
4157
  uuid: string;
3549
4158
  }>>;
3550
4159
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3551
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4160
+ /** The nano ID of the auth config */
4161
+ id: z$1.ZodString;
4162
+ /** @deprecated - use state.authScheme instead */
3552
4163
  auth_scheme: z$1.ZodNativeEnum<{
3553
4164
  readonly OAUTH1: "OAUTH1";
3554
4165
  readonly OAUTH2: "OAUTH2";
@@ -3564,9 +4175,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3564
4175
  readonly SAML: "SAML";
3565
4176
  readonly DCR_OAUTH: "DCR_OAUTH";
3566
4177
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3567
- }>; /** Whether this auth config is managed by Composio */
3568
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3569
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4178
+ }>;
4179
+ /** Whether this auth config is managed by Composio */
4180
+ is_composio_managed: z$1.ZodBoolean;
4181
+ /** Whether the auth config is disabled */
4182
+ is_disabled: z$1.ZodBoolean;
4183
+ /** @deprecated */
3570
4184
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3571
4185
  uuid: z$1.ZodString;
3572
4186
  }, "strip", z$1.ZodTypeAny, {
@@ -3574,9 +4188,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3574
4188
  }, {
3575
4189
  uuid: string;
3576
4190
  }>>;
3577
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3578
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
3579
- user_id: z$1.ZodString; /** Connection status */
4191
+ }, z$1.ZodTypeAny, "passthrough">>;
4192
+ /** The nano ID of the connected account */
4193
+ id: z$1.ZodString;
4194
+ /** @deprecated - user ID of the connection owner */
4195
+ user_id: z$1.ZodString;
4196
+ /** Connection status */
3580
4197
  status: z$1.ZodNativeEnum<{
3581
4198
  readonly INITIALIZING: "INITIALIZING";
3582
4199
  readonly INITIATED: "INITIATED";
@@ -3585,11 +4202,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3585
4202
  readonly EXPIRED: "EXPIRED";
3586
4203
  readonly INACTIVE: "INACTIVE";
3587
4204
  readonly REVOKED: "REVOKED";
3588
- }>; /** ISO-8601 timestamp of creation */
3589
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
3590
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
4205
+ }>;
4206
+ /** ISO-8601 timestamp of creation */
4207
+ created_at: z$1.ZodString;
4208
+ /** ISO-8601 timestamp of last update */
4209
+ updated_at: z$1.ZodString;
4210
+ /** Connection state data (auth scheme + state values) */
3591
4211
  state: z$1.ZodObject<{
3592
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4212
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4213
+ authScheme: z$1.ZodNativeEnum<{
3593
4214
  readonly OAUTH1: "OAUTH1";
3594
4215
  readonly OAUTH2: "OAUTH2";
3595
4216
  readonly API_KEY: "API_KEY";
@@ -3604,10 +4225,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3604
4225
  readonly SAML: "SAML";
3605
4226
  readonly DCR_OAUTH: "DCR_OAUTH";
3606
4227
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3607
- }>; /** Connection state values - varies by auth scheme */
4228
+ }>;
4229
+ /** Connection state values - varies by auth scheme */
3608
4230
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3609
4231
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3610
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4232
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4233
+ authScheme: z$1.ZodNativeEnum<{
3611
4234
  readonly OAUTH1: "OAUTH1";
3612
4235
  readonly OAUTH2: "OAUTH2";
3613
4236
  readonly API_KEY: "API_KEY";
@@ -3622,10 +4245,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3622
4245
  readonly SAML: "SAML";
3623
4246
  readonly DCR_OAUTH: "DCR_OAUTH";
3624
4247
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3625
- }>; /** Connection state values - varies by auth scheme */
4248
+ }>;
4249
+ /** Connection state values - varies by auth scheme */
3626
4250
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3627
4251
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3628
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4252
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4253
+ authScheme: z$1.ZodNativeEnum<{
3629
4254
  readonly OAUTH1: "OAUTH1";
3630
4255
  readonly OAUTH2: "OAUTH2";
3631
4256
  readonly API_KEY: "API_KEY";
@@ -3640,14 +4265,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3640
4265
  readonly SAML: "SAML";
3641
4266
  readonly DCR_OAUTH: "DCR_OAUTH";
3642
4267
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3643
- }>; /** Connection state values - varies by auth scheme */
4268
+ }>;
4269
+ /** Connection state values - varies by auth scheme */
3644
4270
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3645
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3646
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
3647
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3648
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
3649
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
3650
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
4271
+ }, z$1.ZodTypeAny, "passthrough">>;
4272
+ /** @deprecated - use state instead */
4273
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4274
+ /** @deprecated - use state instead */
4275
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4276
+ /** Reason for the current status (e.g., expiration reason) */
4277
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4278
+ /** Whether the connection is disabled */
4279
+ is_disabled: z$1.ZodBoolean;
4280
+ /** Endpoint for making test requests */
4281
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4282
+ /** @deprecated */
3651
4283
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3652
4284
  labels: z$1.ZodArray<z$1.ZodString, "many">;
3653
4285
  uuid: z$1.ZodString;
@@ -3659,15 +4291,19 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3659
4291
  labels: string[];
3660
4292
  }>>;
3661
4293
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3662
- /** Toolkit information */toolkit: z$1.ZodObject<{
4294
+ /** Toolkit information */
4295
+ toolkit: z$1.ZodObject<{
3663
4296
  slug: z$1.ZodString;
3664
4297
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3665
4298
  slug: z$1.ZodString;
3666
4299
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3667
4300
  slug: z$1.ZodString;
3668
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
4301
+ }, z$1.ZodTypeAny, "passthrough">>;
4302
+ /** Auth config details */
3669
4303
  auth_config: z$1.ZodObject<{
3670
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4304
+ /** The nano ID of the auth config */
4305
+ id: z$1.ZodString;
4306
+ /** @deprecated - use state.authScheme instead */
3671
4307
  auth_scheme: z$1.ZodNativeEnum<{
3672
4308
  readonly OAUTH1: "OAUTH1";
3673
4309
  readonly OAUTH2: "OAUTH2";
@@ -3683,9 +4319,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3683
4319
  readonly SAML: "SAML";
3684
4320
  readonly DCR_OAUTH: "DCR_OAUTH";
3685
4321
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3686
- }>; /** Whether this auth config is managed by Composio */
3687
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3688
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4322
+ }>;
4323
+ /** Whether this auth config is managed by Composio */
4324
+ is_composio_managed: z$1.ZodBoolean;
4325
+ /** Whether the auth config is disabled */
4326
+ is_disabled: z$1.ZodBoolean;
4327
+ /** @deprecated */
3689
4328
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3690
4329
  uuid: z$1.ZodString;
3691
4330
  }, "strip", z$1.ZodTypeAny, {
@@ -3694,7 +4333,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3694
4333
  uuid: string;
3695
4334
  }>>;
3696
4335
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3697
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4336
+ /** The nano ID of the auth config */
4337
+ id: z$1.ZodString;
4338
+ /** @deprecated - use state.authScheme instead */
3698
4339
  auth_scheme: z$1.ZodNativeEnum<{
3699
4340
  readonly OAUTH1: "OAUTH1";
3700
4341
  readonly OAUTH2: "OAUTH2";
@@ -3710,9 +4351,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3710
4351
  readonly SAML: "SAML";
3711
4352
  readonly DCR_OAUTH: "DCR_OAUTH";
3712
4353
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3713
- }>; /** Whether this auth config is managed by Composio */
3714
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3715
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4354
+ }>;
4355
+ /** Whether this auth config is managed by Composio */
4356
+ is_composio_managed: z$1.ZodBoolean;
4357
+ /** Whether the auth config is disabled */
4358
+ is_disabled: z$1.ZodBoolean;
4359
+ /** @deprecated */
3716
4360
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3717
4361
  uuid: z$1.ZodString;
3718
4362
  }, "strip", z$1.ZodTypeAny, {
@@ -3721,7 +4365,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3721
4365
  uuid: string;
3722
4366
  }>>;
3723
4367
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3724
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4368
+ /** The nano ID of the auth config */
4369
+ id: z$1.ZodString;
4370
+ /** @deprecated - use state.authScheme instead */
3725
4371
  auth_scheme: z$1.ZodNativeEnum<{
3726
4372
  readonly OAUTH1: "OAUTH1";
3727
4373
  readonly OAUTH2: "OAUTH2";
@@ -3737,9 +4383,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3737
4383
  readonly SAML: "SAML";
3738
4384
  readonly DCR_OAUTH: "DCR_OAUTH";
3739
4385
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3740
- }>; /** Whether this auth config is managed by Composio */
3741
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3742
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4386
+ }>;
4387
+ /** Whether this auth config is managed by Composio */
4388
+ is_composio_managed: z$1.ZodBoolean;
4389
+ /** Whether the auth config is disabled */
4390
+ is_disabled: z$1.ZodBoolean;
4391
+ /** @deprecated */
3743
4392
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3744
4393
  uuid: z$1.ZodString;
3745
4394
  }, "strip", z$1.ZodTypeAny, {
@@ -3747,9 +4396,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3747
4396
  }, {
3748
4397
  uuid: string;
3749
4398
  }>>;
3750
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3751
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
3752
- user_id: z$1.ZodString; /** Connection status */
4399
+ }, z$1.ZodTypeAny, "passthrough">>;
4400
+ /** The nano ID of the connected account */
4401
+ id: z$1.ZodString;
4402
+ /** @deprecated - user ID of the connection owner */
4403
+ user_id: z$1.ZodString;
4404
+ /** Connection status */
3753
4405
  status: z$1.ZodNativeEnum<{
3754
4406
  readonly INITIALIZING: "INITIALIZING";
3755
4407
  readonly INITIATED: "INITIATED";
@@ -3758,11 +4410,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3758
4410
  readonly EXPIRED: "EXPIRED";
3759
4411
  readonly INACTIVE: "INACTIVE";
3760
4412
  readonly REVOKED: "REVOKED";
3761
- }>; /** ISO-8601 timestamp of creation */
3762
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
3763
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
4413
+ }>;
4414
+ /** ISO-8601 timestamp of creation */
4415
+ created_at: z$1.ZodString;
4416
+ /** ISO-8601 timestamp of last update */
4417
+ updated_at: z$1.ZodString;
4418
+ /** Connection state data (auth scheme + state values) */
3764
4419
  state: z$1.ZodObject<{
3765
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4420
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4421
+ authScheme: z$1.ZodNativeEnum<{
3766
4422
  readonly OAUTH1: "OAUTH1";
3767
4423
  readonly OAUTH2: "OAUTH2";
3768
4424
  readonly API_KEY: "API_KEY";
@@ -3777,10 +4433,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3777
4433
  readonly SAML: "SAML";
3778
4434
  readonly DCR_OAUTH: "DCR_OAUTH";
3779
4435
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3780
- }>; /** Connection state values - varies by auth scheme */
4436
+ }>;
4437
+ /** Connection state values - varies by auth scheme */
3781
4438
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3782
4439
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3783
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4440
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4441
+ authScheme: z$1.ZodNativeEnum<{
3784
4442
  readonly OAUTH1: "OAUTH1";
3785
4443
  readonly OAUTH2: "OAUTH2";
3786
4444
  readonly API_KEY: "API_KEY";
@@ -3795,10 +4453,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3795
4453
  readonly SAML: "SAML";
3796
4454
  readonly DCR_OAUTH: "DCR_OAUTH";
3797
4455
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3798
- }>; /** Connection state values - varies by auth scheme */
4456
+ }>;
4457
+ /** Connection state values - varies by auth scheme */
3799
4458
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3800
4459
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3801
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4460
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4461
+ authScheme: z$1.ZodNativeEnum<{
3802
4462
  readonly OAUTH1: "OAUTH1";
3803
4463
  readonly OAUTH2: "OAUTH2";
3804
4464
  readonly API_KEY: "API_KEY";
@@ -3813,14 +4473,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3813
4473
  readonly SAML: "SAML";
3814
4474
  readonly DCR_OAUTH: "DCR_OAUTH";
3815
4475
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3816
- }>; /** Connection state values - varies by auth scheme */
4476
+ }>;
4477
+ /** Connection state values - varies by auth scheme */
3817
4478
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3818
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3819
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
3820
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3821
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
3822
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
3823
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
4479
+ }, z$1.ZodTypeAny, "passthrough">>;
4480
+ /** @deprecated - use state instead */
4481
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4482
+ /** @deprecated - use state instead */
4483
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4484
+ /** Reason for the current status (e.g., expiration reason) */
4485
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4486
+ /** Whether the connection is disabled */
4487
+ is_disabled: z$1.ZodBoolean;
4488
+ /** Endpoint for making test requests */
4489
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4490
+ /** @deprecated */
3824
4491
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3825
4492
  labels: z$1.ZodArray<z$1.ZodString, "many">;
3826
4493
  uuid: z$1.ZodString;
@@ -3832,15 +4499,19 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3832
4499
  labels: string[];
3833
4500
  }>>;
3834
4501
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3835
- /** Toolkit information */toolkit: z$1.ZodObject<{
4502
+ /** Toolkit information */
4503
+ toolkit: z$1.ZodObject<{
3836
4504
  slug: z$1.ZodString;
3837
4505
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3838
4506
  slug: z$1.ZodString;
3839
4507
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3840
4508
  slug: z$1.ZodString;
3841
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
4509
+ }, z$1.ZodTypeAny, "passthrough">>;
4510
+ /** Auth config details */
3842
4511
  auth_config: z$1.ZodObject<{
3843
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4512
+ /** The nano ID of the auth config */
4513
+ id: z$1.ZodString;
4514
+ /** @deprecated - use state.authScheme instead */
3844
4515
  auth_scheme: z$1.ZodNativeEnum<{
3845
4516
  readonly OAUTH1: "OAUTH1";
3846
4517
  readonly OAUTH2: "OAUTH2";
@@ -3856,9 +4527,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3856
4527
  readonly SAML: "SAML";
3857
4528
  readonly DCR_OAUTH: "DCR_OAUTH";
3858
4529
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3859
- }>; /** Whether this auth config is managed by Composio */
3860
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3861
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4530
+ }>;
4531
+ /** Whether this auth config is managed by Composio */
4532
+ is_composio_managed: z$1.ZodBoolean;
4533
+ /** Whether the auth config is disabled */
4534
+ is_disabled: z$1.ZodBoolean;
4535
+ /** @deprecated */
3862
4536
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3863
4537
  uuid: z$1.ZodString;
3864
4538
  }, "strip", z$1.ZodTypeAny, {
@@ -3867,7 +4541,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3867
4541
  uuid: string;
3868
4542
  }>>;
3869
4543
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3870
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4544
+ /** The nano ID of the auth config */
4545
+ id: z$1.ZodString;
4546
+ /** @deprecated - use state.authScheme instead */
3871
4547
  auth_scheme: z$1.ZodNativeEnum<{
3872
4548
  readonly OAUTH1: "OAUTH1";
3873
4549
  readonly OAUTH2: "OAUTH2";
@@ -3883,9 +4559,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3883
4559
  readonly SAML: "SAML";
3884
4560
  readonly DCR_OAUTH: "DCR_OAUTH";
3885
4561
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3886
- }>; /** Whether this auth config is managed by Composio */
3887
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3888
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4562
+ }>;
4563
+ /** Whether this auth config is managed by Composio */
4564
+ is_composio_managed: z$1.ZodBoolean;
4565
+ /** Whether the auth config is disabled */
4566
+ is_disabled: z$1.ZodBoolean;
4567
+ /** @deprecated */
3889
4568
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3890
4569
  uuid: z$1.ZodString;
3891
4570
  }, "strip", z$1.ZodTypeAny, {
@@ -3894,7 +4573,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3894
4573
  uuid: string;
3895
4574
  }>>;
3896
4575
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3897
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4576
+ /** The nano ID of the auth config */
4577
+ id: z$1.ZodString;
4578
+ /** @deprecated - use state.authScheme instead */
3898
4579
  auth_scheme: z$1.ZodNativeEnum<{
3899
4580
  readonly OAUTH1: "OAUTH1";
3900
4581
  readonly OAUTH2: "OAUTH2";
@@ -3910,9 +4591,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3910
4591
  readonly SAML: "SAML";
3911
4592
  readonly DCR_OAUTH: "DCR_OAUTH";
3912
4593
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3913
- }>; /** Whether this auth config is managed by Composio */
3914
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3915
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4594
+ }>;
4595
+ /** Whether this auth config is managed by Composio */
4596
+ is_composio_managed: z$1.ZodBoolean;
4597
+ /** Whether the auth config is disabled */
4598
+ is_disabled: z$1.ZodBoolean;
4599
+ /** @deprecated */
3916
4600
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3917
4601
  uuid: z$1.ZodString;
3918
4602
  }, "strip", z$1.ZodTypeAny, {
@@ -3920,9 +4604,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3920
4604
  }, {
3921
4605
  uuid: string;
3922
4606
  }>>;
3923
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3924
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
3925
- user_id: z$1.ZodString; /** Connection status */
4607
+ }, z$1.ZodTypeAny, "passthrough">>;
4608
+ /** The nano ID of the connected account */
4609
+ id: z$1.ZodString;
4610
+ /** @deprecated - user ID of the connection owner */
4611
+ user_id: z$1.ZodString;
4612
+ /** Connection status */
3926
4613
  status: z$1.ZodNativeEnum<{
3927
4614
  readonly INITIALIZING: "INITIALIZING";
3928
4615
  readonly INITIATED: "INITIATED";
@@ -3931,11 +4618,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3931
4618
  readonly EXPIRED: "EXPIRED";
3932
4619
  readonly INACTIVE: "INACTIVE";
3933
4620
  readonly REVOKED: "REVOKED";
3934
- }>; /** ISO-8601 timestamp of creation */
3935
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
3936
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
4621
+ }>;
4622
+ /** ISO-8601 timestamp of creation */
4623
+ created_at: z$1.ZodString;
4624
+ /** ISO-8601 timestamp of last update */
4625
+ updated_at: z$1.ZodString;
4626
+ /** Connection state data (auth scheme + state values) */
3937
4627
  state: z$1.ZodObject<{
3938
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4628
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4629
+ authScheme: z$1.ZodNativeEnum<{
3939
4630
  readonly OAUTH1: "OAUTH1";
3940
4631
  readonly OAUTH2: "OAUTH2";
3941
4632
  readonly API_KEY: "API_KEY";
@@ -3950,10 +4641,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3950
4641
  readonly SAML: "SAML";
3951
4642
  readonly DCR_OAUTH: "DCR_OAUTH";
3952
4643
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3953
- }>; /** Connection state values - varies by auth scheme */
4644
+ }>;
4645
+ /** Connection state values - varies by auth scheme */
3954
4646
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3955
4647
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3956
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4648
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4649
+ authScheme: z$1.ZodNativeEnum<{
3957
4650
  readonly OAUTH1: "OAUTH1";
3958
4651
  readonly OAUTH2: "OAUTH2";
3959
4652
  readonly API_KEY: "API_KEY";
@@ -3968,10 +4661,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3968
4661
  readonly SAML: "SAML";
3969
4662
  readonly DCR_OAUTH: "DCR_OAUTH";
3970
4663
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3971
- }>; /** Connection state values - varies by auth scheme */
4664
+ }>;
4665
+ /** Connection state values - varies by auth scheme */
3972
4666
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3973
4667
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3974
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4668
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4669
+ authScheme: z$1.ZodNativeEnum<{
3975
4670
  readonly OAUTH1: "OAUTH1";
3976
4671
  readonly OAUTH2: "OAUTH2";
3977
4672
  readonly API_KEY: "API_KEY";
@@ -3986,14 +4681,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
3986
4681
  readonly SAML: "SAML";
3987
4682
  readonly DCR_OAUTH: "DCR_OAUTH";
3988
4683
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3989
- }>; /** Connection state values - varies by auth scheme */
4684
+ }>;
4685
+ /** Connection state values - varies by auth scheme */
3990
4686
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3991
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3992
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
3993
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3994
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
3995
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
3996
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
4687
+ }, z$1.ZodTypeAny, "passthrough">>;
4688
+ /** @deprecated - use state instead */
4689
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4690
+ /** @deprecated - use state instead */
4691
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4692
+ /** Reason for the current status (e.g., expiration reason) */
4693
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4694
+ /** Whether the connection is disabled */
4695
+ is_disabled: z$1.ZodBoolean;
4696
+ /** Endpoint for making test requests */
4697
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4698
+ /** @deprecated */
3997
4699
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
3998
4700
  labels: z$1.ZodArray<z$1.ZodString, "many">;
3999
4701
  uuid: z$1.ZodString;
@@ -4004,31 +4706,46 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4004
4706
  uuid: string;
4005
4707
  labels: string[];
4006
4708
  }>>;
4007
- }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
4709
+ }, z$1.ZodTypeAny, "passthrough">>;
4710
+ /** Event metadata */
4008
4711
  metadata: z$1.ZodObject<{
4009
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4712
+ /** Project nano ID */
4713
+ project_id: z$1.ZodString;
4714
+ /** Organization UUID */
4010
4715
  org_id: z$1.ZodString;
4011
4716
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4012
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4717
+ /** Project nano ID */
4718
+ project_id: z$1.ZodString;
4719
+ /** Organization UUID */
4013
4720
  org_id: z$1.ZodString;
4014
4721
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4015
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4722
+ /** Project nano ID */
4723
+ project_id: z$1.ZodString;
4724
+ /** Organization UUID */
4016
4725
  org_id: z$1.ZodString;
4017
4726
  }, z$1.ZodTypeAny, "passthrough">>;
4018
4727
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4019
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z$1.ZodString; /** ISO-8601 timestamp of when the event was emitted */
4020
- timestamp: z$1.ZodString; /** Event type identifier */
4021
- type: z$1.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
4728
+ /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
4729
+ id: z$1.ZodString;
4730
+ /** ISO-8601 timestamp of when the event was emitted */
4731
+ timestamp: z$1.ZodString;
4732
+ /** Event type identifier */
4733
+ type: z$1.ZodLiteral<"composio.connected_account.expired">;
4734
+ /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
4022
4735
  data: z$1.ZodObject<{
4023
- /** Toolkit information */toolkit: z$1.ZodObject<{
4736
+ /** Toolkit information */
4737
+ toolkit: z$1.ZodObject<{
4024
4738
  slug: z$1.ZodString;
4025
4739
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4026
4740
  slug: z$1.ZodString;
4027
4741
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4028
4742
  slug: z$1.ZodString;
4029
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
4743
+ }, z$1.ZodTypeAny, "passthrough">>;
4744
+ /** Auth config details */
4030
4745
  auth_config: z$1.ZodObject<{
4031
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4746
+ /** The nano ID of the auth config */
4747
+ id: z$1.ZodString;
4748
+ /** @deprecated - use state.authScheme instead */
4032
4749
  auth_scheme: z$1.ZodNativeEnum<{
4033
4750
  readonly OAUTH1: "OAUTH1";
4034
4751
  readonly OAUTH2: "OAUTH2";
@@ -4044,9 +4761,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4044
4761
  readonly SAML: "SAML";
4045
4762
  readonly DCR_OAUTH: "DCR_OAUTH";
4046
4763
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4047
- }>; /** Whether this auth config is managed by Composio */
4048
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4049
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4764
+ }>;
4765
+ /** Whether this auth config is managed by Composio */
4766
+ is_composio_managed: z$1.ZodBoolean;
4767
+ /** Whether the auth config is disabled */
4768
+ is_disabled: z$1.ZodBoolean;
4769
+ /** @deprecated */
4050
4770
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4051
4771
  uuid: z$1.ZodString;
4052
4772
  }, "strip", z$1.ZodTypeAny, {
@@ -4055,7 +4775,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4055
4775
  uuid: string;
4056
4776
  }>>;
4057
4777
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4058
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4778
+ /** The nano ID of the auth config */
4779
+ id: z$1.ZodString;
4780
+ /** @deprecated - use state.authScheme instead */
4059
4781
  auth_scheme: z$1.ZodNativeEnum<{
4060
4782
  readonly OAUTH1: "OAUTH1";
4061
4783
  readonly OAUTH2: "OAUTH2";
@@ -4071,9 +4793,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4071
4793
  readonly SAML: "SAML";
4072
4794
  readonly DCR_OAUTH: "DCR_OAUTH";
4073
4795
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4074
- }>; /** Whether this auth config is managed by Composio */
4075
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4076
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4796
+ }>;
4797
+ /** Whether this auth config is managed by Composio */
4798
+ is_composio_managed: z$1.ZodBoolean;
4799
+ /** Whether the auth config is disabled */
4800
+ is_disabled: z$1.ZodBoolean;
4801
+ /** @deprecated */
4077
4802
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4078
4803
  uuid: z$1.ZodString;
4079
4804
  }, "strip", z$1.ZodTypeAny, {
@@ -4082,7 +4807,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4082
4807
  uuid: string;
4083
4808
  }>>;
4084
4809
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4085
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4810
+ /** The nano ID of the auth config */
4811
+ id: z$1.ZodString;
4812
+ /** @deprecated - use state.authScheme instead */
4086
4813
  auth_scheme: z$1.ZodNativeEnum<{
4087
4814
  readonly OAUTH1: "OAUTH1";
4088
4815
  readonly OAUTH2: "OAUTH2";
@@ -4098,9 +4825,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4098
4825
  readonly SAML: "SAML";
4099
4826
  readonly DCR_OAUTH: "DCR_OAUTH";
4100
4827
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4101
- }>; /** Whether this auth config is managed by Composio */
4102
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4103
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4828
+ }>;
4829
+ /** Whether this auth config is managed by Composio */
4830
+ is_composio_managed: z$1.ZodBoolean;
4831
+ /** Whether the auth config is disabled */
4832
+ is_disabled: z$1.ZodBoolean;
4833
+ /** @deprecated */
4104
4834
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4105
4835
  uuid: z$1.ZodString;
4106
4836
  }, "strip", z$1.ZodTypeAny, {
@@ -4108,9 +4838,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4108
4838
  }, {
4109
4839
  uuid: string;
4110
4840
  }>>;
4111
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
4112
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
4113
- user_id: z$1.ZodString; /** Connection status */
4841
+ }, z$1.ZodTypeAny, "passthrough">>;
4842
+ /** The nano ID of the connected account */
4843
+ id: z$1.ZodString;
4844
+ /** @deprecated - user ID of the connection owner */
4845
+ user_id: z$1.ZodString;
4846
+ /** Connection status */
4114
4847
  status: z$1.ZodNativeEnum<{
4115
4848
  readonly INITIALIZING: "INITIALIZING";
4116
4849
  readonly INITIATED: "INITIATED";
@@ -4119,11 +4852,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4119
4852
  readonly EXPIRED: "EXPIRED";
4120
4853
  readonly INACTIVE: "INACTIVE";
4121
4854
  readonly REVOKED: "REVOKED";
4122
- }>; /** ISO-8601 timestamp of creation */
4123
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
4124
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
4855
+ }>;
4856
+ /** ISO-8601 timestamp of creation */
4857
+ created_at: z$1.ZodString;
4858
+ /** ISO-8601 timestamp of last update */
4859
+ updated_at: z$1.ZodString;
4860
+ /** Connection state data (auth scheme + state values) */
4125
4861
  state: z$1.ZodObject<{
4126
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4862
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4863
+ authScheme: z$1.ZodNativeEnum<{
4127
4864
  readonly OAUTH1: "OAUTH1";
4128
4865
  readonly OAUTH2: "OAUTH2";
4129
4866
  readonly API_KEY: "API_KEY";
@@ -4138,10 +4875,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4138
4875
  readonly SAML: "SAML";
4139
4876
  readonly DCR_OAUTH: "DCR_OAUTH";
4140
4877
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4141
- }>; /** Connection state values - varies by auth scheme */
4878
+ }>;
4879
+ /** Connection state values - varies by auth scheme */
4142
4880
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4143
4881
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4144
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4882
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4883
+ authScheme: z$1.ZodNativeEnum<{
4145
4884
  readonly OAUTH1: "OAUTH1";
4146
4885
  readonly OAUTH2: "OAUTH2";
4147
4886
  readonly API_KEY: "API_KEY";
@@ -4156,10 +4895,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4156
4895
  readonly SAML: "SAML";
4157
4896
  readonly DCR_OAUTH: "DCR_OAUTH";
4158
4897
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4159
- }>; /** Connection state values - varies by auth scheme */
4898
+ }>;
4899
+ /** Connection state values - varies by auth scheme */
4160
4900
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4161
4901
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4162
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4902
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
4903
+ authScheme: z$1.ZodNativeEnum<{
4163
4904
  readonly OAUTH1: "OAUTH1";
4164
4905
  readonly OAUTH2: "OAUTH2";
4165
4906
  readonly API_KEY: "API_KEY";
@@ -4174,14 +4915,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4174
4915
  readonly SAML: "SAML";
4175
4916
  readonly DCR_OAUTH: "DCR_OAUTH";
4176
4917
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4177
- }>; /** Connection state values - varies by auth scheme */
4918
+ }>;
4919
+ /** Connection state values - varies by auth scheme */
4178
4920
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4179
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
4180
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
4181
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
4182
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
4183
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
4184
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
4921
+ }, z$1.ZodTypeAny, "passthrough">>;
4922
+ /** @deprecated - use state instead */
4923
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4924
+ /** @deprecated - use state instead */
4925
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4926
+ /** Reason for the current status (e.g., expiration reason) */
4927
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
4928
+ /** Whether the connection is disabled */
4929
+ is_disabled: z$1.ZodBoolean;
4930
+ /** Endpoint for making test requests */
4931
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
4932
+ /** @deprecated */
4185
4933
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4186
4934
  labels: z$1.ZodArray<z$1.ZodString, "many">;
4187
4935
  uuid: z$1.ZodString;
@@ -4193,15 +4941,19 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4193
4941
  labels: string[];
4194
4942
  }>>;
4195
4943
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4196
- /** Toolkit information */toolkit: z$1.ZodObject<{
4944
+ /** Toolkit information */
4945
+ toolkit: z$1.ZodObject<{
4197
4946
  slug: z$1.ZodString;
4198
4947
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4199
4948
  slug: z$1.ZodString;
4200
4949
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4201
4950
  slug: z$1.ZodString;
4202
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
4951
+ }, z$1.ZodTypeAny, "passthrough">>;
4952
+ /** Auth config details */
4203
4953
  auth_config: z$1.ZodObject<{
4204
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4954
+ /** The nano ID of the auth config */
4955
+ id: z$1.ZodString;
4956
+ /** @deprecated - use state.authScheme instead */
4205
4957
  auth_scheme: z$1.ZodNativeEnum<{
4206
4958
  readonly OAUTH1: "OAUTH1";
4207
4959
  readonly OAUTH2: "OAUTH2";
@@ -4217,9 +4969,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4217
4969
  readonly SAML: "SAML";
4218
4970
  readonly DCR_OAUTH: "DCR_OAUTH";
4219
4971
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4220
- }>; /** Whether this auth config is managed by Composio */
4221
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4222
- is_disabled: z$1.ZodBoolean; /** @deprecated */
4972
+ }>;
4973
+ /** Whether this auth config is managed by Composio */
4974
+ is_composio_managed: z$1.ZodBoolean;
4975
+ /** Whether the auth config is disabled */
4976
+ is_disabled: z$1.ZodBoolean;
4977
+ /** @deprecated */
4223
4978
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4224
4979
  uuid: z$1.ZodString;
4225
4980
  }, "strip", z$1.ZodTypeAny, {
@@ -4228,7 +4983,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4228
4983
  uuid: string;
4229
4984
  }>>;
4230
4985
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4231
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4986
+ /** The nano ID of the auth config */
4987
+ id: z$1.ZodString;
4988
+ /** @deprecated - use state.authScheme instead */
4232
4989
  auth_scheme: z$1.ZodNativeEnum<{
4233
4990
  readonly OAUTH1: "OAUTH1";
4234
4991
  readonly OAUTH2: "OAUTH2";
@@ -4244,9 +5001,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4244
5001
  readonly SAML: "SAML";
4245
5002
  readonly DCR_OAUTH: "DCR_OAUTH";
4246
5003
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4247
- }>; /** Whether this auth config is managed by Composio */
4248
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4249
- is_disabled: z$1.ZodBoolean; /** @deprecated */
5004
+ }>;
5005
+ /** Whether this auth config is managed by Composio */
5006
+ is_composio_managed: z$1.ZodBoolean;
5007
+ /** Whether the auth config is disabled */
5008
+ is_disabled: z$1.ZodBoolean;
5009
+ /** @deprecated */
4250
5010
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4251
5011
  uuid: z$1.ZodString;
4252
5012
  }, "strip", z$1.ZodTypeAny, {
@@ -4255,7 +5015,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4255
5015
  uuid: string;
4256
5016
  }>>;
4257
5017
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4258
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
5018
+ /** The nano ID of the auth config */
5019
+ id: z$1.ZodString;
5020
+ /** @deprecated - use state.authScheme instead */
4259
5021
  auth_scheme: z$1.ZodNativeEnum<{
4260
5022
  readonly OAUTH1: "OAUTH1";
4261
5023
  readonly OAUTH2: "OAUTH2";
@@ -4271,9 +5033,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4271
5033
  readonly SAML: "SAML";
4272
5034
  readonly DCR_OAUTH: "DCR_OAUTH";
4273
5035
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4274
- }>; /** Whether this auth config is managed by Composio */
4275
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4276
- is_disabled: z$1.ZodBoolean; /** @deprecated */
5036
+ }>;
5037
+ /** Whether this auth config is managed by Composio */
5038
+ is_composio_managed: z$1.ZodBoolean;
5039
+ /** Whether the auth config is disabled */
5040
+ is_disabled: z$1.ZodBoolean;
5041
+ /** @deprecated */
4277
5042
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4278
5043
  uuid: z$1.ZodString;
4279
5044
  }, "strip", z$1.ZodTypeAny, {
@@ -4281,9 +5046,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4281
5046
  }, {
4282
5047
  uuid: string;
4283
5048
  }>>;
4284
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
4285
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
4286
- user_id: z$1.ZodString; /** Connection status */
5049
+ }, z$1.ZodTypeAny, "passthrough">>;
5050
+ /** The nano ID of the connected account */
5051
+ id: z$1.ZodString;
5052
+ /** @deprecated - user ID of the connection owner */
5053
+ user_id: z$1.ZodString;
5054
+ /** Connection status */
4287
5055
  status: z$1.ZodNativeEnum<{
4288
5056
  readonly INITIALIZING: "INITIALIZING";
4289
5057
  readonly INITIATED: "INITIATED";
@@ -4292,11 +5060,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4292
5060
  readonly EXPIRED: "EXPIRED";
4293
5061
  readonly INACTIVE: "INACTIVE";
4294
5062
  readonly REVOKED: "REVOKED";
4295
- }>; /** ISO-8601 timestamp of creation */
4296
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
4297
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
5063
+ }>;
5064
+ /** ISO-8601 timestamp of creation */
5065
+ created_at: z$1.ZodString;
5066
+ /** ISO-8601 timestamp of last update */
5067
+ updated_at: z$1.ZodString;
5068
+ /** Connection state data (auth scheme + state values) */
4298
5069
  state: z$1.ZodObject<{
4299
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
5070
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
5071
+ authScheme: z$1.ZodNativeEnum<{
4300
5072
  readonly OAUTH1: "OAUTH1";
4301
5073
  readonly OAUTH2: "OAUTH2";
4302
5074
  readonly API_KEY: "API_KEY";
@@ -4311,10 +5083,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4311
5083
  readonly SAML: "SAML";
4312
5084
  readonly DCR_OAUTH: "DCR_OAUTH";
4313
5085
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4314
- }>; /** Connection state values - varies by auth scheme */
5086
+ }>;
5087
+ /** Connection state values - varies by auth scheme */
4315
5088
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4316
5089
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4317
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
5090
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
5091
+ authScheme: z$1.ZodNativeEnum<{
4318
5092
  readonly OAUTH1: "OAUTH1";
4319
5093
  readonly OAUTH2: "OAUTH2";
4320
5094
  readonly API_KEY: "API_KEY";
@@ -4329,10 +5103,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4329
5103
  readonly SAML: "SAML";
4330
5104
  readonly DCR_OAUTH: "DCR_OAUTH";
4331
5105
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4332
- }>; /** Connection state values - varies by auth scheme */
5106
+ }>;
5107
+ /** Connection state values - varies by auth scheme */
4333
5108
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4334
5109
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4335
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
5110
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
5111
+ authScheme: z$1.ZodNativeEnum<{
4336
5112
  readonly OAUTH1: "OAUTH1";
4337
5113
  readonly OAUTH2: "OAUTH2";
4338
5114
  readonly API_KEY: "API_KEY";
@@ -4347,14 +5123,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4347
5123
  readonly SAML: "SAML";
4348
5124
  readonly DCR_OAUTH: "DCR_OAUTH";
4349
5125
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4350
- }>; /** Connection state values - varies by auth scheme */
5126
+ }>;
5127
+ /** Connection state values - varies by auth scheme */
4351
5128
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4352
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
4353
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
4354
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
4355
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
4356
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
4357
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
5129
+ }, z$1.ZodTypeAny, "passthrough">>;
5130
+ /** @deprecated - use state instead */
5131
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
5132
+ /** @deprecated - use state instead */
5133
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
5134
+ /** Reason for the current status (e.g., expiration reason) */
5135
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
5136
+ /** Whether the connection is disabled */
5137
+ is_disabled: z$1.ZodBoolean;
5138
+ /** Endpoint for making test requests */
5139
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
5140
+ /** @deprecated */
4358
5141
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4359
5142
  labels: z$1.ZodArray<z$1.ZodString, "many">;
4360
5143
  uuid: z$1.ZodString;
@@ -4366,15 +5149,19 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4366
5149
  labels: string[];
4367
5150
  }>>;
4368
5151
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4369
- /** Toolkit information */toolkit: z$1.ZodObject<{
5152
+ /** Toolkit information */
5153
+ toolkit: z$1.ZodObject<{
4370
5154
  slug: z$1.ZodString;
4371
5155
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4372
5156
  slug: z$1.ZodString;
4373
5157
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4374
5158
  slug: z$1.ZodString;
4375
- }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
5159
+ }, z$1.ZodTypeAny, "passthrough">>;
5160
+ /** Auth config details */
4376
5161
  auth_config: z$1.ZodObject<{
4377
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
5162
+ /** The nano ID of the auth config */
5163
+ id: z$1.ZodString;
5164
+ /** @deprecated - use state.authScheme instead */
4378
5165
  auth_scheme: z$1.ZodNativeEnum<{
4379
5166
  readonly OAUTH1: "OAUTH1";
4380
5167
  readonly OAUTH2: "OAUTH2";
@@ -4390,9 +5177,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4390
5177
  readonly SAML: "SAML";
4391
5178
  readonly DCR_OAUTH: "DCR_OAUTH";
4392
5179
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4393
- }>; /** Whether this auth config is managed by Composio */
4394
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4395
- is_disabled: z$1.ZodBoolean; /** @deprecated */
5180
+ }>;
5181
+ /** Whether this auth config is managed by Composio */
5182
+ is_composio_managed: z$1.ZodBoolean;
5183
+ /** Whether the auth config is disabled */
5184
+ is_disabled: z$1.ZodBoolean;
5185
+ /** @deprecated */
4396
5186
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4397
5187
  uuid: z$1.ZodString;
4398
5188
  }, "strip", z$1.ZodTypeAny, {
@@ -4401,7 +5191,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4401
5191
  uuid: string;
4402
5192
  }>>;
4403
5193
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4404
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
5194
+ /** The nano ID of the auth config */
5195
+ id: z$1.ZodString;
5196
+ /** @deprecated - use state.authScheme instead */
4405
5197
  auth_scheme: z$1.ZodNativeEnum<{
4406
5198
  readonly OAUTH1: "OAUTH1";
4407
5199
  readonly OAUTH2: "OAUTH2";
@@ -4417,9 +5209,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4417
5209
  readonly SAML: "SAML";
4418
5210
  readonly DCR_OAUTH: "DCR_OAUTH";
4419
5211
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4420
- }>; /** Whether this auth config is managed by Composio */
4421
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4422
- is_disabled: z$1.ZodBoolean; /** @deprecated */
5212
+ }>;
5213
+ /** Whether this auth config is managed by Composio */
5214
+ is_composio_managed: z$1.ZodBoolean;
5215
+ /** Whether the auth config is disabled */
5216
+ is_disabled: z$1.ZodBoolean;
5217
+ /** @deprecated */
4423
5218
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4424
5219
  uuid: z$1.ZodString;
4425
5220
  }, "strip", z$1.ZodTypeAny, {
@@ -4428,7 +5223,9 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4428
5223
  uuid: string;
4429
5224
  }>>;
4430
5225
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4431
- /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
5226
+ /** The nano ID of the auth config */
5227
+ id: z$1.ZodString;
5228
+ /** @deprecated - use state.authScheme instead */
4432
5229
  auth_scheme: z$1.ZodNativeEnum<{
4433
5230
  readonly OAUTH1: "OAUTH1";
4434
5231
  readonly OAUTH2: "OAUTH2";
@@ -4444,9 +5241,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4444
5241
  readonly SAML: "SAML";
4445
5242
  readonly DCR_OAUTH: "DCR_OAUTH";
4446
5243
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4447
- }>; /** Whether this auth config is managed by Composio */
4448
- is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4449
- is_disabled: z$1.ZodBoolean; /** @deprecated */
5244
+ }>;
5245
+ /** Whether this auth config is managed by Composio */
5246
+ is_composio_managed: z$1.ZodBoolean;
5247
+ /** Whether the auth config is disabled */
5248
+ is_disabled: z$1.ZodBoolean;
5249
+ /** @deprecated */
4450
5250
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4451
5251
  uuid: z$1.ZodString;
4452
5252
  }, "strip", z$1.ZodTypeAny, {
@@ -4454,9 +5254,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4454
5254
  }, {
4455
5255
  uuid: string;
4456
5256
  }>>;
4457
- }, z$1.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
4458
- id: z$1.ZodString; /** @deprecated - user ID of the connection owner */
4459
- user_id: z$1.ZodString; /** Connection status */
5257
+ }, z$1.ZodTypeAny, "passthrough">>;
5258
+ /** The nano ID of the connected account */
5259
+ id: z$1.ZodString;
5260
+ /** @deprecated - user ID of the connection owner */
5261
+ user_id: z$1.ZodString;
5262
+ /** Connection status */
4460
5263
  status: z$1.ZodNativeEnum<{
4461
5264
  readonly INITIALIZING: "INITIALIZING";
4462
5265
  readonly INITIATED: "INITIATED";
@@ -4465,11 +5268,15 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4465
5268
  readonly EXPIRED: "EXPIRED";
4466
5269
  readonly INACTIVE: "INACTIVE";
4467
5270
  readonly REVOKED: "REVOKED";
4468
- }>; /** ISO-8601 timestamp of creation */
4469
- created_at: z$1.ZodString; /** ISO-8601 timestamp of last update */
4470
- updated_at: z$1.ZodString; /** Connection state data (auth scheme + state values) */
5271
+ }>;
5272
+ /** ISO-8601 timestamp of creation */
5273
+ created_at: z$1.ZodString;
5274
+ /** ISO-8601 timestamp of last update */
5275
+ updated_at: z$1.ZodString;
5276
+ /** Connection state data (auth scheme + state values) */
4471
5277
  state: z$1.ZodObject<{
4472
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
5278
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
5279
+ authScheme: z$1.ZodNativeEnum<{
4473
5280
  readonly OAUTH1: "OAUTH1";
4474
5281
  readonly OAUTH2: "OAUTH2";
4475
5282
  readonly API_KEY: "API_KEY";
@@ -4484,10 +5291,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4484
5291
  readonly SAML: "SAML";
4485
5292
  readonly DCR_OAUTH: "DCR_OAUTH";
4486
5293
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4487
- }>; /** Connection state values - varies by auth scheme */
5294
+ }>;
5295
+ /** Connection state values - varies by auth scheme */
4488
5296
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4489
5297
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4490
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
5298
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
5299
+ authScheme: z$1.ZodNativeEnum<{
4491
5300
  readonly OAUTH1: "OAUTH1";
4492
5301
  readonly OAUTH2: "OAUTH2";
4493
5302
  readonly API_KEY: "API_KEY";
@@ -4502,10 +5311,12 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4502
5311
  readonly SAML: "SAML";
4503
5312
  readonly DCR_OAUTH: "DCR_OAUTH";
4504
5313
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4505
- }>; /** Connection state values - varies by auth scheme */
5314
+ }>;
5315
+ /** Connection state values - varies by auth scheme */
4506
5316
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4507
5317
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4508
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
5318
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
5319
+ authScheme: z$1.ZodNativeEnum<{
4509
5320
  readonly OAUTH1: "OAUTH1";
4510
5321
  readonly OAUTH2: "OAUTH2";
4511
5322
  readonly API_KEY: "API_KEY";
@@ -4520,14 +5331,21 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4520
5331
  readonly SAML: "SAML";
4521
5332
  readonly DCR_OAUTH: "DCR_OAUTH";
4522
5333
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4523
- }>; /** Connection state values - varies by auth scheme */
5334
+ }>;
5335
+ /** Connection state values - varies by auth scheme */
4524
5336
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4525
- }, z$1.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
4526
- data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** @deprecated - use state instead */
4527
- params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
4528
- status_reason: z$1.ZodNullable<z$1.ZodString>; /** Whether the connection is disabled */
4529
- is_disabled: z$1.ZodBoolean; /** Endpoint for making test requests */
4530
- test_request_endpoint: z$1.ZodOptional<z$1.ZodString>; /** @deprecated */
5337
+ }, z$1.ZodTypeAny, "passthrough">>;
5338
+ /** @deprecated - use state instead */
5339
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
5340
+ /** @deprecated - use state instead */
5341
+ params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
5342
+ /** Reason for the current status (e.g., expiration reason) */
5343
+ status_reason: z$1.ZodNullable<z$1.ZodString>;
5344
+ /** Whether the connection is disabled */
5345
+ is_disabled: z$1.ZodBoolean;
5346
+ /** Endpoint for making test requests */
5347
+ test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
5348
+ /** @deprecated */
4531
5349
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
4532
5350
  labels: z$1.ZodArray<z$1.ZodString, "many">;
4533
5351
  uuid: z$1.ZodString;
@@ -4538,15 +5356,22 @@ declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObje
4538
5356
  uuid: string;
4539
5357
  labels: string[];
4540
5358
  }>>;
4541
- }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
5359
+ }, z$1.ZodTypeAny, "passthrough">>;
5360
+ /** Event metadata */
4542
5361
  metadata: z$1.ZodObject<{
4543
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
5362
+ /** Project nano ID */
5363
+ project_id: z$1.ZodString;
5364
+ /** Organization UUID */
4544
5365
  org_id: z$1.ZodString;
4545
5366
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4546
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
5367
+ /** Project nano ID */
5368
+ project_id: z$1.ZodString;
5369
+ /** Organization UUID */
4547
5370
  org_id: z$1.ZodString;
4548
5371
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4549
- /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
5372
+ /** Project nano ID */
5373
+ project_id: z$1.ZodString;
5374
+ /** Organization UUID */
4550
5375
  org_id: z$1.ZodString;
4551
5376
  }, z$1.ZodTypeAny, "passthrough">>;
4552
5377
  }, z$1.ZodTypeAny, "passthrough">>]>;
@@ -4941,11 +5766,17 @@ interface ErrorHandleOptions {
4941
5766
  * Options for creating a ComposioError
4942
5767
  */
4943
5768
  type ComposioErrorOptions = {
4944
- /** Error code for categorizing errors */code?: string; /** HTTP status code associated with the error */
4945
- statusCode?: number; /** The underlying cause of the error */
4946
- cause?: unknown; /** Additional metadata associated with the error */
4947
- meta?: Record<string, unknown>; /** Suggested fixes for the error */
4948
- possibleFixes?: string[]; /** Custom stack trace */
5769
+ /** Error code for categorizing errors */
5770
+ code?: string;
5771
+ /** HTTP status code associated with the error */
5772
+ statusCode?: number;
5773
+ /** The underlying cause of the error */
5774
+ cause?: unknown;
5775
+ /** Additional metadata associated with the error */
5776
+ meta?: Record<string, unknown>;
5777
+ /** Suggested fixes for the error */
5778
+ possibleFixes?: string[];
5779
+ /** Custom stack trace */
4949
5780
  stack?: string;
4950
5781
  };
4951
5782
  /**
@@ -5417,9 +6248,10 @@ interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptio
5417
6248
  /**
5418
6249
  * Thrown when a URL file input resolves to a private, loopback, link-local, or
5419
6250
  * otherwise internal address, or points at a non-http(s) scheme. Guards against
5420
- * turning `composio.files.upload(url)` (and automatic upload during tool
5421
- * execution) into a server-side request forgery (SSRF) probe of internal
5422
- * infrastructure such as cloud metadata endpoints (`169.254.169.254`).
6251
+ * turning URL-based file uploads (including Tool Router session files and
6252
+ * automatic upload during tool execution) into a server-side request forgery
6253
+ * (SSRF) probe of internal infrastructure such as cloud metadata endpoints
6254
+ * (`169.254.169.254`).
5423
6255
  */
5424
6256
  declare class ComposioBlockedInternalUrlError extends ComposioError {
5425
6257
  constructor(message?: string, options?: ComposioBlockedInternalUrlErrorOptions);