@composio/core 0.3.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +105 -690
- package/dist/index.d.cts +538 -632
- package/dist/index.d.mts +538 -632
- package/dist/index.mjs +105 -690
- package/package.json +6 -4
package/dist/index.d.cts
CHANGED
|
@@ -566,17 +566,17 @@ declare const ToolListParamsSchema: z.ZodObject<{
|
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
567
|
tags?: string[] | undefined;
|
|
568
568
|
scopes?: string[] | undefined;
|
|
569
|
+
limit?: number | undefined;
|
|
569
570
|
tools?: string[] | undefined;
|
|
570
571
|
toolkits?: string[] | undefined;
|
|
571
|
-
limit?: number | undefined;
|
|
572
572
|
search?: string | undefined;
|
|
573
573
|
authConfigIds?: string[] | undefined;
|
|
574
574
|
}, {
|
|
575
575
|
tags?: string[] | undefined;
|
|
576
576
|
scopes?: string[] | undefined;
|
|
577
|
+
limit?: number | undefined;
|
|
577
578
|
tools?: string[] | undefined;
|
|
578
579
|
toolkits?: string[] | undefined;
|
|
579
|
-
limit?: number | undefined;
|
|
580
580
|
search?: string | undefined;
|
|
581
581
|
authConfigIds?: string[] | undefined;
|
|
582
582
|
}>;
|
|
@@ -895,7 +895,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
895
895
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
897
|
authScheme: "OAUTH2";
|
|
898
|
-
toolkitSlug: string;
|
|
899
898
|
val: {
|
|
900
899
|
access_token: string;
|
|
901
900
|
version?: string | undefined;
|
|
@@ -929,12 +928,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
929
928
|
registration_access_token?: string | undefined;
|
|
930
929
|
registration_client_uri?: string | undefined;
|
|
931
930
|
composio_link_redirect_url?: string | undefined;
|
|
931
|
+
webhook_signature?: string | undefined;
|
|
932
932
|
id_token?: string | undefined;
|
|
933
933
|
token_type?: string | undefined;
|
|
934
934
|
refresh_token?: string | null | undefined;
|
|
935
935
|
expires_in?: string | number | null | undefined;
|
|
936
936
|
scope?: string | string[] | null | undefined;
|
|
937
|
-
webhook_signature?: string | undefined;
|
|
938
937
|
authed_user?: {
|
|
939
938
|
access_token?: string | undefined;
|
|
940
939
|
scope?: string | undefined;
|
|
@@ -942,9 +941,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
942
941
|
} & {
|
|
943
942
|
[k: string]: unknown;
|
|
944
943
|
};
|
|
944
|
+
toolkitSlug: string;
|
|
945
945
|
}, {
|
|
946
946
|
authScheme: "OAUTH2";
|
|
947
|
-
toolkitSlug: string;
|
|
948
947
|
val: {
|
|
949
948
|
access_token: string;
|
|
950
949
|
version?: string | undefined;
|
|
@@ -978,12 +977,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
978
977
|
registration_access_token?: string | undefined;
|
|
979
978
|
registration_client_uri?: string | undefined;
|
|
980
979
|
composio_link_redirect_url?: string | undefined;
|
|
980
|
+
webhook_signature?: string | undefined;
|
|
981
981
|
id_token?: string | undefined;
|
|
982
982
|
token_type?: string | undefined;
|
|
983
983
|
refresh_token?: string | null | undefined;
|
|
984
984
|
expires_in?: string | number | null | undefined;
|
|
985
985
|
scope?: string | string[] | null | undefined;
|
|
986
|
-
webhook_signature?: string | undefined;
|
|
987
986
|
authed_user?: {
|
|
988
987
|
access_token?: string | undefined;
|
|
989
988
|
scope?: string | undefined;
|
|
@@ -991,6 +990,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
991
990
|
} & {
|
|
992
991
|
[k: string]: unknown;
|
|
993
992
|
};
|
|
993
|
+
toolkitSlug: string;
|
|
994
994
|
}>, z.ZodObject<{
|
|
995
995
|
authScheme: z.ZodLiteral<"DCR_OAUTH">;
|
|
996
996
|
toolkitSlug: z.ZodString;
|
|
@@ -1102,7 +1102,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1102
1102
|
}, z.ZodUnknown, "strip">>;
|
|
1103
1103
|
}, "strip", z.ZodTypeAny, {
|
|
1104
1104
|
authScheme: "DCR_OAUTH";
|
|
1105
|
-
toolkitSlug: string;
|
|
1106
1105
|
val: {
|
|
1107
1106
|
access_token: string;
|
|
1108
1107
|
client_id: string;
|
|
@@ -1140,9 +1139,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1140
1139
|
} & {
|
|
1141
1140
|
[k: string]: unknown;
|
|
1142
1141
|
};
|
|
1142
|
+
toolkitSlug: string;
|
|
1143
1143
|
}, {
|
|
1144
1144
|
authScheme: "DCR_OAUTH";
|
|
1145
|
-
toolkitSlug: string;
|
|
1146
1145
|
val: {
|
|
1147
1146
|
access_token: string;
|
|
1148
1147
|
client_id: string;
|
|
@@ -1180,6 +1179,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1180
1179
|
} & {
|
|
1181
1180
|
[k: string]: unknown;
|
|
1182
1181
|
};
|
|
1182
|
+
toolkitSlug: string;
|
|
1183
1183
|
}>, z.ZodObject<{
|
|
1184
1184
|
authScheme: z.ZodLiteral<"API_KEY">;
|
|
1185
1185
|
toolkitSlug: z.ZodString;
|
|
@@ -1285,7 +1285,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1285
1285
|
}, z.ZodUnknown, "strip">>;
|
|
1286
1286
|
}, "strip", z.ZodTypeAny, {
|
|
1287
1287
|
authScheme: "API_KEY";
|
|
1288
|
-
toolkitSlug: string;
|
|
1289
1288
|
val: {
|
|
1290
1289
|
version?: string | undefined;
|
|
1291
1290
|
"your-domain"?: string | undefined;
|
|
@@ -1321,9 +1320,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1321
1320
|
} & {
|
|
1322
1321
|
[k: string]: unknown;
|
|
1323
1322
|
};
|
|
1323
|
+
toolkitSlug: string;
|
|
1324
1324
|
}, {
|
|
1325
1325
|
authScheme: "API_KEY";
|
|
1326
|
-
toolkitSlug: string;
|
|
1327
1326
|
val: {
|
|
1328
1327
|
version?: string | undefined;
|
|
1329
1328
|
"your-domain"?: string | undefined;
|
|
@@ -1359,6 +1358,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1359
1358
|
} & {
|
|
1360
1359
|
[k: string]: unknown;
|
|
1361
1360
|
};
|
|
1361
|
+
toolkitSlug: string;
|
|
1362
1362
|
}>, z.ZodObject<{
|
|
1363
1363
|
authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
|
|
1364
1364
|
toolkitSlug: z.ZodString;
|
|
@@ -1470,7 +1470,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1470
1470
|
}, z.ZodUnknown, "strip">>;
|
|
1471
1471
|
}, "strip", z.ZodTypeAny, {
|
|
1472
1472
|
authScheme: "BASIC_WITH_JWT";
|
|
1473
|
-
toolkitSlug: string;
|
|
1474
1473
|
val: {
|
|
1475
1474
|
username: string;
|
|
1476
1475
|
password: string;
|
|
@@ -1508,9 +1507,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1508
1507
|
} & {
|
|
1509
1508
|
[k: string]: unknown;
|
|
1510
1509
|
};
|
|
1510
|
+
toolkitSlug: string;
|
|
1511
1511
|
}, {
|
|
1512
1512
|
authScheme: "BASIC_WITH_JWT";
|
|
1513
|
-
toolkitSlug: string;
|
|
1514
1513
|
val: {
|
|
1515
1514
|
username: string;
|
|
1516
1515
|
password: string;
|
|
@@ -1548,6 +1547,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1548
1547
|
} & {
|
|
1549
1548
|
[k: string]: unknown;
|
|
1550
1549
|
};
|
|
1550
|
+
toolkitSlug: string;
|
|
1551
1551
|
}>, z.ZodObject<{
|
|
1552
1552
|
authScheme: z.ZodLiteral<"BASIC">;
|
|
1553
1553
|
toolkitSlug: z.ZodString;
|
|
@@ -1659,7 +1659,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1659
1659
|
}, z.ZodUnknown, "strip">>;
|
|
1660
1660
|
}, "strip", z.ZodTypeAny, {
|
|
1661
1661
|
authScheme: "BASIC";
|
|
1662
|
-
toolkitSlug: string;
|
|
1663
1662
|
val: {
|
|
1664
1663
|
username: string;
|
|
1665
1664
|
password: string;
|
|
@@ -1697,9 +1696,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1697
1696
|
} & {
|
|
1698
1697
|
[k: string]: unknown;
|
|
1699
1698
|
};
|
|
1699
|
+
toolkitSlug: string;
|
|
1700
1700
|
}, {
|
|
1701
1701
|
authScheme: "BASIC";
|
|
1702
|
-
toolkitSlug: string;
|
|
1703
1702
|
val: {
|
|
1704
1703
|
username: string;
|
|
1705
1704
|
password: string;
|
|
@@ -1737,6 +1736,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1737
1736
|
} & {
|
|
1738
1737
|
[k: string]: unknown;
|
|
1739
1738
|
};
|
|
1739
|
+
toolkitSlug: string;
|
|
1740
1740
|
}>, z.ZodObject<{
|
|
1741
1741
|
authScheme: z.ZodLiteral<"BEARER_TOKEN">;
|
|
1742
1742
|
toolkitSlug: z.ZodString;
|
|
@@ -1845,7 +1845,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1845
1845
|
}, z.ZodUnknown, "strip">>;
|
|
1846
1846
|
}, "strip", z.ZodTypeAny, {
|
|
1847
1847
|
authScheme: "BEARER_TOKEN";
|
|
1848
|
-
toolkitSlug: string;
|
|
1849
1848
|
val: {
|
|
1850
1849
|
token: string;
|
|
1851
1850
|
version?: string | undefined;
|
|
@@ -1882,9 +1881,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1882
1881
|
} & {
|
|
1883
1882
|
[k: string]: unknown;
|
|
1884
1883
|
};
|
|
1884
|
+
toolkitSlug: string;
|
|
1885
1885
|
}, {
|
|
1886
1886
|
authScheme: "BEARER_TOKEN";
|
|
1887
|
-
toolkitSlug: string;
|
|
1888
1887
|
val: {
|
|
1889
1888
|
token: string;
|
|
1890
1889
|
version?: string | undefined;
|
|
@@ -1921,6 +1920,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1921
1920
|
} & {
|
|
1922
1921
|
[k: string]: unknown;
|
|
1923
1922
|
};
|
|
1923
|
+
toolkitSlug: string;
|
|
1924
1924
|
}>, z.ZodObject<{
|
|
1925
1925
|
authScheme: z.ZodLiteral<"OAUTH1">;
|
|
1926
1926
|
toolkitSlug: z.ZodString;
|
|
@@ -2047,7 +2047,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2047
2047
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
2048
2048
|
}, "strip", z.ZodTypeAny, {
|
|
2049
2049
|
authScheme: "OAUTH1";
|
|
2050
|
-
toolkitSlug: string;
|
|
2051
2050
|
val: {
|
|
2052
2051
|
oauth_token: string;
|
|
2053
2052
|
oauth_token_secret: string;
|
|
@@ -2082,16 +2081,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2082
2081
|
registration_access_token?: string | undefined;
|
|
2083
2082
|
registration_client_uri?: string | undefined;
|
|
2084
2083
|
composio_link_redirect_url?: string | undefined;
|
|
2085
|
-
consumer_key?: string | undefined;
|
|
2086
|
-
oauth_verifier?: string | undefined;
|
|
2087
2084
|
redirectUrl?: string | undefined;
|
|
2088
2085
|
callback_url?: string | undefined;
|
|
2086
|
+
consumer_key?: string | undefined;
|
|
2087
|
+
oauth_verifier?: string | undefined;
|
|
2089
2088
|
} & {
|
|
2090
2089
|
[k: string]: unknown;
|
|
2091
2090
|
};
|
|
2091
|
+
toolkitSlug: string;
|
|
2092
2092
|
}, {
|
|
2093
2093
|
authScheme: "OAUTH1";
|
|
2094
|
-
toolkitSlug: string;
|
|
2095
2094
|
val: {
|
|
2096
2095
|
oauth_token: string;
|
|
2097
2096
|
oauth_token_secret: string;
|
|
@@ -2126,13 +2125,14 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2126
2125
|
registration_access_token?: string | undefined;
|
|
2127
2126
|
registration_client_uri?: string | undefined;
|
|
2128
2127
|
composio_link_redirect_url?: string | undefined;
|
|
2129
|
-
consumer_key?: string | undefined;
|
|
2130
|
-
oauth_verifier?: string | undefined;
|
|
2131
2128
|
redirectUrl?: string | undefined;
|
|
2132
2129
|
callback_url?: string | undefined;
|
|
2130
|
+
consumer_key?: string | undefined;
|
|
2131
|
+
oauth_verifier?: string | undefined;
|
|
2133
2132
|
} & {
|
|
2134
2133
|
[k: string]: unknown;
|
|
2135
2134
|
};
|
|
2135
|
+
toolkitSlug: string;
|
|
2136
2136
|
}>, z.ZodObject<{
|
|
2137
2137
|
authScheme: z.ZodLiteral<"NO_AUTH">;
|
|
2138
2138
|
toolkitSlug: z.ZodString;
|
|
@@ -2235,7 +2235,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2235
2235
|
}, z.ZodUnknown, "strip">>;
|
|
2236
2236
|
}, "strip", z.ZodTypeAny, {
|
|
2237
2237
|
authScheme: "NO_AUTH";
|
|
2238
|
-
toolkitSlug: string;
|
|
2239
2238
|
val: {
|
|
2240
2239
|
version?: string | undefined;
|
|
2241
2240
|
"your-domain"?: string | undefined;
|
|
@@ -2271,9 +2270,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2271
2270
|
} & {
|
|
2272
2271
|
[k: string]: unknown;
|
|
2273
2272
|
};
|
|
2273
|
+
toolkitSlug: string;
|
|
2274
2274
|
}, {
|
|
2275
2275
|
authScheme: "NO_AUTH";
|
|
2276
|
-
toolkitSlug: string;
|
|
2277
2276
|
val: {
|
|
2278
2277
|
version?: string | undefined;
|
|
2279
2278
|
"your-domain"?: string | undefined;
|
|
@@ -2309,6 +2308,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2309
2308
|
} & {
|
|
2310
2309
|
[k: string]: unknown;
|
|
2311
2310
|
};
|
|
2311
|
+
toolkitSlug: string;
|
|
2312
2312
|
}>, z.ZodObject<{
|
|
2313
2313
|
authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
2314
2314
|
toolkitSlug: z.ZodString;
|
|
@@ -2423,7 +2423,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2423
2423
|
}, z.ZodUnknown, "strip">>;
|
|
2424
2424
|
}, "strip", z.ZodTypeAny, {
|
|
2425
2425
|
authScheme: "SERVICE_ACCOUNT";
|
|
2426
|
-
toolkitSlug: string;
|
|
2427
2426
|
val: {
|
|
2428
2427
|
application_id: string;
|
|
2429
2428
|
installation_id: string;
|
|
@@ -2462,9 +2461,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2462
2461
|
} & {
|
|
2463
2462
|
[k: string]: unknown;
|
|
2464
2463
|
};
|
|
2464
|
+
toolkitSlug: string;
|
|
2465
2465
|
}, {
|
|
2466
2466
|
authScheme: "SERVICE_ACCOUNT";
|
|
2467
|
-
toolkitSlug: string;
|
|
2468
2467
|
val: {
|
|
2469
2468
|
application_id: string;
|
|
2470
2469
|
installation_id: string;
|
|
@@ -2503,6 +2502,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2503
2502
|
} & {
|
|
2504
2503
|
[k: string]: unknown;
|
|
2505
2504
|
};
|
|
2505
|
+
toolkitSlug: string;
|
|
2506
2506
|
}>]>>;
|
|
2507
2507
|
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2508
2508
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -2524,7 +2524,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2524
2524
|
} | undefined;
|
|
2525
2525
|
customConnectionData?: {
|
|
2526
2526
|
authScheme: "OAUTH2";
|
|
2527
|
-
toolkitSlug: string;
|
|
2528
2527
|
val: {
|
|
2529
2528
|
access_token: string;
|
|
2530
2529
|
version?: string | undefined;
|
|
@@ -2558,12 +2557,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2558
2557
|
registration_access_token?: string | undefined;
|
|
2559
2558
|
registration_client_uri?: string | undefined;
|
|
2560
2559
|
composio_link_redirect_url?: string | undefined;
|
|
2560
|
+
webhook_signature?: string | undefined;
|
|
2561
2561
|
id_token?: string | undefined;
|
|
2562
2562
|
token_type?: string | undefined;
|
|
2563
2563
|
refresh_token?: string | null | undefined;
|
|
2564
2564
|
expires_in?: string | number | null | undefined;
|
|
2565
2565
|
scope?: string | string[] | null | undefined;
|
|
2566
|
-
webhook_signature?: string | undefined;
|
|
2567
2566
|
authed_user?: {
|
|
2568
2567
|
access_token?: string | undefined;
|
|
2569
2568
|
scope?: string | undefined;
|
|
@@ -2571,9 +2570,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2571
2570
|
} & {
|
|
2572
2571
|
[k: string]: unknown;
|
|
2573
2572
|
};
|
|
2573
|
+
toolkitSlug: string;
|
|
2574
2574
|
} | {
|
|
2575
2575
|
authScheme: "DCR_OAUTH";
|
|
2576
|
-
toolkitSlug: string;
|
|
2577
2576
|
val: {
|
|
2578
2577
|
access_token: string;
|
|
2579
2578
|
client_id: string;
|
|
@@ -2611,9 +2610,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2611
2610
|
} & {
|
|
2612
2611
|
[k: string]: unknown;
|
|
2613
2612
|
};
|
|
2613
|
+
toolkitSlug: string;
|
|
2614
2614
|
} | {
|
|
2615
2615
|
authScheme: "API_KEY";
|
|
2616
|
-
toolkitSlug: string;
|
|
2617
2616
|
val: {
|
|
2618
2617
|
version?: string | undefined;
|
|
2619
2618
|
"your-domain"?: string | undefined;
|
|
@@ -2649,9 +2648,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2649
2648
|
} & {
|
|
2650
2649
|
[k: string]: unknown;
|
|
2651
2650
|
};
|
|
2651
|
+
toolkitSlug: string;
|
|
2652
2652
|
} | {
|
|
2653
2653
|
authScheme: "BASIC_WITH_JWT";
|
|
2654
|
-
toolkitSlug: string;
|
|
2655
2654
|
val: {
|
|
2656
2655
|
username: string;
|
|
2657
2656
|
password: string;
|
|
@@ -2689,9 +2688,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2689
2688
|
} & {
|
|
2690
2689
|
[k: string]: unknown;
|
|
2691
2690
|
};
|
|
2691
|
+
toolkitSlug: string;
|
|
2692
2692
|
} | {
|
|
2693
2693
|
authScheme: "BASIC";
|
|
2694
|
-
toolkitSlug: string;
|
|
2695
2694
|
val: {
|
|
2696
2695
|
username: string;
|
|
2697
2696
|
password: string;
|
|
@@ -2729,9 +2728,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2729
2728
|
} & {
|
|
2730
2729
|
[k: string]: unknown;
|
|
2731
2730
|
};
|
|
2731
|
+
toolkitSlug: string;
|
|
2732
2732
|
} | {
|
|
2733
2733
|
authScheme: "BEARER_TOKEN";
|
|
2734
|
-
toolkitSlug: string;
|
|
2735
2734
|
val: {
|
|
2736
2735
|
token: string;
|
|
2737
2736
|
version?: string | undefined;
|
|
@@ -2768,9 +2767,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2768
2767
|
} & {
|
|
2769
2768
|
[k: string]: unknown;
|
|
2770
2769
|
};
|
|
2770
|
+
toolkitSlug: string;
|
|
2771
2771
|
} | {
|
|
2772
2772
|
authScheme: "OAUTH1";
|
|
2773
|
-
toolkitSlug: string;
|
|
2774
2773
|
val: {
|
|
2775
2774
|
oauth_token: string;
|
|
2776
2775
|
oauth_token_secret: string;
|
|
@@ -2805,16 +2804,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2805
2804
|
registration_access_token?: string | undefined;
|
|
2806
2805
|
registration_client_uri?: string | undefined;
|
|
2807
2806
|
composio_link_redirect_url?: string | undefined;
|
|
2808
|
-
consumer_key?: string | undefined;
|
|
2809
|
-
oauth_verifier?: string | undefined;
|
|
2810
2807
|
redirectUrl?: string | undefined;
|
|
2811
2808
|
callback_url?: string | undefined;
|
|
2809
|
+
consumer_key?: string | undefined;
|
|
2810
|
+
oauth_verifier?: string | undefined;
|
|
2812
2811
|
} & {
|
|
2813
2812
|
[k: string]: unknown;
|
|
2814
2813
|
};
|
|
2814
|
+
toolkitSlug: string;
|
|
2815
2815
|
} | {
|
|
2816
2816
|
authScheme: "NO_AUTH";
|
|
2817
|
-
toolkitSlug: string;
|
|
2818
2817
|
val: {
|
|
2819
2818
|
version?: string | undefined;
|
|
2820
2819
|
"your-domain"?: string | undefined;
|
|
@@ -2850,9 +2849,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2850
2849
|
} & {
|
|
2851
2850
|
[k: string]: unknown;
|
|
2852
2851
|
};
|
|
2852
|
+
toolkitSlug: string;
|
|
2853
2853
|
} | {
|
|
2854
2854
|
authScheme: "SERVICE_ACCOUNT";
|
|
2855
|
-
toolkitSlug: string;
|
|
2856
2855
|
val: {
|
|
2857
2856
|
application_id: string;
|
|
2858
2857
|
installation_id: string;
|
|
@@ -2891,6 +2890,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2891
2890
|
} & {
|
|
2892
2891
|
[k: string]: unknown;
|
|
2893
2892
|
};
|
|
2893
|
+
toolkitSlug: string;
|
|
2894
2894
|
} | undefined;
|
|
2895
2895
|
arguments?: Record<string, unknown> | undefined;
|
|
2896
2896
|
userId?: string | undefined;
|
|
@@ -2911,7 +2911,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2911
2911
|
} | undefined;
|
|
2912
2912
|
customConnectionData?: {
|
|
2913
2913
|
authScheme: "OAUTH2";
|
|
2914
|
-
toolkitSlug: string;
|
|
2915
2914
|
val: {
|
|
2916
2915
|
access_token: string;
|
|
2917
2916
|
version?: string | undefined;
|
|
@@ -2945,12 +2944,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2945
2944
|
registration_access_token?: string | undefined;
|
|
2946
2945
|
registration_client_uri?: string | undefined;
|
|
2947
2946
|
composio_link_redirect_url?: string | undefined;
|
|
2947
|
+
webhook_signature?: string | undefined;
|
|
2948
2948
|
id_token?: string | undefined;
|
|
2949
2949
|
token_type?: string | undefined;
|
|
2950
2950
|
refresh_token?: string | null | undefined;
|
|
2951
2951
|
expires_in?: string | number | null | undefined;
|
|
2952
2952
|
scope?: string | string[] | null | undefined;
|
|
2953
|
-
webhook_signature?: string | undefined;
|
|
2954
2953
|
authed_user?: {
|
|
2955
2954
|
access_token?: string | undefined;
|
|
2956
2955
|
scope?: string | undefined;
|
|
@@ -2958,9 +2957,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2958
2957
|
} & {
|
|
2959
2958
|
[k: string]: unknown;
|
|
2960
2959
|
};
|
|
2960
|
+
toolkitSlug: string;
|
|
2961
2961
|
} | {
|
|
2962
2962
|
authScheme: "DCR_OAUTH";
|
|
2963
|
-
toolkitSlug: string;
|
|
2964
2963
|
val: {
|
|
2965
2964
|
access_token: string;
|
|
2966
2965
|
client_id: string;
|
|
@@ -2998,9 +2997,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2998
2997
|
} & {
|
|
2999
2998
|
[k: string]: unknown;
|
|
3000
2999
|
};
|
|
3000
|
+
toolkitSlug: string;
|
|
3001
3001
|
} | {
|
|
3002
3002
|
authScheme: "API_KEY";
|
|
3003
|
-
toolkitSlug: string;
|
|
3004
3003
|
val: {
|
|
3005
3004
|
version?: string | undefined;
|
|
3006
3005
|
"your-domain"?: string | undefined;
|
|
@@ -3036,9 +3035,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3036
3035
|
} & {
|
|
3037
3036
|
[k: string]: unknown;
|
|
3038
3037
|
};
|
|
3038
|
+
toolkitSlug: string;
|
|
3039
3039
|
} | {
|
|
3040
3040
|
authScheme: "BASIC_WITH_JWT";
|
|
3041
|
-
toolkitSlug: string;
|
|
3042
3041
|
val: {
|
|
3043
3042
|
username: string;
|
|
3044
3043
|
password: string;
|
|
@@ -3076,9 +3075,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3076
3075
|
} & {
|
|
3077
3076
|
[k: string]: unknown;
|
|
3078
3077
|
};
|
|
3078
|
+
toolkitSlug: string;
|
|
3079
3079
|
} | {
|
|
3080
3080
|
authScheme: "BASIC";
|
|
3081
|
-
toolkitSlug: string;
|
|
3082
3081
|
val: {
|
|
3083
3082
|
username: string;
|
|
3084
3083
|
password: string;
|
|
@@ -3116,9 +3115,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3116
3115
|
} & {
|
|
3117
3116
|
[k: string]: unknown;
|
|
3118
3117
|
};
|
|
3118
|
+
toolkitSlug: string;
|
|
3119
3119
|
} | {
|
|
3120
3120
|
authScheme: "BEARER_TOKEN";
|
|
3121
|
-
toolkitSlug: string;
|
|
3122
3121
|
val: {
|
|
3123
3122
|
token: string;
|
|
3124
3123
|
version?: string | undefined;
|
|
@@ -3155,9 +3154,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3155
3154
|
} & {
|
|
3156
3155
|
[k: string]: unknown;
|
|
3157
3156
|
};
|
|
3157
|
+
toolkitSlug: string;
|
|
3158
3158
|
} | {
|
|
3159
3159
|
authScheme: "OAUTH1";
|
|
3160
|
-
toolkitSlug: string;
|
|
3161
3160
|
val: {
|
|
3162
3161
|
oauth_token: string;
|
|
3163
3162
|
oauth_token_secret: string;
|
|
@@ -3192,16 +3191,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3192
3191
|
registration_access_token?: string | undefined;
|
|
3193
3192
|
registration_client_uri?: string | undefined;
|
|
3194
3193
|
composio_link_redirect_url?: string | undefined;
|
|
3195
|
-
consumer_key?: string | undefined;
|
|
3196
|
-
oauth_verifier?: string | undefined;
|
|
3197
3194
|
redirectUrl?: string | undefined;
|
|
3198
3195
|
callback_url?: string | undefined;
|
|
3196
|
+
consumer_key?: string | undefined;
|
|
3197
|
+
oauth_verifier?: string | undefined;
|
|
3199
3198
|
} & {
|
|
3200
3199
|
[k: string]: unknown;
|
|
3201
3200
|
};
|
|
3201
|
+
toolkitSlug: string;
|
|
3202
3202
|
} | {
|
|
3203
3203
|
authScheme: "NO_AUTH";
|
|
3204
|
-
toolkitSlug: string;
|
|
3205
3204
|
val: {
|
|
3206
3205
|
version?: string | undefined;
|
|
3207
3206
|
"your-domain"?: string | undefined;
|
|
@@ -3237,9 +3236,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3237
3236
|
} & {
|
|
3238
3237
|
[k: string]: unknown;
|
|
3239
3238
|
};
|
|
3239
|
+
toolkitSlug: string;
|
|
3240
3240
|
} | {
|
|
3241
3241
|
authScheme: "SERVICE_ACCOUNT";
|
|
3242
|
-
toolkitSlug: string;
|
|
3243
3242
|
val: {
|
|
3244
3243
|
application_id: string;
|
|
3245
3244
|
installation_id: string;
|
|
@@ -3278,6 +3277,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3278
3277
|
} & {
|
|
3279
3278
|
[k: string]: unknown;
|
|
3280
3279
|
};
|
|
3280
|
+
toolkitSlug: string;
|
|
3281
3281
|
} | undefined;
|
|
3282
3282
|
arguments?: Record<string, unknown> | undefined;
|
|
3283
3283
|
userId?: string | undefined;
|
|
@@ -3306,14 +3306,14 @@ declare const ToolExecuteResponseSchema: z.ZodObject<{
|
|
|
3306
3306
|
logId: z.ZodOptional<z.ZodString>;
|
|
3307
3307
|
sessionInfo: z.ZodOptional<z.ZodUnknown>;
|
|
3308
3308
|
}, "strip", z.ZodTypeAny, {
|
|
3309
|
-
data: Record<string, unknown>;
|
|
3310
3309
|
error: string | null;
|
|
3310
|
+
data: Record<string, unknown>;
|
|
3311
3311
|
successful: boolean;
|
|
3312
3312
|
logId?: string | undefined;
|
|
3313
3313
|
sessionInfo?: unknown;
|
|
3314
3314
|
}, {
|
|
3315
|
-
data: Record<string, unknown>;
|
|
3316
3315
|
error: string | null;
|
|
3316
|
+
data: Record<string, unknown>;
|
|
3317
3317
|
successful: boolean;
|
|
3318
3318
|
logId?: string | undefined;
|
|
3319
3319
|
sessionInfo?: unknown;
|
|
@@ -3499,7 +3499,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3499
3499
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
3500
3500
|
}, "strip", z.ZodTypeAny, {
|
|
3501
3501
|
authScheme: "OAUTH2";
|
|
3502
|
-
toolkitSlug: string;
|
|
3503
3502
|
val: {
|
|
3504
3503
|
access_token: string;
|
|
3505
3504
|
version?: string | undefined;
|
|
@@ -3533,12 +3532,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3533
3532
|
registration_access_token?: string | undefined;
|
|
3534
3533
|
registration_client_uri?: string | undefined;
|
|
3535
3534
|
composio_link_redirect_url?: string | undefined;
|
|
3535
|
+
webhook_signature?: string | undefined;
|
|
3536
3536
|
id_token?: string | undefined;
|
|
3537
3537
|
token_type?: string | undefined;
|
|
3538
3538
|
refresh_token?: string | null | undefined;
|
|
3539
3539
|
expires_in?: string | number | null | undefined;
|
|
3540
3540
|
scope?: string | string[] | null | undefined;
|
|
3541
|
-
webhook_signature?: string | undefined;
|
|
3542
3541
|
authed_user?: {
|
|
3543
3542
|
access_token?: string | undefined;
|
|
3544
3543
|
scope?: string | undefined;
|
|
@@ -3546,9 +3545,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3546
3545
|
} & {
|
|
3547
3546
|
[k: string]: unknown;
|
|
3548
3547
|
};
|
|
3548
|
+
toolkitSlug: string;
|
|
3549
3549
|
}, {
|
|
3550
3550
|
authScheme: "OAUTH2";
|
|
3551
|
-
toolkitSlug: string;
|
|
3552
3551
|
val: {
|
|
3553
3552
|
access_token: string;
|
|
3554
3553
|
version?: string | undefined;
|
|
@@ -3582,12 +3581,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3582
3581
|
registration_access_token?: string | undefined;
|
|
3583
3582
|
registration_client_uri?: string | undefined;
|
|
3584
3583
|
composio_link_redirect_url?: string | undefined;
|
|
3584
|
+
webhook_signature?: string | undefined;
|
|
3585
3585
|
id_token?: string | undefined;
|
|
3586
3586
|
token_type?: string | undefined;
|
|
3587
3587
|
refresh_token?: string | null | undefined;
|
|
3588
3588
|
expires_in?: string | number | null | undefined;
|
|
3589
3589
|
scope?: string | string[] | null | undefined;
|
|
3590
|
-
webhook_signature?: string | undefined;
|
|
3591
3590
|
authed_user?: {
|
|
3592
3591
|
access_token?: string | undefined;
|
|
3593
3592
|
scope?: string | undefined;
|
|
@@ -3595,6 +3594,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3595
3594
|
} & {
|
|
3596
3595
|
[k: string]: unknown;
|
|
3597
3596
|
};
|
|
3597
|
+
toolkitSlug: string;
|
|
3598
3598
|
}>, z.ZodObject<{
|
|
3599
3599
|
authScheme: z.ZodLiteral<"DCR_OAUTH">;
|
|
3600
3600
|
toolkitSlug: z.ZodString;
|
|
@@ -3706,7 +3706,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3706
3706
|
}, z.ZodUnknown, "strip">>;
|
|
3707
3707
|
}, "strip", z.ZodTypeAny, {
|
|
3708
3708
|
authScheme: "DCR_OAUTH";
|
|
3709
|
-
toolkitSlug: string;
|
|
3710
3709
|
val: {
|
|
3711
3710
|
access_token: string;
|
|
3712
3711
|
client_id: string;
|
|
@@ -3744,9 +3743,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3744
3743
|
} & {
|
|
3745
3744
|
[k: string]: unknown;
|
|
3746
3745
|
};
|
|
3746
|
+
toolkitSlug: string;
|
|
3747
3747
|
}, {
|
|
3748
3748
|
authScheme: "DCR_OAUTH";
|
|
3749
|
-
toolkitSlug: string;
|
|
3750
3749
|
val: {
|
|
3751
3750
|
access_token: string;
|
|
3752
3751
|
client_id: string;
|
|
@@ -3784,6 +3783,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3784
3783
|
} & {
|
|
3785
3784
|
[k: string]: unknown;
|
|
3786
3785
|
};
|
|
3786
|
+
toolkitSlug: string;
|
|
3787
3787
|
}>, z.ZodObject<{
|
|
3788
3788
|
authScheme: z.ZodLiteral<"API_KEY">;
|
|
3789
3789
|
toolkitSlug: z.ZodString;
|
|
@@ -3889,7 +3889,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3889
3889
|
}, z.ZodUnknown, "strip">>;
|
|
3890
3890
|
}, "strip", z.ZodTypeAny, {
|
|
3891
3891
|
authScheme: "API_KEY";
|
|
3892
|
-
toolkitSlug: string;
|
|
3893
3892
|
val: {
|
|
3894
3893
|
version?: string | undefined;
|
|
3895
3894
|
"your-domain"?: string | undefined;
|
|
@@ -3925,9 +3924,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3925
3924
|
} & {
|
|
3926
3925
|
[k: string]: unknown;
|
|
3927
3926
|
};
|
|
3927
|
+
toolkitSlug: string;
|
|
3928
3928
|
}, {
|
|
3929
3929
|
authScheme: "API_KEY";
|
|
3930
|
-
toolkitSlug: string;
|
|
3931
3930
|
val: {
|
|
3932
3931
|
version?: string | undefined;
|
|
3933
3932
|
"your-domain"?: string | undefined;
|
|
@@ -3963,6 +3962,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3963
3962
|
} & {
|
|
3964
3963
|
[k: string]: unknown;
|
|
3965
3964
|
};
|
|
3965
|
+
toolkitSlug: string;
|
|
3966
3966
|
}>, z.ZodObject<{
|
|
3967
3967
|
authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
|
|
3968
3968
|
toolkitSlug: z.ZodString;
|
|
@@ -4074,7 +4074,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4074
4074
|
}, z.ZodUnknown, "strip">>;
|
|
4075
4075
|
}, "strip", z.ZodTypeAny, {
|
|
4076
4076
|
authScheme: "BASIC_WITH_JWT";
|
|
4077
|
-
toolkitSlug: string;
|
|
4078
4077
|
val: {
|
|
4079
4078
|
username: string;
|
|
4080
4079
|
password: string;
|
|
@@ -4112,9 +4111,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4112
4111
|
} & {
|
|
4113
4112
|
[k: string]: unknown;
|
|
4114
4113
|
};
|
|
4114
|
+
toolkitSlug: string;
|
|
4115
4115
|
}, {
|
|
4116
4116
|
authScheme: "BASIC_WITH_JWT";
|
|
4117
|
-
toolkitSlug: string;
|
|
4118
4117
|
val: {
|
|
4119
4118
|
username: string;
|
|
4120
4119
|
password: string;
|
|
@@ -4152,6 +4151,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4152
4151
|
} & {
|
|
4153
4152
|
[k: string]: unknown;
|
|
4154
4153
|
};
|
|
4154
|
+
toolkitSlug: string;
|
|
4155
4155
|
}>, z.ZodObject<{
|
|
4156
4156
|
authScheme: z.ZodLiteral<"BASIC">;
|
|
4157
4157
|
toolkitSlug: z.ZodString;
|
|
@@ -4263,7 +4263,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4263
4263
|
}, z.ZodUnknown, "strip">>;
|
|
4264
4264
|
}, "strip", z.ZodTypeAny, {
|
|
4265
4265
|
authScheme: "BASIC";
|
|
4266
|
-
toolkitSlug: string;
|
|
4267
4266
|
val: {
|
|
4268
4267
|
username: string;
|
|
4269
4268
|
password: string;
|
|
@@ -4301,9 +4300,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4301
4300
|
} & {
|
|
4302
4301
|
[k: string]: unknown;
|
|
4303
4302
|
};
|
|
4303
|
+
toolkitSlug: string;
|
|
4304
4304
|
}, {
|
|
4305
4305
|
authScheme: "BASIC";
|
|
4306
|
-
toolkitSlug: string;
|
|
4307
4306
|
val: {
|
|
4308
4307
|
username: string;
|
|
4309
4308
|
password: string;
|
|
@@ -4341,6 +4340,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4341
4340
|
} & {
|
|
4342
4341
|
[k: string]: unknown;
|
|
4343
4342
|
};
|
|
4343
|
+
toolkitSlug: string;
|
|
4344
4344
|
}>, z.ZodObject<{
|
|
4345
4345
|
authScheme: z.ZodLiteral<"BEARER_TOKEN">;
|
|
4346
4346
|
toolkitSlug: z.ZodString;
|
|
@@ -4449,7 +4449,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4449
4449
|
}, z.ZodUnknown, "strip">>;
|
|
4450
4450
|
}, "strip", z.ZodTypeAny, {
|
|
4451
4451
|
authScheme: "BEARER_TOKEN";
|
|
4452
|
-
toolkitSlug: string;
|
|
4453
4452
|
val: {
|
|
4454
4453
|
token: string;
|
|
4455
4454
|
version?: string | undefined;
|
|
@@ -4486,9 +4485,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4486
4485
|
} & {
|
|
4487
4486
|
[k: string]: unknown;
|
|
4488
4487
|
};
|
|
4488
|
+
toolkitSlug: string;
|
|
4489
4489
|
}, {
|
|
4490
4490
|
authScheme: "BEARER_TOKEN";
|
|
4491
|
-
toolkitSlug: string;
|
|
4492
4491
|
val: {
|
|
4493
4492
|
token: string;
|
|
4494
4493
|
version?: string | undefined;
|
|
@@ -4525,6 +4524,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4525
4524
|
} & {
|
|
4526
4525
|
[k: string]: unknown;
|
|
4527
4526
|
};
|
|
4527
|
+
toolkitSlug: string;
|
|
4528
4528
|
}>, z.ZodObject<{
|
|
4529
4529
|
authScheme: z.ZodLiteral<"OAUTH1">;
|
|
4530
4530
|
toolkitSlug: z.ZodString;
|
|
@@ -4651,7 +4651,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4651
4651
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
4652
4652
|
}, "strip", z.ZodTypeAny, {
|
|
4653
4653
|
authScheme: "OAUTH1";
|
|
4654
|
-
toolkitSlug: string;
|
|
4655
4654
|
val: {
|
|
4656
4655
|
oauth_token: string;
|
|
4657
4656
|
oauth_token_secret: string;
|
|
@@ -4686,16 +4685,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4686
4685
|
registration_access_token?: string | undefined;
|
|
4687
4686
|
registration_client_uri?: string | undefined;
|
|
4688
4687
|
composio_link_redirect_url?: string | undefined;
|
|
4689
|
-
consumer_key?: string | undefined;
|
|
4690
|
-
oauth_verifier?: string | undefined;
|
|
4691
4688
|
redirectUrl?: string | undefined;
|
|
4692
4689
|
callback_url?: string | undefined;
|
|
4690
|
+
consumer_key?: string | undefined;
|
|
4691
|
+
oauth_verifier?: string | undefined;
|
|
4693
4692
|
} & {
|
|
4694
4693
|
[k: string]: unknown;
|
|
4695
4694
|
};
|
|
4695
|
+
toolkitSlug: string;
|
|
4696
4696
|
}, {
|
|
4697
4697
|
authScheme: "OAUTH1";
|
|
4698
|
-
toolkitSlug: string;
|
|
4699
4698
|
val: {
|
|
4700
4699
|
oauth_token: string;
|
|
4701
4700
|
oauth_token_secret: string;
|
|
@@ -4730,13 +4729,14 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4730
4729
|
registration_access_token?: string | undefined;
|
|
4731
4730
|
registration_client_uri?: string | undefined;
|
|
4732
4731
|
composio_link_redirect_url?: string | undefined;
|
|
4733
|
-
consumer_key?: string | undefined;
|
|
4734
|
-
oauth_verifier?: string | undefined;
|
|
4735
4732
|
redirectUrl?: string | undefined;
|
|
4736
4733
|
callback_url?: string | undefined;
|
|
4734
|
+
consumer_key?: string | undefined;
|
|
4735
|
+
oauth_verifier?: string | undefined;
|
|
4737
4736
|
} & {
|
|
4738
4737
|
[k: string]: unknown;
|
|
4739
4738
|
};
|
|
4739
|
+
toolkitSlug: string;
|
|
4740
4740
|
}>, z.ZodObject<{
|
|
4741
4741
|
authScheme: z.ZodLiteral<"NO_AUTH">;
|
|
4742
4742
|
toolkitSlug: z.ZodString;
|
|
@@ -4839,7 +4839,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4839
4839
|
}, z.ZodUnknown, "strip">>;
|
|
4840
4840
|
}, "strip", z.ZodTypeAny, {
|
|
4841
4841
|
authScheme: "NO_AUTH";
|
|
4842
|
-
toolkitSlug: string;
|
|
4843
4842
|
val: {
|
|
4844
4843
|
version?: string | undefined;
|
|
4845
4844
|
"your-domain"?: string | undefined;
|
|
@@ -4875,9 +4874,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4875
4874
|
} & {
|
|
4876
4875
|
[k: string]: unknown;
|
|
4877
4876
|
};
|
|
4877
|
+
toolkitSlug: string;
|
|
4878
4878
|
}, {
|
|
4879
4879
|
authScheme: "NO_AUTH";
|
|
4880
|
-
toolkitSlug: string;
|
|
4881
4880
|
val: {
|
|
4882
4881
|
version?: string | undefined;
|
|
4883
4882
|
"your-domain"?: string | undefined;
|
|
@@ -4913,6 +4912,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4913
4912
|
} & {
|
|
4914
4913
|
[k: string]: unknown;
|
|
4915
4914
|
};
|
|
4915
|
+
toolkitSlug: string;
|
|
4916
4916
|
}>, z.ZodObject<{
|
|
4917
4917
|
authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
4918
4918
|
toolkitSlug: z.ZodString;
|
|
@@ -5027,7 +5027,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5027
5027
|
}, z.ZodUnknown, "strip">>;
|
|
5028
5028
|
}, "strip", z.ZodTypeAny, {
|
|
5029
5029
|
authScheme: "SERVICE_ACCOUNT";
|
|
5030
|
-
toolkitSlug: string;
|
|
5031
5030
|
val: {
|
|
5032
5031
|
application_id: string;
|
|
5033
5032
|
installation_id: string;
|
|
@@ -5066,9 +5065,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5066
5065
|
} & {
|
|
5067
5066
|
[k: string]: unknown;
|
|
5068
5067
|
};
|
|
5068
|
+
toolkitSlug: string;
|
|
5069
5069
|
}, {
|
|
5070
5070
|
authScheme: "SERVICE_ACCOUNT";
|
|
5071
|
-
toolkitSlug: string;
|
|
5072
5071
|
val: {
|
|
5073
5072
|
application_id: string;
|
|
5074
5073
|
installation_id: string;
|
|
@@ -5107,6 +5106,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5107
5106
|
} & {
|
|
5108
5107
|
[k: string]: unknown;
|
|
5109
5108
|
};
|
|
5109
|
+
toolkitSlug: string;
|
|
5110
5110
|
}>]>>;
|
|
5111
5111
|
}, "strip", z.ZodTypeAny, {
|
|
5112
5112
|
endpoint: string;
|
|
@@ -5120,7 +5120,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5120
5120
|
connectedAccountId?: string | undefined;
|
|
5121
5121
|
customConnectionData?: {
|
|
5122
5122
|
authScheme: "OAUTH2";
|
|
5123
|
-
toolkitSlug: string;
|
|
5124
5123
|
val: {
|
|
5125
5124
|
access_token: string;
|
|
5126
5125
|
version?: string | undefined;
|
|
@@ -5154,12 +5153,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5154
5153
|
registration_access_token?: string | undefined;
|
|
5155
5154
|
registration_client_uri?: string | undefined;
|
|
5156
5155
|
composio_link_redirect_url?: string | undefined;
|
|
5156
|
+
webhook_signature?: string | undefined;
|
|
5157
5157
|
id_token?: string | undefined;
|
|
5158
5158
|
token_type?: string | undefined;
|
|
5159
5159
|
refresh_token?: string | null | undefined;
|
|
5160
5160
|
expires_in?: string | number | null | undefined;
|
|
5161
5161
|
scope?: string | string[] | null | undefined;
|
|
5162
|
-
webhook_signature?: string | undefined;
|
|
5163
5162
|
authed_user?: {
|
|
5164
5163
|
access_token?: string | undefined;
|
|
5165
5164
|
scope?: string | undefined;
|
|
@@ -5167,9 +5166,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5167
5166
|
} & {
|
|
5168
5167
|
[k: string]: unknown;
|
|
5169
5168
|
};
|
|
5169
|
+
toolkitSlug: string;
|
|
5170
5170
|
} | {
|
|
5171
5171
|
authScheme: "DCR_OAUTH";
|
|
5172
|
-
toolkitSlug: string;
|
|
5173
5172
|
val: {
|
|
5174
5173
|
access_token: string;
|
|
5175
5174
|
client_id: string;
|
|
@@ -5207,9 +5206,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5207
5206
|
} & {
|
|
5208
5207
|
[k: string]: unknown;
|
|
5209
5208
|
};
|
|
5209
|
+
toolkitSlug: string;
|
|
5210
5210
|
} | {
|
|
5211
5211
|
authScheme: "API_KEY";
|
|
5212
|
-
toolkitSlug: string;
|
|
5213
5212
|
val: {
|
|
5214
5213
|
version?: string | undefined;
|
|
5215
5214
|
"your-domain"?: string | undefined;
|
|
@@ -5245,9 +5244,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5245
5244
|
} & {
|
|
5246
5245
|
[k: string]: unknown;
|
|
5247
5246
|
};
|
|
5247
|
+
toolkitSlug: string;
|
|
5248
5248
|
} | {
|
|
5249
5249
|
authScheme: "BASIC_WITH_JWT";
|
|
5250
|
-
toolkitSlug: string;
|
|
5251
5250
|
val: {
|
|
5252
5251
|
username: string;
|
|
5253
5252
|
password: string;
|
|
@@ -5285,9 +5284,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5285
5284
|
} & {
|
|
5286
5285
|
[k: string]: unknown;
|
|
5287
5286
|
};
|
|
5287
|
+
toolkitSlug: string;
|
|
5288
5288
|
} | {
|
|
5289
5289
|
authScheme: "BASIC";
|
|
5290
|
-
toolkitSlug: string;
|
|
5291
5290
|
val: {
|
|
5292
5291
|
username: string;
|
|
5293
5292
|
password: string;
|
|
@@ -5325,9 +5324,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5325
5324
|
} & {
|
|
5326
5325
|
[k: string]: unknown;
|
|
5327
5326
|
};
|
|
5327
|
+
toolkitSlug: string;
|
|
5328
5328
|
} | {
|
|
5329
5329
|
authScheme: "BEARER_TOKEN";
|
|
5330
|
-
toolkitSlug: string;
|
|
5331
5330
|
val: {
|
|
5332
5331
|
token: string;
|
|
5333
5332
|
version?: string | undefined;
|
|
@@ -5364,9 +5363,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5364
5363
|
} & {
|
|
5365
5364
|
[k: string]: unknown;
|
|
5366
5365
|
};
|
|
5366
|
+
toolkitSlug: string;
|
|
5367
5367
|
} | {
|
|
5368
5368
|
authScheme: "OAUTH1";
|
|
5369
|
-
toolkitSlug: string;
|
|
5370
5369
|
val: {
|
|
5371
5370
|
oauth_token: string;
|
|
5372
5371
|
oauth_token_secret: string;
|
|
@@ -5401,16 +5400,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5401
5400
|
registration_access_token?: string | undefined;
|
|
5402
5401
|
registration_client_uri?: string | undefined;
|
|
5403
5402
|
composio_link_redirect_url?: string | undefined;
|
|
5404
|
-
consumer_key?: string | undefined;
|
|
5405
|
-
oauth_verifier?: string | undefined;
|
|
5406
5403
|
redirectUrl?: string | undefined;
|
|
5407
5404
|
callback_url?: string | undefined;
|
|
5405
|
+
consumer_key?: string | undefined;
|
|
5406
|
+
oauth_verifier?: string | undefined;
|
|
5408
5407
|
} & {
|
|
5409
5408
|
[k: string]: unknown;
|
|
5410
5409
|
};
|
|
5410
|
+
toolkitSlug: string;
|
|
5411
5411
|
} | {
|
|
5412
5412
|
authScheme: "NO_AUTH";
|
|
5413
|
-
toolkitSlug: string;
|
|
5414
5413
|
val: {
|
|
5415
5414
|
version?: string | undefined;
|
|
5416
5415
|
"your-domain"?: string | undefined;
|
|
@@ -5446,9 +5445,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5446
5445
|
} & {
|
|
5447
5446
|
[k: string]: unknown;
|
|
5448
5447
|
};
|
|
5448
|
+
toolkitSlug: string;
|
|
5449
5449
|
} | {
|
|
5450
5450
|
authScheme: "SERVICE_ACCOUNT";
|
|
5451
|
-
toolkitSlug: string;
|
|
5452
5451
|
val: {
|
|
5453
5452
|
application_id: string;
|
|
5454
5453
|
installation_id: string;
|
|
@@ -5487,6 +5486,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5487
5486
|
} & {
|
|
5488
5487
|
[k: string]: unknown;
|
|
5489
5488
|
};
|
|
5489
|
+
toolkitSlug: string;
|
|
5490
5490
|
} | undefined;
|
|
5491
5491
|
}, {
|
|
5492
5492
|
endpoint: string;
|
|
@@ -5500,7 +5500,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5500
5500
|
connectedAccountId?: string | undefined;
|
|
5501
5501
|
customConnectionData?: {
|
|
5502
5502
|
authScheme: "OAUTH2";
|
|
5503
|
-
toolkitSlug: string;
|
|
5504
5503
|
val: {
|
|
5505
5504
|
access_token: string;
|
|
5506
5505
|
version?: string | undefined;
|
|
@@ -5534,12 +5533,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5534
5533
|
registration_access_token?: string | undefined;
|
|
5535
5534
|
registration_client_uri?: string | undefined;
|
|
5536
5535
|
composio_link_redirect_url?: string | undefined;
|
|
5536
|
+
webhook_signature?: string | undefined;
|
|
5537
5537
|
id_token?: string | undefined;
|
|
5538
5538
|
token_type?: string | undefined;
|
|
5539
5539
|
refresh_token?: string | null | undefined;
|
|
5540
5540
|
expires_in?: string | number | null | undefined;
|
|
5541
5541
|
scope?: string | string[] | null | undefined;
|
|
5542
|
-
webhook_signature?: string | undefined;
|
|
5543
5542
|
authed_user?: {
|
|
5544
5543
|
access_token?: string | undefined;
|
|
5545
5544
|
scope?: string | undefined;
|
|
@@ -5547,9 +5546,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5547
5546
|
} & {
|
|
5548
5547
|
[k: string]: unknown;
|
|
5549
5548
|
};
|
|
5549
|
+
toolkitSlug: string;
|
|
5550
5550
|
} | {
|
|
5551
5551
|
authScheme: "DCR_OAUTH";
|
|
5552
|
-
toolkitSlug: string;
|
|
5553
5552
|
val: {
|
|
5554
5553
|
access_token: string;
|
|
5555
5554
|
client_id: string;
|
|
@@ -5587,9 +5586,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5587
5586
|
} & {
|
|
5588
5587
|
[k: string]: unknown;
|
|
5589
5588
|
};
|
|
5589
|
+
toolkitSlug: string;
|
|
5590
5590
|
} | {
|
|
5591
5591
|
authScheme: "API_KEY";
|
|
5592
|
-
toolkitSlug: string;
|
|
5593
5592
|
val: {
|
|
5594
5593
|
version?: string | undefined;
|
|
5595
5594
|
"your-domain"?: string | undefined;
|
|
@@ -5625,9 +5624,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5625
5624
|
} & {
|
|
5626
5625
|
[k: string]: unknown;
|
|
5627
5626
|
};
|
|
5627
|
+
toolkitSlug: string;
|
|
5628
5628
|
} | {
|
|
5629
5629
|
authScheme: "BASIC_WITH_JWT";
|
|
5630
|
-
toolkitSlug: string;
|
|
5631
5630
|
val: {
|
|
5632
5631
|
username: string;
|
|
5633
5632
|
password: string;
|
|
@@ -5665,9 +5664,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5665
5664
|
} & {
|
|
5666
5665
|
[k: string]: unknown;
|
|
5667
5666
|
};
|
|
5667
|
+
toolkitSlug: string;
|
|
5668
5668
|
} | {
|
|
5669
5669
|
authScheme: "BASIC";
|
|
5670
|
-
toolkitSlug: string;
|
|
5671
5670
|
val: {
|
|
5672
5671
|
username: string;
|
|
5673
5672
|
password: string;
|
|
@@ -5705,9 +5704,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5705
5704
|
} & {
|
|
5706
5705
|
[k: string]: unknown;
|
|
5707
5706
|
};
|
|
5707
|
+
toolkitSlug: string;
|
|
5708
5708
|
} | {
|
|
5709
5709
|
authScheme: "BEARER_TOKEN";
|
|
5710
|
-
toolkitSlug: string;
|
|
5711
5710
|
val: {
|
|
5712
5711
|
token: string;
|
|
5713
5712
|
version?: string | undefined;
|
|
@@ -5744,9 +5743,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5744
5743
|
} & {
|
|
5745
5744
|
[k: string]: unknown;
|
|
5746
5745
|
};
|
|
5746
|
+
toolkitSlug: string;
|
|
5747
5747
|
} | {
|
|
5748
5748
|
authScheme: "OAUTH1";
|
|
5749
|
-
toolkitSlug: string;
|
|
5750
5749
|
val: {
|
|
5751
5750
|
oauth_token: string;
|
|
5752
5751
|
oauth_token_secret: string;
|
|
@@ -5781,16 +5780,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5781
5780
|
registration_access_token?: string | undefined;
|
|
5782
5781
|
registration_client_uri?: string | undefined;
|
|
5783
5782
|
composio_link_redirect_url?: string | undefined;
|
|
5784
|
-
consumer_key?: string | undefined;
|
|
5785
|
-
oauth_verifier?: string | undefined;
|
|
5786
5783
|
redirectUrl?: string | undefined;
|
|
5787
5784
|
callback_url?: string | undefined;
|
|
5785
|
+
consumer_key?: string | undefined;
|
|
5786
|
+
oauth_verifier?: string | undefined;
|
|
5788
5787
|
} & {
|
|
5789
5788
|
[k: string]: unknown;
|
|
5790
5789
|
};
|
|
5790
|
+
toolkitSlug: string;
|
|
5791
5791
|
} | {
|
|
5792
5792
|
authScheme: "NO_AUTH";
|
|
5793
|
-
toolkitSlug: string;
|
|
5794
5793
|
val: {
|
|
5795
5794
|
version?: string | undefined;
|
|
5796
5795
|
"your-domain"?: string | undefined;
|
|
@@ -5826,9 +5825,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5826
5825
|
} & {
|
|
5827
5826
|
[k: string]: unknown;
|
|
5828
5827
|
};
|
|
5828
|
+
toolkitSlug: string;
|
|
5829
5829
|
} | {
|
|
5830
5830
|
authScheme: "SERVICE_ACCOUNT";
|
|
5831
|
-
toolkitSlug: string;
|
|
5832
5831
|
val: {
|
|
5833
5832
|
application_id: string;
|
|
5834
5833
|
installation_id: string;
|
|
@@ -5867,6 +5866,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5867
5866
|
} & {
|
|
5868
5867
|
[k: string]: unknown;
|
|
5869
5868
|
};
|
|
5869
|
+
toolkitSlug: string;
|
|
5870
5870
|
} | undefined;
|
|
5871
5871
|
}>;
|
|
5872
5872
|
type ToolProxyParams = z.infer<typeof ToolProxyParamsSchema>;
|
|
@@ -6261,64 +6261,224 @@ type ExecuteToolModifiers = {
|
|
|
6261
6261
|
afterExecute?: afterExecuteModifier;
|
|
6262
6262
|
};
|
|
6263
6263
|
/**
|
|
6264
|
-
*
|
|
6264
|
+
* Type alias for meta tool execution arguments.
|
|
6265
|
+
* Represents the arguments passed to a meta tool during execution.
|
|
6266
|
+
* This is derived from ToolExecuteMetaParams but guaranteed to be non-null.
|
|
6267
|
+
*/
|
|
6268
|
+
type MetaToolArguments = NonNullable<ToolExecuteMetaParams['arguments']>;
|
|
6269
|
+
/**
|
|
6270
|
+
* Modifier for altering the meta tool execute parameters before execution in a session context.
|
|
6265
6271
|
*
|
|
6266
|
-
*
|
|
6267
|
-
*
|
|
6268
|
-
*
|
|
6272
|
+
* This function is specifically designed for meta tools executed within a tool router session,
|
|
6273
|
+
* allowing you to intercept and modify the parameters before execution. Meta tools are
|
|
6274
|
+
* grouped under the 'composio' toolkit slug for organizational purposes.
|
|
6275
|
+
*
|
|
6276
|
+
* @param {string} toolSlug - The slug identifier of the meta tool being executed
|
|
6277
|
+
* @param {string} toolkitSlug - The toolkit slug (always 'composio' for meta tools)
|
|
6278
|
+
* @param {string} sessionId - The session ID for the tool router context
|
|
6279
|
+
* @param {MetaToolArguments} params - The parameters being passed to the meta tool
|
|
6280
|
+
* @returns {MetaToolArguments} The modified parameters
|
|
6269
6281
|
*
|
|
6270
6282
|
* @example
|
|
6271
6283
|
* ```typescript
|
|
6272
|
-
*
|
|
6273
|
-
*
|
|
6274
|
-
* modifySchema: (context) => {
|
|
6275
|
-
* return {
|
|
6276
|
-
* ...context.schema,
|
|
6277
|
-
* description: `Enhanced ${context.toolSlug} for better context`
|
|
6278
|
-
* };
|
|
6279
|
-
* },
|
|
6280
|
-
*
|
|
6281
|
-
* // Intercept before execution
|
|
6282
|
-
* beforeExecute: (context) => {
|
|
6283
|
-
* // Add analytics tracking
|
|
6284
|
-
* trackToolUsage(context.toolSlug);
|
|
6285
|
-
* return context.params;
|
|
6286
|
-
* },
|
|
6284
|
+
* const beforeExecuteMeta = ({ toolSlug, toolkitSlug, sessionId, params }) => {
|
|
6285
|
+
* console.log(`Executing ${toolkitSlug} meta tool ${toolSlug} in session ${sessionId}`);
|
|
6287
6286
|
*
|
|
6288
|
-
* //
|
|
6289
|
-
*
|
|
6290
|
-
*
|
|
6291
|
-
*
|
|
6292
|
-
*
|
|
6293
|
-
*
|
|
6294
|
-
* return context.result;
|
|
6295
|
-
* }
|
|
6296
|
-
* });
|
|
6287
|
+
* // Add or modify parameters
|
|
6288
|
+
* return {
|
|
6289
|
+
* ...params,
|
|
6290
|
+
* timestamp: new Date().toISOString()
|
|
6291
|
+
* };
|
|
6292
|
+
* };
|
|
6297
6293
|
* ```
|
|
6298
6294
|
*/
|
|
6299
|
-
type
|
|
6295
|
+
type beforeExecuteMetaModifier = (context: {
|
|
6296
|
+
toolSlug: string;
|
|
6297
|
+
toolkitSlug: string;
|
|
6298
|
+
sessionId: string;
|
|
6299
|
+
params: MetaToolArguments;
|
|
6300
|
+
}) => Promise<MetaToolArguments> | MetaToolArguments;
|
|
6300
6301
|
/**
|
|
6301
|
-
*
|
|
6302
|
+
* Modifier for altering the meta tool execution response after execution completes in a session context.
|
|
6302
6303
|
*
|
|
6303
|
-
* This
|
|
6304
|
-
*
|
|
6304
|
+
* This function is specifically designed for meta tools executed within a tool router session,
|
|
6305
|
+
* allowing you to intercept and modify the response after execution. This is useful for
|
|
6306
|
+
* session-specific transformations, logging, or error handling.
|
|
6305
6307
|
*
|
|
6306
|
-
* @
|
|
6308
|
+
* @param {string} toolSlug - The slug identifier of the meta tool that was executed
|
|
6309
|
+
* @param {string} toolkitSlug - The toolkit slug (always 'composio' for meta tools)
|
|
6310
|
+
* @param {string} sessionId - The session ID for the tool router context
|
|
6311
|
+
* @param {ToolExecuteResponse} result - The original execution response
|
|
6312
|
+
* @returns {ToolExecuteResponse} The modified execution response
|
|
6307
6313
|
*
|
|
6308
6314
|
* @example
|
|
6309
6315
|
* ```typescript
|
|
6310
|
-
*
|
|
6311
|
-
*
|
|
6312
|
-
*
|
|
6313
|
-
* });
|
|
6316
|
+
* const afterExecuteMeta = ({ toolSlug, toolkitSlug, sessionId, result }) => {
|
|
6317
|
+
* // Log session-specific execution
|
|
6318
|
+
* console.log(`${toolkitSlug} meta tool ${toolSlug} completed in session ${sessionId}`);
|
|
6314
6319
|
*
|
|
6315
|
-
*
|
|
6316
|
-
*
|
|
6317
|
-
*
|
|
6318
|
-
* provider: new VercelProvider()
|
|
6319
|
-
* });
|
|
6320
|
+
* if (!result.successful) {
|
|
6321
|
+
* console.error(`Session ${sessionId} error:`, result.error);
|
|
6322
|
+
* }
|
|
6320
6323
|
*
|
|
6321
|
-
*
|
|
6324
|
+
* return result;
|
|
6325
|
+
* };
|
|
6326
|
+
* ```
|
|
6327
|
+
*/
|
|
6328
|
+
type afterExecuteMetaModifier = (context: {
|
|
6329
|
+
toolSlug: string;
|
|
6330
|
+
toolkitSlug: string;
|
|
6331
|
+
sessionId: string;
|
|
6332
|
+
result: ToolExecuteResponse;
|
|
6333
|
+
}) => Promise<ToolExecuteResponse> | ToolExecuteResponse;
|
|
6334
|
+
/**
|
|
6335
|
+
* Modifiers specifically for meta tool execution within a session context.
|
|
6336
|
+
*
|
|
6337
|
+
* These modifiers are designed for tool router session-based meta tool execution,
|
|
6338
|
+
* providing hooks to intercept and modify both the request and response of meta tools.
|
|
6339
|
+
* Meta tools are grouped under the 'composio' toolkit for organizational consistency.
|
|
6340
|
+
*
|
|
6341
|
+
* @example
|
|
6342
|
+
* ```typescript
|
|
6343
|
+
* const metaModifiers: SessionExecuteMetaModifiers = {
|
|
6344
|
+
* beforeExecute: ({ toolSlug, toolkitSlug, sessionId, params }) => {
|
|
6345
|
+
* // Add session tracking
|
|
6346
|
+
* console.log(`Executing ${toolkitSlug}/${toolSlug}`);
|
|
6347
|
+
* return {
|
|
6348
|
+
* ...params,
|
|
6349
|
+
* sessionMetadata: {
|
|
6350
|
+
* startTime: Date.now(),
|
|
6351
|
+
* sessionId
|
|
6352
|
+
* }
|
|
6353
|
+
* };
|
|
6354
|
+
* },
|
|
6355
|
+
*
|
|
6356
|
+
* afterExecute: ({ toolSlug, toolkitSlug, sessionId, result }) => {
|
|
6357
|
+
* // Transform session results
|
|
6358
|
+
* return {
|
|
6359
|
+
* ...result,
|
|
6360
|
+
* sessionInfo: {
|
|
6361
|
+
* sessionId,
|
|
6362
|
+
* toolSlug,
|
|
6363
|
+
* toolkitSlug,
|
|
6364
|
+
* completedAt: new Date().toISOString()
|
|
6365
|
+
* }
|
|
6366
|
+
* };
|
|
6367
|
+
* }
|
|
6368
|
+
* };
|
|
6369
|
+
* ```
|
|
6370
|
+
*/
|
|
6371
|
+
type SessionExecuteMetaModifiers = {
|
|
6372
|
+
/**
|
|
6373
|
+
* Function to intercept and modify meta tool execution parameters before the tool is executed.
|
|
6374
|
+
* This allows customizing the request based on session-specific needs.
|
|
6375
|
+
*/
|
|
6376
|
+
beforeExecute?: beforeExecuteMetaModifier;
|
|
6377
|
+
/**
|
|
6378
|
+
* Function to intercept and modify meta tool execution responses after the tool has executed.
|
|
6379
|
+
* This allows transforming the response or implementing custom session-specific handling.
|
|
6380
|
+
*/
|
|
6381
|
+
afterExecute?: afterExecuteMetaModifier;
|
|
6382
|
+
};
|
|
6383
|
+
/**
|
|
6384
|
+
* Options for agentic tool configuration.
|
|
6385
|
+
*
|
|
6386
|
+
* These options combine schema modification capabilities with execution behavior
|
|
6387
|
+
* customization, providing full control over both the definition and execution
|
|
6388
|
+
* of tools in agentic contexts (like LLM providers).
|
|
6389
|
+
*
|
|
6390
|
+
* @example
|
|
6391
|
+
* ```typescript
|
|
6392
|
+
* // Configure agentic tools with schema and execution modifications
|
|
6393
|
+
* const agenticTools = await vercel.tools.get('default', 'GITHUB_GET_REPOS', {
|
|
6394
|
+
* modifySchema: (context) => {
|
|
6395
|
+
* return {
|
|
6396
|
+
* ...context.schema,
|
|
6397
|
+
* description: `Enhanced ${context.toolSlug} for better context`
|
|
6398
|
+
* };
|
|
6399
|
+
* },
|
|
6400
|
+
*
|
|
6401
|
+
* // Intercept before execution
|
|
6402
|
+
* beforeExecute: (context) => {
|
|
6403
|
+
* // Add analytics tracking
|
|
6404
|
+
* trackToolUsage(context.toolSlug);
|
|
6405
|
+
* return context.params;
|
|
6406
|
+
* },
|
|
6407
|
+
*
|
|
6408
|
+
* // Transform after execution
|
|
6409
|
+
* afterExecute: (context) => {
|
|
6410
|
+
* // Log results and handle errors
|
|
6411
|
+
* if (!context.result.successful) {
|
|
6412
|
+
* logToolError(context.toolSlug, context.result.error);
|
|
6413
|
+
* }
|
|
6414
|
+
* return context.result;
|
|
6415
|
+
* }
|
|
6416
|
+
* });
|
|
6417
|
+
* ```
|
|
6418
|
+
*/
|
|
6419
|
+
type AgenticToolOptions = ToolOptions & ExecuteToolModifiers;
|
|
6420
|
+
/**
|
|
6421
|
+
* Options for session-based meta tool configuration in tool router contexts.
|
|
6422
|
+
*
|
|
6423
|
+
* These options combine schema modification capabilities with session-specific execution
|
|
6424
|
+
* behavior customization, providing control over both the definition and execution
|
|
6425
|
+
* of meta tools within a tool router session. Meta tools are grouped under the 'composio' toolkit.
|
|
6426
|
+
*
|
|
6427
|
+
* @example
|
|
6428
|
+
* ```typescript
|
|
6429
|
+
* // Configure meta tools with schema and session-specific execution modifications
|
|
6430
|
+
* const sessionTools = await toolRouter.getTools(sessionId, {
|
|
6431
|
+
* modifySchema: (context) => {
|
|
6432
|
+
* return {
|
|
6433
|
+
* ...context.schema,
|
|
6434
|
+
* description: `Session-specific ${context.toolSlug}`
|
|
6435
|
+
* };
|
|
6436
|
+
* },
|
|
6437
|
+
*
|
|
6438
|
+
* // Intercept before meta tool execution
|
|
6439
|
+
* beforeExecute: ({ toolSlug, toolkitSlug, sessionId, params }) => {
|
|
6440
|
+
* // Add session tracking
|
|
6441
|
+
* console.log(`Executing ${toolkitSlug}/${toolSlug}`);
|
|
6442
|
+
* return {
|
|
6443
|
+
* ...params,
|
|
6444
|
+
* sessionMetadata: { sessionId, timestamp: Date.now() }
|
|
6445
|
+
* };
|
|
6446
|
+
* },
|
|
6447
|
+
*
|
|
6448
|
+
* // Transform after meta tool execution
|
|
6449
|
+
* afterExecute: ({ toolSlug, toolkitSlug, sessionId, result }) => {
|
|
6450
|
+
* // Log session results
|
|
6451
|
+
* if (!result.successful) {
|
|
6452
|
+
* logSessionError(sessionId, toolkitSlug, toolSlug, result.error);
|
|
6453
|
+
* }
|
|
6454
|
+
* return result;
|
|
6455
|
+
* }
|
|
6456
|
+
* });
|
|
6457
|
+
* ```
|
|
6458
|
+
*/
|
|
6459
|
+
type SessionMetaToolOptions = ToolOptions & SessionExecuteMetaModifiers;
|
|
6460
|
+
/**
|
|
6461
|
+
* Provider-specific options determined by the type of provider being used.
|
|
6462
|
+
*
|
|
6463
|
+
* This type automatically resolves to either AgenticToolOptions or ToolOptions
|
|
6464
|
+
* based on whether the provider is agentic (like OpenAI or Vercel) or non-agentic.
|
|
6465
|
+
*
|
|
6466
|
+
* @template T - The provider type
|
|
6467
|
+
*
|
|
6468
|
+
* @example
|
|
6469
|
+
* ```typescript
|
|
6470
|
+
* // With standard provider (non-agentic)
|
|
6471
|
+
* const tools = await composio.tools.get('default', 'GITHUB_GET_REPOS', {
|
|
6472
|
+
* modifySchema: (context) => context.schema
|
|
6473
|
+
* });
|
|
6474
|
+
*
|
|
6475
|
+
* // With agentic provider (e.g., VercelProvider)
|
|
6476
|
+
* const vercel = new Composio({
|
|
6477
|
+
* apiKey: process.env.COMPOSIO_API_KEY,
|
|
6478
|
+
* provider: new VercelProvider()
|
|
6479
|
+
* });
|
|
6480
|
+
*
|
|
6481
|
+
* const agenticTools = await vercel.tools.get('default', 'GITHUB_GET_REPOS', {
|
|
6322
6482
|
* modifySchema: (context) => context.schema,
|
|
6323
6483
|
* beforeExecute: (context) => context.params,
|
|
6324
6484
|
* afterExecute: (context) => context.result
|
|
@@ -10939,13 +11099,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
10939
11099
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
10940
11100
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
10941
11101
|
} & {
|
|
10942
|
-
status: z.ZodLiteral<"
|
|
11102
|
+
status: z.ZodLiteral<"INITIATED">;
|
|
11103
|
+
authUri: z.ZodString;
|
|
10943
11104
|
oauth_token: z.ZodString;
|
|
10944
11105
|
oauth_token_secret: z.ZodString;
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
10948
|
-
callback_url: z.ZodOptional<z.ZodString>;
|
|
11106
|
+
redirectUrl: z.ZodString;
|
|
11107
|
+
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
10949
11108
|
}, z.ZodUnknown, "strip"> | z.objectOutputType<{
|
|
10950
11109
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
10951
11110
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -10979,12 +11138,13 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
10979
11138
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
10980
11139
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
10981
11140
|
} & {
|
|
10982
|
-
status: z.ZodLiteral<"
|
|
10983
|
-
authUri: z.ZodString;
|
|
11141
|
+
status: z.ZodLiteral<"ACTIVE">;
|
|
10984
11142
|
oauth_token: z.ZodString;
|
|
10985
11143
|
oauth_token_secret: z.ZodString;
|
|
10986
|
-
|
|
10987
|
-
|
|
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>;
|
|
10988
11148
|
}, z.ZodUnknown, "strip"> | z.objectOutputType<{
|
|
10989
11149
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
10990
11150
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -11166,13 +11326,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
11166
11326
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
11167
11327
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
11168
11328
|
} & {
|
|
11169
|
-
status: z.ZodLiteral<"
|
|
11329
|
+
status: z.ZodLiteral<"INITIATED">;
|
|
11330
|
+
authUri: z.ZodString;
|
|
11170
11331
|
oauth_token: z.ZodString;
|
|
11171
11332
|
oauth_token_secret: z.ZodString;
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
11175
|
-
callback_url: z.ZodOptional<z.ZodString>;
|
|
11333
|
+
redirectUrl: z.ZodString;
|
|
11334
|
+
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
11176
11335
|
}, z.ZodUnknown, "strip"> | z.objectInputType<{
|
|
11177
11336
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
11178
11337
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -11206,12 +11365,13 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
11206
11365
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
11207
11366
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
11208
11367
|
} & {
|
|
11209
|
-
status: z.ZodLiteral<"
|
|
11210
|
-
authUri: z.ZodString;
|
|
11368
|
+
status: z.ZodLiteral<"ACTIVE">;
|
|
11211
11369
|
oauth_token: z.ZodString;
|
|
11212
11370
|
oauth_token_secret: z.ZodString;
|
|
11213
|
-
|
|
11214
|
-
|
|
11371
|
+
consumer_key: z.ZodOptional<z.ZodString>;
|
|
11372
|
+
oauth_verifier: z.ZodOptional<z.ZodString>;
|
|
11373
|
+
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
11374
|
+
callback_url: z.ZodOptional<z.ZodString>;
|
|
11215
11375
|
}, z.ZodUnknown, "strip"> | z.objectInputType<{
|
|
11216
11376
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
11217
11377
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -12137,24 +12297,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
12137
12297
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
12138
12298
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
12139
12299
|
} & {
|
|
12140
|
-
status: z.ZodLiteral<"
|
|
12141
|
-
|
|
12142
|
-
|
|
12143
|
-
|
|
12144
|
-
|
|
12145
|
-
expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
12146
|
-
scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
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>;
|
|
12147
12305
|
webhook_signature: z.ZodOptional<z.ZodString>;
|
|
12148
|
-
authed_user: z.ZodOptional<z.ZodObject<{
|
|
12149
|
-
access_token: z.ZodOptional<z.ZodString>;
|
|
12150
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
12151
|
-
}, "strip", z.ZodTypeAny, {
|
|
12152
|
-
access_token?: string | undefined;
|
|
12153
|
-
scope?: string | undefined;
|
|
12154
|
-
}, {
|
|
12155
|
-
access_token?: string | undefined;
|
|
12156
|
-
scope?: string | undefined;
|
|
12157
|
-
}>>;
|
|
12158
12306
|
}, z.ZodUnknown, "strip"> | z.objectOutputType<{
|
|
12159
12307
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
12160
12308
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -12188,12 +12336,24 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
12188
12336
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
12189
12337
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
12190
12338
|
} & {
|
|
12191
|
-
status: z.ZodLiteral<"
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
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]>>;
|
|
12196
12346
|
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
|
+
}>>;
|
|
12197
12357
|
}, z.ZodUnknown, "strip"> | z.objectOutputType<{
|
|
12198
12358
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
12199
12359
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -12386,24 +12546,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
12386
12546
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
12387
12547
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
12388
12548
|
} & {
|
|
12389
|
-
status: z.ZodLiteral<"
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
12395
|
-
scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
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>;
|
|
12396
12554
|
webhook_signature: z.ZodOptional<z.ZodString>;
|
|
12397
|
-
authed_user: z.ZodOptional<z.ZodObject<{
|
|
12398
|
-
access_token: z.ZodOptional<z.ZodString>;
|
|
12399
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
12400
|
-
}, "strip", z.ZodTypeAny, {
|
|
12401
|
-
access_token?: string | undefined;
|
|
12402
|
-
scope?: string | undefined;
|
|
12403
|
-
}, {
|
|
12404
|
-
access_token?: string | undefined;
|
|
12405
|
-
scope?: string | undefined;
|
|
12406
|
-
}>>;
|
|
12407
12555
|
}, z.ZodUnknown, "strip"> | z.objectInputType<{
|
|
12408
12556
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
12409
12557
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -12437,12 +12585,24 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
12437
12585
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
12438
12586
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
12439
12587
|
} & {
|
|
12440
|
-
status: z.ZodLiteral<"
|
|
12441
|
-
|
|
12442
|
-
|
|
12443
|
-
|
|
12444
|
-
|
|
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]>>;
|
|
12445
12595
|
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
|
+
}>>;
|
|
12446
12606
|
}, z.ZodUnknown, "strip"> | z.objectInputType<{
|
|
12447
12607
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
12448
12608
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -24179,7 +24339,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24179
24339
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
24180
24340
|
}, "strip", z.ZodTypeAny, {
|
|
24181
24341
|
authScheme: "OAUTH2";
|
|
24182
|
-
toolkitSlug: string;
|
|
24183
24342
|
val: {
|
|
24184
24343
|
access_token: string;
|
|
24185
24344
|
version?: string | undefined;
|
|
@@ -24213,12 +24372,12 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24213
24372
|
registration_access_token?: string | undefined;
|
|
24214
24373
|
registration_client_uri?: string | undefined;
|
|
24215
24374
|
composio_link_redirect_url?: string | undefined;
|
|
24375
|
+
webhook_signature?: string | undefined;
|
|
24216
24376
|
id_token?: string | undefined;
|
|
24217
24377
|
token_type?: string | undefined;
|
|
24218
24378
|
refresh_token?: string | null | undefined;
|
|
24219
24379
|
expires_in?: string | number | null | undefined;
|
|
24220
24380
|
scope?: string | string[] | null | undefined;
|
|
24221
|
-
webhook_signature?: string | undefined;
|
|
24222
24381
|
authed_user?: {
|
|
24223
24382
|
access_token?: string | undefined;
|
|
24224
24383
|
scope?: string | undefined;
|
|
@@ -24226,9 +24385,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24226
24385
|
} & {
|
|
24227
24386
|
[k: string]: unknown;
|
|
24228
24387
|
};
|
|
24388
|
+
toolkitSlug: string;
|
|
24229
24389
|
}, {
|
|
24230
24390
|
authScheme: "OAUTH2";
|
|
24231
|
-
toolkitSlug: string;
|
|
24232
24391
|
val: {
|
|
24233
24392
|
access_token: string;
|
|
24234
24393
|
version?: string | undefined;
|
|
@@ -24262,12 +24421,12 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24262
24421
|
registration_access_token?: string | undefined;
|
|
24263
24422
|
registration_client_uri?: string | undefined;
|
|
24264
24423
|
composio_link_redirect_url?: string | undefined;
|
|
24424
|
+
webhook_signature?: string | undefined;
|
|
24265
24425
|
id_token?: string | undefined;
|
|
24266
24426
|
token_type?: string | undefined;
|
|
24267
24427
|
refresh_token?: string | null | undefined;
|
|
24268
24428
|
expires_in?: string | number | null | undefined;
|
|
24269
24429
|
scope?: string | string[] | null | undefined;
|
|
24270
|
-
webhook_signature?: string | undefined;
|
|
24271
24430
|
authed_user?: {
|
|
24272
24431
|
access_token?: string | undefined;
|
|
24273
24432
|
scope?: string | undefined;
|
|
@@ -24275,6 +24434,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24275
24434
|
} & {
|
|
24276
24435
|
[k: string]: unknown;
|
|
24277
24436
|
};
|
|
24437
|
+
toolkitSlug: string;
|
|
24278
24438
|
}>, z.ZodObject<{
|
|
24279
24439
|
authScheme: z.ZodLiteral<"DCR_OAUTH">;
|
|
24280
24440
|
toolkitSlug: z.ZodString;
|
|
@@ -24386,7 +24546,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24386
24546
|
}, z.ZodUnknown, "strip">>;
|
|
24387
24547
|
}, "strip", z.ZodTypeAny, {
|
|
24388
24548
|
authScheme: "DCR_OAUTH";
|
|
24389
|
-
toolkitSlug: string;
|
|
24390
24549
|
val: {
|
|
24391
24550
|
access_token: string;
|
|
24392
24551
|
client_id: string;
|
|
@@ -24424,9 +24583,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24424
24583
|
} & {
|
|
24425
24584
|
[k: string]: unknown;
|
|
24426
24585
|
};
|
|
24586
|
+
toolkitSlug: string;
|
|
24427
24587
|
}, {
|
|
24428
24588
|
authScheme: "DCR_OAUTH";
|
|
24429
|
-
toolkitSlug: string;
|
|
24430
24589
|
val: {
|
|
24431
24590
|
access_token: string;
|
|
24432
24591
|
client_id: string;
|
|
@@ -24464,6 +24623,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24464
24623
|
} & {
|
|
24465
24624
|
[k: string]: unknown;
|
|
24466
24625
|
};
|
|
24626
|
+
toolkitSlug: string;
|
|
24467
24627
|
}>, z.ZodObject<{
|
|
24468
24628
|
authScheme: z.ZodLiteral<"API_KEY">;
|
|
24469
24629
|
toolkitSlug: z.ZodString;
|
|
@@ -24569,7 +24729,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24569
24729
|
}, z.ZodUnknown, "strip">>;
|
|
24570
24730
|
}, "strip", z.ZodTypeAny, {
|
|
24571
24731
|
authScheme: "API_KEY";
|
|
24572
|
-
toolkitSlug: string;
|
|
24573
24732
|
val: {
|
|
24574
24733
|
version?: string | undefined;
|
|
24575
24734
|
"your-domain"?: string | undefined;
|
|
@@ -24605,9 +24764,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24605
24764
|
} & {
|
|
24606
24765
|
[k: string]: unknown;
|
|
24607
24766
|
};
|
|
24767
|
+
toolkitSlug: string;
|
|
24608
24768
|
}, {
|
|
24609
24769
|
authScheme: "API_KEY";
|
|
24610
|
-
toolkitSlug: string;
|
|
24611
24770
|
val: {
|
|
24612
24771
|
version?: string | undefined;
|
|
24613
24772
|
"your-domain"?: string | undefined;
|
|
@@ -24643,6 +24802,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24643
24802
|
} & {
|
|
24644
24803
|
[k: string]: unknown;
|
|
24645
24804
|
};
|
|
24805
|
+
toolkitSlug: string;
|
|
24646
24806
|
}>, z.ZodObject<{
|
|
24647
24807
|
authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
|
|
24648
24808
|
toolkitSlug: z.ZodString;
|
|
@@ -24754,7 +24914,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24754
24914
|
}, z.ZodUnknown, "strip">>;
|
|
24755
24915
|
}, "strip", z.ZodTypeAny, {
|
|
24756
24916
|
authScheme: "BASIC_WITH_JWT";
|
|
24757
|
-
toolkitSlug: string;
|
|
24758
24917
|
val: {
|
|
24759
24918
|
username: string;
|
|
24760
24919
|
password: string;
|
|
@@ -24792,9 +24951,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24792
24951
|
} & {
|
|
24793
24952
|
[k: string]: unknown;
|
|
24794
24953
|
};
|
|
24954
|
+
toolkitSlug: string;
|
|
24795
24955
|
}, {
|
|
24796
24956
|
authScheme: "BASIC_WITH_JWT";
|
|
24797
|
-
toolkitSlug: string;
|
|
24798
24957
|
val: {
|
|
24799
24958
|
username: string;
|
|
24800
24959
|
password: string;
|
|
@@ -24832,6 +24991,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24832
24991
|
} & {
|
|
24833
24992
|
[k: string]: unknown;
|
|
24834
24993
|
};
|
|
24994
|
+
toolkitSlug: string;
|
|
24835
24995
|
}>, z.ZodObject<{
|
|
24836
24996
|
authScheme: z.ZodLiteral<"BASIC">;
|
|
24837
24997
|
toolkitSlug: z.ZodString;
|
|
@@ -24943,7 +25103,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24943
25103
|
}, z.ZodUnknown, "strip">>;
|
|
24944
25104
|
}, "strip", z.ZodTypeAny, {
|
|
24945
25105
|
authScheme: "BASIC";
|
|
24946
|
-
toolkitSlug: string;
|
|
24947
25106
|
val: {
|
|
24948
25107
|
username: string;
|
|
24949
25108
|
password: string;
|
|
@@ -24981,9 +25140,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24981
25140
|
} & {
|
|
24982
25141
|
[k: string]: unknown;
|
|
24983
25142
|
};
|
|
25143
|
+
toolkitSlug: string;
|
|
24984
25144
|
}, {
|
|
24985
25145
|
authScheme: "BASIC";
|
|
24986
|
-
toolkitSlug: string;
|
|
24987
25146
|
val: {
|
|
24988
25147
|
username: string;
|
|
24989
25148
|
password: string;
|
|
@@ -25021,6 +25180,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25021
25180
|
} & {
|
|
25022
25181
|
[k: string]: unknown;
|
|
25023
25182
|
};
|
|
25183
|
+
toolkitSlug: string;
|
|
25024
25184
|
}>, z.ZodObject<{
|
|
25025
25185
|
authScheme: z.ZodLiteral<"BEARER_TOKEN">;
|
|
25026
25186
|
toolkitSlug: z.ZodString;
|
|
@@ -25129,7 +25289,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25129
25289
|
}, z.ZodUnknown, "strip">>;
|
|
25130
25290
|
}, "strip", z.ZodTypeAny, {
|
|
25131
25291
|
authScheme: "BEARER_TOKEN";
|
|
25132
|
-
toolkitSlug: string;
|
|
25133
25292
|
val: {
|
|
25134
25293
|
token: string;
|
|
25135
25294
|
version?: string | undefined;
|
|
@@ -25166,9 +25325,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25166
25325
|
} & {
|
|
25167
25326
|
[k: string]: unknown;
|
|
25168
25327
|
};
|
|
25328
|
+
toolkitSlug: string;
|
|
25169
25329
|
}, {
|
|
25170
25330
|
authScheme: "BEARER_TOKEN";
|
|
25171
|
-
toolkitSlug: string;
|
|
25172
25331
|
val: {
|
|
25173
25332
|
token: string;
|
|
25174
25333
|
version?: string | undefined;
|
|
@@ -25205,6 +25364,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25205
25364
|
} & {
|
|
25206
25365
|
[k: string]: unknown;
|
|
25207
25366
|
};
|
|
25367
|
+
toolkitSlug: string;
|
|
25208
25368
|
}>, z.ZodObject<{
|
|
25209
25369
|
authScheme: z.ZodLiteral<"OAUTH1">;
|
|
25210
25370
|
toolkitSlug: z.ZodString;
|
|
@@ -25331,7 +25491,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25331
25491
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
25332
25492
|
}, "strip", z.ZodTypeAny, {
|
|
25333
25493
|
authScheme: "OAUTH1";
|
|
25334
|
-
toolkitSlug: string;
|
|
25335
25494
|
val: {
|
|
25336
25495
|
oauth_token: string;
|
|
25337
25496
|
oauth_token_secret: string;
|
|
@@ -25366,16 +25525,16 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25366
25525
|
registration_access_token?: string | undefined;
|
|
25367
25526
|
registration_client_uri?: string | undefined;
|
|
25368
25527
|
composio_link_redirect_url?: string | undefined;
|
|
25369
|
-
consumer_key?: string | undefined;
|
|
25370
|
-
oauth_verifier?: string | undefined;
|
|
25371
25528
|
redirectUrl?: string | undefined;
|
|
25372
25529
|
callback_url?: string | undefined;
|
|
25530
|
+
consumer_key?: string | undefined;
|
|
25531
|
+
oauth_verifier?: string | undefined;
|
|
25373
25532
|
} & {
|
|
25374
25533
|
[k: string]: unknown;
|
|
25375
25534
|
};
|
|
25535
|
+
toolkitSlug: string;
|
|
25376
25536
|
}, {
|
|
25377
25537
|
authScheme: "OAUTH1";
|
|
25378
|
-
toolkitSlug: string;
|
|
25379
25538
|
val: {
|
|
25380
25539
|
oauth_token: string;
|
|
25381
25540
|
oauth_token_secret: string;
|
|
@@ -25410,13 +25569,14 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25410
25569
|
registration_access_token?: string | undefined;
|
|
25411
25570
|
registration_client_uri?: string | undefined;
|
|
25412
25571
|
composio_link_redirect_url?: string | undefined;
|
|
25413
|
-
consumer_key?: string | undefined;
|
|
25414
|
-
oauth_verifier?: string | undefined;
|
|
25415
25572
|
redirectUrl?: string | undefined;
|
|
25416
25573
|
callback_url?: string | undefined;
|
|
25574
|
+
consumer_key?: string | undefined;
|
|
25575
|
+
oauth_verifier?: string | undefined;
|
|
25417
25576
|
} & {
|
|
25418
25577
|
[k: string]: unknown;
|
|
25419
25578
|
};
|
|
25579
|
+
toolkitSlug: string;
|
|
25420
25580
|
}>, z.ZodObject<{
|
|
25421
25581
|
authScheme: z.ZodLiteral<"NO_AUTH">;
|
|
25422
25582
|
toolkitSlug: z.ZodString;
|
|
@@ -25519,7 +25679,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25519
25679
|
}, z.ZodUnknown, "strip">>;
|
|
25520
25680
|
}, "strip", z.ZodTypeAny, {
|
|
25521
25681
|
authScheme: "NO_AUTH";
|
|
25522
|
-
toolkitSlug: string;
|
|
25523
25682
|
val: {
|
|
25524
25683
|
version?: string | undefined;
|
|
25525
25684
|
"your-domain"?: string | undefined;
|
|
@@ -25555,9 +25714,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25555
25714
|
} & {
|
|
25556
25715
|
[k: string]: unknown;
|
|
25557
25716
|
};
|
|
25717
|
+
toolkitSlug: string;
|
|
25558
25718
|
}, {
|
|
25559
25719
|
authScheme: "NO_AUTH";
|
|
25560
|
-
toolkitSlug: string;
|
|
25561
25720
|
val: {
|
|
25562
25721
|
version?: string | undefined;
|
|
25563
25722
|
"your-domain"?: string | undefined;
|
|
@@ -25593,6 +25752,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25593
25752
|
} & {
|
|
25594
25753
|
[k: string]: unknown;
|
|
25595
25754
|
};
|
|
25755
|
+
toolkitSlug: string;
|
|
25596
25756
|
}>, z.ZodObject<{
|
|
25597
25757
|
authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
25598
25758
|
toolkitSlug: z.ZodString;
|
|
@@ -25707,7 +25867,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25707
25867
|
}, z.ZodUnknown, "strip">>;
|
|
25708
25868
|
}, "strip", z.ZodTypeAny, {
|
|
25709
25869
|
authScheme: "SERVICE_ACCOUNT";
|
|
25710
|
-
toolkitSlug: string;
|
|
25711
25870
|
val: {
|
|
25712
25871
|
application_id: string;
|
|
25713
25872
|
installation_id: string;
|
|
@@ -25746,9 +25905,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25746
25905
|
} & {
|
|
25747
25906
|
[k: string]: unknown;
|
|
25748
25907
|
};
|
|
25908
|
+
toolkitSlug: string;
|
|
25749
25909
|
}, {
|
|
25750
25910
|
authScheme: "SERVICE_ACCOUNT";
|
|
25751
|
-
toolkitSlug: string;
|
|
25752
25911
|
val: {
|
|
25753
25912
|
application_id: string;
|
|
25754
25913
|
installation_id: string;
|
|
@@ -25787,6 +25946,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25787
25946
|
} & {
|
|
25788
25947
|
[k: string]: unknown;
|
|
25789
25948
|
};
|
|
25949
|
+
toolkitSlug: string;
|
|
25790
25950
|
}>]>;
|
|
25791
25951
|
type CustomConnectionData = z.infer<typeof CustomConnectionDataSchema>;
|
|
25792
25952
|
//#endregion
|
|
@@ -25893,12 +26053,12 @@ declare const MCPGenerateURLParamsSchema: z.ZodObject<{
|
|
|
25893
26053
|
connectedAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25894
26054
|
isChatAuth: z.ZodOptional<z.ZodBoolean>;
|
|
25895
26055
|
}, "strip", z.ZodTypeAny, {
|
|
25896
|
-
userIds?: string[] | undefined;
|
|
25897
26056
|
connectedAccountIds?: string[] | undefined;
|
|
26057
|
+
userIds?: string[] | undefined;
|
|
25898
26058
|
isChatAuth?: boolean | undefined;
|
|
25899
26059
|
}, {
|
|
25900
|
-
userIds?: string[] | undefined;
|
|
25901
26060
|
connectedAccountIds?: string[] | undefined;
|
|
26061
|
+
userIds?: string[] | undefined;
|
|
25902
26062
|
isChatAuth?: boolean | undefined;
|
|
25903
26063
|
}>;
|
|
25904
26064
|
type MCPGenerateURLParams = z.infer<typeof MCPGenerateURLParamsSchema>;
|
|
@@ -25925,13 +26085,13 @@ declare const GenerateURLParamsSchema: z.ZodObject<{
|
|
|
25925
26085
|
composioManagedAuth: z.ZodOptional<z.ZodBoolean>;
|
|
25926
26086
|
}, "strip", z.ZodTypeAny, {
|
|
25927
26087
|
mcpServerId: string;
|
|
25928
|
-
userIds?: string[] | undefined;
|
|
25929
26088
|
connectedAccountIds?: string[] | undefined;
|
|
26089
|
+
userIds?: string[] | undefined;
|
|
25930
26090
|
composioManagedAuth?: boolean | undefined;
|
|
25931
26091
|
}, {
|
|
25932
26092
|
mcpServerId: string;
|
|
25933
|
-
userIds?: string[] | undefined;
|
|
25934
26093
|
connectedAccountIds?: string[] | undefined;
|
|
26094
|
+
userIds?: string[] | undefined;
|
|
25935
26095
|
composioManagedAuth?: boolean | undefined;
|
|
25936
26096
|
}>;
|
|
25937
26097
|
type GenerateURLParams = z.infer<typeof GenerateURLParamsSchema>;
|
|
@@ -26457,10 +26617,10 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
|
|
|
26457
26617
|
windsurf: string;
|
|
26458
26618
|
};
|
|
26459
26619
|
status?: string | undefined;
|
|
26620
|
+
createdAt?: string | undefined;
|
|
26460
26621
|
tools?: string[] | undefined;
|
|
26461
26622
|
toolkits?: string[] | undefined;
|
|
26462
26623
|
authConfigIds?: string[] | undefined;
|
|
26463
|
-
createdAt?: string | undefined;
|
|
26464
26624
|
updatedAt?: string | undefined;
|
|
26465
26625
|
managedAuthViaComposio?: boolean | undefined;
|
|
26466
26626
|
}, {
|
|
@@ -26473,10 +26633,10 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
|
|
|
26473
26633
|
windsurf: string;
|
|
26474
26634
|
};
|
|
26475
26635
|
status?: string | undefined;
|
|
26636
|
+
createdAt?: string | undefined;
|
|
26476
26637
|
tools?: string[] | undefined;
|
|
26477
26638
|
toolkits?: string[] | undefined;
|
|
26478
26639
|
authConfigIds?: string[] | undefined;
|
|
26479
|
-
createdAt?: string | undefined;
|
|
26480
26640
|
updatedAt?: string | undefined;
|
|
26481
26641
|
managedAuthViaComposio?: boolean | undefined;
|
|
26482
26642
|
}>;
|
|
@@ -26546,17 +26706,17 @@ declare const McpUpdateResponseSchema: z.ZodObject<{
|
|
|
26546
26706
|
name: string;
|
|
26547
26707
|
id: string;
|
|
26548
26708
|
status?: string | undefined;
|
|
26709
|
+
createdAt?: string | undefined;
|
|
26549
26710
|
tools?: string[] | undefined;
|
|
26550
26711
|
toolkits?: string[] | undefined;
|
|
26551
|
-
createdAt?: string | undefined;
|
|
26552
26712
|
updatedAt?: string | undefined;
|
|
26553
26713
|
}, {
|
|
26554
26714
|
name: string;
|
|
26555
26715
|
id: string;
|
|
26556
26716
|
status?: string | undefined;
|
|
26717
|
+
createdAt?: string | undefined;
|
|
26557
26718
|
tools?: string[] | undefined;
|
|
26558
26719
|
toolkits?: string[] | undefined;
|
|
26559
|
-
createdAt?: string | undefined;
|
|
26560
26720
|
updatedAt?: string | undefined;
|
|
26561
26721
|
}>;
|
|
26562
26722
|
declare const ComposioMcpUpdateResponseSchema: z.ZodObject<{
|
|
@@ -26850,6 +27010,23 @@ declare class Tools<TToolCollection$1, TTool$1, TProvider extends BaseComposioPr
|
|
|
26850
27010
|
* ```
|
|
26851
27011
|
*/
|
|
26852
27012
|
getRawComposioTools(query: ToolListParams, options?: SchemaModifierOptions): Promise<ToolList>;
|
|
27013
|
+
/**
|
|
27014
|
+
* Fetches the meta tools for a tool router session.
|
|
27015
|
+
* This method fetches the meta tools from the Composio API and transforms them to the expected format.
|
|
27016
|
+
* It provides access to the underlying meta tool data without provider-specific wrapping.
|
|
27017
|
+
*
|
|
27018
|
+
* @param sessionId {string} The session id to get the meta tools for
|
|
27019
|
+
* @param options {SchemaModifierOptions} Optional configuration for tool retrieval
|
|
27020
|
+
* @param {TransformToolSchemaModifier} [options.modifySchema] - Function to transform the tool schema
|
|
27021
|
+
* @returns {Promise<ToolList>} The list of meta tools
|
|
27022
|
+
*
|
|
27023
|
+
* @example
|
|
27024
|
+
* ```typescript
|
|
27025
|
+
* const metaTools = await composio.tools.getRawToolRouterMetaTools('session_123');
|
|
27026
|
+
* console.log(metaTools);
|
|
27027
|
+
* ```
|
|
27028
|
+
*/
|
|
27029
|
+
getRawToolRouterMetaTools(sessionId: string, options?: SchemaModifierOptions): Promise<ToolList>;
|
|
26853
27030
|
/**
|
|
26854
27031
|
* Retrieves a specific tool by its slug from the Composio API.
|
|
26855
27032
|
*
|
|
@@ -26985,10 +27162,10 @@ declare class Tools<TToolCollection$1, TTool$1, TProvider extends BaseComposioPr
|
|
|
26985
27162
|
*
|
|
26986
27163
|
* @param {string} sessionId - The session id to execute the tool for
|
|
26987
27164
|
* @param {Tool[]} tools - The tools to wrap
|
|
26988
|
-
* @param {
|
|
27165
|
+
* @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
|
|
26989
27166
|
* @returns {Tool[]} The wrapped tools
|
|
26990
27167
|
*/
|
|
26991
|
-
wrapToolsForToolRouter(sessionId: string, tools: Tool[], modifiers?:
|
|
27168
|
+
wrapToolsForToolRouter(sessionId: string, tools: Tool[], modifiers?: SessionExecuteMetaModifiers): Tool[];
|
|
26992
27169
|
/**
|
|
26993
27170
|
* @internal
|
|
26994
27171
|
* @description
|
|
@@ -27005,7 +27182,7 @@ declare class Tools<TToolCollection$1, TTool$1, TProvider extends BaseComposioPr
|
|
|
27005
27182
|
* Creates a function that executes a tool for a tool router session
|
|
27006
27183
|
*
|
|
27007
27184
|
* @param {string} sessionId - The session id to execute the tool for
|
|
27008
|
-
* @param {
|
|
27185
|
+
* @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
|
|
27009
27186
|
* @returns {ExecuteToolFn} The execute tool function
|
|
27010
27187
|
*/
|
|
27011
27188
|
private createExecuteToolFnForToolRouter;
|
|
@@ -27098,10 +27275,10 @@ declare class Tools<TToolCollection$1, TTool$1, TProvider extends BaseComposioPr
|
|
|
27098
27275
|
* @param {ToolExecuteMetaParams} body - The execution parameters
|
|
27099
27276
|
* @param {string} body.sessionId - The session id to execute the tool for
|
|
27100
27277
|
* @param {Record<string, unknown>} body.arguments - The input to pass to the tool
|
|
27101
|
-
* @param {
|
|
27278
|
+
* @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
|
|
27102
27279
|
* @returns {Promise<ToolExecuteResponse>} The response from the tool execution
|
|
27103
27280
|
*/
|
|
27104
|
-
executeMetaTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?:
|
|
27281
|
+
executeMetaTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers): Promise<ToolExecuteResponse>;
|
|
27105
27282
|
/**
|
|
27106
27283
|
* Fetches the list of all available tools in the Composio SDK.
|
|
27107
27284
|
*
|
|
@@ -27221,14 +27398,14 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
|
|
|
27221
27398
|
cursor: z.ZodOptional<z.ZodString>;
|
|
27222
27399
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
27223
27400
|
}, "strip", z.ZodTypeAny, {
|
|
27224
|
-
limit?: number | undefined;
|
|
27225
27401
|
cursor?: string | undefined;
|
|
27402
|
+
limit?: number | undefined;
|
|
27226
27403
|
category?: string | undefined;
|
|
27227
27404
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27228
27405
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27229
27406
|
}, {
|
|
27230
|
-
limit?: number | undefined;
|
|
27231
27407
|
cursor?: string | undefined;
|
|
27408
|
+
limit?: number | undefined;
|
|
27232
27409
|
category?: string | undefined;
|
|
27233
27410
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27234
27411
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -28460,31 +28637,31 @@ declare const CreateConnectedAccountParamsSchema: z.ZodObject<{
|
|
|
28460
28637
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
28461
28638
|
userId: z.ZodOptional<z.ZodString>;
|
|
28462
28639
|
}, "strip", z.ZodTypeAny, {
|
|
28640
|
+
callbackUrl?: string | undefined;
|
|
28463
28641
|
userId?: string | undefined;
|
|
28464
28642
|
data?: Record<string, unknown> | undefined;
|
|
28465
|
-
callbackUrl?: string | undefined;
|
|
28466
28643
|
}, {
|
|
28644
|
+
callbackUrl?: string | undefined;
|
|
28467
28645
|
userId?: string | undefined;
|
|
28468
28646
|
data?: Record<string, unknown> | undefined;
|
|
28469
|
-
callbackUrl?: string | undefined;
|
|
28470
28647
|
}>;
|
|
28471
28648
|
}, "strip", z.ZodTypeAny, {
|
|
28472
28649
|
authConfig: {
|
|
28473
28650
|
id: string;
|
|
28474
28651
|
};
|
|
28475
28652
|
connection: {
|
|
28653
|
+
callbackUrl?: string | undefined;
|
|
28476
28654
|
userId?: string | undefined;
|
|
28477
28655
|
data?: Record<string, unknown> | undefined;
|
|
28478
|
-
callbackUrl?: string | undefined;
|
|
28479
28656
|
};
|
|
28480
28657
|
}, {
|
|
28481
28658
|
authConfig: {
|
|
28482
28659
|
id: string;
|
|
28483
28660
|
};
|
|
28484
28661
|
connection: {
|
|
28662
|
+
callbackUrl?: string | undefined;
|
|
28485
28663
|
userId?: string | undefined;
|
|
28486
28664
|
data?: Record<string, unknown> | undefined;
|
|
28487
|
-
callbackUrl?: string | undefined;
|
|
28488
28665
|
};
|
|
28489
28666
|
}>;
|
|
28490
28667
|
declare const DefaultCreateConnectedAccountParamsSchema: z.ZodType<{
|
|
@@ -28514,12 +28691,12 @@ declare const CreateConnectedAccountResponseSchema: z.ZodObject<{
|
|
|
28514
28691
|
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
28515
28692
|
}, "strip", z.ZodTypeAny, {
|
|
28516
28693
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
|
|
28517
|
-
redirectUrl: string | null;
|
|
28518
28694
|
id: string;
|
|
28695
|
+
redirectUrl: string | null;
|
|
28519
28696
|
}, {
|
|
28520
28697
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
|
|
28521
|
-
redirectUrl: string | null;
|
|
28522
28698
|
id: string;
|
|
28699
|
+
redirectUrl: string | null;
|
|
28523
28700
|
}>;
|
|
28524
28701
|
type CreateConnectedAccountResponse = z.infer<typeof CreateConnectedAccountResponseSchema>;
|
|
28525
28702
|
declare const ConnectedAccountAuthConfigSchema: z.ZodObject<{
|
|
@@ -28568,17 +28745,17 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
|
|
|
28568
28745
|
toolkitSlugs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
28569
28746
|
userIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
28570
28747
|
}, "strip", z.ZodTypeAny, {
|
|
28748
|
+
cursor?: string | null | undefined;
|
|
28571
28749
|
limit?: number | null | undefined;
|
|
28572
28750
|
authConfigIds?: string[] | null | undefined;
|
|
28573
|
-
cursor?: string | null | undefined;
|
|
28574
28751
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
28575
28752
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
|
|
28576
28753
|
toolkitSlugs?: string[] | null | undefined;
|
|
28577
28754
|
userIds?: string[] | null | undefined;
|
|
28578
28755
|
}, {
|
|
28756
|
+
cursor?: string | null | undefined;
|
|
28579
28757
|
limit?: number | null | undefined;
|
|
28580
28758
|
authConfigIds?: string[] | null | undefined;
|
|
28581
|
-
cursor?: string | null | undefined;
|
|
28582
28759
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
28583
28760
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
|
|
28584
28761
|
toolkitSlugs?: string[] | null | undefined;
|
|
@@ -28769,8 +28946,8 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
|
|
|
28769
28946
|
}>>;
|
|
28770
28947
|
}, "strip", z.ZodTypeAny, {
|
|
28771
28948
|
type: "use_custom_auth";
|
|
28772
|
-
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";
|
|
28773
28949
|
credentials: Record<string, string | number | boolean>;
|
|
28950
|
+
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";
|
|
28774
28951
|
name?: string | undefined;
|
|
28775
28952
|
proxyConfig?: {
|
|
28776
28953
|
proxyUrl: string;
|
|
@@ -28781,8 +28958,8 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
|
|
|
28781
28958
|
} | undefined;
|
|
28782
28959
|
}, {
|
|
28783
28960
|
type: "use_custom_auth";
|
|
28784
|
-
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";
|
|
28785
28961
|
credentials: Record<string, string | number | boolean>;
|
|
28962
|
+
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";
|
|
28786
28963
|
name?: string | undefined;
|
|
28787
28964
|
proxyConfig?: {
|
|
28788
28965
|
proxyUrl: string;
|
|
@@ -28845,8 +29022,8 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
28845
29022
|
}>>;
|
|
28846
29023
|
}, "strip", z.ZodTypeAny, {
|
|
28847
29024
|
type: "use_custom_auth";
|
|
28848
|
-
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";
|
|
28849
29025
|
credentials: Record<string, string | number | boolean>;
|
|
29026
|
+
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";
|
|
28850
29027
|
name?: string | undefined;
|
|
28851
29028
|
proxyConfig?: {
|
|
28852
29029
|
proxyUrl: string;
|
|
@@ -28857,8 +29034,8 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
28857
29034
|
} | undefined;
|
|
28858
29035
|
}, {
|
|
28859
29036
|
type: "use_custom_auth";
|
|
28860
|
-
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";
|
|
28861
29037
|
credentials: Record<string, string | number | boolean>;
|
|
29038
|
+
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";
|
|
28862
29039
|
name?: string | undefined;
|
|
28863
29040
|
proxyConfig?: {
|
|
28864
29041
|
proxyUrl: string;
|
|
@@ -28958,8 +29135,8 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
28958
29135
|
id: string;
|
|
28959
29136
|
noOfConnections: number;
|
|
28960
29137
|
uuid: string;
|
|
28961
|
-
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
|
|
28962
29138
|
credentials?: Record<string, unknown> | undefined;
|
|
29139
|
+
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;
|
|
28963
29140
|
toolAccessConfig?: {
|
|
28964
29141
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28965
29142
|
toolsAvailableForExecution?: string[] | undefined;
|
|
@@ -28980,8 +29157,8 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
28980
29157
|
id: string;
|
|
28981
29158
|
noOfConnections: number;
|
|
28982
29159
|
uuid: string;
|
|
28983
|
-
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;
|
|
28984
29160
|
credentials?: Record<string, unknown> | undefined;
|
|
29161
|
+
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;
|
|
28985
29162
|
toolAccessConfig?: {
|
|
28986
29163
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28987
29164
|
toolsAvailableForExecution?: string[] | undefined;
|
|
@@ -29001,14 +29178,14 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
|
|
|
29001
29178
|
toolkit: z.ZodOptional<z.ZodString>;
|
|
29002
29179
|
}, "strip", z.ZodTypeAny, {
|
|
29003
29180
|
toolkit?: string | undefined;
|
|
29004
|
-
limit?: number | undefined;
|
|
29005
29181
|
isComposioManaged?: boolean | undefined;
|
|
29006
29182
|
cursor?: string | undefined;
|
|
29183
|
+
limit?: number | undefined;
|
|
29007
29184
|
}, {
|
|
29008
29185
|
toolkit?: string | undefined;
|
|
29009
|
-
limit?: number | undefined;
|
|
29010
29186
|
isComposioManaged?: boolean | undefined;
|
|
29011
29187
|
cursor?: string | undefined;
|
|
29188
|
+
limit?: number | undefined;
|
|
29012
29189
|
}>;
|
|
29013
29190
|
type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
|
|
29014
29191
|
declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
@@ -29059,8 +29236,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29059
29236
|
id: string;
|
|
29060
29237
|
noOfConnections: number;
|
|
29061
29238
|
uuid: string;
|
|
29062
|
-
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;
|
|
29063
29239
|
credentials?: Record<string, unknown> | undefined;
|
|
29240
|
+
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;
|
|
29064
29241
|
toolAccessConfig?: {
|
|
29065
29242
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29066
29243
|
toolsAvailableForExecution?: string[] | undefined;
|
|
@@ -29081,8 +29258,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29081
29258
|
id: string;
|
|
29082
29259
|
noOfConnections: number;
|
|
29083
29260
|
uuid: string;
|
|
29084
|
-
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;
|
|
29085
29261
|
credentials?: Record<string, unknown> | undefined;
|
|
29262
|
+
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;
|
|
29086
29263
|
toolAccessConfig?: {
|
|
29087
29264
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29088
29265
|
toolsAvailableForExecution?: string[] | undefined;
|
|
@@ -29107,8 +29284,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29107
29284
|
id: string;
|
|
29108
29285
|
noOfConnections: number;
|
|
29109
29286
|
uuid: string;
|
|
29110
|
-
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;
|
|
29111
29287
|
credentials?: Record<string, unknown> | undefined;
|
|
29288
|
+
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;
|
|
29112
29289
|
toolAccessConfig?: {
|
|
29113
29290
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29114
29291
|
toolsAvailableForExecution?: string[] | undefined;
|
|
@@ -29133,8 +29310,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29133
29310
|
id: string;
|
|
29134
29311
|
noOfConnections: number;
|
|
29135
29312
|
uuid: string;
|
|
29136
|
-
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;
|
|
29137
29313
|
credentials?: Record<string, unknown> | undefined;
|
|
29314
|
+
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;
|
|
29138
29315
|
toolAccessConfig?: {
|
|
29139
29316
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29140
29317
|
toolsAvailableForExecution?: string[] | undefined;
|
|
@@ -29489,8 +29666,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
29489
29666
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
29490
29667
|
uuid: z.ZodOptional<z.ZodString>;
|
|
29491
29668
|
}, "strip", z.ZodTypeAny, {
|
|
29492
|
-
connectedAccountId: string;
|
|
29493
29669
|
id: string;
|
|
29670
|
+
connectedAccountId: string;
|
|
29494
29671
|
disabledAt: string | null;
|
|
29495
29672
|
state: Record<string, unknown>;
|
|
29496
29673
|
triggerConfig: Record<string, unknown>;
|
|
@@ -29499,8 +29676,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
29499
29676
|
uuid?: string | undefined;
|
|
29500
29677
|
triggerData?: string | undefined;
|
|
29501
29678
|
}, {
|
|
29502
|
-
connectedAccountId: string;
|
|
29503
29679
|
id: string;
|
|
29680
|
+
connectedAccountId: string;
|
|
29504
29681
|
disabledAt: string | null;
|
|
29505
29682
|
state: Record<string, unknown>;
|
|
29506
29683
|
triggerConfig: Record<string, unknown>;
|
|
@@ -29521,8 +29698,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29521
29698
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
29522
29699
|
uuid: z.ZodOptional<z.ZodString>;
|
|
29523
29700
|
}, "strip", z.ZodTypeAny, {
|
|
29524
|
-
connectedAccountId: string;
|
|
29525
29701
|
id: string;
|
|
29702
|
+
connectedAccountId: string;
|
|
29526
29703
|
disabledAt: string | null;
|
|
29527
29704
|
state: Record<string, unknown>;
|
|
29528
29705
|
triggerConfig: Record<string, unknown>;
|
|
@@ -29531,8 +29708,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29531
29708
|
uuid?: string | undefined;
|
|
29532
29709
|
triggerData?: string | undefined;
|
|
29533
29710
|
}, {
|
|
29534
|
-
connectedAccountId: string;
|
|
29535
29711
|
id: string;
|
|
29712
|
+
connectedAccountId: string;
|
|
29536
29713
|
disabledAt: string | null;
|
|
29537
29714
|
state: Record<string, unknown>;
|
|
29538
29715
|
triggerConfig: Record<string, unknown>;
|
|
@@ -29545,8 +29722,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29545
29722
|
totalPages: z.ZodNumber;
|
|
29546
29723
|
}, "strip", z.ZodTypeAny, {
|
|
29547
29724
|
items: {
|
|
29548
|
-
connectedAccountId: string;
|
|
29549
29725
|
id: string;
|
|
29726
|
+
connectedAccountId: string;
|
|
29550
29727
|
disabledAt: string | null;
|
|
29551
29728
|
state: Record<string, unknown>;
|
|
29552
29729
|
triggerConfig: Record<string, unknown>;
|
|
@@ -29559,8 +29736,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29559
29736
|
totalPages: number;
|
|
29560
29737
|
}, {
|
|
29561
29738
|
items: {
|
|
29562
|
-
connectedAccountId: string;
|
|
29563
29739
|
id: string;
|
|
29740
|
+
connectedAccountId: string;
|
|
29564
29741
|
disabledAt: string | null;
|
|
29565
29742
|
state: Record<string, unknown>;
|
|
29566
29743
|
triggerConfig: Record<string, unknown>;
|
|
@@ -29641,67 +29818,67 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
29641
29818
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
29642
29819
|
}, "strip", z.ZodTypeAny, {
|
|
29643
29820
|
status: "ACTIVE" | "INACTIVE";
|
|
29644
|
-
userId: string;
|
|
29645
29821
|
id: string;
|
|
29646
29822
|
uuid: string;
|
|
29823
|
+
userId: string;
|
|
29647
29824
|
authConfigId: string;
|
|
29648
29825
|
authConfigUUID: string;
|
|
29649
29826
|
}, {
|
|
29650
29827
|
status: "ACTIVE" | "INACTIVE";
|
|
29651
|
-
userId: string;
|
|
29652
29828
|
id: string;
|
|
29653
29829
|
uuid: string;
|
|
29830
|
+
userId: string;
|
|
29654
29831
|
authConfigId: string;
|
|
29655
29832
|
authConfigUUID: string;
|
|
29656
29833
|
}>;
|
|
29657
29834
|
}, "strip", z.ZodTypeAny, {
|
|
29658
|
-
toolkitSlug: string;
|
|
29659
29835
|
id: string;
|
|
29660
29836
|
uuid: string;
|
|
29837
|
+
toolkitSlug: string;
|
|
29661
29838
|
triggerSlug: string;
|
|
29662
29839
|
triggerConfig: Record<string, unknown>;
|
|
29663
29840
|
connectedAccount: {
|
|
29664
29841
|
status: "ACTIVE" | "INACTIVE";
|
|
29665
|
-
userId: string;
|
|
29666
29842
|
id: string;
|
|
29667
29843
|
uuid: string;
|
|
29844
|
+
userId: string;
|
|
29668
29845
|
authConfigId: string;
|
|
29669
29846
|
authConfigUUID: string;
|
|
29670
29847
|
};
|
|
29671
29848
|
triggerData?: string | undefined;
|
|
29672
29849
|
}, {
|
|
29673
|
-
toolkitSlug: string;
|
|
29674
29850
|
id: string;
|
|
29675
29851
|
uuid: string;
|
|
29852
|
+
toolkitSlug: string;
|
|
29676
29853
|
triggerSlug: string;
|
|
29677
29854
|
triggerConfig: Record<string, unknown>;
|
|
29678
29855
|
connectedAccount: {
|
|
29679
29856
|
status: "ACTIVE" | "INACTIVE";
|
|
29680
|
-
userId: string;
|
|
29681
29857
|
id: string;
|
|
29682
29858
|
uuid: string;
|
|
29859
|
+
userId: string;
|
|
29683
29860
|
authConfigId: string;
|
|
29684
29861
|
authConfigUUID: string;
|
|
29685
29862
|
};
|
|
29686
29863
|
triggerData?: string | undefined;
|
|
29687
29864
|
}>;
|
|
29688
29865
|
}, "strip", z.ZodTypeAny, {
|
|
29689
|
-
toolkitSlug: string;
|
|
29690
|
-
userId: string;
|
|
29691
29866
|
id: string;
|
|
29692
29867
|
uuid: string;
|
|
29868
|
+
toolkitSlug: string;
|
|
29869
|
+
userId: string;
|
|
29693
29870
|
triggerSlug: string;
|
|
29694
29871
|
metadata: {
|
|
29695
|
-
toolkitSlug: string;
|
|
29696
29872
|
id: string;
|
|
29697
29873
|
uuid: string;
|
|
29874
|
+
toolkitSlug: string;
|
|
29698
29875
|
triggerSlug: string;
|
|
29699
29876
|
triggerConfig: Record<string, unknown>;
|
|
29700
29877
|
connectedAccount: {
|
|
29701
29878
|
status: "ACTIVE" | "INACTIVE";
|
|
29702
|
-
userId: string;
|
|
29703
29879
|
id: string;
|
|
29704
29880
|
uuid: string;
|
|
29881
|
+
userId: string;
|
|
29705
29882
|
authConfigId: string;
|
|
29706
29883
|
authConfigUUID: string;
|
|
29707
29884
|
};
|
|
@@ -29710,22 +29887,22 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
29710
29887
|
payload?: Record<string, unknown> | undefined;
|
|
29711
29888
|
originalPayload?: Record<string, unknown> | undefined;
|
|
29712
29889
|
}, {
|
|
29713
|
-
toolkitSlug: string;
|
|
29714
|
-
userId: string;
|
|
29715
29890
|
id: string;
|
|
29716
29891
|
uuid: string;
|
|
29892
|
+
toolkitSlug: string;
|
|
29893
|
+
userId: string;
|
|
29717
29894
|
triggerSlug: string;
|
|
29718
29895
|
metadata: {
|
|
29719
|
-
toolkitSlug: string;
|
|
29720
29896
|
id: string;
|
|
29721
29897
|
uuid: string;
|
|
29898
|
+
toolkitSlug: string;
|
|
29722
29899
|
triggerSlug: string;
|
|
29723
29900
|
triggerConfig: Record<string, unknown>;
|
|
29724
29901
|
connectedAccount: {
|
|
29725
29902
|
status: "ACTIVE" | "INACTIVE";
|
|
29726
|
-
userId: string;
|
|
29727
29903
|
id: string;
|
|
29728
29904
|
uuid: string;
|
|
29905
|
+
userId: string;
|
|
29729
29906
|
authConfigId: string;
|
|
29730
29907
|
authConfigUUID: string;
|
|
29731
29908
|
};
|
|
@@ -29761,13 +29938,13 @@ declare const TriggersTypeListParamsSchema: z.ZodObject<{
|
|
|
29761
29938
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29762
29939
|
toolkits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
29763
29940
|
}, "strip", z.ZodTypeAny, {
|
|
29764
|
-
toolkits?: string[] | null | undefined;
|
|
29765
|
-
limit?: number | null | undefined;
|
|
29766
29941
|
cursor?: string | undefined;
|
|
29767
|
-
}, {
|
|
29768
|
-
toolkits?: string[] | null | undefined;
|
|
29769
29942
|
limit?: number | null | undefined;
|
|
29943
|
+
toolkits?: string[] | null | undefined;
|
|
29944
|
+
}, {
|
|
29770
29945
|
cursor?: string | undefined;
|
|
29946
|
+
limit?: number | null | undefined;
|
|
29947
|
+
toolkits?: string[] | null | undefined;
|
|
29771
29948
|
}>;
|
|
29772
29949
|
type TriggersTypeListParams = z.infer<typeof TriggersTypeListParamsSchema>;
|
|
29773
29950
|
declare const TriggerTypeSchema: z.ZodObject<{
|
|
@@ -30598,16 +30775,16 @@ declare const MCPServerInstanceSchema: z$1.ZodObject<{
|
|
|
30598
30775
|
}, "strip", z$1.ZodTypeAny, {
|
|
30599
30776
|
name: string;
|
|
30600
30777
|
type: "streamable_http";
|
|
30601
|
-
userId: string;
|
|
30602
30778
|
id: string;
|
|
30779
|
+
userId: string;
|
|
30603
30780
|
allowedTools: string[];
|
|
30604
30781
|
url: string;
|
|
30605
30782
|
authConfigs: string[];
|
|
30606
30783
|
}, {
|
|
30607
30784
|
name: string;
|
|
30608
30785
|
type: "streamable_http";
|
|
30609
|
-
userId: string;
|
|
30610
30786
|
id: string;
|
|
30787
|
+
userId: string;
|
|
30611
30788
|
allowedTools: string[];
|
|
30612
30789
|
url: string;
|
|
30613
30790
|
authConfigs: string[];
|
|
@@ -30690,8 +30867,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
30690
30867
|
MCPUrl: z$1.ZodString;
|
|
30691
30868
|
}, "strip", z$1.ZodTypeAny, {
|
|
30692
30869
|
name: string;
|
|
30693
|
-
authConfigIds: string[];
|
|
30694
30870
|
id: string;
|
|
30871
|
+
authConfigIds: string[];
|
|
30695
30872
|
allowedTools: string[];
|
|
30696
30873
|
commands: {
|
|
30697
30874
|
cursor: string;
|
|
@@ -30701,8 +30878,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
30701
30878
|
MCPUrl: string;
|
|
30702
30879
|
}, {
|
|
30703
30880
|
name: string;
|
|
30704
|
-
authConfigIds: string[];
|
|
30705
30881
|
id: string;
|
|
30882
|
+
authConfigIds: string[];
|
|
30706
30883
|
allowedTools: string[];
|
|
30707
30884
|
commands: {
|
|
30708
30885
|
cursor: string;
|
|
@@ -30735,15 +30912,15 @@ declare const MCPListParamsSchema: z$1.ZodObject<{
|
|
|
30735
30912
|
authConfigs: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
30736
30913
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
30737
30914
|
}, "strip", z$1.ZodTypeAny, {
|
|
30738
|
-
toolkits: string[];
|
|
30739
30915
|
limit: number;
|
|
30916
|
+
toolkits: string[];
|
|
30740
30917
|
page: number;
|
|
30741
30918
|
authConfigs: string[];
|
|
30742
30919
|
name?: string | undefined;
|
|
30743
30920
|
}, {
|
|
30744
30921
|
name?: string | undefined;
|
|
30745
|
-
toolkits?: string[] | undefined;
|
|
30746
30922
|
limit?: number | undefined;
|
|
30923
|
+
toolkits?: string[] | undefined;
|
|
30747
30924
|
page?: number | undefined;
|
|
30748
30925
|
authConfigs?: string[] | undefined;
|
|
30749
30926
|
}>;
|
|
@@ -30800,9 +30977,9 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
30800
30977
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
30801
30978
|
}, "strip", z$1.ZodTypeAny, {
|
|
30802
30979
|
name: string;
|
|
30980
|
+
id: string;
|
|
30803
30981
|
toolkits: string[];
|
|
30804
30982
|
authConfigIds: string[];
|
|
30805
|
-
id: string;
|
|
30806
30983
|
allowedTools: string[];
|
|
30807
30984
|
commands: {
|
|
30808
30985
|
cursor: string;
|
|
@@ -30814,9 +30991,9 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
30814
30991
|
serverInstanceCount: number;
|
|
30815
30992
|
}, {
|
|
30816
30993
|
name: string;
|
|
30994
|
+
id: string;
|
|
30817
30995
|
toolkits: string[];
|
|
30818
30996
|
authConfigIds: string[];
|
|
30819
|
-
id: string;
|
|
30820
30997
|
allowedTools: string[];
|
|
30821
30998
|
commands: {
|
|
30822
30999
|
cursor: string;
|
|
@@ -30881,9 +31058,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
30881
31058
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
30882
31059
|
}, "strip", z$1.ZodTypeAny, {
|
|
30883
31060
|
name: string;
|
|
31061
|
+
id: string;
|
|
30884
31062
|
toolkits: string[];
|
|
30885
31063
|
authConfigIds: string[];
|
|
30886
|
-
id: string;
|
|
30887
31064
|
allowedTools: string[];
|
|
30888
31065
|
commands: {
|
|
30889
31066
|
cursor: string;
|
|
@@ -30895,9 +31072,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
30895
31072
|
serverInstanceCount: number;
|
|
30896
31073
|
}, {
|
|
30897
31074
|
name: string;
|
|
31075
|
+
id: string;
|
|
30898
31076
|
toolkits: string[];
|
|
30899
31077
|
authConfigIds: string[];
|
|
30900
|
-
id: string;
|
|
30901
31078
|
allowedTools: string[];
|
|
30902
31079
|
commands: {
|
|
30903
31080
|
cursor: string;
|
|
@@ -30913,9 +31090,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
30913
31090
|
}, "strip", z$1.ZodTypeAny, {
|
|
30914
31091
|
items: {
|
|
30915
31092
|
name: string;
|
|
31093
|
+
id: string;
|
|
30916
31094
|
toolkits: string[];
|
|
30917
31095
|
authConfigIds: string[];
|
|
30918
|
-
id: string;
|
|
30919
31096
|
allowedTools: string[];
|
|
30920
31097
|
commands: {
|
|
30921
31098
|
cursor: string;
|
|
@@ -30931,9 +31108,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
30931
31108
|
}, {
|
|
30932
31109
|
items: {
|
|
30933
31110
|
name: string;
|
|
31111
|
+
id: string;
|
|
30934
31112
|
toolkits: string[];
|
|
30935
31113
|
authConfigIds: string[];
|
|
30936
|
-
id: string;
|
|
30937
31114
|
allowedTools: string[];
|
|
30938
31115
|
commands: {
|
|
30939
31116
|
cursor: string;
|
|
@@ -30981,13 +31158,13 @@ declare const MCPUpdateParamsSchema: z$1.ZodObject<{
|
|
|
30981
31158
|
}>;
|
|
30982
31159
|
type MCPUpdateParams = z$1.infer<typeof MCPUpdateParamsSchema>;
|
|
30983
31160
|
//#endregion
|
|
30984
|
-
//#region src/models/MCP.
|
|
31161
|
+
//#region src/models/MCP.d.ts
|
|
30985
31162
|
/**
|
|
30986
31163
|
* MCP (Model Control Protocol) class
|
|
30987
31164
|
* Handles MCP server operations.
|
|
30988
31165
|
* When `config.experimental.mcp` is enabled, this class augments the features of `composio.mcp`.
|
|
30989
31166
|
*/
|
|
30990
|
-
declare class MCP
|
|
31167
|
+
declare class MCP {
|
|
30991
31168
|
client: Composio$1;
|
|
30992
31169
|
constructor(client: Composio$1);
|
|
30993
31170
|
/**
|
|
@@ -31582,12 +31759,15 @@ type MCPServerType = z$1.infer<typeof MCPServerTypeSchema>;
|
|
|
31582
31759
|
declare const ToolRouterConfigManageConnectionsSchema: z$1.ZodObject<{
|
|
31583
31760
|
enable: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
|
|
31584
31761
|
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
31762
|
+
waitForConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
31585
31763
|
}, "strict", z$1.ZodTypeAny, {
|
|
31586
31764
|
callbackUrl?: string | undefined;
|
|
31587
31765
|
enable?: boolean | undefined;
|
|
31766
|
+
waitForConnections?: boolean | undefined;
|
|
31588
31767
|
}, {
|
|
31589
31768
|
callbackUrl?: string | undefined;
|
|
31590
31769
|
enable?: boolean | undefined;
|
|
31770
|
+
waitForConnections?: boolean | undefined;
|
|
31591
31771
|
}>;
|
|
31592
31772
|
declare const ToolRouterToolkitsParamSchema: z$1.ZodArray<z$1.ZodString, "many">;
|
|
31593
31773
|
declare const ToolRouterToolkitsDisabledConfigSchema: z$1.ZodObject<{
|
|
@@ -31794,12 +31974,15 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31794
31974
|
manageConnections: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodObject<{
|
|
31795
31975
|
enable: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
|
|
31796
31976
|
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
31977
|
+
waitForConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
31797
31978
|
}, "strict", z$1.ZodTypeAny, {
|
|
31798
31979
|
callbackUrl?: string | undefined;
|
|
31799
31980
|
enable?: boolean | undefined;
|
|
31981
|
+
waitForConnections?: boolean | undefined;
|
|
31800
31982
|
}, {
|
|
31801
31983
|
callbackUrl?: string | undefined;
|
|
31802
31984
|
enable?: boolean | undefined;
|
|
31985
|
+
waitForConnections?: boolean | undefined;
|
|
31803
31986
|
}>]>>>>;
|
|
31804
31987
|
workbench: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
31805
31988
|
enableProxyExecution: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -31836,6 +32019,7 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31836
32019
|
manageConnections?: boolean | {
|
|
31837
32020
|
callbackUrl?: string | undefined;
|
|
31838
32021
|
enable?: boolean | undefined;
|
|
32022
|
+
waitForConnections?: boolean | undefined;
|
|
31839
32023
|
} | undefined;
|
|
31840
32024
|
workbench?: {
|
|
31841
32025
|
enableProxyExecution?: boolean | undefined;
|
|
@@ -31866,6 +32050,7 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31866
32050
|
manageConnections?: boolean | {
|
|
31867
32051
|
callbackUrl?: string | undefined;
|
|
31868
32052
|
enable?: boolean | undefined;
|
|
32053
|
+
waitForConnections?: boolean | undefined;
|
|
31869
32054
|
} | undefined;
|
|
31870
32055
|
workbench?: {
|
|
31871
32056
|
enableProxyExecution?: boolean | undefined;
|
|
@@ -31920,26 +32105,26 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
31920
32105
|
}>>;
|
|
31921
32106
|
}, "strip", z$1.ZodTypeAny, {
|
|
31922
32107
|
isActive: boolean;
|
|
32108
|
+
connectedAccount?: {
|
|
32109
|
+
status: string;
|
|
32110
|
+
id: string;
|
|
32111
|
+
} | undefined;
|
|
31923
32112
|
authConfig?: {
|
|
31924
32113
|
id: string;
|
|
31925
32114
|
isComposioManaged: boolean;
|
|
31926
32115
|
mode: string;
|
|
31927
32116
|
} | null | undefined;
|
|
32117
|
+
}, {
|
|
32118
|
+
isActive: boolean;
|
|
31928
32119
|
connectedAccount?: {
|
|
31929
32120
|
status: string;
|
|
31930
32121
|
id: string;
|
|
31931
32122
|
} | undefined;
|
|
31932
|
-
}, {
|
|
31933
|
-
isActive: boolean;
|
|
31934
32123
|
authConfig?: {
|
|
31935
32124
|
id: string;
|
|
31936
32125
|
isComposioManaged: boolean;
|
|
31937
32126
|
mode: string;
|
|
31938
32127
|
} | null | undefined;
|
|
31939
|
-
connectedAccount?: {
|
|
31940
|
-
status: string;
|
|
31941
|
-
id: string;
|
|
31942
|
-
} | undefined;
|
|
31943
32128
|
}>>;
|
|
31944
32129
|
}, "strip", z$1.ZodTypeAny, {
|
|
31945
32130
|
slug: string;
|
|
@@ -31948,15 +32133,15 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
31948
32133
|
logo?: string | undefined;
|
|
31949
32134
|
connection?: {
|
|
31950
32135
|
isActive: boolean;
|
|
32136
|
+
connectedAccount?: {
|
|
32137
|
+
status: string;
|
|
32138
|
+
id: string;
|
|
32139
|
+
} | undefined;
|
|
31951
32140
|
authConfig?: {
|
|
31952
32141
|
id: string;
|
|
31953
32142
|
isComposioManaged: boolean;
|
|
31954
32143
|
mode: string;
|
|
31955
32144
|
} | null | undefined;
|
|
31956
|
-
connectedAccount?: {
|
|
31957
|
-
status: string;
|
|
31958
|
-
id: string;
|
|
31959
|
-
} | undefined;
|
|
31960
32145
|
} | undefined;
|
|
31961
32146
|
}, {
|
|
31962
32147
|
slug: string;
|
|
@@ -31965,15 +32150,15 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
31965
32150
|
isNoAuth?: boolean | undefined;
|
|
31966
32151
|
connection?: {
|
|
31967
32152
|
isActive: boolean;
|
|
32153
|
+
connectedAccount?: {
|
|
32154
|
+
status: string;
|
|
32155
|
+
id: string;
|
|
32156
|
+
} | undefined;
|
|
31968
32157
|
authConfig?: {
|
|
31969
32158
|
id: string;
|
|
31970
32159
|
isComposioManaged: boolean;
|
|
31971
32160
|
mode: string;
|
|
31972
32161
|
} | null | undefined;
|
|
31973
|
-
connectedAccount?: {
|
|
31974
|
-
status: string;
|
|
31975
|
-
id: string;
|
|
31976
|
-
} | undefined;
|
|
31977
32162
|
} | undefined;
|
|
31978
32163
|
}>;
|
|
31979
32164
|
declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
@@ -32009,26 +32194,26 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32009
32194
|
}>>;
|
|
32010
32195
|
}, "strip", z$1.ZodTypeAny, {
|
|
32011
32196
|
isActive: boolean;
|
|
32197
|
+
connectedAccount?: {
|
|
32198
|
+
status: string;
|
|
32199
|
+
id: string;
|
|
32200
|
+
} | undefined;
|
|
32012
32201
|
authConfig?: {
|
|
32013
32202
|
id: string;
|
|
32014
32203
|
isComposioManaged: boolean;
|
|
32015
32204
|
mode: string;
|
|
32016
32205
|
} | null | undefined;
|
|
32206
|
+
}, {
|
|
32207
|
+
isActive: boolean;
|
|
32017
32208
|
connectedAccount?: {
|
|
32018
32209
|
status: string;
|
|
32019
32210
|
id: string;
|
|
32020
32211
|
} | undefined;
|
|
32021
|
-
}, {
|
|
32022
|
-
isActive: boolean;
|
|
32023
32212
|
authConfig?: {
|
|
32024
32213
|
id: string;
|
|
32025
32214
|
isComposioManaged: boolean;
|
|
32026
32215
|
mode: string;
|
|
32027
32216
|
} | null | undefined;
|
|
32028
|
-
connectedAccount?: {
|
|
32029
|
-
status: string;
|
|
32030
|
-
id: string;
|
|
32031
|
-
} | undefined;
|
|
32032
32217
|
}>>;
|
|
32033
32218
|
}, "strip", z$1.ZodTypeAny, {
|
|
32034
32219
|
slug: string;
|
|
@@ -32037,15 +32222,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32037
32222
|
logo?: string | undefined;
|
|
32038
32223
|
connection?: {
|
|
32039
32224
|
isActive: boolean;
|
|
32225
|
+
connectedAccount?: {
|
|
32226
|
+
status: string;
|
|
32227
|
+
id: string;
|
|
32228
|
+
} | undefined;
|
|
32040
32229
|
authConfig?: {
|
|
32041
32230
|
id: string;
|
|
32042
32231
|
isComposioManaged: boolean;
|
|
32043
32232
|
mode: string;
|
|
32044
32233
|
} | null | undefined;
|
|
32045
|
-
connectedAccount?: {
|
|
32046
|
-
status: string;
|
|
32047
|
-
id: string;
|
|
32048
|
-
} | undefined;
|
|
32049
32234
|
} | undefined;
|
|
32050
32235
|
}, {
|
|
32051
32236
|
slug: string;
|
|
@@ -32054,15 +32239,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32054
32239
|
isNoAuth?: boolean | undefined;
|
|
32055
32240
|
connection?: {
|
|
32056
32241
|
isActive: boolean;
|
|
32242
|
+
connectedAccount?: {
|
|
32243
|
+
status: string;
|
|
32244
|
+
id: string;
|
|
32245
|
+
} | undefined;
|
|
32057
32246
|
authConfig?: {
|
|
32058
32247
|
id: string;
|
|
32059
32248
|
isComposioManaged: boolean;
|
|
32060
32249
|
mode: string;
|
|
32061
32250
|
} | null | undefined;
|
|
32062
|
-
connectedAccount?: {
|
|
32063
|
-
status: string;
|
|
32064
|
-
id: string;
|
|
32065
|
-
} | undefined;
|
|
32066
32251
|
} | undefined;
|
|
32067
32252
|
}>, "many">;
|
|
32068
32253
|
nextCursor: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -32075,15 +32260,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32075
32260
|
logo?: string | undefined;
|
|
32076
32261
|
connection?: {
|
|
32077
32262
|
isActive: boolean;
|
|
32263
|
+
connectedAccount?: {
|
|
32264
|
+
status: string;
|
|
32265
|
+
id: string;
|
|
32266
|
+
} | undefined;
|
|
32078
32267
|
authConfig?: {
|
|
32079
32268
|
id: string;
|
|
32080
32269
|
isComposioManaged: boolean;
|
|
32081
32270
|
mode: string;
|
|
32082
32271
|
} | null | undefined;
|
|
32083
|
-
connectedAccount?: {
|
|
32084
|
-
status: string;
|
|
32085
|
-
id: string;
|
|
32086
|
-
} | undefined;
|
|
32087
32272
|
} | undefined;
|
|
32088
32273
|
}[];
|
|
32089
32274
|
totalPages: number;
|
|
@@ -32096,15 +32281,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32096
32281
|
isNoAuth?: boolean | undefined;
|
|
32097
32282
|
connection?: {
|
|
32098
32283
|
isActive: boolean;
|
|
32284
|
+
connectedAccount?: {
|
|
32285
|
+
status: string;
|
|
32286
|
+
id: string;
|
|
32287
|
+
} | undefined;
|
|
32099
32288
|
authConfig?: {
|
|
32100
32289
|
id: string;
|
|
32101
32290
|
isComposioManaged: boolean;
|
|
32102
32291
|
mode: string;
|
|
32103
32292
|
} | null | undefined;
|
|
32104
|
-
connectedAccount?: {
|
|
32105
|
-
status: string;
|
|
32106
|
-
id: string;
|
|
32107
|
-
} | undefined;
|
|
32108
32293
|
} | undefined;
|
|
32109
32294
|
}[];
|
|
32110
32295
|
totalPages: number;
|
|
@@ -32126,7 +32311,7 @@ declare const ToolRouterMCPServerConfigSchema: z$1.ZodObject<{
|
|
|
32126
32311
|
headers?: Record<string, string> | undefined;
|
|
32127
32312
|
}>;
|
|
32128
32313
|
type ToolRouterMCPServerConfig = z$1.infer<typeof ToolRouterMCPServerConfigSchema>;
|
|
32129
|
-
type ToolRouterToolsFn<TToolCollection$1, TTool$1, TProvider extends BaseComposioProvider<TToolCollection$1, TTool$1, unknown>> = (modifiers?:
|
|
32314
|
+
type ToolRouterToolsFn<TToolCollection$1, TTool$1, TProvider extends BaseComposioProvider<TToolCollection$1, TTool$1, unknown>> = (modifiers?: SessionMetaToolOptions) => Promise<ReturnType<TProvider['wrapTools']>>;
|
|
32130
32315
|
type ToolRouterAuthorizeFn = (toolkit: string, options?: {
|
|
32131
32316
|
callbackUrl?: string;
|
|
32132
32317
|
}) => Promise<ConnectionRequest>;
|
|
@@ -32137,15 +32322,15 @@ declare const ToolRouterToolkitsOptionsSchema: z$1.ZodObject<{
|
|
|
32137
32322
|
isConnected: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
32138
32323
|
search: z$1.ZodOptional<z$1.ZodString>;
|
|
32139
32324
|
}, "strip", z$1.ZodTypeAny, {
|
|
32325
|
+
limit?: number | undefined;
|
|
32140
32326
|
nextCursor?: string | undefined;
|
|
32141
32327
|
toolkits?: string[] | undefined;
|
|
32142
|
-
limit?: number | undefined;
|
|
32143
32328
|
search?: string | undefined;
|
|
32144
32329
|
isConnected?: boolean | undefined;
|
|
32145
32330
|
}, {
|
|
32331
|
+
limit?: number | undefined;
|
|
32146
32332
|
nextCursor?: string | undefined;
|
|
32147
32333
|
toolkits?: string[] | undefined;
|
|
32148
|
-
limit?: number | undefined;
|
|
32149
32334
|
search?: string | undefined;
|
|
32150
32335
|
isConnected?: boolean | undefined;
|
|
32151
32336
|
}>;
|
|
@@ -32212,9 +32397,8 @@ declare class ToolRouter<TToolCollection$1, TTool$1, TProvider extends BaseCompo
|
|
|
32212
32397
|
* Creates a function that wraps the tools based on the provider.
|
|
32213
32398
|
* The returned tools will be of the type the frameworks expects.
|
|
32214
32399
|
*
|
|
32215
|
-
* @param
|
|
32216
|
-
* @
|
|
32217
|
-
* @returns A function that wraps the tools based on the provider.
|
|
32400
|
+
* @param sessionId - The session id to get the tools for
|
|
32401
|
+
* @returns A function that wraps the tools based on the provider with session-specific modifiers.
|
|
32218
32402
|
*/
|
|
32219
32403
|
private createToolsFn;
|
|
32220
32404
|
/**
|
|
@@ -32391,14 +32575,22 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
32391
32575
|
/**
|
|
32392
32576
|
* Core models for Composio.
|
|
32393
32577
|
*/
|
|
32578
|
+
/** List, retrieve, and execute tools */
|
|
32394
32579
|
tools: Tools<unknown, unknown, TProvider>;
|
|
32580
|
+
/** Retrieve toolkit metadata and authorize user connections */
|
|
32395
32581
|
toolkits: Toolkits;
|
|
32582
|
+
/** Manage webhook triggers and event subscriptions */
|
|
32396
32583
|
triggers: Triggers<TProvider>;
|
|
32584
|
+
/** The tool provider instance used for wrapping tools in framework-specific formats */
|
|
32397
32585
|
provider: TProvider;
|
|
32586
|
+
/** Upload and download files */
|
|
32398
32587
|
files: Files;
|
|
32588
|
+
/** Manage authentication configurations for toolkits */
|
|
32399
32589
|
authConfigs: AuthConfigs;
|
|
32590
|
+
/** Manage authenticated connections */
|
|
32400
32591
|
connectedAccounts: ConnectedAccounts;
|
|
32401
|
-
|
|
32592
|
+
/** Model Context Protocol server management */
|
|
32593
|
+
mcp: MCP;
|
|
32402
32594
|
/**
|
|
32403
32595
|
* Experimental feature, use with caution
|
|
32404
32596
|
* @experimental
|
|
@@ -32435,10 +32627,6 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
32435
32627
|
* @returns {Promise<ToolRouterSession<TToolCollection, TTool, TProvider>>} The tool router session
|
|
32436
32628
|
*/
|
|
32437
32629
|
use: (id: string) => Promise<ToolRouterSession<unknown, unknown, TProvider>>;
|
|
32438
|
-
/**
|
|
32439
|
-
* Experimental features
|
|
32440
|
-
*/
|
|
32441
|
-
experimental: {};
|
|
32442
32630
|
/**
|
|
32443
32631
|
* Creates a new instance of the Composio SDK.
|
|
32444
32632
|
*
|
|
@@ -32700,288 +32888,6 @@ declare class AuthScheme {
|
|
|
32700
32888
|
}): ConnectionData;
|
|
32701
32889
|
}
|
|
32702
32890
|
//#endregion
|
|
32703
|
-
//#region src/models/MCP.d.ts
|
|
32704
|
-
/**
|
|
32705
|
-
* Extract the MCP response type from a provider.
|
|
32706
|
-
*/
|
|
32707
|
-
type ExtractMcpResponseType<T> = T extends BaseComposioProvider<unknown, unknown, infer TMcp> ? TMcp : McpServerGetResponse;
|
|
32708
|
-
/**
|
|
32709
|
-
* MCP (Model Control Protocol) class
|
|
32710
|
-
* Handles MCP server operations
|
|
32711
|
-
*/
|
|
32712
|
-
declare class MCP<TProvider extends BaseComposioProvider<unknown, unknown, unknown>> {
|
|
32713
|
-
private client;
|
|
32714
|
-
private toolkits;
|
|
32715
|
-
protected provider: TProvider;
|
|
32716
|
-
readonly TMcpResponse: ExtractMcpResponseType<TProvider>;
|
|
32717
|
-
constructor(client: ComposioClient, provider: TProvider);
|
|
32718
|
-
/**
|
|
32719
|
-
* Validates toolkit configurations using Zod schema
|
|
32720
|
-
* @private
|
|
32721
|
-
* @param {MCPToolkitConfig[]} toolkitConfigs - Array of toolkit configurations to validate
|
|
32722
|
-
* @param {MCPAuthOptions} [authOptions] - Authentication options to validate
|
|
32723
|
-
* @throws {ValidationError} If validation fails
|
|
32724
|
-
*/
|
|
32725
|
-
private validateInputs;
|
|
32726
|
-
/**
|
|
32727
|
-
* Create a new MCP server
|
|
32728
|
-
* @param {Object} params - Parameters for creating the MCP server
|
|
32729
|
-
* @param {Array} params.authConfig - Array of auth configurations with id and allowed tools
|
|
32730
|
-
* @param {Object} params.options - Server creation options
|
|
32731
|
-
* @param {string} params.options.name - Unique name for the MCP server
|
|
32732
|
-
* @param {boolean} [params.options.isChatAuth] - Whether to use chat-based authentication
|
|
32733
|
-
* @returns {Promise<McpServerCreateResponse<TMcpResponse>>} Created server details with instance getter
|
|
32734
|
-
*
|
|
32735
|
-
* @example
|
|
32736
|
-
* ```typescript
|
|
32737
|
-
* const server = await composio.mcp.create("personal-mcp-server", [
|
|
32738
|
-
* {
|
|
32739
|
-
* authConfigId: "ac_xyz",
|
|
32740
|
-
* allowedTools: ["GMAIL_FETCH_EMAILS", "SLACK_SEND_MESSAGE"]
|
|
32741
|
-
* }
|
|
32742
|
-
* ],
|
|
32743
|
-
* {
|
|
32744
|
-
* isChatAuth: true
|
|
32745
|
-
* }
|
|
32746
|
-
* });
|
|
32747
|
-
*
|
|
32748
|
-
* // Use convenience method on response
|
|
32749
|
-
* const urls = await server.getServer({
|
|
32750
|
-
* userId: "user123"
|
|
32751
|
-
* });
|
|
32752
|
-
* ```
|
|
32753
|
-
*/
|
|
32754
|
-
create(name: string, serverConfig: Array<{
|
|
32755
|
-
authConfigId: string;
|
|
32756
|
-
allowedTools: string[];
|
|
32757
|
-
}>, options: {
|
|
32758
|
-
isChatAuth?: boolean;
|
|
32759
|
-
}): Promise<McpServerCreateResponse<typeof this.TMcpResponse>>;
|
|
32760
|
-
/**
|
|
32761
|
-
* Get the connection status of a user for an MCP server
|
|
32762
|
-
*
|
|
32763
|
-
* Checks whether a user has the necessary connected accounts to use all toolkits
|
|
32764
|
-
* configured in the specified MCP server. Returns both overall connection status
|
|
32765
|
-
* and individual status for each toolkit.
|
|
32766
|
-
*
|
|
32767
|
-
* @param {Object} params - Parameters for checking connection status
|
|
32768
|
-
* @param {string} params.id - The UUID of the MCP server to check
|
|
32769
|
-
* @param {string} params.userId - The ID of the user to check connection status for
|
|
32770
|
-
* @returns {Promise<McpUserConnectionStatus>} Complete connection status including:
|
|
32771
|
-
* - `type`: Overall status (CONNECTED if all toolkits are connected, DISCONNECTED otherwise)
|
|
32772
|
-
* - `connected`: Boolean indicating if user can use the MCP server
|
|
32773
|
-
* - `connectedToolkits`: Record mapping each toolkit name to its individual connection status
|
|
32774
|
-
*
|
|
32775
|
-
* @throws {ValidationError} When MCP server has no toolkits configured
|
|
32776
|
-
* @throws {ValidationError} When MCP server retrieval fails
|
|
32777
|
-
*
|
|
32778
|
-
* @example
|
|
32779
|
-
* ```typescript
|
|
32780
|
-
* // Check if user can access an MCP server with Gmail and Slack toolkits
|
|
32781
|
-
* const connectionStatus = await composio.mcp.getUserConnectionStatus('user123', 'mcp-server-uuid');
|
|
32782
|
-
*
|
|
32783
|
-
* if (connectionStatus.connected) {
|
|
32784
|
-
* console.log('User can access all required toolkits');
|
|
32785
|
-
* // connectionStatus.type === ConnectionStatus.CONNECTED
|
|
32786
|
-
* } else {
|
|
32787
|
-
* console.log('User is missing some toolkit connections');
|
|
32788
|
-
* // Check individual toolkit statuses
|
|
32789
|
-
* Object.entries(connectionStatus.connectedToolkits).forEach(([toolkit, status]) => {
|
|
32790
|
-
* if (!status.connected) {
|
|
32791
|
-
* console.log(`Missing connection for toolkit: ${toolkit}`);
|
|
32792
|
-
* }
|
|
32793
|
-
* });
|
|
32794
|
-
* }
|
|
32795
|
-
* ```
|
|
32796
|
-
*
|
|
32797
|
-
* @example
|
|
32798
|
-
* ```typescript
|
|
32799
|
-
* // Example response when user has Gmail connected but missing Slack
|
|
32800
|
-
* {
|
|
32801
|
-
* type: ConnectionStatus.DISCONNECTED,
|
|
32802
|
-
* connected: false,
|
|
32803
|
-
* connectedToolkits: {
|
|
32804
|
-
* GMAIL: {
|
|
32805
|
-
* type: ConnectionStatus.CONNECTED,
|
|
32806
|
-
* connected: true,
|
|
32807
|
-
* toolkit: 'GMAIL',
|
|
32808
|
-
* connectedAccountId: 'conn_gmail_123'
|
|
32809
|
-
* },
|
|
32810
|
-
* SLACK: {
|
|
32811
|
-
* type: ConnectionStatus.DISCONNECTED,
|
|
32812
|
-
* connected: false,
|
|
32813
|
-
* toolkit: 'SLACK'
|
|
32814
|
-
* }
|
|
32815
|
-
* }
|
|
32816
|
-
* }
|
|
32817
|
-
* ```
|
|
32818
|
-
*/
|
|
32819
|
-
getUserConnectionStatus(userId: string, serverId: string): Promise<McpUserConnectionStatus>;
|
|
32820
|
-
/**
|
|
32821
|
-
* Get the connection parameters for a toolkit
|
|
32822
|
-
* @param {string} serverId - The UUID of the MCP server
|
|
32823
|
-
* @param {string} toolkit - The toolkit to get connection parameters for
|
|
32824
|
-
* @returns {Promise<ToolkitAuthFieldsResponse>} Connection parameters for the toolkit
|
|
32825
|
-
*/
|
|
32826
|
-
getConnectionParams(serverId: string, toolkit: string): Promise<ToolkitAuthFieldsResponse>;
|
|
32827
|
-
/**
|
|
32828
|
-
* Authorize a user for a toolkit
|
|
32829
|
-
* @param {string} serverId - The UUID of the MCP server
|
|
32830
|
-
* @param {string} userId - The ID of the user to authorize
|
|
32831
|
-
* @param {string} toolkit - The toolkit to authorize
|
|
32832
|
-
* @returns {Promise<ConnectionRequest>} Connection request for the toolkit
|
|
32833
|
-
*/
|
|
32834
|
-
authorize(userId: string, serverId: string, toolkit: string): Promise<ConnectionRequest>;
|
|
32835
|
-
/**
|
|
32836
|
-
* Get server URLs for an existing MCP server
|
|
32837
|
-
* @param {string} serverId - Server UUID
|
|
32838
|
-
* @param {string} userId - User ID to get server URLs for
|
|
32839
|
-
* @param {Object} [options] - Additional options for server configuration
|
|
32840
|
-
* @param {string[]} [options.limitTools] - Subset of tools to limit (from MCP config)
|
|
32841
|
-
* @param {boolean} [options.isChatAuth] - Whether to use chat-based authentication
|
|
32842
|
-
* @returns {Promise<TMcpResponse>} Transformed server URLs in provider-specific format
|
|
32843
|
-
*
|
|
32844
|
-
* @example
|
|
32845
|
-
* ```typescript
|
|
32846
|
-
* // Get URLs for an existing server with basic user ID
|
|
32847
|
-
* const urls = await composio.mcp.getServer("mcp_xyz", "hey@example.com");
|
|
32848
|
-
*
|
|
32849
|
-
* // Get URLs with additional options
|
|
32850
|
-
* const urls = await composio.mcp.getServer("mcp_xyz", "hey@example.com", {
|
|
32851
|
-
* limitTools: ["GMAIL_FETCH_EMAILS", "SLACK_SEND_MESSAGE"],
|
|
32852
|
-
* isChatAuth: true
|
|
32853
|
-
* });
|
|
32854
|
-
* ```
|
|
32855
|
-
*
|
|
32856
|
-
*/
|
|
32857
|
-
getServer(serverId: string, userId: string, options?: {
|
|
32858
|
-
limitTools?: string[];
|
|
32859
|
-
isChatAuth?: boolean;
|
|
32860
|
-
}): Promise<typeof this.TMcpResponse>;
|
|
32861
|
-
/**
|
|
32862
|
-
* List MCP server configurations with filtering options
|
|
32863
|
-
* @param {Object} options - Filtering and pagination options
|
|
32864
|
-
* @param {number} [options.page] - Page number for pagination
|
|
32865
|
-
* @param {number} [options.limit] - Number of items per page
|
|
32866
|
-
* @param {string[]} [options.toolkits] - Filter servers by toolkit names
|
|
32867
|
-
* @param {string[]} [options.authConfigs] - Filter servers by auth config IDs
|
|
32868
|
-
* @param {string} [options.name] - Filter servers by name
|
|
32869
|
-
* @param {string} [options.user] - Filter servers by user ID
|
|
32870
|
-
* @returns {Promise<McpListResponse>} List of MCP servers matching the filters
|
|
32871
|
-
*
|
|
32872
|
-
* @example
|
|
32873
|
-
* ```typescript
|
|
32874
|
-
* // List all servers with pagination
|
|
32875
|
-
* const servers = await composio.mcp.list({
|
|
32876
|
-
* page: 1,
|
|
32877
|
-
* limit: 10
|
|
32878
|
-
* });
|
|
32879
|
-
*
|
|
32880
|
-
* // List Gmail and Supabase servers
|
|
32881
|
-
* const filteredServers = await composio.mcp.list({
|
|
32882
|
-
* toolkits: ['GMAIL', 'SUPABASE'],
|
|
32883
|
-
* authConfigIds: ['auth_123', 'auth_456']
|
|
32884
|
-
* });
|
|
32885
|
-
* ```
|
|
32886
|
-
*/
|
|
32887
|
-
list(options: {
|
|
32888
|
-
page?: number;
|
|
32889
|
-
limit?: number;
|
|
32890
|
-
toolkits?: string[];
|
|
32891
|
-
authConfigs?: string[];
|
|
32892
|
-
name?: string;
|
|
32893
|
-
}): Promise<McpListResponse>;
|
|
32894
|
-
/**
|
|
32895
|
-
* Get details of a specific MCP server
|
|
32896
|
-
* @param {string} serverId - Server UUID
|
|
32897
|
-
* @returns {Promise<McpRetrieveResponse>} Server details
|
|
32898
|
-
*
|
|
32899
|
-
* @example
|
|
32900
|
-
* ```typescript
|
|
32901
|
-
* const serverDetails = await composio.mcp.get('server-uuid');
|
|
32902
|
-
* ```
|
|
32903
|
-
*/
|
|
32904
|
-
get(serverId: string): Promise<McpRetrieveResponse>;
|
|
32905
|
-
/**
|
|
32906
|
-
* Delete an MCP server
|
|
32907
|
-
* @param {string} serverId - Server UUID
|
|
32908
|
-
* @returns {Promise<McpDeleteResponse>} Deletion response
|
|
32909
|
-
*
|
|
32910
|
-
* @example
|
|
32911
|
-
* ```typescript
|
|
32912
|
-
* const result = await composio.mcp.delete('server-uuid');
|
|
32913
|
-
* ```
|
|
32914
|
-
*/
|
|
32915
|
-
delete(serverId: string): Promise<McpDeleteResponse>;
|
|
32916
|
-
/**
|
|
32917
|
-
* Update an MCP server configuration
|
|
32918
|
-
* @param {string} id - Server UUID
|
|
32919
|
-
* @param {string} name - New unique name for the server
|
|
32920
|
-
* @param {MCPToolkitConfig[]} toolkitConfigs - Array of toolkit configurations
|
|
32921
|
-
* @param {MCPAuthOptions} [authOptions] - Updated authentication options
|
|
32922
|
-
* @returns {Promise<McpUpdateResponse>} Updated server details
|
|
32923
|
-
*
|
|
32924
|
-
* @example
|
|
32925
|
-
* ```typescript
|
|
32926
|
-
* const updatedServer = await composio.mcp.update(
|
|
32927
|
-
* "server-uuid",
|
|
32928
|
-
* "my-updated-server",
|
|
32929
|
-
* [
|
|
32930
|
-
* {
|
|
32931
|
-
* toolkit: "GMAIL",
|
|
32932
|
-
* authConfigId: "ac_sdhkjfhjksdk",
|
|
32933
|
-
* allowedTools: ["GMAIL_FETCH_EMAILS"],
|
|
32934
|
-
* },
|
|
32935
|
-
* ],
|
|
32936
|
-
* {
|
|
32937
|
-
* isChatAuth: true,
|
|
32938
|
-
* }
|
|
32939
|
-
* );
|
|
32940
|
-
* ```
|
|
32941
|
-
*/
|
|
32942
|
-
update(serverId: string, name: string, toolkitConfigs: MCPToolkitConfig[], authOptions?: MCPAuthOptions): Promise<McpUpdateResponse>;
|
|
32943
|
-
/**
|
|
32944
|
-
* Generate URL for an MCP server
|
|
32945
|
-
* @param {string} serverId - Server UUID
|
|
32946
|
-
* @param {GenerateURLParams} params - Parameters for URL generation
|
|
32947
|
-
* @returns {Promise<GenerateURLResponse>} Generated URL response
|
|
32948
|
-
*
|
|
32949
|
-
* @example
|
|
32950
|
-
* ```typescript
|
|
32951
|
-
* const urlResponse = await composio.mcp.generateUrl('server-uuid', {
|
|
32952
|
-
* userIds: ['user123'],
|
|
32953
|
-
* connectedAccountIds: ['account456'],
|
|
32954
|
-
* isChatAuth: true
|
|
32955
|
-
* });
|
|
32956
|
-
* ```
|
|
32957
|
-
*/
|
|
32958
|
-
generateUrl(serverId: string, params: GenerateURLParams): Promise<GenerateURLResponse>;
|
|
32959
|
-
/**
|
|
32960
|
-
* Transform MCP URL response into the appropriate format.
|
|
32961
|
-
* If the provider has a custom transform method, use it.
|
|
32962
|
-
* Otherwise, use the default transformation.
|
|
32963
|
-
*
|
|
32964
|
-
* @param data - The MCP URL response data (in camelCase)
|
|
32965
|
-
* @param serverName - Name of the MCP server
|
|
32966
|
-
* @returns Transformed response in appropriate format
|
|
32967
|
-
* @deprecated
|
|
32968
|
-
*/
|
|
32969
|
-
private wrapMcpServerResponse;
|
|
32970
|
-
/**
|
|
32971
|
-
* Get details of a specific MCP server by name
|
|
32972
|
-
* @param {string} name - Server name
|
|
32973
|
-
* @returns {Promise<McpRetrieveResponse>} Server details
|
|
32974
|
-
* @throws {ValidationError} If no server found with the given name
|
|
32975
|
-
* @throws {ValidationError} If multiple servers found with the same name
|
|
32976
|
-
*
|
|
32977
|
-
* @example
|
|
32978
|
-
* ```typescript
|
|
32979
|
-
* const serverDetails = await composio.mcp.getByName('my-gmail-server');
|
|
32980
|
-
* ```
|
|
32981
|
-
*/
|
|
32982
|
-
getByName(serverName: string): Promise<McpRetrieveResponse>;
|
|
32983
|
-
}
|
|
32984
|
-
//#endregion
|
|
32985
32891
|
//#region src/models/ConnectionRequest.d.ts
|
|
32986
32892
|
/**
|
|
32987
32893
|
* Creates a connection request object with methods to manage the connection lifecycle.
|
|
@@ -33370,4 +33276,4 @@ declare class ComposioWebhookPayloadError extends ComposioError {
|
|
|
33370
33276
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
33371
33277
|
}
|
|
33372
33278
|
//#endregion
|
|
33373
|
-
export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDownloadData, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, SchemaModifierOptions, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, afterExecuteModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
|
|
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 };
|