@orq-ai/node 4.2.0-rc.3 → 4.2.0-rc.5
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 +219 -219
- package/bin/mcp-server.js.map +39 -39
- package/examples/package-lock.json +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/components/conversationresponse.js +2 -2
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.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.js +28 -28
- 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/generateconversationname.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getevals.js +28 -28
- 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/retrieveconversation.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/streamrunagent.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.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/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/components/conversationresponse.ts +2 -2
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.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 +28 -28
- 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/generateconversationname.ts +2 -2
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getevals.ts +28 -28
- 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/retrieveconversation.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/streamrunagent.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.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
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
39
39
|
export declare const SDK_METADATA: {
|
|
40
40
|
readonly language: "typescript";
|
|
41
41
|
readonly openapiDocVersion: "2.0";
|
|
42
|
-
readonly sdkVersion: "4.2.0-rc.
|
|
42
|
+
readonly sdkVersion: "4.2.0-rc.5";
|
|
43
43
|
readonly genVersion: "2.788.15";
|
|
44
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.2.0-rc.
|
|
44
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.2.0-rc.5 2.788.15 2.0 @orq-ai/node";
|
|
45
45
|
};
|
|
46
46
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.2.0-rc.
|
|
31
|
+
sdkVersion: "4.2.0-rc.5",
|
|
32
32
|
genVersion: "2.788.15",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.2.0-rc.
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.2.0-rc.5 2.788.15 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
package/mcp-server/mcp-server.js
CHANGED
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "4.2.0-rc.
|
|
25
|
+
currentVersion: "4.2.0-rc.5",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
package/mcp-server/server.js
CHANGED
|
@@ -114,7 +114,7 @@ const toolsUpdate_js_1 = require("./tools/toolsUpdate.js");
|
|
|
114
114
|
function createMCPServer(deps) {
|
|
115
115
|
const server = new mcp_js_1.McpServer({
|
|
116
116
|
name: "Orq",
|
|
117
|
-
version: "4.2.0-rc.
|
|
117
|
+
version: "4.2.0-rc.5",
|
|
118
118
|
});
|
|
119
119
|
const client = new core_js_1.OrqCore({
|
|
120
120
|
apiKey: deps.apiKey,
|
|
@@ -72,7 +72,7 @@ function metadataFromJSON(jsonString) {
|
|
|
72
72
|
}
|
|
73
73
|
/** @internal */
|
|
74
74
|
exports.ConversationResponse$inboundSchema = z.object({
|
|
75
|
-
_id: z.string().default("
|
|
75
|
+
_id: z.string().default("conv_01kdwqh4ervq8mzdz4abycdtjq"),
|
|
76
76
|
entityId: z.string(),
|
|
77
77
|
kind: exports.ConversationResponseKind$inboundSchema,
|
|
78
78
|
displayName: z.string(),
|
|
@@ -88,7 +88,7 @@ exports.ConversationResponse$inboundSchema = z.object({
|
|
|
88
88
|
});
|
|
89
89
|
/** @internal */
|
|
90
90
|
exports.ConversationResponse$outboundSchema = z.object({
|
|
91
|
-
id: z.string().default("
|
|
91
|
+
id: z.string().default("conv_01kdwqh4ervq8mzdz4abycdtjq"),
|
|
92
92
|
entityId: z.string(),
|
|
93
93
|
kind: exports.ConversationResponseKind$outboundSchema,
|
|
94
94
|
displayName: z.string(),
|
|
@@ -59,7 +59,7 @@ exports.PartKind$inboundSchema = z
|
|
|
59
59
|
exports.PartKind$outboundSchema = exports.PartKind$inboundSchema;
|
|
60
60
|
/** @internal */
|
|
61
61
|
exports.PartReasoningPart$inboundSchema = z.object({
|
|
62
|
-
_id: z.string().default("
|
|
62
|
+
_id: z.string().default("reasoning_01kdwqh44yqyp70a1nppdcscd6"),
|
|
63
63
|
metadata: z.record(z.any()).optional(),
|
|
64
64
|
kind: exports.PartKind$inboundSchema,
|
|
65
65
|
reasoning: z.string(),
|
|
@@ -71,7 +71,7 @@ exports.PartReasoningPart$inboundSchema = z.object({
|
|
|
71
71
|
});
|
|
72
72
|
/** @internal */
|
|
73
73
|
exports.PartReasoningPart$outboundSchema = z.object({
|
|
74
|
-
id: z.string().default("
|
|
74
|
+
id: z.string().default("reasoning_01kdwqh44yqyp70a1nppdcscd6"),
|
|
75
75
|
metadata: z.record(z.any()).optional(),
|
|
76
76
|
kind: exports.PartKind$outboundSchema,
|
|
77
77
|
reasoning: z.string(),
|
|
@@ -44,7 +44,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
44
44
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
45
|
/** @internal */
|
|
46
46
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
47
|
-
_id: z.string().default("
|
|
47
|
+
_id: z.string().default("reasoning_01kdwqh44qwqa5hg0nrevq7m6j"),
|
|
48
48
|
metadata: z.record(z.any()).optional(),
|
|
49
49
|
kind: z.literal("reasoning"),
|
|
50
50
|
reasoning: z.string(),
|
|
@@ -56,7 +56,7 @@ exports.ReasoningPart$inboundSchema = z.object({
|
|
|
56
56
|
});
|
|
57
57
|
/** @internal */
|
|
58
58
|
exports.ReasoningPart$outboundSchema = z.object({
|
|
59
|
-
id: z.string().default("
|
|
59
|
+
id: z.string().default("reasoning_01kdwqh44qwqa5hg0nrevq7m6j"),
|
|
60
60
|
metadata: z.record(z.any()).optional(),
|
|
61
61
|
kind: z.literal("reasoning"),
|
|
62
62
|
reasoning: z.string(),
|
|
@@ -92,7 +92,7 @@ exports.CreateContactResponseBody$inboundSchema = z.object({
|
|
|
92
92
|
metadata: z.record(z.any()).optional(),
|
|
93
93
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
94
94
|
.optional(),
|
|
95
|
-
updated: z.string().datetime({ offset: true }).default("
|
|
95
|
+
updated: z.string().datetime({ offset: true }).default("2026-01-01T12:11:30.915Z").transform(v => new Date(v)),
|
|
96
96
|
}).transform((v) => {
|
|
97
97
|
return (0, primitives_js_1.remap)(v, {
|
|
98
98
|
"_id": "id",
|
|
@@ -113,7 +113,7 @@ exports.CreateContactResponseBody$outboundSchema = z.object({
|
|
|
113
113
|
tags: z.array(z.string()).optional(),
|
|
114
114
|
metadata: z.record(z.any()).optional(),
|
|
115
115
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
116
|
-
updated: z.date().default(() => new Date("
|
|
116
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
117
117
|
.transform(v => v.toISOString()),
|
|
118
118
|
}).transform((v) => {
|
|
119
119
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -108,7 +108,7 @@ function createConversationConversationsMetadataFromJSON(jsonString) {
|
|
|
108
108
|
}
|
|
109
109
|
/** @internal */
|
|
110
110
|
exports.CreateConversationResponseBody$inboundSchema = z.object({
|
|
111
|
-
_id: z.string().default("
|
|
111
|
+
_id: z.string().default("conv_01kdwqh4etxkrcb4t64wrwq5da"),
|
|
112
112
|
entityId: z.string(),
|
|
113
113
|
kind: exports.CreateConversationKind$inboundSchema,
|
|
114
114
|
displayName: z.string(),
|
|
@@ -125,7 +125,7 @@ exports.CreateConversationResponseBody$inboundSchema = z.object({
|
|
|
125
125
|
});
|
|
126
126
|
/** @internal */
|
|
127
127
|
exports.CreateConversationResponseBody$outboundSchema = z.object({
|
|
128
|
-
id: z.string().default("
|
|
128
|
+
id: z.string().default("conv_01kdwqh4etxkrcb4t64wrwq5da"),
|
|
129
129
|
entityId: z.string(),
|
|
130
130
|
kind: exports.CreateConversationKind$outboundSchema,
|
|
131
131
|
displayName: z.string(),
|
|
@@ -107,7 +107,7 @@ exports.CreateDatasetResponseBody$inboundSchema = z.object({
|
|
|
107
107
|
updated_by_id: z.string().optional(),
|
|
108
108
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
109
109
|
.optional(),
|
|
110
|
-
updated: z.string().datetime({ offset: true }).default("
|
|
110
|
+
updated: z.string().datetime({ offset: true }).default("2026-01-01T12:11:30.915Z").transform(v => new Date(v)),
|
|
111
111
|
}).transform((v) => {
|
|
112
112
|
return (0, primitives_js_1.remap)(v, {
|
|
113
113
|
"_id": "id",
|
|
@@ -128,7 +128,7 @@ exports.CreateDatasetResponseBody$outboundSchema = z.object({
|
|
|
128
128
|
createdById: z.string().optional(),
|
|
129
129
|
updatedById: z.string().optional(),
|
|
130
130
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
131
|
-
updated: z.date().default(() => new Date("
|
|
131
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
132
132
|
.transform(v => v.toISOString()),
|
|
133
133
|
}).transform((v) => {
|
|
134
134
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1306,7 +1306,7 @@ exports.Evaluations3$inboundSchema = z.object({
|
|
|
1306
1306
|
human_review_id: z.string(),
|
|
1307
1307
|
source: exports.CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
1308
1308
|
reviewed_by_id: z.string(),
|
|
1309
|
-
reviewed_at: z.string().datetime({ offset: true }).default("
|
|
1309
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-01-01T12:11:44.032Z").transform(v => new Date(v)),
|
|
1310
1310
|
type: z.literal("string_array"),
|
|
1311
1311
|
values: z.array(z.string()),
|
|
1312
1312
|
}).transform((v) => {
|
|
@@ -1324,7 +1324,7 @@ exports.Evaluations3$outboundSchema = z.object({
|
|
|
1324
1324
|
humanReviewId: z.string(),
|
|
1325
1325
|
source: exports.CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
1326
1326
|
reviewedById: z.string(),
|
|
1327
|
-
reviewedAt: z.date().default(() => new Date("
|
|
1327
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.032Z"))
|
|
1328
1328
|
.transform(v => v.toISOString()),
|
|
1329
1329
|
type: z.literal("string_array"),
|
|
1330
1330
|
values: z.array(z.string()),
|
|
@@ -1357,7 +1357,7 @@ exports.Evaluations2$inboundSchema = z.object({
|
|
|
1357
1357
|
human_review_id: z.string(),
|
|
1358
1358
|
source: exports.EvaluationsSource$inboundSchema.default("orq"),
|
|
1359
1359
|
reviewed_by_id: z.string(),
|
|
1360
|
-
reviewed_at: z.string().datetime({ offset: true }).default("
|
|
1360
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-01-01T12:11:44.032Z").transform(v => new Date(v)),
|
|
1361
1361
|
type: z.literal("number"),
|
|
1362
1362
|
value: z.number(),
|
|
1363
1363
|
}).transform((v) => {
|
|
@@ -1375,7 +1375,7 @@ exports.Evaluations2$outboundSchema = z.object({
|
|
|
1375
1375
|
humanReviewId: z.string(),
|
|
1376
1376
|
source: exports.EvaluationsSource$outboundSchema.default("orq"),
|
|
1377
1377
|
reviewedById: z.string(),
|
|
1378
|
-
reviewedAt: z.date().default(() => new Date("
|
|
1378
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.032Z"))
|
|
1379
1379
|
.transform(v => v.toISOString()),
|
|
1380
1380
|
type: z.literal("number"),
|
|
1381
1381
|
value: z.number(),
|
|
@@ -1409,7 +1409,7 @@ exports.Evaluations1$inboundSchema = z.object({
|
|
|
1409
1409
|
human_review_id: z.string(),
|
|
1410
1410
|
source: exports.Source$inboundSchema.default("orq"),
|
|
1411
1411
|
reviewed_by_id: z.string(),
|
|
1412
|
-
reviewed_at: z.string().datetime({ offset: true }).default("
|
|
1412
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-01-01T12:11:44.032Z").transform(v => new Date(v)),
|
|
1413
1413
|
type: z.literal("string"),
|
|
1414
1414
|
value: z.string(),
|
|
1415
1415
|
}).transform((v) => {
|
|
@@ -1427,7 +1427,7 @@ exports.Evaluations1$outboundSchema = z.object({
|
|
|
1427
1427
|
humanReviewId: z.string(),
|
|
1428
1428
|
source: exports.Source$outboundSchema.default("orq"),
|
|
1429
1429
|
reviewedById: z.string(),
|
|
1430
|
-
reviewedAt: z.date().default(() => new Date("
|
|
1430
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.032Z"))
|
|
1431
1431
|
.transform(v => v.toISOString()),
|
|
1432
1432
|
type: z.literal("string"),
|
|
1433
1433
|
value: z.string(),
|
|
@@ -1487,7 +1487,7 @@ exports.CreateDatasetItemResponseBody$inboundSchema = z.object({
|
|
|
1487
1487
|
updated_by_id: z.string().optional(),
|
|
1488
1488
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1489
1489
|
.optional(),
|
|
1490
|
-
updated: z.string().datetime({ offset: true }).default("
|
|
1490
|
+
updated: z.string().datetime({ offset: true }).default("2026-01-01T12:11:30.915Z").transform(v => new Date(v)),
|
|
1491
1491
|
}).transform((v) => {
|
|
1492
1492
|
return (0, primitives_js_1.remap)(v, {
|
|
1493
1493
|
"_id": "id",
|
|
@@ -1522,7 +1522,7 @@ exports.CreateDatasetItemResponseBody$outboundSchema = z.object({
|
|
|
1522
1522
|
createdById: z.string().optional(),
|
|
1523
1523
|
updatedById: z.string().optional(),
|
|
1524
1524
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1525
|
-
updated: z.date().default(() => new Date("
|
|
1525
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
1526
1526
|
.transform(v => v.toISOString()),
|
|
1527
1527
|
}).transform((v) => {
|
|
1528
1528
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -267,7 +267,7 @@ exports.CreateDatasourceStatus$inboundSchema = z.nativeEnum(exports.CreateDataso
|
|
|
267
267
|
exports.CreateDatasourceStatus$outboundSchema = exports.CreateDatasourceStatus$inboundSchema;
|
|
268
268
|
/** @internal */
|
|
269
269
|
exports.CreateDatasourceResponseBody$inboundSchema = z.object({
|
|
270
|
-
_id: z.string().default("
|
|
270
|
+
_id: z.string().default("01KDWQH4XFDA7WG3JYYPSAHVC4"),
|
|
271
271
|
display_name: z.string(),
|
|
272
272
|
description: z.string().optional(),
|
|
273
273
|
status: exports.CreateDatasourceStatus$inboundSchema,
|
|
@@ -291,7 +291,7 @@ exports.CreateDatasourceResponseBody$inboundSchema = z.object({
|
|
|
291
291
|
});
|
|
292
292
|
/** @internal */
|
|
293
293
|
exports.CreateDatasourceResponseBody$outboundSchema = z.object({
|
|
294
|
-
id: z.string().default("
|
|
294
|
+
id: z.string().default("01KDWQH4XFDA7WG3JYYPSAHVC4"),
|
|
295
295
|
displayName: z.string(),
|
|
296
296
|
description: z.string().optional(),
|
|
297
297
|
status: exports.CreateDatasourceStatus$outboundSchema,
|
|
@@ -959,8 +959,8 @@ function createEvalResponseBodyEvalsResponse200ApplicationJSON7GuardrailConfigFr
|
|
|
959
959
|
exports.Typescript$inboundSchema = z.object({
|
|
960
960
|
_id: z.string(),
|
|
961
961
|
description: z.string(),
|
|
962
|
-
created: z.string().default("
|
|
963
|
-
updated: z.string().default("
|
|
962
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
963
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
964
964
|
guardrail_config: z.union([
|
|
965
965
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema),
|
|
966
966
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema),
|
|
@@ -978,8 +978,8 @@ exports.Typescript$inboundSchema = z.object({
|
|
|
978
978
|
exports.Typescript$outboundSchema = z.object({
|
|
979
979
|
id: z.string(),
|
|
980
980
|
description: z.string(),
|
|
981
|
-
created: z.string().default("
|
|
982
|
-
updated: z.string().default("
|
|
981
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
982
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
983
983
|
guardrailConfig: z.union([
|
|
984
984
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$outboundSchema),
|
|
985
985
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema),
|
|
@@ -1093,8 +1093,8 @@ exports.Ragas$inboundSchema = z
|
|
|
1093
1093
|
.object({
|
|
1094
1094
|
_id: z.string(),
|
|
1095
1095
|
description: z.string(),
|
|
1096
|
-
created: z.string().default("
|
|
1097
|
-
updated: z.string().default("
|
|
1096
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1097
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1098
1098
|
guardrail_config: z.union([
|
|
1099
1099
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema),
|
|
1100
1100
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema),
|
|
@@ -1114,8 +1114,8 @@ exports.Ragas$inboundSchema = z
|
|
|
1114
1114
|
exports.Ragas$outboundSchema = z.object({
|
|
1115
1115
|
id: z.string(),
|
|
1116
1116
|
description: z.string(),
|
|
1117
|
-
created: z.string().default("
|
|
1118
|
-
updated: z.string().default("
|
|
1117
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1118
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1119
1119
|
guardrailConfig: z.union([
|
|
1120
1120
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$outboundSchema),
|
|
1121
1121
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema),
|
|
@@ -1780,8 +1780,8 @@ function functionParamsFromJSON(jsonString) {
|
|
|
1780
1780
|
exports.CreateEvalResponseBodyFunction$inboundSchema = z.object({
|
|
1781
1781
|
_id: z.string(),
|
|
1782
1782
|
description: z.string(),
|
|
1783
|
-
created: z.string().default("
|
|
1784
|
-
updated: z.string().default("
|
|
1783
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1784
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1785
1785
|
guardrail_config: z.union([
|
|
1786
1786
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema),
|
|
1787
1787
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema),
|
|
@@ -1833,8 +1833,8 @@ exports.CreateEvalResponseBodyFunction$inboundSchema = z.object({
|
|
|
1833
1833
|
exports.CreateEvalResponseBodyFunction$outboundSchema = z.object({
|
|
1834
1834
|
id: z.string(),
|
|
1835
1835
|
description: z.string(),
|
|
1836
|
-
created: z.string().default("
|
|
1837
|
-
updated: z.string().default("
|
|
1836
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1837
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1838
1838
|
guardrailConfig: z.union([
|
|
1839
1839
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$outboundSchema),
|
|
1840
1840
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema),
|
|
@@ -1974,8 +1974,8 @@ function createEvalResponseBodyEvalsResponseGuardrailConfigFromJSON(jsonString)
|
|
|
1974
1974
|
exports.ResponseBodyPython$inboundSchema = z.object({
|
|
1975
1975
|
_id: z.string(),
|
|
1976
1976
|
description: z.string(),
|
|
1977
|
-
created: z.string().default("
|
|
1978
|
-
updated: z.string().default("
|
|
1977
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1978
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1979
1979
|
guardrail_config: z.union([
|
|
1980
1980
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
1981
1981
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
@@ -1993,8 +1993,8 @@ exports.ResponseBodyPython$inboundSchema = z.object({
|
|
|
1993
1993
|
exports.ResponseBodyPython$outboundSchema = z.object({
|
|
1994
1994
|
id: z.string(),
|
|
1995
1995
|
description: z.string(),
|
|
1996
|
-
created: z.string().default("
|
|
1997
|
-
updated: z.string().default("
|
|
1996
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1997
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1998
1998
|
guardrailConfig: z.union([
|
|
1999
1999
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema),
|
|
2000
2000
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
@@ -2104,8 +2104,8 @@ exports.ResponseBodyMethod$outboundSchema = exports.ResponseBodyMethod$inboundSc
|
|
|
2104
2104
|
exports.ResponseBodyHTTP$inboundSchema = z.object({
|
|
2105
2105
|
_id: z.string(),
|
|
2106
2106
|
description: z.string(),
|
|
2107
|
-
created: z.string().default("
|
|
2108
|
-
updated: z.string().default("
|
|
2107
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2108
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2109
2109
|
guardrail_config: z.union([
|
|
2110
2110
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
2111
2111
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
@@ -2126,8 +2126,8 @@ exports.ResponseBodyHTTP$inboundSchema = z.object({
|
|
|
2126
2126
|
exports.ResponseBodyHTTP$outboundSchema = z.object({
|
|
2127
2127
|
id: z.string(),
|
|
2128
2128
|
description: z.string(),
|
|
2129
|
-
created: z.string().default("
|
|
2130
|
-
updated: z.string().default("
|
|
2129
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2130
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2131
2131
|
guardrailConfig: z.union([
|
|
2132
2132
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema),
|
|
2133
2133
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
@@ -2233,8 +2233,8 @@ function createEvalResponseBodyGuardrailConfigFromJSON(jsonString) {
|
|
|
2233
2233
|
exports.ResponseBodyJSON$inboundSchema = z.object({
|
|
2234
2234
|
_id: z.string(),
|
|
2235
2235
|
description: z.string(),
|
|
2236
|
-
created: z.string().default("
|
|
2237
|
-
updated: z.string().default("
|
|
2236
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2237
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2238
2238
|
guardrail_config: z.union([
|
|
2239
2239
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
2240
2240
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
@@ -2252,8 +2252,8 @@ exports.ResponseBodyJSON$inboundSchema = z.object({
|
|
|
2252
2252
|
exports.ResponseBodyJSON$outboundSchema = z.object({
|
|
2253
2253
|
id: z.string(),
|
|
2254
2254
|
description: z.string(),
|
|
2255
|
-
created: z.string().default("
|
|
2256
|
-
updated: z.string().default("
|
|
2255
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2256
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2257
2257
|
guardrailConfig: z.union([
|
|
2258
2258
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
2259
2259
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
@@ -2356,8 +2356,8 @@ function responseBodyGuardrailConfigFromJSON(jsonString) {
|
|
|
2356
2356
|
exports.ResponseBodyLLM$inboundSchema = z.object({
|
|
2357
2357
|
_id: z.string(),
|
|
2358
2358
|
description: z.string(),
|
|
2359
|
-
created: z.string().default("
|
|
2360
|
-
updated: z.string().default("
|
|
2359
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2360
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2361
2361
|
guardrail_config: z.union([
|
|
2362
2362
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
2363
2363
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -2376,8 +2376,8 @@ exports.ResponseBodyLLM$inboundSchema = z.object({
|
|
|
2376
2376
|
exports.ResponseBodyLLM$outboundSchema = z.object({
|
|
2377
2377
|
id: z.string(),
|
|
2378
2378
|
description: z.string(),
|
|
2379
|
-
created: z.string().default("
|
|
2380
|
-
updated: z.string().default("
|
|
2379
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2380
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2381
2381
|
guardrailConfig: z.union([
|
|
2382
2382
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
2383
2383
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -888,7 +888,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
|
|
|
888
888
|
}
|
|
889
889
|
/** @internal */
|
|
890
890
|
exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
891
|
-
_id: z.string().default("
|
|
891
|
+
_id: z.string().default("tool_01KDWQH4QJW318KECAT8N5C9KM"),
|
|
892
892
|
path: z.string(),
|
|
893
893
|
key: z.string(),
|
|
894
894
|
display_name: z.string().optional(),
|
|
@@ -917,7 +917,7 @@ exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
|
917
917
|
});
|
|
918
918
|
/** @internal */
|
|
919
919
|
exports.ResponseBodyCodeExecutionTool$outboundSchema = z.object({
|
|
920
|
-
id: z.string().default("
|
|
920
|
+
id: z.string().default("tool_01KDWQH4QJW318KECAT8N5C9KM"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
displayName: z.string().optional(),
|
|
@@ -995,14 +995,14 @@ function createToolResponseBodySchemaFromJSON(jsonString) {
|
|
|
995
995
|
}
|
|
996
996
|
/** @internal */
|
|
997
997
|
exports.ResponseBodyTools$inboundSchema = z.object({
|
|
998
|
-
id: z.string().default("
|
|
998
|
+
id: z.string().default("01KDWQH4QGT2KQT5R34HP6WH7K"),
|
|
999
999
|
name: z.string(),
|
|
1000
1000
|
description: z.string().optional(),
|
|
1001
1001
|
schema: z.lazy(() => exports.CreateToolResponseBodySchema$inboundSchema),
|
|
1002
1002
|
});
|
|
1003
1003
|
/** @internal */
|
|
1004
1004
|
exports.ResponseBodyTools$outboundSchema = z.object({
|
|
1005
|
-
id: z.string().default("
|
|
1005
|
+
id: z.string().default("01KDWQH4QGT2KQT5R34HP6WH7K"),
|
|
1006
1006
|
name: z.string(),
|
|
1007
1007
|
description: z.string().optional(),
|
|
1008
1008
|
schema: z.lazy(() => exports.CreateToolResponseBodySchema$outboundSchema),
|
|
@@ -1050,7 +1050,7 @@ function responseBodyMcpFromJSON(jsonString) {
|
|
|
1050
1050
|
}
|
|
1051
1051
|
/** @internal */
|
|
1052
1052
|
exports.ResponseBodyMCPTool$inboundSchema = z.object({
|
|
1053
|
-
_id: z.string().default("
|
|
1053
|
+
_id: z.string().default("tool_01KDWQH4QETKW8RX8VEVRDQ3FK"),
|
|
1054
1054
|
path: z.string(),
|
|
1055
1055
|
key: z.string(),
|
|
1056
1056
|
display_name: z.string().optional(),
|
|
@@ -1078,7 +1078,7 @@ exports.ResponseBodyMCPTool$inboundSchema = z.object({
|
|
|
1078
1078
|
});
|
|
1079
1079
|
/** @internal */
|
|
1080
1080
|
exports.ResponseBodyMCPTool$outboundSchema = z.object({
|
|
1081
|
-
id: z.string().default("
|
|
1081
|
+
id: z.string().default("tool_01KDWQH4QETKW8RX8VEVRDQ3FK"),
|
|
1082
1082
|
path: z.string(),
|
|
1083
1083
|
key: z.string(),
|
|
1084
1084
|
displayName: z.string().optional(),
|
|
@@ -1228,7 +1228,7 @@ function createToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
/** @internal */
|
|
1230
1230
|
exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
1231
|
-
_id: z.string().default("
|
|
1231
|
+
_id: z.string().default("tool_01KDWQH4QBVHSQNK7JQNXC7BDX"),
|
|
1232
1232
|
path: z.string(),
|
|
1233
1233
|
key: z.string(),
|
|
1234
1234
|
display_name: z.string().optional(),
|
|
@@ -1256,7 +1256,7 @@ exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
|
1256
1256
|
});
|
|
1257
1257
|
/** @internal */
|
|
1258
1258
|
exports.ResponseBodyHTTPTool$outboundSchema = z.object({
|
|
1259
|
-
id: z.string().default("
|
|
1259
|
+
id: z.string().default("tool_01KDWQH4QBVHSQNK7JQNXC7BDX"),
|
|
1260
1260
|
path: z.string(),
|
|
1261
1261
|
key: z.string(),
|
|
1262
1262
|
displayName: z.string().optional(),
|
|
@@ -1340,7 +1340,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
/** @internal */
|
|
1342
1342
|
exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
1343
|
-
_id: z.string().default("
|
|
1343
|
+
_id: z.string().default("tool_01KDWQH4Q9GSZTZ4JCMG7014ZZ"),
|
|
1344
1344
|
path: z.string(),
|
|
1345
1345
|
key: z.string(),
|
|
1346
1346
|
display_name: z.string().optional(),
|
|
@@ -1369,7 +1369,7 @@ exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
|
1369
1369
|
});
|
|
1370
1370
|
/** @internal */
|
|
1371
1371
|
exports.ResponseBodyJSONSchemaTool$outboundSchema = z.object({
|
|
1372
|
-
id: z.string().default("
|
|
1372
|
+
id: z.string().default("tool_01KDWQH4Q9GSZTZ4JCMG7014ZZ"),
|
|
1373
1373
|
path: z.string(),
|
|
1374
1374
|
key: z.string(),
|
|
1375
1375
|
displayName: z.string().optional(),
|
|
@@ -1458,7 +1458,7 @@ function createToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
/** @internal */
|
|
1460
1460
|
exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
1461
|
-
_id: z.string().default("
|
|
1461
|
+
_id: z.string().default("tool_01KDWQH4Q6CEWEQ423K83KTXKH"),
|
|
1462
1462
|
path: z.string(),
|
|
1463
1463
|
key: z.string(),
|
|
1464
1464
|
display_name: z.string().optional(),
|
|
@@ -1486,7 +1486,7 @@ exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
|
1486
1486
|
});
|
|
1487
1487
|
/** @internal */
|
|
1488
1488
|
exports.ResponseBodyFunctionTool$outboundSchema = z.object({
|
|
1489
|
-
id: z.string().default("
|
|
1489
|
+
id: z.string().default("tool_01KDWQH4Q6CEWEQ423K83KTXKH"),
|
|
1490
1490
|
path: z.string(),
|
|
1491
1491
|
key: z.string(),
|
|
1492
1492
|
displayName: z.string().optional(),
|
|
@@ -86,7 +86,7 @@ exports.FileGetResponseBody$inboundSchema = z.object({
|
|
|
86
86
|
bytes: z.number(),
|
|
87
87
|
file_name: z.string(),
|
|
88
88
|
workspace_id: z.string(),
|
|
89
|
-
created: z.string().datetime({ offset: true }).default("
|
|
89
|
+
created: z.string().datetime({ offset: true }).default("2026-01-01T12:11:34.939Z").transform(v => new Date(v)),
|
|
90
90
|
}).transform((v) => {
|
|
91
91
|
return (0, primitives_js_1.remap)(v, {
|
|
92
92
|
"_id": "id",
|
|
@@ -103,7 +103,7 @@ exports.FileGetResponseBody$outboundSchema = z.object({
|
|
|
103
103
|
bytes: z.number(),
|
|
104
104
|
fileName: z.string(),
|
|
105
105
|
workspaceId: z.string(),
|
|
106
|
-
created: z.date().default(() => new Date("
|
|
106
|
+
created: z.date().default(() => new Date("2026-01-01T12:11:34.939Z"))
|
|
107
107
|
.transform(v => v.toISOString()),
|
|
108
108
|
}).transform((v) => {
|
|
109
109
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -101,7 +101,7 @@ exports.FileListData$inboundSchema = z.object({
|
|
|
101
101
|
bytes: z.number(),
|
|
102
102
|
file_name: z.string(),
|
|
103
103
|
workspace_id: z.string(),
|
|
104
|
-
created: z.string().datetime({ offset: true }).default("
|
|
104
|
+
created: z.string().datetime({ offset: true }).default("2026-01-01T12:11:34.939Z").transform(v => new Date(v)),
|
|
105
105
|
}).transform((v) => {
|
|
106
106
|
return (0, primitives_js_1.remap)(v, {
|
|
107
107
|
"_id": "id",
|
|
@@ -118,7 +118,7 @@ exports.FileListData$outboundSchema = z.object({
|
|
|
118
118
|
bytes: z.number(),
|
|
119
119
|
fileName: z.string(),
|
|
120
120
|
workspaceId: z.string(),
|
|
121
|
-
created: z.date().default(() => new Date("
|
|
121
|
+
created: z.date().default(() => new Date("2026-01-01T12:11:34.939Z"))
|
|
122
122
|
.transform(v => v.toISOString()),
|
|
123
123
|
}).transform((v) => {
|
|
124
124
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -122,7 +122,7 @@ exports.FileUploadResponseBody$inboundSchema = z.object({
|
|
|
122
122
|
bytes: z.number(),
|
|
123
123
|
file_name: z.string(),
|
|
124
124
|
workspace_id: z.string(),
|
|
125
|
-
created: z.string().datetime({ offset: true }).default("
|
|
125
|
+
created: z.string().datetime({ offset: true }).default("2026-01-01T12:11:34.939Z").transform(v => new Date(v)),
|
|
126
126
|
}).transform((v) => {
|
|
127
127
|
return (0, primitives_js_1.remap)(v, {
|
|
128
128
|
"_id": "id",
|
|
@@ -139,7 +139,7 @@ exports.FileUploadResponseBody$outboundSchema = z.object({
|
|
|
139
139
|
bytes: z.number(),
|
|
140
140
|
fileName: z.string(),
|
|
141
141
|
workspaceId: z.string(),
|
|
142
|
-
created: z.date().default(() => new Date("
|
|
142
|
+
created: z.date().default(() => new Date("2026-01-01T12:11:34.939Z"))
|
|
143
143
|
.transform(v => v.toISOString()),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -116,7 +116,7 @@ function generateConversationNameMetadataFromJSON(jsonString) {
|
|
|
116
116
|
}
|
|
117
117
|
/** @internal */
|
|
118
118
|
exports.GenerateConversationNameResponseBody$inboundSchema = z.object({
|
|
119
|
-
_id: z.string().default("
|
|
119
|
+
_id: z.string().default("conv_01kdwqh4ewcdh3dtphyz4scztc"),
|
|
120
120
|
entityId: z.string(),
|
|
121
121
|
kind: exports.GenerateConversationNameKind$inboundSchema,
|
|
122
122
|
displayName: z.string(),
|
|
@@ -133,7 +133,7 @@ exports.GenerateConversationNameResponseBody$inboundSchema = z.object({
|
|
|
133
133
|
});
|
|
134
134
|
/** @internal */
|
|
135
135
|
exports.GenerateConversationNameResponseBody$outboundSchema = z.object({
|
|
136
|
-
id: z.string().default("
|
|
136
|
+
id: z.string().default("conv_01kdwqh4ewcdh3dtphyz4scztc"),
|
|
137
137
|
entityId: z.string(),
|
|
138
138
|
kind: exports.GenerateConversationNameKind$outboundSchema,
|
|
139
139
|
displayName: z.string(),
|