@composio/core 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CustomTool-DfP4ldQl.d.mts → CustomTool-CqPoLUD6.d.mts} +1 -1
- package/dist/{composio-BMDH-1Qj.d.mts → composio-BUa10iB3.d.mts} +51 -51
- package/dist/{customTool.types-BoOELgJF.d.mts → customTool.types-gX421uPT.d.mts} +769 -13
- package/dist/docs/reference/sdk-reference/typescript/composio.mdx +3 -3
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +2 -1
- package/dist/docs/reference/sdk-reference/typescript/triggers.mdx +5 -1
- package/dist/experimental/index.d.mts +2 -2
- package/dist/index.d.mts +10 -10
- package/dist/index.mjs +6447 -6315
- package/dist/{types-DHNV_T_z.d.mts → types-DXxfzBX3.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/lib/toolRouterParams.ts +26 -3
- package/src/models/SessionContext.ts +2 -17
- package/src/models/ToolRouter.ts +6 -1
- package/src/models/ToolRouterSession.ts +4 -19
- package/src/types/toolRouter.types.ts +155 -10
- package/src/utils/transformers/toolRouterResponseTransform.ts +123 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CreateCustomToolkitParams, f as CustomToolkit, o as CustomTool, r as CreateCustomToolParams, t as AnyZodSchema } from "./customTool.types-
|
|
1
|
+
import { a as CreateCustomToolkitParams, f as CustomToolkit, o as CustomTool, r as CreateCustomToolParams, t as AnyZodSchema } from "./customTool.types-gX421uPT.mjs";
|
|
2
2
|
import { SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
|
|
3
3
|
//#region src/models/CustomTool.d.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $a as ToolProxyParams, Ba as SchemaModifierOptions, D as Session, Da as SessionExecuteMetaModifiers, Dn as ConnectionRequest, Ea as ProviderOptions, En as ComposioRequestOptions, Er as BaseNonAgenticProvider, Fn as ConnectedAccountCompleteAuthParams, Gn as ConnectedAccountListResponse, Ha as ToolExecuteMetaParams, Ja as ToolList, Jn as ConnectedAccountRefreshOptions, Ka as ToolExecuteResponse, Ln as ConnectedAccountCompleteAuthResponse, M as SessionWithoutMcp, Mi as ToolCallSession, Oi as ExecuteToolFnOptions, Qn as ConnectedAccountRevokeResponse, Sr as UpdateConnectedAccountParams, Tr as BaseComposioProvider, Un as ConnectedAccountListParams, V as ToolRouterCreateSessionConfig, Va as Tool, Wa as ToolExecuteParams, Xn as ConnectedAccountRetrieveResponse, Ya as ToolListParams, br as UpdateConnectedAccountAclParams, co as ToolkitVersionParam, f as CustomToolkit, ht as ToolRouterSessionDeleteResponse, lr as CreateConnectedAccountLinkOptions, o as CustomTool, pr as CreateConnectedAccountOptions, to as ToolRetrievalOptions, wa as ExecuteToolModifiers, wi as McpUrlResponse, yi as McpServerGetResponse } from "./customTool.types-gX421uPT.mjs";
|
|
2
2
|
import ComposioClient, { Composio } from "@composio/client";
|
|
3
3
|
import z, { z as z$1 } from "zod/v3";
|
|
4
4
|
import { Files } from "#files";
|
|
@@ -3676,7 +3676,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3676
3676
|
userId: string;
|
|
3677
3677
|
uuid: string;
|
|
3678
3678
|
id: string;
|
|
3679
|
-
triggerSlug: string;
|
|
3680
3679
|
metadata: {
|
|
3681
3680
|
toolkitSlug: string;
|
|
3682
3681
|
uuid: string;
|
|
@@ -3693,6 +3692,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3693
3692
|
triggerConfig: Record<string, unknown>;
|
|
3694
3693
|
triggerData?: string | undefined;
|
|
3695
3694
|
};
|
|
3695
|
+
triggerSlug: string;
|
|
3696
3696
|
payload?: Record<string, unknown> | undefined;
|
|
3697
3697
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3698
3698
|
}, {
|
|
@@ -3700,7 +3700,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3700
3700
|
userId: string;
|
|
3701
3701
|
uuid: string;
|
|
3702
3702
|
id: string;
|
|
3703
|
-
triggerSlug: string;
|
|
3704
3703
|
metadata: {
|
|
3705
3704
|
toolkitSlug: string;
|
|
3706
3705
|
uuid: string;
|
|
@@ -3717,6 +3716,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3717
3716
|
triggerConfig: Record<string, unknown>;
|
|
3718
3717
|
triggerData?: string | undefined;
|
|
3719
3718
|
};
|
|
3719
|
+
triggerSlug: string;
|
|
3720
3720
|
payload?: Record<string, unknown> | undefined;
|
|
3721
3721
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3722
3722
|
}>;
|
|
@@ -3923,17 +3923,17 @@ declare const WebhookPayloadV1Schema: z$1.ZodObject<{
|
|
|
3923
3923
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3924
3924
|
log_id: z$1.ZodString;
|
|
3925
3925
|
}, "strip", z$1.ZodTypeAny, {
|
|
3926
|
+
log_id: string;
|
|
3926
3927
|
payload: Record<string, unknown>;
|
|
3927
3928
|
trigger_name: string;
|
|
3928
3929
|
connection_id: string;
|
|
3929
3930
|
trigger_id: string;
|
|
3930
|
-
log_id: string;
|
|
3931
3931
|
}, {
|
|
3932
|
+
log_id: string;
|
|
3932
3933
|
payload: Record<string, unknown>;
|
|
3933
3934
|
trigger_name: string;
|
|
3934
3935
|
connection_id: string;
|
|
3935
3936
|
trigger_id: string;
|
|
3936
|
-
log_id: string;
|
|
3937
3937
|
}>;
|
|
3938
3938
|
type WebhookPayloadV1 = z$1.infer<typeof WebhookPayloadV1Schema>;
|
|
3939
3939
|
/** V2 webhook payload - includes timestamp and nested data */
|
|
@@ -3963,11 +3963,11 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
3963
3963
|
}, "strip", z$1.ZodTypeAny, {
|
|
3964
3964
|
type: string;
|
|
3965
3965
|
data: {
|
|
3966
|
+
user_id: string;
|
|
3966
3967
|
connection_id: string;
|
|
3967
3968
|
trigger_id: string;
|
|
3968
3969
|
connection_nano_id: string;
|
|
3969
3970
|
trigger_nano_id: string;
|
|
3970
|
-
user_id: string;
|
|
3971
3971
|
} & {
|
|
3972
3972
|
[k: string]: unknown;
|
|
3973
3973
|
};
|
|
@@ -3976,11 +3976,11 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
3976
3976
|
}, {
|
|
3977
3977
|
type: string;
|
|
3978
3978
|
data: {
|
|
3979
|
+
user_id: string;
|
|
3979
3980
|
connection_id: string;
|
|
3980
3981
|
trigger_id: string;
|
|
3981
3982
|
connection_nano_id: string;
|
|
3982
3983
|
trigger_nano_id: string;
|
|
3983
|
-
user_id: string;
|
|
3984
3984
|
} & {
|
|
3985
3985
|
[k: string]: unknown;
|
|
3986
3986
|
};
|
|
@@ -3999,14 +3999,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
|
3999
3999
|
type: string;
|
|
4000
4000
|
data: Record<string, unknown>;
|
|
4001
4001
|
id: string;
|
|
4002
|
-
metadata: Record<string, unknown>;
|
|
4003
4002
|
timestamp: string;
|
|
4003
|
+
metadata: Record<string, unknown>;
|
|
4004
4004
|
}, {
|
|
4005
4005
|
type: string;
|
|
4006
4006
|
data: Record<string, unknown>;
|
|
4007
4007
|
id: string;
|
|
4008
|
-
metadata: Record<string, unknown>;
|
|
4009
4008
|
timestamp: string;
|
|
4009
|
+
metadata: Record<string, unknown>;
|
|
4010
4010
|
}>;
|
|
4011
4011
|
type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
|
|
4012
4012
|
/** V3 trigger-specific payload - has trigger metadata fields */
|
|
@@ -4041,32 +4041,32 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
4041
4041
|
type: string;
|
|
4042
4042
|
data: Record<string, unknown>;
|
|
4043
4043
|
id: string;
|
|
4044
|
+
timestamp: string;
|
|
4044
4045
|
metadata: {
|
|
4045
|
-
trigger_id: string;
|
|
4046
|
-
log_id: string;
|
|
4047
|
-
user_id: string;
|
|
4048
|
-
trigger_slug: string;
|
|
4049
4046
|
connected_account_id: string;
|
|
4050
4047
|
auth_config_id: string;
|
|
4048
|
+
user_id: string;
|
|
4049
|
+
log_id: string;
|
|
4050
|
+
trigger_id: string;
|
|
4051
|
+
trigger_slug: string;
|
|
4051
4052
|
} & {
|
|
4052
4053
|
[k: string]: unknown;
|
|
4053
4054
|
};
|
|
4054
|
-
timestamp: string;
|
|
4055
4055
|
}, {
|
|
4056
4056
|
type: string;
|
|
4057
4057
|
data: Record<string, unknown>;
|
|
4058
4058
|
id: string;
|
|
4059
|
+
timestamp: string;
|
|
4059
4060
|
metadata: {
|
|
4060
|
-
trigger_id: string;
|
|
4061
|
-
log_id: string;
|
|
4062
|
-
user_id: string;
|
|
4063
|
-
trigger_slug: string;
|
|
4064
4061
|
connected_account_id: string;
|
|
4065
4062
|
auth_config_id: string;
|
|
4063
|
+
user_id: string;
|
|
4064
|
+
log_id: string;
|
|
4065
|
+
trigger_id: string;
|
|
4066
|
+
trigger_slug: string;
|
|
4066
4067
|
} & {
|
|
4067
4068
|
[k: string]: unknown;
|
|
4068
4069
|
};
|
|
4069
|
-
timestamp: string;
|
|
4070
4070
|
}>;
|
|
4071
4071
|
type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
|
|
4072
4072
|
/** Union of all webhook payload versions */
|
|
@@ -4080,14 +4080,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4080
4080
|
type: string;
|
|
4081
4081
|
data: Record<string, unknown>;
|
|
4082
4082
|
id: string;
|
|
4083
|
-
metadata: Record<string, unknown>;
|
|
4084
4083
|
timestamp: string;
|
|
4084
|
+
metadata: Record<string, unknown>;
|
|
4085
4085
|
}, {
|
|
4086
4086
|
type: string;
|
|
4087
4087
|
data: Record<string, unknown>;
|
|
4088
4088
|
id: string;
|
|
4089
|
-
metadata: Record<string, unknown>;
|
|
4090
4089
|
timestamp: string;
|
|
4090
|
+
metadata: Record<string, unknown>;
|
|
4091
4091
|
}>, z$1.ZodObject<{
|
|
4092
4092
|
type: z$1.ZodString;
|
|
4093
4093
|
timestamp: z$1.ZodString;
|
|
@@ -4114,11 +4114,11 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4114
4114
|
}, "strip", z$1.ZodTypeAny, {
|
|
4115
4115
|
type: string;
|
|
4116
4116
|
data: {
|
|
4117
|
+
user_id: string;
|
|
4117
4118
|
connection_id: string;
|
|
4118
4119
|
trigger_id: string;
|
|
4119
4120
|
connection_nano_id: string;
|
|
4120
4121
|
trigger_nano_id: string;
|
|
4121
|
-
user_id: string;
|
|
4122
4122
|
} & {
|
|
4123
4123
|
[k: string]: unknown;
|
|
4124
4124
|
};
|
|
@@ -4127,11 +4127,11 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4127
4127
|
}, {
|
|
4128
4128
|
type: string;
|
|
4129
4129
|
data: {
|
|
4130
|
+
user_id: string;
|
|
4130
4131
|
connection_id: string;
|
|
4131
4132
|
trigger_id: string;
|
|
4132
4133
|
connection_nano_id: string;
|
|
4133
4134
|
trigger_nano_id: string;
|
|
4134
|
-
user_id: string;
|
|
4135
4135
|
} & {
|
|
4136
4136
|
[k: string]: unknown;
|
|
4137
4137
|
};
|
|
@@ -4144,17 +4144,17 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4144
4144
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
4145
4145
|
log_id: z$1.ZodString;
|
|
4146
4146
|
}, "strip", z$1.ZodTypeAny, {
|
|
4147
|
+
log_id: string;
|
|
4147
4148
|
payload: Record<string, unknown>;
|
|
4148
4149
|
trigger_name: string;
|
|
4149
4150
|
connection_id: string;
|
|
4150
4151
|
trigger_id: string;
|
|
4151
|
-
log_id: string;
|
|
4152
4152
|
}, {
|
|
4153
|
+
log_id: string;
|
|
4153
4154
|
payload: Record<string, unknown>;
|
|
4154
4155
|
trigger_name: string;
|
|
4155
4156
|
connection_id: string;
|
|
4156
4157
|
trigger_id: string;
|
|
4157
|
-
log_id: string;
|
|
4158
4158
|
}>]>;
|
|
4159
4159
|
type WebhookPayload = z$1.infer<typeof WebhookPayloadSchema>;
|
|
4160
4160
|
/** Webhook version enum */
|
|
@@ -4223,15 +4223,15 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
4223
4223
|
tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4224
4224
|
}, "strip", z$1.ZodTypeAny, {
|
|
4225
4225
|
id: string;
|
|
4226
|
-
payload: string;
|
|
4227
4226
|
timestamp: string;
|
|
4227
|
+
payload: string;
|
|
4228
4228
|
secret: string;
|
|
4229
4229
|
signature: string;
|
|
4230
4230
|
tolerance: number;
|
|
4231
4231
|
}, {
|
|
4232
4232
|
id: string;
|
|
4233
|
-
payload: string;
|
|
4234
4233
|
timestamp: string;
|
|
4234
|
+
payload: string;
|
|
4235
4235
|
secret: string;
|
|
4236
4236
|
signature: string;
|
|
4237
4237
|
tolerance?: number | undefined;
|
|
@@ -5254,24 +5254,24 @@ declare const UsageBreakdownParamsSchema: z$1.ZodObject<{
|
|
|
5254
5254
|
}>>;
|
|
5255
5255
|
}, "strip", z$1.ZodTypeAny, {
|
|
5256
5256
|
limit?: number | undefined;
|
|
5257
|
+
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5257
5258
|
from?: number | undefined;
|
|
5258
5259
|
to?: number | undefined;
|
|
5259
5260
|
filters?: {
|
|
5260
5261
|
userId?: string[] | null | undefined;
|
|
5261
5262
|
sessionId?: string[] | null | undefined;
|
|
5262
5263
|
} | undefined;
|
|
5263
|
-
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5264
5264
|
groupBy?: string | undefined;
|
|
5265
5265
|
orderDirection?: "asc" | "desc" | undefined;
|
|
5266
5266
|
}, {
|
|
5267
5267
|
limit?: number | undefined;
|
|
5268
|
+
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5268
5269
|
from?: number | undefined;
|
|
5269
5270
|
to?: number | undefined;
|
|
5270
5271
|
filters?: {
|
|
5271
5272
|
userId?: string[] | null | undefined;
|
|
5272
5273
|
sessionId?: string[] | null | undefined;
|
|
5273
5274
|
} | undefined;
|
|
5274
|
-
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5275
5275
|
groupBy?: string | undefined;
|
|
5276
5276
|
orderDirection?: "asc" | "desc" | undefined;
|
|
5277
5277
|
}>;
|
|
@@ -7071,11 +7071,11 @@ declare const LogSearchFilterSchema: z$1.ZodObject<{
|
|
|
7071
7071
|
value: z$1.ZodString;
|
|
7072
7072
|
}, "strip", z$1.ZodTypeAny, {
|
|
7073
7073
|
value: string;
|
|
7074
|
-
field: "status" | "
|
|
7074
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7075
7075
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7076
7076
|
}, {
|
|
7077
7077
|
value: string;
|
|
7078
|
-
field: "status" | "
|
|
7078
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7079
7079
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7080
7080
|
}>;
|
|
7081
7081
|
type LogSearchFilter = z$1.infer<typeof LogSearchFilterSchema>;
|
|
@@ -7104,11 +7104,11 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7104
7104
|
value: z$1.ZodString;
|
|
7105
7105
|
}, "strip", z$1.ZodTypeAny, {
|
|
7106
7106
|
value: string;
|
|
7107
|
-
field: "status" | "
|
|
7107
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7108
7108
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7109
7109
|
}, {
|
|
7110
7110
|
value: string;
|
|
7111
|
-
field: "status" | "
|
|
7111
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7112
7112
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7113
7113
|
}>, "many">>;
|
|
7114
7114
|
timeRange: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -7128,7 +7128,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7128
7128
|
cursor?: string | null | undefined;
|
|
7129
7129
|
filters?: {
|
|
7130
7130
|
value: string;
|
|
7131
|
-
field: "status" | "
|
|
7131
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7132
7132
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7133
7133
|
}[] | undefined;
|
|
7134
7134
|
timeRange?: {
|
|
@@ -7140,7 +7140,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7140
7140
|
cursor?: string | null | undefined;
|
|
7141
7141
|
filters?: {
|
|
7142
7142
|
value: string;
|
|
7143
|
-
field: "status" | "
|
|
7143
|
+
field: "status" | "tool_slug" | "toolkit_slug" | "connected_account_id" | "auth_config_id" | "user_id" | "session_id" | "sandbox_id" | "request_id" | "log_id";
|
|
7144
7144
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7145
7145
|
}[] | undefined;
|
|
7146
7146
|
timeRange?: {
|
|
@@ -7204,13 +7204,13 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7204
7204
|
type: string;
|
|
7205
7205
|
status: "success" | "failed";
|
|
7206
7206
|
id: string;
|
|
7207
|
+
timestamp: string;
|
|
7208
|
+
level: "error" | "warn" | "info";
|
|
7207
7209
|
metadata: {
|
|
7208
7210
|
instant_charge?: string | undefined;
|
|
7209
7211
|
} & {
|
|
7210
7212
|
[k: string]: unknown;
|
|
7211
7213
|
};
|
|
7212
|
-
timestamp: string;
|
|
7213
|
-
level: "error" | "warn" | "info";
|
|
7214
7214
|
metrics: Record<string, unknown>;
|
|
7215
7215
|
parent: {
|
|
7216
7216
|
logId: string;
|
|
@@ -7221,13 +7221,13 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7221
7221
|
type: string;
|
|
7222
7222
|
status: "success" | "failed";
|
|
7223
7223
|
id: string;
|
|
7224
|
+
timestamp: string;
|
|
7225
|
+
level: "error" | "warn" | "info";
|
|
7224
7226
|
metadata: {
|
|
7225
7227
|
instant_charge?: string | undefined;
|
|
7226
7228
|
} & {
|
|
7227
7229
|
[k: string]: unknown;
|
|
7228
7230
|
};
|
|
7229
|
-
timestamp: string;
|
|
7230
|
-
level: "error" | "warn" | "info";
|
|
7231
7231
|
metrics: Record<string, unknown>;
|
|
7232
7232
|
parent: {
|
|
7233
7233
|
logId: string;
|
|
@@ -7268,13 +7268,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7268
7268
|
type: string;
|
|
7269
7269
|
status: "success" | "failed";
|
|
7270
7270
|
id: string;
|
|
7271
|
+
timestamp: string;
|
|
7272
|
+
level: "error" | "warn" | "info";
|
|
7271
7273
|
metadata: {
|
|
7272
7274
|
instant_charge?: string | undefined;
|
|
7273
7275
|
} & {
|
|
7274
7276
|
[k: string]: unknown;
|
|
7275
7277
|
};
|
|
7276
|
-
timestamp: string;
|
|
7277
|
-
level: "error" | "warn" | "info";
|
|
7278
7278
|
metrics: Record<string, unknown>;
|
|
7279
7279
|
parent: {
|
|
7280
7280
|
logId: string;
|
|
@@ -7285,13 +7285,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7285
7285
|
type: string;
|
|
7286
7286
|
status: "success" | "failed";
|
|
7287
7287
|
id: string;
|
|
7288
|
+
timestamp: string;
|
|
7289
|
+
level: "error" | "warn" | "info";
|
|
7288
7290
|
metadata: {
|
|
7289
7291
|
instant_charge?: string | undefined;
|
|
7290
7292
|
} & {
|
|
7291
7293
|
[k: string]: unknown;
|
|
7292
7294
|
};
|
|
7293
|
-
timestamp: string;
|
|
7294
|
-
level: "error" | "warn" | "info";
|
|
7295
7295
|
metrics: Record<string, unknown>;
|
|
7296
7296
|
parent: {
|
|
7297
7297
|
logId: string;
|
|
@@ -7306,13 +7306,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7306
7306
|
type: string;
|
|
7307
7307
|
status: "success" | "failed";
|
|
7308
7308
|
id: string;
|
|
7309
|
+
timestamp: string;
|
|
7310
|
+
level: "error" | "warn" | "info";
|
|
7309
7311
|
metadata: {
|
|
7310
7312
|
instant_charge?: string | undefined;
|
|
7311
7313
|
} & {
|
|
7312
7314
|
[k: string]: unknown;
|
|
7313
7315
|
};
|
|
7314
|
-
timestamp: string;
|
|
7315
|
-
level: "error" | "warn" | "info";
|
|
7316
7316
|
metrics: Record<string, unknown>;
|
|
7317
7317
|
parent: {
|
|
7318
7318
|
logId: string;
|
|
@@ -7326,13 +7326,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7326
7326
|
type: string;
|
|
7327
7327
|
status: "success" | "failed";
|
|
7328
7328
|
id: string;
|
|
7329
|
+
timestamp: string;
|
|
7330
|
+
level: "error" | "warn" | "info";
|
|
7329
7331
|
metadata: {
|
|
7330
7332
|
instant_charge?: string | undefined;
|
|
7331
7333
|
} & {
|
|
7332
7334
|
[k: string]: unknown;
|
|
7333
7335
|
};
|
|
7334
|
-
timestamp: string;
|
|
7335
|
-
level: "error" | "warn" | "info";
|
|
7336
7336
|
metrics: Record<string, unknown>;
|
|
7337
7337
|
parent: {
|
|
7338
7338
|
logId: string;
|
|
@@ -7418,13 +7418,13 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7418
7418
|
status: "success" | "failed";
|
|
7419
7419
|
data: Record<string, unknown>;
|
|
7420
7420
|
id: string;
|
|
7421
|
+
timestamp: string;
|
|
7422
|
+
level: "error" | "warn" | "info";
|
|
7421
7423
|
metadata: {
|
|
7422
7424
|
instant_charge?: string | undefined;
|
|
7423
7425
|
} & {
|
|
7424
7426
|
[k: string]: unknown;
|
|
7425
7427
|
};
|
|
7426
|
-
timestamp: string;
|
|
7427
|
-
level: "error" | "warn" | "info";
|
|
7428
7428
|
metrics: Record<string, unknown>;
|
|
7429
7429
|
parent: {
|
|
7430
7430
|
logId: string;
|
|
@@ -7450,13 +7450,13 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7450
7450
|
status: "success" | "failed";
|
|
7451
7451
|
data: Record<string, unknown>;
|
|
7452
7452
|
id: string;
|
|
7453
|
+
timestamp: string;
|
|
7454
|
+
level: "error" | "warn" | "info";
|
|
7453
7455
|
metadata: {
|
|
7454
7456
|
instant_charge?: string | undefined;
|
|
7455
7457
|
} & {
|
|
7456
7458
|
[k: string]: unknown;
|
|
7457
7459
|
};
|
|
7458
|
-
timestamp: string;
|
|
7459
|
-
level: "error" | "warn" | "info";
|
|
7460
7460
|
metrics: Record<string, unknown>;
|
|
7461
7461
|
parent: {
|
|
7462
7462
|
logId: string;
|