@composio/core 0.33.0 → 0.33.1-canary.2
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-C2kvAvzk.d.mts → CustomTool-BFJBzgnP.d.mts} +1 -1
- package/dist/{composio-BqE615oV.d.mts → composio-CjpstCB4.d.mts} +61 -49
- package/dist/{customTool.types-DnyEZmlx.d.mts → customTool.types-CJkoAqUb.d.mts} +4 -4
- package/dist/experimental/index.d.mts +2 -2
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +29 -13
- package/dist/{types-Cwr_Makk.d.mts → types-5EkzOezT.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +1 -1
- package/src/types/logs.types.ts +4 -0
- package/src/types/toolkit.types.ts +1 -0
- package/src/utils/transformers/logs.ts +8 -1
- package/src/utils/transformers/toolkits.ts +38 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as LocalTool, o as CreateLocalToolParams, s as CreateLocalToolkitParams, t as AnyZodSchema, w as LocalToolkit } from "./customTool.types-
|
|
1
|
+
import { S as LocalTool, o as CreateLocalToolParams, s as CreateLocalToolkitParams, t as AnyZodSchema, w as LocalToolkit } from "./customTool.types-CJkoAqUb.mjs";
|
|
2
2
|
import "@composio/client/resources/tool-router/session";
|
|
3
3
|
/**
|
|
4
4
|
* Create a local tool for use in tool router sessions.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as ConnectedAccountListResponse, Ar as UpdateConnectedAccountAclParams, Fn as ConnectionRequest, Fr as BaseComposioProvider, Gn as ConnectedAccountCompleteAuthResponse, Hi as ToolCallSession, Ia as ProviderOptions, Ir as BaseNonAgenticProvider, J as ToolRouterCreateSessionConfig, La as SessionExecuteMetaModifiers, Mr as UpdateConnectedAccountParams, Or as PatchConnectedAccountParams, P as Session, Pa as ExecuteToolModifiers, Pi as McpUrlResponse, Qa as ToolExecuteMetaParams, Ri as ExecuteToolFnOptions, S as LocalTool, Un as ConnectedAccountCompleteAuthParams, Xa as SchemaModifierOptions, Za as Tool, Zn as ConnectedAccountListParams, _r as CreateConnectedAccountLinkOptions, ao as ToolListParams, do as ToolRetrievalOptions, eo as ToolExecuteParams, io as ToolList, ir as ConnectedAccountRetrieveResponse, ki as McpServerGetResponse, lo as ToolProxyParams, no as ToolExecuteResponse, nr as ConnectedAccountRefreshOptions, or as ConnectedAccountRevokeResponse, vo as ToolkitVersionParam, w as LocalToolkit, wt as ToolRouterSessionDeleteResponse, xr as CreateConnectedAccountOptions, z as SessionWithoutMcp } from "./customTool.types-
|
|
1
|
+
import { $n as ConnectedAccountListResponse, Ar as UpdateConnectedAccountAclParams, Fn as ConnectionRequest, Fr as BaseComposioProvider, Gn as ConnectedAccountCompleteAuthResponse, Hi as ToolCallSession, Ia as ProviderOptions, Ir as BaseNonAgenticProvider, J as ToolRouterCreateSessionConfig, La as SessionExecuteMetaModifiers, Mr as UpdateConnectedAccountParams, Or as PatchConnectedAccountParams, P as Session, Pa as ExecuteToolModifiers, Pi as McpUrlResponse, Qa as ToolExecuteMetaParams, Ri as ExecuteToolFnOptions, S as LocalTool, Un as ConnectedAccountCompleteAuthParams, Xa as SchemaModifierOptions, Za as Tool, Zn as ConnectedAccountListParams, _r as CreateConnectedAccountLinkOptions, ao as ToolListParams, do as ToolRetrievalOptions, eo as ToolExecuteParams, io as ToolList, ir as ConnectedAccountRetrieveResponse, ki as McpServerGetResponse, lo as ToolProxyParams, no as ToolExecuteResponse, nr as ConnectedAccountRefreshOptions, or as ConnectedAccountRevokeResponse, vo as ToolkitVersionParam, w as LocalToolkit, wt as ToolRouterSessionDeleteResponse, xr as CreateConnectedAccountOptions, z as SessionWithoutMcp } from "./customTool.types-CJkoAqUb.mjs";
|
|
2
2
|
import { t as ComposioRequestOptions } from "./requestOptions.types-DWrTcbss.mjs";
|
|
3
3
|
import ComposioClient, { Composio as Composio$1 } from "@composio/client";
|
|
4
4
|
import z, { z as z$1 } from "zod/v3";
|
|
@@ -884,6 +884,7 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
884
884
|
* scopes. Mapped from `required_scopes`; absent when the API omits it.
|
|
885
885
|
*/
|
|
886
886
|
requiredScopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
887
|
+
isConnectionRevokeSupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
887
888
|
fields: z$1.ZodObject<{
|
|
888
889
|
authConfigCreation: z$1.ZodObject<{
|
|
889
890
|
optional: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -1330,6 +1331,7 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1330
1331
|
};
|
|
1331
1332
|
authHintUrl?: string | null | undefined;
|
|
1332
1333
|
requiredScopes?: string[] | undefined;
|
|
1334
|
+
isConnectionRevokeSupported?: boolean | undefined;
|
|
1333
1335
|
proxy?: {
|
|
1334
1336
|
baseUrl?: string | undefined;
|
|
1335
1337
|
} | undefined;
|
|
@@ -1388,6 +1390,7 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1388
1390
|
};
|
|
1389
1391
|
authHintUrl?: string | null | undefined;
|
|
1390
1392
|
requiredScopes?: string[] | undefined;
|
|
1393
|
+
isConnectionRevokeSupported?: boolean | undefined;
|
|
1391
1394
|
proxy?: {
|
|
1392
1395
|
baseUrl?: string | undefined;
|
|
1393
1396
|
} | undefined;
|
|
@@ -1544,6 +1547,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1544
1547
|
* scopes. Mapped from `required_scopes`; absent when the API omits it.
|
|
1545
1548
|
*/
|
|
1546
1549
|
requiredScopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
1550
|
+
isConnectionRevokeSupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1547
1551
|
fields: z$1.ZodObject<{
|
|
1548
1552
|
authConfigCreation: z$1.ZodObject<{
|
|
1549
1553
|
optional: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -1990,6 +1994,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1990
1994
|
};
|
|
1991
1995
|
authHintUrl?: string | null | undefined;
|
|
1992
1996
|
requiredScopes?: string[] | undefined;
|
|
1997
|
+
isConnectionRevokeSupported?: boolean | undefined;
|
|
1993
1998
|
proxy?: {
|
|
1994
1999
|
baseUrl?: string | undefined;
|
|
1995
2000
|
} | undefined;
|
|
@@ -2048,6 +2053,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2048
2053
|
};
|
|
2049
2054
|
authHintUrl?: string | null | undefined;
|
|
2050
2055
|
requiredScopes?: string[] | undefined;
|
|
2056
|
+
isConnectionRevokeSupported?: boolean | undefined;
|
|
2051
2057
|
proxy?: {
|
|
2052
2058
|
baseUrl?: string | undefined;
|
|
2053
2059
|
} | undefined;
|
|
@@ -2141,6 +2147,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2141
2147
|
};
|
|
2142
2148
|
authHintUrl?: string | null | undefined;
|
|
2143
2149
|
requiredScopes?: string[] | undefined;
|
|
2150
|
+
isConnectionRevokeSupported?: boolean | undefined;
|
|
2144
2151
|
proxy?: {
|
|
2145
2152
|
baseUrl?: string | undefined;
|
|
2146
2153
|
} | undefined;
|
|
@@ -2233,6 +2240,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2233
2240
|
};
|
|
2234
2241
|
authHintUrl?: string | null | undefined;
|
|
2235
2242
|
requiredScopes?: string[] | undefined;
|
|
2243
|
+
isConnectionRevokeSupported?: boolean | undefined;
|
|
2236
2244
|
proxy?: {
|
|
2237
2245
|
baseUrl?: string | undefined;
|
|
2238
2246
|
} | undefined;
|
|
@@ -3625,9 +3633,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
3625
3633
|
type: "webhook" | "poll";
|
|
3626
3634
|
connectedAccountId: string;
|
|
3627
3635
|
id: string;
|
|
3636
|
+
state: Record<string, unknown>;
|
|
3628
3637
|
updatedAt: string;
|
|
3629
3638
|
disabledAt: string | null;
|
|
3630
|
-
state: Record<string, unknown>;
|
|
3631
3639
|
triggerConfig: Record<string, unknown>;
|
|
3632
3640
|
triggerName: string;
|
|
3633
3641
|
fallbackReason: string | null;
|
|
@@ -3638,9 +3646,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
3638
3646
|
type: "webhook" | "poll";
|
|
3639
3647
|
connectedAccountId: string;
|
|
3640
3648
|
id: string;
|
|
3649
|
+
state: Record<string, unknown>;
|
|
3641
3650
|
updatedAt: string;
|
|
3642
3651
|
disabledAt: string | null;
|
|
3643
|
-
state: Record<string, unknown>;
|
|
3644
3652
|
triggerConfig: Record<string, unknown>;
|
|
3645
3653
|
triggerName: string;
|
|
3646
3654
|
fallbackReason: string | null;
|
|
@@ -3666,9 +3674,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
3666
3674
|
type: "webhook" | "poll";
|
|
3667
3675
|
connectedAccountId: string;
|
|
3668
3676
|
id: string;
|
|
3677
|
+
state: Record<string, unknown>;
|
|
3669
3678
|
updatedAt: string;
|
|
3670
3679
|
disabledAt: string | null;
|
|
3671
|
-
state: Record<string, unknown>;
|
|
3672
3680
|
triggerConfig: Record<string, unknown>;
|
|
3673
3681
|
triggerName: string;
|
|
3674
3682
|
fallbackReason: string | null;
|
|
@@ -3679,9 +3687,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
3679
3687
|
type: "webhook" | "poll";
|
|
3680
3688
|
connectedAccountId: string;
|
|
3681
3689
|
id: string;
|
|
3690
|
+
state: Record<string, unknown>;
|
|
3682
3691
|
updatedAt: string;
|
|
3683
3692
|
disabledAt: string | null;
|
|
3684
|
-
state: Record<string, unknown>;
|
|
3685
3693
|
triggerConfig: Record<string, unknown>;
|
|
3686
3694
|
triggerName: string;
|
|
3687
3695
|
fallbackReason: string | null;
|
|
@@ -3696,9 +3704,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
3696
3704
|
type: "webhook" | "poll";
|
|
3697
3705
|
connectedAccountId: string;
|
|
3698
3706
|
id: string;
|
|
3707
|
+
state: Record<string, unknown>;
|
|
3699
3708
|
updatedAt: string;
|
|
3700
3709
|
disabledAt: string | null;
|
|
3701
|
-
state: Record<string, unknown>;
|
|
3702
3710
|
triggerConfig: Record<string, unknown>;
|
|
3703
3711
|
triggerName: string;
|
|
3704
3712
|
fallbackReason: string | null;
|
|
@@ -3713,9 +3721,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
3713
3721
|
type: "webhook" | "poll";
|
|
3714
3722
|
connectedAccountId: string;
|
|
3715
3723
|
id: string;
|
|
3724
|
+
state: Record<string, unknown>;
|
|
3716
3725
|
updatedAt: string;
|
|
3717
3726
|
disabledAt: string | null;
|
|
3718
|
-
state: Record<string, unknown>;
|
|
3719
3727
|
triggerConfig: Record<string, unknown>;
|
|
3720
3728
|
triggerName: string;
|
|
3721
3729
|
fallbackReason: string | null;
|
|
@@ -3859,7 +3867,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3859
3867
|
userId: string;
|
|
3860
3868
|
id: string;
|
|
3861
3869
|
uuid: string;
|
|
3862
|
-
triggerSlug: string;
|
|
3863
3870
|
metadata: {
|
|
3864
3871
|
toolkitSlug: string;
|
|
3865
3872
|
id: string;
|
|
@@ -3876,6 +3883,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3876
3883
|
triggerConfig: Record<string, unknown>;
|
|
3877
3884
|
triggerData?: string | undefined;
|
|
3878
3885
|
};
|
|
3886
|
+
triggerSlug: string;
|
|
3879
3887
|
payload?: Record<string, unknown> | undefined;
|
|
3880
3888
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3881
3889
|
}, {
|
|
@@ -3883,7 +3891,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3883
3891
|
userId: string;
|
|
3884
3892
|
id: string;
|
|
3885
3893
|
uuid: string;
|
|
3886
|
-
triggerSlug: string;
|
|
3887
3894
|
metadata: {
|
|
3888
3895
|
toolkitSlug: string;
|
|
3889
3896
|
id: string;
|
|
@@ -3900,6 +3907,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3900
3907
|
triggerConfig: Record<string, unknown>;
|
|
3901
3908
|
triggerData?: string | undefined;
|
|
3902
3909
|
};
|
|
3910
|
+
triggerSlug: string;
|
|
3903
3911
|
payload?: Record<string, unknown> | undefined;
|
|
3904
3912
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3905
3913
|
}>;
|
|
@@ -4170,29 +4178,29 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
4170
4178
|
}, "strip", z$1.ZodTypeAny, {
|
|
4171
4179
|
type: string;
|
|
4172
4180
|
data: {
|
|
4181
|
+
user_id: string;
|
|
4173
4182
|
connection_id: string;
|
|
4174
4183
|
trigger_id: string;
|
|
4175
4184
|
connection_nano_id: string;
|
|
4176
4185
|
trigger_nano_id: string;
|
|
4177
|
-
user_id: string;
|
|
4178
4186
|
} & {
|
|
4179
4187
|
[k: string]: unknown;
|
|
4180
4188
|
};
|
|
4181
|
-
log_id: string;
|
|
4182
4189
|
timestamp: string;
|
|
4190
|
+
log_id: string;
|
|
4183
4191
|
}, {
|
|
4184
4192
|
type: string;
|
|
4185
4193
|
data: {
|
|
4194
|
+
user_id: string;
|
|
4186
4195
|
connection_id: string;
|
|
4187
4196
|
trigger_id: string;
|
|
4188
4197
|
connection_nano_id: string;
|
|
4189
4198
|
trigger_nano_id: string;
|
|
4190
|
-
user_id: string;
|
|
4191
4199
|
} & {
|
|
4192
4200
|
[k: string]: unknown;
|
|
4193
4201
|
};
|
|
4194
|
-
log_id: string;
|
|
4195
4202
|
timestamp: string;
|
|
4203
|
+
log_id: string;
|
|
4196
4204
|
}>;
|
|
4197
4205
|
type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
|
|
4198
4206
|
/** V3 webhook payload - generic envelope for all composio.* events */
|
|
@@ -4206,14 +4214,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
|
4206
4214
|
type: string;
|
|
4207
4215
|
data: Record<string, unknown>;
|
|
4208
4216
|
id: string;
|
|
4209
|
-
metadata: Record<string, unknown>;
|
|
4210
4217
|
timestamp: string;
|
|
4218
|
+
metadata: Record<string, unknown>;
|
|
4211
4219
|
}, {
|
|
4212
4220
|
type: string;
|
|
4213
4221
|
data: Record<string, unknown>;
|
|
4214
4222
|
id: string;
|
|
4215
|
-
metadata: Record<string, unknown>;
|
|
4216
4223
|
timestamp: string;
|
|
4224
|
+
metadata: Record<string, unknown>;
|
|
4217
4225
|
}>;
|
|
4218
4226
|
type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
|
|
4219
4227
|
/** V3 trigger-specific payload - has trigger metadata fields */
|
|
@@ -4248,32 +4256,32 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
4248
4256
|
type: string;
|
|
4249
4257
|
data: Record<string, unknown>;
|
|
4250
4258
|
id: string;
|
|
4259
|
+
timestamp: string;
|
|
4251
4260
|
metadata: {
|
|
4261
|
+
user_id: string;
|
|
4262
|
+
connected_account_id: string;
|
|
4252
4263
|
trigger_id: string;
|
|
4253
4264
|
log_id: string;
|
|
4254
|
-
user_id: string;
|
|
4255
4265
|
trigger_slug: string;
|
|
4256
|
-
connected_account_id: string;
|
|
4257
4266
|
auth_config_id: string;
|
|
4258
4267
|
} & {
|
|
4259
4268
|
[k: string]: unknown;
|
|
4260
4269
|
};
|
|
4261
|
-
timestamp: string;
|
|
4262
4270
|
}, {
|
|
4263
4271
|
type: string;
|
|
4264
4272
|
data: Record<string, unknown>;
|
|
4265
4273
|
id: string;
|
|
4274
|
+
timestamp: string;
|
|
4266
4275
|
metadata: {
|
|
4276
|
+
user_id: string;
|
|
4277
|
+
connected_account_id: string;
|
|
4267
4278
|
trigger_id: string;
|
|
4268
4279
|
log_id: string;
|
|
4269
|
-
user_id: string;
|
|
4270
4280
|
trigger_slug: string;
|
|
4271
|
-
connected_account_id: string;
|
|
4272
4281
|
auth_config_id: string;
|
|
4273
4282
|
} & {
|
|
4274
4283
|
[k: string]: unknown;
|
|
4275
4284
|
};
|
|
4276
|
-
timestamp: string;
|
|
4277
4285
|
}>;
|
|
4278
4286
|
type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
|
|
4279
4287
|
/** Union of all webhook payload versions */
|
|
@@ -4287,14 +4295,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4287
4295
|
type: string;
|
|
4288
4296
|
data: Record<string, unknown>;
|
|
4289
4297
|
id: string;
|
|
4290
|
-
metadata: Record<string, unknown>;
|
|
4291
4298
|
timestamp: string;
|
|
4299
|
+
metadata: Record<string, unknown>;
|
|
4292
4300
|
}, {
|
|
4293
4301
|
type: string;
|
|
4294
4302
|
data: Record<string, unknown>;
|
|
4295
4303
|
id: string;
|
|
4296
|
-
metadata: Record<string, unknown>;
|
|
4297
4304
|
timestamp: string;
|
|
4305
|
+
metadata: Record<string, unknown>;
|
|
4298
4306
|
}>, z$1.ZodObject<{
|
|
4299
4307
|
type: z$1.ZodString;
|
|
4300
4308
|
timestamp: z$1.ZodString;
|
|
@@ -4321,29 +4329,29 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4321
4329
|
}, "strip", z$1.ZodTypeAny, {
|
|
4322
4330
|
type: string;
|
|
4323
4331
|
data: {
|
|
4332
|
+
user_id: string;
|
|
4324
4333
|
connection_id: string;
|
|
4325
4334
|
trigger_id: string;
|
|
4326
4335
|
connection_nano_id: string;
|
|
4327
4336
|
trigger_nano_id: string;
|
|
4328
|
-
user_id: string;
|
|
4329
4337
|
} & {
|
|
4330
4338
|
[k: string]: unknown;
|
|
4331
4339
|
};
|
|
4332
|
-
log_id: string;
|
|
4333
4340
|
timestamp: string;
|
|
4341
|
+
log_id: string;
|
|
4334
4342
|
}, {
|
|
4335
4343
|
type: string;
|
|
4336
4344
|
data: {
|
|
4345
|
+
user_id: string;
|
|
4337
4346
|
connection_id: string;
|
|
4338
4347
|
trigger_id: string;
|
|
4339
4348
|
connection_nano_id: string;
|
|
4340
4349
|
trigger_nano_id: string;
|
|
4341
|
-
user_id: string;
|
|
4342
4350
|
} & {
|
|
4343
4351
|
[k: string]: unknown;
|
|
4344
4352
|
};
|
|
4345
|
-
log_id: string;
|
|
4346
4353
|
timestamp: string;
|
|
4354
|
+
log_id: string;
|
|
4347
4355
|
}>, z$1.ZodObject<{
|
|
4348
4356
|
trigger_name: z$1.ZodString;
|
|
4349
4357
|
connection_id: z$1.ZodString;
|
|
@@ -4432,16 +4440,16 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
4432
4440
|
maxBodyBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4433
4441
|
}, "strip", z$1.ZodTypeAny, {
|
|
4434
4442
|
id: string;
|
|
4435
|
-
payload: string;
|
|
4436
4443
|
timestamp: string;
|
|
4444
|
+
payload: string;
|
|
4437
4445
|
secret: string;
|
|
4438
4446
|
signature: string;
|
|
4439
4447
|
tolerance: number;
|
|
4440
4448
|
maxBodyBytes?: number | undefined;
|
|
4441
4449
|
}, {
|
|
4442
4450
|
id: string;
|
|
4443
|
-
payload: string;
|
|
4444
4451
|
timestamp: string;
|
|
4452
|
+
payload: string;
|
|
4445
4453
|
secret: string;
|
|
4446
4454
|
signature: string;
|
|
4447
4455
|
tolerance?: number | undefined;
|
|
@@ -5474,19 +5482,19 @@ declare const UsageSummaryParamsSchema: z$1.ZodObject<{
|
|
|
5474
5482
|
}, "strip", z$1.ZodTypeAny, {
|
|
5475
5483
|
from?: number | undefined;
|
|
5476
5484
|
to?: number | undefined;
|
|
5485
|
+
entityTypes?: string[] | undefined;
|
|
5477
5486
|
filters?: {
|
|
5478
5487
|
userId?: string[] | null | undefined;
|
|
5479
5488
|
sessionId?: string[] | null | undefined;
|
|
5480
5489
|
} | undefined;
|
|
5481
|
-
entityTypes?: string[] | undefined;
|
|
5482
5490
|
}, {
|
|
5483
5491
|
from?: number | undefined;
|
|
5484
5492
|
to?: number | undefined;
|
|
5493
|
+
entityTypes?: string[] | undefined;
|
|
5485
5494
|
filters?: {
|
|
5486
5495
|
userId?: string[] | null | undefined;
|
|
5487
5496
|
sessionId?: string[] | null | undefined;
|
|
5488
5497
|
} | undefined;
|
|
5489
|
-
entityTypes?: string[] | undefined;
|
|
5490
5498
|
}>;
|
|
5491
5499
|
type UsageSummaryParams = z$1.infer<typeof UsageSummaryParamsSchema>;
|
|
5492
5500
|
declare const UsageOrderBySchema: z$1.ZodEnum<["key", "total_quantity", "event_count"]>;
|
|
@@ -6627,16 +6635,16 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
6627
6635
|
userId: string;
|
|
6628
6636
|
id: string;
|
|
6629
6637
|
url: string;
|
|
6630
|
-
authConfigs: string[];
|
|
6631
6638
|
allowedTools: string[];
|
|
6639
|
+
authConfigs: string[];
|
|
6632
6640
|
}, {
|
|
6633
6641
|
name: string;
|
|
6634
6642
|
type: "streamable_http";
|
|
6635
6643
|
userId: string;
|
|
6636
6644
|
id: string;
|
|
6637
6645
|
url: string;
|
|
6638
|
-
authConfigs: string[];
|
|
6639
6646
|
allowedTools: string[];
|
|
6647
|
+
authConfigs: string[];
|
|
6640
6648
|
}>;
|
|
6641
6649
|
type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
|
|
6642
6650
|
declare const MCPConfigCreationParamsSchema: z.ZodObject<{
|
|
@@ -6763,15 +6771,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
6763
6771
|
}, "strip", z.ZodTypeAny, {
|
|
6764
6772
|
toolkits: string[];
|
|
6765
6773
|
limit: number;
|
|
6766
|
-
authConfigs: string[];
|
|
6767
6774
|
page: number;
|
|
6775
|
+
authConfigs: string[];
|
|
6768
6776
|
name?: string | undefined;
|
|
6769
6777
|
}, {
|
|
6770
6778
|
name?: string | undefined;
|
|
6771
6779
|
toolkits?: string[] | undefined;
|
|
6772
6780
|
limit?: number | undefined;
|
|
6773
|
-
authConfigs?: string[] | undefined;
|
|
6774
6781
|
page?: number | undefined;
|
|
6782
|
+
authConfigs?: string[] | undefined;
|
|
6775
6783
|
}>;
|
|
6776
6784
|
type MCPListParams = z.infer<typeof MCPListParamsSchema>;
|
|
6777
6785
|
declare const MCPItemSchema: z.ZodObject<{
|
|
@@ -7773,6 +7781,10 @@ declare class Webhooks {
|
|
|
7773
7781
|
*/
|
|
7774
7782
|
declare const LogSearchFilterFieldSchema: z$1.ZodEnum<["tool_slug", "toolkit_slug", "connected_account_id", "auth_config_id", "status", "user_id", "session_id", "sandbox_id", "request_id", "log_id"]>;
|
|
7775
7783
|
type LogSearchFilterField = z$1.infer<typeof LogSearchFilterFieldSchema>;
|
|
7784
|
+
/**
|
|
7785
|
+
* The legacy substring operators remain in the input type for source compatibility.
|
|
7786
|
+
* Tool-log search rejects them because the API now supports only equality and inequality.
|
|
7787
|
+
*/
|
|
7776
7788
|
declare const LogSearchFilterOperatorSchema: z$1.ZodEnum<["==", "!=", "contains", "not_contains"]>;
|
|
7777
7789
|
type LogSearchFilterOperator = z$1.infer<typeof LogSearchFilterOperatorSchema>;
|
|
7778
7790
|
declare const LogSearchFilterSchema: z$1.ZodObject<{
|
|
@@ -7781,11 +7793,11 @@ declare const LogSearchFilterSchema: z$1.ZodObject<{
|
|
|
7781
7793
|
value: z$1.ZodString;
|
|
7782
7794
|
}, "strip", z$1.ZodTypeAny, {
|
|
7783
7795
|
value: string;
|
|
7784
|
-
field: "status" | "
|
|
7796
|
+
field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
|
|
7785
7797
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7786
7798
|
}, {
|
|
7787
7799
|
value: string;
|
|
7788
|
-
field: "status" | "
|
|
7800
|
+
field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
|
|
7789
7801
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7790
7802
|
}>;
|
|
7791
7803
|
type LogSearchFilter = z$1.infer<typeof LogSearchFilterSchema>;
|
|
@@ -7814,11 +7826,11 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7814
7826
|
value: z$1.ZodString;
|
|
7815
7827
|
}, "strip", z$1.ZodTypeAny, {
|
|
7816
7828
|
value: string;
|
|
7817
|
-
field: "status" | "
|
|
7829
|
+
field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
|
|
7818
7830
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7819
7831
|
}, {
|
|
7820
7832
|
value: string;
|
|
7821
|
-
field: "status" | "
|
|
7833
|
+
field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
|
|
7822
7834
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7823
7835
|
}>, "many">>;
|
|
7824
7836
|
timeRange: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -7838,7 +7850,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7838
7850
|
cursor?: string | null | undefined;
|
|
7839
7851
|
filters?: {
|
|
7840
7852
|
value: string;
|
|
7841
|
-
field: "status" | "
|
|
7853
|
+
field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
|
|
7842
7854
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7843
7855
|
}[] | undefined;
|
|
7844
7856
|
timeRange?: {
|
|
@@ -7850,7 +7862,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7850
7862
|
cursor?: string | null | undefined;
|
|
7851
7863
|
filters?: {
|
|
7852
7864
|
value: string;
|
|
7853
|
-
field: "status" | "
|
|
7865
|
+
field: "status" | "user_id" | "session_id" | "toolkit_slug" | "tool_slug" | "connected_account_id" | "log_id" | "auth_config_id" | "sandbox_id" | "request_id";
|
|
7854
7866
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7855
7867
|
}[] | undefined;
|
|
7856
7868
|
timeRange?: {
|
|
@@ -7914,12 +7926,12 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7914
7926
|
type: string;
|
|
7915
7927
|
status: "success" | "failed";
|
|
7916
7928
|
id: string;
|
|
7929
|
+
timestamp: string;
|
|
7917
7930
|
metadata: {
|
|
7918
7931
|
instant_charge?: string | undefined;
|
|
7919
7932
|
} & {
|
|
7920
7933
|
[k: string]: unknown;
|
|
7921
7934
|
};
|
|
7922
|
-
timestamp: string;
|
|
7923
7935
|
level: "error" | "info" | "warn";
|
|
7924
7936
|
metrics: Record<string, unknown>;
|
|
7925
7937
|
parent: {
|
|
@@ -7931,12 +7943,12 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7931
7943
|
type: string;
|
|
7932
7944
|
status: "success" | "failed";
|
|
7933
7945
|
id: string;
|
|
7946
|
+
timestamp: string;
|
|
7934
7947
|
metadata: {
|
|
7935
7948
|
instant_charge?: string | undefined;
|
|
7936
7949
|
} & {
|
|
7937
7950
|
[k: string]: unknown;
|
|
7938
7951
|
};
|
|
7939
|
-
timestamp: string;
|
|
7940
7952
|
level: "error" | "info" | "warn";
|
|
7941
7953
|
metrics: Record<string, unknown>;
|
|
7942
7954
|
parent: {
|
|
@@ -7978,12 +7990,12 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7978
7990
|
type: string;
|
|
7979
7991
|
status: "success" | "failed";
|
|
7980
7992
|
id: string;
|
|
7993
|
+
timestamp: string;
|
|
7981
7994
|
metadata: {
|
|
7982
7995
|
instant_charge?: string | undefined;
|
|
7983
7996
|
} & {
|
|
7984
7997
|
[k: string]: unknown;
|
|
7985
7998
|
};
|
|
7986
|
-
timestamp: string;
|
|
7987
7999
|
level: "error" | "info" | "warn";
|
|
7988
8000
|
metrics: Record<string, unknown>;
|
|
7989
8001
|
parent: {
|
|
@@ -7995,12 +8007,12 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7995
8007
|
type: string;
|
|
7996
8008
|
status: "success" | "failed";
|
|
7997
8009
|
id: string;
|
|
8010
|
+
timestamp: string;
|
|
7998
8011
|
metadata: {
|
|
7999
8012
|
instant_charge?: string | undefined;
|
|
8000
8013
|
} & {
|
|
8001
8014
|
[k: string]: unknown;
|
|
8002
8015
|
};
|
|
8003
|
-
timestamp: string;
|
|
8004
8016
|
level: "error" | "info" | "warn";
|
|
8005
8017
|
metrics: Record<string, unknown>;
|
|
8006
8018
|
parent: {
|
|
@@ -8016,12 +8028,12 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
8016
8028
|
type: string;
|
|
8017
8029
|
status: "success" | "failed";
|
|
8018
8030
|
id: string;
|
|
8031
|
+
timestamp: string;
|
|
8019
8032
|
metadata: {
|
|
8020
8033
|
instant_charge?: string | undefined;
|
|
8021
8034
|
} & {
|
|
8022
8035
|
[k: string]: unknown;
|
|
8023
8036
|
};
|
|
8024
|
-
timestamp: string;
|
|
8025
8037
|
level: "error" | "info" | "warn";
|
|
8026
8038
|
metrics: Record<string, unknown>;
|
|
8027
8039
|
parent: {
|
|
@@ -8036,12 +8048,12 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
8036
8048
|
type: string;
|
|
8037
8049
|
status: "success" | "failed";
|
|
8038
8050
|
id: string;
|
|
8051
|
+
timestamp: string;
|
|
8039
8052
|
metadata: {
|
|
8040
8053
|
instant_charge?: string | undefined;
|
|
8041
8054
|
} & {
|
|
8042
8055
|
[k: string]: unknown;
|
|
8043
8056
|
};
|
|
8044
|
-
timestamp: string;
|
|
8045
8057
|
level: "error" | "info" | "warn";
|
|
8046
8058
|
metrics: Record<string, unknown>;
|
|
8047
8059
|
parent: {
|
|
@@ -8128,12 +8140,12 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
8128
8140
|
status: "success" | "failed";
|
|
8129
8141
|
data: Record<string, unknown>;
|
|
8130
8142
|
id: string;
|
|
8143
|
+
timestamp: string;
|
|
8131
8144
|
metadata: {
|
|
8132
8145
|
instant_charge?: string | undefined;
|
|
8133
8146
|
} & {
|
|
8134
8147
|
[k: string]: unknown;
|
|
8135
8148
|
};
|
|
8136
|
-
timestamp: string;
|
|
8137
8149
|
level: "error" | "info" | "warn";
|
|
8138
8150
|
metrics: Record<string, unknown>;
|
|
8139
8151
|
parent: {
|
|
@@ -8160,12 +8172,12 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
8160
8172
|
status: "success" | "failed";
|
|
8161
8173
|
data: Record<string, unknown>;
|
|
8162
8174
|
id: string;
|
|
8175
|
+
timestamp: string;
|
|
8163
8176
|
metadata: {
|
|
8164
8177
|
instant_charge?: string | undefined;
|
|
8165
8178
|
} & {
|
|
8166
8179
|
[k: string]: unknown;
|
|
8167
8180
|
};
|
|
8168
|
-
timestamp: string;
|
|
8169
8181
|
level: "error" | "info" | "warn";
|
|
8170
8182
|
metrics: Record<string, unknown>;
|
|
8171
8183
|
parent: {
|
|
@@ -28674,12 +28674,12 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
|
|
|
28674
28674
|
connectedAccountIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
28675
28675
|
isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
28676
28676
|
}, "strip", z$1.ZodTypeAny, {
|
|
28677
|
-
connectedAccountIds?: string[] | undefined;
|
|
28678
28677
|
userIds?: string[] | undefined;
|
|
28678
|
+
connectedAccountIds?: string[] | undefined;
|
|
28679
28679
|
isChatAuth?: boolean | undefined;
|
|
28680
28680
|
}, {
|
|
28681
|
-
connectedAccountIds?: string[] | undefined;
|
|
28682
28681
|
userIds?: string[] | undefined;
|
|
28682
|
+
connectedAccountIds?: string[] | undefined;
|
|
28683
28683
|
isChatAuth?: boolean | undefined;
|
|
28684
28684
|
}>;
|
|
28685
28685
|
type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
|
|
@@ -28706,14 +28706,14 @@ declare const GenerateURLParamsSchema: z$1.ZodObject<{
|
|
|
28706
28706
|
composioManagedAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
28707
28707
|
}, "strip", z$1.ZodTypeAny, {
|
|
28708
28708
|
mcpServerId: string;
|
|
28709
|
+
userIds?: string[] | undefined;
|
|
28709
28710
|
composioManagedAuth?: boolean | undefined;
|
|
28710
28711
|
connectedAccountIds?: string[] | undefined;
|
|
28711
|
-
userIds?: string[] | undefined;
|
|
28712
28712
|
}, {
|
|
28713
28713
|
mcpServerId: string;
|
|
28714
|
+
userIds?: string[] | undefined;
|
|
28714
28715
|
composioManagedAuth?: boolean | undefined;
|
|
28715
28716
|
connectedAccountIds?: string[] | undefined;
|
|
28716
|
-
userIds?: string[] | undefined;
|
|
28717
28717
|
}>;
|
|
28718
28718
|
type GenerateURLParams = z$1.infer<typeof GenerateURLParamsSchema>;
|
|
28719
28719
|
declare const GenerateURLResponseSchema: z$1.ZodObject<{
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
* `@composio/experimental` package, on the `@composio/experimental/workbench`
|
|
13
13
|
* subpath — they are no longer part of `@composio/core`.
|
|
14
14
|
*/
|
|
15
|
-
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-
|
|
16
|
-
import { C as LocalToolExecuteFn, S as LocalTool, a as CreateCustomToolkitParams, c as CustomTool, k as SessionContext, m as CustomToolkit, o as CreateLocalToolParams, r as CreateCustomToolParams, s as CreateLocalToolkitParams, u as CustomToolExecuteFn, w as LocalToolkit } from "../customTool.types-
|
|
15
|
+
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-BFJBzgnP.mjs";
|
|
16
|
+
import { C as LocalToolExecuteFn, S as LocalTool, a as CreateCustomToolkitParams, c as CustomTool, k as SessionContext, m as CustomToolkit, o as CreateLocalToolParams, r as CreateCustomToolParams, s as CreateLocalToolkitParams, u as CustomToolExecuteFn, w as LocalToolkit } from "../customTool.types-CJkoAqUb.mjs";
|
|
17
17
|
export { type CreateCustomToolParams, type CreateCustomToolkitParams, type CreateLocalToolParams, type CreateLocalToolkitParams, type CustomTool, type CustomToolExecuteFn, type CustomToolkit, type LocalTool, type LocalToolExecuteFn, type LocalToolkit, type SessionContext, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as LogSearchTimeRangeSchema, $n as TriggerInstanceType, $r as CreateAuthConfigResponse, $t as CustomToolkitCreateResponseSchema, A as SessionConfigs, Ai as ToolkitListGrantContextsParamsSchema, An as UsageSummaryResponse, Ar as WebhookTriggerPayloadV3, At as WebhookSubscriptionEventTypesResponse, B as SessionConfigSummarySchema, Bi as ToolkitRetrieveCategoriesResponse, Bn as TriggerEventData, Br as AuthConfigRetrieveResponseSchema, Bt as WebhookSubscriptionSetParamsSchema, C as LogLevel, Ci as ToolkitConditionalScope, Cn as UsageEntitySummarySchema, Cr as WebhookPayloadV1Schema, Ct as WebhookEndpointSchema, D as KeyringTransferKeySchema, Di as ToolkitGrantContextDimension, Dn as UsageOrderDirectionSchema, Dr as WebhookPayloadV3Schema, Dt as WebhookSubscriptionDeleteResponseSchema, E as KeyringTransferKey, Ei as ToolkitGetManySlugsSchema, En as UsageOrderBySchema, Er as WebhookPayloadV3, Et as WebhookSubscriptionDeleteResponse, F as SessionConfigListResponseSchema, Fi as ToolkitMangedByEnumSchema, Fn as ParseWebhookOptions, Fr as AuthConfigListParams, Ft as WebhookSubscriptionListResponseSchema, G as LogSearchFilterOperator, Gi as ToolkitSortByEnumSchema, Gn as TriggerInstanceListActiveResponseItemSchema, Gr as AuthConfigUpdateParamsSchema, Gt as Experimental, H as LogSearchFilter, Hi as ToolkitRetrieveResponse, Hn as TriggerInstanceListActiveParamsSchema, Hr as AuthConfigType, Ht as WebhookSubscriptionUpdateParamsSchema, I as SessionConfigPolicy, Ii as ToolkitRecommendScopesParams, In as SetWebhookSubscriptionParams, Ir as AuthConfigListParamsSchema, It as WebhookSubscriptionRotateSecretResponse, J as LogSearchParams, Ji as ToolkitsGetManyParamsSchema, Jn as TriggerInstanceManageDeleteResponseSchema, Jr as AuthSchemeEnum, Jt as CustomToolkitAuthScheme, K as LogSearchFilterOperatorSchema, Ki as ToolkitVersionChangelog, Kn as TriggerInstanceListActiveResponseSchema, Kr as AuthCustomConfigUpdateParamsSchema, Kt as CustomToolkits, L as SessionConfigPolicySchema, Li as ToolkitRecommendScopesParamsSchema, Ln as SetWebhookSubscriptionParamsSchema, Lr as AuthConfigListResponse, Lt as WebhookSubscriptionRotateSecretResponseSchema, M as SessionConfigListParams, Mi as ToolkitListGrantContextsResponseSchema, Mn as DefaultWebhookSubscriptionEvents, Mr as WebhookVersion, Mt as WebhookSubscriptionListParams, N as SessionConfigListParamsSchema, Ni as ToolkitListParams, Nn as IncomingTriggerPayload, Nr as WebhookVersions, Nt as WebhookSubscriptionListParamsSchema, O as KeyringTransferKeysResponse, Oi as ToolkitGrantContextDimensionSchema, On as UsageSummaryParams, Or as WebhookRequestLike, Ot as WebhookSubscriptionEventType, P as SessionConfigListResponse, Pi as ToolkitMangedByEnum, Pn as IncomingTriggerPayloadSchema, Pr as AuthConfigCreationToolAccessConfigSchema, Pt as WebhookSubscriptionListResponse, Q as LogSearchTimeRange, Qn as TriggerInstanceManageUpdateResponseSchema, Qr as CreateAuthConfigParamsSchema, Qt as CustomToolkitCreateResponse, R as SessionConfigSchema, Ri as ToolkitRecommendScopesResponse, Rn as TriggerData, Rr as AuthConfigListResponseSchema, Rt as WebhookSubscriptionSchema, S as ComposioLogger, Si as ToolkitComposioManagedAuthSchema, Sn as UsageEntitySummary, Sr as WebhookPayloadV1, St as WebhookEndpointReplaceParamsSchema, T as Keyring, Ti as ToolkitGetManyParams, Tn as UsageFiltersSchema, Tr as WebhookPayloadV2Schema, Tt as WebhookEndpointUpdateParamsSchema, U as LogSearchFilterField, Ui as ToolkitRetrieveResponseSchema, Un as TriggerInstanceListActiveResponse, Ur as AuthConfigTypes, Ut as WebhookVersionSchema, V as Logs, Vi as ToolkitRetrieveCategoriesResponseSchema, Vn as TriggerInstanceListActiveParams, Vr as AuthConfigToolAccessConfigSchema, Vt as WebhookSubscriptionUpdateParams, W as LogSearchFilterFieldSchema, Wi as ToolkitSortByEnum, Wn as TriggerInstanceListActiveResponseItem, Wr as AuthConfigUpdateParams, Wt as MCP, X as LogSearchResponse, Xn as TriggerInstanceManageUpdateParamsSchema, Xr as AuthSchemeTypes, Xt as CustomToolkitCreateParams, Y as LogSearchParamsSchema, Yi as ToolkitsListParamsSchema, Yn as TriggerInstanceManageUpdateParams, Yr as AuthSchemeType, Yt as CustomToolkitAuthSchemeSchema, Z as LogSearchResponseSchema, Zn as TriggerInstanceManageUpdateResponse, Zr as CreateAuthConfigParams, Zt as CustomToolkitCreateParamsSchema, _ as SessionWebhookHttpResponseOverride, _i as ToolkitChangelogItem, _n as UsageBreakdownGroupSchema, _r as VerifyWebhookParams, _t as WebhookEndpointListParams, a as ParseSessionWebhookParams, ai as ToolKitListResponse, an as CustomToolkitSyncResponse, ar as TriggerStatusEnum, at as ToolExecutionLogMetadataSchema, b as SessionWebhookToolResponse, bi as ToolkitChangelogResponseSchema, bn as UsageBreakdownResponse, br as WebhookPayload, bt as WebhookEndpointListResponseSchema, c as SessionWebhookBeforeExecuteEvent, ci as ToolKitMetaSchema, cn as CustomToolkitUpdateParamsSchema, cr as TriggerSubscribeParamSchema, ct as ToolExecutionLogStatusSchema, d as SessionWebhookEvent, di as ToolkitAuthField, dn as CustomToolkitUpsertParams, dr as TriggerTypeSchema, dt as Webhooks, ei as CreateAuthConfigResponseSchema, en as CustomToolkitDeleteResponse, er as TriggerInstanceTypeSchema, et as ToolExecutionLog, f as SessionWebhookEventType, fi as ToolkitAuthFieldSchema, fn as CustomToolkitUpsertParamsSchema, fr as TriggersTypeListParams, ft as WebhookEndpoint, g as SessionWebhookHttpResponse, gi as ToolkitCategorySchema, gn as UsageBreakdownGroup, gr as TriggersTypeRetrieveResponse, gt as WebhookEndpointListItemSchema, h as SessionWebhookHttpRequestOverride, hi as ToolkitCategory, hn as Usage, hr as TriggersTypeListResponseSchema, ht as WebhookEndpointListItem, i as SessionWebhooks, ii as ToolKitItemSchema, in as CustomToolkitSyncParamsSchema, ir as TriggerInstanceUpsertResponseSchema, it as ToolExecutionLogMetadata, j as SessionConfig, ji as ToolkitListGrantContextsResponse, jn as UsageSummaryResponseSchema, jr as WebhookTriggerPayloadV3Schema, jt as WebhookSubscriptionEventTypesResponseSchema, k as KeyringTransferKeysResponseSchema, ki as ToolkitListGrantContextsParams, kn as UsageSummaryParamsSchema, kr as WebhookSubscription, kt as WebhookSubscriptionEventTypeSchema, l as SessionWebhookBeforeExecuteResponse, li as ToolkitAuthConfigDetails, ln as CustomToolkitUpdateResponse, lr as TriggerSubscribeParams, lt as WebhookEndpoints, m as SessionWebhookHttpRequest, mi as ToolkitAuthFieldsResponseSchema, mn as CustomToolkitUpsertResponseSchema, mr as TriggersTypeListResponse, mt as WebhookEndpointCreateParamsSchema, n as ComposioConfig, ni as CreateCustomAuthConfigParamsSchema, nn as CustomToolkitLogoFile, nr as TriggerInstanceUpsertParamsSchema, nt as ToolExecutionLogDetailSchema, o as SessionWebhookAfterExecuteEvent, oi as ToolKitListResponseSchema, on as CustomToolkitSyncResponseSchema, or as TriggerStatusType, ot as ToolExecutionLogParentSchema, p as SessionWebhookEventTypes, pi as ToolkitAuthFieldsResponse, pn as CustomToolkitUpsertResponse, pr as TriggersTypeListParamsSchema, pt as WebhookEndpointCreateParams, q as LogSearchFilterSchema, qi as ToolkitVersionChangelogSchema, qn as TriggerInstanceManageDeleteResponse, qr as AuthDefaultConfigUpdateParamsSchema, qt as CustomToolkitApiKeyField, r as Sessions, ri as ToolKitItem, rn as CustomToolkitSyncParams, rr as TriggerInstanceUpsertResponse, rt as ToolExecutionLogLevelSchema, s as SessionWebhookAfterExecuteResponse, si as ToolKitMeta, sn as CustomToolkitUpdateParams, sr as TriggerStatuses, st as ToolExecutionLogSchema, t as Composio, ti as CreateComposioManagedAuthConfigParamsSchema, tn as CustomToolkitDeleteResponseSchema, tr as TriggerInstanceUpsertParams, tt as ToolExecutionLogDetail, u as SessionWebhookBlockResponse, ui as ToolkitAuthConfigDetailsSchema, un as CustomToolkitUpdateResponseSchema, ur as TriggerType, ut as WebhookSubscriptions, v as SessionWebhookMetadata, vi as ToolkitChangelogItemSchema, vn as UsageBreakdownParams, vr as VerifyWebhookParamsSchema, vt as WebhookEndpointListParamsSchema, w as logger, wi as ToolkitConditionalScopeSchema, wn as UsageFilters, wr as WebhookPayloadV2, wt as WebhookEndpointUpdateParams, x as OpenAIProvider, xi as ToolkitComposioManagedAuth, xn as UsageBreakdownResponseSchema, xr as WebhookPayloadSchema, xt as WebhookEndpointReplaceParams, y as SessionWebhookToolCall, yi as ToolkitChangelogResponse, yn as UsageBreakdownParamsSchema, yr as VerifyWebhookResult, yt as WebhookEndpointListResponse, z as SessionConfigSummary, zi as ToolkitRecommendScopesResponseSchema, zn as TriggerEvent, zr as AuthConfigRetrieveResponse, zt as WebhookSubscriptionSetParams } from "./composio-
|
|
2
|
-
import { $ as ToolRouterHookConditionCheckHandler, $a as ToolExecuteMetaParamsSchema, $i as CustomOauth2ConnectionData, $n as ConnectedAccountListResponse, $r as MCPAuthOptions, $t as ToolRouterTagsEnableDisableSchema, A as MCPServerType, Aa as Oauth2RevokedConnectionDataSchema, Ai as McpServerUrlInfo, An as ToolRouterSessionFilesMountDownloadOptionsSchema, Ar as UpdateConnectedAccountAclParams, At as ToolRouterSessionExecuteFn, B as ToolRouterAuthorizeFn, Ba as TransformToolSchemaModifier, Bi as Provider, Bn as ConnectedAccountAclConfigSchema, Br as ComposioMcpDeleteResponseSchema, Bt as ToolRouterSessionMetaToolSlug, C as LocalToolExecuteFn, Ca as Oauth2InactiveConnectionData, Ci as McpDeleteResponseSchema, Cn as FileListResponse, Cr as CreateConnectedAccountParams, Ct as ToolRouterSessionDeleteFn, D as RegisteredLocalTool, Da as Oauth2InitiatingConnectionData, Di as McpRetrieveResponseSchema, Dn as ToolRouterSessionFilesMountDeleteOptions, Dr as DefaultCreateConnectedAccountParamsSchema, Dt as ToolRouterSessionEnsureConnectedOptions, E as RegisteredCustomToolkit, Ea as Oauth2InitiatedConnectionDataSchema, Ei as McpRetrieveResponse, En as RemoteFileDataSchema, Er as CreateConnectedAccountResponseSchema, Et as ToolRouterSessionEnsureConnectedFn, F as SessionExperimental, Fa as MetaToolArguments, Fi as McpUrlResponseCamelCase, Fn as ConnectionRequest, Fr as BaseComposioProvider, Ft as ToolRouterSessionExecuteResponseSchema, G as ToolRouterConfigTagsSchema, Ga as beforeFileUploadModifier, Gi as ConnectionData, Gn as ConnectedAccountCompleteAuthResponse, Gr as CustomCreateResponse, Gt as ToolRouterSessionProxyExecuteFn, H as ToolRouterBlockReasonSchema, Ha as afterExecuteModifier, Hi as ToolCallSession, Hn as ConnectedAccountAuthConfigSchema, Hr as ComposioMcpRetrieveResponseSchema, Ht as ToolRouterSessionPreloadConfig, I as SessionPreset, Ia as ProviderOptions, Ii as McpUserConnectionStatus, In as ConnectionRequestState, Ir as BaseNonAgenticProvider, It as ToolRouterSessionListConfigHistoryFn, J as ToolRouterCreateSessionConfig, Ja as JSONSchemaProperty, Ji as ConnectionStatuses, Jn as ConnectedAccountExperimentalResponse, Jr as GenerateURLParams, Jt as ToolRouterSessionSearchResponse, K as ToolRouterConfigTools, Ka as CustomAuthParams, Ki as ConnectionDataSchema, Kn as ConnectedAccountCompleteAuthResponseSchema, Kr as CustomCreateResponseSchema, Kt as ToolRouterSessionProxyExecuteResponse, L as SessionProxyExecuteParams, La as SessionExecuteMetaModifiers, Li as ExecuteToolFn, Ln as ConnectedAccountAclConfig, Lr as ComposioCustomCreateResponseSchema, Lt as ToolRouterSessionListConfigHistoryOptions, M as SandboxSize, Ma as AgenticToolOptions, Mi as McpUpdateResponse, Mn as ToolRouterSessionFilesMountListOptionsSchema, Mr as UpdateConnectedAccountParams, Mt as ToolRouterSessionExecuteMetaOptions, N as SandboxSizeSchema, Na as BeforeFileUploadSource, Ni as McpUpdateResponseSchema, Nn as ToolRouterSessionFilesMountUploadOptions, Nr as UpdateConnectedAccountParamsSchema, Nt as ToolRouterSessionExecuteOptions, O as RegisteredLocalToolkit, Oa as Oauth2InitiatingConnectionDataSchema, Oi as McpServerCreateResponse, On as ToolRouterSessionFilesMountDeleteOptionsSchema, Or as PatchConnectedAccountParams, Ot as ToolRouterSessionEnsureConnectedOptionsSchema, P as Session, Pa as ExecuteToolModifiers, Pi as McpUrlResponse, Pn as ToolRouterSessionFilesMountUploadOptionsSchema, Pr as BaseAgenticProvider, Pt as ToolRouterSessionExecuteResponse, Q as ToolRouterHookAppliesToSchema, Qa as ToolExecuteMetaParams, Qi as CustomOauth1ConnectionDataSchema, Qn as ConnectedAccountListParamsSchema, Qr as GenerateURLResponseValidated, Qt as ToolRouterSessionWorkbenchConfig, R as SessionProxyExecuteParamsSchema, Ra as SessionMetaToolOptions, Ri as ExecuteToolFnOptions, Rn as ConnectedAccountAclConfigResponse, Rr as ComposioGenerateURLParamsSchema, Rt as ToolRouterSessionListConfigHistoryOptionsSchema, S as LocalTool, Sa as Oauth2FailedConnectionDataSchema, Si as McpDeleteResponse, Sn as FileDeleteResponseSchema, So as ToolkitVersionsSchema, Sr as CreateConnectedAccountOptionsSchema, St as ToolRouterSessionConfigHistoryItem, T as RegisteredCustomTool, Ta as Oauth2InitiatedConnectionData, Ti as McpListResponseSchema, Tn as RemoteFileData, Tr as CreateConnectedAccountResponse, Tt as ToolRouterSessionDeleteResponseSchema, U as ToolRouterConfigManageConnectionsSchema, Ua as beforeExecuteMetaModifier, Ui as BaseConnectionFields, Un as ConnectedAccountCompleteAuthParams, Ur as ComposioMcpUpdateResponseSchema, Ut as ToolRouterSessionProxyExecuteBlocked, V as ToolRouterBlockReason, Va as afterExecuteMetaModifier, Vi as ToolCallExecutionTarget, Vn as ConnectedAccountAuthConfig, Vr as ComposioMcpListResponseSchema, Vt as ToolRouterSessionMetadata, W as ToolRouterConfigTags, Wa as beforeExecuteModifier, Wi as BillcomAuthConnectionDataSchema, Wn as ConnectedAccountCompleteAuthParamsSchema, Wr as ConnectionStatus, Wt as ToolRouterSessionProxyExecuteCompleted, X as ToolRouterHook, Xa as SchemaModifierOptions, Xi as CustomConnectionDataSchema, Xn as ConnectedAccountExperimentalSchema, Xr as GenerateURLResponse, Xt as ToolRouterSessionUpdateFn, Y as ToolRouterCreateSessionConfigSchema, Ya as JSONSchemaPropertySchema, Yi as CustomConnectionData, Yn as ConnectedAccountExperimentalResponseSchema, Yr as GenerateURLParamsSchema, Yt as ToolRouterSessionSearchResponseSchema, Z as ToolRouterHookAppliesTo, Za as Tool, Zi as CustomOauth1ConnectionData, Zn as ConnectedAccountListParams, Zr as GenerateURLResponseSchema, Zt as ToolRouterSessionWarning, _ as CustomToolkitWireDefinition, _a as Oauth2ConnectionData, _i as MCPSingleAppServer, _n as ToolkitConnectionStateSchema, _o as ToolkitVersion, _r as CreateConnectedAccountLinkOptions, _t as ToolRouterProxyExecuteSchema, a as CreateCustomToolkitParams, aa as Oauth1ExpiredConnectionData, ai as MCPGetServerParamsSchema, an as ToolRouterToolkitsOptionsSchema, ao as ToolListParams, ar as ConnectedAccountRetrieveResponseSchema, at as ToolRouterHookSchema, b as InferZodSchema, ba as Oauth2ExpiredConnectionDataSchema, bi as MCPToolkitConfigSchema, bn as RemoteFile, bo as ToolkitVersionSchema, br as CreateConnectedAccountLinkResponseSchema, bt as ToolRouterSessionConfig, c as CustomTool, ca as Oauth1FailedConnectionDataSchema, ci as MCPMultiAppServerSchema, cn as ToolRouterToolsParam, co as ToolListResponseSchema, cr as ConnectedAccountRevokedToken, ct as ToolRouterInputResponse, d as CustomToolResponse, da as Oauth1InitiatedConnectionData, di as MCPServerCreateResponseSchema, dn as ToolRouterUpdateExperimentalSchema, do as ToolRetrievalOptions, dr as ConnectedAccountStatusEnum, dt as ToolRouterMCPServerConfig, ea as CustomOauth2ConnectionDataSchema, ei as MCPAuthOptionsSchema, en as ToolRouterTagsParamSchema, eo as ToolExecuteParams, er as ConnectedAccountListResponseItem, et as ToolRouterHookConditionCheckHandlerSchema, f as CustomToolSlugSchema, fa as Oauth1InitiatedConnectionDataSchema, fi as MCPServerListResponse, fn as ToolRouterUpdateManageConnectionsConfig, fo as ToolSchema, fr as ConnectedAccountStatusSchema, ft as ToolRouterMCPServerConfigSchema, g as CustomToolkitResponse, ga as Oauth2ActiveConnectionDataSchema, gi as MCPServerUpdateParamsSchema, gn as ToolkitConnectionState, go as ToolkitSchema, gr as ConnectedAccountTypes, gt as ToolRouterProxyExecuteConfigSchema, h as CustomToolkitDefinition, ha as Oauth2ActiveConnectionData, hi as MCPServerUpdateParams, hn as ToolRouterUpdateSessionConfigSchema, ho as ToolkitLatestVersionSchema, hr as ConnectedAccountTypeSchema, ht as ToolRouterProxyExecuteConfig, i as CreateCustomToolkitBaseSchema, ia as Oauth1ConnectionDataSchema, ii as MCPGetServerParams, in as ToolRouterToolkitsOptions, io as ToolList, ir as ConnectedAccountRetrieveResponse, it as ToolRouterHookResultSchema, j as MCPServerTypeSchema, ja as RedirectableAuthSchemeSchema, ji as McpToolkitConnectionStatus, jn as ToolRouterSessionFilesMountListOptions, jr as UpdateConnectedAccountAclParamsSchema, jt as ToolRouterSessionExecuteMetaFn, k as SessionContext, ka as Oauth2RevokedConnectionData, ki as McpServerGetResponse, kn as ToolRouterSessionFilesMountDownloadOptions, kr as PatchConnectedAccountParamsSchema, kt as ToolRouterSessionEnsureConnectedResult, l as CustomToolDefinition, la as Oauth1InactiveConnectionData, li as MCPServer, ln as ToolRouterToolsParamSchema, lo as ToolProxyParams, lr as ConnectedAccountRevokedTokenSchema, lt as ToolRouterInstant, m as CustomToolkit, ma as Oauth1InitiatingConnectionDataSchema, mi as MCPServerSchema, mn as ToolRouterUpdateSessionConfig, mo as ToolkitLatestVersion, mr as ConnectedAccountType, mt as ToolRouterProxyExecute, n as CreateCustomToolBaseSchema, na as Oauth1ActiveConnectionDataSchema, ni as MCPGenerateURLParams, nn as ToolRouterToolkitsEnabledConfigSchema, no as ToolExecuteResponse, nr as ConnectedAccountRefreshOptions, nt as ToolRouterHookPromptInjectionCheckHandlerSchema, o as CreateLocalToolParams, oa as Oauth1ExpiredConnectionDataSchema, oi as MCPInstanceParams, on as ToolRouterToolkitsParamSchema, oo as ToolListParamsSchema, or as ConnectedAccountRevokeResponse, ot as ToolRouterHookWebhookHandler, p as CustomToolWireDefinition, pa as Oauth1InitiatingConnectionData, pi as MCPServerListResponseSchema, pn as ToolRouterUpdateManageConnectionsSchema, po as Toolkit, pr as ConnectedAccountStatuses, pt as ToolRouterManageConnectionsConfigSchema, q as ToolRouterConfigToolsSchema, qa as CustomAuthParamsSchema, qi as ConnectionStatusEnum, qn as ConnectedAccountExperimental, qr as CustomCreateResponseValidated, qt as ToolRouterSessionSearchFn, r as CreateCustomToolParams, ra as Oauth1ConnectionData, ri as MCPGenerateURLParamsSchema, rn as ToolRouterToolkitsFn, ro as ToolExecuteResponseSchema, rr as ConnectedAccountRefreshOptionsSchema, rt as ToolRouterHookResult, s as CreateLocalToolkitParams, sa as Oauth1FailedConnectionData, si as MCPMultiAppServer, sn as ToolRouterToolsFn, so as ToolListResponse, sr as ConnectedAccountRevokeResponseSchema, st as ToolRouterHookWebhookHandlerSchema, t as AnyZodSchema, ta as Oauth1ActiveConnectionData, ti as MCPCreateMethodResponse, tn as ToolRouterToolkitsDisabledConfigSchema, to as ToolExecuteParamsSchema, tr as ConnectedAccountListResponseSchema, tt as ToolRouterHookPromptInjectionCheckHandler, u as CustomToolExecuteFn, ua as Oauth1InactiveConnectionDataSchema, ui as MCPServerCreateResponse, un as ToolRouterUpdateExperimentalConfig, uo as ToolProxyParamsSchema, ur as ConnectedAccountStatus, ut as ToolRouterInstantSchema, v as CustomToolsMap, va as Oauth2ConnectionDataSchema, vi as MCPSingleAppServerSchema, vn as ToolkitConnectionsDetails, vo as ToolkitVersionParam, vr as CreateConnectedAccountLinkOptionsSchema, vt as ToolRouterSandboxConfig, w as LocalToolkit, wa as Oauth2InactiveConnectionDataSchema, wi as McpListResponse, wn as FileListResponseSchema, wr as CreateConnectedAccountParamsSchema, wt as ToolRouterSessionDeleteResponse, x as InlineCustomToolsWirePayload, xa as Oauth2FailedConnectionData, xi as MCPToolkitConfigsArraySchema, xn as FileDeleteResponse, xo as ToolkitVersions, xr as CreateConnectedAccountOptions, xt as ToolRouterSessionConfigHistoryConfig, y as CustomToolsMapEntry, ya as Oauth2ExpiredConnectionData, yi as MCPToolkitConfig, yn as ToolkitConnectionsDetailsSchema, yo as ToolkitVersionParamSchema, yr as CreateConnectedAccountLinkResponse, yt as ToolRouterSandboxConfigSchema, z as SessionWithoutMcp, za as ToolOptions, zi as GlobalExecuteToolFn, zn as ConnectedAccountAclConfigResponseSchema, zr as ComposioGenerateURLResponseSchema, zt as ToolRouterSessionListConfigHistoryResponse } from "./customTool.types-DnyEZmlx.mjs";
|
|
1
|
+
import { $ as LogSearchTimeRangeSchema, $n as TriggerInstanceType, $r as CreateAuthConfigResponse, $t as CustomToolkitCreateResponseSchema, A as SessionConfigs, Ai as ToolkitListGrantContextsParamsSchema, An as UsageSummaryResponse, Ar as WebhookTriggerPayloadV3, At as WebhookSubscriptionEventTypesResponse, B as SessionConfigSummarySchema, Bi as ToolkitRetrieveCategoriesResponse, Bn as TriggerEventData, Br as AuthConfigRetrieveResponseSchema, Bt as WebhookSubscriptionSetParamsSchema, C as LogLevel, Ci as ToolkitConditionalScope, Cn as UsageEntitySummarySchema, Cr as WebhookPayloadV1Schema, Ct as WebhookEndpointSchema, D as KeyringTransferKeySchema, Di as ToolkitGrantContextDimension, Dn as UsageOrderDirectionSchema, Dr as WebhookPayloadV3Schema, Dt as WebhookSubscriptionDeleteResponseSchema, E as KeyringTransferKey, Ei as ToolkitGetManySlugsSchema, En as UsageOrderBySchema, Er as WebhookPayloadV3, Et as WebhookSubscriptionDeleteResponse, F as SessionConfigListResponseSchema, Fi as ToolkitMangedByEnumSchema, Fn as ParseWebhookOptions, Fr as AuthConfigListParams, Ft as WebhookSubscriptionListResponseSchema, G as LogSearchFilterOperator, Gi as ToolkitSortByEnumSchema, Gn as TriggerInstanceListActiveResponseItemSchema, Gr as AuthConfigUpdateParamsSchema, Gt as Experimental, H as LogSearchFilter, Hi as ToolkitRetrieveResponse, Hn as TriggerInstanceListActiveParamsSchema, Hr as AuthConfigType, Ht as WebhookSubscriptionUpdateParamsSchema, I as SessionConfigPolicy, Ii as ToolkitRecommendScopesParams, In as SetWebhookSubscriptionParams, Ir as AuthConfigListParamsSchema, It as WebhookSubscriptionRotateSecretResponse, J as LogSearchParams, Ji as ToolkitsGetManyParamsSchema, Jn as TriggerInstanceManageDeleteResponseSchema, Jr as AuthSchemeEnum, Jt as CustomToolkitAuthScheme, K as LogSearchFilterOperatorSchema, Ki as ToolkitVersionChangelog, Kn as TriggerInstanceListActiveResponseSchema, Kr as AuthCustomConfigUpdateParamsSchema, Kt as CustomToolkits, L as SessionConfigPolicySchema, Li as ToolkitRecommendScopesParamsSchema, Ln as SetWebhookSubscriptionParamsSchema, Lr as AuthConfigListResponse, Lt as WebhookSubscriptionRotateSecretResponseSchema, M as SessionConfigListParams, Mi as ToolkitListGrantContextsResponseSchema, Mn as DefaultWebhookSubscriptionEvents, Mr as WebhookVersion, Mt as WebhookSubscriptionListParams, N as SessionConfigListParamsSchema, Ni as ToolkitListParams, Nn as IncomingTriggerPayload, Nr as WebhookVersions, Nt as WebhookSubscriptionListParamsSchema, O as KeyringTransferKeysResponse, Oi as ToolkitGrantContextDimensionSchema, On as UsageSummaryParams, Or as WebhookRequestLike, Ot as WebhookSubscriptionEventType, P as SessionConfigListResponse, Pi as ToolkitMangedByEnum, Pn as IncomingTriggerPayloadSchema, Pr as AuthConfigCreationToolAccessConfigSchema, Pt as WebhookSubscriptionListResponse, Q as LogSearchTimeRange, Qn as TriggerInstanceManageUpdateResponseSchema, Qr as CreateAuthConfigParamsSchema, Qt as CustomToolkitCreateResponse, R as SessionConfigSchema, Ri as ToolkitRecommendScopesResponse, Rn as TriggerData, Rr as AuthConfigListResponseSchema, Rt as WebhookSubscriptionSchema, S as ComposioLogger, Si as ToolkitComposioManagedAuthSchema, Sn as UsageEntitySummary, Sr as WebhookPayloadV1, St as WebhookEndpointReplaceParamsSchema, T as Keyring, Ti as ToolkitGetManyParams, Tn as UsageFiltersSchema, Tr as WebhookPayloadV2Schema, Tt as WebhookEndpointUpdateParamsSchema, U as LogSearchFilterField, Ui as ToolkitRetrieveResponseSchema, Un as TriggerInstanceListActiveResponse, Ur as AuthConfigTypes, Ut as WebhookVersionSchema, V as Logs, Vi as ToolkitRetrieveCategoriesResponseSchema, Vn as TriggerInstanceListActiveParams, Vr as AuthConfigToolAccessConfigSchema, Vt as WebhookSubscriptionUpdateParams, W as LogSearchFilterFieldSchema, Wi as ToolkitSortByEnum, Wn as TriggerInstanceListActiveResponseItem, Wr as AuthConfigUpdateParams, Wt as MCP, X as LogSearchResponse, Xn as TriggerInstanceManageUpdateParamsSchema, Xr as AuthSchemeTypes, Xt as CustomToolkitCreateParams, Y as LogSearchParamsSchema, Yi as ToolkitsListParamsSchema, Yn as TriggerInstanceManageUpdateParams, Yr as AuthSchemeType, Yt as CustomToolkitAuthSchemeSchema, Z as LogSearchResponseSchema, Zn as TriggerInstanceManageUpdateResponse, Zr as CreateAuthConfigParams, Zt as CustomToolkitCreateParamsSchema, _ as SessionWebhookHttpResponseOverride, _i as ToolkitChangelogItem, _n as UsageBreakdownGroupSchema, _r as VerifyWebhookParams, _t as WebhookEndpointListParams, a as ParseSessionWebhookParams, ai as ToolKitListResponse, an as CustomToolkitSyncResponse, ar as TriggerStatusEnum, at as ToolExecutionLogMetadataSchema, b as SessionWebhookToolResponse, bi as ToolkitChangelogResponseSchema, bn as UsageBreakdownResponse, br as WebhookPayload, bt as WebhookEndpointListResponseSchema, c as SessionWebhookBeforeExecuteEvent, ci as ToolKitMetaSchema, cn as CustomToolkitUpdateParamsSchema, cr as TriggerSubscribeParamSchema, ct as ToolExecutionLogStatusSchema, d as SessionWebhookEvent, di as ToolkitAuthField, dn as CustomToolkitUpsertParams, dr as TriggerTypeSchema, dt as Webhooks, ei as CreateAuthConfigResponseSchema, en as CustomToolkitDeleteResponse, er as TriggerInstanceTypeSchema, et as ToolExecutionLog, f as SessionWebhookEventType, fi as ToolkitAuthFieldSchema, fn as CustomToolkitUpsertParamsSchema, fr as TriggersTypeListParams, ft as WebhookEndpoint, g as SessionWebhookHttpResponse, gi as ToolkitCategorySchema, gn as UsageBreakdownGroup, gr as TriggersTypeRetrieveResponse, gt as WebhookEndpointListItemSchema, h as SessionWebhookHttpRequestOverride, hi as ToolkitCategory, hn as Usage, hr as TriggersTypeListResponseSchema, ht as WebhookEndpointListItem, i as SessionWebhooks, ii as ToolKitItemSchema, in as CustomToolkitSyncParamsSchema, ir as TriggerInstanceUpsertResponseSchema, it as ToolExecutionLogMetadata, j as SessionConfig, ji as ToolkitListGrantContextsResponse, jn as UsageSummaryResponseSchema, jr as WebhookTriggerPayloadV3Schema, jt as WebhookSubscriptionEventTypesResponseSchema, k as KeyringTransferKeysResponseSchema, ki as ToolkitListGrantContextsParams, kn as UsageSummaryParamsSchema, kr as WebhookSubscription, kt as WebhookSubscriptionEventTypeSchema, l as SessionWebhookBeforeExecuteResponse, li as ToolkitAuthConfigDetails, ln as CustomToolkitUpdateResponse, lr as TriggerSubscribeParams, lt as WebhookEndpoints, m as SessionWebhookHttpRequest, mi as ToolkitAuthFieldsResponseSchema, mn as CustomToolkitUpsertResponseSchema, mr as TriggersTypeListResponse, mt as WebhookEndpointCreateParamsSchema, n as ComposioConfig, ni as CreateCustomAuthConfigParamsSchema, nn as CustomToolkitLogoFile, nr as TriggerInstanceUpsertParamsSchema, nt as ToolExecutionLogDetailSchema, o as SessionWebhookAfterExecuteEvent, oi as ToolKitListResponseSchema, on as CustomToolkitSyncResponseSchema, or as TriggerStatusType, ot as ToolExecutionLogParentSchema, p as SessionWebhookEventTypes, pi as ToolkitAuthFieldsResponse, pn as CustomToolkitUpsertResponse, pr as TriggersTypeListParamsSchema, pt as WebhookEndpointCreateParams, q as LogSearchFilterSchema, qi as ToolkitVersionChangelogSchema, qn as TriggerInstanceManageDeleteResponse, qr as AuthDefaultConfigUpdateParamsSchema, qt as CustomToolkitApiKeyField, r as Sessions, ri as ToolKitItem, rn as CustomToolkitSyncParams, rr as TriggerInstanceUpsertResponse, rt as ToolExecutionLogLevelSchema, s as SessionWebhookAfterExecuteResponse, si as ToolKitMeta, sn as CustomToolkitUpdateParams, sr as TriggerStatuses, st as ToolExecutionLogSchema, t as Composio, ti as CreateComposioManagedAuthConfigParamsSchema, tn as CustomToolkitDeleteResponseSchema, tr as TriggerInstanceUpsertParams, tt as ToolExecutionLogDetail, u as SessionWebhookBlockResponse, ui as ToolkitAuthConfigDetailsSchema, un as CustomToolkitUpdateResponseSchema, ur as TriggerType, ut as WebhookSubscriptions, v as SessionWebhookMetadata, vi as ToolkitChangelogItemSchema, vn as UsageBreakdownParams, vr as VerifyWebhookParamsSchema, vt as WebhookEndpointListParamsSchema, w as logger, wi as ToolkitConditionalScopeSchema, wn as UsageFilters, wr as WebhookPayloadV2, wt as WebhookEndpointUpdateParams, x as OpenAIProvider, xi as ToolkitComposioManagedAuth, xn as UsageBreakdownResponseSchema, xr as WebhookPayloadSchema, xt as WebhookEndpointReplaceParams, y as SessionWebhookToolCall, yi as ToolkitChangelogResponse, yn as UsageBreakdownParamsSchema, yr as VerifyWebhookResult, yt as WebhookEndpointListResponse, z as SessionConfigSummary, zi as ToolkitRecommendScopesResponseSchema, zn as TriggerEvent, zr as AuthConfigRetrieveResponse, zt as WebhookSubscriptionSetParams } from "./composio-CjpstCB4.mjs";
|
|
2
|
+
import { $ as ToolRouterHookConditionCheckHandler, $a as ToolExecuteMetaParamsSchema, $i as CustomOauth2ConnectionData, $n as ConnectedAccountListResponse, $r as MCPAuthOptions, $t as ToolRouterTagsEnableDisableSchema, A as MCPServerType, Aa as Oauth2RevokedConnectionDataSchema, Ai as McpServerUrlInfo, An as ToolRouterSessionFilesMountDownloadOptionsSchema, Ar as UpdateConnectedAccountAclParams, At as ToolRouterSessionExecuteFn, B as ToolRouterAuthorizeFn, Ba as TransformToolSchemaModifier, Bi as Provider, Bn as ConnectedAccountAclConfigSchema, Br as ComposioMcpDeleteResponseSchema, Bt as ToolRouterSessionMetaToolSlug, C as LocalToolExecuteFn, Ca as Oauth2InactiveConnectionData, Ci as McpDeleteResponseSchema, Cn as FileListResponse, Cr as CreateConnectedAccountParams, Ct as ToolRouterSessionDeleteFn, D as RegisteredLocalTool, Da as Oauth2InitiatingConnectionData, Di as McpRetrieveResponseSchema, Dn as ToolRouterSessionFilesMountDeleteOptions, Dr as DefaultCreateConnectedAccountParamsSchema, Dt as ToolRouterSessionEnsureConnectedOptions, E as RegisteredCustomToolkit, Ea as Oauth2InitiatedConnectionDataSchema, Ei as McpRetrieveResponse, En as RemoteFileDataSchema, Er as CreateConnectedAccountResponseSchema, Et as ToolRouterSessionEnsureConnectedFn, F as SessionExperimental, Fa as MetaToolArguments, Fi as McpUrlResponseCamelCase, Fn as ConnectionRequest, Fr as BaseComposioProvider, Ft as ToolRouterSessionExecuteResponseSchema, G as ToolRouterConfigTagsSchema, Ga as beforeFileUploadModifier, Gi as ConnectionData, Gn as ConnectedAccountCompleteAuthResponse, Gr as CustomCreateResponse, Gt as ToolRouterSessionProxyExecuteFn, H as ToolRouterBlockReasonSchema, Ha as afterExecuteModifier, Hi as ToolCallSession, Hn as ConnectedAccountAuthConfigSchema, Hr as ComposioMcpRetrieveResponseSchema, Ht as ToolRouterSessionPreloadConfig, I as SessionPreset, Ia as ProviderOptions, Ii as McpUserConnectionStatus, In as ConnectionRequestState, Ir as BaseNonAgenticProvider, It as ToolRouterSessionListConfigHistoryFn, J as ToolRouterCreateSessionConfig, Ja as JSONSchemaProperty, Ji as ConnectionStatuses, Jn as ConnectedAccountExperimentalResponse, Jr as GenerateURLParams, Jt as ToolRouterSessionSearchResponse, K as ToolRouterConfigTools, Ka as CustomAuthParams, Ki as ConnectionDataSchema, Kn as ConnectedAccountCompleteAuthResponseSchema, Kr as CustomCreateResponseSchema, Kt as ToolRouterSessionProxyExecuteResponse, L as SessionProxyExecuteParams, La as SessionExecuteMetaModifiers, Li as ExecuteToolFn, Ln as ConnectedAccountAclConfig, Lr as ComposioCustomCreateResponseSchema, Lt as ToolRouterSessionListConfigHistoryOptions, M as SandboxSize, Ma as AgenticToolOptions, Mi as McpUpdateResponse, Mn as ToolRouterSessionFilesMountListOptionsSchema, Mr as UpdateConnectedAccountParams, Mt as ToolRouterSessionExecuteMetaOptions, N as SandboxSizeSchema, Na as BeforeFileUploadSource, Ni as McpUpdateResponseSchema, Nn as ToolRouterSessionFilesMountUploadOptions, Nr as UpdateConnectedAccountParamsSchema, Nt as ToolRouterSessionExecuteOptions, O as RegisteredLocalToolkit, Oa as Oauth2InitiatingConnectionDataSchema, Oi as McpServerCreateResponse, On as ToolRouterSessionFilesMountDeleteOptionsSchema, Or as PatchConnectedAccountParams, Ot as ToolRouterSessionEnsureConnectedOptionsSchema, P as Session, Pa as ExecuteToolModifiers, Pi as McpUrlResponse, Pn as ToolRouterSessionFilesMountUploadOptionsSchema, Pr as BaseAgenticProvider, Pt as ToolRouterSessionExecuteResponse, Q as ToolRouterHookAppliesToSchema, Qa as ToolExecuteMetaParams, Qi as CustomOauth1ConnectionDataSchema, Qn as ConnectedAccountListParamsSchema, Qr as GenerateURLResponseValidated, Qt as ToolRouterSessionWorkbenchConfig, R as SessionProxyExecuteParamsSchema, Ra as SessionMetaToolOptions, Ri as ExecuteToolFnOptions, Rn as ConnectedAccountAclConfigResponse, Rr as ComposioGenerateURLParamsSchema, Rt as ToolRouterSessionListConfigHistoryOptionsSchema, S as LocalTool, Sa as Oauth2FailedConnectionDataSchema, Si as McpDeleteResponse, Sn as FileDeleteResponseSchema, So as ToolkitVersionsSchema, Sr as CreateConnectedAccountOptionsSchema, St as ToolRouterSessionConfigHistoryItem, T as RegisteredCustomTool, Ta as Oauth2InitiatedConnectionData, Ti as McpListResponseSchema, Tn as RemoteFileData, Tr as CreateConnectedAccountResponse, Tt as ToolRouterSessionDeleteResponseSchema, U as ToolRouterConfigManageConnectionsSchema, Ua as beforeExecuteMetaModifier, Ui as BaseConnectionFields, Un as ConnectedAccountCompleteAuthParams, Ur as ComposioMcpUpdateResponseSchema, Ut as ToolRouterSessionProxyExecuteBlocked, V as ToolRouterBlockReason, Va as afterExecuteMetaModifier, Vi as ToolCallExecutionTarget, Vn as ConnectedAccountAuthConfig, Vr as ComposioMcpListResponseSchema, Vt as ToolRouterSessionMetadata, W as ToolRouterConfigTags, Wa as beforeExecuteModifier, Wi as BillcomAuthConnectionDataSchema, Wn as ConnectedAccountCompleteAuthParamsSchema, Wr as ConnectionStatus, Wt as ToolRouterSessionProxyExecuteCompleted, X as ToolRouterHook, Xa as SchemaModifierOptions, Xi as CustomConnectionDataSchema, Xn as ConnectedAccountExperimentalSchema, Xr as GenerateURLResponse, Xt as ToolRouterSessionUpdateFn, Y as ToolRouterCreateSessionConfigSchema, Ya as JSONSchemaPropertySchema, Yi as CustomConnectionData, Yn as ConnectedAccountExperimentalResponseSchema, Yr as GenerateURLParamsSchema, Yt as ToolRouterSessionSearchResponseSchema, Z as ToolRouterHookAppliesTo, Za as Tool, Zi as CustomOauth1ConnectionData, Zn as ConnectedAccountListParams, Zr as GenerateURLResponseSchema, Zt as ToolRouterSessionWarning, _ as CustomToolkitWireDefinition, _a as Oauth2ConnectionData, _i as MCPSingleAppServer, _n as ToolkitConnectionStateSchema, _o as ToolkitVersion, _r as CreateConnectedAccountLinkOptions, _t as ToolRouterProxyExecuteSchema, a as CreateCustomToolkitParams, aa as Oauth1ExpiredConnectionData, ai as MCPGetServerParamsSchema, an as ToolRouterToolkitsOptionsSchema, ao as ToolListParams, ar as ConnectedAccountRetrieveResponseSchema, at as ToolRouterHookSchema, b as InferZodSchema, ba as Oauth2ExpiredConnectionDataSchema, bi as MCPToolkitConfigSchema, bn as RemoteFile, bo as ToolkitVersionSchema, br as CreateConnectedAccountLinkResponseSchema, bt as ToolRouterSessionConfig, c as CustomTool, ca as Oauth1FailedConnectionDataSchema, ci as MCPMultiAppServerSchema, cn as ToolRouterToolsParam, co as ToolListResponseSchema, cr as ConnectedAccountRevokedToken, ct as ToolRouterInputResponse, d as CustomToolResponse, da as Oauth1InitiatedConnectionData, di as MCPServerCreateResponseSchema, dn as ToolRouterUpdateExperimentalSchema, do as ToolRetrievalOptions, dr as ConnectedAccountStatusEnum, dt as ToolRouterMCPServerConfig, ea as CustomOauth2ConnectionDataSchema, ei as MCPAuthOptionsSchema, en as ToolRouterTagsParamSchema, eo as ToolExecuteParams, er as ConnectedAccountListResponseItem, et as ToolRouterHookConditionCheckHandlerSchema, f as CustomToolSlugSchema, fa as Oauth1InitiatedConnectionDataSchema, fi as MCPServerListResponse, fn as ToolRouterUpdateManageConnectionsConfig, fo as ToolSchema, fr as ConnectedAccountStatusSchema, ft as ToolRouterMCPServerConfigSchema, g as CustomToolkitResponse, ga as Oauth2ActiveConnectionDataSchema, gi as MCPServerUpdateParamsSchema, gn as ToolkitConnectionState, go as ToolkitSchema, gr as ConnectedAccountTypes, gt as ToolRouterProxyExecuteConfigSchema, h as CustomToolkitDefinition, ha as Oauth2ActiveConnectionData, hi as MCPServerUpdateParams, hn as ToolRouterUpdateSessionConfigSchema, ho as ToolkitLatestVersionSchema, hr as ConnectedAccountTypeSchema, ht as ToolRouterProxyExecuteConfig, i as CreateCustomToolkitBaseSchema, ia as Oauth1ConnectionDataSchema, ii as MCPGetServerParams, in as ToolRouterToolkitsOptions, io as ToolList, ir as ConnectedAccountRetrieveResponse, it as ToolRouterHookResultSchema, j as MCPServerTypeSchema, ja as RedirectableAuthSchemeSchema, ji as McpToolkitConnectionStatus, jn as ToolRouterSessionFilesMountListOptions, jr as UpdateConnectedAccountAclParamsSchema, jt as ToolRouterSessionExecuteMetaFn, k as SessionContext, ka as Oauth2RevokedConnectionData, ki as McpServerGetResponse, kn as ToolRouterSessionFilesMountDownloadOptions, kr as PatchConnectedAccountParamsSchema, kt as ToolRouterSessionEnsureConnectedResult, l as CustomToolDefinition, la as Oauth1InactiveConnectionData, li as MCPServer, ln as ToolRouterToolsParamSchema, lo as ToolProxyParams, lr as ConnectedAccountRevokedTokenSchema, lt as ToolRouterInstant, m as CustomToolkit, ma as Oauth1InitiatingConnectionDataSchema, mi as MCPServerSchema, mn as ToolRouterUpdateSessionConfig, mo as ToolkitLatestVersion, mr as ConnectedAccountType, mt as ToolRouterProxyExecute, n as CreateCustomToolBaseSchema, na as Oauth1ActiveConnectionDataSchema, ni as MCPGenerateURLParams, nn as ToolRouterToolkitsEnabledConfigSchema, no as ToolExecuteResponse, nr as ConnectedAccountRefreshOptions, nt as ToolRouterHookPromptInjectionCheckHandlerSchema, o as CreateLocalToolParams, oa as Oauth1ExpiredConnectionDataSchema, oi as MCPInstanceParams, on as ToolRouterToolkitsParamSchema, oo as ToolListParamsSchema, or as ConnectedAccountRevokeResponse, ot as ToolRouterHookWebhookHandler, p as CustomToolWireDefinition, pa as Oauth1InitiatingConnectionData, pi as MCPServerListResponseSchema, pn as ToolRouterUpdateManageConnectionsSchema, po as Toolkit, pr as ConnectedAccountStatuses, pt as ToolRouterManageConnectionsConfigSchema, q as ToolRouterConfigToolsSchema, qa as CustomAuthParamsSchema, qi as ConnectionStatusEnum, qn as ConnectedAccountExperimental, qr as CustomCreateResponseValidated, qt as ToolRouterSessionSearchFn, r as CreateCustomToolParams, ra as Oauth1ConnectionData, ri as MCPGenerateURLParamsSchema, rn as ToolRouterToolkitsFn, ro as ToolExecuteResponseSchema, rr as ConnectedAccountRefreshOptionsSchema, rt as ToolRouterHookResult, s as CreateLocalToolkitParams, sa as Oauth1FailedConnectionData, si as MCPMultiAppServer, sn as ToolRouterToolsFn, so as ToolListResponse, sr as ConnectedAccountRevokeResponseSchema, st as ToolRouterHookWebhookHandlerSchema, t as AnyZodSchema, ta as Oauth1ActiveConnectionData, ti as MCPCreateMethodResponse, tn as ToolRouterToolkitsDisabledConfigSchema, to as ToolExecuteParamsSchema, tr as ConnectedAccountListResponseSchema, tt as ToolRouterHookPromptInjectionCheckHandler, u as CustomToolExecuteFn, ua as Oauth1InactiveConnectionDataSchema, ui as MCPServerCreateResponse, un as ToolRouterUpdateExperimentalConfig, uo as ToolProxyParamsSchema, ur as ConnectedAccountStatus, ut as ToolRouterInstantSchema, v as CustomToolsMap, va as Oauth2ConnectionDataSchema, vi as MCPSingleAppServerSchema, vn as ToolkitConnectionsDetails, vo as ToolkitVersionParam, vr as CreateConnectedAccountLinkOptionsSchema, vt as ToolRouterSandboxConfig, w as LocalToolkit, wa as Oauth2InactiveConnectionDataSchema, wi as McpListResponse, wn as FileListResponseSchema, wr as CreateConnectedAccountParamsSchema, wt as ToolRouterSessionDeleteResponse, x as InlineCustomToolsWirePayload, xa as Oauth2FailedConnectionData, xi as MCPToolkitConfigsArraySchema, xn as FileDeleteResponse, xo as ToolkitVersions, xr as CreateConnectedAccountOptions, xt as ToolRouterSessionConfigHistoryConfig, y as CustomToolsMapEntry, ya as Oauth2ExpiredConnectionData, yi as MCPToolkitConfig, yn as ToolkitConnectionsDetailsSchema, yo as ToolkitVersionParamSchema, yr as CreateConnectedAccountLinkResponse, yt as ToolRouterSandboxConfigSchema, z as SessionWithoutMcp, za as ToolOptions, zi as GlobalExecuteToolFn, zn as ConnectedAccountAclConfigResponseSchema, zr as ComposioGenerateURLResponseSchema, zt as ToolRouterSessionListConfigHistoryResponse } from "./customTool.types-CJkoAqUb.mjs";
|
|
3
3
|
import { a as StrictSchemaIncompatibility, c as deduplicateJsonSchemaRequiredArrays, d as jsonSchemaToZodSchema, f as omitNullToolArguments, i as StrictSchemaChangeReason, l as dereferenceJsonSchema, m as toStrictJsonSchema, n as StrictJsonSchemaResult, o as UnresolvedRefReason, p as removeNonRequiredProperties, r as StrictSchemaChange, s as UnresolvedRefStrategy, t as DereferenceJsonSchemaOptions, u as ensureObjectTypeOnProperties } from "./jsonSchema-CDHLYm7d.mjs";
|
|
4
4
|
import { t as ComposioRequestOptions } from "./requestOptions.types-DWrTcbss.mjs";
|
|
5
5
|
import { n as FileUploadData, t as FileDownloadData } from "./files.types-Dg6HcEzs.mjs";
|
|
6
|
-
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-
|
|
6
|
+
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-BFJBzgnP.mjs";
|
|
7
7
|
import ComposioClient, { APIError, APIErrorBody, Composio as Composio$1 } from "@composio/client";
|
|
8
8
|
import { z as z$1 } from "zod/v3";
|
|
9
9
|
/**
|
|
@@ -5616,11 +5616,11 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5616
5616
|
errorId?: string | undefined;
|
|
5617
5617
|
stack?: string | undefined;
|
|
5618
5618
|
} | undefined;
|
|
5619
|
+
timestamp?: number | undefined;
|
|
5619
5620
|
metadata?: {
|
|
5620
5621
|
projectId?: string | undefined;
|
|
5621
5622
|
provider?: string | undefined;
|
|
5622
5623
|
} | undefined;
|
|
5623
|
-
timestamp?: number | undefined;
|
|
5624
5624
|
source?: {
|
|
5625
5625
|
version?: string | undefined;
|
|
5626
5626
|
host?: string | undefined;
|
|
@@ -5640,11 +5640,11 @@ declare const TelemetryPayloadSchema: z$1.ZodObject<{
|
|
|
5640
5640
|
errorId?: string | undefined;
|
|
5641
5641
|
stack?: string | undefined;
|
|
5642
5642
|
} | undefined;
|
|
5643
|
+
timestamp?: number | undefined;
|
|
5643
5644
|
metadata?: {
|
|
5644
5645
|
projectId?: string | undefined;
|
|
5645
5646
|
provider?: string | undefined;
|
|
5646
5647
|
} | undefined;
|
|
5647
|
-
timestamp?: number | undefined;
|
|
5648
5648
|
source?: {
|
|
5649
5649
|
version?: string | undefined;
|
|
5650
5650
|
host?: string | undefined;
|
|
@@ -5721,11 +5721,11 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5721
5721
|
errorId?: string | undefined;
|
|
5722
5722
|
stack?: string | undefined;
|
|
5723
5723
|
} | undefined;
|
|
5724
|
+
timestamp?: number | undefined;
|
|
5724
5725
|
metadata?: {
|
|
5725
5726
|
projectId?: string | undefined;
|
|
5726
5727
|
provider?: string | undefined;
|
|
5727
5728
|
} | undefined;
|
|
5728
|
-
timestamp?: number | undefined;
|
|
5729
5729
|
source?: {
|
|
5730
5730
|
version?: string | undefined;
|
|
5731
5731
|
host?: string | undefined;
|
|
@@ -5745,11 +5745,11 @@ declare const TelemetryMetricPayloadBodySchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
5745
5745
|
errorId?: string | undefined;
|
|
5746
5746
|
stack?: string | undefined;
|
|
5747
5747
|
} | undefined;
|
|
5748
|
+
timestamp?: number | undefined;
|
|
5748
5749
|
metadata?: {
|
|
5749
5750
|
projectId?: string | undefined;
|
|
5750
5751
|
provider?: string | undefined;
|
|
5751
5752
|
} | undefined;
|
|
5752
|
-
timestamp?: number | undefined;
|
|
5753
5753
|
source?: {
|
|
5754
5754
|
version?: string | undefined;
|
|
5755
5755
|
host?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -2446,6 +2446,7 @@ const ToolkitAuthConfigDetailsSchema = z$1.object({
|
|
|
2446
2446
|
* scopes. Mapped from `required_scopes`; absent when the API omits it.
|
|
2447
2447
|
*/
|
|
2448
2448
|
requiredScopes: z$1.array(z$1.string()).optional(),
|
|
2449
|
+
isConnectionRevokeSupported: z$1.boolean().optional(),
|
|
2449
2450
|
fields: z$1.object({
|
|
2450
2451
|
authConfigCreation: z$1.object({
|
|
2451
2452
|
optional: z$1.array(ToolkitAuthFieldSchema),
|
|
@@ -4829,17 +4830,21 @@ const transformToolkitRetrieveResponse = (response) => {
|
|
|
4829
4830
|
scopes: app.scopes,
|
|
4830
4831
|
...app.user_scopes != null && { userScopes: app.user_scopes }
|
|
4831
4832
|
})),
|
|
4832
|
-
authConfigDetails: response.auth_config_details?.map((authConfig) =>
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4833
|
+
authConfigDetails: response.auth_config_details?.map((authConfig) => {
|
|
4834
|
+
const revokeSupport = ToolkitAuthConfigDetailsSchema.shape.isConnectionRevokeSupported.safeParse(authConfig.is_connection_revoke_supported);
|
|
4835
|
+
return {
|
|
4836
|
+
name: authConfig.name,
|
|
4837
|
+
mode: authConfig.mode,
|
|
4838
|
+
...authConfig.auth_hint_url !== void 0 && { authHintUrl: authConfig.auth_hint_url },
|
|
4839
|
+
...authConfig.required_scopes !== void 0 && { requiredScopes: authConfig.required_scopes },
|
|
4840
|
+
...revokeSupport.success && revokeSupport.data !== void 0 && { isConnectionRevokeSupported: revokeSupport.data },
|
|
4841
|
+
fields: {
|
|
4842
|
+
authConfigCreation: transformToolkitAuthFieldGroup(authConfig.fields?.auth_config_creation),
|
|
4843
|
+
connectedAccountInitiation: transformToolkitAuthFieldGroup(authConfig.fields?.connected_account_initiation)
|
|
4844
|
+
},
|
|
4845
|
+
proxy: { baseUrl: authConfig.proxy?.base_url }
|
|
4846
|
+
};
|
|
4847
|
+
}),
|
|
4843
4848
|
baseUrl: response.base_url,
|
|
4844
4849
|
getCurrentUserEndpoint: response.get_current_user_endpoint,
|
|
4845
4850
|
getCurrentUserEndpointMethod: response.get_current_user_endpoint_method
|
|
@@ -7957,6 +7962,10 @@ const LogSearchFilterFieldSchema = z$1.enum([
|
|
|
7957
7962
|
"request_id",
|
|
7958
7963
|
"log_id"
|
|
7959
7964
|
]);
|
|
7965
|
+
/**
|
|
7966
|
+
* The legacy substring operators remain in the input type for source compatibility.
|
|
7967
|
+
* Tool-log search rejects them because the API now supports only equality and inequality.
|
|
7968
|
+
*/
|
|
7960
7969
|
const LogSearchFilterOperatorSchema = z$1.enum([
|
|
7961
7970
|
"==",
|
|
7962
7971
|
"!=",
|
|
@@ -8043,7 +8052,14 @@ const ToolExecutionLogDetailSchema = ToolExecutionLogSchema.extend({
|
|
|
8043
8052
|
const transformLogSearchParams = (params) => ({
|
|
8044
8053
|
limit: params.limit,
|
|
8045
8054
|
cursor: params.cursor,
|
|
8046
|
-
filters: params.filters
|
|
8055
|
+
filters: params.filters?.map((filter) => {
|
|
8056
|
+
const { operator } = filter;
|
|
8057
|
+
if (operator !== "==" && operator !== "!=") throw new ValidationError("Tool log filters support only \"==\" and \"!=\"");
|
|
8058
|
+
return {
|
|
8059
|
+
...filter,
|
|
8060
|
+
operator
|
|
8061
|
+
};
|
|
8062
|
+
}),
|
|
8047
8063
|
time_range: params.timeRange
|
|
8048
8064
|
});
|
|
8049
8065
|
const transformToolExecutionLog = (response) => {
|
|
@@ -9344,7 +9360,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
9344
9360
|
};
|
|
9345
9361
|
|
|
9346
9362
|
// package.json
|
|
9347
|
-
var version = "0.33.
|
|
9363
|
+
var version = "0.33.1-canary.2";
|
|
9348
9364
|
|
|
9349
9365
|
// src/utils/session.ts
|
|
9350
9366
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ComposioConfig } from "./composio-
|
|
2
|
-
import { Fr as BaseComposioProvider } from "./customTool.types-
|
|
1
|
+
import { n as ComposioConfig } from "./composio-CjpstCB4.mjs";
|
|
2
|
+
import { Fr as BaseComposioProvider } from "./customTool.types-CJkoAqUb.mjs";
|
|
3
3
|
/**
|
|
4
4
|
* Configuration defaults for Composio.
|
|
5
5
|
* These are the required fields that must have default values.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import { t as ConfigDefaults } from "../../types-5EkzOezT.mjs";
|
|
2
2
|
export declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import { t as ConfigDefaults } from "../../types-5EkzOezT.mjs";
|
|
2
2
|
export declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Za as Tool, eo as ToolExecuteParams, no as ToolExecuteResponse } from "../../customTool.types-
|
|
1
|
+
import { Za as Tool, eo as ToolExecuteParams, no as ToolExecuteResponse } from "../../customTool.types-CJkoAqUb.mjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
export declare class FileToolModifier {
|
|
4
4
|
private client;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Za as Tool, eo as ToolExecuteParams, no as ToolExecuteResponse } from "../../customTool.types-
|
|
1
|
+
import { Za as Tool, eo as ToolExecuteParams, no as ToolExecuteResponse } from "../../customTool.types-CJkoAqUb.mjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
export declare class FileToolModifier {
|
|
4
4
|
constructor(_client: ComposioClient);
|
package/package.json
CHANGED
package/src/types/logs.types.ts
CHANGED
|
@@ -17,6 +17,10 @@ export const LogSearchFilterFieldSchema = z.enum([
|
|
|
17
17
|
]);
|
|
18
18
|
export type LogSearchFilterField = z.infer<typeof LogSearchFilterFieldSchema>;
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* The legacy substring operators remain in the input type for source compatibility.
|
|
22
|
+
* Tool-log search rejects them because the API now supports only equality and inequality.
|
|
23
|
+
*/
|
|
20
24
|
export const LogSearchFilterOperatorSchema = z.enum(['==', '!=', 'contains', 'not_contains']);
|
|
21
25
|
export type LogSearchFilterOperator = z.infer<typeof LogSearchFilterOperatorSchema>;
|
|
22
26
|
|
|
@@ -108,6 +108,7 @@ export const ToolkitAuthConfigDetailsSchema = z.object({
|
|
|
108
108
|
* scopes. Mapped from `required_scopes`; absent when the API omits it.
|
|
109
109
|
*/
|
|
110
110
|
requiredScopes: z.array(z.string()).optional(),
|
|
111
|
+
isConnectionRevokeSupported: z.boolean().optional(),
|
|
111
112
|
fields: z.object({
|
|
112
113
|
authConfigCreation: z.object({
|
|
113
114
|
optional: z.array(ToolkitAuthFieldSchema),
|
|
@@ -13,12 +13,19 @@ import {
|
|
|
13
13
|
ToolExecutionLogMetadataSchema,
|
|
14
14
|
ToolExecutionLogSchema,
|
|
15
15
|
} from '../../types/logs.types';
|
|
16
|
+
import { ValidationError } from '../../errors/ValidationErrors';
|
|
16
17
|
import { transform } from '../transform';
|
|
17
18
|
|
|
18
19
|
export const transformLogSearchParams = (params: LogSearchParams): RawLogSearchParams => ({
|
|
19
20
|
limit: params.limit,
|
|
20
21
|
cursor: params.cursor,
|
|
21
|
-
filters: params.filters
|
|
22
|
+
filters: params.filters?.map(filter => {
|
|
23
|
+
const { operator } = filter;
|
|
24
|
+
if (operator !== '==' && operator !== '!=') {
|
|
25
|
+
throw new ValidationError('Tool log filters support only "==" and "!="');
|
|
26
|
+
}
|
|
27
|
+
return { ...filter, operator };
|
|
28
|
+
}),
|
|
22
29
|
time_range: params.timeRange,
|
|
23
30
|
});
|
|
24
31
|
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
ToolKitListResponse,
|
|
14
14
|
ToolKitListResponseSchema,
|
|
15
15
|
ToolkitAuthField,
|
|
16
|
+
ToolkitAuthConfigDetailsSchema,
|
|
16
17
|
ToolkitRetrieveResponse,
|
|
17
18
|
ToolkitRetrieveResponseSchema,
|
|
18
19
|
ToolkitRetrieveCategoriesResponse,
|
|
@@ -28,9 +29,11 @@ import {
|
|
|
28
29
|
} from '../../types/toolkit.types';
|
|
29
30
|
import { transform } from '../transform';
|
|
30
31
|
|
|
31
|
-
type
|
|
32
|
+
type RawToolkitAuthConfigDetail = NonNullable<
|
|
32
33
|
RawToolkitRetrieveResponse['auth_config_details']
|
|
33
|
-
>[number]
|
|
34
|
+
>[number] & { is_connection_revoke_supported?: boolean };
|
|
35
|
+
|
|
36
|
+
type RawToolkitAuthConfigDetailFields = RawToolkitAuthConfigDetail['fields'];
|
|
34
37
|
|
|
35
38
|
/**
|
|
36
39
|
* A single auth form field as the API ships it, across all four groups. The
|
|
@@ -163,27 +166,39 @@ export const transformToolkitRetrieveResponse = (
|
|
|
163
166
|
scopes: app.scopes,
|
|
164
167
|
...(app.user_scopes != null && { userScopes: app.user_scopes }),
|
|
165
168
|
})),
|
|
166
|
-
authConfigDetails: response.auth_config_details?.map(
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
169
|
+
authConfigDetails: response.auth_config_details?.map(
|
|
170
|
+
(authConfig: RawToolkitAuthConfigDetail) => {
|
|
171
|
+
const revokeSupport =
|
|
172
|
+
ToolkitAuthConfigDetailsSchema.shape.isConnectionRevokeSupported.safeParse(
|
|
173
|
+
authConfig.is_connection_revoke_supported
|
|
174
|
+
);
|
|
175
|
+
return {
|
|
176
|
+
name: authConfig.name,
|
|
177
|
+
mode: authConfig.mode,
|
|
178
|
+
...(authConfig.auth_hint_url !== undefined && {
|
|
179
|
+
authHintUrl: authConfig.auth_hint_url,
|
|
180
|
+
}),
|
|
181
|
+
...(authConfig.required_scopes !== undefined && {
|
|
182
|
+
requiredScopes: authConfig.required_scopes,
|
|
183
|
+
}),
|
|
184
|
+
...(revokeSupport.success &&
|
|
185
|
+
revokeSupport.data !== undefined && {
|
|
186
|
+
isConnectionRevokeSupported: revokeSupport.data,
|
|
187
|
+
}),
|
|
188
|
+
fields: {
|
|
189
|
+
authConfigCreation: transformToolkitAuthFieldGroup(
|
|
190
|
+
authConfig.fields?.auth_config_creation
|
|
191
|
+
),
|
|
192
|
+
connectedAccountInitiation: transformToolkitAuthFieldGroup(
|
|
193
|
+
authConfig.fields?.connected_account_initiation
|
|
194
|
+
),
|
|
195
|
+
},
|
|
196
|
+
proxy: {
|
|
197
|
+
baseUrl: authConfig.proxy?.base_url,
|
|
198
|
+
},
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
),
|
|
187
202
|
baseUrl: response.base_url,
|
|
188
203
|
getCurrentUserEndpoint: response.get_current_user_endpoint,
|
|
189
204
|
getCurrentUserEndpointMethod: response.get_current_user_endpoint_method,
|