@composio/core 0.4.0 → 0.5.1
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/{chunk-SfbczIpV.mjs → chunk-0j-ceAHr.mjs} +3 -4
- package/dist/chunk-CQwRTUmo.cjs +53 -0
- package/dist/fileUtils-CJjp8sBn.cjs +931 -0
- package/dist/fileUtils-XEoNI39Q.mjs +852 -0
- package/dist/files.types-B7P5A1Z5.d.mts +17 -0
- package/dist/files.types-D-RzIOHq.d.cts +17 -0
- package/dist/index.cjs +384 -1078
- package/dist/index.d.cts +782 -418
- package/dist/index.d.mts +781 -418
- package/dist/index.mjs +272 -929
- package/dist/models/Files.node.cjs +38 -0
- package/dist/models/Files.node.d.cts +41 -0
- package/dist/models/Files.node.d.mts +41 -0
- package/dist/models/Files.node.mjs +39 -0
- package/dist/models/Files.workerd.cjs +29 -0
- package/dist/models/Files.workerd.d.cts +13 -0
- package/dist/models/Files.workerd.d.mts +13 -0
- package/dist/models/Files.workerd.mjs +28 -0
- package/dist/platform/node.cjs +46 -0
- package/dist/platform/node.d.cts +11 -0
- package/dist/platform/node.d.mts +11 -0
- package/dist/platform/node.mjs +42 -0
- package/dist/platform/workerd.cjs +36 -0
- package/dist/platform/workerd.d.cts +12 -0
- package/dist/platform/workerd.d.mts +12 -0
- package/dist/platform/workerd.mjs +35 -0
- package/dist/types-BaUqjuX3.d.mts +56 -0
- package/dist/types-BrsW5suw.d.cts +56 -0
- package/generated/index.d.ts +6 -0
- package/generated/index.js +18 -0
- package/package.json +75 -15
- package/src/platform/index.ts +2 -0
- package/src/platform/node.ts +51 -0
- package/src/platform/types.ts +60 -0
- package/src/platform/workerd.ts +57 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { n as FileUploadData, t as FileDownloadData } from "./files.types-B7P5A1Z5.mjs";
|
|
1
2
|
import ComposioClient, { Composio as Composio$1 } from "@composio/client";
|
|
2
3
|
import z, { z as z$1 } from "zod/v3";
|
|
3
4
|
import { OpenAI } from "openai";
|
|
5
|
+
import { Files } from "#files";
|
|
4
6
|
import { CustomCreateResponse as CustomCreateResponse$1, GenerateURLResponse as GenerateURLResponse$1, McpCreateResponse } from "@composio/client/resources/mcp";
|
|
5
7
|
import { ToolExecuteResponse as ToolExecuteResponse$1, ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
|
|
6
8
|
import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
|
|
@@ -564,17 +566,17 @@ declare const ToolListParamsSchema: z$1.ZodObject<{
|
|
|
564
566
|
}, "strip", z$1.ZodTypeAny, {
|
|
565
567
|
tags?: string[] | undefined;
|
|
566
568
|
scopes?: string[] | undefined;
|
|
567
|
-
limit?: number | undefined;
|
|
568
569
|
tools?: string[] | undefined;
|
|
569
570
|
toolkits?: string[] | undefined;
|
|
571
|
+
limit?: number | undefined;
|
|
570
572
|
search?: string | undefined;
|
|
571
573
|
authConfigIds?: string[] | undefined;
|
|
572
574
|
}, {
|
|
573
575
|
tags?: string[] | undefined;
|
|
574
576
|
scopes?: string[] | undefined;
|
|
575
|
-
limit?: number | undefined;
|
|
576
577
|
tools?: string[] | undefined;
|
|
577
578
|
toolkits?: string[] | undefined;
|
|
579
|
+
limit?: number | undefined;
|
|
578
580
|
search?: string | undefined;
|
|
579
581
|
authConfigIds?: string[] | undefined;
|
|
580
582
|
}>;
|
|
@@ -893,6 +895,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
893
895
|
}, "status">, z$1.ZodUnknown, "strip">>;
|
|
894
896
|
}, "strip", z$1.ZodTypeAny, {
|
|
895
897
|
authScheme: "OAUTH2";
|
|
898
|
+
toolkitSlug: string;
|
|
896
899
|
val: {
|
|
897
900
|
access_token: string;
|
|
898
901
|
version?: string | undefined;
|
|
@@ -926,12 +929,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
926
929
|
registration_access_token?: string | undefined;
|
|
927
930
|
registration_client_uri?: string | undefined;
|
|
928
931
|
composio_link_redirect_url?: string | undefined;
|
|
929
|
-
webhook_signature?: string | undefined;
|
|
930
932
|
id_token?: string | undefined;
|
|
931
933
|
token_type?: string | undefined;
|
|
932
934
|
refresh_token?: string | null | undefined;
|
|
933
935
|
expires_in?: string | number | null | undefined;
|
|
934
936
|
scope?: string | string[] | null | undefined;
|
|
937
|
+
webhook_signature?: string | undefined;
|
|
935
938
|
authed_user?: {
|
|
936
939
|
access_token?: string | undefined;
|
|
937
940
|
scope?: string | undefined;
|
|
@@ -939,9 +942,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
939
942
|
} & {
|
|
940
943
|
[k: string]: unknown;
|
|
941
944
|
};
|
|
942
|
-
toolkitSlug: string;
|
|
943
945
|
}, {
|
|
944
946
|
authScheme: "OAUTH2";
|
|
947
|
+
toolkitSlug: string;
|
|
945
948
|
val: {
|
|
946
949
|
access_token: string;
|
|
947
950
|
version?: string | undefined;
|
|
@@ -975,12 +978,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
975
978
|
registration_access_token?: string | undefined;
|
|
976
979
|
registration_client_uri?: string | undefined;
|
|
977
980
|
composio_link_redirect_url?: string | undefined;
|
|
978
|
-
webhook_signature?: string | undefined;
|
|
979
981
|
id_token?: string | undefined;
|
|
980
982
|
token_type?: string | undefined;
|
|
981
983
|
refresh_token?: string | null | undefined;
|
|
982
984
|
expires_in?: string | number | null | undefined;
|
|
983
985
|
scope?: string | string[] | null | undefined;
|
|
986
|
+
webhook_signature?: string | undefined;
|
|
984
987
|
authed_user?: {
|
|
985
988
|
access_token?: string | undefined;
|
|
986
989
|
scope?: string | undefined;
|
|
@@ -988,7 +991,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
988
991
|
} & {
|
|
989
992
|
[k: string]: unknown;
|
|
990
993
|
};
|
|
991
|
-
toolkitSlug: string;
|
|
992
994
|
}>, z$1.ZodObject<{
|
|
993
995
|
authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
|
|
994
996
|
toolkitSlug: z$1.ZodString;
|
|
@@ -1100,6 +1102,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1100
1102
|
}, z$1.ZodUnknown, "strip">>;
|
|
1101
1103
|
}, "strip", z$1.ZodTypeAny, {
|
|
1102
1104
|
authScheme: "DCR_OAUTH";
|
|
1105
|
+
toolkitSlug: string;
|
|
1103
1106
|
val: {
|
|
1104
1107
|
access_token: string;
|
|
1105
1108
|
client_id: string;
|
|
@@ -1137,9 +1140,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1137
1140
|
} & {
|
|
1138
1141
|
[k: string]: unknown;
|
|
1139
1142
|
};
|
|
1140
|
-
toolkitSlug: string;
|
|
1141
1143
|
}, {
|
|
1142
1144
|
authScheme: "DCR_OAUTH";
|
|
1145
|
+
toolkitSlug: string;
|
|
1143
1146
|
val: {
|
|
1144
1147
|
access_token: string;
|
|
1145
1148
|
client_id: string;
|
|
@@ -1177,7 +1180,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1177
1180
|
} & {
|
|
1178
1181
|
[k: string]: unknown;
|
|
1179
1182
|
};
|
|
1180
|
-
toolkitSlug: string;
|
|
1181
1183
|
}>, z$1.ZodObject<{
|
|
1182
1184
|
authScheme: z$1.ZodLiteral<"API_KEY">;
|
|
1183
1185
|
toolkitSlug: z$1.ZodString;
|
|
@@ -1283,6 +1285,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1283
1285
|
}, z$1.ZodUnknown, "strip">>;
|
|
1284
1286
|
}, "strip", z$1.ZodTypeAny, {
|
|
1285
1287
|
authScheme: "API_KEY";
|
|
1288
|
+
toolkitSlug: string;
|
|
1286
1289
|
val: {
|
|
1287
1290
|
version?: string | undefined;
|
|
1288
1291
|
"your-domain"?: string | undefined;
|
|
@@ -1318,9 +1321,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1318
1321
|
} & {
|
|
1319
1322
|
[k: string]: unknown;
|
|
1320
1323
|
};
|
|
1321
|
-
toolkitSlug: string;
|
|
1322
1324
|
}, {
|
|
1323
1325
|
authScheme: "API_KEY";
|
|
1326
|
+
toolkitSlug: string;
|
|
1324
1327
|
val: {
|
|
1325
1328
|
version?: string | undefined;
|
|
1326
1329
|
"your-domain"?: string | undefined;
|
|
@@ -1356,7 +1359,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1356
1359
|
} & {
|
|
1357
1360
|
[k: string]: unknown;
|
|
1358
1361
|
};
|
|
1359
|
-
toolkitSlug: string;
|
|
1360
1362
|
}>, z$1.ZodObject<{
|
|
1361
1363
|
authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
|
|
1362
1364
|
toolkitSlug: z$1.ZodString;
|
|
@@ -1468,6 +1470,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1468
1470
|
}, z$1.ZodUnknown, "strip">>;
|
|
1469
1471
|
}, "strip", z$1.ZodTypeAny, {
|
|
1470
1472
|
authScheme: "BASIC_WITH_JWT";
|
|
1473
|
+
toolkitSlug: string;
|
|
1471
1474
|
val: {
|
|
1472
1475
|
username: string;
|
|
1473
1476
|
password: string;
|
|
@@ -1505,9 +1508,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1505
1508
|
} & {
|
|
1506
1509
|
[k: string]: unknown;
|
|
1507
1510
|
};
|
|
1508
|
-
toolkitSlug: string;
|
|
1509
1511
|
}, {
|
|
1510
1512
|
authScheme: "BASIC_WITH_JWT";
|
|
1513
|
+
toolkitSlug: string;
|
|
1511
1514
|
val: {
|
|
1512
1515
|
username: string;
|
|
1513
1516
|
password: string;
|
|
@@ -1545,7 +1548,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1545
1548
|
} & {
|
|
1546
1549
|
[k: string]: unknown;
|
|
1547
1550
|
};
|
|
1548
|
-
toolkitSlug: string;
|
|
1549
1551
|
}>, z$1.ZodObject<{
|
|
1550
1552
|
authScheme: z$1.ZodLiteral<"BASIC">;
|
|
1551
1553
|
toolkitSlug: z$1.ZodString;
|
|
@@ -1657,6 +1659,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1657
1659
|
}, z$1.ZodUnknown, "strip">>;
|
|
1658
1660
|
}, "strip", z$1.ZodTypeAny, {
|
|
1659
1661
|
authScheme: "BASIC";
|
|
1662
|
+
toolkitSlug: string;
|
|
1660
1663
|
val: {
|
|
1661
1664
|
username: string;
|
|
1662
1665
|
password: string;
|
|
@@ -1694,9 +1697,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1694
1697
|
} & {
|
|
1695
1698
|
[k: string]: unknown;
|
|
1696
1699
|
};
|
|
1697
|
-
toolkitSlug: string;
|
|
1698
1700
|
}, {
|
|
1699
1701
|
authScheme: "BASIC";
|
|
1702
|
+
toolkitSlug: string;
|
|
1700
1703
|
val: {
|
|
1701
1704
|
username: string;
|
|
1702
1705
|
password: string;
|
|
@@ -1734,7 +1737,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1734
1737
|
} & {
|
|
1735
1738
|
[k: string]: unknown;
|
|
1736
1739
|
};
|
|
1737
|
-
toolkitSlug: string;
|
|
1738
1740
|
}>, z$1.ZodObject<{
|
|
1739
1741
|
authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
|
|
1740
1742
|
toolkitSlug: z$1.ZodString;
|
|
@@ -1843,6 +1845,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1843
1845
|
}, z$1.ZodUnknown, "strip">>;
|
|
1844
1846
|
}, "strip", z$1.ZodTypeAny, {
|
|
1845
1847
|
authScheme: "BEARER_TOKEN";
|
|
1848
|
+
toolkitSlug: string;
|
|
1846
1849
|
val: {
|
|
1847
1850
|
token: string;
|
|
1848
1851
|
version?: string | undefined;
|
|
@@ -1879,9 +1882,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1879
1882
|
} & {
|
|
1880
1883
|
[k: string]: unknown;
|
|
1881
1884
|
};
|
|
1882
|
-
toolkitSlug: string;
|
|
1883
1885
|
}, {
|
|
1884
1886
|
authScheme: "BEARER_TOKEN";
|
|
1887
|
+
toolkitSlug: string;
|
|
1885
1888
|
val: {
|
|
1886
1889
|
token: string;
|
|
1887
1890
|
version?: string | undefined;
|
|
@@ -1918,7 +1921,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
1918
1921
|
} & {
|
|
1919
1922
|
[k: string]: unknown;
|
|
1920
1923
|
};
|
|
1921
|
-
toolkitSlug: string;
|
|
1922
1924
|
}>, z$1.ZodObject<{
|
|
1923
1925
|
authScheme: z$1.ZodLiteral<"OAUTH1">;
|
|
1924
1926
|
toolkitSlug: z$1.ZodString;
|
|
@@ -2045,6 +2047,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2045
2047
|
}, "status">, z$1.ZodUnknown, "strip">>;
|
|
2046
2048
|
}, "strip", z$1.ZodTypeAny, {
|
|
2047
2049
|
authScheme: "OAUTH1";
|
|
2050
|
+
toolkitSlug: string;
|
|
2048
2051
|
val: {
|
|
2049
2052
|
oauth_token: string;
|
|
2050
2053
|
oauth_token_secret: string;
|
|
@@ -2079,16 +2082,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2079
2082
|
registration_access_token?: string | undefined;
|
|
2080
2083
|
registration_client_uri?: string | undefined;
|
|
2081
2084
|
composio_link_redirect_url?: string | undefined;
|
|
2082
|
-
redirectUrl?: string | undefined;
|
|
2083
|
-
callback_url?: string | undefined;
|
|
2084
2085
|
consumer_key?: string | undefined;
|
|
2085
2086
|
oauth_verifier?: string | undefined;
|
|
2087
|
+
redirectUrl?: string | undefined;
|
|
2088
|
+
callback_url?: string | undefined;
|
|
2086
2089
|
} & {
|
|
2087
2090
|
[k: string]: unknown;
|
|
2088
2091
|
};
|
|
2089
|
-
toolkitSlug: string;
|
|
2090
2092
|
}, {
|
|
2091
2093
|
authScheme: "OAUTH1";
|
|
2094
|
+
toolkitSlug: string;
|
|
2092
2095
|
val: {
|
|
2093
2096
|
oauth_token: string;
|
|
2094
2097
|
oauth_token_secret: string;
|
|
@@ -2123,14 +2126,13 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2123
2126
|
registration_access_token?: string | undefined;
|
|
2124
2127
|
registration_client_uri?: string | undefined;
|
|
2125
2128
|
composio_link_redirect_url?: string | undefined;
|
|
2126
|
-
redirectUrl?: string | undefined;
|
|
2127
|
-
callback_url?: string | undefined;
|
|
2128
2129
|
consumer_key?: string | undefined;
|
|
2129
2130
|
oauth_verifier?: string | undefined;
|
|
2131
|
+
redirectUrl?: string | undefined;
|
|
2132
|
+
callback_url?: string | undefined;
|
|
2130
2133
|
} & {
|
|
2131
2134
|
[k: string]: unknown;
|
|
2132
2135
|
};
|
|
2133
|
-
toolkitSlug: string;
|
|
2134
2136
|
}>, z$1.ZodObject<{
|
|
2135
2137
|
authScheme: z$1.ZodLiteral<"NO_AUTH">;
|
|
2136
2138
|
toolkitSlug: z$1.ZodString;
|
|
@@ -2233,6 +2235,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2233
2235
|
}, z$1.ZodUnknown, "strip">>;
|
|
2234
2236
|
}, "strip", z$1.ZodTypeAny, {
|
|
2235
2237
|
authScheme: "NO_AUTH";
|
|
2238
|
+
toolkitSlug: string;
|
|
2236
2239
|
val: {
|
|
2237
2240
|
version?: string | undefined;
|
|
2238
2241
|
"your-domain"?: string | undefined;
|
|
@@ -2268,9 +2271,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2268
2271
|
} & {
|
|
2269
2272
|
[k: string]: unknown;
|
|
2270
2273
|
};
|
|
2271
|
-
toolkitSlug: string;
|
|
2272
2274
|
}, {
|
|
2273
2275
|
authScheme: "NO_AUTH";
|
|
2276
|
+
toolkitSlug: string;
|
|
2274
2277
|
val: {
|
|
2275
2278
|
version?: string | undefined;
|
|
2276
2279
|
"your-domain"?: string | undefined;
|
|
@@ -2306,7 +2309,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2306
2309
|
} & {
|
|
2307
2310
|
[k: string]: unknown;
|
|
2308
2311
|
};
|
|
2309
|
-
toolkitSlug: string;
|
|
2310
2312
|
}>, z$1.ZodObject<{
|
|
2311
2313
|
authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
2312
2314
|
toolkitSlug: z$1.ZodString;
|
|
@@ -2421,6 +2423,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2421
2423
|
}, z$1.ZodUnknown, "strip">>;
|
|
2422
2424
|
}, "strip", z$1.ZodTypeAny, {
|
|
2423
2425
|
authScheme: "SERVICE_ACCOUNT";
|
|
2426
|
+
toolkitSlug: string;
|
|
2424
2427
|
val: {
|
|
2425
2428
|
application_id: string;
|
|
2426
2429
|
installation_id: string;
|
|
@@ -2459,9 +2462,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2459
2462
|
} & {
|
|
2460
2463
|
[k: string]: unknown;
|
|
2461
2464
|
};
|
|
2462
|
-
toolkitSlug: string;
|
|
2463
2465
|
}, {
|
|
2464
2466
|
authScheme: "SERVICE_ACCOUNT";
|
|
2467
|
+
toolkitSlug: string;
|
|
2465
2468
|
val: {
|
|
2466
2469
|
application_id: string;
|
|
2467
2470
|
installation_id: string;
|
|
@@ -2500,7 +2503,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2500
2503
|
} & {
|
|
2501
2504
|
[k: string]: unknown;
|
|
2502
2505
|
};
|
|
2503
|
-
toolkitSlug: string;
|
|
2504
2506
|
}>]>>;
|
|
2505
2507
|
arguments: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
2506
2508
|
userId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2522,6 +2524,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2522
2524
|
} | undefined;
|
|
2523
2525
|
customConnectionData?: {
|
|
2524
2526
|
authScheme: "OAUTH2";
|
|
2527
|
+
toolkitSlug: string;
|
|
2525
2528
|
val: {
|
|
2526
2529
|
access_token: string;
|
|
2527
2530
|
version?: string | undefined;
|
|
@@ -2555,12 +2558,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2555
2558
|
registration_access_token?: string | undefined;
|
|
2556
2559
|
registration_client_uri?: string | undefined;
|
|
2557
2560
|
composio_link_redirect_url?: string | undefined;
|
|
2558
|
-
webhook_signature?: string | undefined;
|
|
2559
2561
|
id_token?: string | undefined;
|
|
2560
2562
|
token_type?: string | undefined;
|
|
2561
2563
|
refresh_token?: string | null | undefined;
|
|
2562
2564
|
expires_in?: string | number | null | undefined;
|
|
2563
2565
|
scope?: string | string[] | null | undefined;
|
|
2566
|
+
webhook_signature?: string | undefined;
|
|
2564
2567
|
authed_user?: {
|
|
2565
2568
|
access_token?: string | undefined;
|
|
2566
2569
|
scope?: string | undefined;
|
|
@@ -2568,9 +2571,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2568
2571
|
} & {
|
|
2569
2572
|
[k: string]: unknown;
|
|
2570
2573
|
};
|
|
2571
|
-
toolkitSlug: string;
|
|
2572
2574
|
} | {
|
|
2573
2575
|
authScheme: "DCR_OAUTH";
|
|
2576
|
+
toolkitSlug: string;
|
|
2574
2577
|
val: {
|
|
2575
2578
|
access_token: string;
|
|
2576
2579
|
client_id: string;
|
|
@@ -2608,9 +2611,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2608
2611
|
} & {
|
|
2609
2612
|
[k: string]: unknown;
|
|
2610
2613
|
};
|
|
2611
|
-
toolkitSlug: string;
|
|
2612
2614
|
} | {
|
|
2613
2615
|
authScheme: "API_KEY";
|
|
2616
|
+
toolkitSlug: string;
|
|
2614
2617
|
val: {
|
|
2615
2618
|
version?: string | undefined;
|
|
2616
2619
|
"your-domain"?: string | undefined;
|
|
@@ -2646,9 +2649,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2646
2649
|
} & {
|
|
2647
2650
|
[k: string]: unknown;
|
|
2648
2651
|
};
|
|
2649
|
-
toolkitSlug: string;
|
|
2650
2652
|
} | {
|
|
2651
2653
|
authScheme: "BASIC_WITH_JWT";
|
|
2654
|
+
toolkitSlug: string;
|
|
2652
2655
|
val: {
|
|
2653
2656
|
username: string;
|
|
2654
2657
|
password: string;
|
|
@@ -2686,9 +2689,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2686
2689
|
} & {
|
|
2687
2690
|
[k: string]: unknown;
|
|
2688
2691
|
};
|
|
2689
|
-
toolkitSlug: string;
|
|
2690
2692
|
} | {
|
|
2691
2693
|
authScheme: "BASIC";
|
|
2694
|
+
toolkitSlug: string;
|
|
2692
2695
|
val: {
|
|
2693
2696
|
username: string;
|
|
2694
2697
|
password: string;
|
|
@@ -2726,9 +2729,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2726
2729
|
} & {
|
|
2727
2730
|
[k: string]: unknown;
|
|
2728
2731
|
};
|
|
2729
|
-
toolkitSlug: string;
|
|
2730
2732
|
} | {
|
|
2731
2733
|
authScheme: "BEARER_TOKEN";
|
|
2734
|
+
toolkitSlug: string;
|
|
2732
2735
|
val: {
|
|
2733
2736
|
token: string;
|
|
2734
2737
|
version?: string | undefined;
|
|
@@ -2765,9 +2768,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2765
2768
|
} & {
|
|
2766
2769
|
[k: string]: unknown;
|
|
2767
2770
|
};
|
|
2768
|
-
toolkitSlug: string;
|
|
2769
2771
|
} | {
|
|
2770
2772
|
authScheme: "OAUTH1";
|
|
2773
|
+
toolkitSlug: string;
|
|
2771
2774
|
val: {
|
|
2772
2775
|
oauth_token: string;
|
|
2773
2776
|
oauth_token_secret: string;
|
|
@@ -2802,16 +2805,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2802
2805
|
registration_access_token?: string | undefined;
|
|
2803
2806
|
registration_client_uri?: string | undefined;
|
|
2804
2807
|
composio_link_redirect_url?: string | undefined;
|
|
2805
|
-
redirectUrl?: string | undefined;
|
|
2806
|
-
callback_url?: string | undefined;
|
|
2807
2808
|
consumer_key?: string | undefined;
|
|
2808
2809
|
oauth_verifier?: string | undefined;
|
|
2810
|
+
redirectUrl?: string | undefined;
|
|
2811
|
+
callback_url?: string | undefined;
|
|
2809
2812
|
} & {
|
|
2810
2813
|
[k: string]: unknown;
|
|
2811
2814
|
};
|
|
2812
|
-
toolkitSlug: string;
|
|
2813
2815
|
} | {
|
|
2814
2816
|
authScheme: "NO_AUTH";
|
|
2817
|
+
toolkitSlug: string;
|
|
2815
2818
|
val: {
|
|
2816
2819
|
version?: string | undefined;
|
|
2817
2820
|
"your-domain"?: string | undefined;
|
|
@@ -2847,9 +2850,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2847
2850
|
} & {
|
|
2848
2851
|
[k: string]: unknown;
|
|
2849
2852
|
};
|
|
2850
|
-
toolkitSlug: string;
|
|
2851
2853
|
} | {
|
|
2852
2854
|
authScheme: "SERVICE_ACCOUNT";
|
|
2855
|
+
toolkitSlug: string;
|
|
2853
2856
|
val: {
|
|
2854
2857
|
application_id: string;
|
|
2855
2858
|
installation_id: string;
|
|
@@ -2888,7 +2891,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2888
2891
|
} & {
|
|
2889
2892
|
[k: string]: unknown;
|
|
2890
2893
|
};
|
|
2891
|
-
toolkitSlug: string;
|
|
2892
2894
|
} | undefined;
|
|
2893
2895
|
arguments?: Record<string, unknown> | undefined;
|
|
2894
2896
|
userId?: string | undefined;
|
|
@@ -2909,6 +2911,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2909
2911
|
} | undefined;
|
|
2910
2912
|
customConnectionData?: {
|
|
2911
2913
|
authScheme: "OAUTH2";
|
|
2914
|
+
toolkitSlug: string;
|
|
2912
2915
|
val: {
|
|
2913
2916
|
access_token: string;
|
|
2914
2917
|
version?: string | undefined;
|
|
@@ -2942,12 +2945,12 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2942
2945
|
registration_access_token?: string | undefined;
|
|
2943
2946
|
registration_client_uri?: string | undefined;
|
|
2944
2947
|
composio_link_redirect_url?: string | undefined;
|
|
2945
|
-
webhook_signature?: string | undefined;
|
|
2946
2948
|
id_token?: string | undefined;
|
|
2947
2949
|
token_type?: string | undefined;
|
|
2948
2950
|
refresh_token?: string | null | undefined;
|
|
2949
2951
|
expires_in?: string | number | null | undefined;
|
|
2950
2952
|
scope?: string | string[] | null | undefined;
|
|
2953
|
+
webhook_signature?: string | undefined;
|
|
2951
2954
|
authed_user?: {
|
|
2952
2955
|
access_token?: string | undefined;
|
|
2953
2956
|
scope?: string | undefined;
|
|
@@ -2955,9 +2958,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2955
2958
|
} & {
|
|
2956
2959
|
[k: string]: unknown;
|
|
2957
2960
|
};
|
|
2958
|
-
toolkitSlug: string;
|
|
2959
2961
|
} | {
|
|
2960
2962
|
authScheme: "DCR_OAUTH";
|
|
2963
|
+
toolkitSlug: string;
|
|
2961
2964
|
val: {
|
|
2962
2965
|
access_token: string;
|
|
2963
2966
|
client_id: string;
|
|
@@ -2995,9 +2998,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2995
2998
|
} & {
|
|
2996
2999
|
[k: string]: unknown;
|
|
2997
3000
|
};
|
|
2998
|
-
toolkitSlug: string;
|
|
2999
3001
|
} | {
|
|
3000
3002
|
authScheme: "API_KEY";
|
|
3003
|
+
toolkitSlug: string;
|
|
3001
3004
|
val: {
|
|
3002
3005
|
version?: string | undefined;
|
|
3003
3006
|
"your-domain"?: string | undefined;
|
|
@@ -3033,9 +3036,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3033
3036
|
} & {
|
|
3034
3037
|
[k: string]: unknown;
|
|
3035
3038
|
};
|
|
3036
|
-
toolkitSlug: string;
|
|
3037
3039
|
} | {
|
|
3038
3040
|
authScheme: "BASIC_WITH_JWT";
|
|
3041
|
+
toolkitSlug: string;
|
|
3039
3042
|
val: {
|
|
3040
3043
|
username: string;
|
|
3041
3044
|
password: string;
|
|
@@ -3073,9 +3076,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3073
3076
|
} & {
|
|
3074
3077
|
[k: string]: unknown;
|
|
3075
3078
|
};
|
|
3076
|
-
toolkitSlug: string;
|
|
3077
3079
|
} | {
|
|
3078
3080
|
authScheme: "BASIC";
|
|
3081
|
+
toolkitSlug: string;
|
|
3079
3082
|
val: {
|
|
3080
3083
|
username: string;
|
|
3081
3084
|
password: string;
|
|
@@ -3113,9 +3116,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3113
3116
|
} & {
|
|
3114
3117
|
[k: string]: unknown;
|
|
3115
3118
|
};
|
|
3116
|
-
toolkitSlug: string;
|
|
3117
3119
|
} | {
|
|
3118
3120
|
authScheme: "BEARER_TOKEN";
|
|
3121
|
+
toolkitSlug: string;
|
|
3119
3122
|
val: {
|
|
3120
3123
|
token: string;
|
|
3121
3124
|
version?: string | undefined;
|
|
@@ -3152,9 +3155,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3152
3155
|
} & {
|
|
3153
3156
|
[k: string]: unknown;
|
|
3154
3157
|
};
|
|
3155
|
-
toolkitSlug: string;
|
|
3156
3158
|
} | {
|
|
3157
3159
|
authScheme: "OAUTH1";
|
|
3160
|
+
toolkitSlug: string;
|
|
3158
3161
|
val: {
|
|
3159
3162
|
oauth_token: string;
|
|
3160
3163
|
oauth_token_secret: string;
|
|
@@ -3189,16 +3192,16 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3189
3192
|
registration_access_token?: string | undefined;
|
|
3190
3193
|
registration_client_uri?: string | undefined;
|
|
3191
3194
|
composio_link_redirect_url?: string | undefined;
|
|
3192
|
-
redirectUrl?: string | undefined;
|
|
3193
|
-
callback_url?: string | undefined;
|
|
3194
3195
|
consumer_key?: string | undefined;
|
|
3195
3196
|
oauth_verifier?: string | undefined;
|
|
3197
|
+
redirectUrl?: string | undefined;
|
|
3198
|
+
callback_url?: string | undefined;
|
|
3196
3199
|
} & {
|
|
3197
3200
|
[k: string]: unknown;
|
|
3198
3201
|
};
|
|
3199
|
-
toolkitSlug: string;
|
|
3200
3202
|
} | {
|
|
3201
3203
|
authScheme: "NO_AUTH";
|
|
3204
|
+
toolkitSlug: string;
|
|
3202
3205
|
val: {
|
|
3203
3206
|
version?: string | undefined;
|
|
3204
3207
|
"your-domain"?: string | undefined;
|
|
@@ -3234,9 +3237,9 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3234
3237
|
} & {
|
|
3235
3238
|
[k: string]: unknown;
|
|
3236
3239
|
};
|
|
3237
|
-
toolkitSlug: string;
|
|
3238
3240
|
} | {
|
|
3239
3241
|
authScheme: "SERVICE_ACCOUNT";
|
|
3242
|
+
toolkitSlug: string;
|
|
3240
3243
|
val: {
|
|
3241
3244
|
application_id: string;
|
|
3242
3245
|
installation_id: string;
|
|
@@ -3275,7 +3278,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3275
3278
|
} & {
|
|
3276
3279
|
[k: string]: unknown;
|
|
3277
3280
|
};
|
|
3278
|
-
toolkitSlug: string;
|
|
3279
3281
|
} | undefined;
|
|
3280
3282
|
arguments?: Record<string, unknown> | undefined;
|
|
3281
3283
|
userId?: string | undefined;
|
|
@@ -3304,14 +3306,14 @@ declare const ToolExecuteResponseSchema: z$1.ZodObject<{
|
|
|
3304
3306
|
logId: z$1.ZodOptional<z$1.ZodString>;
|
|
3305
3307
|
sessionInfo: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
3306
3308
|
}, "strip", z$1.ZodTypeAny, {
|
|
3307
|
-
error: string | null;
|
|
3308
3309
|
data: Record<string, unknown>;
|
|
3310
|
+
error: string | null;
|
|
3309
3311
|
successful: boolean;
|
|
3310
3312
|
logId?: string | undefined;
|
|
3311
3313
|
sessionInfo?: unknown;
|
|
3312
3314
|
}, {
|
|
3313
|
-
error: string | null;
|
|
3314
3315
|
data: Record<string, unknown>;
|
|
3316
|
+
error: string | null;
|
|
3315
3317
|
successful: boolean;
|
|
3316
3318
|
logId?: string | undefined;
|
|
3317
3319
|
sessionInfo?: unknown;
|
|
@@ -3497,6 +3499,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3497
3499
|
}, "status">, z$1.ZodUnknown, "strip">>;
|
|
3498
3500
|
}, "strip", z$1.ZodTypeAny, {
|
|
3499
3501
|
authScheme: "OAUTH2";
|
|
3502
|
+
toolkitSlug: string;
|
|
3500
3503
|
val: {
|
|
3501
3504
|
access_token: string;
|
|
3502
3505
|
version?: string | undefined;
|
|
@@ -3530,12 +3533,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3530
3533
|
registration_access_token?: string | undefined;
|
|
3531
3534
|
registration_client_uri?: string | undefined;
|
|
3532
3535
|
composio_link_redirect_url?: string | undefined;
|
|
3533
|
-
webhook_signature?: string | undefined;
|
|
3534
3536
|
id_token?: string | undefined;
|
|
3535
3537
|
token_type?: string | undefined;
|
|
3536
3538
|
refresh_token?: string | null | undefined;
|
|
3537
3539
|
expires_in?: string | number | null | undefined;
|
|
3538
3540
|
scope?: string | string[] | null | undefined;
|
|
3541
|
+
webhook_signature?: string | undefined;
|
|
3539
3542
|
authed_user?: {
|
|
3540
3543
|
access_token?: string | undefined;
|
|
3541
3544
|
scope?: string | undefined;
|
|
@@ -3543,9 +3546,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3543
3546
|
} & {
|
|
3544
3547
|
[k: string]: unknown;
|
|
3545
3548
|
};
|
|
3546
|
-
toolkitSlug: string;
|
|
3547
3549
|
}, {
|
|
3548
3550
|
authScheme: "OAUTH2";
|
|
3551
|
+
toolkitSlug: string;
|
|
3549
3552
|
val: {
|
|
3550
3553
|
access_token: string;
|
|
3551
3554
|
version?: string | undefined;
|
|
@@ -3579,12 +3582,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3579
3582
|
registration_access_token?: string | undefined;
|
|
3580
3583
|
registration_client_uri?: string | undefined;
|
|
3581
3584
|
composio_link_redirect_url?: string | undefined;
|
|
3582
|
-
webhook_signature?: string | undefined;
|
|
3583
3585
|
id_token?: string | undefined;
|
|
3584
3586
|
token_type?: string | undefined;
|
|
3585
3587
|
refresh_token?: string | null | undefined;
|
|
3586
3588
|
expires_in?: string | number | null | undefined;
|
|
3587
3589
|
scope?: string | string[] | null | undefined;
|
|
3590
|
+
webhook_signature?: string | undefined;
|
|
3588
3591
|
authed_user?: {
|
|
3589
3592
|
access_token?: string | undefined;
|
|
3590
3593
|
scope?: string | undefined;
|
|
@@ -3592,7 +3595,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3592
3595
|
} & {
|
|
3593
3596
|
[k: string]: unknown;
|
|
3594
3597
|
};
|
|
3595
|
-
toolkitSlug: string;
|
|
3596
3598
|
}>, z$1.ZodObject<{
|
|
3597
3599
|
authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
|
|
3598
3600
|
toolkitSlug: z$1.ZodString;
|
|
@@ -3704,6 +3706,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3704
3706
|
}, z$1.ZodUnknown, "strip">>;
|
|
3705
3707
|
}, "strip", z$1.ZodTypeAny, {
|
|
3706
3708
|
authScheme: "DCR_OAUTH";
|
|
3709
|
+
toolkitSlug: string;
|
|
3707
3710
|
val: {
|
|
3708
3711
|
access_token: string;
|
|
3709
3712
|
client_id: string;
|
|
@@ -3741,9 +3744,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3741
3744
|
} & {
|
|
3742
3745
|
[k: string]: unknown;
|
|
3743
3746
|
};
|
|
3744
|
-
toolkitSlug: string;
|
|
3745
3747
|
}, {
|
|
3746
3748
|
authScheme: "DCR_OAUTH";
|
|
3749
|
+
toolkitSlug: string;
|
|
3747
3750
|
val: {
|
|
3748
3751
|
access_token: string;
|
|
3749
3752
|
client_id: string;
|
|
@@ -3781,7 +3784,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3781
3784
|
} & {
|
|
3782
3785
|
[k: string]: unknown;
|
|
3783
3786
|
};
|
|
3784
|
-
toolkitSlug: string;
|
|
3785
3787
|
}>, z$1.ZodObject<{
|
|
3786
3788
|
authScheme: z$1.ZodLiteral<"API_KEY">;
|
|
3787
3789
|
toolkitSlug: z$1.ZodString;
|
|
@@ -3887,6 +3889,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3887
3889
|
}, z$1.ZodUnknown, "strip">>;
|
|
3888
3890
|
}, "strip", z$1.ZodTypeAny, {
|
|
3889
3891
|
authScheme: "API_KEY";
|
|
3892
|
+
toolkitSlug: string;
|
|
3890
3893
|
val: {
|
|
3891
3894
|
version?: string | undefined;
|
|
3892
3895
|
"your-domain"?: string | undefined;
|
|
@@ -3922,9 +3925,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3922
3925
|
} & {
|
|
3923
3926
|
[k: string]: unknown;
|
|
3924
3927
|
};
|
|
3925
|
-
toolkitSlug: string;
|
|
3926
3928
|
}, {
|
|
3927
3929
|
authScheme: "API_KEY";
|
|
3930
|
+
toolkitSlug: string;
|
|
3928
3931
|
val: {
|
|
3929
3932
|
version?: string | undefined;
|
|
3930
3933
|
"your-domain"?: string | undefined;
|
|
@@ -3960,7 +3963,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3960
3963
|
} & {
|
|
3961
3964
|
[k: string]: unknown;
|
|
3962
3965
|
};
|
|
3963
|
-
toolkitSlug: string;
|
|
3964
3966
|
}>, z$1.ZodObject<{
|
|
3965
3967
|
authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
|
|
3966
3968
|
toolkitSlug: z$1.ZodString;
|
|
@@ -4072,6 +4074,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4072
4074
|
}, z$1.ZodUnknown, "strip">>;
|
|
4073
4075
|
}, "strip", z$1.ZodTypeAny, {
|
|
4074
4076
|
authScheme: "BASIC_WITH_JWT";
|
|
4077
|
+
toolkitSlug: string;
|
|
4075
4078
|
val: {
|
|
4076
4079
|
username: string;
|
|
4077
4080
|
password: string;
|
|
@@ -4109,9 +4112,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4109
4112
|
} & {
|
|
4110
4113
|
[k: string]: unknown;
|
|
4111
4114
|
};
|
|
4112
|
-
toolkitSlug: string;
|
|
4113
4115
|
}, {
|
|
4114
4116
|
authScheme: "BASIC_WITH_JWT";
|
|
4117
|
+
toolkitSlug: string;
|
|
4115
4118
|
val: {
|
|
4116
4119
|
username: string;
|
|
4117
4120
|
password: string;
|
|
@@ -4149,7 +4152,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4149
4152
|
} & {
|
|
4150
4153
|
[k: string]: unknown;
|
|
4151
4154
|
};
|
|
4152
|
-
toolkitSlug: string;
|
|
4153
4155
|
}>, z$1.ZodObject<{
|
|
4154
4156
|
authScheme: z$1.ZodLiteral<"BASIC">;
|
|
4155
4157
|
toolkitSlug: z$1.ZodString;
|
|
@@ -4261,6 +4263,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4261
4263
|
}, z$1.ZodUnknown, "strip">>;
|
|
4262
4264
|
}, "strip", z$1.ZodTypeAny, {
|
|
4263
4265
|
authScheme: "BASIC";
|
|
4266
|
+
toolkitSlug: string;
|
|
4264
4267
|
val: {
|
|
4265
4268
|
username: string;
|
|
4266
4269
|
password: string;
|
|
@@ -4298,9 +4301,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4298
4301
|
} & {
|
|
4299
4302
|
[k: string]: unknown;
|
|
4300
4303
|
};
|
|
4301
|
-
toolkitSlug: string;
|
|
4302
4304
|
}, {
|
|
4303
4305
|
authScheme: "BASIC";
|
|
4306
|
+
toolkitSlug: string;
|
|
4304
4307
|
val: {
|
|
4305
4308
|
username: string;
|
|
4306
4309
|
password: string;
|
|
@@ -4338,7 +4341,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4338
4341
|
} & {
|
|
4339
4342
|
[k: string]: unknown;
|
|
4340
4343
|
};
|
|
4341
|
-
toolkitSlug: string;
|
|
4342
4344
|
}>, z$1.ZodObject<{
|
|
4343
4345
|
authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
|
|
4344
4346
|
toolkitSlug: z$1.ZodString;
|
|
@@ -4447,6 +4449,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4447
4449
|
}, z$1.ZodUnknown, "strip">>;
|
|
4448
4450
|
}, "strip", z$1.ZodTypeAny, {
|
|
4449
4451
|
authScheme: "BEARER_TOKEN";
|
|
4452
|
+
toolkitSlug: string;
|
|
4450
4453
|
val: {
|
|
4451
4454
|
token: string;
|
|
4452
4455
|
version?: string | undefined;
|
|
@@ -4483,9 +4486,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4483
4486
|
} & {
|
|
4484
4487
|
[k: string]: unknown;
|
|
4485
4488
|
};
|
|
4486
|
-
toolkitSlug: string;
|
|
4487
4489
|
}, {
|
|
4488
4490
|
authScheme: "BEARER_TOKEN";
|
|
4491
|
+
toolkitSlug: string;
|
|
4489
4492
|
val: {
|
|
4490
4493
|
token: string;
|
|
4491
4494
|
version?: string | undefined;
|
|
@@ -4522,7 +4525,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4522
4525
|
} & {
|
|
4523
4526
|
[k: string]: unknown;
|
|
4524
4527
|
};
|
|
4525
|
-
toolkitSlug: string;
|
|
4526
4528
|
}>, z$1.ZodObject<{
|
|
4527
4529
|
authScheme: z$1.ZodLiteral<"OAUTH1">;
|
|
4528
4530
|
toolkitSlug: z$1.ZodString;
|
|
@@ -4649,6 +4651,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4649
4651
|
}, "status">, z$1.ZodUnknown, "strip">>;
|
|
4650
4652
|
}, "strip", z$1.ZodTypeAny, {
|
|
4651
4653
|
authScheme: "OAUTH1";
|
|
4654
|
+
toolkitSlug: string;
|
|
4652
4655
|
val: {
|
|
4653
4656
|
oauth_token: string;
|
|
4654
4657
|
oauth_token_secret: string;
|
|
@@ -4683,16 +4686,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4683
4686
|
registration_access_token?: string | undefined;
|
|
4684
4687
|
registration_client_uri?: string | undefined;
|
|
4685
4688
|
composio_link_redirect_url?: string | undefined;
|
|
4686
|
-
redirectUrl?: string | undefined;
|
|
4687
|
-
callback_url?: string | undefined;
|
|
4688
4689
|
consumer_key?: string | undefined;
|
|
4689
4690
|
oauth_verifier?: string | undefined;
|
|
4691
|
+
redirectUrl?: string | undefined;
|
|
4692
|
+
callback_url?: string | undefined;
|
|
4690
4693
|
} & {
|
|
4691
4694
|
[k: string]: unknown;
|
|
4692
4695
|
};
|
|
4693
|
-
toolkitSlug: string;
|
|
4694
4696
|
}, {
|
|
4695
4697
|
authScheme: "OAUTH1";
|
|
4698
|
+
toolkitSlug: string;
|
|
4696
4699
|
val: {
|
|
4697
4700
|
oauth_token: string;
|
|
4698
4701
|
oauth_token_secret: string;
|
|
@@ -4727,14 +4730,13 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4727
4730
|
registration_access_token?: string | undefined;
|
|
4728
4731
|
registration_client_uri?: string | undefined;
|
|
4729
4732
|
composio_link_redirect_url?: string | undefined;
|
|
4730
|
-
redirectUrl?: string | undefined;
|
|
4731
|
-
callback_url?: string | undefined;
|
|
4732
4733
|
consumer_key?: string | undefined;
|
|
4733
4734
|
oauth_verifier?: string | undefined;
|
|
4735
|
+
redirectUrl?: string | undefined;
|
|
4736
|
+
callback_url?: string | undefined;
|
|
4734
4737
|
} & {
|
|
4735
4738
|
[k: string]: unknown;
|
|
4736
4739
|
};
|
|
4737
|
-
toolkitSlug: string;
|
|
4738
4740
|
}>, z$1.ZodObject<{
|
|
4739
4741
|
authScheme: z$1.ZodLiteral<"NO_AUTH">;
|
|
4740
4742
|
toolkitSlug: z$1.ZodString;
|
|
@@ -4837,6 +4839,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4837
4839
|
}, z$1.ZodUnknown, "strip">>;
|
|
4838
4840
|
}, "strip", z$1.ZodTypeAny, {
|
|
4839
4841
|
authScheme: "NO_AUTH";
|
|
4842
|
+
toolkitSlug: string;
|
|
4840
4843
|
val: {
|
|
4841
4844
|
version?: string | undefined;
|
|
4842
4845
|
"your-domain"?: string | undefined;
|
|
@@ -4872,9 +4875,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4872
4875
|
} & {
|
|
4873
4876
|
[k: string]: unknown;
|
|
4874
4877
|
};
|
|
4875
|
-
toolkitSlug: string;
|
|
4876
4878
|
}, {
|
|
4877
4879
|
authScheme: "NO_AUTH";
|
|
4880
|
+
toolkitSlug: string;
|
|
4878
4881
|
val: {
|
|
4879
4882
|
version?: string | undefined;
|
|
4880
4883
|
"your-domain"?: string | undefined;
|
|
@@ -4910,7 +4913,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
4910
4913
|
} & {
|
|
4911
4914
|
[k: string]: unknown;
|
|
4912
4915
|
};
|
|
4913
|
-
toolkitSlug: string;
|
|
4914
4916
|
}>, z$1.ZodObject<{
|
|
4915
4917
|
authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
4916
4918
|
toolkitSlug: z$1.ZodString;
|
|
@@ -5025,6 +5027,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5025
5027
|
}, z$1.ZodUnknown, "strip">>;
|
|
5026
5028
|
}, "strip", z$1.ZodTypeAny, {
|
|
5027
5029
|
authScheme: "SERVICE_ACCOUNT";
|
|
5030
|
+
toolkitSlug: string;
|
|
5028
5031
|
val: {
|
|
5029
5032
|
application_id: string;
|
|
5030
5033
|
installation_id: string;
|
|
@@ -5063,9 +5066,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5063
5066
|
} & {
|
|
5064
5067
|
[k: string]: unknown;
|
|
5065
5068
|
};
|
|
5066
|
-
toolkitSlug: string;
|
|
5067
5069
|
}, {
|
|
5068
5070
|
authScheme: "SERVICE_ACCOUNT";
|
|
5071
|
+
toolkitSlug: string;
|
|
5069
5072
|
val: {
|
|
5070
5073
|
application_id: string;
|
|
5071
5074
|
installation_id: string;
|
|
@@ -5104,7 +5107,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5104
5107
|
} & {
|
|
5105
5108
|
[k: string]: unknown;
|
|
5106
5109
|
};
|
|
5107
|
-
toolkitSlug: string;
|
|
5108
5110
|
}>]>>;
|
|
5109
5111
|
}, "strip", z$1.ZodTypeAny, {
|
|
5110
5112
|
endpoint: string;
|
|
@@ -5118,6 +5120,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5118
5120
|
connectedAccountId?: string | undefined;
|
|
5119
5121
|
customConnectionData?: {
|
|
5120
5122
|
authScheme: "OAUTH2";
|
|
5123
|
+
toolkitSlug: string;
|
|
5121
5124
|
val: {
|
|
5122
5125
|
access_token: string;
|
|
5123
5126
|
version?: string | undefined;
|
|
@@ -5151,12 +5154,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5151
5154
|
registration_access_token?: string | undefined;
|
|
5152
5155
|
registration_client_uri?: string | undefined;
|
|
5153
5156
|
composio_link_redirect_url?: string | undefined;
|
|
5154
|
-
webhook_signature?: string | undefined;
|
|
5155
5157
|
id_token?: string | undefined;
|
|
5156
5158
|
token_type?: string | undefined;
|
|
5157
5159
|
refresh_token?: string | null | undefined;
|
|
5158
5160
|
expires_in?: string | number | null | undefined;
|
|
5159
5161
|
scope?: string | string[] | null | undefined;
|
|
5162
|
+
webhook_signature?: string | undefined;
|
|
5160
5163
|
authed_user?: {
|
|
5161
5164
|
access_token?: string | undefined;
|
|
5162
5165
|
scope?: string | undefined;
|
|
@@ -5164,9 +5167,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5164
5167
|
} & {
|
|
5165
5168
|
[k: string]: unknown;
|
|
5166
5169
|
};
|
|
5167
|
-
toolkitSlug: string;
|
|
5168
5170
|
} | {
|
|
5169
5171
|
authScheme: "DCR_OAUTH";
|
|
5172
|
+
toolkitSlug: string;
|
|
5170
5173
|
val: {
|
|
5171
5174
|
access_token: string;
|
|
5172
5175
|
client_id: string;
|
|
@@ -5204,9 +5207,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5204
5207
|
} & {
|
|
5205
5208
|
[k: string]: unknown;
|
|
5206
5209
|
};
|
|
5207
|
-
toolkitSlug: string;
|
|
5208
5210
|
} | {
|
|
5209
5211
|
authScheme: "API_KEY";
|
|
5212
|
+
toolkitSlug: string;
|
|
5210
5213
|
val: {
|
|
5211
5214
|
version?: string | undefined;
|
|
5212
5215
|
"your-domain"?: string | undefined;
|
|
@@ -5242,9 +5245,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5242
5245
|
} & {
|
|
5243
5246
|
[k: string]: unknown;
|
|
5244
5247
|
};
|
|
5245
|
-
toolkitSlug: string;
|
|
5246
5248
|
} | {
|
|
5247
5249
|
authScheme: "BASIC_WITH_JWT";
|
|
5250
|
+
toolkitSlug: string;
|
|
5248
5251
|
val: {
|
|
5249
5252
|
username: string;
|
|
5250
5253
|
password: string;
|
|
@@ -5282,9 +5285,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5282
5285
|
} & {
|
|
5283
5286
|
[k: string]: unknown;
|
|
5284
5287
|
};
|
|
5285
|
-
toolkitSlug: string;
|
|
5286
5288
|
} | {
|
|
5287
5289
|
authScheme: "BASIC";
|
|
5290
|
+
toolkitSlug: string;
|
|
5288
5291
|
val: {
|
|
5289
5292
|
username: string;
|
|
5290
5293
|
password: string;
|
|
@@ -5322,9 +5325,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5322
5325
|
} & {
|
|
5323
5326
|
[k: string]: unknown;
|
|
5324
5327
|
};
|
|
5325
|
-
toolkitSlug: string;
|
|
5326
5328
|
} | {
|
|
5327
5329
|
authScheme: "BEARER_TOKEN";
|
|
5330
|
+
toolkitSlug: string;
|
|
5328
5331
|
val: {
|
|
5329
5332
|
token: string;
|
|
5330
5333
|
version?: string | undefined;
|
|
@@ -5361,9 +5364,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5361
5364
|
} & {
|
|
5362
5365
|
[k: string]: unknown;
|
|
5363
5366
|
};
|
|
5364
|
-
toolkitSlug: string;
|
|
5365
5367
|
} | {
|
|
5366
5368
|
authScheme: "OAUTH1";
|
|
5369
|
+
toolkitSlug: string;
|
|
5367
5370
|
val: {
|
|
5368
5371
|
oauth_token: string;
|
|
5369
5372
|
oauth_token_secret: string;
|
|
@@ -5398,16 +5401,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5398
5401
|
registration_access_token?: string | undefined;
|
|
5399
5402
|
registration_client_uri?: string | undefined;
|
|
5400
5403
|
composio_link_redirect_url?: string | undefined;
|
|
5401
|
-
redirectUrl?: string | undefined;
|
|
5402
|
-
callback_url?: string | undefined;
|
|
5403
5404
|
consumer_key?: string | undefined;
|
|
5404
5405
|
oauth_verifier?: string | undefined;
|
|
5406
|
+
redirectUrl?: string | undefined;
|
|
5407
|
+
callback_url?: string | undefined;
|
|
5405
5408
|
} & {
|
|
5406
5409
|
[k: string]: unknown;
|
|
5407
5410
|
};
|
|
5408
|
-
toolkitSlug: string;
|
|
5409
5411
|
} | {
|
|
5410
5412
|
authScheme: "NO_AUTH";
|
|
5413
|
+
toolkitSlug: string;
|
|
5411
5414
|
val: {
|
|
5412
5415
|
version?: string | undefined;
|
|
5413
5416
|
"your-domain"?: string | undefined;
|
|
@@ -5443,9 +5446,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5443
5446
|
} & {
|
|
5444
5447
|
[k: string]: unknown;
|
|
5445
5448
|
};
|
|
5446
|
-
toolkitSlug: string;
|
|
5447
5449
|
} | {
|
|
5448
5450
|
authScheme: "SERVICE_ACCOUNT";
|
|
5451
|
+
toolkitSlug: string;
|
|
5449
5452
|
val: {
|
|
5450
5453
|
application_id: string;
|
|
5451
5454
|
installation_id: string;
|
|
@@ -5484,7 +5487,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5484
5487
|
} & {
|
|
5485
5488
|
[k: string]: unknown;
|
|
5486
5489
|
};
|
|
5487
|
-
toolkitSlug: string;
|
|
5488
5490
|
} | undefined;
|
|
5489
5491
|
}, {
|
|
5490
5492
|
endpoint: string;
|
|
@@ -5498,6 +5500,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5498
5500
|
connectedAccountId?: string | undefined;
|
|
5499
5501
|
customConnectionData?: {
|
|
5500
5502
|
authScheme: "OAUTH2";
|
|
5503
|
+
toolkitSlug: string;
|
|
5501
5504
|
val: {
|
|
5502
5505
|
access_token: string;
|
|
5503
5506
|
version?: string | undefined;
|
|
@@ -5531,12 +5534,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5531
5534
|
registration_access_token?: string | undefined;
|
|
5532
5535
|
registration_client_uri?: string | undefined;
|
|
5533
5536
|
composio_link_redirect_url?: string | undefined;
|
|
5534
|
-
webhook_signature?: string | undefined;
|
|
5535
5537
|
id_token?: string | undefined;
|
|
5536
5538
|
token_type?: string | undefined;
|
|
5537
5539
|
refresh_token?: string | null | undefined;
|
|
5538
5540
|
expires_in?: string | number | null | undefined;
|
|
5539
5541
|
scope?: string | string[] | null | undefined;
|
|
5542
|
+
webhook_signature?: string | undefined;
|
|
5540
5543
|
authed_user?: {
|
|
5541
5544
|
access_token?: string | undefined;
|
|
5542
5545
|
scope?: string | undefined;
|
|
@@ -5544,9 +5547,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5544
5547
|
} & {
|
|
5545
5548
|
[k: string]: unknown;
|
|
5546
5549
|
};
|
|
5547
|
-
toolkitSlug: string;
|
|
5548
5550
|
} | {
|
|
5549
5551
|
authScheme: "DCR_OAUTH";
|
|
5552
|
+
toolkitSlug: string;
|
|
5550
5553
|
val: {
|
|
5551
5554
|
access_token: string;
|
|
5552
5555
|
client_id: string;
|
|
@@ -5584,9 +5587,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5584
5587
|
} & {
|
|
5585
5588
|
[k: string]: unknown;
|
|
5586
5589
|
};
|
|
5587
|
-
toolkitSlug: string;
|
|
5588
5590
|
} | {
|
|
5589
5591
|
authScheme: "API_KEY";
|
|
5592
|
+
toolkitSlug: string;
|
|
5590
5593
|
val: {
|
|
5591
5594
|
version?: string | undefined;
|
|
5592
5595
|
"your-domain"?: string | undefined;
|
|
@@ -5622,9 +5625,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5622
5625
|
} & {
|
|
5623
5626
|
[k: string]: unknown;
|
|
5624
5627
|
};
|
|
5625
|
-
toolkitSlug: string;
|
|
5626
5628
|
} | {
|
|
5627
5629
|
authScheme: "BASIC_WITH_JWT";
|
|
5630
|
+
toolkitSlug: string;
|
|
5628
5631
|
val: {
|
|
5629
5632
|
username: string;
|
|
5630
5633
|
password: string;
|
|
@@ -5662,9 +5665,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5662
5665
|
} & {
|
|
5663
5666
|
[k: string]: unknown;
|
|
5664
5667
|
};
|
|
5665
|
-
toolkitSlug: string;
|
|
5666
5668
|
} | {
|
|
5667
5669
|
authScheme: "BASIC";
|
|
5670
|
+
toolkitSlug: string;
|
|
5668
5671
|
val: {
|
|
5669
5672
|
username: string;
|
|
5670
5673
|
password: string;
|
|
@@ -5702,9 +5705,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5702
5705
|
} & {
|
|
5703
5706
|
[k: string]: unknown;
|
|
5704
5707
|
};
|
|
5705
|
-
toolkitSlug: string;
|
|
5706
5708
|
} | {
|
|
5707
5709
|
authScheme: "BEARER_TOKEN";
|
|
5710
|
+
toolkitSlug: string;
|
|
5708
5711
|
val: {
|
|
5709
5712
|
token: string;
|
|
5710
5713
|
version?: string | undefined;
|
|
@@ -5741,9 +5744,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5741
5744
|
} & {
|
|
5742
5745
|
[k: string]: unknown;
|
|
5743
5746
|
};
|
|
5744
|
-
toolkitSlug: string;
|
|
5745
5747
|
} | {
|
|
5746
5748
|
authScheme: "OAUTH1";
|
|
5749
|
+
toolkitSlug: string;
|
|
5747
5750
|
val: {
|
|
5748
5751
|
oauth_token: string;
|
|
5749
5752
|
oauth_token_secret: string;
|
|
@@ -5778,16 +5781,16 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5778
5781
|
registration_access_token?: string | undefined;
|
|
5779
5782
|
registration_client_uri?: string | undefined;
|
|
5780
5783
|
composio_link_redirect_url?: string | undefined;
|
|
5781
|
-
redirectUrl?: string | undefined;
|
|
5782
|
-
callback_url?: string | undefined;
|
|
5783
5784
|
consumer_key?: string | undefined;
|
|
5784
5785
|
oauth_verifier?: string | undefined;
|
|
5786
|
+
redirectUrl?: string | undefined;
|
|
5787
|
+
callback_url?: string | undefined;
|
|
5785
5788
|
} & {
|
|
5786
5789
|
[k: string]: unknown;
|
|
5787
5790
|
};
|
|
5788
|
-
toolkitSlug: string;
|
|
5789
5791
|
} | {
|
|
5790
5792
|
authScheme: "NO_AUTH";
|
|
5793
|
+
toolkitSlug: string;
|
|
5791
5794
|
val: {
|
|
5792
5795
|
version?: string | undefined;
|
|
5793
5796
|
"your-domain"?: string | undefined;
|
|
@@ -5823,9 +5826,9 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5823
5826
|
} & {
|
|
5824
5827
|
[k: string]: unknown;
|
|
5825
5828
|
};
|
|
5826
|
-
toolkitSlug: string;
|
|
5827
5829
|
} | {
|
|
5828
5830
|
authScheme: "SERVICE_ACCOUNT";
|
|
5831
|
+
toolkitSlug: string;
|
|
5829
5832
|
val: {
|
|
5830
5833
|
application_id: string;
|
|
5831
5834
|
installation_id: string;
|
|
@@ -5864,7 +5867,6 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5864
5867
|
} & {
|
|
5865
5868
|
[k: string]: unknown;
|
|
5866
5869
|
};
|
|
5867
|
-
toolkitSlug: string;
|
|
5868
5870
|
} | undefined;
|
|
5869
5871
|
}>;
|
|
5870
5872
|
type ToolProxyParams = z$1.infer<typeof ToolProxyParamsSchema>;
|
|
@@ -11097,12 +11099,13 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
|
|
|
11097
11099
|
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
11098
11100
|
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11099
11101
|
} & {
|
|
11100
|
-
status: z$1.ZodLiteral<"
|
|
11101
|
-
authUri: z$1.ZodString;
|
|
11102
|
+
status: z$1.ZodLiteral<"ACTIVE">;
|
|
11102
11103
|
oauth_token: z$1.ZodString;
|
|
11103
11104
|
oauth_token_secret: z$1.ZodString;
|
|
11104
|
-
|
|
11105
|
-
|
|
11105
|
+
consumer_key: z$1.ZodOptional<z$1.ZodString>;
|
|
11106
|
+
oauth_verifier: z$1.ZodOptional<z$1.ZodString>;
|
|
11107
|
+
redirectUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
11108
|
+
callback_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11106
11109
|
}, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
|
|
11107
11110
|
subdomain: z$1.ZodOptional<z$1.ZodString>;
|
|
11108
11111
|
"your-domain": z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -11136,13 +11139,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
|
|
|
11136
11139
|
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
11137
11140
|
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11138
11141
|
} & {
|
|
11139
|
-
status: z$1.ZodLiteral<"
|
|
11142
|
+
status: z$1.ZodLiteral<"INITIATED">;
|
|
11143
|
+
authUri: z$1.ZodString;
|
|
11140
11144
|
oauth_token: z$1.ZodString;
|
|
11141
11145
|
oauth_token_secret: z$1.ZodString;
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
redirectUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
11145
|
-
callback_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11146
|
+
redirectUrl: z$1.ZodString;
|
|
11147
|
+
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
11146
11148
|
}, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
|
|
11147
11149
|
subdomain: z$1.ZodOptional<z$1.ZodString>;
|
|
11148
11150
|
"your-domain": z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -11323,45 +11325,6 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
|
|
|
11323
11325
|
registration_access_token: z$1.ZodOptional<z$1.ZodString>;
|
|
11324
11326
|
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
11325
11327
|
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11326
|
-
} & {
|
|
11327
|
-
status: z$1.ZodLiteral<"INITIATED">;
|
|
11328
|
-
authUri: z$1.ZodString;
|
|
11329
|
-
oauth_token: z$1.ZodString;
|
|
11330
|
-
oauth_token_secret: z$1.ZodString;
|
|
11331
|
-
redirectUrl: z$1.ZodString;
|
|
11332
|
-
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
11333
|
-
}, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
|
|
11334
|
-
subdomain: z$1.ZodOptional<z$1.ZodString>;
|
|
11335
|
-
"your-domain": z$1.ZodOptional<z$1.ZodString>;
|
|
11336
|
-
region: z$1.ZodOptional<z$1.ZodString>;
|
|
11337
|
-
shop: z$1.ZodOptional<z$1.ZodString>;
|
|
11338
|
-
account_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11339
|
-
COMPANYDOMAIN: z$1.ZodOptional<z$1.ZodString>;
|
|
11340
|
-
extension: z$1.ZodOptional<z$1.ZodString>;
|
|
11341
|
-
form_api_base_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11342
|
-
instanceEndpoint: z$1.ZodOptional<z$1.ZodString>;
|
|
11343
|
-
api_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11344
|
-
borneo_dashboard_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11345
|
-
proxy_username: z$1.ZodOptional<z$1.ZodString>;
|
|
11346
|
-
proxy_password: z$1.ZodOptional<z$1.ZodString>;
|
|
11347
|
-
domain: z$1.ZodOptional<z$1.ZodString>;
|
|
11348
|
-
version: z$1.ZodOptional<z$1.ZodString>;
|
|
11349
|
-
dc: z$1.ZodOptional<z$1.ZodString>;
|
|
11350
|
-
site_name: z$1.ZodOptional<z$1.ZodString>;
|
|
11351
|
-
instanceName: z$1.ZodOptional<z$1.ZodString>;
|
|
11352
|
-
account_id: z$1.ZodOptional<z$1.ZodString>;
|
|
11353
|
-
your_server: z$1.ZodOptional<z$1.ZodString>;
|
|
11354
|
-
server_location: z$1.ZodOptional<z$1.ZodString>;
|
|
11355
|
-
base_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11356
|
-
api_key: z$1.ZodOptional<z$1.ZodString>;
|
|
11357
|
-
generic_api_key: z$1.ZodOptional<z$1.ZodString>;
|
|
11358
|
-
bearer_token: z$1.ZodOptional<z$1.ZodString>;
|
|
11359
|
-
basic_encoded: z$1.ZodOptional<z$1.ZodString>;
|
|
11360
|
-
long_redirect_url: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11361
|
-
state_prefix: z$1.ZodOptional<z$1.ZodString>;
|
|
11362
|
-
registration_access_token: z$1.ZodOptional<z$1.ZodString>;
|
|
11363
|
-
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
11364
|
-
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11365
11328
|
} & {
|
|
11366
11329
|
status: z$1.ZodLiteral<"ACTIVE">;
|
|
11367
11330
|
oauth_token: z$1.ZodString;
|
|
@@ -11402,6 +11365,45 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
|
|
|
11402
11365
|
registration_access_token: z$1.ZodOptional<z$1.ZodString>;
|
|
11403
11366
|
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
11404
11367
|
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11368
|
+
} & {
|
|
11369
|
+
status: z$1.ZodLiteral<"INITIATED">;
|
|
11370
|
+
authUri: z$1.ZodString;
|
|
11371
|
+
oauth_token: z$1.ZodString;
|
|
11372
|
+
oauth_token_secret: z$1.ZodString;
|
|
11373
|
+
redirectUrl: z$1.ZodString;
|
|
11374
|
+
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
11375
|
+
}, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
|
|
11376
|
+
subdomain: z$1.ZodOptional<z$1.ZodString>;
|
|
11377
|
+
"your-domain": z$1.ZodOptional<z$1.ZodString>;
|
|
11378
|
+
region: z$1.ZodOptional<z$1.ZodString>;
|
|
11379
|
+
shop: z$1.ZodOptional<z$1.ZodString>;
|
|
11380
|
+
account_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11381
|
+
COMPANYDOMAIN: z$1.ZodOptional<z$1.ZodString>;
|
|
11382
|
+
extension: z$1.ZodOptional<z$1.ZodString>;
|
|
11383
|
+
form_api_base_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11384
|
+
instanceEndpoint: z$1.ZodOptional<z$1.ZodString>;
|
|
11385
|
+
api_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11386
|
+
borneo_dashboard_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11387
|
+
proxy_username: z$1.ZodOptional<z$1.ZodString>;
|
|
11388
|
+
proxy_password: z$1.ZodOptional<z$1.ZodString>;
|
|
11389
|
+
domain: z$1.ZodOptional<z$1.ZodString>;
|
|
11390
|
+
version: z$1.ZodOptional<z$1.ZodString>;
|
|
11391
|
+
dc: z$1.ZodOptional<z$1.ZodString>;
|
|
11392
|
+
site_name: z$1.ZodOptional<z$1.ZodString>;
|
|
11393
|
+
instanceName: z$1.ZodOptional<z$1.ZodString>;
|
|
11394
|
+
account_id: z$1.ZodOptional<z$1.ZodString>;
|
|
11395
|
+
your_server: z$1.ZodOptional<z$1.ZodString>;
|
|
11396
|
+
server_location: z$1.ZodOptional<z$1.ZodString>;
|
|
11397
|
+
base_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11398
|
+
api_key: z$1.ZodOptional<z$1.ZodString>;
|
|
11399
|
+
generic_api_key: z$1.ZodOptional<z$1.ZodString>;
|
|
11400
|
+
bearer_token: z$1.ZodOptional<z$1.ZodString>;
|
|
11401
|
+
basic_encoded: z$1.ZodOptional<z$1.ZodString>;
|
|
11402
|
+
long_redirect_url: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11403
|
+
state_prefix: z$1.ZodOptional<z$1.ZodString>;
|
|
11404
|
+
registration_access_token: z$1.ZodOptional<z$1.ZodString>;
|
|
11405
|
+
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
11406
|
+
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
11405
11407
|
} & {
|
|
11406
11408
|
status: z$1.ZodLiteral<"FAILED">;
|
|
11407
11409
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -12295,12 +12297,24 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
|
|
|
12295
12297
|
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
12296
12298
|
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
12297
12299
|
} & {
|
|
12298
|
-
status: z$1.ZodLiteral<"
|
|
12299
|
-
|
|
12300
|
-
|
|
12301
|
-
|
|
12302
|
-
|
|
12300
|
+
status: z$1.ZodLiteral<"ACTIVE">;
|
|
12301
|
+
access_token: z$1.ZodString;
|
|
12302
|
+
id_token: z$1.ZodOptional<z$1.ZodString>;
|
|
12303
|
+
token_type: z$1.ZodOptional<z$1.ZodString>;
|
|
12304
|
+
refresh_token: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
12305
|
+
expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
|
|
12306
|
+
scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
|
|
12303
12307
|
webhook_signature: z$1.ZodOptional<z$1.ZodString>;
|
|
12308
|
+
authed_user: z$1.ZodOptional<z$1.ZodObject<{
|
|
12309
|
+
access_token: z$1.ZodOptional<z$1.ZodString>;
|
|
12310
|
+
scope: z$1.ZodOptional<z$1.ZodString>;
|
|
12311
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
12312
|
+
access_token?: string | undefined;
|
|
12313
|
+
scope?: string | undefined;
|
|
12314
|
+
}, {
|
|
12315
|
+
access_token?: string | undefined;
|
|
12316
|
+
scope?: string | undefined;
|
|
12317
|
+
}>>;
|
|
12304
12318
|
}, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
|
|
12305
12319
|
subdomain: z$1.ZodOptional<z$1.ZodString>;
|
|
12306
12320
|
"your-domain": z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -12334,24 +12348,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
|
|
|
12334
12348
|
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
12335
12349
|
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
12336
12350
|
} & {
|
|
12337
|
-
status: z$1.ZodLiteral<"
|
|
12338
|
-
|
|
12339
|
-
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
|
|
12343
|
-
scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
|
|
12351
|
+
status: z$1.ZodLiteral<"INITIATED">;
|
|
12352
|
+
code_verifier: z$1.ZodOptional<z$1.ZodString>;
|
|
12353
|
+
redirectUrl: z$1.ZodString;
|
|
12354
|
+
callback_url: z$1.ZodOptional<z$1.ZodString>;
|
|
12355
|
+
finalRedirectUri: z$1.ZodOptional<z$1.ZodString>;
|
|
12344
12356
|
webhook_signature: z$1.ZodOptional<z$1.ZodString>;
|
|
12345
|
-
authed_user: z$1.ZodOptional<z$1.ZodObject<{
|
|
12346
|
-
access_token: z$1.ZodOptional<z$1.ZodString>;
|
|
12347
|
-
scope: z$1.ZodOptional<z$1.ZodString>;
|
|
12348
|
-
}, "strip", z$1.ZodTypeAny, {
|
|
12349
|
-
access_token?: string | undefined;
|
|
12350
|
-
scope?: string | undefined;
|
|
12351
|
-
}, {
|
|
12352
|
-
access_token?: string | undefined;
|
|
12353
|
-
scope?: string | undefined;
|
|
12354
|
-
}>>;
|
|
12355
12357
|
}, z$1.ZodUnknown, "strip"> | z$1.objectOutputType<{
|
|
12356
12358
|
subdomain: z$1.ZodOptional<z$1.ZodString>;
|
|
12357
12359
|
"your-domain": z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -12544,12 +12546,24 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
|
|
|
12544
12546
|
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
12545
12547
|
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
12546
12548
|
} & {
|
|
12547
|
-
status: z$1.ZodLiteral<"
|
|
12548
|
-
|
|
12549
|
-
|
|
12550
|
-
|
|
12551
|
-
|
|
12549
|
+
status: z$1.ZodLiteral<"ACTIVE">;
|
|
12550
|
+
access_token: z$1.ZodString;
|
|
12551
|
+
id_token: z$1.ZodOptional<z$1.ZodString>;
|
|
12552
|
+
token_type: z$1.ZodOptional<z$1.ZodString>;
|
|
12553
|
+
refresh_token: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
12554
|
+
expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
|
|
12555
|
+
scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
|
|
12552
12556
|
webhook_signature: z$1.ZodOptional<z$1.ZodString>;
|
|
12557
|
+
authed_user: z$1.ZodOptional<z$1.ZodObject<{
|
|
12558
|
+
access_token: z$1.ZodOptional<z$1.ZodString>;
|
|
12559
|
+
scope: z$1.ZodOptional<z$1.ZodString>;
|
|
12560
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
12561
|
+
access_token?: string | undefined;
|
|
12562
|
+
scope?: string | undefined;
|
|
12563
|
+
}, {
|
|
12564
|
+
access_token?: string | undefined;
|
|
12565
|
+
scope?: string | undefined;
|
|
12566
|
+
}>>;
|
|
12553
12567
|
}, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
|
|
12554
12568
|
subdomain: z$1.ZodOptional<z$1.ZodString>;
|
|
12555
12569
|
"your-domain": z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -12583,24 +12597,12 @@ declare const ConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme", [z$1
|
|
|
12583
12597
|
registration_client_uri: z$1.ZodOptional<z$1.ZodString>;
|
|
12584
12598
|
composio_link_redirect_url: z$1.ZodOptional<z$1.ZodString>;
|
|
12585
12599
|
} & {
|
|
12586
|
-
status: z$1.ZodLiteral<"
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
expires_in: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodNull]>>;
|
|
12592
|
-
scope: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodNull]>>;
|
|
12600
|
+
status: z$1.ZodLiteral<"INITIATED">;
|
|
12601
|
+
code_verifier: z$1.ZodOptional<z$1.ZodString>;
|
|
12602
|
+
redirectUrl: z$1.ZodString;
|
|
12603
|
+
callback_url: z$1.ZodOptional<z$1.ZodString>;
|
|
12604
|
+
finalRedirectUri: z$1.ZodOptional<z$1.ZodString>;
|
|
12593
12605
|
webhook_signature: z$1.ZodOptional<z$1.ZodString>;
|
|
12594
|
-
authed_user: z$1.ZodOptional<z$1.ZodObject<{
|
|
12595
|
-
access_token: z$1.ZodOptional<z$1.ZodString>;
|
|
12596
|
-
scope: z$1.ZodOptional<z$1.ZodString>;
|
|
12597
|
-
}, "strip", z$1.ZodTypeAny, {
|
|
12598
|
-
access_token?: string | undefined;
|
|
12599
|
-
scope?: string | undefined;
|
|
12600
|
-
}, {
|
|
12601
|
-
access_token?: string | undefined;
|
|
12602
|
-
scope?: string | undefined;
|
|
12603
|
-
}>>;
|
|
12604
12606
|
}, z$1.ZodUnknown, "strip"> | z$1.objectInputType<{
|
|
12605
12607
|
subdomain: z$1.ZodOptional<z$1.ZodString>;
|
|
12606
12608
|
"your-domain": z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -24337,6 +24339,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24337
24339
|
}, "status">, z$1.ZodUnknown, "strip">>;
|
|
24338
24340
|
}, "strip", z$1.ZodTypeAny, {
|
|
24339
24341
|
authScheme: "OAUTH2";
|
|
24342
|
+
toolkitSlug: string;
|
|
24340
24343
|
val: {
|
|
24341
24344
|
access_token: string;
|
|
24342
24345
|
version?: string | undefined;
|
|
@@ -24370,12 +24373,12 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24370
24373
|
registration_access_token?: string | undefined;
|
|
24371
24374
|
registration_client_uri?: string | undefined;
|
|
24372
24375
|
composio_link_redirect_url?: string | undefined;
|
|
24373
|
-
webhook_signature?: string | undefined;
|
|
24374
24376
|
id_token?: string | undefined;
|
|
24375
24377
|
token_type?: string | undefined;
|
|
24376
24378
|
refresh_token?: string | null | undefined;
|
|
24377
24379
|
expires_in?: string | number | null | undefined;
|
|
24378
24380
|
scope?: string | string[] | null | undefined;
|
|
24381
|
+
webhook_signature?: string | undefined;
|
|
24379
24382
|
authed_user?: {
|
|
24380
24383
|
access_token?: string | undefined;
|
|
24381
24384
|
scope?: string | undefined;
|
|
@@ -24383,9 +24386,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24383
24386
|
} & {
|
|
24384
24387
|
[k: string]: unknown;
|
|
24385
24388
|
};
|
|
24386
|
-
toolkitSlug: string;
|
|
24387
24389
|
}, {
|
|
24388
24390
|
authScheme: "OAUTH2";
|
|
24391
|
+
toolkitSlug: string;
|
|
24389
24392
|
val: {
|
|
24390
24393
|
access_token: string;
|
|
24391
24394
|
version?: string | undefined;
|
|
@@ -24419,12 +24422,12 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24419
24422
|
registration_access_token?: string | undefined;
|
|
24420
24423
|
registration_client_uri?: string | undefined;
|
|
24421
24424
|
composio_link_redirect_url?: string | undefined;
|
|
24422
|
-
webhook_signature?: string | undefined;
|
|
24423
24425
|
id_token?: string | undefined;
|
|
24424
24426
|
token_type?: string | undefined;
|
|
24425
24427
|
refresh_token?: string | null | undefined;
|
|
24426
24428
|
expires_in?: string | number | null | undefined;
|
|
24427
24429
|
scope?: string | string[] | null | undefined;
|
|
24430
|
+
webhook_signature?: string | undefined;
|
|
24428
24431
|
authed_user?: {
|
|
24429
24432
|
access_token?: string | undefined;
|
|
24430
24433
|
scope?: string | undefined;
|
|
@@ -24432,7 +24435,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24432
24435
|
} & {
|
|
24433
24436
|
[k: string]: unknown;
|
|
24434
24437
|
};
|
|
24435
|
-
toolkitSlug: string;
|
|
24436
24438
|
}>, z$1.ZodObject<{
|
|
24437
24439
|
authScheme: z$1.ZodLiteral<"DCR_OAUTH">;
|
|
24438
24440
|
toolkitSlug: z$1.ZodString;
|
|
@@ -24544,6 +24546,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24544
24546
|
}, z$1.ZodUnknown, "strip">>;
|
|
24545
24547
|
}, "strip", z$1.ZodTypeAny, {
|
|
24546
24548
|
authScheme: "DCR_OAUTH";
|
|
24549
|
+
toolkitSlug: string;
|
|
24547
24550
|
val: {
|
|
24548
24551
|
access_token: string;
|
|
24549
24552
|
client_id: string;
|
|
@@ -24581,9 +24584,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24581
24584
|
} & {
|
|
24582
24585
|
[k: string]: unknown;
|
|
24583
24586
|
};
|
|
24584
|
-
toolkitSlug: string;
|
|
24585
24587
|
}, {
|
|
24586
24588
|
authScheme: "DCR_OAUTH";
|
|
24589
|
+
toolkitSlug: string;
|
|
24587
24590
|
val: {
|
|
24588
24591
|
access_token: string;
|
|
24589
24592
|
client_id: string;
|
|
@@ -24621,7 +24624,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24621
24624
|
} & {
|
|
24622
24625
|
[k: string]: unknown;
|
|
24623
24626
|
};
|
|
24624
|
-
toolkitSlug: string;
|
|
24625
24627
|
}>, z$1.ZodObject<{
|
|
24626
24628
|
authScheme: z$1.ZodLiteral<"API_KEY">;
|
|
24627
24629
|
toolkitSlug: z$1.ZodString;
|
|
@@ -24727,6 +24729,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24727
24729
|
}, z$1.ZodUnknown, "strip">>;
|
|
24728
24730
|
}, "strip", z$1.ZodTypeAny, {
|
|
24729
24731
|
authScheme: "API_KEY";
|
|
24732
|
+
toolkitSlug: string;
|
|
24730
24733
|
val: {
|
|
24731
24734
|
version?: string | undefined;
|
|
24732
24735
|
"your-domain"?: string | undefined;
|
|
@@ -24762,9 +24765,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24762
24765
|
} & {
|
|
24763
24766
|
[k: string]: unknown;
|
|
24764
24767
|
};
|
|
24765
|
-
toolkitSlug: string;
|
|
24766
24768
|
}, {
|
|
24767
24769
|
authScheme: "API_KEY";
|
|
24770
|
+
toolkitSlug: string;
|
|
24768
24771
|
val: {
|
|
24769
24772
|
version?: string | undefined;
|
|
24770
24773
|
"your-domain"?: string | undefined;
|
|
@@ -24800,7 +24803,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24800
24803
|
} & {
|
|
24801
24804
|
[k: string]: unknown;
|
|
24802
24805
|
};
|
|
24803
|
-
toolkitSlug: string;
|
|
24804
24806
|
}>, z$1.ZodObject<{
|
|
24805
24807
|
authScheme: z$1.ZodLiteral<"BASIC_WITH_JWT">;
|
|
24806
24808
|
toolkitSlug: z$1.ZodString;
|
|
@@ -24912,6 +24914,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24912
24914
|
}, z$1.ZodUnknown, "strip">>;
|
|
24913
24915
|
}, "strip", z$1.ZodTypeAny, {
|
|
24914
24916
|
authScheme: "BASIC_WITH_JWT";
|
|
24917
|
+
toolkitSlug: string;
|
|
24915
24918
|
val: {
|
|
24916
24919
|
username: string;
|
|
24917
24920
|
password: string;
|
|
@@ -24949,9 +24952,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24949
24952
|
} & {
|
|
24950
24953
|
[k: string]: unknown;
|
|
24951
24954
|
};
|
|
24952
|
-
toolkitSlug: string;
|
|
24953
24955
|
}, {
|
|
24954
24956
|
authScheme: "BASIC_WITH_JWT";
|
|
24957
|
+
toolkitSlug: string;
|
|
24955
24958
|
val: {
|
|
24956
24959
|
username: string;
|
|
24957
24960
|
password: string;
|
|
@@ -24989,7 +24992,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
24989
24992
|
} & {
|
|
24990
24993
|
[k: string]: unknown;
|
|
24991
24994
|
};
|
|
24992
|
-
toolkitSlug: string;
|
|
24993
24995
|
}>, z$1.ZodObject<{
|
|
24994
24996
|
authScheme: z$1.ZodLiteral<"BASIC">;
|
|
24995
24997
|
toolkitSlug: z$1.ZodString;
|
|
@@ -25101,6 +25103,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25101
25103
|
}, z$1.ZodUnknown, "strip">>;
|
|
25102
25104
|
}, "strip", z$1.ZodTypeAny, {
|
|
25103
25105
|
authScheme: "BASIC";
|
|
25106
|
+
toolkitSlug: string;
|
|
25104
25107
|
val: {
|
|
25105
25108
|
username: string;
|
|
25106
25109
|
password: string;
|
|
@@ -25138,9 +25141,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25138
25141
|
} & {
|
|
25139
25142
|
[k: string]: unknown;
|
|
25140
25143
|
};
|
|
25141
|
-
toolkitSlug: string;
|
|
25142
25144
|
}, {
|
|
25143
25145
|
authScheme: "BASIC";
|
|
25146
|
+
toolkitSlug: string;
|
|
25144
25147
|
val: {
|
|
25145
25148
|
username: string;
|
|
25146
25149
|
password: string;
|
|
@@ -25178,7 +25181,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25178
25181
|
} & {
|
|
25179
25182
|
[k: string]: unknown;
|
|
25180
25183
|
};
|
|
25181
|
-
toolkitSlug: string;
|
|
25182
25184
|
}>, z$1.ZodObject<{
|
|
25183
25185
|
authScheme: z$1.ZodLiteral<"BEARER_TOKEN">;
|
|
25184
25186
|
toolkitSlug: z$1.ZodString;
|
|
@@ -25287,6 +25289,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25287
25289
|
}, z$1.ZodUnknown, "strip">>;
|
|
25288
25290
|
}, "strip", z$1.ZodTypeAny, {
|
|
25289
25291
|
authScheme: "BEARER_TOKEN";
|
|
25292
|
+
toolkitSlug: string;
|
|
25290
25293
|
val: {
|
|
25291
25294
|
token: string;
|
|
25292
25295
|
version?: string | undefined;
|
|
@@ -25323,9 +25326,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25323
25326
|
} & {
|
|
25324
25327
|
[k: string]: unknown;
|
|
25325
25328
|
};
|
|
25326
|
-
toolkitSlug: string;
|
|
25327
25329
|
}, {
|
|
25328
25330
|
authScheme: "BEARER_TOKEN";
|
|
25331
|
+
toolkitSlug: string;
|
|
25329
25332
|
val: {
|
|
25330
25333
|
token: string;
|
|
25331
25334
|
version?: string | undefined;
|
|
@@ -25362,7 +25365,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25362
25365
|
} & {
|
|
25363
25366
|
[k: string]: unknown;
|
|
25364
25367
|
};
|
|
25365
|
-
toolkitSlug: string;
|
|
25366
25368
|
}>, z$1.ZodObject<{
|
|
25367
25369
|
authScheme: z$1.ZodLiteral<"OAUTH1">;
|
|
25368
25370
|
toolkitSlug: z$1.ZodString;
|
|
@@ -25489,6 +25491,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25489
25491
|
}, "status">, z$1.ZodUnknown, "strip">>;
|
|
25490
25492
|
}, "strip", z$1.ZodTypeAny, {
|
|
25491
25493
|
authScheme: "OAUTH1";
|
|
25494
|
+
toolkitSlug: string;
|
|
25492
25495
|
val: {
|
|
25493
25496
|
oauth_token: string;
|
|
25494
25497
|
oauth_token_secret: string;
|
|
@@ -25523,16 +25526,16 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25523
25526
|
registration_access_token?: string | undefined;
|
|
25524
25527
|
registration_client_uri?: string | undefined;
|
|
25525
25528
|
composio_link_redirect_url?: string | undefined;
|
|
25526
|
-
redirectUrl?: string | undefined;
|
|
25527
|
-
callback_url?: string | undefined;
|
|
25528
25529
|
consumer_key?: string | undefined;
|
|
25529
25530
|
oauth_verifier?: string | undefined;
|
|
25531
|
+
redirectUrl?: string | undefined;
|
|
25532
|
+
callback_url?: string | undefined;
|
|
25530
25533
|
} & {
|
|
25531
25534
|
[k: string]: unknown;
|
|
25532
25535
|
};
|
|
25533
|
-
toolkitSlug: string;
|
|
25534
25536
|
}, {
|
|
25535
25537
|
authScheme: "OAUTH1";
|
|
25538
|
+
toolkitSlug: string;
|
|
25536
25539
|
val: {
|
|
25537
25540
|
oauth_token: string;
|
|
25538
25541
|
oauth_token_secret: string;
|
|
@@ -25567,14 +25570,13 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25567
25570
|
registration_access_token?: string | undefined;
|
|
25568
25571
|
registration_client_uri?: string | undefined;
|
|
25569
25572
|
composio_link_redirect_url?: string | undefined;
|
|
25570
|
-
redirectUrl?: string | undefined;
|
|
25571
|
-
callback_url?: string | undefined;
|
|
25572
25573
|
consumer_key?: string | undefined;
|
|
25573
25574
|
oauth_verifier?: string | undefined;
|
|
25575
|
+
redirectUrl?: string | undefined;
|
|
25576
|
+
callback_url?: string | undefined;
|
|
25574
25577
|
} & {
|
|
25575
25578
|
[k: string]: unknown;
|
|
25576
25579
|
};
|
|
25577
|
-
toolkitSlug: string;
|
|
25578
25580
|
}>, z$1.ZodObject<{
|
|
25579
25581
|
authScheme: z$1.ZodLiteral<"NO_AUTH">;
|
|
25580
25582
|
toolkitSlug: z$1.ZodString;
|
|
@@ -25677,6 +25679,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25677
25679
|
}, z$1.ZodUnknown, "strip">>;
|
|
25678
25680
|
}, "strip", z$1.ZodTypeAny, {
|
|
25679
25681
|
authScheme: "NO_AUTH";
|
|
25682
|
+
toolkitSlug: string;
|
|
25680
25683
|
val: {
|
|
25681
25684
|
version?: string | undefined;
|
|
25682
25685
|
"your-domain"?: string | undefined;
|
|
@@ -25712,9 +25715,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25712
25715
|
} & {
|
|
25713
25716
|
[k: string]: unknown;
|
|
25714
25717
|
};
|
|
25715
|
-
toolkitSlug: string;
|
|
25716
25718
|
}, {
|
|
25717
25719
|
authScheme: "NO_AUTH";
|
|
25720
|
+
toolkitSlug: string;
|
|
25718
25721
|
val: {
|
|
25719
25722
|
version?: string | undefined;
|
|
25720
25723
|
"your-domain"?: string | undefined;
|
|
@@ -25750,7 +25753,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25750
25753
|
} & {
|
|
25751
25754
|
[k: string]: unknown;
|
|
25752
25755
|
};
|
|
25753
|
-
toolkitSlug: string;
|
|
25754
25756
|
}>, z$1.ZodObject<{
|
|
25755
25757
|
authScheme: z$1.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
25756
25758
|
toolkitSlug: z$1.ZodString;
|
|
@@ -25865,6 +25867,7 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25865
25867
|
}, z$1.ZodUnknown, "strip">>;
|
|
25866
25868
|
}, "strip", z$1.ZodTypeAny, {
|
|
25867
25869
|
authScheme: "SERVICE_ACCOUNT";
|
|
25870
|
+
toolkitSlug: string;
|
|
25868
25871
|
val: {
|
|
25869
25872
|
application_id: string;
|
|
25870
25873
|
installation_id: string;
|
|
@@ -25903,9 +25906,9 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25903
25906
|
} & {
|
|
25904
25907
|
[k: string]: unknown;
|
|
25905
25908
|
};
|
|
25906
|
-
toolkitSlug: string;
|
|
25907
25909
|
}, {
|
|
25908
25910
|
authScheme: "SERVICE_ACCOUNT";
|
|
25911
|
+
toolkitSlug: string;
|
|
25909
25912
|
val: {
|
|
25910
25913
|
application_id: string;
|
|
25911
25914
|
installation_id: string;
|
|
@@ -25944,7 +25947,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
|
|
|
25944
25947
|
} & {
|
|
25945
25948
|
[k: string]: unknown;
|
|
25946
25949
|
};
|
|
25947
|
-
toolkitSlug: string;
|
|
25948
25950
|
}>]>;
|
|
25949
25951
|
type CustomConnectionData = z$1.infer<typeof CustomConnectionDataSchema>;
|
|
25950
25952
|
//#endregion
|
|
@@ -26051,12 +26053,12 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
|
|
|
26051
26053
|
connectedAccountIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
26052
26054
|
isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
26053
26055
|
}, "strip", z$1.ZodTypeAny, {
|
|
26054
|
-
connectedAccountIds?: string[] | undefined;
|
|
26055
26056
|
userIds?: string[] | undefined;
|
|
26057
|
+
connectedAccountIds?: string[] | undefined;
|
|
26056
26058
|
isChatAuth?: boolean | undefined;
|
|
26057
26059
|
}, {
|
|
26058
|
-
connectedAccountIds?: string[] | undefined;
|
|
26059
26060
|
userIds?: string[] | undefined;
|
|
26061
|
+
connectedAccountIds?: string[] | undefined;
|
|
26060
26062
|
isChatAuth?: boolean | undefined;
|
|
26061
26063
|
}>;
|
|
26062
26064
|
type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
|
|
@@ -26083,13 +26085,13 @@ declare const GenerateURLParamsSchema: z$1.ZodObject<{
|
|
|
26083
26085
|
composioManagedAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
26084
26086
|
}, "strip", z$1.ZodTypeAny, {
|
|
26085
26087
|
mcpServerId: string;
|
|
26086
|
-
connectedAccountIds?: string[] | undefined;
|
|
26087
26088
|
userIds?: string[] | undefined;
|
|
26089
|
+
connectedAccountIds?: string[] | undefined;
|
|
26088
26090
|
composioManagedAuth?: boolean | undefined;
|
|
26089
26091
|
}, {
|
|
26090
26092
|
mcpServerId: string;
|
|
26091
|
-
connectedAccountIds?: string[] | undefined;
|
|
26092
26093
|
userIds?: string[] | undefined;
|
|
26094
|
+
connectedAccountIds?: string[] | undefined;
|
|
26093
26095
|
composioManagedAuth?: boolean | undefined;
|
|
26094
26096
|
}>;
|
|
26095
26097
|
type GenerateURLParams = z$1.infer<typeof GenerateURLParamsSchema>;
|
|
@@ -26615,10 +26617,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
26615
26617
|
windsurf: string;
|
|
26616
26618
|
};
|
|
26617
26619
|
status?: string | undefined;
|
|
26618
|
-
createdAt?: string | undefined;
|
|
26619
26620
|
tools?: string[] | undefined;
|
|
26620
26621
|
toolkits?: string[] | undefined;
|
|
26621
26622
|
authConfigIds?: string[] | undefined;
|
|
26623
|
+
createdAt?: string | undefined;
|
|
26622
26624
|
updatedAt?: string | undefined;
|
|
26623
26625
|
managedAuthViaComposio?: boolean | undefined;
|
|
26624
26626
|
}, {
|
|
@@ -26631,10 +26633,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
26631
26633
|
windsurf: string;
|
|
26632
26634
|
};
|
|
26633
26635
|
status?: string | undefined;
|
|
26634
|
-
createdAt?: string | undefined;
|
|
26635
26636
|
tools?: string[] | undefined;
|
|
26636
26637
|
toolkits?: string[] | undefined;
|
|
26637
26638
|
authConfigIds?: string[] | undefined;
|
|
26639
|
+
createdAt?: string | undefined;
|
|
26638
26640
|
updatedAt?: string | undefined;
|
|
26639
26641
|
managedAuthViaComposio?: boolean | undefined;
|
|
26640
26642
|
}>;
|
|
@@ -26704,17 +26706,17 @@ declare const McpUpdateResponseSchema: z$1.ZodObject<{
|
|
|
26704
26706
|
name: string;
|
|
26705
26707
|
id: string;
|
|
26706
26708
|
status?: string | undefined;
|
|
26707
|
-
createdAt?: string | undefined;
|
|
26708
26709
|
tools?: string[] | undefined;
|
|
26709
26710
|
toolkits?: string[] | undefined;
|
|
26711
|
+
createdAt?: string | undefined;
|
|
26710
26712
|
updatedAt?: string | undefined;
|
|
26711
26713
|
}, {
|
|
26712
26714
|
name: string;
|
|
26713
26715
|
id: string;
|
|
26714
26716
|
status?: string | undefined;
|
|
26715
|
-
createdAt?: string | undefined;
|
|
26716
26717
|
tools?: string[] | undefined;
|
|
26717
26718
|
toolkits?: string[] | undefined;
|
|
26719
|
+
createdAt?: string | undefined;
|
|
26718
26720
|
updatedAt?: string | undefined;
|
|
26719
26721
|
}>;
|
|
26720
26722
|
declare const ComposioMcpUpdateResponseSchema: z$1.ZodObject<{
|
|
@@ -27396,14 +27398,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
|
|
|
27396
27398
|
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
27397
27399
|
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
27398
27400
|
}, "strip", z$1.ZodTypeAny, {
|
|
27399
|
-
cursor?: string | undefined;
|
|
27400
27401
|
limit?: number | undefined;
|
|
27402
|
+
cursor?: string | undefined;
|
|
27401
27403
|
category?: string | undefined;
|
|
27402
27404
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27403
27405
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27404
27406
|
}, {
|
|
27405
|
-
cursor?: string | undefined;
|
|
27406
27407
|
limit?: number | undefined;
|
|
27408
|
+
cursor?: string | undefined;
|
|
27407
27409
|
category?: string | undefined;
|
|
27408
27410
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27409
27411
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -27438,7 +27440,6 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
27438
27440
|
logo?: string | undefined;
|
|
27439
27441
|
availableVersions?: string[] | undefined;
|
|
27440
27442
|
createdAt?: string | undefined;
|
|
27441
|
-
updatedAt?: string | undefined;
|
|
27442
27443
|
categories?: {
|
|
27443
27444
|
slug: string;
|
|
27444
27445
|
name: string;
|
|
@@ -27446,12 +27447,12 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
27446
27447
|
appUrl?: string | undefined;
|
|
27447
27448
|
toolsCount?: number | undefined;
|
|
27448
27449
|
triggersCount?: number | undefined;
|
|
27450
|
+
updatedAt?: string | undefined;
|
|
27449
27451
|
}, {
|
|
27450
27452
|
description?: string | undefined;
|
|
27451
27453
|
logo?: string | undefined;
|
|
27452
27454
|
availableVersions?: string[] | undefined;
|
|
27453
27455
|
createdAt?: string | undefined;
|
|
27454
|
-
updatedAt?: string | undefined;
|
|
27455
27456
|
categories?: {
|
|
27456
27457
|
slug: string;
|
|
27457
27458
|
name: string;
|
|
@@ -27459,6 +27460,7 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
27459
27460
|
appUrl?: string | undefined;
|
|
27460
27461
|
toolsCount?: number | undefined;
|
|
27461
27462
|
triggersCount?: number | undefined;
|
|
27463
|
+
updatedAt?: string | undefined;
|
|
27462
27464
|
}>;
|
|
27463
27465
|
declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
27464
27466
|
name: z$1.ZodString;
|
|
@@ -27487,7 +27489,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27487
27489
|
logo?: string | undefined;
|
|
27488
27490
|
availableVersions?: string[] | undefined;
|
|
27489
27491
|
createdAt?: string | undefined;
|
|
27490
|
-
updatedAt?: string | undefined;
|
|
27491
27492
|
categories?: {
|
|
27492
27493
|
slug: string;
|
|
27493
27494
|
name: string;
|
|
@@ -27495,12 +27496,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27495
27496
|
appUrl?: string | undefined;
|
|
27496
27497
|
toolsCount?: number | undefined;
|
|
27497
27498
|
triggersCount?: number | undefined;
|
|
27499
|
+
updatedAt?: string | undefined;
|
|
27498
27500
|
}, {
|
|
27499
27501
|
description?: string | undefined;
|
|
27500
27502
|
logo?: string | undefined;
|
|
27501
27503
|
availableVersions?: string[] | undefined;
|
|
27502
27504
|
createdAt?: string | undefined;
|
|
27503
|
-
updatedAt?: string | undefined;
|
|
27504
27505
|
categories?: {
|
|
27505
27506
|
slug: string;
|
|
27506
27507
|
name: string;
|
|
@@ -27508,6 +27509,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27508
27509
|
appUrl?: string | undefined;
|
|
27509
27510
|
toolsCount?: number | undefined;
|
|
27510
27511
|
triggersCount?: number | undefined;
|
|
27512
|
+
updatedAt?: string | undefined;
|
|
27511
27513
|
}>;
|
|
27512
27514
|
isLocalToolkit: z$1.ZodBoolean;
|
|
27513
27515
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -27521,7 +27523,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27521
27523
|
logo?: string | undefined;
|
|
27522
27524
|
availableVersions?: string[] | undefined;
|
|
27523
27525
|
createdAt?: string | undefined;
|
|
27524
|
-
updatedAt?: string | undefined;
|
|
27525
27526
|
categories?: {
|
|
27526
27527
|
slug: string;
|
|
27527
27528
|
name: string;
|
|
@@ -27529,6 +27530,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27529
27530
|
appUrl?: string | undefined;
|
|
27530
27531
|
toolsCount?: number | undefined;
|
|
27531
27532
|
triggersCount?: number | undefined;
|
|
27533
|
+
updatedAt?: string | undefined;
|
|
27532
27534
|
};
|
|
27533
27535
|
isLocalToolkit: boolean;
|
|
27534
27536
|
authSchemes?: string[] | undefined;
|
|
@@ -27542,7 +27544,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27542
27544
|
logo?: string | undefined;
|
|
27543
27545
|
availableVersions?: string[] | undefined;
|
|
27544
27546
|
createdAt?: string | undefined;
|
|
27545
|
-
updatedAt?: string | undefined;
|
|
27546
27547
|
categories?: {
|
|
27547
27548
|
slug: string;
|
|
27548
27549
|
name: string;
|
|
@@ -27550,6 +27551,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27550
27551
|
appUrl?: string | undefined;
|
|
27551
27552
|
toolsCount?: number | undefined;
|
|
27552
27553
|
triggersCount?: number | undefined;
|
|
27554
|
+
updatedAt?: string | undefined;
|
|
27553
27555
|
};
|
|
27554
27556
|
isLocalToolkit: boolean;
|
|
27555
27557
|
authSchemes?: string[] | undefined;
|
|
@@ -27583,7 +27585,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27583
27585
|
logo?: string | undefined;
|
|
27584
27586
|
availableVersions?: string[] | undefined;
|
|
27585
27587
|
createdAt?: string | undefined;
|
|
27586
|
-
updatedAt?: string | undefined;
|
|
27587
27588
|
categories?: {
|
|
27588
27589
|
slug: string;
|
|
27589
27590
|
name: string;
|
|
@@ -27591,12 +27592,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27591
27592
|
appUrl?: string | undefined;
|
|
27592
27593
|
toolsCount?: number | undefined;
|
|
27593
27594
|
triggersCount?: number | undefined;
|
|
27595
|
+
updatedAt?: string | undefined;
|
|
27594
27596
|
}, {
|
|
27595
27597
|
description?: string | undefined;
|
|
27596
27598
|
logo?: string | undefined;
|
|
27597
27599
|
availableVersions?: string[] | undefined;
|
|
27598
27600
|
createdAt?: string | undefined;
|
|
27599
|
-
updatedAt?: string | undefined;
|
|
27600
27601
|
categories?: {
|
|
27601
27602
|
slug: string;
|
|
27602
27603
|
name: string;
|
|
@@ -27604,6 +27605,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27604
27605
|
appUrl?: string | undefined;
|
|
27605
27606
|
toolsCount?: number | undefined;
|
|
27606
27607
|
triggersCount?: number | undefined;
|
|
27608
|
+
updatedAt?: string | undefined;
|
|
27607
27609
|
}>;
|
|
27608
27610
|
isLocalToolkit: z$1.ZodBoolean;
|
|
27609
27611
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -27617,7 +27619,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27617
27619
|
logo?: string | undefined;
|
|
27618
27620
|
availableVersions?: string[] | undefined;
|
|
27619
27621
|
createdAt?: string | undefined;
|
|
27620
|
-
updatedAt?: string | undefined;
|
|
27621
27622
|
categories?: {
|
|
27622
27623
|
slug: string;
|
|
27623
27624
|
name: string;
|
|
@@ -27625,6 +27626,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27625
27626
|
appUrl?: string | undefined;
|
|
27626
27627
|
toolsCount?: number | undefined;
|
|
27627
27628
|
triggersCount?: number | undefined;
|
|
27629
|
+
updatedAt?: string | undefined;
|
|
27628
27630
|
};
|
|
27629
27631
|
isLocalToolkit: boolean;
|
|
27630
27632
|
authSchemes?: string[] | undefined;
|
|
@@ -27638,7 +27640,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27638
27640
|
logo?: string | undefined;
|
|
27639
27641
|
availableVersions?: string[] | undefined;
|
|
27640
27642
|
createdAt?: string | undefined;
|
|
27641
|
-
updatedAt?: string | undefined;
|
|
27642
27643
|
categories?: {
|
|
27643
27644
|
slug: string;
|
|
27644
27645
|
name: string;
|
|
@@ -27646,6 +27647,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27646
27647
|
appUrl?: string | undefined;
|
|
27647
27648
|
toolsCount?: number | undefined;
|
|
27648
27649
|
triggersCount?: number | undefined;
|
|
27650
|
+
updatedAt?: string | undefined;
|
|
27649
27651
|
};
|
|
27650
27652
|
isLocalToolkit: boolean;
|
|
27651
27653
|
authSchemes?: string[] | undefined;
|
|
@@ -28042,7 +28044,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28042
28044
|
logo?: string | undefined;
|
|
28043
28045
|
availableVersions?: string[] | undefined;
|
|
28044
28046
|
createdAt?: string | undefined;
|
|
28045
|
-
updatedAt?: string | undefined;
|
|
28046
28047
|
categories?: {
|
|
28047
28048
|
slug: string;
|
|
28048
28049
|
name: string;
|
|
@@ -28050,12 +28051,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28050
28051
|
appUrl?: string | undefined;
|
|
28051
28052
|
toolsCount?: number | undefined;
|
|
28052
28053
|
triggersCount?: number | undefined;
|
|
28054
|
+
updatedAt?: string | undefined;
|
|
28053
28055
|
}, {
|
|
28054
28056
|
description?: string | undefined;
|
|
28055
28057
|
logo?: string | undefined;
|
|
28056
28058
|
availableVersions?: string[] | undefined;
|
|
28057
28059
|
createdAt?: string | undefined;
|
|
28058
|
-
updatedAt?: string | undefined;
|
|
28059
28060
|
categories?: {
|
|
28060
28061
|
slug: string;
|
|
28061
28062
|
name: string;
|
|
@@ -28063,6 +28064,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28063
28064
|
appUrl?: string | undefined;
|
|
28064
28065
|
toolsCount?: number | undefined;
|
|
28065
28066
|
triggersCount?: number | undefined;
|
|
28067
|
+
updatedAt?: string | undefined;
|
|
28066
28068
|
}>;
|
|
28067
28069
|
isLocalToolkit: z$1.ZodBoolean;
|
|
28068
28070
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -28411,7 +28413,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28411
28413
|
logo?: string | undefined;
|
|
28412
28414
|
availableVersions?: string[] | undefined;
|
|
28413
28415
|
createdAt?: string | undefined;
|
|
28414
|
-
updatedAt?: string | undefined;
|
|
28415
28416
|
categories?: {
|
|
28416
28417
|
slug: string;
|
|
28417
28418
|
name: string;
|
|
@@ -28419,6 +28420,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28419
28420
|
appUrl?: string | undefined;
|
|
28420
28421
|
toolsCount?: number | undefined;
|
|
28421
28422
|
triggersCount?: number | undefined;
|
|
28423
|
+
updatedAt?: string | undefined;
|
|
28422
28424
|
};
|
|
28423
28425
|
isLocalToolkit: boolean;
|
|
28424
28426
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -28477,7 +28479,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28477
28479
|
logo?: string | undefined;
|
|
28478
28480
|
availableVersions?: string[] | undefined;
|
|
28479
28481
|
createdAt?: string | undefined;
|
|
28480
|
-
updatedAt?: string | undefined;
|
|
28481
28482
|
categories?: {
|
|
28482
28483
|
slug: string;
|
|
28483
28484
|
name: string;
|
|
@@ -28485,6 +28486,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28485
28486
|
appUrl?: string | undefined;
|
|
28486
28487
|
toolsCount?: number | undefined;
|
|
28487
28488
|
triggersCount?: number | undefined;
|
|
28489
|
+
updatedAt?: string | undefined;
|
|
28488
28490
|
};
|
|
28489
28491
|
isLocalToolkit: boolean;
|
|
28490
28492
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -28635,31 +28637,31 @@ declare const CreateConnectedAccountParamsSchema: z$1.ZodObject<{
|
|
|
28635
28637
|
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
28636
28638
|
userId: z$1.ZodOptional<z$1.ZodString>;
|
|
28637
28639
|
}, "strip", z$1.ZodTypeAny, {
|
|
28638
|
-
callbackUrl?: string | undefined;
|
|
28639
28640
|
userId?: string | undefined;
|
|
28640
28641
|
data?: Record<string, unknown> | undefined;
|
|
28641
|
-
}, {
|
|
28642
28642
|
callbackUrl?: string | undefined;
|
|
28643
|
+
}, {
|
|
28643
28644
|
userId?: string | undefined;
|
|
28644
28645
|
data?: Record<string, unknown> | undefined;
|
|
28646
|
+
callbackUrl?: string | undefined;
|
|
28645
28647
|
}>;
|
|
28646
28648
|
}, "strip", z$1.ZodTypeAny, {
|
|
28647
28649
|
authConfig: {
|
|
28648
28650
|
id: string;
|
|
28649
28651
|
};
|
|
28650
28652
|
connection: {
|
|
28651
|
-
callbackUrl?: string | undefined;
|
|
28652
28653
|
userId?: string | undefined;
|
|
28653
28654
|
data?: Record<string, unknown> | undefined;
|
|
28655
|
+
callbackUrl?: string | undefined;
|
|
28654
28656
|
};
|
|
28655
28657
|
}, {
|
|
28656
28658
|
authConfig: {
|
|
28657
28659
|
id: string;
|
|
28658
28660
|
};
|
|
28659
28661
|
connection: {
|
|
28660
|
-
callbackUrl?: string | undefined;
|
|
28661
28662
|
userId?: string | undefined;
|
|
28662
28663
|
data?: Record<string, unknown> | undefined;
|
|
28664
|
+
callbackUrl?: string | undefined;
|
|
28663
28665
|
};
|
|
28664
28666
|
}>;
|
|
28665
28667
|
declare const DefaultCreateConnectedAccountParamsSchema: z$1.ZodType<{
|
|
@@ -28689,12 +28691,12 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
|
|
|
28689
28691
|
redirectUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
28690
28692
|
}, "strip", z$1.ZodTypeAny, {
|
|
28691
28693
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
|
|
28692
|
-
id: string;
|
|
28693
28694
|
redirectUrl: string | null;
|
|
28695
|
+
id: string;
|
|
28694
28696
|
}, {
|
|
28695
28697
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
|
|
28696
|
-
id: string;
|
|
28697
28698
|
redirectUrl: string | null;
|
|
28699
|
+
id: string;
|
|
28698
28700
|
}>;
|
|
28699
28701
|
type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
|
|
28700
28702
|
declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
@@ -28743,17 +28745,17 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
|
|
|
28743
28745
|
toolkitSlugs: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
28744
28746
|
userIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
28745
28747
|
}, "strip", z$1.ZodTypeAny, {
|
|
28746
|
-
cursor?: string | null | undefined;
|
|
28747
28748
|
limit?: number | null | undefined;
|
|
28748
28749
|
authConfigIds?: string[] | null | undefined;
|
|
28750
|
+
cursor?: string | null | undefined;
|
|
28749
28751
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
28750
28752
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
|
|
28751
28753
|
toolkitSlugs?: string[] | null | undefined;
|
|
28752
28754
|
userIds?: string[] | null | undefined;
|
|
28753
28755
|
}, {
|
|
28754
|
-
cursor?: string | null | undefined;
|
|
28755
28756
|
limit?: number | null | undefined;
|
|
28756
28757
|
authConfigIds?: string[] | null | undefined;
|
|
28758
|
+
cursor?: string | null | undefined;
|
|
28757
28759
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
28758
28760
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
|
|
28759
28761
|
toolkitSlugs?: string[] | null | undefined;
|
|
@@ -28942,10 +28944,11 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
28942
28944
|
}, {
|
|
28943
28945
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28944
28946
|
}>>;
|
|
28947
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
28945
28948
|
}, "strip", z$1.ZodTypeAny, {
|
|
28946
28949
|
type: "use_custom_auth";
|
|
28947
|
-
credentials: Record<string, string | number | boolean>;
|
|
28948
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";
|
|
28951
|
+
credentials: Record<string, string | number | boolean>;
|
|
28949
28952
|
name?: string | undefined;
|
|
28950
28953
|
proxyConfig?: {
|
|
28951
28954
|
proxyUrl: string;
|
|
@@ -28954,10 +28957,11 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
28954
28957
|
toolAccessConfig?: {
|
|
28955
28958
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28956
28959
|
} | undefined;
|
|
28960
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
28957
28961
|
}, {
|
|
28958
28962
|
type: "use_custom_auth";
|
|
28959
|
-
credentials: Record<string, string | number | boolean>;
|
|
28960
28963
|
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";
|
|
28964
|
+
credentials: Record<string, string | number | boolean>;
|
|
28961
28965
|
name?: string | undefined;
|
|
28962
28966
|
proxyConfig?: {
|
|
28963
28967
|
proxyUrl: string;
|
|
@@ -28966,11 +28970,21 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
28966
28970
|
toolAccessConfig?: {
|
|
28967
28971
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28968
28972
|
} | undefined;
|
|
28973
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
28969
28974
|
}>;
|
|
28970
28975
|
declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
|
|
28971
28976
|
type: z$1.ZodLiteral<"use_composio_managed_auth">;
|
|
28972
28977
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
28973
|
-
credentials: z$1.ZodOptional<z$1.
|
|
28978
|
+
credentials: z$1.ZodOptional<z$1.ZodObject<{
|
|
28979
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
28980
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
28981
|
+
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
|
|
28982
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
28983
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
28984
|
+
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
|
|
28985
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
28986
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
28987
|
+
}, z$1.ZodTypeAny, "passthrough">>>;
|
|
28974
28988
|
toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
|
|
28975
28989
|
toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
28976
28990
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -28978,20 +28992,29 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
28978
28992
|
}, {
|
|
28979
28993
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28980
28994
|
}>>;
|
|
28995
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
28981
28996
|
}, "strip", z$1.ZodTypeAny, {
|
|
28982
28997
|
type: "use_composio_managed_auth";
|
|
28983
28998
|
name?: string | undefined;
|
|
28984
|
-
credentials?:
|
|
28999
|
+
credentials?: z$1.objectOutputType<{
|
|
29000
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29001
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29002
|
+
}, z$1.ZodTypeAny, "passthrough"> | undefined;
|
|
28985
29003
|
toolAccessConfig?: {
|
|
28986
29004
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28987
29005
|
} | undefined;
|
|
29006
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
28988
29007
|
}, {
|
|
28989
29008
|
type: "use_composio_managed_auth";
|
|
28990
29009
|
name?: string | undefined;
|
|
28991
|
-
credentials?:
|
|
29010
|
+
credentials?: z$1.objectInputType<{
|
|
29011
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29012
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29013
|
+
}, z$1.ZodTypeAny, "passthrough"> | undefined;
|
|
28992
29014
|
toolAccessConfig?: {
|
|
28993
29015
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28994
29016
|
} | undefined;
|
|
29017
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
28995
29018
|
}>;
|
|
28996
29019
|
/**
|
|
28997
29020
|
* Discriminated union of all possible auth config types.
|
|
@@ -29018,10 +29041,11 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
29018
29041
|
}, {
|
|
29019
29042
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29020
29043
|
}>>;
|
|
29044
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29021
29045
|
}, "strip", z$1.ZodTypeAny, {
|
|
29022
29046
|
type: "use_custom_auth";
|
|
29023
|
-
credentials: Record<string, string | number | boolean>;
|
|
29024
29047
|
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";
|
|
29048
|
+
credentials: Record<string, string | number | boolean>;
|
|
29025
29049
|
name?: string | undefined;
|
|
29026
29050
|
proxyConfig?: {
|
|
29027
29051
|
proxyUrl: string;
|
|
@@ -29030,10 +29054,11 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
29030
29054
|
toolAccessConfig?: {
|
|
29031
29055
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29032
29056
|
} | undefined;
|
|
29057
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29033
29058
|
}, {
|
|
29034
29059
|
type: "use_custom_auth";
|
|
29035
|
-
credentials: Record<string, string | number | boolean>;
|
|
29036
29060
|
authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
|
|
29061
|
+
credentials: Record<string, string | number | boolean>;
|
|
29037
29062
|
name?: string | undefined;
|
|
29038
29063
|
proxyConfig?: {
|
|
29039
29064
|
proxyUrl: string;
|
|
@@ -29042,10 +29067,20 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
29042
29067
|
toolAccessConfig?: {
|
|
29043
29068
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29044
29069
|
} | undefined;
|
|
29070
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29045
29071
|
}>, z$1.ZodObject<{
|
|
29046
29072
|
type: z$1.ZodLiteral<"use_composio_managed_auth">;
|
|
29047
29073
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
29048
|
-
credentials: z$1.ZodOptional<z$1.
|
|
29074
|
+
credentials: z$1.ZodOptional<z$1.ZodObject<{
|
|
29075
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29076
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29077
|
+
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
|
|
29078
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29079
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29080
|
+
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
|
|
29081
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29082
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29083
|
+
}, z$1.ZodTypeAny, "passthrough">>>;
|
|
29049
29084
|
toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
|
|
29050
29085
|
toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
29051
29086
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -29053,20 +29088,29 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
29053
29088
|
}, {
|
|
29054
29089
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29055
29090
|
}>>;
|
|
29091
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29056
29092
|
}, "strip", z$1.ZodTypeAny, {
|
|
29057
29093
|
type: "use_composio_managed_auth";
|
|
29058
29094
|
name?: string | undefined;
|
|
29059
|
-
credentials?:
|
|
29095
|
+
credentials?: z$1.objectOutputType<{
|
|
29096
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29097
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29098
|
+
}, z$1.ZodTypeAny, "passthrough"> | undefined;
|
|
29060
29099
|
toolAccessConfig?: {
|
|
29061
29100
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29062
29101
|
} | undefined;
|
|
29102
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29063
29103
|
}, {
|
|
29064
29104
|
type: "use_composio_managed_auth";
|
|
29065
29105
|
name?: string | undefined;
|
|
29066
|
-
credentials?:
|
|
29106
|
+
credentials?: z$1.objectInputType<{
|
|
29107
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29108
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29109
|
+
}, z$1.ZodTypeAny, "passthrough"> | undefined;
|
|
29067
29110
|
toolAccessConfig?: {
|
|
29068
29111
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29069
29112
|
} | undefined;
|
|
29113
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29070
29114
|
}>]>;
|
|
29071
29115
|
type CreateAuthConfigParams = z$1.infer<typeof CreateAuthConfigParamsSchema>;
|
|
29072
29116
|
declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
|
|
@@ -29105,6 +29149,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29105
29149
|
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
|
|
29106
29150
|
credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
29107
29151
|
expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
|
|
29152
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29108
29153
|
/**
|
|
29109
29154
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29110
29155
|
*/
|
|
@@ -29133,12 +29178,13 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29133
29178
|
id: string;
|
|
29134
29179
|
noOfConnections: number;
|
|
29135
29180
|
uuid: string;
|
|
29136
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29137
29181
|
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;
|
|
29182
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29138
29183
|
toolAccessConfig?: {
|
|
29139
29184
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29140
29185
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29141
29186
|
} | undefined;
|
|
29187
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29142
29188
|
isComposioManaged?: boolean | undefined;
|
|
29143
29189
|
expectedInputFields?: unknown[] | undefined;
|
|
29144
29190
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29155,12 +29201,13 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29155
29201
|
id: string;
|
|
29156
29202
|
noOfConnections: number;
|
|
29157
29203
|
uuid: string;
|
|
29158
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29159
29204
|
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;
|
|
29205
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29160
29206
|
toolAccessConfig?: {
|
|
29161
29207
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29162
29208
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29163
29209
|
} | undefined;
|
|
29210
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29164
29211
|
isComposioManaged?: boolean | undefined;
|
|
29165
29212
|
expectedInputFields?: unknown[] | undefined;
|
|
29166
29213
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29176,14 +29223,14 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
|
|
|
29176
29223
|
toolkit: z$1.ZodOptional<z$1.ZodString>;
|
|
29177
29224
|
}, "strip", z$1.ZodTypeAny, {
|
|
29178
29225
|
toolkit?: string | undefined;
|
|
29226
|
+
limit?: number | undefined;
|
|
29179
29227
|
isComposioManaged?: boolean | undefined;
|
|
29180
29228
|
cursor?: string | undefined;
|
|
29181
|
-
limit?: number | undefined;
|
|
29182
29229
|
}, {
|
|
29183
29230
|
toolkit?: string | undefined;
|
|
29231
|
+
limit?: number | undefined;
|
|
29184
29232
|
isComposioManaged?: boolean | undefined;
|
|
29185
29233
|
cursor?: string | undefined;
|
|
29186
|
-
limit?: number | undefined;
|
|
29187
29234
|
}>;
|
|
29188
29235
|
type AuthConfigListParams = z$1.infer<typeof AuthConfigListParamsSchema>;
|
|
29189
29236
|
declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
@@ -29206,6 +29253,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
29206
29253
|
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
|
|
29207
29254
|
credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
29208
29255
|
expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
|
|
29256
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29209
29257
|
/**
|
|
29210
29258
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29211
29259
|
*/
|
|
@@ -29234,12 +29282,13 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
29234
29282
|
id: string;
|
|
29235
29283
|
noOfConnections: number;
|
|
29236
29284
|
uuid: string;
|
|
29237
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29238
29285
|
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;
|
|
29286
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29239
29287
|
toolAccessConfig?: {
|
|
29240
29288
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29241
29289
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29242
29290
|
} | undefined;
|
|
29291
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29243
29292
|
isComposioManaged?: boolean | undefined;
|
|
29244
29293
|
expectedInputFields?: unknown[] | undefined;
|
|
29245
29294
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29256,12 +29305,13 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
29256
29305
|
id: string;
|
|
29257
29306
|
noOfConnections: number;
|
|
29258
29307
|
uuid: string;
|
|
29259
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29260
29308
|
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;
|
|
29309
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29261
29310
|
toolAccessConfig?: {
|
|
29262
29311
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29263
29312
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29264
29313
|
} | undefined;
|
|
29314
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29265
29315
|
isComposioManaged?: boolean | undefined;
|
|
29266
29316
|
expectedInputFields?: unknown[] | undefined;
|
|
29267
29317
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29282,12 +29332,13 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
29282
29332
|
id: string;
|
|
29283
29333
|
noOfConnections: number;
|
|
29284
29334
|
uuid: string;
|
|
29285
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29286
29335
|
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;
|
|
29336
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29287
29337
|
toolAccessConfig?: {
|
|
29288
29338
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29289
29339
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29290
29340
|
} | undefined;
|
|
29341
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29291
29342
|
isComposioManaged?: boolean | undefined;
|
|
29292
29343
|
expectedInputFields?: unknown[] | undefined;
|
|
29293
29344
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29308,12 +29359,13 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
29308
29359
|
id: string;
|
|
29309
29360
|
noOfConnections: number;
|
|
29310
29361
|
uuid: string;
|
|
29311
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29312
29362
|
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;
|
|
29363
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29313
29364
|
toolAccessConfig?: {
|
|
29314
29365
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29315
29366
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29316
29367
|
} | undefined;
|
|
29368
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29317
29369
|
isComposioManaged?: boolean | undefined;
|
|
29318
29370
|
expectedInputFields?: unknown[] | undefined;
|
|
29319
29371
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29326,8 +29378,18 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
29326
29378
|
}>;
|
|
29327
29379
|
type AuthConfigListResponse = z$1.infer<typeof AuthConfigListResponseSchema>;
|
|
29328
29380
|
declare const AuthCustomConfigUpdateParamsSchema: z$1.ZodObject<{
|
|
29329
|
-
credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodUnknown]>>;
|
|
29330
29381
|
type: z$1.ZodLiteral<"custom">;
|
|
29382
|
+
credentials: z$1.ZodOptional<z$1.ZodObject<{
|
|
29383
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29384
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29385
|
+
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
|
|
29386
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29387
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29388
|
+
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
|
|
29389
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29390
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29391
|
+
}, z$1.ZodTypeAny, "passthrough">>>;
|
|
29392
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29331
29393
|
/**
|
|
29332
29394
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29333
29395
|
*/
|
|
@@ -29344,24 +29406,33 @@ declare const AuthCustomConfigUpdateParamsSchema: z$1.ZodObject<{
|
|
|
29344
29406
|
}>>;
|
|
29345
29407
|
}, "strip", z$1.ZodTypeAny, {
|
|
29346
29408
|
type: "custom";
|
|
29347
|
-
credentials
|
|
29409
|
+
credentials?: z$1.objectOutputType<{
|
|
29410
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29411
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29412
|
+
}, z$1.ZodTypeAny, "passthrough"> | undefined;
|
|
29348
29413
|
toolAccessConfig?: {
|
|
29349
29414
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29350
29415
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29351
29416
|
} | undefined;
|
|
29417
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29352
29418
|
restrictToFollowingTools?: string[] | undefined;
|
|
29353
29419
|
}, {
|
|
29354
29420
|
type: "custom";
|
|
29355
|
-
credentials
|
|
29421
|
+
credentials?: z$1.objectInputType<{
|
|
29422
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29423
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29424
|
+
}, z$1.ZodTypeAny, "passthrough"> | undefined;
|
|
29356
29425
|
toolAccessConfig?: {
|
|
29357
29426
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29358
29427
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29359
29428
|
} | undefined;
|
|
29429
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29360
29430
|
restrictToFollowingTools?: string[] | undefined;
|
|
29361
29431
|
}>;
|
|
29362
29432
|
declare const AuthDefaultConfigUpdateParamsSchema: z$1.ZodObject<{
|
|
29363
|
-
scopes: z$1.ZodOptional<z$1.ZodString>;
|
|
29364
29433
|
type: z$1.ZodLiteral<"default">;
|
|
29434
|
+
scopes: z$1.ZodOptional<z$1.ZodString>;
|
|
29435
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29365
29436
|
/**
|
|
29366
29437
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29367
29438
|
*/
|
|
@@ -29383,6 +29454,7 @@ declare const AuthDefaultConfigUpdateParamsSchema: z$1.ZodObject<{
|
|
|
29383
29454
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29384
29455
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29385
29456
|
} | undefined;
|
|
29457
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29386
29458
|
restrictToFollowingTools?: string[] | undefined;
|
|
29387
29459
|
}, {
|
|
29388
29460
|
type: "default";
|
|
@@ -29391,11 +29463,22 @@ declare const AuthDefaultConfigUpdateParamsSchema: z$1.ZodObject<{
|
|
|
29391
29463
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29392
29464
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29393
29465
|
} | undefined;
|
|
29466
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29394
29467
|
restrictToFollowingTools?: string[] | undefined;
|
|
29395
29468
|
}>;
|
|
29396
29469
|
declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
|
|
29397
|
-
credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodUnknown]>>;
|
|
29398
29470
|
type: z$1.ZodLiteral<"custom">;
|
|
29471
|
+
credentials: z$1.ZodOptional<z$1.ZodObject<{
|
|
29472
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29473
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29474
|
+
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
|
|
29475
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29476
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29477
|
+
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
|
|
29478
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29479
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29480
|
+
}, z$1.ZodTypeAny, "passthrough">>>;
|
|
29481
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29399
29482
|
/**
|
|
29400
29483
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29401
29484
|
*/
|
|
@@ -29412,23 +29495,32 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
29412
29495
|
}>>;
|
|
29413
29496
|
}, "strip", z$1.ZodTypeAny, {
|
|
29414
29497
|
type: "custom";
|
|
29415
|
-
credentials
|
|
29498
|
+
credentials?: z$1.objectOutputType<{
|
|
29499
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29500
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29501
|
+
}, z$1.ZodTypeAny, "passthrough"> | undefined;
|
|
29416
29502
|
toolAccessConfig?: {
|
|
29417
29503
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29418
29504
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29419
29505
|
} | undefined;
|
|
29506
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29420
29507
|
restrictToFollowingTools?: string[] | undefined;
|
|
29421
29508
|
}, {
|
|
29422
29509
|
type: "custom";
|
|
29423
|
-
credentials
|
|
29510
|
+
credentials?: z$1.objectInputType<{
|
|
29511
|
+
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29512
|
+
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
29513
|
+
}, z$1.ZodTypeAny, "passthrough"> | undefined;
|
|
29424
29514
|
toolAccessConfig?: {
|
|
29425
29515
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29426
29516
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29427
29517
|
} | undefined;
|
|
29518
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29428
29519
|
restrictToFollowingTools?: string[] | undefined;
|
|
29429
29520
|
}>, z$1.ZodObject<{
|
|
29430
|
-
scopes: z$1.ZodOptional<z$1.ZodString>;
|
|
29431
29521
|
type: z$1.ZodLiteral<"default">;
|
|
29522
|
+
scopes: z$1.ZodOptional<z$1.ZodString>;
|
|
29523
|
+
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29432
29524
|
/**
|
|
29433
29525
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29434
29526
|
*/
|
|
@@ -29450,6 +29542,7 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
29450
29542
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29451
29543
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29452
29544
|
} | undefined;
|
|
29545
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29453
29546
|
restrictToFollowingTools?: string[] | undefined;
|
|
29454
29547
|
}, {
|
|
29455
29548
|
type: "default";
|
|
@@ -29458,6 +29551,7 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
29458
29551
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29459
29552
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29460
29553
|
} | undefined;
|
|
29554
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29461
29555
|
restrictToFollowingTools?: string[] | undefined;
|
|
29462
29556
|
}>]>;
|
|
29463
29557
|
type AuthConfigUpdateParams = z$1.infer<typeof AuthConfigUpdateParamsSchema>;
|
|
@@ -29664,23 +29758,23 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
29664
29758
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
29665
29759
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
29666
29760
|
}, "strip", z$1.ZodTypeAny, {
|
|
29667
|
-
id: string;
|
|
29668
29761
|
connectedAccountId: string;
|
|
29762
|
+
id: string;
|
|
29763
|
+
updatedAt: string;
|
|
29669
29764
|
disabledAt: string | null;
|
|
29670
29765
|
state: Record<string, unknown>;
|
|
29671
29766
|
triggerConfig: Record<string, unknown>;
|
|
29672
29767
|
triggerName: string;
|
|
29673
|
-
updatedAt: string;
|
|
29674
29768
|
uuid?: string | undefined;
|
|
29675
29769
|
triggerData?: string | undefined;
|
|
29676
29770
|
}, {
|
|
29677
|
-
id: string;
|
|
29678
29771
|
connectedAccountId: string;
|
|
29772
|
+
id: string;
|
|
29773
|
+
updatedAt: string;
|
|
29679
29774
|
disabledAt: string | null;
|
|
29680
29775
|
state: Record<string, unknown>;
|
|
29681
29776
|
triggerConfig: Record<string, unknown>;
|
|
29682
29777
|
triggerName: string;
|
|
29683
|
-
updatedAt: string;
|
|
29684
29778
|
uuid?: string | undefined;
|
|
29685
29779
|
triggerData?: string | undefined;
|
|
29686
29780
|
}>;
|
|
@@ -29696,23 +29790,23 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
29696
29790
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
29697
29791
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
29698
29792
|
}, "strip", z$1.ZodTypeAny, {
|
|
29699
|
-
id: string;
|
|
29700
29793
|
connectedAccountId: string;
|
|
29794
|
+
id: string;
|
|
29795
|
+
updatedAt: string;
|
|
29701
29796
|
disabledAt: string | null;
|
|
29702
29797
|
state: Record<string, unknown>;
|
|
29703
29798
|
triggerConfig: Record<string, unknown>;
|
|
29704
29799
|
triggerName: string;
|
|
29705
|
-
updatedAt: string;
|
|
29706
29800
|
uuid?: string | undefined;
|
|
29707
29801
|
triggerData?: string | undefined;
|
|
29708
29802
|
}, {
|
|
29709
|
-
id: string;
|
|
29710
29803
|
connectedAccountId: string;
|
|
29804
|
+
id: string;
|
|
29805
|
+
updatedAt: string;
|
|
29711
29806
|
disabledAt: string | null;
|
|
29712
29807
|
state: Record<string, unknown>;
|
|
29713
29808
|
triggerConfig: Record<string, unknown>;
|
|
29714
29809
|
triggerName: string;
|
|
29715
|
-
updatedAt: string;
|
|
29716
29810
|
uuid?: string | undefined;
|
|
29717
29811
|
triggerData?: string | undefined;
|
|
29718
29812
|
}>, "many">;
|
|
@@ -29720,13 +29814,13 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
29720
29814
|
totalPages: z$1.ZodNumber;
|
|
29721
29815
|
}, "strip", z$1.ZodTypeAny, {
|
|
29722
29816
|
items: {
|
|
29723
|
-
id: string;
|
|
29724
29817
|
connectedAccountId: string;
|
|
29818
|
+
id: string;
|
|
29819
|
+
updatedAt: string;
|
|
29725
29820
|
disabledAt: string | null;
|
|
29726
29821
|
state: Record<string, unknown>;
|
|
29727
29822
|
triggerConfig: Record<string, unknown>;
|
|
29728
29823
|
triggerName: string;
|
|
29729
|
-
updatedAt: string;
|
|
29730
29824
|
uuid?: string | undefined;
|
|
29731
29825
|
triggerData?: string | undefined;
|
|
29732
29826
|
}[];
|
|
@@ -29734,13 +29828,13 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
29734
29828
|
totalPages: number;
|
|
29735
29829
|
}, {
|
|
29736
29830
|
items: {
|
|
29737
|
-
id: string;
|
|
29738
29831
|
connectedAccountId: string;
|
|
29832
|
+
id: string;
|
|
29833
|
+
updatedAt: string;
|
|
29739
29834
|
disabledAt: string | null;
|
|
29740
29835
|
state: Record<string, unknown>;
|
|
29741
29836
|
triggerConfig: Record<string, unknown>;
|
|
29742
29837
|
triggerName: string;
|
|
29743
|
-
updatedAt: string;
|
|
29744
29838
|
uuid?: string | undefined;
|
|
29745
29839
|
triggerData?: string | undefined;
|
|
29746
29840
|
}[];
|
|
@@ -29816,67 +29910,67 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
29816
29910
|
status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
29817
29911
|
}, "strip", z$1.ZodTypeAny, {
|
|
29818
29912
|
status: "ACTIVE" | "INACTIVE";
|
|
29913
|
+
userId: string;
|
|
29819
29914
|
id: string;
|
|
29820
29915
|
uuid: string;
|
|
29821
|
-
userId: string;
|
|
29822
29916
|
authConfigId: string;
|
|
29823
29917
|
authConfigUUID: string;
|
|
29824
29918
|
}, {
|
|
29825
29919
|
status: "ACTIVE" | "INACTIVE";
|
|
29920
|
+
userId: string;
|
|
29826
29921
|
id: string;
|
|
29827
29922
|
uuid: string;
|
|
29828
|
-
userId: string;
|
|
29829
29923
|
authConfigId: string;
|
|
29830
29924
|
authConfigUUID: string;
|
|
29831
29925
|
}>;
|
|
29832
29926
|
}, "strip", z$1.ZodTypeAny, {
|
|
29927
|
+
toolkitSlug: string;
|
|
29833
29928
|
id: string;
|
|
29834
29929
|
uuid: string;
|
|
29835
|
-
toolkitSlug: string;
|
|
29836
29930
|
triggerSlug: string;
|
|
29837
29931
|
triggerConfig: Record<string, unknown>;
|
|
29838
29932
|
connectedAccount: {
|
|
29839
29933
|
status: "ACTIVE" | "INACTIVE";
|
|
29934
|
+
userId: string;
|
|
29840
29935
|
id: string;
|
|
29841
29936
|
uuid: string;
|
|
29842
|
-
userId: string;
|
|
29843
29937
|
authConfigId: string;
|
|
29844
29938
|
authConfigUUID: string;
|
|
29845
29939
|
};
|
|
29846
29940
|
triggerData?: string | undefined;
|
|
29847
29941
|
}, {
|
|
29942
|
+
toolkitSlug: string;
|
|
29848
29943
|
id: string;
|
|
29849
29944
|
uuid: string;
|
|
29850
|
-
toolkitSlug: string;
|
|
29851
29945
|
triggerSlug: string;
|
|
29852
29946
|
triggerConfig: Record<string, unknown>;
|
|
29853
29947
|
connectedAccount: {
|
|
29854
29948
|
status: "ACTIVE" | "INACTIVE";
|
|
29949
|
+
userId: string;
|
|
29855
29950
|
id: string;
|
|
29856
29951
|
uuid: string;
|
|
29857
|
-
userId: string;
|
|
29858
29952
|
authConfigId: string;
|
|
29859
29953
|
authConfigUUID: string;
|
|
29860
29954
|
};
|
|
29861
29955
|
triggerData?: string | undefined;
|
|
29862
29956
|
}>;
|
|
29863
29957
|
}, "strip", z$1.ZodTypeAny, {
|
|
29864
|
-
id: string;
|
|
29865
|
-
uuid: string;
|
|
29866
29958
|
toolkitSlug: string;
|
|
29867
29959
|
userId: string;
|
|
29960
|
+
id: string;
|
|
29961
|
+
uuid: string;
|
|
29868
29962
|
triggerSlug: string;
|
|
29869
29963
|
metadata: {
|
|
29964
|
+
toolkitSlug: string;
|
|
29870
29965
|
id: string;
|
|
29871
29966
|
uuid: string;
|
|
29872
|
-
toolkitSlug: string;
|
|
29873
29967
|
triggerSlug: string;
|
|
29874
29968
|
triggerConfig: Record<string, unknown>;
|
|
29875
29969
|
connectedAccount: {
|
|
29876
29970
|
status: "ACTIVE" | "INACTIVE";
|
|
29971
|
+
userId: string;
|
|
29877
29972
|
id: string;
|
|
29878
29973
|
uuid: string;
|
|
29879
|
-
userId: string;
|
|
29880
29974
|
authConfigId: string;
|
|
29881
29975
|
authConfigUUID: string;
|
|
29882
29976
|
};
|
|
@@ -29885,22 +29979,22 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
29885
29979
|
payload?: Record<string, unknown> | undefined;
|
|
29886
29980
|
originalPayload?: Record<string, unknown> | undefined;
|
|
29887
29981
|
}, {
|
|
29888
|
-
id: string;
|
|
29889
|
-
uuid: string;
|
|
29890
29982
|
toolkitSlug: string;
|
|
29891
29983
|
userId: string;
|
|
29984
|
+
id: string;
|
|
29985
|
+
uuid: string;
|
|
29892
29986
|
triggerSlug: string;
|
|
29893
29987
|
metadata: {
|
|
29988
|
+
toolkitSlug: string;
|
|
29894
29989
|
id: string;
|
|
29895
29990
|
uuid: string;
|
|
29896
|
-
toolkitSlug: string;
|
|
29897
29991
|
triggerSlug: string;
|
|
29898
29992
|
triggerConfig: Record<string, unknown>;
|
|
29899
29993
|
connectedAccount: {
|
|
29900
29994
|
status: "ACTIVE" | "INACTIVE";
|
|
29995
|
+
userId: string;
|
|
29901
29996
|
id: string;
|
|
29902
29997
|
uuid: string;
|
|
29903
|
-
userId: string;
|
|
29904
29998
|
authConfigId: string;
|
|
29905
29999
|
authConfigUUID: string;
|
|
29906
30000
|
};
|
|
@@ -29936,13 +30030,13 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
|
|
|
29936
30030
|
limit: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
29937
30031
|
toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
29938
30032
|
}, "strip", z$1.ZodTypeAny, {
|
|
29939
|
-
cursor?: string | undefined;
|
|
29940
|
-
limit?: number | null | undefined;
|
|
29941
30033
|
toolkits?: string[] | null | undefined;
|
|
29942
|
-
}, {
|
|
29943
|
-
cursor?: string | undefined;
|
|
29944
30034
|
limit?: number | null | undefined;
|
|
30035
|
+
cursor?: string | undefined;
|
|
30036
|
+
}, {
|
|
29945
30037
|
toolkits?: string[] | null | undefined;
|
|
30038
|
+
limit?: number | null | undefined;
|
|
30039
|
+
cursor?: string | undefined;
|
|
29946
30040
|
}>;
|
|
29947
30041
|
type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
|
|
29948
30042
|
declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
@@ -30100,16 +30194,292 @@ type TriggerEventData<TPayload = unknown> = TPayload & {
|
|
|
30100
30194
|
trigger_nano_id: string;
|
|
30101
30195
|
user_id: string;
|
|
30102
30196
|
};
|
|
30197
|
+
/**
|
|
30198
|
+
* Webhook payload schemas for V1, V2, V3 versions
|
|
30199
|
+
* These schemas represent the raw payload structure sent by Composio's webhook system
|
|
30200
|
+
*/
|
|
30201
|
+
/** V1 webhook payload - legacy format */
|
|
30202
|
+
declare const WebhookPayloadV1Schema: z$1.ZodObject<{
|
|
30203
|
+
trigger_name: z$1.ZodString;
|
|
30204
|
+
connection_id: z$1.ZodString;
|
|
30205
|
+
trigger_id: z$1.ZodString;
|
|
30206
|
+
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
30207
|
+
log_id: z$1.ZodString;
|
|
30208
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30209
|
+
payload: Record<string, unknown>;
|
|
30210
|
+
trigger_name: string;
|
|
30211
|
+
connection_id: string;
|
|
30212
|
+
trigger_id: string;
|
|
30213
|
+
log_id: string;
|
|
30214
|
+
}, {
|
|
30215
|
+
payload: Record<string, unknown>;
|
|
30216
|
+
trigger_name: string;
|
|
30217
|
+
connection_id: string;
|
|
30218
|
+
trigger_id: string;
|
|
30219
|
+
log_id: string;
|
|
30220
|
+
}>;
|
|
30221
|
+
type WebhookPayloadV1 = z$1.infer<typeof WebhookPayloadV1Schema>;
|
|
30222
|
+
/** V2 webhook payload - includes timestamp and nested data */
|
|
30223
|
+
declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
30224
|
+
type: z$1.ZodString;
|
|
30225
|
+
timestamp: z$1.ZodString;
|
|
30226
|
+
log_id: z$1.ZodString;
|
|
30227
|
+
data: z$1.ZodObject<{
|
|
30228
|
+
connection_id: z$1.ZodString;
|
|
30229
|
+
connection_nano_id: z$1.ZodString;
|
|
30230
|
+
trigger_nano_id: z$1.ZodString;
|
|
30231
|
+
trigger_id: z$1.ZodString;
|
|
30232
|
+
user_id: z$1.ZodString;
|
|
30233
|
+
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
|
|
30234
|
+
connection_id: z$1.ZodString;
|
|
30235
|
+
connection_nano_id: z$1.ZodString;
|
|
30236
|
+
trigger_nano_id: z$1.ZodString;
|
|
30237
|
+
trigger_id: z$1.ZodString;
|
|
30238
|
+
user_id: z$1.ZodString;
|
|
30239
|
+
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
|
|
30240
|
+
connection_id: z$1.ZodString;
|
|
30241
|
+
connection_nano_id: z$1.ZodString;
|
|
30242
|
+
trigger_nano_id: z$1.ZodString;
|
|
30243
|
+
trigger_id: z$1.ZodString;
|
|
30244
|
+
user_id: z$1.ZodString;
|
|
30245
|
+
}, z$1.ZodTypeAny, "passthrough">>;
|
|
30246
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30247
|
+
type: string;
|
|
30248
|
+
data: {
|
|
30249
|
+
connection_id: string;
|
|
30250
|
+
trigger_id: string;
|
|
30251
|
+
connection_nano_id: string;
|
|
30252
|
+
trigger_nano_id: string;
|
|
30253
|
+
user_id: string;
|
|
30254
|
+
} & {
|
|
30255
|
+
[k: string]: unknown;
|
|
30256
|
+
};
|
|
30257
|
+
log_id: string;
|
|
30258
|
+
timestamp: string;
|
|
30259
|
+
}, {
|
|
30260
|
+
type: string;
|
|
30261
|
+
data: {
|
|
30262
|
+
connection_id: string;
|
|
30263
|
+
trigger_id: string;
|
|
30264
|
+
connection_nano_id: string;
|
|
30265
|
+
trigger_nano_id: string;
|
|
30266
|
+
user_id: string;
|
|
30267
|
+
} & {
|
|
30268
|
+
[k: string]: unknown;
|
|
30269
|
+
};
|
|
30270
|
+
log_id: string;
|
|
30271
|
+
timestamp: string;
|
|
30272
|
+
}>;
|
|
30273
|
+
type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
|
|
30274
|
+
/** V3 webhook payload - current format with metadata */
|
|
30275
|
+
declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
30276
|
+
id: z$1.ZodString;
|
|
30277
|
+
timestamp: z$1.ZodString;
|
|
30278
|
+
type: z$1.ZodLiteral<"composio.trigger.message">;
|
|
30279
|
+
metadata: z$1.ZodObject<{
|
|
30280
|
+
log_id: z$1.ZodString;
|
|
30281
|
+
trigger_slug: z$1.ZodString;
|
|
30282
|
+
trigger_id: z$1.ZodString;
|
|
30283
|
+
connected_account_id: z$1.ZodString;
|
|
30284
|
+
auth_config_id: z$1.ZodString;
|
|
30285
|
+
user_id: z$1.ZodString;
|
|
30286
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30287
|
+
trigger_id: string;
|
|
30288
|
+
log_id: string;
|
|
30289
|
+
user_id: string;
|
|
30290
|
+
trigger_slug: string;
|
|
30291
|
+
connected_account_id: string;
|
|
30292
|
+
auth_config_id: string;
|
|
30293
|
+
}, {
|
|
30294
|
+
trigger_id: string;
|
|
30295
|
+
log_id: string;
|
|
30296
|
+
user_id: string;
|
|
30297
|
+
trigger_slug: string;
|
|
30298
|
+
connected_account_id: string;
|
|
30299
|
+
auth_config_id: string;
|
|
30300
|
+
}>;
|
|
30301
|
+
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
30302
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30303
|
+
type: "composio.trigger.message";
|
|
30304
|
+
data: Record<string, unknown>;
|
|
30305
|
+
id: string;
|
|
30306
|
+
metadata: {
|
|
30307
|
+
trigger_id: string;
|
|
30308
|
+
log_id: string;
|
|
30309
|
+
user_id: string;
|
|
30310
|
+
trigger_slug: string;
|
|
30311
|
+
connected_account_id: string;
|
|
30312
|
+
auth_config_id: string;
|
|
30313
|
+
};
|
|
30314
|
+
timestamp: string;
|
|
30315
|
+
}, {
|
|
30316
|
+
type: "composio.trigger.message";
|
|
30317
|
+
data: Record<string, unknown>;
|
|
30318
|
+
id: string;
|
|
30319
|
+
metadata: {
|
|
30320
|
+
trigger_id: string;
|
|
30321
|
+
log_id: string;
|
|
30322
|
+
user_id: string;
|
|
30323
|
+
trigger_slug: string;
|
|
30324
|
+
connected_account_id: string;
|
|
30325
|
+
auth_config_id: string;
|
|
30326
|
+
};
|
|
30327
|
+
timestamp: string;
|
|
30328
|
+
}>;
|
|
30329
|
+
type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
|
|
30330
|
+
/** Union of all webhook payload versions */
|
|
30331
|
+
declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
30332
|
+
id: z$1.ZodString;
|
|
30333
|
+
timestamp: z$1.ZodString;
|
|
30334
|
+
type: z$1.ZodLiteral<"composio.trigger.message">;
|
|
30335
|
+
metadata: z$1.ZodObject<{
|
|
30336
|
+
log_id: z$1.ZodString;
|
|
30337
|
+
trigger_slug: z$1.ZodString;
|
|
30338
|
+
trigger_id: z$1.ZodString;
|
|
30339
|
+
connected_account_id: z$1.ZodString;
|
|
30340
|
+
auth_config_id: z$1.ZodString;
|
|
30341
|
+
user_id: z$1.ZodString;
|
|
30342
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30343
|
+
trigger_id: string;
|
|
30344
|
+
log_id: string;
|
|
30345
|
+
user_id: string;
|
|
30346
|
+
trigger_slug: string;
|
|
30347
|
+
connected_account_id: string;
|
|
30348
|
+
auth_config_id: string;
|
|
30349
|
+
}, {
|
|
30350
|
+
trigger_id: string;
|
|
30351
|
+
log_id: string;
|
|
30352
|
+
user_id: string;
|
|
30353
|
+
trigger_slug: string;
|
|
30354
|
+
connected_account_id: string;
|
|
30355
|
+
auth_config_id: string;
|
|
30356
|
+
}>;
|
|
30357
|
+
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
30358
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30359
|
+
type: "composio.trigger.message";
|
|
30360
|
+
data: Record<string, unknown>;
|
|
30361
|
+
id: string;
|
|
30362
|
+
metadata: {
|
|
30363
|
+
trigger_id: string;
|
|
30364
|
+
log_id: string;
|
|
30365
|
+
user_id: string;
|
|
30366
|
+
trigger_slug: string;
|
|
30367
|
+
connected_account_id: string;
|
|
30368
|
+
auth_config_id: string;
|
|
30369
|
+
};
|
|
30370
|
+
timestamp: string;
|
|
30371
|
+
}, {
|
|
30372
|
+
type: "composio.trigger.message";
|
|
30373
|
+
data: Record<string, unknown>;
|
|
30374
|
+
id: string;
|
|
30375
|
+
metadata: {
|
|
30376
|
+
trigger_id: string;
|
|
30377
|
+
log_id: string;
|
|
30378
|
+
user_id: string;
|
|
30379
|
+
trigger_slug: string;
|
|
30380
|
+
connected_account_id: string;
|
|
30381
|
+
auth_config_id: string;
|
|
30382
|
+
};
|
|
30383
|
+
timestamp: string;
|
|
30384
|
+
}>, z$1.ZodObject<{
|
|
30385
|
+
type: z$1.ZodString;
|
|
30386
|
+
timestamp: z$1.ZodString;
|
|
30387
|
+
log_id: z$1.ZodString;
|
|
30388
|
+
data: z$1.ZodObject<{
|
|
30389
|
+
connection_id: z$1.ZodString;
|
|
30390
|
+
connection_nano_id: z$1.ZodString;
|
|
30391
|
+
trigger_nano_id: z$1.ZodString;
|
|
30392
|
+
trigger_id: z$1.ZodString;
|
|
30393
|
+
user_id: z$1.ZodString;
|
|
30394
|
+
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
|
|
30395
|
+
connection_id: z$1.ZodString;
|
|
30396
|
+
connection_nano_id: z$1.ZodString;
|
|
30397
|
+
trigger_nano_id: z$1.ZodString;
|
|
30398
|
+
trigger_id: z$1.ZodString;
|
|
30399
|
+
user_id: z$1.ZodString;
|
|
30400
|
+
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
|
|
30401
|
+
connection_id: z$1.ZodString;
|
|
30402
|
+
connection_nano_id: z$1.ZodString;
|
|
30403
|
+
trigger_nano_id: z$1.ZodString;
|
|
30404
|
+
trigger_id: z$1.ZodString;
|
|
30405
|
+
user_id: z$1.ZodString;
|
|
30406
|
+
}, z$1.ZodTypeAny, "passthrough">>;
|
|
30407
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30408
|
+
type: string;
|
|
30409
|
+
data: {
|
|
30410
|
+
connection_id: string;
|
|
30411
|
+
trigger_id: string;
|
|
30412
|
+
connection_nano_id: string;
|
|
30413
|
+
trigger_nano_id: string;
|
|
30414
|
+
user_id: string;
|
|
30415
|
+
} & {
|
|
30416
|
+
[k: string]: unknown;
|
|
30417
|
+
};
|
|
30418
|
+
log_id: string;
|
|
30419
|
+
timestamp: string;
|
|
30420
|
+
}, {
|
|
30421
|
+
type: string;
|
|
30422
|
+
data: {
|
|
30423
|
+
connection_id: string;
|
|
30424
|
+
trigger_id: string;
|
|
30425
|
+
connection_nano_id: string;
|
|
30426
|
+
trigger_nano_id: string;
|
|
30427
|
+
user_id: string;
|
|
30428
|
+
} & {
|
|
30429
|
+
[k: string]: unknown;
|
|
30430
|
+
};
|
|
30431
|
+
log_id: string;
|
|
30432
|
+
timestamp: string;
|
|
30433
|
+
}>, z$1.ZodObject<{
|
|
30434
|
+
trigger_name: z$1.ZodString;
|
|
30435
|
+
connection_id: z$1.ZodString;
|
|
30436
|
+
trigger_id: z$1.ZodString;
|
|
30437
|
+
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
30438
|
+
log_id: z$1.ZodString;
|
|
30439
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30440
|
+
payload: Record<string, unknown>;
|
|
30441
|
+
trigger_name: string;
|
|
30442
|
+
connection_id: string;
|
|
30443
|
+
trigger_id: string;
|
|
30444
|
+
log_id: string;
|
|
30445
|
+
}, {
|
|
30446
|
+
payload: Record<string, unknown>;
|
|
30447
|
+
trigger_name: string;
|
|
30448
|
+
connection_id: string;
|
|
30449
|
+
trigger_id: string;
|
|
30450
|
+
log_id: string;
|
|
30451
|
+
}>]>;
|
|
30452
|
+
type WebhookPayload = z$1.infer<typeof WebhookPayloadSchema>;
|
|
30453
|
+
/** Webhook version enum */
|
|
30454
|
+
declare const WebhookVersions: {
|
|
30455
|
+
readonly V1: "V1";
|
|
30456
|
+
readonly V2: "V2";
|
|
30457
|
+
readonly V3: "V3";
|
|
30458
|
+
};
|
|
30459
|
+
type WebhookVersion = (typeof WebhookVersions)[keyof typeof WebhookVersions];
|
|
30103
30460
|
/**
|
|
30104
30461
|
* Parameters for verifying a webhook signature
|
|
30105
30462
|
*/
|
|
30106
30463
|
declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
30464
|
+
/**
|
|
30465
|
+
* The webhook message ID from the 'webhook-id' header.
|
|
30466
|
+
* Format: 'msg_xxx'
|
|
30467
|
+
*/
|
|
30468
|
+
id: z$1.ZodString;
|
|
30107
30469
|
/** The raw webhook payload as a string (request body) */
|
|
30108
30470
|
payload: z$1.ZodString;
|
|
30109
|
-
/** The
|
|
30110
|
-
signature: z$1.ZodString;
|
|
30111
|
-
/** The webhook secret used to sign the payload */
|
|
30471
|
+
/** The webhook secret used to sign the payload (from Composio dashboard) */
|
|
30112
30472
|
secret: z$1.ZodString;
|
|
30473
|
+
/**
|
|
30474
|
+
* The signature from the 'webhook-signature' header.
|
|
30475
|
+
* Format: 'v1,base64EncodedSignature'
|
|
30476
|
+
*/
|
|
30477
|
+
signature: z$1.ZodString;
|
|
30478
|
+
/**
|
|
30479
|
+
* The webhook timestamp from the 'webhook-timestamp' header.
|
|
30480
|
+
* This is the Unix timestamp in seconds when the webhook was sent.
|
|
30481
|
+
*/
|
|
30482
|
+
timestamp: z$1.ZodString;
|
|
30113
30483
|
/**
|
|
30114
30484
|
* Maximum allowed age of the webhook in seconds.
|
|
30115
30485
|
* If the webhook timestamp is older than this, verification will fail.
|
|
@@ -30118,21 +30488,33 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
30118
30488
|
*/
|
|
30119
30489
|
tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
30120
30490
|
}, "strip", z$1.ZodTypeAny, {
|
|
30491
|
+
id: string;
|
|
30121
30492
|
payload: string;
|
|
30122
|
-
|
|
30493
|
+
timestamp: string;
|
|
30123
30494
|
secret: string;
|
|
30495
|
+
signature: string;
|
|
30124
30496
|
tolerance: number;
|
|
30125
30497
|
}, {
|
|
30498
|
+
id: string;
|
|
30126
30499
|
payload: string;
|
|
30127
|
-
|
|
30500
|
+
timestamp: string;
|
|
30128
30501
|
secret: string;
|
|
30502
|
+
signature: string;
|
|
30129
30503
|
tolerance?: number | undefined;
|
|
30130
30504
|
}>;
|
|
30131
30505
|
type VerifyWebhookParams = z$1.input<typeof VerifyWebhookParamsSchema>;
|
|
30132
30506
|
/**
|
|
30133
|
-
* Result of a successful webhook verification
|
|
30507
|
+
* Result of a successful webhook verification.
|
|
30508
|
+
* Contains the parsed payload along with version information.
|
|
30134
30509
|
*/
|
|
30135
|
-
type VerifyWebhookResult =
|
|
30510
|
+
type VerifyWebhookResult = {
|
|
30511
|
+
/** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */
|
|
30512
|
+
version: WebhookVersion;
|
|
30513
|
+
/** The parsed and normalized webhook payload */
|
|
30514
|
+
payload: IncomingTriggerPayload;
|
|
30515
|
+
/** The raw parsed payload before normalization */
|
|
30516
|
+
rawPayload: WebhookPayload;
|
|
30517
|
+
};
|
|
30136
30518
|
//#endregion
|
|
30137
30519
|
//#region src/models/Triggers.d.ts
|
|
30138
30520
|
/**
|
|
@@ -30268,15 +30650,20 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
30268
30650
|
* Verify an incoming webhook payload and signature.
|
|
30269
30651
|
*
|
|
30270
30652
|
* This method validates that the webhook request is authentic by:
|
|
30271
|
-
* 1. Verifying the HMAC-SHA256 signature matches the payload
|
|
30653
|
+
* 1. Verifying the HMAC-SHA256 signature matches the payload using the correct signing format
|
|
30272
30654
|
* 2. Optionally checking that the webhook timestamp is within the tolerance window
|
|
30273
30655
|
*
|
|
30656
|
+
* The signature is computed as: `HMAC-SHA256(${webhookId}.${webhookTimestamp}.${payload}, secret)`
|
|
30657
|
+
* and is expected in the format: `v1,base64EncodedSignature`
|
|
30658
|
+
*
|
|
30274
30659
|
* @param {VerifyWebhookParams} params - The verification parameters
|
|
30275
30660
|
* @param {string} params.payload - The raw webhook payload as a string (request body)
|
|
30276
|
-
* @param {string} params.signature - The signature from the webhook
|
|
30661
|
+
* @param {string} params.signature - The signature from the 'webhook-signature' header
|
|
30277
30662
|
* @param {string} params.secret - The webhook secret used to sign the payload
|
|
30663
|
+
* @param {string} params.webhookId - The webhook ID from the 'webhook-id' header
|
|
30664
|
+
* @param {string} params.webhookTimestamp - The timestamp from the 'webhook-timestamp' header (Unix seconds)
|
|
30278
30665
|
* @param {number} [params.tolerance=300] - Maximum allowed age of the webhook in seconds (default: 5 minutes). Set to 0 to disable timestamp validation.
|
|
30279
|
-
* @returns {VerifyWebhookResult} The verified and parsed webhook payload
|
|
30666
|
+
* @returns {VerifyWebhookResult} The verified and parsed webhook payload with version information
|
|
30280
30667
|
*
|
|
30281
30668
|
* @throws {ValidationError} If the parameters are invalid
|
|
30282
30669
|
* @throws {ComposioWebhookSignatureVerificationError} If the signature verification fails
|
|
@@ -30287,14 +30674,17 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
30287
30674
|
* // In an Express.js webhook handler
|
|
30288
30675
|
* app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
|
|
30289
30676
|
* try {
|
|
30290
|
-
* const
|
|
30677
|
+
* const result = composio.triggers.verifyWebhook({
|
|
30291
30678
|
* payload: req.body.toString(),
|
|
30292
|
-
* signature: req.headers['
|
|
30679
|
+
* signature: req.headers['webhook-signature'] as string,
|
|
30680
|
+
* webhookId: req.headers['webhook-id'] as string,
|
|
30681
|
+
* webhookTimestamp: req.headers['webhook-timestamp'] as string,
|
|
30293
30682
|
* secret: process.env.COMPOSIO_WEBHOOK_SECRET!,
|
|
30294
30683
|
* });
|
|
30295
30684
|
*
|
|
30296
30685
|
* // Process the verified payload
|
|
30297
|
-
* console.log('
|
|
30686
|
+
* console.log('Webhook version:', result.version);
|
|
30687
|
+
* console.log('Received trigger:', result.payload.triggerSlug);
|
|
30298
30688
|
* res.status(200).send('OK');
|
|
30299
30689
|
* } catch (error) {
|
|
30300
30690
|
* console.error('Webhook verification failed:', error);
|
|
@@ -30305,7 +30695,29 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
30305
30695
|
*/
|
|
30306
30696
|
verifyWebhook(params: VerifyWebhookParams): VerifyWebhookResult;
|
|
30307
30697
|
/**
|
|
30308
|
-
*
|
|
30698
|
+
* Parses the webhook payload and detects its version (V1, V2, or V3)
|
|
30699
|
+
* @private
|
|
30700
|
+
*/
|
|
30701
|
+
private parseWebhookPayload;
|
|
30702
|
+
/**
|
|
30703
|
+
* Normalizes a V1 webhook payload to IncomingTriggerPayload format
|
|
30704
|
+
* @private
|
|
30705
|
+
*/
|
|
30706
|
+
private normalizeV1Payload;
|
|
30707
|
+
/**
|
|
30708
|
+
* Normalizes a V2 webhook payload to IncomingTriggerPayload format
|
|
30709
|
+
* @private
|
|
30710
|
+
*/
|
|
30711
|
+
private normalizeV2Payload;
|
|
30712
|
+
/**
|
|
30713
|
+
* Normalizes a V3 webhook payload to IncomingTriggerPayload format
|
|
30714
|
+
* @private
|
|
30715
|
+
*/
|
|
30716
|
+
private normalizeV3Payload;
|
|
30717
|
+
/**
|
|
30718
|
+
* Verifies the HMAC-SHA256 signature of a webhook payload.
|
|
30719
|
+
* The signature format used by Composio is: `v1,base64EncodedSignature`
|
|
30720
|
+
* The signing input is: `${msgId}.${timestamp}.${payload}`
|
|
30309
30721
|
* @private
|
|
30310
30722
|
*/
|
|
30311
30723
|
private verifyWebhookSignature;
|
|
@@ -30773,16 +31185,16 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
30773
31185
|
}, "strip", z.ZodTypeAny, {
|
|
30774
31186
|
name: string;
|
|
30775
31187
|
type: "streamable_http";
|
|
30776
|
-
id: string;
|
|
30777
31188
|
userId: string;
|
|
31189
|
+
id: string;
|
|
30778
31190
|
allowedTools: string[];
|
|
30779
31191
|
url: string;
|
|
30780
31192
|
authConfigs: string[];
|
|
30781
31193
|
}, {
|
|
30782
31194
|
name: string;
|
|
30783
31195
|
type: "streamable_http";
|
|
30784
|
-
id: string;
|
|
30785
31196
|
userId: string;
|
|
31197
|
+
id: string;
|
|
30786
31198
|
allowedTools: string[];
|
|
30787
31199
|
url: string;
|
|
30788
31200
|
authConfigs: string[];
|
|
@@ -30865,8 +31277,8 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
30865
31277
|
MCPUrl: z.ZodString;
|
|
30866
31278
|
}, "strip", z.ZodTypeAny, {
|
|
30867
31279
|
name: string;
|
|
30868
|
-
id: string;
|
|
30869
31280
|
authConfigIds: string[];
|
|
31281
|
+
id: string;
|
|
30870
31282
|
allowedTools: string[];
|
|
30871
31283
|
commands: {
|
|
30872
31284
|
cursor: string;
|
|
@@ -30876,8 +31288,8 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
30876
31288
|
MCPUrl: string;
|
|
30877
31289
|
}, {
|
|
30878
31290
|
name: string;
|
|
30879
|
-
id: string;
|
|
30880
31291
|
authConfigIds: string[];
|
|
31292
|
+
id: string;
|
|
30881
31293
|
allowedTools: string[];
|
|
30882
31294
|
commands: {
|
|
30883
31295
|
cursor: string;
|
|
@@ -30910,15 +31322,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
30910
31322
|
authConfigs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
30911
31323
|
name: z.ZodOptional<z.ZodString>;
|
|
30912
31324
|
}, "strip", z.ZodTypeAny, {
|
|
30913
|
-
limit: number;
|
|
30914
31325
|
toolkits: string[];
|
|
31326
|
+
limit: number;
|
|
30915
31327
|
page: number;
|
|
30916
31328
|
authConfigs: string[];
|
|
30917
31329
|
name?: string | undefined;
|
|
30918
31330
|
}, {
|
|
30919
31331
|
name?: string | undefined;
|
|
30920
|
-
limit?: number | undefined;
|
|
30921
31332
|
toolkits?: string[] | undefined;
|
|
31333
|
+
limit?: number | undefined;
|
|
30922
31334
|
page?: number | undefined;
|
|
30923
31335
|
authConfigs?: string[] | undefined;
|
|
30924
31336
|
}>;
|
|
@@ -30975,9 +31387,9 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
30975
31387
|
toolkits: z.ZodArray<z.ZodString, "many">;
|
|
30976
31388
|
}, "strip", z.ZodTypeAny, {
|
|
30977
31389
|
name: string;
|
|
30978
|
-
id: string;
|
|
30979
31390
|
toolkits: string[];
|
|
30980
31391
|
authConfigIds: string[];
|
|
31392
|
+
id: string;
|
|
30981
31393
|
allowedTools: string[];
|
|
30982
31394
|
commands: {
|
|
30983
31395
|
cursor: string;
|
|
@@ -30989,9 +31401,9 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
30989
31401
|
serverInstanceCount: number;
|
|
30990
31402
|
}, {
|
|
30991
31403
|
name: string;
|
|
30992
|
-
id: string;
|
|
30993
31404
|
toolkits: string[];
|
|
30994
31405
|
authConfigIds: string[];
|
|
31406
|
+
id: string;
|
|
30995
31407
|
allowedTools: string[];
|
|
30996
31408
|
commands: {
|
|
30997
31409
|
cursor: string;
|
|
@@ -31056,9 +31468,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
31056
31468
|
toolkits: z.ZodArray<z.ZodString, "many">;
|
|
31057
31469
|
}, "strip", z.ZodTypeAny, {
|
|
31058
31470
|
name: string;
|
|
31059
|
-
id: string;
|
|
31060
31471
|
toolkits: string[];
|
|
31061
31472
|
authConfigIds: string[];
|
|
31473
|
+
id: string;
|
|
31062
31474
|
allowedTools: string[];
|
|
31063
31475
|
commands: {
|
|
31064
31476
|
cursor: string;
|
|
@@ -31070,9 +31482,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
31070
31482
|
serverInstanceCount: number;
|
|
31071
31483
|
}, {
|
|
31072
31484
|
name: string;
|
|
31073
|
-
id: string;
|
|
31074
31485
|
toolkits: string[];
|
|
31075
31486
|
authConfigIds: string[];
|
|
31487
|
+
id: string;
|
|
31076
31488
|
allowedTools: string[];
|
|
31077
31489
|
commands: {
|
|
31078
31490
|
cursor: string;
|
|
@@ -31088,9 +31500,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
31088
31500
|
}, "strip", z.ZodTypeAny, {
|
|
31089
31501
|
items: {
|
|
31090
31502
|
name: string;
|
|
31091
|
-
id: string;
|
|
31092
31503
|
toolkits: string[];
|
|
31093
31504
|
authConfigIds: string[];
|
|
31505
|
+
id: string;
|
|
31094
31506
|
allowedTools: string[];
|
|
31095
31507
|
commands: {
|
|
31096
31508
|
cursor: string;
|
|
@@ -31106,9 +31518,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
31106
31518
|
}, {
|
|
31107
31519
|
items: {
|
|
31108
31520
|
name: string;
|
|
31109
|
-
id: string;
|
|
31110
31521
|
toolkits: string[];
|
|
31111
31522
|
authConfigIds: string[];
|
|
31523
|
+
id: string;
|
|
31112
31524
|
allowedTools: string[];
|
|
31113
31525
|
commands: {
|
|
31114
31526
|
cursor: string;
|
|
@@ -31702,55 +32114,6 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
31702
32114
|
//#region src/types/composio.types.d.ts
|
|
31703
32115
|
type ComposioRequestHeaders = Record<string, string>;
|
|
31704
32116
|
//#endregion
|
|
31705
|
-
//#region src/types/files.types.d.ts
|
|
31706
|
-
type FileUploadData = {
|
|
31707
|
-
name: string;
|
|
31708
|
-
mimetype: string;
|
|
31709
|
-
s3key: string;
|
|
31710
|
-
};
|
|
31711
|
-
type FileDownloadData = {
|
|
31712
|
-
name: string;
|
|
31713
|
-
mimeType: string;
|
|
31714
|
-
s3Url: string;
|
|
31715
|
-
filePath: string;
|
|
31716
|
-
};
|
|
31717
|
-
//#endregion
|
|
31718
|
-
//#region src/models/Files.d.ts
|
|
31719
|
-
declare class Files {
|
|
31720
|
-
private readonly client;
|
|
31721
|
-
constructor(client: ComposioClient);
|
|
31722
|
-
/**
|
|
31723
|
-
* Upload a file to S3 and return the file data.
|
|
31724
|
-
* @param filePath - The path to the file to upload or a URL of the file to upload.
|
|
31725
|
-
* @param toolSlug - The slug of the tool that is uploading the file.
|
|
31726
|
-
* @param toolkitSlug - The slug of the toolkit that is uploading the file.
|
|
31727
|
-
* @returns The file data.
|
|
31728
|
-
*/
|
|
31729
|
-
upload({
|
|
31730
|
-
file,
|
|
31731
|
-
toolSlug,
|
|
31732
|
-
toolkitSlug
|
|
31733
|
-
}: {
|
|
31734
|
-
file: File | string;
|
|
31735
|
-
toolSlug: string;
|
|
31736
|
-
toolkitSlug: string;
|
|
31737
|
-
}): Promise<FileUploadData>;
|
|
31738
|
-
/**
|
|
31739
|
-
* Download a file from S3 and return the file data.
|
|
31740
|
-
* @param s3key - The S3 key of the file to download.
|
|
31741
|
-
* @returns The file data.
|
|
31742
|
-
*/
|
|
31743
|
-
download({
|
|
31744
|
-
toolSlug,
|
|
31745
|
-
s3Url,
|
|
31746
|
-
mimeType
|
|
31747
|
-
}: {
|
|
31748
|
-
s3Url: string;
|
|
31749
|
-
toolSlug: string;
|
|
31750
|
-
mimeType: string;
|
|
31751
|
-
}): Promise<FileDownloadData>;
|
|
31752
|
-
}
|
|
31753
|
-
//#endregion
|
|
31754
32117
|
//#region src/types/toolRouter.types.d.ts
|
|
31755
32118
|
declare const MCPServerTypeSchema: z.ZodEnum<["http", "sse"]>;
|
|
31756
32119
|
type MCPServerType = z.infer<typeof MCPServerTypeSchema>;
|
|
@@ -32103,26 +32466,26 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
|
32103
32466
|
}>>;
|
|
32104
32467
|
}, "strip", z.ZodTypeAny, {
|
|
32105
32468
|
isActive: boolean;
|
|
32106
|
-
connectedAccount?: {
|
|
32107
|
-
status: string;
|
|
32108
|
-
id: string;
|
|
32109
|
-
} | undefined;
|
|
32110
32469
|
authConfig?: {
|
|
32111
32470
|
id: string;
|
|
32112
32471
|
isComposioManaged: boolean;
|
|
32113
32472
|
mode: string;
|
|
32114
32473
|
} | null | undefined;
|
|
32115
|
-
}, {
|
|
32116
|
-
isActive: boolean;
|
|
32117
32474
|
connectedAccount?: {
|
|
32118
32475
|
status: string;
|
|
32119
32476
|
id: string;
|
|
32120
32477
|
} | undefined;
|
|
32478
|
+
}, {
|
|
32479
|
+
isActive: boolean;
|
|
32121
32480
|
authConfig?: {
|
|
32122
32481
|
id: string;
|
|
32123
32482
|
isComposioManaged: boolean;
|
|
32124
32483
|
mode: string;
|
|
32125
32484
|
} | null | undefined;
|
|
32485
|
+
connectedAccount?: {
|
|
32486
|
+
status: string;
|
|
32487
|
+
id: string;
|
|
32488
|
+
} | undefined;
|
|
32126
32489
|
}>>;
|
|
32127
32490
|
}, "strip", z.ZodTypeAny, {
|
|
32128
32491
|
slug: string;
|
|
@@ -32131,15 +32494,15 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
|
32131
32494
|
logo?: string | undefined;
|
|
32132
32495
|
connection?: {
|
|
32133
32496
|
isActive: boolean;
|
|
32134
|
-
connectedAccount?: {
|
|
32135
|
-
status: string;
|
|
32136
|
-
id: string;
|
|
32137
|
-
} | undefined;
|
|
32138
32497
|
authConfig?: {
|
|
32139
32498
|
id: string;
|
|
32140
32499
|
isComposioManaged: boolean;
|
|
32141
32500
|
mode: string;
|
|
32142
32501
|
} | null | undefined;
|
|
32502
|
+
connectedAccount?: {
|
|
32503
|
+
status: string;
|
|
32504
|
+
id: string;
|
|
32505
|
+
} | undefined;
|
|
32143
32506
|
} | undefined;
|
|
32144
32507
|
}, {
|
|
32145
32508
|
slug: string;
|
|
@@ -32148,15 +32511,15 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
|
32148
32511
|
isNoAuth?: boolean | undefined;
|
|
32149
32512
|
connection?: {
|
|
32150
32513
|
isActive: boolean;
|
|
32151
|
-
connectedAccount?: {
|
|
32152
|
-
status: string;
|
|
32153
|
-
id: string;
|
|
32154
|
-
} | undefined;
|
|
32155
32514
|
authConfig?: {
|
|
32156
32515
|
id: string;
|
|
32157
32516
|
isComposioManaged: boolean;
|
|
32158
32517
|
mode: string;
|
|
32159
32518
|
} | null | undefined;
|
|
32519
|
+
connectedAccount?: {
|
|
32520
|
+
status: string;
|
|
32521
|
+
id: string;
|
|
32522
|
+
} | undefined;
|
|
32160
32523
|
} | undefined;
|
|
32161
32524
|
}>;
|
|
32162
32525
|
declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
@@ -32192,26 +32555,26 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
32192
32555
|
}>>;
|
|
32193
32556
|
}, "strip", z.ZodTypeAny, {
|
|
32194
32557
|
isActive: boolean;
|
|
32195
|
-
connectedAccount?: {
|
|
32196
|
-
status: string;
|
|
32197
|
-
id: string;
|
|
32198
|
-
} | undefined;
|
|
32199
32558
|
authConfig?: {
|
|
32200
32559
|
id: string;
|
|
32201
32560
|
isComposioManaged: boolean;
|
|
32202
32561
|
mode: string;
|
|
32203
32562
|
} | null | undefined;
|
|
32204
|
-
}, {
|
|
32205
|
-
isActive: boolean;
|
|
32206
32563
|
connectedAccount?: {
|
|
32207
32564
|
status: string;
|
|
32208
32565
|
id: string;
|
|
32209
32566
|
} | undefined;
|
|
32567
|
+
}, {
|
|
32568
|
+
isActive: boolean;
|
|
32210
32569
|
authConfig?: {
|
|
32211
32570
|
id: string;
|
|
32212
32571
|
isComposioManaged: boolean;
|
|
32213
32572
|
mode: string;
|
|
32214
32573
|
} | null | undefined;
|
|
32574
|
+
connectedAccount?: {
|
|
32575
|
+
status: string;
|
|
32576
|
+
id: string;
|
|
32577
|
+
} | undefined;
|
|
32215
32578
|
}>>;
|
|
32216
32579
|
}, "strip", z.ZodTypeAny, {
|
|
32217
32580
|
slug: string;
|
|
@@ -32220,15 +32583,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
32220
32583
|
logo?: string | undefined;
|
|
32221
32584
|
connection?: {
|
|
32222
32585
|
isActive: boolean;
|
|
32223
|
-
connectedAccount?: {
|
|
32224
|
-
status: string;
|
|
32225
|
-
id: string;
|
|
32226
|
-
} | undefined;
|
|
32227
32586
|
authConfig?: {
|
|
32228
32587
|
id: string;
|
|
32229
32588
|
isComposioManaged: boolean;
|
|
32230
32589
|
mode: string;
|
|
32231
32590
|
} | null | undefined;
|
|
32591
|
+
connectedAccount?: {
|
|
32592
|
+
status: string;
|
|
32593
|
+
id: string;
|
|
32594
|
+
} | undefined;
|
|
32232
32595
|
} | undefined;
|
|
32233
32596
|
}, {
|
|
32234
32597
|
slug: string;
|
|
@@ -32237,15 +32600,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
32237
32600
|
isNoAuth?: boolean | undefined;
|
|
32238
32601
|
connection?: {
|
|
32239
32602
|
isActive: boolean;
|
|
32240
|
-
connectedAccount?: {
|
|
32241
|
-
status: string;
|
|
32242
|
-
id: string;
|
|
32243
|
-
} | undefined;
|
|
32244
32603
|
authConfig?: {
|
|
32245
32604
|
id: string;
|
|
32246
32605
|
isComposioManaged: boolean;
|
|
32247
32606
|
mode: string;
|
|
32248
32607
|
} | null | undefined;
|
|
32608
|
+
connectedAccount?: {
|
|
32609
|
+
status: string;
|
|
32610
|
+
id: string;
|
|
32611
|
+
} | undefined;
|
|
32249
32612
|
} | undefined;
|
|
32250
32613
|
}>, "many">;
|
|
32251
32614
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
@@ -32258,15 +32621,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
32258
32621
|
logo?: string | undefined;
|
|
32259
32622
|
connection?: {
|
|
32260
32623
|
isActive: boolean;
|
|
32261
|
-
connectedAccount?: {
|
|
32262
|
-
status: string;
|
|
32263
|
-
id: string;
|
|
32264
|
-
} | undefined;
|
|
32265
32624
|
authConfig?: {
|
|
32266
32625
|
id: string;
|
|
32267
32626
|
isComposioManaged: boolean;
|
|
32268
32627
|
mode: string;
|
|
32269
32628
|
} | null | undefined;
|
|
32629
|
+
connectedAccount?: {
|
|
32630
|
+
status: string;
|
|
32631
|
+
id: string;
|
|
32632
|
+
} | undefined;
|
|
32270
32633
|
} | undefined;
|
|
32271
32634
|
}[];
|
|
32272
32635
|
totalPages: number;
|
|
@@ -32279,15 +32642,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
32279
32642
|
isNoAuth?: boolean | undefined;
|
|
32280
32643
|
connection?: {
|
|
32281
32644
|
isActive: boolean;
|
|
32282
|
-
connectedAccount?: {
|
|
32283
|
-
status: string;
|
|
32284
|
-
id: string;
|
|
32285
|
-
} | undefined;
|
|
32286
32645
|
authConfig?: {
|
|
32287
32646
|
id: string;
|
|
32288
32647
|
isComposioManaged: boolean;
|
|
32289
32648
|
mode: string;
|
|
32290
32649
|
} | null | undefined;
|
|
32650
|
+
connectedAccount?: {
|
|
32651
|
+
status: string;
|
|
32652
|
+
id: string;
|
|
32653
|
+
} | undefined;
|
|
32291
32654
|
} | undefined;
|
|
32292
32655
|
}[];
|
|
32293
32656
|
totalPages: number;
|
|
@@ -32320,15 +32683,15 @@ declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
|
|
|
32320
32683
|
isConnected: z.ZodOptional<z.ZodBoolean>;
|
|
32321
32684
|
search: z.ZodOptional<z.ZodString>;
|
|
32322
32685
|
}, "strip", z.ZodTypeAny, {
|
|
32323
|
-
limit?: number | undefined;
|
|
32324
32686
|
nextCursor?: string | undefined;
|
|
32325
32687
|
toolkits?: string[] | undefined;
|
|
32688
|
+
limit?: number | undefined;
|
|
32326
32689
|
search?: string | undefined;
|
|
32327
32690
|
isConnected?: boolean | undefined;
|
|
32328
32691
|
}, {
|
|
32329
|
-
limit?: number | undefined;
|
|
32330
32692
|
nextCursor?: string | undefined;
|
|
32331
32693
|
toolkits?: string[] | undefined;
|
|
32694
|
+
limit?: number | undefined;
|
|
32332
32695
|
search?: string | undefined;
|
|
32333
32696
|
isConnected?: boolean | undefined;
|
|
32334
32697
|
}>;
|
|
@@ -33274,4 +33637,4 @@ declare class ComposioWebhookPayloadError extends ComposioError {
|
|
|
33274
33637
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
33275
33638
|
}
|
|
33276
33639
|
//#endregion
|
|
33277
|
-
export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDownloadData, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, SchemaModifierOptions, SessionExecuteMetaModifiers, SessionMetaToolOptions, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
|
|
33640
|
+
export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDownloadData, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, SchemaModifierOptions, SessionExecuteMetaModifiers, SessionMetaToolOptions, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
|