@orq-ai/node 4.10.0-rc.67 → 4.10.0-rc.69
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_01KT3VVXP7DJW8VM9ZV9MTW5DN"),
|
|
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("01KT3VVXP6GWMXPX9KWY32TQC0"),
|
|
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_01KT3VVXP5SY3YDPRMG92322XZ"),
|
|
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_01KT3VVXP3ZXD3D5TAJK917762"),
|
|
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_01KT3VVXP1EJCVVB4SKA919Q8W"),
|
|
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_01KT3VVXP01BHM78ABDM4TVA6W"),
|
|
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("01KT3VVXER0XAQ7Y5KPZ5V2YST"),
|
|
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("01KT3VVXG31KQK8K8K96AF0GRG"),
|
|
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-06-
|
|
748
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T09:50:34.400Z").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-06-
|
|
775
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T09:50:34.400Z").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-06-
|
|
801
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T09:50:34.399Z").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-06-
|
|
848
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T09:50:17.688Z").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-06-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T09:50:17.688Z").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("01KT3VVXSGRCFGB5NFH4ZVHQ26"),
|
|
84
84
|
display_name: z.string(),
|
|
85
85
|
description: z.string().optional(),
|
|
86
86
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|
|
@@ -520,8 +520,8 @@ exports.UpdateEvalResponseBodyEvalsResponse200ApplicationJson7Type$inboundSchema
|
|
|
520
520
|
exports.ResponseBodyTypescript$inboundSchema = z.object({
|
|
521
521
|
_id: z.string(),
|
|
522
522
|
description: z.string(),
|
|
523
|
-
created: z.string().default("2026-06-
|
|
524
|
-
updated: z.string().default("2026-06-
|
|
523
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
524
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
525
525
|
guardrail_config: z.nullable(z.union([
|
|
526
526
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
527
527
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyCategorical$inboundSchema),
|
|
@@ -602,8 +602,8 @@ exports.ResponseBodyRagasMetric$inboundSchema = z.nativeEnum(exports.ResponseBod
|
|
|
602
602
|
exports.ResponseBodyRagas$inboundSchema = z.object({
|
|
603
603
|
_id: z.string(),
|
|
604
604
|
description: z.string(),
|
|
605
|
-
created: z.string().default("2026-06-
|
|
606
|
-
updated: z.string().default("2026-06-
|
|
605
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
606
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
607
607
|
guardrail_config: z.nullable(z.union([
|
|
608
608
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
609
609
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONCategorical$inboundSchema),
|
|
@@ -956,8 +956,8 @@ function responseBodyFunctionParamsFromJSON(jsonString) {
|
|
|
956
956
|
exports.ResponseBodyFunction$inboundSchema = z.object({
|
|
957
957
|
_id: z.string(),
|
|
958
958
|
description: z.string(),
|
|
959
|
-
created: z.string().default("2026-06-
|
|
960
|
-
updated: z.string().default("2026-06-
|
|
959
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
960
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
961
961
|
guardrail_config: z.nullable(z.union([
|
|
962
962
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
963
963
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Categorical$inboundSchema),
|
|
@@ -1068,8 +1068,8 @@ exports.UpdateEvalResponseBodyEvalsResponseType$inboundSchema = z
|
|
|
1068
1068
|
exports.UpdateEvalResponseBodyPython$inboundSchema = z.object({
|
|
1069
1069
|
_id: z.string(),
|
|
1070
1070
|
description: z.string(),
|
|
1071
|
-
created: z.string().default("2026-06-
|
|
1072
|
-
updated: z.string().default("2026-06-
|
|
1071
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
1072
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
1073
1073
|
guardrail_config: z.nullable(z.union([
|
|
1074
1074
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
1075
1075
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseCategorical$inboundSchema),
|
|
@@ -1146,8 +1146,8 @@ exports.ResponseBodyMethod$inboundSchema = z.nativeEnum(exports.ResponseBodyMeth
|
|
|
1146
1146
|
exports.ResponseBodyHTTP$inboundSchema = z.object({
|
|
1147
1147
|
_id: z.string(),
|
|
1148
1148
|
description: z.string(),
|
|
1149
|
-
created: z.string().default("2026-06-
|
|
1150
|
-
updated: z.string().default("2026-06-
|
|
1149
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
1150
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
1151
1151
|
guardrail_config: z.nullable(z.union([
|
|
1152
1152
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
1153
1153
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsCategorical$inboundSchema),
|
|
@@ -1225,8 +1225,8 @@ exports.UpdateEvalResponseBodyType$inboundSchema = z.nativeEnum(exports.UpdateEv
|
|
|
1225
1225
|
exports.ResponseBodyJSON$inboundSchema = z.object({
|
|
1226
1226
|
_id: z.string(),
|
|
1227
1227
|
description: z.string(),
|
|
1228
|
-
created: z.string().default("2026-06-
|
|
1229
|
-
updated: z.string().default("2026-06-
|
|
1228
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
1229
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
1230
1230
|
guardrail_config: z.nullable(z.union([
|
|
1231
1231
|
z.lazy(() => exports.UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
1232
1232
|
z.lazy(() => exports.UpdateEvalGuardrailConfigCategorical$inboundSchema),
|
|
@@ -1388,8 +1388,8 @@ function updateEvalLLMJuryFromJSON(jsonString) {
|
|
|
1388
1388
|
exports.UpdateEvalLlm2$inboundSchema = z.object({
|
|
1389
1389
|
_id: z.string(),
|
|
1390
1390
|
description: z.string(),
|
|
1391
|
-
created: z.string().default("2026-06-
|
|
1392
|
-
updated: z.string().default("2026-06-
|
|
1391
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
1392
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
1393
1393
|
guardrail_config: z.nullable(z.union([
|
|
1394
1394
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema),
|
|
1395
1395
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMCategorical$inboundSchema),
|
|
@@ -1483,8 +1483,8 @@ function updateEvalLLMCategoricalLabelsFromJSON(jsonString) {
|
|
|
1483
1483
|
exports.UpdateEvalLlm1$inboundSchema = z.object({
|
|
1484
1484
|
_id: z.string(),
|
|
1485
1485
|
description: z.string(),
|
|
1486
|
-
created: z.string().default("2026-06-
|
|
1487
|
-
updated: z.string().default("2026-06-
|
|
1486
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
1487
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
1488
1488
|
guardrail_config: z.nullable(z.union([
|
|
1489
1489
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema),
|
|
1490
1490
|
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("01KT3VVXNMH8VWEPG92BN2D4Z6"),
|
|
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_01KT3VVXNDRHFDP91B2ZV9B4PC"),
|
|
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("01KT3VVXNBMH1K83TJ2NSGD1PF"),
|
|
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_01KT3VVXNAZ5AZATKXZZT18CP8"),
|
|
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_01KT3VVXN71VEDXA5WW38VWVS7"),
|
|
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_01KT3VVXN4JG3ZB3T235HJAGK0"),
|
|
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_01KT3VVXN2GE4BAJWA21KD5934"),
|
|
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.69",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
+
"./langchain": {
|
|
7
|
+
"import": "./langchain/index.mjs",
|
|
8
|
+
"require": "./langchain/index.js",
|
|
9
|
+
"types": "./langchain/index.d.mts"
|
|
10
|
+
},
|
|
6
11
|
".": {
|
|
7
12
|
"import": "./index.js",
|
|
8
13
|
"require": "./index.js",
|
|
9
14
|
"types": "./index.d.ts"
|
|
10
15
|
},
|
|
11
|
-
"./*": "./*"
|
|
12
|
-
"./langchain": {
|
|
13
|
-
"import": "./langchain/index.mjs",
|
|
14
|
-
"require": "./langchain/index.js",
|
|
15
|
-
"types": "./langchain/index.d.mts"
|
|
16
|
-
}
|
|
16
|
+
"./*": "./*"
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
19
19
|
"sideEffects": false,
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.10.0-rc.
|
|
61
|
+
sdkVersion: "4.10.0-rc.69",
|
|
62
62
|
genVersion: "2.892.5",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.10.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.10.0-rc.69 2.892.5 2.0 @orq-ai/node",
|
|
64
64
|
} 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_01kt3vvxasdvhss5g0733p8nsy"),
|
|
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-06-
|
|
141
|
+
"2026-06-02T09:50:17.688Z",
|
|
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-06-
|
|
2358
|
+
"2026-06-02T09:50:34.360Z",
|
|
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-06-
|
|
2403
|
+
"2026-06-02T09:50:34.360Z",
|
|
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-06-
|
|
2449
|
+
"2026-06-02T09:50:34.359Z",
|
|
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-06-
|
|
2532
|
+
"2026-06-02T09:50:17.688Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -409,7 +409,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
409
409
|
z.ZodTypeDef,
|
|
410
410
|
unknown
|
|
411
411
|
> = z.object({
|
|
412
|
-
_id: z.string().default("
|
|
412
|
+
_id: z.string().default("01KT3VVXSEB5ET2H5Y8Q684EPA"),
|
|
413
413
|
display_name: z.string(),
|
|
414
414
|
description: z.string().optional(),
|
|
415
415
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2128,8 +2128,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2128
2128
|
> = z.object({
|
|
2129
2129
|
_id: z.string(),
|
|
2130
2130
|
description: z.string(),
|
|
2131
|
-
created: z.string().default("2026-06-
|
|
2132
|
-
updated: z.string().default("2026-06-
|
|
2131
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
2132
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
2133
2133
|
guardrail_config: z.nullable(
|
|
2134
2134
|
z.union([
|
|
2135
2135
|
z.lazy(() =>
|
|
@@ -2314,8 +2314,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2314
2314
|
.object({
|
|
2315
2315
|
_id: z.string(),
|
|
2316
2316
|
description: z.string(),
|
|
2317
|
-
created: z.string().default("2026-06-
|
|
2318
|
-
updated: z.string().default("2026-06-
|
|
2317
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
2318
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
2319
2319
|
guardrail_config: z.nullable(
|
|
2320
2320
|
z.union([
|
|
2321
2321
|
z.lazy(() =>
|
|
@@ -3135,8 +3135,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3135
3135
|
> = z.object({
|
|
3136
3136
|
_id: z.string(),
|
|
3137
3137
|
description: z.string(),
|
|
3138
|
-
created: z.string().default("2026-06-
|
|
3139
|
-
updated: z.string().default("2026-06-
|
|
3138
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
3139
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
3140
3140
|
guardrail_config: z.nullable(
|
|
3141
3141
|
z.union([
|
|
3142
3142
|
z.lazy(() =>
|
|
@@ -3350,8 +3350,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3350
3350
|
> = z.object({
|
|
3351
3351
|
_id: z.string(),
|
|
3352
3352
|
description: z.string(),
|
|
3353
|
-
created: z.string().default("2026-06-
|
|
3354
|
-
updated: z.string().default("2026-06-
|
|
3353
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
3354
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
3355
3355
|
guardrail_config: z.nullable(
|
|
3356
3356
|
z.union([
|
|
3357
3357
|
z.lazy(() =>
|
|
@@ -3527,8 +3527,8 @@ export const CreateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3527
3527
|
> = z.object({
|
|
3528
3528
|
_id: z.string(),
|
|
3529
3529
|
description: z.string(),
|
|
3530
|
-
created: z.string().default("2026-06-
|
|
3531
|
-
updated: z.string().default("2026-06-
|
|
3530
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
3531
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
3532
3532
|
guardrail_config: z.nullable(
|
|
3533
3533
|
z.union([
|
|
3534
3534
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -3682,8 +3682,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
3682
3682
|
.object({
|
|
3683
3683
|
_id: z.string(),
|
|
3684
3684
|
description: z.string(),
|
|
3685
|
-
created: z.string().default("2026-06-
|
|
3686
|
-
updated: z.string().default("2026-06-
|
|
3685
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
3686
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
3687
3687
|
guardrail_config: z.nullable(
|
|
3688
3688
|
z.union([
|
|
3689
3689
|
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -4048,8 +4048,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4048
4048
|
> = z.object({
|
|
4049
4049
|
_id: z.string(),
|
|
4050
4050
|
description: z.string(),
|
|
4051
|
-
created: z.string().default("2026-06-
|
|
4052
|
-
updated: z.string().default("2026-06-
|
|
4051
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
4052
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
4053
4053
|
guardrail_config: z.nullable(
|
|
4054
4054
|
z.union([
|
|
4055
4055
|
z.lazy(() =>
|
|
@@ -4263,8 +4263,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4263
4263
|
> = z.object({
|
|
4264
4264
|
_id: z.string(),
|
|
4265
4265
|
description: z.string(),
|
|
4266
|
-
created: z.string().default("2026-06-
|
|
4267
|
-
updated: z.string().default("2026-06-
|
|
4266
|
+
created: z.string().default("2026-06-02T09:50:18.713Z"),
|
|
4267
|
+
updated: z.string().default("2026-06-02T09:50:18.714Z"),
|
|
4268
4268
|
guardrail_config: z.nullable(
|
|
4269
4269
|
z.union([
|
|
4270
4270
|
z.lazy(() =>
|
|
@@ -1898,7 +1898,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1898
1898
|
z.ZodTypeDef,
|
|
1899
1899
|
unknown
|
|
1900
1900
|
> = z.object({
|
|
1901
|
-
_id: z.string().default("
|
|
1901
|
+
_id: z.string().default("tool_01KT3VVXMTJKMTBV1J0RHA0TZM"),
|
|
1902
1902
|
path: z.string(),
|
|
1903
1903
|
key: z.string(),
|
|
1904
1904
|
display_name: z.string().optional(),
|
|
@@ -1995,7 +1995,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1995
1995
|
z.ZodTypeDef,
|
|
1996
1996
|
unknown
|
|
1997
1997
|
> = z.object({
|
|
1998
|
-
id: z.string().default("
|
|
1998
|
+
id: z.string().default("01KT3VVXMSEH33GZ98AXKDW1PN"),
|
|
1999
1999
|
name: z.string(),
|
|
2000
2000
|
description: z.string().optional(),
|
|
2001
2001
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2051,7 +2051,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2051
2051
|
z.ZodTypeDef,
|
|
2052
2052
|
unknown
|
|
2053
2053
|
> = z.object({
|
|
2054
|
-
_id: z.string().default("
|
|
2054
|
+
_id: z.string().default("tool_01KT3VVXMRBMP9MYNJRQVPERGN"),
|
|
2055
2055
|
path: z.string(),
|
|
2056
2056
|
key: z.string(),
|
|
2057
2057
|
display_name: z.string().optional(),
|
|
@@ -2237,7 +2237,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2237
2237
|
z.ZodTypeDef,
|
|
2238
2238
|
unknown
|
|
2239
2239
|
> = z.object({
|
|
2240
|
-
_id: z.string().default("
|
|
2240
|
+
_id: z.string().default("tool_01KT3VVXMPTRC5S6VC60JR3ARJ"),
|
|
2241
2241
|
path: z.string(),
|
|
2242
2242
|
key: z.string(),
|
|
2243
2243
|
display_name: z.string().optional(),
|
|
@@ -2330,7 +2330,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2330
2330
|
z.ZodTypeDef,
|
|
2331
2331
|
unknown
|
|
2332
2332
|
> = z.object({
|
|
2333
|
-
_id: z.string().default("
|
|
2333
|
+
_id: z.string().default("tool_01KT3VVXMMQK241ET911E2K83F"),
|
|
2334
2334
|
path: z.string(),
|
|
2335
2335
|
key: z.string(),
|
|
2336
2336
|
display_name: z.string().optional(),
|
|
@@ -2431,7 +2431,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2431
2431
|
z.ZodTypeDef,
|
|
2432
2432
|
unknown
|
|
2433
2433
|
> = z.object({
|
|
2434
|
-
_id: z.string().default("
|
|
2434
|
+
_id: z.string().default("tool_01KT3VVXMJTTA884A3FCAF2SMF"),
|
|
2435
2435
|
path: z.string(),
|
|
2436
2436
|
key: z.string(),
|
|
2437
2437
|
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_01KT3VVXM6PJQ2TSY91X3FCNYM"),
|
|
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("01KT3VVXM54PN7191HV1KVYQ0B"),
|
|
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_01KT3VVXM38RXFJVMJMJ1E7NGA"),
|
|
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_01KT3VVXM1ZFFF8HJGY9EH1EFZ"),
|
|
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_01KT3VVXKZT588SC2A4EDD8N75"),
|
|
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_01KT3VVXKYF6D093YX4VZTGAS4"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|