@orq-ai/node 4.6.3 → 4.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.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/createidentity.js +1 -1
- package/models/operations/createresponse.d.ts +337 -157
- package/models/operations/createresponse.d.ts.map +1 -1
- package/models/operations/createresponse.js +224 -101
- package/models/operations/createresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- 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/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +11 -2
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/errors/retrieveidentity.ts +56 -0
- package/packages/orq-rc/src/models/operations/createcontact.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/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createresponse.ts +603 -260
- 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/getv2humanevals.ts +6 -6
- 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/getv2humanevalsid.ts +6 -6
- 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/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +17 -14
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevals.ts +12 -12
- 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/retrieveidentity.ts +58 -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/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.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/createidentity.ts +1 -1
- package/src/models/operations/createresponse.ts +603 -260
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- 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/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- 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/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { OrqCore } from "../core.js";
|
|
6
|
-
import { encodeSimple } from "../lib/encodings.js";
|
|
6
|
+
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
8
|
import { compactMap } from "../lib/primitives.js";
|
|
9
9
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -39,6 +39,7 @@ export function identitiesRetrieve(
|
|
|
39
39
|
Result<
|
|
40
40
|
operations.RetrieveIdentityResponseBody,
|
|
41
41
|
| errors.RetrieveIdentityResponseBody
|
|
42
|
+
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
42
43
|
| OrqError
|
|
43
44
|
| ResponseValidationError
|
|
44
45
|
| ConnectionError
|
|
@@ -65,6 +66,7 @@ async function $do(
|
|
|
65
66
|
Result<
|
|
66
67
|
operations.RetrieveIdentityResponseBody,
|
|
67
68
|
| errors.RetrieveIdentityResponseBody
|
|
69
|
+
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
68
70
|
| OrqError
|
|
69
71
|
| ResponseValidationError
|
|
70
72
|
| ConnectionError
|
|
@@ -96,6 +98,10 @@ async function $do(
|
|
|
96
98
|
};
|
|
97
99
|
const path = pathToFunc("/v2/identities/{id}")(pathParams);
|
|
98
100
|
|
|
101
|
+
const query = encodeFormQuery({
|
|
102
|
+
"include_metrics": payload.include_metrics,
|
|
103
|
+
});
|
|
104
|
+
|
|
99
105
|
const headers = new Headers(compactMap({
|
|
100
106
|
Accept: "application/json",
|
|
101
107
|
}));
|
|
@@ -125,6 +131,7 @@ async function $do(
|
|
|
125
131
|
baseURL: options?.serverURL,
|
|
126
132
|
path: path,
|
|
127
133
|
headers: headers,
|
|
134
|
+
query: query,
|
|
128
135
|
body: body,
|
|
129
136
|
userAgent: client._options.userAgent,
|
|
130
137
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
@@ -136,7 +143,7 @@ async function $do(
|
|
|
136
143
|
|
|
137
144
|
const doResult = await client._do(req, {
|
|
138
145
|
context,
|
|
139
|
-
errorCodes: ["404", "4XX", "5XX"],
|
|
146
|
+
errorCodes: ["404", "4XX", "500", "5XX"],
|
|
140
147
|
retryConfig: context.retryConfig,
|
|
141
148
|
retryCodes: context.retryCodes,
|
|
142
149
|
});
|
|
@@ -152,6 +159,7 @@ async function $do(
|
|
|
152
159
|
const [result] = await M.match<
|
|
153
160
|
operations.RetrieveIdentityResponseBody,
|
|
154
161
|
| errors.RetrieveIdentityResponseBody
|
|
162
|
+
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
155
163
|
| OrqError
|
|
156
164
|
| ResponseValidationError
|
|
157
165
|
| ConnectionError
|
|
@@ -163,6 +171,7 @@ async function $do(
|
|
|
163
171
|
>(
|
|
164
172
|
M.json(200, operations.RetrieveIdentityResponseBody$inboundSchema),
|
|
165
173
|
M.jsonErr(404, errors.RetrieveIdentityResponseBody$inboundSchema),
|
|
174
|
+
M.jsonErr(500, errors.RetrieveIdentityIdentitiesResponseBody$inboundSchema),
|
|
166
175
|
M.fail("4XX"),
|
|
167
176
|
M.fail("5XX"),
|
|
168
177
|
)(response, req, { extraFields: responseFields });
|
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "4.7.0-rc.
|
|
72
|
-
genVersion: "2.869.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 4.7.0-rc.
|
|
71
|
+
sdkVersion: "4.7.0-rc.25",
|
|
72
|
+
genVersion: "2.869.25",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 4.7.0-rc.25 2.869.25 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kmsx26vwtybxt48sy2a69che"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -5,6 +5,43 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { OrqError } from "./orqerror.js";
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Failed to fetch metrics
|
|
10
|
+
*/
|
|
11
|
+
export type RetrieveIdentityIdentitiesResponseBodyData = {
|
|
12
|
+
/**
|
|
13
|
+
* Error message
|
|
14
|
+
*/
|
|
15
|
+
error: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Failed to fetch metrics
|
|
20
|
+
*/
|
|
21
|
+
export class RetrieveIdentityIdentitiesResponseBody extends OrqError {
|
|
22
|
+
/**
|
|
23
|
+
* Error message
|
|
24
|
+
*/
|
|
25
|
+
error: string;
|
|
26
|
+
|
|
27
|
+
/** The original data that was passed to this error instance. */
|
|
28
|
+
data$: RetrieveIdentityIdentitiesResponseBodyData;
|
|
29
|
+
|
|
30
|
+
constructor(
|
|
31
|
+
err: RetrieveIdentityIdentitiesResponseBodyData,
|
|
32
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
33
|
+
) {
|
|
34
|
+
const message = "message" in err && typeof err.message === "string"
|
|
35
|
+
? err.message
|
|
36
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
|
+
super(message, httpMeta);
|
|
38
|
+
this.data$ = err;
|
|
39
|
+
this.error = err.error;
|
|
40
|
+
|
|
41
|
+
this.name = "RetrieveIdentityIdentitiesResponseBody";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
8
45
|
/**
|
|
9
46
|
* Identity not found
|
|
10
47
|
*/
|
|
@@ -42,6 +79,25 @@ export class RetrieveIdentityResponseBody extends OrqError {
|
|
|
42
79
|
}
|
|
43
80
|
}
|
|
44
81
|
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const RetrieveIdentityIdentitiesResponseBody$inboundSchema: z.ZodType<
|
|
84
|
+
RetrieveIdentityIdentitiesResponseBody,
|
|
85
|
+
z.ZodTypeDef,
|
|
86
|
+
unknown
|
|
87
|
+
> = z.object({
|
|
88
|
+
error: z.string(),
|
|
89
|
+
request$: z.instanceof(Request),
|
|
90
|
+
response$: z.instanceof(Response),
|
|
91
|
+
body$: z.string(),
|
|
92
|
+
})
|
|
93
|
+
.transform((v) => {
|
|
94
|
+
return new RetrieveIdentityIdentitiesResponseBody(v, {
|
|
95
|
+
request: v.request$,
|
|
96
|
+
response: v.response$,
|
|
97
|
+
body: v.body$,
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
|
|
45
101
|
/** @internal */
|
|
46
102
|
export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
47
103
|
RetrieveIdentityResponseBody,
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-03-
|
|
137
|
+
"2026-03-28T09:40:18.790Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-03-
|
|
141
|
+
"2026-03-28T09:40:18.790Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-03-
|
|
2358
|
+
"2026-03-28T09:40:36.044Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-03-
|
|
2403
|
+
"2026-03-28T09:40:36.043Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-03-
|
|
2449
|
+
"2026-03-28T09:40:36.043Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-03-
|
|
2532
|
+
"2026-03-28T09:40:18.790Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KMSX27G1AB78QBB5T6J3JP9P"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2245,8 +2245,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2245
2245
|
> = z.object({
|
|
2246
2246
|
_id: z.string(),
|
|
2247
2247
|
description: z.string(),
|
|
2248
|
-
created: z.string().default("2026-03-
|
|
2249
|
-
updated: z.string().default("2026-03-
|
|
2248
|
+
created: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
2249
|
+
updated: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
2250
2250
|
guardrail_config: z.union([
|
|
2251
2251
|
z.lazy(() =>
|
|
2252
2252
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
@@ -2394,8 +2394,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2394
2394
|
.object({
|
|
2395
2395
|
_id: z.string(),
|
|
2396
2396
|
description: z.string(),
|
|
2397
|
-
created: z.string().default("2026-03-
|
|
2398
|
-
updated: z.string().default("2026-03-
|
|
2397
|
+
created: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
2398
|
+
updated: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
2399
2399
|
guardrail_config: z.union([
|
|
2400
2400
|
z.lazy(() =>
|
|
2401
2401
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
@@ -3184,8 +3184,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3184
3184
|
> = z.object({
|
|
3185
3185
|
_id: z.string(),
|
|
3186
3186
|
description: z.string(),
|
|
3187
|
-
created: z.string().default("2026-03-
|
|
3188
|
-
updated: z.string().default("2026-03-
|
|
3187
|
+
created: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3188
|
+
updated: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3189
3189
|
guardrail_config: z.union([
|
|
3190
3190
|
z.lazy(() =>
|
|
3191
3191
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -3363,8 +3363,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3363
3363
|
> = z.object({
|
|
3364
3364
|
_id: z.string(),
|
|
3365
3365
|
description: z.string(),
|
|
3366
|
-
created: z.string().default("2026-03-
|
|
3367
|
-
updated: z.string().default("2026-03-
|
|
3366
|
+
created: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3367
|
+
updated: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3368
3368
|
guardrail_config: z.union([
|
|
3369
3369
|
z.lazy(() =>
|
|
3370
3370
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -3504,8 +3504,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3504
3504
|
> = z.object({
|
|
3505
3505
|
_id: z.string(),
|
|
3506
3506
|
description: z.string(),
|
|
3507
|
-
created: z.string().default("2026-03-
|
|
3508
|
-
updated: z.string().default("2026-03-
|
|
3507
|
+
created: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3508
|
+
updated: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3509
3509
|
guardrail_config: z.union([
|
|
3510
3510
|
z.lazy(() =>
|
|
3511
3511
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -3641,8 +3641,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3641
3641
|
> = z.object({
|
|
3642
3642
|
_id: z.string(),
|
|
3643
3643
|
description: z.string(),
|
|
3644
|
-
created: z.string().default("2026-03-
|
|
3645
|
-
updated: z.string().default("2026-03-
|
|
3644
|
+
created: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3645
|
+
updated: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3646
3646
|
guardrail_config: z.union([
|
|
3647
3647
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3648
3648
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -3952,8 +3952,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3952
3952
|
> = z.object({
|
|
3953
3953
|
_id: z.string(),
|
|
3954
3954
|
description: z.string(),
|
|
3955
|
-
created: z.string().default("2026-03-
|
|
3956
|
-
updated: z.string().default("2026-03-
|
|
3955
|
+
created: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3956
|
+
updated: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
3957
3957
|
guardrail_config: z.union([
|
|
3958
3958
|
z.lazy(() =>
|
|
3959
3959
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema
|
|
@@ -4096,8 +4096,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4096
4096
|
> = z.object({
|
|
4097
4097
|
_id: z.string(),
|
|
4098
4098
|
description: z.string(),
|
|
4099
|
-
created: z.string().default("2026-03-
|
|
4100
|
-
updated: z.string().default("2026-03-
|
|
4099
|
+
created: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
4100
|
+
updated: z.string().default("2026-03-28T09:40:21.146Z"),
|
|
4101
4101
|
guardrail_config: z.union([
|
|
4102
4102
|
z.lazy(() =>
|
|
4103
4103
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-03-
|
|
142
|
+
"2026-03-28T09:40:18.790Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|