@composio/core 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/{CustomTool-Uip-fhPw.d.mts → CustomTool-BKhHv2hJ.d.mts} +1 -1
  2. package/dist/{CustomTool-l-j5HtEf.mjs → CustomTool-C4tv-GL1.mjs} +1 -1
  3. package/dist/FileToolModifier.utils.neutral-D_YkHwZP.mjs +188 -0
  4. package/dist/{Telemetry-DuGJSwUt.mjs → Telemetry-CBtSnWrm.mjs} +27 -11
  5. package/dist/cancellation-jUVItfHw.mjs +704 -0
  6. package/dist/{composio-B27X6i6A.d.mts → composio-CldtZUyC.d.mts} +256 -250
  7. package/dist/{customTool.types-B2Ava_j5.d.mts → customTool.types-DC5fPOOi.d.mts} +178 -178
  8. package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +1 -1
  9. package/dist/{errors-BcEUHZbq.mjs → errors-DyZt79fi.mjs} +3 -0
  10. package/dist/experimental/index.d.mts +2 -2
  11. package/dist/experimental/index.mjs +1 -1
  12. package/dist/{fileUtils.node-B1Wn848p.mjs → fileUtils.node-BwpUOF0s.mjs} +2 -2
  13. package/dist/index.d.mts +104 -5
  14. package/dist/index.mjs +61 -27
  15. package/dist/models/Files.node.mjs +2 -2
  16. package/dist/{sensitiveFileUploadPaths-BVEt0peg.mjs → sensitiveFileUploadPaths-B0w8dqpv.mjs} +23 -6
  17. package/dist/ssrfGuard.node-DlxO8uzr.mjs +307 -0
  18. package/dist/{types-DdZJuMm2.d.mts → types-BgsRW-XH.d.mts} +2 -2
  19. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  20. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  21. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  22. package/dist/utils/modifiers/FileToolModifier.node.mjs +57 -101
  23. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  24. package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
  25. package/dist/utils/ssrfGuard.node.d.mts +14 -5
  26. package/dist/utils/ssrfGuard.node.mjs +1 -161
  27. package/package.json +7 -3
  28. package/src/errors/ToolErrors.ts +1 -0
  29. package/src/errors/ValidationErrors.ts +2 -0
  30. package/src/index.ts +6 -0
  31. package/src/models/ToolRouterSession.ts +36 -8
  32. package/src/models/Tools.ts +102 -39
  33. package/src/services/telemetry/TelemetryService.ts +27 -12
  34. package/src/utils/jsonSchema.ts +505 -27
  35. package/src/utils/modifiers/FileToolModifier.node.ts +85 -181
  36. package/src/utils/modifiers/FileToolModifier.utils.neutral.ts +199 -0
  37. package/src/utils/pinnedDispatcher.node.ts +118 -0
  38. package/src/utils/sensitiveFileUploadPaths.ts +36 -9
  39. package/src/utils/ssrfGuard.node.ts +89 -11
  40. package/dist/FileToolModifier.utils.neutral-B5rT711M.mjs +0 -72
  41. package/dist/cancellation-NVtGf3St.mjs +0 -364
@@ -1,4 +1,4 @@
1
- import { $i as ToolExecuteResponse, D as Session, Dn as UpdateConnectedAccountAclParams, Er as McpServerGetResponse, Fr as ExecuteToolFnOptions, Ht as ConnectionRequest, Ji as Tool, M as SessionWithoutMcp, Mn as BaseComposioProvider, Ni as ProviderOptions, Nn as BaseNonAgenticProvider, Pi as SessionExecuteMetaModifiers, Vt as ComposioRequestOptions, Yi as ToolExecuteMetaParams, Zi as ToolExecuteParams, an as ConnectedAccountRefreshOptions, bn as CreateConnectedAccountOptions, ca as ToolRetrievalOptions, en as ConnectedAccountListParams, f as CustomToolkit, gn as CreateConnectedAccountLinkOptions, ha as ToolkitVersionParam, ji as ExecuteToolModifiers, jr as McpUrlResponse, kn as UpdateConnectedAccountParams, na as ToolListParams, nn as ConnectedAccountListResponse, o as CustomTool, oa as ToolProxyParams, q as ToolRouterSessionDeleteResponse, qi as SchemaModifierOptions, sn as ConnectedAccountRetrieveResponse, ta as ToolList, z as ToolRouterCreateSessionConfig, zr as ToolCallSession } from "./customTool.types-B2Ava_j5.mjs";
1
+ import { $i as ToolExecuteResponse, D as Session, Dn as UpdateConnectedAccountAclParams, Er as McpServerGetResponse, Fr as ExecuteToolFnOptions, Ht as ConnectionRequest, Ji as Tool, M as SessionWithoutMcp, Mn as BaseComposioProvider, Ni as ProviderOptions, Nn as BaseNonAgenticProvider, Pi as SessionExecuteMetaModifiers, Vt as ComposioRequestOptions, Yi as ToolExecuteMetaParams, Zi as ToolExecuteParams, an as ConnectedAccountRefreshOptions, bn as CreateConnectedAccountOptions, ca as ToolRetrievalOptions, en as ConnectedAccountListParams, f as CustomToolkit, gn as CreateConnectedAccountLinkOptions, ha as ToolkitVersionParam, ji as ExecuteToolModifiers, jr as McpUrlResponse, kn as UpdateConnectedAccountParams, na as ToolListParams, nn as ConnectedAccountListResponse, o as CustomTool, oa as ToolProxyParams, q as ToolRouterSessionDeleteResponse, qi as SchemaModifierOptions, sn as ConnectedAccountRetrieveResponse, ta as ToolList, z as ToolRouterCreateSessionConfig, zr as ToolCallSession } from "./customTool.types-DC5fPOOi.mjs";
2
2
  import ComposioClient, { Composio } from "@composio/client";
3
3
  import z, { z as z$1 } from "zod/v3";
4
4
  import { OpenAI } from "openai";
@@ -101,6 +101,12 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
101
101
  * @returns The modified params
102
102
  */
103
103
  private applyBeforeExecuteModifiers;
104
+ /**
105
+ * Applies schema-aware file preprocessing shared by direct and Tool Router
106
+ * session execution. This always runs before the caller's `beforeExecute`
107
+ * hook so the hook observes the exact arguments sent to the backend.
108
+ */
109
+ private applyFileUploadModifiers;
104
110
  /**
105
111
  * Applies the after execute modifiers to the tool execution result
106
112
  * @param options.toolSlug - The slug of the tool
@@ -320,7 +326,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
320
326
  * @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
321
327
  * @returns {Tool[]} The wrapped tools
322
328
  */
323
- wrapToolsForToolRouter(sessionId: string, tools: Tool[], modifiers?: SessionExecuteMetaModifiers): Tool[];
329
+ wrapToolsForToolRouter(sessionId: string, tools: Tool[], modifiers?: SessionExecuteMetaModifiers, rawTools?: Tool[]): Tool[];
324
330
  /**
325
331
  * @internal
326
332
  * @description
@@ -518,14 +524,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
518
524
  cursor: z$1.ZodOptional<z$1.ZodString>;
519
525
  limit: z$1.ZodOptional<z$1.ZodNumber>;
520
526
  }, "strip", z$1.ZodTypeAny, {
521
- cursor?: string | undefined;
522
527
  limit?: number | undefined;
528
+ cursor?: string | undefined;
523
529
  category?: string | undefined;
524
530
  managedBy?: "all" | "composio" | "project" | undefined;
525
531
  sortBy?: "usage" | "alphabetically" | undefined;
526
532
  }, {
527
- cursor?: string | undefined;
528
533
  limit?: number | undefined;
534
+ cursor?: string | undefined;
529
535
  category?: string | undefined;
530
536
  managedBy?: "all" | "composio" | "project" | undefined;
531
537
  sortBy?: "usage" | "alphabetically" | undefined;
@@ -541,11 +547,11 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
541
547
  slug: z$1.ZodString;
542
548
  name: z$1.ZodString;
543
549
  }, "strip", z$1.ZodTypeAny, {
544
- name: string;
545
550
  slug: string;
546
- }, {
547
551
  name: string;
552
+ }, {
548
553
  slug: string;
554
+ name: string;
549
555
  }>, "many">>;
550
556
  appUrl: z$1.ZodOptional<z$1.ZodString>;
551
557
  createdAt: z$1.ZodOptional<z$1.ZodString>;
@@ -556,27 +562,27 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
556
562
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
557
563
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
558
564
  }, "strip", z$1.ZodTypeAny, {
559
- createdAt?: string | undefined;
560
- updatedAt?: string | undefined;
561
565
  logo?: string | undefined;
562
566
  description?: string | undefined;
563
567
  availableVersions?: string[] | undefined;
568
+ createdAt?: string | undefined;
569
+ updatedAt?: string | undefined;
564
570
  categories?: {
565
- name: string;
566
571
  slug: string;
572
+ name: string;
567
573
  }[] | undefined;
568
574
  appUrl?: string | undefined;
569
575
  toolsCount?: number | undefined;
570
576
  triggersCount?: number | undefined;
571
577
  }, {
572
- createdAt?: string | undefined;
573
- updatedAt?: string | undefined;
574
578
  logo?: string | undefined;
575
579
  description?: string | undefined;
576
580
  availableVersions?: string[] | undefined;
581
+ createdAt?: string | undefined;
582
+ updatedAt?: string | undefined;
577
583
  categories?: {
578
- name: string;
579
584
  slug: string;
585
+ name: string;
580
586
  }[] | undefined;
581
587
  appUrl?: string | undefined;
582
588
  toolsCount?: number | undefined;
@@ -590,11 +596,11 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
590
596
  slug: z$1.ZodString;
591
597
  name: z$1.ZodString;
592
598
  }, "strip", z$1.ZodTypeAny, {
593
- name: string;
594
599
  slug: string;
595
- }, {
596
600
  name: string;
601
+ }, {
597
602
  slug: string;
603
+ name: string;
598
604
  }>, "many">>;
599
605
  appUrl: z$1.ZodOptional<z$1.ZodString>;
600
606
  createdAt: z$1.ZodOptional<z$1.ZodString>;
@@ -605,27 +611,27 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
605
611
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
606
612
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
607
613
  }, "strip", z$1.ZodTypeAny, {
608
- createdAt?: string | undefined;
609
- updatedAt?: string | undefined;
610
614
  logo?: string | undefined;
611
615
  description?: string | undefined;
612
616
  availableVersions?: string[] | undefined;
617
+ createdAt?: string | undefined;
618
+ updatedAt?: string | undefined;
613
619
  categories?: {
614
- name: string;
615
620
  slug: string;
621
+ name: string;
616
622
  }[] | undefined;
617
623
  appUrl?: string | undefined;
618
624
  toolsCount?: number | undefined;
619
625
  triggersCount?: number | undefined;
620
626
  }, {
621
- createdAt?: string | undefined;
622
- updatedAt?: string | undefined;
623
627
  logo?: string | undefined;
624
628
  description?: string | undefined;
625
629
  availableVersions?: string[] | undefined;
630
+ createdAt?: string | undefined;
631
+ updatedAt?: string | undefined;
626
632
  categories?: {
627
- name: string;
628
633
  slug: string;
634
+ name: string;
629
635
  }[] | undefined;
630
636
  appUrl?: string | undefined;
631
637
  toolsCount?: number | undefined;
@@ -636,17 +642,17 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
636
642
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
637
643
  noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
638
644
  }, "strip", z$1.ZodTypeAny, {
639
- name: string;
640
645
  slug: string;
646
+ name: string;
641
647
  meta: {
642
- createdAt?: string | undefined;
643
- updatedAt?: string | undefined;
644
648
  logo?: string | undefined;
645
649
  description?: string | undefined;
646
650
  availableVersions?: string[] | undefined;
651
+ createdAt?: string | undefined;
652
+ updatedAt?: string | undefined;
647
653
  categories?: {
648
- name: string;
649
654
  slug: string;
655
+ name: string;
650
656
  }[] | undefined;
651
657
  appUrl?: string | undefined;
652
658
  toolsCount?: number | undefined;
@@ -657,17 +663,17 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
657
663
  composioManagedAuthSchemes?: string[] | undefined;
658
664
  noAuth?: boolean | undefined;
659
665
  }, {
660
- name: string;
661
666
  slug: string;
667
+ name: string;
662
668
  meta: {
663
- createdAt?: string | undefined;
664
- updatedAt?: string | undefined;
665
669
  logo?: string | undefined;
666
670
  description?: string | undefined;
667
671
  availableVersions?: string[] | undefined;
672
+ createdAt?: string | undefined;
673
+ updatedAt?: string | undefined;
668
674
  categories?: {
669
- name: string;
670
675
  slug: string;
676
+ name: string;
671
677
  }[] | undefined;
672
678
  appUrl?: string | undefined;
673
679
  toolsCount?: number | undefined;
@@ -686,11 +692,11 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
686
692
  slug: z$1.ZodString;
687
693
  name: z$1.ZodString;
688
694
  }, "strip", z$1.ZodTypeAny, {
689
- name: string;
690
695
  slug: string;
691
- }, {
692
696
  name: string;
697
+ }, {
693
698
  slug: string;
699
+ name: string;
694
700
  }>, "many">>;
695
701
  appUrl: z$1.ZodOptional<z$1.ZodString>;
696
702
  createdAt: z$1.ZodOptional<z$1.ZodString>;
@@ -701,27 +707,27 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
701
707
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
702
708
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
703
709
  }, "strip", z$1.ZodTypeAny, {
704
- createdAt?: string | undefined;
705
- updatedAt?: string | undefined;
706
710
  logo?: string | undefined;
707
711
  description?: string | undefined;
708
712
  availableVersions?: string[] | undefined;
713
+ createdAt?: string | undefined;
714
+ updatedAt?: string | undefined;
709
715
  categories?: {
710
- name: string;
711
716
  slug: string;
717
+ name: string;
712
718
  }[] | undefined;
713
719
  appUrl?: string | undefined;
714
720
  toolsCount?: number | undefined;
715
721
  triggersCount?: number | undefined;
716
722
  }, {
717
- createdAt?: string | undefined;
718
- updatedAt?: string | undefined;
719
723
  logo?: string | undefined;
720
724
  description?: string | undefined;
721
725
  availableVersions?: string[] | undefined;
726
+ createdAt?: string | undefined;
727
+ updatedAt?: string | undefined;
722
728
  categories?: {
723
- name: string;
724
729
  slug: string;
730
+ name: string;
725
731
  }[] | undefined;
726
732
  appUrl?: string | undefined;
727
733
  toolsCount?: number | undefined;
@@ -732,17 +738,17 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
732
738
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
733
739
  noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
734
740
  }, "strip", z$1.ZodTypeAny, {
735
- name: string;
736
741
  slug: string;
742
+ name: string;
737
743
  meta: {
738
- createdAt?: string | undefined;
739
- updatedAt?: string | undefined;
740
744
  logo?: string | undefined;
741
745
  description?: string | undefined;
742
746
  availableVersions?: string[] | undefined;
747
+ createdAt?: string | undefined;
748
+ updatedAt?: string | undefined;
743
749
  categories?: {
744
- name: string;
745
750
  slug: string;
751
+ name: string;
746
752
  }[] | undefined;
747
753
  appUrl?: string | undefined;
748
754
  toolsCount?: number | undefined;
@@ -753,17 +759,17 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
753
759
  composioManagedAuthSchemes?: string[] | undefined;
754
760
  noAuth?: boolean | undefined;
755
761
  }, {
756
- name: string;
757
762
  slug: string;
763
+ name: string;
758
764
  meta: {
759
- createdAt?: string | undefined;
760
- updatedAt?: string | undefined;
761
765
  logo?: string | undefined;
762
766
  description?: string | undefined;
763
767
  availableVersions?: string[] | undefined;
768
+ createdAt?: string | undefined;
769
+ updatedAt?: string | undefined;
764
770
  categories?: {
765
- name: string;
766
771
  slug: string;
772
+ name: string;
767
773
  }[] | undefined;
768
774
  appUrl?: string | undefined;
769
775
  toolsCount?: number | undefined;
@@ -788,15 +794,15 @@ declare const ToolkitAuthFieldSchema: z$1.ZodObject<{
788
794
  type: z$1.ZodString;
789
795
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
790
796
  }, "strip", z$1.ZodTypeAny, {
791
- type: string;
792
797
  name: string;
798
+ type: string;
793
799
  description: string;
794
800
  required: boolean;
795
801
  displayName: string;
796
802
  default?: string | null | undefined;
797
803
  }, {
798
- type: string;
799
804
  name: string;
805
+ type: string;
800
806
  description: string;
801
807
  required: boolean;
802
808
  displayName: string;
@@ -815,15 +821,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
815
821
  type: z$1.ZodString;
816
822
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
817
823
  }, "strip", z$1.ZodTypeAny, {
818
- type: string;
819
824
  name: string;
825
+ type: string;
820
826
  description: string;
821
827
  required: boolean;
822
828
  displayName: string;
823
829
  default?: string | null | undefined;
824
830
  }, {
825
- type: string;
826
831
  name: string;
832
+ type: string;
827
833
  description: string;
828
834
  required: boolean;
829
835
  displayName: string;
@@ -837,15 +843,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
837
843
  type: z$1.ZodString;
838
844
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
839
845
  }, "strip", z$1.ZodTypeAny, {
840
- type: string;
841
846
  name: string;
847
+ type: string;
842
848
  description: string;
843
849
  required: boolean;
844
850
  displayName: string;
845
851
  default?: string | null | undefined;
846
852
  }, {
847
- type: string;
848
853
  name: string;
854
+ type: string;
849
855
  description: string;
850
856
  required: boolean;
851
857
  displayName: string;
@@ -853,16 +859,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
853
859
  }>, "many">;
854
860
  }, "strip", z$1.ZodTypeAny, {
855
861
  required: {
856
- type: string;
857
862
  name: string;
863
+ type: string;
858
864
  description: string;
859
865
  required: boolean;
860
866
  displayName: string;
861
867
  default?: string | null | undefined;
862
868
  }[];
863
869
  optional: {
864
- type: string;
865
870
  name: string;
871
+ type: string;
866
872
  description: string;
867
873
  required: boolean;
868
874
  displayName: string;
@@ -870,16 +876,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
870
876
  }[];
871
877
  }, {
872
878
  required: {
873
- type: string;
874
879
  name: string;
880
+ type: string;
875
881
  description: string;
876
882
  required: boolean;
877
883
  displayName: string;
878
884
  default?: string | null | undefined;
879
885
  }[];
880
886
  optional: {
881
- type: string;
882
887
  name: string;
888
+ type: string;
883
889
  description: string;
884
890
  required: boolean;
885
891
  displayName: string;
@@ -895,15 +901,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
895
901
  type: z$1.ZodString;
896
902
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
897
903
  }, "strip", z$1.ZodTypeAny, {
898
- type: string;
899
904
  name: string;
905
+ type: string;
900
906
  description: string;
901
907
  required: boolean;
902
908
  displayName: string;
903
909
  default?: string | null | undefined;
904
910
  }, {
905
- type: string;
906
911
  name: string;
912
+ type: string;
907
913
  description: string;
908
914
  required: boolean;
909
915
  displayName: string;
@@ -917,15 +923,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
917
923
  type: z$1.ZodString;
918
924
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
919
925
  }, "strip", z$1.ZodTypeAny, {
920
- type: string;
921
926
  name: string;
927
+ type: string;
922
928
  description: string;
923
929
  required: boolean;
924
930
  displayName: string;
925
931
  default?: string | null | undefined;
926
932
  }, {
927
- type: string;
928
933
  name: string;
934
+ type: string;
929
935
  description: string;
930
936
  required: boolean;
931
937
  displayName: string;
@@ -933,16 +939,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
933
939
  }>, "many">;
934
940
  }, "strip", z$1.ZodTypeAny, {
935
941
  required: {
936
- type: string;
937
942
  name: string;
943
+ type: string;
938
944
  description: string;
939
945
  required: boolean;
940
946
  displayName: string;
941
947
  default?: string | null | undefined;
942
948
  }[];
943
949
  optional: {
944
- type: string;
945
950
  name: string;
951
+ type: string;
946
952
  description: string;
947
953
  required: boolean;
948
954
  displayName: string;
@@ -950,16 +956,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
950
956
  }[];
951
957
  }, {
952
958
  required: {
953
- type: string;
954
959
  name: string;
960
+ type: string;
955
961
  description: string;
956
962
  required: boolean;
957
963
  displayName: string;
958
964
  default?: string | null | undefined;
959
965
  }[];
960
966
  optional: {
961
- type: string;
962
967
  name: string;
968
+ type: string;
963
969
  description: string;
964
970
  required: boolean;
965
971
  displayName: string;
@@ -969,16 +975,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
969
975
  }, "strip", z$1.ZodTypeAny, {
970
976
  authConfigCreation: {
971
977
  required: {
972
- type: string;
973
978
  name: string;
979
+ type: string;
974
980
  description: string;
975
981
  required: boolean;
976
982
  displayName: string;
977
983
  default?: string | null | undefined;
978
984
  }[];
979
985
  optional: {
980
- type: string;
981
986
  name: string;
987
+ type: string;
982
988
  description: string;
983
989
  required: boolean;
984
990
  displayName: string;
@@ -987,16 +993,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
987
993
  };
988
994
  connectedAccountInitiation: {
989
995
  required: {
990
- type: string;
991
996
  name: string;
997
+ type: string;
992
998
  description: string;
993
999
  required: boolean;
994
1000
  displayName: string;
995
1001
  default?: string | null | undefined;
996
1002
  }[];
997
1003
  optional: {
998
- type: string;
999
1004
  name: string;
1005
+ type: string;
1000
1006
  description: string;
1001
1007
  required: boolean;
1002
1008
  displayName: string;
@@ -1006,16 +1012,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1006
1012
  }, {
1007
1013
  authConfigCreation: {
1008
1014
  required: {
1009
- type: string;
1010
1015
  name: string;
1016
+ type: string;
1011
1017
  description: string;
1012
1018
  required: boolean;
1013
1019
  displayName: string;
1014
1020
  default?: string | null | undefined;
1015
1021
  }[];
1016
1022
  optional: {
1017
- type: string;
1018
1023
  name: string;
1024
+ type: string;
1019
1025
  description: string;
1020
1026
  required: boolean;
1021
1027
  displayName: string;
@@ -1024,16 +1030,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1024
1030
  };
1025
1031
  connectedAccountInitiation: {
1026
1032
  required: {
1027
- type: string;
1028
1033
  name: string;
1034
+ type: string;
1029
1035
  description: string;
1030
1036
  required: boolean;
1031
1037
  displayName: string;
1032
1038
  default?: string | null | undefined;
1033
1039
  }[];
1034
1040
  optional: {
1035
- type: string;
1036
1041
  name: string;
1042
+ type: string;
1037
1043
  description: string;
1038
1044
  required: boolean;
1039
1045
  displayName: string;
@@ -1054,16 +1060,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1054
1060
  fields: {
1055
1061
  authConfigCreation: {
1056
1062
  required: {
1057
- type: string;
1058
1063
  name: string;
1064
+ type: string;
1059
1065
  description: string;
1060
1066
  required: boolean;
1061
1067
  displayName: string;
1062
1068
  default?: string | null | undefined;
1063
1069
  }[];
1064
1070
  optional: {
1065
- type: string;
1066
1071
  name: string;
1072
+ type: string;
1067
1073
  description: string;
1068
1074
  required: boolean;
1069
1075
  displayName: string;
@@ -1072,16 +1078,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1072
1078
  };
1073
1079
  connectedAccountInitiation: {
1074
1080
  required: {
1075
- type: string;
1076
1081
  name: string;
1082
+ type: string;
1077
1083
  description: string;
1078
1084
  required: boolean;
1079
1085
  displayName: string;
1080
1086
  default?: string | null | undefined;
1081
1087
  }[];
1082
1088
  optional: {
1083
- type: string;
1084
1089
  name: string;
1090
+ type: string;
1085
1091
  description: string;
1086
1092
  required: boolean;
1087
1093
  displayName: string;
@@ -1098,16 +1104,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1098
1104
  fields: {
1099
1105
  authConfigCreation: {
1100
1106
  required: {
1101
- type: string;
1102
1107
  name: string;
1108
+ type: string;
1103
1109
  description: string;
1104
1110
  required: boolean;
1105
1111
  displayName: string;
1106
1112
  default?: string | null | undefined;
1107
1113
  }[];
1108
1114
  optional: {
1109
- type: string;
1110
1115
  name: string;
1116
+ type: string;
1111
1117
  description: string;
1112
1118
  required: boolean;
1113
1119
  displayName: string;
@@ -1116,16 +1122,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1116
1122
  };
1117
1123
  connectedAccountInitiation: {
1118
1124
  required: {
1119
- type: string;
1120
1125
  name: string;
1126
+ type: string;
1121
1127
  description: string;
1122
1128
  required: boolean;
1123
1129
  displayName: string;
1124
1130
  default?: string | null | undefined;
1125
1131
  }[];
1126
1132
  optional: {
1127
- type: string;
1128
1133
  name: string;
1134
+ type: string;
1129
1135
  description: string;
1130
1136
  required: boolean;
1131
1137
  displayName: string;
@@ -1145,11 +1151,11 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1145
1151
  slug: z$1.ZodString;
1146
1152
  name: z$1.ZodString;
1147
1153
  }, "strip", z$1.ZodTypeAny, {
1148
- name: string;
1149
1154
  slug: string;
1150
- }, {
1151
1155
  name: string;
1156
+ }, {
1152
1157
  slug: string;
1158
+ name: string;
1153
1159
  }>, "many">>;
1154
1160
  appUrl: z$1.ZodOptional<z$1.ZodString>;
1155
1161
  createdAt: z$1.ZodOptional<z$1.ZodString>;
@@ -1160,27 +1166,27 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1160
1166
  updatedAt: z$1.ZodOptional<z$1.ZodString>;
1161
1167
  availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1162
1168
  }, "strip", z$1.ZodTypeAny, {
1163
- createdAt?: string | undefined;
1164
- updatedAt?: string | undefined;
1165
1169
  logo?: string | undefined;
1166
1170
  description?: string | undefined;
1167
1171
  availableVersions?: string[] | undefined;
1172
+ createdAt?: string | undefined;
1173
+ updatedAt?: string | undefined;
1168
1174
  categories?: {
1169
- name: string;
1170
1175
  slug: string;
1176
+ name: string;
1171
1177
  }[] | undefined;
1172
1178
  appUrl?: string | undefined;
1173
1179
  toolsCount?: number | undefined;
1174
1180
  triggersCount?: number | undefined;
1175
1181
  }, {
1176
- createdAt?: string | undefined;
1177
- updatedAt?: string | undefined;
1178
1182
  logo?: string | undefined;
1179
1183
  description?: string | undefined;
1180
1184
  availableVersions?: string[] | undefined;
1185
+ createdAt?: string | undefined;
1186
+ updatedAt?: string | undefined;
1181
1187
  categories?: {
1182
- name: string;
1183
1188
  slug: string;
1189
+ name: string;
1184
1190
  }[] | undefined;
1185
1191
  appUrl?: string | undefined;
1186
1192
  toolsCount?: number | undefined;
@@ -1201,15 +1207,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1201
1207
  type: z$1.ZodString;
1202
1208
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1203
1209
  }, "strip", z$1.ZodTypeAny, {
1204
- type: string;
1205
1210
  name: string;
1211
+ type: string;
1206
1212
  description: string;
1207
1213
  required: boolean;
1208
1214
  displayName: string;
1209
1215
  default?: string | null | undefined;
1210
1216
  }, {
1211
- type: string;
1212
1217
  name: string;
1218
+ type: string;
1213
1219
  description: string;
1214
1220
  required: boolean;
1215
1221
  displayName: string;
@@ -1223,15 +1229,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1223
1229
  type: z$1.ZodString;
1224
1230
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1225
1231
  }, "strip", z$1.ZodTypeAny, {
1226
- type: string;
1227
1232
  name: string;
1233
+ type: string;
1228
1234
  description: string;
1229
1235
  required: boolean;
1230
1236
  displayName: string;
1231
1237
  default?: string | null | undefined;
1232
1238
  }, {
1233
- type: string;
1234
1239
  name: string;
1240
+ type: string;
1235
1241
  description: string;
1236
1242
  required: boolean;
1237
1243
  displayName: string;
@@ -1239,16 +1245,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1239
1245
  }>, "many">;
1240
1246
  }, "strip", z$1.ZodTypeAny, {
1241
1247
  required: {
1242
- type: string;
1243
1248
  name: string;
1249
+ type: string;
1244
1250
  description: string;
1245
1251
  required: boolean;
1246
1252
  displayName: string;
1247
1253
  default?: string | null | undefined;
1248
1254
  }[];
1249
1255
  optional: {
1250
- type: string;
1251
1256
  name: string;
1257
+ type: string;
1252
1258
  description: string;
1253
1259
  required: boolean;
1254
1260
  displayName: string;
@@ -1256,16 +1262,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1256
1262
  }[];
1257
1263
  }, {
1258
1264
  required: {
1259
- type: string;
1260
1265
  name: string;
1266
+ type: string;
1261
1267
  description: string;
1262
1268
  required: boolean;
1263
1269
  displayName: string;
1264
1270
  default?: string | null | undefined;
1265
1271
  }[];
1266
1272
  optional: {
1267
- type: string;
1268
1273
  name: string;
1274
+ type: string;
1269
1275
  description: string;
1270
1276
  required: boolean;
1271
1277
  displayName: string;
@@ -1281,15 +1287,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1281
1287
  type: z$1.ZodString;
1282
1288
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1283
1289
  }, "strip", z$1.ZodTypeAny, {
1284
- type: string;
1285
1290
  name: string;
1291
+ type: string;
1286
1292
  description: string;
1287
1293
  required: boolean;
1288
1294
  displayName: string;
1289
1295
  default?: string | null | undefined;
1290
1296
  }, {
1291
- type: string;
1292
1297
  name: string;
1298
+ type: string;
1293
1299
  description: string;
1294
1300
  required: boolean;
1295
1301
  displayName: string;
@@ -1303,15 +1309,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1303
1309
  type: z$1.ZodString;
1304
1310
  default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1305
1311
  }, "strip", z$1.ZodTypeAny, {
1306
- type: string;
1307
1312
  name: string;
1313
+ type: string;
1308
1314
  description: string;
1309
1315
  required: boolean;
1310
1316
  displayName: string;
1311
1317
  default?: string | null | undefined;
1312
1318
  }, {
1313
- type: string;
1314
1319
  name: string;
1320
+ type: string;
1315
1321
  description: string;
1316
1322
  required: boolean;
1317
1323
  displayName: string;
@@ -1319,16 +1325,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1319
1325
  }>, "many">;
1320
1326
  }, "strip", z$1.ZodTypeAny, {
1321
1327
  required: {
1322
- type: string;
1323
1328
  name: string;
1329
+ type: string;
1324
1330
  description: string;
1325
1331
  required: boolean;
1326
1332
  displayName: string;
1327
1333
  default?: string | null | undefined;
1328
1334
  }[];
1329
1335
  optional: {
1330
- type: string;
1331
1336
  name: string;
1337
+ type: string;
1332
1338
  description: string;
1333
1339
  required: boolean;
1334
1340
  displayName: string;
@@ -1336,16 +1342,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1336
1342
  }[];
1337
1343
  }, {
1338
1344
  required: {
1339
- type: string;
1340
1345
  name: string;
1346
+ type: string;
1341
1347
  description: string;
1342
1348
  required: boolean;
1343
1349
  displayName: string;
1344
1350
  default?: string | null | undefined;
1345
1351
  }[];
1346
1352
  optional: {
1347
- type: string;
1348
1353
  name: string;
1354
+ type: string;
1349
1355
  description: string;
1350
1356
  required: boolean;
1351
1357
  displayName: string;
@@ -1355,16 +1361,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1355
1361
  }, "strip", z$1.ZodTypeAny, {
1356
1362
  authConfigCreation: {
1357
1363
  required: {
1358
- type: string;
1359
1364
  name: string;
1365
+ type: string;
1360
1366
  description: string;
1361
1367
  required: boolean;
1362
1368
  displayName: string;
1363
1369
  default?: string | null | undefined;
1364
1370
  }[];
1365
1371
  optional: {
1366
- type: string;
1367
1372
  name: string;
1373
+ type: string;
1368
1374
  description: string;
1369
1375
  required: boolean;
1370
1376
  displayName: string;
@@ -1373,16 +1379,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1373
1379
  };
1374
1380
  connectedAccountInitiation: {
1375
1381
  required: {
1376
- type: string;
1377
1382
  name: string;
1383
+ type: string;
1378
1384
  description: string;
1379
1385
  required: boolean;
1380
1386
  displayName: string;
1381
1387
  default?: string | null | undefined;
1382
1388
  }[];
1383
1389
  optional: {
1384
- type: string;
1385
1390
  name: string;
1391
+ type: string;
1386
1392
  description: string;
1387
1393
  required: boolean;
1388
1394
  displayName: string;
@@ -1392,16 +1398,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1392
1398
  }, {
1393
1399
  authConfigCreation: {
1394
1400
  required: {
1395
- type: string;
1396
1401
  name: string;
1402
+ type: string;
1397
1403
  description: string;
1398
1404
  required: boolean;
1399
1405
  displayName: string;
1400
1406
  default?: string | null | undefined;
1401
1407
  }[];
1402
1408
  optional: {
1403
- type: string;
1404
1409
  name: string;
1410
+ type: string;
1405
1411
  description: string;
1406
1412
  required: boolean;
1407
1413
  displayName: string;
@@ -1410,16 +1416,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1410
1416
  };
1411
1417
  connectedAccountInitiation: {
1412
1418
  required: {
1413
- type: string;
1414
1419
  name: string;
1420
+ type: string;
1415
1421
  description: string;
1416
1422
  required: boolean;
1417
1423
  displayName: string;
1418
1424
  default?: string | null | undefined;
1419
1425
  }[];
1420
1426
  optional: {
1421
- type: string;
1422
1427
  name: string;
1428
+ type: string;
1423
1429
  description: string;
1424
1430
  required: boolean;
1425
1431
  displayName: string;
@@ -1440,16 +1446,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1440
1446
  fields: {
1441
1447
  authConfigCreation: {
1442
1448
  required: {
1443
- type: string;
1444
1449
  name: string;
1450
+ type: string;
1445
1451
  description: string;
1446
1452
  required: boolean;
1447
1453
  displayName: string;
1448
1454
  default?: string | null | undefined;
1449
1455
  }[];
1450
1456
  optional: {
1451
- type: string;
1452
1457
  name: string;
1458
+ type: string;
1453
1459
  description: string;
1454
1460
  required: boolean;
1455
1461
  displayName: string;
@@ -1458,16 +1464,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1458
1464
  };
1459
1465
  connectedAccountInitiation: {
1460
1466
  required: {
1461
- type: string;
1462
1467
  name: string;
1468
+ type: string;
1463
1469
  description: string;
1464
1470
  required: boolean;
1465
1471
  displayName: string;
1466
1472
  default?: string | null | undefined;
1467
1473
  }[];
1468
1474
  optional: {
1469
- type: string;
1470
1475
  name: string;
1476
+ type: string;
1471
1477
  description: string;
1472
1478
  required: boolean;
1473
1479
  displayName: string;
@@ -1484,16 +1490,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1484
1490
  fields: {
1485
1491
  authConfigCreation: {
1486
1492
  required: {
1487
- type: string;
1488
1493
  name: string;
1494
+ type: string;
1489
1495
  description: string;
1490
1496
  required: boolean;
1491
1497
  displayName: string;
1492
1498
  default?: string | null | undefined;
1493
1499
  }[];
1494
1500
  optional: {
1495
- type: string;
1496
1501
  name: string;
1502
+ type: string;
1497
1503
  description: string;
1498
1504
  required: boolean;
1499
1505
  displayName: string;
@@ -1502,16 +1508,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1502
1508
  };
1503
1509
  connectedAccountInitiation: {
1504
1510
  required: {
1505
- type: string;
1506
1511
  name: string;
1512
+ type: string;
1507
1513
  description: string;
1508
1514
  required: boolean;
1509
1515
  displayName: string;
1510
1516
  default?: string | null | undefined;
1511
1517
  }[];
1512
1518
  optional: {
1513
- type: string;
1514
1519
  name: string;
1520
+ type: string;
1515
1521
  description: string;
1516
1522
  required: boolean;
1517
1523
  displayName: string;
@@ -1527,17 +1533,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1527
1533
  getCurrentUserEndpoint: z$1.ZodOptional<z$1.ZodString>;
1528
1534
  getCurrentUserEndpointMethod: z$1.ZodOptional<z$1.ZodString>;
1529
1535
  }, "strip", z$1.ZodTypeAny, {
1530
- name: string;
1531
1536
  slug: string;
1537
+ name: string;
1532
1538
  meta: {
1533
- createdAt?: string | undefined;
1534
- updatedAt?: string | undefined;
1535
1539
  logo?: string | undefined;
1536
1540
  description?: string | undefined;
1537
1541
  availableVersions?: string[] | undefined;
1542
+ createdAt?: string | undefined;
1543
+ updatedAt?: string | undefined;
1538
1544
  categories?: {
1539
- name: string;
1540
1545
  slug: string;
1546
+ name: string;
1541
1547
  }[] | undefined;
1542
1548
  appUrl?: string | undefined;
1543
1549
  toolsCount?: number | undefined;
@@ -1552,16 +1558,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1552
1558
  fields: {
1553
1559
  authConfigCreation: {
1554
1560
  required: {
1555
- type: string;
1556
1561
  name: string;
1562
+ type: string;
1557
1563
  description: string;
1558
1564
  required: boolean;
1559
1565
  displayName: string;
1560
1566
  default?: string | null | undefined;
1561
1567
  }[];
1562
1568
  optional: {
1563
- type: string;
1564
1569
  name: string;
1570
+ type: string;
1565
1571
  description: string;
1566
1572
  required: boolean;
1567
1573
  displayName: string;
@@ -1570,16 +1576,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1570
1576
  };
1571
1577
  connectedAccountInitiation: {
1572
1578
  required: {
1573
- type: string;
1574
1579
  name: string;
1580
+ type: string;
1575
1581
  description: string;
1576
1582
  required: boolean;
1577
1583
  displayName: string;
1578
1584
  default?: string | null | undefined;
1579
1585
  }[];
1580
1586
  optional: {
1581
- type: string;
1582
1587
  name: string;
1588
+ type: string;
1583
1589
  description: string;
1584
1590
  required: boolean;
1585
1591
  displayName: string;
@@ -1594,17 +1600,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1594
1600
  getCurrentUserEndpoint?: string | undefined;
1595
1601
  getCurrentUserEndpointMethod?: string | undefined;
1596
1602
  }, {
1597
- name: string;
1598
1603
  slug: string;
1604
+ name: string;
1599
1605
  meta: {
1600
- createdAt?: string | undefined;
1601
- updatedAt?: string | undefined;
1602
1606
  logo?: string | undefined;
1603
1607
  description?: string | undefined;
1604
1608
  availableVersions?: string[] | undefined;
1609
+ createdAt?: string | undefined;
1610
+ updatedAt?: string | undefined;
1605
1611
  categories?: {
1606
- name: string;
1607
1612
  slug: string;
1613
+ name: string;
1608
1614
  }[] | undefined;
1609
1615
  appUrl?: string | undefined;
1610
1616
  toolsCount?: number | undefined;
@@ -1619,16 +1625,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1619
1625
  fields: {
1620
1626
  authConfigCreation: {
1621
1627
  required: {
1622
- type: string;
1623
1628
  name: string;
1629
+ type: string;
1624
1630
  description: string;
1625
1631
  required: boolean;
1626
1632
  displayName: string;
1627
1633
  default?: string | null | undefined;
1628
1634
  }[];
1629
1635
  optional: {
1630
- type: string;
1631
1636
  name: string;
1637
+ type: string;
1632
1638
  description: string;
1633
1639
  required: boolean;
1634
1640
  displayName: string;
@@ -1637,16 +1643,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1637
1643
  };
1638
1644
  connectedAccountInitiation: {
1639
1645
  required: {
1640
- type: string;
1641
1646
  name: string;
1647
+ type: string;
1642
1648
  description: string;
1643
1649
  required: boolean;
1644
1650
  displayName: string;
1645
1651
  default?: string | null | undefined;
1646
1652
  }[];
1647
1653
  optional: {
1648
- type: string;
1649
1654
  name: string;
1655
+ type: string;
1650
1656
  description: string;
1651
1657
  required: boolean;
1652
1658
  displayName: string;
@@ -1716,15 +1722,15 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
1716
1722
  } & {
1717
1723
  required: z$1.ZodOptional<z$1.ZodBoolean>;
1718
1724
  }, "strip", z$1.ZodTypeAny, {
1719
- type: string;
1720
1725
  name: string;
1726
+ type: string;
1721
1727
  description: string;
1722
1728
  displayName: string;
1723
1729
  required?: boolean | undefined;
1724
1730
  default?: string | null | undefined;
1725
1731
  }, {
1726
- type: string;
1727
1732
  name: string;
1733
+ type: string;
1728
1734
  description: string;
1729
1735
  displayName: string;
1730
1736
  required?: boolean | undefined;
@@ -1971,13 +1977,13 @@ declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
1971
1977
  toolkit: z$1.ZodString;
1972
1978
  }, "strip", z$1.ZodTypeAny, {
1973
1979
  toolkit: string;
1974
- id: string;
1975
1980
  authScheme: string;
1981
+ id: string;
1976
1982
  isComposioManaged: boolean;
1977
1983
  }, {
1978
1984
  toolkit: string;
1979
- id: string;
1980
1985
  authScheme: string;
1986
+ id: string;
1981
1987
  isComposioManaged: boolean;
1982
1988
  }>;
1983
1989
  type CreateAuthConfigResponse = z$1.infer<typeof CreateAuthConfigResponseSchema>;
@@ -2019,45 +2025,45 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
2019
2025
  toolsAvailableForExecution?: string[] | undefined;
2020
2026
  }>>;
2021
2027
  }, "strip", z$1.ZodTypeAny, {
2028
+ name: string;
2029
+ status: "ENABLED" | "DISABLED";
2022
2030
  toolkit: {
2023
2031
  slug: string;
2024
2032
  logo: string;
2025
2033
  };
2026
- status: "ENABLED" | "DISABLED";
2027
- name: string;
2028
2034
  id: string;
2029
2035
  noOfConnections: number;
2030
- createdAt?: string | undefined;
2031
2036
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2032
- isComposioManaged?: boolean | undefined;
2037
+ createdAt?: string | undefined;
2033
2038
  credentials?: Record<string, unknown> | undefined;
2034
2039
  toolAccessConfig?: {
2035
2040
  toolsForConnectedAccountCreation?: string[] | undefined;
2036
2041
  toolsAvailableForExecution?: string[] | undefined;
2037
2042
  } | undefined;
2038
2043
  isEnabledForToolRouter?: boolean | undefined;
2044
+ isComposioManaged?: boolean | undefined;
2039
2045
  expectedInputFields?: unknown[] | undefined;
2040
2046
  restrictToFollowingTools?: string[] | undefined;
2041
2047
  createdBy?: string | undefined;
2042
2048
  lastUpdatedAt?: string | undefined;
2043
2049
  }, {
2050
+ name: string;
2051
+ status: "ENABLED" | "DISABLED";
2044
2052
  toolkit: {
2045
2053
  slug: string;
2046
2054
  logo: string;
2047
2055
  };
2048
- status: "ENABLED" | "DISABLED";
2049
- name: string;
2050
2056
  id: string;
2051
2057
  noOfConnections: number;
2052
- createdAt?: string | undefined;
2053
2058
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2054
- isComposioManaged?: boolean | undefined;
2059
+ createdAt?: string | undefined;
2055
2060
  credentials?: Record<string, unknown> | undefined;
2056
2061
  toolAccessConfig?: {
2057
2062
  toolsForConnectedAccountCreation?: string[] | undefined;
2058
2063
  toolsAvailableForExecution?: string[] | undefined;
2059
2064
  } | undefined;
2060
2065
  isEnabledForToolRouter?: boolean | undefined;
2066
+ isComposioManaged?: boolean | undefined;
2061
2067
  expectedInputFields?: unknown[] | undefined;
2062
2068
  restrictToFollowingTools?: string[] | undefined;
2063
2069
  createdBy?: string | undefined;
@@ -2073,16 +2079,16 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
2073
2079
  toolkit: z$1.ZodOptional<z$1.ZodString>;
2074
2080
  }, "strip", z$1.ZodTypeAny, {
2075
2081
  toolkit?: string | undefined;
2076
- cursor?: string | undefined;
2077
2082
  limit?: number | undefined;
2078
2083
  search?: string | undefined;
2084
+ cursor?: string | undefined;
2079
2085
  isComposioManaged?: boolean | undefined;
2080
2086
  showDisabled?: boolean | undefined;
2081
2087
  }, {
2082
2088
  toolkit?: string | undefined;
2083
- cursor?: string | undefined;
2084
2089
  limit?: number | undefined;
2085
2090
  search?: string | undefined;
2091
+ cursor?: string | undefined;
2086
2092
  isComposioManaged?: boolean | undefined;
2087
2093
  showDisabled?: boolean | undefined;
2088
2094
  }>;
@@ -2126,45 +2132,45 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2126
2132
  toolsAvailableForExecution?: string[] | undefined;
2127
2133
  }>>;
2128
2134
  }, "strip", z$1.ZodTypeAny, {
2135
+ name: string;
2136
+ status: "ENABLED" | "DISABLED";
2129
2137
  toolkit: {
2130
2138
  slug: string;
2131
2139
  logo: string;
2132
2140
  };
2133
- status: "ENABLED" | "DISABLED";
2134
- name: string;
2135
2141
  id: string;
2136
2142
  noOfConnections: number;
2137
- createdAt?: string | undefined;
2138
2143
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2139
- isComposioManaged?: boolean | undefined;
2144
+ createdAt?: string | undefined;
2140
2145
  credentials?: Record<string, unknown> | undefined;
2141
2146
  toolAccessConfig?: {
2142
2147
  toolsForConnectedAccountCreation?: string[] | undefined;
2143
2148
  toolsAvailableForExecution?: string[] | undefined;
2144
2149
  } | undefined;
2145
2150
  isEnabledForToolRouter?: boolean | undefined;
2151
+ isComposioManaged?: boolean | undefined;
2146
2152
  expectedInputFields?: unknown[] | undefined;
2147
2153
  restrictToFollowingTools?: string[] | undefined;
2148
2154
  createdBy?: string | undefined;
2149
2155
  lastUpdatedAt?: string | undefined;
2150
2156
  }, {
2157
+ name: string;
2158
+ status: "ENABLED" | "DISABLED";
2151
2159
  toolkit: {
2152
2160
  slug: string;
2153
2161
  logo: string;
2154
2162
  };
2155
- status: "ENABLED" | "DISABLED";
2156
- name: string;
2157
2163
  id: string;
2158
2164
  noOfConnections: number;
2159
- createdAt?: string | undefined;
2160
2165
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2161
- isComposioManaged?: boolean | undefined;
2166
+ createdAt?: string | undefined;
2162
2167
  credentials?: Record<string, unknown> | undefined;
2163
2168
  toolAccessConfig?: {
2164
2169
  toolsForConnectedAccountCreation?: string[] | undefined;
2165
2170
  toolsAvailableForExecution?: string[] | undefined;
2166
2171
  } | undefined;
2167
2172
  isEnabledForToolRouter?: boolean | undefined;
2173
+ isComposioManaged?: boolean | undefined;
2168
2174
  expectedInputFields?: unknown[] | undefined;
2169
2175
  restrictToFollowingTools?: string[] | undefined;
2170
2176
  createdBy?: string | undefined;
@@ -2174,23 +2180,23 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2174
2180
  totalPages: z$1.ZodNumber;
2175
2181
  }, "strip", z$1.ZodTypeAny, {
2176
2182
  items: {
2183
+ name: string;
2184
+ status: "ENABLED" | "DISABLED";
2177
2185
  toolkit: {
2178
2186
  slug: string;
2179
2187
  logo: string;
2180
2188
  };
2181
- status: "ENABLED" | "DISABLED";
2182
- name: string;
2183
2189
  id: string;
2184
2190
  noOfConnections: number;
2185
- createdAt?: string | undefined;
2186
2191
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2187
- isComposioManaged?: boolean | undefined;
2192
+ createdAt?: string | undefined;
2188
2193
  credentials?: Record<string, unknown> | undefined;
2189
2194
  toolAccessConfig?: {
2190
2195
  toolsForConnectedAccountCreation?: string[] | undefined;
2191
2196
  toolsAvailableForExecution?: string[] | undefined;
2192
2197
  } | undefined;
2193
2198
  isEnabledForToolRouter?: boolean | undefined;
2199
+ isComposioManaged?: boolean | undefined;
2194
2200
  expectedInputFields?: unknown[] | undefined;
2195
2201
  restrictToFollowingTools?: string[] | undefined;
2196
2202
  createdBy?: string | undefined;
@@ -2200,23 +2206,23 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2200
2206
  totalPages: number;
2201
2207
  }, {
2202
2208
  items: {
2209
+ name: string;
2210
+ status: "ENABLED" | "DISABLED";
2203
2211
  toolkit: {
2204
2212
  slug: string;
2205
2213
  logo: string;
2206
2214
  };
2207
- status: "ENABLED" | "DISABLED";
2208
- name: string;
2209
2215
  id: string;
2210
2216
  noOfConnections: number;
2211
- createdAt?: string | undefined;
2212
2217
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2213
- isComposioManaged?: boolean | undefined;
2218
+ createdAt?: string | undefined;
2214
2219
  credentials?: Record<string, unknown> | undefined;
2215
2220
  toolAccessConfig?: {
2216
2221
  toolsForConnectedAccountCreation?: string[] | undefined;
2217
2222
  toolsAvailableForExecution?: string[] | undefined;
2218
2223
  } | undefined;
2219
2224
  isEnabledForToolRouter?: boolean | undefined;
2225
+ isComposioManaged?: boolean | undefined;
2220
2226
  expectedInputFields?: unknown[] | undefined;
2221
2227
  restrictToFollowingTools?: string[] | undefined;
2222
2228
  createdBy?: string | undefined;
@@ -2549,18 +2555,18 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
2549
2555
  triggerData: z$1.ZodOptional<z$1.ZodString>;
2550
2556
  userId: z$1.ZodOptional<z$1.ZodString>;
2551
2557
  }, "strip", z$1.ZodTypeAny, {
2552
- authConfigId?: string | undefined;
2553
- userId?: string | undefined;
2554
2558
  toolkits?: string[] | undefined;
2555
2559
  connectedAccountId?: string | undefined;
2560
+ userId?: string | undefined;
2561
+ authConfigId?: string | undefined;
2556
2562
  triggerId?: string | undefined;
2557
2563
  triggerSlug?: string[] | undefined;
2558
2564
  triggerData?: string | undefined;
2559
2565
  }, {
2560
- authConfigId?: string | undefined;
2561
- userId?: string | undefined;
2562
2566
  toolkits?: string[] | undefined;
2563
2567
  connectedAccountId?: string | undefined;
2568
+ userId?: string | undefined;
2569
+ authConfigId?: string | undefined;
2564
2570
  triggerId?: string | undefined;
2565
2571
  triggerSlug?: string[] | undefined;
2566
2572
  triggerData?: string | undefined;
@@ -2575,18 +2581,18 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
2575
2581
  triggerIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2576
2582
  triggerNames: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2577
2583
  }, "strip", z$1.ZodTypeAny, {
2578
- connectedAccountIds?: string[] | null | undefined;
2584
+ limit?: number | undefined;
2579
2585
  authConfigIds?: string[] | null | undefined;
2586
+ connectedAccountIds?: string[] | null | undefined;
2580
2587
  cursor?: string | undefined;
2581
- limit?: number | undefined;
2582
2588
  showDisabled?: boolean | null | undefined;
2583
2589
  triggerIds?: string[] | null | undefined;
2584
2590
  triggerNames?: string[] | null | undefined;
2585
2591
  }, {
2586
- connectedAccountIds?: string[] | null | undefined;
2592
+ limit?: number | undefined;
2587
2593
  authConfigIds?: string[] | null | undefined;
2594
+ connectedAccountIds?: string[] | null | undefined;
2588
2595
  cursor?: string | undefined;
2589
- limit?: number | undefined;
2590
2596
  showDisabled?: boolean | null | undefined;
2591
2597
  triggerIds?: string[] | null | undefined;
2592
2598
  triggerNames?: string[] | null | undefined;
@@ -2603,9 +2609,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
2603
2609
  triggerData: z$1.ZodOptional<z$1.ZodString>;
2604
2610
  uuid: z$1.ZodOptional<z$1.ZodString>;
2605
2611
  }, "strip", z$1.ZodTypeAny, {
2612
+ connectedAccountId: string;
2606
2613
  id: string;
2607
2614
  updatedAt: string;
2608
- connectedAccountId: string;
2609
2615
  disabledAt: string | null;
2610
2616
  state: Record<string, unknown>;
2611
2617
  triggerConfig: Record<string, unknown>;
@@ -2613,9 +2619,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
2613
2619
  uuid?: string | undefined;
2614
2620
  triggerData?: string | undefined;
2615
2621
  }, {
2622
+ connectedAccountId: string;
2616
2623
  id: string;
2617
2624
  updatedAt: string;
2618
- connectedAccountId: string;
2619
2625
  disabledAt: string | null;
2620
2626
  state: Record<string, unknown>;
2621
2627
  triggerConfig: Record<string, unknown>;
@@ -2635,9 +2641,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2635
2641
  triggerData: z$1.ZodOptional<z$1.ZodString>;
2636
2642
  uuid: z$1.ZodOptional<z$1.ZodString>;
2637
2643
  }, "strip", z$1.ZodTypeAny, {
2644
+ connectedAccountId: string;
2638
2645
  id: string;
2639
2646
  updatedAt: string;
2640
- connectedAccountId: string;
2641
2647
  disabledAt: string | null;
2642
2648
  state: Record<string, unknown>;
2643
2649
  triggerConfig: Record<string, unknown>;
@@ -2645,9 +2651,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2645
2651
  uuid?: string | undefined;
2646
2652
  triggerData?: string | undefined;
2647
2653
  }, {
2654
+ connectedAccountId: string;
2648
2655
  id: string;
2649
2656
  updatedAt: string;
2650
- connectedAccountId: string;
2651
2657
  disabledAt: string | null;
2652
2658
  state: Record<string, unknown>;
2653
2659
  triggerConfig: Record<string, unknown>;
@@ -2659,9 +2665,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2659
2665
  totalPages: z$1.ZodNumber;
2660
2666
  }, "strip", z$1.ZodTypeAny, {
2661
2667
  items: {
2668
+ connectedAccountId: string;
2662
2669
  id: string;
2663
2670
  updatedAt: string;
2664
- connectedAccountId: string;
2665
2671
  disabledAt: string | null;
2666
2672
  state: Record<string, unknown>;
2667
2673
  triggerConfig: Record<string, unknown>;
@@ -2673,9 +2679,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2673
2679
  totalPages: number;
2674
2680
  }, {
2675
2681
  items: {
2682
+ connectedAccountId: string;
2676
2683
  id: string;
2677
2684
  updatedAt: string;
2678
- connectedAccountId: string;
2679
2685
  disabledAt: string | null;
2680
2686
  state: Record<string, unknown>;
2681
2687
  triggerConfig: Record<string, unknown>;
@@ -2754,28 +2760,28 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
2754
2760
  userId: z$1.ZodString;
2755
2761
  status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
2756
2762
  }, "strip", z$1.ZodTypeAny, {
2757
- authConfigId: string;
2758
2763
  status: "ACTIVE" | "INACTIVE";
2759
2764
  userId: string;
2765
+ authConfigId: string;
2760
2766
  uuid: string;
2761
2767
  id: string;
2762
2768
  authConfigUUID: string;
2763
2769
  }, {
2764
- authConfigId: string;
2765
2770
  status: "ACTIVE" | "INACTIVE";
2766
2771
  userId: string;
2772
+ authConfigId: string;
2767
2773
  uuid: string;
2768
2774
  id: string;
2769
2775
  authConfigUUID: string;
2770
2776
  }>;
2771
2777
  }, "strip", z$1.ZodTypeAny, {
2778
+ toolkitSlug: string;
2772
2779
  uuid: string;
2773
2780
  id: string;
2774
- toolkitSlug: string;
2775
2781
  connectedAccount: {
2776
- authConfigId: string;
2777
2782
  status: "ACTIVE" | "INACTIVE";
2778
2783
  userId: string;
2784
+ authConfigId: string;
2779
2785
  uuid: string;
2780
2786
  id: string;
2781
2787
  authConfigUUID: string;
@@ -2784,13 +2790,13 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
2784
2790
  triggerConfig: Record<string, unknown>;
2785
2791
  triggerData?: string | undefined;
2786
2792
  }, {
2793
+ toolkitSlug: string;
2787
2794
  uuid: string;
2788
2795
  id: string;
2789
- toolkitSlug: string;
2790
2796
  connectedAccount: {
2791
- authConfigId: string;
2792
2797
  status: "ACTIVE" | "INACTIVE";
2793
2798
  userId: string;
2799
+ authConfigId: string;
2794
2800
  uuid: string;
2795
2801
  id: string;
2796
2802
  authConfigUUID: string;
@@ -2800,19 +2806,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
2800
2806
  triggerData?: string | undefined;
2801
2807
  }>;
2802
2808
  }, "strip", z$1.ZodTypeAny, {
2809
+ toolkitSlug: string;
2803
2810
  userId: string;
2804
2811
  uuid: string;
2805
2812
  id: string;
2806
- toolkitSlug: string;
2807
2813
  triggerSlug: string;
2808
2814
  metadata: {
2815
+ toolkitSlug: string;
2809
2816
  uuid: string;
2810
2817
  id: string;
2811
- toolkitSlug: string;
2812
2818
  connectedAccount: {
2813
- authConfigId: string;
2814
2819
  status: "ACTIVE" | "INACTIVE";
2815
2820
  userId: string;
2821
+ authConfigId: string;
2816
2822
  uuid: string;
2817
2823
  id: string;
2818
2824
  authConfigUUID: string;
@@ -2824,19 +2830,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
2824
2830
  payload?: Record<string, unknown> | undefined;
2825
2831
  originalPayload?: Record<string, unknown> | undefined;
2826
2832
  }, {
2833
+ toolkitSlug: string;
2827
2834
  userId: string;
2828
2835
  uuid: string;
2829
2836
  id: string;
2830
- toolkitSlug: string;
2831
2837
  triggerSlug: string;
2832
2838
  metadata: {
2839
+ toolkitSlug: string;
2833
2840
  uuid: string;
2834
2841
  id: string;
2835
- toolkitSlug: string;
2836
2842
  connectedAccount: {
2837
- authConfigId: string;
2838
2843
  status: "ACTIVE" | "INACTIVE";
2839
2844
  userId: string;
2845
+ authConfigId: string;
2840
2846
  uuid: string;
2841
2847
  id: string;
2842
2848
  authConfigUUID: string;
@@ -2876,12 +2882,12 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
2876
2882
  toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2877
2883
  }, "strip", z$1.ZodTypeAny, {
2878
2884
  toolkits?: string[] | null | undefined;
2879
- cursor?: string | undefined;
2880
2885
  limit?: number | null | undefined;
2886
+ cursor?: string | undefined;
2881
2887
  }, {
2882
2888
  toolkits?: string[] | null | undefined;
2883
- cursor?: string | undefined;
2884
2889
  limit?: number | null | undefined;
2890
+ cursor?: string | undefined;
2885
2891
  }>;
2886
2892
  type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
2887
2893
  declare const TriggerTypeSchema: z$1.ZodObject<{
@@ -2894,40 +2900,40 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
2894
2900
  slug: z$1.ZodString;
2895
2901
  name: z$1.ZodString;
2896
2902
  }, "strip", z$1.ZodTypeAny, {
2897
- name: string;
2898
2903
  slug: string;
2904
+ name: string;
2899
2905
  logo: string;
2900
2906
  }, {
2901
- name: string;
2902
2907
  slug: string;
2908
+ name: string;
2903
2909
  logo: string;
2904
2910
  }>;
2905
2911
  payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2906
2912
  config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2907
2913
  version: z$1.ZodOptional<z$1.ZodString>;
2908
2914
  }, "strip", z$1.ZodTypeAny, {
2915
+ slug: string;
2916
+ name: string;
2917
+ description: string;
2909
2918
  toolkit: {
2910
- name: string;
2911
2919
  slug: string;
2920
+ name: string;
2912
2921
  logo: string;
2913
2922
  };
2914
- name: string;
2915
2923
  config: Record<string, unknown>;
2916
- slug: string;
2917
- description: string;
2918
2924
  payload: Record<string, unknown>;
2919
2925
  version?: string | undefined;
2920
2926
  instructions?: string | undefined;
2921
2927
  }, {
2928
+ slug: string;
2929
+ name: string;
2930
+ description: string;
2922
2931
  toolkit: {
2923
- name: string;
2924
2932
  slug: string;
2933
+ name: string;
2925
2934
  logo: string;
2926
2935
  };
2927
- name: string;
2928
2936
  config: Record<string, unknown>;
2929
- slug: string;
2930
- description: string;
2931
2937
  payload: Record<string, unknown>;
2932
2938
  version?: string | undefined;
2933
2939
  instructions?: string | undefined;
@@ -2944,40 +2950,40 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
2944
2950
  slug: z$1.ZodString;
2945
2951
  name: z$1.ZodString;
2946
2952
  }, "strip", z$1.ZodTypeAny, {
2947
- name: string;
2948
2953
  slug: string;
2954
+ name: string;
2949
2955
  logo: string;
2950
2956
  }, {
2951
- name: string;
2952
2957
  slug: string;
2958
+ name: string;
2953
2959
  logo: string;
2954
2960
  }>;
2955
2961
  payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2956
2962
  config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2957
2963
  version: z$1.ZodOptional<z$1.ZodString>;
2958
2964
  }, "strip", z$1.ZodTypeAny, {
2965
+ slug: string;
2966
+ name: string;
2967
+ description: string;
2959
2968
  toolkit: {
2960
- name: string;
2961
2969
  slug: string;
2970
+ name: string;
2962
2971
  logo: string;
2963
2972
  };
2964
- name: string;
2965
2973
  config: Record<string, unknown>;
2966
- slug: string;
2967
- description: string;
2968
2974
  payload: Record<string, unknown>;
2969
2975
  version?: string | undefined;
2970
2976
  instructions?: string | undefined;
2971
2977
  }, {
2978
+ slug: string;
2979
+ name: string;
2980
+ description: string;
2972
2981
  toolkit: {
2973
- name: string;
2974
2982
  slug: string;
2983
+ name: string;
2975
2984
  logo: string;
2976
2985
  };
2977
- name: string;
2978
2986
  config: Record<string, unknown>;
2979
- slug: string;
2980
- description: string;
2981
2987
  payload: Record<string, unknown>;
2982
2988
  version?: string | undefined;
2983
2989
  instructions?: string | undefined;
@@ -2986,15 +2992,15 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
2986
2992
  totalPages: z$1.ZodNumber;
2987
2993
  }, "strip", z$1.ZodTypeAny, {
2988
2994
  items: {
2995
+ slug: string;
2996
+ name: string;
2997
+ description: string;
2989
2998
  toolkit: {
2990
- name: string;
2991
2999
  slug: string;
3000
+ name: string;
2992
3001
  logo: string;
2993
3002
  };
2994
- name: string;
2995
3003
  config: Record<string, unknown>;
2996
- slug: string;
2997
- description: string;
2998
3004
  payload: Record<string, unknown>;
2999
3005
  version?: string | undefined;
3000
3006
  instructions?: string | undefined;
@@ -3003,15 +3009,15 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3003
3009
  nextCursor?: string | null | undefined;
3004
3010
  }, {
3005
3011
  items: {
3012
+ slug: string;
3013
+ name: string;
3014
+ description: string;
3006
3015
  toolkit: {
3007
- name: string;
3008
3016
  slug: string;
3017
+ name: string;
3009
3018
  logo: string;
3010
3019
  };
3011
- name: string;
3012
3020
  config: Record<string, unknown>;
3013
- slug: string;
3014
- description: string;
3015
3021
  payload: Record<string, unknown>;
3016
3022
  version?: string | undefined;
3017
3023
  instructions?: string | undefined;
@@ -3125,14 +3131,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
3125
3131
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3126
3132
  }, "strip", z$1.ZodTypeAny, {
3127
3133
  type: string;
3128
- id: string;
3129
3134
  data: Record<string, unknown>;
3135
+ id: string;
3130
3136
  metadata: Record<string, unknown>;
3131
3137
  timestamp: string;
3132
3138
  }, {
3133
3139
  type: string;
3134
- id: string;
3135
3140
  data: Record<string, unknown>;
3141
+ id: string;
3136
3142
  metadata: Record<string, unknown>;
3137
3143
  timestamp: string;
3138
3144
  }>;
@@ -3167,8 +3173,8 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
3167
3173
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3168
3174
  }, "strip", z$1.ZodTypeAny, {
3169
3175
  type: string;
3170
- id: string;
3171
3176
  data: Record<string, unknown>;
3177
+ id: string;
3172
3178
  metadata: {
3173
3179
  trigger_id: string;
3174
3180
  log_id: string;
@@ -3182,8 +3188,8 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
3182
3188
  timestamp: string;
3183
3189
  }, {
3184
3190
  type: string;
3185
- id: string;
3186
3191
  data: Record<string, unknown>;
3192
+ id: string;
3187
3193
  metadata: {
3188
3194
  trigger_id: string;
3189
3195
  log_id: string;
@@ -3206,14 +3212,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
3206
3212
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3207
3213
  }, "strip", z$1.ZodTypeAny, {
3208
3214
  type: string;
3209
- id: string;
3210
3215
  data: Record<string, unknown>;
3216
+ id: string;
3211
3217
  metadata: Record<string, unknown>;
3212
3218
  timestamp: string;
3213
3219
  }, {
3214
3220
  type: string;
3215
- id: string;
3216
3221
  data: Record<string, unknown>;
3222
+ id: string;
3217
3223
  metadata: Record<string, unknown>;
3218
3224
  timestamp: string;
3219
3225
  }>, z$1.ZodObject<{
@@ -4309,19 +4315,19 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
4309
4315
  allowedTools: z.ZodArray<z.ZodString, "many">;
4310
4316
  authConfigs: z.ZodArray<z.ZodString, "many">;
4311
4317
  }, "strip", z.ZodTypeAny, {
4318
+ name: string;
4312
4319
  type: "streamable_http";
4313
- allowedTools: string[];
4314
4320
  userId: string;
4321
+ allowedTools: string[];
4315
4322
  url: string;
4316
- name: string;
4317
4323
  id: string;
4318
4324
  authConfigs: string[];
4319
4325
  }, {
4326
+ name: string;
4320
4327
  type: "streamable_http";
4321
- allowedTools: string[];
4322
4328
  userId: string;
4329
+ allowedTools: string[];
4323
4330
  url: string;
4324
- name: string;
4325
4331
  id: string;
4326
4332
  authConfigs: string[];
4327
4333
  }>;
@@ -4402,10 +4408,10 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
4402
4408
  */
4403
4409
  MCPUrl: z.ZodString;
4404
4410
  }, "strip", z.ZodTypeAny, {
4405
- allowedTools: string[];
4406
4411
  name: string;
4407
- id: string;
4408
4412
  authConfigIds: string[];
4413
+ allowedTools: string[];
4414
+ id: string;
4409
4415
  commands: {
4410
4416
  claude: string;
4411
4417
  cursor: string;
@@ -4413,10 +4419,10 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
4413
4419
  };
4414
4420
  MCPUrl: string;
4415
4421
  }, {
4416
- allowedTools: string[];
4417
4422
  name: string;
4418
- id: string;
4419
4423
  authConfigIds: string[];
4424
+ allowedTools: string[];
4425
+ id: string;
4420
4426
  commands: {
4421
4427
  claude: string;
4422
4428
  cursor: string;
@@ -4449,15 +4455,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
4449
4455
  name: z.ZodOptional<z.ZodString>;
4450
4456
  }, "strip", z.ZodTypeAny, {
4451
4457
  toolkits: string[];
4452
- page: number;
4453
4458
  limit: number;
4459
+ page: number;
4454
4460
  authConfigs: string[];
4455
4461
  name?: string | undefined;
4456
4462
  }, {
4457
4463
  name?: string | undefined;
4458
4464
  toolkits?: string[] | undefined;
4459
- page?: number | undefined;
4460
4465
  limit?: number | undefined;
4466
+ page?: number | undefined;
4461
4467
  authConfigs?: string[] | undefined;
4462
4468
  }>;
4463
4469
  type MCPListParams = z.infer<typeof MCPListParamsSchema>;
@@ -4512,11 +4518,11 @@ declare const MCPItemSchema: z.ZodObject<{
4512
4518
  serverInstanceCount: z.ZodNumber;
4513
4519
  toolkits: z.ZodArray<z.ZodString, "many">;
4514
4520
  }, "strip", z.ZodTypeAny, {
4515
- allowedTools: string[];
4516
4521
  name: string;
4517
4522
  toolkits: string[];
4518
- id: string;
4519
4523
  authConfigIds: string[];
4524
+ allowedTools: string[];
4525
+ id: string;
4520
4526
  commands: {
4521
4527
  claude: string;
4522
4528
  cursor: string;
@@ -4526,11 +4532,11 @@ declare const MCPItemSchema: z.ZodObject<{
4526
4532
  toolkitIcons: Record<string, string>;
4527
4533
  serverInstanceCount: number;
4528
4534
  }, {
4529
- allowedTools: string[];
4530
4535
  name: string;
4531
4536
  toolkits: string[];
4532
- id: string;
4533
4537
  authConfigIds: string[];
4538
+ allowedTools: string[];
4539
+ id: string;
4534
4540
  commands: {
4535
4541
  claude: string;
4536
4542
  cursor: string;
@@ -4593,11 +4599,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
4593
4599
  serverInstanceCount: z.ZodNumber;
4594
4600
  toolkits: z.ZodArray<z.ZodString, "many">;
4595
4601
  }, "strip", z.ZodTypeAny, {
4596
- allowedTools: string[];
4597
4602
  name: string;
4598
4603
  toolkits: string[];
4599
- id: string;
4600
4604
  authConfigIds: string[];
4605
+ allowedTools: string[];
4606
+ id: string;
4601
4607
  commands: {
4602
4608
  claude: string;
4603
4609
  cursor: string;
@@ -4607,11 +4613,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
4607
4613
  toolkitIcons: Record<string, string>;
4608
4614
  serverInstanceCount: number;
4609
4615
  }, {
4610
- allowedTools: string[];
4611
4616
  name: string;
4612
4617
  toolkits: string[];
4613
- id: string;
4614
4618
  authConfigIds: string[];
4619
+ allowedTools: string[];
4620
+ id: string;
4615
4621
  commands: {
4616
4622
  claude: string;
4617
4623
  cursor: string;
@@ -4625,11 +4631,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
4625
4631
  totalPages: z.ZodNumber;
4626
4632
  }, "strip", z.ZodTypeAny, {
4627
4633
  items: {
4628
- allowedTools: string[];
4629
4634
  name: string;
4630
4635
  toolkits: string[];
4631
- id: string;
4632
4636
  authConfigIds: string[];
4637
+ allowedTools: string[];
4638
+ id: string;
4633
4639
  commands: {
4634
4640
  claude: string;
4635
4641
  cursor: string;
@@ -4643,11 +4649,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
4643
4649
  currentPage: number;
4644
4650
  }, {
4645
4651
  items: {
4646
- allowedTools: string[];
4647
4652
  name: string;
4648
4653
  toolkits: string[];
4649
- id: string;
4650
4654
  authConfigIds: string[];
4655
+ allowedTools: string[];
4656
+ id: string;
4651
4657
  commands: {
4652
4658
  claude: string;
4653
4659
  cursor: string;
@@ -4676,20 +4682,20 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
4676
4682
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4677
4683
  manuallyManageConnections: z.ZodOptional<z.ZodBoolean>;
4678
4684
  }, "strip", z.ZodTypeAny, {
4679
- allowedTools?: string[] | undefined;
4680
4685
  name?: string | undefined;
4681
4686
  toolkits?: (string | {
4682
4687
  toolkit?: string | undefined;
4683
4688
  authConfigId?: string | undefined;
4684
4689
  })[] | undefined;
4690
+ allowedTools?: string[] | undefined;
4685
4691
  manuallyManageConnections?: boolean | undefined;
4686
4692
  }, {
4687
- allowedTools?: string[] | undefined;
4688
4693
  name?: string | undefined;
4689
4694
  toolkits?: (string | {
4690
4695
  toolkit?: string | undefined;
4691
4696
  authConfigId?: string | undefined;
4692
4697
  })[] | undefined;
4698
+ allowedTools?: string[] | undefined;
4693
4699
  manuallyManageConnections?: boolean | undefined;
4694
4700
  }>;
4695
4701
  type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;