@composio/core 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/README.md +62 -247
  2. package/dist/BaseProvider-lCxnjFKQ.d.mts +29395 -0
  3. package/dist/{CustomTool-D9qwyMrv.mjs → CustomTool-C_5NvBsX.mjs} +17 -15
  4. package/dist/{CustomTool-DrJpOhY2.d.mts → CustomTool-CmokRT9q.d.mts} +1 -1
  5. package/dist/{FileModifierErrors-3fSwIWoa.mjs → SsrfErrors-BQRozkeU.mjs} +33 -1
  6. package/dist/{Telemetry-DhGI_J4G.mjs → Telemetry-llfvticE.mjs} +40 -8
  7. package/dist/{jsonSchema-CFKdONpP.mjs → cancellation-W65QRyj2.mjs} +64 -19
  8. package/dist/{composio-DHIKRdeG.d.mts → composio-6C8kHtqc.d.mts} +1079 -1092
  9. package/dist/{customTool.types-CKH2R2ia.d.mts → customTool.types-kFhNYuzh.d.mts} +602 -549
  10. package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -22
  11. package/dist/docs/reference/sdk-reference/typescript/session.mdx +23 -0
  12. package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +24 -0
  13. package/dist/{errors-DSIlYfl5.mjs → errors-B165yJUQ.mjs} +74 -74
  14. package/dist/experimental/index.d.mts +2 -2
  15. package/dist/experimental/index.mjs +1 -1
  16. package/dist/{fileUtils.node-BiO1JQsJ.mjs → fileUtils.node-iPFi2o4i.mjs} +182 -68
  17. package/dist/index.d.mts +1459 -1401
  18. package/dist/index.mjs +1437 -1375
  19. package/dist/models/Files.node.mjs +2 -2
  20. package/dist/platform/node.d.mts +1 -1
  21. package/dist/platform/node.mjs +3 -0
  22. package/dist/platform/workerd.d.mts +1 -1
  23. package/dist/platform/workerd.mjs +3 -0
  24. package/dist/sensitiveFileUploadPaths-B1OLsd8F.mjs +114 -0
  25. package/dist/{types-DdoCRzLj.d.mts → types-DY1r-kN9.d.mts} +9 -0
  26. package/dist/{types-D4Id3wXA.d.mts → types-yCrveqAj.d.mts} +2 -2
  27. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  28. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  29. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  30. package/dist/utils/modifiers/FileToolModifier.node.mjs +5 -5
  31. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  32. package/package.json +10 -10
  33. package/src/errors/SsrfErrors.ts +47 -0
  34. package/src/errors/index.ts +3 -0
  35. package/src/index.ts +10 -0
  36. package/src/lib/toolRouterSessionDelete.ts +30 -0
  37. package/src/models/CustomTool.ts +1 -3
  38. package/src/models/ToolRouter.ts +15 -0
  39. package/src/models/ToolRouterSession.ts +50 -16
  40. package/src/models/Tools.ts +32 -2
  41. package/src/models/Triggers.ts +16 -76
  42. package/src/platform/node.ts +4 -0
  43. package/src/platform/types.ts +10 -0
  44. package/src/platform/workerd.ts +6 -0
  45. package/src/provider/OpenAIProvider.ts +19 -14
  46. package/src/telemetry/Telemetry.ts +9 -6
  47. package/src/telemetry/redact.ts +40 -0
  48. package/src/types/tool.types.ts +36 -32
  49. package/src/types/toolRouter.types.ts +13 -0
  50. package/src/utils/fileUtils.node.ts +27 -4
  51. package/src/utils/jsonSchema.ts +58 -0
  52. package/src/utils/modifiers/FileToolModifier.node.ts +2 -1
  53. package/src/utils/sdk.ts +5 -4
  54. package/src/utils/{sensitiveFileUploadPaths.node.ts → sensitiveFileUploadPaths.ts} +29 -13
  55. package/src/utils/ssrfGuard.node.ts +202 -0
  56. package/src/utils/toolkitVersion.ts +21 -2
  57. package/dist/BaseProvider-BBnsv9kS.d.mts +0 -29425
  58. package/dist/BaseProvider-Brb3o86-.d.mts +0 -29425
  59. package/dist/CustomTool-Dmi6ti3I.d.mts +0 -74
  60. package/dist/buffer-PcbMMsgm.mjs +0 -33
  61. package/dist/composio-vMwhASRc.d.mts +0 -5698
  62. package/dist/customTool.types-DXin7Cfc.d.mts +0 -2773
  63. package/dist/types-qTbYYBJw.d.mts +0 -12
package/dist/index.d.mts CHANGED
@@ -1,10 +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-BBnsv9kS.mjs";
2
- import { $ as ToolRouterSessionProxyExecuteResponse, $t as ConnectedAccountListResponseItem, A as SessionProxyExecuteParams, At as ToolRouterSessionFilesMountDeleteOptions, B as ToolRouterCreateSessionConfigSchema, Bt as ConnectedAccountAclConfig, C as MCPServerType, Cn as UpdateConnectedAccountAclParams, Ct as RemoteFile, D as Session, Dt as FileListResponseSchema, E as SandboxSizeSchema, En as UpdateConnectedAccountParamsSchema, Et as FileListResponse, F as ToolRouterConfigTags, Ft as ToolRouterSessionFilesMountListOptionsSchema, G as ToolRouterSandboxConfigSchema, Gt as ConnectedAccountAuthConfigSchema, H as ToolRouterMCPServerConfigSchema, Ht as ConnectedAccountAclConfigResponseSchema, I as ToolRouterConfigTagsSchema, It as ToolRouterSessionFilesMountUploadOptions, J as ToolRouterSessionExecuteResponse, Jt as ConnectedAccountExperimentalResponseSchema, K as ToolRouterSessionExecuteFn, Kt as ConnectedAccountExperimental, L as ToolRouterConfigTools, Lt as ToolRouterSessionFilesMountUploadOptionsSchema, M as SessionWithoutMcp, Mt as ToolRouterSessionFilesMountDownloadOptions, N as ToolRouterAuthorizeFn, Nt as ToolRouterSessionFilesMountDownloadOptionsSchema, O as SessionExperimental, Ot as RemoteFileData, P as ToolRouterConfigManageConnectionsSchema, Pt as ToolRouterSessionFilesMountListOptions, Q as ToolRouterSessionProxyExecuteFn, Qt as ConnectedAccountListResponse, R as ToolRouterConfigToolsSchema, Rt as ConnectionRequest, S as SessionContext, Sn as DefaultCreateConnectedAccountParamsSchema, St as ToolkitConnectionsDetailsSchema, T as SandboxSize, Tn as UpdateConnectedAccountParams, Tt as FileDeleteResponseSchema, U as ToolRouterManageConnectionsConfigSchema, Ut as ConnectedAccountAclConfigSchema, V as ToolRouterMCPServerConfig, Vt as ConnectedAccountAclConfigResponse, W as ToolRouterSandboxConfig, Wt as ConnectedAccountAuthConfig, X as ToolRouterSessionMetadata, Xt as ConnectedAccountListParams, Y as ToolRouterSessionExecuteResponseSchema, Yt as ConnectedAccountExperimentalSchema, Z as ToolRouterSessionPreloadConfig, Zt as ConnectedAccountListParamsSchema, _ as CustomToolsMapEntry, _n as CreateConnectedAccountOptionsSchema, _t as ToolRouterUpdateSessionConfig, a as CreateCustomToolkitParams, an as ConnectedAccountStatus, at as ToolRouterSessionWorkbenchConfig, b as RegisteredCustomTool, bn as CreateConnectedAccountResponse, bt as ToolkitConnectionStateSchema, c as CustomToolExecuteFn, cn as ConnectedAccountStatuses, ct as ToolRouterToolkitsDisabledConfigSchema, d as CustomToolWireDefinition, dn as ConnectedAccountTypes, dt as ToolRouterToolkitsOptions, en as ConnectedAccountListResponseSchema, et as ToolRouterSessionSearchFn, f as CustomToolkit, fn as CreateConnectedAccountLinkOptions, ft as ToolRouterToolkitsOptionsSchema, g as CustomToolsMap, gn as CreateConnectedAccountOptions, gt as ToolRouterToolsParamSchema, h as CustomToolkitWireDefinition, hn as CreateConnectedAccountLinkResponseSchema, ht as ToolRouterToolsParam, i as CreateCustomToolkitBaseSchema, in as ConnectedAccountRetrieveResponseSchema, it as ToolRouterSessionWarning, j as SessionProxyExecuteParamsSchema, jt as ToolRouterSessionFilesMountDeleteOptionsSchema, k as SessionPreset, kt as RemoteFileDataSchema, l as CustomToolResponse, ln as ConnectedAccountType, lt as ToolRouterToolkitsEnabledConfigSchema, m as CustomToolkitResponse, mn as CreateConnectedAccountLinkResponse, mt as ToolRouterToolsFn, n as CreateCustomToolBaseSchema, nn as ConnectedAccountRefreshOptionsSchema, nt as ToolRouterSessionSearchResponseSchema, o as CustomTool, on as ConnectedAccountStatusEnum, ot as ToolRouterTagsEnableDisableSchema, p as CustomToolkitDefinition, pn as CreateConnectedAccountLinkOptionsSchema, pt as ToolRouterToolkitsParamSchema, q as ToolRouterSessionExecuteOptions, qt as ConnectedAccountExperimentalResponse, r as CreateCustomToolParams, rn as ConnectedAccountRetrieveResponse, rt as ToolRouterSessionUpdateFn, s as CustomToolDefinition, sn as ConnectedAccountStatusSchema, st as ToolRouterTagsParamSchema, t as AnyZodSchema, tn as ConnectedAccountRefreshOptions, tt as ToolRouterSessionSearchResponse, u as CustomToolSlugSchema, un as ConnectedAccountTypeSchema, ut as ToolRouterToolkitsFn, v as InferZodSchema, vn as CreateConnectedAccountParams, vt as ToolRouterUpdateSessionConfigSchema, w as MCPServerTypeSchema, wn as UpdateConnectedAccountAclParamsSchema, wt as FileDeleteResponse, x as RegisteredCustomToolkit, xn as CreateConnectedAccountResponseSchema, xt as ToolkitConnectionsDetails, y as InlineCustomToolsWirePayload, yn as CreateConnectedAccountParamsSchema, yt as ToolkitConnectionState, z as ToolRouterCreateSessionConfig, zt as ConnectionRequestState } from "./customTool.types-CKH2R2ia.mjs";
3
- import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-Dmi6ti3I.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, en as ComposioRequestOptions, 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-DHIKRdeG.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-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";
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
- import { z } from "zod/v3";
7
+ import { z as z$1 } from "zod/v3";
8
8
 
9
9
  //#region src/provider/ComposioProvider.d.ts
10
10
  /**
@@ -77,6 +77,17 @@ interface DereferenceJsonSchemaOptions {
77
77
  * targets (strict mode only), or chains past the depth cap (both modes).
78
78
  */
79
79
  declare function dereferenceJsonSchema<T = unknown>(schema: T, options?: DereferenceJsonSchemaOptions): T;
80
+ /**
81
+ * Returns a deep-cloned JSON Schema whose `required` arrays contain each entry
82
+ * at most once. Duplicate entries are invalid in JSON Schema 2020-12 but do
83
+ * not change the schema's meaning, so preserving the first occurrence is safe.
84
+ *
85
+ * Tool schemas originate both from the Composio API and direct provider calls.
86
+ * Keeping this normalization provider-agnostic lets every SDK provider receive
87
+ * canonical API schemas, while providers that further transform a schema can
88
+ * reapply it at their own emission boundary.
89
+ */
90
+ declare function deduplicateJsonSchemaRequiredArrays<T = unknown>(schema: T): T;
80
91
  /**
81
92
  * Removes all non-required properties from the schema
82
93
  *
@@ -129,7 +140,7 @@ declare const removeNonRequiredProperties: <T extends {
129
140
  * // })
130
141
  * ```
131
142
  */
132
- declare function jsonSchemaToZodSchema<T extends z.ZodTypeAny>(jsonSchema: Record<string, unknown>, {
143
+ declare function jsonSchemaToZodSchema<T extends z$1.ZodTypeAny>(jsonSchema: Record<string, unknown>, {
133
144
  strict
134
145
  }?: {
135
146
  strict?: boolean;
@@ -161,6 +172,25 @@ declare function getExtensionFromMimeType(mimeType: string): string;
161
172
  */
162
173
  declare function normalizeToolArguments(input: unknown, toolSlug?: string): Record<string, unknown>;
163
174
  //#endregion
175
+ //#region src/utils/sensitiveFileUploadPaths.d.ts
176
+ /**
177
+ * Path segments (a single path component) that indicate a sensitive directory when
178
+ * they appear anywhere in a resolved local path. Compared case-insensitively on Windows.
179
+ */
180
+ declare const BUILTIN_FILE_UPLOAD_PATH_DENY_SEGMENTS: readonly string[];
181
+ /**
182
+ * True if the path is under a built-in or extra deny segment, or the basename
183
+ * looks like an env / netrc / default SSH private key name.
184
+ */
185
+ declare function isBlockedSensitiveFileUploadPath(filePath: string, additionalDenySegments?: string[]): boolean;
186
+ /**
187
+ * @throws {ComposioSensitiveFilePathBlockedError} if the path is not allowed
188
+ */
189
+ declare function assertSafeFileUploadPath(filePath: string, options?: {
190
+ additionalDenySegments?: string[];
191
+ remediation?: string;
192
+ }): void;
193
+ //#endregion
164
194
  //#region src/utils/schemaPropertyKeys.d.ts
165
195
  /**
166
196
  * JSON-schema property-key sanitization.
@@ -479,8 +509,8 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
479
509
  */
480
510
  toolkits(options?: ToolRouterToolkitsOptions, requestOptions?: ComposioRequestOptions): Promise<{
481
511
  items: {
482
- name: string;
483
512
  slug: string;
513
+ name: string;
484
514
  isNoAuth: boolean;
485
515
  logo?: string | undefined;
486
516
  connection?: {
@@ -535,6 +565,13 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
535
565
  * Mutates this session's `configVersion`, `preload`, and `warnings` in-place.
536
566
  */
537
567
  update(config: ToolRouterUpdateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<void>;
568
+ /**
569
+ * Delete this session.
570
+ *
571
+ * Deleted sessions immediately stop being retrievable or executable. Deleting
572
+ * an already-deleted session surfaces the backend 404.
573
+ */
574
+ delete(requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionDeleteResponse>;
538
575
  /** Check if this session has any custom tools bound. */
539
576
  private hasCustomTools;
540
577
  private executeBackendSessionTool;
@@ -568,9 +605,9 @@ type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventType
568
605
  *
569
606
  * @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
570
607
  */
571
- declare const WebhookConnectedAccountAuthConfigSchema: z.ZodObject<{
572
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
573
- auth_scheme: z.ZodNativeEnum<{
608
+ declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
609
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
610
+ auth_scheme: z$1.ZodNativeEnum<{
574
611
  readonly OAUTH1: "OAUTH1";
575
612
  readonly OAUTH2: "OAUTH2";
576
613
  readonly API_KEY: "API_KEY";
@@ -586,18 +623,18 @@ declare const WebhookConnectedAccountAuthConfigSchema: z.ZodObject<{
586
623
  readonly DCR_OAUTH: "DCR_OAUTH";
587
624
  readonly S2S_OAUTH2: "S2S_OAUTH2";
588
625
  }>; /** Whether this auth config is managed by Composio */
589
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
590
- is_disabled: z.ZodBoolean; /** @deprecated */
591
- deprecated: z.ZodOptional<z.ZodObject<{
592
- uuid: z.ZodString;
593
- }, "strip", z.ZodTypeAny, {
626
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
627
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
628
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
629
+ uuid: z$1.ZodString;
630
+ }, "strip", z$1.ZodTypeAny, {
594
631
  uuid: string;
595
632
  }, {
596
633
  uuid: string;
597
634
  }>>;
598
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
599
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
600
- auth_scheme: z.ZodNativeEnum<{
635
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
636
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
637
+ auth_scheme: z$1.ZodNativeEnum<{
601
638
  readonly OAUTH1: "OAUTH1";
602
639
  readonly OAUTH2: "OAUTH2";
603
640
  readonly API_KEY: "API_KEY";
@@ -613,18 +650,18 @@ declare const WebhookConnectedAccountAuthConfigSchema: z.ZodObject<{
613
650
  readonly DCR_OAUTH: "DCR_OAUTH";
614
651
  readonly S2S_OAUTH2: "S2S_OAUTH2";
615
652
  }>; /** Whether this auth config is managed by Composio */
616
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
617
- is_disabled: z.ZodBoolean; /** @deprecated */
618
- deprecated: z.ZodOptional<z.ZodObject<{
619
- uuid: z.ZodString;
620
- }, "strip", z.ZodTypeAny, {
653
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
654
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
655
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
656
+ uuid: z$1.ZodString;
657
+ }, "strip", z$1.ZodTypeAny, {
621
658
  uuid: string;
622
659
  }, {
623
660
  uuid: string;
624
661
  }>>;
625
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
626
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
627
- auth_scheme: z.ZodNativeEnum<{
662
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
663
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
664
+ auth_scheme: z$1.ZodNativeEnum<{
628
665
  readonly OAUTH1: "OAUTH1";
629
666
  readonly OAUTH2: "OAUTH2";
630
667
  readonly API_KEY: "API_KEY";
@@ -640,17 +677,17 @@ declare const WebhookConnectedAccountAuthConfigSchema: z.ZodObject<{
640
677
  readonly DCR_OAUTH: "DCR_OAUTH";
641
678
  readonly S2S_OAUTH2: "S2S_OAUTH2";
642
679
  }>; /** Whether this auth config is managed by Composio */
643
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
644
- is_disabled: z.ZodBoolean; /** @deprecated */
645
- deprecated: z.ZodOptional<z.ZodObject<{
646
- uuid: z.ZodString;
647
- }, "strip", z.ZodTypeAny, {
680
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
681
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
682
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
683
+ uuid: z$1.ZodString;
684
+ }, "strip", z$1.ZodTypeAny, {
648
685
  uuid: string;
649
686
  }, {
650
687
  uuid: string;
651
688
  }>>;
652
- }, z.ZodTypeAny, "passthrough">>;
653
- type WebhookConnectedAccountAuthConfig = z.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
689
+ }, z$1.ZodTypeAny, "passthrough">>;
690
+ type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
654
691
  /**
655
692
  * Simplified connection state schema for webhook payloads (raw API format).
656
693
  *
@@ -665,8 +702,8 @@ type WebhookConnectedAccountAuthConfig = z.infer<typeof WebhookConnectedAccountA
665
702
  *
666
703
  * @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
667
704
  */
668
- declare const WebhookConnectionStateSchema: z.ZodObject<{
669
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
705
+ declare const WebhookConnectionStateSchema: z$1.ZodObject<{
706
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
670
707
  readonly OAUTH1: "OAUTH1";
671
708
  readonly OAUTH2: "OAUTH2";
672
709
  readonly API_KEY: "API_KEY";
@@ -682,9 +719,9 @@ declare const WebhookConnectionStateSchema: z.ZodObject<{
682
719
  readonly DCR_OAUTH: "DCR_OAUTH";
683
720
  readonly S2S_OAUTH2: "S2S_OAUTH2";
684
721
  }>; /** Connection state values - varies by auth scheme */
685
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
686
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
687
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
722
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
723
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
724
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
688
725
  readonly OAUTH1: "OAUTH1";
689
726
  readonly OAUTH2: "OAUTH2";
690
727
  readonly API_KEY: "API_KEY";
@@ -700,9 +737,9 @@ declare const WebhookConnectionStateSchema: z.ZodObject<{
700
737
  readonly DCR_OAUTH: "DCR_OAUTH";
701
738
  readonly S2S_OAUTH2: "S2S_OAUTH2";
702
739
  }>; /** Connection state values - varies by auth scheme */
703
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
704
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
705
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
740
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
741
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
742
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
706
743
  readonly OAUTH1: "OAUTH1";
707
744
  readonly OAUTH2: "OAUTH2";
708
745
  readonly API_KEY: "API_KEY";
@@ -718,9 +755,9 @@ declare const WebhookConnectionStateSchema: z.ZodObject<{
718
755
  readonly DCR_OAUTH: "DCR_OAUTH";
719
756
  readonly S2S_OAUTH2: "S2S_OAUTH2";
720
757
  }>; /** Connection state values - varies by auth scheme */
721
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
722
- }, z.ZodTypeAny, "passthrough">>;
723
- type WebhookConnectionState = z.infer<typeof WebhookConnectionStateSchema>;
758
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
759
+ }, z$1.ZodTypeAny, "passthrough">>;
760
+ type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
724
761
  /**
725
762
  * Connected account data schema for webhook payloads (raw API format, snake_case).
726
763
  *
@@ -737,17 +774,17 @@ type WebhookConnectionState = z.infer<typeof WebhookConnectionStateSchema>;
737
774
  * @see ConnectedAccountRetrieveResponseSchema in connectedAccounts.types.ts for the camelCase SDK version
738
775
  * @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
739
776
  */
740
- declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
741
- /** Toolkit information */toolkit: z.ZodObject<{
742
- slug: z.ZodString;
743
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
744
- slug: z.ZodString;
745
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
746
- slug: z.ZodString;
747
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
748
- auth_config: z.ZodObject<{
749
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
750
- auth_scheme: z.ZodNativeEnum<{
777
+ declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
778
+ /** Toolkit information */toolkit: z$1.ZodObject<{
779
+ slug: z$1.ZodString;
780
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
781
+ slug: z$1.ZodString;
782
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
783
+ slug: z$1.ZodString;
784
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
785
+ auth_config: z$1.ZodObject<{
786
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
787
+ auth_scheme: z$1.ZodNativeEnum<{
751
788
  readonly OAUTH1: "OAUTH1";
752
789
  readonly OAUTH2: "OAUTH2";
753
790
  readonly API_KEY: "API_KEY";
@@ -763,18 +800,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
763
800
  readonly DCR_OAUTH: "DCR_OAUTH";
764
801
  readonly S2S_OAUTH2: "S2S_OAUTH2";
765
802
  }>; /** Whether this auth config is managed by Composio */
766
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
767
- is_disabled: z.ZodBoolean; /** @deprecated */
768
- deprecated: z.ZodOptional<z.ZodObject<{
769
- uuid: z.ZodString;
770
- }, "strip", z.ZodTypeAny, {
803
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
804
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
805
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
806
+ uuid: z$1.ZodString;
807
+ }, "strip", z$1.ZodTypeAny, {
771
808
  uuid: string;
772
809
  }, {
773
810
  uuid: string;
774
811
  }>>;
775
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
776
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
777
- auth_scheme: z.ZodNativeEnum<{
812
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
813
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
814
+ auth_scheme: z$1.ZodNativeEnum<{
778
815
  readonly OAUTH1: "OAUTH1";
779
816
  readonly OAUTH2: "OAUTH2";
780
817
  readonly API_KEY: "API_KEY";
@@ -790,18 +827,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
790
827
  readonly DCR_OAUTH: "DCR_OAUTH";
791
828
  readonly S2S_OAUTH2: "S2S_OAUTH2";
792
829
  }>; /** Whether this auth config is managed by Composio */
793
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
794
- is_disabled: z.ZodBoolean; /** @deprecated */
795
- deprecated: z.ZodOptional<z.ZodObject<{
796
- uuid: z.ZodString;
797
- }, "strip", z.ZodTypeAny, {
830
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
831
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
832
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
833
+ uuid: z$1.ZodString;
834
+ }, "strip", z$1.ZodTypeAny, {
798
835
  uuid: string;
799
836
  }, {
800
837
  uuid: string;
801
838
  }>>;
802
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
803
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
804
- auth_scheme: z.ZodNativeEnum<{
839
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
840
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
841
+ auth_scheme: z$1.ZodNativeEnum<{
805
842
  readonly OAUTH1: "OAUTH1";
806
843
  readonly OAUTH2: "OAUTH2";
807
844
  readonly API_KEY: "API_KEY";
@@ -817,19 +854,19 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
817
854
  readonly DCR_OAUTH: "DCR_OAUTH";
818
855
  readonly S2S_OAUTH2: "S2S_OAUTH2";
819
856
  }>; /** Whether this auth config is managed by Composio */
820
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
821
- is_disabled: z.ZodBoolean; /** @deprecated */
822
- deprecated: z.ZodOptional<z.ZodObject<{
823
- uuid: z.ZodString;
824
- }, "strip", z.ZodTypeAny, {
857
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
858
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
859
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
860
+ uuid: z$1.ZodString;
861
+ }, "strip", z$1.ZodTypeAny, {
825
862
  uuid: string;
826
863
  }, {
827
864
  uuid: string;
828
865
  }>>;
829
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
830
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
831
- user_id: z.ZodString; /** Connection status */
832
- status: z.ZodNativeEnum<{
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 */
869
+ status: z$1.ZodNativeEnum<{
833
870
  readonly INITIALIZING: "INITIALIZING";
834
871
  readonly INITIATED: "INITIATED";
835
872
  readonly ACTIVE: "ACTIVE";
@@ -838,10 +875,10 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
838
875
  readonly INACTIVE: "INACTIVE";
839
876
  readonly REVOKED: "REVOKED";
840
877
  }>; /** ISO-8601 timestamp of creation */
841
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
842
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
843
- state: z.ZodObject<{
844
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
880
+ state: z$1.ZodObject<{
881
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
845
882
  readonly OAUTH1: "OAUTH1";
846
883
  readonly OAUTH2: "OAUTH2";
847
884
  readonly API_KEY: "API_KEY";
@@ -857,9 +894,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
857
894
  readonly DCR_OAUTH: "DCR_OAUTH";
858
895
  readonly S2S_OAUTH2: "S2S_OAUTH2";
859
896
  }>; /** Connection state values - varies by auth scheme */
860
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
861
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
862
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
897
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
898
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
899
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
863
900
  readonly OAUTH1: "OAUTH1";
864
901
  readonly OAUTH2: "OAUTH2";
865
902
  readonly API_KEY: "API_KEY";
@@ -875,9 +912,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
875
912
  readonly DCR_OAUTH: "DCR_OAUTH";
876
913
  readonly S2S_OAUTH2: "S2S_OAUTH2";
877
914
  }>; /** Connection state values - varies by auth scheme */
878
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
879
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
880
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
915
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
916
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
917
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
881
918
  readonly OAUTH1: "OAUTH1";
882
919
  readonly OAUTH2: "OAUTH2";
883
920
  readonly API_KEY: "API_KEY";
@@ -893,34 +930,34 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
893
930
  readonly DCR_OAUTH: "DCR_OAUTH";
894
931
  readonly S2S_OAUTH2: "S2S_OAUTH2";
895
932
  }>; /** Connection state values - varies by auth scheme */
896
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
897
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
898
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
899
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
900
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
901
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
902
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
903
- deprecated: z.ZodOptional<z.ZodObject<{
904
- labels: z.ZodArray<z.ZodString, "many">;
905
- uuid: z.ZodString;
906
- }, "strip", z.ZodTypeAny, {
933
+ 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 */
940
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
941
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
942
+ uuid: z$1.ZodString;
943
+ }, "strip", z$1.ZodTypeAny, {
907
944
  uuid: string;
908
945
  labels: string[];
909
946
  }, {
910
947
  uuid: string;
911
948
  labels: string[];
912
949
  }>>;
913
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
914
- /** Toolkit information */toolkit: z.ZodObject<{
915
- slug: z.ZodString;
916
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
917
- slug: z.ZodString;
918
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
919
- slug: z.ZodString;
920
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
921
- auth_config: z.ZodObject<{
922
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
923
- auth_scheme: z.ZodNativeEnum<{
950
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
951
+ /** Toolkit information */toolkit: z$1.ZodObject<{
952
+ slug: z$1.ZodString;
953
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
954
+ slug: z$1.ZodString;
955
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
956
+ slug: z$1.ZodString;
957
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
958
+ auth_config: z$1.ZodObject<{
959
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
960
+ auth_scheme: z$1.ZodNativeEnum<{
924
961
  readonly OAUTH1: "OAUTH1";
925
962
  readonly OAUTH2: "OAUTH2";
926
963
  readonly API_KEY: "API_KEY";
@@ -936,18 +973,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
936
973
  readonly DCR_OAUTH: "DCR_OAUTH";
937
974
  readonly S2S_OAUTH2: "S2S_OAUTH2";
938
975
  }>; /** Whether this auth config is managed by Composio */
939
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
940
- is_disabled: z.ZodBoolean; /** @deprecated */
941
- deprecated: z.ZodOptional<z.ZodObject<{
942
- uuid: z.ZodString;
943
- }, "strip", z.ZodTypeAny, {
976
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
977
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
978
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
979
+ uuid: z$1.ZodString;
980
+ }, "strip", z$1.ZodTypeAny, {
944
981
  uuid: string;
945
982
  }, {
946
983
  uuid: string;
947
984
  }>>;
948
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
949
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
950
- auth_scheme: z.ZodNativeEnum<{
985
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
986
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
987
+ auth_scheme: z$1.ZodNativeEnum<{
951
988
  readonly OAUTH1: "OAUTH1";
952
989
  readonly OAUTH2: "OAUTH2";
953
990
  readonly API_KEY: "API_KEY";
@@ -963,18 +1000,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
963
1000
  readonly DCR_OAUTH: "DCR_OAUTH";
964
1001
  readonly S2S_OAUTH2: "S2S_OAUTH2";
965
1002
  }>; /** Whether this auth config is managed by Composio */
966
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
967
- is_disabled: z.ZodBoolean; /** @deprecated */
968
- deprecated: z.ZodOptional<z.ZodObject<{
969
- uuid: z.ZodString;
970
- }, "strip", z.ZodTypeAny, {
1003
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1004
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1005
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1006
+ uuid: z$1.ZodString;
1007
+ }, "strip", z$1.ZodTypeAny, {
971
1008
  uuid: string;
972
1009
  }, {
973
1010
  uuid: string;
974
1011
  }>>;
975
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
976
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
977
- auth_scheme: z.ZodNativeEnum<{
1012
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1013
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1014
+ auth_scheme: z$1.ZodNativeEnum<{
978
1015
  readonly OAUTH1: "OAUTH1";
979
1016
  readonly OAUTH2: "OAUTH2";
980
1017
  readonly API_KEY: "API_KEY";
@@ -990,19 +1027,19 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
990
1027
  readonly DCR_OAUTH: "DCR_OAUTH";
991
1028
  readonly S2S_OAUTH2: "S2S_OAUTH2";
992
1029
  }>; /** Whether this auth config is managed by Composio */
993
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
994
- is_disabled: z.ZodBoolean; /** @deprecated */
995
- deprecated: z.ZodOptional<z.ZodObject<{
996
- uuid: z.ZodString;
997
- }, "strip", z.ZodTypeAny, {
1030
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1031
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1032
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1033
+ uuid: z$1.ZodString;
1034
+ }, "strip", z$1.ZodTypeAny, {
998
1035
  uuid: string;
999
1036
  }, {
1000
1037
  uuid: string;
1001
1038
  }>>;
1002
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1003
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
1004
- user_id: z.ZodString; /** Connection status */
1005
- status: z.ZodNativeEnum<{
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 */
1042
+ status: z$1.ZodNativeEnum<{
1006
1043
  readonly INITIALIZING: "INITIALIZING";
1007
1044
  readonly INITIATED: "INITIATED";
1008
1045
  readonly ACTIVE: "ACTIVE";
@@ -1011,10 +1048,10 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1011
1048
  readonly INACTIVE: "INACTIVE";
1012
1049
  readonly REVOKED: "REVOKED";
1013
1050
  }>; /** ISO-8601 timestamp of creation */
1014
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
1015
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
1016
- state: z.ZodObject<{
1017
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
1053
+ state: z$1.ZodObject<{
1054
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1018
1055
  readonly OAUTH1: "OAUTH1";
1019
1056
  readonly OAUTH2: "OAUTH2";
1020
1057
  readonly API_KEY: "API_KEY";
@@ -1030,9 +1067,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1030
1067
  readonly DCR_OAUTH: "DCR_OAUTH";
1031
1068
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1032
1069
  }>; /** Connection state values - varies by auth scheme */
1033
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1034
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1035
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1070
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1071
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1072
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1036
1073
  readonly OAUTH1: "OAUTH1";
1037
1074
  readonly OAUTH2: "OAUTH2";
1038
1075
  readonly API_KEY: "API_KEY";
@@ -1048,9 +1085,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1048
1085
  readonly DCR_OAUTH: "DCR_OAUTH";
1049
1086
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1050
1087
  }>; /** Connection state values - varies by auth scheme */
1051
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1052
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1053
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1088
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1089
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1090
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1054
1091
  readonly OAUTH1: "OAUTH1";
1055
1092
  readonly OAUTH2: "OAUTH2";
1056
1093
  readonly API_KEY: "API_KEY";
@@ -1066,34 +1103,34 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1066
1103
  readonly DCR_OAUTH: "DCR_OAUTH";
1067
1104
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1068
1105
  }>; /** Connection state values - varies by auth scheme */
1069
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1070
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1071
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
1072
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1073
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
1074
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
1075
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
1076
- deprecated: z.ZodOptional<z.ZodObject<{
1077
- labels: z.ZodArray<z.ZodString, "many">;
1078
- uuid: z.ZodString;
1079
- }, "strip", z.ZodTypeAny, {
1106
+ 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 */
1113
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1114
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1115
+ uuid: z$1.ZodString;
1116
+ }, "strip", z$1.ZodTypeAny, {
1080
1117
  uuid: string;
1081
1118
  labels: string[];
1082
1119
  }, {
1083
1120
  uuid: string;
1084
1121
  labels: string[];
1085
1122
  }>>;
1086
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1087
- /** Toolkit information */toolkit: z.ZodObject<{
1088
- slug: z.ZodString;
1089
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1090
- slug: z.ZodString;
1091
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1092
- slug: z.ZodString;
1093
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
1094
- auth_config: z.ZodObject<{
1095
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1096
- auth_scheme: z.ZodNativeEnum<{
1123
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1124
+ /** Toolkit information */toolkit: z$1.ZodObject<{
1125
+ slug: z$1.ZodString;
1126
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1127
+ slug: z$1.ZodString;
1128
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1129
+ slug: z$1.ZodString;
1130
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1131
+ auth_config: z$1.ZodObject<{
1132
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1133
+ auth_scheme: z$1.ZodNativeEnum<{
1097
1134
  readonly OAUTH1: "OAUTH1";
1098
1135
  readonly OAUTH2: "OAUTH2";
1099
1136
  readonly API_KEY: "API_KEY";
@@ -1109,18 +1146,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1109
1146
  readonly DCR_OAUTH: "DCR_OAUTH";
1110
1147
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1111
1148
  }>; /** Whether this auth config is managed by Composio */
1112
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1113
- is_disabled: z.ZodBoolean; /** @deprecated */
1114
- deprecated: z.ZodOptional<z.ZodObject<{
1115
- uuid: z.ZodString;
1116
- }, "strip", z.ZodTypeAny, {
1149
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1150
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1151
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1152
+ uuid: z$1.ZodString;
1153
+ }, "strip", z$1.ZodTypeAny, {
1117
1154
  uuid: string;
1118
1155
  }, {
1119
1156
  uuid: string;
1120
1157
  }>>;
1121
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1122
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1123
- auth_scheme: z.ZodNativeEnum<{
1158
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1159
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1160
+ auth_scheme: z$1.ZodNativeEnum<{
1124
1161
  readonly OAUTH1: "OAUTH1";
1125
1162
  readonly OAUTH2: "OAUTH2";
1126
1163
  readonly API_KEY: "API_KEY";
@@ -1136,18 +1173,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1136
1173
  readonly DCR_OAUTH: "DCR_OAUTH";
1137
1174
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1138
1175
  }>; /** Whether this auth config is managed by Composio */
1139
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1140
- is_disabled: z.ZodBoolean; /** @deprecated */
1141
- deprecated: z.ZodOptional<z.ZodObject<{
1142
- uuid: z.ZodString;
1143
- }, "strip", z.ZodTypeAny, {
1176
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1177
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1178
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1179
+ uuid: z$1.ZodString;
1180
+ }, "strip", z$1.ZodTypeAny, {
1144
1181
  uuid: string;
1145
1182
  }, {
1146
1183
  uuid: string;
1147
1184
  }>>;
1148
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1149
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1150
- auth_scheme: z.ZodNativeEnum<{
1185
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1186
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1187
+ auth_scheme: z$1.ZodNativeEnum<{
1151
1188
  readonly OAUTH1: "OAUTH1";
1152
1189
  readonly OAUTH2: "OAUTH2";
1153
1190
  readonly API_KEY: "API_KEY";
@@ -1163,19 +1200,19 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1163
1200
  readonly DCR_OAUTH: "DCR_OAUTH";
1164
1201
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1165
1202
  }>; /** Whether this auth config is managed by Composio */
1166
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1167
- is_disabled: z.ZodBoolean; /** @deprecated */
1168
- deprecated: z.ZodOptional<z.ZodObject<{
1169
- uuid: z.ZodString;
1170
- }, "strip", z.ZodTypeAny, {
1203
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1204
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1205
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1206
+ uuid: z$1.ZodString;
1207
+ }, "strip", z$1.ZodTypeAny, {
1171
1208
  uuid: string;
1172
1209
  }, {
1173
1210
  uuid: string;
1174
1211
  }>>;
1175
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1176
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
1177
- user_id: z.ZodString; /** Connection status */
1178
- status: z.ZodNativeEnum<{
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 */
1215
+ status: z$1.ZodNativeEnum<{
1179
1216
  readonly INITIALIZING: "INITIALIZING";
1180
1217
  readonly INITIATED: "INITIATED";
1181
1218
  readonly ACTIVE: "ACTIVE";
@@ -1184,10 +1221,10 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1184
1221
  readonly INACTIVE: "INACTIVE";
1185
1222
  readonly REVOKED: "REVOKED";
1186
1223
  }>; /** ISO-8601 timestamp of creation */
1187
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
1188
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
1189
- state: z.ZodObject<{
1190
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
1226
+ state: z$1.ZodObject<{
1227
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1191
1228
  readonly OAUTH1: "OAUTH1";
1192
1229
  readonly OAUTH2: "OAUTH2";
1193
1230
  readonly API_KEY: "API_KEY";
@@ -1203,9 +1240,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1203
1240
  readonly DCR_OAUTH: "DCR_OAUTH";
1204
1241
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1205
1242
  }>; /** Connection state values - varies by auth scheme */
1206
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1207
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1208
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1243
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1244
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1245
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1209
1246
  readonly OAUTH1: "OAUTH1";
1210
1247
  readonly OAUTH2: "OAUTH2";
1211
1248
  readonly API_KEY: "API_KEY";
@@ -1221,9 +1258,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1221
1258
  readonly DCR_OAUTH: "DCR_OAUTH";
1222
1259
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1223
1260
  }>; /** Connection state values - varies by auth scheme */
1224
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1225
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1226
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1261
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1262
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1263
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1227
1264
  readonly OAUTH1: "OAUTH1";
1228
1265
  readonly OAUTH2: "OAUTH2";
1229
1266
  readonly API_KEY: "API_KEY";
@@ -1239,42 +1276,42 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
1239
1276
  readonly DCR_OAUTH: "DCR_OAUTH";
1240
1277
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1241
1278
  }>; /** Connection state values - varies by auth scheme */
1242
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1243
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1244
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
1245
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1246
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
1247
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
1248
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
1249
- deprecated: z.ZodOptional<z.ZodObject<{
1250
- labels: z.ZodArray<z.ZodString, "many">;
1251
- uuid: z.ZodString;
1252
- }, "strip", z.ZodTypeAny, {
1279
+ 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 */
1286
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1287
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1288
+ uuid: z$1.ZodString;
1289
+ }, "strip", z$1.ZodTypeAny, {
1253
1290
  uuid: string;
1254
1291
  labels: string[];
1255
1292
  }, {
1256
1293
  uuid: string;
1257
1294
  labels: string[];
1258
1295
  }>>;
1259
- }, z.ZodTypeAny, "passthrough">>;
1260
- type SingleConnectedAccountDetailedResponse = z.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
1296
+ }, z$1.ZodTypeAny, "passthrough">>;
1297
+ type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
1261
1298
  /**
1262
1299
  * Webhook metadata for connection events.
1263
1300
  * Note: This differs from the trigger webhook metadata in WebhookTriggerPayloadV3Schema.
1264
1301
  *
1265
1302
  * Uses .passthrough() to accept unknown fields the API may add in the future.
1266
1303
  */
1267
- declare const WebhookConnectionMetadataSchema: z.ZodObject<{
1268
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
1269
- org_id: z.ZodString;
1270
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1271
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
1272
- org_id: z.ZodString;
1273
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1274
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
1275
- org_id: z.ZodString;
1276
- }, z.ZodTypeAny, "passthrough">>;
1277
- type WebhookConnectionMetadata = z.infer<typeof WebhookConnectionMetadataSchema>;
1304
+ declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
1305
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1306
+ org_id: z$1.ZodString;
1307
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1308
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1309
+ org_id: z$1.ZodString;
1310
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1311
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1312
+ org_id: z$1.ZodString;
1313
+ }, z$1.ZodTypeAny, "passthrough">>;
1314
+ type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
1278
1315
  /**
1279
1316
  * Connection expired webhook event payload.
1280
1317
  * Emitted when a connected account expires due to authentication refresh failure.
@@ -1295,21 +1332,21 @@ type WebhookConnectionMetadata = z.infer<typeof WebhookConnectionMetadataSchema>
1295
1332
  * }
1296
1333
  * ```
1297
1334
  */
1298
- declare const ConnectionExpiredEventSchema: z.ZodObject<{
1299
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
1300
- timestamp: z.ZodString; /** Event type identifier */
1301
- type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
1302
- data: z.ZodObject<{
1303
- /** Toolkit information */toolkit: z.ZodObject<{
1304
- slug: z.ZodString;
1305
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1306
- slug: z.ZodString;
1307
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1308
- slug: z.ZodString;
1309
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
1310
- auth_config: z.ZodObject<{
1311
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1312
- auth_scheme: z.ZodNativeEnum<{
1335
+ 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}) */
1339
+ data: z$1.ZodObject<{
1340
+ /** Toolkit information */toolkit: z$1.ZodObject<{
1341
+ slug: z$1.ZodString;
1342
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1343
+ slug: z$1.ZodString;
1344
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1345
+ slug: z$1.ZodString;
1346
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1347
+ auth_config: z$1.ZodObject<{
1348
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1349
+ auth_scheme: z$1.ZodNativeEnum<{
1313
1350
  readonly OAUTH1: "OAUTH1";
1314
1351
  readonly OAUTH2: "OAUTH2";
1315
1352
  readonly API_KEY: "API_KEY";
@@ -1325,18 +1362,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1325
1362
  readonly DCR_OAUTH: "DCR_OAUTH";
1326
1363
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1327
1364
  }>; /** Whether this auth config is managed by Composio */
1328
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1329
- is_disabled: z.ZodBoolean; /** @deprecated */
1330
- deprecated: z.ZodOptional<z.ZodObject<{
1331
- uuid: z.ZodString;
1332
- }, "strip", z.ZodTypeAny, {
1365
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1366
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1367
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1368
+ uuid: z$1.ZodString;
1369
+ }, "strip", z$1.ZodTypeAny, {
1333
1370
  uuid: string;
1334
1371
  }, {
1335
1372
  uuid: string;
1336
1373
  }>>;
1337
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1338
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1339
- auth_scheme: z.ZodNativeEnum<{
1374
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1375
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1376
+ auth_scheme: z$1.ZodNativeEnum<{
1340
1377
  readonly OAUTH1: "OAUTH1";
1341
1378
  readonly OAUTH2: "OAUTH2";
1342
1379
  readonly API_KEY: "API_KEY";
@@ -1352,18 +1389,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1352
1389
  readonly DCR_OAUTH: "DCR_OAUTH";
1353
1390
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1354
1391
  }>; /** Whether this auth config is managed by Composio */
1355
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1356
- is_disabled: z.ZodBoolean; /** @deprecated */
1357
- deprecated: z.ZodOptional<z.ZodObject<{
1358
- uuid: z.ZodString;
1359
- }, "strip", z.ZodTypeAny, {
1392
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1393
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1394
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1395
+ uuid: z$1.ZodString;
1396
+ }, "strip", z$1.ZodTypeAny, {
1360
1397
  uuid: string;
1361
1398
  }, {
1362
1399
  uuid: string;
1363
1400
  }>>;
1364
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1365
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1366
- auth_scheme: z.ZodNativeEnum<{
1401
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1402
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1403
+ auth_scheme: z$1.ZodNativeEnum<{
1367
1404
  readonly OAUTH1: "OAUTH1";
1368
1405
  readonly OAUTH2: "OAUTH2";
1369
1406
  readonly API_KEY: "API_KEY";
@@ -1379,19 +1416,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1379
1416
  readonly DCR_OAUTH: "DCR_OAUTH";
1380
1417
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1381
1418
  }>; /** Whether this auth config is managed by Composio */
1382
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1383
- is_disabled: z.ZodBoolean; /** @deprecated */
1384
- deprecated: z.ZodOptional<z.ZodObject<{
1385
- uuid: z.ZodString;
1386
- }, "strip", z.ZodTypeAny, {
1419
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1420
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1421
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1422
+ uuid: z$1.ZodString;
1423
+ }, "strip", z$1.ZodTypeAny, {
1387
1424
  uuid: string;
1388
1425
  }, {
1389
1426
  uuid: string;
1390
1427
  }>>;
1391
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1392
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
1393
- user_id: z.ZodString; /** Connection status */
1394
- status: z.ZodNativeEnum<{
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 */
1431
+ status: z$1.ZodNativeEnum<{
1395
1432
  readonly INITIALIZING: "INITIALIZING";
1396
1433
  readonly INITIATED: "INITIATED";
1397
1434
  readonly ACTIVE: "ACTIVE";
@@ -1400,10 +1437,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1400
1437
  readonly INACTIVE: "INACTIVE";
1401
1438
  readonly REVOKED: "REVOKED";
1402
1439
  }>; /** ISO-8601 timestamp of creation */
1403
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
1404
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
1405
- state: z.ZodObject<{
1406
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
1442
+ state: z$1.ZodObject<{
1443
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1407
1444
  readonly OAUTH1: "OAUTH1";
1408
1445
  readonly OAUTH2: "OAUTH2";
1409
1446
  readonly API_KEY: "API_KEY";
@@ -1419,9 +1456,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1419
1456
  readonly DCR_OAUTH: "DCR_OAUTH";
1420
1457
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1421
1458
  }>; /** Connection state values - varies by auth scheme */
1422
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1423
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1424
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1459
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1460
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1461
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1425
1462
  readonly OAUTH1: "OAUTH1";
1426
1463
  readonly OAUTH2: "OAUTH2";
1427
1464
  readonly API_KEY: "API_KEY";
@@ -1437,9 +1474,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1437
1474
  readonly DCR_OAUTH: "DCR_OAUTH";
1438
1475
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1439
1476
  }>; /** Connection state values - varies by auth scheme */
1440
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1441
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1442
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1477
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1478
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1479
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1443
1480
  readonly OAUTH1: "OAUTH1";
1444
1481
  readonly OAUTH2: "OAUTH2";
1445
1482
  readonly API_KEY: "API_KEY";
@@ -1455,34 +1492,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1455
1492
  readonly DCR_OAUTH: "DCR_OAUTH";
1456
1493
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1457
1494
  }>; /** Connection state values - varies by auth scheme */
1458
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1459
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1460
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
1461
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1462
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
1463
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
1464
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
1465
- deprecated: z.ZodOptional<z.ZodObject<{
1466
- labels: z.ZodArray<z.ZodString, "many">;
1467
- uuid: z.ZodString;
1468
- }, "strip", z.ZodTypeAny, {
1495
+ 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 */
1502
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1503
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1504
+ uuid: z$1.ZodString;
1505
+ }, "strip", z$1.ZodTypeAny, {
1469
1506
  uuid: string;
1470
1507
  labels: string[];
1471
1508
  }, {
1472
1509
  uuid: string;
1473
1510
  labels: string[];
1474
1511
  }>>;
1475
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1476
- /** Toolkit information */toolkit: z.ZodObject<{
1477
- slug: z.ZodString;
1478
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1479
- slug: z.ZodString;
1480
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1481
- slug: z.ZodString;
1482
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
1483
- auth_config: z.ZodObject<{
1484
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1485
- auth_scheme: z.ZodNativeEnum<{
1512
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1513
+ /** Toolkit information */toolkit: z$1.ZodObject<{
1514
+ slug: z$1.ZodString;
1515
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1516
+ slug: z$1.ZodString;
1517
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1518
+ slug: z$1.ZodString;
1519
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1520
+ auth_config: z$1.ZodObject<{
1521
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1522
+ auth_scheme: z$1.ZodNativeEnum<{
1486
1523
  readonly OAUTH1: "OAUTH1";
1487
1524
  readonly OAUTH2: "OAUTH2";
1488
1525
  readonly API_KEY: "API_KEY";
@@ -1498,18 +1535,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1498
1535
  readonly DCR_OAUTH: "DCR_OAUTH";
1499
1536
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1500
1537
  }>; /** Whether this auth config is managed by Composio */
1501
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1502
- is_disabled: z.ZodBoolean; /** @deprecated */
1503
- deprecated: z.ZodOptional<z.ZodObject<{
1504
- uuid: z.ZodString;
1505
- }, "strip", z.ZodTypeAny, {
1538
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1539
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1540
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1541
+ uuid: z$1.ZodString;
1542
+ }, "strip", z$1.ZodTypeAny, {
1506
1543
  uuid: string;
1507
1544
  }, {
1508
1545
  uuid: string;
1509
1546
  }>>;
1510
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1511
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1512
- auth_scheme: z.ZodNativeEnum<{
1547
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1548
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1549
+ auth_scheme: z$1.ZodNativeEnum<{
1513
1550
  readonly OAUTH1: "OAUTH1";
1514
1551
  readonly OAUTH2: "OAUTH2";
1515
1552
  readonly API_KEY: "API_KEY";
@@ -1525,18 +1562,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1525
1562
  readonly DCR_OAUTH: "DCR_OAUTH";
1526
1563
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1527
1564
  }>; /** Whether this auth config is managed by Composio */
1528
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1529
- is_disabled: z.ZodBoolean; /** @deprecated */
1530
- deprecated: z.ZodOptional<z.ZodObject<{
1531
- uuid: z.ZodString;
1532
- }, "strip", z.ZodTypeAny, {
1565
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1566
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1567
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1568
+ uuid: z$1.ZodString;
1569
+ }, "strip", z$1.ZodTypeAny, {
1533
1570
  uuid: string;
1534
1571
  }, {
1535
1572
  uuid: string;
1536
1573
  }>>;
1537
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1538
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1539
- auth_scheme: z.ZodNativeEnum<{
1574
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1575
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1576
+ auth_scheme: z$1.ZodNativeEnum<{
1540
1577
  readonly OAUTH1: "OAUTH1";
1541
1578
  readonly OAUTH2: "OAUTH2";
1542
1579
  readonly API_KEY: "API_KEY";
@@ -1552,19 +1589,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1552
1589
  readonly DCR_OAUTH: "DCR_OAUTH";
1553
1590
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1554
1591
  }>; /** Whether this auth config is managed by Composio */
1555
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1556
- is_disabled: z.ZodBoolean; /** @deprecated */
1557
- deprecated: z.ZodOptional<z.ZodObject<{
1558
- uuid: z.ZodString;
1559
- }, "strip", z.ZodTypeAny, {
1592
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1593
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1594
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1595
+ uuid: z$1.ZodString;
1596
+ }, "strip", z$1.ZodTypeAny, {
1560
1597
  uuid: string;
1561
1598
  }, {
1562
1599
  uuid: string;
1563
1600
  }>>;
1564
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1565
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
1566
- user_id: z.ZodString; /** Connection status */
1567
- status: z.ZodNativeEnum<{
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 */
1604
+ status: z$1.ZodNativeEnum<{
1568
1605
  readonly INITIALIZING: "INITIALIZING";
1569
1606
  readonly INITIATED: "INITIATED";
1570
1607
  readonly ACTIVE: "ACTIVE";
@@ -1573,10 +1610,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1573
1610
  readonly INACTIVE: "INACTIVE";
1574
1611
  readonly REVOKED: "REVOKED";
1575
1612
  }>; /** ISO-8601 timestamp of creation */
1576
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
1577
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
1578
- state: z.ZodObject<{
1579
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
1615
+ state: z$1.ZodObject<{
1616
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1580
1617
  readonly OAUTH1: "OAUTH1";
1581
1618
  readonly OAUTH2: "OAUTH2";
1582
1619
  readonly API_KEY: "API_KEY";
@@ -1592,9 +1629,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1592
1629
  readonly DCR_OAUTH: "DCR_OAUTH";
1593
1630
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1594
1631
  }>; /** Connection state values - varies by auth scheme */
1595
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1596
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1597
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1632
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1633
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1634
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1598
1635
  readonly OAUTH1: "OAUTH1";
1599
1636
  readonly OAUTH2: "OAUTH2";
1600
1637
  readonly API_KEY: "API_KEY";
@@ -1610,9 +1647,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1610
1647
  readonly DCR_OAUTH: "DCR_OAUTH";
1611
1648
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1612
1649
  }>; /** Connection state values - varies by auth scheme */
1613
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1614
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1615
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1650
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1651
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1652
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1616
1653
  readonly OAUTH1: "OAUTH1";
1617
1654
  readonly OAUTH2: "OAUTH2";
1618
1655
  readonly API_KEY: "API_KEY";
@@ -1628,34 +1665,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1628
1665
  readonly DCR_OAUTH: "DCR_OAUTH";
1629
1666
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1630
1667
  }>; /** Connection state values - varies by auth scheme */
1631
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1632
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1633
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
1634
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1635
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
1636
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
1637
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
1638
- deprecated: z.ZodOptional<z.ZodObject<{
1639
- labels: z.ZodArray<z.ZodString, "many">;
1640
- uuid: z.ZodString;
1641
- }, "strip", z.ZodTypeAny, {
1668
+ 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 */
1675
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1676
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1677
+ uuid: z$1.ZodString;
1678
+ }, "strip", z$1.ZodTypeAny, {
1642
1679
  uuid: string;
1643
1680
  labels: string[];
1644
1681
  }, {
1645
1682
  uuid: string;
1646
1683
  labels: string[];
1647
1684
  }>>;
1648
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1649
- /** Toolkit information */toolkit: z.ZodObject<{
1650
- slug: z.ZodString;
1651
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1652
- slug: z.ZodString;
1653
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1654
- slug: z.ZodString;
1655
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
1656
- auth_config: z.ZodObject<{
1657
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1658
- auth_scheme: z.ZodNativeEnum<{
1685
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1686
+ /** Toolkit information */toolkit: z$1.ZodObject<{
1687
+ slug: z$1.ZodString;
1688
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1689
+ slug: z$1.ZodString;
1690
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1691
+ slug: z$1.ZodString;
1692
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1693
+ auth_config: z$1.ZodObject<{
1694
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1695
+ auth_scheme: z$1.ZodNativeEnum<{
1659
1696
  readonly OAUTH1: "OAUTH1";
1660
1697
  readonly OAUTH2: "OAUTH2";
1661
1698
  readonly API_KEY: "API_KEY";
@@ -1671,18 +1708,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1671
1708
  readonly DCR_OAUTH: "DCR_OAUTH";
1672
1709
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1673
1710
  }>; /** Whether this auth config is managed by Composio */
1674
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1675
- is_disabled: z.ZodBoolean; /** @deprecated */
1676
- deprecated: z.ZodOptional<z.ZodObject<{
1677
- uuid: z.ZodString;
1678
- }, "strip", z.ZodTypeAny, {
1711
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1712
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1713
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1714
+ uuid: z$1.ZodString;
1715
+ }, "strip", z$1.ZodTypeAny, {
1679
1716
  uuid: string;
1680
1717
  }, {
1681
1718
  uuid: string;
1682
1719
  }>>;
1683
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1684
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1685
- auth_scheme: z.ZodNativeEnum<{
1720
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1721
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1722
+ auth_scheme: z$1.ZodNativeEnum<{
1686
1723
  readonly OAUTH1: "OAUTH1";
1687
1724
  readonly OAUTH2: "OAUTH2";
1688
1725
  readonly API_KEY: "API_KEY";
@@ -1698,18 +1735,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1698
1735
  readonly DCR_OAUTH: "DCR_OAUTH";
1699
1736
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1700
1737
  }>; /** Whether this auth config is managed by Composio */
1701
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1702
- is_disabled: z.ZodBoolean; /** @deprecated */
1703
- deprecated: z.ZodOptional<z.ZodObject<{
1704
- uuid: z.ZodString;
1705
- }, "strip", z.ZodTypeAny, {
1738
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1739
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1740
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1741
+ uuid: z$1.ZodString;
1742
+ }, "strip", z$1.ZodTypeAny, {
1706
1743
  uuid: string;
1707
1744
  }, {
1708
1745
  uuid: string;
1709
1746
  }>>;
1710
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1711
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1712
- auth_scheme: z.ZodNativeEnum<{
1747
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1748
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1749
+ auth_scheme: z$1.ZodNativeEnum<{
1713
1750
  readonly OAUTH1: "OAUTH1";
1714
1751
  readonly OAUTH2: "OAUTH2";
1715
1752
  readonly API_KEY: "API_KEY";
@@ -1725,19 +1762,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1725
1762
  readonly DCR_OAUTH: "DCR_OAUTH";
1726
1763
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1727
1764
  }>; /** Whether this auth config is managed by Composio */
1728
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1729
- is_disabled: z.ZodBoolean; /** @deprecated */
1730
- deprecated: z.ZodOptional<z.ZodObject<{
1731
- uuid: z.ZodString;
1732
- }, "strip", z.ZodTypeAny, {
1765
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1766
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1767
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1768
+ uuid: z$1.ZodString;
1769
+ }, "strip", z$1.ZodTypeAny, {
1733
1770
  uuid: string;
1734
1771
  }, {
1735
1772
  uuid: string;
1736
1773
  }>>;
1737
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1738
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
1739
- user_id: z.ZodString; /** Connection status */
1740
- status: z.ZodNativeEnum<{
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 */
1777
+ status: z$1.ZodNativeEnum<{
1741
1778
  readonly INITIALIZING: "INITIALIZING";
1742
1779
  readonly INITIATED: "INITIATED";
1743
1780
  readonly ACTIVE: "ACTIVE";
@@ -1746,10 +1783,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1746
1783
  readonly INACTIVE: "INACTIVE";
1747
1784
  readonly REVOKED: "REVOKED";
1748
1785
  }>; /** ISO-8601 timestamp of creation */
1749
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
1750
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
1751
- state: z.ZodObject<{
1752
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
1788
+ state: z$1.ZodObject<{
1789
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1753
1790
  readonly OAUTH1: "OAUTH1";
1754
1791
  readonly OAUTH2: "OAUTH2";
1755
1792
  readonly API_KEY: "API_KEY";
@@ -1765,9 +1802,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1765
1802
  readonly DCR_OAUTH: "DCR_OAUTH";
1766
1803
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1767
1804
  }>; /** Connection state values - varies by auth scheme */
1768
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1769
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1770
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1805
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1806
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1807
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1771
1808
  readonly OAUTH1: "OAUTH1";
1772
1809
  readonly OAUTH2: "OAUTH2";
1773
1810
  readonly API_KEY: "API_KEY";
@@ -1783,9 +1820,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1783
1820
  readonly DCR_OAUTH: "DCR_OAUTH";
1784
1821
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1785
1822
  }>; /** Connection state values - varies by auth scheme */
1786
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1787
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1788
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1823
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1824
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1825
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1789
1826
  readonly OAUTH1: "OAUTH1";
1790
1827
  readonly OAUTH2: "OAUTH2";
1791
1828
  readonly API_KEY: "API_KEY";
@@ -1801,49 +1838,49 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1801
1838
  readonly DCR_OAUTH: "DCR_OAUTH";
1802
1839
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1803
1840
  }>; /** Connection state values - varies by auth scheme */
1804
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1805
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1806
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
1807
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1808
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
1809
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
1810
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
1811
- deprecated: z.ZodOptional<z.ZodObject<{
1812
- labels: z.ZodArray<z.ZodString, "many">;
1813
- uuid: z.ZodString;
1814
- }, "strip", z.ZodTypeAny, {
1841
+ 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 */
1848
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1849
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
1850
+ uuid: z$1.ZodString;
1851
+ }, "strip", z$1.ZodTypeAny, {
1815
1852
  uuid: string;
1816
1853
  labels: string[];
1817
1854
  }, {
1818
1855
  uuid: string;
1819
1856
  labels: string[];
1820
1857
  }>>;
1821
- }, z.ZodTypeAny, "passthrough">>; /** Event metadata */
1822
- metadata: z.ZodObject<{
1823
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
1824
- org_id: z.ZodString;
1825
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1826
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
1827
- org_id: z.ZodString;
1828
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1829
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
1830
- org_id: z.ZodString;
1831
- }, z.ZodTypeAny, "passthrough">>;
1832
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1833
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
1834
- timestamp: z.ZodString; /** Event type identifier */
1835
- type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
1836
- data: z.ZodObject<{
1837
- /** Toolkit information */toolkit: z.ZodObject<{
1838
- slug: z.ZodString;
1839
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1840
- slug: z.ZodString;
1841
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1842
- slug: z.ZodString;
1843
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
1844
- auth_config: z.ZodObject<{
1845
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1846
- auth_scheme: z.ZodNativeEnum<{
1858
+ }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
1859
+ metadata: z$1.ZodObject<{
1860
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1861
+ org_id: z$1.ZodString;
1862
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1863
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1864
+ org_id: z$1.ZodString;
1865
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1866
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
1867
+ org_id: z$1.ZodString;
1868
+ }, z$1.ZodTypeAny, "passthrough">>;
1869
+ }, "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}) */
1873
+ data: z$1.ZodObject<{
1874
+ /** Toolkit information */toolkit: z$1.ZodObject<{
1875
+ slug: z$1.ZodString;
1876
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1877
+ slug: z$1.ZodString;
1878
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1879
+ slug: z$1.ZodString;
1880
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
1881
+ auth_config: z$1.ZodObject<{
1882
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1883
+ auth_scheme: z$1.ZodNativeEnum<{
1847
1884
  readonly OAUTH1: "OAUTH1";
1848
1885
  readonly OAUTH2: "OAUTH2";
1849
1886
  readonly API_KEY: "API_KEY";
@@ -1859,18 +1896,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1859
1896
  readonly DCR_OAUTH: "DCR_OAUTH";
1860
1897
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1861
1898
  }>; /** Whether this auth config is managed by Composio */
1862
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1863
- is_disabled: z.ZodBoolean; /** @deprecated */
1864
- deprecated: z.ZodOptional<z.ZodObject<{
1865
- uuid: z.ZodString;
1866
- }, "strip", z.ZodTypeAny, {
1899
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1900
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1901
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1902
+ uuid: z$1.ZodString;
1903
+ }, "strip", z$1.ZodTypeAny, {
1867
1904
  uuid: string;
1868
1905
  }, {
1869
1906
  uuid: string;
1870
1907
  }>>;
1871
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1872
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1873
- auth_scheme: z.ZodNativeEnum<{
1908
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1909
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1910
+ auth_scheme: z$1.ZodNativeEnum<{
1874
1911
  readonly OAUTH1: "OAUTH1";
1875
1912
  readonly OAUTH2: "OAUTH2";
1876
1913
  readonly API_KEY: "API_KEY";
@@ -1886,18 +1923,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1886
1923
  readonly DCR_OAUTH: "DCR_OAUTH";
1887
1924
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1888
1925
  }>; /** Whether this auth config is managed by Composio */
1889
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1890
- is_disabled: z.ZodBoolean; /** @deprecated */
1891
- deprecated: z.ZodOptional<z.ZodObject<{
1892
- uuid: z.ZodString;
1893
- }, "strip", z.ZodTypeAny, {
1926
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1927
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1928
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1929
+ uuid: z$1.ZodString;
1930
+ }, "strip", z$1.ZodTypeAny, {
1894
1931
  uuid: string;
1895
1932
  }, {
1896
1933
  uuid: string;
1897
1934
  }>>;
1898
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1899
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
1900
- auth_scheme: z.ZodNativeEnum<{
1935
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1936
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
1937
+ auth_scheme: z$1.ZodNativeEnum<{
1901
1938
  readonly OAUTH1: "OAUTH1";
1902
1939
  readonly OAUTH2: "OAUTH2";
1903
1940
  readonly API_KEY: "API_KEY";
@@ -1913,19 +1950,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1913
1950
  readonly DCR_OAUTH: "DCR_OAUTH";
1914
1951
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1915
1952
  }>; /** Whether this auth config is managed by Composio */
1916
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
1917
- is_disabled: z.ZodBoolean; /** @deprecated */
1918
- deprecated: z.ZodOptional<z.ZodObject<{
1919
- uuid: z.ZodString;
1920
- }, "strip", z.ZodTypeAny, {
1953
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
1954
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
1955
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
1956
+ uuid: z$1.ZodString;
1957
+ }, "strip", z$1.ZodTypeAny, {
1921
1958
  uuid: string;
1922
1959
  }, {
1923
1960
  uuid: string;
1924
1961
  }>>;
1925
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
1926
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
1927
- user_id: z.ZodString; /** Connection status */
1928
- status: z.ZodNativeEnum<{
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 */
1965
+ status: z$1.ZodNativeEnum<{
1929
1966
  readonly INITIALIZING: "INITIALIZING";
1930
1967
  readonly INITIATED: "INITIATED";
1931
1968
  readonly ACTIVE: "ACTIVE";
@@ -1934,10 +1971,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1934
1971
  readonly INACTIVE: "INACTIVE";
1935
1972
  readonly REVOKED: "REVOKED";
1936
1973
  }>; /** ISO-8601 timestamp of creation */
1937
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
1938
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
1939
- state: z.ZodObject<{
1940
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
1976
+ state: z$1.ZodObject<{
1977
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1941
1978
  readonly OAUTH1: "OAUTH1";
1942
1979
  readonly OAUTH2: "OAUTH2";
1943
1980
  readonly API_KEY: "API_KEY";
@@ -1953,9 +1990,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1953
1990
  readonly DCR_OAUTH: "DCR_OAUTH";
1954
1991
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1955
1992
  }>; /** Connection state values - varies by auth scheme */
1956
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1957
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1958
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
1993
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
1994
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1995
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1959
1996
  readonly OAUTH1: "OAUTH1";
1960
1997
  readonly OAUTH2: "OAUTH2";
1961
1998
  readonly API_KEY: "API_KEY";
@@ -1971,9 +2008,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1971
2008
  readonly DCR_OAUTH: "DCR_OAUTH";
1972
2009
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1973
2010
  }>; /** Connection state values - varies by auth scheme */
1974
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1975
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1976
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2011
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2012
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2013
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
1977
2014
  readonly OAUTH1: "OAUTH1";
1978
2015
  readonly OAUTH2: "OAUTH2";
1979
2016
  readonly API_KEY: "API_KEY";
@@ -1989,34 +2026,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
1989
2026
  readonly DCR_OAUTH: "DCR_OAUTH";
1990
2027
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1991
2028
  }>; /** Connection state values - varies by auth scheme */
1992
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1993
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
1994
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
1995
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
1996
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
1997
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
1998
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
1999
- deprecated: z.ZodOptional<z.ZodObject<{
2000
- labels: z.ZodArray<z.ZodString, "many">;
2001
- uuid: z.ZodString;
2002
- }, "strip", z.ZodTypeAny, {
2029
+ 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 */
2036
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2037
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2038
+ uuid: z$1.ZodString;
2039
+ }, "strip", z$1.ZodTypeAny, {
2003
2040
  uuid: string;
2004
2041
  labels: string[];
2005
2042
  }, {
2006
2043
  uuid: string;
2007
2044
  labels: string[];
2008
2045
  }>>;
2009
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2010
- /** Toolkit information */toolkit: z.ZodObject<{
2011
- slug: z.ZodString;
2012
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2013
- slug: z.ZodString;
2014
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2015
- slug: z.ZodString;
2016
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
2017
- auth_config: z.ZodObject<{
2018
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2019
- auth_scheme: z.ZodNativeEnum<{
2046
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2047
+ /** Toolkit information */toolkit: z$1.ZodObject<{
2048
+ slug: z$1.ZodString;
2049
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2050
+ slug: z$1.ZodString;
2051
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2052
+ slug: z$1.ZodString;
2053
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2054
+ auth_config: z$1.ZodObject<{
2055
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2056
+ auth_scheme: z$1.ZodNativeEnum<{
2020
2057
  readonly OAUTH1: "OAUTH1";
2021
2058
  readonly OAUTH2: "OAUTH2";
2022
2059
  readonly API_KEY: "API_KEY";
@@ -2032,18 +2069,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2032
2069
  readonly DCR_OAUTH: "DCR_OAUTH";
2033
2070
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2034
2071
  }>; /** Whether this auth config is managed by Composio */
2035
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2036
- is_disabled: z.ZodBoolean; /** @deprecated */
2037
- deprecated: z.ZodOptional<z.ZodObject<{
2038
- uuid: z.ZodString;
2039
- }, "strip", z.ZodTypeAny, {
2072
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2073
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2074
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2075
+ uuid: z$1.ZodString;
2076
+ }, "strip", z$1.ZodTypeAny, {
2040
2077
  uuid: string;
2041
2078
  }, {
2042
2079
  uuid: string;
2043
2080
  }>>;
2044
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2045
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2046
- auth_scheme: z.ZodNativeEnum<{
2081
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2082
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2083
+ auth_scheme: z$1.ZodNativeEnum<{
2047
2084
  readonly OAUTH1: "OAUTH1";
2048
2085
  readonly OAUTH2: "OAUTH2";
2049
2086
  readonly API_KEY: "API_KEY";
@@ -2059,18 +2096,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2059
2096
  readonly DCR_OAUTH: "DCR_OAUTH";
2060
2097
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2061
2098
  }>; /** Whether this auth config is managed by Composio */
2062
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2063
- is_disabled: z.ZodBoolean; /** @deprecated */
2064
- deprecated: z.ZodOptional<z.ZodObject<{
2065
- uuid: z.ZodString;
2066
- }, "strip", z.ZodTypeAny, {
2099
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2100
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2101
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2102
+ uuid: z$1.ZodString;
2103
+ }, "strip", z$1.ZodTypeAny, {
2067
2104
  uuid: string;
2068
2105
  }, {
2069
2106
  uuid: string;
2070
2107
  }>>;
2071
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2072
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2073
- auth_scheme: z.ZodNativeEnum<{
2108
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2109
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2110
+ auth_scheme: z$1.ZodNativeEnum<{
2074
2111
  readonly OAUTH1: "OAUTH1";
2075
2112
  readonly OAUTH2: "OAUTH2";
2076
2113
  readonly API_KEY: "API_KEY";
@@ -2086,19 +2123,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2086
2123
  readonly DCR_OAUTH: "DCR_OAUTH";
2087
2124
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2088
2125
  }>; /** Whether this auth config is managed by Composio */
2089
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2090
- is_disabled: z.ZodBoolean; /** @deprecated */
2091
- deprecated: z.ZodOptional<z.ZodObject<{
2092
- uuid: z.ZodString;
2093
- }, "strip", z.ZodTypeAny, {
2126
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2127
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2128
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2129
+ uuid: z$1.ZodString;
2130
+ }, "strip", z$1.ZodTypeAny, {
2094
2131
  uuid: string;
2095
2132
  }, {
2096
2133
  uuid: string;
2097
2134
  }>>;
2098
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2099
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
2100
- user_id: z.ZodString; /** Connection status */
2101
- status: z.ZodNativeEnum<{
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 */
2138
+ status: z$1.ZodNativeEnum<{
2102
2139
  readonly INITIALIZING: "INITIALIZING";
2103
2140
  readonly INITIATED: "INITIATED";
2104
2141
  readonly ACTIVE: "ACTIVE";
@@ -2107,10 +2144,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2107
2144
  readonly INACTIVE: "INACTIVE";
2108
2145
  readonly REVOKED: "REVOKED";
2109
2146
  }>; /** ISO-8601 timestamp of creation */
2110
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
2111
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
2112
- state: z.ZodObject<{
2113
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
2149
+ state: z$1.ZodObject<{
2150
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2114
2151
  readonly OAUTH1: "OAUTH1";
2115
2152
  readonly OAUTH2: "OAUTH2";
2116
2153
  readonly API_KEY: "API_KEY";
@@ -2126,9 +2163,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2126
2163
  readonly DCR_OAUTH: "DCR_OAUTH";
2127
2164
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2128
2165
  }>; /** Connection state values - varies by auth scheme */
2129
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2130
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2131
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2166
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2167
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2168
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2132
2169
  readonly OAUTH1: "OAUTH1";
2133
2170
  readonly OAUTH2: "OAUTH2";
2134
2171
  readonly API_KEY: "API_KEY";
@@ -2144,9 +2181,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2144
2181
  readonly DCR_OAUTH: "DCR_OAUTH";
2145
2182
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2146
2183
  }>; /** Connection state values - varies by auth scheme */
2147
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2148
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2149
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2184
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2185
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2186
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2150
2187
  readonly OAUTH1: "OAUTH1";
2151
2188
  readonly OAUTH2: "OAUTH2";
2152
2189
  readonly API_KEY: "API_KEY";
@@ -2162,34 +2199,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2162
2199
  readonly DCR_OAUTH: "DCR_OAUTH";
2163
2200
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2164
2201
  }>; /** Connection state values - varies by auth scheme */
2165
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2166
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2167
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
2168
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2169
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
2170
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
2171
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
2172
- deprecated: z.ZodOptional<z.ZodObject<{
2173
- labels: z.ZodArray<z.ZodString, "many">;
2174
- uuid: z.ZodString;
2175
- }, "strip", z.ZodTypeAny, {
2202
+ 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 */
2209
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2210
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2211
+ uuid: z$1.ZodString;
2212
+ }, "strip", z$1.ZodTypeAny, {
2176
2213
  uuid: string;
2177
2214
  labels: string[];
2178
2215
  }, {
2179
2216
  uuid: string;
2180
2217
  labels: string[];
2181
2218
  }>>;
2182
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2183
- /** Toolkit information */toolkit: z.ZodObject<{
2184
- slug: z.ZodString;
2185
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2186
- slug: z.ZodString;
2187
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2188
- slug: z.ZodString;
2189
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
2190
- auth_config: z.ZodObject<{
2191
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2192
- auth_scheme: z.ZodNativeEnum<{
2219
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2220
+ /** Toolkit information */toolkit: z$1.ZodObject<{
2221
+ slug: z$1.ZodString;
2222
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2223
+ slug: z$1.ZodString;
2224
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2225
+ slug: z$1.ZodString;
2226
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2227
+ auth_config: z$1.ZodObject<{
2228
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2229
+ auth_scheme: z$1.ZodNativeEnum<{
2193
2230
  readonly OAUTH1: "OAUTH1";
2194
2231
  readonly OAUTH2: "OAUTH2";
2195
2232
  readonly API_KEY: "API_KEY";
@@ -2205,18 +2242,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2205
2242
  readonly DCR_OAUTH: "DCR_OAUTH";
2206
2243
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2207
2244
  }>; /** Whether this auth config is managed by Composio */
2208
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2209
- is_disabled: z.ZodBoolean; /** @deprecated */
2210
- deprecated: z.ZodOptional<z.ZodObject<{
2211
- uuid: z.ZodString;
2212
- }, "strip", z.ZodTypeAny, {
2245
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2246
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2247
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2248
+ uuid: z$1.ZodString;
2249
+ }, "strip", z$1.ZodTypeAny, {
2213
2250
  uuid: string;
2214
2251
  }, {
2215
2252
  uuid: string;
2216
2253
  }>>;
2217
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2218
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2219
- auth_scheme: z.ZodNativeEnum<{
2254
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2255
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2256
+ auth_scheme: z$1.ZodNativeEnum<{
2220
2257
  readonly OAUTH1: "OAUTH1";
2221
2258
  readonly OAUTH2: "OAUTH2";
2222
2259
  readonly API_KEY: "API_KEY";
@@ -2232,18 +2269,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2232
2269
  readonly DCR_OAUTH: "DCR_OAUTH";
2233
2270
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2234
2271
  }>; /** Whether this auth config is managed by Composio */
2235
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2236
- is_disabled: z.ZodBoolean; /** @deprecated */
2237
- deprecated: z.ZodOptional<z.ZodObject<{
2238
- uuid: z.ZodString;
2239
- }, "strip", z.ZodTypeAny, {
2272
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2273
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2274
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2275
+ uuid: z$1.ZodString;
2276
+ }, "strip", z$1.ZodTypeAny, {
2240
2277
  uuid: string;
2241
2278
  }, {
2242
2279
  uuid: string;
2243
2280
  }>>;
2244
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2245
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2246
- auth_scheme: z.ZodNativeEnum<{
2281
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2282
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2283
+ auth_scheme: z$1.ZodNativeEnum<{
2247
2284
  readonly OAUTH1: "OAUTH1";
2248
2285
  readonly OAUTH2: "OAUTH2";
2249
2286
  readonly API_KEY: "API_KEY";
@@ -2259,19 +2296,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2259
2296
  readonly DCR_OAUTH: "DCR_OAUTH";
2260
2297
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2261
2298
  }>; /** Whether this auth config is managed by Composio */
2262
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2263
- is_disabled: z.ZodBoolean; /** @deprecated */
2264
- deprecated: z.ZodOptional<z.ZodObject<{
2265
- uuid: z.ZodString;
2266
- }, "strip", z.ZodTypeAny, {
2299
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2300
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2301
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2302
+ uuid: z$1.ZodString;
2303
+ }, "strip", z$1.ZodTypeAny, {
2267
2304
  uuid: string;
2268
2305
  }, {
2269
2306
  uuid: string;
2270
2307
  }>>;
2271
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2272
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
2273
- user_id: z.ZodString; /** Connection status */
2274
- status: z.ZodNativeEnum<{
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 */
2311
+ status: z$1.ZodNativeEnum<{
2275
2312
  readonly INITIALIZING: "INITIALIZING";
2276
2313
  readonly INITIATED: "INITIATED";
2277
2314
  readonly ACTIVE: "ACTIVE";
@@ -2280,10 +2317,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2280
2317
  readonly INACTIVE: "INACTIVE";
2281
2318
  readonly REVOKED: "REVOKED";
2282
2319
  }>; /** ISO-8601 timestamp of creation */
2283
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
2284
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
2285
- state: z.ZodObject<{
2286
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
2322
+ state: z$1.ZodObject<{
2323
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2287
2324
  readonly OAUTH1: "OAUTH1";
2288
2325
  readonly OAUTH2: "OAUTH2";
2289
2326
  readonly API_KEY: "API_KEY";
@@ -2299,9 +2336,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2299
2336
  readonly DCR_OAUTH: "DCR_OAUTH";
2300
2337
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2301
2338
  }>; /** Connection state values - varies by auth scheme */
2302
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2303
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2304
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2339
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2340
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2341
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2305
2342
  readonly OAUTH1: "OAUTH1";
2306
2343
  readonly OAUTH2: "OAUTH2";
2307
2344
  readonly API_KEY: "API_KEY";
@@ -2317,9 +2354,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2317
2354
  readonly DCR_OAUTH: "DCR_OAUTH";
2318
2355
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2319
2356
  }>; /** Connection state values - varies by auth scheme */
2320
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2321
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2322
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2357
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2358
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2359
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2323
2360
  readonly OAUTH1: "OAUTH1";
2324
2361
  readonly OAUTH2: "OAUTH2";
2325
2362
  readonly API_KEY: "API_KEY";
@@ -2335,49 +2372,49 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2335
2372
  readonly DCR_OAUTH: "DCR_OAUTH";
2336
2373
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2337
2374
  }>; /** Connection state values - varies by auth scheme */
2338
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2339
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2340
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
2341
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2342
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
2343
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
2344
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
2345
- deprecated: z.ZodOptional<z.ZodObject<{
2346
- labels: z.ZodArray<z.ZodString, "many">;
2347
- uuid: z.ZodString;
2348
- }, "strip", z.ZodTypeAny, {
2375
+ 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 */
2382
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2383
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2384
+ uuid: z$1.ZodString;
2385
+ }, "strip", z$1.ZodTypeAny, {
2349
2386
  uuid: string;
2350
2387
  labels: string[];
2351
2388
  }, {
2352
2389
  uuid: string;
2353
2390
  labels: string[];
2354
2391
  }>>;
2355
- }, z.ZodTypeAny, "passthrough">>; /** Event metadata */
2356
- metadata: z.ZodObject<{
2357
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
2358
- org_id: z.ZodString;
2359
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2360
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
2361
- org_id: z.ZodString;
2362
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2363
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
2364
- org_id: z.ZodString;
2365
- }, z.ZodTypeAny, "passthrough">>;
2366
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2367
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
2368
- timestamp: z.ZodString; /** Event type identifier */
2369
- type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
2370
- data: z.ZodObject<{
2371
- /** Toolkit information */toolkit: z.ZodObject<{
2372
- slug: z.ZodString;
2373
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2374
- slug: z.ZodString;
2375
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2376
- slug: z.ZodString;
2377
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
2378
- auth_config: z.ZodObject<{
2379
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2380
- auth_scheme: z.ZodNativeEnum<{
2392
+ }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
2393
+ metadata: z$1.ZodObject<{
2394
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2395
+ org_id: z$1.ZodString;
2396
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2397
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2398
+ org_id: z$1.ZodString;
2399
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2400
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2401
+ org_id: z$1.ZodString;
2402
+ }, z$1.ZodTypeAny, "passthrough">>;
2403
+ }, 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}) */
2407
+ data: z$1.ZodObject<{
2408
+ /** Toolkit information */toolkit: z$1.ZodObject<{
2409
+ slug: z$1.ZodString;
2410
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2411
+ slug: z$1.ZodString;
2412
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2413
+ slug: z$1.ZodString;
2414
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2415
+ auth_config: z$1.ZodObject<{
2416
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2417
+ auth_scheme: z$1.ZodNativeEnum<{
2381
2418
  readonly OAUTH1: "OAUTH1";
2382
2419
  readonly OAUTH2: "OAUTH2";
2383
2420
  readonly API_KEY: "API_KEY";
@@ -2393,18 +2430,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2393
2430
  readonly DCR_OAUTH: "DCR_OAUTH";
2394
2431
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2395
2432
  }>; /** Whether this auth config is managed by Composio */
2396
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2397
- is_disabled: z.ZodBoolean; /** @deprecated */
2398
- deprecated: z.ZodOptional<z.ZodObject<{
2399
- uuid: z.ZodString;
2400
- }, "strip", z.ZodTypeAny, {
2433
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2434
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2435
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2436
+ uuid: z$1.ZodString;
2437
+ }, "strip", z$1.ZodTypeAny, {
2401
2438
  uuid: string;
2402
2439
  }, {
2403
2440
  uuid: string;
2404
2441
  }>>;
2405
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2406
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2407
- auth_scheme: z.ZodNativeEnum<{
2442
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2443
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2444
+ auth_scheme: z$1.ZodNativeEnum<{
2408
2445
  readonly OAUTH1: "OAUTH1";
2409
2446
  readonly OAUTH2: "OAUTH2";
2410
2447
  readonly API_KEY: "API_KEY";
@@ -2420,18 +2457,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2420
2457
  readonly DCR_OAUTH: "DCR_OAUTH";
2421
2458
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2422
2459
  }>; /** Whether this auth config is managed by Composio */
2423
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2424
- is_disabled: z.ZodBoolean; /** @deprecated */
2425
- deprecated: z.ZodOptional<z.ZodObject<{
2426
- uuid: z.ZodString;
2427
- }, "strip", z.ZodTypeAny, {
2460
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2461
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2462
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2463
+ uuid: z$1.ZodString;
2464
+ }, "strip", z$1.ZodTypeAny, {
2428
2465
  uuid: string;
2429
2466
  }, {
2430
2467
  uuid: string;
2431
2468
  }>>;
2432
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2433
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2434
- auth_scheme: z.ZodNativeEnum<{
2469
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2470
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2471
+ auth_scheme: z$1.ZodNativeEnum<{
2435
2472
  readonly OAUTH1: "OAUTH1";
2436
2473
  readonly OAUTH2: "OAUTH2";
2437
2474
  readonly API_KEY: "API_KEY";
@@ -2447,19 +2484,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2447
2484
  readonly DCR_OAUTH: "DCR_OAUTH";
2448
2485
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2449
2486
  }>; /** Whether this auth config is managed by Composio */
2450
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2451
- is_disabled: z.ZodBoolean; /** @deprecated */
2452
- deprecated: z.ZodOptional<z.ZodObject<{
2453
- uuid: z.ZodString;
2454
- }, "strip", z.ZodTypeAny, {
2487
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2488
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2489
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2490
+ uuid: z$1.ZodString;
2491
+ }, "strip", z$1.ZodTypeAny, {
2455
2492
  uuid: string;
2456
2493
  }, {
2457
2494
  uuid: string;
2458
2495
  }>>;
2459
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2460
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
2461
- user_id: z.ZodString; /** Connection status */
2462
- status: z.ZodNativeEnum<{
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 */
2499
+ status: z$1.ZodNativeEnum<{
2463
2500
  readonly INITIALIZING: "INITIALIZING";
2464
2501
  readonly INITIATED: "INITIATED";
2465
2502
  readonly ACTIVE: "ACTIVE";
@@ -2468,10 +2505,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2468
2505
  readonly INACTIVE: "INACTIVE";
2469
2506
  readonly REVOKED: "REVOKED";
2470
2507
  }>; /** ISO-8601 timestamp of creation */
2471
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
2472
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
2473
- state: z.ZodObject<{
2474
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
2510
+ state: z$1.ZodObject<{
2511
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2475
2512
  readonly OAUTH1: "OAUTH1";
2476
2513
  readonly OAUTH2: "OAUTH2";
2477
2514
  readonly API_KEY: "API_KEY";
@@ -2487,9 +2524,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2487
2524
  readonly DCR_OAUTH: "DCR_OAUTH";
2488
2525
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2489
2526
  }>; /** Connection state values - varies by auth scheme */
2490
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2491
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2492
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2527
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2528
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2529
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2493
2530
  readonly OAUTH1: "OAUTH1";
2494
2531
  readonly OAUTH2: "OAUTH2";
2495
2532
  readonly API_KEY: "API_KEY";
@@ -2505,9 +2542,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2505
2542
  readonly DCR_OAUTH: "DCR_OAUTH";
2506
2543
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2507
2544
  }>; /** Connection state values - varies by auth scheme */
2508
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2509
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2510
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2545
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2546
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2547
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2511
2548
  readonly OAUTH1: "OAUTH1";
2512
2549
  readonly OAUTH2: "OAUTH2";
2513
2550
  readonly API_KEY: "API_KEY";
@@ -2523,34 +2560,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2523
2560
  readonly DCR_OAUTH: "DCR_OAUTH";
2524
2561
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2525
2562
  }>; /** Connection state values - varies by auth scheme */
2526
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2527
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2528
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
2529
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2530
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
2531
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
2532
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
2533
- deprecated: z.ZodOptional<z.ZodObject<{
2534
- labels: z.ZodArray<z.ZodString, "many">;
2535
- uuid: z.ZodString;
2536
- }, "strip", z.ZodTypeAny, {
2563
+ 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 */
2570
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2571
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2572
+ uuid: z$1.ZodString;
2573
+ }, "strip", z$1.ZodTypeAny, {
2537
2574
  uuid: string;
2538
2575
  labels: string[];
2539
2576
  }, {
2540
2577
  uuid: string;
2541
2578
  labels: string[];
2542
2579
  }>>;
2543
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2544
- /** Toolkit information */toolkit: z.ZodObject<{
2545
- slug: z.ZodString;
2546
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2547
- slug: z.ZodString;
2548
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2549
- slug: z.ZodString;
2550
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
2551
- auth_config: z.ZodObject<{
2552
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2553
- auth_scheme: z.ZodNativeEnum<{
2580
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2581
+ /** Toolkit information */toolkit: z$1.ZodObject<{
2582
+ slug: z$1.ZodString;
2583
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2584
+ slug: z$1.ZodString;
2585
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2586
+ slug: z$1.ZodString;
2587
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2588
+ auth_config: z$1.ZodObject<{
2589
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2590
+ auth_scheme: z$1.ZodNativeEnum<{
2554
2591
  readonly OAUTH1: "OAUTH1";
2555
2592
  readonly OAUTH2: "OAUTH2";
2556
2593
  readonly API_KEY: "API_KEY";
@@ -2566,18 +2603,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2566
2603
  readonly DCR_OAUTH: "DCR_OAUTH";
2567
2604
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2568
2605
  }>; /** Whether this auth config is managed by Composio */
2569
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2570
- is_disabled: z.ZodBoolean; /** @deprecated */
2571
- deprecated: z.ZodOptional<z.ZodObject<{
2572
- uuid: z.ZodString;
2573
- }, "strip", z.ZodTypeAny, {
2606
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2607
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2608
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2609
+ uuid: z$1.ZodString;
2610
+ }, "strip", z$1.ZodTypeAny, {
2574
2611
  uuid: string;
2575
2612
  }, {
2576
2613
  uuid: string;
2577
2614
  }>>;
2578
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2579
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2580
- auth_scheme: z.ZodNativeEnum<{
2615
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2616
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2617
+ auth_scheme: z$1.ZodNativeEnum<{
2581
2618
  readonly OAUTH1: "OAUTH1";
2582
2619
  readonly OAUTH2: "OAUTH2";
2583
2620
  readonly API_KEY: "API_KEY";
@@ -2593,18 +2630,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2593
2630
  readonly DCR_OAUTH: "DCR_OAUTH";
2594
2631
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2595
2632
  }>; /** Whether this auth config is managed by Composio */
2596
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2597
- is_disabled: z.ZodBoolean; /** @deprecated */
2598
- deprecated: z.ZodOptional<z.ZodObject<{
2599
- uuid: z.ZodString;
2600
- }, "strip", z.ZodTypeAny, {
2633
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2634
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2635
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2636
+ uuid: z$1.ZodString;
2637
+ }, "strip", z$1.ZodTypeAny, {
2601
2638
  uuid: string;
2602
2639
  }, {
2603
2640
  uuid: string;
2604
2641
  }>>;
2605
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2606
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2607
- auth_scheme: z.ZodNativeEnum<{
2642
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2643
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2644
+ auth_scheme: z$1.ZodNativeEnum<{
2608
2645
  readonly OAUTH1: "OAUTH1";
2609
2646
  readonly OAUTH2: "OAUTH2";
2610
2647
  readonly API_KEY: "API_KEY";
@@ -2620,19 +2657,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2620
2657
  readonly DCR_OAUTH: "DCR_OAUTH";
2621
2658
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2622
2659
  }>; /** Whether this auth config is managed by Composio */
2623
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2624
- is_disabled: z.ZodBoolean; /** @deprecated */
2625
- deprecated: z.ZodOptional<z.ZodObject<{
2626
- uuid: z.ZodString;
2627
- }, "strip", z.ZodTypeAny, {
2660
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2661
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2662
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2663
+ uuid: z$1.ZodString;
2664
+ }, "strip", z$1.ZodTypeAny, {
2628
2665
  uuid: string;
2629
2666
  }, {
2630
2667
  uuid: string;
2631
2668
  }>>;
2632
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2633
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
2634
- user_id: z.ZodString; /** Connection status */
2635
- status: z.ZodNativeEnum<{
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 */
2672
+ status: z$1.ZodNativeEnum<{
2636
2673
  readonly INITIALIZING: "INITIALIZING";
2637
2674
  readonly INITIATED: "INITIATED";
2638
2675
  readonly ACTIVE: "ACTIVE";
@@ -2641,10 +2678,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2641
2678
  readonly INACTIVE: "INACTIVE";
2642
2679
  readonly REVOKED: "REVOKED";
2643
2680
  }>; /** ISO-8601 timestamp of creation */
2644
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
2645
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
2646
- state: z.ZodObject<{
2647
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
2683
+ state: z$1.ZodObject<{
2684
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2648
2685
  readonly OAUTH1: "OAUTH1";
2649
2686
  readonly OAUTH2: "OAUTH2";
2650
2687
  readonly API_KEY: "API_KEY";
@@ -2660,9 +2697,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2660
2697
  readonly DCR_OAUTH: "DCR_OAUTH";
2661
2698
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2662
2699
  }>; /** Connection state values - varies by auth scheme */
2663
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2664
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2665
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2700
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2701
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2702
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2666
2703
  readonly OAUTH1: "OAUTH1";
2667
2704
  readonly OAUTH2: "OAUTH2";
2668
2705
  readonly API_KEY: "API_KEY";
@@ -2678,9 +2715,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2678
2715
  readonly DCR_OAUTH: "DCR_OAUTH";
2679
2716
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2680
2717
  }>; /** Connection state values - varies by auth scheme */
2681
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2682
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2683
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2718
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2719
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2720
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2684
2721
  readonly OAUTH1: "OAUTH1";
2685
2722
  readonly OAUTH2: "OAUTH2";
2686
2723
  readonly API_KEY: "API_KEY";
@@ -2696,34 +2733,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2696
2733
  readonly DCR_OAUTH: "DCR_OAUTH";
2697
2734
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2698
2735
  }>; /** Connection state values - varies by auth scheme */
2699
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2700
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2701
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
2702
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2703
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
2704
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
2705
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
2706
- deprecated: z.ZodOptional<z.ZodObject<{
2707
- labels: z.ZodArray<z.ZodString, "many">;
2708
- uuid: z.ZodString;
2709
- }, "strip", z.ZodTypeAny, {
2736
+ 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 */
2743
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2744
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2745
+ uuid: z$1.ZodString;
2746
+ }, "strip", z$1.ZodTypeAny, {
2710
2747
  uuid: string;
2711
2748
  labels: string[];
2712
2749
  }, {
2713
2750
  uuid: string;
2714
2751
  labels: string[];
2715
2752
  }>>;
2716
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2717
- /** Toolkit information */toolkit: z.ZodObject<{
2718
- slug: z.ZodString;
2719
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2720
- slug: z.ZodString;
2721
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2722
- slug: z.ZodString;
2723
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
2724
- auth_config: z.ZodObject<{
2725
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2726
- auth_scheme: z.ZodNativeEnum<{
2753
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2754
+ /** Toolkit information */toolkit: z$1.ZodObject<{
2755
+ slug: z$1.ZodString;
2756
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2757
+ slug: z$1.ZodString;
2758
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2759
+ slug: z$1.ZodString;
2760
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2761
+ auth_config: z$1.ZodObject<{
2762
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2763
+ auth_scheme: z$1.ZodNativeEnum<{
2727
2764
  readonly OAUTH1: "OAUTH1";
2728
2765
  readonly OAUTH2: "OAUTH2";
2729
2766
  readonly API_KEY: "API_KEY";
@@ -2739,18 +2776,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2739
2776
  readonly DCR_OAUTH: "DCR_OAUTH";
2740
2777
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2741
2778
  }>; /** Whether this auth config is managed by Composio */
2742
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2743
- is_disabled: z.ZodBoolean; /** @deprecated */
2744
- deprecated: z.ZodOptional<z.ZodObject<{
2745
- uuid: z.ZodString;
2746
- }, "strip", z.ZodTypeAny, {
2779
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2780
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2781
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2782
+ uuid: z$1.ZodString;
2783
+ }, "strip", z$1.ZodTypeAny, {
2747
2784
  uuid: string;
2748
2785
  }, {
2749
2786
  uuid: string;
2750
2787
  }>>;
2751
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2752
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2753
- auth_scheme: z.ZodNativeEnum<{
2788
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2789
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2790
+ auth_scheme: z$1.ZodNativeEnum<{
2754
2791
  readonly OAUTH1: "OAUTH1";
2755
2792
  readonly OAUTH2: "OAUTH2";
2756
2793
  readonly API_KEY: "API_KEY";
@@ -2766,18 +2803,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2766
2803
  readonly DCR_OAUTH: "DCR_OAUTH";
2767
2804
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2768
2805
  }>; /** Whether this auth config is managed by Composio */
2769
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2770
- is_disabled: z.ZodBoolean; /** @deprecated */
2771
- deprecated: z.ZodOptional<z.ZodObject<{
2772
- uuid: z.ZodString;
2773
- }, "strip", z.ZodTypeAny, {
2806
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2807
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2808
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2809
+ uuid: z$1.ZodString;
2810
+ }, "strip", z$1.ZodTypeAny, {
2774
2811
  uuid: string;
2775
2812
  }, {
2776
2813
  uuid: string;
2777
2814
  }>>;
2778
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2779
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2780
- auth_scheme: z.ZodNativeEnum<{
2815
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2816
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2817
+ auth_scheme: z$1.ZodNativeEnum<{
2781
2818
  readonly OAUTH1: "OAUTH1";
2782
2819
  readonly OAUTH2: "OAUTH2";
2783
2820
  readonly API_KEY: "API_KEY";
@@ -2793,19 +2830,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2793
2830
  readonly DCR_OAUTH: "DCR_OAUTH";
2794
2831
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2795
2832
  }>; /** Whether this auth config is managed by Composio */
2796
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2797
- is_disabled: z.ZodBoolean; /** @deprecated */
2798
- deprecated: z.ZodOptional<z.ZodObject<{
2799
- uuid: z.ZodString;
2800
- }, "strip", z.ZodTypeAny, {
2833
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2834
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2835
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2836
+ uuid: z$1.ZodString;
2837
+ }, "strip", z$1.ZodTypeAny, {
2801
2838
  uuid: string;
2802
2839
  }, {
2803
2840
  uuid: string;
2804
2841
  }>>;
2805
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
2806
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
2807
- user_id: z.ZodString; /** Connection status */
2808
- status: z.ZodNativeEnum<{
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 */
2845
+ status: z$1.ZodNativeEnum<{
2809
2846
  readonly INITIALIZING: "INITIALIZING";
2810
2847
  readonly INITIATED: "INITIATED";
2811
2848
  readonly ACTIVE: "ACTIVE";
@@ -2814,10 +2851,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2814
2851
  readonly INACTIVE: "INACTIVE";
2815
2852
  readonly REVOKED: "REVOKED";
2816
2853
  }>; /** ISO-8601 timestamp of creation */
2817
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
2818
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
2819
- state: z.ZodObject<{
2820
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
2856
+ state: z$1.ZodObject<{
2857
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2821
2858
  readonly OAUTH1: "OAUTH1";
2822
2859
  readonly OAUTH2: "OAUTH2";
2823
2860
  readonly API_KEY: "API_KEY";
@@ -2833,9 +2870,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2833
2870
  readonly DCR_OAUTH: "DCR_OAUTH";
2834
2871
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2835
2872
  }>; /** Connection state values - varies by auth scheme */
2836
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2837
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2838
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2873
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2874
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2875
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2839
2876
  readonly OAUTH1: "OAUTH1";
2840
2877
  readonly OAUTH2: "OAUTH2";
2841
2878
  readonly API_KEY: "API_KEY";
@@ -2851,9 +2888,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2851
2888
  readonly DCR_OAUTH: "DCR_OAUTH";
2852
2889
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2853
2890
  }>; /** Connection state values - varies by auth scheme */
2854
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2855
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2856
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
2891
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2892
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2893
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
2857
2894
  readonly OAUTH1: "OAUTH1";
2858
2895
  readonly OAUTH2: "OAUTH2";
2859
2896
  readonly API_KEY: "API_KEY";
@@ -2869,36 +2906,36 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
2869
2906
  readonly DCR_OAUTH: "DCR_OAUTH";
2870
2907
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2871
2908
  }>; /** Connection state values - varies by auth scheme */
2872
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2873
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
2874
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
2875
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
2876
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
2877
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
2878
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
2879
- deprecated: z.ZodOptional<z.ZodObject<{
2880
- labels: z.ZodArray<z.ZodString, "many">;
2881
- uuid: z.ZodString;
2882
- }, "strip", z.ZodTypeAny, {
2909
+ 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 */
2916
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2917
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
2918
+ uuid: z$1.ZodString;
2919
+ }, "strip", z$1.ZodTypeAny, {
2883
2920
  uuid: string;
2884
2921
  labels: string[];
2885
2922
  }, {
2886
2923
  uuid: string;
2887
2924
  labels: string[];
2888
2925
  }>>;
2889
- }, z.ZodTypeAny, "passthrough">>; /** Event metadata */
2890
- metadata: z.ZodObject<{
2891
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
2892
- org_id: z.ZodString;
2893
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2894
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
2895
- org_id: z.ZodString;
2896
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2897
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
2898
- org_id: z.ZodString;
2899
- }, z.ZodTypeAny, "passthrough">>;
2900
- }, z.ZodTypeAny, "passthrough">>;
2901
- type ConnectionExpiredEvent = z.infer<typeof ConnectionExpiredEventSchema>;
2926
+ }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
2927
+ metadata: z$1.ZodObject<{
2928
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2929
+ org_id: z$1.ZodString;
2930
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2931
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2932
+ org_id: z$1.ZodString;
2933
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2934
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
2935
+ org_id: z$1.ZodString;
2936
+ }, z$1.ZodTypeAny, "passthrough">>;
2937
+ }, z$1.ZodTypeAny, "passthrough">>;
2938
+ type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
2902
2939
  /**
2903
2940
  * Union of all typed webhook event schemas.
2904
2941
  * Extend this as new event types are added.
@@ -2910,21 +2947,21 @@ type ConnectionExpiredEvent = z.infer<typeof ConnectionExpiredEventSchema>;
2910
2947
  * Trigger events (composio.trigger.message) are handled through the
2911
2948
  * WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
2912
2949
  */
2913
- declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2914
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
2915
- timestamp: z.ZodString; /** Event type identifier */
2916
- type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
2917
- data: z.ZodObject<{
2918
- /** Toolkit information */toolkit: z.ZodObject<{
2919
- slug: z.ZodString;
2920
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2921
- slug: z.ZodString;
2922
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2923
- slug: z.ZodString;
2924
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
2925
- auth_config: z.ZodObject<{
2926
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2927
- auth_scheme: z.ZodNativeEnum<{
2950
+ 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}) */
2954
+ data: z$1.ZodObject<{
2955
+ /** Toolkit information */toolkit: z$1.ZodObject<{
2956
+ slug: z$1.ZodString;
2957
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2958
+ slug: z$1.ZodString;
2959
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2960
+ slug: z$1.ZodString;
2961
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
2962
+ auth_config: z$1.ZodObject<{
2963
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2964
+ auth_scheme: z$1.ZodNativeEnum<{
2928
2965
  readonly OAUTH1: "OAUTH1";
2929
2966
  readonly OAUTH2: "OAUTH2";
2930
2967
  readonly API_KEY: "API_KEY";
@@ -2940,18 +2977,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2940
2977
  readonly DCR_OAUTH: "DCR_OAUTH";
2941
2978
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2942
2979
  }>; /** Whether this auth config is managed by Composio */
2943
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2944
- is_disabled: z.ZodBoolean; /** @deprecated */
2945
- deprecated: z.ZodOptional<z.ZodObject<{
2946
- uuid: z.ZodString;
2947
- }, "strip", z.ZodTypeAny, {
2980
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
2981
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
2982
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
2983
+ uuid: z$1.ZodString;
2984
+ }, "strip", z$1.ZodTypeAny, {
2948
2985
  uuid: string;
2949
2986
  }, {
2950
2987
  uuid: string;
2951
2988
  }>>;
2952
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2953
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2954
- auth_scheme: z.ZodNativeEnum<{
2989
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2990
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
2991
+ auth_scheme: z$1.ZodNativeEnum<{
2955
2992
  readonly OAUTH1: "OAUTH1";
2956
2993
  readonly OAUTH2: "OAUTH2";
2957
2994
  readonly API_KEY: "API_KEY";
@@ -2967,18 +3004,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2967
3004
  readonly DCR_OAUTH: "DCR_OAUTH";
2968
3005
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2969
3006
  }>; /** Whether this auth config is managed by Composio */
2970
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2971
- is_disabled: z.ZodBoolean; /** @deprecated */
2972
- deprecated: z.ZodOptional<z.ZodObject<{
2973
- uuid: z.ZodString;
2974
- }, "strip", z.ZodTypeAny, {
3007
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3008
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3009
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3010
+ uuid: z$1.ZodString;
3011
+ }, "strip", z$1.ZodTypeAny, {
2975
3012
  uuid: string;
2976
3013
  }, {
2977
3014
  uuid: string;
2978
3015
  }>>;
2979
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2980
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
2981
- auth_scheme: z.ZodNativeEnum<{
3016
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3017
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3018
+ auth_scheme: z$1.ZodNativeEnum<{
2982
3019
  readonly OAUTH1: "OAUTH1";
2983
3020
  readonly OAUTH2: "OAUTH2";
2984
3021
  readonly API_KEY: "API_KEY";
@@ -2994,19 +3031,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2994
3031
  readonly DCR_OAUTH: "DCR_OAUTH";
2995
3032
  readonly S2S_OAUTH2: "S2S_OAUTH2";
2996
3033
  }>; /** Whether this auth config is managed by Composio */
2997
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
2998
- is_disabled: z.ZodBoolean; /** @deprecated */
2999
- deprecated: z.ZodOptional<z.ZodObject<{
3000
- uuid: z.ZodString;
3001
- }, "strip", z.ZodTypeAny, {
3034
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3035
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3036
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3037
+ uuid: z$1.ZodString;
3038
+ }, "strip", z$1.ZodTypeAny, {
3002
3039
  uuid: string;
3003
3040
  }, {
3004
3041
  uuid: string;
3005
3042
  }>>;
3006
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3007
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
3008
- user_id: z.ZodString; /** Connection status */
3009
- status: z.ZodNativeEnum<{
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 */
3046
+ status: z$1.ZodNativeEnum<{
3010
3047
  readonly INITIALIZING: "INITIALIZING";
3011
3048
  readonly INITIATED: "INITIATED";
3012
3049
  readonly ACTIVE: "ACTIVE";
@@ -3015,10 +3052,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3015
3052
  readonly INACTIVE: "INACTIVE";
3016
3053
  readonly REVOKED: "REVOKED";
3017
3054
  }>; /** ISO-8601 timestamp of creation */
3018
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
3019
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
3020
- state: z.ZodObject<{
3021
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
3057
+ state: z$1.ZodObject<{
3058
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3022
3059
  readonly OAUTH1: "OAUTH1";
3023
3060
  readonly OAUTH2: "OAUTH2";
3024
3061
  readonly API_KEY: "API_KEY";
@@ -3034,9 +3071,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3034
3071
  readonly DCR_OAUTH: "DCR_OAUTH";
3035
3072
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3036
3073
  }>; /** Connection state values - varies by auth scheme */
3037
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3038
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3039
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3074
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3075
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3076
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3040
3077
  readonly OAUTH1: "OAUTH1";
3041
3078
  readonly OAUTH2: "OAUTH2";
3042
3079
  readonly API_KEY: "API_KEY";
@@ -3052,9 +3089,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3052
3089
  readonly DCR_OAUTH: "DCR_OAUTH";
3053
3090
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3054
3091
  }>; /** Connection state values - varies by auth scheme */
3055
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3056
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3057
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3092
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3093
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3094
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3058
3095
  readonly OAUTH1: "OAUTH1";
3059
3096
  readonly OAUTH2: "OAUTH2";
3060
3097
  readonly API_KEY: "API_KEY";
@@ -3070,34 +3107,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3070
3107
  readonly DCR_OAUTH: "DCR_OAUTH";
3071
3108
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3072
3109
  }>; /** Connection state values - varies by auth scheme */
3073
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3074
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3075
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
3076
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3077
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
3078
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
3079
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
3080
- deprecated: z.ZodOptional<z.ZodObject<{
3081
- labels: z.ZodArray<z.ZodString, "many">;
3082
- uuid: z.ZodString;
3083
- }, "strip", z.ZodTypeAny, {
3110
+ 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 */
3117
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3118
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3119
+ uuid: z$1.ZodString;
3120
+ }, "strip", z$1.ZodTypeAny, {
3084
3121
  uuid: string;
3085
3122
  labels: string[];
3086
3123
  }, {
3087
3124
  uuid: string;
3088
3125
  labels: string[];
3089
3126
  }>>;
3090
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3091
- /** Toolkit information */toolkit: z.ZodObject<{
3092
- slug: z.ZodString;
3093
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3094
- slug: z.ZodString;
3095
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3096
- slug: z.ZodString;
3097
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
3098
- auth_config: z.ZodObject<{
3099
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3100
- auth_scheme: z.ZodNativeEnum<{
3127
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3128
+ /** Toolkit information */toolkit: z$1.ZodObject<{
3129
+ slug: z$1.ZodString;
3130
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3131
+ slug: z$1.ZodString;
3132
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3133
+ slug: z$1.ZodString;
3134
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3135
+ auth_config: z$1.ZodObject<{
3136
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3137
+ auth_scheme: z$1.ZodNativeEnum<{
3101
3138
  readonly OAUTH1: "OAUTH1";
3102
3139
  readonly OAUTH2: "OAUTH2";
3103
3140
  readonly API_KEY: "API_KEY";
@@ -3113,18 +3150,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3113
3150
  readonly DCR_OAUTH: "DCR_OAUTH";
3114
3151
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3115
3152
  }>; /** Whether this auth config is managed by Composio */
3116
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3117
- is_disabled: z.ZodBoolean; /** @deprecated */
3118
- deprecated: z.ZodOptional<z.ZodObject<{
3119
- uuid: z.ZodString;
3120
- }, "strip", z.ZodTypeAny, {
3153
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3154
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3155
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3156
+ uuid: z$1.ZodString;
3157
+ }, "strip", z$1.ZodTypeAny, {
3121
3158
  uuid: string;
3122
3159
  }, {
3123
3160
  uuid: string;
3124
3161
  }>>;
3125
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3126
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3127
- auth_scheme: z.ZodNativeEnum<{
3162
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3163
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3164
+ auth_scheme: z$1.ZodNativeEnum<{
3128
3165
  readonly OAUTH1: "OAUTH1";
3129
3166
  readonly OAUTH2: "OAUTH2";
3130
3167
  readonly API_KEY: "API_KEY";
@@ -3140,18 +3177,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3140
3177
  readonly DCR_OAUTH: "DCR_OAUTH";
3141
3178
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3142
3179
  }>; /** Whether this auth config is managed by Composio */
3143
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3144
- is_disabled: z.ZodBoolean; /** @deprecated */
3145
- deprecated: z.ZodOptional<z.ZodObject<{
3146
- uuid: z.ZodString;
3147
- }, "strip", z.ZodTypeAny, {
3180
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3181
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3182
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3183
+ uuid: z$1.ZodString;
3184
+ }, "strip", z$1.ZodTypeAny, {
3148
3185
  uuid: string;
3149
3186
  }, {
3150
3187
  uuid: string;
3151
3188
  }>>;
3152
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3153
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3154
- auth_scheme: z.ZodNativeEnum<{
3189
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3190
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3191
+ auth_scheme: z$1.ZodNativeEnum<{
3155
3192
  readonly OAUTH1: "OAUTH1";
3156
3193
  readonly OAUTH2: "OAUTH2";
3157
3194
  readonly API_KEY: "API_KEY";
@@ -3167,19 +3204,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3167
3204
  readonly DCR_OAUTH: "DCR_OAUTH";
3168
3205
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3169
3206
  }>; /** Whether this auth config is managed by Composio */
3170
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3171
- is_disabled: z.ZodBoolean; /** @deprecated */
3172
- deprecated: z.ZodOptional<z.ZodObject<{
3173
- uuid: z.ZodString;
3174
- }, "strip", z.ZodTypeAny, {
3207
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3208
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3209
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3210
+ uuid: z$1.ZodString;
3211
+ }, "strip", z$1.ZodTypeAny, {
3175
3212
  uuid: string;
3176
3213
  }, {
3177
3214
  uuid: string;
3178
3215
  }>>;
3179
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3180
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
3181
- user_id: z.ZodString; /** Connection status */
3182
- status: z.ZodNativeEnum<{
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 */
3219
+ status: z$1.ZodNativeEnum<{
3183
3220
  readonly INITIALIZING: "INITIALIZING";
3184
3221
  readonly INITIATED: "INITIATED";
3185
3222
  readonly ACTIVE: "ACTIVE";
@@ -3188,10 +3225,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3188
3225
  readonly INACTIVE: "INACTIVE";
3189
3226
  readonly REVOKED: "REVOKED";
3190
3227
  }>; /** ISO-8601 timestamp of creation */
3191
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
3192
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
3193
- state: z.ZodObject<{
3194
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
3230
+ state: z$1.ZodObject<{
3231
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3195
3232
  readonly OAUTH1: "OAUTH1";
3196
3233
  readonly OAUTH2: "OAUTH2";
3197
3234
  readonly API_KEY: "API_KEY";
@@ -3207,9 +3244,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3207
3244
  readonly DCR_OAUTH: "DCR_OAUTH";
3208
3245
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3209
3246
  }>; /** Connection state values - varies by auth scheme */
3210
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3211
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3212
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3247
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3248
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3249
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3213
3250
  readonly OAUTH1: "OAUTH1";
3214
3251
  readonly OAUTH2: "OAUTH2";
3215
3252
  readonly API_KEY: "API_KEY";
@@ -3225,9 +3262,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3225
3262
  readonly DCR_OAUTH: "DCR_OAUTH";
3226
3263
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3227
3264
  }>; /** Connection state values - varies by auth scheme */
3228
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3229
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3230
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3265
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3266
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3267
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3231
3268
  readonly OAUTH1: "OAUTH1";
3232
3269
  readonly OAUTH2: "OAUTH2";
3233
3270
  readonly API_KEY: "API_KEY";
@@ -3243,34 +3280,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3243
3280
  readonly DCR_OAUTH: "DCR_OAUTH";
3244
3281
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3245
3282
  }>; /** Connection state values - varies by auth scheme */
3246
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3247
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3248
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
3249
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3250
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
3251
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
3252
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
3253
- deprecated: z.ZodOptional<z.ZodObject<{
3254
- labels: z.ZodArray<z.ZodString, "many">;
3255
- uuid: z.ZodString;
3256
- }, "strip", z.ZodTypeAny, {
3283
+ 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 */
3290
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3291
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3292
+ uuid: z$1.ZodString;
3293
+ }, "strip", z$1.ZodTypeAny, {
3257
3294
  uuid: string;
3258
3295
  labels: string[];
3259
3296
  }, {
3260
3297
  uuid: string;
3261
3298
  labels: string[];
3262
3299
  }>>;
3263
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3264
- /** Toolkit information */toolkit: z.ZodObject<{
3265
- slug: z.ZodString;
3266
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3267
- slug: z.ZodString;
3268
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3269
- slug: z.ZodString;
3270
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
3271
- auth_config: z.ZodObject<{
3272
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3273
- auth_scheme: z.ZodNativeEnum<{
3300
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3301
+ /** Toolkit information */toolkit: z$1.ZodObject<{
3302
+ slug: z$1.ZodString;
3303
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3304
+ slug: z$1.ZodString;
3305
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3306
+ slug: z$1.ZodString;
3307
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3308
+ auth_config: z$1.ZodObject<{
3309
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3310
+ auth_scheme: z$1.ZodNativeEnum<{
3274
3311
  readonly OAUTH1: "OAUTH1";
3275
3312
  readonly OAUTH2: "OAUTH2";
3276
3313
  readonly API_KEY: "API_KEY";
@@ -3286,18 +3323,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3286
3323
  readonly DCR_OAUTH: "DCR_OAUTH";
3287
3324
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3288
3325
  }>; /** Whether this auth config is managed by Composio */
3289
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3290
- is_disabled: z.ZodBoolean; /** @deprecated */
3291
- deprecated: z.ZodOptional<z.ZodObject<{
3292
- uuid: z.ZodString;
3293
- }, "strip", z.ZodTypeAny, {
3326
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3327
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3328
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3329
+ uuid: z$1.ZodString;
3330
+ }, "strip", z$1.ZodTypeAny, {
3294
3331
  uuid: string;
3295
3332
  }, {
3296
3333
  uuid: string;
3297
3334
  }>>;
3298
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3299
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3300
- auth_scheme: z.ZodNativeEnum<{
3335
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3336
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3337
+ auth_scheme: z$1.ZodNativeEnum<{
3301
3338
  readonly OAUTH1: "OAUTH1";
3302
3339
  readonly OAUTH2: "OAUTH2";
3303
3340
  readonly API_KEY: "API_KEY";
@@ -3313,18 +3350,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3313
3350
  readonly DCR_OAUTH: "DCR_OAUTH";
3314
3351
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3315
3352
  }>; /** Whether this auth config is managed by Composio */
3316
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3317
- is_disabled: z.ZodBoolean; /** @deprecated */
3318
- deprecated: z.ZodOptional<z.ZodObject<{
3319
- uuid: z.ZodString;
3320
- }, "strip", z.ZodTypeAny, {
3353
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3354
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3355
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3356
+ uuid: z$1.ZodString;
3357
+ }, "strip", z$1.ZodTypeAny, {
3321
3358
  uuid: string;
3322
3359
  }, {
3323
3360
  uuid: string;
3324
3361
  }>>;
3325
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3326
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3327
- auth_scheme: z.ZodNativeEnum<{
3362
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3363
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3364
+ auth_scheme: z$1.ZodNativeEnum<{
3328
3365
  readonly OAUTH1: "OAUTH1";
3329
3366
  readonly OAUTH2: "OAUTH2";
3330
3367
  readonly API_KEY: "API_KEY";
@@ -3340,19 +3377,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3340
3377
  readonly DCR_OAUTH: "DCR_OAUTH";
3341
3378
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3342
3379
  }>; /** Whether this auth config is managed by Composio */
3343
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3344
- is_disabled: z.ZodBoolean; /** @deprecated */
3345
- deprecated: z.ZodOptional<z.ZodObject<{
3346
- uuid: z.ZodString;
3347
- }, "strip", z.ZodTypeAny, {
3380
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3381
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3382
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3383
+ uuid: z$1.ZodString;
3384
+ }, "strip", z$1.ZodTypeAny, {
3348
3385
  uuid: string;
3349
3386
  }, {
3350
3387
  uuid: string;
3351
3388
  }>>;
3352
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3353
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
3354
- user_id: z.ZodString; /** Connection status */
3355
- status: z.ZodNativeEnum<{
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 */
3392
+ status: z$1.ZodNativeEnum<{
3356
3393
  readonly INITIALIZING: "INITIALIZING";
3357
3394
  readonly INITIATED: "INITIATED";
3358
3395
  readonly ACTIVE: "ACTIVE";
@@ -3361,10 +3398,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3361
3398
  readonly INACTIVE: "INACTIVE";
3362
3399
  readonly REVOKED: "REVOKED";
3363
3400
  }>; /** ISO-8601 timestamp of creation */
3364
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
3365
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
3366
- state: z.ZodObject<{
3367
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
3403
+ state: z$1.ZodObject<{
3404
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3368
3405
  readonly OAUTH1: "OAUTH1";
3369
3406
  readonly OAUTH2: "OAUTH2";
3370
3407
  readonly API_KEY: "API_KEY";
@@ -3380,9 +3417,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3380
3417
  readonly DCR_OAUTH: "DCR_OAUTH";
3381
3418
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3382
3419
  }>; /** Connection state values - varies by auth scheme */
3383
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3384
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3385
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3420
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3421
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3422
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3386
3423
  readonly OAUTH1: "OAUTH1";
3387
3424
  readonly OAUTH2: "OAUTH2";
3388
3425
  readonly API_KEY: "API_KEY";
@@ -3398,9 +3435,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3398
3435
  readonly DCR_OAUTH: "DCR_OAUTH";
3399
3436
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3400
3437
  }>; /** Connection state values - varies by auth scheme */
3401
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3402
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3403
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3438
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3439
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3440
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3404
3441
  readonly OAUTH1: "OAUTH1";
3405
3442
  readonly OAUTH2: "OAUTH2";
3406
3443
  readonly API_KEY: "API_KEY";
@@ -3416,49 +3453,49 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3416
3453
  readonly DCR_OAUTH: "DCR_OAUTH";
3417
3454
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3418
3455
  }>; /** Connection state values - varies by auth scheme */
3419
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3420
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3421
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
3422
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3423
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
3424
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
3425
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
3426
- deprecated: z.ZodOptional<z.ZodObject<{
3427
- labels: z.ZodArray<z.ZodString, "many">;
3428
- uuid: z.ZodString;
3429
- }, "strip", z.ZodTypeAny, {
3456
+ 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 */
3463
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3464
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3465
+ uuid: z$1.ZodString;
3466
+ }, "strip", z$1.ZodTypeAny, {
3430
3467
  uuid: string;
3431
3468
  labels: string[];
3432
3469
  }, {
3433
3470
  uuid: string;
3434
3471
  labels: string[];
3435
3472
  }>>;
3436
- }, z.ZodTypeAny, "passthrough">>; /** Event metadata */
3437
- metadata: z.ZodObject<{
3438
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
3439
- org_id: z.ZodString;
3440
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3441
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
3442
- org_id: z.ZodString;
3443
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3444
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
3445
- org_id: z.ZodString;
3446
- }, z.ZodTypeAny, "passthrough">>;
3447
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3448
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
3449
- timestamp: z.ZodString; /** Event type identifier */
3450
- type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
3451
- data: z.ZodObject<{
3452
- /** Toolkit information */toolkit: z.ZodObject<{
3453
- slug: z.ZodString;
3454
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3455
- slug: z.ZodString;
3456
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3457
- slug: z.ZodString;
3458
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
3459
- auth_config: z.ZodObject<{
3460
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3461
- auth_scheme: z.ZodNativeEnum<{
3473
+ }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
3474
+ metadata: z$1.ZodObject<{
3475
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
3476
+ org_id: z$1.ZodString;
3477
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3478
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
3479
+ org_id: z$1.ZodString;
3480
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3481
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
3482
+ org_id: z$1.ZodString;
3483
+ }, z$1.ZodTypeAny, "passthrough">>;
3484
+ }, "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}) */
3488
+ data: z$1.ZodObject<{
3489
+ /** Toolkit information */toolkit: z$1.ZodObject<{
3490
+ slug: z$1.ZodString;
3491
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3492
+ slug: z$1.ZodString;
3493
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3494
+ slug: z$1.ZodString;
3495
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3496
+ auth_config: z$1.ZodObject<{
3497
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3498
+ auth_scheme: z$1.ZodNativeEnum<{
3462
3499
  readonly OAUTH1: "OAUTH1";
3463
3500
  readonly OAUTH2: "OAUTH2";
3464
3501
  readonly API_KEY: "API_KEY";
@@ -3474,18 +3511,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3474
3511
  readonly DCR_OAUTH: "DCR_OAUTH";
3475
3512
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3476
3513
  }>; /** Whether this auth config is managed by Composio */
3477
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3478
- is_disabled: z.ZodBoolean; /** @deprecated */
3479
- deprecated: z.ZodOptional<z.ZodObject<{
3480
- uuid: z.ZodString;
3481
- }, "strip", z.ZodTypeAny, {
3514
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3515
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3516
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3517
+ uuid: z$1.ZodString;
3518
+ }, "strip", z$1.ZodTypeAny, {
3482
3519
  uuid: string;
3483
3520
  }, {
3484
3521
  uuid: string;
3485
3522
  }>>;
3486
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3487
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3488
- auth_scheme: z.ZodNativeEnum<{
3523
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3524
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3525
+ auth_scheme: z$1.ZodNativeEnum<{
3489
3526
  readonly OAUTH1: "OAUTH1";
3490
3527
  readonly OAUTH2: "OAUTH2";
3491
3528
  readonly API_KEY: "API_KEY";
@@ -3501,18 +3538,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3501
3538
  readonly DCR_OAUTH: "DCR_OAUTH";
3502
3539
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3503
3540
  }>; /** Whether this auth config is managed by Composio */
3504
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3505
- is_disabled: z.ZodBoolean; /** @deprecated */
3506
- deprecated: z.ZodOptional<z.ZodObject<{
3507
- uuid: z.ZodString;
3508
- }, "strip", z.ZodTypeAny, {
3541
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3542
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3543
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3544
+ uuid: z$1.ZodString;
3545
+ }, "strip", z$1.ZodTypeAny, {
3509
3546
  uuid: string;
3510
3547
  }, {
3511
3548
  uuid: string;
3512
3549
  }>>;
3513
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3514
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3515
- auth_scheme: z.ZodNativeEnum<{
3550
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3551
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3552
+ auth_scheme: z$1.ZodNativeEnum<{
3516
3553
  readonly OAUTH1: "OAUTH1";
3517
3554
  readonly OAUTH2: "OAUTH2";
3518
3555
  readonly API_KEY: "API_KEY";
@@ -3528,19 +3565,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3528
3565
  readonly DCR_OAUTH: "DCR_OAUTH";
3529
3566
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3530
3567
  }>; /** Whether this auth config is managed by Composio */
3531
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3532
- is_disabled: z.ZodBoolean; /** @deprecated */
3533
- deprecated: z.ZodOptional<z.ZodObject<{
3534
- uuid: z.ZodString;
3535
- }, "strip", z.ZodTypeAny, {
3568
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3569
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3570
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3571
+ uuid: z$1.ZodString;
3572
+ }, "strip", z$1.ZodTypeAny, {
3536
3573
  uuid: string;
3537
3574
  }, {
3538
3575
  uuid: string;
3539
3576
  }>>;
3540
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3541
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
3542
- user_id: z.ZodString; /** Connection status */
3543
- status: z.ZodNativeEnum<{
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 */
3580
+ status: z$1.ZodNativeEnum<{
3544
3581
  readonly INITIALIZING: "INITIALIZING";
3545
3582
  readonly INITIATED: "INITIATED";
3546
3583
  readonly ACTIVE: "ACTIVE";
@@ -3549,10 +3586,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3549
3586
  readonly INACTIVE: "INACTIVE";
3550
3587
  readonly REVOKED: "REVOKED";
3551
3588
  }>; /** ISO-8601 timestamp of creation */
3552
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
3553
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
3554
- state: z.ZodObject<{
3555
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
3591
+ state: z$1.ZodObject<{
3592
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3556
3593
  readonly OAUTH1: "OAUTH1";
3557
3594
  readonly OAUTH2: "OAUTH2";
3558
3595
  readonly API_KEY: "API_KEY";
@@ -3568,9 +3605,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3568
3605
  readonly DCR_OAUTH: "DCR_OAUTH";
3569
3606
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3570
3607
  }>; /** Connection state values - varies by auth scheme */
3571
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3572
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3573
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3608
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3609
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3610
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3574
3611
  readonly OAUTH1: "OAUTH1";
3575
3612
  readonly OAUTH2: "OAUTH2";
3576
3613
  readonly API_KEY: "API_KEY";
@@ -3586,9 +3623,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3586
3623
  readonly DCR_OAUTH: "DCR_OAUTH";
3587
3624
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3588
3625
  }>; /** Connection state values - varies by auth scheme */
3589
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3590
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3591
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3626
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3627
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3628
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3592
3629
  readonly OAUTH1: "OAUTH1";
3593
3630
  readonly OAUTH2: "OAUTH2";
3594
3631
  readonly API_KEY: "API_KEY";
@@ -3604,34 +3641,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3604
3641
  readonly DCR_OAUTH: "DCR_OAUTH";
3605
3642
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3606
3643
  }>; /** Connection state values - varies by auth scheme */
3607
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3608
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3609
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
3610
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3611
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
3612
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
3613
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
3614
- deprecated: z.ZodOptional<z.ZodObject<{
3615
- labels: z.ZodArray<z.ZodString, "many">;
3616
- uuid: z.ZodString;
3617
- }, "strip", z.ZodTypeAny, {
3644
+ 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 */
3651
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3652
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3653
+ uuid: z$1.ZodString;
3654
+ }, "strip", z$1.ZodTypeAny, {
3618
3655
  uuid: string;
3619
3656
  labels: string[];
3620
3657
  }, {
3621
3658
  uuid: string;
3622
3659
  labels: string[];
3623
3660
  }>>;
3624
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3625
- /** Toolkit information */toolkit: z.ZodObject<{
3626
- slug: z.ZodString;
3627
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3628
- slug: z.ZodString;
3629
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3630
- slug: z.ZodString;
3631
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
3632
- auth_config: z.ZodObject<{
3633
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3634
- auth_scheme: z.ZodNativeEnum<{
3661
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3662
+ /** Toolkit information */toolkit: z$1.ZodObject<{
3663
+ slug: z$1.ZodString;
3664
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3665
+ slug: z$1.ZodString;
3666
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3667
+ slug: z$1.ZodString;
3668
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3669
+ auth_config: z$1.ZodObject<{
3670
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3671
+ auth_scheme: z$1.ZodNativeEnum<{
3635
3672
  readonly OAUTH1: "OAUTH1";
3636
3673
  readonly OAUTH2: "OAUTH2";
3637
3674
  readonly API_KEY: "API_KEY";
@@ -3647,18 +3684,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3647
3684
  readonly DCR_OAUTH: "DCR_OAUTH";
3648
3685
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3649
3686
  }>; /** Whether this auth config is managed by Composio */
3650
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3651
- is_disabled: z.ZodBoolean; /** @deprecated */
3652
- deprecated: z.ZodOptional<z.ZodObject<{
3653
- uuid: z.ZodString;
3654
- }, "strip", z.ZodTypeAny, {
3687
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3688
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3689
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3690
+ uuid: z$1.ZodString;
3691
+ }, "strip", z$1.ZodTypeAny, {
3655
3692
  uuid: string;
3656
3693
  }, {
3657
3694
  uuid: string;
3658
3695
  }>>;
3659
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3660
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3661
- auth_scheme: z.ZodNativeEnum<{
3696
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3697
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3698
+ auth_scheme: z$1.ZodNativeEnum<{
3662
3699
  readonly OAUTH1: "OAUTH1";
3663
3700
  readonly OAUTH2: "OAUTH2";
3664
3701
  readonly API_KEY: "API_KEY";
@@ -3674,18 +3711,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3674
3711
  readonly DCR_OAUTH: "DCR_OAUTH";
3675
3712
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3676
3713
  }>; /** Whether this auth config is managed by Composio */
3677
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3678
- is_disabled: z.ZodBoolean; /** @deprecated */
3679
- deprecated: z.ZodOptional<z.ZodObject<{
3680
- uuid: z.ZodString;
3681
- }, "strip", z.ZodTypeAny, {
3714
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3715
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3716
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3717
+ uuid: z$1.ZodString;
3718
+ }, "strip", z$1.ZodTypeAny, {
3682
3719
  uuid: string;
3683
3720
  }, {
3684
3721
  uuid: string;
3685
3722
  }>>;
3686
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3687
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3688
- auth_scheme: z.ZodNativeEnum<{
3723
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3724
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3725
+ auth_scheme: z$1.ZodNativeEnum<{
3689
3726
  readonly OAUTH1: "OAUTH1";
3690
3727
  readonly OAUTH2: "OAUTH2";
3691
3728
  readonly API_KEY: "API_KEY";
@@ -3701,19 +3738,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3701
3738
  readonly DCR_OAUTH: "DCR_OAUTH";
3702
3739
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3703
3740
  }>; /** Whether this auth config is managed by Composio */
3704
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3705
- is_disabled: z.ZodBoolean; /** @deprecated */
3706
- deprecated: z.ZodOptional<z.ZodObject<{
3707
- uuid: z.ZodString;
3708
- }, "strip", z.ZodTypeAny, {
3741
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3742
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3743
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3744
+ uuid: z$1.ZodString;
3745
+ }, "strip", z$1.ZodTypeAny, {
3709
3746
  uuid: string;
3710
3747
  }, {
3711
3748
  uuid: string;
3712
3749
  }>>;
3713
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3714
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
3715
- user_id: z.ZodString; /** Connection status */
3716
- status: z.ZodNativeEnum<{
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 */
3753
+ status: z$1.ZodNativeEnum<{
3717
3754
  readonly INITIALIZING: "INITIALIZING";
3718
3755
  readonly INITIATED: "INITIATED";
3719
3756
  readonly ACTIVE: "ACTIVE";
@@ -3722,10 +3759,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3722
3759
  readonly INACTIVE: "INACTIVE";
3723
3760
  readonly REVOKED: "REVOKED";
3724
3761
  }>; /** ISO-8601 timestamp of creation */
3725
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
3726
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
3727
- state: z.ZodObject<{
3728
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
3764
+ state: z$1.ZodObject<{
3765
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3729
3766
  readonly OAUTH1: "OAUTH1";
3730
3767
  readonly OAUTH2: "OAUTH2";
3731
3768
  readonly API_KEY: "API_KEY";
@@ -3741,9 +3778,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3741
3778
  readonly DCR_OAUTH: "DCR_OAUTH";
3742
3779
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3743
3780
  }>; /** Connection state values - varies by auth scheme */
3744
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3745
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3746
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3781
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3782
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3783
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3747
3784
  readonly OAUTH1: "OAUTH1";
3748
3785
  readonly OAUTH2: "OAUTH2";
3749
3786
  readonly API_KEY: "API_KEY";
@@ -3759,9 +3796,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3759
3796
  readonly DCR_OAUTH: "DCR_OAUTH";
3760
3797
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3761
3798
  }>; /** Connection state values - varies by auth scheme */
3762
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3763
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3764
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3799
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3800
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3801
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3765
3802
  readonly OAUTH1: "OAUTH1";
3766
3803
  readonly OAUTH2: "OAUTH2";
3767
3804
  readonly API_KEY: "API_KEY";
@@ -3777,34 +3814,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3777
3814
  readonly DCR_OAUTH: "DCR_OAUTH";
3778
3815
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3779
3816
  }>; /** Connection state values - varies by auth scheme */
3780
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3781
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3782
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
3783
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3784
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
3785
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
3786
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
3787
- deprecated: z.ZodOptional<z.ZodObject<{
3788
- labels: z.ZodArray<z.ZodString, "many">;
3789
- uuid: z.ZodString;
3790
- }, "strip", z.ZodTypeAny, {
3817
+ 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 */
3824
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3825
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3826
+ uuid: z$1.ZodString;
3827
+ }, "strip", z$1.ZodTypeAny, {
3791
3828
  uuid: string;
3792
3829
  labels: string[];
3793
3830
  }, {
3794
3831
  uuid: string;
3795
3832
  labels: string[];
3796
3833
  }>>;
3797
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3798
- /** Toolkit information */toolkit: z.ZodObject<{
3799
- slug: z.ZodString;
3800
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3801
- slug: z.ZodString;
3802
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3803
- slug: z.ZodString;
3804
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
3805
- auth_config: z.ZodObject<{
3806
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3807
- auth_scheme: z.ZodNativeEnum<{
3834
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3835
+ /** Toolkit information */toolkit: z$1.ZodObject<{
3836
+ slug: z$1.ZodString;
3837
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3838
+ slug: z$1.ZodString;
3839
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3840
+ slug: z$1.ZodString;
3841
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
3842
+ auth_config: z$1.ZodObject<{
3843
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3844
+ auth_scheme: z$1.ZodNativeEnum<{
3808
3845
  readonly OAUTH1: "OAUTH1";
3809
3846
  readonly OAUTH2: "OAUTH2";
3810
3847
  readonly API_KEY: "API_KEY";
@@ -3820,18 +3857,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3820
3857
  readonly DCR_OAUTH: "DCR_OAUTH";
3821
3858
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3822
3859
  }>; /** Whether this auth config is managed by Composio */
3823
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3824
- is_disabled: z.ZodBoolean; /** @deprecated */
3825
- deprecated: z.ZodOptional<z.ZodObject<{
3826
- uuid: z.ZodString;
3827
- }, "strip", z.ZodTypeAny, {
3860
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3861
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3862
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3863
+ uuid: z$1.ZodString;
3864
+ }, "strip", z$1.ZodTypeAny, {
3828
3865
  uuid: string;
3829
3866
  }, {
3830
3867
  uuid: string;
3831
3868
  }>>;
3832
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3833
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3834
- auth_scheme: z.ZodNativeEnum<{
3869
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3870
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3871
+ auth_scheme: z$1.ZodNativeEnum<{
3835
3872
  readonly OAUTH1: "OAUTH1";
3836
3873
  readonly OAUTH2: "OAUTH2";
3837
3874
  readonly API_KEY: "API_KEY";
@@ -3847,18 +3884,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3847
3884
  readonly DCR_OAUTH: "DCR_OAUTH";
3848
3885
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3849
3886
  }>; /** Whether this auth config is managed by Composio */
3850
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3851
- is_disabled: z.ZodBoolean; /** @deprecated */
3852
- deprecated: z.ZodOptional<z.ZodObject<{
3853
- uuid: z.ZodString;
3854
- }, "strip", z.ZodTypeAny, {
3887
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3888
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3889
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3890
+ uuid: z$1.ZodString;
3891
+ }, "strip", z$1.ZodTypeAny, {
3855
3892
  uuid: string;
3856
3893
  }, {
3857
3894
  uuid: string;
3858
3895
  }>>;
3859
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3860
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3861
- auth_scheme: z.ZodNativeEnum<{
3896
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3897
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
3898
+ auth_scheme: z$1.ZodNativeEnum<{
3862
3899
  readonly OAUTH1: "OAUTH1";
3863
3900
  readonly OAUTH2: "OAUTH2";
3864
3901
  readonly API_KEY: "API_KEY";
@@ -3874,19 +3911,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3874
3911
  readonly DCR_OAUTH: "DCR_OAUTH";
3875
3912
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3876
3913
  }>; /** Whether this auth config is managed by Composio */
3877
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
3878
- is_disabled: z.ZodBoolean; /** @deprecated */
3879
- deprecated: z.ZodOptional<z.ZodObject<{
3880
- uuid: z.ZodString;
3881
- }, "strip", z.ZodTypeAny, {
3914
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
3915
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
3916
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3917
+ uuid: z$1.ZodString;
3918
+ }, "strip", z$1.ZodTypeAny, {
3882
3919
  uuid: string;
3883
3920
  }, {
3884
3921
  uuid: string;
3885
3922
  }>>;
3886
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
3887
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
3888
- user_id: z.ZodString; /** Connection status */
3889
- status: z.ZodNativeEnum<{
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 */
3926
+ status: z$1.ZodNativeEnum<{
3890
3927
  readonly INITIALIZING: "INITIALIZING";
3891
3928
  readonly INITIATED: "INITIATED";
3892
3929
  readonly ACTIVE: "ACTIVE";
@@ -3895,10 +3932,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3895
3932
  readonly INACTIVE: "INACTIVE";
3896
3933
  readonly REVOKED: "REVOKED";
3897
3934
  }>; /** ISO-8601 timestamp of creation */
3898
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
3899
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
3900
- state: z.ZodObject<{
3901
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
3937
+ state: z$1.ZodObject<{
3938
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3902
3939
  readonly OAUTH1: "OAUTH1";
3903
3940
  readonly OAUTH2: "OAUTH2";
3904
3941
  readonly API_KEY: "API_KEY";
@@ -3914,9 +3951,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3914
3951
  readonly DCR_OAUTH: "DCR_OAUTH";
3915
3952
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3916
3953
  }>; /** Connection state values - varies by auth scheme */
3917
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3918
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3919
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3954
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3955
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3956
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3920
3957
  readonly OAUTH1: "OAUTH1";
3921
3958
  readonly OAUTH2: "OAUTH2";
3922
3959
  readonly API_KEY: "API_KEY";
@@ -3932,9 +3969,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3932
3969
  readonly DCR_OAUTH: "DCR_OAUTH";
3933
3970
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3934
3971
  }>; /** Connection state values - varies by auth scheme */
3935
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3936
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3937
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
3972
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3973
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3974
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
3938
3975
  readonly OAUTH1: "OAUTH1";
3939
3976
  readonly OAUTH2: "OAUTH2";
3940
3977
  readonly API_KEY: "API_KEY";
@@ -3950,49 +3987,49 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3950
3987
  readonly DCR_OAUTH: "DCR_OAUTH";
3951
3988
  readonly S2S_OAUTH2: "S2S_OAUTH2";
3952
3989
  }>; /** Connection state values - varies by auth scheme */
3953
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3954
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
3955
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
3956
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
3957
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
3958
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
3959
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
3960
- deprecated: z.ZodOptional<z.ZodObject<{
3961
- labels: z.ZodArray<z.ZodString, "many">;
3962
- uuid: z.ZodString;
3963
- }, "strip", z.ZodTypeAny, {
3990
+ 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 */
3997
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
3998
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
3999
+ uuid: z$1.ZodString;
4000
+ }, "strip", z$1.ZodTypeAny, {
3964
4001
  uuid: string;
3965
4002
  labels: string[];
3966
4003
  }, {
3967
4004
  uuid: string;
3968
4005
  labels: string[];
3969
4006
  }>>;
3970
- }, z.ZodTypeAny, "passthrough">>; /** Event metadata */
3971
- metadata: z.ZodObject<{
3972
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
3973
- org_id: z.ZodString;
3974
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3975
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
3976
- org_id: z.ZodString;
3977
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3978
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
3979
- org_id: z.ZodString;
3980
- }, z.ZodTypeAny, "passthrough">>;
3981
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3982
- /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
3983
- timestamp: z.ZodString; /** Event type identifier */
3984
- type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
3985
- data: z.ZodObject<{
3986
- /** Toolkit information */toolkit: z.ZodObject<{
3987
- slug: z.ZodString;
3988
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3989
- slug: z.ZodString;
3990
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3991
- slug: z.ZodString;
3992
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
3993
- auth_config: z.ZodObject<{
3994
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
3995
- auth_scheme: z.ZodNativeEnum<{
4007
+ }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
4008
+ metadata: z$1.ZodObject<{
4009
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4010
+ org_id: z$1.ZodString;
4011
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4012
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4013
+ org_id: z$1.ZodString;
4014
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4015
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4016
+ org_id: z$1.ZodString;
4017
+ }, z$1.ZodTypeAny, "passthrough">>;
4018
+ }, 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}) */
4022
+ data: z$1.ZodObject<{
4023
+ /** Toolkit information */toolkit: z$1.ZodObject<{
4024
+ slug: z$1.ZodString;
4025
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4026
+ slug: z$1.ZodString;
4027
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4028
+ slug: z$1.ZodString;
4029
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
4030
+ auth_config: z$1.ZodObject<{
4031
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4032
+ auth_scheme: z$1.ZodNativeEnum<{
3996
4033
  readonly OAUTH1: "OAUTH1";
3997
4034
  readonly OAUTH2: "OAUTH2";
3998
4035
  readonly API_KEY: "API_KEY";
@@ -4008,18 +4045,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4008
4045
  readonly DCR_OAUTH: "DCR_OAUTH";
4009
4046
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4010
4047
  }>; /** Whether this auth config is managed by Composio */
4011
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4012
- is_disabled: z.ZodBoolean; /** @deprecated */
4013
- deprecated: z.ZodOptional<z.ZodObject<{
4014
- uuid: z.ZodString;
4015
- }, "strip", z.ZodTypeAny, {
4048
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4049
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4050
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4051
+ uuid: z$1.ZodString;
4052
+ }, "strip", z$1.ZodTypeAny, {
4016
4053
  uuid: string;
4017
4054
  }, {
4018
4055
  uuid: string;
4019
4056
  }>>;
4020
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4021
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
4022
- auth_scheme: z.ZodNativeEnum<{
4057
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4058
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4059
+ auth_scheme: z$1.ZodNativeEnum<{
4023
4060
  readonly OAUTH1: "OAUTH1";
4024
4061
  readonly OAUTH2: "OAUTH2";
4025
4062
  readonly API_KEY: "API_KEY";
@@ -4035,18 +4072,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4035
4072
  readonly DCR_OAUTH: "DCR_OAUTH";
4036
4073
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4037
4074
  }>; /** Whether this auth config is managed by Composio */
4038
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4039
- is_disabled: z.ZodBoolean; /** @deprecated */
4040
- deprecated: z.ZodOptional<z.ZodObject<{
4041
- uuid: z.ZodString;
4042
- }, "strip", z.ZodTypeAny, {
4075
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4076
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4077
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4078
+ uuid: z$1.ZodString;
4079
+ }, "strip", z$1.ZodTypeAny, {
4043
4080
  uuid: string;
4044
4081
  }, {
4045
4082
  uuid: string;
4046
4083
  }>>;
4047
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4048
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
4049
- auth_scheme: z.ZodNativeEnum<{
4084
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4085
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4086
+ auth_scheme: z$1.ZodNativeEnum<{
4050
4087
  readonly OAUTH1: "OAUTH1";
4051
4088
  readonly OAUTH2: "OAUTH2";
4052
4089
  readonly API_KEY: "API_KEY";
@@ -4062,19 +4099,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4062
4099
  readonly DCR_OAUTH: "DCR_OAUTH";
4063
4100
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4064
4101
  }>; /** Whether this auth config is managed by Composio */
4065
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4066
- is_disabled: z.ZodBoolean; /** @deprecated */
4067
- deprecated: z.ZodOptional<z.ZodObject<{
4068
- uuid: z.ZodString;
4069
- }, "strip", z.ZodTypeAny, {
4102
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4103
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4104
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4105
+ uuid: z$1.ZodString;
4106
+ }, "strip", z$1.ZodTypeAny, {
4070
4107
  uuid: string;
4071
4108
  }, {
4072
4109
  uuid: string;
4073
4110
  }>>;
4074
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
4075
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
4076
- user_id: z.ZodString; /** Connection status */
4077
- status: z.ZodNativeEnum<{
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 */
4114
+ status: z$1.ZodNativeEnum<{
4078
4115
  readonly INITIALIZING: "INITIALIZING";
4079
4116
  readonly INITIATED: "INITIATED";
4080
4117
  readonly ACTIVE: "ACTIVE";
@@ -4083,10 +4120,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4083
4120
  readonly INACTIVE: "INACTIVE";
4084
4121
  readonly REVOKED: "REVOKED";
4085
4122
  }>; /** ISO-8601 timestamp of creation */
4086
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
4087
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
4088
- state: z.ZodObject<{
4089
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
4125
+ state: z$1.ZodObject<{
4126
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4090
4127
  readonly OAUTH1: "OAUTH1";
4091
4128
  readonly OAUTH2: "OAUTH2";
4092
4129
  readonly API_KEY: "API_KEY";
@@ -4102,9 +4139,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4102
4139
  readonly DCR_OAUTH: "DCR_OAUTH";
4103
4140
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4104
4141
  }>; /** Connection state values - varies by auth scheme */
4105
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4106
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4107
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
4142
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4143
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4144
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4108
4145
  readonly OAUTH1: "OAUTH1";
4109
4146
  readonly OAUTH2: "OAUTH2";
4110
4147
  readonly API_KEY: "API_KEY";
@@ -4120,9 +4157,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4120
4157
  readonly DCR_OAUTH: "DCR_OAUTH";
4121
4158
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4122
4159
  }>; /** Connection state values - varies by auth scheme */
4123
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4124
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4125
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
4160
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4161
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4162
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4126
4163
  readonly OAUTH1: "OAUTH1";
4127
4164
  readonly OAUTH2: "OAUTH2";
4128
4165
  readonly API_KEY: "API_KEY";
@@ -4138,34 +4175,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4138
4175
  readonly DCR_OAUTH: "DCR_OAUTH";
4139
4176
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4140
4177
  }>; /** Connection state values - varies by auth scheme */
4141
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4142
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
4143
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
4144
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
4145
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
4146
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
4147
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
4148
- deprecated: z.ZodOptional<z.ZodObject<{
4149
- labels: z.ZodArray<z.ZodString, "many">;
4150
- uuid: z.ZodString;
4151
- }, "strip", z.ZodTypeAny, {
4178
+ 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 */
4185
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4186
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
4187
+ uuid: z$1.ZodString;
4188
+ }, "strip", z$1.ZodTypeAny, {
4152
4189
  uuid: string;
4153
4190
  labels: string[];
4154
4191
  }, {
4155
4192
  uuid: string;
4156
4193
  labels: string[];
4157
4194
  }>>;
4158
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4159
- /** Toolkit information */toolkit: z.ZodObject<{
4160
- slug: z.ZodString;
4161
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4162
- slug: z.ZodString;
4163
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4164
- slug: z.ZodString;
4165
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
4166
- auth_config: z.ZodObject<{
4167
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
4168
- auth_scheme: z.ZodNativeEnum<{
4195
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4196
+ /** Toolkit information */toolkit: z$1.ZodObject<{
4197
+ slug: z$1.ZodString;
4198
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4199
+ slug: z$1.ZodString;
4200
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4201
+ slug: z$1.ZodString;
4202
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
4203
+ auth_config: z$1.ZodObject<{
4204
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4205
+ auth_scheme: z$1.ZodNativeEnum<{
4169
4206
  readonly OAUTH1: "OAUTH1";
4170
4207
  readonly OAUTH2: "OAUTH2";
4171
4208
  readonly API_KEY: "API_KEY";
@@ -4181,18 +4218,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4181
4218
  readonly DCR_OAUTH: "DCR_OAUTH";
4182
4219
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4183
4220
  }>; /** Whether this auth config is managed by Composio */
4184
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4185
- is_disabled: z.ZodBoolean; /** @deprecated */
4186
- deprecated: z.ZodOptional<z.ZodObject<{
4187
- uuid: z.ZodString;
4188
- }, "strip", z.ZodTypeAny, {
4221
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4222
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4223
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4224
+ uuid: z$1.ZodString;
4225
+ }, "strip", z$1.ZodTypeAny, {
4189
4226
  uuid: string;
4190
4227
  }, {
4191
4228
  uuid: string;
4192
4229
  }>>;
4193
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4194
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
4195
- auth_scheme: z.ZodNativeEnum<{
4230
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4231
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4232
+ auth_scheme: z$1.ZodNativeEnum<{
4196
4233
  readonly OAUTH1: "OAUTH1";
4197
4234
  readonly OAUTH2: "OAUTH2";
4198
4235
  readonly API_KEY: "API_KEY";
@@ -4208,18 +4245,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4208
4245
  readonly DCR_OAUTH: "DCR_OAUTH";
4209
4246
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4210
4247
  }>; /** Whether this auth config is managed by Composio */
4211
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4212
- is_disabled: z.ZodBoolean; /** @deprecated */
4213
- deprecated: z.ZodOptional<z.ZodObject<{
4214
- uuid: z.ZodString;
4215
- }, "strip", z.ZodTypeAny, {
4248
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4249
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4250
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4251
+ uuid: z$1.ZodString;
4252
+ }, "strip", z$1.ZodTypeAny, {
4216
4253
  uuid: string;
4217
4254
  }, {
4218
4255
  uuid: string;
4219
4256
  }>>;
4220
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4221
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
4222
- auth_scheme: z.ZodNativeEnum<{
4257
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4258
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4259
+ auth_scheme: z$1.ZodNativeEnum<{
4223
4260
  readonly OAUTH1: "OAUTH1";
4224
4261
  readonly OAUTH2: "OAUTH2";
4225
4262
  readonly API_KEY: "API_KEY";
@@ -4235,19 +4272,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4235
4272
  readonly DCR_OAUTH: "DCR_OAUTH";
4236
4273
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4237
4274
  }>; /** Whether this auth config is managed by Composio */
4238
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4239
- is_disabled: z.ZodBoolean; /** @deprecated */
4240
- deprecated: z.ZodOptional<z.ZodObject<{
4241
- uuid: z.ZodString;
4242
- }, "strip", z.ZodTypeAny, {
4275
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4276
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4277
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4278
+ uuid: z$1.ZodString;
4279
+ }, "strip", z$1.ZodTypeAny, {
4243
4280
  uuid: string;
4244
4281
  }, {
4245
4282
  uuid: string;
4246
4283
  }>>;
4247
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
4248
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
4249
- user_id: z.ZodString; /** Connection status */
4250
- status: z.ZodNativeEnum<{
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 */
4287
+ status: z$1.ZodNativeEnum<{
4251
4288
  readonly INITIALIZING: "INITIALIZING";
4252
4289
  readonly INITIATED: "INITIATED";
4253
4290
  readonly ACTIVE: "ACTIVE";
@@ -4256,10 +4293,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4256
4293
  readonly INACTIVE: "INACTIVE";
4257
4294
  readonly REVOKED: "REVOKED";
4258
4295
  }>; /** ISO-8601 timestamp of creation */
4259
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
4260
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
4261
- state: z.ZodObject<{
4262
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
4298
+ state: z$1.ZodObject<{
4299
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4263
4300
  readonly OAUTH1: "OAUTH1";
4264
4301
  readonly OAUTH2: "OAUTH2";
4265
4302
  readonly API_KEY: "API_KEY";
@@ -4275,9 +4312,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4275
4312
  readonly DCR_OAUTH: "DCR_OAUTH";
4276
4313
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4277
4314
  }>; /** Connection state values - varies by auth scheme */
4278
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4279
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4280
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
4315
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4316
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4317
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4281
4318
  readonly OAUTH1: "OAUTH1";
4282
4319
  readonly OAUTH2: "OAUTH2";
4283
4320
  readonly API_KEY: "API_KEY";
@@ -4293,9 +4330,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4293
4330
  readonly DCR_OAUTH: "DCR_OAUTH";
4294
4331
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4295
4332
  }>; /** Connection state values - varies by auth scheme */
4296
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4297
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4298
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
4333
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4334
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4335
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4299
4336
  readonly OAUTH1: "OAUTH1";
4300
4337
  readonly OAUTH2: "OAUTH2";
4301
4338
  readonly API_KEY: "API_KEY";
@@ -4311,34 +4348,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4311
4348
  readonly DCR_OAUTH: "DCR_OAUTH";
4312
4349
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4313
4350
  }>; /** Connection state values - varies by auth scheme */
4314
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4315
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
4316
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
4317
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
4318
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
4319
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
4320
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
4321
- deprecated: z.ZodOptional<z.ZodObject<{
4322
- labels: z.ZodArray<z.ZodString, "many">;
4323
- uuid: z.ZodString;
4324
- }, "strip", z.ZodTypeAny, {
4351
+ 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 */
4358
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4359
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
4360
+ uuid: z$1.ZodString;
4361
+ }, "strip", z$1.ZodTypeAny, {
4325
4362
  uuid: string;
4326
4363
  labels: string[];
4327
4364
  }, {
4328
4365
  uuid: string;
4329
4366
  labels: string[];
4330
4367
  }>>;
4331
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4332
- /** Toolkit information */toolkit: z.ZodObject<{
4333
- slug: z.ZodString;
4334
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4335
- slug: z.ZodString;
4336
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4337
- slug: z.ZodString;
4338
- }, z.ZodTypeAny, "passthrough">>; /** Auth config details */
4339
- auth_config: z.ZodObject<{
4340
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
4341
- auth_scheme: z.ZodNativeEnum<{
4368
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4369
+ /** Toolkit information */toolkit: z$1.ZodObject<{
4370
+ slug: z$1.ZodString;
4371
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4372
+ slug: z$1.ZodString;
4373
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4374
+ slug: z$1.ZodString;
4375
+ }, z$1.ZodTypeAny, "passthrough">>; /** Auth config details */
4376
+ auth_config: z$1.ZodObject<{
4377
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4378
+ auth_scheme: z$1.ZodNativeEnum<{
4342
4379
  readonly OAUTH1: "OAUTH1";
4343
4380
  readonly OAUTH2: "OAUTH2";
4344
4381
  readonly API_KEY: "API_KEY";
@@ -4354,18 +4391,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4354
4391
  readonly DCR_OAUTH: "DCR_OAUTH";
4355
4392
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4356
4393
  }>; /** Whether this auth config is managed by Composio */
4357
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4358
- is_disabled: z.ZodBoolean; /** @deprecated */
4359
- deprecated: z.ZodOptional<z.ZodObject<{
4360
- uuid: z.ZodString;
4361
- }, "strip", z.ZodTypeAny, {
4394
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4395
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4396
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4397
+ uuid: z$1.ZodString;
4398
+ }, "strip", z$1.ZodTypeAny, {
4362
4399
  uuid: string;
4363
4400
  }, {
4364
4401
  uuid: string;
4365
4402
  }>>;
4366
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4367
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
4368
- auth_scheme: z.ZodNativeEnum<{
4403
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4404
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4405
+ auth_scheme: z$1.ZodNativeEnum<{
4369
4406
  readonly OAUTH1: "OAUTH1";
4370
4407
  readonly OAUTH2: "OAUTH2";
4371
4408
  readonly API_KEY: "API_KEY";
@@ -4381,18 +4418,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4381
4418
  readonly DCR_OAUTH: "DCR_OAUTH";
4382
4419
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4383
4420
  }>; /** Whether this auth config is managed by Composio */
4384
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4385
- is_disabled: z.ZodBoolean; /** @deprecated */
4386
- deprecated: z.ZodOptional<z.ZodObject<{
4387
- uuid: z.ZodString;
4388
- }, "strip", z.ZodTypeAny, {
4421
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4422
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4423
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4424
+ uuid: z$1.ZodString;
4425
+ }, "strip", z$1.ZodTypeAny, {
4389
4426
  uuid: string;
4390
4427
  }, {
4391
4428
  uuid: string;
4392
4429
  }>>;
4393
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4394
- /** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
4395
- auth_scheme: z.ZodNativeEnum<{
4430
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4431
+ /** The nano ID of the auth config */id: z$1.ZodString; /** @deprecated - use state.authScheme instead */
4432
+ auth_scheme: z$1.ZodNativeEnum<{
4396
4433
  readonly OAUTH1: "OAUTH1";
4397
4434
  readonly OAUTH2: "OAUTH2";
4398
4435
  readonly API_KEY: "API_KEY";
@@ -4408,19 +4445,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4408
4445
  readonly DCR_OAUTH: "DCR_OAUTH";
4409
4446
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4410
4447
  }>; /** Whether this auth config is managed by Composio */
4411
- is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
4412
- is_disabled: z.ZodBoolean; /** @deprecated */
4413
- deprecated: z.ZodOptional<z.ZodObject<{
4414
- uuid: z.ZodString;
4415
- }, "strip", z.ZodTypeAny, {
4448
+ is_composio_managed: z$1.ZodBoolean; /** Whether the auth config is disabled */
4449
+ is_disabled: z$1.ZodBoolean; /** @deprecated */
4450
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4451
+ uuid: z$1.ZodString;
4452
+ }, "strip", z$1.ZodTypeAny, {
4416
4453
  uuid: string;
4417
4454
  }, {
4418
4455
  uuid: string;
4419
4456
  }>>;
4420
- }, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
4421
- id: z.ZodString; /** @deprecated - user ID of the connection owner */
4422
- user_id: z.ZodString; /** Connection status */
4423
- status: z.ZodNativeEnum<{
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 */
4460
+ status: z$1.ZodNativeEnum<{
4424
4461
  readonly INITIALIZING: "INITIALIZING";
4425
4462
  readonly INITIATED: "INITIATED";
4426
4463
  readonly ACTIVE: "ACTIVE";
@@ -4429,10 +4466,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4429
4466
  readonly INACTIVE: "INACTIVE";
4430
4467
  readonly REVOKED: "REVOKED";
4431
4468
  }>; /** ISO-8601 timestamp of creation */
4432
- created_at: z.ZodString; /** ISO-8601 timestamp of last update */
4433
- updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
4434
- state: z.ZodObject<{
4435
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
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) */
4471
+ state: z$1.ZodObject<{
4472
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4436
4473
  readonly OAUTH1: "OAUTH1";
4437
4474
  readonly OAUTH2: "OAUTH2";
4438
4475
  readonly API_KEY: "API_KEY";
@@ -4448,9 +4485,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4448
4485
  readonly DCR_OAUTH: "DCR_OAUTH";
4449
4486
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4450
4487
  }>; /** Connection state values - varies by auth scheme */
4451
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4452
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4453
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
4488
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4489
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4490
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4454
4491
  readonly OAUTH1: "OAUTH1";
4455
4492
  readonly OAUTH2: "OAUTH2";
4456
4493
  readonly API_KEY: "API_KEY";
@@ -4466,9 +4503,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4466
4503
  readonly DCR_OAUTH: "DCR_OAUTH";
4467
4504
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4468
4505
  }>; /** Connection state values - varies by auth scheme */
4469
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4470
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4471
- /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z.ZodNativeEnum<{
4506
+ val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
4507
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4508
+ /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */authScheme: z$1.ZodNativeEnum<{
4472
4509
  readonly OAUTH1: "OAUTH1";
4473
4510
  readonly OAUTH2: "OAUTH2";
4474
4511
  readonly API_KEY: "API_KEY";
@@ -4484,36 +4521,36 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4484
4521
  readonly DCR_OAUTH: "DCR_OAUTH";
4485
4522
  readonly S2S_OAUTH2: "S2S_OAUTH2";
4486
4523
  }>; /** Connection state values - varies by auth scheme */
4487
- val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4488
- }, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
4489
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
4490
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
4491
- status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
4492
- is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
4493
- test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
4494
- deprecated: z.ZodOptional<z.ZodObject<{
4495
- labels: z.ZodArray<z.ZodString, "many">;
4496
- uuid: z.ZodString;
4497
- }, "strip", z.ZodTypeAny, {
4524
+ 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 */
4531
+ deprecated: z$1.ZodOptional<z$1.ZodObject<{
4532
+ labels: z$1.ZodArray<z$1.ZodString, "many">;
4533
+ uuid: z$1.ZodString;
4534
+ }, "strip", z$1.ZodTypeAny, {
4498
4535
  uuid: string;
4499
4536
  labels: string[];
4500
4537
  }, {
4501
4538
  uuid: string;
4502
4539
  labels: string[];
4503
4540
  }>>;
4504
- }, z.ZodTypeAny, "passthrough">>; /** Event metadata */
4505
- metadata: z.ZodObject<{
4506
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
4507
- org_id: z.ZodString;
4508
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4509
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
4510
- org_id: z.ZodString;
4511
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4512
- /** Project nano ID */project_id: z.ZodString; /** Organization UUID */
4513
- org_id: z.ZodString;
4514
- }, z.ZodTypeAny, "passthrough">>;
4515
- }, z.ZodTypeAny, "passthrough">>]>;
4516
- type WebhookEvent = z.infer<typeof WebhookEventSchema>;
4541
+ }, z$1.ZodTypeAny, "passthrough">>; /** Event metadata */
4542
+ metadata: z$1.ZodObject<{
4543
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4544
+ org_id: z$1.ZodString;
4545
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
4546
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4547
+ org_id: z$1.ZodString;
4548
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
4549
+ /** Project nano ID */project_id: z$1.ZodString; /** Organization UUID */
4550
+ org_id: z$1.ZodString;
4551
+ }, z$1.ZodTypeAny, "passthrough">>;
4552
+ }, z$1.ZodTypeAny, "passthrough">>]>;
4553
+ type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
4517
4554
  declare namespace constants_d_exports {
4518
4555
  export { CLIENT_PUSHER_KEY, COMPOSIO_DIR, COMPOSIO_LOG_LEVEL, DEFAULT_BASE_URL, DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID, DEFAULT_WEB_URL, IS_DEVELOPMENT_OR_CI, TELEMETRY_URL, TEMP_FILES_DIRECTORY_NAME, USER_DATA_FILE_NAME };
4519
4556
  }
@@ -4594,19 +4631,19 @@ type TelemetryMetadata = {
4594
4631
  };
4595
4632
  //#endregion
4596
4633
  //#region src/services/telemetry/TelemetryService.types.d.ts
4597
- declare const TelemetryPayloadSchema: z.ZodObject<{
4598
- functionName: z.ZodString;
4599
- durationMs: z.ZodOptional<z.ZodNumber>;
4600
- timestamp: z.ZodOptional<z.ZodNumber>;
4601
- props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4602
- source: z.ZodOptional<z.ZodObject<{
4603
- host: z.ZodOptional<z.ZodString>;
4604
- service: z.ZodOptional<z.ZodEnum<["sdk", "apollo", "hermes", "thermos"]>>;
4605
- language: z.ZodOptional<z.ZodEnum<["python", "typescript", "go", "rust"]>>;
4606
- version: z.ZodOptional<z.ZodString>;
4607
- platform: z.ZodOptional<z.ZodString>;
4608
- environment: z.ZodOptional<z.ZodEnum<["development", "production", "ci", "staging", "test"]>>;
4609
- }, "strip", z.ZodTypeAny, {
4634
+ declare const TelemetryPayloadSchema: z$1.ZodObject<{
4635
+ functionName: z$1.ZodString;
4636
+ durationMs: z$1.ZodOptional<z$1.ZodNumber>;
4637
+ timestamp: z$1.ZodOptional<z$1.ZodNumber>;
4638
+ props: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
4639
+ source: z$1.ZodOptional<z$1.ZodObject<{
4640
+ host: z$1.ZodOptional<z$1.ZodString>;
4641
+ service: z$1.ZodOptional<z$1.ZodEnum<["sdk", "apollo", "hermes", "thermos"]>>;
4642
+ language: z$1.ZodOptional<z$1.ZodEnum<["python", "typescript", "go", "rust"]>>;
4643
+ version: z$1.ZodOptional<z$1.ZodString>;
4644
+ platform: z$1.ZodOptional<z$1.ZodString>;
4645
+ environment: z$1.ZodOptional<z$1.ZodEnum<["development", "production", "ci", "staging", "test"]>>;
4646
+ }, "strip", z$1.ZodTypeAny, {
4610
4647
  version?: string | undefined;
4611
4648
  host?: string | undefined;
4612
4649
  service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
@@ -4621,23 +4658,23 @@ declare const TelemetryPayloadSchema: z.ZodObject<{
4621
4658
  platform?: string | undefined;
4622
4659
  environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
4623
4660
  }>>;
4624
- metadata: z.ZodOptional<z.ZodObject<{
4625
- projectId: z.ZodOptional<z.ZodString>;
4626
- provider: z.ZodOptional<z.ZodString>;
4627
- }, "strip", z.ZodTypeAny, {
4661
+ metadata: z$1.ZodOptional<z$1.ZodObject<{
4662
+ projectId: z$1.ZodOptional<z$1.ZodString>;
4663
+ provider: z$1.ZodOptional<z$1.ZodString>;
4664
+ }, "strip", z$1.ZodTypeAny, {
4628
4665
  projectId?: string | undefined;
4629
4666
  provider?: string | undefined;
4630
4667
  }, {
4631
4668
  projectId?: string | undefined;
4632
4669
  provider?: string | undefined;
4633
4670
  }>>;
4634
- error: z.ZodOptional<z.ZodObject<{
4635
- name: z.ZodString;
4636
- code: z.ZodOptional<z.ZodString>;
4637
- errorId: z.ZodOptional<z.ZodString>;
4638
- message: z.ZodOptional<z.ZodString>;
4639
- stack: z.ZodOptional<z.ZodString>;
4640
- }, "strip", z.ZodTypeAny, {
4671
+ error: z$1.ZodOptional<z$1.ZodObject<{
4672
+ name: z$1.ZodString;
4673
+ code: z$1.ZodOptional<z$1.ZodString>;
4674
+ errorId: z$1.ZodOptional<z$1.ZodString>;
4675
+ message: z$1.ZodOptional<z$1.ZodString>;
4676
+ stack: z$1.ZodOptional<z$1.ZodString>;
4677
+ }, "strip", z$1.ZodTypeAny, {
4641
4678
  name: string;
4642
4679
  code?: string | undefined;
4643
4680
  message?: string | undefined;
@@ -4650,7 +4687,7 @@ declare const TelemetryPayloadSchema: z.ZodObject<{
4650
4687
  errorId?: string | undefined;
4651
4688
  stack?: string | undefined;
4652
4689
  }>>;
4653
- }, "strip", z.ZodTypeAny, {
4690
+ }, "strip", z$1.ZodTypeAny, {
4654
4691
  functionName: string;
4655
4692
  error?: {
4656
4693
  name: string;
@@ -4699,19 +4736,19 @@ declare const TelemetryPayloadSchema: z.ZodObject<{
4699
4736
  environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
4700
4737
  } | undefined;
4701
4738
  }>;
4702
- declare const TelemetryMetricPayloadBodySchema: z.ZodArray<z.ZodObject<{
4703
- functionName: z.ZodString;
4704
- durationMs: z.ZodOptional<z.ZodNumber>;
4705
- timestamp: z.ZodOptional<z.ZodNumber>;
4706
- props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4707
- source: z.ZodOptional<z.ZodObject<{
4708
- host: z.ZodOptional<z.ZodString>;
4709
- service: z.ZodOptional<z.ZodEnum<["sdk", "apollo", "hermes", "thermos"]>>;
4710
- language: z.ZodOptional<z.ZodEnum<["python", "typescript", "go", "rust"]>>;
4711
- version: z.ZodOptional<z.ZodString>;
4712
- platform: z.ZodOptional<z.ZodString>;
4713
- environment: z.ZodOptional<z.ZodEnum<["development", "production", "ci", "staging", "test"]>>;
4714
- }, "strip", z.ZodTypeAny, {
4739
+ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
4740
+ functionName: z$1.ZodString;
4741
+ durationMs: z$1.ZodOptional<z$1.ZodNumber>;
4742
+ timestamp: z$1.ZodOptional<z$1.ZodNumber>;
4743
+ props: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
4744
+ source: z$1.ZodOptional<z$1.ZodObject<{
4745
+ host: z$1.ZodOptional<z$1.ZodString>;
4746
+ service: z$1.ZodOptional<z$1.ZodEnum<["sdk", "apollo", "hermes", "thermos"]>>;
4747
+ language: z$1.ZodOptional<z$1.ZodEnum<["python", "typescript", "go", "rust"]>>;
4748
+ version: z$1.ZodOptional<z$1.ZodString>;
4749
+ platform: z$1.ZodOptional<z$1.ZodString>;
4750
+ environment: z$1.ZodOptional<z$1.ZodEnum<["development", "production", "ci", "staging", "test"]>>;
4751
+ }, "strip", z$1.ZodTypeAny, {
4715
4752
  version?: string | undefined;
4716
4753
  host?: string | undefined;
4717
4754
  service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
@@ -4726,23 +4763,23 @@ declare const TelemetryMetricPayloadBodySchema: z.ZodArray<z.ZodObject<{
4726
4763
  platform?: string | undefined;
4727
4764
  environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
4728
4765
  }>>;
4729
- metadata: z.ZodOptional<z.ZodObject<{
4730
- projectId: z.ZodOptional<z.ZodString>;
4731
- provider: z.ZodOptional<z.ZodString>;
4732
- }, "strip", z.ZodTypeAny, {
4766
+ metadata: z$1.ZodOptional<z$1.ZodObject<{
4767
+ projectId: z$1.ZodOptional<z$1.ZodString>;
4768
+ provider: z$1.ZodOptional<z$1.ZodString>;
4769
+ }, "strip", z$1.ZodTypeAny, {
4733
4770
  projectId?: string | undefined;
4734
4771
  provider?: string | undefined;
4735
4772
  }, {
4736
4773
  projectId?: string | undefined;
4737
4774
  provider?: string | undefined;
4738
4775
  }>>;
4739
- error: z.ZodOptional<z.ZodObject<{
4740
- name: z.ZodString;
4741
- code: z.ZodOptional<z.ZodString>;
4742
- errorId: z.ZodOptional<z.ZodString>;
4743
- message: z.ZodOptional<z.ZodString>;
4744
- stack: z.ZodOptional<z.ZodString>;
4745
- }, "strip", z.ZodTypeAny, {
4776
+ error: z$1.ZodOptional<z$1.ZodObject<{
4777
+ name: z$1.ZodString;
4778
+ code: z$1.ZodOptional<z$1.ZodString>;
4779
+ errorId: z$1.ZodOptional<z$1.ZodString>;
4780
+ message: z$1.ZodOptional<z$1.ZodString>;
4781
+ stack: z$1.ZodOptional<z$1.ZodString>;
4782
+ }, "strip", z$1.ZodTypeAny, {
4746
4783
  name: string;
4747
4784
  code?: string | undefined;
4748
4785
  message?: string | undefined;
@@ -4755,7 +4792,7 @@ declare const TelemetryMetricPayloadBodySchema: z.ZodArray<z.ZodObject<{
4755
4792
  errorId?: string | undefined;
4756
4793
  stack?: string | undefined;
4757
4794
  }>>;
4758
- }, "strip", z.ZodTypeAny, {
4795
+ }, "strip", z$1.ZodTypeAny, {
4759
4796
  functionName: string;
4760
4797
  error?: {
4761
4798
  name: string;
@@ -4804,8 +4841,8 @@ declare const TelemetryMetricPayloadBodySchema: z.ZodArray<z.ZodObject<{
4804
4841
  environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
4805
4842
  } | undefined;
4806
4843
  }>, "many">;
4807
- type TelemetryPayload = z.infer<typeof TelemetryPayloadSchema>;
4808
- type TelemetryMetricPayloadBody = z.infer<typeof TelemetryMetricPayloadBodySchema>;
4844
+ type TelemetryPayload = z$1.infer<typeof TelemetryPayloadSchema>;
4845
+ type TelemetryMetricPayloadBody = z$1.infer<typeof TelemetryMetricPayloadBodySchema>;
4809
4846
  //#endregion
4810
4847
  //#region src/telemetry/Telemetry.d.ts
4811
4848
  declare global {
@@ -5367,4 +5404,25 @@ declare class ComposioFileNotFoundError extends ComposioFileUploadError {
5367
5404
  constructor(message: string, options?: ComposioErrorOptions);
5368
5405
  }
5369
5406
  //#endregion
5370
- export { AgenticToolOptions, AnyZodSchema, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BeforeFileUploadSource, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAclOnlyForSharedError, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioFileNotFoundError, ComposioFileUploadAbortedError, ComposioFileUploadError, ComposioFileUploadPathNotAllowedError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioInvalidToolArgumentsError, ComposioLegacyConnectedAccountsEndpointRetiredError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioRequestCancelledError, ComposioRequestOptions, ComposioSensitiveFilePathBlockedError, ComposioSharedAccessDeniedError, ComposioSharedConnectionNotAccessibleError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAclConfig, ConnectedAccountAclConfigResponse, ConnectedAccountAclConfigResponseSchema, ConnectedAccountAclConfigSchema, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountExperimental, ConnectedAccountExperimentalResponse, ConnectedAccountExperimentalResponseSchema, ConnectedAccountExperimentalSchema, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectedAccountType, ConnectedAccountTypeSchema, ConnectedAccountTypes, ConnectionData, ConnectionDataSchema, ConnectionExpiredEvent, ConnectionExpiredEventSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolResponse, CustomToolSlugSchema, CustomToolWireDefinition, CustomToolkit, CustomToolkitDefinition, CustomToolkitResponse, CustomToolkitWireDefinition, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, DefaultWebhookSubscriptionEvents, type DereferenceJsonSchemaOptions, ErrorHandleOptions, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, Experimental, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, FileModifierErrorCodes, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InferZodSchema, InlineCustomToolsWirePayload, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaRefResolutionError, JsonSchemaToZodError, type KeyMapping, type KeySanitizationPolicy, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, Oauth2RevokedConnectionData, Oauth2RevokedConnectionDataSchema, OpenAIProvider, ParseWebhookOptions, Provider, ProviderOptions, RedirectableAuthSchemeSchema, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, RemoteFileDownloadError, RemoteFileDownloadErrorOptions, RemoteFileErrorCodes, SDKErrorCodes, SandboxSize, SandboxSizeSchema, SchemaModifierOptions, Session, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionPreset, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SessionWithoutMcp, Sessions, SetWebhookSubscriptionParams, SetWebhookSubscriptionParamsSchema, SingleConnectedAccountDetailedResponse, SingleConnectedAccountDetailedResponseSchema, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSandboxConfig, ToolRouterSandboxConfigSchema, ToolRouterSession, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteOptions, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionMetadata, ToolRouterSessionPreloadConfig, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, ToolRouterSessionUpdateFn, ToolRouterSessionWarning, ToolRouterSessionWorkbenchConfig, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolRouterUpdateSessionConfig, ToolRouterUpdateSessionConfigSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, type UnresolvedRefReason, type UnresolvedRefStrategy, UpdateConnectedAccountAclParams, UpdateConnectedAccountAclParamsSchema, type UpdateConnectedAccountParams, UpdateConnectedAccountParamsSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookConnectedAccountAuthConfig, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadata, WebhookConnectionMetadataSchema, WebhookConnectionState, WebhookConnectionStateSchema, WebhookEvent, WebhookEventSchema, WebhookEventType, WebhookEventTypes, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookRequestLike, WebhookSubscription, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, beforeFileUploadModifier, constants_d_exports as constants, createConnectionRequest, dereferenceJsonSchema, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, getExtensionFromMimeType, handleToolExecutionError, isRequestAbortError, jsonSchemaToZodSchema, logger, mappingHasRenames, normalizeToolArguments, removeNonRequiredProperties, restoreOriginalKeys, sanitizeSchemaPropertyKeys, telemetry };
5407
+ //#region src/errors/SsrfErrors.d.ts
5408
+ declare const SsrfErrorCodes: {
5409
+ readonly BLOCKED_INTERNAL_URL: "BLOCKED_INTERNAL_URL";
5410
+ };
5411
+ interface ComposioBlockedInternalUrlErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
5412
+ /** The user-supplied URL that was refused. */
5413
+ url?: string;
5414
+ /** The resolved address that tripped the guard, when known. */
5415
+ resolvedIp?: string;
5416
+ }
5417
+ /**
5418
+ * Thrown when a URL file input resolves to a private, loopback, link-local, or
5419
+ * 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`).
5423
+ */
5424
+ declare class ComposioBlockedInternalUrlError extends ComposioError {
5425
+ constructor(message?: string, options?: ComposioBlockedInternalUrlErrorOptions);
5426
+ }
5427
+ //#endregion
5428
+ export { AgenticToolOptions, AnyZodSchema, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BUILTIN_FILE_UPLOAD_PATH_DENY_SEGMENTS, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BeforeFileUploadSource, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAclOnlyForSharedError, ComposioAuthConfigNotFoundError, ComposioBlockedInternalUrlError, ComposioBlockedInternalUrlErrorOptions, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioFileNotFoundError, ComposioFileUploadAbortedError, ComposioFileUploadError, ComposioFileUploadPathNotAllowedError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioInvalidToolArgumentsError, ComposioLegacyConnectedAccountsEndpointRetiredError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioRequestCancelledError, ComposioRequestOptions, ComposioSensitiveFilePathBlockedError, ComposioSharedAccessDeniedError, ComposioSharedConnectionNotAccessibleError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAclConfig, ConnectedAccountAclConfigResponse, ConnectedAccountAclConfigResponseSchema, ConnectedAccountAclConfigSchema, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountExperimental, ConnectedAccountExperimentalResponse, ConnectedAccountExperimentalResponseSchema, ConnectedAccountExperimentalSchema, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectedAccountType, ConnectedAccountTypeSchema, ConnectedAccountTypes, ConnectionData, ConnectionDataSchema, ConnectionExpiredEvent, ConnectionExpiredEventSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolResponse, CustomToolSlugSchema, CustomToolWireDefinition, CustomToolkit, CustomToolkitDefinition, CustomToolkitResponse, CustomToolkitWireDefinition, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, DefaultWebhookSubscriptionEvents, type DereferenceJsonSchemaOptions, ErrorHandleOptions, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, Experimental, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, FileModifierErrorCodes, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InferZodSchema, InlineCustomToolsWirePayload, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaRefResolutionError, JsonSchemaToZodError, type KeyMapping, type KeySanitizationPolicy, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, Oauth2RevokedConnectionData, Oauth2RevokedConnectionDataSchema, OpenAIProvider, ParseWebhookOptions, Provider, ProviderOptions, RedirectableAuthSchemeSchema, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, RemoteFileDownloadError, RemoteFileDownloadErrorOptions, RemoteFileErrorCodes, SDKErrorCodes, SandboxSize, SandboxSizeSchema, SchemaModifierOptions, Session, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionPreset, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SessionWithoutMcp, Sessions, SetWebhookSubscriptionParams, SetWebhookSubscriptionParamsSchema, SingleConnectedAccountDetailedResponse, SingleConnectedAccountDetailedResponseSchema, SsrfErrorCodes, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSandboxConfig, ToolRouterSandboxConfigSchema, ToolRouterSession, ToolRouterSessionDeleteFn, ToolRouterSessionDeleteResponse, ToolRouterSessionDeleteResponseSchema, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteOptions, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionMetadata, ToolRouterSessionPreloadConfig, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, ToolRouterSessionUpdateFn, ToolRouterSessionWarning, ToolRouterSessionWorkbenchConfig, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolRouterUpdateSessionConfig, ToolRouterUpdateSessionConfigSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, type UnresolvedRefReason, type UnresolvedRefStrategy, UpdateConnectedAccountAclParams, UpdateConnectedAccountAclParamsSchema, type UpdateConnectedAccountParams, UpdateConnectedAccountParamsSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookConnectedAccountAuthConfig, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadata, WebhookConnectionMetadataSchema, WebhookConnectionState, WebhookConnectionStateSchema, WebhookEvent, WebhookEventSchema, WebhookEventType, WebhookEventTypes, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookRequestLike, WebhookSubscription, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, assertSafeFileUploadPath, beforeExecuteMetaModifier, beforeExecuteModifier, beforeFileUploadModifier, constants_d_exports as constants, createConnectionRequest, deduplicateJsonSchemaRequiredArrays, dereferenceJsonSchema, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, getExtensionFromMimeType, handleToolExecutionError, isBlockedSensitiveFileUploadPath, isRequestAbortError, jsonSchemaToZodSchema, logger, mappingHasRenames, normalizeToolArguments, removeNonRequiredProperties, restoreOriginalKeys, sanitizeSchemaPropertyKeys, telemetry };