@composio/core 0.12.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseProvider-BBnsv9kS.d.mts → BaseProvider-Brb3o86-.d.mts} +80 -80
- package/dist/{CustomTool-DEB4BQPl.mjs → CustomTool-D9qwyMrv.mjs} +1 -1
- package/dist/{CustomTool-DH18rVQu.d.mts → CustomTool-DLf7JeKt.d.mts} +1 -1
- package/dist/CustomTool-NpHpqdnU.d.mts +74 -0
- package/dist/{composio-CHnEggnv.d.mts → composio-BHSQwOUz.d.mts} +503 -319
- package/dist/composio-DfPD7BAi.d.mts +5666 -0
- package/dist/{customTool.types-DpIdOJjL.d.mts → customTool.types-9yFqPjdw.d.mts} +448 -76
- package/dist/customTool.types-D-6YqFdW.d.mts +2826 -0
- package/dist/docs/error-consistency.md +97 -0
- package/dist/docs/reference/sdk-reference/typescript/auth-configs.mdx +306 -0
- package/dist/docs/reference/sdk-reference/typescript/composio.mdx +205 -0
- package/dist/docs/reference/sdk-reference/typescript/connected-accounts.mdx +488 -0
- package/dist/docs/reference/sdk-reference/typescript/experimental.mdx +94 -0
- package/dist/docs/reference/sdk-reference/typescript/index.mdx +67 -0
- package/dist/docs/reference/sdk-reference/typescript/mcp.mdx +304 -0
- package/dist/docs/reference/sdk-reference/typescript/meta.json +17 -0
- package/dist/docs/reference/sdk-reference/typescript/remote-file.mdx +107 -0
- package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +163 -0
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +252 -0
- package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +155 -0
- package/dist/docs/reference/sdk-reference/typescript/toolkits.mdx +169 -0
- package/dist/docs/reference/sdk-reference/typescript/tools.mdx +453 -0
- package/dist/docs/reference/sdk-reference/typescript/triggers.mdx +434 -0
- package/dist/{errors-D5f4pfvI.mjs → errors-DSIlYfl5.mjs} +2 -2
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/index.d.mts +36 -6
- package/dist/index.mjs +455 -123
- package/dist/{jsonSchema-daqF3S3d.mjs → jsonSchema-CFKdONpP.mjs} +1 -1
- package/dist/{types-CaI5Z4PA.d.mts → types-BJLCRj9q.d.mts} +2 -2
- package/dist/types-CCh8qvui.d.mts +12 -0
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/docs/error-consistency.md +97 -0
- package/package.json +4 -3
- package/src/composio.ts +509 -0
- package/src/errors/AuthConfigErrors.ts +23 -0
- package/src/errors/ComposioError.ts +408 -0
- package/src/errors/ConnectedAccountsErrors.ts +158 -0
- package/src/errors/ConnectionRequestErrors.ts +32 -0
- package/src/errors/FileModifierErrors.ts +100 -0
- package/src/errors/PusherErrors.ts +28 -0
- package/src/errors/RemoteFileErrors.ts +62 -0
- package/src/errors/SDKErrors.ts +92 -0
- package/src/errors/ToolErrors.ts +244 -0
- package/src/errors/ToolkitErrors.ts +39 -0
- package/src/errors/TriggerErrors.ts +120 -0
- package/src/errors/ValidationErrors.ts +99 -0
- package/src/errors/index.ts +41 -0
- package/src/experimental/index.ts +28 -0
- package/src/index.ts +64 -0
- package/src/lib/toolRouterConstants.ts +1 -0
- package/src/lib/toolRouterParams.ts +306 -0
- package/src/lib/toolRouterSessionDelete.ts +30 -0
- package/src/models/AuthConfigs.ts +398 -0
- package/src/models/AuthScheme.ts +206 -0
- package/src/models/ConnectedAccounts.ts +735 -0
- package/src/models/ConnectionRequest.ts +150 -0
- package/src/models/CustomTool.ts +676 -0
- package/src/models/Experimental.ts +202 -0
- package/src/models/Files.node.ts +93 -0
- package/src/models/Files.workerd.ts +49 -0
- package/src/models/MCP.ts +478 -0
- package/src/models/RemoteFile.ts +172 -0
- package/src/models/SessionContext.ts +147 -0
- package/src/models/Sessions.ts +21 -0
- package/src/models/ToolRouter.ts +406 -0
- package/src/models/ToolRouterSession.ts +839 -0
- package/src/models/ToolRouterSessionFileMount.ts +389 -0
- package/src/models/Toolkits.ts +412 -0
- package/src/models/Tools.ts +1260 -0
- package/src/models/Triggers.ts +1381 -0
- package/src/models/customToolExecution.ts +118 -0
- package/src/models/inlineCustomToolsPayload.ts +17 -0
- package/src/models/proxyParamsTransform.ts +26 -0
- package/src/provider/BaseProvider.ts +138 -0
- package/src/provider/ComposioProvider.ts +29 -0
- package/src/provider/OpenAIProvider.ts +547 -0
- package/src/services/internal/InternalService.ts +50 -0
- package/src/services/internal/InternalService.types.ts +14 -0
- package/src/services/pusher/Pusher.ts +230 -0
- package/src/services/telemetry/TelemetryService.ts +48 -0
- package/src/services/telemetry/TelemetryService.types.ts +67 -0
- package/src/telemetry/BatchProcessor.ts +77 -0
- package/src/telemetry/README.md +123 -0
- package/src/telemetry/Telemetry.ts +356 -0
- package/src/types/ToolRouterSessionFilesMount.types.ts +96 -0
- package/src/types/authConfigs.types.ts +174 -0
- package/src/types/composio.types.ts +1 -0
- package/src/types/connectedAccountAuthStates.types.ts +852 -0
- package/src/types/connectedAccounts.types.ts +395 -0
- package/src/types/connectionRequest.types.ts +16 -0
- package/src/types/customTool.types.ts +261 -0
- package/src/types/files.types.ts +15 -0
- package/src/types/mcp.experimental.types.ts +163 -0
- package/src/types/mcp.types.ts +362 -0
- package/src/types/modifiers.types.ts +663 -0
- package/src/types/org.types.ts +0 -0
- package/src/types/provider.types.ts +41 -0
- package/src/types/pusher.types.ts +18 -0
- package/src/types/requestOptions.types.ts +62 -0
- package/src/types/telemetry.types.ts +89 -0
- package/src/types/tool.types.ts +408 -0
- package/src/types/toolRouter.types.ts +774 -0
- package/src/types/toolkit.types.ts +130 -0
- package/src/types/triggers.types.ts +401 -0
- package/src/types/webhookEvents.types.ts +219 -0
- package/src/utils/buffer.ts +30 -0
- package/src/utils/cancellation.ts +22 -0
- package/src/utils/config-defaults/ConfigDefaults.node.ts +7 -0
- package/src/utils/config-defaults/ConfigDefaults.workerd.ts +10 -0
- package/src/utils/config-defaults/index.ts +1 -0
- package/src/utils/config-defaults/types.ts +14 -0
- package/src/utils/constants.ts +22 -0
- package/src/utils/crypto.ts +34 -0
- package/src/utils/env.ts +34 -0
- package/src/utils/fileDirs.ts +81 -0
- package/src/utils/fileUtils.node.ts +458 -0
- package/src/utils/json-schema.ts +1 -0
- package/src/utils/jsonSchema.ts +355 -0
- package/src/utils/logger.ts +99 -0
- package/src/utils/mime.ts +75 -0
- package/src/utils/modifiers/FileToolModifier.node.ts +477 -0
- package/src/utils/modifiers/FileToolModifier.utils.neutral.ts +132 -0
- package/src/utils/modifiers/FileToolModifier.workerd.ts +51 -0
- package/src/utils/pagination.ts +73 -0
- package/src/utils/pusher.ts +286 -0
- package/src/utils/schemaPropertyKeys.ts +433 -0
- package/src/utils/sdk.ts +110 -0
- package/src/utils/sensitiveFileUploadPaths.node.ts +105 -0
- package/src/utils/session.ts +114 -0
- package/src/utils/toolArguments.ts +73 -0
- package/src/utils/toolkitVersion.ts +26 -0
- package/src/utils/transform.ts +42 -0
- package/src/utils/transformers/authConfigs.ts +107 -0
- package/src/utils/transformers/connectedAccounts.ts +119 -0
- package/src/utils/transformers/mcp.ts +164 -0
- package/src/utils/transformers/toolRouterResponseTransform.ts +160 -0
- package/src/utils/transformers/toolkits.ts +100 -0
- package/src/utils/transformers/triggers.ts +118 -0
- package/src/utils/uploadDirAllowlist.node.ts +178 -0
- package/src/utils/uuid.ts +7 -0
- package/src/utils/version.ts +58 -0
- package/src/utils/zodSchema.ts +90 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as ExecuteToolModifiers, An as ToolRetrievalOptions, Cn as ToolList, Ln as ToolkitVersionParam, On as ToolProxyParams, X as McpServerGetResponse, _n as ToolExecuteMetaParams, at as ExecuteToolFnOptions, gn as Tool, hn as SchemaModifierOptions, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, r as BaseNonAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, wn as ToolListParams, xn as ToolExecuteResponse, yn as ToolExecuteParams } from "./BaseProvider-
|
|
2
|
-
import {
|
|
1
|
+
import { $t as ExecuteToolModifiers, An as ToolRetrievalOptions, Cn as ToolList, Ln as ToolkitVersionParam, On as ToolProxyParams, X as McpServerGetResponse, _n as ToolExecuteMetaParams, at as ExecuteToolFnOptions, gn as Tool, hn as SchemaModifierOptions, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, r as BaseNonAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, wn as ToolListParams, xn as ToolExecuteResponse, yn as ToolExecuteParams } from "./BaseProvider-Brb3o86-.mjs";
|
|
2
|
+
import { D as Session, Dn as UpdateConnectedAccountAclParams, Ht as ConnectionRequest, M as SessionWithoutMcp, Vt as ComposioRequestOptions, an as ConnectedAccountRefreshOptions, bn as CreateConnectedAccountOptions, en as ConnectedAccountListParams, f as CustomToolkit, gn as CreateConnectedAccountLinkOptions, kn as UpdateConnectedAccountParams, nn as ConnectedAccountListResponse, o as CustomTool, q as ToolRouterSessionDeleteResponse, sn as ConnectedAccountRetrieveResponse, z as ToolRouterCreateSessionConfig } from "./customTool.types-D-6YqFdW.mjs";
|
|
3
3
|
import ComposioClient, { Composio } from "@composio/client";
|
|
4
4
|
import z$1, { z } from "zod/v3";
|
|
5
5
|
import { OpenAI } from "openai";
|
|
@@ -11,45 +11,6 @@ import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/ind
|
|
|
11
11
|
import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
|
|
12
12
|
import { Stream } from "openai/streaming";
|
|
13
13
|
|
|
14
|
-
//#region src/types/requestOptions.types.d.ts
|
|
15
|
-
/**
|
|
16
|
-
* Per-request transport options for cancelling an SDK call.
|
|
17
|
-
*
|
|
18
|
-
* For `tools.get` and `tools.execute`, pass `signal` directly in the
|
|
19
|
-
* options bag (3rd argument) alongside any modifiers or provider options.
|
|
20
|
-
* For other methods (e.g. `toolkits.get`, `authConfigs.list`), pass as a
|
|
21
|
-
* trailing argument. Forwarded to the underlying `@composio/client` request.
|
|
22
|
-
*
|
|
23
|
-
* If the underlying request is aborted via this signal, the SDK throws a
|
|
24
|
-
* {@link ComposioRequestCancelledError} so callers can `instanceof`-detect
|
|
25
|
-
* cancellation without unwrapping nested causes.
|
|
26
|
-
*
|
|
27
|
-
* @example Timeout after 5 seconds
|
|
28
|
-
* ```typescript
|
|
29
|
-
* await composio.tools.execute(
|
|
30
|
-
* 'HACKERNEWS_GET_FRONTPAGE',
|
|
31
|
-
* { userId: 'default', arguments: {} },
|
|
32
|
-
* { signal: AbortSignal.timeout(5_000) }
|
|
33
|
-
* );
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @example Combine signal with modifiers
|
|
37
|
-
* ```typescript
|
|
38
|
-
* await composio.tools.execute('TOOL', body, {
|
|
39
|
-
* signal: AbortSignal.timeout(10_000),
|
|
40
|
-
* beforeExecute: ({ params }) => params,
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
type ComposioRequestOptions = {
|
|
45
|
-
/**
|
|
46
|
-
* An `AbortSignal` used to cancel the in-flight HTTP request. When the
|
|
47
|
-
* signal aborts, the underlying fetch is aborted and the SDK throws a
|
|
48
|
-
* {@link ComposioRequestCancelledError} (subclass of {@link ComposioError}).
|
|
49
|
-
*/
|
|
50
|
-
signal?: AbortSignal;
|
|
51
|
-
};
|
|
52
|
-
//#endregion
|
|
53
14
|
//#region src/models/Tools.d.ts
|
|
54
15
|
type ToolRouterSessionExecuteOptions = {
|
|
55
16
|
experimental?: SessionExecuteParams.Experimental;
|
|
@@ -535,14 +496,14 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
|
|
|
535
496
|
cursor: z.ZodOptional<z.ZodString>;
|
|
536
497
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
537
498
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
cursor?: string | undefined;
|
|
539
499
|
limit?: number | undefined;
|
|
500
|
+
cursor?: string | undefined;
|
|
540
501
|
category?: string | undefined;
|
|
541
502
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
542
503
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
543
504
|
}, {
|
|
544
|
-
cursor?: string | undefined;
|
|
545
505
|
limit?: number | undefined;
|
|
506
|
+
cursor?: string | undefined;
|
|
546
507
|
category?: string | undefined;
|
|
547
508
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
548
509
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -558,11 +519,11 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
558
519
|
slug: z.ZodString;
|
|
559
520
|
name: z.ZodString;
|
|
560
521
|
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
name: string;
|
|
562
522
|
slug: string;
|
|
563
|
-
}, {
|
|
564
523
|
name: string;
|
|
524
|
+
}, {
|
|
565
525
|
slug: string;
|
|
526
|
+
name: string;
|
|
566
527
|
}>, "many">>;
|
|
567
528
|
appUrl: z.ZodOptional<z.ZodString>;
|
|
568
529
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -573,27 +534,27 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
573
534
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
574
535
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
575
536
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
createdAt?: string | undefined;
|
|
577
|
-
updatedAt?: string | undefined;
|
|
578
537
|
logo?: string | undefined;
|
|
579
538
|
description?: string | undefined;
|
|
580
539
|
availableVersions?: string[] | undefined;
|
|
540
|
+
createdAt?: string | undefined;
|
|
541
|
+
updatedAt?: string | undefined;
|
|
581
542
|
categories?: {
|
|
582
|
-
name: string;
|
|
583
543
|
slug: string;
|
|
544
|
+
name: string;
|
|
584
545
|
}[] | undefined;
|
|
585
546
|
appUrl?: string | undefined;
|
|
586
547
|
toolsCount?: number | undefined;
|
|
587
548
|
triggersCount?: number | undefined;
|
|
588
549
|
}, {
|
|
589
|
-
createdAt?: string | undefined;
|
|
590
|
-
updatedAt?: string | undefined;
|
|
591
550
|
logo?: string | undefined;
|
|
592
551
|
description?: string | undefined;
|
|
593
552
|
availableVersions?: string[] | undefined;
|
|
553
|
+
createdAt?: string | undefined;
|
|
554
|
+
updatedAt?: string | undefined;
|
|
594
555
|
categories?: {
|
|
595
|
-
name: string;
|
|
596
556
|
slug: string;
|
|
557
|
+
name: string;
|
|
597
558
|
}[] | undefined;
|
|
598
559
|
appUrl?: string | undefined;
|
|
599
560
|
toolsCount?: number | undefined;
|
|
@@ -607,11 +568,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
607
568
|
slug: z.ZodString;
|
|
608
569
|
name: z.ZodString;
|
|
609
570
|
}, "strip", z.ZodTypeAny, {
|
|
610
|
-
name: string;
|
|
611
571
|
slug: string;
|
|
612
|
-
}, {
|
|
613
572
|
name: string;
|
|
573
|
+
}, {
|
|
614
574
|
slug: string;
|
|
575
|
+
name: string;
|
|
615
576
|
}>, "many">>;
|
|
616
577
|
appUrl: z.ZodOptional<z.ZodString>;
|
|
617
578
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -622,27 +583,27 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
622
583
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
623
584
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
624
585
|
}, "strip", z.ZodTypeAny, {
|
|
625
|
-
createdAt?: string | undefined;
|
|
626
|
-
updatedAt?: string | undefined;
|
|
627
586
|
logo?: string | undefined;
|
|
628
587
|
description?: string | undefined;
|
|
629
588
|
availableVersions?: string[] | undefined;
|
|
589
|
+
createdAt?: string | undefined;
|
|
590
|
+
updatedAt?: string | undefined;
|
|
630
591
|
categories?: {
|
|
631
|
-
name: string;
|
|
632
592
|
slug: string;
|
|
593
|
+
name: string;
|
|
633
594
|
}[] | undefined;
|
|
634
595
|
appUrl?: string | undefined;
|
|
635
596
|
toolsCount?: number | undefined;
|
|
636
597
|
triggersCount?: number | undefined;
|
|
637
598
|
}, {
|
|
638
|
-
createdAt?: string | undefined;
|
|
639
|
-
updatedAt?: string | undefined;
|
|
640
599
|
logo?: string | undefined;
|
|
641
600
|
description?: string | undefined;
|
|
642
601
|
availableVersions?: string[] | undefined;
|
|
602
|
+
createdAt?: string | undefined;
|
|
603
|
+
updatedAt?: string | undefined;
|
|
643
604
|
categories?: {
|
|
644
|
-
name: string;
|
|
645
605
|
slug: string;
|
|
606
|
+
name: string;
|
|
646
607
|
}[] | undefined;
|
|
647
608
|
appUrl?: string | undefined;
|
|
648
609
|
toolsCount?: number | undefined;
|
|
@@ -653,17 +614,17 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
653
614
|
composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
654
615
|
noAuth: z.ZodOptional<z.ZodBoolean>;
|
|
655
616
|
}, "strip", z.ZodTypeAny, {
|
|
656
|
-
name: string;
|
|
657
617
|
slug: string;
|
|
618
|
+
name: string;
|
|
658
619
|
meta: {
|
|
659
|
-
createdAt?: string | undefined;
|
|
660
|
-
updatedAt?: string | undefined;
|
|
661
620
|
logo?: string | undefined;
|
|
662
621
|
description?: string | undefined;
|
|
663
622
|
availableVersions?: string[] | undefined;
|
|
623
|
+
createdAt?: string | undefined;
|
|
624
|
+
updatedAt?: string | undefined;
|
|
664
625
|
categories?: {
|
|
665
|
-
name: string;
|
|
666
626
|
slug: string;
|
|
627
|
+
name: string;
|
|
667
628
|
}[] | undefined;
|
|
668
629
|
appUrl?: string | undefined;
|
|
669
630
|
toolsCount?: number | undefined;
|
|
@@ -674,17 +635,17 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
674
635
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
675
636
|
noAuth?: boolean | undefined;
|
|
676
637
|
}, {
|
|
677
|
-
name: string;
|
|
678
638
|
slug: string;
|
|
639
|
+
name: string;
|
|
679
640
|
meta: {
|
|
680
|
-
createdAt?: string | undefined;
|
|
681
|
-
updatedAt?: string | undefined;
|
|
682
641
|
logo?: string | undefined;
|
|
683
642
|
description?: string | undefined;
|
|
684
643
|
availableVersions?: string[] | undefined;
|
|
644
|
+
createdAt?: string | undefined;
|
|
645
|
+
updatedAt?: string | undefined;
|
|
685
646
|
categories?: {
|
|
686
|
-
name: string;
|
|
687
647
|
slug: string;
|
|
648
|
+
name: string;
|
|
688
649
|
}[] | undefined;
|
|
689
650
|
appUrl?: string | undefined;
|
|
690
651
|
toolsCount?: number | undefined;
|
|
@@ -703,11 +664,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
703
664
|
slug: z.ZodString;
|
|
704
665
|
name: z.ZodString;
|
|
705
666
|
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
name: string;
|
|
707
667
|
slug: string;
|
|
708
|
-
}, {
|
|
709
668
|
name: string;
|
|
669
|
+
}, {
|
|
710
670
|
slug: string;
|
|
671
|
+
name: string;
|
|
711
672
|
}>, "many">>;
|
|
712
673
|
appUrl: z.ZodOptional<z.ZodString>;
|
|
713
674
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -718,27 +679,27 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
718
679
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
719
680
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
720
681
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
createdAt?: string | undefined;
|
|
722
|
-
updatedAt?: string | undefined;
|
|
723
682
|
logo?: string | undefined;
|
|
724
683
|
description?: string | undefined;
|
|
725
684
|
availableVersions?: string[] | undefined;
|
|
685
|
+
createdAt?: string | undefined;
|
|
686
|
+
updatedAt?: string | undefined;
|
|
726
687
|
categories?: {
|
|
727
|
-
name: string;
|
|
728
688
|
slug: string;
|
|
689
|
+
name: string;
|
|
729
690
|
}[] | undefined;
|
|
730
691
|
appUrl?: string | undefined;
|
|
731
692
|
toolsCount?: number | undefined;
|
|
732
693
|
triggersCount?: number | undefined;
|
|
733
694
|
}, {
|
|
734
|
-
createdAt?: string | undefined;
|
|
735
|
-
updatedAt?: string | undefined;
|
|
736
695
|
logo?: string | undefined;
|
|
737
696
|
description?: string | undefined;
|
|
738
697
|
availableVersions?: string[] | undefined;
|
|
698
|
+
createdAt?: string | undefined;
|
|
699
|
+
updatedAt?: string | undefined;
|
|
739
700
|
categories?: {
|
|
740
|
-
name: string;
|
|
741
701
|
slug: string;
|
|
702
|
+
name: string;
|
|
742
703
|
}[] | undefined;
|
|
743
704
|
appUrl?: string | undefined;
|
|
744
705
|
toolsCount?: number | undefined;
|
|
@@ -749,17 +710,17 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
749
710
|
composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
750
711
|
noAuth: z.ZodOptional<z.ZodBoolean>;
|
|
751
712
|
}, "strip", z.ZodTypeAny, {
|
|
752
|
-
name: string;
|
|
753
713
|
slug: string;
|
|
714
|
+
name: string;
|
|
754
715
|
meta: {
|
|
755
|
-
createdAt?: string | undefined;
|
|
756
|
-
updatedAt?: string | undefined;
|
|
757
716
|
logo?: string | undefined;
|
|
758
717
|
description?: string | undefined;
|
|
759
718
|
availableVersions?: string[] | undefined;
|
|
719
|
+
createdAt?: string | undefined;
|
|
720
|
+
updatedAt?: string | undefined;
|
|
760
721
|
categories?: {
|
|
761
|
-
name: string;
|
|
762
722
|
slug: string;
|
|
723
|
+
name: string;
|
|
763
724
|
}[] | undefined;
|
|
764
725
|
appUrl?: string | undefined;
|
|
765
726
|
toolsCount?: number | undefined;
|
|
@@ -770,17 +731,17 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
770
731
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
771
732
|
noAuth?: boolean | undefined;
|
|
772
733
|
}, {
|
|
773
|
-
name: string;
|
|
774
734
|
slug: string;
|
|
735
|
+
name: string;
|
|
775
736
|
meta: {
|
|
776
|
-
createdAt?: string | undefined;
|
|
777
|
-
updatedAt?: string | undefined;
|
|
778
737
|
logo?: string | undefined;
|
|
779
738
|
description?: string | undefined;
|
|
780
739
|
availableVersions?: string[] | undefined;
|
|
740
|
+
createdAt?: string | undefined;
|
|
741
|
+
updatedAt?: string | undefined;
|
|
781
742
|
categories?: {
|
|
782
|
-
name: string;
|
|
783
743
|
slug: string;
|
|
744
|
+
name: string;
|
|
784
745
|
}[] | undefined;
|
|
785
746
|
appUrl?: string | undefined;
|
|
786
747
|
toolsCount?: number | undefined;
|
|
@@ -805,15 +766,15 @@ declare const ToolkitAuthFieldSchema: z.ZodObject<{
|
|
|
805
766
|
type: z.ZodString;
|
|
806
767
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
807
768
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
-
type: string;
|
|
809
769
|
name: string;
|
|
770
|
+
type: string;
|
|
810
771
|
description: string;
|
|
811
772
|
required: boolean;
|
|
812
773
|
displayName: string;
|
|
813
774
|
default?: string | null | undefined;
|
|
814
775
|
}, {
|
|
815
|
-
type: string;
|
|
816
776
|
name: string;
|
|
777
|
+
type: string;
|
|
817
778
|
description: string;
|
|
818
779
|
required: boolean;
|
|
819
780
|
displayName: string;
|
|
@@ -832,15 +793,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
832
793
|
type: z.ZodString;
|
|
833
794
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
834
795
|
}, "strip", z.ZodTypeAny, {
|
|
835
|
-
type: string;
|
|
836
796
|
name: string;
|
|
797
|
+
type: string;
|
|
837
798
|
description: string;
|
|
838
799
|
required: boolean;
|
|
839
800
|
displayName: string;
|
|
840
801
|
default?: string | null | undefined;
|
|
841
802
|
}, {
|
|
842
|
-
type: string;
|
|
843
803
|
name: string;
|
|
804
|
+
type: string;
|
|
844
805
|
description: string;
|
|
845
806
|
required: boolean;
|
|
846
807
|
displayName: string;
|
|
@@ -854,15 +815,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
854
815
|
type: z.ZodString;
|
|
855
816
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
856
817
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
type: string;
|
|
858
818
|
name: string;
|
|
819
|
+
type: string;
|
|
859
820
|
description: string;
|
|
860
821
|
required: boolean;
|
|
861
822
|
displayName: string;
|
|
862
823
|
default?: string | null | undefined;
|
|
863
824
|
}, {
|
|
864
|
-
type: string;
|
|
865
825
|
name: string;
|
|
826
|
+
type: string;
|
|
866
827
|
description: string;
|
|
867
828
|
required: boolean;
|
|
868
829
|
displayName: string;
|
|
@@ -870,16 +831,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
870
831
|
}>, "many">;
|
|
871
832
|
}, "strip", z.ZodTypeAny, {
|
|
872
833
|
required: {
|
|
873
|
-
type: string;
|
|
874
834
|
name: string;
|
|
835
|
+
type: string;
|
|
875
836
|
description: string;
|
|
876
837
|
required: boolean;
|
|
877
838
|
displayName: string;
|
|
878
839
|
default?: string | null | undefined;
|
|
879
840
|
}[];
|
|
880
841
|
optional: {
|
|
881
|
-
type: string;
|
|
882
842
|
name: string;
|
|
843
|
+
type: string;
|
|
883
844
|
description: string;
|
|
884
845
|
required: boolean;
|
|
885
846
|
displayName: string;
|
|
@@ -887,16 +848,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
887
848
|
}[];
|
|
888
849
|
}, {
|
|
889
850
|
required: {
|
|
890
|
-
type: string;
|
|
891
851
|
name: string;
|
|
852
|
+
type: string;
|
|
892
853
|
description: string;
|
|
893
854
|
required: boolean;
|
|
894
855
|
displayName: string;
|
|
895
856
|
default?: string | null | undefined;
|
|
896
857
|
}[];
|
|
897
858
|
optional: {
|
|
898
|
-
type: string;
|
|
899
859
|
name: string;
|
|
860
|
+
type: string;
|
|
900
861
|
description: string;
|
|
901
862
|
required: boolean;
|
|
902
863
|
displayName: string;
|
|
@@ -912,15 +873,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
912
873
|
type: z.ZodString;
|
|
913
874
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
914
875
|
}, "strip", z.ZodTypeAny, {
|
|
915
|
-
type: string;
|
|
916
876
|
name: string;
|
|
877
|
+
type: string;
|
|
917
878
|
description: string;
|
|
918
879
|
required: boolean;
|
|
919
880
|
displayName: string;
|
|
920
881
|
default?: string | null | undefined;
|
|
921
882
|
}, {
|
|
922
|
-
type: string;
|
|
923
883
|
name: string;
|
|
884
|
+
type: string;
|
|
924
885
|
description: string;
|
|
925
886
|
required: boolean;
|
|
926
887
|
displayName: string;
|
|
@@ -934,15 +895,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
934
895
|
type: z.ZodString;
|
|
935
896
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
936
897
|
}, "strip", z.ZodTypeAny, {
|
|
937
|
-
type: string;
|
|
938
898
|
name: string;
|
|
899
|
+
type: string;
|
|
939
900
|
description: string;
|
|
940
901
|
required: boolean;
|
|
941
902
|
displayName: string;
|
|
942
903
|
default?: string | null | undefined;
|
|
943
904
|
}, {
|
|
944
|
-
type: string;
|
|
945
905
|
name: string;
|
|
906
|
+
type: string;
|
|
946
907
|
description: string;
|
|
947
908
|
required: boolean;
|
|
948
909
|
displayName: string;
|
|
@@ -950,16 +911,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
950
911
|
}>, "many">;
|
|
951
912
|
}, "strip", z.ZodTypeAny, {
|
|
952
913
|
required: {
|
|
953
|
-
type: string;
|
|
954
914
|
name: string;
|
|
915
|
+
type: string;
|
|
955
916
|
description: string;
|
|
956
917
|
required: boolean;
|
|
957
918
|
displayName: string;
|
|
958
919
|
default?: string | null | undefined;
|
|
959
920
|
}[];
|
|
960
921
|
optional: {
|
|
961
|
-
type: string;
|
|
962
922
|
name: string;
|
|
923
|
+
type: string;
|
|
963
924
|
description: string;
|
|
964
925
|
required: boolean;
|
|
965
926
|
displayName: string;
|
|
@@ -967,16 +928,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
967
928
|
}[];
|
|
968
929
|
}, {
|
|
969
930
|
required: {
|
|
970
|
-
type: string;
|
|
971
931
|
name: string;
|
|
932
|
+
type: string;
|
|
972
933
|
description: string;
|
|
973
934
|
required: boolean;
|
|
974
935
|
displayName: string;
|
|
975
936
|
default?: string | null | undefined;
|
|
976
937
|
}[];
|
|
977
938
|
optional: {
|
|
978
|
-
type: string;
|
|
979
939
|
name: string;
|
|
940
|
+
type: string;
|
|
980
941
|
description: string;
|
|
981
942
|
required: boolean;
|
|
982
943
|
displayName: string;
|
|
@@ -986,16 +947,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
986
947
|
}, "strip", z.ZodTypeAny, {
|
|
987
948
|
authConfigCreation: {
|
|
988
949
|
required: {
|
|
989
|
-
type: string;
|
|
990
950
|
name: string;
|
|
951
|
+
type: string;
|
|
991
952
|
description: string;
|
|
992
953
|
required: boolean;
|
|
993
954
|
displayName: string;
|
|
994
955
|
default?: string | null | undefined;
|
|
995
956
|
}[];
|
|
996
957
|
optional: {
|
|
997
|
-
type: string;
|
|
998
958
|
name: string;
|
|
959
|
+
type: string;
|
|
999
960
|
description: string;
|
|
1000
961
|
required: boolean;
|
|
1001
962
|
displayName: string;
|
|
@@ -1004,16 +965,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1004
965
|
};
|
|
1005
966
|
connectedAccountInitiation: {
|
|
1006
967
|
required: {
|
|
1007
|
-
type: string;
|
|
1008
968
|
name: string;
|
|
969
|
+
type: string;
|
|
1009
970
|
description: string;
|
|
1010
971
|
required: boolean;
|
|
1011
972
|
displayName: string;
|
|
1012
973
|
default?: string | null | undefined;
|
|
1013
974
|
}[];
|
|
1014
975
|
optional: {
|
|
1015
|
-
type: string;
|
|
1016
976
|
name: string;
|
|
977
|
+
type: string;
|
|
1017
978
|
description: string;
|
|
1018
979
|
required: boolean;
|
|
1019
980
|
displayName: string;
|
|
@@ -1023,16 +984,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1023
984
|
}, {
|
|
1024
985
|
authConfigCreation: {
|
|
1025
986
|
required: {
|
|
1026
|
-
type: string;
|
|
1027
987
|
name: string;
|
|
988
|
+
type: string;
|
|
1028
989
|
description: string;
|
|
1029
990
|
required: boolean;
|
|
1030
991
|
displayName: string;
|
|
1031
992
|
default?: string | null | undefined;
|
|
1032
993
|
}[];
|
|
1033
994
|
optional: {
|
|
1034
|
-
type: string;
|
|
1035
995
|
name: string;
|
|
996
|
+
type: string;
|
|
1036
997
|
description: string;
|
|
1037
998
|
required: boolean;
|
|
1038
999
|
displayName: string;
|
|
@@ -1041,16 +1002,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1041
1002
|
};
|
|
1042
1003
|
connectedAccountInitiation: {
|
|
1043
1004
|
required: {
|
|
1044
|
-
type: string;
|
|
1045
1005
|
name: string;
|
|
1006
|
+
type: string;
|
|
1046
1007
|
description: string;
|
|
1047
1008
|
required: boolean;
|
|
1048
1009
|
displayName: string;
|
|
1049
1010
|
default?: string | null | undefined;
|
|
1050
1011
|
}[];
|
|
1051
1012
|
optional: {
|
|
1052
|
-
type: string;
|
|
1053
1013
|
name: string;
|
|
1014
|
+
type: string;
|
|
1054
1015
|
description: string;
|
|
1055
1016
|
required: boolean;
|
|
1056
1017
|
displayName: string;
|
|
@@ -1071,16 +1032,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1071
1032
|
fields: {
|
|
1072
1033
|
authConfigCreation: {
|
|
1073
1034
|
required: {
|
|
1074
|
-
type: string;
|
|
1075
1035
|
name: string;
|
|
1036
|
+
type: string;
|
|
1076
1037
|
description: string;
|
|
1077
1038
|
required: boolean;
|
|
1078
1039
|
displayName: string;
|
|
1079
1040
|
default?: string | null | undefined;
|
|
1080
1041
|
}[];
|
|
1081
1042
|
optional: {
|
|
1082
|
-
type: string;
|
|
1083
1043
|
name: string;
|
|
1044
|
+
type: string;
|
|
1084
1045
|
description: string;
|
|
1085
1046
|
required: boolean;
|
|
1086
1047
|
displayName: string;
|
|
@@ -1089,16 +1050,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1089
1050
|
};
|
|
1090
1051
|
connectedAccountInitiation: {
|
|
1091
1052
|
required: {
|
|
1092
|
-
type: string;
|
|
1093
1053
|
name: string;
|
|
1054
|
+
type: string;
|
|
1094
1055
|
description: string;
|
|
1095
1056
|
required: boolean;
|
|
1096
1057
|
displayName: string;
|
|
1097
1058
|
default?: string | null | undefined;
|
|
1098
1059
|
}[];
|
|
1099
1060
|
optional: {
|
|
1100
|
-
type: string;
|
|
1101
1061
|
name: string;
|
|
1062
|
+
type: string;
|
|
1102
1063
|
description: string;
|
|
1103
1064
|
required: boolean;
|
|
1104
1065
|
displayName: string;
|
|
@@ -1115,16 +1076,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1115
1076
|
fields: {
|
|
1116
1077
|
authConfigCreation: {
|
|
1117
1078
|
required: {
|
|
1118
|
-
type: string;
|
|
1119
1079
|
name: string;
|
|
1080
|
+
type: string;
|
|
1120
1081
|
description: string;
|
|
1121
1082
|
required: boolean;
|
|
1122
1083
|
displayName: string;
|
|
1123
1084
|
default?: string | null | undefined;
|
|
1124
1085
|
}[];
|
|
1125
1086
|
optional: {
|
|
1126
|
-
type: string;
|
|
1127
1087
|
name: string;
|
|
1088
|
+
type: string;
|
|
1128
1089
|
description: string;
|
|
1129
1090
|
required: boolean;
|
|
1130
1091
|
displayName: string;
|
|
@@ -1133,16 +1094,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1133
1094
|
};
|
|
1134
1095
|
connectedAccountInitiation: {
|
|
1135
1096
|
required: {
|
|
1136
|
-
type: string;
|
|
1137
1097
|
name: string;
|
|
1098
|
+
type: string;
|
|
1138
1099
|
description: string;
|
|
1139
1100
|
required: boolean;
|
|
1140
1101
|
displayName: string;
|
|
1141
1102
|
default?: string | null | undefined;
|
|
1142
1103
|
}[];
|
|
1143
1104
|
optional: {
|
|
1144
|
-
type: string;
|
|
1145
1105
|
name: string;
|
|
1106
|
+
type: string;
|
|
1146
1107
|
description: string;
|
|
1147
1108
|
required: boolean;
|
|
1148
1109
|
displayName: string;
|
|
@@ -1162,11 +1123,11 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1162
1123
|
slug: z.ZodString;
|
|
1163
1124
|
name: z.ZodString;
|
|
1164
1125
|
}, "strip", z.ZodTypeAny, {
|
|
1165
|
-
name: string;
|
|
1166
1126
|
slug: string;
|
|
1167
|
-
}, {
|
|
1168
1127
|
name: string;
|
|
1128
|
+
}, {
|
|
1169
1129
|
slug: string;
|
|
1130
|
+
name: string;
|
|
1170
1131
|
}>, "many">>;
|
|
1171
1132
|
appUrl: z.ZodOptional<z.ZodString>;
|
|
1172
1133
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1177,27 +1138,27 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1177
1138
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1178
1139
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1179
1140
|
}, "strip", z.ZodTypeAny, {
|
|
1180
|
-
createdAt?: string | undefined;
|
|
1181
|
-
updatedAt?: string | undefined;
|
|
1182
1141
|
logo?: string | undefined;
|
|
1183
1142
|
description?: string | undefined;
|
|
1184
1143
|
availableVersions?: string[] | undefined;
|
|
1144
|
+
createdAt?: string | undefined;
|
|
1145
|
+
updatedAt?: string | undefined;
|
|
1185
1146
|
categories?: {
|
|
1186
|
-
name: string;
|
|
1187
1147
|
slug: string;
|
|
1148
|
+
name: string;
|
|
1188
1149
|
}[] | undefined;
|
|
1189
1150
|
appUrl?: string | undefined;
|
|
1190
1151
|
toolsCount?: number | undefined;
|
|
1191
1152
|
triggersCount?: number | undefined;
|
|
1192
1153
|
}, {
|
|
1193
|
-
createdAt?: string | undefined;
|
|
1194
|
-
updatedAt?: string | undefined;
|
|
1195
1154
|
logo?: string | undefined;
|
|
1196
1155
|
description?: string | undefined;
|
|
1197
1156
|
availableVersions?: string[] | undefined;
|
|
1157
|
+
createdAt?: string | undefined;
|
|
1158
|
+
updatedAt?: string | undefined;
|
|
1198
1159
|
categories?: {
|
|
1199
|
-
name: string;
|
|
1200
1160
|
slug: string;
|
|
1161
|
+
name: string;
|
|
1201
1162
|
}[] | undefined;
|
|
1202
1163
|
appUrl?: string | undefined;
|
|
1203
1164
|
toolsCount?: number | undefined;
|
|
@@ -1218,15 +1179,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1218
1179
|
type: z.ZodString;
|
|
1219
1180
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1220
1181
|
}, "strip", z.ZodTypeAny, {
|
|
1221
|
-
type: string;
|
|
1222
1182
|
name: string;
|
|
1183
|
+
type: string;
|
|
1223
1184
|
description: string;
|
|
1224
1185
|
required: boolean;
|
|
1225
1186
|
displayName: string;
|
|
1226
1187
|
default?: string | null | undefined;
|
|
1227
1188
|
}, {
|
|
1228
|
-
type: string;
|
|
1229
1189
|
name: string;
|
|
1190
|
+
type: string;
|
|
1230
1191
|
description: string;
|
|
1231
1192
|
required: boolean;
|
|
1232
1193
|
displayName: string;
|
|
@@ -1240,15 +1201,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1240
1201
|
type: z.ZodString;
|
|
1241
1202
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1242
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1243
|
-
type: string;
|
|
1244
1204
|
name: string;
|
|
1205
|
+
type: string;
|
|
1245
1206
|
description: string;
|
|
1246
1207
|
required: boolean;
|
|
1247
1208
|
displayName: string;
|
|
1248
1209
|
default?: string | null | undefined;
|
|
1249
1210
|
}, {
|
|
1250
|
-
type: string;
|
|
1251
1211
|
name: string;
|
|
1212
|
+
type: string;
|
|
1252
1213
|
description: string;
|
|
1253
1214
|
required: boolean;
|
|
1254
1215
|
displayName: string;
|
|
@@ -1256,16 +1217,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1256
1217
|
}>, "many">;
|
|
1257
1218
|
}, "strip", z.ZodTypeAny, {
|
|
1258
1219
|
required: {
|
|
1259
|
-
type: string;
|
|
1260
1220
|
name: string;
|
|
1221
|
+
type: string;
|
|
1261
1222
|
description: string;
|
|
1262
1223
|
required: boolean;
|
|
1263
1224
|
displayName: string;
|
|
1264
1225
|
default?: string | null | undefined;
|
|
1265
1226
|
}[];
|
|
1266
1227
|
optional: {
|
|
1267
|
-
type: string;
|
|
1268
1228
|
name: string;
|
|
1229
|
+
type: string;
|
|
1269
1230
|
description: string;
|
|
1270
1231
|
required: boolean;
|
|
1271
1232
|
displayName: string;
|
|
@@ -1273,16 +1234,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1273
1234
|
}[];
|
|
1274
1235
|
}, {
|
|
1275
1236
|
required: {
|
|
1276
|
-
type: string;
|
|
1277
1237
|
name: string;
|
|
1238
|
+
type: string;
|
|
1278
1239
|
description: string;
|
|
1279
1240
|
required: boolean;
|
|
1280
1241
|
displayName: string;
|
|
1281
1242
|
default?: string | null | undefined;
|
|
1282
1243
|
}[];
|
|
1283
1244
|
optional: {
|
|
1284
|
-
type: string;
|
|
1285
1245
|
name: string;
|
|
1246
|
+
type: string;
|
|
1286
1247
|
description: string;
|
|
1287
1248
|
required: boolean;
|
|
1288
1249
|
displayName: string;
|
|
@@ -1298,15 +1259,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1298
1259
|
type: z.ZodString;
|
|
1299
1260
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1300
1261
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
type: string;
|
|
1302
1262
|
name: string;
|
|
1263
|
+
type: string;
|
|
1303
1264
|
description: string;
|
|
1304
1265
|
required: boolean;
|
|
1305
1266
|
displayName: string;
|
|
1306
1267
|
default?: string | null | undefined;
|
|
1307
1268
|
}, {
|
|
1308
|
-
type: string;
|
|
1309
1269
|
name: string;
|
|
1270
|
+
type: string;
|
|
1310
1271
|
description: string;
|
|
1311
1272
|
required: boolean;
|
|
1312
1273
|
displayName: string;
|
|
@@ -1320,15 +1281,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1320
1281
|
type: z.ZodString;
|
|
1321
1282
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1322
1283
|
}, "strip", z.ZodTypeAny, {
|
|
1323
|
-
type: string;
|
|
1324
1284
|
name: string;
|
|
1285
|
+
type: string;
|
|
1325
1286
|
description: string;
|
|
1326
1287
|
required: boolean;
|
|
1327
1288
|
displayName: string;
|
|
1328
1289
|
default?: string | null | undefined;
|
|
1329
1290
|
}, {
|
|
1330
|
-
type: string;
|
|
1331
1291
|
name: string;
|
|
1292
|
+
type: string;
|
|
1332
1293
|
description: string;
|
|
1333
1294
|
required: boolean;
|
|
1334
1295
|
displayName: string;
|
|
@@ -1336,16 +1297,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1336
1297
|
}>, "many">;
|
|
1337
1298
|
}, "strip", z.ZodTypeAny, {
|
|
1338
1299
|
required: {
|
|
1339
|
-
type: string;
|
|
1340
1300
|
name: string;
|
|
1301
|
+
type: string;
|
|
1341
1302
|
description: string;
|
|
1342
1303
|
required: boolean;
|
|
1343
1304
|
displayName: string;
|
|
1344
1305
|
default?: string | null | undefined;
|
|
1345
1306
|
}[];
|
|
1346
1307
|
optional: {
|
|
1347
|
-
type: string;
|
|
1348
1308
|
name: string;
|
|
1309
|
+
type: string;
|
|
1349
1310
|
description: string;
|
|
1350
1311
|
required: boolean;
|
|
1351
1312
|
displayName: string;
|
|
@@ -1353,16 +1314,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1353
1314
|
}[];
|
|
1354
1315
|
}, {
|
|
1355
1316
|
required: {
|
|
1356
|
-
type: string;
|
|
1357
1317
|
name: string;
|
|
1318
|
+
type: string;
|
|
1358
1319
|
description: string;
|
|
1359
1320
|
required: boolean;
|
|
1360
1321
|
displayName: string;
|
|
1361
1322
|
default?: string | null | undefined;
|
|
1362
1323
|
}[];
|
|
1363
1324
|
optional: {
|
|
1364
|
-
type: string;
|
|
1365
1325
|
name: string;
|
|
1326
|
+
type: string;
|
|
1366
1327
|
description: string;
|
|
1367
1328
|
required: boolean;
|
|
1368
1329
|
displayName: string;
|
|
@@ -1372,16 +1333,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1372
1333
|
}, "strip", z.ZodTypeAny, {
|
|
1373
1334
|
authConfigCreation: {
|
|
1374
1335
|
required: {
|
|
1375
|
-
type: string;
|
|
1376
1336
|
name: string;
|
|
1337
|
+
type: string;
|
|
1377
1338
|
description: string;
|
|
1378
1339
|
required: boolean;
|
|
1379
1340
|
displayName: string;
|
|
1380
1341
|
default?: string | null | undefined;
|
|
1381
1342
|
}[];
|
|
1382
1343
|
optional: {
|
|
1383
|
-
type: string;
|
|
1384
1344
|
name: string;
|
|
1345
|
+
type: string;
|
|
1385
1346
|
description: string;
|
|
1386
1347
|
required: boolean;
|
|
1387
1348
|
displayName: string;
|
|
@@ -1390,16 +1351,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1390
1351
|
};
|
|
1391
1352
|
connectedAccountInitiation: {
|
|
1392
1353
|
required: {
|
|
1393
|
-
type: string;
|
|
1394
1354
|
name: string;
|
|
1355
|
+
type: string;
|
|
1395
1356
|
description: string;
|
|
1396
1357
|
required: boolean;
|
|
1397
1358
|
displayName: string;
|
|
1398
1359
|
default?: string | null | undefined;
|
|
1399
1360
|
}[];
|
|
1400
1361
|
optional: {
|
|
1401
|
-
type: string;
|
|
1402
1362
|
name: string;
|
|
1363
|
+
type: string;
|
|
1403
1364
|
description: string;
|
|
1404
1365
|
required: boolean;
|
|
1405
1366
|
displayName: string;
|
|
@@ -1409,16 +1370,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1409
1370
|
}, {
|
|
1410
1371
|
authConfigCreation: {
|
|
1411
1372
|
required: {
|
|
1412
|
-
type: string;
|
|
1413
1373
|
name: string;
|
|
1374
|
+
type: string;
|
|
1414
1375
|
description: string;
|
|
1415
1376
|
required: boolean;
|
|
1416
1377
|
displayName: string;
|
|
1417
1378
|
default?: string | null | undefined;
|
|
1418
1379
|
}[];
|
|
1419
1380
|
optional: {
|
|
1420
|
-
type: string;
|
|
1421
1381
|
name: string;
|
|
1382
|
+
type: string;
|
|
1422
1383
|
description: string;
|
|
1423
1384
|
required: boolean;
|
|
1424
1385
|
displayName: string;
|
|
@@ -1427,16 +1388,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1427
1388
|
};
|
|
1428
1389
|
connectedAccountInitiation: {
|
|
1429
1390
|
required: {
|
|
1430
|
-
type: string;
|
|
1431
1391
|
name: string;
|
|
1392
|
+
type: string;
|
|
1432
1393
|
description: string;
|
|
1433
1394
|
required: boolean;
|
|
1434
1395
|
displayName: string;
|
|
1435
1396
|
default?: string | null | undefined;
|
|
1436
1397
|
}[];
|
|
1437
1398
|
optional: {
|
|
1438
|
-
type: string;
|
|
1439
1399
|
name: string;
|
|
1400
|
+
type: string;
|
|
1440
1401
|
description: string;
|
|
1441
1402
|
required: boolean;
|
|
1442
1403
|
displayName: string;
|
|
@@ -1457,16 +1418,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1457
1418
|
fields: {
|
|
1458
1419
|
authConfigCreation: {
|
|
1459
1420
|
required: {
|
|
1460
|
-
type: string;
|
|
1461
1421
|
name: string;
|
|
1422
|
+
type: string;
|
|
1462
1423
|
description: string;
|
|
1463
1424
|
required: boolean;
|
|
1464
1425
|
displayName: string;
|
|
1465
1426
|
default?: string | null | undefined;
|
|
1466
1427
|
}[];
|
|
1467
1428
|
optional: {
|
|
1468
|
-
type: string;
|
|
1469
1429
|
name: string;
|
|
1430
|
+
type: string;
|
|
1470
1431
|
description: string;
|
|
1471
1432
|
required: boolean;
|
|
1472
1433
|
displayName: string;
|
|
@@ -1475,16 +1436,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1475
1436
|
};
|
|
1476
1437
|
connectedAccountInitiation: {
|
|
1477
1438
|
required: {
|
|
1478
|
-
type: string;
|
|
1479
1439
|
name: string;
|
|
1440
|
+
type: string;
|
|
1480
1441
|
description: string;
|
|
1481
1442
|
required: boolean;
|
|
1482
1443
|
displayName: string;
|
|
1483
1444
|
default?: string | null | undefined;
|
|
1484
1445
|
}[];
|
|
1485
1446
|
optional: {
|
|
1486
|
-
type: string;
|
|
1487
1447
|
name: string;
|
|
1448
|
+
type: string;
|
|
1488
1449
|
description: string;
|
|
1489
1450
|
required: boolean;
|
|
1490
1451
|
displayName: string;
|
|
@@ -1501,16 +1462,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1501
1462
|
fields: {
|
|
1502
1463
|
authConfigCreation: {
|
|
1503
1464
|
required: {
|
|
1504
|
-
type: string;
|
|
1505
1465
|
name: string;
|
|
1466
|
+
type: string;
|
|
1506
1467
|
description: string;
|
|
1507
1468
|
required: boolean;
|
|
1508
1469
|
displayName: string;
|
|
1509
1470
|
default?: string | null | undefined;
|
|
1510
1471
|
}[];
|
|
1511
1472
|
optional: {
|
|
1512
|
-
type: string;
|
|
1513
1473
|
name: string;
|
|
1474
|
+
type: string;
|
|
1514
1475
|
description: string;
|
|
1515
1476
|
required: boolean;
|
|
1516
1477
|
displayName: string;
|
|
@@ -1519,16 +1480,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1519
1480
|
};
|
|
1520
1481
|
connectedAccountInitiation: {
|
|
1521
1482
|
required: {
|
|
1522
|
-
type: string;
|
|
1523
1483
|
name: string;
|
|
1484
|
+
type: string;
|
|
1524
1485
|
description: string;
|
|
1525
1486
|
required: boolean;
|
|
1526
1487
|
displayName: string;
|
|
1527
1488
|
default?: string | null | undefined;
|
|
1528
1489
|
}[];
|
|
1529
1490
|
optional: {
|
|
1530
|
-
type: string;
|
|
1531
1491
|
name: string;
|
|
1492
|
+
type: string;
|
|
1532
1493
|
description: string;
|
|
1533
1494
|
required: boolean;
|
|
1534
1495
|
displayName: string;
|
|
@@ -1544,17 +1505,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1544
1505
|
getCurrentUserEndpoint: z.ZodOptional<z.ZodString>;
|
|
1545
1506
|
getCurrentUserEndpointMethod: z.ZodOptional<z.ZodString>;
|
|
1546
1507
|
}, "strip", z.ZodTypeAny, {
|
|
1547
|
-
name: string;
|
|
1548
1508
|
slug: string;
|
|
1509
|
+
name: string;
|
|
1549
1510
|
meta: {
|
|
1550
|
-
createdAt?: string | undefined;
|
|
1551
|
-
updatedAt?: string | undefined;
|
|
1552
1511
|
logo?: string | undefined;
|
|
1553
1512
|
description?: string | undefined;
|
|
1554
1513
|
availableVersions?: string[] | undefined;
|
|
1514
|
+
createdAt?: string | undefined;
|
|
1515
|
+
updatedAt?: string | undefined;
|
|
1555
1516
|
categories?: {
|
|
1556
|
-
name: string;
|
|
1557
1517
|
slug: string;
|
|
1518
|
+
name: string;
|
|
1558
1519
|
}[] | undefined;
|
|
1559
1520
|
appUrl?: string | undefined;
|
|
1560
1521
|
toolsCount?: number | undefined;
|
|
@@ -1569,16 +1530,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1569
1530
|
fields: {
|
|
1570
1531
|
authConfigCreation: {
|
|
1571
1532
|
required: {
|
|
1572
|
-
type: string;
|
|
1573
1533
|
name: string;
|
|
1534
|
+
type: string;
|
|
1574
1535
|
description: string;
|
|
1575
1536
|
required: boolean;
|
|
1576
1537
|
displayName: string;
|
|
1577
1538
|
default?: string | null | undefined;
|
|
1578
1539
|
}[];
|
|
1579
1540
|
optional: {
|
|
1580
|
-
type: string;
|
|
1581
1541
|
name: string;
|
|
1542
|
+
type: string;
|
|
1582
1543
|
description: string;
|
|
1583
1544
|
required: boolean;
|
|
1584
1545
|
displayName: string;
|
|
@@ -1587,16 +1548,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1587
1548
|
};
|
|
1588
1549
|
connectedAccountInitiation: {
|
|
1589
1550
|
required: {
|
|
1590
|
-
type: string;
|
|
1591
1551
|
name: string;
|
|
1552
|
+
type: string;
|
|
1592
1553
|
description: string;
|
|
1593
1554
|
required: boolean;
|
|
1594
1555
|
displayName: string;
|
|
1595
1556
|
default?: string | null | undefined;
|
|
1596
1557
|
}[];
|
|
1597
1558
|
optional: {
|
|
1598
|
-
type: string;
|
|
1599
1559
|
name: string;
|
|
1560
|
+
type: string;
|
|
1600
1561
|
description: string;
|
|
1601
1562
|
required: boolean;
|
|
1602
1563
|
displayName: string;
|
|
@@ -1611,17 +1572,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1611
1572
|
getCurrentUserEndpoint?: string | undefined;
|
|
1612
1573
|
getCurrentUserEndpointMethod?: string | undefined;
|
|
1613
1574
|
}, {
|
|
1614
|
-
name: string;
|
|
1615
1575
|
slug: string;
|
|
1576
|
+
name: string;
|
|
1616
1577
|
meta: {
|
|
1617
|
-
createdAt?: string | undefined;
|
|
1618
|
-
updatedAt?: string | undefined;
|
|
1619
1578
|
logo?: string | undefined;
|
|
1620
1579
|
description?: string | undefined;
|
|
1621
1580
|
availableVersions?: string[] | undefined;
|
|
1581
|
+
createdAt?: string | undefined;
|
|
1582
|
+
updatedAt?: string | undefined;
|
|
1622
1583
|
categories?: {
|
|
1623
|
-
name: string;
|
|
1624
1584
|
slug: string;
|
|
1585
|
+
name: string;
|
|
1625
1586
|
}[] | undefined;
|
|
1626
1587
|
appUrl?: string | undefined;
|
|
1627
1588
|
toolsCount?: number | undefined;
|
|
@@ -1636,16 +1597,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1636
1597
|
fields: {
|
|
1637
1598
|
authConfigCreation: {
|
|
1638
1599
|
required: {
|
|
1639
|
-
type: string;
|
|
1640
1600
|
name: string;
|
|
1601
|
+
type: string;
|
|
1641
1602
|
description: string;
|
|
1642
1603
|
required: boolean;
|
|
1643
1604
|
displayName: string;
|
|
1644
1605
|
default?: string | null | undefined;
|
|
1645
1606
|
}[];
|
|
1646
1607
|
optional: {
|
|
1647
|
-
type: string;
|
|
1648
1608
|
name: string;
|
|
1609
|
+
type: string;
|
|
1649
1610
|
description: string;
|
|
1650
1611
|
required: boolean;
|
|
1651
1612
|
displayName: string;
|
|
@@ -1654,16 +1615,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1654
1615
|
};
|
|
1655
1616
|
connectedAccountInitiation: {
|
|
1656
1617
|
required: {
|
|
1657
|
-
type: string;
|
|
1658
1618
|
name: string;
|
|
1619
|
+
type: string;
|
|
1659
1620
|
description: string;
|
|
1660
1621
|
required: boolean;
|
|
1661
1622
|
displayName: string;
|
|
1662
1623
|
default?: string | null | undefined;
|
|
1663
1624
|
}[];
|
|
1664
1625
|
optional: {
|
|
1665
|
-
type: string;
|
|
1666
1626
|
name: string;
|
|
1627
|
+
type: string;
|
|
1667
1628
|
description: string;
|
|
1668
1629
|
required: boolean;
|
|
1669
1630
|
displayName: string;
|
|
@@ -1733,15 +1694,15 @@ declare const ToolkitAuthFieldsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
1733
1694
|
} & {
|
|
1734
1695
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1735
1696
|
}, "strip", z.ZodTypeAny, {
|
|
1736
|
-
type: string;
|
|
1737
1697
|
name: string;
|
|
1698
|
+
type: string;
|
|
1738
1699
|
description: string;
|
|
1739
1700
|
displayName: string;
|
|
1740
1701
|
required?: boolean | undefined;
|
|
1741
1702
|
default?: string | null | undefined;
|
|
1742
1703
|
}, {
|
|
1743
|
-
type: string;
|
|
1744
1704
|
name: string;
|
|
1705
|
+
type: string;
|
|
1745
1706
|
description: string;
|
|
1746
1707
|
displayName: string;
|
|
1747
1708
|
required?: boolean | undefined;
|
|
@@ -1988,13 +1949,13 @@ declare const CreateAuthConfigResponseSchema: z.ZodObject<{
|
|
|
1988
1949
|
toolkit: z.ZodString;
|
|
1989
1950
|
}, "strip", z.ZodTypeAny, {
|
|
1990
1951
|
toolkit: string;
|
|
1991
|
-
id: string;
|
|
1992
1952
|
authScheme: string;
|
|
1953
|
+
id: string;
|
|
1993
1954
|
isComposioManaged: boolean;
|
|
1994
1955
|
}, {
|
|
1995
1956
|
toolkit: string;
|
|
1996
|
-
id: string;
|
|
1997
1957
|
authScheme: string;
|
|
1958
|
+
id: string;
|
|
1998
1959
|
isComposioManaged: boolean;
|
|
1999
1960
|
}>;
|
|
2000
1961
|
type CreateAuthConfigResponse = z.infer<typeof CreateAuthConfigResponseSchema>;
|
|
@@ -2036,45 +1997,45 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
2036
1997
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2037
1998
|
}>>;
|
|
2038
1999
|
}, "strip", z.ZodTypeAny, {
|
|
2000
|
+
name: string;
|
|
2001
|
+
status: "ENABLED" | "DISABLED";
|
|
2039
2002
|
toolkit: {
|
|
2040
2003
|
slug: string;
|
|
2041
2004
|
logo: string;
|
|
2042
2005
|
};
|
|
2043
|
-
status: "ENABLED" | "DISABLED";
|
|
2044
|
-
name: string;
|
|
2045
2006
|
id: string;
|
|
2046
2007
|
noOfConnections: number;
|
|
2047
|
-
createdAt?: string | undefined;
|
|
2048
2008
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2049
|
-
|
|
2009
|
+
createdAt?: string | undefined;
|
|
2050
2010
|
credentials?: Record<string, unknown> | undefined;
|
|
2051
2011
|
toolAccessConfig?: {
|
|
2052
2012
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2053
2013
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2054
2014
|
} | undefined;
|
|
2055
2015
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2016
|
+
isComposioManaged?: boolean | undefined;
|
|
2056
2017
|
expectedInputFields?: unknown[] | undefined;
|
|
2057
2018
|
restrictToFollowingTools?: string[] | undefined;
|
|
2058
2019
|
createdBy?: string | undefined;
|
|
2059
2020
|
lastUpdatedAt?: string | undefined;
|
|
2060
2021
|
}, {
|
|
2022
|
+
name: string;
|
|
2023
|
+
status: "ENABLED" | "DISABLED";
|
|
2061
2024
|
toolkit: {
|
|
2062
2025
|
slug: string;
|
|
2063
2026
|
logo: string;
|
|
2064
2027
|
};
|
|
2065
|
-
status: "ENABLED" | "DISABLED";
|
|
2066
|
-
name: string;
|
|
2067
2028
|
id: string;
|
|
2068
2029
|
noOfConnections: number;
|
|
2069
|
-
createdAt?: string | undefined;
|
|
2070
2030
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2071
|
-
|
|
2031
|
+
createdAt?: string | undefined;
|
|
2072
2032
|
credentials?: Record<string, unknown> | undefined;
|
|
2073
2033
|
toolAccessConfig?: {
|
|
2074
2034
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2075
2035
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2076
2036
|
} | undefined;
|
|
2077
2037
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2038
|
+
isComposioManaged?: boolean | undefined;
|
|
2078
2039
|
expectedInputFields?: unknown[] | undefined;
|
|
2079
2040
|
restrictToFollowingTools?: string[] | undefined;
|
|
2080
2041
|
createdBy?: string | undefined;
|
|
@@ -2090,16 +2051,16 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
|
|
|
2090
2051
|
toolkit: z.ZodOptional<z.ZodString>;
|
|
2091
2052
|
}, "strip", z.ZodTypeAny, {
|
|
2092
2053
|
toolkit?: string | undefined;
|
|
2093
|
-
cursor?: string | undefined;
|
|
2094
2054
|
limit?: number | undefined;
|
|
2095
2055
|
search?: string | undefined;
|
|
2056
|
+
cursor?: string | undefined;
|
|
2096
2057
|
isComposioManaged?: boolean | undefined;
|
|
2097
2058
|
showDisabled?: boolean | undefined;
|
|
2098
2059
|
}, {
|
|
2099
2060
|
toolkit?: string | undefined;
|
|
2100
|
-
cursor?: string | undefined;
|
|
2101
2061
|
limit?: number | undefined;
|
|
2102
2062
|
search?: string | undefined;
|
|
2063
|
+
cursor?: string | undefined;
|
|
2103
2064
|
isComposioManaged?: boolean | undefined;
|
|
2104
2065
|
showDisabled?: boolean | undefined;
|
|
2105
2066
|
}>;
|
|
@@ -2143,45 +2104,45 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2143
2104
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2144
2105
|
}>>;
|
|
2145
2106
|
}, "strip", z.ZodTypeAny, {
|
|
2107
|
+
name: string;
|
|
2108
|
+
status: "ENABLED" | "DISABLED";
|
|
2146
2109
|
toolkit: {
|
|
2147
2110
|
slug: string;
|
|
2148
2111
|
logo: string;
|
|
2149
2112
|
};
|
|
2150
|
-
status: "ENABLED" | "DISABLED";
|
|
2151
|
-
name: string;
|
|
2152
2113
|
id: string;
|
|
2153
2114
|
noOfConnections: number;
|
|
2154
|
-
createdAt?: string | undefined;
|
|
2155
2115
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2156
|
-
|
|
2116
|
+
createdAt?: string | undefined;
|
|
2157
2117
|
credentials?: Record<string, unknown> | undefined;
|
|
2158
2118
|
toolAccessConfig?: {
|
|
2159
2119
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2160
2120
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2161
2121
|
} | undefined;
|
|
2162
2122
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2123
|
+
isComposioManaged?: boolean | undefined;
|
|
2163
2124
|
expectedInputFields?: unknown[] | undefined;
|
|
2164
2125
|
restrictToFollowingTools?: string[] | undefined;
|
|
2165
2126
|
createdBy?: string | undefined;
|
|
2166
2127
|
lastUpdatedAt?: string | undefined;
|
|
2167
2128
|
}, {
|
|
2129
|
+
name: string;
|
|
2130
|
+
status: "ENABLED" | "DISABLED";
|
|
2168
2131
|
toolkit: {
|
|
2169
2132
|
slug: string;
|
|
2170
2133
|
logo: string;
|
|
2171
2134
|
};
|
|
2172
|
-
status: "ENABLED" | "DISABLED";
|
|
2173
|
-
name: string;
|
|
2174
2135
|
id: string;
|
|
2175
2136
|
noOfConnections: number;
|
|
2176
|
-
createdAt?: string | undefined;
|
|
2177
2137
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2178
|
-
|
|
2138
|
+
createdAt?: string | undefined;
|
|
2179
2139
|
credentials?: Record<string, unknown> | undefined;
|
|
2180
2140
|
toolAccessConfig?: {
|
|
2181
2141
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2182
2142
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2183
2143
|
} | undefined;
|
|
2184
2144
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2145
|
+
isComposioManaged?: boolean | undefined;
|
|
2185
2146
|
expectedInputFields?: unknown[] | undefined;
|
|
2186
2147
|
restrictToFollowingTools?: string[] | undefined;
|
|
2187
2148
|
createdBy?: string | undefined;
|
|
@@ -2191,23 +2152,23 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2191
2152
|
totalPages: z.ZodNumber;
|
|
2192
2153
|
}, "strip", z.ZodTypeAny, {
|
|
2193
2154
|
items: {
|
|
2155
|
+
name: string;
|
|
2156
|
+
status: "ENABLED" | "DISABLED";
|
|
2194
2157
|
toolkit: {
|
|
2195
2158
|
slug: string;
|
|
2196
2159
|
logo: string;
|
|
2197
2160
|
};
|
|
2198
|
-
status: "ENABLED" | "DISABLED";
|
|
2199
|
-
name: string;
|
|
2200
2161
|
id: string;
|
|
2201
2162
|
noOfConnections: number;
|
|
2202
|
-
createdAt?: string | undefined;
|
|
2203
2163
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2204
|
-
|
|
2164
|
+
createdAt?: string | undefined;
|
|
2205
2165
|
credentials?: Record<string, unknown> | undefined;
|
|
2206
2166
|
toolAccessConfig?: {
|
|
2207
2167
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2208
2168
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2209
2169
|
} | undefined;
|
|
2210
2170
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2171
|
+
isComposioManaged?: boolean | undefined;
|
|
2211
2172
|
expectedInputFields?: unknown[] | undefined;
|
|
2212
2173
|
restrictToFollowingTools?: string[] | undefined;
|
|
2213
2174
|
createdBy?: string | undefined;
|
|
@@ -2217,23 +2178,23 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2217
2178
|
totalPages: number;
|
|
2218
2179
|
}, {
|
|
2219
2180
|
items: {
|
|
2181
|
+
name: string;
|
|
2182
|
+
status: "ENABLED" | "DISABLED";
|
|
2220
2183
|
toolkit: {
|
|
2221
2184
|
slug: string;
|
|
2222
2185
|
logo: string;
|
|
2223
2186
|
};
|
|
2224
|
-
status: "ENABLED" | "DISABLED";
|
|
2225
|
-
name: string;
|
|
2226
2187
|
id: string;
|
|
2227
2188
|
noOfConnections: number;
|
|
2228
|
-
createdAt?: string | undefined;
|
|
2229
2189
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2230
|
-
|
|
2190
|
+
createdAt?: string | undefined;
|
|
2231
2191
|
credentials?: Record<string, unknown> | undefined;
|
|
2232
2192
|
toolAccessConfig?: {
|
|
2233
2193
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2234
2194
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2235
2195
|
} | undefined;
|
|
2236
2196
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2197
|
+
isComposioManaged?: boolean | undefined;
|
|
2237
2198
|
expectedInputFields?: unknown[] | undefined;
|
|
2238
2199
|
restrictToFollowingTools?: string[] | undefined;
|
|
2239
2200
|
createdBy?: string | undefined;
|
|
@@ -2570,18 +2531,18 @@ declare const TriggerSubscribeParamSchema: z.ZodObject<{
|
|
|
2570
2531
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2571
2532
|
userId: z.ZodOptional<z.ZodString>;
|
|
2572
2533
|
}, "strip", z.ZodTypeAny, {
|
|
2573
|
-
authConfigId?: string | undefined;
|
|
2574
|
-
userId?: string | undefined;
|
|
2575
2534
|
toolkits?: string[] | undefined;
|
|
2576
2535
|
connectedAccountId?: string | undefined;
|
|
2536
|
+
userId?: string | undefined;
|
|
2537
|
+
authConfigId?: string | undefined;
|
|
2577
2538
|
triggerId?: string | undefined;
|
|
2578
2539
|
triggerSlug?: string[] | undefined;
|
|
2579
2540
|
triggerData?: string | undefined;
|
|
2580
2541
|
}, {
|
|
2581
|
-
authConfigId?: string | undefined;
|
|
2582
|
-
userId?: string | undefined;
|
|
2583
2542
|
toolkits?: string[] | undefined;
|
|
2584
2543
|
connectedAccountId?: string | undefined;
|
|
2544
|
+
userId?: string | undefined;
|
|
2545
|
+
authConfigId?: string | undefined;
|
|
2585
2546
|
triggerId?: string | undefined;
|
|
2586
2547
|
triggerSlug?: string[] | undefined;
|
|
2587
2548
|
triggerData?: string | undefined;
|
|
@@ -2596,18 +2557,18 @@ declare const TriggerInstanceListActiveParamsSchema: z.ZodObject<{
|
|
|
2596
2557
|
triggerIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2597
2558
|
triggerNames: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2598
2559
|
}, "strip", z.ZodTypeAny, {
|
|
2599
|
-
|
|
2560
|
+
limit?: number | undefined;
|
|
2600
2561
|
authConfigIds?: string[] | null | undefined;
|
|
2562
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
2601
2563
|
cursor?: string | undefined;
|
|
2602
|
-
limit?: number | undefined;
|
|
2603
2564
|
showDisabled?: boolean | null | undefined;
|
|
2604
2565
|
triggerIds?: string[] | null | undefined;
|
|
2605
2566
|
triggerNames?: string[] | null | undefined;
|
|
2606
2567
|
}, {
|
|
2607
|
-
|
|
2568
|
+
limit?: number | undefined;
|
|
2608
2569
|
authConfigIds?: string[] | null | undefined;
|
|
2570
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
2609
2571
|
cursor?: string | undefined;
|
|
2610
|
-
limit?: number | undefined;
|
|
2611
2572
|
showDisabled?: boolean | null | undefined;
|
|
2612
2573
|
triggerIds?: string[] | null | undefined;
|
|
2613
2574
|
triggerNames?: string[] | null | undefined;
|
|
@@ -2624,9 +2585,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
2624
2585
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2625
2586
|
uuid: z.ZodOptional<z.ZodString>;
|
|
2626
2587
|
}, "strip", z.ZodTypeAny, {
|
|
2588
|
+
connectedAccountId: string;
|
|
2627
2589
|
id: string;
|
|
2628
2590
|
updatedAt: string;
|
|
2629
|
-
connectedAccountId: string;
|
|
2630
2591
|
disabledAt: string | null;
|
|
2631
2592
|
state: Record<string, unknown>;
|
|
2632
2593
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2634,9 +2595,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
2634
2595
|
uuid?: string | undefined;
|
|
2635
2596
|
triggerData?: string | undefined;
|
|
2636
2597
|
}, {
|
|
2598
|
+
connectedAccountId: string;
|
|
2637
2599
|
id: string;
|
|
2638
2600
|
updatedAt: string;
|
|
2639
|
-
connectedAccountId: string;
|
|
2640
2601
|
disabledAt: string | null;
|
|
2641
2602
|
state: Record<string, unknown>;
|
|
2642
2603
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2656,9 +2617,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2656
2617
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2657
2618
|
uuid: z.ZodOptional<z.ZodString>;
|
|
2658
2619
|
}, "strip", z.ZodTypeAny, {
|
|
2620
|
+
connectedAccountId: string;
|
|
2659
2621
|
id: string;
|
|
2660
2622
|
updatedAt: string;
|
|
2661
|
-
connectedAccountId: string;
|
|
2662
2623
|
disabledAt: string | null;
|
|
2663
2624
|
state: Record<string, unknown>;
|
|
2664
2625
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2666,9 +2627,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2666
2627
|
uuid?: string | undefined;
|
|
2667
2628
|
triggerData?: string | undefined;
|
|
2668
2629
|
}, {
|
|
2630
|
+
connectedAccountId: string;
|
|
2669
2631
|
id: string;
|
|
2670
2632
|
updatedAt: string;
|
|
2671
|
-
connectedAccountId: string;
|
|
2672
2633
|
disabledAt: string | null;
|
|
2673
2634
|
state: Record<string, unknown>;
|
|
2674
2635
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2680,9 +2641,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2680
2641
|
totalPages: z.ZodNumber;
|
|
2681
2642
|
}, "strip", z.ZodTypeAny, {
|
|
2682
2643
|
items: {
|
|
2644
|
+
connectedAccountId: string;
|
|
2683
2645
|
id: string;
|
|
2684
2646
|
updatedAt: string;
|
|
2685
|
-
connectedAccountId: string;
|
|
2686
2647
|
disabledAt: string | null;
|
|
2687
2648
|
state: Record<string, unknown>;
|
|
2688
2649
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2694,9 +2655,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2694
2655
|
totalPages: number;
|
|
2695
2656
|
}, {
|
|
2696
2657
|
items: {
|
|
2658
|
+
connectedAccountId: string;
|
|
2697
2659
|
id: string;
|
|
2698
2660
|
updatedAt: string;
|
|
2699
|
-
connectedAccountId: string;
|
|
2700
2661
|
disabledAt: string | null;
|
|
2701
2662
|
state: Record<string, unknown>;
|
|
2702
2663
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2775,28 +2736,28 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
2775
2736
|
userId: z.ZodString;
|
|
2776
2737
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2777
2738
|
}, "strip", z.ZodTypeAny, {
|
|
2778
|
-
authConfigId: string;
|
|
2779
2739
|
status: "ACTIVE" | "INACTIVE";
|
|
2780
2740
|
userId: string;
|
|
2741
|
+
authConfigId: string;
|
|
2781
2742
|
uuid: string;
|
|
2782
2743
|
id: string;
|
|
2783
2744
|
authConfigUUID: string;
|
|
2784
2745
|
}, {
|
|
2785
|
-
authConfigId: string;
|
|
2786
2746
|
status: "ACTIVE" | "INACTIVE";
|
|
2787
2747
|
userId: string;
|
|
2748
|
+
authConfigId: string;
|
|
2788
2749
|
uuid: string;
|
|
2789
2750
|
id: string;
|
|
2790
2751
|
authConfigUUID: string;
|
|
2791
2752
|
}>;
|
|
2792
2753
|
}, "strip", z.ZodTypeAny, {
|
|
2754
|
+
toolkitSlug: string;
|
|
2793
2755
|
uuid: string;
|
|
2794
2756
|
id: string;
|
|
2795
|
-
toolkitSlug: string;
|
|
2796
2757
|
connectedAccount: {
|
|
2797
|
-
authConfigId: string;
|
|
2798
2758
|
status: "ACTIVE" | "INACTIVE";
|
|
2799
2759
|
userId: string;
|
|
2760
|
+
authConfigId: string;
|
|
2800
2761
|
uuid: string;
|
|
2801
2762
|
id: string;
|
|
2802
2763
|
authConfigUUID: string;
|
|
@@ -2805,13 +2766,13 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
2805
2766
|
triggerConfig: Record<string, unknown>;
|
|
2806
2767
|
triggerData?: string | undefined;
|
|
2807
2768
|
}, {
|
|
2769
|
+
toolkitSlug: string;
|
|
2808
2770
|
uuid: string;
|
|
2809
2771
|
id: string;
|
|
2810
|
-
toolkitSlug: string;
|
|
2811
2772
|
connectedAccount: {
|
|
2812
|
-
authConfigId: string;
|
|
2813
2773
|
status: "ACTIVE" | "INACTIVE";
|
|
2814
2774
|
userId: string;
|
|
2775
|
+
authConfigId: string;
|
|
2815
2776
|
uuid: string;
|
|
2816
2777
|
id: string;
|
|
2817
2778
|
authConfigUUID: string;
|
|
@@ -2821,19 +2782,19 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
2821
2782
|
triggerData?: string | undefined;
|
|
2822
2783
|
}>;
|
|
2823
2784
|
}, "strip", z.ZodTypeAny, {
|
|
2785
|
+
toolkitSlug: string;
|
|
2824
2786
|
userId: string;
|
|
2825
2787
|
uuid: string;
|
|
2826
2788
|
id: string;
|
|
2827
|
-
toolkitSlug: string;
|
|
2828
2789
|
triggerSlug: string;
|
|
2829
2790
|
metadata: {
|
|
2791
|
+
toolkitSlug: string;
|
|
2830
2792
|
uuid: string;
|
|
2831
2793
|
id: string;
|
|
2832
|
-
toolkitSlug: string;
|
|
2833
2794
|
connectedAccount: {
|
|
2834
|
-
authConfigId: string;
|
|
2835
2795
|
status: "ACTIVE" | "INACTIVE";
|
|
2836
2796
|
userId: string;
|
|
2797
|
+
authConfigId: string;
|
|
2837
2798
|
uuid: string;
|
|
2838
2799
|
id: string;
|
|
2839
2800
|
authConfigUUID: string;
|
|
@@ -2845,19 +2806,19 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
2845
2806
|
payload?: Record<string, unknown> | undefined;
|
|
2846
2807
|
originalPayload?: Record<string, unknown> | undefined;
|
|
2847
2808
|
}, {
|
|
2809
|
+
toolkitSlug: string;
|
|
2848
2810
|
userId: string;
|
|
2849
2811
|
uuid: string;
|
|
2850
2812
|
id: string;
|
|
2851
|
-
toolkitSlug: string;
|
|
2852
2813
|
triggerSlug: string;
|
|
2853
2814
|
metadata: {
|
|
2815
|
+
toolkitSlug: string;
|
|
2854
2816
|
uuid: string;
|
|
2855
2817
|
id: string;
|
|
2856
|
-
toolkitSlug: string;
|
|
2857
2818
|
connectedAccount: {
|
|
2858
|
-
authConfigId: string;
|
|
2859
2819
|
status: "ACTIVE" | "INACTIVE";
|
|
2860
2820
|
userId: string;
|
|
2821
|
+
authConfigId: string;
|
|
2861
2822
|
uuid: string;
|
|
2862
2823
|
id: string;
|
|
2863
2824
|
authConfigUUID: string;
|
|
@@ -2897,12 +2858,12 @@ declare const TriggersTypeListParamsSchema: z.ZodObject<{
|
|
|
2897
2858
|
toolkits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2898
2859
|
}, "strip", z.ZodTypeAny, {
|
|
2899
2860
|
toolkits?: string[] | null | undefined;
|
|
2900
|
-
cursor?: string | undefined;
|
|
2901
2861
|
limit?: number | null | undefined;
|
|
2862
|
+
cursor?: string | undefined;
|
|
2902
2863
|
}, {
|
|
2903
2864
|
toolkits?: string[] | null | undefined;
|
|
2904
|
-
cursor?: string | undefined;
|
|
2905
2865
|
limit?: number | null | undefined;
|
|
2866
|
+
cursor?: string | undefined;
|
|
2906
2867
|
}>;
|
|
2907
2868
|
type TriggersTypeListParams = z.infer<typeof TriggersTypeListParamsSchema>;
|
|
2908
2869
|
declare const TriggerTypeSchema: z.ZodObject<{
|
|
@@ -2915,40 +2876,40 @@ declare const TriggerTypeSchema: z.ZodObject<{
|
|
|
2915
2876
|
slug: z.ZodString;
|
|
2916
2877
|
name: z.ZodString;
|
|
2917
2878
|
}, "strip", z.ZodTypeAny, {
|
|
2918
|
-
name: string;
|
|
2919
2879
|
slug: string;
|
|
2880
|
+
name: string;
|
|
2920
2881
|
logo: string;
|
|
2921
2882
|
}, {
|
|
2922
|
-
name: string;
|
|
2923
2883
|
slug: string;
|
|
2884
|
+
name: string;
|
|
2924
2885
|
logo: string;
|
|
2925
2886
|
}>;
|
|
2926
2887
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2927
2888
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2928
2889
|
version: z.ZodOptional<z.ZodString>;
|
|
2929
2890
|
}, "strip", z.ZodTypeAny, {
|
|
2891
|
+
slug: string;
|
|
2892
|
+
name: string;
|
|
2893
|
+
description: string;
|
|
2930
2894
|
toolkit: {
|
|
2931
|
-
name: string;
|
|
2932
2895
|
slug: string;
|
|
2896
|
+
name: string;
|
|
2933
2897
|
logo: string;
|
|
2934
2898
|
};
|
|
2935
|
-
name: string;
|
|
2936
2899
|
config: Record<string, unknown>;
|
|
2937
|
-
slug: string;
|
|
2938
|
-
description: string;
|
|
2939
2900
|
payload: Record<string, unknown>;
|
|
2940
2901
|
version?: string | undefined;
|
|
2941
2902
|
instructions?: string | undefined;
|
|
2942
2903
|
}, {
|
|
2904
|
+
slug: string;
|
|
2905
|
+
name: string;
|
|
2906
|
+
description: string;
|
|
2943
2907
|
toolkit: {
|
|
2944
|
-
name: string;
|
|
2945
2908
|
slug: string;
|
|
2909
|
+
name: string;
|
|
2946
2910
|
logo: string;
|
|
2947
2911
|
};
|
|
2948
|
-
name: string;
|
|
2949
2912
|
config: Record<string, unknown>;
|
|
2950
|
-
slug: string;
|
|
2951
|
-
description: string;
|
|
2952
2913
|
payload: Record<string, unknown>;
|
|
2953
2914
|
version?: string | undefined;
|
|
2954
2915
|
instructions?: string | undefined;
|
|
@@ -2965,40 +2926,40 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
2965
2926
|
slug: z.ZodString;
|
|
2966
2927
|
name: z.ZodString;
|
|
2967
2928
|
}, "strip", z.ZodTypeAny, {
|
|
2968
|
-
name: string;
|
|
2969
2929
|
slug: string;
|
|
2930
|
+
name: string;
|
|
2970
2931
|
logo: string;
|
|
2971
2932
|
}, {
|
|
2972
|
-
name: string;
|
|
2973
2933
|
slug: string;
|
|
2934
|
+
name: string;
|
|
2974
2935
|
logo: string;
|
|
2975
2936
|
}>;
|
|
2976
2937
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2977
2938
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2978
2939
|
version: z.ZodOptional<z.ZodString>;
|
|
2979
2940
|
}, "strip", z.ZodTypeAny, {
|
|
2941
|
+
slug: string;
|
|
2942
|
+
name: string;
|
|
2943
|
+
description: string;
|
|
2980
2944
|
toolkit: {
|
|
2981
|
-
name: string;
|
|
2982
2945
|
slug: string;
|
|
2946
|
+
name: string;
|
|
2983
2947
|
logo: string;
|
|
2984
2948
|
};
|
|
2985
|
-
name: string;
|
|
2986
2949
|
config: Record<string, unknown>;
|
|
2987
|
-
slug: string;
|
|
2988
|
-
description: string;
|
|
2989
2950
|
payload: Record<string, unknown>;
|
|
2990
2951
|
version?: string | undefined;
|
|
2991
2952
|
instructions?: string | undefined;
|
|
2992
2953
|
}, {
|
|
2954
|
+
slug: string;
|
|
2955
|
+
name: string;
|
|
2956
|
+
description: string;
|
|
2993
2957
|
toolkit: {
|
|
2994
|
-
name: string;
|
|
2995
2958
|
slug: string;
|
|
2959
|
+
name: string;
|
|
2996
2960
|
logo: string;
|
|
2997
2961
|
};
|
|
2998
|
-
name: string;
|
|
2999
2962
|
config: Record<string, unknown>;
|
|
3000
|
-
slug: string;
|
|
3001
|
-
description: string;
|
|
3002
2963
|
payload: Record<string, unknown>;
|
|
3003
2964
|
version?: string | undefined;
|
|
3004
2965
|
instructions?: string | undefined;
|
|
@@ -3007,15 +2968,15 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
3007
2968
|
totalPages: z.ZodNumber;
|
|
3008
2969
|
}, "strip", z.ZodTypeAny, {
|
|
3009
2970
|
items: {
|
|
2971
|
+
slug: string;
|
|
2972
|
+
name: string;
|
|
2973
|
+
description: string;
|
|
3010
2974
|
toolkit: {
|
|
3011
|
-
name: string;
|
|
3012
2975
|
slug: string;
|
|
2976
|
+
name: string;
|
|
3013
2977
|
logo: string;
|
|
3014
2978
|
};
|
|
3015
|
-
name: string;
|
|
3016
2979
|
config: Record<string, unknown>;
|
|
3017
|
-
slug: string;
|
|
3018
|
-
description: string;
|
|
3019
2980
|
payload: Record<string, unknown>;
|
|
3020
2981
|
version?: string | undefined;
|
|
3021
2982
|
instructions?: string | undefined;
|
|
@@ -3024,15 +2985,15 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
3024
2985
|
nextCursor?: string | null | undefined;
|
|
3025
2986
|
}, {
|
|
3026
2987
|
items: {
|
|
2988
|
+
slug: string;
|
|
2989
|
+
name: string;
|
|
2990
|
+
description: string;
|
|
3027
2991
|
toolkit: {
|
|
3028
|
-
name: string;
|
|
3029
2992
|
slug: string;
|
|
2993
|
+
name: string;
|
|
3030
2994
|
logo: string;
|
|
3031
2995
|
};
|
|
3032
|
-
name: string;
|
|
3033
2996
|
config: Record<string, unknown>;
|
|
3034
|
-
slug: string;
|
|
3035
|
-
description: string;
|
|
3036
2997
|
payload: Record<string, unknown>;
|
|
3037
2998
|
version?: string | undefined;
|
|
3038
2999
|
instructions?: string | undefined;
|
|
@@ -3146,14 +3107,14 @@ declare const WebhookPayloadV3Schema: z.ZodObject<{
|
|
|
3146
3107
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3147
3108
|
}, "strip", z.ZodTypeAny, {
|
|
3148
3109
|
type: string;
|
|
3149
|
-
id: string;
|
|
3150
3110
|
data: Record<string, unknown>;
|
|
3111
|
+
id: string;
|
|
3151
3112
|
metadata: Record<string, unknown>;
|
|
3152
3113
|
timestamp: string;
|
|
3153
3114
|
}, {
|
|
3154
3115
|
type: string;
|
|
3155
|
-
id: string;
|
|
3156
3116
|
data: Record<string, unknown>;
|
|
3117
|
+
id: string;
|
|
3157
3118
|
metadata: Record<string, unknown>;
|
|
3158
3119
|
timestamp: string;
|
|
3159
3120
|
}>;
|
|
@@ -3188,8 +3149,8 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
|
|
|
3188
3149
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3189
3150
|
}, "strip", z.ZodTypeAny, {
|
|
3190
3151
|
type: string;
|
|
3191
|
-
id: string;
|
|
3192
3152
|
data: Record<string, unknown>;
|
|
3153
|
+
id: string;
|
|
3193
3154
|
metadata: {
|
|
3194
3155
|
trigger_id: string;
|
|
3195
3156
|
log_id: string;
|
|
@@ -3203,8 +3164,8 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
|
|
|
3203
3164
|
timestamp: string;
|
|
3204
3165
|
}, {
|
|
3205
3166
|
type: string;
|
|
3206
|
-
id: string;
|
|
3207
3167
|
data: Record<string, unknown>;
|
|
3168
|
+
id: string;
|
|
3208
3169
|
metadata: {
|
|
3209
3170
|
trigger_id: string;
|
|
3210
3171
|
log_id: string;
|
|
@@ -3227,14 +3188,14 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3227
3188
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3228
3189
|
}, "strip", z.ZodTypeAny, {
|
|
3229
3190
|
type: string;
|
|
3230
|
-
id: string;
|
|
3231
3191
|
data: Record<string, unknown>;
|
|
3192
|
+
id: string;
|
|
3232
3193
|
metadata: Record<string, unknown>;
|
|
3233
3194
|
timestamp: string;
|
|
3234
3195
|
}, {
|
|
3235
3196
|
type: string;
|
|
3236
|
-
id: string;
|
|
3237
3197
|
data: Record<string, unknown>;
|
|
3198
|
+
id: string;
|
|
3238
3199
|
metadata: Record<string, unknown>;
|
|
3239
3200
|
timestamp: string;
|
|
3240
3201
|
}>, z.ZodObject<{
|
|
@@ -3313,6 +3274,30 @@ declare const WebhookVersions: {
|
|
|
3313
3274
|
readonly V3: "V3";
|
|
3314
3275
|
};
|
|
3315
3276
|
type WebhookVersion = (typeof WebhookVersions)[keyof typeof WebhookVersions];
|
|
3277
|
+
declare const DefaultWebhookSubscriptionEvents: readonly ["composio.trigger.message"];
|
|
3278
|
+
declare const SetWebhookSubscriptionParamsSchema: z.ZodObject<{
|
|
3279
|
+
/** HTTPS URL to receive webhook events. */webhookUrl: z.ZodString; /** Event types to subscribe to. Defaults to trigger messages. */
|
|
3280
|
+
enabledEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; /** Webhook payload version. Defaults to V3. */
|
|
3281
|
+
version: z.ZodOptional<z.ZodEnum<["V1", "V2", "V3"]>>;
|
|
3282
|
+
}, "strip", z.ZodTypeAny, {
|
|
3283
|
+
webhookUrl: string;
|
|
3284
|
+
version?: "V1" | "V2" | "V3" | undefined;
|
|
3285
|
+
enabledEvents?: string[] | undefined;
|
|
3286
|
+
}, {
|
|
3287
|
+
webhookUrl: string;
|
|
3288
|
+
version?: "V1" | "V2" | "V3" | undefined;
|
|
3289
|
+
enabledEvents?: string[] | undefined;
|
|
3290
|
+
}>;
|
|
3291
|
+
type SetWebhookSubscriptionParams = z.infer<typeof SetWebhookSubscriptionParamsSchema>;
|
|
3292
|
+
type WebhookSubscription = {
|
|
3293
|
+
id: string;
|
|
3294
|
+
webhookUrl: string;
|
|
3295
|
+
version: WebhookVersion;
|
|
3296
|
+
enabledEvents: string[];
|
|
3297
|
+
secret?: string;
|
|
3298
|
+
createdAt?: string;
|
|
3299
|
+
updatedAt?: string;
|
|
3300
|
+
};
|
|
3316
3301
|
/**
|
|
3317
3302
|
* Parameters for verifying a webhook signature
|
|
3318
3303
|
*/
|
|
@@ -3357,6 +3342,37 @@ declare const VerifyWebhookParamsSchema: z.ZodObject<{
|
|
|
3357
3342
|
tolerance?: number | undefined;
|
|
3358
3343
|
}>;
|
|
3359
3344
|
type VerifyWebhookParams = z.input<typeof VerifyWebhookParamsSchema>;
|
|
3345
|
+
/**
|
|
3346
|
+
* An incoming HTTP request that carries a Composio webhook.
|
|
3347
|
+
*
|
|
3348
|
+
* Accepts either:
|
|
3349
|
+
* - A Fetch API `Request` (Next.js App Router, Hono, Remix, Cloudflare Workers).
|
|
3350
|
+
* - A plain object `{ body, headers }` (Express with `express.raw`, Next.js
|
|
3351
|
+
* Pages Router `req`). `body` may be a string, a Buffer/Uint8Array, or an
|
|
3352
|
+
* already-parsed object; `headers` may be a `Headers` instance or a plain
|
|
3353
|
+
* record of `string | string[] | undefined`.
|
|
3354
|
+
*/
|
|
3355
|
+
type WebhookRequestLike = Request | {
|
|
3356
|
+
body: unknown;
|
|
3357
|
+
headers: unknown;
|
|
3358
|
+
};
|
|
3359
|
+
/**
|
|
3360
|
+
* Options for {@link Triggers.parse}.
|
|
3361
|
+
*/
|
|
3362
|
+
type ParseWebhookOptions = {
|
|
3363
|
+
/**
|
|
3364
|
+
* The webhook secret used to sign the payload (from the Composio dashboard).
|
|
3365
|
+
* When provided, the request signature is verified before the payload is
|
|
3366
|
+
* returned. When omitted, the payload is parsed without verification.
|
|
3367
|
+
*/
|
|
3368
|
+
verifySecret?: string;
|
|
3369
|
+
/**
|
|
3370
|
+
* Maximum allowed age of the webhook in seconds (default: 300 = 5 minutes).
|
|
3371
|
+
* Only used when `verifySecret` is provided. Set to 0 to disable timestamp
|
|
3372
|
+
* validation.
|
|
3373
|
+
*/
|
|
3374
|
+
tolerance?: number;
|
|
3375
|
+
};
|
|
3360
3376
|
/**
|
|
3361
3377
|
* Result of a successful webhook verification.
|
|
3362
3378
|
* Contains the parsed payload along with version information.
|
|
@@ -3378,6 +3394,20 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
3378
3394
|
private pusherService;
|
|
3379
3395
|
private toolkitVersions;
|
|
3380
3396
|
constructor(client: ComposioClient, config?: ComposioConfig<TProvider>);
|
|
3397
|
+
/**
|
|
3398
|
+
* Create or update the project webhook subscription used for webhook delivery.
|
|
3399
|
+
*
|
|
3400
|
+
* If a subscription already exists, the first subscription is updated. Otherwise a new
|
|
3401
|
+
* subscription is created. By default this subscribes to V3 trigger message events.
|
|
3402
|
+
*
|
|
3403
|
+
* @example
|
|
3404
|
+
* ```ts
|
|
3405
|
+
* await composio.triggers.setWebhookSubscription({
|
|
3406
|
+
* webhookUrl: `${APP_URL}/webhooks/composio`,
|
|
3407
|
+
* });
|
|
3408
|
+
* ```
|
|
3409
|
+
*/
|
|
3410
|
+
setWebhookSubscription(params: SetWebhookSubscriptionParams): Promise<WebhookSubscription>;
|
|
3381
3411
|
/**
|
|
3382
3412
|
* Fetch list of all the active triggers
|
|
3383
3413
|
*
|
|
@@ -3509,6 +3539,78 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
3509
3539
|
* ```
|
|
3510
3540
|
*/
|
|
3511
3541
|
unsubscribe(): Promise<void>;
|
|
3542
|
+
/**
|
|
3543
|
+
* Parse an incoming webhook HTTP request into a typed, normalized trigger payload.
|
|
3544
|
+
*
|
|
3545
|
+
* Dump the incoming request in and get back the parsed Composio trigger event.
|
|
3546
|
+
* When `verifySecret` is provided, the request signature is verified before the
|
|
3547
|
+
* payload is returned (delegating to {@link verifyWebhook}); without it, the body
|
|
3548
|
+
* is parsed without verification.
|
|
3549
|
+
*
|
|
3550
|
+
* The `request` may be either a Fetch API `Request` (Next.js App Router, Hono,
|
|
3551
|
+
* Remix) or a plain `{ body, headers }` object (Express with `express.raw`,
|
|
3552
|
+
* Next.js Pages Router `req`). The signature headers (`webhook-id`,
|
|
3553
|
+
* `webhook-timestamp`, `webhook-signature`) are read case-insensitively.
|
|
3554
|
+
*
|
|
3555
|
+
* @param {WebhookRequestLike} request - The incoming webhook HTTP request
|
|
3556
|
+
* @param {ParseWebhookOptions} [options] - Parse options
|
|
3557
|
+
* @param {string} [options.verifySecret] - Webhook secret; when set, the signature is verified
|
|
3558
|
+
* @param {number} [options.tolerance=300] - Max webhook age in seconds (only used when verifying)
|
|
3559
|
+
* @returns {Promise<VerifyWebhookResult>} The parsed (and optionally verified) webhook payload
|
|
3560
|
+
*
|
|
3561
|
+
* @throws {ValidationError} If `verifySecret` is set but the signature headers are missing
|
|
3562
|
+
* @throws {ComposioWebhookSignatureVerificationError} If signature verification fails
|
|
3563
|
+
* @throws {ComposioWebhookPayloadError} If the payload cannot be parsed
|
|
3564
|
+
*
|
|
3565
|
+
* @example
|
|
3566
|
+
* ```ts
|
|
3567
|
+
* // Express with express.raw (verify the signature)
|
|
3568
|
+
* app.post('/webhooks/composio', express.raw({ type: 'application/json' }), async (req, res) => {
|
|
3569
|
+
* try {
|
|
3570
|
+
* const result = await composio.triggers.parse(req, {
|
|
3571
|
+
* verifySecret: process.env.COMPOSIO_WEBHOOK_SECRET,
|
|
3572
|
+
* });
|
|
3573
|
+
* console.log('Trigger:', result.payload.triggerSlug);
|
|
3574
|
+
* console.log('Event data:', result.payload.payload);
|
|
3575
|
+
* res.sendStatus(200);
|
|
3576
|
+
* } catch (error) {
|
|
3577
|
+
* res.sendStatus(401);
|
|
3578
|
+
* }
|
|
3579
|
+
* });
|
|
3580
|
+
*
|
|
3581
|
+
* // Express without verifying (parse only)
|
|
3582
|
+
* app.post('/webhooks/composio', express.raw({ type: 'application/json' }), async (req, res) => {
|
|
3583
|
+
* const result = await composio.triggers.parse(req);
|
|
3584
|
+
* console.log('Trigger:', result.payload.triggerSlug);
|
|
3585
|
+
* res.sendStatus(200);
|
|
3586
|
+
* });
|
|
3587
|
+
* ```
|
|
3588
|
+
*
|
|
3589
|
+
* @example
|
|
3590
|
+
* ```ts
|
|
3591
|
+
* // Next.js App Router (Request) — verify the signature
|
|
3592
|
+
* export async function POST(request: Request) {
|
|
3593
|
+
* try {
|
|
3594
|
+
* const result = await composio.triggers.parse(request, {
|
|
3595
|
+
* verifySecret: process.env.COMPOSIO_WEBHOOK_SECRET,
|
|
3596
|
+
* });
|
|
3597
|
+
* console.log('Trigger:', result.payload.triggerSlug);
|
|
3598
|
+
* console.log('Event data:', result.payload.payload);
|
|
3599
|
+
* return new Response('OK', { status: 200 });
|
|
3600
|
+
* } catch (error) {
|
|
3601
|
+
* return new Response('Unauthorized', { status: 401 });
|
|
3602
|
+
* }
|
|
3603
|
+
* }
|
|
3604
|
+
*
|
|
3605
|
+
* // Next.js App Router — parse only (no verification)
|
|
3606
|
+
* export async function POST(request: Request) {
|
|
3607
|
+
* const result = await composio.triggers.parse(request);
|
|
3608
|
+
* console.log('Trigger:', result.payload.triggerSlug);
|
|
3609
|
+
* return new Response('OK', { status: 200 });
|
|
3610
|
+
* }
|
|
3611
|
+
* ```
|
|
3612
|
+
*/
|
|
3613
|
+
parse(request: WebhookRequestLike, options?: ParseWebhookOptions): Promise<VerifyWebhookResult>;
|
|
3512
3614
|
/**
|
|
3513
3615
|
* Verify an incoming webhook payload and signature.
|
|
3514
3616
|
*
|
|
@@ -3898,7 +4000,7 @@ declare class ConnectedAccounts {
|
|
|
3898
4000
|
*
|
|
3899
4001
|
* @param userId {string} - The external user ID to create the connected account for.
|
|
3900
4002
|
* @param authConfigId {string} - The auth config ID to create the connected account for.
|
|
3901
|
-
* @param options {
|
|
4003
|
+
* @param options {CreateConnectedAccountLinkOptions} - Options for creating a new connected account link.
|
|
3902
4004
|
* @param options.callbackUrl {string} - The url to redirect the user to post connecting their account.
|
|
3903
4005
|
* @returns {ConnectionRequest} Connection request object
|
|
3904
4006
|
*
|
|
@@ -4056,11 +4158,41 @@ declare class ConnectedAccounts {
|
|
|
4056
4158
|
* ```
|
|
4057
4159
|
*/
|
|
4058
4160
|
disable(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
4161
|
+
/**
|
|
4162
|
+
* Update the per-user ACL on a SHARED connected account.
|
|
4163
|
+
* **Experimental — shape may change in future releases.**
|
|
4164
|
+
*
|
|
4165
|
+
* Only meaningful for SHARED connections — calling this on a PRIVATE
|
|
4166
|
+
* connection raises `ComposioAclOnlyForSharedError` (400). ACL writes
|
|
4167
|
+
* require the connection's creator or an API key.
|
|
4168
|
+
*
|
|
4169
|
+
* PATCH semantics: omit a field to leave it unchanged; pass an empty
|
|
4170
|
+
* array to clear an allow/deny list. At least one field must be
|
|
4171
|
+
* provided.
|
|
4172
|
+
*
|
|
4173
|
+
* @param {string} nanoid - The unique identifier of the connected account
|
|
4174
|
+
* @param {UpdateConnectedAccountAclParams} params - The ACL fields to patch
|
|
4175
|
+
* @returns {Promise<ConnectedAccountPatchResponse>} The PATCH response
|
|
4176
|
+
*
|
|
4177
|
+
* @example
|
|
4178
|
+
* ```typescript
|
|
4179
|
+
* // Allow every userId to use this SHARED connection
|
|
4180
|
+
* await composio.connectedAccounts.updateAcl('ca_abc123', { allowAllUsers: true });
|
|
4181
|
+
*
|
|
4182
|
+
* // Targeted allow list
|
|
4183
|
+
* await composio.connectedAccounts.updateAcl('ca_abc123', {
|
|
4184
|
+
* allowedUserIds: ['user_alice', 'user_bob'],
|
|
4185
|
+
* });
|
|
4186
|
+
*
|
|
4187
|
+
* // Clear the allow list (back to deny-by-default unless allowAllUsers is true)
|
|
4188
|
+
* await composio.connectedAccounts.updateAcl('ca_abc123', { allowedUserIds: [] });
|
|
4189
|
+
* ```
|
|
4190
|
+
*/
|
|
4191
|
+
updateAcl(nanoid: string, params: UpdateConnectedAccountAclParams): Promise<ConnectedAccountPatchResponse>;
|
|
4059
4192
|
/**
|
|
4060
4193
|
* Enable or disable a connected account. Accepts `{ enabled: boolean }`.
|
|
4061
4194
|
*
|
|
4062
|
-
*
|
|
4063
|
-
* `composio.experimental.updateAcl()`.
|
|
4195
|
+
* Use `updateAcl()` for ACL writes on SHARED connections.
|
|
4064
4196
|
*
|
|
4065
4197
|
* @param {string} nanoid - The unique identifier of the connected account
|
|
4066
4198
|
* @param {UpdateConnectedAccountParams} params - The update parameters
|
|
@@ -4076,15 +4208,11 @@ declare class ConnectedAccounts {
|
|
|
4076
4208
|
}
|
|
4077
4209
|
//#endregion
|
|
4078
4210
|
//#region src/models/Experimental.d.ts
|
|
4079
|
-
/**
|
|
4080
|
-
* `composio.experimental` namespace. Mirrors the Python SDK's
|
|
4081
|
-
* `composio.experimental` mount, with one method per experimental
|
|
4082
|
-
* surface. **Shape may change in future releases.**
|
|
4083
|
-
*/
|
|
4084
4211
|
declare class Experimental {
|
|
4085
4212
|
private client;
|
|
4086
4213
|
constructor(client: ComposioClient);
|
|
4087
4214
|
/**
|
|
4215
|
+
* Compatibility alias for `composio.connectedAccounts.updateAcl(...)`.
|
|
4088
4216
|
* Update the per-user ACL on a SHARED connected account.
|
|
4089
4217
|
* **Experimental — shape may change in future releases.**
|
|
4090
4218
|
*
|
|
@@ -4109,21 +4237,21 @@ declare class Experimental {
|
|
|
4109
4237
|
* const composio = new Composio({ apiKey: '...' });
|
|
4110
4238
|
*
|
|
4111
4239
|
* // Allow every userId to use this connection
|
|
4112
|
-
* await composio.
|
|
4240
|
+
* await composio.connectedAccounts.updateAcl('ca_abc', { allowAllUsers: true });
|
|
4113
4241
|
*
|
|
4114
4242
|
* // Everyone except a specific user
|
|
4115
|
-
* await composio.
|
|
4243
|
+
* await composio.connectedAccounts.updateAcl('ca_abc', {
|
|
4116
4244
|
* allowAllUsers: true,
|
|
4117
4245
|
* notAllowedUserIds: ['user_bob'],
|
|
4118
4246
|
* });
|
|
4119
4247
|
*
|
|
4120
4248
|
* // Targeted allow
|
|
4121
|
-
* await composio.
|
|
4249
|
+
* await composio.connectedAccounts.updateAcl('ca_abc', {
|
|
4122
4250
|
* allowedUserIds: ['user_alice', 'user_bob'],
|
|
4123
4251
|
* });
|
|
4124
4252
|
*
|
|
4125
4253
|
* // Revoke a previously-granted allow list (back to deny-by-default)
|
|
4126
|
-
* await composio.
|
|
4254
|
+
* await composio.connectedAccounts.updateAcl('ca_abc', { allowedUserIds: [] });
|
|
4127
4255
|
* ```
|
|
4128
4256
|
*
|
|
4129
4257
|
* **Empty-array semantics — read carefully.** Passing `[]` for either
|
|
@@ -4139,6 +4267,8 @@ declare class Experimental {
|
|
|
4139
4267
|
* the updated ACL block, call
|
|
4140
4268
|
* `composio.connectedAccounts.get(nanoid)` after the promise
|
|
4141
4269
|
* resolves and inspect `account.experimental?.aclConfigForShared`.
|
|
4270
|
+
*
|
|
4271
|
+
* @deprecated Use `composio.connectedAccounts.updateAcl(...)` instead — ACL updates graduated onto the `connectedAccounts` mount. This experimental alias is kept only for backwards compatibility and will be removed once the API graduates. Prefer the `connectedAccounts` mount; do not generate new code against this alias.
|
|
4142
4272
|
*/
|
|
4143
4273
|
updateAcl(nanoid: string, params: UpdateConnectedAccountAclParams): Promise<ConnectedAccountPatchResponse>;
|
|
4144
4274
|
}
|
|
@@ -4153,19 +4283,19 @@ declare const MCPServerInstanceSchema: z$1.ZodObject<{
|
|
|
4153
4283
|
allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4154
4284
|
authConfigs: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4155
4285
|
}, "strip", z$1.ZodTypeAny, {
|
|
4286
|
+
name: string;
|
|
4156
4287
|
type: "streamable_http";
|
|
4157
|
-
allowedTools: string[];
|
|
4158
4288
|
userId: string;
|
|
4289
|
+
allowedTools: string[];
|
|
4159
4290
|
url: string;
|
|
4160
|
-
name: string;
|
|
4161
4291
|
id: string;
|
|
4162
4292
|
authConfigs: string[];
|
|
4163
4293
|
}, {
|
|
4294
|
+
name: string;
|
|
4164
4295
|
type: "streamable_http";
|
|
4165
|
-
allowedTools: string[];
|
|
4166
4296
|
userId: string;
|
|
4297
|
+
allowedTools: string[];
|
|
4167
4298
|
url: string;
|
|
4168
|
-
name: string;
|
|
4169
4299
|
id: string;
|
|
4170
4300
|
authConfigs: string[];
|
|
4171
4301
|
}>;
|
|
@@ -4246,10 +4376,10 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
4246
4376
|
*/
|
|
4247
4377
|
MCPUrl: z$1.ZodString;
|
|
4248
4378
|
}, "strip", z$1.ZodTypeAny, {
|
|
4249
|
-
allowedTools: string[];
|
|
4250
4379
|
name: string;
|
|
4251
|
-
id: string;
|
|
4252
4380
|
authConfigIds: string[];
|
|
4381
|
+
allowedTools: string[];
|
|
4382
|
+
id: string;
|
|
4253
4383
|
commands: {
|
|
4254
4384
|
claude: string;
|
|
4255
4385
|
cursor: string;
|
|
@@ -4257,10 +4387,10 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
4257
4387
|
};
|
|
4258
4388
|
MCPUrl: string;
|
|
4259
4389
|
}, {
|
|
4260
|
-
allowedTools: string[];
|
|
4261
4390
|
name: string;
|
|
4262
|
-
id: string;
|
|
4263
4391
|
authConfigIds: string[];
|
|
4392
|
+
allowedTools: string[];
|
|
4393
|
+
id: string;
|
|
4264
4394
|
commands: {
|
|
4265
4395
|
claude: string;
|
|
4266
4396
|
cursor: string;
|
|
@@ -4293,15 +4423,15 @@ declare const MCPListParamsSchema: z$1.ZodObject<{
|
|
|
4293
4423
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4294
4424
|
}, "strip", z$1.ZodTypeAny, {
|
|
4295
4425
|
toolkits: string[];
|
|
4296
|
-
page: number;
|
|
4297
4426
|
limit: number;
|
|
4427
|
+
page: number;
|
|
4298
4428
|
authConfigs: string[];
|
|
4299
4429
|
name?: string | undefined;
|
|
4300
4430
|
}, {
|
|
4301
4431
|
name?: string | undefined;
|
|
4302
4432
|
toolkits?: string[] | undefined;
|
|
4303
|
-
page?: number | undefined;
|
|
4304
4433
|
limit?: number | undefined;
|
|
4434
|
+
page?: number | undefined;
|
|
4305
4435
|
authConfigs?: string[] | undefined;
|
|
4306
4436
|
}>;
|
|
4307
4437
|
type MCPListParams = z$1.infer<typeof MCPListParamsSchema>;
|
|
@@ -4356,11 +4486,11 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
4356
4486
|
serverInstanceCount: z$1.ZodNumber;
|
|
4357
4487
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4358
4488
|
}, "strip", z$1.ZodTypeAny, {
|
|
4359
|
-
allowedTools: string[];
|
|
4360
4489
|
name: string;
|
|
4361
4490
|
toolkits: string[];
|
|
4362
|
-
id: string;
|
|
4363
4491
|
authConfigIds: string[];
|
|
4492
|
+
allowedTools: string[];
|
|
4493
|
+
id: string;
|
|
4364
4494
|
commands: {
|
|
4365
4495
|
claude: string;
|
|
4366
4496
|
cursor: string;
|
|
@@ -4370,11 +4500,11 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
4370
4500
|
toolkitIcons: Record<string, string>;
|
|
4371
4501
|
serverInstanceCount: number;
|
|
4372
4502
|
}, {
|
|
4373
|
-
allowedTools: string[];
|
|
4374
4503
|
name: string;
|
|
4375
4504
|
toolkits: string[];
|
|
4376
|
-
id: string;
|
|
4377
4505
|
authConfigIds: string[];
|
|
4506
|
+
allowedTools: string[];
|
|
4507
|
+
id: string;
|
|
4378
4508
|
commands: {
|
|
4379
4509
|
claude: string;
|
|
4380
4510
|
cursor: string;
|
|
@@ -4437,11 +4567,11 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4437
4567
|
serverInstanceCount: z$1.ZodNumber;
|
|
4438
4568
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4439
4569
|
}, "strip", z$1.ZodTypeAny, {
|
|
4440
|
-
allowedTools: string[];
|
|
4441
4570
|
name: string;
|
|
4442
4571
|
toolkits: string[];
|
|
4443
|
-
id: string;
|
|
4444
4572
|
authConfigIds: string[];
|
|
4573
|
+
allowedTools: string[];
|
|
4574
|
+
id: string;
|
|
4445
4575
|
commands: {
|
|
4446
4576
|
claude: string;
|
|
4447
4577
|
cursor: string;
|
|
@@ -4451,11 +4581,11 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4451
4581
|
toolkitIcons: Record<string, string>;
|
|
4452
4582
|
serverInstanceCount: number;
|
|
4453
4583
|
}, {
|
|
4454
|
-
allowedTools: string[];
|
|
4455
4584
|
name: string;
|
|
4456
4585
|
toolkits: string[];
|
|
4457
|
-
id: string;
|
|
4458
4586
|
authConfigIds: string[];
|
|
4587
|
+
allowedTools: string[];
|
|
4588
|
+
id: string;
|
|
4459
4589
|
commands: {
|
|
4460
4590
|
claude: string;
|
|
4461
4591
|
cursor: string;
|
|
@@ -4469,11 +4599,11 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4469
4599
|
totalPages: z$1.ZodNumber;
|
|
4470
4600
|
}, "strip", z$1.ZodTypeAny, {
|
|
4471
4601
|
items: {
|
|
4472
|
-
allowedTools: string[];
|
|
4473
4602
|
name: string;
|
|
4474
4603
|
toolkits: string[];
|
|
4475
|
-
id: string;
|
|
4476
4604
|
authConfigIds: string[];
|
|
4605
|
+
allowedTools: string[];
|
|
4606
|
+
id: string;
|
|
4477
4607
|
commands: {
|
|
4478
4608
|
claude: string;
|
|
4479
4609
|
cursor: string;
|
|
@@ -4487,11 +4617,11 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4487
4617
|
currentPage: number;
|
|
4488
4618
|
}, {
|
|
4489
4619
|
items: {
|
|
4490
|
-
allowedTools: string[];
|
|
4491
4620
|
name: string;
|
|
4492
4621
|
toolkits: string[];
|
|
4493
|
-
id: string;
|
|
4494
4622
|
authConfigIds: string[];
|
|
4623
|
+
allowedTools: string[];
|
|
4624
|
+
id: string;
|
|
4495
4625
|
commands: {
|
|
4496
4626
|
claude: string;
|
|
4497
4627
|
cursor: string;
|
|
@@ -4520,20 +4650,20 @@ declare const MCPUpdateParamsSchema: z$1.ZodObject<{
|
|
|
4520
4650
|
allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
4521
4651
|
manuallyManageConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4522
4652
|
}, "strip", z$1.ZodTypeAny, {
|
|
4523
|
-
allowedTools?: string[] | undefined;
|
|
4524
4653
|
name?: string | undefined;
|
|
4525
4654
|
toolkits?: (string | {
|
|
4526
4655
|
toolkit?: string | undefined;
|
|
4527
4656
|
authConfigId?: string | undefined;
|
|
4528
4657
|
})[] | undefined;
|
|
4658
|
+
allowedTools?: string[] | undefined;
|
|
4529
4659
|
manuallyManageConnections?: boolean | undefined;
|
|
4530
4660
|
}, {
|
|
4531
|
-
allowedTools?: string[] | undefined;
|
|
4532
4661
|
name?: string | undefined;
|
|
4533
4662
|
toolkits?: (string | {
|
|
4534
4663
|
toolkit?: string | undefined;
|
|
4535
4664
|
authConfigId?: string | undefined;
|
|
4536
4665
|
})[] | undefined;
|
|
4666
|
+
allowedTools?: string[] | undefined;
|
|
4537
4667
|
manuallyManageConnections?: boolean | undefined;
|
|
4538
4668
|
}>;
|
|
4539
4669
|
type MCPUpdateParams = z$1.infer<typeof MCPUpdateParamsSchema>;
|
|
@@ -4543,6 +4673,12 @@ type MCPUpdateParams = z$1.infer<typeof MCPUpdateParamsSchema>;
|
|
|
4543
4673
|
* MCP (Model Control Protocol) class
|
|
4544
4674
|
* Handles MCP server operations.
|
|
4545
4675
|
* When `config.experimental.mcp` is enabled, this class augments the features of `composio.mcp`.
|
|
4676
|
+
*
|
|
4677
|
+
* @deprecated Use a session's MCP endpoint instead: `composio.create(userId, { mcp: true })`
|
|
4678
|
+
* returns a session that exposes `session.mcp.url` / `session.mcp.headers`. MCP is now
|
|
4679
|
+
* opt-in per session; the standalone `composio.mcp` server-management API is kept only for
|
|
4680
|
+
* backwards compatibility. Prefer the session MCP endpoint; do not generate new code against
|
|
4681
|
+
* `composio.mcp`. See https://docs.composio.dev/docs/sessions-via-mcp
|
|
4546
4682
|
*/
|
|
4547
4683
|
declare class MCP {
|
|
4548
4684
|
client: Composio;
|
|
@@ -5105,7 +5241,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5105
5241
|
*
|
|
5106
5242
|
* const composio = new Composio();
|
|
5107
5243
|
*
|
|
5108
|
-
* const session = await composio.create('user_123', {
|
|
5244
|
+
* const session = await composio.sessions.create('user_123', {
|
|
5109
5245
|
* toolkits: ['gmail'],
|
|
5110
5246
|
* manageConnections: true,
|
|
5111
5247
|
* experimental: {
|
|
@@ -5115,7 +5251,10 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5115
5251
|
* });
|
|
5116
5252
|
* ```
|
|
5117
5253
|
*/
|
|
5118
|
-
create(userId: string, config
|
|
5254
|
+
create(userId: string, config: ToolRouterCreateSessionConfig & {
|
|
5255
|
+
mcp: true;
|
|
5256
|
+
}, requestOptions?: ComposioRequestOptions): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
5257
|
+
create(userId: string, config?: ToolRouterCreateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<SessionWithoutMcp<TToolCollection, TTool, TProvider>>;
|
|
5119
5258
|
/**
|
|
5120
5259
|
* Use an existing session
|
|
5121
5260
|
* @param id {string} The id of the session to use
|
|
@@ -5127,16 +5266,41 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5127
5266
|
*
|
|
5128
5267
|
* const composio = new Composio();
|
|
5129
5268
|
* const id = 'session_123';
|
|
5130
|
-
* const session = await composio.
|
|
5269
|
+
* const session = await composio.sessions.use(id);
|
|
5131
5270
|
*
|
|
5132
5271
|
* console.log(session.mcp.url);
|
|
5133
5272
|
* console.log(session.mcp.headers);
|
|
5134
5273
|
* ```
|
|
5135
5274
|
*/
|
|
5136
|
-
use(id: string, options
|
|
5275
|
+
use(id: string, options: {
|
|
5137
5276
|
customTools?: CustomTool[];
|
|
5138
5277
|
customToolkits?: CustomToolkit[];
|
|
5278
|
+
mcp: true;
|
|
5139
5279
|
}, requestOptions?: ComposioRequestOptions): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
5280
|
+
use(id: string, options?: {
|
|
5281
|
+
customTools?: CustomTool[];
|
|
5282
|
+
customToolkits?: CustomToolkit[];
|
|
5283
|
+
mcp?: boolean;
|
|
5284
|
+
}, requestOptions?: ComposioRequestOptions): Promise<SessionWithoutMcp<TToolCollection, TTool, TProvider>>;
|
|
5285
|
+
/**
|
|
5286
|
+
* Delete a tool router session by ID.
|
|
5287
|
+
*
|
|
5288
|
+
* Deleted sessions immediately stop being retrievable or executable. Deleting
|
|
5289
|
+
* a missing or already-deleted session surfaces the backend 404.
|
|
5290
|
+
*/
|
|
5291
|
+
delete(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionDeleteResponse>;
|
|
5292
|
+
}
|
|
5293
|
+
//#endregion
|
|
5294
|
+
//#region src/models/Sessions.d.ts
|
|
5295
|
+
/**
|
|
5296
|
+
* First-class API for creating and reusing Composio sessions.
|
|
5297
|
+
*
|
|
5298
|
+
* `composio.sessions.create(...)` is the canonical session creation entrypoint.
|
|
5299
|
+
* The top-level `composio.create(...)` method remains as a backwards-compatible
|
|
5300
|
+
* alias for `composio.sessions.create(...)`.
|
|
5301
|
+
*/
|
|
5302
|
+
declare class Sessions<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> extends ToolRouter<TToolCollection, TTool, TProvider> {
|
|
5303
|
+
constructor(client: Composio, config?: ComposioConfig<TProvider>);
|
|
5140
5304
|
}
|
|
5141
5305
|
//#endregion
|
|
5142
5306
|
//#region src/composio.d.ts
|
|
@@ -5306,17 +5470,33 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5306
5470
|
connectedAccounts: ConnectedAccounts;
|
|
5307
5471
|
/**
|
|
5308
5472
|
* Experimental SDK methods whose shape may change in future releases.
|
|
5309
|
-
*
|
|
5310
|
-
*
|
|
5311
|
-
*
|
|
5473
|
+
* Prefer domain-specific mounts (for example
|
|
5474
|
+
* `composio.connectedAccounts.updateAcl(...)`) when available; this
|
|
5475
|
+
* namespace keeps compatibility aliases while APIs are experimental.
|
|
5476
|
+
* Stateless experimental factories (e.g. `experimental_createTool`) stay
|
|
5477
|
+
* at the top level.
|
|
5312
5478
|
* @experimental
|
|
5313
5479
|
*/
|
|
5314
5480
|
experimental: Experimental;
|
|
5315
|
-
/**
|
|
5481
|
+
/**
|
|
5482
|
+
* Model Context Protocol server management.
|
|
5483
|
+
* @deprecated Use a session's MCP endpoint instead: `composio.create(userId, { mcp: true })`
|
|
5484
|
+
* returns a session that exposes `session.mcp.url` / `session.mcp.headers`. MCP is now opt-in
|
|
5485
|
+
* per session; this standalone server-management API is kept only for backwards compatibility.
|
|
5486
|
+
* Prefer the session MCP endpoint; do not generate new code against `composio.mcp`.
|
|
5487
|
+
* See https://docs.composio.dev/docs/sessions-via-mcp
|
|
5488
|
+
*/
|
|
5316
5489
|
mcp: MCP;
|
|
5317
5490
|
/**
|
|
5318
|
-
*
|
|
5319
|
-
*
|
|
5491
|
+
* Create and reuse Composio sessions.
|
|
5492
|
+
*
|
|
5493
|
+
* Prefer `composio.sessions.create(...)` for new code. The top-level
|
|
5494
|
+
* `composio.create(...)` method is kept as an alias.
|
|
5495
|
+
*/
|
|
5496
|
+
sessions: Sessions<unknown, unknown, TProvider>;
|
|
5497
|
+
/**
|
|
5498
|
+
* Legacy alias for `composio.sessions`.
|
|
5499
|
+
* @deprecated Use `composio.sessions` instead — `toolRouter` was renamed to `sessions` and is kept only for backwards compatibility. Prefer `composio.sessions`; do not generate new code against `composio.toolRouter`.
|
|
5320
5500
|
*/
|
|
5321
5501
|
toolRouter: ToolRouter<unknown, unknown, TProvider>;
|
|
5322
5502
|
/**
|
|
@@ -5335,7 +5515,12 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5335
5515
|
* const composio = new Composio();
|
|
5336
5516
|
* const userId = 'user_123';
|
|
5337
5517
|
*
|
|
5338
|
-
* const session = await composio.create(userId, {
|
|
5518
|
+
* const session = await composio.sessions.create(userId, {
|
|
5519
|
+
* manageConnections: true,
|
|
5520
|
+
* });
|
|
5521
|
+
*
|
|
5522
|
+
* // Backwards-compatible alias:
|
|
5523
|
+
* const same = await composio.create(userId, {
|
|
5339
5524
|
* manageConnections: true,
|
|
5340
5525
|
* });
|
|
5341
5526
|
*
|
|
@@ -5344,7 +5529,7 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5344
5529
|
* console.log(session.tools());
|
|
5345
5530
|
* ```
|
|
5346
5531
|
*/
|
|
5347
|
-
create:
|
|
5532
|
+
create: Sessions<unknown, unknown, TProvider>['create'];
|
|
5348
5533
|
/**
|
|
5349
5534
|
* Use an existing tool router session
|
|
5350
5535
|
*
|
|
@@ -5356,10 +5541,7 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5356
5541
|
* their own per-call requestOptions.
|
|
5357
5542
|
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
5358
5543
|
*/
|
|
5359
|
-
use:
|
|
5360
|
-
customTools?: CustomTool[];
|
|
5361
|
-
customToolkits?: CustomToolkit[];
|
|
5362
|
-
}, requestOptions?: ComposioRequestOptions) => Promise<Session<unknown, unknown, TProvider>>;
|
|
5544
|
+
use: Sessions<unknown, unknown, TProvider>['use'];
|
|
5363
5545
|
/**
|
|
5364
5546
|
* Creates a new instance of the Composio SDK.
|
|
5365
5547
|
*
|
|
@@ -5420,7 +5602,9 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5420
5602
|
* The new instance inherits all configuration from the parent instance (apiKey, baseURL, provider, etc.)
|
|
5421
5603
|
* but allows you to specify custom request options that will be used for all API calls made through this session.
|
|
5422
5604
|
*
|
|
5423
|
-
* @deprecated
|
|
5605
|
+
* @deprecated Will be removed in a future version of the SDK. Instead, construct a new
|
|
5606
|
+
* instance directly with the headers you need: `new Composio({ ...existingConfig, defaultHeaders })`.
|
|
5607
|
+
* For one-off overrides, pass per-call `requestOptions` where supported.
|
|
5424
5608
|
*
|
|
5425
5609
|
* @param {MergedRequestInit} fetchOptions - Custom request options to be used for all API calls in this session.
|
|
5426
5610
|
* This follows the Fetch API RequestInit interface with additional options.
|
|
@@ -5479,4 +5663,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5479
5663
|
flush(): Promise<void>;
|
|
5480
5664
|
}
|
|
5481
5665
|
//#endregion
|
|
5482
|
-
export {
|
|
5666
|
+
export { WebhookPayloadV3 as $, ToolkitsListParamsSchema as $t, TriggerInstanceUpsertResponse as A, ToolKitItem as At, TriggersTypeListParamsSchema as B, ToolkitAuthFieldsResponse as Bt, TriggerInstanceManageDeleteResponseSchema as C, AuthSchemeTypes as Ct, TriggerInstanceManageUpdateResponseSchema as D, CreateAuthConfigResponseSchema as Dt, TriggerInstanceManageUpdateResponse as E, CreateAuthConfigResponse as Et, TriggerSubscribeParamSchema as F, ToolKitMetaSchema as Ft, VerifyWebhookParamsSchema as G, ToolkitMangedByEnum as Gt, TriggersTypeListResponseSchema as H, ToolkitCategory as Ht, TriggerSubscribeParams as I, ToolkitAuthConfigDetails as It, WebhookPayloadSchema as J, ToolkitRetrieveCategoriesResponseSchema as Jt, VerifyWebhookResult as K, ToolkitMangedByEnumSchema as Kt, TriggerType as L, ToolkitAuthConfigDetailsSchema as Lt, TriggerStatusEnum as M, ToolKitListResponse as Mt, TriggerStatusType as N, ToolKitListResponseSchema as Nt, TriggerInstanceUpsertParams as O, CreateComposioManagedAuthConfigParamsSchema as Ot, TriggerStatuses as P, ToolKitMeta as Pt, WebhookPayloadV2Schema as Q, ToolkitSortByEnumSchema as Qt, TriggerTypeSchema as R, ToolkitAuthField as Rt, TriggerInstanceManageDeleteResponse as S, AuthSchemeType as St, TriggerInstanceManageUpdateParamsSchema as T, CreateAuthConfigParamsSchema as Tt, TriggersTypeRetrieveResponse as U, ToolkitCategorySchema as Ut, TriggersTypeListResponse as V, ToolkitAuthFieldsResponseSchema as Vt, VerifyWebhookParams as W, ToolkitListParams as Wt, WebhookPayloadV1Schema as X, ToolkitRetrieveResponseSchema as Xt, WebhookPayloadV1 as Y, ToolkitRetrieveResponse as Yt, WebhookPayloadV2 as Z, ToolkitSortByEnum as Zt, TriggerInstanceListActiveParamsSchema as _, AuthConfigUpdateParams as _t, MCP as a, WebhookVersion as at, TriggerInstanceListActiveResponseItemSchema as b, AuthDefaultConfigUpdateParamsSchema as bt, IncomingTriggerPayload as c, AuthConfigListParams as ct, SetWebhookSubscriptionParams as d, AuthConfigListResponseSchema as dt, WebhookPayloadV3Schema as et, SetWebhookSubscriptionParamsSchema as f, AuthConfigRetrieveResponse as ft, TriggerInstanceListActiveParams as g, AuthConfigTypes as gt, TriggerEventData as h, AuthConfigType as ht, OpenAIProvider as i, WebhookTriggerPayloadV3Schema as it, TriggerInstanceUpsertResponseSchema as j, ToolKitItemSchema as jt, TriggerInstanceUpsertParamsSchema as k, CreateCustomAuthConfigParamsSchema as kt, IncomingTriggerPayloadSchema as l, AuthConfigListParamsSchema as lt, TriggerEvent as m, AuthConfigToolAccessConfigSchema as mt, ComposioConfig as n, WebhookSubscription as nt, Experimental as o, WebhookVersions as ot, TriggerData as p, AuthConfigRetrieveResponseSchema as pt, WebhookPayload as q, ToolkitRetrieveCategoriesResponse as qt, Sessions as r, WebhookTriggerPayloadV3 as rt, DefaultWebhookSubscriptionEvents as s, AuthConfigCreationToolAccessConfigSchema as st, Composio$1 as t, WebhookRequestLike as tt, ParseWebhookOptions as u, AuthConfigListResponse as ut, TriggerInstanceListActiveResponse as v, AuthConfigUpdateParamsSchema as vt, TriggerInstanceManageUpdateParams as w, CreateAuthConfigParams as wt, TriggerInstanceListActiveResponseSchema as x, AuthSchemeEnum as xt, TriggerInstanceListActiveResponseItem as y, AuthCustomConfigUpdateParamsSchema as yt, TriggersTypeListParams as z, ToolkitAuthFieldSchema as zt };
|