@orq-ai/node 4.11.0-rc.30 → 4.11.0-rc.31
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.js +16 -16
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- 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 +16 -16
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +1 -4
|
@@ -1074,8 +1074,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1074
1074
|
> = z.object({
|
|
1075
1075
|
_id: z.string(),
|
|
1076
1076
|
description: z.string(),
|
|
1077
|
-
created: z.string().default("2026-06-
|
|
1078
|
-
updated: z.string().default("2026-06-
|
|
1077
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
1078
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
1079
1079
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1080
1080
|
guardrail_config: z.nullable(
|
|
1081
1081
|
z.union([
|
|
@@ -1256,8 +1256,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1256
1256
|
> = z.object({
|
|
1257
1257
|
_id: z.string(),
|
|
1258
1258
|
description: z.string(),
|
|
1259
|
-
created: z.string().default("2026-06-
|
|
1260
|
-
updated: z.string().default("2026-06-
|
|
1259
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
1260
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
1261
1261
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1262
1262
|
guardrail_config: z.nullable(
|
|
1263
1263
|
z.union([
|
|
@@ -2088,8 +2088,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2088
2088
|
> = z.object({
|
|
2089
2089
|
_id: z.string(),
|
|
2090
2090
|
description: z.string(),
|
|
2091
|
-
created: z.string().default("2026-06-
|
|
2092
|
-
updated: z.string().default("2026-06-
|
|
2091
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2092
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2093
2093
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2094
2094
|
guardrail_config: z.nullable(
|
|
2095
2095
|
z.union([
|
|
@@ -2272,8 +2272,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2272
2272
|
> = z.object({
|
|
2273
2273
|
_id: z.string(),
|
|
2274
2274
|
description: z.string(),
|
|
2275
|
-
created: z.string().default("2026-06-
|
|
2276
|
-
updated: z.string().default("2026-06-
|
|
2275
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2276
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2277
2277
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2278
2278
|
guardrail_config: z.nullable(
|
|
2279
2279
|
z.union([
|
|
@@ -2452,8 +2452,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2452
2452
|
> = z.object({
|
|
2453
2453
|
_id: z.string(),
|
|
2454
2454
|
description: z.string(),
|
|
2455
|
-
created: z.string().default("2026-06-
|
|
2456
|
-
updated: z.string().default("2026-06-
|
|
2455
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2456
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2457
2457
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2458
2458
|
guardrail_config: z.nullable(
|
|
2459
2459
|
z.union([
|
|
@@ -2644,8 +2644,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2644
2644
|
> = z.object({
|
|
2645
2645
|
_id: z.string(),
|
|
2646
2646
|
description: z.string(),
|
|
2647
|
-
created: z.string().default("2026-06-
|
|
2648
|
-
updated: z.string().default("2026-06-
|
|
2647
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2648
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2649
2649
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2650
2650
|
guardrail_config: z.nullable(
|
|
2651
2651
|
z.union([
|
|
@@ -3012,8 +3012,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
3012
3012
|
> = z.object({
|
|
3013
3013
|
_id: z.string(),
|
|
3014
3014
|
description: z.string(),
|
|
3015
|
-
created: z.string().default("2026-06-
|
|
3016
|
-
updated: z.string().default("2026-06-
|
|
3015
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3016
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3017
3017
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3018
3018
|
guardrail_config: z.nullable(
|
|
3019
3019
|
z.union([
|
|
@@ -3225,8 +3225,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3225
3225
|
> = z.object({
|
|
3226
3226
|
_id: z.string(),
|
|
3227
3227
|
description: z.string(),
|
|
3228
|
-
created: z.string().default("2026-06-
|
|
3229
|
-
updated: z.string().default("2026-06-
|
|
3228
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3229
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3230
3230
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3231
3231
|
guardrail_config: z.nullable(
|
|
3232
3232
|
z.union([
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-06-
|
|
143
|
+
"2026-06-17T14:01:25.519Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-06-
|
|
188
|
+
"2026-06-17T14:01:25.519Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-06-
|
|
144
|
+
"2026-06-17T14:01:25.519Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-06-
|
|
189
|
+
"2026-06-17T14:01:25.519Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -1522,7 +1522,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1522
1522
|
explanation: z.string().optional(),
|
|
1523
1523
|
reviewed_by_id: z.string(),
|
|
1524
1524
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1525
|
-
"2026-06-
|
|
1525
|
+
"2026-06-17T14:01:52.324Z",
|
|
1526
1526
|
).transform(v => new Date(v)),
|
|
1527
1527
|
type: z.literal("string_array"),
|
|
1528
1528
|
values: z.array(z.string()),
|
|
@@ -1626,7 +1626,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1626
1626
|
explanation: z.string().optional(),
|
|
1627
1627
|
reviewed_by_id: z.string(),
|
|
1628
1628
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1629
|
-
"2026-06-
|
|
1629
|
+
"2026-06-17T14:01:52.323Z",
|
|
1630
1630
|
).transform(v => new Date(v)),
|
|
1631
1631
|
type: z.literal("number"),
|
|
1632
1632
|
value: z.number(),
|
|
@@ -1726,7 +1726,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1726
1726
|
explanation: z.string().optional(),
|
|
1727
1727
|
reviewed_by_id: z.string(),
|
|
1728
1728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1729
|
-
"2026-06-
|
|
1729
|
+
"2026-06-17T14:01:52.322Z",
|
|
1730
1730
|
).transform(v => new Date(v)),
|
|
1731
1731
|
type: z.literal("string"),
|
|
1732
1732
|
value: z.string(),
|
|
@@ -1807,7 +1807,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1807
1807
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1808
1808
|
.optional(),
|
|
1809
1809
|
updated: z.string().datetime({ offset: true }).default(
|
|
1810
|
-
"2026-06-
|
|
1810
|
+
"2026-06-17T14:01:25.519Z",
|
|
1811
1811
|
).transform(v => new Date(v)),
|
|
1812
1812
|
}).transform((v) => {
|
|
1813
1813
|
return remap$(v, {
|
|
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
169
169
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
170
170
|
.optional(),
|
|
171
171
|
updated: z.string().datetime({ offset: true }).default(
|
|
172
|
-
"2026-06-
|
|
172
|
+
"2026-06-17T14:01:25.519Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
182
182
|
z.ZodTypeDef,
|
|
183
183
|
unknown
|
|
184
184
|
> = z.object({
|
|
185
|
-
_id: z.string().default("
|
|
185
|
+
_id: z.string().default("01KVAY6VC3GE84CCREE1W2T6J8"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-06-
|
|
321
|
+
"2026-06-17T14:01:25.519Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-06-
|
|
367
|
+
"2026-06-17T14:01:25.519Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -193,7 +193,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
193
193
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
194
194
|
.default("orq"),
|
|
195
195
|
explanation: z.string().optional(),
|
|
196
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
196
|
+
reviewedAt: z.date().default(() => new Date("2026-06-17T14:01:52.549Z"))
|
|
197
197
|
.transform(v => v.toISOString()),
|
|
198
198
|
type: z.literal("string_array"),
|
|
199
199
|
values: z.array(z.string()),
|
|
@@ -247,7 +247,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
247
247
|
"orq",
|
|
248
248
|
),
|
|
249
249
|
explanation: z.string().optional(),
|
|
250
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
250
|
+
reviewedAt: z.date().default(() => new Date("2026-06-17T14:01:52.548Z"))
|
|
251
251
|
.transform(v => v.toISOString()),
|
|
252
252
|
type: z.literal("number"),
|
|
253
253
|
value: z.number(),
|
|
@@ -305,7 +305,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
305
305
|
humanReviewId: z.string().optional(),
|
|
306
306
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
307
307
|
explanation: z.string().optional(),
|
|
308
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
308
|
+
reviewedAt: z.date().default(() => new Date("2026-06-17T14:01:52.548Z"))
|
|
309
309
|
.transform(v => v.toISOString()),
|
|
310
310
|
type: z.literal("string"),
|
|
311
311
|
value: z.string(),
|
|
@@ -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-17T14:01:25.519Z",
|
|
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-17T14:01:25.519Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -1456,7 +1456,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1456
1456
|
explanation: z.string().optional(),
|
|
1457
1457
|
reviewed_by_id: z.string(),
|
|
1458
1458
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1459
|
-
"2026-06-
|
|
1459
|
+
"2026-06-17T14:01:52.336Z",
|
|
1460
1460
|
).transform(v => new Date(v)),
|
|
1461
1461
|
type: z.literal("string_array"),
|
|
1462
1462
|
values: z.array(z.string()),
|
|
@@ -1554,7 +1554,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1554
1554
|
explanation: z.string().optional(),
|
|
1555
1555
|
reviewed_by_id: z.string(),
|
|
1556
1556
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1557
|
-
"2026-06-
|
|
1557
|
+
"2026-06-17T14:01:52.335Z",
|
|
1558
1558
|
).transform(v => new Date(v)),
|
|
1559
1559
|
type: z.literal("number"),
|
|
1560
1560
|
value: z.number(),
|
|
@@ -1642,7 +1642,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1642
1642
|
explanation: z.string().optional(),
|
|
1643
1643
|
reviewed_by_id: z.string(),
|
|
1644
1644
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1645
|
-
"2026-06-
|
|
1645
|
+
"2026-06-17T14:01:52.333Z",
|
|
1646
1646
|
).transform(v => new Date(v)),
|
|
1647
1647
|
type: z.literal("string"),
|
|
1648
1648
|
value: z.string(),
|
|
@@ -1721,7 +1721,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1721
1721
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1722
1722
|
.optional(),
|
|
1723
1723
|
updated: z.string().datetime({ offset: true }).default(
|
|
1724
|
-
"2026-06-
|
|
1724
|
+
"2026-06-17T14:01:25.519Z",
|
|
1725
1725
|
).transform(v => new Date(v)),
|
|
1726
1726
|
}).transform((v) => {
|
|
1727
1727
|
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-17T14:01:25.519Z",
|
|
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("01KVAY6VC5V6P7QZDNRNTJWVQC"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -753,7 +753,7 @@ 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_01KVAY6V8WDG9J9DVGGG3Z26Q0"),
|
|
757
757
|
path: z.string(),
|
|
758
758
|
key: z.string(),
|
|
759
759
|
display_name: z.string().optional(),
|
|
@@ -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("01KVAY6V8VEZJTP6B5DXJQ4YAB"),
|
|
863
863
|
name: z.string(),
|
|
864
864
|
description: z.string().optional(),
|
|
865
865
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ 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_01KVAY6V8SRVDRMJCE5MKCZKX7"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1108,7 +1108,7 @@ 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_01KVAY6V8PGZ2BTNPQD36MR3MB"),
|
|
1112
1112
|
path: z.string(),
|
|
1113
1113
|
key: z.string(),
|
|
1114
1114
|
display_name: z.string().optional(),
|
|
@@ -1204,7 +1204,7 @@ 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_01KVAY6V8M4GDYP9AQ81V88PY8"),
|
|
1208
1208
|
path: z.string(),
|
|
1209
1209
|
key: z.string(),
|
|
1210
1210
|
display_name: z.string().optional(),
|
|
@@ -1310,7 +1310,7 @@ 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_01KVAY6V8KVD5D043Z07RF00KE"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|
|
@@ -3861,7 +3861,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3861
3861
|
z.ZodTypeDef,
|
|
3862
3862
|
Tools
|
|
3863
3863
|
> = z.object({
|
|
3864
|
-
id: z.string().default("
|
|
3864
|
+
id: z.string().default("01KVAY6V1237WKRA172F6KAX7K"),
|
|
3865
3865
|
name: z.string(),
|
|
3866
3866
|
description: z.string().optional(),
|
|
3867
3867
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3916,7 +3916,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3916
3916
|
z.ZodTypeDef,
|
|
3917
3917
|
AgentToolInputRunTools
|
|
3918
3918
|
> = z.object({
|
|
3919
|
-
id: z.string().default("
|
|
3919
|
+
id: z.string().default("01KVAY6V2GEFN4NZ6CWRJYQE5M"),
|
|
3920
3920
|
name: z.string(),
|
|
3921
3921
|
description: z.string().optional(),
|
|
3922
3922
|
schema: z.lazy(() =>
|
|
@@ -2629,7 +2629,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2629
2629
|
explanation: z.string().optional(),
|
|
2630
2630
|
reviewed_by_id: z.string(),
|
|
2631
2631
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2632
|
-
"2026-06-
|
|
2632
|
+
"2026-06-17T14:01:52.397Z",
|
|
2633
2633
|
).transform(v => new Date(v)),
|
|
2634
2634
|
type: z.literal("string_array"),
|
|
2635
2635
|
values: z.array(z.string()),
|
|
@@ -2726,7 +2726,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2726
2726
|
explanation: z.string().optional(),
|
|
2727
2727
|
reviewed_by_id: z.string(),
|
|
2728
2728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2729
|
-
"2026-06-
|
|
2729
|
+
"2026-06-17T14:01:52.395Z",
|
|
2730
2730
|
).transform(v => new Date(v)),
|
|
2731
2731
|
type: z.literal("number"),
|
|
2732
2732
|
value: z.number(),
|
|
@@ -2815,7 +2815,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2815
2815
|
explanation: z.string().optional(),
|
|
2816
2816
|
reviewed_by_id: z.string(),
|
|
2817
2817
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2818
|
-
"2026-06-
|
|
2818
|
+
"2026-06-17T14:01:52.393Z",
|
|
2819
2819
|
).transform(v => new Date(v)),
|
|
2820
2820
|
type: z.literal("string"),
|
|
2821
2821
|
value: z.string(),
|
|
@@ -2898,7 +2898,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2898
2898
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2899
2899
|
.optional(),
|
|
2900
2900
|
updated: z.string().datetime({ offset: true }).default(
|
|
2901
|
-
"2026-06-
|
|
2901
|
+
"2026-06-17T14:01:25.519Z",
|
|
2902
2902
|
).transform(v => new Date(v)),
|
|
2903
2903
|
}).transform((v) => {
|
|
2904
2904
|
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-17T14:01:25.519Z",
|
|
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("01KVAY6VCA90JENYJ2QG6GSPE5"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1553,8 +1553,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1553
1553
|
> = z.object({
|
|
1554
1554
|
_id: z.string(),
|
|
1555
1555
|
description: z.string(),
|
|
1556
|
-
created: z.string().default("2026-06-
|
|
1557
|
-
updated: z.string().default("2026-06-
|
|
1556
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
1557
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
1558
1558
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1559
1559
|
guardrail_config: z.nullable(
|
|
1560
1560
|
z.union([
|
|
@@ -1749,8 +1749,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1749
1749
|
> = z.object({
|
|
1750
1750
|
_id: z.string(),
|
|
1751
1751
|
description: z.string(),
|
|
1752
|
-
created: z.string().default("2026-06-
|
|
1753
|
-
updated: z.string().default("2026-06-
|
|
1752
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
1753
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
1754
1754
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1755
1755
|
guardrail_config: z.nullable(
|
|
1756
1756
|
z.union([
|
|
@@ -2608,8 +2608,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2608
2608
|
> = z.object({
|
|
2609
2609
|
_id: z.string(),
|
|
2610
2610
|
description: z.string(),
|
|
2611
|
-
created: z.string().default("2026-06-
|
|
2612
|
-
updated: z.string().default("2026-06-
|
|
2611
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2612
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2613
2613
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2614
2614
|
guardrail_config: z.nullable(
|
|
2615
2615
|
z.union([
|
|
@@ -2827,8 +2827,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2827
2827
|
> = z.object({
|
|
2828
2828
|
_id: z.string(),
|
|
2829
2829
|
description: z.string(),
|
|
2830
|
-
created: z.string().default("2026-06-
|
|
2831
|
-
updated: z.string().default("2026-06-
|
|
2830
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2831
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
2832
2832
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2833
2833
|
guardrail_config: z.nullable(
|
|
2834
2834
|
z.union([
|
|
@@ -2996,8 +2996,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2996
2996
|
> = z.object({
|
|
2997
2997
|
_id: z.string(),
|
|
2998
2998
|
description: z.string(),
|
|
2999
|
-
created: z.string().default("2026-06-
|
|
3000
|
-
updated: z.string().default("2026-06-
|
|
2999
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3000
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3001
3001
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3002
3002
|
guardrail_config: z.nullable(
|
|
3003
3003
|
z.union([
|
|
@@ -3150,8 +3150,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3150
3150
|
> = z.object({
|
|
3151
3151
|
_id: z.string(),
|
|
3152
3152
|
description: z.string(),
|
|
3153
|
-
created: z.string().default("2026-06-
|
|
3154
|
-
updated: z.string().default("2026-06-
|
|
3153
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3154
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3155
3155
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3156
3156
|
guardrail_config: z.nullable(
|
|
3157
3157
|
z.union([
|
|
@@ -3513,8 +3513,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3513
3513
|
> = z.object({
|
|
3514
3514
|
_id: z.string(),
|
|
3515
3515
|
description: z.string(),
|
|
3516
|
-
created: z.string().default("2026-06-
|
|
3517
|
-
updated: z.string().default("2026-06-
|
|
3516
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3517
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3518
3518
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3519
3519
|
guardrail_config: z.nullable(
|
|
3520
3520
|
z.union([
|
|
@@ -3726,8 +3726,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3726
3726
|
> = z.object({
|
|
3727
3727
|
_id: z.string(),
|
|
3728
3728
|
description: z.string(),
|
|
3729
|
-
created: z.string().default("2026-06-
|
|
3730
|
-
updated: z.string().default("2026-06-
|
|
3729
|
+
created: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3730
|
+
updated: z.string().default("2026-06-17T14:01:26.990Z"),
|
|
3731
3731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3732
3732
|
guardrail_config: z.nullable(
|
|
3733
3733
|
z.union([
|
|
@@ -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("01KVAY6V85Z7Q648CQYHSJCHVX"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ 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_01KVAY6V7YNTM2SPP55C41VS2E"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -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("01KVAY6V7XB0RPHSAV3DQHR0NJ"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ 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_01KVAY6V7WQPH97174NPVYDCDW"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ 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_01KVAY6V7TVAQY31PSNEZ4FMRP"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ 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_01KVAY6V7R35VSGNNWSZAKJEQZ"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ 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_01KVAY6V7PQDNPZ0KSW1N8K15J"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -45,10 +45,7 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
49
|
-
*
|
|
50
|
-
* @remarks
|
|
51
|
-
* Creates a model response for the given chat conversation with support for retries, fallbacks, prompts, and variables.
|
|
48
|
+
* Create moderation
|
|
52
49
|
*/
|
|
53
50
|
async create(
|
|
54
51
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|