@orq-ai/node 3.13.8 → 3.13.9
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 +215 -229
- package/bin/mcp-server.js.map +44 -44
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/deployments.d.ts +0 -6
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +0 -2
- package/models/components/deployments.js.map +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.d.ts +0 -6
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +2 -4
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/deploymentcreatemetric.d.ts +0 -6
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +0 -2
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +0 -6
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +0 -2
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +0 -6
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +0 -2
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.js +2 -2
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.d.ts +0 -3
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -3
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- 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.d.ts +0 -3
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -3
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.d.ts +0 -6
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +2 -4
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/knowledge/README.md +6 -0
- 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 +2 -2
- 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 +0 -2
- 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 +9 -3
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -10
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +236 -201
- package/packages/orq-rc/src/models/operations/createknowledge.ts +1231 -275
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +7 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +7 -1
- package/packages/orq-rc/src/models/operations/createtool.ts +192 -116
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -2
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -2
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -2
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +45 -15
- 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 +9 -3
- package/packages/orq-rc/src/models/operations/getalltools.ts +167 -118
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +157 -143
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +912 -166
- package/packages/orq-rc/src/models/operations/listagents.ts +9 -3
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -9
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +755 -150
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -9
- 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 +45 -15
- package/packages/orq-rc/src/models/operations/runagent.ts +7 -1
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +49 -62
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +7 -1
- 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 +8 -10
- package/packages/orq-rc/src/models/operations/updatedataset.ts +9 -3
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +56 -32
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +1710 -367
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +7 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +7 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +80 -20
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deployments.ts +0 -2
- 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 -4
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/deploymentcreatemetric.ts +0 -2
- package/src/models/operations/deploymentgetconfig.ts +0 -2
- package/src/models/operations/deploymentstream.ts +0 -2
- package/src/models/operations/duplicatetool.ts +10 -10
- 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/getagent.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +2 -2
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -3
- 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 -3
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.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 -4
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -807,7 +807,7 @@ function updateToolRequestBodyHttpFromJSON(jsonString) {
|
|
|
807
807
|
}
|
|
808
808
|
/** @internal */
|
|
809
809
|
exports.UpdateToolRequestBody3$inboundSchema = z.object({
|
|
810
|
-
_id: z.string().default("
|
|
810
|
+
_id: z.string().default("01K7KDRXSJRQG61SWJSM0SE92X"),
|
|
811
811
|
path: z.string().optional(),
|
|
812
812
|
display_name: z.string().optional(),
|
|
813
813
|
description: z.string().optional(),
|
|
@@ -822,7 +822,7 @@ exports.UpdateToolRequestBody3$inboundSchema = z.object({
|
|
|
822
822
|
});
|
|
823
823
|
/** @internal */
|
|
824
824
|
exports.UpdateToolRequestBody3$outboundSchema = z.object({
|
|
825
|
-
id: z.string().default("
|
|
825
|
+
id: z.string().default("01K7KDRXSJRQG61SWJSM0SE92X"),
|
|
826
826
|
path: z.string().optional(),
|
|
827
827
|
displayName: z.string().optional(),
|
|
828
828
|
description: z.string().optional(),
|
|
@@ -915,7 +915,7 @@ function updateToolRequestBodyJsonSchemaFromJSON(jsonString) {
|
|
|
915
915
|
}
|
|
916
916
|
/** @internal */
|
|
917
917
|
exports.UpdateToolRequestBody2$inboundSchema = z.object({
|
|
918
|
-
_id: z.string().default("
|
|
918
|
+
_id: z.string().default("01K7KDRXSJHZWVQ22R8FJTK7GJ"),
|
|
919
919
|
path: z.string().optional(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
921
921
|
description: z.string().optional(),
|
|
@@ -932,7 +932,7 @@ exports.UpdateToolRequestBody2$inboundSchema = z.object({
|
|
|
932
932
|
});
|
|
933
933
|
/** @internal */
|
|
934
934
|
exports.UpdateToolRequestBody2$outboundSchema = z.object({
|
|
935
|
-
id: z.string().default("
|
|
935
|
+
id: z.string().default("01K7KDRXSJHZWVQ22R8FJTK7GJ"),
|
|
936
936
|
path: z.string().optional(),
|
|
937
937
|
displayName: z.string().optional(),
|
|
938
938
|
description: z.string().optional(),
|
|
@@ -1228,7 +1228,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
/** @internal */
|
|
1230
1230
|
exports.UpdateToolResponseBody5$inboundSchema = z.object({
|
|
1231
|
-
_id: z.string().default("
|
|
1231
|
+
_id: z.string().default("01K7KDRXSAZ7M02Q59QDH6MCR6"),
|
|
1232
1232
|
path: z.string(),
|
|
1233
1233
|
key: z.string(),
|
|
1234
1234
|
display_name: z.string(),
|
|
@@ -1258,7 +1258,7 @@ exports.UpdateToolResponseBody5$inboundSchema = z.object({
|
|
|
1258
1258
|
});
|
|
1259
1259
|
/** @internal */
|
|
1260
1260
|
exports.UpdateToolResponseBody5$outboundSchema = z.object({
|
|
1261
|
-
id: z.string().default("
|
|
1261
|
+
id: z.string().default("01K7KDRXSAZ7M02Q59QDH6MCR6"),
|
|
1262
1262
|
path: z.string(),
|
|
1263
1263
|
key: z.string(),
|
|
1264
1264
|
displayName: z.string(),
|
|
@@ -1476,7 +1476,7 @@ function updateToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
/** @internal */
|
|
1478
1478
|
exports.UpdateToolResponseBody4$inboundSchema = z.object({
|
|
1479
|
-
_id: z.string().default("
|
|
1479
|
+
_id: z.string().default("01K7KDRXSARPKQFK26NRCW61GP"),
|
|
1480
1480
|
path: z.string(),
|
|
1481
1481
|
key: z.string(),
|
|
1482
1482
|
display_name: z.string(),
|
|
@@ -1504,7 +1504,7 @@ exports.UpdateToolResponseBody4$inboundSchema = z.object({
|
|
|
1504
1504
|
});
|
|
1505
1505
|
/** @internal */
|
|
1506
1506
|
exports.UpdateToolResponseBody4$outboundSchema = z.object({
|
|
1507
|
-
id: z.string().default("
|
|
1507
|
+
id: z.string().default("01K7KDRXSARPKQFK26NRCW61GP"),
|
|
1508
1508
|
path: z.string(),
|
|
1509
1509
|
key: z.string(),
|
|
1510
1510
|
displayName: z.string(),
|
|
@@ -1731,7 +1731,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
1731
1731
|
}
|
|
1732
1732
|
/** @internal */
|
|
1733
1733
|
exports.UpdateToolResponseBody3$inboundSchema = z.object({
|
|
1734
|
-
_id: z.string().default("
|
|
1734
|
+
_id: z.string().default("01K7KDRXS95V0NY49DY2JASS00"),
|
|
1735
1735
|
path: z.string(),
|
|
1736
1736
|
key: z.string(),
|
|
1737
1737
|
display_name: z.string(),
|
|
@@ -1759,7 +1759,7 @@ exports.UpdateToolResponseBody3$inboundSchema = z.object({
|
|
|
1759
1759
|
});
|
|
1760
1760
|
/** @internal */
|
|
1761
1761
|
exports.UpdateToolResponseBody3$outboundSchema = z.object({
|
|
1762
|
-
id: z.string().default("
|
|
1762
|
+
id: z.string().default("01K7KDRXS95V0NY49DY2JASS00"),
|
|
1763
1763
|
path: z.string(),
|
|
1764
1764
|
key: z.string(),
|
|
1765
1765
|
displayName: z.string(),
|
|
@@ -1865,7 +1865,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
1865
1865
|
}
|
|
1866
1866
|
/** @internal */
|
|
1867
1867
|
exports.UpdateToolResponseBody2$inboundSchema = z.object({
|
|
1868
|
-
_id: z.string().default("
|
|
1868
|
+
_id: z.string().default("01K7KDRXS81SS02XDXQX5WCK1D"),
|
|
1869
1869
|
path: z.string(),
|
|
1870
1870
|
key: z.string(),
|
|
1871
1871
|
display_name: z.string(),
|
|
@@ -1894,7 +1894,7 @@ exports.UpdateToolResponseBody2$inboundSchema = z.object({
|
|
|
1894
1894
|
});
|
|
1895
1895
|
/** @internal */
|
|
1896
1896
|
exports.UpdateToolResponseBody2$outboundSchema = z.object({
|
|
1897
|
-
id: z.string().default("
|
|
1897
|
+
id: z.string().default("01K7KDRXS81SS02XDXQX5WCK1D"),
|
|
1898
1898
|
path: z.string(),
|
|
1899
1899
|
key: z.string(),
|
|
1900
1900
|
displayName: z.string(),
|
|
@@ -2001,7 +2001,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
2001
2001
|
}
|
|
2002
2002
|
/** @internal */
|
|
2003
2003
|
exports.UpdateToolResponseBody1$inboundSchema = z.object({
|
|
2004
|
-
_id: z.string().default("
|
|
2004
|
+
_id: z.string().default("01K7KDRXS8W502TVK4AEH8Q89X"),
|
|
2005
2005
|
path: z.string(),
|
|
2006
2006
|
key: z.string(),
|
|
2007
2007
|
display_name: z.string(),
|
|
@@ -2029,7 +2029,7 @@ exports.UpdateToolResponseBody1$inboundSchema = z.object({
|
|
|
2029
2029
|
});
|
|
2030
2030
|
/** @internal */
|
|
2031
2031
|
exports.UpdateToolResponseBody1$outboundSchema = z.object({
|
|
2032
|
-
id: z.string().default("
|
|
2032
|
+
id: z.string().default("01K7KDRXS8W502TVK4AEH8Q89X"),
|
|
2033
2033
|
path: z.string(),
|
|
2034
2034
|
key: z.string(),
|
|
2035
2035
|
displayName: z.string(),
|
package/package.json
CHANGED
|
@@ -110,8 +110,10 @@ const orq = new Orq({
|
|
|
110
110
|
|
|
111
111
|
async function run() {
|
|
112
112
|
const result = await orq.knowledge.create({
|
|
113
|
+
type: "internal",
|
|
113
114
|
key: "<key>",
|
|
114
115
|
embeddingModel: "<value>",
|
|
116
|
+
isPrivateModel: false,
|
|
115
117
|
path: "Default",
|
|
116
118
|
});
|
|
117
119
|
|
|
@@ -137,8 +139,10 @@ const orq = new OrqCore({
|
|
|
137
139
|
|
|
138
140
|
async function run() {
|
|
139
141
|
const res = await knowledgeCreate(orq, {
|
|
142
|
+
type: "internal",
|
|
140
143
|
key: "<key>",
|
|
141
144
|
embeddingModel: "<value>",
|
|
145
|
+
isPrivateModel: false,
|
|
142
146
|
path: "Default",
|
|
143
147
|
});
|
|
144
148
|
if (res.ok) {
|
|
@@ -263,6 +267,7 @@ async function run() {
|
|
|
263
267
|
knowledgeId: "<id>",
|
|
264
268
|
requestBody: {
|
|
265
269
|
path: "Default",
|
|
270
|
+
type: "external",
|
|
266
271
|
},
|
|
267
272
|
});
|
|
268
273
|
|
|
@@ -291,6 +296,7 @@ async function run() {
|
|
|
291
296
|
knowledgeId: "<id>",
|
|
292
297
|
requestBody: {
|
|
293
298
|
path: "Default",
|
|
299
|
+
type: "external",
|
|
294
300
|
},
|
|
295
301
|
});
|
|
296
302
|
if (res.ok) {
|
package/packages/orq-rc/jsr.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "3.14.0-rc.
|
|
3
|
+
"version": "3.14.0-rc.26",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@orq-ai/node",
|
|
9
|
-
"version": "3.14.0-rc.
|
|
9
|
+
"version": "3.14.0-rc.26",
|
|
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.14.0-rc.
|
|
71
|
+
sdkVersion: "3.14.0-rc.26",
|
|
72
72
|
genVersion: "2.723.11",
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.14.0-rc.
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.14.0-rc.26 2.723.11 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
|
@@ -147,7 +147,6 @@ export type PrefixMessagesContent =
|
|
|
147
147
|
*/
|
|
148
148
|
export const DeploymentsPrefixMessages4Role = {
|
|
149
149
|
Assistant: "assistant",
|
|
150
|
-
Exception: "exception",
|
|
151
150
|
} as const;
|
|
152
151
|
/**
|
|
153
152
|
* The role of the messages author, in this case `assistant` or `exception`.
|
|
@@ -594,7 +593,6 @@ export type DeploymentsMessagesContent =
|
|
|
594
593
|
*/
|
|
595
594
|
export const DeploymentsMessages4Role = {
|
|
596
595
|
Assistant: "assistant",
|
|
597
|
-
Exception: "exception",
|
|
598
596
|
} as const;
|
|
599
597
|
/**
|
|
600
598
|
* The role of the messages author, in this case `assistant` or `exception`.
|
|
@@ -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-10-
|
|
661
|
+
"2025-10-15T05:20:08.470Z",
|
|
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-10-
|
|
696
|
+
updated: z.date().default(() => new Date("2025-10-15T05:20:08.470Z"))
|
|
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-10-
|
|
185
|
+
"2025-10-15T05:20:08.470Z",
|
|
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-10-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-10-15T05:20:08.470Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -14,7 +14,13 @@ export type CreateDatasetRequestBody = {
|
|
|
14
14
|
*/
|
|
15
15
|
displayName: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*
|
|
21
|
+
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
22
|
+
*
|
|
23
|
+
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
18
24
|
*/
|
|
19
25
|
path: string;
|
|
20
26
|
};
|
|
@@ -211,7 +217,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
217
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
218
|
.optional(),
|
|
213
219
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-10-
|
|
220
|
+
"2025-10-15T05:20:08.470Z",
|
|
215
221
|
).transform(v => new Date(v)),
|
|
216
222
|
}).transform((v) => {
|
|
217
223
|
return remap$(v, {
|
|
@@ -251,7 +257,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
257
|
createdById: z.string().optional(),
|
|
252
258
|
updatedById: z.string().optional(),
|
|
253
259
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
260
|
+
updated: z.date().default(() => new Date("2025-10-15T05:20:08.470Z"))
|
|
255
261
|
.transform(v => v.toISOString()),
|
|
256
262
|
}).transform((v) => {
|
|
257
263
|
return remap$(v, {
|
|
@@ -156,7 +156,6 @@ export type CreateDatasetItemMessagesDatasetsContent =
|
|
|
156
156
|
*/
|
|
157
157
|
export const CreateDatasetItemMessagesDatasetsRequestRequestBodyRole = {
|
|
158
158
|
Assistant: "assistant",
|
|
159
|
-
Exception: "exception",
|
|
160
159
|
} as const;
|
|
161
160
|
/**
|
|
162
161
|
* The role of the messages author, in this case `assistant` or `exception`.
|
|
@@ -677,7 +676,6 @@ export type CreateDatasetItemMessagesDatasetsResponse200Content =
|
|
|
677
676
|
export const CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole =
|
|
678
677
|
{
|
|
679
678
|
Assistant: "assistant",
|
|
680
|
-
Exception: "exception",
|
|
681
679
|
} as const;
|
|
682
680
|
/**
|
|
683
681
|
* The role of the messages author, in this case `assistant` or `exception`.
|
|
@@ -6296,7 +6294,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
6296
6294
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
6297
6295
|
reviewed_by_id: z.string(),
|
|
6298
6296
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6299
|
-
"2025-10-
|
|
6297
|
+
"2025-10-15T05:20:16.798Z",
|
|
6300
6298
|
).transform(v => new Date(v)),
|
|
6301
6299
|
type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
6302
6300
|
values: z.array(z.string()),
|
|
@@ -6332,7 +6330,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
6332
6330
|
humanReviewId: z.string(),
|
|
6333
6331
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
6334
6332
|
reviewedById: z.string(),
|
|
6335
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6333
|
+
reviewedAt: z.date().default(() => new Date("2025-10-15T05:20:16.798Z"))
|
|
6336
6334
|
.transform(v => v.toISOString()),
|
|
6337
6335
|
type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
6338
6336
|
values: z.array(z.string()),
|
|
@@ -6447,7 +6445,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
6447
6445
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
6448
6446
|
reviewed_by_id: z.string(),
|
|
6449
6447
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6450
|
-
"2025-10-
|
|
6448
|
+
"2025-10-15T05:20:16.798Z",
|
|
6451
6449
|
).transform(v => new Date(v)),
|
|
6452
6450
|
type: CreateDatasetItemEvaluationsType$inboundSchema,
|
|
6453
6451
|
value: z.number(),
|
|
@@ -6483,7 +6481,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
6483
6481
|
humanReviewId: z.string(),
|
|
6484
6482
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
6485
6483
|
reviewedById: z.string(),
|
|
6486
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6484
|
+
reviewedAt: z.date().default(() => new Date("2025-10-15T05:20:16.798Z"))
|
|
6487
6485
|
.transform(v => v.toISOString()),
|
|
6488
6486
|
type: CreateDatasetItemEvaluationsType$outboundSchema,
|
|
6489
6487
|
value: z.number(),
|
|
@@ -6596,7 +6594,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
6596
6594
|
source: Source$inboundSchema.default("orq"),
|
|
6597
6595
|
reviewed_by_id: z.string(),
|
|
6598
6596
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6599
|
-
"2025-10-
|
|
6597
|
+
"2025-10-15T05:20:16.798Z",
|
|
6600
6598
|
).transform(v => new Date(v)),
|
|
6601
6599
|
type: EvaluationsType$inboundSchema,
|
|
6602
6600
|
value: z.string(),
|
|
@@ -6632,7 +6630,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
6632
6630
|
humanReviewId: z.string(),
|
|
6633
6631
|
source: Source$outboundSchema.default("orq"),
|
|
6634
6632
|
reviewedById: z.string(),
|
|
6635
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6633
|
+
reviewedAt: z.date().default(() => new Date("2025-10-15T05:20:16.798Z"))
|
|
6636
6634
|
.transform(v => v.toISOString()),
|
|
6637
6635
|
type: EvaluationsType$outboundSchema,
|
|
6638
6636
|
value: z.string(),
|
|
@@ -6766,7 +6764,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6766
6764
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6767
6765
|
.optional(),
|
|
6768
6766
|
updated: z.string().datetime({ offset: true }).default(
|
|
6769
|
-
"2025-10-
|
|
6767
|
+
"2025-10-15T05:20:08.470Z",
|
|
6770
6768
|
).transform(v => new Date(v)),
|
|
6771
6769
|
}).transform((v) => {
|
|
6772
6770
|
return remap$(v, {
|
|
@@ -6845,7 +6843,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6845
6843
|
createdById: z.string().optional(),
|
|
6846
6844
|
updatedById: z.string().optional(),
|
|
6847
6845
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6848
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
6846
|
+
updated: z.date().default(() => new Date("2025-10-15T05:20:08.470Z"))
|
|
6849
6847
|
.transform(v => v.toISOString()),
|
|
6850
6848
|
}).transform((v) => {
|
|
6851
6849
|
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("01K7K4ZPE552FR0C66SWCCRKQN"),
|
|
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("01K7K4ZPE552FR0C66SWCCRKQN"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|