@composio/core 0.20.0 → 0.21.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 (40) hide show
  1. package/dist/{CustomTool-fYEFjSLM.mjs → CustomTool-B-_VjWpy.mjs} +1 -1
  2. package/dist/{CustomTool-B3m-188G.d.mts → CustomTool-BHOYxLZX.d.mts} +1 -1
  3. package/dist/{cancellation-Dwa9lGHA.mjs → cancellation-DV8CIi52.mjs} +1 -1
  4. package/dist/{composio-B36OXii1.d.mts → composio-BTZsFajb.d.mts} +464 -4
  5. package/dist/{customTool.types-C436M_D0.d.mts → customTool.types-D_w21L56.d.mts} +454 -59
  6. package/dist/docs/reference/sdk-reference/typescript/composio.mdx +2 -1
  7. package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -0
  8. package/dist/docs/reference/sdk-reference/typescript/meta.json +1 -0
  9. package/dist/docs/reference/sdk-reference/typescript/session-configs.mdx +83 -0
  10. package/dist/docs/reference/sdk-reference/typescript/session.mdx +29 -20
  11. package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +10 -4
  12. package/dist/{errors-D_A4b2c2.mjs → errors-Dyiu3ifQ.mjs} +10 -6
  13. package/dist/experimental/index.d.mts +2 -2
  14. package/dist/experimental/index.mjs +1 -1
  15. package/dist/index.d.mts +39 -26
  16. package/dist/index.mjs +1482 -1049
  17. package/dist/{types-Br3GBya5.d.mts → types-CgRsUGqm.d.mts} +2 -2
  18. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  19. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  20. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  21. package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
  22. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  23. package/package.json +3 -1
  24. package/src/composio.ts +8 -0
  25. package/src/errors/ToolRouterErrors.ts +10 -6
  26. package/src/index.ts +2 -0
  27. package/src/lib/sessionConfigConflict.ts +43 -0
  28. package/src/lib/toolRouterParams.ts +34 -9
  29. package/src/lib/toolRouterSourceSessionConfig.ts +12 -0
  30. package/src/models/RemoteFile.ts +25 -8
  31. package/src/models/SessionConfigs.ts +117 -0
  32. package/src/models/ToolRouter.ts +19 -3
  33. package/src/models/ToolRouterSession.ts +45 -21
  34. package/src/models/Tools.ts +7 -5
  35. package/src/types/sessionConfigs.types.ts +81 -0
  36. package/src/types/tool.types.ts +2 -0
  37. package/src/types/toolRouter.types.ts +149 -7
  38. package/src/utils/safePath.ts +172 -0
  39. package/src/utils/transformers/sessionConfigs.ts +54 -0
  40. package/src/utils/transformers/toolRouterResponseTransform.ts +6 -0
@@ -1,4 +1,4 @@
1
- import { S as ValidationError } from "./errors-D_A4b2c2.mjs";
1
+ import { S as ValidationError } from "./errors-Dyiu3ifQ.mjs";
2
2
  import { z as z$1 } from "zod/v3";
3
3
  import * as z4 from "zod/v4";
4
4
  import * as zodToJsonSchema from "zod-to-json-schema";
@@ -1,4 +1,4 @@
1
- import { a as CreateCustomToolkitParams, f as CustomToolkit, o as CustomTool, r as CreateCustomToolParams, t as AnyZodSchema } from "./customTool.types-C436M_D0.mjs";
1
+ import { a as CreateCustomToolkitParams, f as CustomToolkit, o as CustomTool, r as CreateCustomToolParams, t as AnyZodSchema } from "./customTool.types-D_w21L56.mjs";
2
2
  import { SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
3
3
  //#region src/models/CustomTool.d.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { i as logger } from "./SsrfErrors-DiQldIdC.mjs";
2
- import { b as JsonSchemaRefResolutionError, g as ComposioRequestCancelledError, x as JsonSchemaToZodError, y as isRequestAbortError } from "./errors-D_A4b2c2.mjs";
2
+ import { b as JsonSchemaRefResolutionError, g as ComposioRequestCancelledError, x as JsonSchemaToZodError, y as isRequestAbortError } from "./errors-Dyiu3ifQ.mjs";
3
3
  import { o as isPlainObject } from "./FileToolModifier.utils.neutral-DWFpnsj2.mjs";
4
4
  import { jsonSchemaToZod } from "@composio/json-schema-to-zod";
5
5
 
@@ -1,4 +1,4 @@
1
- import { D as Session, En as ConnectedAccountRetrieveResponse, M as SessionWithoutMcp, On as ConnectedAccountRevokeResponse, Qn as UpdateConnectedAccountParams, Ra as ToolkitVersionParam, Sa as ToolExecuteResponse, Ta as ToolListParams, Un as CreateConnectedAccountOptions, X as ToolRouterSessionDeleteResponse, Xn as UpdateConnectedAccountAclParams, Yr as McpServerGetResponse, _a as Tool, ba as ToolExecuteParams, ci as ToolCallSession, dn as ConnectedAccountCompleteAuthParams, ea as ExecuteToolModifiers, ei as McpUrlResponse, f as CustomToolkit, ga as SchemaModifierOptions, ii as ExecuteToolFnOptions, ja as ToolRetrievalOptions, ka as ToolProxyParams, na as ProviderOptions, nn as ComposioRequestOptions, nr as BaseNonAgenticProvider, o as CustomTool, pn as ConnectedAccountCompleteAuthResponse, ra as SessionExecuteMetaModifiers, rn as ConnectionRequest, tr as BaseComposioProvider, va as ToolExecuteMetaParams, wa as ToolList, wn as ConnectedAccountRefreshOptions, xn as ConnectedAccountListResponse, yn as ConnectedAccountListParams, z as ToolRouterCreateSessionConfig, zn as CreateConnectedAccountLinkOptions } from "./customTool.types-C436M_D0.mjs";
1
+ import { An as ConnectedAccountRevokeResponse, Ba as ToolkitVersionParam, Cn as ConnectedAccountListResponse, D as Session, Da as ToolListParams, Ea as ToolList, En as ConnectedAccountRefreshOptions, Gn as CreateConnectedAccountOptions, M as SessionWithoutMcp, Na as ToolRetrievalOptions, On as ConnectedAccountRetrieveResponse, Q as ToolRouterSessionDeleteResponse, Qn as UpdateConnectedAccountAclParams, Sa as ToolExecuteParams, Vn as CreateConnectedAccountLinkOptions, Zr as McpServerGetResponse, aa as SessionExecuteMetaModifiers, an as ConnectionRequest, ba as ToolExecuteMetaParams, er as UpdateConnectedAccountParams, f as CustomToolkit, hn as ConnectedAccountCompleteAuthResponse, ia as ProviderOptions, in as ComposioRequestOptions, ir as BaseNonAgenticProvider, ja as ToolProxyParams, na as ExecuteToolModifiers, ni as McpUrlResponse, o as CustomTool, oi as ExecuteToolFnOptions, pn as ConnectedAccountCompleteAuthParams, rr as BaseComposioProvider, ui as ToolCallSession, va as SchemaModifierOptions, wa as ToolExecuteResponse, xn as ConnectedAccountListParams, ya as Tool, z as ToolRouterCreateSessionConfig } from "./customTool.types-D_w21L56.mjs";
2
2
  import ComposioClient, { Composio } from "@composio/client";
3
3
  import z, { z as z$1 } from "zod/v3";
4
4
  import { Files } from "#files";
@@ -3601,9 +3601,9 @@ type TriggerInstanceUpsertResponse = z$1.infer<typeof TriggerInstanceUpsertRespo
3601
3601
  declare const TriggerInstanceManageUpdateParamsSchema: z$1.ZodObject<{
3602
3602
  status: z$1.ZodEnum<["enable", "disable"]>;
3603
3603
  }, "strip", z$1.ZodTypeAny, {
3604
- status: "enable" | "disable";
3604
+ status: "disable" | "enable";
3605
3605
  }, {
3606
- status: "enable" | "disable";
3606
+ status: "disable" | "enable";
3607
3607
  }>;
3608
3608
  type TriggerInstanceManageUpdateParams = z$1.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
3609
3609
  declare const TriggerInstanceManageUpdateResponseSchema: z$1.ZodObject<{
@@ -7488,6 +7488,454 @@ declare class Logs {
7488
7488
  get(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolExecutionLogDetail>;
7489
7489
  }
7490
7490
  //#endregion
7491
+ //#region src/types/sessionConfigs.types.d.ts
7492
+ /**
7493
+ * Params for `composio.sessionConfigs.list()`. The backend owns the defaults:
7494
+ * active configs only, 20 per page, at most 100.
7495
+ */
7496
+ declare const SessionConfigListParamsSchema: z$1.ZodObject<{
7497
+ /** Case-insensitive substring match against the config name. */
7498
+ search: z$1.ZodOptional<z$1.ZodString>;
7499
+ /** `true` returns only archived configs. Omitted returns active configs. */
7500
+ archived: z$1.ZodOptional<z$1.ZodBoolean>;
7501
+ /** Page size. The backend defaults to 20 and caps it at 100. */
7502
+ limit: z$1.ZodOptional<z$1.ZodNumber>;
7503
+ /** `nextCursor` from a previous page. */
7504
+ cursor: z$1.ZodOptional<z$1.ZodString>;
7505
+ }, "strip", z$1.ZodTypeAny, {
7506
+ limit?: number | undefined;
7507
+ search?: string | undefined;
7508
+ cursor?: string | undefined;
7509
+ archived?: boolean | undefined;
7510
+ }, {
7511
+ limit?: number | undefined;
7512
+ search?: string | undefined;
7513
+ cursor?: string | undefined;
7514
+ archived?: boolean | undefined;
7515
+ }>;
7516
+ type SessionConfigListParams = z$1.infer<typeof SessionConfigListParamsSchema>;
7517
+ /**
7518
+ * A saved Session config as listed by `composio.sessionConfigs.list()`.
7519
+ */
7520
+ declare const SessionConfigSummarySchema: z$1.ZodObject<{
7521
+ /** Stable `sc_…` identifier. */
7522
+ id: z$1.ZodString;
7523
+ /** Project-unique display name. */
7524
+ name: z$1.ZodString;
7525
+ archived: z$1.ZodBoolean;
7526
+ /** ISO 8601 timestamp. */
7527
+ createdAt: z$1.ZodString;
7528
+ /** ISO 8601 timestamp. */
7529
+ updatedAt: z$1.ZodString;
7530
+ }, "strip", z$1.ZodTypeAny, {
7531
+ name: string;
7532
+ id: string;
7533
+ createdAt: string;
7534
+ updatedAt: string;
7535
+ archived: boolean;
7536
+ }, {
7537
+ name: string;
7538
+ id: string;
7539
+ createdAt: string;
7540
+ updatedAt: string;
7541
+ archived: boolean;
7542
+ }>;
7543
+ type SessionConfigSummary = z$1.infer<typeof SessionConfigSummarySchema>;
7544
+ declare const SessionConfigListResponseSchema: z$1.ZodObject<{
7545
+ items: z$1.ZodArray<z$1.ZodObject<{
7546
+ /** Stable `sc_…` identifier. */
7547
+ id: z$1.ZodString;
7548
+ /** Project-unique display name. */
7549
+ name: z$1.ZodString;
7550
+ archived: z$1.ZodBoolean;
7551
+ /** ISO 8601 timestamp. */
7552
+ createdAt: z$1.ZodString;
7553
+ /** ISO 8601 timestamp. */
7554
+ updatedAt: z$1.ZodString;
7555
+ }, "strip", z$1.ZodTypeAny, {
7556
+ name: string;
7557
+ id: string;
7558
+ createdAt: string;
7559
+ updatedAt: string;
7560
+ archived: boolean;
7561
+ }, {
7562
+ name: string;
7563
+ id: string;
7564
+ createdAt: string;
7565
+ updatedAt: string;
7566
+ archived: boolean;
7567
+ }>, "many">;
7568
+ /** Cursor for the next page, or `null` on the last page. */
7569
+ nextCursor: z$1.ZodNullable<z$1.ZodString>;
7570
+ }, "strip", z$1.ZodTypeAny, {
7571
+ items: {
7572
+ name: string;
7573
+ id: string;
7574
+ createdAt: string;
7575
+ updatedAt: string;
7576
+ archived: boolean;
7577
+ }[];
7578
+ nextCursor: string | null;
7579
+ }, {
7580
+ items: {
7581
+ name: string;
7582
+ id: string;
7583
+ createdAt: string;
7584
+ updatedAt: string;
7585
+ archived: boolean;
7586
+ }[];
7587
+ nextCursor: string | null;
7588
+ }>;
7589
+ type SessionConfigListResponse = z$1.infer<typeof SessionConfigListResponseSchema>;
7590
+ /**
7591
+ * The access policy stored in a saved Session config, in the backend's
7592
+ * `enable`/`disable` shape. Toolkit slug keys and tag names are kept exactly
7593
+ * as the backend sends them.
7594
+ */
7595
+ declare const SessionConfigPolicySchema: z$1.ZodObject<{
7596
+ toolkits: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodObject<{
7597
+ enable: z$1.ZodArray<z$1.ZodString, "many">;
7598
+ }, "strip", z$1.ZodTypeAny, {
7599
+ enable: string[];
7600
+ }, {
7601
+ enable: string[];
7602
+ }>, z$1.ZodObject<{
7603
+ disable: z$1.ZodArray<z$1.ZodString, "many">;
7604
+ }, "strip", z$1.ZodTypeAny, {
7605
+ disable: string[];
7606
+ }, {
7607
+ disable: string[];
7608
+ }>]>>;
7609
+ /** Per-toolkit tool policy, keyed by toolkit slug. */
7610
+ tools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodObject<{
7611
+ enable: z$1.ZodArray<z$1.ZodString, "many">;
7612
+ }, "strip", z$1.ZodTypeAny, {
7613
+ enable: string[];
7614
+ }, {
7615
+ enable: string[];
7616
+ }>, z$1.ZodObject<{
7617
+ disable: z$1.ZodArray<z$1.ZodString, "many">;
7618
+ }, "strip", z$1.ZodTypeAny, {
7619
+ disable: string[];
7620
+ }, {
7621
+ disable: string[];
7622
+ }>, z$1.ZodObject<{
7623
+ tags: z$1.ZodObject<{
7624
+ enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
7625
+ disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
7626
+ }, "strip", z$1.ZodTypeAny, {
7627
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7628
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7629
+ }, {
7630
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7631
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7632
+ }>;
7633
+ }, "strip", z$1.ZodTypeAny, {
7634
+ tags: {
7635
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7636
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7637
+ };
7638
+ }, {
7639
+ tags: {
7640
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7641
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7642
+ };
7643
+ }>]>>>;
7644
+ /** Global tag policy. */
7645
+ tags: z$1.ZodOptional<z$1.ZodObject<{
7646
+ enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
7647
+ disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
7648
+ }, "strip", z$1.ZodTypeAny, {
7649
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7650
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7651
+ }, {
7652
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7653
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7654
+ }>>;
7655
+ }, "strip", z$1.ZodTypeAny, {
7656
+ tags?: {
7657
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7658
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7659
+ } | undefined;
7660
+ tools?: Record<string, {
7661
+ enable: string[];
7662
+ } | {
7663
+ disable: string[];
7664
+ } | {
7665
+ tags: {
7666
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7667
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7668
+ };
7669
+ }> | undefined;
7670
+ toolkits?: {
7671
+ enable: string[];
7672
+ } | {
7673
+ disable: string[];
7674
+ } | undefined;
7675
+ }, {
7676
+ tags?: {
7677
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7678
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7679
+ } | undefined;
7680
+ tools?: Record<string, {
7681
+ enable: string[];
7682
+ } | {
7683
+ disable: string[];
7684
+ } | {
7685
+ tags: {
7686
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7687
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7688
+ };
7689
+ }> | undefined;
7690
+ toolkits?: {
7691
+ enable: string[];
7692
+ } | {
7693
+ disable: string[];
7694
+ } | undefined;
7695
+ }>;
7696
+ type SessionConfigPolicy = z$1.infer<typeof SessionConfigPolicySchema>;
7697
+ /**
7698
+ * A saved Session config with its description and access policy, as returned
7699
+ * by `composio.sessionConfigs.get()`.
7700
+ */
7701
+ declare const SessionConfigSchema: z$1.ZodObject<{
7702
+ /** Stable `sc_…` identifier. */
7703
+ id: z$1.ZodString;
7704
+ /** Project-unique display name. */
7705
+ name: z$1.ZodString;
7706
+ archived: z$1.ZodBoolean;
7707
+ /** ISO 8601 timestamp. */
7708
+ createdAt: z$1.ZodString;
7709
+ /** ISO 8601 timestamp. */
7710
+ updatedAt: z$1.ZodString;
7711
+ } & {
7712
+ description: z$1.ZodNullable<z$1.ZodString>;
7713
+ config: z$1.ZodObject<{
7714
+ toolkits: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodObject<{
7715
+ enable: z$1.ZodArray<z$1.ZodString, "many">;
7716
+ }, "strip", z$1.ZodTypeAny, {
7717
+ enable: string[];
7718
+ }, {
7719
+ enable: string[];
7720
+ }>, z$1.ZodObject<{
7721
+ disable: z$1.ZodArray<z$1.ZodString, "many">;
7722
+ }, "strip", z$1.ZodTypeAny, {
7723
+ disable: string[];
7724
+ }, {
7725
+ disable: string[];
7726
+ }>]>>;
7727
+ /** Per-toolkit tool policy, keyed by toolkit slug. */
7728
+ tools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodObject<{
7729
+ enable: z$1.ZodArray<z$1.ZodString, "many">;
7730
+ }, "strip", z$1.ZodTypeAny, {
7731
+ enable: string[];
7732
+ }, {
7733
+ enable: string[];
7734
+ }>, z$1.ZodObject<{
7735
+ disable: z$1.ZodArray<z$1.ZodString, "many">;
7736
+ }, "strip", z$1.ZodTypeAny, {
7737
+ disable: string[];
7738
+ }, {
7739
+ disable: string[];
7740
+ }>, z$1.ZodObject<{
7741
+ tags: z$1.ZodObject<{
7742
+ enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
7743
+ disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
7744
+ }, "strip", z$1.ZodTypeAny, {
7745
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7746
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7747
+ }, {
7748
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7749
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7750
+ }>;
7751
+ }, "strip", z$1.ZodTypeAny, {
7752
+ tags: {
7753
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7754
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7755
+ };
7756
+ }, {
7757
+ tags: {
7758
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7759
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7760
+ };
7761
+ }>]>>>;
7762
+ /** Global tag policy. */
7763
+ tags: z$1.ZodOptional<z$1.ZodObject<{
7764
+ enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
7765
+ disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
7766
+ }, "strip", z$1.ZodTypeAny, {
7767
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7768
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7769
+ }, {
7770
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7771
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7772
+ }>>;
7773
+ }, "strip", z$1.ZodTypeAny, {
7774
+ tags?: {
7775
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7776
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7777
+ } | undefined;
7778
+ tools?: Record<string, {
7779
+ enable: string[];
7780
+ } | {
7781
+ disable: string[];
7782
+ } | {
7783
+ tags: {
7784
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7785
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7786
+ };
7787
+ }> | undefined;
7788
+ toolkits?: {
7789
+ enable: string[];
7790
+ } | {
7791
+ disable: string[];
7792
+ } | undefined;
7793
+ }, {
7794
+ tags?: {
7795
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7796
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7797
+ } | undefined;
7798
+ tools?: Record<string, {
7799
+ enable: string[];
7800
+ } | {
7801
+ disable: string[];
7802
+ } | {
7803
+ tags: {
7804
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7805
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7806
+ };
7807
+ }> | undefined;
7808
+ toolkits?: {
7809
+ enable: string[];
7810
+ } | {
7811
+ disable: string[];
7812
+ } | undefined;
7813
+ }>;
7814
+ }, "strip", z$1.ZodTypeAny, {
7815
+ name: string;
7816
+ description: string | null;
7817
+ id: string;
7818
+ createdAt: string;
7819
+ updatedAt: string;
7820
+ config: {
7821
+ tags?: {
7822
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7823
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7824
+ } | undefined;
7825
+ tools?: Record<string, {
7826
+ enable: string[];
7827
+ } | {
7828
+ disable: string[];
7829
+ } | {
7830
+ tags: {
7831
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7832
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7833
+ };
7834
+ }> | undefined;
7835
+ toolkits?: {
7836
+ enable: string[];
7837
+ } | {
7838
+ disable: string[];
7839
+ } | undefined;
7840
+ };
7841
+ archived: boolean;
7842
+ }, {
7843
+ name: string;
7844
+ description: string | null;
7845
+ id: string;
7846
+ createdAt: string;
7847
+ updatedAt: string;
7848
+ config: {
7849
+ tags?: {
7850
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7851
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7852
+ } | undefined;
7853
+ tools?: Record<string, {
7854
+ enable: string[];
7855
+ } | {
7856
+ disable: string[];
7857
+ } | {
7858
+ tags: {
7859
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7860
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
7861
+ };
7862
+ }> | undefined;
7863
+ toolkits?: {
7864
+ enable: string[];
7865
+ } | {
7866
+ disable: string[];
7867
+ } | undefined;
7868
+ };
7869
+ archived: boolean;
7870
+ }>;
7871
+ type SessionConfig = z$1.infer<typeof SessionConfigSchema>;
7872
+ //#endregion
7873
+ //#region src/models/SessionConfigs.d.ts
7874
+ /**
7875
+ * `composio.sessionConfigs` — saved, reusable Session configs.
7876
+ *
7877
+ * A Session config is a named access policy (`sc_…`) built in the Composio
7878
+ * Dashboard under Sessions → Configs. Pass its id as
7879
+ * `experimental.sessionConfigId` to `composio.sessions.create()` or
7880
+ * `session.update()` to apply it.
7881
+ *
7882
+ * These endpoints require Session configs to be enabled for the project;
7883
+ * otherwise the backend returns 403.
7884
+ *
7885
+ * @example
7886
+ * ```typescript
7887
+ * const { items } = await composio.sessionConfigs.list({ search: 'support' });
7888
+ * const sessionConfig = await composio.sessionConfigs.get(items[0].id);
7889
+ * const session = await composio.sessions.create('user_123', {
7890
+ * experimental: { sessionConfigId: sessionConfig.id },
7891
+ * });
7892
+ * ```
7893
+ */
7894
+ declare class SessionConfigs {
7895
+ private client;
7896
+ constructor(client: ComposioClient);
7897
+ /**
7898
+ * List the project's saved Session configs with cursor pagination.
7899
+ *
7900
+ * Omitting `archived` returns active configs; `archived: true` returns only
7901
+ * archived ones. The backend defaults `limit` to 20 and caps it at 100.
7902
+ *
7903
+ * Requires Session configs to be enabled for the project.
7904
+ *
7905
+ * @param {SessionConfigListParams} [params] - `search`, `archived`, `limit` and `cursor`
7906
+ * @returns {Promise<SessionConfigListResponse>} Config summaries and the next cursor
7907
+ * @throws {ValidationError} If the params fail validation
7908
+ *
7909
+ * @example
7910
+ * ```typescript
7911
+ * let cursor: string | undefined;
7912
+ * do {
7913
+ * const page = await composio.sessionConfigs.list({ cursor });
7914
+ * for (const item of page.items) console.log(item.id, item.name);
7915
+ * cursor = page.nextCursor ?? undefined;
7916
+ * } while (cursor);
7917
+ * ```
7918
+ */
7919
+ list(params?: SessionConfigListParams, requestOptions?: ComposioRequestOptions): Promise<SessionConfigListResponse>;
7920
+ /**
7921
+ * Retrieve one saved Session config with its description and access
7922
+ * policy. A missing or cross-project id surfaces as the backend's 404.
7923
+ *
7924
+ * Requires Session configs to be enabled for the project.
7925
+ *
7926
+ * @param {string} id - The `sc_…` id of the Session config
7927
+ * @returns {Promise<SessionConfig>} The config and its policy
7928
+ * @throws {ValidationError} If `id` is empty
7929
+ *
7930
+ * @example
7931
+ * ```typescript
7932
+ * const sessionConfig = await composio.sessionConfigs.get('sc_abc123');
7933
+ * console.log(sessionConfig.config.toolkits);
7934
+ * ```
7935
+ */
7936
+ get(id: string, requestOptions?: ComposioRequestOptions): Promise<SessionConfig>;
7937
+ }
7938
+ //#endregion
7491
7939
  //#region src/types/keyring.types.d.ts
7492
7940
  /**
7493
7941
  * A public JWK a secret can be sealed to. Fields keep their JWK names so a
@@ -8044,6 +8492,12 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
8044
8492
  * customToolkits: [myToolkit],
8045
8493
  * },
8046
8494
  * });
8495
+ *
8496
+ * // Start from a saved Session config instead of inline access fields
8497
+ * const configured = await composio.sessions.create('user_123', {
8498
+ * authConfigs: { github: 'ac_123' },
8499
+ * experimental: { sessionConfigId: 'sc_123' },
8500
+ * });
8047
8501
  * ```
8048
8502
  */
8049
8503
  create(userId: string, config: ToolRouterCreateSessionConfig & {
@@ -8401,6 +8855,12 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
8401
8855
  * `composio.create(...)` method is kept as an alias.
8402
8856
  */
8403
8857
  sessions: Sessions<unknown, unknown, TProvider>;
8858
+ /**
8859
+ * Read the project's saved Session configs. Apply one with
8860
+ * `experimental.sessionConfigId` on `sessions.create()` or `session.update()`.
8861
+ * Requires Session configs to be enabled for the project.
8862
+ */
8863
+ sessionConfigs: SessionConfigs;
8404
8864
  /**
8405
8865
  * Legacy alias for `composio.sessions`.
8406
8866
  * @deprecated Use `composio.sessions` instead — `toolRouter` was renamed to `sessions` and is kept only for backwards compatibility. Prefer `composio.sessions`; do not generate new code against `composio.toolRouter`.
@@ -8570,4 +9030,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
8570
9030
  flush(): Promise<void>;
8571
9031
  }
8572
9032
  //#endregion
8573
- export { WebhookSubscriptionEventTypeSchema as $, AuthConfigToolAccessConfigSchema as $n, ToolkitRetrieveResponseSchema as $r, TriggerEvent as $t, ToolExecutionLogParentSchema as A, VerifyWebhookParamsSchema as An, ToolkitChangelogItemSchema as Ar, UsageBreakdownGroup as At, WebhookEndpointListItemSchema as B, WebhookRequestLike as Bn, ToolkitListGrantContextsParamsSchema as Br, UsageOrderBySchema as Bt, LogSearchResponseSchema as C, TriggerTypeSchema as Cn, ToolkitAuthField as Cr, CustomToolkitSyncResponse as Ct, ToolExecutionLogDetail as D, TriggersTypeListResponseSchema as Dn, ToolkitCategory as Dr, CustomToolkitUpsertResponse as Dt, ToolExecutionLog as E, TriggersTypeListResponse as En, ToolkitAuthFieldsResponseSchema as Er, CustomToolkitUpsertParamsSchema as Et, Webhooks as F, WebhookPayloadV1Schema as Fn, ToolkitGetManyParams as Fr, UsageBreakdownResponseSchema as Ft, WebhookEndpointReplaceParams as G, WebhookVersions as Gn, ToolkitMangedByEnumSchema as Gr, UsageSummaryResponseSchema as Gt, WebhookEndpointListParamsSchema as H, WebhookTriggerPayloadV3 as Hn, ToolkitListGrantContextsResponseSchema as Hr, UsageSummaryParams as Ht, WebhookEndpoint as I, WebhookPayloadV2 as In, ToolkitGetManySlugsSchema as Ir, UsageEntitySummary as It, WebhookEndpointUpdateParams as J, AuthConfigListParamsSchema as Jn, ToolkitRecommendScopesResponse as Jr, IncomingTriggerPayloadSchema as Jt, WebhookEndpointReplaceParamsSchema as K, AuthConfigCreationToolAccessConfigSchema as Kn, ToolkitRecommendScopesParams as Kr, DefaultWebhookSubscriptionEvents as Kt, WebhookEndpointCreateParams as L, WebhookPayloadV2Schema as Ln, ToolkitGrantContextDimension as Lr, UsageEntitySummarySchema as Lt, ToolExecutionLogStatusSchema as M, WebhookPayload as Mn, ToolkitChangelogResponseSchema as Mr, UsageBreakdownParams as Mt, WebhookEndpoints as N, WebhookPayloadSchema as Nn, ToolkitConditionalScope as Nr, UsageBreakdownParamsSchema as Nt, ToolExecutionLogDetailSchema as O, TriggersTypeRetrieveResponse as On, ToolkitCategorySchema as Or, CustomToolkitUpsertResponseSchema as Ot, WebhookSubscriptions as P, WebhookPayloadV1 as Pn, ToolkitConditionalScopeSchema as Pr, UsageBreakdownResponse as Pt, WebhookSubscriptionEventType as Q, AuthConfigRetrieveResponseSchema as Qn, ToolkitRetrieveResponse as Qr, TriggerData as Qt, WebhookEndpointCreateParamsSchema as R, WebhookPayloadV3 as Rn, ToolkitGrantContextDimensionSchema as Rr, UsageFilters as Rt, LogSearchResponse as S, TriggerType as Sn, ToolkitAuthConfigDetailsSchema as Sr, CustomToolkitSyncParamsSchema as St, LogSearchTimeRangeSchema as T, TriggersTypeListParamsSchema as Tn, ToolkitAuthFieldsResponse as Tr, CustomToolkitUpsertParams as Tt, WebhookEndpointListResponse as U, WebhookTriggerPayloadV3Schema as Un, ToolkitListParams as Ur, UsageSummaryParamsSchema as Ut, WebhookEndpointListParams as V, WebhookSubscription as Vn, ToolkitListGrantContextsResponse as Vr, UsageOrderDirectionSchema as Vt, WebhookEndpointListResponseSchema as W, WebhookVersion as Wn, ToolkitMangedByEnum as Wr, UsageSummaryResponse as Wt, WebhookSubscriptionDeleteResponse as X, AuthConfigListResponseSchema as Xn, ToolkitRetrieveCategoriesResponse as Xr, SetWebhookSubscriptionParams as Xt, WebhookEndpointUpdateParamsSchema as Y, AuthConfigListResponse as Yn, ToolkitRecommendScopesResponseSchema as Yr, ParseWebhookOptions as Yt, WebhookSubscriptionDeleteResponseSchema as Z, AuthConfigRetrieveResponse as Zn, ToolkitRetrieveCategoriesResponseSchema as Zr, SetWebhookSubscriptionParamsSchema as Zt, LogSearchFilterOperator as _, TriggerStatusEnum as _n, ToolKitListResponse as _r, CustomToolkitAuthScheme as _t, ComposioLogger as a, ToolkitsListParamsSchema as ai, TriggerInstanceListActiveResponseItemSchema as an, AuthDefaultConfigUpdateParamsSchema as ar, WebhookSubscriptionListResponseSchema as at, LogSearchParams as b, TriggerSubscribeParamSchema as bn, ToolKitMetaSchema as br, CustomToolkitDeleteResponseSchema as bt, Keyring as c, TriggerInstanceManageDeleteResponseSchema as cn, AuthSchemeTypes as cr, WebhookSubscriptionSchema as ct, KeyringTransferKeysResponse as d, TriggerInstanceManageUpdateResponse as dn, CreateAuthConfigResponse as dr, WebhookSubscriptionUpdateParams as dt, ToolkitSortByEnum as ei, TriggerEventData as en, AuthConfigType as er, WebhookSubscriptionEventTypesResponse as et, KeyringTransferKeysResponseSchema as f, TriggerInstanceManageUpdateResponseSchema as fn, CreateAuthConfigResponseSchema as fr, WebhookSubscriptionUpdateParamsSchema as ft, LogSearchFilterFieldSchema as g, TriggerInstanceUpsertResponseSchema as gn, ToolKitItemSchema as gr, CustomToolkits as gt, LogSearchFilterField as h, TriggerInstanceUpsertResponse as hn, ToolKitItem as hr, Experimental as ht, OpenAIProvider as i, ToolkitsGetManyParamsSchema as ii, TriggerInstanceListActiveResponseItem as in, AuthCustomConfigUpdateParamsSchema as ir, WebhookSubscriptionListResponse as it, ToolExecutionLogSchema as j, VerifyWebhookResult as jn, ToolkitChangelogResponse as jr, UsageBreakdownGroupSchema as jt, ToolExecutionLogLevelSchema as k, VerifyWebhookParams as kn, ToolkitChangelogItem as kr, Usage as kt, KeyringTransferKey as l, TriggerInstanceManageUpdateParams as ln, CreateAuthConfigParams as lr, WebhookSubscriptionSetParams as lt, LogSearchFilter as m, TriggerInstanceUpsertParamsSchema as mn, CreateCustomAuthConfigParamsSchema as mr, MCP as mt, ComposioConfig as n, ToolkitVersionChangelog as ni, TriggerInstanceListActiveParamsSchema as nn, AuthConfigUpdateParams as nr, WebhookSubscriptionListParams as nt, LogLevel as o, TriggerInstanceListActiveResponseSchema as on, AuthSchemeEnum as or, WebhookSubscriptionRotateSecretResponse as ot, Logs as p, TriggerInstanceUpsertParams as pn, CreateComposioManagedAuthConfigParamsSchema as pr, WebhookVersionSchema as pt, WebhookEndpointSchema as q, AuthConfigListParams as qn, ToolkitRecommendScopesParamsSchema as qr, IncomingTriggerPayload as qt, Sessions as r, ToolkitVersionChangelogSchema as ri, TriggerInstanceListActiveResponse as rn, AuthConfigUpdateParamsSchema as rr, WebhookSubscriptionListParamsSchema as rt, logger as s, TriggerInstanceManageDeleteResponse as sn, AuthSchemeType as sr, WebhookSubscriptionRotateSecretResponseSchema as st, Composio$1 as t, ToolkitSortByEnumSchema as ti, TriggerInstanceListActiveParams as tn, AuthConfigTypes as tr, WebhookSubscriptionEventTypesResponseSchema as tt, KeyringTransferKeySchema as u, TriggerInstanceManageUpdateParamsSchema as un, CreateAuthConfigParamsSchema as ur, WebhookSubscriptionSetParamsSchema as ut, LogSearchFilterOperatorSchema as v, TriggerStatusType as vn, ToolKitListResponseSchema as vr, CustomToolkitAuthSchemeSchema as vt, LogSearchTimeRange as w, TriggersTypeListParams as wn, ToolkitAuthFieldSchema as wr, CustomToolkitSyncResponseSchema as wt, LogSearchParamsSchema as x, TriggerSubscribeParams as xn, ToolkitAuthConfigDetails as xr, CustomToolkitSyncParams as xt, LogSearchFilterSchema as y, TriggerStatuses as yn, ToolKitMeta as yr, CustomToolkitDeleteResponse as yt, WebhookEndpointListItem as z, WebhookPayloadV3Schema as zn, ToolkitListGrantContextsParams as zr, UsageFiltersSchema as zt };
9033
+ export { WebhookEndpointListParamsSchema as $, WebhookTriggerPayloadV3 as $n, ToolkitListGrantContextsResponseSchema as $r, UsageSummaryParams as $t, LogSearchFilterSchema as A, TriggerStatuses as An, ToolKitMeta as Ar, CustomToolkitDeleteResponse as At, ToolExecutionLogLevelSchema as B, VerifyWebhookParams as Bn, ToolkitChangelogItem as Br, Usage as Bt, SessionConfigSummarySchema as C, TriggerInstanceManageUpdateResponseSchema as Cn, CreateAuthConfigResponseSchema as Cr, WebhookSubscriptionUpdateParamsSchema as Ct, LogSearchFilterFieldSchema as D, TriggerInstanceUpsertResponseSchema as Dn, ToolKitItemSchema as Dr, CustomToolkits as Dt, LogSearchFilterField as E, TriggerInstanceUpsertResponse as En, ToolKitItem as Er, Experimental as Et, LogSearchTimeRange as F, TriggersTypeListParams as Fn, ToolkitAuthFieldSchema as Fr, CustomToolkitSyncResponseSchema as Ft, WebhookSubscriptions as G, WebhookPayloadV1 as Gn, ToolkitConditionalScopeSchema as Gr, UsageBreakdownResponse as Gt, ToolExecutionLogSchema as H, VerifyWebhookResult as Hn, ToolkitChangelogResponse as Hr, UsageBreakdownGroupSchema as Ht, LogSearchTimeRangeSchema as I, TriggersTypeListParamsSchema as In, ToolkitAuthFieldsResponse as Ir, CustomToolkitUpsertParams as It, WebhookEndpointCreateParams as J, WebhookPayloadV2Schema as Jn, ToolkitGrantContextDimension as Jr, UsageEntitySummarySchema as Jt, Webhooks as K, WebhookPayloadV1Schema as Kn, ToolkitGetManyParams as Kr, UsageBreakdownResponseSchema as Kt, ToolExecutionLog as L, TriggersTypeListResponse as Ln, ToolkitAuthFieldsResponseSchema as Lr, CustomToolkitUpsertParamsSchema as Lt, LogSearchParamsSchema as M, TriggerSubscribeParams as Mn, ToolkitAuthConfigDetails as Mr, CustomToolkitSyncParams as Mt, LogSearchResponse as N, TriggerType as Nn, ToolkitAuthConfigDetailsSchema as Nr, CustomToolkitSyncParamsSchema as Nt, LogSearchFilterOperator as O, TriggerStatusEnum as On, ToolKitListResponse as Or, CustomToolkitAuthScheme as Ot, LogSearchResponseSchema as P, TriggerTypeSchema as Pn, ToolkitAuthField as Pr, CustomToolkitSyncResponse as Pt, WebhookEndpointListParams as Q, WebhookSubscription as Qn, ToolkitListGrantContextsResponse as Qr, UsageOrderDirectionSchema as Qt, ToolExecutionLogDetail as R, TriggersTypeListResponseSchema as Rn, ToolkitCategory as Rr, CustomToolkitUpsertResponse as Rt, SessionConfigSummary as S, TriggerInstanceManageUpdateResponse as Sn, CreateAuthConfigResponse as Sr, WebhookSubscriptionUpdateParams as St, LogSearchFilter as T, TriggerInstanceUpsertParamsSchema as Tn, CreateCustomAuthConfigParamsSchema as Tr, MCP as Tt, ToolExecutionLogStatusSchema as U, WebhookPayload as Un, ToolkitChangelogResponseSchema as Ur, UsageBreakdownParams as Ut, ToolExecutionLogParentSchema as V, VerifyWebhookParamsSchema as Vn, ToolkitChangelogItemSchema as Vr, UsageBreakdownGroup as Vt, WebhookEndpoints as W, WebhookPayloadSchema as Wn, ToolkitConditionalScope as Wr, UsageBreakdownParamsSchema as Wt, WebhookEndpointListItem as X, WebhookPayloadV3Schema as Xn, ToolkitListGrantContextsParams as Xr, UsageFiltersSchema as Xt, WebhookEndpointCreateParamsSchema as Y, WebhookPayloadV3 as Yn, ToolkitGrantContextDimensionSchema as Yr, UsageFilters as Yt, WebhookEndpointListItemSchema as Z, WebhookRequestLike as Zn, ToolkitListGrantContextsParamsSchema as Zr, UsageOrderBySchema as Zt, SessionConfigListResponse as _, TriggerInstanceListActiveResponseSchema as _n, AuthSchemeEnum as _r, WebhookSubscriptionRotateSecretResponse as _t, ComposioLogger as a, ToolkitRecommendScopesResponse as ai, IncomingTriggerPayloadSchema as an, AuthConfigListParamsSchema as ar, WebhookEndpointUpdateParams as at, SessionConfigPolicySchema as b, TriggerInstanceManageUpdateParams as bn, CreateAuthConfigParams as br, WebhookSubscriptionSetParams as bt, Keyring as c, ToolkitRetrieveCategoriesResponseSchema as ci, SetWebhookSubscriptionParamsSchema as cn, AuthConfigRetrieveResponse as cr, WebhookSubscriptionDeleteResponseSchema as ct, KeyringTransferKeysResponse as d, ToolkitSortByEnum as di, TriggerEventData as dn, AuthConfigType as dr, WebhookSubscriptionEventTypesResponse as dt, ToolkitListParams as ei, UsageSummaryParamsSchema as en, WebhookTriggerPayloadV3Schema as er, WebhookEndpointListResponse as et, KeyringTransferKeysResponseSchema as f, ToolkitSortByEnumSchema as fi, TriggerInstanceListActiveParams as fn, AuthConfigTypes as fr, WebhookSubscriptionEventTypesResponseSchema as ft, SessionConfigListParamsSchema as g, ToolkitsListParamsSchema as gi, TriggerInstanceListActiveResponseItemSchema as gn, AuthDefaultConfigUpdateParamsSchema as gr, WebhookSubscriptionListResponseSchema as gt, SessionConfigListParams as h, ToolkitsGetManyParamsSchema as hi, TriggerInstanceListActiveResponseItem as hn, AuthCustomConfigUpdateParamsSchema as hr, WebhookSubscriptionListResponse as ht, OpenAIProvider as i, ToolkitRecommendScopesParamsSchema as ii, IncomingTriggerPayload as in, AuthConfigListParams as ir, WebhookEndpointSchema as it, LogSearchParams as j, TriggerSubscribeParamSchema as jn, ToolKitMetaSchema as jr, CustomToolkitDeleteResponseSchema as jt, LogSearchFilterOperatorSchema as k, TriggerStatusType as kn, ToolKitListResponseSchema as kr, CustomToolkitAuthSchemeSchema as kt, KeyringTransferKey as l, ToolkitRetrieveResponse as li, TriggerData as ln, AuthConfigRetrieveResponseSchema as lr, WebhookSubscriptionEventType as lt, SessionConfig as m, ToolkitVersionChangelogSchema as mi, TriggerInstanceListActiveResponse as mn, AuthConfigUpdateParamsSchema as mr, WebhookSubscriptionListParamsSchema as mt, ComposioConfig as n, ToolkitMangedByEnumSchema as ni, UsageSummaryResponseSchema as nn, WebhookVersions as nr, WebhookEndpointReplaceParams as nt, LogLevel as o, ToolkitRecommendScopesResponseSchema as oi, ParseWebhookOptions as on, AuthConfigListResponse as or, WebhookEndpointUpdateParamsSchema as ot, SessionConfigs as p, ToolkitVersionChangelog as pi, TriggerInstanceListActiveParamsSchema as pn, AuthConfigUpdateParams as pr, WebhookSubscriptionListParams as pt, WebhookEndpoint as q, WebhookPayloadV2 as qn, ToolkitGetManySlugsSchema as qr, UsageEntitySummary as qt, Sessions as r, ToolkitRecommendScopesParams as ri, DefaultWebhookSubscriptionEvents as rn, AuthConfigCreationToolAccessConfigSchema as rr, WebhookEndpointReplaceParamsSchema as rt, logger as s, ToolkitRetrieveCategoriesResponse as si, SetWebhookSubscriptionParams as sn, AuthConfigListResponseSchema as sr, WebhookSubscriptionDeleteResponse as st, Composio$1 as t, ToolkitMangedByEnum as ti, UsageSummaryResponse as tn, WebhookVersion as tr, WebhookEndpointListResponseSchema as tt, KeyringTransferKeySchema as u, ToolkitRetrieveResponseSchema as ui, TriggerEvent as un, AuthConfigToolAccessConfigSchema as ur, WebhookSubscriptionEventTypeSchema as ut, SessionConfigListResponseSchema as v, TriggerInstanceManageDeleteResponse as vn, AuthSchemeType as vr, WebhookSubscriptionRotateSecretResponseSchema as vt, Logs as w, TriggerInstanceUpsertParams as wn, CreateComposioManagedAuthConfigParamsSchema as wr, WebhookVersionSchema as wt, SessionConfigSchema as x, TriggerInstanceManageUpdateParamsSchema as xn, CreateAuthConfigParamsSchema as xr, WebhookSubscriptionSetParamsSchema as xt, SessionConfigPolicy as y, TriggerInstanceManageDeleteResponseSchema as yn, AuthSchemeTypes as yr, WebhookSubscriptionSchema as yt, ToolExecutionLogDetailSchema as z, TriggersTypeRetrieveResponse as zn, ToolkitCategorySchema as zr, CustomToolkitUpsertResponseSchema as zt };