@orq-ai/node 3.12.17 → 3.12.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +112 -112
- package/bin/mcp-server.js.map +30 -30
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +39 -44
- package/packages/orq-rc/src/models/components/index.ts +0 -13
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +56 -60
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +18 -17
- package/packages/orq-rc/src/models/operations/createprompt.ts +34 -30
- package/packages/orq-rc/src/models/operations/createtool.ts +42 -68
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +27 -36
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +203 -141
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listagents.ts +202 -141
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +22 -29
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +2292 -1130
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +2590 -1252
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +17 -21
- package/packages/orq-rc/src/models/operations/updatetool.ts +43 -69
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/components/callsubagenttool.ts +0 -109
- package/packages/orq-rc/src/models/components/codeexecutiontool.ts +0 -293
- package/packages/orq-rc/src/models/components/currentdatetool.ts +0 -107
- package/packages/orq-rc/src/models/components/functiontool.ts +0 -195
- package/packages/orq-rc/src/models/components/googlesearchtool.ts +0 -108
- package/packages/orq-rc/src/models/components/httptool.ts +0 -532
- package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +0 -111
- package/packages/orq-rc/src/models/components/querymemorystoretool.ts +0 -111
- package/packages/orq-rc/src/models/components/retrieveagentstool.ts +0 -109
- package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +0 -111
- package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +0 -111
- package/packages/orq-rc/src/models/components/webscrapertool.ts +0 -105
- package/packages/orq-rc/src/models/components/writememorystoretool.ts +0 -111
|
@@ -127,7 +127,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
127
127
|
metadata: z.lazy(() => exports.RetrieveDatasetMetadata$inboundSchema),
|
|
128
128
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
129
129
|
.optional(),
|
|
130
|
-
updated: z.string().datetime({ offset: true }).default("2025-09-
|
|
130
|
+
updated: z.string().datetime({ offset: true }).default("2025-09-29T08:09:02.676Z").transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return (0, primitives_js_1.remap)(v, {
|
|
133
133
|
"_id": "id",
|
|
@@ -148,7 +148,7 @@ exports.RetrieveDatasetResponseBody$outboundSchema = z.object({
|
|
|
148
148
|
updatedById: z.string().optional(),
|
|
149
149
|
metadata: z.lazy(() => exports.RetrieveDatasetMetadata$outboundSchema),
|
|
150
150
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
151
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
151
|
+
updated: z.date().default(() => new Date("2025-09-29T08:09:02.676Z"))
|
|
152
152
|
.transform(v => v.toISOString()),
|
|
153
153
|
}).transform((v) => {
|
|
154
154
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -105,7 +105,7 @@ var RetrieveDatasourceStatus$;
|
|
|
105
105
|
})(RetrieveDatasourceStatus$ || (exports.RetrieveDatasourceStatus$ = RetrieveDatasourceStatus$ = {}));
|
|
106
106
|
/** @internal */
|
|
107
107
|
exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
108
|
-
_id: z.string().default("
|
|
108
|
+
_id: z.string().default("01K6A89FGD9QBTJV882B23EBXA"),
|
|
109
109
|
display_name: z.string(),
|
|
110
110
|
description: z.string().optional(),
|
|
111
111
|
status: exports.RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -129,7 +129,7 @@ exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
|
129
129
|
});
|
|
130
130
|
/** @internal */
|
|
131
131
|
exports.RetrieveDatasourceResponseBody$outboundSchema = z.object({
|
|
132
|
-
id: z.string().default("
|
|
132
|
+
id: z.string().default("01K6A89FGD9QBTJV882B23EBXA"),
|
|
133
133
|
displayName: z.string(),
|
|
134
134
|
description: z.string().optional(),
|
|
135
135
|
status: exports.RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -305,7 +305,7 @@ exports.UpdateBudgetResponseBody$inboundSchema = z.object({
|
|
|
305
305
|
consumption: z.lazy(() => exports.UpdateBudgetConsumption$inboundSchema).optional(),
|
|
306
306
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
307
307
|
.optional(),
|
|
308
|
-
updated: z.string().datetime({ offset: true }).default("2025-09-
|
|
308
|
+
updated: z.string().datetime({ offset: true }).default("2025-09-29T08:09:02.676Z").transform(v => new Date(v)),
|
|
309
309
|
}).transform((v) => {
|
|
310
310
|
return (0, primitives_js_1.remap)(v, {
|
|
311
311
|
"_id": "id",
|
|
@@ -324,7 +324,7 @@ exports.UpdateBudgetResponseBody$outboundSchema = z.object({
|
|
|
324
324
|
isActive: z.boolean(),
|
|
325
325
|
consumption: z.lazy(() => exports.UpdateBudgetConsumption$outboundSchema).optional(),
|
|
326
326
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
327
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
327
|
+
updated: z.date().default(() => new Date("2025-09-29T08:09:02.676Z"))
|
|
328
328
|
.transform(v => v.toISOString()),
|
|
329
329
|
}).transform((v) => {
|
|
330
330
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -135,7 +135,7 @@ exports.UpdateContactResponseBody$inboundSchema = z.object({
|
|
|
135
135
|
metadata: z.record(z.any()).optional(),
|
|
136
136
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
137
137
|
.optional(),
|
|
138
|
-
updated: z.string().datetime({ offset: true }).default("2025-09-
|
|
138
|
+
updated: z.string().datetime({ offset: true }).default("2025-09-29T08:09:02.676Z").transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return (0, primitives_js_1.remap)(v, {
|
|
141
141
|
"_id": "id",
|
|
@@ -154,7 +154,7 @@ exports.UpdateContactResponseBody$outboundSchema = z.object({
|
|
|
154
154
|
tags: z.array(z.string()).optional(),
|
|
155
155
|
metadata: z.record(z.any()).optional(),
|
|
156
156
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
157
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
157
|
+
updated: z.date().default(() => new Date("2025-09-29T08:09:02.676Z"))
|
|
158
158
|
.transform(v => v.toISOString()),
|
|
159
159
|
}).transform((v) => {
|
|
160
160
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -2789,7 +2789,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
2789
2789
|
updated_by_id: z.string().optional(),
|
|
2790
2790
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2791
2791
|
.optional(),
|
|
2792
|
-
updated: z.string().datetime({ offset: true }).default("2025-09-
|
|
2792
|
+
updated: z.string().datetime({ offset: true }).default("2025-09-29T08:09:02.676Z").transform(v => new Date(v)),
|
|
2793
2793
|
}).transform((v) => {
|
|
2794
2794
|
return (0, primitives_js_1.remap)(v, {
|
|
2795
2795
|
"_id": "id",
|
|
@@ -2817,7 +2817,7 @@ exports.UpdateDatapointResponseBody$outboundSchema = z.object({
|
|
|
2817
2817
|
createdById: z.string().optional(),
|
|
2818
2818
|
updatedById: z.string().optional(),
|
|
2819
2819
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2820
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
2820
|
+
updated: z.date().default(() => new Date("2025-09-29T08:09:02.676Z"))
|
|
2821
2821
|
.transform(v => v.toISOString()),
|
|
2822
2822
|
}).transform((v) => {
|
|
2823
2823
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -174,7 +174,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
174
174
|
version: z.string().optional(),
|
|
175
175
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
176
176
|
.optional(),
|
|
177
|
-
updated: z.string().datetime({ offset: true }).default("2025-09-
|
|
177
|
+
updated: z.string().datetime({ offset: true }).default("2025-09-29T08:09:02.676Z").transform(v => new Date(v)),
|
|
178
178
|
}).transform((v) => {
|
|
179
179
|
return (0, primitives_js_1.remap)(v, {
|
|
180
180
|
"_id": "id",
|
|
@@ -198,7 +198,7 @@ exports.UpdateDatasetResponseBody$outboundSchema = z.object({
|
|
|
198
198
|
parentId: z.string().optional(),
|
|
199
199
|
version: z.string().optional(),
|
|
200
200
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
201
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
201
|
+
updated: z.date().default(() => new Date("2025-09-29T08:09:02.676Z"))
|
|
202
202
|
.transform(v => v.toISOString()),
|
|
203
203
|
}).transform((v) => {
|
|
204
204
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -144,7 +144,7 @@ var UpdateDatasourceStatus$;
|
|
|
144
144
|
})(UpdateDatasourceStatus$ || (exports.UpdateDatasourceStatus$ = UpdateDatasourceStatus$ = {}));
|
|
145
145
|
/** @internal */
|
|
146
146
|
exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
147
|
-
_id: z.string().default("
|
|
147
|
+
_id: z.string().default("01K6A89FGNWZ1J3G79A66M8DPN"),
|
|
148
148
|
display_name: z.string(),
|
|
149
149
|
description: z.string().optional(),
|
|
150
150
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|
|
@@ -168,7 +168,7 @@ exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
|
168
168
|
});
|
|
169
169
|
/** @internal */
|
|
170
170
|
exports.UpdateDatasourceResponseBody$outboundSchema = z.object({
|
|
171
|
-
id: z.string().default("
|
|
171
|
+
id: z.string().default("01K6A89FGNWZ1J3G79A66M8DPN"),
|
|
172
172
|
displayName: z.string(),
|
|
173
173
|
description: z.string().optional(),
|
|
174
174
|
status: exports.UpdateDatasourceStatus$outboundSchema,
|
|
@@ -1403,8 +1403,8 @@ var UpdateEvalResponseBodyEvalsResponse200Type$;
|
|
|
1403
1403
|
exports.UpdateEvalResponseBodyPython$inboundSchema = z.object({
|
|
1404
1404
|
_id: z.string(),
|
|
1405
1405
|
description: z.string(),
|
|
1406
|
-
created: z.string().default("2025-09-
|
|
1407
|
-
updated: z.string().default("2025-09-
|
|
1406
|
+
created: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1407
|
+
updated: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1408
1408
|
guardrail_config: z.union([
|
|
1409
1409
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
1410
1410
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
@@ -1422,8 +1422,8 @@ exports.UpdateEvalResponseBodyPython$inboundSchema = z.object({
|
|
|
1422
1422
|
exports.UpdateEvalResponseBodyPython$outboundSchema = z.object({
|
|
1423
1423
|
id: z.string(),
|
|
1424
1424
|
description: z.string(),
|
|
1425
|
-
created: z.string().default("2025-09-
|
|
1426
|
-
updated: z.string().default("2025-09-
|
|
1425
|
+
created: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1426
|
+
updated: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1427
1427
|
guardrailConfig: z.union([
|
|
1428
1428
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
1429
1429
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema),
|
|
@@ -1625,8 +1625,8 @@ var UpdateEvalResponseBodyMethod$;
|
|
|
1625
1625
|
exports.UpdateEvalResponseBodyHTTP$inboundSchema = z.object({
|
|
1626
1626
|
_id: z.string(),
|
|
1627
1627
|
description: z.string(),
|
|
1628
|
-
created: z.string().default("2025-09-
|
|
1629
|
-
updated: z.string().default("2025-09-
|
|
1628
|
+
created: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1629
|
+
updated: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1630
1630
|
guardrail_config: z.union([
|
|
1631
1631
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
1632
1632
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
@@ -1647,8 +1647,8 @@ exports.UpdateEvalResponseBodyHTTP$inboundSchema = z.object({
|
|
|
1647
1647
|
exports.UpdateEvalResponseBodyHTTP$outboundSchema = z.object({
|
|
1648
1648
|
id: z.string(),
|
|
1649
1649
|
description: z.string(),
|
|
1650
|
-
created: z.string().default("2025-09-
|
|
1651
|
-
updated: z.string().default("2025-09-
|
|
1650
|
+
created: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1651
|
+
updated: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1652
1652
|
guardrailConfig: z.union([
|
|
1653
1653
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
1654
1654
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema),
|
|
@@ -1834,8 +1834,8 @@ var UpdateEvalResponseBodyEvalsType$;
|
|
|
1834
1834
|
exports.UpdateEvalResponseBodyJSON$inboundSchema = z.object({
|
|
1835
1835
|
_id: z.string(),
|
|
1836
1836
|
description: z.string(),
|
|
1837
|
-
created: z.string().default("2025-09-
|
|
1838
|
-
updated: z.string().default("2025-09-
|
|
1837
|
+
created: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1838
|
+
updated: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1839
1839
|
guardrail_config: z.union([
|
|
1840
1840
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
1841
1841
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -1853,8 +1853,8 @@ exports.UpdateEvalResponseBodyJSON$inboundSchema = z.object({
|
|
|
1853
1853
|
exports.UpdateEvalResponseBodyJSON$outboundSchema = z.object({
|
|
1854
1854
|
id: z.string(),
|
|
1855
1855
|
description: z.string(),
|
|
1856
|
-
created: z.string().default("2025-09-
|
|
1857
|
-
updated: z.string().default("2025-09-
|
|
1856
|
+
created: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1857
|
+
updated: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
1858
1858
|
guardrailConfig: z.union([
|
|
1859
1859
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
1860
1860
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -2039,8 +2039,8 @@ var UpdateEvalResponseBodyType$;
|
|
|
2039
2039
|
exports.UpdateEvalResponseBodyLLM$inboundSchema = z.object({
|
|
2040
2040
|
_id: z.string(),
|
|
2041
2041
|
description: z.string(),
|
|
2042
|
-
created: z.string().default("2025-09-
|
|
2043
|
-
updated: z.string().default("2025-09-
|
|
2042
|
+
created: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
2043
|
+
updated: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
2044
2044
|
guardrail_config: z.union([
|
|
2045
2045
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
2046
2046
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -2059,8 +2059,8 @@ exports.UpdateEvalResponseBodyLLM$inboundSchema = z.object({
|
|
|
2059
2059
|
exports.UpdateEvalResponseBodyLLM$outboundSchema = z.object({
|
|
2060
2060
|
id: z.string(),
|
|
2061
2061
|
description: z.string(),
|
|
2062
|
-
created: z.string().default("2025-09-
|
|
2063
|
-
updated: z.string().default("2025-09-
|
|
2062
|
+
created: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
2063
|
+
updated: z.string().default("2025-09-29T08:09:05.124Z"),
|
|
2064
2064
|
guardrailConfig: z.union([
|
|
2065
2065
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
2066
2066
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
package/package.json
CHANGED
package/packages/orq-rc/jsr.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "3.13.0-rc.
|
|
3
|
+
"version": "3.13.0-rc.43",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@orq-ai/node",
|
|
9
|
-
"version": "3.13.0-rc.
|
|
9
|
+
"version": "3.13.0-rc.43",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"zod": "^3.20.0"
|
|
12
12
|
},
|
|
@@ -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: "3.13.0-rc.
|
|
72
|
-
genVersion: "2.716.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.13.0-rc.
|
|
71
|
+
sdkVersion: "3.13.0-rc.43",
|
|
72
|
+
genVersion: "2.716.16",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.13.0-rc.43 2.716.16 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
|
@@ -169,15 +169,15 @@ export type Audio = {
|
|
|
169
169
|
/**
|
|
170
170
|
* The type of the tool. Currently, only `function` is supported.
|
|
171
171
|
*/
|
|
172
|
-
export const
|
|
172
|
+
export const Type = {
|
|
173
173
|
Function: "function",
|
|
174
174
|
} as const;
|
|
175
175
|
/**
|
|
176
176
|
* The type of the tool. Currently, only `function` is supported.
|
|
177
177
|
*/
|
|
178
|
-
export type
|
|
178
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
179
179
|
|
|
180
|
-
export type
|
|
180
|
+
export type FunctionT = {
|
|
181
181
|
/**
|
|
182
182
|
* The name of the function to call.
|
|
183
183
|
*/
|
|
@@ -196,8 +196,8 @@ export type ToolCalls = {
|
|
|
196
196
|
/**
|
|
197
197
|
* The type of the tool. Currently, only `function` is supported.
|
|
198
198
|
*/
|
|
199
|
-
type:
|
|
200
|
-
function:
|
|
199
|
+
type: Type;
|
|
200
|
+
function: FunctionT;
|
|
201
201
|
};
|
|
202
202
|
|
|
203
203
|
export type AssistantMessage = {
|
|
@@ -2164,29 +2164,28 @@ export function audioFromJSON(
|
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
2166
2166
|
/** @internal */
|
|
2167
|
-
export const
|
|
2168
|
-
|
|
2169
|
-
|
|
2167
|
+
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
2168
|
+
Type,
|
|
2169
|
+
);
|
|
2170
2170
|
|
|
2171
2171
|
/** @internal */
|
|
2172
|
-
export const
|
|
2173
|
-
|
|
2174
|
-
> = PrefixMessagesType$inboundSchema;
|
|
2172
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
2173
|
+
Type$inboundSchema;
|
|
2175
2174
|
|
|
2176
2175
|
/**
|
|
2177
2176
|
* @internal
|
|
2178
2177
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2179
2178
|
*/
|
|
2180
|
-
export namespace
|
|
2181
|
-
/** @deprecated use `
|
|
2182
|
-
export const inboundSchema =
|
|
2183
|
-
/** @deprecated use `
|
|
2184
|
-
export const outboundSchema =
|
|
2179
|
+
export namespace Type$ {
|
|
2180
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
2181
|
+
export const inboundSchema = Type$inboundSchema;
|
|
2182
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
2183
|
+
export const outboundSchema = Type$outboundSchema;
|
|
2185
2184
|
}
|
|
2186
2185
|
|
|
2187
2186
|
/** @internal */
|
|
2188
|
-
export const
|
|
2189
|
-
|
|
2187
|
+
export const FunctionT$inboundSchema: z.ZodType<
|
|
2188
|
+
FunctionT,
|
|
2190
2189
|
z.ZodTypeDef,
|
|
2191
2190
|
unknown
|
|
2192
2191
|
> = z.object({
|
|
@@ -2195,16 +2194,16 @@ export const PrefixMessagesFunction$inboundSchema: z.ZodType<
|
|
|
2195
2194
|
});
|
|
2196
2195
|
|
|
2197
2196
|
/** @internal */
|
|
2198
|
-
export type
|
|
2197
|
+
export type FunctionT$Outbound = {
|
|
2199
2198
|
name?: string | undefined;
|
|
2200
2199
|
arguments?: string | undefined;
|
|
2201
2200
|
};
|
|
2202
2201
|
|
|
2203
2202
|
/** @internal */
|
|
2204
|
-
export const
|
|
2205
|
-
|
|
2203
|
+
export const FunctionT$outboundSchema: z.ZodType<
|
|
2204
|
+
FunctionT$Outbound,
|
|
2206
2205
|
z.ZodTypeDef,
|
|
2207
|
-
|
|
2206
|
+
FunctionT
|
|
2208
2207
|
> = z.object({
|
|
2209
2208
|
name: z.string().optional(),
|
|
2210
2209
|
arguments: z.string().optional(),
|
|
@@ -2214,30 +2213,26 @@ export const PrefixMessagesFunction$outboundSchema: z.ZodType<
|
|
|
2214
2213
|
* @internal
|
|
2215
2214
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2216
2215
|
*/
|
|
2217
|
-
export namespace
|
|
2218
|
-
/** @deprecated use `
|
|
2219
|
-
export const inboundSchema =
|
|
2220
|
-
/** @deprecated use `
|
|
2221
|
-
export const outboundSchema =
|
|
2222
|
-
/** @deprecated use `
|
|
2223
|
-
export type Outbound =
|
|
2216
|
+
export namespace FunctionT$ {
|
|
2217
|
+
/** @deprecated use `FunctionT$inboundSchema` instead. */
|
|
2218
|
+
export const inboundSchema = FunctionT$inboundSchema;
|
|
2219
|
+
/** @deprecated use `FunctionT$outboundSchema` instead. */
|
|
2220
|
+
export const outboundSchema = FunctionT$outboundSchema;
|
|
2221
|
+
/** @deprecated use `FunctionT$Outbound` instead. */
|
|
2222
|
+
export type Outbound = FunctionT$Outbound;
|
|
2224
2223
|
}
|
|
2225
2224
|
|
|
2226
|
-
export function
|
|
2227
|
-
|
|
2228
|
-
): string {
|
|
2229
|
-
return JSON.stringify(
|
|
2230
|
-
PrefixMessagesFunction$outboundSchema.parse(prefixMessagesFunction),
|
|
2231
|
-
);
|
|
2225
|
+
export function functionToJSON(functionT: FunctionT): string {
|
|
2226
|
+
return JSON.stringify(FunctionT$outboundSchema.parse(functionT));
|
|
2232
2227
|
}
|
|
2233
2228
|
|
|
2234
|
-
export function
|
|
2229
|
+
export function functionFromJSON(
|
|
2235
2230
|
jsonString: string,
|
|
2236
|
-
): SafeParseResult<
|
|
2231
|
+
): SafeParseResult<FunctionT, SDKValidationError> {
|
|
2237
2232
|
return safeParse(
|
|
2238
2233
|
jsonString,
|
|
2239
|
-
(x) =>
|
|
2240
|
-
`Failed to parse '
|
|
2234
|
+
(x) => FunctionT$inboundSchema.parse(JSON.parse(x)),
|
|
2235
|
+
`Failed to parse 'FunctionT' from JSON`,
|
|
2241
2236
|
);
|
|
2242
2237
|
}
|
|
2243
2238
|
|
|
@@ -2248,15 +2243,15 @@ export const ToolCalls$inboundSchema: z.ZodType<
|
|
|
2248
2243
|
unknown
|
|
2249
2244
|
> = z.object({
|
|
2250
2245
|
id: z.string(),
|
|
2251
|
-
type:
|
|
2252
|
-
function: z.lazy(() =>
|
|
2246
|
+
type: Type$inboundSchema,
|
|
2247
|
+
function: z.lazy(() => FunctionT$inboundSchema),
|
|
2253
2248
|
});
|
|
2254
2249
|
|
|
2255
2250
|
/** @internal */
|
|
2256
2251
|
export type ToolCalls$Outbound = {
|
|
2257
2252
|
id: string;
|
|
2258
2253
|
type: string;
|
|
2259
|
-
function:
|
|
2254
|
+
function: FunctionT$Outbound;
|
|
2260
2255
|
};
|
|
2261
2256
|
|
|
2262
2257
|
/** @internal */
|
|
@@ -2266,8 +2261,8 @@ export const ToolCalls$outboundSchema: z.ZodType<
|
|
|
2266
2261
|
ToolCalls
|
|
2267
2262
|
> = z.object({
|
|
2268
2263
|
id: z.string(),
|
|
2269
|
-
type:
|
|
2270
|
-
function: z.lazy(() =>
|
|
2264
|
+
type: Type$outboundSchema,
|
|
2265
|
+
function: z.lazy(() => FunctionT$outboundSchema),
|
|
2271
2266
|
});
|
|
2272
2267
|
|
|
2273
2268
|
/**
|
|
@@ -2,18 +2,5 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export * from "./callsubagenttool.js";
|
|
6
|
-
export * from "./codeexecutiontool.js";
|
|
7
|
-
export * from "./currentdatetool.js";
|
|
8
5
|
export * from "./deployments.js";
|
|
9
|
-
export * from "./functiontool.js";
|
|
10
|
-
export * from "./googlesearchtool.js";
|
|
11
|
-
export * from "./httptool.js";
|
|
12
|
-
export * from "./queryknowledgebasetool.js";
|
|
13
|
-
export * from "./querymemorystoretool.js";
|
|
14
|
-
export * from "./retrieveagentstool.js";
|
|
15
|
-
export * from "./retrieveknowledgebasestool.js";
|
|
16
|
-
export * from "./retrievememorystorestool.js";
|
|
17
6
|
export * from "./security.js";
|
|
18
|
-
export * from "./webscrapertool.js";
|
|
19
|
-
export * from "./writememorystoretool.js";
|
|
@@ -658,7 +658,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
658
658
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
659
659
|
.optional(),
|
|
660
660
|
updated: z.string().datetime({ offset: true }).default(
|
|
661
|
-
"2025-09-
|
|
661
|
+
"2025-09-29T07:35:47.618Z",
|
|
662
662
|
).transform(v => new Date(v)),
|
|
663
663
|
}).transform((v) => {
|
|
664
664
|
return remap$(v, {
|
|
@@ -693,7 +693,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
693
693
|
isActive: z.boolean(),
|
|
694
694
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
695
695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
696
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
696
|
+
updated: z.date().default(() => new Date("2025-09-29T07:35:47.618Z"))
|
|
697
697
|
.transform(v => v.toISOString()),
|
|
698
698
|
}).transform((v) => {
|
|
699
699
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2025-09-
|
|
185
|
+
"2025-09-29T07:35:47.618Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-09-29T07:35:47.618Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-09-
|
|
214
|
+
"2025-09-29T07:35:47.618Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-09-29T07:35:47.618Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -6083,7 +6083,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6083
6083
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6084
6084
|
.optional(),
|
|
6085
6085
|
updated: z.string().datetime({ offset: true }).default(
|
|
6086
|
-
"2025-09-
|
|
6086
|
+
"2025-09-29T07:35:47.618Z",
|
|
6087
6087
|
).transform(v => new Date(v)),
|
|
6088
6088
|
}).transform((v) => {
|
|
6089
6089
|
return remap$(v, {
|
|
@@ -6147,7 +6147,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6147
6147
|
createdById: z.string().optional(),
|
|
6148
6148
|
updatedById: z.string().optional(),
|
|
6149
6149
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6150
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
6150
|
+
updated: z.date().default(() => new Date("2025-09-29T07:35:47.618Z"))
|
|
6151
6151
|
.transform(v => v.toISOString()),
|
|
6152
6152
|
}).transform((v) => {
|
|
6153
6153
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01K6A6CKGK6WJ3D8NX7J8C9C1J"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01K6A6CKGK6WJ3D8NX7J8C9C1J"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|