@composio/core 0.8.1 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/{CustomTool-BaRzlwyV.d.mts → CustomTool-BFkwL1aY.d.mts} +1 -1
  2. package/dist/{CustomTool-DnCSEC6t.cjs → CustomTool-Bkk0QYzw.cjs} +352 -26
  3. package/dist/{CustomTool-CVwF_isu.mjs → CustomTool-IIUhFtP8.mjs} +287 -27
  4. package/dist/{CustomTool-CzhY9iPX.d.cts → CustomTool-PSRHsd85.d.cts} +1 -1
  5. package/dist/{composio-B75SFMkx.d.cts → composio-BnLWW0B6.d.cts} +249 -166
  6. package/dist/{composio-CwcLLO7C.d.mts → composio-Dzlk0Wj4.d.mts} +249 -166
  7. package/dist/{customTool.types-2DhEI1vs.d.cts → customTool.types-BVgnEbR2.d.cts} +467 -30
  8. package/dist/{customTool.types-BL_z-C_B.d.mts → customTool.types-oV5boR1w.d.mts} +467 -30
  9. package/dist/experimental/index.cjs +1 -1
  10. package/dist/experimental/index.d.cts +2 -2
  11. package/dist/experimental/index.d.mts +3 -3
  12. package/dist/experimental/index.mjs +1 -1
  13. package/dist/index.cjs +715 -72
  14. package/dist/index.d.cts +122 -9
  15. package/dist/index.d.mts +122 -9
  16. package/dist/index.mjs +704 -75
  17. package/dist/{tool.types-CNYy-lBq.d.mts → tool.types-CB_4JKhV.d.mts} +600 -37
  18. package/dist/{tool.types-BlXcjUs1.d.cts → tool.types-CwbAy9l_.d.cts} +600 -37
  19. package/dist/{types-CZkT1raQ.d.cts → types-4vkdo_RG.d.cts} +2 -2
  20. package/dist/{types-DGrpnYFI.d.mts → types-AcoPzTnm.d.mts} +2 -2
  21. package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
  22. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
  23. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
  24. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
  25. package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
  26. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  27. package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
  28. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  29. package/package.json +2 -2
@@ -1,16 +1,20 @@
1
- import { D as ToolkitVersionParam, I as ProviderOptions, J as BaseNonAgenticProvider, Kt as McpUrlResponse, L as SessionExecuteMetaModifiers, P as ExecuteToolModifiers, Vt as McpServerGetResponse, Xt as ExecuteToolFnOptions, a as SchemaModifierOptions, b as ToolRetrievalOptions, d as ToolExecuteResponse$1, l as ToolExecuteParams, m as ToolListParams, o as Tool, p as ToolList, q as BaseComposioProvider, s as ToolExecuteMetaParams, v as ToolProxyParams } from "./tool.types-CNYy-lBq.mjs";
2
- import { Bt as ConnectedAccountRefreshOptions, Ft as ConnectedAccountListParams, Ht as ConnectedAccountRetrieveResponse, Jt as CreateConnectedAccountLinkOptions, Lt as ConnectedAccountListResponse, O as Session, Qt as CreateConnectedAccountOptions, R as ToolRouterCreateSessionConfig, an as UpdateConnectedAccountParams, c as CustomToolInputParameter, jt as ConnectionRequest, l as CustomToolOptions } from "./customTool.types-BL_z-C_B.mjs";
1
+ import { D as ToolkitVersionParam, I as ProviderOptions, J as BaseNonAgenticProvider, Kt as McpUrlResponse, L as SessionExecuteMetaModifiers, P as ExecuteToolModifiers, Vt as McpServerGetResponse, Xt as ExecuteToolFnOptions, a as SchemaModifierOptions, b as ToolRetrievalOptions, d as ToolExecuteResponse$1, l as ToolExecuteParams, m as ToolListParams, o as Tool, p as ToolList, q as BaseComposioProvider, s as ToolExecuteMetaParams, v as ToolProxyParams } from "./tool.types-CB_4JKhV.mjs";
2
+ import { $t as ConnectedAccountRetrieveResponse, H as ToolRouterCreateSessionConfig, Jt as ConnectedAccountListResponse, Kt as ConnectedAccountListParams, Rt as ConnectionRequest, Zt as ConnectedAccountRefreshOptions, a as CustomTool, c as CustomToolInputParameter, cn as CreateConnectedAccountLinkOptions, fn as CreateConnectedAccountOptions, h as CustomToolkit, j as Session, l as CustomToolOptions, xn as UpdateConnectedAccountParams, yn as UpdateConnectedAccountAclParams } from "./customTool.types-oV5boR1w.mjs";
3
3
  import ComposioClient, { Composio } from "@composio/client";
4
4
  import z, { z as z$1 } from "zod/v3";
5
5
  import { OpenAI } from "openai";
6
6
  import { Files } from "#files";
7
- import { ConnectedAccountDeleteResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
7
+ import { ConnectedAccountDeleteResponse, ConnectedAccountPatchResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
8
+ import { SessionExecuteParams } from "@composio/client/resources/tool-router/session/session.mjs";
8
9
  import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
9
10
  import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
10
11
  import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
11
12
  import { Stream } from "openai/streaming";
12
13
 
13
14
  //#region src/models/Tools.d.ts
15
+ type ToolRouterSessionExecuteOptions = {
16
+ experimental?: SessionExecuteParams.Experimental;
17
+ };
14
18
  /**
15
19
  * This class is used to manage tools in the Composio SDK.
16
20
  * It provides methods to list, get, and execute tools.
@@ -417,7 +421,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
417
421
  * @param {Tool} tool - Optional tool schema used to resolve toolkit metadata for modifiers
418
422
  * @returns {Promise<ToolExecuteResponse>} The response from the tool execution
419
423
  */
420
- executeSessionTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers, tool?: Tool): Promise<ToolExecuteResponse$1>;
424
+ executeSessionTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers, tool?: Tool, options?: ToolRouterSessionExecuteOptions): Promise<ToolExecuteResponse$1>;
421
425
  /**
422
426
  * Fetches the list of all available tools in the Composio SDK.
423
427
  *
@@ -560,11 +564,11 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
560
564
  slug: z$1.ZodString;
561
565
  name: z$1.ZodString;
562
566
  }, "strip", z$1.ZodTypeAny, {
563
- name: string;
564
567
  slug: string;
565
- }, {
566
568
  name: string;
569
+ }, {
567
570
  slug: string;
571
+ name: string;
568
572
  }>, "many">>;
569
573
  appUrl: z$1.ZodOptional<z$1.ZodString>;
570
574
  createdAt: z$1.ZodOptional<z$1.ZodString>;
@@ -575,31 +579,31 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
575
579
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
576
580
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
577
581
  }, "strip", z$1.ZodTypeAny, {
578
- description?: string | undefined;
579
582
  logo?: string | undefined;
583
+ description?: string | undefined;
580
584
  availableVersions?: string[] | undefined;
581
585
  createdAt?: string | undefined;
586
+ updatedAt?: string | undefined;
582
587
  categories?: {
583
- name: string;
584
588
  slug: string;
589
+ name: string;
585
590
  }[] | undefined;
586
591
  appUrl?: string | undefined;
587
592
  toolsCount?: number | undefined;
588
593
  triggersCount?: number | undefined;
589
- updatedAt?: string | undefined;
590
594
  }, {
591
- description?: string | undefined;
592
595
  logo?: string | undefined;
596
+ description?: string | undefined;
593
597
  availableVersions?: string[] | undefined;
594
598
  createdAt?: string | undefined;
599
+ updatedAt?: string | undefined;
595
600
  categories?: {
596
- name: string;
597
601
  slug: string;
602
+ name: string;
598
603
  }[] | undefined;
599
604
  appUrl?: string | undefined;
600
605
  toolsCount?: number | undefined;
601
606
  triggersCount?: number | undefined;
602
- updatedAt?: string | undefined;
603
607
  }>;
604
608
  declare const ToolKitItemSchema: z$1.ZodObject<{
605
609
  name: z$1.ZodString;
@@ -609,11 +613,11 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
609
613
  slug: z$1.ZodString;
610
614
  name: z$1.ZodString;
611
615
  }, "strip", z$1.ZodTypeAny, {
612
- name: string;
613
616
  slug: string;
614
- }, {
615
617
  name: string;
618
+ }, {
616
619
  slug: string;
620
+ name: string;
617
621
  }>, "many">>;
618
622
  appUrl: z$1.ZodOptional<z$1.ZodString>;
619
623
  createdAt: z$1.ZodOptional<z$1.ZodString>;
@@ -624,73 +628,73 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
624
628
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
625
629
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
626
630
  }, "strip", z$1.ZodTypeAny, {
627
- description?: string | undefined;
628
631
  logo?: string | undefined;
632
+ description?: string | undefined;
629
633
  availableVersions?: string[] | undefined;
630
634
  createdAt?: string | undefined;
635
+ updatedAt?: string | undefined;
631
636
  categories?: {
632
- name: string;
633
637
  slug: string;
638
+ name: string;
634
639
  }[] | undefined;
635
640
  appUrl?: string | undefined;
636
641
  toolsCount?: number | undefined;
637
642
  triggersCount?: number | undefined;
638
- updatedAt?: string | undefined;
639
643
  }, {
640
- description?: string | undefined;
641
644
  logo?: string | undefined;
645
+ description?: string | undefined;
642
646
  availableVersions?: string[] | undefined;
643
647
  createdAt?: string | undefined;
648
+ updatedAt?: string | undefined;
644
649
  categories?: {
645
- name: string;
646
650
  slug: string;
651
+ name: string;
647
652
  }[] | undefined;
648
653
  appUrl?: string | undefined;
649
654
  toolsCount?: number | undefined;
650
655
  triggersCount?: number | undefined;
651
- updatedAt?: string | undefined;
652
656
  }>;
653
657
  isLocalToolkit: z$1.ZodBoolean;
654
658
  authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
655
659
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
656
660
  noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
657
661
  }, "strip", z$1.ZodTypeAny, {
658
- name: string;
659
662
  slug: string;
663
+ name: string;
660
664
  meta: {
661
- description?: string | undefined;
662
665
  logo?: string | undefined;
666
+ description?: string | undefined;
663
667
  availableVersions?: string[] | undefined;
664
668
  createdAt?: string | undefined;
669
+ updatedAt?: string | undefined;
665
670
  categories?: {
666
- name: string;
667
671
  slug: string;
672
+ name: string;
668
673
  }[] | undefined;
669
674
  appUrl?: string | undefined;
670
675
  toolsCount?: number | undefined;
671
676
  triggersCount?: number | undefined;
672
- updatedAt?: string | undefined;
673
677
  };
674
678
  isLocalToolkit: boolean;
675
679
  authSchemes?: string[] | undefined;
676
680
  composioManagedAuthSchemes?: string[] | undefined;
677
681
  noAuth?: boolean | undefined;
678
682
  }, {
679
- name: string;
680
683
  slug: string;
684
+ name: string;
681
685
  meta: {
682
- description?: string | undefined;
683
686
  logo?: string | undefined;
687
+ description?: string | undefined;
684
688
  availableVersions?: string[] | undefined;
685
689
  createdAt?: string | undefined;
690
+ updatedAt?: string | undefined;
686
691
  categories?: {
687
- name: string;
688
692
  slug: string;
693
+ name: string;
689
694
  }[] | undefined;
690
695
  appUrl?: string | undefined;
691
696
  toolsCount?: number | undefined;
692
697
  triggersCount?: number | undefined;
693
- updatedAt?: string | undefined;
694
698
  };
695
699
  isLocalToolkit: boolean;
696
700
  authSchemes?: string[] | undefined;
@@ -705,11 +709,11 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
705
709
  slug: z$1.ZodString;
706
710
  name: z$1.ZodString;
707
711
  }, "strip", z$1.ZodTypeAny, {
708
- name: string;
709
712
  slug: string;
710
- }, {
711
713
  name: string;
714
+ }, {
712
715
  slug: string;
716
+ name: string;
713
717
  }>, "many">>;
714
718
  appUrl: z$1.ZodOptional<z$1.ZodString>;
715
719
  createdAt: z$1.ZodOptional<z$1.ZodString>;
@@ -720,73 +724,73 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
720
724
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
721
725
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
722
726
  }, "strip", z$1.ZodTypeAny, {
723
- description?: string | undefined;
724
727
  logo?: string | undefined;
728
+ description?: string | undefined;
725
729
  availableVersions?: string[] | undefined;
726
730
  createdAt?: string | undefined;
731
+ updatedAt?: string | undefined;
727
732
  categories?: {
728
- name: string;
729
733
  slug: string;
734
+ name: string;
730
735
  }[] | undefined;
731
736
  appUrl?: string | undefined;
732
737
  toolsCount?: number | undefined;
733
738
  triggersCount?: number | undefined;
734
- updatedAt?: string | undefined;
735
739
  }, {
736
- description?: string | undefined;
737
740
  logo?: string | undefined;
741
+ description?: string | undefined;
738
742
  availableVersions?: string[] | undefined;
739
743
  createdAt?: string | undefined;
744
+ updatedAt?: string | undefined;
740
745
  categories?: {
741
- name: string;
742
746
  slug: string;
747
+ name: string;
743
748
  }[] | undefined;
744
749
  appUrl?: string | undefined;
745
750
  toolsCount?: number | undefined;
746
751
  triggersCount?: number | undefined;
747
- updatedAt?: string | undefined;
748
752
  }>;
749
753
  isLocalToolkit: z$1.ZodBoolean;
750
754
  authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
751
755
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
752
756
  noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
753
757
  }, "strip", z$1.ZodTypeAny, {
754
- name: string;
755
758
  slug: string;
759
+ name: string;
756
760
  meta: {
757
- description?: string | undefined;
758
761
  logo?: string | undefined;
762
+ description?: string | undefined;
759
763
  availableVersions?: string[] | undefined;
760
764
  createdAt?: string | undefined;
765
+ updatedAt?: string | undefined;
761
766
  categories?: {
762
- name: string;
763
767
  slug: string;
768
+ name: string;
764
769
  }[] | undefined;
765
770
  appUrl?: string | undefined;
766
771
  toolsCount?: number | undefined;
767
772
  triggersCount?: number | undefined;
768
- updatedAt?: string | undefined;
769
773
  };
770
774
  isLocalToolkit: boolean;
771
775
  authSchemes?: string[] | undefined;
772
776
  composioManagedAuthSchemes?: string[] | undefined;
773
777
  noAuth?: boolean | undefined;
774
778
  }, {
775
- name: string;
776
779
  slug: string;
780
+ name: string;
777
781
  meta: {
778
- description?: string | undefined;
779
782
  logo?: string | undefined;
783
+ description?: string | undefined;
780
784
  availableVersions?: string[] | undefined;
781
785
  createdAt?: string | undefined;
786
+ updatedAt?: string | undefined;
782
787
  categories?: {
783
- name: string;
784
788
  slug: string;
789
+ name: string;
785
790
  }[] | undefined;
786
791
  appUrl?: string | undefined;
787
792
  toolsCount?: number | undefined;
788
793
  triggersCount?: number | undefined;
789
- updatedAt?: string | undefined;
790
794
  };
791
795
  isLocalToolkit: boolean;
792
796
  authSchemes?: string[] | undefined;
@@ -808,15 +812,15 @@ declare const ToolkitAuthFieldSchema: z$1.ZodObject<{
808
812
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
809
813
  }, "strip", z$1.ZodTypeAny, {
810
814
  name: string;
811
- description: string;
812
815
  type: string;
816
+ description: string;
813
817
  required: boolean;
814
818
  displayName: string;
815
819
  default?: string | null | undefined;
816
820
  }, {
817
821
  name: string;
818
- description: string;
819
822
  type: string;
823
+ description: string;
820
824
  required: boolean;
821
825
  displayName: string;
822
826
  default?: string | null | undefined;
@@ -835,15 +839,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
835
839
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
836
840
  }, "strip", z$1.ZodTypeAny, {
837
841
  name: string;
838
- description: string;
839
842
  type: string;
843
+ description: string;
840
844
  required: boolean;
841
845
  displayName: string;
842
846
  default?: string | null | undefined;
843
847
  }, {
844
848
  name: string;
845
- description: string;
846
849
  type: string;
850
+ description: string;
847
851
  required: boolean;
848
852
  displayName: string;
849
853
  default?: string | null | undefined;
@@ -857,15 +861,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
857
861
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
858
862
  }, "strip", z$1.ZodTypeAny, {
859
863
  name: string;
860
- description: string;
861
864
  type: string;
865
+ description: string;
862
866
  required: boolean;
863
867
  displayName: string;
864
868
  default?: string | null | undefined;
865
869
  }, {
866
870
  name: string;
867
- description: string;
868
871
  type: string;
872
+ description: string;
869
873
  required: boolean;
870
874
  displayName: string;
871
875
  default?: string | null | undefined;
@@ -873,16 +877,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
873
877
  }, "strip", z$1.ZodTypeAny, {
874
878
  required: {
875
879
  name: string;
876
- description: string;
877
880
  type: string;
881
+ description: string;
878
882
  required: boolean;
879
883
  displayName: string;
880
884
  default?: string | null | undefined;
881
885
  }[];
882
886
  optional: {
883
887
  name: string;
884
- description: string;
885
888
  type: string;
889
+ description: string;
886
890
  required: boolean;
887
891
  displayName: string;
888
892
  default?: string | null | undefined;
@@ -890,16 +894,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
890
894
  }, {
891
895
  required: {
892
896
  name: string;
893
- description: string;
894
897
  type: string;
898
+ description: string;
895
899
  required: boolean;
896
900
  displayName: string;
897
901
  default?: string | null | undefined;
898
902
  }[];
899
903
  optional: {
900
904
  name: string;
901
- description: string;
902
905
  type: string;
906
+ description: string;
903
907
  required: boolean;
904
908
  displayName: string;
905
909
  default?: string | null | undefined;
@@ -915,15 +919,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
915
919
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
916
920
  }, "strip", z$1.ZodTypeAny, {
917
921
  name: string;
918
- description: string;
919
922
  type: string;
923
+ description: string;
920
924
  required: boolean;
921
925
  displayName: string;
922
926
  default?: string | null | undefined;
923
927
  }, {
924
928
  name: string;
925
- description: string;
926
929
  type: string;
930
+ description: string;
927
931
  required: boolean;
928
932
  displayName: string;
929
933
  default?: string | null | undefined;
@@ -937,15 +941,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
937
941
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
938
942
  }, "strip", z$1.ZodTypeAny, {
939
943
  name: string;
940
- description: string;
941
944
  type: string;
945
+ description: string;
942
946
  required: boolean;
943
947
  displayName: string;
944
948
  default?: string | null | undefined;
945
949
  }, {
946
950
  name: string;
947
- description: string;
948
951
  type: string;
952
+ description: string;
949
953
  required: boolean;
950
954
  displayName: string;
951
955
  default?: string | null | undefined;
@@ -953,16 +957,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
953
957
  }, "strip", z$1.ZodTypeAny, {
954
958
  required: {
955
959
  name: string;
956
- description: string;
957
960
  type: string;
961
+ description: string;
958
962
  required: boolean;
959
963
  displayName: string;
960
964
  default?: string | null | undefined;
961
965
  }[];
962
966
  optional: {
963
967
  name: string;
964
- description: string;
965
968
  type: string;
969
+ description: string;
966
970
  required: boolean;
967
971
  displayName: string;
968
972
  default?: string | null | undefined;
@@ -970,16 +974,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
970
974
  }, {
971
975
  required: {
972
976
  name: string;
973
- description: string;
974
977
  type: string;
978
+ description: string;
975
979
  required: boolean;
976
980
  displayName: string;
977
981
  default?: string | null | undefined;
978
982
  }[];
979
983
  optional: {
980
984
  name: string;
981
- description: string;
982
985
  type: string;
986
+ description: string;
983
987
  required: boolean;
984
988
  displayName: string;
985
989
  default?: string | null | undefined;
@@ -989,16 +993,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
989
993
  authConfigCreation: {
990
994
  required: {
991
995
  name: string;
992
- description: string;
993
996
  type: string;
997
+ description: string;
994
998
  required: boolean;
995
999
  displayName: string;
996
1000
  default?: string | null | undefined;
997
1001
  }[];
998
1002
  optional: {
999
1003
  name: string;
1000
- description: string;
1001
1004
  type: string;
1005
+ description: string;
1002
1006
  required: boolean;
1003
1007
  displayName: string;
1004
1008
  default?: string | null | undefined;
@@ -1007,16 +1011,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1007
1011
  connectedAccountInitiation: {
1008
1012
  required: {
1009
1013
  name: string;
1010
- description: string;
1011
1014
  type: string;
1015
+ description: string;
1012
1016
  required: boolean;
1013
1017
  displayName: string;
1014
1018
  default?: string | null | undefined;
1015
1019
  }[];
1016
1020
  optional: {
1017
1021
  name: string;
1018
- description: string;
1019
1022
  type: string;
1023
+ description: string;
1020
1024
  required: boolean;
1021
1025
  displayName: string;
1022
1026
  default?: string | null | undefined;
@@ -1026,16 +1030,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1026
1030
  authConfigCreation: {
1027
1031
  required: {
1028
1032
  name: string;
1029
- description: string;
1030
1033
  type: string;
1034
+ description: string;
1031
1035
  required: boolean;
1032
1036
  displayName: string;
1033
1037
  default?: string | null | undefined;
1034
1038
  }[];
1035
1039
  optional: {
1036
1040
  name: string;
1037
- description: string;
1038
1041
  type: string;
1042
+ description: string;
1039
1043
  required: boolean;
1040
1044
  displayName: string;
1041
1045
  default?: string | null | undefined;
@@ -1044,16 +1048,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1044
1048
  connectedAccountInitiation: {
1045
1049
  required: {
1046
1050
  name: string;
1047
- description: string;
1048
1051
  type: string;
1052
+ description: string;
1049
1053
  required: boolean;
1050
1054
  displayName: string;
1051
1055
  default?: string | null | undefined;
1052
1056
  }[];
1053
1057
  optional: {
1054
1058
  name: string;
1055
- description: string;
1056
1059
  type: string;
1060
+ description: string;
1057
1061
  required: boolean;
1058
1062
  displayName: string;
1059
1063
  default?: string | null | undefined;
@@ -1074,16 +1078,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1074
1078
  authConfigCreation: {
1075
1079
  required: {
1076
1080
  name: string;
1077
- description: string;
1078
1081
  type: string;
1082
+ description: string;
1079
1083
  required: boolean;
1080
1084
  displayName: string;
1081
1085
  default?: string | null | undefined;
1082
1086
  }[];
1083
1087
  optional: {
1084
1088
  name: string;
1085
- description: string;
1086
1089
  type: string;
1090
+ description: string;
1087
1091
  required: boolean;
1088
1092
  displayName: string;
1089
1093
  default?: string | null | undefined;
@@ -1092,16 +1096,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1092
1096
  connectedAccountInitiation: {
1093
1097
  required: {
1094
1098
  name: string;
1095
- description: string;
1096
1099
  type: string;
1100
+ description: string;
1097
1101
  required: boolean;
1098
1102
  displayName: string;
1099
1103
  default?: string | null | undefined;
1100
1104
  }[];
1101
1105
  optional: {
1102
1106
  name: string;
1103
- description: string;
1104
1107
  type: string;
1108
+ description: string;
1105
1109
  required: boolean;
1106
1110
  displayName: string;
1107
1111
  default?: string | null | undefined;
@@ -1118,16 +1122,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1118
1122
  authConfigCreation: {
1119
1123
  required: {
1120
1124
  name: string;
1121
- description: string;
1122
1125
  type: string;
1126
+ description: string;
1123
1127
  required: boolean;
1124
1128
  displayName: string;
1125
1129
  default?: string | null | undefined;
1126
1130
  }[];
1127
1131
  optional: {
1128
1132
  name: string;
1129
- description: string;
1130
1133
  type: string;
1134
+ description: string;
1131
1135
  required: boolean;
1132
1136
  displayName: string;
1133
1137
  default?: string | null | undefined;
@@ -1136,16 +1140,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1136
1140
  connectedAccountInitiation: {
1137
1141
  required: {
1138
1142
  name: string;
1139
- description: string;
1140
1143
  type: string;
1144
+ description: string;
1141
1145
  required: boolean;
1142
1146
  displayName: string;
1143
1147
  default?: string | null | undefined;
1144
1148
  }[];
1145
1149
  optional: {
1146
1150
  name: string;
1147
- description: string;
1148
1151
  type: string;
1152
+ description: string;
1149
1153
  required: boolean;
1150
1154
  displayName: string;
1151
1155
  default?: string | null | undefined;
@@ -1164,11 +1168,11 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1164
1168
  slug: z$1.ZodString;
1165
1169
  name: z$1.ZodString;
1166
1170
  }, "strip", z$1.ZodTypeAny, {
1167
- name: string;
1168
1171
  slug: string;
1169
- }, {
1170
1172
  name: string;
1173
+ }, {
1171
1174
  slug: string;
1175
+ name: string;
1172
1176
  }>, "many">>;
1173
1177
  appUrl: z$1.ZodOptional<z$1.ZodString>;
1174
1178
  createdAt: z$1.ZodOptional<z$1.ZodString>;
@@ -1179,31 +1183,31 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1179
1183
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
1180
1184
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1181
1185
  }, "strip", z$1.ZodTypeAny, {
1182
- description?: string | undefined;
1183
1186
  logo?: string | undefined;
1187
+ description?: string | undefined;
1184
1188
  availableVersions?: string[] | undefined;
1185
1189
  createdAt?: string | undefined;
1190
+ updatedAt?: string | undefined;
1186
1191
  categories?: {
1187
- name: string;
1188
1192
  slug: string;
1193
+ name: string;
1189
1194
  }[] | undefined;
1190
1195
  appUrl?: string | undefined;
1191
1196
  toolsCount?: number | undefined;
1192
1197
  triggersCount?: number | undefined;
1193
- updatedAt?: string | undefined;
1194
1198
  }, {
1195
- description?: string | undefined;
1196
1199
  logo?: string | undefined;
1200
+ description?: string | undefined;
1197
1201
  availableVersions?: string[] | undefined;
1198
1202
  createdAt?: string | undefined;
1203
+ updatedAt?: string | undefined;
1199
1204
  categories?: {
1200
- name: string;
1201
1205
  slug: string;
1206
+ name: string;
1202
1207
  }[] | undefined;
1203
1208
  appUrl?: string | undefined;
1204
1209
  toolsCount?: number | undefined;
1205
1210
  triggersCount?: number | undefined;
1206
- updatedAt?: string | undefined;
1207
1211
  }>;
1208
1212
  isLocalToolkit: z$1.ZodBoolean;
1209
1213
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -1221,15 +1225,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1221
1225
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1222
1226
  }, "strip", z$1.ZodTypeAny, {
1223
1227
  name: string;
1224
- description: string;
1225
1228
  type: string;
1229
+ description: string;
1226
1230
  required: boolean;
1227
1231
  displayName: string;
1228
1232
  default?: string | null | undefined;
1229
1233
  }, {
1230
1234
  name: string;
1231
- description: string;
1232
1235
  type: string;
1236
+ description: string;
1233
1237
  required: boolean;
1234
1238
  displayName: string;
1235
1239
  default?: string | null | undefined;
@@ -1243,15 +1247,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1243
1247
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1244
1248
  }, "strip", z$1.ZodTypeAny, {
1245
1249
  name: string;
1246
- description: string;
1247
1250
  type: string;
1251
+ description: string;
1248
1252
  required: boolean;
1249
1253
  displayName: string;
1250
1254
  default?: string | null | undefined;
1251
1255
  }, {
1252
1256
  name: string;
1253
- description: string;
1254
1257
  type: string;
1258
+ description: string;
1255
1259
  required: boolean;
1256
1260
  displayName: string;
1257
1261
  default?: string | null | undefined;
@@ -1259,16 +1263,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1259
1263
  }, "strip", z$1.ZodTypeAny, {
1260
1264
  required: {
1261
1265
  name: string;
1262
- description: string;
1263
1266
  type: string;
1267
+ description: string;
1264
1268
  required: boolean;
1265
1269
  displayName: string;
1266
1270
  default?: string | null | undefined;
1267
1271
  }[];
1268
1272
  optional: {
1269
1273
  name: string;
1270
- description: string;
1271
1274
  type: string;
1275
+ description: string;
1272
1276
  required: boolean;
1273
1277
  displayName: string;
1274
1278
  default?: string | null | undefined;
@@ -1276,16 +1280,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1276
1280
  }, {
1277
1281
  required: {
1278
1282
  name: string;
1279
- description: string;
1280
1283
  type: string;
1284
+ description: string;
1281
1285
  required: boolean;
1282
1286
  displayName: string;
1283
1287
  default?: string | null | undefined;
1284
1288
  }[];
1285
1289
  optional: {
1286
1290
  name: string;
1287
- description: string;
1288
1291
  type: string;
1292
+ description: string;
1289
1293
  required: boolean;
1290
1294
  displayName: string;
1291
1295
  default?: string | null | undefined;
@@ -1301,15 +1305,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1301
1305
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1302
1306
  }, "strip", z$1.ZodTypeAny, {
1303
1307
  name: string;
1304
- description: string;
1305
1308
  type: string;
1309
+ description: string;
1306
1310
  required: boolean;
1307
1311
  displayName: string;
1308
1312
  default?: string | null | undefined;
1309
1313
  }, {
1310
1314
  name: string;
1311
- description: string;
1312
1315
  type: string;
1316
+ description: string;
1313
1317
  required: boolean;
1314
1318
  displayName: string;
1315
1319
  default?: string | null | undefined;
@@ -1323,15 +1327,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1323
1327
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1324
1328
  }, "strip", z$1.ZodTypeAny, {
1325
1329
  name: string;
1326
- description: string;
1327
1330
  type: string;
1331
+ description: string;
1328
1332
  required: boolean;
1329
1333
  displayName: string;
1330
1334
  default?: string | null | undefined;
1331
1335
  }, {
1332
1336
  name: string;
1333
- description: string;
1334
1337
  type: string;
1338
+ description: string;
1335
1339
  required: boolean;
1336
1340
  displayName: string;
1337
1341
  default?: string | null | undefined;
@@ -1339,16 +1343,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1339
1343
  }, "strip", z$1.ZodTypeAny, {
1340
1344
  required: {
1341
1345
  name: string;
1342
- description: string;
1343
1346
  type: string;
1347
+ description: string;
1344
1348
  required: boolean;
1345
1349
  displayName: string;
1346
1350
  default?: string | null | undefined;
1347
1351
  }[];
1348
1352
  optional: {
1349
1353
  name: string;
1350
- description: string;
1351
1354
  type: string;
1355
+ description: string;
1352
1356
  required: boolean;
1353
1357
  displayName: string;
1354
1358
  default?: string | null | undefined;
@@ -1356,16 +1360,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1356
1360
  }, {
1357
1361
  required: {
1358
1362
  name: string;
1359
- description: string;
1360
1363
  type: string;
1364
+ description: string;
1361
1365
  required: boolean;
1362
1366
  displayName: string;
1363
1367
  default?: string | null | undefined;
1364
1368
  }[];
1365
1369
  optional: {
1366
1370
  name: string;
1367
- description: string;
1368
1371
  type: string;
1372
+ description: string;
1369
1373
  required: boolean;
1370
1374
  displayName: string;
1371
1375
  default?: string | null | undefined;
@@ -1375,16 +1379,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1375
1379
  authConfigCreation: {
1376
1380
  required: {
1377
1381
  name: string;
1378
- description: string;
1379
1382
  type: string;
1383
+ description: string;
1380
1384
  required: boolean;
1381
1385
  displayName: string;
1382
1386
  default?: string | null | undefined;
1383
1387
  }[];
1384
1388
  optional: {
1385
1389
  name: string;
1386
- description: string;
1387
1390
  type: string;
1391
+ description: string;
1388
1392
  required: boolean;
1389
1393
  displayName: string;
1390
1394
  default?: string | null | undefined;
@@ -1393,16 +1397,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1393
1397
  connectedAccountInitiation: {
1394
1398
  required: {
1395
1399
  name: string;
1396
- description: string;
1397
1400
  type: string;
1401
+ description: string;
1398
1402
  required: boolean;
1399
1403
  displayName: string;
1400
1404
  default?: string | null | undefined;
1401
1405
  }[];
1402
1406
  optional: {
1403
1407
  name: string;
1404
- description: string;
1405
1408
  type: string;
1409
+ description: string;
1406
1410
  required: boolean;
1407
1411
  displayName: string;
1408
1412
  default?: string | null | undefined;
@@ -1412,16 +1416,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1412
1416
  authConfigCreation: {
1413
1417
  required: {
1414
1418
  name: string;
1415
- description: string;
1416
1419
  type: string;
1420
+ description: string;
1417
1421
  required: boolean;
1418
1422
  displayName: string;
1419
1423
  default?: string | null | undefined;
1420
1424
  }[];
1421
1425
  optional: {
1422
1426
  name: string;
1423
- description: string;
1424
1427
  type: string;
1428
+ description: string;
1425
1429
  required: boolean;
1426
1430
  displayName: string;
1427
1431
  default?: string | null | undefined;
@@ -1430,16 +1434,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1430
1434
  connectedAccountInitiation: {
1431
1435
  required: {
1432
1436
  name: string;
1433
- description: string;
1434
1437
  type: string;
1438
+ description: string;
1435
1439
  required: boolean;
1436
1440
  displayName: string;
1437
1441
  default?: string | null | undefined;
1438
1442
  }[];
1439
1443
  optional: {
1440
1444
  name: string;
1441
- description: string;
1442
1445
  type: string;
1446
+ description: string;
1443
1447
  required: boolean;
1444
1448
  displayName: string;
1445
1449
  default?: string | null | undefined;
@@ -1460,16 +1464,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1460
1464
  authConfigCreation: {
1461
1465
  required: {
1462
1466
  name: string;
1463
- description: string;
1464
1467
  type: string;
1468
+ description: string;
1465
1469
  required: boolean;
1466
1470
  displayName: string;
1467
1471
  default?: string | null | undefined;
1468
1472
  }[];
1469
1473
  optional: {
1470
1474
  name: string;
1471
- description: string;
1472
1475
  type: string;
1476
+ description: string;
1473
1477
  required: boolean;
1474
1478
  displayName: string;
1475
1479
  default?: string | null | undefined;
@@ -1478,16 +1482,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1478
1482
  connectedAccountInitiation: {
1479
1483
  required: {
1480
1484
  name: string;
1481
- description: string;
1482
1485
  type: string;
1486
+ description: string;
1483
1487
  required: boolean;
1484
1488
  displayName: string;
1485
1489
  default?: string | null | undefined;
1486
1490
  }[];
1487
1491
  optional: {
1488
1492
  name: string;
1489
- description: string;
1490
1493
  type: string;
1494
+ description: string;
1491
1495
  required: boolean;
1492
1496
  displayName: string;
1493
1497
  default?: string | null | undefined;
@@ -1504,16 +1508,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1504
1508
  authConfigCreation: {
1505
1509
  required: {
1506
1510
  name: string;
1507
- description: string;
1508
1511
  type: string;
1512
+ description: string;
1509
1513
  required: boolean;
1510
1514
  displayName: string;
1511
1515
  default?: string | null | undefined;
1512
1516
  }[];
1513
1517
  optional: {
1514
1518
  name: string;
1515
- description: string;
1516
1519
  type: string;
1520
+ description: string;
1517
1521
  required: boolean;
1518
1522
  displayName: string;
1519
1523
  default?: string | null | undefined;
@@ -1522,16 +1526,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1522
1526
  connectedAccountInitiation: {
1523
1527
  required: {
1524
1528
  name: string;
1525
- description: string;
1526
1529
  type: string;
1530
+ description: string;
1527
1531
  required: boolean;
1528
1532
  displayName: string;
1529
1533
  default?: string | null | undefined;
1530
1534
  }[];
1531
1535
  optional: {
1532
1536
  name: string;
1533
- description: string;
1534
1537
  type: string;
1538
+ description: string;
1535
1539
  required: boolean;
1536
1540
  displayName: string;
1537
1541
  default?: string | null | undefined;
@@ -1546,21 +1550,21 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1546
1550
  getCurrentUserEndpoint: z$1.ZodOptional<z$1.ZodString>;
1547
1551
  getCurrentUserEndpointMethod: z$1.ZodOptional<z$1.ZodString>;
1548
1552
  }, "strip", z$1.ZodTypeAny, {
1549
- name: string;
1550
1553
  slug: string;
1554
+ name: string;
1551
1555
  meta: {
1552
- description?: string | undefined;
1553
1556
  logo?: string | undefined;
1557
+ description?: string | undefined;
1554
1558
  availableVersions?: string[] | undefined;
1555
1559
  createdAt?: string | undefined;
1560
+ updatedAt?: string | undefined;
1556
1561
  categories?: {
1557
- name: string;
1558
1562
  slug: string;
1563
+ name: string;
1559
1564
  }[] | undefined;
1560
1565
  appUrl?: string | undefined;
1561
1566
  toolsCount?: number | undefined;
1562
1567
  triggersCount?: number | undefined;
1563
- updatedAt?: string | undefined;
1564
1568
  };
1565
1569
  isLocalToolkit: boolean;
1566
1570
  composioManagedAuthSchemes?: string[] | undefined;
@@ -1572,16 +1576,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1572
1576
  authConfigCreation: {
1573
1577
  required: {
1574
1578
  name: string;
1575
- description: string;
1576
1579
  type: string;
1580
+ description: string;
1577
1581
  required: boolean;
1578
1582
  displayName: string;
1579
1583
  default?: string | null | undefined;
1580
1584
  }[];
1581
1585
  optional: {
1582
1586
  name: string;
1583
- description: string;
1584
1587
  type: string;
1588
+ description: string;
1585
1589
  required: boolean;
1586
1590
  displayName: string;
1587
1591
  default?: string | null | undefined;
@@ -1590,16 +1594,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1590
1594
  connectedAccountInitiation: {
1591
1595
  required: {
1592
1596
  name: string;
1593
- description: string;
1594
1597
  type: string;
1598
+ description: string;
1595
1599
  required: boolean;
1596
1600
  displayName: string;
1597
1601
  default?: string | null | undefined;
1598
1602
  }[];
1599
1603
  optional: {
1600
1604
  name: string;
1601
- description: string;
1602
1605
  type: string;
1606
+ description: string;
1603
1607
  required: boolean;
1604
1608
  displayName: string;
1605
1609
  default?: string | null | undefined;
@@ -1613,21 +1617,21 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1613
1617
  getCurrentUserEndpoint?: string | undefined;
1614
1618
  getCurrentUserEndpointMethod?: string | undefined;
1615
1619
  }, {
1616
- name: string;
1617
1620
  slug: string;
1621
+ name: string;
1618
1622
  meta: {
1619
- description?: string | undefined;
1620
1623
  logo?: string | undefined;
1624
+ description?: string | undefined;
1621
1625
  availableVersions?: string[] | undefined;
1622
1626
  createdAt?: string | undefined;
1627
+ updatedAt?: string | undefined;
1623
1628
  categories?: {
1624
- name: string;
1625
1629
  slug: string;
1630
+ name: string;
1626
1631
  }[] | undefined;
1627
1632
  appUrl?: string | undefined;
1628
1633
  toolsCount?: number | undefined;
1629
1634
  triggersCount?: number | undefined;
1630
- updatedAt?: string | undefined;
1631
1635
  };
1632
1636
  isLocalToolkit: boolean;
1633
1637
  composioManagedAuthSchemes?: string[] | undefined;
@@ -1639,16 +1643,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1639
1643
  authConfigCreation: {
1640
1644
  required: {
1641
1645
  name: string;
1642
- description: string;
1643
1646
  type: string;
1647
+ description: string;
1644
1648
  required: boolean;
1645
1649
  displayName: string;
1646
1650
  default?: string | null | undefined;
1647
1651
  }[];
1648
1652
  optional: {
1649
1653
  name: string;
1650
- description: string;
1651
1654
  type: string;
1655
+ description: string;
1652
1656
  required: boolean;
1653
1657
  displayName: string;
1654
1658
  default?: string | null | undefined;
@@ -1657,16 +1661,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1657
1661
  connectedAccountInitiation: {
1658
1662
  required: {
1659
1663
  name: string;
1660
- description: string;
1661
1664
  type: string;
1665
+ description: string;
1662
1666
  required: boolean;
1663
1667
  displayName: string;
1664
1668
  default?: string | null | undefined;
1665
1669
  }[];
1666
1670
  optional: {
1667
1671
  name: string;
1668
- description: string;
1669
1672
  type: string;
1673
+ description: string;
1670
1674
  required: boolean;
1671
1675
  displayName: string;
1672
1676
  default?: string | null | undefined;
@@ -1736,15 +1740,15 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
1736
1740
  required: z$1.ZodOptional<z$1.ZodBoolean>;
1737
1741
  }, "strip", z$1.ZodTypeAny, {
1738
1742
  name: string;
1739
- description: string;
1740
1743
  type: string;
1744
+ description: string;
1741
1745
  displayName: string;
1742
1746
  required?: boolean | undefined;
1743
1747
  default?: string | null | undefined;
1744
1748
  }, {
1745
1749
  name: string;
1746
- description: string;
1747
1750
  type: string;
1751
+ description: string;
1748
1752
  displayName: string;
1749
1753
  required?: boolean | undefined;
1750
1754
  default?: string | null | undefined;
@@ -2630,21 +2634,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
2630
2634
  }, "strip", z$1.ZodTypeAny, {
2631
2635
  connectedAccountId: string;
2632
2636
  id: string;
2633
- updatedAt: string;
2634
2637
  disabledAt: string | null;
2635
2638
  state: Record<string, unknown>;
2636
2639
  triggerConfig: Record<string, unknown>;
2637
2640
  triggerName: string;
2641
+ updatedAt: string;
2638
2642
  uuid?: string | undefined;
2639
2643
  triggerData?: string | undefined;
2640
2644
  }, {
2641
2645
  connectedAccountId: string;
2642
2646
  id: string;
2643
- updatedAt: string;
2644
2647
  disabledAt: string | null;
2645
2648
  state: Record<string, unknown>;
2646
2649
  triggerConfig: Record<string, unknown>;
2647
2650
  triggerName: string;
2651
+ updatedAt: string;
2648
2652
  uuid?: string | undefined;
2649
2653
  triggerData?: string | undefined;
2650
2654
  }>;
@@ -2662,21 +2666,21 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2662
2666
  }, "strip", z$1.ZodTypeAny, {
2663
2667
  connectedAccountId: string;
2664
2668
  id: string;
2665
- updatedAt: string;
2666
2669
  disabledAt: string | null;
2667
2670
  state: Record<string, unknown>;
2668
2671
  triggerConfig: Record<string, unknown>;
2669
2672
  triggerName: string;
2673
+ updatedAt: string;
2670
2674
  uuid?: string | undefined;
2671
2675
  triggerData?: string | undefined;
2672
2676
  }, {
2673
2677
  connectedAccountId: string;
2674
2678
  id: string;
2675
- updatedAt: string;
2676
2679
  disabledAt: string | null;
2677
2680
  state: Record<string, unknown>;
2678
2681
  triggerConfig: Record<string, unknown>;
2679
2682
  triggerName: string;
2683
+ updatedAt: string;
2680
2684
  uuid?: string | undefined;
2681
2685
  triggerData?: string | undefined;
2682
2686
  }>, "many">;
@@ -2686,11 +2690,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2686
2690
  items: {
2687
2691
  connectedAccountId: string;
2688
2692
  id: string;
2689
- updatedAt: string;
2690
2693
  disabledAt: string | null;
2691
2694
  state: Record<string, unknown>;
2692
2695
  triggerConfig: Record<string, unknown>;
2693
2696
  triggerName: string;
2697
+ updatedAt: string;
2694
2698
  uuid?: string | undefined;
2695
2699
  triggerData?: string | undefined;
2696
2700
  }[];
@@ -2700,11 +2704,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2700
2704
  items: {
2701
2705
  connectedAccountId: string;
2702
2706
  id: string;
2703
- updatedAt: string;
2704
2707
  disabledAt: string | null;
2705
2708
  state: Record<string, unknown>;
2706
2709
  triggerConfig: Record<string, unknown>;
2707
2710
  triggerName: string;
2711
+ updatedAt: string;
2708
2712
  uuid?: string | undefined;
2709
2713
  triggerData?: string | undefined;
2710
2714
  }[];
@@ -2919,24 +2923,24 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
2919
2923
  slug: z$1.ZodString;
2920
2924
  name: z$1.ZodString;
2921
2925
  }, "strip", z$1.ZodTypeAny, {
2922
- name: string;
2923
2926
  slug: string;
2927
+ name: string;
2924
2928
  logo: string;
2925
2929
  }, {
2926
- name: string;
2927
2930
  slug: string;
2931
+ name: string;
2928
2932
  logo: string;
2929
2933
  }>;
2930
2934
  payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2931
2935
  config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2932
2936
  version: z$1.ZodOptional<z$1.ZodString>;
2933
2937
  }, "strip", z$1.ZodTypeAny, {
2938
+ slug: string;
2934
2939
  name: string;
2935
2940
  description: string;
2936
- slug: string;
2937
2941
  toolkit: {
2938
- name: string;
2939
2942
  slug: string;
2943
+ name: string;
2940
2944
  logo: string;
2941
2945
  };
2942
2946
  payload: Record<string, unknown>;
@@ -2944,12 +2948,12 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
2944
2948
  version?: string | undefined;
2945
2949
  instructions?: string | undefined;
2946
2950
  }, {
2951
+ slug: string;
2947
2952
  name: string;
2948
2953
  description: string;
2949
- slug: string;
2950
2954
  toolkit: {
2951
- name: string;
2952
2955
  slug: string;
2956
+ name: string;
2953
2957
  logo: string;
2954
2958
  };
2955
2959
  payload: Record<string, unknown>;
@@ -2969,24 +2973,24 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
2969
2973
  slug: z$1.ZodString;
2970
2974
  name: z$1.ZodString;
2971
2975
  }, "strip", z$1.ZodTypeAny, {
2972
- name: string;
2973
2976
  slug: string;
2977
+ name: string;
2974
2978
  logo: string;
2975
2979
  }, {
2976
- name: string;
2977
2980
  slug: string;
2981
+ name: string;
2978
2982
  logo: string;
2979
2983
  }>;
2980
2984
  payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2981
2985
  config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2982
2986
  version: z$1.ZodOptional<z$1.ZodString>;
2983
2987
  }, "strip", z$1.ZodTypeAny, {
2988
+ slug: string;
2984
2989
  name: string;
2985
2990
  description: string;
2986
- slug: string;
2987
2991
  toolkit: {
2988
- name: string;
2989
2992
  slug: string;
2993
+ name: string;
2990
2994
  logo: string;
2991
2995
  };
2992
2996
  payload: Record<string, unknown>;
@@ -2994,12 +2998,12 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
2994
2998
  version?: string | undefined;
2995
2999
  instructions?: string | undefined;
2996
3000
  }, {
3001
+ slug: string;
2997
3002
  name: string;
2998
3003
  description: string;
2999
- slug: string;
3000
3004
  toolkit: {
3001
- name: string;
3002
3005
  slug: string;
3006
+ name: string;
3003
3007
  logo: string;
3004
3008
  };
3005
3009
  payload: Record<string, unknown>;
@@ -3011,12 +3015,12 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3011
3015
  totalPages: z$1.ZodNumber;
3012
3016
  }, "strip", z$1.ZodTypeAny, {
3013
3017
  items: {
3018
+ slug: string;
3014
3019
  name: string;
3015
3020
  description: string;
3016
- slug: string;
3017
3021
  toolkit: {
3018
- name: string;
3019
3022
  slug: string;
3023
+ name: string;
3020
3024
  logo: string;
3021
3025
  };
3022
3026
  payload: Record<string, unknown>;
@@ -3028,12 +3032,12 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3028
3032
  nextCursor?: string | null | undefined;
3029
3033
  }, {
3030
3034
  items: {
3035
+ slug: string;
3031
3036
  name: string;
3032
3037
  description: string;
3033
- slug: string;
3034
3038
  toolkit: {
3035
- name: string;
3036
3039
  slug: string;
3040
+ name: string;
3037
3041
  logo: string;
3038
3042
  };
3039
3043
  payload: Record<string, unknown>;
@@ -3831,6 +3835,22 @@ declare class ConnectedAccounts {
3831
3835
  * This function creates a new connected account and returns a connection request.
3832
3836
  * Users can then wait for the connection to be established using the `waitForConnection` method.
3833
3837
  *
3838
+ * **Deprecated for Composio-managed OAuth (OAuth1, OAuth2, DCR_OAUTH).**
3839
+ * The legacy `POST /api/v3/connected_accounts` endpoint that this method
3840
+ * wraps is being retired for Composio-managed auth configs on redirectable
3841
+ * schemes. The cutover is **2026-05-08** for new organizations and
3842
+ * **2026-07-03** for all remaining organizations. After your org's cutover,
3843
+ * this method will throw {@link ComposioLegacyConnectedAccountsEndpointRetiredError}
3844
+ * for that specific combination.
3845
+ *
3846
+ * Use {@link ConnectedAccounts.link} for Composio-managed OAuth — it works for
3847
+ * every redirectable scheme regardless of whether the auth config is
3848
+ * Composio-managed or custom, and the return shape is the same.
3849
+ *
3850
+ * Custom auth configs (your own OAuth app) and non-OAuth schemes (API key,
3851
+ * bearer token, basic auth) are unaffected and continue to work on
3852
+ * `initiate()`. See https://docs.composio.dev/docs/changelog/2026/04/24
3853
+ *
3834
3854
  * @param {string} userId - User ID of the connected account
3835
3855
  * @param {string} authConfigId - Auth config ID of the connected account
3836
3856
  * @param {CreateConnectedAccountOptions} options - Options for creating a new connected account
@@ -4044,7 +4064,9 @@ declare class ConnectedAccounts {
4044
4064
  */
4045
4065
  disable(nanoid: string): Promise<ConnectedAccountUpdateStatusResponse>;
4046
4066
  /**
4047
- * Update a connected account's alias and/or credentials.
4067
+ * Enable or disable a connected account. Accepts `{ enabled: boolean }`.
4068
+ *
4069
+ * For ACL writes on SHARED connections, see {@link updateAcl}.
4048
4070
  *
4049
4071
  * @param {string} nanoid - The unique identifier of the connected account
4050
4072
  * @param {UpdateConnectedAccountParams} params - The update parameters
@@ -4057,6 +4079,57 @@ declare class ConnectedAccounts {
4057
4079
  * ```
4058
4080
  */
4059
4081
  update(nanoid: string, params: UpdateConnectedAccountParams): Promise<ConnectedAccountUpdateStatusResponse>;
4082
+ /**
4083
+ * Update the per-user ACL on a SHARED connected account.
4084
+ *
4085
+ * Only meaningful for SHARED connections — calling this on a PRIVATE
4086
+ * connection raises `ComposioAclOnlyForSharedError` (400). ACL writes
4087
+ * require the connection's creator or an API key; alias edits via
4088
+ * {@link update} are governed separately.
4089
+ *
4090
+ * PATCH semantics: omit a field to leave it unchanged; pass an empty array
4091
+ * to clear an allow/deny list. At least one field must be provided.
4092
+ *
4093
+ * Resolution rule (deny wins):
4094
+ * 1. requesting `userId` in `notAllowedUserIds` → DENY
4095
+ * 2. `allowAllUsers === true` → ALLOW
4096
+ * 3. requesting `userId` in `allowedUserIds` → ALLOW
4097
+ * 4. otherwise → DENY
4098
+ *
4099
+ * @example
4100
+ * ```typescript
4101
+ * // Allow every userId to use this connection
4102
+ * await composio.connectedAccounts.updateAcl('ca_abc', { allowAllUsers: true });
4103
+ *
4104
+ * // Everyone except a specific user
4105
+ * await composio.connectedAccounts.updateAcl('ca_abc', {
4106
+ * allowAllUsers: true,
4107
+ * notAllowedUserIds: ['user_bob'],
4108
+ * });
4109
+ *
4110
+ * // Targeted allow
4111
+ * await composio.connectedAccounts.updateAcl('ca_abc', {
4112
+ * allowedUserIds: ['user_alice', 'user_bob'],
4113
+ * });
4114
+ *
4115
+ * // Revoke a previously-granted allow list (back to deny-by-default)
4116
+ * await composio.connectedAccounts.updateAcl('ca_abc', { allowedUserIds: [] });
4117
+ * ```
4118
+ *
4119
+ * **Empty-array semantics — read carefully.** Passing `[]` for either
4120
+ * list **replaces** the list, it does not extend it:
4121
+ *
4122
+ * - `allowedUserIds: []` → revoke all previously-granted user IDs (state
4123
+ * reverts to deny-by-default unless `allowAllUsers` is true).
4124
+ * - `notAllowedUserIds: []` → **clears the deny list**, which silently
4125
+ * re-grants access to users you previously blocked. Always pair an
4126
+ * empty deny list with a deliberate audit of the allow side.
4127
+ *
4128
+ * @returns The PATCH response (`{ id, status, success }`). To read the
4129
+ * updated `aclConfigForShared` block, call `get(nanoid)` after the
4130
+ * promise resolves.
4131
+ */
4132
+ updateAcl(nanoid: string, params: UpdateConnectedAccountAclParams): Promise<ConnectedAccountPatchResponse>;
4060
4133
  }
4061
4134
  //#endregion
4062
4135
  //#region src/types/mcp.experimental.types.d.ts
@@ -4073,17 +4146,17 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
4073
4146
  type: "streamable_http";
4074
4147
  userId: string;
4075
4148
  id: string;
4149
+ allowedTools: string[];
4076
4150
  url: string;
4077
4151
  authConfigs: string[];
4078
- allowedTools: string[];
4079
4152
  }, {
4080
4153
  name: string;
4081
4154
  type: "streamable_http";
4082
4155
  userId: string;
4083
4156
  id: string;
4157
+ allowedTools: string[];
4084
4158
  url: string;
4085
4159
  authConfigs: string[];
4086
- allowedTools: string[];
4087
4160
  }>;
4088
4161
  type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
4089
4162
  declare const MCPConfigCreationParamsSchema: z.ZodObject<{
@@ -4210,15 +4283,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
4210
4283
  }, "strip", z.ZodTypeAny, {
4211
4284
  toolkits: string[];
4212
4285
  limit: number;
4213
- authConfigs: string[];
4214
4286
  page: number;
4287
+ authConfigs: string[];
4215
4288
  name?: string | undefined;
4216
4289
  }, {
4217
4290
  name?: string | undefined;
4218
4291
  toolkits?: string[] | undefined;
4219
4292
  limit?: number | undefined;
4220
- authConfigs?: string[] | undefined;
4221
4293
  page?: number | undefined;
4294
+ authConfigs?: string[] | undefined;
4222
4295
  }>;
4223
4296
  type MCPListParams = z.infer<typeof MCPListParamsSchema>;
4224
4297
  declare const MCPItemSchema: z.ZodObject<{
@@ -5008,6 +5081,8 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
5008
5081
  private createMCPServerConfig;
5009
5082
  /**
5010
5083
  * Creates a new tool router session for a user.
5084
+ * Use `sessionPreset: SessionPreset.DIRECT_TOOLS` when all needed tools
5085
+ * should be exposed directly; see `ToolRouterCreateSessionConfig`.
5011
5086
  *
5012
5087
  * @param userId {string} The user id to create the session for
5013
5088
  * @param config {ToolRouterCreateSessionConfig} The config for the tool router session
@@ -5015,7 +5090,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
5015
5090
  *
5016
5091
  * @example
5017
5092
  * ```typescript
5018
- * import { Composio, experimental_createTool } from '@composio/core';
5093
+ * import { Composio } from '@composio/core';
5019
5094
  *
5020
5095
  * const composio = new Composio();
5021
5096
  *
@@ -5047,7 +5122,10 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
5047
5122
  * console.log(session.mcp.headers);
5048
5123
  * ```
5049
5124
  */
5050
- use(id: string): Promise<Session<TToolCollection, TTool, TProvider>>;
5125
+ use(id: string, options?: {
5126
+ customTools?: CustomTool[];
5127
+ customToolkits?: CustomToolkit[];
5128
+ }): Promise<Session<TToolCollection, TTool, TProvider>>;
5051
5129
  }
5052
5130
  //#endregion
5053
5131
  //#region src/composio.d.ts
@@ -5224,6 +5302,8 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
5224
5302
  toolRouter: ToolRouter<unknown, unknown, TProvider>;
5225
5303
  /**
5226
5304
  * Creates a new tool router session for a user.
5305
+ * Use `sessionPreset: SessionPreset.DIRECT_TOOLS` when all needed tools
5306
+ * should be exposed directly; see `ToolRouterCreateSessionConfig`.
5227
5307
  *
5228
5308
  * @param userId {string} The user id to create the session for
5229
5309
  * @param config {ToolRouterConfig} The config for the tool router session
@@ -5252,7 +5332,10 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
5252
5332
  * @param id {string} The id of the session to use
5253
5333
  * @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
5254
5334
  */
5255
- use: (id: string) => Promise<Session<unknown, unknown, TProvider>>;
5335
+ use: (id: string, options?: {
5336
+ customTools?: CustomTool[];
5337
+ customToolkits?: CustomToolkit[];
5338
+ }) => Promise<Session<unknown, unknown, TProvider>>;
5256
5339
  /**
5257
5340
  * Creates a new instance of the Composio SDK.
5258
5341
  *