@composio/core 0.29.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 +23 -0
- package/dist/{CustomTool-Bd1KdWvo.mjs → CustomTool-9Vlb4XaS.mjs} +4 -7
- package/dist/{CustomTool-CMW-d2ZN.d.mts → CustomTool-Dzk3iqfP.d.mts} +2 -4
- 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-D5UV5HXN.d.mts → composio-DaokW5sV.d.mts} +229 -284
- package/dist/{customTool.types-B9fs34dv.d.mts → customTool.types-CpJbzxT6.d.mts} +182 -245
- package/dist/docs/error-consistency.md +3 -3
- package/dist/docs/reference/sdk-reference/typescript/composio.mdx +1 -0
- package/dist/docs/reference/sdk-reference/typescript/custom-toolkits.mdx +6 -11
- 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/{errors-BK6Xc7Ia.mjs → errors-xC13uvaA.mjs} +56 -139
- package/dist/experimental/index.d.mts +16 -2
- 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 +40 -75
- package/dist/index.mjs +281 -243
- package/dist/{cancellation-BoJjs34Y.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-CaP2SytR.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 +107 -30
- package/src/errors/apiErrorDetails.ts +40 -0
- package/src/models/ConnectionRequest.ts +12 -4
- package/src/models/CustomToolkits.ts +11 -17
- 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/ToolRouterSession.ts +16 -23
- package/src/models/Tools.ts +218 -20
- package/src/models/Triggers.ts +8 -2
- package/src/types/customToolkits.types.ts +4 -9
- package/src/utils/cancellation.ts +5 -1
- package/dist/FileModifierErrors-CdGSABoq.mjs +0 -97
- package/dist/rolldown-runtime-w6R9maHv.mjs +0 -18
- package/src/models/inlineCustomToolsPayload.ts +0 -17
|
@@ -1,15 +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";
|
|
5
|
-
import
|
|
6
|
+
import "zod";
|
|
6
7
|
import { ConnectedAccountDeleteResponse, ConnectedAccountPatchResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
|
|
7
|
-
import {
|
|
8
|
+
import { SessionExecuteParams } from "@composio/client/resources/tool-router/session";
|
|
8
9
|
import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
|
|
9
10
|
import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/triggers-types";
|
|
10
11
|
import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
|
|
11
12
|
import { OpenAI } from "openai";
|
|
12
|
-
//#region src/models/Tools.d.ts
|
|
13
13
|
type ToolRouterSessionExecuteOptions = {
|
|
14
14
|
experimental?: NonNullable<SessionExecuteParams['experimental']>;
|
|
15
15
|
};
|
|
@@ -29,6 +29,8 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
29
29
|
* Scoped per-instance so a fresh `Composio` starts with a clean slate.
|
|
30
30
|
*/
|
|
31
31
|
private readonly warnedAutoUploadDisabledForTool;
|
|
32
|
+
/** Tools whose parameters were dropped by `transformToolCases`; warn once each. */
|
|
33
|
+
private readonly warnedMalformedToolParametersSlugs;
|
|
32
34
|
/**
|
|
33
35
|
* Schemas `execute()` already fetched, so repeated executions don't each spend a request.
|
|
34
36
|
* Holds what `getRawComposioToolBySlug` returned with no `modifySchema`, so a caller's schema
|
|
@@ -43,11 +45,18 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
43
45
|
* making them more consistent with JavaScript/TypeScript conventions.
|
|
44
46
|
*
|
|
45
47
|
* @param {ToolRetrieveResponse | ComposioToolListResponse['items'][0]} tool - The tool object to transform
|
|
46
|
-
* @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
|
|
47
50
|
*
|
|
48
51
|
* @private
|
|
49
52
|
*/
|
|
50
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;
|
|
51
60
|
/**
|
|
52
61
|
* Transforms tool execution response from snake_case API format to camelCase.
|
|
53
62
|
*
|
|
@@ -519,8 +528,6 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
519
528
|
*/
|
|
520
529
|
proxyExecute(body: ToolProxyParams, requestOptions?: ComposioRequestOptions): Promise<ToolProxyResponse>;
|
|
521
530
|
}
|
|
522
|
-
//#endregion
|
|
523
|
-
//#region src/types/toolkit.types.d.ts
|
|
524
531
|
/**
|
|
525
532
|
* Toolkit list params
|
|
526
533
|
*/
|
|
@@ -599,28 +606,28 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
599
606
|
logo?: string | undefined;
|
|
600
607
|
description?: string | undefined;
|
|
601
608
|
availableVersions?: string[] | undefined;
|
|
602
|
-
createdAt?: string | undefined;
|
|
603
|
-
updatedAt?: string | undefined;
|
|
604
609
|
categories?: {
|
|
605
610
|
slug: string;
|
|
606
611
|
name: string;
|
|
607
612
|
}[] | undefined;
|
|
608
613
|
appUrl?: string | undefined;
|
|
614
|
+
createdAt?: string | undefined;
|
|
609
615
|
toolsCount?: number | undefined;
|
|
610
616
|
triggersCount?: number | undefined;
|
|
617
|
+
updatedAt?: string | undefined;
|
|
611
618
|
}, {
|
|
612
619
|
logo?: string | undefined;
|
|
613
620
|
description?: string | undefined;
|
|
614
621
|
availableVersions?: string[] | undefined;
|
|
615
|
-
createdAt?: string | undefined;
|
|
616
|
-
updatedAt?: string | undefined;
|
|
617
622
|
categories?: {
|
|
618
623
|
slug: string;
|
|
619
624
|
name: string;
|
|
620
625
|
}[] | undefined;
|
|
621
626
|
appUrl?: string | undefined;
|
|
627
|
+
createdAt?: string | undefined;
|
|
622
628
|
toolsCount?: number | undefined;
|
|
623
629
|
triggersCount?: number | undefined;
|
|
630
|
+
updatedAt?: string | undefined;
|
|
624
631
|
}>;
|
|
625
632
|
declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
626
633
|
name: z$1.ZodString;
|
|
@@ -648,28 +655,28 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
648
655
|
logo?: string | undefined;
|
|
649
656
|
description?: string | undefined;
|
|
650
657
|
availableVersions?: string[] | undefined;
|
|
651
|
-
createdAt?: string | undefined;
|
|
652
|
-
updatedAt?: string | undefined;
|
|
653
658
|
categories?: {
|
|
654
659
|
slug: string;
|
|
655
660
|
name: string;
|
|
656
661
|
}[] | undefined;
|
|
657
662
|
appUrl?: string | undefined;
|
|
663
|
+
createdAt?: string | undefined;
|
|
658
664
|
toolsCount?: number | undefined;
|
|
659
665
|
triggersCount?: number | undefined;
|
|
666
|
+
updatedAt?: string | undefined;
|
|
660
667
|
}, {
|
|
661
668
|
logo?: string | undefined;
|
|
662
669
|
description?: string | undefined;
|
|
663
670
|
availableVersions?: string[] | undefined;
|
|
664
|
-
createdAt?: string | undefined;
|
|
665
|
-
updatedAt?: string | undefined;
|
|
666
671
|
categories?: {
|
|
667
672
|
slug: string;
|
|
668
673
|
name: string;
|
|
669
674
|
}[] | undefined;
|
|
670
675
|
appUrl?: string | undefined;
|
|
676
|
+
createdAt?: string | undefined;
|
|
671
677
|
toolsCount?: number | undefined;
|
|
672
678
|
triggersCount?: number | undefined;
|
|
679
|
+
updatedAt?: string | undefined;
|
|
673
680
|
}>;
|
|
674
681
|
isLocalToolkit: z$1.ZodBoolean;
|
|
675
682
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -682,15 +689,15 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
682
689
|
logo?: string | undefined;
|
|
683
690
|
description?: string | undefined;
|
|
684
691
|
availableVersions?: string[] | undefined;
|
|
685
|
-
createdAt?: string | undefined;
|
|
686
|
-
updatedAt?: string | undefined;
|
|
687
692
|
categories?: {
|
|
688
693
|
slug: string;
|
|
689
694
|
name: string;
|
|
690
695
|
}[] | undefined;
|
|
691
696
|
appUrl?: string | undefined;
|
|
697
|
+
createdAt?: string | undefined;
|
|
692
698
|
toolsCount?: number | undefined;
|
|
693
699
|
triggersCount?: number | undefined;
|
|
700
|
+
updatedAt?: string | undefined;
|
|
694
701
|
};
|
|
695
702
|
isLocalToolkit: boolean;
|
|
696
703
|
authSchemes?: string[] | undefined;
|
|
@@ -703,15 +710,15 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
703
710
|
logo?: string | undefined;
|
|
704
711
|
description?: string | undefined;
|
|
705
712
|
availableVersions?: string[] | undefined;
|
|
706
|
-
createdAt?: string | undefined;
|
|
707
|
-
updatedAt?: string | undefined;
|
|
708
713
|
categories?: {
|
|
709
714
|
slug: string;
|
|
710
715
|
name: string;
|
|
711
716
|
}[] | undefined;
|
|
712
717
|
appUrl?: string | undefined;
|
|
718
|
+
createdAt?: string | undefined;
|
|
713
719
|
toolsCount?: number | undefined;
|
|
714
720
|
triggersCount?: number | undefined;
|
|
721
|
+
updatedAt?: string | undefined;
|
|
715
722
|
};
|
|
716
723
|
isLocalToolkit: boolean;
|
|
717
724
|
authSchemes?: string[] | undefined;
|
|
@@ -744,28 +751,28 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
744
751
|
logo?: string | undefined;
|
|
745
752
|
description?: string | undefined;
|
|
746
753
|
availableVersions?: string[] | undefined;
|
|
747
|
-
createdAt?: string | undefined;
|
|
748
|
-
updatedAt?: string | undefined;
|
|
749
754
|
categories?: {
|
|
750
755
|
slug: string;
|
|
751
756
|
name: string;
|
|
752
757
|
}[] | undefined;
|
|
753
758
|
appUrl?: string | undefined;
|
|
759
|
+
createdAt?: string | undefined;
|
|
754
760
|
toolsCount?: number | undefined;
|
|
755
761
|
triggersCount?: number | undefined;
|
|
762
|
+
updatedAt?: string | undefined;
|
|
756
763
|
}, {
|
|
757
764
|
logo?: string | undefined;
|
|
758
765
|
description?: string | undefined;
|
|
759
766
|
availableVersions?: string[] | undefined;
|
|
760
|
-
createdAt?: string | undefined;
|
|
761
|
-
updatedAt?: string | undefined;
|
|
762
767
|
categories?: {
|
|
763
768
|
slug: string;
|
|
764
769
|
name: string;
|
|
765
770
|
}[] | undefined;
|
|
766
771
|
appUrl?: string | undefined;
|
|
772
|
+
createdAt?: string | undefined;
|
|
767
773
|
toolsCount?: number | undefined;
|
|
768
774
|
triggersCount?: number | undefined;
|
|
775
|
+
updatedAt?: string | undefined;
|
|
769
776
|
}>;
|
|
770
777
|
isLocalToolkit: z$1.ZodBoolean;
|
|
771
778
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -778,15 +785,15 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
778
785
|
logo?: string | undefined;
|
|
779
786
|
description?: string | undefined;
|
|
780
787
|
availableVersions?: string[] | undefined;
|
|
781
|
-
createdAt?: string | undefined;
|
|
782
|
-
updatedAt?: string | undefined;
|
|
783
788
|
categories?: {
|
|
784
789
|
slug: string;
|
|
785
790
|
name: string;
|
|
786
791
|
}[] | undefined;
|
|
787
792
|
appUrl?: string | undefined;
|
|
793
|
+
createdAt?: string | undefined;
|
|
788
794
|
toolsCount?: number | undefined;
|
|
789
795
|
triggersCount?: number | undefined;
|
|
796
|
+
updatedAt?: string | undefined;
|
|
790
797
|
};
|
|
791
798
|
isLocalToolkit: boolean;
|
|
792
799
|
authSchemes?: string[] | undefined;
|
|
@@ -799,15 +806,15 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
799
806
|
logo?: string | undefined;
|
|
800
807
|
description?: string | undefined;
|
|
801
808
|
availableVersions?: string[] | undefined;
|
|
802
|
-
createdAt?: string | undefined;
|
|
803
|
-
updatedAt?: string | undefined;
|
|
804
809
|
categories?: {
|
|
805
810
|
slug: string;
|
|
806
811
|
name: string;
|
|
807
812
|
}[] | undefined;
|
|
808
813
|
appUrl?: string | undefined;
|
|
814
|
+
createdAt?: string | undefined;
|
|
809
815
|
toolsCount?: number | undefined;
|
|
810
816
|
triggersCount?: number | undefined;
|
|
817
|
+
updatedAt?: string | undefined;
|
|
811
818
|
};
|
|
812
819
|
isLocalToolkit: boolean;
|
|
813
820
|
authSchemes?: string[] | undefined;
|
|
@@ -1415,28 +1422,28 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1415
1422
|
logo?: string | undefined;
|
|
1416
1423
|
description?: string | undefined;
|
|
1417
1424
|
availableVersions?: string[] | undefined;
|
|
1418
|
-
createdAt?: string | undefined;
|
|
1419
|
-
updatedAt?: string | undefined;
|
|
1420
1425
|
categories?: {
|
|
1421
1426
|
slug: string;
|
|
1422
1427
|
name: string;
|
|
1423
1428
|
}[] | undefined;
|
|
1424
1429
|
appUrl?: string | undefined;
|
|
1430
|
+
createdAt?: string | undefined;
|
|
1425
1431
|
toolsCount?: number | undefined;
|
|
1426
1432
|
triggersCount?: number | undefined;
|
|
1433
|
+
updatedAt?: string | undefined;
|
|
1427
1434
|
}, {
|
|
1428
1435
|
logo?: string | undefined;
|
|
1429
1436
|
description?: string | undefined;
|
|
1430
1437
|
availableVersions?: string[] | undefined;
|
|
1431
|
-
createdAt?: string | undefined;
|
|
1432
|
-
updatedAt?: string | undefined;
|
|
1433
1438
|
categories?: {
|
|
1434
1439
|
slug: string;
|
|
1435
1440
|
name: string;
|
|
1436
1441
|
}[] | undefined;
|
|
1437
1442
|
appUrl?: string | undefined;
|
|
1443
|
+
createdAt?: string | undefined;
|
|
1438
1444
|
toolsCount?: number | undefined;
|
|
1439
1445
|
triggersCount?: number | undefined;
|
|
1446
|
+
updatedAt?: string | undefined;
|
|
1440
1447
|
}>;
|
|
1441
1448
|
isLocalToolkit: z$1.ZodBoolean;
|
|
1442
1449
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -1972,15 +1979,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1972
1979
|
logo?: string | undefined;
|
|
1973
1980
|
description?: string | undefined;
|
|
1974
1981
|
availableVersions?: string[] | undefined;
|
|
1975
|
-
createdAt?: string | undefined;
|
|
1976
|
-
updatedAt?: string | undefined;
|
|
1977
1982
|
categories?: {
|
|
1978
1983
|
slug: string;
|
|
1979
1984
|
name: string;
|
|
1980
1985
|
}[] | undefined;
|
|
1981
1986
|
appUrl?: string | undefined;
|
|
1987
|
+
createdAt?: string | undefined;
|
|
1982
1988
|
toolsCount?: number | undefined;
|
|
1983
1989
|
triggersCount?: number | undefined;
|
|
1990
|
+
updatedAt?: string | undefined;
|
|
1984
1991
|
};
|
|
1985
1992
|
isLocalToolkit: boolean;
|
|
1986
1993
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -2053,15 +2060,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2053
2060
|
logo?: string | undefined;
|
|
2054
2061
|
description?: string | undefined;
|
|
2055
2062
|
availableVersions?: string[] | undefined;
|
|
2056
|
-
createdAt?: string | undefined;
|
|
2057
|
-
updatedAt?: string | undefined;
|
|
2058
2063
|
categories?: {
|
|
2059
2064
|
slug: string;
|
|
2060
2065
|
name: string;
|
|
2061
2066
|
}[] | undefined;
|
|
2062
2067
|
appUrl?: string | undefined;
|
|
2068
|
+
createdAt?: string | undefined;
|
|
2063
2069
|
toolsCount?: number | undefined;
|
|
2064
2070
|
triggersCount?: number | undefined;
|
|
2071
|
+
updatedAt?: string | undefined;
|
|
2065
2072
|
};
|
|
2066
2073
|
isLocalToolkit: boolean;
|
|
2067
2074
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -2302,18 +2309,18 @@ declare const ToolkitRecommendScopesParamsSchema: z$1.ZodObject<{
|
|
|
2302
2309
|
}, "strip", z$1.ZodTypeAny, {
|
|
2303
2310
|
tools: string[];
|
|
2304
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;
|
|
2305
|
-
exclude?: string[] | undefined;
|
|
2306
2312
|
toolkitVersion?: string | undefined;
|
|
2307
2313
|
grantContext?: Record<string, string> | undefined;
|
|
2308
2314
|
include?: string[] | undefined;
|
|
2315
|
+
exclude?: string[] | undefined;
|
|
2309
2316
|
availableScopes?: string[] | undefined;
|
|
2310
2317
|
}, {
|
|
2311
2318
|
tools: string[];
|
|
2312
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;
|
|
2313
|
-
exclude?: string[] | undefined;
|
|
2314
2320
|
toolkitVersion?: string | undefined;
|
|
2315
2321
|
grantContext?: Record<string, string> | undefined;
|
|
2316
2322
|
include?: string[] | undefined;
|
|
2323
|
+
exclude?: string[] | undefined;
|
|
2317
2324
|
availableScopes?: string[] | undefined;
|
|
2318
2325
|
}>;
|
|
2319
2326
|
type ToolkitRecommendScopesParams = z$1.infer<typeof ToolkitRecommendScopesParamsSchema>;
|
|
@@ -2530,8 +2537,6 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
2530
2537
|
userVisible?: boolean | undefined;
|
|
2531
2538
|
}>, "many">;
|
|
2532
2539
|
type ToolkitAuthFieldsResponse = z$1.infer<typeof ToolkitAuthFieldsResponseSchema>;
|
|
2533
|
-
//#endregion
|
|
2534
|
-
//#region src/types/authConfigs.types.d.ts
|
|
2535
2540
|
declare const AuthConfigTypes: {
|
|
2536
2541
|
readonly CUSTOM: "use_custom_auth";
|
|
2537
2542
|
readonly COMPOSIO_MANAGED: "use_composio_managed_auth";
|
|
@@ -2828,8 +2833,8 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2828
2833
|
id: string;
|
|
2829
2834
|
noOfConnections: number;
|
|
2830
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;
|
|
2831
|
-
createdAt?: string | undefined;
|
|
2832
2836
|
isComposioManaged?: boolean | undefined;
|
|
2837
|
+
createdAt?: string | undefined;
|
|
2833
2838
|
credentials?: Record<string, unknown> | undefined;
|
|
2834
2839
|
toolAccessConfig?: {
|
|
2835
2840
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2850,8 +2855,8 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2850
2855
|
id: string;
|
|
2851
2856
|
noOfConnections: number;
|
|
2852
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;
|
|
2853
|
-
createdAt?: string | undefined;
|
|
2854
2858
|
isComposioManaged?: boolean | undefined;
|
|
2859
|
+
createdAt?: string | undefined;
|
|
2855
2860
|
credentials?: Record<string, unknown> | undefined;
|
|
2856
2861
|
toolAccessConfig?: {
|
|
2857
2862
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2935,8 +2940,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2935
2940
|
id: string;
|
|
2936
2941
|
noOfConnections: number;
|
|
2937
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;
|
|
2938
|
-
createdAt?: string | undefined;
|
|
2939
2943
|
isComposioManaged?: boolean | undefined;
|
|
2944
|
+
createdAt?: string | undefined;
|
|
2940
2945
|
credentials?: Record<string, unknown> | undefined;
|
|
2941
2946
|
toolAccessConfig?: {
|
|
2942
2947
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2957,8 +2962,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2957
2962
|
id: string;
|
|
2958
2963
|
noOfConnections: number;
|
|
2959
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;
|
|
2960
|
-
createdAt?: string | undefined;
|
|
2961
2965
|
isComposioManaged?: boolean | undefined;
|
|
2966
|
+
createdAt?: string | undefined;
|
|
2962
2967
|
credentials?: Record<string, unknown> | undefined;
|
|
2963
2968
|
toolAccessConfig?: {
|
|
2964
2969
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2983,8 +2988,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2983
2988
|
id: string;
|
|
2984
2989
|
noOfConnections: number;
|
|
2985
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;
|
|
2986
|
-
createdAt?: string | undefined;
|
|
2987
2991
|
isComposioManaged?: boolean | undefined;
|
|
2992
|
+
createdAt?: string | undefined;
|
|
2988
2993
|
credentials?: Record<string, unknown> | undefined;
|
|
2989
2994
|
toolAccessConfig?: {
|
|
2990
2995
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -3009,8 +3014,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3009
3014
|
id: string;
|
|
3010
3015
|
noOfConnections: number;
|
|
3011
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;
|
|
3012
|
-
createdAt?: string | undefined;
|
|
3013
3017
|
isComposioManaged?: boolean | undefined;
|
|
3018
|
+
createdAt?: string | undefined;
|
|
3014
3019
|
credentials?: Record<string, unknown> | undefined;
|
|
3015
3020
|
toolAccessConfig?: {
|
|
3016
3021
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -3204,8 +3209,6 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
3204
3209
|
restrictToFollowingTools?: string[] | undefined;
|
|
3205
3210
|
}>]>;
|
|
3206
3211
|
type AuthConfigUpdateParams = z$1.infer<typeof AuthConfigUpdateParamsSchema>;
|
|
3207
|
-
//#endregion
|
|
3208
|
-
//#region src/models/Toolkits.d.ts
|
|
3209
3212
|
/**
|
|
3210
3213
|
* Toolkits class
|
|
3211
3214
|
*
|
|
@@ -3413,8 +3416,6 @@ declare class Toolkits {
|
|
|
3413
3416
|
*/
|
|
3414
3417
|
authorize(userId: string, toolkitSlug: string, authConfigId?: string, requestOptions?: ComposioRequestOptions): Promise<ConnectionRequest>;
|
|
3415
3418
|
}
|
|
3416
|
-
//#endregion
|
|
3417
|
-
//#region src/types/triggers.types.d.ts
|
|
3418
3419
|
declare const TriggerStatuses: {
|
|
3419
3420
|
readonly ENABLE: "enable";
|
|
3420
3421
|
readonly DISABLE: "disable";
|
|
@@ -3433,16 +3434,16 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
3433
3434
|
toolkits?: string[] | undefined;
|
|
3434
3435
|
connectedAccountId?: string | undefined;
|
|
3435
3436
|
userId?: string | undefined;
|
|
3436
|
-
authConfigId?: string | undefined;
|
|
3437
3437
|
triggerId?: string | undefined;
|
|
3438
|
+
authConfigId?: string | undefined;
|
|
3438
3439
|
triggerSlug?: string[] | undefined;
|
|
3439
3440
|
triggerData?: string | undefined;
|
|
3440
3441
|
}, {
|
|
3441
3442
|
toolkits?: string[] | undefined;
|
|
3442
3443
|
connectedAccountId?: string | undefined;
|
|
3443
3444
|
userId?: string | undefined;
|
|
3444
|
-
authConfigId?: string | undefined;
|
|
3445
3445
|
triggerId?: string | undefined;
|
|
3446
|
+
authConfigId?: string | undefined;
|
|
3446
3447
|
triggerSlug?: string[] | undefined;
|
|
3447
3448
|
triggerData?: string | undefined;
|
|
3448
3449
|
}>;
|
|
@@ -3458,16 +3459,16 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
|
|
|
3458
3459
|
}, "strip", z$1.ZodTypeAny, {
|
|
3459
3460
|
limit?: number | undefined;
|
|
3460
3461
|
authConfigIds?: string[] | null | undefined;
|
|
3461
|
-
connectedAccountIds?: string[] | null | undefined;
|
|
3462
3462
|
cursor?: string | undefined;
|
|
3463
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
3463
3464
|
showDisabled?: boolean | null | undefined;
|
|
3464
3465
|
triggerIds?: string[] | null | undefined;
|
|
3465
3466
|
triggerNames?: string[] | null | undefined;
|
|
3466
3467
|
}, {
|
|
3467
3468
|
limit?: number | undefined;
|
|
3468
3469
|
authConfigIds?: string[] | null | undefined;
|
|
3469
|
-
connectedAccountIds?: string[] | null | undefined;
|
|
3470
3470
|
cursor?: string | undefined;
|
|
3471
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
3471
3472
|
showDisabled?: boolean | null | undefined;
|
|
3472
3473
|
triggerIds?: string[] | null | undefined;
|
|
3473
3474
|
triggerNames?: string[] | null | undefined;
|
|
@@ -3632,9 +3633,9 @@ type TriggerInstanceUpsertResponse = z$1.infer<typeof TriggerInstanceUpsertRespo
|
|
|
3632
3633
|
declare const TriggerInstanceManageUpdateParamsSchema: z$1.ZodObject<{
|
|
3633
3634
|
status: z$1.ZodEnum<["enable", "disable"]>;
|
|
3634
3635
|
}, "strip", z$1.ZodTypeAny, {
|
|
3635
|
-
status: "
|
|
3636
|
+
status: "enable" | "disable";
|
|
3636
3637
|
}, {
|
|
3637
|
-
status: "
|
|
3638
|
+
status: "enable" | "disable";
|
|
3638
3639
|
}>;
|
|
3639
3640
|
type TriggerInstanceManageUpdateParams = z$1.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
|
|
3640
3641
|
declare const TriggerInstanceManageUpdateResponseSchema: z$1.ZodObject<{
|
|
@@ -3678,45 +3679,45 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3678
3679
|
}, "strip", z$1.ZodTypeAny, {
|
|
3679
3680
|
status: "ACTIVE" | "INACTIVE";
|
|
3680
3681
|
userId: string;
|
|
3681
|
-
authConfigId: string;
|
|
3682
|
-
uuid: string;
|
|
3683
3682
|
id: string;
|
|
3683
|
+
uuid: string;
|
|
3684
|
+
authConfigId: string;
|
|
3684
3685
|
authConfigUUID: string;
|
|
3685
3686
|
}, {
|
|
3686
3687
|
status: "ACTIVE" | "INACTIVE";
|
|
3687
3688
|
userId: string;
|
|
3688
|
-
authConfigId: string;
|
|
3689
|
-
uuid: string;
|
|
3690
3689
|
id: string;
|
|
3690
|
+
uuid: string;
|
|
3691
|
+
authConfigId: string;
|
|
3691
3692
|
authConfigUUID: string;
|
|
3692
3693
|
}>;
|
|
3693
3694
|
}, "strip", z$1.ZodTypeAny, {
|
|
3694
3695
|
toolkitSlug: string;
|
|
3695
|
-
uuid: string;
|
|
3696
3696
|
id: string;
|
|
3697
3697
|
connectedAccount: {
|
|
3698
3698
|
status: "ACTIVE" | "INACTIVE";
|
|
3699
3699
|
userId: string;
|
|
3700
|
-
authConfigId: string;
|
|
3701
|
-
uuid: string;
|
|
3702
3700
|
id: string;
|
|
3701
|
+
uuid: string;
|
|
3702
|
+
authConfigId: string;
|
|
3703
3703
|
authConfigUUID: string;
|
|
3704
3704
|
};
|
|
3705
|
+
uuid: string;
|
|
3705
3706
|
triggerSlug: string;
|
|
3706
3707
|
triggerConfig: Record<string, unknown>;
|
|
3707
3708
|
triggerData?: string | undefined;
|
|
3708
3709
|
}, {
|
|
3709
3710
|
toolkitSlug: string;
|
|
3710
|
-
uuid: string;
|
|
3711
3711
|
id: string;
|
|
3712
3712
|
connectedAccount: {
|
|
3713
3713
|
status: "ACTIVE" | "INACTIVE";
|
|
3714
3714
|
userId: string;
|
|
3715
|
-
authConfigId: string;
|
|
3716
|
-
uuid: string;
|
|
3717
3715
|
id: string;
|
|
3716
|
+
uuid: string;
|
|
3717
|
+
authConfigId: string;
|
|
3718
3718
|
authConfigUUID: string;
|
|
3719
3719
|
};
|
|
3720
|
+
uuid: string;
|
|
3720
3721
|
triggerSlug: string;
|
|
3721
3722
|
triggerConfig: Record<string, unknown>;
|
|
3722
3723
|
triggerData?: string | undefined;
|
|
@@ -3724,49 +3725,49 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3724
3725
|
}, "strip", z$1.ZodTypeAny, {
|
|
3725
3726
|
toolkitSlug: string;
|
|
3726
3727
|
userId: string;
|
|
3727
|
-
uuid: string;
|
|
3728
3728
|
id: string;
|
|
3729
|
-
|
|
3729
|
+
uuid: string;
|
|
3730
3730
|
metadata: {
|
|
3731
3731
|
toolkitSlug: string;
|
|
3732
|
-
uuid: string;
|
|
3733
3732
|
id: string;
|
|
3734
3733
|
connectedAccount: {
|
|
3735
3734
|
status: "ACTIVE" | "INACTIVE";
|
|
3736
3735
|
userId: string;
|
|
3737
|
-
authConfigId: string;
|
|
3738
|
-
uuid: string;
|
|
3739
3736
|
id: string;
|
|
3737
|
+
uuid: string;
|
|
3738
|
+
authConfigId: string;
|
|
3740
3739
|
authConfigUUID: string;
|
|
3741
3740
|
};
|
|
3741
|
+
uuid: string;
|
|
3742
3742
|
triggerSlug: string;
|
|
3743
3743
|
triggerConfig: Record<string, unknown>;
|
|
3744
3744
|
triggerData?: string | undefined;
|
|
3745
3745
|
};
|
|
3746
|
+
triggerSlug: string;
|
|
3746
3747
|
payload?: Record<string, unknown> | undefined;
|
|
3747
3748
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3748
3749
|
}, {
|
|
3749
3750
|
toolkitSlug: string;
|
|
3750
3751
|
userId: string;
|
|
3751
|
-
uuid: string;
|
|
3752
3752
|
id: string;
|
|
3753
|
-
|
|
3753
|
+
uuid: string;
|
|
3754
3754
|
metadata: {
|
|
3755
3755
|
toolkitSlug: string;
|
|
3756
|
-
uuid: string;
|
|
3757
3756
|
id: string;
|
|
3758
3757
|
connectedAccount: {
|
|
3759
3758
|
status: "ACTIVE" | "INACTIVE";
|
|
3760
3759
|
userId: string;
|
|
3761
|
-
authConfigId: string;
|
|
3762
|
-
uuid: string;
|
|
3763
3760
|
id: string;
|
|
3761
|
+
uuid: string;
|
|
3762
|
+
authConfigId: string;
|
|
3764
3763
|
authConfigUUID: string;
|
|
3765
3764
|
};
|
|
3765
|
+
uuid: string;
|
|
3766
3766
|
triggerSlug: string;
|
|
3767
3767
|
triggerConfig: Record<string, unknown>;
|
|
3768
3768
|
triggerData?: string | undefined;
|
|
3769
3769
|
};
|
|
3770
|
+
triggerSlug: string;
|
|
3770
3771
|
payload?: Record<string, unknown> | undefined;
|
|
3771
3772
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3772
3773
|
}>;
|
|
@@ -3840,8 +3841,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
3840
3841
|
name: string;
|
|
3841
3842
|
logo: string;
|
|
3842
3843
|
};
|
|
3843
|
-
config: Record<string, unknown>;
|
|
3844
3844
|
payload: Record<string, unknown>;
|
|
3845
|
+
config: Record<string, unknown>;
|
|
3845
3846
|
types: ("webhook" | "poll")[];
|
|
3846
3847
|
version?: string | undefined;
|
|
3847
3848
|
instructions?: string | undefined;
|
|
@@ -3856,8 +3857,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
3856
3857
|
name: string;
|
|
3857
3858
|
logo: string;
|
|
3858
3859
|
};
|
|
3859
|
-
config: Record<string, unknown>;
|
|
3860
3860
|
payload: Record<string, unknown>;
|
|
3861
|
+
config: Record<string, unknown>;
|
|
3861
3862
|
types: ("webhook" | "poll")[];
|
|
3862
3863
|
version?: string | undefined;
|
|
3863
3864
|
instructions?: string | undefined;
|
|
@@ -3899,8 +3900,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3899
3900
|
name: string;
|
|
3900
3901
|
logo: string;
|
|
3901
3902
|
};
|
|
3902
|
-
config: Record<string, unknown>;
|
|
3903
3903
|
payload: Record<string, unknown>;
|
|
3904
|
+
config: Record<string, unknown>;
|
|
3904
3905
|
types: ("webhook" | "poll")[];
|
|
3905
3906
|
version?: string | undefined;
|
|
3906
3907
|
instructions?: string | undefined;
|
|
@@ -3915,8 +3916,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3915
3916
|
name: string;
|
|
3916
3917
|
logo: string;
|
|
3917
3918
|
};
|
|
3918
|
-
config: Record<string, unknown>;
|
|
3919
3919
|
payload: Record<string, unknown>;
|
|
3920
|
+
config: Record<string, unknown>;
|
|
3920
3921
|
types: ("webhook" | "poll")[];
|
|
3921
3922
|
version?: string | undefined;
|
|
3922
3923
|
instructions?: string | undefined;
|
|
@@ -3935,8 +3936,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3935
3936
|
name: string;
|
|
3936
3937
|
logo: string;
|
|
3937
3938
|
};
|
|
3938
|
-
config: Record<string, unknown>;
|
|
3939
3939
|
payload: Record<string, unknown>;
|
|
3940
|
+
config: Record<string, unknown>;
|
|
3940
3941
|
types: ("webhook" | "poll")[];
|
|
3941
3942
|
version?: string | undefined;
|
|
3942
3943
|
instructions?: string | undefined;
|
|
@@ -3955,8 +3956,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3955
3956
|
name: string;
|
|
3956
3957
|
logo: string;
|
|
3957
3958
|
};
|
|
3958
|
-
config: Record<string, unknown>;
|
|
3959
3959
|
payload: Record<string, unknown>;
|
|
3960
|
+
config: Record<string, unknown>;
|
|
3960
3961
|
types: ("webhook" | "poll")[];
|
|
3961
3962
|
version?: string | undefined;
|
|
3962
3963
|
instructions?: string | undefined;
|
|
@@ -3997,17 +3998,17 @@ declare const WebhookPayloadV1Schema: z$1.ZodObject<{
|
|
|
3997
3998
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3998
3999
|
log_id: z$1.ZodString;
|
|
3999
4000
|
}, "strip", z$1.ZodTypeAny, {
|
|
4001
|
+
log_id: string;
|
|
4000
4002
|
payload: Record<string, unknown>;
|
|
4001
4003
|
trigger_name: string;
|
|
4002
4004
|
connection_id: string;
|
|
4003
4005
|
trigger_id: string;
|
|
4004
|
-
log_id: string;
|
|
4005
4006
|
}, {
|
|
4007
|
+
log_id: string;
|
|
4006
4008
|
payload: Record<string, unknown>;
|
|
4007
4009
|
trigger_name: string;
|
|
4008
4010
|
connection_id: string;
|
|
4009
4011
|
trigger_id: string;
|
|
4010
|
-
log_id: string;
|
|
4011
4012
|
}>;
|
|
4012
4013
|
type WebhookPayloadV1 = z$1.infer<typeof WebhookPayloadV1Schema>;
|
|
4013
4014
|
/** V2 webhook payload - includes timestamp and nested data */
|
|
@@ -4037,11 +4038,11 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
4037
4038
|
}, "strip", z$1.ZodTypeAny, {
|
|
4038
4039
|
type: string;
|
|
4039
4040
|
data: {
|
|
4041
|
+
user_id: string;
|
|
4040
4042
|
connection_id: string;
|
|
4041
4043
|
trigger_id: string;
|
|
4042
4044
|
connection_nano_id: string;
|
|
4043
4045
|
trigger_nano_id: string;
|
|
4044
|
-
user_id: string;
|
|
4045
4046
|
} & {
|
|
4046
4047
|
[k: string]: unknown;
|
|
4047
4048
|
};
|
|
@@ -4050,11 +4051,11 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
4050
4051
|
}, {
|
|
4051
4052
|
type: string;
|
|
4052
4053
|
data: {
|
|
4054
|
+
user_id: string;
|
|
4053
4055
|
connection_id: string;
|
|
4054
4056
|
trigger_id: string;
|
|
4055
4057
|
connection_nano_id: string;
|
|
4056
4058
|
trigger_nano_id: string;
|
|
4057
|
-
user_id: string;
|
|
4058
4059
|
} & {
|
|
4059
4060
|
[k: string]: unknown;
|
|
4060
4061
|
};
|
|
@@ -4073,14 +4074,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
|
4073
4074
|
type: string;
|
|
4074
4075
|
data: Record<string, unknown>;
|
|
4075
4076
|
id: string;
|
|
4076
|
-
metadata: Record<string, unknown>;
|
|
4077
4077
|
timestamp: string;
|
|
4078
|
+
metadata: Record<string, unknown>;
|
|
4078
4079
|
}, {
|
|
4079
4080
|
type: string;
|
|
4080
4081
|
data: Record<string, unknown>;
|
|
4081
4082
|
id: string;
|
|
4082
|
-
metadata: Record<string, unknown>;
|
|
4083
4083
|
timestamp: string;
|
|
4084
|
+
metadata: Record<string, unknown>;
|
|
4084
4085
|
}>;
|
|
4085
4086
|
type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
|
|
4086
4087
|
/** V3 trigger-specific payload - has trigger metadata fields */
|
|
@@ -4115,32 +4116,32 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
4115
4116
|
type: string;
|
|
4116
4117
|
data: Record<string, unknown>;
|
|
4117
4118
|
id: string;
|
|
4119
|
+
timestamp: string;
|
|
4118
4120
|
metadata: {
|
|
4119
|
-
trigger_id: string;
|
|
4120
|
-
log_id: string;
|
|
4121
|
-
user_id: string;
|
|
4122
|
-
trigger_slug: string;
|
|
4123
4121
|
connected_account_id: string;
|
|
4124
4122
|
auth_config_id: string;
|
|
4123
|
+
user_id: string;
|
|
4124
|
+
log_id: string;
|
|
4125
|
+
trigger_id: string;
|
|
4126
|
+
trigger_slug: string;
|
|
4125
4127
|
} & {
|
|
4126
4128
|
[k: string]: unknown;
|
|
4127
4129
|
};
|
|
4128
|
-
timestamp: string;
|
|
4129
4130
|
}, {
|
|
4130
4131
|
type: string;
|
|
4131
4132
|
data: Record<string, unknown>;
|
|
4132
4133
|
id: string;
|
|
4134
|
+
timestamp: string;
|
|
4133
4135
|
metadata: {
|
|
4134
|
-
trigger_id: string;
|
|
4135
|
-
log_id: string;
|
|
4136
|
-
user_id: string;
|
|
4137
|
-
trigger_slug: string;
|
|
4138
4136
|
connected_account_id: string;
|
|
4139
4137
|
auth_config_id: string;
|
|
4138
|
+
user_id: string;
|
|
4139
|
+
log_id: string;
|
|
4140
|
+
trigger_id: string;
|
|
4141
|
+
trigger_slug: string;
|
|
4140
4142
|
} & {
|
|
4141
4143
|
[k: string]: unknown;
|
|
4142
4144
|
};
|
|
4143
|
-
timestamp: string;
|
|
4144
4145
|
}>;
|
|
4145
4146
|
type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
|
|
4146
4147
|
/** Union of all webhook payload versions */
|
|
@@ -4154,14 +4155,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4154
4155
|
type: string;
|
|
4155
4156
|
data: Record<string, unknown>;
|
|
4156
4157
|
id: string;
|
|
4157
|
-
metadata: Record<string, unknown>;
|
|
4158
4158
|
timestamp: string;
|
|
4159
|
+
metadata: Record<string, unknown>;
|
|
4159
4160
|
}, {
|
|
4160
4161
|
type: string;
|
|
4161
4162
|
data: Record<string, unknown>;
|
|
4162
4163
|
id: string;
|
|
4163
|
-
metadata: Record<string, unknown>;
|
|
4164
4164
|
timestamp: string;
|
|
4165
|
+
metadata: Record<string, unknown>;
|
|
4165
4166
|
}>, z$1.ZodObject<{
|
|
4166
4167
|
type: z$1.ZodString;
|
|
4167
4168
|
timestamp: z$1.ZodString;
|
|
@@ -4188,11 +4189,11 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4188
4189
|
}, "strip", z$1.ZodTypeAny, {
|
|
4189
4190
|
type: string;
|
|
4190
4191
|
data: {
|
|
4192
|
+
user_id: string;
|
|
4191
4193
|
connection_id: string;
|
|
4192
4194
|
trigger_id: string;
|
|
4193
4195
|
connection_nano_id: string;
|
|
4194
4196
|
trigger_nano_id: string;
|
|
4195
|
-
user_id: string;
|
|
4196
4197
|
} & {
|
|
4197
4198
|
[k: string]: unknown;
|
|
4198
4199
|
};
|
|
@@ -4201,11 +4202,11 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4201
4202
|
}, {
|
|
4202
4203
|
type: string;
|
|
4203
4204
|
data: {
|
|
4205
|
+
user_id: string;
|
|
4204
4206
|
connection_id: string;
|
|
4205
4207
|
trigger_id: string;
|
|
4206
4208
|
connection_nano_id: string;
|
|
4207
4209
|
trigger_nano_id: string;
|
|
4208
|
-
user_id: string;
|
|
4209
4210
|
} & {
|
|
4210
4211
|
[k: string]: unknown;
|
|
4211
4212
|
};
|
|
@@ -4218,17 +4219,17 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4218
4219
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
4219
4220
|
log_id: z$1.ZodString;
|
|
4220
4221
|
}, "strip", z$1.ZodTypeAny, {
|
|
4222
|
+
log_id: string;
|
|
4221
4223
|
payload: Record<string, unknown>;
|
|
4222
4224
|
trigger_name: string;
|
|
4223
4225
|
connection_id: string;
|
|
4224
4226
|
trigger_id: string;
|
|
4225
|
-
log_id: string;
|
|
4226
4227
|
}, {
|
|
4228
|
+
log_id: string;
|
|
4227
4229
|
payload: Record<string, unknown>;
|
|
4228
4230
|
trigger_name: string;
|
|
4229
4231
|
connection_id: string;
|
|
4230
4232
|
trigger_id: string;
|
|
4231
|
-
log_id: string;
|
|
4232
4233
|
}>]>;
|
|
4233
4234
|
type WebhookPayload = z$1.infer<typeof WebhookPayloadSchema>;
|
|
4234
4235
|
/** Webhook version enum */
|
|
@@ -4297,16 +4298,16 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
4297
4298
|
tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4298
4299
|
}, "strip", z$1.ZodTypeAny, {
|
|
4299
4300
|
id: string;
|
|
4300
|
-
secret: string;
|
|
4301
|
-
payload: string;
|
|
4302
4301
|
timestamp: string;
|
|
4302
|
+
payload: string;
|
|
4303
|
+
secret: string;
|
|
4303
4304
|
signature: string;
|
|
4304
4305
|
tolerance: number;
|
|
4305
4306
|
}, {
|
|
4306
4307
|
id: string;
|
|
4307
|
-
secret: string;
|
|
4308
|
-
payload: string;
|
|
4309
4308
|
timestamp: string;
|
|
4309
|
+
payload: string;
|
|
4310
|
+
secret: string;
|
|
4310
4311
|
signature: string;
|
|
4311
4312
|
tolerance?: number | undefined;
|
|
4312
4313
|
}>;
|
|
@@ -4354,8 +4355,6 @@ type VerifyWebhookResult = {
|
|
|
4354
4355
|
/** The raw parsed payload before normalization */
|
|
4355
4356
|
rawPayload: WebhookPayload;
|
|
4356
4357
|
};
|
|
4357
|
-
//#endregion
|
|
4358
|
-
//#region src/models/Triggers.d.ts
|
|
4359
4358
|
/**
|
|
4360
4359
|
* Trigger (Instance) class
|
|
4361
4360
|
* /api/v3/trigger_instances
|
|
@@ -4677,8 +4676,6 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
4677
4676
|
*/
|
|
4678
4677
|
private validateWebhookTimestamp;
|
|
4679
4678
|
}
|
|
4680
|
-
//#endregion
|
|
4681
|
-
//#region src/models/AuthConfigs.d.ts
|
|
4682
4679
|
/**
|
|
4683
4680
|
* AuthConfigs class
|
|
4684
4681
|
*
|
|
@@ -4868,8 +4865,6 @@ declare class AuthConfigs {
|
|
|
4868
4865
|
*/
|
|
4869
4866
|
disable(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<AuthConfigUpdateStatusResponse>;
|
|
4870
4867
|
}
|
|
4871
|
-
//#endregion
|
|
4872
|
-
//#region src/models/ConnectedAccounts.d.ts
|
|
4873
4868
|
/**
|
|
4874
4869
|
* ConnectedAccounts class
|
|
4875
4870
|
*
|
|
@@ -5239,8 +5234,6 @@ declare class ConnectedAccounts {
|
|
|
5239
5234
|
*/
|
|
5240
5235
|
update(nanoid: string, params: UpdateConnectedAccountParams, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
5241
5236
|
}
|
|
5242
|
-
//#endregion
|
|
5243
|
-
//#region src/types/usage.types.d.ts
|
|
5244
5237
|
/**
|
|
5245
5238
|
* Filters shared by the usage summary and breakdown queries.
|
|
5246
5239
|
* **Experimental — shape may change in future releases.**
|
|
@@ -5332,24 +5325,24 @@ declare const UsageBreakdownParamsSchema: z$1.ZodObject<{
|
|
|
5332
5325
|
}>>;
|
|
5333
5326
|
}, "strip", z$1.ZodTypeAny, {
|
|
5334
5327
|
limit?: number | undefined;
|
|
5335
|
-
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5336
5328
|
from?: number | undefined;
|
|
5337
5329
|
to?: number | undefined;
|
|
5338
5330
|
filters?: {
|
|
5339
5331
|
userId?: string[] | null | undefined;
|
|
5340
5332
|
sessionId?: string[] | null | undefined;
|
|
5341
5333
|
} | undefined;
|
|
5334
|
+
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5342
5335
|
groupBy?: string | undefined;
|
|
5343
5336
|
orderDirection?: "asc" | "desc" | undefined;
|
|
5344
5337
|
}, {
|
|
5345
5338
|
limit?: number | undefined;
|
|
5346
|
-
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5347
5339
|
from?: number | undefined;
|
|
5348
5340
|
to?: number | undefined;
|
|
5349
5341
|
filters?: {
|
|
5350
5342
|
userId?: string[] | null | undefined;
|
|
5351
5343
|
sessionId?: string[] | null | undefined;
|
|
5352
5344
|
} | undefined;
|
|
5345
|
+
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5353
5346
|
groupBy?: string | undefined;
|
|
5354
5347
|
orderDirection?: "asc" | "desc" | undefined;
|
|
5355
5348
|
}>;
|
|
@@ -5455,8 +5448,6 @@ declare const UsageBreakdownResponseSchema: z$1.ZodObject<{
|
|
|
5455
5448
|
}[];
|
|
5456
5449
|
}>;
|
|
5457
5450
|
type UsageBreakdownResponse = z$1.infer<typeof UsageBreakdownResponseSchema>;
|
|
5458
|
-
//#endregion
|
|
5459
|
-
//#region src/models/Usage.d.ts
|
|
5460
5451
|
/**
|
|
5461
5452
|
* `composio.experimental.usage` — metering for the project the API key
|
|
5462
5453
|
* belongs to. **Experimental — shape may change in future releases.**
|
|
@@ -5512,8 +5503,6 @@ declare class Usage {
|
|
|
5512
5503
|
*/
|
|
5513
5504
|
breakdown(entityType: string, params?: UsageBreakdownParams, requestOptions?: ComposioRequestOptions): Promise<UsageBreakdownResponse>;
|
|
5514
5505
|
}
|
|
5515
|
-
//#endregion
|
|
5516
|
-
//#region src/types/customToolkits.types.d.ts
|
|
5517
5506
|
declare const CustomToolkitApiKeyFieldSchema: z$1.ZodObject<{
|
|
5518
5507
|
displayName: z$1.ZodOptional<z$1.ZodString>;
|
|
5519
5508
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5527,7 +5516,6 @@ declare const CustomToolkitApiKeyFieldSchema: z$1.ZodObject<{
|
|
|
5527
5516
|
type CustomToolkitApiKeyField = z$1.infer<typeof CustomToolkitApiKeyFieldSchema>;
|
|
5528
5517
|
/**
|
|
5529
5518
|
* How end users authenticate to a custom toolkit.
|
|
5530
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
5531
5519
|
*/
|
|
5532
5520
|
declare const CustomToolkitAuthSchemeSchema: z$1.ZodDiscriminatedUnion<"mode", [z$1.ZodObject<{
|
|
5533
5521
|
mode: z$1.ZodLiteral<"NO_AUTH">;
|
|
@@ -5630,8 +5618,7 @@ declare const CustomToolkitLogoFileSchema: z$1.ZodObject<{
|
|
|
5630
5618
|
}>;
|
|
5631
5619
|
type CustomToolkitLogoFile = z$1.infer<typeof CustomToolkitLogoFileSchema>;
|
|
5632
5620
|
/**
|
|
5633
|
-
* Params for `composio.
|
|
5634
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
5621
|
+
* Params for `composio.customToolkits.create()`.
|
|
5635
5622
|
*/
|
|
5636
5623
|
declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
5637
5624
|
/** Human-readable toolkit name. */
|
|
@@ -5748,7 +5735,6 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
|
5748
5735
|
}, "strip", z$1.ZodTypeAny, {
|
|
5749
5736
|
name: string;
|
|
5750
5737
|
userId: string;
|
|
5751
|
-
mcpUrl: string;
|
|
5752
5738
|
authSchemes: ({
|
|
5753
5739
|
mode: "NO_AUTH";
|
|
5754
5740
|
} | {
|
|
@@ -5768,6 +5754,7 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
|
5768
5754
|
mode: "DCR_OAUTH";
|
|
5769
5755
|
discoveryUrl: string;
|
|
5770
5756
|
})[];
|
|
5757
|
+
mcpUrl: string;
|
|
5771
5758
|
callbackUrl?: string | undefined;
|
|
5772
5759
|
logoFile?: {
|
|
5773
5760
|
content: string;
|
|
@@ -5776,7 +5763,6 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
|
5776
5763
|
}, {
|
|
5777
5764
|
name: string;
|
|
5778
5765
|
userId: string;
|
|
5779
|
-
mcpUrl: string;
|
|
5780
5766
|
authSchemes: ({
|
|
5781
5767
|
mode: "NO_AUTH";
|
|
5782
5768
|
} | {
|
|
@@ -5796,6 +5782,7 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
|
|
|
5796
5782
|
mode: "DCR_OAUTH";
|
|
5797
5783
|
discoveryUrl: string;
|
|
5798
5784
|
})[];
|
|
5785
|
+
mcpUrl: string;
|
|
5799
5786
|
callbackUrl?: string | undefined;
|
|
5800
5787
|
logoFile?: {
|
|
5801
5788
|
content: string;
|
|
@@ -5840,8 +5827,7 @@ declare const CustomToolkitCreateResponseSchema: z$1.ZodObject<{
|
|
|
5840
5827
|
}>;
|
|
5841
5828
|
type CustomToolkitCreateResponse = z$1.infer<typeof CustomToolkitCreateResponseSchema>;
|
|
5842
5829
|
/**
|
|
5843
|
-
* Params for `composio.
|
|
5844
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
5830
|
+
* Params for `composio.customToolkits.update()`.
|
|
5845
5831
|
*/
|
|
5846
5832
|
declare const CustomToolkitUpdateParamsSchema: z$1.ZodEffects<z$1.ZodObject<{
|
|
5847
5833
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5926,8 +5912,7 @@ declare const CustomToolkitUpdateResponseSchema: z$1.ZodObject<{
|
|
|
5926
5912
|
}>;
|
|
5927
5913
|
type CustomToolkitUpdateResponse = z$1.infer<typeof CustomToolkitUpdateResponseSchema>;
|
|
5928
5914
|
/**
|
|
5929
|
-
* Params for `composio.
|
|
5930
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
5915
|
+
* Params for `composio.customToolkits.upsert()`.
|
|
5931
5916
|
*
|
|
5932
5917
|
* @deprecated Use `CustomToolkitCreateParams` with `create()`.
|
|
5933
5918
|
*/
|
|
@@ -6044,7 +6029,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6044
6029
|
}>]>, "many">;
|
|
6045
6030
|
}, "strip", z$1.ZodTypeAny, {
|
|
6046
6031
|
name: string;
|
|
6047
|
-
mcpUrl: string;
|
|
6048
6032
|
authSchemes: ({
|
|
6049
6033
|
mode: "NO_AUTH";
|
|
6050
6034
|
} | {
|
|
@@ -6064,13 +6048,13 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6064
6048
|
mode: "DCR_OAUTH";
|
|
6065
6049
|
discoveryUrl: string;
|
|
6066
6050
|
})[];
|
|
6051
|
+
mcpUrl: string;
|
|
6067
6052
|
logoFile?: {
|
|
6068
6053
|
content: string;
|
|
6069
6054
|
mimeType: "image/png" | "image/jpeg";
|
|
6070
6055
|
} | undefined;
|
|
6071
6056
|
}, {
|
|
6072
6057
|
name: string;
|
|
6073
|
-
mcpUrl: string;
|
|
6074
6058
|
authSchemes: ({
|
|
6075
6059
|
mode: "NO_AUTH";
|
|
6076
6060
|
} | {
|
|
@@ -6090,6 +6074,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6090
6074
|
mode: "DCR_OAUTH";
|
|
6091
6075
|
discoveryUrl: string;
|
|
6092
6076
|
})[];
|
|
6077
|
+
mcpUrl: string;
|
|
6093
6078
|
logoFile?: {
|
|
6094
6079
|
content: string;
|
|
6095
6080
|
mimeType: "image/png" | "image/jpeg";
|
|
@@ -6099,7 +6084,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6099
6084
|
slug: string;
|
|
6100
6085
|
toolkitConfig: {
|
|
6101
6086
|
name: string;
|
|
6102
|
-
mcpUrl: string;
|
|
6103
6087
|
authSchemes: ({
|
|
6104
6088
|
mode: "NO_AUTH";
|
|
6105
6089
|
} | {
|
|
@@ -6119,6 +6103,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6119
6103
|
mode: "DCR_OAUTH";
|
|
6120
6104
|
discoveryUrl: string;
|
|
6121
6105
|
})[];
|
|
6106
|
+
mcpUrl: string;
|
|
6122
6107
|
logoFile?: {
|
|
6123
6108
|
content: string;
|
|
6124
6109
|
mimeType: "image/png" | "image/jpeg";
|
|
@@ -6128,7 +6113,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6128
6113
|
slug: string;
|
|
6129
6114
|
toolkitConfig: {
|
|
6130
6115
|
name: string;
|
|
6131
|
-
mcpUrl: string;
|
|
6132
6116
|
authSchemes: ({
|
|
6133
6117
|
mode: "NO_AUTH";
|
|
6134
6118
|
} | {
|
|
@@ -6148,6 +6132,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
|
|
|
6148
6132
|
mode: "DCR_OAUTH";
|
|
6149
6133
|
discoveryUrl: string;
|
|
6150
6134
|
})[];
|
|
6135
|
+
mcpUrl: string;
|
|
6151
6136
|
logoFile?: {
|
|
6152
6137
|
content: string;
|
|
6153
6138
|
mimeType: "image/png" | "image/jpeg";
|
|
@@ -6165,8 +6150,7 @@ declare const CustomToolkitUpsertResponseSchema: z$1.ZodObject<{
|
|
|
6165
6150
|
}>;
|
|
6166
6151
|
type CustomToolkitUpsertResponse = z$1.infer<typeof CustomToolkitUpsertResponseSchema>;
|
|
6167
6152
|
/**
|
|
6168
|
-
* Params for `composio.
|
|
6169
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6153
|
+
* Params for `composio.customToolkits.sync()`.
|
|
6170
6154
|
*/
|
|
6171
6155
|
declare const CustomToolkitSyncParamsSchema: z$1.ZodObject<{
|
|
6172
6156
|
/** Connected account to use when fetching the remote tool definitions. */
|
|
@@ -6215,12 +6199,10 @@ declare const CustomToolkitDeleteResponseSchema: z$1.ZodObject<{
|
|
|
6215
6199
|
connectedAccountsDeleted: number;
|
|
6216
6200
|
}>;
|
|
6217
6201
|
type CustomToolkitDeleteResponse = z$1.infer<typeof CustomToolkitDeleteResponseSchema>;
|
|
6218
|
-
//#endregion
|
|
6219
|
-
//#region src/models/CustomToolkits.d.ts
|
|
6220
6202
|
/**
|
|
6221
|
-
* `composio.
|
|
6203
|
+
* `composio.customToolkits` — toolkits your project registers
|
|
6222
6204
|
* from its own app or MCP server, with their own auth configs and connected
|
|
6223
|
-
* accounts.
|
|
6205
|
+
* accounts.
|
|
6224
6206
|
*
|
|
6225
6207
|
* These live on the Composio platform. They are unrelated to the in-process
|
|
6226
6208
|
* toolkits built with `experimental_createToolkit()`, which run inside your
|
|
@@ -6228,13 +6210,13 @@ type CustomToolkitDeleteResponse = z$1.infer<typeof CustomToolkitDeleteResponseS
|
|
|
6228
6210
|
*
|
|
6229
6211
|
* @example
|
|
6230
6212
|
* ```typescript
|
|
6231
|
-
* const { slug } = await composio.
|
|
6213
|
+
* const { slug } = await composio.customToolkits.create({
|
|
6232
6214
|
* name: 'My Toolkit',
|
|
6233
6215
|
* mcpUrl: 'https://mcp.example.com/mcp',
|
|
6234
6216
|
* authSchemes: [{ mode: 'DCR_OAUTH', discoveryUrl: 'https://mcp.example.com/.well-known/oauth-authorization-server' }],
|
|
6235
6217
|
* userId: 'all',
|
|
6236
6218
|
* });
|
|
6237
|
-
* await composio.
|
|
6219
|
+
* await composio.customToolkits.update(slug, { name: 'My Renamed Toolkit' });
|
|
6238
6220
|
* ```
|
|
6239
6221
|
*/
|
|
6240
6222
|
declare class CustomToolkits {
|
|
@@ -6242,7 +6224,6 @@ declare class CustomToolkits {
|
|
|
6242
6224
|
constructor(client: ComposioClient);
|
|
6243
6225
|
/**
|
|
6244
6226
|
* Creates a custom MCP toolkit and returns its generated slug.
|
|
6245
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6246
6227
|
*
|
|
6247
6228
|
* Set `userId` to `'all'` to share the toolkit with every user in the
|
|
6248
6229
|
* project, or to a user ID to make it private to that user. `mcpUrl`,
|
|
@@ -6256,7 +6237,7 @@ declare class CustomToolkits {
|
|
|
6256
6237
|
*
|
|
6257
6238
|
* @example
|
|
6258
6239
|
* ```typescript
|
|
6259
|
-
* const { slug, connectLink } = await composio.
|
|
6240
|
+
* const { slug, connectLink } = await composio.customToolkits.create({
|
|
6260
6241
|
* name: 'Internal API',
|
|
6261
6242
|
* mcpUrl: 'https://mcp.internal.example.com/mcp',
|
|
6262
6243
|
* authSchemes: [
|
|
@@ -6270,7 +6251,6 @@ declare class CustomToolkits {
|
|
|
6270
6251
|
/**
|
|
6271
6252
|
* Updates a custom toolkit's name, logo or API key field copy. Omitted
|
|
6272
6253
|
* fields keep their current value.
|
|
6273
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6274
6254
|
*
|
|
6275
6255
|
* On a project with 2FA enabled, updating a private toolkit requires the
|
|
6276
6256
|
* `userId` it is private to.
|
|
@@ -6282,7 +6262,7 @@ declare class CustomToolkits {
|
|
|
6282
6262
|
*
|
|
6283
6263
|
* @example
|
|
6284
6264
|
* ```typescript
|
|
6285
|
-
* await composio.
|
|
6265
|
+
* await composio.customToolkits.update('CUSTOM_INTERNAL_API_K7F2Q', {
|
|
6286
6266
|
* name: 'Internal API (prod)',
|
|
6287
6267
|
* userId: 'user_123',
|
|
6288
6268
|
* });
|
|
@@ -6292,7 +6272,6 @@ declare class CustomToolkits {
|
|
|
6292
6272
|
/**
|
|
6293
6273
|
* Creates a custom toolkit, or updates its display metadata (name, API key
|
|
6294
6274
|
* field copy) when the project already owns a toolkit with this slug.
|
|
6295
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6296
6275
|
*
|
|
6297
6276
|
* `mcpUrl` and `authSchemes` cannot change on an existing toolkit:
|
|
6298
6277
|
* re-sending them unchanged is a no-op, and changing them fails with a 409.
|
|
@@ -6304,7 +6283,7 @@ declare class CustomToolkits {
|
|
|
6304
6283
|
*
|
|
6305
6284
|
* @example
|
|
6306
6285
|
* ```typescript
|
|
6307
|
-
* await composio.
|
|
6286
|
+
* await composio.customToolkits.upsert({
|
|
6308
6287
|
* slug: 'INTERNAL_API',
|
|
6309
6288
|
* toolkitConfig: {
|
|
6310
6289
|
* name: 'Internal API',
|
|
@@ -6324,7 +6303,6 @@ declare class CustomToolkits {
|
|
|
6324
6303
|
/**
|
|
6325
6304
|
* Re-fetches the tool definitions of a custom toolkit from its remote MCP
|
|
6326
6305
|
* server. Call it when automatic sync fails or the remote tools change.
|
|
6327
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6328
6306
|
*
|
|
6329
6307
|
* @param {string} slug - The custom toolkit slug (`CUSTOM_...`)
|
|
6330
6308
|
* @param {CustomToolkitSyncParams} [params] - Optional connected account to fetch the definitions with
|
|
@@ -6333,7 +6311,7 @@ declare class CustomToolkits {
|
|
|
6333
6311
|
*
|
|
6334
6312
|
* @example
|
|
6335
6313
|
* ```typescript
|
|
6336
|
-
* const { version, syncedCount } = await composio.
|
|
6314
|
+
* const { version, syncedCount } = await composio.customToolkits.sync(
|
|
6337
6315
|
* 'CUSTOM_MY_TOOLKIT',
|
|
6338
6316
|
* { connectedAccountId: 'ca_abc123' }
|
|
6339
6317
|
* );
|
|
@@ -6344,7 +6322,6 @@ declare class CustomToolkits {
|
|
|
6344
6322
|
* Deletes a custom toolkit owned by the project, with its tools, auth
|
|
6345
6323
|
* configs and connected accounts. The credentials behind those connected
|
|
6346
6324
|
* accounts are revoked in background jobs (`revokeJobIds`).
|
|
6347
|
-
* **Experimental — custom toolkits are in pilot; shape may change.**
|
|
6348
6325
|
*
|
|
6349
6326
|
* Composio-managed toolkits cannot be deleted; the API answers 403.
|
|
6350
6327
|
*
|
|
@@ -6353,14 +6330,12 @@ declare class CustomToolkits {
|
|
|
6353
6330
|
*
|
|
6354
6331
|
* @example
|
|
6355
6332
|
* ```typescript
|
|
6356
|
-
* const result = await composio.
|
|
6333
|
+
* const result = await composio.customToolkits.delete('CUSTOM_MY_TOOLKIT');
|
|
6357
6334
|
* console.log(result.connectedAccountsDeleted);
|
|
6358
6335
|
* ```
|
|
6359
6336
|
*/
|
|
6360
6337
|
delete(slug: string, requestOptions?: ComposioRequestOptions): Promise<CustomToolkitDeleteResponse>;
|
|
6361
6338
|
}
|
|
6362
|
-
//#endregion
|
|
6363
|
-
//#region src/models/Experimental.d.ts
|
|
6364
6339
|
declare class Experimental {
|
|
6365
6340
|
private client;
|
|
6366
6341
|
/**
|
|
@@ -6375,13 +6350,8 @@ declare class Experimental {
|
|
|
6375
6350
|
*/
|
|
6376
6351
|
usage: Usage;
|
|
6377
6352
|
/**
|
|
6378
|
-
*
|
|
6379
|
-
*
|
|
6380
|
-
*
|
|
6381
|
-
* @example
|
|
6382
|
-
* ```typescript
|
|
6383
|
-
* await composio.experimental.customToolkits.sync('CUSTOM_MY_TOOLKIT');
|
|
6384
|
-
* ```
|
|
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.
|
|
6385
6355
|
*/
|
|
6386
6356
|
customToolkits: CustomToolkits;
|
|
6387
6357
|
constructor(client: ComposioClient);
|
|
@@ -6446,8 +6416,6 @@ declare class Experimental {
|
|
|
6446
6416
|
*/
|
|
6447
6417
|
updateAcl(nanoid: string, params: UpdateConnectedAccountAclParams): Promise<ConnectedAccountPatchResponse>;
|
|
6448
6418
|
}
|
|
6449
|
-
//#endregion
|
|
6450
|
-
//#region src/types/mcp.experimental.types.d.ts
|
|
6451
6419
|
declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
6452
6420
|
id: z.ZodString;
|
|
6453
6421
|
name: z.ZodString;
|
|
@@ -6460,18 +6428,18 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
6460
6428
|
name: string;
|
|
6461
6429
|
type: "streamable_http";
|
|
6462
6430
|
userId: string;
|
|
6463
|
-
allowedTools: string[];
|
|
6464
|
-
url: string;
|
|
6465
6431
|
id: string;
|
|
6432
|
+
url: string;
|
|
6466
6433
|
authConfigs: string[];
|
|
6434
|
+
allowedTools: string[];
|
|
6467
6435
|
}, {
|
|
6468
6436
|
name: string;
|
|
6469
6437
|
type: "streamable_http";
|
|
6470
6438
|
userId: string;
|
|
6471
|
-
allowedTools: string[];
|
|
6472
|
-
url: string;
|
|
6473
6439
|
id: string;
|
|
6440
|
+
url: string;
|
|
6474
6441
|
authConfigs: string[];
|
|
6442
|
+
allowedTools: string[];
|
|
6475
6443
|
}>;
|
|
6476
6444
|
type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
|
|
6477
6445
|
declare const MCPConfigCreationParamsSchema: z.ZodObject<{
|
|
@@ -6537,12 +6505,12 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
6537
6505
|
*/
|
|
6538
6506
|
windsurf: z.ZodString;
|
|
6539
6507
|
}, "strip", z.ZodTypeAny, {
|
|
6540
|
-
claude: string;
|
|
6541
6508
|
cursor: string;
|
|
6509
|
+
claude: string;
|
|
6542
6510
|
windsurf: string;
|
|
6543
6511
|
}, {
|
|
6544
|
-
claude: string;
|
|
6545
6512
|
cursor: string;
|
|
6513
|
+
claude: string;
|
|
6546
6514
|
windsurf: string;
|
|
6547
6515
|
}>;
|
|
6548
6516
|
/**
|
|
@@ -6552,22 +6520,22 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
6552
6520
|
}, "strip", z.ZodTypeAny, {
|
|
6553
6521
|
name: string;
|
|
6554
6522
|
authConfigIds: string[];
|
|
6555
|
-
allowedTools: string[];
|
|
6556
6523
|
id: string;
|
|
6524
|
+
allowedTools: string[];
|
|
6557
6525
|
commands: {
|
|
6558
|
-
claude: string;
|
|
6559
6526
|
cursor: string;
|
|
6527
|
+
claude: string;
|
|
6560
6528
|
windsurf: string;
|
|
6561
6529
|
};
|
|
6562
6530
|
MCPUrl: string;
|
|
6563
6531
|
}, {
|
|
6564
6532
|
name: string;
|
|
6565
6533
|
authConfigIds: string[];
|
|
6566
|
-
allowedTools: string[];
|
|
6567
6534
|
id: string;
|
|
6535
|
+
allowedTools: string[];
|
|
6568
6536
|
commands: {
|
|
6569
|
-
claude: string;
|
|
6570
6537
|
cursor: string;
|
|
6538
|
+
claude: string;
|
|
6571
6539
|
windsurf: string;
|
|
6572
6540
|
};
|
|
6573
6541
|
MCPUrl: string;
|
|
@@ -6598,15 +6566,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
6598
6566
|
}, "strip", z.ZodTypeAny, {
|
|
6599
6567
|
toolkits: string[];
|
|
6600
6568
|
limit: number;
|
|
6601
|
-
page: number;
|
|
6602
6569
|
authConfigs: string[];
|
|
6570
|
+
page: number;
|
|
6603
6571
|
name?: string | undefined;
|
|
6604
6572
|
}, {
|
|
6605
6573
|
name?: string | undefined;
|
|
6606
6574
|
toolkits?: string[] | undefined;
|
|
6607
6575
|
limit?: number | undefined;
|
|
6608
|
-
page?: number | undefined;
|
|
6609
6576
|
authConfigs?: string[] | undefined;
|
|
6577
|
+
page?: number | undefined;
|
|
6610
6578
|
}>;
|
|
6611
6579
|
type MCPListParams = z.infer<typeof MCPListParamsSchema>;
|
|
6612
6580
|
declare const MCPItemSchema: z.ZodObject<{
|
|
@@ -6643,12 +6611,12 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
6643
6611
|
*/
|
|
6644
6612
|
windsurf: z.ZodString;
|
|
6645
6613
|
}, "strip", z.ZodTypeAny, {
|
|
6646
|
-
claude: string;
|
|
6647
6614
|
cursor: string;
|
|
6615
|
+
claude: string;
|
|
6648
6616
|
windsurf: string;
|
|
6649
6617
|
}, {
|
|
6650
|
-
claude: string;
|
|
6651
6618
|
cursor: string;
|
|
6619
|
+
claude: string;
|
|
6652
6620
|
windsurf: string;
|
|
6653
6621
|
}>;
|
|
6654
6622
|
/**
|
|
@@ -6663,11 +6631,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
6663
6631
|
name: string;
|
|
6664
6632
|
toolkits: string[];
|
|
6665
6633
|
authConfigIds: string[];
|
|
6666
|
-
allowedTools: string[];
|
|
6667
6634
|
id: string;
|
|
6635
|
+
allowedTools: string[];
|
|
6668
6636
|
commands: {
|
|
6669
|
-
claude: string;
|
|
6670
6637
|
cursor: string;
|
|
6638
|
+
claude: string;
|
|
6671
6639
|
windsurf: string;
|
|
6672
6640
|
};
|
|
6673
6641
|
MCPUrl: string;
|
|
@@ -6677,11 +6645,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
6677
6645
|
name: string;
|
|
6678
6646
|
toolkits: string[];
|
|
6679
6647
|
authConfigIds: string[];
|
|
6680
|
-
allowedTools: string[];
|
|
6681
6648
|
id: string;
|
|
6649
|
+
allowedTools: string[];
|
|
6682
6650
|
commands: {
|
|
6683
|
-
claude: string;
|
|
6684
6651
|
cursor: string;
|
|
6652
|
+
claude: string;
|
|
6685
6653
|
windsurf: string;
|
|
6686
6654
|
};
|
|
6687
6655
|
MCPUrl: string;
|
|
@@ -6724,12 +6692,12 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6724
6692
|
*/
|
|
6725
6693
|
windsurf: z.ZodString;
|
|
6726
6694
|
}, "strip", z.ZodTypeAny, {
|
|
6727
|
-
claude: string;
|
|
6728
6695
|
cursor: string;
|
|
6696
|
+
claude: string;
|
|
6729
6697
|
windsurf: string;
|
|
6730
6698
|
}, {
|
|
6731
|
-
claude: string;
|
|
6732
6699
|
cursor: string;
|
|
6700
|
+
claude: string;
|
|
6733
6701
|
windsurf: string;
|
|
6734
6702
|
}>;
|
|
6735
6703
|
/**
|
|
@@ -6744,11 +6712,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6744
6712
|
name: string;
|
|
6745
6713
|
toolkits: string[];
|
|
6746
6714
|
authConfigIds: string[];
|
|
6747
|
-
allowedTools: string[];
|
|
6748
6715
|
id: string;
|
|
6716
|
+
allowedTools: string[];
|
|
6749
6717
|
commands: {
|
|
6750
|
-
claude: string;
|
|
6751
6718
|
cursor: string;
|
|
6719
|
+
claude: string;
|
|
6752
6720
|
windsurf: string;
|
|
6753
6721
|
};
|
|
6754
6722
|
MCPUrl: string;
|
|
@@ -6758,11 +6726,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6758
6726
|
name: string;
|
|
6759
6727
|
toolkits: string[];
|
|
6760
6728
|
authConfigIds: string[];
|
|
6761
|
-
allowedTools: string[];
|
|
6762
6729
|
id: string;
|
|
6730
|
+
allowedTools: string[];
|
|
6763
6731
|
commands: {
|
|
6764
|
-
claude: string;
|
|
6765
6732
|
cursor: string;
|
|
6733
|
+
claude: string;
|
|
6766
6734
|
windsurf: string;
|
|
6767
6735
|
};
|
|
6768
6736
|
MCPUrl: string;
|
|
@@ -6776,11 +6744,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6776
6744
|
name: string;
|
|
6777
6745
|
toolkits: string[];
|
|
6778
6746
|
authConfigIds: string[];
|
|
6779
|
-
allowedTools: string[];
|
|
6780
6747
|
id: string;
|
|
6748
|
+
allowedTools: string[];
|
|
6781
6749
|
commands: {
|
|
6782
|
-
claude: string;
|
|
6783
6750
|
cursor: string;
|
|
6751
|
+
claude: string;
|
|
6784
6752
|
windsurf: string;
|
|
6785
6753
|
};
|
|
6786
6754
|
MCPUrl: string;
|
|
@@ -6794,11 +6762,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
6794
6762
|
name: string;
|
|
6795
6763
|
toolkits: string[];
|
|
6796
6764
|
authConfigIds: string[];
|
|
6797
|
-
allowedTools: string[];
|
|
6798
6765
|
id: string;
|
|
6766
|
+
allowedTools: string[];
|
|
6799
6767
|
commands: {
|
|
6800
|
-
claude: string;
|
|
6801
6768
|
cursor: string;
|
|
6769
|
+
claude: string;
|
|
6802
6770
|
windsurf: string;
|
|
6803
6771
|
};
|
|
6804
6772
|
MCPUrl: string;
|
|
@@ -6841,8 +6809,6 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
|
|
|
6841
6809
|
manuallyManageConnections?: boolean | undefined;
|
|
6842
6810
|
}>;
|
|
6843
6811
|
type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
|
|
6844
|
-
//#endregion
|
|
6845
|
-
//#region src/models/MCP.d.ts
|
|
6846
6812
|
/**
|
|
6847
6813
|
* MCP (Model Control Protocol) class
|
|
6848
6814
|
* Handles MCP server operations.
|
|
@@ -6855,8 +6821,8 @@ type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
|
|
|
6855
6821
|
* `composio.mcp`. See https://docs.composio.dev/docs/sessions-via-mcp
|
|
6856
6822
|
*/
|
|
6857
6823
|
declare class MCP {
|
|
6858
|
-
client: Composio;
|
|
6859
|
-
constructor(client: Composio);
|
|
6824
|
+
client: Composio$1;
|
|
6825
|
+
constructor(client: Composio$1);
|
|
6860
6826
|
/**
|
|
6861
6827
|
* Create a new MCP configuration.
|
|
6862
6828
|
* @param {Object} params - Parameters for creating the MCP configuration
|
|
@@ -7068,8 +7034,6 @@ declare class MCP {
|
|
|
7068
7034
|
*/
|
|
7069
7035
|
generate(userId: string, mcpConfigId: string, options?: MCPGetInstanceParams, requestOptions?: ComposioRequestOptions): Promise<MCPServerInstance>;
|
|
7070
7036
|
}
|
|
7071
|
-
//#endregion
|
|
7072
|
-
//#region src/types/webhooks.types.d.ts
|
|
7073
7037
|
/**
|
|
7074
7038
|
* Webhook payload versions accepted by the webhook subscription endpoints.
|
|
7075
7039
|
*/
|
|
@@ -7380,8 +7344,6 @@ declare const WebhookEndpointUpdateParamsSchema: z$1.ZodObject<{
|
|
|
7380
7344
|
data: Record<string, string>;
|
|
7381
7345
|
}>;
|
|
7382
7346
|
type WebhookEndpointUpdateParams = z$1.infer<typeof WebhookEndpointUpdateParamsSchema>;
|
|
7383
|
-
//#endregion
|
|
7384
|
-
//#region src/models/Webhooks.d.ts
|
|
7385
7347
|
/**
|
|
7386
7348
|
* `composio.webhooks.subscriptions` — the project's outbound webhook
|
|
7387
7349
|
* subscription. The API allows one subscription per project; every response
|
|
@@ -7599,8 +7561,6 @@ declare class Webhooks {
|
|
|
7599
7561
|
endpoints: WebhookEndpoints;
|
|
7600
7562
|
constructor(client: ComposioClient);
|
|
7601
7563
|
}
|
|
7602
|
-
//#endregion
|
|
7603
|
-
//#region src/types/logs.types.d.ts
|
|
7604
7564
|
/**
|
|
7605
7565
|
* Fields a tool-execution log search can filter on.
|
|
7606
7566
|
*/
|
|
@@ -7614,11 +7574,11 @@ declare const LogSearchFilterSchema: z$1.ZodObject<{
|
|
|
7614
7574
|
value: z$1.ZodString;
|
|
7615
7575
|
}, "strip", z$1.ZodTypeAny, {
|
|
7616
7576
|
value: string;
|
|
7617
|
-
field: "status" | "
|
|
7577
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7618
7578
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7619
7579
|
}, {
|
|
7620
7580
|
value: string;
|
|
7621
|
-
field: "status" | "
|
|
7581
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7622
7582
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7623
7583
|
}>;
|
|
7624
7584
|
type LogSearchFilter = z$1.infer<typeof LogSearchFilterSchema>;
|
|
@@ -7647,11 +7607,11 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7647
7607
|
value: z$1.ZodString;
|
|
7648
7608
|
}, "strip", z$1.ZodTypeAny, {
|
|
7649
7609
|
value: string;
|
|
7650
|
-
field: "status" | "
|
|
7610
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7651
7611
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7652
7612
|
}, {
|
|
7653
7613
|
value: string;
|
|
7654
|
-
field: "status" | "
|
|
7614
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7655
7615
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7656
7616
|
}>, "many">>;
|
|
7657
7617
|
timeRange: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -7671,7 +7631,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7671
7631
|
cursor?: string | null | undefined;
|
|
7672
7632
|
filters?: {
|
|
7673
7633
|
value: string;
|
|
7674
|
-
field: "status" | "
|
|
7634
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7675
7635
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7676
7636
|
}[] | undefined;
|
|
7677
7637
|
timeRange?: {
|
|
@@ -7683,7 +7643,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7683
7643
|
cursor?: string | null | undefined;
|
|
7684
7644
|
filters?: {
|
|
7685
7645
|
value: string;
|
|
7686
|
-
field: "status" | "
|
|
7646
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7687
7647
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7688
7648
|
}[] | undefined;
|
|
7689
7649
|
timeRange?: {
|
|
@@ -7747,13 +7707,13 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7747
7707
|
type: string;
|
|
7748
7708
|
status: "success" | "failed";
|
|
7749
7709
|
id: string;
|
|
7710
|
+
timestamp: string;
|
|
7711
|
+
level: "error" | "info" | "warn";
|
|
7750
7712
|
metadata: {
|
|
7751
7713
|
instant_charge?: string | undefined;
|
|
7752
7714
|
} & {
|
|
7753
7715
|
[k: string]: unknown;
|
|
7754
7716
|
};
|
|
7755
|
-
timestamp: string;
|
|
7756
|
-
level: "error" | "warn" | "info";
|
|
7757
7717
|
metrics: Record<string, unknown>;
|
|
7758
7718
|
parent: {
|
|
7759
7719
|
logId: string;
|
|
@@ -7764,13 +7724,13 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7764
7724
|
type: string;
|
|
7765
7725
|
status: "success" | "failed";
|
|
7766
7726
|
id: string;
|
|
7727
|
+
timestamp: string;
|
|
7728
|
+
level: "error" | "info" | "warn";
|
|
7767
7729
|
metadata: {
|
|
7768
7730
|
instant_charge?: string | undefined;
|
|
7769
7731
|
} & {
|
|
7770
7732
|
[k: string]: unknown;
|
|
7771
7733
|
};
|
|
7772
|
-
timestamp: string;
|
|
7773
|
-
level: "error" | "warn" | "info";
|
|
7774
7734
|
metrics: Record<string, unknown>;
|
|
7775
7735
|
parent: {
|
|
7776
7736
|
logId: string;
|
|
@@ -7811,13 +7771,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7811
7771
|
type: string;
|
|
7812
7772
|
status: "success" | "failed";
|
|
7813
7773
|
id: string;
|
|
7774
|
+
timestamp: string;
|
|
7775
|
+
level: "error" | "info" | "warn";
|
|
7814
7776
|
metadata: {
|
|
7815
7777
|
instant_charge?: string | undefined;
|
|
7816
7778
|
} & {
|
|
7817
7779
|
[k: string]: unknown;
|
|
7818
7780
|
};
|
|
7819
|
-
timestamp: string;
|
|
7820
|
-
level: "error" | "warn" | "info";
|
|
7821
7781
|
metrics: Record<string, unknown>;
|
|
7822
7782
|
parent: {
|
|
7823
7783
|
logId: string;
|
|
@@ -7828,13 +7788,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7828
7788
|
type: string;
|
|
7829
7789
|
status: "success" | "failed";
|
|
7830
7790
|
id: string;
|
|
7791
|
+
timestamp: string;
|
|
7792
|
+
level: "error" | "info" | "warn";
|
|
7831
7793
|
metadata: {
|
|
7832
7794
|
instant_charge?: string | undefined;
|
|
7833
7795
|
} & {
|
|
7834
7796
|
[k: string]: unknown;
|
|
7835
7797
|
};
|
|
7836
|
-
timestamp: string;
|
|
7837
|
-
level: "error" | "warn" | "info";
|
|
7838
7798
|
metrics: Record<string, unknown>;
|
|
7839
7799
|
parent: {
|
|
7840
7800
|
logId: string;
|
|
@@ -7849,13 +7809,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7849
7809
|
type: string;
|
|
7850
7810
|
status: "success" | "failed";
|
|
7851
7811
|
id: string;
|
|
7812
|
+
timestamp: string;
|
|
7813
|
+
level: "error" | "info" | "warn";
|
|
7852
7814
|
metadata: {
|
|
7853
7815
|
instant_charge?: string | undefined;
|
|
7854
7816
|
} & {
|
|
7855
7817
|
[k: string]: unknown;
|
|
7856
7818
|
};
|
|
7857
|
-
timestamp: string;
|
|
7858
|
-
level: "error" | "warn" | "info";
|
|
7859
7819
|
metrics: Record<string, unknown>;
|
|
7860
7820
|
parent: {
|
|
7861
7821
|
logId: string;
|
|
@@ -7869,13 +7829,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7869
7829
|
type: string;
|
|
7870
7830
|
status: "success" | "failed";
|
|
7871
7831
|
id: string;
|
|
7832
|
+
timestamp: string;
|
|
7833
|
+
level: "error" | "info" | "warn";
|
|
7872
7834
|
metadata: {
|
|
7873
7835
|
instant_charge?: string | undefined;
|
|
7874
7836
|
} & {
|
|
7875
7837
|
[k: string]: unknown;
|
|
7876
7838
|
};
|
|
7877
|
-
timestamp: string;
|
|
7878
|
-
level: "error" | "warn" | "info";
|
|
7879
7839
|
metrics: Record<string, unknown>;
|
|
7880
7840
|
parent: {
|
|
7881
7841
|
logId: string;
|
|
@@ -7961,13 +7921,13 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7961
7921
|
status: "success" | "failed";
|
|
7962
7922
|
data: Record<string, unknown>;
|
|
7963
7923
|
id: string;
|
|
7924
|
+
timestamp: string;
|
|
7925
|
+
level: "error" | "info" | "warn";
|
|
7964
7926
|
metadata: {
|
|
7965
7927
|
instant_charge?: string | undefined;
|
|
7966
7928
|
} & {
|
|
7967
7929
|
[k: string]: unknown;
|
|
7968
7930
|
};
|
|
7969
|
-
timestamp: string;
|
|
7970
|
-
level: "error" | "warn" | "info";
|
|
7971
7931
|
metrics: Record<string, unknown>;
|
|
7972
7932
|
parent: {
|
|
7973
7933
|
logId: string;
|
|
@@ -7993,13 +7953,13 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7993
7953
|
status: "success" | "failed";
|
|
7994
7954
|
data: Record<string, unknown>;
|
|
7995
7955
|
id: string;
|
|
7956
|
+
timestamp: string;
|
|
7957
|
+
level: "error" | "info" | "warn";
|
|
7996
7958
|
metadata: {
|
|
7997
7959
|
instant_charge?: string | undefined;
|
|
7998
7960
|
} & {
|
|
7999
7961
|
[k: string]: unknown;
|
|
8000
7962
|
};
|
|
8001
|
-
timestamp: string;
|
|
8002
|
-
level: "error" | "warn" | "info";
|
|
8003
7963
|
metrics: Record<string, unknown>;
|
|
8004
7964
|
parent: {
|
|
8005
7965
|
logId: string;
|
|
@@ -8022,8 +7982,6 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
8022
7982
|
} | undefined;
|
|
8023
7983
|
}>;
|
|
8024
7984
|
type ToolExecutionLogDetail = z$1.infer<typeof ToolExecutionLogDetailSchema>;
|
|
8025
|
-
//#endregion
|
|
8026
|
-
//#region src/models/Logs.d.ts
|
|
8027
7985
|
/**
|
|
8028
7986
|
* `composio.logs` — tool-execution logs.
|
|
8029
7987
|
*
|
|
@@ -8074,8 +8032,6 @@ declare class Logs {
|
|
|
8074
8032
|
*/
|
|
8075
8033
|
get(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolExecutionLogDetail>;
|
|
8076
8034
|
}
|
|
8077
|
-
//#endregion
|
|
8078
|
-
//#region src/types/sessionConfigs.types.d.ts
|
|
8079
8035
|
/**
|
|
8080
8036
|
* Params for `composio.sessionConfigs.list()`. The backend owns the defaults:
|
|
8081
8037
|
* active configs only, 20 per page, at most 100.
|
|
@@ -8235,25 +8191,25 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8235
8191
|
/** Tags whose tools need the user's approval before they run. */
|
|
8236
8192
|
require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
8237
8193
|
}, "strip", z$1.ZodTypeAny, {
|
|
8238
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8239
8194
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8195
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8240
8196
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8241
8197
|
}, {
|
|
8242
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8243
8198
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8199
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8244
8200
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8245
8201
|
}>;
|
|
8246
8202
|
}, "strip", z$1.ZodTypeAny, {
|
|
8247
8203
|
tags: {
|
|
8248
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8249
8204
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8205
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8250
8206
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8251
8207
|
};
|
|
8252
8208
|
require_approval?: string[] | undefined;
|
|
8253
8209
|
}, {
|
|
8254
8210
|
tags: {
|
|
8255
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8256
8211
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8212
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8257
8213
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8258
8214
|
};
|
|
8259
8215
|
require_approval?: string[] | undefined;
|
|
@@ -8271,18 +8227,18 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8271
8227
|
/** Tags whose tools need the user's approval before they run. */
|
|
8272
8228
|
require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
8273
8229
|
}, "strip", z$1.ZodTypeAny, {
|
|
8274
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8275
8230
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8231
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8276
8232
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8277
8233
|
}, {
|
|
8278
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8279
8234
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8235
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8280
8236
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8281
8237
|
}>>;
|
|
8282
8238
|
}, "strip", z$1.ZodTypeAny, {
|
|
8283
8239
|
tags?: {
|
|
8284
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8285
8240
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8241
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8286
8242
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8287
8243
|
} | undefined;
|
|
8288
8244
|
tools?: Record<string, {
|
|
@@ -8295,8 +8251,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8295
8251
|
require_approval?: string[] | undefined;
|
|
8296
8252
|
} | {
|
|
8297
8253
|
tags: {
|
|
8298
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8299
8254
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8255
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8300
8256
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8301
8257
|
};
|
|
8302
8258
|
require_approval?: string[] | undefined;
|
|
@@ -8312,8 +8268,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8312
8268
|
} | undefined;
|
|
8313
8269
|
}, {
|
|
8314
8270
|
tags?: {
|
|
8315
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8316
8271
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8272
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8317
8273
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8318
8274
|
} | undefined;
|
|
8319
8275
|
tools?: Record<string, {
|
|
@@ -8326,8 +8282,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
|
8326
8282
|
require_approval?: string[] | undefined;
|
|
8327
8283
|
} | {
|
|
8328
8284
|
tags: {
|
|
8329
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8330
8285
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8286
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8331
8287
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8332
8288
|
};
|
|
8333
8289
|
require_approval?: string[] | undefined;
|
|
@@ -8412,25 +8368,25 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8412
8368
|
/** Tags whose tools need the user's approval before they run. */
|
|
8413
8369
|
require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
8414
8370
|
}, "strip", z$1.ZodTypeAny, {
|
|
8415
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8416
8371
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8372
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8417
8373
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8418
8374
|
}, {
|
|
8419
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8420
8375
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8376
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8421
8377
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8422
8378
|
}>;
|
|
8423
8379
|
}, "strip", z$1.ZodTypeAny, {
|
|
8424
8380
|
tags: {
|
|
8425
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8426
8381
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8382
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8427
8383
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8428
8384
|
};
|
|
8429
8385
|
require_approval?: string[] | undefined;
|
|
8430
8386
|
}, {
|
|
8431
8387
|
tags: {
|
|
8432
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8433
8388
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8389
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8434
8390
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8435
8391
|
};
|
|
8436
8392
|
require_approval?: string[] | undefined;
|
|
@@ -8448,18 +8404,18 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8448
8404
|
/** Tags whose tools need the user's approval before they run. */
|
|
8449
8405
|
require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
8450
8406
|
}, "strip", z$1.ZodTypeAny, {
|
|
8451
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8452
8407
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8408
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8453
8409
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8454
8410
|
}, {
|
|
8455
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8456
8411
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8412
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8457
8413
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8458
8414
|
}>>;
|
|
8459
8415
|
}, "strip", z$1.ZodTypeAny, {
|
|
8460
8416
|
tags?: {
|
|
8461
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8462
8417
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8418
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8463
8419
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8464
8420
|
} | undefined;
|
|
8465
8421
|
tools?: Record<string, {
|
|
@@ -8472,8 +8428,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8472
8428
|
require_approval?: string[] | undefined;
|
|
8473
8429
|
} | {
|
|
8474
8430
|
tags: {
|
|
8475
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8476
8431
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8432
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8477
8433
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8478
8434
|
};
|
|
8479
8435
|
require_approval?: string[] | undefined;
|
|
@@ -8489,8 +8445,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8489
8445
|
} | undefined;
|
|
8490
8446
|
}, {
|
|
8491
8447
|
tags?: {
|
|
8492
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8493
8448
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8449
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8494
8450
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8495
8451
|
} | undefined;
|
|
8496
8452
|
tools?: Record<string, {
|
|
@@ -8503,8 +8459,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8503
8459
|
require_approval?: string[] | undefined;
|
|
8504
8460
|
} | {
|
|
8505
8461
|
tags: {
|
|
8506
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8507
8462
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8463
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8508
8464
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8509
8465
|
};
|
|
8510
8466
|
require_approval?: string[] | undefined;
|
|
@@ -8527,8 +8483,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8527
8483
|
updatedAt: string;
|
|
8528
8484
|
config: {
|
|
8529
8485
|
tags?: {
|
|
8530
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8531
8486
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8487
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8532
8488
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8533
8489
|
} | undefined;
|
|
8534
8490
|
tools?: Record<string, {
|
|
@@ -8541,8 +8497,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8541
8497
|
require_approval?: string[] | undefined;
|
|
8542
8498
|
} | {
|
|
8543
8499
|
tags: {
|
|
8544
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8545
8500
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8501
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8546
8502
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8547
8503
|
};
|
|
8548
8504
|
require_approval?: string[] | undefined;
|
|
@@ -8566,8 +8522,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8566
8522
|
updatedAt: string;
|
|
8567
8523
|
config: {
|
|
8568
8524
|
tags?: {
|
|
8569
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8570
8525
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8526
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8571
8527
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8572
8528
|
} | undefined;
|
|
8573
8529
|
tools?: Record<string, {
|
|
@@ -8580,8 +8536,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8580
8536
|
require_approval?: string[] | undefined;
|
|
8581
8537
|
} | {
|
|
8582
8538
|
tags: {
|
|
8583
|
-
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8584
8539
|
enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8540
|
+
disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8585
8541
|
require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
8586
8542
|
};
|
|
8587
8543
|
require_approval?: string[] | undefined;
|
|
@@ -8599,8 +8555,6 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8599
8555
|
archived: boolean;
|
|
8600
8556
|
}>;
|
|
8601
8557
|
type SessionConfig = z$1.infer<typeof SessionConfigSchema>;
|
|
8602
|
-
//#endregion
|
|
8603
|
-
//#region src/models/SessionConfigs.d.ts
|
|
8604
8558
|
/**
|
|
8605
8559
|
* `composio.sessionConfigs` — saved, reusable Session configs.
|
|
8606
8560
|
*
|
|
@@ -8666,8 +8620,6 @@ declare class SessionConfigs {
|
|
|
8666
8620
|
*/
|
|
8667
8621
|
get(id: string, requestOptions?: ComposioRequestOptions): Promise<SessionConfig>;
|
|
8668
8622
|
}
|
|
8669
|
-
//#endregion
|
|
8670
|
-
//#region src/types/keyring.types.d.ts
|
|
8671
8623
|
/**
|
|
8672
8624
|
* A public JWK a secret can be sealed to. Fields keep their JWK names so a
|
|
8673
8625
|
* key can be handed straight to WebCrypto or a JOSE library.
|
|
@@ -8686,18 +8638,18 @@ declare const KeyringTransferKeySchema: z$1.ZodObject<{
|
|
|
8686
8638
|
/** Key identifier. Put it in the JWE protected header. */
|
|
8687
8639
|
kid: z$1.ZodString;
|
|
8688
8640
|
}, "strip", z$1.ZodTypeAny, {
|
|
8689
|
-
use: string;
|
|
8690
8641
|
kty: string;
|
|
8691
8642
|
n: string;
|
|
8692
8643
|
e: string;
|
|
8693
8644
|
alg: string;
|
|
8645
|
+
use: string;
|
|
8694
8646
|
kid: string;
|
|
8695
8647
|
}, {
|
|
8696
|
-
use: string;
|
|
8697
8648
|
kty: string;
|
|
8698
8649
|
n: string;
|
|
8699
8650
|
e: string;
|
|
8700
8651
|
alg: string;
|
|
8652
|
+
use: string;
|
|
8701
8653
|
kid: string;
|
|
8702
8654
|
}>;
|
|
8703
8655
|
type KeyringTransferKey = z$1.infer<typeof KeyringTransferKeySchema>;
|
|
@@ -8722,44 +8674,42 @@ declare const KeyringTransferKeysResponseSchema: z$1.ZodObject<{
|
|
|
8722
8674
|
/** Key identifier. Put it in the JWE protected header. */
|
|
8723
8675
|
kid: z$1.ZodString;
|
|
8724
8676
|
}, "strip", z$1.ZodTypeAny, {
|
|
8725
|
-
use: string;
|
|
8726
8677
|
kty: string;
|
|
8727
8678
|
n: string;
|
|
8728
8679
|
e: string;
|
|
8729
8680
|
alg: string;
|
|
8681
|
+
use: string;
|
|
8730
8682
|
kid: string;
|
|
8731
8683
|
}, {
|
|
8732
|
-
use: string;
|
|
8733
8684
|
kty: string;
|
|
8734
8685
|
n: string;
|
|
8735
8686
|
e: string;
|
|
8736
8687
|
alg: string;
|
|
8688
|
+
use: string;
|
|
8737
8689
|
kid: string;
|
|
8738
8690
|
}>, "many">;
|
|
8739
8691
|
}, "strip", z$1.ZodTypeAny, {
|
|
8740
8692
|
keys: {
|
|
8741
|
-
use: string;
|
|
8742
8693
|
kty: string;
|
|
8743
8694
|
n: string;
|
|
8744
8695
|
e: string;
|
|
8745
8696
|
alg: string;
|
|
8697
|
+
use: string;
|
|
8746
8698
|
kid: string;
|
|
8747
8699
|
}[];
|
|
8748
8700
|
activeKid: string;
|
|
8749
8701
|
}, {
|
|
8750
8702
|
keys: {
|
|
8751
|
-
use: string;
|
|
8752
8703
|
kty: string;
|
|
8753
8704
|
n: string;
|
|
8754
8705
|
e: string;
|
|
8755
8706
|
alg: string;
|
|
8707
|
+
use: string;
|
|
8756
8708
|
kid: string;
|
|
8757
8709
|
}[];
|
|
8758
8710
|
activeKid: string;
|
|
8759
8711
|
}>;
|
|
8760
8712
|
type KeyringTransferKeysResponse = z$1.infer<typeof KeyringTransferKeysResponseSchema>;
|
|
8761
|
-
//#endregion
|
|
8762
|
-
//#region src/models/Keyring.d.ts
|
|
8763
8713
|
/**
|
|
8764
8714
|
* `composio.keyring` — the organization's customer-managed keyring.
|
|
8765
8715
|
*
|
|
@@ -8799,8 +8749,6 @@ declare class Keyring {
|
|
|
8799
8749
|
*/
|
|
8800
8750
|
listTransferKeys(requestOptions?: ComposioRequestOptions): Promise<KeyringTransferKeysResponse>;
|
|
8801
8751
|
}
|
|
8802
|
-
//#endregion
|
|
8803
|
-
//#region src/utils/logger.d.ts
|
|
8804
8752
|
declare const LOG_LEVELS: {
|
|
8805
8753
|
readonly silent: -1;
|
|
8806
8754
|
readonly error: 0;
|
|
@@ -8849,8 +8797,6 @@ declare class Logger {
|
|
|
8849
8797
|
debug(...args: unknown[]): void;
|
|
8850
8798
|
}
|
|
8851
8799
|
declare const logger: Logger;
|
|
8852
|
-
//#endregion
|
|
8853
|
-
//#region src/provider/OpenAIProvider.d.ts
|
|
8854
8800
|
type OpenAiTool = OpenAI.ChatCompletionTool;
|
|
8855
8801
|
type OpenAiToolCollection = Array<OpenAiTool>;
|
|
8856
8802
|
declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection, OpenAiTool, McpServerGetResponse> {
|
|
@@ -9030,11 +8976,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
9030
8976
|
handleToolCalls(session: ToolCallSession, chatCompletion: OpenAI.ChatCompletion): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
9031
8977
|
handleToolCalls(userId: string, chatCompletion: OpenAI.ChatCompletion, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
9032
8978
|
}
|
|
9033
|
-
//#endregion
|
|
9034
|
-
//#region src/types/composio.types.d.ts
|
|
9035
8979
|
type ComposioRequestHeaders = Record<string, string>;
|
|
9036
|
-
//#endregion
|
|
9037
|
-
//#region src/lib/toolRouterParams.d.ts
|
|
9038
8980
|
/** Local tools options, accepted under their current names and the deprecated `custom*` aliases. */
|
|
9039
8981
|
type LocalToolsOptions = {
|
|
9040
8982
|
localTools?: LocalTool[];
|
|
@@ -9044,12 +8986,10 @@ type LocalToolsOptions = {
|
|
|
9044
8986
|
/** @deprecated Use `localToolkits` instead. */
|
|
9045
8987
|
customToolkits?: LocalToolkit[];
|
|
9046
8988
|
};
|
|
9047
|
-
//#endregion
|
|
9048
|
-
//#region src/models/ToolRouter.d.ts
|
|
9049
8989
|
declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
|
|
9050
8990
|
private client;
|
|
9051
8991
|
private config?;
|
|
9052
|
-
constructor(client: Composio, config?: ComposioConfig<TProvider> | undefined);
|
|
8992
|
+
constructor(client: Composio$1, config?: ComposioConfig<TProvider> | undefined);
|
|
9053
8993
|
/**
|
|
9054
8994
|
* Derives the MCP config for a session from the auth context the session
|
|
9055
8995
|
* request was made with: the project key when one is configured, otherwise
|
|
@@ -9149,8 +9089,6 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
9149
9089
|
*/
|
|
9150
9090
|
delete(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionDeleteResponse>;
|
|
9151
9091
|
}
|
|
9152
|
-
//#endregion
|
|
9153
|
-
//#region src/models/Sessions.d.ts
|
|
9154
9092
|
/**
|
|
9155
9093
|
* First-class API for creating and reusing Composio sessions.
|
|
9156
9094
|
*
|
|
@@ -9159,10 +9097,8 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
9159
9097
|
* alias for `composio.sessions.create(...)`.
|
|
9160
9098
|
*/
|
|
9161
9099
|
declare class Sessions<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> extends ToolRouter<TToolCollection, TTool, TProvider> {
|
|
9162
|
-
constructor(client: Composio, config?: ComposioConfig<TProvider>);
|
|
9100
|
+
constructor(client: Composio$1, config?: ComposioConfig<TProvider>);
|
|
9163
9101
|
}
|
|
9164
|
-
//#endregion
|
|
9165
|
-
//#region src/composio.d.ts
|
|
9166
9102
|
type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unknown> = OpenAIProvider> = {
|
|
9167
9103
|
/**
|
|
9168
9104
|
* The project API key for the Composio API, sent as the `x-api-key` header.
|
|
@@ -9407,7 +9343,7 @@ type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unk
|
|
|
9407
9343
|
* This is the core class for Composio.
|
|
9408
9344
|
* It is used to initialize the Composio SDK and provide a global configuration.
|
|
9409
9345
|
*/
|
|
9410
|
-
declare class Composio
|
|
9346
|
+
declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown, unknown> = OpenAIProvider> {
|
|
9411
9347
|
/**
|
|
9412
9348
|
* The Composio API client.
|
|
9413
9349
|
* @type {ComposioClient}
|
|
@@ -9444,6 +9380,16 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
9444
9380
|
logs: Logs;
|
|
9445
9381
|
/** Public transfer keys of the organization's customer-managed keyring */
|
|
9446
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;
|
|
9447
9393
|
/**
|
|
9448
9394
|
* Experimental SDK methods whose shape may change in future releases.
|
|
9449
9395
|
* Prefer domain-specific mounts (for example
|
|
@@ -9614,7 +9560,7 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
9614
9560
|
*/
|
|
9615
9561
|
createSession(options?: {
|
|
9616
9562
|
headers?: ComposioRequestHeaders;
|
|
9617
|
-
}): Composio
|
|
9563
|
+
}): Composio<TProvider>;
|
|
9618
9564
|
/**
|
|
9619
9565
|
* Flush any pending telemetry and wait for it to complete.
|
|
9620
9566
|
*
|
|
@@ -9644,5 +9590,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
9644
9590
|
*/
|
|
9645
9591
|
flush(): Promise<void>;
|
|
9646
9592
|
}
|
|
9647
|
-
|
|
9648
|
-
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 };
|