@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.cts CHANGED
@@ -1,3 +1,5 @@
1
+ import { n as FileUploadData, t as FileDownloadData } from "./files.types-D-RzIOHq.cjs";
2
+ import "node:module";
1
3
  import z$1, { z } from "zod/v3";
2
4
  import { CustomCreateResponse as CustomCreateResponse$1, GenerateURLResponse as GenerateURLResponse$1, McpCreateResponse } from "@composio/client/resources/mcp";
3
5
  import ComposioClient, { Composio as Composio$1 } from "@composio/client";
@@ -7,6 +9,7 @@ import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateSta
7
9
  import { ConnectedAccountDeleteResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
8
10
  import { OpenAI } from "openai";
9
11
  import { Stream } from "openai/streaming";
12
+ import { Files } from "#files";
10
13
 
11
14
  //#region rolldown:runtime
12
15
  //#endregion
@@ -566,17 +569,17 @@ declare const ToolListParamsSchema: z.ZodObject<{
566
569
  }, "strip", z.ZodTypeAny, {
567
570
  tags?: string[] | undefined;
568
571
  scopes?: string[] | undefined;
569
- limit?: number | undefined;
570
572
  tools?: string[] | undefined;
571
573
  toolkits?: string[] | undefined;
574
+ limit?: number | undefined;
572
575
  search?: string | undefined;
573
576
  authConfigIds?: string[] | undefined;
574
577
  }, {
575
578
  tags?: string[] | undefined;
576
579
  scopes?: string[] | undefined;
577
- limit?: number | undefined;
578
580
  tools?: string[] | undefined;
579
581
  toolkits?: string[] | undefined;
582
+ limit?: number | undefined;
580
583
  search?: string | undefined;
581
584
  authConfigIds?: string[] | undefined;
582
585
  }>;
@@ -895,6 +898,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
895
898
  }, "status">, z.ZodUnknown, "strip">>;
896
899
  }, "strip", z.ZodTypeAny, {
897
900
  authScheme: "OAUTH2";
901
+ toolkitSlug: string;
898
902
  val: {
899
903
  access_token: string;
900
904
  version?: string | undefined;
@@ -928,12 +932,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
928
932
  registration_access_token?: string | undefined;
929
933
  registration_client_uri?: string | undefined;
930
934
  composio_link_redirect_url?: string | undefined;
931
- webhook_signature?: string | undefined;
932
935
  id_token?: string | undefined;
933
936
  token_type?: string | undefined;
934
937
  refresh_token?: string | null | undefined;
935
938
  expires_in?: string | number | null | undefined;
936
939
  scope?: string | string[] | null | undefined;
940
+ webhook_signature?: string | undefined;
937
941
  authed_user?: {
938
942
  access_token?: string | undefined;
939
943
  scope?: string | undefined;
@@ -941,9 +945,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
941
945
  } & {
942
946
  [k: string]: unknown;
943
947
  };
944
- toolkitSlug: string;
945
948
  }, {
946
949
  authScheme: "OAUTH2";
950
+ toolkitSlug: string;
947
951
  val: {
948
952
  access_token: string;
949
953
  version?: string | undefined;
@@ -977,12 +981,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
977
981
  registration_access_token?: string | undefined;
978
982
  registration_client_uri?: string | undefined;
979
983
  composio_link_redirect_url?: string | undefined;
980
- webhook_signature?: string | undefined;
981
984
  id_token?: string | undefined;
982
985
  token_type?: string | undefined;
983
986
  refresh_token?: string | null | undefined;
984
987
  expires_in?: string | number | null | undefined;
985
988
  scope?: string | string[] | null | undefined;
989
+ webhook_signature?: string | undefined;
986
990
  authed_user?: {
987
991
  access_token?: string | undefined;
988
992
  scope?: string | undefined;
@@ -990,7 +994,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
990
994
  } & {
991
995
  [k: string]: unknown;
992
996
  };
993
- toolkitSlug: string;
994
997
  }>, z.ZodObject<{
995
998
  authScheme: z.ZodLiteral<"DCR_OAUTH">;
996
999
  toolkitSlug: z.ZodString;
@@ -1102,6 +1105,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1102
1105
  }, z.ZodUnknown, "strip">>;
1103
1106
  }, "strip", z.ZodTypeAny, {
1104
1107
  authScheme: "DCR_OAUTH";
1108
+ toolkitSlug: string;
1105
1109
  val: {
1106
1110
  access_token: string;
1107
1111
  client_id: string;
@@ -1139,9 +1143,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1139
1143
  } & {
1140
1144
  [k: string]: unknown;
1141
1145
  };
1142
- toolkitSlug: string;
1143
1146
  }, {
1144
1147
  authScheme: "DCR_OAUTH";
1148
+ toolkitSlug: string;
1145
1149
  val: {
1146
1150
  access_token: string;
1147
1151
  client_id: string;
@@ -1179,7 +1183,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1179
1183
  } & {
1180
1184
  [k: string]: unknown;
1181
1185
  };
1182
- toolkitSlug: string;
1183
1186
  }>, z.ZodObject<{
1184
1187
  authScheme: z.ZodLiteral<"API_KEY">;
1185
1188
  toolkitSlug: z.ZodString;
@@ -1285,6 +1288,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1285
1288
  }, z.ZodUnknown, "strip">>;
1286
1289
  }, "strip", z.ZodTypeAny, {
1287
1290
  authScheme: "API_KEY";
1291
+ toolkitSlug: string;
1288
1292
  val: {
1289
1293
  version?: string | undefined;
1290
1294
  "your-domain"?: string | undefined;
@@ -1320,9 +1324,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1320
1324
  } & {
1321
1325
  [k: string]: unknown;
1322
1326
  };
1323
- toolkitSlug: string;
1324
1327
  }, {
1325
1328
  authScheme: "API_KEY";
1329
+ toolkitSlug: string;
1326
1330
  val: {
1327
1331
  version?: string | undefined;
1328
1332
  "your-domain"?: string | undefined;
@@ -1358,7 +1362,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1358
1362
  } & {
1359
1363
  [k: string]: unknown;
1360
1364
  };
1361
- toolkitSlug: string;
1362
1365
  }>, z.ZodObject<{
1363
1366
  authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
1364
1367
  toolkitSlug: z.ZodString;
@@ -1470,6 +1473,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1470
1473
  }, z.ZodUnknown, "strip">>;
1471
1474
  }, "strip", z.ZodTypeAny, {
1472
1475
  authScheme: "BASIC_WITH_JWT";
1476
+ toolkitSlug: string;
1473
1477
  val: {
1474
1478
  username: string;
1475
1479
  password: string;
@@ -1507,9 +1511,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1507
1511
  } & {
1508
1512
  [k: string]: unknown;
1509
1513
  };
1510
- toolkitSlug: string;
1511
1514
  }, {
1512
1515
  authScheme: "BASIC_WITH_JWT";
1516
+ toolkitSlug: string;
1513
1517
  val: {
1514
1518
  username: string;
1515
1519
  password: string;
@@ -1547,7 +1551,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1547
1551
  } & {
1548
1552
  [k: string]: unknown;
1549
1553
  };
1550
- toolkitSlug: string;
1551
1554
  }>, z.ZodObject<{
1552
1555
  authScheme: z.ZodLiteral<"BASIC">;
1553
1556
  toolkitSlug: z.ZodString;
@@ -1659,6 +1662,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1659
1662
  }, z.ZodUnknown, "strip">>;
1660
1663
  }, "strip", z.ZodTypeAny, {
1661
1664
  authScheme: "BASIC";
1665
+ toolkitSlug: string;
1662
1666
  val: {
1663
1667
  username: string;
1664
1668
  password: string;
@@ -1696,9 +1700,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1696
1700
  } & {
1697
1701
  [k: string]: unknown;
1698
1702
  };
1699
- toolkitSlug: string;
1700
1703
  }, {
1701
1704
  authScheme: "BASIC";
1705
+ toolkitSlug: string;
1702
1706
  val: {
1703
1707
  username: string;
1704
1708
  password: string;
@@ -1736,7 +1740,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1736
1740
  } & {
1737
1741
  [k: string]: unknown;
1738
1742
  };
1739
- toolkitSlug: string;
1740
1743
  }>, z.ZodObject<{
1741
1744
  authScheme: z.ZodLiteral<"BEARER_TOKEN">;
1742
1745
  toolkitSlug: z.ZodString;
@@ -1845,6 +1848,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1845
1848
  }, z.ZodUnknown, "strip">>;
1846
1849
  }, "strip", z.ZodTypeAny, {
1847
1850
  authScheme: "BEARER_TOKEN";
1851
+ toolkitSlug: string;
1848
1852
  val: {
1849
1853
  token: string;
1850
1854
  version?: string | undefined;
@@ -1881,9 +1885,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1881
1885
  } & {
1882
1886
  [k: string]: unknown;
1883
1887
  };
1884
- toolkitSlug: string;
1885
1888
  }, {
1886
1889
  authScheme: "BEARER_TOKEN";
1890
+ toolkitSlug: string;
1887
1891
  val: {
1888
1892
  token: string;
1889
1893
  version?: string | undefined;
@@ -1920,7 +1924,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1920
1924
  } & {
1921
1925
  [k: string]: unknown;
1922
1926
  };
1923
- toolkitSlug: string;
1924
1927
  }>, z.ZodObject<{
1925
1928
  authScheme: z.ZodLiteral<"OAUTH1">;
1926
1929
  toolkitSlug: z.ZodString;
@@ -2047,6 +2050,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2047
2050
  }, "status">, z.ZodUnknown, "strip">>;
2048
2051
  }, "strip", z.ZodTypeAny, {
2049
2052
  authScheme: "OAUTH1";
2053
+ toolkitSlug: string;
2050
2054
  val: {
2051
2055
  oauth_token: string;
2052
2056
  oauth_token_secret: string;
@@ -2081,16 +2085,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2081
2085
  registration_access_token?: string | undefined;
2082
2086
  registration_client_uri?: string | undefined;
2083
2087
  composio_link_redirect_url?: string | undefined;
2084
- redirectUrl?: string | undefined;
2085
- callback_url?: string | undefined;
2086
2088
  consumer_key?: string | undefined;
2087
2089
  oauth_verifier?: string | undefined;
2090
+ redirectUrl?: string | undefined;
2091
+ callback_url?: string | undefined;
2088
2092
  } & {
2089
2093
  [k: string]: unknown;
2090
2094
  };
2091
- toolkitSlug: string;
2092
2095
  }, {
2093
2096
  authScheme: "OAUTH1";
2097
+ toolkitSlug: string;
2094
2098
  val: {
2095
2099
  oauth_token: string;
2096
2100
  oauth_token_secret: string;
@@ -2125,14 +2129,13 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2125
2129
  registration_access_token?: string | undefined;
2126
2130
  registration_client_uri?: string | undefined;
2127
2131
  composio_link_redirect_url?: string | undefined;
2128
- redirectUrl?: string | undefined;
2129
- callback_url?: string | undefined;
2130
2132
  consumer_key?: string | undefined;
2131
2133
  oauth_verifier?: string | undefined;
2134
+ redirectUrl?: string | undefined;
2135
+ callback_url?: string | undefined;
2132
2136
  } & {
2133
2137
  [k: string]: unknown;
2134
2138
  };
2135
- toolkitSlug: string;
2136
2139
  }>, z.ZodObject<{
2137
2140
  authScheme: z.ZodLiteral<"NO_AUTH">;
2138
2141
  toolkitSlug: z.ZodString;
@@ -2235,6 +2238,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2235
2238
  }, z.ZodUnknown, "strip">>;
2236
2239
  }, "strip", z.ZodTypeAny, {
2237
2240
  authScheme: "NO_AUTH";
2241
+ toolkitSlug: string;
2238
2242
  val: {
2239
2243
  version?: string | undefined;
2240
2244
  "your-domain"?: string | undefined;
@@ -2270,9 +2274,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2270
2274
  } & {
2271
2275
  [k: string]: unknown;
2272
2276
  };
2273
- toolkitSlug: string;
2274
2277
  }, {
2275
2278
  authScheme: "NO_AUTH";
2279
+ toolkitSlug: string;
2276
2280
  val: {
2277
2281
  version?: string | undefined;
2278
2282
  "your-domain"?: string | undefined;
@@ -2308,7 +2312,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2308
2312
  } & {
2309
2313
  [k: string]: unknown;
2310
2314
  };
2311
- toolkitSlug: string;
2312
2315
  }>, z.ZodObject<{
2313
2316
  authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
2314
2317
  toolkitSlug: z.ZodString;
@@ -2423,6 +2426,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2423
2426
  }, z.ZodUnknown, "strip">>;
2424
2427
  }, "strip", z.ZodTypeAny, {
2425
2428
  authScheme: "SERVICE_ACCOUNT";
2429
+ toolkitSlug: string;
2426
2430
  val: {
2427
2431
  application_id: string;
2428
2432
  installation_id: string;
@@ -2461,9 +2465,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2461
2465
  } & {
2462
2466
  [k: string]: unknown;
2463
2467
  };
2464
- toolkitSlug: string;
2465
2468
  }, {
2466
2469
  authScheme: "SERVICE_ACCOUNT";
2470
+ toolkitSlug: string;
2467
2471
  val: {
2468
2472
  application_id: string;
2469
2473
  installation_id: string;
@@ -2502,7 +2506,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2502
2506
  } & {
2503
2507
  [k: string]: unknown;
2504
2508
  };
2505
- toolkitSlug: string;
2506
2509
  }>]>>;
2507
2510
  arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2508
2511
  userId: z.ZodOptional<z.ZodString>;
@@ -2524,6 +2527,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2524
2527
  } | undefined;
2525
2528
  customConnectionData?: {
2526
2529
  authScheme: "OAUTH2";
2530
+ toolkitSlug: string;
2527
2531
  val: {
2528
2532
  access_token: string;
2529
2533
  version?: string | undefined;
@@ -2557,12 +2561,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2557
2561
  registration_access_token?: string | undefined;
2558
2562
  registration_client_uri?: string | undefined;
2559
2563
  composio_link_redirect_url?: string | undefined;
2560
- webhook_signature?: string | undefined;
2561
2564
  id_token?: string | undefined;
2562
2565
  token_type?: string | undefined;
2563
2566
  refresh_token?: string | null | undefined;
2564
2567
  expires_in?: string | number | null | undefined;
2565
2568
  scope?: string | string[] | null | undefined;
2569
+ webhook_signature?: string | undefined;
2566
2570
  authed_user?: {
2567
2571
  access_token?: string | undefined;
2568
2572
  scope?: string | undefined;
@@ -2570,9 +2574,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2570
2574
  } & {
2571
2575
  [k: string]: unknown;
2572
2576
  };
2573
- toolkitSlug: string;
2574
2577
  } | {
2575
2578
  authScheme: "DCR_OAUTH";
2579
+ toolkitSlug: string;
2576
2580
  val: {
2577
2581
  access_token: string;
2578
2582
  client_id: string;
@@ -2610,9 +2614,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2610
2614
  } & {
2611
2615
  [k: string]: unknown;
2612
2616
  };
2613
- toolkitSlug: string;
2614
2617
  } | {
2615
2618
  authScheme: "API_KEY";
2619
+ toolkitSlug: string;
2616
2620
  val: {
2617
2621
  version?: string | undefined;
2618
2622
  "your-domain"?: string | undefined;
@@ -2648,9 +2652,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2648
2652
  } & {
2649
2653
  [k: string]: unknown;
2650
2654
  };
2651
- toolkitSlug: string;
2652
2655
  } | {
2653
2656
  authScheme: "BASIC_WITH_JWT";
2657
+ toolkitSlug: string;
2654
2658
  val: {
2655
2659
  username: string;
2656
2660
  password: string;
@@ -2688,9 +2692,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2688
2692
  } & {
2689
2693
  [k: string]: unknown;
2690
2694
  };
2691
- toolkitSlug: string;
2692
2695
  } | {
2693
2696
  authScheme: "BASIC";
2697
+ toolkitSlug: string;
2694
2698
  val: {
2695
2699
  username: string;
2696
2700
  password: string;
@@ -2728,9 +2732,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2728
2732
  } & {
2729
2733
  [k: string]: unknown;
2730
2734
  };
2731
- toolkitSlug: string;
2732
2735
  } | {
2733
2736
  authScheme: "BEARER_TOKEN";
2737
+ toolkitSlug: string;
2734
2738
  val: {
2735
2739
  token: string;
2736
2740
  version?: string | undefined;
@@ -2767,9 +2771,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2767
2771
  } & {
2768
2772
  [k: string]: unknown;
2769
2773
  };
2770
- toolkitSlug: string;
2771
2774
  } | {
2772
2775
  authScheme: "OAUTH1";
2776
+ toolkitSlug: string;
2773
2777
  val: {
2774
2778
  oauth_token: string;
2775
2779
  oauth_token_secret: string;
@@ -2804,16 +2808,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2804
2808
  registration_access_token?: string | undefined;
2805
2809
  registration_client_uri?: string | undefined;
2806
2810
  composio_link_redirect_url?: string | undefined;
2807
- redirectUrl?: string | undefined;
2808
- callback_url?: string | undefined;
2809
2811
  consumer_key?: string | undefined;
2810
2812
  oauth_verifier?: string | undefined;
2813
+ redirectUrl?: string | undefined;
2814
+ callback_url?: string | undefined;
2811
2815
  } & {
2812
2816
  [k: string]: unknown;
2813
2817
  };
2814
- toolkitSlug: string;
2815
2818
  } | {
2816
2819
  authScheme: "NO_AUTH";
2820
+ toolkitSlug: string;
2817
2821
  val: {
2818
2822
  version?: string | undefined;
2819
2823
  "your-domain"?: string | undefined;
@@ -2849,9 +2853,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2849
2853
  } & {
2850
2854
  [k: string]: unknown;
2851
2855
  };
2852
- toolkitSlug: string;
2853
2856
  } | {
2854
2857
  authScheme: "SERVICE_ACCOUNT";
2858
+ toolkitSlug: string;
2855
2859
  val: {
2856
2860
  application_id: string;
2857
2861
  installation_id: string;
@@ -2890,7 +2894,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2890
2894
  } & {
2891
2895
  [k: string]: unknown;
2892
2896
  };
2893
- toolkitSlug: string;
2894
2897
  } | undefined;
2895
2898
  arguments?: Record<string, unknown> | undefined;
2896
2899
  userId?: string | undefined;
@@ -2911,6 +2914,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2911
2914
  } | undefined;
2912
2915
  customConnectionData?: {
2913
2916
  authScheme: "OAUTH2";
2917
+ toolkitSlug: string;
2914
2918
  val: {
2915
2919
  access_token: string;
2916
2920
  version?: string | undefined;
@@ -2944,12 +2948,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2944
2948
  registration_access_token?: string | undefined;
2945
2949
  registration_client_uri?: string | undefined;
2946
2950
  composio_link_redirect_url?: string | undefined;
2947
- webhook_signature?: string | undefined;
2948
2951
  id_token?: string | undefined;
2949
2952
  token_type?: string | undefined;
2950
2953
  refresh_token?: string | null | undefined;
2951
2954
  expires_in?: string | number | null | undefined;
2952
2955
  scope?: string | string[] | null | undefined;
2956
+ webhook_signature?: string | undefined;
2953
2957
  authed_user?: {
2954
2958
  access_token?: string | undefined;
2955
2959
  scope?: string | undefined;
@@ -2957,9 +2961,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2957
2961
  } & {
2958
2962
  [k: string]: unknown;
2959
2963
  };
2960
- toolkitSlug: string;
2961
2964
  } | {
2962
2965
  authScheme: "DCR_OAUTH";
2966
+ toolkitSlug: string;
2963
2967
  val: {
2964
2968
  access_token: string;
2965
2969
  client_id: string;
@@ -2997,9 +3001,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
2997
3001
  } & {
2998
3002
  [k: string]: unknown;
2999
3003
  };
3000
- toolkitSlug: string;
3001
3004
  } | {
3002
3005
  authScheme: "API_KEY";
3006
+ toolkitSlug: string;
3003
3007
  val: {
3004
3008
  version?: string | undefined;
3005
3009
  "your-domain"?: string | undefined;
@@ -3035,9 +3039,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
3035
3039
  } & {
3036
3040
  [k: string]: unknown;
3037
3041
  };
3038
- toolkitSlug: string;
3039
3042
  } | {
3040
3043
  authScheme: "BASIC_WITH_JWT";
3044
+ toolkitSlug: string;
3041
3045
  val: {
3042
3046
  username: string;
3043
3047
  password: string;
@@ -3075,9 +3079,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
3075
3079
  } & {
3076
3080
  [k: string]: unknown;
3077
3081
  };
3078
- toolkitSlug: string;
3079
3082
  } | {
3080
3083
  authScheme: "BASIC";
3084
+ toolkitSlug: string;
3081
3085
  val: {
3082
3086
  username: string;
3083
3087
  password: string;
@@ -3115,9 +3119,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
3115
3119
  } & {
3116
3120
  [k: string]: unknown;
3117
3121
  };
3118
- toolkitSlug: string;
3119
3122
  } | {
3120
3123
  authScheme: "BEARER_TOKEN";
3124
+ toolkitSlug: string;
3121
3125
  val: {
3122
3126
  token: string;
3123
3127
  version?: string | undefined;
@@ -3154,9 +3158,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
3154
3158
  } & {
3155
3159
  [k: string]: unknown;
3156
3160
  };
3157
- toolkitSlug: string;
3158
3161
  } | {
3159
3162
  authScheme: "OAUTH1";
3163
+ toolkitSlug: string;
3160
3164
  val: {
3161
3165
  oauth_token: string;
3162
3166
  oauth_token_secret: string;
@@ -3191,16 +3195,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
3191
3195
  registration_access_token?: string | undefined;
3192
3196
  registration_client_uri?: string | undefined;
3193
3197
  composio_link_redirect_url?: string | undefined;
3194
- redirectUrl?: string | undefined;
3195
- callback_url?: string | undefined;
3196
3198
  consumer_key?: string | undefined;
3197
3199
  oauth_verifier?: string | undefined;
3200
+ redirectUrl?: string | undefined;
3201
+ callback_url?: string | undefined;
3198
3202
  } & {
3199
3203
  [k: string]: unknown;
3200
3204
  };
3201
- toolkitSlug: string;
3202
3205
  } | {
3203
3206
  authScheme: "NO_AUTH";
3207
+ toolkitSlug: string;
3204
3208
  val: {
3205
3209
  version?: string | undefined;
3206
3210
  "your-domain"?: string | undefined;
@@ -3236,9 +3240,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
3236
3240
  } & {
3237
3241
  [k: string]: unknown;
3238
3242
  };
3239
- toolkitSlug: string;
3240
3243
  } | {
3241
3244
  authScheme: "SERVICE_ACCOUNT";
3245
+ toolkitSlug: string;
3242
3246
  val: {
3243
3247
  application_id: string;
3244
3248
  installation_id: string;
@@ -3277,7 +3281,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
3277
3281
  } & {
3278
3282
  [k: string]: unknown;
3279
3283
  };
3280
- toolkitSlug: string;
3281
3284
  } | undefined;
3282
3285
  arguments?: Record<string, unknown> | undefined;
3283
3286
  userId?: string | undefined;
@@ -3306,14 +3309,14 @@ declare const ToolExecuteResponseSchema: z.ZodObject<{
3306
3309
  logId: z.ZodOptional<z.ZodString>;
3307
3310
  sessionInfo: z.ZodOptional<z.ZodUnknown>;
3308
3311
  }, "strip", z.ZodTypeAny, {
3309
- error: string | null;
3310
3312
  data: Record<string, unknown>;
3313
+ error: string | null;
3311
3314
  successful: boolean;
3312
3315
  logId?: string | undefined;
3313
3316
  sessionInfo?: unknown;
3314
3317
  }, {
3315
- error: string | null;
3316
3318
  data: Record<string, unknown>;
3319
+ error: string | null;
3317
3320
  successful: boolean;
3318
3321
  logId?: string | undefined;
3319
3322
  sessionInfo?: unknown;
@@ -3499,6 +3502,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3499
3502
  }, "status">, z.ZodUnknown, "strip">>;
3500
3503
  }, "strip", z.ZodTypeAny, {
3501
3504
  authScheme: "OAUTH2";
3505
+ toolkitSlug: string;
3502
3506
  val: {
3503
3507
  access_token: string;
3504
3508
  version?: string | undefined;
@@ -3532,12 +3536,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3532
3536
  registration_access_token?: string | undefined;
3533
3537
  registration_client_uri?: string | undefined;
3534
3538
  composio_link_redirect_url?: string | undefined;
3535
- webhook_signature?: string | undefined;
3536
3539
  id_token?: string | undefined;
3537
3540
  token_type?: string | undefined;
3538
3541
  refresh_token?: string | null | undefined;
3539
3542
  expires_in?: string | number | null | undefined;
3540
3543
  scope?: string | string[] | null | undefined;
3544
+ webhook_signature?: string | undefined;
3541
3545
  authed_user?: {
3542
3546
  access_token?: string | undefined;
3543
3547
  scope?: string | undefined;
@@ -3545,9 +3549,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3545
3549
  } & {
3546
3550
  [k: string]: unknown;
3547
3551
  };
3548
- toolkitSlug: string;
3549
3552
  }, {
3550
3553
  authScheme: "OAUTH2";
3554
+ toolkitSlug: string;
3551
3555
  val: {
3552
3556
  access_token: string;
3553
3557
  version?: string | undefined;
@@ -3581,12 +3585,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3581
3585
  registration_access_token?: string | undefined;
3582
3586
  registration_client_uri?: string | undefined;
3583
3587
  composio_link_redirect_url?: string | undefined;
3584
- webhook_signature?: string | undefined;
3585
3588
  id_token?: string | undefined;
3586
3589
  token_type?: string | undefined;
3587
3590
  refresh_token?: string | null | undefined;
3588
3591
  expires_in?: string | number | null | undefined;
3589
3592
  scope?: string | string[] | null | undefined;
3593
+ webhook_signature?: string | undefined;
3590
3594
  authed_user?: {
3591
3595
  access_token?: string | undefined;
3592
3596
  scope?: string | undefined;
@@ -3594,7 +3598,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3594
3598
  } & {
3595
3599
  [k: string]: unknown;
3596
3600
  };
3597
- toolkitSlug: string;
3598
3601
  }>, z.ZodObject<{
3599
3602
  authScheme: z.ZodLiteral<"DCR_OAUTH">;
3600
3603
  toolkitSlug: z.ZodString;
@@ -3706,6 +3709,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3706
3709
  }, z.ZodUnknown, "strip">>;
3707
3710
  }, "strip", z.ZodTypeAny, {
3708
3711
  authScheme: "DCR_OAUTH";
3712
+ toolkitSlug: string;
3709
3713
  val: {
3710
3714
  access_token: string;
3711
3715
  client_id: string;
@@ -3743,9 +3747,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3743
3747
  } & {
3744
3748
  [k: string]: unknown;
3745
3749
  };
3746
- toolkitSlug: string;
3747
3750
  }, {
3748
3751
  authScheme: "DCR_OAUTH";
3752
+ toolkitSlug: string;
3749
3753
  val: {
3750
3754
  access_token: string;
3751
3755
  client_id: string;
@@ -3783,7 +3787,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3783
3787
  } & {
3784
3788
  [k: string]: unknown;
3785
3789
  };
3786
- toolkitSlug: string;
3787
3790
  }>, z.ZodObject<{
3788
3791
  authScheme: z.ZodLiteral<"API_KEY">;
3789
3792
  toolkitSlug: z.ZodString;
@@ -3889,6 +3892,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3889
3892
  }, z.ZodUnknown, "strip">>;
3890
3893
  }, "strip", z.ZodTypeAny, {
3891
3894
  authScheme: "API_KEY";
3895
+ toolkitSlug: string;
3892
3896
  val: {
3893
3897
  version?: string | undefined;
3894
3898
  "your-domain"?: string | undefined;
@@ -3924,9 +3928,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3924
3928
  } & {
3925
3929
  [k: string]: unknown;
3926
3930
  };
3927
- toolkitSlug: string;
3928
3931
  }, {
3929
3932
  authScheme: "API_KEY";
3933
+ toolkitSlug: string;
3930
3934
  val: {
3931
3935
  version?: string | undefined;
3932
3936
  "your-domain"?: string | undefined;
@@ -3962,7 +3966,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
3962
3966
  } & {
3963
3967
  [k: string]: unknown;
3964
3968
  };
3965
- toolkitSlug: string;
3966
3969
  }>, z.ZodObject<{
3967
3970
  authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
3968
3971
  toolkitSlug: z.ZodString;
@@ -4074,6 +4077,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4074
4077
  }, z.ZodUnknown, "strip">>;
4075
4078
  }, "strip", z.ZodTypeAny, {
4076
4079
  authScheme: "BASIC_WITH_JWT";
4080
+ toolkitSlug: string;
4077
4081
  val: {
4078
4082
  username: string;
4079
4083
  password: string;
@@ -4111,9 +4115,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4111
4115
  } & {
4112
4116
  [k: string]: unknown;
4113
4117
  };
4114
- toolkitSlug: string;
4115
4118
  }, {
4116
4119
  authScheme: "BASIC_WITH_JWT";
4120
+ toolkitSlug: string;
4117
4121
  val: {
4118
4122
  username: string;
4119
4123
  password: string;
@@ -4151,7 +4155,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4151
4155
  } & {
4152
4156
  [k: string]: unknown;
4153
4157
  };
4154
- toolkitSlug: string;
4155
4158
  }>, z.ZodObject<{
4156
4159
  authScheme: z.ZodLiteral<"BASIC">;
4157
4160
  toolkitSlug: z.ZodString;
@@ -4263,6 +4266,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4263
4266
  }, z.ZodUnknown, "strip">>;
4264
4267
  }, "strip", z.ZodTypeAny, {
4265
4268
  authScheme: "BASIC";
4269
+ toolkitSlug: string;
4266
4270
  val: {
4267
4271
  username: string;
4268
4272
  password: string;
@@ -4300,9 +4304,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4300
4304
  } & {
4301
4305
  [k: string]: unknown;
4302
4306
  };
4303
- toolkitSlug: string;
4304
4307
  }, {
4305
4308
  authScheme: "BASIC";
4309
+ toolkitSlug: string;
4306
4310
  val: {
4307
4311
  username: string;
4308
4312
  password: string;
@@ -4340,7 +4344,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4340
4344
  } & {
4341
4345
  [k: string]: unknown;
4342
4346
  };
4343
- toolkitSlug: string;
4344
4347
  }>, z.ZodObject<{
4345
4348
  authScheme: z.ZodLiteral<"BEARER_TOKEN">;
4346
4349
  toolkitSlug: z.ZodString;
@@ -4449,6 +4452,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4449
4452
  }, z.ZodUnknown, "strip">>;
4450
4453
  }, "strip", z.ZodTypeAny, {
4451
4454
  authScheme: "BEARER_TOKEN";
4455
+ toolkitSlug: string;
4452
4456
  val: {
4453
4457
  token: string;
4454
4458
  version?: string | undefined;
@@ -4485,9 +4489,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4485
4489
  } & {
4486
4490
  [k: string]: unknown;
4487
4491
  };
4488
- toolkitSlug: string;
4489
4492
  }, {
4490
4493
  authScheme: "BEARER_TOKEN";
4494
+ toolkitSlug: string;
4491
4495
  val: {
4492
4496
  token: string;
4493
4497
  version?: string | undefined;
@@ -4524,7 +4528,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4524
4528
  } & {
4525
4529
  [k: string]: unknown;
4526
4530
  };
4527
- toolkitSlug: string;
4528
4531
  }>, z.ZodObject<{
4529
4532
  authScheme: z.ZodLiteral<"OAUTH1">;
4530
4533
  toolkitSlug: z.ZodString;
@@ -4651,6 +4654,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4651
4654
  }, "status">, z.ZodUnknown, "strip">>;
4652
4655
  }, "strip", z.ZodTypeAny, {
4653
4656
  authScheme: "OAUTH1";
4657
+ toolkitSlug: string;
4654
4658
  val: {
4655
4659
  oauth_token: string;
4656
4660
  oauth_token_secret: string;
@@ -4685,16 +4689,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4685
4689
  registration_access_token?: string | undefined;
4686
4690
  registration_client_uri?: string | undefined;
4687
4691
  composio_link_redirect_url?: string | undefined;
4688
- redirectUrl?: string | undefined;
4689
- callback_url?: string | undefined;
4690
4692
  consumer_key?: string | undefined;
4691
4693
  oauth_verifier?: string | undefined;
4694
+ redirectUrl?: string | undefined;
4695
+ callback_url?: string | undefined;
4692
4696
  } & {
4693
4697
  [k: string]: unknown;
4694
4698
  };
4695
- toolkitSlug: string;
4696
4699
  }, {
4697
4700
  authScheme: "OAUTH1";
4701
+ toolkitSlug: string;
4698
4702
  val: {
4699
4703
  oauth_token: string;
4700
4704
  oauth_token_secret: string;
@@ -4729,14 +4733,13 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4729
4733
  registration_access_token?: string | undefined;
4730
4734
  registration_client_uri?: string | undefined;
4731
4735
  composio_link_redirect_url?: string | undefined;
4732
- redirectUrl?: string | undefined;
4733
- callback_url?: string | undefined;
4734
4736
  consumer_key?: string | undefined;
4735
4737
  oauth_verifier?: string | undefined;
4738
+ redirectUrl?: string | undefined;
4739
+ callback_url?: string | undefined;
4736
4740
  } & {
4737
4741
  [k: string]: unknown;
4738
4742
  };
4739
- toolkitSlug: string;
4740
4743
  }>, z.ZodObject<{
4741
4744
  authScheme: z.ZodLiteral<"NO_AUTH">;
4742
4745
  toolkitSlug: z.ZodString;
@@ -4839,6 +4842,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4839
4842
  }, z.ZodUnknown, "strip">>;
4840
4843
  }, "strip", z.ZodTypeAny, {
4841
4844
  authScheme: "NO_AUTH";
4845
+ toolkitSlug: string;
4842
4846
  val: {
4843
4847
  version?: string | undefined;
4844
4848
  "your-domain"?: string | undefined;
@@ -4874,9 +4878,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4874
4878
  } & {
4875
4879
  [k: string]: unknown;
4876
4880
  };
4877
- toolkitSlug: string;
4878
4881
  }, {
4879
4882
  authScheme: "NO_AUTH";
4883
+ toolkitSlug: string;
4880
4884
  val: {
4881
4885
  version?: string | undefined;
4882
4886
  "your-domain"?: string | undefined;
@@ -4912,7 +4916,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4912
4916
  } & {
4913
4917
  [k: string]: unknown;
4914
4918
  };
4915
- toolkitSlug: string;
4916
4919
  }>, z.ZodObject<{
4917
4920
  authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
4918
4921
  toolkitSlug: z.ZodString;
@@ -5027,6 +5030,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5027
5030
  }, z.ZodUnknown, "strip">>;
5028
5031
  }, "strip", z.ZodTypeAny, {
5029
5032
  authScheme: "SERVICE_ACCOUNT";
5033
+ toolkitSlug: string;
5030
5034
  val: {
5031
5035
  application_id: string;
5032
5036
  installation_id: string;
@@ -5065,9 +5069,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5065
5069
  } & {
5066
5070
  [k: string]: unknown;
5067
5071
  };
5068
- toolkitSlug: string;
5069
5072
  }, {
5070
5073
  authScheme: "SERVICE_ACCOUNT";
5074
+ toolkitSlug: string;
5071
5075
  val: {
5072
5076
  application_id: string;
5073
5077
  installation_id: string;
@@ -5106,7 +5110,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5106
5110
  } & {
5107
5111
  [k: string]: unknown;
5108
5112
  };
5109
- toolkitSlug: string;
5110
5113
  }>]>>;
5111
5114
  }, "strip", z.ZodTypeAny, {
5112
5115
  endpoint: string;
@@ -5120,6 +5123,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5120
5123
  connectedAccountId?: string | undefined;
5121
5124
  customConnectionData?: {
5122
5125
  authScheme: "OAUTH2";
5126
+ toolkitSlug: string;
5123
5127
  val: {
5124
5128
  access_token: string;
5125
5129
  version?: string | undefined;
@@ -5153,12 +5157,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5153
5157
  registration_access_token?: string | undefined;
5154
5158
  registration_client_uri?: string | undefined;
5155
5159
  composio_link_redirect_url?: string | undefined;
5156
- webhook_signature?: string | undefined;
5157
5160
  id_token?: string | undefined;
5158
5161
  token_type?: string | undefined;
5159
5162
  refresh_token?: string | null | undefined;
5160
5163
  expires_in?: string | number | null | undefined;
5161
5164
  scope?: string | string[] | null | undefined;
5165
+ webhook_signature?: string | undefined;
5162
5166
  authed_user?: {
5163
5167
  access_token?: string | undefined;
5164
5168
  scope?: string | undefined;
@@ -5166,9 +5170,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5166
5170
  } & {
5167
5171
  [k: string]: unknown;
5168
5172
  };
5169
- toolkitSlug: string;
5170
5173
  } | {
5171
5174
  authScheme: "DCR_OAUTH";
5175
+ toolkitSlug: string;
5172
5176
  val: {
5173
5177
  access_token: string;
5174
5178
  client_id: string;
@@ -5206,9 +5210,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5206
5210
  } & {
5207
5211
  [k: string]: unknown;
5208
5212
  };
5209
- toolkitSlug: string;
5210
5213
  } | {
5211
5214
  authScheme: "API_KEY";
5215
+ toolkitSlug: string;
5212
5216
  val: {
5213
5217
  version?: string | undefined;
5214
5218
  "your-domain"?: string | undefined;
@@ -5244,9 +5248,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5244
5248
  } & {
5245
5249
  [k: string]: unknown;
5246
5250
  };
5247
- toolkitSlug: string;
5248
5251
  } | {
5249
5252
  authScheme: "BASIC_WITH_JWT";
5253
+ toolkitSlug: string;
5250
5254
  val: {
5251
5255
  username: string;
5252
5256
  password: string;
@@ -5284,9 +5288,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5284
5288
  } & {
5285
5289
  [k: string]: unknown;
5286
5290
  };
5287
- toolkitSlug: string;
5288
5291
  } | {
5289
5292
  authScheme: "BASIC";
5293
+ toolkitSlug: string;
5290
5294
  val: {
5291
5295
  username: string;
5292
5296
  password: string;
@@ -5324,9 +5328,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5324
5328
  } & {
5325
5329
  [k: string]: unknown;
5326
5330
  };
5327
- toolkitSlug: string;
5328
5331
  } | {
5329
5332
  authScheme: "BEARER_TOKEN";
5333
+ toolkitSlug: string;
5330
5334
  val: {
5331
5335
  token: string;
5332
5336
  version?: string | undefined;
@@ -5363,9 +5367,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5363
5367
  } & {
5364
5368
  [k: string]: unknown;
5365
5369
  };
5366
- toolkitSlug: string;
5367
5370
  } | {
5368
5371
  authScheme: "OAUTH1";
5372
+ toolkitSlug: string;
5369
5373
  val: {
5370
5374
  oauth_token: string;
5371
5375
  oauth_token_secret: string;
@@ -5400,16 +5404,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5400
5404
  registration_access_token?: string | undefined;
5401
5405
  registration_client_uri?: string | undefined;
5402
5406
  composio_link_redirect_url?: string | undefined;
5403
- redirectUrl?: string | undefined;
5404
- callback_url?: string | undefined;
5405
5407
  consumer_key?: string | undefined;
5406
5408
  oauth_verifier?: string | undefined;
5409
+ redirectUrl?: string | undefined;
5410
+ callback_url?: string | undefined;
5407
5411
  } & {
5408
5412
  [k: string]: unknown;
5409
5413
  };
5410
- toolkitSlug: string;
5411
5414
  } | {
5412
5415
  authScheme: "NO_AUTH";
5416
+ toolkitSlug: string;
5413
5417
  val: {
5414
5418
  version?: string | undefined;
5415
5419
  "your-domain"?: string | undefined;
@@ -5445,9 +5449,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5445
5449
  } & {
5446
5450
  [k: string]: unknown;
5447
5451
  };
5448
- toolkitSlug: string;
5449
5452
  } | {
5450
5453
  authScheme: "SERVICE_ACCOUNT";
5454
+ toolkitSlug: string;
5451
5455
  val: {
5452
5456
  application_id: string;
5453
5457
  installation_id: string;
@@ -5486,7 +5490,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5486
5490
  } & {
5487
5491
  [k: string]: unknown;
5488
5492
  };
5489
- toolkitSlug: string;
5490
5493
  } | undefined;
5491
5494
  }, {
5492
5495
  endpoint: string;
@@ -5500,6 +5503,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5500
5503
  connectedAccountId?: string | undefined;
5501
5504
  customConnectionData?: {
5502
5505
  authScheme: "OAUTH2";
5506
+ toolkitSlug: string;
5503
5507
  val: {
5504
5508
  access_token: string;
5505
5509
  version?: string | undefined;
@@ -5533,12 +5537,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5533
5537
  registration_access_token?: string | undefined;
5534
5538
  registration_client_uri?: string | undefined;
5535
5539
  composio_link_redirect_url?: string | undefined;
5536
- webhook_signature?: string | undefined;
5537
5540
  id_token?: string | undefined;
5538
5541
  token_type?: string | undefined;
5539
5542
  refresh_token?: string | null | undefined;
5540
5543
  expires_in?: string | number | null | undefined;
5541
5544
  scope?: string | string[] | null | undefined;
5545
+ webhook_signature?: string | undefined;
5542
5546
  authed_user?: {
5543
5547
  access_token?: string | undefined;
5544
5548
  scope?: string | undefined;
@@ -5546,9 +5550,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5546
5550
  } & {
5547
5551
  [k: string]: unknown;
5548
5552
  };
5549
- toolkitSlug: string;
5550
5553
  } | {
5551
5554
  authScheme: "DCR_OAUTH";
5555
+ toolkitSlug: string;
5552
5556
  val: {
5553
5557
  access_token: string;
5554
5558
  client_id: string;
@@ -5586,9 +5590,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5586
5590
  } & {
5587
5591
  [k: string]: unknown;
5588
5592
  };
5589
- toolkitSlug: string;
5590
5593
  } | {
5591
5594
  authScheme: "API_KEY";
5595
+ toolkitSlug: string;
5592
5596
  val: {
5593
5597
  version?: string | undefined;
5594
5598
  "your-domain"?: string | undefined;
@@ -5624,9 +5628,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5624
5628
  } & {
5625
5629
  [k: string]: unknown;
5626
5630
  };
5627
- toolkitSlug: string;
5628
5631
  } | {
5629
5632
  authScheme: "BASIC_WITH_JWT";
5633
+ toolkitSlug: string;
5630
5634
  val: {
5631
5635
  username: string;
5632
5636
  password: string;
@@ -5664,9 +5668,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5664
5668
  } & {
5665
5669
  [k: string]: unknown;
5666
5670
  };
5667
- toolkitSlug: string;
5668
5671
  } | {
5669
5672
  authScheme: "BASIC";
5673
+ toolkitSlug: string;
5670
5674
  val: {
5671
5675
  username: string;
5672
5676
  password: string;
@@ -5704,9 +5708,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5704
5708
  } & {
5705
5709
  [k: string]: unknown;
5706
5710
  };
5707
- toolkitSlug: string;
5708
5711
  } | {
5709
5712
  authScheme: "BEARER_TOKEN";
5713
+ toolkitSlug: string;
5710
5714
  val: {
5711
5715
  token: string;
5712
5716
  version?: string | undefined;
@@ -5743,9 +5747,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5743
5747
  } & {
5744
5748
  [k: string]: unknown;
5745
5749
  };
5746
- toolkitSlug: string;
5747
5750
  } | {
5748
5751
  authScheme: "OAUTH1";
5752
+ toolkitSlug: string;
5749
5753
  val: {
5750
5754
  oauth_token: string;
5751
5755
  oauth_token_secret: string;
@@ -5780,16 +5784,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5780
5784
  registration_access_token?: string | undefined;
5781
5785
  registration_client_uri?: string | undefined;
5782
5786
  composio_link_redirect_url?: string | undefined;
5783
- redirectUrl?: string | undefined;
5784
- callback_url?: string | undefined;
5785
5787
  consumer_key?: string | undefined;
5786
5788
  oauth_verifier?: string | undefined;
5789
+ redirectUrl?: string | undefined;
5790
+ callback_url?: string | undefined;
5787
5791
  } & {
5788
5792
  [k: string]: unknown;
5789
5793
  };
5790
- toolkitSlug: string;
5791
5794
  } | {
5792
5795
  authScheme: "NO_AUTH";
5796
+ toolkitSlug: string;
5793
5797
  val: {
5794
5798
  version?: string | undefined;
5795
5799
  "your-domain"?: string | undefined;
@@ -5825,9 +5829,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5825
5829
  } & {
5826
5830
  [k: string]: unknown;
5827
5831
  };
5828
- toolkitSlug: string;
5829
5832
  } | {
5830
5833
  authScheme: "SERVICE_ACCOUNT";
5834
+ toolkitSlug: string;
5831
5835
  val: {
5832
5836
  application_id: string;
5833
5837
  installation_id: string;
@@ -5866,7 +5870,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
5866
5870
  } & {
5867
5871
  [k: string]: unknown;
5868
5872
  };
5869
- toolkitSlug: string;
5870
5873
  } | undefined;
5871
5874
  }>;
5872
5875
  type ToolProxyParams = z.infer<typeof ToolProxyParamsSchema>;
@@ -11099,12 +11102,13 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
11099
11102
  registration_client_uri: z.ZodOptional<z.ZodString>;
11100
11103
  composio_link_redirect_url: z.ZodOptional<z.ZodString>;
11101
11104
  } & {
11102
- status: z.ZodLiteral<"INITIATED">;
11103
- authUri: z.ZodString;
11105
+ status: z.ZodLiteral<"ACTIVE">;
11104
11106
  oauth_token: z.ZodString;
11105
11107
  oauth_token_secret: z.ZodString;
11106
- redirectUrl: z.ZodString;
11107
- callbackUrl: z.ZodOptional<z.ZodString>;
11108
+ consumer_key: z.ZodOptional<z.ZodString>;
11109
+ oauth_verifier: z.ZodOptional<z.ZodString>;
11110
+ redirectUrl: z.ZodOptional<z.ZodString>;
11111
+ callback_url: z.ZodOptional<z.ZodString>;
11108
11112
  }, z.ZodUnknown, "strip"> | z.objectOutputType<{
11109
11113
  subdomain: z.ZodOptional<z.ZodString>;
11110
11114
  "your-domain": z.ZodOptional<z.ZodString>;
@@ -11138,13 +11142,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
11138
11142
  registration_client_uri: z.ZodOptional<z.ZodString>;
11139
11143
  composio_link_redirect_url: z.ZodOptional<z.ZodString>;
11140
11144
  } & {
11141
- status: z.ZodLiteral<"ACTIVE">;
11145
+ status: z.ZodLiteral<"INITIATED">;
11146
+ authUri: z.ZodString;
11142
11147
  oauth_token: z.ZodString;
11143
11148
  oauth_token_secret: z.ZodString;
11144
- consumer_key: z.ZodOptional<z.ZodString>;
11145
- oauth_verifier: z.ZodOptional<z.ZodString>;
11146
- redirectUrl: z.ZodOptional<z.ZodString>;
11147
- callback_url: z.ZodOptional<z.ZodString>;
11149
+ redirectUrl: z.ZodString;
11150
+ callbackUrl: z.ZodOptional<z.ZodString>;
11148
11151
  }, z.ZodUnknown, "strip"> | z.objectOutputType<{
11149
11152
  subdomain: z.ZodOptional<z.ZodString>;
11150
11153
  "your-domain": z.ZodOptional<z.ZodString>;
@@ -11325,45 +11328,6 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
11325
11328
  registration_access_token: z.ZodOptional<z.ZodString>;
11326
11329
  registration_client_uri: z.ZodOptional<z.ZodString>;
11327
11330
  composio_link_redirect_url: z.ZodOptional<z.ZodString>;
11328
- } & {
11329
- status: z.ZodLiteral<"INITIATED">;
11330
- authUri: z.ZodString;
11331
- oauth_token: z.ZodString;
11332
- oauth_token_secret: z.ZodString;
11333
- redirectUrl: z.ZodString;
11334
- callbackUrl: z.ZodOptional<z.ZodString>;
11335
- }, z.ZodUnknown, "strip"> | z.objectInputType<{
11336
- subdomain: z.ZodOptional<z.ZodString>;
11337
- "your-domain": z.ZodOptional<z.ZodString>;
11338
- region: z.ZodOptional<z.ZodString>;
11339
- shop: z.ZodOptional<z.ZodString>;
11340
- account_url: z.ZodOptional<z.ZodString>;
11341
- COMPANYDOMAIN: z.ZodOptional<z.ZodString>;
11342
- extension: z.ZodOptional<z.ZodString>;
11343
- form_api_base_url: z.ZodOptional<z.ZodString>;
11344
- instanceEndpoint: z.ZodOptional<z.ZodString>;
11345
- api_url: z.ZodOptional<z.ZodString>;
11346
- borneo_dashboard_url: z.ZodOptional<z.ZodString>;
11347
- proxy_username: z.ZodOptional<z.ZodString>;
11348
- proxy_password: z.ZodOptional<z.ZodString>;
11349
- domain: z.ZodOptional<z.ZodString>;
11350
- version: z.ZodOptional<z.ZodString>;
11351
- dc: z.ZodOptional<z.ZodString>;
11352
- site_name: z.ZodOptional<z.ZodString>;
11353
- instanceName: z.ZodOptional<z.ZodString>;
11354
- account_id: z.ZodOptional<z.ZodString>;
11355
- your_server: z.ZodOptional<z.ZodString>;
11356
- server_location: z.ZodOptional<z.ZodString>;
11357
- base_url: z.ZodOptional<z.ZodString>;
11358
- api_key: z.ZodOptional<z.ZodString>;
11359
- generic_api_key: z.ZodOptional<z.ZodString>;
11360
- bearer_token: z.ZodOptional<z.ZodString>;
11361
- basic_encoded: z.ZodOptional<z.ZodString>;
11362
- long_redirect_url: z.ZodOptional<z.ZodBoolean>;
11363
- state_prefix: z.ZodOptional<z.ZodString>;
11364
- registration_access_token: z.ZodOptional<z.ZodString>;
11365
- registration_client_uri: z.ZodOptional<z.ZodString>;
11366
- composio_link_redirect_url: z.ZodOptional<z.ZodString>;
11367
11331
  } & {
11368
11332
  status: z.ZodLiteral<"ACTIVE">;
11369
11333
  oauth_token: z.ZodString;
@@ -11404,6 +11368,45 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
11404
11368
  registration_access_token: z.ZodOptional<z.ZodString>;
11405
11369
  registration_client_uri: z.ZodOptional<z.ZodString>;
11406
11370
  composio_link_redirect_url: z.ZodOptional<z.ZodString>;
11371
+ } & {
11372
+ status: z.ZodLiteral<"INITIATED">;
11373
+ authUri: z.ZodString;
11374
+ oauth_token: z.ZodString;
11375
+ oauth_token_secret: z.ZodString;
11376
+ redirectUrl: z.ZodString;
11377
+ callbackUrl: z.ZodOptional<z.ZodString>;
11378
+ }, z.ZodUnknown, "strip"> | z.objectInputType<{
11379
+ subdomain: z.ZodOptional<z.ZodString>;
11380
+ "your-domain": z.ZodOptional<z.ZodString>;
11381
+ region: z.ZodOptional<z.ZodString>;
11382
+ shop: z.ZodOptional<z.ZodString>;
11383
+ account_url: z.ZodOptional<z.ZodString>;
11384
+ COMPANYDOMAIN: z.ZodOptional<z.ZodString>;
11385
+ extension: z.ZodOptional<z.ZodString>;
11386
+ form_api_base_url: z.ZodOptional<z.ZodString>;
11387
+ instanceEndpoint: z.ZodOptional<z.ZodString>;
11388
+ api_url: z.ZodOptional<z.ZodString>;
11389
+ borneo_dashboard_url: z.ZodOptional<z.ZodString>;
11390
+ proxy_username: z.ZodOptional<z.ZodString>;
11391
+ proxy_password: z.ZodOptional<z.ZodString>;
11392
+ domain: z.ZodOptional<z.ZodString>;
11393
+ version: z.ZodOptional<z.ZodString>;
11394
+ dc: z.ZodOptional<z.ZodString>;
11395
+ site_name: z.ZodOptional<z.ZodString>;
11396
+ instanceName: z.ZodOptional<z.ZodString>;
11397
+ account_id: z.ZodOptional<z.ZodString>;
11398
+ your_server: z.ZodOptional<z.ZodString>;
11399
+ server_location: z.ZodOptional<z.ZodString>;
11400
+ base_url: z.ZodOptional<z.ZodString>;
11401
+ api_key: z.ZodOptional<z.ZodString>;
11402
+ generic_api_key: z.ZodOptional<z.ZodString>;
11403
+ bearer_token: z.ZodOptional<z.ZodString>;
11404
+ basic_encoded: z.ZodOptional<z.ZodString>;
11405
+ long_redirect_url: z.ZodOptional<z.ZodBoolean>;
11406
+ state_prefix: z.ZodOptional<z.ZodString>;
11407
+ registration_access_token: z.ZodOptional<z.ZodString>;
11408
+ registration_client_uri: z.ZodOptional<z.ZodString>;
11409
+ composio_link_redirect_url: z.ZodOptional<z.ZodString>;
11407
11410
  } & {
11408
11411
  status: z.ZodLiteral<"FAILED">;
11409
11412
  error: z.ZodOptional<z.ZodString>;
@@ -12297,12 +12300,24 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
12297
12300
  registration_client_uri: z.ZodOptional<z.ZodString>;
12298
12301
  composio_link_redirect_url: z.ZodOptional<z.ZodString>;
12299
12302
  } & {
12300
- status: z.ZodLiteral<"INITIATED">;
12301
- code_verifier: z.ZodOptional<z.ZodString>;
12302
- redirectUrl: z.ZodString;
12303
- callback_url: z.ZodOptional<z.ZodString>;
12304
- finalRedirectUri: z.ZodOptional<z.ZodString>;
12303
+ status: z.ZodLiteral<"ACTIVE">;
12304
+ access_token: z.ZodString;
12305
+ id_token: z.ZodOptional<z.ZodString>;
12306
+ token_type: z.ZodOptional<z.ZodString>;
12307
+ refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12308
+ expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
12309
+ scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
12305
12310
  webhook_signature: z.ZodOptional<z.ZodString>;
12311
+ authed_user: z.ZodOptional<z.ZodObject<{
12312
+ access_token: z.ZodOptional<z.ZodString>;
12313
+ scope: z.ZodOptional<z.ZodString>;
12314
+ }, "strip", z.ZodTypeAny, {
12315
+ access_token?: string | undefined;
12316
+ scope?: string | undefined;
12317
+ }, {
12318
+ access_token?: string | undefined;
12319
+ scope?: string | undefined;
12320
+ }>>;
12306
12321
  }, z.ZodUnknown, "strip"> | z.objectOutputType<{
12307
12322
  subdomain: z.ZodOptional<z.ZodString>;
12308
12323
  "your-domain": z.ZodOptional<z.ZodString>;
@@ -12336,24 +12351,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
12336
12351
  registration_client_uri: z.ZodOptional<z.ZodString>;
12337
12352
  composio_link_redirect_url: z.ZodOptional<z.ZodString>;
12338
12353
  } & {
12339
- status: z.ZodLiteral<"ACTIVE">;
12340
- access_token: z.ZodString;
12341
- id_token: z.ZodOptional<z.ZodString>;
12342
- token_type: z.ZodOptional<z.ZodString>;
12343
- refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12344
- expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
12345
- scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
12354
+ status: z.ZodLiteral<"INITIATED">;
12355
+ code_verifier: z.ZodOptional<z.ZodString>;
12356
+ redirectUrl: z.ZodString;
12357
+ callback_url: z.ZodOptional<z.ZodString>;
12358
+ finalRedirectUri: z.ZodOptional<z.ZodString>;
12346
12359
  webhook_signature: z.ZodOptional<z.ZodString>;
12347
- authed_user: z.ZodOptional<z.ZodObject<{
12348
- access_token: z.ZodOptional<z.ZodString>;
12349
- scope: z.ZodOptional<z.ZodString>;
12350
- }, "strip", z.ZodTypeAny, {
12351
- access_token?: string | undefined;
12352
- scope?: string | undefined;
12353
- }, {
12354
- access_token?: string | undefined;
12355
- scope?: string | undefined;
12356
- }>>;
12357
12360
  }, z.ZodUnknown, "strip"> | z.objectOutputType<{
12358
12361
  subdomain: z.ZodOptional<z.ZodString>;
12359
12362
  "your-domain": z.ZodOptional<z.ZodString>;
@@ -12546,12 +12549,24 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
12546
12549
  registration_client_uri: z.ZodOptional<z.ZodString>;
12547
12550
  composio_link_redirect_url: z.ZodOptional<z.ZodString>;
12548
12551
  } & {
12549
- status: z.ZodLiteral<"INITIATED">;
12550
- code_verifier: z.ZodOptional<z.ZodString>;
12551
- redirectUrl: z.ZodString;
12552
- callback_url: z.ZodOptional<z.ZodString>;
12553
- finalRedirectUri: z.ZodOptional<z.ZodString>;
12552
+ status: z.ZodLiteral<"ACTIVE">;
12553
+ access_token: z.ZodString;
12554
+ id_token: z.ZodOptional<z.ZodString>;
12555
+ token_type: z.ZodOptional<z.ZodString>;
12556
+ refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12557
+ expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
12558
+ scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
12554
12559
  webhook_signature: z.ZodOptional<z.ZodString>;
12560
+ authed_user: z.ZodOptional<z.ZodObject<{
12561
+ access_token: z.ZodOptional<z.ZodString>;
12562
+ scope: z.ZodOptional<z.ZodString>;
12563
+ }, "strip", z.ZodTypeAny, {
12564
+ access_token?: string | undefined;
12565
+ scope?: string | undefined;
12566
+ }, {
12567
+ access_token?: string | undefined;
12568
+ scope?: string | undefined;
12569
+ }>>;
12555
12570
  }, z.ZodUnknown, "strip"> | z.objectInputType<{
12556
12571
  subdomain: z.ZodOptional<z.ZodString>;
12557
12572
  "your-domain": z.ZodOptional<z.ZodString>;
@@ -12585,24 +12600,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
12585
12600
  registration_client_uri: z.ZodOptional<z.ZodString>;
12586
12601
  composio_link_redirect_url: z.ZodOptional<z.ZodString>;
12587
12602
  } & {
12588
- status: z.ZodLiteral<"ACTIVE">;
12589
- access_token: z.ZodString;
12590
- id_token: z.ZodOptional<z.ZodString>;
12591
- token_type: z.ZodOptional<z.ZodString>;
12592
- refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12593
- expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
12594
- scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
12603
+ status: z.ZodLiteral<"INITIATED">;
12604
+ code_verifier: z.ZodOptional<z.ZodString>;
12605
+ redirectUrl: z.ZodString;
12606
+ callback_url: z.ZodOptional<z.ZodString>;
12607
+ finalRedirectUri: z.ZodOptional<z.ZodString>;
12595
12608
  webhook_signature: z.ZodOptional<z.ZodString>;
12596
- authed_user: z.ZodOptional<z.ZodObject<{
12597
- access_token: z.ZodOptional<z.ZodString>;
12598
- scope: z.ZodOptional<z.ZodString>;
12599
- }, "strip", z.ZodTypeAny, {
12600
- access_token?: string | undefined;
12601
- scope?: string | undefined;
12602
- }, {
12603
- access_token?: string | undefined;
12604
- scope?: string | undefined;
12605
- }>>;
12606
12609
  }, z.ZodUnknown, "strip"> | z.objectInputType<{
12607
12610
  subdomain: z.ZodOptional<z.ZodString>;
12608
12611
  "your-domain": z.ZodOptional<z.ZodString>;
@@ -24339,6 +24342,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24339
24342
  }, "status">, z.ZodUnknown, "strip">>;
24340
24343
  }, "strip", z.ZodTypeAny, {
24341
24344
  authScheme: "OAUTH2";
24345
+ toolkitSlug: string;
24342
24346
  val: {
24343
24347
  access_token: string;
24344
24348
  version?: string | undefined;
@@ -24372,12 +24376,12 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24372
24376
  registration_access_token?: string | undefined;
24373
24377
  registration_client_uri?: string | undefined;
24374
24378
  composio_link_redirect_url?: string | undefined;
24375
- webhook_signature?: string | undefined;
24376
24379
  id_token?: string | undefined;
24377
24380
  token_type?: string | undefined;
24378
24381
  refresh_token?: string | null | undefined;
24379
24382
  expires_in?: string | number | null | undefined;
24380
24383
  scope?: string | string[] | null | undefined;
24384
+ webhook_signature?: string | undefined;
24381
24385
  authed_user?: {
24382
24386
  access_token?: string | undefined;
24383
24387
  scope?: string | undefined;
@@ -24385,9 +24389,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24385
24389
  } & {
24386
24390
  [k: string]: unknown;
24387
24391
  };
24388
- toolkitSlug: string;
24389
24392
  }, {
24390
24393
  authScheme: "OAUTH2";
24394
+ toolkitSlug: string;
24391
24395
  val: {
24392
24396
  access_token: string;
24393
24397
  version?: string | undefined;
@@ -24421,12 +24425,12 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24421
24425
  registration_access_token?: string | undefined;
24422
24426
  registration_client_uri?: string | undefined;
24423
24427
  composio_link_redirect_url?: string | undefined;
24424
- webhook_signature?: string | undefined;
24425
24428
  id_token?: string | undefined;
24426
24429
  token_type?: string | undefined;
24427
24430
  refresh_token?: string | null | undefined;
24428
24431
  expires_in?: string | number | null | undefined;
24429
24432
  scope?: string | string[] | null | undefined;
24433
+ webhook_signature?: string | undefined;
24430
24434
  authed_user?: {
24431
24435
  access_token?: string | undefined;
24432
24436
  scope?: string | undefined;
@@ -24434,7 +24438,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24434
24438
  } & {
24435
24439
  [k: string]: unknown;
24436
24440
  };
24437
- toolkitSlug: string;
24438
24441
  }>, z.ZodObject<{
24439
24442
  authScheme: z.ZodLiteral<"DCR_OAUTH">;
24440
24443
  toolkitSlug: z.ZodString;
@@ -24546,6 +24549,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24546
24549
  }, z.ZodUnknown, "strip">>;
24547
24550
  }, "strip", z.ZodTypeAny, {
24548
24551
  authScheme: "DCR_OAUTH";
24552
+ toolkitSlug: string;
24549
24553
  val: {
24550
24554
  access_token: string;
24551
24555
  client_id: string;
@@ -24583,9 +24587,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24583
24587
  } & {
24584
24588
  [k: string]: unknown;
24585
24589
  };
24586
- toolkitSlug: string;
24587
24590
  }, {
24588
24591
  authScheme: "DCR_OAUTH";
24592
+ toolkitSlug: string;
24589
24593
  val: {
24590
24594
  access_token: string;
24591
24595
  client_id: string;
@@ -24623,7 +24627,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24623
24627
  } & {
24624
24628
  [k: string]: unknown;
24625
24629
  };
24626
- toolkitSlug: string;
24627
24630
  }>, z.ZodObject<{
24628
24631
  authScheme: z.ZodLiteral<"API_KEY">;
24629
24632
  toolkitSlug: z.ZodString;
@@ -24729,6 +24732,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24729
24732
  }, z.ZodUnknown, "strip">>;
24730
24733
  }, "strip", z.ZodTypeAny, {
24731
24734
  authScheme: "API_KEY";
24735
+ toolkitSlug: string;
24732
24736
  val: {
24733
24737
  version?: string | undefined;
24734
24738
  "your-domain"?: string | undefined;
@@ -24764,9 +24768,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24764
24768
  } & {
24765
24769
  [k: string]: unknown;
24766
24770
  };
24767
- toolkitSlug: string;
24768
24771
  }, {
24769
24772
  authScheme: "API_KEY";
24773
+ toolkitSlug: string;
24770
24774
  val: {
24771
24775
  version?: string | undefined;
24772
24776
  "your-domain"?: string | undefined;
@@ -24802,7 +24806,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24802
24806
  } & {
24803
24807
  [k: string]: unknown;
24804
24808
  };
24805
- toolkitSlug: string;
24806
24809
  }>, z.ZodObject<{
24807
24810
  authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
24808
24811
  toolkitSlug: z.ZodString;
@@ -24914,6 +24917,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24914
24917
  }, z.ZodUnknown, "strip">>;
24915
24918
  }, "strip", z.ZodTypeAny, {
24916
24919
  authScheme: "BASIC_WITH_JWT";
24920
+ toolkitSlug: string;
24917
24921
  val: {
24918
24922
  username: string;
24919
24923
  password: string;
@@ -24951,9 +24955,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24951
24955
  } & {
24952
24956
  [k: string]: unknown;
24953
24957
  };
24954
- toolkitSlug: string;
24955
24958
  }, {
24956
24959
  authScheme: "BASIC_WITH_JWT";
24960
+ toolkitSlug: string;
24957
24961
  val: {
24958
24962
  username: string;
24959
24963
  password: string;
@@ -24991,7 +24995,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
24991
24995
  } & {
24992
24996
  [k: string]: unknown;
24993
24997
  };
24994
- toolkitSlug: string;
24995
24998
  }>, z.ZodObject<{
24996
24999
  authScheme: z.ZodLiteral<"BASIC">;
24997
25000
  toolkitSlug: z.ZodString;
@@ -25103,6 +25106,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25103
25106
  }, z.ZodUnknown, "strip">>;
25104
25107
  }, "strip", z.ZodTypeAny, {
25105
25108
  authScheme: "BASIC";
25109
+ toolkitSlug: string;
25106
25110
  val: {
25107
25111
  username: string;
25108
25112
  password: string;
@@ -25140,9 +25144,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25140
25144
  } & {
25141
25145
  [k: string]: unknown;
25142
25146
  };
25143
- toolkitSlug: string;
25144
25147
  }, {
25145
25148
  authScheme: "BASIC";
25149
+ toolkitSlug: string;
25146
25150
  val: {
25147
25151
  username: string;
25148
25152
  password: string;
@@ -25180,7 +25184,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25180
25184
  } & {
25181
25185
  [k: string]: unknown;
25182
25186
  };
25183
- toolkitSlug: string;
25184
25187
  }>, z.ZodObject<{
25185
25188
  authScheme: z.ZodLiteral<"BEARER_TOKEN">;
25186
25189
  toolkitSlug: z.ZodString;
@@ -25289,6 +25292,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25289
25292
  }, z.ZodUnknown, "strip">>;
25290
25293
  }, "strip", z.ZodTypeAny, {
25291
25294
  authScheme: "BEARER_TOKEN";
25295
+ toolkitSlug: string;
25292
25296
  val: {
25293
25297
  token: string;
25294
25298
  version?: string | undefined;
@@ -25325,9 +25329,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25325
25329
  } & {
25326
25330
  [k: string]: unknown;
25327
25331
  };
25328
- toolkitSlug: string;
25329
25332
  }, {
25330
25333
  authScheme: "BEARER_TOKEN";
25334
+ toolkitSlug: string;
25331
25335
  val: {
25332
25336
  token: string;
25333
25337
  version?: string | undefined;
@@ -25364,7 +25368,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25364
25368
  } & {
25365
25369
  [k: string]: unknown;
25366
25370
  };
25367
- toolkitSlug: string;
25368
25371
  }>, z.ZodObject<{
25369
25372
  authScheme: z.ZodLiteral<"OAUTH1">;
25370
25373
  toolkitSlug: z.ZodString;
@@ -25491,6 +25494,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25491
25494
  }, "status">, z.ZodUnknown, "strip">>;
25492
25495
  }, "strip", z.ZodTypeAny, {
25493
25496
  authScheme: "OAUTH1";
25497
+ toolkitSlug: string;
25494
25498
  val: {
25495
25499
  oauth_token: string;
25496
25500
  oauth_token_secret: string;
@@ -25525,16 +25529,16 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25525
25529
  registration_access_token?: string | undefined;
25526
25530
  registration_client_uri?: string | undefined;
25527
25531
  composio_link_redirect_url?: string | undefined;
25528
- redirectUrl?: string | undefined;
25529
- callback_url?: string | undefined;
25530
25532
  consumer_key?: string | undefined;
25531
25533
  oauth_verifier?: string | undefined;
25534
+ redirectUrl?: string | undefined;
25535
+ callback_url?: string | undefined;
25532
25536
  } & {
25533
25537
  [k: string]: unknown;
25534
25538
  };
25535
- toolkitSlug: string;
25536
25539
  }, {
25537
25540
  authScheme: "OAUTH1";
25541
+ toolkitSlug: string;
25538
25542
  val: {
25539
25543
  oauth_token: string;
25540
25544
  oauth_token_secret: string;
@@ -25569,14 +25573,13 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25569
25573
  registration_access_token?: string | undefined;
25570
25574
  registration_client_uri?: string | undefined;
25571
25575
  composio_link_redirect_url?: string | undefined;
25572
- redirectUrl?: string | undefined;
25573
- callback_url?: string | undefined;
25574
25576
  consumer_key?: string | undefined;
25575
25577
  oauth_verifier?: string | undefined;
25578
+ redirectUrl?: string | undefined;
25579
+ callback_url?: string | undefined;
25576
25580
  } & {
25577
25581
  [k: string]: unknown;
25578
25582
  };
25579
- toolkitSlug: string;
25580
25583
  }>, z.ZodObject<{
25581
25584
  authScheme: z.ZodLiteral<"NO_AUTH">;
25582
25585
  toolkitSlug: z.ZodString;
@@ -25679,6 +25682,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25679
25682
  }, z.ZodUnknown, "strip">>;
25680
25683
  }, "strip", z.ZodTypeAny, {
25681
25684
  authScheme: "NO_AUTH";
25685
+ toolkitSlug: string;
25682
25686
  val: {
25683
25687
  version?: string | undefined;
25684
25688
  "your-domain"?: string | undefined;
@@ -25714,9 +25718,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25714
25718
  } & {
25715
25719
  [k: string]: unknown;
25716
25720
  };
25717
- toolkitSlug: string;
25718
25721
  }, {
25719
25722
  authScheme: "NO_AUTH";
25723
+ toolkitSlug: string;
25720
25724
  val: {
25721
25725
  version?: string | undefined;
25722
25726
  "your-domain"?: string | undefined;
@@ -25752,7 +25756,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25752
25756
  } & {
25753
25757
  [k: string]: unknown;
25754
25758
  };
25755
- toolkitSlug: string;
25756
25759
  }>, z.ZodObject<{
25757
25760
  authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
25758
25761
  toolkitSlug: z.ZodString;
@@ -25867,6 +25870,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25867
25870
  }, z.ZodUnknown, "strip">>;
25868
25871
  }, "strip", z.ZodTypeAny, {
25869
25872
  authScheme: "SERVICE_ACCOUNT";
25873
+ toolkitSlug: string;
25870
25874
  val: {
25871
25875
  application_id: string;
25872
25876
  installation_id: string;
@@ -25905,9 +25909,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25905
25909
  } & {
25906
25910
  [k: string]: unknown;
25907
25911
  };
25908
- toolkitSlug: string;
25909
25912
  }, {
25910
25913
  authScheme: "SERVICE_ACCOUNT";
25914
+ toolkitSlug: string;
25911
25915
  val: {
25912
25916
  application_id: string;
25913
25917
  installation_id: string;
@@ -25946,7 +25950,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
25946
25950
  } & {
25947
25951
  [k: string]: unknown;
25948
25952
  };
25949
- toolkitSlug: string;
25950
25953
  }>]>;
25951
25954
  type CustomConnectionData = z.infer<typeof CustomConnectionDataSchema>;
25952
25955
  //#endregion
@@ -26053,12 +26056,12 @@ declare const MCPGenerateURLParamsSchema: z.ZodObject<{
26053
26056
  connectedAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26054
26057
  isChatAuth: z.ZodOptional<z.ZodBoolean>;
26055
26058
  }, "strip", z.ZodTypeAny, {
26056
- connectedAccountIds?: string[] | undefined;
26057
26059
  userIds?: string[] | undefined;
26060
+ connectedAccountIds?: string[] | undefined;
26058
26061
  isChatAuth?: boolean | undefined;
26059
26062
  }, {
26060
- connectedAccountIds?: string[] | undefined;
26061
26063
  userIds?: string[] | undefined;
26064
+ connectedAccountIds?: string[] | undefined;
26062
26065
  isChatAuth?: boolean | undefined;
26063
26066
  }>;
26064
26067
  type MCPGenerateURLParams = z.infer<typeof MCPGenerateURLParamsSchema>;
@@ -26085,13 +26088,13 @@ declare const GenerateURLParamsSchema: z.ZodObject<{
26085
26088
  composioManagedAuth: z.ZodOptional<z.ZodBoolean>;
26086
26089
  }, "strip", z.ZodTypeAny, {
26087
26090
  mcpServerId: string;
26088
- connectedAccountIds?: string[] | undefined;
26089
26091
  userIds?: string[] | undefined;
26092
+ connectedAccountIds?: string[] | undefined;
26090
26093
  composioManagedAuth?: boolean | undefined;
26091
26094
  }, {
26092
26095
  mcpServerId: string;
26093
- connectedAccountIds?: string[] | undefined;
26094
26096
  userIds?: string[] | undefined;
26097
+ connectedAccountIds?: string[] | undefined;
26095
26098
  composioManagedAuth?: boolean | undefined;
26096
26099
  }>;
26097
26100
  type GenerateURLParams = z.infer<typeof GenerateURLParamsSchema>;
@@ -26617,10 +26620,10 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
26617
26620
  windsurf: string;
26618
26621
  };
26619
26622
  status?: string | undefined;
26620
- createdAt?: string | undefined;
26621
26623
  tools?: string[] | undefined;
26622
26624
  toolkits?: string[] | undefined;
26623
26625
  authConfigIds?: string[] | undefined;
26626
+ createdAt?: string | undefined;
26624
26627
  updatedAt?: string | undefined;
26625
26628
  managedAuthViaComposio?: boolean | undefined;
26626
26629
  }, {
@@ -26633,10 +26636,10 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
26633
26636
  windsurf: string;
26634
26637
  };
26635
26638
  status?: string | undefined;
26636
- createdAt?: string | undefined;
26637
26639
  tools?: string[] | undefined;
26638
26640
  toolkits?: string[] | undefined;
26639
26641
  authConfigIds?: string[] | undefined;
26642
+ createdAt?: string | undefined;
26640
26643
  updatedAt?: string | undefined;
26641
26644
  managedAuthViaComposio?: boolean | undefined;
26642
26645
  }>;
@@ -26706,17 +26709,17 @@ declare const McpUpdateResponseSchema: z.ZodObject<{
26706
26709
  name: string;
26707
26710
  id: string;
26708
26711
  status?: string | undefined;
26709
- createdAt?: string | undefined;
26710
26712
  tools?: string[] | undefined;
26711
26713
  toolkits?: string[] | undefined;
26714
+ createdAt?: string | undefined;
26712
26715
  updatedAt?: string | undefined;
26713
26716
  }, {
26714
26717
  name: string;
26715
26718
  id: string;
26716
26719
  status?: string | undefined;
26717
- createdAt?: string | undefined;
26718
26720
  tools?: string[] | undefined;
26719
26721
  toolkits?: string[] | undefined;
26722
+ createdAt?: string | undefined;
26720
26723
  updatedAt?: string | undefined;
26721
26724
  }>;
26722
26725
  declare const ComposioMcpUpdateResponseSchema: z.ZodObject<{
@@ -27398,14 +27401,14 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
27398
27401
  cursor: z.ZodOptional<z.ZodString>;
27399
27402
  limit: z.ZodOptional<z.ZodNumber>;
27400
27403
  }, "strip", z.ZodTypeAny, {
27401
- cursor?: string | undefined;
27402
27404
  limit?: number | undefined;
27405
+ cursor?: string | undefined;
27403
27406
  category?: string | undefined;
27404
27407
  managedBy?: "all" | "composio" | "project" | undefined;
27405
27408
  sortBy?: "usage" | "alphabetically" | undefined;
27406
27409
  }, {
27407
- cursor?: string | undefined;
27408
27410
  limit?: number | undefined;
27411
+ cursor?: string | undefined;
27409
27412
  category?: string | undefined;
27410
27413
  managedBy?: "all" | "composio" | "project" | undefined;
27411
27414
  sortBy?: "usage" | "alphabetically" | undefined;
@@ -28637,31 +28640,31 @@ declare const CreateConnectedAccountParamsSchema: z.ZodObject<{
28637
28640
  callbackUrl: z.ZodOptional<z.ZodString>;
28638
28641
  userId: z.ZodOptional<z.ZodString>;
28639
28642
  }, "strip", z.ZodTypeAny, {
28640
- callbackUrl?: string | undefined;
28641
28643
  userId?: string | undefined;
28642
28644
  data?: Record<string, unknown> | undefined;
28643
- }, {
28644
28645
  callbackUrl?: string | undefined;
28646
+ }, {
28645
28647
  userId?: string | undefined;
28646
28648
  data?: Record<string, unknown> | undefined;
28649
+ callbackUrl?: string | undefined;
28647
28650
  }>;
28648
28651
  }, "strip", z.ZodTypeAny, {
28649
28652
  authConfig: {
28650
28653
  id: string;
28651
28654
  };
28652
28655
  connection: {
28653
- callbackUrl?: string | undefined;
28654
28656
  userId?: string | undefined;
28655
28657
  data?: Record<string, unknown> | undefined;
28658
+ callbackUrl?: string | undefined;
28656
28659
  };
28657
28660
  }, {
28658
28661
  authConfig: {
28659
28662
  id: string;
28660
28663
  };
28661
28664
  connection: {
28662
- callbackUrl?: string | undefined;
28663
28665
  userId?: string | undefined;
28664
28666
  data?: Record<string, unknown> | undefined;
28667
+ callbackUrl?: string | undefined;
28665
28668
  };
28666
28669
  }>;
28667
28670
  declare const DefaultCreateConnectedAccountParamsSchema: z.ZodType<{
@@ -28691,12 +28694,12 @@ declare const CreateConnectedAccountResponseSchema: z.ZodObject<{
28691
28694
  redirectUrl: z.ZodNullable<z.ZodString>;
28692
28695
  }, "strip", z.ZodTypeAny, {
28693
28696
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28694
- id: string;
28695
28697
  redirectUrl: string | null;
28698
+ id: string;
28696
28699
  }, {
28697
28700
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28698
- id: string;
28699
28701
  redirectUrl: string | null;
28702
+ id: string;
28700
28703
  }>;
28701
28704
  type CreateConnectedAccountResponse = z.infer<typeof CreateConnectedAccountResponseSchema>;
28702
28705
  declare const ConnectedAccountAuthConfigSchema: z.ZodObject<{
@@ -28745,17 +28748,17 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
28745
28748
  toolkitSlugs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
28746
28749
  userIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
28747
28750
  }, "strip", z.ZodTypeAny, {
28748
- cursor?: string | null | undefined;
28749
28751
  limit?: number | null | undefined;
28750
28752
  authConfigIds?: string[] | null | undefined;
28753
+ cursor?: string | null | undefined;
28751
28754
  orderBy?: "created_at" | "updated_at" | undefined;
28752
28755
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28753
28756
  toolkitSlugs?: string[] | null | undefined;
28754
28757
  userIds?: string[] | null | undefined;
28755
28758
  }, {
28756
- cursor?: string | null | undefined;
28757
28759
  limit?: number | null | undefined;
28758
28760
  authConfigIds?: string[] | null | undefined;
28761
+ cursor?: string | null | undefined;
28759
28762
  orderBy?: "created_at" | "updated_at" | undefined;
28760
28763
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28761
28764
  toolkitSlugs?: string[] | null | undefined;
@@ -28946,8 +28949,8 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
28946
28949
  }>>;
28947
28950
  }, "strip", z.ZodTypeAny, {
28948
28951
  type: "use_custom_auth";
28949
- credentials: Record<string, string | number | boolean>;
28950
28952
  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";
28953
+ credentials: Record<string, string | number | boolean>;
28951
28954
  name?: string | undefined;
28952
28955
  proxyConfig?: {
28953
28956
  proxyUrl: string;
@@ -28958,8 +28961,8 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
28958
28961
  } | undefined;
28959
28962
  }, {
28960
28963
  type: "use_custom_auth";
28961
- credentials: Record<string, string | number | boolean>;
28962
28964
  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";
28965
+ credentials: Record<string, string | number | boolean>;
28963
28966
  name?: string | undefined;
28964
28967
  proxyConfig?: {
28965
28968
  proxyUrl: string;
@@ -29022,8 +29025,8 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29022
29025
  }>>;
29023
29026
  }, "strip", z.ZodTypeAny, {
29024
29027
  type: "use_custom_auth";
29025
- credentials: Record<string, string | number | boolean>;
29026
29028
  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";
29029
+ credentials: Record<string, string | number | boolean>;
29027
29030
  name?: string | undefined;
29028
29031
  proxyConfig?: {
29029
29032
  proxyUrl: string;
@@ -29034,8 +29037,8 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29034
29037
  } | undefined;
29035
29038
  }, {
29036
29039
  type: "use_custom_auth";
29037
- credentials: Record<string, string | number | boolean>;
29038
29040
  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";
29041
+ credentials: Record<string, string | number | boolean>;
29039
29042
  name?: string | undefined;
29040
29043
  proxyConfig?: {
29041
29044
  proxyUrl: string;
@@ -29135,8 +29138,8 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
29135
29138
  id: string;
29136
29139
  noOfConnections: number;
29137
29140
  uuid: string;
29138
- credentials?: Record<string, unknown> | undefined;
29139
29141
  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;
29142
+ credentials?: Record<string, unknown> | undefined;
29140
29143
  toolAccessConfig?: {
29141
29144
  toolsForConnectedAccountCreation?: string[] | undefined;
29142
29145
  toolsAvailableForExecution?: string[] | undefined;
@@ -29157,8 +29160,8 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
29157
29160
  id: string;
29158
29161
  noOfConnections: number;
29159
29162
  uuid: string;
29160
- credentials?: Record<string, unknown> | undefined;
29161
29163
  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;
29164
+ credentials?: Record<string, unknown> | undefined;
29162
29165
  toolAccessConfig?: {
29163
29166
  toolsForConnectedAccountCreation?: string[] | undefined;
29164
29167
  toolsAvailableForExecution?: string[] | undefined;
@@ -29178,14 +29181,14 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
29178
29181
  toolkit: z.ZodOptional<z.ZodString>;
29179
29182
  }, "strip", z.ZodTypeAny, {
29180
29183
  toolkit?: string | undefined;
29184
+ limit?: number | undefined;
29181
29185
  isComposioManaged?: boolean | undefined;
29182
29186
  cursor?: string | undefined;
29183
- limit?: number | undefined;
29184
29187
  }, {
29185
29188
  toolkit?: string | undefined;
29189
+ limit?: number | undefined;
29186
29190
  isComposioManaged?: boolean | undefined;
29187
29191
  cursor?: string | undefined;
29188
- limit?: number | undefined;
29189
29192
  }>;
29190
29193
  type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
29191
29194
  declare const AuthConfigListResponseSchema: z.ZodObject<{
@@ -29236,8 +29239,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29236
29239
  id: string;
29237
29240
  noOfConnections: number;
29238
29241
  uuid: string;
29239
- credentials?: Record<string, unknown> | undefined;
29240
29242
  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;
29243
+ credentials?: Record<string, unknown> | undefined;
29241
29244
  toolAccessConfig?: {
29242
29245
  toolsForConnectedAccountCreation?: string[] | undefined;
29243
29246
  toolsAvailableForExecution?: string[] | undefined;
@@ -29258,8 +29261,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29258
29261
  id: string;
29259
29262
  noOfConnections: number;
29260
29263
  uuid: string;
29261
- credentials?: Record<string, unknown> | undefined;
29262
29264
  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;
29265
+ credentials?: Record<string, unknown> | undefined;
29263
29266
  toolAccessConfig?: {
29264
29267
  toolsForConnectedAccountCreation?: string[] | undefined;
29265
29268
  toolsAvailableForExecution?: string[] | undefined;
@@ -29284,8 +29287,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29284
29287
  id: string;
29285
29288
  noOfConnections: number;
29286
29289
  uuid: string;
29287
- credentials?: Record<string, unknown> | undefined;
29288
29290
  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;
29291
+ credentials?: Record<string, unknown> | undefined;
29289
29292
  toolAccessConfig?: {
29290
29293
  toolsForConnectedAccountCreation?: string[] | undefined;
29291
29294
  toolsAvailableForExecution?: string[] | undefined;
@@ -29310,8 +29313,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29310
29313
  id: string;
29311
29314
  noOfConnections: number;
29312
29315
  uuid: string;
29313
- credentials?: Record<string, unknown> | undefined;
29314
29316
  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;
29317
+ credentials?: Record<string, unknown> | undefined;
29315
29318
  toolAccessConfig?: {
29316
29319
  toolsForConnectedAccountCreation?: string[] | undefined;
29317
29320
  toolsAvailableForExecution?: string[] | undefined;
@@ -29666,8 +29669,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
29666
29669
  triggerData: z.ZodOptional<z.ZodString>;
29667
29670
  uuid: z.ZodOptional<z.ZodString>;
29668
29671
  }, "strip", z.ZodTypeAny, {
29669
- id: string;
29670
29672
  connectedAccountId: string;
29673
+ id: string;
29671
29674
  disabledAt: string | null;
29672
29675
  state: Record<string, unknown>;
29673
29676
  triggerConfig: Record<string, unknown>;
@@ -29676,8 +29679,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
29676
29679
  uuid?: string | undefined;
29677
29680
  triggerData?: string | undefined;
29678
29681
  }, {
29679
- id: string;
29680
29682
  connectedAccountId: string;
29683
+ id: string;
29681
29684
  disabledAt: string | null;
29682
29685
  state: Record<string, unknown>;
29683
29686
  triggerConfig: Record<string, unknown>;
@@ -29698,8 +29701,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29698
29701
  triggerData: z.ZodOptional<z.ZodString>;
29699
29702
  uuid: z.ZodOptional<z.ZodString>;
29700
29703
  }, "strip", z.ZodTypeAny, {
29701
- id: string;
29702
29704
  connectedAccountId: string;
29705
+ id: string;
29703
29706
  disabledAt: string | null;
29704
29707
  state: Record<string, unknown>;
29705
29708
  triggerConfig: Record<string, unknown>;
@@ -29708,8 +29711,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29708
29711
  uuid?: string | undefined;
29709
29712
  triggerData?: string | undefined;
29710
29713
  }, {
29711
- id: string;
29712
29714
  connectedAccountId: string;
29715
+ id: string;
29713
29716
  disabledAt: string | null;
29714
29717
  state: Record<string, unknown>;
29715
29718
  triggerConfig: Record<string, unknown>;
@@ -29722,8 +29725,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29722
29725
  totalPages: z.ZodNumber;
29723
29726
  }, "strip", z.ZodTypeAny, {
29724
29727
  items: {
29725
- id: string;
29726
29728
  connectedAccountId: string;
29729
+ id: string;
29727
29730
  disabledAt: string | null;
29728
29731
  state: Record<string, unknown>;
29729
29732
  triggerConfig: Record<string, unknown>;
@@ -29736,8 +29739,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29736
29739
  totalPages: number;
29737
29740
  }, {
29738
29741
  items: {
29739
- id: string;
29740
29742
  connectedAccountId: string;
29743
+ id: string;
29741
29744
  disabledAt: string | null;
29742
29745
  state: Record<string, unknown>;
29743
29746
  triggerConfig: Record<string, unknown>;
@@ -29818,67 +29821,67 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
29818
29821
  status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
29819
29822
  }, "strip", z.ZodTypeAny, {
29820
29823
  status: "ACTIVE" | "INACTIVE";
29824
+ userId: string;
29821
29825
  id: string;
29822
29826
  uuid: string;
29823
- userId: string;
29824
29827
  authConfigId: string;
29825
29828
  authConfigUUID: string;
29826
29829
  }, {
29827
29830
  status: "ACTIVE" | "INACTIVE";
29831
+ userId: string;
29828
29832
  id: string;
29829
29833
  uuid: string;
29830
- userId: string;
29831
29834
  authConfigId: string;
29832
29835
  authConfigUUID: string;
29833
29836
  }>;
29834
29837
  }, "strip", z.ZodTypeAny, {
29838
+ toolkitSlug: string;
29835
29839
  id: string;
29836
29840
  uuid: string;
29837
- toolkitSlug: string;
29838
29841
  triggerSlug: string;
29839
29842
  triggerConfig: Record<string, unknown>;
29840
29843
  connectedAccount: {
29841
29844
  status: "ACTIVE" | "INACTIVE";
29845
+ userId: string;
29842
29846
  id: string;
29843
29847
  uuid: string;
29844
- userId: string;
29845
29848
  authConfigId: string;
29846
29849
  authConfigUUID: string;
29847
29850
  };
29848
29851
  triggerData?: string | undefined;
29849
29852
  }, {
29853
+ toolkitSlug: string;
29850
29854
  id: string;
29851
29855
  uuid: string;
29852
- toolkitSlug: string;
29853
29856
  triggerSlug: string;
29854
29857
  triggerConfig: Record<string, unknown>;
29855
29858
  connectedAccount: {
29856
29859
  status: "ACTIVE" | "INACTIVE";
29860
+ userId: string;
29857
29861
  id: string;
29858
29862
  uuid: string;
29859
- userId: string;
29860
29863
  authConfigId: string;
29861
29864
  authConfigUUID: string;
29862
29865
  };
29863
29866
  triggerData?: string | undefined;
29864
29867
  }>;
29865
29868
  }, "strip", z.ZodTypeAny, {
29866
- id: string;
29867
- uuid: string;
29868
29869
  toolkitSlug: string;
29869
29870
  userId: string;
29871
+ id: string;
29872
+ uuid: string;
29870
29873
  triggerSlug: string;
29871
29874
  metadata: {
29875
+ toolkitSlug: string;
29872
29876
  id: string;
29873
29877
  uuid: string;
29874
- toolkitSlug: string;
29875
29878
  triggerSlug: string;
29876
29879
  triggerConfig: Record<string, unknown>;
29877
29880
  connectedAccount: {
29878
29881
  status: "ACTIVE" | "INACTIVE";
29882
+ userId: string;
29879
29883
  id: string;
29880
29884
  uuid: string;
29881
- userId: string;
29882
29885
  authConfigId: string;
29883
29886
  authConfigUUID: string;
29884
29887
  };
@@ -29887,22 +29890,22 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
29887
29890
  payload?: Record<string, unknown> | undefined;
29888
29891
  originalPayload?: Record<string, unknown> | undefined;
29889
29892
  }, {
29890
- id: string;
29891
- uuid: string;
29892
29893
  toolkitSlug: string;
29893
29894
  userId: string;
29895
+ id: string;
29896
+ uuid: string;
29894
29897
  triggerSlug: string;
29895
29898
  metadata: {
29899
+ toolkitSlug: string;
29896
29900
  id: string;
29897
29901
  uuid: string;
29898
- toolkitSlug: string;
29899
29902
  triggerSlug: string;
29900
29903
  triggerConfig: Record<string, unknown>;
29901
29904
  connectedAccount: {
29902
29905
  status: "ACTIVE" | "INACTIVE";
29906
+ userId: string;
29903
29907
  id: string;
29904
29908
  uuid: string;
29905
- userId: string;
29906
29909
  authConfigId: string;
29907
29910
  authConfigUUID: string;
29908
29911
  };
@@ -29938,13 +29941,13 @@ declare const TriggersTypeListParamsSchema: z.ZodObject<{
29938
29941
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29939
29942
  toolkits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
29940
29943
  }, "strip", z.ZodTypeAny, {
29941
- cursor?: string | undefined;
29942
- limit?: number | null | undefined;
29943
29944
  toolkits?: string[] | null | undefined;
29944
- }, {
29945
- cursor?: string | undefined;
29946
29945
  limit?: number | null | undefined;
29946
+ cursor?: string | undefined;
29947
+ }, {
29947
29948
  toolkits?: string[] | null | undefined;
29949
+ limit?: number | null | undefined;
29950
+ cursor?: string | undefined;
29948
29951
  }>;
29949
29952
  type TriggersTypeListParams = z.infer<typeof TriggersTypeListParamsSchema>;
29950
29953
  declare const TriggerTypeSchema: z.ZodObject<{
@@ -30102,16 +30105,292 @@ type TriggerEventData<TPayload = unknown> = TPayload & {
30102
30105
  trigger_nano_id: string;
30103
30106
  user_id: string;
30104
30107
  };
30108
+ /**
30109
+ * Webhook payload schemas for V1, V2, V3 versions
30110
+ * These schemas represent the raw payload structure sent by Composio's webhook system
30111
+ */
30112
+ /** V1 webhook payload - legacy format */
30113
+ declare const WebhookPayloadV1Schema: z.ZodObject<{
30114
+ trigger_name: z.ZodString;
30115
+ connection_id: z.ZodString;
30116
+ trigger_id: z.ZodString;
30117
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30118
+ log_id: z.ZodString;
30119
+ }, "strip", z.ZodTypeAny, {
30120
+ payload: Record<string, unknown>;
30121
+ trigger_name: string;
30122
+ connection_id: string;
30123
+ trigger_id: string;
30124
+ log_id: string;
30125
+ }, {
30126
+ payload: Record<string, unknown>;
30127
+ trigger_name: string;
30128
+ connection_id: string;
30129
+ trigger_id: string;
30130
+ log_id: string;
30131
+ }>;
30132
+ type WebhookPayloadV1 = z.infer<typeof WebhookPayloadV1Schema>;
30133
+ /** V2 webhook payload - includes timestamp and nested data */
30134
+ declare const WebhookPayloadV2Schema: z.ZodObject<{
30135
+ type: z.ZodString;
30136
+ timestamp: z.ZodString;
30137
+ log_id: z.ZodString;
30138
+ data: z.ZodObject<{
30139
+ connection_id: z.ZodString;
30140
+ connection_nano_id: z.ZodString;
30141
+ trigger_nano_id: z.ZodString;
30142
+ trigger_id: z.ZodString;
30143
+ user_id: z.ZodString;
30144
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
30145
+ connection_id: z.ZodString;
30146
+ connection_nano_id: z.ZodString;
30147
+ trigger_nano_id: z.ZodString;
30148
+ trigger_id: z.ZodString;
30149
+ user_id: z.ZodString;
30150
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
30151
+ connection_id: z.ZodString;
30152
+ connection_nano_id: z.ZodString;
30153
+ trigger_nano_id: z.ZodString;
30154
+ trigger_id: z.ZodString;
30155
+ user_id: z.ZodString;
30156
+ }, z.ZodTypeAny, "passthrough">>;
30157
+ }, "strip", z.ZodTypeAny, {
30158
+ type: string;
30159
+ data: {
30160
+ connection_id: string;
30161
+ trigger_id: string;
30162
+ connection_nano_id: string;
30163
+ trigger_nano_id: string;
30164
+ user_id: string;
30165
+ } & {
30166
+ [k: string]: unknown;
30167
+ };
30168
+ log_id: string;
30169
+ timestamp: string;
30170
+ }, {
30171
+ type: string;
30172
+ data: {
30173
+ connection_id: string;
30174
+ trigger_id: string;
30175
+ connection_nano_id: string;
30176
+ trigger_nano_id: string;
30177
+ user_id: string;
30178
+ } & {
30179
+ [k: string]: unknown;
30180
+ };
30181
+ log_id: string;
30182
+ timestamp: string;
30183
+ }>;
30184
+ type WebhookPayloadV2 = z.infer<typeof WebhookPayloadV2Schema>;
30185
+ /** V3 webhook payload - current format with metadata */
30186
+ declare const WebhookPayloadV3Schema: z.ZodObject<{
30187
+ id: z.ZodString;
30188
+ timestamp: z.ZodString;
30189
+ type: z.ZodLiteral<"composio.trigger.message">;
30190
+ metadata: z.ZodObject<{
30191
+ log_id: z.ZodString;
30192
+ trigger_slug: z.ZodString;
30193
+ trigger_id: z.ZodString;
30194
+ connected_account_id: z.ZodString;
30195
+ auth_config_id: z.ZodString;
30196
+ user_id: z.ZodString;
30197
+ }, "strip", z.ZodTypeAny, {
30198
+ trigger_id: string;
30199
+ log_id: string;
30200
+ user_id: string;
30201
+ trigger_slug: string;
30202
+ connected_account_id: string;
30203
+ auth_config_id: string;
30204
+ }, {
30205
+ trigger_id: string;
30206
+ log_id: string;
30207
+ user_id: string;
30208
+ trigger_slug: string;
30209
+ connected_account_id: string;
30210
+ auth_config_id: string;
30211
+ }>;
30212
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30213
+ }, "strip", z.ZodTypeAny, {
30214
+ type: "composio.trigger.message";
30215
+ data: Record<string, unknown>;
30216
+ id: string;
30217
+ metadata: {
30218
+ trigger_id: string;
30219
+ log_id: string;
30220
+ user_id: string;
30221
+ trigger_slug: string;
30222
+ connected_account_id: string;
30223
+ auth_config_id: string;
30224
+ };
30225
+ timestamp: string;
30226
+ }, {
30227
+ type: "composio.trigger.message";
30228
+ data: Record<string, unknown>;
30229
+ id: string;
30230
+ metadata: {
30231
+ trigger_id: string;
30232
+ log_id: string;
30233
+ user_id: string;
30234
+ trigger_slug: string;
30235
+ connected_account_id: string;
30236
+ auth_config_id: string;
30237
+ };
30238
+ timestamp: string;
30239
+ }>;
30240
+ type WebhookPayloadV3 = z.infer<typeof WebhookPayloadV3Schema>;
30241
+ /** Union of all webhook payload versions */
30242
+ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
30243
+ id: z.ZodString;
30244
+ timestamp: z.ZodString;
30245
+ type: z.ZodLiteral<"composio.trigger.message">;
30246
+ metadata: z.ZodObject<{
30247
+ log_id: z.ZodString;
30248
+ trigger_slug: z.ZodString;
30249
+ trigger_id: z.ZodString;
30250
+ connected_account_id: z.ZodString;
30251
+ auth_config_id: z.ZodString;
30252
+ user_id: z.ZodString;
30253
+ }, "strip", z.ZodTypeAny, {
30254
+ trigger_id: string;
30255
+ log_id: string;
30256
+ user_id: string;
30257
+ trigger_slug: string;
30258
+ connected_account_id: string;
30259
+ auth_config_id: string;
30260
+ }, {
30261
+ trigger_id: string;
30262
+ log_id: string;
30263
+ user_id: string;
30264
+ trigger_slug: string;
30265
+ connected_account_id: string;
30266
+ auth_config_id: string;
30267
+ }>;
30268
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30269
+ }, "strip", z.ZodTypeAny, {
30270
+ type: "composio.trigger.message";
30271
+ data: Record<string, unknown>;
30272
+ id: string;
30273
+ metadata: {
30274
+ trigger_id: string;
30275
+ log_id: string;
30276
+ user_id: string;
30277
+ trigger_slug: string;
30278
+ connected_account_id: string;
30279
+ auth_config_id: string;
30280
+ };
30281
+ timestamp: string;
30282
+ }, {
30283
+ type: "composio.trigger.message";
30284
+ data: Record<string, unknown>;
30285
+ id: string;
30286
+ metadata: {
30287
+ trigger_id: string;
30288
+ log_id: string;
30289
+ user_id: string;
30290
+ trigger_slug: string;
30291
+ connected_account_id: string;
30292
+ auth_config_id: string;
30293
+ };
30294
+ timestamp: string;
30295
+ }>, z.ZodObject<{
30296
+ type: z.ZodString;
30297
+ timestamp: z.ZodString;
30298
+ log_id: z.ZodString;
30299
+ data: z.ZodObject<{
30300
+ connection_id: z.ZodString;
30301
+ connection_nano_id: z.ZodString;
30302
+ trigger_nano_id: z.ZodString;
30303
+ trigger_id: z.ZodString;
30304
+ user_id: z.ZodString;
30305
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
30306
+ connection_id: z.ZodString;
30307
+ connection_nano_id: z.ZodString;
30308
+ trigger_nano_id: z.ZodString;
30309
+ trigger_id: z.ZodString;
30310
+ user_id: z.ZodString;
30311
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
30312
+ connection_id: z.ZodString;
30313
+ connection_nano_id: z.ZodString;
30314
+ trigger_nano_id: z.ZodString;
30315
+ trigger_id: z.ZodString;
30316
+ user_id: z.ZodString;
30317
+ }, z.ZodTypeAny, "passthrough">>;
30318
+ }, "strip", z.ZodTypeAny, {
30319
+ type: string;
30320
+ data: {
30321
+ connection_id: string;
30322
+ trigger_id: string;
30323
+ connection_nano_id: string;
30324
+ trigger_nano_id: string;
30325
+ user_id: string;
30326
+ } & {
30327
+ [k: string]: unknown;
30328
+ };
30329
+ log_id: string;
30330
+ timestamp: string;
30331
+ }, {
30332
+ type: string;
30333
+ data: {
30334
+ connection_id: string;
30335
+ trigger_id: string;
30336
+ connection_nano_id: string;
30337
+ trigger_nano_id: string;
30338
+ user_id: string;
30339
+ } & {
30340
+ [k: string]: unknown;
30341
+ };
30342
+ log_id: string;
30343
+ timestamp: string;
30344
+ }>, z.ZodObject<{
30345
+ trigger_name: z.ZodString;
30346
+ connection_id: z.ZodString;
30347
+ trigger_id: z.ZodString;
30348
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30349
+ log_id: z.ZodString;
30350
+ }, "strip", z.ZodTypeAny, {
30351
+ payload: Record<string, unknown>;
30352
+ trigger_name: string;
30353
+ connection_id: string;
30354
+ trigger_id: string;
30355
+ log_id: string;
30356
+ }, {
30357
+ payload: Record<string, unknown>;
30358
+ trigger_name: string;
30359
+ connection_id: string;
30360
+ trigger_id: string;
30361
+ log_id: string;
30362
+ }>]>;
30363
+ type WebhookPayload = z.infer<typeof WebhookPayloadSchema>;
30364
+ /** Webhook version enum */
30365
+ declare const WebhookVersions: {
30366
+ readonly V1: "V1";
30367
+ readonly V2: "V2";
30368
+ readonly V3: "V3";
30369
+ };
30370
+ type WebhookVersion = (typeof WebhookVersions)[keyof typeof WebhookVersions];
30105
30371
  /**
30106
30372
  * Parameters for verifying a webhook signature
30107
30373
  */
30108
30374
  declare const VerifyWebhookParamsSchema: z.ZodObject<{
30375
+ /**
30376
+ * The webhook message ID from the 'webhook-id' header.
30377
+ * Format: 'msg_xxx'
30378
+ */
30379
+ id: z.ZodString;
30109
30380
  /** The raw webhook payload as a string (request body) */
30110
30381
  payload: z.ZodString;
30111
- /** The signature from the webhook header (e.g., 'x-composio-signature') */
30112
- signature: z.ZodString;
30113
- /** The webhook secret used to sign the payload */
30382
+ /** The webhook secret used to sign the payload (from Composio dashboard) */
30114
30383
  secret: z.ZodString;
30384
+ /**
30385
+ * The signature from the 'webhook-signature' header.
30386
+ * Format: 'v1,base64EncodedSignature'
30387
+ */
30388
+ signature: z.ZodString;
30389
+ /**
30390
+ * The webhook timestamp from the 'webhook-timestamp' header.
30391
+ * This is the Unix timestamp in seconds when the webhook was sent.
30392
+ */
30393
+ timestamp: z.ZodString;
30115
30394
  /**
30116
30395
  * Maximum allowed age of the webhook in seconds.
30117
30396
  * If the webhook timestamp is older than this, verification will fail.
@@ -30120,21 +30399,33 @@ declare const VerifyWebhookParamsSchema: z.ZodObject<{
30120
30399
  */
30121
30400
  tolerance: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
30122
30401
  }, "strip", z.ZodTypeAny, {
30402
+ id: string;
30123
30403
  payload: string;
30124
- signature: string;
30404
+ timestamp: string;
30125
30405
  secret: string;
30406
+ signature: string;
30126
30407
  tolerance: number;
30127
30408
  }, {
30409
+ id: string;
30128
30410
  payload: string;
30129
- signature: string;
30411
+ timestamp: string;
30130
30412
  secret: string;
30413
+ signature: string;
30131
30414
  tolerance?: number | undefined;
30132
30415
  }>;
30133
30416
  type VerifyWebhookParams = z.input<typeof VerifyWebhookParamsSchema>;
30134
30417
  /**
30135
- * Result of a successful webhook verification
30418
+ * Result of a successful webhook verification.
30419
+ * Contains the parsed payload along with version information.
30136
30420
  */
30137
- type VerifyWebhookResult = IncomingTriggerPayload;
30421
+ type VerifyWebhookResult = {
30422
+ /** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */
30423
+ version: WebhookVersion;
30424
+ /** The parsed and normalized webhook payload */
30425
+ payload: IncomingTriggerPayload;
30426
+ /** The raw parsed payload before normalization */
30427
+ rawPayload: WebhookPayload;
30428
+ };
30138
30429
  //#endregion
30139
30430
  //#region src/models/Triggers.d.ts
30140
30431
  /**
@@ -30270,15 +30561,20 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
30270
30561
  * Verify an incoming webhook payload and signature.
30271
30562
  *
30272
30563
  * This method validates that the webhook request is authentic by:
30273
- * 1. Verifying the HMAC-SHA256 signature matches the payload
30564
+ * 1. Verifying the HMAC-SHA256 signature matches the payload using the correct signing format
30274
30565
  * 2. Optionally checking that the webhook timestamp is within the tolerance window
30275
30566
  *
30567
+ * The signature is computed as: `HMAC-SHA256(${webhookId}.${webhookTimestamp}.${payload}, secret)`
30568
+ * and is expected in the format: `v1,base64EncodedSignature`
30569
+ *
30276
30570
  * @param {VerifyWebhookParams} params - The verification parameters
30277
30571
  * @param {string} params.payload - The raw webhook payload as a string (request body)
30278
- * @param {string} params.signature - The signature from the webhook header (e.g., 'x-composio-signature')
30572
+ * @param {string} params.signature - The signature from the 'webhook-signature' header
30279
30573
  * @param {string} params.secret - The webhook secret used to sign the payload
30574
+ * @param {string} params.webhookId - The webhook ID from the 'webhook-id' header
30575
+ * @param {string} params.webhookTimestamp - The timestamp from the 'webhook-timestamp' header (Unix seconds)
30280
30576
  * @param {number} [params.tolerance=300] - Maximum allowed age of the webhook in seconds (default: 5 minutes). Set to 0 to disable timestamp validation.
30281
- * @returns {VerifyWebhookResult} The verified and parsed webhook payload
30577
+ * @returns {VerifyWebhookResult} The verified and parsed webhook payload with version information
30282
30578
  *
30283
30579
  * @throws {ValidationError} If the parameters are invalid
30284
30580
  * @throws {ComposioWebhookSignatureVerificationError} If the signature verification fails
@@ -30289,14 +30585,17 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
30289
30585
  * // In an Express.js webhook handler
30290
30586
  * app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
30291
30587
  * try {
30292
- * const payload = composio.triggers.verifyWebhook({
30588
+ * const result = composio.triggers.verifyWebhook({
30293
30589
  * payload: req.body.toString(),
30294
- * signature: req.headers['x-composio-signature'] as string,
30590
+ * signature: req.headers['webhook-signature'] as string,
30591
+ * webhookId: req.headers['webhook-id'] as string,
30592
+ * webhookTimestamp: req.headers['webhook-timestamp'] as string,
30295
30593
  * secret: process.env.COMPOSIO_WEBHOOK_SECRET!,
30296
30594
  * });
30297
30595
  *
30298
30596
  * // Process the verified payload
30299
- * console.log('Received trigger:', payload.triggerSlug);
30597
+ * console.log('Webhook version:', result.version);
30598
+ * console.log('Received trigger:', result.payload.triggerSlug);
30300
30599
  * res.status(200).send('OK');
30301
30600
  * } catch (error) {
30302
30601
  * console.error('Webhook verification failed:', error);
@@ -30307,7 +30606,29 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
30307
30606
  */
30308
30607
  verifyWebhook(params: VerifyWebhookParams): VerifyWebhookResult;
30309
30608
  /**
30310
- * Verifies the HMAC-SHA256 signature of a webhook payload
30609
+ * Parses the webhook payload and detects its version (V1, V2, or V3)
30610
+ * @private
30611
+ */
30612
+ private parseWebhookPayload;
30613
+ /**
30614
+ * Normalizes a V1 webhook payload to IncomingTriggerPayload format
30615
+ * @private
30616
+ */
30617
+ private normalizeV1Payload;
30618
+ /**
30619
+ * Normalizes a V2 webhook payload to IncomingTriggerPayload format
30620
+ * @private
30621
+ */
30622
+ private normalizeV2Payload;
30623
+ /**
30624
+ * Normalizes a V3 webhook payload to IncomingTriggerPayload format
30625
+ * @private
30626
+ */
30627
+ private normalizeV3Payload;
30628
+ /**
30629
+ * Verifies the HMAC-SHA256 signature of a webhook payload.
30630
+ * The signature format used by Composio is: `v1,base64EncodedSignature`
30631
+ * The signing input is: `${msgId}.${timestamp}.${payload}`
30311
30632
  * @private
30312
30633
  */
30313
30634
  private verifyWebhookSignature;
@@ -30775,16 +31096,16 @@ declare const MCPServerInstanceSchema: z$1.ZodObject<{
30775
31096
  }, "strip", z$1.ZodTypeAny, {
30776
31097
  name: string;
30777
31098
  type: "streamable_http";
30778
- id: string;
30779
31099
  userId: string;
31100
+ id: string;
30780
31101
  allowedTools: string[];
30781
31102
  url: string;
30782
31103
  authConfigs: string[];
30783
31104
  }, {
30784
31105
  name: string;
30785
31106
  type: "streamable_http";
30786
- id: string;
30787
31107
  userId: string;
31108
+ id: string;
30788
31109
  allowedTools: string[];
30789
31110
  url: string;
30790
31111
  authConfigs: string[];
@@ -30867,8 +31188,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
30867
31188
  MCPUrl: z$1.ZodString;
30868
31189
  }, "strip", z$1.ZodTypeAny, {
30869
31190
  name: string;
30870
- id: string;
30871
31191
  authConfigIds: string[];
31192
+ id: string;
30872
31193
  allowedTools: string[];
30873
31194
  commands: {
30874
31195
  cursor: string;
@@ -30878,8 +31199,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
30878
31199
  MCPUrl: string;
30879
31200
  }, {
30880
31201
  name: string;
30881
- id: string;
30882
31202
  authConfigIds: string[];
31203
+ id: string;
30883
31204
  allowedTools: string[];
30884
31205
  commands: {
30885
31206
  cursor: string;
@@ -30912,15 +31233,15 @@ declare const MCPListParamsSchema: z$1.ZodObject<{
30912
31233
  authConfigs: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>>;
30913
31234
  name: z$1.ZodOptional<z$1.ZodString>;
30914
31235
  }, "strip", z$1.ZodTypeAny, {
30915
- limit: number;
30916
31236
  toolkits: string[];
31237
+ limit: number;
30917
31238
  page: number;
30918
31239
  authConfigs: string[];
30919
31240
  name?: string | undefined;
30920
31241
  }, {
30921
31242
  name?: string | undefined;
30922
- limit?: number | undefined;
30923
31243
  toolkits?: string[] | undefined;
31244
+ limit?: number | undefined;
30924
31245
  page?: number | undefined;
30925
31246
  authConfigs?: string[] | undefined;
30926
31247
  }>;
@@ -30977,9 +31298,9 @@ declare const MCPItemSchema: z$1.ZodObject<{
30977
31298
  toolkits: z$1.ZodArray<z$1.ZodString, "many">;
30978
31299
  }, "strip", z$1.ZodTypeAny, {
30979
31300
  name: string;
30980
- id: string;
30981
31301
  toolkits: string[];
30982
31302
  authConfigIds: string[];
31303
+ id: string;
30983
31304
  allowedTools: string[];
30984
31305
  commands: {
30985
31306
  cursor: string;
@@ -30991,9 +31312,9 @@ declare const MCPItemSchema: z$1.ZodObject<{
30991
31312
  serverInstanceCount: number;
30992
31313
  }, {
30993
31314
  name: string;
30994
- id: string;
30995
31315
  toolkits: string[];
30996
31316
  authConfigIds: string[];
31317
+ id: string;
30997
31318
  allowedTools: string[];
30998
31319
  commands: {
30999
31320
  cursor: string;
@@ -31058,9 +31379,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
31058
31379
  toolkits: z$1.ZodArray<z$1.ZodString, "many">;
31059
31380
  }, "strip", z$1.ZodTypeAny, {
31060
31381
  name: string;
31061
- id: string;
31062
31382
  toolkits: string[];
31063
31383
  authConfigIds: string[];
31384
+ id: string;
31064
31385
  allowedTools: string[];
31065
31386
  commands: {
31066
31387
  cursor: string;
@@ -31072,9 +31393,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
31072
31393
  serverInstanceCount: number;
31073
31394
  }, {
31074
31395
  name: string;
31075
- id: string;
31076
31396
  toolkits: string[];
31077
31397
  authConfigIds: string[];
31398
+ id: string;
31078
31399
  allowedTools: string[];
31079
31400
  commands: {
31080
31401
  cursor: string;
@@ -31090,9 +31411,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
31090
31411
  }, "strip", z$1.ZodTypeAny, {
31091
31412
  items: {
31092
31413
  name: string;
31093
- id: string;
31094
31414
  toolkits: string[];
31095
31415
  authConfigIds: string[];
31416
+ id: string;
31096
31417
  allowedTools: string[];
31097
31418
  commands: {
31098
31419
  cursor: string;
@@ -31108,9 +31429,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
31108
31429
  }, {
31109
31430
  items: {
31110
31431
  name: string;
31111
- id: string;
31112
31432
  toolkits: string[];
31113
31433
  authConfigIds: string[];
31434
+ id: string;
31114
31435
  allowedTools: string[];
31115
31436
  commands: {
31116
31437
  cursor: string;
@@ -31704,55 +32025,6 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
31704
32025
  //#region src/types/composio.types.d.ts
31705
32026
  type ComposioRequestHeaders = Record<string, string>;
31706
32027
  //#endregion
31707
- //#region src/types/files.types.d.ts
31708
- type FileUploadData = {
31709
- name: string;
31710
- mimetype: string;
31711
- s3key: string;
31712
- };
31713
- type FileDownloadData = {
31714
- name: string;
31715
- mimeType: string;
31716
- s3Url: string;
31717
- filePath: string;
31718
- };
31719
- //#endregion
31720
- //#region src/models/Files.d.ts
31721
- declare class Files {
31722
- private readonly client;
31723
- constructor(client: ComposioClient);
31724
- /**
31725
- * Upload a file to S3 and return the file data.
31726
- * @param filePath - The path to the file to upload or a URL of the file to upload.
31727
- * @param toolSlug - The slug of the tool that is uploading the file.
31728
- * @param toolkitSlug - The slug of the toolkit that is uploading the file.
31729
- * @returns The file data.
31730
- */
31731
- upload({
31732
- file,
31733
- toolSlug,
31734
- toolkitSlug
31735
- }: {
31736
- file: File | string;
31737
- toolSlug: string;
31738
- toolkitSlug: string;
31739
- }): Promise<FileUploadData>;
31740
- /**
31741
- * Download a file from S3 and return the file data.
31742
- * @param s3key - The S3 key of the file to download.
31743
- * @returns The file data.
31744
- */
31745
- download({
31746
- toolSlug,
31747
- s3Url,
31748
- mimeType
31749
- }: {
31750
- s3Url: string;
31751
- toolSlug: string;
31752
- mimeType: string;
31753
- }): Promise<FileDownloadData>;
31754
- }
31755
- //#endregion
31756
32028
  //#region src/types/toolRouter.types.d.ts
31757
32029
  declare const MCPServerTypeSchema: z$1.ZodEnum<["http", "sse"]>;
31758
32030
  type MCPServerType = z$1.infer<typeof MCPServerTypeSchema>;
@@ -32105,26 +32377,26 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
32105
32377
  }>>;
32106
32378
  }, "strip", z$1.ZodTypeAny, {
32107
32379
  isActive: boolean;
32108
- connectedAccount?: {
32109
- status: string;
32110
- id: string;
32111
- } | undefined;
32112
32380
  authConfig?: {
32113
32381
  id: string;
32114
32382
  isComposioManaged: boolean;
32115
32383
  mode: string;
32116
32384
  } | null | undefined;
32117
- }, {
32118
- isActive: boolean;
32119
32385
  connectedAccount?: {
32120
32386
  status: string;
32121
32387
  id: string;
32122
32388
  } | undefined;
32389
+ }, {
32390
+ isActive: boolean;
32123
32391
  authConfig?: {
32124
32392
  id: string;
32125
32393
  isComposioManaged: boolean;
32126
32394
  mode: string;
32127
32395
  } | null | undefined;
32396
+ connectedAccount?: {
32397
+ status: string;
32398
+ id: string;
32399
+ } | undefined;
32128
32400
  }>>;
32129
32401
  }, "strip", z$1.ZodTypeAny, {
32130
32402
  slug: string;
@@ -32133,15 +32405,15 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
32133
32405
  logo?: string | undefined;
32134
32406
  connection?: {
32135
32407
  isActive: boolean;
32136
- connectedAccount?: {
32137
- status: string;
32138
- id: string;
32139
- } | undefined;
32140
32408
  authConfig?: {
32141
32409
  id: string;
32142
32410
  isComposioManaged: boolean;
32143
32411
  mode: string;
32144
32412
  } | null | undefined;
32413
+ connectedAccount?: {
32414
+ status: string;
32415
+ id: string;
32416
+ } | undefined;
32145
32417
  } | undefined;
32146
32418
  }, {
32147
32419
  slug: string;
@@ -32150,15 +32422,15 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
32150
32422
  isNoAuth?: boolean | undefined;
32151
32423
  connection?: {
32152
32424
  isActive: boolean;
32153
- connectedAccount?: {
32154
- status: string;
32155
- id: string;
32156
- } | undefined;
32157
32425
  authConfig?: {
32158
32426
  id: string;
32159
32427
  isComposioManaged: boolean;
32160
32428
  mode: string;
32161
32429
  } | null | undefined;
32430
+ connectedAccount?: {
32431
+ status: string;
32432
+ id: string;
32433
+ } | undefined;
32162
32434
  } | undefined;
32163
32435
  }>;
32164
32436
  declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
@@ -32194,26 +32466,26 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
32194
32466
  }>>;
32195
32467
  }, "strip", z$1.ZodTypeAny, {
32196
32468
  isActive: boolean;
32197
- connectedAccount?: {
32198
- status: string;
32199
- id: string;
32200
- } | undefined;
32201
32469
  authConfig?: {
32202
32470
  id: string;
32203
32471
  isComposioManaged: boolean;
32204
32472
  mode: string;
32205
32473
  } | null | undefined;
32206
- }, {
32207
- isActive: boolean;
32208
32474
  connectedAccount?: {
32209
32475
  status: string;
32210
32476
  id: string;
32211
32477
  } | undefined;
32478
+ }, {
32479
+ isActive: boolean;
32212
32480
  authConfig?: {
32213
32481
  id: string;
32214
32482
  isComposioManaged: boolean;
32215
32483
  mode: string;
32216
32484
  } | null | undefined;
32485
+ connectedAccount?: {
32486
+ status: string;
32487
+ id: string;
32488
+ } | undefined;
32217
32489
  }>>;
32218
32490
  }, "strip", z$1.ZodTypeAny, {
32219
32491
  slug: string;
@@ -32222,15 +32494,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
32222
32494
  logo?: string | undefined;
32223
32495
  connection?: {
32224
32496
  isActive: boolean;
32225
- connectedAccount?: {
32226
- status: string;
32227
- id: string;
32228
- } | undefined;
32229
32497
  authConfig?: {
32230
32498
  id: string;
32231
32499
  isComposioManaged: boolean;
32232
32500
  mode: string;
32233
32501
  } | null | undefined;
32502
+ connectedAccount?: {
32503
+ status: string;
32504
+ id: string;
32505
+ } | undefined;
32234
32506
  } | undefined;
32235
32507
  }, {
32236
32508
  slug: string;
@@ -32239,15 +32511,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
32239
32511
  isNoAuth?: boolean | undefined;
32240
32512
  connection?: {
32241
32513
  isActive: boolean;
32242
- connectedAccount?: {
32243
- status: string;
32244
- id: string;
32245
- } | undefined;
32246
32514
  authConfig?: {
32247
32515
  id: string;
32248
32516
  isComposioManaged: boolean;
32249
32517
  mode: string;
32250
32518
  } | null | undefined;
32519
+ connectedAccount?: {
32520
+ status: string;
32521
+ id: string;
32522
+ } | undefined;
32251
32523
  } | undefined;
32252
32524
  }>, "many">;
32253
32525
  nextCursor: z$1.ZodOptional<z$1.ZodString>;
@@ -32260,15 +32532,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
32260
32532
  logo?: string | undefined;
32261
32533
  connection?: {
32262
32534
  isActive: boolean;
32263
- connectedAccount?: {
32264
- status: string;
32265
- id: string;
32266
- } | undefined;
32267
32535
  authConfig?: {
32268
32536
  id: string;
32269
32537
  isComposioManaged: boolean;
32270
32538
  mode: string;
32271
32539
  } | null | undefined;
32540
+ connectedAccount?: {
32541
+ status: string;
32542
+ id: string;
32543
+ } | undefined;
32272
32544
  } | undefined;
32273
32545
  }[];
32274
32546
  totalPages: number;
@@ -32281,15 +32553,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
32281
32553
  isNoAuth?: boolean | undefined;
32282
32554
  connection?: {
32283
32555
  isActive: boolean;
32284
- connectedAccount?: {
32285
- status: string;
32286
- id: string;
32287
- } | undefined;
32288
32556
  authConfig?: {
32289
32557
  id: string;
32290
32558
  isComposioManaged: boolean;
32291
32559
  mode: string;
32292
32560
  } | null | undefined;
32561
+ connectedAccount?: {
32562
+ status: string;
32563
+ id: string;
32564
+ } | undefined;
32293
32565
  } | undefined;
32294
32566
  }[];
32295
32567
  totalPages: number;
@@ -32322,15 +32594,15 @@ declare const ToolRouterToolkitsOptionsSchema: z$1.ZodObject<{
32322
32594
  isConnected: z$1.ZodOptional<z$1.ZodBoolean>;
32323
32595
  search: z$1.ZodOptional<z$1.ZodString>;
32324
32596
  }, "strip", z$1.ZodTypeAny, {
32325
- limit?: number | undefined;
32326
32597
  nextCursor?: string | undefined;
32327
32598
  toolkits?: string[] | undefined;
32599
+ limit?: number | undefined;
32328
32600
  search?: string | undefined;
32329
32601
  isConnected?: boolean | undefined;
32330
32602
  }, {
32331
- limit?: number | undefined;
32332
32603
  nextCursor?: string | undefined;
32333
32604
  toolkits?: string[] | undefined;
32605
+ limit?: number | undefined;
32334
32606
  search?: string | undefined;
32335
32607
  isConnected?: boolean | undefined;
32336
32608
  }>;
@@ -33276,4 +33548,4 @@ declare class ComposioWebhookPayloadError extends ComposioError {
33276
33548
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
33277
33549
  }
33278
33550
  //#endregion
33279
- 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 };
33551
+ 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 };