@composio/core 0.28.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/dist/{CustomTool-BYHB7sPs.mjs → CustomTool-9Vlb4XaS.mjs} +12 -14
- package/dist/{CustomTool-DyypijT6.d.mts → CustomTool-Dzk3iqfP.d.mts} +10 -11
- package/dist/FileModifierErrors-WrqokuIF.mjs +199 -0
- package/dist/{FileToolModifier.utils.neutral-DWFpnsj2.mjs → FileToolModifier.utils.neutral-BQP85ZJj.mjs} +1 -2
- package/dist/{SsrfErrors-DiQldIdC.mjs → SsrfErrors-BSVMW915.mjs} +49 -26
- package/dist/{Telemetry-D2PJwXKx.mjs → Telemetry-a7SOQXcg.mjs} +6 -10
- package/dist/{composio-CwHMpKXb.d.mts → composio-DaokW5sV.d.mts} +220 -254
- package/dist/{customTool.types-DoItUHkO.d.mts → customTool.types-CpJbzxT6.d.mts} +255 -274
- package/dist/docs/error-consistency.md +3 -3
- package/dist/docs/reference/sdk-reference/typescript/composio.mdx +2 -1
- package/dist/docs/reference/sdk-reference/typescript/connected-accounts.mdx +2 -2
- package/dist/docs/reference/sdk-reference/typescript/custom-toolkits.mdx +88 -10
- package/dist/docs/reference/sdk-reference/typescript/experimental.mdx +1 -1
- package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -1
- package/dist/docs/reference/sdk-reference/typescript/remote-file.mdx +1 -1
- package/dist/docs/reference/sdk-reference/typescript/session-configs.mdx +1 -1
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +48 -10
- package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +6 -6
- package/dist/docs/reference/sdk-reference/typescript/tools.mdx +4 -4
- package/dist/docs/reference/sdk-reference/typescript/triggers.mdx +5 -1
- package/dist/{errors-Cly0vXFh.mjs → errors-xC13uvaA.mjs} +116 -135
- package/dist/experimental/index.d.mts +17 -3
- package/dist/experimental/index.mjs +1 -1
- package/dist/{fileUtils.node-ILI1IjnZ.mjs → fileUtils.node-CAwIbWYH.mjs} +6 -8
- package/dist/{files.types-DeMC_mAW.d.mts → files.types-Dg6HcEzs.d.mts} +0 -2
- package/dist/index.d.mts +73 -78
- package/dist/index.mjs +393 -290
- package/dist/{cancellation-ZoRh6EJQ.mjs → jsonSchema-Cc4EtHRw.mjs} +5 -22
- package/dist/models/Files.node.d.mts +32 -13
- package/dist/models/Files.node.mjs +36 -19
- package/dist/models/Files.workerd.d.mts +8 -3
- package/dist/models/Files.workerd.mjs +1 -2
- package/dist/platform/node.d.mts +2 -4
- package/dist/platform/node.mjs +15 -16
- package/dist/platform/workerd.d.mts +2 -4
- package/dist/platform/workerd.mjs +1 -2
- package/dist/requestOptions.types-DWrTcbss.d.mts +38 -0
- package/dist/rolldown-runtime-ad2WFvuA.mjs +17 -0
- package/dist/{sensitiveFileUploadPaths-BaEORC7-.mjs → sensitiveFileUploadPaths-CSyJ3Ku8.mjs} +22 -12
- package/dist/{ssrfGuard.node-BZ270bcu.mjs → ssrfGuard.node-CdIkwqVu.mjs} +3 -5
- package/dist/{types-DWZWePfZ.d.mts → types-DQdUb7OG.d.mts} +2 -4
- package/dist/{types-DuVZKrXO.d.mts → types-Ds6XbK1m.d.mts} +0 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +2 -4
- package/dist/utils/config-defaults/ConfigDefaults.node.mjs +1 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +2 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.mjs +1 -2
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +2 -4
- package/dist/utils/modifiers/FileToolModifier.node.mjs +7 -8
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +2 -4
- package/dist/utils/modifiers/FileToolModifier.workerd.mjs +2 -3
- package/dist/utils/ssrfGuard.node.d.mts +1 -3
- package/dist/utils/ssrfGuard.node.mjs +1 -1
- package/dist/utils/ssrfGuard.workerd.d.mts +1 -3
- package/dist/utils/ssrfGuard.workerd.mjs +2 -3
- package/docs/error-consistency.md +3 -3
- package/package.json +12 -13
- package/src/composio.ts +12 -0
- package/src/errors/ComposioError.ts +40 -16
- package/src/errors/ConnectedAccountsErrors.ts +2 -2
- package/src/errors/ToolErrors.ts +177 -28
- package/src/errors/apiErrorDetails.ts +40 -0
- package/src/experimental/index.ts +6 -1
- package/src/lib/toolRouterParams.ts +40 -0
- package/src/models/ConnectedAccounts.ts +2 -2
- package/src/models/ConnectionRequest.ts +44 -32
- package/src/models/CustomTool.ts +25 -30
- package/src/models/CustomToolkits.ts +16 -22
- package/src/models/Experimental.ts +2 -7
- package/src/models/Files.node.ts +68 -37
- package/src/models/RemoteFile.ts +22 -16
- package/src/models/SessionContext.ts +6 -7
- package/src/models/ToolRouter.ts +24 -14
- package/src/models/ToolRouterSession.ts +38 -31
- package/src/models/Tools.ts +274 -30
- package/src/models/Triggers.ts +8 -2
- package/src/types/customTool.types.ts +49 -28
- package/src/types/customToolkits.types.ts +7 -12
- package/src/types/toolRouter.types.ts +39 -17
- package/src/utils/cancellation.ts +5 -1
- package/src/utils/rateLimit.ts +25 -0
- package/src/utils/transformers/customToolkits.ts +2 -2
- package/dist/FileModifierErrors-CdGSABoq.mjs +0 -97
- package/dist/rolldown-runtime-w6R9maHv.mjs +0 -18
- package/src/models/inlineCustomToolsPayload.ts +0 -17
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { Aa as ExecuteToolModifiers, Ai as McpUrlResponse, Er as UpdateConnectedAccountAclParams, J as ToolRouterCreateSessionConfig, Ja as ToolExecuteMetaParams, Ka as SchemaModifierOptions, Ma as ProviderOptions, Mr as BaseNonAgenticProvider, Na as SessionExecuteMetaModifiers, Nn as ConnectionRequest, Or as UpdateConnectedAccountParams, P as Session, Pi as ExecuteToolFnOptions, Qa as ToolExecuteResponse, Ri as ToolCallSession, S as LocalTool, St as ToolRouterSessionDeleteResponse, Ti as McpServerGetResponse, Un as ConnectedAccountCompleteAuthResponse, Vn as ConnectedAccountCompleteAuthParams, Xa as ToolExecuteParams, Yn as ConnectedAccountListParams, Zn as ConnectedAccountListResponse, ao as ToolProxyParams, eo as ToolList, er as ConnectedAccountRefreshOptions, hr as CreateConnectedAccountLinkOptions, ir as ConnectedAccountRevokeResponse, jr as BaseComposioProvider, mo as ToolkitVersionParam, nr as ConnectedAccountRetrieveResponse, qa as Tool, so as ToolRetrievalOptions, to as ToolListParams, w as LocalToolkit, yr as CreateConnectedAccountOptions, z as SessionWithoutMcp } from "./customTool.types-CpJbzxT6.mjs";
|
|
2
|
+
import { t as ComposioRequestOptions } from "./requestOptions.types-DWrTcbss.mjs";
|
|
3
|
+
import ComposioClient, { Composio as Composio$1 } from "@composio/client";
|
|
3
4
|
import z, { z as z$1 } from "zod/v3";
|
|
4
5
|
import { Files } from "#files";
|
|
6
|
+
import "zod";
|
|
5
7
|
import { ConnectedAccountDeleteResponse, ConnectedAccountPatchResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
|
|
6
8
|
import { SessionExecuteParams } from "@composio/client/resources/tool-router/session";
|
|
7
9
|
import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
|
|
8
10
|
import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/triggers-types";
|
|
9
11
|
import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
|
|
10
12
|
import { OpenAI } from "openai";
|
|
11
|
-
//#region src/models/Tools.d.ts
|
|
12
13
|
type ToolRouterSessionExecuteOptions = {
|
|
13
14
|
experimental?: NonNullable<SessionExecuteParams['experimental']>;
|
|
14
15
|
};
|
|
@@ -28,6 +29,14 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
28
29
|
* Scoped per-instance so a fresh `Composio` starts with a clean slate.
|
|
29
30
|
*/
|
|
30
31
|
private readonly warnedAutoUploadDisabledForTool;
|
|
32
|
+
/** Tools whose parameters were dropped by `transformToolCases`; warn once each. */
|
|
33
|
+
private readonly warnedMalformedToolParametersSlugs;
|
|
34
|
+
/**
|
|
35
|
+
* Schemas `execute()` already fetched, so repeated executions don't each spend a request.
|
|
36
|
+
* Holds what `getRawComposioToolBySlug` returned with no `modifySchema`, so a caller's schema
|
|
37
|
+
* modifiers never reach it.
|
|
38
|
+
*/
|
|
39
|
+
private readonly executeToolSchemas;
|
|
31
40
|
constructor(client: ComposioClient, config?: ComposioConfig<TProvider>);
|
|
32
41
|
/**
|
|
33
42
|
* Transforms tool data from snake_case API format to camelCase for internal SDK use.
|
|
@@ -36,11 +45,18 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
36
45
|
* making them more consistent with JavaScript/TypeScript conventions.
|
|
37
46
|
*
|
|
38
47
|
* @param {ToolRetrieveResponse | ComposioToolListResponse['items'][0]} tool - The tool object to transform
|
|
39
|
-
* @returns {Tool} The transformed tool with camelCase properties
|
|
48
|
+
* @returns {Tool} The transformed tool with camelCase properties, or
|
|
49
|
+
* `undefined` when its input schema is unrepairable and the tool is skipped
|
|
40
50
|
*
|
|
41
51
|
* @private
|
|
42
52
|
*/
|
|
43
53
|
private transformToolCases;
|
|
54
|
+
/**
|
|
55
|
+
* Warn once per tool that its declared parameters could not be parsed and
|
|
56
|
+
* were dropped, so a caller sees why a tool carries no schema instead of a
|
|
57
|
+
* bare TypeError from deep inside Zod.
|
|
58
|
+
*/
|
|
59
|
+
private warnMalformedToolParameters;
|
|
44
60
|
/**
|
|
45
61
|
* Transforms tool execution response from snake_case API format to camelCase.
|
|
46
62
|
*
|
|
@@ -100,9 +116,9 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
100
116
|
* Lists Composio API tools available to the SDK.
|
|
101
117
|
*
|
|
102
118
|
* This method fetches remote Composio tools from the API in raw format. The response can be
|
|
103
|
-
* filtered and modified as needed.
|
|
119
|
+
* filtered and modified as needed. Experimental local tools are session-scoped; attach
|
|
104
120
|
* them when creating or reusing a Tool Router session, then use `session.tools()`,
|
|
105
|
-
* `session.
|
|
121
|
+
* `session.localTools()`, or `session.execute()`.
|
|
106
122
|
* It provides access to the underlying tool data without provider-specific wrapping.
|
|
107
123
|
*
|
|
108
124
|
* @param {ToolListParams} query - Query parameters to filter the tools (required)
|
|
@@ -179,8 +195,8 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
179
195
|
* This method fetches a single tool in raw format without provider-specific wrapping,
|
|
180
196
|
* providing direct access to the tool's schema and metadata. Tool versions are controlled
|
|
181
197
|
* at the Composio SDK initialization level through the `toolkitVersions` configuration.
|
|
182
|
-
*
|
|
183
|
-
* Tool Router session, then use `session.tools()`, `session.
|
|
198
|
+
* Experimental local tools are session-scoped; attach them when creating or reusing a
|
|
199
|
+
* Tool Router session, then use `session.tools()`, `session.localTools()`, or
|
|
184
200
|
* `session.execute()`.
|
|
185
201
|
*
|
|
186
202
|
* @param {string} slug - The unique identifier of the tool (e.g., 'GITHUB_GET_REPOS')
|
|
@@ -423,6 +439,8 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
423
439
|
* ```
|
|
424
440
|
*/
|
|
425
441
|
execute(slug: string, body: ToolExecuteParams, options?: ExecuteToolModifiers & ComposioRequestOptions): Promise<ToolExecuteResponse>;
|
|
442
|
+
/** The tool's schema for `execute()`, fetched only if no unexpired copy is cached. Failures aren't cached. */
|
|
443
|
+
private getToolSchemaForExecute;
|
|
426
444
|
/**
|
|
427
445
|
* Executes a tool based on a tool router session.
|
|
428
446
|
*
|
|
@@ -510,8 +528,6 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
510
528
|
*/
|
|
511
529
|
proxyExecute(body: ToolProxyParams, requestOptions?: ComposioRequestOptions): Promise<ToolProxyResponse>;
|
|
512
530
|
}
|
|
513
|
-
//#endregion
|
|
514
|
-
//#region src/types/toolkit.types.d.ts
|
|
515
531
|
/**
|
|
516
532
|
* Toolkit list params
|
|
517
533
|
*/
|
|
@@ -590,28 +606,28 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
590
606
|
logo?: string | undefined;
|
|
591
607
|
description?: string | undefined;
|
|
592
608
|
availableVersions?: string[] | undefined;
|
|
593
|
-
createdAt?: string | undefined;
|
|
594
|
-
updatedAt?: string | undefined;
|
|
595
609
|
categories?: {
|
|
596
610
|
slug: string;
|
|
597
611
|
name: string;
|
|
598
612
|
}[] | undefined;
|
|
599
613
|
appUrl?: string | undefined;
|
|
614
|
+
createdAt?: string | undefined;
|
|
600
615
|
toolsCount?: number | undefined;
|
|
601
616
|
triggersCount?: number | undefined;
|
|
617
|
+
updatedAt?: string | undefined;
|
|
602
618
|
}, {
|
|
603
619
|
logo?: string | undefined;
|
|
604
620
|
description?: string | undefined;
|
|
605
621
|
availableVersions?: string[] | undefined;
|
|
606
|
-
createdAt?: string | undefined;
|
|
607
|
-
updatedAt?: string | undefined;
|
|
608
622
|
categories?: {
|
|
609
623
|
slug: string;
|
|
610
624
|
name: string;
|
|
611
625
|
}[] | undefined;
|
|
612
626
|
appUrl?: string | undefined;
|
|
627
|
+
createdAt?: string | undefined;
|
|
613
628
|
toolsCount?: number | undefined;
|
|
614
629
|
triggersCount?: number | undefined;
|
|
630
|
+
updatedAt?: string | undefined;
|
|
615
631
|
}>;
|
|
616
632
|
declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
617
633
|
name: z$1.ZodString;
|
|
@@ -639,28 +655,28 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
639
655
|
logo?: string | undefined;
|
|
640
656
|
description?: string | undefined;
|
|
641
657
|
availableVersions?: string[] | undefined;
|
|
642
|
-
createdAt?: string | undefined;
|
|
643
|
-
updatedAt?: string | undefined;
|
|
644
658
|
categories?: {
|
|
645
659
|
slug: string;
|
|
646
660
|
name: string;
|
|
647
661
|
}[] | undefined;
|
|
648
662
|
appUrl?: string | undefined;
|
|
663
|
+
createdAt?: string | undefined;
|
|
649
664
|
toolsCount?: number | undefined;
|
|
650
665
|
triggersCount?: number | undefined;
|
|
666
|
+
updatedAt?: string | undefined;
|
|
651
667
|
}, {
|
|
652
668
|
logo?: string | undefined;
|
|
653
669
|
description?: string | undefined;
|
|
654
670
|
availableVersions?: string[] | undefined;
|
|
655
|
-
createdAt?: string | undefined;
|
|
656
|
-
updatedAt?: string | undefined;
|
|
657
671
|
categories?: {
|
|
658
672
|
slug: string;
|
|
659
673
|
name: string;
|
|
660
674
|
}[] | undefined;
|
|
661
675
|
appUrl?: string | undefined;
|
|
676
|
+
createdAt?: string | undefined;
|
|
662
677
|
toolsCount?: number | undefined;
|
|
663
678
|
triggersCount?: number | undefined;
|
|
679
|
+
updatedAt?: string | undefined;
|
|
664
680
|
}>;
|
|
665
681
|
isLocalToolkit: z$1.ZodBoolean;
|
|
666
682
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -673,15 +689,15 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
673
689
|
logo?: string | undefined;
|
|
674
690
|
description?: string | undefined;
|
|
675
691
|
availableVersions?: string[] | undefined;
|
|
676
|
-
createdAt?: string | undefined;
|
|
677
|
-
updatedAt?: string | undefined;
|
|
678
692
|
categories?: {
|
|
679
693
|
slug: string;
|
|
680
694
|
name: string;
|
|
681
695
|
}[] | undefined;
|
|
682
696
|
appUrl?: string | undefined;
|
|
697
|
+
createdAt?: string | undefined;
|
|
683
698
|
toolsCount?: number | undefined;
|
|
684
699
|
triggersCount?: number | undefined;
|
|
700
|
+
updatedAt?: string | undefined;
|
|
685
701
|
};
|
|
686
702
|
isLocalToolkit: boolean;
|
|
687
703
|
authSchemes?: string[] | undefined;
|
|
@@ -694,15 +710,15 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
694
710
|
logo?: string | undefined;
|
|
695
711
|
description?: string | undefined;
|
|
696
712
|
availableVersions?: string[] | undefined;
|
|
697
|
-
createdAt?: string | undefined;
|
|
698
|
-
updatedAt?: string | undefined;
|
|
699
713
|
categories?: {
|
|
700
714
|
slug: string;
|
|
701
715
|
name: string;
|
|
702
716
|
}[] | undefined;
|
|
703
717
|
appUrl?: string | undefined;
|
|
718
|
+
createdAt?: string | undefined;
|
|
704
719
|
toolsCount?: number | undefined;
|
|
705
720
|
triggersCount?: number | undefined;
|
|
721
|
+
updatedAt?: string | undefined;
|
|
706
722
|
};
|
|
707
723
|
isLocalToolkit: boolean;
|
|
708
724
|
authSchemes?: string[] | undefined;
|
|
@@ -735,28 +751,28 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
735
751
|
logo?: string | undefined;
|
|
736
752
|
description?: string | undefined;
|
|
737
753
|
availableVersions?: string[] | undefined;
|
|
738
|
-
createdAt?: string | undefined;
|
|
739
|
-
updatedAt?: string | undefined;
|
|
740
754
|
categories?: {
|
|
741
755
|
slug: string;
|
|
742
756
|
name: string;
|
|
743
757
|
}[] | undefined;
|
|
744
758
|
appUrl?: string | undefined;
|
|
759
|
+
createdAt?: string | undefined;
|
|
745
760
|
toolsCount?: number | undefined;
|
|
746
761
|
triggersCount?: number | undefined;
|
|
762
|
+
updatedAt?: string | undefined;
|
|
747
763
|
}, {
|
|
748
764
|
logo?: string | undefined;
|
|
749
765
|
description?: string | undefined;
|
|
750
766
|
availableVersions?: string[] | undefined;
|
|
751
|
-
createdAt?: string | undefined;
|
|
752
|
-
updatedAt?: string | undefined;
|
|
753
767
|
categories?: {
|
|
754
768
|
slug: string;
|
|
755
769
|
name: string;
|
|
756
770
|
}[] | undefined;
|
|
757
771
|
appUrl?: string | undefined;
|
|
772
|
+
createdAt?: string | undefined;
|
|
758
773
|
toolsCount?: number | undefined;
|
|
759
774
|
triggersCount?: number | undefined;
|
|
775
|
+
updatedAt?: string | undefined;
|
|
760
776
|
}>;
|
|
761
777
|
isLocalToolkit: z$1.ZodBoolean;
|
|
762
778
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -769,15 +785,15 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
769
785
|
logo?: string | undefined;
|
|
770
786
|
description?: string | undefined;
|
|
771
787
|
availableVersions?: string[] | undefined;
|
|
772
|
-
createdAt?: string | undefined;
|
|
773
|
-
updatedAt?: string | undefined;
|
|
774
788
|
categories?: {
|
|
775
789
|
slug: string;
|
|
776
790
|
name: string;
|
|
777
791
|
}[] | undefined;
|
|
778
792
|
appUrl?: string | undefined;
|
|
793
|
+
createdAt?: string | undefined;
|
|
779
794
|
toolsCount?: number | undefined;
|
|
780
795
|
triggersCount?: number | undefined;
|
|
796
|
+
updatedAt?: string | undefined;
|
|
781
797
|
};
|
|
782
798
|
isLocalToolkit: boolean;
|
|
783
799
|
authSchemes?: string[] | undefined;
|
|
@@ -790,15 +806,15 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
790
806
|
logo?: string | undefined;
|
|
791
807
|
description?: string | undefined;
|
|
792
808
|
availableVersions?: string[] | undefined;
|
|
793
|
-
createdAt?: string | undefined;
|
|
794
|
-
updatedAt?: string | undefined;
|
|
795
809
|
categories?: {
|
|
796
810
|
slug: string;
|
|
797
811
|
name: string;
|
|
798
812
|
}[] | undefined;
|
|
799
813
|
appUrl?: string | undefined;
|
|
814
|
+
createdAt?: string | undefined;
|
|
800
815
|
toolsCount?: number | undefined;
|
|
801
816
|
triggersCount?: number | undefined;
|
|
817
|
+
updatedAt?: string | undefined;
|
|
802
818
|
};
|
|
803
819
|
isLocalToolkit: boolean;
|
|
804
820
|
authSchemes?: string[] | undefined;
|
|
@@ -1406,28 +1422,28 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1406
1422
|
logo?: string | undefined;
|
|
1407
1423
|
description?: string | undefined;
|
|
1408
1424
|
availableVersions?: string[] | undefined;
|
|
1409
|
-
createdAt?: string | undefined;
|
|
1410
|
-
updatedAt?: string | undefined;
|
|
1411
1425
|
categories?: {
|
|
1412
1426
|
slug: string;
|
|
1413
1427
|
name: string;
|
|
1414
1428
|
}[] | undefined;
|
|
1415
1429
|
appUrl?: string | undefined;
|
|
1430
|
+
createdAt?: string | undefined;
|
|
1416
1431
|
toolsCount?: number | undefined;
|
|
1417
1432
|
triggersCount?: number | undefined;
|
|
1433
|
+
updatedAt?: string | undefined;
|
|
1418
1434
|
}, {
|
|
1419
1435
|
logo?: string | undefined;
|
|
1420
1436
|
description?: string | undefined;
|
|
1421
1437
|
availableVersions?: string[] | undefined;
|
|
1422
|
-
createdAt?: string | undefined;
|
|
1423
|
-
updatedAt?: string | undefined;
|
|
1424
1438
|
categories?: {
|
|
1425
1439
|
slug: string;
|
|
1426
1440
|
name: string;
|
|
1427
1441
|
}[] | undefined;
|
|
1428
1442
|
appUrl?: string | undefined;
|
|
1443
|
+
createdAt?: string | undefined;
|
|
1429
1444
|
toolsCount?: number | undefined;
|
|
1430
1445
|
triggersCount?: number | undefined;
|
|
1446
|
+
updatedAt?: string | undefined;
|
|
1431
1447
|
}>;
|
|
1432
1448
|
isLocalToolkit: z$1.ZodBoolean;
|
|
1433
1449
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -1963,15 +1979,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1963
1979
|
logo?: string | undefined;
|
|
1964
1980
|
description?: string | undefined;
|
|
1965
1981
|
availableVersions?: string[] | undefined;
|
|
1966
|
-
createdAt?: string | undefined;
|
|
1967
|
-
updatedAt?: string | undefined;
|
|
1968
1982
|
categories?: {
|
|
1969
1983
|
slug: string;
|
|
1970
1984
|
name: string;
|
|
1971
1985
|
}[] | undefined;
|
|
1972
1986
|
appUrl?: string | undefined;
|
|
1987
|
+
createdAt?: string | undefined;
|
|
1973
1988
|
toolsCount?: number | undefined;
|
|
1974
1989
|
triggersCount?: number | undefined;
|
|
1990
|
+
updatedAt?: string | undefined;
|
|
1975
1991
|
};
|
|
1976
1992
|
isLocalToolkit: boolean;
|
|
1977
1993
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -2044,15 +2060,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2044
2060
|
logo?: string | undefined;
|
|
2045
2061
|
description?: string | undefined;
|
|
2046
2062
|
availableVersions?: string[] | undefined;
|
|
2047
|
-
createdAt?: string | undefined;
|
|
2048
|
-
updatedAt?: string | undefined;
|
|
2049
2063
|
categories?: {
|
|
2050
2064
|
slug: string;
|
|
2051
2065
|
name: string;
|
|
2052
2066
|
}[] | undefined;
|
|
2053
2067
|
appUrl?: string | undefined;
|
|
2068
|
+
createdAt?: string | undefined;
|
|
2054
2069
|
toolsCount?: number | undefined;
|
|
2055
2070
|
triggersCount?: number | undefined;
|
|
2071
|
+
updatedAt?: string | undefined;
|
|
2056
2072
|
};
|
|
2057
2073
|
isLocalToolkit: boolean;
|
|
2058
2074
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -2293,18 +2309,18 @@ declare const ToolkitRecommendScopesParamsSchema: z$1.ZodObject<{
|
|
|
2293
2309
|
}, "strip", z$1.ZodTypeAny, {
|
|
2294
2310
|
tools: string[];
|
|
2295
2311
|
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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2296
|
-
exclude?: string[] | undefined;
|
|
2297
2312
|
toolkitVersion?: string | undefined;
|
|
2298
2313
|
grantContext?: Record<string, string> | undefined;
|
|
2299
2314
|
include?: string[] | undefined;
|
|
2315
|
+
exclude?: string[] | undefined;
|
|
2300
2316
|
availableScopes?: string[] | undefined;
|
|
2301
2317
|
}, {
|
|
2302
2318
|
tools: string[];
|
|
2303
2319
|
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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2304
|
-
exclude?: string[] | undefined;
|
|
2305
2320
|
toolkitVersion?: string | undefined;
|
|
2306
2321
|
grantContext?: Record<string, string> | undefined;
|
|
2307
2322
|
include?: string[] | undefined;
|
|
2323
|
+
exclude?: string[] | undefined;
|
|
2308
2324
|
availableScopes?: string[] | undefined;
|
|
2309
2325
|
}>;
|
|
2310
2326
|
type ToolkitRecommendScopesParams = z$1.infer<typeof ToolkitRecommendScopesParamsSchema>;
|
|
@@ -2521,8 +2537,6 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
2521
2537
|
userVisible?: boolean | undefined;
|
|
2522
2538
|
}>, "many">;
|
|
2523
2539
|
type ToolkitAuthFieldsResponse = z$1.infer<typeof ToolkitAuthFieldsResponseSchema>;
|
|
2524
|
-
//#endregion
|
|
2525
|
-
//#region src/types/authConfigs.types.d.ts
|
|
2526
2540
|
declare const AuthConfigTypes: {
|
|
2527
2541
|
readonly CUSTOM: "use_custom_auth";
|
|
2528
2542
|
readonly COMPOSIO_MANAGED: "use_composio_managed_auth";
|
|
@@ -2819,8 +2833,8 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2819
2833
|
id: string;
|
|
2820
2834
|
noOfConnections: number;
|
|
2821
2835
|
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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2822
|
-
createdAt?: string | undefined;
|
|
2823
2836
|
isComposioManaged?: boolean | undefined;
|
|
2837
|
+
createdAt?: string | undefined;
|
|
2824
2838
|
credentials?: Record<string, unknown> | undefined;
|
|
2825
2839
|
toolAccessConfig?: {
|
|
2826
2840
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2841,8 +2855,8 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2841
2855
|
id: string;
|
|
2842
2856
|
noOfConnections: number;
|
|
2843
2857
|
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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2844
|
-
createdAt?: string | undefined;
|
|
2845
2858
|
isComposioManaged?: boolean | undefined;
|
|
2859
|
+
createdAt?: string | undefined;
|
|
2846
2860
|
credentials?: Record<string, unknown> | undefined;
|
|
2847
2861
|
toolAccessConfig?: {
|
|
2848
2862
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2926,8 +2940,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2926
2940
|
id: string;
|
|
2927
2941
|
noOfConnections: number;
|
|
2928
2942
|
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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2929
|
-
createdAt?: string | undefined;
|
|
2930
2943
|
isComposioManaged?: boolean | undefined;
|
|
2944
|
+
createdAt?: string | undefined;
|
|
2931
2945
|
credentials?: Record<string, unknown> | undefined;
|
|
2932
2946
|
toolAccessConfig?: {
|
|
2933
2947
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2948,8 +2962,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2948
2962
|
id: string;
|
|
2949
2963
|
noOfConnections: number;
|
|
2950
2964
|
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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2951
|
-
createdAt?: string | undefined;
|
|
2952
2965
|
isComposioManaged?: boolean | undefined;
|
|
2966
|
+
createdAt?: string | undefined;
|
|
2953
2967
|
credentials?: Record<string, unknown> | undefined;
|
|
2954
2968
|
toolAccessConfig?: {
|
|
2955
2969
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2974,8 +2988,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2974
2988
|
id: string;
|
|
2975
2989
|
noOfConnections: number;
|
|
2976
2990
|
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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2977
|
-
createdAt?: string | undefined;
|
|
2978
2991
|
isComposioManaged?: boolean | undefined;
|
|
2992
|
+
createdAt?: string | undefined;
|
|
2979
2993
|
credentials?: Record<string, unknown> | undefined;
|
|
2980
2994
|
toolAccessConfig?: {
|
|
2981
2995
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -3000,8 +3014,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3000
3014
|
id: string;
|
|
3001
3015
|
noOfConnections: number;
|
|
3002
3016
|
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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
3003
|
-
createdAt?: string | undefined;
|
|
3004
3017
|
isComposioManaged?: boolean | undefined;
|
|
3018
|
+
createdAt?: string | undefined;
|
|
3005
3019
|
credentials?: Record<string, unknown> | undefined;
|
|
3006
3020
|
toolAccessConfig?: {
|
|
3007
3021
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -3195,8 +3209,6 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
3195
3209
|
restrictToFollowingTools?: string[] | undefined;
|
|
3196
3210
|
}>]>;
|
|
3197
3211
|
type AuthConfigUpdateParams = z$1.infer<typeof AuthConfigUpdateParamsSchema>;
|
|
3198
|
-
//#endregion
|
|
3199
|
-
//#region src/models/Toolkits.d.ts
|
|
3200
3212
|
/**
|
|
3201
3213
|
* Toolkits class
|
|
3202
3214
|
*
|
|
@@ -3404,8 +3416,6 @@ declare class Toolkits {
|
|
|
3404
3416
|
*/
|
|
3405
3417
|
authorize(userId: string, toolkitSlug: string, authConfigId?: string, requestOptions?: ComposioRequestOptions): Promise<ConnectionRequest>;
|
|
3406
3418
|
}
|
|
3407
|
-
//#endregion
|
|
3408
|
-
//#region src/types/triggers.types.d.ts
|
|
3409
3419
|
declare const TriggerStatuses: {
|
|
3410
3420
|
readonly ENABLE: "enable";
|
|
3411
3421
|
readonly DISABLE: "disable";
|
|
@@ -3424,16 +3434,16 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
3424
3434
|
toolkits?: string[] | undefined;
|
|
3425
3435
|
connectedAccountId?: string | undefined;
|
|
3426
3436
|
userId?: string | undefined;
|
|
3427
|
-
authConfigId?: string | undefined;
|
|
3428
3437
|
triggerId?: string | undefined;
|
|
3438
|
+
authConfigId?: string | undefined;
|
|
3429
3439
|
triggerSlug?: string[] | undefined;
|
|
3430
3440
|
triggerData?: string | undefined;
|
|
3431
3441
|
}, {
|
|
3432
3442
|
toolkits?: string[] | undefined;
|
|
3433
3443
|
connectedAccountId?: string | undefined;
|
|
3434
3444
|
userId?: string | undefined;
|
|
3435
|
-
authConfigId?: string | undefined;
|
|
3436
3445
|
triggerId?: string | undefined;
|
|
3446
|
+
authConfigId?: string | undefined;
|
|
3437
3447
|
triggerSlug?: string[] | undefined;
|
|
3438
3448
|
triggerData?: string | undefined;
|
|
3439
3449
|
}>;
|
|
@@ -3449,16 +3459,16 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
|
|
|
3449
3459
|
}, "strip", z$1.ZodTypeAny, {
|
|
3450
3460
|
limit?: number | undefined;
|
|
3451
3461
|
authConfigIds?: string[] | null | undefined;
|
|
3452
|
-
connectedAccountIds?: string[] | null | undefined;
|
|
3453
3462
|
cursor?: string | undefined;
|
|
3463
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
3454
3464
|
showDisabled?: boolean | null | undefined;
|
|
3455
3465
|
triggerIds?: string[] | null | undefined;
|
|
3456
3466
|
triggerNames?: string[] | null | undefined;
|
|
3457
3467
|
}, {
|
|
3458
3468
|
limit?: number | undefined;
|
|
3459
3469
|
authConfigIds?: string[] | null | undefined;
|
|
3460
|
-
connectedAccountIds?: string[] | null | undefined;
|
|
3461
3470
|
cursor?: string | undefined;
|
|
3471
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
3462
3472
|
showDisabled?: boolean | null | undefined;
|
|
3463
3473
|
triggerIds?: string[] | null | undefined;
|
|
3464
3474
|
triggerNames?: string[] | null | undefined;
|
|
@@ -3623,9 +3633,9 @@ type TriggerInstanceUpsertResponse = z$1.infer<typeof TriggerInstanceUpsertRespo
|
|
|
3623
3633
|
declare const TriggerInstanceManageUpdateParamsSchema: z$1.ZodObject<{
|
|
3624
3634
|
status: z$1.ZodEnum<["enable", "disable"]>;
|
|
3625
3635
|
}, "strip", z$1.ZodTypeAny, {
|
|
3626
|
-
status: "
|
|
3636
|
+
status: "enable" | "disable";
|
|
3627
3637
|
}, {
|
|
3628
|
-
status: "
|
|
3638
|
+
status: "enable" | "disable";
|
|
3629
3639
|
}>;
|
|
3630
3640
|
type TriggerInstanceManageUpdateParams = z$1.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
|
|
3631
3641
|
declare const TriggerInstanceManageUpdateResponseSchema: z$1.ZodObject<{
|
|
@@ -3669,45 +3679,45 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3669
3679
|
}, "strip", z$1.ZodTypeAny, {
|
|
3670
3680
|
status: "ACTIVE" | "INACTIVE";
|
|
3671
3681
|
userId: string;
|
|
3672
|
-
authConfigId: string;
|
|
3673
|
-
uuid: string;
|
|
3674
3682
|
id: string;
|
|
3683
|
+
uuid: string;
|
|
3684
|
+
authConfigId: string;
|
|
3675
3685
|
authConfigUUID: string;
|
|
3676
3686
|
}, {
|
|
3677
3687
|
status: "ACTIVE" | "INACTIVE";
|
|
3678
3688
|
userId: string;
|
|
3679
|
-
authConfigId: string;
|
|
3680
|
-
uuid: string;
|
|
3681
3689
|
id: string;
|
|
3690
|
+
uuid: string;
|
|
3691
|
+
authConfigId: string;
|
|
3682
3692
|
authConfigUUID: string;
|
|
3683
3693
|
}>;
|
|
3684
3694
|
}, "strip", z$1.ZodTypeAny, {
|
|
3685
3695
|
toolkitSlug: string;
|
|
3686
|
-
uuid: string;
|
|
3687
3696
|
id: string;
|
|
3688
3697
|
connectedAccount: {
|
|
3689
3698
|
status: "ACTIVE" | "INACTIVE";
|
|
3690
3699
|
userId: string;
|
|
3691
|
-
authConfigId: string;
|
|
3692
|
-
uuid: string;
|
|
3693
3700
|
id: string;
|
|
3701
|
+
uuid: string;
|
|
3702
|
+
authConfigId: string;
|
|
3694
3703
|
authConfigUUID: string;
|
|
3695
3704
|
};
|
|
3705
|
+
uuid: string;
|
|
3696
3706
|
triggerSlug: string;
|
|
3697
3707
|
triggerConfig: Record<string, unknown>;
|
|
3698
3708
|
triggerData?: string | undefined;
|
|
3699
3709
|
}, {
|
|
3700
3710
|
toolkitSlug: string;
|
|
3701
|
-
uuid: string;
|
|
3702
3711
|
id: string;
|
|
3703
3712
|
connectedAccount: {
|
|
3704
3713
|
status: "ACTIVE" | "INACTIVE";
|
|
3705
3714
|
userId: string;
|
|
3706
|
-
authConfigId: string;
|
|
3707
|
-
uuid: string;
|
|
3708
3715
|
id: string;
|
|
3716
|
+
uuid: string;
|
|
3717
|
+
authConfigId: string;
|
|
3709
3718
|
authConfigUUID: string;
|
|
3710
3719
|
};
|
|
3720
|
+
uuid: string;
|
|
3711
3721
|
triggerSlug: string;
|
|
3712
3722
|
triggerConfig: Record<string, unknown>;
|
|
3713
3723
|
triggerData?: string | undefined;
|
|
@@ -3715,20 +3725,20 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3715
3725
|
}, "strip", z$1.ZodTypeAny, {
|
|
3716
3726
|
toolkitSlug: string;
|
|
3717
3727
|
userId: string;
|
|
3718
|
-
uuid: string;
|
|
3719
3728
|
id: string;
|
|
3729
|
+
uuid: string;
|
|
3720
3730
|
metadata: {
|
|
3721
3731
|
toolkitSlug: string;
|
|
3722
|
-
uuid: string;
|
|
3723
3732
|
id: string;
|
|
3724
3733
|
connectedAccount: {
|
|
3725
3734
|
status: "ACTIVE" | "INACTIVE";
|
|
3726
3735
|
userId: string;
|
|
3727
|
-
authConfigId: string;
|
|
3728
|
-
uuid: string;
|
|
3729
3736
|
id: string;
|
|
3737
|
+
uuid: string;
|
|
3738
|
+
authConfigId: string;
|
|
3730
3739
|
authConfigUUID: string;
|
|
3731
3740
|
};
|
|
3741
|
+
uuid: string;
|
|
3732
3742
|
triggerSlug: string;
|
|
3733
3743
|
triggerConfig: Record<string, unknown>;
|
|
3734
3744
|
triggerData?: string | undefined;
|
|
@@ -3739,20 +3749,20 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3739
3749
|
}, {
|
|
3740
3750
|
toolkitSlug: string;
|
|
3741
3751
|
userId: string;
|
|
3742
|
-
uuid: string;
|
|
3743
3752
|
id: string;
|
|
3753
|
+
uuid: string;
|
|
3744
3754
|
metadata: {
|
|
3745
3755
|
toolkitSlug: string;
|
|
3746
|
-
uuid: string;
|
|
3747
3756
|
id: string;
|
|
3748
3757
|
connectedAccount: {
|
|
3749
3758
|
status: "ACTIVE" | "INACTIVE";
|
|
3750
3759
|
userId: string;
|
|
3751
|
-
authConfigId: string;
|
|
3752
|
-
uuid: string;
|
|
3753
3760
|
id: string;
|
|
3761
|
+
uuid: string;
|
|
3762
|
+
authConfigId: string;
|
|
3754
3763
|
authConfigUUID: string;
|
|
3755
3764
|
};
|
|
3765
|
+
uuid: string;
|
|
3756
3766
|
triggerSlug: string;
|
|
3757
3767
|
triggerConfig: Record<string, unknown>;
|
|
3758
3768
|
triggerData?: string | undefined;
|
|
@@ -3831,8 +3841,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
3831
3841
|
name: string;
|
|
3832
3842
|
logo: string;
|
|
3833
3843
|
};
|
|
3834
|
-
config: Record<string, unknown>;
|
|
3835
3844
|
payload: Record<string, unknown>;
|
|
3845
|
+
config: Record<string, unknown>;
|
|
3836
3846
|
types: ("webhook" | "poll")[];
|
|
3837
3847
|
version?: string | undefined;
|
|
3838
3848
|
instructions?: string | undefined;
|
|
@@ -3847,8 +3857,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
3847
3857
|
name: string;
|
|
3848
3858
|
logo: string;
|
|
3849
3859
|
};
|
|
3850
|
-
config: Record<string, unknown>;
|
|
3851
3860
|
payload: Record<string, unknown>;
|
|
3861
|
+
config: Record<string, unknown>;
|
|
3852
3862
|
types: ("webhook" | "poll")[];
|
|
3853
3863
|
version?: string | undefined;
|
|
3854
3864
|
instructions?: string | undefined;
|
|
@@ -3890,8 +3900,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3890
3900
|
name: string;
|
|
3891
3901
|
logo: string;
|
|
3892
3902
|
};
|
|
3893
|
-
config: Record<string, unknown>;
|
|
3894
3903
|
payload: Record<string, unknown>;
|
|
3904
|
+
config: Record<string, unknown>;
|
|
3895
3905
|
types: ("webhook" | "poll")[];
|
|
3896
3906
|
version?: string | undefined;
|
|
3897
3907
|
instructions?: string | undefined;
|
|
@@ -3906,8 +3916,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3906
3916
|
name: string;
|
|
3907
3917
|
logo: string;
|
|
3908
3918
|
};
|
|
3909
|
-
config: Record<string, unknown>;
|
|
3910
3919
|
payload: Record<string, unknown>;
|
|
3920
|
+
config: Record<string, unknown>;
|
|
3911
3921
|
types: ("webhook" | "poll")[];
|
|
3912
3922
|
version?: string | undefined;
|
|
3913
3923
|
instructions?: string | undefined;
|
|
@@ -3926,8 +3936,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3926
3936
|
name: string;
|
|
3927
3937
|
logo: string;
|
|
3928
3938
|
};
|
|
3929
|
-
config: Record<string, unknown>;
|
|
3930
3939
|
payload: Record<string, unknown>;
|
|
3940
|
+
config: Record<string, unknown>;
|
|
3931
3941
|
types: ("webhook" | "poll")[];
|
|
3932
3942
|
version?: string | undefined;
|
|
3933
3943
|
instructions?: string | undefined;
|
|
@@ -3946,8 +3956,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3946
3956
|
name: string;
|
|
3947
3957
|
logo: string;
|
|
3948
3958
|
};
|
|
3949
|
-
config: Record<string, unknown>;
|
|
3950
3959
|
payload: Record<string, unknown>;
|
|
3960
|
+
config: Record<string, unknown>;
|
|
3951
3961
|
types: ("webhook" | "poll")[];
|
|
3952
3962
|
version?: string | undefined;
|
|
3953
3963
|
instructions?: string | undefined;
|
|
@@ -4289,15 +4299,15 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
4289
4299
|
}, "strip", z$1.ZodTypeAny, {
|
|
4290
4300
|
id: string;
|
|
4291
4301
|
timestamp: string;
|
|
4292
|
-
secret: string;
|
|
4293
4302
|
payload: string;
|
|
4303
|
+
secret: string;
|
|
4294
4304
|
signature: string;
|
|
4295
4305
|
tolerance: number;
|
|
4296
4306
|
}, {
|
|
4297
4307
|
id: string;
|
|
4298
4308
|
timestamp: string;
|
|
4299
|
-
secret: string;
|
|
4300
4309
|
payload: string;
|
|
4310
|
+
secret: string;
|
|
4301
4311
|
signature: string;
|
|
4302
4312
|
tolerance?: number | undefined;
|
|
4303
4313
|
}>;
|
|
@@ -4345,8 +4355,6 @@ type VerifyWebhookResult = {
|
|
|
4345
4355
|
/** The raw parsed payload before normalization */
|
|
4346
4356
|
rawPayload: WebhookPayload;
|
|
4347
4357
|
};
|
|
4348
|
-
//#endregion
|
|
4349
|
-
//#region src/models/Triggers.d.ts
|
|
4350
4358
|
/**
|
|
4351
4359
|
* Trigger (Instance) class
|
|
4352
4360
|
* /api/v3/trigger_instances
|
|
@@ -4668,8 +4676,6 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
4668
4676
|
*/
|
|
4669
4677
|
private validateWebhookTimestamp;
|
|
4670
4678
|
}
|
|
4671
|
-
//#endregion
|
|
4672
|
-
//#region src/models/AuthConfigs.d.ts
|
|
4673
4679
|
/**
|
|
4674
4680
|
* AuthConfigs class
|
|
4675
4681
|
*
|
|
@@ -4859,8 +4865,6 @@ declare class AuthConfigs {
|
|
|
4859
4865
|
*/
|
|
4860
4866
|
disable(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<AuthConfigUpdateStatusResponse>;
|
|
4861
4867
|
}
|
|
4862
|
-
//#endregion
|
|
4863
|
-
//#region src/models/ConnectedAccounts.d.ts
|
|
4864
4868
|
/**
|
|
4865
4869
|
* ConnectedAccounts class
|
|
4866
4870
|
*
|
|
@@ -5002,8 +5006,8 @@ declare class ConnectedAccounts {
|
|
|
5002
5006
|
/**
|
|
5003
5007
|
* Waits for a connection request to complete and become active.
|
|
5004
5008
|
*
|
|
5005
|
-
* This method
|
|
5006
|
-
* until it either becomes active, enters a terminal error state, or times out.
|
|
5009
|
+
* This method polls the Composio API, backing off from 1 second to 5 seconds between polls,
|
|
5010
|
+
* to check the status of a connection until it either becomes active, enters a terminal error state, or times out.
|
|
5007
5011
|
*
|
|
5008
5012
|
* @param {string} connectedAccountId - The ID of the connected account to wait for
|
|
5009
5013
|
* @param {number} [timeout=60000] - Maximum time to wait in milliseconds (default: 60 seconds)
|
|
@@ -5230,8 +5234,6 @@ declare class ConnectedAccounts {
|
|
|
5230
5234
|
*/
|
|
5231
5235
|
update(nanoid: string, params: UpdateConnectedAccountParams, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
5232
5236
|
}
|
|
5233
|
-
//#endregion
|
|
5234
|
-
//#region src/types/usage.types.d.ts
|
|
5235
5237
|
/**
|
|
5236
5238
|
* Filters shared by the usage summary and breakdown queries.
|
|
5237
5239
|
* **Experimental — shape may change in future releases.**
|
|
@@ -5446,8 +5448,6 @@ declare const UsageBreakdownResponseSchema: z$1.ZodObject<{
|
|
|
5446
5448
|
}[];
|
|
5447
5449
|
}>;
|
|
5448
5450
|
type UsageBreakdownResponse = z$1.infer<typeof UsageBreakdownResponseSchema>;
|
|
5449
|
-
//#endregion
|
|
5450
|
-
//#region src/models/Usage.d.ts
|
|
5451
5451
|
/**
|
|
5452
5452
|
* `composio.experimental.usage` — metering for the project the API key
|
|
5453
5453
|
* belongs to. **Experimental — shape may change in future releases.**
|
|
@@ -5503,8 +5503,6 @@ declare class Usage {
|
|
|
5503
5503
|
*/
|
|
5504
5504
|
breakdown(entityType: string, params?: UsageBreakdownParams, requestOptions?: ComposioRequestOptions): Promise<UsageBreakdownResponse>;
|
|
5505
5505
|
}
|
|
5506
|
-
//#endregion
|
|
5507
|
-
//#region src/types/customToolkits.types.d.ts
|
|
5508
5506
|
declare const CustomToolkitApiKeyFieldSchema: z$1.ZodObject<{
|
|
5509
5507
|
displayName: z$1.ZodOptional<z$1.ZodString>;
|
|
5510
5508
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5518,7 +5516,6 @@ declare const CustomToolkitApiKeyFieldSchema: z$1.ZodObject<{
|
|
|
5518
5516
|
type CustomToolkitApiKeyField = z$1.infer<typeof CustomToolkitApiKeyFieldSchema>;
|
|
5519
5517
|
/**
|
|
5520
5518
|
* How end users authenticate to a custom toolkit.
|
|
5521
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
5522
5519
|
*/
|
|
5523
5520
|
declare const CustomToolkitAuthSchemeSchema: z$1.ZodDiscriminatedUnion<"mode", [z$1.ZodObject<{
|
|
5524
5521
|
mode: z$1.ZodLiteral<"NO_AUTH">;
|
|
@@ -5621,14 +5618,13 @@ declare const CustomToolkitLogoFileSchema: z$1.ZodObject<{
|
|
|
5621
5618
|
}>;
|
|
5622
5619
|
type CustomToolkitLogoFile = z$1.infer<typeof CustomToolkitLogoFileSchema>;
|
|
5623
5620
|
/**
|
|
5624
|
-
* Params for `composio.
|
|
5625
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
5621
|
+
* Params for `composio.customToolkits.create()`.
|
|
5626
5622
|
*/
|
|
5627
5623
|
declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
5628
5624
|
/** Human-readable toolkit name. */
|
|
5629
5625
|
name: z$1.ZodString;
|
|
5630
5626
|
/** The MCP server URL. Must use https. */
|
|
5631
|
-
|
|
5627
|
+
mcpUrl: z$1.ZodString;
|
|
5632
5628
|
/** Square PNG or JPEG logo (256-1024px, max 3MB), base64-encoded. Defaults to the MCP logo. */
|
|
5633
5629
|
logoFile: z$1.ZodOptional<z$1.ZodObject<{
|
|
5634
5630
|
content: z$1.ZodString;
|
|
@@ -5739,7 +5735,6 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
|
5739
5735
|
}, "strip", z$1.ZodTypeAny, {
|
|
5740
5736
|
name: string;
|
|
5741
5737
|
userId: string;
|
|
5742
|
-
appUrl: string;
|
|
5743
5738
|
authSchemes: ({
|
|
5744
5739
|
mode: "NO_AUTH";
|
|
5745
5740
|
} | {
|
|
@@ -5759,6 +5754,7 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
|
5759
5754
|
mode: "DCR_OAUTH";
|
|
5760
5755
|
discoveryUrl: string;
|
|
5761
5756
|
})[];
|
|
5757
|
+
mcpUrl: string;
|
|
5762
5758
|
callbackUrl?: string | undefined;
|
|
5763
5759
|
logoFile?: {
|
|
5764
5760
|
content: string;
|
|
@@ -5767,7 +5763,6 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
|
5767
5763
|
}, {
|
|
5768
5764
|
name: string;
|
|
5769
5765
|
userId: string;
|
|
5770
|
-
appUrl: string;
|
|
5771
5766
|
authSchemes: ({
|
|
5772
5767
|
mode: "NO_AUTH";
|
|
5773
5768
|
} | {
|
|
@@ -5787,6 +5782,7 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
|
5787
5782
|
mode: "DCR_OAUTH";
|
|
5788
5783
|
discoveryUrl: string;
|
|
5789
5784
|
})[];
|
|
5785
|
+
mcpUrl: string;
|
|
5790
5786
|
callbackUrl?: string | undefined;
|
|
5791
5787
|
logoFile?: {
|
|
5792
5788
|
content: string;
|
|
@@ -5831,8 +5827,7 @@ declare const CustomToolkitCreateResponseSchema: z$1.ZodObject<{
|
|
|
5831
5827
|
}>;
|
|
5832
5828
|
type CustomToolkitCreateResponse = z$1.infer<typeof CustomToolkitCreateResponseSchema>;
|
|
5833
5829
|
/**
|
|
5834
|
-
* Params for `composio.
|
|
5835
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
5830
|
+
* Params for `composio.customToolkits.update()`.
|
|
5836
5831
|
*/
|
|
5837
5832
|
declare const CustomToolkitUpdateParamsSchema: z$1.ZodEffects<z$1.ZodObject<{
|
|
5838
5833
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5917,8 +5912,7 @@ declare const CustomToolkitUpdateResponseSchema: z$1.ZodObject<{
|
|
|
5917
5912
|
}>;
|
|
5918
5913
|
type CustomToolkitUpdateResponse = z$1.infer<typeof CustomToolkitUpdateResponseSchema>;
|
|
5919
5914
|
/**
|
|
5920
|
-
* Params for `composio.
|
|
5921
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
5915
|
+
* Params for `composio.customToolkits.upsert()`.
|
|
5922
5916
|
*
|
|
5923
5917
|
* @deprecated Use `CustomToolkitCreateParams` with `create()`.
|
|
5924
5918
|
*/
|
|
@@ -5931,8 +5925,8 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
5931
5925
|
toolkitConfig: z$1.ZodObject<{
|
|
5932
5926
|
/** Human-readable toolkit name. */
|
|
5933
5927
|
name: z$1.ZodString;
|
|
5934
|
-
/** The
|
|
5935
|
-
|
|
5928
|
+
/** The MCP server URL. Must use https. */
|
|
5929
|
+
mcpUrl: z$1.ZodString;
|
|
5936
5930
|
/** Square PNG or JPEG logo (256-1024px, max 3MB), base64-encoded. Defaults to the Composio logo. */
|
|
5937
5931
|
logoFile: z$1.ZodOptional<z$1.ZodObject<{
|
|
5938
5932
|
content: z$1.ZodString;
|
|
@@ -6035,7 +6029,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6035
6029
|
}>]>, "many">;
|
|
6036
6030
|
}, "strip", z$1.ZodTypeAny, {
|
|
6037
6031
|
name: string;
|
|
6038
|
-
appUrl: string;
|
|
6039
6032
|
authSchemes: ({
|
|
6040
6033
|
mode: "NO_AUTH";
|
|
6041
6034
|
} | {
|
|
@@ -6055,13 +6048,13 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6055
6048
|
mode: "DCR_OAUTH";
|
|
6056
6049
|
discoveryUrl: string;
|
|
6057
6050
|
})[];
|
|
6051
|
+
mcpUrl: string;
|
|
6058
6052
|
logoFile?: {
|
|
6059
6053
|
content: string;
|
|
6060
6054
|
mimeType: "image/png" | "image/jpeg";
|
|
6061
6055
|
} | undefined;
|
|
6062
6056
|
}, {
|
|
6063
6057
|
name: string;
|
|
6064
|
-
appUrl: string;
|
|
6065
6058
|
authSchemes: ({
|
|
6066
6059
|
mode: "NO_AUTH";
|
|
6067
6060
|
} | {
|
|
@@ -6081,6 +6074,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6081
6074
|
mode: "DCR_OAUTH";
|
|
6082
6075
|
discoveryUrl: string;
|
|
6083
6076
|
})[];
|
|
6077
|
+
mcpUrl: string;
|
|
6084
6078
|
logoFile?: {
|
|
6085
6079
|
content: string;
|
|
6086
6080
|
mimeType: "image/png" | "image/jpeg";
|
|
@@ -6090,7 +6084,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6090
6084
|
slug: string;
|
|
6091
6085
|
toolkitConfig: {
|
|
6092
6086
|
name: string;
|
|
6093
|
-
appUrl: string;
|
|
6094
6087
|
authSchemes: ({
|
|
6095
6088
|
mode: "NO_AUTH";
|
|
6096
6089
|
} | {
|
|
@@ -6110,6 +6103,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6110
6103
|
mode: "DCR_OAUTH";
|
|
6111
6104
|
discoveryUrl: string;
|
|
6112
6105
|
})[];
|
|
6106
|
+
mcpUrl: string;
|
|
6113
6107
|
logoFile?: {
|
|
6114
6108
|
content: string;
|
|
6115
6109
|
mimeType: "image/png" | "image/jpeg";
|
|
@@ -6119,7 +6113,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6119
6113
|
slug: string;
|
|
6120
6114
|
toolkitConfig: {
|
|
6121
6115
|
name: string;
|
|
6122
|
-
appUrl: string;
|
|
6123
6116
|
authSchemes: ({
|
|
6124
6117
|
mode: "NO_AUTH";
|
|
6125
6118
|
} | {
|
|
@@ -6139,6 +6132,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6139
6132
|
mode: "DCR_OAUTH";
|
|
6140
6133
|
discoveryUrl: string;
|
|
6141
6134
|
})[];
|
|
6135
|
+
mcpUrl: string;
|
|
6142
6136
|
logoFile?: {
|
|
6143
6137
|
content: string;
|
|
6144
6138
|
mimeType: "image/png" | "image/jpeg";
|
|
@@ -6156,8 +6150,7 @@ declare const CustomToolkitUpsertResponseSchema: z$1.ZodObject<{
|
|
|
6156
6150
|
}>;
|
|
6157
6151
|
type CustomToolkitUpsertResponse = z$1.infer<typeof CustomToolkitUpsertResponseSchema>;
|
|
6158
6152
|
/**
|
|
6159
|
-
* Params for `composio.
|
|
6160
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6153
|
+
* Params for `composio.customToolkits.sync()`.
|
|
6161
6154
|
*/
|
|
6162
6155
|
declare const CustomToolkitSyncParamsSchema: z$1.ZodObject<{
|
|
6163
6156
|
/** Connected account to use when fetching the remote tool definitions. */
|
|
@@ -6206,12 +6199,10 @@ declare const CustomToolkitDeleteResponseSchema: z$1.ZodObject<{
|
|
|
6206
6199
|
connectedAccountsDeleted: number;
|
|
6207
6200
|
}>;
|
|
6208
6201
|
type CustomToolkitDeleteResponse = z$1.infer<typeof CustomToolkitDeleteResponseSchema>;
|
|
6209
|
-
//#endregion
|
|
6210
|
-
//#region src/models/CustomToolkits.d.ts
|
|
6211
6202
|
/**
|
|
6212
|
-
* `composio.
|
|
6203
|
+
* `composio.customToolkits` — toolkits your project registers
|
|
6213
6204
|
* from its own app or MCP server, with their own auth configs and connected
|
|
6214
|
-
* accounts.
|
|
6205
|
+
* accounts.
|
|
6215
6206
|
*
|
|
6216
6207
|
* These live on the Composio platform. They are unrelated to the in-process
|
|
6217
6208
|
* toolkits built with `experimental_createToolkit()`, which run inside your
|
|
@@ -6219,13 +6210,13 @@ type CustomToolkitDeleteResponse = z$1.infer<typeof CustomToolkitDeleteResponseS
|
|
|
6219
6210
|
*
|
|
6220
6211
|
* @example
|
|
6221
6212
|
* ```typescript
|
|
6222
|
-
* const { slug } = await composio.
|
|
6213
|
+
* const { slug } = await composio.customToolkits.create({
|
|
6223
6214
|
* name: 'My Toolkit',
|
|
6224
|
-
*
|
|
6215
|
+
* mcpUrl: 'https://mcp.example.com/mcp',
|
|
6225
6216
|
* authSchemes: [{ mode: 'DCR_OAUTH', discoveryUrl: 'https://mcp.example.com/.well-known/oauth-authorization-server' }],
|
|
6226
6217
|
* userId: 'all',
|
|
6227
6218
|
* });
|
|
6228
|
-
* await composio.
|
|
6219
|
+
* await composio.customToolkits.update(slug, { name: 'My Renamed Toolkit' });
|
|
6229
6220
|
* ```
|
|
6230
6221
|
*/
|
|
6231
6222
|
declare class CustomToolkits {
|
|
@@ -6233,10 +6224,9 @@ declare class CustomToolkits {
|
|
|
6233
6224
|
constructor(client: ComposioClient);
|
|
6234
6225
|
/**
|
|
6235
6226
|
* Creates a custom MCP toolkit and returns its generated slug.
|
|
6236
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6237
6227
|
*
|
|
6238
6228
|
* Set `userId` to `'all'` to share the toolkit with every user in the
|
|
6239
|
-
* project, or to a user ID to make it private to that user. `
|
|
6229
|
+
* project, or to a user ID to make it private to that user. `mcpUrl`,
|
|
6240
6230
|
* `authSchemes` and `userId` cannot change later: delete and re-create the
|
|
6241
6231
|
* toolkit instead. For a private toolkit, `connectLink` is where to send
|
|
6242
6232
|
* that user to connect.
|
|
@@ -6247,9 +6237,9 @@ declare class CustomToolkits {
|
|
|
6247
6237
|
*
|
|
6248
6238
|
* @example
|
|
6249
6239
|
* ```typescript
|
|
6250
|
-
* const { slug, connectLink } = await composio.
|
|
6240
|
+
* const { slug, connectLink } = await composio.customToolkits.create({
|
|
6251
6241
|
* name: 'Internal API',
|
|
6252
|
-
*
|
|
6242
|
+
* mcpUrl: 'https://mcp.internal.example.com/mcp',
|
|
6253
6243
|
* authSchemes: [
|
|
6254
6244
|
* { mode: 'API_KEY', headers: { Authorization: 'Bearer {{generic_api_key}}' } },
|
|
6255
6245
|
* ],
|
|
@@ -6261,7 +6251,6 @@ declare class CustomToolkits {
|
|
|
6261
6251
|
/**
|
|
6262
6252
|
* Updates a custom toolkit's name, logo or API key field copy. Omitted
|
|
6263
6253
|
* fields keep their current value.
|
|
6264
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6265
6254
|
*
|
|
6266
6255
|
* On a project with 2FA enabled, updating a private toolkit requires the
|
|
6267
6256
|
* `userId` it is private to.
|
|
@@ -6273,7 +6262,7 @@ declare class CustomToolkits {
|
|
|
6273
6262
|
*
|
|
6274
6263
|
* @example
|
|
6275
6264
|
* ```typescript
|
|
6276
|
-
* await composio.
|
|
6265
|
+
* await composio.customToolkits.update('CUSTOM_INTERNAL_API_K7F2Q', {
|
|
6277
6266
|
* name: 'Internal API (prod)',
|
|
6278
6267
|
* userId: 'user_123',
|
|
6279
6268
|
* });
|
|
@@ -6283,9 +6272,8 @@ declare class CustomToolkits {
|
|
|
6283
6272
|
/**
|
|
6284
6273
|
* Creates a custom toolkit, or updates its display metadata (name, API key
|
|
6285
6274
|
* field copy) when the project already owns a toolkit with this slug.
|
|
6286
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6287
6275
|
*
|
|
6288
|
-
* `
|
|
6276
|
+
* `mcpUrl` and `authSchemes` cannot change on an existing toolkit:
|
|
6289
6277
|
* re-sending them unchanged is a no-op, and changing them fails with a 409.
|
|
6290
6278
|
* Delete and re-register the toolkit instead, which revokes its connections.
|
|
6291
6279
|
*
|
|
@@ -6295,11 +6283,11 @@ declare class CustomToolkits {
|
|
|
6295
6283
|
*
|
|
6296
6284
|
* @example
|
|
6297
6285
|
* ```typescript
|
|
6298
|
-
* await composio.
|
|
6286
|
+
* await composio.customToolkits.upsert({
|
|
6299
6287
|
* slug: 'INTERNAL_API',
|
|
6300
6288
|
* toolkitConfig: {
|
|
6301
6289
|
* name: 'Internal API',
|
|
6302
|
-
*
|
|
6290
|
+
* mcpUrl: 'https://mcp.internal.example.com/mcp',
|
|
6303
6291
|
* authSchemes: [
|
|
6304
6292
|
* { mode: 'API_KEY', headers: { Authorization: 'Bearer {{generic_api_key}}' } },
|
|
6305
6293
|
* ],
|
|
@@ -6315,7 +6303,6 @@ declare class CustomToolkits {
|
|
|
6315
6303
|
/**
|
|
6316
6304
|
* Re-fetches the tool definitions of a custom toolkit from its remote MCP
|
|
6317
6305
|
* server. Call it when automatic sync fails or the remote tools change.
|
|
6318
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6319
6306
|
*
|
|
6320
6307
|
* @param {string} slug - The custom toolkit slug (`CUSTOM_...`)
|
|
6321
6308
|
* @param {CustomToolkitSyncParams} [params] - Optional connected account to fetch the definitions with
|
|
@@ -6324,7 +6311,7 @@ declare class CustomToolkits {
|
|
|
6324
6311
|
*
|
|
6325
6312
|
* @example
|
|
6326
6313
|
* ```typescript
|
|
6327
|
-
* const { version, syncedCount } = await composio.
|
|
6314
|
+
* const { version, syncedCount } = await composio.customToolkits.sync(
|
|
6328
6315
|
* 'CUSTOM_MY_TOOLKIT',
|
|
6329
6316
|
* { connectedAccountId: 'ca_abc123' }
|
|
6330
6317
|
* );
|
|
@@ -6335,7 +6322,6 @@ declare class CustomToolkits {
|
|
|
6335
6322
|
* Deletes a custom toolkit owned by the project, with its tools, auth
|
|
6336
6323
|
* configs and connected accounts. The credentials behind those connected
|
|
6337
6324
|
* accounts are revoked in background jobs (`revokeJobIds`).
|
|
6338
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6339
6325
|
*
|
|
6340
6326
|
* Composio-managed toolkits cannot be deleted; the API answers 403.
|
|
6341
6327
|
*
|
|
@@ -6344,14 +6330,12 @@ declare class CustomToolkits {
|
|
|
6344
6330
|
*
|
|
6345
6331
|
* @example
|
|
6346
6332
|
* ```typescript
|
|
6347
|
-
* const result = await composio.
|
|
6333
|
+
* const result = await composio.customToolkits.delete('CUSTOM_MY_TOOLKIT');
|
|
6348
6334
|
* console.log(result.connectedAccountsDeleted);
|
|
6349
6335
|
* ```
|
|
6350
6336
|
*/
|
|
6351
6337
|
delete(slug: string, requestOptions?: ComposioRequestOptions): Promise<CustomToolkitDeleteResponse>;
|
|
6352
6338
|
}
|
|
6353
|
-
//#endregion
|
|
6354
|
-
//#region src/models/Experimental.d.ts
|
|
6355
6339
|
declare class Experimental {
|
|
6356
6340
|
private client;
|
|
6357
6341
|
/**
|
|
@@ -6366,13 +6350,8 @@ declare class Experimental {
|
|
|
6366
6350
|
*/
|
|
6367
6351
|
usage: Usage;
|
|
6368
6352
|
/**
|
|
6369
|
-
*
|
|
6370
|
-
*
|
|
6371
|
-
*
|
|
6372
|
-
* @example
|
|
6373
|
-
* ```typescript
|
|
6374
|
-
* await composio.experimental.customToolkits.sync('CUSTOM_MY_TOOLKIT');
|
|
6375
|
-
* ```
|
|
6353
|
+
* Same object as `composio.customToolkits`.
|
|
6354
|
+
* @deprecated Use `composio.customToolkits` instead. Custom toolkits are no longer experimental; this alias is kept for backwards compatibility.
|
|
6376
6355
|
*/
|
|
6377
6356
|
customToolkits: CustomToolkits;
|
|
6378
6357
|
constructor(client: ComposioClient);
|
|
@@ -6437,8 +6416,6 @@ declare class Experimental {
|
|
|
6437
6416
|
*/
|
|
6438
6417
|
updateAcl(nanoid: string, params: UpdateConnectedAccountAclParams): Promise<ConnectedAccountPatchResponse>;
|
|
6439
6418
|
}
|
|
6440
|
-
//#endregion
|
|
6441
|
-
//#region src/types/mcp.experimental.types.d.ts
|
|
6442
6419
|
declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
6443
6420
|
id: z.ZodString;
|
|
6444
6421
|
name: z.ZodString;
|
|
@@ -6451,18 +6428,18 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
6451
6428
|
name: string;
|
|
6452
6429
|
type: "streamable_http";
|
|
6453
6430
|
userId: string;
|
|
6454
|
-
allowedTools: string[];
|
|
6455
|
-
url: string;
|
|
6456
6431
|
id: string;
|
|
6432
|
+
url: string;
|
|
6457
6433
|
authConfigs: string[];
|
|
6434
|
+
allowedTools: string[];
|
|
6458
6435
|
}, {
|
|
6459
6436
|
name: string;
|
|
6460
6437
|
type: "streamable_http";
|
|
6461
6438
|
userId: string;
|
|
6462
|
-
allowedTools: string[];
|
|
6463
|
-
url: string;
|
|
6464
6439
|
id: string;
|
|
6440
|
+
url: string;
|
|
6465
6441
|
authConfigs: string[];
|
|
6442
|
+
allowedTools: string[];
|
|
6466
6443
|
}>;
|
|
6467
6444
|
type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
|
|
6468
6445
|
declare const MCPConfigCreationParamsSchema: z.ZodObject<{
|
|
@@ -6528,12 +6505,12 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
6528
6505
|
*/
|
|
6529
6506
|
windsurf: z.ZodString;
|
|
6530
6507
|
}, "strip", z.ZodTypeAny, {
|
|
6531
|
-
claude: string;
|
|
6532
6508
|
cursor: string;
|
|
6509
|
+
claude: string;
|
|
6533
6510
|
windsurf: string;
|
|
6534
6511
|
}, {
|
|
6535
|
-
claude: string;
|
|
6536
6512
|
cursor: string;
|
|
6513
|
+
claude: string;
|
|
6537
6514
|
windsurf: string;
|
|
6538
6515
|
}>;
|
|
6539
6516
|
/**
|
|
@@ -6543,22 +6520,22 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
6543
6520
|
}, "strip", z.ZodTypeAny, {
|
|
6544
6521
|
name: string;
|
|
6545
6522
|
authConfigIds: string[];
|
|
6546
|
-
allowedTools: string[];
|
|
6547
6523
|
id: string;
|
|
6524
|
+
allowedTools: string[];
|
|
6548
6525
|
commands: {
|
|
6549
|
-
claude: string;
|
|
6550
6526
|
cursor: string;
|
|
6527
|
+
claude: string;
|
|
6551
6528
|
windsurf: string;
|
|
6552
6529
|
};
|
|
6553
6530
|
MCPUrl: string;
|
|
6554
6531
|
}, {
|
|
6555
6532
|
name: string;
|
|
6556
6533
|
authConfigIds: string[];
|
|
6557
|
-
allowedTools: string[];
|
|
6558
6534
|
id: string;
|
|
6535
|
+
allowedTools: string[];
|
|
6559
6536
|
commands: {
|
|
6560
|
-
claude: string;
|
|
6561
6537
|
cursor: string;
|
|
6538
|
+
claude: string;
|
|
6562
6539
|
windsurf: string;
|
|
6563
6540
|
};
|
|
6564
6541
|
MCPUrl: string;
|
|
@@ -6589,15 +6566,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
6589
6566
|
}, "strip", z.ZodTypeAny, {
|
|
6590
6567
|
toolkits: string[];
|
|
6591
6568
|
limit: number;
|
|
6592
|
-
page: number;
|
|
6593
6569
|
authConfigs: string[];
|
|
6570
|
+
page: number;
|
|
6594
6571
|
name?: string | undefined;
|
|
6595
6572
|
}, {
|
|
6596
6573
|
name?: string | undefined;
|
|
6597
6574
|
toolkits?: string[] | undefined;
|
|
6598
6575
|
limit?: number | undefined;
|
|
6599
|
-
page?: number | undefined;
|
|
6600
6576
|
authConfigs?: string[] | undefined;
|
|
6577
|
+
page?: number | undefined;
|
|
6601
6578
|
}>;
|
|
6602
6579
|
type MCPListParams = z.infer<typeof MCPListParamsSchema>;
|
|
6603
6580
|
declare const MCPItemSchema: z.ZodObject<{
|
|
@@ -6634,12 +6611,12 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
6634
6611
|
*/
|
|
6635
6612
|
windsurf: z.ZodString;
|
|
6636
6613
|
}, "strip", z.ZodTypeAny, {
|
|
6637
|
-
claude: string;
|
|
6638
6614
|
cursor: string;
|
|
6615
|
+
claude: string;
|
|
6639
6616
|
windsurf: string;
|
|
6640
6617
|
}, {
|
|
6641
|
-
claude: string;
|
|
6642
6618
|
cursor: string;
|
|
6619
|
+
claude: string;
|
|
6643
6620
|
windsurf: string;
|
|
6644
6621
|
}>;
|
|
6645
6622
|
/**
|
|
@@ -6654,11 +6631,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
6654
6631
|
name: string;
|
|
6655
6632
|
toolkits: string[];
|
|
6656
6633
|
authConfigIds: string[];
|
|
6657
|
-
allowedTools: string[];
|
|
6658
6634
|
id: string;
|
|
6635
|
+
allowedTools: string[];
|
|
6659
6636
|
commands: {
|
|
6660
|
-
claude: string;
|
|
6661
6637
|
cursor: string;
|
|
6638
|
+
claude: string;
|
|
6662
6639
|
windsurf: string;
|
|
6663
6640
|
};
|
|
6664
6641
|
MCPUrl: string;
|
|
@@ -6668,11 +6645,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
6668
6645
|
name: string;
|
|
6669
6646
|
toolkits: string[];
|
|
6670
6647
|
authConfigIds: string[];
|
|
6671
|
-
allowedTools: string[];
|
|
6672
6648
|
id: string;
|
|
6649
|
+
allowedTools: string[];
|
|
6673
6650
|
commands: {
|
|
6674
|
-
claude: string;
|
|
6675
6651
|
cursor: string;
|
|
6652
|
+
claude: string;
|
|
6676
6653
|
windsurf: string;
|
|
6677
6654
|
};
|
|
6678
6655
|
MCPUrl: string;
|
|
@@ -6715,12 +6692,12 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6715
6692
|
*/
|
|
6716
6693
|
windsurf: z.ZodString;
|
|
6717
6694
|
}, "strip", z.ZodTypeAny, {
|
|
6718
|
-
claude: string;
|
|
6719
6695
|
cursor: string;
|
|
6696
|
+
claude: string;
|
|
6720
6697
|
windsurf: string;
|
|
6721
6698
|
}, {
|
|
6722
|
-
claude: string;
|
|
6723
6699
|
cursor: string;
|
|
6700
|
+
claude: string;
|
|
6724
6701
|
windsurf: string;
|
|
6725
6702
|
}>;
|
|
6726
6703
|
/**
|
|
@@ -6735,11 +6712,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6735
6712
|
name: string;
|
|
6736
6713
|
toolkits: string[];
|
|
6737
6714
|
authConfigIds: string[];
|
|
6738
|
-
allowedTools: string[];
|
|
6739
6715
|
id: string;
|
|
6716
|
+
allowedTools: string[];
|
|
6740
6717
|
commands: {
|
|
6741
|
-
claude: string;
|
|
6742
6718
|
cursor: string;
|
|
6719
|
+
claude: string;
|
|
6743
6720
|
windsurf: string;
|
|
6744
6721
|
};
|
|
6745
6722
|
MCPUrl: string;
|
|
@@ -6749,11 +6726,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6749
6726
|
name: string;
|
|
6750
6727
|
toolkits: string[];
|
|
6751
6728
|
authConfigIds: string[];
|
|
6752
|
-
allowedTools: string[];
|
|
6753
6729
|
id: string;
|
|
6730
|
+
allowedTools: string[];
|
|
6754
6731
|
commands: {
|
|
6755
|
-
claude: string;
|
|
6756
6732
|
cursor: string;
|
|
6733
|
+
claude: string;
|
|
6757
6734
|
windsurf: string;
|
|
6758
6735
|
};
|
|
6759
6736
|
MCPUrl: string;
|
|
@@ -6767,11 +6744,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6767
6744
|
name: string;
|
|
6768
6745
|
toolkits: string[];
|
|
6769
6746
|
authConfigIds: string[];
|
|
6770
|
-
allowedTools: string[];
|
|
6771
6747
|
id: string;
|
|
6748
|
+
allowedTools: string[];
|
|
6772
6749
|
commands: {
|
|
6773
|
-
claude: string;
|
|
6774
6750
|
cursor: string;
|
|
6751
|
+
claude: string;
|
|
6775
6752
|
windsurf: string;
|
|
6776
6753
|
};
|
|
6777
6754
|
MCPUrl: string;
|
|
@@ -6785,11 +6762,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6785
6762
|
name: string;
|
|
6786
6763
|
toolkits: string[];
|
|
6787
6764
|
authConfigIds: string[];
|
|
6788
|
-
allowedTools: string[];
|
|
6789
6765
|
id: string;
|
|
6766
|
+
allowedTools: string[];
|
|
6790
6767
|
commands: {
|
|
6791
|
-
claude: string;
|
|
6792
6768
|
cursor: string;
|
|
6769
|
+
claude: string;
|
|
6793
6770
|
windsurf: string;
|
|
6794
6771
|
};
|
|
6795
6772
|
MCPUrl: string;
|
|
@@ -6832,8 +6809,6 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
|
|
|
6832
6809
|
manuallyManageConnections?: boolean | undefined;
|
|
6833
6810
|
}>;
|
|
6834
6811
|
type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
|
|
6835
|
-
//#endregion
|
|
6836
|
-
//#region src/models/MCP.d.ts
|
|
6837
6812
|
/**
|
|
6838
6813
|
* MCP (Model Control Protocol) class
|
|
6839
6814
|
* Handles MCP server operations.
|
|
@@ -6846,8 +6821,8 @@ type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
|
|
|
6846
6821
|
* `composio.mcp`. See https://docs.composio.dev/docs/sessions-via-mcp
|
|
6847
6822
|
*/
|
|
6848
6823
|
declare class MCP {
|
|
6849
|
-
client: Composio;
|
|
6850
|
-
constructor(client: Composio);
|
|
6824
|
+
client: Composio$1;
|
|
6825
|
+
constructor(client: Composio$1);
|
|
6851
6826
|
/**
|
|
6852
6827
|
* Create a new MCP configuration.
|
|
6853
6828
|
* @param {Object} params - Parameters for creating the MCP configuration
|
|
@@ -7059,8 +7034,6 @@ declare class MCP {
|
|
|
7059
7034
|
*/
|
|
7060
7035
|
generate(userId: string, mcpConfigId: string, options?: MCPGetInstanceParams, requestOptions?: ComposioRequestOptions): Promise<MCPServerInstance>;
|
|
7061
7036
|
}
|
|
7062
|
-
//#endregion
|
|
7063
|
-
//#region src/types/webhooks.types.d.ts
|
|
7064
7037
|
/**
|
|
7065
7038
|
* Webhook payload versions accepted by the webhook subscription endpoints.
|
|
7066
7039
|
*/
|
|
@@ -7371,8 +7344,6 @@ declare const WebhookEndpointUpdateParamsSchema: z$1.ZodObject<{
|
|
|
7371
7344
|
data: Record<string, string>;
|
|
7372
7345
|
}>;
|
|
7373
7346
|
type WebhookEndpointUpdateParams = z$1.infer<typeof WebhookEndpointUpdateParamsSchema>;
|
|
7374
|
-
//#endregion
|
|
7375
|
-
//#region src/models/Webhooks.d.ts
|
|
7376
7347
|
/**
|
|
7377
7348
|
* `composio.webhooks.subscriptions` — the project's outbound webhook
|
|
7378
7349
|
* subscription. The API allows one subscription per project; every response
|
|
@@ -7590,8 +7561,6 @@ declare class Webhooks {
|
|
|
7590
7561
|
endpoints: WebhookEndpoints;
|
|
7591
7562
|
constructor(client: ComposioClient);
|
|
7592
7563
|
}
|
|
7593
|
-
//#endregion
|
|
7594
|
-
//#region src/types/logs.types.d.ts
|
|
7595
7564
|
/**
|
|
7596
7565
|
* Fields a tool-execution log search can filter on.
|
|
7597
7566
|
*/
|
|
@@ -7739,7 +7708,7 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7739
7708
|
status: "success" | "failed";
|
|
7740
7709
|
id: string;
|
|
7741
7710
|
timestamp: string;
|
|
7742
|
-
level: "error" | "
|
|
7711
|
+
level: "error" | "info" | "warn";
|
|
7743
7712
|
metadata: {
|
|
7744
7713
|
instant_charge?: string | undefined;
|
|
7745
7714
|
} & {
|
|
@@ -7756,7 +7725,7 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7756
7725
|
status: "success" | "failed";
|
|
7757
7726
|
id: string;
|
|
7758
7727
|
timestamp: string;
|
|
7759
|
-
level: "error" | "
|
|
7728
|
+
level: "error" | "info" | "warn";
|
|
7760
7729
|
metadata: {
|
|
7761
7730
|
instant_charge?: string | undefined;
|
|
7762
7731
|
} & {
|
|
@@ -7803,7 +7772,7 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7803
7772
|
status: "success" | "failed";
|
|
7804
7773
|
id: string;
|
|
7805
7774
|
timestamp: string;
|
|
7806
|
-
level: "error" | "
|
|
7775
|
+
level: "error" | "info" | "warn";
|
|
7807
7776
|
metadata: {
|
|
7808
7777
|
instant_charge?: string | undefined;
|
|
7809
7778
|
} & {
|
|
@@ -7820,7 +7789,7 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7820
7789
|
status: "success" | "failed";
|
|
7821
7790
|
id: string;
|
|
7822
7791
|
timestamp: string;
|
|
7823
|
-
level: "error" | "
|
|
7792
|
+
level: "error" | "info" | "warn";
|
|
7824
7793
|
metadata: {
|
|
7825
7794
|
instant_charge?: string | undefined;
|
|
7826
7795
|
} & {
|
|
@@ -7841,7 +7810,7 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7841
7810
|
status: "success" | "failed";
|
|
7842
7811
|
id: string;
|
|
7843
7812
|
timestamp: string;
|
|
7844
|
-
level: "error" | "
|
|
7813
|
+
level: "error" | "info" | "warn";
|
|
7845
7814
|
metadata: {
|
|
7846
7815
|
instant_charge?: string | undefined;
|
|
7847
7816
|
} & {
|
|
@@ -7861,7 +7830,7 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7861
7830
|
status: "success" | "failed";
|
|
7862
7831
|
id: string;
|
|
7863
7832
|
timestamp: string;
|
|
7864
|
-
level: "error" | "
|
|
7833
|
+
level: "error" | "info" | "warn";
|
|
7865
7834
|
metadata: {
|
|
7866
7835
|
instant_charge?: string | undefined;
|
|
7867
7836
|
} & {
|
|
@@ -7953,7 +7922,7 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7953
7922
|
data: Record<string, unknown>;
|
|
7954
7923
|
id: string;
|
|
7955
7924
|
timestamp: string;
|
|
7956
|
-
level: "error" | "
|
|
7925
|
+
level: "error" | "info" | "warn";
|
|
7957
7926
|
metadata: {
|
|
7958
7927
|
instant_charge?: string | undefined;
|
|
7959
7928
|
} & {
|
|
@@ -7985,7 +7954,7 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7985
7954
|
data: Record<string, unknown>;
|
|
7986
7955
|
id: string;
|
|
7987
7956
|
timestamp: string;
|
|
7988
|
-
level: "error" | "
|
|
7957
|
+
level: "error" | "info" | "warn";
|
|
7989
7958
|
metadata: {
|
|
7990
7959
|
instant_charge?: string | undefined;
|
|
7991
7960
|
} & {
|
|
@@ -8013,8 +7982,6 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
8013
7982
|
} | undefined;
|
|
8014
7983
|
}>;
|
|
8015
7984
|
type ToolExecutionLogDetail = z$1.infer<typeof ToolExecutionLogDetailSchema>;
|
|
8016
|
-
//#endregion
|
|
8017
|
-
//#region src/models/Logs.d.ts
|
|
8018
7985
|
/**
|
|
8019
7986
|
* `composio.logs` — tool-execution logs.
|
|
8020
7987
|
*
|
|
@@ -8065,8 +8032,6 @@ declare class Logs {
|
|
|
8065
8032
|
*/
|
|
8066
8033
|
get(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolExecutionLogDetail>;
|
|
8067
8034
|
}
|
|
8068
|
-
//#endregion
|
|
8069
|
-
//#region src/types/sessionConfigs.types.d.ts
|
|
8070
8035
|
/**
|
|
8071
8036
|
* Params for `composio.sessionConfigs.list()`. The backend owns the defaults:
|
|
8072
8037
|
* active configs only, 20 per page, at most 100.
|
|
@@ -8226,25 +8191,25 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8226
8191
|
/** Tags whose tools need the user's approval before they run. */
|
|
8227
8192
|
require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
8228
8193
|
}, "strip", z$1.ZodTypeAny, {
|
|
8229
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8230
8194
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8195
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8231
8196
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8232
8197
|
}, {
|
|
8233
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8234
8198
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8199
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8235
8200
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8236
8201
|
}>;
|
|
8237
8202
|
}, "strip", z$1.ZodTypeAny, {
|
|
8238
8203
|
tags: {
|
|
8239
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8240
8204
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8205
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8241
8206
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8242
8207
|
};
|
|
8243
8208
|
require_approval?: string[] | undefined;
|
|
8244
8209
|
}, {
|
|
8245
8210
|
tags: {
|
|
8246
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8247
8211
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8212
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8248
8213
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8249
8214
|
};
|
|
8250
8215
|
require_approval?: string[] | undefined;
|
|
@@ -8262,18 +8227,18 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8262
8227
|
/** Tags whose tools need the user's approval before they run. */
|
|
8263
8228
|
require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
8264
8229
|
}, "strip", z$1.ZodTypeAny, {
|
|
8265
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8266
8230
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8231
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8267
8232
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8268
8233
|
}, {
|
|
8269
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8270
8234
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8235
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8271
8236
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8272
8237
|
}>>;
|
|
8273
8238
|
}, "strip", z$1.ZodTypeAny, {
|
|
8274
8239
|
tags?: {
|
|
8275
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8276
8240
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8241
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8277
8242
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8278
8243
|
} | undefined;
|
|
8279
8244
|
tools?: Record<string, {
|
|
@@ -8286,8 +8251,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8286
8251
|
require_approval?: string[] | undefined;
|
|
8287
8252
|
} | {
|
|
8288
8253
|
tags: {
|
|
8289
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8290
8254
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8255
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8291
8256
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8292
8257
|
};
|
|
8293
8258
|
require_approval?: string[] | undefined;
|
|
@@ -8303,8 +8268,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8303
8268
|
} | undefined;
|
|
8304
8269
|
}, {
|
|
8305
8270
|
tags?: {
|
|
8306
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8307
8271
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8272
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8308
8273
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8309
8274
|
} | undefined;
|
|
8310
8275
|
tools?: Record<string, {
|
|
@@ -8317,8 +8282,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8317
8282
|
require_approval?: string[] | undefined;
|
|
8318
8283
|
} | {
|
|
8319
8284
|
tags: {
|
|
8320
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8321
8285
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8286
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8322
8287
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8323
8288
|
};
|
|
8324
8289
|
require_approval?: string[] | undefined;
|
|
@@ -8403,25 +8368,25 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8403
8368
|
/** Tags whose tools need the user's approval before they run. */
|
|
8404
8369
|
require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
8405
8370
|
}, "strip", z$1.ZodTypeAny, {
|
|
8406
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8407
8371
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8372
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8408
8373
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8409
8374
|
}, {
|
|
8410
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8411
8375
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8376
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8412
8377
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8413
8378
|
}>;
|
|
8414
8379
|
}, "strip", z$1.ZodTypeAny, {
|
|
8415
8380
|
tags: {
|
|
8416
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8417
8381
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8382
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8418
8383
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8419
8384
|
};
|
|
8420
8385
|
require_approval?: string[] | undefined;
|
|
8421
8386
|
}, {
|
|
8422
8387
|
tags: {
|
|
8423
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8424
8388
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8389
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8425
8390
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8426
8391
|
};
|
|
8427
8392
|
require_approval?: string[] | undefined;
|
|
@@ -8439,18 +8404,18 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8439
8404
|
/** Tags whose tools need the user's approval before they run. */
|
|
8440
8405
|
require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
8441
8406
|
}, "strip", z$1.ZodTypeAny, {
|
|
8442
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8443
8407
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8408
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8444
8409
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8445
8410
|
}, {
|
|
8446
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8447
8411
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8412
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8448
8413
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8449
8414
|
}>>;
|
|
8450
8415
|
}, "strip", z$1.ZodTypeAny, {
|
|
8451
8416
|
tags?: {
|
|
8452
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8453
8417
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8418
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8454
8419
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8455
8420
|
} | undefined;
|
|
8456
8421
|
tools?: Record<string, {
|
|
@@ -8463,8 +8428,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8463
8428
|
require_approval?: string[] | undefined;
|
|
8464
8429
|
} | {
|
|
8465
8430
|
tags: {
|
|
8466
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8467
8431
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8432
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8468
8433
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8469
8434
|
};
|
|
8470
8435
|
require_approval?: string[] | undefined;
|
|
@@ -8480,8 +8445,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8480
8445
|
} | undefined;
|
|
8481
8446
|
}, {
|
|
8482
8447
|
tags?: {
|
|
8483
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8484
8448
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8449
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8485
8450
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8486
8451
|
} | undefined;
|
|
8487
8452
|
tools?: Record<string, {
|
|
@@ -8494,8 +8459,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8494
8459
|
require_approval?: string[] | undefined;
|
|
8495
8460
|
} | {
|
|
8496
8461
|
tags: {
|
|
8497
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8498
8462
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8463
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8499
8464
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8500
8465
|
};
|
|
8501
8466
|
require_approval?: string[] | undefined;
|
|
@@ -8518,8 +8483,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8518
8483
|
updatedAt: string;
|
|
8519
8484
|
config: {
|
|
8520
8485
|
tags?: {
|
|
8521
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8522
8486
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8487
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8523
8488
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8524
8489
|
} | undefined;
|
|
8525
8490
|
tools?: Record<string, {
|
|
@@ -8532,8 +8497,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8532
8497
|
require_approval?: string[] | undefined;
|
|
8533
8498
|
} | {
|
|
8534
8499
|
tags: {
|
|
8535
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8536
8500
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8501
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8537
8502
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8538
8503
|
};
|
|
8539
8504
|
require_approval?: string[] | undefined;
|
|
@@ -8557,8 +8522,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8557
8522
|
updatedAt: string;
|
|
8558
8523
|
config: {
|
|
8559
8524
|
tags?: {
|
|
8560
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8561
8525
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8526
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8562
8527
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8563
8528
|
} | undefined;
|
|
8564
8529
|
tools?: Record<string, {
|
|
@@ -8571,8 +8536,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8571
8536
|
require_approval?: string[] | undefined;
|
|
8572
8537
|
} | {
|
|
8573
8538
|
tags: {
|
|
8574
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8575
8539
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8540
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8576
8541
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8577
8542
|
};
|
|
8578
8543
|
require_approval?: string[] | undefined;
|
|
@@ -8590,8 +8555,6 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8590
8555
|
archived: boolean;
|
|
8591
8556
|
}>;
|
|
8592
8557
|
type SessionConfig = z$1.infer<typeof SessionConfigSchema>;
|
|
8593
|
-
//#endregion
|
|
8594
|
-
//#region src/models/SessionConfigs.d.ts
|
|
8595
8558
|
/**
|
|
8596
8559
|
* `composio.sessionConfigs` — saved, reusable Session configs.
|
|
8597
8560
|
*
|
|
@@ -8657,8 +8620,6 @@ declare class SessionConfigs {
|
|
|
8657
8620
|
*/
|
|
8658
8621
|
get(id: string, requestOptions?: ComposioRequestOptions): Promise<SessionConfig>;
|
|
8659
8622
|
}
|
|
8660
|
-
//#endregion
|
|
8661
|
-
//#region src/types/keyring.types.d.ts
|
|
8662
8623
|
/**
|
|
8663
8624
|
* A public JWK a secret can be sealed to. Fields keep their JWK names so a
|
|
8664
8625
|
* key can be handed straight to WebCrypto or a JOSE library.
|
|
@@ -8749,8 +8710,6 @@ declare const KeyringTransferKeysResponseSchema: z$1.ZodObject<{
|
|
|
8749
8710
|
activeKid: string;
|
|
8750
8711
|
}>;
|
|
8751
8712
|
type KeyringTransferKeysResponse = z$1.infer<typeof KeyringTransferKeysResponseSchema>;
|
|
8752
|
-
//#endregion
|
|
8753
|
-
//#region src/models/Keyring.d.ts
|
|
8754
8713
|
/**
|
|
8755
8714
|
* `composio.keyring` — the organization's customer-managed keyring.
|
|
8756
8715
|
*
|
|
@@ -8790,8 +8749,6 @@ declare class Keyring {
|
|
|
8790
8749
|
*/
|
|
8791
8750
|
listTransferKeys(requestOptions?: ComposioRequestOptions): Promise<KeyringTransferKeysResponse>;
|
|
8792
8751
|
}
|
|
8793
|
-
//#endregion
|
|
8794
|
-
//#region src/utils/logger.d.ts
|
|
8795
8752
|
declare const LOG_LEVELS: {
|
|
8796
8753
|
readonly silent: -1;
|
|
8797
8754
|
readonly error: 0;
|
|
@@ -8840,8 +8797,6 @@ declare class Logger {
|
|
|
8840
8797
|
debug(...args: unknown[]): void;
|
|
8841
8798
|
}
|
|
8842
8799
|
declare const logger: Logger;
|
|
8843
|
-
//#endregion
|
|
8844
|
-
//#region src/provider/OpenAIProvider.d.ts
|
|
8845
8800
|
type OpenAiTool = OpenAI.ChatCompletionTool;
|
|
8846
8801
|
type OpenAiToolCollection = Array<OpenAiTool>;
|
|
8847
8802
|
declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection, OpenAiTool, McpServerGetResponse> {
|
|
@@ -9021,15 +8976,20 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
9021
8976
|
handleToolCalls(session: ToolCallSession, chatCompletion: OpenAI.ChatCompletion): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
9022
8977
|
handleToolCalls(userId: string, chatCompletion: OpenAI.ChatCompletion, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
9023
8978
|
}
|
|
9024
|
-
//#endregion
|
|
9025
|
-
//#region src/types/composio.types.d.ts
|
|
9026
8979
|
type ComposioRequestHeaders = Record<string, string>;
|
|
9027
|
-
|
|
9028
|
-
|
|
8980
|
+
/** Local tools options, accepted under their current names and the deprecated `custom*` aliases. */
|
|
8981
|
+
type LocalToolsOptions = {
|
|
8982
|
+
localTools?: LocalTool[];
|
|
8983
|
+
localToolkits?: LocalToolkit[];
|
|
8984
|
+
/** @deprecated Use `localTools` instead. */
|
|
8985
|
+
customTools?: LocalTool[];
|
|
8986
|
+
/** @deprecated Use `localToolkits` instead. */
|
|
8987
|
+
customToolkits?: LocalToolkit[];
|
|
8988
|
+
};
|
|
9029
8989
|
declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
|
|
9030
8990
|
private client;
|
|
9031
8991
|
private config?;
|
|
9032
|
-
constructor(client: Composio, config?: ComposioConfig<TProvider> | undefined);
|
|
8992
|
+
constructor(client: Composio$1, config?: ComposioConfig<TProvider> | undefined);
|
|
9033
8993
|
/**
|
|
9034
8994
|
* Derives the MCP config for a session from the auth context the session
|
|
9035
8995
|
* request was made with: the project key when one is configured, otherwise
|
|
@@ -9057,6 +9017,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
9057
9017
|
* @param config {ToolRouterCreateSessionConfig} The config for the tool router session
|
|
9058
9018
|
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
9059
9019
|
* @throws {ComposioMCPDestinationError} When `mcp: true` is passed and the MCP URL is not on the API origin
|
|
9020
|
+
* @throws {ValidationError} When a local tools option and its deprecated `custom*` alias are both passed
|
|
9060
9021
|
*
|
|
9061
9022
|
* @example
|
|
9062
9023
|
* ```typescript
|
|
@@ -9068,8 +9029,8 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
9068
9029
|
* toolkits: ['gmail'],
|
|
9069
9030
|
* manageConnections: true,
|
|
9070
9031
|
* experimental: {
|
|
9071
|
-
*
|
|
9072
|
-
*
|
|
9032
|
+
* localTools: [myLocalTool],
|
|
9033
|
+
* localToolkits: [myLocalToolkit],
|
|
9073
9034
|
* },
|
|
9074
9035
|
* });
|
|
9075
9036
|
*
|
|
@@ -9095,8 +9056,12 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
9095
9056
|
* origins is logged, so native tools keep working.
|
|
9096
9057
|
*
|
|
9097
9058
|
* @param id {string} The id of the session to use
|
|
9059
|
+
* @param options {object} Optional session reuse options
|
|
9060
|
+
* @param options.localTools Local tools to attach to the session; `customTools` is a deprecated alias.
|
|
9061
|
+
* @param options.localToolkits Toolkits of local tools to attach; `customToolkits` is a deprecated alias.
|
|
9098
9062
|
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
9099
9063
|
* @throws {ComposioMCPDestinationError} When `mcp: true` is passed and the MCP URL is not on the API origin
|
|
9064
|
+
* @throws {ValidationError} When a local tools option and its deprecated `custom*` alias are both passed
|
|
9100
9065
|
*
|
|
9101
9066
|
* @example
|
|
9102
9067
|
* ```typescript
|
|
@@ -9110,14 +9075,10 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
9110
9075
|
* console.log(session.mcp.headers);
|
|
9111
9076
|
* ```
|
|
9112
9077
|
*/
|
|
9113
|
-
use(id: string, options: {
|
|
9114
|
-
customTools?: CustomTool[];
|
|
9115
|
-
customToolkits?: CustomToolkit[];
|
|
9078
|
+
use(id: string, options: LocalToolsOptions & {
|
|
9116
9079
|
mcp: true;
|
|
9117
9080
|
}, requestOptions?: ComposioRequestOptions): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
9118
|
-
use(id: string, options?: {
|
|
9119
|
-
customTools?: CustomTool[];
|
|
9120
|
-
customToolkits?: CustomToolkit[];
|
|
9081
|
+
use(id: string, options?: LocalToolsOptions & {
|
|
9121
9082
|
mcp?: boolean;
|
|
9122
9083
|
}, requestOptions?: ComposioRequestOptions): Promise<SessionWithoutMcp<TToolCollection, TTool, TProvider>>;
|
|
9123
9084
|
/**
|
|
@@ -9128,8 +9089,6 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
9128
9089
|
*/
|
|
9129
9090
|
delete(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionDeleteResponse>;
|
|
9130
9091
|
}
|
|
9131
|
-
//#endregion
|
|
9132
|
-
//#region src/models/Sessions.d.ts
|
|
9133
9092
|
/**
|
|
9134
9093
|
* First-class API for creating and reusing Composio sessions.
|
|
9135
9094
|
*
|
|
@@ -9138,10 +9097,8 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
9138
9097
|
* alias for `composio.sessions.create(...)`.
|
|
9139
9098
|
*/
|
|
9140
9099
|
declare class Sessions<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> extends ToolRouter<TToolCollection, TTool, TProvider> {
|
|
9141
|
-
constructor(client: Composio, config?: ComposioConfig<TProvider>);
|
|
9100
|
+
constructor(client: Composio$1, config?: ComposioConfig<TProvider>);
|
|
9142
9101
|
}
|
|
9143
|
-
//#endregion
|
|
9144
|
-
//#region src/composio.d.ts
|
|
9145
9102
|
type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unknown> = OpenAIProvider> = {
|
|
9146
9103
|
/**
|
|
9147
9104
|
* The project API key for the Composio API, sent as the `x-api-key` header.
|
|
@@ -9386,7 +9343,7 @@ type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unk
|
|
|
9386
9343
|
* This is the core class for Composio.
|
|
9387
9344
|
* It is used to initialize the Composio SDK and provide a global configuration.
|
|
9388
9345
|
*/
|
|
9389
|
-
declare class Composio
|
|
9346
|
+
declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown, unknown> = OpenAIProvider> {
|
|
9390
9347
|
/**
|
|
9391
9348
|
* The Composio API client.
|
|
9392
9349
|
* @type {ComposioClient}
|
|
@@ -9423,6 +9380,16 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
9423
9380
|
logs: Logs;
|
|
9424
9381
|
/** Public transfer keys of the organization's customer-managed keyring */
|
|
9425
9382
|
keyring: Keyring;
|
|
9383
|
+
/**
|
|
9384
|
+
* Register and manage project-owned custom toolkits, such as a remote MCP
|
|
9385
|
+
* server (`create()` / `update()` / `sync()` / `delete()`).
|
|
9386
|
+
*
|
|
9387
|
+
* @example
|
|
9388
|
+
* ```typescript
|
|
9389
|
+
* await composio.customToolkits.sync('CUSTOM_MY_TOOLKIT');
|
|
9390
|
+
* ```
|
|
9391
|
+
*/
|
|
9392
|
+
customToolkits: CustomToolkits;
|
|
9426
9393
|
/**
|
|
9427
9394
|
* Experimental SDK methods whose shape may change in future releases.
|
|
9428
9395
|
* Prefer domain-specific mounts (for example
|
|
@@ -9593,7 +9560,7 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
9593
9560
|
*/
|
|
9594
9561
|
createSession(options?: {
|
|
9595
9562
|
headers?: ComposioRequestHeaders;
|
|
9596
|
-
}): Composio
|
|
9563
|
+
}): Composio<TProvider>;
|
|
9597
9564
|
/**
|
|
9598
9565
|
* Flush any pending telemetry and wait for it to complete.
|
|
9599
9566
|
*
|
|
@@ -9623,5 +9590,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
9623
9590
|
*/
|
|
9624
9591
|
flush(): Promise<void>;
|
|
9625
9592
|
}
|
|
9626
|
-
|
|
9627
|
-
export { WebhookEndpointListItemSchema as $, TriggersTypeRetrieveResponse as $n, ToolkitCategorySchema as $r, UsageBreakdownGroup as $t, LogSearchFilterSchema as A, ToolkitsListParamsSchema as Ai, TriggerInstanceManageDeleteResponse as An, AuthDefaultConfigUpdateParamsSchema as Ar, CustomToolkitApiKeyField as At, ToolExecutionLogLevelSchema as B, TriggerInstanceUpsertResponse as Bn, ToolKitItem as Br, CustomToolkitSyncParams as Bt, SessionConfigSummarySchema as C, ToolkitRetrieveResponse as Ci, TriggerEventData as Cn, AuthConfigRetrieveResponseSchema as Cr, WebhookSubscriptionSetParamsSchema as Ct, LogSearchFilterFieldSchema as D, ToolkitVersionChangelog as Di, TriggerInstanceListActiveResponseItem as Dn, AuthConfigUpdateParams as Dr, MCP as Dt, LogSearchFilterField as E, ToolkitSortByEnumSchema as Ei, TriggerInstanceListActiveResponse as En, AuthConfigTypes as Er, WebhookVersionSchema as Et, LogSearchTimeRange as F, TriggerInstanceManageUpdateResponseSchema as Fn, CreateAuthConfigParamsSchema as Fr, CustomToolkitCreateResponse as Ft, ToolExecutionLogStatusSchema as G, TriggerSubscribeParamSchema as Gn, ToolKitMetaSchema as Gr, CustomToolkitUpdateParamsSchema as Gt, ToolExecutionLogMetadataSchema as H, TriggerStatusEnum as Hn, ToolKitListResponse as Hr, CustomToolkitSyncResponse as Ht, LogSearchTimeRangeSchema as I, TriggerInstanceType as In, CreateAuthConfigResponse as Ir, CustomToolkitCreateResponseSchema as It, Webhooks as J, TriggerTypeSchema as Jn, ToolkitAuthField as Jr, CustomToolkitUpsertParams as Jt, WebhookEndpoints as K, TriggerSubscribeParams as Kn, ToolkitAuthConfigDetails as Kr, CustomToolkitUpdateResponse as Kt, ToolExecutionLog as L, TriggerInstanceTypeSchema as Ln, CreateAuthConfigResponseSchema as Lr, CustomToolkitDeleteResponse as Lt, LogSearchParamsSchema as M, TriggerInstanceManageUpdateParams as Mn, AuthSchemeType as Mr, CustomToolkitAuthSchemeSchema as Mt, LogSearchResponse as N, TriggerInstanceManageUpdateParamsSchema as Nn, AuthSchemeTypes as Nr, CustomToolkitCreateParams as Nt, LogSearchFilterOperator as O, ToolkitVersionChangelogSchema as Oi, TriggerInstanceListActiveResponseItemSchema as On, AuthConfigUpdateParamsSchema as Or, Experimental as Ot, LogSearchResponseSchema as P, TriggerInstanceManageUpdateResponse as Pn, CreateAuthConfigParams as Pr, CustomToolkitCreateParamsSchema as Pt, WebhookEndpointListItem as Q, TriggersTypeListResponseSchema as Qn, ToolkitCategory as Qr, Usage as Qt, ToolExecutionLogDetail as R, TriggerInstanceUpsertParams as Rn, CreateComposioManagedAuthConfigParamsSchema as Rr, CustomToolkitDeleteResponseSchema as Rt, SessionConfigSummary as S, ToolkitRetrieveCategoriesResponseSchema as Si, TriggerEvent as Sn, AuthConfigRetrieveResponse as Sr, WebhookSubscriptionSetParams as St, LogSearchFilter as T, ToolkitSortByEnum as Ti, TriggerInstanceListActiveParamsSchema as Tn, AuthConfigType as Tr, WebhookSubscriptionUpdateParamsSchema as Tt, ToolExecutionLogParentSchema as U, TriggerStatusType as Un, ToolKitListResponseSchema as Ur, CustomToolkitSyncResponseSchema as Ut, ToolExecutionLogMetadata as V, TriggerInstanceUpsertResponseSchema as Vn, ToolKitItemSchema as Vr, CustomToolkitSyncParamsSchema as Vt, ToolExecutionLogSchema as W, TriggerStatuses as Wn, ToolKitMeta as Wr, CustomToolkitUpdateParams as Wt, WebhookEndpointCreateParams as X, TriggersTypeListParamsSchema as Xn, ToolkitAuthFieldsResponse as Xr, CustomToolkitUpsertResponse as Xt, WebhookEndpoint as Y, TriggersTypeListParams as Yn, ToolkitAuthFieldSchema as Yr, CustomToolkitUpsertParamsSchema as Yt, WebhookEndpointCreateParamsSchema as Z, TriggersTypeListResponse as Zn, ToolkitAuthFieldsResponseSchema as Zr, CustomToolkitUpsertResponseSchema as Zt, SessionConfigListResponse as _, ToolkitRecommendScopesParams as _i, IncomingTriggerPayloadSchema as _n, AuthConfigCreationToolAccessConfigSchema as _r, WebhookSubscriptionListResponse as _t, ComposioLogger as a, ToolkitConditionalScopeSchema as ai, UsageEntitySummary as an, WebhookPayloadV1 as ar, WebhookEndpointReplaceParamsSchema as at, SessionConfigPolicySchema as b, ToolkitRecommendScopesResponseSchema as bi, SetWebhookSubscriptionParamsSchema as bn, AuthConfigListResponse as br, WebhookSubscriptionRotateSecretResponseSchema as bt, Keyring as c, ToolkitGrantContextDimension as ci, UsageFiltersSchema as cn, WebhookPayloadV2Schema as cr, WebhookEndpointUpdateParamsSchema as ct, KeyringTransferKeysResponse as d, ToolkitListGrantContextsParamsSchema as di, UsageSummaryParams as dn, WebhookRequestLike as dr, WebhookSubscriptionEventType as dt, ToolkitChangelogItem as ei, UsageBreakdownGroupSchema as en, VerifyWebhookParams as er, WebhookEndpointListParams as et, KeyringTransferKeysResponseSchema as f, ToolkitListGrantContextsResponse as fi, UsageSummaryParamsSchema as fn, WebhookSubscription as fr, WebhookSubscriptionEventTypeSchema as ft, SessionConfigListParamsSchema as g, ToolkitMangedByEnumSchema as gi, IncomingTriggerPayload as gn, WebhookVersions as gr, WebhookSubscriptionListParamsSchema as gt, SessionConfigListParams as h, ToolkitMangedByEnum as hi, DefaultWebhookSubscriptionEvents as hn, WebhookVersion as hr, WebhookSubscriptionListParams as ht, OpenAIProvider as i, ToolkitConditionalScope as ii, UsageBreakdownResponseSchema as in, WebhookPayloadSchema as ir, WebhookEndpointReplaceParams as it, LogSearchParams as j, TriggerInstanceManageDeleteResponseSchema as jn, AuthSchemeEnum as jr, CustomToolkitAuthScheme as jt, LogSearchFilterOperatorSchema as k, ToolkitsGetManyParamsSchema as ki, TriggerInstanceListActiveResponseSchema as kn, AuthCustomConfigUpdateParamsSchema as kr, CustomToolkits as kt, KeyringTransferKey as l, ToolkitGrantContextDimensionSchema as li, UsageOrderBySchema as ln, WebhookPayloadV3 as lr, WebhookSubscriptionDeleteResponse as lt, SessionConfig as m, ToolkitListParams as mi, UsageSummaryResponseSchema as mn, WebhookTriggerPayloadV3Schema as mr, WebhookSubscriptionEventTypesResponseSchema as mt, ComposioConfig as n, ToolkitChangelogResponse as ni, UsageBreakdownParamsSchema as nn, VerifyWebhookResult as nr, WebhookEndpointListResponse as nt, LogLevel as o, ToolkitGetManyParams as oi, UsageEntitySummarySchema as on, WebhookPayloadV1Schema as or, WebhookEndpointSchema as ot, SessionConfigs as p, ToolkitListGrantContextsResponseSchema as pi, UsageSummaryResponse as pn, WebhookTriggerPayloadV3 as pr, WebhookSubscriptionEventTypesResponse as pt, WebhookSubscriptions as q, TriggerType as qn, ToolkitAuthConfigDetailsSchema as qr, CustomToolkitUpdateResponseSchema as qt, Sessions as r, ToolkitChangelogResponseSchema as ri, UsageBreakdownResponse as rn, WebhookPayload as rr, WebhookEndpointListResponseSchema as rt, logger as s, ToolkitGetManySlugsSchema as si, UsageFilters as sn, WebhookPayloadV2 as sr, WebhookEndpointUpdateParams as st, Composio$1 as t, ToolkitChangelogItemSchema as ti, UsageBreakdownParams as tn, VerifyWebhookParamsSchema as tr, WebhookEndpointListParamsSchema as tt, KeyringTransferKeySchema as u, ToolkitListGrantContextsParams as ui, UsageOrderDirectionSchema as un, WebhookPayloadV3Schema as ur, WebhookSubscriptionDeleteResponseSchema as ut, SessionConfigListResponseSchema as v, ToolkitRecommendScopesParamsSchema as vi, ParseWebhookOptions as vn, AuthConfigListParams as vr, WebhookSubscriptionListResponseSchema as vt, Logs as w, ToolkitRetrieveResponseSchema as wi, TriggerInstanceListActiveParams as wn, AuthConfigToolAccessConfigSchema as wr, WebhookSubscriptionUpdateParams as wt, SessionConfigSchema as x, ToolkitRetrieveCategoriesResponse as xi, TriggerData as xn, AuthConfigListResponseSchema as xr, WebhookSubscriptionSchema as xt, SessionConfigPolicy as y, ToolkitRecommendScopesResponse as yi, SetWebhookSubscriptionParams as yn, AuthConfigListParamsSchema as yr, WebhookSubscriptionRotateSecretResponse as yt, ToolExecutionLogDetailSchema as z, TriggerInstanceUpsertParamsSchema as zn, CreateCustomAuthConfigParamsSchema as zr, CustomToolkitLogoFile as zt };
|
|
9593
|
+
export { WebhookEndpointListItemSchema as $, TriggersTypeRetrieveResponse as $n, ToolkitCategorySchema as $r, UsageBreakdownGroup as $t, LogSearchFilterSchema as A, ToolkitsListParamsSchema as Ai, TriggerInstanceManageDeleteResponse as An, AuthDefaultConfigUpdateParamsSchema as Ar, CustomToolkitApiKeyField as At, ToolExecutionLogLevelSchema as B, TriggerInstanceUpsertResponse as Bn, ToolKitItem as Br, CustomToolkitSyncParams as Bt, SessionConfigSummarySchema as C, ToolkitRetrieveResponse as Ci, TriggerEventData as Cn, AuthConfigRetrieveResponseSchema as Cr, WebhookSubscriptionSetParamsSchema as Ct, LogSearchFilterFieldSchema as D, ToolkitVersionChangelog as Di, TriggerInstanceListActiveResponseItem as Dn, AuthConfigUpdateParams as Dr, MCP as Dt, LogSearchFilterField as E, ToolkitSortByEnumSchema as Ei, TriggerInstanceListActiveResponse as En, AuthConfigTypes as Er, WebhookVersionSchema as Et, LogSearchTimeRange as F, TriggerInstanceManageUpdateResponseSchema as Fn, CreateAuthConfigParamsSchema as Fr, CustomToolkitCreateResponse as Ft, ToolExecutionLogStatusSchema as G, TriggerSubscribeParamSchema as Gn, ToolKitMetaSchema as Gr, CustomToolkitUpdateParamsSchema as Gt, ToolExecutionLogMetadataSchema as H, TriggerStatusEnum as Hn, ToolKitListResponse as Hr, CustomToolkitSyncResponse as Ht, LogSearchTimeRangeSchema as I, TriggerInstanceType as In, CreateAuthConfigResponse as Ir, CustomToolkitCreateResponseSchema as It, Webhooks as J, TriggerTypeSchema as Jn, ToolkitAuthField as Jr, CustomToolkitUpsertParams as Jt, WebhookEndpoints as K, TriggerSubscribeParams as Kn, ToolkitAuthConfigDetails as Kr, CustomToolkitUpdateResponse as Kt, ToolExecutionLog as L, TriggerInstanceTypeSchema as Ln, CreateAuthConfigResponseSchema as Lr, CustomToolkitDeleteResponse as Lt, LogSearchParamsSchema as M, TriggerInstanceManageUpdateParams as Mn, AuthSchemeType as Mr, CustomToolkitAuthSchemeSchema as Mt, LogSearchResponse as N, TriggerInstanceManageUpdateParamsSchema as Nn, AuthSchemeTypes as Nr, CustomToolkitCreateParams as Nt, LogSearchFilterOperator as O, ToolkitVersionChangelogSchema as Oi, TriggerInstanceListActiveResponseItemSchema as On, AuthConfigUpdateParamsSchema as Or, Experimental as Ot, LogSearchResponseSchema as P, TriggerInstanceManageUpdateResponse as Pn, CreateAuthConfigParams as Pr, CustomToolkitCreateParamsSchema as Pt, WebhookEndpointListItem as Q, TriggersTypeListResponseSchema as Qn, ToolkitCategory as Qr, Usage as Qt, ToolExecutionLogDetail as R, TriggerInstanceUpsertParams as Rn, CreateComposioManagedAuthConfigParamsSchema as Rr, CustomToolkitDeleteResponseSchema as Rt, SessionConfigSummary as S, ToolkitRetrieveCategoriesResponseSchema as Si, TriggerEvent as Sn, AuthConfigRetrieveResponse as Sr, WebhookSubscriptionSetParams as St, LogSearchFilter as T, ToolkitSortByEnum as Ti, TriggerInstanceListActiveParamsSchema as Tn, AuthConfigType as Tr, WebhookSubscriptionUpdateParamsSchema as Tt, ToolExecutionLogParentSchema as U, TriggerStatusType as Un, ToolKitListResponseSchema as Ur, CustomToolkitSyncResponseSchema as Ut, ToolExecutionLogMetadata as V, TriggerInstanceUpsertResponseSchema as Vn, ToolKitItemSchema as Vr, CustomToolkitSyncParamsSchema as Vt, ToolExecutionLogSchema as W, TriggerStatuses as Wn, ToolKitMeta as Wr, CustomToolkitUpdateParams as Wt, WebhookEndpointCreateParams as X, TriggersTypeListParamsSchema as Xn, ToolkitAuthFieldsResponse as Xr, CustomToolkitUpsertResponse as Xt, WebhookEndpoint as Y, TriggersTypeListParams as Yn, ToolkitAuthFieldSchema as Yr, CustomToolkitUpsertParamsSchema as Yt, WebhookEndpointCreateParamsSchema as Z, TriggersTypeListResponse as Zn, ToolkitAuthFieldsResponseSchema as Zr, CustomToolkitUpsertResponseSchema as Zt, SessionConfigListResponse as _, ToolkitRecommendScopesParams as _i, IncomingTriggerPayloadSchema as _n, AuthConfigCreationToolAccessConfigSchema as _r, WebhookSubscriptionListResponse as _t, ComposioLogger as a, ToolkitConditionalScopeSchema as ai, UsageEntitySummary as an, WebhookPayloadV1 as ar, WebhookEndpointReplaceParamsSchema as at, SessionConfigPolicySchema as b, ToolkitRecommendScopesResponseSchema as bi, SetWebhookSubscriptionParamsSchema as bn, AuthConfigListResponse as br, WebhookSubscriptionRotateSecretResponseSchema as bt, Keyring as c, ToolkitGrantContextDimension as ci, UsageFiltersSchema as cn, WebhookPayloadV2Schema as cr, WebhookEndpointUpdateParamsSchema as ct, KeyringTransferKeysResponse as d, ToolkitListGrantContextsParamsSchema as di, UsageSummaryParams as dn, WebhookRequestLike as dr, WebhookSubscriptionEventType as dt, ToolkitChangelogItem as ei, UsageBreakdownGroupSchema as en, VerifyWebhookParams as er, WebhookEndpointListParams as et, KeyringTransferKeysResponseSchema as f, ToolkitListGrantContextsResponse as fi, UsageSummaryParamsSchema as fn, WebhookSubscription as fr, WebhookSubscriptionEventTypeSchema as ft, SessionConfigListParamsSchema as g, ToolkitMangedByEnumSchema as gi, IncomingTriggerPayload as gn, WebhookVersions as gr, WebhookSubscriptionListParamsSchema as gt, SessionConfigListParams as h, ToolkitMangedByEnum as hi, DefaultWebhookSubscriptionEvents as hn, WebhookVersion as hr, WebhookSubscriptionListParams as ht, OpenAIProvider as i, ToolkitConditionalScope as ii, UsageBreakdownResponseSchema as in, WebhookPayloadSchema as ir, WebhookEndpointReplaceParams as it, LogSearchParams as j, TriggerInstanceManageDeleteResponseSchema as jn, AuthSchemeEnum as jr, CustomToolkitAuthScheme as jt, LogSearchFilterOperatorSchema as k, ToolkitsGetManyParamsSchema as ki, TriggerInstanceListActiveResponseSchema as kn, AuthCustomConfigUpdateParamsSchema as kr, CustomToolkits as kt, KeyringTransferKey as l, ToolkitGrantContextDimensionSchema as li, UsageOrderBySchema as ln, WebhookPayloadV3 as lr, WebhookSubscriptionDeleteResponse as lt, SessionConfig as m, ToolkitListParams as mi, UsageSummaryResponseSchema as mn, WebhookTriggerPayloadV3Schema as mr, WebhookSubscriptionEventTypesResponseSchema as mt, ComposioConfig as n, ToolkitChangelogResponse as ni, UsageBreakdownParamsSchema as nn, VerifyWebhookResult as nr, WebhookEndpointListResponse as nt, LogLevel as o, ToolkitGetManyParams as oi, UsageEntitySummarySchema as on, WebhookPayloadV1Schema as or, WebhookEndpointSchema as ot, SessionConfigs as p, ToolkitListGrantContextsResponseSchema as pi, UsageSummaryResponse as pn, WebhookTriggerPayloadV3 as pr, WebhookSubscriptionEventTypesResponse as pt, WebhookSubscriptions as q, TriggerType as qn, ToolkitAuthConfigDetailsSchema as qr, CustomToolkitUpdateResponseSchema as qt, Sessions as r, ToolkitChangelogResponseSchema as ri, UsageBreakdownResponse as rn, WebhookPayload as rr, WebhookEndpointListResponseSchema as rt, logger as s, ToolkitGetManySlugsSchema as si, UsageFilters as sn, WebhookPayloadV2 as sr, WebhookEndpointUpdateParams as st, Composio as t, ToolkitChangelogItemSchema as ti, UsageBreakdownParams as tn, VerifyWebhookParamsSchema as tr, WebhookEndpointListParamsSchema as tt, KeyringTransferKeySchema as u, ToolkitListGrantContextsParams as ui, UsageOrderDirectionSchema as un, WebhookPayloadV3Schema as ur, WebhookSubscriptionDeleteResponseSchema as ut, SessionConfigListResponseSchema as v, ToolkitRecommendScopesParamsSchema as vi, ParseWebhookOptions as vn, AuthConfigListParams as vr, WebhookSubscriptionListResponseSchema as vt, Logs as w, ToolkitRetrieveResponseSchema as wi, TriggerInstanceListActiveParams as wn, AuthConfigToolAccessConfigSchema as wr, WebhookSubscriptionUpdateParams as wt, SessionConfigSchema as x, ToolkitRetrieveCategoriesResponse as xi, TriggerData as xn, AuthConfigListResponseSchema as xr, WebhookSubscriptionSchema as xt, SessionConfigPolicy as y, ToolkitRecommendScopesResponse as yi, SetWebhookSubscriptionParams as yn, AuthConfigListParamsSchema as yr, WebhookSubscriptionRotateSecretResponse as yt, ToolExecutionLogDetailSchema as z, TriggerInstanceUpsertParamsSchema as zn, CreateCustomAuthConfigParamsSchema as zr, CustomToolkitLogoFile as zt };
|