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