@composio/core 0.32.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CustomTool-CBx9kzea.d.mts → CustomTool-C2kvAvzk.d.mts} +1 -1
- package/dist/{Telemetry-BWKZmDxM.mjs → Telemetry-CcCuFVUb.mjs} +1 -1
- package/dist/{composio-CPf6NHnB.d.mts → composio-BqE615oV.d.mts} +126 -95
- package/dist/{customTool.types-BSbIG1OG.d.mts → customTool.types-DnyEZmlx.d.mts} +312 -58
- package/dist/docs/reference/sdk-reference/typescript/connected-accounts.mdx +52 -8
- package/dist/experimental/index.d.mts +2 -2
- package/dist/{fileUtils.node-BJUYMEph.mjs → fileUtils.node-DPMtE0ER.mjs} +1 -65
- package/dist/index.d.mts +5 -238
- package/dist/index.mjs +52 -23
- package/dist/jsonSchema-CDHLYm7d.d.mts +237 -0
- package/dist/{jsonSchema-BZoXGUCr.mjs → jsonSchema-CfZwBS13.mjs} +5 -1
- package/dist/models/Files.node.mjs +3 -3
- package/dist/{sensitiveFileUploadPaths-CcbMAYCC.mjs → sensitiveFileUploadPaths-6NcnFSyX.mjs} +61 -70
- package/dist/{types-ns3Q_WrP.d.mts → types-Cwr_Makk.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/json-schema.d.mts +2 -1
- package/dist/utils/json-schema.mjs +2 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +3 -3
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +6 -6
- package/src/models/ConnectedAccounts.ts +71 -11
- package/src/types/connectedAccounts.types.ts +59 -1
- package/src/types/toolRouter.types.ts +2 -1
- package/src/utils/fileUtils.node.ts +1 -83
- package/src/utils/json-schema.ts +6 -0
- package/src/utils/jsonSchema.ts +17 -4
- package/src/utils/mime.ts +25 -385
- package/src/utils/mimeTables.generated.ts +356 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as ConnectedAccountListResponse, Ar as
|
|
1
|
+
import { $n as ConnectedAccountListResponse, Ar as UpdateConnectedAccountAclParams, Fn as ConnectionRequest, Fr as BaseComposioProvider, Gn as ConnectedAccountCompleteAuthResponse, Hi as ToolCallSession, Ia as ProviderOptions, Ir as BaseNonAgenticProvider, J as ToolRouterCreateSessionConfig, La as SessionExecuteMetaModifiers, Mr as UpdateConnectedAccountParams, Or as PatchConnectedAccountParams, P as Session, Pa as ExecuteToolModifiers, Pi as McpUrlResponse, Qa as ToolExecuteMetaParams, Ri as ExecuteToolFnOptions, S as LocalTool, Un as ConnectedAccountCompleteAuthParams, Xa as SchemaModifierOptions, Za as Tool, Zn as ConnectedAccountListParams, _r as CreateConnectedAccountLinkOptions, ao as ToolListParams, do as ToolRetrievalOptions, eo as ToolExecuteParams, io as ToolList, ir as ConnectedAccountRetrieveResponse, ki as McpServerGetResponse, lo as ToolProxyParams, no as ToolExecuteResponse, nr as ConnectedAccountRefreshOptions, or as ConnectedAccountRevokeResponse, vo as ToolkitVersionParam, w as LocalToolkit, wt as ToolRouterSessionDeleteResponse, xr as CreateConnectedAccountOptions, z as SessionWithoutMcp } from "./customTool.types-DnyEZmlx.mjs";
|
|
2
2
|
import { t as ComposioRequestOptions } from "./requestOptions.types-DWrTcbss.mjs";
|
|
3
3
|
import ComposioClient, { Composio as Composio$1 } from "@composio/client";
|
|
4
4
|
import z, { z as z$1 } from "zod/v3";
|
|
@@ -602,28 +602,28 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
602
602
|
logo?: string | undefined;
|
|
603
603
|
description?: string | undefined;
|
|
604
604
|
availableVersions?: string[] | undefined;
|
|
605
|
-
|
|
605
|
+
createdAt?: string | undefined;
|
|
606
606
|
categories?: {
|
|
607
607
|
slug: string;
|
|
608
608
|
name: string;
|
|
609
609
|
}[] | undefined;
|
|
610
610
|
appUrl?: string | undefined;
|
|
611
|
-
createdAt?: string | undefined;
|
|
612
611
|
toolsCount?: number | undefined;
|
|
613
612
|
triggersCount?: number | undefined;
|
|
613
|
+
updatedAt?: string | undefined;
|
|
614
614
|
}, {
|
|
615
615
|
logo?: string | undefined;
|
|
616
616
|
description?: string | undefined;
|
|
617
617
|
availableVersions?: string[] | undefined;
|
|
618
|
-
|
|
618
|
+
createdAt?: string | undefined;
|
|
619
619
|
categories?: {
|
|
620
620
|
slug: string;
|
|
621
621
|
name: string;
|
|
622
622
|
}[] | undefined;
|
|
623
623
|
appUrl?: string | undefined;
|
|
624
|
-
createdAt?: string | undefined;
|
|
625
624
|
toolsCount?: number | undefined;
|
|
626
625
|
triggersCount?: number | undefined;
|
|
626
|
+
updatedAt?: string | undefined;
|
|
627
627
|
}>;
|
|
628
628
|
declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
629
629
|
name: z$1.ZodString;
|
|
@@ -651,28 +651,28 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
651
651
|
logo?: string | undefined;
|
|
652
652
|
description?: string | undefined;
|
|
653
653
|
availableVersions?: string[] | undefined;
|
|
654
|
-
|
|
654
|
+
createdAt?: string | undefined;
|
|
655
655
|
categories?: {
|
|
656
656
|
slug: string;
|
|
657
657
|
name: string;
|
|
658
658
|
}[] | undefined;
|
|
659
659
|
appUrl?: string | undefined;
|
|
660
|
-
createdAt?: string | undefined;
|
|
661
660
|
toolsCount?: number | undefined;
|
|
662
661
|
triggersCount?: number | undefined;
|
|
662
|
+
updatedAt?: string | undefined;
|
|
663
663
|
}, {
|
|
664
664
|
logo?: string | undefined;
|
|
665
665
|
description?: string | undefined;
|
|
666
666
|
availableVersions?: string[] | undefined;
|
|
667
|
-
|
|
667
|
+
createdAt?: string | undefined;
|
|
668
668
|
categories?: {
|
|
669
669
|
slug: string;
|
|
670
670
|
name: string;
|
|
671
671
|
}[] | undefined;
|
|
672
672
|
appUrl?: string | undefined;
|
|
673
|
-
createdAt?: string | undefined;
|
|
674
673
|
toolsCount?: number | undefined;
|
|
675
674
|
triggersCount?: number | undefined;
|
|
675
|
+
updatedAt?: string | undefined;
|
|
676
676
|
}>;
|
|
677
677
|
isLocalToolkit: z$1.ZodBoolean;
|
|
678
678
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -685,15 +685,15 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
685
685
|
logo?: string | undefined;
|
|
686
686
|
description?: string | undefined;
|
|
687
687
|
availableVersions?: string[] | undefined;
|
|
688
|
-
|
|
688
|
+
createdAt?: string | undefined;
|
|
689
689
|
categories?: {
|
|
690
690
|
slug: string;
|
|
691
691
|
name: string;
|
|
692
692
|
}[] | undefined;
|
|
693
693
|
appUrl?: string | undefined;
|
|
694
|
-
createdAt?: string | undefined;
|
|
695
694
|
toolsCount?: number | undefined;
|
|
696
695
|
triggersCount?: number | undefined;
|
|
696
|
+
updatedAt?: string | undefined;
|
|
697
697
|
};
|
|
698
698
|
isLocalToolkit: boolean;
|
|
699
699
|
authSchemes?: string[] | undefined;
|
|
@@ -706,15 +706,15 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
706
706
|
logo?: string | undefined;
|
|
707
707
|
description?: string | undefined;
|
|
708
708
|
availableVersions?: string[] | undefined;
|
|
709
|
-
|
|
709
|
+
createdAt?: string | undefined;
|
|
710
710
|
categories?: {
|
|
711
711
|
slug: string;
|
|
712
712
|
name: string;
|
|
713
713
|
}[] | undefined;
|
|
714
714
|
appUrl?: string | undefined;
|
|
715
|
-
createdAt?: string | undefined;
|
|
716
715
|
toolsCount?: number | undefined;
|
|
717
716
|
triggersCount?: number | undefined;
|
|
717
|
+
updatedAt?: string | undefined;
|
|
718
718
|
};
|
|
719
719
|
isLocalToolkit: boolean;
|
|
720
720
|
authSchemes?: string[] | undefined;
|
|
@@ -747,28 +747,28 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
747
747
|
logo?: string | undefined;
|
|
748
748
|
description?: string | undefined;
|
|
749
749
|
availableVersions?: string[] | undefined;
|
|
750
|
-
|
|
750
|
+
createdAt?: string | undefined;
|
|
751
751
|
categories?: {
|
|
752
752
|
slug: string;
|
|
753
753
|
name: string;
|
|
754
754
|
}[] | undefined;
|
|
755
755
|
appUrl?: string | undefined;
|
|
756
|
-
createdAt?: string | undefined;
|
|
757
756
|
toolsCount?: number | undefined;
|
|
758
757
|
triggersCount?: number | undefined;
|
|
758
|
+
updatedAt?: string | undefined;
|
|
759
759
|
}, {
|
|
760
760
|
logo?: string | undefined;
|
|
761
761
|
description?: string | undefined;
|
|
762
762
|
availableVersions?: string[] | undefined;
|
|
763
|
-
|
|
763
|
+
createdAt?: string | undefined;
|
|
764
764
|
categories?: {
|
|
765
765
|
slug: string;
|
|
766
766
|
name: string;
|
|
767
767
|
}[] | undefined;
|
|
768
768
|
appUrl?: string | undefined;
|
|
769
|
-
createdAt?: string | undefined;
|
|
770
769
|
toolsCount?: number | undefined;
|
|
771
770
|
triggersCount?: number | undefined;
|
|
771
|
+
updatedAt?: string | undefined;
|
|
772
772
|
}>;
|
|
773
773
|
isLocalToolkit: z$1.ZodBoolean;
|
|
774
774
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -781,15 +781,15 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
781
781
|
logo?: string | undefined;
|
|
782
782
|
description?: string | undefined;
|
|
783
783
|
availableVersions?: string[] | undefined;
|
|
784
|
-
|
|
784
|
+
createdAt?: string | undefined;
|
|
785
785
|
categories?: {
|
|
786
786
|
slug: string;
|
|
787
787
|
name: string;
|
|
788
788
|
}[] | undefined;
|
|
789
789
|
appUrl?: string | undefined;
|
|
790
|
-
createdAt?: string | undefined;
|
|
791
790
|
toolsCount?: number | undefined;
|
|
792
791
|
triggersCount?: number | undefined;
|
|
792
|
+
updatedAt?: string | undefined;
|
|
793
793
|
};
|
|
794
794
|
isLocalToolkit: boolean;
|
|
795
795
|
authSchemes?: string[] | undefined;
|
|
@@ -802,15 +802,15 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
802
802
|
logo?: string | undefined;
|
|
803
803
|
description?: string | undefined;
|
|
804
804
|
availableVersions?: string[] | undefined;
|
|
805
|
-
|
|
805
|
+
createdAt?: string | undefined;
|
|
806
806
|
categories?: {
|
|
807
807
|
slug: string;
|
|
808
808
|
name: string;
|
|
809
809
|
}[] | undefined;
|
|
810
810
|
appUrl?: string | undefined;
|
|
811
|
-
createdAt?: string | undefined;
|
|
812
811
|
toolsCount?: number | undefined;
|
|
813
812
|
triggersCount?: number | undefined;
|
|
813
|
+
updatedAt?: string | undefined;
|
|
814
814
|
};
|
|
815
815
|
isLocalToolkit: boolean;
|
|
816
816
|
authSchemes?: string[] | undefined;
|
|
@@ -1463,28 +1463,28 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1463
1463
|
logo?: string | undefined;
|
|
1464
1464
|
description?: string | undefined;
|
|
1465
1465
|
availableVersions?: string[] | undefined;
|
|
1466
|
-
|
|
1466
|
+
createdAt?: string | undefined;
|
|
1467
1467
|
categories?: {
|
|
1468
1468
|
slug: string;
|
|
1469
1469
|
name: string;
|
|
1470
1470
|
}[] | undefined;
|
|
1471
1471
|
appUrl?: string | undefined;
|
|
1472
|
-
createdAt?: string | undefined;
|
|
1473
1472
|
toolsCount?: number | undefined;
|
|
1474
1473
|
triggersCount?: number | undefined;
|
|
1474
|
+
updatedAt?: string | undefined;
|
|
1475
1475
|
}, {
|
|
1476
1476
|
logo?: string | undefined;
|
|
1477
1477
|
description?: string | undefined;
|
|
1478
1478
|
availableVersions?: string[] | undefined;
|
|
1479
|
-
|
|
1479
|
+
createdAt?: string | undefined;
|
|
1480
1480
|
categories?: {
|
|
1481
1481
|
slug: string;
|
|
1482
1482
|
name: string;
|
|
1483
1483
|
}[] | undefined;
|
|
1484
1484
|
appUrl?: string | undefined;
|
|
1485
|
-
createdAt?: string | undefined;
|
|
1486
1485
|
toolsCount?: number | undefined;
|
|
1487
1486
|
triggersCount?: number | undefined;
|
|
1487
|
+
updatedAt?: string | undefined;
|
|
1488
1488
|
}>;
|
|
1489
1489
|
isLocalToolkit: z$1.ZodBoolean;
|
|
1490
1490
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -2062,15 +2062,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2062
2062
|
logo?: string | undefined;
|
|
2063
2063
|
description?: string | undefined;
|
|
2064
2064
|
availableVersions?: string[] | undefined;
|
|
2065
|
-
|
|
2065
|
+
createdAt?: string | undefined;
|
|
2066
2066
|
categories?: {
|
|
2067
2067
|
slug: string;
|
|
2068
2068
|
name: string;
|
|
2069
2069
|
}[] | undefined;
|
|
2070
2070
|
appUrl?: string | undefined;
|
|
2071
|
-
createdAt?: string | undefined;
|
|
2072
2071
|
toolsCount?: number | undefined;
|
|
2073
2072
|
triggersCount?: number | undefined;
|
|
2073
|
+
updatedAt?: string | undefined;
|
|
2074
2074
|
};
|
|
2075
2075
|
isLocalToolkit: boolean;
|
|
2076
2076
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -2154,15 +2154,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2154
2154
|
logo?: string | undefined;
|
|
2155
2155
|
description?: string | undefined;
|
|
2156
2156
|
availableVersions?: string[] | undefined;
|
|
2157
|
-
|
|
2157
|
+
createdAt?: string | undefined;
|
|
2158
2158
|
categories?: {
|
|
2159
2159
|
slug: string;
|
|
2160
2160
|
name: string;
|
|
2161
2161
|
}[] | undefined;
|
|
2162
2162
|
appUrl?: string | undefined;
|
|
2163
|
-
createdAt?: string | undefined;
|
|
2164
2163
|
toolsCount?: number | undefined;
|
|
2165
2164
|
triggersCount?: number | undefined;
|
|
2165
|
+
updatedAt?: string | undefined;
|
|
2166
2166
|
};
|
|
2167
2167
|
isLocalToolkit: boolean;
|
|
2168
2168
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -2763,7 +2763,6 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
2763
2763
|
}, "strip", z$1.ZodTypeAny, {
|
|
2764
2764
|
type: "use_composio_managed_auth";
|
|
2765
2765
|
name?: string | undefined;
|
|
2766
|
-
managedAppId?: string | undefined;
|
|
2767
2766
|
credentials?: z$1.objectOutputType<{
|
|
2768
2767
|
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
2769
2768
|
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
@@ -2772,10 +2771,10 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
2772
2771
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2773
2772
|
} | undefined;
|
|
2774
2773
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2774
|
+
managedAppId?: string | undefined;
|
|
2775
2775
|
}, {
|
|
2776
2776
|
type: "use_composio_managed_auth";
|
|
2777
2777
|
name?: string | undefined;
|
|
2778
|
-
managedAppId?: string | undefined;
|
|
2779
2778
|
credentials?: z$1.objectInputType<{
|
|
2780
2779
|
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
2781
2780
|
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
@@ -2784,6 +2783,7 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
2784
2783
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2785
2784
|
} | undefined;
|
|
2786
2785
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2786
|
+
managedAppId?: string | undefined;
|
|
2787
2787
|
}>;
|
|
2788
2788
|
/**
|
|
2789
2789
|
* Discriminated union of all possible auth config types.
|
|
@@ -2866,7 +2866,6 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
2866
2866
|
}, "strip", z$1.ZodTypeAny, {
|
|
2867
2867
|
type: "use_composio_managed_auth";
|
|
2868
2868
|
name?: string | undefined;
|
|
2869
|
-
managedAppId?: string | undefined;
|
|
2870
2869
|
credentials?: z$1.objectOutputType<{
|
|
2871
2870
|
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
2872
2871
|
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
@@ -2875,10 +2874,10 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
2875
2874
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2876
2875
|
} | undefined;
|
|
2877
2876
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2877
|
+
managedAppId?: string | undefined;
|
|
2878
2878
|
}, {
|
|
2879
2879
|
type: "use_composio_managed_auth";
|
|
2880
2880
|
name?: string | undefined;
|
|
2881
|
-
managedAppId?: string | undefined;
|
|
2882
2881
|
credentials?: z$1.objectInputType<{
|
|
2883
2882
|
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
2884
2883
|
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
@@ -2887,6 +2886,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
2887
2886
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2888
2887
|
} | undefined;
|
|
2889
2888
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2889
|
+
managedAppId?: string | undefined;
|
|
2890
2890
|
}>]>;
|
|
2891
2891
|
type CreateAuthConfigParams = z$1.infer<typeof CreateAuthConfigParamsSchema>;
|
|
2892
2892
|
declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
|
|
@@ -2959,7 +2959,6 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2959
2959
|
noOfConnections: number;
|
|
2960
2960
|
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;
|
|
2961
2961
|
isComposioManaged?: boolean | undefined;
|
|
2962
|
-
createdAt?: string | undefined;
|
|
2963
2962
|
credentials?: Record<string, unknown> | undefined;
|
|
2964
2963
|
toolAccessConfig?: {
|
|
2965
2964
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2969,6 +2968,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2969
2968
|
expectedInputFields?: unknown[] | undefined;
|
|
2970
2969
|
restrictToFollowingTools?: string[] | undefined;
|
|
2971
2970
|
createdBy?: string | undefined;
|
|
2971
|
+
createdAt?: string | undefined;
|
|
2972
2972
|
lastUpdatedAt?: string | undefined;
|
|
2973
2973
|
}, {
|
|
2974
2974
|
name: string;
|
|
@@ -2982,7 +2982,6 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2982
2982
|
noOfConnections: number;
|
|
2983
2983
|
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;
|
|
2984
2984
|
isComposioManaged?: boolean | undefined;
|
|
2985
|
-
createdAt?: string | undefined;
|
|
2986
2985
|
credentials?: Record<string, unknown> | undefined;
|
|
2987
2986
|
toolAccessConfig?: {
|
|
2988
2987
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2992,6 +2991,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2992
2991
|
expectedInputFields?: unknown[] | undefined;
|
|
2993
2992
|
restrictToFollowingTools?: string[] | undefined;
|
|
2994
2993
|
createdBy?: string | undefined;
|
|
2994
|
+
createdAt?: string | undefined;
|
|
2995
2995
|
lastUpdatedAt?: string | undefined;
|
|
2996
2996
|
}>;
|
|
2997
2997
|
type AuthConfigRetrieveResponse = z$1.infer<typeof AuthConfigRetrieveResponseSchema>;
|
|
@@ -3069,7 +3069,6 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3069
3069
|
noOfConnections: number;
|
|
3070
3070
|
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;
|
|
3071
3071
|
isComposioManaged?: boolean | undefined;
|
|
3072
|
-
createdAt?: string | undefined;
|
|
3073
3072
|
credentials?: Record<string, unknown> | undefined;
|
|
3074
3073
|
toolAccessConfig?: {
|
|
3075
3074
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -3079,6 +3078,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3079
3078
|
expectedInputFields?: unknown[] | undefined;
|
|
3080
3079
|
restrictToFollowingTools?: string[] | undefined;
|
|
3081
3080
|
createdBy?: string | undefined;
|
|
3081
|
+
createdAt?: string | undefined;
|
|
3082
3082
|
lastUpdatedAt?: string | undefined;
|
|
3083
3083
|
}, {
|
|
3084
3084
|
name: string;
|
|
@@ -3092,7 +3092,6 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3092
3092
|
noOfConnections: number;
|
|
3093
3093
|
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;
|
|
3094
3094
|
isComposioManaged?: boolean | undefined;
|
|
3095
|
-
createdAt?: string | undefined;
|
|
3096
3095
|
credentials?: Record<string, unknown> | undefined;
|
|
3097
3096
|
toolAccessConfig?: {
|
|
3098
3097
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -3102,6 +3101,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3102
3101
|
expectedInputFields?: unknown[] | undefined;
|
|
3103
3102
|
restrictToFollowingTools?: string[] | undefined;
|
|
3104
3103
|
createdBy?: string | undefined;
|
|
3104
|
+
createdAt?: string | undefined;
|
|
3105
3105
|
lastUpdatedAt?: string | undefined;
|
|
3106
3106
|
}>, "many">;
|
|
3107
3107
|
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -3119,7 +3119,6 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3119
3119
|
noOfConnections: number;
|
|
3120
3120
|
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;
|
|
3121
3121
|
isComposioManaged?: boolean | undefined;
|
|
3122
|
-
createdAt?: string | undefined;
|
|
3123
3122
|
credentials?: Record<string, unknown> | undefined;
|
|
3124
3123
|
toolAccessConfig?: {
|
|
3125
3124
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -3129,6 +3128,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3129
3128
|
expectedInputFields?: unknown[] | undefined;
|
|
3130
3129
|
restrictToFollowingTools?: string[] | undefined;
|
|
3131
3130
|
createdBy?: string | undefined;
|
|
3131
|
+
createdAt?: string | undefined;
|
|
3132
3132
|
lastUpdatedAt?: string | undefined;
|
|
3133
3133
|
}[];
|
|
3134
3134
|
nextCursor: string | null;
|
|
@@ -3146,7 +3146,6 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3146
3146
|
noOfConnections: number;
|
|
3147
3147
|
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;
|
|
3148
3148
|
isComposioManaged?: boolean | undefined;
|
|
3149
|
-
createdAt?: string | undefined;
|
|
3150
3149
|
credentials?: Record<string, unknown> | undefined;
|
|
3151
3150
|
toolAccessConfig?: {
|
|
3152
3151
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -3156,6 +3155,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3156
3155
|
expectedInputFields?: unknown[] | undefined;
|
|
3157
3156
|
restrictToFollowingTools?: string[] | undefined;
|
|
3158
3157
|
createdBy?: string | undefined;
|
|
3158
|
+
createdAt?: string | undefined;
|
|
3159
3159
|
lastUpdatedAt?: string | undefined;
|
|
3160
3160
|
}[];
|
|
3161
3161
|
nextCursor: string | null;
|
|
@@ -3592,16 +3592,16 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
|
|
|
3592
3592
|
limit?: number | undefined;
|
|
3593
3593
|
authConfigIds?: string[] | null | undefined;
|
|
3594
3594
|
cursor?: string | undefined;
|
|
3595
|
-
connectedAccountIds?: string[] | null | undefined;
|
|
3596
3595
|
showDisabled?: boolean | null | undefined;
|
|
3596
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
3597
3597
|
triggerIds?: string[] | null | undefined;
|
|
3598
3598
|
triggerNames?: string[] | null | undefined;
|
|
3599
3599
|
}, {
|
|
3600
3600
|
limit?: number | undefined;
|
|
3601
3601
|
authConfigIds?: string[] | null | undefined;
|
|
3602
3602
|
cursor?: string | undefined;
|
|
3603
|
-
connectedAccountIds?: string[] | null | undefined;
|
|
3604
3603
|
showDisabled?: boolean | null | undefined;
|
|
3604
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
3605
3605
|
triggerIds?: string[] | null | undefined;
|
|
3606
3606
|
triggerNames?: string[] | null | undefined;
|
|
3607
3607
|
}>;
|
|
@@ -3625,28 +3625,28 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
3625
3625
|
type: "webhook" | "poll";
|
|
3626
3626
|
connectedAccountId: string;
|
|
3627
3627
|
id: string;
|
|
3628
|
+
updatedAt: string;
|
|
3628
3629
|
disabledAt: string | null;
|
|
3629
3630
|
state: Record<string, unknown>;
|
|
3630
3631
|
triggerConfig: Record<string, unknown>;
|
|
3631
3632
|
triggerName: string;
|
|
3632
|
-
updatedAt: string;
|
|
3633
3633
|
fallbackReason: string | null;
|
|
3634
3634
|
pollingInterval: number | null;
|
|
3635
|
-
triggerData?: string | undefined;
|
|
3636
3635
|
uuid?: string | undefined;
|
|
3636
|
+
triggerData?: string | undefined;
|
|
3637
3637
|
}, {
|
|
3638
3638
|
type: "webhook" | "poll";
|
|
3639
3639
|
connectedAccountId: string;
|
|
3640
3640
|
id: string;
|
|
3641
|
+
updatedAt: string;
|
|
3641
3642
|
disabledAt: string | null;
|
|
3642
3643
|
state: Record<string, unknown>;
|
|
3643
3644
|
triggerConfig: Record<string, unknown>;
|
|
3644
3645
|
triggerName: string;
|
|
3645
|
-
updatedAt: string;
|
|
3646
3646
|
fallbackReason: string | null;
|
|
3647
3647
|
pollingInterval: number | null;
|
|
3648
|
-
triggerData?: string | undefined;
|
|
3649
3648
|
uuid?: string | undefined;
|
|
3649
|
+
triggerData?: string | undefined;
|
|
3650
3650
|
}>;
|
|
3651
3651
|
declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
3652
3652
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -3666,28 +3666,28 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
3666
3666
|
type: "webhook" | "poll";
|
|
3667
3667
|
connectedAccountId: string;
|
|
3668
3668
|
id: string;
|
|
3669
|
+
updatedAt: string;
|
|
3669
3670
|
disabledAt: string | null;
|
|
3670
3671
|
state: Record<string, unknown>;
|
|
3671
3672
|
triggerConfig: Record<string, unknown>;
|
|
3672
3673
|
triggerName: string;
|
|
3673
|
-
updatedAt: string;
|
|
3674
3674
|
fallbackReason: string | null;
|
|
3675
3675
|
pollingInterval: number | null;
|
|
3676
|
-
triggerData?: string | undefined;
|
|
3677
3676
|
uuid?: string | undefined;
|
|
3677
|
+
triggerData?: string | undefined;
|
|
3678
3678
|
}, {
|
|
3679
3679
|
type: "webhook" | "poll";
|
|
3680
3680
|
connectedAccountId: string;
|
|
3681
3681
|
id: string;
|
|
3682
|
+
updatedAt: string;
|
|
3682
3683
|
disabledAt: string | null;
|
|
3683
3684
|
state: Record<string, unknown>;
|
|
3684
3685
|
triggerConfig: Record<string, unknown>;
|
|
3685
3686
|
triggerName: string;
|
|
3686
|
-
updatedAt: string;
|
|
3687
3687
|
fallbackReason: string | null;
|
|
3688
3688
|
pollingInterval: number | null;
|
|
3689
|
-
triggerData?: string | undefined;
|
|
3690
3689
|
uuid?: string | undefined;
|
|
3690
|
+
triggerData?: string | undefined;
|
|
3691
3691
|
}>, "many">;
|
|
3692
3692
|
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
3693
3693
|
totalPages: z$1.ZodNumber;
|
|
@@ -3696,15 +3696,15 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
3696
3696
|
type: "webhook" | "poll";
|
|
3697
3697
|
connectedAccountId: string;
|
|
3698
3698
|
id: string;
|
|
3699
|
+
updatedAt: string;
|
|
3699
3700
|
disabledAt: string | null;
|
|
3700
3701
|
state: Record<string, unknown>;
|
|
3701
3702
|
triggerConfig: Record<string, unknown>;
|
|
3702
3703
|
triggerName: string;
|
|
3703
|
-
updatedAt: string;
|
|
3704
3704
|
fallbackReason: string | null;
|
|
3705
3705
|
pollingInterval: number | null;
|
|
3706
|
-
triggerData?: string | undefined;
|
|
3707
3706
|
uuid?: string | undefined;
|
|
3707
|
+
triggerData?: string | undefined;
|
|
3708
3708
|
}[];
|
|
3709
3709
|
nextCursor: string | null;
|
|
3710
3710
|
totalPages: number;
|
|
@@ -3713,15 +3713,15 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
3713
3713
|
type: "webhook" | "poll";
|
|
3714
3714
|
connectedAccountId: string;
|
|
3715
3715
|
id: string;
|
|
3716
|
+
updatedAt: string;
|
|
3716
3717
|
disabledAt: string | null;
|
|
3717
3718
|
state: Record<string, unknown>;
|
|
3718
3719
|
triggerConfig: Record<string, unknown>;
|
|
3719
3720
|
triggerName: string;
|
|
3720
|
-
updatedAt: string;
|
|
3721
3721
|
fallbackReason: string | null;
|
|
3722
3722
|
pollingInterval: number | null;
|
|
3723
|
-
triggerData?: string | undefined;
|
|
3724
3723
|
uuid?: string | undefined;
|
|
3724
|
+
triggerData?: string | undefined;
|
|
3725
3725
|
}[];
|
|
3726
3726
|
nextCursor: string | null;
|
|
3727
3727
|
totalPages: number;
|
|
@@ -3812,15 +3812,15 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3812
3812
|
status: "ACTIVE" | "INACTIVE";
|
|
3813
3813
|
userId: string;
|
|
3814
3814
|
id: string;
|
|
3815
|
-
authConfigId: string;
|
|
3816
3815
|
uuid: string;
|
|
3816
|
+
authConfigId: string;
|
|
3817
3817
|
authConfigUUID: string;
|
|
3818
3818
|
}, {
|
|
3819
3819
|
status: "ACTIVE" | "INACTIVE";
|
|
3820
3820
|
userId: string;
|
|
3821
3821
|
id: string;
|
|
3822
|
-
authConfigId: string;
|
|
3823
3822
|
uuid: string;
|
|
3823
|
+
authConfigId: string;
|
|
3824
3824
|
authConfigUUID: string;
|
|
3825
3825
|
}>;
|
|
3826
3826
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -3830,13 +3830,13 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3830
3830
|
status: "ACTIVE" | "INACTIVE";
|
|
3831
3831
|
userId: string;
|
|
3832
3832
|
id: string;
|
|
3833
|
-
authConfigId: string;
|
|
3834
3833
|
uuid: string;
|
|
3834
|
+
authConfigId: string;
|
|
3835
3835
|
authConfigUUID: string;
|
|
3836
3836
|
};
|
|
3837
|
+
uuid: string;
|
|
3837
3838
|
triggerSlug: string;
|
|
3838
3839
|
triggerConfig: Record<string, unknown>;
|
|
3839
|
-
uuid: string;
|
|
3840
3840
|
triggerData?: string | undefined;
|
|
3841
3841
|
}, {
|
|
3842
3842
|
toolkitSlug: string;
|
|
@@ -3845,21 +3845,21 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3845
3845
|
status: "ACTIVE" | "INACTIVE";
|
|
3846
3846
|
userId: string;
|
|
3847
3847
|
id: string;
|
|
3848
|
-
authConfigId: string;
|
|
3849
3848
|
uuid: string;
|
|
3849
|
+
authConfigId: string;
|
|
3850
3850
|
authConfigUUID: string;
|
|
3851
3851
|
};
|
|
3852
|
+
uuid: string;
|
|
3852
3853
|
triggerSlug: string;
|
|
3853
3854
|
triggerConfig: Record<string, unknown>;
|
|
3854
|
-
uuid: string;
|
|
3855
3855
|
triggerData?: string | undefined;
|
|
3856
3856
|
}>;
|
|
3857
3857
|
}, "strip", z$1.ZodTypeAny, {
|
|
3858
3858
|
toolkitSlug: string;
|
|
3859
3859
|
userId: string;
|
|
3860
3860
|
id: string;
|
|
3861
|
-
triggerSlug: string;
|
|
3862
3861
|
uuid: string;
|
|
3862
|
+
triggerSlug: string;
|
|
3863
3863
|
metadata: {
|
|
3864
3864
|
toolkitSlug: string;
|
|
3865
3865
|
id: string;
|
|
@@ -3867,13 +3867,13 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3867
3867
|
status: "ACTIVE" | "INACTIVE";
|
|
3868
3868
|
userId: string;
|
|
3869
3869
|
id: string;
|
|
3870
|
-
authConfigId: string;
|
|
3871
3870
|
uuid: string;
|
|
3871
|
+
authConfigId: string;
|
|
3872
3872
|
authConfigUUID: string;
|
|
3873
3873
|
};
|
|
3874
|
+
uuid: string;
|
|
3874
3875
|
triggerSlug: string;
|
|
3875
3876
|
triggerConfig: Record<string, unknown>;
|
|
3876
|
-
uuid: string;
|
|
3877
3877
|
triggerData?: string | undefined;
|
|
3878
3878
|
};
|
|
3879
3879
|
payload?: Record<string, unknown> | undefined;
|
|
@@ -3882,8 +3882,8 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3882
3882
|
toolkitSlug: string;
|
|
3883
3883
|
userId: string;
|
|
3884
3884
|
id: string;
|
|
3885
|
-
triggerSlug: string;
|
|
3886
3885
|
uuid: string;
|
|
3886
|
+
triggerSlug: string;
|
|
3887
3887
|
metadata: {
|
|
3888
3888
|
toolkitSlug: string;
|
|
3889
3889
|
id: string;
|
|
@@ -3891,13 +3891,13 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3891
3891
|
status: "ACTIVE" | "INACTIVE";
|
|
3892
3892
|
userId: string;
|
|
3893
3893
|
id: string;
|
|
3894
|
-
authConfigId: string;
|
|
3895
3894
|
uuid: string;
|
|
3895
|
+
authConfigId: string;
|
|
3896
3896
|
authConfigUUID: string;
|
|
3897
3897
|
};
|
|
3898
|
+
uuid: string;
|
|
3898
3899
|
triggerSlug: string;
|
|
3899
3900
|
triggerConfig: Record<string, unknown>;
|
|
3900
|
-
uuid: string;
|
|
3901
3901
|
triggerData?: string | undefined;
|
|
3902
3902
|
};
|
|
3903
3903
|
payload?: Record<string, unknown> | undefined;
|
|
@@ -5384,21 +5384,52 @@ declare class ConnectedAccounts {
|
|
|
5384
5384
|
*/
|
|
5385
5385
|
updateAcl(nanoid: string, params: UpdateConnectedAccountAclParams): Promise<ConnectedAccountPatchResponse>;
|
|
5386
5386
|
/**
|
|
5387
|
-
*
|
|
5387
|
+
* Update a connected account's alias, credentials, or both in one request.
|
|
5388
|
+
* The response contains the account ID, status, and success flag.
|
|
5388
5389
|
*
|
|
5389
|
-
*
|
|
5390
|
+
* Pass `alias`, `connection`, or both. Set `alias` to an empty string to
|
|
5391
|
+
* clear it. To update credentials, put the fields you want to change in
|
|
5392
|
+
* `connection.state.val`. Set a field to `null` to remove it. Omitted fields
|
|
5393
|
+
* keep their current values.
|
|
5390
5394
|
*
|
|
5391
|
-
*
|
|
5392
|
-
*
|
|
5393
|
-
*
|
|
5395
|
+
* Use `enable()` or `disable()` to change the account's status. The deprecated
|
|
5396
|
+
* `update(id, { enabled })` overload accepts only `enabled` and logs a warning.
|
|
5397
|
+
* The SDK throws `ValidationError` before sending a request if the input is
|
|
5398
|
+
* empty or contains unsupported fields.
|
|
5399
|
+
*
|
|
5400
|
+
* Use `updateAcl()` to change access to a shared connected account.
|
|
5401
|
+
*
|
|
5402
|
+
* @param {string} nanoid - The connected account ID.
|
|
5403
|
+
* @param {PatchConnectedAccountParams} params - The alias or credential fields to update.
|
|
5404
|
+
* @returns {Promise<ConnectedAccountPatchResponse>}
|
|
5394
5405
|
*
|
|
5395
5406
|
* @example
|
|
5396
5407
|
* ```typescript
|
|
5397
|
-
* //
|
|
5398
|
-
* await composio.connectedAccounts.update('ca_abc123', {
|
|
5408
|
+
* // Set an alias.
|
|
5409
|
+
* await composio.connectedAccounts.update('ca_abc123', { alias: 'work-gmail' });
|
|
5410
|
+
*
|
|
5411
|
+
* // Clear the alias.
|
|
5412
|
+
* await composio.connectedAccounts.update('ca_abc123', { alias: '' });
|
|
5413
|
+
*
|
|
5414
|
+
* // Replace the stored bearer token.
|
|
5415
|
+
* await composio.connectedAccounts.update('ca_abc123', {
|
|
5416
|
+
* connection: {
|
|
5417
|
+
* state: {
|
|
5418
|
+
* authScheme: 'BEARER_TOKEN',
|
|
5419
|
+
* val: { token: 'new-access-token' },
|
|
5420
|
+
* },
|
|
5421
|
+
* },
|
|
5422
|
+
* });
|
|
5399
5423
|
* ```
|
|
5400
5424
|
*/
|
|
5401
|
-
update(nanoid: string, params:
|
|
5425
|
+
update(nanoid: string, params: PatchConnectedAccountParams, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountPatchResponse>;
|
|
5426
|
+
/**
|
|
5427
|
+
* @deprecated Use `enable()` or `disable()` instead.
|
|
5428
|
+
*/
|
|
5429
|
+
update(nanoid: string, params: UpdateConnectedAccountParams & {
|
|
5430
|
+
alias?: never;
|
|
5431
|
+
connection?: never;
|
|
5432
|
+
}, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
5402
5433
|
}
|
|
5403
5434
|
/**
|
|
5404
5435
|
* Filters shared by the usage summary and breakdown queries.
|
|
@@ -5443,19 +5474,19 @@ declare const UsageSummaryParamsSchema: z$1.ZodObject<{
|
|
|
5443
5474
|
}, "strip", z$1.ZodTypeAny, {
|
|
5444
5475
|
from?: number | undefined;
|
|
5445
5476
|
to?: number | undefined;
|
|
5446
|
-
entityTypes?: string[] | undefined;
|
|
5447
5477
|
filters?: {
|
|
5448
5478
|
userId?: string[] | null | undefined;
|
|
5449
5479
|
sessionId?: string[] | null | undefined;
|
|
5450
5480
|
} | undefined;
|
|
5481
|
+
entityTypes?: string[] | undefined;
|
|
5451
5482
|
}, {
|
|
5452
5483
|
from?: number | undefined;
|
|
5453
5484
|
to?: number | undefined;
|
|
5454
|
-
entityTypes?: string[] | undefined;
|
|
5455
5485
|
filters?: {
|
|
5456
5486
|
userId?: string[] | null | undefined;
|
|
5457
5487
|
sessionId?: string[] | null | undefined;
|
|
5458
5488
|
} | undefined;
|
|
5489
|
+
entityTypes?: string[] | undefined;
|
|
5459
5490
|
}>;
|
|
5460
5491
|
type UsageSummaryParams = z$1.infer<typeof UsageSummaryParamsSchema>;
|
|
5461
5492
|
declare const UsageOrderBySchema: z$1.ZodEnum<["key", "total_quantity", "event_count"]>;
|
|
@@ -6596,16 +6627,16 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
6596
6627
|
userId: string;
|
|
6597
6628
|
id: string;
|
|
6598
6629
|
url: string;
|
|
6599
|
-
allowedTools: string[];
|
|
6600
6630
|
authConfigs: string[];
|
|
6631
|
+
allowedTools: string[];
|
|
6601
6632
|
}, {
|
|
6602
6633
|
name: string;
|
|
6603
6634
|
type: "streamable_http";
|
|
6604
6635
|
userId: string;
|
|
6605
6636
|
id: string;
|
|
6606
6637
|
url: string;
|
|
6607
|
-
allowedTools: string[];
|
|
6608
6638
|
authConfigs: string[];
|
|
6639
|
+
allowedTools: string[];
|
|
6609
6640
|
}>;
|
|
6610
6641
|
type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
|
|
6611
6642
|
declare const MCPConfigCreationParamsSchema: z.ZodObject<{
|
|
@@ -6732,15 +6763,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
6732
6763
|
}, "strip", z.ZodTypeAny, {
|
|
6733
6764
|
toolkits: string[];
|
|
6734
6765
|
limit: number;
|
|
6735
|
-
page: number;
|
|
6736
6766
|
authConfigs: string[];
|
|
6767
|
+
page: number;
|
|
6737
6768
|
name?: string | undefined;
|
|
6738
6769
|
}, {
|
|
6739
6770
|
name?: string | undefined;
|
|
6740
6771
|
toolkits?: string[] | undefined;
|
|
6741
6772
|
limit?: number | undefined;
|
|
6742
|
-
page?: number | undefined;
|
|
6743
6773
|
authConfigs?: string[] | undefined;
|
|
6774
|
+
page?: number | undefined;
|
|
6744
6775
|
}>;
|
|
6745
6776
|
type MCPListParams = z.infer<typeof MCPListParamsSchema>;
|
|
6746
6777
|
declare const MCPItemSchema: z.ZodObject<{
|
|
@@ -7229,17 +7260,17 @@ declare const WebhookSubscriptionSchema: z$1.ZodObject<{
|
|
|
7229
7260
|
id: string;
|
|
7230
7261
|
webhookUrl: string;
|
|
7231
7262
|
enabledEvents: string[];
|
|
7263
|
+
createdAt?: string | undefined;
|
|
7232
7264
|
updatedAt?: string | undefined;
|
|
7233
7265
|
secret?: string | undefined;
|
|
7234
|
-
createdAt?: string | undefined;
|
|
7235
7266
|
}, {
|
|
7236
7267
|
version: "V1" | "V2" | "V3";
|
|
7237
7268
|
id: string;
|
|
7238
7269
|
webhookUrl: string;
|
|
7239
7270
|
enabledEvents: string[];
|
|
7271
|
+
createdAt?: string | undefined;
|
|
7240
7272
|
updatedAt?: string | undefined;
|
|
7241
7273
|
secret?: string | undefined;
|
|
7242
|
-
createdAt?: string | undefined;
|
|
7243
7274
|
}>;
|
|
7244
7275
|
declare const WebhookSubscriptionListParamsSchema: z$1.ZodObject<{
|
|
7245
7276
|
/** Number of items per page, max allowed is 50. */
|
|
@@ -7268,17 +7299,17 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
|
|
|
7268
7299
|
id: string;
|
|
7269
7300
|
webhookUrl: string;
|
|
7270
7301
|
enabledEvents: string[];
|
|
7302
|
+
createdAt?: string | undefined;
|
|
7271
7303
|
updatedAt?: string | undefined;
|
|
7272
7304
|
secret?: string | undefined;
|
|
7273
|
-
createdAt?: string | undefined;
|
|
7274
7305
|
}, {
|
|
7275
7306
|
version: "V1" | "V2" | "V3";
|
|
7276
7307
|
id: string;
|
|
7277
7308
|
webhookUrl: string;
|
|
7278
7309
|
enabledEvents: string[];
|
|
7310
|
+
createdAt?: string | undefined;
|
|
7279
7311
|
updatedAt?: string | undefined;
|
|
7280
7312
|
secret?: string | undefined;
|
|
7281
|
-
createdAt?: string | undefined;
|
|
7282
7313
|
}>, "many">;
|
|
7283
7314
|
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
7284
7315
|
totalPages: z$1.ZodNumber;
|
|
@@ -7290,9 +7321,9 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
|
|
|
7290
7321
|
id: string;
|
|
7291
7322
|
webhookUrl: string;
|
|
7292
7323
|
enabledEvents: string[];
|
|
7324
|
+
createdAt?: string | undefined;
|
|
7293
7325
|
updatedAt?: string | undefined;
|
|
7294
7326
|
secret?: string | undefined;
|
|
7295
|
-
createdAt?: string | undefined;
|
|
7296
7327
|
}[];
|
|
7297
7328
|
nextCursor: string | null;
|
|
7298
7329
|
totalPages: number;
|
|
@@ -7304,9 +7335,9 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
|
|
|
7304
7335
|
id: string;
|
|
7305
7336
|
webhookUrl: string;
|
|
7306
7337
|
enabledEvents: string[];
|
|
7338
|
+
createdAt?: string | undefined;
|
|
7307
7339
|
updatedAt?: string | undefined;
|
|
7308
7340
|
secret?: string | undefined;
|
|
7309
|
-
createdAt?: string | undefined;
|
|
7310
7341
|
}[];
|
|
7311
7342
|
nextCursor: string | null;
|
|
7312
7343
|
totalPages: number;
|
|
@@ -7475,15 +7506,15 @@ declare const WebhookEndpointSchema: z$1.ZodObject<{
|
|
|
7475
7506
|
toolkitSlug: string;
|
|
7476
7507
|
data: Record<string, string> | null;
|
|
7477
7508
|
id: string;
|
|
7478
|
-
webhookUrl: string;
|
|
7479
7509
|
createdAt: string;
|
|
7510
|
+
webhookUrl: string;
|
|
7480
7511
|
clientId: string | null;
|
|
7481
7512
|
}, {
|
|
7482
7513
|
toolkitSlug: string;
|
|
7483
7514
|
data: Record<string, string> | null;
|
|
7484
7515
|
id: string;
|
|
7485
|
-
webhookUrl: string;
|
|
7486
7516
|
createdAt: string;
|
|
7517
|
+
webhookUrl: string;
|
|
7487
7518
|
clientId: string | null;
|
|
7488
7519
|
}>;
|
|
7489
7520
|
type WebhookEndpoint = z$1.infer<typeof WebhookEndpointSchema>;
|
|
@@ -8252,14 +8283,14 @@ declare const SessionConfigSummarySchema: z$1.ZodObject<{
|
|
|
8252
8283
|
}, "strip", z$1.ZodTypeAny, {
|
|
8253
8284
|
name: string;
|
|
8254
8285
|
id: string;
|
|
8255
|
-
updatedAt: string;
|
|
8256
8286
|
createdAt: string;
|
|
8287
|
+
updatedAt: string;
|
|
8257
8288
|
archived: boolean;
|
|
8258
8289
|
}, {
|
|
8259
8290
|
name: string;
|
|
8260
8291
|
id: string;
|
|
8261
|
-
updatedAt: string;
|
|
8262
8292
|
createdAt: string;
|
|
8293
|
+
updatedAt: string;
|
|
8263
8294
|
archived: boolean;
|
|
8264
8295
|
}>;
|
|
8265
8296
|
type SessionConfigSummary = z$1.infer<typeof SessionConfigSummarySchema>;
|
|
@@ -8277,14 +8308,14 @@ declare const SessionConfigListResponseSchema: z$1.ZodObject<{
|
|
|
8277
8308
|
}, "strip", z$1.ZodTypeAny, {
|
|
8278
8309
|
name: string;
|
|
8279
8310
|
id: string;
|
|
8280
|
-
updatedAt: string;
|
|
8281
8311
|
createdAt: string;
|
|
8312
|
+
updatedAt: string;
|
|
8282
8313
|
archived: boolean;
|
|
8283
8314
|
}, {
|
|
8284
8315
|
name: string;
|
|
8285
8316
|
id: string;
|
|
8286
|
-
updatedAt: string;
|
|
8287
8317
|
createdAt: string;
|
|
8318
|
+
updatedAt: string;
|
|
8288
8319
|
archived: boolean;
|
|
8289
8320
|
}>, "many">;
|
|
8290
8321
|
/** Cursor for the next page, or `null` on the last page. */
|
|
@@ -8293,8 +8324,8 @@ declare const SessionConfigListResponseSchema: z$1.ZodObject<{
|
|
|
8293
8324
|
items: {
|
|
8294
8325
|
name: string;
|
|
8295
8326
|
id: string;
|
|
8296
|
-
updatedAt: string;
|
|
8297
8327
|
createdAt: string;
|
|
8328
|
+
updatedAt: string;
|
|
8298
8329
|
archived: boolean;
|
|
8299
8330
|
}[];
|
|
8300
8331
|
nextCursor: string | null;
|
|
@@ -8302,8 +8333,8 @@ declare const SessionConfigListResponseSchema: z$1.ZodObject<{
|
|
|
8302
8333
|
items: {
|
|
8303
8334
|
name: string;
|
|
8304
8335
|
id: string;
|
|
8305
|
-
updatedAt: string;
|
|
8306
8336
|
createdAt: string;
|
|
8337
|
+
updatedAt: string;
|
|
8307
8338
|
archived: boolean;
|
|
8308
8339
|
}[];
|
|
8309
8340
|
nextCursor: string | null;
|
|
@@ -8655,6 +8686,7 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8655
8686
|
name: string;
|
|
8656
8687
|
description: string | null;
|
|
8657
8688
|
id: string;
|
|
8689
|
+
createdAt: string;
|
|
8658
8690
|
updatedAt: string;
|
|
8659
8691
|
config: {
|
|
8660
8692
|
tags?: {
|
|
@@ -8688,12 +8720,12 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8688
8720
|
require_approval: string[];
|
|
8689
8721
|
} | undefined;
|
|
8690
8722
|
};
|
|
8691
|
-
createdAt: string;
|
|
8692
8723
|
archived: boolean;
|
|
8693
8724
|
}, {
|
|
8694
8725
|
name: string;
|
|
8695
8726
|
description: string | null;
|
|
8696
8727
|
id: string;
|
|
8728
|
+
createdAt: string;
|
|
8697
8729
|
updatedAt: string;
|
|
8698
8730
|
config: {
|
|
8699
8731
|
tags?: {
|
|
@@ -8727,7 +8759,6 @@ declare const SessionConfigSchema: z$1.ZodObject<{
|
|
|
8727
8759
|
require_approval: string[];
|
|
8728
8760
|
} | undefined;
|
|
8729
8761
|
};
|
|
8730
|
-
createdAt: string;
|
|
8731
8762
|
archived: boolean;
|
|
8732
8763
|
}>;
|
|
8733
8764
|
type SessionConfig = z$1.infer<typeof SessionConfigSchema>;
|