@composio/core 0.9.1 → 0.11.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 (39) hide show
  1. package/dist/{tool.types-CB_4JKhV.d.mts → BaseProvider-BvHvJLXc.d.mts} +24346 -24345
  2. package/dist/{tool.types-CwbAy9l_.d.cts → BaseProvider-CVbQxTNa.d.cts} +24346 -24345
  3. package/dist/{CustomTool-PSRHsd85.d.cts → CustomTool-C-IUByoU.d.cts} +1 -1
  4. package/dist/{CustomTool-BFkwL1aY.d.mts → CustomTool-CChQSp44.d.mts} +1 -1
  5. package/dist/{CustomTool-Bkk0QYzw.cjs → CustomTool-D3-NreIm.cjs} +81 -81
  6. package/dist/{CustomTool-IIUhFtP8.mjs → CustomTool-D5s-aADw.mjs} +76 -76
  7. package/dist/{FileToolModifier.utils.neutral-B7P7wn-b.mjs → FileToolModifier.utils.neutral-BpSceNK8.mjs} +1 -7
  8. package/dist/{FileToolModifier.utils.neutral-Dfwqgimk.cjs → FileToolModifier.utils.neutral-DSBQs9-i.cjs} +2 -8
  9. package/dist/{Telemetry-Dm-0sewu.cjs → Telemetry-BQ_pl5AK.cjs} +34 -9
  10. package/dist/{Telemetry-kgWlkavX.mjs → Telemetry-DQax33Gh.mjs} +34 -9
  11. package/dist/{composio-Dzlk0Wj4.d.mts → composio-BlASKqjQ.d.mts} +216 -237
  12. package/dist/{composio-BnLWW0B6.d.cts → composio-pcA13w87.d.cts} +216 -237
  13. package/dist/{customTool.types-oV5boR1w.d.mts → customTool.types-DLIORcYN.d.mts} +195 -138
  14. package/dist/{customTool.types-BVgnEbR2.d.cts → customTool.types-QtkAZQma.d.cts} +195 -138
  15. package/dist/experimental/index.cjs +1 -1
  16. package/dist/experimental/index.d.cts +2 -2
  17. package/dist/experimental/index.d.mts +3 -3
  18. package/dist/experimental/index.mjs +1 -1
  19. package/dist/index.cjs +623 -654
  20. package/dist/index.d.cts +415 -18
  21. package/dist/index.d.mts +415 -18
  22. package/dist/index.mjs +617 -652
  23. package/dist/models/Files.node.cjs +1 -1
  24. package/dist/models/Files.node.mjs +1 -1
  25. package/dist/{types-4vkdo_RG.d.cts → types-DRG5qLxI.d.cts} +2 -2
  26. package/dist/{types-AcoPzTnm.d.mts → types-J2KCXP8R.d.mts} +2 -2
  27. package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
  28. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
  29. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
  30. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
  31. package/dist/utils/modifiers/FileToolModifier.node.cjs +38 -21
  32. package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
  33. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  34. package/dist/utils/modifiers/FileToolModifier.node.mjs +38 -21
  35. package/dist/utils/modifiers/FileToolModifier.workerd.cjs +1 -1
  36. package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
  37. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  38. package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
  39. package/package.json +12 -3
@@ -1,5 +1,5 @@
1
- import { D as ToolkitVersionParam, I as ProviderOptions, J as BaseNonAgenticProvider, Kt as McpUrlResponse, L as SessionExecuteMetaModifiers, P as ExecuteToolModifiers, Vt as McpServerGetResponse, Xt as ExecuteToolFnOptions, a as SchemaModifierOptions, b as ToolRetrievalOptions, d as ToolExecuteResponse$1, l as ToolExecuteParams, m as ToolListParams, o as Tool, p as ToolList, q as BaseComposioProvider, s as ToolExecuteMetaParams, v as ToolProxyParams } from "./tool.types-CwbAy9l_.cjs";
2
- import { $t as ConnectedAccountRetrieveResponse, H as ToolRouterCreateSessionConfig, Jt as ConnectedAccountListResponse, Kt as ConnectedAccountListParams, Rt as ConnectionRequest, Zt as ConnectedAccountRefreshOptions, a as CustomTool, c as CustomToolInputParameter, cn as CreateConnectedAccountLinkOptions, fn as CreateConnectedAccountOptions, h as CustomToolkit, j as Session, l as CustomToolOptions, xn as UpdateConnectedAccountParams, yn as UpdateConnectedAccountAclParams } from "./customTool.types-BVgnEbR2.cjs";
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-CVbQxTNa.cjs";
2
+ import { I as ToolRouterCreateSessionConfig, Kt as ConnectedAccountListResponse, Mt as ConnectionRequest, T as Session, Wt as ConnectedAccountListParams, Yt as ConnectedAccountRefreshOptions, Zt as ConnectedAccountRetrieveResponse, _n as UpdateConnectedAccountAclParams, a as CustomTool, d as CustomToolkit, on as CreateConnectedAccountLinkOptions, un as CreateConnectedAccountOptions, yn as UpdateConnectedAccountParams } from "./customTool.types-QtkAZQma.cjs";
3
3
  import z$1, { z } from "zod/v3";
4
4
  import { ConnectedAccountDeleteResponse, ConnectedAccountPatchResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
5
5
  import ComposioClient, { Composio } from "@composio/client";
@@ -21,7 +21,6 @@ type ToolRouterSessionExecuteOptions = {
21
21
  */
22
22
  declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
23
23
  private client;
24
- private readonly customTools;
25
24
  private provider;
26
25
  private autoUploadDownloadFiles;
27
26
  private toolkitVersions;
@@ -95,10 +94,12 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
95
94
  */
96
95
  private applyAfterExecuteModifiers;
97
96
  /**
98
- * Lists all tools available in the Composio SDK including custom tools.
97
+ * Lists Composio API tools available to the SDK.
99
98
  *
100
- * This method fetches tools from the Composio API in raw format and combines them with
101
- * any registered custom tools. The response can be filtered and modified as needed.
99
+ * This method fetches remote Composio tools from the API in raw format. The response can be
100
+ * filtered and modified as needed. Local experimental custom tools are session-scoped; attach
101
+ * them when creating or reusing a Tool Router session, then use `session.tools()`,
102
+ * `session.customTools()`, or `session.execute()`.
102
103
  * It provides access to the underlying tool data without provider-specific wrapping.
103
104
  *
104
105
  * @param {ToolListParams} query - Query parameters to filter the tools (required)
@@ -175,6 +176,9 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
175
176
  * This method fetches a single tool in raw format without provider-specific wrapping,
176
177
  * providing direct access to the tool's schema and metadata. Tool versions are controlled
177
178
  * at the Composio SDK initialization level through the `toolkitVersions` configuration.
179
+ * Local experimental custom tools are session-scoped; attach them when creating or reusing a
180
+ * Tool Router session, then use `session.tools()`, `session.customTools()`, or
181
+ * `session.execute()`.
178
182
  *
179
183
  * @param {string} slug - The unique identifier of the tool (e.g., 'GITHUB_GET_REPOS')
180
184
  * @param {GetRawComposioToolBySlugOptions} [options] - Optional configuration for tool retrieval
@@ -204,9 +208,6 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
204
208
  * }
205
209
  * );
206
210
  *
207
- * // Get a custom tool (will check custom tools first)
208
- * const customTool = await composio.tools.getRawComposioToolBySlug('MY_CUSTOM_TOOL');
209
- *
210
211
  * // Access tool properties
211
212
  * const githubTool = await composio.tools.getRawComposioToolBySlug('GITHUB_CREATE_ISSUE');
212
213
  * console.log({
@@ -339,8 +340,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
339
340
  /**
340
341
  * Executes a given tool with the provided parameters.
341
342
  *
342
- * This method calls the Composio API or a custom tool handler to execute the tool and returns the response.
343
- * It automatically determines whether to use a custom tool or a Composio API tool based on the slug.
343
+ * This method calls the Composio API to execute the tool and returns the response.
344
344
  *
345
345
  * **Version Control:**
346
346
  * By default, manual tool execution requires a specific toolkit version. If the version resolves to "latest",
@@ -357,7 +357,6 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
357
357
  * @param {ExecuteToolModifiers} [modifiers] - Optional modifiers to transform the request or response
358
358
  * @returns {Promise<ToolExecuteResponse>} - The response from the tool execution
359
359
  *
360
- * @throws {ComposioCustomToolsNotInitializedError} If the CustomTools instance is not initialized
361
360
  * @throws {ComposioConnectedAccountNotFoundError} If the connected account is not found
362
361
  * @throws {ComposioToolNotFoundError} If the tool with the given slug is not found
363
362
  * @throws {ComposioToolVersionRequiredError} If version resolves to "latest" and dangerouslySkipVersionCheck is not true
@@ -409,7 +408,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
409
408
  * });
410
409
  * ```
411
410
  */
412
- execute(slug: string, body: ToolExecuteParams, modifiers?: ExecuteToolModifiers): Promise<ToolExecuteResponse$1>;
411
+ execute(slug: string, body: ToolExecuteParams, modifiers?: ExecuteToolModifiers): Promise<ToolExecuteResponse>;
413
412
  /**
414
413
  * Executes a tool based on a tool router session.
415
414
  *
@@ -421,7 +420,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
421
420
  * @param {Tool} tool - Optional tool schema used to resolve toolkit metadata for modifiers
422
421
  * @returns {Promise<ToolExecuteResponse>} The response from the tool execution
423
422
  */
424
- executeSessionTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers, tool?: Tool, options?: ToolRouterSessionExecuteOptions): Promise<ToolExecuteResponse$1>;
423
+ executeSessionTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers, tool?: Tool, options?: ToolRouterSessionExecuteOptions): Promise<ToolExecuteResponse>;
425
424
  /**
426
425
  * Fetches the list of all available tools in the Composio SDK.
427
426
  *
@@ -480,52 +479,6 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
480
479
  * ```
481
480
  */
482
481
  proxyExecute(body: ToolProxyParams): Promise<ToolProxyResponse>;
483
- /**
484
- * Creates a custom tool that can be used within the Composio SDK.
485
- *
486
- * Custom tools allow you to extend the functionality of Composio with your own implementations
487
- * while keeping a consistent interface for both built-in and custom tools.
488
- *
489
- * @param {CustomToolOptions} body - The configuration for the custom tool
490
- * @returns {Promise<Tool>} The created custom tool
491
- *
492
- * @example
493
- * ```typescript
494
- * // creating a custom tool with a toolkit
495
- * await composio.tools.createCustomTool({
496
- * name: 'My Custom Tool',
497
- * description: 'A custom tool that does something specific',
498
- * slug: 'MY_CUSTOM_TOOL',
499
- * userId: 'default',
500
- * connectedAccountId: '123',
501
- * toolkitSlug: 'github',
502
- * inputParameters: z.object({
503
- * param1: z.string().describe('First parameter'),
504
- * }),
505
- * execute: async (input, connectionConfig, executeToolRequest) => {
506
- * // Custom logic here
507
- * return { data: { result: 'Success!' } };
508
- * }
509
- * });
510
- * ```
511
- *
512
- * @example
513
- * ```typescript
514
- * // creating a custom tool without a toolkit
515
- * await composio.tools.createCustomTool({
516
- * name: 'My Custom Tool',
517
- * description: 'A custom tool that does something specific',
518
- * slug: 'MY_CUSTOM_TOOL',
519
- * inputParameters: z.object({
520
- * param1: z.string().describe('First parameter'),
521
- * }),
522
- * execute: async (input) => {
523
- * // Custom logic here
524
- * return { data: { result: 'Success!' } };
525
- * }
526
- * });
527
- */
528
- createCustomTool<T extends CustomToolInputParameter>(body: CustomToolOptions<T>): Promise<Tool>;
529
482
  }
530
483
  //#endregion
531
484
  //#region src/types/toolkit.types.d.ts
@@ -564,11 +517,11 @@ declare const ToolKitMetaSchema: z.ZodObject<{
564
517
  slug: z.ZodString;
565
518
  name: z.ZodString;
566
519
  }, "strip", z.ZodTypeAny, {
567
- slug: string;
568
520
  name: string;
569
- }, {
570
521
  slug: string;
522
+ }, {
571
523
  name: string;
524
+ slug: string;
572
525
  }>, "many">>;
573
526
  appUrl: z.ZodOptional<z.ZodString>;
574
527
  createdAt: z.ZodOptional<z.ZodString>;
@@ -579,31 +532,31 @@ declare const ToolKitMetaSchema: z.ZodObject<{
579
532
  updatedAt: z.ZodOptional<z.ZodString>;
580
533
  availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
581
534
  }, "strip", z.ZodTypeAny, {
582
- logo?: string | undefined;
583
535
  description?: string | undefined;
536
+ logo?: string | undefined;
584
537
  availableVersions?: string[] | undefined;
585
538
  createdAt?: string | undefined;
586
- updatedAt?: string | undefined;
587
539
  categories?: {
588
- slug: string;
589
540
  name: string;
541
+ slug: string;
590
542
  }[] | undefined;
591
543
  appUrl?: string | undefined;
592
544
  toolsCount?: number | undefined;
593
545
  triggersCount?: number | undefined;
546
+ updatedAt?: string | undefined;
594
547
  }, {
595
- logo?: string | undefined;
596
548
  description?: string | undefined;
549
+ logo?: string | undefined;
597
550
  availableVersions?: string[] | undefined;
598
551
  createdAt?: string | undefined;
599
- updatedAt?: string | undefined;
600
552
  categories?: {
601
- slug: string;
602
553
  name: string;
554
+ slug: string;
603
555
  }[] | undefined;
604
556
  appUrl?: string | undefined;
605
557
  toolsCount?: number | undefined;
606
558
  triggersCount?: number | undefined;
559
+ updatedAt?: string | undefined;
607
560
  }>;
608
561
  declare const ToolKitItemSchema: z.ZodObject<{
609
562
  name: z.ZodString;
@@ -613,11 +566,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
613
566
  slug: z.ZodString;
614
567
  name: z.ZodString;
615
568
  }, "strip", z.ZodTypeAny, {
616
- slug: string;
617
569
  name: string;
618
- }, {
619
570
  slug: string;
571
+ }, {
620
572
  name: string;
573
+ slug: string;
621
574
  }>, "many">>;
622
575
  appUrl: z.ZodOptional<z.ZodString>;
623
576
  createdAt: z.ZodOptional<z.ZodString>;
@@ -628,73 +581,73 @@ declare const ToolKitItemSchema: z.ZodObject<{
628
581
  updatedAt: z.ZodOptional<z.ZodString>;
629
582
  availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
630
583
  }, "strip", z.ZodTypeAny, {
631
- logo?: string | undefined;
632
584
  description?: string | undefined;
585
+ logo?: string | undefined;
633
586
  availableVersions?: string[] | undefined;
634
587
  createdAt?: string | undefined;
635
- updatedAt?: string | undefined;
636
588
  categories?: {
637
- slug: string;
638
589
  name: string;
590
+ slug: string;
639
591
  }[] | undefined;
640
592
  appUrl?: string | undefined;
641
593
  toolsCount?: number | undefined;
642
594
  triggersCount?: number | undefined;
595
+ updatedAt?: string | undefined;
643
596
  }, {
644
- logo?: string | undefined;
645
597
  description?: string | undefined;
598
+ logo?: string | undefined;
646
599
  availableVersions?: string[] | undefined;
647
600
  createdAt?: string | undefined;
648
- updatedAt?: string | undefined;
649
601
  categories?: {
650
- slug: string;
651
602
  name: string;
603
+ slug: string;
652
604
  }[] | undefined;
653
605
  appUrl?: string | undefined;
654
606
  toolsCount?: number | undefined;
655
607
  triggersCount?: number | undefined;
608
+ updatedAt?: string | undefined;
656
609
  }>;
657
610
  isLocalToolkit: z.ZodBoolean;
658
611
  authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
612
  composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
660
613
  noAuth: z.ZodOptional<z.ZodBoolean>;
661
614
  }, "strip", z.ZodTypeAny, {
662
- slug: string;
663
615
  name: string;
616
+ slug: string;
664
617
  meta: {
665
- logo?: string | undefined;
666
618
  description?: string | undefined;
619
+ logo?: string | undefined;
667
620
  availableVersions?: string[] | undefined;
668
621
  createdAt?: string | undefined;
669
- updatedAt?: string | undefined;
670
622
  categories?: {
671
- slug: string;
672
623
  name: string;
624
+ slug: string;
673
625
  }[] | undefined;
674
626
  appUrl?: string | undefined;
675
627
  toolsCount?: number | undefined;
676
628
  triggersCount?: number | undefined;
629
+ updatedAt?: string | undefined;
677
630
  };
678
631
  isLocalToolkit: boolean;
679
632
  authSchemes?: string[] | undefined;
680
633
  composioManagedAuthSchemes?: string[] | undefined;
681
634
  noAuth?: boolean | undefined;
682
635
  }, {
683
- slug: string;
684
636
  name: string;
637
+ slug: string;
685
638
  meta: {
686
- logo?: string | undefined;
687
639
  description?: string | undefined;
640
+ logo?: string | undefined;
688
641
  availableVersions?: string[] | undefined;
689
642
  createdAt?: string | undefined;
690
- updatedAt?: string | undefined;
691
643
  categories?: {
692
- slug: string;
693
644
  name: string;
645
+ slug: string;
694
646
  }[] | undefined;
695
647
  appUrl?: string | undefined;
696
648
  toolsCount?: number | undefined;
697
649
  triggersCount?: number | undefined;
650
+ updatedAt?: string | undefined;
698
651
  };
699
652
  isLocalToolkit: boolean;
700
653
  authSchemes?: string[] | undefined;
@@ -709,11 +662,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
709
662
  slug: z.ZodString;
710
663
  name: z.ZodString;
711
664
  }, "strip", z.ZodTypeAny, {
712
- slug: string;
713
665
  name: string;
714
- }, {
715
666
  slug: string;
667
+ }, {
716
668
  name: string;
669
+ slug: string;
717
670
  }>, "many">>;
718
671
  appUrl: z.ZodOptional<z.ZodString>;
719
672
  createdAt: z.ZodOptional<z.ZodString>;
@@ -724,73 +677,73 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
724
677
  updatedAt: z.ZodOptional<z.ZodString>;
725
678
  availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
726
679
  }, "strip", z.ZodTypeAny, {
727
- logo?: string | undefined;
728
680
  description?: string | undefined;
681
+ logo?: string | undefined;
729
682
  availableVersions?: string[] | undefined;
730
683
  createdAt?: string | undefined;
731
- updatedAt?: string | undefined;
732
684
  categories?: {
733
- slug: string;
734
685
  name: string;
686
+ slug: string;
735
687
  }[] | undefined;
736
688
  appUrl?: string | undefined;
737
689
  toolsCount?: number | undefined;
738
690
  triggersCount?: number | undefined;
691
+ updatedAt?: string | undefined;
739
692
  }, {
740
- logo?: string | undefined;
741
693
  description?: string | undefined;
694
+ logo?: string | undefined;
742
695
  availableVersions?: string[] | undefined;
743
696
  createdAt?: string | undefined;
744
- updatedAt?: string | undefined;
745
697
  categories?: {
746
- slug: string;
747
698
  name: string;
699
+ slug: string;
748
700
  }[] | undefined;
749
701
  appUrl?: string | undefined;
750
702
  toolsCount?: number | undefined;
751
703
  triggersCount?: number | undefined;
704
+ updatedAt?: string | undefined;
752
705
  }>;
753
706
  isLocalToolkit: z.ZodBoolean;
754
707
  authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
755
708
  composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
756
709
  noAuth: z.ZodOptional<z.ZodBoolean>;
757
710
  }, "strip", z.ZodTypeAny, {
758
- slug: string;
759
711
  name: string;
712
+ slug: string;
760
713
  meta: {
761
- logo?: string | undefined;
762
714
  description?: string | undefined;
715
+ logo?: string | undefined;
763
716
  availableVersions?: string[] | undefined;
764
717
  createdAt?: string | undefined;
765
- updatedAt?: string | undefined;
766
718
  categories?: {
767
- slug: string;
768
719
  name: string;
720
+ slug: string;
769
721
  }[] | undefined;
770
722
  appUrl?: string | undefined;
771
723
  toolsCount?: number | undefined;
772
724
  triggersCount?: number | undefined;
725
+ updatedAt?: string | undefined;
773
726
  };
774
727
  isLocalToolkit: boolean;
775
728
  authSchemes?: string[] | undefined;
776
729
  composioManagedAuthSchemes?: string[] | undefined;
777
730
  noAuth?: boolean | undefined;
778
731
  }, {
779
- slug: string;
780
732
  name: string;
733
+ slug: string;
781
734
  meta: {
782
- logo?: string | undefined;
783
735
  description?: string | undefined;
736
+ logo?: string | undefined;
784
737
  availableVersions?: string[] | undefined;
785
738
  createdAt?: string | undefined;
786
- updatedAt?: string | undefined;
787
739
  categories?: {
788
- slug: string;
789
740
  name: string;
741
+ slug: string;
790
742
  }[] | undefined;
791
743
  appUrl?: string | undefined;
792
744
  toolsCount?: number | undefined;
793
745
  triggersCount?: number | undefined;
746
+ updatedAt?: string | undefined;
794
747
  };
795
748
  isLocalToolkit: boolean;
796
749
  authSchemes?: string[] | undefined;
@@ -812,15 +765,15 @@ declare const ToolkitAuthFieldSchema: z.ZodObject<{
812
765
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
813
766
  }, "strip", z.ZodTypeAny, {
814
767
  name: string;
815
- type: string;
816
768
  description: string;
769
+ type: string;
817
770
  required: boolean;
818
771
  displayName: string;
819
772
  default?: string | null | undefined;
820
773
  }, {
821
774
  name: string;
822
- type: string;
823
775
  description: string;
776
+ type: string;
824
777
  required: boolean;
825
778
  displayName: string;
826
779
  default?: string | null | undefined;
@@ -839,15 +792,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
839
792
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
840
793
  }, "strip", z.ZodTypeAny, {
841
794
  name: string;
842
- type: string;
843
795
  description: string;
796
+ type: string;
844
797
  required: boolean;
845
798
  displayName: string;
846
799
  default?: string | null | undefined;
847
800
  }, {
848
801
  name: string;
849
- type: string;
850
802
  description: string;
803
+ type: string;
851
804
  required: boolean;
852
805
  displayName: string;
853
806
  default?: string | null | undefined;
@@ -861,15 +814,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
861
814
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
815
  }, "strip", z.ZodTypeAny, {
863
816
  name: string;
864
- type: string;
865
817
  description: string;
818
+ type: string;
866
819
  required: boolean;
867
820
  displayName: string;
868
821
  default?: string | null | undefined;
869
822
  }, {
870
823
  name: string;
871
- type: string;
872
824
  description: string;
825
+ type: string;
873
826
  required: boolean;
874
827
  displayName: string;
875
828
  default?: string | null | undefined;
@@ -877,16 +830,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
877
830
  }, "strip", z.ZodTypeAny, {
878
831
  required: {
879
832
  name: string;
880
- type: string;
881
833
  description: string;
834
+ type: string;
882
835
  required: boolean;
883
836
  displayName: string;
884
837
  default?: string | null | undefined;
885
838
  }[];
886
839
  optional: {
887
840
  name: string;
888
- type: string;
889
841
  description: string;
842
+ type: string;
890
843
  required: boolean;
891
844
  displayName: string;
892
845
  default?: string | null | undefined;
@@ -894,16 +847,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
894
847
  }, {
895
848
  required: {
896
849
  name: string;
897
- type: string;
898
850
  description: string;
851
+ type: string;
899
852
  required: boolean;
900
853
  displayName: string;
901
854
  default?: string | null | undefined;
902
855
  }[];
903
856
  optional: {
904
857
  name: string;
905
- type: string;
906
858
  description: string;
859
+ type: string;
907
860
  required: boolean;
908
861
  displayName: string;
909
862
  default?: string | null | undefined;
@@ -919,15 +872,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
919
872
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
920
873
  }, "strip", z.ZodTypeAny, {
921
874
  name: string;
922
- type: string;
923
875
  description: string;
876
+ type: string;
924
877
  required: boolean;
925
878
  displayName: string;
926
879
  default?: string | null | undefined;
927
880
  }, {
928
881
  name: string;
929
- type: string;
930
882
  description: string;
883
+ type: string;
931
884
  required: boolean;
932
885
  displayName: string;
933
886
  default?: string | null | undefined;
@@ -941,15 +894,15 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
941
894
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
942
895
  }, "strip", z.ZodTypeAny, {
943
896
  name: string;
944
- type: string;
945
897
  description: string;
898
+ type: string;
946
899
  required: boolean;
947
900
  displayName: string;
948
901
  default?: string | null | undefined;
949
902
  }, {
950
903
  name: string;
951
- type: string;
952
904
  description: string;
905
+ type: string;
953
906
  required: boolean;
954
907
  displayName: string;
955
908
  default?: string | null | undefined;
@@ -957,16 +910,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
957
910
  }, "strip", z.ZodTypeAny, {
958
911
  required: {
959
912
  name: string;
960
- type: string;
961
913
  description: string;
914
+ type: string;
962
915
  required: boolean;
963
916
  displayName: string;
964
917
  default?: string | null | undefined;
965
918
  }[];
966
919
  optional: {
967
920
  name: string;
968
- type: string;
969
921
  description: string;
922
+ type: string;
970
923
  required: boolean;
971
924
  displayName: string;
972
925
  default?: string | null | undefined;
@@ -974,16 +927,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
974
927
  }, {
975
928
  required: {
976
929
  name: string;
977
- type: string;
978
930
  description: string;
931
+ type: string;
979
932
  required: boolean;
980
933
  displayName: string;
981
934
  default?: string | null | undefined;
982
935
  }[];
983
936
  optional: {
984
937
  name: string;
985
- type: string;
986
938
  description: string;
939
+ type: string;
987
940
  required: boolean;
988
941
  displayName: string;
989
942
  default?: string | null | undefined;
@@ -993,16 +946,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
993
946
  authConfigCreation: {
994
947
  required: {
995
948
  name: string;
996
- type: string;
997
949
  description: string;
950
+ type: string;
998
951
  required: boolean;
999
952
  displayName: string;
1000
953
  default?: string | null | undefined;
1001
954
  }[];
1002
955
  optional: {
1003
956
  name: string;
1004
- type: string;
1005
957
  description: string;
958
+ type: string;
1006
959
  required: boolean;
1007
960
  displayName: string;
1008
961
  default?: string | null | undefined;
@@ -1011,16 +964,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1011
964
  connectedAccountInitiation: {
1012
965
  required: {
1013
966
  name: string;
1014
- type: string;
1015
967
  description: string;
968
+ type: string;
1016
969
  required: boolean;
1017
970
  displayName: string;
1018
971
  default?: string | null | undefined;
1019
972
  }[];
1020
973
  optional: {
1021
974
  name: string;
1022
- type: string;
1023
975
  description: string;
976
+ type: string;
1024
977
  required: boolean;
1025
978
  displayName: string;
1026
979
  default?: string | null | undefined;
@@ -1030,16 +983,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1030
983
  authConfigCreation: {
1031
984
  required: {
1032
985
  name: string;
1033
- type: string;
1034
986
  description: string;
987
+ type: string;
1035
988
  required: boolean;
1036
989
  displayName: string;
1037
990
  default?: string | null | undefined;
1038
991
  }[];
1039
992
  optional: {
1040
993
  name: string;
1041
- type: string;
1042
994
  description: string;
995
+ type: string;
1043
996
  required: boolean;
1044
997
  displayName: string;
1045
998
  default?: string | null | undefined;
@@ -1048,16 +1001,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1048
1001
  connectedAccountInitiation: {
1049
1002
  required: {
1050
1003
  name: string;
1051
- type: string;
1052
1004
  description: string;
1005
+ type: string;
1053
1006
  required: boolean;
1054
1007
  displayName: string;
1055
1008
  default?: string | null | undefined;
1056
1009
  }[];
1057
1010
  optional: {
1058
1011
  name: string;
1059
- type: string;
1060
1012
  description: string;
1013
+ type: string;
1061
1014
  required: boolean;
1062
1015
  displayName: string;
1063
1016
  default?: string | null | undefined;
@@ -1078,16 +1031,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1078
1031
  authConfigCreation: {
1079
1032
  required: {
1080
1033
  name: string;
1081
- type: string;
1082
1034
  description: string;
1035
+ type: string;
1083
1036
  required: boolean;
1084
1037
  displayName: string;
1085
1038
  default?: string | null | undefined;
1086
1039
  }[];
1087
1040
  optional: {
1088
1041
  name: string;
1089
- type: string;
1090
1042
  description: string;
1043
+ type: string;
1091
1044
  required: boolean;
1092
1045
  displayName: string;
1093
1046
  default?: string | null | undefined;
@@ -1096,16 +1049,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1096
1049
  connectedAccountInitiation: {
1097
1050
  required: {
1098
1051
  name: string;
1099
- type: string;
1100
1052
  description: string;
1053
+ type: string;
1101
1054
  required: boolean;
1102
1055
  displayName: string;
1103
1056
  default?: string | null | undefined;
1104
1057
  }[];
1105
1058
  optional: {
1106
1059
  name: string;
1107
- type: string;
1108
1060
  description: string;
1061
+ type: string;
1109
1062
  required: boolean;
1110
1063
  displayName: string;
1111
1064
  default?: string | null | undefined;
@@ -1122,16 +1075,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1122
1075
  authConfigCreation: {
1123
1076
  required: {
1124
1077
  name: string;
1125
- type: string;
1126
1078
  description: string;
1079
+ type: string;
1127
1080
  required: boolean;
1128
1081
  displayName: string;
1129
1082
  default?: string | null | undefined;
1130
1083
  }[];
1131
1084
  optional: {
1132
1085
  name: string;
1133
- type: string;
1134
1086
  description: string;
1087
+ type: string;
1135
1088
  required: boolean;
1136
1089
  displayName: string;
1137
1090
  default?: string | null | undefined;
@@ -1140,16 +1093,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
1140
1093
  connectedAccountInitiation: {
1141
1094
  required: {
1142
1095
  name: string;
1143
- type: string;
1144
1096
  description: string;
1097
+ type: string;
1145
1098
  required: boolean;
1146
1099
  displayName: string;
1147
1100
  default?: string | null | undefined;
1148
1101
  }[];
1149
1102
  optional: {
1150
1103
  name: string;
1151
- type: string;
1152
1104
  description: string;
1105
+ type: string;
1153
1106
  required: boolean;
1154
1107
  displayName: string;
1155
1108
  default?: string | null | undefined;
@@ -1168,11 +1121,11 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1168
1121
  slug: z.ZodString;
1169
1122
  name: z.ZodString;
1170
1123
  }, "strip", z.ZodTypeAny, {
1171
- slug: string;
1172
1124
  name: string;
1173
- }, {
1174
1125
  slug: string;
1126
+ }, {
1175
1127
  name: string;
1128
+ slug: string;
1176
1129
  }>, "many">>;
1177
1130
  appUrl: z.ZodOptional<z.ZodString>;
1178
1131
  createdAt: z.ZodOptional<z.ZodString>;
@@ -1183,31 +1136,31 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1183
1136
  updatedAt: z.ZodOptional<z.ZodString>;
1184
1137
  availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1185
1138
  }, "strip", z.ZodTypeAny, {
1186
- logo?: string | undefined;
1187
1139
  description?: string | undefined;
1140
+ logo?: string | undefined;
1188
1141
  availableVersions?: string[] | undefined;
1189
1142
  createdAt?: string | undefined;
1190
- updatedAt?: string | undefined;
1191
1143
  categories?: {
1192
- slug: string;
1193
1144
  name: string;
1145
+ slug: string;
1194
1146
  }[] | undefined;
1195
1147
  appUrl?: string | undefined;
1196
1148
  toolsCount?: number | undefined;
1197
1149
  triggersCount?: number | undefined;
1150
+ updatedAt?: string | undefined;
1198
1151
  }, {
1199
- logo?: string | undefined;
1200
1152
  description?: string | undefined;
1153
+ logo?: string | undefined;
1201
1154
  availableVersions?: string[] | undefined;
1202
1155
  createdAt?: string | undefined;
1203
- updatedAt?: string | undefined;
1204
1156
  categories?: {
1205
- slug: string;
1206
1157
  name: string;
1158
+ slug: string;
1207
1159
  }[] | undefined;
1208
1160
  appUrl?: string | undefined;
1209
1161
  toolsCount?: number | undefined;
1210
1162
  triggersCount?: number | undefined;
1163
+ updatedAt?: string | undefined;
1211
1164
  }>;
1212
1165
  isLocalToolkit: z.ZodBoolean;
1213
1166
  composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1225,15 +1178,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1225
1178
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1226
1179
  }, "strip", z.ZodTypeAny, {
1227
1180
  name: string;
1228
- type: string;
1229
1181
  description: string;
1182
+ type: string;
1230
1183
  required: boolean;
1231
1184
  displayName: string;
1232
1185
  default?: string | null | undefined;
1233
1186
  }, {
1234
1187
  name: string;
1235
- type: string;
1236
1188
  description: string;
1189
+ type: string;
1237
1190
  required: boolean;
1238
1191
  displayName: string;
1239
1192
  default?: string | null | undefined;
@@ -1247,15 +1200,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1247
1200
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1248
1201
  }, "strip", z.ZodTypeAny, {
1249
1202
  name: string;
1250
- type: string;
1251
1203
  description: string;
1204
+ type: string;
1252
1205
  required: boolean;
1253
1206
  displayName: string;
1254
1207
  default?: string | null | undefined;
1255
1208
  }, {
1256
1209
  name: string;
1257
- type: string;
1258
1210
  description: string;
1211
+ type: string;
1259
1212
  required: boolean;
1260
1213
  displayName: string;
1261
1214
  default?: string | null | undefined;
@@ -1263,16 +1216,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1263
1216
  }, "strip", z.ZodTypeAny, {
1264
1217
  required: {
1265
1218
  name: string;
1266
- type: string;
1267
1219
  description: string;
1220
+ type: string;
1268
1221
  required: boolean;
1269
1222
  displayName: string;
1270
1223
  default?: string | null | undefined;
1271
1224
  }[];
1272
1225
  optional: {
1273
1226
  name: string;
1274
- type: string;
1275
1227
  description: string;
1228
+ type: string;
1276
1229
  required: boolean;
1277
1230
  displayName: string;
1278
1231
  default?: string | null | undefined;
@@ -1280,16 +1233,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1280
1233
  }, {
1281
1234
  required: {
1282
1235
  name: string;
1283
- type: string;
1284
1236
  description: string;
1237
+ type: string;
1285
1238
  required: boolean;
1286
1239
  displayName: string;
1287
1240
  default?: string | null | undefined;
1288
1241
  }[];
1289
1242
  optional: {
1290
1243
  name: string;
1291
- type: string;
1292
1244
  description: string;
1245
+ type: string;
1293
1246
  required: boolean;
1294
1247
  displayName: string;
1295
1248
  default?: string | null | undefined;
@@ -1305,15 +1258,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1305
1258
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1306
1259
  }, "strip", z.ZodTypeAny, {
1307
1260
  name: string;
1308
- type: string;
1309
1261
  description: string;
1262
+ type: string;
1310
1263
  required: boolean;
1311
1264
  displayName: string;
1312
1265
  default?: string | null | undefined;
1313
1266
  }, {
1314
1267
  name: string;
1315
- type: string;
1316
1268
  description: string;
1269
+ type: string;
1317
1270
  required: boolean;
1318
1271
  displayName: string;
1319
1272
  default?: string | null | undefined;
@@ -1327,15 +1280,15 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1327
1280
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1328
1281
  }, "strip", z.ZodTypeAny, {
1329
1282
  name: string;
1330
- type: string;
1331
1283
  description: string;
1284
+ type: string;
1332
1285
  required: boolean;
1333
1286
  displayName: string;
1334
1287
  default?: string | null | undefined;
1335
1288
  }, {
1336
1289
  name: string;
1337
- type: string;
1338
1290
  description: string;
1291
+ type: string;
1339
1292
  required: boolean;
1340
1293
  displayName: string;
1341
1294
  default?: string | null | undefined;
@@ -1343,16 +1296,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1343
1296
  }, "strip", z.ZodTypeAny, {
1344
1297
  required: {
1345
1298
  name: string;
1346
- type: string;
1347
1299
  description: string;
1300
+ type: string;
1348
1301
  required: boolean;
1349
1302
  displayName: string;
1350
1303
  default?: string | null | undefined;
1351
1304
  }[];
1352
1305
  optional: {
1353
1306
  name: string;
1354
- type: string;
1355
1307
  description: string;
1308
+ type: string;
1356
1309
  required: boolean;
1357
1310
  displayName: string;
1358
1311
  default?: string | null | undefined;
@@ -1360,16 +1313,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1360
1313
  }, {
1361
1314
  required: {
1362
1315
  name: string;
1363
- type: string;
1364
1316
  description: string;
1317
+ type: string;
1365
1318
  required: boolean;
1366
1319
  displayName: string;
1367
1320
  default?: string | null | undefined;
1368
1321
  }[];
1369
1322
  optional: {
1370
1323
  name: string;
1371
- type: string;
1372
1324
  description: string;
1325
+ type: string;
1373
1326
  required: boolean;
1374
1327
  displayName: string;
1375
1328
  default?: string | null | undefined;
@@ -1379,16 +1332,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1379
1332
  authConfigCreation: {
1380
1333
  required: {
1381
1334
  name: string;
1382
- type: string;
1383
1335
  description: string;
1336
+ type: string;
1384
1337
  required: boolean;
1385
1338
  displayName: string;
1386
1339
  default?: string | null | undefined;
1387
1340
  }[];
1388
1341
  optional: {
1389
1342
  name: string;
1390
- type: string;
1391
1343
  description: string;
1344
+ type: string;
1392
1345
  required: boolean;
1393
1346
  displayName: string;
1394
1347
  default?: string | null | undefined;
@@ -1397,16 +1350,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1397
1350
  connectedAccountInitiation: {
1398
1351
  required: {
1399
1352
  name: string;
1400
- type: string;
1401
1353
  description: string;
1354
+ type: string;
1402
1355
  required: boolean;
1403
1356
  displayName: string;
1404
1357
  default?: string | null | undefined;
1405
1358
  }[];
1406
1359
  optional: {
1407
1360
  name: string;
1408
- type: string;
1409
1361
  description: string;
1362
+ type: string;
1410
1363
  required: boolean;
1411
1364
  displayName: string;
1412
1365
  default?: string | null | undefined;
@@ -1416,16 +1369,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1416
1369
  authConfigCreation: {
1417
1370
  required: {
1418
1371
  name: string;
1419
- type: string;
1420
1372
  description: string;
1373
+ type: string;
1421
1374
  required: boolean;
1422
1375
  displayName: string;
1423
1376
  default?: string | null | undefined;
1424
1377
  }[];
1425
1378
  optional: {
1426
1379
  name: string;
1427
- type: string;
1428
1380
  description: string;
1381
+ type: string;
1429
1382
  required: boolean;
1430
1383
  displayName: string;
1431
1384
  default?: string | null | undefined;
@@ -1434,16 +1387,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1434
1387
  connectedAccountInitiation: {
1435
1388
  required: {
1436
1389
  name: string;
1437
- type: string;
1438
1390
  description: string;
1391
+ type: string;
1439
1392
  required: boolean;
1440
1393
  displayName: string;
1441
1394
  default?: string | null | undefined;
1442
1395
  }[];
1443
1396
  optional: {
1444
1397
  name: string;
1445
- type: string;
1446
1398
  description: string;
1399
+ type: string;
1447
1400
  required: boolean;
1448
1401
  displayName: string;
1449
1402
  default?: string | null | undefined;
@@ -1464,16 +1417,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1464
1417
  authConfigCreation: {
1465
1418
  required: {
1466
1419
  name: string;
1467
- type: string;
1468
1420
  description: string;
1421
+ type: string;
1469
1422
  required: boolean;
1470
1423
  displayName: string;
1471
1424
  default?: string | null | undefined;
1472
1425
  }[];
1473
1426
  optional: {
1474
1427
  name: string;
1475
- type: string;
1476
1428
  description: string;
1429
+ type: string;
1477
1430
  required: boolean;
1478
1431
  displayName: string;
1479
1432
  default?: string | null | undefined;
@@ -1482,16 +1435,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1482
1435
  connectedAccountInitiation: {
1483
1436
  required: {
1484
1437
  name: string;
1485
- type: string;
1486
1438
  description: string;
1439
+ type: string;
1487
1440
  required: boolean;
1488
1441
  displayName: string;
1489
1442
  default?: string | null | undefined;
1490
1443
  }[];
1491
1444
  optional: {
1492
1445
  name: string;
1493
- type: string;
1494
1446
  description: string;
1447
+ type: string;
1495
1448
  required: boolean;
1496
1449
  displayName: string;
1497
1450
  default?: string | null | undefined;
@@ -1508,16 +1461,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1508
1461
  authConfigCreation: {
1509
1462
  required: {
1510
1463
  name: string;
1511
- type: string;
1512
1464
  description: string;
1465
+ type: string;
1513
1466
  required: boolean;
1514
1467
  displayName: string;
1515
1468
  default?: string | null | undefined;
1516
1469
  }[];
1517
1470
  optional: {
1518
1471
  name: string;
1519
- type: string;
1520
1472
  description: string;
1473
+ type: string;
1521
1474
  required: boolean;
1522
1475
  displayName: string;
1523
1476
  default?: string | null | undefined;
@@ -1526,16 +1479,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1526
1479
  connectedAccountInitiation: {
1527
1480
  required: {
1528
1481
  name: string;
1529
- type: string;
1530
1482
  description: string;
1483
+ type: string;
1531
1484
  required: boolean;
1532
1485
  displayName: string;
1533
1486
  default?: string | null | undefined;
1534
1487
  }[];
1535
1488
  optional: {
1536
1489
  name: string;
1537
- type: string;
1538
1490
  description: string;
1491
+ type: string;
1539
1492
  required: boolean;
1540
1493
  displayName: string;
1541
1494
  default?: string | null | undefined;
@@ -1550,21 +1503,21 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1550
1503
  getCurrentUserEndpoint: z.ZodOptional<z.ZodString>;
1551
1504
  getCurrentUserEndpointMethod: z.ZodOptional<z.ZodString>;
1552
1505
  }, "strip", z.ZodTypeAny, {
1553
- slug: string;
1554
1506
  name: string;
1507
+ slug: string;
1555
1508
  meta: {
1556
- logo?: string | undefined;
1557
1509
  description?: string | undefined;
1510
+ logo?: string | undefined;
1558
1511
  availableVersions?: string[] | undefined;
1559
1512
  createdAt?: string | undefined;
1560
- updatedAt?: string | undefined;
1561
1513
  categories?: {
1562
- slug: string;
1563
1514
  name: string;
1515
+ slug: string;
1564
1516
  }[] | undefined;
1565
1517
  appUrl?: string | undefined;
1566
1518
  toolsCount?: number | undefined;
1567
1519
  triggersCount?: number | undefined;
1520
+ updatedAt?: string | undefined;
1568
1521
  };
1569
1522
  isLocalToolkit: boolean;
1570
1523
  composioManagedAuthSchemes?: string[] | undefined;
@@ -1576,16 +1529,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1576
1529
  authConfigCreation: {
1577
1530
  required: {
1578
1531
  name: string;
1579
- type: string;
1580
1532
  description: string;
1533
+ type: string;
1581
1534
  required: boolean;
1582
1535
  displayName: string;
1583
1536
  default?: string | null | undefined;
1584
1537
  }[];
1585
1538
  optional: {
1586
1539
  name: string;
1587
- type: string;
1588
1540
  description: string;
1541
+ type: string;
1589
1542
  required: boolean;
1590
1543
  displayName: string;
1591
1544
  default?: string | null | undefined;
@@ -1594,16 +1547,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1594
1547
  connectedAccountInitiation: {
1595
1548
  required: {
1596
1549
  name: string;
1597
- type: string;
1598
1550
  description: string;
1551
+ type: string;
1599
1552
  required: boolean;
1600
1553
  displayName: string;
1601
1554
  default?: string | null | undefined;
1602
1555
  }[];
1603
1556
  optional: {
1604
1557
  name: string;
1605
- type: string;
1606
1558
  description: string;
1559
+ type: string;
1607
1560
  required: boolean;
1608
1561
  displayName: string;
1609
1562
  default?: string | null | undefined;
@@ -1617,21 +1570,21 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1617
1570
  getCurrentUserEndpoint?: string | undefined;
1618
1571
  getCurrentUserEndpointMethod?: string | undefined;
1619
1572
  }, {
1620
- slug: string;
1621
1573
  name: string;
1574
+ slug: string;
1622
1575
  meta: {
1623
- logo?: string | undefined;
1624
1576
  description?: string | undefined;
1577
+ logo?: string | undefined;
1625
1578
  availableVersions?: string[] | undefined;
1626
1579
  createdAt?: string | undefined;
1627
- updatedAt?: string | undefined;
1628
1580
  categories?: {
1629
- slug: string;
1630
1581
  name: string;
1582
+ slug: string;
1631
1583
  }[] | undefined;
1632
1584
  appUrl?: string | undefined;
1633
1585
  toolsCount?: number | undefined;
1634
1586
  triggersCount?: number | undefined;
1587
+ updatedAt?: string | undefined;
1635
1588
  };
1636
1589
  isLocalToolkit: boolean;
1637
1590
  composioManagedAuthSchemes?: string[] | undefined;
@@ -1643,16 +1596,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1643
1596
  authConfigCreation: {
1644
1597
  required: {
1645
1598
  name: string;
1646
- type: string;
1647
1599
  description: string;
1600
+ type: string;
1648
1601
  required: boolean;
1649
1602
  displayName: string;
1650
1603
  default?: string | null | undefined;
1651
1604
  }[];
1652
1605
  optional: {
1653
1606
  name: string;
1654
- type: string;
1655
1607
  description: string;
1608
+ type: string;
1656
1609
  required: boolean;
1657
1610
  displayName: string;
1658
1611
  default?: string | null | undefined;
@@ -1661,16 +1614,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1661
1614
  connectedAccountInitiation: {
1662
1615
  required: {
1663
1616
  name: string;
1664
- type: string;
1665
1617
  description: string;
1618
+ type: string;
1666
1619
  required: boolean;
1667
1620
  displayName: string;
1668
1621
  default?: string | null | undefined;
1669
1622
  }[];
1670
1623
  optional: {
1671
1624
  name: string;
1672
- type: string;
1673
1625
  description: string;
1626
+ type: string;
1674
1627
  required: boolean;
1675
1628
  displayName: string;
1676
1629
  default?: string | null | undefined;
@@ -1740,15 +1693,15 @@ declare const ToolkitAuthFieldsResponseSchema: z.ZodArray<z.ZodObject<{
1740
1693
  required: z.ZodOptional<z.ZodBoolean>;
1741
1694
  }, "strip", z.ZodTypeAny, {
1742
1695
  name: string;
1743
- type: string;
1744
1696
  description: string;
1697
+ type: string;
1745
1698
  displayName: string;
1746
1699
  required?: boolean | undefined;
1747
1700
  default?: string | null | undefined;
1748
1701
  }, {
1749
1702
  name: string;
1750
- type: string;
1751
1703
  description: string;
1704
+ type: string;
1752
1705
  displayName: string;
1753
1706
  required?: boolean | undefined;
1754
1707
  default?: string | null | undefined;
@@ -2053,13 +2006,13 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
2053
2006
  noOfConnections: number;
2054
2007
  uuid: string;
2055
2008
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2009
+ isComposioManaged?: boolean | undefined;
2056
2010
  credentials?: Record<string, unknown> | undefined;
2057
2011
  toolAccessConfig?: {
2058
2012
  toolsForConnectedAccountCreation?: string[] | undefined;
2059
2013
  toolsAvailableForExecution?: string[] | undefined;
2060
2014
  } | undefined;
2061
2015
  isEnabledForToolRouter?: boolean | undefined;
2062
- isComposioManaged?: boolean | undefined;
2063
2016
  expectedInputFields?: unknown[] | undefined;
2064
2017
  restrictToFollowingTools?: string[] | undefined;
2065
2018
  createdBy?: string | undefined;
@@ -2076,13 +2029,13 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
2076
2029
  noOfConnections: number;
2077
2030
  uuid: string;
2078
2031
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2032
+ isComposioManaged?: boolean | undefined;
2079
2033
  credentials?: Record<string, unknown> | undefined;
2080
2034
  toolAccessConfig?: {
2081
2035
  toolsForConnectedAccountCreation?: string[] | undefined;
2082
2036
  toolsAvailableForExecution?: string[] | undefined;
2083
2037
  } | undefined;
2084
2038
  isEnabledForToolRouter?: boolean | undefined;
2085
- isComposioManaged?: boolean | undefined;
2086
2039
  expectedInputFields?: unknown[] | undefined;
2087
2040
  restrictToFollowingTools?: string[] | undefined;
2088
2041
  createdBy?: string | undefined;
@@ -2157,13 +2110,13 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2157
2110
  noOfConnections: number;
2158
2111
  uuid: string;
2159
2112
  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;
2113
+ isComposioManaged?: boolean | undefined;
2160
2114
  credentials?: Record<string, unknown> | undefined;
2161
2115
  toolAccessConfig?: {
2162
2116
  toolsForConnectedAccountCreation?: string[] | undefined;
2163
2117
  toolsAvailableForExecution?: string[] | undefined;
2164
2118
  } | undefined;
2165
2119
  isEnabledForToolRouter?: boolean | undefined;
2166
- isComposioManaged?: boolean | undefined;
2167
2120
  expectedInputFields?: unknown[] | undefined;
2168
2121
  restrictToFollowingTools?: string[] | undefined;
2169
2122
  createdBy?: string | undefined;
@@ -2180,13 +2133,13 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2180
2133
  noOfConnections: number;
2181
2134
  uuid: string;
2182
2135
  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;
2136
+ isComposioManaged?: boolean | undefined;
2183
2137
  credentials?: Record<string, unknown> | undefined;
2184
2138
  toolAccessConfig?: {
2185
2139
  toolsForConnectedAccountCreation?: string[] | undefined;
2186
2140
  toolsAvailableForExecution?: string[] | undefined;
2187
2141
  } | undefined;
2188
2142
  isEnabledForToolRouter?: boolean | undefined;
2189
- isComposioManaged?: boolean | undefined;
2190
2143
  expectedInputFields?: unknown[] | undefined;
2191
2144
  restrictToFollowingTools?: string[] | undefined;
2192
2145
  createdBy?: string | undefined;
@@ -2207,13 +2160,13 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2207
2160
  noOfConnections: number;
2208
2161
  uuid: string;
2209
2162
  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;
2163
+ isComposioManaged?: boolean | undefined;
2210
2164
  credentials?: Record<string, unknown> | undefined;
2211
2165
  toolAccessConfig?: {
2212
2166
  toolsForConnectedAccountCreation?: string[] | undefined;
2213
2167
  toolsAvailableForExecution?: string[] | undefined;
2214
2168
  } | undefined;
2215
2169
  isEnabledForToolRouter?: boolean | undefined;
2216
- isComposioManaged?: boolean | undefined;
2217
2170
  expectedInputFields?: unknown[] | undefined;
2218
2171
  restrictToFollowingTools?: string[] | undefined;
2219
2172
  createdBy?: string | undefined;
@@ -2234,13 +2187,13 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2234
2187
  noOfConnections: number;
2235
2188
  uuid: string;
2236
2189
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2190
+ isComposioManaged?: boolean | undefined;
2237
2191
  credentials?: Record<string, unknown> | undefined;
2238
2192
  toolAccessConfig?: {
2239
2193
  toolsForConnectedAccountCreation?: string[] | undefined;
2240
2194
  toolsAvailableForExecution?: string[] | undefined;
2241
2195
  } | undefined;
2242
2196
  isEnabledForToolRouter?: boolean | undefined;
2243
- isComposioManaged?: boolean | undefined;
2244
2197
  expectedInputFields?: unknown[] | undefined;
2245
2198
  restrictToFollowingTools?: string[] | undefined;
2246
2199
  createdBy?: string | undefined;
@@ -2634,21 +2587,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
2634
2587
  }, "strip", z.ZodTypeAny, {
2635
2588
  connectedAccountId: string;
2636
2589
  id: string;
2590
+ updatedAt: string;
2637
2591
  disabledAt: string | null;
2638
2592
  state: Record<string, unknown>;
2639
2593
  triggerConfig: Record<string, unknown>;
2640
2594
  triggerName: string;
2641
- updatedAt: string;
2642
2595
  uuid?: string | undefined;
2643
2596
  triggerData?: string | undefined;
2644
2597
  }, {
2645
2598
  connectedAccountId: string;
2646
2599
  id: string;
2600
+ updatedAt: string;
2647
2601
  disabledAt: string | null;
2648
2602
  state: Record<string, unknown>;
2649
2603
  triggerConfig: Record<string, unknown>;
2650
2604
  triggerName: string;
2651
- updatedAt: string;
2652
2605
  uuid?: string | undefined;
2653
2606
  triggerData?: string | undefined;
2654
2607
  }>;
@@ -2666,21 +2619,21 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2666
2619
  }, "strip", z.ZodTypeAny, {
2667
2620
  connectedAccountId: string;
2668
2621
  id: string;
2622
+ updatedAt: string;
2669
2623
  disabledAt: string | null;
2670
2624
  state: Record<string, unknown>;
2671
2625
  triggerConfig: Record<string, unknown>;
2672
2626
  triggerName: string;
2673
- updatedAt: string;
2674
2627
  uuid?: string | undefined;
2675
2628
  triggerData?: string | undefined;
2676
2629
  }, {
2677
2630
  connectedAccountId: string;
2678
2631
  id: string;
2632
+ updatedAt: string;
2679
2633
  disabledAt: string | null;
2680
2634
  state: Record<string, unknown>;
2681
2635
  triggerConfig: Record<string, unknown>;
2682
2636
  triggerName: string;
2683
- updatedAt: string;
2684
2637
  uuid?: string | undefined;
2685
2638
  triggerData?: string | undefined;
2686
2639
  }>, "many">;
@@ -2690,11 +2643,11 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2690
2643
  items: {
2691
2644
  connectedAccountId: string;
2692
2645
  id: string;
2646
+ updatedAt: string;
2693
2647
  disabledAt: string | null;
2694
2648
  state: Record<string, unknown>;
2695
2649
  triggerConfig: Record<string, unknown>;
2696
2650
  triggerName: string;
2697
- updatedAt: string;
2698
2651
  uuid?: string | undefined;
2699
2652
  triggerData?: string | undefined;
2700
2653
  }[];
@@ -2704,11 +2657,11 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2704
2657
  items: {
2705
2658
  connectedAccountId: string;
2706
2659
  id: string;
2660
+ updatedAt: string;
2707
2661
  disabledAt: string | null;
2708
2662
  state: Record<string, unknown>;
2709
2663
  triggerConfig: Record<string, unknown>;
2710
2664
  triggerName: string;
2711
- updatedAt: string;
2712
2665
  uuid?: string | undefined;
2713
2666
  triggerData?: string | undefined;
2714
2667
  }[];
@@ -2800,7 +2753,6 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2800
2753
  }, "strip", z.ZodTypeAny, {
2801
2754
  toolkitSlug: string;
2802
2755
  id: string;
2803
- uuid: string;
2804
2756
  connectedAccount: {
2805
2757
  status: "ACTIVE" | "INACTIVE";
2806
2758
  userId: string;
@@ -2809,13 +2761,13 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2809
2761
  authConfigId: string;
2810
2762
  authConfigUUID: string;
2811
2763
  };
2764
+ uuid: string;
2812
2765
  triggerSlug: string;
2813
2766
  triggerConfig: Record<string, unknown>;
2814
2767
  triggerData?: string | undefined;
2815
2768
  }, {
2816
2769
  toolkitSlug: string;
2817
2770
  id: string;
2818
- uuid: string;
2819
2771
  connectedAccount: {
2820
2772
  status: "ACTIVE" | "INACTIVE";
2821
2773
  userId: string;
@@ -2824,6 +2776,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2824
2776
  authConfigId: string;
2825
2777
  authConfigUUID: string;
2826
2778
  };
2779
+ uuid: string;
2827
2780
  triggerSlug: string;
2828
2781
  triggerConfig: Record<string, unknown>;
2829
2782
  triggerData?: string | undefined;
@@ -2837,7 +2790,6 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2837
2790
  metadata: {
2838
2791
  toolkitSlug: string;
2839
2792
  id: string;
2840
- uuid: string;
2841
2793
  connectedAccount: {
2842
2794
  status: "ACTIVE" | "INACTIVE";
2843
2795
  userId: string;
@@ -2846,6 +2798,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2846
2798
  authConfigId: string;
2847
2799
  authConfigUUID: string;
2848
2800
  };
2801
+ uuid: string;
2849
2802
  triggerSlug: string;
2850
2803
  triggerConfig: Record<string, unknown>;
2851
2804
  triggerData?: string | undefined;
@@ -2861,7 +2814,6 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2861
2814
  metadata: {
2862
2815
  toolkitSlug: string;
2863
2816
  id: string;
2864
- uuid: string;
2865
2817
  connectedAccount: {
2866
2818
  status: "ACTIVE" | "INACTIVE";
2867
2819
  userId: string;
@@ -2870,6 +2822,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2870
2822
  authConfigId: string;
2871
2823
  authConfigUUID: string;
2872
2824
  };
2825
+ uuid: string;
2873
2826
  triggerSlug: string;
2874
2827
  triggerConfig: Record<string, unknown>;
2875
2828
  triggerData?: string | undefined;
@@ -2923,24 +2876,24 @@ declare const TriggerTypeSchema: z.ZodObject<{
2923
2876
  slug: z.ZodString;
2924
2877
  name: z.ZodString;
2925
2878
  }, "strip", z.ZodTypeAny, {
2926
- slug: string;
2927
2879
  name: string;
2880
+ slug: string;
2928
2881
  logo: string;
2929
2882
  }, {
2930
- slug: string;
2931
2883
  name: string;
2884
+ slug: string;
2932
2885
  logo: string;
2933
2886
  }>;
2934
2887
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2935
2888
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2936
2889
  version: z.ZodOptional<z.ZodString>;
2937
2890
  }, "strip", z.ZodTypeAny, {
2938
- slug: string;
2939
2891
  name: string;
2940
2892
  description: string;
2893
+ slug: string;
2941
2894
  toolkit: {
2942
- slug: string;
2943
2895
  name: string;
2896
+ slug: string;
2944
2897
  logo: string;
2945
2898
  };
2946
2899
  payload: Record<string, unknown>;
@@ -2948,12 +2901,12 @@ declare const TriggerTypeSchema: z.ZodObject<{
2948
2901
  version?: string | undefined;
2949
2902
  instructions?: string | undefined;
2950
2903
  }, {
2951
- slug: string;
2952
2904
  name: string;
2953
2905
  description: string;
2906
+ slug: string;
2954
2907
  toolkit: {
2955
- slug: string;
2956
2908
  name: string;
2909
+ slug: string;
2957
2910
  logo: string;
2958
2911
  };
2959
2912
  payload: Record<string, unknown>;
@@ -2973,24 +2926,24 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
2973
2926
  slug: z.ZodString;
2974
2927
  name: z.ZodString;
2975
2928
  }, "strip", z.ZodTypeAny, {
2976
- slug: string;
2977
2929
  name: string;
2930
+ slug: string;
2978
2931
  logo: string;
2979
2932
  }, {
2980
- slug: string;
2981
2933
  name: string;
2934
+ slug: string;
2982
2935
  logo: string;
2983
2936
  }>;
2984
2937
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2985
2938
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2986
2939
  version: z.ZodOptional<z.ZodString>;
2987
2940
  }, "strip", z.ZodTypeAny, {
2988
- slug: string;
2989
2941
  name: string;
2990
2942
  description: string;
2943
+ slug: string;
2991
2944
  toolkit: {
2992
- slug: string;
2993
2945
  name: string;
2946
+ slug: string;
2994
2947
  logo: string;
2995
2948
  };
2996
2949
  payload: Record<string, unknown>;
@@ -2998,12 +2951,12 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
2998
2951
  version?: string | undefined;
2999
2952
  instructions?: string | undefined;
3000
2953
  }, {
3001
- slug: string;
3002
2954
  name: string;
3003
2955
  description: string;
2956
+ slug: string;
3004
2957
  toolkit: {
3005
- slug: string;
3006
2958
  name: string;
2959
+ slug: string;
3007
2960
  logo: string;
3008
2961
  };
3009
2962
  payload: Record<string, unknown>;
@@ -3015,12 +2968,12 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
3015
2968
  totalPages: z.ZodNumber;
3016
2969
  }, "strip", z.ZodTypeAny, {
3017
2970
  items: {
3018
- slug: string;
3019
2971
  name: string;
3020
2972
  description: string;
2973
+ slug: string;
3021
2974
  toolkit: {
3022
- slug: string;
3023
2975
  name: string;
2976
+ slug: string;
3024
2977
  logo: string;
3025
2978
  };
3026
2979
  payload: Record<string, unknown>;
@@ -3032,12 +2985,12 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
3032
2985
  nextCursor?: string | null | undefined;
3033
2986
  }, {
3034
2987
  items: {
3035
- slug: string;
3036
2988
  name: string;
3037
2989
  description: string;
2990
+ slug: string;
3038
2991
  toolkit: {
3039
- slug: string;
3040
2992
  name: string;
2993
+ slug: string;
3041
2994
  logo: string;
3042
2995
  };
3043
2996
  payload: Record<string, unknown>;
@@ -4066,7 +4019,8 @@ declare class ConnectedAccounts {
4066
4019
  /**
4067
4020
  * Enable or disable a connected account. Accepts `{ enabled: boolean }`.
4068
4021
  *
4069
- * For ACL writes on SHARED connections, see {@link updateAcl}.
4022
+ * For ACL writes on SHARED connections, see
4023
+ * `composio.experimental.updateAcl()`.
4070
4024
  *
4071
4025
  * @param {string} nanoid - The unique identifier of the connected account
4072
4026
  * @param {UpdateConnectedAccountParams} params - The update parameters
@@ -4079,16 +4033,28 @@ declare class ConnectedAccounts {
4079
4033
  * ```
4080
4034
  */
4081
4035
  update(nanoid: string, params: UpdateConnectedAccountParams): Promise<ConnectedAccountUpdateStatusResponse>;
4036
+ }
4037
+ //#endregion
4038
+ //#region src/models/Experimental.d.ts
4039
+ /**
4040
+ * `composio.experimental` namespace. Mirrors the Python SDK's
4041
+ * `composio.experimental` mount, with one method per experimental
4042
+ * surface. **Shape may change in future releases.**
4043
+ */
4044
+ declare class Experimental {
4045
+ private client;
4046
+ constructor(client: ComposioClient);
4082
4047
  /**
4083
4048
  * Update the per-user ACL on a SHARED connected account.
4049
+ * **Experimental — shape may change in future releases.**
4084
4050
  *
4085
4051
  * Only meaningful for SHARED connections — calling this on a PRIVATE
4086
4052
  * connection raises `ComposioAclOnlyForSharedError` (400). ACL writes
4087
- * require the connection's creator or an API key; alias edits via
4088
- * {@link update} are governed separately.
4053
+ * require the connection's creator or an API key.
4089
4054
  *
4090
- * PATCH semantics: omit a field to leave it unchanged; pass an empty array
4091
- * to clear an allow/deny list. At least one field must be provided.
4055
+ * PATCH semantics: omit a field to leave it unchanged; pass an empty
4056
+ * array to clear an allow/deny list. At least one field must be
4057
+ * provided.
4092
4058
  *
4093
4059
  * Resolution rule (deny wins):
4094
4060
  * 1. requesting `userId` in `notAllowedUserIds` → DENY
@@ -4098,22 +4064,26 @@ declare class ConnectedAccounts {
4098
4064
  *
4099
4065
  * @example
4100
4066
  * ```typescript
4067
+ * import { Composio } from '@composio/core';
4068
+ *
4069
+ * const composio = new Composio({ apiKey: '...' });
4070
+ *
4101
4071
  * // Allow every userId to use this connection
4102
- * await composio.connectedAccounts.updateAcl('ca_abc', { allowAllUsers: true });
4072
+ * await composio.experimental.updateAcl('ca_abc', { allowAllUsers: true });
4103
4073
  *
4104
4074
  * // Everyone except a specific user
4105
- * await composio.connectedAccounts.updateAcl('ca_abc', {
4075
+ * await composio.experimental.updateAcl('ca_abc', {
4106
4076
  * allowAllUsers: true,
4107
4077
  * notAllowedUserIds: ['user_bob'],
4108
4078
  * });
4109
4079
  *
4110
4080
  * // Targeted allow
4111
- * await composio.connectedAccounts.updateAcl('ca_abc', {
4081
+ * await composio.experimental.updateAcl('ca_abc', {
4112
4082
  * allowedUserIds: ['user_alice', 'user_bob'],
4113
4083
  * });
4114
4084
  *
4115
4085
  * // Revoke a previously-granted allow list (back to deny-by-default)
4116
- * await composio.connectedAccounts.updateAcl('ca_abc', { allowedUserIds: [] });
4086
+ * await composio.experimental.updateAcl('ca_abc', { allowedUserIds: [] });
4117
4087
  * ```
4118
4088
  *
4119
4089
  * **Empty-array semantics — read carefully.** Passing `[]` for either
@@ -4125,9 +4095,10 @@ declare class ConnectedAccounts {
4125
4095
  * re-grants access to users you previously blocked. Always pair an
4126
4096
  * empty deny list with a deliberate audit of the allow side.
4127
4097
  *
4128
- * @returns The PATCH response (`{ id, status, success }`). To read the
4129
- * updated `aclConfigForShared` block, call `get(nanoid)` after the
4130
- * promise resolves.
4098
+ * @returns The PATCH response (`{ id, status, success }`). To read
4099
+ * the updated ACL block, call
4100
+ * `composio.connectedAccounts.get(nanoid)` after the promise
4101
+ * resolves and inspect `account.experimental?.aclConfigForShared`.
4131
4102
  */
4132
4103
  updateAcl(nanoid: string, params: UpdateConnectedAccountAclParams): Promise<ConnectedAccountPatchResponse>;
4133
4104
  }
@@ -5293,6 +5264,14 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
5293
5264
  authConfigs: AuthConfigs;
5294
5265
  /** Manage authenticated connections */
5295
5266
  connectedAccounts: ConnectedAccounts;
5267
+ /**
5268
+ * Experimental SDK methods whose shape may change in future releases.
5269
+ * Houses stateful operations like {@link Experimental.updateAcl} that
5270
+ * take a client and perform I/O. Stateless experimental factories
5271
+ * (e.g. `experimental_createTool`) stay at the top level.
5272
+ * @experimental
5273
+ */
5274
+ experimental: Experimental;
5296
5275
  /** Model Context Protocol server management */
5297
5276
  mcp: MCP;
5298
5277
  /**
@@ -5455,4 +5434,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
5455
5434
  flush(): Promise<void>;
5456
5435
  }
5457
5436
  //#endregion
5458
- export { AuthConfigCreationToolAccessConfigSchema as $, TriggerSubscribeParams as A, ToolkitAuthField as At, VerifyWebhookResult as B, ToolkitRetrieveCategoriesResponseSchema as Bt, TriggerInstanceUpsertParamsSchema as C, ToolKitItemSchema as Ct, TriggerStatusType as D, ToolKitMetaSchema as Dt, TriggerStatusEnum as E, ToolKitMeta as Et, TriggersTypeListResponse as F, ToolkitCategorySchema as Ft, WebhookPayloadV2 as G, ToolkitsListParamsSchema as Gt, WebhookPayloadSchema as H, ToolkitRetrieveResponseSchema as Ht, TriggersTypeListResponseSchema as I, ToolkitListParams as It, WebhookPayloadV3Schema as J, WebhookPayloadV2Schema as K, TriggersTypeRetrieveResponse as L, ToolkitMangedByEnum as Lt, TriggerTypeSchema as M, ToolkitAuthFieldsResponse as Mt, TriggersTypeListParams as N, ToolkitAuthFieldsResponseSchema as Nt, TriggerStatuses as O, ToolkitAuthConfigDetails as Ot, TriggersTypeListParamsSchema as P, ToolkitCategory as Pt, WebhookVersions as Q, VerifyWebhookParams as R, ToolkitMangedByEnumSchema as Rt, TriggerInstanceUpsertParams as S, ToolKitItem as St, TriggerInstanceUpsertResponseSchema as T, ToolKitListResponseSchema as Tt, WebhookPayloadV1 as U, ToolkitSortByEnum as Ut, WebhookPayload as V, ToolkitRetrieveResponse as Vt, WebhookPayloadV1Schema as W, ToolkitSortByEnumSchema as Wt, WebhookTriggerPayloadV3Schema as X, WebhookTriggerPayloadV3 as Y, WebhookVersion as Z, TriggerInstanceManageDeleteResponseSchema as _, CreateAuthConfigParamsSchema as _t, IncomingTriggerPayload as a, AuthConfigRetrieveResponseSchema as at, TriggerInstanceManageUpdateResponse as b, CreateComposioManagedAuthConfigParamsSchema as bt, TriggerEvent as c, AuthConfigTypes as ct, TriggerInstanceListActiveParamsSchema as d, AuthCustomConfigUpdateParamsSchema as dt, AuthConfigListParams as et, TriggerInstanceListActiveResponse as f, AuthDefaultConfigUpdateParamsSchema as ft, TriggerInstanceManageDeleteResponse as g, CreateAuthConfigParams as gt, TriggerInstanceListActiveResponseSchema as h, AuthSchemeTypes as ht, MCP as i, AuthConfigRetrieveResponse as it, TriggerType as j, ToolkitAuthFieldSchema as jt, TriggerSubscribeParamSchema as k, ToolkitAuthConfigDetailsSchema as kt, TriggerEventData as l, AuthConfigUpdateParams as lt, TriggerInstanceListActiveResponseItemSchema as m, AuthSchemeType as mt, ComposioConfig as n, AuthConfigListResponse as nt, IncomingTriggerPayloadSchema as o, AuthConfigToolAccessConfigSchema as ot, TriggerInstanceListActiveResponseItem as p, AuthSchemeEnum as pt, WebhookPayloadV3 as q, OpenAIProvider as r, AuthConfigListResponseSchema as rt, TriggerData as s, AuthConfigType as st, Composio$1 as t, AuthConfigListParamsSchema as tt, TriggerInstanceListActiveParams as u, AuthConfigUpdateParamsSchema as ut, TriggerInstanceManageUpdateParams as v, CreateAuthConfigResponse as vt, TriggerInstanceUpsertResponse as w, ToolKitListResponse as wt, TriggerInstanceManageUpdateResponseSchema as x, CreateCustomAuthConfigParamsSchema as xt, TriggerInstanceManageUpdateParamsSchema as y, CreateAuthConfigResponseSchema as yt, VerifyWebhookParamsSchema as z, ToolkitRetrieveCategoriesResponse as zt };
5437
+ export { WebhookVersions as $, TriggerSubscribeParamSchema as A, ToolkitAuthConfigDetailsSchema as At, VerifyWebhookParamsSchema as B, ToolkitRetrieveCategoriesResponse as Bt, TriggerInstanceUpsertParams as C, ToolKitItem as Ct, TriggerStatusEnum as D, ToolKitMeta as Dt, TriggerInstanceUpsertResponseSchema as E, ToolKitListResponseSchema as Et, TriggersTypeListParamsSchema as F, ToolkitCategory as Ft, WebhookPayloadV1Schema as G, ToolkitSortByEnumSchema as Gt, WebhookPayload as H, ToolkitRetrieveResponse as Ht, TriggersTypeListResponse as I, ToolkitCategorySchema as It, WebhookPayloadV3 as J, WebhookPayloadV2 as K, ToolkitsListParamsSchema as Kt, TriggersTypeListResponseSchema as L, ToolkitListParams as Lt, TriggerType as M, ToolkitAuthFieldSchema as Mt, TriggerTypeSchema as N, ToolkitAuthFieldsResponse as Nt, TriggerStatusType as O, ToolKitMetaSchema as Ot, TriggersTypeListParams as P, ToolkitAuthFieldsResponseSchema as Pt, WebhookVersion as Q, TriggersTypeRetrieveResponse as R, ToolkitMangedByEnum as Rt, TriggerInstanceManageUpdateResponseSchema as S, CreateCustomAuthConfigParamsSchema as St, TriggerInstanceUpsertResponse as T, ToolKitListResponse as Tt, WebhookPayloadSchema as U, ToolkitRetrieveResponseSchema as Ut, VerifyWebhookResult as V, ToolkitRetrieveCategoriesResponseSchema as Vt, WebhookPayloadV1 as W, ToolkitSortByEnum as Wt, WebhookTriggerPayloadV3 as X, WebhookPayloadV3Schema as Y, WebhookTriggerPayloadV3Schema as Z, TriggerInstanceManageDeleteResponse as _, CreateAuthConfigParams as _t, Experimental as a, AuthConfigRetrieveResponse as at, TriggerInstanceManageUpdateParamsSchema as b, CreateAuthConfigResponseSchema as bt, TriggerData as c, AuthConfigType as ct, TriggerInstanceListActiveParams as d, AuthConfigUpdateParamsSchema as dt, AuthConfigCreationToolAccessConfigSchema as et, TriggerInstanceListActiveParamsSchema as f, AuthCustomConfigUpdateParamsSchema as ft, TriggerInstanceListActiveResponseSchema as g, AuthSchemeTypes as gt, TriggerInstanceListActiveResponseItemSchema as h, AuthSchemeType as ht, MCP as i, AuthConfigListResponseSchema as it, TriggerSubscribeParams as j, ToolkitAuthField as jt, TriggerStatuses as k, ToolkitAuthConfigDetails as kt, TriggerEvent as l, AuthConfigTypes as lt, TriggerInstanceListActiveResponseItem as m, AuthSchemeEnum as mt, ComposioConfig as n, AuthConfigListParamsSchema as nt, IncomingTriggerPayload as o, AuthConfigRetrieveResponseSchema as ot, TriggerInstanceListActiveResponse as p, AuthDefaultConfigUpdateParamsSchema as pt, WebhookPayloadV2Schema as q, OpenAIProvider as r, AuthConfigListResponse as rt, IncomingTriggerPayloadSchema as s, AuthConfigToolAccessConfigSchema as st, Composio$1 as t, AuthConfigListParams as tt, TriggerEventData as u, AuthConfigUpdateParams as ut, TriggerInstanceManageDeleteResponseSchema as v, CreateAuthConfigParamsSchema as vt, TriggerInstanceUpsertParamsSchema as w, ToolKitItemSchema as wt, TriggerInstanceManageUpdateResponse as x, CreateComposioManagedAuthConfigParamsSchema as xt, TriggerInstanceManageUpdateParams as y, CreateAuthConfigResponse as yt, VerifyWebhookParams as z, ToolkitMangedByEnumSchema as zt };