@orq-ai/node 4.10.0-rc.1 → 4.10.0-rc.3
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/langchain/async-handler.d.mts.map +1 -1
- package/langchain/async-handler.mjs +8 -11
- package/langchain/async-handler.mjs.map +1 -1
- package/langchain/events.d.mts.map +1 -1
- package/langchain/events.mjs +12 -0
- package/langchain/events.mjs.map +1 -1
- package/langchain/handler.d.mts.map +1 -1
- package/langchain/handler.mjs +8 -11
- package/langchain/handler.mjs.map +1 -1
- package/langchain/span-builder.mjs +3 -3
- package/langchain/span-builder.mjs.map +1 -1
- package/langchain/utils.d.mts.map +1 -1
- package/langchain/utils.mjs +115 -0
- package/langchain/utils.mjs.map +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/createagentrequest.d.ts +3 -3
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.d.ts +3 -3
- 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.d.ts +15 -15
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createknowledge.d.ts +9 -9
- package/models/operations/creatememorystore.d.ts +3 -3
- package/models/operations/createprompt.d.ts +3 -3
- package/models/operations/createrouterresponse.d.ts +6 -11
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +2 -8
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.d.ts +30 -30
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.d.ts +15 -15
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneknowledge.d.ts +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +3 -3
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listknowledgebases.d.ts +6 -6
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +3 -3
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.d.ts +15 -15
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +3 -3
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.d.ts +3 -3
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +6 -6
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.d.ts +3 -3
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updateknowledge.d.ts +12 -12
- package/models/operations/updateprompt.d.ts +3 -3
- package/models/operations/updatetool.d.ts +30 -30
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +3 -3
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +4 -4
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +31 -31
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createknowledge.ts +9 -9
- package/src/models/operations/creatememorystore.ts +3 -3
- package/src/models/operations/createprompt.ts +3 -3
- package/src/models/operations/createrouterresponse.ts +3 -24
- package/src/models/operations/createtool.ts +36 -36
- package/src/models/operations/getalltools.ts +21 -21
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneknowledge.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +3 -3
- 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/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +6 -6
- 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/retrieveagentrequest.ts +3 -3
- 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/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +21 -21
- package/src/models/operations/runagent.ts +4 -4
- package/src/models/operations/streamrunagent.ts +4 -4
- package/src/models/operations/updateagent.ts +6 -6
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +4 -4
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateknowledge.ts +12 -12
- package/src/models/operations/updateprompt.ts +3 -3
- package/src/models/operations/updatetool.ts +37 -37
|
@@ -955,13 +955,13 @@ export type ListAgentsData = {
|
|
|
955
955
|
*/
|
|
956
956
|
version?: string | undefined;
|
|
957
957
|
/**
|
|
958
|
-
* Entity storage path
|
|
958
|
+
* Entity storage path.
|
|
959
959
|
*
|
|
960
960
|
* @remarks
|
|
961
961
|
*
|
|
962
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
962
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
963
963
|
*
|
|
964
|
-
* With project-
|
|
964
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
965
965
|
*/
|
|
966
966
|
path: string;
|
|
967
967
|
/**
|
|
@@ -420,7 +420,7 @@ exports.ListDatasetDatapointsEvaluations3$inboundSchema = z.object({
|
|
|
420
420
|
human_review_id: z.string(),
|
|
421
421
|
source: exports.ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
422
422
|
reviewed_by_id: z.string(),
|
|
423
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
423
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.962Z").transform(v => new Date(v)),
|
|
424
424
|
type: z.literal("string_array"),
|
|
425
425
|
values: z.array(z.string()),
|
|
426
426
|
}).transform((v) => {
|
|
@@ -445,7 +445,7 @@ exports.ListDatasetDatapointsEvaluations2$inboundSchema = z.object({
|
|
|
445
445
|
human_review_id: z.string(),
|
|
446
446
|
source: exports.ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
447
447
|
reviewed_by_id: z.string(),
|
|
448
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
448
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.962Z").transform(v => new Date(v)),
|
|
449
449
|
type: z.literal("number"),
|
|
450
450
|
value: z.number(),
|
|
451
451
|
}).transform((v) => {
|
|
@@ -471,7 +471,7 @@ exports.ListDatasetDatapointsEvaluations1$inboundSchema = z.object({
|
|
|
471
471
|
source: exports.ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema
|
|
472
472
|
.default("orq"),
|
|
473
473
|
reviewed_by_id: z.string(),
|
|
474
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
474
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.961Z").transform(v => new Date(v)),
|
|
475
475
|
type: z.literal("string"),
|
|
476
476
|
value: z.string(),
|
|
477
477
|
}).transform((v) => {
|
|
@@ -518,7 +518,7 @@ exports.ListDatasetDatapointsData$inboundSchema = z.object({
|
|
|
518
518
|
updated_by_id: z.string().optional(),
|
|
519
519
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
520
520
|
.optional(),
|
|
521
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
521
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
522
522
|
}).transform((v) => {
|
|
523
523
|
return (0, primitives_js_1.remap)(v, {
|
|
524
524
|
"_id": "id",
|
|
@@ -87,7 +87,7 @@ exports.ListDatasetsData$inboundSchema = z.object({
|
|
|
87
87
|
updated_by_id: z.string().optional(),
|
|
88
88
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
89
89
|
.optional(),
|
|
90
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
90
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
91
91
|
}).transform((v) => {
|
|
92
92
|
return (0, primitives_js_1.remap)(v, {
|
|
93
93
|
"_id": "id",
|
|
@@ -83,7 +83,7 @@ exports.ListDatasourcesObject$inboundSchema = z.nativeEnum(exports.ListDatasourc
|
|
|
83
83
|
exports.ListDatasourcesStatus$inboundSchema = z.nativeEnum(exports.ListDatasourcesStatus);
|
|
84
84
|
/** @internal */
|
|
85
85
|
exports.ListDatasourcesData$inboundSchema = z.object({
|
|
86
|
-
_id: z.string().default("
|
|
86
|
+
_id: z.string().default("01KRJJ2BCSS77YMHQC5GPY2WSW"),
|
|
87
87
|
display_name: z.string(),
|
|
88
88
|
description: z.string().optional(),
|
|
89
89
|
status: exports.ListDatasourcesStatus$inboundSchema,
|
|
@@ -104,7 +104,7 @@ exports.ListIdentitiesData$inboundSchema = z.object({
|
|
|
104
104
|
metadata: z.record(z.any()).optional(),
|
|
105
105
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
106
106
|
.optional(),
|
|
107
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
107
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
108
108
|
metrics: z.lazy(() => exports.ListIdentitiesMetrics$inboundSchema),
|
|
109
109
|
}).transform((v) => {
|
|
110
110
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -103,13 +103,13 @@ export type Data2 = {
|
|
|
103
103
|
*/
|
|
104
104
|
domainId: string;
|
|
105
105
|
/**
|
|
106
|
-
* Entity storage path
|
|
106
|
+
* Entity storage path.
|
|
107
107
|
*
|
|
108
108
|
* @remarks
|
|
109
109
|
*
|
|
110
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
110
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
111
111
|
*
|
|
112
|
-
* With project-
|
|
112
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
113
113
|
*/
|
|
114
114
|
path?: string | undefined;
|
|
115
115
|
createdById?: string | null | undefined;
|
|
@@ -214,13 +214,13 @@ export type Data1 = {
|
|
|
214
214
|
*/
|
|
215
215
|
domainId: string;
|
|
216
216
|
/**
|
|
217
|
-
* Entity storage path
|
|
217
|
+
* Entity storage path.
|
|
218
218
|
*
|
|
219
219
|
* @remarks
|
|
220
220
|
*
|
|
221
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
221
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
222
222
|
*
|
|
223
|
-
* With project-
|
|
223
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
224
224
|
*/
|
|
225
225
|
path?: string | undefined;
|
|
226
226
|
createdById?: string | null | undefined;
|
|
@@ -122,7 +122,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
122
122
|
updated_by_id: z.string().optional(),
|
|
123
123
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
124
124
|
.optional(),
|
|
125
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
126
126
|
filter_type: z.literal("name"),
|
|
127
127
|
filter_value: z.string(),
|
|
128
128
|
}).transform((v) => {
|
|
@@ -153,7 +153,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
153
153
|
updated_by_id: z.string().optional(),
|
|
154
154
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
155
155
|
.optional(),
|
|
156
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
157
157
|
filter_type: z.literal("span_type"),
|
|
158
158
|
filter_values: z.array(z.string()),
|
|
159
159
|
}).transform((v) => {
|
|
@@ -86,7 +86,7 @@ exports.RequestBody3$outboundSchema = z.object({
|
|
|
86
86
|
humanReviewId: z.string(),
|
|
87
87
|
source: exports.PostV2FeedbackEvaluationRequestBodyRequestSource$outboundSchema
|
|
88
88
|
.default("orq"),
|
|
89
|
-
reviewedAt: z.date().default(() => new Date("2026-05-
|
|
89
|
+
reviewedAt: z.date().default(() => new Date("2026-05-14T06:16:32.089Z"))
|
|
90
90
|
.transform(v => v.toISOString()),
|
|
91
91
|
type: z.literal("string_array"),
|
|
92
92
|
values: z.array(z.string()),
|
|
@@ -113,7 +113,7 @@ exports.RequestBody2$outboundSchema = z.object({
|
|
|
113
113
|
evaluationType: exports.RequestBodyEvaluationType$outboundSchema,
|
|
114
114
|
humanReviewId: z.string(),
|
|
115
115
|
source: exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default("orq"),
|
|
116
|
-
reviewedAt: z.date().default(() => new Date("2026-05-
|
|
116
|
+
reviewedAt: z.date().default(() => new Date("2026-05-14T06:16:32.089Z"))
|
|
117
117
|
.transform(v => v.toISOString()),
|
|
118
118
|
type: z.literal("number"),
|
|
119
119
|
value: z.number(),
|
|
@@ -139,7 +139,7 @@ exports.RequestBody1$outboundSchema = z.object({
|
|
|
139
139
|
evaluationType: exports.EvaluationType$outboundSchema,
|
|
140
140
|
humanReviewId: z.string(),
|
|
141
141
|
source: exports.RequestBodySource$outboundSchema.default("orq"),
|
|
142
|
-
reviewedAt: z.date().default(() => new Date("2026-05-
|
|
142
|
+
reviewedAt: z.date().default(() => new Date("2026-05-14T06:16:32.088Z"))
|
|
143
143
|
.transform(v => v.toISOString()),
|
|
144
144
|
type: z.literal("string"),
|
|
145
145
|
value: z.string(),
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -932,13 +932,13 @@ export type RetrieveAgentRequestResponseBody = {
|
|
|
932
932
|
*/
|
|
933
933
|
version?: string | undefined;
|
|
934
934
|
/**
|
|
935
|
-
* Entity storage path
|
|
935
|
+
* Entity storage path.
|
|
936
936
|
*
|
|
937
937
|
* @remarks
|
|
938
938
|
*
|
|
939
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
939
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
940
940
|
*
|
|
941
|
-
* With project-
|
|
941
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
942
942
|
*/
|
|
943
943
|
path: string;
|
|
944
944
|
/**
|
|
@@ -409,7 +409,7 @@ exports.RetrieveDatapointEvaluations3$inboundSchema = z.object({
|
|
|
409
409
|
source: exports.RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
410
410
|
.default("orq"),
|
|
411
411
|
reviewed_by_id: z.string(),
|
|
412
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
412
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.968Z").transform(v => new Date(v)),
|
|
413
413
|
type: z.literal("string_array"),
|
|
414
414
|
values: z.array(z.string()),
|
|
415
415
|
}).transform((v) => {
|
|
@@ -436,7 +436,7 @@ exports.RetrieveDatapointEvaluations2$inboundSchema = z.object({
|
|
|
436
436
|
human_review_id: z.string(),
|
|
437
437
|
source: exports.RetrieveDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
438
438
|
reviewed_by_id: z.string(),
|
|
439
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
439
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.967Z").transform(v => new Date(v)),
|
|
440
440
|
type: z.literal("number"),
|
|
441
441
|
value: z.number(),
|
|
442
442
|
}).transform((v) => {
|
|
@@ -462,7 +462,7 @@ exports.RetrieveDatapointEvaluations1$inboundSchema = z.object({
|
|
|
462
462
|
human_review_id: z.string(),
|
|
463
463
|
source: exports.RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
464
464
|
reviewed_by_id: z.string(),
|
|
465
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
465
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.967Z").transform(v => new Date(v)),
|
|
466
466
|
type: z.literal("string"),
|
|
467
467
|
value: z.string(),
|
|
468
468
|
}).transform((v) => {
|
|
@@ -509,7 +509,7 @@ exports.RetrieveDatapointResponseBody$inboundSchema = z.object({
|
|
|
509
509
|
updated_by_id: z.string().optional(),
|
|
510
510
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
511
511
|
.optional(),
|
|
512
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
512
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
513
513
|
}).transform((v) => {
|
|
514
514
|
return (0, primitives_js_1.remap)(v, {
|
|
515
515
|
"_id": "id",
|
|
@@ -78,7 +78,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
78
78
|
updated_by_id: z.string().optional(),
|
|
79
79
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
80
80
|
.optional(),
|
|
81
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
81
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
82
82
|
}).transform((v) => {
|
|
83
83
|
return (0, primitives_js_1.remap)(v, {
|
|
84
84
|
"_id": "id",
|
|
@@ -66,7 +66,7 @@ function retrieveDatasourceRequestToJSON(retrieveDatasourceRequest) {
|
|
|
66
66
|
exports.RetrieveDatasourceStatus$inboundSchema = z.nativeEnum(exports.RetrieveDatasourceStatus);
|
|
67
67
|
/** @internal */
|
|
68
68
|
exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
69
|
-
_id: z.string().default("
|
|
69
|
+
_id: z.string().default("01KRJJ2BCZYSFWHKW85VZC47AX"),
|
|
70
70
|
display_name: z.string(),
|
|
71
71
|
description: z.string().optional(),
|
|
72
72
|
status: exports.RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -83,7 +83,7 @@ exports.RetrieveIdentityResponseBody$inboundSchema = z.object({
|
|
|
83
83
|
metadata: z.record(z.any()).optional(),
|
|
84
84
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
85
85
|
.optional(),
|
|
86
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
86
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
87
87
|
metrics: z.nullable(z.lazy(() => exports.Metrics$inboundSchema)).optional(),
|
|
88
88
|
}).transform((v) => {
|
|
89
89
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -71,13 +71,13 @@ export type RetrieveToolResponseBodyCodeTool = {
|
|
|
71
71
|
export type RetrieveToolResponseBodyCodeExecutionTool = {
|
|
72
72
|
id: string;
|
|
73
73
|
/**
|
|
74
|
-
* Entity storage path
|
|
74
|
+
* Entity storage path.
|
|
75
75
|
*
|
|
76
76
|
* @remarks
|
|
77
77
|
*
|
|
78
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
78
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
79
79
|
*
|
|
80
|
-
* With project-
|
|
80
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
81
81
|
*/
|
|
82
82
|
path: string;
|
|
83
83
|
/**
|
|
@@ -186,13 +186,13 @@ export type RetrieveToolResponseBodyMcp = {
|
|
|
186
186
|
export type RetrieveToolResponseBodyMCPTool = {
|
|
187
187
|
id: string;
|
|
188
188
|
/**
|
|
189
|
-
* Entity storage path
|
|
189
|
+
* Entity storage path.
|
|
190
190
|
*
|
|
191
191
|
* @remarks
|
|
192
192
|
*
|
|
193
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
193
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
194
194
|
*
|
|
195
|
-
* With project-
|
|
195
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
196
196
|
*/
|
|
197
197
|
path: string;
|
|
198
198
|
/**
|
|
@@ -334,13 +334,13 @@ export type RetrieveToolResponseBodyHttp = {
|
|
|
334
334
|
export type RetrieveToolResponseBodyHTTPTool = {
|
|
335
335
|
id: string;
|
|
336
336
|
/**
|
|
337
|
-
* Entity storage path
|
|
337
|
+
* Entity storage path.
|
|
338
338
|
*
|
|
339
339
|
* @remarks
|
|
340
340
|
*
|
|
341
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
341
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
342
342
|
*
|
|
343
|
-
* With project-
|
|
343
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
344
344
|
*/
|
|
345
345
|
path: string;
|
|
346
346
|
/**
|
|
@@ -433,13 +433,13 @@ export type RetrieveToolResponseBodyJsonSchema = {
|
|
|
433
433
|
export type RetrieveToolResponseBodyJSONSchemaTool = {
|
|
434
434
|
id: string;
|
|
435
435
|
/**
|
|
436
|
-
* Entity storage path
|
|
436
|
+
* Entity storage path.
|
|
437
437
|
*
|
|
438
438
|
* @remarks
|
|
439
439
|
*
|
|
440
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
440
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
441
441
|
*
|
|
442
|
-
* With project-
|
|
442
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
443
443
|
*/
|
|
444
444
|
path: string;
|
|
445
445
|
/**
|
|
@@ -542,13 +542,13 @@ export type RetrieveToolResponseBodyFunction = {
|
|
|
542
542
|
export type RetrieveToolResponseBodyFunctionTool = {
|
|
543
543
|
id: string;
|
|
544
544
|
/**
|
|
545
|
-
* Entity storage path
|
|
545
|
+
* Entity storage path.
|
|
546
546
|
*
|
|
547
547
|
* @remarks
|
|
548
548
|
*
|
|
549
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
549
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
550
550
|
*
|
|
551
|
-
* With project-
|
|
551
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
552
552
|
*/
|
|
553
553
|
path: string;
|
|
554
554
|
/**
|
|
@@ -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_01KRJJ2AYQ03RCTH2EZEQDJ8DH"),
|
|
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("01KRJJ2AYKXTW4CCZJZSS11X6V"),
|
|
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_01KRJJ2AYEJJFM4N68KF3WKJ7H"),
|
|
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_01KRJJ2AY360M51ABJ33KVPC0Q"),
|
|
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_01KRJJ2AXYF4YJ7HTQXF2VR3ZX"),
|
|
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_01KRJJ2AXPKRRY96GN28AXWTEM"),
|
|
465
465
|
path: z.string(),
|
|
466
466
|
key: z.string(),
|
|
467
467
|
display_name: z.string().optional(),
|
|
@@ -1473,13 +1473,13 @@ export type RunAgentRequestBody = {
|
|
|
1473
1473
|
*/
|
|
1474
1474
|
memory?: RunAgentMemory | undefined;
|
|
1475
1475
|
/**
|
|
1476
|
-
* Entity storage path
|
|
1476
|
+
* Entity storage path.
|
|
1477
1477
|
*
|
|
1478
1478
|
* @remarks
|
|
1479
1479
|
*
|
|
1480
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1480
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
1481
1481
|
*
|
|
1482
|
-
* With project-
|
|
1482
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
1483
1483
|
*/
|
|
1484
1484
|
path: string;
|
|
1485
1485
|
/**
|
|
@@ -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("01KRJJ2AE44GBKAQFBJGM24YZX"),
|
|
1004
1004
|
name: z.string(),
|
|
1005
1005
|
description: z.string().optional(),
|
|
1006
1006
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1473,13 +1473,13 @@ export type StreamRunAgentRequestBody = {
|
|
|
1473
1473
|
*/
|
|
1474
1474
|
memory?: StreamRunAgentMemory | undefined;
|
|
1475
1475
|
/**
|
|
1476
|
-
* Entity storage path
|
|
1476
|
+
* Entity storage path.
|
|
1477
1477
|
*
|
|
1478
1478
|
* @remarks
|
|
1479
1479
|
*
|
|
1480
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1480
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
1481
1481
|
*
|
|
1482
|
-
* With project-
|
|
1482
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
1483
1483
|
*/
|
|
1484
1484
|
path: string;
|
|
1485
1485
|
/**
|
|
@@ -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("01KRJJ2AFTXRWMJJW43DK2FB91"),
|
|
967
967
|
name: z.string(),
|
|
968
968
|
description: z.string().optional(),
|
|
969
969
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -1174,13 +1174,13 @@ export type UpdateAgentRequestBody = {
|
|
|
1174
1174
|
fallbackModels?: Array<UpdateAgentFallbackModelConfiguration2 | string> | undefined;
|
|
1175
1175
|
settings?: UpdateAgentSettings | undefined;
|
|
1176
1176
|
/**
|
|
1177
|
-
* Entity storage path
|
|
1177
|
+
* Entity storage path.
|
|
1178
1178
|
*
|
|
1179
1179
|
* @remarks
|
|
1180
1180
|
*
|
|
1181
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1181
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
1182
1182
|
*
|
|
1183
|
-
* With project-
|
|
1183
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
1184
1184
|
*/
|
|
1185
1185
|
path?: string | undefined;
|
|
1186
1186
|
/**
|
|
@@ -2146,13 +2146,13 @@ export type UpdateAgentResponseBody = {
|
|
|
2146
2146
|
*/
|
|
2147
2147
|
version?: string | undefined;
|
|
2148
2148
|
/**
|
|
2149
|
-
* Entity storage path
|
|
2149
|
+
* Entity storage path.
|
|
2150
2150
|
*
|
|
2151
2151
|
* @remarks
|
|
2152
2152
|
*
|
|
2153
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
2153
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
2154
2154
|
*
|
|
2155
|
-
* With project-
|
|
2155
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
2156
2156
|
*/
|
|
2157
2157
|
path: string;
|
|
2158
2158
|
/**
|
|
@@ -745,7 +745,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
745
745
|
source: exports.UpdateDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
746
746
|
.default("orq"),
|
|
747
747
|
reviewed_by_id: z.string(),
|
|
748
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
748
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.994Z").transform(v => new Date(v)),
|
|
749
749
|
type: z.literal("string_array"),
|
|
750
750
|
values: z.array(z.string()),
|
|
751
751
|
}).transform((v) => {
|
|
@@ -772,7 +772,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
772
772
|
human_review_id: z.string(),
|
|
773
773
|
source: exports.UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
774
774
|
reviewed_by_id: z.string(),
|
|
775
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
775
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.994Z").transform(v => new Date(v)),
|
|
776
776
|
type: z.literal("number"),
|
|
777
777
|
value: z.number(),
|
|
778
778
|
}).transform((v) => {
|
|
@@ -798,7 +798,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
798
798
|
human_review_id: z.string(),
|
|
799
799
|
source: exports.UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
800
800
|
reviewed_by_id: z.string(),
|
|
801
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-
|
|
801
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-05-14T06:16:31.994Z").transform(v => new Date(v)),
|
|
802
802
|
type: z.literal("string"),
|
|
803
803
|
value: z.string(),
|
|
804
804
|
}).transform((v) => {
|
|
@@ -845,7 +845,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
845
845
|
updated_by_id: z.string().optional(),
|
|
846
846
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
847
847
|
.optional(),
|
|
848
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
848
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").transform(v => new Date(v)),
|
|
849
849
|
}).transform((v) => {
|
|
850
850
|
return (0, primitives_js_1.remap)(v, {
|
|
851
851
|
"_id": "id",
|
|
@@ -11,13 +11,13 @@ export type UpdateDatasetRequestBody = {
|
|
|
11
11
|
*/
|
|
12
12
|
projectId?: string | undefined;
|
|
13
13
|
/**
|
|
14
|
-
* Entity storage path
|
|
14
|
+
* Entity storage path.
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
17
|
*
|
|
18
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
18
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
19
19
|
*
|
|
20
|
-
* With project-
|
|
20
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
21
21
|
*/
|
|
22
22
|
path?: string | undefined;
|
|
23
23
|
};
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.string().optional(),
|
|
96
96
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
97
97
|
.optional(),
|
|
98
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-05-14T06:16:16.407Z").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("01KRJJ2BD6HEJ95P57X3Q7383M"),
|
|
84
84
|
display_name: z.string(),
|
|
85
85
|
description: z.string().optional(),
|
|
86
86
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|