@composio/core 0.13.0 → 0.14.0

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