@orq-ai/node 4.11.0-rc.2 → 4.11.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/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +18 -18
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +28 -28
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -10
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +16 -16
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +16 -16
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.d.ts +6 -6
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +22 -22
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +2 -5
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +1 -1
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +16 -16
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +6 -6
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +22 -22
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.d.ts +10 -10
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +17 -17
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +6 -6
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +55 -48
- package/src/models/operations/createtool.ts +26 -26
- package/src/models/operations/getalltools.ts +26 -26
- package/src/models/operations/getevals.ts +33 -30
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +3 -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/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +26 -26
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +33 -30
- package/src/models/operations/updatetool.ts +27 -27
- package/src/sdk/feedback.ts +2 -2
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-06-
|
|
274
|
+
"2026-06-08T13:07:17.066Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-06-
|
|
319
|
+
"2026-06-08T13:07:17.066Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -1207,7 +1207,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1207
1207
|
.default("orq"),
|
|
1208
1208
|
reviewed_by_id: z.string(),
|
|
1209
1209
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1210
|
-
"2026-06-
|
|
1210
|
+
"2026-06-08T13:07:39.435Z",
|
|
1211
1211
|
).transform(v => new Date(v)),
|
|
1212
1212
|
type: z.literal("string_array"),
|
|
1213
1213
|
values: z.array(z.string()),
|
|
@@ -1255,7 +1255,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1255
1255
|
),
|
|
1256
1256
|
reviewed_by_id: z.string(),
|
|
1257
1257
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1258
|
-
"2026-06-
|
|
1258
|
+
"2026-06-08T13:07:39.434Z",
|
|
1259
1259
|
).transform(v => new Date(v)),
|
|
1260
1260
|
type: z.literal("number"),
|
|
1261
1261
|
value: z.number(),
|
|
@@ -1300,7 +1300,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1300
1300
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
1301
1301
|
reviewed_by_id: z.string(),
|
|
1302
1302
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1303
|
-
"2026-06-
|
|
1303
|
+
"2026-06-08T13:07:39.434Z",
|
|
1304
1304
|
).transform(v => new Date(v)),
|
|
1305
1305
|
type: z.literal("string"),
|
|
1306
1306
|
value: z.string(),
|
|
@@ -1377,7 +1377,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1377
1377
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1378
1378
|
.optional(),
|
|
1379
1379
|
updated: z.string().datetime({ offset: true }).default(
|
|
1380
|
-
"2026-06-
|
|
1380
|
+
"2026-06-08T13:07:17.066Z",
|
|
1381
1381
|
).transform(v => new Date(v)),
|
|
1382
1382
|
}).transform((v) => {
|
|
1383
1383
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-06-
|
|
129
|
+
"2026-06-08T13:07:17.066Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -118,7 +118,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
118
118
|
z.ZodTypeDef,
|
|
119
119
|
unknown
|
|
120
120
|
> = z.object({
|
|
121
|
-
_id: z.string().default("
|
|
121
|
+
_id: z.string().default("01KTKNH3Q9HF3Q99C6RHZBWYJC"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -115,11 +115,11 @@ export type RetrieveToolResponseBodyCodeExecutionTool = {
|
|
|
115
115
|
/**
|
|
116
116
|
* The id of the user that created the tool
|
|
117
117
|
*/
|
|
118
|
-
createdById?: string | undefined;
|
|
118
|
+
createdById?: string | null | undefined;
|
|
119
119
|
/**
|
|
120
120
|
* The id of the user that last updated the tool
|
|
121
121
|
*/
|
|
122
|
-
updatedById?: string | undefined;
|
|
122
|
+
updatedById?: string | null | undefined;
|
|
123
123
|
projectId: string;
|
|
124
124
|
workspaceId: string;
|
|
125
125
|
created: string;
|
|
@@ -241,11 +241,11 @@ export type RetrieveToolResponseBodyMCPTool = {
|
|
|
241
241
|
/**
|
|
242
242
|
* The id of the user that created the tool
|
|
243
243
|
*/
|
|
244
|
-
createdById?: string | undefined;
|
|
244
|
+
createdById?: string | null | undefined;
|
|
245
245
|
/**
|
|
246
246
|
* The id of the user that last updated the tool
|
|
247
247
|
*/
|
|
248
|
-
updatedById?: string | undefined;
|
|
248
|
+
updatedById?: string | null | undefined;
|
|
249
249
|
projectId: string;
|
|
250
250
|
workspaceId: string;
|
|
251
251
|
created: string;
|
|
@@ -402,11 +402,11 @@ export type RetrieveToolResponseBodyHTTPTool = {
|
|
|
402
402
|
/**
|
|
403
403
|
* The id of the user that created the tool
|
|
404
404
|
*/
|
|
405
|
-
createdById?: string | undefined;
|
|
405
|
+
createdById?: string | null | undefined;
|
|
406
406
|
/**
|
|
407
407
|
* The id of the user that last updated the tool
|
|
408
408
|
*/
|
|
409
|
-
updatedById?: string | undefined;
|
|
409
|
+
updatedById?: string | null | undefined;
|
|
410
410
|
projectId: string;
|
|
411
411
|
workspaceId: string;
|
|
412
412
|
created: string;
|
|
@@ -503,11 +503,11 @@ export type RetrieveToolResponseBodyJSONSchemaTool = {
|
|
|
503
503
|
/**
|
|
504
504
|
* The id of the user that created the tool
|
|
505
505
|
*/
|
|
506
|
-
createdById?: string | undefined;
|
|
506
|
+
createdById?: string | null | undefined;
|
|
507
507
|
/**
|
|
508
508
|
* The id of the user that last updated the tool
|
|
509
509
|
*/
|
|
510
|
-
updatedById?: string | undefined;
|
|
510
|
+
updatedById?: string | null | undefined;
|
|
511
511
|
projectId: string;
|
|
512
512
|
workspaceId: string;
|
|
513
513
|
created: string;
|
|
@@ -618,11 +618,11 @@ export type RetrieveToolResponseBodyFunctionTool = {
|
|
|
618
618
|
/**
|
|
619
619
|
* The id of the user that created the tool
|
|
620
620
|
*/
|
|
621
|
-
createdById?: string | undefined;
|
|
621
|
+
createdById?: string | null | undefined;
|
|
622
622
|
/**
|
|
623
623
|
* The id of the user that last updated the tool
|
|
624
624
|
*/
|
|
625
|
-
updatedById?: string | undefined;
|
|
625
|
+
updatedById?: string | null | undefined;
|
|
626
626
|
projectId: string;
|
|
627
627
|
workspaceId: string;
|
|
628
628
|
created: string;
|
|
@@ -753,13 +753,13 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
753
753
|
z.ZodTypeDef,
|
|
754
754
|
unknown
|
|
755
755
|
> = z.object({
|
|
756
|
-
_id: z.string().default("
|
|
756
|
+
_id: z.string().default("tool_01KTKNH3M4F7JMRD2EC8E4CBBB"),
|
|
757
757
|
path: z.string(),
|
|
758
758
|
key: z.string(),
|
|
759
759
|
display_name: z.string().optional(),
|
|
760
760
|
description: z.string(),
|
|
761
|
-
created_by_id: z.string().optional(),
|
|
762
|
-
updated_by_id: z.string().optional(),
|
|
761
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
762
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
763
763
|
project_id: z.string(),
|
|
764
764
|
workspace_id: z.string(),
|
|
765
765
|
created: z.string(),
|
|
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
859
859
|
z.ZodTypeDef,
|
|
860
860
|
unknown
|
|
861
861
|
> = z.object({
|
|
862
|
-
id: z.string().default("
|
|
862
|
+
id: z.string().default("01KTKNH3M32NSRAYHE1QJEX9XZ"),
|
|
863
863
|
name: z.string(),
|
|
864
864
|
description: z.string().optional(),
|
|
865
865
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -917,13 +917,13 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KTKNH3M2DD0MJ6T341WTSV2X"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
924
924
|
description: z.string(),
|
|
925
|
-
created_by_id: z.string().optional(),
|
|
926
|
-
updated_by_id: z.string().optional(),
|
|
925
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
926
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
927
927
|
project_id: z.string(),
|
|
928
928
|
workspace_id: z.string(),
|
|
929
929
|
created: z.string(),
|
|
@@ -1108,13 +1108,13 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1108
1108
|
z.ZodTypeDef,
|
|
1109
1109
|
unknown
|
|
1110
1110
|
> = z.object({
|
|
1111
|
-
_id: z.string().default("
|
|
1111
|
+
_id: z.string().default("tool_01KTKNH3M0R21XGT9RW2HEG6HN"),
|
|
1112
1112
|
path: z.string(),
|
|
1113
1113
|
key: z.string(),
|
|
1114
1114
|
display_name: z.string().optional(),
|
|
1115
1115
|
description: z.string(),
|
|
1116
|
-
created_by_id: z.string().optional(),
|
|
1117
|
-
updated_by_id: z.string().optional(),
|
|
1116
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1117
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1118
1118
|
project_id: z.string(),
|
|
1119
1119
|
workspace_id: z.string(),
|
|
1120
1120
|
created: z.string(),
|
|
@@ -1204,13 +1204,13 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1204
1204
|
z.ZodTypeDef,
|
|
1205
1205
|
unknown
|
|
1206
1206
|
> = z.object({
|
|
1207
|
-
_id: z.string().default("
|
|
1207
|
+
_id: z.string().default("tool_01KTKNH3KY9YP24H3EF3CD547F"),
|
|
1208
1208
|
path: z.string(),
|
|
1209
1209
|
key: z.string(),
|
|
1210
1210
|
display_name: z.string().optional(),
|
|
1211
1211
|
description: z.string(),
|
|
1212
|
-
created_by_id: z.string().optional(),
|
|
1213
|
-
updated_by_id: z.string().optional(),
|
|
1212
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1213
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1214
1214
|
project_id: z.string(),
|
|
1215
1215
|
workspace_id: z.string(),
|
|
1216
1216
|
created: z.string(),
|
|
@@ -1310,13 +1310,13 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1310
1310
|
z.ZodTypeDef,
|
|
1311
1311
|
unknown
|
|
1312
1312
|
> = z.object({
|
|
1313
|
-
_id: z.string().default("
|
|
1313
|
+
_id: z.string().default("tool_01KTKNH3KXRJA93F7G8EZYEHF7"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|
|
1317
1317
|
description: z.string(),
|
|
1318
|
-
created_by_id: z.string().optional(),
|
|
1319
|
-
updated_by_id: z.string().optional(),
|
|
1318
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1319
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1320
1320
|
project_id: z.string(),
|
|
1321
1321
|
workspace_id: z.string(),
|
|
1322
1322
|
created: z.string(),
|
|
@@ -3626,7 +3626,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3626
3626
|
z.ZodTypeDef,
|
|
3627
3627
|
Tools
|
|
3628
3628
|
> = z.object({
|
|
3629
|
-
id: z.string().default("
|
|
3629
|
+
id: z.string().default("01KTKNH3CPN1QZMENW1493XVFF"),
|
|
3630
3630
|
name: z.string(),
|
|
3631
3631
|
description: z.string().optional(),
|
|
3632
3632
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3675
3675
|
z.ZodTypeDef,
|
|
3676
3676
|
AgentToolInputRunTools
|
|
3677
3677
|
> = z.object({
|
|
3678
|
-
id: z.string().default("
|
|
3678
|
+
id: z.string().default("01KTKNH3E2VB9B1T40QQKNVW65"),
|
|
3679
3679
|
name: z.string(),
|
|
3680
3680
|
description: z.string().optional(),
|
|
3681
3681
|
schema: z.lazy(() =>
|
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-06-
|
|
2361
|
+
"2026-06-08T13:07:39.464Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-06-
|
|
2407
|
+
"2026-06-08T13:07:39.463Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-06-
|
|
2452
|
+
"2026-06-08T13:07:39.462Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-06-
|
|
2533
|
+
"2026-06-08T13:07:17.066Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$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
|
-
"2026-06-
|
|
185
|
+
"2026-06-08T13:07:17.066Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KTKNH3QDABEVYHCA34ASKR3A"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -867,10 +867,13 @@ export type UpdateEvalLlm2 = {
|
|
|
867
867
|
| null
|
|
868
868
|
| undefined;
|
|
869
869
|
type: UpdateEvalLLMEvalsType;
|
|
870
|
-
repetitions?: number | undefined;
|
|
870
|
+
repetitions?: number | null | undefined;
|
|
871
871
|
prompt: string;
|
|
872
|
-
categories?: Array<string> | undefined;
|
|
873
|
-
categoricalLabels?:
|
|
872
|
+
categories?: Array<string> | null | undefined;
|
|
873
|
+
categoricalLabels?:
|
|
874
|
+
| Array<UpdateEvalLLMEvalsCategoricalLabels>
|
|
875
|
+
| null
|
|
876
|
+
| undefined;
|
|
874
877
|
datasetId?: string | undefined;
|
|
875
878
|
key: string;
|
|
876
879
|
mode: "jury";
|
|
@@ -945,10 +948,10 @@ export type UpdateEvalLlm1 = {
|
|
|
945
948
|
| null
|
|
946
949
|
| undefined;
|
|
947
950
|
type: UpdateEvalLLMType;
|
|
948
|
-
repetitions?: number | undefined;
|
|
951
|
+
repetitions?: number | null | undefined;
|
|
949
952
|
prompt: string;
|
|
950
|
-
categories?: Array<string> | undefined;
|
|
951
|
-
categoricalLabels?: Array<UpdateEvalLLMCategoricalLabels> | undefined;
|
|
953
|
+
categories?: Array<string> | null | undefined;
|
|
954
|
+
categoricalLabels?: Array<UpdateEvalLLMCategoricalLabels> | null | undefined;
|
|
952
955
|
datasetId?: string | undefined;
|
|
953
956
|
key: string;
|
|
954
957
|
mode: "single";
|
|
@@ -1550,8 +1553,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1550
1553
|
> = z.object({
|
|
1551
1554
|
_id: z.string(),
|
|
1552
1555
|
description: z.string(),
|
|
1553
|
-
created: z.string().default("2026-06-
|
|
1554
|
-
updated: z.string().default("2026-06-
|
|
1556
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
1557
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
1555
1558
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1556
1559
|
guardrail_config: z.nullable(
|
|
1557
1560
|
z.union([
|
|
@@ -1746,8 +1749,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1746
1749
|
> = z.object({
|
|
1747
1750
|
_id: z.string(),
|
|
1748
1751
|
description: z.string(),
|
|
1749
|
-
created: z.string().default("2026-06-
|
|
1750
|
-
updated: z.string().default("2026-06-
|
|
1752
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
1753
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
1751
1754
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1752
1755
|
guardrail_config: z.nullable(
|
|
1753
1756
|
z.union([
|
|
@@ -2605,8 +2608,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2605
2608
|
> = z.object({
|
|
2606
2609
|
_id: z.string(),
|
|
2607
2610
|
description: z.string(),
|
|
2608
|
-
created: z.string().default("2026-06-
|
|
2609
|
-
updated: z.string().default("2026-06-
|
|
2611
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2612
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2610
2613
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2611
2614
|
guardrail_config: z.nullable(
|
|
2612
2615
|
z.union([
|
|
@@ -2824,8 +2827,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2824
2827
|
> = z.object({
|
|
2825
2828
|
_id: z.string(),
|
|
2826
2829
|
description: z.string(),
|
|
2827
|
-
created: z.string().default("2026-06-
|
|
2828
|
-
updated: z.string().default("2026-06-
|
|
2830
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2831
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2829
2832
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2830
2833
|
guardrail_config: z.nullable(
|
|
2831
2834
|
z.union([
|
|
@@ -2993,8 +2996,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2993
2996
|
> = z.object({
|
|
2994
2997
|
_id: z.string(),
|
|
2995
2998
|
description: z.string(),
|
|
2996
|
-
created: z.string().default("2026-06-
|
|
2997
|
-
updated: z.string().default("2026-06-
|
|
2999
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3000
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2998
3001
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2999
3002
|
guardrail_config: z.nullable(
|
|
3000
3003
|
z.union([
|
|
@@ -3147,8 +3150,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3147
3150
|
> = z.object({
|
|
3148
3151
|
_id: z.string(),
|
|
3149
3152
|
description: z.string(),
|
|
3150
|
-
created: z.string().default("2026-06-
|
|
3151
|
-
updated: z.string().default("2026-06-
|
|
3153
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3154
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3152
3155
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3153
3156
|
guardrail_config: z.nullable(
|
|
3154
3157
|
z.union([
|
|
@@ -3510,8 +3513,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3510
3513
|
> = z.object({
|
|
3511
3514
|
_id: z.string(),
|
|
3512
3515
|
description: z.string(),
|
|
3513
|
-
created: z.string().default("2026-06-
|
|
3514
|
-
updated: z.string().default("2026-06-
|
|
3516
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3517
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3515
3518
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3516
3519
|
guardrail_config: z.nullable(
|
|
3517
3520
|
z.union([
|
|
@@ -3527,11 +3530,11 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3527
3530
|
]),
|
|
3528
3531
|
).optional(),
|
|
3529
3532
|
type: UpdateEvalLLMEvalsType$inboundSchema,
|
|
3530
|
-
repetitions: z.number().int().optional(),
|
|
3533
|
+
repetitions: z.nullable(z.number().int()).optional(),
|
|
3531
3534
|
prompt: z.string(),
|
|
3532
|
-
categories: z.array(z.string()).optional(),
|
|
3533
|
-
categorical_labels: z.
|
|
3534
|
-
z.lazy(() => UpdateEvalLLMEvalsCategoricalLabels$inboundSchema),
|
|
3535
|
+
categories: z.nullable(z.array(z.string())).optional(),
|
|
3536
|
+
categorical_labels: z.nullable(
|
|
3537
|
+
z.array(z.lazy(() => UpdateEvalLLMEvalsCategoricalLabels$inboundSchema)),
|
|
3535
3538
|
).optional(),
|
|
3536
3539
|
dataset_id: z.string().optional(),
|
|
3537
3540
|
key: z.string(),
|
|
@@ -3723,8 +3726,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3723
3726
|
> = z.object({
|
|
3724
3727
|
_id: z.string(),
|
|
3725
3728
|
description: z.string(),
|
|
3726
|
-
created: z.string().default("2026-06-
|
|
3727
|
-
updated: z.string().default("2026-06-
|
|
3729
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3730
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3728
3731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3729
3732
|
guardrail_config: z.nullable(
|
|
3730
3733
|
z.union([
|
|
@@ -3740,11 +3743,11 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3740
3743
|
]),
|
|
3741
3744
|
).optional(),
|
|
3742
3745
|
type: UpdateEvalLLMType$inboundSchema,
|
|
3743
|
-
repetitions: z.number().int().optional(),
|
|
3746
|
+
repetitions: z.nullable(z.number().int()).optional(),
|
|
3744
3747
|
prompt: z.string(),
|
|
3745
|
-
categories: z.array(z.string()).optional(),
|
|
3746
|
-
categorical_labels: z.
|
|
3747
|
-
z.lazy(() => UpdateEvalLLMCategoricalLabels$inboundSchema),
|
|
3748
|
+
categories: z.nullable(z.array(z.string())).optional(),
|
|
3749
|
+
categorical_labels: z.nullable(
|
|
3750
|
+
z.array(z.lazy(() => UpdateEvalLLMCategoricalLabels$inboundSchema)),
|
|
3748
3751
|
).optional(),
|
|
3749
3752
|
dataset_id: z.string().optional(),
|
|
3750
3753
|
key: z.string(),
|
|
@@ -736,11 +736,11 @@ export type UpdateToolResponseBodyCodeExecutionTool = {
|
|
|
736
736
|
/**
|
|
737
737
|
* The id of the user that created the tool
|
|
738
738
|
*/
|
|
739
|
-
createdById?: string | undefined;
|
|
739
|
+
createdById?: string | null | undefined;
|
|
740
740
|
/**
|
|
741
741
|
* The id of the user that last updated the tool
|
|
742
742
|
*/
|
|
743
|
-
updatedById?: string | undefined;
|
|
743
|
+
updatedById?: string | null | undefined;
|
|
744
744
|
projectId: string;
|
|
745
745
|
workspaceId: string;
|
|
746
746
|
created: string;
|
|
@@ -860,11 +860,11 @@ export type UpdateToolResponseBodyMCPTool = {
|
|
|
860
860
|
/**
|
|
861
861
|
* The id of the user that created the tool
|
|
862
862
|
*/
|
|
863
|
-
createdById?: string | undefined;
|
|
863
|
+
createdById?: string | null | undefined;
|
|
864
864
|
/**
|
|
865
865
|
* The id of the user that last updated the tool
|
|
866
866
|
*/
|
|
867
|
-
updatedById?: string | undefined;
|
|
867
|
+
updatedById?: string | null | undefined;
|
|
868
868
|
projectId: string;
|
|
869
869
|
workspaceId: string;
|
|
870
870
|
created: string;
|
|
@@ -1019,11 +1019,11 @@ export type UpdateToolResponseBodyHTTPTool = {
|
|
|
1019
1019
|
/**
|
|
1020
1020
|
* The id of the user that created the tool
|
|
1021
1021
|
*/
|
|
1022
|
-
createdById?: string | undefined;
|
|
1022
|
+
createdById?: string | null | undefined;
|
|
1023
1023
|
/**
|
|
1024
1024
|
* The id of the user that last updated the tool
|
|
1025
1025
|
*/
|
|
1026
|
-
updatedById?: string | undefined;
|
|
1026
|
+
updatedById?: string | null | undefined;
|
|
1027
1027
|
projectId: string;
|
|
1028
1028
|
workspaceId: string;
|
|
1029
1029
|
created: string;
|
|
@@ -1120,11 +1120,11 @@ export type UpdateToolResponseBodyJSONSchemaTool = {
|
|
|
1120
1120
|
/**
|
|
1121
1121
|
* The id of the user that created the tool
|
|
1122
1122
|
*/
|
|
1123
|
-
createdById?: string | undefined;
|
|
1123
|
+
createdById?: string | null | undefined;
|
|
1124
1124
|
/**
|
|
1125
1125
|
* The id of the user that last updated the tool
|
|
1126
1126
|
*/
|
|
1127
|
-
updatedById?: string | undefined;
|
|
1127
|
+
updatedById?: string | null | undefined;
|
|
1128
1128
|
projectId: string;
|
|
1129
1129
|
workspaceId: string;
|
|
1130
1130
|
created: string;
|
|
@@ -1233,11 +1233,11 @@ export type UpdateToolResponseBodyFunctionTool = {
|
|
|
1233
1233
|
/**
|
|
1234
1234
|
* The id of the user that created the tool
|
|
1235
1235
|
*/
|
|
1236
|
-
createdById?: string | undefined;
|
|
1236
|
+
createdById?: string | null | undefined;
|
|
1237
1237
|
/**
|
|
1238
1238
|
* The id of the user that last updated the tool
|
|
1239
1239
|
*/
|
|
1240
|
-
updatedById?: string | undefined;
|
|
1240
|
+
updatedById?: string | null | undefined;
|
|
1241
1241
|
projectId: string;
|
|
1242
1242
|
workspaceId: string;
|
|
1243
1243
|
created: string;
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KTKNH3KFKX7AK3WV20RRP38T"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,13 +2193,13 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KTKNH3K8JFHFTR5BCNDZ0VGJ"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
2200
2200
|
description: z.string(),
|
|
2201
|
-
created_by_id: z.string().optional(),
|
|
2202
|
-
updated_by_id: z.string().optional(),
|
|
2201
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2202
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2203
2203
|
project_id: z.string(),
|
|
2204
2204
|
workspace_id: z.string(),
|
|
2205
2205
|
created: z.string(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KTKNH3K7NCSFM9850QJ3ANWP"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,13 +2354,13 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KTKNH3K61609S0WBV1PP0Q30"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
2361
2361
|
description: z.string(),
|
|
2362
|
-
created_by_id: z.string().optional(),
|
|
2363
|
-
updated_by_id: z.string().optional(),
|
|
2362
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2363
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2364
2364
|
project_id: z.string(),
|
|
2365
2365
|
workspace_id: z.string(),
|
|
2366
2366
|
created: z.string(),
|
|
@@ -2543,13 +2543,13 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KTKNH3K3ZMVWEFC2FAA2678F"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
2550
2550
|
description: z.string(),
|
|
2551
|
-
created_by_id: z.string().optional(),
|
|
2552
|
-
updated_by_id: z.string().optional(),
|
|
2551
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2552
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2553
2553
|
project_id: z.string(),
|
|
2554
2554
|
workspace_id: z.string(),
|
|
2555
2555
|
created: z.string(),
|
|
@@ -2638,13 +2638,13 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KTKNH3K1R2G6CZCRRPSWGNBD"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
2645
2645
|
description: z.string(),
|
|
2646
|
-
created_by_id: z.string().optional(),
|
|
2647
|
-
updated_by_id: z.string().optional(),
|
|
2646
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2647
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2648
2648
|
project_id: z.string(),
|
|
2649
2649
|
workspace_id: z.string(),
|
|
2650
2650
|
created: z.string(),
|
|
@@ -2741,13 +2741,13 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KTKNH3K0R0TY6AW2FBX8KMAD"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
|
2748
2748
|
description: z.string(),
|
|
2749
|
-
created_by_id: z.string().optional(),
|
|
2750
|
-
updated_by_id: z.string().optional(),
|
|
2749
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2750
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2751
2751
|
project_id: z.string(),
|
|
2752
2752
|
workspace_id: z.string(),
|
|
2753
2753
|
created: z.string(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -45,10 +45,10 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
48
|
+
* Create a new project
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
*
|
|
51
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access.
|
|
52
52
|
*/
|
|
53
53
|
async create(
|
|
54
54
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|