@orq-ai/node 4.8.0-rc.2 → 4.8.0-rc.4
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/funcs/filesCreate.js +3 -2
- package/funcs/filesCreate.js.map +1 -1
- package/funcs/routerAudioTranscriptionsCreate.js +3 -2
- package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
- package/funcs/routerAudioTranslationsCreate.js +3 -2
- package/funcs/routerAudioTranslationsCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +7 -0
- package/lib/encodings.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +238 -36
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +295 -20
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +106 -16
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +183 -19
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +120 -16
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +195 -19
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/funcs/filesCreate.ts +4 -3
- package/src/funcs/routerAudioTranscriptionsCreate.ts +4 -3
- package/src/funcs/routerAudioTranslationsCreate.ts +4 -3
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +9 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +793 -20
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +447 -16
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +484 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -83,7 +83,7 @@ exports.PostV2HumanEvalsResponseBodySentiment = {
|
|
|
83
83
|
/** @internal */
|
|
84
84
|
exports.RequestBody6$outboundSchema = z.object({
|
|
85
85
|
type: z.literal("text"),
|
|
86
|
-
key: z.string().default("
|
|
86
|
+
key: z.string().default("orq_01knvvt6tv"),
|
|
87
87
|
displayName: z.string(),
|
|
88
88
|
description: z.string(),
|
|
89
89
|
projectId: z.string().optional(),
|
|
@@ -112,7 +112,7 @@ function requestBodyOptionsToJSON(requestBodyOptions) {
|
|
|
112
112
|
exports.Five$outboundSchema = z.object({
|
|
113
113
|
type: z.literal("single_select"),
|
|
114
114
|
options: z.array(z.lazy(() => exports.RequestBodyOptions$outboundSchema)),
|
|
115
|
-
key: z.string().default("
|
|
115
|
+
key: z.string().default("orq_01knvvt6tt"),
|
|
116
116
|
displayName: z.string(),
|
|
117
117
|
description: z.string(),
|
|
118
118
|
projectId: z.string().optional(),
|
|
@@ -142,7 +142,7 @@ function optionsToJSON(options) {
|
|
|
142
142
|
exports.RequestBody4$outboundSchema = z.object({
|
|
143
143
|
type: z.literal("multi_select"),
|
|
144
144
|
options: z.array(z.lazy(() => exports.Options$outboundSchema)),
|
|
145
|
-
key: z.string().default("
|
|
145
|
+
key: z.string().default("orq_01knvvt6ts"),
|
|
146
146
|
displayName: z.string(),
|
|
147
147
|
description: z.string(),
|
|
148
148
|
projectId: z.string().optional(),
|
|
@@ -167,7 +167,7 @@ function configToJSON(config) {
|
|
|
167
167
|
exports.PostV2HumanEvalsRequestBody3$outboundSchema = z.object({
|
|
168
168
|
type: z.literal("range"),
|
|
169
169
|
config: z.lazy(() => exports.Config$outboundSchema),
|
|
170
|
-
key: z.string().default("
|
|
170
|
+
key: z.string().default("orq_01knvvt6tr"),
|
|
171
171
|
displayName: z.string(),
|
|
172
172
|
description: z.string(),
|
|
173
173
|
projectId: z.string().optional(),
|
|
@@ -183,7 +183,7 @@ function postV2HumanEvalsRequestBody3ToJSON(postV2HumanEvalsRequestBody3) {
|
|
|
183
183
|
/** @internal */
|
|
184
184
|
exports.PostV2HumanEvalsRequestBody2$outboundSchema = z.object({
|
|
185
185
|
type: z.literal("correction"),
|
|
186
|
-
key: z.string().default("
|
|
186
|
+
key: z.string().default("orq_01knvvt6tq"),
|
|
187
187
|
displayName: z.string(),
|
|
188
188
|
description: z.string(),
|
|
189
189
|
projectId: z.string().optional(),
|
|
@@ -199,7 +199,7 @@ function postV2HumanEvalsRequestBody2ToJSON(postV2HumanEvalsRequestBody2) {
|
|
|
199
199
|
/** @internal */
|
|
200
200
|
exports.PostV2HumanEvalsRequestBody1$outboundSchema = z.object({
|
|
201
201
|
type: z.literal("boolean"),
|
|
202
|
-
key: z.string().default("
|
|
202
|
+
key: z.string().default("orq_01knvvt6tq"),
|
|
203
203
|
displayName: z.string(),
|
|
204
204
|
description: z.string(),
|
|
205
205
|
projectId: z.string().optional(),
|
|
@@ -228,7 +228,7 @@ function postV2HumanEvalsRequestBodyToJSON(postV2HumanEvalsRequestBody) {
|
|
|
228
228
|
exports.PostV2HumanEvalsResponseBody6$inboundSchema = z.object({
|
|
229
229
|
type: z.literal("text"),
|
|
230
230
|
id: z.string(),
|
|
231
|
-
key: z.string().default("
|
|
231
|
+
key: z.string().default("orq_01knvvt6tp"),
|
|
232
232
|
display_name: z.string(),
|
|
233
233
|
description: z.string(),
|
|
234
234
|
domain_id: z.string().optional(),
|
|
@@ -268,7 +268,7 @@ exports.PostV2HumanEvalsResponseBody5$inboundSchema = z.object({
|
|
|
268
268
|
type: z.literal("single_select"),
|
|
269
269
|
options: z.array(z.lazy(() => exports.PostV2HumanEvalsResponseBodyResponseOptions$inboundSchema)),
|
|
270
270
|
id: z.string(),
|
|
271
|
-
key: z.string().default("
|
|
271
|
+
key: z.string().default("orq_01knvvt6tn"),
|
|
272
272
|
display_name: z.string(),
|
|
273
273
|
description: z.string(),
|
|
274
274
|
domain_id: z.string().optional(),
|
|
@@ -307,7 +307,7 @@ exports.PostV2HumanEvalsResponseBody4$inboundSchema = z.object({
|
|
|
307
307
|
type: z.literal("multi_select"),
|
|
308
308
|
options: z.array(z.lazy(() => exports.PostV2HumanEvalsResponseBodyOptions$inboundSchema)),
|
|
309
309
|
id: z.string(),
|
|
310
|
-
key: z.string().default("
|
|
310
|
+
key: z.string().default("orq_01knvvt6tk"),
|
|
311
311
|
display_name: z.string(),
|
|
312
312
|
description: z.string(),
|
|
313
313
|
domain_id: z.string().optional(),
|
|
@@ -341,7 +341,7 @@ exports.PostV2HumanEvalsResponseBody3$inboundSchema = z.object({
|
|
|
341
341
|
type: z.literal("range"),
|
|
342
342
|
config: z.lazy(() => exports.PostV2HumanEvalsResponseBodyConfig$inboundSchema),
|
|
343
343
|
id: z.string(),
|
|
344
|
-
key: z.string().default("
|
|
344
|
+
key: z.string().default("orq_01knvvt6tj"),
|
|
345
345
|
display_name: z.string(),
|
|
346
346
|
description: z.string(),
|
|
347
347
|
domain_id: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function postV2HumanEvalsResponseBody3FromJSON(jsonString) {
|
|
|
366
366
|
exports.PostV2HumanEvalsResponseBody2$inboundSchema = z.object({
|
|
367
367
|
type: z.literal("correction"),
|
|
368
368
|
id: z.string(),
|
|
369
|
-
key: z.string().default("
|
|
369
|
+
key: z.string().default("orq_01knvvt6tg"),
|
|
370
370
|
display_name: z.string(),
|
|
371
371
|
description: z.string(),
|
|
372
372
|
domain_id: z.string().optional(),
|
|
@@ -391,7 +391,7 @@ function postV2HumanEvalsResponseBody2FromJSON(jsonString) {
|
|
|
391
391
|
exports.PostV2HumanEvalsResponseBody1$inboundSchema = z.object({
|
|
392
392
|
type: z.literal("boolean"),
|
|
393
393
|
id: z.string(),
|
|
394
|
-
key: z.string().default("
|
|
394
|
+
key: z.string().default("orq_01knvvt6t9"),
|
|
395
395
|
display_name: z.string(),
|
|
396
396
|
description: z.string(),
|
|
397
397
|
domain_id: z.string().optional(),
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-10T14:12:37.936Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-10T14:12:37.936Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -409,7 +409,7 @@ exports.RetrieveDatapointEvaluations3$inboundSchema = z.object({
|
|
|
409
409
|
source: exports.RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
410
410
|
.default("orq"),
|
|
411
411
|
reviewed_by_id: z.string(),
|
|
412
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
412
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-10T14:12:55.049Z").transform(v => new Date(v)),
|
|
413
413
|
type: z.literal("string_array"),
|
|
414
414
|
values: z.array(z.string()),
|
|
415
415
|
}).transform((v) => {
|
|
@@ -436,7 +436,7 @@ exports.RetrieveDatapointEvaluations2$inboundSchema = z.object({
|
|
|
436
436
|
human_review_id: z.string(),
|
|
437
437
|
source: exports.RetrieveDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
438
438
|
reviewed_by_id: z.string(),
|
|
439
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
439
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-10T14:12:55.049Z").transform(v => new Date(v)),
|
|
440
440
|
type: z.literal("number"),
|
|
441
441
|
value: z.number(),
|
|
442
442
|
}).transform((v) => {
|
|
@@ -462,7 +462,7 @@ exports.RetrieveDatapointEvaluations1$inboundSchema = z.object({
|
|
|
462
462
|
human_review_id: z.string(),
|
|
463
463
|
source: exports.RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
464
464
|
reviewed_by_id: z.string(),
|
|
465
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
465
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-10T14:12:55.048Z").transform(v => new Date(v)),
|
|
466
466
|
type: z.literal("string"),
|
|
467
467
|
value: z.string(),
|
|
468
468
|
}).transform((v) => {
|
|
@@ -509,7 +509,7 @@ exports.RetrieveDatapointResponseBody$inboundSchema = z.object({
|
|
|
509
509
|
updated_by_id: z.string().optional(),
|
|
510
510
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
511
511
|
.optional(),
|
|
512
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
512
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-10T14:12:37.936Z").transform(v => new Date(v)),
|
|
513
513
|
}).transform((v) => {
|
|
514
514
|
return (0, primitives_js_1.remap)(v, {
|
|
515
515
|
"_id": "id",
|
|
@@ -78,7 +78,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
78
78
|
updated_by_id: z.string().optional(),
|
|
79
79
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
80
80
|
.optional(),
|
|
81
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
81
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-10T14:12:37.936Z").transform(v => new Date(v)),
|
|
82
82
|
}).transform((v) => {
|
|
83
83
|
return (0, primitives_js_1.remap)(v, {
|
|
84
84
|
"_id": "id",
|
|
@@ -66,7 +66,7 @@ function retrieveDatasourceRequestToJSON(retrieveDatasourceRequest) {
|
|
|
66
66
|
exports.RetrieveDatasourceStatus$inboundSchema = z.nativeEnum(exports.RetrieveDatasourceStatus);
|
|
67
67
|
/** @internal */
|
|
68
68
|
exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
69
|
-
_id: z.string().default("
|
|
69
|
+
_id: z.string().default("01KNVVT6J34RYJE7PD2RNP0E14"),
|
|
70
70
|
display_name: z.string(),
|
|
71
71
|
description: z.string().optional(),
|
|
72
72
|
status: exports.RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -83,7 +83,7 @@ exports.RetrieveIdentityResponseBody$inboundSchema = z.object({
|
|
|
83
83
|
metadata: z.record(z.any()).optional(),
|
|
84
84
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
85
85
|
.optional(),
|
|
86
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
86
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-10T14:12:37.936Z").transform(v => new Date(v)),
|
|
87
87
|
metrics: z.nullable(z.lazy(() => exports.Metrics$inboundSchema)).optional(),
|
|
88
88
|
}).transform((v) => {
|
|
89
89
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -187,7 +187,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
187
187
|
}
|
|
188
188
|
/** @internal */
|
|
189
189
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
190
|
-
_id: z.string().default("
|
|
190
|
+
_id: z.string().default("tool_01KNVVT6F6XR3XKZ1ZRZB8M2NJ"),
|
|
191
191
|
path: z.string(),
|
|
192
192
|
key: z.string(),
|
|
193
193
|
display_name: z.string().optional(),
|
|
@@ -242,7 +242,7 @@ function retrieveToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
242
242
|
}
|
|
243
243
|
/** @internal */
|
|
244
244
|
exports.RetrieveToolResponseBodyTools$inboundSchema = z.object({
|
|
245
|
-
id: z.string().default("
|
|
245
|
+
id: z.string().default("01KNVVT6F5EAXMCQ40ANK6P6M2"),
|
|
246
246
|
name: z.string(),
|
|
247
247
|
description: z.string().optional(),
|
|
248
248
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -272,7 +272,7 @@ function retrieveToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
272
272
|
}
|
|
273
273
|
/** @internal */
|
|
274
274
|
exports.RetrieveToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
275
|
-
_id: z.string().default("
|
|
275
|
+
_id: z.string().default("tool_01KNVVT6F4FYA4R01RD204A1Q0"),
|
|
276
276
|
path: z.string(),
|
|
277
277
|
key: z.string(),
|
|
278
278
|
display_name: z.string().optional(),
|
|
@@ -361,7 +361,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
361
361
|
}
|
|
362
362
|
/** @internal */
|
|
363
363
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
364
|
-
_id: z.string().default("
|
|
364
|
+
_id: z.string().default("tool_01KNVVT6F2S7P7DNH6PJ2C3CAF"),
|
|
365
365
|
path: z.string(),
|
|
366
366
|
key: z.string(),
|
|
367
367
|
display_name: z.string().optional(),
|
|
@@ -413,7 +413,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
413
413
|
}
|
|
414
414
|
/** @internal */
|
|
415
415
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
416
|
-
_id: z.string().default("
|
|
416
|
+
_id: z.string().default("tool_01KNVVT6F189DS1M3Z7HJPFAWJ"),
|
|
417
417
|
path: z.string(),
|
|
418
418
|
key: z.string(),
|
|
419
419
|
display_name: z.string().optional(),
|
|
@@ -469,7 +469,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
469
469
|
}
|
|
470
470
|
/** @internal */
|
|
471
471
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
472
|
-
_id: z.string().default("
|
|
472
|
+
_id: z.string().default("tool_01KNVVT6EZTQXXZJ2V6BJQ1BXP"),
|
|
473
473
|
path: z.string(),
|
|
474
474
|
key: z.string(),
|
|
475
475
|
display_name: z.string().optional(),
|
|
@@ -1000,7 +1000,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
/** @internal */
|
|
1002
1002
|
exports.Tools$outboundSchema = z.object({
|
|
1003
|
-
id: z.string().default("
|
|
1003
|
+
id: z.string().default("01KNVVT62HMQTWC432Q9ZC107W"),
|
|
1004
1004
|
name: z.string(),
|
|
1005
1005
|
description: z.string().optional(),
|
|
1006
1006
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -963,7 +963,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
963
963
|
}
|
|
964
964
|
/** @internal */
|
|
965
965
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
966
|
-
id: z.string().default("
|
|
966
|
+
id: z.string().default("01KNVVT645CFB3G99DVMRF5GPC"),
|
|
967
967
|
name: z.string(),
|
|
968
968
|
description: z.string().optional(),
|
|
969
969
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -745,7 +745,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
745
745
|
source: exports.UpdateDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
746
746
|
.default("orq"),
|
|
747
747
|
reviewed_by_id: z.string(),
|
|
748
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
748
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-10T14:12:55.082Z").transform(v => new Date(v)),
|
|
749
749
|
type: z.literal("string_array"),
|
|
750
750
|
values: z.array(z.string()),
|
|
751
751
|
}).transform((v) => {
|
|
@@ -772,7 +772,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
772
772
|
human_review_id: z.string(),
|
|
773
773
|
source: exports.UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
774
774
|
reviewed_by_id: z.string(),
|
|
775
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
775
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-10T14:12:55.081Z").transform(v => new Date(v)),
|
|
776
776
|
type: z.literal("number"),
|
|
777
777
|
value: z.number(),
|
|
778
778
|
}).transform((v) => {
|
|
@@ -798,7 +798,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
798
798
|
human_review_id: z.string(),
|
|
799
799
|
source: exports.UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
800
800
|
reviewed_by_id: z.string(),
|
|
801
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
801
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-10T14:12:55.081Z").transform(v => new Date(v)),
|
|
802
802
|
type: z.literal("string"),
|
|
803
803
|
value: z.string(),
|
|
804
804
|
}).transform((v) => {
|
|
@@ -845,7 +845,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
845
845
|
updated_by_id: z.string().optional(),
|
|
846
846
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
847
847
|
.optional(),
|
|
848
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
848
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-10T14:12:37.936Z").transform(v => new Date(v)),
|
|
849
849
|
}).transform((v) => {
|
|
850
850
|
return (0, primitives_js_1.remap)(v, {
|
|
851
851
|
"_id": "id",
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.string().optional(),
|
|
96
96
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
97
97
|
.optional(),
|
|
98
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-10T14:12:37.936Z").transform(v => new Date(v)),
|
|
99
99
|
}).transform((v) => {
|
|
100
100
|
return (0, primitives_js_1.remap)(v, {
|
|
101
101
|
"_id": "id",
|
|
@@ -80,7 +80,7 @@ function updateDatasourceRequestToJSON(updateDatasourceRequest) {
|
|
|
80
80
|
exports.UpdateDatasourceStatus$inboundSchema = z.nativeEnum(exports.UpdateDatasourceStatus);
|
|
81
81
|
/** @internal */
|
|
82
82
|
exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
83
|
-
_id: z.string().default("
|
|
83
|
+
_id: z.string().default("01KNVVT6JD90HCSTYN0QDNQZ4W"),
|
|
84
84
|
display_name: z.string(),
|
|
85
85
|
description: z.string().optional(),
|
|
86
86
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|