@orq-ai/node 4.12.8 → 4.12.10
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/lib/config.js.map +1 -1
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- 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 +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- 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 +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/index.ts +2 -1
- package/packages/orq-rc/src/models/components/plugin.ts +7 -0
- package/packages/orq-rc/src/models/components/publicplugin.ts +111 -0
- package/packages/orq-rc/src/models/components/reasoning.ts +1 -0
- package/packages/orq-rc/src/models/components/reasoningparam.ts +1 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/responsehealingplugin.ts +77 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +30 -10
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +9 -3
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +19 -8
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +5 -9
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +2 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +10 -5
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +10 -5
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +10 -5
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/invokeeval.ts +66 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +12 -4
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +10 -5
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +12 -4
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +19 -7
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +19 -7
- package/packages/orq-rc/src/models/operations/updateagent.ts +30 -10
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +19 -8
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/sdk/feedback.d.ts +4 -1
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +4 -1
- package/sdk/feedback.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.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 +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- 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 +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- 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 +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
- package/packages/orq-rc/src/models/components/publicpiiredactionplugin.ts +0 -127
|
@@ -1647,7 +1647,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
|
|
|
1647
1647
|
explanation: z.string().optional(),
|
|
1648
1648
|
reviewed_by_id: z.string(),
|
|
1649
1649
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1650
|
-
"2026-07-
|
|
1650
|
+
"2026-07-29T13:09:53.807Z",
|
|
1651
1651
|
).transform(v => new Date(v)),
|
|
1652
1652
|
type: z.literal("string_array"),
|
|
1653
1653
|
values: z.array(z.string()),
|
|
@@ -1743,7 +1743,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1743
1743
|
explanation: z.string().optional(),
|
|
1744
1744
|
reviewed_by_id: z.string(),
|
|
1745
1745
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1746
|
-
"2026-07-
|
|
1746
|
+
"2026-07-29T13:09:53.806Z",
|
|
1747
1747
|
).transform(v => new Date(v)),
|
|
1748
1748
|
type: z.literal("boolean"),
|
|
1749
1749
|
value: z.boolean(),
|
|
@@ -1847,7 +1847,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1847
1847
|
explanation: z.string().optional(),
|
|
1848
1848
|
reviewed_by_id: z.string(),
|
|
1849
1849
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1850
|
-
"2026-07-
|
|
1850
|
+
"2026-07-29T13:09:53.804Z",
|
|
1851
1851
|
).transform(v => new Date(v)),
|
|
1852
1852
|
type: z.literal("number"),
|
|
1853
1853
|
value: z.number(),
|
|
@@ -1953,7 +1953,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1953
1953
|
explanation: z.string().optional(),
|
|
1954
1954
|
reviewed_by_id: z.string(),
|
|
1955
1955
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1956
|
-
"2026-07-
|
|
1956
|
+
"2026-07-29T13:09:53.803Z",
|
|
1957
1957
|
).transform(v => new Date(v)),
|
|
1958
1958
|
type: z.literal("string"),
|
|
1959
1959
|
value: z.string(),
|
|
@@ -2036,7 +2036,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2036
2036
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2037
2037
|
.optional(),
|
|
2038
2038
|
updated: z.string().datetime({ offset: true }).default(
|
|
2039
|
-
"2026-07-
|
|
2039
|
+
"2026-07-29T13:09:17.857Z",
|
|
2040
2040
|
).transform(v => new Date(v)),
|
|
2041
2041
|
}).transform((v) => {
|
|
2042
2042
|
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-07-
|
|
172
|
+
"2026-07-29T13:09:17.857Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
unknown
|
|
280
280
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("01KYPZXVXKVTZHHP1M6ZYVABS9"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.nullable(z.string()).optional(),
|
|
284
284
|
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-07-
|
|
321
|
+
"2026-07-29T13:09:17.857Z",
|
|
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-07-
|
|
367
|
+
"2026-07-29T13:09:17.857Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
245
245
|
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
246
|
.default("orq"),
|
|
247
247
|
explanation: z.string().optional(),
|
|
248
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-07-29T13:09:54.024Z"))
|
|
249
249
|
.transform(v => v.toISOString()),
|
|
250
250
|
type: z.literal("string_array"),
|
|
251
251
|
values: z.array(z.string()),
|
|
@@ -299,7 +299,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
299
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
300
300
|
.default("orq"),
|
|
301
301
|
explanation: z.string().optional(),
|
|
302
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-07-29T13:09:54.023Z"))
|
|
303
303
|
.transform(v => v.toISOString()),
|
|
304
304
|
type: z.literal("boolean"),
|
|
305
305
|
value: z.boolean(),
|
|
@@ -353,7 +353,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
353
353
|
"orq",
|
|
354
354
|
),
|
|
355
355
|
explanation: z.string().optional(),
|
|
356
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-07-29T13:09:54.021Z"))
|
|
357
357
|
.transform(v => v.toISOString()),
|
|
358
358
|
type: z.literal("number"),
|
|
359
359
|
value: z.number(),
|
|
@@ -411,7 +411,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
411
411
|
humanReviewId: z.string().optional(),
|
|
412
412
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
413
413
|
explanation: z.string().optional(),
|
|
414
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
414
|
+
reviewedAt: z.date().default(() => new Date("2026-07-29T13:09:54.020Z"))
|
|
415
415
|
.transform(v => v.toISOString()),
|
|
416
416
|
type: z.literal("string"),
|
|
417
417
|
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-07-
|
|
274
|
+
"2026-07-29T13:09:17.857Z",
|
|
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-07-
|
|
319
|
+
"2026-07-29T13:09:17.857Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -1579,7 +1579,7 @@ export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
1579
1579
|
explanation: z.string().optional(),
|
|
1580
1580
|
reviewed_by_id: z.string(),
|
|
1581
1581
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1582
|
-
"2026-07-
|
|
1582
|
+
"2026-07-29T13:09:53.821Z",
|
|
1583
1583
|
).transform(v => new Date(v)),
|
|
1584
1584
|
type: z.literal("string_array"),
|
|
1585
1585
|
values: z.array(z.string()),
|
|
@@ -1679,7 +1679,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1679
1679
|
explanation: z.string().optional(),
|
|
1680
1680
|
reviewed_by_id: z.string(),
|
|
1681
1681
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1682
|
-
"2026-07-
|
|
1682
|
+
"2026-07-29T13:09:53.820Z",
|
|
1683
1683
|
).transform(v => new Date(v)),
|
|
1684
1684
|
type: z.literal("boolean"),
|
|
1685
1685
|
value: z.boolean(),
|
|
@@ -1777,7 +1777,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1777
1777
|
explanation: z.string().optional(),
|
|
1778
1778
|
reviewed_by_id: z.string(),
|
|
1779
1779
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1780
|
-
"2026-07-
|
|
1780
|
+
"2026-07-29T13:09:53.819Z",
|
|
1781
1781
|
).transform(v => new Date(v)),
|
|
1782
1782
|
type: z.literal("number"),
|
|
1783
1783
|
value: z.number(),
|
|
@@ -1865,7 +1865,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1865
1865
|
explanation: z.string().optional(),
|
|
1866
1866
|
reviewed_by_id: z.string(),
|
|
1867
1867
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1868
|
-
"2026-07-
|
|
1868
|
+
"2026-07-29T13:09:53.817Z",
|
|
1869
1869
|
).transform(v => new Date(v)),
|
|
1870
1870
|
type: z.literal("string"),
|
|
1871
1871
|
value: z.string(),
|
|
@@ -1946,7 +1946,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1946
1946
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1947
1947
|
.optional(),
|
|
1948
1948
|
updated: z.string().datetime({ offset: true }).default(
|
|
1949
|
-
"2026-07-
|
|
1949
|
+
"2026-07-29T13:09:17.857Z",
|
|
1950
1950
|
).transform(v => new Date(v)),
|
|
1951
1951
|
}).transform((v) => {
|
|
1952
1952
|
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-07-
|
|
129
|
+
"2026-07-29T13:09:17.857Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
z.ZodTypeDef,
|
|
188
188
|
unknown
|
|
189
189
|
> = z.object({
|
|
190
|
-
_id: z.string().default("
|
|
190
|
+
_id: z.string().default("01KYPZXVXPDKTYFEPVT0J4503T"),
|
|
191
191
|
display_name: z.string(),
|
|
192
192
|
description: z.nullable(z.string()).optional(),
|
|
193
193
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -757,7 +757,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
757
757
|
z.ZodTypeDef,
|
|
758
758
|
unknown
|
|
759
759
|
> = z.object({
|
|
760
|
-
_id: z.string().default("
|
|
760
|
+
_id: z.string().default("tool_01KYPZXVS2FFJD354KNSVWH39M"),
|
|
761
761
|
path: z.string(),
|
|
762
762
|
key: z.string(),
|
|
763
763
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KYPZXVS0ER8RJTC8J9N29309"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -921,7 +921,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
921
921
|
z.ZodTypeDef,
|
|
922
922
|
unknown
|
|
923
923
|
> = z.object({
|
|
924
|
-
_id: z.string().default("
|
|
924
|
+
_id: z.string().default("tool_01KYPZXVRYZYF1BZVQFCWT9TFR"),
|
|
925
925
|
path: z.string(),
|
|
926
926
|
key: z.string(),
|
|
927
927
|
display_name: z.string().optional(),
|
|
@@ -1113,7 +1113,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1113
1113
|
z.ZodTypeDef,
|
|
1114
1114
|
unknown
|
|
1115
1115
|
> = z.object({
|
|
1116
|
-
_id: z.string().default("
|
|
1116
|
+
_id: z.string().default("tool_01KYPZXVRVBGY41K9GA4Q7GDTR"),
|
|
1117
1117
|
path: z.string(),
|
|
1118
1118
|
key: z.string(),
|
|
1119
1119
|
display_name: z.string().optional(),
|
|
@@ -1209,7 +1209,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1209
1209
|
z.ZodTypeDef,
|
|
1210
1210
|
unknown
|
|
1211
1211
|
> = z.object({
|
|
1212
|
-
_id: z.string().default("
|
|
1212
|
+
_id: z.string().default("tool_01KYPZXVRRAZG8H86XSPQWKREP"),
|
|
1213
1213
|
path: z.string(),
|
|
1214
1214
|
key: z.string(),
|
|
1215
1215
|
display_name: z.string().optional(),
|
|
@@ -1315,7 +1315,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1315
1315
|
z.ZodTypeDef,
|
|
1316
1316
|
unknown
|
|
1317
1317
|
> = z.object({
|
|
1318
|
-
_id: z.string().default("
|
|
1318
|
+
_id: z.string().default("tool_01KYPZXVRPNEQ67Q78EJWVPWTN"),
|
|
1319
1319
|
path: z.string(),
|
|
1320
1320
|
key: z.string(),
|
|
1321
1321
|
display_name: z.string().optional(),
|
|
@@ -4054,7 +4054,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
4054
4054
|
z.ZodTypeDef,
|
|
4055
4055
|
Tools
|
|
4056
4056
|
> = z.object({
|
|
4057
|
-
id: z.string().default("
|
|
4057
|
+
id: z.string().default("01KYPZXVC3APGNXB9WJAG73694"),
|
|
4058
4058
|
name: z.string(),
|
|
4059
4059
|
description: z.string().optional(),
|
|
4060
4060
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -4110,7 +4110,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4110
4110
|
z.ZodTypeDef,
|
|
4111
4111
|
AgentToolInputRunTools
|
|
4112
4112
|
> = z.object({
|
|
4113
|
-
id: z.string().default("
|
|
4113
|
+
id: z.string().default("01KYPZXVE2728DC561X3PS0Z8F"),
|
|
4114
4114
|
name: z.string(),
|
|
4115
4115
|
description: z.string().optional(),
|
|
4116
4116
|
schema: z.lazy(() =>
|
|
@@ -2747,7 +2747,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
2747
2747
|
explanation: z.string().optional(),
|
|
2748
2748
|
reviewed_by_id: z.string(),
|
|
2749
2749
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2750
|
-
"2026-07-
|
|
2750
|
+
"2026-07-29T13:09:53.894Z",
|
|
2751
2751
|
).transform(v => new Date(v)),
|
|
2752
2752
|
type: z.literal("string_array"),
|
|
2753
2753
|
values: z.array(z.string()),
|
|
@@ -2847,7 +2847,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2847
2847
|
explanation: z.string().optional(),
|
|
2848
2848
|
reviewed_by_id: z.string(),
|
|
2849
2849
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2850
|
-
"2026-07-
|
|
2850
|
+
"2026-07-29T13:09:53.893Z",
|
|
2851
2851
|
).transform(v => new Date(v)),
|
|
2852
2852
|
type: z.literal("boolean"),
|
|
2853
2853
|
value: z.boolean(),
|
|
@@ -2944,7 +2944,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2944
2944
|
explanation: z.string().optional(),
|
|
2945
2945
|
reviewed_by_id: z.string(),
|
|
2946
2946
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2947
|
-
"2026-07-
|
|
2947
|
+
"2026-07-29T13:09:53.891Z",
|
|
2948
2948
|
).transform(v => new Date(v)),
|
|
2949
2949
|
type: z.literal("number"),
|
|
2950
2950
|
value: z.number(),
|
|
@@ -3033,7 +3033,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3033
3033
|
explanation: z.string().optional(),
|
|
3034
3034
|
reviewed_by_id: z.string(),
|
|
3035
3035
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3036
|
-
"2026-07-
|
|
3036
|
+
"2026-07-29T13:09:53.890Z",
|
|
3037
3037
|
).transform(v => new Date(v)),
|
|
3038
3038
|
type: z.literal("string"),
|
|
3039
3039
|
value: z.string(),
|
|
@@ -3118,7 +3118,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3118
3118
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3119
3119
|
.optional(),
|
|
3120
3120
|
updated: z.string().datetime({ offset: true }).default(
|
|
3121
|
-
"2026-07-
|
|
3121
|
+
"2026-07-29T13:09:17.857Z",
|
|
3122
3122
|
).transform(v => new Date(v)),
|
|
3123
3123
|
}).transform((v) => {
|
|
3124
3124
|
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-07-
|
|
185
|
+
"2026-07-29T13:09:17.857Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -221,7 +221,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
221
221
|
z.ZodTypeDef,
|
|
222
222
|
unknown
|
|
223
223
|
> = z.object({
|
|
224
|
-
_id: z.string().default("
|
|
224
|
+
_id: z.string().default("01KYPZXVXX8C2WGNGY3EEKQTQV"),
|
|
225
225
|
display_name: z.string(),
|
|
226
226
|
description: z.nullable(z.string()).optional(),
|
|
227
227
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1480,7 +1480,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1480
1480
|
z.ZodTypeDef,
|
|
1481
1481
|
RequestBodyTools
|
|
1482
1482
|
> = z.object({
|
|
1483
|
-
id: z.string().default("
|
|
1483
|
+
id: z.string().default("01KYPZXVR43N3BDEFWAKYKS57K"),
|
|
1484
1484
|
name: z.string(),
|
|
1485
1485
|
description: z.string().optional(),
|
|
1486
1486
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2203,7 +2203,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2203
2203
|
z.ZodTypeDef,
|
|
2204
2204
|
unknown
|
|
2205
2205
|
> = z.object({
|
|
2206
|
-
_id: z.string().default("
|
|
2206
|
+
_id: z.string().default("tool_01KYPZXVQQDNG2ADESHB89VYRN"),
|
|
2207
2207
|
path: z.string(),
|
|
2208
2208
|
key: z.string(),
|
|
2209
2209
|
display_name: z.string().optional(),
|
|
@@ -2306,7 +2306,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2306
2306
|
z.ZodTypeDef,
|
|
2307
2307
|
unknown
|
|
2308
2308
|
> = z.object({
|
|
2309
|
-
id: z.string().default("
|
|
2309
|
+
id: z.string().default("01KYPZXVQPE4F8TZ720HCGMDM9"),
|
|
2310
2310
|
name: z.string(),
|
|
2311
2311
|
description: z.string().optional(),
|
|
2312
2312
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2364,7 +2364,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2364
2364
|
z.ZodTypeDef,
|
|
2365
2365
|
unknown
|
|
2366
2366
|
> = z.object({
|
|
2367
|
-
_id: z.string().default("
|
|
2367
|
+
_id: z.string().default("tool_01KYPZXVQM7A5DTGCJGB8T7QQK"),
|
|
2368
2368
|
path: z.string(),
|
|
2369
2369
|
key: z.string(),
|
|
2370
2370
|
display_name: z.string().optional(),
|
|
@@ -2554,7 +2554,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2554
2554
|
z.ZodTypeDef,
|
|
2555
2555
|
unknown
|
|
2556
2556
|
> = z.object({
|
|
2557
|
-
_id: z.string().default("
|
|
2557
|
+
_id: z.string().default("tool_01KYPZXVQGDMBV0EYWCE7A7Y3M"),
|
|
2558
2558
|
path: z.string(),
|
|
2559
2559
|
key: z.string(),
|
|
2560
2560
|
display_name: z.string().optional(),
|
|
@@ -2649,7 +2649,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2649
2649
|
z.ZodTypeDef,
|
|
2650
2650
|
unknown
|
|
2651
2651
|
> = z.object({
|
|
2652
|
-
_id: z.string().default("
|
|
2652
|
+
_id: z.string().default("tool_01KYPZXVQDZVEC9R8YKJ2QTQXP"),
|
|
2653
2653
|
path: z.string(),
|
|
2654
2654
|
key: z.string(),
|
|
2655
2655
|
display_name: z.string().optional(),
|
|
@@ -2752,7 +2752,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2752
2752
|
z.ZodTypeDef,
|
|
2753
2753
|
unknown
|
|
2754
2754
|
> = z.object({
|
|
2755
|
-
_id: z.string().default("
|
|
2755
|
+
_id: z.string().default("tool_01KYPZXVQAVKWXKDWB4ZKCWP9R"),
|
|
2756
2756
|
path: z.string(),
|
|
2757
2757
|
key: z.string(),
|
|
2758
2758
|
display_name: z.string().optional(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -45,7 +45,10 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
48
|
+
* Create response
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Initiates an agent conversation and returns a complete response. This endpoint manages the full lifecycle of an agent interaction, from receiving the initial message through all processing steps until completion. Supports synchronous execution (waits for completion) and asynchronous execution (returns immediately with task ID). The response includes all messages exchanged, tool calls made, and token usage statistics. Ideal for request-response patterns where you need the complete interaction result.
|
|
49
52
|
*/
|
|
50
53
|
async create(
|
|
51
54
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Plugin discriminator. Must be pii_redaction.
|
|
11
|
-
*/
|
|
12
|
-
export const PublicPIIRedactionPluginId = {
|
|
13
|
-
PiiRedaction: "pii_redaction",
|
|
14
|
-
} as const;
|
|
15
|
-
/**
|
|
16
|
-
* Plugin discriminator. Must be pii_redaction.
|
|
17
|
-
*/
|
|
18
|
-
export type PublicPIIRedactionPluginId = ClosedEnum<
|
|
19
|
-
typeof PublicPIIRedactionPluginId
|
|
20
|
-
>;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Detector language. Defaults to en.
|
|
24
|
-
*/
|
|
25
|
-
export const PublicPIIRedactionPluginLanguage = {
|
|
26
|
-
En: "en",
|
|
27
|
-
Nl: "nl",
|
|
28
|
-
} as const;
|
|
29
|
-
/**
|
|
30
|
-
* Detector language. Defaults to en.
|
|
31
|
-
*/
|
|
32
|
-
export type PublicPIIRedactionPluginLanguage = ClosedEnum<
|
|
33
|
-
typeof PublicPIIRedactionPluginLanguage
|
|
34
|
-
>;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Behavior when redaction is unavailable. block (default) fails the request; passthrough sends the original text.
|
|
38
|
-
*/
|
|
39
|
-
export const PublicPIIRedactionPluginOnFailure = {
|
|
40
|
-
Block: "block",
|
|
41
|
-
Passthrough: "passthrough",
|
|
42
|
-
} as const;
|
|
43
|
-
/**
|
|
44
|
-
* Behavior when redaction is unavailable. block (default) fails the request; passthrough sends the original text.
|
|
45
|
-
*/
|
|
46
|
-
export type PublicPIIRedactionPluginOnFailure = ClosedEnum<
|
|
47
|
-
typeof PublicPIIRedactionPluginOnFailure
|
|
48
|
-
>;
|
|
49
|
-
|
|
50
|
-
export type PublicPIIRedactionPlugin = {
|
|
51
|
-
/**
|
|
52
|
-
* Entity types to redact (e.g. EMAIL_ADDRESS, BSN). Omit to redact every type detected for the language.
|
|
53
|
-
*/
|
|
54
|
-
entities?: Array<string> | null | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* Plugin discriminator. Must be pii_redaction.
|
|
57
|
-
*/
|
|
58
|
-
id: PublicPIIRedactionPluginId;
|
|
59
|
-
/**
|
|
60
|
-
* Detector language. Defaults to en.
|
|
61
|
-
*/
|
|
62
|
-
language?: PublicPIIRedactionPluginLanguage | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* Behavior when redaction is unavailable. block (default) fails the request; passthrough sends the original text.
|
|
65
|
-
*/
|
|
66
|
-
onFailure?: PublicPIIRedactionPluginOnFailure | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* Store the redacted (placeholder) form in traces rather than the restored original. Defaults to true.
|
|
69
|
-
*/
|
|
70
|
-
persistRedactedToTraces?: boolean | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Detector confidence cutoff in [0,1].
|
|
73
|
-
*/
|
|
74
|
-
threshold?: number | undefined;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
/** @internal */
|
|
78
|
-
export const PublicPIIRedactionPluginId$outboundSchema: z.ZodNativeEnum<
|
|
79
|
-
typeof PublicPIIRedactionPluginId
|
|
80
|
-
> = z.nativeEnum(PublicPIIRedactionPluginId);
|
|
81
|
-
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const PublicPIIRedactionPluginLanguage$outboundSchema: z.ZodNativeEnum<
|
|
84
|
-
typeof PublicPIIRedactionPluginLanguage
|
|
85
|
-
> = z.nativeEnum(PublicPIIRedactionPluginLanguage);
|
|
86
|
-
|
|
87
|
-
/** @internal */
|
|
88
|
-
export const PublicPIIRedactionPluginOnFailure$outboundSchema: z.ZodNativeEnum<
|
|
89
|
-
typeof PublicPIIRedactionPluginOnFailure
|
|
90
|
-
> = z.nativeEnum(PublicPIIRedactionPluginOnFailure);
|
|
91
|
-
|
|
92
|
-
/** @internal */
|
|
93
|
-
export type PublicPIIRedactionPlugin$Outbound = {
|
|
94
|
-
entities?: Array<string> | null | undefined;
|
|
95
|
-
id: string;
|
|
96
|
-
language?: string | undefined;
|
|
97
|
-
on_failure?: string | undefined;
|
|
98
|
-
persist_redacted_to_traces?: boolean | undefined;
|
|
99
|
-
threshold?: number | undefined;
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
/** @internal */
|
|
103
|
-
export const PublicPIIRedactionPlugin$outboundSchema: z.ZodType<
|
|
104
|
-
PublicPIIRedactionPlugin$Outbound,
|
|
105
|
-
z.ZodTypeDef,
|
|
106
|
-
PublicPIIRedactionPlugin
|
|
107
|
-
> = z.object({
|
|
108
|
-
entities: z.nullable(z.array(z.string())).optional(),
|
|
109
|
-
id: PublicPIIRedactionPluginId$outboundSchema,
|
|
110
|
-
language: PublicPIIRedactionPluginLanguage$outboundSchema.optional(),
|
|
111
|
-
onFailure: PublicPIIRedactionPluginOnFailure$outboundSchema.optional(),
|
|
112
|
-
persistRedactedToTraces: z.boolean().optional(),
|
|
113
|
-
threshold: z.number().optional(),
|
|
114
|
-
}).transform((v) => {
|
|
115
|
-
return remap$(v, {
|
|
116
|
-
onFailure: "on_failure",
|
|
117
|
-
persistRedactedToTraces: "persist_redacted_to_traces",
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
export function publicPIIRedactionPluginToJSON(
|
|
122
|
-
publicPIIRedactionPlugin: PublicPIIRedactionPlugin,
|
|
123
|
-
): string {
|
|
124
|
-
return JSON.stringify(
|
|
125
|
-
PublicPIIRedactionPlugin$outboundSchema.parse(publicPIIRedactionPlugin),
|
|
126
|
-
);
|
|
127
|
-
}
|