@orq-ai/node 4.10.31 → 4.10.33
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 +3 -3
- package/lib/config.js +3 -3
- 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 +3 -3
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +10 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/createskillrequest.ts +88 -6
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +17 -6
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +3 -3
- 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
- package/src/sdk/feedback.ts +2 -2
|
@@ -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_01KVXM3FV75GY9ZS4HJX45426A"),
|
|
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("01KVXM3FV6EP37N87X42B77ZPF"),
|
|
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_01KVXM3FV422D5YDNH2F28WJY2"),
|
|
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_01KVXM3FV0SVG9077PJTFMBRB6"),
|
|
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_01KVXM3FTXEV5CSKKAKBWXKXKK"),
|
|
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_01KVXM3FTT8CGGPNZFSWGWK2EJ"),
|
|
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("01KVXM3FGN4JZ27V0RASJNBG23"),
|
|
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("01KVXM3FJ6YTF31RNW8HXQT7HE"),
|
|
967
967
|
name: z.string(),
|
|
968
968
|
description: z.string().optional(),
|
|
969
969
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -752,7 +752,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
752
752
|
source: exports.UpdateDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
753
753
|
.default("orq"),
|
|
754
754
|
reviewed_by_id: z.string(),
|
|
755
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
755
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-24T20:10:50.861Z").transform(v => new Date(v)),
|
|
756
756
|
type: z.literal("string_array"),
|
|
757
757
|
values: z.array(z.string()),
|
|
758
758
|
}).transform((v) => {
|
|
@@ -779,7 +779,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
779
779
|
human_review_id: z.string(),
|
|
780
780
|
source: exports.UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
781
781
|
reviewed_by_id: z.string(),
|
|
782
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
782
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-24T20:10:50.860Z").transform(v => new Date(v)),
|
|
783
783
|
type: z.literal("number"),
|
|
784
784
|
value: z.number(),
|
|
785
785
|
}).transform((v) => {
|
|
@@ -805,7 +805,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
805
805
|
human_review_id: z.string(),
|
|
806
806
|
source: exports.UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
807
807
|
reviewed_by_id: z.string(),
|
|
808
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
808
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-24T20:10:50.859Z").transform(v => new Date(v)),
|
|
809
809
|
type: z.literal("string"),
|
|
810
810
|
value: z.string(),
|
|
811
811
|
}).transform((v) => {
|
|
@@ -852,7 +852,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
852
852
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
853
853
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
854
854
|
.optional(),
|
|
855
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
855
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-24T20:10:21.357Z").transform(v => new Date(v)),
|
|
856
856
|
}).transform((v) => {
|
|
857
857
|
return (0, primitives_js_1.remap)(v, {
|
|
858
858
|
"_id": "id",
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.nullable(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-24T20:10:21.357Z").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("01KVXM3FZB76PNTPM493NRPCGQ"),
|
|
84
84
|
display_name: z.string(),
|
|
85
85
|
description: z.nullable(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-06-
|
|
530
|
-
updated: z.string().default("2026-06-
|
|
529
|
+
created: z.string().default("2026-06-24T20:10:23.619Z"),
|
|
530
|
+
updated: z.string().default("2026-06-24T20:10:23.620Z"),
|
|
531
531
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
532
532
|
guardrail_config: z.nullable(z.union([
|
|
533
533
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
@@ -613,8 +613,8 @@ exports.ResponseBodyRagasMetric$inboundSchema = z.nativeEnum(exports.ResponseBod
|
|
|
613
613
|
exports.ResponseBodyRagas$inboundSchema = z.object({
|
|
614
614
|
_id: z.string(),
|
|
615
615
|
description: z.string(),
|
|
616
|
-
created: z.string().default("2026-06-
|
|
617
|
-
updated: z.string().default("2026-06-
|
|
616
|
+
created: z.string().default("2026-06-24T20:10:23.619Z"),
|
|
617
|
+
updated: z.string().default("2026-06-24T20:10:23.620Z"),
|
|
618
618
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
619
619
|
guardrail_config: z.nullable(z.union([
|
|
620
620
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
@@ -972,8 +972,8 @@ function responseBodyFunctionParamsFromJSON(jsonString) {
|
|
|
972
972
|
exports.ResponseBodyFunction$inboundSchema = z.object({
|
|
973
973
|
_id: z.string(),
|
|
974
974
|
description: z.string(),
|
|
975
|
-
created: z.string().default("2026-06-
|
|
976
|
-
updated: z.string().default("2026-06-
|
|
975
|
+
created: z.string().default("2026-06-24T20:10:23.619Z"),
|
|
976
|
+
updated: z.string().default("2026-06-24T20:10:23.620Z"),
|
|
977
977
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
978
978
|
guardrail_config: z.nullable(z.union([
|
|
979
979
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -1089,8 +1089,8 @@ exports.UpdateEvalResponseBodyEvalsResponseType$inboundSchema = z
|
|
|
1089
1089
|
exports.UpdateEvalResponseBodyPython$inboundSchema = z.object({
|
|
1090
1090
|
_id: z.string(),
|
|
1091
1091
|
description: z.string(),
|
|
1092
|
-
created: z.string().default("2026-06-
|
|
1093
|
-
updated: z.string().default("2026-06-
|
|
1092
|
+
created: z.string().default("2026-06-24T20:10:23.619Z"),
|
|
1093
|
+
updated: z.string().default("2026-06-24T20:10:23.620Z"),
|
|
1094
1094
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1095
1095
|
guardrail_config: z.nullable(z.union([
|
|
1096
1096
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -1172,8 +1172,8 @@ exports.ResponseBodyMethod$inboundSchema = z.nativeEnum(exports.ResponseBodyMeth
|
|
|
1172
1172
|
exports.ResponseBodyHTTP$inboundSchema = z.object({
|
|
1173
1173
|
_id: z.string(),
|
|
1174
1174
|
description: z.string(),
|
|
1175
|
-
created: z.string().default("2026-06-
|
|
1176
|
-
updated: z.string().default("2026-06-
|
|
1175
|
+
created: z.string().default("2026-06-24T20:10:23.619Z"),
|
|
1176
|
+
updated: z.string().default("2026-06-24T20:10:23.620Z"),
|
|
1177
1177
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1178
1178
|
guardrail_config: z.nullable(z.union([
|
|
1179
1179
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -1256,8 +1256,8 @@ exports.UpdateEvalResponseBodyType$inboundSchema = z.nativeEnum(exports.UpdateEv
|
|
|
1256
1256
|
exports.ResponseBodyJSON$inboundSchema = z.object({
|
|
1257
1257
|
_id: z.string(),
|
|
1258
1258
|
description: z.string(),
|
|
1259
|
-
created: z.string().default("2026-06-
|
|
1260
|
-
updated: z.string().default("2026-06-
|
|
1259
|
+
created: z.string().default("2026-06-24T20:10:23.619Z"),
|
|
1260
|
+
updated: z.string().default("2026-06-24T20:10:23.620Z"),
|
|
1261
1261
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1262
1262
|
guardrail_config: z.nullable(z.union([
|
|
1263
1263
|
z.lazy(() => exports.UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
@@ -1424,8 +1424,8 @@ function updateEvalLLMJuryFromJSON(jsonString) {
|
|
|
1424
1424
|
exports.UpdateEvalLlm2$inboundSchema = z.object({
|
|
1425
1425
|
_id: z.string(),
|
|
1426
1426
|
description: z.string(),
|
|
1427
|
-
created: z.string().default("2026-06-
|
|
1428
|
-
updated: z.string().default("2026-06-
|
|
1427
|
+
created: z.string().default("2026-06-24T20:10:23.619Z"),
|
|
1428
|
+
updated: z.string().default("2026-06-24T20:10:23.620Z"),
|
|
1429
1429
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1430
1430
|
guardrail_config: z.nullable(z.union([
|
|
1431
1431
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema),
|
|
@@ -1524,8 +1524,8 @@ function updateEvalLLMCategoricalLabelsFromJSON(jsonString) {
|
|
|
1524
1524
|
exports.UpdateEvalLlm1$inboundSchema = z.object({
|
|
1525
1525
|
_id: z.string(),
|
|
1526
1526
|
description: z.string(),
|
|
1527
|
-
created: z.string().default("2026-06-
|
|
1528
|
-
updated: z.string().default("2026-06-
|
|
1527
|
+
created: z.string().default("2026-06-24T20:10:23.619Z"),
|
|
1528
|
+
updated: z.string().default("2026-06-24T20:10:23.620Z"),
|
|
1529
1529
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1530
1530
|
guardrail_config: z.nullable(z.union([
|
|
1531
1531
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$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("01KVXM3FT4TV7D1FE8XT9YF22J"),
|
|
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_01KVXM3FSQGYGQW0TY06JMZPKC"),
|
|
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("01KVXM3FSPRVXYDKGBS8DDC9SG"),
|
|
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_01KVXM3FSKE8YSHEJ5CCWD1VP3"),
|
|
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_01KVXM3FSFY64BV4QA1WK9ZQT2"),
|
|
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_01KVXM3FSCY0NDYG9E0M7SK6K6"),
|
|
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_01KVXM3FSAQ8DA1DWN94ZCTWVF"),
|
|
944
944
|
path: z.string(),
|
|
945
945
|
key: z.string(),
|
|
946
946
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.33",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
|
+
"types": "./index.d.ts",
|
|
7
8
|
"import": "./index.js",
|
|
8
|
-
"require": "./index.js"
|
|
9
|
-
"types": "./index.d.ts"
|
|
9
|
+
"require": "./index.js"
|
|
10
10
|
},
|
|
11
11
|
"./*": "./*",
|
|
12
12
|
"./langchain": {
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
RequestTimeoutError,
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import * as errors from "../models/errors/index.js";
|
|
21
22
|
import { OrqError } from "../models/errors/orqerror.js";
|
|
22
23
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
23
24
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
@@ -38,6 +39,7 @@ export function datasetsListDatapoints(
|
|
|
38
39
|
): APIPromise<
|
|
39
40
|
Result<
|
|
40
41
|
operations.ListDatasetDatapointsResponseBody,
|
|
42
|
+
| errors.HonoApiError
|
|
41
43
|
| OrqError
|
|
42
44
|
| ResponseValidationError
|
|
43
45
|
| ConnectionError
|
|
@@ -63,6 +65,7 @@ async function $do(
|
|
|
63
65
|
[
|
|
64
66
|
Result<
|
|
65
67
|
operations.ListDatasetDatapointsResponseBody,
|
|
68
|
+
| errors.HonoApiError
|
|
66
69
|
| OrqError
|
|
67
70
|
| ResponseValidationError
|
|
68
71
|
| ConnectionError
|
|
@@ -152,8 +155,13 @@ async function $do(
|
|
|
152
155
|
}
|
|
153
156
|
const response = doResult.value;
|
|
154
157
|
|
|
158
|
+
const responseFields = {
|
|
159
|
+
HttpMeta: { Response: response, Request: req },
|
|
160
|
+
};
|
|
161
|
+
|
|
155
162
|
const [result] = await M.match<
|
|
156
163
|
operations.ListDatasetDatapointsResponseBody,
|
|
164
|
+
| errors.HonoApiError
|
|
157
165
|
| OrqError
|
|
158
166
|
| ResponseValidationError
|
|
159
167
|
| ConnectionError
|
|
@@ -164,9 +172,10 @@ async function $do(
|
|
|
164
172
|
| SDKValidationError
|
|
165
173
|
>(
|
|
166
174
|
M.json(200, operations.ListDatasetDatapointsResponseBody$inboundSchema),
|
|
175
|
+
M.jsonErr(404, errors.HonoApiError$inboundSchema),
|
|
167
176
|
M.fail("4XX"),
|
|
168
177
|
M.fail("5XX"),
|
|
169
|
-
)(response, req);
|
|
178
|
+
)(response, req, { extraFields: responseFields });
|
|
170
179
|
if (!result.ok) {
|
|
171
180
|
return [result, { status: "complete", request: req, response }];
|
|
172
181
|
}
|
|
@@ -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.11.0-rc.
|
|
62
|
-
genVersion: "2.
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.11.0-rc.
|
|
61
|
+
sdkVersion: "4.11.0-rc.47",
|
|
62
|
+
genVersion: "2.912.1",
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.11.0-rc.47 2.912.1 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type Two = {
|
|
9
9
|
/**
|
|
10
10
|
* Workspace-unique display name. Must start with a letter and may contain letters, numbers, and underscores. Dashes and dots are not allowed.
|
|
11
11
|
*/
|
|
@@ -22,6 +22,33 @@ export type CreateSkillRequest = {
|
|
|
22
22
|
* Project path where the skill should be stored.
|
|
23
23
|
*/
|
|
24
24
|
path?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Project that should contain the skill.
|
|
27
|
+
*/
|
|
28
|
+
projectId: string;
|
|
29
|
+
/**
|
|
30
|
+
* Instruction body for the skill. Omit to create metadata first and fill instructions later.
|
|
31
|
+
*/
|
|
32
|
+
instructions?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export type CreateSkillRequest1 = {
|
|
36
|
+
/**
|
|
37
|
+
* Workspace-unique display name. Must start with a letter and may contain letters, numbers, and underscores. Dashes and dots are not allowed.
|
|
38
|
+
*/
|
|
39
|
+
displayName: string;
|
|
40
|
+
/**
|
|
41
|
+
* Short human-readable summary of what the skill is for.
|
|
42
|
+
*/
|
|
43
|
+
description?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Free-form labels for organizing the skill.
|
|
46
|
+
*/
|
|
47
|
+
tags?: Array<string> | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Project path where the skill should be stored.
|
|
50
|
+
*/
|
|
51
|
+
path: string;
|
|
25
52
|
/**
|
|
26
53
|
* Project that should contain the skill.
|
|
27
54
|
*/
|
|
@@ -32,26 +59,58 @@ export type CreateSkillRequest = {
|
|
|
32
59
|
instructions?: string | undefined;
|
|
33
60
|
};
|
|
34
61
|
|
|
62
|
+
export type CreateSkillRequest = CreateSkillRequest1 | Two;
|
|
63
|
+
|
|
35
64
|
/** @internal */
|
|
36
|
-
export type
|
|
65
|
+
export type Two$Outbound = {
|
|
37
66
|
display_name: string;
|
|
38
67
|
description?: string | undefined;
|
|
39
68
|
tags?: Array<string> | undefined;
|
|
40
69
|
path?: string | undefined;
|
|
70
|
+
project_id: string;
|
|
71
|
+
instructions?: string | undefined;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
76
|
+
.object({
|
|
77
|
+
displayName: z.string(),
|
|
78
|
+
description: z.string().optional(),
|
|
79
|
+
tags: z.array(z.string()).optional(),
|
|
80
|
+
path: z.string().optional(),
|
|
81
|
+
projectId: z.string(),
|
|
82
|
+
instructions: z.string().optional(),
|
|
83
|
+
}).transform((v) => {
|
|
84
|
+
return remap$(v, {
|
|
85
|
+
displayName: "display_name",
|
|
86
|
+
projectId: "project_id",
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
export function twoToJSON(two: Two): string {
|
|
91
|
+
return JSON.stringify(Two$outboundSchema.parse(two));
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/** @internal */
|
|
95
|
+
export type CreateSkillRequest1$Outbound = {
|
|
96
|
+
display_name: string;
|
|
97
|
+
description?: string | undefined;
|
|
98
|
+
tags?: Array<string> | undefined;
|
|
99
|
+
path: string;
|
|
41
100
|
project_id?: string | undefined;
|
|
42
101
|
instructions?: string | undefined;
|
|
43
102
|
};
|
|
44
103
|
|
|
45
104
|
/** @internal */
|
|
46
|
-
export const
|
|
47
|
-
|
|
105
|
+
export const CreateSkillRequest1$outboundSchema: z.ZodType<
|
|
106
|
+
CreateSkillRequest1$Outbound,
|
|
48
107
|
z.ZodTypeDef,
|
|
49
|
-
|
|
108
|
+
CreateSkillRequest1
|
|
50
109
|
> = z.object({
|
|
51
110
|
displayName: z.string(),
|
|
52
111
|
description: z.string().optional(),
|
|
53
112
|
tags: z.array(z.string()).optional(),
|
|
54
|
-
path: z.string()
|
|
113
|
+
path: z.string(),
|
|
55
114
|
projectId: z.string().optional(),
|
|
56
115
|
instructions: z.string().optional(),
|
|
57
116
|
}).transform((v) => {
|
|
@@ -61,6 +120,29 @@ export const CreateSkillRequest$outboundSchema: z.ZodType<
|
|
|
61
120
|
});
|
|
62
121
|
});
|
|
63
122
|
|
|
123
|
+
export function createSkillRequest1ToJSON(
|
|
124
|
+
createSkillRequest1: CreateSkillRequest1,
|
|
125
|
+
): string {
|
|
126
|
+
return JSON.stringify(
|
|
127
|
+
CreateSkillRequest1$outboundSchema.parse(createSkillRequest1),
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** @internal */
|
|
132
|
+
export type CreateSkillRequest$Outbound =
|
|
133
|
+
| CreateSkillRequest1$Outbound
|
|
134
|
+
| Two$Outbound;
|
|
135
|
+
|
|
136
|
+
/** @internal */
|
|
137
|
+
export const CreateSkillRequest$outboundSchema: z.ZodType<
|
|
138
|
+
CreateSkillRequest$Outbound,
|
|
139
|
+
z.ZodTypeDef,
|
|
140
|
+
CreateSkillRequest
|
|
141
|
+
> = z.union([
|
|
142
|
+
z.lazy(() => CreateSkillRequest1$outboundSchema),
|
|
143
|
+
z.lazy(() => Two$outboundSchema),
|
|
144
|
+
]);
|
|
145
|
+
|
|
64
146
|
export function createSkillRequestToJSON(
|
|
65
147
|
createSkillRequest: CreateSkillRequest,
|
|
66
148
|
): string {
|
|
@@ -299,7 +299,7 @@ export type Four = {
|
|
|
299
299
|
file: FileContentPartSchema;
|
|
300
300
|
};
|
|
301
301
|
|
|
302
|
-
export type
|
|
302
|
+
export type InvokeDeploymentRequestContentPrefixMessages2 =
|
|
303
303
|
| (TextContentPartSchema & { type: "text" })
|
|
304
304
|
| ImageContentPartSchema
|
|
305
305
|
| AudioContentPartSchema
|
|
@@ -1513,15 +1513,19 @@ export function fourToJSON(four: Four): string {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
|
|
1515
1515
|
/** @internal */
|
|
1516
|
-
export type
|
|
1516
|
+
export type InvokeDeploymentRequestContentPrefixMessages2$Outbound =
|
|
1517
1517
|
| (TextContentPartSchema$Outbound & { type: "text" })
|
|
1518
1518
|
| ImageContentPartSchema$Outbound
|
|
1519
1519
|
| AudioContentPartSchema$Outbound
|
|
1520
1520
|
| Four$Outbound;
|
|
1521
1521
|
|
|
1522
1522
|
/** @internal */
|
|
1523
|
-
export const
|
|
1524
|
-
.
|
|
1523
|
+
export const InvokeDeploymentRequestContentPrefixMessages2$outboundSchema:
|
|
1524
|
+
z.ZodType<
|
|
1525
|
+
InvokeDeploymentRequestContentPrefixMessages2$Outbound,
|
|
1526
|
+
z.ZodTypeDef,
|
|
1527
|
+
InvokeDeploymentRequestContentPrefixMessages2
|
|
1528
|
+
> = z.union([
|
|
1525
1529
|
TextContentPartSchema$outboundSchema.and(
|
|
1526
1530
|
z.object({ type: z.literal("text") }),
|
|
1527
1531
|
),
|
|
@@ -1530,8 +1534,15 @@ export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
|
1530
1534
|
z.lazy(() => Four$outboundSchema),
|
|
1531
1535
|
]);
|
|
1532
1536
|
|
|
1533
|
-
export function
|
|
1534
|
-
|
|
1537
|
+
export function invokeDeploymentRequestContentPrefixMessages2ToJSON(
|
|
1538
|
+
invokeDeploymentRequestContentPrefixMessages2:
|
|
1539
|
+
InvokeDeploymentRequestContentPrefixMessages2,
|
|
1540
|
+
): string {
|
|
1541
|
+
return JSON.stringify(
|
|
1542
|
+
InvokeDeploymentRequestContentPrefixMessages2$outboundSchema.parse(
|
|
1543
|
+
invokeDeploymentRequestContentPrefixMessages2,
|
|
1544
|
+
),
|
|
1545
|
+
);
|
|
1535
1546
|
}
|
|
1536
1547
|
|
|
1537
1548
|
/** @internal */
|
|
@@ -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_01kvx4b5hp12aacpketm4r7fer"),
|
|
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-24T15:35:00.800Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2607,7 +2607,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2607
2607
|
explanation: z.string().optional(),
|
|
2608
2608
|
reviewed_by_id: z.string(),
|
|
2609
2609
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2610
|
-
"2026-06-
|
|
2610
|
+
"2026-06-24T15:35:25.901Z",
|
|
2611
2611
|
).transform(v => new Date(v)),
|
|
2612
2612
|
type: z.literal("string_array"),
|
|
2613
2613
|
values: z.array(z.string()),
|
|
@@ -2692,7 +2692,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2692
2692
|
explanation: z.string().optional(),
|
|
2693
2693
|
reviewed_by_id: z.string(),
|
|
2694
2694
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2695
|
-
"2026-06-
|
|
2695
|
+
"2026-06-24T15:35:25.900Z",
|
|
2696
2696
|
).transform(v => new Date(v)),
|
|
2697
2697
|
type: z.literal("number"),
|
|
2698
2698
|
value: z.number(),
|
|
@@ -2777,7 +2777,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2777
2777
|
explanation: z.string().optional(),
|
|
2778
2778
|
reviewed_by_id: z.string(),
|
|
2779
2779
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2780
|
-
"2026-06-
|
|
2780
|
+
"2026-06-24T15:35:25.898Z",
|
|
2781
2781
|
).transform(v => new Date(v)),
|
|
2782
2782
|
type: z.literal("string"),
|
|
2783
2783
|
value: z.string(),
|
|
@@ -2862,7 +2862,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2862
2862
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2863
2863
|
.optional(),
|
|
2864
2864
|
updated: z.string().datetime({ offset: true }).default(
|
|
2865
|
-
"2026-06-
|
|
2865
|
+
"2026-06-24T15:35:00.800Z",
|
|
2866
2866
|
).transform(v => new Date(v)),
|
|
2867
2867
|
}).transform((v) => {
|
|
2868
2868
|
return remap$(v, {
|
|
@@ -412,7 +412,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
412
412
|
z.ZodTypeDef,
|
|
413
413
|
unknown
|
|
414
414
|
> = z.object({
|
|
415
|
-
_id: z.string().default("
|
|
415
|
+
_id: z.string().default("01KVX4B6A6M5QVA9N9VXNS4RBT"),
|
|
416
416
|
display_name: z.string(),
|
|
417
417
|
description: z.nullable(z.string()).optional(),
|
|
418
418
|
status: CreateDatasourceStatus$inboundSchema,
|