@composio/core 0.29.0 → 0.31.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 (80) hide show
  1. package/README.md +23 -0
  2. package/dist/{CustomTool-Bd1KdWvo.mjs → CustomTool-9Vlb4XaS.mjs} +4 -7
  3. package/dist/{CustomTool-CMW-d2ZN.d.mts → CustomTool-Ds5aLDth.d.mts} +2 -4
  4. package/dist/FileModifierErrors-WrqokuIF.mjs +199 -0
  5. package/dist/{FileToolModifier.utils.neutral-DWFpnsj2.mjs → FileToolModifier.utils.neutral-BQP85ZJj.mjs} +1 -2
  6. package/dist/{SsrfErrors-DiQldIdC.mjs → SsrfErrors-BSVMW915.mjs} +49 -26
  7. package/dist/{Telemetry-D2PJwXKx.mjs → Telemetry-a7SOQXcg.mjs} +6 -10
  8. package/dist/{composio-D5UV5HXN.d.mts → composio-Ba89XGHL.d.mts} +310 -222
  9. package/dist/{customTool.types-B9fs34dv.d.mts → customTool.types-DHxXBU6E.d.mts} +205 -268
  10. package/dist/docs/error-consistency.md +3 -3
  11. package/dist/docs/reference/sdk-reference/typescript/auth-configs.mdx +9 -0
  12. package/dist/docs/reference/sdk-reference/typescript/composio.mdx +1 -0
  13. package/dist/docs/reference/sdk-reference/typescript/custom-toolkits.mdx +6 -11
  14. package/dist/docs/reference/sdk-reference/typescript/experimental.mdx +1 -1
  15. package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -1
  16. package/dist/docs/reference/sdk-reference/typescript/mcp.mdx +2 -2
  17. package/dist/docs/reference/sdk-reference/typescript/remote-file.mdx +1 -1
  18. package/dist/docs/reference/sdk-reference/typescript/tools.mdx +2 -2
  19. package/dist/{errors-BK6Xc7Ia.mjs → errors-xC13uvaA.mjs} +56 -139
  20. package/dist/experimental/index.d.mts +16 -2
  21. package/dist/experimental/index.mjs +1 -1
  22. package/dist/{fileUtils.node-ILI1IjnZ.mjs → fileUtils.node-CAwIbWYH.mjs} +6 -8
  23. package/dist/{files.types-DeMC_mAW.d.mts → files.types-Dg6HcEzs.d.mts} +0 -2
  24. package/dist/index.d.mts +37 -72
  25. package/dist/index.mjs +339 -254
  26. package/dist/{cancellation-BoJjs34Y.mjs → jsonSchema-Cc4EtHRw.mjs} +5 -22
  27. package/dist/models/Files.node.d.mts +32 -13
  28. package/dist/models/Files.node.mjs +36 -19
  29. package/dist/models/Files.workerd.d.mts +8 -3
  30. package/dist/models/Files.workerd.mjs +1 -2
  31. package/dist/platform/node.d.mts +2 -4
  32. package/dist/platform/node.mjs +15 -16
  33. package/dist/platform/workerd.d.mts +2 -4
  34. package/dist/platform/workerd.mjs +1 -2
  35. package/dist/requestOptions.types-DWrTcbss.d.mts +38 -0
  36. package/dist/rolldown-runtime-ad2WFvuA.mjs +17 -0
  37. package/dist/{sensitiveFileUploadPaths-BaEORC7-.mjs → sensitiveFileUploadPaths-CSyJ3Ku8.mjs} +22 -12
  38. package/dist/{ssrfGuard.node-BZ270bcu.mjs → ssrfGuard.node-CdIkwqVu.mjs} +3 -5
  39. package/dist/{types-CaP2SytR.d.mts → types-DcdZy5Nc.d.mts} +2 -4
  40. package/dist/{types-DuVZKrXO.d.mts → types-Ds6XbK1m.d.mts} +0 -2
  41. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +2 -4
  42. package/dist/utils/config-defaults/ConfigDefaults.node.mjs +1 -2
  43. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +2 -4
  44. package/dist/utils/config-defaults/ConfigDefaults.workerd.mjs +1 -2
  45. package/dist/utils/modifiers/FileToolModifier.node.d.mts +2 -4
  46. package/dist/utils/modifiers/FileToolModifier.node.mjs +7 -8
  47. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +2 -4
  48. package/dist/utils/modifiers/FileToolModifier.workerd.mjs +2 -3
  49. package/dist/utils/ssrfGuard.node.d.mts +1 -3
  50. package/dist/utils/ssrfGuard.node.mjs +1 -1
  51. package/dist/utils/ssrfGuard.workerd.d.mts +1 -3
  52. package/dist/utils/ssrfGuard.workerd.mjs +2 -3
  53. package/docs/error-consistency.md +3 -3
  54. package/package.json +12 -13
  55. package/src/composio.ts +12 -0
  56. package/src/errors/ComposioError.ts +40 -16
  57. package/src/errors/ConnectedAccountsErrors.ts +2 -2
  58. package/src/errors/ToolErrors.ts +107 -30
  59. package/src/errors/apiErrorDetails.ts +40 -0
  60. package/src/models/AuthConfigs.ts +9 -0
  61. package/src/models/ConnectionRequest.ts +12 -4
  62. package/src/models/CustomToolkits.ts +11 -17
  63. package/src/models/Experimental.ts +2 -7
  64. package/src/models/Files.node.ts +68 -37
  65. package/src/models/MCP.ts +2 -2
  66. package/src/models/RemoteFile.ts +22 -16
  67. package/src/models/SessionContext.ts +6 -7
  68. package/src/models/ToolRouterSession.ts +16 -23
  69. package/src/models/Tools.ts +220 -22
  70. package/src/models/Triggers.ts +8 -2
  71. package/src/types/authConfigs.types.ts +14 -0
  72. package/src/types/customToolkits.types.ts +4 -9
  73. package/src/types/tool.types.ts +1 -1
  74. package/src/types/toolkit.types.ts +21 -0
  75. package/src/utils/cancellation.ts +5 -1
  76. package/src/utils/transformers/authConfigs.ts +6 -2
  77. package/src/utils/transformers/toolkits.ts +7 -0
  78. package/dist/FileModifierErrors-CdGSABoq.mjs +0 -97
  79. package/dist/rolldown-runtime-w6R9maHv.mjs +0 -18
  80. package/src/models/inlineCustomToolsPayload.ts +0 -17
@@ -1,15 +1,15 @@
1
- import { $a as ToolExecuteResponse, Dr as UpdateConnectedAccountAclParams, Ei as McpServerGetResponse, Fi as ExecuteToolFnOptions, Hn as ConnectedAccountCompleteAuthParams, J as ToolRouterCreateSessionConfig, Ja as Tool, Mr as BaseComposioProvider, Na as ProviderOptions, Nn as ComposioRequestOptions, Nr as BaseNonAgenticProvider, P as Session, Pa as SessionExecuteMetaModifiers, Pn as ConnectionRequest, Qn as ConnectedAccountListResponse, S as LocalTool, St as ToolRouterSessionDeleteResponse, Wn as ConnectedAccountCompleteAuthResponse, Xn as ConnectedAccountListParams, Ya as ToolExecuteMetaParams, Za as ToolExecuteParams, ar as ConnectedAccountRevokeResponse, br as CreateConnectedAccountOptions, co as ToolRetrievalOptions, gr as CreateConnectedAccountLinkOptions, ho as ToolkitVersionParam, ja as ExecuteToolModifiers, ji as McpUrlResponse, kr as UpdateConnectedAccountParams, no as ToolListParams, oo as ToolProxyParams, qa as SchemaModifierOptions, rr as ConnectedAccountRetrieveResponse, to as ToolList, tr as ConnectedAccountRefreshOptions, w as LocalToolkit, z as SessionWithoutMcp, zi as ToolCallSession } from "./customTool.types-B9fs34dv.mjs";
2
- import ComposioClient, { Composio } from "@composio/client";
1
+ import { Aa as ExecuteToolModifiers, Ai as McpUrlResponse, Er as UpdateConnectedAccountAclParams, J as ToolRouterCreateSessionConfig, Ja as ToolExecuteMetaParams, Ka as SchemaModifierOptions, Ma as ProviderOptions, Mr as BaseNonAgenticProvider, Na as SessionExecuteMetaModifiers, Nn as ConnectionRequest, Or as UpdateConnectedAccountParams, P as Session, Pi as ExecuteToolFnOptions, Qa as ToolExecuteResponse, Ri as ToolCallSession, S as LocalTool, St as ToolRouterSessionDeleteResponse, Ti as McpServerGetResponse, Un as ConnectedAccountCompleteAuthResponse, Vn as ConnectedAccountCompleteAuthParams, Xa as ToolExecuteParams, Yn as ConnectedAccountListParams, Zn as ConnectedAccountListResponse, ao as ToolProxyParams, eo as ToolList, er as ConnectedAccountRefreshOptions, hr as CreateConnectedAccountLinkOptions, ir as ConnectedAccountRevokeResponse, jr as BaseComposioProvider, mo as ToolkitVersionParam, nr as ConnectedAccountRetrieveResponse, qa as Tool, so as ToolRetrievalOptions, to as ToolListParams, w as LocalToolkit, yr as CreateConnectedAccountOptions, z as SessionWithoutMcp } from "./customTool.types-DHxXBU6E.mjs";
2
+ import { t as ComposioRequestOptions } from "./requestOptions.types-DWrTcbss.mjs";
3
+ import ComposioClient, { Composio as Composio$1 } from "@composio/client";
3
4
  import z, { z as z$1 } from "zod/v3";
4
5
  import { Files } from "#files";
5
- import { z as z$2 } from "zod";
6
+ import "zod";
6
7
  import { ConnectedAccountDeleteResponse, ConnectedAccountPatchResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
7
- import { SessionCreateParams, SessionExecuteParams } from "@composio/client/resources/tool-router/session";
8
+ import { SessionExecuteParams } from "@composio/client/resources/tool-router/session";
8
9
  import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
9
10
  import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/triggers-types";
10
11
  import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
11
12
  import { OpenAI } from "openai";
12
- //#region src/models/Tools.d.ts
13
13
  type ToolRouterSessionExecuteOptions = {
14
14
  experimental?: NonNullable<SessionExecuteParams['experimental']>;
15
15
  };
@@ -29,6 +29,8 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
29
29
  * Scoped per-instance so a fresh `Composio` starts with a clean slate.
30
30
  */
31
31
  private readonly warnedAutoUploadDisabledForTool;
32
+ /** Tools whose parameters were dropped by `transformToolCases`; warn once each. */
33
+ private readonly warnedMalformedToolParametersSlugs;
32
34
  /**
33
35
  * Schemas `execute()` already fetched, so repeated executions don't each spend a request.
34
36
  * Holds what `getRawComposioToolBySlug` returned with no `modifySchema`, so a caller's schema
@@ -43,11 +45,18 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
43
45
  * making them more consistent with JavaScript/TypeScript conventions.
44
46
  *
45
47
  * @param {ToolRetrieveResponse | ComposioToolListResponse['items'][0]} tool - The tool object to transform
46
- * @returns {Tool} The transformed tool with camelCase properties
48
+ * @returns {Tool} The transformed tool with camelCase properties, or
49
+ * `undefined` when its input schema is unrepairable and the tool is skipped
47
50
  *
48
51
  * @private
49
52
  */
50
53
  private transformToolCases;
54
+ /**
55
+ * Warn once per tool that its declared parameters could not be parsed and
56
+ * were dropped, so a caller sees why a tool carries no schema instead of a
57
+ * bare TypeError from deep inside Zod.
58
+ */
59
+ private warnMalformedToolParameters;
51
60
  /**
52
61
  * Transforms tool execution response from snake_case API format to camelCase.
53
62
  *
@@ -219,7 +228,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
219
228
  * );
220
229
  *
221
230
  * // Access tool properties
222
- * const githubTool = await composio.tools.getRawComposioToolBySlug('GITHUB_CREATE_ISSUE');
231
+ * const githubTool = await composio.tools.getRawComposioToolBySlug('GITHUB_CREATE_AN_ISSUE');
223
232
  * console.log({
224
233
  * slug: githubTool.slug,
225
234
  * name: githubTool.name,
@@ -475,7 +484,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
475
484
  *
476
485
  * @example
477
486
  * ```typescript
478
- * const { arguments: args, error } = await composio.tools.getInput('GITHUB_CREATE_ISSUE', {
487
+ * const { arguments: args, error } = await composio.tools.getInput('GITHUB_CREATE_AN_ISSUE', {
479
488
  * text: 'Open an issue in composiohq/composio titled "Docs typo" describing the broken link',
480
489
  * version: '20250909_00',
481
490
  * });
@@ -519,8 +528,6 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
519
528
  */
520
529
  proxyExecute(body: ToolProxyParams, requestOptions?: ComposioRequestOptions): Promise<ToolProxyResponse>;
521
530
  }
522
- //#endregion
523
- //#region src/types/toolkit.types.d.ts
524
531
  /**
525
532
  * Toolkit list params
526
533
  */
@@ -1389,6 +1396,51 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
1389
1396
  baseUrl?: string | undefined;
1390
1397
  } | undefined;
1391
1398
  }>;
1399
+ /**
1400
+ * A Composio-managed app for a toolkit. Pass `managedAppId` to
1401
+ * `composio.authConfigs.create` to create an auth config on this app.
1402
+ */
1403
+ declare const ToolkitComposioManagedAuthSchema: z$1.ZodObject<{
1404
+ managedAppId: z$1.ZodString;
1405
+ /** Whether this is the app used when `managedAppId` is omitted. */
1406
+ isDefault: z$1.ZodBoolean;
1407
+ mode: z$1.ZodString;
1408
+ scopes: z$1.ZodObject<{
1409
+ available: z$1.ZodArray<z$1.ZodString, "many">;
1410
+ }, "strip", z$1.ZodTypeAny, {
1411
+ available: string[];
1412
+ }, {
1413
+ available: string[];
1414
+ }>;
1415
+ /** Present only for Slack. */
1416
+ userScopes: z$1.ZodOptional<z$1.ZodObject<{
1417
+ available: z$1.ZodArray<z$1.ZodString, "many">;
1418
+ }, "strip", z$1.ZodTypeAny, {
1419
+ available: string[];
1420
+ }, {
1421
+ available: string[];
1422
+ }>>;
1423
+ }, "strip", z$1.ZodTypeAny, {
1424
+ scopes: {
1425
+ available: string[];
1426
+ };
1427
+ mode: string;
1428
+ managedAppId: string;
1429
+ isDefault: boolean;
1430
+ userScopes?: {
1431
+ available: string[];
1432
+ } | undefined;
1433
+ }, {
1434
+ scopes: {
1435
+ available: string[];
1436
+ };
1437
+ mode: string;
1438
+ managedAppId: string;
1439
+ isDefault: boolean;
1440
+ userScopes?: {
1441
+ available: string[];
1442
+ } | undefined;
1443
+ }>;
1392
1444
  declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1393
1445
  name: z$1.ZodString;
1394
1446
  slug: z$1.ZodString;
@@ -1440,6 +1492,48 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1440
1492
  }>;
1441
1493
  isLocalToolkit: z$1.ZodBoolean;
1442
1494
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
1495
+ /** One entry per Composio-managed app, the default first. */
1496
+ composioManagedAuth: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1497
+ managedAppId: z$1.ZodString;
1498
+ /** Whether this is the app used when `managedAppId` is omitted. */
1499
+ isDefault: z$1.ZodBoolean;
1500
+ mode: z$1.ZodString;
1501
+ scopes: z$1.ZodObject<{
1502
+ available: z$1.ZodArray<z$1.ZodString, "many">;
1503
+ }, "strip", z$1.ZodTypeAny, {
1504
+ available: string[];
1505
+ }, {
1506
+ available: string[];
1507
+ }>;
1508
+ /** Present only for Slack. */
1509
+ userScopes: z$1.ZodOptional<z$1.ZodObject<{
1510
+ available: z$1.ZodArray<z$1.ZodString, "many">;
1511
+ }, "strip", z$1.ZodTypeAny, {
1512
+ available: string[];
1513
+ }, {
1514
+ available: string[];
1515
+ }>>;
1516
+ }, "strip", z$1.ZodTypeAny, {
1517
+ scopes: {
1518
+ available: string[];
1519
+ };
1520
+ mode: string;
1521
+ managedAppId: string;
1522
+ isDefault: boolean;
1523
+ userScopes?: {
1524
+ available: string[];
1525
+ } | undefined;
1526
+ }, {
1527
+ scopes: {
1528
+ available: string[];
1529
+ };
1530
+ mode: string;
1531
+ managedAppId: string;
1532
+ isDefault: boolean;
1533
+ userScopes?: {
1534
+ available: string[];
1535
+ } | undefined;
1536
+ }>, "many">>;
1443
1537
  authConfigDetails: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1444
1538
  name: z$1.ZodString;
1445
1539
  mode: z$1.ZodString;
@@ -1985,6 +2079,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
1985
2079
  isLocalToolkit: boolean;
1986
2080
  composioManagedAuthSchemes?: string[] | undefined;
1987
2081
  baseUrl?: string | undefined;
2082
+ composioManagedAuth?: {
2083
+ scopes: {
2084
+ available: string[];
2085
+ };
2086
+ mode: string;
2087
+ managedAppId: string;
2088
+ isDefault: boolean;
2089
+ userScopes?: {
2090
+ available: string[];
2091
+ } | undefined;
2092
+ }[] | undefined;
1988
2093
  authConfigDetails?: {
1989
2094
  name: string;
1990
2095
  mode: string;
@@ -2066,6 +2171,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2066
2171
  isLocalToolkit: boolean;
2067
2172
  composioManagedAuthSchemes?: string[] | undefined;
2068
2173
  baseUrl?: string | undefined;
2174
+ composioManagedAuth?: {
2175
+ scopes: {
2176
+ available: string[];
2177
+ };
2178
+ mode: string;
2179
+ managedAppId: string;
2180
+ isDefault: boolean;
2181
+ userScopes?: {
2182
+ available: string[];
2183
+ } | undefined;
2184
+ }[] | undefined;
2069
2185
  authConfigDetails?: {
2070
2186
  name: string;
2071
2187
  mode: string;
@@ -2130,6 +2246,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
2130
2246
  }>;
2131
2247
  type ToolkitAuthField = z$1.infer<typeof ToolkitAuthFieldSchema>;
2132
2248
  type ToolkitAuthConfigDetails = z$1.infer<typeof ToolkitAuthConfigDetailsSchema>;
2249
+ type ToolkitComposioManagedAuth = z$1.infer<typeof ToolkitComposioManagedAuthSchema>;
2133
2250
  type ToolkitRetrieveResponse = z$1.infer<typeof ToolkitRetrieveResponseSchema>;
2134
2251
  /**
2135
2252
  * Toolkit categories response
@@ -2302,18 +2419,18 @@ declare const ToolkitRecommendScopesParamsSchema: z$1.ZodObject<{
2302
2419
  }, "strip", z$1.ZodTypeAny, {
2303
2420
  tools: string[];
2304
2421
  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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
2305
- exclude?: string[] | undefined;
2306
2422
  toolkitVersion?: string | undefined;
2307
2423
  grantContext?: Record<string, string> | undefined;
2308
2424
  include?: string[] | undefined;
2425
+ exclude?: string[] | undefined;
2309
2426
  availableScopes?: string[] | undefined;
2310
2427
  }, {
2311
2428
  tools: string[];
2312
2429
  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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
2313
- exclude?: string[] | undefined;
2314
2430
  toolkitVersion?: string | undefined;
2315
2431
  grantContext?: Record<string, string> | undefined;
2316
2432
  include?: string[] | undefined;
2433
+ exclude?: string[] | undefined;
2317
2434
  availableScopes?: string[] | undefined;
2318
2435
  }>;
2319
2436
  type ToolkitRecommendScopesParams = z$1.infer<typeof ToolkitRecommendScopesParamsSchema>;
@@ -2530,8 +2647,6 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
2530
2647
  userVisible?: boolean | undefined;
2531
2648
  }>, "many">;
2532
2649
  type ToolkitAuthFieldsResponse = z$1.infer<typeof ToolkitAuthFieldsResponseSchema>;
2533
- //#endregion
2534
- //#region src/types/authConfigs.types.d.ts
2535
2650
  declare const AuthConfigTypes: {
2536
2651
  readonly CUSTOM: "use_custom_auth";
2537
2652
  readonly COMPOSIO_MANAGED: "use_composio_managed_auth";
@@ -2644,9 +2759,15 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
2644
2759
  toolsForConnectedAccountCreation?: string[] | undefined;
2645
2760
  }>>;
2646
2761
  isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2762
+ /**
2763
+ * The Composio-managed app to use, as `composioManagedAuth[].managedAppId`
2764
+ * from `composio.toolkits.get(slug)`. Omit to use the toolkit's default app.
2765
+ */
2766
+ managedAppId: z$1.ZodOptional<z$1.ZodString>;
2647
2767
  }, "strip", z$1.ZodTypeAny, {
2648
2768
  type: "use_composio_managed_auth";
2649
2769
  name?: string | undefined;
2770
+ managedAppId?: string | undefined;
2650
2771
  credentials?: z$1.objectOutputType<{
2651
2772
  scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2652
2773
  user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
@@ -2658,6 +2779,7 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
2658
2779
  }, {
2659
2780
  type: "use_composio_managed_auth";
2660
2781
  name?: string | undefined;
2782
+ managedAppId?: string | undefined;
2661
2783
  credentials?: z$1.objectInputType<{
2662
2784
  scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2663
2785
  user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
@@ -2740,9 +2862,15 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
2740
2862
  toolsForConnectedAccountCreation?: string[] | undefined;
2741
2863
  }>>;
2742
2864
  isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
2865
+ /**
2866
+ * The Composio-managed app to use, as `composioManagedAuth[].managedAppId`
2867
+ * from `composio.toolkits.get(slug)`. Omit to use the toolkit's default app.
2868
+ */
2869
+ managedAppId: z$1.ZodOptional<z$1.ZodString>;
2743
2870
  }, "strip", z$1.ZodTypeAny, {
2744
2871
  type: "use_composio_managed_auth";
2745
2872
  name?: string | undefined;
2873
+ managedAppId?: string | undefined;
2746
2874
  credentials?: z$1.objectOutputType<{
2747
2875
  scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2748
2876
  user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
@@ -2754,6 +2882,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
2754
2882
  }, {
2755
2883
  type: "use_composio_managed_auth";
2756
2884
  name?: string | undefined;
2885
+ managedAppId?: string | undefined;
2757
2886
  credentials?: z$1.objectInputType<{
2758
2887
  scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
2759
2888
  user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
@@ -2769,16 +2898,19 @@ declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
2769
2898
  authScheme: z$1.ZodString;
2770
2899
  isComposioManaged: z$1.ZodBoolean;
2771
2900
  toolkit: z$1.ZodString;
2901
+ managedAppId: z$1.ZodNullable<z$1.ZodString>;
2772
2902
  }, "strip", z$1.ZodTypeAny, {
2773
2903
  toolkit: string;
2774
2904
  authScheme: string;
2775
2905
  id: string;
2776
2906
  isComposioManaged: boolean;
2907
+ managedAppId: string | null;
2777
2908
  }, {
2778
2909
  toolkit: string;
2779
2910
  authScheme: string;
2780
2911
  id: string;
2781
2912
  isComposioManaged: boolean;
2913
+ managedAppId: string | null;
2782
2914
  }>;
2783
2915
  type CreateAuthConfigResponse = z$1.infer<typeof CreateAuthConfigResponseSchema>;
2784
2916
  declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
@@ -2818,6 +2950,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
2818
2950
  toolsForConnectedAccountCreation?: string[] | undefined;
2819
2951
  toolsAvailableForExecution?: string[] | undefined;
2820
2952
  }>>;
2953
+ managedAppId: z$1.ZodNullable<z$1.ZodString>;
2821
2954
  }, "strip", z$1.ZodTypeAny, {
2822
2955
  name: string;
2823
2956
  status: "ENABLED" | "DISABLED";
@@ -2826,10 +2959,11 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
2826
2959
  logo: string;
2827
2960
  };
2828
2961
  id: string;
2962
+ managedAppId: string | null;
2829
2963
  noOfConnections: number;
2830
2964
  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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
2831
- createdAt?: string | undefined;
2832
2965
  isComposioManaged?: boolean | undefined;
2966
+ createdAt?: string | undefined;
2833
2967
  credentials?: Record<string, unknown> | undefined;
2834
2968
  toolAccessConfig?: {
2835
2969
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2848,10 +2982,11 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
2848
2982
  logo: string;
2849
2983
  };
2850
2984
  id: string;
2985
+ managedAppId: string | null;
2851
2986
  noOfConnections: number;
2852
2987
  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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
2853
- createdAt?: string | undefined;
2854
2988
  isComposioManaged?: boolean | undefined;
2989
+ createdAt?: string | undefined;
2855
2990
  credentials?: Record<string, unknown> | undefined;
2856
2991
  toolAccessConfig?: {
2857
2992
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2925,6 +3060,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2925
3060
  toolsForConnectedAccountCreation?: string[] | undefined;
2926
3061
  toolsAvailableForExecution?: string[] | undefined;
2927
3062
  }>>;
3063
+ managedAppId: z$1.ZodNullable<z$1.ZodString>;
2928
3064
  }, "strip", z$1.ZodTypeAny, {
2929
3065
  name: string;
2930
3066
  status: "ENABLED" | "DISABLED";
@@ -2933,10 +3069,11 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2933
3069
  logo: string;
2934
3070
  };
2935
3071
  id: string;
3072
+ managedAppId: string | null;
2936
3073
  noOfConnections: number;
2937
3074
  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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
2938
- createdAt?: string | undefined;
2939
3075
  isComposioManaged?: boolean | undefined;
3076
+ createdAt?: string | undefined;
2940
3077
  credentials?: Record<string, unknown> | undefined;
2941
3078
  toolAccessConfig?: {
2942
3079
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2955,10 +3092,11 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2955
3092
  logo: string;
2956
3093
  };
2957
3094
  id: string;
3095
+ managedAppId: string | null;
2958
3096
  noOfConnections: number;
2959
3097
  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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
2960
- createdAt?: string | undefined;
2961
3098
  isComposioManaged?: boolean | undefined;
3099
+ createdAt?: string | undefined;
2962
3100
  credentials?: Record<string, unknown> | undefined;
2963
3101
  toolAccessConfig?: {
2964
3102
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -2981,10 +3119,11 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
2981
3119
  logo: string;
2982
3120
  };
2983
3121
  id: string;
3122
+ managedAppId: string | null;
2984
3123
  noOfConnections: number;
2985
3124
  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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
2986
- createdAt?: string | undefined;
2987
3125
  isComposioManaged?: boolean | undefined;
3126
+ createdAt?: string | undefined;
2988
3127
  credentials?: Record<string, unknown> | undefined;
2989
3128
  toolAccessConfig?: {
2990
3129
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -3007,10 +3146,11 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
3007
3146
  logo: string;
3008
3147
  };
3009
3148
  id: string;
3149
+ managedAppId: string | null;
3010
3150
  noOfConnections: number;
3011
3151
  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" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
3012
- createdAt?: string | undefined;
3013
3152
  isComposioManaged?: boolean | undefined;
3153
+ createdAt?: string | undefined;
3014
3154
  credentials?: Record<string, unknown> | undefined;
3015
3155
  toolAccessConfig?: {
3016
3156
  toolsForConnectedAccountCreation?: string[] | undefined;
@@ -3204,8 +3344,6 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
3204
3344
  restrictToFollowingTools?: string[] | undefined;
3205
3345
  }>]>;
3206
3346
  type AuthConfigUpdateParams = z$1.infer<typeof AuthConfigUpdateParamsSchema>;
3207
- //#endregion
3208
- //#region src/models/Toolkits.d.ts
3209
3347
  /**
3210
3348
  * Toolkits class
3211
3349
  *
@@ -3413,8 +3551,6 @@ declare class Toolkits {
3413
3551
  */
3414
3552
  authorize(userId: string, toolkitSlug: string, authConfigId?: string, requestOptions?: ComposioRequestOptions): Promise<ConnectionRequest>;
3415
3553
  }
3416
- //#endregion
3417
- //#region src/types/triggers.types.d.ts
3418
3554
  declare const TriggerStatuses: {
3419
3555
  readonly ENABLE: "enable";
3420
3556
  readonly DISABLE: "disable";
@@ -3433,16 +3569,16 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
3433
3569
  toolkits?: string[] | undefined;
3434
3570
  connectedAccountId?: string | undefined;
3435
3571
  userId?: string | undefined;
3436
- authConfigId?: string | undefined;
3437
3572
  triggerId?: string | undefined;
3573
+ authConfigId?: string | undefined;
3438
3574
  triggerSlug?: string[] | undefined;
3439
3575
  triggerData?: string | undefined;
3440
3576
  }, {
3441
3577
  toolkits?: string[] | undefined;
3442
3578
  connectedAccountId?: string | undefined;
3443
3579
  userId?: string | undefined;
3444
- authConfigId?: string | undefined;
3445
3580
  triggerId?: string | undefined;
3581
+ authConfigId?: string | undefined;
3446
3582
  triggerSlug?: string[] | undefined;
3447
3583
  triggerData?: string | undefined;
3448
3584
  }>;
@@ -3458,16 +3594,16 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
3458
3594
  }, "strip", z$1.ZodTypeAny, {
3459
3595
  limit?: number | undefined;
3460
3596
  authConfigIds?: string[] | null | undefined;
3461
- connectedAccountIds?: string[] | null | undefined;
3462
3597
  cursor?: string | undefined;
3598
+ connectedAccountIds?: string[] | null | undefined;
3463
3599
  showDisabled?: boolean | null | undefined;
3464
3600
  triggerIds?: string[] | null | undefined;
3465
3601
  triggerNames?: string[] | null | undefined;
3466
3602
  }, {
3467
3603
  limit?: number | undefined;
3468
3604
  authConfigIds?: string[] | null | undefined;
3469
- connectedAccountIds?: string[] | null | undefined;
3470
3605
  cursor?: string | undefined;
3606
+ connectedAccountIds?: string[] | null | undefined;
3471
3607
  showDisabled?: boolean | null | undefined;
3472
3608
  triggerIds?: string[] | null | undefined;
3473
3609
  triggerNames?: string[] | null | undefined;
@@ -3632,9 +3768,9 @@ type TriggerInstanceUpsertResponse = z$1.infer<typeof TriggerInstanceUpsertRespo
3632
3768
  declare const TriggerInstanceManageUpdateParamsSchema: z$1.ZodObject<{
3633
3769
  status: z$1.ZodEnum<["enable", "disable"]>;
3634
3770
  }, "strip", z$1.ZodTypeAny, {
3635
- status: "disable" | "enable";
3771
+ status: "enable" | "disable";
3636
3772
  }, {
3637
- status: "disable" | "enable";
3773
+ status: "enable" | "disable";
3638
3774
  }>;
3639
3775
  type TriggerInstanceManageUpdateParams = z$1.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
3640
3776
  declare const TriggerInstanceManageUpdateResponseSchema: z$1.ZodObject<{
@@ -3678,45 +3814,45 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3678
3814
  }, "strip", z$1.ZodTypeAny, {
3679
3815
  status: "ACTIVE" | "INACTIVE";
3680
3816
  userId: string;
3681
- authConfigId: string;
3682
- uuid: string;
3683
3817
  id: string;
3818
+ uuid: string;
3819
+ authConfigId: string;
3684
3820
  authConfigUUID: string;
3685
3821
  }, {
3686
3822
  status: "ACTIVE" | "INACTIVE";
3687
3823
  userId: string;
3688
- authConfigId: string;
3689
- uuid: string;
3690
3824
  id: string;
3825
+ uuid: string;
3826
+ authConfigId: string;
3691
3827
  authConfigUUID: string;
3692
3828
  }>;
3693
3829
  }, "strip", z$1.ZodTypeAny, {
3694
3830
  toolkitSlug: string;
3695
- uuid: string;
3696
3831
  id: string;
3697
3832
  connectedAccount: {
3698
3833
  status: "ACTIVE" | "INACTIVE";
3699
3834
  userId: string;
3700
- authConfigId: string;
3701
- uuid: string;
3702
3835
  id: string;
3836
+ uuid: string;
3837
+ authConfigId: string;
3703
3838
  authConfigUUID: string;
3704
3839
  };
3840
+ uuid: string;
3705
3841
  triggerSlug: string;
3706
3842
  triggerConfig: Record<string, unknown>;
3707
3843
  triggerData?: string | undefined;
3708
3844
  }, {
3709
3845
  toolkitSlug: string;
3710
- uuid: string;
3711
3846
  id: string;
3712
3847
  connectedAccount: {
3713
3848
  status: "ACTIVE" | "INACTIVE";
3714
3849
  userId: string;
3715
- authConfigId: string;
3716
- uuid: string;
3717
3850
  id: string;
3851
+ uuid: string;
3852
+ authConfigId: string;
3718
3853
  authConfigUUID: string;
3719
3854
  };
3855
+ uuid: string;
3720
3856
  triggerSlug: string;
3721
3857
  triggerConfig: Record<string, unknown>;
3722
3858
  triggerData?: string | undefined;
@@ -3724,21 +3860,21 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3724
3860
  }, "strip", z$1.ZodTypeAny, {
3725
3861
  toolkitSlug: string;
3726
3862
  userId: string;
3727
- uuid: string;
3728
3863
  id: string;
3864
+ uuid: string;
3729
3865
  triggerSlug: string;
3730
3866
  metadata: {
3731
3867
  toolkitSlug: string;
3732
- uuid: string;
3733
3868
  id: string;
3734
3869
  connectedAccount: {
3735
3870
  status: "ACTIVE" | "INACTIVE";
3736
3871
  userId: string;
3737
- authConfigId: string;
3738
- uuid: string;
3739
3872
  id: string;
3873
+ uuid: string;
3874
+ authConfigId: string;
3740
3875
  authConfigUUID: string;
3741
3876
  };
3877
+ uuid: string;
3742
3878
  triggerSlug: string;
3743
3879
  triggerConfig: Record<string, unknown>;
3744
3880
  triggerData?: string | undefined;
@@ -3748,21 +3884,21 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
3748
3884
  }, {
3749
3885
  toolkitSlug: string;
3750
3886
  userId: string;
3751
- uuid: string;
3752
3887
  id: string;
3888
+ uuid: string;
3753
3889
  triggerSlug: string;
3754
3890
  metadata: {
3755
3891
  toolkitSlug: string;
3756
- uuid: string;
3757
3892
  id: string;
3758
3893
  connectedAccount: {
3759
3894
  status: "ACTIVE" | "INACTIVE";
3760
3895
  userId: string;
3761
- authConfigId: string;
3762
- uuid: string;
3763
3896
  id: string;
3897
+ uuid: string;
3898
+ authConfigId: string;
3764
3899
  authConfigUUID: string;
3765
3900
  };
3901
+ uuid: string;
3766
3902
  triggerSlug: string;
3767
3903
  triggerConfig: Record<string, unknown>;
3768
3904
  triggerData?: string | undefined;
@@ -3840,8 +3976,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
3840
3976
  name: string;
3841
3977
  logo: string;
3842
3978
  };
3843
- config: Record<string, unknown>;
3844
3979
  payload: Record<string, unknown>;
3980
+ config: Record<string, unknown>;
3845
3981
  types: ("webhook" | "poll")[];
3846
3982
  version?: string | undefined;
3847
3983
  instructions?: string | undefined;
@@ -3856,8 +3992,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
3856
3992
  name: string;
3857
3993
  logo: string;
3858
3994
  };
3859
- config: Record<string, unknown>;
3860
3995
  payload: Record<string, unknown>;
3996
+ config: Record<string, unknown>;
3861
3997
  types: ("webhook" | "poll")[];
3862
3998
  version?: string | undefined;
3863
3999
  instructions?: string | undefined;
@@ -3899,8 +4035,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3899
4035
  name: string;
3900
4036
  logo: string;
3901
4037
  };
3902
- config: Record<string, unknown>;
3903
4038
  payload: Record<string, unknown>;
4039
+ config: Record<string, unknown>;
3904
4040
  types: ("webhook" | "poll")[];
3905
4041
  version?: string | undefined;
3906
4042
  instructions?: string | undefined;
@@ -3915,8 +4051,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3915
4051
  name: string;
3916
4052
  logo: string;
3917
4053
  };
3918
- config: Record<string, unknown>;
3919
4054
  payload: Record<string, unknown>;
4055
+ config: Record<string, unknown>;
3920
4056
  types: ("webhook" | "poll")[];
3921
4057
  version?: string | undefined;
3922
4058
  instructions?: string | undefined;
@@ -3935,8 +4071,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3935
4071
  name: string;
3936
4072
  logo: string;
3937
4073
  };
3938
- config: Record<string, unknown>;
3939
4074
  payload: Record<string, unknown>;
4075
+ config: Record<string, unknown>;
3940
4076
  types: ("webhook" | "poll")[];
3941
4077
  version?: string | undefined;
3942
4078
  instructions?: string | undefined;
@@ -3955,8 +4091,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
3955
4091
  name: string;
3956
4092
  logo: string;
3957
4093
  };
3958
- config: Record<string, unknown>;
3959
4094
  payload: Record<string, unknown>;
4095
+ config: Record<string, unknown>;
3960
4096
  types: ("webhook" | "poll")[];
3961
4097
  version?: string | undefined;
3962
4098
  instructions?: string | undefined;
@@ -4354,8 +4490,6 @@ type VerifyWebhookResult = {
4354
4490
  /** The raw parsed payload before normalization */
4355
4491
  rawPayload: WebhookPayload;
4356
4492
  };
4357
- //#endregion
4358
- //#region src/models/Triggers.d.ts
4359
4493
  /**
4360
4494
  * Trigger (Instance) class
4361
4495
  * /api/v3/trigger_instances
@@ -4677,8 +4811,6 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
4677
4811
  */
4678
4812
  private validateWebhookTimestamp;
4679
4813
  }
4680
- //#endregion
4681
- //#region src/models/AuthConfigs.d.ts
4682
4814
  /**
4683
4815
  * AuthConfigs class
4684
4816
  *
@@ -4728,6 +4860,14 @@ declare class AuthConfigs {
4728
4860
  * @returns {Promise<CreateAuthConfigResponse>} Created auth config
4729
4861
  *
4730
4862
  * @example
4863
+ * // Use a specific Composio-managed app; omit managedAppId for the toolkit's default
4864
+ * const { composioManagedAuth } = await composio.toolkits.get('slack');
4865
+ * const slackAuthConfig = await authConfigs.create('slack', {
4866
+ * type: AuthConfigTypes.COMPOSIO_MANAGED,
4867
+ * managedAppId: composioManagedAuth?.find(app => !app.isDefault)?.managedAppId,
4868
+ * });
4869
+ *
4870
+ * @example
4731
4871
  * const authConfig = await authConfigs.create('my-toolkit', {
4732
4872
  * type: AuthConfigTypes.CUSTOM,
4733
4873
  * name: 'My Custom Auth Config',
@@ -4868,8 +5008,6 @@ declare class AuthConfigs {
4868
5008
  */
4869
5009
  disable(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<AuthConfigUpdateStatusResponse>;
4870
5010
  }
4871
- //#endregion
4872
- //#region src/models/ConnectedAccounts.d.ts
4873
5011
  /**
4874
5012
  * ConnectedAccounts class
4875
5013
  *
@@ -5239,8 +5377,6 @@ declare class ConnectedAccounts {
5239
5377
  */
5240
5378
  update(nanoid: string, params: UpdateConnectedAccountParams, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
5241
5379
  }
5242
- //#endregion
5243
- //#region src/types/usage.types.d.ts
5244
5380
  /**
5245
5381
  * Filters shared by the usage summary and breakdown queries.
5246
5382
  * **Experimental — shape may change in future releases.**
@@ -5455,8 +5591,6 @@ declare const UsageBreakdownResponseSchema: z$1.ZodObject<{
5455
5591
  }[];
5456
5592
  }>;
5457
5593
  type UsageBreakdownResponse = z$1.infer<typeof UsageBreakdownResponseSchema>;
5458
- //#endregion
5459
- //#region src/models/Usage.d.ts
5460
5594
  /**
5461
5595
  * `composio.experimental.usage` — metering for the project the API key
5462
5596
  * belongs to. **Experimental — shape may change in future releases.**
@@ -5512,8 +5646,6 @@ declare class Usage {
5512
5646
  */
5513
5647
  breakdown(entityType: string, params?: UsageBreakdownParams, requestOptions?: ComposioRequestOptions): Promise<UsageBreakdownResponse>;
5514
5648
  }
5515
- //#endregion
5516
- //#region src/types/customToolkits.types.d.ts
5517
5649
  declare const CustomToolkitApiKeyFieldSchema: z$1.ZodObject<{
5518
5650
  displayName: z$1.ZodOptional<z$1.ZodString>;
5519
5651
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -5527,7 +5659,6 @@ declare const CustomToolkitApiKeyFieldSchema: z$1.ZodObject<{
5527
5659
  type CustomToolkitApiKeyField = z$1.infer<typeof CustomToolkitApiKeyFieldSchema>;
5528
5660
  /**
5529
5661
  * How end users authenticate to a custom toolkit.
5530
- * **Experimental — custom toolkits are in pilot; shape may change.**
5531
5662
  */
5532
5663
  declare const CustomToolkitAuthSchemeSchema: z$1.ZodDiscriminatedUnion<"mode", [z$1.ZodObject<{
5533
5664
  mode: z$1.ZodLiteral<"NO_AUTH">;
@@ -5630,8 +5761,7 @@ declare const CustomToolkitLogoFileSchema: z$1.ZodObject<{
5630
5761
  }>;
5631
5762
  type CustomToolkitLogoFile = z$1.infer<typeof CustomToolkitLogoFileSchema>;
5632
5763
  /**
5633
- * Params for `composio.experimental.customToolkits.create()`.
5634
- * **Experimental — custom toolkits are in pilot; shape may change.**
5764
+ * Params for `composio.customToolkits.create()`.
5635
5765
  */
5636
5766
  declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
5637
5767
  /** Human-readable toolkit name. */
@@ -5748,7 +5878,6 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
5748
5878
  }, "strip", z$1.ZodTypeAny, {
5749
5879
  name: string;
5750
5880
  userId: string;
5751
- mcpUrl: string;
5752
5881
  authSchemes: ({
5753
5882
  mode: "NO_AUTH";
5754
5883
  } | {
@@ -5768,6 +5897,7 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
5768
5897
  mode: "DCR_OAUTH";
5769
5898
  discoveryUrl: string;
5770
5899
  })[];
5900
+ mcpUrl: string;
5771
5901
  callbackUrl?: string | undefined;
5772
5902
  logoFile?: {
5773
5903
  content: string;
@@ -5776,7 +5906,6 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
5776
5906
  }, {
5777
5907
  name: string;
5778
5908
  userId: string;
5779
- mcpUrl: string;
5780
5909
  authSchemes: ({
5781
5910
  mode: "NO_AUTH";
5782
5911
  } | {
@@ -5796,6 +5925,7 @@ declare const CustomToolkitCreateParamsSchema: z$1.ZodObject<{
5796
5925
  mode: "DCR_OAUTH";
5797
5926
  discoveryUrl: string;
5798
5927
  })[];
5928
+ mcpUrl: string;
5799
5929
  callbackUrl?: string | undefined;
5800
5930
  logoFile?: {
5801
5931
  content: string;
@@ -5840,8 +5970,7 @@ declare const CustomToolkitCreateResponseSchema: z$1.ZodObject<{
5840
5970
  }>;
5841
5971
  type CustomToolkitCreateResponse = z$1.infer<typeof CustomToolkitCreateResponseSchema>;
5842
5972
  /**
5843
- * Params for `composio.experimental.customToolkits.update()`.
5844
- * **Experimental — custom toolkits are in pilot; shape may change.**
5973
+ * Params for `composio.customToolkits.update()`.
5845
5974
  */
5846
5975
  declare const CustomToolkitUpdateParamsSchema: z$1.ZodEffects<z$1.ZodObject<{
5847
5976
  name: z$1.ZodOptional<z$1.ZodString>;
@@ -5926,8 +6055,7 @@ declare const CustomToolkitUpdateResponseSchema: z$1.ZodObject<{
5926
6055
  }>;
5927
6056
  type CustomToolkitUpdateResponse = z$1.infer<typeof CustomToolkitUpdateResponseSchema>;
5928
6057
  /**
5929
- * Params for `composio.experimental.customToolkits.upsert()`.
5930
- * **Experimental — custom toolkits are in pilot; shape may change.**
6058
+ * Params for `composio.customToolkits.upsert()`.
5931
6059
  *
5932
6060
  * @deprecated Use `CustomToolkitCreateParams` with `create()`.
5933
6061
  */
@@ -6044,7 +6172,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
6044
6172
  }>]>, "many">;
6045
6173
  }, "strip", z$1.ZodTypeAny, {
6046
6174
  name: string;
6047
- mcpUrl: string;
6048
6175
  authSchemes: ({
6049
6176
  mode: "NO_AUTH";
6050
6177
  } | {
@@ -6064,13 +6191,13 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
6064
6191
  mode: "DCR_OAUTH";
6065
6192
  discoveryUrl: string;
6066
6193
  })[];
6194
+ mcpUrl: string;
6067
6195
  logoFile?: {
6068
6196
  content: string;
6069
6197
  mimeType: "image/png" | "image/jpeg";
6070
6198
  } | undefined;
6071
6199
  }, {
6072
6200
  name: string;
6073
- mcpUrl: string;
6074
6201
  authSchemes: ({
6075
6202
  mode: "NO_AUTH";
6076
6203
  } | {
@@ -6090,6 +6217,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
6090
6217
  mode: "DCR_OAUTH";
6091
6218
  discoveryUrl: string;
6092
6219
  })[];
6220
+ mcpUrl: string;
6093
6221
  logoFile?: {
6094
6222
  content: string;
6095
6223
  mimeType: "image/png" | "image/jpeg";
@@ -6099,7 +6227,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
6099
6227
  slug: string;
6100
6228
  toolkitConfig: {
6101
6229
  name: string;
6102
- mcpUrl: string;
6103
6230
  authSchemes: ({
6104
6231
  mode: "NO_AUTH";
6105
6232
  } | {
@@ -6119,6 +6246,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
6119
6246
  mode: "DCR_OAUTH";
6120
6247
  discoveryUrl: string;
6121
6248
  })[];
6249
+ mcpUrl: string;
6122
6250
  logoFile?: {
6123
6251
  content: string;
6124
6252
  mimeType: "image/png" | "image/jpeg";
@@ -6128,7 +6256,6 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
6128
6256
  slug: string;
6129
6257
  toolkitConfig: {
6130
6258
  name: string;
6131
- mcpUrl: string;
6132
6259
  authSchemes: ({
6133
6260
  mode: "NO_AUTH";
6134
6261
  } | {
@@ -6148,6 +6275,7 @@ declare const CustomToolkitUpsertParamsSchema: z$1.ZodObject<{
6148
6275
  mode: "DCR_OAUTH";
6149
6276
  discoveryUrl: string;
6150
6277
  })[];
6278
+ mcpUrl: string;
6151
6279
  logoFile?: {
6152
6280
  content: string;
6153
6281
  mimeType: "image/png" | "image/jpeg";
@@ -6165,8 +6293,7 @@ declare const CustomToolkitUpsertResponseSchema: z$1.ZodObject<{
6165
6293
  }>;
6166
6294
  type CustomToolkitUpsertResponse = z$1.infer<typeof CustomToolkitUpsertResponseSchema>;
6167
6295
  /**
6168
- * Params for `composio.experimental.customToolkits.sync()`.
6169
- * **Experimental — custom toolkits are in pilot; shape may change.**
6296
+ * Params for `composio.customToolkits.sync()`.
6170
6297
  */
6171
6298
  declare const CustomToolkitSyncParamsSchema: z$1.ZodObject<{
6172
6299
  /** Connected account to use when fetching the remote tool definitions. */
@@ -6215,12 +6342,10 @@ declare const CustomToolkitDeleteResponseSchema: z$1.ZodObject<{
6215
6342
  connectedAccountsDeleted: number;
6216
6343
  }>;
6217
6344
  type CustomToolkitDeleteResponse = z$1.infer<typeof CustomToolkitDeleteResponseSchema>;
6218
- //#endregion
6219
- //#region src/models/CustomToolkits.d.ts
6220
6345
  /**
6221
- * `composio.experimental.customToolkits` — toolkits your project registers
6346
+ * `composio.customToolkits` — toolkits your project registers
6222
6347
  * from its own app or MCP server, with their own auth configs and connected
6223
- * accounts. **Experimental — custom toolkits are in pilot; shape may change.**
6348
+ * accounts.
6224
6349
  *
6225
6350
  * These live on the Composio platform. They are unrelated to the in-process
6226
6351
  * toolkits built with `experimental_createToolkit()`, which run inside your
@@ -6228,13 +6353,13 @@ type CustomToolkitDeleteResponse = z$1.infer<typeof CustomToolkitDeleteResponseS
6228
6353
  *
6229
6354
  * @example
6230
6355
  * ```typescript
6231
- * const { slug } = await composio.experimental.customToolkits.create({
6356
+ * const { slug } = await composio.customToolkits.create({
6232
6357
  * name: 'My Toolkit',
6233
6358
  * mcpUrl: 'https://mcp.example.com/mcp',
6234
6359
  * authSchemes: [{ mode: 'DCR_OAUTH', discoveryUrl: 'https://mcp.example.com/.well-known/oauth-authorization-server' }],
6235
6360
  * userId: 'all',
6236
6361
  * });
6237
- * await composio.experimental.customToolkits.update(slug, { name: 'My Renamed Toolkit' });
6362
+ * await composio.customToolkits.update(slug, { name: 'My Renamed Toolkit' });
6238
6363
  * ```
6239
6364
  */
6240
6365
  declare class CustomToolkits {
@@ -6242,7 +6367,6 @@ declare class CustomToolkits {
6242
6367
  constructor(client: ComposioClient);
6243
6368
  /**
6244
6369
  * Creates a custom MCP toolkit and returns its generated slug.
6245
- * **Experimental — custom toolkits are in pilot; shape may change.**
6246
6370
  *
6247
6371
  * Set `userId` to `'all'` to share the toolkit with every user in the
6248
6372
  * project, or to a user ID to make it private to that user. `mcpUrl`,
@@ -6256,7 +6380,7 @@ declare class CustomToolkits {
6256
6380
  *
6257
6381
  * @example
6258
6382
  * ```typescript
6259
- * const { slug, connectLink } = await composio.experimental.customToolkits.create({
6383
+ * const { slug, connectLink } = await composio.customToolkits.create({
6260
6384
  * name: 'Internal API',
6261
6385
  * mcpUrl: 'https://mcp.internal.example.com/mcp',
6262
6386
  * authSchemes: [
@@ -6270,7 +6394,6 @@ declare class CustomToolkits {
6270
6394
  /**
6271
6395
  * Updates a custom toolkit's name, logo or API key field copy. Omitted
6272
6396
  * fields keep their current value.
6273
- * **Experimental — custom toolkits are in pilot; shape may change.**
6274
6397
  *
6275
6398
  * On a project with 2FA enabled, updating a private toolkit requires the
6276
6399
  * `userId` it is private to.
@@ -6282,7 +6405,7 @@ declare class CustomToolkits {
6282
6405
  *
6283
6406
  * @example
6284
6407
  * ```typescript
6285
- * await composio.experimental.customToolkits.update('CUSTOM_INTERNAL_API_K7F2Q', {
6408
+ * await composio.customToolkits.update('CUSTOM_INTERNAL_API_K7F2Q', {
6286
6409
  * name: 'Internal API (prod)',
6287
6410
  * userId: 'user_123',
6288
6411
  * });
@@ -6292,7 +6415,6 @@ declare class CustomToolkits {
6292
6415
  /**
6293
6416
  * Creates a custom toolkit, or updates its display metadata (name, API key
6294
6417
  * field copy) when the project already owns a toolkit with this slug.
6295
- * **Experimental — custom toolkits are in pilot; shape may change.**
6296
6418
  *
6297
6419
  * `mcpUrl` and `authSchemes` cannot change on an existing toolkit:
6298
6420
  * re-sending them unchanged is a no-op, and changing them fails with a 409.
@@ -6304,7 +6426,7 @@ declare class CustomToolkits {
6304
6426
  *
6305
6427
  * @example
6306
6428
  * ```typescript
6307
- * await composio.experimental.customToolkits.upsert({
6429
+ * await composio.customToolkits.upsert({
6308
6430
  * slug: 'INTERNAL_API',
6309
6431
  * toolkitConfig: {
6310
6432
  * name: 'Internal API',
@@ -6324,7 +6446,6 @@ declare class CustomToolkits {
6324
6446
  /**
6325
6447
  * Re-fetches the tool definitions of a custom toolkit from its remote MCP
6326
6448
  * server. Call it when automatic sync fails or the remote tools change.
6327
- * **Experimental — custom toolkits are in pilot; shape may change.**
6328
6449
  *
6329
6450
  * @param {string} slug - The custom toolkit slug (`CUSTOM_...`)
6330
6451
  * @param {CustomToolkitSyncParams} [params] - Optional connected account to fetch the definitions with
@@ -6333,7 +6454,7 @@ declare class CustomToolkits {
6333
6454
  *
6334
6455
  * @example
6335
6456
  * ```typescript
6336
- * const { version, syncedCount } = await composio.experimental.customToolkits.sync(
6457
+ * const { version, syncedCount } = await composio.customToolkits.sync(
6337
6458
  * 'CUSTOM_MY_TOOLKIT',
6338
6459
  * { connectedAccountId: 'ca_abc123' }
6339
6460
  * );
@@ -6344,7 +6465,6 @@ declare class CustomToolkits {
6344
6465
  * Deletes a custom toolkit owned by the project, with its tools, auth
6345
6466
  * configs and connected accounts. The credentials behind those connected
6346
6467
  * accounts are revoked in background jobs (`revokeJobIds`).
6347
- * **Experimental — custom toolkits are in pilot; shape may change.**
6348
6468
  *
6349
6469
  * Composio-managed toolkits cannot be deleted; the API answers 403.
6350
6470
  *
@@ -6353,14 +6473,12 @@ declare class CustomToolkits {
6353
6473
  *
6354
6474
  * @example
6355
6475
  * ```typescript
6356
- * const result = await composio.experimental.customToolkits.delete('CUSTOM_MY_TOOLKIT');
6476
+ * const result = await composio.customToolkits.delete('CUSTOM_MY_TOOLKIT');
6357
6477
  * console.log(result.connectedAccountsDeleted);
6358
6478
  * ```
6359
6479
  */
6360
6480
  delete(slug: string, requestOptions?: ComposioRequestOptions): Promise<CustomToolkitDeleteResponse>;
6361
6481
  }
6362
- //#endregion
6363
- //#region src/models/Experimental.d.ts
6364
6482
  declare class Experimental {
6365
6483
  private client;
6366
6484
  /**
@@ -6375,13 +6493,8 @@ declare class Experimental {
6375
6493
  */
6376
6494
  usage: Usage;
6377
6495
  /**
6378
- * Register and manage project-owned custom toolkits (`create()` / `update()` / `sync()` / `delete()`).
6379
- * **Experimental — custom toolkits are in pilot; shape may change.**
6380
- *
6381
- * @example
6382
- * ```typescript
6383
- * await composio.experimental.customToolkits.sync('CUSTOM_MY_TOOLKIT');
6384
- * ```
6496
+ * Same object as `composio.customToolkits`.
6497
+ * @deprecated Use `composio.customToolkits` instead. Custom toolkits are no longer experimental; this alias is kept for backwards compatibility.
6385
6498
  */
6386
6499
  customToolkits: CustomToolkits;
6387
6500
  constructor(client: ComposioClient);
@@ -6446,8 +6559,6 @@ declare class Experimental {
6446
6559
  */
6447
6560
  updateAcl(nanoid: string, params: UpdateConnectedAccountAclParams): Promise<ConnectedAccountPatchResponse>;
6448
6561
  }
6449
- //#endregion
6450
- //#region src/types/mcp.experimental.types.d.ts
6451
6562
  declare const MCPServerInstanceSchema: z.ZodObject<{
6452
6563
  id: z.ZodString;
6453
6564
  name: z.ZodString;
@@ -6460,17 +6571,17 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
6460
6571
  name: string;
6461
6572
  type: "streamable_http";
6462
6573
  userId: string;
6463
- allowedTools: string[];
6464
- url: string;
6465
6574
  id: string;
6575
+ url: string;
6576
+ allowedTools: string[];
6466
6577
  authConfigs: string[];
6467
6578
  }, {
6468
6579
  name: string;
6469
6580
  type: "streamable_http";
6470
6581
  userId: string;
6471
- allowedTools: string[];
6472
- url: string;
6473
6582
  id: string;
6583
+ url: string;
6584
+ allowedTools: string[];
6474
6585
  authConfigs: string[];
6475
6586
  }>;
6476
6587
  type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
@@ -6537,12 +6648,12 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
6537
6648
  */
6538
6649
  windsurf: z.ZodString;
6539
6650
  }, "strip", z.ZodTypeAny, {
6540
- claude: string;
6541
6651
  cursor: string;
6652
+ claude: string;
6542
6653
  windsurf: string;
6543
6654
  }, {
6544
- claude: string;
6545
6655
  cursor: string;
6656
+ claude: string;
6546
6657
  windsurf: string;
6547
6658
  }>;
6548
6659
  /**
@@ -6552,22 +6663,22 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
6552
6663
  }, "strip", z.ZodTypeAny, {
6553
6664
  name: string;
6554
6665
  authConfigIds: string[];
6555
- allowedTools: string[];
6556
6666
  id: string;
6667
+ allowedTools: string[];
6557
6668
  commands: {
6558
- claude: string;
6559
6669
  cursor: string;
6670
+ claude: string;
6560
6671
  windsurf: string;
6561
6672
  };
6562
6673
  MCPUrl: string;
6563
6674
  }, {
6564
6675
  name: string;
6565
6676
  authConfigIds: string[];
6566
- allowedTools: string[];
6567
6677
  id: string;
6678
+ allowedTools: string[];
6568
6679
  commands: {
6569
- claude: string;
6570
6680
  cursor: string;
6681
+ claude: string;
6571
6682
  windsurf: string;
6572
6683
  };
6573
6684
  MCPUrl: string;
@@ -6643,12 +6754,12 @@ declare const MCPItemSchema: z.ZodObject<{
6643
6754
  */
6644
6755
  windsurf: z.ZodString;
6645
6756
  }, "strip", z.ZodTypeAny, {
6646
- claude: string;
6647
6757
  cursor: string;
6758
+ claude: string;
6648
6759
  windsurf: string;
6649
6760
  }, {
6650
- claude: string;
6651
6761
  cursor: string;
6762
+ claude: string;
6652
6763
  windsurf: string;
6653
6764
  }>;
6654
6765
  /**
@@ -6663,11 +6774,11 @@ declare const MCPItemSchema: z.ZodObject<{
6663
6774
  name: string;
6664
6775
  toolkits: string[];
6665
6776
  authConfigIds: string[];
6666
- allowedTools: string[];
6667
6777
  id: string;
6778
+ allowedTools: string[];
6668
6779
  commands: {
6669
- claude: string;
6670
6780
  cursor: string;
6781
+ claude: string;
6671
6782
  windsurf: string;
6672
6783
  };
6673
6784
  MCPUrl: string;
@@ -6677,11 +6788,11 @@ declare const MCPItemSchema: z.ZodObject<{
6677
6788
  name: string;
6678
6789
  toolkits: string[];
6679
6790
  authConfigIds: string[];
6680
- allowedTools: string[];
6681
6791
  id: string;
6792
+ allowedTools: string[];
6682
6793
  commands: {
6683
- claude: string;
6684
6794
  cursor: string;
6795
+ claude: string;
6685
6796
  windsurf: string;
6686
6797
  };
6687
6798
  MCPUrl: string;
@@ -6724,12 +6835,12 @@ declare const MCPListResponseSchema: z.ZodObject<{
6724
6835
  */
6725
6836
  windsurf: z.ZodString;
6726
6837
  }, "strip", z.ZodTypeAny, {
6727
- claude: string;
6728
6838
  cursor: string;
6839
+ claude: string;
6729
6840
  windsurf: string;
6730
6841
  }, {
6731
- claude: string;
6732
6842
  cursor: string;
6843
+ claude: string;
6733
6844
  windsurf: string;
6734
6845
  }>;
6735
6846
  /**
@@ -6744,11 +6855,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
6744
6855
  name: string;
6745
6856
  toolkits: string[];
6746
6857
  authConfigIds: string[];
6747
- allowedTools: string[];
6748
6858
  id: string;
6859
+ allowedTools: string[];
6749
6860
  commands: {
6750
- claude: string;
6751
6861
  cursor: string;
6862
+ claude: string;
6752
6863
  windsurf: string;
6753
6864
  };
6754
6865
  MCPUrl: string;
@@ -6758,11 +6869,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
6758
6869
  name: string;
6759
6870
  toolkits: string[];
6760
6871
  authConfigIds: string[];
6761
- allowedTools: string[];
6762
6872
  id: string;
6873
+ allowedTools: string[];
6763
6874
  commands: {
6764
- claude: string;
6765
6875
  cursor: string;
6876
+ claude: string;
6766
6877
  windsurf: string;
6767
6878
  };
6768
6879
  MCPUrl: string;
@@ -6776,11 +6887,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
6776
6887
  name: string;
6777
6888
  toolkits: string[];
6778
6889
  authConfigIds: string[];
6779
- allowedTools: string[];
6780
6890
  id: string;
6891
+ allowedTools: string[];
6781
6892
  commands: {
6782
- claude: string;
6783
6893
  cursor: string;
6894
+ claude: string;
6784
6895
  windsurf: string;
6785
6896
  };
6786
6897
  MCPUrl: string;
@@ -6794,11 +6905,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
6794
6905
  name: string;
6795
6906
  toolkits: string[];
6796
6907
  authConfigIds: string[];
6797
- allowedTools: string[];
6798
6908
  id: string;
6909
+ allowedTools: string[];
6799
6910
  commands: {
6800
- claude: string;
6801
6911
  cursor: string;
6912
+ claude: string;
6802
6913
  windsurf: string;
6803
6914
  };
6804
6915
  MCPUrl: string;
@@ -6841,8 +6952,6 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
6841
6952
  manuallyManageConnections?: boolean | undefined;
6842
6953
  }>;
6843
6954
  type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
6844
- //#endregion
6845
- //#region src/models/MCP.d.ts
6846
6955
  /**
6847
6956
  * MCP (Model Control Protocol) class
6848
6957
  * Handles MCP server operations.
@@ -6855,8 +6964,8 @@ type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
6855
6964
  * `composio.mcp`. See https://docs.composio.dev/docs/sessions-via-mcp
6856
6965
  */
6857
6966
  declare class MCP {
6858
- client: Composio;
6859
- constructor(client: Composio);
6967
+ client: Composio$1;
6968
+ constructor(client: Composio$1);
6860
6969
  /**
6861
6970
  * Create a new MCP configuration.
6862
6971
  * @param {Object} params - Parameters for creating the MCP configuration
@@ -6928,7 +7037,7 @@ declare class MCP {
6928
7037
  * const server = await composio.experimental.mcp.get("mcp_12345");
6929
7038
  *
6930
7039
  * console.log(server.name); // "My Personal MCP Server"
6931
- * console.log(server.allowedTools); // ["GITHUB_CREATE_ISSUE", "SLACK_SEND_MESSAGE"]
7040
+ * console.log(server.allowedTools); // ["GITHUB_CREATE_AN_ISSUE", "SLACK_SEND_MESSAGE"]
6932
7041
  * console.log(server.toolkits); // ["github", "slack"]
6933
7042
  * console.log(server.serverInstanceCount); // 3
6934
7043
  *
@@ -7009,7 +7118,7 @@ declare class MCP {
7009
7118
  * {
7010
7119
  * toolkit: "github",
7011
7120
  * authConfigId: "auth_abc123",
7012
- * allowedTools: ["GITHUB_CREATE_ISSUE", "GITHUB_LIST_REPOS"]
7121
+ * allowedTools: ["GITHUB_CREATE_AN_ISSUE", "GITHUB_LIST_REPOS"]
7013
7122
  * },
7014
7123
  * {
7015
7124
  * toolkit: "slack",
@@ -7068,8 +7177,6 @@ declare class MCP {
7068
7177
  */
7069
7178
  generate(userId: string, mcpConfigId: string, options?: MCPGetInstanceParams, requestOptions?: ComposioRequestOptions): Promise<MCPServerInstance>;
7070
7179
  }
7071
- //#endregion
7072
- //#region src/types/webhooks.types.d.ts
7073
7180
  /**
7074
7181
  * Webhook payload versions accepted by the webhook subscription endpoints.
7075
7182
  */
@@ -7091,17 +7198,17 @@ declare const WebhookSubscriptionSchema: z$1.ZodObject<{
7091
7198
  id: string;
7092
7199
  webhookUrl: string;
7093
7200
  enabledEvents: string[];
7201
+ secret?: string | undefined;
7094
7202
  createdAt?: string | undefined;
7095
7203
  updatedAt?: string | undefined;
7096
- secret?: string | undefined;
7097
7204
  }, {
7098
7205
  version: "V1" | "V2" | "V3";
7099
7206
  id: string;
7100
7207
  webhookUrl: string;
7101
7208
  enabledEvents: string[];
7209
+ secret?: string | undefined;
7102
7210
  createdAt?: string | undefined;
7103
7211
  updatedAt?: string | undefined;
7104
- secret?: string | undefined;
7105
7212
  }>;
7106
7213
  declare const WebhookSubscriptionListParamsSchema: z$1.ZodObject<{
7107
7214
  /** Number of items per page, max allowed is 50. */
@@ -7130,17 +7237,17 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
7130
7237
  id: string;
7131
7238
  webhookUrl: string;
7132
7239
  enabledEvents: string[];
7240
+ secret?: string | undefined;
7133
7241
  createdAt?: string | undefined;
7134
7242
  updatedAt?: string | undefined;
7135
- secret?: string | undefined;
7136
7243
  }, {
7137
7244
  version: "V1" | "V2" | "V3";
7138
7245
  id: string;
7139
7246
  webhookUrl: string;
7140
7247
  enabledEvents: string[];
7248
+ secret?: string | undefined;
7141
7249
  createdAt?: string | undefined;
7142
7250
  updatedAt?: string | undefined;
7143
- secret?: string | undefined;
7144
7251
  }>, "many">;
7145
7252
  nextCursor: z$1.ZodNullable<z$1.ZodString>;
7146
7253
  totalPages: z$1.ZodNumber;
@@ -7152,9 +7259,9 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
7152
7259
  id: string;
7153
7260
  webhookUrl: string;
7154
7261
  enabledEvents: string[];
7262
+ secret?: string | undefined;
7155
7263
  createdAt?: string | undefined;
7156
7264
  updatedAt?: string | undefined;
7157
- secret?: string | undefined;
7158
7265
  }[];
7159
7266
  nextCursor: string | null;
7160
7267
  totalPages: number;
@@ -7166,9 +7273,9 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
7166
7273
  id: string;
7167
7274
  webhookUrl: string;
7168
7275
  enabledEvents: string[];
7276
+ secret?: string | undefined;
7169
7277
  createdAt?: string | undefined;
7170
7278
  updatedAt?: string | undefined;
7171
- secret?: string | undefined;
7172
7279
  }[];
7173
7280
  nextCursor: string | null;
7174
7281
  totalPages: number;
@@ -7337,15 +7444,15 @@ declare const WebhookEndpointSchema: z$1.ZodObject<{
7337
7444
  toolkitSlug: string;
7338
7445
  data: Record<string, string> | null;
7339
7446
  id: string;
7340
- createdAt: string;
7341
7447
  webhookUrl: string;
7448
+ createdAt: string;
7342
7449
  clientId: string | null;
7343
7450
  }, {
7344
7451
  toolkitSlug: string;
7345
7452
  data: Record<string, string> | null;
7346
7453
  id: string;
7347
- createdAt: string;
7348
7454
  webhookUrl: string;
7455
+ createdAt: string;
7349
7456
  clientId: string | null;
7350
7457
  }>;
7351
7458
  type WebhookEndpoint = z$1.infer<typeof WebhookEndpointSchema>;
@@ -7380,8 +7487,6 @@ declare const WebhookEndpointUpdateParamsSchema: z$1.ZodObject<{
7380
7487
  data: Record<string, string>;
7381
7488
  }>;
7382
7489
  type WebhookEndpointUpdateParams = z$1.infer<typeof WebhookEndpointUpdateParamsSchema>;
7383
- //#endregion
7384
- //#region src/models/Webhooks.d.ts
7385
7490
  /**
7386
7491
  * `composio.webhooks.subscriptions` — the project's outbound webhook
7387
7492
  * subscription. The API allows one subscription per project; every response
@@ -7599,8 +7704,6 @@ declare class Webhooks {
7599
7704
  endpoints: WebhookEndpoints;
7600
7705
  constructor(client: ComposioClient);
7601
7706
  }
7602
- //#endregion
7603
- //#region src/types/logs.types.d.ts
7604
7707
  /**
7605
7708
  * Fields a tool-execution log search can filter on.
7606
7709
  */
@@ -7753,7 +7856,7 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
7753
7856
  [k: string]: unknown;
7754
7857
  };
7755
7858
  timestamp: string;
7756
- level: "error" | "warn" | "info";
7859
+ level: "error" | "info" | "warn";
7757
7860
  metrics: Record<string, unknown>;
7758
7861
  parent: {
7759
7862
  logId: string;
@@ -7770,7 +7873,7 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
7770
7873
  [k: string]: unknown;
7771
7874
  };
7772
7875
  timestamp: string;
7773
- level: "error" | "warn" | "info";
7876
+ level: "error" | "info" | "warn";
7774
7877
  metrics: Record<string, unknown>;
7775
7878
  parent: {
7776
7879
  logId: string;
@@ -7817,7 +7920,7 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
7817
7920
  [k: string]: unknown;
7818
7921
  };
7819
7922
  timestamp: string;
7820
- level: "error" | "warn" | "info";
7923
+ level: "error" | "info" | "warn";
7821
7924
  metrics: Record<string, unknown>;
7822
7925
  parent: {
7823
7926
  logId: string;
@@ -7834,7 +7937,7 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
7834
7937
  [k: string]: unknown;
7835
7938
  };
7836
7939
  timestamp: string;
7837
- level: "error" | "warn" | "info";
7940
+ level: "error" | "info" | "warn";
7838
7941
  metrics: Record<string, unknown>;
7839
7942
  parent: {
7840
7943
  logId: string;
@@ -7855,7 +7958,7 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
7855
7958
  [k: string]: unknown;
7856
7959
  };
7857
7960
  timestamp: string;
7858
- level: "error" | "warn" | "info";
7961
+ level: "error" | "info" | "warn";
7859
7962
  metrics: Record<string, unknown>;
7860
7963
  parent: {
7861
7964
  logId: string;
@@ -7875,7 +7978,7 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
7875
7978
  [k: string]: unknown;
7876
7979
  };
7877
7980
  timestamp: string;
7878
- level: "error" | "warn" | "info";
7981
+ level: "error" | "info" | "warn";
7879
7982
  metrics: Record<string, unknown>;
7880
7983
  parent: {
7881
7984
  logId: string;
@@ -7967,7 +8070,7 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
7967
8070
  [k: string]: unknown;
7968
8071
  };
7969
8072
  timestamp: string;
7970
- level: "error" | "warn" | "info";
8073
+ level: "error" | "info" | "warn";
7971
8074
  metrics: Record<string, unknown>;
7972
8075
  parent: {
7973
8076
  logId: string;
@@ -7999,7 +8102,7 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
7999
8102
  [k: string]: unknown;
8000
8103
  };
8001
8104
  timestamp: string;
8002
- level: "error" | "warn" | "info";
8105
+ level: "error" | "info" | "warn";
8003
8106
  metrics: Record<string, unknown>;
8004
8107
  parent: {
8005
8108
  logId: string;
@@ -8022,8 +8125,6 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
8022
8125
  } | undefined;
8023
8126
  }>;
8024
8127
  type ToolExecutionLogDetail = z$1.infer<typeof ToolExecutionLogDetailSchema>;
8025
- //#endregion
8026
- //#region src/models/Logs.d.ts
8027
8128
  /**
8028
8129
  * `composio.logs` — tool-execution logs.
8029
8130
  *
@@ -8074,8 +8175,6 @@ declare class Logs {
8074
8175
  */
8075
8176
  get(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolExecutionLogDetail>;
8076
8177
  }
8077
- //#endregion
8078
- //#region src/types/sessionConfigs.types.d.ts
8079
8178
  /**
8080
8179
  * Params for `composio.sessionConfigs.list()`. The backend owns the defaults:
8081
8180
  * active configs only, 20 per page, at most 100.
@@ -8235,25 +8334,25 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
8235
8334
  /** Tags whose tools need the user's approval before they run. */
8236
8335
  require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
8237
8336
  }, "strip", z$1.ZodTypeAny, {
8238
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8239
8337
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8338
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8240
8339
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8241
8340
  }, {
8242
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8243
8341
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8342
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8244
8343
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8245
8344
  }>;
8246
8345
  }, "strip", z$1.ZodTypeAny, {
8247
8346
  tags: {
8248
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8249
8347
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8348
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8250
8349
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8251
8350
  };
8252
8351
  require_approval?: string[] | undefined;
8253
8352
  }, {
8254
8353
  tags: {
8255
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8256
8354
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8355
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8257
8356
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8258
8357
  };
8259
8358
  require_approval?: string[] | undefined;
@@ -8271,18 +8370,18 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
8271
8370
  /** Tags whose tools need the user's approval before they run. */
8272
8371
  require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
8273
8372
  }, "strip", z$1.ZodTypeAny, {
8274
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8275
8373
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8374
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8276
8375
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8277
8376
  }, {
8278
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8279
8377
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8378
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8280
8379
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8281
8380
  }>>;
8282
8381
  }, "strip", z$1.ZodTypeAny, {
8283
8382
  tags?: {
8284
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8285
8383
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8384
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8286
8385
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8287
8386
  } | undefined;
8288
8387
  tools?: Record<string, {
@@ -8295,8 +8394,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
8295
8394
  require_approval?: string[] | undefined;
8296
8395
  } | {
8297
8396
  tags: {
8298
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8299
8397
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8398
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8300
8399
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8301
8400
  };
8302
8401
  require_approval?: string[] | undefined;
@@ -8312,8 +8411,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
8312
8411
  } | undefined;
8313
8412
  }, {
8314
8413
  tags?: {
8315
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8316
8414
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8415
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8317
8416
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8318
8417
  } | undefined;
8319
8418
  tools?: Record<string, {
@@ -8326,8 +8425,8 @@ declare const SessionConfigPolicySchema: z$1.ZodObject<{
8326
8425
  require_approval?: string[] | undefined;
8327
8426
  } | {
8328
8427
  tags: {
8329
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8330
8428
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8429
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8331
8430
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8332
8431
  };
8333
8432
  require_approval?: string[] | undefined;
@@ -8412,25 +8511,25 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8412
8511
  /** Tags whose tools need the user's approval before they run. */
8413
8512
  require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
8414
8513
  }, "strip", z$1.ZodTypeAny, {
8415
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8416
8514
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8515
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8417
8516
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8418
8517
  }, {
8419
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8420
8518
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8519
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8421
8520
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8422
8521
  }>;
8423
8522
  }, "strip", z$1.ZodTypeAny, {
8424
8523
  tags: {
8425
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8426
8524
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8525
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8427
8526
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8428
8527
  };
8429
8528
  require_approval?: string[] | undefined;
8430
8529
  }, {
8431
8530
  tags: {
8432
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8433
8531
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8532
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8434
8533
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8435
8534
  };
8436
8535
  require_approval?: string[] | undefined;
@@ -8448,18 +8547,18 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8448
8547
  /** Tags whose tools need the user's approval before they run. */
8449
8548
  require_approval: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
8450
8549
  }, "strip", z$1.ZodTypeAny, {
8451
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8452
8550
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8551
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8453
8552
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8454
8553
  }, {
8455
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8456
8554
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8555
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8457
8556
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8458
8557
  }>>;
8459
8558
  }, "strip", z$1.ZodTypeAny, {
8460
8559
  tags?: {
8461
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8462
8560
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8561
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8463
8562
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8464
8563
  } | undefined;
8465
8564
  tools?: Record<string, {
@@ -8472,8 +8571,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8472
8571
  require_approval?: string[] | undefined;
8473
8572
  } | {
8474
8573
  tags: {
8475
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8476
8574
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8575
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8477
8576
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8478
8577
  };
8479
8578
  require_approval?: string[] | undefined;
@@ -8489,8 +8588,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8489
8588
  } | undefined;
8490
8589
  }, {
8491
8590
  tags?: {
8492
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8493
8591
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8592
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8494
8593
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8495
8594
  } | undefined;
8496
8595
  tools?: Record<string, {
@@ -8503,8 +8602,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8503
8602
  require_approval?: string[] | undefined;
8504
8603
  } | {
8505
8604
  tags: {
8506
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8507
8605
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8606
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8508
8607
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8509
8608
  };
8510
8609
  require_approval?: string[] | undefined;
@@ -8527,8 +8626,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8527
8626
  updatedAt: string;
8528
8627
  config: {
8529
8628
  tags?: {
8530
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8531
8629
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8630
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8532
8631
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8533
8632
  } | undefined;
8534
8633
  tools?: Record<string, {
@@ -8541,8 +8640,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8541
8640
  require_approval?: string[] | undefined;
8542
8641
  } | {
8543
8642
  tags: {
8544
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8545
8643
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8644
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8546
8645
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8547
8646
  };
8548
8647
  require_approval?: string[] | undefined;
@@ -8566,8 +8665,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8566
8665
  updatedAt: string;
8567
8666
  config: {
8568
8667
  tags?: {
8569
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8570
8668
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8669
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8571
8670
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8572
8671
  } | undefined;
8573
8672
  tools?: Record<string, {
@@ -8580,8 +8679,8 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8580
8679
  require_approval?: string[] | undefined;
8581
8680
  } | {
8582
8681
  tags: {
8583
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8584
8682
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8683
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8585
8684
  require_approval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
8586
8685
  };
8587
8686
  require_approval?: string[] | undefined;
@@ -8599,8 +8698,6 @@ declare const SessionConfigSchema: z$1.ZodObject<{
8599
8698
  archived: boolean;
8600
8699
  }>;
8601
8700
  type SessionConfig = z$1.infer<typeof SessionConfigSchema>;
8602
- //#endregion
8603
- //#region src/models/SessionConfigs.d.ts
8604
8701
  /**
8605
8702
  * `composio.sessionConfigs` — saved, reusable Session configs.
8606
8703
  *
@@ -8666,8 +8763,6 @@ declare class SessionConfigs {
8666
8763
  */
8667
8764
  get(id: string, requestOptions?: ComposioRequestOptions): Promise<SessionConfig>;
8668
8765
  }
8669
- //#endregion
8670
- //#region src/types/keyring.types.d.ts
8671
8766
  /**
8672
8767
  * A public JWK a secret can be sealed to. Fields keep their JWK names so a
8673
8768
  * key can be handed straight to WebCrypto or a JOSE library.
@@ -8686,18 +8781,18 @@ declare const KeyringTransferKeySchema: z$1.ZodObject<{
8686
8781
  /** Key identifier. Put it in the JWE protected header. */
8687
8782
  kid: z$1.ZodString;
8688
8783
  }, "strip", z$1.ZodTypeAny, {
8689
- use: string;
8690
8784
  kty: string;
8691
8785
  n: string;
8692
8786
  e: string;
8693
8787
  alg: string;
8788
+ use: string;
8694
8789
  kid: string;
8695
8790
  }, {
8696
- use: string;
8697
8791
  kty: string;
8698
8792
  n: string;
8699
8793
  e: string;
8700
8794
  alg: string;
8795
+ use: string;
8701
8796
  kid: string;
8702
8797
  }>;
8703
8798
  type KeyringTransferKey = z$1.infer<typeof KeyringTransferKeySchema>;
@@ -8722,44 +8817,42 @@ declare const KeyringTransferKeysResponseSchema: z$1.ZodObject<{
8722
8817
  /** Key identifier. Put it in the JWE protected header. */
8723
8818
  kid: z$1.ZodString;
8724
8819
  }, "strip", z$1.ZodTypeAny, {
8725
- use: string;
8726
8820
  kty: string;
8727
8821
  n: string;
8728
8822
  e: string;
8729
8823
  alg: string;
8824
+ use: string;
8730
8825
  kid: string;
8731
8826
  }, {
8732
- use: string;
8733
8827
  kty: string;
8734
8828
  n: string;
8735
8829
  e: string;
8736
8830
  alg: string;
8831
+ use: string;
8737
8832
  kid: string;
8738
8833
  }>, "many">;
8739
8834
  }, "strip", z$1.ZodTypeAny, {
8740
8835
  keys: {
8741
- use: string;
8742
8836
  kty: string;
8743
8837
  n: string;
8744
8838
  e: string;
8745
8839
  alg: string;
8840
+ use: string;
8746
8841
  kid: string;
8747
8842
  }[];
8748
8843
  activeKid: string;
8749
8844
  }, {
8750
8845
  keys: {
8751
- use: string;
8752
8846
  kty: string;
8753
8847
  n: string;
8754
8848
  e: string;
8755
8849
  alg: string;
8850
+ use: string;
8756
8851
  kid: string;
8757
8852
  }[];
8758
8853
  activeKid: string;
8759
8854
  }>;
8760
8855
  type KeyringTransferKeysResponse = z$1.infer<typeof KeyringTransferKeysResponseSchema>;
8761
- //#endregion
8762
- //#region src/models/Keyring.d.ts
8763
8856
  /**
8764
8857
  * `composio.keyring` — the organization's customer-managed keyring.
8765
8858
  *
@@ -8799,8 +8892,6 @@ declare class Keyring {
8799
8892
  */
8800
8893
  listTransferKeys(requestOptions?: ComposioRequestOptions): Promise<KeyringTransferKeysResponse>;
8801
8894
  }
8802
- //#endregion
8803
- //#region src/utils/logger.d.ts
8804
8895
  declare const LOG_LEVELS: {
8805
8896
  readonly silent: -1;
8806
8897
  readonly error: 0;
@@ -8849,8 +8940,6 @@ declare class Logger {
8849
8940
  debug(...args: unknown[]): void;
8850
8941
  }
8851
8942
  declare const logger: Logger;
8852
- //#endregion
8853
- //#region src/provider/OpenAIProvider.d.ts
8854
8943
  type OpenAiTool = OpenAI.ChatCompletionTool;
8855
8944
  type OpenAiToolCollection = Array<OpenAiTool>;
8856
8945
  declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection, OpenAiTool, McpServerGetResponse> {
@@ -9030,11 +9119,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
9030
9119
  handleToolCalls(session: ToolCallSession, chatCompletion: OpenAI.ChatCompletion): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
9031
9120
  handleToolCalls(userId: string, chatCompletion: OpenAI.ChatCompletion, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
9032
9121
  }
9033
- //#endregion
9034
- //#region src/types/composio.types.d.ts
9035
9122
  type ComposioRequestHeaders = Record<string, string>;
9036
- //#endregion
9037
- //#region src/lib/toolRouterParams.d.ts
9038
9123
  /** Local tools options, accepted under their current names and the deprecated `custom*` aliases. */
9039
9124
  type LocalToolsOptions = {
9040
9125
  localTools?: LocalTool[];
@@ -9044,12 +9129,10 @@ type LocalToolsOptions = {
9044
9129
  /** @deprecated Use `localToolkits` instead. */
9045
9130
  customToolkits?: LocalToolkit[];
9046
9131
  };
9047
- //#endregion
9048
- //#region src/models/ToolRouter.d.ts
9049
9132
  declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
9050
9133
  private client;
9051
9134
  private config?;
9052
- constructor(client: Composio, config?: ComposioConfig<TProvider> | undefined);
9135
+ constructor(client: Composio$1, config?: ComposioConfig<TProvider> | undefined);
9053
9136
  /**
9054
9137
  * Derives the MCP config for a session from the auth context the session
9055
9138
  * request was made with: the project key when one is configured, otherwise
@@ -9149,8 +9232,6 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
9149
9232
  */
9150
9233
  delete(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionDeleteResponse>;
9151
9234
  }
9152
- //#endregion
9153
- //#region src/models/Sessions.d.ts
9154
9235
  /**
9155
9236
  * First-class API for creating and reusing Composio sessions.
9156
9237
  *
@@ -9159,10 +9240,8 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
9159
9240
  * alias for `composio.sessions.create(...)`.
9160
9241
  */
9161
9242
  declare class Sessions<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> extends ToolRouter<TToolCollection, TTool, TProvider> {
9162
- constructor(client: Composio, config?: ComposioConfig<TProvider>);
9243
+ constructor(client: Composio$1, config?: ComposioConfig<TProvider>);
9163
9244
  }
9164
- //#endregion
9165
- //#region src/composio.d.ts
9166
9245
  type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unknown> = OpenAIProvider> = {
9167
9246
  /**
9168
9247
  * The project API key for the Composio API, sent as the `x-api-key` header.
@@ -9407,7 +9486,7 @@ type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unk
9407
9486
  * This is the core class for Composio.
9408
9487
  * It is used to initialize the Composio SDK and provide a global configuration.
9409
9488
  */
9410
- declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown, unknown> = OpenAIProvider> {
9489
+ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown, unknown> = OpenAIProvider> {
9411
9490
  /**
9412
9491
  * The Composio API client.
9413
9492
  * @type {ComposioClient}
@@ -9444,6 +9523,16 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
9444
9523
  logs: Logs;
9445
9524
  /** Public transfer keys of the organization's customer-managed keyring */
9446
9525
  keyring: Keyring;
9526
+ /**
9527
+ * Register and manage project-owned custom toolkits, such as a remote MCP
9528
+ * server (`create()` / `update()` / `sync()` / `delete()`).
9529
+ *
9530
+ * @example
9531
+ * ```typescript
9532
+ * await composio.customToolkits.sync('CUSTOM_MY_TOOLKIT');
9533
+ * ```
9534
+ */
9535
+ customToolkits: CustomToolkits;
9447
9536
  /**
9448
9537
  * Experimental SDK methods whose shape may change in future releases.
9449
9538
  * Prefer domain-specific mounts (for example
@@ -9614,7 +9703,7 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
9614
9703
  */
9615
9704
  createSession(options?: {
9616
9705
  headers?: ComposioRequestHeaders;
9617
- }): Composio$1<TProvider>;
9706
+ }): Composio<TProvider>;
9618
9707
  /**
9619
9708
  * Flush any pending telemetry and wait for it to complete.
9620
9709
  *
@@ -9644,5 +9733,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
9644
9733
  */
9645
9734
  flush(): Promise<void>;
9646
9735
  }
9647
- //#endregion
9648
- export { WebhookEndpointListItemSchema as $, TriggersTypeRetrieveResponse as $n, ToolkitCategorySchema as $r, UsageBreakdownGroup as $t, LogSearchFilterSchema as A, ToolkitsListParamsSchema as Ai, TriggerInstanceManageDeleteResponse as An, AuthDefaultConfigUpdateParamsSchema as Ar, CustomToolkitApiKeyField as At, ToolExecutionLogLevelSchema as B, TriggerInstanceUpsertResponse as Bn, ToolKitItem as Br, CustomToolkitSyncParams as Bt, SessionConfigSummarySchema as C, ToolkitRetrieveResponse as Ci, TriggerEventData as Cn, AuthConfigRetrieveResponseSchema as Cr, WebhookSubscriptionSetParamsSchema as Ct, LogSearchFilterFieldSchema as D, ToolkitVersionChangelog as Di, TriggerInstanceListActiveResponseItem as Dn, AuthConfigUpdateParams as Dr, MCP as Dt, LogSearchFilterField as E, ToolkitSortByEnumSchema as Ei, TriggerInstanceListActiveResponse as En, AuthConfigTypes as Er, WebhookVersionSchema as Et, LogSearchTimeRange as F, TriggerInstanceManageUpdateResponseSchema as Fn, CreateAuthConfigParamsSchema as Fr, CustomToolkitCreateResponse as Ft, ToolExecutionLogStatusSchema as G, TriggerSubscribeParamSchema as Gn, ToolKitMetaSchema as Gr, CustomToolkitUpdateParamsSchema as Gt, ToolExecutionLogMetadataSchema as H, TriggerStatusEnum as Hn, ToolKitListResponse as Hr, CustomToolkitSyncResponse as Ht, LogSearchTimeRangeSchema as I, TriggerInstanceType as In, CreateAuthConfigResponse as Ir, CustomToolkitCreateResponseSchema as It, Webhooks as J, TriggerTypeSchema as Jn, ToolkitAuthField as Jr, CustomToolkitUpsertParams as Jt, WebhookEndpoints as K, TriggerSubscribeParams as Kn, ToolkitAuthConfigDetails as Kr, CustomToolkitUpdateResponse as Kt, ToolExecutionLog as L, TriggerInstanceTypeSchema as Ln, CreateAuthConfigResponseSchema as Lr, CustomToolkitDeleteResponse as Lt, LogSearchParamsSchema as M, TriggerInstanceManageUpdateParams as Mn, AuthSchemeType as Mr, CustomToolkitAuthSchemeSchema as Mt, LogSearchResponse as N, TriggerInstanceManageUpdateParamsSchema as Nn, AuthSchemeTypes as Nr, CustomToolkitCreateParams as Nt, LogSearchFilterOperator as O, ToolkitVersionChangelogSchema as Oi, TriggerInstanceListActiveResponseItemSchema as On, AuthConfigUpdateParamsSchema as Or, Experimental as Ot, LogSearchResponseSchema as P, TriggerInstanceManageUpdateResponse as Pn, CreateAuthConfigParams as Pr, CustomToolkitCreateParamsSchema as Pt, WebhookEndpointListItem as Q, TriggersTypeListResponseSchema as Qn, ToolkitCategory as Qr, Usage as Qt, ToolExecutionLogDetail as R, TriggerInstanceUpsertParams as Rn, CreateComposioManagedAuthConfigParamsSchema as Rr, CustomToolkitDeleteResponseSchema as Rt, SessionConfigSummary as S, ToolkitRetrieveCategoriesResponseSchema as Si, TriggerEvent as Sn, AuthConfigRetrieveResponse as Sr, WebhookSubscriptionSetParams as St, LogSearchFilter as T, ToolkitSortByEnum as Ti, TriggerInstanceListActiveParamsSchema as Tn, AuthConfigType as Tr, WebhookSubscriptionUpdateParamsSchema as Tt, ToolExecutionLogParentSchema as U, TriggerStatusType as Un, ToolKitListResponseSchema as Ur, CustomToolkitSyncResponseSchema as Ut, ToolExecutionLogMetadata as V, TriggerInstanceUpsertResponseSchema as Vn, ToolKitItemSchema as Vr, CustomToolkitSyncParamsSchema as Vt, ToolExecutionLogSchema as W, TriggerStatuses as Wn, ToolKitMeta as Wr, CustomToolkitUpdateParams as Wt, WebhookEndpointCreateParams as X, TriggersTypeListParamsSchema as Xn, ToolkitAuthFieldsResponse as Xr, CustomToolkitUpsertResponse as Xt, WebhookEndpoint as Y, TriggersTypeListParams as Yn, ToolkitAuthFieldSchema as Yr, CustomToolkitUpsertParamsSchema as Yt, WebhookEndpointCreateParamsSchema as Z, TriggersTypeListResponse as Zn, ToolkitAuthFieldsResponseSchema as Zr, CustomToolkitUpsertResponseSchema as Zt, SessionConfigListResponse as _, ToolkitRecommendScopesParams as _i, IncomingTriggerPayloadSchema as _n, AuthConfigCreationToolAccessConfigSchema as _r, WebhookSubscriptionListResponse as _t, ComposioLogger as a, ToolkitConditionalScopeSchema as ai, UsageEntitySummary as an, WebhookPayloadV1 as ar, WebhookEndpointReplaceParamsSchema as at, SessionConfigPolicySchema as b, ToolkitRecommendScopesResponseSchema as bi, SetWebhookSubscriptionParamsSchema as bn, AuthConfigListResponse as br, WebhookSubscriptionRotateSecretResponseSchema as bt, Keyring as c, ToolkitGrantContextDimension as ci, UsageFiltersSchema as cn, WebhookPayloadV2Schema as cr, WebhookEndpointUpdateParamsSchema as ct, KeyringTransferKeysResponse as d, ToolkitListGrantContextsParamsSchema as di, UsageSummaryParams as dn, WebhookRequestLike as dr, WebhookSubscriptionEventType as dt, ToolkitChangelogItem as ei, UsageBreakdownGroupSchema as en, VerifyWebhookParams as er, WebhookEndpointListParams as et, KeyringTransferKeysResponseSchema as f, ToolkitListGrantContextsResponse as fi, UsageSummaryParamsSchema as fn, WebhookSubscription as fr, WebhookSubscriptionEventTypeSchema as ft, SessionConfigListParamsSchema as g, ToolkitMangedByEnumSchema as gi, IncomingTriggerPayload as gn, WebhookVersions as gr, WebhookSubscriptionListParamsSchema as gt, SessionConfigListParams as h, ToolkitMangedByEnum as hi, DefaultWebhookSubscriptionEvents as hn, WebhookVersion as hr, WebhookSubscriptionListParams as ht, OpenAIProvider as i, ToolkitConditionalScope as ii, UsageBreakdownResponseSchema as in, WebhookPayloadSchema as ir, WebhookEndpointReplaceParams as it, LogSearchParams as j, TriggerInstanceManageDeleteResponseSchema as jn, AuthSchemeEnum as jr, CustomToolkitAuthScheme as jt, LogSearchFilterOperatorSchema as k, ToolkitsGetManyParamsSchema as ki, TriggerInstanceListActiveResponseSchema as kn, AuthCustomConfigUpdateParamsSchema as kr, CustomToolkits as kt, KeyringTransferKey as l, ToolkitGrantContextDimensionSchema as li, UsageOrderBySchema as ln, WebhookPayloadV3 as lr, WebhookSubscriptionDeleteResponse as lt, SessionConfig as m, ToolkitListParams as mi, UsageSummaryResponseSchema as mn, WebhookTriggerPayloadV3Schema as mr, WebhookSubscriptionEventTypesResponseSchema as mt, ComposioConfig as n, ToolkitChangelogResponse as ni, UsageBreakdownParamsSchema as nn, VerifyWebhookResult as nr, WebhookEndpointListResponse as nt, LogLevel as o, ToolkitGetManyParams as oi, UsageEntitySummarySchema as on, WebhookPayloadV1Schema as or, WebhookEndpointSchema as ot, SessionConfigs as p, ToolkitListGrantContextsResponseSchema as pi, UsageSummaryResponse as pn, WebhookTriggerPayloadV3 as pr, WebhookSubscriptionEventTypesResponse as pt, WebhookSubscriptions as q, TriggerType as qn, ToolkitAuthConfigDetailsSchema as qr, CustomToolkitUpdateResponseSchema as qt, Sessions as r, ToolkitChangelogResponseSchema as ri, UsageBreakdownResponse as rn, WebhookPayload as rr, WebhookEndpointListResponseSchema as rt, logger as s, ToolkitGetManySlugsSchema as si, UsageFilters as sn, WebhookPayloadV2 as sr, WebhookEndpointUpdateParams as st, Composio$1 as t, ToolkitChangelogItemSchema as ti, UsageBreakdownParams as tn, VerifyWebhookParamsSchema as tr, WebhookEndpointListParamsSchema as tt, KeyringTransferKeySchema as u, ToolkitListGrantContextsParams as ui, UsageOrderDirectionSchema as un, WebhookPayloadV3Schema as ur, WebhookSubscriptionDeleteResponseSchema as ut, SessionConfigListResponseSchema as v, ToolkitRecommendScopesParamsSchema as vi, ParseWebhookOptions as vn, AuthConfigListParams as vr, WebhookSubscriptionListResponseSchema as vt, Logs as w, ToolkitRetrieveResponseSchema as wi, TriggerInstanceListActiveParams as wn, AuthConfigToolAccessConfigSchema as wr, WebhookSubscriptionUpdateParams as wt, SessionConfigSchema as x, ToolkitRetrieveCategoriesResponse as xi, TriggerData as xn, AuthConfigListResponseSchema as xr, WebhookSubscriptionSchema as xt, SessionConfigPolicy as y, ToolkitRecommendScopesResponse as yi, SetWebhookSubscriptionParams as yn, AuthConfigListParamsSchema as yr, WebhookSubscriptionRotateSecretResponse as yt, ToolExecutionLogDetailSchema as z, TriggerInstanceUpsertParamsSchema as zn, CreateCustomAuthConfigParamsSchema as zr, CustomToolkitLogoFile as zt };
9736
+ export { WebhookEndpointListItemSchema as $, TriggersTypeRetrieveResponse as $n, ToolkitCategorySchema as $r, UsageBreakdownGroup as $t, LogSearchFilterSchema as A, ToolkitVersionChangelogSchema as Ai, TriggerInstanceManageDeleteResponse as An, AuthDefaultConfigUpdateParamsSchema as Ar, CustomToolkitApiKeyField as At, ToolExecutionLogLevelSchema as B, TriggerInstanceUpsertResponse as Bn, ToolKitItem as Br, CustomToolkitSyncParams as Bt, SessionConfigSummarySchema as C, ToolkitRetrieveCategoriesResponse as Ci, TriggerEventData as Cn, AuthConfigRetrieveResponseSchema as Cr, WebhookSubscriptionSetParamsSchema as Ct, LogSearchFilterFieldSchema as D, ToolkitSortByEnum as Di, TriggerInstanceListActiveResponseItem as Dn, AuthConfigUpdateParams as Dr, MCP as Dt, LogSearchFilterField as E, ToolkitRetrieveResponseSchema as Ei, TriggerInstanceListActiveResponse as En, AuthConfigTypes as Er, WebhookVersionSchema as Et, LogSearchTimeRange as F, TriggerInstanceManageUpdateResponseSchema as Fn, CreateAuthConfigParamsSchema as Fr, CustomToolkitCreateResponse as Ft, ToolExecutionLogStatusSchema as G, TriggerSubscribeParamSchema as Gn, ToolKitMetaSchema as Gr, CustomToolkitUpdateParamsSchema as Gt, ToolExecutionLogMetadataSchema as H, TriggerStatusEnum as Hn, ToolKitListResponse as Hr, CustomToolkitSyncResponse as Ht, LogSearchTimeRangeSchema as I, TriggerInstanceType as In, CreateAuthConfigResponse as Ir, CustomToolkitCreateResponseSchema as It, Webhooks as J, TriggerTypeSchema as Jn, ToolkitAuthField as Jr, CustomToolkitUpsertParams as Jt, WebhookEndpoints as K, TriggerSubscribeParams as Kn, ToolkitAuthConfigDetails as Kr, CustomToolkitUpdateResponse as Kt, ToolExecutionLog as L, TriggerInstanceTypeSchema as Ln, CreateAuthConfigResponseSchema as Lr, CustomToolkitDeleteResponse as Lt, LogSearchParamsSchema as M, ToolkitsListParamsSchema as Mi, TriggerInstanceManageUpdateParams as Mn, AuthSchemeType as Mr, CustomToolkitAuthSchemeSchema as Mt, LogSearchResponse as N, TriggerInstanceManageUpdateParamsSchema as Nn, AuthSchemeTypes as Nr, CustomToolkitCreateParams as Nt, LogSearchFilterOperator as O, ToolkitSortByEnumSchema as Oi, TriggerInstanceListActiveResponseItemSchema as On, AuthConfigUpdateParamsSchema as Or, Experimental as Ot, LogSearchResponseSchema as P, TriggerInstanceManageUpdateResponse as Pn, CreateAuthConfigParams as Pr, CustomToolkitCreateParamsSchema as Pt, WebhookEndpointListItem as Q, TriggersTypeListResponseSchema as Qn, ToolkitCategory as Qr, Usage as Qt, ToolExecutionLogDetail as R, TriggerInstanceUpsertParams as Rn, CreateComposioManagedAuthConfigParamsSchema as Rr, CustomToolkitDeleteResponseSchema as Rt, SessionConfigSummary as S, ToolkitRecommendScopesResponseSchema as Si, TriggerEvent as Sn, AuthConfigRetrieveResponse as Sr, WebhookSubscriptionSetParams as St, LogSearchFilter as T, ToolkitRetrieveResponse as Ti, TriggerInstanceListActiveParamsSchema as Tn, AuthConfigType as Tr, WebhookSubscriptionUpdateParamsSchema as Tt, ToolExecutionLogParentSchema as U, TriggerStatusType as Un, ToolKitListResponseSchema as Ur, CustomToolkitSyncResponseSchema as Ut, ToolExecutionLogMetadata as V, TriggerInstanceUpsertResponseSchema as Vn, ToolKitItemSchema as Vr, CustomToolkitSyncParamsSchema as Vt, ToolExecutionLogSchema as W, TriggerStatuses as Wn, ToolKitMeta as Wr, CustomToolkitUpdateParams as Wt, WebhookEndpointCreateParams as X, TriggersTypeListParamsSchema as Xn, ToolkitAuthFieldsResponse as Xr, CustomToolkitUpsertResponse as Xt, WebhookEndpoint as Y, TriggersTypeListParams as Yn, ToolkitAuthFieldSchema as Yr, CustomToolkitUpsertParamsSchema as Yt, WebhookEndpointCreateParamsSchema as Z, TriggersTypeListResponse as Zn, ToolkitAuthFieldsResponseSchema as Zr, CustomToolkitUpsertResponseSchema as Zt, SessionConfigListResponse as _, ToolkitMangedByEnum as _i, IncomingTriggerPayloadSchema as _n, AuthConfigCreationToolAccessConfigSchema as _r, WebhookSubscriptionListResponse as _t, ComposioLogger as a, ToolkitComposioManagedAuthSchema as ai, UsageEntitySummary as an, WebhookPayloadV1 as ar, WebhookEndpointReplaceParamsSchema as at, SessionConfigPolicySchema as b, ToolkitRecommendScopesParamsSchema as bi, SetWebhookSubscriptionParamsSchema as bn, AuthConfigListResponse as br, WebhookSubscriptionRotateSecretResponseSchema as bt, Keyring as c, ToolkitGetManyParams as ci, UsageFiltersSchema as cn, WebhookPayloadV2Schema as cr, WebhookEndpointUpdateParamsSchema as ct, KeyringTransferKeysResponse as d, ToolkitGrantContextDimensionSchema as di, UsageSummaryParams as dn, WebhookRequestLike as dr, WebhookSubscriptionEventType as dt, ToolkitChangelogItem as ei, UsageBreakdownGroupSchema as en, VerifyWebhookParams as er, WebhookEndpointListParams as et, KeyringTransferKeysResponseSchema as f, ToolkitListGrantContextsParams as fi, UsageSummaryParamsSchema as fn, WebhookSubscription as fr, WebhookSubscriptionEventTypeSchema as ft, SessionConfigListParamsSchema as g, ToolkitListParams as gi, IncomingTriggerPayload as gn, WebhookVersions as gr, WebhookSubscriptionListParamsSchema as gt, SessionConfigListParams as h, ToolkitListGrantContextsResponseSchema as hi, DefaultWebhookSubscriptionEvents as hn, WebhookVersion as hr, WebhookSubscriptionListParams as ht, OpenAIProvider as i, ToolkitComposioManagedAuth as ii, UsageBreakdownResponseSchema as in, WebhookPayloadSchema as ir, WebhookEndpointReplaceParams as it, LogSearchParams as j, ToolkitsGetManyParamsSchema as ji, TriggerInstanceManageDeleteResponseSchema as jn, AuthSchemeEnum as jr, CustomToolkitAuthScheme as jt, LogSearchFilterOperatorSchema as k, ToolkitVersionChangelog as ki, TriggerInstanceListActiveResponseSchema as kn, AuthCustomConfigUpdateParamsSchema as kr, CustomToolkits as kt, KeyringTransferKey as l, ToolkitGetManySlugsSchema as li, UsageOrderBySchema as ln, WebhookPayloadV3 as lr, WebhookSubscriptionDeleteResponse as lt, SessionConfig as m, ToolkitListGrantContextsResponse as mi, UsageSummaryResponseSchema as mn, WebhookTriggerPayloadV3Schema as mr, WebhookSubscriptionEventTypesResponseSchema as mt, ComposioConfig as n, ToolkitChangelogResponse as ni, UsageBreakdownParamsSchema as nn, VerifyWebhookResult as nr, WebhookEndpointListResponse as nt, LogLevel as o, ToolkitConditionalScope as oi, UsageEntitySummarySchema as on, WebhookPayloadV1Schema as or, WebhookEndpointSchema as ot, SessionConfigs as p, ToolkitListGrantContextsParamsSchema as pi, UsageSummaryResponse as pn, WebhookTriggerPayloadV3 as pr, WebhookSubscriptionEventTypesResponse as pt, WebhookSubscriptions as q, TriggerType as qn, ToolkitAuthConfigDetailsSchema as qr, CustomToolkitUpdateResponseSchema as qt, Sessions as r, ToolkitChangelogResponseSchema as ri, UsageBreakdownResponse as rn, WebhookPayload as rr, WebhookEndpointListResponseSchema as rt, logger as s, ToolkitConditionalScopeSchema as si, UsageFilters as sn, WebhookPayloadV2 as sr, WebhookEndpointUpdateParams as st, Composio as t, ToolkitChangelogItemSchema as ti, UsageBreakdownParams as tn, VerifyWebhookParamsSchema as tr, WebhookEndpointListParamsSchema as tt, KeyringTransferKeySchema as u, ToolkitGrantContextDimension as ui, UsageOrderDirectionSchema as un, WebhookPayloadV3Schema as ur, WebhookSubscriptionDeleteResponseSchema as ut, SessionConfigListResponseSchema as v, ToolkitMangedByEnumSchema as vi, ParseWebhookOptions as vn, AuthConfigListParams as vr, WebhookSubscriptionListResponseSchema as vt, Logs as w, ToolkitRetrieveCategoriesResponseSchema as wi, TriggerInstanceListActiveParams as wn, AuthConfigToolAccessConfigSchema as wr, WebhookSubscriptionUpdateParams as wt, SessionConfigSchema as x, ToolkitRecommendScopesResponse as xi, TriggerData as xn, AuthConfigListResponseSchema as xr, WebhookSubscriptionSchema as xt, SessionConfigPolicy as y, ToolkitRecommendScopesParams as yi, SetWebhookSubscriptionParams as yn, AuthConfigListParamsSchema as yr, WebhookSubscriptionRotateSecretResponse as yt, ToolExecutionLogDetailSchema as z, TriggerInstanceUpsertParamsSchema as zn, CreateCustomAuthConfigParamsSchema as zr, CustomToolkitLogoFile as zt };