@composio/core 0.13.1 → 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.
- package/README.md +62 -247
- package/dist/BaseProvider-lCxnjFKQ.d.mts +29395 -0
- package/dist/{CustomTool-D9qwyMrv.mjs → CustomTool-C_5NvBsX.mjs} +17 -15
- package/dist/{CustomTool-DLf7JeKt.d.mts → CustomTool-CmokRT9q.d.mts} +1 -1
- package/dist/{FileModifierErrors-3fSwIWoa.mjs → SsrfErrors-BQRozkeU.mjs} +33 -1
- package/dist/{Telemetry-DhGI_J4G.mjs → Telemetry-llfvticE.mjs} +40 -8
- package/dist/{jsonSchema-CFKdONpP.mjs → cancellation-W65QRyj2.mjs} +64 -19
- package/dist/{composio-BHSQwOUz.d.mts → composio-6C8kHtqc.d.mts} +827 -808
- package/dist/{customTool.types-9yFqPjdw.d.mts → customTool.types-kFhNYuzh.d.mts} +502 -502
- package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -22
- package/dist/{errors-DSIlYfl5.mjs → errors-B165yJUQ.mjs} +74 -74
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/{fileUtils.node-BiO1JQsJ.mjs → fileUtils.node-iPFi2o4i.mjs} +182 -68
- package/dist/index.d.mts +1451 -1400
- package/dist/index.mjs +1408 -1378
- package/dist/models/Files.node.mjs +2 -2
- package/dist/platform/node.d.mts +1 -1
- package/dist/platform/node.mjs +3 -0
- package/dist/platform/workerd.d.mts +1 -1
- package/dist/platform/workerd.mjs +3 -0
- package/dist/sensitiveFileUploadPaths-B1OLsd8F.mjs +114 -0
- package/dist/{types-DdoCRzLj.d.mts → types-DY1r-kN9.d.mts} +9 -0
- package/dist/{types-BJLCRj9q.d.mts → types-yCrveqAj.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +5 -5
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +10 -10
- package/src/errors/SsrfErrors.ts +47 -0
- package/src/errors/index.ts +3 -0
- package/src/index.ts +10 -0
- package/src/models/CustomTool.ts +1 -3
- package/src/models/ToolRouterSession.ts +38 -16
- package/src/models/Tools.ts +32 -2
- package/src/models/Triggers.ts +16 -76
- package/src/platform/node.ts +4 -0
- package/src/platform/types.ts +10 -0
- package/src/platform/workerd.ts +6 -0
- package/src/provider/OpenAIProvider.ts +19 -14
- package/src/telemetry/Telemetry.ts +9 -6
- package/src/telemetry/redact.ts +40 -0
- package/src/types/tool.types.ts +36 -32
- package/src/utils/fileUtils.node.ts +27 -4
- package/src/utils/jsonSchema.ts +58 -0
- package/src/utils/modifiers/FileToolModifier.node.ts +2 -1
- package/src/utils/sdk.ts +5 -4
- package/src/utils/{sensitiveFileUploadPaths.node.ts → sensitiveFileUploadPaths.ts} +29 -13
- package/src/utils/ssrfGuard.node.ts +202 -0
- package/src/utils/toolkitVersion.ts +21 -2
- package/dist/BaseProvider-Brb3o86-.d.mts +0 -29425
- package/dist/CustomTool-NpHpqdnU.d.mts +0 -74
- package/dist/buffer-PcbMMsgm.mjs +0 -33
- package/dist/composio-DfPD7BAi.d.mts +0 -5666
- package/dist/customTool.types-D-6YqFdW.d.mts +0 -2826
- package/dist/types-CCh8qvui.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-
|
|
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-
|
|
3
|
-
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-
|
|
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-
|
|
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.
|
|
@@ -575,9 +605,9 @@ type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventType
|
|
|
575
605
|
*
|
|
576
606
|
* @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
577
607
|
*/
|
|
578
|
-
declare const WebhookConnectedAccountAuthConfigSchema: z.ZodObject<{
|
|
579
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
580
|
-
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<{
|
|
581
611
|
readonly OAUTH1: "OAUTH1";
|
|
582
612
|
readonly OAUTH2: "OAUTH2";
|
|
583
613
|
readonly API_KEY: "API_KEY";
|
|
@@ -593,18 +623,18 @@ declare const WebhookConnectedAccountAuthConfigSchema: z.ZodObject<{
|
|
|
593
623
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
594
624
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
595
625
|
}>; /** Whether this auth config is managed by Composio */
|
|
596
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
597
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
598
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
599
|
-
uuid: z.ZodString;
|
|
600
|
-
}, "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, {
|
|
601
631
|
uuid: string;
|
|
602
632
|
}, {
|
|
603
633
|
uuid: string;
|
|
604
634
|
}>>;
|
|
605
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
606
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
607
|
-
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<{
|
|
608
638
|
readonly OAUTH1: "OAUTH1";
|
|
609
639
|
readonly OAUTH2: "OAUTH2";
|
|
610
640
|
readonly API_KEY: "API_KEY";
|
|
@@ -620,18 +650,18 @@ declare const WebhookConnectedAccountAuthConfigSchema: z.ZodObject<{
|
|
|
620
650
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
621
651
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
622
652
|
}>; /** Whether this auth config is managed by Composio */
|
|
623
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
624
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
625
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
626
|
-
uuid: z.ZodString;
|
|
627
|
-
}, "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, {
|
|
628
658
|
uuid: string;
|
|
629
659
|
}, {
|
|
630
660
|
uuid: string;
|
|
631
661
|
}>>;
|
|
632
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
633
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
634
|
-
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<{
|
|
635
665
|
readonly OAUTH1: "OAUTH1";
|
|
636
666
|
readonly OAUTH2: "OAUTH2";
|
|
637
667
|
readonly API_KEY: "API_KEY";
|
|
@@ -647,17 +677,17 @@ declare const WebhookConnectedAccountAuthConfigSchema: z.ZodObject<{
|
|
|
647
677
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
648
678
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
649
679
|
}>; /** Whether this auth config is managed by Composio */
|
|
650
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
651
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
652
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
653
|
-
uuid: z.ZodString;
|
|
654
|
-
}, "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, {
|
|
655
685
|
uuid: string;
|
|
656
686
|
}, {
|
|
657
687
|
uuid: string;
|
|
658
688
|
}>>;
|
|
659
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
660
|
-
type WebhookConnectedAccountAuthConfig = z.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
|
|
689
|
+
}, z$1.ZodTypeAny, "passthrough">>;
|
|
690
|
+
type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
|
|
661
691
|
/**
|
|
662
692
|
* Simplified connection state schema for webhook payloads (raw API format).
|
|
663
693
|
*
|
|
@@ -672,8 +702,8 @@ type WebhookConnectedAccountAuthConfig = z.infer<typeof WebhookConnectedAccountA
|
|
|
672
702
|
*
|
|
673
703
|
* @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
|
|
674
704
|
*/
|
|
675
|
-
declare const WebhookConnectionStateSchema: z.ZodObject<{
|
|
676
|
-
/** 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<{
|
|
677
707
|
readonly OAUTH1: "OAUTH1";
|
|
678
708
|
readonly OAUTH2: "OAUTH2";
|
|
679
709
|
readonly API_KEY: "API_KEY";
|
|
@@ -689,9 +719,9 @@ declare const WebhookConnectionStateSchema: z.ZodObject<{
|
|
|
689
719
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
690
720
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
691
721
|
}>; /** Connection state values - varies by auth scheme */
|
|
692
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
693
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
694
|
-
/** 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<{
|
|
695
725
|
readonly OAUTH1: "OAUTH1";
|
|
696
726
|
readonly OAUTH2: "OAUTH2";
|
|
697
727
|
readonly API_KEY: "API_KEY";
|
|
@@ -707,9 +737,9 @@ declare const WebhookConnectionStateSchema: z.ZodObject<{
|
|
|
707
737
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
708
738
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
709
739
|
}>; /** Connection state values - varies by auth scheme */
|
|
710
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
711
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
712
|
-
/** 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<{
|
|
713
743
|
readonly OAUTH1: "OAUTH1";
|
|
714
744
|
readonly OAUTH2: "OAUTH2";
|
|
715
745
|
readonly API_KEY: "API_KEY";
|
|
@@ -725,9 +755,9 @@ declare const WebhookConnectionStateSchema: z.ZodObject<{
|
|
|
725
755
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
726
756
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
727
757
|
}>; /** Connection state values - varies by auth scheme */
|
|
728
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
729
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
730
|
-
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>;
|
|
731
761
|
/**
|
|
732
762
|
* Connected account data schema for webhook payloads (raw API format, snake_case).
|
|
733
763
|
*
|
|
@@ -744,17 +774,17 @@ type WebhookConnectionState = z.infer<typeof WebhookConnectionStateSchema>;
|
|
|
744
774
|
* @see ConnectedAccountRetrieveResponseSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
745
775
|
* @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
|
|
746
776
|
*/
|
|
747
|
-
declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
748
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
749
|
-
slug: z.ZodString;
|
|
750
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
751
|
-
slug: z.ZodString;
|
|
752
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
753
|
-
slug: z.ZodString;
|
|
754
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
755
|
-
auth_config: z.ZodObject<{
|
|
756
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
757
|
-
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<{
|
|
758
788
|
readonly OAUTH1: "OAUTH1";
|
|
759
789
|
readonly OAUTH2: "OAUTH2";
|
|
760
790
|
readonly API_KEY: "API_KEY";
|
|
@@ -770,18 +800,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
770
800
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
771
801
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
772
802
|
}>; /** Whether this auth config is managed by Composio */
|
|
773
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
774
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
775
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
776
|
-
uuid: z.ZodString;
|
|
777
|
-
}, "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, {
|
|
778
808
|
uuid: string;
|
|
779
809
|
}, {
|
|
780
810
|
uuid: string;
|
|
781
811
|
}>>;
|
|
782
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
783
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
784
|
-
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<{
|
|
785
815
|
readonly OAUTH1: "OAUTH1";
|
|
786
816
|
readonly OAUTH2: "OAUTH2";
|
|
787
817
|
readonly API_KEY: "API_KEY";
|
|
@@ -797,18 +827,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
797
827
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
798
828
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
799
829
|
}>; /** Whether this auth config is managed by Composio */
|
|
800
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
801
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
802
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
803
|
-
uuid: z.ZodString;
|
|
804
|
-
}, "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, {
|
|
805
835
|
uuid: string;
|
|
806
836
|
}, {
|
|
807
837
|
uuid: string;
|
|
808
838
|
}>>;
|
|
809
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
810
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
811
|
-
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<{
|
|
812
842
|
readonly OAUTH1: "OAUTH1";
|
|
813
843
|
readonly OAUTH2: "OAUTH2";
|
|
814
844
|
readonly API_KEY: "API_KEY";
|
|
@@ -824,19 +854,19 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
824
854
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
825
855
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
826
856
|
}>; /** Whether this auth config is managed by Composio */
|
|
827
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
828
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
829
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
830
|
-
uuid: z.ZodString;
|
|
831
|
-
}, "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, {
|
|
832
862
|
uuid: string;
|
|
833
863
|
}, {
|
|
834
864
|
uuid: string;
|
|
835
865
|
}>>;
|
|
836
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
837
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
838
|
-
user_id: z.ZodString; /** Connection status */
|
|
839
|
-
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<{
|
|
840
870
|
readonly INITIALIZING: "INITIALIZING";
|
|
841
871
|
readonly INITIATED: "INITIATED";
|
|
842
872
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -845,10 +875,10 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
845
875
|
readonly INACTIVE: "INACTIVE";
|
|
846
876
|
readonly REVOKED: "REVOKED";
|
|
847
877
|
}>; /** ISO-8601 timestamp of creation */
|
|
848
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
849
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
850
|
-
state: z.ZodObject<{
|
|
851
|
-
/** 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<{
|
|
852
882
|
readonly OAUTH1: "OAUTH1";
|
|
853
883
|
readonly OAUTH2: "OAUTH2";
|
|
854
884
|
readonly API_KEY: "API_KEY";
|
|
@@ -864,9 +894,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
864
894
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
865
895
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
866
896
|
}>; /** Connection state values - varies by auth scheme */
|
|
867
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
868
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
869
|
-
/** 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<{
|
|
870
900
|
readonly OAUTH1: "OAUTH1";
|
|
871
901
|
readonly OAUTH2: "OAUTH2";
|
|
872
902
|
readonly API_KEY: "API_KEY";
|
|
@@ -882,9 +912,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
882
912
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
883
913
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
884
914
|
}>; /** Connection state values - varies by auth scheme */
|
|
885
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
886
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
887
|
-
/** 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<{
|
|
888
918
|
readonly OAUTH1: "OAUTH1";
|
|
889
919
|
readonly OAUTH2: "OAUTH2";
|
|
890
920
|
readonly API_KEY: "API_KEY";
|
|
@@ -900,34 +930,34 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
900
930
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
901
931
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
902
932
|
}>; /** Connection state values - varies by auth scheme */
|
|
903
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
904
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
905
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
906
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
907
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
908
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
909
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
910
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
911
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
912
|
-
uuid: z.ZodString;
|
|
913
|
-
}, "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, {
|
|
914
944
|
uuid: string;
|
|
915
945
|
labels: string[];
|
|
916
946
|
}, {
|
|
917
947
|
uuid: string;
|
|
918
948
|
labels: string[];
|
|
919
949
|
}>>;
|
|
920
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
921
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
922
|
-
slug: z.ZodString;
|
|
923
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
924
|
-
slug: z.ZodString;
|
|
925
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
926
|
-
slug: z.ZodString;
|
|
927
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
928
|
-
auth_config: z.ZodObject<{
|
|
929
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
930
|
-
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<{
|
|
931
961
|
readonly OAUTH1: "OAUTH1";
|
|
932
962
|
readonly OAUTH2: "OAUTH2";
|
|
933
963
|
readonly API_KEY: "API_KEY";
|
|
@@ -943,18 +973,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
943
973
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
944
974
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
945
975
|
}>; /** Whether this auth config is managed by Composio */
|
|
946
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
947
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
948
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
949
|
-
uuid: z.ZodString;
|
|
950
|
-
}, "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, {
|
|
951
981
|
uuid: string;
|
|
952
982
|
}, {
|
|
953
983
|
uuid: string;
|
|
954
984
|
}>>;
|
|
955
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
956
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
957
|
-
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<{
|
|
958
988
|
readonly OAUTH1: "OAUTH1";
|
|
959
989
|
readonly OAUTH2: "OAUTH2";
|
|
960
990
|
readonly API_KEY: "API_KEY";
|
|
@@ -970,18 +1000,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
970
1000
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
971
1001
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
972
1002
|
}>; /** Whether this auth config is managed by Composio */
|
|
973
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
974
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
975
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
976
|
-
uuid: z.ZodString;
|
|
977
|
-
}, "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, {
|
|
978
1008
|
uuid: string;
|
|
979
1009
|
}, {
|
|
980
1010
|
uuid: string;
|
|
981
1011
|
}>>;
|
|
982
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
983
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
984
|
-
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<{
|
|
985
1015
|
readonly OAUTH1: "OAUTH1";
|
|
986
1016
|
readonly OAUTH2: "OAUTH2";
|
|
987
1017
|
readonly API_KEY: "API_KEY";
|
|
@@ -997,19 +1027,19 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
997
1027
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
998
1028
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
999
1029
|
}>; /** Whether this auth config is managed by Composio */
|
|
1000
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1001
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1002
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1003
|
-
uuid: z.ZodString;
|
|
1004
|
-
}, "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, {
|
|
1005
1035
|
uuid: string;
|
|
1006
1036
|
}, {
|
|
1007
1037
|
uuid: string;
|
|
1008
1038
|
}>>;
|
|
1009
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
1010
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
1011
|
-
user_id: z.ZodString; /** Connection status */
|
|
1012
|
-
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<{
|
|
1013
1043
|
readonly INITIALIZING: "INITIALIZING";
|
|
1014
1044
|
readonly INITIATED: "INITIATED";
|
|
1015
1045
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1018,10 +1048,10 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1018
1048
|
readonly INACTIVE: "INACTIVE";
|
|
1019
1049
|
readonly REVOKED: "REVOKED";
|
|
1020
1050
|
}>; /** ISO-8601 timestamp of creation */
|
|
1021
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
1022
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
1023
|
-
state: z.ZodObject<{
|
|
1024
|
-
/** 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<{
|
|
1025
1055
|
readonly OAUTH1: "OAUTH1";
|
|
1026
1056
|
readonly OAUTH2: "OAUTH2";
|
|
1027
1057
|
readonly API_KEY: "API_KEY";
|
|
@@ -1037,9 +1067,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1037
1067
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1038
1068
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1039
1069
|
}>; /** Connection state values - varies by auth scheme */
|
|
1040
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1041
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1042
|
-
/** 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<{
|
|
1043
1073
|
readonly OAUTH1: "OAUTH1";
|
|
1044
1074
|
readonly OAUTH2: "OAUTH2";
|
|
1045
1075
|
readonly API_KEY: "API_KEY";
|
|
@@ -1055,9 +1085,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1055
1085
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1056
1086
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1057
1087
|
}>; /** Connection state values - varies by auth scheme */
|
|
1058
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1059
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1060
|
-
/** 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<{
|
|
1061
1091
|
readonly OAUTH1: "OAUTH1";
|
|
1062
1092
|
readonly OAUTH2: "OAUTH2";
|
|
1063
1093
|
readonly API_KEY: "API_KEY";
|
|
@@ -1073,34 +1103,34 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1073
1103
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1074
1104
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1075
1105
|
}>; /** Connection state values - varies by auth scheme */
|
|
1076
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1077
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
1078
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
1079
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
1080
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
1081
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
1082
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
1083
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1084
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
1085
|
-
uuid: z.ZodString;
|
|
1086
|
-
}, "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, {
|
|
1087
1117
|
uuid: string;
|
|
1088
1118
|
labels: string[];
|
|
1089
1119
|
}, {
|
|
1090
1120
|
uuid: string;
|
|
1091
1121
|
labels: string[];
|
|
1092
1122
|
}>>;
|
|
1093
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1094
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
1095
|
-
slug: z.ZodString;
|
|
1096
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1097
|
-
slug: z.ZodString;
|
|
1098
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1099
|
-
slug: z.ZodString;
|
|
1100
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
1101
|
-
auth_config: z.ZodObject<{
|
|
1102
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1103
|
-
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<{
|
|
1104
1134
|
readonly OAUTH1: "OAUTH1";
|
|
1105
1135
|
readonly OAUTH2: "OAUTH2";
|
|
1106
1136
|
readonly API_KEY: "API_KEY";
|
|
@@ -1116,18 +1146,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1116
1146
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1117
1147
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1118
1148
|
}>; /** Whether this auth config is managed by Composio */
|
|
1119
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1120
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1121
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1122
|
-
uuid: z.ZodString;
|
|
1123
|
-
}, "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, {
|
|
1124
1154
|
uuid: string;
|
|
1125
1155
|
}, {
|
|
1126
1156
|
uuid: string;
|
|
1127
1157
|
}>>;
|
|
1128
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1129
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1130
|
-
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<{
|
|
1131
1161
|
readonly OAUTH1: "OAUTH1";
|
|
1132
1162
|
readonly OAUTH2: "OAUTH2";
|
|
1133
1163
|
readonly API_KEY: "API_KEY";
|
|
@@ -1143,18 +1173,18 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1143
1173
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1144
1174
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1145
1175
|
}>; /** Whether this auth config is managed by Composio */
|
|
1146
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1147
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1148
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1149
|
-
uuid: z.ZodString;
|
|
1150
|
-
}, "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, {
|
|
1151
1181
|
uuid: string;
|
|
1152
1182
|
}, {
|
|
1153
1183
|
uuid: string;
|
|
1154
1184
|
}>>;
|
|
1155
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1156
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1157
|
-
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<{
|
|
1158
1188
|
readonly OAUTH1: "OAUTH1";
|
|
1159
1189
|
readonly OAUTH2: "OAUTH2";
|
|
1160
1190
|
readonly API_KEY: "API_KEY";
|
|
@@ -1170,19 +1200,19 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1170
1200
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1171
1201
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1172
1202
|
}>; /** Whether this auth config is managed by Composio */
|
|
1173
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1174
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1175
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1176
|
-
uuid: z.ZodString;
|
|
1177
|
-
}, "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, {
|
|
1178
1208
|
uuid: string;
|
|
1179
1209
|
}, {
|
|
1180
1210
|
uuid: string;
|
|
1181
1211
|
}>>;
|
|
1182
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
1183
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
1184
|
-
user_id: z.ZodString; /** Connection status */
|
|
1185
|
-
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<{
|
|
1186
1216
|
readonly INITIALIZING: "INITIALIZING";
|
|
1187
1217
|
readonly INITIATED: "INITIATED";
|
|
1188
1218
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1191,10 +1221,10 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1191
1221
|
readonly INACTIVE: "INACTIVE";
|
|
1192
1222
|
readonly REVOKED: "REVOKED";
|
|
1193
1223
|
}>; /** ISO-8601 timestamp of creation */
|
|
1194
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
1195
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
1196
|
-
state: z.ZodObject<{
|
|
1197
|
-
/** 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<{
|
|
1198
1228
|
readonly OAUTH1: "OAUTH1";
|
|
1199
1229
|
readonly OAUTH2: "OAUTH2";
|
|
1200
1230
|
readonly API_KEY: "API_KEY";
|
|
@@ -1210,9 +1240,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1210
1240
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1211
1241
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1212
1242
|
}>; /** Connection state values - varies by auth scheme */
|
|
1213
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1214
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1215
|
-
/** 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<{
|
|
1216
1246
|
readonly OAUTH1: "OAUTH1";
|
|
1217
1247
|
readonly OAUTH2: "OAUTH2";
|
|
1218
1248
|
readonly API_KEY: "API_KEY";
|
|
@@ -1228,9 +1258,9 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1228
1258
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1229
1259
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1230
1260
|
}>; /** Connection state values - varies by auth scheme */
|
|
1231
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1232
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1233
|
-
/** 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<{
|
|
1234
1264
|
readonly OAUTH1: "OAUTH1";
|
|
1235
1265
|
readonly OAUTH2: "OAUTH2";
|
|
1236
1266
|
readonly API_KEY: "API_KEY";
|
|
@@ -1246,42 +1276,42 @@ declare const SingleConnectedAccountDetailedResponseSchema: z.ZodObject<{
|
|
|
1246
1276
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1247
1277
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1248
1278
|
}>; /** Connection state values - varies by auth scheme */
|
|
1249
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1250
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
1251
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
1252
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
1253
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
1254
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
1255
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
1256
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1257
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
1258
|
-
uuid: z.ZodString;
|
|
1259
|
-
}, "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, {
|
|
1260
1290
|
uuid: string;
|
|
1261
1291
|
labels: string[];
|
|
1262
1292
|
}, {
|
|
1263
1293
|
uuid: string;
|
|
1264
1294
|
labels: string[];
|
|
1265
1295
|
}>>;
|
|
1266
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1267
|
-
type SingleConnectedAccountDetailedResponse = z.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
|
|
1296
|
+
}, z$1.ZodTypeAny, "passthrough">>;
|
|
1297
|
+
type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
|
|
1268
1298
|
/**
|
|
1269
1299
|
* Webhook metadata for connection events.
|
|
1270
1300
|
* Note: This differs from the trigger webhook metadata in WebhookTriggerPayloadV3Schema.
|
|
1271
1301
|
*
|
|
1272
1302
|
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
1273
1303
|
*/
|
|
1274
|
-
declare const WebhookConnectionMetadataSchema: z.ZodObject<{
|
|
1275
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
1276
|
-
org_id: z.ZodString;
|
|
1277
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1278
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
1279
|
-
org_id: z.ZodString;
|
|
1280
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1281
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
1282
|
-
org_id: z.ZodString;
|
|
1283
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1284
|
-
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>;
|
|
1285
1315
|
/**
|
|
1286
1316
|
* Connection expired webhook event payload.
|
|
1287
1317
|
* Emitted when a connected account expires due to authentication refresh failure.
|
|
@@ -1302,21 +1332,21 @@ type WebhookConnectionMetadata = z.infer<typeof WebhookConnectionMetadataSchema>
|
|
|
1302
1332
|
* }
|
|
1303
1333
|
* ```
|
|
1304
1334
|
*/
|
|
1305
|
-
declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
1306
|
-
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
|
|
1307
|
-
timestamp: z.ZodString; /** Event type identifier */
|
|
1308
|
-
type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
|
|
1309
|
-
data: z.ZodObject<{
|
|
1310
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
1311
|
-
slug: z.ZodString;
|
|
1312
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1313
|
-
slug: z.ZodString;
|
|
1314
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1315
|
-
slug: z.ZodString;
|
|
1316
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
1317
|
-
auth_config: z.ZodObject<{
|
|
1318
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1319
|
-
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<{
|
|
1320
1350
|
readonly OAUTH1: "OAUTH1";
|
|
1321
1351
|
readonly OAUTH2: "OAUTH2";
|
|
1322
1352
|
readonly API_KEY: "API_KEY";
|
|
@@ -1332,18 +1362,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1332
1362
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1333
1363
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1334
1364
|
}>; /** Whether this auth config is managed by Composio */
|
|
1335
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1336
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1337
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1338
|
-
uuid: z.ZodString;
|
|
1339
|
-
}, "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, {
|
|
1340
1370
|
uuid: string;
|
|
1341
1371
|
}, {
|
|
1342
1372
|
uuid: string;
|
|
1343
1373
|
}>>;
|
|
1344
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1345
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1346
|
-
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<{
|
|
1347
1377
|
readonly OAUTH1: "OAUTH1";
|
|
1348
1378
|
readonly OAUTH2: "OAUTH2";
|
|
1349
1379
|
readonly API_KEY: "API_KEY";
|
|
@@ -1359,18 +1389,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1359
1389
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1360
1390
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1361
1391
|
}>; /** Whether this auth config is managed by Composio */
|
|
1362
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1363
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1364
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1365
|
-
uuid: z.ZodString;
|
|
1366
|
-
}, "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, {
|
|
1367
1397
|
uuid: string;
|
|
1368
1398
|
}, {
|
|
1369
1399
|
uuid: string;
|
|
1370
1400
|
}>>;
|
|
1371
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1372
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1373
|
-
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<{
|
|
1374
1404
|
readonly OAUTH1: "OAUTH1";
|
|
1375
1405
|
readonly OAUTH2: "OAUTH2";
|
|
1376
1406
|
readonly API_KEY: "API_KEY";
|
|
@@ -1386,19 +1416,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1386
1416
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1387
1417
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1388
1418
|
}>; /** Whether this auth config is managed by Composio */
|
|
1389
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1390
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1391
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1392
|
-
uuid: z.ZodString;
|
|
1393
|
-
}, "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, {
|
|
1394
1424
|
uuid: string;
|
|
1395
1425
|
}, {
|
|
1396
1426
|
uuid: string;
|
|
1397
1427
|
}>>;
|
|
1398
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
1399
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
1400
|
-
user_id: z.ZodString; /** Connection status */
|
|
1401
|
-
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<{
|
|
1402
1432
|
readonly INITIALIZING: "INITIALIZING";
|
|
1403
1433
|
readonly INITIATED: "INITIATED";
|
|
1404
1434
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1407,10 +1437,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1407
1437
|
readonly INACTIVE: "INACTIVE";
|
|
1408
1438
|
readonly REVOKED: "REVOKED";
|
|
1409
1439
|
}>; /** ISO-8601 timestamp of creation */
|
|
1410
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
1411
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
1412
|
-
state: z.ZodObject<{
|
|
1413
|
-
/** 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<{
|
|
1414
1444
|
readonly OAUTH1: "OAUTH1";
|
|
1415
1445
|
readonly OAUTH2: "OAUTH2";
|
|
1416
1446
|
readonly API_KEY: "API_KEY";
|
|
@@ -1426,9 +1456,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1426
1456
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1427
1457
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1428
1458
|
}>; /** Connection state values - varies by auth scheme */
|
|
1429
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1430
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1431
|
-
/** 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<{
|
|
1432
1462
|
readonly OAUTH1: "OAUTH1";
|
|
1433
1463
|
readonly OAUTH2: "OAUTH2";
|
|
1434
1464
|
readonly API_KEY: "API_KEY";
|
|
@@ -1444,9 +1474,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1444
1474
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1445
1475
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1446
1476
|
}>; /** Connection state values - varies by auth scheme */
|
|
1447
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1448
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1449
|
-
/** 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<{
|
|
1450
1480
|
readonly OAUTH1: "OAUTH1";
|
|
1451
1481
|
readonly OAUTH2: "OAUTH2";
|
|
1452
1482
|
readonly API_KEY: "API_KEY";
|
|
@@ -1462,34 +1492,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1462
1492
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1463
1493
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1464
1494
|
}>; /** Connection state values - varies by auth scheme */
|
|
1465
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1466
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
1467
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
1468
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
1469
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
1470
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
1471
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
1472
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1473
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
1474
|
-
uuid: z.ZodString;
|
|
1475
|
-
}, "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, {
|
|
1476
1506
|
uuid: string;
|
|
1477
1507
|
labels: string[];
|
|
1478
1508
|
}, {
|
|
1479
1509
|
uuid: string;
|
|
1480
1510
|
labels: string[];
|
|
1481
1511
|
}>>;
|
|
1482
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1483
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
1484
|
-
slug: z.ZodString;
|
|
1485
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1486
|
-
slug: z.ZodString;
|
|
1487
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1488
|
-
slug: z.ZodString;
|
|
1489
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
1490
|
-
auth_config: z.ZodObject<{
|
|
1491
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1492
|
-
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<{
|
|
1493
1523
|
readonly OAUTH1: "OAUTH1";
|
|
1494
1524
|
readonly OAUTH2: "OAUTH2";
|
|
1495
1525
|
readonly API_KEY: "API_KEY";
|
|
@@ -1505,18 +1535,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1505
1535
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1506
1536
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1507
1537
|
}>; /** Whether this auth config is managed by Composio */
|
|
1508
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1509
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1510
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1511
|
-
uuid: z.ZodString;
|
|
1512
|
-
}, "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, {
|
|
1513
1543
|
uuid: string;
|
|
1514
1544
|
}, {
|
|
1515
1545
|
uuid: string;
|
|
1516
1546
|
}>>;
|
|
1517
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1518
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1519
|
-
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<{
|
|
1520
1550
|
readonly OAUTH1: "OAUTH1";
|
|
1521
1551
|
readonly OAUTH2: "OAUTH2";
|
|
1522
1552
|
readonly API_KEY: "API_KEY";
|
|
@@ -1532,18 +1562,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1532
1562
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1533
1563
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1534
1564
|
}>; /** Whether this auth config is managed by Composio */
|
|
1535
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1536
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1537
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1538
|
-
uuid: z.ZodString;
|
|
1539
|
-
}, "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, {
|
|
1540
1570
|
uuid: string;
|
|
1541
1571
|
}, {
|
|
1542
1572
|
uuid: string;
|
|
1543
1573
|
}>>;
|
|
1544
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1545
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1546
|
-
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<{
|
|
1547
1577
|
readonly OAUTH1: "OAUTH1";
|
|
1548
1578
|
readonly OAUTH2: "OAUTH2";
|
|
1549
1579
|
readonly API_KEY: "API_KEY";
|
|
@@ -1559,19 +1589,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1559
1589
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1560
1590
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1561
1591
|
}>; /** Whether this auth config is managed by Composio */
|
|
1562
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1563
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1564
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1565
|
-
uuid: z.ZodString;
|
|
1566
|
-
}, "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, {
|
|
1567
1597
|
uuid: string;
|
|
1568
1598
|
}, {
|
|
1569
1599
|
uuid: string;
|
|
1570
1600
|
}>>;
|
|
1571
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
1572
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
1573
|
-
user_id: z.ZodString; /** Connection status */
|
|
1574
|
-
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<{
|
|
1575
1605
|
readonly INITIALIZING: "INITIALIZING";
|
|
1576
1606
|
readonly INITIATED: "INITIATED";
|
|
1577
1607
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1580,10 +1610,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1580
1610
|
readonly INACTIVE: "INACTIVE";
|
|
1581
1611
|
readonly REVOKED: "REVOKED";
|
|
1582
1612
|
}>; /** ISO-8601 timestamp of creation */
|
|
1583
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
1584
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
1585
|
-
state: z.ZodObject<{
|
|
1586
|
-
/** 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<{
|
|
1587
1617
|
readonly OAUTH1: "OAUTH1";
|
|
1588
1618
|
readonly OAUTH2: "OAUTH2";
|
|
1589
1619
|
readonly API_KEY: "API_KEY";
|
|
@@ -1599,9 +1629,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1599
1629
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1600
1630
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1601
1631
|
}>; /** Connection state values - varies by auth scheme */
|
|
1602
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1603
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1604
|
-
/** 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<{
|
|
1605
1635
|
readonly OAUTH1: "OAUTH1";
|
|
1606
1636
|
readonly OAUTH2: "OAUTH2";
|
|
1607
1637
|
readonly API_KEY: "API_KEY";
|
|
@@ -1617,9 +1647,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1617
1647
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1618
1648
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1619
1649
|
}>; /** Connection state values - varies by auth scheme */
|
|
1620
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1621
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1622
|
-
/** 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<{
|
|
1623
1653
|
readonly OAUTH1: "OAUTH1";
|
|
1624
1654
|
readonly OAUTH2: "OAUTH2";
|
|
1625
1655
|
readonly API_KEY: "API_KEY";
|
|
@@ -1635,34 +1665,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1635
1665
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1636
1666
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1637
1667
|
}>; /** Connection state values - varies by auth scheme */
|
|
1638
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1639
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
1640
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
1641
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
1642
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
1643
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
1644
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
1645
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1646
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
1647
|
-
uuid: z.ZodString;
|
|
1648
|
-
}, "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, {
|
|
1649
1679
|
uuid: string;
|
|
1650
1680
|
labels: string[];
|
|
1651
1681
|
}, {
|
|
1652
1682
|
uuid: string;
|
|
1653
1683
|
labels: string[];
|
|
1654
1684
|
}>>;
|
|
1655
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1656
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
1657
|
-
slug: z.ZodString;
|
|
1658
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1659
|
-
slug: z.ZodString;
|
|
1660
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1661
|
-
slug: z.ZodString;
|
|
1662
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
1663
|
-
auth_config: z.ZodObject<{
|
|
1664
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1665
|
-
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<{
|
|
1666
1696
|
readonly OAUTH1: "OAUTH1";
|
|
1667
1697
|
readonly OAUTH2: "OAUTH2";
|
|
1668
1698
|
readonly API_KEY: "API_KEY";
|
|
@@ -1678,18 +1708,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1678
1708
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1679
1709
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1680
1710
|
}>; /** Whether this auth config is managed by Composio */
|
|
1681
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1682
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1683
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1684
|
-
uuid: z.ZodString;
|
|
1685
|
-
}, "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, {
|
|
1686
1716
|
uuid: string;
|
|
1687
1717
|
}, {
|
|
1688
1718
|
uuid: string;
|
|
1689
1719
|
}>>;
|
|
1690
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1691
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1692
|
-
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<{
|
|
1693
1723
|
readonly OAUTH1: "OAUTH1";
|
|
1694
1724
|
readonly OAUTH2: "OAUTH2";
|
|
1695
1725
|
readonly API_KEY: "API_KEY";
|
|
@@ -1705,18 +1735,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1705
1735
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1706
1736
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1707
1737
|
}>; /** Whether this auth config is managed by Composio */
|
|
1708
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1709
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1710
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1711
|
-
uuid: z.ZodString;
|
|
1712
|
-
}, "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, {
|
|
1713
1743
|
uuid: string;
|
|
1714
1744
|
}, {
|
|
1715
1745
|
uuid: string;
|
|
1716
1746
|
}>>;
|
|
1717
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1718
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1719
|
-
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<{
|
|
1720
1750
|
readonly OAUTH1: "OAUTH1";
|
|
1721
1751
|
readonly OAUTH2: "OAUTH2";
|
|
1722
1752
|
readonly API_KEY: "API_KEY";
|
|
@@ -1732,19 +1762,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1732
1762
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1733
1763
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1734
1764
|
}>; /** Whether this auth config is managed by Composio */
|
|
1735
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1736
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1737
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1738
|
-
uuid: z.ZodString;
|
|
1739
|
-
}, "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, {
|
|
1740
1770
|
uuid: string;
|
|
1741
1771
|
}, {
|
|
1742
1772
|
uuid: string;
|
|
1743
1773
|
}>>;
|
|
1744
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
1745
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
1746
|
-
user_id: z.ZodString; /** Connection status */
|
|
1747
|
-
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<{
|
|
1748
1778
|
readonly INITIALIZING: "INITIALIZING";
|
|
1749
1779
|
readonly INITIATED: "INITIATED";
|
|
1750
1780
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1753,10 +1783,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1753
1783
|
readonly INACTIVE: "INACTIVE";
|
|
1754
1784
|
readonly REVOKED: "REVOKED";
|
|
1755
1785
|
}>; /** ISO-8601 timestamp of creation */
|
|
1756
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
1757
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
1758
|
-
state: z.ZodObject<{
|
|
1759
|
-
/** 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<{
|
|
1760
1790
|
readonly OAUTH1: "OAUTH1";
|
|
1761
1791
|
readonly OAUTH2: "OAUTH2";
|
|
1762
1792
|
readonly API_KEY: "API_KEY";
|
|
@@ -1772,9 +1802,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1772
1802
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1773
1803
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1774
1804
|
}>; /** Connection state values - varies by auth scheme */
|
|
1775
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1776
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1777
|
-
/** 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<{
|
|
1778
1808
|
readonly OAUTH1: "OAUTH1";
|
|
1779
1809
|
readonly OAUTH2: "OAUTH2";
|
|
1780
1810
|
readonly API_KEY: "API_KEY";
|
|
@@ -1790,9 +1820,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1790
1820
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1791
1821
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1792
1822
|
}>; /** Connection state values - varies by auth scheme */
|
|
1793
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1794
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1795
|
-
/** 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<{
|
|
1796
1826
|
readonly OAUTH1: "OAUTH1";
|
|
1797
1827
|
readonly OAUTH2: "OAUTH2";
|
|
1798
1828
|
readonly API_KEY: "API_KEY";
|
|
@@ -1808,49 +1838,49 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1808
1838
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1809
1839
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1810
1840
|
}>; /** Connection state values - varies by auth scheme */
|
|
1811
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1812
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
1813
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
1814
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
1815
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
1816
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
1817
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
1818
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1819
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
1820
|
-
uuid: z.ZodString;
|
|
1821
|
-
}, "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, {
|
|
1822
1852
|
uuid: string;
|
|
1823
1853
|
labels: string[];
|
|
1824
1854
|
}, {
|
|
1825
1855
|
uuid: string;
|
|
1826
1856
|
labels: string[];
|
|
1827
1857
|
}>>;
|
|
1828
|
-
}, z.ZodTypeAny, "passthrough">>; /** Event metadata */
|
|
1829
|
-
metadata: z.ZodObject<{
|
|
1830
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
1831
|
-
org_id: z.ZodString;
|
|
1832
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1833
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
1834
|
-
org_id: z.ZodString;
|
|
1835
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1836
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
1837
|
-
org_id: z.ZodString;
|
|
1838
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1839
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1840
|
-
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
|
|
1841
|
-
timestamp: z.ZodString; /** Event type identifier */
|
|
1842
|
-
type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
|
|
1843
|
-
data: z.ZodObject<{
|
|
1844
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
1845
|
-
slug: z.ZodString;
|
|
1846
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1847
|
-
slug: z.ZodString;
|
|
1848
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1849
|
-
slug: z.ZodString;
|
|
1850
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
1851
|
-
auth_config: z.ZodObject<{
|
|
1852
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1853
|
-
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<{
|
|
1854
1884
|
readonly OAUTH1: "OAUTH1";
|
|
1855
1885
|
readonly OAUTH2: "OAUTH2";
|
|
1856
1886
|
readonly API_KEY: "API_KEY";
|
|
@@ -1866,18 +1896,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1866
1896
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1867
1897
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1868
1898
|
}>; /** Whether this auth config is managed by Composio */
|
|
1869
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1870
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1871
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1872
|
-
uuid: z.ZodString;
|
|
1873
|
-
}, "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, {
|
|
1874
1904
|
uuid: string;
|
|
1875
1905
|
}, {
|
|
1876
1906
|
uuid: string;
|
|
1877
1907
|
}>>;
|
|
1878
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1879
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1880
|
-
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<{
|
|
1881
1911
|
readonly OAUTH1: "OAUTH1";
|
|
1882
1912
|
readonly OAUTH2: "OAUTH2";
|
|
1883
1913
|
readonly API_KEY: "API_KEY";
|
|
@@ -1893,18 +1923,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1893
1923
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1894
1924
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1895
1925
|
}>; /** Whether this auth config is managed by Composio */
|
|
1896
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1897
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1898
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1899
|
-
uuid: z.ZodString;
|
|
1900
|
-
}, "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, {
|
|
1901
1931
|
uuid: string;
|
|
1902
1932
|
}, {
|
|
1903
1933
|
uuid: string;
|
|
1904
1934
|
}>>;
|
|
1905
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1906
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
1907
|
-
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<{
|
|
1908
1938
|
readonly OAUTH1: "OAUTH1";
|
|
1909
1939
|
readonly OAUTH2: "OAUTH2";
|
|
1910
1940
|
readonly API_KEY: "API_KEY";
|
|
@@ -1920,19 +1950,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1920
1950
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1921
1951
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1922
1952
|
}>; /** Whether this auth config is managed by Composio */
|
|
1923
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
1924
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
1925
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
1926
|
-
uuid: z.ZodString;
|
|
1927
|
-
}, "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, {
|
|
1928
1958
|
uuid: string;
|
|
1929
1959
|
}, {
|
|
1930
1960
|
uuid: string;
|
|
1931
1961
|
}>>;
|
|
1932
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
1933
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
1934
|
-
user_id: z.ZodString; /** Connection status */
|
|
1935
|
-
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<{
|
|
1936
1966
|
readonly INITIALIZING: "INITIALIZING";
|
|
1937
1967
|
readonly INITIATED: "INITIATED";
|
|
1938
1968
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1941,10 +1971,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1941
1971
|
readonly INACTIVE: "INACTIVE";
|
|
1942
1972
|
readonly REVOKED: "REVOKED";
|
|
1943
1973
|
}>; /** ISO-8601 timestamp of creation */
|
|
1944
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
1945
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
1946
|
-
state: z.ZodObject<{
|
|
1947
|
-
/** 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<{
|
|
1948
1978
|
readonly OAUTH1: "OAUTH1";
|
|
1949
1979
|
readonly OAUTH2: "OAUTH2";
|
|
1950
1980
|
readonly API_KEY: "API_KEY";
|
|
@@ -1960,9 +1990,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1960
1990
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1961
1991
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1962
1992
|
}>; /** Connection state values - varies by auth scheme */
|
|
1963
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1964
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1965
|
-
/** 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<{
|
|
1966
1996
|
readonly OAUTH1: "OAUTH1";
|
|
1967
1997
|
readonly OAUTH2: "OAUTH2";
|
|
1968
1998
|
readonly API_KEY: "API_KEY";
|
|
@@ -1978,9 +2008,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1978
2008
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1979
2009
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1980
2010
|
}>; /** Connection state values - varies by auth scheme */
|
|
1981
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1982
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1983
|
-
/** 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<{
|
|
1984
2014
|
readonly OAUTH1: "OAUTH1";
|
|
1985
2015
|
readonly OAUTH2: "OAUTH2";
|
|
1986
2016
|
readonly API_KEY: "API_KEY";
|
|
@@ -1996,34 +2026,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
1996
2026
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
1997
2027
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
1998
2028
|
}>; /** Connection state values - varies by auth scheme */
|
|
1999
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2000
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
2001
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
2002
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
2003
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
2004
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
2005
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
2006
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2007
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
2008
|
-
uuid: z.ZodString;
|
|
2009
|
-
}, "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, {
|
|
2010
2040
|
uuid: string;
|
|
2011
2041
|
labels: string[];
|
|
2012
2042
|
}, {
|
|
2013
2043
|
uuid: string;
|
|
2014
2044
|
labels: string[];
|
|
2015
2045
|
}>>;
|
|
2016
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2017
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
2018
|
-
slug: z.ZodString;
|
|
2019
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2020
|
-
slug: z.ZodString;
|
|
2021
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2022
|
-
slug: z.ZodString;
|
|
2023
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
2024
|
-
auth_config: z.ZodObject<{
|
|
2025
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2026
|
-
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<{
|
|
2027
2057
|
readonly OAUTH1: "OAUTH1";
|
|
2028
2058
|
readonly OAUTH2: "OAUTH2";
|
|
2029
2059
|
readonly API_KEY: "API_KEY";
|
|
@@ -2039,18 +2069,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2039
2069
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2040
2070
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2041
2071
|
}>; /** Whether this auth config is managed by Composio */
|
|
2042
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2043
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2044
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2045
|
-
uuid: z.ZodString;
|
|
2046
|
-
}, "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, {
|
|
2047
2077
|
uuid: string;
|
|
2048
2078
|
}, {
|
|
2049
2079
|
uuid: string;
|
|
2050
2080
|
}>>;
|
|
2051
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2052
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2053
|
-
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<{
|
|
2054
2084
|
readonly OAUTH1: "OAUTH1";
|
|
2055
2085
|
readonly OAUTH2: "OAUTH2";
|
|
2056
2086
|
readonly API_KEY: "API_KEY";
|
|
@@ -2066,18 +2096,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2066
2096
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2067
2097
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2068
2098
|
}>; /** Whether this auth config is managed by Composio */
|
|
2069
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2070
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2071
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2072
|
-
uuid: z.ZodString;
|
|
2073
|
-
}, "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, {
|
|
2074
2104
|
uuid: string;
|
|
2075
2105
|
}, {
|
|
2076
2106
|
uuid: string;
|
|
2077
2107
|
}>>;
|
|
2078
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2079
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2080
|
-
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<{
|
|
2081
2111
|
readonly OAUTH1: "OAUTH1";
|
|
2082
2112
|
readonly OAUTH2: "OAUTH2";
|
|
2083
2113
|
readonly API_KEY: "API_KEY";
|
|
@@ -2093,19 +2123,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2093
2123
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2094
2124
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2095
2125
|
}>; /** Whether this auth config is managed by Composio */
|
|
2096
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2097
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2098
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2099
|
-
uuid: z.ZodString;
|
|
2100
|
-
}, "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, {
|
|
2101
2131
|
uuid: string;
|
|
2102
2132
|
}, {
|
|
2103
2133
|
uuid: string;
|
|
2104
2134
|
}>>;
|
|
2105
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
2106
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
2107
|
-
user_id: z.ZodString; /** Connection status */
|
|
2108
|
-
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<{
|
|
2109
2139
|
readonly INITIALIZING: "INITIALIZING";
|
|
2110
2140
|
readonly INITIATED: "INITIATED";
|
|
2111
2141
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -2114,10 +2144,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2114
2144
|
readonly INACTIVE: "INACTIVE";
|
|
2115
2145
|
readonly REVOKED: "REVOKED";
|
|
2116
2146
|
}>; /** ISO-8601 timestamp of creation */
|
|
2117
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
2118
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
2119
|
-
state: z.ZodObject<{
|
|
2120
|
-
/** 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<{
|
|
2121
2151
|
readonly OAUTH1: "OAUTH1";
|
|
2122
2152
|
readonly OAUTH2: "OAUTH2";
|
|
2123
2153
|
readonly API_KEY: "API_KEY";
|
|
@@ -2133,9 +2163,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2133
2163
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2134
2164
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2135
2165
|
}>; /** Connection state values - varies by auth scheme */
|
|
2136
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2137
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2138
|
-
/** 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<{
|
|
2139
2169
|
readonly OAUTH1: "OAUTH1";
|
|
2140
2170
|
readonly OAUTH2: "OAUTH2";
|
|
2141
2171
|
readonly API_KEY: "API_KEY";
|
|
@@ -2151,9 +2181,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2151
2181
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2152
2182
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2153
2183
|
}>; /** Connection state values - varies by auth scheme */
|
|
2154
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2155
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2156
|
-
/** 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<{
|
|
2157
2187
|
readonly OAUTH1: "OAUTH1";
|
|
2158
2188
|
readonly OAUTH2: "OAUTH2";
|
|
2159
2189
|
readonly API_KEY: "API_KEY";
|
|
@@ -2169,34 +2199,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2169
2199
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2170
2200
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2171
2201
|
}>; /** Connection state values - varies by auth scheme */
|
|
2172
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2173
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
2174
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
2175
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
2176
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
2177
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
2178
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
2179
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2180
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
2181
|
-
uuid: z.ZodString;
|
|
2182
|
-
}, "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, {
|
|
2183
2213
|
uuid: string;
|
|
2184
2214
|
labels: string[];
|
|
2185
2215
|
}, {
|
|
2186
2216
|
uuid: string;
|
|
2187
2217
|
labels: string[];
|
|
2188
2218
|
}>>;
|
|
2189
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2190
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
2191
|
-
slug: z.ZodString;
|
|
2192
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2193
|
-
slug: z.ZodString;
|
|
2194
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2195
|
-
slug: z.ZodString;
|
|
2196
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
2197
|
-
auth_config: z.ZodObject<{
|
|
2198
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2199
|
-
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<{
|
|
2200
2230
|
readonly OAUTH1: "OAUTH1";
|
|
2201
2231
|
readonly OAUTH2: "OAUTH2";
|
|
2202
2232
|
readonly API_KEY: "API_KEY";
|
|
@@ -2212,18 +2242,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2212
2242
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2213
2243
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2214
2244
|
}>; /** Whether this auth config is managed by Composio */
|
|
2215
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2216
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2217
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2218
|
-
uuid: z.ZodString;
|
|
2219
|
-
}, "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, {
|
|
2220
2250
|
uuid: string;
|
|
2221
2251
|
}, {
|
|
2222
2252
|
uuid: string;
|
|
2223
2253
|
}>>;
|
|
2224
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2225
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2226
|
-
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<{
|
|
2227
2257
|
readonly OAUTH1: "OAUTH1";
|
|
2228
2258
|
readonly OAUTH2: "OAUTH2";
|
|
2229
2259
|
readonly API_KEY: "API_KEY";
|
|
@@ -2239,18 +2269,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2239
2269
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2240
2270
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2241
2271
|
}>; /** Whether this auth config is managed by Composio */
|
|
2242
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2243
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2244
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2245
|
-
uuid: z.ZodString;
|
|
2246
|
-
}, "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, {
|
|
2247
2277
|
uuid: string;
|
|
2248
2278
|
}, {
|
|
2249
2279
|
uuid: string;
|
|
2250
2280
|
}>>;
|
|
2251
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2252
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2253
|
-
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<{
|
|
2254
2284
|
readonly OAUTH1: "OAUTH1";
|
|
2255
2285
|
readonly OAUTH2: "OAUTH2";
|
|
2256
2286
|
readonly API_KEY: "API_KEY";
|
|
@@ -2266,19 +2296,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2266
2296
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2267
2297
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2268
2298
|
}>; /** Whether this auth config is managed by Composio */
|
|
2269
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2270
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2271
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2272
|
-
uuid: z.ZodString;
|
|
2273
|
-
}, "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, {
|
|
2274
2304
|
uuid: string;
|
|
2275
2305
|
}, {
|
|
2276
2306
|
uuid: string;
|
|
2277
2307
|
}>>;
|
|
2278
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
2279
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
2280
|
-
user_id: z.ZodString; /** Connection status */
|
|
2281
|
-
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<{
|
|
2282
2312
|
readonly INITIALIZING: "INITIALIZING";
|
|
2283
2313
|
readonly INITIATED: "INITIATED";
|
|
2284
2314
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -2287,10 +2317,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2287
2317
|
readonly INACTIVE: "INACTIVE";
|
|
2288
2318
|
readonly REVOKED: "REVOKED";
|
|
2289
2319
|
}>; /** ISO-8601 timestamp of creation */
|
|
2290
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
2291
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
2292
|
-
state: z.ZodObject<{
|
|
2293
|
-
/** 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<{
|
|
2294
2324
|
readonly OAUTH1: "OAUTH1";
|
|
2295
2325
|
readonly OAUTH2: "OAUTH2";
|
|
2296
2326
|
readonly API_KEY: "API_KEY";
|
|
@@ -2306,9 +2336,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2306
2336
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2307
2337
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2308
2338
|
}>; /** Connection state values - varies by auth scheme */
|
|
2309
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2310
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2311
|
-
/** 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<{
|
|
2312
2342
|
readonly OAUTH1: "OAUTH1";
|
|
2313
2343
|
readonly OAUTH2: "OAUTH2";
|
|
2314
2344
|
readonly API_KEY: "API_KEY";
|
|
@@ -2324,9 +2354,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2324
2354
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2325
2355
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2326
2356
|
}>; /** Connection state values - varies by auth scheme */
|
|
2327
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2328
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2329
|
-
/** 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<{
|
|
2330
2360
|
readonly OAUTH1: "OAUTH1";
|
|
2331
2361
|
readonly OAUTH2: "OAUTH2";
|
|
2332
2362
|
readonly API_KEY: "API_KEY";
|
|
@@ -2342,49 +2372,49 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2342
2372
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2343
2373
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2344
2374
|
}>; /** Connection state values - varies by auth scheme */
|
|
2345
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2346
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
2347
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
2348
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
2349
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
2350
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
2351
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
2352
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2353
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
2354
|
-
uuid: z.ZodString;
|
|
2355
|
-
}, "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, {
|
|
2356
2386
|
uuid: string;
|
|
2357
2387
|
labels: string[];
|
|
2358
2388
|
}, {
|
|
2359
2389
|
uuid: string;
|
|
2360
2390
|
labels: string[];
|
|
2361
2391
|
}>>;
|
|
2362
|
-
}, z.ZodTypeAny, "passthrough">>; /** Event metadata */
|
|
2363
|
-
metadata: z.ZodObject<{
|
|
2364
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
2365
|
-
org_id: z.ZodString;
|
|
2366
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2367
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
2368
|
-
org_id: z.ZodString;
|
|
2369
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2370
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
2371
|
-
org_id: z.ZodString;
|
|
2372
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2373
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2374
|
-
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
|
|
2375
|
-
timestamp: z.ZodString; /** Event type identifier */
|
|
2376
|
-
type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
|
|
2377
|
-
data: z.ZodObject<{
|
|
2378
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
2379
|
-
slug: z.ZodString;
|
|
2380
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2381
|
-
slug: z.ZodString;
|
|
2382
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2383
|
-
slug: z.ZodString;
|
|
2384
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
2385
|
-
auth_config: z.ZodObject<{
|
|
2386
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2387
|
-
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<{
|
|
2388
2418
|
readonly OAUTH1: "OAUTH1";
|
|
2389
2419
|
readonly OAUTH2: "OAUTH2";
|
|
2390
2420
|
readonly API_KEY: "API_KEY";
|
|
@@ -2400,18 +2430,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2400
2430
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2401
2431
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2402
2432
|
}>; /** Whether this auth config is managed by Composio */
|
|
2403
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2404
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2405
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2406
|
-
uuid: z.ZodString;
|
|
2407
|
-
}, "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, {
|
|
2408
2438
|
uuid: string;
|
|
2409
2439
|
}, {
|
|
2410
2440
|
uuid: string;
|
|
2411
2441
|
}>>;
|
|
2412
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2413
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2414
|
-
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<{
|
|
2415
2445
|
readonly OAUTH1: "OAUTH1";
|
|
2416
2446
|
readonly OAUTH2: "OAUTH2";
|
|
2417
2447
|
readonly API_KEY: "API_KEY";
|
|
@@ -2427,18 +2457,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2427
2457
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2428
2458
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2429
2459
|
}>; /** Whether this auth config is managed by Composio */
|
|
2430
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2431
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2432
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2433
|
-
uuid: z.ZodString;
|
|
2434
|
-
}, "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, {
|
|
2435
2465
|
uuid: string;
|
|
2436
2466
|
}, {
|
|
2437
2467
|
uuid: string;
|
|
2438
2468
|
}>>;
|
|
2439
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2440
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2441
|
-
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<{
|
|
2442
2472
|
readonly OAUTH1: "OAUTH1";
|
|
2443
2473
|
readonly OAUTH2: "OAUTH2";
|
|
2444
2474
|
readonly API_KEY: "API_KEY";
|
|
@@ -2454,19 +2484,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2454
2484
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2455
2485
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2456
2486
|
}>; /** Whether this auth config is managed by Composio */
|
|
2457
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2458
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2459
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2460
|
-
uuid: z.ZodString;
|
|
2461
|
-
}, "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, {
|
|
2462
2492
|
uuid: string;
|
|
2463
2493
|
}, {
|
|
2464
2494
|
uuid: string;
|
|
2465
2495
|
}>>;
|
|
2466
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
2467
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
2468
|
-
user_id: z.ZodString; /** Connection status */
|
|
2469
|
-
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<{
|
|
2470
2500
|
readonly INITIALIZING: "INITIALIZING";
|
|
2471
2501
|
readonly INITIATED: "INITIATED";
|
|
2472
2502
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -2475,10 +2505,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2475
2505
|
readonly INACTIVE: "INACTIVE";
|
|
2476
2506
|
readonly REVOKED: "REVOKED";
|
|
2477
2507
|
}>; /** ISO-8601 timestamp of creation */
|
|
2478
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
2479
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
2480
|
-
state: z.ZodObject<{
|
|
2481
|
-
/** 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<{
|
|
2482
2512
|
readonly OAUTH1: "OAUTH1";
|
|
2483
2513
|
readonly OAUTH2: "OAUTH2";
|
|
2484
2514
|
readonly API_KEY: "API_KEY";
|
|
@@ -2494,9 +2524,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2494
2524
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2495
2525
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2496
2526
|
}>; /** Connection state values - varies by auth scheme */
|
|
2497
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2498
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2499
|
-
/** 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<{
|
|
2500
2530
|
readonly OAUTH1: "OAUTH1";
|
|
2501
2531
|
readonly OAUTH2: "OAUTH2";
|
|
2502
2532
|
readonly API_KEY: "API_KEY";
|
|
@@ -2512,9 +2542,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2512
2542
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2513
2543
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2514
2544
|
}>; /** Connection state values - varies by auth scheme */
|
|
2515
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2516
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2517
|
-
/** 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<{
|
|
2518
2548
|
readonly OAUTH1: "OAUTH1";
|
|
2519
2549
|
readonly OAUTH2: "OAUTH2";
|
|
2520
2550
|
readonly API_KEY: "API_KEY";
|
|
@@ -2530,34 +2560,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2530
2560
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2531
2561
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2532
2562
|
}>; /** Connection state values - varies by auth scheme */
|
|
2533
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2534
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
2535
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
2536
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
2537
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
2538
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
2539
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
2540
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2541
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
2542
|
-
uuid: z.ZodString;
|
|
2543
|
-
}, "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, {
|
|
2544
2574
|
uuid: string;
|
|
2545
2575
|
labels: string[];
|
|
2546
2576
|
}, {
|
|
2547
2577
|
uuid: string;
|
|
2548
2578
|
labels: string[];
|
|
2549
2579
|
}>>;
|
|
2550
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2551
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
2552
|
-
slug: z.ZodString;
|
|
2553
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2554
|
-
slug: z.ZodString;
|
|
2555
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2556
|
-
slug: z.ZodString;
|
|
2557
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
2558
|
-
auth_config: z.ZodObject<{
|
|
2559
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2560
|
-
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<{
|
|
2561
2591
|
readonly OAUTH1: "OAUTH1";
|
|
2562
2592
|
readonly OAUTH2: "OAUTH2";
|
|
2563
2593
|
readonly API_KEY: "API_KEY";
|
|
@@ -2573,18 +2603,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2573
2603
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2574
2604
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2575
2605
|
}>; /** Whether this auth config is managed by Composio */
|
|
2576
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2577
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2578
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2579
|
-
uuid: z.ZodString;
|
|
2580
|
-
}, "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, {
|
|
2581
2611
|
uuid: string;
|
|
2582
2612
|
}, {
|
|
2583
2613
|
uuid: string;
|
|
2584
2614
|
}>>;
|
|
2585
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2586
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2587
|
-
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<{
|
|
2588
2618
|
readonly OAUTH1: "OAUTH1";
|
|
2589
2619
|
readonly OAUTH2: "OAUTH2";
|
|
2590
2620
|
readonly API_KEY: "API_KEY";
|
|
@@ -2600,18 +2630,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2600
2630
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2601
2631
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2602
2632
|
}>; /** Whether this auth config is managed by Composio */
|
|
2603
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2604
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2605
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2606
|
-
uuid: z.ZodString;
|
|
2607
|
-
}, "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, {
|
|
2608
2638
|
uuid: string;
|
|
2609
2639
|
}, {
|
|
2610
2640
|
uuid: string;
|
|
2611
2641
|
}>>;
|
|
2612
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2613
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2614
|
-
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<{
|
|
2615
2645
|
readonly OAUTH1: "OAUTH1";
|
|
2616
2646
|
readonly OAUTH2: "OAUTH2";
|
|
2617
2647
|
readonly API_KEY: "API_KEY";
|
|
@@ -2627,19 +2657,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2627
2657
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2628
2658
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2629
2659
|
}>; /** Whether this auth config is managed by Composio */
|
|
2630
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2631
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2632
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2633
|
-
uuid: z.ZodString;
|
|
2634
|
-
}, "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, {
|
|
2635
2665
|
uuid: string;
|
|
2636
2666
|
}, {
|
|
2637
2667
|
uuid: string;
|
|
2638
2668
|
}>>;
|
|
2639
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
2640
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
2641
|
-
user_id: z.ZodString; /** Connection status */
|
|
2642
|
-
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<{
|
|
2643
2673
|
readonly INITIALIZING: "INITIALIZING";
|
|
2644
2674
|
readonly INITIATED: "INITIATED";
|
|
2645
2675
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -2648,10 +2678,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2648
2678
|
readonly INACTIVE: "INACTIVE";
|
|
2649
2679
|
readonly REVOKED: "REVOKED";
|
|
2650
2680
|
}>; /** ISO-8601 timestamp of creation */
|
|
2651
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
2652
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
2653
|
-
state: z.ZodObject<{
|
|
2654
|
-
/** 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<{
|
|
2655
2685
|
readonly OAUTH1: "OAUTH1";
|
|
2656
2686
|
readonly OAUTH2: "OAUTH2";
|
|
2657
2687
|
readonly API_KEY: "API_KEY";
|
|
@@ -2667,9 +2697,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2667
2697
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2668
2698
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2669
2699
|
}>; /** Connection state values - varies by auth scheme */
|
|
2670
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2671
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2672
|
-
/** 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<{
|
|
2673
2703
|
readonly OAUTH1: "OAUTH1";
|
|
2674
2704
|
readonly OAUTH2: "OAUTH2";
|
|
2675
2705
|
readonly API_KEY: "API_KEY";
|
|
@@ -2685,9 +2715,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2685
2715
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2686
2716
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2687
2717
|
}>; /** Connection state values - varies by auth scheme */
|
|
2688
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2689
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2690
|
-
/** 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<{
|
|
2691
2721
|
readonly OAUTH1: "OAUTH1";
|
|
2692
2722
|
readonly OAUTH2: "OAUTH2";
|
|
2693
2723
|
readonly API_KEY: "API_KEY";
|
|
@@ -2703,34 +2733,34 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2703
2733
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2704
2734
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2705
2735
|
}>; /** Connection state values - varies by auth scheme */
|
|
2706
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2707
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
2708
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
2709
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
2710
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
2711
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
2712
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
2713
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2714
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
2715
|
-
uuid: z.ZodString;
|
|
2716
|
-
}, "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, {
|
|
2717
2747
|
uuid: string;
|
|
2718
2748
|
labels: string[];
|
|
2719
2749
|
}, {
|
|
2720
2750
|
uuid: string;
|
|
2721
2751
|
labels: string[];
|
|
2722
2752
|
}>>;
|
|
2723
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2724
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
2725
|
-
slug: z.ZodString;
|
|
2726
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2727
|
-
slug: z.ZodString;
|
|
2728
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2729
|
-
slug: z.ZodString;
|
|
2730
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
2731
|
-
auth_config: z.ZodObject<{
|
|
2732
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2733
|
-
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<{
|
|
2734
2764
|
readonly OAUTH1: "OAUTH1";
|
|
2735
2765
|
readonly OAUTH2: "OAUTH2";
|
|
2736
2766
|
readonly API_KEY: "API_KEY";
|
|
@@ -2746,18 +2776,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2746
2776
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2747
2777
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2748
2778
|
}>; /** Whether this auth config is managed by Composio */
|
|
2749
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2750
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2751
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2752
|
-
uuid: z.ZodString;
|
|
2753
|
-
}, "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, {
|
|
2754
2784
|
uuid: string;
|
|
2755
2785
|
}, {
|
|
2756
2786
|
uuid: string;
|
|
2757
2787
|
}>>;
|
|
2758
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2759
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2760
|
-
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<{
|
|
2761
2791
|
readonly OAUTH1: "OAUTH1";
|
|
2762
2792
|
readonly OAUTH2: "OAUTH2";
|
|
2763
2793
|
readonly API_KEY: "API_KEY";
|
|
@@ -2773,18 +2803,18 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2773
2803
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2774
2804
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2775
2805
|
}>; /** Whether this auth config is managed by Composio */
|
|
2776
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2777
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2778
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2779
|
-
uuid: z.ZodString;
|
|
2780
|
-
}, "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, {
|
|
2781
2811
|
uuid: string;
|
|
2782
2812
|
}, {
|
|
2783
2813
|
uuid: string;
|
|
2784
2814
|
}>>;
|
|
2785
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2786
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2787
|
-
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<{
|
|
2788
2818
|
readonly OAUTH1: "OAUTH1";
|
|
2789
2819
|
readonly OAUTH2: "OAUTH2";
|
|
2790
2820
|
readonly API_KEY: "API_KEY";
|
|
@@ -2800,19 +2830,19 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2800
2830
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2801
2831
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2802
2832
|
}>; /** Whether this auth config is managed by Composio */
|
|
2803
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2804
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2805
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2806
|
-
uuid: z.ZodString;
|
|
2807
|
-
}, "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, {
|
|
2808
2838
|
uuid: string;
|
|
2809
2839
|
}, {
|
|
2810
2840
|
uuid: string;
|
|
2811
2841
|
}>>;
|
|
2812
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
2813
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
2814
|
-
user_id: z.ZodString; /** Connection status */
|
|
2815
|
-
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<{
|
|
2816
2846
|
readonly INITIALIZING: "INITIALIZING";
|
|
2817
2847
|
readonly INITIATED: "INITIATED";
|
|
2818
2848
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -2821,10 +2851,10 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2821
2851
|
readonly INACTIVE: "INACTIVE";
|
|
2822
2852
|
readonly REVOKED: "REVOKED";
|
|
2823
2853
|
}>; /** ISO-8601 timestamp of creation */
|
|
2824
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
2825
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
2826
|
-
state: z.ZodObject<{
|
|
2827
|
-
/** 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<{
|
|
2828
2858
|
readonly OAUTH1: "OAUTH1";
|
|
2829
2859
|
readonly OAUTH2: "OAUTH2";
|
|
2830
2860
|
readonly API_KEY: "API_KEY";
|
|
@@ -2840,9 +2870,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2840
2870
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2841
2871
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2842
2872
|
}>; /** Connection state values - varies by auth scheme */
|
|
2843
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2844
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2845
|
-
/** 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<{
|
|
2846
2876
|
readonly OAUTH1: "OAUTH1";
|
|
2847
2877
|
readonly OAUTH2: "OAUTH2";
|
|
2848
2878
|
readonly API_KEY: "API_KEY";
|
|
@@ -2858,9 +2888,9 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2858
2888
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2859
2889
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2860
2890
|
}>; /** Connection state values - varies by auth scheme */
|
|
2861
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2862
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2863
|
-
/** 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<{
|
|
2864
2894
|
readonly OAUTH1: "OAUTH1";
|
|
2865
2895
|
readonly OAUTH2: "OAUTH2";
|
|
2866
2896
|
readonly API_KEY: "API_KEY";
|
|
@@ -2876,36 +2906,36 @@ declare const ConnectionExpiredEventSchema: z.ZodObject<{
|
|
|
2876
2906
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2877
2907
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2878
2908
|
}>; /** Connection state values - varies by auth scheme */
|
|
2879
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2880
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
2881
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
2882
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
2883
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
2884
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
2885
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
2886
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2887
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
2888
|
-
uuid: z.ZodString;
|
|
2889
|
-
}, "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, {
|
|
2890
2920
|
uuid: string;
|
|
2891
2921
|
labels: string[];
|
|
2892
2922
|
}, {
|
|
2893
2923
|
uuid: string;
|
|
2894
2924
|
labels: string[];
|
|
2895
2925
|
}>>;
|
|
2896
|
-
}, z.ZodTypeAny, "passthrough">>; /** Event metadata */
|
|
2897
|
-
metadata: z.ZodObject<{
|
|
2898
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
2899
|
-
org_id: z.ZodString;
|
|
2900
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2901
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
2902
|
-
org_id: z.ZodString;
|
|
2903
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2904
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
2905
|
-
org_id: z.ZodString;
|
|
2906
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2907
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2908
|
-
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>;
|
|
2909
2939
|
/**
|
|
2910
2940
|
* Union of all typed webhook event schemas.
|
|
2911
2941
|
* Extend this as new event types are added.
|
|
@@ -2917,21 +2947,21 @@ type ConnectionExpiredEvent = z.infer<typeof ConnectionExpiredEventSchema>;
|
|
|
2917
2947
|
* Trigger events (composio.trigger.message) are handled through the
|
|
2918
2948
|
* WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
|
|
2919
2949
|
*/
|
|
2920
|
-
declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2921
|
-
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
|
|
2922
|
-
timestamp: z.ZodString; /** Event type identifier */
|
|
2923
|
-
type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
|
|
2924
|
-
data: z.ZodObject<{
|
|
2925
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
2926
|
-
slug: z.ZodString;
|
|
2927
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2928
|
-
slug: z.ZodString;
|
|
2929
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2930
|
-
slug: z.ZodString;
|
|
2931
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
2932
|
-
auth_config: z.ZodObject<{
|
|
2933
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2934
|
-
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<{
|
|
2935
2965
|
readonly OAUTH1: "OAUTH1";
|
|
2936
2966
|
readonly OAUTH2: "OAUTH2";
|
|
2937
2967
|
readonly API_KEY: "API_KEY";
|
|
@@ -2947,18 +2977,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2947
2977
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2948
2978
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2949
2979
|
}>; /** Whether this auth config is managed by Composio */
|
|
2950
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2951
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2952
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2953
|
-
uuid: z.ZodString;
|
|
2954
|
-
}, "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, {
|
|
2955
2985
|
uuid: string;
|
|
2956
2986
|
}, {
|
|
2957
2987
|
uuid: string;
|
|
2958
2988
|
}>>;
|
|
2959
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2960
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2961
|
-
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<{
|
|
2962
2992
|
readonly OAUTH1: "OAUTH1";
|
|
2963
2993
|
readonly OAUTH2: "OAUTH2";
|
|
2964
2994
|
readonly API_KEY: "API_KEY";
|
|
@@ -2974,18 +3004,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2974
3004
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2975
3005
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2976
3006
|
}>; /** Whether this auth config is managed by Composio */
|
|
2977
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
2978
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
2979
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
2980
|
-
uuid: z.ZodString;
|
|
2981
|
-
}, "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, {
|
|
2982
3012
|
uuid: string;
|
|
2983
3013
|
}, {
|
|
2984
3014
|
uuid: string;
|
|
2985
3015
|
}>>;
|
|
2986
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2987
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
2988
|
-
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<{
|
|
2989
3019
|
readonly OAUTH1: "OAUTH1";
|
|
2990
3020
|
readonly OAUTH2: "OAUTH2";
|
|
2991
3021
|
readonly API_KEY: "API_KEY";
|
|
@@ -3001,19 +3031,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3001
3031
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3002
3032
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3003
3033
|
}>; /** Whether this auth config is managed by Composio */
|
|
3004
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3005
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3006
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3007
|
-
uuid: z.ZodString;
|
|
3008
|
-
}, "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, {
|
|
3009
3039
|
uuid: string;
|
|
3010
3040
|
}, {
|
|
3011
3041
|
uuid: string;
|
|
3012
3042
|
}>>;
|
|
3013
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
3014
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
3015
|
-
user_id: z.ZodString; /** Connection status */
|
|
3016
|
-
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<{
|
|
3017
3047
|
readonly INITIALIZING: "INITIALIZING";
|
|
3018
3048
|
readonly INITIATED: "INITIATED";
|
|
3019
3049
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -3022,10 +3052,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3022
3052
|
readonly INACTIVE: "INACTIVE";
|
|
3023
3053
|
readonly REVOKED: "REVOKED";
|
|
3024
3054
|
}>; /** ISO-8601 timestamp of creation */
|
|
3025
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
3026
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
3027
|
-
state: z.ZodObject<{
|
|
3028
|
-
/** 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<{
|
|
3029
3059
|
readonly OAUTH1: "OAUTH1";
|
|
3030
3060
|
readonly OAUTH2: "OAUTH2";
|
|
3031
3061
|
readonly API_KEY: "API_KEY";
|
|
@@ -3041,9 +3071,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3041
3071
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3042
3072
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3043
3073
|
}>; /** Connection state values - varies by auth scheme */
|
|
3044
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3045
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3046
|
-
/** 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<{
|
|
3047
3077
|
readonly OAUTH1: "OAUTH1";
|
|
3048
3078
|
readonly OAUTH2: "OAUTH2";
|
|
3049
3079
|
readonly API_KEY: "API_KEY";
|
|
@@ -3059,9 +3089,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3059
3089
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3060
3090
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3061
3091
|
}>; /** Connection state values - varies by auth scheme */
|
|
3062
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3063
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3064
|
-
/** 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<{
|
|
3065
3095
|
readonly OAUTH1: "OAUTH1";
|
|
3066
3096
|
readonly OAUTH2: "OAUTH2";
|
|
3067
3097
|
readonly API_KEY: "API_KEY";
|
|
@@ -3077,34 +3107,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3077
3107
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3078
3108
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3079
3109
|
}>; /** Connection state values - varies by auth scheme */
|
|
3080
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3081
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
3082
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
3083
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
3084
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
3085
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
3086
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
3087
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3088
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
3089
|
-
uuid: z.ZodString;
|
|
3090
|
-
}, "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, {
|
|
3091
3121
|
uuid: string;
|
|
3092
3122
|
labels: string[];
|
|
3093
3123
|
}, {
|
|
3094
3124
|
uuid: string;
|
|
3095
3125
|
labels: string[];
|
|
3096
3126
|
}>>;
|
|
3097
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3098
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
3099
|
-
slug: z.ZodString;
|
|
3100
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3101
|
-
slug: z.ZodString;
|
|
3102
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3103
|
-
slug: z.ZodString;
|
|
3104
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
3105
|
-
auth_config: z.ZodObject<{
|
|
3106
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3107
|
-
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<{
|
|
3108
3138
|
readonly OAUTH1: "OAUTH1";
|
|
3109
3139
|
readonly OAUTH2: "OAUTH2";
|
|
3110
3140
|
readonly API_KEY: "API_KEY";
|
|
@@ -3120,18 +3150,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3120
3150
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3121
3151
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3122
3152
|
}>; /** Whether this auth config is managed by Composio */
|
|
3123
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3124
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3125
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3126
|
-
uuid: z.ZodString;
|
|
3127
|
-
}, "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, {
|
|
3128
3158
|
uuid: string;
|
|
3129
3159
|
}, {
|
|
3130
3160
|
uuid: string;
|
|
3131
3161
|
}>>;
|
|
3132
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3133
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3134
|
-
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<{
|
|
3135
3165
|
readonly OAUTH1: "OAUTH1";
|
|
3136
3166
|
readonly OAUTH2: "OAUTH2";
|
|
3137
3167
|
readonly API_KEY: "API_KEY";
|
|
@@ -3147,18 +3177,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3147
3177
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3148
3178
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3149
3179
|
}>; /** Whether this auth config is managed by Composio */
|
|
3150
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3151
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3152
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3153
|
-
uuid: z.ZodString;
|
|
3154
|
-
}, "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, {
|
|
3155
3185
|
uuid: string;
|
|
3156
3186
|
}, {
|
|
3157
3187
|
uuid: string;
|
|
3158
3188
|
}>>;
|
|
3159
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3160
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3161
|
-
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<{
|
|
3162
3192
|
readonly OAUTH1: "OAUTH1";
|
|
3163
3193
|
readonly OAUTH2: "OAUTH2";
|
|
3164
3194
|
readonly API_KEY: "API_KEY";
|
|
@@ -3174,19 +3204,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3174
3204
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3175
3205
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3176
3206
|
}>; /** Whether this auth config is managed by Composio */
|
|
3177
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3178
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3179
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3180
|
-
uuid: z.ZodString;
|
|
3181
|
-
}, "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, {
|
|
3182
3212
|
uuid: string;
|
|
3183
3213
|
}, {
|
|
3184
3214
|
uuid: string;
|
|
3185
3215
|
}>>;
|
|
3186
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
3187
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
3188
|
-
user_id: z.ZodString; /** Connection status */
|
|
3189
|
-
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<{
|
|
3190
3220
|
readonly INITIALIZING: "INITIALIZING";
|
|
3191
3221
|
readonly INITIATED: "INITIATED";
|
|
3192
3222
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -3195,10 +3225,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3195
3225
|
readonly INACTIVE: "INACTIVE";
|
|
3196
3226
|
readonly REVOKED: "REVOKED";
|
|
3197
3227
|
}>; /** ISO-8601 timestamp of creation */
|
|
3198
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
3199
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
3200
|
-
state: z.ZodObject<{
|
|
3201
|
-
/** 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<{
|
|
3202
3232
|
readonly OAUTH1: "OAUTH1";
|
|
3203
3233
|
readonly OAUTH2: "OAUTH2";
|
|
3204
3234
|
readonly API_KEY: "API_KEY";
|
|
@@ -3214,9 +3244,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3214
3244
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3215
3245
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3216
3246
|
}>; /** Connection state values - varies by auth scheme */
|
|
3217
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3218
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3219
|
-
/** 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<{
|
|
3220
3250
|
readonly OAUTH1: "OAUTH1";
|
|
3221
3251
|
readonly OAUTH2: "OAUTH2";
|
|
3222
3252
|
readonly API_KEY: "API_KEY";
|
|
@@ -3232,9 +3262,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3232
3262
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3233
3263
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3234
3264
|
}>; /** Connection state values - varies by auth scheme */
|
|
3235
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3236
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3237
|
-
/** 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<{
|
|
3238
3268
|
readonly OAUTH1: "OAUTH1";
|
|
3239
3269
|
readonly OAUTH2: "OAUTH2";
|
|
3240
3270
|
readonly API_KEY: "API_KEY";
|
|
@@ -3250,34 +3280,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3250
3280
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3251
3281
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3252
3282
|
}>; /** Connection state values - varies by auth scheme */
|
|
3253
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3254
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
3255
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
3256
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
3257
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
3258
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
3259
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
3260
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3261
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
3262
|
-
uuid: z.ZodString;
|
|
3263
|
-
}, "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, {
|
|
3264
3294
|
uuid: string;
|
|
3265
3295
|
labels: string[];
|
|
3266
3296
|
}, {
|
|
3267
3297
|
uuid: string;
|
|
3268
3298
|
labels: string[];
|
|
3269
3299
|
}>>;
|
|
3270
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3271
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
3272
|
-
slug: z.ZodString;
|
|
3273
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3274
|
-
slug: z.ZodString;
|
|
3275
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3276
|
-
slug: z.ZodString;
|
|
3277
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
3278
|
-
auth_config: z.ZodObject<{
|
|
3279
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3280
|
-
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<{
|
|
3281
3311
|
readonly OAUTH1: "OAUTH1";
|
|
3282
3312
|
readonly OAUTH2: "OAUTH2";
|
|
3283
3313
|
readonly API_KEY: "API_KEY";
|
|
@@ -3293,18 +3323,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3293
3323
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3294
3324
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3295
3325
|
}>; /** Whether this auth config is managed by Composio */
|
|
3296
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3297
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3298
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3299
|
-
uuid: z.ZodString;
|
|
3300
|
-
}, "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, {
|
|
3301
3331
|
uuid: string;
|
|
3302
3332
|
}, {
|
|
3303
3333
|
uuid: string;
|
|
3304
3334
|
}>>;
|
|
3305
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3306
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3307
|
-
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<{
|
|
3308
3338
|
readonly OAUTH1: "OAUTH1";
|
|
3309
3339
|
readonly OAUTH2: "OAUTH2";
|
|
3310
3340
|
readonly API_KEY: "API_KEY";
|
|
@@ -3320,18 +3350,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3320
3350
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3321
3351
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3322
3352
|
}>; /** Whether this auth config is managed by Composio */
|
|
3323
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3324
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3325
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3326
|
-
uuid: z.ZodString;
|
|
3327
|
-
}, "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, {
|
|
3328
3358
|
uuid: string;
|
|
3329
3359
|
}, {
|
|
3330
3360
|
uuid: string;
|
|
3331
3361
|
}>>;
|
|
3332
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3333
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3334
|
-
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<{
|
|
3335
3365
|
readonly OAUTH1: "OAUTH1";
|
|
3336
3366
|
readonly OAUTH2: "OAUTH2";
|
|
3337
3367
|
readonly API_KEY: "API_KEY";
|
|
@@ -3347,19 +3377,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3347
3377
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3348
3378
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3349
3379
|
}>; /** Whether this auth config is managed by Composio */
|
|
3350
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3351
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3352
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3353
|
-
uuid: z.ZodString;
|
|
3354
|
-
}, "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, {
|
|
3355
3385
|
uuid: string;
|
|
3356
3386
|
}, {
|
|
3357
3387
|
uuid: string;
|
|
3358
3388
|
}>>;
|
|
3359
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
3360
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
3361
|
-
user_id: z.ZodString; /** Connection status */
|
|
3362
|
-
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<{
|
|
3363
3393
|
readonly INITIALIZING: "INITIALIZING";
|
|
3364
3394
|
readonly INITIATED: "INITIATED";
|
|
3365
3395
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -3368,10 +3398,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3368
3398
|
readonly INACTIVE: "INACTIVE";
|
|
3369
3399
|
readonly REVOKED: "REVOKED";
|
|
3370
3400
|
}>; /** ISO-8601 timestamp of creation */
|
|
3371
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
3372
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
3373
|
-
state: z.ZodObject<{
|
|
3374
|
-
/** 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<{
|
|
3375
3405
|
readonly OAUTH1: "OAUTH1";
|
|
3376
3406
|
readonly OAUTH2: "OAUTH2";
|
|
3377
3407
|
readonly API_KEY: "API_KEY";
|
|
@@ -3387,9 +3417,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3387
3417
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3388
3418
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3389
3419
|
}>; /** Connection state values - varies by auth scheme */
|
|
3390
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3391
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3392
|
-
/** 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<{
|
|
3393
3423
|
readonly OAUTH1: "OAUTH1";
|
|
3394
3424
|
readonly OAUTH2: "OAUTH2";
|
|
3395
3425
|
readonly API_KEY: "API_KEY";
|
|
@@ -3405,9 +3435,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3405
3435
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3406
3436
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3407
3437
|
}>; /** Connection state values - varies by auth scheme */
|
|
3408
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3409
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3410
|
-
/** 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<{
|
|
3411
3441
|
readonly OAUTH1: "OAUTH1";
|
|
3412
3442
|
readonly OAUTH2: "OAUTH2";
|
|
3413
3443
|
readonly API_KEY: "API_KEY";
|
|
@@ -3423,49 +3453,49 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3423
3453
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3424
3454
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3425
3455
|
}>; /** Connection state values - varies by auth scheme */
|
|
3426
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3427
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
3428
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
3429
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
3430
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
3431
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
3432
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
3433
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3434
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
3435
|
-
uuid: z.ZodString;
|
|
3436
|
-
}, "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, {
|
|
3437
3467
|
uuid: string;
|
|
3438
3468
|
labels: string[];
|
|
3439
3469
|
}, {
|
|
3440
3470
|
uuid: string;
|
|
3441
3471
|
labels: string[];
|
|
3442
3472
|
}>>;
|
|
3443
|
-
}, z.ZodTypeAny, "passthrough">>; /** Event metadata */
|
|
3444
|
-
metadata: z.ZodObject<{
|
|
3445
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
3446
|
-
org_id: z.ZodString;
|
|
3447
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3448
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
3449
|
-
org_id: z.ZodString;
|
|
3450
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3451
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
3452
|
-
org_id: z.ZodString;
|
|
3453
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
3454
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3455
|
-
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
|
|
3456
|
-
timestamp: z.ZodString; /** Event type identifier */
|
|
3457
|
-
type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
|
|
3458
|
-
data: z.ZodObject<{
|
|
3459
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
3460
|
-
slug: z.ZodString;
|
|
3461
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3462
|
-
slug: z.ZodString;
|
|
3463
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3464
|
-
slug: z.ZodString;
|
|
3465
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
3466
|
-
auth_config: z.ZodObject<{
|
|
3467
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3468
|
-
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<{
|
|
3469
3499
|
readonly OAUTH1: "OAUTH1";
|
|
3470
3500
|
readonly OAUTH2: "OAUTH2";
|
|
3471
3501
|
readonly API_KEY: "API_KEY";
|
|
@@ -3481,18 +3511,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3481
3511
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3482
3512
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3483
3513
|
}>; /** Whether this auth config is managed by Composio */
|
|
3484
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3485
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3486
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3487
|
-
uuid: z.ZodString;
|
|
3488
|
-
}, "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, {
|
|
3489
3519
|
uuid: string;
|
|
3490
3520
|
}, {
|
|
3491
3521
|
uuid: string;
|
|
3492
3522
|
}>>;
|
|
3493
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3494
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3495
|
-
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<{
|
|
3496
3526
|
readonly OAUTH1: "OAUTH1";
|
|
3497
3527
|
readonly OAUTH2: "OAUTH2";
|
|
3498
3528
|
readonly API_KEY: "API_KEY";
|
|
@@ -3508,18 +3538,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3508
3538
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3509
3539
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3510
3540
|
}>; /** Whether this auth config is managed by Composio */
|
|
3511
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3512
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3513
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3514
|
-
uuid: z.ZodString;
|
|
3515
|
-
}, "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, {
|
|
3516
3546
|
uuid: string;
|
|
3517
3547
|
}, {
|
|
3518
3548
|
uuid: string;
|
|
3519
3549
|
}>>;
|
|
3520
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3521
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3522
|
-
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<{
|
|
3523
3553
|
readonly OAUTH1: "OAUTH1";
|
|
3524
3554
|
readonly OAUTH2: "OAUTH2";
|
|
3525
3555
|
readonly API_KEY: "API_KEY";
|
|
@@ -3535,19 +3565,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3535
3565
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3536
3566
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3537
3567
|
}>; /** Whether this auth config is managed by Composio */
|
|
3538
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3539
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3540
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3541
|
-
uuid: z.ZodString;
|
|
3542
|
-
}, "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, {
|
|
3543
3573
|
uuid: string;
|
|
3544
3574
|
}, {
|
|
3545
3575
|
uuid: string;
|
|
3546
3576
|
}>>;
|
|
3547
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
3548
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
3549
|
-
user_id: z.ZodString; /** Connection status */
|
|
3550
|
-
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<{
|
|
3551
3581
|
readonly INITIALIZING: "INITIALIZING";
|
|
3552
3582
|
readonly INITIATED: "INITIATED";
|
|
3553
3583
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -3556,10 +3586,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3556
3586
|
readonly INACTIVE: "INACTIVE";
|
|
3557
3587
|
readonly REVOKED: "REVOKED";
|
|
3558
3588
|
}>; /** ISO-8601 timestamp of creation */
|
|
3559
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
3560
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
3561
|
-
state: z.ZodObject<{
|
|
3562
|
-
/** 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<{
|
|
3563
3593
|
readonly OAUTH1: "OAUTH1";
|
|
3564
3594
|
readonly OAUTH2: "OAUTH2";
|
|
3565
3595
|
readonly API_KEY: "API_KEY";
|
|
@@ -3575,9 +3605,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3575
3605
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3576
3606
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3577
3607
|
}>; /** Connection state values - varies by auth scheme */
|
|
3578
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3579
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3580
|
-
/** 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<{
|
|
3581
3611
|
readonly OAUTH1: "OAUTH1";
|
|
3582
3612
|
readonly OAUTH2: "OAUTH2";
|
|
3583
3613
|
readonly API_KEY: "API_KEY";
|
|
@@ -3593,9 +3623,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3593
3623
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3594
3624
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3595
3625
|
}>; /** Connection state values - varies by auth scheme */
|
|
3596
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3597
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3598
|
-
/** 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<{
|
|
3599
3629
|
readonly OAUTH1: "OAUTH1";
|
|
3600
3630
|
readonly OAUTH2: "OAUTH2";
|
|
3601
3631
|
readonly API_KEY: "API_KEY";
|
|
@@ -3611,34 +3641,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3611
3641
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3612
3642
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3613
3643
|
}>; /** Connection state values - varies by auth scheme */
|
|
3614
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3615
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
3616
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
3617
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
3618
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
3619
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
3620
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
3621
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3622
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
3623
|
-
uuid: z.ZodString;
|
|
3624
|
-
}, "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, {
|
|
3625
3655
|
uuid: string;
|
|
3626
3656
|
labels: string[];
|
|
3627
3657
|
}, {
|
|
3628
3658
|
uuid: string;
|
|
3629
3659
|
labels: string[];
|
|
3630
3660
|
}>>;
|
|
3631
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3632
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
3633
|
-
slug: z.ZodString;
|
|
3634
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3635
|
-
slug: z.ZodString;
|
|
3636
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3637
|
-
slug: z.ZodString;
|
|
3638
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
3639
|
-
auth_config: z.ZodObject<{
|
|
3640
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3641
|
-
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<{
|
|
3642
3672
|
readonly OAUTH1: "OAUTH1";
|
|
3643
3673
|
readonly OAUTH2: "OAUTH2";
|
|
3644
3674
|
readonly API_KEY: "API_KEY";
|
|
@@ -3654,18 +3684,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3654
3684
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3655
3685
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3656
3686
|
}>; /** Whether this auth config is managed by Composio */
|
|
3657
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3658
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3659
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3660
|
-
uuid: z.ZodString;
|
|
3661
|
-
}, "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, {
|
|
3662
3692
|
uuid: string;
|
|
3663
3693
|
}, {
|
|
3664
3694
|
uuid: string;
|
|
3665
3695
|
}>>;
|
|
3666
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3667
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3668
|
-
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<{
|
|
3669
3699
|
readonly OAUTH1: "OAUTH1";
|
|
3670
3700
|
readonly OAUTH2: "OAUTH2";
|
|
3671
3701
|
readonly API_KEY: "API_KEY";
|
|
@@ -3681,18 +3711,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3681
3711
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3682
3712
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3683
3713
|
}>; /** Whether this auth config is managed by Composio */
|
|
3684
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3685
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3686
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3687
|
-
uuid: z.ZodString;
|
|
3688
|
-
}, "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, {
|
|
3689
3719
|
uuid: string;
|
|
3690
3720
|
}, {
|
|
3691
3721
|
uuid: string;
|
|
3692
3722
|
}>>;
|
|
3693
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3694
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3695
|
-
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<{
|
|
3696
3726
|
readonly OAUTH1: "OAUTH1";
|
|
3697
3727
|
readonly OAUTH2: "OAUTH2";
|
|
3698
3728
|
readonly API_KEY: "API_KEY";
|
|
@@ -3708,19 +3738,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3708
3738
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3709
3739
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3710
3740
|
}>; /** Whether this auth config is managed by Composio */
|
|
3711
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3712
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3713
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3714
|
-
uuid: z.ZodString;
|
|
3715
|
-
}, "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, {
|
|
3716
3746
|
uuid: string;
|
|
3717
3747
|
}, {
|
|
3718
3748
|
uuid: string;
|
|
3719
3749
|
}>>;
|
|
3720
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
3721
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
3722
|
-
user_id: z.ZodString; /** Connection status */
|
|
3723
|
-
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<{
|
|
3724
3754
|
readonly INITIALIZING: "INITIALIZING";
|
|
3725
3755
|
readonly INITIATED: "INITIATED";
|
|
3726
3756
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -3729,10 +3759,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3729
3759
|
readonly INACTIVE: "INACTIVE";
|
|
3730
3760
|
readonly REVOKED: "REVOKED";
|
|
3731
3761
|
}>; /** ISO-8601 timestamp of creation */
|
|
3732
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
3733
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
3734
|
-
state: z.ZodObject<{
|
|
3735
|
-
/** 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<{
|
|
3736
3766
|
readonly OAUTH1: "OAUTH1";
|
|
3737
3767
|
readonly OAUTH2: "OAUTH2";
|
|
3738
3768
|
readonly API_KEY: "API_KEY";
|
|
@@ -3748,9 +3778,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3748
3778
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3749
3779
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3750
3780
|
}>; /** Connection state values - varies by auth scheme */
|
|
3751
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3752
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3753
|
-
/** 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<{
|
|
3754
3784
|
readonly OAUTH1: "OAUTH1";
|
|
3755
3785
|
readonly OAUTH2: "OAUTH2";
|
|
3756
3786
|
readonly API_KEY: "API_KEY";
|
|
@@ -3766,9 +3796,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3766
3796
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3767
3797
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3768
3798
|
}>; /** Connection state values - varies by auth scheme */
|
|
3769
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3770
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3771
|
-
/** 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<{
|
|
3772
3802
|
readonly OAUTH1: "OAUTH1";
|
|
3773
3803
|
readonly OAUTH2: "OAUTH2";
|
|
3774
3804
|
readonly API_KEY: "API_KEY";
|
|
@@ -3784,34 +3814,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3784
3814
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3785
3815
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3786
3816
|
}>; /** Connection state values - varies by auth scheme */
|
|
3787
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3788
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
3789
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
3790
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
3791
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
3792
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
3793
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
3794
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3795
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
3796
|
-
uuid: z.ZodString;
|
|
3797
|
-
}, "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, {
|
|
3798
3828
|
uuid: string;
|
|
3799
3829
|
labels: string[];
|
|
3800
3830
|
}, {
|
|
3801
3831
|
uuid: string;
|
|
3802
3832
|
labels: string[];
|
|
3803
3833
|
}>>;
|
|
3804
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3805
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
3806
|
-
slug: z.ZodString;
|
|
3807
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3808
|
-
slug: z.ZodString;
|
|
3809
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3810
|
-
slug: z.ZodString;
|
|
3811
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
3812
|
-
auth_config: z.ZodObject<{
|
|
3813
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3814
|
-
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<{
|
|
3815
3845
|
readonly OAUTH1: "OAUTH1";
|
|
3816
3846
|
readonly OAUTH2: "OAUTH2";
|
|
3817
3847
|
readonly API_KEY: "API_KEY";
|
|
@@ -3827,18 +3857,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3827
3857
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3828
3858
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3829
3859
|
}>; /** Whether this auth config is managed by Composio */
|
|
3830
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3831
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3832
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3833
|
-
uuid: z.ZodString;
|
|
3834
|
-
}, "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, {
|
|
3835
3865
|
uuid: string;
|
|
3836
3866
|
}, {
|
|
3837
3867
|
uuid: string;
|
|
3838
3868
|
}>>;
|
|
3839
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3840
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3841
|
-
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<{
|
|
3842
3872
|
readonly OAUTH1: "OAUTH1";
|
|
3843
3873
|
readonly OAUTH2: "OAUTH2";
|
|
3844
3874
|
readonly API_KEY: "API_KEY";
|
|
@@ -3854,18 +3884,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3854
3884
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3855
3885
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3856
3886
|
}>; /** Whether this auth config is managed by Composio */
|
|
3857
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3858
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3859
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3860
|
-
uuid: z.ZodString;
|
|
3861
|
-
}, "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, {
|
|
3862
3892
|
uuid: string;
|
|
3863
3893
|
}, {
|
|
3864
3894
|
uuid: string;
|
|
3865
3895
|
}>>;
|
|
3866
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3867
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
3868
|
-
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<{
|
|
3869
3899
|
readonly OAUTH1: "OAUTH1";
|
|
3870
3900
|
readonly OAUTH2: "OAUTH2";
|
|
3871
3901
|
readonly API_KEY: "API_KEY";
|
|
@@ -3881,19 +3911,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3881
3911
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3882
3912
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3883
3913
|
}>; /** Whether this auth config is managed by Composio */
|
|
3884
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
3885
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
3886
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3887
|
-
uuid: z.ZodString;
|
|
3888
|
-
}, "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, {
|
|
3889
3919
|
uuid: string;
|
|
3890
3920
|
}, {
|
|
3891
3921
|
uuid: string;
|
|
3892
3922
|
}>>;
|
|
3893
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
3894
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
3895
|
-
user_id: z.ZodString; /** Connection status */
|
|
3896
|
-
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<{
|
|
3897
3927
|
readonly INITIALIZING: "INITIALIZING";
|
|
3898
3928
|
readonly INITIATED: "INITIATED";
|
|
3899
3929
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -3902,10 +3932,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3902
3932
|
readonly INACTIVE: "INACTIVE";
|
|
3903
3933
|
readonly REVOKED: "REVOKED";
|
|
3904
3934
|
}>; /** ISO-8601 timestamp of creation */
|
|
3905
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
3906
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
3907
|
-
state: z.ZodObject<{
|
|
3908
|
-
/** 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<{
|
|
3909
3939
|
readonly OAUTH1: "OAUTH1";
|
|
3910
3940
|
readonly OAUTH2: "OAUTH2";
|
|
3911
3941
|
readonly API_KEY: "API_KEY";
|
|
@@ -3921,9 +3951,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3921
3951
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3922
3952
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3923
3953
|
}>; /** Connection state values - varies by auth scheme */
|
|
3924
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3925
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3926
|
-
/** 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<{
|
|
3927
3957
|
readonly OAUTH1: "OAUTH1";
|
|
3928
3958
|
readonly OAUTH2: "OAUTH2";
|
|
3929
3959
|
readonly API_KEY: "API_KEY";
|
|
@@ -3939,9 +3969,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3939
3969
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3940
3970
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3941
3971
|
}>; /** Connection state values - varies by auth scheme */
|
|
3942
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3943
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3944
|
-
/** 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<{
|
|
3945
3975
|
readonly OAUTH1: "OAUTH1";
|
|
3946
3976
|
readonly OAUTH2: "OAUTH2";
|
|
3947
3977
|
readonly API_KEY: "API_KEY";
|
|
@@ -3957,49 +3987,49 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3957
3987
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
3958
3988
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
3959
3989
|
}>; /** Connection state values - varies by auth scheme */
|
|
3960
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3961
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
3962
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
3963
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
3964
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
3965
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
3966
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
3967
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
3968
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
3969
|
-
uuid: z.ZodString;
|
|
3970
|
-
}, "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, {
|
|
3971
4001
|
uuid: string;
|
|
3972
4002
|
labels: string[];
|
|
3973
4003
|
}, {
|
|
3974
4004
|
uuid: string;
|
|
3975
4005
|
labels: string[];
|
|
3976
4006
|
}>>;
|
|
3977
|
-
}, z.ZodTypeAny, "passthrough">>; /** Event metadata */
|
|
3978
|
-
metadata: z.ZodObject<{
|
|
3979
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
3980
|
-
org_id: z.ZodString;
|
|
3981
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3982
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
3983
|
-
org_id: z.ZodString;
|
|
3984
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3985
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
3986
|
-
org_id: z.ZodString;
|
|
3987
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
3988
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3989
|
-
/** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */id: z.ZodString; /** ISO-8601 timestamp of when the event was emitted */
|
|
3990
|
-
timestamp: z.ZodString; /** Event type identifier */
|
|
3991
|
-
type: z.ZodLiteral<"composio.connected_account.expired">; /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
|
|
3992
|
-
data: z.ZodObject<{
|
|
3993
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
3994
|
-
slug: z.ZodString;
|
|
3995
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3996
|
-
slug: z.ZodString;
|
|
3997
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3998
|
-
slug: z.ZodString;
|
|
3999
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
4000
|
-
auth_config: z.ZodObject<{
|
|
4001
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4002
|
-
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<{
|
|
4003
4033
|
readonly OAUTH1: "OAUTH1";
|
|
4004
4034
|
readonly OAUTH2: "OAUTH2";
|
|
4005
4035
|
readonly API_KEY: "API_KEY";
|
|
@@ -4015,18 +4045,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4015
4045
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4016
4046
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4017
4047
|
}>; /** Whether this auth config is managed by Composio */
|
|
4018
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4019
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4020
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4021
|
-
uuid: z.ZodString;
|
|
4022
|
-
}, "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, {
|
|
4023
4053
|
uuid: string;
|
|
4024
4054
|
}, {
|
|
4025
4055
|
uuid: string;
|
|
4026
4056
|
}>>;
|
|
4027
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4028
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4029
|
-
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<{
|
|
4030
4060
|
readonly OAUTH1: "OAUTH1";
|
|
4031
4061
|
readonly OAUTH2: "OAUTH2";
|
|
4032
4062
|
readonly API_KEY: "API_KEY";
|
|
@@ -4042,18 +4072,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4042
4072
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4043
4073
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4044
4074
|
}>; /** Whether this auth config is managed by Composio */
|
|
4045
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4046
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4047
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4048
|
-
uuid: z.ZodString;
|
|
4049
|
-
}, "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, {
|
|
4050
4080
|
uuid: string;
|
|
4051
4081
|
}, {
|
|
4052
4082
|
uuid: string;
|
|
4053
4083
|
}>>;
|
|
4054
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4055
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4056
|
-
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<{
|
|
4057
4087
|
readonly OAUTH1: "OAUTH1";
|
|
4058
4088
|
readonly OAUTH2: "OAUTH2";
|
|
4059
4089
|
readonly API_KEY: "API_KEY";
|
|
@@ -4069,19 +4099,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4069
4099
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4070
4100
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4071
4101
|
}>; /** Whether this auth config is managed by Composio */
|
|
4072
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4073
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4074
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4075
|
-
uuid: z.ZodString;
|
|
4076
|
-
}, "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, {
|
|
4077
4107
|
uuid: string;
|
|
4078
4108
|
}, {
|
|
4079
4109
|
uuid: string;
|
|
4080
4110
|
}>>;
|
|
4081
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
4082
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
4083
|
-
user_id: z.ZodString; /** Connection status */
|
|
4084
|
-
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<{
|
|
4085
4115
|
readonly INITIALIZING: "INITIALIZING";
|
|
4086
4116
|
readonly INITIATED: "INITIATED";
|
|
4087
4117
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -4090,10 +4120,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4090
4120
|
readonly INACTIVE: "INACTIVE";
|
|
4091
4121
|
readonly REVOKED: "REVOKED";
|
|
4092
4122
|
}>; /** ISO-8601 timestamp of creation */
|
|
4093
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
4094
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
4095
|
-
state: z.ZodObject<{
|
|
4096
|
-
/** 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<{
|
|
4097
4127
|
readonly OAUTH1: "OAUTH1";
|
|
4098
4128
|
readonly OAUTH2: "OAUTH2";
|
|
4099
4129
|
readonly API_KEY: "API_KEY";
|
|
@@ -4109,9 +4139,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4109
4139
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4110
4140
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4111
4141
|
}>; /** Connection state values - varies by auth scheme */
|
|
4112
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4113
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4114
|
-
/** 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<{
|
|
4115
4145
|
readonly OAUTH1: "OAUTH1";
|
|
4116
4146
|
readonly OAUTH2: "OAUTH2";
|
|
4117
4147
|
readonly API_KEY: "API_KEY";
|
|
@@ -4127,9 +4157,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4127
4157
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4128
4158
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4129
4159
|
}>; /** Connection state values - varies by auth scheme */
|
|
4130
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4131
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4132
|
-
/** 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<{
|
|
4133
4163
|
readonly OAUTH1: "OAUTH1";
|
|
4134
4164
|
readonly OAUTH2: "OAUTH2";
|
|
4135
4165
|
readonly API_KEY: "API_KEY";
|
|
@@ -4145,34 +4175,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4145
4175
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4146
4176
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4147
4177
|
}>; /** Connection state values - varies by auth scheme */
|
|
4148
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4149
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
4150
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
4151
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
4152
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
4153
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
4154
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
4155
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4156
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
4157
|
-
uuid: z.ZodString;
|
|
4158
|
-
}, "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, {
|
|
4159
4189
|
uuid: string;
|
|
4160
4190
|
labels: string[];
|
|
4161
4191
|
}, {
|
|
4162
4192
|
uuid: string;
|
|
4163
4193
|
labels: string[];
|
|
4164
4194
|
}>>;
|
|
4165
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4166
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
4167
|
-
slug: z.ZodString;
|
|
4168
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4169
|
-
slug: z.ZodString;
|
|
4170
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4171
|
-
slug: z.ZodString;
|
|
4172
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
4173
|
-
auth_config: z.ZodObject<{
|
|
4174
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4175
|
-
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<{
|
|
4176
4206
|
readonly OAUTH1: "OAUTH1";
|
|
4177
4207
|
readonly OAUTH2: "OAUTH2";
|
|
4178
4208
|
readonly API_KEY: "API_KEY";
|
|
@@ -4188,18 +4218,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4188
4218
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4189
4219
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4190
4220
|
}>; /** Whether this auth config is managed by Composio */
|
|
4191
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4192
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4193
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4194
|
-
uuid: z.ZodString;
|
|
4195
|
-
}, "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, {
|
|
4196
4226
|
uuid: string;
|
|
4197
4227
|
}, {
|
|
4198
4228
|
uuid: string;
|
|
4199
4229
|
}>>;
|
|
4200
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4201
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4202
|
-
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<{
|
|
4203
4233
|
readonly OAUTH1: "OAUTH1";
|
|
4204
4234
|
readonly OAUTH2: "OAUTH2";
|
|
4205
4235
|
readonly API_KEY: "API_KEY";
|
|
@@ -4215,18 +4245,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4215
4245
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4216
4246
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4217
4247
|
}>; /** Whether this auth config is managed by Composio */
|
|
4218
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4219
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4220
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4221
|
-
uuid: z.ZodString;
|
|
4222
|
-
}, "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, {
|
|
4223
4253
|
uuid: string;
|
|
4224
4254
|
}, {
|
|
4225
4255
|
uuid: string;
|
|
4226
4256
|
}>>;
|
|
4227
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4228
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4229
|
-
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<{
|
|
4230
4260
|
readonly OAUTH1: "OAUTH1";
|
|
4231
4261
|
readonly OAUTH2: "OAUTH2";
|
|
4232
4262
|
readonly API_KEY: "API_KEY";
|
|
@@ -4242,19 +4272,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4242
4272
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4243
4273
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4244
4274
|
}>; /** Whether this auth config is managed by Composio */
|
|
4245
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4246
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4247
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4248
|
-
uuid: z.ZodString;
|
|
4249
|
-
}, "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, {
|
|
4250
4280
|
uuid: string;
|
|
4251
4281
|
}, {
|
|
4252
4282
|
uuid: string;
|
|
4253
4283
|
}>>;
|
|
4254
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
4255
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
4256
|
-
user_id: z.ZodString; /** Connection status */
|
|
4257
|
-
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<{
|
|
4258
4288
|
readonly INITIALIZING: "INITIALIZING";
|
|
4259
4289
|
readonly INITIATED: "INITIATED";
|
|
4260
4290
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -4263,10 +4293,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4263
4293
|
readonly INACTIVE: "INACTIVE";
|
|
4264
4294
|
readonly REVOKED: "REVOKED";
|
|
4265
4295
|
}>; /** ISO-8601 timestamp of creation */
|
|
4266
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
4267
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
4268
|
-
state: z.ZodObject<{
|
|
4269
|
-
/** 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<{
|
|
4270
4300
|
readonly OAUTH1: "OAUTH1";
|
|
4271
4301
|
readonly OAUTH2: "OAUTH2";
|
|
4272
4302
|
readonly API_KEY: "API_KEY";
|
|
@@ -4282,9 +4312,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4282
4312
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4283
4313
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4284
4314
|
}>; /** Connection state values - varies by auth scheme */
|
|
4285
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4286
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4287
|
-
/** 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<{
|
|
4288
4318
|
readonly OAUTH1: "OAUTH1";
|
|
4289
4319
|
readonly OAUTH2: "OAUTH2";
|
|
4290
4320
|
readonly API_KEY: "API_KEY";
|
|
@@ -4300,9 +4330,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4300
4330
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4301
4331
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4302
4332
|
}>; /** Connection state values - varies by auth scheme */
|
|
4303
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4304
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4305
|
-
/** 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<{
|
|
4306
4336
|
readonly OAUTH1: "OAUTH1";
|
|
4307
4337
|
readonly OAUTH2: "OAUTH2";
|
|
4308
4338
|
readonly API_KEY: "API_KEY";
|
|
@@ -4318,34 +4348,34 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4318
4348
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4319
4349
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4320
4350
|
}>; /** Connection state values - varies by auth scheme */
|
|
4321
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4322
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
4323
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
4324
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
4325
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
4326
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
4327
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
4328
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4329
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
4330
|
-
uuid: z.ZodString;
|
|
4331
|
-
}, "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, {
|
|
4332
4362
|
uuid: string;
|
|
4333
4363
|
labels: string[];
|
|
4334
4364
|
}, {
|
|
4335
4365
|
uuid: string;
|
|
4336
4366
|
labels: string[];
|
|
4337
4367
|
}>>;
|
|
4338
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4339
|
-
/** Toolkit information */toolkit: z.ZodObject<{
|
|
4340
|
-
slug: z.ZodString;
|
|
4341
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4342
|
-
slug: z.ZodString;
|
|
4343
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4344
|
-
slug: z.ZodString;
|
|
4345
|
-
}, z.ZodTypeAny, "passthrough">>; /** Auth config details */
|
|
4346
|
-
auth_config: z.ZodObject<{
|
|
4347
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4348
|
-
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<{
|
|
4349
4379
|
readonly OAUTH1: "OAUTH1";
|
|
4350
4380
|
readonly OAUTH2: "OAUTH2";
|
|
4351
4381
|
readonly API_KEY: "API_KEY";
|
|
@@ -4361,18 +4391,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4361
4391
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4362
4392
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4363
4393
|
}>; /** Whether this auth config is managed by Composio */
|
|
4364
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4365
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4366
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4367
|
-
uuid: z.ZodString;
|
|
4368
|
-
}, "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, {
|
|
4369
4399
|
uuid: string;
|
|
4370
4400
|
}, {
|
|
4371
4401
|
uuid: string;
|
|
4372
4402
|
}>>;
|
|
4373
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4374
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4375
|
-
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<{
|
|
4376
4406
|
readonly OAUTH1: "OAUTH1";
|
|
4377
4407
|
readonly OAUTH2: "OAUTH2";
|
|
4378
4408
|
readonly API_KEY: "API_KEY";
|
|
@@ -4388,18 +4418,18 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4388
4418
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4389
4419
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4390
4420
|
}>; /** Whether this auth config is managed by Composio */
|
|
4391
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4392
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4393
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4394
|
-
uuid: z.ZodString;
|
|
4395
|
-
}, "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, {
|
|
4396
4426
|
uuid: string;
|
|
4397
4427
|
}, {
|
|
4398
4428
|
uuid: string;
|
|
4399
4429
|
}>>;
|
|
4400
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4401
|
-
/** The nano ID of the auth config */id: z.ZodString; /** @deprecated - use state.authScheme instead */
|
|
4402
|
-
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<{
|
|
4403
4433
|
readonly OAUTH1: "OAUTH1";
|
|
4404
4434
|
readonly OAUTH2: "OAUTH2";
|
|
4405
4435
|
readonly API_KEY: "API_KEY";
|
|
@@ -4415,19 +4445,19 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4415
4445
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4416
4446
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4417
4447
|
}>; /** Whether this auth config is managed by Composio */
|
|
4418
|
-
is_composio_managed: z.ZodBoolean; /** Whether the auth config is disabled */
|
|
4419
|
-
is_disabled: z.ZodBoolean; /** @deprecated */
|
|
4420
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4421
|
-
uuid: z.ZodString;
|
|
4422
|
-
}, "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, {
|
|
4423
4453
|
uuid: string;
|
|
4424
4454
|
}, {
|
|
4425
4455
|
uuid: string;
|
|
4426
4456
|
}>>;
|
|
4427
|
-
}, z.ZodTypeAny, "passthrough">>; /** The nano ID of the connected account */
|
|
4428
|
-
id: z.ZodString; /** @deprecated - user ID of the connection owner */
|
|
4429
|
-
user_id: z.ZodString; /** Connection status */
|
|
4430
|
-
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<{
|
|
4431
4461
|
readonly INITIALIZING: "INITIALIZING";
|
|
4432
4462
|
readonly INITIATED: "INITIATED";
|
|
4433
4463
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -4436,10 +4466,10 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4436
4466
|
readonly INACTIVE: "INACTIVE";
|
|
4437
4467
|
readonly REVOKED: "REVOKED";
|
|
4438
4468
|
}>; /** ISO-8601 timestamp of creation */
|
|
4439
|
-
created_at: z.ZodString; /** ISO-8601 timestamp of last update */
|
|
4440
|
-
updated_at: z.ZodString; /** Connection state data (auth scheme + state values) */
|
|
4441
|
-
state: z.ZodObject<{
|
|
4442
|
-
/** 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<{
|
|
4443
4473
|
readonly OAUTH1: "OAUTH1";
|
|
4444
4474
|
readonly OAUTH2: "OAUTH2";
|
|
4445
4475
|
readonly API_KEY: "API_KEY";
|
|
@@ -4455,9 +4485,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4455
4485
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4456
4486
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4457
4487
|
}>; /** Connection state values - varies by auth scheme */
|
|
4458
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4459
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4460
|
-
/** 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<{
|
|
4461
4491
|
readonly OAUTH1: "OAUTH1";
|
|
4462
4492
|
readonly OAUTH2: "OAUTH2";
|
|
4463
4493
|
readonly API_KEY: "API_KEY";
|
|
@@ -4473,9 +4503,9 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4473
4503
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4474
4504
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4475
4505
|
}>; /** Connection state values - varies by auth scheme */
|
|
4476
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4477
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4478
|
-
/** 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<{
|
|
4479
4509
|
readonly OAUTH1: "OAUTH1";
|
|
4480
4510
|
readonly OAUTH2: "OAUTH2";
|
|
4481
4511
|
readonly API_KEY: "API_KEY";
|
|
@@ -4491,36 +4521,36 @@ declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4491
4521
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
4492
4522
|
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
4493
4523
|
}>; /** Connection state values - varies by auth scheme */
|
|
4494
|
-
val: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4495
|
-
}, z.ZodTypeAny, "passthrough">>; /** @deprecated - use state instead */
|
|
4496
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** @deprecated - use state instead */
|
|
4497
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>; /** Reason for the current status (e.g., expiration reason) */
|
|
4498
|
-
status_reason: z.ZodNullable<z.ZodString>; /** Whether the connection is disabled */
|
|
4499
|
-
is_disabled: z.ZodBoolean; /** Endpoint for making test requests */
|
|
4500
|
-
test_request_endpoint: z.ZodOptional<z.ZodString>; /** @deprecated */
|
|
4501
|
-
deprecated: z.ZodOptional<z.ZodObject<{
|
|
4502
|
-
labels: z.ZodArray<z.ZodString, "many">;
|
|
4503
|
-
uuid: z.ZodString;
|
|
4504
|
-
}, "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, {
|
|
4505
4535
|
uuid: string;
|
|
4506
4536
|
labels: string[];
|
|
4507
4537
|
}, {
|
|
4508
4538
|
uuid: string;
|
|
4509
4539
|
labels: string[];
|
|
4510
4540
|
}>>;
|
|
4511
|
-
}, z.ZodTypeAny, "passthrough">>; /** Event metadata */
|
|
4512
|
-
metadata: z.ZodObject<{
|
|
4513
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
4514
|
-
org_id: z.ZodString;
|
|
4515
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4516
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
4517
|
-
org_id: z.ZodString;
|
|
4518
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4519
|
-
/** Project nano ID */project_id: z.ZodString; /** Organization UUID */
|
|
4520
|
-
org_id: z.ZodString;
|
|
4521
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
4522
|
-
}, z.ZodTypeAny, "passthrough">>]>;
|
|
4523
|
-
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>;
|
|
4524
4554
|
declare namespace constants_d_exports {
|
|
4525
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 };
|
|
4526
4556
|
}
|
|
@@ -4601,19 +4631,19 @@ type TelemetryMetadata = {
|
|
|
4601
4631
|
};
|
|
4602
4632
|
//#endregion
|
|
4603
4633
|
//#region src/services/telemetry/TelemetryService.types.d.ts
|
|
4604
|
-
declare const TelemetryPayloadSchema: z.ZodObject<{
|
|
4605
|
-
functionName: z.ZodString;
|
|
4606
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
4607
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
4608
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4609
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
4610
|
-
host: z.ZodOptional<z.ZodString>;
|
|
4611
|
-
service: z.ZodOptional<z.ZodEnum<["sdk", "apollo", "hermes", "thermos"]>>;
|
|
4612
|
-
language: z.ZodOptional<z.ZodEnum<["python", "typescript", "go", "rust"]>>;
|
|
4613
|
-
version: z.ZodOptional<z.ZodString>;
|
|
4614
|
-
platform: z.ZodOptional<z.ZodString>;
|
|
4615
|
-
environment: z.ZodOptional<z.ZodEnum<["development", "production", "ci", "staging", "test"]>>;
|
|
4616
|
-
}, "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, {
|
|
4617
4647
|
version?: string | undefined;
|
|
4618
4648
|
host?: string | undefined;
|
|
4619
4649
|
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
@@ -4628,23 +4658,23 @@ declare const TelemetryPayloadSchema: z.ZodObject<{
|
|
|
4628
4658
|
platform?: string | undefined;
|
|
4629
4659
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
4630
4660
|
}>>;
|
|
4631
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
4632
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
4633
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
4634
|
-
}, "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, {
|
|
4635
4665
|
projectId?: string | undefined;
|
|
4636
4666
|
provider?: string | undefined;
|
|
4637
4667
|
}, {
|
|
4638
4668
|
projectId?: string | undefined;
|
|
4639
4669
|
provider?: string | undefined;
|
|
4640
4670
|
}>>;
|
|
4641
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
4642
|
-
name: z.ZodString;
|
|
4643
|
-
code: z.ZodOptional<z.ZodString>;
|
|
4644
|
-
errorId: z.ZodOptional<z.ZodString>;
|
|
4645
|
-
message: z.ZodOptional<z.ZodString>;
|
|
4646
|
-
stack: z.ZodOptional<z.ZodString>;
|
|
4647
|
-
}, "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, {
|
|
4648
4678
|
name: string;
|
|
4649
4679
|
code?: string | undefined;
|
|
4650
4680
|
message?: string | undefined;
|
|
@@ -4657,7 +4687,7 @@ declare const TelemetryPayloadSchema: z.ZodObject<{
|
|
|
4657
4687
|
errorId?: string | undefined;
|
|
4658
4688
|
stack?: string | undefined;
|
|
4659
4689
|
}>>;
|
|
4660
|
-
}, "strip", z.ZodTypeAny, {
|
|
4690
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
4661
4691
|
functionName: string;
|
|
4662
4692
|
error?: {
|
|
4663
4693
|
name: string;
|
|
@@ -4706,19 +4736,19 @@ declare const TelemetryPayloadSchema: z.ZodObject<{
|
|
|
4706
4736
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
4707
4737
|
} | undefined;
|
|
4708
4738
|
}>;
|
|
4709
|
-
declare const TelemetryMetricPayloadBodySchema: z.ZodArray<z.ZodObject<{
|
|
4710
|
-
functionName: z.ZodString;
|
|
4711
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
4712
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
4713
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4714
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
4715
|
-
host: z.ZodOptional<z.ZodString>;
|
|
4716
|
-
service: z.ZodOptional<z.ZodEnum<["sdk", "apollo", "hermes", "thermos"]>>;
|
|
4717
|
-
language: z.ZodOptional<z.ZodEnum<["python", "typescript", "go", "rust"]>>;
|
|
4718
|
-
version: z.ZodOptional<z.ZodString>;
|
|
4719
|
-
platform: z.ZodOptional<z.ZodString>;
|
|
4720
|
-
environment: z.ZodOptional<z.ZodEnum<["development", "production", "ci", "staging", "test"]>>;
|
|
4721
|
-
}, "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, {
|
|
4722
4752
|
version?: string | undefined;
|
|
4723
4753
|
host?: string | undefined;
|
|
4724
4754
|
service?: "sdk" | "apollo" | "hermes" | "thermos" | undefined;
|
|
@@ -4733,23 +4763,23 @@ declare const TelemetryMetricPayloadBodySchema: z.ZodArray<z.ZodObject<{
|
|
|
4733
4763
|
platform?: string | undefined;
|
|
4734
4764
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
4735
4765
|
}>>;
|
|
4736
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
4737
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
4738
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
4739
|
-
}, "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, {
|
|
4740
4770
|
projectId?: string | undefined;
|
|
4741
4771
|
provider?: string | undefined;
|
|
4742
4772
|
}, {
|
|
4743
4773
|
projectId?: string | undefined;
|
|
4744
4774
|
provider?: string | undefined;
|
|
4745
4775
|
}>>;
|
|
4746
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
4747
|
-
name: z.ZodString;
|
|
4748
|
-
code: z.ZodOptional<z.ZodString>;
|
|
4749
|
-
errorId: z.ZodOptional<z.ZodString>;
|
|
4750
|
-
message: z.ZodOptional<z.ZodString>;
|
|
4751
|
-
stack: z.ZodOptional<z.ZodString>;
|
|
4752
|
-
}, "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, {
|
|
4753
4783
|
name: string;
|
|
4754
4784
|
code?: string | undefined;
|
|
4755
4785
|
message?: string | undefined;
|
|
@@ -4762,7 +4792,7 @@ declare const TelemetryMetricPayloadBodySchema: z.ZodArray<z.ZodObject<{
|
|
|
4762
4792
|
errorId?: string | undefined;
|
|
4763
4793
|
stack?: string | undefined;
|
|
4764
4794
|
}>>;
|
|
4765
|
-
}, "strip", z.ZodTypeAny, {
|
|
4795
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
4766
4796
|
functionName: string;
|
|
4767
4797
|
error?: {
|
|
4768
4798
|
name: string;
|
|
@@ -4811,8 +4841,8 @@ declare const TelemetryMetricPayloadBodySchema: z.ZodArray<z.ZodObject<{
|
|
|
4811
4841
|
environment?: "development" | "production" | "ci" | "staging" | "test" | undefined;
|
|
4812
4842
|
} | undefined;
|
|
4813
4843
|
}>, "many">;
|
|
4814
|
-
type TelemetryPayload = z.infer<typeof TelemetryPayloadSchema>;
|
|
4815
|
-
type TelemetryMetricPayloadBody = z.infer<typeof TelemetryMetricPayloadBodySchema>;
|
|
4844
|
+
type TelemetryPayload = z$1.infer<typeof TelemetryPayloadSchema>;
|
|
4845
|
+
type TelemetryMetricPayloadBody = z$1.infer<typeof TelemetryMetricPayloadBodySchema>;
|
|
4816
4846
|
//#endregion
|
|
4817
4847
|
//#region src/telemetry/Telemetry.d.ts
|
|
4818
4848
|
declare global {
|
|
@@ -5374,4 +5404,25 @@ declare class ComposioFileNotFoundError extends ComposioFileUploadError {
|
|
|
5374
5404
|
constructor(message: string, options?: ComposioErrorOptions);
|
|
5375
5405
|
}
|
|
5376
5406
|
//#endregion
|
|
5377
|
-
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, 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, 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 };
|