@composio/core 0.3.3 → 0.4.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.
package/dist/index.d.mts CHANGED
@@ -564,17 +564,17 @@ declare const ToolListParamsSchema: z$1.ZodObject<{
564
564
  }, "strip", z$1.ZodTypeAny, {
565
565
  tags?: string[] | undefined;
566
566
  scopes?: string[] | undefined;
567
+ limit?: number | undefined;
567
568
  tools?: string[] | undefined;
568
569
  toolkits?: string[] | undefined;
569
- limit?: number | undefined;
570
570
  search?: string | undefined;
571
571
  authConfigIds?: string[] | undefined;
572
572
  }, {
573
573
  tags?: string[] | undefined;
574
574
  scopes?: string[] | undefined;
575
+ limit?: number | undefined;
575
576
  tools?: string[] | undefined;
576
577
  toolkits?: string[] | undefined;
577
- limit?: number | undefined;
578
578
  search?: string | undefined;
579
579
  authConfigIds?: string[] | undefined;
580
580
  }>;
@@ -893,7 +893,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
893
893
  }, "status">, z$1.ZodUnknown, "strip">>;
894
894
  }, "strip", z$1.ZodTypeAny, {
895
895
  authScheme: "OAUTH2";
896
- toolkitSlug: string;
897
896
  val: {
898
897
  access_token: string;
899
898
  version?: string | undefined;
@@ -927,12 +926,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
927
926
  registration_access_token?: string | undefined;
928
927
  registration_client_uri?: string | undefined;
929
928
  composio_link_redirect_url?: string | undefined;
929
+ webhook_signature?: string | undefined;
930
930
  id_token?: string | undefined;
931
931
  token_type?: string | undefined;
932
932
  refresh_token?: string | null | undefined;
933
933
  expires_in?: string | number | null | undefined;
934
934
  scope?: string | string[] | null | undefined;
935
- webhook_signature?: string | undefined;
936
935
  authed_user?: {
937
936
  access_token?: string | undefined;
938
937
  scope?: string | undefined;
@@ -940,9 +939,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
940
939
  } & {
941
940
  [k: string]: unknown;
942
941
  };
942
+ toolkitSlug: string;
943
943
  }, {
944
944
  authScheme: "OAUTH2";
945
- toolkitSlug: string;
946
945
  val: {
947
946
  access_token: string;
948
947
  version?: string | undefined;
@@ -976,12 +975,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
976
975
  registration_access_token?: string | undefined;
977
976
  registration_client_uri?: string | undefined;
978
977
  composio_link_redirect_url?: string | undefined;
978
+ webhook_signature?: string | undefined;
979
979
  id_token?: string | undefined;
980
980
  token_type?: string | undefined;
981
981
  refresh_token?: string | null | undefined;
982
982
  expires_in?: string | number | null | undefined;
983
983
  scope?: string | string[] | null | undefined;
984
- webhook_signature?: string | undefined;
985
984
  authed_user?: {
986
985
  access_token?: string | undefined;
987
986
  scope?: string | undefined;
@@ -989,6 +988,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
989
988
  } & {
990
989
  [k: string]: unknown;
991
990
  };
991
+ toolkitSlug: string;
992
992
  }>, z$1.ZodObject<{
993
993
  authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
994
994
  toolkitSlug: z$1.ZodString;
@@ -1100,7 +1100,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1100
1100
  }, z$1.ZodUnknown, "strip">>;
1101
1101
  }, "strip", z$1.ZodTypeAny, {
1102
1102
  authScheme: "DCR_OAUTH";
1103
- toolkitSlug: string;
1104
1103
  val: {
1105
1104
  access_token: string;
1106
1105
  client_id: string;
@@ -1138,9 +1137,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1138
1137
  } & {
1139
1138
  [k: string]: unknown;
1140
1139
  };
1140
+ toolkitSlug: string;
1141
1141
  }, {
1142
1142
  authScheme: "DCR_OAUTH";
1143
- toolkitSlug: string;
1144
1143
  val: {
1145
1144
  access_token: string;
1146
1145
  client_id: string;
@@ -1178,6 +1177,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1178
1177
  } & {
1179
1178
  [k: string]: unknown;
1180
1179
  };
1180
+ toolkitSlug: string;
1181
1181
  }>, z$1.ZodObject<{
1182
1182
  authScheme: z$1.ZodLiteral<"API_KEY">;
1183
1183
  toolkitSlug: z$1.ZodString;
@@ -1283,7 +1283,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1283
1283
  }, z$1.ZodUnknown, "strip">>;
1284
1284
  }, "strip", z$1.ZodTypeAny, {
1285
1285
  authScheme: "API_KEY";
1286
- toolkitSlug: string;
1287
1286
  val: {
1288
1287
  version?: string | undefined;
1289
1288
  "your-domain"?: string | undefined;
@@ -1319,9 +1318,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1319
1318
  } & {
1320
1319
  [k: string]: unknown;
1321
1320
  };
1321
+ toolkitSlug: string;
1322
1322
  }, {
1323
1323
  authScheme: "API_KEY";
1324
- toolkitSlug: string;
1325
1324
  val: {
1326
1325
  version?: string | undefined;
1327
1326
  "your-domain"?: string | undefined;
@@ -1357,6 +1356,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1357
1356
  } & {
1358
1357
  [k: string]: unknown;
1359
1358
  };
1359
+ toolkitSlug: string;
1360
1360
  }>, z$1.ZodObject<{
1361
1361
  authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
1362
1362
  toolkitSlug: z$1.ZodString;
@@ -1468,7 +1468,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1468
1468
  }, z$1.ZodUnknown, "strip">>;
1469
1469
  }, "strip", z$1.ZodTypeAny, {
1470
1470
  authScheme: "BASIC_WITH_JWT";
1471
- toolkitSlug: string;
1472
1471
  val: {
1473
1472
  username: string;
1474
1473
  password: string;
@@ -1506,9 +1505,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1506
1505
  } & {
1507
1506
  [k: string]: unknown;
1508
1507
  };
1508
+ toolkitSlug: string;
1509
1509
  }, {
1510
1510
  authScheme: "BASIC_WITH_JWT";
1511
- toolkitSlug: string;
1512
1511
  val: {
1513
1512
  username: string;
1514
1513
  password: string;
@@ -1546,6 +1545,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1546
1545
  } & {
1547
1546
  [k: string]: unknown;
1548
1547
  };
1548
+ toolkitSlug: string;
1549
1549
  }>, z$1.ZodObject<{
1550
1550
  authScheme: z$1.ZodLiteral<"BASIC">;
1551
1551
  toolkitSlug: z$1.ZodString;
@@ -1657,7 +1657,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1657
1657
  }, z$1.ZodUnknown, "strip">>;
1658
1658
  }, "strip", z$1.ZodTypeAny, {
1659
1659
  authScheme: "BASIC";
1660
- toolkitSlug: string;
1661
1660
  val: {
1662
1661
  username: string;
1663
1662
  password: string;
@@ -1695,9 +1694,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1695
1694
  } & {
1696
1695
  [k: string]: unknown;
1697
1696
  };
1697
+ toolkitSlug: string;
1698
1698
  }, {
1699
1699
  authScheme: "BASIC";
1700
- toolkitSlug: string;
1701
1700
  val: {
1702
1701
  username: string;
1703
1702
  password: string;
@@ -1735,6 +1734,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1735
1734
  } & {
1736
1735
  [k: string]: unknown;
1737
1736
  };
1737
+ toolkitSlug: string;
1738
1738
  }>, z$1.ZodObject<{
1739
1739
  authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
1740
1740
  toolkitSlug: z$1.ZodString;
@@ -1843,7 +1843,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1843
1843
  }, z$1.ZodUnknown, "strip">>;
1844
1844
  }, "strip", z$1.ZodTypeAny, {
1845
1845
  authScheme: "BEARER_TOKEN";
1846
- toolkitSlug: string;
1847
1846
  val: {
1848
1847
  token: string;
1849
1848
  version?: string | undefined;
@@ -1880,9 +1879,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1880
1879
  } & {
1881
1880
  [k: string]: unknown;
1882
1881
  };
1882
+ toolkitSlug: string;
1883
1883
  }, {
1884
1884
  authScheme: "BEARER_TOKEN";
1885
- toolkitSlug: string;
1886
1885
  val: {
1887
1886
  token: string;
1888
1887
  version?: string | undefined;
@@ -1919,6 +1918,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1919
1918
  } & {
1920
1919
  [k: string]: unknown;
1921
1920
  };
1921
+ toolkitSlug: string;
1922
1922
  }>, z$1.ZodObject<{
1923
1923
  authScheme: z$1.ZodLiteral<"OAUTH1">;
1924
1924
  toolkitSlug: z$1.ZodString;
@@ -2045,7 +2045,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2045
2045
  }, "status">, z$1.ZodUnknown, "strip">>;
2046
2046
  }, "strip", z$1.ZodTypeAny, {
2047
2047
  authScheme: "OAUTH1";
2048
- toolkitSlug: string;
2049
2048
  val: {
2050
2049
  oauth_token: string;
2051
2050
  oauth_token_secret: string;
@@ -2080,16 +2079,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2080
2079
  registration_access_token?: string | undefined;
2081
2080
  registration_client_uri?: string | undefined;
2082
2081
  composio_link_redirect_url?: string | undefined;
2083
- consumer_key?: string | undefined;
2084
- oauth_verifier?: string | undefined;
2085
2082
  redirectUrl?: string | undefined;
2086
2083
  callback_url?: string | undefined;
2084
+ consumer_key?: string | undefined;
2085
+ oauth_verifier?: string | undefined;
2087
2086
  } & {
2088
2087
  [k: string]: unknown;
2089
2088
  };
2089
+ toolkitSlug: string;
2090
2090
  }, {
2091
2091
  authScheme: "OAUTH1";
2092
- toolkitSlug: string;
2093
2092
  val: {
2094
2093
  oauth_token: string;
2095
2094
  oauth_token_secret: string;
@@ -2124,13 +2123,14 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2124
2123
  registration_access_token?: string | undefined;
2125
2124
  registration_client_uri?: string | undefined;
2126
2125
  composio_link_redirect_url?: string | undefined;
2127
- consumer_key?: string | undefined;
2128
- oauth_verifier?: string | undefined;
2129
2126
  redirectUrl?: string | undefined;
2130
2127
  callback_url?: string | undefined;
2128
+ consumer_key?: string | undefined;
2129
+ oauth_verifier?: string | undefined;
2131
2130
  } & {
2132
2131
  [k: string]: unknown;
2133
2132
  };
2133
+ toolkitSlug: string;
2134
2134
  }>, z$1.ZodObject<{
2135
2135
  authScheme: z$1.ZodLiteral<"NO_AUTH">;
2136
2136
  toolkitSlug: z$1.ZodString;
@@ -2233,7 +2233,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2233
2233
  }, z$1.ZodUnknown, "strip">>;
2234
2234
  }, "strip", z$1.ZodTypeAny, {
2235
2235
  authScheme: "NO_AUTH";
2236
- toolkitSlug: string;
2237
2236
  val: {
2238
2237
  version?: string | undefined;
2239
2238
  "your-domain"?: string | undefined;
@@ -2269,9 +2268,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2269
2268
  } & {
2270
2269
  [k: string]: unknown;
2271
2270
  };
2271
+ toolkitSlug: string;
2272
2272
  }, {
2273
2273
  authScheme: "NO_AUTH";
2274
- toolkitSlug: string;
2275
2274
  val: {
2276
2275
  version?: string | undefined;
2277
2276
  "your-domain"?: string | undefined;
@@ -2307,6 +2306,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2307
2306
  } & {
2308
2307
  [k: string]: unknown;
2309
2308
  };
2309
+ toolkitSlug: string;
2310
2310
  }>, z$1.ZodObject<{
2311
2311
  authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
2312
2312
  toolkitSlug: z$1.ZodString;
@@ -2421,7 +2421,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2421
2421
  }, z$1.ZodUnknown, "strip">>;
2422
2422
  }, "strip", z$1.ZodTypeAny, {
2423
2423
  authScheme: "SERVICE_ACCOUNT";
2424
- toolkitSlug: string;
2425
2424
  val: {
2426
2425
  application_id: string;
2427
2426
  installation_id: string;
@@ -2460,9 +2459,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2460
2459
  } & {
2461
2460
  [k: string]: unknown;
2462
2461
  };
2462
+ toolkitSlug: string;
2463
2463
  }, {
2464
2464
  authScheme: "SERVICE_ACCOUNT";
2465
- toolkitSlug: string;
2466
2465
  val: {
2467
2466
  application_id: string;
2468
2467
  installation_id: string;
@@ -2501,6 +2500,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2501
2500
  } & {
2502
2501
  [k: string]: unknown;
2503
2502
  };
2503
+ toolkitSlug: string;
2504
2504
  }>]>>;
2505
2505
  arguments: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2506
2506
  userId: z$1.ZodOptional<z$1.ZodString>;
@@ -2522,7 +2522,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2522
2522
  } | undefined;
2523
2523
  customConnectionData?: {
2524
2524
  authScheme: "OAUTH2";
2525
- toolkitSlug: string;
2526
2525
  val: {
2527
2526
  access_token: string;
2528
2527
  version?: string | undefined;
@@ -2556,12 +2555,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2556
2555
  registration_access_token?: string | undefined;
2557
2556
  registration_client_uri?: string | undefined;
2558
2557
  composio_link_redirect_url?: string | undefined;
2558
+ webhook_signature?: string | undefined;
2559
2559
  id_token?: string | undefined;
2560
2560
  token_type?: string | undefined;
2561
2561
  refresh_token?: string | null | undefined;
2562
2562
  expires_in?: string | number | null | undefined;
2563
2563
  scope?: string | string[] | null | undefined;
2564
- webhook_signature?: string | undefined;
2565
2564
  authed_user?: {
2566
2565
  access_token?: string | undefined;
2567
2566
  scope?: string | undefined;
@@ -2569,9 +2568,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2569
2568
  } & {
2570
2569
  [k: string]: unknown;
2571
2570
  };
2571
+ toolkitSlug: string;
2572
2572
  } | {
2573
2573
  authScheme: "DCR_OAUTH";
2574
- toolkitSlug: string;
2575
2574
  val: {
2576
2575
  access_token: string;
2577
2576
  client_id: string;
@@ -2609,9 +2608,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2609
2608
  } & {
2610
2609
  [k: string]: unknown;
2611
2610
  };
2611
+ toolkitSlug: string;
2612
2612
  } | {
2613
2613
  authScheme: "API_KEY";
2614
- toolkitSlug: string;
2615
2614
  val: {
2616
2615
  version?: string | undefined;
2617
2616
  "your-domain"?: string | undefined;
@@ -2647,9 +2646,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2647
2646
  } & {
2648
2647
  [k: string]: unknown;
2649
2648
  };
2649
+ toolkitSlug: string;
2650
2650
  } | {
2651
2651
  authScheme: "BASIC_WITH_JWT";
2652
- toolkitSlug: string;
2653
2652
  val: {
2654
2653
  username: string;
2655
2654
  password: string;
@@ -2687,9 +2686,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2687
2686
  } & {
2688
2687
  [k: string]: unknown;
2689
2688
  };
2689
+ toolkitSlug: string;
2690
2690
  } | {
2691
2691
  authScheme: "BASIC";
2692
- toolkitSlug: string;
2693
2692
  val: {
2694
2693
  username: string;
2695
2694
  password: string;
@@ -2727,9 +2726,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2727
2726
  } & {
2728
2727
  [k: string]: unknown;
2729
2728
  };
2729
+ toolkitSlug: string;
2730
2730
  } | {
2731
2731
  authScheme: "BEARER_TOKEN";
2732
- toolkitSlug: string;
2733
2732
  val: {
2734
2733
  token: string;
2735
2734
  version?: string | undefined;
@@ -2766,9 +2765,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2766
2765
  } & {
2767
2766
  [k: string]: unknown;
2768
2767
  };
2768
+ toolkitSlug: string;
2769
2769
  } | {
2770
2770
  authScheme: "OAUTH1";
2771
- toolkitSlug: string;
2772
2771
  val: {
2773
2772
  oauth_token: string;
2774
2773
  oauth_token_secret: string;
@@ -2803,16 +2802,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2803
2802
  registration_access_token?: string | undefined;
2804
2803
  registration_client_uri?: string | undefined;
2805
2804
  composio_link_redirect_url?: string | undefined;
2806
- consumer_key?: string | undefined;
2807
- oauth_verifier?: string | undefined;
2808
2805
  redirectUrl?: string | undefined;
2809
2806
  callback_url?: string | undefined;
2807
+ consumer_key?: string | undefined;
2808
+ oauth_verifier?: string | undefined;
2810
2809
  } & {
2811
2810
  [k: string]: unknown;
2812
2811
  };
2812
+ toolkitSlug: string;
2813
2813
  } | {
2814
2814
  authScheme: "NO_AUTH";
2815
- toolkitSlug: string;
2816
2815
  val: {
2817
2816
  version?: string | undefined;
2818
2817
  "your-domain"?: string | undefined;
@@ -2848,9 +2847,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2848
2847
  } & {
2849
2848
  [k: string]: unknown;
2850
2849
  };
2850
+ toolkitSlug: string;
2851
2851
  } | {
2852
2852
  authScheme: "SERVICE_ACCOUNT";
2853
- toolkitSlug: string;
2854
2853
  val: {
2855
2854
  application_id: string;
2856
2855
  installation_id: string;
@@ -2889,6 +2888,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2889
2888
  } & {
2890
2889
  [k: string]: unknown;
2891
2890
  };
2891
+ toolkitSlug: string;
2892
2892
  } | undefined;
2893
2893
  arguments?: Record<string, unknown> | undefined;
2894
2894
  userId?: string | undefined;
@@ -2909,7 +2909,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2909
2909
  } | undefined;
2910
2910
  customConnectionData?: {
2911
2911
  authScheme: "OAUTH2";
2912
- toolkitSlug: string;
2913
2912
  val: {
2914
2913
  access_token: string;
2915
2914
  version?: string | undefined;
@@ -2943,12 +2942,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2943
2942
  registration_access_token?: string | undefined;
2944
2943
  registration_client_uri?: string | undefined;
2945
2944
  composio_link_redirect_url?: string | undefined;
2945
+ webhook_signature?: string | undefined;
2946
2946
  id_token?: string | undefined;
2947
2947
  token_type?: string | undefined;
2948
2948
  refresh_token?: string | null | undefined;
2949
2949
  expires_in?: string | number | null | undefined;
2950
2950
  scope?: string | string[] | null | undefined;
2951
- webhook_signature?: string | undefined;
2952
2951
  authed_user?: {
2953
2952
  access_token?: string | undefined;
2954
2953
  scope?: string | undefined;
@@ -2956,9 +2955,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2956
2955
  } & {
2957
2956
  [k: string]: unknown;
2958
2957
  };
2958
+ toolkitSlug: string;
2959
2959
  } | {
2960
2960
  authScheme: "DCR_OAUTH";
2961
- toolkitSlug: string;
2962
2961
  val: {
2963
2962
  access_token: string;
2964
2963
  client_id: string;
@@ -2996,9 +2995,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2996
2995
  } & {
2997
2996
  [k: string]: unknown;
2998
2997
  };
2998
+ toolkitSlug: string;
2999
2999
  } | {
3000
3000
  authScheme: "API_KEY";
3001
- toolkitSlug: string;
3002
3001
  val: {
3003
3002
  version?: string | undefined;
3004
3003
  "your-domain"?: string | undefined;
@@ -3034,9 +3033,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3034
3033
  } & {
3035
3034
  [k: string]: unknown;
3036
3035
  };
3036
+ toolkitSlug: string;
3037
3037
  } | {
3038
3038
  authScheme: "BASIC_WITH_JWT";
3039
- toolkitSlug: string;
3040
3039
  val: {
3041
3040
  username: string;
3042
3041
  password: string;
@@ -3074,9 +3073,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3074
3073
  } & {
3075
3074
  [k: string]: unknown;
3076
3075
  };
3076
+ toolkitSlug: string;
3077
3077
  } | {
3078
3078
  authScheme: "BASIC";
3079
- toolkitSlug: string;
3080
3079
  val: {
3081
3080
  username: string;
3082
3081
  password: string;
@@ -3114,9 +3113,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3114
3113
  } & {
3115
3114
  [k: string]: unknown;
3116
3115
  };
3116
+ toolkitSlug: string;
3117
3117
  } | {
3118
3118
  authScheme: "BEARER_TOKEN";
3119
- toolkitSlug: string;
3120
3119
  val: {
3121
3120
  token: string;
3122
3121
  version?: string | undefined;
@@ -3153,9 +3152,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3153
3152
  } & {
3154
3153
  [k: string]: unknown;
3155
3154
  };
3155
+ toolkitSlug: string;
3156
3156
  } | {
3157
3157
  authScheme: "OAUTH1";
3158
- toolkitSlug: string;
3159
3158
  val: {
3160
3159
  oauth_token: string;
3161
3160
  oauth_token_secret: string;
@@ -3190,16 +3189,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3190
3189
  registration_access_token?: string | undefined;
3191
3190
  registration_client_uri?: string | undefined;
3192
3191
  composio_link_redirect_url?: string | undefined;
3193
- consumer_key?: string | undefined;
3194
- oauth_verifier?: string | undefined;
3195
3192
  redirectUrl?: string | undefined;
3196
3193
  callback_url?: string | undefined;
3194
+ consumer_key?: string | undefined;
3195
+ oauth_verifier?: string | undefined;
3197
3196
  } & {
3198
3197
  [k: string]: unknown;
3199
3198
  };
3199
+ toolkitSlug: string;
3200
3200
  } | {
3201
3201
  authScheme: "NO_AUTH";
3202
- toolkitSlug: string;
3203
3202
  val: {
3204
3203
  version?: string | undefined;
3205
3204
  "your-domain"?: string | undefined;
@@ -3235,9 +3234,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3235
3234
  } & {
3236
3235
  [k: string]: unknown;
3237
3236
  };
3237
+ toolkitSlug: string;
3238
3238
  } | {
3239
3239
  authScheme: "SERVICE_ACCOUNT";
3240
- toolkitSlug: string;
3241
3240
  val: {
3242
3241
  application_id: string;
3243
3242
  installation_id: string;
@@ -3276,6 +3275,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3276
3275
  } & {
3277
3276
  [k: string]: unknown;
3278
3277
  };
3278
+ toolkitSlug: string;
3279
3279
  } | undefined;
3280
3280
  arguments?: Record<string, unknown> | undefined;
3281
3281
  userId?: string | undefined;
@@ -3304,14 +3304,14 @@ declare const ToolExecuteResponseSchema: z$1.ZodObject<{
3304
3304
  logId: z$1.ZodOptional<z$1.ZodString>;
3305
3305
  sessionInfo: z$1.ZodOptional<z$1.ZodUnknown>;
3306
3306
  }, "strip", z$1.ZodTypeAny, {
3307
- data: Record<string, unknown>;
3308
3307
  error: string | null;
3308
+ data: Record<string, unknown>;
3309
3309
  successful: boolean;
3310
3310
  logId?: string | undefined;
3311
3311
  sessionInfo?: unknown;
3312
3312
  }, {
3313
- data: Record<string, unknown>;
3314
3313
  error: string | null;
3314
+ data: Record<string, unknown>;
3315
3315
  successful: boolean;
3316
3316
  logId?: string | undefined;
3317
3317
  sessionInfo?: unknown;
@@ -3497,7 +3497,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3497
3497
  }, "status">, z$1.ZodUnknown, "strip">>;
3498
3498
  }, "strip", z$1.ZodTypeAny, {
3499
3499
  authScheme: "OAUTH2";
3500
- toolkitSlug: string;
3501
3500
  val: {
3502
3501
  access_token: string;
3503
3502
  version?: string | undefined;
@@ -3531,12 +3530,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3531
3530
  registration_access_token?: string | undefined;
3532
3531
  registration_client_uri?: string | undefined;
3533
3532
  composio_link_redirect_url?: string | undefined;
3533
+ webhook_signature?: string | undefined;
3534
3534
  id_token?: string | undefined;
3535
3535
  token_type?: string | undefined;
3536
3536
  refresh_token?: string | null | undefined;
3537
3537
  expires_in?: string | number | null | undefined;
3538
3538
  scope?: string | string[] | null | undefined;
3539
- webhook_signature?: string | undefined;
3540
3539
  authed_user?: {
3541
3540
  access_token?: string | undefined;
3542
3541
  scope?: string | undefined;
@@ -3544,9 +3543,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3544
3543
  } & {
3545
3544
  [k: string]: unknown;
3546
3545
  };
3546
+ toolkitSlug: string;
3547
3547
  }, {
3548
3548
  authScheme: "OAUTH2";
3549
- toolkitSlug: string;
3550
3549
  val: {
3551
3550
  access_token: string;
3552
3551
  version?: string | undefined;
@@ -3580,12 +3579,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3580
3579
  registration_access_token?: string | undefined;
3581
3580
  registration_client_uri?: string | undefined;
3582
3581
  composio_link_redirect_url?: string | undefined;
3582
+ webhook_signature?: string | undefined;
3583
3583
  id_token?: string | undefined;
3584
3584
  token_type?: string | undefined;
3585
3585
  refresh_token?: string | null | undefined;
3586
3586
  expires_in?: string | number | null | undefined;
3587
3587
  scope?: string | string[] | null | undefined;
3588
- webhook_signature?: string | undefined;
3589
3588
  authed_user?: {
3590
3589
  access_token?: string | undefined;
3591
3590
  scope?: string | undefined;
@@ -3593,6 +3592,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3593
3592
  } & {
3594
3593
  [k: string]: unknown;
3595
3594
  };
3595
+ toolkitSlug: string;
3596
3596
  }>, z$1.ZodObject<{
3597
3597
  authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
3598
3598
  toolkitSlug: z$1.ZodString;
@@ -3704,7 +3704,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3704
3704
  }, z$1.ZodUnknown, "strip">>;
3705
3705
  }, "strip", z$1.ZodTypeAny, {
3706
3706
  authScheme: "DCR_OAUTH";
3707
- toolkitSlug: string;
3708
3707
  val: {
3709
3708
  access_token: string;
3710
3709
  client_id: string;
@@ -3742,9 +3741,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3742
3741
  } & {
3743
3742
  [k: string]: unknown;
3744
3743
  };
3744
+ toolkitSlug: string;
3745
3745
  }, {
3746
3746
  authScheme: "DCR_OAUTH";
3747
- toolkitSlug: string;
3748
3747
  val: {
3749
3748
  access_token: string;
3750
3749
  client_id: string;
@@ -3782,6 +3781,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3782
3781
  } & {
3783
3782
  [k: string]: unknown;
3784
3783
  };
3784
+ toolkitSlug: string;
3785
3785
  }>, z$1.ZodObject<{
3786
3786
  authScheme: z$1.ZodLiteral<"API_KEY">;
3787
3787
  toolkitSlug: z$1.ZodString;
@@ -3887,7 +3887,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3887
3887
  }, z$1.ZodUnknown, "strip">>;
3888
3888
  }, "strip", z$1.ZodTypeAny, {
3889
3889
  authScheme: "API_KEY";
3890
- toolkitSlug: string;
3891
3890
  val: {
3892
3891
  version?: string | undefined;
3893
3892
  "your-domain"?: string | undefined;
@@ -3923,9 +3922,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3923
3922
  } & {
3924
3923
  [k: string]: unknown;
3925
3924
  };
3925
+ toolkitSlug: string;
3926
3926
  }, {
3927
3927
  authScheme: "API_KEY";
3928
- toolkitSlug: string;
3929
3928
  val: {
3930
3929
  version?: string | undefined;
3931
3930
  "your-domain"?: string | undefined;
@@ -3961,6 +3960,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3961
3960
  } & {
3962
3961
  [k: string]: unknown;
3963
3962
  };
3963
+ toolkitSlug: string;
3964
3964
  }>, z$1.ZodObject<{
3965
3965
  authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
3966
3966
  toolkitSlug: z$1.ZodString;
@@ -4072,7 +4072,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4072
4072
  }, z$1.ZodUnknown, "strip">>;
4073
4073
  }, "strip", z$1.ZodTypeAny, {
4074
4074
  authScheme: "BASIC_WITH_JWT";
4075
- toolkitSlug: string;
4076
4075
  val: {
4077
4076
  username: string;
4078
4077
  password: string;
@@ -4110,9 +4109,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4110
4109
  } & {
4111
4110
  [k: string]: unknown;
4112
4111
  };
4112
+ toolkitSlug: string;
4113
4113
  }, {
4114
4114
  authScheme: "BASIC_WITH_JWT";
4115
- toolkitSlug: string;
4116
4115
  val: {
4117
4116
  username: string;
4118
4117
  password: string;
@@ -4150,6 +4149,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4150
4149
  } & {
4151
4150
  [k: string]: unknown;
4152
4151
  };
4152
+ toolkitSlug: string;
4153
4153
  }>, z$1.ZodObject<{
4154
4154
  authScheme: z$1.ZodLiteral<"BASIC">;
4155
4155
  toolkitSlug: z$1.ZodString;
@@ -4261,7 +4261,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4261
4261
  }, z$1.ZodUnknown, "strip">>;
4262
4262
  }, "strip", z$1.ZodTypeAny, {
4263
4263
  authScheme: "BASIC";
4264
- toolkitSlug: string;
4265
4264
  val: {
4266
4265
  username: string;
4267
4266
  password: string;
@@ -4299,9 +4298,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4299
4298
  } & {
4300
4299
  [k: string]: unknown;
4301
4300
  };
4301
+ toolkitSlug: string;
4302
4302
  }, {
4303
4303
  authScheme: "BASIC";
4304
- toolkitSlug: string;
4305
4304
  val: {
4306
4305
  username: string;
4307
4306
  password: string;
@@ -4339,6 +4338,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4339
4338
  } & {
4340
4339
  [k: string]: unknown;
4341
4340
  };
4341
+ toolkitSlug: string;
4342
4342
  }>, z$1.ZodObject<{
4343
4343
  authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
4344
4344
  toolkitSlug: z$1.ZodString;
@@ -4447,7 +4447,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4447
4447
  }, z$1.ZodUnknown, "strip">>;
4448
4448
  }, "strip", z$1.ZodTypeAny, {
4449
4449
  authScheme: "BEARER_TOKEN";
4450
- toolkitSlug: string;
4451
4450
  val: {
4452
4451
  token: string;
4453
4452
  version?: string | undefined;
@@ -4484,9 +4483,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4484
4483
  } & {
4485
4484
  [k: string]: unknown;
4486
4485
  };
4486
+ toolkitSlug: string;
4487
4487
  }, {
4488
4488
  authScheme: "BEARER_TOKEN";
4489
- toolkitSlug: string;
4490
4489
  val: {
4491
4490
  token: string;
4492
4491
  version?: string | undefined;
@@ -4523,6 +4522,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4523
4522
  } & {
4524
4523
  [k: string]: unknown;
4525
4524
  };
4525
+ toolkitSlug: string;
4526
4526
  }>, z$1.ZodObject<{
4527
4527
  authScheme: z$1.ZodLiteral<"OAUTH1">;
4528
4528
  toolkitSlug: z$1.ZodString;
@@ -4649,7 +4649,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4649
4649
  }, "status">, z$1.ZodUnknown, "strip">>;
4650
4650
  }, "strip", z$1.ZodTypeAny, {
4651
4651
  authScheme: "OAUTH1";
4652
- toolkitSlug: string;
4653
4652
  val: {
4654
4653
  oauth_token: string;
4655
4654
  oauth_token_secret: string;
@@ -4684,16 +4683,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4684
4683
  registration_access_token?: string | undefined;
4685
4684
  registration_client_uri?: string | undefined;
4686
4685
  composio_link_redirect_url?: string | undefined;
4687
- consumer_key?: string | undefined;
4688
- oauth_verifier?: string | undefined;
4689
4686
  redirectUrl?: string | undefined;
4690
4687
  callback_url?: string | undefined;
4688
+ consumer_key?: string | undefined;
4689
+ oauth_verifier?: string | undefined;
4691
4690
  } & {
4692
4691
  [k: string]: unknown;
4693
4692
  };
4693
+ toolkitSlug: string;
4694
4694
  }, {
4695
4695
  authScheme: "OAUTH1";
4696
- toolkitSlug: string;
4697
4696
  val: {
4698
4697
  oauth_token: string;
4699
4698
  oauth_token_secret: string;
@@ -4728,13 +4727,14 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4728
4727
  registration_access_token?: string | undefined;
4729
4728
  registration_client_uri?: string | undefined;
4730
4729
  composio_link_redirect_url?: string | undefined;
4731
- consumer_key?: string | undefined;
4732
- oauth_verifier?: string | undefined;
4733
4730
  redirectUrl?: string | undefined;
4734
4731
  callback_url?: string | undefined;
4732
+ consumer_key?: string | undefined;
4733
+ oauth_verifier?: string | undefined;
4735
4734
  } & {
4736
4735
  [k: string]: unknown;
4737
4736
  };
4737
+ toolkitSlug: string;
4738
4738
  }>, z$1.ZodObject<{
4739
4739
  authScheme: z$1.ZodLiteral<"NO_AUTH">;
4740
4740
  toolkitSlug: z$1.ZodString;
@@ -4837,7 +4837,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4837
4837
  }, z$1.ZodUnknown, "strip">>;
4838
4838
  }, "strip", z$1.ZodTypeAny, {
4839
4839
  authScheme: "NO_AUTH";
4840
- toolkitSlug: string;
4841
4840
  val: {
4842
4841
  version?: string | undefined;
4843
4842
  "your-domain"?: string | undefined;
@@ -4873,9 +4872,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4873
4872
  } & {
4874
4873
  [k: string]: unknown;
4875
4874
  };
4875
+ toolkitSlug: string;
4876
4876
  }, {
4877
4877
  authScheme: "NO_AUTH";
4878
- toolkitSlug: string;
4879
4878
  val: {
4880
4879
  version?: string | undefined;
4881
4880
  "your-domain"?: string | undefined;
@@ -4911,6 +4910,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4911
4910
  } & {
4912
4911
  [k: string]: unknown;
4913
4912
  };
4913
+ toolkitSlug: string;
4914
4914
  }>, z$1.ZodObject<{
4915
4915
  authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
4916
4916
  toolkitSlug: z$1.ZodString;
@@ -5025,7 +5025,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5025
5025
  }, z$1.ZodUnknown, "strip">>;
5026
5026
  }, "strip", z$1.ZodTypeAny, {
5027
5027
  authScheme: "SERVICE_ACCOUNT";
5028
- toolkitSlug: string;
5029
5028
  val: {
5030
5029
  application_id: string;
5031
5030
  installation_id: string;
@@ -5064,9 +5063,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5064
5063
  } & {
5065
5064
  [k: string]: unknown;
5066
5065
  };
5066
+ toolkitSlug: string;
5067
5067
  }, {
5068
5068
  authScheme: "SERVICE_ACCOUNT";
5069
- toolkitSlug: string;
5070
5069
  val: {
5071
5070
  application_id: string;
5072
5071
  installation_id: string;
@@ -5105,6 +5104,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5105
5104
  } & {
5106
5105
  [k: string]: unknown;
5107
5106
  };
5107
+ toolkitSlug: string;
5108
5108
  }>]>>;
5109
5109
  }, "strip", z$1.ZodTypeAny, {
5110
5110
  endpoint: string;
@@ -5118,7 +5118,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5118
5118
  connectedAccountId?: string | undefined;
5119
5119
  customConnectionData?: {
5120
5120
  authScheme: "OAUTH2";
5121
- toolkitSlug: string;
5122
5121
  val: {
5123
5122
  access_token: string;
5124
5123
  version?: string | undefined;
@@ -5152,12 +5151,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5152
5151
  registration_access_token?: string | undefined;
5153
5152
  registration_client_uri?: string | undefined;
5154
5153
  composio_link_redirect_url?: string | undefined;
5154
+ webhook_signature?: string | undefined;
5155
5155
  id_token?: string | undefined;
5156
5156
  token_type?: string | undefined;
5157
5157
  refresh_token?: string | null | undefined;
5158
5158
  expires_in?: string | number | null | undefined;
5159
5159
  scope?: string | string[] | null | undefined;
5160
- webhook_signature?: string | undefined;
5161
5160
  authed_user?: {
5162
5161
  access_token?: string | undefined;
5163
5162
  scope?: string | undefined;
@@ -5165,9 +5164,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5165
5164
  } & {
5166
5165
  [k: string]: unknown;
5167
5166
  };
5167
+ toolkitSlug: string;
5168
5168
  } | {
5169
5169
  authScheme: "DCR_OAUTH";
5170
- toolkitSlug: string;
5171
5170
  val: {
5172
5171
  access_token: string;
5173
5172
  client_id: string;
@@ -5205,9 +5204,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5205
5204
  } & {
5206
5205
  [k: string]: unknown;
5207
5206
  };
5207
+ toolkitSlug: string;
5208
5208
  } | {
5209
5209
  authScheme: "API_KEY";
5210
- toolkitSlug: string;
5211
5210
  val: {
5212
5211
  version?: string | undefined;
5213
5212
  "your-domain"?: string | undefined;
@@ -5243,9 +5242,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5243
5242
  } & {
5244
5243
  [k: string]: unknown;
5245
5244
  };
5245
+ toolkitSlug: string;
5246
5246
  } | {
5247
5247
  authScheme: "BASIC_WITH_JWT";
5248
- toolkitSlug: string;
5249
5248
  val: {
5250
5249
  username: string;
5251
5250
  password: string;
@@ -5283,9 +5282,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5283
5282
  } & {
5284
5283
  [k: string]: unknown;
5285
5284
  };
5285
+ toolkitSlug: string;
5286
5286
  } | {
5287
5287
  authScheme: "BASIC";
5288
- toolkitSlug: string;
5289
5288
  val: {
5290
5289
  username: string;
5291
5290
  password: string;
@@ -5323,9 +5322,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5323
5322
  } & {
5324
5323
  [k: string]: unknown;
5325
5324
  };
5325
+ toolkitSlug: string;
5326
5326
  } | {
5327
5327
  authScheme: "BEARER_TOKEN";
5328
- toolkitSlug: string;
5329
5328
  val: {
5330
5329
  token: string;
5331
5330
  version?: string | undefined;
@@ -5362,9 +5361,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5362
5361
  } & {
5363
5362
  [k: string]: unknown;
5364
5363
  };
5364
+ toolkitSlug: string;
5365
5365
  } | {
5366
5366
  authScheme: "OAUTH1";
5367
- toolkitSlug: string;
5368
5367
  val: {
5369
5368
  oauth_token: string;
5370
5369
  oauth_token_secret: string;
@@ -5399,16 +5398,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5399
5398
  registration_access_token?: string | undefined;
5400
5399
  registration_client_uri?: string | undefined;
5401
5400
  composio_link_redirect_url?: string | undefined;
5402
- consumer_key?: string | undefined;
5403
- oauth_verifier?: string | undefined;
5404
5401
  redirectUrl?: string | undefined;
5405
5402
  callback_url?: string | undefined;
5403
+ consumer_key?: string | undefined;
5404
+ oauth_verifier?: string | undefined;
5406
5405
  } & {
5407
5406
  [k: string]: unknown;
5408
5407
  };
5408
+ toolkitSlug: string;
5409
5409
  } | {
5410
5410
  authScheme: "NO_AUTH";
5411
- toolkitSlug: string;
5412
5411
  val: {
5413
5412
  version?: string | undefined;
5414
5413
  "your-domain"?: string | undefined;
@@ -5444,9 +5443,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5444
5443
  } & {
5445
5444
  [k: string]: unknown;
5446
5445
  };
5446
+ toolkitSlug: string;
5447
5447
  } | {
5448
5448
  authScheme: "SERVICE_ACCOUNT";
5449
- toolkitSlug: string;
5450
5449
  val: {
5451
5450
  application_id: string;
5452
5451
  installation_id: string;
@@ -5485,6 +5484,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5485
5484
  } & {
5486
5485
  [k: string]: unknown;
5487
5486
  };
5487
+ toolkitSlug: string;
5488
5488
  } | undefined;
5489
5489
  }, {
5490
5490
  endpoint: string;
@@ -5498,7 +5498,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5498
5498
  connectedAccountId?: string | undefined;
5499
5499
  customConnectionData?: {
5500
5500
  authScheme: "OAUTH2";
5501
- toolkitSlug: string;
5502
5501
  val: {
5503
5502
  access_token: string;
5504
5503
  version?: string | undefined;
@@ -5532,12 +5531,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5532
5531
  registration_access_token?: string | undefined;
5533
5532
  registration_client_uri?: string | undefined;
5534
5533
  composio_link_redirect_url?: string | undefined;
5534
+ webhook_signature?: string | undefined;
5535
5535
  id_token?: string | undefined;
5536
5536
  token_type?: string | undefined;
5537
5537
  refresh_token?: string | null | undefined;
5538
5538
  expires_in?: string | number | null | undefined;
5539
5539
  scope?: string | string[] | null | undefined;
5540
- webhook_signature?: string | undefined;
5541
5540
  authed_user?: {
5542
5541
  access_token?: string | undefined;
5543
5542
  scope?: string | undefined;
@@ -5545,9 +5544,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5545
5544
  } & {
5546
5545
  [k: string]: unknown;
5547
5546
  };
5547
+ toolkitSlug: string;
5548
5548
  } | {
5549
5549
  authScheme: "DCR_OAUTH";
5550
- toolkitSlug: string;
5551
5550
  val: {
5552
5551
  access_token: string;
5553
5552
  client_id: string;
@@ -5585,9 +5584,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5585
5584
  } & {
5586
5585
  [k: string]: unknown;
5587
5586
  };
5587
+ toolkitSlug: string;
5588
5588
  } | {
5589
5589
  authScheme: "API_KEY";
5590
- toolkitSlug: string;
5591
5590
  val: {
5592
5591
  version?: string | undefined;
5593
5592
  "your-domain"?: string | undefined;
@@ -5623,9 +5622,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5623
5622
  } & {
5624
5623
  [k: string]: unknown;
5625
5624
  };
5625
+ toolkitSlug: string;
5626
5626
  } | {
5627
5627
  authScheme: "BASIC_WITH_JWT";
5628
- toolkitSlug: string;
5629
5628
  val: {
5630
5629
  username: string;
5631
5630
  password: string;
@@ -5663,9 +5662,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5663
5662
  } & {
5664
5663
  [k: string]: unknown;
5665
5664
  };
5665
+ toolkitSlug: string;
5666
5666
  } | {
5667
5667
  authScheme: "BASIC";
5668
- toolkitSlug: string;
5669
5668
  val: {
5670
5669
  username: string;
5671
5670
  password: string;
@@ -5703,9 +5702,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5703
5702
  } & {
5704
5703
  [k: string]: unknown;
5705
5704
  };
5705
+ toolkitSlug: string;
5706
5706
  } | {
5707
5707
  authScheme: "BEARER_TOKEN";
5708
- toolkitSlug: string;
5709
5708
  val: {
5710
5709
  token: string;
5711
5710
  version?: string | undefined;
@@ -5742,9 +5741,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5742
5741
  } & {
5743
5742
  [k: string]: unknown;
5744
5743
  };
5744
+ toolkitSlug: string;
5745
5745
  } | {
5746
5746
  authScheme: "OAUTH1";
5747
- toolkitSlug: string;
5748
5747
  val: {
5749
5748
  oauth_token: string;
5750
5749
  oauth_token_secret: string;
@@ -5779,16 +5778,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5779
5778
  registration_access_token?: string | undefined;
5780
5779
  registration_client_uri?: string | undefined;
5781
5780
  composio_link_redirect_url?: string | undefined;
5782
- consumer_key?: string | undefined;
5783
- oauth_verifier?: string | undefined;
5784
5781
  redirectUrl?: string | undefined;
5785
5782
  callback_url?: string | undefined;
5783
+ consumer_key?: string | undefined;
5784
+ oauth_verifier?: string | undefined;
5786
5785
  } & {
5787
5786
  [k: string]: unknown;
5788
5787
  };
5788
+ toolkitSlug: string;
5789
5789
  } | {
5790
5790
  authScheme: "NO_AUTH";
5791
- toolkitSlug: string;
5792
5791
  val: {
5793
5792
  version?: string | undefined;
5794
5793
  "your-domain"?: string | undefined;
@@ -5824,9 +5823,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5824
5823
  } & {
5825
5824
  [k: string]: unknown;
5826
5825
  };
5826
+ toolkitSlug: string;
5827
5827
  } | {
5828
5828
  authScheme: "SERVICE_ACCOUNT";
5829
- toolkitSlug: string;
5830
5829
  val: {
5831
5830
  application_id: string;
5832
5831
  installation_id: string;
@@ -5865,6 +5864,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5865
5864
  } & {
5866
5865
  [k: string]: unknown;
5867
5866
  };
5867
+ toolkitSlug: string;
5868
5868
  } | undefined;
5869
5869
  }>;
5870
5870
  type ToolProxyParams = z$1.infer<typeof ToolProxyParamsSchema>;
@@ -6259,64 +6259,224 @@ type ExecuteToolModifiers = {
6259
6259
  afterExecute?: afterExecuteModifier;
6260
6260
  };
6261
6261
  /**
6262
- * Options for agentic tool configuration.
6262
+ * Type alias for meta tool execution arguments.
6263
+ * Represents the arguments passed to a meta tool during execution.
6264
+ * This is derived from ToolExecuteMetaParams but guaranteed to be non-null.
6265
+ */
6266
+ type MetaToolArguments = NonNullable<ToolExecuteMetaParams['arguments']>;
6267
+ /**
6268
+ * Modifier for altering the meta tool execute parameters before execution in a session context.
6263
6269
  *
6264
- * These options combine schema modification capabilities with execution behavior
6265
- * customization, providing full control over both the definition and execution
6266
- * of tools in agentic contexts (like LLM providers).
6270
+ * This function is specifically designed for meta tools executed within a tool router session,
6271
+ * allowing you to intercept and modify the parameters before execution. Meta tools are
6272
+ * grouped under the 'composio' toolkit slug for organizational purposes.
6273
+ *
6274
+ * @param {string} toolSlug - The slug identifier of the meta tool being executed
6275
+ * @param {string} toolkitSlug - The toolkit slug (always 'composio' for meta tools)
6276
+ * @param {string} sessionId - The session ID for the tool router context
6277
+ * @param {MetaToolArguments} params - The parameters being passed to the meta tool
6278
+ * @returns {MetaToolArguments} The modified parameters
6267
6279
  *
6268
6280
  * @example
6269
6281
  * ```typescript
6270
- * // Configure agentic tools with schema and execution modifications
6271
- * const agenticTools = await vercel.tools.get('default', 'GITHUB_GET_REPOS', {
6272
- * modifySchema: (context) => {
6273
- * return {
6274
- * ...context.schema,
6275
- * description: `Enhanced ${context.toolSlug} for better context`
6276
- * };
6277
- * },
6278
- *
6279
- * // Intercept before execution
6280
- * beforeExecute: (context) => {
6281
- * // Add analytics tracking
6282
- * trackToolUsage(context.toolSlug);
6283
- * return context.params;
6284
- * },
6282
+ * const beforeExecuteMeta = ({ toolSlug, toolkitSlug, sessionId, params }) => {
6283
+ * console.log(`Executing ${toolkitSlug} meta tool ${toolSlug} in session ${sessionId}`);
6285
6284
  *
6286
- * // Transform after execution
6287
- * afterExecute: (context) => {
6288
- * // Log results and handle errors
6289
- * if (!context.result.successful) {
6290
- * logToolError(context.toolSlug, context.result.error);
6291
- * }
6292
- * return context.result;
6293
- * }
6294
- * });
6285
+ * // Add or modify parameters
6286
+ * return {
6287
+ * ...params,
6288
+ * timestamp: new Date().toISOString()
6289
+ * };
6290
+ * };
6295
6291
  * ```
6296
6292
  */
6297
- type AgenticToolOptions = ToolOptions & ExecuteToolModifiers;
6293
+ type beforeExecuteMetaModifier = (context: {
6294
+ toolSlug: string;
6295
+ toolkitSlug: string;
6296
+ sessionId: string;
6297
+ params: MetaToolArguments;
6298
+ }) => Promise<MetaToolArguments> | MetaToolArguments;
6298
6299
  /**
6299
- * Provider-specific options determined by the type of provider being used.
6300
+ * Modifier for altering the meta tool execution response after execution completes in a session context.
6300
6301
  *
6301
- * This type automatically resolves to either AgenticToolOptions or ToolOptions
6302
- * based on whether the provider is agentic (like OpenAI or Vercel) or non-agentic.
6302
+ * This function is specifically designed for meta tools executed within a tool router session,
6303
+ * allowing you to intercept and modify the response after execution. This is useful for
6304
+ * session-specific transformations, logging, or error handling.
6303
6305
  *
6304
- * @template T - The provider type
6306
+ * @param {string} toolSlug - The slug identifier of the meta tool that was executed
6307
+ * @param {string} toolkitSlug - The toolkit slug (always 'composio' for meta tools)
6308
+ * @param {string} sessionId - The session ID for the tool router context
6309
+ * @param {ToolExecuteResponse} result - The original execution response
6310
+ * @returns {ToolExecuteResponse} The modified execution response
6305
6311
  *
6306
6312
  * @example
6307
6313
  * ```typescript
6308
- * // With standard provider (non-agentic)
6309
- * const tools = await composio.tools.get('default', 'GITHUB_GET_REPOS', {
6310
- * modifySchema: (context) => context.schema
6311
- * });
6314
+ * const afterExecuteMeta = ({ toolSlug, toolkitSlug, sessionId, result }) => {
6315
+ * // Log session-specific execution
6316
+ * console.log(`${toolkitSlug} meta tool ${toolSlug} completed in session ${sessionId}`);
6312
6317
  *
6313
- * // With agentic provider (e.g., VercelProvider)
6314
- * const vercel = new Composio({
6315
- * apiKey: process.env.COMPOSIO_API_KEY,
6316
- * provider: new VercelProvider()
6317
- * });
6318
+ * if (!result.successful) {
6319
+ * console.error(`Session ${sessionId} error:`, result.error);
6320
+ * }
6318
6321
  *
6319
- * const agenticTools = await vercel.tools.get('default', 'GITHUB_GET_REPOS', {
6322
+ * return result;
6323
+ * };
6324
+ * ```
6325
+ */
6326
+ type afterExecuteMetaModifier = (context: {
6327
+ toolSlug: string;
6328
+ toolkitSlug: string;
6329
+ sessionId: string;
6330
+ result: ToolExecuteResponse;
6331
+ }) => Promise<ToolExecuteResponse> | ToolExecuteResponse;
6332
+ /**
6333
+ * Modifiers specifically for meta tool execution within a session context.
6334
+ *
6335
+ * These modifiers are designed for tool router session-based meta tool execution,
6336
+ * providing hooks to intercept and modify both the request and response of meta tools.
6337
+ * Meta tools are grouped under the 'composio' toolkit for organizational consistency.
6338
+ *
6339
+ * @example
6340
+ * ```typescript
6341
+ * const metaModifiers: SessionExecuteMetaModifiers = {
6342
+ * beforeExecute: ({ toolSlug, toolkitSlug, sessionId, params }) => {
6343
+ * // Add session tracking
6344
+ * console.log(`Executing ${toolkitSlug}/${toolSlug}`);
6345
+ * return {
6346
+ * ...params,
6347
+ * sessionMetadata: {
6348
+ * startTime: Date.now(),
6349
+ * sessionId
6350
+ * }
6351
+ * };
6352
+ * },
6353
+ *
6354
+ * afterExecute: ({ toolSlug, toolkitSlug, sessionId, result }) => {
6355
+ * // Transform session results
6356
+ * return {
6357
+ * ...result,
6358
+ * sessionInfo: {
6359
+ * sessionId,
6360
+ * toolSlug,
6361
+ * toolkitSlug,
6362
+ * completedAt: new Date().toISOString()
6363
+ * }
6364
+ * };
6365
+ * }
6366
+ * };
6367
+ * ```
6368
+ */
6369
+ type SessionExecuteMetaModifiers = {
6370
+ /**
6371
+ * Function to intercept and modify meta tool execution parameters before the tool is executed.
6372
+ * This allows customizing the request based on session-specific needs.
6373
+ */
6374
+ beforeExecute?: beforeExecuteMetaModifier;
6375
+ /**
6376
+ * Function to intercept and modify meta tool execution responses after the tool has executed.
6377
+ * This allows transforming the response or implementing custom session-specific handling.
6378
+ */
6379
+ afterExecute?: afterExecuteMetaModifier;
6380
+ };
6381
+ /**
6382
+ * Options for agentic tool configuration.
6383
+ *
6384
+ * These options combine schema modification capabilities with execution behavior
6385
+ * customization, providing full control over both the definition and execution
6386
+ * of tools in agentic contexts (like LLM providers).
6387
+ *
6388
+ * @example
6389
+ * ```typescript
6390
+ * // Configure agentic tools with schema and execution modifications
6391
+ * const agenticTools = await vercel.tools.get('default', 'GITHUB_GET_REPOS', {
6392
+ * modifySchema: (context) => {
6393
+ * return {
6394
+ * ...context.schema,
6395
+ * description: `Enhanced ${context.toolSlug} for better context`
6396
+ * };
6397
+ * },
6398
+ *
6399
+ * // Intercept before execution
6400
+ * beforeExecute: (context) => {
6401
+ * // Add analytics tracking
6402
+ * trackToolUsage(context.toolSlug);
6403
+ * return context.params;
6404
+ * },
6405
+ *
6406
+ * // Transform after execution
6407
+ * afterExecute: (context) => {
6408
+ * // Log results and handle errors
6409
+ * if (!context.result.successful) {
6410
+ * logToolError(context.toolSlug, context.result.error);
6411
+ * }
6412
+ * return context.result;
6413
+ * }
6414
+ * });
6415
+ * ```
6416
+ */
6417
+ type AgenticToolOptions = ToolOptions & ExecuteToolModifiers;
6418
+ /**
6419
+ * Options for session-based meta tool configuration in tool router contexts.
6420
+ *
6421
+ * These options combine schema modification capabilities with session-specific execution
6422
+ * behavior customization, providing control over both the definition and execution
6423
+ * of meta tools within a tool router session. Meta tools are grouped under the 'composio' toolkit.
6424
+ *
6425
+ * @example
6426
+ * ```typescript
6427
+ * // Configure meta tools with schema and session-specific execution modifications
6428
+ * const sessionTools = await toolRouter.getTools(sessionId, {
6429
+ * modifySchema: (context) => {
6430
+ * return {
6431
+ * ...context.schema,
6432
+ * description: `Session-specific ${context.toolSlug}`
6433
+ * };
6434
+ * },
6435
+ *
6436
+ * // Intercept before meta tool execution
6437
+ * beforeExecute: ({ toolSlug, toolkitSlug, sessionId, params }) => {
6438
+ * // Add session tracking
6439
+ * console.log(`Executing ${toolkitSlug}/${toolSlug}`);
6440
+ * return {
6441
+ * ...params,
6442
+ * sessionMetadata: { sessionId, timestamp: Date.now() }
6443
+ * };
6444
+ * },
6445
+ *
6446
+ * // Transform after meta tool execution
6447
+ * afterExecute: ({ toolSlug, toolkitSlug, sessionId, result }) => {
6448
+ * // Log session results
6449
+ * if (!result.successful) {
6450
+ * logSessionError(sessionId, toolkitSlug, toolSlug, result.error);
6451
+ * }
6452
+ * return result;
6453
+ * }
6454
+ * });
6455
+ * ```
6456
+ */
6457
+ type SessionMetaToolOptions = ToolOptions & SessionExecuteMetaModifiers;
6458
+ /**
6459
+ * Provider-specific options determined by the type of provider being used.
6460
+ *
6461
+ * This type automatically resolves to either AgenticToolOptions or ToolOptions
6462
+ * based on whether the provider is agentic (like OpenAI or Vercel) or non-agentic.
6463
+ *
6464
+ * @template T - The provider type
6465
+ *
6466
+ * @example
6467
+ * ```typescript
6468
+ * // With standard provider (non-agentic)
6469
+ * const tools = await composio.tools.get('default', 'GITHUB_GET_REPOS', {
6470
+ * modifySchema: (context) => context.schema
6471
+ * });
6472
+ *
6473
+ * // With agentic provider (e.g., VercelProvider)
6474
+ * const vercel = new Composio({
6475
+ * apiKey: process.env.COMPOSIO_API_KEY,
6476
+ * provider: new VercelProvider()
6477
+ * });
6478
+ *
6479
+ * const agenticTools = await vercel.tools.get('default', 'GITHUB_GET_REPOS', {
6320
6480
  * modifySchema: (context) => context.schema,
6321
6481
  * beforeExecute: (context) => context.params,
6322
6482
  * afterExecute: (context) => context.result
@@ -10937,13 +11097,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
10937
11097
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
10938
11098
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
10939
11099
  } & {
10940
- status: z$1.ZodLiteral<"ACTIVE">;
11100
+ status: z$1.ZodLiteral<"INITIATED">;
11101
+ authUri: z$1.ZodString;
10941
11102
  oauth_token: z$1.ZodString;
10942
11103
  oauth_token_secret: z$1.ZodString;
10943
- consumer_key: z$1.ZodOptional<z$1.ZodString>;
10944
- oauth_verifier: z$1.ZodOptional<z$1.ZodString>;
10945
- redirectUrl: z$1.ZodOptional<z$1.ZodString>;
10946
- callback_url: z$1.ZodOptional<z$1.ZodString>;
11104
+ redirectUrl: z$1.ZodString;
11105
+ callbackUrl: z$1.ZodOptional<z$1.ZodString>;
10947
11106
  }, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
10948
11107
  subdomain: z$1.ZodOptional<z$1.ZodString>;
10949
11108
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -10977,12 +11136,13 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
10977
11136
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
10978
11137
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
10979
11138
  } & {
10980
- status: z$1.ZodLiteral<"INITIATED">;
10981
- authUri: z$1.ZodString;
11139
+ status: z$1.ZodLiteral<"ACTIVE">;
10982
11140
  oauth_token: z$1.ZodString;
10983
11141
  oauth_token_secret: z$1.ZodString;
10984
- redirectUrl: z$1.ZodString;
10985
- callbackUrl: z$1.ZodOptional<z$1.ZodString>;
11142
+ consumer_key: z$1.ZodOptional<z$1.ZodString>;
11143
+ oauth_verifier: z$1.ZodOptional<z$1.ZodString>;
11144
+ redirectUrl: z$1.ZodOptional<z$1.ZodString>;
11145
+ callback_url: z$1.ZodOptional<z$1.ZodString>;
10986
11146
  }, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
10987
11147
  subdomain: z$1.ZodOptional<z$1.ZodString>;
10988
11148
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -11164,13 +11324,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
11164
11324
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
11165
11325
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
11166
11326
  } & {
11167
- status: z$1.ZodLiteral<"ACTIVE">;
11327
+ status: z$1.ZodLiteral<"INITIATED">;
11328
+ authUri: z$1.ZodString;
11168
11329
  oauth_token: z$1.ZodString;
11169
11330
  oauth_token_secret: z$1.ZodString;
11170
- consumer_key: z$1.ZodOptional<z$1.ZodString>;
11171
- oauth_verifier: z$1.ZodOptional<z$1.ZodString>;
11172
- redirectUrl: z$1.ZodOptional<z$1.ZodString>;
11173
- callback_url: z$1.ZodOptional<z$1.ZodString>;
11331
+ redirectUrl: z$1.ZodString;
11332
+ callbackUrl: z$1.ZodOptional<z$1.ZodString>;
11174
11333
  }, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
11175
11334
  subdomain: z$1.ZodOptional<z$1.ZodString>;
11176
11335
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -11204,12 +11363,13 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
11204
11363
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
11205
11364
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
11206
11365
  } & {
11207
- status: z$1.ZodLiteral<"INITIATED">;
11208
- authUri: z$1.ZodString;
11366
+ status: z$1.ZodLiteral<"ACTIVE">;
11209
11367
  oauth_token: z$1.ZodString;
11210
11368
  oauth_token_secret: z$1.ZodString;
11211
- redirectUrl: z$1.ZodString;
11212
- callbackUrl: z$1.ZodOptional<z$1.ZodString>;
11369
+ consumer_key: z$1.ZodOptional<z$1.ZodString>;
11370
+ oauth_verifier: z$1.ZodOptional<z$1.ZodString>;
11371
+ redirectUrl: z$1.ZodOptional<z$1.ZodString>;
11372
+ callback_url: z$1.ZodOptional<z$1.ZodString>;
11213
11373
  }, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
11214
11374
  subdomain: z$1.ZodOptional<z$1.ZodString>;
11215
11375
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -12135,24 +12295,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
12135
12295
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
12136
12296
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
12137
12297
  } & {
12138
- status: z$1.ZodLiteral<"ACTIVE">;
12139
- access_token: z$1.ZodString;
12140
- id_token: z$1.ZodOptional<z$1.ZodString>;
12141
- token_type: z$1.ZodOptional<z$1.ZodString>;
12142
- refresh_token: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12143
- expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
12144
- scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
12298
+ status: z$1.ZodLiteral<"INITIATED">;
12299
+ code_verifier: z$1.ZodOptional<z$1.ZodString>;
12300
+ redirectUrl: z$1.ZodString;
12301
+ callback_url: z$1.ZodOptional<z$1.ZodString>;
12302
+ finalRedirectUri: z$1.ZodOptional<z$1.ZodString>;
12145
12303
  webhook_signature: z$1.ZodOptional<z$1.ZodString>;
12146
- authed_user: z$1.ZodOptional<z$1.ZodObject<{
12147
- access_token: z$1.ZodOptional<z$1.ZodString>;
12148
- scope: z$1.ZodOptional<z$1.ZodString>;
12149
- }, "strip", z$1.ZodTypeAny, {
12150
- access_token?: string | undefined;
12151
- scope?: string | undefined;
12152
- }, {
12153
- access_token?: string | undefined;
12154
- scope?: string | undefined;
12155
- }>>;
12156
12304
  }, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
12157
12305
  subdomain: z$1.ZodOptional<z$1.ZodString>;
12158
12306
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -12186,12 +12334,24 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
12186
12334
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
12187
12335
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
12188
12336
  } & {
12189
- status: z$1.ZodLiteral<"INITIATED">;
12190
- code_verifier: z$1.ZodOptional<z$1.ZodString>;
12191
- redirectUrl: z$1.ZodString;
12192
- callback_url: z$1.ZodOptional<z$1.ZodString>;
12193
- finalRedirectUri: z$1.ZodOptional<z$1.ZodString>;
12337
+ status: z$1.ZodLiteral<"ACTIVE">;
12338
+ access_token: z$1.ZodString;
12339
+ id_token: z$1.ZodOptional<z$1.ZodString>;
12340
+ token_type: z$1.ZodOptional<z$1.ZodString>;
12341
+ refresh_token: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12342
+ expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
12343
+ scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
12194
12344
  webhook_signature: z$1.ZodOptional<z$1.ZodString>;
12345
+ authed_user: z$1.ZodOptional<z$1.ZodObject<{
12346
+ access_token: z$1.ZodOptional<z$1.ZodString>;
12347
+ scope: z$1.ZodOptional<z$1.ZodString>;
12348
+ }, "strip", z$1.ZodTypeAny, {
12349
+ access_token?: string | undefined;
12350
+ scope?: string | undefined;
12351
+ }, {
12352
+ access_token?: string | undefined;
12353
+ scope?: string | undefined;
12354
+ }>>;
12195
12355
  }, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
12196
12356
  subdomain: z$1.ZodOptional<z$1.ZodString>;
12197
12357
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -12384,24 +12544,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
12384
12544
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
12385
12545
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
12386
12546
  } & {
12387
- status: z$1.ZodLiteral<"ACTIVE">;
12388
- access_token: z$1.ZodString;
12389
- id_token: z$1.ZodOptional<z$1.ZodString>;
12390
- token_type: z$1.ZodOptional<z$1.ZodString>;
12391
- refresh_token: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12392
- expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
12393
- scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
12547
+ status: z$1.ZodLiteral<"INITIATED">;
12548
+ code_verifier: z$1.ZodOptional<z$1.ZodString>;
12549
+ redirectUrl: z$1.ZodString;
12550
+ callback_url: z$1.ZodOptional<z$1.ZodString>;
12551
+ finalRedirectUri: z$1.ZodOptional<z$1.ZodString>;
12394
12552
  webhook_signature: z$1.ZodOptional<z$1.ZodString>;
12395
- authed_user: z$1.ZodOptional<z$1.ZodObject<{
12396
- access_token: z$1.ZodOptional<z$1.ZodString>;
12397
- scope: z$1.ZodOptional<z$1.ZodString>;
12398
- }, "strip", z$1.ZodTypeAny, {
12399
- access_token?: string | undefined;
12400
- scope?: string | undefined;
12401
- }, {
12402
- access_token?: string | undefined;
12403
- scope?: string | undefined;
12404
- }>>;
12405
12553
  }, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
12406
12554
  subdomain: z$1.ZodOptional<z$1.ZodString>;
12407
12555
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -12435,12 +12583,24 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
12435
12583
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
12436
12584
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
12437
12585
  } & {
12438
- status: z$1.ZodLiteral<"INITIATED">;
12439
- code_verifier: z$1.ZodOptional<z$1.ZodString>;
12440
- redirectUrl: z$1.ZodString;
12441
- callback_url: z$1.ZodOptional<z$1.ZodString>;
12442
- finalRedirectUri: z$1.ZodOptional<z$1.ZodString>;
12586
+ status: z$1.ZodLiteral<"ACTIVE">;
12587
+ access_token: z$1.ZodString;
12588
+ id_token: z$1.ZodOptional<z$1.ZodString>;
12589
+ token_type: z$1.ZodOptional<z$1.ZodString>;
12590
+ refresh_token: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12591
+ expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
12592
+ scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
12443
12593
  webhook_signature: z$1.ZodOptional<z$1.ZodString>;
12594
+ authed_user: z$1.ZodOptional<z$1.ZodObject<{
12595
+ access_token: z$1.ZodOptional<z$1.ZodString>;
12596
+ scope: z$1.ZodOptional<z$1.ZodString>;
12597
+ }, "strip", z$1.ZodTypeAny, {
12598
+ access_token?: string | undefined;
12599
+ scope?: string | undefined;
12600
+ }, {
12601
+ access_token?: string | undefined;
12602
+ scope?: string | undefined;
12603
+ }>>;
12444
12604
  }, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
12445
12605
  subdomain: z$1.ZodOptional<z$1.ZodString>;
12446
12606
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -24177,7 +24337,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24177
24337
  }, "status">, z$1.ZodUnknown, "strip">>;
24178
24338
  }, "strip", z$1.ZodTypeAny, {
24179
24339
  authScheme: "OAUTH2";
24180
- toolkitSlug: string;
24181
24340
  val: {
24182
24341
  access_token: string;
24183
24342
  version?: string | undefined;
@@ -24211,12 +24370,12 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24211
24370
  registration_access_token?: string | undefined;
24212
24371
  registration_client_uri?: string | undefined;
24213
24372
  composio_link_redirect_url?: string | undefined;
24373
+ webhook_signature?: string | undefined;
24214
24374
  id_token?: string | undefined;
24215
24375
  token_type?: string | undefined;
24216
24376
  refresh_token?: string | null | undefined;
24217
24377
  expires_in?: string | number | null | undefined;
24218
24378
  scope?: string | string[] | null | undefined;
24219
- webhook_signature?: string | undefined;
24220
24379
  authed_user?: {
24221
24380
  access_token?: string | undefined;
24222
24381
  scope?: string | undefined;
@@ -24224,9 +24383,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24224
24383
  } & {
24225
24384
  [k: string]: unknown;
24226
24385
  };
24386
+ toolkitSlug: string;
24227
24387
  }, {
24228
24388
  authScheme: "OAUTH2";
24229
- toolkitSlug: string;
24230
24389
  val: {
24231
24390
  access_token: string;
24232
24391
  version?: string | undefined;
@@ -24260,12 +24419,12 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24260
24419
  registration_access_token?: string | undefined;
24261
24420
  registration_client_uri?: string | undefined;
24262
24421
  composio_link_redirect_url?: string | undefined;
24422
+ webhook_signature?: string | undefined;
24263
24423
  id_token?: string | undefined;
24264
24424
  token_type?: string | undefined;
24265
24425
  refresh_token?: string | null | undefined;
24266
24426
  expires_in?: string | number | null | undefined;
24267
24427
  scope?: string | string[] | null | undefined;
24268
- webhook_signature?: string | undefined;
24269
24428
  authed_user?: {
24270
24429
  access_token?: string | undefined;
24271
24430
  scope?: string | undefined;
@@ -24273,6 +24432,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24273
24432
  } & {
24274
24433
  [k: string]: unknown;
24275
24434
  };
24435
+ toolkitSlug: string;
24276
24436
  }>, z$1.ZodObject<{
24277
24437
  authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
24278
24438
  toolkitSlug: z$1.ZodString;
@@ -24384,7 +24544,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24384
24544
  }, z$1.ZodUnknown, "strip">>;
24385
24545
  }, "strip", z$1.ZodTypeAny, {
24386
24546
  authScheme: "DCR_OAUTH";
24387
- toolkitSlug: string;
24388
24547
  val: {
24389
24548
  access_token: string;
24390
24549
  client_id: string;
@@ -24422,9 +24581,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24422
24581
  } & {
24423
24582
  [k: string]: unknown;
24424
24583
  };
24584
+ toolkitSlug: string;
24425
24585
  }, {
24426
24586
  authScheme: "DCR_OAUTH";
24427
- toolkitSlug: string;
24428
24587
  val: {
24429
24588
  access_token: string;
24430
24589
  client_id: string;
@@ -24462,6 +24621,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24462
24621
  } & {
24463
24622
  [k: string]: unknown;
24464
24623
  };
24624
+ toolkitSlug: string;
24465
24625
  }>, z$1.ZodObject<{
24466
24626
  authScheme: z$1.ZodLiteral<"API_KEY">;
24467
24627
  toolkitSlug: z$1.ZodString;
@@ -24567,7 +24727,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24567
24727
  }, z$1.ZodUnknown, "strip">>;
24568
24728
  }, "strip", z$1.ZodTypeAny, {
24569
24729
  authScheme: "API_KEY";
24570
- toolkitSlug: string;
24571
24730
  val: {
24572
24731
  version?: string | undefined;
24573
24732
  "your-domain"?: string | undefined;
@@ -24603,9 +24762,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24603
24762
  } & {
24604
24763
  [k: string]: unknown;
24605
24764
  };
24765
+ toolkitSlug: string;
24606
24766
  }, {
24607
24767
  authScheme: "API_KEY";
24608
- toolkitSlug: string;
24609
24768
  val: {
24610
24769
  version?: string | undefined;
24611
24770
  "your-domain"?: string | undefined;
@@ -24641,6 +24800,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24641
24800
  } & {
24642
24801
  [k: string]: unknown;
24643
24802
  };
24803
+ toolkitSlug: string;
24644
24804
  }>, z$1.ZodObject<{
24645
24805
  authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
24646
24806
  toolkitSlug: z$1.ZodString;
@@ -24752,7 +24912,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24752
24912
  }, z$1.ZodUnknown, "strip">>;
24753
24913
  }, "strip", z$1.ZodTypeAny, {
24754
24914
  authScheme: "BASIC_WITH_JWT";
24755
- toolkitSlug: string;
24756
24915
  val: {
24757
24916
  username: string;
24758
24917
  password: string;
@@ -24790,9 +24949,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24790
24949
  } & {
24791
24950
  [k: string]: unknown;
24792
24951
  };
24952
+ toolkitSlug: string;
24793
24953
  }, {
24794
24954
  authScheme: "BASIC_WITH_JWT";
24795
- toolkitSlug: string;
24796
24955
  val: {
24797
24956
  username: string;
24798
24957
  password: string;
@@ -24830,6 +24989,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24830
24989
  } & {
24831
24990
  [k: string]: unknown;
24832
24991
  };
24992
+ toolkitSlug: string;
24833
24993
  }>, z$1.ZodObject<{
24834
24994
  authScheme: z$1.ZodLiteral<"BASIC">;
24835
24995
  toolkitSlug: z$1.ZodString;
@@ -24941,7 +25101,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24941
25101
  }, z$1.ZodUnknown, "strip">>;
24942
25102
  }, "strip", z$1.ZodTypeAny, {
24943
25103
  authScheme: "BASIC";
24944
- toolkitSlug: string;
24945
25104
  val: {
24946
25105
  username: string;
24947
25106
  password: string;
@@ -24979,9 +25138,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24979
25138
  } & {
24980
25139
  [k: string]: unknown;
24981
25140
  };
25141
+ toolkitSlug: string;
24982
25142
  }, {
24983
25143
  authScheme: "BASIC";
24984
- toolkitSlug: string;
24985
25144
  val: {
24986
25145
  username: string;
24987
25146
  password: string;
@@ -25019,6 +25178,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25019
25178
  } & {
25020
25179
  [k: string]: unknown;
25021
25180
  };
25181
+ toolkitSlug: string;
25022
25182
  }>, z$1.ZodObject<{
25023
25183
  authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
25024
25184
  toolkitSlug: z$1.ZodString;
@@ -25127,7 +25287,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25127
25287
  }, z$1.ZodUnknown, "strip">>;
25128
25288
  }, "strip", z$1.ZodTypeAny, {
25129
25289
  authScheme: "BEARER_TOKEN";
25130
- toolkitSlug: string;
25131
25290
  val: {
25132
25291
  token: string;
25133
25292
  version?: string | undefined;
@@ -25164,9 +25323,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25164
25323
  } & {
25165
25324
  [k: string]: unknown;
25166
25325
  };
25326
+ toolkitSlug: string;
25167
25327
  }, {
25168
25328
  authScheme: "BEARER_TOKEN";
25169
- toolkitSlug: string;
25170
25329
  val: {
25171
25330
  token: string;
25172
25331
  version?: string | undefined;
@@ -25203,6 +25362,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25203
25362
  } & {
25204
25363
  [k: string]: unknown;
25205
25364
  };
25365
+ toolkitSlug: string;
25206
25366
  }>, z$1.ZodObject<{
25207
25367
  authScheme: z$1.ZodLiteral<"OAUTH1">;
25208
25368
  toolkitSlug: z$1.ZodString;
@@ -25329,7 +25489,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25329
25489
  }, "status">, z$1.ZodUnknown, "strip">>;
25330
25490
  }, "strip", z$1.ZodTypeAny, {
25331
25491
  authScheme: "OAUTH1";
25332
- toolkitSlug: string;
25333
25492
  val: {
25334
25493
  oauth_token: string;
25335
25494
  oauth_token_secret: string;
@@ -25364,16 +25523,16 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25364
25523
  registration_access_token?: string | undefined;
25365
25524
  registration_client_uri?: string | undefined;
25366
25525
  composio_link_redirect_url?: string | undefined;
25367
- consumer_key?: string | undefined;
25368
- oauth_verifier?: string | undefined;
25369
25526
  redirectUrl?: string | undefined;
25370
25527
  callback_url?: string | undefined;
25528
+ consumer_key?: string | undefined;
25529
+ oauth_verifier?: string | undefined;
25371
25530
  } & {
25372
25531
  [k: string]: unknown;
25373
25532
  };
25533
+ toolkitSlug: string;
25374
25534
  }, {
25375
25535
  authScheme: "OAUTH1";
25376
- toolkitSlug: string;
25377
25536
  val: {
25378
25537
  oauth_token: string;
25379
25538
  oauth_token_secret: string;
@@ -25408,13 +25567,14 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25408
25567
  registration_access_token?: string | undefined;
25409
25568
  registration_client_uri?: string | undefined;
25410
25569
  composio_link_redirect_url?: string | undefined;
25411
- consumer_key?: string | undefined;
25412
- oauth_verifier?: string | undefined;
25413
25570
  redirectUrl?: string | undefined;
25414
25571
  callback_url?: string | undefined;
25572
+ consumer_key?: string | undefined;
25573
+ oauth_verifier?: string | undefined;
25415
25574
  } & {
25416
25575
  [k: string]: unknown;
25417
25576
  };
25577
+ toolkitSlug: string;
25418
25578
  }>, z$1.ZodObject<{
25419
25579
  authScheme: z$1.ZodLiteral<"NO_AUTH">;
25420
25580
  toolkitSlug: z$1.ZodString;
@@ -25517,7 +25677,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25517
25677
  }, z$1.ZodUnknown, "strip">>;
25518
25678
  }, "strip", z$1.ZodTypeAny, {
25519
25679
  authScheme: "NO_AUTH";
25520
- toolkitSlug: string;
25521
25680
  val: {
25522
25681
  version?: string | undefined;
25523
25682
  "your-domain"?: string | undefined;
@@ -25553,9 +25712,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25553
25712
  } & {
25554
25713
  [k: string]: unknown;
25555
25714
  };
25715
+ toolkitSlug: string;
25556
25716
  }, {
25557
25717
  authScheme: "NO_AUTH";
25558
- toolkitSlug: string;
25559
25718
  val: {
25560
25719
  version?: string | undefined;
25561
25720
  "your-domain"?: string | undefined;
@@ -25591,6 +25750,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25591
25750
  } & {
25592
25751
  [k: string]: unknown;
25593
25752
  };
25753
+ toolkitSlug: string;
25594
25754
  }>, z$1.ZodObject<{
25595
25755
  authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
25596
25756
  toolkitSlug: z$1.ZodString;
@@ -25705,7 +25865,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25705
25865
  }, z$1.ZodUnknown, "strip">>;
25706
25866
  }, "strip", z$1.ZodTypeAny, {
25707
25867
  authScheme: "SERVICE_ACCOUNT";
25708
- toolkitSlug: string;
25709
25868
  val: {
25710
25869
  application_id: string;
25711
25870
  installation_id: string;
@@ -25744,9 +25903,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25744
25903
  } & {
25745
25904
  [k: string]: unknown;
25746
25905
  };
25906
+ toolkitSlug: string;
25747
25907
  }, {
25748
25908
  authScheme: "SERVICE_ACCOUNT";
25749
- toolkitSlug: string;
25750
25909
  val: {
25751
25910
  application_id: string;
25752
25911
  installation_id: string;
@@ -25785,6 +25944,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25785
25944
  } & {
25786
25945
  [k: string]: unknown;
25787
25946
  };
25947
+ toolkitSlug: string;
25788
25948
  }>]>;
25789
25949
  type CustomConnectionData = z$1.infer<typeof CustomConnectionDataSchema>;
25790
25950
  //#endregion
@@ -25891,12 +26051,12 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
25891
26051
  connectedAccountIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
25892
26052
  isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
25893
26053
  }, "strip", z$1.ZodTypeAny, {
25894
- userIds?: string[] | undefined;
25895
26054
  connectedAccountIds?: string[] | undefined;
26055
+ userIds?: string[] | undefined;
25896
26056
  isChatAuth?: boolean | undefined;
25897
26057
  }, {
25898
- userIds?: string[] | undefined;
25899
26058
  connectedAccountIds?: string[] | undefined;
26059
+ userIds?: string[] | undefined;
25900
26060
  isChatAuth?: boolean | undefined;
25901
26061
  }>;
25902
26062
  type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
@@ -25923,13 +26083,13 @@ declare const GenerateURLParamsSchema: z$1.ZodObject<{
25923
26083
  composioManagedAuth: z$1.ZodOptional<z$1.ZodBoolean>;
25924
26084
  }, "strip", z$1.ZodTypeAny, {
25925
26085
  mcpServerId: string;
25926
- userIds?: string[] | undefined;
25927
26086
  connectedAccountIds?: string[] | undefined;
26087
+ userIds?: string[] | undefined;
25928
26088
  composioManagedAuth?: boolean | undefined;
25929
26089
  }, {
25930
26090
  mcpServerId: string;
25931
- userIds?: string[] | undefined;
25932
26091
  connectedAccountIds?: string[] | undefined;
26092
+ userIds?: string[] | undefined;
25933
26093
  composioManagedAuth?: boolean | undefined;
25934
26094
  }>;
25935
26095
  type GenerateURLParams = z$1.infer<typeof GenerateURLParamsSchema>;
@@ -26455,10 +26615,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
26455
26615
  windsurf: string;
26456
26616
  };
26457
26617
  status?: string | undefined;
26618
+ createdAt?: string | undefined;
26458
26619
  tools?: string[] | undefined;
26459
26620
  toolkits?: string[] | undefined;
26460
26621
  authConfigIds?: string[] | undefined;
26461
- createdAt?: string | undefined;
26462
26622
  updatedAt?: string | undefined;
26463
26623
  managedAuthViaComposio?: boolean | undefined;
26464
26624
  }, {
@@ -26471,10 +26631,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
26471
26631
  windsurf: string;
26472
26632
  };
26473
26633
  status?: string | undefined;
26634
+ createdAt?: string | undefined;
26474
26635
  tools?: string[] | undefined;
26475
26636
  toolkits?: string[] | undefined;
26476
26637
  authConfigIds?: string[] | undefined;
26477
- createdAt?: string | undefined;
26478
26638
  updatedAt?: string | undefined;
26479
26639
  managedAuthViaComposio?: boolean | undefined;
26480
26640
  }>;
@@ -26544,17 +26704,17 @@ declare const McpUpdateResponseSchema: z$1.ZodObject<{
26544
26704
  name: string;
26545
26705
  id: string;
26546
26706
  status?: string | undefined;
26707
+ createdAt?: string | undefined;
26547
26708
  tools?: string[] | undefined;
26548
26709
  toolkits?: string[] | undefined;
26549
- createdAt?: string | undefined;
26550
26710
  updatedAt?: string | undefined;
26551
26711
  }, {
26552
26712
  name: string;
26553
26713
  id: string;
26554
26714
  status?: string | undefined;
26715
+ createdAt?: string | undefined;
26555
26716
  tools?: string[] | undefined;
26556
26717
  toolkits?: string[] | undefined;
26557
- createdAt?: string | undefined;
26558
26718
  updatedAt?: string | undefined;
26559
26719
  }>;
26560
26720
  declare const ComposioMcpUpdateResponseSchema: z$1.ZodObject<{
@@ -26848,6 +27008,23 @@ declare class Tools<TToolCollection$1, TTool$1, TProvider extends BaseComposioPr
26848
27008
  * ```
26849
27009
  */
26850
27010
  getRawComposioTools(query: ToolListParams, options?: SchemaModifierOptions): Promise<ToolList>;
27011
+ /**
27012
+ * Fetches the meta tools for a tool router session.
27013
+ * This method fetches the meta tools from the Composio API and transforms them to the expected format.
27014
+ * It provides access to the underlying meta tool data without provider-specific wrapping.
27015
+ *
27016
+ * @param sessionId {string} The session id to get the meta tools for
27017
+ * @param options {SchemaModifierOptions} Optional configuration for tool retrieval
27018
+ * @param {TransformToolSchemaModifier} [options.modifySchema] - Function to transform the tool schema
27019
+ * @returns {Promise<ToolList>} The list of meta tools
27020
+ *
27021
+ * @example
27022
+ * ```typescript
27023
+ * const metaTools = await composio.tools.getRawToolRouterMetaTools('session_123');
27024
+ * console.log(metaTools);
27025
+ * ```
27026
+ */
27027
+ getRawToolRouterMetaTools(sessionId: string, options?: SchemaModifierOptions): Promise<ToolList>;
26851
27028
  /**
26852
27029
  * Retrieves a specific tool by its slug from the Composio API.
26853
27030
  *
@@ -26983,10 +27160,10 @@ declare class Tools<TToolCollection$1, TTool$1, TProvider extends BaseComposioPr
26983
27160
  *
26984
27161
  * @param {string} sessionId - The session id to execute the tool for
26985
27162
  * @param {Tool[]} tools - The tools to wrap
26986
- * @param {ExecuteToolModifiers} modifiers - The modifiers to apply to the tool
27163
+ * @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
26987
27164
  * @returns {Tool[]} The wrapped tools
26988
27165
  */
26989
- wrapToolsForToolRouter(sessionId: string, tools: Tool[], modifiers?: ExecuteToolModifiers): Tool[];
27166
+ wrapToolsForToolRouter(sessionId: string, tools: Tool[], modifiers?: SessionExecuteMetaModifiers): Tool[];
26990
27167
  /**
26991
27168
  * @internal
26992
27169
  * @description
@@ -27003,7 +27180,7 @@ declare class Tools<TToolCollection$1, TTool$1, TProvider extends BaseComposioPr
27003
27180
  * Creates a function that executes a tool for a tool router session
27004
27181
  *
27005
27182
  * @param {string} sessionId - The session id to execute the tool for
27006
- * @param {ExecuteToolModifiers} modifiers - The modifiers to apply to the tool
27183
+ * @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
27007
27184
  * @returns {ExecuteToolFn} The execute tool function
27008
27185
  */
27009
27186
  private createExecuteToolFnForToolRouter;
@@ -27096,10 +27273,10 @@ declare class Tools<TToolCollection$1, TTool$1, TProvider extends BaseComposioPr
27096
27273
  * @param {ToolExecuteMetaParams} body - The execution parameters
27097
27274
  * @param {string} body.sessionId - The session id to execute the tool for
27098
27275
  * @param {Record<string, unknown>} body.arguments - The input to pass to the tool
27099
- * @param {ExecuteToolModifiers} modifiers - The modifiers to apply to the tool
27276
+ * @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
27100
27277
  * @returns {Promise<ToolExecuteResponse>} The response from the tool execution
27101
27278
  */
27102
- executeMetaTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: ExecuteToolModifiers): Promise<ToolExecuteResponse>;
27279
+ executeMetaTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers): Promise<ToolExecuteResponse>;
27103
27280
  /**
27104
27281
  * Fetches the list of all available tools in the Composio SDK.
27105
27282
  *
@@ -27219,14 +27396,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
27219
27396
  cursor: z$1.ZodOptional<z$1.ZodString>;
27220
27397
  limit: z$1.ZodOptional<z$1.ZodNumber>;
27221
27398
  }, "strip", z$1.ZodTypeAny, {
27222
- limit?: number | undefined;
27223
27399
  cursor?: string | undefined;
27400
+ limit?: number | undefined;
27224
27401
  category?: string | undefined;
27225
27402
  managedBy?: "all" | "composio" | "project" | undefined;
27226
27403
  sortBy?: "usage" | "alphabetically" | undefined;
27227
27404
  }, {
27228
- limit?: number | undefined;
27229
27405
  cursor?: string | undefined;
27406
+ limit?: number | undefined;
27230
27407
  category?: string | undefined;
27231
27408
  managedBy?: "all" | "composio" | "project" | undefined;
27232
27409
  sortBy?: "usage" | "alphabetically" | undefined;
@@ -28458,31 +28635,31 @@ declare const CreateConnectedAccountParamsSchema: z$1.ZodObject<{
28458
28635
  callbackUrl: z$1.ZodOptional<z$1.ZodString>;
28459
28636
  userId: z$1.ZodOptional<z$1.ZodString>;
28460
28637
  }, "strip", z$1.ZodTypeAny, {
28638
+ callbackUrl?: string | undefined;
28461
28639
  userId?: string | undefined;
28462
28640
  data?: Record<string, unknown> | undefined;
28463
- callbackUrl?: string | undefined;
28464
28641
  }, {
28642
+ callbackUrl?: string | undefined;
28465
28643
  userId?: string | undefined;
28466
28644
  data?: Record<string, unknown> | undefined;
28467
- callbackUrl?: string | undefined;
28468
28645
  }>;
28469
28646
  }, "strip", z$1.ZodTypeAny, {
28470
28647
  authConfig: {
28471
28648
  id: string;
28472
28649
  };
28473
28650
  connection: {
28651
+ callbackUrl?: string | undefined;
28474
28652
  userId?: string | undefined;
28475
28653
  data?: Record<string, unknown> | undefined;
28476
- callbackUrl?: string | undefined;
28477
28654
  };
28478
28655
  }, {
28479
28656
  authConfig: {
28480
28657
  id: string;
28481
28658
  };
28482
28659
  connection: {
28660
+ callbackUrl?: string | undefined;
28483
28661
  userId?: string | undefined;
28484
28662
  data?: Record<string, unknown> | undefined;
28485
- callbackUrl?: string | undefined;
28486
28663
  };
28487
28664
  }>;
28488
28665
  declare const DefaultCreateConnectedAccountParamsSchema: z$1.ZodType<{
@@ -28512,12 +28689,12 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
28512
28689
  redirectUrl: z$1.ZodNullable<z$1.ZodString>;
28513
28690
  }, "strip", z$1.ZodTypeAny, {
28514
28691
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28515
- redirectUrl: string | null;
28516
28692
  id: string;
28693
+ redirectUrl: string | null;
28517
28694
  }, {
28518
28695
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28519
- redirectUrl: string | null;
28520
28696
  id: string;
28697
+ redirectUrl: string | null;
28521
28698
  }>;
28522
28699
  type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
28523
28700
  declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
@@ -28566,17 +28743,17 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
28566
28743
  toolkitSlugs: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
28567
28744
  userIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
28568
28745
  }, "strip", z$1.ZodTypeAny, {
28746
+ cursor?: string | null | undefined;
28569
28747
  limit?: number | null | undefined;
28570
28748
  authConfigIds?: string[] | null | undefined;
28571
- cursor?: string | null | undefined;
28572
28749
  orderBy?: "created_at" | "updated_at" | undefined;
28573
28750
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28574
28751
  toolkitSlugs?: string[] | null | undefined;
28575
28752
  userIds?: string[] | null | undefined;
28576
28753
  }, {
28754
+ cursor?: string | null | undefined;
28577
28755
  limit?: number | null | undefined;
28578
28756
  authConfigIds?: string[] | null | undefined;
28579
- cursor?: string | null | undefined;
28580
28757
  orderBy?: "created_at" | "updated_at" | undefined;
28581
28758
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28582
28759
  toolkitSlugs?: string[] | null | undefined;
@@ -28767,8 +28944,8 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
28767
28944
  }>>;
28768
28945
  }, "strip", z$1.ZodTypeAny, {
28769
28946
  type: "use_custom_auth";
28770
- 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";
28771
28947
  credentials: Record<string, string | number | boolean>;
28948
+ 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";
28772
28949
  name?: string | undefined;
28773
28950
  proxyConfig?: {
28774
28951
  proxyUrl: string;
@@ -28779,8 +28956,8 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
28779
28956
  } | undefined;
28780
28957
  }, {
28781
28958
  type: "use_custom_auth";
28782
- 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";
28783
28959
  credentials: Record<string, string | number | boolean>;
28960
+ 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";
28784
28961
  name?: string | undefined;
28785
28962
  proxyConfig?: {
28786
28963
  proxyUrl: string;
@@ -28843,8 +29020,8 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
28843
29020
  }>>;
28844
29021
  }, "strip", z$1.ZodTypeAny, {
28845
29022
  type: "use_custom_auth";
28846
- 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";
28847
29023
  credentials: Record<string, string | number | boolean>;
29024
+ 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";
28848
29025
  name?: string | undefined;
28849
29026
  proxyConfig?: {
28850
29027
  proxyUrl: string;
@@ -28855,8 +29032,8 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
28855
29032
  } | undefined;
28856
29033
  }, {
28857
29034
  type: "use_custom_auth";
28858
- 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";
28859
29035
  credentials: Record<string, string | number | boolean>;
29036
+ 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";
28860
29037
  name?: string | undefined;
28861
29038
  proxyConfig?: {
28862
29039
  proxyUrl: string;
@@ -28956,8 +29133,8 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
28956
29133
  id: string;
28957
29134
  noOfConnections: number;
28958
29135
  uuid: string;
28959
- 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" | undefined;
28960
29136
  credentials?: Record<string, unknown> | undefined;
29137
+ 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" | undefined;
28961
29138
  toolAccessConfig?: {
28962
29139
  toolsForConnectedAccountCreation?: string[] | undefined;
28963
29140
  toolsAvailableForExecution?: string[] | undefined;
@@ -28978,8 +29155,8 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
28978
29155
  id: string;
28979
29156
  noOfConnections: number;
28980
29157
  uuid: string;
28981
- 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" | undefined;
28982
29158
  credentials?: Record<string, unknown> | undefined;
29159
+ 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" | undefined;
28983
29160
  toolAccessConfig?: {
28984
29161
  toolsForConnectedAccountCreation?: string[] | undefined;
28985
29162
  toolsAvailableForExecution?: string[] | undefined;
@@ -28999,14 +29176,14 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
28999
29176
  toolkit: z$1.ZodOptional<z$1.ZodString>;
29000
29177
  }, "strip", z$1.ZodTypeAny, {
29001
29178
  toolkit?: string | undefined;
29002
- limit?: number | undefined;
29003
29179
  isComposioManaged?: boolean | undefined;
29004
29180
  cursor?: string | undefined;
29181
+ limit?: number | undefined;
29005
29182
  }, {
29006
29183
  toolkit?: string | undefined;
29007
- limit?: number | undefined;
29008
29184
  isComposioManaged?: boolean | undefined;
29009
29185
  cursor?: string | undefined;
29186
+ limit?: number | undefined;
29010
29187
  }>;
29011
29188
  type AuthConfigListParams = z$1.infer<typeof AuthConfigListParamsSchema>;
29012
29189
  declare const AuthConfigListResponseSchema: z$1.ZodObject<{
@@ -29057,8 +29234,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29057
29234
  id: string;
29058
29235
  noOfConnections: number;
29059
29236
  uuid: string;
29060
- 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" | undefined;
29061
29237
  credentials?: Record<string, unknown> | undefined;
29238
+ 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" | undefined;
29062
29239
  toolAccessConfig?: {
29063
29240
  toolsForConnectedAccountCreation?: string[] | undefined;
29064
29241
  toolsAvailableForExecution?: string[] | undefined;
@@ -29079,8 +29256,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29079
29256
  id: string;
29080
29257
  noOfConnections: number;
29081
29258
  uuid: string;
29082
- 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" | undefined;
29083
29259
  credentials?: Record<string, unknown> | undefined;
29260
+ 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" | undefined;
29084
29261
  toolAccessConfig?: {
29085
29262
  toolsForConnectedAccountCreation?: string[] | undefined;
29086
29263
  toolsAvailableForExecution?: string[] | undefined;
@@ -29105,8 +29282,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29105
29282
  id: string;
29106
29283
  noOfConnections: number;
29107
29284
  uuid: string;
29108
- 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" | undefined;
29109
29285
  credentials?: Record<string, unknown> | undefined;
29286
+ 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" | undefined;
29110
29287
  toolAccessConfig?: {
29111
29288
  toolsForConnectedAccountCreation?: string[] | undefined;
29112
29289
  toolsAvailableForExecution?: string[] | undefined;
@@ -29131,8 +29308,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29131
29308
  id: string;
29132
29309
  noOfConnections: number;
29133
29310
  uuid: string;
29134
- 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" | undefined;
29135
29311
  credentials?: Record<string, unknown> | undefined;
29312
+ 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" | undefined;
29136
29313
  toolAccessConfig?: {
29137
29314
  toolsForConnectedAccountCreation?: string[] | undefined;
29138
29315
  toolsAvailableForExecution?: string[] | undefined;
@@ -29487,8 +29664,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
29487
29664
  triggerData: z$1.ZodOptional<z$1.ZodString>;
29488
29665
  uuid: z$1.ZodOptional<z$1.ZodString>;
29489
29666
  }, "strip", z$1.ZodTypeAny, {
29490
- connectedAccountId: string;
29491
29667
  id: string;
29668
+ connectedAccountId: string;
29492
29669
  disabledAt: string | null;
29493
29670
  state: Record<string, unknown>;
29494
29671
  triggerConfig: Record<string, unknown>;
@@ -29497,8 +29674,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
29497
29674
  uuid?: string | undefined;
29498
29675
  triggerData?: string | undefined;
29499
29676
  }, {
29500
- connectedAccountId: string;
29501
29677
  id: string;
29678
+ connectedAccountId: string;
29502
29679
  disabledAt: string | null;
29503
29680
  state: Record<string, unknown>;
29504
29681
  triggerConfig: Record<string, unknown>;
@@ -29519,8 +29696,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29519
29696
  triggerData: z$1.ZodOptional<z$1.ZodString>;
29520
29697
  uuid: z$1.ZodOptional<z$1.ZodString>;
29521
29698
  }, "strip", z$1.ZodTypeAny, {
29522
- connectedAccountId: string;
29523
29699
  id: string;
29700
+ connectedAccountId: string;
29524
29701
  disabledAt: string | null;
29525
29702
  state: Record<string, unknown>;
29526
29703
  triggerConfig: Record<string, unknown>;
@@ -29529,8 +29706,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29529
29706
  uuid?: string | undefined;
29530
29707
  triggerData?: string | undefined;
29531
29708
  }, {
29532
- connectedAccountId: string;
29533
29709
  id: string;
29710
+ connectedAccountId: string;
29534
29711
  disabledAt: string | null;
29535
29712
  state: Record<string, unknown>;
29536
29713
  triggerConfig: Record<string, unknown>;
@@ -29543,8 +29720,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29543
29720
  totalPages: z$1.ZodNumber;
29544
29721
  }, "strip", z$1.ZodTypeAny, {
29545
29722
  items: {
29546
- connectedAccountId: string;
29547
29723
  id: string;
29724
+ connectedAccountId: string;
29548
29725
  disabledAt: string | null;
29549
29726
  state: Record<string, unknown>;
29550
29727
  triggerConfig: Record<string, unknown>;
@@ -29557,8 +29734,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29557
29734
  totalPages: number;
29558
29735
  }, {
29559
29736
  items: {
29560
- connectedAccountId: string;
29561
29737
  id: string;
29738
+ connectedAccountId: string;
29562
29739
  disabledAt: string | null;
29563
29740
  state: Record<string, unknown>;
29564
29741
  triggerConfig: Record<string, unknown>;
@@ -29639,67 +29816,67 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
29639
29816
  status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
29640
29817
  }, "strip", z$1.ZodTypeAny, {
29641
29818
  status: "ACTIVE" | "INACTIVE";
29642
- userId: string;
29643
29819
  id: string;
29644
29820
  uuid: string;
29821
+ userId: string;
29645
29822
  authConfigId: string;
29646
29823
  authConfigUUID: string;
29647
29824
  }, {
29648
29825
  status: "ACTIVE" | "INACTIVE";
29649
- userId: string;
29650
29826
  id: string;
29651
29827
  uuid: string;
29828
+ userId: string;
29652
29829
  authConfigId: string;
29653
29830
  authConfigUUID: string;
29654
29831
  }>;
29655
29832
  }, "strip", z$1.ZodTypeAny, {
29656
- toolkitSlug: string;
29657
29833
  id: string;
29658
29834
  uuid: string;
29835
+ toolkitSlug: string;
29659
29836
  triggerSlug: string;
29660
29837
  triggerConfig: Record<string, unknown>;
29661
29838
  connectedAccount: {
29662
29839
  status: "ACTIVE" | "INACTIVE";
29663
- userId: string;
29664
29840
  id: string;
29665
29841
  uuid: string;
29842
+ userId: string;
29666
29843
  authConfigId: string;
29667
29844
  authConfigUUID: string;
29668
29845
  };
29669
29846
  triggerData?: string | undefined;
29670
29847
  }, {
29671
- toolkitSlug: string;
29672
29848
  id: string;
29673
29849
  uuid: string;
29850
+ toolkitSlug: string;
29674
29851
  triggerSlug: string;
29675
29852
  triggerConfig: Record<string, unknown>;
29676
29853
  connectedAccount: {
29677
29854
  status: "ACTIVE" | "INACTIVE";
29678
- userId: string;
29679
29855
  id: string;
29680
29856
  uuid: string;
29857
+ userId: string;
29681
29858
  authConfigId: string;
29682
29859
  authConfigUUID: string;
29683
29860
  };
29684
29861
  triggerData?: string | undefined;
29685
29862
  }>;
29686
29863
  }, "strip", z$1.ZodTypeAny, {
29687
- toolkitSlug: string;
29688
- userId: string;
29689
29864
  id: string;
29690
29865
  uuid: string;
29866
+ toolkitSlug: string;
29867
+ userId: string;
29691
29868
  triggerSlug: string;
29692
29869
  metadata: {
29693
- toolkitSlug: string;
29694
29870
  id: string;
29695
29871
  uuid: string;
29872
+ toolkitSlug: string;
29696
29873
  triggerSlug: string;
29697
29874
  triggerConfig: Record<string, unknown>;
29698
29875
  connectedAccount: {
29699
29876
  status: "ACTIVE" | "INACTIVE";
29700
- userId: string;
29701
29877
  id: string;
29702
29878
  uuid: string;
29879
+ userId: string;
29703
29880
  authConfigId: string;
29704
29881
  authConfigUUID: string;
29705
29882
  };
@@ -29708,22 +29885,22 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
29708
29885
  payload?: Record<string, unknown> | undefined;
29709
29886
  originalPayload?: Record<string, unknown> | undefined;
29710
29887
  }, {
29711
- toolkitSlug: string;
29712
- userId: string;
29713
29888
  id: string;
29714
29889
  uuid: string;
29890
+ toolkitSlug: string;
29891
+ userId: string;
29715
29892
  triggerSlug: string;
29716
29893
  metadata: {
29717
- toolkitSlug: string;
29718
29894
  id: string;
29719
29895
  uuid: string;
29896
+ toolkitSlug: string;
29720
29897
  triggerSlug: string;
29721
29898
  triggerConfig: Record<string, unknown>;
29722
29899
  connectedAccount: {
29723
29900
  status: "ACTIVE" | "INACTIVE";
29724
- userId: string;
29725
29901
  id: string;
29726
29902
  uuid: string;
29903
+ userId: string;
29727
29904
  authConfigId: string;
29728
29905
  authConfigUUID: string;
29729
29906
  };
@@ -29759,13 +29936,13 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
29759
29936
  limit: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
29760
29937
  toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
29761
29938
  }, "strip", z$1.ZodTypeAny, {
29762
- toolkits?: string[] | null | undefined;
29763
- limit?: number | null | undefined;
29764
29939
  cursor?: string | undefined;
29765
- }, {
29766
- toolkits?: string[] | null | undefined;
29767
29940
  limit?: number | null | undefined;
29941
+ toolkits?: string[] | null | undefined;
29942
+ }, {
29768
29943
  cursor?: string | undefined;
29944
+ limit?: number | null | undefined;
29945
+ toolkits?: string[] | null | undefined;
29769
29946
  }>;
29770
29947
  type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
29771
29948
  declare const TriggerTypeSchema: z$1.ZodObject<{
@@ -30596,16 +30773,16 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
30596
30773
  }, "strip", z.ZodTypeAny, {
30597
30774
  name: string;
30598
30775
  type: "streamable_http";
30599
- userId: string;
30600
30776
  id: string;
30777
+ userId: string;
30601
30778
  allowedTools: string[];
30602
30779
  url: string;
30603
30780
  authConfigs: string[];
30604
30781
  }, {
30605
30782
  name: string;
30606
30783
  type: "streamable_http";
30607
- userId: string;
30608
30784
  id: string;
30785
+ userId: string;
30609
30786
  allowedTools: string[];
30610
30787
  url: string;
30611
30788
  authConfigs: string[];
@@ -30688,8 +30865,8 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
30688
30865
  MCPUrl: z.ZodString;
30689
30866
  }, "strip", z.ZodTypeAny, {
30690
30867
  name: string;
30691
- authConfigIds: string[];
30692
30868
  id: string;
30869
+ authConfigIds: string[];
30693
30870
  allowedTools: string[];
30694
30871
  commands: {
30695
30872
  cursor: string;
@@ -30699,8 +30876,8 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
30699
30876
  MCPUrl: string;
30700
30877
  }, {
30701
30878
  name: string;
30702
- authConfigIds: string[];
30703
30879
  id: string;
30880
+ authConfigIds: string[];
30704
30881
  allowedTools: string[];
30705
30882
  commands: {
30706
30883
  cursor: string;
@@ -30733,15 +30910,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
30733
30910
  authConfigs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
30734
30911
  name: z.ZodOptional<z.ZodString>;
30735
30912
  }, "strip", z.ZodTypeAny, {
30736
- toolkits: string[];
30737
30913
  limit: number;
30914
+ toolkits: string[];
30738
30915
  page: number;
30739
30916
  authConfigs: string[];
30740
30917
  name?: string | undefined;
30741
30918
  }, {
30742
30919
  name?: string | undefined;
30743
- toolkits?: string[] | undefined;
30744
30920
  limit?: number | undefined;
30921
+ toolkits?: string[] | undefined;
30745
30922
  page?: number | undefined;
30746
30923
  authConfigs?: string[] | undefined;
30747
30924
  }>;
@@ -30798,9 +30975,9 @@ declare const MCPItemSchema: z.ZodObject<{
30798
30975
  toolkits: z.ZodArray<z.ZodString, "many">;
30799
30976
  }, "strip", z.ZodTypeAny, {
30800
30977
  name: string;
30978
+ id: string;
30801
30979
  toolkits: string[];
30802
30980
  authConfigIds: string[];
30803
- id: string;
30804
30981
  allowedTools: string[];
30805
30982
  commands: {
30806
30983
  cursor: string;
@@ -30812,9 +30989,9 @@ declare const MCPItemSchema: z.ZodObject<{
30812
30989
  serverInstanceCount: number;
30813
30990
  }, {
30814
30991
  name: string;
30992
+ id: string;
30815
30993
  toolkits: string[];
30816
30994
  authConfigIds: string[];
30817
- id: string;
30818
30995
  allowedTools: string[];
30819
30996
  commands: {
30820
30997
  cursor: string;
@@ -30879,9 +31056,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
30879
31056
  toolkits: z.ZodArray<z.ZodString, "many">;
30880
31057
  }, "strip", z.ZodTypeAny, {
30881
31058
  name: string;
31059
+ id: string;
30882
31060
  toolkits: string[];
30883
31061
  authConfigIds: string[];
30884
- id: string;
30885
31062
  allowedTools: string[];
30886
31063
  commands: {
30887
31064
  cursor: string;
@@ -30893,9 +31070,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
30893
31070
  serverInstanceCount: number;
30894
31071
  }, {
30895
31072
  name: string;
31073
+ id: string;
30896
31074
  toolkits: string[];
30897
31075
  authConfigIds: string[];
30898
- id: string;
30899
31076
  allowedTools: string[];
30900
31077
  commands: {
30901
31078
  cursor: string;
@@ -30911,9 +31088,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
30911
31088
  }, "strip", z.ZodTypeAny, {
30912
31089
  items: {
30913
31090
  name: string;
31091
+ id: string;
30914
31092
  toolkits: string[];
30915
31093
  authConfigIds: string[];
30916
- id: string;
30917
31094
  allowedTools: string[];
30918
31095
  commands: {
30919
31096
  cursor: string;
@@ -30929,9 +31106,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
30929
31106
  }, {
30930
31107
  items: {
30931
31108
  name: string;
31109
+ id: string;
30932
31110
  toolkits: string[];
30933
31111
  authConfigIds: string[];
30934
- id: string;
30935
31112
  allowedTools: string[];
30936
31113
  commands: {
30937
31114
  cursor: string;
@@ -30979,13 +31156,13 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
30979
31156
  }>;
30980
31157
  type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
30981
31158
  //#endregion
30982
- //#region src/models/MCP.experimental.d.ts
31159
+ //#region src/models/MCP.d.ts
30983
31160
  /**
30984
31161
  * MCP (Model Control Protocol) class
30985
31162
  * Handles MCP server operations.
30986
31163
  * When `config.experimental.mcp` is enabled, this class augments the features of `composio.mcp`.
30987
31164
  */
30988
- declare class MCP$1 {
31165
+ declare class MCP {
30989
31166
  client: Composio$1;
30990
31167
  constructor(client: Composio$1);
30991
31168
  /**
@@ -31580,12 +31757,15 @@ type MCPServerType = z.infer<typeof MCPServerTypeSchema>;
31580
31757
  declare const ToolRouterConfigManageConnectionsSchema: z.ZodObject<{
31581
31758
  enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
31582
31759
  callbackUrl: z.ZodOptional<z.ZodString>;
31760
+ waitForConnections: z.ZodOptional<z.ZodBoolean>;
31583
31761
  }, "strict", z.ZodTypeAny, {
31584
31762
  callbackUrl?: string | undefined;
31585
31763
  enable?: boolean | undefined;
31764
+ waitForConnections?: boolean | undefined;
31586
31765
  }, {
31587
31766
  callbackUrl?: string | undefined;
31588
31767
  enable?: boolean | undefined;
31768
+ waitForConnections?: boolean | undefined;
31589
31769
  }>;
31590
31770
  declare const ToolRouterToolkitsParamSchema: z.ZodArray<z.ZodString, "many">;
31591
31771
  declare const ToolRouterToolkitsDisabledConfigSchema: z.ZodObject<{
@@ -31792,12 +31972,15 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
31792
31972
  manageConnections: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
31793
31973
  enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
31794
31974
  callbackUrl: z.ZodOptional<z.ZodString>;
31975
+ waitForConnections: z.ZodOptional<z.ZodBoolean>;
31795
31976
  }, "strict", z.ZodTypeAny, {
31796
31977
  callbackUrl?: string | undefined;
31797
31978
  enable?: boolean | undefined;
31979
+ waitForConnections?: boolean | undefined;
31798
31980
  }, {
31799
31981
  callbackUrl?: string | undefined;
31800
31982
  enable?: boolean | undefined;
31983
+ waitForConnections?: boolean | undefined;
31801
31984
  }>]>>>>;
31802
31985
  workbench: z.ZodOptional<z.ZodOptional<z.ZodObject<{
31803
31986
  enableProxyExecution: z.ZodOptional<z.ZodBoolean>;
@@ -31834,6 +32017,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
31834
32017
  manageConnections?: boolean | {
31835
32018
  callbackUrl?: string | undefined;
31836
32019
  enable?: boolean | undefined;
32020
+ waitForConnections?: boolean | undefined;
31837
32021
  } | undefined;
31838
32022
  workbench?: {
31839
32023
  enableProxyExecution?: boolean | undefined;
@@ -31864,6 +32048,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
31864
32048
  manageConnections?: boolean | {
31865
32049
  callbackUrl?: string | undefined;
31866
32050
  enable?: boolean | undefined;
32051
+ waitForConnections?: boolean | undefined;
31867
32052
  } | undefined;
31868
32053
  workbench?: {
31869
32054
  enableProxyExecution?: boolean | undefined;
@@ -31918,26 +32103,26 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
31918
32103
  }>>;
31919
32104
  }, "strip", z.ZodTypeAny, {
31920
32105
  isActive: boolean;
32106
+ connectedAccount?: {
32107
+ status: string;
32108
+ id: string;
32109
+ } | undefined;
31921
32110
  authConfig?: {
31922
32111
  id: string;
31923
32112
  isComposioManaged: boolean;
31924
32113
  mode: string;
31925
32114
  } | null | undefined;
32115
+ }, {
32116
+ isActive: boolean;
31926
32117
  connectedAccount?: {
31927
32118
  status: string;
31928
32119
  id: string;
31929
32120
  } | undefined;
31930
- }, {
31931
- isActive: boolean;
31932
32121
  authConfig?: {
31933
32122
  id: string;
31934
32123
  isComposioManaged: boolean;
31935
32124
  mode: string;
31936
32125
  } | null | undefined;
31937
- connectedAccount?: {
31938
- status: string;
31939
- id: string;
31940
- } | undefined;
31941
32126
  }>>;
31942
32127
  }, "strip", z.ZodTypeAny, {
31943
32128
  slug: string;
@@ -31946,15 +32131,15 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
31946
32131
  logo?: string | undefined;
31947
32132
  connection?: {
31948
32133
  isActive: boolean;
32134
+ connectedAccount?: {
32135
+ status: string;
32136
+ id: string;
32137
+ } | undefined;
31949
32138
  authConfig?: {
31950
32139
  id: string;
31951
32140
  isComposioManaged: boolean;
31952
32141
  mode: string;
31953
32142
  } | null | undefined;
31954
- connectedAccount?: {
31955
- status: string;
31956
- id: string;
31957
- } | undefined;
31958
32143
  } | undefined;
31959
32144
  }, {
31960
32145
  slug: string;
@@ -31963,15 +32148,15 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
31963
32148
  isNoAuth?: boolean | undefined;
31964
32149
  connection?: {
31965
32150
  isActive: boolean;
32151
+ connectedAccount?: {
32152
+ status: string;
32153
+ id: string;
32154
+ } | undefined;
31966
32155
  authConfig?: {
31967
32156
  id: string;
31968
32157
  isComposioManaged: boolean;
31969
32158
  mode: string;
31970
32159
  } | null | undefined;
31971
- connectedAccount?: {
31972
- status: string;
31973
- id: string;
31974
- } | undefined;
31975
32160
  } | undefined;
31976
32161
  }>;
31977
32162
  declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
@@ -32007,26 +32192,26 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32007
32192
  }>>;
32008
32193
  }, "strip", z.ZodTypeAny, {
32009
32194
  isActive: boolean;
32195
+ connectedAccount?: {
32196
+ status: string;
32197
+ id: string;
32198
+ } | undefined;
32010
32199
  authConfig?: {
32011
32200
  id: string;
32012
32201
  isComposioManaged: boolean;
32013
32202
  mode: string;
32014
32203
  } | null | undefined;
32204
+ }, {
32205
+ isActive: boolean;
32015
32206
  connectedAccount?: {
32016
32207
  status: string;
32017
32208
  id: string;
32018
32209
  } | undefined;
32019
- }, {
32020
- isActive: boolean;
32021
32210
  authConfig?: {
32022
32211
  id: string;
32023
32212
  isComposioManaged: boolean;
32024
32213
  mode: string;
32025
32214
  } | null | undefined;
32026
- connectedAccount?: {
32027
- status: string;
32028
- id: string;
32029
- } | undefined;
32030
32215
  }>>;
32031
32216
  }, "strip", z.ZodTypeAny, {
32032
32217
  slug: string;
@@ -32035,15 +32220,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32035
32220
  logo?: string | undefined;
32036
32221
  connection?: {
32037
32222
  isActive: boolean;
32223
+ connectedAccount?: {
32224
+ status: string;
32225
+ id: string;
32226
+ } | undefined;
32038
32227
  authConfig?: {
32039
32228
  id: string;
32040
32229
  isComposioManaged: boolean;
32041
32230
  mode: string;
32042
32231
  } | null | undefined;
32043
- connectedAccount?: {
32044
- status: string;
32045
- id: string;
32046
- } | undefined;
32047
32232
  } | undefined;
32048
32233
  }, {
32049
32234
  slug: string;
@@ -32052,15 +32237,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32052
32237
  isNoAuth?: boolean | undefined;
32053
32238
  connection?: {
32054
32239
  isActive: boolean;
32240
+ connectedAccount?: {
32241
+ status: string;
32242
+ id: string;
32243
+ } | undefined;
32055
32244
  authConfig?: {
32056
32245
  id: string;
32057
32246
  isComposioManaged: boolean;
32058
32247
  mode: string;
32059
32248
  } | null | undefined;
32060
- connectedAccount?: {
32061
- status: string;
32062
- id: string;
32063
- } | undefined;
32064
32249
  } | undefined;
32065
32250
  }>, "many">;
32066
32251
  nextCursor: z.ZodOptional<z.ZodString>;
@@ -32073,15 +32258,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32073
32258
  logo?: string | undefined;
32074
32259
  connection?: {
32075
32260
  isActive: boolean;
32261
+ connectedAccount?: {
32262
+ status: string;
32263
+ id: string;
32264
+ } | undefined;
32076
32265
  authConfig?: {
32077
32266
  id: string;
32078
32267
  isComposioManaged: boolean;
32079
32268
  mode: string;
32080
32269
  } | null | undefined;
32081
- connectedAccount?: {
32082
- status: string;
32083
- id: string;
32084
- } | undefined;
32085
32270
  } | undefined;
32086
32271
  }[];
32087
32272
  totalPages: number;
@@ -32094,15 +32279,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32094
32279
  isNoAuth?: boolean | undefined;
32095
32280
  connection?: {
32096
32281
  isActive: boolean;
32282
+ connectedAccount?: {
32283
+ status: string;
32284
+ id: string;
32285
+ } | undefined;
32097
32286
  authConfig?: {
32098
32287
  id: string;
32099
32288
  isComposioManaged: boolean;
32100
32289
  mode: string;
32101
32290
  } | null | undefined;
32102
- connectedAccount?: {
32103
- status: string;
32104
- id: string;
32105
- } | undefined;
32106
32291
  } | undefined;
32107
32292
  }[];
32108
32293
  totalPages: number;
@@ -32124,7 +32309,7 @@ declare const ToolRouterMCPServerConfigSchema: z.ZodObject<{
32124
32309
  headers?: Record<string, string> | undefined;
32125
32310
  }>;
32126
32311
  type ToolRouterMCPServerConfig = z.infer<typeof ToolRouterMCPServerConfigSchema>;
32127
- type ToolRouterToolsFn<TToolCollection$1, TTool$1, TProvider extends BaseComposioProvider<TToolCollection$1, TTool$1, unknown>> = (modifiers?: ProviderOptions<TProvider>) => Promise<ReturnType<TProvider['wrapTools']>>;
32312
+ type ToolRouterToolsFn<TToolCollection$1, TTool$1, TProvider extends BaseComposioProvider<TToolCollection$1, TTool$1, unknown>> = (modifiers?: SessionMetaToolOptions) => Promise<ReturnType<TProvider['wrapTools']>>;
32128
32313
  type ToolRouterAuthorizeFn = (toolkit: string, options?: {
32129
32314
  callbackUrl?: string;
32130
32315
  }) => Promise<ConnectionRequest>;
@@ -32135,15 +32320,15 @@ declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
32135
32320
  isConnected: z.ZodOptional<z.ZodBoolean>;
32136
32321
  search: z.ZodOptional<z.ZodString>;
32137
32322
  }, "strip", z.ZodTypeAny, {
32323
+ limit?: number | undefined;
32138
32324
  nextCursor?: string | undefined;
32139
32325
  toolkits?: string[] | undefined;
32140
- limit?: number | undefined;
32141
32326
  search?: string | undefined;
32142
32327
  isConnected?: boolean | undefined;
32143
32328
  }, {
32329
+ limit?: number | undefined;
32144
32330
  nextCursor?: string | undefined;
32145
32331
  toolkits?: string[] | undefined;
32146
- limit?: number | undefined;
32147
32332
  search?: string | undefined;
32148
32333
  isConnected?: boolean | undefined;
32149
32334
  }>;
@@ -32210,9 +32395,8 @@ declare class ToolRouter<TToolCollection$1, TTool$1, TProvider extends BaseCompo
32210
32395
  * Creates a function that wraps the tools based on the provider.
32211
32396
  * The returned tools will be of the type the frameworks expects.
32212
32397
  *
32213
- * @param userId - The user id to get the tools for
32214
- * @param tools - The tools to wrap
32215
- * @returns A function that wraps the tools based on the provider.
32398
+ * @param sessionId - The session id to get the tools for
32399
+ * @returns A function that wraps the tools based on the provider with session-specific modifiers.
32216
32400
  */
32217
32401
  private createToolsFn;
32218
32402
  /**
@@ -32389,14 +32573,22 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
32389
32573
  /**
32390
32574
  * Core models for Composio.
32391
32575
  */
32576
+ /** List, retrieve, and execute tools */
32392
32577
  tools: Tools<unknown, unknown, TProvider>;
32578
+ /** Retrieve toolkit metadata and authorize user connections */
32393
32579
  toolkits: Toolkits;
32580
+ /** Manage webhook triggers and event subscriptions */
32394
32581
  triggers: Triggers<TProvider>;
32582
+ /** The tool provider instance used for wrapping tools in framework-specific formats */
32395
32583
  provider: TProvider;
32584
+ /** Upload and download files */
32396
32585
  files: Files;
32586
+ /** Manage authentication configurations for toolkits */
32397
32587
  authConfigs: AuthConfigs;
32588
+ /** Manage authenticated connections */
32398
32589
  connectedAccounts: ConnectedAccounts;
32399
- mcp: MCP$1;
32590
+ /** Model Context Protocol server management */
32591
+ mcp: MCP;
32400
32592
  /**
32401
32593
  * Experimental feature, use with caution
32402
32594
  * @experimental
@@ -32433,10 +32625,6 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
32433
32625
  * @returns {Promise<ToolRouterSession<TToolCollection, TTool, TProvider>>} The tool router session
32434
32626
  */
32435
32627
  use: (id: string) => Promise<ToolRouterSession<unknown, unknown, TProvider>>;
32436
- /**
32437
- * Experimental features
32438
- */
32439
- experimental: {};
32440
32628
  /**
32441
32629
  * Creates a new instance of the Composio SDK.
32442
32630
  *
@@ -32698,288 +32886,6 @@ declare class AuthScheme {
32698
32886
  }): ConnectionData;
32699
32887
  }
32700
32888
  //#endregion
32701
- //#region src/models/MCP.d.ts
32702
- /**
32703
- * Extract the MCP response type from a provider.
32704
- */
32705
- type ExtractMcpResponseType<T> = T extends BaseComposioProvider<unknown, unknown, infer TMcp> ? TMcp : McpServerGetResponse;
32706
- /**
32707
- * MCP (Model Control Protocol) class
32708
- * Handles MCP server operations
32709
- */
32710
- declare class MCP<TProvider extends BaseComposioProvider<unknown, unknown, unknown>> {
32711
- private client;
32712
- private toolkits;
32713
- protected provider: TProvider;
32714
- readonly TMcpResponse: ExtractMcpResponseType<TProvider>;
32715
- constructor(client: ComposioClient, provider: TProvider);
32716
- /**
32717
- * Validates toolkit configurations using Zod schema
32718
- * @private
32719
- * @param {MCPToolkitConfig[]} toolkitConfigs - Array of toolkit configurations to validate
32720
- * @param {MCPAuthOptions} [authOptions] - Authentication options to validate
32721
- * @throws {ValidationError} If validation fails
32722
- */
32723
- private validateInputs;
32724
- /**
32725
- * Create a new MCP server
32726
- * @param {Object} params - Parameters for creating the MCP server
32727
- * @param {Array} params.authConfig - Array of auth configurations with id and allowed tools
32728
- * @param {Object} params.options - Server creation options
32729
- * @param {string} params.options.name - Unique name for the MCP server
32730
- * @param {boolean} [params.options.isChatAuth] - Whether to use chat-based authentication
32731
- * @returns {Promise<McpServerCreateResponse<TMcpResponse>>} Created server details with instance getter
32732
- *
32733
- * @example
32734
- * ```typescript
32735
- * const server = await composio.mcp.create("personal-mcp-server", [
32736
- * {
32737
- * authConfigId: "ac_xyz",
32738
- * allowedTools: ["GMAIL_FETCH_EMAILS", "SLACK_SEND_MESSAGE"]
32739
- * }
32740
- * ],
32741
- * {
32742
- * isChatAuth: true
32743
- * }
32744
- * });
32745
- *
32746
- * // Use convenience method on response
32747
- * const urls = await server.getServer({
32748
- * userId: "user123"
32749
- * });
32750
- * ```
32751
- */
32752
- create(name: string, serverConfig: Array<{
32753
- authConfigId: string;
32754
- allowedTools: string[];
32755
- }>, options: {
32756
- isChatAuth?: boolean;
32757
- }): Promise<McpServerCreateResponse<typeof this.TMcpResponse>>;
32758
- /**
32759
- * Get the connection status of a user for an MCP server
32760
- *
32761
- * Checks whether a user has the necessary connected accounts to use all toolkits
32762
- * configured in the specified MCP server. Returns both overall connection status
32763
- * and individual status for each toolkit.
32764
- *
32765
- * @param {Object} params - Parameters for checking connection status
32766
- * @param {string} params.id - The UUID of the MCP server to check
32767
- * @param {string} params.userId - The ID of the user to check connection status for
32768
- * @returns {Promise<McpUserConnectionStatus>} Complete connection status including:
32769
- * - `type`: Overall status (CONNECTED if all toolkits are connected, DISCONNECTED otherwise)
32770
- * - `connected`: Boolean indicating if user can use the MCP server
32771
- * - `connectedToolkits`: Record mapping each toolkit name to its individual connection status
32772
- *
32773
- * @throws {ValidationError} When MCP server has no toolkits configured
32774
- * @throws {ValidationError} When MCP server retrieval fails
32775
- *
32776
- * @example
32777
- * ```typescript
32778
- * // Check if user can access an MCP server with Gmail and Slack toolkits
32779
- * const connectionStatus = await composio.mcp.getUserConnectionStatus('user123', 'mcp-server-uuid');
32780
- *
32781
- * if (connectionStatus.connected) {
32782
- * console.log('User can access all required toolkits');
32783
- * // connectionStatus.type === ConnectionStatus.CONNECTED
32784
- * } else {
32785
- * console.log('User is missing some toolkit connections');
32786
- * // Check individual toolkit statuses
32787
- * Object.entries(connectionStatus.connectedToolkits).forEach(([toolkit, status]) => {
32788
- * if (!status.connected) {
32789
- * console.log(`Missing connection for toolkit: ${toolkit}`);
32790
- * }
32791
- * });
32792
- * }
32793
- * ```
32794
- *
32795
- * @example
32796
- * ```typescript
32797
- * // Example response when user has Gmail connected but missing Slack
32798
- * {
32799
- * type: ConnectionStatus.DISCONNECTED,
32800
- * connected: false,
32801
- * connectedToolkits: {
32802
- * GMAIL: {
32803
- * type: ConnectionStatus.CONNECTED,
32804
- * connected: true,
32805
- * toolkit: 'GMAIL',
32806
- * connectedAccountId: 'conn_gmail_123'
32807
- * },
32808
- * SLACK: {
32809
- * type: ConnectionStatus.DISCONNECTED,
32810
- * connected: false,
32811
- * toolkit: 'SLACK'
32812
- * }
32813
- * }
32814
- * }
32815
- * ```
32816
- */
32817
- getUserConnectionStatus(userId: string, serverId: string): Promise<McpUserConnectionStatus>;
32818
- /**
32819
- * Get the connection parameters for a toolkit
32820
- * @param {string} serverId - The UUID of the MCP server
32821
- * @param {string} toolkit - The toolkit to get connection parameters for
32822
- * @returns {Promise<ToolkitAuthFieldsResponse>} Connection parameters for the toolkit
32823
- */
32824
- getConnectionParams(serverId: string, toolkit: string): Promise<ToolkitAuthFieldsResponse>;
32825
- /**
32826
- * Authorize a user for a toolkit
32827
- * @param {string} serverId - The UUID of the MCP server
32828
- * @param {string} userId - The ID of the user to authorize
32829
- * @param {string} toolkit - The toolkit to authorize
32830
- * @returns {Promise<ConnectionRequest>} Connection request for the toolkit
32831
- */
32832
- authorize(userId: string, serverId: string, toolkit: string): Promise<ConnectionRequest>;
32833
- /**
32834
- * Get server URLs for an existing MCP server
32835
- * @param {string} serverId - Server UUID
32836
- * @param {string} userId - User ID to get server URLs for
32837
- * @param {Object} [options] - Additional options for server configuration
32838
- * @param {string[]} [options.limitTools] - Subset of tools to limit (from MCP config)
32839
- * @param {boolean} [options.isChatAuth] - Whether to use chat-based authentication
32840
- * @returns {Promise<TMcpResponse>} Transformed server URLs in provider-specific format
32841
- *
32842
- * @example
32843
- * ```typescript
32844
- * // Get URLs for an existing server with basic user ID
32845
- * const urls = await composio.mcp.getServer("mcp_xyz", "hey@example.com");
32846
- *
32847
- * // Get URLs with additional options
32848
- * const urls = await composio.mcp.getServer("mcp_xyz", "hey@example.com", {
32849
- * limitTools: ["GMAIL_FETCH_EMAILS", "SLACK_SEND_MESSAGE"],
32850
- * isChatAuth: true
32851
- * });
32852
- * ```
32853
- *
32854
- */
32855
- getServer(serverId: string, userId: string, options?: {
32856
- limitTools?: string[];
32857
- isChatAuth?: boolean;
32858
- }): Promise<typeof this.TMcpResponse>;
32859
- /**
32860
- * List MCP server configurations with filtering options
32861
- * @param {Object} options - Filtering and pagination options
32862
- * @param {number} [options.page] - Page number for pagination
32863
- * @param {number} [options.limit] - Number of items per page
32864
- * @param {string[]} [options.toolkits] - Filter servers by toolkit names
32865
- * @param {string[]} [options.authConfigs] - Filter servers by auth config IDs
32866
- * @param {string} [options.name] - Filter servers by name
32867
- * @param {string} [options.user] - Filter servers by user ID
32868
- * @returns {Promise<McpListResponse>} List of MCP servers matching the filters
32869
- *
32870
- * @example
32871
- * ```typescript
32872
- * // List all servers with pagination
32873
- * const servers = await composio.mcp.list({
32874
- * page: 1,
32875
- * limit: 10
32876
- * });
32877
- *
32878
- * // List Gmail and Supabase servers
32879
- * const filteredServers = await composio.mcp.list({
32880
- * toolkits: ['GMAIL', 'SUPABASE'],
32881
- * authConfigIds: ['auth_123', 'auth_456']
32882
- * });
32883
- * ```
32884
- */
32885
- list(options: {
32886
- page?: number;
32887
- limit?: number;
32888
- toolkits?: string[];
32889
- authConfigs?: string[];
32890
- name?: string;
32891
- }): Promise<McpListResponse>;
32892
- /**
32893
- * Get details of a specific MCP server
32894
- * @param {string} serverId - Server UUID
32895
- * @returns {Promise<McpRetrieveResponse>} Server details
32896
- *
32897
- * @example
32898
- * ```typescript
32899
- * const serverDetails = await composio.mcp.get('server-uuid');
32900
- * ```
32901
- */
32902
- get(serverId: string): Promise<McpRetrieveResponse>;
32903
- /**
32904
- * Delete an MCP server
32905
- * @param {string} serverId - Server UUID
32906
- * @returns {Promise<McpDeleteResponse>} Deletion response
32907
- *
32908
- * @example
32909
- * ```typescript
32910
- * const result = await composio.mcp.delete('server-uuid');
32911
- * ```
32912
- */
32913
- delete(serverId: string): Promise<McpDeleteResponse>;
32914
- /**
32915
- * Update an MCP server configuration
32916
- * @param {string} id - Server UUID
32917
- * @param {string} name - New unique name for the server
32918
- * @param {MCPToolkitConfig[]} toolkitConfigs - Array of toolkit configurations
32919
- * @param {MCPAuthOptions} [authOptions] - Updated authentication options
32920
- * @returns {Promise<McpUpdateResponse>} Updated server details
32921
- *
32922
- * @example
32923
- * ```typescript
32924
- * const updatedServer = await composio.mcp.update(
32925
- * "server-uuid",
32926
- * "my-updated-server",
32927
- * [
32928
- * {
32929
- * toolkit: "GMAIL",
32930
- * authConfigId: "ac_sdhkjfhjksdk",
32931
- * allowedTools: ["GMAIL_FETCH_EMAILS"],
32932
- * },
32933
- * ],
32934
- * {
32935
- * isChatAuth: true,
32936
- * }
32937
- * );
32938
- * ```
32939
- */
32940
- update(serverId: string, name: string, toolkitConfigs: MCPToolkitConfig[], authOptions?: MCPAuthOptions): Promise<McpUpdateResponse>;
32941
- /**
32942
- * Generate URL for an MCP server
32943
- * @param {string} serverId - Server UUID
32944
- * @param {GenerateURLParams} params - Parameters for URL generation
32945
- * @returns {Promise<GenerateURLResponse>} Generated URL response
32946
- *
32947
- * @example
32948
- * ```typescript
32949
- * const urlResponse = await composio.mcp.generateUrl('server-uuid', {
32950
- * userIds: ['user123'],
32951
- * connectedAccountIds: ['account456'],
32952
- * isChatAuth: true
32953
- * });
32954
- * ```
32955
- */
32956
- generateUrl(serverId: string, params: GenerateURLParams): Promise<GenerateURLResponse>;
32957
- /**
32958
- * Transform MCP URL response into the appropriate format.
32959
- * If the provider has a custom transform method, use it.
32960
- * Otherwise, use the default transformation.
32961
- *
32962
- * @param data - The MCP URL response data (in camelCase)
32963
- * @param serverName - Name of the MCP server
32964
- * @returns Transformed response in appropriate format
32965
- * @deprecated
32966
- */
32967
- private wrapMcpServerResponse;
32968
- /**
32969
- * Get details of a specific MCP server by name
32970
- * @param {string} name - Server name
32971
- * @returns {Promise<McpRetrieveResponse>} Server details
32972
- * @throws {ValidationError} If no server found with the given name
32973
- * @throws {ValidationError} If multiple servers found with the same name
32974
- *
32975
- * @example
32976
- * ```typescript
32977
- * const serverDetails = await composio.mcp.getByName('my-gmail-server');
32978
- * ```
32979
- */
32980
- getByName(serverName: string): Promise<McpRetrieveResponse>;
32981
- }
32982
- //#endregion
32983
32889
  //#region src/models/ConnectionRequest.d.ts
32984
32890
  /**
32985
32891
  * Creates a connection request object with methods to manage the connection lifecycle.
@@ -33368,4 +33274,4 @@ declare class ComposioWebhookPayloadError extends ComposioError {
33368
33274
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
33369
33275
  }
33370
33276
  //#endregion
33371
- export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDownloadData, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, SchemaModifierOptions, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, afterExecuteModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
33277
+ export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDownloadData, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, SchemaModifierOptions, SessionExecuteMetaModifiers, SessionMetaToolOptions, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };