@orq-ai/node 4.0.0-rc.52 → 4.0.0-rc.53
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/bin/mcp-server.js +5274 -1578
- package/bin/mcp-server.js.map +44 -44
- package/docs/sdks/agents/README.md +40 -2
- package/examples/package-lock.json +1 -1
- package/funcs/agentsStream.js +2 -0
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.js +2 -0
- package/funcs/agentsStreamRun.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +17 -7
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +12 -4
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +70 -70
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +162 -169
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +5 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +4 -0
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +34 -34
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +74 -79
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.d.ts +5 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamagent.d.ts +2658 -106
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +2936 -5
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +3268 -716
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +2936 -12
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +17 -7
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +12 -4
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/funcs/agentsStream.ts +1 -0
- package/src/funcs/agentsStreamRun.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +31 -13
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +368 -294
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +9 -0
- package/src/models/operations/getalltools.ts +277 -231
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +9 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamagent.ts +7595 -380
- package/src/models/operations/streamrunagent.ts +10703 -3540
- package/src/models/operations/updateagent.ts +31 -13
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -733,7 +733,7 @@ export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15
|
|
|
733
733
|
>;
|
|
734
734
|
|
|
735
735
|
/**
|
|
736
|
-
* Executes tools from Model Context Protocol (MCP) servers.
|
|
736
|
+
* Executes tools from Model Context Protocol (MCP) servers. Specify the parent MCP tool using "key" or "id", and the specific nested tool using "tool_id".
|
|
737
737
|
*/
|
|
738
738
|
export type MCPTool = {
|
|
739
739
|
/**
|
|
@@ -742,13 +742,17 @@ export type MCPTool = {
|
|
|
742
742
|
type:
|
|
743
743
|
CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type;
|
|
744
744
|
/**
|
|
745
|
-
* The key of the
|
|
745
|
+
* The key of the parent MCP tool
|
|
746
746
|
*/
|
|
747
747
|
key?: string | undefined;
|
|
748
748
|
/**
|
|
749
|
-
* The ID of the
|
|
749
|
+
* The ID of the parent MCP tool
|
|
750
750
|
*/
|
|
751
751
|
id?: string | undefined;
|
|
752
|
+
/**
|
|
753
|
+
* The ID of the specific nested tool within the MCP server
|
|
754
|
+
*/
|
|
755
|
+
toolId: string;
|
|
752
756
|
/**
|
|
753
757
|
* Whether this tool requires approval before execution
|
|
754
758
|
*/
|
|
@@ -1082,6 +1086,7 @@ export type GoogleSearchTool = {
|
|
|
1082
1086
|
* Tool configuration for agent create/update operations. Built-in tools only require a type, while custom tools (HTTP, Code, Function, MCP) must reference pre-created tools by key or id.
|
|
1083
1087
|
*/
|
|
1084
1088
|
export type AgentToolInputCRUD =
|
|
1089
|
+
| MCPTool
|
|
1085
1090
|
| GoogleSearchTool
|
|
1086
1091
|
| WebScraperTool
|
|
1087
1092
|
| CallSubAgentTool
|
|
@@ -1095,8 +1100,7 @@ export type AgentToolInputCRUD =
|
|
|
1095
1100
|
| CurrentDateTool
|
|
1096
1101
|
| HTTPTool
|
|
1097
1102
|
| CodeExecutionTool
|
|
1098
|
-
| FunctionTool
|
|
1099
|
-
| MCPTool;
|
|
1103
|
+
| FunctionTool;
|
|
1100
1104
|
|
|
1101
1105
|
/**
|
|
1102
1106
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
@@ -1173,6 +1177,7 @@ export type Settings = {
|
|
|
1173
1177
|
*/
|
|
1174
1178
|
tools?:
|
|
1175
1179
|
| Array<
|
|
1180
|
+
| MCPTool
|
|
1176
1181
|
| GoogleSearchTool
|
|
1177
1182
|
| WebScraperTool
|
|
1178
1183
|
| CallSubAgentTool
|
|
@@ -1187,7 +1192,6 @@ export type Settings = {
|
|
|
1187
1192
|
| HTTPTool
|
|
1188
1193
|
| CodeExecutionTool
|
|
1189
1194
|
| FunctionTool
|
|
1190
|
-
| MCPTool
|
|
1191
1195
|
>
|
|
1192
1196
|
| undefined;
|
|
1193
1197
|
/**
|
|
@@ -1338,6 +1342,10 @@ export type CreateAgentTools = {
|
|
|
1338
1342
|
*/
|
|
1339
1343
|
description?: string | undefined;
|
|
1340
1344
|
requiresApproval?: boolean | undefined;
|
|
1345
|
+
/**
|
|
1346
|
+
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
1347
|
+
*/
|
|
1348
|
+
toolId?: string | undefined;
|
|
1341
1349
|
conditions?: Array<Conditions> | undefined;
|
|
1342
1350
|
/**
|
|
1343
1351
|
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
@@ -4014,9 +4022,11 @@ export const MCPTool$inboundSchema: z.ZodType<MCPTool, z.ZodTypeDef, unknown> =
|
|
|
4014
4022
|
CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema,
|
|
4015
4023
|
key: z.string().optional(),
|
|
4016
4024
|
id: z.string().optional(),
|
|
4025
|
+
tool_id: z.string(),
|
|
4017
4026
|
requires_approval: z.boolean().default(false),
|
|
4018
4027
|
}).transform((v) => {
|
|
4019
4028
|
return remap$(v, {
|
|
4029
|
+
"tool_id": "toolId",
|
|
4020
4030
|
"requires_approval": "requiresApproval",
|
|
4021
4031
|
});
|
|
4022
4032
|
});
|
|
@@ -4025,6 +4035,7 @@ export type MCPTool$Outbound = {
|
|
|
4025
4035
|
type: string;
|
|
4026
4036
|
key?: string | undefined;
|
|
4027
4037
|
id?: string | undefined;
|
|
4038
|
+
tool_id: string;
|
|
4028
4039
|
requires_approval: boolean;
|
|
4029
4040
|
};
|
|
4030
4041
|
|
|
@@ -4038,9 +4049,11 @@ export const MCPTool$outboundSchema: z.ZodType<
|
|
|
4038
4049
|
CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema,
|
|
4039
4050
|
key: z.string().optional(),
|
|
4040
4051
|
id: z.string().optional(),
|
|
4052
|
+
toolId: z.string(),
|
|
4041
4053
|
requiresApproval: z.boolean().default(false),
|
|
4042
4054
|
}).transform((v) => {
|
|
4043
4055
|
return remap$(v, {
|
|
4056
|
+
toolId: "tool_id",
|
|
4044
4057
|
requiresApproval: "requires_approval",
|
|
4045
4058
|
});
|
|
4046
4059
|
});
|
|
@@ -4960,6 +4973,7 @@ export const AgentToolInputCRUD$inboundSchema: z.ZodType<
|
|
|
4960
4973
|
z.ZodTypeDef,
|
|
4961
4974
|
unknown
|
|
4962
4975
|
> = z.union([
|
|
4976
|
+
z.lazy(() => MCPTool$inboundSchema),
|
|
4963
4977
|
z.lazy(() => GoogleSearchTool$inboundSchema),
|
|
4964
4978
|
z.lazy(() => WebScraperTool$inboundSchema),
|
|
4965
4979
|
z.lazy(() => CallSubAgentTool$inboundSchema),
|
|
@@ -4974,10 +4988,10 @@ export const AgentToolInputCRUD$inboundSchema: z.ZodType<
|
|
|
4974
4988
|
z.lazy(() => HTTPTool$inboundSchema),
|
|
4975
4989
|
z.lazy(() => CodeExecutionTool$inboundSchema),
|
|
4976
4990
|
z.lazy(() => FunctionTool$inboundSchema),
|
|
4977
|
-
z.lazy(() => MCPTool$inboundSchema),
|
|
4978
4991
|
]);
|
|
4979
4992
|
/** @internal */
|
|
4980
4993
|
export type AgentToolInputCRUD$Outbound =
|
|
4994
|
+
| MCPTool$Outbound
|
|
4981
4995
|
| GoogleSearchTool$Outbound
|
|
4982
4996
|
| WebScraperTool$Outbound
|
|
4983
4997
|
| CallSubAgentTool$Outbound
|
|
@@ -4991,8 +5005,7 @@ export type AgentToolInputCRUD$Outbound =
|
|
|
4991
5005
|
| CurrentDateTool$Outbound
|
|
4992
5006
|
| HTTPTool$Outbound
|
|
4993
5007
|
| CodeExecutionTool$Outbound
|
|
4994
|
-
| FunctionTool$Outbound
|
|
4995
|
-
| MCPTool$Outbound;
|
|
5008
|
+
| FunctionTool$Outbound;
|
|
4996
5009
|
|
|
4997
5010
|
/** @internal */
|
|
4998
5011
|
export const AgentToolInputCRUD$outboundSchema: z.ZodType<
|
|
@@ -5000,6 +5013,7 @@ export const AgentToolInputCRUD$outboundSchema: z.ZodType<
|
|
|
5000
5013
|
z.ZodTypeDef,
|
|
5001
5014
|
AgentToolInputCRUD
|
|
5002
5015
|
> = z.union([
|
|
5016
|
+
z.lazy(() => MCPTool$outboundSchema),
|
|
5003
5017
|
z.lazy(() => GoogleSearchTool$outboundSchema),
|
|
5004
5018
|
z.lazy(() => WebScraperTool$outboundSchema),
|
|
5005
5019
|
z.lazy(() => CallSubAgentTool$outboundSchema),
|
|
@@ -5014,7 +5028,6 @@ export const AgentToolInputCRUD$outboundSchema: z.ZodType<
|
|
|
5014
5028
|
z.lazy(() => HTTPTool$outboundSchema),
|
|
5015
5029
|
z.lazy(() => CodeExecutionTool$outboundSchema),
|
|
5016
5030
|
z.lazy(() => FunctionTool$outboundSchema),
|
|
5017
|
-
z.lazy(() => MCPTool$outboundSchema),
|
|
5018
5031
|
]);
|
|
5019
5032
|
|
|
5020
5033
|
export function agentToolInputCRUDToJSON(
|
|
@@ -5165,6 +5178,7 @@ export const Settings$inboundSchema: z.ZodType<
|
|
|
5165
5178
|
),
|
|
5166
5179
|
tools: z.array(
|
|
5167
5180
|
z.union([
|
|
5181
|
+
z.lazy(() => MCPTool$inboundSchema),
|
|
5168
5182
|
z.lazy(() => GoogleSearchTool$inboundSchema),
|
|
5169
5183
|
z.lazy(() => WebScraperTool$inboundSchema),
|
|
5170
5184
|
z.lazy(() => CallSubAgentTool$inboundSchema),
|
|
@@ -5179,7 +5193,6 @@ export const Settings$inboundSchema: z.ZodType<
|
|
|
5179
5193
|
z.lazy(() => HTTPTool$inboundSchema),
|
|
5180
5194
|
z.lazy(() => CodeExecutionTool$inboundSchema),
|
|
5181
5195
|
z.lazy(() => FunctionTool$inboundSchema),
|
|
5182
|
-
z.lazy(() => MCPTool$inboundSchema),
|
|
5183
5196
|
]),
|
|
5184
5197
|
).optional(),
|
|
5185
5198
|
evaluators: z.array(z.lazy(() => Evaluators$inboundSchema)).optional(),
|
|
@@ -5198,6 +5211,7 @@ export type Settings$Outbound = {
|
|
|
5198
5211
|
tool_approval_required: string;
|
|
5199
5212
|
tools?:
|
|
5200
5213
|
| Array<
|
|
5214
|
+
| MCPTool$Outbound
|
|
5201
5215
|
| GoogleSearchTool$Outbound
|
|
5202
5216
|
| WebScraperTool$Outbound
|
|
5203
5217
|
| CallSubAgentTool$Outbound
|
|
@@ -5212,7 +5226,6 @@ export type Settings$Outbound = {
|
|
|
5212
5226
|
| HTTPTool$Outbound
|
|
5213
5227
|
| CodeExecutionTool$Outbound
|
|
5214
5228
|
| FunctionTool$Outbound
|
|
5215
|
-
| MCPTool$Outbound
|
|
5216
5229
|
>
|
|
5217
5230
|
| undefined;
|
|
5218
5231
|
evaluators?: Array<Evaluators$Outbound> | undefined;
|
|
@@ -5232,6 +5245,7 @@ export const Settings$outboundSchema: z.ZodType<
|
|
|
5232
5245
|
),
|
|
5233
5246
|
tools: z.array(
|
|
5234
5247
|
z.union([
|
|
5248
|
+
z.lazy(() => MCPTool$outboundSchema),
|
|
5235
5249
|
z.lazy(() => GoogleSearchTool$outboundSchema),
|
|
5236
5250
|
z.lazy(() => WebScraperTool$outboundSchema),
|
|
5237
5251
|
z.lazy(() => CallSubAgentTool$outboundSchema),
|
|
@@ -5246,7 +5260,6 @@ export const Settings$outboundSchema: z.ZodType<
|
|
|
5246
5260
|
z.lazy(() => HTTPTool$outboundSchema),
|
|
5247
5261
|
z.lazy(() => CodeExecutionTool$outboundSchema),
|
|
5248
5262
|
z.lazy(() => FunctionTool$outboundSchema),
|
|
5249
|
-
z.lazy(() => MCPTool$outboundSchema),
|
|
5250
5263
|
]),
|
|
5251
5264
|
).optional(),
|
|
5252
5265
|
evaluators: z.array(z.lazy(() => Evaluators$outboundSchema)).optional(),
|
|
@@ -5537,6 +5550,7 @@ export const CreateAgentTools$inboundSchema: z.ZodType<
|
|
|
5537
5550
|
display_name: z.string().optional(),
|
|
5538
5551
|
description: z.string().optional(),
|
|
5539
5552
|
requires_approval: z.boolean().default(false),
|
|
5553
|
+
tool_id: z.string().optional(),
|
|
5540
5554
|
conditions: z.array(z.lazy(() => Conditions$inboundSchema)).optional(),
|
|
5541
5555
|
timeout: z.number().default(120),
|
|
5542
5556
|
}).transform((v) => {
|
|
@@ -5544,6 +5558,7 @@ export const CreateAgentTools$inboundSchema: z.ZodType<
|
|
|
5544
5558
|
"action_type": "actionType",
|
|
5545
5559
|
"display_name": "displayName",
|
|
5546
5560
|
"requires_approval": "requiresApproval",
|
|
5561
|
+
"tool_id": "toolId",
|
|
5547
5562
|
});
|
|
5548
5563
|
});
|
|
5549
5564
|
/** @internal */
|
|
@@ -5554,6 +5569,7 @@ export type CreateAgentTools$Outbound = {
|
|
|
5554
5569
|
display_name?: string | undefined;
|
|
5555
5570
|
description?: string | undefined;
|
|
5556
5571
|
requires_approval: boolean;
|
|
5572
|
+
tool_id?: string | undefined;
|
|
5557
5573
|
conditions?: Array<Conditions$Outbound> | undefined;
|
|
5558
5574
|
timeout: number;
|
|
5559
5575
|
};
|
|
@@ -5570,6 +5586,7 @@ export const CreateAgentTools$outboundSchema: z.ZodType<
|
|
|
5570
5586
|
displayName: z.string().optional(),
|
|
5571
5587
|
description: z.string().optional(),
|
|
5572
5588
|
requiresApproval: z.boolean().default(false),
|
|
5589
|
+
toolId: z.string().optional(),
|
|
5573
5590
|
conditions: z.array(z.lazy(() => Conditions$outboundSchema)).optional(),
|
|
5574
5591
|
timeout: z.number().default(120),
|
|
5575
5592
|
}).transform((v) => {
|
|
@@ -5577,6 +5594,7 @@ export const CreateAgentTools$outboundSchema: z.ZodType<
|
|
|
5577
5594
|
actionType: "action_type",
|
|
5578
5595
|
displayName: "display_name",
|
|
5579
5596
|
requiresApproval: "requires_approval",
|
|
5597
|
+
toolId: "tool_id",
|
|
5580
5598
|
});
|
|
5581
5599
|
});
|
|
5582
5600
|
|
|
@@ -516,7 +516,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
516
516
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
517
517
|
.optional(),
|
|
518
518
|
updated: z.string().datetime({ offset: true }).default(
|
|
519
|
-
"2025-11-
|
|
519
|
+
"2025-11-20T08:19:17.797Z",
|
|
520
520
|
).transform(v => new Date(v)),
|
|
521
521
|
}).transform((v) => {
|
|
522
522
|
return remap$(v, {
|
|
@@ -553,7 +553,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
553
553
|
isActive: z.boolean(),
|
|
554
554
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
555
555
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
556
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
556
|
+
updated: z.date().default(() => new Date("2025-11-20T08:19:17.797Z"))
|
|
557
557
|
.transform(v => v.toISOString()),
|
|
558
558
|
}).transform((v) => {
|
|
559
559
|
return remap$(v, {
|
|
@@ -167,7 +167,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2025-11-
|
|
170
|
+
"2025-11-20T08:19:17.444Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -207,7 +207,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
207
207
|
tags: z.array(z.string()).optional(),
|
|
208
208
|
metadata: z.record(z.any()).optional(),
|
|
209
209
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
210
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
210
|
+
updated: z.date().default(() => new Date("2025-11-20T08:19:17.444Z"))
|
|
211
211
|
.transform(v => v.toISOString()),
|
|
212
212
|
}).transform((v) => {
|
|
213
213
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
188
188
|
.optional(),
|
|
189
189
|
updated: z.string().datetime({ offset: true }).default(
|
|
190
|
-
"2025-11-
|
|
190
|
+
"2025-11-20T08:19:17.444Z",
|
|
191
191
|
).transform(v => new Date(v)),
|
|
192
192
|
}).transform((v) => {
|
|
193
193
|
return remap$(v, {
|
|
@@ -226,7 +226,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
226
226
|
createdById: z.string().optional(),
|
|
227
227
|
updatedById: z.string().optional(),
|
|
228
228
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
229
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
229
|
+
updated: z.date().default(() => new Date("2025-11-20T08:19:17.444Z"))
|
|
230
230
|
.transform(v => v.toISOString()),
|
|
231
231
|
}).transform((v) => {
|
|
232
232
|
return remap$(v, {
|
|
@@ -4929,7 +4929,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
4929
4929
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
4930
4930
|
reviewed_by_id: z.string(),
|
|
4931
4931
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
4932
|
-
"2025-11-
|
|
4932
|
+
"2025-11-20T08:19:31.026Z",
|
|
4933
4933
|
).transform(v => new Date(v)),
|
|
4934
4934
|
type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
4935
4935
|
values: z.array(z.string()),
|
|
@@ -4964,7 +4964,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
4964
4964
|
humanReviewId: z.string(),
|
|
4965
4965
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
4966
4966
|
reviewedById: z.string(),
|
|
4967
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
4967
|
+
reviewedAt: z.date().default(() => new Date("2025-11-20T08:19:31.026Z"))
|
|
4968
4968
|
.transform(v => v.toISOString()),
|
|
4969
4969
|
type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
4970
4970
|
values: z.array(z.string()),
|
|
@@ -5029,7 +5029,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
5029
5029
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
5030
5030
|
reviewed_by_id: z.string(),
|
|
5031
5031
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5032
|
-
"2025-11-
|
|
5032
|
+
"2025-11-20T08:19:31.025Z",
|
|
5033
5033
|
).transform(v => new Date(v)),
|
|
5034
5034
|
type: CreateDatasetItemEvaluationsType$inboundSchema,
|
|
5035
5035
|
value: z.number(),
|
|
@@ -5064,7 +5064,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
5064
5064
|
humanReviewId: z.string(),
|
|
5065
5065
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
5066
5066
|
reviewedById: z.string(),
|
|
5067
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5067
|
+
reviewedAt: z.date().default(() => new Date("2025-11-20T08:19:31.025Z"))
|
|
5068
5068
|
.transform(v => v.toISOString()),
|
|
5069
5069
|
type: CreateDatasetItemEvaluationsType$outboundSchema,
|
|
5070
5070
|
value: z.number(),
|
|
@@ -5127,7 +5127,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
5127
5127
|
source: Source$inboundSchema.default("orq"),
|
|
5128
5128
|
reviewed_by_id: z.string(),
|
|
5129
5129
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5130
|
-
"2025-11-
|
|
5130
|
+
"2025-11-20T08:19:31.025Z",
|
|
5131
5131
|
).transform(v => new Date(v)),
|
|
5132
5132
|
type: EvaluationsType$inboundSchema,
|
|
5133
5133
|
value: z.string(),
|
|
@@ -5162,7 +5162,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
5162
5162
|
humanReviewId: z.string(),
|
|
5163
5163
|
source: Source$outboundSchema.default("orq"),
|
|
5164
5164
|
reviewedById: z.string(),
|
|
5165
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5165
|
+
reviewedAt: z.date().default(() => new Date("2025-11-20T08:19:31.025Z"))
|
|
5166
5166
|
.transform(v => v.toISOString()),
|
|
5167
5167
|
type: EvaluationsType$outboundSchema,
|
|
5168
5168
|
value: z.string(),
|
|
@@ -5267,7 +5267,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
5267
5267
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5268
5268
|
.optional(),
|
|
5269
5269
|
updated: z.string().datetime({ offset: true }).default(
|
|
5270
|
-
"2025-11-
|
|
5270
|
+
"2025-11-20T08:19:17.444Z",
|
|
5271
5271
|
).transform(v => new Date(v)),
|
|
5272
5272
|
}).transform((v) => {
|
|
5273
5273
|
return remap$(v, {
|
|
@@ -5345,7 +5345,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
5345
5345
|
createdById: z.string().optional(),
|
|
5346
5346
|
updatedById: z.string().optional(),
|
|
5347
5347
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5348
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
5348
|
+
updated: z.date().default(() => new Date("2025-11-20T08:19:17.444Z"))
|
|
5349
5349
|
.transform(v => v.toISOString()),
|
|
5350
5350
|
}).transform((v) => {
|
|
5351
5351
|
return remap$(v, {
|
|
@@ -608,7 +608,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
608
608
|
z.ZodTypeDef,
|
|
609
609
|
unknown
|
|
610
610
|
> = z.object({
|
|
611
|
-
_id: z.string().default("
|
|
611
|
+
_id: z.string().default("01KAG5HRFZVMNFXMCRJ9EQTR05"),
|
|
612
612
|
display_name: z.string(),
|
|
613
613
|
description: z.string().optional(),
|
|
614
614
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -651,7 +651,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
651
651
|
z.ZodTypeDef,
|
|
652
652
|
CreateDatasourceResponseBody
|
|
653
653
|
> = z.object({
|
|
654
|
-
id: z.string().default("
|
|
654
|
+
id: z.string().default("01KAG5HRFZVMNFXMCRJ9EQTR05"),
|
|
655
655
|
displayName: z.string(),
|
|
656
656
|
description: z.string().optional(),
|
|
657
657
|
status: CreateDatasourceStatus$outboundSchema,
|