@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.cts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { n as FileUploadData, t as FileDownloadData } from "./files.types-D-RzIOHq.cjs";
|
|
2
|
+
import "node:module";
|
|
1
3
|
import z$1, { z } from "zod/v3";
|
|
2
4
|
import { CustomCreateResponse as CustomCreateResponse$1, GenerateURLResponse as GenerateURLResponse$1, McpCreateResponse } from "@composio/client/resources/mcp";
|
|
3
5
|
import ComposioClient, { Composio as Composio$1 } from "@composio/client";
|
|
@@ -7,6 +9,7 @@ import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateSta
|
|
|
7
9
|
import { ConnectedAccountDeleteResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
|
|
8
10
|
import { OpenAI } from "openai";
|
|
9
11
|
import { Stream } from "openai/streaming";
|
|
12
|
+
import { Files } from "#files";
|
|
10
13
|
|
|
11
14
|
//#region rolldown:runtime
|
|
12
15
|
//#endregion
|
|
@@ -566,17 +569,17 @@ declare const ToolListParamsSchema: z.ZodObject<{
|
|
|
566
569
|
}, "strip", z.ZodTypeAny, {
|
|
567
570
|
tags?: string[] | undefined;
|
|
568
571
|
scopes?: string[] | undefined;
|
|
569
|
-
limit?: number | undefined;
|
|
570
572
|
tools?: string[] | undefined;
|
|
571
573
|
toolkits?: string[] | undefined;
|
|
574
|
+
limit?: number | undefined;
|
|
572
575
|
search?: string | undefined;
|
|
573
576
|
authConfigIds?: string[] | undefined;
|
|
574
577
|
}, {
|
|
575
578
|
tags?: string[] | undefined;
|
|
576
579
|
scopes?: string[] | undefined;
|
|
577
|
-
limit?: number | undefined;
|
|
578
580
|
tools?: string[] | undefined;
|
|
579
581
|
toolkits?: string[] | undefined;
|
|
582
|
+
limit?: number | undefined;
|
|
580
583
|
search?: string | undefined;
|
|
581
584
|
authConfigIds?: string[] | undefined;
|
|
582
585
|
}>;
|
|
@@ -895,6 +898,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
895
898
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
896
899
|
}, "strip", z.ZodTypeAny, {
|
|
897
900
|
authScheme: "OAUTH2";
|
|
901
|
+
toolkitSlug: string;
|
|
898
902
|
val: {
|
|
899
903
|
access_token: string;
|
|
900
904
|
version?: string | undefined;
|
|
@@ -928,12 +932,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
928
932
|
registration_access_token?: string | undefined;
|
|
929
933
|
registration_client_uri?: string | undefined;
|
|
930
934
|
composio_link_redirect_url?: string | undefined;
|
|
931
|
-
webhook_signature?: string | undefined;
|
|
932
935
|
id_token?: string | undefined;
|
|
933
936
|
token_type?: string | undefined;
|
|
934
937
|
refresh_token?: string | null | undefined;
|
|
935
938
|
expires_in?: string | number | null | undefined;
|
|
936
939
|
scope?: string | string[] | null | undefined;
|
|
940
|
+
webhook_signature?: string | undefined;
|
|
937
941
|
authed_user?: {
|
|
938
942
|
access_token?: string | undefined;
|
|
939
943
|
scope?: string | undefined;
|
|
@@ -941,9 +945,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
941
945
|
} & {
|
|
942
946
|
[k: string]: unknown;
|
|
943
947
|
};
|
|
944
|
-
toolkitSlug: string;
|
|
945
948
|
}, {
|
|
946
949
|
authScheme: "OAUTH2";
|
|
950
|
+
toolkitSlug: string;
|
|
947
951
|
val: {
|
|
948
952
|
access_token: string;
|
|
949
953
|
version?: string | undefined;
|
|
@@ -977,12 +981,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
977
981
|
registration_access_token?: string | undefined;
|
|
978
982
|
registration_client_uri?: string | undefined;
|
|
979
983
|
composio_link_redirect_url?: string | undefined;
|
|
980
|
-
webhook_signature?: string | undefined;
|
|
981
984
|
id_token?: string | undefined;
|
|
982
985
|
token_type?: string | undefined;
|
|
983
986
|
refresh_token?: string | null | undefined;
|
|
984
987
|
expires_in?: string | number | null | undefined;
|
|
985
988
|
scope?: string | string[] | null | undefined;
|
|
989
|
+
webhook_signature?: string | undefined;
|
|
986
990
|
authed_user?: {
|
|
987
991
|
access_token?: string | undefined;
|
|
988
992
|
scope?: string | undefined;
|
|
@@ -990,7 +994,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
990
994
|
} & {
|
|
991
995
|
[k: string]: unknown;
|
|
992
996
|
};
|
|
993
|
-
toolkitSlug: string;
|
|
994
997
|
}>, z.ZodObject<{
|
|
995
998
|
authScheme: z.ZodLiteral<"DCR_OAUTH">;
|
|
996
999
|
toolkitSlug: z.ZodString;
|
|
@@ -1102,6 +1105,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1102
1105
|
}, z.ZodUnknown, "strip">>;
|
|
1103
1106
|
}, "strip", z.ZodTypeAny, {
|
|
1104
1107
|
authScheme: "DCR_OAUTH";
|
|
1108
|
+
toolkitSlug: string;
|
|
1105
1109
|
val: {
|
|
1106
1110
|
access_token: string;
|
|
1107
1111
|
client_id: string;
|
|
@@ -1139,9 +1143,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1139
1143
|
} & {
|
|
1140
1144
|
[k: string]: unknown;
|
|
1141
1145
|
};
|
|
1142
|
-
toolkitSlug: string;
|
|
1143
1146
|
}, {
|
|
1144
1147
|
authScheme: "DCR_OAUTH";
|
|
1148
|
+
toolkitSlug: string;
|
|
1145
1149
|
val: {
|
|
1146
1150
|
access_token: string;
|
|
1147
1151
|
client_id: string;
|
|
@@ -1179,7 +1183,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1179
1183
|
} & {
|
|
1180
1184
|
[k: string]: unknown;
|
|
1181
1185
|
};
|
|
1182
|
-
toolkitSlug: string;
|
|
1183
1186
|
}>, z.ZodObject<{
|
|
1184
1187
|
authScheme: z.ZodLiteral<"API_KEY">;
|
|
1185
1188
|
toolkitSlug: z.ZodString;
|
|
@@ -1285,6 +1288,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1285
1288
|
}, z.ZodUnknown, "strip">>;
|
|
1286
1289
|
}, "strip", z.ZodTypeAny, {
|
|
1287
1290
|
authScheme: "API_KEY";
|
|
1291
|
+
toolkitSlug: string;
|
|
1288
1292
|
val: {
|
|
1289
1293
|
version?: string | undefined;
|
|
1290
1294
|
"your-domain"?: string | undefined;
|
|
@@ -1320,9 +1324,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1320
1324
|
} & {
|
|
1321
1325
|
[k: string]: unknown;
|
|
1322
1326
|
};
|
|
1323
|
-
toolkitSlug: string;
|
|
1324
1327
|
}, {
|
|
1325
1328
|
authScheme: "API_KEY";
|
|
1329
|
+
toolkitSlug: string;
|
|
1326
1330
|
val: {
|
|
1327
1331
|
version?: string | undefined;
|
|
1328
1332
|
"your-domain"?: string | undefined;
|
|
@@ -1358,7 +1362,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1358
1362
|
} & {
|
|
1359
1363
|
[k: string]: unknown;
|
|
1360
1364
|
};
|
|
1361
|
-
toolkitSlug: string;
|
|
1362
1365
|
}>, z.ZodObject<{
|
|
1363
1366
|
authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
|
|
1364
1367
|
toolkitSlug: z.ZodString;
|
|
@@ -1470,6 +1473,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1470
1473
|
}, z.ZodUnknown, "strip">>;
|
|
1471
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1472
1475
|
authScheme: "BASIC_WITH_JWT";
|
|
1476
|
+
toolkitSlug: string;
|
|
1473
1477
|
val: {
|
|
1474
1478
|
username: string;
|
|
1475
1479
|
password: string;
|
|
@@ -1507,9 +1511,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1507
1511
|
} & {
|
|
1508
1512
|
[k: string]: unknown;
|
|
1509
1513
|
};
|
|
1510
|
-
toolkitSlug: string;
|
|
1511
1514
|
}, {
|
|
1512
1515
|
authScheme: "BASIC_WITH_JWT";
|
|
1516
|
+
toolkitSlug: string;
|
|
1513
1517
|
val: {
|
|
1514
1518
|
username: string;
|
|
1515
1519
|
password: string;
|
|
@@ -1547,7 +1551,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1547
1551
|
} & {
|
|
1548
1552
|
[k: string]: unknown;
|
|
1549
1553
|
};
|
|
1550
|
-
toolkitSlug: string;
|
|
1551
1554
|
}>, z.ZodObject<{
|
|
1552
1555
|
authScheme: z.ZodLiteral<"BASIC">;
|
|
1553
1556
|
toolkitSlug: z.ZodString;
|
|
@@ -1659,6 +1662,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1659
1662
|
}, z.ZodUnknown, "strip">>;
|
|
1660
1663
|
}, "strip", z.ZodTypeAny, {
|
|
1661
1664
|
authScheme: "BASIC";
|
|
1665
|
+
toolkitSlug: string;
|
|
1662
1666
|
val: {
|
|
1663
1667
|
username: string;
|
|
1664
1668
|
password: string;
|
|
@@ -1696,9 +1700,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1696
1700
|
} & {
|
|
1697
1701
|
[k: string]: unknown;
|
|
1698
1702
|
};
|
|
1699
|
-
toolkitSlug: string;
|
|
1700
1703
|
}, {
|
|
1701
1704
|
authScheme: "BASIC";
|
|
1705
|
+
toolkitSlug: string;
|
|
1702
1706
|
val: {
|
|
1703
1707
|
username: string;
|
|
1704
1708
|
password: string;
|
|
@@ -1736,7 +1740,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1736
1740
|
} & {
|
|
1737
1741
|
[k: string]: unknown;
|
|
1738
1742
|
};
|
|
1739
|
-
toolkitSlug: string;
|
|
1740
1743
|
}>, z.ZodObject<{
|
|
1741
1744
|
authScheme: z.ZodLiteral<"BEARER_TOKEN">;
|
|
1742
1745
|
toolkitSlug: z.ZodString;
|
|
@@ -1845,6 +1848,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1845
1848
|
}, z.ZodUnknown, "strip">>;
|
|
1846
1849
|
}, "strip", z.ZodTypeAny, {
|
|
1847
1850
|
authScheme: "BEARER_TOKEN";
|
|
1851
|
+
toolkitSlug: string;
|
|
1848
1852
|
val: {
|
|
1849
1853
|
token: string;
|
|
1850
1854
|
version?: string | undefined;
|
|
@@ -1881,9 +1885,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1881
1885
|
} & {
|
|
1882
1886
|
[k: string]: unknown;
|
|
1883
1887
|
};
|
|
1884
|
-
toolkitSlug: string;
|
|
1885
1888
|
}, {
|
|
1886
1889
|
authScheme: "BEARER_TOKEN";
|
|
1890
|
+
toolkitSlug: string;
|
|
1887
1891
|
val: {
|
|
1888
1892
|
token: string;
|
|
1889
1893
|
version?: string | undefined;
|
|
@@ -1920,7 +1924,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
1920
1924
|
} & {
|
|
1921
1925
|
[k: string]: unknown;
|
|
1922
1926
|
};
|
|
1923
|
-
toolkitSlug: string;
|
|
1924
1927
|
}>, z.ZodObject<{
|
|
1925
1928
|
authScheme: z.ZodLiteral<"OAUTH1">;
|
|
1926
1929
|
toolkitSlug: z.ZodString;
|
|
@@ -2047,6 +2050,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2047
2050
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
2048
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2049
2052
|
authScheme: "OAUTH1";
|
|
2053
|
+
toolkitSlug: string;
|
|
2050
2054
|
val: {
|
|
2051
2055
|
oauth_token: string;
|
|
2052
2056
|
oauth_token_secret: string;
|
|
@@ -2081,16 +2085,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2081
2085
|
registration_access_token?: string | undefined;
|
|
2082
2086
|
registration_client_uri?: string | undefined;
|
|
2083
2087
|
composio_link_redirect_url?: string | undefined;
|
|
2084
|
-
redirectUrl?: string | undefined;
|
|
2085
|
-
callback_url?: string | undefined;
|
|
2086
2088
|
consumer_key?: string | undefined;
|
|
2087
2089
|
oauth_verifier?: string | undefined;
|
|
2090
|
+
redirectUrl?: string | undefined;
|
|
2091
|
+
callback_url?: string | undefined;
|
|
2088
2092
|
} & {
|
|
2089
2093
|
[k: string]: unknown;
|
|
2090
2094
|
};
|
|
2091
|
-
toolkitSlug: string;
|
|
2092
2095
|
}, {
|
|
2093
2096
|
authScheme: "OAUTH1";
|
|
2097
|
+
toolkitSlug: string;
|
|
2094
2098
|
val: {
|
|
2095
2099
|
oauth_token: string;
|
|
2096
2100
|
oauth_token_secret: string;
|
|
@@ -2125,14 +2129,13 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2125
2129
|
registration_access_token?: string | undefined;
|
|
2126
2130
|
registration_client_uri?: string | undefined;
|
|
2127
2131
|
composio_link_redirect_url?: string | undefined;
|
|
2128
|
-
redirectUrl?: string | undefined;
|
|
2129
|
-
callback_url?: string | undefined;
|
|
2130
2132
|
consumer_key?: string | undefined;
|
|
2131
2133
|
oauth_verifier?: string | undefined;
|
|
2134
|
+
redirectUrl?: string | undefined;
|
|
2135
|
+
callback_url?: string | undefined;
|
|
2132
2136
|
} & {
|
|
2133
2137
|
[k: string]: unknown;
|
|
2134
2138
|
};
|
|
2135
|
-
toolkitSlug: string;
|
|
2136
2139
|
}>, z.ZodObject<{
|
|
2137
2140
|
authScheme: z.ZodLiteral<"NO_AUTH">;
|
|
2138
2141
|
toolkitSlug: z.ZodString;
|
|
@@ -2235,6 +2238,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2235
2238
|
}, z.ZodUnknown, "strip">>;
|
|
2236
2239
|
}, "strip", z.ZodTypeAny, {
|
|
2237
2240
|
authScheme: "NO_AUTH";
|
|
2241
|
+
toolkitSlug: string;
|
|
2238
2242
|
val: {
|
|
2239
2243
|
version?: string | undefined;
|
|
2240
2244
|
"your-domain"?: string | undefined;
|
|
@@ -2270,9 +2274,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2270
2274
|
} & {
|
|
2271
2275
|
[k: string]: unknown;
|
|
2272
2276
|
};
|
|
2273
|
-
toolkitSlug: string;
|
|
2274
2277
|
}, {
|
|
2275
2278
|
authScheme: "NO_AUTH";
|
|
2279
|
+
toolkitSlug: string;
|
|
2276
2280
|
val: {
|
|
2277
2281
|
version?: string | undefined;
|
|
2278
2282
|
"your-domain"?: string | undefined;
|
|
@@ -2308,7 +2312,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2308
2312
|
} & {
|
|
2309
2313
|
[k: string]: unknown;
|
|
2310
2314
|
};
|
|
2311
|
-
toolkitSlug: string;
|
|
2312
2315
|
}>, z.ZodObject<{
|
|
2313
2316
|
authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
2314
2317
|
toolkitSlug: z.ZodString;
|
|
@@ -2423,6 +2426,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2423
2426
|
}, z.ZodUnknown, "strip">>;
|
|
2424
2427
|
}, "strip", z.ZodTypeAny, {
|
|
2425
2428
|
authScheme: "SERVICE_ACCOUNT";
|
|
2429
|
+
toolkitSlug: string;
|
|
2426
2430
|
val: {
|
|
2427
2431
|
application_id: string;
|
|
2428
2432
|
installation_id: string;
|
|
@@ -2461,9 +2465,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2461
2465
|
} & {
|
|
2462
2466
|
[k: string]: unknown;
|
|
2463
2467
|
};
|
|
2464
|
-
toolkitSlug: string;
|
|
2465
2468
|
}, {
|
|
2466
2469
|
authScheme: "SERVICE_ACCOUNT";
|
|
2470
|
+
toolkitSlug: string;
|
|
2467
2471
|
val: {
|
|
2468
2472
|
application_id: string;
|
|
2469
2473
|
installation_id: string;
|
|
@@ -2502,7 +2506,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2502
2506
|
} & {
|
|
2503
2507
|
[k: string]: unknown;
|
|
2504
2508
|
};
|
|
2505
|
-
toolkitSlug: string;
|
|
2506
2509
|
}>]>>;
|
|
2507
2510
|
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2508
2511
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -2524,6 +2527,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2524
2527
|
} | undefined;
|
|
2525
2528
|
customConnectionData?: {
|
|
2526
2529
|
authScheme: "OAUTH2";
|
|
2530
|
+
toolkitSlug: string;
|
|
2527
2531
|
val: {
|
|
2528
2532
|
access_token: string;
|
|
2529
2533
|
version?: string | undefined;
|
|
@@ -2557,12 +2561,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2557
2561
|
registration_access_token?: string | undefined;
|
|
2558
2562
|
registration_client_uri?: string | undefined;
|
|
2559
2563
|
composio_link_redirect_url?: string | undefined;
|
|
2560
|
-
webhook_signature?: string | undefined;
|
|
2561
2564
|
id_token?: string | undefined;
|
|
2562
2565
|
token_type?: string | undefined;
|
|
2563
2566
|
refresh_token?: string | null | undefined;
|
|
2564
2567
|
expires_in?: string | number | null | undefined;
|
|
2565
2568
|
scope?: string | string[] | null | undefined;
|
|
2569
|
+
webhook_signature?: string | undefined;
|
|
2566
2570
|
authed_user?: {
|
|
2567
2571
|
access_token?: string | undefined;
|
|
2568
2572
|
scope?: string | undefined;
|
|
@@ -2570,9 +2574,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2570
2574
|
} & {
|
|
2571
2575
|
[k: string]: unknown;
|
|
2572
2576
|
};
|
|
2573
|
-
toolkitSlug: string;
|
|
2574
2577
|
} | {
|
|
2575
2578
|
authScheme: "DCR_OAUTH";
|
|
2579
|
+
toolkitSlug: string;
|
|
2576
2580
|
val: {
|
|
2577
2581
|
access_token: string;
|
|
2578
2582
|
client_id: string;
|
|
@@ -2610,9 +2614,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2610
2614
|
} & {
|
|
2611
2615
|
[k: string]: unknown;
|
|
2612
2616
|
};
|
|
2613
|
-
toolkitSlug: string;
|
|
2614
2617
|
} | {
|
|
2615
2618
|
authScheme: "API_KEY";
|
|
2619
|
+
toolkitSlug: string;
|
|
2616
2620
|
val: {
|
|
2617
2621
|
version?: string | undefined;
|
|
2618
2622
|
"your-domain"?: string | undefined;
|
|
@@ -2648,9 +2652,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2648
2652
|
} & {
|
|
2649
2653
|
[k: string]: unknown;
|
|
2650
2654
|
};
|
|
2651
|
-
toolkitSlug: string;
|
|
2652
2655
|
} | {
|
|
2653
2656
|
authScheme: "BASIC_WITH_JWT";
|
|
2657
|
+
toolkitSlug: string;
|
|
2654
2658
|
val: {
|
|
2655
2659
|
username: string;
|
|
2656
2660
|
password: string;
|
|
@@ -2688,9 +2692,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2688
2692
|
} & {
|
|
2689
2693
|
[k: string]: unknown;
|
|
2690
2694
|
};
|
|
2691
|
-
toolkitSlug: string;
|
|
2692
2695
|
} | {
|
|
2693
2696
|
authScheme: "BASIC";
|
|
2697
|
+
toolkitSlug: string;
|
|
2694
2698
|
val: {
|
|
2695
2699
|
username: string;
|
|
2696
2700
|
password: string;
|
|
@@ -2728,9 +2732,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2728
2732
|
} & {
|
|
2729
2733
|
[k: string]: unknown;
|
|
2730
2734
|
};
|
|
2731
|
-
toolkitSlug: string;
|
|
2732
2735
|
} | {
|
|
2733
2736
|
authScheme: "BEARER_TOKEN";
|
|
2737
|
+
toolkitSlug: string;
|
|
2734
2738
|
val: {
|
|
2735
2739
|
token: string;
|
|
2736
2740
|
version?: string | undefined;
|
|
@@ -2767,9 +2771,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2767
2771
|
} & {
|
|
2768
2772
|
[k: string]: unknown;
|
|
2769
2773
|
};
|
|
2770
|
-
toolkitSlug: string;
|
|
2771
2774
|
} | {
|
|
2772
2775
|
authScheme: "OAUTH1";
|
|
2776
|
+
toolkitSlug: string;
|
|
2773
2777
|
val: {
|
|
2774
2778
|
oauth_token: string;
|
|
2775
2779
|
oauth_token_secret: string;
|
|
@@ -2804,16 +2808,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2804
2808
|
registration_access_token?: string | undefined;
|
|
2805
2809
|
registration_client_uri?: string | undefined;
|
|
2806
2810
|
composio_link_redirect_url?: string | undefined;
|
|
2807
|
-
redirectUrl?: string | undefined;
|
|
2808
|
-
callback_url?: string | undefined;
|
|
2809
2811
|
consumer_key?: string | undefined;
|
|
2810
2812
|
oauth_verifier?: string | undefined;
|
|
2813
|
+
redirectUrl?: string | undefined;
|
|
2814
|
+
callback_url?: string | undefined;
|
|
2811
2815
|
} & {
|
|
2812
2816
|
[k: string]: unknown;
|
|
2813
2817
|
};
|
|
2814
|
-
toolkitSlug: string;
|
|
2815
2818
|
} | {
|
|
2816
2819
|
authScheme: "NO_AUTH";
|
|
2820
|
+
toolkitSlug: string;
|
|
2817
2821
|
val: {
|
|
2818
2822
|
version?: string | undefined;
|
|
2819
2823
|
"your-domain"?: string | undefined;
|
|
@@ -2849,9 +2853,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2849
2853
|
} & {
|
|
2850
2854
|
[k: string]: unknown;
|
|
2851
2855
|
};
|
|
2852
|
-
toolkitSlug: string;
|
|
2853
2856
|
} | {
|
|
2854
2857
|
authScheme: "SERVICE_ACCOUNT";
|
|
2858
|
+
toolkitSlug: string;
|
|
2855
2859
|
val: {
|
|
2856
2860
|
application_id: string;
|
|
2857
2861
|
installation_id: string;
|
|
@@ -2890,7 +2894,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2890
2894
|
} & {
|
|
2891
2895
|
[k: string]: unknown;
|
|
2892
2896
|
};
|
|
2893
|
-
toolkitSlug: string;
|
|
2894
2897
|
} | undefined;
|
|
2895
2898
|
arguments?: Record<string, unknown> | undefined;
|
|
2896
2899
|
userId?: string | undefined;
|
|
@@ -2911,6 +2914,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2911
2914
|
} | undefined;
|
|
2912
2915
|
customConnectionData?: {
|
|
2913
2916
|
authScheme: "OAUTH2";
|
|
2917
|
+
toolkitSlug: string;
|
|
2914
2918
|
val: {
|
|
2915
2919
|
access_token: string;
|
|
2916
2920
|
version?: string | undefined;
|
|
@@ -2944,12 +2948,12 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2944
2948
|
registration_access_token?: string | undefined;
|
|
2945
2949
|
registration_client_uri?: string | undefined;
|
|
2946
2950
|
composio_link_redirect_url?: string | undefined;
|
|
2947
|
-
webhook_signature?: string | undefined;
|
|
2948
2951
|
id_token?: string | undefined;
|
|
2949
2952
|
token_type?: string | undefined;
|
|
2950
2953
|
refresh_token?: string | null | undefined;
|
|
2951
2954
|
expires_in?: string | number | null | undefined;
|
|
2952
2955
|
scope?: string | string[] | null | undefined;
|
|
2956
|
+
webhook_signature?: string | undefined;
|
|
2953
2957
|
authed_user?: {
|
|
2954
2958
|
access_token?: string | undefined;
|
|
2955
2959
|
scope?: string | undefined;
|
|
@@ -2957,9 +2961,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2957
2961
|
} & {
|
|
2958
2962
|
[k: string]: unknown;
|
|
2959
2963
|
};
|
|
2960
|
-
toolkitSlug: string;
|
|
2961
2964
|
} | {
|
|
2962
2965
|
authScheme: "DCR_OAUTH";
|
|
2966
|
+
toolkitSlug: string;
|
|
2963
2967
|
val: {
|
|
2964
2968
|
access_token: string;
|
|
2965
2969
|
client_id: string;
|
|
@@ -2997,9 +3001,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
2997
3001
|
} & {
|
|
2998
3002
|
[k: string]: unknown;
|
|
2999
3003
|
};
|
|
3000
|
-
toolkitSlug: string;
|
|
3001
3004
|
} | {
|
|
3002
3005
|
authScheme: "API_KEY";
|
|
3006
|
+
toolkitSlug: string;
|
|
3003
3007
|
val: {
|
|
3004
3008
|
version?: string | undefined;
|
|
3005
3009
|
"your-domain"?: string | undefined;
|
|
@@ -3035,9 +3039,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3035
3039
|
} & {
|
|
3036
3040
|
[k: string]: unknown;
|
|
3037
3041
|
};
|
|
3038
|
-
toolkitSlug: string;
|
|
3039
3042
|
} | {
|
|
3040
3043
|
authScheme: "BASIC_WITH_JWT";
|
|
3044
|
+
toolkitSlug: string;
|
|
3041
3045
|
val: {
|
|
3042
3046
|
username: string;
|
|
3043
3047
|
password: string;
|
|
@@ -3075,9 +3079,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3075
3079
|
} & {
|
|
3076
3080
|
[k: string]: unknown;
|
|
3077
3081
|
};
|
|
3078
|
-
toolkitSlug: string;
|
|
3079
3082
|
} | {
|
|
3080
3083
|
authScheme: "BASIC";
|
|
3084
|
+
toolkitSlug: string;
|
|
3081
3085
|
val: {
|
|
3082
3086
|
username: string;
|
|
3083
3087
|
password: string;
|
|
@@ -3115,9 +3119,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3115
3119
|
} & {
|
|
3116
3120
|
[k: string]: unknown;
|
|
3117
3121
|
};
|
|
3118
|
-
toolkitSlug: string;
|
|
3119
3122
|
} | {
|
|
3120
3123
|
authScheme: "BEARER_TOKEN";
|
|
3124
|
+
toolkitSlug: string;
|
|
3121
3125
|
val: {
|
|
3122
3126
|
token: string;
|
|
3123
3127
|
version?: string | undefined;
|
|
@@ -3154,9 +3158,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3154
3158
|
} & {
|
|
3155
3159
|
[k: string]: unknown;
|
|
3156
3160
|
};
|
|
3157
|
-
toolkitSlug: string;
|
|
3158
3161
|
} | {
|
|
3159
3162
|
authScheme: "OAUTH1";
|
|
3163
|
+
toolkitSlug: string;
|
|
3160
3164
|
val: {
|
|
3161
3165
|
oauth_token: string;
|
|
3162
3166
|
oauth_token_secret: string;
|
|
@@ -3191,16 +3195,16 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3191
3195
|
registration_access_token?: string | undefined;
|
|
3192
3196
|
registration_client_uri?: string | undefined;
|
|
3193
3197
|
composio_link_redirect_url?: string | undefined;
|
|
3194
|
-
redirectUrl?: string | undefined;
|
|
3195
|
-
callback_url?: string | undefined;
|
|
3196
3198
|
consumer_key?: string | undefined;
|
|
3197
3199
|
oauth_verifier?: string | undefined;
|
|
3200
|
+
redirectUrl?: string | undefined;
|
|
3201
|
+
callback_url?: string | undefined;
|
|
3198
3202
|
} & {
|
|
3199
3203
|
[k: string]: unknown;
|
|
3200
3204
|
};
|
|
3201
|
-
toolkitSlug: string;
|
|
3202
3205
|
} | {
|
|
3203
3206
|
authScheme: "NO_AUTH";
|
|
3207
|
+
toolkitSlug: string;
|
|
3204
3208
|
val: {
|
|
3205
3209
|
version?: string | undefined;
|
|
3206
3210
|
"your-domain"?: string | undefined;
|
|
@@ -3236,9 +3240,9 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3236
3240
|
} & {
|
|
3237
3241
|
[k: string]: unknown;
|
|
3238
3242
|
};
|
|
3239
|
-
toolkitSlug: string;
|
|
3240
3243
|
} | {
|
|
3241
3244
|
authScheme: "SERVICE_ACCOUNT";
|
|
3245
|
+
toolkitSlug: string;
|
|
3242
3246
|
val: {
|
|
3243
3247
|
application_id: string;
|
|
3244
3248
|
installation_id: string;
|
|
@@ -3277,7 +3281,6 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
|
|
|
3277
3281
|
} & {
|
|
3278
3282
|
[k: string]: unknown;
|
|
3279
3283
|
};
|
|
3280
|
-
toolkitSlug: string;
|
|
3281
3284
|
} | undefined;
|
|
3282
3285
|
arguments?: Record<string, unknown> | undefined;
|
|
3283
3286
|
userId?: string | undefined;
|
|
@@ -3306,14 +3309,14 @@ declare const ToolExecuteResponseSchema: z.ZodObject<{
|
|
|
3306
3309
|
logId: z.ZodOptional<z.ZodString>;
|
|
3307
3310
|
sessionInfo: z.ZodOptional<z.ZodUnknown>;
|
|
3308
3311
|
}, "strip", z.ZodTypeAny, {
|
|
3309
|
-
error: string | null;
|
|
3310
3312
|
data: Record<string, unknown>;
|
|
3313
|
+
error: string | null;
|
|
3311
3314
|
successful: boolean;
|
|
3312
3315
|
logId?: string | undefined;
|
|
3313
3316
|
sessionInfo?: unknown;
|
|
3314
3317
|
}, {
|
|
3315
|
-
error: string | null;
|
|
3316
3318
|
data: Record<string, unknown>;
|
|
3319
|
+
error: string | null;
|
|
3317
3320
|
successful: boolean;
|
|
3318
3321
|
logId?: string | undefined;
|
|
3319
3322
|
sessionInfo?: unknown;
|
|
@@ -3499,6 +3502,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3499
3502
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
3500
3503
|
}, "strip", z.ZodTypeAny, {
|
|
3501
3504
|
authScheme: "OAUTH2";
|
|
3505
|
+
toolkitSlug: string;
|
|
3502
3506
|
val: {
|
|
3503
3507
|
access_token: string;
|
|
3504
3508
|
version?: string | undefined;
|
|
@@ -3532,12 +3536,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3532
3536
|
registration_access_token?: string | undefined;
|
|
3533
3537
|
registration_client_uri?: string | undefined;
|
|
3534
3538
|
composio_link_redirect_url?: string | undefined;
|
|
3535
|
-
webhook_signature?: string | undefined;
|
|
3536
3539
|
id_token?: string | undefined;
|
|
3537
3540
|
token_type?: string | undefined;
|
|
3538
3541
|
refresh_token?: string | null | undefined;
|
|
3539
3542
|
expires_in?: string | number | null | undefined;
|
|
3540
3543
|
scope?: string | string[] | null | undefined;
|
|
3544
|
+
webhook_signature?: string | undefined;
|
|
3541
3545
|
authed_user?: {
|
|
3542
3546
|
access_token?: string | undefined;
|
|
3543
3547
|
scope?: string | undefined;
|
|
@@ -3545,9 +3549,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3545
3549
|
} & {
|
|
3546
3550
|
[k: string]: unknown;
|
|
3547
3551
|
};
|
|
3548
|
-
toolkitSlug: string;
|
|
3549
3552
|
}, {
|
|
3550
3553
|
authScheme: "OAUTH2";
|
|
3554
|
+
toolkitSlug: string;
|
|
3551
3555
|
val: {
|
|
3552
3556
|
access_token: string;
|
|
3553
3557
|
version?: string | undefined;
|
|
@@ -3581,12 +3585,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3581
3585
|
registration_access_token?: string | undefined;
|
|
3582
3586
|
registration_client_uri?: string | undefined;
|
|
3583
3587
|
composio_link_redirect_url?: string | undefined;
|
|
3584
|
-
webhook_signature?: string | undefined;
|
|
3585
3588
|
id_token?: string | undefined;
|
|
3586
3589
|
token_type?: string | undefined;
|
|
3587
3590
|
refresh_token?: string | null | undefined;
|
|
3588
3591
|
expires_in?: string | number | null | undefined;
|
|
3589
3592
|
scope?: string | string[] | null | undefined;
|
|
3593
|
+
webhook_signature?: string | undefined;
|
|
3590
3594
|
authed_user?: {
|
|
3591
3595
|
access_token?: string | undefined;
|
|
3592
3596
|
scope?: string | undefined;
|
|
@@ -3594,7 +3598,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3594
3598
|
} & {
|
|
3595
3599
|
[k: string]: unknown;
|
|
3596
3600
|
};
|
|
3597
|
-
toolkitSlug: string;
|
|
3598
3601
|
}>, z.ZodObject<{
|
|
3599
3602
|
authScheme: z.ZodLiteral<"DCR_OAUTH">;
|
|
3600
3603
|
toolkitSlug: z.ZodString;
|
|
@@ -3706,6 +3709,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3706
3709
|
}, z.ZodUnknown, "strip">>;
|
|
3707
3710
|
}, "strip", z.ZodTypeAny, {
|
|
3708
3711
|
authScheme: "DCR_OAUTH";
|
|
3712
|
+
toolkitSlug: string;
|
|
3709
3713
|
val: {
|
|
3710
3714
|
access_token: string;
|
|
3711
3715
|
client_id: string;
|
|
@@ -3743,9 +3747,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3743
3747
|
} & {
|
|
3744
3748
|
[k: string]: unknown;
|
|
3745
3749
|
};
|
|
3746
|
-
toolkitSlug: string;
|
|
3747
3750
|
}, {
|
|
3748
3751
|
authScheme: "DCR_OAUTH";
|
|
3752
|
+
toolkitSlug: string;
|
|
3749
3753
|
val: {
|
|
3750
3754
|
access_token: string;
|
|
3751
3755
|
client_id: string;
|
|
@@ -3783,7 +3787,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3783
3787
|
} & {
|
|
3784
3788
|
[k: string]: unknown;
|
|
3785
3789
|
};
|
|
3786
|
-
toolkitSlug: string;
|
|
3787
3790
|
}>, z.ZodObject<{
|
|
3788
3791
|
authScheme: z.ZodLiteral<"API_KEY">;
|
|
3789
3792
|
toolkitSlug: z.ZodString;
|
|
@@ -3889,6 +3892,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3889
3892
|
}, z.ZodUnknown, "strip">>;
|
|
3890
3893
|
}, "strip", z.ZodTypeAny, {
|
|
3891
3894
|
authScheme: "API_KEY";
|
|
3895
|
+
toolkitSlug: string;
|
|
3892
3896
|
val: {
|
|
3893
3897
|
version?: string | undefined;
|
|
3894
3898
|
"your-domain"?: string | undefined;
|
|
@@ -3924,9 +3928,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3924
3928
|
} & {
|
|
3925
3929
|
[k: string]: unknown;
|
|
3926
3930
|
};
|
|
3927
|
-
toolkitSlug: string;
|
|
3928
3931
|
}, {
|
|
3929
3932
|
authScheme: "API_KEY";
|
|
3933
|
+
toolkitSlug: string;
|
|
3930
3934
|
val: {
|
|
3931
3935
|
version?: string | undefined;
|
|
3932
3936
|
"your-domain"?: string | undefined;
|
|
@@ -3962,7 +3966,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
3962
3966
|
} & {
|
|
3963
3967
|
[k: string]: unknown;
|
|
3964
3968
|
};
|
|
3965
|
-
toolkitSlug: string;
|
|
3966
3969
|
}>, z.ZodObject<{
|
|
3967
3970
|
authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
|
|
3968
3971
|
toolkitSlug: z.ZodString;
|
|
@@ -4074,6 +4077,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4074
4077
|
}, z.ZodUnknown, "strip">>;
|
|
4075
4078
|
}, "strip", z.ZodTypeAny, {
|
|
4076
4079
|
authScheme: "BASIC_WITH_JWT";
|
|
4080
|
+
toolkitSlug: string;
|
|
4077
4081
|
val: {
|
|
4078
4082
|
username: string;
|
|
4079
4083
|
password: string;
|
|
@@ -4111,9 +4115,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4111
4115
|
} & {
|
|
4112
4116
|
[k: string]: unknown;
|
|
4113
4117
|
};
|
|
4114
|
-
toolkitSlug: string;
|
|
4115
4118
|
}, {
|
|
4116
4119
|
authScheme: "BASIC_WITH_JWT";
|
|
4120
|
+
toolkitSlug: string;
|
|
4117
4121
|
val: {
|
|
4118
4122
|
username: string;
|
|
4119
4123
|
password: string;
|
|
@@ -4151,7 +4155,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4151
4155
|
} & {
|
|
4152
4156
|
[k: string]: unknown;
|
|
4153
4157
|
};
|
|
4154
|
-
toolkitSlug: string;
|
|
4155
4158
|
}>, z.ZodObject<{
|
|
4156
4159
|
authScheme: z.ZodLiteral<"BASIC">;
|
|
4157
4160
|
toolkitSlug: z.ZodString;
|
|
@@ -4263,6 +4266,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4263
4266
|
}, z.ZodUnknown, "strip">>;
|
|
4264
4267
|
}, "strip", z.ZodTypeAny, {
|
|
4265
4268
|
authScheme: "BASIC";
|
|
4269
|
+
toolkitSlug: string;
|
|
4266
4270
|
val: {
|
|
4267
4271
|
username: string;
|
|
4268
4272
|
password: string;
|
|
@@ -4300,9 +4304,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4300
4304
|
} & {
|
|
4301
4305
|
[k: string]: unknown;
|
|
4302
4306
|
};
|
|
4303
|
-
toolkitSlug: string;
|
|
4304
4307
|
}, {
|
|
4305
4308
|
authScheme: "BASIC";
|
|
4309
|
+
toolkitSlug: string;
|
|
4306
4310
|
val: {
|
|
4307
4311
|
username: string;
|
|
4308
4312
|
password: string;
|
|
@@ -4340,7 +4344,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4340
4344
|
} & {
|
|
4341
4345
|
[k: string]: unknown;
|
|
4342
4346
|
};
|
|
4343
|
-
toolkitSlug: string;
|
|
4344
4347
|
}>, z.ZodObject<{
|
|
4345
4348
|
authScheme: z.ZodLiteral<"BEARER_TOKEN">;
|
|
4346
4349
|
toolkitSlug: z.ZodString;
|
|
@@ -4449,6 +4452,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4449
4452
|
}, z.ZodUnknown, "strip">>;
|
|
4450
4453
|
}, "strip", z.ZodTypeAny, {
|
|
4451
4454
|
authScheme: "BEARER_TOKEN";
|
|
4455
|
+
toolkitSlug: string;
|
|
4452
4456
|
val: {
|
|
4453
4457
|
token: string;
|
|
4454
4458
|
version?: string | undefined;
|
|
@@ -4485,9 +4489,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4485
4489
|
} & {
|
|
4486
4490
|
[k: string]: unknown;
|
|
4487
4491
|
};
|
|
4488
|
-
toolkitSlug: string;
|
|
4489
4492
|
}, {
|
|
4490
4493
|
authScheme: "BEARER_TOKEN";
|
|
4494
|
+
toolkitSlug: string;
|
|
4491
4495
|
val: {
|
|
4492
4496
|
token: string;
|
|
4493
4497
|
version?: string | undefined;
|
|
@@ -4524,7 +4528,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4524
4528
|
} & {
|
|
4525
4529
|
[k: string]: unknown;
|
|
4526
4530
|
};
|
|
4527
|
-
toolkitSlug: string;
|
|
4528
4531
|
}>, z.ZodObject<{
|
|
4529
4532
|
authScheme: z.ZodLiteral<"OAUTH1">;
|
|
4530
4533
|
toolkitSlug: z.ZodString;
|
|
@@ -4651,6 +4654,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4651
4654
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
4652
4655
|
}, "strip", z.ZodTypeAny, {
|
|
4653
4656
|
authScheme: "OAUTH1";
|
|
4657
|
+
toolkitSlug: string;
|
|
4654
4658
|
val: {
|
|
4655
4659
|
oauth_token: string;
|
|
4656
4660
|
oauth_token_secret: string;
|
|
@@ -4685,16 +4689,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4685
4689
|
registration_access_token?: string | undefined;
|
|
4686
4690
|
registration_client_uri?: string | undefined;
|
|
4687
4691
|
composio_link_redirect_url?: string | undefined;
|
|
4688
|
-
redirectUrl?: string | undefined;
|
|
4689
|
-
callback_url?: string | undefined;
|
|
4690
4692
|
consumer_key?: string | undefined;
|
|
4691
4693
|
oauth_verifier?: string | undefined;
|
|
4694
|
+
redirectUrl?: string | undefined;
|
|
4695
|
+
callback_url?: string | undefined;
|
|
4692
4696
|
} & {
|
|
4693
4697
|
[k: string]: unknown;
|
|
4694
4698
|
};
|
|
4695
|
-
toolkitSlug: string;
|
|
4696
4699
|
}, {
|
|
4697
4700
|
authScheme: "OAUTH1";
|
|
4701
|
+
toolkitSlug: string;
|
|
4698
4702
|
val: {
|
|
4699
4703
|
oauth_token: string;
|
|
4700
4704
|
oauth_token_secret: string;
|
|
@@ -4729,14 +4733,13 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4729
4733
|
registration_access_token?: string | undefined;
|
|
4730
4734
|
registration_client_uri?: string | undefined;
|
|
4731
4735
|
composio_link_redirect_url?: string | undefined;
|
|
4732
|
-
redirectUrl?: string | undefined;
|
|
4733
|
-
callback_url?: string | undefined;
|
|
4734
4736
|
consumer_key?: string | undefined;
|
|
4735
4737
|
oauth_verifier?: string | undefined;
|
|
4738
|
+
redirectUrl?: string | undefined;
|
|
4739
|
+
callback_url?: string | undefined;
|
|
4736
4740
|
} & {
|
|
4737
4741
|
[k: string]: unknown;
|
|
4738
4742
|
};
|
|
4739
|
-
toolkitSlug: string;
|
|
4740
4743
|
}>, z.ZodObject<{
|
|
4741
4744
|
authScheme: z.ZodLiteral<"NO_AUTH">;
|
|
4742
4745
|
toolkitSlug: z.ZodString;
|
|
@@ -4839,6 +4842,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4839
4842
|
}, z.ZodUnknown, "strip">>;
|
|
4840
4843
|
}, "strip", z.ZodTypeAny, {
|
|
4841
4844
|
authScheme: "NO_AUTH";
|
|
4845
|
+
toolkitSlug: string;
|
|
4842
4846
|
val: {
|
|
4843
4847
|
version?: string | undefined;
|
|
4844
4848
|
"your-domain"?: string | undefined;
|
|
@@ -4874,9 +4878,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4874
4878
|
} & {
|
|
4875
4879
|
[k: string]: unknown;
|
|
4876
4880
|
};
|
|
4877
|
-
toolkitSlug: string;
|
|
4878
4881
|
}, {
|
|
4879
4882
|
authScheme: "NO_AUTH";
|
|
4883
|
+
toolkitSlug: string;
|
|
4880
4884
|
val: {
|
|
4881
4885
|
version?: string | undefined;
|
|
4882
4886
|
"your-domain"?: string | undefined;
|
|
@@ -4912,7 +4916,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
4912
4916
|
} & {
|
|
4913
4917
|
[k: string]: unknown;
|
|
4914
4918
|
};
|
|
4915
|
-
toolkitSlug: string;
|
|
4916
4919
|
}>, z.ZodObject<{
|
|
4917
4920
|
authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
4918
4921
|
toolkitSlug: z.ZodString;
|
|
@@ -5027,6 +5030,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5027
5030
|
}, z.ZodUnknown, "strip">>;
|
|
5028
5031
|
}, "strip", z.ZodTypeAny, {
|
|
5029
5032
|
authScheme: "SERVICE_ACCOUNT";
|
|
5033
|
+
toolkitSlug: string;
|
|
5030
5034
|
val: {
|
|
5031
5035
|
application_id: string;
|
|
5032
5036
|
installation_id: string;
|
|
@@ -5065,9 +5069,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5065
5069
|
} & {
|
|
5066
5070
|
[k: string]: unknown;
|
|
5067
5071
|
};
|
|
5068
|
-
toolkitSlug: string;
|
|
5069
5072
|
}, {
|
|
5070
5073
|
authScheme: "SERVICE_ACCOUNT";
|
|
5074
|
+
toolkitSlug: string;
|
|
5071
5075
|
val: {
|
|
5072
5076
|
application_id: string;
|
|
5073
5077
|
installation_id: string;
|
|
@@ -5106,7 +5110,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5106
5110
|
} & {
|
|
5107
5111
|
[k: string]: unknown;
|
|
5108
5112
|
};
|
|
5109
|
-
toolkitSlug: string;
|
|
5110
5113
|
}>]>>;
|
|
5111
5114
|
}, "strip", z.ZodTypeAny, {
|
|
5112
5115
|
endpoint: string;
|
|
@@ -5120,6 +5123,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5120
5123
|
connectedAccountId?: string | undefined;
|
|
5121
5124
|
customConnectionData?: {
|
|
5122
5125
|
authScheme: "OAUTH2";
|
|
5126
|
+
toolkitSlug: string;
|
|
5123
5127
|
val: {
|
|
5124
5128
|
access_token: string;
|
|
5125
5129
|
version?: string | undefined;
|
|
@@ -5153,12 +5157,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5153
5157
|
registration_access_token?: string | undefined;
|
|
5154
5158
|
registration_client_uri?: string | undefined;
|
|
5155
5159
|
composio_link_redirect_url?: string | undefined;
|
|
5156
|
-
webhook_signature?: string | undefined;
|
|
5157
5160
|
id_token?: string | undefined;
|
|
5158
5161
|
token_type?: string | undefined;
|
|
5159
5162
|
refresh_token?: string | null | undefined;
|
|
5160
5163
|
expires_in?: string | number | null | undefined;
|
|
5161
5164
|
scope?: string | string[] | null | undefined;
|
|
5165
|
+
webhook_signature?: string | undefined;
|
|
5162
5166
|
authed_user?: {
|
|
5163
5167
|
access_token?: string | undefined;
|
|
5164
5168
|
scope?: string | undefined;
|
|
@@ -5166,9 +5170,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5166
5170
|
} & {
|
|
5167
5171
|
[k: string]: unknown;
|
|
5168
5172
|
};
|
|
5169
|
-
toolkitSlug: string;
|
|
5170
5173
|
} | {
|
|
5171
5174
|
authScheme: "DCR_OAUTH";
|
|
5175
|
+
toolkitSlug: string;
|
|
5172
5176
|
val: {
|
|
5173
5177
|
access_token: string;
|
|
5174
5178
|
client_id: string;
|
|
@@ -5206,9 +5210,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5206
5210
|
} & {
|
|
5207
5211
|
[k: string]: unknown;
|
|
5208
5212
|
};
|
|
5209
|
-
toolkitSlug: string;
|
|
5210
5213
|
} | {
|
|
5211
5214
|
authScheme: "API_KEY";
|
|
5215
|
+
toolkitSlug: string;
|
|
5212
5216
|
val: {
|
|
5213
5217
|
version?: string | undefined;
|
|
5214
5218
|
"your-domain"?: string | undefined;
|
|
@@ -5244,9 +5248,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5244
5248
|
} & {
|
|
5245
5249
|
[k: string]: unknown;
|
|
5246
5250
|
};
|
|
5247
|
-
toolkitSlug: string;
|
|
5248
5251
|
} | {
|
|
5249
5252
|
authScheme: "BASIC_WITH_JWT";
|
|
5253
|
+
toolkitSlug: string;
|
|
5250
5254
|
val: {
|
|
5251
5255
|
username: string;
|
|
5252
5256
|
password: string;
|
|
@@ -5284,9 +5288,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5284
5288
|
} & {
|
|
5285
5289
|
[k: string]: unknown;
|
|
5286
5290
|
};
|
|
5287
|
-
toolkitSlug: string;
|
|
5288
5291
|
} | {
|
|
5289
5292
|
authScheme: "BASIC";
|
|
5293
|
+
toolkitSlug: string;
|
|
5290
5294
|
val: {
|
|
5291
5295
|
username: string;
|
|
5292
5296
|
password: string;
|
|
@@ -5324,9 +5328,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5324
5328
|
} & {
|
|
5325
5329
|
[k: string]: unknown;
|
|
5326
5330
|
};
|
|
5327
|
-
toolkitSlug: string;
|
|
5328
5331
|
} | {
|
|
5329
5332
|
authScheme: "BEARER_TOKEN";
|
|
5333
|
+
toolkitSlug: string;
|
|
5330
5334
|
val: {
|
|
5331
5335
|
token: string;
|
|
5332
5336
|
version?: string | undefined;
|
|
@@ -5363,9 +5367,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5363
5367
|
} & {
|
|
5364
5368
|
[k: string]: unknown;
|
|
5365
5369
|
};
|
|
5366
|
-
toolkitSlug: string;
|
|
5367
5370
|
} | {
|
|
5368
5371
|
authScheme: "OAUTH1";
|
|
5372
|
+
toolkitSlug: string;
|
|
5369
5373
|
val: {
|
|
5370
5374
|
oauth_token: string;
|
|
5371
5375
|
oauth_token_secret: string;
|
|
@@ -5400,16 +5404,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5400
5404
|
registration_access_token?: string | undefined;
|
|
5401
5405
|
registration_client_uri?: string | undefined;
|
|
5402
5406
|
composio_link_redirect_url?: string | undefined;
|
|
5403
|
-
redirectUrl?: string | undefined;
|
|
5404
|
-
callback_url?: string | undefined;
|
|
5405
5407
|
consumer_key?: string | undefined;
|
|
5406
5408
|
oauth_verifier?: string | undefined;
|
|
5409
|
+
redirectUrl?: string | undefined;
|
|
5410
|
+
callback_url?: string | undefined;
|
|
5407
5411
|
} & {
|
|
5408
5412
|
[k: string]: unknown;
|
|
5409
5413
|
};
|
|
5410
|
-
toolkitSlug: string;
|
|
5411
5414
|
} | {
|
|
5412
5415
|
authScheme: "NO_AUTH";
|
|
5416
|
+
toolkitSlug: string;
|
|
5413
5417
|
val: {
|
|
5414
5418
|
version?: string | undefined;
|
|
5415
5419
|
"your-domain"?: string | undefined;
|
|
@@ -5445,9 +5449,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5445
5449
|
} & {
|
|
5446
5450
|
[k: string]: unknown;
|
|
5447
5451
|
};
|
|
5448
|
-
toolkitSlug: string;
|
|
5449
5452
|
} | {
|
|
5450
5453
|
authScheme: "SERVICE_ACCOUNT";
|
|
5454
|
+
toolkitSlug: string;
|
|
5451
5455
|
val: {
|
|
5452
5456
|
application_id: string;
|
|
5453
5457
|
installation_id: string;
|
|
@@ -5486,7 +5490,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5486
5490
|
} & {
|
|
5487
5491
|
[k: string]: unknown;
|
|
5488
5492
|
};
|
|
5489
|
-
toolkitSlug: string;
|
|
5490
5493
|
} | undefined;
|
|
5491
5494
|
}, {
|
|
5492
5495
|
endpoint: string;
|
|
@@ -5500,6 +5503,7 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5500
5503
|
connectedAccountId?: string | undefined;
|
|
5501
5504
|
customConnectionData?: {
|
|
5502
5505
|
authScheme: "OAUTH2";
|
|
5506
|
+
toolkitSlug: string;
|
|
5503
5507
|
val: {
|
|
5504
5508
|
access_token: string;
|
|
5505
5509
|
version?: string | undefined;
|
|
@@ -5533,12 +5537,12 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5533
5537
|
registration_access_token?: string | undefined;
|
|
5534
5538
|
registration_client_uri?: string | undefined;
|
|
5535
5539
|
composio_link_redirect_url?: string | undefined;
|
|
5536
|
-
webhook_signature?: string | undefined;
|
|
5537
5540
|
id_token?: string | undefined;
|
|
5538
5541
|
token_type?: string | undefined;
|
|
5539
5542
|
refresh_token?: string | null | undefined;
|
|
5540
5543
|
expires_in?: string | number | null | undefined;
|
|
5541
5544
|
scope?: string | string[] | null | undefined;
|
|
5545
|
+
webhook_signature?: string | undefined;
|
|
5542
5546
|
authed_user?: {
|
|
5543
5547
|
access_token?: string | undefined;
|
|
5544
5548
|
scope?: string | undefined;
|
|
@@ -5546,9 +5550,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5546
5550
|
} & {
|
|
5547
5551
|
[k: string]: unknown;
|
|
5548
5552
|
};
|
|
5549
|
-
toolkitSlug: string;
|
|
5550
5553
|
} | {
|
|
5551
5554
|
authScheme: "DCR_OAUTH";
|
|
5555
|
+
toolkitSlug: string;
|
|
5552
5556
|
val: {
|
|
5553
5557
|
access_token: string;
|
|
5554
5558
|
client_id: string;
|
|
@@ -5586,9 +5590,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5586
5590
|
} & {
|
|
5587
5591
|
[k: string]: unknown;
|
|
5588
5592
|
};
|
|
5589
|
-
toolkitSlug: string;
|
|
5590
5593
|
} | {
|
|
5591
5594
|
authScheme: "API_KEY";
|
|
5595
|
+
toolkitSlug: string;
|
|
5592
5596
|
val: {
|
|
5593
5597
|
version?: string | undefined;
|
|
5594
5598
|
"your-domain"?: string | undefined;
|
|
@@ -5624,9 +5628,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5624
5628
|
} & {
|
|
5625
5629
|
[k: string]: unknown;
|
|
5626
5630
|
};
|
|
5627
|
-
toolkitSlug: string;
|
|
5628
5631
|
} | {
|
|
5629
5632
|
authScheme: "BASIC_WITH_JWT";
|
|
5633
|
+
toolkitSlug: string;
|
|
5630
5634
|
val: {
|
|
5631
5635
|
username: string;
|
|
5632
5636
|
password: string;
|
|
@@ -5664,9 +5668,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5664
5668
|
} & {
|
|
5665
5669
|
[k: string]: unknown;
|
|
5666
5670
|
};
|
|
5667
|
-
toolkitSlug: string;
|
|
5668
5671
|
} | {
|
|
5669
5672
|
authScheme: "BASIC";
|
|
5673
|
+
toolkitSlug: string;
|
|
5670
5674
|
val: {
|
|
5671
5675
|
username: string;
|
|
5672
5676
|
password: string;
|
|
@@ -5704,9 +5708,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5704
5708
|
} & {
|
|
5705
5709
|
[k: string]: unknown;
|
|
5706
5710
|
};
|
|
5707
|
-
toolkitSlug: string;
|
|
5708
5711
|
} | {
|
|
5709
5712
|
authScheme: "BEARER_TOKEN";
|
|
5713
|
+
toolkitSlug: string;
|
|
5710
5714
|
val: {
|
|
5711
5715
|
token: string;
|
|
5712
5716
|
version?: string | undefined;
|
|
@@ -5743,9 +5747,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5743
5747
|
} & {
|
|
5744
5748
|
[k: string]: unknown;
|
|
5745
5749
|
};
|
|
5746
|
-
toolkitSlug: string;
|
|
5747
5750
|
} | {
|
|
5748
5751
|
authScheme: "OAUTH1";
|
|
5752
|
+
toolkitSlug: string;
|
|
5749
5753
|
val: {
|
|
5750
5754
|
oauth_token: string;
|
|
5751
5755
|
oauth_token_secret: string;
|
|
@@ -5780,16 +5784,16 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5780
5784
|
registration_access_token?: string | undefined;
|
|
5781
5785
|
registration_client_uri?: string | undefined;
|
|
5782
5786
|
composio_link_redirect_url?: string | undefined;
|
|
5783
|
-
redirectUrl?: string | undefined;
|
|
5784
|
-
callback_url?: string | undefined;
|
|
5785
5787
|
consumer_key?: string | undefined;
|
|
5786
5788
|
oauth_verifier?: string | undefined;
|
|
5789
|
+
redirectUrl?: string | undefined;
|
|
5790
|
+
callback_url?: string | undefined;
|
|
5787
5791
|
} & {
|
|
5788
5792
|
[k: string]: unknown;
|
|
5789
5793
|
};
|
|
5790
|
-
toolkitSlug: string;
|
|
5791
5794
|
} | {
|
|
5792
5795
|
authScheme: "NO_AUTH";
|
|
5796
|
+
toolkitSlug: string;
|
|
5793
5797
|
val: {
|
|
5794
5798
|
version?: string | undefined;
|
|
5795
5799
|
"your-domain"?: string | undefined;
|
|
@@ -5825,9 +5829,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5825
5829
|
} & {
|
|
5826
5830
|
[k: string]: unknown;
|
|
5827
5831
|
};
|
|
5828
|
-
toolkitSlug: string;
|
|
5829
5832
|
} | {
|
|
5830
5833
|
authScheme: "SERVICE_ACCOUNT";
|
|
5834
|
+
toolkitSlug: string;
|
|
5831
5835
|
val: {
|
|
5832
5836
|
application_id: string;
|
|
5833
5837
|
installation_id: string;
|
|
@@ -5866,7 +5870,6 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
|
|
|
5866
5870
|
} & {
|
|
5867
5871
|
[k: string]: unknown;
|
|
5868
5872
|
};
|
|
5869
|
-
toolkitSlug: string;
|
|
5870
5873
|
} | undefined;
|
|
5871
5874
|
}>;
|
|
5872
5875
|
type ToolProxyParams = z.infer<typeof ToolProxyParamsSchema>;
|
|
@@ -11099,12 +11102,13 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
11099
11102
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
11100
11103
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
11101
11104
|
} & {
|
|
11102
|
-
status: z.ZodLiteral<"
|
|
11103
|
-
authUri: z.ZodString;
|
|
11105
|
+
status: z.ZodLiteral<"ACTIVE">;
|
|
11104
11106
|
oauth_token: z.ZodString;
|
|
11105
11107
|
oauth_token_secret: z.ZodString;
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
+
consumer_key: z.ZodOptional<z.ZodString>;
|
|
11109
|
+
oauth_verifier: z.ZodOptional<z.ZodString>;
|
|
11110
|
+
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
11111
|
+
callback_url: z.ZodOptional<z.ZodString>;
|
|
11108
11112
|
}, z.ZodUnknown, "strip"> | z.objectOutputType<{
|
|
11109
11113
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
11110
11114
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -11138,13 +11142,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
11138
11142
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
11139
11143
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
11140
11144
|
} & {
|
|
11141
|
-
status: z.ZodLiteral<"
|
|
11145
|
+
status: z.ZodLiteral<"INITIATED">;
|
|
11146
|
+
authUri: z.ZodString;
|
|
11142
11147
|
oauth_token: z.ZodString;
|
|
11143
11148
|
oauth_token_secret: z.ZodString;
|
|
11144
|
-
|
|
11145
|
-
|
|
11146
|
-
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
11147
|
-
callback_url: z.ZodOptional<z.ZodString>;
|
|
11149
|
+
redirectUrl: z.ZodString;
|
|
11150
|
+
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
11148
11151
|
}, z.ZodUnknown, "strip"> | z.objectOutputType<{
|
|
11149
11152
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
11150
11153
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -11325,45 +11328,6 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
11325
11328
|
registration_access_token: z.ZodOptional<z.ZodString>;
|
|
11326
11329
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
11327
11330
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
11328
|
-
} & {
|
|
11329
|
-
status: z.ZodLiteral<"INITIATED">;
|
|
11330
|
-
authUri: z.ZodString;
|
|
11331
|
-
oauth_token: z.ZodString;
|
|
11332
|
-
oauth_token_secret: z.ZodString;
|
|
11333
|
-
redirectUrl: z.ZodString;
|
|
11334
|
-
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
11335
|
-
}, z.ZodUnknown, "strip"> | z.objectInputType<{
|
|
11336
|
-
subdomain: z.ZodOptional<z.ZodString>;
|
|
11337
|
-
"your-domain": z.ZodOptional<z.ZodString>;
|
|
11338
|
-
region: z.ZodOptional<z.ZodString>;
|
|
11339
|
-
shop: z.ZodOptional<z.ZodString>;
|
|
11340
|
-
account_url: z.ZodOptional<z.ZodString>;
|
|
11341
|
-
COMPANYDOMAIN: z.ZodOptional<z.ZodString>;
|
|
11342
|
-
extension: z.ZodOptional<z.ZodString>;
|
|
11343
|
-
form_api_base_url: z.ZodOptional<z.ZodString>;
|
|
11344
|
-
instanceEndpoint: z.ZodOptional<z.ZodString>;
|
|
11345
|
-
api_url: z.ZodOptional<z.ZodString>;
|
|
11346
|
-
borneo_dashboard_url: z.ZodOptional<z.ZodString>;
|
|
11347
|
-
proxy_username: z.ZodOptional<z.ZodString>;
|
|
11348
|
-
proxy_password: z.ZodOptional<z.ZodString>;
|
|
11349
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
11350
|
-
version: z.ZodOptional<z.ZodString>;
|
|
11351
|
-
dc: z.ZodOptional<z.ZodString>;
|
|
11352
|
-
site_name: z.ZodOptional<z.ZodString>;
|
|
11353
|
-
instanceName: z.ZodOptional<z.ZodString>;
|
|
11354
|
-
account_id: z.ZodOptional<z.ZodString>;
|
|
11355
|
-
your_server: z.ZodOptional<z.ZodString>;
|
|
11356
|
-
server_location: z.ZodOptional<z.ZodString>;
|
|
11357
|
-
base_url: z.ZodOptional<z.ZodString>;
|
|
11358
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
11359
|
-
generic_api_key: z.ZodOptional<z.ZodString>;
|
|
11360
|
-
bearer_token: z.ZodOptional<z.ZodString>;
|
|
11361
|
-
basic_encoded: z.ZodOptional<z.ZodString>;
|
|
11362
|
-
long_redirect_url: z.ZodOptional<z.ZodBoolean>;
|
|
11363
|
-
state_prefix: z.ZodOptional<z.ZodString>;
|
|
11364
|
-
registration_access_token: z.ZodOptional<z.ZodString>;
|
|
11365
|
-
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
11366
|
-
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
11367
11331
|
} & {
|
|
11368
11332
|
status: z.ZodLiteral<"ACTIVE">;
|
|
11369
11333
|
oauth_token: z.ZodString;
|
|
@@ -11404,6 +11368,45 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
11404
11368
|
registration_access_token: z.ZodOptional<z.ZodString>;
|
|
11405
11369
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
11406
11370
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
11371
|
+
} & {
|
|
11372
|
+
status: z.ZodLiteral<"INITIATED">;
|
|
11373
|
+
authUri: z.ZodString;
|
|
11374
|
+
oauth_token: z.ZodString;
|
|
11375
|
+
oauth_token_secret: z.ZodString;
|
|
11376
|
+
redirectUrl: z.ZodString;
|
|
11377
|
+
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
11378
|
+
}, z.ZodUnknown, "strip"> | z.objectInputType<{
|
|
11379
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
11380
|
+
"your-domain": z.ZodOptional<z.ZodString>;
|
|
11381
|
+
region: z.ZodOptional<z.ZodString>;
|
|
11382
|
+
shop: z.ZodOptional<z.ZodString>;
|
|
11383
|
+
account_url: z.ZodOptional<z.ZodString>;
|
|
11384
|
+
COMPANYDOMAIN: z.ZodOptional<z.ZodString>;
|
|
11385
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
11386
|
+
form_api_base_url: z.ZodOptional<z.ZodString>;
|
|
11387
|
+
instanceEndpoint: z.ZodOptional<z.ZodString>;
|
|
11388
|
+
api_url: z.ZodOptional<z.ZodString>;
|
|
11389
|
+
borneo_dashboard_url: z.ZodOptional<z.ZodString>;
|
|
11390
|
+
proxy_username: z.ZodOptional<z.ZodString>;
|
|
11391
|
+
proxy_password: z.ZodOptional<z.ZodString>;
|
|
11392
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
11393
|
+
version: z.ZodOptional<z.ZodString>;
|
|
11394
|
+
dc: z.ZodOptional<z.ZodString>;
|
|
11395
|
+
site_name: z.ZodOptional<z.ZodString>;
|
|
11396
|
+
instanceName: z.ZodOptional<z.ZodString>;
|
|
11397
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
11398
|
+
your_server: z.ZodOptional<z.ZodString>;
|
|
11399
|
+
server_location: z.ZodOptional<z.ZodString>;
|
|
11400
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
11401
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
11402
|
+
generic_api_key: z.ZodOptional<z.ZodString>;
|
|
11403
|
+
bearer_token: z.ZodOptional<z.ZodString>;
|
|
11404
|
+
basic_encoded: z.ZodOptional<z.ZodString>;
|
|
11405
|
+
long_redirect_url: z.ZodOptional<z.ZodBoolean>;
|
|
11406
|
+
state_prefix: z.ZodOptional<z.ZodString>;
|
|
11407
|
+
registration_access_token: z.ZodOptional<z.ZodString>;
|
|
11408
|
+
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
11409
|
+
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
11407
11410
|
} & {
|
|
11408
11411
|
status: z.ZodLiteral<"FAILED">;
|
|
11409
11412
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -12297,12 +12300,24 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
12297
12300
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
12298
12301
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
12299
12302
|
} & {
|
|
12300
|
-
status: z.ZodLiteral<"
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
12304
|
-
|
|
12303
|
+
status: z.ZodLiteral<"ACTIVE">;
|
|
12304
|
+
access_token: z.ZodString;
|
|
12305
|
+
id_token: z.ZodOptional<z.ZodString>;
|
|
12306
|
+
token_type: z.ZodOptional<z.ZodString>;
|
|
12307
|
+
refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12308
|
+
expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
12309
|
+
scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
12305
12310
|
webhook_signature: z.ZodOptional<z.ZodString>;
|
|
12311
|
+
authed_user: z.ZodOptional<z.ZodObject<{
|
|
12312
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
12313
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
12314
|
+
}, "strip", z.ZodTypeAny, {
|
|
12315
|
+
access_token?: string | undefined;
|
|
12316
|
+
scope?: string | undefined;
|
|
12317
|
+
}, {
|
|
12318
|
+
access_token?: string | undefined;
|
|
12319
|
+
scope?: string | undefined;
|
|
12320
|
+
}>>;
|
|
12306
12321
|
}, z.ZodUnknown, "strip"> | z.objectOutputType<{
|
|
12307
12322
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
12308
12323
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -12336,24 +12351,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
12336
12351
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
12337
12352
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
12338
12353
|
} & {
|
|
12339
|
-
status: z.ZodLiteral<"
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
12345
|
-
scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
12354
|
+
status: z.ZodLiteral<"INITIATED">;
|
|
12355
|
+
code_verifier: z.ZodOptional<z.ZodString>;
|
|
12356
|
+
redirectUrl: z.ZodString;
|
|
12357
|
+
callback_url: z.ZodOptional<z.ZodString>;
|
|
12358
|
+
finalRedirectUri: z.ZodOptional<z.ZodString>;
|
|
12346
12359
|
webhook_signature: z.ZodOptional<z.ZodString>;
|
|
12347
|
-
authed_user: z.ZodOptional<z.ZodObject<{
|
|
12348
|
-
access_token: z.ZodOptional<z.ZodString>;
|
|
12349
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
12350
|
-
}, "strip", z.ZodTypeAny, {
|
|
12351
|
-
access_token?: string | undefined;
|
|
12352
|
-
scope?: string | undefined;
|
|
12353
|
-
}, {
|
|
12354
|
-
access_token?: string | undefined;
|
|
12355
|
-
scope?: string | undefined;
|
|
12356
|
-
}>>;
|
|
12357
12360
|
}, z.ZodUnknown, "strip"> | z.objectOutputType<{
|
|
12358
12361
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
12359
12362
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -12546,12 +12549,24 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
12546
12549
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
12547
12550
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
12548
12551
|
} & {
|
|
12549
|
-
status: z.ZodLiteral<"
|
|
12550
|
-
|
|
12551
|
-
|
|
12552
|
-
|
|
12553
|
-
|
|
12552
|
+
status: z.ZodLiteral<"ACTIVE">;
|
|
12553
|
+
access_token: z.ZodString;
|
|
12554
|
+
id_token: z.ZodOptional<z.ZodString>;
|
|
12555
|
+
token_type: z.ZodOptional<z.ZodString>;
|
|
12556
|
+
refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12557
|
+
expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
12558
|
+
scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
12554
12559
|
webhook_signature: z.ZodOptional<z.ZodString>;
|
|
12560
|
+
authed_user: z.ZodOptional<z.ZodObject<{
|
|
12561
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
12562
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
12563
|
+
}, "strip", z.ZodTypeAny, {
|
|
12564
|
+
access_token?: string | undefined;
|
|
12565
|
+
scope?: string | undefined;
|
|
12566
|
+
}, {
|
|
12567
|
+
access_token?: string | undefined;
|
|
12568
|
+
scope?: string | undefined;
|
|
12569
|
+
}>>;
|
|
12555
12570
|
}, z.ZodUnknown, "strip"> | z.objectInputType<{
|
|
12556
12571
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
12557
12572
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -12585,24 +12600,12 @@ declare const ConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme", [z.Zod
|
|
|
12585
12600
|
registration_client_uri: z.ZodOptional<z.ZodString>;
|
|
12586
12601
|
composio_link_redirect_url: z.ZodOptional<z.ZodString>;
|
|
12587
12602
|
} & {
|
|
12588
|
-
status: z.ZodLiteral<"
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
|
|
12592
|
-
|
|
12593
|
-
expires_in: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
12594
|
-
scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
12603
|
+
status: z.ZodLiteral<"INITIATED">;
|
|
12604
|
+
code_verifier: z.ZodOptional<z.ZodString>;
|
|
12605
|
+
redirectUrl: z.ZodString;
|
|
12606
|
+
callback_url: z.ZodOptional<z.ZodString>;
|
|
12607
|
+
finalRedirectUri: z.ZodOptional<z.ZodString>;
|
|
12595
12608
|
webhook_signature: z.ZodOptional<z.ZodString>;
|
|
12596
|
-
authed_user: z.ZodOptional<z.ZodObject<{
|
|
12597
|
-
access_token: z.ZodOptional<z.ZodString>;
|
|
12598
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
12599
|
-
}, "strip", z.ZodTypeAny, {
|
|
12600
|
-
access_token?: string | undefined;
|
|
12601
|
-
scope?: string | undefined;
|
|
12602
|
-
}, {
|
|
12603
|
-
access_token?: string | undefined;
|
|
12604
|
-
scope?: string | undefined;
|
|
12605
|
-
}>>;
|
|
12606
12609
|
}, z.ZodUnknown, "strip"> | z.objectInputType<{
|
|
12607
12610
|
subdomain: z.ZodOptional<z.ZodString>;
|
|
12608
12611
|
"your-domain": z.ZodOptional<z.ZodString>;
|
|
@@ -24339,6 +24342,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24339
24342
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
24340
24343
|
}, "strip", z.ZodTypeAny, {
|
|
24341
24344
|
authScheme: "OAUTH2";
|
|
24345
|
+
toolkitSlug: string;
|
|
24342
24346
|
val: {
|
|
24343
24347
|
access_token: string;
|
|
24344
24348
|
version?: string | undefined;
|
|
@@ -24372,12 +24376,12 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24372
24376
|
registration_access_token?: string | undefined;
|
|
24373
24377
|
registration_client_uri?: string | undefined;
|
|
24374
24378
|
composio_link_redirect_url?: string | undefined;
|
|
24375
|
-
webhook_signature?: string | undefined;
|
|
24376
24379
|
id_token?: string | undefined;
|
|
24377
24380
|
token_type?: string | undefined;
|
|
24378
24381
|
refresh_token?: string | null | undefined;
|
|
24379
24382
|
expires_in?: string | number | null | undefined;
|
|
24380
24383
|
scope?: string | string[] | null | undefined;
|
|
24384
|
+
webhook_signature?: string | undefined;
|
|
24381
24385
|
authed_user?: {
|
|
24382
24386
|
access_token?: string | undefined;
|
|
24383
24387
|
scope?: string | undefined;
|
|
@@ -24385,9 +24389,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24385
24389
|
} & {
|
|
24386
24390
|
[k: string]: unknown;
|
|
24387
24391
|
};
|
|
24388
|
-
toolkitSlug: string;
|
|
24389
24392
|
}, {
|
|
24390
24393
|
authScheme: "OAUTH2";
|
|
24394
|
+
toolkitSlug: string;
|
|
24391
24395
|
val: {
|
|
24392
24396
|
access_token: string;
|
|
24393
24397
|
version?: string | undefined;
|
|
@@ -24421,12 +24425,12 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24421
24425
|
registration_access_token?: string | undefined;
|
|
24422
24426
|
registration_client_uri?: string | undefined;
|
|
24423
24427
|
composio_link_redirect_url?: string | undefined;
|
|
24424
|
-
webhook_signature?: string | undefined;
|
|
24425
24428
|
id_token?: string | undefined;
|
|
24426
24429
|
token_type?: string | undefined;
|
|
24427
24430
|
refresh_token?: string | null | undefined;
|
|
24428
24431
|
expires_in?: string | number | null | undefined;
|
|
24429
24432
|
scope?: string | string[] | null | undefined;
|
|
24433
|
+
webhook_signature?: string | undefined;
|
|
24430
24434
|
authed_user?: {
|
|
24431
24435
|
access_token?: string | undefined;
|
|
24432
24436
|
scope?: string | undefined;
|
|
@@ -24434,7 +24438,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24434
24438
|
} & {
|
|
24435
24439
|
[k: string]: unknown;
|
|
24436
24440
|
};
|
|
24437
|
-
toolkitSlug: string;
|
|
24438
24441
|
}>, z.ZodObject<{
|
|
24439
24442
|
authScheme: z.ZodLiteral<"DCR_OAUTH">;
|
|
24440
24443
|
toolkitSlug: z.ZodString;
|
|
@@ -24546,6 +24549,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24546
24549
|
}, z.ZodUnknown, "strip">>;
|
|
24547
24550
|
}, "strip", z.ZodTypeAny, {
|
|
24548
24551
|
authScheme: "DCR_OAUTH";
|
|
24552
|
+
toolkitSlug: string;
|
|
24549
24553
|
val: {
|
|
24550
24554
|
access_token: string;
|
|
24551
24555
|
client_id: string;
|
|
@@ -24583,9 +24587,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24583
24587
|
} & {
|
|
24584
24588
|
[k: string]: unknown;
|
|
24585
24589
|
};
|
|
24586
|
-
toolkitSlug: string;
|
|
24587
24590
|
}, {
|
|
24588
24591
|
authScheme: "DCR_OAUTH";
|
|
24592
|
+
toolkitSlug: string;
|
|
24589
24593
|
val: {
|
|
24590
24594
|
access_token: string;
|
|
24591
24595
|
client_id: string;
|
|
@@ -24623,7 +24627,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24623
24627
|
} & {
|
|
24624
24628
|
[k: string]: unknown;
|
|
24625
24629
|
};
|
|
24626
|
-
toolkitSlug: string;
|
|
24627
24630
|
}>, z.ZodObject<{
|
|
24628
24631
|
authScheme: z.ZodLiteral<"API_KEY">;
|
|
24629
24632
|
toolkitSlug: z.ZodString;
|
|
@@ -24729,6 +24732,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24729
24732
|
}, z.ZodUnknown, "strip">>;
|
|
24730
24733
|
}, "strip", z.ZodTypeAny, {
|
|
24731
24734
|
authScheme: "API_KEY";
|
|
24735
|
+
toolkitSlug: string;
|
|
24732
24736
|
val: {
|
|
24733
24737
|
version?: string | undefined;
|
|
24734
24738
|
"your-domain"?: string | undefined;
|
|
@@ -24764,9 +24768,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24764
24768
|
} & {
|
|
24765
24769
|
[k: string]: unknown;
|
|
24766
24770
|
};
|
|
24767
|
-
toolkitSlug: string;
|
|
24768
24771
|
}, {
|
|
24769
24772
|
authScheme: "API_KEY";
|
|
24773
|
+
toolkitSlug: string;
|
|
24770
24774
|
val: {
|
|
24771
24775
|
version?: string | undefined;
|
|
24772
24776
|
"your-domain"?: string | undefined;
|
|
@@ -24802,7 +24806,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24802
24806
|
} & {
|
|
24803
24807
|
[k: string]: unknown;
|
|
24804
24808
|
};
|
|
24805
|
-
toolkitSlug: string;
|
|
24806
24809
|
}>, z.ZodObject<{
|
|
24807
24810
|
authScheme: z.ZodLiteral<"BASIC_WITH_JWT">;
|
|
24808
24811
|
toolkitSlug: z.ZodString;
|
|
@@ -24914,6 +24917,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24914
24917
|
}, z.ZodUnknown, "strip">>;
|
|
24915
24918
|
}, "strip", z.ZodTypeAny, {
|
|
24916
24919
|
authScheme: "BASIC_WITH_JWT";
|
|
24920
|
+
toolkitSlug: string;
|
|
24917
24921
|
val: {
|
|
24918
24922
|
username: string;
|
|
24919
24923
|
password: string;
|
|
@@ -24951,9 +24955,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24951
24955
|
} & {
|
|
24952
24956
|
[k: string]: unknown;
|
|
24953
24957
|
};
|
|
24954
|
-
toolkitSlug: string;
|
|
24955
24958
|
}, {
|
|
24956
24959
|
authScheme: "BASIC_WITH_JWT";
|
|
24960
|
+
toolkitSlug: string;
|
|
24957
24961
|
val: {
|
|
24958
24962
|
username: string;
|
|
24959
24963
|
password: string;
|
|
@@ -24991,7 +24995,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
24991
24995
|
} & {
|
|
24992
24996
|
[k: string]: unknown;
|
|
24993
24997
|
};
|
|
24994
|
-
toolkitSlug: string;
|
|
24995
24998
|
}>, z.ZodObject<{
|
|
24996
24999
|
authScheme: z.ZodLiteral<"BASIC">;
|
|
24997
25000
|
toolkitSlug: z.ZodString;
|
|
@@ -25103,6 +25106,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25103
25106
|
}, z.ZodUnknown, "strip">>;
|
|
25104
25107
|
}, "strip", z.ZodTypeAny, {
|
|
25105
25108
|
authScheme: "BASIC";
|
|
25109
|
+
toolkitSlug: string;
|
|
25106
25110
|
val: {
|
|
25107
25111
|
username: string;
|
|
25108
25112
|
password: string;
|
|
@@ -25140,9 +25144,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25140
25144
|
} & {
|
|
25141
25145
|
[k: string]: unknown;
|
|
25142
25146
|
};
|
|
25143
|
-
toolkitSlug: string;
|
|
25144
25147
|
}, {
|
|
25145
25148
|
authScheme: "BASIC";
|
|
25149
|
+
toolkitSlug: string;
|
|
25146
25150
|
val: {
|
|
25147
25151
|
username: string;
|
|
25148
25152
|
password: string;
|
|
@@ -25180,7 +25184,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25180
25184
|
} & {
|
|
25181
25185
|
[k: string]: unknown;
|
|
25182
25186
|
};
|
|
25183
|
-
toolkitSlug: string;
|
|
25184
25187
|
}>, z.ZodObject<{
|
|
25185
25188
|
authScheme: z.ZodLiteral<"BEARER_TOKEN">;
|
|
25186
25189
|
toolkitSlug: z.ZodString;
|
|
@@ -25289,6 +25292,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25289
25292
|
}, z.ZodUnknown, "strip">>;
|
|
25290
25293
|
}, "strip", z.ZodTypeAny, {
|
|
25291
25294
|
authScheme: "BEARER_TOKEN";
|
|
25295
|
+
toolkitSlug: string;
|
|
25292
25296
|
val: {
|
|
25293
25297
|
token: string;
|
|
25294
25298
|
version?: string | undefined;
|
|
@@ -25325,9 +25329,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25325
25329
|
} & {
|
|
25326
25330
|
[k: string]: unknown;
|
|
25327
25331
|
};
|
|
25328
|
-
toolkitSlug: string;
|
|
25329
25332
|
}, {
|
|
25330
25333
|
authScheme: "BEARER_TOKEN";
|
|
25334
|
+
toolkitSlug: string;
|
|
25331
25335
|
val: {
|
|
25332
25336
|
token: string;
|
|
25333
25337
|
version?: string | undefined;
|
|
@@ -25364,7 +25368,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25364
25368
|
} & {
|
|
25365
25369
|
[k: string]: unknown;
|
|
25366
25370
|
};
|
|
25367
|
-
toolkitSlug: string;
|
|
25368
25371
|
}>, z.ZodObject<{
|
|
25369
25372
|
authScheme: z.ZodLiteral<"OAUTH1">;
|
|
25370
25373
|
toolkitSlug: z.ZodString;
|
|
@@ -25491,6 +25494,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25491
25494
|
}, "status">, z.ZodUnknown, "strip">>;
|
|
25492
25495
|
}, "strip", z.ZodTypeAny, {
|
|
25493
25496
|
authScheme: "OAUTH1";
|
|
25497
|
+
toolkitSlug: string;
|
|
25494
25498
|
val: {
|
|
25495
25499
|
oauth_token: string;
|
|
25496
25500
|
oauth_token_secret: string;
|
|
@@ -25525,16 +25529,16 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25525
25529
|
registration_access_token?: string | undefined;
|
|
25526
25530
|
registration_client_uri?: string | undefined;
|
|
25527
25531
|
composio_link_redirect_url?: string | undefined;
|
|
25528
|
-
redirectUrl?: string | undefined;
|
|
25529
|
-
callback_url?: string | undefined;
|
|
25530
25532
|
consumer_key?: string | undefined;
|
|
25531
25533
|
oauth_verifier?: string | undefined;
|
|
25534
|
+
redirectUrl?: string | undefined;
|
|
25535
|
+
callback_url?: string | undefined;
|
|
25532
25536
|
} & {
|
|
25533
25537
|
[k: string]: unknown;
|
|
25534
25538
|
};
|
|
25535
|
-
toolkitSlug: string;
|
|
25536
25539
|
}, {
|
|
25537
25540
|
authScheme: "OAUTH1";
|
|
25541
|
+
toolkitSlug: string;
|
|
25538
25542
|
val: {
|
|
25539
25543
|
oauth_token: string;
|
|
25540
25544
|
oauth_token_secret: string;
|
|
@@ -25569,14 +25573,13 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25569
25573
|
registration_access_token?: string | undefined;
|
|
25570
25574
|
registration_client_uri?: string | undefined;
|
|
25571
25575
|
composio_link_redirect_url?: string | undefined;
|
|
25572
|
-
redirectUrl?: string | undefined;
|
|
25573
|
-
callback_url?: string | undefined;
|
|
25574
25576
|
consumer_key?: string | undefined;
|
|
25575
25577
|
oauth_verifier?: string | undefined;
|
|
25578
|
+
redirectUrl?: string | undefined;
|
|
25579
|
+
callback_url?: string | undefined;
|
|
25576
25580
|
} & {
|
|
25577
25581
|
[k: string]: unknown;
|
|
25578
25582
|
};
|
|
25579
|
-
toolkitSlug: string;
|
|
25580
25583
|
}>, z.ZodObject<{
|
|
25581
25584
|
authScheme: z.ZodLiteral<"NO_AUTH">;
|
|
25582
25585
|
toolkitSlug: z.ZodString;
|
|
@@ -25679,6 +25682,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25679
25682
|
}, z.ZodUnknown, "strip">>;
|
|
25680
25683
|
}, "strip", z.ZodTypeAny, {
|
|
25681
25684
|
authScheme: "NO_AUTH";
|
|
25685
|
+
toolkitSlug: string;
|
|
25682
25686
|
val: {
|
|
25683
25687
|
version?: string | undefined;
|
|
25684
25688
|
"your-domain"?: string | undefined;
|
|
@@ -25714,9 +25718,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25714
25718
|
} & {
|
|
25715
25719
|
[k: string]: unknown;
|
|
25716
25720
|
};
|
|
25717
|
-
toolkitSlug: string;
|
|
25718
25721
|
}, {
|
|
25719
25722
|
authScheme: "NO_AUTH";
|
|
25723
|
+
toolkitSlug: string;
|
|
25720
25724
|
val: {
|
|
25721
25725
|
version?: string | undefined;
|
|
25722
25726
|
"your-domain"?: string | undefined;
|
|
@@ -25752,7 +25756,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25752
25756
|
} & {
|
|
25753
25757
|
[k: string]: unknown;
|
|
25754
25758
|
};
|
|
25755
|
-
toolkitSlug: string;
|
|
25756
25759
|
}>, z.ZodObject<{
|
|
25757
25760
|
authScheme: z.ZodLiteral<"SERVICE_ACCOUNT">;
|
|
25758
25761
|
toolkitSlug: z.ZodString;
|
|
@@ -25867,6 +25870,7 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25867
25870
|
}, z.ZodUnknown, "strip">>;
|
|
25868
25871
|
}, "strip", z.ZodTypeAny, {
|
|
25869
25872
|
authScheme: "SERVICE_ACCOUNT";
|
|
25873
|
+
toolkitSlug: string;
|
|
25870
25874
|
val: {
|
|
25871
25875
|
application_id: string;
|
|
25872
25876
|
installation_id: string;
|
|
@@ -25905,9 +25909,9 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25905
25909
|
} & {
|
|
25906
25910
|
[k: string]: unknown;
|
|
25907
25911
|
};
|
|
25908
|
-
toolkitSlug: string;
|
|
25909
25912
|
}, {
|
|
25910
25913
|
authScheme: "SERVICE_ACCOUNT";
|
|
25914
|
+
toolkitSlug: string;
|
|
25911
25915
|
val: {
|
|
25912
25916
|
application_id: string;
|
|
25913
25917
|
installation_id: string;
|
|
@@ -25946,7 +25950,6 @@ declare const CustomConnectionDataSchema: z.ZodDiscriminatedUnion<"authScheme",
|
|
|
25946
25950
|
} & {
|
|
25947
25951
|
[k: string]: unknown;
|
|
25948
25952
|
};
|
|
25949
|
-
toolkitSlug: string;
|
|
25950
25953
|
}>]>;
|
|
25951
25954
|
type CustomConnectionData = z.infer<typeof CustomConnectionDataSchema>;
|
|
25952
25955
|
//#endregion
|
|
@@ -26053,12 +26056,12 @@ declare const MCPGenerateURLParamsSchema: z.ZodObject<{
|
|
|
26053
26056
|
connectedAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26054
26057
|
isChatAuth: z.ZodOptional<z.ZodBoolean>;
|
|
26055
26058
|
}, "strip", z.ZodTypeAny, {
|
|
26056
|
-
connectedAccountIds?: string[] | undefined;
|
|
26057
26059
|
userIds?: string[] | undefined;
|
|
26060
|
+
connectedAccountIds?: string[] | undefined;
|
|
26058
26061
|
isChatAuth?: boolean | undefined;
|
|
26059
26062
|
}, {
|
|
26060
|
-
connectedAccountIds?: string[] | undefined;
|
|
26061
26063
|
userIds?: string[] | undefined;
|
|
26064
|
+
connectedAccountIds?: string[] | undefined;
|
|
26062
26065
|
isChatAuth?: boolean | undefined;
|
|
26063
26066
|
}>;
|
|
26064
26067
|
type MCPGenerateURLParams = z.infer<typeof MCPGenerateURLParamsSchema>;
|
|
@@ -26085,13 +26088,13 @@ declare const GenerateURLParamsSchema: z.ZodObject<{
|
|
|
26085
26088
|
composioManagedAuth: z.ZodOptional<z.ZodBoolean>;
|
|
26086
26089
|
}, "strip", z.ZodTypeAny, {
|
|
26087
26090
|
mcpServerId: string;
|
|
26088
|
-
connectedAccountIds?: string[] | undefined;
|
|
26089
26091
|
userIds?: string[] | undefined;
|
|
26092
|
+
connectedAccountIds?: string[] | undefined;
|
|
26090
26093
|
composioManagedAuth?: boolean | undefined;
|
|
26091
26094
|
}, {
|
|
26092
26095
|
mcpServerId: string;
|
|
26093
|
-
connectedAccountIds?: string[] | undefined;
|
|
26094
26096
|
userIds?: string[] | undefined;
|
|
26097
|
+
connectedAccountIds?: string[] | undefined;
|
|
26095
26098
|
composioManagedAuth?: boolean | undefined;
|
|
26096
26099
|
}>;
|
|
26097
26100
|
type GenerateURLParams = z.infer<typeof GenerateURLParamsSchema>;
|
|
@@ -26617,10 +26620,10 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
|
|
|
26617
26620
|
windsurf: string;
|
|
26618
26621
|
};
|
|
26619
26622
|
status?: string | undefined;
|
|
26620
|
-
createdAt?: string | undefined;
|
|
26621
26623
|
tools?: string[] | undefined;
|
|
26622
26624
|
toolkits?: string[] | undefined;
|
|
26623
26625
|
authConfigIds?: string[] | undefined;
|
|
26626
|
+
createdAt?: string | undefined;
|
|
26624
26627
|
updatedAt?: string | undefined;
|
|
26625
26628
|
managedAuthViaComposio?: boolean | undefined;
|
|
26626
26629
|
}, {
|
|
@@ -26633,10 +26636,10 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
|
|
|
26633
26636
|
windsurf: string;
|
|
26634
26637
|
};
|
|
26635
26638
|
status?: string | undefined;
|
|
26636
|
-
createdAt?: string | undefined;
|
|
26637
26639
|
tools?: string[] | undefined;
|
|
26638
26640
|
toolkits?: string[] | undefined;
|
|
26639
26641
|
authConfigIds?: string[] | undefined;
|
|
26642
|
+
createdAt?: string | undefined;
|
|
26640
26643
|
updatedAt?: string | undefined;
|
|
26641
26644
|
managedAuthViaComposio?: boolean | undefined;
|
|
26642
26645
|
}>;
|
|
@@ -26706,17 +26709,17 @@ declare const McpUpdateResponseSchema: z.ZodObject<{
|
|
|
26706
26709
|
name: string;
|
|
26707
26710
|
id: string;
|
|
26708
26711
|
status?: string | undefined;
|
|
26709
|
-
createdAt?: string | undefined;
|
|
26710
26712
|
tools?: string[] | undefined;
|
|
26711
26713
|
toolkits?: string[] | undefined;
|
|
26714
|
+
createdAt?: string | undefined;
|
|
26712
26715
|
updatedAt?: string | undefined;
|
|
26713
26716
|
}, {
|
|
26714
26717
|
name: string;
|
|
26715
26718
|
id: string;
|
|
26716
26719
|
status?: string | undefined;
|
|
26717
|
-
createdAt?: string | undefined;
|
|
26718
26720
|
tools?: string[] | undefined;
|
|
26719
26721
|
toolkits?: string[] | undefined;
|
|
26722
|
+
createdAt?: string | undefined;
|
|
26720
26723
|
updatedAt?: string | undefined;
|
|
26721
26724
|
}>;
|
|
26722
26725
|
declare const ComposioMcpUpdateResponseSchema: z.ZodObject<{
|
|
@@ -27398,14 +27401,14 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
|
|
|
27398
27401
|
cursor: z.ZodOptional<z.ZodString>;
|
|
27399
27402
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
27400
27403
|
}, "strip", z.ZodTypeAny, {
|
|
27401
|
-
cursor?: string | undefined;
|
|
27402
27404
|
limit?: number | undefined;
|
|
27405
|
+
cursor?: string | undefined;
|
|
27403
27406
|
category?: string | undefined;
|
|
27404
27407
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27405
27408
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27406
27409
|
}, {
|
|
27407
|
-
cursor?: string | undefined;
|
|
27408
27410
|
limit?: number | undefined;
|
|
27411
|
+
cursor?: string | undefined;
|
|
27409
27412
|
category?: string | undefined;
|
|
27410
27413
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27411
27414
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -27440,7 +27443,6 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
27440
27443
|
logo?: string | undefined;
|
|
27441
27444
|
availableVersions?: string[] | undefined;
|
|
27442
27445
|
createdAt?: string | undefined;
|
|
27443
|
-
updatedAt?: string | undefined;
|
|
27444
27446
|
categories?: {
|
|
27445
27447
|
slug: string;
|
|
27446
27448
|
name: string;
|
|
@@ -27448,12 +27450,12 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
27448
27450
|
appUrl?: string | undefined;
|
|
27449
27451
|
toolsCount?: number | undefined;
|
|
27450
27452
|
triggersCount?: number | undefined;
|
|
27453
|
+
updatedAt?: string | undefined;
|
|
27451
27454
|
}, {
|
|
27452
27455
|
description?: string | undefined;
|
|
27453
27456
|
logo?: string | undefined;
|
|
27454
27457
|
availableVersions?: string[] | undefined;
|
|
27455
27458
|
createdAt?: string | undefined;
|
|
27456
|
-
updatedAt?: string | undefined;
|
|
27457
27459
|
categories?: {
|
|
27458
27460
|
slug: string;
|
|
27459
27461
|
name: string;
|
|
@@ -27461,6 +27463,7 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
27461
27463
|
appUrl?: string | undefined;
|
|
27462
27464
|
toolsCount?: number | undefined;
|
|
27463
27465
|
triggersCount?: number | undefined;
|
|
27466
|
+
updatedAt?: string | undefined;
|
|
27464
27467
|
}>;
|
|
27465
27468
|
declare const ToolKitItemSchema: z.ZodObject<{
|
|
27466
27469
|
name: z.ZodString;
|
|
@@ -27489,7 +27492,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27489
27492
|
logo?: string | undefined;
|
|
27490
27493
|
availableVersions?: string[] | undefined;
|
|
27491
27494
|
createdAt?: string | undefined;
|
|
27492
|
-
updatedAt?: string | undefined;
|
|
27493
27495
|
categories?: {
|
|
27494
27496
|
slug: string;
|
|
27495
27497
|
name: string;
|
|
@@ -27497,12 +27499,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27497
27499
|
appUrl?: string | undefined;
|
|
27498
27500
|
toolsCount?: number | undefined;
|
|
27499
27501
|
triggersCount?: number | undefined;
|
|
27502
|
+
updatedAt?: string | undefined;
|
|
27500
27503
|
}, {
|
|
27501
27504
|
description?: string | undefined;
|
|
27502
27505
|
logo?: string | undefined;
|
|
27503
27506
|
availableVersions?: string[] | undefined;
|
|
27504
27507
|
createdAt?: string | undefined;
|
|
27505
|
-
updatedAt?: string | undefined;
|
|
27506
27508
|
categories?: {
|
|
27507
27509
|
slug: string;
|
|
27508
27510
|
name: string;
|
|
@@ -27510,6 +27512,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27510
27512
|
appUrl?: string | undefined;
|
|
27511
27513
|
toolsCount?: number | undefined;
|
|
27512
27514
|
triggersCount?: number | undefined;
|
|
27515
|
+
updatedAt?: string | undefined;
|
|
27513
27516
|
}>;
|
|
27514
27517
|
isLocalToolkit: z.ZodBoolean;
|
|
27515
27518
|
authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -27523,7 +27526,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27523
27526
|
logo?: string | undefined;
|
|
27524
27527
|
availableVersions?: string[] | undefined;
|
|
27525
27528
|
createdAt?: string | undefined;
|
|
27526
|
-
updatedAt?: string | undefined;
|
|
27527
27529
|
categories?: {
|
|
27528
27530
|
slug: string;
|
|
27529
27531
|
name: string;
|
|
@@ -27531,6 +27533,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27531
27533
|
appUrl?: string | undefined;
|
|
27532
27534
|
toolsCount?: number | undefined;
|
|
27533
27535
|
triggersCount?: number | undefined;
|
|
27536
|
+
updatedAt?: string | undefined;
|
|
27534
27537
|
};
|
|
27535
27538
|
isLocalToolkit: boolean;
|
|
27536
27539
|
authSchemes?: string[] | undefined;
|
|
@@ -27544,7 +27547,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27544
27547
|
logo?: string | undefined;
|
|
27545
27548
|
availableVersions?: string[] | undefined;
|
|
27546
27549
|
createdAt?: string | undefined;
|
|
27547
|
-
updatedAt?: string | undefined;
|
|
27548
27550
|
categories?: {
|
|
27549
27551
|
slug: string;
|
|
27550
27552
|
name: string;
|
|
@@ -27552,6 +27554,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27552
27554
|
appUrl?: string | undefined;
|
|
27553
27555
|
toolsCount?: number | undefined;
|
|
27554
27556
|
triggersCount?: number | undefined;
|
|
27557
|
+
updatedAt?: string | undefined;
|
|
27555
27558
|
};
|
|
27556
27559
|
isLocalToolkit: boolean;
|
|
27557
27560
|
authSchemes?: string[] | undefined;
|
|
@@ -27585,7 +27588,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27585
27588
|
logo?: string | undefined;
|
|
27586
27589
|
availableVersions?: string[] | undefined;
|
|
27587
27590
|
createdAt?: string | undefined;
|
|
27588
|
-
updatedAt?: string | undefined;
|
|
27589
27591
|
categories?: {
|
|
27590
27592
|
slug: string;
|
|
27591
27593
|
name: string;
|
|
@@ -27593,12 +27595,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27593
27595
|
appUrl?: string | undefined;
|
|
27594
27596
|
toolsCount?: number | undefined;
|
|
27595
27597
|
triggersCount?: number | undefined;
|
|
27598
|
+
updatedAt?: string | undefined;
|
|
27596
27599
|
}, {
|
|
27597
27600
|
description?: string | undefined;
|
|
27598
27601
|
logo?: string | undefined;
|
|
27599
27602
|
availableVersions?: string[] | undefined;
|
|
27600
27603
|
createdAt?: string | undefined;
|
|
27601
|
-
updatedAt?: string | undefined;
|
|
27602
27604
|
categories?: {
|
|
27603
27605
|
slug: string;
|
|
27604
27606
|
name: string;
|
|
@@ -27606,6 +27608,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27606
27608
|
appUrl?: string | undefined;
|
|
27607
27609
|
toolsCount?: number | undefined;
|
|
27608
27610
|
triggersCount?: number | undefined;
|
|
27611
|
+
updatedAt?: string | undefined;
|
|
27609
27612
|
}>;
|
|
27610
27613
|
isLocalToolkit: z.ZodBoolean;
|
|
27611
27614
|
authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -27619,7 +27622,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27619
27622
|
logo?: string | undefined;
|
|
27620
27623
|
availableVersions?: string[] | undefined;
|
|
27621
27624
|
createdAt?: string | undefined;
|
|
27622
|
-
updatedAt?: string | undefined;
|
|
27623
27625
|
categories?: {
|
|
27624
27626
|
slug: string;
|
|
27625
27627
|
name: string;
|
|
@@ -27627,6 +27629,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27627
27629
|
appUrl?: string | undefined;
|
|
27628
27630
|
toolsCount?: number | undefined;
|
|
27629
27631
|
triggersCount?: number | undefined;
|
|
27632
|
+
updatedAt?: string | undefined;
|
|
27630
27633
|
};
|
|
27631
27634
|
isLocalToolkit: boolean;
|
|
27632
27635
|
authSchemes?: string[] | undefined;
|
|
@@ -27640,7 +27643,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27640
27643
|
logo?: string | undefined;
|
|
27641
27644
|
availableVersions?: string[] | undefined;
|
|
27642
27645
|
createdAt?: string | undefined;
|
|
27643
|
-
updatedAt?: string | undefined;
|
|
27644
27646
|
categories?: {
|
|
27645
27647
|
slug: string;
|
|
27646
27648
|
name: string;
|
|
@@ -27648,6 +27650,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27648
27650
|
appUrl?: string | undefined;
|
|
27649
27651
|
toolsCount?: number | undefined;
|
|
27650
27652
|
triggersCount?: number | undefined;
|
|
27653
|
+
updatedAt?: string | undefined;
|
|
27651
27654
|
};
|
|
27652
27655
|
isLocalToolkit: boolean;
|
|
27653
27656
|
authSchemes?: string[] | undefined;
|
|
@@ -28044,7 +28047,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28044
28047
|
logo?: string | undefined;
|
|
28045
28048
|
availableVersions?: string[] | undefined;
|
|
28046
28049
|
createdAt?: string | undefined;
|
|
28047
|
-
updatedAt?: string | undefined;
|
|
28048
28050
|
categories?: {
|
|
28049
28051
|
slug: string;
|
|
28050
28052
|
name: string;
|
|
@@ -28052,12 +28054,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28052
28054
|
appUrl?: string | undefined;
|
|
28053
28055
|
toolsCount?: number | undefined;
|
|
28054
28056
|
triggersCount?: number | undefined;
|
|
28057
|
+
updatedAt?: string | undefined;
|
|
28055
28058
|
}, {
|
|
28056
28059
|
description?: string | undefined;
|
|
28057
28060
|
logo?: string | undefined;
|
|
28058
28061
|
availableVersions?: string[] | undefined;
|
|
28059
28062
|
createdAt?: string | undefined;
|
|
28060
|
-
updatedAt?: string | undefined;
|
|
28061
28063
|
categories?: {
|
|
28062
28064
|
slug: string;
|
|
28063
28065
|
name: string;
|
|
@@ -28065,6 +28067,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28065
28067
|
appUrl?: string | undefined;
|
|
28066
28068
|
toolsCount?: number | undefined;
|
|
28067
28069
|
triggersCount?: number | undefined;
|
|
28070
|
+
updatedAt?: string | undefined;
|
|
28068
28071
|
}>;
|
|
28069
28072
|
isLocalToolkit: z.ZodBoolean;
|
|
28070
28073
|
composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -28413,7 +28416,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28413
28416
|
logo?: string | undefined;
|
|
28414
28417
|
availableVersions?: string[] | undefined;
|
|
28415
28418
|
createdAt?: string | undefined;
|
|
28416
|
-
updatedAt?: string | undefined;
|
|
28417
28419
|
categories?: {
|
|
28418
28420
|
slug: string;
|
|
28419
28421
|
name: string;
|
|
@@ -28421,6 +28423,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28421
28423
|
appUrl?: string | undefined;
|
|
28422
28424
|
toolsCount?: number | undefined;
|
|
28423
28425
|
triggersCount?: number | undefined;
|
|
28426
|
+
updatedAt?: string | undefined;
|
|
28424
28427
|
};
|
|
28425
28428
|
isLocalToolkit: boolean;
|
|
28426
28429
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -28479,7 +28482,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28479
28482
|
logo?: string | undefined;
|
|
28480
28483
|
availableVersions?: string[] | undefined;
|
|
28481
28484
|
createdAt?: string | undefined;
|
|
28482
|
-
updatedAt?: string | undefined;
|
|
28483
28485
|
categories?: {
|
|
28484
28486
|
slug: string;
|
|
28485
28487
|
name: string;
|
|
@@ -28487,6 +28489,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28487
28489
|
appUrl?: string | undefined;
|
|
28488
28490
|
toolsCount?: number | undefined;
|
|
28489
28491
|
triggersCount?: number | undefined;
|
|
28492
|
+
updatedAt?: string | undefined;
|
|
28490
28493
|
};
|
|
28491
28494
|
isLocalToolkit: boolean;
|
|
28492
28495
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -28637,31 +28640,31 @@ declare const CreateConnectedAccountParamsSchema: z.ZodObject<{
|
|
|
28637
28640
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
28638
28641
|
userId: z.ZodOptional<z.ZodString>;
|
|
28639
28642
|
}, "strip", z.ZodTypeAny, {
|
|
28640
|
-
callbackUrl?: string | undefined;
|
|
28641
28643
|
userId?: string | undefined;
|
|
28642
28644
|
data?: Record<string, unknown> | undefined;
|
|
28643
|
-
}, {
|
|
28644
28645
|
callbackUrl?: string | undefined;
|
|
28646
|
+
}, {
|
|
28645
28647
|
userId?: string | undefined;
|
|
28646
28648
|
data?: Record<string, unknown> | undefined;
|
|
28649
|
+
callbackUrl?: string | undefined;
|
|
28647
28650
|
}>;
|
|
28648
28651
|
}, "strip", z.ZodTypeAny, {
|
|
28649
28652
|
authConfig: {
|
|
28650
28653
|
id: string;
|
|
28651
28654
|
};
|
|
28652
28655
|
connection: {
|
|
28653
|
-
callbackUrl?: string | undefined;
|
|
28654
28656
|
userId?: string | undefined;
|
|
28655
28657
|
data?: Record<string, unknown> | undefined;
|
|
28658
|
+
callbackUrl?: string | undefined;
|
|
28656
28659
|
};
|
|
28657
28660
|
}, {
|
|
28658
28661
|
authConfig: {
|
|
28659
28662
|
id: string;
|
|
28660
28663
|
};
|
|
28661
28664
|
connection: {
|
|
28662
|
-
callbackUrl?: string | undefined;
|
|
28663
28665
|
userId?: string | undefined;
|
|
28664
28666
|
data?: Record<string, unknown> | undefined;
|
|
28667
|
+
callbackUrl?: string | undefined;
|
|
28665
28668
|
};
|
|
28666
28669
|
}>;
|
|
28667
28670
|
declare const DefaultCreateConnectedAccountParamsSchema: z.ZodType<{
|
|
@@ -28691,12 +28694,12 @@ declare const CreateConnectedAccountResponseSchema: z.ZodObject<{
|
|
|
28691
28694
|
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
28692
28695
|
}, "strip", z.ZodTypeAny, {
|
|
28693
28696
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
|
|
28694
|
-
id: string;
|
|
28695
28697
|
redirectUrl: string | null;
|
|
28698
|
+
id: string;
|
|
28696
28699
|
}, {
|
|
28697
28700
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
|
|
28698
|
-
id: string;
|
|
28699
28701
|
redirectUrl: string | null;
|
|
28702
|
+
id: string;
|
|
28700
28703
|
}>;
|
|
28701
28704
|
type CreateConnectedAccountResponse = z.infer<typeof CreateConnectedAccountResponseSchema>;
|
|
28702
28705
|
declare const ConnectedAccountAuthConfigSchema: z.ZodObject<{
|
|
@@ -28745,17 +28748,17 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
|
|
|
28745
28748
|
toolkitSlugs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
28746
28749
|
userIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
28747
28750
|
}, "strip", z.ZodTypeAny, {
|
|
28748
|
-
cursor?: string | null | undefined;
|
|
28749
28751
|
limit?: number | null | undefined;
|
|
28750
28752
|
authConfigIds?: string[] | null | undefined;
|
|
28753
|
+
cursor?: string | null | undefined;
|
|
28751
28754
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
28752
28755
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
|
|
28753
28756
|
toolkitSlugs?: string[] | null | undefined;
|
|
28754
28757
|
userIds?: string[] | null | undefined;
|
|
28755
28758
|
}, {
|
|
28756
|
-
cursor?: string | null | undefined;
|
|
28757
28759
|
limit?: number | null | undefined;
|
|
28758
28760
|
authConfigIds?: string[] | null | undefined;
|
|
28761
|
+
cursor?: string | null | undefined;
|
|
28759
28762
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
28760
28763
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
|
|
28761
28764
|
toolkitSlugs?: string[] | null | undefined;
|
|
@@ -28944,10 +28947,11 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
|
|
|
28944
28947
|
}, {
|
|
28945
28948
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28946
28949
|
}>>;
|
|
28950
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
28947
28951
|
}, "strip", z.ZodTypeAny, {
|
|
28948
28952
|
type: "use_custom_auth";
|
|
28949
|
-
credentials: Record<string, string | number | boolean>;
|
|
28950
28953
|
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";
|
|
28954
|
+
credentials: Record<string, string | number | boolean>;
|
|
28951
28955
|
name?: string | undefined;
|
|
28952
28956
|
proxyConfig?: {
|
|
28953
28957
|
proxyUrl: string;
|
|
@@ -28956,10 +28960,11 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
|
|
|
28956
28960
|
toolAccessConfig?: {
|
|
28957
28961
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28958
28962
|
} | undefined;
|
|
28963
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
28959
28964
|
}, {
|
|
28960
28965
|
type: "use_custom_auth";
|
|
28961
|
-
credentials: Record<string, string | number | boolean>;
|
|
28962
28966
|
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";
|
|
28967
|
+
credentials: Record<string, string | number | boolean>;
|
|
28963
28968
|
name?: string | undefined;
|
|
28964
28969
|
proxyConfig?: {
|
|
28965
28970
|
proxyUrl: string;
|
|
@@ -28968,11 +28973,21 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
|
|
|
28968
28973
|
toolAccessConfig?: {
|
|
28969
28974
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28970
28975
|
} | undefined;
|
|
28976
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
28971
28977
|
}>;
|
|
28972
28978
|
declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
|
|
28973
28979
|
type: z.ZodLiteral<"use_composio_managed_auth">;
|
|
28974
28980
|
name: z.ZodOptional<z.ZodString>;
|
|
28975
|
-
credentials: z.ZodOptional<z.
|
|
28981
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
28982
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
28983
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
28984
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
28985
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
28986
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
28987
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
28988
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
28989
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
28990
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28976
28991
|
toolAccessConfig: z.ZodOptional<z.ZodObject<{
|
|
28977
28992
|
toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28978
28993
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28980,20 +28995,29 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
|
|
|
28980
28995
|
}, {
|
|
28981
28996
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28982
28997
|
}>>;
|
|
28998
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
28983
28999
|
}, "strip", z.ZodTypeAny, {
|
|
28984
29000
|
type: "use_composio_managed_auth";
|
|
28985
29001
|
name?: string | undefined;
|
|
28986
|
-
credentials?:
|
|
29002
|
+
credentials?: z.objectOutputType<{
|
|
29003
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29004
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29005
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
28987
29006
|
toolAccessConfig?: {
|
|
28988
29007
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28989
29008
|
} | undefined;
|
|
29009
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
28990
29010
|
}, {
|
|
28991
29011
|
type: "use_composio_managed_auth";
|
|
28992
29012
|
name?: string | undefined;
|
|
28993
|
-
credentials?:
|
|
29013
|
+
credentials?: z.objectInputType<{
|
|
29014
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29015
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29016
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
28994
29017
|
toolAccessConfig?: {
|
|
28995
29018
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
28996
29019
|
} | undefined;
|
|
29020
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
28997
29021
|
}>;
|
|
28998
29022
|
/**
|
|
28999
29023
|
* Discriminated union of all possible auth config types.
|
|
@@ -29020,10 +29044,11 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
29020
29044
|
}, {
|
|
29021
29045
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29022
29046
|
}>>;
|
|
29047
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
29023
29048
|
}, "strip", z.ZodTypeAny, {
|
|
29024
29049
|
type: "use_custom_auth";
|
|
29025
|
-
credentials: Record<string, string | number | boolean>;
|
|
29026
29050
|
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";
|
|
29051
|
+
credentials: Record<string, string | number | boolean>;
|
|
29027
29052
|
name?: string | undefined;
|
|
29028
29053
|
proxyConfig?: {
|
|
29029
29054
|
proxyUrl: string;
|
|
@@ -29032,10 +29057,11 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
29032
29057
|
toolAccessConfig?: {
|
|
29033
29058
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29034
29059
|
} | undefined;
|
|
29060
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29035
29061
|
}, {
|
|
29036
29062
|
type: "use_custom_auth";
|
|
29037
|
-
credentials: Record<string, string | number | boolean>;
|
|
29038
29063
|
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";
|
|
29064
|
+
credentials: Record<string, string | number | boolean>;
|
|
29039
29065
|
name?: string | undefined;
|
|
29040
29066
|
proxyConfig?: {
|
|
29041
29067
|
proxyUrl: string;
|
|
@@ -29044,10 +29070,20 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
29044
29070
|
toolAccessConfig?: {
|
|
29045
29071
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29046
29072
|
} | undefined;
|
|
29073
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29047
29074
|
}>, z.ZodObject<{
|
|
29048
29075
|
type: z.ZodLiteral<"use_composio_managed_auth">;
|
|
29049
29076
|
name: z.ZodOptional<z.ZodString>;
|
|
29050
|
-
credentials: z.ZodOptional<z.
|
|
29077
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
29078
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29079
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29080
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29081
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29082
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29083
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
29084
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29085
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29086
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
29051
29087
|
toolAccessConfig: z.ZodOptional<z.ZodObject<{
|
|
29052
29088
|
toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29053
29089
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29055,20 +29091,29 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
29055
29091
|
}, {
|
|
29056
29092
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29057
29093
|
}>>;
|
|
29094
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
29058
29095
|
}, "strip", z.ZodTypeAny, {
|
|
29059
29096
|
type: "use_composio_managed_auth";
|
|
29060
29097
|
name?: string | undefined;
|
|
29061
|
-
credentials?:
|
|
29098
|
+
credentials?: z.objectOutputType<{
|
|
29099
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29100
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29101
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
29062
29102
|
toolAccessConfig?: {
|
|
29063
29103
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29064
29104
|
} | undefined;
|
|
29105
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29065
29106
|
}, {
|
|
29066
29107
|
type: "use_composio_managed_auth";
|
|
29067
29108
|
name?: string | undefined;
|
|
29068
|
-
credentials?:
|
|
29109
|
+
credentials?: z.objectInputType<{
|
|
29110
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29111
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29112
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
29069
29113
|
toolAccessConfig?: {
|
|
29070
29114
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29071
29115
|
} | undefined;
|
|
29116
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29072
29117
|
}>]>;
|
|
29073
29118
|
type CreateAuthConfigParams = z.infer<typeof CreateAuthConfigParamsSchema>;
|
|
29074
29119
|
declare const CreateAuthConfigResponseSchema: z.ZodObject<{
|
|
@@ -29107,6 +29152,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
29107
29152
|
authScheme: z.ZodOptional<z.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"]>>;
|
|
29108
29153
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
29109
29154
|
expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
29155
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
29110
29156
|
/**
|
|
29111
29157
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29112
29158
|
*/
|
|
@@ -29135,12 +29181,13 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
29135
29181
|
id: string;
|
|
29136
29182
|
noOfConnections: number;
|
|
29137
29183
|
uuid: string;
|
|
29138
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29139
29184
|
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;
|
|
29185
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29140
29186
|
toolAccessConfig?: {
|
|
29141
29187
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29142
29188
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29143
29189
|
} | undefined;
|
|
29190
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29144
29191
|
isComposioManaged?: boolean | undefined;
|
|
29145
29192
|
expectedInputFields?: unknown[] | undefined;
|
|
29146
29193
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29157,12 +29204,13 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
29157
29204
|
id: string;
|
|
29158
29205
|
noOfConnections: number;
|
|
29159
29206
|
uuid: string;
|
|
29160
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29161
29207
|
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;
|
|
29208
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29162
29209
|
toolAccessConfig?: {
|
|
29163
29210
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29164
29211
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29165
29212
|
} | undefined;
|
|
29213
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29166
29214
|
isComposioManaged?: boolean | undefined;
|
|
29167
29215
|
expectedInputFields?: unknown[] | undefined;
|
|
29168
29216
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29178,14 +29226,14 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
|
|
|
29178
29226
|
toolkit: z.ZodOptional<z.ZodString>;
|
|
29179
29227
|
}, "strip", z.ZodTypeAny, {
|
|
29180
29228
|
toolkit?: string | undefined;
|
|
29229
|
+
limit?: number | undefined;
|
|
29181
29230
|
isComposioManaged?: boolean | undefined;
|
|
29182
29231
|
cursor?: string | undefined;
|
|
29183
|
-
limit?: number | undefined;
|
|
29184
29232
|
}, {
|
|
29185
29233
|
toolkit?: string | undefined;
|
|
29234
|
+
limit?: number | undefined;
|
|
29186
29235
|
isComposioManaged?: boolean | undefined;
|
|
29187
29236
|
cursor?: string | undefined;
|
|
29188
|
-
limit?: number | undefined;
|
|
29189
29237
|
}>;
|
|
29190
29238
|
type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
|
|
29191
29239
|
declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
@@ -29208,6 +29256,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29208
29256
|
authScheme: z.ZodOptional<z.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"]>>;
|
|
29209
29257
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
29210
29258
|
expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
29259
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
29211
29260
|
/**
|
|
29212
29261
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29213
29262
|
*/
|
|
@@ -29236,12 +29285,13 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29236
29285
|
id: string;
|
|
29237
29286
|
noOfConnections: number;
|
|
29238
29287
|
uuid: string;
|
|
29239
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29240
29288
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
|
|
29289
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29241
29290
|
toolAccessConfig?: {
|
|
29242
29291
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29243
29292
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29244
29293
|
} | undefined;
|
|
29294
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29245
29295
|
isComposioManaged?: boolean | undefined;
|
|
29246
29296
|
expectedInputFields?: unknown[] | undefined;
|
|
29247
29297
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29258,12 +29308,13 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29258
29308
|
id: string;
|
|
29259
29309
|
noOfConnections: number;
|
|
29260
29310
|
uuid: string;
|
|
29261
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29262
29311
|
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;
|
|
29312
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29263
29313
|
toolAccessConfig?: {
|
|
29264
29314
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29265
29315
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29266
29316
|
} | undefined;
|
|
29317
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29267
29318
|
isComposioManaged?: boolean | undefined;
|
|
29268
29319
|
expectedInputFields?: unknown[] | undefined;
|
|
29269
29320
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29284,12 +29335,13 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29284
29335
|
id: string;
|
|
29285
29336
|
noOfConnections: number;
|
|
29286
29337
|
uuid: string;
|
|
29287
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29288
29338
|
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;
|
|
29339
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29289
29340
|
toolAccessConfig?: {
|
|
29290
29341
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29291
29342
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29292
29343
|
} | undefined;
|
|
29344
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29293
29345
|
isComposioManaged?: boolean | undefined;
|
|
29294
29346
|
expectedInputFields?: unknown[] | undefined;
|
|
29295
29347
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29310,12 +29362,13 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29310
29362
|
id: string;
|
|
29311
29363
|
noOfConnections: number;
|
|
29312
29364
|
uuid: string;
|
|
29313
|
-
credentials?: Record<string, unknown> | undefined;
|
|
29314
29365
|
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;
|
|
29366
|
+
credentials?: Record<string, unknown> | undefined;
|
|
29315
29367
|
toolAccessConfig?: {
|
|
29316
29368
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29317
29369
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29318
29370
|
} | undefined;
|
|
29371
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29319
29372
|
isComposioManaged?: boolean | undefined;
|
|
29320
29373
|
expectedInputFields?: unknown[] | undefined;
|
|
29321
29374
|
restrictToFollowingTools?: string[] | undefined;
|
|
@@ -29328,8 +29381,18 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
29328
29381
|
}>;
|
|
29329
29382
|
type AuthConfigListResponse = z.infer<typeof AuthConfigListResponseSchema>;
|
|
29330
29383
|
declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
|
|
29331
|
-
credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnknown]>>;
|
|
29332
29384
|
type: z.ZodLiteral<"custom">;
|
|
29385
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
29386
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29387
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29388
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29389
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29390
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29391
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
29392
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29393
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29394
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
29395
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
29333
29396
|
/**
|
|
29334
29397
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29335
29398
|
*/
|
|
@@ -29346,24 +29409,33 @@ declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
|
|
|
29346
29409
|
}>>;
|
|
29347
29410
|
}, "strip", z.ZodTypeAny, {
|
|
29348
29411
|
type: "custom";
|
|
29349
|
-
credentials
|
|
29412
|
+
credentials?: z.objectOutputType<{
|
|
29413
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29414
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29415
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
29350
29416
|
toolAccessConfig?: {
|
|
29351
29417
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29352
29418
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29353
29419
|
} | undefined;
|
|
29420
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29354
29421
|
restrictToFollowingTools?: string[] | undefined;
|
|
29355
29422
|
}, {
|
|
29356
29423
|
type: "custom";
|
|
29357
|
-
credentials
|
|
29424
|
+
credentials?: z.objectInputType<{
|
|
29425
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29426
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29427
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
29358
29428
|
toolAccessConfig?: {
|
|
29359
29429
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29360
29430
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29361
29431
|
} | undefined;
|
|
29432
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29362
29433
|
restrictToFollowingTools?: string[] | undefined;
|
|
29363
29434
|
}>;
|
|
29364
29435
|
declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
|
|
29365
|
-
scopes: z.ZodOptional<z.ZodString>;
|
|
29366
29436
|
type: z.ZodLiteral<"default">;
|
|
29437
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
29438
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
29367
29439
|
/**
|
|
29368
29440
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29369
29441
|
*/
|
|
@@ -29385,6 +29457,7 @@ declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
|
|
|
29385
29457
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29386
29458
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29387
29459
|
} | undefined;
|
|
29460
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29388
29461
|
restrictToFollowingTools?: string[] | undefined;
|
|
29389
29462
|
}, {
|
|
29390
29463
|
type: "default";
|
|
@@ -29393,11 +29466,22 @@ declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
|
|
|
29393
29466
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29394
29467
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29395
29468
|
} | undefined;
|
|
29469
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29396
29470
|
restrictToFollowingTools?: string[] | undefined;
|
|
29397
29471
|
}>;
|
|
29398
29472
|
declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
29399
|
-
credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnknown]>>;
|
|
29400
29473
|
type: z.ZodLiteral<"custom">;
|
|
29474
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
29475
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29476
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29477
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29478
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29479
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29480
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
29481
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29482
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29483
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
29484
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
29401
29485
|
/**
|
|
29402
29486
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29403
29487
|
*/
|
|
@@ -29414,23 +29498,32 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
29414
29498
|
}>>;
|
|
29415
29499
|
}, "strip", z.ZodTypeAny, {
|
|
29416
29500
|
type: "custom";
|
|
29417
|
-
credentials
|
|
29501
|
+
credentials?: z.objectOutputType<{
|
|
29502
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29503
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29504
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
29418
29505
|
toolAccessConfig?: {
|
|
29419
29506
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29420
29507
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29421
29508
|
} | undefined;
|
|
29509
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29422
29510
|
restrictToFollowingTools?: string[] | undefined;
|
|
29423
29511
|
}, {
|
|
29424
29512
|
type: "custom";
|
|
29425
|
-
credentials
|
|
29513
|
+
credentials?: z.objectInputType<{
|
|
29514
|
+
scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29515
|
+
user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
29516
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
29426
29517
|
toolAccessConfig?: {
|
|
29427
29518
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29428
29519
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29429
29520
|
} | undefined;
|
|
29521
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29430
29522
|
restrictToFollowingTools?: string[] | undefined;
|
|
29431
29523
|
}>, z.ZodObject<{
|
|
29432
|
-
scopes: z.ZodOptional<z.ZodString>;
|
|
29433
29524
|
type: z.ZodLiteral<"default">;
|
|
29525
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
29526
|
+
isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
|
|
29434
29527
|
/**
|
|
29435
29528
|
* @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
|
|
29436
29529
|
*/
|
|
@@ -29452,6 +29545,7 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
29452
29545
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29453
29546
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29454
29547
|
} | undefined;
|
|
29548
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29455
29549
|
restrictToFollowingTools?: string[] | undefined;
|
|
29456
29550
|
}, {
|
|
29457
29551
|
type: "default";
|
|
@@ -29460,6 +29554,7 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
29460
29554
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
29461
29555
|
toolsAvailableForExecution?: string[] | undefined;
|
|
29462
29556
|
} | undefined;
|
|
29557
|
+
isEnabledForToolRouter?: boolean | undefined;
|
|
29463
29558
|
restrictToFollowingTools?: string[] | undefined;
|
|
29464
29559
|
}>]>;
|
|
29465
29560
|
type AuthConfigUpdateParams = z.infer<typeof AuthConfigUpdateParamsSchema>;
|
|
@@ -29666,23 +29761,23 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
29666
29761
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
29667
29762
|
uuid: z.ZodOptional<z.ZodString>;
|
|
29668
29763
|
}, "strip", z.ZodTypeAny, {
|
|
29669
|
-
id: string;
|
|
29670
29764
|
connectedAccountId: string;
|
|
29765
|
+
id: string;
|
|
29766
|
+
updatedAt: string;
|
|
29671
29767
|
disabledAt: string | null;
|
|
29672
29768
|
state: Record<string, unknown>;
|
|
29673
29769
|
triggerConfig: Record<string, unknown>;
|
|
29674
29770
|
triggerName: string;
|
|
29675
|
-
updatedAt: string;
|
|
29676
29771
|
uuid?: string | undefined;
|
|
29677
29772
|
triggerData?: string | undefined;
|
|
29678
29773
|
}, {
|
|
29679
|
-
id: string;
|
|
29680
29774
|
connectedAccountId: string;
|
|
29775
|
+
id: string;
|
|
29776
|
+
updatedAt: string;
|
|
29681
29777
|
disabledAt: string | null;
|
|
29682
29778
|
state: Record<string, unknown>;
|
|
29683
29779
|
triggerConfig: Record<string, unknown>;
|
|
29684
29780
|
triggerName: string;
|
|
29685
|
-
updatedAt: string;
|
|
29686
29781
|
uuid?: string | undefined;
|
|
29687
29782
|
triggerData?: string | undefined;
|
|
29688
29783
|
}>;
|
|
@@ -29698,23 +29793,23 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29698
29793
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
29699
29794
|
uuid: z.ZodOptional<z.ZodString>;
|
|
29700
29795
|
}, "strip", z.ZodTypeAny, {
|
|
29701
|
-
id: string;
|
|
29702
29796
|
connectedAccountId: string;
|
|
29797
|
+
id: string;
|
|
29798
|
+
updatedAt: string;
|
|
29703
29799
|
disabledAt: string | null;
|
|
29704
29800
|
state: Record<string, unknown>;
|
|
29705
29801
|
triggerConfig: Record<string, unknown>;
|
|
29706
29802
|
triggerName: string;
|
|
29707
|
-
updatedAt: string;
|
|
29708
29803
|
uuid?: string | undefined;
|
|
29709
29804
|
triggerData?: string | undefined;
|
|
29710
29805
|
}, {
|
|
29711
|
-
id: string;
|
|
29712
29806
|
connectedAccountId: string;
|
|
29807
|
+
id: string;
|
|
29808
|
+
updatedAt: string;
|
|
29713
29809
|
disabledAt: string | null;
|
|
29714
29810
|
state: Record<string, unknown>;
|
|
29715
29811
|
triggerConfig: Record<string, unknown>;
|
|
29716
29812
|
triggerName: string;
|
|
29717
|
-
updatedAt: string;
|
|
29718
29813
|
uuid?: string | undefined;
|
|
29719
29814
|
triggerData?: string | undefined;
|
|
29720
29815
|
}>, "many">;
|
|
@@ -29722,13 +29817,13 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29722
29817
|
totalPages: z.ZodNumber;
|
|
29723
29818
|
}, "strip", z.ZodTypeAny, {
|
|
29724
29819
|
items: {
|
|
29725
|
-
id: string;
|
|
29726
29820
|
connectedAccountId: string;
|
|
29821
|
+
id: string;
|
|
29822
|
+
updatedAt: string;
|
|
29727
29823
|
disabledAt: string | null;
|
|
29728
29824
|
state: Record<string, unknown>;
|
|
29729
29825
|
triggerConfig: Record<string, unknown>;
|
|
29730
29826
|
triggerName: string;
|
|
29731
|
-
updatedAt: string;
|
|
29732
29827
|
uuid?: string | undefined;
|
|
29733
29828
|
triggerData?: string | undefined;
|
|
29734
29829
|
}[];
|
|
@@ -29736,13 +29831,13 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29736
29831
|
totalPages: number;
|
|
29737
29832
|
}, {
|
|
29738
29833
|
items: {
|
|
29739
|
-
id: string;
|
|
29740
29834
|
connectedAccountId: string;
|
|
29835
|
+
id: string;
|
|
29836
|
+
updatedAt: string;
|
|
29741
29837
|
disabledAt: string | null;
|
|
29742
29838
|
state: Record<string, unknown>;
|
|
29743
29839
|
triggerConfig: Record<string, unknown>;
|
|
29744
29840
|
triggerName: string;
|
|
29745
|
-
updatedAt: string;
|
|
29746
29841
|
uuid?: string | undefined;
|
|
29747
29842
|
triggerData?: string | undefined;
|
|
29748
29843
|
}[];
|
|
@@ -29818,67 +29913,67 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
29818
29913
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
29819
29914
|
}, "strip", z.ZodTypeAny, {
|
|
29820
29915
|
status: "ACTIVE" | "INACTIVE";
|
|
29916
|
+
userId: string;
|
|
29821
29917
|
id: string;
|
|
29822
29918
|
uuid: string;
|
|
29823
|
-
userId: string;
|
|
29824
29919
|
authConfigId: string;
|
|
29825
29920
|
authConfigUUID: string;
|
|
29826
29921
|
}, {
|
|
29827
29922
|
status: "ACTIVE" | "INACTIVE";
|
|
29923
|
+
userId: string;
|
|
29828
29924
|
id: string;
|
|
29829
29925
|
uuid: string;
|
|
29830
|
-
userId: string;
|
|
29831
29926
|
authConfigId: string;
|
|
29832
29927
|
authConfigUUID: string;
|
|
29833
29928
|
}>;
|
|
29834
29929
|
}, "strip", z.ZodTypeAny, {
|
|
29930
|
+
toolkitSlug: string;
|
|
29835
29931
|
id: string;
|
|
29836
29932
|
uuid: string;
|
|
29837
|
-
toolkitSlug: string;
|
|
29838
29933
|
triggerSlug: string;
|
|
29839
29934
|
triggerConfig: Record<string, unknown>;
|
|
29840
29935
|
connectedAccount: {
|
|
29841
29936
|
status: "ACTIVE" | "INACTIVE";
|
|
29937
|
+
userId: string;
|
|
29842
29938
|
id: string;
|
|
29843
29939
|
uuid: string;
|
|
29844
|
-
userId: string;
|
|
29845
29940
|
authConfigId: string;
|
|
29846
29941
|
authConfigUUID: string;
|
|
29847
29942
|
};
|
|
29848
29943
|
triggerData?: string | undefined;
|
|
29849
29944
|
}, {
|
|
29945
|
+
toolkitSlug: string;
|
|
29850
29946
|
id: string;
|
|
29851
29947
|
uuid: string;
|
|
29852
|
-
toolkitSlug: string;
|
|
29853
29948
|
triggerSlug: string;
|
|
29854
29949
|
triggerConfig: Record<string, unknown>;
|
|
29855
29950
|
connectedAccount: {
|
|
29856
29951
|
status: "ACTIVE" | "INACTIVE";
|
|
29952
|
+
userId: string;
|
|
29857
29953
|
id: string;
|
|
29858
29954
|
uuid: string;
|
|
29859
|
-
userId: string;
|
|
29860
29955
|
authConfigId: string;
|
|
29861
29956
|
authConfigUUID: string;
|
|
29862
29957
|
};
|
|
29863
29958
|
triggerData?: string | undefined;
|
|
29864
29959
|
}>;
|
|
29865
29960
|
}, "strip", z.ZodTypeAny, {
|
|
29866
|
-
id: string;
|
|
29867
|
-
uuid: string;
|
|
29868
29961
|
toolkitSlug: string;
|
|
29869
29962
|
userId: string;
|
|
29963
|
+
id: string;
|
|
29964
|
+
uuid: string;
|
|
29870
29965
|
triggerSlug: string;
|
|
29871
29966
|
metadata: {
|
|
29967
|
+
toolkitSlug: string;
|
|
29872
29968
|
id: string;
|
|
29873
29969
|
uuid: string;
|
|
29874
|
-
toolkitSlug: string;
|
|
29875
29970
|
triggerSlug: string;
|
|
29876
29971
|
triggerConfig: Record<string, unknown>;
|
|
29877
29972
|
connectedAccount: {
|
|
29878
29973
|
status: "ACTIVE" | "INACTIVE";
|
|
29974
|
+
userId: string;
|
|
29879
29975
|
id: string;
|
|
29880
29976
|
uuid: string;
|
|
29881
|
-
userId: string;
|
|
29882
29977
|
authConfigId: string;
|
|
29883
29978
|
authConfigUUID: string;
|
|
29884
29979
|
};
|
|
@@ -29887,22 +29982,22 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
29887
29982
|
payload?: Record<string, unknown> | undefined;
|
|
29888
29983
|
originalPayload?: Record<string, unknown> | undefined;
|
|
29889
29984
|
}, {
|
|
29890
|
-
id: string;
|
|
29891
|
-
uuid: string;
|
|
29892
29985
|
toolkitSlug: string;
|
|
29893
29986
|
userId: string;
|
|
29987
|
+
id: string;
|
|
29988
|
+
uuid: string;
|
|
29894
29989
|
triggerSlug: string;
|
|
29895
29990
|
metadata: {
|
|
29991
|
+
toolkitSlug: string;
|
|
29896
29992
|
id: string;
|
|
29897
29993
|
uuid: string;
|
|
29898
|
-
toolkitSlug: string;
|
|
29899
29994
|
triggerSlug: string;
|
|
29900
29995
|
triggerConfig: Record<string, unknown>;
|
|
29901
29996
|
connectedAccount: {
|
|
29902
29997
|
status: "ACTIVE" | "INACTIVE";
|
|
29998
|
+
userId: string;
|
|
29903
29999
|
id: string;
|
|
29904
30000
|
uuid: string;
|
|
29905
|
-
userId: string;
|
|
29906
30001
|
authConfigId: string;
|
|
29907
30002
|
authConfigUUID: string;
|
|
29908
30003
|
};
|
|
@@ -29938,13 +30033,13 @@ declare const TriggersTypeListParamsSchema: z.ZodObject<{
|
|
|
29938
30033
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29939
30034
|
toolkits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
29940
30035
|
}, "strip", z.ZodTypeAny, {
|
|
29941
|
-
cursor?: string | undefined;
|
|
29942
|
-
limit?: number | null | undefined;
|
|
29943
30036
|
toolkits?: string[] | null | undefined;
|
|
29944
|
-
}, {
|
|
29945
|
-
cursor?: string | undefined;
|
|
29946
30037
|
limit?: number | null | undefined;
|
|
30038
|
+
cursor?: string | undefined;
|
|
30039
|
+
}, {
|
|
29947
30040
|
toolkits?: string[] | null | undefined;
|
|
30041
|
+
limit?: number | null | undefined;
|
|
30042
|
+
cursor?: string | undefined;
|
|
29948
30043
|
}>;
|
|
29949
30044
|
type TriggersTypeListParams = z.infer<typeof TriggersTypeListParamsSchema>;
|
|
29950
30045
|
declare const TriggerTypeSchema: z.ZodObject<{
|
|
@@ -30102,16 +30197,292 @@ type TriggerEventData<TPayload = unknown> = TPayload & {
|
|
|
30102
30197
|
trigger_nano_id: string;
|
|
30103
30198
|
user_id: string;
|
|
30104
30199
|
};
|
|
30200
|
+
/**
|
|
30201
|
+
* Webhook payload schemas for V1, V2, V3 versions
|
|
30202
|
+
* These schemas represent the raw payload structure sent by Composio's webhook system
|
|
30203
|
+
*/
|
|
30204
|
+
/** V1 webhook payload - legacy format */
|
|
30205
|
+
declare const WebhookPayloadV1Schema: z.ZodObject<{
|
|
30206
|
+
trigger_name: z.ZodString;
|
|
30207
|
+
connection_id: z.ZodString;
|
|
30208
|
+
trigger_id: z.ZodString;
|
|
30209
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
30210
|
+
log_id: z.ZodString;
|
|
30211
|
+
}, "strip", z.ZodTypeAny, {
|
|
30212
|
+
payload: Record<string, unknown>;
|
|
30213
|
+
trigger_name: string;
|
|
30214
|
+
connection_id: string;
|
|
30215
|
+
trigger_id: string;
|
|
30216
|
+
log_id: string;
|
|
30217
|
+
}, {
|
|
30218
|
+
payload: Record<string, unknown>;
|
|
30219
|
+
trigger_name: string;
|
|
30220
|
+
connection_id: string;
|
|
30221
|
+
trigger_id: string;
|
|
30222
|
+
log_id: string;
|
|
30223
|
+
}>;
|
|
30224
|
+
type WebhookPayloadV1 = z.infer<typeof WebhookPayloadV1Schema>;
|
|
30225
|
+
/** V2 webhook payload - includes timestamp and nested data */
|
|
30226
|
+
declare const WebhookPayloadV2Schema: z.ZodObject<{
|
|
30227
|
+
type: z.ZodString;
|
|
30228
|
+
timestamp: z.ZodString;
|
|
30229
|
+
log_id: z.ZodString;
|
|
30230
|
+
data: z.ZodObject<{
|
|
30231
|
+
connection_id: z.ZodString;
|
|
30232
|
+
connection_nano_id: z.ZodString;
|
|
30233
|
+
trigger_nano_id: z.ZodString;
|
|
30234
|
+
trigger_id: z.ZodString;
|
|
30235
|
+
user_id: z.ZodString;
|
|
30236
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30237
|
+
connection_id: z.ZodString;
|
|
30238
|
+
connection_nano_id: z.ZodString;
|
|
30239
|
+
trigger_nano_id: z.ZodString;
|
|
30240
|
+
trigger_id: z.ZodString;
|
|
30241
|
+
user_id: z.ZodString;
|
|
30242
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30243
|
+
connection_id: z.ZodString;
|
|
30244
|
+
connection_nano_id: z.ZodString;
|
|
30245
|
+
trigger_nano_id: z.ZodString;
|
|
30246
|
+
trigger_id: z.ZodString;
|
|
30247
|
+
user_id: z.ZodString;
|
|
30248
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
30249
|
+
}, "strip", z.ZodTypeAny, {
|
|
30250
|
+
type: string;
|
|
30251
|
+
data: {
|
|
30252
|
+
connection_id: string;
|
|
30253
|
+
trigger_id: string;
|
|
30254
|
+
connection_nano_id: string;
|
|
30255
|
+
trigger_nano_id: string;
|
|
30256
|
+
user_id: string;
|
|
30257
|
+
} & {
|
|
30258
|
+
[k: string]: unknown;
|
|
30259
|
+
};
|
|
30260
|
+
log_id: string;
|
|
30261
|
+
timestamp: string;
|
|
30262
|
+
}, {
|
|
30263
|
+
type: string;
|
|
30264
|
+
data: {
|
|
30265
|
+
connection_id: string;
|
|
30266
|
+
trigger_id: string;
|
|
30267
|
+
connection_nano_id: string;
|
|
30268
|
+
trigger_nano_id: string;
|
|
30269
|
+
user_id: string;
|
|
30270
|
+
} & {
|
|
30271
|
+
[k: string]: unknown;
|
|
30272
|
+
};
|
|
30273
|
+
log_id: string;
|
|
30274
|
+
timestamp: string;
|
|
30275
|
+
}>;
|
|
30276
|
+
type WebhookPayloadV2 = z.infer<typeof WebhookPayloadV2Schema>;
|
|
30277
|
+
/** V3 webhook payload - current format with metadata */
|
|
30278
|
+
declare const WebhookPayloadV3Schema: z.ZodObject<{
|
|
30279
|
+
id: z.ZodString;
|
|
30280
|
+
timestamp: z.ZodString;
|
|
30281
|
+
type: z.ZodLiteral<"composio.trigger.message">;
|
|
30282
|
+
metadata: z.ZodObject<{
|
|
30283
|
+
log_id: z.ZodString;
|
|
30284
|
+
trigger_slug: z.ZodString;
|
|
30285
|
+
trigger_id: z.ZodString;
|
|
30286
|
+
connected_account_id: z.ZodString;
|
|
30287
|
+
auth_config_id: z.ZodString;
|
|
30288
|
+
user_id: z.ZodString;
|
|
30289
|
+
}, "strip", z.ZodTypeAny, {
|
|
30290
|
+
trigger_id: string;
|
|
30291
|
+
log_id: string;
|
|
30292
|
+
user_id: string;
|
|
30293
|
+
trigger_slug: string;
|
|
30294
|
+
connected_account_id: string;
|
|
30295
|
+
auth_config_id: string;
|
|
30296
|
+
}, {
|
|
30297
|
+
trigger_id: string;
|
|
30298
|
+
log_id: string;
|
|
30299
|
+
user_id: string;
|
|
30300
|
+
trigger_slug: string;
|
|
30301
|
+
connected_account_id: string;
|
|
30302
|
+
auth_config_id: string;
|
|
30303
|
+
}>;
|
|
30304
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
30305
|
+
}, "strip", z.ZodTypeAny, {
|
|
30306
|
+
type: "composio.trigger.message";
|
|
30307
|
+
data: Record<string, unknown>;
|
|
30308
|
+
id: string;
|
|
30309
|
+
metadata: {
|
|
30310
|
+
trigger_id: string;
|
|
30311
|
+
log_id: string;
|
|
30312
|
+
user_id: string;
|
|
30313
|
+
trigger_slug: string;
|
|
30314
|
+
connected_account_id: string;
|
|
30315
|
+
auth_config_id: string;
|
|
30316
|
+
};
|
|
30317
|
+
timestamp: string;
|
|
30318
|
+
}, {
|
|
30319
|
+
type: "composio.trigger.message";
|
|
30320
|
+
data: Record<string, unknown>;
|
|
30321
|
+
id: string;
|
|
30322
|
+
metadata: {
|
|
30323
|
+
trigger_id: string;
|
|
30324
|
+
log_id: string;
|
|
30325
|
+
user_id: string;
|
|
30326
|
+
trigger_slug: string;
|
|
30327
|
+
connected_account_id: string;
|
|
30328
|
+
auth_config_id: string;
|
|
30329
|
+
};
|
|
30330
|
+
timestamp: string;
|
|
30331
|
+
}>;
|
|
30332
|
+
type WebhookPayloadV3 = z.infer<typeof WebhookPayloadV3Schema>;
|
|
30333
|
+
/** Union of all webhook payload versions */
|
|
30334
|
+
declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
30335
|
+
id: z.ZodString;
|
|
30336
|
+
timestamp: z.ZodString;
|
|
30337
|
+
type: z.ZodLiteral<"composio.trigger.message">;
|
|
30338
|
+
metadata: z.ZodObject<{
|
|
30339
|
+
log_id: z.ZodString;
|
|
30340
|
+
trigger_slug: z.ZodString;
|
|
30341
|
+
trigger_id: z.ZodString;
|
|
30342
|
+
connected_account_id: z.ZodString;
|
|
30343
|
+
auth_config_id: z.ZodString;
|
|
30344
|
+
user_id: z.ZodString;
|
|
30345
|
+
}, "strip", z.ZodTypeAny, {
|
|
30346
|
+
trigger_id: string;
|
|
30347
|
+
log_id: string;
|
|
30348
|
+
user_id: string;
|
|
30349
|
+
trigger_slug: string;
|
|
30350
|
+
connected_account_id: string;
|
|
30351
|
+
auth_config_id: string;
|
|
30352
|
+
}, {
|
|
30353
|
+
trigger_id: string;
|
|
30354
|
+
log_id: string;
|
|
30355
|
+
user_id: string;
|
|
30356
|
+
trigger_slug: string;
|
|
30357
|
+
connected_account_id: string;
|
|
30358
|
+
auth_config_id: string;
|
|
30359
|
+
}>;
|
|
30360
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
30361
|
+
}, "strip", z.ZodTypeAny, {
|
|
30362
|
+
type: "composio.trigger.message";
|
|
30363
|
+
data: Record<string, unknown>;
|
|
30364
|
+
id: string;
|
|
30365
|
+
metadata: {
|
|
30366
|
+
trigger_id: string;
|
|
30367
|
+
log_id: string;
|
|
30368
|
+
user_id: string;
|
|
30369
|
+
trigger_slug: string;
|
|
30370
|
+
connected_account_id: string;
|
|
30371
|
+
auth_config_id: string;
|
|
30372
|
+
};
|
|
30373
|
+
timestamp: string;
|
|
30374
|
+
}, {
|
|
30375
|
+
type: "composio.trigger.message";
|
|
30376
|
+
data: Record<string, unknown>;
|
|
30377
|
+
id: string;
|
|
30378
|
+
metadata: {
|
|
30379
|
+
trigger_id: string;
|
|
30380
|
+
log_id: string;
|
|
30381
|
+
user_id: string;
|
|
30382
|
+
trigger_slug: string;
|
|
30383
|
+
connected_account_id: string;
|
|
30384
|
+
auth_config_id: string;
|
|
30385
|
+
};
|
|
30386
|
+
timestamp: string;
|
|
30387
|
+
}>, z.ZodObject<{
|
|
30388
|
+
type: z.ZodString;
|
|
30389
|
+
timestamp: z.ZodString;
|
|
30390
|
+
log_id: z.ZodString;
|
|
30391
|
+
data: z.ZodObject<{
|
|
30392
|
+
connection_id: z.ZodString;
|
|
30393
|
+
connection_nano_id: z.ZodString;
|
|
30394
|
+
trigger_nano_id: z.ZodString;
|
|
30395
|
+
trigger_id: z.ZodString;
|
|
30396
|
+
user_id: z.ZodString;
|
|
30397
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30398
|
+
connection_id: z.ZodString;
|
|
30399
|
+
connection_nano_id: z.ZodString;
|
|
30400
|
+
trigger_nano_id: z.ZodString;
|
|
30401
|
+
trigger_id: z.ZodString;
|
|
30402
|
+
user_id: z.ZodString;
|
|
30403
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30404
|
+
connection_id: z.ZodString;
|
|
30405
|
+
connection_nano_id: z.ZodString;
|
|
30406
|
+
trigger_nano_id: z.ZodString;
|
|
30407
|
+
trigger_id: z.ZodString;
|
|
30408
|
+
user_id: z.ZodString;
|
|
30409
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
30410
|
+
}, "strip", z.ZodTypeAny, {
|
|
30411
|
+
type: string;
|
|
30412
|
+
data: {
|
|
30413
|
+
connection_id: string;
|
|
30414
|
+
trigger_id: string;
|
|
30415
|
+
connection_nano_id: string;
|
|
30416
|
+
trigger_nano_id: string;
|
|
30417
|
+
user_id: string;
|
|
30418
|
+
} & {
|
|
30419
|
+
[k: string]: unknown;
|
|
30420
|
+
};
|
|
30421
|
+
log_id: string;
|
|
30422
|
+
timestamp: string;
|
|
30423
|
+
}, {
|
|
30424
|
+
type: string;
|
|
30425
|
+
data: {
|
|
30426
|
+
connection_id: string;
|
|
30427
|
+
trigger_id: string;
|
|
30428
|
+
connection_nano_id: string;
|
|
30429
|
+
trigger_nano_id: string;
|
|
30430
|
+
user_id: string;
|
|
30431
|
+
} & {
|
|
30432
|
+
[k: string]: unknown;
|
|
30433
|
+
};
|
|
30434
|
+
log_id: string;
|
|
30435
|
+
timestamp: string;
|
|
30436
|
+
}>, z.ZodObject<{
|
|
30437
|
+
trigger_name: z.ZodString;
|
|
30438
|
+
connection_id: z.ZodString;
|
|
30439
|
+
trigger_id: z.ZodString;
|
|
30440
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
30441
|
+
log_id: z.ZodString;
|
|
30442
|
+
}, "strip", z.ZodTypeAny, {
|
|
30443
|
+
payload: Record<string, unknown>;
|
|
30444
|
+
trigger_name: string;
|
|
30445
|
+
connection_id: string;
|
|
30446
|
+
trigger_id: string;
|
|
30447
|
+
log_id: string;
|
|
30448
|
+
}, {
|
|
30449
|
+
payload: Record<string, unknown>;
|
|
30450
|
+
trigger_name: string;
|
|
30451
|
+
connection_id: string;
|
|
30452
|
+
trigger_id: string;
|
|
30453
|
+
log_id: string;
|
|
30454
|
+
}>]>;
|
|
30455
|
+
type WebhookPayload = z.infer<typeof WebhookPayloadSchema>;
|
|
30456
|
+
/** Webhook version enum */
|
|
30457
|
+
declare const WebhookVersions: {
|
|
30458
|
+
readonly V1: "V1";
|
|
30459
|
+
readonly V2: "V2";
|
|
30460
|
+
readonly V3: "V3";
|
|
30461
|
+
};
|
|
30462
|
+
type WebhookVersion = (typeof WebhookVersions)[keyof typeof WebhookVersions];
|
|
30105
30463
|
/**
|
|
30106
30464
|
* Parameters for verifying a webhook signature
|
|
30107
30465
|
*/
|
|
30108
30466
|
declare const VerifyWebhookParamsSchema: z.ZodObject<{
|
|
30467
|
+
/**
|
|
30468
|
+
* The webhook message ID from the 'webhook-id' header.
|
|
30469
|
+
* Format: 'msg_xxx'
|
|
30470
|
+
*/
|
|
30471
|
+
id: z.ZodString;
|
|
30109
30472
|
/** The raw webhook payload as a string (request body) */
|
|
30110
30473
|
payload: z.ZodString;
|
|
30111
|
-
/** The
|
|
30112
|
-
signature: z.ZodString;
|
|
30113
|
-
/** The webhook secret used to sign the payload */
|
|
30474
|
+
/** The webhook secret used to sign the payload (from Composio dashboard) */
|
|
30114
30475
|
secret: z.ZodString;
|
|
30476
|
+
/**
|
|
30477
|
+
* The signature from the 'webhook-signature' header.
|
|
30478
|
+
* Format: 'v1,base64EncodedSignature'
|
|
30479
|
+
*/
|
|
30480
|
+
signature: z.ZodString;
|
|
30481
|
+
/**
|
|
30482
|
+
* The webhook timestamp from the 'webhook-timestamp' header.
|
|
30483
|
+
* This is the Unix timestamp in seconds when the webhook was sent.
|
|
30484
|
+
*/
|
|
30485
|
+
timestamp: z.ZodString;
|
|
30115
30486
|
/**
|
|
30116
30487
|
* Maximum allowed age of the webhook in seconds.
|
|
30117
30488
|
* If the webhook timestamp is older than this, verification will fail.
|
|
@@ -30120,21 +30491,33 @@ declare const VerifyWebhookParamsSchema: z.ZodObject<{
|
|
|
30120
30491
|
*/
|
|
30121
30492
|
tolerance: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
30122
30493
|
}, "strip", z.ZodTypeAny, {
|
|
30494
|
+
id: string;
|
|
30123
30495
|
payload: string;
|
|
30124
|
-
|
|
30496
|
+
timestamp: string;
|
|
30125
30497
|
secret: string;
|
|
30498
|
+
signature: string;
|
|
30126
30499
|
tolerance: number;
|
|
30127
30500
|
}, {
|
|
30501
|
+
id: string;
|
|
30128
30502
|
payload: string;
|
|
30129
|
-
|
|
30503
|
+
timestamp: string;
|
|
30130
30504
|
secret: string;
|
|
30505
|
+
signature: string;
|
|
30131
30506
|
tolerance?: number | undefined;
|
|
30132
30507
|
}>;
|
|
30133
30508
|
type VerifyWebhookParams = z.input<typeof VerifyWebhookParamsSchema>;
|
|
30134
30509
|
/**
|
|
30135
|
-
* Result of a successful webhook verification
|
|
30510
|
+
* Result of a successful webhook verification.
|
|
30511
|
+
* Contains the parsed payload along with version information.
|
|
30136
30512
|
*/
|
|
30137
|
-
type VerifyWebhookResult =
|
|
30513
|
+
type VerifyWebhookResult = {
|
|
30514
|
+
/** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */
|
|
30515
|
+
version: WebhookVersion;
|
|
30516
|
+
/** The parsed and normalized webhook payload */
|
|
30517
|
+
payload: IncomingTriggerPayload;
|
|
30518
|
+
/** The raw parsed payload before normalization */
|
|
30519
|
+
rawPayload: WebhookPayload;
|
|
30520
|
+
};
|
|
30138
30521
|
//#endregion
|
|
30139
30522
|
//#region src/models/Triggers.d.ts
|
|
30140
30523
|
/**
|
|
@@ -30270,15 +30653,20 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
30270
30653
|
* Verify an incoming webhook payload and signature.
|
|
30271
30654
|
*
|
|
30272
30655
|
* This method validates that the webhook request is authentic by:
|
|
30273
|
-
* 1. Verifying the HMAC-SHA256 signature matches the payload
|
|
30656
|
+
* 1. Verifying the HMAC-SHA256 signature matches the payload using the correct signing format
|
|
30274
30657
|
* 2. Optionally checking that the webhook timestamp is within the tolerance window
|
|
30275
30658
|
*
|
|
30659
|
+
* The signature is computed as: `HMAC-SHA256(${webhookId}.${webhookTimestamp}.${payload}, secret)`
|
|
30660
|
+
* and is expected in the format: `v1,base64EncodedSignature`
|
|
30661
|
+
*
|
|
30276
30662
|
* @param {VerifyWebhookParams} params - The verification parameters
|
|
30277
30663
|
* @param {string} params.payload - The raw webhook payload as a string (request body)
|
|
30278
|
-
* @param {string} params.signature - The signature from the webhook
|
|
30664
|
+
* @param {string} params.signature - The signature from the 'webhook-signature' header
|
|
30279
30665
|
* @param {string} params.secret - The webhook secret used to sign the payload
|
|
30666
|
+
* @param {string} params.webhookId - The webhook ID from the 'webhook-id' header
|
|
30667
|
+
* @param {string} params.webhookTimestamp - The timestamp from the 'webhook-timestamp' header (Unix seconds)
|
|
30280
30668
|
* @param {number} [params.tolerance=300] - Maximum allowed age of the webhook in seconds (default: 5 minutes). Set to 0 to disable timestamp validation.
|
|
30281
|
-
* @returns {VerifyWebhookResult} The verified and parsed webhook payload
|
|
30669
|
+
* @returns {VerifyWebhookResult} The verified and parsed webhook payload with version information
|
|
30282
30670
|
*
|
|
30283
30671
|
* @throws {ValidationError} If the parameters are invalid
|
|
30284
30672
|
* @throws {ComposioWebhookSignatureVerificationError} If the signature verification fails
|
|
@@ -30289,14 +30677,17 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
30289
30677
|
* // In an Express.js webhook handler
|
|
30290
30678
|
* app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
|
|
30291
30679
|
* try {
|
|
30292
|
-
* const
|
|
30680
|
+
* const result = composio.triggers.verifyWebhook({
|
|
30293
30681
|
* payload: req.body.toString(),
|
|
30294
|
-
* signature: req.headers['
|
|
30682
|
+
* signature: req.headers['webhook-signature'] as string,
|
|
30683
|
+
* webhookId: req.headers['webhook-id'] as string,
|
|
30684
|
+
* webhookTimestamp: req.headers['webhook-timestamp'] as string,
|
|
30295
30685
|
* secret: process.env.COMPOSIO_WEBHOOK_SECRET!,
|
|
30296
30686
|
* });
|
|
30297
30687
|
*
|
|
30298
30688
|
* // Process the verified payload
|
|
30299
|
-
* console.log('
|
|
30689
|
+
* console.log('Webhook version:', result.version);
|
|
30690
|
+
* console.log('Received trigger:', result.payload.triggerSlug);
|
|
30300
30691
|
* res.status(200).send('OK');
|
|
30301
30692
|
* } catch (error) {
|
|
30302
30693
|
* console.error('Webhook verification failed:', error);
|
|
@@ -30307,7 +30698,29 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
30307
30698
|
*/
|
|
30308
30699
|
verifyWebhook(params: VerifyWebhookParams): VerifyWebhookResult;
|
|
30309
30700
|
/**
|
|
30310
|
-
*
|
|
30701
|
+
* Parses the webhook payload and detects its version (V1, V2, or V3)
|
|
30702
|
+
* @private
|
|
30703
|
+
*/
|
|
30704
|
+
private parseWebhookPayload;
|
|
30705
|
+
/**
|
|
30706
|
+
* Normalizes a V1 webhook payload to IncomingTriggerPayload format
|
|
30707
|
+
* @private
|
|
30708
|
+
*/
|
|
30709
|
+
private normalizeV1Payload;
|
|
30710
|
+
/**
|
|
30711
|
+
* Normalizes a V2 webhook payload to IncomingTriggerPayload format
|
|
30712
|
+
* @private
|
|
30713
|
+
*/
|
|
30714
|
+
private normalizeV2Payload;
|
|
30715
|
+
/**
|
|
30716
|
+
* Normalizes a V3 webhook payload to IncomingTriggerPayload format
|
|
30717
|
+
* @private
|
|
30718
|
+
*/
|
|
30719
|
+
private normalizeV3Payload;
|
|
30720
|
+
/**
|
|
30721
|
+
* Verifies the HMAC-SHA256 signature of a webhook payload.
|
|
30722
|
+
* The signature format used by Composio is: `v1,base64EncodedSignature`
|
|
30723
|
+
* The signing input is: `${msgId}.${timestamp}.${payload}`
|
|
30311
30724
|
* @private
|
|
30312
30725
|
*/
|
|
30313
30726
|
private verifyWebhookSignature;
|
|
@@ -30775,16 +31188,16 @@ declare const MCPServerInstanceSchema: z$1.ZodObject<{
|
|
|
30775
31188
|
}, "strip", z$1.ZodTypeAny, {
|
|
30776
31189
|
name: string;
|
|
30777
31190
|
type: "streamable_http";
|
|
30778
|
-
id: string;
|
|
30779
31191
|
userId: string;
|
|
31192
|
+
id: string;
|
|
30780
31193
|
allowedTools: string[];
|
|
30781
31194
|
url: string;
|
|
30782
31195
|
authConfigs: string[];
|
|
30783
31196
|
}, {
|
|
30784
31197
|
name: string;
|
|
30785
31198
|
type: "streamable_http";
|
|
30786
|
-
id: string;
|
|
30787
31199
|
userId: string;
|
|
31200
|
+
id: string;
|
|
30788
31201
|
allowedTools: string[];
|
|
30789
31202
|
url: string;
|
|
30790
31203
|
authConfigs: string[];
|
|
@@ -30867,8 +31280,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
30867
31280
|
MCPUrl: z$1.ZodString;
|
|
30868
31281
|
}, "strip", z$1.ZodTypeAny, {
|
|
30869
31282
|
name: string;
|
|
30870
|
-
id: string;
|
|
30871
31283
|
authConfigIds: string[];
|
|
31284
|
+
id: string;
|
|
30872
31285
|
allowedTools: string[];
|
|
30873
31286
|
commands: {
|
|
30874
31287
|
cursor: string;
|
|
@@ -30878,8 +31291,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
30878
31291
|
MCPUrl: string;
|
|
30879
31292
|
}, {
|
|
30880
31293
|
name: string;
|
|
30881
|
-
id: string;
|
|
30882
31294
|
authConfigIds: string[];
|
|
31295
|
+
id: string;
|
|
30883
31296
|
allowedTools: string[];
|
|
30884
31297
|
commands: {
|
|
30885
31298
|
cursor: string;
|
|
@@ -30912,15 +31325,15 @@ declare const MCPListParamsSchema: z$1.ZodObject<{
|
|
|
30912
31325
|
authConfigs: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
30913
31326
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
30914
31327
|
}, "strip", z$1.ZodTypeAny, {
|
|
30915
|
-
limit: number;
|
|
30916
31328
|
toolkits: string[];
|
|
31329
|
+
limit: number;
|
|
30917
31330
|
page: number;
|
|
30918
31331
|
authConfigs: string[];
|
|
30919
31332
|
name?: string | undefined;
|
|
30920
31333
|
}, {
|
|
30921
31334
|
name?: string | undefined;
|
|
30922
|
-
limit?: number | undefined;
|
|
30923
31335
|
toolkits?: string[] | undefined;
|
|
31336
|
+
limit?: number | undefined;
|
|
30924
31337
|
page?: number | undefined;
|
|
30925
31338
|
authConfigs?: string[] | undefined;
|
|
30926
31339
|
}>;
|
|
@@ -30977,9 +31390,9 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
30977
31390
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
30978
31391
|
}, "strip", z$1.ZodTypeAny, {
|
|
30979
31392
|
name: string;
|
|
30980
|
-
id: string;
|
|
30981
31393
|
toolkits: string[];
|
|
30982
31394
|
authConfigIds: string[];
|
|
31395
|
+
id: string;
|
|
30983
31396
|
allowedTools: string[];
|
|
30984
31397
|
commands: {
|
|
30985
31398
|
cursor: string;
|
|
@@ -30991,9 +31404,9 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
30991
31404
|
serverInstanceCount: number;
|
|
30992
31405
|
}, {
|
|
30993
31406
|
name: string;
|
|
30994
|
-
id: string;
|
|
30995
31407
|
toolkits: string[];
|
|
30996
31408
|
authConfigIds: string[];
|
|
31409
|
+
id: string;
|
|
30997
31410
|
allowedTools: string[];
|
|
30998
31411
|
commands: {
|
|
30999
31412
|
cursor: string;
|
|
@@ -31058,9 +31471,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
31058
31471
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
31059
31472
|
}, "strip", z$1.ZodTypeAny, {
|
|
31060
31473
|
name: string;
|
|
31061
|
-
id: string;
|
|
31062
31474
|
toolkits: string[];
|
|
31063
31475
|
authConfigIds: string[];
|
|
31476
|
+
id: string;
|
|
31064
31477
|
allowedTools: string[];
|
|
31065
31478
|
commands: {
|
|
31066
31479
|
cursor: string;
|
|
@@ -31072,9 +31485,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
31072
31485
|
serverInstanceCount: number;
|
|
31073
31486
|
}, {
|
|
31074
31487
|
name: string;
|
|
31075
|
-
id: string;
|
|
31076
31488
|
toolkits: string[];
|
|
31077
31489
|
authConfigIds: string[];
|
|
31490
|
+
id: string;
|
|
31078
31491
|
allowedTools: string[];
|
|
31079
31492
|
commands: {
|
|
31080
31493
|
cursor: string;
|
|
@@ -31090,9 +31503,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
31090
31503
|
}, "strip", z$1.ZodTypeAny, {
|
|
31091
31504
|
items: {
|
|
31092
31505
|
name: string;
|
|
31093
|
-
id: string;
|
|
31094
31506
|
toolkits: string[];
|
|
31095
31507
|
authConfigIds: string[];
|
|
31508
|
+
id: string;
|
|
31096
31509
|
allowedTools: string[];
|
|
31097
31510
|
commands: {
|
|
31098
31511
|
cursor: string;
|
|
@@ -31108,9 +31521,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
31108
31521
|
}, {
|
|
31109
31522
|
items: {
|
|
31110
31523
|
name: string;
|
|
31111
|
-
id: string;
|
|
31112
31524
|
toolkits: string[];
|
|
31113
31525
|
authConfigIds: string[];
|
|
31526
|
+
id: string;
|
|
31114
31527
|
allowedTools: string[];
|
|
31115
31528
|
commands: {
|
|
31116
31529
|
cursor: string;
|
|
@@ -31704,55 +32117,6 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
31704
32117
|
//#region src/types/composio.types.d.ts
|
|
31705
32118
|
type ComposioRequestHeaders = Record<string, string>;
|
|
31706
32119
|
//#endregion
|
|
31707
|
-
//#region src/types/files.types.d.ts
|
|
31708
|
-
type FileUploadData = {
|
|
31709
|
-
name: string;
|
|
31710
|
-
mimetype: string;
|
|
31711
|
-
s3key: string;
|
|
31712
|
-
};
|
|
31713
|
-
type FileDownloadData = {
|
|
31714
|
-
name: string;
|
|
31715
|
-
mimeType: string;
|
|
31716
|
-
s3Url: string;
|
|
31717
|
-
filePath: string;
|
|
31718
|
-
};
|
|
31719
|
-
//#endregion
|
|
31720
|
-
//#region src/models/Files.d.ts
|
|
31721
|
-
declare class Files {
|
|
31722
|
-
private readonly client;
|
|
31723
|
-
constructor(client: ComposioClient);
|
|
31724
|
-
/**
|
|
31725
|
-
* Upload a file to S3 and return the file data.
|
|
31726
|
-
* @param filePath - The path to the file to upload or a URL of the file to upload.
|
|
31727
|
-
* @param toolSlug - The slug of the tool that is uploading the file.
|
|
31728
|
-
* @param toolkitSlug - The slug of the toolkit that is uploading the file.
|
|
31729
|
-
* @returns The file data.
|
|
31730
|
-
*/
|
|
31731
|
-
upload({
|
|
31732
|
-
file,
|
|
31733
|
-
toolSlug,
|
|
31734
|
-
toolkitSlug
|
|
31735
|
-
}: {
|
|
31736
|
-
file: File | string;
|
|
31737
|
-
toolSlug: string;
|
|
31738
|
-
toolkitSlug: string;
|
|
31739
|
-
}): Promise<FileUploadData>;
|
|
31740
|
-
/**
|
|
31741
|
-
* Download a file from S3 and return the file data.
|
|
31742
|
-
* @param s3key - The S3 key of the file to download.
|
|
31743
|
-
* @returns The file data.
|
|
31744
|
-
*/
|
|
31745
|
-
download({
|
|
31746
|
-
toolSlug,
|
|
31747
|
-
s3Url,
|
|
31748
|
-
mimeType
|
|
31749
|
-
}: {
|
|
31750
|
-
s3Url: string;
|
|
31751
|
-
toolSlug: string;
|
|
31752
|
-
mimeType: string;
|
|
31753
|
-
}): Promise<FileDownloadData>;
|
|
31754
|
-
}
|
|
31755
|
-
//#endregion
|
|
31756
32120
|
//#region src/types/toolRouter.types.d.ts
|
|
31757
32121
|
declare const MCPServerTypeSchema: z$1.ZodEnum<["http", "sse"]>;
|
|
31758
32122
|
type MCPServerType = z$1.infer<typeof MCPServerTypeSchema>;
|
|
@@ -32105,26 +32469,26 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
32105
32469
|
}>>;
|
|
32106
32470
|
}, "strip", z$1.ZodTypeAny, {
|
|
32107
32471
|
isActive: boolean;
|
|
32108
|
-
connectedAccount?: {
|
|
32109
|
-
status: string;
|
|
32110
|
-
id: string;
|
|
32111
|
-
} | undefined;
|
|
32112
32472
|
authConfig?: {
|
|
32113
32473
|
id: string;
|
|
32114
32474
|
isComposioManaged: boolean;
|
|
32115
32475
|
mode: string;
|
|
32116
32476
|
} | null | undefined;
|
|
32117
|
-
}, {
|
|
32118
|
-
isActive: boolean;
|
|
32119
32477
|
connectedAccount?: {
|
|
32120
32478
|
status: string;
|
|
32121
32479
|
id: string;
|
|
32122
32480
|
} | undefined;
|
|
32481
|
+
}, {
|
|
32482
|
+
isActive: boolean;
|
|
32123
32483
|
authConfig?: {
|
|
32124
32484
|
id: string;
|
|
32125
32485
|
isComposioManaged: boolean;
|
|
32126
32486
|
mode: string;
|
|
32127
32487
|
} | null | undefined;
|
|
32488
|
+
connectedAccount?: {
|
|
32489
|
+
status: string;
|
|
32490
|
+
id: string;
|
|
32491
|
+
} | undefined;
|
|
32128
32492
|
}>>;
|
|
32129
32493
|
}, "strip", z$1.ZodTypeAny, {
|
|
32130
32494
|
slug: string;
|
|
@@ -32133,15 +32497,15 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
32133
32497
|
logo?: string | undefined;
|
|
32134
32498
|
connection?: {
|
|
32135
32499
|
isActive: boolean;
|
|
32136
|
-
connectedAccount?: {
|
|
32137
|
-
status: string;
|
|
32138
|
-
id: string;
|
|
32139
|
-
} | undefined;
|
|
32140
32500
|
authConfig?: {
|
|
32141
32501
|
id: string;
|
|
32142
32502
|
isComposioManaged: boolean;
|
|
32143
32503
|
mode: string;
|
|
32144
32504
|
} | null | undefined;
|
|
32505
|
+
connectedAccount?: {
|
|
32506
|
+
status: string;
|
|
32507
|
+
id: string;
|
|
32508
|
+
} | undefined;
|
|
32145
32509
|
} | undefined;
|
|
32146
32510
|
}, {
|
|
32147
32511
|
slug: string;
|
|
@@ -32150,15 +32514,15 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
32150
32514
|
isNoAuth?: boolean | undefined;
|
|
32151
32515
|
connection?: {
|
|
32152
32516
|
isActive: boolean;
|
|
32153
|
-
connectedAccount?: {
|
|
32154
|
-
status: string;
|
|
32155
|
-
id: string;
|
|
32156
|
-
} | undefined;
|
|
32157
32517
|
authConfig?: {
|
|
32158
32518
|
id: string;
|
|
32159
32519
|
isComposioManaged: boolean;
|
|
32160
32520
|
mode: string;
|
|
32161
32521
|
} | null | undefined;
|
|
32522
|
+
connectedAccount?: {
|
|
32523
|
+
status: string;
|
|
32524
|
+
id: string;
|
|
32525
|
+
} | undefined;
|
|
32162
32526
|
} | undefined;
|
|
32163
32527
|
}>;
|
|
32164
32528
|
declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
@@ -32194,26 +32558,26 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32194
32558
|
}>>;
|
|
32195
32559
|
}, "strip", z$1.ZodTypeAny, {
|
|
32196
32560
|
isActive: boolean;
|
|
32197
|
-
connectedAccount?: {
|
|
32198
|
-
status: string;
|
|
32199
|
-
id: string;
|
|
32200
|
-
} | undefined;
|
|
32201
32561
|
authConfig?: {
|
|
32202
32562
|
id: string;
|
|
32203
32563
|
isComposioManaged: boolean;
|
|
32204
32564
|
mode: string;
|
|
32205
32565
|
} | null | undefined;
|
|
32206
|
-
}, {
|
|
32207
|
-
isActive: boolean;
|
|
32208
32566
|
connectedAccount?: {
|
|
32209
32567
|
status: string;
|
|
32210
32568
|
id: string;
|
|
32211
32569
|
} | undefined;
|
|
32570
|
+
}, {
|
|
32571
|
+
isActive: boolean;
|
|
32212
32572
|
authConfig?: {
|
|
32213
32573
|
id: string;
|
|
32214
32574
|
isComposioManaged: boolean;
|
|
32215
32575
|
mode: string;
|
|
32216
32576
|
} | null | undefined;
|
|
32577
|
+
connectedAccount?: {
|
|
32578
|
+
status: string;
|
|
32579
|
+
id: string;
|
|
32580
|
+
} | undefined;
|
|
32217
32581
|
}>>;
|
|
32218
32582
|
}, "strip", z$1.ZodTypeAny, {
|
|
32219
32583
|
slug: string;
|
|
@@ -32222,15 +32586,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32222
32586
|
logo?: string | undefined;
|
|
32223
32587
|
connection?: {
|
|
32224
32588
|
isActive: boolean;
|
|
32225
|
-
connectedAccount?: {
|
|
32226
|
-
status: string;
|
|
32227
|
-
id: string;
|
|
32228
|
-
} | undefined;
|
|
32229
32589
|
authConfig?: {
|
|
32230
32590
|
id: string;
|
|
32231
32591
|
isComposioManaged: boolean;
|
|
32232
32592
|
mode: string;
|
|
32233
32593
|
} | null | undefined;
|
|
32594
|
+
connectedAccount?: {
|
|
32595
|
+
status: string;
|
|
32596
|
+
id: string;
|
|
32597
|
+
} | undefined;
|
|
32234
32598
|
} | undefined;
|
|
32235
32599
|
}, {
|
|
32236
32600
|
slug: string;
|
|
@@ -32239,15 +32603,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32239
32603
|
isNoAuth?: boolean | undefined;
|
|
32240
32604
|
connection?: {
|
|
32241
32605
|
isActive: boolean;
|
|
32242
|
-
connectedAccount?: {
|
|
32243
|
-
status: string;
|
|
32244
|
-
id: string;
|
|
32245
|
-
} | undefined;
|
|
32246
32606
|
authConfig?: {
|
|
32247
32607
|
id: string;
|
|
32248
32608
|
isComposioManaged: boolean;
|
|
32249
32609
|
mode: string;
|
|
32250
32610
|
} | null | undefined;
|
|
32611
|
+
connectedAccount?: {
|
|
32612
|
+
status: string;
|
|
32613
|
+
id: string;
|
|
32614
|
+
} | undefined;
|
|
32251
32615
|
} | undefined;
|
|
32252
32616
|
}>, "many">;
|
|
32253
32617
|
nextCursor: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -32260,15 +32624,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32260
32624
|
logo?: string | undefined;
|
|
32261
32625
|
connection?: {
|
|
32262
32626
|
isActive: boolean;
|
|
32263
|
-
connectedAccount?: {
|
|
32264
|
-
status: string;
|
|
32265
|
-
id: string;
|
|
32266
|
-
} | undefined;
|
|
32267
32627
|
authConfig?: {
|
|
32268
32628
|
id: string;
|
|
32269
32629
|
isComposioManaged: boolean;
|
|
32270
32630
|
mode: string;
|
|
32271
32631
|
} | null | undefined;
|
|
32632
|
+
connectedAccount?: {
|
|
32633
|
+
status: string;
|
|
32634
|
+
id: string;
|
|
32635
|
+
} | undefined;
|
|
32272
32636
|
} | undefined;
|
|
32273
32637
|
}[];
|
|
32274
32638
|
totalPages: number;
|
|
@@ -32281,15 +32645,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32281
32645
|
isNoAuth?: boolean | undefined;
|
|
32282
32646
|
connection?: {
|
|
32283
32647
|
isActive: boolean;
|
|
32284
|
-
connectedAccount?: {
|
|
32285
|
-
status: string;
|
|
32286
|
-
id: string;
|
|
32287
|
-
} | undefined;
|
|
32288
32648
|
authConfig?: {
|
|
32289
32649
|
id: string;
|
|
32290
32650
|
isComposioManaged: boolean;
|
|
32291
32651
|
mode: string;
|
|
32292
32652
|
} | null | undefined;
|
|
32653
|
+
connectedAccount?: {
|
|
32654
|
+
status: string;
|
|
32655
|
+
id: string;
|
|
32656
|
+
} | undefined;
|
|
32293
32657
|
} | undefined;
|
|
32294
32658
|
}[];
|
|
32295
32659
|
totalPages: number;
|
|
@@ -32322,15 +32686,15 @@ declare const ToolRouterToolkitsOptionsSchema: z$1.ZodObject<{
|
|
|
32322
32686
|
isConnected: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
32323
32687
|
search: z$1.ZodOptional<z$1.ZodString>;
|
|
32324
32688
|
}, "strip", z$1.ZodTypeAny, {
|
|
32325
|
-
limit?: number | undefined;
|
|
32326
32689
|
nextCursor?: string | undefined;
|
|
32327
32690
|
toolkits?: string[] | undefined;
|
|
32691
|
+
limit?: number | undefined;
|
|
32328
32692
|
search?: string | undefined;
|
|
32329
32693
|
isConnected?: boolean | undefined;
|
|
32330
32694
|
}, {
|
|
32331
|
-
limit?: number | undefined;
|
|
32332
32695
|
nextCursor?: string | undefined;
|
|
32333
32696
|
toolkits?: string[] | undefined;
|
|
32697
|
+
limit?: number | undefined;
|
|
32334
32698
|
search?: string | undefined;
|
|
32335
32699
|
isConnected?: boolean | undefined;
|
|
32336
32700
|
}>;
|
|
@@ -33276,4 +33640,4 @@ declare class ComposioWebhookPayloadError extends ComposioError {
|
|
|
33276
33640
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
33277
33641
|
}
|
|
33278
33642
|
//#endregion
|
|
33279
|
-
export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDownloadData, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, SchemaModifierOptions, SessionExecuteMetaModifiers, SessionMetaToolOptions, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
|
|
33643
|
+
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 };
|