@orq-ai/node 4.11.7 → 4.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- 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 +4 -4
- 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 +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/updatetool.js +7 -7
- package/package.json +6 -6
- package/packages/orq-rc/src/funcs/notifiersList.ts +2 -0
- package/packages/orq-rc/src/funcs/reportingQuery.ts +3 -1
- package/packages/orq-rc/src/funcs/telemetryQuery.ts +162 -0
- package/packages/orq-rc/src/funcs/tracesAggregate.ts +3 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/apikey.ts +6 -0
- package/packages/orq-rc/src/models/components/budget.ts +6 -0
- package/packages/orq-rc/src/models/components/budgetalert.ts +92 -0
- package/packages/orq-rc/src/models/components/budgetalertdimension.ts +22 -0
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +14 -0
- 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/identity.ts +6 -0
- package/packages/orq-rc/src/models/components/index.ts +6 -0
- package/packages/orq-rc/src/models/components/modelsconfig.ts +1 -0
- package/packages/orq-rc/src/models/components/querytelemetrymeta.ts +38 -0
- package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +85 -0
- package/packages/orq-rc/src/models/components/querytelemetryresponse.ts +42 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/telemetryrow.ts +42 -0
- package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +1 -0
- package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +21 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +4 -0
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +1 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +237 -19
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +4 -0
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +19 -26
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +3 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +3 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +3 -0
- 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/listagents.ts +2 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +313 -84
- 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 +3 -0
- package/packages/orq-rc/src/models/operations/notifierlist.ts +13 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +119 -11
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +2 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +234 -9
- 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 +3 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -1
- package/packages/orq-rc/src/models/operations/updateagent.ts +4 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +229 -9
- 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 +4 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +6 -0
- package/packages/orq-rc/src/sdk/humanreviewsets.ts +4 -1
- package/packages/orq-rc/src/sdk/reporting.ts +3 -1
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/sdk/telemetry.ts +27 -0
- package/packages/orq-rc/src/sdk/traces.ts +3 -1
- 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 +3 -3
- 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 +4 -4
- 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 +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/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
|
@@ -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-16T11:02:21.951Z",
|
|
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("01KXN9FG8660100RJ56B9RXFCQ"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -295,6 +295,7 @@ export type ListPromptVersionsVerbosity = ClosedEnum<
|
|
|
295
295
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
296
296
|
*/
|
|
297
297
|
export const ListPromptVersionsThinkingLevel = {
|
|
298
|
+
Minimal: "minimal",
|
|
298
299
|
Low: "low",
|
|
299
300
|
Medium: "medium",
|
|
300
301
|
High: "high",
|
|
@@ -443,6 +444,7 @@ export const ListPromptVersionsProvider = {
|
|
|
443
444
|
Wafer: "wafer",
|
|
444
445
|
Poolside: "poolside",
|
|
445
446
|
Tencent: "tencent",
|
|
447
|
+
Nebius: "nebius",
|
|
446
448
|
Reson8: "reson8",
|
|
447
449
|
Slack: "slack",
|
|
448
450
|
Orq: "orq",
|
|
@@ -824,6 +826,7 @@ export type ListPromptVersionsModalities = ClosedEnum<
|
|
|
824
826
|
*/
|
|
825
827
|
export const ListPromptVersionsId1 = {
|
|
826
828
|
OrqPiiDetection: "orq_pii_detection",
|
|
829
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
827
830
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
828
831
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
829
832
|
} as const;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as components from "../components/index.js";
|
|
7
8
|
|
|
8
9
|
export type NotifierListRequest = {
|
|
9
10
|
/**
|
|
@@ -22,6 +23,14 @@ export type NotifierListRequest = {
|
|
|
22
23
|
* Restrict results to one project. Must be a project the caller is authorized for.
|
|
23
24
|
*/
|
|
24
25
|
projectId?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Optional. Case-insensitive substring match on the notifier name.
|
|
28
|
+
*/
|
|
29
|
+
search?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Optional. Restrict results to these notifier types.
|
|
32
|
+
*/
|
|
33
|
+
type?: Array<components.NotifierType> | undefined;
|
|
25
34
|
};
|
|
26
35
|
|
|
27
36
|
/** @internal */
|
|
@@ -30,6 +39,8 @@ export type NotifierListRequest$Outbound = {
|
|
|
30
39
|
starting_after?: string | undefined;
|
|
31
40
|
ending_before?: string | undefined;
|
|
32
41
|
project_id?: string | undefined;
|
|
42
|
+
search?: string | undefined;
|
|
43
|
+
type?: Array<string> | undefined;
|
|
33
44
|
};
|
|
34
45
|
|
|
35
46
|
/** @internal */
|
|
@@ -42,6 +53,8 @@ export const NotifierListRequest$outboundSchema: z.ZodType<
|
|
|
42
53
|
startingAfter: z.string().optional(),
|
|
43
54
|
endingBefore: z.string().optional(),
|
|
44
55
|
projectId: z.string().optional(),
|
|
56
|
+
search: z.string().optional(),
|
|
57
|
+
type: z.array(components.NotifierType$outboundSchema).optional(),
|
|
45
58
|
}).transform((v) => {
|
|
46
59
|
return remap$(v, {
|
|
47
60
|
startingAfter: "starting_after",
|
|
@@ -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-16T11:02:21.951Z",
|
|
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-16T11:02:21.951Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -6,6 +6,54 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* The type of evaluation
|
|
11
|
+
*/
|
|
12
|
+
export const PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType = {
|
|
13
|
+
HumanReview: "human_review",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* The type of evaluation
|
|
17
|
+
*/
|
|
18
|
+
export type PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType =
|
|
19
|
+
ClosedEnum<typeof PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType>;
|
|
20
|
+
|
|
21
|
+
export const PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource = {
|
|
22
|
+
Orq: "orq",
|
|
23
|
+
External: "external",
|
|
24
|
+
} as const;
|
|
25
|
+
export type PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource =
|
|
26
|
+
ClosedEnum<typeof PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource>;
|
|
27
|
+
|
|
28
|
+
export type RequestBody4 = {
|
|
29
|
+
/**
|
|
30
|
+
* The unique identifier of the human evaluation
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
/**
|
|
34
|
+
* The type of evaluation
|
|
35
|
+
*/
|
|
36
|
+
evaluationType: PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType;
|
|
37
|
+
/**
|
|
38
|
+
* The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
|
|
39
|
+
*/
|
|
40
|
+
humanReviewId?: string | undefined;
|
|
41
|
+
source?: PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Optional free-text explanation of the value
|
|
44
|
+
*/
|
|
45
|
+
explanation?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Deprecated. The date and time the item was reviewed
|
|
48
|
+
*
|
|
49
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
50
|
+
*/
|
|
51
|
+
reviewedAt?: Date | undefined;
|
|
52
|
+
type: "string_array";
|
|
53
|
+
values: Array<string>;
|
|
54
|
+
traceId: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
9
57
|
/**
|
|
10
58
|
* The type of evaluation
|
|
11
59
|
*/
|
|
@@ -51,8 +99,8 @@ export type RequestBody3 = {
|
|
|
51
99
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
52
100
|
*/
|
|
53
101
|
reviewedAt?: Date | undefined;
|
|
54
|
-
type: "
|
|
55
|
-
|
|
102
|
+
type: "boolean";
|
|
103
|
+
value: boolean;
|
|
56
104
|
traceId: string;
|
|
57
105
|
};
|
|
58
106
|
|
|
@@ -155,7 +203,65 @@ export type PostV2FeedbackEvaluationRequestBody1 = {
|
|
|
155
203
|
export type PostV2FeedbackEvaluationRequestBody =
|
|
156
204
|
| PostV2FeedbackEvaluationRequestBody1
|
|
157
205
|
| PostV2FeedbackEvaluationRequestBody2
|
|
158
|
-
| RequestBody3
|
|
206
|
+
| RequestBody3
|
|
207
|
+
| RequestBody4;
|
|
208
|
+
|
|
209
|
+
/** @internal */
|
|
210
|
+
export const PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema:
|
|
211
|
+
z.ZodNativeEnum<
|
|
212
|
+
typeof PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType
|
|
213
|
+
> = z.nativeEnum(PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType);
|
|
214
|
+
|
|
215
|
+
/** @internal */
|
|
216
|
+
export const PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema:
|
|
217
|
+
z.ZodNativeEnum<
|
|
218
|
+
typeof PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource
|
|
219
|
+
> = z.nativeEnum(PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource);
|
|
220
|
+
|
|
221
|
+
/** @internal */
|
|
222
|
+
export type RequestBody4$Outbound = {
|
|
223
|
+
id: string;
|
|
224
|
+
evaluation_type: string;
|
|
225
|
+
human_review_id?: string | undefined;
|
|
226
|
+
source: string;
|
|
227
|
+
explanation?: string | undefined;
|
|
228
|
+
reviewed_at: string;
|
|
229
|
+
type: "string_array";
|
|
230
|
+
values: Array<string>;
|
|
231
|
+
trace_id: string;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
/** @internal */
|
|
235
|
+
export const RequestBody4$outboundSchema: z.ZodType<
|
|
236
|
+
RequestBody4$Outbound,
|
|
237
|
+
z.ZodTypeDef,
|
|
238
|
+
RequestBody4
|
|
239
|
+
> = z.object({
|
|
240
|
+
id: z.string(),
|
|
241
|
+
evaluationType:
|
|
242
|
+
PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema,
|
|
243
|
+
humanReviewId: z.string().optional(),
|
|
244
|
+
source:
|
|
245
|
+
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
|
+
.default("orq"),
|
|
247
|
+
explanation: z.string().optional(),
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.349Z"))
|
|
249
|
+
.transform(v => v.toISOString()),
|
|
250
|
+
type: z.literal("string_array"),
|
|
251
|
+
values: z.array(z.string()),
|
|
252
|
+
traceId: z.string(),
|
|
253
|
+
}).transform((v) => {
|
|
254
|
+
return remap$(v, {
|
|
255
|
+
evaluationType: "evaluation_type",
|
|
256
|
+
humanReviewId: "human_review_id",
|
|
257
|
+
reviewedAt: "reviewed_at",
|
|
258
|
+
traceId: "trace_id",
|
|
259
|
+
});
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
export function requestBody4ToJSON(requestBody4: RequestBody4): string {
|
|
263
|
+
return JSON.stringify(RequestBody4$outboundSchema.parse(requestBody4));
|
|
264
|
+
}
|
|
159
265
|
|
|
160
266
|
/** @internal */
|
|
161
267
|
export const PostV2FeedbackEvaluationRequestBodyEvaluationType$outboundSchema:
|
|
@@ -175,8 +281,8 @@ export type RequestBody3$Outbound = {
|
|
|
175
281
|
source: string;
|
|
176
282
|
explanation?: string | undefined;
|
|
177
283
|
reviewed_at: string;
|
|
178
|
-
type: "
|
|
179
|
-
|
|
284
|
+
type: "boolean";
|
|
285
|
+
value: boolean;
|
|
180
286
|
trace_id: string;
|
|
181
287
|
};
|
|
182
288
|
|
|
@@ -193,10 +299,10 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
193
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
194
300
|
.default("orq"),
|
|
195
301
|
explanation: z.string().optional(),
|
|
196
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.348Z"))
|
|
197
303
|
.transform(v => v.toISOString()),
|
|
198
|
-
type: z.literal("
|
|
199
|
-
|
|
304
|
+
type: z.literal("boolean"),
|
|
305
|
+
value: z.boolean(),
|
|
200
306
|
traceId: z.string(),
|
|
201
307
|
}).transform((v) => {
|
|
202
308
|
return remap$(v, {
|
|
@@ -247,7 +353,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
247
353
|
"orq",
|
|
248
354
|
),
|
|
249
355
|
explanation: z.string().optional(),
|
|
250
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.347Z"))
|
|
251
357
|
.transform(v => v.toISOString()),
|
|
252
358
|
type: z.literal("number"),
|
|
253
359
|
value: z.number(),
|
|
@@ -305,7 +411,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
305
411
|
humanReviewId: z.string().optional(),
|
|
306
412
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
307
413
|
explanation: z.string().optional(),
|
|
308
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
414
|
+
reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.347Z"))
|
|
309
415
|
.transform(v => v.toISOString()),
|
|
310
416
|
type: z.literal("string"),
|
|
311
417
|
value: z.string(),
|
|
@@ -333,7 +439,8 @@ export function postV2FeedbackEvaluationRequestBody1ToJSON(
|
|
|
333
439
|
export type PostV2FeedbackEvaluationRequestBody$Outbound =
|
|
334
440
|
| PostV2FeedbackEvaluationRequestBody1$Outbound
|
|
335
441
|
| PostV2FeedbackEvaluationRequestBody2$Outbound
|
|
336
|
-
| RequestBody3$Outbound
|
|
442
|
+
| RequestBody3$Outbound
|
|
443
|
+
| RequestBody4$Outbound;
|
|
337
444
|
|
|
338
445
|
/** @internal */
|
|
339
446
|
export const PostV2FeedbackEvaluationRequestBody$outboundSchema: z.ZodType<
|
|
@@ -344,6 +451,7 @@ export const PostV2FeedbackEvaluationRequestBody$outboundSchema: z.ZodType<
|
|
|
344
451
|
z.lazy(() => PostV2FeedbackEvaluationRequestBody1$outboundSchema),
|
|
345
452
|
z.lazy(() => PostV2FeedbackEvaluationRequestBody2$outboundSchema),
|
|
346
453
|
z.lazy(() => RequestBody3$outboundSchema),
|
|
454
|
+
z.lazy(() => RequestBody4$outboundSchema),
|
|
347
455
|
]);
|
|
348
456
|
|
|
349
457
|
export function postV2FeedbackEvaluationRequestBodyToJSON(
|
|
@@ -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-16T11:02:21.951Z",
|
|
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-16T11:02:21.951Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -396,6 +396,7 @@ export type RetrieveAgentRequestModalities = ClosedEnum<
|
|
|
396
396
|
*/
|
|
397
397
|
export const RetrieveAgentRequestId1 = {
|
|
398
398
|
OrqPiiDetection: "orq_pii_detection",
|
|
399
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
399
400
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
400
401
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
401
402
|
} as const;
|
|
@@ -868,6 +869,7 @@ export type RetrieveAgentRequestFallbackModelConfigurationModalities =
|
|
|
868
869
|
*/
|
|
869
870
|
export const RetrieveAgentRequestIdAgents1 = {
|
|
870
871
|
OrqPiiDetection: "orq_pii_detection",
|
|
872
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
871
873
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
872
874
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
873
875
|
} as const;
|
|
@@ -373,6 +373,125 @@ export type RetrieveDatapointMessages =
|
|
|
373
373
|
| RetrieveDatapointMessagesAssistantMessage
|
|
374
374
|
| RetrieveDatapointMessagesToolMessage;
|
|
375
375
|
|
|
376
|
+
/**
|
|
377
|
+
* The type of evaluation
|
|
378
|
+
*/
|
|
379
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200EvaluationType = {
|
|
380
|
+
HumanReview: "human_review",
|
|
381
|
+
} as const;
|
|
382
|
+
/**
|
|
383
|
+
* The type of evaluation
|
|
384
|
+
*/
|
|
385
|
+
export type RetrieveDatapointEvaluationsDatasetsResponse200EvaluationType =
|
|
386
|
+
ClosedEnum<
|
|
387
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponse200EvaluationType
|
|
388
|
+
>;
|
|
389
|
+
|
|
390
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200Source = {
|
|
391
|
+
Orq: "orq",
|
|
392
|
+
External: "external",
|
|
393
|
+
} as const;
|
|
394
|
+
export type RetrieveDatapointEvaluationsDatasetsResponse200Source = ClosedEnum<
|
|
395
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponse200Source
|
|
396
|
+
>;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* The kind of annotator that produced the evaluation
|
|
400
|
+
*/
|
|
401
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200Kind = {
|
|
402
|
+
Llm: "llm",
|
|
403
|
+
Code: "code",
|
|
404
|
+
Human: "human",
|
|
405
|
+
Automation: "automation",
|
|
406
|
+
} as const;
|
|
407
|
+
/**
|
|
408
|
+
* The kind of annotator that produced the evaluation
|
|
409
|
+
*/
|
|
410
|
+
export type RetrieveDatapointEvaluationsDatasetsResponse200Kind = ClosedEnum<
|
|
411
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponse200Kind
|
|
412
|
+
>;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
416
|
+
*/
|
|
417
|
+
export type RetrieveDatapointEvaluationsDatasetsResponse200Annotator = {
|
|
418
|
+
/**
|
|
419
|
+
* The kind of annotator that produced the evaluation
|
|
420
|
+
*/
|
|
421
|
+
kind: RetrieveDatapointEvaluationsDatasetsResponse200Kind;
|
|
422
|
+
/**
|
|
423
|
+
* Who/what produced this annotation. User/contact id for human, evaluator eval span id for llm/code, automation rule id for automation.
|
|
424
|
+
*/
|
|
425
|
+
actorId: string;
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
430
|
+
*/
|
|
431
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200OutputSchema = {
|
|
432
|
+
Boolean: "boolean",
|
|
433
|
+
Number: "number",
|
|
434
|
+
Categorical: "categorical",
|
|
435
|
+
String: "string",
|
|
436
|
+
} as const;
|
|
437
|
+
/**
|
|
438
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
439
|
+
*/
|
|
440
|
+
export type RetrieveDatapointEvaluationsDatasetsResponse200OutputSchema =
|
|
441
|
+
ClosedEnum<
|
|
442
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponse200OutputSchema
|
|
443
|
+
>;
|
|
444
|
+
|
|
445
|
+
export type RetrieveDatapointEvaluations4 = {
|
|
446
|
+
/**
|
|
447
|
+
* The unique identifier of the human evaluation
|
|
448
|
+
*/
|
|
449
|
+
id: string;
|
|
450
|
+
/**
|
|
451
|
+
* The type of evaluation
|
|
452
|
+
*/
|
|
453
|
+
evaluationType: RetrieveDatapointEvaluationsDatasetsResponse200EvaluationType;
|
|
454
|
+
/**
|
|
455
|
+
* The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
|
|
456
|
+
*/
|
|
457
|
+
humanReviewId?: string | undefined;
|
|
458
|
+
source: RetrieveDatapointEvaluationsDatasetsResponse200Source;
|
|
459
|
+
/**
|
|
460
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
461
|
+
*/
|
|
462
|
+
annotator?:
|
|
463
|
+
| RetrieveDatapointEvaluationsDatasetsResponse200Annotator
|
|
464
|
+
| undefined;
|
|
465
|
+
/**
|
|
466
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
467
|
+
*/
|
|
468
|
+
outputSchema?:
|
|
469
|
+
| RetrieveDatapointEvaluationsDatasetsResponse200OutputSchema
|
|
470
|
+
| undefined;
|
|
471
|
+
/**
|
|
472
|
+
* When present, references the id of the annotation this entry corrects. Presence of this field marks the entry as a correction.
|
|
473
|
+
*/
|
|
474
|
+
parentAnnotationId?: string | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* Optional free-text explanation of the value
|
|
477
|
+
*/
|
|
478
|
+
explanation?: string | undefined;
|
|
479
|
+
/**
|
|
480
|
+
* Deprecated: use annotator.actor_id. The unique identifier of the user who reviewed the item.
|
|
481
|
+
*
|
|
482
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
483
|
+
*/
|
|
484
|
+
reviewedById: string;
|
|
485
|
+
/**
|
|
486
|
+
* Deprecated. The date and time the item was reviewed
|
|
487
|
+
*
|
|
488
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
489
|
+
*/
|
|
490
|
+
reviewedAt: Date;
|
|
491
|
+
type: "string_array";
|
|
492
|
+
values: Array<string>;
|
|
493
|
+
};
|
|
494
|
+
|
|
376
495
|
/**
|
|
377
496
|
* The type of evaluation
|
|
378
497
|
*/
|
|
@@ -482,8 +601,8 @@ export type RetrieveDatapointEvaluations3 = {
|
|
|
482
601
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
483
602
|
*/
|
|
484
603
|
reviewedAt: Date;
|
|
485
|
-
type: "
|
|
486
|
-
|
|
604
|
+
type: "boolean";
|
|
605
|
+
value: boolean;
|
|
487
606
|
};
|
|
488
607
|
|
|
489
608
|
/**
|
|
@@ -715,7 +834,8 @@ export type RetrieveDatapointEvaluations1 = {
|
|
|
715
834
|
export type RetrieveDatapointEvaluations =
|
|
716
835
|
| RetrieveDatapointEvaluations1
|
|
717
836
|
| RetrieveDatapointEvaluations2
|
|
718
|
-
| RetrieveDatapointEvaluations3
|
|
837
|
+
| RetrieveDatapointEvaluations3
|
|
838
|
+
| RetrieveDatapointEvaluations4;
|
|
719
839
|
|
|
720
840
|
/**
|
|
721
841
|
* Datapoint retrieved.
|
|
@@ -754,6 +874,7 @@ export type RetrieveDatapointResponseBody = {
|
|
|
754
874
|
| RetrieveDatapointEvaluations1
|
|
755
875
|
| RetrieveDatapointEvaluations2
|
|
756
876
|
| RetrieveDatapointEvaluations3
|
|
877
|
+
| RetrieveDatapointEvaluations4
|
|
757
878
|
>
|
|
758
879
|
| undefined;
|
|
759
880
|
/**
|
|
@@ -1381,6 +1502,108 @@ export function retrieveDatapointMessagesFromJSON(
|
|
|
1381
1502
|
);
|
|
1382
1503
|
}
|
|
1383
1504
|
|
|
1505
|
+
/** @internal */
|
|
1506
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200EvaluationType$inboundSchema:
|
|
1507
|
+
z.ZodNativeEnum<
|
|
1508
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponse200EvaluationType
|
|
1509
|
+
> = z.nativeEnum(
|
|
1510
|
+
RetrieveDatapointEvaluationsDatasetsResponse200EvaluationType,
|
|
1511
|
+
);
|
|
1512
|
+
|
|
1513
|
+
/** @internal */
|
|
1514
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200Source$inboundSchema:
|
|
1515
|
+
z.ZodNativeEnum<
|
|
1516
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponse200Source
|
|
1517
|
+
> = z.nativeEnum(RetrieveDatapointEvaluationsDatasetsResponse200Source);
|
|
1518
|
+
|
|
1519
|
+
/** @internal */
|
|
1520
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200Kind$inboundSchema:
|
|
1521
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponse200Kind> =
|
|
1522
|
+
z.nativeEnum(RetrieveDatapointEvaluationsDatasetsResponse200Kind);
|
|
1523
|
+
|
|
1524
|
+
/** @internal */
|
|
1525
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200Annotator$inboundSchema:
|
|
1526
|
+
z.ZodType<
|
|
1527
|
+
RetrieveDatapointEvaluationsDatasetsResponse200Annotator,
|
|
1528
|
+
z.ZodTypeDef,
|
|
1529
|
+
unknown
|
|
1530
|
+
> = z.object({
|
|
1531
|
+
kind: RetrieveDatapointEvaluationsDatasetsResponse200Kind$inboundSchema,
|
|
1532
|
+
actor_id: z.string(),
|
|
1533
|
+
}).transform((v) => {
|
|
1534
|
+
return remap$(v, {
|
|
1535
|
+
"actor_id": "actorId",
|
|
1536
|
+
});
|
|
1537
|
+
});
|
|
1538
|
+
|
|
1539
|
+
export function retrieveDatapointEvaluationsDatasetsResponse200AnnotatorFromJSON(
|
|
1540
|
+
jsonString: string,
|
|
1541
|
+
): SafeParseResult<
|
|
1542
|
+
RetrieveDatapointEvaluationsDatasetsResponse200Annotator,
|
|
1543
|
+
SDKValidationError
|
|
1544
|
+
> {
|
|
1545
|
+
return safeParse(
|
|
1546
|
+
jsonString,
|
|
1547
|
+
(x) =>
|
|
1548
|
+
RetrieveDatapointEvaluationsDatasetsResponse200Annotator$inboundSchema
|
|
1549
|
+
.parse(JSON.parse(x)),
|
|
1550
|
+
`Failed to parse 'RetrieveDatapointEvaluationsDatasetsResponse200Annotator' from JSON`,
|
|
1551
|
+
);
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/** @internal */
|
|
1555
|
+
export const RetrieveDatapointEvaluationsDatasetsResponse200OutputSchema$inboundSchema:
|
|
1556
|
+
z.ZodNativeEnum<
|
|
1557
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponse200OutputSchema
|
|
1558
|
+
> = z.nativeEnum(RetrieveDatapointEvaluationsDatasetsResponse200OutputSchema);
|
|
1559
|
+
|
|
1560
|
+
/** @internal */
|
|
1561
|
+
export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
1562
|
+
RetrieveDatapointEvaluations4,
|
|
1563
|
+
z.ZodTypeDef,
|
|
1564
|
+
unknown
|
|
1565
|
+
> = z.object({
|
|
1566
|
+
id: z.string(),
|
|
1567
|
+
evaluation_type:
|
|
1568
|
+
RetrieveDatapointEvaluationsDatasetsResponse200EvaluationType$inboundSchema,
|
|
1569
|
+
human_review_id: z.string().optional(),
|
|
1570
|
+
source: RetrieveDatapointEvaluationsDatasetsResponse200Source$inboundSchema
|
|
1571
|
+
.default("orq"),
|
|
1572
|
+
annotator: z.lazy(() =>
|
|
1573
|
+
RetrieveDatapointEvaluationsDatasetsResponse200Annotator$inboundSchema
|
|
1574
|
+
).optional(),
|
|
1575
|
+
output_schema:
|
|
1576
|
+
RetrieveDatapointEvaluationsDatasetsResponse200OutputSchema$inboundSchema
|
|
1577
|
+
.optional(),
|
|
1578
|
+
parent_annotation_id: z.string().optional(),
|
|
1579
|
+
explanation: z.string().optional(),
|
|
1580
|
+
reviewed_by_id: z.string(),
|
|
1581
|
+
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1582
|
+
"2026-07-16T11:02:38.191Z",
|
|
1583
|
+
).transform(v => new Date(v)),
|
|
1584
|
+
type: z.literal("string_array"),
|
|
1585
|
+
values: z.array(z.string()),
|
|
1586
|
+
}).transform((v) => {
|
|
1587
|
+
return remap$(v, {
|
|
1588
|
+
"evaluation_type": "evaluationType",
|
|
1589
|
+
"human_review_id": "humanReviewId",
|
|
1590
|
+
"output_schema": "outputSchema",
|
|
1591
|
+
"parent_annotation_id": "parentAnnotationId",
|
|
1592
|
+
"reviewed_by_id": "reviewedById",
|
|
1593
|
+
"reviewed_at": "reviewedAt",
|
|
1594
|
+
});
|
|
1595
|
+
});
|
|
1596
|
+
|
|
1597
|
+
export function retrieveDatapointEvaluations4FromJSON(
|
|
1598
|
+
jsonString: string,
|
|
1599
|
+
): SafeParseResult<RetrieveDatapointEvaluations4, SDKValidationError> {
|
|
1600
|
+
return safeParse(
|
|
1601
|
+
jsonString,
|
|
1602
|
+
(x) => RetrieveDatapointEvaluations4$inboundSchema.parse(JSON.parse(x)),
|
|
1603
|
+
`Failed to parse 'RetrieveDatapointEvaluations4' from JSON`,
|
|
1604
|
+
);
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1384
1607
|
/** @internal */
|
|
1385
1608
|
export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema:
|
|
1386
1609
|
z.ZodNativeEnum<
|
|
@@ -1456,10 +1679,10 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1456
1679
|
explanation: z.string().optional(),
|
|
1457
1680
|
reviewed_by_id: z.string(),
|
|
1458
1681
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1459
|
-
"2026-07-
|
|
1682
|
+
"2026-07-16T11:02:38.190Z",
|
|
1460
1683
|
).transform(v => new Date(v)),
|
|
1461
|
-
type: z.literal("
|
|
1462
|
-
|
|
1684
|
+
type: z.literal("boolean"),
|
|
1685
|
+
value: z.boolean(),
|
|
1463
1686
|
}).transform((v) => {
|
|
1464
1687
|
return remap$(v, {
|
|
1465
1688
|
"evaluation_type": "evaluationType",
|
|
@@ -1554,7 +1777,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1554
1777
|
explanation: z.string().optional(),
|
|
1555
1778
|
reviewed_by_id: z.string(),
|
|
1556
1779
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1557
|
-
"2026-07-
|
|
1780
|
+
"2026-07-16T11:02:38.188Z",
|
|
1558
1781
|
).transform(v => new Date(v)),
|
|
1559
1782
|
type: z.literal("number"),
|
|
1560
1783
|
value: z.number(),
|
|
@@ -1642,7 +1865,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1642
1865
|
explanation: z.string().optional(),
|
|
1643
1866
|
reviewed_by_id: z.string(),
|
|
1644
1867
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1645
|
-
"2026-07-
|
|
1868
|
+
"2026-07-16T11:02:38.187Z",
|
|
1646
1869
|
).transform(v => new Date(v)),
|
|
1647
1870
|
type: z.literal("string"),
|
|
1648
1871
|
value: z.string(),
|
|
@@ -1676,6 +1899,7 @@ export const RetrieveDatapointEvaluations$inboundSchema: z.ZodType<
|
|
|
1676
1899
|
z.lazy(() => RetrieveDatapointEvaluations1$inboundSchema),
|
|
1677
1900
|
z.lazy(() => RetrieveDatapointEvaluations2$inboundSchema),
|
|
1678
1901
|
z.lazy(() => RetrieveDatapointEvaluations3$inboundSchema),
|
|
1902
|
+
z.lazy(() => RetrieveDatapointEvaluations4$inboundSchema),
|
|
1679
1903
|
]);
|
|
1680
1904
|
|
|
1681
1905
|
export function retrieveDatapointEvaluationsFromJSON(
|
|
@@ -1712,6 +1936,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1712
1936
|
z.lazy(() => RetrieveDatapointEvaluations1$inboundSchema),
|
|
1713
1937
|
z.lazy(() => RetrieveDatapointEvaluations2$inboundSchema),
|
|
1714
1938
|
z.lazy(() => RetrieveDatapointEvaluations3$inboundSchema),
|
|
1939
|
+
z.lazy(() => RetrieveDatapointEvaluations4$inboundSchema),
|
|
1715
1940
|
]),
|
|
1716
1941
|
).optional(),
|
|
1717
1942
|
dataset_id: z.string(),
|
|
@@ -1721,7 +1946,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1721
1946
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1722
1947
|
.optional(),
|
|
1723
1948
|
updated: z.string().datetime({ offset: true }).default(
|
|
1724
|
-
"2026-07-
|
|
1949
|
+
"2026-07-16T11:02:21.951Z",
|
|
1725
1950
|
).transform(v => new Date(v)),
|
|
1726
1951
|
}).transform((v) => {
|
|
1727
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-16T11:02:21.951Z",
|
|
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("01KXN9FG87SMB7CV2FAWQEA0XZ"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|