@orq-ai/node 4.10.14 → 4.10.15
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/README.md +38 -36
- package/funcs/guardrailRulesList.js +4 -0
- package/funcs/guardrailRulesList.js.map +1 -1
- package/funcs/guardrailRulesListUsedGuardrails.d.ts +17 -0
- package/funcs/guardrailRulesListUsedGuardrails.d.ts.map +1 -0
- package/funcs/guardrailRulesListUsedGuardrails.js +105 -0
- package/funcs/guardrailRulesListUsedGuardrails.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +37 -12
- package/lib/sdks.js.map +1 -1
- 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.d.ts +10 -10
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +16 -16
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +16 -16
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/guardrailrulelist.d.ts +35 -0
- package/models/operations/guardrailrulelist.d.ts.map +1 -1
- package/models/operations/guardrailrulelist.js +18 -1
- package/models/operations/guardrailrulelist.js.map +1 -1
- package/models/operations/guardrailrulelistusedguardrails.d.ts +14 -0
- package/models/operations/guardrailrulelistusedguardrails.d.ts.map +1 -0
- package/models/operations/guardrailrulelistusedguardrails.js +56 -0
- package/models/operations/guardrailrulelistusedguardrails.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +3 -0
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +1 -1
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +16 -16
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updatetool.d.ts +10 -10
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +17 -17
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +7 -7
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/sdks.ts +41 -13
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- 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/listdatasetdatapoints.ts +4 -4
- 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/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- 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 +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- 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/updateeval.ts +16 -16
- 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 +2 -2
- package/sdk/feedback.js +2 -2
- package/sdk/guardrailrules.d.ts +7 -0
- package/sdk/guardrailrules.d.ts.map +1 -1
- package/sdk/guardrailrules.js +10 -0
- package/sdk/guardrailrules.js.map +1 -1
- package/src/funcs/guardrailRulesList.ts +4 -0
- package/src/funcs/guardrailRulesListUsedGuardrails.ts +147 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +41 -13
- 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 +26 -26
- package/src/models/operations/getalltools.ts +26 -26
- 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/guardrailrulelist.ts +44 -0
- package/src/models/operations/guardrailrulelistusedguardrails.ts +48 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +4 -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 +26 -26
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updatetool.ts +27 -27
- package/src/sdk/feedback.ts +2 -2
- package/src/sdk/guardrailrules.ts +16 -0
|
@@ -0,0 +1,48 @@
|
|
|
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 { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Used guardrails retrieved successfully
|
|
13
|
+
*/
|
|
14
|
+
export type GuardrailRuleListUsedGuardrailsResponseBody = {
|
|
15
|
+
guardrailIds: Array<string> | null;
|
|
16
|
+
object: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const GuardrailRuleListUsedGuardrailsResponseBody$inboundSchema:
|
|
21
|
+
z.ZodType<
|
|
22
|
+
GuardrailRuleListUsedGuardrailsResponseBody,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
guardrail_ids: z.nullable(z.array(z.string())),
|
|
27
|
+
object: z.string(),
|
|
28
|
+
}).transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
"guardrail_ids": "guardrailIds",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function guardrailRuleListUsedGuardrailsResponseBodyFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<
|
|
37
|
+
GuardrailRuleListUsedGuardrailsResponseBody,
|
|
38
|
+
SDKValidationError
|
|
39
|
+
> {
|
|
40
|
+
return safeParse(
|
|
41
|
+
jsonString,
|
|
42
|
+
(x) =>
|
|
43
|
+
GuardrailRuleListUsedGuardrailsResponseBody$inboundSchema.parse(
|
|
44
|
+
JSON.parse(x),
|
|
45
|
+
),
|
|
46
|
+
`Failed to parse 'GuardrailRuleListUsedGuardrailsResponseBody' from JSON`,
|
|
47
|
+
);
|
|
48
|
+
}
|
|
@@ -81,6 +81,7 @@ export * from "./guardrailrulecreate.js";
|
|
|
81
81
|
export * from "./guardrailruledelete.js";
|
|
82
82
|
export * from "./guardrailruleget.js";
|
|
83
83
|
export * from "./guardrailrulelist.js";
|
|
84
|
+
export * from "./guardrailrulelistusedguardrails.js";
|
|
84
85
|
export * from "./guardrailruleupdate.js";
|
|
85
86
|
export * from "./invokeagent.js";
|
|
86
87
|
export * from "./invokeeval.js";
|
|
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1270
1270
|
),
|
|
1271
1271
|
reviewed_by_id: z.string(),
|
|
1272
1272
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1273
|
-
"2026-06-
|
|
1273
|
+
"2026-06-11T07:01:36.729Z",
|
|
1274
1274
|
).transform(v => new Date(v)),
|
|
1275
1275
|
type: z.literal("string_array"),
|
|
1276
1276
|
values: z.array(z.string()),
|
|
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1320
1320
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
1321
1321
|
reviewed_by_id: z.string(),
|
|
1322
1322
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1323
|
-
"2026-06-
|
|
1323
|
+
"2026-06-11T07:01:36.729Z",
|
|
1324
1324
|
).transform(v => new Date(v)),
|
|
1325
1325
|
type: z.literal("number"),
|
|
1326
1326
|
value: z.number(),
|
|
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1369
1369
|
.default("orq"),
|
|
1370
1370
|
reviewed_by_id: z.string(),
|
|
1371
1371
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1372
|
-
"2026-06-
|
|
1372
|
+
"2026-06-11T07:01:36.728Z",
|
|
1373
1373
|
).transform(v => new Date(v)),
|
|
1374
1374
|
type: z.literal("string"),
|
|
1375
1375
|
value: z.string(),
|
|
@@ -1448,7 +1448,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1448
1448
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1449
1449
|
.optional(),
|
|
1450
1450
|
updated: z.string().datetime({ offset: true }).default(
|
|
1451
|
-
"2026-06-
|
|
1451
|
+
"2026-06-11T07:01:08.943Z",
|
|
1452
1452
|
).transform(v => new Date(v)),
|
|
1453
1453
|
}).transform((v) => {
|
|
1454
1454
|
return remap$(v, {
|
|
@@ -156,7 +156,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
156
156
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
157
157
|
.optional(),
|
|
158
158
|
updated: z.string().datetime({ offset: true }).default(
|
|
159
|
-
"2026-06-
|
|
159
|
+
"2026-06-11T07:01:08.943Z",
|
|
160
160
|
).transform(v => new Date(v)),
|
|
161
161
|
}).transform((v) => {
|
|
162
162
|
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("01KTTQS0RNDM2Y8HWFBYVEY8FV"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -18,6 +18,9 @@ export type ListKnowledgeBasesRequest = {
|
|
|
18
18
|
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
19
19
|
*/
|
|
20
20
|
endingBefore?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
23
|
+
*/
|
|
21
24
|
limit?: number | undefined;
|
|
22
25
|
};
|
|
23
26
|
|
|
@@ -289,7 +292,7 @@ export const ListKnowledgeBasesRequest$outboundSchema: z.ZodType<
|
|
|
289
292
|
> = z.object({
|
|
290
293
|
startingAfter: z.string().optional(),
|
|
291
294
|
endingBefore: z.string().optional(),
|
|
292
|
-
limit: z.number().default(
|
|
295
|
+
limit: z.number().int().default(25),
|
|
293
296
|
}).transform((v) => {
|
|
294
297
|
return remap$(v, {
|
|
295
298
|
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-06-
|
|
321
|
+
"2026-06-11T07:01:08.943Z",
|
|
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-11T07:01:08.943Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -173,7 +173,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
173
173
|
humanReviewId: z.string(),
|
|
174
174
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
175
175
|
.default("orq"),
|
|
176
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
176
|
+
reviewedAt: z.date().default(() => new Date("2026-06-11T07:01:36.877Z"))
|
|
177
177
|
.transform(v => v.toISOString()),
|
|
178
178
|
type: z.literal("string_array"),
|
|
179
179
|
values: z.array(z.string()),
|
|
@@ -225,7 +225,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
225
225
|
source: PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default(
|
|
226
226
|
"orq",
|
|
227
227
|
),
|
|
228
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
228
|
+
reviewedAt: z.date().default(() => new Date("2026-06-11T07:01:36.876Z"))
|
|
229
229
|
.transform(v => v.toISOString()),
|
|
230
230
|
type: z.literal("number"),
|
|
231
231
|
value: z.number(),
|
|
@@ -281,7 +281,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
281
281
|
evaluationType: EvaluationType$outboundSchema,
|
|
282
282
|
humanReviewId: z.string(),
|
|
283
283
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
284
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
284
|
+
reviewedAt: z.date().default(() => new Date("2026-06-11T07:01:36.876Z"))
|
|
285
285
|
.transform(v => v.toISOString()),
|
|
286
286
|
type: z.literal("string"),
|
|
287
287
|
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-11T07:01:08.943Z",
|
|
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-11T07:01:08.943Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -1207,7 +1207,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1207
1207
|
.default("orq"),
|
|
1208
1208
|
reviewed_by_id: z.string(),
|
|
1209
1209
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1210
|
-
"2026-06-
|
|
1210
|
+
"2026-06-11T07:01:36.737Z",
|
|
1211
1211
|
).transform(v => new Date(v)),
|
|
1212
1212
|
type: z.literal("string_array"),
|
|
1213
1213
|
values: z.array(z.string()),
|
|
@@ -1255,7 +1255,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1255
1255
|
),
|
|
1256
1256
|
reviewed_by_id: z.string(),
|
|
1257
1257
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1258
|
-
"2026-06-
|
|
1258
|
+
"2026-06-11T07:01:36.736Z",
|
|
1259
1259
|
).transform(v => new Date(v)),
|
|
1260
1260
|
type: z.literal("number"),
|
|
1261
1261
|
value: z.number(),
|
|
@@ -1300,7 +1300,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1300
1300
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
1301
1301
|
reviewed_by_id: z.string(),
|
|
1302
1302
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1303
|
-
"2026-06-
|
|
1303
|
+
"2026-06-11T07:01:36.735Z",
|
|
1304
1304
|
).transform(v => new Date(v)),
|
|
1305
1305
|
type: z.literal("string"),
|
|
1306
1306
|
value: z.string(),
|
|
@@ -1377,7 +1377,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1377
1377
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1378
1378
|
.optional(),
|
|
1379
1379
|
updated: z.string().datetime({ offset: true }).default(
|
|
1380
|
-
"2026-06-
|
|
1380
|
+
"2026-06-11T07:01:08.943Z",
|
|
1381
1381
|
).transform(v => new Date(v)),
|
|
1382
1382
|
}).transform((v) => {
|
|
1383
1383
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-06-
|
|
129
|
+
"2026-06-11T07:01:08.943Z",
|
|
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("01KTTQS0RQWA5SMT47CJ6F66VT"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -115,11 +115,11 @@ export type RetrieveToolResponseBodyCodeExecutionTool = {
|
|
|
115
115
|
/**
|
|
116
116
|
* The id of the user that created the tool
|
|
117
117
|
*/
|
|
118
|
-
createdById?: string | undefined;
|
|
118
|
+
createdById?: string | null | undefined;
|
|
119
119
|
/**
|
|
120
120
|
* The id of the user that last updated the tool
|
|
121
121
|
*/
|
|
122
|
-
updatedById?: string | undefined;
|
|
122
|
+
updatedById?: string | null | undefined;
|
|
123
123
|
projectId: string;
|
|
124
124
|
workspaceId: string;
|
|
125
125
|
created: string;
|
|
@@ -241,11 +241,11 @@ export type RetrieveToolResponseBodyMCPTool = {
|
|
|
241
241
|
/**
|
|
242
242
|
* The id of the user that created the tool
|
|
243
243
|
*/
|
|
244
|
-
createdById?: string | undefined;
|
|
244
|
+
createdById?: string | null | undefined;
|
|
245
245
|
/**
|
|
246
246
|
* The id of the user that last updated the tool
|
|
247
247
|
*/
|
|
248
|
-
updatedById?: string | undefined;
|
|
248
|
+
updatedById?: string | null | undefined;
|
|
249
249
|
projectId: string;
|
|
250
250
|
workspaceId: string;
|
|
251
251
|
created: string;
|
|
@@ -402,11 +402,11 @@ export type RetrieveToolResponseBodyHTTPTool = {
|
|
|
402
402
|
/**
|
|
403
403
|
* The id of the user that created the tool
|
|
404
404
|
*/
|
|
405
|
-
createdById?: string | undefined;
|
|
405
|
+
createdById?: string | null | undefined;
|
|
406
406
|
/**
|
|
407
407
|
* The id of the user that last updated the tool
|
|
408
408
|
*/
|
|
409
|
-
updatedById?: string | undefined;
|
|
409
|
+
updatedById?: string | null | undefined;
|
|
410
410
|
projectId: string;
|
|
411
411
|
workspaceId: string;
|
|
412
412
|
created: string;
|
|
@@ -503,11 +503,11 @@ export type RetrieveToolResponseBodyJSONSchemaTool = {
|
|
|
503
503
|
/**
|
|
504
504
|
* The id of the user that created the tool
|
|
505
505
|
*/
|
|
506
|
-
createdById?: string | undefined;
|
|
506
|
+
createdById?: string | null | undefined;
|
|
507
507
|
/**
|
|
508
508
|
* The id of the user that last updated the tool
|
|
509
509
|
*/
|
|
510
|
-
updatedById?: string | undefined;
|
|
510
|
+
updatedById?: string | null | undefined;
|
|
511
511
|
projectId: string;
|
|
512
512
|
workspaceId: string;
|
|
513
513
|
created: string;
|
|
@@ -618,11 +618,11 @@ export type RetrieveToolResponseBodyFunctionTool = {
|
|
|
618
618
|
/**
|
|
619
619
|
* The id of the user that created the tool
|
|
620
620
|
*/
|
|
621
|
-
createdById?: string | undefined;
|
|
621
|
+
createdById?: string | null | undefined;
|
|
622
622
|
/**
|
|
623
623
|
* The id of the user that last updated the tool
|
|
624
624
|
*/
|
|
625
|
-
updatedById?: string | undefined;
|
|
625
|
+
updatedById?: string | null | undefined;
|
|
626
626
|
projectId: string;
|
|
627
627
|
workspaceId: string;
|
|
628
628
|
created: string;
|
|
@@ -753,13 +753,13 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
753
753
|
z.ZodTypeDef,
|
|
754
754
|
unknown
|
|
755
755
|
> = z.object({
|
|
756
|
-
_id: z.string().default("
|
|
756
|
+
_id: z.string().default("tool_01KTTQS0MWX7QTB1YZYZGQKX8M"),
|
|
757
757
|
path: z.string(),
|
|
758
758
|
key: z.string(),
|
|
759
759
|
display_name: z.string().optional(),
|
|
760
760
|
description: z.string(),
|
|
761
|
-
created_by_id: z.string().optional(),
|
|
762
|
-
updated_by_id: z.string().optional(),
|
|
761
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
762
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
763
763
|
project_id: z.string(),
|
|
764
764
|
workspace_id: z.string(),
|
|
765
765
|
created: z.string(),
|
|
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
859
859
|
z.ZodTypeDef,
|
|
860
860
|
unknown
|
|
861
861
|
> = z.object({
|
|
862
|
-
id: z.string().default("
|
|
862
|
+
id: z.string().default("01KTTQS0MTQ8S1A3VSYP6M7RWK"),
|
|
863
863
|
name: z.string(),
|
|
864
864
|
description: z.string().optional(),
|
|
865
865
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -917,13 +917,13 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KTTQS0MS6ESYA075QCA0P72D"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
924
924
|
description: z.string(),
|
|
925
|
-
created_by_id: z.string().optional(),
|
|
926
|
-
updated_by_id: z.string().optional(),
|
|
925
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
926
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
927
927
|
project_id: z.string(),
|
|
928
928
|
workspace_id: z.string(),
|
|
929
929
|
created: z.string(),
|
|
@@ -1108,13 +1108,13 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1108
1108
|
z.ZodTypeDef,
|
|
1109
1109
|
unknown
|
|
1110
1110
|
> = z.object({
|
|
1111
|
-
_id: z.string().default("
|
|
1111
|
+
_id: z.string().default("tool_01KTTQS0MPG3A1FWM0B3SRQYAP"),
|
|
1112
1112
|
path: z.string(),
|
|
1113
1113
|
key: z.string(),
|
|
1114
1114
|
display_name: z.string().optional(),
|
|
1115
1115
|
description: z.string(),
|
|
1116
|
-
created_by_id: z.string().optional(),
|
|
1117
|
-
updated_by_id: z.string().optional(),
|
|
1116
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1117
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1118
1118
|
project_id: z.string(),
|
|
1119
1119
|
workspace_id: z.string(),
|
|
1120
1120
|
created: z.string(),
|
|
@@ -1204,13 +1204,13 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1204
1204
|
z.ZodTypeDef,
|
|
1205
1205
|
unknown
|
|
1206
1206
|
> = z.object({
|
|
1207
|
-
_id: z.string().default("
|
|
1207
|
+
_id: z.string().default("tool_01KTTQS0MNPE1JE2BFC93NX7GQ"),
|
|
1208
1208
|
path: z.string(),
|
|
1209
1209
|
key: z.string(),
|
|
1210
1210
|
display_name: z.string().optional(),
|
|
1211
1211
|
description: z.string(),
|
|
1212
|
-
created_by_id: z.string().optional(),
|
|
1213
|
-
updated_by_id: z.string().optional(),
|
|
1212
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1213
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1214
1214
|
project_id: z.string(),
|
|
1215
1215
|
workspace_id: z.string(),
|
|
1216
1216
|
created: z.string(),
|
|
@@ -1310,13 +1310,13 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1310
1310
|
z.ZodTypeDef,
|
|
1311
1311
|
unknown
|
|
1312
1312
|
> = z.object({
|
|
1313
|
-
_id: z.string().default("
|
|
1313
|
+
_id: z.string().default("tool_01KTTQS0MKXDEPAW41KXSWD2PM"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|
|
1317
1317
|
description: z.string(),
|
|
1318
|
-
created_by_id: z.string().optional(),
|
|
1319
|
-
updated_by_id: z.string().optional(),
|
|
1318
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1319
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1320
1320
|
project_id: z.string(),
|
|
1321
1321
|
workspace_id: z.string(),
|
|
1322
1322
|
created: z.string(),
|
|
@@ -3626,7 +3626,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3626
3626
|
z.ZodTypeDef,
|
|
3627
3627
|
Tools
|
|
3628
3628
|
> = z.object({
|
|
3629
|
-
id: z.string().default("
|
|
3629
|
+
id: z.string().default("01KTTQS0CQ00G44N6KN4HYYVSJ"),
|
|
3630
3630
|
name: z.string(),
|
|
3631
3631
|
description: z.string().optional(),
|
|
3632
3632
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3675
3675
|
z.ZodTypeDef,
|
|
3676
3676
|
AgentToolInputRunTools
|
|
3677
3677
|
> = z.object({
|
|
3678
|
-
id: z.string().default("
|
|
3678
|
+
id: z.string().default("01KTTQS0E64Q269KJCA7KFADEE"),
|
|
3679
3679
|
name: z.string(),
|
|
3680
3680
|
description: z.string().optional(),
|
|
3681
3681
|
schema: z.lazy(() =>
|
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-06-
|
|
2361
|
+
"2026-06-11T07:01:36.778Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-06-
|
|
2407
|
+
"2026-06-11T07:01:36.778Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-06-
|
|
2452
|
+
"2026-06-11T07:01:36.777Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-06-
|
|
2533
|
+
"2026-06-11T07:01:08.943Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-06-
|
|
185
|
+
"2026-06-11T07:01:08.943Z",
|
|
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("01KTTQS0RWYXF5FYCC8BCW9D5W"),
|
|
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-11T07:01:11.239Z"),
|
|
1557
|
+
updated: z.string().default("2026-06-11T07:01:11.239Z"),
|
|
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-11T07:01:11.239Z"),
|
|
1753
|
+
updated: z.string().default("2026-06-11T07:01:11.239Z"),
|
|
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-11T07:01:11.239Z"),
|
|
2612
|
+
updated: z.string().default("2026-06-11T07:01:11.239Z"),
|
|
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-11T07:01:11.239Z"),
|
|
2831
|
+
updated: z.string().default("2026-06-11T07:01:11.239Z"),
|
|
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-11T07:01:11.239Z"),
|
|
3000
|
+
updated: z.string().default("2026-06-11T07:01:11.239Z"),
|
|
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-11T07:01:11.239Z"),
|
|
3154
|
+
updated: z.string().default("2026-06-11T07:01:11.239Z"),
|
|
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-11T07:01:11.239Z"),
|
|
3517
|
+
updated: z.string().default("2026-06-11T07:01:11.239Z"),
|
|
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-11T07:01:11.239Z"),
|
|
3730
|
+
updated: z.string().default("2026-06-11T07:01:11.239Z"),
|
|
3731
3731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3732
3732
|
guardrail_config: z.nullable(
|
|
3733
3733
|
z.union([
|