@orq-ai/node 4.11.0-rc.3 → 4.11.0-rc.4
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/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- 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 +13 -4
- 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.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/modelcreateawsbedrock.d.ts +4 -0
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +4 -0
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +4 -0
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +4 -0
- package/models/operations/modelupdateawsbedrock.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.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +13 -4
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/modelcreateawsbedrock.ts +8 -0
- package/src/models/operations/modelupdateawsbedrock.ts +8 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
package/src/lib/sdks.ts
CHANGED
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
matchContentType,
|
|
25
25
|
} from "./http.js";
|
|
26
26
|
import { Logger } from "./logger.js";
|
|
27
|
+
import { combineSignals } from "./primitives.js";
|
|
27
28
|
import { retry, RetryConfig } from "./retries.js";
|
|
28
29
|
import { SecurityState } from "./security.js";
|
|
29
30
|
|
|
@@ -198,9 +199,8 @@ export class ClientSDK {
|
|
|
198
199
|
...options?.fetchOptions,
|
|
199
200
|
...options,
|
|
200
201
|
};
|
|
201
|
-
if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
|
|
202
|
-
|
|
203
|
-
fetchOptions.signal = timeoutSignal;
|
|
202
|
+
if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
|
|
203
|
+
context.timeoutMs = conf.timeoutMs;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
if (conf.body instanceof ReadableStream) {
|
|
@@ -247,10 +247,19 @@ export class ClientSDK {
|
|
|
247
247
|
>
|
|
248
248
|
> {
|
|
249
249
|
const { context, isErrorStatusCode } = options;
|
|
250
|
+
const timeoutMs = context.timeoutMs;
|
|
250
251
|
|
|
251
252
|
return retry(
|
|
252
253
|
async () => {
|
|
253
|
-
const
|
|
254
|
+
const cloned = request.clone();
|
|
255
|
+
let attempt = cloned;
|
|
256
|
+
if (timeoutMs != null && timeoutMs > 0) {
|
|
257
|
+
const timeoutSignal = AbortSignal.timeout(timeoutMs);
|
|
258
|
+
const combined = combineSignals(cloned.signal, timeoutSignal)
|
|
259
|
+
?? timeoutSignal;
|
|
260
|
+
attempt = new Request(cloned, { signal: combined });
|
|
261
|
+
}
|
|
262
|
+
const req = await this.#hooks.beforeRequest(context, attempt);
|
|
254
263
|
await logRequest(this.#logger, req).catch((e) =>
|
|
255
264
|
this.#logger?.log("Failed to log request:", e)
|
|
256
265
|
);
|
|
@@ -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_01ktnkv43kzmr4chyfct7590ex"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -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-06-
|
|
141
|
+
"2026-06-09T07:16:24.404Z",
|
|
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-06-
|
|
2358
|
+
"2026-06-09T07:16:39.727Z",
|
|
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-06-
|
|
2403
|
+
"2026-06-09T07:16:39.726Z",
|
|
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-06-
|
|
2449
|
+
"2026-06-09T07:16:39.726Z",
|
|
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-06-
|
|
2532
|
+
"2026-06-09T07:16:24.404Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -409,7 +409,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
409
409
|
z.ZodTypeDef,
|
|
410
410
|
unknown
|
|
411
411
|
> = z.object({
|
|
412
|
-
_id: z.string().default("
|
|
412
|
+
_id: z.string().default("01KTNKV4JHMJKV72X41DHTS9RF"),
|
|
413
413
|
display_name: z.string(),
|
|
414
414
|
description: z.nullable(z.string()).optional(),
|
|
415
415
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2193,8 +2193,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
> = z.object({
|
|
2194
2194
|
_id: z.string(),
|
|
2195
2195
|
description: z.string(),
|
|
2196
|
-
created: z.string().default("2026-06-
|
|
2197
|
-
updated: z.string().default("2026-06-
|
|
2196
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2197
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2198
2198
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2199
2199
|
guardrail_config: z.nullable(
|
|
2200
2200
|
z.union([
|
|
@@ -2384,8 +2384,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2384
2384
|
.object({
|
|
2385
2385
|
_id: z.string(),
|
|
2386
2386
|
description: z.string(),
|
|
2387
|
-
created: z.string().default("2026-06-
|
|
2388
|
-
updated: z.string().default("2026-06-
|
|
2387
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2388
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2389
2389
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2390
2390
|
guardrail_config: z.nullable(
|
|
2391
2391
|
z.union([
|
|
@@ -3210,8 +3210,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3210
3210
|
> = z.object({
|
|
3211
3211
|
_id: z.string(),
|
|
3212
3212
|
description: z.string(),
|
|
3213
|
-
created: z.string().default("2026-06-
|
|
3214
|
-
updated: z.string().default("2026-06-
|
|
3213
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3214
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3215
3215
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3216
3216
|
guardrail_config: z.nullable(
|
|
3217
3217
|
z.union([
|
|
@@ -3430,8 +3430,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3430
3430
|
> = z.object({
|
|
3431
3431
|
_id: z.string(),
|
|
3432
3432
|
description: z.string(),
|
|
3433
|
-
created: z.string().default("2026-06-
|
|
3434
|
-
updated: z.string().default("2026-06-
|
|
3433
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3434
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3435
3435
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3436
3436
|
guardrail_config: z.nullable(
|
|
3437
3437
|
z.union([
|
|
@@ -3612,8 +3612,8 @@ export const CreateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3612
3612
|
> = z.object({
|
|
3613
3613
|
_id: z.string(),
|
|
3614
3614
|
description: z.string(),
|
|
3615
|
-
created: z.string().default("2026-06-
|
|
3616
|
-
updated: z.string().default("2026-06-
|
|
3615
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3616
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3617
3617
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3618
3618
|
guardrail_config: z.nullable(
|
|
3619
3619
|
z.union([
|
|
@@ -3772,8 +3772,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
3772
3772
|
.object({
|
|
3773
3773
|
_id: z.string(),
|
|
3774
3774
|
description: z.string(),
|
|
3775
|
-
created: z.string().default("2026-06-
|
|
3776
|
-
updated: z.string().default("2026-06-
|
|
3775
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3776
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3777
3777
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3778
3778
|
guardrail_config: z.nullable(
|
|
3779
3779
|
z.union([
|
|
@@ -4143,8 +4143,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4143
4143
|
> = z.object({
|
|
4144
4144
|
_id: z.string(),
|
|
4145
4145
|
description: z.string(),
|
|
4146
|
-
created: z.string().default("2026-06-
|
|
4147
|
-
updated: z.string().default("2026-06-
|
|
4146
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
4147
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
4148
4148
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
4149
4149
|
guardrail_config: z.nullable(
|
|
4150
4150
|
z.union([
|
|
@@ -4363,8 +4363,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4363
4363
|
> = z.object({
|
|
4364
4364
|
_id: z.string(),
|
|
4365
4365
|
description: z.string(),
|
|
4366
|
-
created: z.string().default("2026-06-
|
|
4367
|
-
updated: z.string().default("2026-06-
|
|
4366
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
4367
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
4368
4368
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
4369
4369
|
guardrail_config: z.nullable(
|
|
4370
4370
|
z.union([
|
|
@@ -1898,7 +1898,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1898
1898
|
z.ZodTypeDef,
|
|
1899
1899
|
unknown
|
|
1900
1900
|
> = z.object({
|
|
1901
|
-
_id: z.string().default("
|
|
1901
|
+
_id: z.string().default("tool_01KTNKV4EH9KSH06X0P4MYPDG6"),
|
|
1902
1902
|
path: z.string(),
|
|
1903
1903
|
key: z.string(),
|
|
1904
1904
|
display_name: z.string().optional(),
|
|
@@ -1995,7 +1995,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1995
1995
|
z.ZodTypeDef,
|
|
1996
1996
|
unknown
|
|
1997
1997
|
> = z.object({
|
|
1998
|
-
id: z.string().default("
|
|
1998
|
+
id: z.string().default("01KTNKV4EG99NK249X082VKCQJ"),
|
|
1999
1999
|
name: z.string(),
|
|
2000
2000
|
description: z.string().optional(),
|
|
2001
2001
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2051,7 +2051,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2051
2051
|
z.ZodTypeDef,
|
|
2052
2052
|
unknown
|
|
2053
2053
|
> = z.object({
|
|
2054
|
-
_id: z.string().default("
|
|
2054
|
+
_id: z.string().default("tool_01KTNKV4EFNTQTFRG0SADKNV0Z"),
|
|
2055
2055
|
path: z.string(),
|
|
2056
2056
|
key: z.string(),
|
|
2057
2057
|
display_name: z.string().optional(),
|
|
@@ -2237,7 +2237,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2237
2237
|
z.ZodTypeDef,
|
|
2238
2238
|
unknown
|
|
2239
2239
|
> = z.object({
|
|
2240
|
-
_id: z.string().default("
|
|
2240
|
+
_id: z.string().default("tool_01KTNKV4ED12RYN03YVG0J95PT"),
|
|
2241
2241
|
path: z.string(),
|
|
2242
2242
|
key: z.string(),
|
|
2243
2243
|
display_name: z.string().optional(),
|
|
@@ -2330,7 +2330,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2330
2330
|
z.ZodTypeDef,
|
|
2331
2331
|
unknown
|
|
2332
2332
|
> = z.object({
|
|
2333
|
-
_id: z.string().default("
|
|
2333
|
+
_id: z.string().default("tool_01KTNKV4EBCMFRDZFNA58DFFTC"),
|
|
2334
2334
|
path: z.string(),
|
|
2335
2335
|
key: z.string(),
|
|
2336
2336
|
display_name: z.string().optional(),
|
|
@@ -2431,7 +2431,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2431
2431
|
z.ZodTypeDef,
|
|
2432
2432
|
unknown
|
|
2433
2433
|
> = z.object({
|
|
2434
|
-
_id: z.string().default("
|
|
2434
|
+
_id: z.string().default("tool_01KTNKV4E9QQ0GJR4E8TD9ZEK1"),
|
|
2435
2435
|
path: z.string(),
|
|
2436
2436
|
key: z.string(),
|
|
2437
2437
|
display_name: z.string().optional(),
|
|
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
767
767
|
z.ZodTypeDef,
|
|
768
768
|
unknown
|
|
769
769
|
> = z.object({
|
|
770
|
-
_id: z.string().default("
|
|
770
|
+
_id: z.string().default("tool_01KTNKV4DFJZWCSE0G58BHQ4RC"),
|
|
771
771
|
path: z.string(),
|
|
772
772
|
key: z.string(),
|
|
773
773
|
display_name: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
864
864
|
z.ZodTypeDef,
|
|
865
865
|
unknown
|
|
866
866
|
> = z.object({
|
|
867
|
-
id: z.string().default("
|
|
867
|
+
id: z.string().default("01KTNKV4DEP3F5K2DSE0GYMGPA"),
|
|
868
868
|
name: z.string(),
|
|
869
869
|
description: z.string().optional(),
|
|
870
870
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const DataMCPTool$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_01KTNKV4DDFSG9XDVJDT93G0KH"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
z.ZodTypeDef,
|
|
1103
1103
|
unknown
|
|
1104
1104
|
> = z.object({
|
|
1105
|
-
_id: z.string().default("
|
|
1105
|
+
_id: z.string().default("tool_01KTNKV4DBJJF367100ANSSSSG"),
|
|
1106
1106
|
path: z.string(),
|
|
1107
1107
|
key: z.string(),
|
|
1108
1108
|
display_name: z.string().optional(),
|
|
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1195
1195
|
z.ZodTypeDef,
|
|
1196
1196
|
unknown
|
|
1197
1197
|
> = z.object({
|
|
1198
|
-
_id: z.string().default("
|
|
1198
|
+
_id: z.string().default("tool_01KTNKV4D9XDNZFJW490JTX3A7"),
|
|
1199
1199
|
path: z.string(),
|
|
1200
1200
|
key: z.string(),
|
|
1201
1201
|
display_name: z.string().optional(),
|
|
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1297
1297
|
z.ZodTypeDef,
|
|
1298
1298
|
unknown
|
|
1299
1299
|
> = z.object({
|
|
1300
|
-
_id: z.string().default("
|
|
1300
|
+
_id: z.string().default("tool_01KTNKV4D70JS71BV5ZG6GMXYN"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|
|
@@ -1070,8 +1070,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1070
1070
|
> = z.object({
|
|
1071
1071
|
_id: z.string(),
|
|
1072
1072
|
description: z.string(),
|
|
1073
|
-
created: z.string().default("2026-06-
|
|
1074
|
-
updated: z.string().default("2026-06-
|
|
1073
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
1074
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
1075
1075
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1076
1076
|
guardrail_config: z.nullable(
|
|
1077
1077
|
z.union([
|
|
@@ -1252,8 +1252,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1252
1252
|
> = z.object({
|
|
1253
1253
|
_id: z.string(),
|
|
1254
1254
|
description: z.string(),
|
|
1255
|
-
created: z.string().default("2026-06-
|
|
1256
|
-
updated: z.string().default("2026-06-
|
|
1255
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
1256
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
1257
1257
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1258
1258
|
guardrail_config: z.nullable(
|
|
1259
1259
|
z.union([
|
|
@@ -2084,8 +2084,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2084
2084
|
> = z.object({
|
|
2085
2085
|
_id: z.string(),
|
|
2086
2086
|
description: z.string(),
|
|
2087
|
-
created: z.string().default("2026-06-
|
|
2088
|
-
updated: z.string().default("2026-06-
|
|
2087
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2088
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2089
2089
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2090
2090
|
guardrail_config: z.nullable(
|
|
2091
2091
|
z.union([
|
|
@@ -2268,8 +2268,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2268
2268
|
> = z.object({
|
|
2269
2269
|
_id: z.string(),
|
|
2270
2270
|
description: z.string(),
|
|
2271
|
-
created: z.string().default("2026-06-
|
|
2272
|
-
updated: z.string().default("2026-06-
|
|
2271
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2272
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2273
2273
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2274
2274
|
guardrail_config: z.nullable(
|
|
2275
2275
|
z.union([
|
|
@@ -2448,8 +2448,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2448
2448
|
> = z.object({
|
|
2449
2449
|
_id: z.string(),
|
|
2450
2450
|
description: z.string(),
|
|
2451
|
-
created: z.string().default("2026-06-
|
|
2452
|
-
updated: z.string().default("2026-06-
|
|
2451
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2452
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2453
2453
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2454
2454
|
guardrail_config: z.nullable(
|
|
2455
2455
|
z.union([
|
|
@@ -2640,8 +2640,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2640
2640
|
> = z.object({
|
|
2641
2641
|
_id: z.string(),
|
|
2642
2642
|
description: z.string(),
|
|
2643
|
-
created: z.string().default("2026-06-
|
|
2644
|
-
updated: z.string().default("2026-06-
|
|
2643
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2644
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2645
2645
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2646
2646
|
guardrail_config: z.nullable(
|
|
2647
2647
|
z.union([
|
|
@@ -3008,8 +3008,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
3008
3008
|
> = z.object({
|
|
3009
3009
|
_id: z.string(),
|
|
3010
3010
|
description: z.string(),
|
|
3011
|
-
created: z.string().default("2026-06-
|
|
3012
|
-
updated: z.string().default("2026-06-
|
|
3011
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3012
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3013
3013
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3014
3014
|
guardrail_config: z.nullable(
|
|
3015
3015
|
z.union([
|
|
@@ -3221,8 +3221,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3221
3221
|
> = z.object({
|
|
3222
3222
|
_id: z.string(),
|
|
3223
3223
|
description: z.string(),
|
|
3224
|
-
created: z.string().default("2026-06-
|
|
3225
|
-
updated: z.string().default("2026-06-
|
|
3224
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3225
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3226
3226
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3227
3227
|
guardrail_config: z.nullable(
|
|
3228
3228
|
z.union([
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-06-
|
|
143
|
+
"2026-06-09T07:16:24.404Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-06-
|
|
188
|
+
"2026-06-09T07:16:24.404Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-06-
|
|
144
|
+
"2026-06-09T07:16:24.404Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-06-
|
|
189
|
+
"2026-06-09T07:16:24.404Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -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-09T07:16:39.712Z",
|
|
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-09T07:16:39.712Z",
|
|
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-09T07:16:39.711Z",
|
|
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-09T07:16:24.404Z",
|
|
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-09T07:16:24.404Z",
|
|
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("01KTNKV4JEFCC8THT6TFSZ95CR"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -25,6 +25,8 @@ export type ModelCreateAwsBedrockRequestBody = {
|
|
|
25
25
|
modelType?: string | undefined;
|
|
26
26
|
outputCost?: number | undefined;
|
|
27
27
|
region: string;
|
|
28
|
+
supportsAdaptiveReasoning?: boolean | undefined;
|
|
29
|
+
supportsExtendedThinking?: boolean | undefined;
|
|
28
30
|
supportsJsonMode?: boolean | undefined;
|
|
29
31
|
supportsJsonSchema?: boolean | undefined;
|
|
30
32
|
supportsStrictTool?: boolean | undefined;
|
|
@@ -83,6 +85,8 @@ export type ModelCreateAwsBedrockRequestBody$Outbound = {
|
|
|
83
85
|
model_type?: string | undefined;
|
|
84
86
|
output_cost?: number | undefined;
|
|
85
87
|
region: string;
|
|
88
|
+
supports_adaptive_reasoning?: boolean | undefined;
|
|
89
|
+
supports_extended_thinking?: boolean | undefined;
|
|
86
90
|
supports_json_mode?: boolean | undefined;
|
|
87
91
|
supports_json_schema?: boolean | undefined;
|
|
88
92
|
supports_strict_tool?: boolean | undefined;
|
|
@@ -112,6 +116,8 @@ export const ModelCreateAwsBedrockRequestBody$outboundSchema: z.ZodType<
|
|
|
112
116
|
modelType: z.string().optional(),
|
|
113
117
|
outputCost: z.number().optional(),
|
|
114
118
|
region: z.string(),
|
|
119
|
+
supportsAdaptiveReasoning: z.boolean().optional(),
|
|
120
|
+
supportsExtendedThinking: z.boolean().optional(),
|
|
115
121
|
supportsJsonMode: z.boolean().optional(),
|
|
116
122
|
supportsJsonSchema: z.boolean().optional(),
|
|
117
123
|
supportsStrictTool: z.boolean().optional(),
|
|
@@ -133,6 +139,8 @@ export const ModelCreateAwsBedrockRequestBody$outboundSchema: z.ZodType<
|
|
|
133
139
|
modelId: "model_id",
|
|
134
140
|
modelType: "model_type",
|
|
135
141
|
outputCost: "output_cost",
|
|
142
|
+
supportsAdaptiveReasoning: "supports_adaptive_reasoning",
|
|
143
|
+
supportsExtendedThinking: "supports_extended_thinking",
|
|
136
144
|
supportsJsonMode: "supports_json_mode",
|
|
137
145
|
supportsJsonSchema: "supports_json_schema",
|
|
138
146
|
supportsStrictTool: "supports_strict_tool",
|
|
@@ -23,6 +23,8 @@ export type ModelUpdateAwsBedrockRequestBody = {
|
|
|
23
23
|
modelType?: string | undefined;
|
|
24
24
|
outputCost?: number | undefined;
|
|
25
25
|
region?: string | undefined;
|
|
26
|
+
supportsAdaptiveReasoning?: boolean | undefined;
|
|
27
|
+
supportsExtendedThinking?: boolean | undefined;
|
|
26
28
|
supportsJsonMode?: boolean | undefined;
|
|
27
29
|
supportsJsonSchema?: boolean | undefined;
|
|
28
30
|
supportsStrictTool?: boolean | undefined;
|
|
@@ -87,6 +89,8 @@ export type ModelUpdateAwsBedrockRequestBody$Outbound = {
|
|
|
87
89
|
model_type?: string | undefined;
|
|
88
90
|
output_cost?: number | undefined;
|
|
89
91
|
region?: string | undefined;
|
|
92
|
+
supports_adaptive_reasoning?: boolean | undefined;
|
|
93
|
+
supports_extended_thinking?: boolean | undefined;
|
|
90
94
|
supports_json_mode?: boolean | undefined;
|
|
91
95
|
supports_json_schema?: boolean | undefined;
|
|
92
96
|
supports_strict_tool?: boolean | undefined;
|
|
@@ -114,6 +118,8 @@ export const ModelUpdateAwsBedrockRequestBody$outboundSchema: z.ZodType<
|
|
|
114
118
|
modelType: z.string().optional(),
|
|
115
119
|
outputCost: z.number().optional(),
|
|
116
120
|
region: z.string().optional(),
|
|
121
|
+
supportsAdaptiveReasoning: z.boolean().optional(),
|
|
122
|
+
supportsExtendedThinking: z.boolean().optional(),
|
|
117
123
|
supportsJsonMode: z.boolean().optional(),
|
|
118
124
|
supportsJsonSchema: z.boolean().optional(),
|
|
119
125
|
supportsStrictTool: z.boolean().optional(),
|
|
@@ -133,6 +139,8 @@ export const ModelUpdateAwsBedrockRequestBody$outboundSchema: z.ZodType<
|
|
|
133
139
|
modelId: "model_id",
|
|
134
140
|
modelType: "model_type",
|
|
135
141
|
outputCost: "output_cost",
|
|
142
|
+
supportsAdaptiveReasoning: "supports_adaptive_reasoning",
|
|
143
|
+
supportsExtendedThinking: "supports_extended_thinking",
|
|
136
144
|
supportsJsonMode: "supports_json_mode",
|
|
137
145
|
supportsJsonSchema: "supports_json_schema",
|
|
138
146
|
supportsStrictTool: "supports_strict_tool",
|
|
@@ -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-09T07:16:24.404Z",
|
|
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-09T07:16:24.404Z",
|
|
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-09T07:16:39.863Z"))
|
|
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-09T07:16:39.862Z"))
|
|
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-09T07:16:39.861Z"))
|
|
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-09T07:16:24.404Z",
|
|
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-09T07:16:24.404Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|