@composio/core 0.4.0 → 0.5.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
@@ -1,6 +1,8 @@
1
+ import { n as FileUploadData, t as FileDownloadData } from "./files.types-B7P5A1Z5.mjs";
1
2
  import ComposioClient, { Composio as Composio$1 } from "@composio/client";
2
3
  import z, { z as z$1 } from "zod/v3";
3
4
  import { OpenAI } from "openai";
5
+ import { Files } from "#files";
4
6
  import { CustomCreateResponse as CustomCreateResponse$1, GenerateURLResponse as GenerateURLResponse$1, McpCreateResponse } from "@composio/client/resources/mcp";
5
7
  import { ToolExecuteResponse as ToolExecuteResponse$1, ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
6
8
  import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
@@ -564,17 +566,17 @@ declare const ToolListParamsSchema: z$1.ZodObject<{
564
566
  }, "strip", z$1.ZodTypeAny, {
565
567
  tags?: string[] | undefined;
566
568
  scopes?: string[] | undefined;
567
- limit?: number | undefined;
568
569
  tools?: string[] | undefined;
569
570
  toolkits?: string[] | undefined;
571
+ limit?: number | undefined;
570
572
  search?: string | undefined;
571
573
  authConfigIds?: string[] | undefined;
572
574
  }, {
573
575
  tags?: string[] | undefined;
574
576
  scopes?: string[] | undefined;
575
- limit?: number | undefined;
576
577
  tools?: string[] | undefined;
577
578
  toolkits?: string[] | undefined;
579
+ limit?: number | undefined;
578
580
  search?: string | undefined;
579
581
  authConfigIds?: string[] | undefined;
580
582
  }>;
@@ -893,6 +895,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
893
895
  }, "status">, z$1.ZodUnknown, "strip">>;
894
896
  }, "strip", z$1.ZodTypeAny, {
895
897
  authScheme: "OAUTH2";
898
+ toolkitSlug: string;
896
899
  val: {
897
900
  access_token: string;
898
901
  version?: string | undefined;
@@ -926,12 +929,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
926
929
  registration_access_token?: string | undefined;
927
930
  registration_client_uri?: string | undefined;
928
931
  composio_link_redirect_url?: string | undefined;
929
- webhook_signature?: string | undefined;
930
932
  id_token?: string | undefined;
931
933
  token_type?: string | undefined;
932
934
  refresh_token?: string | null | undefined;
933
935
  expires_in?: string | number | null | undefined;
934
936
  scope?: string | string[] | null | undefined;
937
+ webhook_signature?: string | undefined;
935
938
  authed_user?: {
936
939
  access_token?: string | undefined;
937
940
  scope?: string | undefined;
@@ -939,9 +942,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
939
942
  } & {
940
943
  [k: string]: unknown;
941
944
  };
942
- toolkitSlug: string;
943
945
  }, {
944
946
  authScheme: "OAUTH2";
947
+ toolkitSlug: string;
945
948
  val: {
946
949
  access_token: string;
947
950
  version?: string | undefined;
@@ -975,12 +978,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
975
978
  registration_access_token?: string | undefined;
976
979
  registration_client_uri?: string | undefined;
977
980
  composio_link_redirect_url?: string | undefined;
978
- webhook_signature?: string | undefined;
979
981
  id_token?: string | undefined;
980
982
  token_type?: string | undefined;
981
983
  refresh_token?: string | null | undefined;
982
984
  expires_in?: string | number | null | undefined;
983
985
  scope?: string | string[] | null | undefined;
986
+ webhook_signature?: string | undefined;
984
987
  authed_user?: {
985
988
  access_token?: string | undefined;
986
989
  scope?: string | undefined;
@@ -988,7 +991,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
988
991
  } & {
989
992
  [k: string]: unknown;
990
993
  };
991
- toolkitSlug: string;
992
994
  }>, z$1.ZodObject<{
993
995
  authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
994
996
  toolkitSlug: z$1.ZodString;
@@ -1100,6 +1102,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1100
1102
  }, z$1.ZodUnknown, "strip">>;
1101
1103
  }, "strip", z$1.ZodTypeAny, {
1102
1104
  authScheme: "DCR_OAUTH";
1105
+ toolkitSlug: string;
1103
1106
  val: {
1104
1107
  access_token: string;
1105
1108
  client_id: string;
@@ -1137,9 +1140,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1137
1140
  } & {
1138
1141
  [k: string]: unknown;
1139
1142
  };
1140
- toolkitSlug: string;
1141
1143
  }, {
1142
1144
  authScheme: "DCR_OAUTH";
1145
+ toolkitSlug: string;
1143
1146
  val: {
1144
1147
  access_token: string;
1145
1148
  client_id: string;
@@ -1177,7 +1180,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1177
1180
  } & {
1178
1181
  [k: string]: unknown;
1179
1182
  };
1180
- toolkitSlug: string;
1181
1183
  }>, z$1.ZodObject<{
1182
1184
  authScheme: z$1.ZodLiteral<"API_KEY">;
1183
1185
  toolkitSlug: z$1.ZodString;
@@ -1283,6 +1285,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1283
1285
  }, z$1.ZodUnknown, "strip">>;
1284
1286
  }, "strip", z$1.ZodTypeAny, {
1285
1287
  authScheme: "API_KEY";
1288
+ toolkitSlug: string;
1286
1289
  val: {
1287
1290
  version?: string | undefined;
1288
1291
  "your-domain"?: string | undefined;
@@ -1318,9 +1321,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1318
1321
  } & {
1319
1322
  [k: string]: unknown;
1320
1323
  };
1321
- toolkitSlug: string;
1322
1324
  }, {
1323
1325
  authScheme: "API_KEY";
1326
+ toolkitSlug: string;
1324
1327
  val: {
1325
1328
  version?: string | undefined;
1326
1329
  "your-domain"?: string | undefined;
@@ -1356,7 +1359,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1356
1359
  } & {
1357
1360
  [k: string]: unknown;
1358
1361
  };
1359
- toolkitSlug: string;
1360
1362
  }>, z$1.ZodObject<{
1361
1363
  authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
1362
1364
  toolkitSlug: z$1.ZodString;
@@ -1468,6 +1470,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1468
1470
  }, z$1.ZodUnknown, "strip">>;
1469
1471
  }, "strip", z$1.ZodTypeAny, {
1470
1472
  authScheme: "BASIC_WITH_JWT";
1473
+ toolkitSlug: string;
1471
1474
  val: {
1472
1475
  username: string;
1473
1476
  password: string;
@@ -1505,9 +1508,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1505
1508
  } & {
1506
1509
  [k: string]: unknown;
1507
1510
  };
1508
- toolkitSlug: string;
1509
1511
  }, {
1510
1512
  authScheme: "BASIC_WITH_JWT";
1513
+ toolkitSlug: string;
1511
1514
  val: {
1512
1515
  username: string;
1513
1516
  password: string;
@@ -1545,7 +1548,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1545
1548
  } & {
1546
1549
  [k: string]: unknown;
1547
1550
  };
1548
- toolkitSlug: string;
1549
1551
  }>, z$1.ZodObject<{
1550
1552
  authScheme: z$1.ZodLiteral<"BASIC">;
1551
1553
  toolkitSlug: z$1.ZodString;
@@ -1657,6 +1659,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1657
1659
  }, z$1.ZodUnknown, "strip">>;
1658
1660
  }, "strip", z$1.ZodTypeAny, {
1659
1661
  authScheme: "BASIC";
1662
+ toolkitSlug: string;
1660
1663
  val: {
1661
1664
  username: string;
1662
1665
  password: string;
@@ -1694,9 +1697,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1694
1697
  } & {
1695
1698
  [k: string]: unknown;
1696
1699
  };
1697
- toolkitSlug: string;
1698
1700
  }, {
1699
1701
  authScheme: "BASIC";
1702
+ toolkitSlug: string;
1700
1703
  val: {
1701
1704
  username: string;
1702
1705
  password: string;
@@ -1734,7 +1737,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1734
1737
  } & {
1735
1738
  [k: string]: unknown;
1736
1739
  };
1737
- toolkitSlug: string;
1738
1740
  }>, z$1.ZodObject<{
1739
1741
  authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
1740
1742
  toolkitSlug: z$1.ZodString;
@@ -1843,6 +1845,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1843
1845
  }, z$1.ZodUnknown, "strip">>;
1844
1846
  }, "strip", z$1.ZodTypeAny, {
1845
1847
  authScheme: "BEARER_TOKEN";
1848
+ toolkitSlug: string;
1846
1849
  val: {
1847
1850
  token: string;
1848
1851
  version?: string | undefined;
@@ -1879,9 +1882,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1879
1882
  } & {
1880
1883
  [k: string]: unknown;
1881
1884
  };
1882
- toolkitSlug: string;
1883
1885
  }, {
1884
1886
  authScheme: "BEARER_TOKEN";
1887
+ toolkitSlug: string;
1885
1888
  val: {
1886
1889
  token: string;
1887
1890
  version?: string | undefined;
@@ -1918,7 +1921,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
1918
1921
  } & {
1919
1922
  [k: string]: unknown;
1920
1923
  };
1921
- toolkitSlug: string;
1922
1924
  }>, z$1.ZodObject<{
1923
1925
  authScheme: z$1.ZodLiteral<"OAUTH1">;
1924
1926
  toolkitSlug: z$1.ZodString;
@@ -2045,6 +2047,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2045
2047
  }, "status">, z$1.ZodUnknown, "strip">>;
2046
2048
  }, "strip", z$1.ZodTypeAny, {
2047
2049
  authScheme: "OAUTH1";
2050
+ toolkitSlug: string;
2048
2051
  val: {
2049
2052
  oauth_token: string;
2050
2053
  oauth_token_secret: string;
@@ -2079,16 +2082,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2079
2082
  registration_access_token?: string | undefined;
2080
2083
  registration_client_uri?: string | undefined;
2081
2084
  composio_link_redirect_url?: string | undefined;
2082
- redirectUrl?: string | undefined;
2083
- callback_url?: string | undefined;
2084
2085
  consumer_key?: string | undefined;
2085
2086
  oauth_verifier?: string | undefined;
2087
+ redirectUrl?: string | undefined;
2088
+ callback_url?: string | undefined;
2086
2089
  } & {
2087
2090
  [k: string]: unknown;
2088
2091
  };
2089
- toolkitSlug: string;
2090
2092
  }, {
2091
2093
  authScheme: "OAUTH1";
2094
+ toolkitSlug: string;
2092
2095
  val: {
2093
2096
  oauth_token: string;
2094
2097
  oauth_token_secret: string;
@@ -2123,14 +2126,13 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2123
2126
  registration_access_token?: string | undefined;
2124
2127
  registration_client_uri?: string | undefined;
2125
2128
  composio_link_redirect_url?: string | undefined;
2126
- redirectUrl?: string | undefined;
2127
- callback_url?: string | undefined;
2128
2129
  consumer_key?: string | undefined;
2129
2130
  oauth_verifier?: string | undefined;
2131
+ redirectUrl?: string | undefined;
2132
+ callback_url?: string | undefined;
2130
2133
  } & {
2131
2134
  [k: string]: unknown;
2132
2135
  };
2133
- toolkitSlug: string;
2134
2136
  }>, z$1.ZodObject<{
2135
2137
  authScheme: z$1.ZodLiteral<"NO_AUTH">;
2136
2138
  toolkitSlug: z$1.ZodString;
@@ -2233,6 +2235,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2233
2235
  }, z$1.ZodUnknown, "strip">>;
2234
2236
  }, "strip", z$1.ZodTypeAny, {
2235
2237
  authScheme: "NO_AUTH";
2238
+ toolkitSlug: string;
2236
2239
  val: {
2237
2240
  version?: string | undefined;
2238
2241
  "your-domain"?: string | undefined;
@@ -2268,9 +2271,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2268
2271
  } & {
2269
2272
  [k: string]: unknown;
2270
2273
  };
2271
- toolkitSlug: string;
2272
2274
  }, {
2273
2275
  authScheme: "NO_AUTH";
2276
+ toolkitSlug: string;
2274
2277
  val: {
2275
2278
  version?: string | undefined;
2276
2279
  "your-domain"?: string | undefined;
@@ -2306,7 +2309,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2306
2309
  } & {
2307
2310
  [k: string]: unknown;
2308
2311
  };
2309
- toolkitSlug: string;
2310
2312
  }>, z$1.ZodObject<{
2311
2313
  authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
2312
2314
  toolkitSlug: z$1.ZodString;
@@ -2421,6 +2423,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2421
2423
  }, z$1.ZodUnknown, "strip">>;
2422
2424
  }, "strip", z$1.ZodTypeAny, {
2423
2425
  authScheme: "SERVICE_ACCOUNT";
2426
+ toolkitSlug: string;
2424
2427
  val: {
2425
2428
  application_id: string;
2426
2429
  installation_id: string;
@@ -2459,9 +2462,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2459
2462
  } & {
2460
2463
  [k: string]: unknown;
2461
2464
  };
2462
- toolkitSlug: string;
2463
2465
  }, {
2464
2466
  authScheme: "SERVICE_ACCOUNT";
2467
+ toolkitSlug: string;
2465
2468
  val: {
2466
2469
  application_id: string;
2467
2470
  installation_id: string;
@@ -2500,7 +2503,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2500
2503
  } & {
2501
2504
  [k: string]: unknown;
2502
2505
  };
2503
- toolkitSlug: string;
2504
2506
  }>]>>;
2505
2507
  arguments: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
2506
2508
  userId: z$1.ZodOptional<z$1.ZodString>;
@@ -2522,6 +2524,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2522
2524
  } | undefined;
2523
2525
  customConnectionData?: {
2524
2526
  authScheme: "OAUTH2";
2527
+ toolkitSlug: string;
2525
2528
  val: {
2526
2529
  access_token: string;
2527
2530
  version?: string | undefined;
@@ -2555,12 +2558,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2555
2558
  registration_access_token?: string | undefined;
2556
2559
  registration_client_uri?: string | undefined;
2557
2560
  composio_link_redirect_url?: string | undefined;
2558
- webhook_signature?: string | undefined;
2559
2561
  id_token?: string | undefined;
2560
2562
  token_type?: string | undefined;
2561
2563
  refresh_token?: string | null | undefined;
2562
2564
  expires_in?: string | number | null | undefined;
2563
2565
  scope?: string | string[] | null | undefined;
2566
+ webhook_signature?: string | undefined;
2564
2567
  authed_user?: {
2565
2568
  access_token?: string | undefined;
2566
2569
  scope?: string | undefined;
@@ -2568,9 +2571,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2568
2571
  } & {
2569
2572
  [k: string]: unknown;
2570
2573
  };
2571
- toolkitSlug: string;
2572
2574
  } | {
2573
2575
  authScheme: "DCR_OAUTH";
2576
+ toolkitSlug: string;
2574
2577
  val: {
2575
2578
  access_token: string;
2576
2579
  client_id: string;
@@ -2608,9 +2611,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2608
2611
  } & {
2609
2612
  [k: string]: unknown;
2610
2613
  };
2611
- toolkitSlug: string;
2612
2614
  } | {
2613
2615
  authScheme: "API_KEY";
2616
+ toolkitSlug: string;
2614
2617
  val: {
2615
2618
  version?: string | undefined;
2616
2619
  "your-domain"?: string | undefined;
@@ -2646,9 +2649,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2646
2649
  } & {
2647
2650
  [k: string]: unknown;
2648
2651
  };
2649
- toolkitSlug: string;
2650
2652
  } | {
2651
2653
  authScheme: "BASIC_WITH_JWT";
2654
+ toolkitSlug: string;
2652
2655
  val: {
2653
2656
  username: string;
2654
2657
  password: string;
@@ -2686,9 +2689,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2686
2689
  } & {
2687
2690
  [k: string]: unknown;
2688
2691
  };
2689
- toolkitSlug: string;
2690
2692
  } | {
2691
2693
  authScheme: "BASIC";
2694
+ toolkitSlug: string;
2692
2695
  val: {
2693
2696
  username: string;
2694
2697
  password: string;
@@ -2726,9 +2729,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2726
2729
  } & {
2727
2730
  [k: string]: unknown;
2728
2731
  };
2729
- toolkitSlug: string;
2730
2732
  } | {
2731
2733
  authScheme: "BEARER_TOKEN";
2734
+ toolkitSlug: string;
2732
2735
  val: {
2733
2736
  token: string;
2734
2737
  version?: string | undefined;
@@ -2765,9 +2768,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2765
2768
  } & {
2766
2769
  [k: string]: unknown;
2767
2770
  };
2768
- toolkitSlug: string;
2769
2771
  } | {
2770
2772
  authScheme: "OAUTH1";
2773
+ toolkitSlug: string;
2771
2774
  val: {
2772
2775
  oauth_token: string;
2773
2776
  oauth_token_secret: string;
@@ -2802,16 +2805,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2802
2805
  registration_access_token?: string | undefined;
2803
2806
  registration_client_uri?: string | undefined;
2804
2807
  composio_link_redirect_url?: string | undefined;
2805
- redirectUrl?: string | undefined;
2806
- callback_url?: string | undefined;
2807
2808
  consumer_key?: string | undefined;
2808
2809
  oauth_verifier?: string | undefined;
2810
+ redirectUrl?: string | undefined;
2811
+ callback_url?: string | undefined;
2809
2812
  } & {
2810
2813
  [k: string]: unknown;
2811
2814
  };
2812
- toolkitSlug: string;
2813
2815
  } | {
2814
2816
  authScheme: "NO_AUTH";
2817
+ toolkitSlug: string;
2815
2818
  val: {
2816
2819
  version?: string | undefined;
2817
2820
  "your-domain"?: string | undefined;
@@ -2847,9 +2850,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2847
2850
  } & {
2848
2851
  [k: string]: unknown;
2849
2852
  };
2850
- toolkitSlug: string;
2851
2853
  } | {
2852
2854
  authScheme: "SERVICE_ACCOUNT";
2855
+ toolkitSlug: string;
2853
2856
  val: {
2854
2857
  application_id: string;
2855
2858
  installation_id: string;
@@ -2888,7 +2891,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2888
2891
  } & {
2889
2892
  [k: string]: unknown;
2890
2893
  };
2891
- toolkitSlug: string;
2892
2894
  } | undefined;
2893
2895
  arguments?: Record<string, unknown> | undefined;
2894
2896
  userId?: string | undefined;
@@ -2909,6 +2911,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2909
2911
  } | undefined;
2910
2912
  customConnectionData?: {
2911
2913
  authScheme: "OAUTH2";
2914
+ toolkitSlug: string;
2912
2915
  val: {
2913
2916
  access_token: string;
2914
2917
  version?: string | undefined;
@@ -2942,12 +2945,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2942
2945
  registration_access_token?: string | undefined;
2943
2946
  registration_client_uri?: string | undefined;
2944
2947
  composio_link_redirect_url?: string | undefined;
2945
- webhook_signature?: string | undefined;
2946
2948
  id_token?: string | undefined;
2947
2949
  token_type?: string | undefined;
2948
2950
  refresh_token?: string | null | undefined;
2949
2951
  expires_in?: string | number | null | undefined;
2950
2952
  scope?: string | string[] | null | undefined;
2953
+ webhook_signature?: string | undefined;
2951
2954
  authed_user?: {
2952
2955
  access_token?: string | undefined;
2953
2956
  scope?: string | undefined;
@@ -2955,9 +2958,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2955
2958
  } & {
2956
2959
  [k: string]: unknown;
2957
2960
  };
2958
- toolkitSlug: string;
2959
2961
  } | {
2960
2962
  authScheme: "DCR_OAUTH";
2963
+ toolkitSlug: string;
2961
2964
  val: {
2962
2965
  access_token: string;
2963
2966
  client_id: string;
@@ -2995,9 +2998,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2995
2998
  } & {
2996
2999
  [k: string]: unknown;
2997
3000
  };
2998
- toolkitSlug: string;
2999
3001
  } | {
3000
3002
  authScheme: "API_KEY";
3003
+ toolkitSlug: string;
3001
3004
  val: {
3002
3005
  version?: string | undefined;
3003
3006
  "your-domain"?: string | undefined;
@@ -3033,9 +3036,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3033
3036
  } & {
3034
3037
  [k: string]: unknown;
3035
3038
  };
3036
- toolkitSlug: string;
3037
3039
  } | {
3038
3040
  authScheme: "BASIC_WITH_JWT";
3041
+ toolkitSlug: string;
3039
3042
  val: {
3040
3043
  username: string;
3041
3044
  password: string;
@@ -3073,9 +3076,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3073
3076
  } & {
3074
3077
  [k: string]: unknown;
3075
3078
  };
3076
- toolkitSlug: string;
3077
3079
  } | {
3078
3080
  authScheme: "BASIC";
3081
+ toolkitSlug: string;
3079
3082
  val: {
3080
3083
  username: string;
3081
3084
  password: string;
@@ -3113,9 +3116,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3113
3116
  } & {
3114
3117
  [k: string]: unknown;
3115
3118
  };
3116
- toolkitSlug: string;
3117
3119
  } | {
3118
3120
  authScheme: "BEARER_TOKEN";
3121
+ toolkitSlug: string;
3119
3122
  val: {
3120
3123
  token: string;
3121
3124
  version?: string | undefined;
@@ -3152,9 +3155,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3152
3155
  } & {
3153
3156
  [k: string]: unknown;
3154
3157
  };
3155
- toolkitSlug: string;
3156
3158
  } | {
3157
3159
  authScheme: "OAUTH1";
3160
+ toolkitSlug: string;
3158
3161
  val: {
3159
3162
  oauth_token: string;
3160
3163
  oauth_token_secret: string;
@@ -3189,16 +3192,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3189
3192
  registration_access_token?: string | undefined;
3190
3193
  registration_client_uri?: string | undefined;
3191
3194
  composio_link_redirect_url?: string | undefined;
3192
- redirectUrl?: string | undefined;
3193
- callback_url?: string | undefined;
3194
3195
  consumer_key?: string | undefined;
3195
3196
  oauth_verifier?: string | undefined;
3197
+ redirectUrl?: string | undefined;
3198
+ callback_url?: string | undefined;
3196
3199
  } & {
3197
3200
  [k: string]: unknown;
3198
3201
  };
3199
- toolkitSlug: string;
3200
3202
  } | {
3201
3203
  authScheme: "NO_AUTH";
3204
+ toolkitSlug: string;
3202
3205
  val: {
3203
3206
  version?: string | undefined;
3204
3207
  "your-domain"?: string | undefined;
@@ -3234,9 +3237,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3234
3237
  } & {
3235
3238
  [k: string]: unknown;
3236
3239
  };
3237
- toolkitSlug: string;
3238
3240
  } | {
3239
3241
  authScheme: "SERVICE_ACCOUNT";
3242
+ toolkitSlug: string;
3240
3243
  val: {
3241
3244
  application_id: string;
3242
3245
  installation_id: string;
@@ -3275,7 +3278,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3275
3278
  } & {
3276
3279
  [k: string]: unknown;
3277
3280
  };
3278
- toolkitSlug: string;
3279
3281
  } | undefined;
3280
3282
  arguments?: Record<string, unknown> | undefined;
3281
3283
  userId?: string | undefined;
@@ -3304,14 +3306,14 @@ declare const ToolExecuteResponseSchema: z$1.ZodObject<{
3304
3306
  logId: z$1.ZodOptional<z$1.ZodString>;
3305
3307
  sessionInfo: z$1.ZodOptional<z$1.ZodUnknown>;
3306
3308
  }, "strip", z$1.ZodTypeAny, {
3307
- error: string | null;
3308
3309
  data: Record<string, unknown>;
3310
+ error: string | null;
3309
3311
  successful: boolean;
3310
3312
  logId?: string | undefined;
3311
3313
  sessionInfo?: unknown;
3312
3314
  }, {
3313
- error: string | null;
3314
3315
  data: Record<string, unknown>;
3316
+ error: string | null;
3315
3317
  successful: boolean;
3316
3318
  logId?: string | undefined;
3317
3319
  sessionInfo?: unknown;
@@ -3497,6 +3499,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3497
3499
  }, "status">, z$1.ZodUnknown, "strip">>;
3498
3500
  }, "strip", z$1.ZodTypeAny, {
3499
3501
  authScheme: "OAUTH2";
3502
+ toolkitSlug: string;
3500
3503
  val: {
3501
3504
  access_token: string;
3502
3505
  version?: string | undefined;
@@ -3530,12 +3533,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3530
3533
  registration_access_token?: string | undefined;
3531
3534
  registration_client_uri?: string | undefined;
3532
3535
  composio_link_redirect_url?: string | undefined;
3533
- webhook_signature?: string | undefined;
3534
3536
  id_token?: string | undefined;
3535
3537
  token_type?: string | undefined;
3536
3538
  refresh_token?: string | null | undefined;
3537
3539
  expires_in?: string | number | null | undefined;
3538
3540
  scope?: string | string[] | null | undefined;
3541
+ webhook_signature?: string | undefined;
3539
3542
  authed_user?: {
3540
3543
  access_token?: string | undefined;
3541
3544
  scope?: string | undefined;
@@ -3543,9 +3546,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3543
3546
  } & {
3544
3547
  [k: string]: unknown;
3545
3548
  };
3546
- toolkitSlug: string;
3547
3549
  }, {
3548
3550
  authScheme: "OAUTH2";
3551
+ toolkitSlug: string;
3549
3552
  val: {
3550
3553
  access_token: string;
3551
3554
  version?: string | undefined;
@@ -3579,12 +3582,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3579
3582
  registration_access_token?: string | undefined;
3580
3583
  registration_client_uri?: string | undefined;
3581
3584
  composio_link_redirect_url?: string | undefined;
3582
- webhook_signature?: string | undefined;
3583
3585
  id_token?: string | undefined;
3584
3586
  token_type?: string | undefined;
3585
3587
  refresh_token?: string | null | undefined;
3586
3588
  expires_in?: string | number | null | undefined;
3587
3589
  scope?: string | string[] | null | undefined;
3590
+ webhook_signature?: string | undefined;
3588
3591
  authed_user?: {
3589
3592
  access_token?: string | undefined;
3590
3593
  scope?: string | undefined;
@@ -3592,7 +3595,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3592
3595
  } & {
3593
3596
  [k: string]: unknown;
3594
3597
  };
3595
- toolkitSlug: string;
3596
3598
  }>, z$1.ZodObject<{
3597
3599
  authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
3598
3600
  toolkitSlug: z$1.ZodString;
@@ -3704,6 +3706,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3704
3706
  }, z$1.ZodUnknown, "strip">>;
3705
3707
  }, "strip", z$1.ZodTypeAny, {
3706
3708
  authScheme: "DCR_OAUTH";
3709
+ toolkitSlug: string;
3707
3710
  val: {
3708
3711
  access_token: string;
3709
3712
  client_id: string;
@@ -3741,9 +3744,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3741
3744
  } & {
3742
3745
  [k: string]: unknown;
3743
3746
  };
3744
- toolkitSlug: string;
3745
3747
  }, {
3746
3748
  authScheme: "DCR_OAUTH";
3749
+ toolkitSlug: string;
3747
3750
  val: {
3748
3751
  access_token: string;
3749
3752
  client_id: string;
@@ -3781,7 +3784,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3781
3784
  } & {
3782
3785
  [k: string]: unknown;
3783
3786
  };
3784
- toolkitSlug: string;
3785
3787
  }>, z$1.ZodObject<{
3786
3788
  authScheme: z$1.ZodLiteral<"API_KEY">;
3787
3789
  toolkitSlug: z$1.ZodString;
@@ -3887,6 +3889,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3887
3889
  }, z$1.ZodUnknown, "strip">>;
3888
3890
  }, "strip", z$1.ZodTypeAny, {
3889
3891
  authScheme: "API_KEY";
3892
+ toolkitSlug: string;
3890
3893
  val: {
3891
3894
  version?: string | undefined;
3892
3895
  "your-domain"?: string | undefined;
@@ -3922,9 +3925,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3922
3925
  } & {
3923
3926
  [k: string]: unknown;
3924
3927
  };
3925
- toolkitSlug: string;
3926
3928
  }, {
3927
3929
  authScheme: "API_KEY";
3930
+ toolkitSlug: string;
3928
3931
  val: {
3929
3932
  version?: string | undefined;
3930
3933
  "your-domain"?: string | undefined;
@@ -3960,7 +3963,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3960
3963
  } & {
3961
3964
  [k: string]: unknown;
3962
3965
  };
3963
- toolkitSlug: string;
3964
3966
  }>, z$1.ZodObject<{
3965
3967
  authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
3966
3968
  toolkitSlug: z$1.ZodString;
@@ -4072,6 +4074,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4072
4074
  }, z$1.ZodUnknown, "strip">>;
4073
4075
  }, "strip", z$1.ZodTypeAny, {
4074
4076
  authScheme: "BASIC_WITH_JWT";
4077
+ toolkitSlug: string;
4075
4078
  val: {
4076
4079
  username: string;
4077
4080
  password: string;
@@ -4109,9 +4112,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4109
4112
  } & {
4110
4113
  [k: string]: unknown;
4111
4114
  };
4112
- toolkitSlug: string;
4113
4115
  }, {
4114
4116
  authScheme: "BASIC_WITH_JWT";
4117
+ toolkitSlug: string;
4115
4118
  val: {
4116
4119
  username: string;
4117
4120
  password: string;
@@ -4149,7 +4152,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4149
4152
  } & {
4150
4153
  [k: string]: unknown;
4151
4154
  };
4152
- toolkitSlug: string;
4153
4155
  }>, z$1.ZodObject<{
4154
4156
  authScheme: z$1.ZodLiteral<"BASIC">;
4155
4157
  toolkitSlug: z$1.ZodString;
@@ -4261,6 +4263,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4261
4263
  }, z$1.ZodUnknown, "strip">>;
4262
4264
  }, "strip", z$1.ZodTypeAny, {
4263
4265
  authScheme: "BASIC";
4266
+ toolkitSlug: string;
4264
4267
  val: {
4265
4268
  username: string;
4266
4269
  password: string;
@@ -4298,9 +4301,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4298
4301
  } & {
4299
4302
  [k: string]: unknown;
4300
4303
  };
4301
- toolkitSlug: string;
4302
4304
  }, {
4303
4305
  authScheme: "BASIC";
4306
+ toolkitSlug: string;
4304
4307
  val: {
4305
4308
  username: string;
4306
4309
  password: string;
@@ -4338,7 +4341,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4338
4341
  } & {
4339
4342
  [k: string]: unknown;
4340
4343
  };
4341
- toolkitSlug: string;
4342
4344
  }>, z$1.ZodObject<{
4343
4345
  authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
4344
4346
  toolkitSlug: z$1.ZodString;
@@ -4447,6 +4449,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4447
4449
  }, z$1.ZodUnknown, "strip">>;
4448
4450
  }, "strip", z$1.ZodTypeAny, {
4449
4451
  authScheme: "BEARER_TOKEN";
4452
+ toolkitSlug: string;
4450
4453
  val: {
4451
4454
  token: string;
4452
4455
  version?: string | undefined;
@@ -4483,9 +4486,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4483
4486
  } & {
4484
4487
  [k: string]: unknown;
4485
4488
  };
4486
- toolkitSlug: string;
4487
4489
  }, {
4488
4490
  authScheme: "BEARER_TOKEN";
4491
+ toolkitSlug: string;
4489
4492
  val: {
4490
4493
  token: string;
4491
4494
  version?: string | undefined;
@@ -4522,7 +4525,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4522
4525
  } & {
4523
4526
  [k: string]: unknown;
4524
4527
  };
4525
- toolkitSlug: string;
4526
4528
  }>, z$1.ZodObject<{
4527
4529
  authScheme: z$1.ZodLiteral<"OAUTH1">;
4528
4530
  toolkitSlug: z$1.ZodString;
@@ -4649,6 +4651,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4649
4651
  }, "status">, z$1.ZodUnknown, "strip">>;
4650
4652
  }, "strip", z$1.ZodTypeAny, {
4651
4653
  authScheme: "OAUTH1";
4654
+ toolkitSlug: string;
4652
4655
  val: {
4653
4656
  oauth_token: string;
4654
4657
  oauth_token_secret: string;
@@ -4683,16 +4686,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4683
4686
  registration_access_token?: string | undefined;
4684
4687
  registration_client_uri?: string | undefined;
4685
4688
  composio_link_redirect_url?: string | undefined;
4686
- redirectUrl?: string | undefined;
4687
- callback_url?: string | undefined;
4688
4689
  consumer_key?: string | undefined;
4689
4690
  oauth_verifier?: string | undefined;
4691
+ redirectUrl?: string | undefined;
4692
+ callback_url?: string | undefined;
4690
4693
  } & {
4691
4694
  [k: string]: unknown;
4692
4695
  };
4693
- toolkitSlug: string;
4694
4696
  }, {
4695
4697
  authScheme: "OAUTH1";
4698
+ toolkitSlug: string;
4696
4699
  val: {
4697
4700
  oauth_token: string;
4698
4701
  oauth_token_secret: string;
@@ -4727,14 +4730,13 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4727
4730
  registration_access_token?: string | undefined;
4728
4731
  registration_client_uri?: string | undefined;
4729
4732
  composio_link_redirect_url?: string | undefined;
4730
- redirectUrl?: string | undefined;
4731
- callback_url?: string | undefined;
4732
4733
  consumer_key?: string | undefined;
4733
4734
  oauth_verifier?: string | undefined;
4735
+ redirectUrl?: string | undefined;
4736
+ callback_url?: string | undefined;
4734
4737
  } & {
4735
4738
  [k: string]: unknown;
4736
4739
  };
4737
- toolkitSlug: string;
4738
4740
  }>, z$1.ZodObject<{
4739
4741
  authScheme: z$1.ZodLiteral<"NO_AUTH">;
4740
4742
  toolkitSlug: z$1.ZodString;
@@ -4837,6 +4839,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4837
4839
  }, z$1.ZodUnknown, "strip">>;
4838
4840
  }, "strip", z$1.ZodTypeAny, {
4839
4841
  authScheme: "NO_AUTH";
4842
+ toolkitSlug: string;
4840
4843
  val: {
4841
4844
  version?: string | undefined;
4842
4845
  "your-domain"?: string | undefined;
@@ -4872,9 +4875,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4872
4875
  } & {
4873
4876
  [k: string]: unknown;
4874
4877
  };
4875
- toolkitSlug: string;
4876
4878
  }, {
4877
4879
  authScheme: "NO_AUTH";
4880
+ toolkitSlug: string;
4878
4881
  val: {
4879
4882
  version?: string | undefined;
4880
4883
  "your-domain"?: string | undefined;
@@ -4910,7 +4913,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
4910
4913
  } & {
4911
4914
  [k: string]: unknown;
4912
4915
  };
4913
- toolkitSlug: string;
4914
4916
  }>, z$1.ZodObject<{
4915
4917
  authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
4916
4918
  toolkitSlug: z$1.ZodString;
@@ -5025,6 +5027,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5025
5027
  }, z$1.ZodUnknown, "strip">>;
5026
5028
  }, "strip", z$1.ZodTypeAny, {
5027
5029
  authScheme: "SERVICE_ACCOUNT";
5030
+ toolkitSlug: string;
5028
5031
  val: {
5029
5032
  application_id: string;
5030
5033
  installation_id: string;
@@ -5063,9 +5066,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5063
5066
  } & {
5064
5067
  [k: string]: unknown;
5065
5068
  };
5066
- toolkitSlug: string;
5067
5069
  }, {
5068
5070
  authScheme: "SERVICE_ACCOUNT";
5071
+ toolkitSlug: string;
5069
5072
  val: {
5070
5073
  application_id: string;
5071
5074
  installation_id: string;
@@ -5104,7 +5107,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5104
5107
  } & {
5105
5108
  [k: string]: unknown;
5106
5109
  };
5107
- toolkitSlug: string;
5108
5110
  }>]>>;
5109
5111
  }, "strip", z$1.ZodTypeAny, {
5110
5112
  endpoint: string;
@@ -5118,6 +5120,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5118
5120
  connectedAccountId?: string | undefined;
5119
5121
  customConnectionData?: {
5120
5122
  authScheme: "OAUTH2";
5123
+ toolkitSlug: string;
5121
5124
  val: {
5122
5125
  access_token: string;
5123
5126
  version?: string | undefined;
@@ -5151,12 +5154,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5151
5154
  registration_access_token?: string | undefined;
5152
5155
  registration_client_uri?: string | undefined;
5153
5156
  composio_link_redirect_url?: string | undefined;
5154
- webhook_signature?: string | undefined;
5155
5157
  id_token?: string | undefined;
5156
5158
  token_type?: string | undefined;
5157
5159
  refresh_token?: string | null | undefined;
5158
5160
  expires_in?: string | number | null | undefined;
5159
5161
  scope?: string | string[] | null | undefined;
5162
+ webhook_signature?: string | undefined;
5160
5163
  authed_user?: {
5161
5164
  access_token?: string | undefined;
5162
5165
  scope?: string | undefined;
@@ -5164,9 +5167,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5164
5167
  } & {
5165
5168
  [k: string]: unknown;
5166
5169
  };
5167
- toolkitSlug: string;
5168
5170
  } | {
5169
5171
  authScheme: "DCR_OAUTH";
5172
+ toolkitSlug: string;
5170
5173
  val: {
5171
5174
  access_token: string;
5172
5175
  client_id: string;
@@ -5204,9 +5207,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5204
5207
  } & {
5205
5208
  [k: string]: unknown;
5206
5209
  };
5207
- toolkitSlug: string;
5208
5210
  } | {
5209
5211
  authScheme: "API_KEY";
5212
+ toolkitSlug: string;
5210
5213
  val: {
5211
5214
  version?: string | undefined;
5212
5215
  "your-domain"?: string | undefined;
@@ -5242,9 +5245,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5242
5245
  } & {
5243
5246
  [k: string]: unknown;
5244
5247
  };
5245
- toolkitSlug: string;
5246
5248
  } | {
5247
5249
  authScheme: "BASIC_WITH_JWT";
5250
+ toolkitSlug: string;
5248
5251
  val: {
5249
5252
  username: string;
5250
5253
  password: string;
@@ -5282,9 +5285,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5282
5285
  } & {
5283
5286
  [k: string]: unknown;
5284
5287
  };
5285
- toolkitSlug: string;
5286
5288
  } | {
5287
5289
  authScheme: "BASIC";
5290
+ toolkitSlug: string;
5288
5291
  val: {
5289
5292
  username: string;
5290
5293
  password: string;
@@ -5322,9 +5325,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5322
5325
  } & {
5323
5326
  [k: string]: unknown;
5324
5327
  };
5325
- toolkitSlug: string;
5326
5328
  } | {
5327
5329
  authScheme: "BEARER_TOKEN";
5330
+ toolkitSlug: string;
5328
5331
  val: {
5329
5332
  token: string;
5330
5333
  version?: string | undefined;
@@ -5361,9 +5364,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5361
5364
  } & {
5362
5365
  [k: string]: unknown;
5363
5366
  };
5364
- toolkitSlug: string;
5365
5367
  } | {
5366
5368
  authScheme: "OAUTH1";
5369
+ toolkitSlug: string;
5367
5370
  val: {
5368
5371
  oauth_token: string;
5369
5372
  oauth_token_secret: string;
@@ -5398,16 +5401,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5398
5401
  registration_access_token?: string | undefined;
5399
5402
  registration_client_uri?: string | undefined;
5400
5403
  composio_link_redirect_url?: string | undefined;
5401
- redirectUrl?: string | undefined;
5402
- callback_url?: string | undefined;
5403
5404
  consumer_key?: string | undefined;
5404
5405
  oauth_verifier?: string | undefined;
5406
+ redirectUrl?: string | undefined;
5407
+ callback_url?: string | undefined;
5405
5408
  } & {
5406
5409
  [k: string]: unknown;
5407
5410
  };
5408
- toolkitSlug: string;
5409
5411
  } | {
5410
5412
  authScheme: "NO_AUTH";
5413
+ toolkitSlug: string;
5411
5414
  val: {
5412
5415
  version?: string | undefined;
5413
5416
  "your-domain"?: string | undefined;
@@ -5443,9 +5446,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5443
5446
  } & {
5444
5447
  [k: string]: unknown;
5445
5448
  };
5446
- toolkitSlug: string;
5447
5449
  } | {
5448
5450
  authScheme: "SERVICE_ACCOUNT";
5451
+ toolkitSlug: string;
5449
5452
  val: {
5450
5453
  application_id: string;
5451
5454
  installation_id: string;
@@ -5484,7 +5487,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5484
5487
  } & {
5485
5488
  [k: string]: unknown;
5486
5489
  };
5487
- toolkitSlug: string;
5488
5490
  } | undefined;
5489
5491
  }, {
5490
5492
  endpoint: string;
@@ -5498,6 +5500,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5498
5500
  connectedAccountId?: string | undefined;
5499
5501
  customConnectionData?: {
5500
5502
  authScheme: "OAUTH2";
5503
+ toolkitSlug: string;
5501
5504
  val: {
5502
5505
  access_token: string;
5503
5506
  version?: string | undefined;
@@ -5531,12 +5534,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5531
5534
  registration_access_token?: string | undefined;
5532
5535
  registration_client_uri?: string | undefined;
5533
5536
  composio_link_redirect_url?: string | undefined;
5534
- webhook_signature?: string | undefined;
5535
5537
  id_token?: string | undefined;
5536
5538
  token_type?: string | undefined;
5537
5539
  refresh_token?: string | null | undefined;
5538
5540
  expires_in?: string | number | null | undefined;
5539
5541
  scope?: string | string[] | null | undefined;
5542
+ webhook_signature?: string | undefined;
5540
5543
  authed_user?: {
5541
5544
  access_token?: string | undefined;
5542
5545
  scope?: string | undefined;
@@ -5544,9 +5547,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5544
5547
  } & {
5545
5548
  [k: string]: unknown;
5546
5549
  };
5547
- toolkitSlug: string;
5548
5550
  } | {
5549
5551
  authScheme: "DCR_OAUTH";
5552
+ toolkitSlug: string;
5550
5553
  val: {
5551
5554
  access_token: string;
5552
5555
  client_id: string;
@@ -5584,9 +5587,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5584
5587
  } & {
5585
5588
  [k: string]: unknown;
5586
5589
  };
5587
- toolkitSlug: string;
5588
5590
  } | {
5589
5591
  authScheme: "API_KEY";
5592
+ toolkitSlug: string;
5590
5593
  val: {
5591
5594
  version?: string | undefined;
5592
5595
  "your-domain"?: string | undefined;
@@ -5622,9 +5625,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5622
5625
  } & {
5623
5626
  [k: string]: unknown;
5624
5627
  };
5625
- toolkitSlug: string;
5626
5628
  } | {
5627
5629
  authScheme: "BASIC_WITH_JWT";
5630
+ toolkitSlug: string;
5628
5631
  val: {
5629
5632
  username: string;
5630
5633
  password: string;
@@ -5662,9 +5665,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5662
5665
  } & {
5663
5666
  [k: string]: unknown;
5664
5667
  };
5665
- toolkitSlug: string;
5666
5668
  } | {
5667
5669
  authScheme: "BASIC";
5670
+ toolkitSlug: string;
5668
5671
  val: {
5669
5672
  username: string;
5670
5673
  password: string;
@@ -5702,9 +5705,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5702
5705
  } & {
5703
5706
  [k: string]: unknown;
5704
5707
  };
5705
- toolkitSlug: string;
5706
5708
  } | {
5707
5709
  authScheme: "BEARER_TOKEN";
5710
+ toolkitSlug: string;
5708
5711
  val: {
5709
5712
  token: string;
5710
5713
  version?: string | undefined;
@@ -5741,9 +5744,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5741
5744
  } & {
5742
5745
  [k: string]: unknown;
5743
5746
  };
5744
- toolkitSlug: string;
5745
5747
  } | {
5746
5748
  authScheme: "OAUTH1";
5749
+ toolkitSlug: string;
5747
5750
  val: {
5748
5751
  oauth_token: string;
5749
5752
  oauth_token_secret: string;
@@ -5778,16 +5781,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5778
5781
  registration_access_token?: string | undefined;
5779
5782
  registration_client_uri?: string | undefined;
5780
5783
  composio_link_redirect_url?: string | undefined;
5781
- redirectUrl?: string | undefined;
5782
- callback_url?: string | undefined;
5783
5784
  consumer_key?: string | undefined;
5784
5785
  oauth_verifier?: string | undefined;
5786
+ redirectUrl?: string | undefined;
5787
+ callback_url?: string | undefined;
5785
5788
  } & {
5786
5789
  [k: string]: unknown;
5787
5790
  };
5788
- toolkitSlug: string;
5789
5791
  } | {
5790
5792
  authScheme: "NO_AUTH";
5793
+ toolkitSlug: string;
5791
5794
  val: {
5792
5795
  version?: string | undefined;
5793
5796
  "your-domain"?: string | undefined;
@@ -5823,9 +5826,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5823
5826
  } & {
5824
5827
  [k: string]: unknown;
5825
5828
  };
5826
- toolkitSlug: string;
5827
5829
  } | {
5828
5830
  authScheme: "SERVICE_ACCOUNT";
5831
+ toolkitSlug: string;
5829
5832
  val: {
5830
5833
  application_id: string;
5831
5834
  installation_id: string;
@@ -5864,7 +5867,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5864
5867
  } & {
5865
5868
  [k: string]: unknown;
5866
5869
  };
5867
- toolkitSlug: string;
5868
5870
  } | undefined;
5869
5871
  }>;
5870
5872
  type ToolProxyParams = z$1.infer<typeof ToolProxyParamsSchema>;
@@ -11097,12 +11099,13 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
11097
11099
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
11098
11100
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
11099
11101
  } & {
11100
- status: z$1.ZodLiteral<"INITIATED">;
11101
- authUri: z$1.ZodString;
11102
+ status: z$1.ZodLiteral<"ACTIVE">;
11102
11103
  oauth_token: z$1.ZodString;
11103
11104
  oauth_token_secret: z$1.ZodString;
11104
- redirectUrl: z$1.ZodString;
11105
- callbackUrl: z$1.ZodOptional<z$1.ZodString>;
11105
+ consumer_key: z$1.ZodOptional<z$1.ZodString>;
11106
+ oauth_verifier: z$1.ZodOptional<z$1.ZodString>;
11107
+ redirectUrl: z$1.ZodOptional<z$1.ZodString>;
11108
+ callback_url: z$1.ZodOptional<z$1.ZodString>;
11106
11109
  }, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
11107
11110
  subdomain: z$1.ZodOptional<z$1.ZodString>;
11108
11111
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -11136,13 +11139,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
11136
11139
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
11137
11140
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
11138
11141
  } & {
11139
- status: z$1.ZodLiteral<"ACTIVE">;
11142
+ status: z$1.ZodLiteral<"INITIATED">;
11143
+ authUri: z$1.ZodString;
11140
11144
  oauth_token: z$1.ZodString;
11141
11145
  oauth_token_secret: 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>;
11146
+ redirectUrl: z$1.ZodString;
11147
+ callbackUrl: z$1.ZodOptional<z$1.ZodString>;
11146
11148
  }, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
11147
11149
  subdomain: z$1.ZodOptional<z$1.ZodString>;
11148
11150
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -11323,45 +11325,6 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
11323
11325
  registration_access_token: z$1.ZodOptional<z$1.ZodString>;
11324
11326
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
11325
11327
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
11326
- } & {
11327
- status: z$1.ZodLiteral<"INITIATED">;
11328
- authUri: z$1.ZodString;
11329
- oauth_token: z$1.ZodString;
11330
- oauth_token_secret: z$1.ZodString;
11331
- redirectUrl: z$1.ZodString;
11332
- callbackUrl: z$1.ZodOptional<z$1.ZodString>;
11333
- }, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
11334
- subdomain: z$1.ZodOptional<z$1.ZodString>;
11335
- "your-domain": z$1.ZodOptional<z$1.ZodString>;
11336
- region: z$1.ZodOptional<z$1.ZodString>;
11337
- shop: z$1.ZodOptional<z$1.ZodString>;
11338
- account_url: z$1.ZodOptional<z$1.ZodString>;
11339
- COMPANYDOMAIN: z$1.ZodOptional<z$1.ZodString>;
11340
- extension: z$1.ZodOptional<z$1.ZodString>;
11341
- form_api_base_url: z$1.ZodOptional<z$1.ZodString>;
11342
- instanceEndpoint: z$1.ZodOptional<z$1.ZodString>;
11343
- api_url: z$1.ZodOptional<z$1.ZodString>;
11344
- borneo_dashboard_url: z$1.ZodOptional<z$1.ZodString>;
11345
- proxy_username: z$1.ZodOptional<z$1.ZodString>;
11346
- proxy_password: z$1.ZodOptional<z$1.ZodString>;
11347
- domain: z$1.ZodOptional<z$1.ZodString>;
11348
- version: z$1.ZodOptional<z$1.ZodString>;
11349
- dc: z$1.ZodOptional<z$1.ZodString>;
11350
- site_name: z$1.ZodOptional<z$1.ZodString>;
11351
- instanceName: z$1.ZodOptional<z$1.ZodString>;
11352
- account_id: z$1.ZodOptional<z$1.ZodString>;
11353
- your_server: z$1.ZodOptional<z$1.ZodString>;
11354
- server_location: z$1.ZodOptional<z$1.ZodString>;
11355
- base_url: z$1.ZodOptional<z$1.ZodString>;
11356
- api_key: z$1.ZodOptional<z$1.ZodString>;
11357
- generic_api_key: z$1.ZodOptional<z$1.ZodString>;
11358
- bearer_token: z$1.ZodOptional<z$1.ZodString>;
11359
- basic_encoded: z$1.ZodOptional<z$1.ZodString>;
11360
- long_redirect_url: z$1.ZodOptional<z$1.ZodBoolean>;
11361
- state_prefix: z$1.ZodOptional<z$1.ZodString>;
11362
- registration_access_token: z$1.ZodOptional<z$1.ZodString>;
11363
- registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
11364
- composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
11365
11328
  } & {
11366
11329
  status: z$1.ZodLiteral<"ACTIVE">;
11367
11330
  oauth_token: z$1.ZodString;
@@ -11402,6 +11365,45 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
11402
11365
  registration_access_token: z$1.ZodOptional<z$1.ZodString>;
11403
11366
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
11404
11367
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
11368
+ } & {
11369
+ status: z$1.ZodLiteral<"INITIATED">;
11370
+ authUri: z$1.ZodString;
11371
+ oauth_token: z$1.ZodString;
11372
+ oauth_token_secret: z$1.ZodString;
11373
+ redirectUrl: z$1.ZodString;
11374
+ callbackUrl: z$1.ZodOptional<z$1.ZodString>;
11375
+ }, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
11376
+ subdomain: z$1.ZodOptional<z$1.ZodString>;
11377
+ "your-domain": z$1.ZodOptional<z$1.ZodString>;
11378
+ region: z$1.ZodOptional<z$1.ZodString>;
11379
+ shop: z$1.ZodOptional<z$1.ZodString>;
11380
+ account_url: z$1.ZodOptional<z$1.ZodString>;
11381
+ COMPANYDOMAIN: z$1.ZodOptional<z$1.ZodString>;
11382
+ extension: z$1.ZodOptional<z$1.ZodString>;
11383
+ form_api_base_url: z$1.ZodOptional<z$1.ZodString>;
11384
+ instanceEndpoint: z$1.ZodOptional<z$1.ZodString>;
11385
+ api_url: z$1.ZodOptional<z$1.ZodString>;
11386
+ borneo_dashboard_url: z$1.ZodOptional<z$1.ZodString>;
11387
+ proxy_username: z$1.ZodOptional<z$1.ZodString>;
11388
+ proxy_password: z$1.ZodOptional<z$1.ZodString>;
11389
+ domain: z$1.ZodOptional<z$1.ZodString>;
11390
+ version: z$1.ZodOptional<z$1.ZodString>;
11391
+ dc: z$1.ZodOptional<z$1.ZodString>;
11392
+ site_name: z$1.ZodOptional<z$1.ZodString>;
11393
+ instanceName: z$1.ZodOptional<z$1.ZodString>;
11394
+ account_id: z$1.ZodOptional<z$1.ZodString>;
11395
+ your_server: z$1.ZodOptional<z$1.ZodString>;
11396
+ server_location: z$1.ZodOptional<z$1.ZodString>;
11397
+ base_url: z$1.ZodOptional<z$1.ZodString>;
11398
+ api_key: z$1.ZodOptional<z$1.ZodString>;
11399
+ generic_api_key: z$1.ZodOptional<z$1.ZodString>;
11400
+ bearer_token: z$1.ZodOptional<z$1.ZodString>;
11401
+ basic_encoded: z$1.ZodOptional<z$1.ZodString>;
11402
+ long_redirect_url: z$1.ZodOptional<z$1.ZodBoolean>;
11403
+ state_prefix: z$1.ZodOptional<z$1.ZodString>;
11404
+ registration_access_token: z$1.ZodOptional<z$1.ZodString>;
11405
+ registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
11406
+ composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
11405
11407
  } & {
11406
11408
  status: z$1.ZodLiteral<"FAILED">;
11407
11409
  error: z$1.ZodOptional<z$1.ZodString>;
@@ -12295,12 +12297,24 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
12295
12297
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
12296
12298
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
12297
12299
  } & {
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>;
12300
+ status: z$1.ZodLiteral<"ACTIVE">;
12301
+ access_token: z$1.ZodString;
12302
+ id_token: z$1.ZodOptional<z$1.ZodString>;
12303
+ token_type: z$1.ZodOptional<z$1.ZodString>;
12304
+ refresh_token: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12305
+ expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
12306
+ scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
12303
12307
  webhook_signature: z$1.ZodOptional<z$1.ZodString>;
12308
+ authed_user: z$1.ZodOptional<z$1.ZodObject<{
12309
+ access_token: z$1.ZodOptional<z$1.ZodString>;
12310
+ scope: z$1.ZodOptional<z$1.ZodString>;
12311
+ }, "strip", z$1.ZodTypeAny, {
12312
+ access_token?: string | undefined;
12313
+ scope?: string | undefined;
12314
+ }, {
12315
+ access_token?: string | undefined;
12316
+ scope?: string | undefined;
12317
+ }>>;
12304
12318
  }, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
12305
12319
  subdomain: z$1.ZodOptional<z$1.ZodString>;
12306
12320
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -12334,24 +12348,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
12334
12348
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
12335
12349
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
12336
12350
  } & {
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]>>;
12351
+ status: z$1.ZodLiteral<"INITIATED">;
12352
+ code_verifier: z$1.ZodOptional<z$1.ZodString>;
12353
+ redirectUrl: z$1.ZodString;
12354
+ callback_url: z$1.ZodOptional<z$1.ZodString>;
12355
+ finalRedirectUri: z$1.ZodOptional<z$1.ZodString>;
12344
12356
  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
- }>>;
12355
12357
  }, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
12356
12358
  subdomain: z$1.ZodOptional<z$1.ZodString>;
12357
12359
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -12544,12 +12546,24 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
12544
12546
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
12545
12547
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
12546
12548
  } & {
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>;
12549
+ status: z$1.ZodLiteral<"ACTIVE">;
12550
+ access_token: z$1.ZodString;
12551
+ id_token: z$1.ZodOptional<z$1.ZodString>;
12552
+ token_type: z$1.ZodOptional<z$1.ZodString>;
12553
+ refresh_token: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12554
+ expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
12555
+ scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
12552
12556
  webhook_signature: z$1.ZodOptional<z$1.ZodString>;
12557
+ authed_user: z$1.ZodOptional<z$1.ZodObject<{
12558
+ access_token: z$1.ZodOptional<z$1.ZodString>;
12559
+ scope: z$1.ZodOptional<z$1.ZodString>;
12560
+ }, "strip", z$1.ZodTypeAny, {
12561
+ access_token?: string | undefined;
12562
+ scope?: string | undefined;
12563
+ }, {
12564
+ access_token?: string | undefined;
12565
+ scope?: string | undefined;
12566
+ }>>;
12553
12567
  }, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
12554
12568
  subdomain: z$1.ZodOptional<z$1.ZodString>;
12555
12569
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -12583,24 +12597,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
12583
12597
  registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
12584
12598
  composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
12585
12599
  } & {
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]>>;
12600
+ status: z$1.ZodLiteral<"INITIATED">;
12601
+ code_verifier: z$1.ZodOptional<z$1.ZodString>;
12602
+ redirectUrl: z$1.ZodString;
12603
+ callback_url: z$1.ZodOptional<z$1.ZodString>;
12604
+ finalRedirectUri: z$1.ZodOptional<z$1.ZodString>;
12593
12605
  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
- }>>;
12604
12606
  }, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
12605
12607
  subdomain: z$1.ZodOptional<z$1.ZodString>;
12606
12608
  "your-domain": z$1.ZodOptional<z$1.ZodString>;
@@ -24337,6 +24339,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24337
24339
  }, "status">, z$1.ZodUnknown, "strip">>;
24338
24340
  }, "strip", z$1.ZodTypeAny, {
24339
24341
  authScheme: "OAUTH2";
24342
+ toolkitSlug: string;
24340
24343
  val: {
24341
24344
  access_token: string;
24342
24345
  version?: string | undefined;
@@ -24370,12 +24373,12 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24370
24373
  registration_access_token?: string | undefined;
24371
24374
  registration_client_uri?: string | undefined;
24372
24375
  composio_link_redirect_url?: string | undefined;
24373
- webhook_signature?: string | undefined;
24374
24376
  id_token?: string | undefined;
24375
24377
  token_type?: string | undefined;
24376
24378
  refresh_token?: string | null | undefined;
24377
24379
  expires_in?: string | number | null | undefined;
24378
24380
  scope?: string | string[] | null | undefined;
24381
+ webhook_signature?: string | undefined;
24379
24382
  authed_user?: {
24380
24383
  access_token?: string | undefined;
24381
24384
  scope?: string | undefined;
@@ -24383,9 +24386,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24383
24386
  } & {
24384
24387
  [k: string]: unknown;
24385
24388
  };
24386
- toolkitSlug: string;
24387
24389
  }, {
24388
24390
  authScheme: "OAUTH2";
24391
+ toolkitSlug: string;
24389
24392
  val: {
24390
24393
  access_token: string;
24391
24394
  version?: string | undefined;
@@ -24419,12 +24422,12 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24419
24422
  registration_access_token?: string | undefined;
24420
24423
  registration_client_uri?: string | undefined;
24421
24424
  composio_link_redirect_url?: string | undefined;
24422
- webhook_signature?: string | undefined;
24423
24425
  id_token?: string | undefined;
24424
24426
  token_type?: string | undefined;
24425
24427
  refresh_token?: string | null | undefined;
24426
24428
  expires_in?: string | number | null | undefined;
24427
24429
  scope?: string | string[] | null | undefined;
24430
+ webhook_signature?: string | undefined;
24428
24431
  authed_user?: {
24429
24432
  access_token?: string | undefined;
24430
24433
  scope?: string | undefined;
@@ -24432,7 +24435,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24432
24435
  } & {
24433
24436
  [k: string]: unknown;
24434
24437
  };
24435
- toolkitSlug: string;
24436
24438
  }>, z$1.ZodObject<{
24437
24439
  authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
24438
24440
  toolkitSlug: z$1.ZodString;
@@ -24544,6 +24546,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24544
24546
  }, z$1.ZodUnknown, "strip">>;
24545
24547
  }, "strip", z$1.ZodTypeAny, {
24546
24548
  authScheme: "DCR_OAUTH";
24549
+ toolkitSlug: string;
24547
24550
  val: {
24548
24551
  access_token: string;
24549
24552
  client_id: string;
@@ -24581,9 +24584,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24581
24584
  } & {
24582
24585
  [k: string]: unknown;
24583
24586
  };
24584
- toolkitSlug: string;
24585
24587
  }, {
24586
24588
  authScheme: "DCR_OAUTH";
24589
+ toolkitSlug: string;
24587
24590
  val: {
24588
24591
  access_token: string;
24589
24592
  client_id: string;
@@ -24621,7 +24624,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24621
24624
  } & {
24622
24625
  [k: string]: unknown;
24623
24626
  };
24624
- toolkitSlug: string;
24625
24627
  }>, z$1.ZodObject<{
24626
24628
  authScheme: z$1.ZodLiteral<"API_KEY">;
24627
24629
  toolkitSlug: z$1.ZodString;
@@ -24727,6 +24729,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24727
24729
  }, z$1.ZodUnknown, "strip">>;
24728
24730
  }, "strip", z$1.ZodTypeAny, {
24729
24731
  authScheme: "API_KEY";
24732
+ toolkitSlug: string;
24730
24733
  val: {
24731
24734
  version?: string | undefined;
24732
24735
  "your-domain"?: string | undefined;
@@ -24762,9 +24765,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24762
24765
  } & {
24763
24766
  [k: string]: unknown;
24764
24767
  };
24765
- toolkitSlug: string;
24766
24768
  }, {
24767
24769
  authScheme: "API_KEY";
24770
+ toolkitSlug: string;
24768
24771
  val: {
24769
24772
  version?: string | undefined;
24770
24773
  "your-domain"?: string | undefined;
@@ -24800,7 +24803,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24800
24803
  } & {
24801
24804
  [k: string]: unknown;
24802
24805
  };
24803
- toolkitSlug: string;
24804
24806
  }>, z$1.ZodObject<{
24805
24807
  authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
24806
24808
  toolkitSlug: z$1.ZodString;
@@ -24912,6 +24914,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24912
24914
  }, z$1.ZodUnknown, "strip">>;
24913
24915
  }, "strip", z$1.ZodTypeAny, {
24914
24916
  authScheme: "BASIC_WITH_JWT";
24917
+ toolkitSlug: string;
24915
24918
  val: {
24916
24919
  username: string;
24917
24920
  password: string;
@@ -24949,9 +24952,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24949
24952
  } & {
24950
24953
  [k: string]: unknown;
24951
24954
  };
24952
- toolkitSlug: string;
24953
24955
  }, {
24954
24956
  authScheme: "BASIC_WITH_JWT";
24957
+ toolkitSlug: string;
24955
24958
  val: {
24956
24959
  username: string;
24957
24960
  password: string;
@@ -24989,7 +24992,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
24989
24992
  } & {
24990
24993
  [k: string]: unknown;
24991
24994
  };
24992
- toolkitSlug: string;
24993
24995
  }>, z$1.ZodObject<{
24994
24996
  authScheme: z$1.ZodLiteral<"BASIC">;
24995
24997
  toolkitSlug: z$1.ZodString;
@@ -25101,6 +25103,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25101
25103
  }, z$1.ZodUnknown, "strip">>;
25102
25104
  }, "strip", z$1.ZodTypeAny, {
25103
25105
  authScheme: "BASIC";
25106
+ toolkitSlug: string;
25104
25107
  val: {
25105
25108
  username: string;
25106
25109
  password: string;
@@ -25138,9 +25141,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25138
25141
  } & {
25139
25142
  [k: string]: unknown;
25140
25143
  };
25141
- toolkitSlug: string;
25142
25144
  }, {
25143
25145
  authScheme: "BASIC";
25146
+ toolkitSlug: string;
25144
25147
  val: {
25145
25148
  username: string;
25146
25149
  password: string;
@@ -25178,7 +25181,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25178
25181
  } & {
25179
25182
  [k: string]: unknown;
25180
25183
  };
25181
- toolkitSlug: string;
25182
25184
  }>, z$1.ZodObject<{
25183
25185
  authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
25184
25186
  toolkitSlug: z$1.ZodString;
@@ -25287,6 +25289,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25287
25289
  }, z$1.ZodUnknown, "strip">>;
25288
25290
  }, "strip", z$1.ZodTypeAny, {
25289
25291
  authScheme: "BEARER_TOKEN";
25292
+ toolkitSlug: string;
25290
25293
  val: {
25291
25294
  token: string;
25292
25295
  version?: string | undefined;
@@ -25323,9 +25326,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25323
25326
  } & {
25324
25327
  [k: string]: unknown;
25325
25328
  };
25326
- toolkitSlug: string;
25327
25329
  }, {
25328
25330
  authScheme: "BEARER_TOKEN";
25331
+ toolkitSlug: string;
25329
25332
  val: {
25330
25333
  token: string;
25331
25334
  version?: string | undefined;
@@ -25362,7 +25365,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25362
25365
  } & {
25363
25366
  [k: string]: unknown;
25364
25367
  };
25365
- toolkitSlug: string;
25366
25368
  }>, z$1.ZodObject<{
25367
25369
  authScheme: z$1.ZodLiteral<"OAUTH1">;
25368
25370
  toolkitSlug: z$1.ZodString;
@@ -25489,6 +25491,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25489
25491
  }, "status">, z$1.ZodUnknown, "strip">>;
25490
25492
  }, "strip", z$1.ZodTypeAny, {
25491
25493
  authScheme: "OAUTH1";
25494
+ toolkitSlug: string;
25492
25495
  val: {
25493
25496
  oauth_token: string;
25494
25497
  oauth_token_secret: string;
@@ -25523,16 +25526,16 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25523
25526
  registration_access_token?: string | undefined;
25524
25527
  registration_client_uri?: string | undefined;
25525
25528
  composio_link_redirect_url?: string | undefined;
25526
- redirectUrl?: string | undefined;
25527
- callback_url?: string | undefined;
25528
25529
  consumer_key?: string | undefined;
25529
25530
  oauth_verifier?: string | undefined;
25531
+ redirectUrl?: string | undefined;
25532
+ callback_url?: string | undefined;
25530
25533
  } & {
25531
25534
  [k: string]: unknown;
25532
25535
  };
25533
- toolkitSlug: string;
25534
25536
  }, {
25535
25537
  authScheme: "OAUTH1";
25538
+ toolkitSlug: string;
25536
25539
  val: {
25537
25540
  oauth_token: string;
25538
25541
  oauth_token_secret: string;
@@ -25567,14 +25570,13 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25567
25570
  registration_access_token?: string | undefined;
25568
25571
  registration_client_uri?: string | undefined;
25569
25572
  composio_link_redirect_url?: string | undefined;
25570
- redirectUrl?: string | undefined;
25571
- callback_url?: string | undefined;
25572
25573
  consumer_key?: string | undefined;
25573
25574
  oauth_verifier?: string | undefined;
25575
+ redirectUrl?: string | undefined;
25576
+ callback_url?: string | undefined;
25574
25577
  } & {
25575
25578
  [k: string]: unknown;
25576
25579
  };
25577
- toolkitSlug: string;
25578
25580
  }>, z$1.ZodObject<{
25579
25581
  authScheme: z$1.ZodLiteral<"NO_AUTH">;
25580
25582
  toolkitSlug: z$1.ZodString;
@@ -25677,6 +25679,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25677
25679
  }, z$1.ZodUnknown, "strip">>;
25678
25680
  }, "strip", z$1.ZodTypeAny, {
25679
25681
  authScheme: "NO_AUTH";
25682
+ toolkitSlug: string;
25680
25683
  val: {
25681
25684
  version?: string | undefined;
25682
25685
  "your-domain"?: string | undefined;
@@ -25712,9 +25715,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25712
25715
  } & {
25713
25716
  [k: string]: unknown;
25714
25717
  };
25715
- toolkitSlug: string;
25716
25718
  }, {
25717
25719
  authScheme: "NO_AUTH";
25720
+ toolkitSlug: string;
25718
25721
  val: {
25719
25722
  version?: string | undefined;
25720
25723
  "your-domain"?: string | undefined;
@@ -25750,7 +25753,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25750
25753
  } & {
25751
25754
  [k: string]: unknown;
25752
25755
  };
25753
- toolkitSlug: string;
25754
25756
  }>, z$1.ZodObject<{
25755
25757
  authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
25756
25758
  toolkitSlug: z$1.ZodString;
@@ -25865,6 +25867,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25865
25867
  }, z$1.ZodUnknown, "strip">>;
25866
25868
  }, "strip", z$1.ZodTypeAny, {
25867
25869
  authScheme: "SERVICE_ACCOUNT";
25870
+ toolkitSlug: string;
25868
25871
  val: {
25869
25872
  application_id: string;
25870
25873
  installation_id: string;
@@ -25903,9 +25906,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25903
25906
  } & {
25904
25907
  [k: string]: unknown;
25905
25908
  };
25906
- toolkitSlug: string;
25907
25909
  }, {
25908
25910
  authScheme: "SERVICE_ACCOUNT";
25911
+ toolkitSlug: string;
25909
25912
  val: {
25910
25913
  application_id: string;
25911
25914
  installation_id: string;
@@ -25944,7 +25947,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
25944
25947
  } & {
25945
25948
  [k: string]: unknown;
25946
25949
  };
25947
- toolkitSlug: string;
25948
25950
  }>]>;
25949
25951
  type CustomConnectionData = z$1.infer<typeof CustomConnectionDataSchema>;
25950
25952
  //#endregion
@@ -26051,12 +26053,12 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
26051
26053
  connectedAccountIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
26052
26054
  isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
26053
26055
  }, "strip", z$1.ZodTypeAny, {
26054
- connectedAccountIds?: string[] | undefined;
26055
26056
  userIds?: string[] | undefined;
26057
+ connectedAccountIds?: string[] | undefined;
26056
26058
  isChatAuth?: boolean | undefined;
26057
26059
  }, {
26058
- connectedAccountIds?: string[] | undefined;
26059
26060
  userIds?: string[] | undefined;
26061
+ connectedAccountIds?: string[] | undefined;
26060
26062
  isChatAuth?: boolean | undefined;
26061
26063
  }>;
26062
26064
  type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
@@ -26083,13 +26085,13 @@ declare const GenerateURLParamsSchema: z$1.ZodObject<{
26083
26085
  composioManagedAuth: z$1.ZodOptional<z$1.ZodBoolean>;
26084
26086
  }, "strip", z$1.ZodTypeAny, {
26085
26087
  mcpServerId: string;
26086
- connectedAccountIds?: string[] | undefined;
26087
26088
  userIds?: string[] | undefined;
26089
+ connectedAccountIds?: string[] | undefined;
26088
26090
  composioManagedAuth?: boolean | undefined;
26089
26091
  }, {
26090
26092
  mcpServerId: string;
26091
- connectedAccountIds?: string[] | undefined;
26092
26093
  userIds?: string[] | undefined;
26094
+ connectedAccountIds?: string[] | undefined;
26093
26095
  composioManagedAuth?: boolean | undefined;
26094
26096
  }>;
26095
26097
  type GenerateURLParams = z$1.infer<typeof GenerateURLParamsSchema>;
@@ -26615,10 +26617,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
26615
26617
  windsurf: string;
26616
26618
  };
26617
26619
  status?: string | undefined;
26618
- createdAt?: string | undefined;
26619
26620
  tools?: string[] | undefined;
26620
26621
  toolkits?: string[] | undefined;
26621
26622
  authConfigIds?: string[] | undefined;
26623
+ createdAt?: string | undefined;
26622
26624
  updatedAt?: string | undefined;
26623
26625
  managedAuthViaComposio?: boolean | undefined;
26624
26626
  }, {
@@ -26631,10 +26633,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
26631
26633
  windsurf: string;
26632
26634
  };
26633
26635
  status?: string | undefined;
26634
- createdAt?: string | undefined;
26635
26636
  tools?: string[] | undefined;
26636
26637
  toolkits?: string[] | undefined;
26637
26638
  authConfigIds?: string[] | undefined;
26639
+ createdAt?: string | undefined;
26638
26640
  updatedAt?: string | undefined;
26639
26641
  managedAuthViaComposio?: boolean | undefined;
26640
26642
  }>;
@@ -26704,17 +26706,17 @@ declare const McpUpdateResponseSchema: z$1.ZodObject<{
26704
26706
  name: string;
26705
26707
  id: string;
26706
26708
  status?: string | undefined;
26707
- createdAt?: string | undefined;
26708
26709
  tools?: string[] | undefined;
26709
26710
  toolkits?: string[] | undefined;
26711
+ createdAt?: string | undefined;
26710
26712
  updatedAt?: string | undefined;
26711
26713
  }, {
26712
26714
  name: string;
26713
26715
  id: string;
26714
26716
  status?: string | undefined;
26715
- createdAt?: string | undefined;
26716
26717
  tools?: string[] | undefined;
26717
26718
  toolkits?: string[] | undefined;
26719
+ createdAt?: string | undefined;
26718
26720
  updatedAt?: string | undefined;
26719
26721
  }>;
26720
26722
  declare const ComposioMcpUpdateResponseSchema: z$1.ZodObject<{
@@ -27396,14 +27398,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
27396
27398
  cursor: z$1.ZodOptional<z$1.ZodString>;
27397
27399
  limit: z$1.ZodOptional<z$1.ZodNumber>;
27398
27400
  }, "strip", z$1.ZodTypeAny, {
27399
- cursor?: string | undefined;
27400
27401
  limit?: number | undefined;
27402
+ cursor?: string | undefined;
27401
27403
  category?: string | undefined;
27402
27404
  managedBy?: "all" | "composio" | "project" | undefined;
27403
27405
  sortBy?: "usage" | "alphabetically" | undefined;
27404
27406
  }, {
27405
- cursor?: string | undefined;
27406
27407
  limit?: number | undefined;
27408
+ cursor?: string | undefined;
27407
27409
  category?: string | undefined;
27408
27410
  managedBy?: "all" | "composio" | "project" | undefined;
27409
27411
  sortBy?: "usage" | "alphabetically" | undefined;
@@ -28635,31 +28637,31 @@ declare const CreateConnectedAccountParamsSchema: z$1.ZodObject<{
28635
28637
  callbackUrl: z$1.ZodOptional<z$1.ZodString>;
28636
28638
  userId: z$1.ZodOptional<z$1.ZodString>;
28637
28639
  }, "strip", z$1.ZodTypeAny, {
28638
- callbackUrl?: string | undefined;
28639
28640
  userId?: string | undefined;
28640
28641
  data?: Record<string, unknown> | undefined;
28641
- }, {
28642
28642
  callbackUrl?: string | undefined;
28643
+ }, {
28643
28644
  userId?: string | undefined;
28644
28645
  data?: Record<string, unknown> | undefined;
28646
+ callbackUrl?: string | undefined;
28645
28647
  }>;
28646
28648
  }, "strip", z$1.ZodTypeAny, {
28647
28649
  authConfig: {
28648
28650
  id: string;
28649
28651
  };
28650
28652
  connection: {
28651
- callbackUrl?: string | undefined;
28652
28653
  userId?: string | undefined;
28653
28654
  data?: Record<string, unknown> | undefined;
28655
+ callbackUrl?: string | undefined;
28654
28656
  };
28655
28657
  }, {
28656
28658
  authConfig: {
28657
28659
  id: string;
28658
28660
  };
28659
28661
  connection: {
28660
- callbackUrl?: string | undefined;
28661
28662
  userId?: string | undefined;
28662
28663
  data?: Record<string, unknown> | undefined;
28664
+ callbackUrl?: string | undefined;
28663
28665
  };
28664
28666
  }>;
28665
28667
  declare const DefaultCreateConnectedAccountParamsSchema: z$1.ZodType<{
@@ -28689,12 +28691,12 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
28689
28691
  redirectUrl: z$1.ZodNullable<z$1.ZodString>;
28690
28692
  }, "strip", z$1.ZodTypeAny, {
28691
28693
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28692
- id: string;
28693
28694
  redirectUrl: string | null;
28695
+ id: string;
28694
28696
  }, {
28695
28697
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28696
- id: string;
28697
28698
  redirectUrl: string | null;
28699
+ id: string;
28698
28700
  }>;
28699
28701
  type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
28700
28702
  declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
@@ -28743,17 +28745,17 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
28743
28745
  toolkitSlugs: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
28744
28746
  userIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
28745
28747
  }, "strip", z$1.ZodTypeAny, {
28746
- cursor?: string | null | undefined;
28747
28748
  limit?: number | null | undefined;
28748
28749
  authConfigIds?: string[] | null | undefined;
28750
+ cursor?: string | null | undefined;
28749
28751
  orderBy?: "created_at" | "updated_at" | undefined;
28750
28752
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28751
28753
  toolkitSlugs?: string[] | null | undefined;
28752
28754
  userIds?: string[] | null | undefined;
28753
28755
  }, {
28754
- cursor?: string | null | undefined;
28755
28756
  limit?: number | null | undefined;
28756
28757
  authConfigIds?: string[] | null | undefined;
28758
+ cursor?: string | null | undefined;
28757
28759
  orderBy?: "created_at" | "updated_at" | undefined;
28758
28760
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28759
28761
  toolkitSlugs?: string[] | null | undefined;
@@ -28944,8 +28946,8 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
28944
28946
  }>>;
28945
28947
  }, "strip", z$1.ZodTypeAny, {
28946
28948
  type: "use_custom_auth";
28947
- credentials: Record<string, string | number | boolean>;
28948
28949
  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";
28950
+ credentials: Record<string, string | number | boolean>;
28949
28951
  name?: string | undefined;
28950
28952
  proxyConfig?: {
28951
28953
  proxyUrl: string;
@@ -28956,8 +28958,8 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
28956
28958
  } | undefined;
28957
28959
  }, {
28958
28960
  type: "use_custom_auth";
28959
- credentials: Record<string, string | number | boolean>;
28960
28961
  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";
28962
+ credentials: Record<string, string | number | boolean>;
28961
28963
  name?: string | undefined;
28962
28964
  proxyConfig?: {
28963
28965
  proxyUrl: string;
@@ -29020,8 +29022,8 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29020
29022
  }>>;
29021
29023
  }, "strip", z$1.ZodTypeAny, {
29022
29024
  type: "use_custom_auth";
29023
- credentials: Record<string, string | number | boolean>;
29024
29025
  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";
29026
+ credentials: Record<string, string | number | boolean>;
29025
29027
  name?: string | undefined;
29026
29028
  proxyConfig?: {
29027
29029
  proxyUrl: string;
@@ -29032,8 +29034,8 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29032
29034
  } | undefined;
29033
29035
  }, {
29034
29036
  type: "use_custom_auth";
29035
- credentials: Record<string, string | number | boolean>;
29036
29037
  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";
29038
+ credentials: Record<string, string | number | boolean>;
29037
29039
  name?: string | undefined;
29038
29040
  proxyConfig?: {
29039
29041
  proxyUrl: string;
@@ -29133,8 +29135,8 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
29133
29135
  id: string;
29134
29136
  noOfConnections: number;
29135
29137
  uuid: string;
29136
- credentials?: Record<string, unknown> | undefined;
29137
29138
  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;
29139
+ credentials?: Record<string, unknown> | undefined;
29138
29140
  toolAccessConfig?: {
29139
29141
  toolsForConnectedAccountCreation?: string[] | undefined;
29140
29142
  toolsAvailableForExecution?: string[] | undefined;
@@ -29155,8 +29157,8 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
29155
29157
  id: string;
29156
29158
  noOfConnections: number;
29157
29159
  uuid: string;
29158
- credentials?: Record<string, unknown> | undefined;
29159
29160
  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;
29161
+ credentials?: Record<string, unknown> | undefined;
29160
29162
  toolAccessConfig?: {
29161
29163
  toolsForConnectedAccountCreation?: string[] | undefined;
29162
29164
  toolsAvailableForExecution?: string[] | undefined;
@@ -29176,14 +29178,14 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
29176
29178
  toolkit: z$1.ZodOptional<z$1.ZodString>;
29177
29179
  }, "strip", z$1.ZodTypeAny, {
29178
29180
  toolkit?: string | undefined;
29181
+ limit?: number | undefined;
29179
29182
  isComposioManaged?: boolean | undefined;
29180
29183
  cursor?: string | undefined;
29181
- limit?: number | undefined;
29182
29184
  }, {
29183
29185
  toolkit?: string | undefined;
29186
+ limit?: number | undefined;
29184
29187
  isComposioManaged?: boolean | undefined;
29185
29188
  cursor?: string | undefined;
29186
- limit?: number | undefined;
29187
29189
  }>;
29188
29190
  type AuthConfigListParams = z$1.infer<typeof AuthConfigListParamsSchema>;
29189
29191
  declare const AuthConfigListResponseSchema: z$1.ZodObject<{
@@ -29234,8 +29236,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29234
29236
  id: string;
29235
29237
  noOfConnections: number;
29236
29238
  uuid: string;
29237
- credentials?: Record<string, unknown> | undefined;
29238
29239
  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;
29240
+ credentials?: Record<string, unknown> | undefined;
29239
29241
  toolAccessConfig?: {
29240
29242
  toolsForConnectedAccountCreation?: string[] | undefined;
29241
29243
  toolsAvailableForExecution?: string[] | undefined;
@@ -29256,8 +29258,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29256
29258
  id: string;
29257
29259
  noOfConnections: number;
29258
29260
  uuid: string;
29259
- credentials?: Record<string, unknown> | undefined;
29260
29261
  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;
29262
+ credentials?: Record<string, unknown> | undefined;
29261
29263
  toolAccessConfig?: {
29262
29264
  toolsForConnectedAccountCreation?: string[] | undefined;
29263
29265
  toolsAvailableForExecution?: string[] | undefined;
@@ -29282,8 +29284,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29282
29284
  id: string;
29283
29285
  noOfConnections: number;
29284
29286
  uuid: string;
29285
- credentials?: Record<string, unknown> | undefined;
29286
29287
  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;
29288
+ credentials?: Record<string, unknown> | undefined;
29287
29289
  toolAccessConfig?: {
29288
29290
  toolsForConnectedAccountCreation?: string[] | undefined;
29289
29291
  toolsAvailableForExecution?: string[] | undefined;
@@ -29308,8 +29310,8 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29308
29310
  id: string;
29309
29311
  noOfConnections: number;
29310
29312
  uuid: string;
29311
- credentials?: Record<string, unknown> | undefined;
29312
29313
  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;
29314
+ credentials?: Record<string, unknown> | undefined;
29313
29315
  toolAccessConfig?: {
29314
29316
  toolsForConnectedAccountCreation?: string[] | undefined;
29315
29317
  toolsAvailableForExecution?: string[] | undefined;
@@ -29664,8 +29666,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
29664
29666
  triggerData: z$1.ZodOptional<z$1.ZodString>;
29665
29667
  uuid: z$1.ZodOptional<z$1.ZodString>;
29666
29668
  }, "strip", z$1.ZodTypeAny, {
29667
- id: string;
29668
29669
  connectedAccountId: string;
29670
+ id: string;
29669
29671
  disabledAt: string | null;
29670
29672
  state: Record<string, unknown>;
29671
29673
  triggerConfig: Record<string, unknown>;
@@ -29674,8 +29676,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
29674
29676
  uuid?: string | undefined;
29675
29677
  triggerData?: string | undefined;
29676
29678
  }, {
29677
- id: string;
29678
29679
  connectedAccountId: string;
29680
+ id: string;
29679
29681
  disabledAt: string | null;
29680
29682
  state: Record<string, unknown>;
29681
29683
  triggerConfig: Record<string, unknown>;
@@ -29696,8 +29698,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29696
29698
  triggerData: z$1.ZodOptional<z$1.ZodString>;
29697
29699
  uuid: z$1.ZodOptional<z$1.ZodString>;
29698
29700
  }, "strip", z$1.ZodTypeAny, {
29699
- id: string;
29700
29701
  connectedAccountId: string;
29702
+ id: string;
29701
29703
  disabledAt: string | null;
29702
29704
  state: Record<string, unknown>;
29703
29705
  triggerConfig: Record<string, unknown>;
@@ -29706,8 +29708,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29706
29708
  uuid?: string | undefined;
29707
29709
  triggerData?: string | undefined;
29708
29710
  }, {
29709
- id: string;
29710
29711
  connectedAccountId: string;
29712
+ id: string;
29711
29713
  disabledAt: string | null;
29712
29714
  state: Record<string, unknown>;
29713
29715
  triggerConfig: Record<string, unknown>;
@@ -29720,8 +29722,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29720
29722
  totalPages: z$1.ZodNumber;
29721
29723
  }, "strip", z$1.ZodTypeAny, {
29722
29724
  items: {
29723
- id: string;
29724
29725
  connectedAccountId: string;
29726
+ id: string;
29725
29727
  disabledAt: string | null;
29726
29728
  state: Record<string, unknown>;
29727
29729
  triggerConfig: Record<string, unknown>;
@@ -29734,8 +29736,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29734
29736
  totalPages: number;
29735
29737
  }, {
29736
29738
  items: {
29737
- id: string;
29738
29739
  connectedAccountId: string;
29740
+ id: string;
29739
29741
  disabledAt: string | null;
29740
29742
  state: Record<string, unknown>;
29741
29743
  triggerConfig: Record<string, unknown>;
@@ -29816,67 +29818,67 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
29816
29818
  status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
29817
29819
  }, "strip", z$1.ZodTypeAny, {
29818
29820
  status: "ACTIVE" | "INACTIVE";
29821
+ userId: string;
29819
29822
  id: string;
29820
29823
  uuid: string;
29821
- userId: string;
29822
29824
  authConfigId: string;
29823
29825
  authConfigUUID: string;
29824
29826
  }, {
29825
29827
  status: "ACTIVE" | "INACTIVE";
29828
+ userId: string;
29826
29829
  id: string;
29827
29830
  uuid: string;
29828
- userId: string;
29829
29831
  authConfigId: string;
29830
29832
  authConfigUUID: string;
29831
29833
  }>;
29832
29834
  }, "strip", z$1.ZodTypeAny, {
29835
+ toolkitSlug: string;
29833
29836
  id: string;
29834
29837
  uuid: string;
29835
- toolkitSlug: string;
29836
29838
  triggerSlug: string;
29837
29839
  triggerConfig: Record<string, unknown>;
29838
29840
  connectedAccount: {
29839
29841
  status: "ACTIVE" | "INACTIVE";
29842
+ userId: string;
29840
29843
  id: string;
29841
29844
  uuid: string;
29842
- userId: string;
29843
29845
  authConfigId: string;
29844
29846
  authConfigUUID: string;
29845
29847
  };
29846
29848
  triggerData?: string | undefined;
29847
29849
  }, {
29850
+ toolkitSlug: string;
29848
29851
  id: string;
29849
29852
  uuid: string;
29850
- toolkitSlug: string;
29851
29853
  triggerSlug: string;
29852
29854
  triggerConfig: Record<string, unknown>;
29853
29855
  connectedAccount: {
29854
29856
  status: "ACTIVE" | "INACTIVE";
29857
+ userId: string;
29855
29858
  id: string;
29856
29859
  uuid: string;
29857
- userId: string;
29858
29860
  authConfigId: string;
29859
29861
  authConfigUUID: string;
29860
29862
  };
29861
29863
  triggerData?: string | undefined;
29862
29864
  }>;
29863
29865
  }, "strip", z$1.ZodTypeAny, {
29864
- id: string;
29865
- uuid: string;
29866
29866
  toolkitSlug: string;
29867
29867
  userId: string;
29868
+ id: string;
29869
+ uuid: string;
29868
29870
  triggerSlug: string;
29869
29871
  metadata: {
29872
+ toolkitSlug: string;
29870
29873
  id: string;
29871
29874
  uuid: string;
29872
- toolkitSlug: string;
29873
29875
  triggerSlug: string;
29874
29876
  triggerConfig: Record<string, unknown>;
29875
29877
  connectedAccount: {
29876
29878
  status: "ACTIVE" | "INACTIVE";
29879
+ userId: string;
29877
29880
  id: string;
29878
29881
  uuid: string;
29879
- userId: string;
29880
29882
  authConfigId: string;
29881
29883
  authConfigUUID: string;
29882
29884
  };
@@ -29885,22 +29887,22 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
29885
29887
  payload?: Record<string, unknown> | undefined;
29886
29888
  originalPayload?: Record<string, unknown> | undefined;
29887
29889
  }, {
29888
- id: string;
29889
- uuid: string;
29890
29890
  toolkitSlug: string;
29891
29891
  userId: string;
29892
+ id: string;
29893
+ uuid: string;
29892
29894
  triggerSlug: string;
29893
29895
  metadata: {
29896
+ toolkitSlug: string;
29894
29897
  id: string;
29895
29898
  uuid: string;
29896
- toolkitSlug: string;
29897
29899
  triggerSlug: string;
29898
29900
  triggerConfig: Record<string, unknown>;
29899
29901
  connectedAccount: {
29900
29902
  status: "ACTIVE" | "INACTIVE";
29903
+ userId: string;
29901
29904
  id: string;
29902
29905
  uuid: string;
29903
- userId: string;
29904
29906
  authConfigId: string;
29905
29907
  authConfigUUID: string;
29906
29908
  };
@@ -29936,13 +29938,13 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
29936
29938
  limit: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
29937
29939
  toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
29938
29940
  }, "strip", z$1.ZodTypeAny, {
29939
- cursor?: string | undefined;
29940
- limit?: number | null | undefined;
29941
29941
  toolkits?: string[] | null | undefined;
29942
- }, {
29943
- cursor?: string | undefined;
29944
29942
  limit?: number | null | undefined;
29943
+ cursor?: string | undefined;
29944
+ }, {
29945
29945
  toolkits?: string[] | null | undefined;
29946
+ limit?: number | null | undefined;
29947
+ cursor?: string | undefined;
29946
29948
  }>;
29947
29949
  type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
29948
29950
  declare const TriggerTypeSchema: z$1.ZodObject<{
@@ -30100,16 +30102,292 @@ type TriggerEventData<TPayload = unknown> = TPayload & {
30100
30102
  trigger_nano_id: string;
30101
30103
  user_id: string;
30102
30104
  };
30105
+ /**
30106
+ * Webhook payload schemas for V1, V2, V3 versions
30107
+ * These schemas represent the raw payload structure sent by Composio's webhook system
30108
+ */
30109
+ /** V1 webhook payload - legacy format */
30110
+ declare const WebhookPayloadV1Schema: z$1.ZodObject<{
30111
+ trigger_name: z$1.ZodString;
30112
+ connection_id: z$1.ZodString;
30113
+ trigger_id: z$1.ZodString;
30114
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
30115
+ log_id: z$1.ZodString;
30116
+ }, "strip", z$1.ZodTypeAny, {
30117
+ payload: Record<string, unknown>;
30118
+ trigger_name: string;
30119
+ connection_id: string;
30120
+ trigger_id: string;
30121
+ log_id: string;
30122
+ }, {
30123
+ payload: Record<string, unknown>;
30124
+ trigger_name: string;
30125
+ connection_id: string;
30126
+ trigger_id: string;
30127
+ log_id: string;
30128
+ }>;
30129
+ type WebhookPayloadV1 = z$1.infer<typeof WebhookPayloadV1Schema>;
30130
+ /** V2 webhook payload - includes timestamp and nested data */
30131
+ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
30132
+ type: z$1.ZodString;
30133
+ timestamp: z$1.ZodString;
30134
+ log_id: z$1.ZodString;
30135
+ data: z$1.ZodObject<{
30136
+ connection_id: z$1.ZodString;
30137
+ connection_nano_id: z$1.ZodString;
30138
+ trigger_nano_id: z$1.ZodString;
30139
+ trigger_id: z$1.ZodString;
30140
+ user_id: z$1.ZodString;
30141
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
30142
+ connection_id: z$1.ZodString;
30143
+ connection_nano_id: z$1.ZodString;
30144
+ trigger_nano_id: z$1.ZodString;
30145
+ trigger_id: z$1.ZodString;
30146
+ user_id: z$1.ZodString;
30147
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
30148
+ connection_id: z$1.ZodString;
30149
+ connection_nano_id: z$1.ZodString;
30150
+ trigger_nano_id: z$1.ZodString;
30151
+ trigger_id: z$1.ZodString;
30152
+ user_id: z$1.ZodString;
30153
+ }, z$1.ZodTypeAny, "passthrough">>;
30154
+ }, "strip", z$1.ZodTypeAny, {
30155
+ type: string;
30156
+ data: {
30157
+ connection_id: string;
30158
+ trigger_id: string;
30159
+ connection_nano_id: string;
30160
+ trigger_nano_id: string;
30161
+ user_id: string;
30162
+ } & {
30163
+ [k: string]: unknown;
30164
+ };
30165
+ log_id: string;
30166
+ timestamp: string;
30167
+ }, {
30168
+ type: string;
30169
+ data: {
30170
+ connection_id: string;
30171
+ trigger_id: string;
30172
+ connection_nano_id: string;
30173
+ trigger_nano_id: string;
30174
+ user_id: string;
30175
+ } & {
30176
+ [k: string]: unknown;
30177
+ };
30178
+ log_id: string;
30179
+ timestamp: string;
30180
+ }>;
30181
+ type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
30182
+ /** V3 webhook payload - current format with metadata */
30183
+ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
30184
+ id: z$1.ZodString;
30185
+ timestamp: z$1.ZodString;
30186
+ type: z$1.ZodLiteral<"composio.trigger.message">;
30187
+ metadata: z$1.ZodObject<{
30188
+ log_id: z$1.ZodString;
30189
+ trigger_slug: z$1.ZodString;
30190
+ trigger_id: z$1.ZodString;
30191
+ connected_account_id: z$1.ZodString;
30192
+ auth_config_id: z$1.ZodString;
30193
+ user_id: z$1.ZodString;
30194
+ }, "strip", z$1.ZodTypeAny, {
30195
+ trigger_id: string;
30196
+ log_id: string;
30197
+ user_id: string;
30198
+ trigger_slug: string;
30199
+ connected_account_id: string;
30200
+ auth_config_id: string;
30201
+ }, {
30202
+ trigger_id: string;
30203
+ log_id: string;
30204
+ user_id: string;
30205
+ trigger_slug: string;
30206
+ connected_account_id: string;
30207
+ auth_config_id: string;
30208
+ }>;
30209
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
30210
+ }, "strip", z$1.ZodTypeAny, {
30211
+ type: "composio.trigger.message";
30212
+ data: Record<string, unknown>;
30213
+ id: string;
30214
+ metadata: {
30215
+ trigger_id: string;
30216
+ log_id: string;
30217
+ user_id: string;
30218
+ trigger_slug: string;
30219
+ connected_account_id: string;
30220
+ auth_config_id: string;
30221
+ };
30222
+ timestamp: string;
30223
+ }, {
30224
+ type: "composio.trigger.message";
30225
+ data: Record<string, unknown>;
30226
+ id: string;
30227
+ metadata: {
30228
+ trigger_id: string;
30229
+ log_id: string;
30230
+ user_id: string;
30231
+ trigger_slug: string;
30232
+ connected_account_id: string;
30233
+ auth_config_id: string;
30234
+ };
30235
+ timestamp: string;
30236
+ }>;
30237
+ type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
30238
+ /** Union of all webhook payload versions */
30239
+ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
30240
+ id: z$1.ZodString;
30241
+ timestamp: z$1.ZodString;
30242
+ type: z$1.ZodLiteral<"composio.trigger.message">;
30243
+ metadata: z$1.ZodObject<{
30244
+ log_id: z$1.ZodString;
30245
+ trigger_slug: z$1.ZodString;
30246
+ trigger_id: z$1.ZodString;
30247
+ connected_account_id: z$1.ZodString;
30248
+ auth_config_id: z$1.ZodString;
30249
+ user_id: z$1.ZodString;
30250
+ }, "strip", z$1.ZodTypeAny, {
30251
+ trigger_id: string;
30252
+ log_id: string;
30253
+ user_id: string;
30254
+ trigger_slug: string;
30255
+ connected_account_id: string;
30256
+ auth_config_id: string;
30257
+ }, {
30258
+ trigger_id: string;
30259
+ log_id: string;
30260
+ user_id: string;
30261
+ trigger_slug: string;
30262
+ connected_account_id: string;
30263
+ auth_config_id: string;
30264
+ }>;
30265
+ data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
30266
+ }, "strip", z$1.ZodTypeAny, {
30267
+ type: "composio.trigger.message";
30268
+ data: Record<string, unknown>;
30269
+ id: string;
30270
+ metadata: {
30271
+ trigger_id: string;
30272
+ log_id: string;
30273
+ user_id: string;
30274
+ trigger_slug: string;
30275
+ connected_account_id: string;
30276
+ auth_config_id: string;
30277
+ };
30278
+ timestamp: string;
30279
+ }, {
30280
+ type: "composio.trigger.message";
30281
+ data: Record<string, unknown>;
30282
+ id: string;
30283
+ metadata: {
30284
+ trigger_id: string;
30285
+ log_id: string;
30286
+ user_id: string;
30287
+ trigger_slug: string;
30288
+ connected_account_id: string;
30289
+ auth_config_id: string;
30290
+ };
30291
+ timestamp: string;
30292
+ }>, z$1.ZodObject<{
30293
+ type: z$1.ZodString;
30294
+ timestamp: z$1.ZodString;
30295
+ log_id: z$1.ZodString;
30296
+ data: z$1.ZodObject<{
30297
+ connection_id: z$1.ZodString;
30298
+ connection_nano_id: z$1.ZodString;
30299
+ trigger_nano_id: z$1.ZodString;
30300
+ trigger_id: z$1.ZodString;
30301
+ user_id: z$1.ZodString;
30302
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
30303
+ connection_id: z$1.ZodString;
30304
+ connection_nano_id: z$1.ZodString;
30305
+ trigger_nano_id: z$1.ZodString;
30306
+ trigger_id: z$1.ZodString;
30307
+ user_id: z$1.ZodString;
30308
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
30309
+ connection_id: z$1.ZodString;
30310
+ connection_nano_id: z$1.ZodString;
30311
+ trigger_nano_id: z$1.ZodString;
30312
+ trigger_id: z$1.ZodString;
30313
+ user_id: z$1.ZodString;
30314
+ }, z$1.ZodTypeAny, "passthrough">>;
30315
+ }, "strip", z$1.ZodTypeAny, {
30316
+ type: string;
30317
+ data: {
30318
+ connection_id: string;
30319
+ trigger_id: string;
30320
+ connection_nano_id: string;
30321
+ trigger_nano_id: string;
30322
+ user_id: string;
30323
+ } & {
30324
+ [k: string]: unknown;
30325
+ };
30326
+ log_id: string;
30327
+ timestamp: string;
30328
+ }, {
30329
+ type: string;
30330
+ data: {
30331
+ connection_id: string;
30332
+ trigger_id: string;
30333
+ connection_nano_id: string;
30334
+ trigger_nano_id: string;
30335
+ user_id: string;
30336
+ } & {
30337
+ [k: string]: unknown;
30338
+ };
30339
+ log_id: string;
30340
+ timestamp: string;
30341
+ }>, z$1.ZodObject<{
30342
+ trigger_name: z$1.ZodString;
30343
+ connection_id: z$1.ZodString;
30344
+ trigger_id: z$1.ZodString;
30345
+ payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
30346
+ log_id: z$1.ZodString;
30347
+ }, "strip", z$1.ZodTypeAny, {
30348
+ payload: Record<string, unknown>;
30349
+ trigger_name: string;
30350
+ connection_id: string;
30351
+ trigger_id: string;
30352
+ log_id: string;
30353
+ }, {
30354
+ payload: Record<string, unknown>;
30355
+ trigger_name: string;
30356
+ connection_id: string;
30357
+ trigger_id: string;
30358
+ log_id: string;
30359
+ }>]>;
30360
+ type WebhookPayload = z$1.infer<typeof WebhookPayloadSchema>;
30361
+ /** Webhook version enum */
30362
+ declare const WebhookVersions: {
30363
+ readonly V1: "V1";
30364
+ readonly V2: "V2";
30365
+ readonly V3: "V3";
30366
+ };
30367
+ type WebhookVersion = (typeof WebhookVersions)[keyof typeof WebhookVersions];
30103
30368
  /**
30104
30369
  * Parameters for verifying a webhook signature
30105
30370
  */
30106
30371
  declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
30372
+ /**
30373
+ * The webhook message ID from the 'webhook-id' header.
30374
+ * Format: 'msg_xxx'
30375
+ */
30376
+ id: z$1.ZodString;
30107
30377
  /** The raw webhook payload as a string (request body) */
30108
30378
  payload: z$1.ZodString;
30109
- /** The signature from the webhook header (e.g., 'x-composio-signature') */
30110
- signature: z$1.ZodString;
30111
- /** The webhook secret used to sign the payload */
30379
+ /** The webhook secret used to sign the payload (from Composio dashboard) */
30112
30380
  secret: z$1.ZodString;
30381
+ /**
30382
+ * The signature from the 'webhook-signature' header.
30383
+ * Format: 'v1,base64EncodedSignature'
30384
+ */
30385
+ signature: z$1.ZodString;
30386
+ /**
30387
+ * The webhook timestamp from the 'webhook-timestamp' header.
30388
+ * This is the Unix timestamp in seconds when the webhook was sent.
30389
+ */
30390
+ timestamp: z$1.ZodString;
30113
30391
  /**
30114
30392
  * Maximum allowed age of the webhook in seconds.
30115
30393
  * If the webhook timestamp is older than this, verification will fail.
@@ -30118,21 +30396,33 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
30118
30396
  */
30119
30397
  tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
30120
30398
  }, "strip", z$1.ZodTypeAny, {
30399
+ id: string;
30121
30400
  payload: string;
30122
- signature: string;
30401
+ timestamp: string;
30123
30402
  secret: string;
30403
+ signature: string;
30124
30404
  tolerance: number;
30125
30405
  }, {
30406
+ id: string;
30126
30407
  payload: string;
30127
- signature: string;
30408
+ timestamp: string;
30128
30409
  secret: string;
30410
+ signature: string;
30129
30411
  tolerance?: number | undefined;
30130
30412
  }>;
30131
30413
  type VerifyWebhookParams = z$1.input<typeof VerifyWebhookParamsSchema>;
30132
30414
  /**
30133
- * Result of a successful webhook verification
30415
+ * Result of a successful webhook verification.
30416
+ * Contains the parsed payload along with version information.
30134
30417
  */
30135
- type VerifyWebhookResult = IncomingTriggerPayload;
30418
+ type VerifyWebhookResult = {
30419
+ /** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */
30420
+ version: WebhookVersion;
30421
+ /** The parsed and normalized webhook payload */
30422
+ payload: IncomingTriggerPayload;
30423
+ /** The raw parsed payload before normalization */
30424
+ rawPayload: WebhookPayload;
30425
+ };
30136
30426
  //#endregion
30137
30427
  //#region src/models/Triggers.d.ts
30138
30428
  /**
@@ -30268,15 +30558,20 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
30268
30558
  * Verify an incoming webhook payload and signature.
30269
30559
  *
30270
30560
  * This method validates that the webhook request is authentic by:
30271
- * 1. Verifying the HMAC-SHA256 signature matches the payload
30561
+ * 1. Verifying the HMAC-SHA256 signature matches the payload using the correct signing format
30272
30562
  * 2. Optionally checking that the webhook timestamp is within the tolerance window
30273
30563
  *
30564
+ * The signature is computed as: `HMAC-SHA256(${webhookId}.${webhookTimestamp}.${payload}, secret)`
30565
+ * and is expected in the format: `v1,base64EncodedSignature`
30566
+ *
30274
30567
  * @param {VerifyWebhookParams} params - The verification parameters
30275
30568
  * @param {string} params.payload - The raw webhook payload as a string (request body)
30276
- * @param {string} params.signature - The signature from the webhook header (e.g., 'x-composio-signature')
30569
+ * @param {string} params.signature - The signature from the 'webhook-signature' header
30277
30570
  * @param {string} params.secret - The webhook secret used to sign the payload
30571
+ * @param {string} params.webhookId - The webhook ID from the 'webhook-id' header
30572
+ * @param {string} params.webhookTimestamp - The timestamp from the 'webhook-timestamp' header (Unix seconds)
30278
30573
  * @param {number} [params.tolerance=300] - Maximum allowed age of the webhook in seconds (default: 5 minutes). Set to 0 to disable timestamp validation.
30279
- * @returns {VerifyWebhookResult} The verified and parsed webhook payload
30574
+ * @returns {VerifyWebhookResult} The verified and parsed webhook payload with version information
30280
30575
  *
30281
30576
  * @throws {ValidationError} If the parameters are invalid
30282
30577
  * @throws {ComposioWebhookSignatureVerificationError} If the signature verification fails
@@ -30287,14 +30582,17 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
30287
30582
  * // In an Express.js webhook handler
30288
30583
  * app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
30289
30584
  * try {
30290
- * const payload = composio.triggers.verifyWebhook({
30585
+ * const result = composio.triggers.verifyWebhook({
30291
30586
  * payload: req.body.toString(),
30292
- * signature: req.headers['x-composio-signature'] as string,
30587
+ * signature: req.headers['webhook-signature'] as string,
30588
+ * webhookId: req.headers['webhook-id'] as string,
30589
+ * webhookTimestamp: req.headers['webhook-timestamp'] as string,
30293
30590
  * secret: process.env.COMPOSIO_WEBHOOK_SECRET!,
30294
30591
  * });
30295
30592
  *
30296
30593
  * // Process the verified payload
30297
- * console.log('Received trigger:', payload.triggerSlug);
30594
+ * console.log('Webhook version:', result.version);
30595
+ * console.log('Received trigger:', result.payload.triggerSlug);
30298
30596
  * res.status(200).send('OK');
30299
30597
  * } catch (error) {
30300
30598
  * console.error('Webhook verification failed:', error);
@@ -30305,7 +30603,29 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
30305
30603
  */
30306
30604
  verifyWebhook(params: VerifyWebhookParams): VerifyWebhookResult;
30307
30605
  /**
30308
- * Verifies the HMAC-SHA256 signature of a webhook payload
30606
+ * Parses the webhook payload and detects its version (V1, V2, or V3)
30607
+ * @private
30608
+ */
30609
+ private parseWebhookPayload;
30610
+ /**
30611
+ * Normalizes a V1 webhook payload to IncomingTriggerPayload format
30612
+ * @private
30613
+ */
30614
+ private normalizeV1Payload;
30615
+ /**
30616
+ * Normalizes a V2 webhook payload to IncomingTriggerPayload format
30617
+ * @private
30618
+ */
30619
+ private normalizeV2Payload;
30620
+ /**
30621
+ * Normalizes a V3 webhook payload to IncomingTriggerPayload format
30622
+ * @private
30623
+ */
30624
+ private normalizeV3Payload;
30625
+ /**
30626
+ * Verifies the HMAC-SHA256 signature of a webhook payload.
30627
+ * The signature format used by Composio is: `v1,base64EncodedSignature`
30628
+ * The signing input is: `${msgId}.${timestamp}.${payload}`
30309
30629
  * @private
30310
30630
  */
30311
30631
  private verifyWebhookSignature;
@@ -30773,16 +31093,16 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
30773
31093
  }, "strip", z.ZodTypeAny, {
30774
31094
  name: string;
30775
31095
  type: "streamable_http";
30776
- id: string;
30777
31096
  userId: string;
31097
+ id: string;
30778
31098
  allowedTools: string[];
30779
31099
  url: string;
30780
31100
  authConfigs: string[];
30781
31101
  }, {
30782
31102
  name: string;
30783
31103
  type: "streamable_http";
30784
- id: string;
30785
31104
  userId: string;
31105
+ id: string;
30786
31106
  allowedTools: string[];
30787
31107
  url: string;
30788
31108
  authConfigs: string[];
@@ -30865,8 +31185,8 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
30865
31185
  MCPUrl: z.ZodString;
30866
31186
  }, "strip", z.ZodTypeAny, {
30867
31187
  name: string;
30868
- id: string;
30869
31188
  authConfigIds: string[];
31189
+ id: string;
30870
31190
  allowedTools: string[];
30871
31191
  commands: {
30872
31192
  cursor: string;
@@ -30876,8 +31196,8 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
30876
31196
  MCPUrl: string;
30877
31197
  }, {
30878
31198
  name: string;
30879
- id: string;
30880
31199
  authConfigIds: string[];
31200
+ id: string;
30881
31201
  allowedTools: string[];
30882
31202
  commands: {
30883
31203
  cursor: string;
@@ -30910,15 +31230,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
30910
31230
  authConfigs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
30911
31231
  name: z.ZodOptional<z.ZodString>;
30912
31232
  }, "strip", z.ZodTypeAny, {
30913
- limit: number;
30914
31233
  toolkits: string[];
31234
+ limit: number;
30915
31235
  page: number;
30916
31236
  authConfigs: string[];
30917
31237
  name?: string | undefined;
30918
31238
  }, {
30919
31239
  name?: string | undefined;
30920
- limit?: number | undefined;
30921
31240
  toolkits?: string[] | undefined;
31241
+ limit?: number | undefined;
30922
31242
  page?: number | undefined;
30923
31243
  authConfigs?: string[] | undefined;
30924
31244
  }>;
@@ -30975,9 +31295,9 @@ declare const MCPItemSchema: z.ZodObject<{
30975
31295
  toolkits: z.ZodArray<z.ZodString, "many">;
30976
31296
  }, "strip", z.ZodTypeAny, {
30977
31297
  name: string;
30978
- id: string;
30979
31298
  toolkits: string[];
30980
31299
  authConfigIds: string[];
31300
+ id: string;
30981
31301
  allowedTools: string[];
30982
31302
  commands: {
30983
31303
  cursor: string;
@@ -30989,9 +31309,9 @@ declare const MCPItemSchema: z.ZodObject<{
30989
31309
  serverInstanceCount: number;
30990
31310
  }, {
30991
31311
  name: string;
30992
- id: string;
30993
31312
  toolkits: string[];
30994
31313
  authConfigIds: string[];
31314
+ id: string;
30995
31315
  allowedTools: string[];
30996
31316
  commands: {
30997
31317
  cursor: string;
@@ -31056,9 +31376,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
31056
31376
  toolkits: z.ZodArray<z.ZodString, "many">;
31057
31377
  }, "strip", z.ZodTypeAny, {
31058
31378
  name: string;
31059
- id: string;
31060
31379
  toolkits: string[];
31061
31380
  authConfigIds: string[];
31381
+ id: string;
31062
31382
  allowedTools: string[];
31063
31383
  commands: {
31064
31384
  cursor: string;
@@ -31070,9 +31390,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
31070
31390
  serverInstanceCount: number;
31071
31391
  }, {
31072
31392
  name: string;
31073
- id: string;
31074
31393
  toolkits: string[];
31075
31394
  authConfigIds: string[];
31395
+ id: string;
31076
31396
  allowedTools: string[];
31077
31397
  commands: {
31078
31398
  cursor: string;
@@ -31088,9 +31408,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
31088
31408
  }, "strip", z.ZodTypeAny, {
31089
31409
  items: {
31090
31410
  name: string;
31091
- id: string;
31092
31411
  toolkits: string[];
31093
31412
  authConfigIds: string[];
31413
+ id: string;
31094
31414
  allowedTools: string[];
31095
31415
  commands: {
31096
31416
  cursor: string;
@@ -31106,9 +31426,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
31106
31426
  }, {
31107
31427
  items: {
31108
31428
  name: string;
31109
- id: string;
31110
31429
  toolkits: string[];
31111
31430
  authConfigIds: string[];
31431
+ id: string;
31112
31432
  allowedTools: string[];
31113
31433
  commands: {
31114
31434
  cursor: string;
@@ -31702,55 +32022,6 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
31702
32022
  //#region src/types/composio.types.d.ts
31703
32023
  type ComposioRequestHeaders = Record<string, string>;
31704
32024
  //#endregion
31705
- //#region src/types/files.types.d.ts
31706
- type FileUploadData = {
31707
- name: string;
31708
- mimetype: string;
31709
- s3key: string;
31710
- };
31711
- type FileDownloadData = {
31712
- name: string;
31713
- mimeType: string;
31714
- s3Url: string;
31715
- filePath: string;
31716
- };
31717
- //#endregion
31718
- //#region src/models/Files.d.ts
31719
- declare class Files {
31720
- private readonly client;
31721
- constructor(client: ComposioClient);
31722
- /**
31723
- * Upload a file to S3 and return the file data.
31724
- * @param filePath - The path to the file to upload or a URL of the file to upload.
31725
- * @param toolSlug - The slug of the tool that is uploading the file.
31726
- * @param toolkitSlug - The slug of the toolkit that is uploading the file.
31727
- * @returns The file data.
31728
- */
31729
- upload({
31730
- file,
31731
- toolSlug,
31732
- toolkitSlug
31733
- }: {
31734
- file: File | string;
31735
- toolSlug: string;
31736
- toolkitSlug: string;
31737
- }): Promise<FileUploadData>;
31738
- /**
31739
- * Download a file from S3 and return the file data.
31740
- * @param s3key - The S3 key of the file to download.
31741
- * @returns The file data.
31742
- */
31743
- download({
31744
- toolSlug,
31745
- s3Url,
31746
- mimeType
31747
- }: {
31748
- s3Url: string;
31749
- toolSlug: string;
31750
- mimeType: string;
31751
- }): Promise<FileDownloadData>;
31752
- }
31753
- //#endregion
31754
32025
  //#region src/types/toolRouter.types.d.ts
31755
32026
  declare const MCPServerTypeSchema: z.ZodEnum<["http", "sse"]>;
31756
32027
  type MCPServerType = z.infer<typeof MCPServerTypeSchema>;
@@ -32103,26 +32374,26 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
32103
32374
  }>>;
32104
32375
  }, "strip", z.ZodTypeAny, {
32105
32376
  isActive: boolean;
32106
- connectedAccount?: {
32107
- status: string;
32108
- id: string;
32109
- } | undefined;
32110
32377
  authConfig?: {
32111
32378
  id: string;
32112
32379
  isComposioManaged: boolean;
32113
32380
  mode: string;
32114
32381
  } | null | undefined;
32115
- }, {
32116
- isActive: boolean;
32117
32382
  connectedAccount?: {
32118
32383
  status: string;
32119
32384
  id: string;
32120
32385
  } | undefined;
32386
+ }, {
32387
+ isActive: boolean;
32121
32388
  authConfig?: {
32122
32389
  id: string;
32123
32390
  isComposioManaged: boolean;
32124
32391
  mode: string;
32125
32392
  } | null | undefined;
32393
+ connectedAccount?: {
32394
+ status: string;
32395
+ id: string;
32396
+ } | undefined;
32126
32397
  }>>;
32127
32398
  }, "strip", z.ZodTypeAny, {
32128
32399
  slug: string;
@@ -32131,15 +32402,15 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
32131
32402
  logo?: string | undefined;
32132
32403
  connection?: {
32133
32404
  isActive: boolean;
32134
- connectedAccount?: {
32135
- status: string;
32136
- id: string;
32137
- } | undefined;
32138
32405
  authConfig?: {
32139
32406
  id: string;
32140
32407
  isComposioManaged: boolean;
32141
32408
  mode: string;
32142
32409
  } | null | undefined;
32410
+ connectedAccount?: {
32411
+ status: string;
32412
+ id: string;
32413
+ } | undefined;
32143
32414
  } | undefined;
32144
32415
  }, {
32145
32416
  slug: string;
@@ -32148,15 +32419,15 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
32148
32419
  isNoAuth?: boolean | undefined;
32149
32420
  connection?: {
32150
32421
  isActive: boolean;
32151
- connectedAccount?: {
32152
- status: string;
32153
- id: string;
32154
- } | undefined;
32155
32422
  authConfig?: {
32156
32423
  id: string;
32157
32424
  isComposioManaged: boolean;
32158
32425
  mode: string;
32159
32426
  } | null | undefined;
32427
+ connectedAccount?: {
32428
+ status: string;
32429
+ id: string;
32430
+ } | undefined;
32160
32431
  } | undefined;
32161
32432
  }>;
32162
32433
  declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
@@ -32192,26 +32463,26 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32192
32463
  }>>;
32193
32464
  }, "strip", z.ZodTypeAny, {
32194
32465
  isActive: boolean;
32195
- connectedAccount?: {
32196
- status: string;
32197
- id: string;
32198
- } | undefined;
32199
32466
  authConfig?: {
32200
32467
  id: string;
32201
32468
  isComposioManaged: boolean;
32202
32469
  mode: string;
32203
32470
  } | null | undefined;
32204
- }, {
32205
- isActive: boolean;
32206
32471
  connectedAccount?: {
32207
32472
  status: string;
32208
32473
  id: string;
32209
32474
  } | undefined;
32475
+ }, {
32476
+ isActive: boolean;
32210
32477
  authConfig?: {
32211
32478
  id: string;
32212
32479
  isComposioManaged: boolean;
32213
32480
  mode: string;
32214
32481
  } | null | undefined;
32482
+ connectedAccount?: {
32483
+ status: string;
32484
+ id: string;
32485
+ } | undefined;
32215
32486
  }>>;
32216
32487
  }, "strip", z.ZodTypeAny, {
32217
32488
  slug: string;
@@ -32220,15 +32491,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32220
32491
  logo?: string | undefined;
32221
32492
  connection?: {
32222
32493
  isActive: boolean;
32223
- connectedAccount?: {
32224
- status: string;
32225
- id: string;
32226
- } | undefined;
32227
32494
  authConfig?: {
32228
32495
  id: string;
32229
32496
  isComposioManaged: boolean;
32230
32497
  mode: string;
32231
32498
  } | null | undefined;
32499
+ connectedAccount?: {
32500
+ status: string;
32501
+ id: string;
32502
+ } | undefined;
32232
32503
  } | undefined;
32233
32504
  }, {
32234
32505
  slug: string;
@@ -32237,15 +32508,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32237
32508
  isNoAuth?: boolean | undefined;
32238
32509
  connection?: {
32239
32510
  isActive: boolean;
32240
- connectedAccount?: {
32241
- status: string;
32242
- id: string;
32243
- } | undefined;
32244
32511
  authConfig?: {
32245
32512
  id: string;
32246
32513
  isComposioManaged: boolean;
32247
32514
  mode: string;
32248
32515
  } | null | undefined;
32516
+ connectedAccount?: {
32517
+ status: string;
32518
+ id: string;
32519
+ } | undefined;
32249
32520
  } | undefined;
32250
32521
  }>, "many">;
32251
32522
  nextCursor: z.ZodOptional<z.ZodString>;
@@ -32258,15 +32529,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32258
32529
  logo?: string | undefined;
32259
32530
  connection?: {
32260
32531
  isActive: boolean;
32261
- connectedAccount?: {
32262
- status: string;
32263
- id: string;
32264
- } | undefined;
32265
32532
  authConfig?: {
32266
32533
  id: string;
32267
32534
  isComposioManaged: boolean;
32268
32535
  mode: string;
32269
32536
  } | null | undefined;
32537
+ connectedAccount?: {
32538
+ status: string;
32539
+ id: string;
32540
+ } | undefined;
32270
32541
  } | undefined;
32271
32542
  }[];
32272
32543
  totalPages: number;
@@ -32279,15 +32550,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
32279
32550
  isNoAuth?: boolean | undefined;
32280
32551
  connection?: {
32281
32552
  isActive: boolean;
32282
- connectedAccount?: {
32283
- status: string;
32284
- id: string;
32285
- } | undefined;
32286
32553
  authConfig?: {
32287
32554
  id: string;
32288
32555
  isComposioManaged: boolean;
32289
32556
  mode: string;
32290
32557
  } | null | undefined;
32558
+ connectedAccount?: {
32559
+ status: string;
32560
+ id: string;
32561
+ } | undefined;
32291
32562
  } | undefined;
32292
32563
  }[];
32293
32564
  totalPages: number;
@@ -32320,15 +32591,15 @@ declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
32320
32591
  isConnected: z.ZodOptional<z.ZodBoolean>;
32321
32592
  search: z.ZodOptional<z.ZodString>;
32322
32593
  }, "strip", z.ZodTypeAny, {
32323
- limit?: number | undefined;
32324
32594
  nextCursor?: string | undefined;
32325
32595
  toolkits?: string[] | undefined;
32596
+ limit?: number | undefined;
32326
32597
  search?: string | undefined;
32327
32598
  isConnected?: boolean | undefined;
32328
32599
  }, {
32329
- limit?: number | undefined;
32330
32600
  nextCursor?: string | undefined;
32331
32601
  toolkits?: string[] | undefined;
32602
+ limit?: number | undefined;
32332
32603
  search?: string | undefined;
32333
32604
  isConnected?: boolean | undefined;
32334
32605
  }>;
@@ -33274,4 +33545,4 @@ declare class ComposioWebhookPayloadError extends ComposioError {
33274
33545
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
33275
33546
  }
33276
33547
  //#endregion
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 };
33548
+ 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, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };