@composio/core 0.13.1 → 0.14.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 (57) hide show
  1. package/README.md +62 -247
  2. package/dist/BaseProvider-lCxnjFKQ.d.mts +29395 -0
  3. package/dist/{CustomTool-D9qwyMrv.mjs → CustomTool-C_5NvBsX.mjs} +17 -15
  4. package/dist/{CustomTool-DLf7JeKt.d.mts → CustomTool-CmokRT9q.d.mts} +1 -1
  5. package/dist/{FileModifierErrors-3fSwIWoa.mjs → SsrfErrors-BQRozkeU.mjs} +33 -1
  6. package/dist/{Telemetry-DhGI_J4G.mjs → Telemetry-llfvticE.mjs} +40 -8
  7. package/dist/{jsonSchema-CFKdONpP.mjs → cancellation-W65QRyj2.mjs} +64 -19
  8. package/dist/{composio-BHSQwOUz.d.mts → composio-6C8kHtqc.d.mts} +827 -808
  9. package/dist/{customTool.types-9yFqPjdw.d.mts → customTool.types-kFhNYuzh.d.mts} +502 -502
  10. package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -22
  11. package/dist/{errors-DSIlYfl5.mjs → errors-B165yJUQ.mjs} +74 -74
  12. package/dist/experimental/index.d.mts +2 -2
  13. package/dist/experimental/index.mjs +1 -1
  14. package/dist/{fileUtils.node-BiO1JQsJ.mjs → fileUtils.node-iPFi2o4i.mjs} +182 -68
  15. package/dist/index.d.mts +1451 -1400
  16. package/dist/index.mjs +1408 -1378
  17. package/dist/models/Files.node.mjs +2 -2
  18. package/dist/platform/node.d.mts +1 -1
  19. package/dist/platform/node.mjs +3 -0
  20. package/dist/platform/workerd.d.mts +1 -1
  21. package/dist/platform/workerd.mjs +3 -0
  22. package/dist/sensitiveFileUploadPaths-B1OLsd8F.mjs +114 -0
  23. package/dist/{types-DdoCRzLj.d.mts → types-DY1r-kN9.d.mts} +9 -0
  24. package/dist/{types-BJLCRj9q.d.mts → types-yCrveqAj.d.mts} +2 -2
  25. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  26. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  27. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  28. package/dist/utils/modifiers/FileToolModifier.node.mjs +5 -5
  29. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  30. package/package.json +10 -10
  31. package/src/errors/SsrfErrors.ts +47 -0
  32. package/src/errors/index.ts +3 -0
  33. package/src/index.ts +10 -0
  34. package/src/models/CustomTool.ts +1 -3
  35. package/src/models/ToolRouterSession.ts +38 -16
  36. package/src/models/Tools.ts +32 -2
  37. package/src/models/Triggers.ts +16 -76
  38. package/src/platform/node.ts +4 -0
  39. package/src/platform/types.ts +10 -0
  40. package/src/platform/workerd.ts +6 -0
  41. package/src/provider/OpenAIProvider.ts +19 -14
  42. package/src/telemetry/Telemetry.ts +9 -6
  43. package/src/telemetry/redact.ts +40 -0
  44. package/src/types/tool.types.ts +36 -32
  45. package/src/utils/fileUtils.node.ts +27 -4
  46. package/src/utils/jsonSchema.ts +58 -0
  47. package/src/utils/modifiers/FileToolModifier.node.ts +2 -1
  48. package/src/utils/sdk.ts +5 -4
  49. package/src/utils/{sensitiveFileUploadPaths.node.ts → sensitiveFileUploadPaths.ts} +29 -13
  50. package/src/utils/ssrfGuard.node.ts +202 -0
  51. package/src/utils/toolkitVersion.ts +21 -2
  52. package/dist/BaseProvider-Brb3o86-.d.mts +0 -29425
  53. package/dist/CustomTool-NpHpqdnU.d.mts +0 -74
  54. package/dist/buffer-PcbMMsgm.mjs +0 -33
  55. package/dist/composio-DfPD7BAi.d.mts +0 -5666
  56. package/dist/customTool.types-D-6YqFdW.d.mts +0 -2826
  57. package/dist/types-CCh8qvui.d.mts +0 -12
@@ -1,7 +1,7 @@
1
- import { $t as ExecuteToolModifiers, An as ToolRetrievalOptions, Cn as ToolList, Ln as ToolkitVersionParam, On as ToolProxyParams, X as McpServerGetResponse, _n as ToolExecuteMetaParams, at as ExecuteToolFnOptions, gn as Tool, hn as SchemaModifierOptions, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, r as BaseNonAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, wn as ToolListParams, xn as ToolExecuteResponse, yn as ToolExecuteParams } from "./BaseProvider-Brb3o86-.mjs";
2
- import { D as Session, Dn as UpdateConnectedAccountAclParams, Ht as ConnectionRequest, M as SessionWithoutMcp, Vt as ComposioRequestOptions, an as ConnectedAccountRefreshOptions, bn as CreateConnectedAccountOptions, en as ConnectedAccountListParams, f as CustomToolkit, gn as CreateConnectedAccountLinkOptions, kn as UpdateConnectedAccountParams, nn as ConnectedAccountListResponse, o as CustomTool, q as ToolRouterSessionDeleteResponse, sn as ConnectedAccountRetrieveResponse, z as ToolRouterCreateSessionConfig } from "./customTool.types-D-6YqFdW.mjs";
1
+ import { $t as ExecuteToolModifiers, An as ToolRetrievalOptions, Cn as ToolList, Ln as ToolkitVersionParam, On as ToolProxyParams, X as McpServerGetResponse, _n as ToolExecuteMetaParams, at as ExecuteToolFnOptions, gn as Tool, hn as SchemaModifierOptions, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, r as BaseNonAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, wn as ToolListParams, xn as ToolExecuteResponse, yn as ToolExecuteParams } from "./BaseProvider-lCxnjFKQ.mjs";
2
+ import { D as Session, Dn as UpdateConnectedAccountAclParams, Ht as ConnectionRequest, M as SessionWithoutMcp, Vt as ComposioRequestOptions, an as ConnectedAccountRefreshOptions, bn as CreateConnectedAccountOptions, en as ConnectedAccountListParams, f as CustomToolkit, gn as CreateConnectedAccountLinkOptions, kn as UpdateConnectedAccountParams, nn as ConnectedAccountListResponse, o as CustomTool, q as ToolRouterSessionDeleteResponse, sn as ConnectedAccountRetrieveResponse, z as ToolRouterCreateSessionConfig } from "./customTool.types-kFhNYuzh.mjs";
3
3
  import ComposioClient, { Composio } from "@composio/client";
4
- import z$1, { z } from "zod/v3";
4
+ import z, { z as z$1 } from "zod/v3";
5
5
  import { OpenAI } from "openai";
6
6
  import { Files } from "#files";
7
7
  import { ConnectedAccountDeleteResponse, ConnectedAccountPatchResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
@@ -31,7 +31,26 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
31
31
  * Scoped per-instance so a fresh `Composio` starts with a clean slate.
32
32
  */
33
33
  private readonly warnedAutoUploadDisabledForTool;
34
+ /**
35
+ * Lazily-built sibling client with retries disabled; see `clientWithoutRetries`.
36
+ */
37
+ private clientWithoutRetriesCache?;
34
38
  constructor(client: ComposioClient, config?: ComposioConfig<TProvider>);
39
+ /**
40
+ * A cached sibling client that never retries requests, mirroring Python's
41
+ * `client.without_retries`.
42
+ *
43
+ * Used for non-idempotent writes (`tools.execute` / `tools.proxy`), where a
44
+ * silent retry after a read timeout can duplicate a side effect (e.g. send an
45
+ * email twice). Reads keep the default retry behaviour, and so do other writes
46
+ * (`toolRouter.session.execute`, auth-config and connected-account mutations):
47
+ * the durable fix there is backend-honoured idempotency keys, tracked
48
+ * separately.
49
+ *
50
+ * Cached rather than rebuilt per call because `withOptions` constructs a fresh
51
+ * client; its options never change, so one per `Tools` instance suffices.
52
+ */
53
+ private get clientWithoutRetries();
35
54
  /**
36
55
  * Transforms tool data from snake_case API format to camelCase for internal SDK use.
37
56
  *
@@ -487,15 +506,15 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
487
506
  /**
488
507
  * Toolkit list params
489
508
  */
490
- declare const ToolkitMangedByEnumSchema: z.ZodEnum<["all", "composio", "project"]>;
491
- declare const ToolkitSortByEnumSchema: z.ZodEnum<["usage", "alphabetically"]>;
492
- declare const ToolkitsListParamsSchema: z.ZodObject<{
493
- category: z.ZodOptional<z.ZodString>;
494
- managedBy: z.ZodOptional<z.ZodEnum<["all", "composio", "project"]>>;
495
- sortBy: z.ZodOptional<z.ZodEnum<["usage", "alphabetically"]>>;
496
- cursor: z.ZodOptional<z.ZodString>;
497
- limit: z.ZodOptional<z.ZodNumber>;
498
- }, "strip", z.ZodTypeAny, {
509
+ declare const ToolkitMangedByEnumSchema: z$1.ZodEnum<["all", "composio", "project"]>;
510
+ declare const ToolkitSortByEnumSchema: z$1.ZodEnum<["usage", "alphabetically"]>;
511
+ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
512
+ category: z$1.ZodOptional<z$1.ZodString>;
513
+ managedBy: z$1.ZodOptional<z$1.ZodEnum<["all", "composio", "project"]>>;
514
+ sortBy: z$1.ZodOptional<z$1.ZodEnum<["usage", "alphabetically"]>>;
515
+ cursor: z$1.ZodOptional<z$1.ZodString>;
516
+ limit: z$1.ZodOptional<z$1.ZodNumber>;
517
+ }, "strip", z$1.ZodTypeAny, {
499
518
  limit?: number | undefined;
500
519
  cursor?: string | undefined;
501
520
  category?: string | undefined;
@@ -508,32 +527,32 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
508
527
  managedBy?: "all" | "composio" | "project" | undefined;
509
528
  sortBy?: "usage" | "alphabetically" | undefined;
510
529
  }>;
511
- type ToolkitMangedByEnum = z.infer<typeof ToolkitMangedByEnumSchema>;
512
- type ToolkitSortByEnum = z.infer<typeof ToolkitSortByEnumSchema>;
513
- type ToolkitListParams = z.infer<typeof ToolkitsListParamsSchema>;
530
+ type ToolkitMangedByEnum = z$1.infer<typeof ToolkitMangedByEnumSchema>;
531
+ type ToolkitSortByEnum = z$1.infer<typeof ToolkitSortByEnumSchema>;
532
+ type ToolkitListParams = z$1.infer<typeof ToolkitsListParamsSchema>;
514
533
  /**
515
534
  * Toolkits response
516
535
  */
517
- declare const ToolKitMetaSchema: z.ZodObject<{
518
- categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
519
- slug: z.ZodString;
520
- name: z.ZodString;
521
- }, "strip", z.ZodTypeAny, {
536
+ declare const ToolKitMetaSchema: z$1.ZodObject<{
537
+ categories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
538
+ slug: z$1.ZodString;
539
+ name: z$1.ZodString;
540
+ }, "strip", z$1.ZodTypeAny, {
522
541
  slug: string;
523
542
  name: string;
524
543
  }, {
525
544
  slug: string;
526
545
  name: string;
527
546
  }>, "many">>;
528
- appUrl: z.ZodOptional<z.ZodString>;
529
- createdAt: z.ZodOptional<z.ZodString>;
530
- description: z.ZodOptional<z.ZodString>;
531
- logo: z.ZodOptional<z.ZodString>;
532
- toolsCount: z.ZodOptional<z.ZodNumber>;
533
- triggersCount: z.ZodOptional<z.ZodNumber>;
534
- updatedAt: z.ZodOptional<z.ZodString>;
535
- availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
536
- }, "strip", z.ZodTypeAny, {
547
+ appUrl: z$1.ZodOptional<z$1.ZodString>;
548
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
549
+ description: z$1.ZodOptional<z$1.ZodString>;
550
+ logo: z$1.ZodOptional<z$1.ZodString>;
551
+ toolsCount: z$1.ZodOptional<z$1.ZodNumber>;
552
+ triggersCount: z$1.ZodOptional<z$1.ZodNumber>;
553
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
554
+ availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
555
+ }, "strip", z$1.ZodTypeAny, {
537
556
  logo?: string | undefined;
538
557
  description?: string | undefined;
539
558
  availableVersions?: string[] | undefined;
@@ -560,29 +579,29 @@ declare const ToolKitMetaSchema: z.ZodObject<{
560
579
  toolsCount?: number | undefined;
561
580
  triggersCount?: number | undefined;
562
581
  }>;
563
- declare const ToolKitItemSchema: z.ZodObject<{
564
- name: z.ZodString;
565
- slug: z.ZodString;
566
- meta: z.ZodObject<{
567
- categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
568
- slug: z.ZodString;
569
- name: z.ZodString;
570
- }, "strip", z.ZodTypeAny, {
582
+ declare const ToolKitItemSchema: z$1.ZodObject<{
583
+ name: z$1.ZodString;
584
+ slug: z$1.ZodString;
585
+ meta: z$1.ZodObject<{
586
+ categories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
587
+ slug: z$1.ZodString;
588
+ name: z$1.ZodString;
589
+ }, "strip", z$1.ZodTypeAny, {
571
590
  slug: string;
572
591
  name: string;
573
592
  }, {
574
593
  slug: string;
575
594
  name: string;
576
595
  }>, "many">>;
577
- appUrl: z.ZodOptional<z.ZodString>;
578
- createdAt: z.ZodOptional<z.ZodString>;
579
- description: z.ZodOptional<z.ZodString>;
580
- logo: z.ZodOptional<z.ZodString>;
581
- toolsCount: z.ZodOptional<z.ZodNumber>;
582
- triggersCount: z.ZodOptional<z.ZodNumber>;
583
- updatedAt: z.ZodOptional<z.ZodString>;
584
- availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
585
- }, "strip", z.ZodTypeAny, {
596
+ appUrl: z$1.ZodOptional<z$1.ZodString>;
597
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
598
+ description: z$1.ZodOptional<z$1.ZodString>;
599
+ logo: z$1.ZodOptional<z$1.ZodString>;
600
+ toolsCount: z$1.ZodOptional<z$1.ZodNumber>;
601
+ triggersCount: z$1.ZodOptional<z$1.ZodNumber>;
602
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
603
+ availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
604
+ }, "strip", z$1.ZodTypeAny, {
586
605
  logo?: string | undefined;
587
606
  description?: string | undefined;
588
607
  availableVersions?: string[] | undefined;
@@ -609,11 +628,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
609
628
  toolsCount?: number | undefined;
610
629
  triggersCount?: number | undefined;
611
630
  }>;
612
- isLocalToolkit: z.ZodBoolean;
613
- authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
614
- composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
615
- noAuth: z.ZodOptional<z.ZodBoolean>;
616
- }, "strip", z.ZodTypeAny, {
631
+ isLocalToolkit: z$1.ZodBoolean;
632
+ authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
633
+ composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
634
+ noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
635
+ }, "strip", z$1.ZodTypeAny, {
617
636
  slug: string;
618
637
  name: string;
619
638
  meta: {
@@ -656,29 +675,29 @@ declare const ToolKitItemSchema: z.ZodObject<{
656
675
  composioManagedAuthSchemes?: string[] | undefined;
657
676
  noAuth?: boolean | undefined;
658
677
  }>;
659
- declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
660
- name: z.ZodString;
661
- slug: z.ZodString;
662
- meta: z.ZodObject<{
663
- categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
664
- slug: z.ZodString;
665
- name: z.ZodString;
666
- }, "strip", z.ZodTypeAny, {
678
+ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
679
+ name: z$1.ZodString;
680
+ slug: z$1.ZodString;
681
+ meta: z$1.ZodObject<{
682
+ categories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
683
+ slug: z$1.ZodString;
684
+ name: z$1.ZodString;
685
+ }, "strip", z$1.ZodTypeAny, {
667
686
  slug: string;
668
687
  name: string;
669
688
  }, {
670
689
  slug: string;
671
690
  name: string;
672
691
  }>, "many">>;
673
- appUrl: z.ZodOptional<z.ZodString>;
674
- createdAt: z.ZodOptional<z.ZodString>;
675
- description: z.ZodOptional<z.ZodString>;
676
- logo: z.ZodOptional<z.ZodString>;
677
- toolsCount: z.ZodOptional<z.ZodNumber>;
678
- triggersCount: z.ZodOptional<z.ZodNumber>;
679
- updatedAt: z.ZodOptional<z.ZodString>;
680
- availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
681
- }, "strip", z.ZodTypeAny, {
692
+ appUrl: z$1.ZodOptional<z$1.ZodString>;
693
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
694
+ description: z$1.ZodOptional<z$1.ZodString>;
695
+ logo: z$1.ZodOptional<z$1.ZodString>;
696
+ toolsCount: z$1.ZodOptional<z$1.ZodNumber>;
697
+ triggersCount: z$1.ZodOptional<z$1.ZodNumber>;
698
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
699
+ availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
700
+ }, "strip", z$1.ZodTypeAny, {
682
701
  logo?: string | undefined;
683
702
  description?: string | undefined;
684
703
  availableVersions?: string[] | undefined;
@@ -705,11 +724,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
705
724
  toolsCount?: number | undefined;
706
725
  triggersCount?: number | undefined;
707
726
  }>;
708
- isLocalToolkit: z.ZodBoolean;
709
- authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
710
- composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
711
- noAuth: z.ZodOptional<z.ZodBoolean>;
712
- }, "strip", z.ZodTypeAny, {
727
+ isLocalToolkit: z$1.ZodBoolean;
728
+ authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
729
+ composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
730
+ noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
731
+ }, "strip", z$1.ZodTypeAny, {
713
732
  slug: string;
714
733
  name: string;
715
734
  meta: {
@@ -752,20 +771,20 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
752
771
  composioManagedAuthSchemes?: string[] | undefined;
753
772
  noAuth?: boolean | undefined;
754
773
  }>, "many">;
755
- type ToolKitMeta = z.infer<typeof ToolKitMetaSchema>;
756
- type ToolKitItem = z.infer<typeof ToolKitItemSchema>;
757
- type ToolKitListResponse = z.infer<typeof ToolKitListResponseSchema>;
774
+ type ToolKitMeta = z$1.infer<typeof ToolKitMetaSchema>;
775
+ type ToolKitItem = z$1.infer<typeof ToolKitItemSchema>;
776
+ type ToolKitListResponse = z$1.infer<typeof ToolKitListResponseSchema>;
758
777
  /**
759
778
  * Toolkit retrieve response
760
779
  */
761
- declare const ToolkitAuthFieldSchema: z.ZodObject<{
762
- description: z.ZodString;
763
- displayName: z.ZodString;
764
- required: z.ZodBoolean;
765
- name: z.ZodString;
766
- type: z.ZodString;
767
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
768
- }, "strip", z.ZodTypeAny, {
780
+ declare const ToolkitAuthFieldSchema: z$1.ZodObject<{
781
+ description: z$1.ZodString;
782
+ displayName: z$1.ZodString;
783
+ required: z$1.ZodBoolean;
784
+ name: z$1.ZodString;
785
+ type: z$1.ZodString;
786
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
787
+ }, "strip", z$1.ZodTypeAny, {
769
788
  name: string;
770
789
  type: string;
771
790
  description: string;
@@ -780,19 +799,19 @@ declare const ToolkitAuthFieldSchema: z.ZodObject<{
780
799
  displayName: string;
781
800
  default?: string | null | undefined;
782
801
  }>;
783
- declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
784
- name: z.ZodString;
785
- mode: z.ZodString;
786
- fields: z.ZodObject<{
787
- authConfigCreation: z.ZodObject<{
788
- optional: z.ZodArray<z.ZodObject<{
789
- description: z.ZodString;
790
- displayName: z.ZodString;
791
- required: z.ZodBoolean;
792
- name: z.ZodString;
793
- type: z.ZodString;
794
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
795
- }, "strip", z.ZodTypeAny, {
802
+ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
803
+ name: z$1.ZodString;
804
+ mode: z$1.ZodString;
805
+ fields: z$1.ZodObject<{
806
+ authConfigCreation: z$1.ZodObject<{
807
+ optional: z$1.ZodArray<z$1.ZodObject<{
808
+ description: z$1.ZodString;
809
+ displayName: z$1.ZodString;
810
+ required: z$1.ZodBoolean;
811
+ name: z$1.ZodString;
812
+ type: z$1.ZodString;
813
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
814
+ }, "strip", z$1.ZodTypeAny, {
796
815
  name: string;
797
816
  type: string;
798
817
  description: string;
@@ -807,14 +826,14 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
807
826
  displayName: string;
808
827
  default?: string | null | undefined;
809
828
  }>, "many">;
810
- required: z.ZodArray<z.ZodObject<{
811
- description: z.ZodString;
812
- displayName: z.ZodString;
813
- required: z.ZodBoolean;
814
- name: z.ZodString;
815
- type: z.ZodString;
816
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
817
- }, "strip", z.ZodTypeAny, {
829
+ required: z$1.ZodArray<z$1.ZodObject<{
830
+ description: z$1.ZodString;
831
+ displayName: z$1.ZodString;
832
+ required: z$1.ZodBoolean;
833
+ name: z$1.ZodString;
834
+ type: z$1.ZodString;
835
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
836
+ }, "strip", z$1.ZodTypeAny, {
818
837
  name: string;
819
838
  type: string;
820
839
  description: string;
@@ -829,7 +848,7 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
829
848
  displayName: string;
830
849
  default?: string | null | undefined;
831
850
  }>, "many">;
832
- }, "strip", z.ZodTypeAny, {
851
+ }, "strip", z$1.ZodTypeAny, {
833
852
  required: {
834
853
  name: string;
835
854
  type: string;
@@ -864,15 +883,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
864
883
  default?: string | null | undefined;
865
884
  }[];
866
885
  }>;
867
- connectedAccountInitiation: z.ZodObject<{
868
- optional: z.ZodArray<z.ZodObject<{
869
- description: z.ZodString;
870
- displayName: z.ZodString;
871
- required: z.ZodBoolean;
872
- name: z.ZodString;
873
- type: z.ZodString;
874
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
875
- }, "strip", z.ZodTypeAny, {
886
+ connectedAccountInitiation: z$1.ZodObject<{
887
+ optional: z$1.ZodArray<z$1.ZodObject<{
888
+ description: z$1.ZodString;
889
+ displayName: z$1.ZodString;
890
+ required: z$1.ZodBoolean;
891
+ name: z$1.ZodString;
892
+ type: z$1.ZodString;
893
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
894
+ }, "strip", z$1.ZodTypeAny, {
876
895
  name: string;
877
896
  type: string;
878
897
  description: string;
@@ -887,14 +906,14 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
887
906
  displayName: string;
888
907
  default?: string | null | undefined;
889
908
  }>, "many">;
890
- required: z.ZodArray<z.ZodObject<{
891
- description: z.ZodString;
892
- displayName: z.ZodString;
893
- required: z.ZodBoolean;
894
- name: z.ZodString;
895
- type: z.ZodString;
896
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
897
- }, "strip", z.ZodTypeAny, {
909
+ required: z$1.ZodArray<z$1.ZodObject<{
910
+ description: z$1.ZodString;
911
+ displayName: z$1.ZodString;
912
+ required: z$1.ZodBoolean;
913
+ name: z$1.ZodString;
914
+ type: z$1.ZodString;
915
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
916
+ }, "strip", z$1.ZodTypeAny, {
898
917
  name: string;
899
918
  type: string;
900
919
  description: string;
@@ -909,7 +928,7 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
909
928
  displayName: string;
910
929
  default?: string | null | undefined;
911
930
  }>, "many">;
912
- }, "strip", z.ZodTypeAny, {
931
+ }, "strip", z$1.ZodTypeAny, {
913
932
  required: {
914
933
  name: string;
915
934
  type: string;
@@ -944,7 +963,7 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
944
963
  default?: string | null | undefined;
945
964
  }[];
946
965
  }>;
947
- }, "strip", z.ZodTypeAny, {
966
+ }, "strip", z$1.ZodTypeAny, {
948
967
  authConfigCreation: {
949
968
  required: {
950
969
  name: string;
@@ -1019,14 +1038,14 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1019
1038
  }[];
1020
1039
  };
1021
1040
  }>;
1022
- proxy: z.ZodOptional<z.ZodObject<{
1023
- baseUrl: z.ZodOptional<z.ZodString>;
1024
- }, "strip", z.ZodTypeAny, {
1041
+ proxy: z$1.ZodOptional<z$1.ZodObject<{
1042
+ baseUrl: z$1.ZodOptional<z$1.ZodString>;
1043
+ }, "strip", z$1.ZodTypeAny, {
1025
1044
  baseUrl?: string | undefined;
1026
1045
  }, {
1027
1046
  baseUrl?: string | undefined;
1028
1047
  }>>;
1029
- }, "strip", z.ZodTypeAny, {
1048
+ }, "strip", z$1.ZodTypeAny, {
1030
1049
  name: string;
1031
1050
  mode: string;
1032
1051
  fields: {
@@ -1115,29 +1134,29 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1115
1134
  baseUrl?: string | undefined;
1116
1135
  } | undefined;
1117
1136
  }>;
1118
- declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1119
- name: z.ZodString;
1120
- slug: z.ZodString;
1121
- meta: z.ZodObject<{
1122
- categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1123
- slug: z.ZodString;
1124
- name: z.ZodString;
1125
- }, "strip", z.ZodTypeAny, {
1137
+ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1138
+ name: z$1.ZodString;
1139
+ slug: z$1.ZodString;
1140
+ meta: z$1.ZodObject<{
1141
+ categories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1142
+ slug: z$1.ZodString;
1143
+ name: z$1.ZodString;
1144
+ }, "strip", z$1.ZodTypeAny, {
1126
1145
  slug: string;
1127
1146
  name: string;
1128
1147
  }, {
1129
1148
  slug: string;
1130
1149
  name: string;
1131
1150
  }>, "many">>;
1132
- appUrl: z.ZodOptional<z.ZodString>;
1133
- createdAt: z.ZodOptional<z.ZodString>;
1134
- description: z.ZodOptional<z.ZodString>;
1135
- logo: z.ZodOptional<z.ZodString>;
1136
- toolsCount: z.ZodOptional<z.ZodNumber>;
1137
- triggersCount: z.ZodOptional<z.ZodNumber>;
1138
- updatedAt: z.ZodOptional<z.ZodString>;
1139
- availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1140
- }, "strip", z.ZodTypeAny, {
1151
+ appUrl: z$1.ZodOptional<z$1.ZodString>;
1152
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
1153
+ description: z$1.ZodOptional<z$1.ZodString>;
1154
+ logo: z$1.ZodOptional<z$1.ZodString>;
1155
+ toolsCount: z$1.ZodOptional<z$1.ZodNumber>;
1156
+ triggersCount: z$1.ZodOptional<z$1.ZodNumber>;
1157
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
1158
+ availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1159
+ }, "strip", z$1.ZodTypeAny, {
1141
1160
  logo?: string | undefined;
1142
1161
  description?: string | undefined;
1143
1162
  availableVersions?: string[] | undefined;
@@ -1164,21 +1183,21 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1164
1183
  toolsCount?: number | undefined;
1165
1184
  triggersCount?: number | undefined;
1166
1185
  }>;
1167
- isLocalToolkit: z.ZodBoolean;
1168
- composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1169
- authConfigDetails: z.ZodOptional<z.ZodArray<z.ZodObject<{
1170
- name: z.ZodString;
1171
- mode: z.ZodString;
1172
- fields: z.ZodObject<{
1173
- authConfigCreation: z.ZodObject<{
1174
- optional: z.ZodArray<z.ZodObject<{
1175
- description: z.ZodString;
1176
- displayName: z.ZodString;
1177
- required: z.ZodBoolean;
1178
- name: z.ZodString;
1179
- type: z.ZodString;
1180
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1181
- }, "strip", z.ZodTypeAny, {
1186
+ isLocalToolkit: z$1.ZodBoolean;
1187
+ composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1188
+ authConfigDetails: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1189
+ name: z$1.ZodString;
1190
+ mode: z$1.ZodString;
1191
+ fields: z$1.ZodObject<{
1192
+ authConfigCreation: z$1.ZodObject<{
1193
+ optional: z$1.ZodArray<z$1.ZodObject<{
1194
+ description: z$1.ZodString;
1195
+ displayName: z$1.ZodString;
1196
+ required: z$1.ZodBoolean;
1197
+ name: z$1.ZodString;
1198
+ type: z$1.ZodString;
1199
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1200
+ }, "strip", z$1.ZodTypeAny, {
1182
1201
  name: string;
1183
1202
  type: string;
1184
1203
  description: string;
@@ -1193,14 +1212,14 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1193
1212
  displayName: string;
1194
1213
  default?: string | null | undefined;
1195
1214
  }>, "many">;
1196
- required: z.ZodArray<z.ZodObject<{
1197
- description: z.ZodString;
1198
- displayName: z.ZodString;
1199
- required: z.ZodBoolean;
1200
- name: z.ZodString;
1201
- type: z.ZodString;
1202
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1203
- }, "strip", z.ZodTypeAny, {
1215
+ required: z$1.ZodArray<z$1.ZodObject<{
1216
+ description: z$1.ZodString;
1217
+ displayName: z$1.ZodString;
1218
+ required: z$1.ZodBoolean;
1219
+ name: z$1.ZodString;
1220
+ type: z$1.ZodString;
1221
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1222
+ }, "strip", z$1.ZodTypeAny, {
1204
1223
  name: string;
1205
1224
  type: string;
1206
1225
  description: string;
@@ -1215,7 +1234,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1215
1234
  displayName: string;
1216
1235
  default?: string | null | undefined;
1217
1236
  }>, "many">;
1218
- }, "strip", z.ZodTypeAny, {
1237
+ }, "strip", z$1.ZodTypeAny, {
1219
1238
  required: {
1220
1239
  name: string;
1221
1240
  type: string;
@@ -1250,15 +1269,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1250
1269
  default?: string | null | undefined;
1251
1270
  }[];
1252
1271
  }>;
1253
- connectedAccountInitiation: z.ZodObject<{
1254
- optional: z.ZodArray<z.ZodObject<{
1255
- description: z.ZodString;
1256
- displayName: z.ZodString;
1257
- required: z.ZodBoolean;
1258
- name: z.ZodString;
1259
- type: z.ZodString;
1260
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1261
- }, "strip", z.ZodTypeAny, {
1272
+ connectedAccountInitiation: z$1.ZodObject<{
1273
+ optional: z$1.ZodArray<z$1.ZodObject<{
1274
+ description: z$1.ZodString;
1275
+ displayName: z$1.ZodString;
1276
+ required: z$1.ZodBoolean;
1277
+ name: z$1.ZodString;
1278
+ type: z$1.ZodString;
1279
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1280
+ }, "strip", z$1.ZodTypeAny, {
1262
1281
  name: string;
1263
1282
  type: string;
1264
1283
  description: string;
@@ -1273,14 +1292,14 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1273
1292
  displayName: string;
1274
1293
  default?: string | null | undefined;
1275
1294
  }>, "many">;
1276
- required: z.ZodArray<z.ZodObject<{
1277
- description: z.ZodString;
1278
- displayName: z.ZodString;
1279
- required: z.ZodBoolean;
1280
- name: z.ZodString;
1281
- type: z.ZodString;
1282
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1283
- }, "strip", z.ZodTypeAny, {
1295
+ required: z$1.ZodArray<z$1.ZodObject<{
1296
+ description: z$1.ZodString;
1297
+ displayName: z$1.ZodString;
1298
+ required: z$1.ZodBoolean;
1299
+ name: z$1.ZodString;
1300
+ type: z$1.ZodString;
1301
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1302
+ }, "strip", z$1.ZodTypeAny, {
1284
1303
  name: string;
1285
1304
  type: string;
1286
1305
  description: string;
@@ -1295,7 +1314,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1295
1314
  displayName: string;
1296
1315
  default?: string | null | undefined;
1297
1316
  }>, "many">;
1298
- }, "strip", z.ZodTypeAny, {
1317
+ }, "strip", z$1.ZodTypeAny, {
1299
1318
  required: {
1300
1319
  name: string;
1301
1320
  type: string;
@@ -1330,7 +1349,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1330
1349
  default?: string | null | undefined;
1331
1350
  }[];
1332
1351
  }>;
1333
- }, "strip", z.ZodTypeAny, {
1352
+ }, "strip", z$1.ZodTypeAny, {
1334
1353
  authConfigCreation: {
1335
1354
  required: {
1336
1355
  name: string;
@@ -1405,14 +1424,14 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1405
1424
  }[];
1406
1425
  };
1407
1426
  }>;
1408
- proxy: z.ZodOptional<z.ZodObject<{
1409
- baseUrl: z.ZodOptional<z.ZodString>;
1410
- }, "strip", z.ZodTypeAny, {
1427
+ proxy: z$1.ZodOptional<z$1.ZodObject<{
1428
+ baseUrl: z$1.ZodOptional<z$1.ZodString>;
1429
+ }, "strip", z$1.ZodTypeAny, {
1411
1430
  baseUrl?: string | undefined;
1412
1431
  }, {
1413
1432
  baseUrl?: string | undefined;
1414
1433
  }>>;
1415
- }, "strip", z.ZodTypeAny, {
1434
+ }, "strip", z$1.ZodTypeAny, {
1416
1435
  name: string;
1417
1436
  mode: string;
1418
1437
  fields: {
@@ -1501,10 +1520,10 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1501
1520
  baseUrl?: string | undefined;
1502
1521
  } | undefined;
1503
1522
  }>, "many">>;
1504
- baseUrl: z.ZodOptional<z.ZodString>;
1505
- getCurrentUserEndpoint: z.ZodOptional<z.ZodString>;
1506
- getCurrentUserEndpointMethod: z.ZodOptional<z.ZodString>;
1507
- }, "strip", z.ZodTypeAny, {
1523
+ baseUrl: z$1.ZodOptional<z$1.ZodString>;
1524
+ getCurrentUserEndpoint: z$1.ZodOptional<z$1.ZodString>;
1525
+ getCurrentUserEndpointMethod: z$1.ZodOptional<z$1.ZodString>;
1526
+ }, "strip", z$1.ZodTypeAny, {
1508
1527
  slug: string;
1509
1528
  name: string;
1510
1529
  meta: {
@@ -1639,36 +1658,36 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1639
1658
  getCurrentUserEndpoint?: string | undefined;
1640
1659
  getCurrentUserEndpointMethod?: string | undefined;
1641
1660
  }>;
1642
- type ToolkitAuthField = z.infer<typeof ToolkitAuthFieldSchema>;
1643
- type ToolkitAuthConfigDetails = z.infer<typeof ToolkitAuthConfigDetailsSchema>;
1644
- type ToolkitRetrieveResponse = z.infer<typeof ToolkitRetrieveResponseSchema>;
1661
+ type ToolkitAuthField = z$1.infer<typeof ToolkitAuthFieldSchema>;
1662
+ type ToolkitAuthConfigDetails = z$1.infer<typeof ToolkitAuthConfigDetailsSchema>;
1663
+ type ToolkitRetrieveResponse = z$1.infer<typeof ToolkitRetrieveResponseSchema>;
1645
1664
  /**
1646
1665
  * Toolkit categories response
1647
1666
  */
1648
- declare const ToolkitCategorySchema: z.ZodObject<{
1649
- id: z.ZodString;
1650
- name: z.ZodString;
1651
- }, "strip", z.ZodTypeAny, {
1667
+ declare const ToolkitCategorySchema: z$1.ZodObject<{
1668
+ id: z$1.ZodString;
1669
+ name: z$1.ZodString;
1670
+ }, "strip", z$1.ZodTypeAny, {
1652
1671
  name: string;
1653
1672
  id: string;
1654
1673
  }, {
1655
1674
  name: string;
1656
1675
  id: string;
1657
1676
  }>;
1658
- declare const ToolkitRetrieveCategoriesResponseSchema: z.ZodObject<{
1659
- items: z.ZodArray<z.ZodObject<{
1660
- id: z.ZodString;
1661
- name: z.ZodString;
1662
- }, "strip", z.ZodTypeAny, {
1677
+ declare const ToolkitRetrieveCategoriesResponseSchema: z$1.ZodObject<{
1678
+ items: z$1.ZodArray<z$1.ZodObject<{
1679
+ id: z$1.ZodString;
1680
+ name: z$1.ZodString;
1681
+ }, "strip", z$1.ZodTypeAny, {
1663
1682
  name: string;
1664
1683
  id: string;
1665
1684
  }, {
1666
1685
  name: string;
1667
1686
  id: string;
1668
1687
  }>, "many">;
1669
- nextCursor: z.ZodNullable<z.ZodString>;
1670
- totalPages: z.ZodNumber;
1671
- }, "strip", z.ZodTypeAny, {
1688
+ nextCursor: z$1.ZodNullable<z$1.ZodString>;
1689
+ totalPages: z$1.ZodNumber;
1690
+ }, "strip", z$1.ZodTypeAny, {
1672
1691
  items: {
1673
1692
  name: string;
1674
1693
  id: string;
@@ -1683,17 +1702,17 @@ declare const ToolkitRetrieveCategoriesResponseSchema: z.ZodObject<{
1683
1702
  nextCursor: string | null;
1684
1703
  totalPages: number;
1685
1704
  }>;
1686
- type ToolkitCategory = z.infer<typeof ToolkitCategorySchema>;
1687
- type ToolkitRetrieveCategoriesResponse = z.infer<typeof ToolkitRetrieveCategoriesResponseSchema>;
1688
- declare const ToolkitAuthFieldsResponseSchema: z.ZodArray<z.ZodObject<{
1689
- description: z.ZodString;
1690
- displayName: z.ZodString;
1691
- name: z.ZodString;
1692
- type: z.ZodString;
1693
- default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1705
+ type ToolkitCategory = z$1.infer<typeof ToolkitCategorySchema>;
1706
+ type ToolkitRetrieveCategoriesResponse = z$1.infer<typeof ToolkitRetrieveCategoriesResponseSchema>;
1707
+ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
1708
+ description: z$1.ZodString;
1709
+ displayName: z$1.ZodString;
1710
+ name: z$1.ZodString;
1711
+ type: z$1.ZodString;
1712
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1694
1713
  } & {
1695
- required: z.ZodOptional<z.ZodBoolean>;
1696
- }, "strip", z.ZodTypeAny, {
1714
+ required: z$1.ZodOptional<z$1.ZodBoolean>;
1715
+ }, "strip", z$1.ZodTypeAny, {
1697
1716
  name: string;
1698
1717
  type: string;
1699
1718
  description: string;
@@ -1708,7 +1727,7 @@ declare const ToolkitAuthFieldsResponseSchema: z.ZodArray<z.ZodObject<{
1708
1727
  required?: boolean | undefined;
1709
1728
  default?: string | null | undefined;
1710
1729
  }>, "many">;
1711
- type ToolkitAuthFieldsResponse = z.infer<typeof ToolkitAuthFieldsResponseSchema>;
1730
+ type ToolkitAuthFieldsResponse = z$1.infer<typeof ToolkitAuthFieldsResponseSchema>;
1712
1731
  //#endregion
1713
1732
  //#region src/types/authConfigs.types.d.ts
1714
1733
  declare const AuthConfigTypes: {
@@ -1733,48 +1752,48 @@ declare const AuthSchemeTypes: {
1733
1752
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1734
1753
  };
1735
1754
  type AuthSchemeType = (typeof AuthSchemeTypes)[keyof typeof AuthSchemeTypes];
1736
- declare const AuthConfigCreationToolAccessConfigSchema: z.ZodObject<{
1737
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1738
- }, "strip", z.ZodTypeAny, {
1755
+ declare const AuthConfigCreationToolAccessConfigSchema: z$1.ZodObject<{
1756
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1757
+ }, "strip", z$1.ZodTypeAny, {
1739
1758
  toolsForConnectedAccountCreation?: string[] | undefined;
1740
1759
  }, {
1741
1760
  toolsForConnectedAccountCreation?: string[] | undefined;
1742
1761
  }>;
1743
- declare const AuthConfigToolAccessConfigSchema: z.ZodObject<{
1744
- toolsAvailableForExecution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1745
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1746
- }, "strip", z.ZodTypeAny, {
1762
+ declare const AuthConfigToolAccessConfigSchema: z$1.ZodObject<{
1763
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1764
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1765
+ }, "strip", z$1.ZodTypeAny, {
1747
1766
  toolsForConnectedAccountCreation?: string[] | undefined;
1748
1767
  toolsAvailableForExecution?: string[] | undefined;
1749
1768
  }, {
1750
1769
  toolsForConnectedAccountCreation?: string[] | undefined;
1751
1770
  toolsAvailableForExecution?: string[] | undefined;
1752
1771
  }>;
1753
- declare const AuthSchemeEnum: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
1754
- declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
1755
- type: z.ZodLiteral<"use_custom_auth">;
1756
- name: z.ZodOptional<z.ZodString>;
1757
- credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1758
- authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
1759
- proxyConfig: z.ZodOptional<z.ZodObject<{
1760
- proxyUrl: z.ZodString;
1761
- proxyAuthKey: z.ZodOptional<z.ZodString>;
1762
- }, "strip", z.ZodTypeAny, {
1772
+ declare const AuthSchemeEnum: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
1773
+ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
1774
+ type: z$1.ZodLiteral<"use_custom_auth">;
1775
+ name: z$1.ZodOptional<z$1.ZodString>;
1776
+ credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>;
1777
+ authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
1778
+ proxyConfig: z$1.ZodOptional<z$1.ZodObject<{
1779
+ proxyUrl: z$1.ZodString;
1780
+ proxyAuthKey: z$1.ZodOptional<z$1.ZodString>;
1781
+ }, "strip", z$1.ZodTypeAny, {
1763
1782
  proxyUrl: string;
1764
1783
  proxyAuthKey?: string | undefined;
1765
1784
  }, {
1766
1785
  proxyUrl: string;
1767
1786
  proxyAuthKey?: string | undefined;
1768
1787
  }>>;
1769
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
1770
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1771
- }, "strip", z.ZodTypeAny, {
1788
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
1789
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1790
+ }, "strip", z$1.ZodTypeAny, {
1772
1791
  toolsForConnectedAccountCreation?: string[] | undefined;
1773
1792
  }, {
1774
1793
  toolsForConnectedAccountCreation?: string[] | undefined;
1775
1794
  }>>;
1776
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1777
- }, "strip", z.ZodTypeAny, {
1795
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1796
+ }, "strip", z$1.ZodTypeAny, {
1778
1797
  type: "use_custom_auth";
1779
1798
  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";
1780
1799
  credentials: Record<string, string | number | boolean>;
@@ -1801,34 +1820,34 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
1801
1820
  } | undefined;
1802
1821
  isEnabledForToolRouter?: boolean | undefined;
1803
1822
  }>;
1804
- declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
1805
- type: z.ZodLiteral<"use_composio_managed_auth">;
1806
- name: z.ZodOptional<z.ZodString>;
1807
- credentials: z.ZodOptional<z.ZodObject<{
1808
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1809
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1810
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1811
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1812
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1813
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1814
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1815
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1816
- }, z.ZodTypeAny, "passthrough">>>;
1817
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
1818
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1819
- }, "strip", z.ZodTypeAny, {
1823
+ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
1824
+ type: z$1.ZodLiteral<"use_composio_managed_auth">;
1825
+ name: z$1.ZodOptional<z$1.ZodString>;
1826
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
1827
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1828
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1829
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1830
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1831
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1832
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1833
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1834
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1835
+ }, z$1.ZodTypeAny, "passthrough">>>;
1836
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
1837
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1838
+ }, "strip", z$1.ZodTypeAny, {
1820
1839
  toolsForConnectedAccountCreation?: string[] | undefined;
1821
1840
  }, {
1822
1841
  toolsForConnectedAccountCreation?: string[] | undefined;
1823
1842
  }>>;
1824
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1825
- }, "strip", z.ZodTypeAny, {
1843
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1844
+ }, "strip", z$1.ZodTypeAny, {
1826
1845
  type: "use_composio_managed_auth";
1827
1846
  name?: string | undefined;
1828
- credentials?: z.objectOutputType<{
1829
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1830
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1831
- }, z.ZodTypeAny, "passthrough"> | undefined;
1847
+ credentials?: z$1.objectOutputType<{
1848
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1849
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1850
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
1832
1851
  toolAccessConfig?: {
1833
1852
  toolsForConnectedAccountCreation?: string[] | undefined;
1834
1853
  } | undefined;
@@ -1836,10 +1855,10 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
1836
1855
  }, {
1837
1856
  type: "use_composio_managed_auth";
1838
1857
  name?: string | undefined;
1839
- credentials?: z.objectInputType<{
1840
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1841
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1842
- }, z.ZodTypeAny, "passthrough"> | undefined;
1858
+ credentials?: z$1.objectInputType<{
1859
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1860
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1861
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
1843
1862
  toolAccessConfig?: {
1844
1863
  toolsForConnectedAccountCreation?: string[] | undefined;
1845
1864
  } | undefined;
@@ -1848,30 +1867,30 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
1848
1867
  /**
1849
1868
  * Discriminated union of all possible auth config types.
1850
1869
  */
1851
- declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1852
- type: z.ZodLiteral<"use_custom_auth">;
1853
- name: z.ZodOptional<z.ZodString>;
1854
- credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1855
- authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
1856
- proxyConfig: z.ZodOptional<z.ZodObject<{
1857
- proxyUrl: z.ZodString;
1858
- proxyAuthKey: z.ZodOptional<z.ZodString>;
1859
- }, "strip", z.ZodTypeAny, {
1870
+ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
1871
+ type: z$1.ZodLiteral<"use_custom_auth">;
1872
+ name: z$1.ZodOptional<z$1.ZodString>;
1873
+ credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>;
1874
+ authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
1875
+ proxyConfig: z$1.ZodOptional<z$1.ZodObject<{
1876
+ proxyUrl: z$1.ZodString;
1877
+ proxyAuthKey: z$1.ZodOptional<z$1.ZodString>;
1878
+ }, "strip", z$1.ZodTypeAny, {
1860
1879
  proxyUrl: string;
1861
1880
  proxyAuthKey?: string | undefined;
1862
1881
  }, {
1863
1882
  proxyUrl: string;
1864
1883
  proxyAuthKey?: string | undefined;
1865
1884
  }>>;
1866
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
1867
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1868
- }, "strip", z.ZodTypeAny, {
1885
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
1886
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1887
+ }, "strip", z$1.ZodTypeAny, {
1869
1888
  toolsForConnectedAccountCreation?: string[] | undefined;
1870
1889
  }, {
1871
1890
  toolsForConnectedAccountCreation?: string[] | undefined;
1872
1891
  }>>;
1873
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1874
- }, "strip", z.ZodTypeAny, {
1892
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1893
+ }, "strip", z$1.ZodTypeAny, {
1875
1894
  type: "use_custom_auth";
1876
1895
  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";
1877
1896
  credentials: Record<string, string | number | boolean>;
@@ -1897,34 +1916,34 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1897
1916
  toolsForConnectedAccountCreation?: string[] | undefined;
1898
1917
  } | undefined;
1899
1918
  isEnabledForToolRouter?: boolean | undefined;
1900
- }>, z.ZodObject<{
1901
- type: z.ZodLiteral<"use_composio_managed_auth">;
1902
- name: z.ZodOptional<z.ZodString>;
1903
- credentials: z.ZodOptional<z.ZodObject<{
1904
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1905
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1906
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1907
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1908
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1909
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1910
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1911
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1912
- }, z.ZodTypeAny, "passthrough">>>;
1913
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
1914
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1915
- }, "strip", z.ZodTypeAny, {
1919
+ }>, z$1.ZodObject<{
1920
+ type: z$1.ZodLiteral<"use_composio_managed_auth">;
1921
+ name: z$1.ZodOptional<z$1.ZodString>;
1922
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
1923
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1924
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1925
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1926
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1927
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1928
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1929
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1930
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1931
+ }, z$1.ZodTypeAny, "passthrough">>>;
1932
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
1933
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1934
+ }, "strip", z$1.ZodTypeAny, {
1916
1935
  toolsForConnectedAccountCreation?: string[] | undefined;
1917
1936
  }, {
1918
1937
  toolsForConnectedAccountCreation?: string[] | undefined;
1919
1938
  }>>;
1920
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1921
- }, "strip", z.ZodTypeAny, {
1939
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1940
+ }, "strip", z$1.ZodTypeAny, {
1922
1941
  type: "use_composio_managed_auth";
1923
1942
  name?: string | undefined;
1924
- credentials?: z.objectOutputType<{
1925
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1926
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1927
- }, z.ZodTypeAny, "passthrough"> | undefined;
1943
+ credentials?: z$1.objectOutputType<{
1944
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1945
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1946
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
1928
1947
  toolAccessConfig?: {
1929
1948
  toolsForConnectedAccountCreation?: string[] | undefined;
1930
1949
  } | undefined;
@@ -1932,22 +1951,22 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1932
1951
  }, {
1933
1952
  type: "use_composio_managed_auth";
1934
1953
  name?: string | undefined;
1935
- credentials?: z.objectInputType<{
1936
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1937
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1938
- }, z.ZodTypeAny, "passthrough"> | undefined;
1954
+ credentials?: z$1.objectInputType<{
1955
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1956
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1957
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
1939
1958
  toolAccessConfig?: {
1940
1959
  toolsForConnectedAccountCreation?: string[] | undefined;
1941
1960
  } | undefined;
1942
1961
  isEnabledForToolRouter?: boolean | undefined;
1943
1962
  }>]>;
1944
- type CreateAuthConfigParams = z.infer<typeof CreateAuthConfigParamsSchema>;
1945
- declare const CreateAuthConfigResponseSchema: z.ZodObject<{
1946
- id: z.ZodString;
1947
- authScheme: z.ZodString;
1948
- isComposioManaged: z.ZodBoolean;
1949
- toolkit: z.ZodString;
1950
- }, "strip", z.ZodTypeAny, {
1963
+ type CreateAuthConfigParams = z$1.infer<typeof CreateAuthConfigParamsSchema>;
1964
+ declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
1965
+ id: z$1.ZodString;
1966
+ authScheme: z$1.ZodString;
1967
+ isComposioManaged: z$1.ZodBoolean;
1968
+ toolkit: z$1.ZodString;
1969
+ }, "strip", z$1.ZodTypeAny, {
1951
1970
  toolkit: string;
1952
1971
  authScheme: string;
1953
1972
  id: string;
@@ -1958,45 +1977,45 @@ declare const CreateAuthConfigResponseSchema: z.ZodObject<{
1958
1977
  id: string;
1959
1978
  isComposioManaged: boolean;
1960
1979
  }>;
1961
- type CreateAuthConfigResponse = z.infer<typeof CreateAuthConfigResponseSchema>;
1962
- declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
1963
- id: z.ZodString;
1964
- name: z.ZodString;
1965
- toolkit: z.ZodObject<{
1966
- logo: z.ZodString;
1967
- slug: z.ZodString;
1968
- }, "strip", z.ZodTypeAny, {
1980
+ type CreateAuthConfigResponse = z$1.infer<typeof CreateAuthConfigResponseSchema>;
1981
+ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
1982
+ id: z$1.ZodString;
1983
+ name: z$1.ZodString;
1984
+ toolkit: z$1.ZodObject<{
1985
+ logo: z$1.ZodString;
1986
+ slug: z$1.ZodString;
1987
+ }, "strip", z$1.ZodTypeAny, {
1969
1988
  slug: string;
1970
1989
  logo: string;
1971
1990
  }, {
1972
1991
  slug: string;
1973
1992
  logo: string;
1974
1993
  }>;
1975
- noOfConnections: z.ZodNumber;
1976
- status: z.ZodEnum<["ENABLED", "DISABLED"]>;
1977
- authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
1978
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1979
- expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1980
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1994
+ noOfConnections: z$1.ZodNumber;
1995
+ status: z$1.ZodEnum<["ENABLED", "DISABLED"]>;
1996
+ authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
1997
+ credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
1998
+ expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
1999
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1981
2000
  /**
1982
2001
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
1983
2002
  */
1984
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1985
- isComposioManaged: z.ZodOptional<z.ZodBoolean>;
1986
- createdBy: z.ZodOptional<z.ZodString>;
1987
- createdAt: z.ZodOptional<z.ZodString>;
1988
- lastUpdatedAt: z.ZodOptional<z.ZodString>;
1989
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
1990
- toolsAvailableForExecution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1991
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1992
- }, "strip", z.ZodTypeAny, {
2003
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2004
+ isComposioManaged: z$1.ZodOptional<z$1.ZodBoolean>;
2005
+ createdBy: z$1.ZodOptional<z$1.ZodString>;
2006
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
2007
+ lastUpdatedAt: z$1.ZodOptional<z$1.ZodString>;
2008
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2009
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2010
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2011
+ }, "strip", z$1.ZodTypeAny, {
1993
2012
  toolsForConnectedAccountCreation?: string[] | undefined;
1994
2013
  toolsAvailableForExecution?: string[] | undefined;
1995
2014
  }, {
1996
2015
  toolsForConnectedAccountCreation?: string[] | undefined;
1997
2016
  toolsAvailableForExecution?: string[] | undefined;
1998
2017
  }>>;
1999
- }, "strip", z.ZodTypeAny, {
2018
+ }, "strip", z$1.ZodTypeAny, {
2000
2019
  name: string;
2001
2020
  status: "ENABLED" | "DISABLED";
2002
2021
  toolkit: {
@@ -2041,15 +2060,15 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
2041
2060
  createdBy?: string | undefined;
2042
2061
  lastUpdatedAt?: string | undefined;
2043
2062
  }>;
2044
- type AuthConfigRetrieveResponse = z.infer<typeof AuthConfigRetrieveResponseSchema>;
2045
- declare const AuthConfigListParamsSchema: z.ZodObject<{
2046
- cursor: z.ZodOptional<z.ZodString>;
2047
- isComposioManaged: z.ZodOptional<z.ZodBoolean>;
2048
- limit: z.ZodOptional<z.ZodNumber>;
2049
- search: z.ZodOptional<z.ZodString>;
2050
- showDisabled: z.ZodOptional<z.ZodBoolean>;
2051
- toolkit: z.ZodOptional<z.ZodString>;
2052
- }, "strip", z.ZodTypeAny, {
2063
+ type AuthConfigRetrieveResponse = z$1.infer<typeof AuthConfigRetrieveResponseSchema>;
2064
+ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
2065
+ cursor: z$1.ZodOptional<z$1.ZodString>;
2066
+ isComposioManaged: z$1.ZodOptional<z$1.ZodBoolean>;
2067
+ limit: z$1.ZodOptional<z$1.ZodNumber>;
2068
+ search: z$1.ZodOptional<z$1.ZodString>;
2069
+ showDisabled: z$1.ZodOptional<z$1.ZodBoolean>;
2070
+ toolkit: z$1.ZodOptional<z$1.ZodString>;
2071
+ }, "strip", z$1.ZodTypeAny, {
2053
2072
  toolkit?: string | undefined;
2054
2073
  limit?: number | undefined;
2055
2074
  search?: string | undefined;
@@ -2064,46 +2083,46 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
2064
2083
  isComposioManaged?: boolean | undefined;
2065
2084
  showDisabled?: boolean | undefined;
2066
2085
  }>;
2067
- type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
2068
- declare const AuthConfigListResponseSchema: z.ZodObject<{
2069
- items: z.ZodArray<z.ZodObject<{
2070
- id: z.ZodString;
2071
- name: z.ZodString;
2072
- toolkit: z.ZodObject<{
2073
- logo: z.ZodString;
2074
- slug: z.ZodString;
2075
- }, "strip", z.ZodTypeAny, {
2086
+ type AuthConfigListParams = z$1.infer<typeof AuthConfigListParamsSchema>;
2087
+ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2088
+ items: z$1.ZodArray<z$1.ZodObject<{
2089
+ id: z$1.ZodString;
2090
+ name: z$1.ZodString;
2091
+ toolkit: z$1.ZodObject<{
2092
+ logo: z$1.ZodString;
2093
+ slug: z$1.ZodString;
2094
+ }, "strip", z$1.ZodTypeAny, {
2076
2095
  slug: string;
2077
2096
  logo: string;
2078
2097
  }, {
2079
2098
  slug: string;
2080
2099
  logo: string;
2081
2100
  }>;
2082
- noOfConnections: z.ZodNumber;
2083
- status: z.ZodEnum<["ENABLED", "DISABLED"]>;
2084
- authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
2085
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2086
- expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2087
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
2101
+ noOfConnections: z$1.ZodNumber;
2102
+ status: z$1.ZodEnum<["ENABLED", "DISABLED"]>;
2103
+ authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
2104
+ credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2105
+ expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
2106
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2088
2107
  /**
2089
2108
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2090
2109
  */
2091
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2092
- isComposioManaged: z.ZodOptional<z.ZodBoolean>;
2093
- createdBy: z.ZodOptional<z.ZodString>;
2094
- createdAt: z.ZodOptional<z.ZodString>;
2095
- lastUpdatedAt: z.ZodOptional<z.ZodString>;
2096
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
2097
- toolsAvailableForExecution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2098
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2099
- }, "strip", z.ZodTypeAny, {
2110
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2111
+ isComposioManaged: z$1.ZodOptional<z$1.ZodBoolean>;
2112
+ createdBy: z$1.ZodOptional<z$1.ZodString>;
2113
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
2114
+ lastUpdatedAt: z$1.ZodOptional<z$1.ZodString>;
2115
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2116
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2117
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2118
+ }, "strip", z$1.ZodTypeAny, {
2100
2119
  toolsForConnectedAccountCreation?: string[] | undefined;
2101
2120
  toolsAvailableForExecution?: string[] | undefined;
2102
2121
  }, {
2103
2122
  toolsForConnectedAccountCreation?: string[] | undefined;
2104
2123
  toolsAvailableForExecution?: string[] | undefined;
2105
2124
  }>>;
2106
- }, "strip", z.ZodTypeAny, {
2125
+ }, "strip", z$1.ZodTypeAny, {
2107
2126
  name: string;
2108
2127
  status: "ENABLED" | "DISABLED";
2109
2128
  toolkit: {
@@ -2148,9 +2167,9 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2148
2167
  createdBy?: string | undefined;
2149
2168
  lastUpdatedAt?: string | undefined;
2150
2169
  }>, "many">;
2151
- nextCursor: z.ZodNullable<z.ZodString>;
2152
- totalPages: z.ZodNumber;
2153
- }, "strip", z.ZodTypeAny, {
2170
+ nextCursor: z$1.ZodNullable<z$1.ZodString>;
2171
+ totalPages: z$1.ZodNumber;
2172
+ }, "strip", z$1.ZodTypeAny, {
2154
2173
  items: {
2155
2174
  name: string;
2156
2175
  status: "ENABLED" | "DISABLED";
@@ -2203,40 +2222,40 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2203
2222
  nextCursor: string | null;
2204
2223
  totalPages: number;
2205
2224
  }>;
2206
- type AuthConfigListResponse = z.infer<typeof AuthConfigListResponseSchema>;
2207
- declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
2208
- type: z.ZodLiteral<"custom">;
2209
- credentials: z.ZodOptional<z.ZodObject<{
2210
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2211
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2212
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2213
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2214
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2215
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2216
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2217
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2218
- }, z.ZodTypeAny, "passthrough">>>;
2219
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
2225
+ type AuthConfigListResponse = z$1.infer<typeof AuthConfigListResponseSchema>;
2226
+ declare const AuthCustomConfigUpdateParamsSchema: z$1.ZodObject<{
2227
+ type: z$1.ZodLiteral<"custom">;
2228
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
2229
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2230
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2231
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2232
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2233
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2234
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2235
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2236
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2237
+ }, z$1.ZodTypeAny, "passthrough">>>;
2238
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2220
2239
  /**
2221
2240
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2222
2241
  */
2223
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2224
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
2225
- toolsAvailableForExecution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2226
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2227
- }, "strip", z.ZodTypeAny, {
2242
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2243
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2244
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2245
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2246
+ }, "strip", z$1.ZodTypeAny, {
2228
2247
  toolsForConnectedAccountCreation?: string[] | undefined;
2229
2248
  toolsAvailableForExecution?: string[] | undefined;
2230
2249
  }, {
2231
2250
  toolsForConnectedAccountCreation?: string[] | undefined;
2232
2251
  toolsAvailableForExecution?: string[] | undefined;
2233
2252
  }>>;
2234
- }, "strip", z.ZodTypeAny, {
2253
+ }, "strip", z$1.ZodTypeAny, {
2235
2254
  type: "custom";
2236
- credentials?: z.objectOutputType<{
2237
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2238
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2239
- }, z.ZodTypeAny, "passthrough"> | undefined;
2255
+ credentials?: z$1.objectOutputType<{
2256
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2257
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2258
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
2240
2259
  toolAccessConfig?: {
2241
2260
  toolsForConnectedAccountCreation?: string[] | undefined;
2242
2261
  toolsAvailableForExecution?: string[] | undefined;
@@ -2245,10 +2264,10 @@ declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
2245
2264
  restrictToFollowingTools?: string[] | undefined;
2246
2265
  }, {
2247
2266
  type: "custom";
2248
- credentials?: z.objectInputType<{
2249
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2250
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2251
- }, z.ZodTypeAny, "passthrough"> | undefined;
2267
+ credentials?: z$1.objectInputType<{
2268
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2269
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2270
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
2252
2271
  toolAccessConfig?: {
2253
2272
  toolsForConnectedAccountCreation?: string[] | undefined;
2254
2273
  toolsAvailableForExecution?: string[] | undefined;
@@ -2256,25 +2275,25 @@ declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
2256
2275
  isEnabledForToolRouter?: boolean | undefined;
2257
2276
  restrictToFollowingTools?: string[] | undefined;
2258
2277
  }>;
2259
- declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
2260
- type: z.ZodLiteral<"default">;
2261
- scopes: z.ZodOptional<z.ZodString>;
2262
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
2278
+ declare const AuthDefaultConfigUpdateParamsSchema: z$1.ZodObject<{
2279
+ type: z$1.ZodLiteral<"default">;
2280
+ scopes: z$1.ZodOptional<z$1.ZodString>;
2281
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2263
2282
  /**
2264
2283
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2265
2284
  */
2266
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2267
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
2268
- toolsAvailableForExecution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2269
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2270
- }, "strip", z.ZodTypeAny, {
2285
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2286
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2287
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2288
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2289
+ }, "strip", z$1.ZodTypeAny, {
2271
2290
  toolsForConnectedAccountCreation?: string[] | undefined;
2272
2291
  toolsAvailableForExecution?: string[] | undefined;
2273
2292
  }, {
2274
2293
  toolsForConnectedAccountCreation?: string[] | undefined;
2275
2294
  toolsAvailableForExecution?: string[] | undefined;
2276
2295
  }>>;
2277
- }, "strip", z.ZodTypeAny, {
2296
+ }, "strip", z$1.ZodTypeAny, {
2278
2297
  type: "default";
2279
2298
  scopes?: string | undefined;
2280
2299
  toolAccessConfig?: {
@@ -2293,39 +2312,39 @@ declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
2293
2312
  isEnabledForToolRouter?: boolean | undefined;
2294
2313
  restrictToFollowingTools?: string[] | undefined;
2295
2314
  }>;
2296
- declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2297
- type: z.ZodLiteral<"custom">;
2298
- credentials: z.ZodOptional<z.ZodObject<{
2299
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2300
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2301
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2302
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2303
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2304
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2305
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2306
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2307
- }, z.ZodTypeAny, "passthrough">>>;
2308
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
2315
+ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
2316
+ type: z$1.ZodLiteral<"custom">;
2317
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
2318
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2319
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2320
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2321
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2322
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2323
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2324
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2325
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2326
+ }, z$1.ZodTypeAny, "passthrough">>>;
2327
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2309
2328
  /**
2310
2329
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2311
2330
  */
2312
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2313
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
2314
- toolsAvailableForExecution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2315
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2316
- }, "strip", z.ZodTypeAny, {
2331
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2332
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2333
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2334
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2335
+ }, "strip", z$1.ZodTypeAny, {
2317
2336
  toolsForConnectedAccountCreation?: string[] | undefined;
2318
2337
  toolsAvailableForExecution?: string[] | undefined;
2319
2338
  }, {
2320
2339
  toolsForConnectedAccountCreation?: string[] | undefined;
2321
2340
  toolsAvailableForExecution?: string[] | undefined;
2322
2341
  }>>;
2323
- }, "strip", z.ZodTypeAny, {
2342
+ }, "strip", z$1.ZodTypeAny, {
2324
2343
  type: "custom";
2325
- credentials?: z.objectOutputType<{
2326
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2327
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2328
- }, z.ZodTypeAny, "passthrough"> | undefined;
2344
+ credentials?: z$1.objectOutputType<{
2345
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2346
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2347
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
2329
2348
  toolAccessConfig?: {
2330
2349
  toolsForConnectedAccountCreation?: string[] | undefined;
2331
2350
  toolsAvailableForExecution?: string[] | undefined;
@@ -2334,35 +2353,35 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
2334
2353
  restrictToFollowingTools?: string[] | undefined;
2335
2354
  }, {
2336
2355
  type: "custom";
2337
- credentials?: z.objectInputType<{
2338
- scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2339
- user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2340
- }, z.ZodTypeAny, "passthrough"> | undefined;
2356
+ credentials?: z$1.objectInputType<{
2357
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2358
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2359
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
2341
2360
  toolAccessConfig?: {
2342
2361
  toolsForConnectedAccountCreation?: string[] | undefined;
2343
2362
  toolsAvailableForExecution?: string[] | undefined;
2344
2363
  } | undefined;
2345
2364
  isEnabledForToolRouter?: boolean | undefined;
2346
2365
  restrictToFollowingTools?: string[] | undefined;
2347
- }>, z.ZodObject<{
2348
- type: z.ZodLiteral<"default">;
2349
- scopes: z.ZodOptional<z.ZodString>;
2350
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
2366
+ }>, z$1.ZodObject<{
2367
+ type: z$1.ZodLiteral<"default">;
2368
+ scopes: z$1.ZodOptional<z$1.ZodString>;
2369
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2351
2370
  /**
2352
2371
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2353
2372
  */
2354
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2355
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
2356
- toolsAvailableForExecution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2357
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2358
- }, "strip", z.ZodTypeAny, {
2373
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2374
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2375
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2376
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2377
+ }, "strip", z$1.ZodTypeAny, {
2359
2378
  toolsForConnectedAccountCreation?: string[] | undefined;
2360
2379
  toolsAvailableForExecution?: string[] | undefined;
2361
2380
  }, {
2362
2381
  toolsForConnectedAccountCreation?: string[] | undefined;
2363
2382
  toolsAvailableForExecution?: string[] | undefined;
2364
2383
  }>>;
2365
- }, "strip", z.ZodTypeAny, {
2384
+ }, "strip", z$1.ZodTypeAny, {
2366
2385
  type: "default";
2367
2386
  scopes?: string | undefined;
2368
2387
  toolAccessConfig?: {
@@ -2381,7 +2400,7 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
2381
2400
  isEnabledForToolRouter?: boolean | undefined;
2382
2401
  restrictToFollowingTools?: string[] | undefined;
2383
2402
  }>]>;
2384
- type AuthConfigUpdateParams = z.infer<typeof AuthConfigUpdateParamsSchema>;
2403
+ type AuthConfigUpdateParams = z$1.infer<typeof AuthConfigUpdateParamsSchema>;
2385
2404
  //#endregion
2386
2405
  //#region src/models/Toolkits.d.ts
2387
2406
  /**
@@ -2521,16 +2540,16 @@ declare const TriggerStatuses: {
2521
2540
  readonly DISABLE: "disable";
2522
2541
  };
2523
2542
  type TriggerStatusType = (typeof TriggerStatuses)[keyof typeof TriggerStatuses];
2524
- declare const TriggerStatusEnum: z.ZodEnum<["enable", "disable"]>;
2525
- declare const TriggerSubscribeParamSchema: z.ZodObject<{
2526
- toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2527
- triggerId: z.ZodOptional<z.ZodString>;
2528
- connectedAccountId: z.ZodOptional<z.ZodString>;
2529
- authConfigId: z.ZodOptional<z.ZodString>;
2530
- triggerSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2531
- triggerData: z.ZodOptional<z.ZodString>;
2532
- userId: z.ZodOptional<z.ZodString>;
2533
- }, "strip", z.ZodTypeAny, {
2543
+ declare const TriggerStatusEnum: z$1.ZodEnum<["enable", "disable"]>;
2544
+ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
2545
+ toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2546
+ triggerId: z$1.ZodOptional<z$1.ZodString>;
2547
+ connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
2548
+ authConfigId: z$1.ZodOptional<z$1.ZodString>;
2549
+ triggerSlug: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2550
+ triggerData: z$1.ZodOptional<z$1.ZodString>;
2551
+ userId: z$1.ZodOptional<z$1.ZodString>;
2552
+ }, "strip", z$1.ZodTypeAny, {
2534
2553
  toolkits?: string[] | undefined;
2535
2554
  connectedAccountId?: string | undefined;
2536
2555
  userId?: string | undefined;
@@ -2547,16 +2566,16 @@ declare const TriggerSubscribeParamSchema: z.ZodObject<{
2547
2566
  triggerSlug?: string[] | undefined;
2548
2567
  triggerData?: string | undefined;
2549
2568
  }>;
2550
- type TriggerSubscribeParams = z.infer<typeof TriggerSubscribeParamSchema>;
2551
- declare const TriggerInstanceListActiveParamsSchema: z.ZodObject<{
2552
- authConfigIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2553
- connectedAccountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2554
- limit: z.ZodOptional<z.ZodNumber>;
2555
- cursor: z.ZodOptional<z.ZodString>;
2556
- showDisabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2557
- triggerIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2558
- triggerNames: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2559
- }, "strip", z.ZodTypeAny, {
2569
+ type TriggerSubscribeParams = z$1.infer<typeof TriggerSubscribeParamSchema>;
2570
+ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
2571
+ authConfigIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2572
+ connectedAccountIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2573
+ limit: z$1.ZodOptional<z$1.ZodNumber>;
2574
+ cursor: z$1.ZodOptional<z$1.ZodString>;
2575
+ showDisabled: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
2576
+ triggerIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2577
+ triggerNames: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2578
+ }, "strip", z$1.ZodTypeAny, {
2560
2579
  limit?: number | undefined;
2561
2580
  authConfigIds?: string[] | null | undefined;
2562
2581
  connectedAccountIds?: string[] | null | undefined;
@@ -2573,18 +2592,18 @@ declare const TriggerInstanceListActiveParamsSchema: z.ZodObject<{
2573
2592
  triggerIds?: string[] | null | undefined;
2574
2593
  triggerNames?: string[] | null | undefined;
2575
2594
  }>;
2576
- type TriggerInstanceListActiveParams = z.infer<typeof TriggerInstanceListActiveParamsSchema>;
2577
- declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
2578
- id: z.ZodString;
2579
- connectedAccountId: z.ZodString;
2580
- disabledAt: z.ZodNullable<z.ZodString>;
2581
- state: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2582
- triggerConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2583
- triggerName: z.ZodString;
2584
- updatedAt: z.ZodString;
2585
- triggerData: z.ZodOptional<z.ZodString>;
2586
- uuid: z.ZodOptional<z.ZodString>;
2587
- }, "strip", z.ZodTypeAny, {
2595
+ type TriggerInstanceListActiveParams = z$1.infer<typeof TriggerInstanceListActiveParamsSchema>;
2596
+ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
2597
+ id: z$1.ZodString;
2598
+ connectedAccountId: z$1.ZodString;
2599
+ disabledAt: z$1.ZodNullable<z$1.ZodString>;
2600
+ state: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2601
+ triggerConfig: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2602
+ triggerName: z$1.ZodString;
2603
+ updatedAt: z$1.ZodString;
2604
+ triggerData: z$1.ZodOptional<z$1.ZodString>;
2605
+ uuid: z$1.ZodOptional<z$1.ZodString>;
2606
+ }, "strip", z$1.ZodTypeAny, {
2588
2607
  connectedAccountId: string;
2589
2608
  id: string;
2590
2609
  updatedAt: string;
@@ -2605,18 +2624,18 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
2605
2624
  uuid?: string | undefined;
2606
2625
  triggerData?: string | undefined;
2607
2626
  }>;
2608
- declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2609
- items: z.ZodArray<z.ZodObject<{
2610
- id: z.ZodString;
2611
- connectedAccountId: z.ZodString;
2612
- disabledAt: z.ZodNullable<z.ZodString>;
2613
- state: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2614
- triggerConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2615
- triggerName: z.ZodString;
2616
- updatedAt: z.ZodString;
2617
- triggerData: z.ZodOptional<z.ZodString>;
2618
- uuid: z.ZodOptional<z.ZodString>;
2619
- }, "strip", z.ZodTypeAny, {
2627
+ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2628
+ items: z$1.ZodArray<z$1.ZodObject<{
2629
+ id: z$1.ZodString;
2630
+ connectedAccountId: z$1.ZodString;
2631
+ disabledAt: z$1.ZodNullable<z$1.ZodString>;
2632
+ state: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2633
+ triggerConfig: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2634
+ triggerName: z$1.ZodString;
2635
+ updatedAt: z$1.ZodString;
2636
+ triggerData: z$1.ZodOptional<z$1.ZodString>;
2637
+ uuid: z$1.ZodOptional<z$1.ZodString>;
2638
+ }, "strip", z$1.ZodTypeAny, {
2620
2639
  connectedAccountId: string;
2621
2640
  id: string;
2622
2641
  updatedAt: string;
@@ -2637,9 +2656,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2637
2656
  uuid?: string | undefined;
2638
2657
  triggerData?: string | undefined;
2639
2658
  }>, "many">;
2640
- nextCursor: z.ZodNullable<z.ZodString>;
2641
- totalPages: z.ZodNumber;
2642
- }, "strip", z.ZodTypeAny, {
2659
+ nextCursor: z$1.ZodNullable<z$1.ZodString>;
2660
+ totalPages: z$1.ZodNumber;
2661
+ }, "strip", z$1.ZodTypeAny, {
2643
2662
  items: {
2644
2663
  connectedAccountId: string;
2645
2664
  id: string;
@@ -2668,74 +2687,74 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2668
2687
  nextCursor: string | null;
2669
2688
  totalPages: number;
2670
2689
  }>;
2671
- type TriggerInstanceListActiveResponse = z.infer<typeof TriggerInstanceListActiveResponseSchema>;
2672
- type TriggerInstanceListActiveResponseItem = z.infer<typeof TriggerInstanceListActiveResponseItemSchema>;
2673
- declare const TriggerInstanceUpsertParamsSchema: z.ZodObject<{
2674
- connectedAccountId: z.ZodOptional<z.ZodString>;
2675
- triggerConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2676
- }, "strip", z.ZodTypeAny, {
2690
+ type TriggerInstanceListActiveResponse = z$1.infer<typeof TriggerInstanceListActiveResponseSchema>;
2691
+ type TriggerInstanceListActiveResponseItem = z$1.infer<typeof TriggerInstanceListActiveResponseItemSchema>;
2692
+ declare const TriggerInstanceUpsertParamsSchema: z$1.ZodObject<{
2693
+ connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
2694
+ triggerConfig: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2695
+ }, "strip", z$1.ZodTypeAny, {
2677
2696
  connectedAccountId?: string | undefined;
2678
2697
  triggerConfig?: Record<string, unknown> | undefined;
2679
2698
  }, {
2680
2699
  connectedAccountId?: string | undefined;
2681
2700
  triggerConfig?: Record<string, unknown> | undefined;
2682
2701
  }>;
2683
- type TriggerInstanceUpsertParams = z.infer<typeof TriggerInstanceUpsertParamsSchema>;
2684
- declare const TriggerInstanceUpsertResponseSchema: z.ZodObject<{
2685
- triggerId: z.ZodString;
2686
- }, "strip", z.ZodTypeAny, {
2702
+ type TriggerInstanceUpsertParams = z$1.infer<typeof TriggerInstanceUpsertParamsSchema>;
2703
+ declare const TriggerInstanceUpsertResponseSchema: z$1.ZodObject<{
2704
+ triggerId: z$1.ZodString;
2705
+ }, "strip", z$1.ZodTypeAny, {
2687
2706
  triggerId: string;
2688
2707
  }, {
2689
2708
  triggerId: string;
2690
2709
  }>;
2691
- type TriggerInstanceUpsertResponse = z.infer<typeof TriggerInstanceUpsertResponseSchema>;
2692
- declare const TriggerInstanceManageUpdateParamsSchema: z.ZodObject<{
2693
- status: z.ZodEnum<["enable", "disable"]>;
2694
- }, "strip", z.ZodTypeAny, {
2710
+ type TriggerInstanceUpsertResponse = z$1.infer<typeof TriggerInstanceUpsertResponseSchema>;
2711
+ declare const TriggerInstanceManageUpdateParamsSchema: z$1.ZodObject<{
2712
+ status: z$1.ZodEnum<["enable", "disable"]>;
2713
+ }, "strip", z$1.ZodTypeAny, {
2695
2714
  status: "disable" | "enable";
2696
2715
  }, {
2697
2716
  status: "disable" | "enable";
2698
2717
  }>;
2699
- type TriggerInstanceManageUpdateParams = z.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
2700
- declare const TriggerInstanceManageUpdateResponseSchema: z.ZodObject<{
2701
- status: z.ZodEnum<["success"]>;
2702
- }, "strip", z.ZodTypeAny, {
2718
+ type TriggerInstanceManageUpdateParams = z$1.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
2719
+ declare const TriggerInstanceManageUpdateResponseSchema: z$1.ZodObject<{
2720
+ status: z$1.ZodEnum<["success"]>;
2721
+ }, "strip", z$1.ZodTypeAny, {
2703
2722
  status: "success";
2704
2723
  }, {
2705
2724
  status: "success";
2706
2725
  }>;
2707
- type TriggerInstanceManageUpdateResponse = z.infer<typeof TriggerInstanceManageUpdateResponseSchema>;
2708
- declare const TriggerInstanceManageDeleteResponseSchema: z.ZodObject<{
2709
- triggerId: z.ZodString;
2710
- }, "strip", z.ZodTypeAny, {
2726
+ type TriggerInstanceManageUpdateResponse = z$1.infer<typeof TriggerInstanceManageUpdateResponseSchema>;
2727
+ declare const TriggerInstanceManageDeleteResponseSchema: z$1.ZodObject<{
2728
+ triggerId: z$1.ZodString;
2729
+ }, "strip", z$1.ZodTypeAny, {
2711
2730
  triggerId: string;
2712
2731
  }, {
2713
2732
  triggerId: string;
2714
2733
  }>;
2715
- type TriggerInstanceManageDeleteResponse = z.infer<typeof TriggerInstanceManageDeleteResponseSchema>;
2716
- declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2717
- id: z.ZodString;
2718
- uuid: z.ZodString;
2719
- triggerSlug: z.ZodString;
2720
- toolkitSlug: z.ZodString;
2721
- userId: z.ZodString;
2722
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2723
- originalPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2724
- metadata: z.ZodObject<{
2725
- id: z.ZodString;
2726
- uuid: z.ZodString;
2727
- toolkitSlug: z.ZodString;
2728
- triggerSlug: z.ZodString;
2729
- triggerData: z.ZodOptional<z.ZodString>;
2730
- triggerConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2731
- connectedAccount: z.ZodObject<{
2732
- id: z.ZodString;
2733
- uuid: z.ZodString;
2734
- authConfigId: z.ZodString;
2735
- authConfigUUID: z.ZodString;
2736
- userId: z.ZodString;
2737
- status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
2738
- }, "strip", z.ZodTypeAny, {
2734
+ type TriggerInstanceManageDeleteResponse = z$1.infer<typeof TriggerInstanceManageDeleteResponseSchema>;
2735
+ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
2736
+ id: z$1.ZodString;
2737
+ uuid: z$1.ZodString;
2738
+ triggerSlug: z$1.ZodString;
2739
+ toolkitSlug: z$1.ZodString;
2740
+ userId: z$1.ZodString;
2741
+ payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2742
+ originalPayload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2743
+ metadata: z$1.ZodObject<{
2744
+ id: z$1.ZodString;
2745
+ uuid: z$1.ZodString;
2746
+ toolkitSlug: z$1.ZodString;
2747
+ triggerSlug: z$1.ZodString;
2748
+ triggerData: z$1.ZodOptional<z$1.ZodString>;
2749
+ triggerConfig: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2750
+ connectedAccount: z$1.ZodObject<{
2751
+ id: z$1.ZodString;
2752
+ uuid: z$1.ZodString;
2753
+ authConfigId: z$1.ZodString;
2754
+ authConfigUUID: z$1.ZodString;
2755
+ userId: z$1.ZodString;
2756
+ status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
2757
+ }, "strip", z$1.ZodTypeAny, {
2739
2758
  status: "ACTIVE" | "INACTIVE";
2740
2759
  userId: string;
2741
2760
  authConfigId: string;
@@ -2750,7 +2769,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2750
2769
  id: string;
2751
2770
  authConfigUUID: string;
2752
2771
  }>;
2753
- }, "strip", z.ZodTypeAny, {
2772
+ }, "strip", z$1.ZodTypeAny, {
2754
2773
  toolkitSlug: string;
2755
2774
  uuid: string;
2756
2775
  id: string;
@@ -2781,7 +2800,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2781
2800
  triggerConfig: Record<string, unknown>;
2782
2801
  triggerData?: string | undefined;
2783
2802
  }>;
2784
- }, "strip", z.ZodTypeAny, {
2803
+ }, "strip", z$1.ZodTypeAny, {
2785
2804
  toolkitSlug: string;
2786
2805
  userId: string;
2787
2806
  uuid: string;
@@ -2830,7 +2849,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2830
2849
  payload?: Record<string, unknown> | undefined;
2831
2850
  originalPayload?: Record<string, unknown> | undefined;
2832
2851
  }>;
2833
- type IncomingTriggerPayload = z.infer<typeof IncomingTriggerPayloadSchema>;
2852
+ type IncomingTriggerPayload = z$1.infer<typeof IncomingTriggerPayloadSchema>;
2834
2853
  type TriggerData = {
2835
2854
  appName: string;
2836
2855
  clientId: number;
@@ -2852,11 +2871,11 @@ type TriggerData = {
2852
2871
  };
2853
2872
  };
2854
2873
  };
2855
- declare const TriggersTypeListParamsSchema: z.ZodObject<{
2856
- cursor: z.ZodOptional<z.ZodString>;
2857
- limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2858
- toolkits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2859
- }, "strip", z.ZodTypeAny, {
2874
+ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
2875
+ cursor: z$1.ZodOptional<z$1.ZodString>;
2876
+ limit: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
2877
+ toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2878
+ }, "strip", z$1.ZodTypeAny, {
2860
2879
  toolkits?: string[] | null | undefined;
2861
2880
  limit?: number | null | undefined;
2862
2881
  cursor?: string | undefined;
@@ -2865,17 +2884,17 @@ declare const TriggersTypeListParamsSchema: z.ZodObject<{
2865
2884
  limit?: number | null | undefined;
2866
2885
  cursor?: string | undefined;
2867
2886
  }>;
2868
- type TriggersTypeListParams = z.infer<typeof TriggersTypeListParamsSchema>;
2869
- declare const TriggerTypeSchema: z.ZodObject<{
2870
- slug: z.ZodString;
2871
- name: z.ZodString;
2872
- description: z.ZodString;
2873
- instructions: z.ZodOptional<z.ZodString>;
2874
- toolkit: z.ZodObject<{
2875
- logo: z.ZodString;
2876
- slug: z.ZodString;
2877
- name: z.ZodString;
2878
- }, "strip", z.ZodTypeAny, {
2887
+ type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
2888
+ declare const TriggerTypeSchema: z$1.ZodObject<{
2889
+ slug: z$1.ZodString;
2890
+ name: z$1.ZodString;
2891
+ description: z$1.ZodString;
2892
+ instructions: z$1.ZodOptional<z$1.ZodString>;
2893
+ toolkit: z$1.ZodObject<{
2894
+ logo: z$1.ZodString;
2895
+ slug: z$1.ZodString;
2896
+ name: z$1.ZodString;
2897
+ }, "strip", z$1.ZodTypeAny, {
2879
2898
  slug: string;
2880
2899
  name: string;
2881
2900
  logo: string;
@@ -2884,10 +2903,10 @@ declare const TriggerTypeSchema: z.ZodObject<{
2884
2903
  name: string;
2885
2904
  logo: string;
2886
2905
  }>;
2887
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2888
- config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2889
- version: z.ZodOptional<z.ZodString>;
2890
- }, "strip", z.ZodTypeAny, {
2906
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2907
+ config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2908
+ version: z$1.ZodOptional<z$1.ZodString>;
2909
+ }, "strip", z$1.ZodTypeAny, {
2891
2910
  slug: string;
2892
2911
  name: string;
2893
2912
  description: string;
@@ -2914,18 +2933,18 @@ declare const TriggerTypeSchema: z.ZodObject<{
2914
2933
  version?: string | undefined;
2915
2934
  instructions?: string | undefined;
2916
2935
  }>;
2917
- type TriggerType = z.infer<typeof TriggerTypeSchema>;
2918
- declare const TriggersTypeListResponseSchema: z.ZodObject<{
2919
- items: z.ZodArray<z.ZodObject<{
2920
- slug: z.ZodString;
2921
- name: z.ZodString;
2922
- description: z.ZodString;
2923
- instructions: z.ZodOptional<z.ZodString>;
2924
- toolkit: z.ZodObject<{
2925
- logo: z.ZodString;
2926
- slug: z.ZodString;
2927
- name: z.ZodString;
2928
- }, "strip", z.ZodTypeAny, {
2936
+ type TriggerType = z$1.infer<typeof TriggerTypeSchema>;
2937
+ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
2938
+ items: z$1.ZodArray<z$1.ZodObject<{
2939
+ slug: z$1.ZodString;
2940
+ name: z$1.ZodString;
2941
+ description: z$1.ZodString;
2942
+ instructions: z$1.ZodOptional<z$1.ZodString>;
2943
+ toolkit: z$1.ZodObject<{
2944
+ logo: z$1.ZodString;
2945
+ slug: z$1.ZodString;
2946
+ name: z$1.ZodString;
2947
+ }, "strip", z$1.ZodTypeAny, {
2929
2948
  slug: string;
2930
2949
  name: string;
2931
2950
  logo: string;
@@ -2934,10 +2953,10 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
2934
2953
  name: string;
2935
2954
  logo: string;
2936
2955
  }>;
2937
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2938
- config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2939
- version: z.ZodOptional<z.ZodString>;
2940
- }, "strip", z.ZodTypeAny, {
2956
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2957
+ config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2958
+ version: z$1.ZodOptional<z$1.ZodString>;
2959
+ }, "strip", z$1.ZodTypeAny, {
2941
2960
  slug: string;
2942
2961
  name: string;
2943
2962
  description: string;
@@ -2964,9 +2983,9 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
2964
2983
  version?: string | undefined;
2965
2984
  instructions?: string | undefined;
2966
2985
  }>, "many">;
2967
- nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2968
- totalPages: z.ZodNumber;
2969
- }, "strip", z.ZodTypeAny, {
2986
+ nextCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
2987
+ totalPages: z$1.ZodNumber;
2988
+ }, "strip", z$1.ZodTypeAny, {
2970
2989
  items: {
2971
2990
  slug: string;
2972
2991
  name: string;
@@ -3001,8 +3020,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
3001
3020
  totalPages: number;
3002
3021
  nextCursor?: string | null | undefined;
3003
3022
  }>;
3004
- type TriggersTypeListResponse = z.infer<typeof TriggersTypeListResponseSchema>;
3005
- type TriggersTypeRetrieveResponse = z.infer<typeof TriggerTypeSchema>;
3023
+ type TriggersTypeListResponse = z$1.infer<typeof TriggersTypeListResponseSchema>;
3024
+ type TriggersTypeRetrieveResponse = z$1.infer<typeof TriggerTypeSchema>;
3006
3025
  /**
3007
3026
  * Generic trigger event type that can be used with generated trigger payload types
3008
3027
  * @template TPayload - The specific trigger payload type (e.g., GITHUB_COMMIT_EVENT_PAYLOAD)
@@ -3026,13 +3045,13 @@ type TriggerEventData<TPayload = unknown> = TPayload & {
3026
3045
  * These schemas represent the raw payload structure sent by Composio's webhook system
3027
3046
  */
3028
3047
  /** V1 webhook payload - legacy format */
3029
- declare const WebhookPayloadV1Schema: z.ZodObject<{
3030
- trigger_name: z.ZodString;
3031
- connection_id: z.ZodString;
3032
- trigger_id: z.ZodString;
3033
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3034
- log_id: z.ZodString;
3035
- }, "strip", z.ZodTypeAny, {
3048
+ declare const WebhookPayloadV1Schema: z$1.ZodObject<{
3049
+ trigger_name: z$1.ZodString;
3050
+ connection_id: z$1.ZodString;
3051
+ trigger_id: z$1.ZodString;
3052
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3053
+ log_id: z$1.ZodString;
3054
+ }, "strip", z$1.ZodTypeAny, {
3036
3055
  payload: Record<string, unknown>;
3037
3056
  trigger_name: string;
3038
3057
  connection_id: string;
@@ -3045,32 +3064,32 @@ declare const WebhookPayloadV1Schema: z.ZodObject<{
3045
3064
  trigger_id: string;
3046
3065
  log_id: string;
3047
3066
  }>;
3048
- type WebhookPayloadV1 = z.infer<typeof WebhookPayloadV1Schema>;
3067
+ type WebhookPayloadV1 = z$1.infer<typeof WebhookPayloadV1Schema>;
3049
3068
  /** V2 webhook payload - includes timestamp and nested data */
3050
- declare const WebhookPayloadV2Schema: z.ZodObject<{
3051
- type: z.ZodString;
3052
- timestamp: z.ZodString;
3053
- log_id: z.ZodString;
3054
- data: z.ZodObject<{
3055
- connection_id: z.ZodString;
3056
- connection_nano_id: z.ZodString;
3057
- trigger_nano_id: z.ZodString;
3058
- trigger_id: z.ZodString;
3059
- user_id: z.ZodString;
3060
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3061
- connection_id: z.ZodString;
3062
- connection_nano_id: z.ZodString;
3063
- trigger_nano_id: z.ZodString;
3064
- trigger_id: z.ZodString;
3065
- user_id: z.ZodString;
3066
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3067
- connection_id: z.ZodString;
3068
- connection_nano_id: z.ZodString;
3069
- trigger_nano_id: z.ZodString;
3070
- trigger_id: z.ZodString;
3071
- user_id: z.ZodString;
3072
- }, z.ZodTypeAny, "passthrough">>;
3073
- }, "strip", z.ZodTypeAny, {
3069
+ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
3070
+ type: z$1.ZodString;
3071
+ timestamp: z$1.ZodString;
3072
+ log_id: z$1.ZodString;
3073
+ data: z$1.ZodObject<{
3074
+ connection_id: z$1.ZodString;
3075
+ connection_nano_id: z$1.ZodString;
3076
+ trigger_nano_id: z$1.ZodString;
3077
+ trigger_id: z$1.ZodString;
3078
+ user_id: z$1.ZodString;
3079
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3080
+ connection_id: z$1.ZodString;
3081
+ connection_nano_id: z$1.ZodString;
3082
+ trigger_nano_id: z$1.ZodString;
3083
+ trigger_id: z$1.ZodString;
3084
+ user_id: z$1.ZodString;
3085
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3086
+ connection_id: z$1.ZodString;
3087
+ connection_nano_id: z$1.ZodString;
3088
+ trigger_nano_id: z$1.ZodString;
3089
+ trigger_id: z$1.ZodString;
3090
+ user_id: z$1.ZodString;
3091
+ }, z$1.ZodTypeAny, "passthrough">>;
3092
+ }, "strip", z$1.ZodTypeAny, {
3074
3093
  type: string;
3075
3094
  data: {
3076
3095
  connection_id: string;
@@ -3097,15 +3116,15 @@ declare const WebhookPayloadV2Schema: z.ZodObject<{
3097
3116
  log_id: string;
3098
3117
  timestamp: string;
3099
3118
  }>;
3100
- type WebhookPayloadV2 = z.infer<typeof WebhookPayloadV2Schema>;
3119
+ type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
3101
3120
  /** V3 webhook payload - generic envelope for all composio.* events */
3102
- declare const WebhookPayloadV3Schema: z.ZodObject<{
3103
- id: z.ZodString;
3104
- timestamp: z.ZodString;
3105
- type: z.ZodEffects<z.ZodString, string, string>;
3106
- metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3107
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3108
- }, "strip", z.ZodTypeAny, {
3121
+ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
3122
+ id: z$1.ZodString;
3123
+ timestamp: z$1.ZodString;
3124
+ type: z$1.ZodEffects<z$1.ZodString, string, string>;
3125
+ metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3126
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3127
+ }, "strip", z$1.ZodTypeAny, {
3109
3128
  type: string;
3110
3129
  data: Record<string, unknown>;
3111
3130
  id: string;
@@ -3118,36 +3137,36 @@ declare const WebhookPayloadV3Schema: z.ZodObject<{
3118
3137
  metadata: Record<string, unknown>;
3119
3138
  timestamp: string;
3120
3139
  }>;
3121
- type WebhookPayloadV3 = z.infer<typeof WebhookPayloadV3Schema>;
3140
+ type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
3122
3141
  /** V3 trigger-specific payload - has trigger metadata fields */
3123
- declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
3124
- id: z.ZodString;
3125
- timestamp: z.ZodString;
3126
- type: z.ZodString;
3127
- metadata: z.ZodObject<{
3128
- log_id: z.ZodString;
3129
- trigger_slug: z.ZodString;
3130
- trigger_id: z.ZodString;
3131
- connected_account_id: z.ZodString;
3132
- auth_config_id: z.ZodString;
3133
- user_id: z.ZodString;
3134
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3135
- log_id: z.ZodString;
3136
- trigger_slug: z.ZodString;
3137
- trigger_id: z.ZodString;
3138
- connected_account_id: z.ZodString;
3139
- auth_config_id: z.ZodString;
3140
- user_id: z.ZodString;
3141
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3142
- log_id: z.ZodString;
3143
- trigger_slug: z.ZodString;
3144
- trigger_id: z.ZodString;
3145
- connected_account_id: z.ZodString;
3146
- auth_config_id: z.ZodString;
3147
- user_id: z.ZodString;
3148
- }, z.ZodTypeAny, "passthrough">>;
3149
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3150
- }, "strip", z.ZodTypeAny, {
3142
+ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
3143
+ id: z$1.ZodString;
3144
+ timestamp: z$1.ZodString;
3145
+ type: z$1.ZodString;
3146
+ metadata: z$1.ZodObject<{
3147
+ log_id: z$1.ZodString;
3148
+ trigger_slug: z$1.ZodString;
3149
+ trigger_id: z$1.ZodString;
3150
+ connected_account_id: z$1.ZodString;
3151
+ auth_config_id: z$1.ZodString;
3152
+ user_id: z$1.ZodString;
3153
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3154
+ log_id: z$1.ZodString;
3155
+ trigger_slug: z$1.ZodString;
3156
+ trigger_id: z$1.ZodString;
3157
+ connected_account_id: z$1.ZodString;
3158
+ auth_config_id: z$1.ZodString;
3159
+ user_id: z$1.ZodString;
3160
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3161
+ log_id: z$1.ZodString;
3162
+ trigger_slug: z$1.ZodString;
3163
+ trigger_id: z$1.ZodString;
3164
+ connected_account_id: z$1.ZodString;
3165
+ auth_config_id: z$1.ZodString;
3166
+ user_id: z$1.ZodString;
3167
+ }, z$1.ZodTypeAny, "passthrough">>;
3168
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3169
+ }, "strip", z$1.ZodTypeAny, {
3151
3170
  type: string;
3152
3171
  data: Record<string, unknown>;
3153
3172
  id: string;
@@ -3178,15 +3197,15 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
3178
3197
  };
3179
3198
  timestamp: string;
3180
3199
  }>;
3181
- type WebhookTriggerPayloadV3 = z.infer<typeof WebhookTriggerPayloadV3Schema>;
3200
+ type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
3182
3201
  /** Union of all webhook payload versions */
3183
- declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
3184
- id: z.ZodString;
3185
- timestamp: z.ZodString;
3186
- type: z.ZodEffects<z.ZodString, string, string>;
3187
- metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3188
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3189
- }, "strip", z.ZodTypeAny, {
3202
+ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
3203
+ id: z$1.ZodString;
3204
+ timestamp: z$1.ZodString;
3205
+ type: z$1.ZodEffects<z$1.ZodString, string, string>;
3206
+ metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3207
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3208
+ }, "strip", z$1.ZodTypeAny, {
3190
3209
  type: string;
3191
3210
  data: Record<string, unknown>;
3192
3211
  id: string;
@@ -3198,30 +3217,30 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
3198
3217
  id: string;
3199
3218
  metadata: Record<string, unknown>;
3200
3219
  timestamp: string;
3201
- }>, z.ZodObject<{
3202
- type: z.ZodString;
3203
- timestamp: z.ZodString;
3204
- log_id: z.ZodString;
3205
- data: z.ZodObject<{
3206
- connection_id: z.ZodString;
3207
- connection_nano_id: z.ZodString;
3208
- trigger_nano_id: z.ZodString;
3209
- trigger_id: z.ZodString;
3210
- user_id: z.ZodString;
3211
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3212
- connection_id: z.ZodString;
3213
- connection_nano_id: z.ZodString;
3214
- trigger_nano_id: z.ZodString;
3215
- trigger_id: z.ZodString;
3216
- user_id: z.ZodString;
3217
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3218
- connection_id: z.ZodString;
3219
- connection_nano_id: z.ZodString;
3220
- trigger_nano_id: z.ZodString;
3221
- trigger_id: z.ZodString;
3222
- user_id: z.ZodString;
3223
- }, z.ZodTypeAny, "passthrough">>;
3224
- }, "strip", z.ZodTypeAny, {
3220
+ }>, z$1.ZodObject<{
3221
+ type: z$1.ZodString;
3222
+ timestamp: z$1.ZodString;
3223
+ log_id: z$1.ZodString;
3224
+ data: z$1.ZodObject<{
3225
+ connection_id: z$1.ZodString;
3226
+ connection_nano_id: z$1.ZodString;
3227
+ trigger_nano_id: z$1.ZodString;
3228
+ trigger_id: z$1.ZodString;
3229
+ user_id: z$1.ZodString;
3230
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3231
+ connection_id: z$1.ZodString;
3232
+ connection_nano_id: z$1.ZodString;
3233
+ trigger_nano_id: z$1.ZodString;
3234
+ trigger_id: z$1.ZodString;
3235
+ user_id: z$1.ZodString;
3236
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3237
+ connection_id: z$1.ZodString;
3238
+ connection_nano_id: z$1.ZodString;
3239
+ trigger_nano_id: z$1.ZodString;
3240
+ trigger_id: z$1.ZodString;
3241
+ user_id: z$1.ZodString;
3242
+ }, z$1.ZodTypeAny, "passthrough">>;
3243
+ }, "strip", z$1.ZodTypeAny, {
3225
3244
  type: string;
3226
3245
  data: {
3227
3246
  connection_id: string;
@@ -3247,13 +3266,13 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
3247
3266
  };
3248
3267
  log_id: string;
3249
3268
  timestamp: string;
3250
- }>, z.ZodObject<{
3251
- trigger_name: z.ZodString;
3252
- connection_id: z.ZodString;
3253
- trigger_id: z.ZodString;
3254
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3255
- log_id: z.ZodString;
3256
- }, "strip", z.ZodTypeAny, {
3269
+ }>, z$1.ZodObject<{
3270
+ trigger_name: z$1.ZodString;
3271
+ connection_id: z$1.ZodString;
3272
+ trigger_id: z$1.ZodString;
3273
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3274
+ log_id: z$1.ZodString;
3275
+ }, "strip", z$1.ZodTypeAny, {
3257
3276
  payload: Record<string, unknown>;
3258
3277
  trigger_name: string;
3259
3278
  connection_id: string;
@@ -3266,7 +3285,7 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
3266
3285
  trigger_id: string;
3267
3286
  log_id: string;
3268
3287
  }>]>;
3269
- type WebhookPayload = z.infer<typeof WebhookPayloadSchema>;
3288
+ type WebhookPayload = z$1.infer<typeof WebhookPayloadSchema>;
3270
3289
  /** Webhook version enum */
3271
3290
  declare const WebhookVersions: {
3272
3291
  readonly V1: "V1";
@@ -3275,11 +3294,11 @@ declare const WebhookVersions: {
3275
3294
  };
3276
3295
  type WebhookVersion = (typeof WebhookVersions)[keyof typeof WebhookVersions];
3277
3296
  declare const DefaultWebhookSubscriptionEvents: readonly ["composio.trigger.message"];
3278
- declare const SetWebhookSubscriptionParamsSchema: z.ZodObject<{
3279
- /** HTTPS URL to receive webhook events. */webhookUrl: z.ZodString; /** Event types to subscribe to. Defaults to trigger messages. */
3280
- enabledEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; /** Webhook payload version. Defaults to V3. */
3281
- version: z.ZodOptional<z.ZodEnum<["V1", "V2", "V3"]>>;
3282
- }, "strip", z.ZodTypeAny, {
3297
+ declare const SetWebhookSubscriptionParamsSchema: z$1.ZodObject<{
3298
+ /** HTTPS URL to receive webhook events. */webhookUrl: z$1.ZodString; /** Event types to subscribe to. Defaults to trigger messages. */
3299
+ enabledEvents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>; /** Webhook payload version. Defaults to V3. */
3300
+ version: z$1.ZodOptional<z$1.ZodEnum<["V1", "V2", "V3"]>>;
3301
+ }, "strip", z$1.ZodTypeAny, {
3283
3302
  webhookUrl: string;
3284
3303
  version?: "V1" | "V2" | "V3" | undefined;
3285
3304
  enabledEvents?: string[] | undefined;
@@ -3288,7 +3307,7 @@ declare const SetWebhookSubscriptionParamsSchema: z.ZodObject<{
3288
3307
  version?: "V1" | "V2" | "V3" | undefined;
3289
3308
  enabledEvents?: string[] | undefined;
3290
3309
  }>;
3291
- type SetWebhookSubscriptionParams = z.infer<typeof SetWebhookSubscriptionParamsSchema>;
3310
+ type SetWebhookSubscriptionParams = z$1.infer<typeof SetWebhookSubscriptionParamsSchema>;
3292
3311
  type WebhookSubscription = {
3293
3312
  id: string;
3294
3313
  webhookUrl: string;
@@ -3301,32 +3320,32 @@ type WebhookSubscription = {
3301
3320
  /**
3302
3321
  * Parameters for verifying a webhook signature
3303
3322
  */
3304
- declare const VerifyWebhookParamsSchema: z.ZodObject<{
3323
+ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
3305
3324
  /**
3306
3325
  * The webhook message ID from the 'webhook-id' header.
3307
3326
  * Format: 'msg_xxx'
3308
3327
  */
3309
- id: z.ZodString; /** The raw webhook payload as a string (request body) */
3310
- payload: z.ZodString; /** The webhook secret used to sign the payload (from Composio dashboard) */
3311
- secret: z.ZodString;
3328
+ id: z$1.ZodString; /** The raw webhook payload as a string (request body) */
3329
+ payload: z$1.ZodString; /** The webhook secret used to sign the payload (from Composio dashboard) */
3330
+ secret: z$1.ZodString;
3312
3331
  /**
3313
3332
  * The signature from the 'webhook-signature' header.
3314
3333
  * Format: 'v1,base64EncodedSignature'
3315
3334
  */
3316
- signature: z.ZodString;
3335
+ signature: z$1.ZodString;
3317
3336
  /**
3318
3337
  * The webhook timestamp from the 'webhook-timestamp' header.
3319
3338
  * This is the Unix timestamp in seconds when the webhook was sent.
3320
3339
  */
3321
- timestamp: z.ZodString;
3340
+ timestamp: z$1.ZodString;
3322
3341
  /**
3323
3342
  * Maximum allowed age of the webhook in seconds.
3324
3343
  * If the webhook timestamp is older than this, verification will fail.
3325
3344
  * Set to 0 to disable timestamp validation.
3326
3345
  * @default 300 (5 minutes)
3327
3346
  */
3328
- tolerance: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3329
- }, "strip", z.ZodTypeAny, {
3347
+ tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
3348
+ }, "strip", z$1.ZodTypeAny, {
3330
3349
  id: string;
3331
3350
  payload: string;
3332
3351
  timestamp: string;
@@ -3341,7 +3360,7 @@ declare const VerifyWebhookParamsSchema: z.ZodObject<{
3341
3360
  signature: string;
3342
3361
  tolerance?: number | undefined;
3343
3362
  }>;
3344
- type VerifyWebhookParams = z.input<typeof VerifyWebhookParamsSchema>;
3363
+ type VerifyWebhookParams = z$1.input<typeof VerifyWebhookParamsSchema>;
3345
3364
  /**
3346
3365
  * An incoming HTTP request that carries a Composio webhook.
3347
3366
  *
@@ -4274,15 +4293,15 @@ declare class Experimental {
4274
4293
  }
4275
4294
  //#endregion
4276
4295
  //#region src/types/mcp.experimental.types.d.ts
4277
- declare const MCPServerInstanceSchema: z$1.ZodObject<{
4278
- id: z$1.ZodString;
4279
- name: z$1.ZodString;
4280
- type: z$1.ZodLiteral<"streamable_http">;
4281
- url: z$1.ZodString;
4282
- userId: z$1.ZodString;
4283
- allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
4284
- authConfigs: z$1.ZodArray<z$1.ZodString, "many">;
4285
- }, "strip", z$1.ZodTypeAny, {
4296
+ declare const MCPServerInstanceSchema: z.ZodObject<{
4297
+ id: z.ZodString;
4298
+ name: z.ZodString;
4299
+ type: z.ZodLiteral<"streamable_http">;
4300
+ url: z.ZodString;
4301
+ userId: z.ZodString;
4302
+ allowedTools: z.ZodArray<z.ZodString, "many">;
4303
+ authConfigs: z.ZodArray<z.ZodString, "many">;
4304
+ }, "strip", z.ZodTypeAny, {
4286
4305
  name: string;
4287
4306
  type: "streamable_http";
4288
4307
  userId: string;
@@ -4299,21 +4318,21 @@ declare const MCPServerInstanceSchema: z$1.ZodObject<{
4299
4318
  id: string;
4300
4319
  authConfigs: string[];
4301
4320
  }>;
4302
- type MCPServerInstance = z$1.infer<typeof MCPServerInstanceSchema>;
4303
- declare const MCPConfigCreationParamsSchema: z$1.ZodObject<{
4304
- toolkits: z$1.ZodArray<z$1.ZodUnion<[z$1.ZodObject<{
4305
- toolkit: z$1.ZodOptional<z$1.ZodString>;
4306
- authConfigId: z$1.ZodOptional<z$1.ZodString>;
4307
- }, "strip", z$1.ZodTypeAny, {
4321
+ type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
4322
+ declare const MCPConfigCreationParamsSchema: z.ZodObject<{
4323
+ toolkits: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4324
+ toolkit: z.ZodOptional<z.ZodString>;
4325
+ authConfigId: z.ZodOptional<z.ZodString>;
4326
+ }, "strip", z.ZodTypeAny, {
4308
4327
  toolkit?: string | undefined;
4309
4328
  authConfigId?: string | undefined;
4310
4329
  }, {
4311
4330
  toolkit?: string | undefined;
4312
4331
  authConfigId?: string | undefined;
4313
- }>, z$1.ZodString]>, "many">;
4314
- allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
4315
- manuallyManageConnections: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
4316
- }, "strip", z$1.ZodTypeAny, {
4332
+ }>, z.ZodString]>, "many">;
4333
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4334
+ manuallyManageConnections: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4335
+ }, "strip", z.ZodTypeAny, {
4317
4336
  toolkits: (string | {
4318
4337
  toolkit?: string | undefined;
4319
4338
  authConfigId?: string | undefined;
@@ -4328,41 +4347,41 @@ declare const MCPConfigCreationParamsSchema: z$1.ZodObject<{
4328
4347
  allowedTools?: string[] | undefined;
4329
4348
  manuallyManageConnections?: boolean | undefined;
4330
4349
  }>;
4331
- type MCPConfigCreationParams = z$1.infer<typeof MCPConfigCreationParamsSchema>;
4332
- declare const MCPConfigResponseSchema: z$1.ZodObject<{
4350
+ type MCPConfigCreationParams = z.infer<typeof MCPConfigCreationParamsSchema>;
4351
+ declare const MCPConfigResponseSchema: z.ZodObject<{
4333
4352
  /**
4334
4353
  * Unique identifier for the newly created custom MCP server
4335
4354
  */
4336
- id: z$1.ZodString;
4355
+ id: z.ZodString;
4337
4356
  /**
4338
4357
  * Human-readable name of the custom MCP server
4339
4358
  */
4340
- name: z$1.ZodString;
4359
+ name: z.ZodString;
4341
4360
  /**
4342
4361
  * List of tool identifiers that are enabled for this server
4343
4362
  */
4344
- allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
4363
+ allowedTools: z.ZodArray<z.ZodString, "many">;
4345
4364
  /**
4346
4365
  * ID references to the auth configurations used by this server
4347
4366
  */
4348
- authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
4367
+ authConfigIds: z.ZodArray<z.ZodString, "many">;
4349
4368
  /**
4350
4369
  * Set of command line instructions for connecting various clients to this MCP server
4351
4370
  */
4352
- commands: z$1.ZodObject<{
4371
+ commands: z.ZodObject<{
4353
4372
  /**
4354
4373
  * Command line instruction for Claude client setup
4355
4374
  */
4356
- claude: z$1.ZodString;
4375
+ claude: z.ZodString;
4357
4376
  /**
4358
4377
  * Command line instruction for Cursor client setup
4359
4378
  */
4360
- cursor: z$1.ZodString;
4379
+ cursor: z.ZodString;
4361
4380
  /**
4362
4381
  * Command line instruction for Windsurf client setup
4363
4382
  */
4364
- windsurf: z$1.ZodString;
4365
- }, "strip", z$1.ZodTypeAny, {
4383
+ windsurf: z.ZodString;
4384
+ }, "strip", z.ZodTypeAny, {
4366
4385
  claude: string;
4367
4386
  cursor: string;
4368
4387
  windsurf: string;
@@ -4374,8 +4393,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
4374
4393
  /**
4375
4394
  * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
4376
4395
  */
4377
- MCPUrl: z$1.ZodString;
4378
- }, "strip", z$1.ZodTypeAny, {
4396
+ MCPUrl: z.ZodString;
4397
+ }, "strip", z.ZodTypeAny, {
4379
4398
  name: string;
4380
4399
  authConfigIds: string[];
4381
4400
  allowedTools: string[];
@@ -4398,7 +4417,7 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
4398
4417
  };
4399
4418
  MCPUrl: string;
4400
4419
  }>;
4401
- type MCPConfigResponse = z$1.infer<typeof MCPConfigResponseSchema>;
4420
+ type MCPConfigResponse = z.infer<typeof MCPConfigResponseSchema>;
4402
4421
  interface MCPConfigCreateResponse extends MCPConfigResponse {
4403
4422
  /**
4404
4423
  * Creates an instance for a user of the specific MCP Server/COnfig
@@ -4407,21 +4426,21 @@ interface MCPConfigCreateResponse extends MCPConfigResponse {
4407
4426
  */
4408
4427
  generate: (userId: string) => Promise<MCPServerInstance>;
4409
4428
  }
4410
- declare const MCPGetInstanceParamsSchema: z$1.ZodObject<{
4411
- manuallyManageConnections: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
4412
- }, "strip", z$1.ZodTypeAny, {
4429
+ declare const MCPGetInstanceParamsSchema: z.ZodObject<{
4430
+ manuallyManageConnections: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4431
+ }, "strip", z.ZodTypeAny, {
4413
4432
  manuallyManageConnections?: boolean | undefined;
4414
4433
  }, {
4415
4434
  manuallyManageConnections?: boolean | undefined;
4416
4435
  }>;
4417
- type MCPGetInstanceParams = z$1.infer<typeof MCPGetInstanceParamsSchema>;
4418
- declare const MCPListParamsSchema: z$1.ZodObject<{
4419
- page: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
4420
- limit: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
4421
- toolkits: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>>;
4422
- authConfigs: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>>;
4423
- name: z$1.ZodOptional<z$1.ZodString>;
4424
- }, "strip", z$1.ZodTypeAny, {
4436
+ type MCPGetInstanceParams = z.infer<typeof MCPGetInstanceParamsSchema>;
4437
+ declare const MCPListParamsSchema: z.ZodObject<{
4438
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4439
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4440
+ toolkits: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4441
+ authConfigs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4442
+ name: z.ZodOptional<z.ZodString>;
4443
+ }, "strip", z.ZodTypeAny, {
4425
4444
  toolkits: string[];
4426
4445
  limit: number;
4427
4446
  page: number;
@@ -4434,41 +4453,41 @@ declare const MCPListParamsSchema: z$1.ZodObject<{
4434
4453
  page?: number | undefined;
4435
4454
  authConfigs?: string[] | undefined;
4436
4455
  }>;
4437
- type MCPListParams = z$1.infer<typeof MCPListParamsSchema>;
4438
- declare const MCPItemSchema: z$1.ZodObject<{
4456
+ type MCPListParams = z.infer<typeof MCPListParamsSchema>;
4457
+ declare const MCPItemSchema: z.ZodObject<{
4439
4458
  /**
4440
4459
  * Unique identifier for the newly created custom MCP server
4441
4460
  */
4442
- id: z$1.ZodString;
4461
+ id: z.ZodString;
4443
4462
  /**
4444
4463
  * Human-readable name of the custom MCP server
4445
4464
  */
4446
- name: z$1.ZodString;
4465
+ name: z.ZodString;
4447
4466
  /**
4448
4467
  * List of tool identifiers that are enabled for this server
4449
4468
  */
4450
- allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
4469
+ allowedTools: z.ZodArray<z.ZodString, "many">;
4451
4470
  /**
4452
4471
  * ID references to the auth configurations used by this server
4453
4472
  */
4454
- authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
4473
+ authConfigIds: z.ZodArray<z.ZodString, "many">;
4455
4474
  /**
4456
4475
  * Set of command line instructions for connecting various clients to this MCP server
4457
4476
  */
4458
- commands: z$1.ZodObject<{
4477
+ commands: z.ZodObject<{
4459
4478
  /**
4460
4479
  * Command line instruction for Claude client setup
4461
4480
  */
4462
- claude: z$1.ZodString;
4481
+ claude: z.ZodString;
4463
4482
  /**
4464
4483
  * Command line instruction for Cursor client setup
4465
4484
  */
4466
- cursor: z$1.ZodString;
4485
+ cursor: z.ZodString;
4467
4486
  /**
4468
4487
  * Command line instruction for Windsurf client setup
4469
4488
  */
4470
- windsurf: z$1.ZodString;
4471
- }, "strip", z$1.ZodTypeAny, {
4489
+ windsurf: z.ZodString;
4490
+ }, "strip", z.ZodTypeAny, {
4472
4491
  claude: string;
4473
4492
  cursor: string;
4474
4493
  windsurf: string;
@@ -4480,12 +4499,12 @@ declare const MCPItemSchema: z$1.ZodObject<{
4480
4499
  /**
4481
4500
  * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
4482
4501
  */
4483
- MCPUrl: z$1.ZodString;
4502
+ MCPUrl: z.ZodString;
4484
4503
  } & {
4485
- toolkitIcons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
4486
- serverInstanceCount: z$1.ZodNumber;
4487
- toolkits: z$1.ZodArray<z$1.ZodString, "many">;
4488
- }, "strip", z$1.ZodTypeAny, {
4504
+ toolkitIcons: z.ZodRecord<z.ZodString, z.ZodString>;
4505
+ serverInstanceCount: z.ZodNumber;
4506
+ toolkits: z.ZodArray<z.ZodString, "many">;
4507
+ }, "strip", z.ZodTypeAny, {
4489
4508
  name: string;
4490
4509
  toolkits: string[];
4491
4510
  authConfigIds: string[];
@@ -4514,42 +4533,42 @@ declare const MCPItemSchema: z$1.ZodObject<{
4514
4533
  toolkitIcons: Record<string, string>;
4515
4534
  serverInstanceCount: number;
4516
4535
  }>;
4517
- type MCPItem = z$1.infer<typeof MCPItemSchema>;
4518
- declare const MCPListResponseSchema: z$1.ZodObject<{
4519
- items: z$1.ZodArray<z$1.ZodObject<{
4536
+ type MCPItem = z.infer<typeof MCPItemSchema>;
4537
+ declare const MCPListResponseSchema: z.ZodObject<{
4538
+ items: z.ZodArray<z.ZodObject<{
4520
4539
  /**
4521
4540
  * Unique identifier for the newly created custom MCP server
4522
4541
  */
4523
- id: z$1.ZodString;
4542
+ id: z.ZodString;
4524
4543
  /**
4525
4544
  * Human-readable name of the custom MCP server
4526
4545
  */
4527
- name: z$1.ZodString;
4546
+ name: z.ZodString;
4528
4547
  /**
4529
4548
  * List of tool identifiers that are enabled for this server
4530
4549
  */
4531
- allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
4550
+ allowedTools: z.ZodArray<z.ZodString, "many">;
4532
4551
  /**
4533
4552
  * ID references to the auth configurations used by this server
4534
4553
  */
4535
- authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
4554
+ authConfigIds: z.ZodArray<z.ZodString, "many">;
4536
4555
  /**
4537
4556
  * Set of command line instructions for connecting various clients to this MCP server
4538
4557
  */
4539
- commands: z$1.ZodObject<{
4558
+ commands: z.ZodObject<{
4540
4559
  /**
4541
4560
  * Command line instruction for Claude client setup
4542
4561
  */
4543
- claude: z$1.ZodString;
4562
+ claude: z.ZodString;
4544
4563
  /**
4545
4564
  * Command line instruction for Cursor client setup
4546
4565
  */
4547
- cursor: z$1.ZodString;
4566
+ cursor: z.ZodString;
4548
4567
  /**
4549
4568
  * Command line instruction for Windsurf client setup
4550
4569
  */
4551
- windsurf: z$1.ZodString;
4552
- }, "strip", z$1.ZodTypeAny, {
4570
+ windsurf: z.ZodString;
4571
+ }, "strip", z.ZodTypeAny, {
4553
4572
  claude: string;
4554
4573
  cursor: string;
4555
4574
  windsurf: string;
@@ -4561,12 +4580,12 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
4561
4580
  /**
4562
4581
  * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
4563
4582
  */
4564
- MCPUrl: z$1.ZodString;
4583
+ MCPUrl: z.ZodString;
4565
4584
  } & {
4566
- toolkitIcons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
4567
- serverInstanceCount: z$1.ZodNumber;
4568
- toolkits: z$1.ZodArray<z$1.ZodString, "many">;
4569
- }, "strip", z$1.ZodTypeAny, {
4585
+ toolkitIcons: z.ZodRecord<z.ZodString, z.ZodString>;
4586
+ serverInstanceCount: z.ZodNumber;
4587
+ toolkits: z.ZodArray<z.ZodString, "many">;
4588
+ }, "strip", z.ZodTypeAny, {
4570
4589
  name: string;
4571
4590
  toolkits: string[];
4572
4591
  authConfigIds: string[];
@@ -4595,9 +4614,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
4595
4614
  toolkitIcons: Record<string, string>;
4596
4615
  serverInstanceCount: number;
4597
4616
  }>, "many">;
4598
- currentPage: z$1.ZodNumber;
4599
- totalPages: z$1.ZodNumber;
4600
- }, "strip", z$1.ZodTypeAny, {
4617
+ currentPage: z.ZodNumber;
4618
+ totalPages: z.ZodNumber;
4619
+ }, "strip", z.ZodTypeAny, {
4601
4620
  items: {
4602
4621
  name: string;
4603
4622
  toolkits: string[];
@@ -4634,22 +4653,22 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
4634
4653
  totalPages: number;
4635
4654
  currentPage: number;
4636
4655
  }>;
4637
- type MCPListResponse = z$1.infer<typeof MCPListResponseSchema>;
4638
- declare const MCPUpdateParamsSchema: z$1.ZodObject<{
4639
- name: z$1.ZodOptional<z$1.ZodString>;
4640
- toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<[z$1.ZodObject<{
4641
- toolkit: z$1.ZodOptional<z$1.ZodString>;
4642
- authConfigId: z$1.ZodOptional<z$1.ZodString>;
4643
- }, "strip", z$1.ZodTypeAny, {
4656
+ type MCPListResponse = z.infer<typeof MCPListResponseSchema>;
4657
+ declare const MCPUpdateParamsSchema: z.ZodObject<{
4658
+ name: z.ZodOptional<z.ZodString>;
4659
+ toolkits: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4660
+ toolkit: z.ZodOptional<z.ZodString>;
4661
+ authConfigId: z.ZodOptional<z.ZodString>;
4662
+ }, "strip", z.ZodTypeAny, {
4644
4663
  toolkit?: string | undefined;
4645
4664
  authConfigId?: string | undefined;
4646
4665
  }, {
4647
4666
  toolkit?: string | undefined;
4648
4667
  authConfigId?: string | undefined;
4649
- }>, z$1.ZodString]>, "many">>;
4650
- allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
4651
- manuallyManageConnections: z$1.ZodOptional<z$1.ZodBoolean>;
4652
- }, "strip", z$1.ZodTypeAny, {
4668
+ }>, z.ZodString]>, "many">>;
4669
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4670
+ manuallyManageConnections: z.ZodOptional<z.ZodBoolean>;
4671
+ }, "strip", z.ZodTypeAny, {
4653
4672
  name?: string | undefined;
4654
4673
  toolkits?: (string | {
4655
4674
  toolkit?: string | undefined;
@@ -4666,7 +4685,7 @@ declare const MCPUpdateParamsSchema: z$1.ZodObject<{
4666
4685
  allowedTools?: string[] | undefined;
4667
4686
  manuallyManageConnections?: boolean | undefined;
4668
4687
  }>;
4669
- type MCPUpdateParams = z$1.infer<typeof MCPUpdateParamsSchema>;
4688
+ type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
4670
4689
  //#endregion
4671
4690
  //#region src/models/MCP.d.ts
4672
4691
  /**