@composio/core 0.13.1 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +62 -247
  2. package/dist/BaseProvider-Dc5yKZhk.d.mts +29394 -0
  3. package/dist/{CustomTool-DLf7JeKt.d.mts → CustomTool-4nVuwLzO.d.mts} +1 -2
  4. package/dist/{CustomTool-D9qwyMrv.mjs → CustomTool-l-j5HtEf.mjs} +17 -15
  5. package/dist/FileModifierErrors-B8V8_3VE.mjs +97 -0
  6. package/dist/{FileModifierErrors-3fSwIWoa.mjs → SsrfErrors-DNJt57GL.mjs} +24 -85
  7. package/dist/{Telemetry-DhGI_J4G.mjs → Telemetry-CF0rNHu2.mjs} +40 -8
  8. package/dist/{jsonSchema-CFKdONpP.mjs → cancellation-BbJ-UQ__.mjs} +64 -19
  9. package/dist/{composio-BHSQwOUz.d.mts → composio-ChU3eD9F.d.mts} +1083 -1061
  10. package/dist/{customTool.types-9yFqPjdw.d.mts → customTool.types-CX2-LbfI.d.mts} +634 -601
  11. package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -22
  12. package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +2 -0
  13. package/dist/{errors-DSIlYfl5.mjs → errors-BcEUHZbq.mjs} +75 -74
  14. package/dist/experimental/index.d.mts +2 -2
  15. package/dist/experimental/index.mjs +1 -1
  16. package/dist/{fileUtils.node-BiO1JQsJ.mjs → fileUtils.node-DOkW4PBg.mjs} +36 -70
  17. package/dist/index.d.mts +2446 -1563
  18. package/dist/index.mjs +1415 -1381
  19. package/dist/models/Files.node.d.mts +2 -11
  20. package/dist/models/Files.node.mjs +2 -2
  21. package/dist/models/Files.workerd.d.mts +0 -1
  22. package/dist/platform/node.d.mts +1 -2
  23. package/dist/platform/node.mjs +3 -0
  24. package/dist/platform/workerd.d.mts +1 -2
  25. package/dist/platform/workerd.mjs +30 -3
  26. package/dist/sensitiveFileUploadPaths-C43dHP7S.mjs +164 -0
  27. package/dist/{types-BJLCRj9q.d.mts → types-D5N60gUD.d.mts} +2 -3
  28. package/dist/{types-DdoCRzLj.d.mts → types-DY1r-kN9.d.mts} +9 -0
  29. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -2
  30. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -2
  31. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -2
  32. package/dist/utils/modifiers/FileToolModifier.node.mjs +6 -5
  33. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -2
  34. package/dist/utils/ssrfGuard.node.d.mts +22 -0
  35. package/dist/utils/ssrfGuard.node.mjs +152 -0
  36. package/dist/utils/ssrfGuard.workerd.d.mts +9 -0
  37. package/dist/utils/ssrfGuard.workerd.mjs +17 -0
  38. package/package.json +20 -15
  39. package/src/errors/SsrfErrors.ts +48 -0
  40. package/src/errors/index.ts +3 -0
  41. package/src/index.ts +10 -0
  42. package/src/models/CustomTool.ts +1 -3
  43. package/src/models/ToolRouterSession.ts +38 -16
  44. package/src/models/ToolRouterSessionFileMount.ts +7 -3
  45. package/src/models/Tools.ts +32 -2
  46. package/src/models/Triggers.ts +16 -76
  47. package/src/platform/node.ts +4 -0
  48. package/src/platform/types.ts +10 -0
  49. package/src/platform/workerd.ts +36 -3
  50. package/src/provider/OpenAIProvider.ts +19 -14
  51. package/src/telemetry/Telemetry.ts +9 -6
  52. package/src/telemetry/redact.ts +40 -0
  53. package/src/types/tool.types.ts +36 -32
  54. package/src/utils/fileUtils.node.ts +29 -6
  55. package/src/utils/jsonSchema.ts +58 -0
  56. package/src/utils/modifiers/FileToolModifier.node.ts +2 -1
  57. package/src/utils/readResponseBody.ts +63 -0
  58. package/src/utils/sdk.ts +5 -4
  59. package/src/utils/{sensitiveFileUploadPaths.node.ts → sensitiveFileUploadPaths.ts} +29 -13
  60. package/src/utils/ssrfGuard.node.ts +202 -0
  61. package/src/utils/ssrfGuard.workerd.ts +19 -0
  62. package/src/utils/toolkitVersion.ts +21 -2
  63. package/dist/BaseProvider-Brb3o86-.d.mts +0 -29425
  64. package/dist/CustomTool-NpHpqdnU.d.mts +0 -74
  65. package/dist/buffer-PcbMMsgm.mjs +0 -33
  66. package/dist/composio-DfPD7BAi.d.mts +0 -5666
  67. package/dist/customTool.types-D-6YqFdW.d.mts +0 -2826
  68. 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-Dc5yKZhk.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-CX2-LbfI.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";
@@ -10,7 +10,6 @@ import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrie
10
10
  import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
11
11
  import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
12
12
  import { Stream } from "openai/streaming";
13
-
14
13
  //#region src/models/Tools.d.ts
15
14
  type ToolRouterSessionExecuteOptions = {
16
15
  experimental?: SessionExecuteParams.Experimental;
@@ -31,7 +30,26 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
31
30
  * Scoped per-instance so a fresh `Composio` starts with a clean slate.
32
31
  */
33
32
  private readonly warnedAutoUploadDisabledForTool;
33
+ /**
34
+ * Lazily-built sibling client with retries disabled; see `clientWithoutRetries`.
35
+ */
36
+ private clientWithoutRetriesCache?;
34
37
  constructor(client: ComposioClient, config?: ComposioConfig<TProvider>);
38
+ /**
39
+ * A cached sibling client that never retries requests, mirroring Python's
40
+ * `client.without_retries`.
41
+ *
42
+ * Used for non-idempotent writes (`tools.execute` / `tools.proxy`), where a
43
+ * silent retry after a read timeout can duplicate a side effect (e.g. send an
44
+ * email twice). Reads keep the default retry behaviour, and so do other writes
45
+ * (`toolRouter.session.execute`, auth-config and connected-account mutations):
46
+ * the durable fix there is backend-honoured idempotency keys, tracked
47
+ * separately.
48
+ *
49
+ * Cached rather than rebuilt per call because `withOptions` constructs a fresh
50
+ * client; its options never change, so one per `Tools` instance suffices.
51
+ */
52
+ private get clientWithoutRetries();
35
53
  /**
36
54
  * Transforms tool data from snake_case API format to camelCase for internal SDK use.
37
55
  *
@@ -487,144 +505,144 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
487
505
  /**
488
506
  * Toolkit list params
489
507
  */
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, {
499
- limit?: number | undefined;
508
+ declare const ToolkitMangedByEnumSchema: z$1.ZodEnum<["all", "composio", "project"]>;
509
+ declare const ToolkitSortByEnumSchema: z$1.ZodEnum<["usage", "alphabetically"]>;
510
+ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
511
+ category: z$1.ZodOptional<z$1.ZodString>;
512
+ managedBy: z$1.ZodOptional<z$1.ZodEnum<["all", "composio", "project"]>>;
513
+ sortBy: z$1.ZodOptional<z$1.ZodEnum<["usage", "alphabetically"]>>;
514
+ cursor: z$1.ZodOptional<z$1.ZodString>;
515
+ limit: z$1.ZodOptional<z$1.ZodNumber>;
516
+ }, "strip", z$1.ZodTypeAny, {
500
517
  cursor?: string | undefined;
518
+ limit?: number | undefined;
501
519
  category?: string | undefined;
502
520
  managedBy?: "all" | "composio" | "project" | undefined;
503
521
  sortBy?: "usage" | "alphabetically" | undefined;
504
522
  }, {
505
- limit?: number | undefined;
506
523
  cursor?: string | undefined;
524
+ limit?: number | undefined;
507
525
  category?: string | undefined;
508
526
  managedBy?: "all" | "composio" | "project" | undefined;
509
527
  sortBy?: "usage" | "alphabetically" | undefined;
510
528
  }>;
511
- type ToolkitMangedByEnum = z.infer<typeof ToolkitMangedByEnumSchema>;
512
- type ToolkitSortByEnum = z.infer<typeof ToolkitSortByEnumSchema>;
513
- type ToolkitListParams = z.infer<typeof ToolkitsListParamsSchema>;
529
+ type ToolkitMangedByEnum = z$1.infer<typeof ToolkitMangedByEnumSchema>;
530
+ type ToolkitSortByEnum = z$1.infer<typeof ToolkitSortByEnumSchema>;
531
+ type ToolkitListParams = z$1.infer<typeof ToolkitsListParamsSchema>;
514
532
  /**
515
533
  * Toolkits response
516
534
  */
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, {
522
- slug: string;
535
+ declare const ToolKitMetaSchema: z$1.ZodObject<{
536
+ categories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
537
+ slug: z$1.ZodString;
538
+ name: z$1.ZodString;
539
+ }, "strip", z$1.ZodTypeAny, {
523
540
  name: string;
524
- }, {
525
541
  slug: string;
542
+ }, {
526
543
  name: string;
544
+ slug: string;
527
545
  }>, "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, {
546
+ appUrl: z$1.ZodOptional<z$1.ZodString>;
547
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
548
+ description: z$1.ZodOptional<z$1.ZodString>;
549
+ logo: z$1.ZodOptional<z$1.ZodString>;
550
+ toolsCount: z$1.ZodOptional<z$1.ZodNumber>;
551
+ triggersCount: z$1.ZodOptional<z$1.ZodNumber>;
552
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
553
+ availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
554
+ }, "strip", z$1.ZodTypeAny, {
555
+ createdAt?: string | undefined;
556
+ updatedAt?: string | undefined;
537
557
  logo?: string | undefined;
538
558
  description?: string | undefined;
539
559
  availableVersions?: string[] | undefined;
540
- createdAt?: string | undefined;
541
- updatedAt?: string | undefined;
542
560
  categories?: {
543
- slug: string;
544
561
  name: string;
562
+ slug: string;
545
563
  }[] | undefined;
546
564
  appUrl?: string | undefined;
547
565
  toolsCount?: number | undefined;
548
566
  triggersCount?: number | undefined;
549
567
  }, {
568
+ createdAt?: string | undefined;
569
+ updatedAt?: string | undefined;
550
570
  logo?: string | undefined;
551
571
  description?: string | undefined;
552
572
  availableVersions?: string[] | undefined;
553
- createdAt?: string | undefined;
554
- updatedAt?: string | undefined;
555
573
  categories?: {
556
- slug: string;
557
574
  name: string;
575
+ slug: string;
558
576
  }[] | undefined;
559
577
  appUrl?: string | undefined;
560
578
  toolsCount?: number | undefined;
561
579
  triggersCount?: number | undefined;
562
580
  }>;
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, {
571
- slug: string;
581
+ declare const ToolKitItemSchema: z$1.ZodObject<{
582
+ name: z$1.ZodString;
583
+ slug: z$1.ZodString;
584
+ meta: z$1.ZodObject<{
585
+ categories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
586
+ slug: z$1.ZodString;
587
+ name: z$1.ZodString;
588
+ }, "strip", z$1.ZodTypeAny, {
572
589
  name: string;
573
- }, {
574
590
  slug: string;
591
+ }, {
575
592
  name: string;
593
+ slug: string;
576
594
  }>, "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, {
595
+ appUrl: z$1.ZodOptional<z$1.ZodString>;
596
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
597
+ description: z$1.ZodOptional<z$1.ZodString>;
598
+ logo: z$1.ZodOptional<z$1.ZodString>;
599
+ toolsCount: z$1.ZodOptional<z$1.ZodNumber>;
600
+ triggersCount: z$1.ZodOptional<z$1.ZodNumber>;
601
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
602
+ availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
603
+ }, "strip", z$1.ZodTypeAny, {
604
+ createdAt?: string | undefined;
605
+ updatedAt?: string | undefined;
586
606
  logo?: string | undefined;
587
607
  description?: string | undefined;
588
608
  availableVersions?: string[] | undefined;
589
- createdAt?: string | undefined;
590
- updatedAt?: string | undefined;
591
609
  categories?: {
592
- slug: string;
593
610
  name: string;
611
+ slug: string;
594
612
  }[] | undefined;
595
613
  appUrl?: string | undefined;
596
614
  toolsCount?: number | undefined;
597
615
  triggersCount?: number | undefined;
598
616
  }, {
617
+ createdAt?: string | undefined;
618
+ updatedAt?: string | undefined;
599
619
  logo?: string | undefined;
600
620
  description?: string | undefined;
601
621
  availableVersions?: string[] | undefined;
602
- createdAt?: string | undefined;
603
- updatedAt?: string | undefined;
604
622
  categories?: {
605
- slug: string;
606
623
  name: string;
624
+ slug: string;
607
625
  }[] | undefined;
608
626
  appUrl?: string | undefined;
609
627
  toolsCount?: number | undefined;
610
628
  triggersCount?: number | undefined;
611
629
  }>;
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, {
617
- slug: string;
630
+ isLocalToolkit: z$1.ZodBoolean;
631
+ authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
632
+ composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
633
+ noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
634
+ }, "strip", z$1.ZodTypeAny, {
618
635
  name: string;
636
+ slug: string;
619
637
  meta: {
638
+ createdAt?: string | undefined;
639
+ updatedAt?: string | undefined;
620
640
  logo?: string | undefined;
621
641
  description?: string | undefined;
622
642
  availableVersions?: string[] | undefined;
623
- createdAt?: string | undefined;
624
- updatedAt?: string | undefined;
625
643
  categories?: {
626
- slug: string;
627
644
  name: string;
645
+ slug: string;
628
646
  }[] | undefined;
629
647
  appUrl?: string | undefined;
630
648
  toolsCount?: number | undefined;
@@ -635,17 +653,17 @@ declare const ToolKitItemSchema: z.ZodObject<{
635
653
  composioManagedAuthSchemes?: string[] | undefined;
636
654
  noAuth?: boolean | undefined;
637
655
  }, {
638
- slug: string;
639
656
  name: string;
657
+ slug: string;
640
658
  meta: {
659
+ createdAt?: string | undefined;
660
+ updatedAt?: string | undefined;
641
661
  logo?: string | undefined;
642
662
  description?: string | undefined;
643
663
  availableVersions?: string[] | undefined;
644
- createdAt?: string | undefined;
645
- updatedAt?: string | undefined;
646
664
  categories?: {
647
- slug: string;
648
665
  name: string;
666
+ slug: string;
649
667
  }[] | undefined;
650
668
  appUrl?: string | undefined;
651
669
  toolsCount?: number | undefined;
@@ -656,71 +674,71 @@ declare const ToolKitItemSchema: z.ZodObject<{
656
674
  composioManagedAuthSchemes?: string[] | undefined;
657
675
  noAuth?: boolean | undefined;
658
676
  }>;
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, {
667
- slug: string;
677
+ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
678
+ name: z$1.ZodString;
679
+ slug: z$1.ZodString;
680
+ meta: z$1.ZodObject<{
681
+ categories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
682
+ slug: z$1.ZodString;
683
+ name: z$1.ZodString;
684
+ }, "strip", z$1.ZodTypeAny, {
668
685
  name: string;
669
- }, {
670
686
  slug: string;
687
+ }, {
671
688
  name: string;
689
+ slug: string;
672
690
  }>, "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, {
691
+ appUrl: z$1.ZodOptional<z$1.ZodString>;
692
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
693
+ description: z$1.ZodOptional<z$1.ZodString>;
694
+ logo: z$1.ZodOptional<z$1.ZodString>;
695
+ toolsCount: z$1.ZodOptional<z$1.ZodNumber>;
696
+ triggersCount: z$1.ZodOptional<z$1.ZodNumber>;
697
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
698
+ availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
699
+ }, "strip", z$1.ZodTypeAny, {
700
+ createdAt?: string | undefined;
701
+ updatedAt?: string | undefined;
682
702
  logo?: string | undefined;
683
703
  description?: string | undefined;
684
704
  availableVersions?: string[] | undefined;
685
- createdAt?: string | undefined;
686
- updatedAt?: string | undefined;
687
705
  categories?: {
688
- slug: string;
689
706
  name: string;
707
+ slug: string;
690
708
  }[] | undefined;
691
709
  appUrl?: string | undefined;
692
710
  toolsCount?: number | undefined;
693
711
  triggersCount?: number | undefined;
694
712
  }, {
713
+ createdAt?: string | undefined;
714
+ updatedAt?: string | undefined;
695
715
  logo?: string | undefined;
696
716
  description?: string | undefined;
697
717
  availableVersions?: string[] | undefined;
698
- createdAt?: string | undefined;
699
- updatedAt?: string | undefined;
700
718
  categories?: {
701
- slug: string;
702
719
  name: string;
720
+ slug: string;
703
721
  }[] | undefined;
704
722
  appUrl?: string | undefined;
705
723
  toolsCount?: number | undefined;
706
724
  triggersCount?: number | undefined;
707
725
  }>;
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, {
713
- slug: string;
726
+ isLocalToolkit: z$1.ZodBoolean;
727
+ authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
728
+ composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
729
+ noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
730
+ }, "strip", z$1.ZodTypeAny, {
714
731
  name: string;
732
+ slug: string;
715
733
  meta: {
734
+ createdAt?: string | undefined;
735
+ updatedAt?: string | undefined;
716
736
  logo?: string | undefined;
717
737
  description?: string | undefined;
718
738
  availableVersions?: string[] | undefined;
719
- createdAt?: string | undefined;
720
- updatedAt?: string | undefined;
721
739
  categories?: {
722
- slug: string;
723
740
  name: string;
741
+ slug: string;
724
742
  }[] | undefined;
725
743
  appUrl?: string | undefined;
726
744
  toolsCount?: number | undefined;
@@ -731,17 +749,17 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
731
749
  composioManagedAuthSchemes?: string[] | undefined;
732
750
  noAuth?: boolean | undefined;
733
751
  }, {
734
- slug: string;
735
752
  name: string;
753
+ slug: string;
736
754
  meta: {
755
+ createdAt?: string | undefined;
756
+ updatedAt?: string | undefined;
737
757
  logo?: string | undefined;
738
758
  description?: string | undefined;
739
759
  availableVersions?: string[] | undefined;
740
- createdAt?: string | undefined;
741
- updatedAt?: string | undefined;
742
760
  categories?: {
743
- slug: string;
744
761
  name: string;
762
+ slug: string;
745
763
  }[] | undefined;
746
764
  appUrl?: string | undefined;
747
765
  toolsCount?: number | undefined;
@@ -752,95 +770,95 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
752
770
  composioManagedAuthSchemes?: string[] | undefined;
753
771
  noAuth?: boolean | undefined;
754
772
  }>, "many">;
755
- type ToolKitMeta = z.infer<typeof ToolKitMetaSchema>;
756
- type ToolKitItem = z.infer<typeof ToolKitItemSchema>;
757
- type ToolKitListResponse = z.infer<typeof ToolKitListResponseSchema>;
773
+ type ToolKitMeta = z$1.infer<typeof ToolKitMetaSchema>;
774
+ type ToolKitItem = z$1.infer<typeof ToolKitItemSchema>;
775
+ type ToolKitListResponse = z$1.infer<typeof ToolKitListResponseSchema>;
758
776
  /**
759
777
  * Toolkit retrieve response
760
778
  */
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, {
769
- name: string;
779
+ declare const ToolkitAuthFieldSchema: z$1.ZodObject<{
780
+ description: z$1.ZodString;
781
+ displayName: z$1.ZodString;
782
+ required: z$1.ZodBoolean;
783
+ name: z$1.ZodString;
784
+ type: z$1.ZodString;
785
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
786
+ }, "strip", z$1.ZodTypeAny, {
770
787
  type: string;
788
+ name: string;
771
789
  description: string;
772
790
  required: boolean;
773
791
  displayName: string;
774
792
  default?: string | null | undefined;
775
793
  }, {
776
- name: string;
777
794
  type: string;
795
+ name: string;
778
796
  description: string;
779
797
  required: boolean;
780
798
  displayName: string;
781
799
  default?: string | null | undefined;
782
800
  }>;
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, {
796
- name: string;
801
+ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
802
+ name: z$1.ZodString;
803
+ mode: z$1.ZodString;
804
+ fields: z$1.ZodObject<{
805
+ authConfigCreation: z$1.ZodObject<{
806
+ optional: z$1.ZodArray<z$1.ZodObject<{
807
+ description: z$1.ZodString;
808
+ displayName: z$1.ZodString;
809
+ required: z$1.ZodBoolean;
810
+ name: z$1.ZodString;
811
+ type: z$1.ZodString;
812
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
813
+ }, "strip", z$1.ZodTypeAny, {
797
814
  type: string;
815
+ name: string;
798
816
  description: string;
799
817
  required: boolean;
800
818
  displayName: string;
801
819
  default?: string | null | undefined;
802
820
  }, {
803
- name: string;
804
821
  type: string;
822
+ name: string;
805
823
  description: string;
806
824
  required: boolean;
807
825
  displayName: string;
808
826
  default?: string | null | undefined;
809
827
  }>, "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, {
818
- name: string;
828
+ required: z$1.ZodArray<z$1.ZodObject<{
829
+ description: z$1.ZodString;
830
+ displayName: z$1.ZodString;
831
+ required: z$1.ZodBoolean;
832
+ name: z$1.ZodString;
833
+ type: z$1.ZodString;
834
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
835
+ }, "strip", z$1.ZodTypeAny, {
819
836
  type: string;
837
+ name: string;
820
838
  description: string;
821
839
  required: boolean;
822
840
  displayName: string;
823
841
  default?: string | null | undefined;
824
842
  }, {
825
- name: string;
826
843
  type: string;
844
+ name: string;
827
845
  description: string;
828
846
  required: boolean;
829
847
  displayName: string;
830
848
  default?: string | null | undefined;
831
849
  }>, "many">;
832
- }, "strip", z.ZodTypeAny, {
850
+ }, "strip", z$1.ZodTypeAny, {
833
851
  required: {
834
- name: string;
835
852
  type: string;
853
+ name: string;
836
854
  description: string;
837
855
  required: boolean;
838
856
  displayName: string;
839
857
  default?: string | null | undefined;
840
858
  }[];
841
859
  optional: {
842
- name: string;
843
860
  type: string;
861
+ name: string;
844
862
  description: string;
845
863
  required: boolean;
846
864
  displayName: string;
@@ -848,79 +866,79 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
848
866
  }[];
849
867
  }, {
850
868
  required: {
851
- name: string;
852
869
  type: string;
870
+ name: string;
853
871
  description: string;
854
872
  required: boolean;
855
873
  displayName: string;
856
874
  default?: string | null | undefined;
857
875
  }[];
858
876
  optional: {
859
- name: string;
860
877
  type: string;
878
+ name: string;
861
879
  description: string;
862
880
  required: boolean;
863
881
  displayName: string;
864
882
  default?: string | null | undefined;
865
883
  }[];
866
884
  }>;
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, {
876
- name: string;
885
+ connectedAccountInitiation: z$1.ZodObject<{
886
+ optional: z$1.ZodArray<z$1.ZodObject<{
887
+ description: z$1.ZodString;
888
+ displayName: z$1.ZodString;
889
+ required: z$1.ZodBoolean;
890
+ name: z$1.ZodString;
891
+ type: z$1.ZodString;
892
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
893
+ }, "strip", z$1.ZodTypeAny, {
877
894
  type: string;
895
+ name: string;
878
896
  description: string;
879
897
  required: boolean;
880
898
  displayName: string;
881
899
  default?: string | null | undefined;
882
900
  }, {
883
- name: string;
884
901
  type: string;
902
+ name: string;
885
903
  description: string;
886
904
  required: boolean;
887
905
  displayName: string;
888
906
  default?: string | null | undefined;
889
907
  }>, "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, {
898
- name: string;
908
+ required: z$1.ZodArray<z$1.ZodObject<{
909
+ description: z$1.ZodString;
910
+ displayName: z$1.ZodString;
911
+ required: z$1.ZodBoolean;
912
+ name: z$1.ZodString;
913
+ type: z$1.ZodString;
914
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
915
+ }, "strip", z$1.ZodTypeAny, {
899
916
  type: string;
917
+ name: string;
900
918
  description: string;
901
919
  required: boolean;
902
920
  displayName: string;
903
921
  default?: string | null | undefined;
904
922
  }, {
905
- name: string;
906
923
  type: string;
924
+ name: string;
907
925
  description: string;
908
926
  required: boolean;
909
927
  displayName: string;
910
928
  default?: string | null | undefined;
911
929
  }>, "many">;
912
- }, "strip", z.ZodTypeAny, {
930
+ }, "strip", z$1.ZodTypeAny, {
913
931
  required: {
914
- name: string;
915
932
  type: string;
933
+ name: string;
916
934
  description: string;
917
935
  required: boolean;
918
936
  displayName: string;
919
937
  default?: string | null | undefined;
920
938
  }[];
921
939
  optional: {
922
- name: string;
923
940
  type: string;
941
+ name: string;
924
942
  description: string;
925
943
  required: boolean;
926
944
  displayName: string;
@@ -928,35 +946,35 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
928
946
  }[];
929
947
  }, {
930
948
  required: {
931
- name: string;
932
949
  type: string;
950
+ name: string;
933
951
  description: string;
934
952
  required: boolean;
935
953
  displayName: string;
936
954
  default?: string | null | undefined;
937
955
  }[];
938
956
  optional: {
939
- name: string;
940
957
  type: string;
958
+ name: string;
941
959
  description: string;
942
960
  required: boolean;
943
961
  displayName: string;
944
962
  default?: string | null | undefined;
945
963
  }[];
946
964
  }>;
947
- }, "strip", z.ZodTypeAny, {
965
+ }, "strip", z$1.ZodTypeAny, {
948
966
  authConfigCreation: {
949
967
  required: {
950
- name: string;
951
968
  type: string;
969
+ name: string;
952
970
  description: string;
953
971
  required: boolean;
954
972
  displayName: string;
955
973
  default?: string | null | undefined;
956
974
  }[];
957
975
  optional: {
958
- name: string;
959
976
  type: string;
977
+ name: string;
960
978
  description: string;
961
979
  required: boolean;
962
980
  displayName: string;
@@ -965,16 +983,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
965
983
  };
966
984
  connectedAccountInitiation: {
967
985
  required: {
968
- name: string;
969
986
  type: string;
987
+ name: string;
970
988
  description: string;
971
989
  required: boolean;
972
990
  displayName: string;
973
991
  default?: string | null | undefined;
974
992
  }[];
975
993
  optional: {
976
- name: string;
977
994
  type: string;
995
+ name: string;
978
996
  description: string;
979
997
  required: boolean;
980
998
  displayName: string;
@@ -984,16 +1002,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
984
1002
  }, {
985
1003
  authConfigCreation: {
986
1004
  required: {
987
- name: string;
988
1005
  type: string;
1006
+ name: string;
989
1007
  description: string;
990
1008
  required: boolean;
991
1009
  displayName: string;
992
1010
  default?: string | null | undefined;
993
1011
  }[];
994
1012
  optional: {
995
- name: string;
996
1013
  type: string;
1014
+ name: string;
997
1015
  description: string;
998
1016
  required: boolean;
999
1017
  displayName: string;
@@ -1002,16 +1020,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1002
1020
  };
1003
1021
  connectedAccountInitiation: {
1004
1022
  required: {
1005
- name: string;
1006
1023
  type: string;
1024
+ name: string;
1007
1025
  description: string;
1008
1026
  required: boolean;
1009
1027
  displayName: string;
1010
1028
  default?: string | null | undefined;
1011
1029
  }[];
1012
1030
  optional: {
1013
- name: string;
1014
1031
  type: string;
1032
+ name: string;
1015
1033
  description: string;
1016
1034
  required: boolean;
1017
1035
  displayName: string;
@@ -1019,29 +1037,29 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1019
1037
  }[];
1020
1038
  };
1021
1039
  }>;
1022
- proxy: z.ZodOptional<z.ZodObject<{
1023
- baseUrl: z.ZodOptional<z.ZodString>;
1024
- }, "strip", z.ZodTypeAny, {
1040
+ proxy: z$1.ZodOptional<z$1.ZodObject<{
1041
+ baseUrl: z$1.ZodOptional<z$1.ZodString>;
1042
+ }, "strip", z$1.ZodTypeAny, {
1025
1043
  baseUrl?: string | undefined;
1026
1044
  }, {
1027
1045
  baseUrl?: string | undefined;
1028
1046
  }>>;
1029
- }, "strip", z.ZodTypeAny, {
1047
+ }, "strip", z$1.ZodTypeAny, {
1030
1048
  name: string;
1031
1049
  mode: string;
1032
1050
  fields: {
1033
1051
  authConfigCreation: {
1034
1052
  required: {
1035
- name: string;
1036
1053
  type: string;
1054
+ name: string;
1037
1055
  description: string;
1038
1056
  required: boolean;
1039
1057
  displayName: string;
1040
1058
  default?: string | null | undefined;
1041
1059
  }[];
1042
1060
  optional: {
1043
- name: string;
1044
1061
  type: string;
1062
+ name: string;
1045
1063
  description: string;
1046
1064
  required: boolean;
1047
1065
  displayName: string;
@@ -1050,16 +1068,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1050
1068
  };
1051
1069
  connectedAccountInitiation: {
1052
1070
  required: {
1053
- name: string;
1054
1071
  type: string;
1072
+ name: string;
1055
1073
  description: string;
1056
1074
  required: boolean;
1057
1075
  displayName: string;
1058
1076
  default?: string | null | undefined;
1059
1077
  }[];
1060
1078
  optional: {
1061
- name: string;
1062
1079
  type: string;
1080
+ name: string;
1063
1081
  description: string;
1064
1082
  required: boolean;
1065
1083
  displayName: string;
@@ -1076,16 +1094,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1076
1094
  fields: {
1077
1095
  authConfigCreation: {
1078
1096
  required: {
1079
- name: string;
1080
1097
  type: string;
1098
+ name: string;
1081
1099
  description: string;
1082
1100
  required: boolean;
1083
1101
  displayName: string;
1084
1102
  default?: string | null | undefined;
1085
1103
  }[];
1086
1104
  optional: {
1087
- name: string;
1088
1105
  type: string;
1106
+ name: string;
1089
1107
  description: string;
1090
1108
  required: boolean;
1091
1109
  displayName: string;
@@ -1094,16 +1112,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1094
1112
  };
1095
1113
  connectedAccountInitiation: {
1096
1114
  required: {
1097
- name: string;
1098
1115
  type: string;
1116
+ name: string;
1099
1117
  description: string;
1100
1118
  required: boolean;
1101
1119
  displayName: string;
1102
1120
  default?: string | null | undefined;
1103
1121
  }[];
1104
1122
  optional: {
1105
- name: string;
1106
1123
  type: string;
1124
+ name: string;
1107
1125
  description: string;
1108
1126
  required: boolean;
1109
1127
  displayName: string;
@@ -1115,118 +1133,118 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1115
1133
  baseUrl?: string | undefined;
1116
1134
  } | undefined;
1117
1135
  }>;
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, {
1126
- slug: string;
1136
+ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1137
+ name: z$1.ZodString;
1138
+ slug: z$1.ZodString;
1139
+ meta: z$1.ZodObject<{
1140
+ categories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1141
+ slug: z$1.ZodString;
1142
+ name: z$1.ZodString;
1143
+ }, "strip", z$1.ZodTypeAny, {
1127
1144
  name: string;
1128
- }, {
1129
1145
  slug: string;
1146
+ }, {
1130
1147
  name: string;
1148
+ slug: string;
1131
1149
  }>, "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, {
1150
+ appUrl: z$1.ZodOptional<z$1.ZodString>;
1151
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
1152
+ description: z$1.ZodOptional<z$1.ZodString>;
1153
+ logo: z$1.ZodOptional<z$1.ZodString>;
1154
+ toolsCount: z$1.ZodOptional<z$1.ZodNumber>;
1155
+ triggersCount: z$1.ZodOptional<z$1.ZodNumber>;
1156
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
1157
+ availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1158
+ }, "strip", z$1.ZodTypeAny, {
1159
+ createdAt?: string | undefined;
1160
+ updatedAt?: string | undefined;
1141
1161
  logo?: string | undefined;
1142
1162
  description?: string | undefined;
1143
1163
  availableVersions?: string[] | undefined;
1144
- createdAt?: string | undefined;
1145
- updatedAt?: string | undefined;
1146
1164
  categories?: {
1147
- slug: string;
1148
1165
  name: string;
1166
+ slug: string;
1149
1167
  }[] | undefined;
1150
1168
  appUrl?: string | undefined;
1151
1169
  toolsCount?: number | undefined;
1152
1170
  triggersCount?: number | undefined;
1153
1171
  }, {
1172
+ createdAt?: string | undefined;
1173
+ updatedAt?: string | undefined;
1154
1174
  logo?: string | undefined;
1155
1175
  description?: string | undefined;
1156
1176
  availableVersions?: string[] | undefined;
1157
- createdAt?: string | undefined;
1158
- updatedAt?: string | undefined;
1159
1177
  categories?: {
1160
- slug: string;
1161
1178
  name: string;
1179
+ slug: string;
1162
1180
  }[] | undefined;
1163
1181
  appUrl?: string | undefined;
1164
1182
  toolsCount?: number | undefined;
1165
1183
  triggersCount?: number | undefined;
1166
1184
  }>;
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, {
1182
- name: string;
1185
+ isLocalToolkit: z$1.ZodBoolean;
1186
+ composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1187
+ authConfigDetails: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1188
+ name: z$1.ZodString;
1189
+ mode: z$1.ZodString;
1190
+ fields: z$1.ZodObject<{
1191
+ authConfigCreation: z$1.ZodObject<{
1192
+ optional: z$1.ZodArray<z$1.ZodObject<{
1193
+ description: z$1.ZodString;
1194
+ displayName: z$1.ZodString;
1195
+ required: z$1.ZodBoolean;
1196
+ name: z$1.ZodString;
1197
+ type: z$1.ZodString;
1198
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1199
+ }, "strip", z$1.ZodTypeAny, {
1183
1200
  type: string;
1201
+ name: string;
1184
1202
  description: string;
1185
1203
  required: boolean;
1186
1204
  displayName: string;
1187
1205
  default?: string | null | undefined;
1188
1206
  }, {
1189
- name: string;
1190
1207
  type: string;
1208
+ name: string;
1191
1209
  description: string;
1192
1210
  required: boolean;
1193
1211
  displayName: string;
1194
1212
  default?: string | null | undefined;
1195
1213
  }>, "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, {
1204
- name: string;
1214
+ required: z$1.ZodArray<z$1.ZodObject<{
1215
+ description: z$1.ZodString;
1216
+ displayName: z$1.ZodString;
1217
+ required: z$1.ZodBoolean;
1218
+ name: z$1.ZodString;
1219
+ type: z$1.ZodString;
1220
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1221
+ }, "strip", z$1.ZodTypeAny, {
1205
1222
  type: string;
1223
+ name: string;
1206
1224
  description: string;
1207
1225
  required: boolean;
1208
1226
  displayName: string;
1209
1227
  default?: string | null | undefined;
1210
1228
  }, {
1211
- name: string;
1212
1229
  type: string;
1230
+ name: string;
1213
1231
  description: string;
1214
1232
  required: boolean;
1215
1233
  displayName: string;
1216
1234
  default?: string | null | undefined;
1217
1235
  }>, "many">;
1218
- }, "strip", z.ZodTypeAny, {
1236
+ }, "strip", z$1.ZodTypeAny, {
1219
1237
  required: {
1220
- name: string;
1221
1238
  type: string;
1239
+ name: string;
1222
1240
  description: string;
1223
1241
  required: boolean;
1224
1242
  displayName: string;
1225
1243
  default?: string | null | undefined;
1226
1244
  }[];
1227
1245
  optional: {
1228
- name: string;
1229
1246
  type: string;
1247
+ name: string;
1230
1248
  description: string;
1231
1249
  required: boolean;
1232
1250
  displayName: string;
@@ -1234,79 +1252,79 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1234
1252
  }[];
1235
1253
  }, {
1236
1254
  required: {
1237
- name: string;
1238
1255
  type: string;
1256
+ name: string;
1239
1257
  description: string;
1240
1258
  required: boolean;
1241
1259
  displayName: string;
1242
1260
  default?: string | null | undefined;
1243
1261
  }[];
1244
1262
  optional: {
1245
- name: string;
1246
1263
  type: string;
1264
+ name: string;
1247
1265
  description: string;
1248
1266
  required: boolean;
1249
1267
  displayName: string;
1250
1268
  default?: string | null | undefined;
1251
1269
  }[];
1252
1270
  }>;
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, {
1262
- name: string;
1271
+ connectedAccountInitiation: z$1.ZodObject<{
1272
+ optional: z$1.ZodArray<z$1.ZodObject<{
1273
+ description: z$1.ZodString;
1274
+ displayName: z$1.ZodString;
1275
+ required: z$1.ZodBoolean;
1276
+ name: z$1.ZodString;
1277
+ type: z$1.ZodString;
1278
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1279
+ }, "strip", z$1.ZodTypeAny, {
1263
1280
  type: string;
1281
+ name: string;
1264
1282
  description: string;
1265
1283
  required: boolean;
1266
1284
  displayName: string;
1267
1285
  default?: string | null | undefined;
1268
1286
  }, {
1269
- name: string;
1270
1287
  type: string;
1288
+ name: string;
1271
1289
  description: string;
1272
1290
  required: boolean;
1273
1291
  displayName: string;
1274
1292
  default?: string | null | undefined;
1275
1293
  }>, "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, {
1284
- name: string;
1294
+ required: z$1.ZodArray<z$1.ZodObject<{
1295
+ description: z$1.ZodString;
1296
+ displayName: z$1.ZodString;
1297
+ required: z$1.ZodBoolean;
1298
+ name: z$1.ZodString;
1299
+ type: z$1.ZodString;
1300
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1301
+ }, "strip", z$1.ZodTypeAny, {
1285
1302
  type: string;
1303
+ name: string;
1286
1304
  description: string;
1287
1305
  required: boolean;
1288
1306
  displayName: string;
1289
1307
  default?: string | null | undefined;
1290
1308
  }, {
1291
- name: string;
1292
1309
  type: string;
1310
+ name: string;
1293
1311
  description: string;
1294
1312
  required: boolean;
1295
1313
  displayName: string;
1296
1314
  default?: string | null | undefined;
1297
1315
  }>, "many">;
1298
- }, "strip", z.ZodTypeAny, {
1316
+ }, "strip", z$1.ZodTypeAny, {
1299
1317
  required: {
1300
- name: string;
1301
1318
  type: string;
1319
+ name: string;
1302
1320
  description: string;
1303
1321
  required: boolean;
1304
1322
  displayName: string;
1305
1323
  default?: string | null | undefined;
1306
1324
  }[];
1307
1325
  optional: {
1308
- name: string;
1309
1326
  type: string;
1327
+ name: string;
1310
1328
  description: string;
1311
1329
  required: boolean;
1312
1330
  displayName: string;
@@ -1314,35 +1332,35 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1314
1332
  }[];
1315
1333
  }, {
1316
1334
  required: {
1317
- name: string;
1318
1335
  type: string;
1336
+ name: string;
1319
1337
  description: string;
1320
1338
  required: boolean;
1321
1339
  displayName: string;
1322
1340
  default?: string | null | undefined;
1323
1341
  }[];
1324
1342
  optional: {
1325
- name: string;
1326
1343
  type: string;
1344
+ name: string;
1327
1345
  description: string;
1328
1346
  required: boolean;
1329
1347
  displayName: string;
1330
1348
  default?: string | null | undefined;
1331
1349
  }[];
1332
1350
  }>;
1333
- }, "strip", z.ZodTypeAny, {
1351
+ }, "strip", z$1.ZodTypeAny, {
1334
1352
  authConfigCreation: {
1335
1353
  required: {
1336
- name: string;
1337
1354
  type: string;
1355
+ name: string;
1338
1356
  description: string;
1339
1357
  required: boolean;
1340
1358
  displayName: string;
1341
1359
  default?: string | null | undefined;
1342
1360
  }[];
1343
1361
  optional: {
1344
- name: string;
1345
1362
  type: string;
1363
+ name: string;
1346
1364
  description: string;
1347
1365
  required: boolean;
1348
1366
  displayName: string;
@@ -1351,16 +1369,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1351
1369
  };
1352
1370
  connectedAccountInitiation: {
1353
1371
  required: {
1354
- name: string;
1355
1372
  type: string;
1373
+ name: string;
1356
1374
  description: string;
1357
1375
  required: boolean;
1358
1376
  displayName: string;
1359
1377
  default?: string | null | undefined;
1360
1378
  }[];
1361
1379
  optional: {
1362
- name: string;
1363
1380
  type: string;
1381
+ name: string;
1364
1382
  description: string;
1365
1383
  required: boolean;
1366
1384
  displayName: string;
@@ -1370,16 +1388,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1370
1388
  }, {
1371
1389
  authConfigCreation: {
1372
1390
  required: {
1373
- name: string;
1374
1391
  type: string;
1392
+ name: string;
1375
1393
  description: string;
1376
1394
  required: boolean;
1377
1395
  displayName: string;
1378
1396
  default?: string | null | undefined;
1379
1397
  }[];
1380
1398
  optional: {
1381
- name: string;
1382
1399
  type: string;
1400
+ name: string;
1383
1401
  description: string;
1384
1402
  required: boolean;
1385
1403
  displayName: string;
@@ -1388,16 +1406,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1388
1406
  };
1389
1407
  connectedAccountInitiation: {
1390
1408
  required: {
1391
- name: string;
1392
1409
  type: string;
1410
+ name: string;
1393
1411
  description: string;
1394
1412
  required: boolean;
1395
1413
  displayName: string;
1396
1414
  default?: string | null | undefined;
1397
1415
  }[];
1398
1416
  optional: {
1399
- name: string;
1400
1417
  type: string;
1418
+ name: string;
1401
1419
  description: string;
1402
1420
  required: boolean;
1403
1421
  displayName: string;
@@ -1405,29 +1423,29 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1405
1423
  }[];
1406
1424
  };
1407
1425
  }>;
1408
- proxy: z.ZodOptional<z.ZodObject<{
1409
- baseUrl: z.ZodOptional<z.ZodString>;
1410
- }, "strip", z.ZodTypeAny, {
1426
+ proxy: z$1.ZodOptional<z$1.ZodObject<{
1427
+ baseUrl: z$1.ZodOptional<z$1.ZodString>;
1428
+ }, "strip", z$1.ZodTypeAny, {
1411
1429
  baseUrl?: string | undefined;
1412
1430
  }, {
1413
1431
  baseUrl?: string | undefined;
1414
1432
  }>>;
1415
- }, "strip", z.ZodTypeAny, {
1433
+ }, "strip", z$1.ZodTypeAny, {
1416
1434
  name: string;
1417
1435
  mode: string;
1418
1436
  fields: {
1419
1437
  authConfigCreation: {
1420
1438
  required: {
1421
- name: string;
1422
1439
  type: string;
1440
+ name: string;
1423
1441
  description: string;
1424
1442
  required: boolean;
1425
1443
  displayName: string;
1426
1444
  default?: string | null | undefined;
1427
1445
  }[];
1428
1446
  optional: {
1429
- name: string;
1430
1447
  type: string;
1448
+ name: string;
1431
1449
  description: string;
1432
1450
  required: boolean;
1433
1451
  displayName: string;
@@ -1436,16 +1454,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1436
1454
  };
1437
1455
  connectedAccountInitiation: {
1438
1456
  required: {
1439
- name: string;
1440
1457
  type: string;
1458
+ name: string;
1441
1459
  description: string;
1442
1460
  required: boolean;
1443
1461
  displayName: string;
1444
1462
  default?: string | null | undefined;
1445
1463
  }[];
1446
1464
  optional: {
1447
- name: string;
1448
1465
  type: string;
1466
+ name: string;
1449
1467
  description: string;
1450
1468
  required: boolean;
1451
1469
  displayName: string;
@@ -1462,16 +1480,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1462
1480
  fields: {
1463
1481
  authConfigCreation: {
1464
1482
  required: {
1465
- name: string;
1466
1483
  type: string;
1484
+ name: string;
1467
1485
  description: string;
1468
1486
  required: boolean;
1469
1487
  displayName: string;
1470
1488
  default?: string | null | undefined;
1471
1489
  }[];
1472
1490
  optional: {
1473
- name: string;
1474
1491
  type: string;
1492
+ name: string;
1475
1493
  description: string;
1476
1494
  required: boolean;
1477
1495
  displayName: string;
@@ -1480,16 +1498,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1480
1498
  };
1481
1499
  connectedAccountInitiation: {
1482
1500
  required: {
1483
- name: string;
1484
1501
  type: string;
1502
+ name: string;
1485
1503
  description: string;
1486
1504
  required: boolean;
1487
1505
  displayName: string;
1488
1506
  default?: string | null | undefined;
1489
1507
  }[];
1490
1508
  optional: {
1491
- name: string;
1492
1509
  type: string;
1510
+ name: string;
1493
1511
  description: string;
1494
1512
  required: boolean;
1495
1513
  displayName: string;
@@ -1501,21 +1519,21 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1501
1519
  baseUrl?: string | undefined;
1502
1520
  } | undefined;
1503
1521
  }>, "many">>;
1504
- baseUrl: z.ZodOptional<z.ZodString>;
1505
- getCurrentUserEndpoint: z.ZodOptional<z.ZodString>;
1506
- getCurrentUserEndpointMethod: z.ZodOptional<z.ZodString>;
1507
- }, "strip", z.ZodTypeAny, {
1508
- slug: string;
1522
+ baseUrl: z$1.ZodOptional<z$1.ZodString>;
1523
+ getCurrentUserEndpoint: z$1.ZodOptional<z$1.ZodString>;
1524
+ getCurrentUserEndpointMethod: z$1.ZodOptional<z$1.ZodString>;
1525
+ }, "strip", z$1.ZodTypeAny, {
1509
1526
  name: string;
1527
+ slug: string;
1510
1528
  meta: {
1529
+ createdAt?: string | undefined;
1530
+ updatedAt?: string | undefined;
1511
1531
  logo?: string | undefined;
1512
1532
  description?: string | undefined;
1513
1533
  availableVersions?: string[] | undefined;
1514
- createdAt?: string | undefined;
1515
- updatedAt?: string | undefined;
1516
1534
  categories?: {
1517
- slug: string;
1518
1535
  name: string;
1536
+ slug: string;
1519
1537
  }[] | undefined;
1520
1538
  appUrl?: string | undefined;
1521
1539
  toolsCount?: number | undefined;
@@ -1530,16 +1548,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1530
1548
  fields: {
1531
1549
  authConfigCreation: {
1532
1550
  required: {
1533
- name: string;
1534
1551
  type: string;
1552
+ name: string;
1535
1553
  description: string;
1536
1554
  required: boolean;
1537
1555
  displayName: string;
1538
1556
  default?: string | null | undefined;
1539
1557
  }[];
1540
1558
  optional: {
1541
- name: string;
1542
1559
  type: string;
1560
+ name: string;
1543
1561
  description: string;
1544
1562
  required: boolean;
1545
1563
  displayName: string;
@@ -1548,16 +1566,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1548
1566
  };
1549
1567
  connectedAccountInitiation: {
1550
1568
  required: {
1551
- name: string;
1552
1569
  type: string;
1570
+ name: string;
1553
1571
  description: string;
1554
1572
  required: boolean;
1555
1573
  displayName: string;
1556
1574
  default?: string | null | undefined;
1557
1575
  }[];
1558
1576
  optional: {
1559
- name: string;
1560
1577
  type: string;
1578
+ name: string;
1561
1579
  description: string;
1562
1580
  required: boolean;
1563
1581
  displayName: string;
@@ -1572,17 +1590,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1572
1590
  getCurrentUserEndpoint?: string | undefined;
1573
1591
  getCurrentUserEndpointMethod?: string | undefined;
1574
1592
  }, {
1575
- slug: string;
1576
1593
  name: string;
1594
+ slug: string;
1577
1595
  meta: {
1596
+ createdAt?: string | undefined;
1597
+ updatedAt?: string | undefined;
1578
1598
  logo?: string | undefined;
1579
1599
  description?: string | undefined;
1580
1600
  availableVersions?: string[] | undefined;
1581
- createdAt?: string | undefined;
1582
- updatedAt?: string | undefined;
1583
1601
  categories?: {
1584
- slug: string;
1585
1602
  name: string;
1603
+ slug: string;
1586
1604
  }[] | undefined;
1587
1605
  appUrl?: string | undefined;
1588
1606
  toolsCount?: number | undefined;
@@ -1597,16 +1615,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1597
1615
  fields: {
1598
1616
  authConfigCreation: {
1599
1617
  required: {
1600
- name: string;
1601
1618
  type: string;
1619
+ name: string;
1602
1620
  description: string;
1603
1621
  required: boolean;
1604
1622
  displayName: string;
1605
1623
  default?: string | null | undefined;
1606
1624
  }[];
1607
1625
  optional: {
1608
- name: string;
1609
1626
  type: string;
1627
+ name: string;
1610
1628
  description: string;
1611
1629
  required: boolean;
1612
1630
  displayName: string;
@@ -1615,16 +1633,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1615
1633
  };
1616
1634
  connectedAccountInitiation: {
1617
1635
  required: {
1618
- name: string;
1619
1636
  type: string;
1637
+ name: string;
1620
1638
  description: string;
1621
1639
  required: boolean;
1622
1640
  displayName: string;
1623
1641
  default?: string | null | undefined;
1624
1642
  }[];
1625
1643
  optional: {
1626
- name: string;
1627
1644
  type: string;
1645
+ name: string;
1628
1646
  description: string;
1629
1647
  required: boolean;
1630
1648
  displayName: string;
@@ -1639,36 +1657,36 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1639
1657
  getCurrentUserEndpoint?: string | undefined;
1640
1658
  getCurrentUserEndpointMethod?: string | undefined;
1641
1659
  }>;
1642
- type ToolkitAuthField = z.infer<typeof ToolkitAuthFieldSchema>;
1643
- type ToolkitAuthConfigDetails = z.infer<typeof ToolkitAuthConfigDetailsSchema>;
1644
- type ToolkitRetrieveResponse = z.infer<typeof ToolkitRetrieveResponseSchema>;
1660
+ type ToolkitAuthField = z$1.infer<typeof ToolkitAuthFieldSchema>;
1661
+ type ToolkitAuthConfigDetails = z$1.infer<typeof ToolkitAuthConfigDetailsSchema>;
1662
+ type ToolkitRetrieveResponse = z$1.infer<typeof ToolkitRetrieveResponseSchema>;
1645
1663
  /**
1646
1664
  * Toolkit categories response
1647
1665
  */
1648
- declare const ToolkitCategorySchema: z.ZodObject<{
1649
- id: z.ZodString;
1650
- name: z.ZodString;
1651
- }, "strip", z.ZodTypeAny, {
1666
+ declare const ToolkitCategorySchema: z$1.ZodObject<{
1667
+ id: z$1.ZodString;
1668
+ name: z$1.ZodString;
1669
+ }, "strip", z$1.ZodTypeAny, {
1652
1670
  name: string;
1653
1671
  id: string;
1654
1672
  }, {
1655
1673
  name: string;
1656
1674
  id: string;
1657
1675
  }>;
1658
- declare const ToolkitRetrieveCategoriesResponseSchema: z.ZodObject<{
1659
- items: z.ZodArray<z.ZodObject<{
1660
- id: z.ZodString;
1661
- name: z.ZodString;
1662
- }, "strip", z.ZodTypeAny, {
1676
+ declare const ToolkitRetrieveCategoriesResponseSchema: z$1.ZodObject<{
1677
+ items: z$1.ZodArray<z$1.ZodObject<{
1678
+ id: z$1.ZodString;
1679
+ name: z$1.ZodString;
1680
+ }, "strip", z$1.ZodTypeAny, {
1663
1681
  name: string;
1664
1682
  id: string;
1665
1683
  }, {
1666
1684
  name: string;
1667
1685
  id: string;
1668
1686
  }>, "many">;
1669
- nextCursor: z.ZodNullable<z.ZodString>;
1670
- totalPages: z.ZodNumber;
1671
- }, "strip", z.ZodTypeAny, {
1687
+ nextCursor: z$1.ZodNullable<z$1.ZodString>;
1688
+ totalPages: z$1.ZodNumber;
1689
+ }, "strip", z$1.ZodTypeAny, {
1672
1690
  items: {
1673
1691
  name: string;
1674
1692
  id: string;
@@ -1683,32 +1701,32 @@ declare const ToolkitRetrieveCategoriesResponseSchema: z.ZodObject<{
1683
1701
  nextCursor: string | null;
1684
1702
  totalPages: number;
1685
1703
  }>;
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>>;
1704
+ type ToolkitCategory = z$1.infer<typeof ToolkitCategorySchema>;
1705
+ type ToolkitRetrieveCategoriesResponse = z$1.infer<typeof ToolkitRetrieveCategoriesResponseSchema>;
1706
+ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
1707
+ description: z$1.ZodString;
1708
+ displayName: z$1.ZodString;
1709
+ name: z$1.ZodString;
1710
+ type: z$1.ZodString;
1711
+ default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
1694
1712
  } & {
1695
- required: z.ZodOptional<z.ZodBoolean>;
1696
- }, "strip", z.ZodTypeAny, {
1697
- name: string;
1713
+ required: z$1.ZodOptional<z$1.ZodBoolean>;
1714
+ }, "strip", z$1.ZodTypeAny, {
1698
1715
  type: string;
1716
+ name: string;
1699
1717
  description: string;
1700
1718
  displayName: string;
1701
1719
  required?: boolean | undefined;
1702
1720
  default?: string | null | undefined;
1703
1721
  }, {
1704
- name: string;
1705
1722
  type: string;
1723
+ name: string;
1706
1724
  description: string;
1707
1725
  displayName: string;
1708
1726
  required?: boolean | undefined;
1709
1727
  default?: string | null | undefined;
1710
1728
  }>, "many">;
1711
- type ToolkitAuthFieldsResponse = z.infer<typeof ToolkitAuthFieldsResponseSchema>;
1729
+ type ToolkitAuthFieldsResponse = z$1.infer<typeof ToolkitAuthFieldsResponseSchema>;
1712
1730
  //#endregion
1713
1731
  //#region src/types/authConfigs.types.d.ts
1714
1732
  declare const AuthConfigTypes: {
@@ -1733,48 +1751,48 @@ declare const AuthSchemeTypes: {
1733
1751
  readonly S2S_OAUTH2: "S2S_OAUTH2";
1734
1752
  };
1735
1753
  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, {
1754
+ declare const AuthConfigCreationToolAccessConfigSchema: z$1.ZodObject<{
1755
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1756
+ }, "strip", z$1.ZodTypeAny, {
1739
1757
  toolsForConnectedAccountCreation?: string[] | undefined;
1740
1758
  }, {
1741
1759
  toolsForConnectedAccountCreation?: string[] | undefined;
1742
1760
  }>;
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, {
1761
+ declare const AuthConfigToolAccessConfigSchema: z$1.ZodObject<{
1762
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1763
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1764
+ }, "strip", z$1.ZodTypeAny, {
1747
1765
  toolsForConnectedAccountCreation?: string[] | undefined;
1748
1766
  toolsAvailableForExecution?: string[] | undefined;
1749
1767
  }, {
1750
1768
  toolsForConnectedAccountCreation?: string[] | undefined;
1751
1769
  toolsAvailableForExecution?: string[] | undefined;
1752
1770
  }>;
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, {
1771
+ 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"]>;
1772
+ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
1773
+ type: z$1.ZodLiteral<"use_custom_auth">;
1774
+ name: z$1.ZodOptional<z$1.ZodString>;
1775
+ credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>;
1776
+ 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"]>;
1777
+ proxyConfig: z$1.ZodOptional<z$1.ZodObject<{
1778
+ proxyUrl: z$1.ZodString;
1779
+ proxyAuthKey: z$1.ZodOptional<z$1.ZodString>;
1780
+ }, "strip", z$1.ZodTypeAny, {
1763
1781
  proxyUrl: string;
1764
1782
  proxyAuthKey?: string | undefined;
1765
1783
  }, {
1766
1784
  proxyUrl: string;
1767
1785
  proxyAuthKey?: string | undefined;
1768
1786
  }>>;
1769
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
1770
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1771
- }, "strip", z.ZodTypeAny, {
1787
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
1788
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1789
+ }, "strip", z$1.ZodTypeAny, {
1772
1790
  toolsForConnectedAccountCreation?: string[] | undefined;
1773
1791
  }, {
1774
1792
  toolsForConnectedAccountCreation?: string[] | undefined;
1775
1793
  }>>;
1776
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1777
- }, "strip", z.ZodTypeAny, {
1794
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1795
+ }, "strip", z$1.ZodTypeAny, {
1778
1796
  type: "use_custom_auth";
1779
1797
  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
1798
  credentials: Record<string, string | number | boolean>;
@@ -1801,34 +1819,34 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
1801
1819
  } | undefined;
1802
1820
  isEnabledForToolRouter?: boolean | undefined;
1803
1821
  }>;
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, {
1822
+ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
1823
+ type: z$1.ZodLiteral<"use_composio_managed_auth">;
1824
+ name: z$1.ZodOptional<z$1.ZodString>;
1825
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
1826
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1827
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1828
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1829
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1830
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1831
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1832
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1833
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1834
+ }, z$1.ZodTypeAny, "passthrough">>>;
1835
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
1836
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1837
+ }, "strip", z$1.ZodTypeAny, {
1820
1838
  toolsForConnectedAccountCreation?: string[] | undefined;
1821
1839
  }, {
1822
1840
  toolsForConnectedAccountCreation?: string[] | undefined;
1823
1841
  }>>;
1824
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1825
- }, "strip", z.ZodTypeAny, {
1842
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1843
+ }, "strip", z$1.ZodTypeAny, {
1826
1844
  type: "use_composio_managed_auth";
1827
1845
  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;
1846
+ credentials?: z$1.objectOutputType<{
1847
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1848
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1849
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
1832
1850
  toolAccessConfig?: {
1833
1851
  toolsForConnectedAccountCreation?: string[] | undefined;
1834
1852
  } | undefined;
@@ -1836,10 +1854,10 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
1836
1854
  }, {
1837
1855
  type: "use_composio_managed_auth";
1838
1856
  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;
1857
+ credentials?: z$1.objectInputType<{
1858
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1859
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1860
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
1843
1861
  toolAccessConfig?: {
1844
1862
  toolsForConnectedAccountCreation?: string[] | undefined;
1845
1863
  } | undefined;
@@ -1848,30 +1866,30 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
1848
1866
  /**
1849
1867
  * Discriminated union of all possible auth config types.
1850
1868
  */
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, {
1869
+ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
1870
+ type: z$1.ZodLiteral<"use_custom_auth">;
1871
+ name: z$1.ZodOptional<z$1.ZodString>;
1872
+ credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>;
1873
+ 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"]>;
1874
+ proxyConfig: z$1.ZodOptional<z$1.ZodObject<{
1875
+ proxyUrl: z$1.ZodString;
1876
+ proxyAuthKey: z$1.ZodOptional<z$1.ZodString>;
1877
+ }, "strip", z$1.ZodTypeAny, {
1860
1878
  proxyUrl: string;
1861
1879
  proxyAuthKey?: string | undefined;
1862
1880
  }, {
1863
1881
  proxyUrl: string;
1864
1882
  proxyAuthKey?: string | undefined;
1865
1883
  }>>;
1866
- toolAccessConfig: z.ZodOptional<z.ZodObject<{
1867
- toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1868
- }, "strip", z.ZodTypeAny, {
1884
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
1885
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1886
+ }, "strip", z$1.ZodTypeAny, {
1869
1887
  toolsForConnectedAccountCreation?: string[] | undefined;
1870
1888
  }, {
1871
1889
  toolsForConnectedAccountCreation?: string[] | undefined;
1872
1890
  }>>;
1873
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1874
- }, "strip", z.ZodTypeAny, {
1891
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1892
+ }, "strip", z$1.ZodTypeAny, {
1875
1893
  type: "use_custom_auth";
1876
1894
  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
1895
  credentials: Record<string, string | number | boolean>;
@@ -1897,34 +1915,34 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1897
1915
  toolsForConnectedAccountCreation?: string[] | undefined;
1898
1916
  } | undefined;
1899
1917
  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, {
1918
+ }>, z$1.ZodObject<{
1919
+ type: z$1.ZodLiteral<"use_composio_managed_auth">;
1920
+ name: z$1.ZodOptional<z$1.ZodString>;
1921
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
1922
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1923
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1924
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
1925
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1926
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1927
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
1928
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1929
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1930
+ }, z$1.ZodTypeAny, "passthrough">>>;
1931
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
1932
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1933
+ }, "strip", z$1.ZodTypeAny, {
1916
1934
  toolsForConnectedAccountCreation?: string[] | undefined;
1917
1935
  }, {
1918
1936
  toolsForConnectedAccountCreation?: string[] | undefined;
1919
1937
  }>>;
1920
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
1921
- }, "strip", z.ZodTypeAny, {
1938
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1939
+ }, "strip", z$1.ZodTypeAny, {
1922
1940
  type: "use_composio_managed_auth";
1923
1941
  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;
1942
+ credentials?: z$1.objectOutputType<{
1943
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1944
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1945
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
1928
1946
  toolAccessConfig?: {
1929
1947
  toolsForConnectedAccountCreation?: string[] | undefined;
1930
1948
  } | undefined;
@@ -1932,81 +1950,81 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1932
1950
  }, {
1933
1951
  type: "use_composio_managed_auth";
1934
1952
  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;
1953
+ credentials?: z$1.objectInputType<{
1954
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1955
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
1956
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
1939
1957
  toolAccessConfig?: {
1940
1958
  toolsForConnectedAccountCreation?: string[] | undefined;
1941
1959
  } | undefined;
1942
1960
  isEnabledForToolRouter?: boolean | undefined;
1943
1961
  }>]>;
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, {
1962
+ type CreateAuthConfigParams = z$1.infer<typeof CreateAuthConfigParamsSchema>;
1963
+ declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
1964
+ id: z$1.ZodString;
1965
+ authScheme: z$1.ZodString;
1966
+ isComposioManaged: z$1.ZodBoolean;
1967
+ toolkit: z$1.ZodString;
1968
+ }, "strip", z$1.ZodTypeAny, {
1951
1969
  toolkit: string;
1952
- authScheme: string;
1953
1970
  id: string;
1971
+ authScheme: string;
1954
1972
  isComposioManaged: boolean;
1955
1973
  }, {
1956
1974
  toolkit: string;
1957
- authScheme: string;
1958
1975
  id: string;
1976
+ authScheme: string;
1959
1977
  isComposioManaged: boolean;
1960
1978
  }>;
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, {
1979
+ type CreateAuthConfigResponse = z$1.infer<typeof CreateAuthConfigResponseSchema>;
1980
+ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
1981
+ id: z$1.ZodString;
1982
+ name: z$1.ZodString;
1983
+ toolkit: z$1.ZodObject<{
1984
+ logo: z$1.ZodString;
1985
+ slug: z$1.ZodString;
1986
+ }, "strip", z$1.ZodTypeAny, {
1969
1987
  slug: string;
1970
1988
  logo: string;
1971
1989
  }, {
1972
1990
  slug: string;
1973
1991
  logo: string;
1974
1992
  }>;
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>;
1993
+ noOfConnections: z$1.ZodNumber;
1994
+ status: z$1.ZodEnum<["ENABLED", "DISABLED"]>;
1995
+ 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"]>>;
1996
+ credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
1997
+ expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
1998
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
1981
1999
  /**
1982
2000
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
1983
2001
  */
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, {
2002
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2003
+ isComposioManaged: z$1.ZodOptional<z$1.ZodBoolean>;
2004
+ createdBy: z$1.ZodOptional<z$1.ZodString>;
2005
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
2006
+ lastUpdatedAt: z$1.ZodOptional<z$1.ZodString>;
2007
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2008
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2009
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2010
+ }, "strip", z$1.ZodTypeAny, {
1993
2011
  toolsForConnectedAccountCreation?: string[] | undefined;
1994
2012
  toolsAvailableForExecution?: string[] | undefined;
1995
2013
  }, {
1996
2014
  toolsForConnectedAccountCreation?: string[] | undefined;
1997
2015
  toolsAvailableForExecution?: string[] | undefined;
1998
2016
  }>>;
1999
- }, "strip", z.ZodTypeAny, {
2000
- name: string;
2001
- status: "ENABLED" | "DISABLED";
2017
+ }, "strip", z$1.ZodTypeAny, {
2002
2018
  toolkit: {
2003
2019
  slug: string;
2004
2020
  logo: string;
2005
2021
  };
2022
+ status: "ENABLED" | "DISABLED";
2023
+ name: string;
2006
2024
  id: string;
2007
2025
  noOfConnections: number;
2008
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2009
2026
  createdAt?: string | undefined;
2027
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2010
2028
  credentials?: Record<string, unknown> | undefined;
2011
2029
  toolAccessConfig?: {
2012
2030
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2019,16 +2037,16 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
2019
2037
  createdBy?: string | undefined;
2020
2038
  lastUpdatedAt?: string | undefined;
2021
2039
  }, {
2022
- name: string;
2023
- status: "ENABLED" | "DISABLED";
2024
2040
  toolkit: {
2025
2041
  slug: string;
2026
2042
  logo: string;
2027
2043
  };
2044
+ status: "ENABLED" | "DISABLED";
2045
+ name: string;
2028
2046
  id: string;
2029
2047
  noOfConnections: number;
2030
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2031
2048
  createdAt?: string | undefined;
2049
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2032
2050
  credentials?: Record<string, unknown> | undefined;
2033
2051
  toolAccessConfig?: {
2034
2052
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2041,79 +2059,79 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
2041
2059
  createdBy?: string | undefined;
2042
2060
  lastUpdatedAt?: string | undefined;
2043
2061
  }>;
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, {
2062
+ type AuthConfigRetrieveResponse = z$1.infer<typeof AuthConfigRetrieveResponseSchema>;
2063
+ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
2064
+ cursor: z$1.ZodOptional<z$1.ZodString>;
2065
+ isComposioManaged: z$1.ZodOptional<z$1.ZodBoolean>;
2066
+ limit: z$1.ZodOptional<z$1.ZodNumber>;
2067
+ search: z$1.ZodOptional<z$1.ZodString>;
2068
+ showDisabled: z$1.ZodOptional<z$1.ZodBoolean>;
2069
+ toolkit: z$1.ZodOptional<z$1.ZodString>;
2070
+ }, "strip", z$1.ZodTypeAny, {
2053
2071
  toolkit?: string | undefined;
2072
+ cursor?: string | undefined;
2054
2073
  limit?: number | undefined;
2055
2074
  search?: string | undefined;
2056
- cursor?: string | undefined;
2057
2075
  isComposioManaged?: boolean | undefined;
2058
2076
  showDisabled?: boolean | undefined;
2059
2077
  }, {
2060
2078
  toolkit?: string | undefined;
2079
+ cursor?: string | undefined;
2061
2080
  limit?: number | undefined;
2062
2081
  search?: string | undefined;
2063
- cursor?: string | undefined;
2064
2082
  isComposioManaged?: boolean | undefined;
2065
2083
  showDisabled?: boolean | undefined;
2066
2084
  }>;
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, {
2085
+ type AuthConfigListParams = z$1.infer<typeof AuthConfigListParamsSchema>;
2086
+ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2087
+ items: z$1.ZodArray<z$1.ZodObject<{
2088
+ id: z$1.ZodString;
2089
+ name: z$1.ZodString;
2090
+ toolkit: z$1.ZodObject<{
2091
+ logo: z$1.ZodString;
2092
+ slug: z$1.ZodString;
2093
+ }, "strip", z$1.ZodTypeAny, {
2076
2094
  slug: string;
2077
2095
  logo: string;
2078
2096
  }, {
2079
2097
  slug: string;
2080
2098
  logo: string;
2081
2099
  }>;
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>;
2100
+ noOfConnections: z$1.ZodNumber;
2101
+ status: z$1.ZodEnum<["ENABLED", "DISABLED"]>;
2102
+ 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"]>>;
2103
+ credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2104
+ expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
2105
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2088
2106
  /**
2089
2107
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2090
2108
  */
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, {
2109
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2110
+ isComposioManaged: z$1.ZodOptional<z$1.ZodBoolean>;
2111
+ createdBy: z$1.ZodOptional<z$1.ZodString>;
2112
+ createdAt: z$1.ZodOptional<z$1.ZodString>;
2113
+ lastUpdatedAt: z$1.ZodOptional<z$1.ZodString>;
2114
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2115
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2116
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2117
+ }, "strip", z$1.ZodTypeAny, {
2100
2118
  toolsForConnectedAccountCreation?: string[] | undefined;
2101
2119
  toolsAvailableForExecution?: string[] | undefined;
2102
2120
  }, {
2103
2121
  toolsForConnectedAccountCreation?: string[] | undefined;
2104
2122
  toolsAvailableForExecution?: string[] | undefined;
2105
2123
  }>>;
2106
- }, "strip", z.ZodTypeAny, {
2107
- name: string;
2108
- status: "ENABLED" | "DISABLED";
2124
+ }, "strip", z$1.ZodTypeAny, {
2109
2125
  toolkit: {
2110
2126
  slug: string;
2111
2127
  logo: string;
2112
2128
  };
2129
+ status: "ENABLED" | "DISABLED";
2130
+ name: string;
2113
2131
  id: string;
2114
2132
  noOfConnections: number;
2115
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2116
2133
  createdAt?: string | undefined;
2134
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2117
2135
  credentials?: Record<string, unknown> | undefined;
2118
2136
  toolAccessConfig?: {
2119
2137
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2126,16 +2144,16 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2126
2144
  createdBy?: string | undefined;
2127
2145
  lastUpdatedAt?: string | undefined;
2128
2146
  }, {
2129
- name: string;
2130
- status: "ENABLED" | "DISABLED";
2131
2147
  toolkit: {
2132
2148
  slug: string;
2133
2149
  logo: string;
2134
2150
  };
2151
+ status: "ENABLED" | "DISABLED";
2152
+ name: string;
2135
2153
  id: string;
2136
2154
  noOfConnections: number;
2137
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2138
2155
  createdAt?: string | undefined;
2156
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2139
2157
  credentials?: Record<string, unknown> | undefined;
2140
2158
  toolAccessConfig?: {
2141
2159
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2148,20 +2166,20 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2148
2166
  createdBy?: string | undefined;
2149
2167
  lastUpdatedAt?: string | undefined;
2150
2168
  }>, "many">;
2151
- nextCursor: z.ZodNullable<z.ZodString>;
2152
- totalPages: z.ZodNumber;
2153
- }, "strip", z.ZodTypeAny, {
2169
+ nextCursor: z$1.ZodNullable<z$1.ZodString>;
2170
+ totalPages: z$1.ZodNumber;
2171
+ }, "strip", z$1.ZodTypeAny, {
2154
2172
  items: {
2155
- name: string;
2156
- status: "ENABLED" | "DISABLED";
2157
2173
  toolkit: {
2158
2174
  slug: string;
2159
2175
  logo: string;
2160
2176
  };
2177
+ status: "ENABLED" | "DISABLED";
2178
+ name: string;
2161
2179
  id: string;
2162
2180
  noOfConnections: number;
2163
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2164
2181
  createdAt?: string | undefined;
2182
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2165
2183
  credentials?: Record<string, unknown> | undefined;
2166
2184
  toolAccessConfig?: {
2167
2185
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2178,16 +2196,16 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2178
2196
  totalPages: number;
2179
2197
  }, {
2180
2198
  items: {
2181
- name: string;
2182
- status: "ENABLED" | "DISABLED";
2183
2199
  toolkit: {
2184
2200
  slug: string;
2185
2201
  logo: string;
2186
2202
  };
2203
+ status: "ENABLED" | "DISABLED";
2204
+ name: string;
2187
2205
  id: string;
2188
2206
  noOfConnections: number;
2189
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2190
2207
  createdAt?: string | undefined;
2208
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2191
2209
  credentials?: Record<string, unknown> | undefined;
2192
2210
  toolAccessConfig?: {
2193
2211
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2203,40 +2221,40 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2203
2221
  nextCursor: string | null;
2204
2222
  totalPages: number;
2205
2223
  }>;
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>;
2224
+ type AuthConfigListResponse = z$1.infer<typeof AuthConfigListResponseSchema>;
2225
+ declare const AuthCustomConfigUpdateParamsSchema: z$1.ZodObject<{
2226
+ type: z$1.ZodLiteral<"custom">;
2227
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
2228
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2229
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2230
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2231
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2232
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2233
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2234
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2235
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2236
+ }, z$1.ZodTypeAny, "passthrough">>>;
2237
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2220
2238
  /**
2221
2239
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2222
2240
  */
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, {
2241
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2242
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2243
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2244
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2245
+ }, "strip", z$1.ZodTypeAny, {
2228
2246
  toolsForConnectedAccountCreation?: string[] | undefined;
2229
2247
  toolsAvailableForExecution?: string[] | undefined;
2230
2248
  }, {
2231
2249
  toolsForConnectedAccountCreation?: string[] | undefined;
2232
2250
  toolsAvailableForExecution?: string[] | undefined;
2233
2251
  }>>;
2234
- }, "strip", z.ZodTypeAny, {
2252
+ }, "strip", z$1.ZodTypeAny, {
2235
2253
  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;
2254
+ credentials?: z$1.objectOutputType<{
2255
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2256
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2257
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
2240
2258
  toolAccessConfig?: {
2241
2259
  toolsForConnectedAccountCreation?: string[] | undefined;
2242
2260
  toolsAvailableForExecution?: string[] | undefined;
@@ -2245,10 +2263,10 @@ declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
2245
2263
  restrictToFollowingTools?: string[] | undefined;
2246
2264
  }, {
2247
2265
  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;
2266
+ credentials?: z$1.objectInputType<{
2267
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2268
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2269
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
2252
2270
  toolAccessConfig?: {
2253
2271
  toolsForConnectedAccountCreation?: string[] | undefined;
2254
2272
  toolsAvailableForExecution?: string[] | undefined;
@@ -2256,25 +2274,25 @@ declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
2256
2274
  isEnabledForToolRouter?: boolean | undefined;
2257
2275
  restrictToFollowingTools?: string[] | undefined;
2258
2276
  }>;
2259
- declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
2260
- type: z.ZodLiteral<"default">;
2261
- scopes: z.ZodOptional<z.ZodString>;
2262
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
2277
+ declare const AuthDefaultConfigUpdateParamsSchema: z$1.ZodObject<{
2278
+ type: z$1.ZodLiteral<"default">;
2279
+ scopes: z$1.ZodOptional<z$1.ZodString>;
2280
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2263
2281
  /**
2264
2282
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2265
2283
  */
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, {
2284
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2285
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2286
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2287
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2288
+ }, "strip", z$1.ZodTypeAny, {
2271
2289
  toolsForConnectedAccountCreation?: string[] | undefined;
2272
2290
  toolsAvailableForExecution?: string[] | undefined;
2273
2291
  }, {
2274
2292
  toolsForConnectedAccountCreation?: string[] | undefined;
2275
2293
  toolsAvailableForExecution?: string[] | undefined;
2276
2294
  }>>;
2277
- }, "strip", z.ZodTypeAny, {
2295
+ }, "strip", z$1.ZodTypeAny, {
2278
2296
  type: "default";
2279
2297
  scopes?: string | undefined;
2280
2298
  toolAccessConfig?: {
@@ -2293,39 +2311,39 @@ declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
2293
2311
  isEnabledForToolRouter?: boolean | undefined;
2294
2312
  restrictToFollowingTools?: string[] | undefined;
2295
2313
  }>;
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>;
2314
+ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
2315
+ type: z$1.ZodLiteral<"custom">;
2316
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
2317
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2318
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2319
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
2320
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2321
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2322
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
2323
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2324
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2325
+ }, z$1.ZodTypeAny, "passthrough">>>;
2326
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2309
2327
  /**
2310
2328
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2311
2329
  */
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, {
2330
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2331
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2332
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2333
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2334
+ }, "strip", z$1.ZodTypeAny, {
2317
2335
  toolsForConnectedAccountCreation?: string[] | undefined;
2318
2336
  toolsAvailableForExecution?: string[] | undefined;
2319
2337
  }, {
2320
2338
  toolsForConnectedAccountCreation?: string[] | undefined;
2321
2339
  toolsAvailableForExecution?: string[] | undefined;
2322
2340
  }>>;
2323
- }, "strip", z.ZodTypeAny, {
2341
+ }, "strip", z$1.ZodTypeAny, {
2324
2342
  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;
2343
+ credentials?: z$1.objectOutputType<{
2344
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2345
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2346
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
2329
2347
  toolAccessConfig?: {
2330
2348
  toolsForConnectedAccountCreation?: string[] | undefined;
2331
2349
  toolsAvailableForExecution?: string[] | undefined;
@@ -2334,35 +2352,35 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
2334
2352
  restrictToFollowingTools?: string[] | undefined;
2335
2353
  }, {
2336
2354
  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;
2355
+ credentials?: z$1.objectInputType<{
2356
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2357
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2358
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
2341
2359
  toolAccessConfig?: {
2342
2360
  toolsForConnectedAccountCreation?: string[] | undefined;
2343
2361
  toolsAvailableForExecution?: string[] | undefined;
2344
2362
  } | undefined;
2345
2363
  isEnabledForToolRouter?: boolean | undefined;
2346
2364
  restrictToFollowingTools?: string[] | undefined;
2347
- }>, z.ZodObject<{
2348
- type: z.ZodLiteral<"default">;
2349
- scopes: z.ZodOptional<z.ZodString>;
2350
- isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
2365
+ }>, z$1.ZodObject<{
2366
+ type: z$1.ZodLiteral<"default">;
2367
+ scopes: z$1.ZodOptional<z$1.ZodString>;
2368
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2351
2369
  /**
2352
2370
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
2353
2371
  */
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, {
2372
+ restrictToFollowingTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2373
+ toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
2374
+ toolsAvailableForExecution: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2375
+ toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2376
+ }, "strip", z$1.ZodTypeAny, {
2359
2377
  toolsForConnectedAccountCreation?: string[] | undefined;
2360
2378
  toolsAvailableForExecution?: string[] | undefined;
2361
2379
  }, {
2362
2380
  toolsForConnectedAccountCreation?: string[] | undefined;
2363
2381
  toolsAvailableForExecution?: string[] | undefined;
2364
2382
  }>>;
2365
- }, "strip", z.ZodTypeAny, {
2383
+ }, "strip", z$1.ZodTypeAny, {
2366
2384
  type: "default";
2367
2385
  scopes?: string | undefined;
2368
2386
  toolAccessConfig?: {
@@ -2381,7 +2399,7 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
2381
2399
  isEnabledForToolRouter?: boolean | undefined;
2382
2400
  restrictToFollowingTools?: string[] | undefined;
2383
2401
  }>]>;
2384
- type AuthConfigUpdateParams = z.infer<typeof AuthConfigUpdateParamsSchema>;
2402
+ type AuthConfigUpdateParams = z$1.infer<typeof AuthConfigUpdateParamsSchema>;
2385
2403
  //#endregion
2386
2404
  //#region src/models/Toolkits.d.ts
2387
2405
  /**
@@ -2466,9 +2484,7 @@ declare class Toolkits {
2466
2484
  * @param options.requiredOnly - Whether to only return the required fields
2467
2485
  * @returns {Promise<ToolkitAuthFieldsResponse>} The fields required for creating an auth config
2468
2486
  */
2469
- getAuthConfigCreationFields(toolkitSlug: string, authScheme: AuthSchemeType, {
2470
- requiredOnly
2471
- }?: {
2487
+ getAuthConfigCreationFields(toolkitSlug: string, authScheme: AuthSchemeType, { requiredOnly }?: {
2472
2488
  requiredOnly?: boolean;
2473
2489
  }): Promise<ToolkitAuthFieldsResponse>;
2474
2490
  /**
@@ -2478,9 +2494,7 @@ declare class Toolkits {
2478
2494
  * @param options.requiredOnly - Whether to only return the required fields
2479
2495
  * @returns {Promise<ToolkitAuthFieldsResponse>} The fields required for initiating a connected account
2480
2496
  */
2481
- getConnectedAccountInitiationFields(toolkitSlug: string, authScheme: AuthSchemeType, {
2482
- requiredOnly
2483
- }?: {
2497
+ getConnectedAccountInitiationFields(toolkitSlug: string, authScheme: AuthSchemeType, { requiredOnly }?: {
2484
2498
  requiredOnly?: boolean;
2485
2499
  }): Promise<ToolkitAuthFieldsResponse>;
2486
2500
  /**
@@ -2521,73 +2535,73 @@ declare const TriggerStatuses: {
2521
2535
  readonly DISABLE: "disable";
2522
2536
  };
2523
2537
  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, {
2538
+ declare const TriggerStatusEnum: z$1.ZodEnum<["enable", "disable"]>;
2539
+ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
2540
+ toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2541
+ triggerId: z$1.ZodOptional<z$1.ZodString>;
2542
+ connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
2543
+ authConfigId: z$1.ZodOptional<z$1.ZodString>;
2544
+ triggerSlug: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
2545
+ triggerData: z$1.ZodOptional<z$1.ZodString>;
2546
+ userId: z$1.ZodOptional<z$1.ZodString>;
2547
+ }, "strip", z$1.ZodTypeAny, {
2548
+ authConfigId?: string | undefined;
2549
+ userId?: string | undefined;
2534
2550
  toolkits?: string[] | undefined;
2535
2551
  connectedAccountId?: string | undefined;
2536
- userId?: string | undefined;
2537
- authConfigId?: string | undefined;
2538
2552
  triggerId?: string | undefined;
2539
2553
  triggerSlug?: string[] | undefined;
2540
2554
  triggerData?: string | undefined;
2541
2555
  }, {
2556
+ authConfigId?: string | undefined;
2557
+ userId?: string | undefined;
2542
2558
  toolkits?: string[] | undefined;
2543
2559
  connectedAccountId?: string | undefined;
2544
- userId?: string | undefined;
2545
- authConfigId?: string | undefined;
2546
2560
  triggerId?: string | undefined;
2547
2561
  triggerSlug?: string[] | undefined;
2548
2562
  triggerData?: string | undefined;
2549
2563
  }>;
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, {
2560
- limit?: number | undefined;
2561
- authConfigIds?: string[] | null | undefined;
2564
+ type TriggerSubscribeParams = z$1.infer<typeof TriggerSubscribeParamSchema>;
2565
+ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
2566
+ authConfigIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2567
+ connectedAccountIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2568
+ limit: z$1.ZodOptional<z$1.ZodNumber>;
2569
+ cursor: z$1.ZodOptional<z$1.ZodString>;
2570
+ showDisabled: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
2571
+ triggerIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2572
+ triggerNames: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2573
+ }, "strip", z$1.ZodTypeAny, {
2562
2574
  connectedAccountIds?: string[] | null | undefined;
2575
+ authConfigIds?: string[] | null | undefined;
2563
2576
  cursor?: string | undefined;
2577
+ limit?: number | undefined;
2564
2578
  showDisabled?: boolean | null | undefined;
2565
2579
  triggerIds?: string[] | null | undefined;
2566
2580
  triggerNames?: string[] | null | undefined;
2567
2581
  }, {
2568
- limit?: number | undefined;
2569
- authConfigIds?: string[] | null | undefined;
2570
2582
  connectedAccountIds?: string[] | null | undefined;
2583
+ authConfigIds?: string[] | null | undefined;
2571
2584
  cursor?: string | undefined;
2585
+ limit?: number | undefined;
2572
2586
  showDisabled?: boolean | null | undefined;
2573
2587
  triggerIds?: string[] | null | undefined;
2574
2588
  triggerNames?: string[] | null | undefined;
2575
2589
  }>;
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, {
2588
- connectedAccountId: string;
2590
+ type TriggerInstanceListActiveParams = z$1.infer<typeof TriggerInstanceListActiveParamsSchema>;
2591
+ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
2592
+ id: z$1.ZodString;
2593
+ connectedAccountId: z$1.ZodString;
2594
+ disabledAt: z$1.ZodNullable<z$1.ZodString>;
2595
+ state: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2596
+ triggerConfig: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2597
+ triggerName: z$1.ZodString;
2598
+ updatedAt: z$1.ZodString;
2599
+ triggerData: z$1.ZodOptional<z$1.ZodString>;
2600
+ uuid: z$1.ZodOptional<z$1.ZodString>;
2601
+ }, "strip", z$1.ZodTypeAny, {
2589
2602
  id: string;
2590
2603
  updatedAt: string;
2604
+ connectedAccountId: string;
2591
2605
  disabledAt: string | null;
2592
2606
  state: Record<string, unknown>;
2593
2607
  triggerConfig: Record<string, unknown>;
@@ -2595,9 +2609,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
2595
2609
  uuid?: string | undefined;
2596
2610
  triggerData?: string | undefined;
2597
2611
  }, {
2598
- connectedAccountId: string;
2599
2612
  id: string;
2600
2613
  updatedAt: string;
2614
+ connectedAccountId: string;
2601
2615
  disabledAt: string | null;
2602
2616
  state: Record<string, unknown>;
2603
2617
  triggerConfig: Record<string, unknown>;
@@ -2605,21 +2619,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
2605
2619
  uuid?: string | undefined;
2606
2620
  triggerData?: string | undefined;
2607
2621
  }>;
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, {
2620
- connectedAccountId: string;
2622
+ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
2623
+ items: z$1.ZodArray<z$1.ZodObject<{
2624
+ id: z$1.ZodString;
2625
+ connectedAccountId: z$1.ZodString;
2626
+ disabledAt: z$1.ZodNullable<z$1.ZodString>;
2627
+ state: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2628
+ triggerConfig: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2629
+ triggerName: z$1.ZodString;
2630
+ updatedAt: z$1.ZodString;
2631
+ triggerData: z$1.ZodOptional<z$1.ZodString>;
2632
+ uuid: z$1.ZodOptional<z$1.ZodString>;
2633
+ }, "strip", z$1.ZodTypeAny, {
2621
2634
  id: string;
2622
2635
  updatedAt: string;
2636
+ connectedAccountId: string;
2623
2637
  disabledAt: string | null;
2624
2638
  state: Record<string, unknown>;
2625
2639
  triggerConfig: Record<string, unknown>;
@@ -2627,9 +2641,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2627
2641
  uuid?: string | undefined;
2628
2642
  triggerData?: string | undefined;
2629
2643
  }, {
2630
- connectedAccountId: string;
2631
2644
  id: string;
2632
2645
  updatedAt: string;
2646
+ connectedAccountId: string;
2633
2647
  disabledAt: string | null;
2634
2648
  state: Record<string, unknown>;
2635
2649
  triggerConfig: Record<string, unknown>;
@@ -2637,13 +2651,13 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2637
2651
  uuid?: string | undefined;
2638
2652
  triggerData?: string | undefined;
2639
2653
  }>, "many">;
2640
- nextCursor: z.ZodNullable<z.ZodString>;
2641
- totalPages: z.ZodNumber;
2642
- }, "strip", z.ZodTypeAny, {
2654
+ nextCursor: z$1.ZodNullable<z$1.ZodString>;
2655
+ totalPages: z$1.ZodNumber;
2656
+ }, "strip", z$1.ZodTypeAny, {
2643
2657
  items: {
2644
- connectedAccountId: string;
2645
2658
  id: string;
2646
2659
  updatedAt: string;
2660
+ connectedAccountId: string;
2647
2661
  disabledAt: string | null;
2648
2662
  state: Record<string, unknown>;
2649
2663
  triggerConfig: Record<string, unknown>;
@@ -2655,9 +2669,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2655
2669
  totalPages: number;
2656
2670
  }, {
2657
2671
  items: {
2658
- connectedAccountId: string;
2659
2672
  id: string;
2660
2673
  updatedAt: string;
2674
+ connectedAccountId: string;
2661
2675
  disabledAt: string | null;
2662
2676
  state: Record<string, unknown>;
2663
2677
  triggerConfig: Record<string, unknown>;
@@ -2668,96 +2682,96 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2668
2682
  nextCursor: string | null;
2669
2683
  totalPages: number;
2670
2684
  }>;
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, {
2685
+ type TriggerInstanceListActiveResponse = z$1.infer<typeof TriggerInstanceListActiveResponseSchema>;
2686
+ type TriggerInstanceListActiveResponseItem = z$1.infer<typeof TriggerInstanceListActiveResponseItemSchema>;
2687
+ declare const TriggerInstanceUpsertParamsSchema: z$1.ZodObject<{
2688
+ connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
2689
+ triggerConfig: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2690
+ }, "strip", z$1.ZodTypeAny, {
2677
2691
  connectedAccountId?: string | undefined;
2678
2692
  triggerConfig?: Record<string, unknown> | undefined;
2679
2693
  }, {
2680
2694
  connectedAccountId?: string | undefined;
2681
2695
  triggerConfig?: Record<string, unknown> | undefined;
2682
2696
  }>;
2683
- type TriggerInstanceUpsertParams = z.infer<typeof TriggerInstanceUpsertParamsSchema>;
2684
- declare const TriggerInstanceUpsertResponseSchema: z.ZodObject<{
2685
- triggerId: z.ZodString;
2686
- }, "strip", z.ZodTypeAny, {
2697
+ type TriggerInstanceUpsertParams = z$1.infer<typeof TriggerInstanceUpsertParamsSchema>;
2698
+ declare const TriggerInstanceUpsertResponseSchema: z$1.ZodObject<{
2699
+ triggerId: z$1.ZodString;
2700
+ }, "strip", z$1.ZodTypeAny, {
2687
2701
  triggerId: string;
2688
2702
  }, {
2689
2703
  triggerId: string;
2690
2704
  }>;
2691
- type TriggerInstanceUpsertResponse = z.infer<typeof TriggerInstanceUpsertResponseSchema>;
2692
- declare const TriggerInstanceManageUpdateParamsSchema: z.ZodObject<{
2693
- status: z.ZodEnum<["enable", "disable"]>;
2694
- }, "strip", z.ZodTypeAny, {
2705
+ type TriggerInstanceUpsertResponse = z$1.infer<typeof TriggerInstanceUpsertResponseSchema>;
2706
+ declare const TriggerInstanceManageUpdateParamsSchema: z$1.ZodObject<{
2707
+ status: z$1.ZodEnum<["enable", "disable"]>;
2708
+ }, "strip", z$1.ZodTypeAny, {
2695
2709
  status: "disable" | "enable";
2696
2710
  }, {
2697
2711
  status: "disable" | "enable";
2698
2712
  }>;
2699
- type TriggerInstanceManageUpdateParams = z.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
2700
- declare const TriggerInstanceManageUpdateResponseSchema: z.ZodObject<{
2701
- status: z.ZodEnum<["success"]>;
2702
- }, "strip", z.ZodTypeAny, {
2713
+ type TriggerInstanceManageUpdateParams = z$1.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
2714
+ declare const TriggerInstanceManageUpdateResponseSchema: z$1.ZodObject<{
2715
+ status: z$1.ZodEnum<["success"]>;
2716
+ }, "strip", z$1.ZodTypeAny, {
2703
2717
  status: "success";
2704
2718
  }, {
2705
2719
  status: "success";
2706
2720
  }>;
2707
- type TriggerInstanceManageUpdateResponse = z.infer<typeof TriggerInstanceManageUpdateResponseSchema>;
2708
- declare const TriggerInstanceManageDeleteResponseSchema: z.ZodObject<{
2709
- triggerId: z.ZodString;
2710
- }, "strip", z.ZodTypeAny, {
2721
+ type TriggerInstanceManageUpdateResponse = z$1.infer<typeof TriggerInstanceManageUpdateResponseSchema>;
2722
+ declare const TriggerInstanceManageDeleteResponseSchema: z$1.ZodObject<{
2723
+ triggerId: z$1.ZodString;
2724
+ }, "strip", z$1.ZodTypeAny, {
2711
2725
  triggerId: string;
2712
2726
  }, {
2713
- triggerId: string;
2714
- }>;
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, {
2727
+ triggerId: string;
2728
+ }>;
2729
+ type TriggerInstanceManageDeleteResponse = z$1.infer<typeof TriggerInstanceManageDeleteResponseSchema>;
2730
+ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
2731
+ id: z$1.ZodString;
2732
+ uuid: z$1.ZodString;
2733
+ triggerSlug: z$1.ZodString;
2734
+ toolkitSlug: z$1.ZodString;
2735
+ userId: z$1.ZodString;
2736
+ payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2737
+ originalPayload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2738
+ metadata: z$1.ZodObject<{
2739
+ id: z$1.ZodString;
2740
+ uuid: z$1.ZodString;
2741
+ toolkitSlug: z$1.ZodString;
2742
+ triggerSlug: z$1.ZodString;
2743
+ triggerData: z$1.ZodOptional<z$1.ZodString>;
2744
+ triggerConfig: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2745
+ connectedAccount: z$1.ZodObject<{
2746
+ id: z$1.ZodString;
2747
+ uuid: z$1.ZodString;
2748
+ authConfigId: z$1.ZodString;
2749
+ authConfigUUID: z$1.ZodString;
2750
+ userId: z$1.ZodString;
2751
+ status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
2752
+ }, "strip", z$1.ZodTypeAny, {
2753
+ authConfigId: string;
2739
2754
  status: "ACTIVE" | "INACTIVE";
2740
2755
  userId: string;
2741
- authConfigId: string;
2742
2756
  uuid: string;
2743
2757
  id: string;
2744
2758
  authConfigUUID: string;
2745
2759
  }, {
2760
+ authConfigId: string;
2746
2761
  status: "ACTIVE" | "INACTIVE";
2747
2762
  userId: string;
2748
- authConfigId: string;
2749
2763
  uuid: string;
2750
2764
  id: string;
2751
2765
  authConfigUUID: string;
2752
2766
  }>;
2753
- }, "strip", z.ZodTypeAny, {
2754
- toolkitSlug: string;
2767
+ }, "strip", z$1.ZodTypeAny, {
2755
2768
  uuid: string;
2756
2769
  id: string;
2770
+ toolkitSlug: string;
2757
2771
  connectedAccount: {
2772
+ authConfigId: string;
2758
2773
  status: "ACTIVE" | "INACTIVE";
2759
2774
  userId: string;
2760
- authConfigId: string;
2761
2775
  uuid: string;
2762
2776
  id: string;
2763
2777
  authConfigUUID: string;
@@ -2766,13 +2780,13 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2766
2780
  triggerConfig: Record<string, unknown>;
2767
2781
  triggerData?: string | undefined;
2768
2782
  }, {
2769
- toolkitSlug: string;
2770
2783
  uuid: string;
2771
2784
  id: string;
2785
+ toolkitSlug: string;
2772
2786
  connectedAccount: {
2787
+ authConfigId: string;
2773
2788
  status: "ACTIVE" | "INACTIVE";
2774
2789
  userId: string;
2775
- authConfigId: string;
2776
2790
  uuid: string;
2777
2791
  id: string;
2778
2792
  authConfigUUID: string;
@@ -2781,20 +2795,20 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2781
2795
  triggerConfig: Record<string, unknown>;
2782
2796
  triggerData?: string | undefined;
2783
2797
  }>;
2784
- }, "strip", z.ZodTypeAny, {
2785
- toolkitSlug: string;
2798
+ }, "strip", z$1.ZodTypeAny, {
2786
2799
  userId: string;
2787
2800
  uuid: string;
2788
2801
  id: string;
2802
+ toolkitSlug: string;
2789
2803
  triggerSlug: string;
2790
2804
  metadata: {
2791
- toolkitSlug: string;
2792
2805
  uuid: string;
2793
2806
  id: string;
2807
+ toolkitSlug: string;
2794
2808
  connectedAccount: {
2809
+ authConfigId: string;
2795
2810
  status: "ACTIVE" | "INACTIVE";
2796
2811
  userId: string;
2797
- authConfigId: string;
2798
2812
  uuid: string;
2799
2813
  id: string;
2800
2814
  authConfigUUID: string;
@@ -2806,19 +2820,19 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2806
2820
  payload?: Record<string, unknown> | undefined;
2807
2821
  originalPayload?: Record<string, unknown> | undefined;
2808
2822
  }, {
2809
- toolkitSlug: string;
2810
2823
  userId: string;
2811
2824
  uuid: string;
2812
2825
  id: string;
2826
+ toolkitSlug: string;
2813
2827
  triggerSlug: string;
2814
2828
  metadata: {
2815
- toolkitSlug: string;
2816
2829
  uuid: string;
2817
2830
  id: string;
2831
+ toolkitSlug: string;
2818
2832
  connectedAccount: {
2833
+ authConfigId: string;
2819
2834
  status: "ACTIVE" | "INACTIVE";
2820
2835
  userId: string;
2821
- authConfigId: string;
2822
2836
  uuid: string;
2823
2837
  id: string;
2824
2838
  authConfigUUID: string;
@@ -2830,7 +2844,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2830
2844
  payload?: Record<string, unknown> | undefined;
2831
2845
  originalPayload?: Record<string, unknown> | undefined;
2832
2846
  }>;
2833
- type IncomingTriggerPayload = z.infer<typeof IncomingTriggerPayloadSchema>;
2847
+ type IncomingTriggerPayload = z$1.infer<typeof IncomingTriggerPayloadSchema>;
2834
2848
  type TriggerData = {
2835
2849
  appName: string;
2836
2850
  clientId: number;
@@ -2852,131 +2866,131 @@ type TriggerData = {
2852
2866
  };
2853
2867
  };
2854
2868
  };
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, {
2869
+ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
2870
+ cursor: z$1.ZodOptional<z$1.ZodString>;
2871
+ limit: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
2872
+ toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
2873
+ }, "strip", z$1.ZodTypeAny, {
2860
2874
  toolkits?: string[] | null | undefined;
2861
- limit?: number | null | undefined;
2862
2875
  cursor?: string | undefined;
2876
+ limit?: number | null | undefined;
2863
2877
  }, {
2864
2878
  toolkits?: string[] | null | undefined;
2865
- limit?: number | null | undefined;
2866
2879
  cursor?: string | undefined;
2880
+ limit?: number | null | undefined;
2867
2881
  }>;
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, {
2879
- slug: string;
2882
+ type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
2883
+ declare const TriggerTypeSchema: z$1.ZodObject<{
2884
+ slug: z$1.ZodString;
2885
+ name: z$1.ZodString;
2886
+ description: z$1.ZodString;
2887
+ instructions: z$1.ZodOptional<z$1.ZodString>;
2888
+ toolkit: z$1.ZodObject<{
2889
+ logo: z$1.ZodString;
2890
+ slug: z$1.ZodString;
2891
+ name: z$1.ZodString;
2892
+ }, "strip", z$1.ZodTypeAny, {
2880
2893
  name: string;
2894
+ slug: string;
2881
2895
  logo: string;
2882
2896
  }, {
2883
- slug: string;
2884
2897
  name: string;
2898
+ slug: string;
2885
2899
  logo: string;
2886
2900
  }>;
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, {
2891
- slug: string;
2892
- name: string;
2893
- description: string;
2901
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2902
+ config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2903
+ version: z$1.ZodOptional<z$1.ZodString>;
2904
+ }, "strip", z$1.ZodTypeAny, {
2894
2905
  toolkit: {
2895
- slug: string;
2896
2906
  name: string;
2907
+ slug: string;
2897
2908
  logo: string;
2898
2909
  };
2910
+ name: string;
2899
2911
  config: Record<string, unknown>;
2912
+ slug: string;
2913
+ description: string;
2900
2914
  payload: Record<string, unknown>;
2901
2915
  version?: string | undefined;
2902
2916
  instructions?: string | undefined;
2903
2917
  }, {
2904
- slug: string;
2905
- name: string;
2906
- description: string;
2907
2918
  toolkit: {
2908
- slug: string;
2909
2919
  name: string;
2920
+ slug: string;
2910
2921
  logo: string;
2911
2922
  };
2923
+ name: string;
2912
2924
  config: Record<string, unknown>;
2925
+ slug: string;
2926
+ description: string;
2913
2927
  payload: Record<string, unknown>;
2914
2928
  version?: string | undefined;
2915
2929
  instructions?: string | undefined;
2916
2930
  }>;
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, {
2929
- slug: string;
2931
+ type TriggerType = z$1.infer<typeof TriggerTypeSchema>;
2932
+ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
2933
+ items: z$1.ZodArray<z$1.ZodObject<{
2934
+ slug: z$1.ZodString;
2935
+ name: z$1.ZodString;
2936
+ description: z$1.ZodString;
2937
+ instructions: z$1.ZodOptional<z$1.ZodString>;
2938
+ toolkit: z$1.ZodObject<{
2939
+ logo: z$1.ZodString;
2940
+ slug: z$1.ZodString;
2941
+ name: z$1.ZodString;
2942
+ }, "strip", z$1.ZodTypeAny, {
2930
2943
  name: string;
2944
+ slug: string;
2931
2945
  logo: string;
2932
2946
  }, {
2933
- slug: string;
2934
2947
  name: string;
2948
+ slug: string;
2935
2949
  logo: string;
2936
2950
  }>;
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, {
2941
- slug: string;
2942
- name: string;
2943
- description: string;
2951
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2952
+ config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
2953
+ version: z$1.ZodOptional<z$1.ZodString>;
2954
+ }, "strip", z$1.ZodTypeAny, {
2944
2955
  toolkit: {
2945
- slug: string;
2946
2956
  name: string;
2957
+ slug: string;
2947
2958
  logo: string;
2948
2959
  };
2960
+ name: string;
2949
2961
  config: Record<string, unknown>;
2962
+ slug: string;
2963
+ description: string;
2950
2964
  payload: Record<string, unknown>;
2951
2965
  version?: string | undefined;
2952
2966
  instructions?: string | undefined;
2953
2967
  }, {
2954
- slug: string;
2955
- name: string;
2956
- description: string;
2957
2968
  toolkit: {
2958
- slug: string;
2959
2969
  name: string;
2970
+ slug: string;
2960
2971
  logo: string;
2961
2972
  };
2973
+ name: string;
2962
2974
  config: Record<string, unknown>;
2975
+ slug: string;
2976
+ description: string;
2963
2977
  payload: Record<string, unknown>;
2964
2978
  version?: string | undefined;
2965
2979
  instructions?: string | undefined;
2966
2980
  }>, "many">;
2967
- nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2968
- totalPages: z.ZodNumber;
2969
- }, "strip", z.ZodTypeAny, {
2981
+ nextCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
2982
+ totalPages: z$1.ZodNumber;
2983
+ }, "strip", z$1.ZodTypeAny, {
2970
2984
  items: {
2971
- slug: string;
2972
- name: string;
2973
- description: string;
2974
2985
  toolkit: {
2975
- slug: string;
2976
2986
  name: string;
2987
+ slug: string;
2977
2988
  logo: string;
2978
2989
  };
2990
+ name: string;
2979
2991
  config: Record<string, unknown>;
2992
+ slug: string;
2993
+ description: string;
2980
2994
  payload: Record<string, unknown>;
2981
2995
  version?: string | undefined;
2982
2996
  instructions?: string | undefined;
@@ -2985,15 +2999,15 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
2985
2999
  nextCursor?: string | null | undefined;
2986
3000
  }, {
2987
3001
  items: {
2988
- slug: string;
2989
- name: string;
2990
- description: string;
2991
3002
  toolkit: {
2992
- slug: string;
2993
3003
  name: string;
3004
+ slug: string;
2994
3005
  logo: string;
2995
3006
  };
3007
+ name: string;
2996
3008
  config: Record<string, unknown>;
3009
+ slug: string;
3010
+ description: string;
2997
3011
  payload: Record<string, unknown>;
2998
3012
  version?: string | undefined;
2999
3013
  instructions?: string | undefined;
@@ -3001,8 +3015,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
3001
3015
  totalPages: number;
3002
3016
  nextCursor?: string | null | undefined;
3003
3017
  }>;
3004
- type TriggersTypeListResponse = z.infer<typeof TriggersTypeListResponseSchema>;
3005
- type TriggersTypeRetrieveResponse = z.infer<typeof TriggerTypeSchema>;
3018
+ type TriggersTypeListResponse = z$1.infer<typeof TriggersTypeListResponseSchema>;
3019
+ type TriggersTypeRetrieveResponse = z$1.infer<typeof TriggerTypeSchema>;
3006
3020
  /**
3007
3021
  * Generic trigger event type that can be used with generated trigger payload types
3008
3022
  * @template TPayload - The specific trigger payload type (e.g., GITHUB_COMMIT_EVENT_PAYLOAD)
@@ -3026,13 +3040,13 @@ type TriggerEventData<TPayload = unknown> = TPayload & {
3026
3040
  * These schemas represent the raw payload structure sent by Composio's webhook system
3027
3041
  */
3028
3042
  /** 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, {
3043
+ declare const WebhookPayloadV1Schema: z$1.ZodObject<{
3044
+ trigger_name: z$1.ZodString;
3045
+ connection_id: z$1.ZodString;
3046
+ trigger_id: z$1.ZodString;
3047
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3048
+ log_id: z$1.ZodString;
3049
+ }, "strip", z$1.ZodTypeAny, {
3036
3050
  payload: Record<string, unknown>;
3037
3051
  trigger_name: string;
3038
3052
  connection_id: string;
@@ -3045,32 +3059,32 @@ declare const WebhookPayloadV1Schema: z.ZodObject<{
3045
3059
  trigger_id: string;
3046
3060
  log_id: string;
3047
3061
  }>;
3048
- type WebhookPayloadV1 = z.infer<typeof WebhookPayloadV1Schema>;
3062
+ type WebhookPayloadV1 = z$1.infer<typeof WebhookPayloadV1Schema>;
3049
3063
  /** 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, {
3064
+ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
3065
+ type: z$1.ZodString;
3066
+ timestamp: z$1.ZodString;
3067
+ log_id: z$1.ZodString;
3068
+ data: z$1.ZodObject<{
3069
+ connection_id: z$1.ZodString;
3070
+ connection_nano_id: z$1.ZodString;
3071
+ trigger_nano_id: z$1.ZodString;
3072
+ trigger_id: z$1.ZodString;
3073
+ user_id: z$1.ZodString;
3074
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3075
+ connection_id: z$1.ZodString;
3076
+ connection_nano_id: z$1.ZodString;
3077
+ trigger_nano_id: z$1.ZodString;
3078
+ trigger_id: z$1.ZodString;
3079
+ user_id: z$1.ZodString;
3080
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3081
+ connection_id: z$1.ZodString;
3082
+ connection_nano_id: z$1.ZodString;
3083
+ trigger_nano_id: z$1.ZodString;
3084
+ trigger_id: z$1.ZodString;
3085
+ user_id: z$1.ZodString;
3086
+ }, z$1.ZodTypeAny, "passthrough">>;
3087
+ }, "strip", z$1.ZodTypeAny, {
3074
3088
  type: string;
3075
3089
  data: {
3076
3090
  connection_id: string;
@@ -3097,60 +3111,60 @@ declare const WebhookPayloadV2Schema: z.ZodObject<{
3097
3111
  log_id: string;
3098
3112
  timestamp: string;
3099
3113
  }>;
3100
- type WebhookPayloadV2 = z.infer<typeof WebhookPayloadV2Schema>;
3114
+ type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
3101
3115
  /** 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, {
3116
+ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
3117
+ id: z$1.ZodString;
3118
+ timestamp: z$1.ZodString;
3119
+ type: z$1.ZodEffects<z$1.ZodString, string, string>;
3120
+ metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3121
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3122
+ }, "strip", z$1.ZodTypeAny, {
3109
3123
  type: string;
3110
- data: Record<string, unknown>;
3111
3124
  id: string;
3125
+ data: Record<string, unknown>;
3112
3126
  metadata: Record<string, unknown>;
3113
3127
  timestamp: string;
3114
3128
  }, {
3115
3129
  type: string;
3116
- data: Record<string, unknown>;
3117
3130
  id: string;
3131
+ data: Record<string, unknown>;
3118
3132
  metadata: Record<string, unknown>;
3119
3133
  timestamp: string;
3120
3134
  }>;
3121
- type WebhookPayloadV3 = z.infer<typeof WebhookPayloadV3Schema>;
3135
+ type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
3122
3136
  /** 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, {
3137
+ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
3138
+ id: z$1.ZodString;
3139
+ timestamp: z$1.ZodString;
3140
+ type: z$1.ZodString;
3141
+ metadata: z$1.ZodObject<{
3142
+ log_id: z$1.ZodString;
3143
+ trigger_slug: z$1.ZodString;
3144
+ trigger_id: z$1.ZodString;
3145
+ connected_account_id: z$1.ZodString;
3146
+ auth_config_id: z$1.ZodString;
3147
+ user_id: z$1.ZodString;
3148
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3149
+ log_id: z$1.ZodString;
3150
+ trigger_slug: z$1.ZodString;
3151
+ trigger_id: z$1.ZodString;
3152
+ connected_account_id: z$1.ZodString;
3153
+ auth_config_id: z$1.ZodString;
3154
+ user_id: z$1.ZodString;
3155
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3156
+ log_id: z$1.ZodString;
3157
+ trigger_slug: z$1.ZodString;
3158
+ trigger_id: z$1.ZodString;
3159
+ connected_account_id: z$1.ZodString;
3160
+ auth_config_id: z$1.ZodString;
3161
+ user_id: z$1.ZodString;
3162
+ }, z$1.ZodTypeAny, "passthrough">>;
3163
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3164
+ }, "strip", z$1.ZodTypeAny, {
3151
3165
  type: string;
3152
- data: Record<string, unknown>;
3153
3166
  id: string;
3167
+ data: Record<string, unknown>;
3154
3168
  metadata: {
3155
3169
  trigger_id: string;
3156
3170
  log_id: string;
@@ -3164,8 +3178,8 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
3164
3178
  timestamp: string;
3165
3179
  }, {
3166
3180
  type: string;
3167
- data: Record<string, unknown>;
3168
3181
  id: string;
3182
+ data: Record<string, unknown>;
3169
3183
  metadata: {
3170
3184
  trigger_id: string;
3171
3185
  log_id: string;
@@ -3178,50 +3192,50 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
3178
3192
  };
3179
3193
  timestamp: string;
3180
3194
  }>;
3181
- type WebhookTriggerPayloadV3 = z.infer<typeof WebhookTriggerPayloadV3Schema>;
3195
+ type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
3182
3196
  /** 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, {
3197
+ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
3198
+ id: z$1.ZodString;
3199
+ timestamp: z$1.ZodString;
3200
+ type: z$1.ZodEffects<z$1.ZodString, string, string>;
3201
+ metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3202
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3203
+ }, "strip", z$1.ZodTypeAny, {
3190
3204
  type: string;
3191
- data: Record<string, unknown>;
3192
3205
  id: string;
3206
+ data: Record<string, unknown>;
3193
3207
  metadata: Record<string, unknown>;
3194
3208
  timestamp: string;
3195
3209
  }, {
3196
3210
  type: string;
3197
- data: Record<string, unknown>;
3198
3211
  id: string;
3212
+ data: Record<string, unknown>;
3199
3213
  metadata: Record<string, unknown>;
3200
3214
  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, {
3215
+ }>, z$1.ZodObject<{
3216
+ type: z$1.ZodString;
3217
+ timestamp: z$1.ZodString;
3218
+ log_id: z$1.ZodString;
3219
+ data: z$1.ZodObject<{
3220
+ connection_id: z$1.ZodString;
3221
+ connection_nano_id: z$1.ZodString;
3222
+ trigger_nano_id: z$1.ZodString;
3223
+ trigger_id: z$1.ZodString;
3224
+ user_id: z$1.ZodString;
3225
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
3226
+ connection_id: z$1.ZodString;
3227
+ connection_nano_id: z$1.ZodString;
3228
+ trigger_nano_id: z$1.ZodString;
3229
+ trigger_id: z$1.ZodString;
3230
+ user_id: z$1.ZodString;
3231
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
3232
+ connection_id: z$1.ZodString;
3233
+ connection_nano_id: z$1.ZodString;
3234
+ trigger_nano_id: z$1.ZodString;
3235
+ trigger_id: z$1.ZodString;
3236
+ user_id: z$1.ZodString;
3237
+ }, z$1.ZodTypeAny, "passthrough">>;
3238
+ }, "strip", z$1.ZodTypeAny, {
3225
3239
  type: string;
3226
3240
  data: {
3227
3241
  connection_id: string;
@@ -3247,13 +3261,13 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
3247
3261
  };
3248
3262
  log_id: string;
3249
3263
  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, {
3264
+ }>, z$1.ZodObject<{
3265
+ trigger_name: z$1.ZodString;
3266
+ connection_id: z$1.ZodString;
3267
+ trigger_id: z$1.ZodString;
3268
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
3269
+ log_id: z$1.ZodString;
3270
+ }, "strip", z$1.ZodTypeAny, {
3257
3271
  payload: Record<string, unknown>;
3258
3272
  trigger_name: string;
3259
3273
  connection_id: string;
@@ -3266,7 +3280,7 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
3266
3280
  trigger_id: string;
3267
3281
  log_id: string;
3268
3282
  }>]>;
3269
- type WebhookPayload = z.infer<typeof WebhookPayloadSchema>;
3283
+ type WebhookPayload = z$1.infer<typeof WebhookPayloadSchema>;
3270
3284
  /** Webhook version enum */
3271
3285
  declare const WebhookVersions: {
3272
3286
  readonly V1: "V1";
@@ -3275,11 +3289,14 @@ declare const WebhookVersions: {
3275
3289
  };
3276
3290
  type WebhookVersion = (typeof WebhookVersions)[keyof typeof WebhookVersions];
3277
3291
  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, {
3292
+ declare const SetWebhookSubscriptionParamsSchema: z$1.ZodObject<{
3293
+ /** HTTPS URL to receive webhook events. */
3294
+ webhookUrl: z$1.ZodString;
3295
+ /** Event types to subscribe to. Defaults to trigger messages. */
3296
+ enabledEvents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
3297
+ /** Webhook payload version. Defaults to V3. */
3298
+ version: z$1.ZodOptional<z$1.ZodEnum<["V1", "V2", "V3"]>>;
3299
+ }, "strip", z$1.ZodTypeAny, {
3283
3300
  webhookUrl: string;
3284
3301
  version?: "V1" | "V2" | "V3" | undefined;
3285
3302
  enabledEvents?: string[] | undefined;
@@ -3288,7 +3305,7 @@ declare const SetWebhookSubscriptionParamsSchema: z.ZodObject<{
3288
3305
  version?: "V1" | "V2" | "V3" | undefined;
3289
3306
  enabledEvents?: string[] | undefined;
3290
3307
  }>;
3291
- type SetWebhookSubscriptionParams = z.infer<typeof SetWebhookSubscriptionParamsSchema>;
3308
+ type SetWebhookSubscriptionParams = z$1.infer<typeof SetWebhookSubscriptionParamsSchema>;
3292
3309
  type WebhookSubscription = {
3293
3310
  id: string;
3294
3311
  webhookUrl: string;
@@ -3301,32 +3318,34 @@ type WebhookSubscription = {
3301
3318
  /**
3302
3319
  * Parameters for verifying a webhook signature
3303
3320
  */
3304
- declare const VerifyWebhookParamsSchema: z.ZodObject<{
3321
+ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
3305
3322
  /**
3306
3323
  * The webhook message ID from the 'webhook-id' header.
3307
3324
  * Format: 'msg_xxx'
3308
3325
  */
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;
3326
+ id: z$1.ZodString;
3327
+ /** The raw webhook payload as a string (request body) */
3328
+ payload: z$1.ZodString;
3329
+ /** 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
  *
@@ -3378,8 +3397,11 @@ type ParseWebhookOptions = {
3378
3397
  * Contains the parsed payload along with version information.
3379
3398
  */
3380
3399
  type VerifyWebhookResult = {
3381
- /** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */version: WebhookVersion; /** The parsed and normalized webhook payload */
3382
- payload: IncomingTriggerPayload; /** The raw parsed payload before normalization */
3400
+ /** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */
3401
+ version: WebhookVersion;
3402
+ /** The parsed and normalized webhook payload */
3403
+ payload: IncomingTriggerPayload;
3404
+ /** The raw parsed payload before normalization */
3383
3405
  rawPayload: WebhookPayload;
3384
3406
  };
3385
3407
  //#endregion
@@ -4274,46 +4296,46 @@ declare class Experimental {
4274
4296
  }
4275
4297
  //#endregion
4276
4298
  //#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, {
4286
- name: string;
4299
+ declare const MCPServerInstanceSchema: z.ZodObject<{
4300
+ id: z.ZodString;
4301
+ name: z.ZodString;
4302
+ type: z.ZodLiteral<"streamable_http">;
4303
+ url: z.ZodString;
4304
+ userId: z.ZodString;
4305
+ allowedTools: z.ZodArray<z.ZodString, "many">;
4306
+ authConfigs: z.ZodArray<z.ZodString, "many">;
4307
+ }, "strip", z.ZodTypeAny, {
4287
4308
  type: "streamable_http";
4288
- userId: string;
4289
4309
  allowedTools: string[];
4310
+ userId: string;
4290
4311
  url: string;
4312
+ name: string;
4291
4313
  id: string;
4292
4314
  authConfigs: string[];
4293
4315
  }, {
4294
- name: string;
4295
4316
  type: "streamable_http";
4296
- userId: string;
4297
4317
  allowedTools: string[];
4318
+ userId: string;
4298
4319
  url: string;
4320
+ name: string;
4299
4321
  id: string;
4300
4322
  authConfigs: string[];
4301
4323
  }>;
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, {
4324
+ type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
4325
+ declare const MCPConfigCreationParamsSchema: z.ZodObject<{
4326
+ toolkits: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4327
+ toolkit: z.ZodOptional<z.ZodString>;
4328
+ authConfigId: z.ZodOptional<z.ZodString>;
4329
+ }, "strip", z.ZodTypeAny, {
4308
4330
  toolkit?: string | undefined;
4309
4331
  authConfigId?: string | undefined;
4310
4332
  }, {
4311
4333
  toolkit?: string | undefined;
4312
4334
  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, {
4335
+ }>, z.ZodString]>, "many">;
4336
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4337
+ manuallyManageConnections: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4338
+ }, "strip", z.ZodTypeAny, {
4317
4339
  toolkits: (string | {
4318
4340
  toolkit?: string | undefined;
4319
4341
  authConfigId?: string | undefined;
@@ -4328,41 +4350,41 @@ declare const MCPConfigCreationParamsSchema: z$1.ZodObject<{
4328
4350
  allowedTools?: string[] | undefined;
4329
4351
  manuallyManageConnections?: boolean | undefined;
4330
4352
  }>;
4331
- type MCPConfigCreationParams = z$1.infer<typeof MCPConfigCreationParamsSchema>;
4332
- declare const MCPConfigResponseSchema: z$1.ZodObject<{
4353
+ type MCPConfigCreationParams = z.infer<typeof MCPConfigCreationParamsSchema>;
4354
+ declare const MCPConfigResponseSchema: z.ZodObject<{
4333
4355
  /**
4334
4356
  * Unique identifier for the newly created custom MCP server
4335
4357
  */
4336
- id: z$1.ZodString;
4358
+ id: z.ZodString;
4337
4359
  /**
4338
4360
  * Human-readable name of the custom MCP server
4339
4361
  */
4340
- name: z$1.ZodString;
4362
+ name: z.ZodString;
4341
4363
  /**
4342
4364
  * List of tool identifiers that are enabled for this server
4343
4365
  */
4344
- allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
4366
+ allowedTools: z.ZodArray<z.ZodString, "many">;
4345
4367
  /**
4346
4368
  * ID references to the auth configurations used by this server
4347
4369
  */
4348
- authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
4370
+ authConfigIds: z.ZodArray<z.ZodString, "many">;
4349
4371
  /**
4350
4372
  * Set of command line instructions for connecting various clients to this MCP server
4351
4373
  */
4352
- commands: z$1.ZodObject<{
4374
+ commands: z.ZodObject<{
4353
4375
  /**
4354
4376
  * Command line instruction for Claude client setup
4355
4377
  */
4356
- claude: z$1.ZodString;
4378
+ claude: z.ZodString;
4357
4379
  /**
4358
4380
  * Command line instruction for Cursor client setup
4359
4381
  */
4360
- cursor: z$1.ZodString;
4382
+ cursor: z.ZodString;
4361
4383
  /**
4362
4384
  * Command line instruction for Windsurf client setup
4363
4385
  */
4364
- windsurf: z$1.ZodString;
4365
- }, "strip", z$1.ZodTypeAny, {
4386
+ windsurf: z.ZodString;
4387
+ }, "strip", z.ZodTypeAny, {
4366
4388
  claude: string;
4367
4389
  cursor: string;
4368
4390
  windsurf: string;
@@ -4374,12 +4396,12 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
4374
4396
  /**
4375
4397
  * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
4376
4398
  */
4377
- MCPUrl: z$1.ZodString;
4378
- }, "strip", z$1.ZodTypeAny, {
4379
- name: string;
4380
- authConfigIds: string[];
4399
+ MCPUrl: z.ZodString;
4400
+ }, "strip", z.ZodTypeAny, {
4381
4401
  allowedTools: string[];
4402
+ name: string;
4382
4403
  id: string;
4404
+ authConfigIds: string[];
4383
4405
  commands: {
4384
4406
  claude: string;
4385
4407
  cursor: string;
@@ -4387,10 +4409,10 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
4387
4409
  };
4388
4410
  MCPUrl: string;
4389
4411
  }, {
4390
- name: string;
4391
- authConfigIds: string[];
4392
4412
  allowedTools: string[];
4413
+ name: string;
4393
4414
  id: string;
4415
+ authConfigIds: string[];
4394
4416
  commands: {
4395
4417
  claude: string;
4396
4418
  cursor: string;
@@ -4398,7 +4420,7 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
4398
4420
  };
4399
4421
  MCPUrl: string;
4400
4422
  }>;
4401
- type MCPConfigResponse = z$1.infer<typeof MCPConfigResponseSchema>;
4423
+ type MCPConfigResponse = z.infer<typeof MCPConfigResponseSchema>;
4402
4424
  interface MCPConfigCreateResponse extends MCPConfigResponse {
4403
4425
  /**
4404
4426
  * Creates an instance for a user of the specific MCP Server/COnfig
@@ -4407,68 +4429,68 @@ interface MCPConfigCreateResponse extends MCPConfigResponse {
4407
4429
  */
4408
4430
  generate: (userId: string) => Promise<MCPServerInstance>;
4409
4431
  }
4410
- declare const MCPGetInstanceParamsSchema: z$1.ZodObject<{
4411
- manuallyManageConnections: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
4412
- }, "strip", z$1.ZodTypeAny, {
4432
+ declare const MCPGetInstanceParamsSchema: z.ZodObject<{
4433
+ manuallyManageConnections: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4434
+ }, "strip", z.ZodTypeAny, {
4413
4435
  manuallyManageConnections?: boolean | undefined;
4414
4436
  }, {
4415
4437
  manuallyManageConnections?: boolean | undefined;
4416
4438
  }>;
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, {
4439
+ type MCPGetInstanceParams = z.infer<typeof MCPGetInstanceParamsSchema>;
4440
+ declare const MCPListParamsSchema: z.ZodObject<{
4441
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4442
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4443
+ toolkits: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4444
+ authConfigs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4445
+ name: z.ZodOptional<z.ZodString>;
4446
+ }, "strip", z.ZodTypeAny, {
4425
4447
  toolkits: string[];
4426
- limit: number;
4427
4448
  page: number;
4449
+ limit: number;
4428
4450
  authConfigs: string[];
4429
4451
  name?: string | undefined;
4430
4452
  }, {
4431
4453
  name?: string | undefined;
4432
4454
  toolkits?: string[] | undefined;
4433
- limit?: number | undefined;
4434
4455
  page?: number | undefined;
4456
+ limit?: number | undefined;
4435
4457
  authConfigs?: string[] | undefined;
4436
4458
  }>;
4437
- type MCPListParams = z$1.infer<typeof MCPListParamsSchema>;
4438
- declare const MCPItemSchema: z$1.ZodObject<{
4459
+ type MCPListParams = z.infer<typeof MCPListParamsSchema>;
4460
+ declare const MCPItemSchema: z.ZodObject<{
4439
4461
  /**
4440
4462
  * Unique identifier for the newly created custom MCP server
4441
4463
  */
4442
- id: z$1.ZodString;
4464
+ id: z.ZodString;
4443
4465
  /**
4444
4466
  * Human-readable name of the custom MCP server
4445
4467
  */
4446
- name: z$1.ZodString;
4468
+ name: z.ZodString;
4447
4469
  /**
4448
4470
  * List of tool identifiers that are enabled for this server
4449
4471
  */
4450
- allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
4472
+ allowedTools: z.ZodArray<z.ZodString, "many">;
4451
4473
  /**
4452
4474
  * ID references to the auth configurations used by this server
4453
4475
  */
4454
- authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
4476
+ authConfigIds: z.ZodArray<z.ZodString, "many">;
4455
4477
  /**
4456
4478
  * Set of command line instructions for connecting various clients to this MCP server
4457
4479
  */
4458
- commands: z$1.ZodObject<{
4480
+ commands: z.ZodObject<{
4459
4481
  /**
4460
4482
  * Command line instruction for Claude client setup
4461
4483
  */
4462
- claude: z$1.ZodString;
4484
+ claude: z.ZodString;
4463
4485
  /**
4464
4486
  * Command line instruction for Cursor client setup
4465
4487
  */
4466
- cursor: z$1.ZodString;
4488
+ cursor: z.ZodString;
4467
4489
  /**
4468
4490
  * Command line instruction for Windsurf client setup
4469
4491
  */
4470
- windsurf: z$1.ZodString;
4471
- }, "strip", z$1.ZodTypeAny, {
4492
+ windsurf: z.ZodString;
4493
+ }, "strip", z.ZodTypeAny, {
4472
4494
  claude: string;
4473
4495
  cursor: string;
4474
4496
  windsurf: string;
@@ -4480,17 +4502,17 @@ declare const MCPItemSchema: z$1.ZodObject<{
4480
4502
  /**
4481
4503
  * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
4482
4504
  */
4483
- MCPUrl: z$1.ZodString;
4505
+ MCPUrl: z.ZodString;
4484
4506
  } & {
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, {
4507
+ toolkitIcons: z.ZodRecord<z.ZodString, z.ZodString>;
4508
+ serverInstanceCount: z.ZodNumber;
4509
+ toolkits: z.ZodArray<z.ZodString, "many">;
4510
+ }, "strip", z.ZodTypeAny, {
4511
+ allowedTools: string[];
4489
4512
  name: string;
4490
4513
  toolkits: string[];
4491
- authConfigIds: string[];
4492
- allowedTools: string[];
4493
4514
  id: string;
4515
+ authConfigIds: string[];
4494
4516
  commands: {
4495
4517
  claude: string;
4496
4518
  cursor: string;
@@ -4500,11 +4522,11 @@ declare const MCPItemSchema: z$1.ZodObject<{
4500
4522
  toolkitIcons: Record<string, string>;
4501
4523
  serverInstanceCount: number;
4502
4524
  }, {
4525
+ allowedTools: string[];
4503
4526
  name: string;
4504
4527
  toolkits: string[];
4505
- authConfigIds: string[];
4506
- allowedTools: string[];
4507
4528
  id: string;
4529
+ authConfigIds: string[];
4508
4530
  commands: {
4509
4531
  claude: string;
4510
4532
  cursor: string;
@@ -4514,42 +4536,42 @@ declare const MCPItemSchema: z$1.ZodObject<{
4514
4536
  toolkitIcons: Record<string, string>;
4515
4537
  serverInstanceCount: number;
4516
4538
  }>;
4517
- type MCPItem = z$1.infer<typeof MCPItemSchema>;
4518
- declare const MCPListResponseSchema: z$1.ZodObject<{
4519
- items: z$1.ZodArray<z$1.ZodObject<{
4539
+ type MCPItem = z.infer<typeof MCPItemSchema>;
4540
+ declare const MCPListResponseSchema: z.ZodObject<{
4541
+ items: z.ZodArray<z.ZodObject<{
4520
4542
  /**
4521
4543
  * Unique identifier for the newly created custom MCP server
4522
4544
  */
4523
- id: z$1.ZodString;
4545
+ id: z.ZodString;
4524
4546
  /**
4525
4547
  * Human-readable name of the custom MCP server
4526
4548
  */
4527
- name: z$1.ZodString;
4549
+ name: z.ZodString;
4528
4550
  /**
4529
4551
  * List of tool identifiers that are enabled for this server
4530
4552
  */
4531
- allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
4553
+ allowedTools: z.ZodArray<z.ZodString, "many">;
4532
4554
  /**
4533
4555
  * ID references to the auth configurations used by this server
4534
4556
  */
4535
- authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
4557
+ authConfigIds: z.ZodArray<z.ZodString, "many">;
4536
4558
  /**
4537
4559
  * Set of command line instructions for connecting various clients to this MCP server
4538
4560
  */
4539
- commands: z$1.ZodObject<{
4561
+ commands: z.ZodObject<{
4540
4562
  /**
4541
4563
  * Command line instruction for Claude client setup
4542
4564
  */
4543
- claude: z$1.ZodString;
4565
+ claude: z.ZodString;
4544
4566
  /**
4545
4567
  * Command line instruction for Cursor client setup
4546
4568
  */
4547
- cursor: z$1.ZodString;
4569
+ cursor: z.ZodString;
4548
4570
  /**
4549
4571
  * Command line instruction for Windsurf client setup
4550
4572
  */
4551
- windsurf: z$1.ZodString;
4552
- }, "strip", z$1.ZodTypeAny, {
4573
+ windsurf: z.ZodString;
4574
+ }, "strip", z.ZodTypeAny, {
4553
4575
  claude: string;
4554
4576
  cursor: string;
4555
4577
  windsurf: string;
@@ -4561,17 +4583,17 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
4561
4583
  /**
4562
4584
  * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
4563
4585
  */
4564
- MCPUrl: z$1.ZodString;
4586
+ MCPUrl: z.ZodString;
4565
4587
  } & {
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, {
4588
+ toolkitIcons: z.ZodRecord<z.ZodString, z.ZodString>;
4589
+ serverInstanceCount: z.ZodNumber;
4590
+ toolkits: z.ZodArray<z.ZodString, "many">;
4591
+ }, "strip", z.ZodTypeAny, {
4592
+ allowedTools: string[];
4570
4593
  name: string;
4571
4594
  toolkits: string[];
4572
- authConfigIds: string[];
4573
- allowedTools: string[];
4574
4595
  id: string;
4596
+ authConfigIds: string[];
4575
4597
  commands: {
4576
4598
  claude: string;
4577
4599
  cursor: string;
@@ -4581,11 +4603,11 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
4581
4603
  toolkitIcons: Record<string, string>;
4582
4604
  serverInstanceCount: number;
4583
4605
  }, {
4606
+ allowedTools: string[];
4584
4607
  name: string;
4585
4608
  toolkits: string[];
4586
- authConfigIds: string[];
4587
- allowedTools: string[];
4588
4609
  id: string;
4610
+ authConfigIds: string[];
4589
4611
  commands: {
4590
4612
  claude: string;
4591
4613
  cursor: string;
@@ -4595,15 +4617,15 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
4595
4617
  toolkitIcons: Record<string, string>;
4596
4618
  serverInstanceCount: number;
4597
4619
  }>, "many">;
4598
- currentPage: z$1.ZodNumber;
4599
- totalPages: z$1.ZodNumber;
4600
- }, "strip", z$1.ZodTypeAny, {
4620
+ currentPage: z.ZodNumber;
4621
+ totalPages: z.ZodNumber;
4622
+ }, "strip", z.ZodTypeAny, {
4601
4623
  items: {
4624
+ allowedTools: string[];
4602
4625
  name: string;
4603
4626
  toolkits: string[];
4604
- authConfigIds: string[];
4605
- allowedTools: string[];
4606
4627
  id: string;
4628
+ authConfigIds: string[];
4607
4629
  commands: {
4608
4630
  claude: string;
4609
4631
  cursor: string;
@@ -4617,11 +4639,11 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
4617
4639
  currentPage: number;
4618
4640
  }, {
4619
4641
  items: {
4642
+ allowedTools: string[];
4620
4643
  name: string;
4621
4644
  toolkits: string[];
4622
- authConfigIds: string[];
4623
- allowedTools: string[];
4624
4645
  id: string;
4646
+ authConfigIds: string[];
4625
4647
  commands: {
4626
4648
  claude: string;
4627
4649
  cursor: string;
@@ -4634,39 +4656,39 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
4634
4656
  totalPages: number;
4635
4657
  currentPage: number;
4636
4658
  }>;
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, {
4659
+ type MCPListResponse = z.infer<typeof MCPListResponseSchema>;
4660
+ declare const MCPUpdateParamsSchema: z.ZodObject<{
4661
+ name: z.ZodOptional<z.ZodString>;
4662
+ toolkits: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4663
+ toolkit: z.ZodOptional<z.ZodString>;
4664
+ authConfigId: z.ZodOptional<z.ZodString>;
4665
+ }, "strip", z.ZodTypeAny, {
4644
4666
  toolkit?: string | undefined;
4645
4667
  authConfigId?: string | undefined;
4646
4668
  }, {
4647
4669
  toolkit?: string | undefined;
4648
4670
  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, {
4671
+ }>, z.ZodString]>, "many">>;
4672
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4673
+ manuallyManageConnections: z.ZodOptional<z.ZodBoolean>;
4674
+ }, "strip", z.ZodTypeAny, {
4675
+ allowedTools?: string[] | undefined;
4653
4676
  name?: string | undefined;
4654
4677
  toolkits?: (string | {
4655
4678
  toolkit?: string | undefined;
4656
4679
  authConfigId?: string | undefined;
4657
4680
  })[] | undefined;
4658
- allowedTools?: string[] | undefined;
4659
4681
  manuallyManageConnections?: boolean | undefined;
4660
4682
  }, {
4683
+ allowedTools?: string[] | undefined;
4661
4684
  name?: string | undefined;
4662
4685
  toolkits?: (string | {
4663
4686
  toolkit?: string | undefined;
4664
4687
  authConfigId?: string | undefined;
4665
4688
  })[] | undefined;
4666
- allowedTools?: string[] | undefined;
4667
4689
  manuallyManageConnections?: boolean | undefined;
4668
4690
  }>;
4669
- type MCPUpdateParams = z$1.infer<typeof MCPUpdateParamsSchema>;
4691
+ type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
4670
4692
  //#endregion
4671
4693
  //#region src/models/MCP.d.ts
4672
4694
  /**