@composio/core 0.6.8 → 0.6.10
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/{CustomTool-B0B7kvyW.d.cts → CustomTool-BpjZfEYa.d.cts} +1 -1
- package/dist/{CustomTool-nLGl-RUg.d.mts → CustomTool-w_JFqb4t.d.mts} +1 -1
- package/dist/{composio-C9ZY8W1y.d.cts → composio-CQuG4JPT.d.cts} +32 -8
- package/dist/{composio-DILWMxRU.d.mts → composio-HztGH0kt.d.mts} +32 -8
- package/dist/{customTool.types-CfFdeYee.d.cts → customTool.types-BxvwmFDN.d.cts} +96 -8
- package/dist/{customTool.types-B-4lZeSS.d.mts → customTool.types-CBLEoQnI.d.mts} +96 -8
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.mts +2 -2
- package/dist/index.cjs +85 -11
- package/dist/index.d.cts +5 -4
- package/dist/index.d.mts +5 -4
- package/dist/index.mjs +85 -12
- package/dist/{types-CKcBI3lc.d.mts → types-BZc_R1DA.d.mts} +1 -1
- package/dist/{types-CpfFMvWX.d.cts → types-CJQ9IGrf.d.cts} +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +3 -3
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +3 -3
- package/package.json +4 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { $t as ConnectionData, G as BaseComposioProvider, L as SessionMetaToolOptions, en as ConnectionDataSchema, o as Tool, v as ToolProxyParams } from "./tool.types-bencsexi.mjs";
|
|
2
2
|
import { Composio } from "@composio/client";
|
|
3
3
|
import z, { z as z$1 } from "zod/v3";
|
|
4
|
+
import { ConnectedAccountPatchParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
|
|
4
5
|
import { ToolExecuteResponse } from "@composio/client/resources/tools";
|
|
5
6
|
import { SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
|
|
6
7
|
|
|
@@ -68,12 +69,14 @@ declare const DefaultCreateConnectedAccountParamsSchema: z$1.ZodType<{
|
|
|
68
69
|
data?: Record<string, unknown>;
|
|
69
70
|
callback_url?: string;
|
|
70
71
|
user_id?: string;
|
|
72
|
+
alias?: string;
|
|
71
73
|
};
|
|
72
74
|
}>;
|
|
73
75
|
declare const CreateConnectedAccountOptionsSchema: z$1.ZodType<{
|
|
74
76
|
allowMultiple?: boolean;
|
|
75
77
|
callbackUrl?: string;
|
|
76
78
|
config?: z$1.infer<typeof ConnectionDataSchema>;
|
|
79
|
+
alias?: string;
|
|
77
80
|
}>;
|
|
78
81
|
type CreateConnectedAccountOptions = z$1.infer<typeof CreateConnectedAccountOptionsSchema>;
|
|
79
82
|
type CreateConnectedAccountParams = z$1.infer<typeof CreateConnectedAccountParamsSchema>;
|
|
@@ -115,6 +118,8 @@ type ConnectedAccountAuthConfig = z$1.infer<typeof ConnectedAccountAuthConfigSch
|
|
|
115
118
|
declare const ConnectedAccountRetrieveResponseSchema: z$1.ZodType<{
|
|
116
119
|
id: string;
|
|
117
120
|
authConfig: z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
121
|
+
wordId?: string | null;
|
|
122
|
+
alias?: string | null;
|
|
118
123
|
/** @deprecated use connectedAccount.state instead */
|
|
119
124
|
data?: Record<string, unknown>;
|
|
120
125
|
/** @deprecated use connectedAccount.state instead */
|
|
@@ -165,6 +170,8 @@ declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
|
|
|
165
170
|
items: z$1.ZodArray<z$1.ZodType<{
|
|
166
171
|
id: string;
|
|
167
172
|
authConfig: z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
173
|
+
wordId?: string | null;
|
|
174
|
+
alias?: string | null;
|
|
168
175
|
/** @deprecated use connectedAccount.state instead */
|
|
169
176
|
data?: Record<string, unknown>;
|
|
170
177
|
/** @deprecated use connectedAccount.state instead */
|
|
@@ -182,6 +189,8 @@ declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
|
|
|
182
189
|
}, z$1.ZodTypeDef, {
|
|
183
190
|
id: string;
|
|
184
191
|
authConfig: z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
192
|
+
wordId?: string | null;
|
|
193
|
+
alias?: string | null;
|
|
185
194
|
/** @deprecated use connectedAccount.state instead */
|
|
186
195
|
data?: Record<string, unknown>;
|
|
187
196
|
/** @deprecated use connectedAccount.state instead */
|
|
@@ -203,6 +212,8 @@ declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
|
|
|
203
212
|
items: {
|
|
204
213
|
id: string;
|
|
205
214
|
authConfig: z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
215
|
+
wordId?: string | null;
|
|
216
|
+
alias?: string | null;
|
|
206
217
|
/** @deprecated use connectedAccount.state instead */
|
|
207
218
|
data?: Record<string, unknown>;
|
|
208
219
|
/** @deprecated use connectedAccount.state instead */
|
|
@@ -224,6 +235,8 @@ declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
|
|
|
224
235
|
items: {
|
|
225
236
|
id: string;
|
|
226
237
|
authConfig: z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
238
|
+
wordId?: string | null;
|
|
239
|
+
alias?: string | null;
|
|
227
240
|
/** @deprecated use connectedAccount.state instead */
|
|
228
241
|
data?: Record<string, unknown>;
|
|
229
242
|
/** @deprecated use connectedAccount.state instead */
|
|
@@ -254,10 +267,16 @@ declare const CreateConnectedAccountLinkOptionsSchema: z$1.ZodObject<{
|
|
|
254
267
|
*
|
|
255
268
|
*/
|
|
256
269
|
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
270
|
+
/**
|
|
271
|
+
* Human-readable alias for the connected account. Must be unique per userId and toolkit within the project.
|
|
272
|
+
*/
|
|
273
|
+
alias: z$1.ZodOptional<z$1.ZodString>;
|
|
257
274
|
}, "strip", z$1.ZodTypeAny, {
|
|
258
275
|
callbackUrl?: string | undefined;
|
|
276
|
+
alias?: string | undefined;
|
|
259
277
|
}, {
|
|
260
278
|
callbackUrl?: string | undefined;
|
|
279
|
+
alias?: string | undefined;
|
|
261
280
|
}>;
|
|
262
281
|
type CreateConnectedAccountLinkOptions = z$1.infer<typeof CreateConnectedAccountLinkOptionsSchema>;
|
|
263
282
|
declare const CreateConnectedAccountLinkResponseSchema: z$1.ZodObject<{
|
|
@@ -279,6 +298,47 @@ declare const ConnectedAccountRefreshOptionsSchema: z$1.ZodObject<{
|
|
|
279
298
|
validateCredentials?: boolean | undefined;
|
|
280
299
|
}>;
|
|
281
300
|
type ConnectedAccountRefreshOptions = z$1.infer<typeof ConnectedAccountRefreshOptionsSchema>;
|
|
301
|
+
declare const UpdateConnectedAccountParamsSchema: z$1.ZodObject<{
|
|
302
|
+
alias: z$1.ZodOptional<z$1.ZodString>;
|
|
303
|
+
connection: z$1.ZodOptional<z$1.ZodObject<{
|
|
304
|
+
state: z$1.ZodObject<{
|
|
305
|
+
authScheme: z$1.ZodEnum<["BEARER_TOKEN", "API_KEY", "BASIC", "BASIC_WITH_JWT", "GOOGLE_SERVICE_ACCOUNT", "SERVICE_ACCOUNT"]>;
|
|
306
|
+
val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
307
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
308
|
+
authScheme: "API_KEY" | "BASIC" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "BASIC_WITH_JWT" | "SERVICE_ACCOUNT";
|
|
309
|
+
val: Record<string, unknown>;
|
|
310
|
+
}, {
|
|
311
|
+
authScheme: "API_KEY" | "BASIC" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "BASIC_WITH_JWT" | "SERVICE_ACCOUNT";
|
|
312
|
+
val: Record<string, unknown>;
|
|
313
|
+
}>;
|
|
314
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
315
|
+
state: {
|
|
316
|
+
authScheme: "API_KEY" | "BASIC" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "BASIC_WITH_JWT" | "SERVICE_ACCOUNT";
|
|
317
|
+
val: Record<string, unknown>;
|
|
318
|
+
};
|
|
319
|
+
}, {
|
|
320
|
+
state: {
|
|
321
|
+
authScheme: "API_KEY" | "BASIC" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "BASIC_WITH_JWT" | "SERVICE_ACCOUNT";
|
|
322
|
+
val: Record<string, unknown>;
|
|
323
|
+
};
|
|
324
|
+
}>>;
|
|
325
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
326
|
+
connection?: {
|
|
327
|
+
state: {
|
|
328
|
+
authScheme: "API_KEY" | "BASIC" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "BASIC_WITH_JWT" | "SERVICE_ACCOUNT";
|
|
329
|
+
val: Record<string, unknown>;
|
|
330
|
+
};
|
|
331
|
+
} | undefined;
|
|
332
|
+
alias?: string | undefined;
|
|
333
|
+
}, {
|
|
334
|
+
connection?: {
|
|
335
|
+
state: {
|
|
336
|
+
authScheme: "API_KEY" | "BASIC" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "BASIC_WITH_JWT" | "SERVICE_ACCOUNT";
|
|
337
|
+
val: Record<string, unknown>;
|
|
338
|
+
};
|
|
339
|
+
} | undefined;
|
|
340
|
+
alias?: string | undefined;
|
|
341
|
+
}>;
|
|
282
342
|
//#endregion
|
|
283
343
|
//#region src/types/connectionRequest.types.d.ts
|
|
284
344
|
interface ConnectionRequestState {
|
|
@@ -883,6 +943,19 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
883
943
|
enableProxyExecution?: boolean | undefined;
|
|
884
944
|
autoOffloadThreshold?: number | undefined;
|
|
885
945
|
}>>>;
|
|
946
|
+
multiAccount: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
947
|
+
enable: z.ZodDefault<z.ZodBoolean>;
|
|
948
|
+
maxAccountsPerToolkit: z.ZodOptional<z.ZodNumber>;
|
|
949
|
+
requireExplicitSelection: z.ZodOptional<z.ZodBoolean>;
|
|
950
|
+
}, "strip", z.ZodTypeAny, {
|
|
951
|
+
enable: boolean;
|
|
952
|
+
maxAccountsPerToolkit?: number | undefined;
|
|
953
|
+
requireExplicitSelection?: boolean | undefined;
|
|
954
|
+
}, {
|
|
955
|
+
enable?: boolean | undefined;
|
|
956
|
+
maxAccountsPerToolkit?: number | undefined;
|
|
957
|
+
requireExplicitSelection?: boolean | undefined;
|
|
958
|
+
}>>>;
|
|
886
959
|
experimental: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
887
960
|
assistivePrompt: z.ZodOptional<z.ZodObject<{
|
|
888
961
|
userTimezone: z.ZodOptional<z.ZodString>;
|
|
@@ -938,6 +1011,11 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
938
1011
|
enableProxyExecution?: boolean | undefined;
|
|
939
1012
|
autoOffloadThreshold?: number | undefined;
|
|
940
1013
|
} | undefined;
|
|
1014
|
+
multiAccount?: {
|
|
1015
|
+
enable: boolean;
|
|
1016
|
+
maxAccountsPerToolkit?: number | undefined;
|
|
1017
|
+
requireExplicitSelection?: boolean | undefined;
|
|
1018
|
+
} | undefined;
|
|
941
1019
|
experimental?: {
|
|
942
1020
|
assistivePrompt?: {
|
|
943
1021
|
userTimezone?: string | undefined;
|
|
@@ -977,6 +1055,11 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
977
1055
|
enableProxyExecution?: boolean | undefined;
|
|
978
1056
|
autoOffloadThreshold?: number | undefined;
|
|
979
1057
|
} | undefined;
|
|
1058
|
+
multiAccount?: {
|
|
1059
|
+
enable?: boolean | undefined;
|
|
1060
|
+
maxAccountsPerToolkit?: number | undefined;
|
|
1061
|
+
requireExplicitSelection?: boolean | undefined;
|
|
1062
|
+
} | undefined;
|
|
980
1063
|
experimental?: {
|
|
981
1064
|
assistivePrompt?: {
|
|
982
1065
|
userTimezone?: string | undefined;
|
|
@@ -1000,6 +1083,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
1000
1083
|
* @param {boolean} [workbench.enable] - Whether to enable the workbench entirely. Defaults to true. When false, no code execution tools are available.
|
|
1001
1084
|
* @param {boolean} [workbench.enableProxyExecution] - Whether to enable proxy execution
|
|
1002
1085
|
* @param {number} [workbench.autoOffloadThreshold] - Auto offload threshold in characters for moving execution to workbench
|
|
1086
|
+
* @param {object} [multiAccount] - Multi-account configuration for this session
|
|
1087
|
+
* @param {boolean} [multiAccount.enable] - When true, enables multi-account mode. Falls back to org/project-level config when not set.
|
|
1088
|
+
* @param {number} [multiAccount.maxAccountsPerToolkit] - Max connected accounts per toolkit (2-10, default 5)
|
|
1089
|
+
* @param {boolean} [multiAccount.requireExplicitSelection] - When true, require explicit account selection when multiple accounts are connected
|
|
1003
1090
|
*/
|
|
1004
1091
|
type ToolRouterCreateSessionConfig = z.infer<typeof ToolRouterCreateSessionConfigSchema>;
|
|
1005
1092
|
declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
@@ -1243,6 +1330,7 @@ type ToolRouterMCPServerConfig = z.infer<typeof ToolRouterMCPServerConfigSchema>
|
|
|
1243
1330
|
type ToolRouterToolsFn<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> = (modifiers?: SessionMetaToolOptions) => Promise<ReturnType<TProvider['wrapTools']>>;
|
|
1244
1331
|
type ToolRouterAuthorizeFn = (toolkit: string, options?: {
|
|
1245
1332
|
callbackUrl?: string;
|
|
1333
|
+
alias?: string;
|
|
1246
1334
|
}) => Promise<ConnectionRequest>;
|
|
1247
1335
|
declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
|
|
1248
1336
|
toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1341,20 +1429,20 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
1341
1429
|
}, {
|
|
1342
1430
|
toolSlugs: string[];
|
|
1343
1431
|
}>;
|
|
1344
|
-
message: z.ZodString
|
|
1432
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1345
1433
|
tool: z.ZodLiteral<"COMPOSIO_GET_TOOL_SCHEMAS">;
|
|
1346
1434
|
}, "strip", z.ZodTypeAny, {
|
|
1347
|
-
message: string;
|
|
1348
1435
|
args: {
|
|
1349
1436
|
toolSlugs: string[];
|
|
1350
1437
|
};
|
|
1351
1438
|
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
1439
|
+
message?: string | undefined;
|
|
1352
1440
|
}, {
|
|
1353
|
-
message: string;
|
|
1354
1441
|
args: {
|
|
1355
1442
|
toolSlugs: string[];
|
|
1356
1443
|
};
|
|
1357
1444
|
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
1445
|
+
message?: string | undefined;
|
|
1358
1446
|
}>>;
|
|
1359
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1360
1448
|
toolkit: string;
|
|
@@ -1364,11 +1452,11 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
1364
1452
|
inputSchema?: Record<string, unknown> | undefined;
|
|
1365
1453
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1366
1454
|
schemaRef?: {
|
|
1367
|
-
message: string;
|
|
1368
1455
|
args: {
|
|
1369
1456
|
toolSlugs: string[];
|
|
1370
1457
|
};
|
|
1371
1458
|
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
1459
|
+
message?: string | undefined;
|
|
1372
1460
|
} | undefined;
|
|
1373
1461
|
}, {
|
|
1374
1462
|
toolkit: string;
|
|
@@ -1378,11 +1466,11 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
1378
1466
|
inputSchema?: Record<string, unknown> | undefined;
|
|
1379
1467
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1380
1468
|
schemaRef?: {
|
|
1381
|
-
message: string;
|
|
1382
1469
|
args: {
|
|
1383
1470
|
toolSlugs: string[];
|
|
1384
1471
|
};
|
|
1385
1472
|
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
1473
|
+
message?: string | undefined;
|
|
1386
1474
|
} | undefined;
|
|
1387
1475
|
}>>;
|
|
1388
1476
|
toolkitConnectionStatuses: z.ZodArray<z.ZodObject<{
|
|
@@ -1463,11 +1551,11 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
1463
1551
|
inputSchema?: Record<string, unknown> | undefined;
|
|
1464
1552
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1465
1553
|
schemaRef?: {
|
|
1466
|
-
message: string;
|
|
1467
1554
|
args: {
|
|
1468
1555
|
toolSlugs: string[];
|
|
1469
1556
|
};
|
|
1470
1557
|
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
1558
|
+
message?: string | undefined;
|
|
1471
1559
|
} | undefined;
|
|
1472
1560
|
}>;
|
|
1473
1561
|
toolkitConnectionStatuses: {
|
|
@@ -1518,11 +1606,11 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
1518
1606
|
inputSchema?: Record<string, unknown> | undefined;
|
|
1519
1607
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1520
1608
|
schemaRef?: {
|
|
1521
|
-
message: string;
|
|
1522
1609
|
args: {
|
|
1523
1610
|
toolSlugs: string[];
|
|
1524
1611
|
};
|
|
1525
1612
|
tool: "COMPOSIO_GET_TOOL_SCHEMAS";
|
|
1613
|
+
message?: string | undefined;
|
|
1526
1614
|
} | undefined;
|
|
1527
1615
|
}>;
|
|
1528
1616
|
toolkitConnectionStatuses: {
|
|
@@ -1857,4 +1945,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
|
|
|
1857
1945
|
/** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
|
|
1858
1946
|
type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
|
|
1859
1947
|
//#endregion
|
|
1860
|
-
export { ToolRouterToolkitsFn as $, ToolRouterAuthorizeFn as A, ConnectedAccountListParamsSchema as At, ToolRouterManageConnectionsConfigSchema as B, ConnectedAccountStatusSchema as Bt, SessionContext as C, ToolRouterSessionFilesMountUploadOptions as Ct, SessionExperimental as D, ConnectedAccountAuthConfig as Dt, Session as E, ConnectionRequestState as Et, ToolRouterConfigToolsSchema as F, ConnectedAccountRefreshOptionsSchema as Ft, ToolRouterSessionProxyExecuteResponse as G, CreateConnectedAccountLinkResponseSchema as Gt, ToolRouterSessionExecuteResponse as H, CreateConnectedAccountLinkOptions as Ht, ToolRouterCreateSessionConfig as I, ConnectedAccountRetrieveResponse as It, ToolRouterSessionSearchResponseSchema as J, CreateConnectedAccountParams as Jt, ToolRouterSessionSearchFn as K, CreateConnectedAccountOptions as Kt, ToolRouterCreateSessionConfigSchema as L, ConnectedAccountRetrieveResponseSchema as Lt, ToolRouterConfigTags as M, ConnectedAccountListResponseItem as Mt, ToolRouterConfigTagsSchema as N, ConnectedAccountListResponseSchema as Nt, SessionProxyExecuteParams as O, ConnectedAccountAuthConfigSchema as Ot, ToolRouterConfigTools as P, ConnectedAccountRefreshOptions as Pt, ToolRouterToolkitsEnabledConfigSchema as Q, DefaultCreateConnectedAccountParamsSchema as Qt, ToolRouterMCPServerConfig as R, ConnectedAccountStatus as Rt, RegisteredCustomToolkit as S, ToolRouterSessionFilesMountListOptionsSchema as St, MCPServerTypeSchema as T, ConnectionRequest as Tt, ToolRouterSessionExecuteResponseSchema as U, CreateConnectedAccountLinkOptionsSchema as Ut, ToolRouterSessionExecuteFn as V, ConnectedAccountStatuses as Vt, ToolRouterSessionProxyExecuteFn as W, CreateConnectedAccountLinkResponse as Wt, ToolRouterTagsParamSchema as X, CreateConnectedAccountResponse as Xt, ToolRouterTagsEnableDisableSchema as Y, CreateConnectedAccountParamsSchema as Yt, ToolRouterToolkitsDisabledConfigSchema as Z, CreateConnectedAccountResponseSchema as Zt, CustomToolsMap as _, ToolRouterSessionFilesMountDeleteOptions as _t, CustomTool as a, ToolRouterToolsParamSchema as at, InputParamsSchema as b, ToolRouterSessionFilesMountDownloadOptionsSchema as bt, CustomToolInputParameter as c, ToolkitConnectionsDetails as ct, CustomToolRegistryItem as d, FileDeleteResponse as dt, ToolRouterToolkitsOptions as et, CustomToolResponse as f, FileDeleteResponseSchema as ft, CustomToolkitResponse as g, RemoteFileDataSchema as gt, CustomToolkitDefinition as h, RemoteFileData as ht, CreateCustomToolkitParams as i, ToolRouterToolsParam as it, ToolRouterConfigManageConnectionsSchema as j, ConnectedAccountListResponse as jt, SessionProxyExecuteParamsSchema as k, ConnectedAccountListParams as kt, CustomToolOptions as l, ToolkitConnectionsDetailsSchema as lt, CustomToolkit as m, FileListResponseSchema as mt, CreateCustomToolParams as n, ToolRouterToolkitsParamSchema as nt, CustomToolDefinition as o, ToolkitConnectionState as ot, CustomToolSlugSchema as p, FileListResponse as pt, ToolRouterSessionSearchResponse as q, CreateConnectedAccountOptionsSchema as qt, CreateCustomToolkitBaseSchema as r, ToolRouterToolsFn as rt, CustomToolExecuteFn as s, ToolkitConnectionStateSchema as st, CreateCustomToolBaseSchema as t, ToolRouterToolkitsOptionsSchema as tt, CustomToolRegistry as u, RemoteFile as ut, CustomToolsMapEntry as v, ToolRouterSessionFilesMountDeleteOptionsSchema as vt, MCPServerType as w, ToolRouterSessionFilesMountUploadOptionsSchema as wt, RegisteredCustomTool as x, ToolRouterSessionFilesMountListOptions as xt, ExecuteMetadata as y, ToolRouterSessionFilesMountDownloadOptions as yt, ToolRouterMCPServerConfigSchema as z, ConnectedAccountStatusEnum as zt };
|
|
1948
|
+
export { ToolRouterToolkitsFn as $, UpdateConnectedAccountParams as $t, ToolRouterAuthorizeFn as A, ConnectedAccountListParamsSchema as At, ToolRouterManageConnectionsConfigSchema as B, ConnectedAccountStatusSchema as Bt, SessionContext as C, ToolRouterSessionFilesMountUploadOptions as Ct, SessionExperimental as D, ConnectedAccountAuthConfig as Dt, Session as E, ConnectionRequestState as Et, ToolRouterConfigToolsSchema as F, ConnectedAccountRefreshOptionsSchema as Ft, ToolRouterSessionProxyExecuteResponse as G, CreateConnectedAccountLinkResponseSchema as Gt, ToolRouterSessionExecuteResponse as H, CreateConnectedAccountLinkOptions as Ht, ToolRouterCreateSessionConfig as I, ConnectedAccountRetrieveResponse as It, ToolRouterSessionSearchResponseSchema as J, CreateConnectedAccountParams as Jt, ToolRouterSessionSearchFn as K, CreateConnectedAccountOptions as Kt, ToolRouterCreateSessionConfigSchema as L, ConnectedAccountRetrieveResponseSchema as Lt, ToolRouterConfigTags as M, ConnectedAccountListResponseItem as Mt, ToolRouterConfigTagsSchema as N, ConnectedAccountListResponseSchema as Nt, SessionProxyExecuteParams as O, ConnectedAccountAuthConfigSchema as Ot, ToolRouterConfigTools as P, ConnectedAccountRefreshOptions as Pt, ToolRouterToolkitsEnabledConfigSchema as Q, DefaultCreateConnectedAccountParamsSchema as Qt, ToolRouterMCPServerConfig as R, ConnectedAccountStatus as Rt, RegisteredCustomToolkit as S, ToolRouterSessionFilesMountListOptionsSchema as St, MCPServerTypeSchema as T, ConnectionRequest as Tt, ToolRouterSessionExecuteResponseSchema as U, CreateConnectedAccountLinkOptionsSchema as Ut, ToolRouterSessionExecuteFn as V, ConnectedAccountStatuses as Vt, ToolRouterSessionProxyExecuteFn as W, CreateConnectedAccountLinkResponse as Wt, ToolRouterTagsParamSchema as X, CreateConnectedAccountResponse as Xt, ToolRouterTagsEnableDisableSchema as Y, CreateConnectedAccountParamsSchema as Yt, ToolRouterToolkitsDisabledConfigSchema as Z, CreateConnectedAccountResponseSchema as Zt, CustomToolsMap as _, ToolRouterSessionFilesMountDeleteOptions as _t, CustomTool as a, ToolRouterToolsParamSchema as at, InputParamsSchema as b, ToolRouterSessionFilesMountDownloadOptionsSchema as bt, CustomToolInputParameter as c, ToolkitConnectionsDetails as ct, CustomToolRegistryItem as d, FileDeleteResponse as dt, UpdateConnectedAccountParamsSchema as en, ToolRouterToolkitsOptions as et, CustomToolResponse as f, FileDeleteResponseSchema as ft, CustomToolkitResponse as g, RemoteFileDataSchema as gt, CustomToolkitDefinition as h, RemoteFileData as ht, CreateCustomToolkitParams as i, ToolRouterToolsParam as it, ToolRouterConfigManageConnectionsSchema as j, ConnectedAccountListResponse as jt, SessionProxyExecuteParamsSchema as k, ConnectedAccountListParams as kt, CustomToolOptions as l, ToolkitConnectionsDetailsSchema as lt, CustomToolkit as m, FileListResponseSchema as mt, CreateCustomToolParams as n, ToolRouterToolkitsParamSchema as nt, CustomToolDefinition as o, ToolkitConnectionState as ot, CustomToolSlugSchema as p, FileListResponse as pt, ToolRouterSessionSearchResponse as q, CreateConnectedAccountOptionsSchema as qt, CreateCustomToolkitBaseSchema as r, ToolRouterToolsFn as rt, CustomToolExecuteFn as s, ToolkitConnectionStateSchema as st, CreateCustomToolBaseSchema as t, ToolRouterToolkitsOptionsSchema as tt, CustomToolRegistry as u, RemoteFile as ut, CustomToolsMapEntry as v, ToolRouterSessionFilesMountDeleteOptionsSchema as vt, MCPServerType as w, ToolRouterSessionFilesMountUploadOptionsSchema as wt, RegisteredCustomTool as x, ToolRouterSessionFilesMountListOptions as xt, ExecuteMetadata as y, ToolRouterSessionFilesMountDownloadOptions as yt, ToolRouterMCPServerConfigSchema as z, ConnectedAccountStatusEnum as zt };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as SessionContext, a as CustomTool, i as CreateCustomToolkitParams, m as CustomToolkit, n as CreateCustomToolParams, s as CustomToolExecuteFn } from "../customTool.types-
|
|
2
|
-
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-
|
|
1
|
+
import { C as SessionContext, a as CustomTool, i as CreateCustomToolkitParams, m as CustomToolkit, n as CreateCustomToolParams, s as CustomToolExecuteFn } from "../customTool.types-BxvwmFDN.cjs";
|
|
2
|
+
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-BpjZfEYa.cjs";
|
|
3
3
|
export { type CreateCustomToolParams, type CreateCustomToolkitParams, type CustomTool, type CustomToolExecuteFn, type CustomToolkit, type SessionContext, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../tool.types-bencsexi.mjs";
|
|
2
|
-
import { C as SessionContext, a as CustomTool, i as CreateCustomToolkitParams, m as CustomToolkit, n as CreateCustomToolParams, s as CustomToolExecuteFn } from "../customTool.types-
|
|
3
|
-
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-
|
|
2
|
+
import { C as SessionContext, a as CustomTool, i as CreateCustomToolkitParams, m as CustomToolkit, n as CreateCustomToolParams, s as CustomToolExecuteFn } from "../customTool.types-CBLEoQnI.mjs";
|
|
3
|
+
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-w_JFqb4t.mjs";
|
|
4
4
|
export { type CreateCustomToolParams, type CreateCustomToolkitParams, type CustomTool, type CustomToolExecuteFn, type CustomToolkit, type SessionContext, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
|
package/dist/index.cjs
CHANGED
|
@@ -1040,13 +1040,15 @@ const DefaultCreateConnectedAccountParamsSchema = zod_v3.z.object({
|
|
|
1040
1040
|
state: ConnectionDataSchema.optional(),
|
|
1041
1041
|
data: zod_v3.z.record(zod_v3.z.string(), zod_v3.z.unknown()).optional(),
|
|
1042
1042
|
callback_url: zod_v3.z.string().optional(),
|
|
1043
|
-
user_id: zod_v3.z.string().optional()
|
|
1043
|
+
user_id: zod_v3.z.string().optional(),
|
|
1044
|
+
alias: zod_v3.z.string().optional()
|
|
1044
1045
|
})
|
|
1045
1046
|
});
|
|
1046
1047
|
const CreateConnectedAccountOptionsSchema = zod_v3.z.object({
|
|
1047
1048
|
allowMultiple: zod_v3.z.boolean().optional(),
|
|
1048
1049
|
callbackUrl: zod_v3.z.string().optional(),
|
|
1049
|
-
config: ConnectionDataSchema.optional()
|
|
1050
|
+
config: ConnectionDataSchema.optional(),
|
|
1051
|
+
alias: zod_v3.z.string().optional()
|
|
1050
1052
|
});
|
|
1051
1053
|
/**
|
|
1052
1054
|
* Connected Account create response
|
|
@@ -1065,6 +1067,8 @@ const ConnectedAccountAuthConfigSchema = zod_v3.z.object({
|
|
|
1065
1067
|
const ConnectedAccountRetrieveResponseSchema = zod_v3.z.object({
|
|
1066
1068
|
id: zod_v3.z.string(),
|
|
1067
1069
|
authConfig: ConnectedAccountAuthConfigSchema,
|
|
1070
|
+
wordId: zod_v3.z.string().nullable().optional(),
|
|
1071
|
+
alias: zod_v3.z.string().nullable().optional(),
|
|
1068
1072
|
data: zod_v3.z.record(zod_v3.z.string(), zod_v3.z.unknown()).optional(),
|
|
1069
1073
|
params: zod_v3.z.record(zod_v3.z.string(), zod_v3.z.unknown()).optional(),
|
|
1070
1074
|
status: ConnectedAccountStatusSchema,
|
|
@@ -1090,12 +1094,29 @@ const ConnectedAccountListResponseSchema = zod_v3.z.object({
|
|
|
1090
1094
|
nextCursor: zod_v3.z.string().nullish().describe("The next cursor to paginate through the connected accounts"),
|
|
1091
1095
|
totalPages: zod_v3.z.number().describe("The total number of pages of connected accounts")
|
|
1092
1096
|
});
|
|
1093
|
-
const CreateConnectedAccountLinkOptionsSchema = zod_v3.z.object({
|
|
1097
|
+
const CreateConnectedAccountLinkOptionsSchema = zod_v3.z.object({
|
|
1098
|
+
callbackUrl: zod_v3.z.string().optional(),
|
|
1099
|
+
alias: zod_v3.z.string().optional()
|
|
1100
|
+
});
|
|
1094
1101
|
const CreateConnectedAccountLinkResponseSchema = zod_v3.z.object({ redirectUrl: zod_v3.z.string() });
|
|
1095
1102
|
const ConnectedAccountRefreshOptionsSchema = zod_v3.z.object({
|
|
1096
1103
|
redirectUrl: zod_v3.z.string().optional(),
|
|
1097
1104
|
validateCredentials: zod_v3.z.boolean().optional()
|
|
1098
1105
|
});
|
|
1106
|
+
const UpdateConnectedAccountParamsSchema = zod_v3.z.object({
|
|
1107
|
+
alias: zod_v3.z.string().optional(),
|
|
1108
|
+
connection: zod_v3.z.object({ state: zod_v3.z.object({
|
|
1109
|
+
authScheme: zod_v3.z.enum([
|
|
1110
|
+
"BEARER_TOKEN",
|
|
1111
|
+
"API_KEY",
|
|
1112
|
+
"BASIC",
|
|
1113
|
+
"BASIC_WITH_JWT",
|
|
1114
|
+
"GOOGLE_SERVICE_ACCOUNT",
|
|
1115
|
+
"SERVICE_ACCOUNT"
|
|
1116
|
+
]),
|
|
1117
|
+
val: zod_v3.z.record(zod_v3.z.unknown())
|
|
1118
|
+
}) }).optional()
|
|
1119
|
+
});
|
|
1099
1120
|
|
|
1100
1121
|
//#endregion
|
|
1101
1122
|
//#region src/utils/transform.ts
|
|
@@ -1130,6 +1151,7 @@ function transform(raw) {
|
|
|
1130
1151
|
* @private
|
|
1131
1152
|
*/
|
|
1132
1153
|
function transformConnectedAccountResponse(response) {
|
|
1154
|
+
const responseWithLabels = response;
|
|
1133
1155
|
const parseState = (state) => {
|
|
1134
1156
|
try {
|
|
1135
1157
|
return state ? ConnectionDataSchema.parse(state) : void 0;
|
|
@@ -1147,6 +1169,8 @@ function transformConnectedAccountResponse(response) {
|
|
|
1147
1169
|
isComposioManaged: response$1.auth_config.is_composio_managed,
|
|
1148
1170
|
isDisabled: response$1.auth_config.is_disabled
|
|
1149
1171
|
},
|
|
1172
|
+
wordId: responseWithLabels.word_id ?? null,
|
|
1173
|
+
alias: responseWithLabels.alias ?? null,
|
|
1150
1174
|
data: response$1.data ?? void 0,
|
|
1151
1175
|
state: parseState(response$1.state),
|
|
1152
1176
|
status: response$1.status,
|
|
@@ -2743,14 +2767,16 @@ var ConnectedAccounts = class {
|
|
|
2743
2767
|
if (connectedAccount.items.length > 0 && !options?.allowMultiple) throw new require_CustomTool.ComposioMultipleConnectedAccountsError(`Multiple connected accounts found for user ${userId} in auth config ${authConfigId}. Please use the allowMultiple option to allow multiple connected accounts.`);
|
|
2744
2768
|
else if (connectedAccount.items.length > 0) require_ComposioError.logger_default.warn(`[Warn:AllowMultiple] Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`);
|
|
2745
2769
|
const state = options?.config ?? void 0;
|
|
2746
|
-
const
|
|
2770
|
+
const createParams = {
|
|
2747
2771
|
auth_config: { id: authConfigId },
|
|
2748
2772
|
connection: {
|
|
2749
2773
|
callback_url: options?.callbackUrl,
|
|
2750
2774
|
user_id: userId,
|
|
2751
|
-
state
|
|
2775
|
+
state,
|
|
2776
|
+
...options?.alias != null && { alias: options.alias }
|
|
2752
2777
|
}
|
|
2753
|
-
}
|
|
2778
|
+
};
|
|
2779
|
+
const response = await this.client.connectedAccounts.create(createParams);
|
|
2754
2780
|
const redirectUrl = typeof response.connectionData?.val?.redirectUrl === "string" ? response.connectionData.val.redirectUrl : null;
|
|
2755
2781
|
return createConnectionRequest(this.client, response.id, response.connectionData.val.status, redirectUrl);
|
|
2756
2782
|
}
|
|
@@ -2796,7 +2822,8 @@ var ConnectedAccounts = class {
|
|
|
2796
2822
|
const response = await this.client.link.create({
|
|
2797
2823
|
auth_config_id: authConfigId,
|
|
2798
2824
|
user_id: userId,
|
|
2799
|
-
...requestOptions?.data.callbackUrl && { callback_url: requestOptions.data.callbackUrl }
|
|
2825
|
+
...requestOptions?.data.callbackUrl && { callback_url: requestOptions.data.callbackUrl },
|
|
2826
|
+
...requestOptions?.data.alias != null && { alias: requestOptions.data.alias }
|
|
2800
2827
|
});
|
|
2801
2828
|
return createConnectionRequest(this.client, response.connected_account_id, ConnectedAccountStatuses.INITIATED, response.redirect_url);
|
|
2802
2829
|
} catch (error) {
|
|
@@ -2955,6 +2982,34 @@ var ConnectedAccounts = class {
|
|
|
2955
2982
|
async disable(nanoid) {
|
|
2956
2983
|
return this.client.connectedAccounts.updateStatus(nanoid, { enabled: false });
|
|
2957
2984
|
}
|
|
2985
|
+
/**
|
|
2986
|
+
* Update a connected account's alias and/or credentials.
|
|
2987
|
+
*
|
|
2988
|
+
* @param {string} nanoid - The unique identifier of the connected account
|
|
2989
|
+
* @param {UpdateConnectedAccountParams} params - The update parameters
|
|
2990
|
+
* @returns {Promise<ConnectedAccountPatchResponse>} The update response
|
|
2991
|
+
*
|
|
2992
|
+
* @example
|
|
2993
|
+
* ```typescript
|
|
2994
|
+
* // Set an alias
|
|
2995
|
+
* await composio.connectedAccounts.update('ca_abc123', { alias: 'work-gmail' });
|
|
2996
|
+
*
|
|
2997
|
+
* // Update credentials
|
|
2998
|
+
* await composio.connectedAccounts.update('ca_abc123', {
|
|
2999
|
+
* connection: {
|
|
3000
|
+
* state: {
|
|
3001
|
+
* authScheme: 'BEARER_TOKEN',
|
|
3002
|
+
* val: { token: 'new-access-token' },
|
|
3003
|
+
* },
|
|
3004
|
+
* },
|
|
3005
|
+
* });
|
|
3006
|
+
* ```
|
|
3007
|
+
*/
|
|
3008
|
+
async update(nanoid, params) {
|
|
3009
|
+
const parsedParams = UpdateConnectedAccountParamsSchema.safeParse(params);
|
|
3010
|
+
if (!parsedParams.success) throw new require_CustomTool.ValidationError("Failed to parse connected account update params", { cause: parsedParams.error });
|
|
3011
|
+
return this.client.connectedAccounts.patch(nanoid, parsedParams.data);
|
|
3012
|
+
}
|
|
2958
3013
|
};
|
|
2959
3014
|
|
|
2960
3015
|
//#endregion
|
|
@@ -5263,7 +5318,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
5263
5318
|
|
|
5264
5319
|
//#endregion
|
|
5265
5320
|
//#region package.json
|
|
5266
|
-
var version = "0.6.
|
|
5321
|
+
var version = "0.6.10";
|
|
5267
5322
|
|
|
5268
5323
|
//#endregion
|
|
5269
5324
|
//#region src/utils/session.ts
|
|
@@ -5384,6 +5439,11 @@ const ToolRouterCreateSessionConfigSchema = zod_v3.default.object({
|
|
|
5384
5439
|
enableProxyExecution: zod_v3.default.boolean().optional().describe("Whether to enable proxy execution in the tool router session"),
|
|
5385
5440
|
autoOffloadThreshold: zod_v3.default.number().optional().describe("The auto offload threshold in characters for the tool execution to be moved into workbench")
|
|
5386
5441
|
}).optional().describe("The workbench config for the tool router session"),
|
|
5442
|
+
multiAccount: zod_v3.default.object({
|
|
5443
|
+
enable: zod_v3.default.boolean().default(false).describe("When true, enables multi-account mode for this session. Defaults to false."),
|
|
5444
|
+
maxAccountsPerToolkit: zod_v3.default.number().int().min(2).max(10).optional().describe("Maximum number of connected accounts allowed per toolkit. Defaults to 5 when multi-account is enabled."),
|
|
5445
|
+
requireExplicitSelection: zod_v3.default.boolean().optional().describe("When true, require explicit account selection when multiple accounts are connected. When false (default), use the first/default account.")
|
|
5446
|
+
}).optional().describe("Multi-account configuration for this session"),
|
|
5387
5447
|
experimental: zod_v3.default.object({
|
|
5388
5448
|
assistivePrompt: zod_v3.default.object({ userTimezone: zod_v3.default.string().optional().describe("IANA timezone identifier (e.g., \"America/New_York\", \"Europe/London\") for timezone-aware assistive prompts") }).optional().describe("Configuration for assistive prompt generation"),
|
|
5389
5449
|
customTools: zod_v3.default.array(zod_v3.default.custom()).optional().describe("Custom tools to include in this session. Created via createCustomTool() from @composio/core/experimental."),
|
|
@@ -5456,7 +5516,7 @@ const ToolRouterSessionSearchTimeInfoSchema = zod_v3.default.object({
|
|
|
5456
5516
|
});
|
|
5457
5517
|
const ToolRouterSessionSearchToolSchemasSchemaRefSchema = zod_v3.default.object({
|
|
5458
5518
|
args: zod_v3.default.object({ toolSlugs: zod_v3.default.array(zod_v3.default.string()) }),
|
|
5459
|
-
message: zod_v3.default.string(),
|
|
5519
|
+
message: zod_v3.default.string().optional(),
|
|
5460
5520
|
tool: zod_v3.default.literal("COMPOSIO_GET_TOOL_SCHEMAS")
|
|
5461
5521
|
});
|
|
5462
5522
|
const ToolRouterSessionSearchToolSchemaSchema = zod_v3.default.object({
|
|
@@ -5559,6 +5619,16 @@ const transformToolRouterWorkbenchParams = (params) => {
|
|
|
5559
5619
|
auto_offload_threshold: params.autoOffloadThreshold
|
|
5560
5620
|
};
|
|
5561
5621
|
};
|
|
5622
|
+
const transformToolRouterMultiAccountParams = (params) => {
|
|
5623
|
+
if (!params) return;
|
|
5624
|
+
const transformedParams = {
|
|
5625
|
+
enable: params.enable,
|
|
5626
|
+
max_accounts_per_toolkit: params.maxAccountsPerToolkit,
|
|
5627
|
+
require_explicit_selection: params.requireExplicitSelection
|
|
5628
|
+
};
|
|
5629
|
+
if (transformedParams.enable === void 0 && transformedParams.max_accounts_per_toolkit === void 0 && transformedParams.require_explicit_selection === void 0) return;
|
|
5630
|
+
return transformedParams;
|
|
5631
|
+
};
|
|
5562
5632
|
const transformToolRouterToolkitsParams = (params) => {
|
|
5563
5633
|
if (!params) return;
|
|
5564
5634
|
if (Array.isArray(params)) return { enable: params };
|
|
@@ -6351,8 +6421,9 @@ var ToolRouterSession = class {
|
|
|
6351
6421
|
*/
|
|
6352
6422
|
async authorize(toolkit, options) {
|
|
6353
6423
|
const response = await this.client.toolRouter.session.link(this.sessionId, {
|
|
6354
|
-
|
|
6355
|
-
|
|
6424
|
+
toolkit,
|
|
6425
|
+
...options?.callbackUrl && { callback_url: options.callbackUrl },
|
|
6426
|
+
...options?.alias != null && { alias: options.alias }
|
|
6356
6427
|
});
|
|
6357
6428
|
return createConnectionRequest(this.client, response.connected_account_id, ConnectedAccountStatuses.INITIATED, response.redirect_url);
|
|
6358
6429
|
}
|
|
@@ -6605,6 +6676,7 @@ var ToolRouter = class {
|
|
|
6605
6676
|
if (routerConfig.experimental?.assistivePrompt?.userTimezone) experimentalPayload.assistive_prompt_config = { user_timezone: routerConfig.experimental.assistivePrompt.userTimezone };
|
|
6606
6677
|
if (customTools?.length) experimentalPayload.custom_tools = require_CustomTool.serializeCustomTools(customTools);
|
|
6607
6678
|
if (customToolkits?.length) experimentalPayload.custom_toolkits = require_CustomTool.serializeCustomToolkits(customToolkits);
|
|
6679
|
+
const multiAccountPayload = transformToolRouterMultiAccountParams(routerConfig.multiAccount);
|
|
6608
6680
|
const payload = {
|
|
6609
6681
|
user_id: userId,
|
|
6610
6682
|
auth_configs: routerConfig.authConfigs,
|
|
@@ -6614,6 +6686,7 @@ var ToolRouter = class {
|
|
|
6614
6686
|
tags: transformToolRouterTagsParams(routerConfig.tags),
|
|
6615
6687
|
manage_connections: transformToolRouterManageConnectionsParams(routerConfig.manageConnections),
|
|
6616
6688
|
workbench: transformToolRouterWorkbenchParams(routerConfig.workbench),
|
|
6689
|
+
multi_account: multiAccountPayload,
|
|
6617
6690
|
experimental: Object.keys(experimentalPayload).length > 0 ? experimentalPayload : void 0
|
|
6618
6691
|
};
|
|
6619
6692
|
const session = await this.client.toolRouter.session.create(payload);
|
|
@@ -7643,6 +7716,7 @@ exports.TriggerSubscribeParamSchema = TriggerSubscribeParamSchema;
|
|
|
7643
7716
|
exports.TriggerTypeSchema = TriggerTypeSchema;
|
|
7644
7717
|
exports.TriggersTypeListParamsSchema = TriggersTypeListParamsSchema;
|
|
7645
7718
|
exports.TriggersTypeListResponseSchema = TriggersTypeListResponseSchema;
|
|
7719
|
+
exports.UpdateConnectedAccountParamsSchema = UpdateConnectedAccountParamsSchema;
|
|
7646
7720
|
exports.ValidationError = require_CustomTool.ValidationError;
|
|
7647
7721
|
exports.ValidationErrorCodes = require_CustomTool.ValidationErrorCodes;
|
|
7648
7722
|
exports.VerifyWebhookParamsSchema = VerifyWebhookParamsSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as ComposioMcpUpdateResponseSchema, $t as ConnectionData, A as ToolkitVersions, An as Oauth2FailedConnectionDataSchema, At as MCPToolkitConfigSchema, B as afterExecuteMetaModifier, Bt as McpServerUrlInfo, C as ToolkitLatestVersion, Cn as Oauth2ActiveConnectionData, Ct as MCPServerListResponseSchema, D as ToolkitVersionParam, Dn as Oauth2ExpiredConnectionData, Dt as MCPSingleAppServer, E as ToolkitVersion, En as Oauth2ConnectionDataSchema, Et as MCPServerUpdateParamsSchema, F as ProviderOptions, Fn as Oauth2InitiatingConnectionData, Ft as McpListResponseSchema, G as BaseComposioProvider, Gt as McpUrlResponseCamelCase, H as beforeExecuteMetaModifier, Ht as McpUpdateResponse, I as SessionExecuteMetaModifiers, In as Oauth2InitiatingConnectionDataSchema, It as McpRetrieveResponse, J as ComposioGenerateURLParamsSchema, Jt as ExecuteToolFnOptions, K as BaseNonAgenticProvider, Kt as McpUserConnectionStatus, L as SessionMetaToolOptions, Ln as RedirectableAuthSchemeSchema, Lt as McpRetrieveResponseSchema, M as AgenticToolOptions, Mn as Oauth2InactiveConnectionDataSchema, Mt as McpDeleteResponse, N as ExecuteToolModifiers, Nn as Oauth2InitiatedConnectionData, Nt as McpDeleteResponseSchema, O as ToolkitVersionParamSchema, On as Oauth2ExpiredConnectionDataSchema, Ot as MCPSingleAppServerSchema, P as MetaToolArguments, Pn as Oauth2InitiatedConnectionDataSchema, Pt as McpListResponse, Q as ComposioMcpRetrieveResponseSchema, Qt as BillcomAuthConnectionDataSchema, R as ToolOptions, Rt as McpServerCreateResponse, S as Toolkit, Sn as Oauth1InitiatingConnectionDataSchema, St as MCPServerListResponse, T as ToolkitSchema, Tn as Oauth2ConnectionData, Tt as MCPServerUpdateParams, U as beforeExecuteModifier, Ut as McpUpdateResponseSchema, V as afterExecuteModifier, Vt as McpToolkitConnectionStatus, W as BaseAgenticProvider, Wt as McpUrlResponse, X as ComposioMcpDeleteResponseSchema, Xt as Provider, Y as ComposioGenerateURLResponseSchema, Yt as GlobalExecuteToolFn, Z as ComposioMcpListResponseSchema, Zt as BaseConnectionFields, _ as ToolListResponseSchema, _n as Oauth1InactiveConnectionData, _t as MCPMultiAppServer, a as SchemaModifierOptions, an as CustomOauth1ConnectionData, at as GenerateURLParamsSchema, b as ToolRetrievalOptions, bn as Oauth1InitiatedConnectionDataSchema, bt as MCPServerCreateResponse, c as ToolExecuteMetaParamsSchema, cn as CustomOauth2ConnectionDataSchema, ct as GenerateURLResponseValidated, d as ToolExecuteResponse, dn as Oauth1ConnectionData, dt as MCPCreateMethodResponse, en as ConnectionDataSchema, et as ConnectionStatus, f as ToolExecuteResponseSchema, fn as Oauth1ConnectionDataSchema, ft as MCPGenerateURLParams, g as ToolListResponse, gn as Oauth1FailedConnectionDataSchema, gt as MCPInstanceParams, h as ToolListParamsSchema, hn as Oauth1FailedConnectionData, ht as MCPGetServerParamsSchema, i as JSONSchemaPropertySchema, in as CustomConnectionDataSchema, it as GenerateURLParams, j as ToolkitVersionsSchema, jn as Oauth2InactiveConnectionData, jt as MCPToolkitConfigsArraySchema, k as ToolkitVersionSchema, kn as Oauth2FailedConnectionData, kt as MCPToolkitConfig, l as ToolExecuteParams, ln as Oauth1ActiveConnectionData, lt as MCPAuthOptions, m as ToolListParams, mn as Oauth1ExpiredConnectionDataSchema, mt as MCPGetServerParams, n as CustomAuthParamsSchema, nn as ConnectionStatuses, nt as CustomCreateResponseSchema, o as Tool, on as CustomOauth1ConnectionDataSchema, ot as GenerateURLResponse, p as ToolList, pn as Oauth1ExpiredConnectionData, pt as MCPGenerateURLParamsSchema, q as ComposioCustomCreateResponseSchema, qt as ExecuteToolFn, r as JSONSchemaProperty, rn as CustomConnectionData, rt as CustomCreateResponseValidated, s as ToolExecuteMetaParams, sn as CustomOauth2ConnectionData, st as GenerateURLResponseSchema, t as CustomAuthParams, tn as ConnectionStatusEnum, tt as CustomCreateResponse, u as ToolExecuteParamsSchema, un as Oauth1ActiveConnectionDataSchema, ut as MCPAuthOptionsSchema, v as ToolProxyParams, vn as Oauth1InactiveConnectionDataSchema, vt as MCPMultiAppServerSchema, w as ToolkitLatestVersionSchema, wn as Oauth2ActiveConnectionDataSchema, wt as MCPServerSchema, x as ToolSchema, xn as Oauth1InitiatingConnectionData, xt as MCPServerCreateResponseSchema, y as ToolProxyParamsSchema, yn as Oauth1InitiatedConnectionData, yt as MCPServer, z as TransformToolSchemaModifier, zt as McpServerGetResponse } from "./tool.types-BWc7GUrD.cjs";
|
|
2
|
-
import { $ as ToolRouterToolkitsFn, A as ToolRouterAuthorizeFn, At as ConnectedAccountListParamsSchema, B as ToolRouterManageConnectionsConfigSchema, Bt as ConnectedAccountStatusSchema, C as SessionContext, Ct as ToolRouterSessionFilesMountUploadOptions, D as SessionExperimental, Dt as ConnectedAccountAuthConfig, E as Session, Et as ConnectionRequestState, F as ToolRouterConfigToolsSchema, Ft as ConnectedAccountRefreshOptionsSchema, G as ToolRouterSessionProxyExecuteResponse, Gt as CreateConnectedAccountLinkResponseSchema, H as ToolRouterSessionExecuteResponse, Ht as CreateConnectedAccountLinkOptions, I as ToolRouterCreateSessionConfig, It as ConnectedAccountRetrieveResponse, J as ToolRouterSessionSearchResponseSchema, Jt as CreateConnectedAccountParams, K as ToolRouterSessionSearchFn, Kt as CreateConnectedAccountOptions, L as ToolRouterCreateSessionConfigSchema, Lt as ConnectedAccountRetrieveResponseSchema, M as ToolRouterConfigTags, Mt as ConnectedAccountListResponseItem, N as ToolRouterConfigTagsSchema, Nt as ConnectedAccountListResponseSchema, O as SessionProxyExecuteParams, Ot as ConnectedAccountAuthConfigSchema, P as ToolRouterConfigTools, Pt as ConnectedAccountRefreshOptions, Q as ToolRouterToolkitsEnabledConfigSchema, Qt as DefaultCreateConnectedAccountParamsSchema, R as ToolRouterMCPServerConfig, Rt as ConnectedAccountStatus, S as RegisteredCustomToolkit, St as ToolRouterSessionFilesMountListOptionsSchema, T as MCPServerTypeSchema, Tt as ConnectionRequest, U as ToolRouterSessionExecuteResponseSchema, Ut as CreateConnectedAccountLinkOptionsSchema, V as ToolRouterSessionExecuteFn, Vt as ConnectedAccountStatuses, W as ToolRouterSessionProxyExecuteFn, Wt as CreateConnectedAccountLinkResponse, X as ToolRouterTagsParamSchema, Xt as CreateConnectedAccountResponse, Y as ToolRouterTagsEnableDisableSchema, Yt as CreateConnectedAccountParamsSchema, Z as ToolRouterToolkitsDisabledConfigSchema, Zt as CreateConnectedAccountResponseSchema, _ as CustomToolsMap, _t as ToolRouterSessionFilesMountDeleteOptions, a as CustomTool, at as ToolRouterToolsParamSchema, b as InputParamsSchema, bt as ToolRouterSessionFilesMountDownloadOptionsSchema, c as CustomToolInputParameter, ct as ToolkitConnectionsDetails, d as CustomToolRegistryItem, dt as FileDeleteResponse, et as ToolRouterToolkitsOptions, f as CustomToolResponse, ft as FileDeleteResponseSchema, g as CustomToolkitResponse, gt as RemoteFileDataSchema, h as CustomToolkitDefinition, ht as RemoteFileData, i as CreateCustomToolkitParams, it as ToolRouterToolsParam, j as ToolRouterConfigManageConnectionsSchema, jt as ConnectedAccountListResponse, k as SessionProxyExecuteParamsSchema, kt as ConnectedAccountListParams, l as CustomToolOptions, lt as ToolkitConnectionsDetailsSchema, m as CustomToolkit, mt as FileListResponseSchema, n as CreateCustomToolParams, nt as ToolRouterToolkitsParamSchema, o as CustomToolDefinition, ot as ToolkitConnectionState, p as CustomToolSlugSchema, pt as FileListResponse, q as ToolRouterSessionSearchResponse, qt as CreateConnectedAccountOptionsSchema, r as CreateCustomToolkitBaseSchema, rt as ToolRouterToolsFn, s as CustomToolExecuteFn, st as ToolkitConnectionStateSchema, t as CreateCustomToolBaseSchema, tt as ToolRouterToolkitsOptionsSchema, u as CustomToolRegistry, ut as RemoteFile, v as CustomToolsMapEntry, vt as ToolRouterSessionFilesMountDeleteOptionsSchema, w as MCPServerType, wt as ToolRouterSessionFilesMountUploadOptionsSchema, x as RegisteredCustomTool, xt as ToolRouterSessionFilesMountListOptions, y as ExecuteMetadata, yt as ToolRouterSessionFilesMountDownloadOptions, z as ToolRouterMCPServerConfigSchema, zt as ConnectedAccountStatusEnum } from "./customTool.types-
|
|
3
|
-
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-
|
|
4
|
-
import { $ as AuthConfigCreationToolAccessConfigSchema, A as TriggerSubscribeParams, At as ToolkitAuthField, B as VerifyWebhookResult, Bt as ToolkitRetrieveCategoriesResponseSchema, C as TriggerInstanceUpsertParamsSchema, Ct as ToolKitItemSchema, D as TriggerStatusType, Dt as ToolKitMetaSchema, E as TriggerStatusEnum, Et as ToolKitMeta, F as TriggersTypeListResponse, Ft as ToolkitCategorySchema, G as WebhookPayloadV2, Gt as ToolkitsListParamsSchema, H as WebhookPayloadSchema, Ht as ToolkitRetrieveResponseSchema, I as TriggersTypeListResponseSchema, It as ToolkitListParams, J as WebhookPayloadV3Schema, K as WebhookPayloadV2Schema, L as TriggersTypeRetrieveResponse, Lt as ToolkitMangedByEnum, M as TriggerTypeSchema, Mt as ToolkitAuthFieldsResponse, N as TriggersTypeListParams, Nt as ToolkitAuthFieldsResponseSchema, O as TriggerStatuses, Ot as ToolkitAuthConfigDetails, P as TriggersTypeListParamsSchema, Pt as ToolkitCategory, Q as WebhookVersions, R as VerifyWebhookParams, Rt as ToolkitMangedByEnumSchema, S as TriggerInstanceUpsertParams, St as ToolKitItem, T as TriggerInstanceUpsertResponseSchema, Tt as ToolKitListResponseSchema, U as WebhookPayloadV1, Ut as ToolkitSortByEnum, V as WebhookPayload, Vt as ToolkitRetrieveResponse, W as WebhookPayloadV1Schema, Wt as ToolkitSortByEnumSchema, X as WebhookTriggerPayloadV3Schema, Y as WebhookTriggerPayloadV3, Z as WebhookVersion, _ as TriggerInstanceManageDeleteResponseSchema, _t as CreateAuthConfigParamsSchema, a as IncomingTriggerPayload, at as AuthConfigRetrieveResponseSchema, b as TriggerInstanceManageUpdateResponse, bt as CreateComposioManagedAuthConfigParamsSchema, c as TriggerEvent, ct as AuthConfigTypes, d as TriggerInstanceListActiveParamsSchema, dt as AuthCustomConfigUpdateParamsSchema, et as AuthConfigListParams, f as TriggerInstanceListActiveResponse, ft as AuthDefaultConfigUpdateParamsSchema, g as TriggerInstanceManageDeleteResponse, gt as CreateAuthConfigParams, h as TriggerInstanceListActiveResponseSchema, ht as AuthSchemeTypes, i as MCP, it as AuthConfigRetrieveResponse, j as TriggerType, jt as ToolkitAuthFieldSchema, k as TriggerSubscribeParamSchema, kt as ToolkitAuthConfigDetailsSchema, l as TriggerEventData, lt as AuthConfigUpdateParams, m as TriggerInstanceListActiveResponseItemSchema, mt as AuthSchemeType, n as ComposioConfig, nt as AuthConfigListResponse, o as IncomingTriggerPayloadSchema, ot as AuthConfigToolAccessConfigSchema, p as TriggerInstanceListActiveResponseItem, pt as AuthSchemeEnum, q as WebhookPayloadV3, r as OpenAIProvider, rt as AuthConfigListResponseSchema, s as TriggerData, st as AuthConfigType, t as Composio, tt as AuthConfigListParamsSchema, u as TriggerInstanceListActiveParams, ut as AuthConfigUpdateParamsSchema, v as TriggerInstanceManageUpdateParams, vt as CreateAuthConfigResponse, w as TriggerInstanceUpsertResponse, wt as ToolKitListResponse, x as TriggerInstanceManageUpdateResponseSchema, xt as CreateCustomAuthConfigParamsSchema, y as TriggerInstanceManageUpdateParamsSchema, yt as CreateAuthConfigResponseSchema, z as VerifyWebhookParamsSchema, zt as ToolkitRetrieveCategoriesResponse } from "./composio-
|
|
2
|
+
import { $ as ToolRouterToolkitsFn, $t as UpdateConnectedAccountParams, A as ToolRouterAuthorizeFn, At as ConnectedAccountListParamsSchema, B as ToolRouterManageConnectionsConfigSchema, Bt as ConnectedAccountStatusSchema, C as SessionContext, Ct as ToolRouterSessionFilesMountUploadOptions, D as SessionExperimental, Dt as ConnectedAccountAuthConfig, E as Session, Et as ConnectionRequestState, F as ToolRouterConfigToolsSchema, Ft as ConnectedAccountRefreshOptionsSchema, G as ToolRouterSessionProxyExecuteResponse, Gt as CreateConnectedAccountLinkResponseSchema, H as ToolRouterSessionExecuteResponse, Ht as CreateConnectedAccountLinkOptions, I as ToolRouterCreateSessionConfig, It as ConnectedAccountRetrieveResponse, J as ToolRouterSessionSearchResponseSchema, Jt as CreateConnectedAccountParams, K as ToolRouterSessionSearchFn, Kt as CreateConnectedAccountOptions, L as ToolRouterCreateSessionConfigSchema, Lt as ConnectedAccountRetrieveResponseSchema, M as ToolRouterConfigTags, Mt as ConnectedAccountListResponseItem, N as ToolRouterConfigTagsSchema, Nt as ConnectedAccountListResponseSchema, O as SessionProxyExecuteParams, Ot as ConnectedAccountAuthConfigSchema, P as ToolRouterConfigTools, Pt as ConnectedAccountRefreshOptions, Q as ToolRouterToolkitsEnabledConfigSchema, Qt as DefaultCreateConnectedAccountParamsSchema, R as ToolRouterMCPServerConfig, Rt as ConnectedAccountStatus, S as RegisteredCustomToolkit, St as ToolRouterSessionFilesMountListOptionsSchema, T as MCPServerTypeSchema, Tt as ConnectionRequest, U as ToolRouterSessionExecuteResponseSchema, Ut as CreateConnectedAccountLinkOptionsSchema, V as ToolRouterSessionExecuteFn, Vt as ConnectedAccountStatuses, W as ToolRouterSessionProxyExecuteFn, Wt as CreateConnectedAccountLinkResponse, X as ToolRouterTagsParamSchema, Xt as CreateConnectedAccountResponse, Y as ToolRouterTagsEnableDisableSchema, Yt as CreateConnectedAccountParamsSchema, Z as ToolRouterToolkitsDisabledConfigSchema, Zt as CreateConnectedAccountResponseSchema, _ as CustomToolsMap, _t as ToolRouterSessionFilesMountDeleteOptions, a as CustomTool, at as ToolRouterToolsParamSchema, b as InputParamsSchema, bt as ToolRouterSessionFilesMountDownloadOptionsSchema, c as CustomToolInputParameter, ct as ToolkitConnectionsDetails, d as CustomToolRegistryItem, dt as FileDeleteResponse, en as UpdateConnectedAccountParamsSchema, et as ToolRouterToolkitsOptions, f as CustomToolResponse, ft as FileDeleteResponseSchema, g as CustomToolkitResponse, gt as RemoteFileDataSchema, h as CustomToolkitDefinition, ht as RemoteFileData, i as CreateCustomToolkitParams, it as ToolRouterToolsParam, j as ToolRouterConfigManageConnectionsSchema, jt as ConnectedAccountListResponse, k as SessionProxyExecuteParamsSchema, kt as ConnectedAccountListParams, l as CustomToolOptions, lt as ToolkitConnectionsDetailsSchema, m as CustomToolkit, mt as FileListResponseSchema, n as CreateCustomToolParams, nt as ToolRouterToolkitsParamSchema, o as CustomToolDefinition, ot as ToolkitConnectionState, p as CustomToolSlugSchema, pt as FileListResponse, q as ToolRouterSessionSearchResponse, qt as CreateConnectedAccountOptionsSchema, r as CreateCustomToolkitBaseSchema, rt as ToolRouterToolsFn, s as CustomToolExecuteFn, st as ToolkitConnectionStateSchema, t as CreateCustomToolBaseSchema, tt as ToolRouterToolkitsOptionsSchema, u as CustomToolRegistry, ut as RemoteFile, v as CustomToolsMapEntry, vt as ToolRouterSessionFilesMountDeleteOptionsSchema, w as MCPServerType, wt as ToolRouterSessionFilesMountUploadOptionsSchema, x as RegisteredCustomTool, xt as ToolRouterSessionFilesMountListOptions, y as ExecuteMetadata, yt as ToolRouterSessionFilesMountDownloadOptions, z as ToolRouterMCPServerConfigSchema, zt as ConnectedAccountStatusEnum } from "./customTool.types-BxvwmFDN.cjs";
|
|
3
|
+
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-BpjZfEYa.cjs";
|
|
4
|
+
import { $ as AuthConfigCreationToolAccessConfigSchema, A as TriggerSubscribeParams, At as ToolkitAuthField, B as VerifyWebhookResult, Bt as ToolkitRetrieveCategoriesResponseSchema, C as TriggerInstanceUpsertParamsSchema, Ct as ToolKitItemSchema, D as TriggerStatusType, Dt as ToolKitMetaSchema, E as TriggerStatusEnum, Et as ToolKitMeta, F as TriggersTypeListResponse, Ft as ToolkitCategorySchema, G as WebhookPayloadV2, Gt as ToolkitsListParamsSchema, H as WebhookPayloadSchema, Ht as ToolkitRetrieveResponseSchema, I as TriggersTypeListResponseSchema, It as ToolkitListParams, J as WebhookPayloadV3Schema, K as WebhookPayloadV2Schema, L as TriggersTypeRetrieveResponse, Lt as ToolkitMangedByEnum, M as TriggerTypeSchema, Mt as ToolkitAuthFieldsResponse, N as TriggersTypeListParams, Nt as ToolkitAuthFieldsResponseSchema, O as TriggerStatuses, Ot as ToolkitAuthConfigDetails, P as TriggersTypeListParamsSchema, Pt as ToolkitCategory, Q as WebhookVersions, R as VerifyWebhookParams, Rt as ToolkitMangedByEnumSchema, S as TriggerInstanceUpsertParams, St as ToolKitItem, T as TriggerInstanceUpsertResponseSchema, Tt as ToolKitListResponseSchema, U as WebhookPayloadV1, Ut as ToolkitSortByEnum, V as WebhookPayload, Vt as ToolkitRetrieveResponse, W as WebhookPayloadV1Schema, Wt as ToolkitSortByEnumSchema, X as WebhookTriggerPayloadV3Schema, Y as WebhookTriggerPayloadV3, Z as WebhookVersion, _ as TriggerInstanceManageDeleteResponseSchema, _t as CreateAuthConfigParamsSchema, a as IncomingTriggerPayload, at as AuthConfigRetrieveResponseSchema, b as TriggerInstanceManageUpdateResponse, bt as CreateComposioManagedAuthConfigParamsSchema, c as TriggerEvent, ct as AuthConfigTypes, d as TriggerInstanceListActiveParamsSchema, dt as AuthCustomConfigUpdateParamsSchema, et as AuthConfigListParams, f as TriggerInstanceListActiveResponse, ft as AuthDefaultConfigUpdateParamsSchema, g as TriggerInstanceManageDeleteResponse, gt as CreateAuthConfigParams, h as TriggerInstanceListActiveResponseSchema, ht as AuthSchemeTypes, i as MCP, it as AuthConfigRetrieveResponse, j as TriggerType, jt as ToolkitAuthFieldSchema, k as TriggerSubscribeParamSchema, kt as ToolkitAuthConfigDetailsSchema, l as TriggerEventData, lt as AuthConfigUpdateParams, m as TriggerInstanceListActiveResponseItemSchema, mt as AuthSchemeType, n as ComposioConfig, nt as AuthConfigListResponse, o as IncomingTriggerPayloadSchema, ot as AuthConfigToolAccessConfigSchema, p as TriggerInstanceListActiveResponseItem, pt as AuthSchemeEnum, q as WebhookPayloadV3, r as OpenAIProvider, rt as AuthConfigListResponseSchema, s as TriggerData, st as AuthConfigType, t as Composio, tt as AuthConfigListParamsSchema, u as TriggerInstanceListActiveParams, ut as AuthConfigUpdateParamsSchema, v as TriggerInstanceManageUpdateParams, vt as CreateAuthConfigResponse, w as TriggerInstanceUpsertResponse, wt as ToolKitListResponse, x as TriggerInstanceManageUpdateResponseSchema, xt as CreateCustomAuthConfigParamsSchema, y as TriggerInstanceManageUpdateParamsSchema, yt as CreateAuthConfigResponseSchema, z as VerifyWebhookParamsSchema, zt as ToolkitRetrieveCategoriesResponse } from "./composio-CQuG4JPT.cjs";
|
|
5
5
|
import { n as FileUploadData, t as FileDownloadData } from "./files.types-lo4zZd87.cjs";
|
|
6
6
|
import "node:module";
|
|
7
7
|
import { z } from "zod/v3";
|
|
@@ -260,6 +260,7 @@ declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseCo
|
|
|
260
260
|
*/
|
|
261
261
|
authorize(toolkit: string, options?: {
|
|
262
262
|
callbackUrl?: string;
|
|
263
|
+
alias?: string;
|
|
263
264
|
}): Promise<ConnectionRequest>;
|
|
264
265
|
/**
|
|
265
266
|
* Query the connection state of toolkits in the session.
|
|
@@ -5501,4 +5502,4 @@ declare class RemoteFileDownloadError extends ComposioError {
|
|
|
5501
5502
|
constructor(message?: string, options?: RemoteFileDownloadErrorOptions);
|
|
5502
5503
|
}
|
|
5503
5504
|
//#endregion
|
|
5504
|
-
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, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionExpiredEvent, ConnectionExpiredEventSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, CustomToolResponse, CustomToolSlugSchema, CustomToolkit, CustomToolkitDefinition, CustomToolkitResponse, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, 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, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, RemoteFileDownloadError, RemoteFileDownloadErrorOptions, RemoteFileErrorCodes, SDKErrorCodes, SchemaModifierOptions, Session, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SingleConnectedAccountDetailedResponse, SingleConnectedAccountDetailedResponseSchema, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, 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, WebhookConnectedAccountAuthConfig, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadata, WebhookConnectionMetadataSchema, WebhookConnectionState, WebhookConnectionStateSchema, WebhookEvent, WebhookEventSchema, WebhookEventType, WebhookEventTypes, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, getExtensionFromMimeType, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
|
|
5505
|
+
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, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionExpiredEvent, ConnectionExpiredEventSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, CustomToolResponse, CustomToolSlugSchema, CustomToolkit, CustomToolkitDefinition, CustomToolkitResponse, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, 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, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, RemoteFileDownloadError, RemoteFileDownloadErrorOptions, RemoteFileErrorCodes, SDKErrorCodes, SchemaModifierOptions, Session, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SingleConnectedAccountDetailedResponse, SingleConnectedAccountDetailedResponseSchema, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, 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, UpdateConnectedAccountParams, UpdateConnectedAccountParamsSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookConnectedAccountAuthConfig, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadata, WebhookConnectionMetadataSchema, WebhookConnectionState, WebhookConnectionStateSchema, WebhookEvent, WebhookEventSchema, WebhookEventType, WebhookEventTypes, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, getExtensionFromMimeType, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
|