@orq-ai/node 4.10.0-rc.25 → 4.10.0-rc.26
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.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.js +16 -16
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- 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/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.js +16 -16
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.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 +16 -16
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- 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/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- 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/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 +16 -16
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -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_01KS4YSXPKEAFH6CGQGRSV8V7W"),
|
|
191
191
|
path: z.string(),
|
|
192
192
|
key: z.string(),
|
|
193
193
|
display_name: z.string().optional(),
|
|
@@ -240,7 +240,7 @@ function retrieveToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
240
240
|
}
|
|
241
241
|
/** @internal */
|
|
242
242
|
exports.RetrieveToolResponseBodyTools$inboundSchema = z.object({
|
|
243
|
-
id: z.string().default("
|
|
243
|
+
id: z.string().default("01KS4YSXPK0AFWRMQS9GT3S1BV"),
|
|
244
244
|
name: z.string(),
|
|
245
245
|
description: z.string().optional(),
|
|
246
246
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -270,7 +270,7 @@ function retrieveToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
270
270
|
}
|
|
271
271
|
/** @internal */
|
|
272
272
|
exports.RetrieveToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
273
|
-
_id: z.string().default("
|
|
273
|
+
_id: z.string().default("tool_01KS4YSXPJZDVAXC3GWWXQCBXA"),
|
|
274
274
|
path: z.string(),
|
|
275
275
|
key: z.string(),
|
|
276
276
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01KS4YSXPGJ7MZ3WQWC156FYZJ"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -407,7 +407,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
407
407
|
}
|
|
408
408
|
/** @internal */
|
|
409
409
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
410
|
-
_id: z.string().default("
|
|
410
|
+
_id: z.string().default("tool_01KS4YSXPFR7QM2ZMFEQ17SH8C"),
|
|
411
411
|
path: z.string(),
|
|
412
412
|
key: z.string(),
|
|
413
413
|
display_name: z.string().optional(),
|
|
@@ -461,7 +461,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
461
461
|
}
|
|
462
462
|
/** @internal */
|
|
463
463
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
464
|
-
_id: z.string().default("
|
|
464
|
+
_id: z.string().default("tool_01KS4YSXPE52NBHE6QHM8QJKHH"),
|
|
465
465
|
path: z.string(),
|
|
466
466
|
key: z.string(),
|
|
467
467
|
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("01KS4YSXBZTYM4X1152BG2PFET"),
|
|
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("01KS4YSXDC5H5NSQFM1F0E56SG"),
|
|
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-05-
|
|
748
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-21T09:45:27.160Z").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-05-
|
|
775
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-21T09:45:27.159Z").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-05-
|
|
801
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-21T09:45:27.159Z").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-05-
|
|
848
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-21T09:45:12.917Z").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-05-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-21T09:45:12.917Z").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("01KS4YSXSDF1JAG6W35849C4B2"),
|
|
84
84
|
display_name: z.string(),
|
|
85
85
|
description: z.string().optional(),
|
|
86
86
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|
|
@@ -526,8 +526,8 @@ exports.UpdateEvalResponseBodyEvalsResponse200ApplicationJson7Type$inboundSchema
|
|
|
526
526
|
exports.ResponseBodyTypescript$inboundSchema = z.object({
|
|
527
527
|
_id: z.string(),
|
|
528
528
|
description: z.string(),
|
|
529
|
-
created: z.string().default("2026-05-
|
|
530
|
-
updated: z.string().default("2026-05-
|
|
529
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
530
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
531
531
|
guardrail_config: z.nullable(z.union([
|
|
532
532
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
533
533
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyCategorical$inboundSchema),
|
|
@@ -611,8 +611,8 @@ exports.ResponseBodyRagasMetric$inboundSchema = z.nativeEnum(exports.ResponseBod
|
|
|
611
611
|
exports.ResponseBodyRagas$inboundSchema = z.object({
|
|
612
612
|
_id: z.string(),
|
|
613
613
|
description: z.string(),
|
|
614
|
-
created: z.string().default("2026-05-
|
|
615
|
-
updated: z.string().default("2026-05-
|
|
614
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
615
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
616
616
|
guardrail_config: z.nullable(z.union([
|
|
617
617
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
618
618
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONCategorical$inboundSchema),
|
|
@@ -968,8 +968,8 @@ function responseBodyFunctionParamsFromJSON(jsonString) {
|
|
|
968
968
|
exports.ResponseBodyFunction$inboundSchema = z.object({
|
|
969
969
|
_id: z.string(),
|
|
970
970
|
description: z.string(),
|
|
971
|
-
created: z.string().default("2026-05-
|
|
972
|
-
updated: z.string().default("2026-05-
|
|
971
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
972
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
973
973
|
guardrail_config: z.nullable(z.union([
|
|
974
974
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
975
975
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Categorical$inboundSchema),
|
|
@@ -1083,8 +1083,8 @@ exports.UpdateEvalResponseBodyEvalsResponseType$inboundSchema = z
|
|
|
1083
1083
|
exports.UpdateEvalResponseBodyPython$inboundSchema = z.object({
|
|
1084
1084
|
_id: z.string(),
|
|
1085
1085
|
description: z.string(),
|
|
1086
|
-
created: z.string().default("2026-05-
|
|
1087
|
-
updated: z.string().default("2026-05-
|
|
1086
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1087
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1088
1088
|
guardrail_config: z.nullable(z.union([
|
|
1089
1089
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
1090
1090
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseCategorical$inboundSchema),
|
|
@@ -1164,8 +1164,8 @@ exports.UpdateEvalResponseBodyMethod$inboundSchema = z.nativeEnum(exports.Update
|
|
|
1164
1164
|
exports.UpdateEvalResponseBodyHTTP$inboundSchema = z.object({
|
|
1165
1165
|
_id: z.string(),
|
|
1166
1166
|
description: z.string(),
|
|
1167
|
-
created: z.string().default("2026-05-
|
|
1168
|
-
updated: z.string().default("2026-05-
|
|
1167
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1168
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1169
1169
|
guardrail_config: z.nullable(z.union([
|
|
1170
1170
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
1171
1171
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsCategorical$inboundSchema),
|
|
@@ -1246,8 +1246,8 @@ exports.UpdateEvalResponseBodyType$inboundSchema = z.nativeEnum(exports.UpdateEv
|
|
|
1246
1246
|
exports.UpdateEvalResponseBodyJSON$inboundSchema = z.object({
|
|
1247
1247
|
_id: z.string(),
|
|
1248
1248
|
description: z.string(),
|
|
1249
|
-
created: z.string().default("2026-05-
|
|
1250
|
-
updated: z.string().default("2026-05-
|
|
1249
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1250
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1251
1251
|
guardrail_config: z.nullable(z.union([
|
|
1252
1252
|
z.lazy(() => exports.UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
1253
1253
|
z.lazy(() => exports.UpdateEvalGuardrailConfigCategorical$inboundSchema),
|
|
@@ -1412,8 +1412,8 @@ function updateEvalLLMJuryFromJSON(jsonString) {
|
|
|
1412
1412
|
exports.UpdateEvalLlm2$inboundSchema = z.object({
|
|
1413
1413
|
_id: z.string(),
|
|
1414
1414
|
description: z.string(),
|
|
1415
|
-
created: z.string().default("2026-05-
|
|
1416
|
-
updated: z.string().default("2026-05-
|
|
1415
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1416
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1417
1417
|
guardrail_config: z.nullable(z.union([
|
|
1418
1418
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema),
|
|
1419
1419
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMCategorical$inboundSchema),
|
|
@@ -1510,8 +1510,8 @@ function updateEvalLLMCategoricalLabelsFromJSON(jsonString) {
|
|
|
1510
1510
|
exports.UpdateEvalLlm1$inboundSchema = z.object({
|
|
1511
1511
|
_id: z.string(),
|
|
1512
1512
|
description: z.string(),
|
|
1513
|
-
created: z.string().default("2026-05-
|
|
1514
|
-
updated: z.string().default("2026-05-
|
|
1513
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1514
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
1515
1515
|
guardrail_config: z.nullable(z.union([
|
|
1516
1516
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema),
|
|
1517
1517
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Categorical$inboundSchema),
|
|
@@ -371,7 +371,7 @@ function updateToolRequestBodyToolsSchemaToJSON(updateToolRequestBodyToolsSchema
|
|
|
371
371
|
}
|
|
372
372
|
/** @internal */
|
|
373
373
|
exports.RequestBodyTools$outboundSchema = z.object({
|
|
374
|
-
id: z.string().default("
|
|
374
|
+
id: z.string().default("01KS4YSXP6SV4CEB79TW22700V"),
|
|
375
375
|
name: z.string(),
|
|
376
376
|
description: z.string().optional(),
|
|
377
377
|
schema: z.lazy(() => exports.UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -666,7 +666,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
666
666
|
}
|
|
667
667
|
/** @internal */
|
|
668
668
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
669
|
-
_id: z.string().default("
|
|
669
|
+
_id: z.string().default("tool_01KS4YSXNTRC34QNEJ3TCY5AQJ"),
|
|
670
670
|
path: z.string(),
|
|
671
671
|
key: z.string(),
|
|
672
672
|
display_name: z.string().optional(),
|
|
@@ -719,7 +719,7 @@ function updateToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
719
719
|
}
|
|
720
720
|
/** @internal */
|
|
721
721
|
exports.UpdateToolResponseBodyTools$inboundSchema = z.object({
|
|
722
|
-
id: z.string().default("
|
|
722
|
+
id: z.string().default("01KS4YSXNSAD0Q79MWR33E2QSP"),
|
|
723
723
|
name: z.string(),
|
|
724
724
|
description: z.string().optional(),
|
|
725
725
|
schema: z.lazy(() => exports.UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -749,7 +749,7 @@ function updateToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
749
749
|
}
|
|
750
750
|
/** @internal */
|
|
751
751
|
exports.UpdateToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
752
|
-
_id: z.string().default("
|
|
752
|
+
_id: z.string().default("tool_01KS4YSXNR8F25HTMQNVDM46N8"),
|
|
753
753
|
path: z.string(),
|
|
754
754
|
key: z.string(),
|
|
755
755
|
display_name: z.string().optional(),
|
|
@@ -836,7 +836,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
836
836
|
}
|
|
837
837
|
/** @internal */
|
|
838
838
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
839
|
-
_id: z.string().default("
|
|
839
|
+
_id: z.string().default("tool_01KS4YSXNQZYXG52PT9Z41HYEK"),
|
|
840
840
|
path: z.string(),
|
|
841
841
|
key: z.string(),
|
|
842
842
|
display_name: z.string().optional(),
|
|
@@ -886,7 +886,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
886
886
|
}
|
|
887
887
|
/** @internal */
|
|
888
888
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
889
|
-
_id: z.string().default("
|
|
889
|
+
_id: z.string().default("tool_01KS4YSXNPA2N52BDZBGCSBBHE"),
|
|
890
890
|
path: z.string(),
|
|
891
891
|
key: z.string(),
|
|
892
892
|
display_name: z.string().optional(),
|
|
@@ -940,7 +940,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
940
940
|
}
|
|
941
941
|
/** @internal */
|
|
942
942
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
943
|
-
_id: z.string().default("
|
|
943
|
+
_id: z.string().default("tool_01KS4YSXNNGFVC1XR8S6JTR3PX"),
|
|
944
944
|
path: z.string(),
|
|
945
945
|
key: z.string(),
|
|
946
946
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.10.0-rc.
|
|
3
|
+
"version": "4.10.0-rc.26",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
-
"./*": "./*",
|
|
7
6
|
"./langchain": {
|
|
8
|
-
"types": "./langchain/index.d.mts",
|
|
9
7
|
"import": "./langchain/index.mjs",
|
|
10
|
-
"require": "./langchain/index.js"
|
|
8
|
+
"require": "./langchain/index.js",
|
|
9
|
+
"types": "./langchain/index.d.mts"
|
|
11
10
|
},
|
|
12
11
|
".": {
|
|
12
|
+
"import": "./index.js",
|
|
13
13
|
"require": "./index.js",
|
|
14
|
-
"types": "./index.d.ts"
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
"types": "./index.d.ts"
|
|
15
|
+
},
|
|
16
|
+
"./*": "./*"
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
19
19
|
"sideEffects": false,
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "4.10.0-rc.
|
|
71
|
+
sdkVersion: "4.10.0-rc.26",
|
|
72
72
|
genVersion: "2.884.11",
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 4.10.0-rc.
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 4.10.0-rc.26 2.884.11 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01ks4ysx8k2vhzbcj66d23y7q1"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-05-
|
|
141
|
+
"2026-05-21T09:45:12.917Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-05-
|
|
2358
|
+
"2026-05-21T09:45:27.139Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-05-
|
|
2403
|
+
"2026-05-21T09:45:27.138Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-05-
|
|
2449
|
+
"2026-05-21T09:45:27.138Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-05-
|
|
2532
|
+
"2026-05-21T09:45:12.917Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KS4YSXS3WHNJDEDAEGT3RJGC"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2786,8 +2786,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2786
2786
|
> = z.object({
|
|
2787
2787
|
_id: z.string(),
|
|
2788
2788
|
description: z.string(),
|
|
2789
|
-
created: z.string().default("2026-05-
|
|
2790
|
-
updated: z.string().default("2026-05-
|
|
2789
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
2790
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
2791
2791
|
guardrail_config: z.nullable(
|
|
2792
2792
|
z.union([
|
|
2793
2793
|
z.lazy(() =>
|
|
@@ -2975,8 +2975,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2975
2975
|
.object({
|
|
2976
2976
|
_id: z.string(),
|
|
2977
2977
|
description: z.string(),
|
|
2978
|
-
created: z.string().default("2026-05-
|
|
2979
|
-
updated: z.string().default("2026-05-
|
|
2978
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
2979
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
2980
2980
|
guardrail_config: z.nullable(
|
|
2981
2981
|
z.union([
|
|
2982
2982
|
z.lazy(() =>
|
|
@@ -3799,8 +3799,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3799
3799
|
> = z.object({
|
|
3800
3800
|
_id: z.string(),
|
|
3801
3801
|
description: z.string(),
|
|
3802
|
-
created: z.string().default("2026-05-
|
|
3803
|
-
updated: z.string().default("2026-05-
|
|
3802
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
3803
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
3804
3804
|
guardrail_config: z.nullable(
|
|
3805
3805
|
z.union([
|
|
3806
3806
|
z.lazy(() =>
|
|
@@ -4018,8 +4018,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
4018
4018
|
> = z.object({
|
|
4019
4019
|
_id: z.string(),
|
|
4020
4020
|
description: z.string(),
|
|
4021
|
-
created: z.string().default("2026-05-
|
|
4022
|
-
updated: z.string().default("2026-05-
|
|
4021
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4022
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4023
4023
|
guardrail_config: z.nullable(
|
|
4024
4024
|
z.union([
|
|
4025
4025
|
z.lazy(() =>
|
|
@@ -4200,8 +4200,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
4200
4200
|
> = z.object({
|
|
4201
4201
|
_id: z.string(),
|
|
4202
4202
|
description: z.string(),
|
|
4203
|
-
created: z.string().default("2026-05-
|
|
4204
|
-
updated: z.string().default("2026-05-
|
|
4203
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4204
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4205
4205
|
guardrail_config: z.nullable(
|
|
4206
4206
|
z.union([
|
|
4207
4207
|
z.lazy(() =>
|
|
@@ -4377,8 +4377,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
4377
4377
|
> = z.object({
|
|
4378
4378
|
_id: z.string(),
|
|
4379
4379
|
description: z.string(),
|
|
4380
|
-
created: z.string().default("2026-05-
|
|
4381
|
-
updated: z.string().default("2026-05-
|
|
4380
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4381
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4382
4382
|
guardrail_config: z.nullable(
|
|
4383
4383
|
z.union([
|
|
4384
4384
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -4748,8 +4748,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4748
4748
|
> = z.object({
|
|
4749
4749
|
_id: z.string(),
|
|
4750
4750
|
description: z.string(),
|
|
4751
|
-
created: z.string().default("2026-05-
|
|
4752
|
-
updated: z.string().default("2026-05-
|
|
4751
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4752
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4753
4753
|
guardrail_config: z.nullable(
|
|
4754
4754
|
z.union([
|
|
4755
4755
|
z.lazy(() =>
|
|
@@ -4966,8 +4966,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4966
4966
|
> = z.object({
|
|
4967
4967
|
_id: z.string(),
|
|
4968
4968
|
description: z.string(),
|
|
4969
|
-
created: z.string().default("2026-05-
|
|
4970
|
-
updated: z.string().default("2026-05-
|
|
4969
|
+
created: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4970
|
+
updated: z.string().default("2026-05-21T09:45:13.998Z"),
|
|
4971
4971
|
guardrail_config: z.nullable(
|
|
4972
4972
|
z.union([
|
|
4973
4973
|
z.lazy(() =>
|
|
@@ -1902,7 +1902,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1902
1902
|
z.ZodTypeDef,
|
|
1903
1903
|
unknown
|
|
1904
1904
|
> = z.object({
|
|
1905
|
-
_id: z.string().default("
|
|
1905
|
+
_id: z.string().default("tool_01KS4YSXNGSXYWWT0SZ1BNTFDE"),
|
|
1906
1906
|
path: z.string(),
|
|
1907
1907
|
key: z.string(),
|
|
1908
1908
|
display_name: z.string().optional(),
|
|
@@ -1999,7 +1999,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1999
1999
|
z.ZodTypeDef,
|
|
2000
2000
|
unknown
|
|
2001
2001
|
> = z.object({
|
|
2002
|
-
id: z.string().default("
|
|
2002
|
+
id: z.string().default("01KS4YSXNFRZ98NK63B0PZZ0MF"),
|
|
2003
2003
|
name: z.string(),
|
|
2004
2004
|
description: z.string().optional(),
|
|
2005
2005
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2055,7 +2055,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2055
2055
|
z.ZodTypeDef,
|
|
2056
2056
|
unknown
|
|
2057
2057
|
> = z.object({
|
|
2058
|
-
_id: z.string().default("
|
|
2058
|
+
_id: z.string().default("tool_01KS4YSXNEQMA9F7XY6MPJQJFV"),
|
|
2059
2059
|
path: z.string(),
|
|
2060
2060
|
key: z.string(),
|
|
2061
2061
|
display_name: z.string().optional(),
|
|
@@ -2241,7 +2241,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2241
2241
|
z.ZodTypeDef,
|
|
2242
2242
|
unknown
|
|
2243
2243
|
> = z.object({
|
|
2244
|
-
_id: z.string().default("
|
|
2244
|
+
_id: z.string().default("tool_01KS4YSXNDVSQAXC68TETNH2X8"),
|
|
2245
2245
|
path: z.string(),
|
|
2246
2246
|
key: z.string(),
|
|
2247
2247
|
display_name: z.string().optional(),
|
|
@@ -2334,7 +2334,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2334
2334
|
z.ZodTypeDef,
|
|
2335
2335
|
unknown
|
|
2336
2336
|
> = z.object({
|
|
2337
|
-
_id: z.string().default("
|
|
2337
|
+
_id: z.string().default("tool_01KS4YSXNCA9WAQH3G3J9CFQD8"),
|
|
2338
2338
|
path: z.string(),
|
|
2339
2339
|
key: z.string(),
|
|
2340
2340
|
display_name: z.string().optional(),
|
|
@@ -2435,7 +2435,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2435
2435
|
z.ZodTypeDef,
|
|
2436
2436
|
unknown
|
|
2437
2437
|
> = z.object({
|
|
2438
|
-
_id: z.string().default("
|
|
2438
|
+
_id: z.string().default("tool_01KS4YSXNBP0GA1EHD816A8FHJ"),
|
|
2439
2439
|
path: z.string(),
|
|
2440
2440
|
key: z.string(),
|
|
2441
2441
|
display_name: z.string().optional(),
|
|
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
767
767
|
z.ZodTypeDef,
|
|
768
768
|
unknown
|
|
769
769
|
> = z.object({
|
|
770
|
-
_id: z.string().default("
|
|
770
|
+
_id: z.string().default("tool_01KS4YSXN33CVMD1GJ0TKFJV84"),
|
|
771
771
|
path: z.string(),
|
|
772
772
|
key: z.string(),
|
|
773
773
|
display_name: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
864
864
|
z.ZodTypeDef,
|
|
865
865
|
unknown
|
|
866
866
|
> = z.object({
|
|
867
|
-
id: z.string().default("
|
|
867
|
+
id: z.string().default("01KS4YSXN26B5FGYW9MQX7E85W"),
|
|
868
868
|
name: z.string(),
|
|
869
869
|
description: z.string().optional(),
|
|
870
870
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KS4YSXN1JFD0ZJKWCGPDD1WZ"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
z.ZodTypeDef,
|
|
1103
1103
|
unknown
|
|
1104
1104
|
> = z.object({
|
|
1105
|
-
_id: z.string().default("
|
|
1105
|
+
_id: z.string().default("tool_01KS4YSXMS04MG12PF7DYR1FB8"),
|
|
1106
1106
|
path: z.string(),
|
|
1107
1107
|
key: z.string(),
|
|
1108
1108
|
display_name: z.string().optional(),
|
|
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1195
1195
|
z.ZodTypeDef,
|
|
1196
1196
|
unknown
|
|
1197
1197
|
> = z.object({
|
|
1198
|
-
_id: z.string().default("
|
|
1198
|
+
_id: z.string().default("tool_01KS4YSXMR2Y4TFAXVC60Y4P9T"),
|
|
1199
1199
|
path: z.string(),
|
|
1200
1200
|
key: z.string(),
|
|
1201
1201
|
display_name: z.string().optional(),
|
|
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1297
1297
|
z.ZodTypeDef,
|
|
1298
1298
|
unknown
|
|
1299
1299
|
> = z.object({
|
|
1300
|
-
_id: z.string().default("
|
|
1300
|
+
_id: z.string().default("tool_01KS4YSXMQFE66ENFN5JQ0TCVW"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|