@composio/core 0.33.1-canary.1 → 0.33.1-canary.2

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.
@@ -1,4 +1,4 @@
1
- import { S as LocalTool, o as CreateLocalToolParams, s as CreateLocalToolkitParams, t as AnyZodSchema, w as LocalToolkit } from "./customTool.types-CneGTXg4.mjs";
1
+ import { S as LocalTool, o as CreateLocalToolParams, s as CreateLocalToolkitParams, t as AnyZodSchema, w as LocalToolkit } from "./customTool.types-CJkoAqUb.mjs";
2
2
  import "@composio/client/resources/tool-router/session";
3
3
  /**
4
4
  * Create a local tool for use in tool router sessions.
@@ -1,4 +1,4 @@
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-CneGTXg4.mjs";
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-CJkoAqUb.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";
@@ -603,7 +603,6 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
603
603
  description?: string | undefined;
604
604
  availableVersions?: string[] | undefined;
605
605
  createdAt?: string | undefined;
606
- updatedAt?: string | undefined;
607
606
  categories?: {
608
607
  slug: string;
609
608
  name: string;
@@ -611,12 +610,12 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
611
610
  appUrl?: 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
- updatedAt?: string | undefined;
620
619
  categories?: {
621
620
  slug: string;
622
621
  name: string;
@@ -624,6 +623,7 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
624
623
  appUrl?: 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;
@@ -652,7 +652,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
652
652
  description?: string | undefined;
653
653
  availableVersions?: string[] | undefined;
654
654
  createdAt?: string | undefined;
655
- updatedAt?: string | undefined;
656
655
  categories?: {
657
656
  slug: string;
658
657
  name: string;
@@ -660,12 +659,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
660
659
  appUrl?: 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
- updatedAt?: string | undefined;
669
668
  categories?: {
670
669
  slug: string;
671
670
  name: string;
@@ -673,6 +672,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
673
672
  appUrl?: 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">>;
@@ -686,7 +686,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
686
686
  description?: string | undefined;
687
687
  availableVersions?: string[] | undefined;
688
688
  createdAt?: string | undefined;
689
- updatedAt?: string | undefined;
690
689
  categories?: {
691
690
  slug: string;
692
691
  name: string;
@@ -694,6 +693,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
694
693
  appUrl?: 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;
@@ -707,7 +707,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
707
707
  description?: string | undefined;
708
708
  availableVersions?: string[] | undefined;
709
709
  createdAt?: string | undefined;
710
- updatedAt?: string | undefined;
711
710
  categories?: {
712
711
  slug: string;
713
712
  name: string;
@@ -715,6 +714,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
715
714
  appUrl?: 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;
@@ -748,7 +748,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
748
748
  description?: string | undefined;
749
749
  availableVersions?: string[] | undefined;
750
750
  createdAt?: string | undefined;
751
- updatedAt?: string | undefined;
752
751
  categories?: {
753
752
  slug: string;
754
753
  name: string;
@@ -756,12 +755,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
756
755
  appUrl?: 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
- updatedAt?: string | undefined;
765
764
  categories?: {
766
765
  slug: string;
767
766
  name: string;
@@ -769,6 +768,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
769
768
  appUrl?: 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">>;
@@ -782,7 +782,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
782
782
  description?: string | undefined;
783
783
  availableVersions?: string[] | undefined;
784
784
  createdAt?: string | undefined;
785
- updatedAt?: string | undefined;
786
785
  categories?: {
787
786
  slug: string;
788
787
  name: string;
@@ -790,6 +789,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
790
789
  appUrl?: 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;
@@ -803,7 +803,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
803
803
  description?: string | undefined;
804
804
  availableVersions?: string[] | undefined;
805
805
  createdAt?: string | undefined;
806
- updatedAt?: string | undefined;
807
806
  categories?: {
808
807
  slug: string;
809
808
  name: string;
@@ -811,6 +810,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
811
810
  appUrl?: 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;
@@ -884,6 +884,7 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
884
884
  * scopes. Mapped from `required_scopes`; absent when the API omits it.
885
885
  */
886
886
  requiredScopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
887
+ isConnectionRevokeSupported: z$1.ZodOptional<z$1.ZodBoolean>;
887
888
  fields: z$1.ZodObject<{
888
889
  authConfigCreation: z$1.ZodObject<{
889
890
  optional: z$1.ZodArray<z$1.ZodObject<{
@@ -1330,6 +1331,7 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1330
1331
  };
1331
1332
  authHintUrl?: string | null | undefined;
1332
1333
  requiredScopes?: string[] | undefined;
1334
+ isConnectionRevokeSupported?: boolean | undefined;
1333
1335
  proxy?: {
1334
1336
  baseUrl?: string | undefined;
1335
1337
  } | undefined;
@@ -1388,6 +1390,7 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1388
1390
  };
1389
1391
  authHintUrl?: string | null | undefined;
1390
1392
  requiredScopes?: string[] | undefined;
1393
+ isConnectionRevokeSupported?: boolean | undefined;
1391
1394
  proxy?: {
1392
1395
  baseUrl?: string | undefined;
1393
1396
  } | undefined;
@@ -1464,7 +1467,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1464
1467
  description?: string | undefined;
1465
1468
  availableVersions?: string[] | undefined;
1466
1469
  createdAt?: string | undefined;
1467
- updatedAt?: string | undefined;
1468
1470
  categories?: {
1469
1471
  slug: string;
1470
1472
  name: string;
@@ -1472,12 +1474,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1472
1474
  appUrl?: string | undefined;
1473
1475
  toolsCount?: number | undefined;
1474
1476
  triggersCount?: number | undefined;
1477
+ updatedAt?: string | undefined;
1475
1478
  }, {
1476
1479
  logo?: string | undefined;
1477
1480
  description?: string | undefined;
1478
1481
  availableVersions?: string[] | undefined;
1479
1482
  createdAt?: string | undefined;
1480
- updatedAt?: string | undefined;
1481
1483
  categories?: {
1482
1484
  slug: string;
1483
1485
  name: string;
@@ -1485,6 +1487,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1485
1487
  appUrl?: string | undefined;
1486
1488
  toolsCount?: number | undefined;
1487
1489
  triggersCount?: number | undefined;
1490
+ updatedAt?: string | undefined;
1488
1491
  }>;
1489
1492
  isLocalToolkit: z$1.ZodBoolean;
1490
1493
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -1544,6 +1547,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1544
1547
  * scopes. Mapped from `required_scopes`; absent when the API omits it.
1545
1548
  */
1546
1549
  requiredScopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1550
+ isConnectionRevokeSupported: z$1.ZodOptional<z$1.ZodBoolean>;
1547
1551
  fields: z$1.ZodObject<{
1548
1552
  authConfigCreation: z$1.ZodObject<{
1549
1553
  optional: z$1.ZodArray<z$1.ZodObject<{
@@ -1990,6 +1994,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1990
1994
  };
1991
1995
  authHintUrl?: string | null | undefined;
1992
1996
  requiredScopes?: string[] | undefined;
1997
+ isConnectionRevokeSupported?: boolean | undefined;
1993
1998
  proxy?: {
1994
1999
  baseUrl?: string | undefined;
1995
2000
  } | undefined;
@@ -2048,6 +2053,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2048
2053
  };
2049
2054
  authHintUrl?: string | null | undefined;
2050
2055
  requiredScopes?: string[] | undefined;
2056
+ isConnectionRevokeSupported?: boolean | undefined;
2051
2057
  proxy?: {
2052
2058
  baseUrl?: string | undefined;
2053
2059
  } | undefined;
@@ -2063,7 +2069,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2063
2069
  description?: string | undefined;
2064
2070
  availableVersions?: string[] | undefined;
2065
2071
  createdAt?: string | undefined;
2066
- updatedAt?: string | undefined;
2067
2072
  categories?: {
2068
2073
  slug: string;
2069
2074
  name: string;
@@ -2071,6 +2076,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2071
2076
  appUrl?: string | undefined;
2072
2077
  toolsCount?: number | undefined;
2073
2078
  triggersCount?: number | undefined;
2079
+ updatedAt?: string | undefined;
2074
2080
  };
2075
2081
  isLocalToolkit: boolean;
2076
2082
  composioManagedAuthSchemes?: string[] | undefined;
@@ -2141,6 +2147,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2141
2147
  };
2142
2148
  authHintUrl?: string | null | undefined;
2143
2149
  requiredScopes?: string[] | undefined;
2150
+ isConnectionRevokeSupported?: boolean | undefined;
2144
2151
  proxy?: {
2145
2152
  baseUrl?: string | undefined;
2146
2153
  } | undefined;
@@ -2155,7 +2162,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2155
2162
  description?: string | undefined;
2156
2163
  availableVersions?: string[] | undefined;
2157
2164
  createdAt?: string | undefined;
2158
- updatedAt?: string | undefined;
2159
2165
  categories?: {
2160
2166
  slug: string;
2161
2167
  name: string;
@@ -2163,6 +2169,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2163
2169
  appUrl?: string | undefined;
2164
2170
  toolsCount?: number | undefined;
2165
2171
  triggersCount?: number | undefined;
2172
+ updatedAt?: string | undefined;
2166
2173
  };
2167
2174
  isLocalToolkit: boolean;
2168
2175
  composioManagedAuthSchemes?: string[] | undefined;
@@ -2233,6 +2240,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2233
2240
  };
2234
2241
  authHintUrl?: string | null | undefined;
2235
2242
  requiredScopes?: string[] | undefined;
2243
+ isConnectionRevokeSupported?: boolean | undefined;
2236
2244
  proxy?: {
2237
2245
  baseUrl?: string | undefined;
2238
2246
  } | undefined;
@@ -3625,28 +3633,28 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
3625
3633
  type: "webhook" | "poll";
3626
3634
  connectedAccountId: string;
3627
3635
  id: string;
3628
- disabledAt: string | null;
3629
3636
  state: Record<string, unknown>;
3637
+ updatedAt: string;
3638
+ disabledAt: string | null;
3630
3639
  triggerConfig: Record<string, unknown>;
3631
3640
  triggerName: string;
3632
- updatedAt: string;
3633
3641
  fallbackReason: string | null;
3634
3642
  pollingInterval: number | null;
3635
- triggerData?: string | undefined;
3636
3643
  uuid?: string | undefined;
3644
+ triggerData?: string | undefined;
3637
3645
  }, {
3638
3646
  type: "webhook" | "poll";
3639
3647
  connectedAccountId: string;
3640
3648
  id: string;
3641
- disabledAt: string | null;
3642
3649
  state: Record<string, unknown>;
3650
+ updatedAt: string;
3651
+ disabledAt: string | null;
3643
3652
  triggerConfig: Record<string, unknown>;
3644
3653
  triggerName: string;
3645
- updatedAt: string;
3646
3654
  fallbackReason: string | null;
3647
3655
  pollingInterval: number | null;
3648
- triggerData?: string | undefined;
3649
3656
  uuid?: string | undefined;
3657
+ triggerData?: string | undefined;
3650
3658
  }>;
3651
3659
  declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
3652
3660
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -3666,28 +3674,28 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
3666
3674
  type: "webhook" | "poll";
3667
3675
  connectedAccountId: string;
3668
3676
  id: string;
3669
- disabledAt: string | null;
3670
3677
  state: Record<string, unknown>;
3678
+ updatedAt: string;
3679
+ disabledAt: string | null;
3671
3680
  triggerConfig: Record<string, unknown>;
3672
3681
  triggerName: string;
3673
- updatedAt: string;
3674
3682
  fallbackReason: string | null;
3675
3683
  pollingInterval: number | null;
3676
- triggerData?: string | undefined;
3677
3684
  uuid?: string | undefined;
3685
+ triggerData?: string | undefined;
3678
3686
  }, {
3679
3687
  type: "webhook" | "poll";
3680
3688
  connectedAccountId: string;
3681
3689
  id: string;
3682
- disabledAt: string | null;
3683
3690
  state: Record<string, unknown>;
3691
+ updatedAt: string;
3692
+ disabledAt: string | null;
3684
3693
  triggerConfig: Record<string, unknown>;
3685
3694
  triggerName: string;
3686
- updatedAt: string;
3687
3695
  fallbackReason: string | null;
3688
3696
  pollingInterval: number | null;
3689
- triggerData?: string | undefined;
3690
3697
  uuid?: string | undefined;
3698
+ triggerData?: string | undefined;
3691
3699
  }>, "many">;
3692
3700
  nextCursor: z$1.ZodNullable<z$1.ZodString>;
3693
3701
  totalPages: z$1.ZodNumber;
@@ -3696,15 +3704,15 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
3696
3704
  type: "webhook" | "poll";
3697
3705
  connectedAccountId: string;
3698
3706
  id: string;
3699
- disabledAt: string | null;
3700
3707
  state: Record<string, unknown>;
3708
+ updatedAt: string;
3709
+ disabledAt: string | null;
3701
3710
  triggerConfig: Record<string, unknown>;
3702
3711
  triggerName: string;
3703
- updatedAt: string;
3704
3712
  fallbackReason: string | null;
3705
3713
  pollingInterval: number | null;
3706
- triggerData?: string | undefined;
3707
3714
  uuid?: string | undefined;
3715
+ triggerData?: string | undefined;
3708
3716
  }[];
3709
3717
  nextCursor: string | null;
3710
3718
  totalPages: number;
@@ -3713,15 +3721,15 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
3713
3721
  type: "webhook" | "poll";
3714
3722
  connectedAccountId: string;
3715
3723
  id: string;
3716
- disabledAt: string | null;
3717
3724
  state: Record<string, unknown>;
3725
+ updatedAt: string;
3726
+ disabledAt: string | null;
3718
3727
  triggerConfig: Record<string, unknown>;
3719
3728
  triggerName: string;
3720
- updatedAt: string;
3721
3729
  fallbackReason: string | null;
3722
3730
  pollingInterval: number | null;
3723
- triggerData?: string | undefined;
3724
3731
  uuid?: string | undefined;
3732
+ triggerData?: string | undefined;
3725
3733
  }[];
3726
3734
  nextCursor: string | null;
3727
3735
  totalPages: number;
@@ -3812,15 +3820,15 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3812
3820
  status: "ACTIVE" | "INACTIVE";
3813
3821
  userId: string;
3814
3822
  id: string;
3815
- authConfigId: string;
3816
3823
  uuid: string;
3824
+ authConfigId: string;
3817
3825
  authConfigUUID: string;
3818
3826
  }, {
3819
3827
  status: "ACTIVE" | "INACTIVE";
3820
3828
  userId: string;
3821
3829
  id: string;
3822
- authConfigId: string;
3823
3830
  uuid: string;
3831
+ authConfigId: string;
3824
3832
  authConfigUUID: string;
3825
3833
  }>;
3826
3834
  }, "strip", z$1.ZodTypeAny, {
@@ -3830,13 +3838,13 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3830
3838
  status: "ACTIVE" | "INACTIVE";
3831
3839
  userId: string;
3832
3840
  id: string;
3833
- authConfigId: string;
3834
3841
  uuid: string;
3842
+ authConfigId: string;
3835
3843
  authConfigUUID: string;
3836
3844
  };
3845
+ uuid: string;
3837
3846
  triggerSlug: string;
3838
3847
  triggerConfig: Record<string, unknown>;
3839
- uuid: string;
3840
3848
  triggerData?: string | undefined;
3841
3849
  }, {
3842
3850
  toolkitSlug: string;
@@ -3845,20 +3853,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3845
3853
  status: "ACTIVE" | "INACTIVE";
3846
3854
  userId: string;
3847
3855
  id: string;
3848
- authConfigId: string;
3849
3856
  uuid: string;
3857
+ authConfigId: string;
3850
3858
  authConfigUUID: string;
3851
3859
  };
3860
+ uuid: string;
3852
3861
  triggerSlug: string;
3853
3862
  triggerConfig: Record<string, unknown>;
3854
- uuid: string;
3855
3863
  triggerData?: string | undefined;
3856
3864
  }>;
3857
3865
  }, "strip", z$1.ZodTypeAny, {
3858
3866
  toolkitSlug: string;
3859
3867
  userId: string;
3860
3868
  id: string;
3861
- triggerSlug: string;
3862
3869
  uuid: string;
3863
3870
  metadata: {
3864
3871
  toolkitSlug: string;
@@ -3867,22 +3874,22 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3867
3874
  status: "ACTIVE" | "INACTIVE";
3868
3875
  userId: string;
3869
3876
  id: string;
3870
- authConfigId: string;
3871
3877
  uuid: string;
3878
+ authConfigId: string;
3872
3879
  authConfigUUID: string;
3873
3880
  };
3881
+ uuid: string;
3874
3882
  triggerSlug: string;
3875
3883
  triggerConfig: Record<string, unknown>;
3876
- uuid: string;
3877
3884
  triggerData?: string | undefined;
3878
3885
  };
3886
+ triggerSlug: string;
3879
3887
  payload?: Record<string, unknown> | undefined;
3880
3888
  originalPayload?: Record<string, unknown> | undefined;
3881
3889
  }, {
3882
3890
  toolkitSlug: string;
3883
3891
  userId: string;
3884
3892
  id: string;
3885
- triggerSlug: string;
3886
3893
  uuid: string;
3887
3894
  metadata: {
3888
3895
  toolkitSlug: string;
@@ -3891,15 +3898,16 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3891
3898
  status: "ACTIVE" | "INACTIVE";
3892
3899
  userId: string;
3893
3900
  id: string;
3894
- authConfigId: string;
3895
3901
  uuid: string;
3902
+ authConfigId: string;
3896
3903
  authConfigUUID: string;
3897
3904
  };
3905
+ uuid: string;
3898
3906
  triggerSlug: string;
3899
3907
  triggerConfig: Record<string, unknown>;
3900
- uuid: string;
3901
3908
  triggerData?: string | undefined;
3902
3909
  };
3910
+ triggerSlug: string;
3903
3911
  payload?: Record<string, unknown> | undefined;
3904
3912
  originalPayload?: Record<string, unknown> | undefined;
3905
3913
  }>;
@@ -4170,29 +4178,29 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
4170
4178
  }, "strip", z$1.ZodTypeAny, {
4171
4179
  type: string;
4172
4180
  data: {
4181
+ user_id: string;
4173
4182
  connection_id: string;
4174
4183
  trigger_id: string;
4175
4184
  connection_nano_id: string;
4176
4185
  trigger_nano_id: string;
4177
- user_id: string;
4178
4186
  } & {
4179
4187
  [k: string]: unknown;
4180
4188
  };
4181
- log_id: string;
4182
4189
  timestamp: string;
4190
+ log_id: string;
4183
4191
  }, {
4184
4192
  type: string;
4185
4193
  data: {
4194
+ user_id: string;
4186
4195
  connection_id: string;
4187
4196
  trigger_id: string;
4188
4197
  connection_nano_id: string;
4189
4198
  trigger_nano_id: string;
4190
- user_id: string;
4191
4199
  } & {
4192
4200
  [k: string]: unknown;
4193
4201
  };
4194
- log_id: string;
4195
4202
  timestamp: string;
4203
+ log_id: string;
4196
4204
  }>;
4197
4205
  type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
4198
4206
  /** V3 webhook payload - generic envelope for all composio.* events */
@@ -4206,14 +4214,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
4206
4214
  type: string;
4207
4215
  data: Record<string, unknown>;
4208
4216
  id: string;
4209
- metadata: Record<string, unknown>;
4210
4217
  timestamp: string;
4218
+ metadata: Record<string, unknown>;
4211
4219
  }, {
4212
4220
  type: string;
4213
4221
  data: Record<string, unknown>;
4214
4222
  id: string;
4215
- metadata: Record<string, unknown>;
4216
4223
  timestamp: string;
4224
+ metadata: Record<string, unknown>;
4217
4225
  }>;
4218
4226
  type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
4219
4227
  /** V3 trigger-specific payload - has trigger metadata fields */
@@ -4248,32 +4256,32 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
4248
4256
  type: string;
4249
4257
  data: Record<string, unknown>;
4250
4258
  id: string;
4259
+ timestamp: string;
4251
4260
  metadata: {
4261
+ user_id: string;
4262
+ connected_account_id: string;
4252
4263
  trigger_id: string;
4253
4264
  log_id: string;
4254
- user_id: string;
4255
4265
  trigger_slug: string;
4256
- connected_account_id: string;
4257
4266
  auth_config_id: string;
4258
4267
  } & {
4259
4268
  [k: string]: unknown;
4260
4269
  };
4261
- timestamp: string;
4262
4270
  }, {
4263
4271
  type: string;
4264
4272
  data: Record<string, unknown>;
4265
4273
  id: string;
4274
+ timestamp: string;
4266
4275
  metadata: {
4276
+ user_id: string;
4277
+ connected_account_id: string;
4267
4278
  trigger_id: string;
4268
4279
  log_id: string;
4269
- user_id: string;
4270
4280
  trigger_slug: string;
4271
- connected_account_id: string;
4272
4281
  auth_config_id: string;
4273
4282
  } & {
4274
4283
  [k: string]: unknown;
4275
4284
  };
4276
- timestamp: string;
4277
4285
  }>;
4278
4286
  type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
4279
4287
  /** Union of all webhook payload versions */
@@ -4287,14 +4295,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
4287
4295
  type: string;
4288
4296
  data: Record<string, unknown>;
4289
4297
  id: string;
4290
- metadata: Record<string, unknown>;
4291
4298
  timestamp: string;
4299
+ metadata: Record<string, unknown>;
4292
4300
  }, {
4293
4301
  type: string;
4294
4302
  data: Record<string, unknown>;
4295
4303
  id: string;
4296
- metadata: Record<string, unknown>;
4297
4304
  timestamp: string;
4305
+ metadata: Record<string, unknown>;
4298
4306
  }>, z$1.ZodObject<{
4299
4307
  type: z$1.ZodString;
4300
4308
  timestamp: z$1.ZodString;
@@ -4321,29 +4329,29 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
4321
4329
  }, "strip", z$1.ZodTypeAny, {
4322
4330
  type: string;
4323
4331
  data: {
4332
+ user_id: string;
4324
4333
  connection_id: string;
4325
4334
  trigger_id: string;
4326
4335
  connection_nano_id: string;
4327
4336
  trigger_nano_id: string;
4328
- user_id: string;
4329
4337
  } & {
4330
4338
  [k: string]: unknown;
4331
4339
  };
4332
- log_id: string;
4333
4340
  timestamp: string;
4341
+ log_id: string;
4334
4342
  }, {
4335
4343
  type: string;
4336
4344
  data: {
4345
+ user_id: string;
4337
4346
  connection_id: string;
4338
4347
  trigger_id: string;
4339
4348
  connection_nano_id: string;
4340
4349
  trigger_nano_id: string;
4341
- user_id: string;
4342
4350
  } & {
4343
4351
  [k: string]: unknown;
4344
4352
  };
4345
- log_id: string;
4346
4353
  timestamp: string;
4354
+ log_id: string;
4347
4355
  }>, z$1.ZodObject<{
4348
4356
  trigger_name: z$1.ZodString;
4349
4357
  connection_id: z$1.ZodString;
@@ -4432,16 +4440,16 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
4432
4440
  maxBodyBytes: z$1.ZodOptional<z$1.ZodNumber>;
4433
4441
  }, "strip", z$1.ZodTypeAny, {
4434
4442
  id: string;
4435
- payload: string;
4436
4443
  timestamp: string;
4444
+ payload: string;
4437
4445
  secret: string;
4438
4446
  signature: string;
4439
4447
  tolerance: number;
4440
4448
  maxBodyBytes?: number | undefined;
4441
4449
  }, {
4442
4450
  id: string;
4443
- payload: string;
4444
4451
  timestamp: string;
4452
+ payload: string;
4445
4453
  secret: string;
4446
4454
  signature: string;
4447
4455
  tolerance?: number | undefined;
@@ -5474,19 +5482,19 @@ declare const UsageSummaryParamsSchema: z$1.ZodObject<{
5474
5482
  }, "strip", z$1.ZodTypeAny, {
5475
5483
  from?: number | undefined;
5476
5484
  to?: number | undefined;
5485
+ entityTypes?: string[] | undefined;
5477
5486
  filters?: {
5478
5487
  userId?: string[] | null | undefined;
5479
5488
  sessionId?: string[] | null | undefined;
5480
5489
  } | undefined;
5481
- entityTypes?: string[] | undefined;
5482
5490
  }, {
5483
5491
  from?: number | undefined;
5484
5492
  to?: number | undefined;
5493
+ entityTypes?: string[] | undefined;
5485
5494
  filters?: {
5486
5495
  userId?: string[] | null | undefined;
5487
5496
  sessionId?: string[] | null | undefined;
5488
5497
  } | undefined;
5489
- entityTypes?: string[] | undefined;
5490
5498
  }>;
5491
5499
  type UsageSummaryParams = z$1.infer<typeof UsageSummaryParamsSchema>;
5492
5500
  declare const UsageOrderBySchema: z$1.ZodEnum<["key", "total_quantity", "event_count"]>;
@@ -6627,16 +6635,16 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
6627
6635
  userId: string;
6628
6636
  id: string;
6629
6637
  url: string;
6630
- authConfigs: string[];
6631
6638
  allowedTools: string[];
6639
+ authConfigs: string[];
6632
6640
  }, {
6633
6641
  name: string;
6634
6642
  type: "streamable_http";
6635
6643
  userId: string;
6636
6644
  id: string;
6637
6645
  url: string;
6638
- authConfigs: string[];
6639
6646
  allowedTools: string[];
6647
+ authConfigs: string[];
6640
6648
  }>;
6641
6649
  type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
6642
6650
  declare const MCPConfigCreationParamsSchema: z.ZodObject<{
@@ -6763,15 +6771,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
6763
6771
  }, "strip", z.ZodTypeAny, {
6764
6772
  toolkits: string[];
6765
6773
  limit: number;
6766
- authConfigs: string[];
6767
6774
  page: number;
6775
+ authConfigs: string[];
6768
6776
  name?: string | undefined;
6769
6777
  }, {
6770
6778
  name?: string | undefined;
6771
6779
  toolkits?: string[] | undefined;
6772
6780
  limit?: number | undefined;
6773
- authConfigs?: string[] | undefined;
6774
6781
  page?: number | undefined;
6782
+ authConfigs?: string[] | undefined;
6775
6783
  }>;
6776
6784
  type MCPListParams = z.infer<typeof MCPListParamsSchema>;
6777
6785
  declare const MCPItemSchema: z.ZodObject<{
@@ -7773,6 +7781,10 @@ declare class Webhooks {
7773
7781
  */
7774
7782
  declare const LogSearchFilterFieldSchema: z$1.ZodEnum<["tool_slug", "toolkit_slug", "connected_account_id", "auth_config_id", "status", "user_id", "session_id", "sandbox_id", "request_id", "log_id"]>;
7775
7783
  type LogSearchFilterField = z$1.infer<typeof LogSearchFilterFieldSchema>;
7784
+ /**
7785
+ * The legacy substring operators remain in the input type for source compatibility.
7786
+ * Tool-log search rejects them because the API now supports only equality and inequality.
7787
+ */
7776
7788
  declare const LogSearchFilterOperatorSchema: z$1.ZodEnum<["==", "!=", "contains", "not_contains"]>;
7777
7789
  type LogSearchFilterOperator = z$1.infer<typeof LogSearchFilterOperatorSchema>;
7778
7790
  declare const LogSearchFilterSchema: z$1.ZodObject<{
@@ -7781,11 +7793,11 @@ declare const LogSearchFilterSchema: z$1.ZodObject<{
7781
7793
  value: z$1.ZodString;
7782
7794
  }, "strip", z$1.ZodTypeAny, {
7783
7795
  value: string;
7784
- field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "session_id" | "toolkit_slug" | "tool_slug" | "sandbox_id" | "request_id";
7796
+ field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
7785
7797
  operator: "==" | "!=" | "contains" | "not_contains";
7786
7798
  }, {
7787
7799
  value: string;
7788
- field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "session_id" | "toolkit_slug" | "tool_slug" | "sandbox_id" | "request_id";
7800
+ field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
7789
7801
  operator: "==" | "!=" | "contains" | "not_contains";
7790
7802
  }>;
7791
7803
  type LogSearchFilter = z$1.infer<typeof LogSearchFilterSchema>;
@@ -7814,11 +7826,11 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
7814
7826
  value: z$1.ZodString;
7815
7827
  }, "strip", z$1.ZodTypeAny, {
7816
7828
  value: string;
7817
- field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "session_id" | "toolkit_slug" | "tool_slug" | "sandbox_id" | "request_id";
7829
+ field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
7818
7830
  operator: "==" | "!=" | "contains" | "not_contains";
7819
7831
  }, {
7820
7832
  value: string;
7821
- field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "session_id" | "toolkit_slug" | "tool_slug" | "sandbox_id" | "request_id";
7833
+ field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
7822
7834
  operator: "==" | "!=" | "contains" | "not_contains";
7823
7835
  }>, "many">>;
7824
7836
  timeRange: z$1.ZodOptional<z$1.ZodObject<{
@@ -7838,7 +7850,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
7838
7850
  cursor?: string | null | undefined;
7839
7851
  filters?: {
7840
7852
  value: string;
7841
- field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "session_id" | "toolkit_slug" | "tool_slug" | "sandbox_id" | "request_id";
7853
+ field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
7842
7854
  operator: "==" | "!=" | "contains" | "not_contains";
7843
7855
  }[] | undefined;
7844
7856
  timeRange?: {
@@ -7850,7 +7862,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
7850
7862
  cursor?: string | null | undefined;
7851
7863
  filters?: {
7852
7864
  value: string;
7853
- field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "session_id" | "toolkit_slug" | "tool_slug" | "sandbox_id" | "request_id";
7865
+ field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
7854
7866
  operator: "==" | "!=" | "contains" | "not_contains";
7855
7867
  }[] | undefined;
7856
7868
  timeRange?: {
@@ -7914,12 +7926,12 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
7914
7926
  type: string;
7915
7927
  status: "success" | "failed";
7916
7928
  id: string;
7929
+ timestamp: string;
7917
7930
  metadata: {
7918
7931
  instant_charge?: string | undefined;
7919
7932
  } & {
7920
7933
  [k: string]: unknown;
7921
7934
  };
7922
- timestamp: string;
7923
7935
  level: "error" | "info" | "warn";
7924
7936
  metrics: Record<string, unknown>;
7925
7937
  parent: {
@@ -7931,12 +7943,12 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
7931
7943
  type: string;
7932
7944
  status: "success" | "failed";
7933
7945
  id: string;
7946
+ timestamp: string;
7934
7947
  metadata: {
7935
7948
  instant_charge?: string | undefined;
7936
7949
  } & {
7937
7950
  [k: string]: unknown;
7938
7951
  };
7939
- timestamp: string;
7940
7952
  level: "error" | "info" | "warn";
7941
7953
  metrics: Record<string, unknown>;
7942
7954
  parent: {
@@ -7978,12 +7990,12 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
7978
7990
  type: string;
7979
7991
  status: "success" | "failed";
7980
7992
  id: string;
7993
+ timestamp: string;
7981
7994
  metadata: {
7982
7995
  instant_charge?: string | undefined;
7983
7996
  } & {
7984
7997
  [k: string]: unknown;
7985
7998
  };
7986
- timestamp: string;
7987
7999
  level: "error" | "info" | "warn";
7988
8000
  metrics: Record<string, unknown>;
7989
8001
  parent: {
@@ -7995,12 +8007,12 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
7995
8007
  type: string;
7996
8008
  status: "success" | "failed";
7997
8009
  id: string;
8010
+ timestamp: string;
7998
8011
  metadata: {
7999
8012
  instant_charge?: string | undefined;
8000
8013
  } & {
8001
8014
  [k: string]: unknown;
8002
8015
  };
8003
- timestamp: string;
8004
8016
  level: "error" | "info" | "warn";
8005
8017
  metrics: Record<string, unknown>;
8006
8018
  parent: {
@@ -8016,12 +8028,12 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
8016
8028
  type: string;
8017
8029
  status: "success" | "failed";
8018
8030
  id: string;
8031
+ timestamp: string;
8019
8032
  metadata: {
8020
8033
  instant_charge?: string | undefined;
8021
8034
  } & {
8022
8035
  [k: string]: unknown;
8023
8036
  };
8024
- timestamp: string;
8025
8037
  level: "error" | "info" | "warn";
8026
8038
  metrics: Record<string, unknown>;
8027
8039
  parent: {
@@ -8036,12 +8048,12 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
8036
8048
  type: string;
8037
8049
  status: "success" | "failed";
8038
8050
  id: string;
8051
+ timestamp: string;
8039
8052
  metadata: {
8040
8053
  instant_charge?: string | undefined;
8041
8054
  } & {
8042
8055
  [k: string]: unknown;
8043
8056
  };
8044
- timestamp: string;
8045
8057
  level: "error" | "info" | "warn";
8046
8058
  metrics: Record<string, unknown>;
8047
8059
  parent: {
@@ -8128,12 +8140,12 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
8128
8140
  status: "success" | "failed";
8129
8141
  data: Record<string, unknown>;
8130
8142
  id: string;
8143
+ timestamp: string;
8131
8144
  metadata: {
8132
8145
  instant_charge?: string | undefined;
8133
8146
  } & {
8134
8147
  [k: string]: unknown;
8135
8148
  };
8136
- timestamp: string;
8137
8149
  level: "error" | "info" | "warn";
8138
8150
  metrics: Record<string, unknown>;
8139
8151
  parent: {
@@ -8160,12 +8172,12 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
8160
8172
  status: "success" | "failed";
8161
8173
  data: Record<string, unknown>;
8162
8174
  id: string;
8175
+ timestamp: string;
8163
8176
  metadata: {
8164
8177
  instant_charge?: string | undefined;
8165
8178
  } & {
8166
8179
  [k: string]: unknown;
8167
8180
  };
8168
- timestamp: string;
8169
8181
  level: "error" | "info" | "warn";
8170
8182
  metrics: Record<string, unknown>;
8171
8183
  parent: {
@@ -28674,12 +28674,12 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
28674
28674
  connectedAccountIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
28675
28675
  isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
28676
28676
  }, "strip", z$1.ZodTypeAny, {
28677
- connectedAccountIds?: string[] | undefined;
28678
28677
  userIds?: string[] | undefined;
28678
+ connectedAccountIds?: string[] | undefined;
28679
28679
  isChatAuth?: boolean | undefined;
28680
28680
  }, {
28681
- connectedAccountIds?: string[] | undefined;
28682
28681
  userIds?: string[] | undefined;
28682
+ connectedAccountIds?: string[] | undefined;
28683
28683
  isChatAuth?: boolean | undefined;
28684
28684
  }>;
28685
28685
  type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
@@ -28706,14 +28706,14 @@ declare const GenerateURLParamsSchema: z$1.ZodObject<{
28706
28706
  composioManagedAuth: z$1.ZodOptional<z$1.ZodBoolean>;
28707
28707
  }, "strip", z$1.ZodTypeAny, {
28708
28708
  mcpServerId: string;
28709
- connectedAccountIds?: string[] | undefined;
28710
28709
  userIds?: string[] | undefined;
28711
28710
  composioManagedAuth?: boolean | undefined;
28711
+ connectedAccountIds?: string[] | undefined;
28712
28712
  }, {
28713
28713
  mcpServerId: string;
28714
- connectedAccountIds?: string[] | undefined;
28715
28714
  userIds?: string[] | undefined;
28716
28715
  composioManagedAuth?: boolean | undefined;
28716
+ connectedAccountIds?: string[] | undefined;
28717
28717
  }>;
28718
28718
  type GenerateURLParams = z$1.infer<typeof GenerateURLParamsSchema>;
28719
28719
  declare const GenerateURLResponseSchema: z$1.ZodObject<{
@@ -12,6 +12,6 @@
12
12
  * `@composio/experimental` package, on the `@composio/experimental/workbench`
13
13
  * subpath — they are no longer part of `@composio/core`.
14
14
  */
15
- import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-BI7pmomm.mjs";
16
- import { C as LocalToolExecuteFn, S as LocalTool, a as CreateCustomToolkitParams, c as CustomTool, k as SessionContext, m as CustomToolkit, o as CreateLocalToolParams, r as CreateCustomToolParams, s as CreateLocalToolkitParams, u as CustomToolExecuteFn, w as LocalToolkit } from "../customTool.types-CneGTXg4.mjs";
15
+ import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-BFJBzgnP.mjs";
16
+ import { C as LocalToolExecuteFn, S as LocalTool, a as CreateCustomToolkitParams, c as CustomTool, k as SessionContext, m as CustomToolkit, o as CreateLocalToolParams, r as CreateCustomToolParams, s as CreateLocalToolkitParams, u as CustomToolExecuteFn, w as LocalToolkit } from "../customTool.types-CJkoAqUb.mjs";
17
17
  export { type CreateCustomToolParams, type CreateCustomToolkitParams, type CreateLocalToolParams, type CreateLocalToolkitParams, type CustomTool, type CustomToolExecuteFn, type CustomToolkit, type LocalTool, type LocalToolExecuteFn, type LocalToolkit, type SessionContext, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
- import { $ as LogSearchTimeRangeSchema, $n as TriggerInstanceType, $r as CreateAuthConfigResponse, $t as CustomToolkitCreateResponseSchema, A as SessionConfigs, Ai as ToolkitListGrantContextsParamsSchema, An as UsageSummaryResponse, Ar as WebhookTriggerPayloadV3, At as WebhookSubscriptionEventTypesResponse, B as SessionConfigSummarySchema, Bi as ToolkitRetrieveCategoriesResponse, Bn as TriggerEventData, Br as AuthConfigRetrieveResponseSchema, Bt as WebhookSubscriptionSetParamsSchema, C as LogLevel, Ci as ToolkitConditionalScope, Cn as UsageEntitySummarySchema, Cr as WebhookPayloadV1Schema, Ct as WebhookEndpointSchema, D as KeyringTransferKeySchema, Di as ToolkitGrantContextDimension, Dn as UsageOrderDirectionSchema, Dr as WebhookPayloadV3Schema, Dt as WebhookSubscriptionDeleteResponseSchema, E as KeyringTransferKey, Ei as ToolkitGetManySlugsSchema, En as UsageOrderBySchema, Er as WebhookPayloadV3, Et as WebhookSubscriptionDeleteResponse, F as SessionConfigListResponseSchema, Fi as ToolkitMangedByEnumSchema, Fn as ParseWebhookOptions, Fr as AuthConfigListParams, Ft as WebhookSubscriptionListResponseSchema, G as LogSearchFilterOperator, Gi as ToolkitSortByEnumSchema, Gn as TriggerInstanceListActiveResponseItemSchema, Gr as AuthConfigUpdateParamsSchema, Gt as Experimental, H as LogSearchFilter, Hi as ToolkitRetrieveResponse, Hn as TriggerInstanceListActiveParamsSchema, Hr as AuthConfigType, Ht as WebhookSubscriptionUpdateParamsSchema, I as SessionConfigPolicy, Ii as ToolkitRecommendScopesParams, In as SetWebhookSubscriptionParams, Ir as AuthConfigListParamsSchema, It as WebhookSubscriptionRotateSecretResponse, J as LogSearchParams, Ji as ToolkitsGetManyParamsSchema, Jn as TriggerInstanceManageDeleteResponseSchema, Jr as AuthSchemeEnum, Jt as CustomToolkitAuthScheme, K as LogSearchFilterOperatorSchema, Ki as ToolkitVersionChangelog, Kn as TriggerInstanceListActiveResponseSchema, Kr as AuthCustomConfigUpdateParamsSchema, Kt as CustomToolkits, L as SessionConfigPolicySchema, Li as ToolkitRecommendScopesParamsSchema, Ln as SetWebhookSubscriptionParamsSchema, Lr as AuthConfigListResponse, Lt as WebhookSubscriptionRotateSecretResponseSchema, M as SessionConfigListParams, Mi as ToolkitListGrantContextsResponseSchema, Mn as DefaultWebhookSubscriptionEvents, Mr as WebhookVersion, Mt as WebhookSubscriptionListParams, N as SessionConfigListParamsSchema, Ni as ToolkitListParams, Nn as IncomingTriggerPayload, Nr as WebhookVersions, Nt as WebhookSubscriptionListParamsSchema, O as KeyringTransferKeysResponse, Oi as ToolkitGrantContextDimensionSchema, On as UsageSummaryParams, Or as WebhookRequestLike, Ot as WebhookSubscriptionEventType, P as SessionConfigListResponse, Pi as ToolkitMangedByEnum, Pn as IncomingTriggerPayloadSchema, Pr as AuthConfigCreationToolAccessConfigSchema, Pt as WebhookSubscriptionListResponse, Q as LogSearchTimeRange, Qn as TriggerInstanceManageUpdateResponseSchema, Qr as CreateAuthConfigParamsSchema, Qt as CustomToolkitCreateResponse, R as SessionConfigSchema, Ri as ToolkitRecommendScopesResponse, Rn as TriggerData, Rr as AuthConfigListResponseSchema, Rt as WebhookSubscriptionSchema, S as ComposioLogger, Si as ToolkitComposioManagedAuthSchema, Sn as UsageEntitySummary, Sr as WebhookPayloadV1, St as WebhookEndpointReplaceParamsSchema, T as Keyring, Ti as ToolkitGetManyParams, Tn as UsageFiltersSchema, Tr as WebhookPayloadV2Schema, Tt as WebhookEndpointUpdateParamsSchema, U as LogSearchFilterField, Ui as ToolkitRetrieveResponseSchema, Un as TriggerInstanceListActiveResponse, Ur as AuthConfigTypes, Ut as WebhookVersionSchema, V as Logs, Vi as ToolkitRetrieveCategoriesResponseSchema, Vn as TriggerInstanceListActiveParams, Vr as AuthConfigToolAccessConfigSchema, Vt as WebhookSubscriptionUpdateParams, W as LogSearchFilterFieldSchema, Wi as ToolkitSortByEnum, Wn as TriggerInstanceListActiveResponseItem, Wr as AuthConfigUpdateParams, Wt as MCP, X as LogSearchResponse, Xn as TriggerInstanceManageUpdateParamsSchema, Xr as AuthSchemeTypes, Xt as CustomToolkitCreateParams, Y as LogSearchParamsSchema, Yi as ToolkitsListParamsSchema, Yn as TriggerInstanceManageUpdateParams, Yr as AuthSchemeType, Yt as CustomToolkitAuthSchemeSchema, Z as LogSearchResponseSchema, Zn as TriggerInstanceManageUpdateResponse, Zr as CreateAuthConfigParams, Zt as CustomToolkitCreateParamsSchema, _ as SessionWebhookHttpResponseOverride, _i as ToolkitChangelogItem, _n as UsageBreakdownGroupSchema, _r as VerifyWebhookParams, _t as WebhookEndpointListParams, a as ParseSessionWebhookParams, ai as ToolKitListResponse, an as CustomToolkitSyncResponse, ar as TriggerStatusEnum, at as ToolExecutionLogMetadataSchema, b as SessionWebhookToolResponse, bi as ToolkitChangelogResponseSchema, bn as UsageBreakdownResponse, br as WebhookPayload, bt as WebhookEndpointListResponseSchema, c as SessionWebhookBeforeExecuteEvent, ci as ToolKitMetaSchema, cn as CustomToolkitUpdateParamsSchema, cr as TriggerSubscribeParamSchema, ct as ToolExecutionLogStatusSchema, d as SessionWebhookEvent, di as ToolkitAuthField, dn as CustomToolkitUpsertParams, dr as TriggerTypeSchema, dt as Webhooks, ei as CreateAuthConfigResponseSchema, en as CustomToolkitDeleteResponse, er as TriggerInstanceTypeSchema, et as ToolExecutionLog, f as SessionWebhookEventType, fi as ToolkitAuthFieldSchema, fn as CustomToolkitUpsertParamsSchema, fr as TriggersTypeListParams, ft as WebhookEndpoint, g as SessionWebhookHttpResponse, gi as ToolkitCategorySchema, gn as UsageBreakdownGroup, gr as TriggersTypeRetrieveResponse, gt as WebhookEndpointListItemSchema, h as SessionWebhookHttpRequestOverride, hi as ToolkitCategory, hn as Usage, hr as TriggersTypeListResponseSchema, ht as WebhookEndpointListItem, i as SessionWebhooks, ii as ToolKitItemSchema, in as CustomToolkitSyncParamsSchema, ir as TriggerInstanceUpsertResponseSchema, it as ToolExecutionLogMetadata, j as SessionConfig, ji as ToolkitListGrantContextsResponse, jn as UsageSummaryResponseSchema, jr as WebhookTriggerPayloadV3Schema, jt as WebhookSubscriptionEventTypesResponseSchema, k as KeyringTransferKeysResponseSchema, ki as ToolkitListGrantContextsParams, kn as UsageSummaryParamsSchema, kr as WebhookSubscription, kt as WebhookSubscriptionEventTypeSchema, l as SessionWebhookBeforeExecuteResponse, li as ToolkitAuthConfigDetails, ln as CustomToolkitUpdateResponse, lr as TriggerSubscribeParams, lt as WebhookEndpoints, m as SessionWebhookHttpRequest, mi as ToolkitAuthFieldsResponseSchema, mn as CustomToolkitUpsertResponseSchema, mr as TriggersTypeListResponse, mt as WebhookEndpointCreateParamsSchema, n as ComposioConfig, ni as CreateCustomAuthConfigParamsSchema, nn as CustomToolkitLogoFile, nr as TriggerInstanceUpsertParamsSchema, nt as ToolExecutionLogDetailSchema, o as SessionWebhookAfterExecuteEvent, oi as ToolKitListResponseSchema, on as CustomToolkitSyncResponseSchema, or as TriggerStatusType, ot as ToolExecutionLogParentSchema, p as SessionWebhookEventTypes, pi as ToolkitAuthFieldsResponse, pn as CustomToolkitUpsertResponse, pr as TriggersTypeListParamsSchema, pt as WebhookEndpointCreateParams, q as LogSearchFilterSchema, qi as ToolkitVersionChangelogSchema, qn as TriggerInstanceManageDeleteResponse, qr as AuthDefaultConfigUpdateParamsSchema, qt as CustomToolkitApiKeyField, r as Sessions, ri as ToolKitItem, rn as CustomToolkitSyncParams, rr as TriggerInstanceUpsertResponse, rt as ToolExecutionLogLevelSchema, s as SessionWebhookAfterExecuteResponse, si as ToolKitMeta, sn as CustomToolkitUpdateParams, sr as TriggerStatuses, st as ToolExecutionLogSchema, t as Composio, ti as CreateComposioManagedAuthConfigParamsSchema, tn as CustomToolkitDeleteResponseSchema, tr as TriggerInstanceUpsertParams, tt as ToolExecutionLogDetail, u as SessionWebhookBlockResponse, ui as ToolkitAuthConfigDetailsSchema, un as CustomToolkitUpdateResponseSchema, ur as TriggerType, ut as WebhookSubscriptions, v as SessionWebhookMetadata, vi as ToolkitChangelogItemSchema, vn as UsageBreakdownParams, vr as VerifyWebhookParamsSchema, vt as WebhookEndpointListParamsSchema, w as logger, wi as ToolkitConditionalScopeSchema, wn as UsageFilters, wr as WebhookPayloadV2, wt as WebhookEndpointUpdateParams, x as OpenAIProvider, xi as ToolkitComposioManagedAuth, xn as UsageBreakdownResponseSchema, xr as WebhookPayloadSchema, xt as WebhookEndpointReplaceParams, y as SessionWebhookToolCall, yi as ToolkitChangelogResponse, yn as UsageBreakdownParamsSchema, yr as VerifyWebhookResult, yt as WebhookEndpointListResponse, z as SessionConfigSummary, zi as ToolkitRecommendScopesResponseSchema, zn as TriggerEvent, zr as AuthConfigRetrieveResponse, zt as WebhookSubscriptionSetParams } from "./composio-xb_x1ykP.mjs";
2
- import { $ as ToolRouterHookConditionCheckHandler, $a as ToolExecuteMetaParamsSchema, $i as CustomOauth2ConnectionData, $n as ConnectedAccountListResponse, $r as MCPAuthOptions, $t as ToolRouterTagsEnableDisableSchema, A as MCPServerType, Aa as Oauth2RevokedConnectionDataSchema, Ai as McpServerUrlInfo, An as ToolRouterSessionFilesMountDownloadOptionsSchema, Ar as UpdateConnectedAccountAclParams, At as ToolRouterSessionExecuteFn, B as ToolRouterAuthorizeFn, Ba as TransformToolSchemaModifier, Bi as Provider, Bn as ConnectedAccountAclConfigSchema, Br as ComposioMcpDeleteResponseSchema, Bt as ToolRouterSessionMetaToolSlug, C as LocalToolExecuteFn, Ca as Oauth2InactiveConnectionData, Ci as McpDeleteResponseSchema, Cn as FileListResponse, Cr as CreateConnectedAccountParams, Ct as ToolRouterSessionDeleteFn, D as RegisteredLocalTool, Da as Oauth2InitiatingConnectionData, Di as McpRetrieveResponseSchema, Dn as ToolRouterSessionFilesMountDeleteOptions, Dr as DefaultCreateConnectedAccountParamsSchema, Dt as ToolRouterSessionEnsureConnectedOptions, E as RegisteredCustomToolkit, Ea as Oauth2InitiatedConnectionDataSchema, Ei as McpRetrieveResponse, En as RemoteFileDataSchema, Er as CreateConnectedAccountResponseSchema, Et as ToolRouterSessionEnsureConnectedFn, F as SessionExperimental, Fa as MetaToolArguments, Fi as McpUrlResponseCamelCase, Fn as ConnectionRequest, Fr as BaseComposioProvider, Ft as ToolRouterSessionExecuteResponseSchema, G as ToolRouterConfigTagsSchema, Ga as beforeFileUploadModifier, Gi as ConnectionData, Gn as ConnectedAccountCompleteAuthResponse, Gr as CustomCreateResponse, Gt as ToolRouterSessionProxyExecuteFn, H as ToolRouterBlockReasonSchema, Ha as afterExecuteModifier, Hi as ToolCallSession, Hn as ConnectedAccountAuthConfigSchema, Hr as ComposioMcpRetrieveResponseSchema, Ht as ToolRouterSessionPreloadConfig, I as SessionPreset, Ia as ProviderOptions, Ii as McpUserConnectionStatus, In as ConnectionRequestState, Ir as BaseNonAgenticProvider, It as ToolRouterSessionListConfigHistoryFn, J as ToolRouterCreateSessionConfig, Ja as JSONSchemaProperty, Ji as ConnectionStatuses, Jn as ConnectedAccountExperimentalResponse, Jr as GenerateURLParams, Jt as ToolRouterSessionSearchResponse, K as ToolRouterConfigTools, Ka as CustomAuthParams, Ki as ConnectionDataSchema, Kn as ConnectedAccountCompleteAuthResponseSchema, Kr as CustomCreateResponseSchema, Kt as ToolRouterSessionProxyExecuteResponse, L as SessionProxyExecuteParams, La as SessionExecuteMetaModifiers, Li as ExecuteToolFn, Ln as ConnectedAccountAclConfig, Lr as ComposioCustomCreateResponseSchema, Lt as ToolRouterSessionListConfigHistoryOptions, M as SandboxSize, Ma as AgenticToolOptions, Mi as McpUpdateResponse, Mn as ToolRouterSessionFilesMountListOptionsSchema, Mr as UpdateConnectedAccountParams, Mt as ToolRouterSessionExecuteMetaOptions, N as SandboxSizeSchema, Na as BeforeFileUploadSource, Ni as McpUpdateResponseSchema, Nn as ToolRouterSessionFilesMountUploadOptions, Nr as UpdateConnectedAccountParamsSchema, Nt as ToolRouterSessionExecuteOptions, O as RegisteredLocalToolkit, Oa as Oauth2InitiatingConnectionDataSchema, Oi as McpServerCreateResponse, On as ToolRouterSessionFilesMountDeleteOptionsSchema, Or as PatchConnectedAccountParams, Ot as ToolRouterSessionEnsureConnectedOptionsSchema, P as Session, Pa as ExecuteToolModifiers, Pi as McpUrlResponse, Pn as ToolRouterSessionFilesMountUploadOptionsSchema, Pr as BaseAgenticProvider, Pt as ToolRouterSessionExecuteResponse, Q as ToolRouterHookAppliesToSchema, Qa as ToolExecuteMetaParams, Qi as CustomOauth1ConnectionDataSchema, Qn as ConnectedAccountListParamsSchema, Qr as GenerateURLResponseValidated, Qt as ToolRouterSessionWorkbenchConfig, R as SessionProxyExecuteParamsSchema, Ra as SessionMetaToolOptions, Ri as ExecuteToolFnOptions, Rn as ConnectedAccountAclConfigResponse, Rr as ComposioGenerateURLParamsSchema, Rt as ToolRouterSessionListConfigHistoryOptionsSchema, S as LocalTool, Sa as Oauth2FailedConnectionDataSchema, Si as McpDeleteResponse, Sn as FileDeleteResponseSchema, So as ToolkitVersionsSchema, Sr as CreateConnectedAccountOptionsSchema, St as ToolRouterSessionConfigHistoryItem, T as RegisteredCustomTool, Ta as Oauth2InitiatedConnectionData, Ti as McpListResponseSchema, Tn as RemoteFileData, Tr as CreateConnectedAccountResponse, Tt as ToolRouterSessionDeleteResponseSchema, U as ToolRouterConfigManageConnectionsSchema, Ua as beforeExecuteMetaModifier, Ui as BaseConnectionFields, Un as ConnectedAccountCompleteAuthParams, Ur as ComposioMcpUpdateResponseSchema, Ut as ToolRouterSessionProxyExecuteBlocked, V as ToolRouterBlockReason, Va as afterExecuteMetaModifier, Vi as ToolCallExecutionTarget, Vn as ConnectedAccountAuthConfig, Vr as ComposioMcpListResponseSchema, Vt as ToolRouterSessionMetadata, W as ToolRouterConfigTags, Wa as beforeExecuteModifier, Wi as BillcomAuthConnectionDataSchema, Wn as ConnectedAccountCompleteAuthParamsSchema, Wr as ConnectionStatus, Wt as ToolRouterSessionProxyExecuteCompleted, X as ToolRouterHook, Xa as SchemaModifierOptions, Xi as CustomConnectionDataSchema, Xn as ConnectedAccountExperimentalSchema, Xr as GenerateURLResponse, Xt as ToolRouterSessionUpdateFn, Y as ToolRouterCreateSessionConfigSchema, Ya as JSONSchemaPropertySchema, Yi as CustomConnectionData, Yn as ConnectedAccountExperimentalResponseSchema, Yr as GenerateURLParamsSchema, Yt as ToolRouterSessionSearchResponseSchema, Z as ToolRouterHookAppliesTo, Za as Tool, Zi as CustomOauth1ConnectionData, Zn as ConnectedAccountListParams, Zr as GenerateURLResponseSchema, Zt as ToolRouterSessionWarning, _ as CustomToolkitWireDefinition, _a as Oauth2ConnectionData, _i as MCPSingleAppServer, _n as ToolkitConnectionStateSchema, _o as ToolkitVersion, _r as CreateConnectedAccountLinkOptions, _t as ToolRouterProxyExecuteSchema, a as CreateCustomToolkitParams, aa as Oauth1ExpiredConnectionData, ai as MCPGetServerParamsSchema, an as ToolRouterToolkitsOptionsSchema, ao as ToolListParams, ar as ConnectedAccountRetrieveResponseSchema, at as ToolRouterHookSchema, b as InferZodSchema, ba as Oauth2ExpiredConnectionDataSchema, bi as MCPToolkitConfigSchema, bn as RemoteFile, bo as ToolkitVersionSchema, br as CreateConnectedAccountLinkResponseSchema, bt as ToolRouterSessionConfig, c as CustomTool, ca as Oauth1FailedConnectionDataSchema, ci as MCPMultiAppServerSchema, cn as ToolRouterToolsParam, co as ToolListResponseSchema, cr as ConnectedAccountRevokedToken, ct as ToolRouterInputResponse, d as CustomToolResponse, da as Oauth1InitiatedConnectionData, di as MCPServerCreateResponseSchema, dn as ToolRouterUpdateExperimentalSchema, do as ToolRetrievalOptions, dr as ConnectedAccountStatusEnum, dt as ToolRouterMCPServerConfig, ea as CustomOauth2ConnectionDataSchema, ei as MCPAuthOptionsSchema, en as ToolRouterTagsParamSchema, eo as ToolExecuteParams, er as ConnectedAccountListResponseItem, et as ToolRouterHookConditionCheckHandlerSchema, f as CustomToolSlugSchema, fa as Oauth1InitiatedConnectionDataSchema, fi as MCPServerListResponse, fn as ToolRouterUpdateManageConnectionsConfig, fo as ToolSchema, fr as ConnectedAccountStatusSchema, ft as ToolRouterMCPServerConfigSchema, g as CustomToolkitResponse, ga as Oauth2ActiveConnectionDataSchema, gi as MCPServerUpdateParamsSchema, gn as ToolkitConnectionState, go as ToolkitSchema, gr as ConnectedAccountTypes, gt as ToolRouterProxyExecuteConfigSchema, h as CustomToolkitDefinition, ha as Oauth2ActiveConnectionData, hi as MCPServerUpdateParams, hn as ToolRouterUpdateSessionConfigSchema, ho as ToolkitLatestVersionSchema, hr as ConnectedAccountTypeSchema, ht as ToolRouterProxyExecuteConfig, i as CreateCustomToolkitBaseSchema, ia as Oauth1ConnectionDataSchema, ii as MCPGetServerParams, in as ToolRouterToolkitsOptions, io as ToolList, ir as ConnectedAccountRetrieveResponse, it as ToolRouterHookResultSchema, j as MCPServerTypeSchema, ja as RedirectableAuthSchemeSchema, ji as McpToolkitConnectionStatus, jn as ToolRouterSessionFilesMountListOptions, jr as UpdateConnectedAccountAclParamsSchema, jt as ToolRouterSessionExecuteMetaFn, k as SessionContext, ka as Oauth2RevokedConnectionData, ki as McpServerGetResponse, kn as ToolRouterSessionFilesMountDownloadOptions, kr as PatchConnectedAccountParamsSchema, kt as ToolRouterSessionEnsureConnectedResult, l as CustomToolDefinition, la as Oauth1InactiveConnectionData, li as MCPServer, ln as ToolRouterToolsParamSchema, lo as ToolProxyParams, lr as ConnectedAccountRevokedTokenSchema, lt as ToolRouterInstant, m as CustomToolkit, ma as Oauth1InitiatingConnectionDataSchema, mi as MCPServerSchema, mn as ToolRouterUpdateSessionConfig, mo as ToolkitLatestVersion, mr as ConnectedAccountType, mt as ToolRouterProxyExecute, n as CreateCustomToolBaseSchema, na as Oauth1ActiveConnectionDataSchema, ni as MCPGenerateURLParams, nn as ToolRouterToolkitsEnabledConfigSchema, no as ToolExecuteResponse, nr as ConnectedAccountRefreshOptions, nt as ToolRouterHookPromptInjectionCheckHandlerSchema, o as CreateLocalToolParams, oa as Oauth1ExpiredConnectionDataSchema, oi as MCPInstanceParams, on as ToolRouterToolkitsParamSchema, oo as ToolListParamsSchema, or as ConnectedAccountRevokeResponse, ot as ToolRouterHookWebhookHandler, p as CustomToolWireDefinition, pa as Oauth1InitiatingConnectionData, pi as MCPServerListResponseSchema, pn as ToolRouterUpdateManageConnectionsSchema, po as Toolkit, pr as ConnectedAccountStatuses, pt as ToolRouterManageConnectionsConfigSchema, q as ToolRouterConfigToolsSchema, qa as CustomAuthParamsSchema, qi as ConnectionStatusEnum, qn as ConnectedAccountExperimental, qr as CustomCreateResponseValidated, qt as ToolRouterSessionSearchFn, r as CreateCustomToolParams, ra as Oauth1ConnectionData, ri as MCPGenerateURLParamsSchema, rn as ToolRouterToolkitsFn, ro as ToolExecuteResponseSchema, rr as ConnectedAccountRefreshOptionsSchema, rt as ToolRouterHookResult, s as CreateLocalToolkitParams, sa as Oauth1FailedConnectionData, si as MCPMultiAppServer, sn as ToolRouterToolsFn, so as ToolListResponse, sr as ConnectedAccountRevokeResponseSchema, st as ToolRouterHookWebhookHandlerSchema, t as AnyZodSchema, ta as Oauth1ActiveConnectionData, ti as MCPCreateMethodResponse, tn as ToolRouterToolkitsDisabledConfigSchema, to as ToolExecuteParamsSchema, tr as ConnectedAccountListResponseSchema, tt as ToolRouterHookPromptInjectionCheckHandler, u as CustomToolExecuteFn, ua as Oauth1InactiveConnectionDataSchema, ui as MCPServerCreateResponse, un as ToolRouterUpdateExperimentalConfig, uo as ToolProxyParamsSchema, ur as ConnectedAccountStatus, ut as ToolRouterInstantSchema, v as CustomToolsMap, va as Oauth2ConnectionDataSchema, vi as MCPSingleAppServerSchema, vn as ToolkitConnectionsDetails, vo as ToolkitVersionParam, vr as CreateConnectedAccountLinkOptionsSchema, vt as ToolRouterSandboxConfig, w as LocalToolkit, wa as Oauth2InactiveConnectionDataSchema, wi as McpListResponse, wn as FileListResponseSchema, wr as CreateConnectedAccountParamsSchema, wt as ToolRouterSessionDeleteResponse, x as InlineCustomToolsWirePayload, xa as Oauth2FailedConnectionData, xi as MCPToolkitConfigsArraySchema, xn as FileDeleteResponse, xo as ToolkitVersions, xr as CreateConnectedAccountOptions, xt as ToolRouterSessionConfigHistoryConfig, y as CustomToolsMapEntry, ya as Oauth2ExpiredConnectionData, yi as MCPToolkitConfig, yn as ToolkitConnectionsDetailsSchema, yo as ToolkitVersionParamSchema, yr as CreateConnectedAccountLinkResponse, yt as ToolRouterSandboxConfigSchema, z as SessionWithoutMcp, za as ToolOptions, zi as GlobalExecuteToolFn, zn as ConnectedAccountAclConfigResponseSchema, zr as ComposioGenerateURLResponseSchema, zt as ToolRouterSessionListConfigHistoryResponse } from "./customTool.types-CneGTXg4.mjs";
1
+ import { $ as LogSearchTimeRangeSchema, $n as TriggerInstanceType, $r as CreateAuthConfigResponse, $t as CustomToolkitCreateResponseSchema, A as SessionConfigs, Ai as ToolkitListGrantContextsParamsSchema, An as UsageSummaryResponse, Ar as WebhookTriggerPayloadV3, At as WebhookSubscriptionEventTypesResponse, B as SessionConfigSummarySchema, Bi as ToolkitRetrieveCategoriesResponse, Bn as TriggerEventData, Br as AuthConfigRetrieveResponseSchema, Bt as WebhookSubscriptionSetParamsSchema, C as LogLevel, Ci as ToolkitConditionalScope, Cn as UsageEntitySummarySchema, Cr as WebhookPayloadV1Schema, Ct as WebhookEndpointSchema, D as KeyringTransferKeySchema, Di as ToolkitGrantContextDimension, Dn as UsageOrderDirectionSchema, Dr as WebhookPayloadV3Schema, Dt as WebhookSubscriptionDeleteResponseSchema, E as KeyringTransferKey, Ei as ToolkitGetManySlugsSchema, En as UsageOrderBySchema, Er as WebhookPayloadV3, Et as WebhookSubscriptionDeleteResponse, F as SessionConfigListResponseSchema, Fi as ToolkitMangedByEnumSchema, Fn as ParseWebhookOptions, Fr as AuthConfigListParams, Ft as WebhookSubscriptionListResponseSchema, G as LogSearchFilterOperator, Gi as ToolkitSortByEnumSchema, Gn as TriggerInstanceListActiveResponseItemSchema, Gr as AuthConfigUpdateParamsSchema, Gt as Experimental, H as LogSearchFilter, Hi as ToolkitRetrieveResponse, Hn as TriggerInstanceListActiveParamsSchema, Hr as AuthConfigType, Ht as WebhookSubscriptionUpdateParamsSchema, I as SessionConfigPolicy, Ii as ToolkitRecommendScopesParams, In as SetWebhookSubscriptionParams, Ir as AuthConfigListParamsSchema, It as WebhookSubscriptionRotateSecretResponse, J as LogSearchParams, Ji as ToolkitsGetManyParamsSchema, Jn as TriggerInstanceManageDeleteResponseSchema, Jr as AuthSchemeEnum, Jt as CustomToolkitAuthScheme, K as LogSearchFilterOperatorSchema, Ki as ToolkitVersionChangelog, Kn as TriggerInstanceListActiveResponseSchema, Kr as AuthCustomConfigUpdateParamsSchema, Kt as CustomToolkits, L as SessionConfigPolicySchema, Li as ToolkitRecommendScopesParamsSchema, Ln as SetWebhookSubscriptionParamsSchema, Lr as AuthConfigListResponse, Lt as WebhookSubscriptionRotateSecretResponseSchema, M as SessionConfigListParams, Mi as ToolkitListGrantContextsResponseSchema, Mn as DefaultWebhookSubscriptionEvents, Mr as WebhookVersion, Mt as WebhookSubscriptionListParams, N as SessionConfigListParamsSchema, Ni as ToolkitListParams, Nn as IncomingTriggerPayload, Nr as WebhookVersions, Nt as WebhookSubscriptionListParamsSchema, O as KeyringTransferKeysResponse, Oi as ToolkitGrantContextDimensionSchema, On as UsageSummaryParams, Or as WebhookRequestLike, Ot as WebhookSubscriptionEventType, P as SessionConfigListResponse, Pi as ToolkitMangedByEnum, Pn as IncomingTriggerPayloadSchema, Pr as AuthConfigCreationToolAccessConfigSchema, Pt as WebhookSubscriptionListResponse, Q as LogSearchTimeRange, Qn as TriggerInstanceManageUpdateResponseSchema, Qr as CreateAuthConfigParamsSchema, Qt as CustomToolkitCreateResponse, R as SessionConfigSchema, Ri as ToolkitRecommendScopesResponse, Rn as TriggerData, Rr as AuthConfigListResponseSchema, Rt as WebhookSubscriptionSchema, S as ComposioLogger, Si as ToolkitComposioManagedAuthSchema, Sn as UsageEntitySummary, Sr as WebhookPayloadV1, St as WebhookEndpointReplaceParamsSchema, T as Keyring, Ti as ToolkitGetManyParams, Tn as UsageFiltersSchema, Tr as WebhookPayloadV2Schema, Tt as WebhookEndpointUpdateParamsSchema, U as LogSearchFilterField, Ui as ToolkitRetrieveResponseSchema, Un as TriggerInstanceListActiveResponse, Ur as AuthConfigTypes, Ut as WebhookVersionSchema, V as Logs, Vi as ToolkitRetrieveCategoriesResponseSchema, Vn as TriggerInstanceListActiveParams, Vr as AuthConfigToolAccessConfigSchema, Vt as WebhookSubscriptionUpdateParams, W as LogSearchFilterFieldSchema, Wi as ToolkitSortByEnum, Wn as TriggerInstanceListActiveResponseItem, Wr as AuthConfigUpdateParams, Wt as MCP, X as LogSearchResponse, Xn as TriggerInstanceManageUpdateParamsSchema, Xr as AuthSchemeTypes, Xt as CustomToolkitCreateParams, Y as LogSearchParamsSchema, Yi as ToolkitsListParamsSchema, Yn as TriggerInstanceManageUpdateParams, Yr as AuthSchemeType, Yt as CustomToolkitAuthSchemeSchema, Z as LogSearchResponseSchema, Zn as TriggerInstanceManageUpdateResponse, Zr as CreateAuthConfigParams, Zt as CustomToolkitCreateParamsSchema, _ as SessionWebhookHttpResponseOverride, _i as ToolkitChangelogItem, _n as UsageBreakdownGroupSchema, _r as VerifyWebhookParams, _t as WebhookEndpointListParams, a as ParseSessionWebhookParams, ai as ToolKitListResponse, an as CustomToolkitSyncResponse, ar as TriggerStatusEnum, at as ToolExecutionLogMetadataSchema, b as SessionWebhookToolResponse, bi as ToolkitChangelogResponseSchema, bn as UsageBreakdownResponse, br as WebhookPayload, bt as WebhookEndpointListResponseSchema, c as SessionWebhookBeforeExecuteEvent, ci as ToolKitMetaSchema, cn as CustomToolkitUpdateParamsSchema, cr as TriggerSubscribeParamSchema, ct as ToolExecutionLogStatusSchema, d as SessionWebhookEvent, di as ToolkitAuthField, dn as CustomToolkitUpsertParams, dr as TriggerTypeSchema, dt as Webhooks, ei as CreateAuthConfigResponseSchema, en as CustomToolkitDeleteResponse, er as TriggerInstanceTypeSchema, et as ToolExecutionLog, f as SessionWebhookEventType, fi as ToolkitAuthFieldSchema, fn as CustomToolkitUpsertParamsSchema, fr as TriggersTypeListParams, ft as WebhookEndpoint, g as SessionWebhookHttpResponse, gi as ToolkitCategorySchema, gn as UsageBreakdownGroup, gr as TriggersTypeRetrieveResponse, gt as WebhookEndpointListItemSchema, h as SessionWebhookHttpRequestOverride, hi as ToolkitCategory, hn as Usage, hr as TriggersTypeListResponseSchema, ht as WebhookEndpointListItem, i as SessionWebhooks, ii as ToolKitItemSchema, in as CustomToolkitSyncParamsSchema, ir as TriggerInstanceUpsertResponseSchema, it as ToolExecutionLogMetadata, j as SessionConfig, ji as ToolkitListGrantContextsResponse, jn as UsageSummaryResponseSchema, jr as WebhookTriggerPayloadV3Schema, jt as WebhookSubscriptionEventTypesResponseSchema, k as KeyringTransferKeysResponseSchema, ki as ToolkitListGrantContextsParams, kn as UsageSummaryParamsSchema, kr as WebhookSubscription, kt as WebhookSubscriptionEventTypeSchema, l as SessionWebhookBeforeExecuteResponse, li as ToolkitAuthConfigDetails, ln as CustomToolkitUpdateResponse, lr as TriggerSubscribeParams, lt as WebhookEndpoints, m as SessionWebhookHttpRequest, mi as ToolkitAuthFieldsResponseSchema, mn as CustomToolkitUpsertResponseSchema, mr as TriggersTypeListResponse, mt as WebhookEndpointCreateParamsSchema, n as ComposioConfig, ni as CreateCustomAuthConfigParamsSchema, nn as CustomToolkitLogoFile, nr as TriggerInstanceUpsertParamsSchema, nt as ToolExecutionLogDetailSchema, o as SessionWebhookAfterExecuteEvent, oi as ToolKitListResponseSchema, on as CustomToolkitSyncResponseSchema, or as TriggerStatusType, ot as ToolExecutionLogParentSchema, p as SessionWebhookEventTypes, pi as ToolkitAuthFieldsResponse, pn as CustomToolkitUpsertResponse, pr as TriggersTypeListParamsSchema, pt as WebhookEndpointCreateParams, q as LogSearchFilterSchema, qi as ToolkitVersionChangelogSchema, qn as TriggerInstanceManageDeleteResponse, qr as AuthDefaultConfigUpdateParamsSchema, qt as CustomToolkitApiKeyField, r as Sessions, ri as ToolKitItem, rn as CustomToolkitSyncParams, rr as TriggerInstanceUpsertResponse, rt as ToolExecutionLogLevelSchema, s as SessionWebhookAfterExecuteResponse, si as ToolKitMeta, sn as CustomToolkitUpdateParams, sr as TriggerStatuses, st as ToolExecutionLogSchema, t as Composio, ti as CreateComposioManagedAuthConfigParamsSchema, tn as CustomToolkitDeleteResponseSchema, tr as TriggerInstanceUpsertParams, tt as ToolExecutionLogDetail, u as SessionWebhookBlockResponse, ui as ToolkitAuthConfigDetailsSchema, un as CustomToolkitUpdateResponseSchema, ur as TriggerType, ut as WebhookSubscriptions, v as SessionWebhookMetadata, vi as ToolkitChangelogItemSchema, vn as UsageBreakdownParams, vr as VerifyWebhookParamsSchema, vt as WebhookEndpointListParamsSchema, w as logger, wi as ToolkitConditionalScopeSchema, wn as UsageFilters, wr as WebhookPayloadV2, wt as WebhookEndpointUpdateParams, x as OpenAIProvider, xi as ToolkitComposioManagedAuth, xn as UsageBreakdownResponseSchema, xr as WebhookPayloadSchema, xt as WebhookEndpointReplaceParams, y as SessionWebhookToolCall, yi as ToolkitChangelogResponse, yn as UsageBreakdownParamsSchema, yr as VerifyWebhookResult, yt as WebhookEndpointListResponse, z as SessionConfigSummary, zi as ToolkitRecommendScopesResponseSchema, zn as TriggerEvent, zr as AuthConfigRetrieveResponse, zt as WebhookSubscriptionSetParams } from "./composio-CjpstCB4.mjs";
2
+ import { $ as ToolRouterHookConditionCheckHandler, $a as ToolExecuteMetaParamsSchema, $i as CustomOauth2ConnectionData, $n as ConnectedAccountListResponse, $r as MCPAuthOptions, $t as ToolRouterTagsEnableDisableSchema, A as MCPServerType, Aa as Oauth2RevokedConnectionDataSchema, Ai as McpServerUrlInfo, An as ToolRouterSessionFilesMountDownloadOptionsSchema, Ar as UpdateConnectedAccountAclParams, At as ToolRouterSessionExecuteFn, B as ToolRouterAuthorizeFn, Ba as TransformToolSchemaModifier, Bi as Provider, Bn as ConnectedAccountAclConfigSchema, Br as ComposioMcpDeleteResponseSchema, Bt as ToolRouterSessionMetaToolSlug, C as LocalToolExecuteFn, Ca as Oauth2InactiveConnectionData, Ci as McpDeleteResponseSchema, Cn as FileListResponse, Cr as CreateConnectedAccountParams, Ct as ToolRouterSessionDeleteFn, D as RegisteredLocalTool, Da as Oauth2InitiatingConnectionData, Di as McpRetrieveResponseSchema, Dn as ToolRouterSessionFilesMountDeleteOptions, Dr as DefaultCreateConnectedAccountParamsSchema, Dt as ToolRouterSessionEnsureConnectedOptions, E as RegisteredCustomToolkit, Ea as Oauth2InitiatedConnectionDataSchema, Ei as McpRetrieveResponse, En as RemoteFileDataSchema, Er as CreateConnectedAccountResponseSchema, Et as ToolRouterSessionEnsureConnectedFn, F as SessionExperimental, Fa as MetaToolArguments, Fi as McpUrlResponseCamelCase, Fn as ConnectionRequest, Fr as BaseComposioProvider, Ft as ToolRouterSessionExecuteResponseSchema, G as ToolRouterConfigTagsSchema, Ga as beforeFileUploadModifier, Gi as ConnectionData, Gn as ConnectedAccountCompleteAuthResponse, Gr as CustomCreateResponse, Gt as ToolRouterSessionProxyExecuteFn, H as ToolRouterBlockReasonSchema, Ha as afterExecuteModifier, Hi as ToolCallSession, Hn as ConnectedAccountAuthConfigSchema, Hr as ComposioMcpRetrieveResponseSchema, Ht as ToolRouterSessionPreloadConfig, I as SessionPreset, Ia as ProviderOptions, Ii as McpUserConnectionStatus, In as ConnectionRequestState, Ir as BaseNonAgenticProvider, It as ToolRouterSessionListConfigHistoryFn, J as ToolRouterCreateSessionConfig, Ja as JSONSchemaProperty, Ji as ConnectionStatuses, Jn as ConnectedAccountExperimentalResponse, Jr as GenerateURLParams, Jt as ToolRouterSessionSearchResponse, K as ToolRouterConfigTools, Ka as CustomAuthParams, Ki as ConnectionDataSchema, Kn as ConnectedAccountCompleteAuthResponseSchema, Kr as CustomCreateResponseSchema, Kt as ToolRouterSessionProxyExecuteResponse, L as SessionProxyExecuteParams, La as SessionExecuteMetaModifiers, Li as ExecuteToolFn, Ln as ConnectedAccountAclConfig, Lr as ComposioCustomCreateResponseSchema, Lt as ToolRouterSessionListConfigHistoryOptions, M as SandboxSize, Ma as AgenticToolOptions, Mi as McpUpdateResponse, Mn as ToolRouterSessionFilesMountListOptionsSchema, Mr as UpdateConnectedAccountParams, Mt as ToolRouterSessionExecuteMetaOptions, N as SandboxSizeSchema, Na as BeforeFileUploadSource, Ni as McpUpdateResponseSchema, Nn as ToolRouterSessionFilesMountUploadOptions, Nr as UpdateConnectedAccountParamsSchema, Nt as ToolRouterSessionExecuteOptions, O as RegisteredLocalToolkit, Oa as Oauth2InitiatingConnectionDataSchema, Oi as McpServerCreateResponse, On as ToolRouterSessionFilesMountDeleteOptionsSchema, Or as PatchConnectedAccountParams, Ot as ToolRouterSessionEnsureConnectedOptionsSchema, P as Session, Pa as ExecuteToolModifiers, Pi as McpUrlResponse, Pn as ToolRouterSessionFilesMountUploadOptionsSchema, Pr as BaseAgenticProvider, Pt as ToolRouterSessionExecuteResponse, Q as ToolRouterHookAppliesToSchema, Qa as ToolExecuteMetaParams, Qi as CustomOauth1ConnectionDataSchema, Qn as ConnectedAccountListParamsSchema, Qr as GenerateURLResponseValidated, Qt as ToolRouterSessionWorkbenchConfig, R as SessionProxyExecuteParamsSchema, Ra as SessionMetaToolOptions, Ri as ExecuteToolFnOptions, Rn as ConnectedAccountAclConfigResponse, Rr as ComposioGenerateURLParamsSchema, Rt as ToolRouterSessionListConfigHistoryOptionsSchema, S as LocalTool, Sa as Oauth2FailedConnectionDataSchema, Si as McpDeleteResponse, Sn as FileDeleteResponseSchema, So as ToolkitVersionsSchema, Sr as CreateConnectedAccountOptionsSchema, St as ToolRouterSessionConfigHistoryItem, T as RegisteredCustomTool, Ta as Oauth2InitiatedConnectionData, Ti as McpListResponseSchema, Tn as RemoteFileData, Tr as CreateConnectedAccountResponse, Tt as ToolRouterSessionDeleteResponseSchema, U as ToolRouterConfigManageConnectionsSchema, Ua as beforeExecuteMetaModifier, Ui as BaseConnectionFields, Un as ConnectedAccountCompleteAuthParams, Ur as ComposioMcpUpdateResponseSchema, Ut as ToolRouterSessionProxyExecuteBlocked, V as ToolRouterBlockReason, Va as afterExecuteMetaModifier, Vi as ToolCallExecutionTarget, Vn as ConnectedAccountAuthConfig, Vr as ComposioMcpListResponseSchema, Vt as ToolRouterSessionMetadata, W as ToolRouterConfigTags, Wa as beforeExecuteModifier, Wi as BillcomAuthConnectionDataSchema, Wn as ConnectedAccountCompleteAuthParamsSchema, Wr as ConnectionStatus, Wt as ToolRouterSessionProxyExecuteCompleted, X as ToolRouterHook, Xa as SchemaModifierOptions, Xi as CustomConnectionDataSchema, Xn as ConnectedAccountExperimentalSchema, Xr as GenerateURLResponse, Xt as ToolRouterSessionUpdateFn, Y as ToolRouterCreateSessionConfigSchema, Ya as JSONSchemaPropertySchema, Yi as CustomConnectionData, Yn as ConnectedAccountExperimentalResponseSchema, Yr as GenerateURLParamsSchema, Yt as ToolRouterSessionSearchResponseSchema, Z as ToolRouterHookAppliesTo, Za as Tool, Zi as CustomOauth1ConnectionData, Zn as ConnectedAccountListParams, Zr as GenerateURLResponseSchema, Zt as ToolRouterSessionWarning, _ as CustomToolkitWireDefinition, _a as Oauth2ConnectionData, _i as MCPSingleAppServer, _n as ToolkitConnectionStateSchema, _o as ToolkitVersion, _r as CreateConnectedAccountLinkOptions, _t as ToolRouterProxyExecuteSchema, a as CreateCustomToolkitParams, aa as Oauth1ExpiredConnectionData, ai as MCPGetServerParamsSchema, an as ToolRouterToolkitsOptionsSchema, ao as ToolListParams, ar as ConnectedAccountRetrieveResponseSchema, at as ToolRouterHookSchema, b as InferZodSchema, ba as Oauth2ExpiredConnectionDataSchema, bi as MCPToolkitConfigSchema, bn as RemoteFile, bo as ToolkitVersionSchema, br as CreateConnectedAccountLinkResponseSchema, bt as ToolRouterSessionConfig, c as CustomTool, ca as Oauth1FailedConnectionDataSchema, ci as MCPMultiAppServerSchema, cn as ToolRouterToolsParam, co as ToolListResponseSchema, cr as ConnectedAccountRevokedToken, ct as ToolRouterInputResponse, d as CustomToolResponse, da as Oauth1InitiatedConnectionData, di as MCPServerCreateResponseSchema, dn as ToolRouterUpdateExperimentalSchema, do as ToolRetrievalOptions, dr as ConnectedAccountStatusEnum, dt as ToolRouterMCPServerConfig, ea as CustomOauth2ConnectionDataSchema, ei as MCPAuthOptionsSchema, en as ToolRouterTagsParamSchema, eo as ToolExecuteParams, er as ConnectedAccountListResponseItem, et as ToolRouterHookConditionCheckHandlerSchema, f as CustomToolSlugSchema, fa as Oauth1InitiatedConnectionDataSchema, fi as MCPServerListResponse, fn as ToolRouterUpdateManageConnectionsConfig, fo as ToolSchema, fr as ConnectedAccountStatusSchema, ft as ToolRouterMCPServerConfigSchema, g as CustomToolkitResponse, ga as Oauth2ActiveConnectionDataSchema, gi as MCPServerUpdateParamsSchema, gn as ToolkitConnectionState, go as ToolkitSchema, gr as ConnectedAccountTypes, gt as ToolRouterProxyExecuteConfigSchema, h as CustomToolkitDefinition, ha as Oauth2ActiveConnectionData, hi as MCPServerUpdateParams, hn as ToolRouterUpdateSessionConfigSchema, ho as ToolkitLatestVersionSchema, hr as ConnectedAccountTypeSchema, ht as ToolRouterProxyExecuteConfig, i as CreateCustomToolkitBaseSchema, ia as Oauth1ConnectionDataSchema, ii as MCPGetServerParams, in as ToolRouterToolkitsOptions, io as ToolList, ir as ConnectedAccountRetrieveResponse, it as ToolRouterHookResultSchema, j as MCPServerTypeSchema, ja as RedirectableAuthSchemeSchema, ji as McpToolkitConnectionStatus, jn as ToolRouterSessionFilesMountListOptions, jr as UpdateConnectedAccountAclParamsSchema, jt as ToolRouterSessionExecuteMetaFn, k as SessionContext, ka as Oauth2RevokedConnectionData, ki as McpServerGetResponse, kn as ToolRouterSessionFilesMountDownloadOptions, kr as PatchConnectedAccountParamsSchema, kt as ToolRouterSessionEnsureConnectedResult, l as CustomToolDefinition, la as Oauth1InactiveConnectionData, li as MCPServer, ln as ToolRouterToolsParamSchema, lo as ToolProxyParams, lr as ConnectedAccountRevokedTokenSchema, lt as ToolRouterInstant, m as CustomToolkit, ma as Oauth1InitiatingConnectionDataSchema, mi as MCPServerSchema, mn as ToolRouterUpdateSessionConfig, mo as ToolkitLatestVersion, mr as ConnectedAccountType, mt as ToolRouterProxyExecute, n as CreateCustomToolBaseSchema, na as Oauth1ActiveConnectionDataSchema, ni as MCPGenerateURLParams, nn as ToolRouterToolkitsEnabledConfigSchema, no as ToolExecuteResponse, nr as ConnectedAccountRefreshOptions, nt as ToolRouterHookPromptInjectionCheckHandlerSchema, o as CreateLocalToolParams, oa as Oauth1ExpiredConnectionDataSchema, oi as MCPInstanceParams, on as ToolRouterToolkitsParamSchema, oo as ToolListParamsSchema, or as ConnectedAccountRevokeResponse, ot as ToolRouterHookWebhookHandler, p as CustomToolWireDefinition, pa as Oauth1InitiatingConnectionData, pi as MCPServerListResponseSchema, pn as ToolRouterUpdateManageConnectionsSchema, po as Toolkit, pr as ConnectedAccountStatuses, pt as ToolRouterManageConnectionsConfigSchema, q as ToolRouterConfigToolsSchema, qa as CustomAuthParamsSchema, qi as ConnectionStatusEnum, qn as ConnectedAccountExperimental, qr as CustomCreateResponseValidated, qt as ToolRouterSessionSearchFn, r as CreateCustomToolParams, ra as Oauth1ConnectionData, ri as MCPGenerateURLParamsSchema, rn as ToolRouterToolkitsFn, ro as ToolExecuteResponseSchema, rr as ConnectedAccountRefreshOptionsSchema, rt as ToolRouterHookResult, s as CreateLocalToolkitParams, sa as Oauth1FailedConnectionData, si as MCPMultiAppServer, sn as ToolRouterToolsFn, so as ToolListResponse, sr as ConnectedAccountRevokeResponseSchema, st as ToolRouterHookWebhookHandlerSchema, t as AnyZodSchema, ta as Oauth1ActiveConnectionData, ti as MCPCreateMethodResponse, tn as ToolRouterToolkitsDisabledConfigSchema, to as ToolExecuteParamsSchema, tr as ConnectedAccountListResponseSchema, tt as ToolRouterHookPromptInjectionCheckHandler, u as CustomToolExecuteFn, ua as Oauth1InactiveConnectionDataSchema, ui as MCPServerCreateResponse, un as ToolRouterUpdateExperimentalConfig, uo as ToolProxyParamsSchema, ur as ConnectedAccountStatus, ut as ToolRouterInstantSchema, v as CustomToolsMap, va as Oauth2ConnectionDataSchema, vi as MCPSingleAppServerSchema, vn as ToolkitConnectionsDetails, vo as ToolkitVersionParam, vr as CreateConnectedAccountLinkOptionsSchema, vt as ToolRouterSandboxConfig, w as LocalToolkit, wa as Oauth2InactiveConnectionDataSchema, wi as McpListResponse, wn as FileListResponseSchema, wr as CreateConnectedAccountParamsSchema, wt as ToolRouterSessionDeleteResponse, x as InlineCustomToolsWirePayload, xa as Oauth2FailedConnectionData, xi as MCPToolkitConfigsArraySchema, xn as FileDeleteResponse, xo as ToolkitVersions, xr as CreateConnectedAccountOptions, xt as ToolRouterSessionConfigHistoryConfig, y as CustomToolsMapEntry, ya as Oauth2ExpiredConnectionData, yi as MCPToolkitConfig, yn as ToolkitConnectionsDetailsSchema, yo as ToolkitVersionParamSchema, yr as CreateConnectedAccountLinkResponse, yt as ToolRouterSandboxConfigSchema, z as SessionWithoutMcp, za as ToolOptions, zi as GlobalExecuteToolFn, zn as ConnectedAccountAclConfigResponseSchema, zr as ComposioGenerateURLResponseSchema, zt as ToolRouterSessionListConfigHistoryResponse } from "./customTool.types-CJkoAqUb.mjs";
3
3
  import { a as StrictSchemaIncompatibility, c as deduplicateJsonSchemaRequiredArrays, d as jsonSchemaToZodSchema, f as omitNullToolArguments, i as StrictSchemaChangeReason, l as dereferenceJsonSchema, m as toStrictJsonSchema, n as StrictJsonSchemaResult, o as UnresolvedRefReason, p as removeNonRequiredProperties, r as StrictSchemaChange, s as UnresolvedRefStrategy, t as DereferenceJsonSchemaOptions, u as ensureObjectTypeOnProperties } from "./jsonSchema-CDHLYm7d.mjs";
4
4
  import { t as ComposioRequestOptions } from "./requestOptions.types-DWrTcbss.mjs";
5
5
  import { n as FileUploadData, t as FileDownloadData } from "./files.types-Dg6HcEzs.mjs";
6
- import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-BI7pmomm.mjs";
6
+ import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-BFJBzgnP.mjs";
7
7
  import ComposioClient, { APIError, APIErrorBody, Composio as Composio$1 } from "@composio/client";
8
8
  import { z as z$1 } from "zod/v3";
9
9
  /**
@@ -5616,11 +5616,11 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
5616
5616
  errorId?: string | undefined;
5617
5617
  stack?: string | undefined;
5618
5618
  } | undefined;
5619
+ timestamp?: number | undefined;
5619
5620
  metadata?: {
5620
5621
  projectId?: string | undefined;
5621
5622
  provider?: string | undefined;
5622
5623
  } | undefined;
5623
- timestamp?: number | undefined;
5624
5624
  source?: {
5625
5625
  version?: string | undefined;
5626
5626
  host?: string | undefined;
@@ -5640,11 +5640,11 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
5640
5640
  errorId?: string | undefined;
5641
5641
  stack?: string | undefined;
5642
5642
  } | undefined;
5643
+ timestamp?: number | undefined;
5643
5644
  metadata?: {
5644
5645
  projectId?: string | undefined;
5645
5646
  provider?: string | undefined;
5646
5647
  } | undefined;
5647
- timestamp?: number | undefined;
5648
5648
  source?: {
5649
5649
  version?: string | undefined;
5650
5650
  host?: string | undefined;
@@ -5721,11 +5721,11 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
5721
5721
  errorId?: string | undefined;
5722
5722
  stack?: string | undefined;
5723
5723
  } | undefined;
5724
+ timestamp?: number | undefined;
5724
5725
  metadata?: {
5725
5726
  projectId?: string | undefined;
5726
5727
  provider?: string | undefined;
5727
5728
  } | undefined;
5728
- timestamp?: number | undefined;
5729
5729
  source?: {
5730
5730
  version?: string | undefined;
5731
5731
  host?: string | undefined;
@@ -5745,11 +5745,11 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
5745
5745
  errorId?: string | undefined;
5746
5746
  stack?: string | undefined;
5747
5747
  } | undefined;
5748
+ timestamp?: number | undefined;
5748
5749
  metadata?: {
5749
5750
  projectId?: string | undefined;
5750
5751
  provider?: string | undefined;
5751
5752
  } | undefined;
5752
- timestamp?: number | undefined;
5753
5753
  source?: {
5754
5754
  version?: string | undefined;
5755
5755
  host?: string | undefined;
package/dist/index.mjs CHANGED
@@ -2446,6 +2446,7 @@ const ToolkitAuthConfigDetailsSchema = z$1.object({
2446
2446
  * scopes. Mapped from `required_scopes`; absent when the API omits it.
2447
2447
  */
2448
2448
  requiredScopes: z$1.array(z$1.string()).optional(),
2449
+ isConnectionRevokeSupported: z$1.boolean().optional(),
2449
2450
  fields: z$1.object({
2450
2451
  authConfigCreation: z$1.object({
2451
2452
  optional: z$1.array(ToolkitAuthFieldSchema),
@@ -4829,17 +4830,21 @@ const transformToolkitRetrieveResponse = (response) => {
4829
4830
  scopes: app.scopes,
4830
4831
  ...app.user_scopes != null && { userScopes: app.user_scopes }
4831
4832
  })),
4832
- authConfigDetails: response.auth_config_details?.map((authConfig) => ({
4833
- name: authConfig.name,
4834
- mode: authConfig.mode,
4835
- ...authConfig.auth_hint_url !== void 0 && { authHintUrl: authConfig.auth_hint_url },
4836
- ...authConfig.required_scopes !== void 0 && { requiredScopes: authConfig.required_scopes },
4837
- fields: {
4838
- authConfigCreation: transformToolkitAuthFieldGroup(authConfig.fields?.auth_config_creation),
4839
- connectedAccountInitiation: transformToolkitAuthFieldGroup(authConfig.fields?.connected_account_initiation)
4840
- },
4841
- proxy: { baseUrl: authConfig.proxy?.base_url }
4842
- })),
4833
+ authConfigDetails: response.auth_config_details?.map((authConfig) => {
4834
+ const revokeSupport = ToolkitAuthConfigDetailsSchema.shape.isConnectionRevokeSupported.safeParse(authConfig.is_connection_revoke_supported);
4835
+ return {
4836
+ name: authConfig.name,
4837
+ mode: authConfig.mode,
4838
+ ...authConfig.auth_hint_url !== void 0 && { authHintUrl: authConfig.auth_hint_url },
4839
+ ...authConfig.required_scopes !== void 0 && { requiredScopes: authConfig.required_scopes },
4840
+ ...revokeSupport.success && revokeSupport.data !== void 0 && { isConnectionRevokeSupported: revokeSupport.data },
4841
+ fields: {
4842
+ authConfigCreation: transformToolkitAuthFieldGroup(authConfig.fields?.auth_config_creation),
4843
+ connectedAccountInitiation: transformToolkitAuthFieldGroup(authConfig.fields?.connected_account_initiation)
4844
+ },
4845
+ proxy: { baseUrl: authConfig.proxy?.base_url }
4846
+ };
4847
+ }),
4843
4848
  baseUrl: response.base_url,
4844
4849
  getCurrentUserEndpoint: response.get_current_user_endpoint,
4845
4850
  getCurrentUserEndpointMethod: response.get_current_user_endpoint_method
@@ -7957,6 +7962,10 @@ const LogSearchFilterFieldSchema = z$1.enum([
7957
7962
  "request_id",
7958
7963
  "log_id"
7959
7964
  ]);
7965
+ /**
7966
+ * The legacy substring operators remain in the input type for source compatibility.
7967
+ * Tool-log search rejects them because the API now supports only equality and inequality.
7968
+ */
7960
7969
  const LogSearchFilterOperatorSchema = z$1.enum([
7961
7970
  "==",
7962
7971
  "!=",
@@ -8043,7 +8052,14 @@ const ToolExecutionLogDetailSchema = ToolExecutionLogSchema.extend({
8043
8052
  const transformLogSearchParams = (params) => ({
8044
8053
  limit: params.limit,
8045
8054
  cursor: params.cursor,
8046
- filters: params.filters,
8055
+ filters: params.filters?.map((filter) => {
8056
+ const { operator } = filter;
8057
+ if (operator !== "==" && operator !== "!=") throw new ValidationError("Tool log filters support only \"==\" and \"!=\"");
8058
+ return {
8059
+ ...filter,
8060
+ operator
8061
+ };
8062
+ }),
8047
8063
  time_range: params.timeRange
8048
8064
  });
8049
8065
  const transformToolExecutionLog = (response) => {
@@ -9344,7 +9360,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
9344
9360
  };
9345
9361
 
9346
9362
  // package.json
9347
- var version = "0.33.1-canary.1";
9363
+ var version = "0.33.1-canary.2";
9348
9364
 
9349
9365
  // src/utils/session.ts
9350
9366
  /**
@@ -1,5 +1,5 @@
1
- import { n as ComposioConfig } from "./composio-xb_x1ykP.mjs";
2
- import { Fr as BaseComposioProvider } from "./customTool.types-CneGTXg4.mjs";
1
+ import { n as ComposioConfig } from "./composio-CjpstCB4.mjs";
2
+ import { Fr as BaseComposioProvider } from "./customTool.types-CJkoAqUb.mjs";
3
3
  /**
4
4
  * Configuration defaults for Composio.
5
5
  * These are the required fields that must have default values.
@@ -1,2 +1,2 @@
1
- import { t as ConfigDefaults } from "../../types-B6qJOxJX.mjs";
1
+ import { t as ConfigDefaults } from "../../types-5EkzOezT.mjs";
2
2
  export declare const CONFIG_DEFAULTS: ConfigDefaults;
@@ -1,2 +1,2 @@
1
- import { t as ConfigDefaults } from "../../types-B6qJOxJX.mjs";
1
+ import { t as ConfigDefaults } from "../../types-5EkzOezT.mjs";
2
2
  export declare const CONFIG_DEFAULTS: ConfigDefaults;
@@ -1,4 +1,4 @@
1
- import { Za as Tool, eo as ToolExecuteParams, no as ToolExecuteResponse } from "../../customTool.types-CneGTXg4.mjs";
1
+ import { Za as Tool, eo as ToolExecuteParams, no as ToolExecuteResponse } from "../../customTool.types-CJkoAqUb.mjs";
2
2
  import ComposioClient from "@composio/client";
3
3
  export declare class FileToolModifier {
4
4
  private client;
@@ -1,4 +1,4 @@
1
- import { Za as Tool, eo as ToolExecuteParams, no as ToolExecuteResponse } from "../../customTool.types-CneGTXg4.mjs";
1
+ import { Za as Tool, eo as ToolExecuteParams, no as ToolExecuteResponse } from "../../customTool.types-CJkoAqUb.mjs";
2
2
  import ComposioClient from "@composio/client";
3
3
  export declare class FileToolModifier {
4
4
  constructor(_client: ComposioClient);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "engines": {
5
5
  "node": ">=22.22.3"
6
6
  },
7
- "version": "0.33.1-canary.1",
7
+ "version": "0.33.1-canary.2",
8
8
  "description": "",
9
9
  "main": "dist/index.mjs",
10
10
  "publishConfig": {
@@ -17,6 +17,10 @@ export const LogSearchFilterFieldSchema = z.enum([
17
17
  ]);
18
18
  export type LogSearchFilterField = z.infer<typeof LogSearchFilterFieldSchema>;
19
19
 
20
+ /**
21
+ * The legacy substring operators remain in the input type for source compatibility.
22
+ * Tool-log search rejects them because the API now supports only equality and inequality.
23
+ */
20
24
  export const LogSearchFilterOperatorSchema = z.enum(['==', '!=', 'contains', 'not_contains']);
21
25
  export type LogSearchFilterOperator = z.infer<typeof LogSearchFilterOperatorSchema>;
22
26
 
@@ -108,6 +108,7 @@ export const ToolkitAuthConfigDetailsSchema = z.object({
108
108
  * scopes. Mapped from `required_scopes`; absent when the API omits it.
109
109
  */
110
110
  requiredScopes: z.array(z.string()).optional(),
111
+ isConnectionRevokeSupported: z.boolean().optional(),
111
112
  fields: z.object({
112
113
  authConfigCreation: z.object({
113
114
  optional: z.array(ToolkitAuthFieldSchema),
@@ -13,12 +13,19 @@ import {
13
13
  ToolExecutionLogMetadataSchema,
14
14
  ToolExecutionLogSchema,
15
15
  } from '../../types/logs.types';
16
+ import { ValidationError } from '../../errors/ValidationErrors';
16
17
  import { transform } from '../transform';
17
18
 
18
19
  export const transformLogSearchParams = (params: LogSearchParams): RawLogSearchParams => ({
19
20
  limit: params.limit,
20
21
  cursor: params.cursor,
21
- filters: params.filters,
22
+ filters: params.filters?.map(filter => {
23
+ const { operator } = filter;
24
+ if (operator !== '==' && operator !== '!=') {
25
+ throw new ValidationError('Tool log filters support only "==" and "!="');
26
+ }
27
+ return { ...filter, operator };
28
+ }),
22
29
  time_range: params.timeRange,
23
30
  });
24
31
 
@@ -13,6 +13,7 @@ import {
13
13
  ToolKitListResponse,
14
14
  ToolKitListResponseSchema,
15
15
  ToolkitAuthField,
16
+ ToolkitAuthConfigDetailsSchema,
16
17
  ToolkitRetrieveResponse,
17
18
  ToolkitRetrieveResponseSchema,
18
19
  ToolkitRetrieveCategoriesResponse,
@@ -28,9 +29,11 @@ import {
28
29
  } from '../../types/toolkit.types';
29
30
  import { transform } from '../transform';
30
31
 
31
- type RawToolkitAuthConfigDetailFields = NonNullable<
32
+ type RawToolkitAuthConfigDetail = NonNullable<
32
33
  RawToolkitRetrieveResponse['auth_config_details']
33
- >[number]['fields'];
34
+ >[number] & { is_connection_revoke_supported?: boolean };
35
+
36
+ type RawToolkitAuthConfigDetailFields = RawToolkitAuthConfigDetail['fields'];
34
37
 
35
38
  /**
36
39
  * A single auth form field as the API ships it, across all four groups. The
@@ -163,27 +166,39 @@ export const transformToolkitRetrieveResponse = (
163
166
  scopes: app.scopes,
164
167
  ...(app.user_scopes != null && { userScopes: app.user_scopes }),
165
168
  })),
166
- authConfigDetails: response.auth_config_details?.map(authConfig => ({
167
- name: authConfig.name,
168
- mode: authConfig.mode,
169
- ...(authConfig.auth_hint_url !== undefined && {
170
- authHintUrl: authConfig.auth_hint_url,
171
- }),
172
- ...(authConfig.required_scopes !== undefined && {
173
- requiredScopes: authConfig.required_scopes,
174
- }),
175
- fields: {
176
- authConfigCreation: transformToolkitAuthFieldGroup(
177
- authConfig.fields?.auth_config_creation
178
- ),
179
- connectedAccountInitiation: transformToolkitAuthFieldGroup(
180
- authConfig.fields?.connected_account_initiation
181
- ),
182
- },
183
- proxy: {
184
- baseUrl: authConfig.proxy?.base_url,
185
- },
186
- })),
169
+ authConfigDetails: response.auth_config_details?.map(
170
+ (authConfig: RawToolkitAuthConfigDetail) => {
171
+ const revokeSupport =
172
+ ToolkitAuthConfigDetailsSchema.shape.isConnectionRevokeSupported.safeParse(
173
+ authConfig.is_connection_revoke_supported
174
+ );
175
+ return {
176
+ name: authConfig.name,
177
+ mode: authConfig.mode,
178
+ ...(authConfig.auth_hint_url !== undefined && {
179
+ authHintUrl: authConfig.auth_hint_url,
180
+ }),
181
+ ...(authConfig.required_scopes !== undefined && {
182
+ requiredScopes: authConfig.required_scopes,
183
+ }),
184
+ ...(revokeSupport.success &&
185
+ revokeSupport.data !== undefined && {
186
+ isConnectionRevokeSupported: revokeSupport.data,
187
+ }),
188
+ fields: {
189
+ authConfigCreation: transformToolkitAuthFieldGroup(
190
+ authConfig.fields?.auth_config_creation
191
+ ),
192
+ connectedAccountInitiation: transformToolkitAuthFieldGroup(
193
+ authConfig.fields?.connected_account_initiation
194
+ ),
195
+ },
196
+ proxy: {
197
+ baseUrl: authConfig.proxy?.base_url,
198
+ },
199
+ };
200
+ }
201
+ ),
187
202
  baseUrl: response.base_url,
188
203
  getCurrentUserEndpoint: response.get_current_user_endpoint,
189
204
  getCurrentUserEndpointMethod: response.get_current_user_endpoint_method,