@orq-ai/node 4.10.9 → 4.10.12

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.
Files changed (126) hide show
  1. package/hooks/types.d.ts +1 -0
  2. package/hooks/types.d.ts.map +1 -1
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/config.js.map +1 -1
  7. package/lib/sdks.d.ts.map +1 -1
  8. package/lib/sdks.js +13 -4
  9. package/lib/sdks.js.map +1 -1
  10. package/models/components/reasoningpart.js +1 -1
  11. package/models/operations/createdataset.js +1 -1
  12. package/models/operations/createdatasetitem.js +4 -4
  13. package/models/operations/createdatasource.js +1 -1
  14. package/models/operations/createeval.d.ts +18 -18
  15. package/models/operations/createeval.d.ts.map +1 -1
  16. package/models/operations/createeval.js +28 -28
  17. package/models/operations/createeval.js.map +1 -1
  18. package/models/operations/createtool.js +6 -6
  19. package/models/operations/getalltools.js +6 -6
  20. package/models/operations/getevals.d.ts +6 -6
  21. package/models/operations/getevals.d.ts.map +1 -1
  22. package/models/operations/getevals.js +22 -22
  23. package/models/operations/getevals.js.map +1 -1
  24. package/models/operations/getv2humanevalsets.js +2 -2
  25. package/models/operations/getv2humanevalsetsid.js +2 -2
  26. package/models/operations/listdatasetdatapoints.js +4 -4
  27. package/models/operations/listdatasets.js +1 -1
  28. package/models/operations/listdatasources.js +1 -1
  29. package/models/operations/listknowledgebases.d.ts +2 -5
  30. package/models/operations/listknowledgebases.d.ts.map +1 -1
  31. package/models/operations/listknowledgebases.js +1 -1
  32. package/models/operations/listknowledgebases.js.map +1 -1
  33. package/models/operations/modelcreateawsbedrock.d.ts +4 -0
  34. package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
  35. package/models/operations/modelcreateawsbedrock.js +4 -0
  36. package/models/operations/modelcreateawsbedrock.js.map +1 -1
  37. package/models/operations/modelupdateawsbedrock.d.ts +4 -0
  38. package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
  39. package/models/operations/modelupdateawsbedrock.js +4 -0
  40. package/models/operations/modelupdateawsbedrock.js.map +1 -1
  41. package/models/operations/patchv2humanevalsetsid.js +2 -2
  42. package/models/operations/postv2feedbackevaluation.js +3 -3
  43. package/models/operations/postv2humanevalsets.js +2 -2
  44. package/models/operations/retrievedatapoint.js +4 -4
  45. package/models/operations/retrievedataset.js +1 -1
  46. package/models/operations/retrievedatasource.js +1 -1
  47. package/models/operations/retrievetool.js +6 -6
  48. package/models/operations/runagent.js +1 -1
  49. package/models/operations/streamrunagent.js +1 -1
  50. package/models/operations/updatedatapoint.js +4 -4
  51. package/models/operations/updatedataset.js +1 -1
  52. package/models/operations/updatedatasource.js +1 -1
  53. package/models/operations/updateeval.d.ts +6 -6
  54. package/models/operations/updateeval.d.ts.map +1 -1
  55. package/models/operations/updateeval.js +22 -22
  56. package/models/operations/updateeval.js.map +1 -1
  57. package/models/operations/updatetool.js +7 -7
  58. package/package.json +6 -6
  59. package/packages/orq-rc/src/lib/config.ts +2 -2
  60. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  61. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  62. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  63. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  64. package/packages/orq-rc/src/models/operations/createeval.ts +55 -48
  65. package/packages/orq-rc/src/models/operations/createtool.ts +26 -26
  66. package/packages/orq-rc/src/models/operations/getalltools.ts +26 -26
  67. package/packages/orq-rc/src/models/operations/getevals.ts +33 -30
  68. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  69. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  70. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
  71. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  72. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  73. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +3 -6
  74. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  75. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  76. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  78. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  79. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  80. package/packages/orq-rc/src/models/operations/retrievetool.ts +26 -26
  81. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  82. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  83. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  84. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  85. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  86. package/packages/orq-rc/src/models/operations/updateeval.ts +33 -30
  87. package/packages/orq-rc/src/models/operations/updatetool.ts +27 -27
  88. package/packages/orq-rc/src/sdk/feedback.ts +2 -2
  89. package/sdk/feedback.d.ts +1 -4
  90. package/sdk/feedback.d.ts.map +1 -1
  91. package/sdk/feedback.js +1 -4
  92. package/sdk/feedback.js.map +1 -1
  93. package/src/hooks/types.ts +1 -0
  94. package/src/lib/config.ts +3 -3
  95. package/src/lib/sdks.ts +13 -4
  96. package/src/models/components/reasoningpart.ts +1 -1
  97. package/src/models/operations/createdataset.ts +1 -1
  98. package/src/models/operations/createdatasetitem.ts +4 -4
  99. package/src/models/operations/createdatasource.ts +1 -1
  100. package/src/models/operations/createeval.ts +55 -48
  101. package/src/models/operations/createtool.ts +6 -6
  102. package/src/models/operations/getalltools.ts +6 -6
  103. package/src/models/operations/getevals.ts +33 -30
  104. package/src/models/operations/getv2humanevalsets.ts +2 -2
  105. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  106. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  107. package/src/models/operations/listdatasets.ts +1 -1
  108. package/src/models/operations/listdatasources.ts +1 -1
  109. package/src/models/operations/listknowledgebases.ts +3 -6
  110. package/src/models/operations/modelcreateawsbedrock.ts +8 -0
  111. package/src/models/operations/modelupdateawsbedrock.ts +8 -0
  112. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  113. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  114. package/src/models/operations/postv2humanevalsets.ts +2 -2
  115. package/src/models/operations/retrievedatapoint.ts +4 -4
  116. package/src/models/operations/retrievedataset.ts +1 -1
  117. package/src/models/operations/retrievedatasource.ts +1 -1
  118. package/src/models/operations/retrievetool.ts +6 -6
  119. package/src/models/operations/runagent.ts +1 -1
  120. package/src/models/operations/streamrunagent.ts +1 -1
  121. package/src/models/operations/updatedatapoint.ts +4 -4
  122. package/src/models/operations/updatedataset.ts +1 -1
  123. package/src/models/operations/updatedatasource.ts +1 -1
  124. package/src/models/operations/updateeval.ts +33 -30
  125. package/src/models/operations/updatetool.ts +7 -7
  126. package/src/sdk/feedback.ts +1 -4
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
- const timeoutSignal = AbortSignal.timeout(conf.timeoutMs);
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 req = await this.#hooks.beforeRequest(context, request.clone());
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("reasoning_01ktkakrrymg6937jkqq9wjt4y"),
43
+ _id: z.string().default("reasoning_01ktn2211gr7fev6mj8yswz837"),
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-08T09:56:37.181Z",
141
+ "2026-06-09T02:05:27.696Z",
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-08T09:56:52.712Z",
2358
+ "2026-06-09T02:05:51.868Z",
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-08T09:56:52.712Z",
2403
+ "2026-06-09T02:05:51.867Z",
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-08T09:56:52.711Z",
2449
+ "2026-06-09T02:05:51.866Z",
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-08T09:56:37.181Z",
2532
+ "2026-06-09T02:05:27.696Z",
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("01KTKAKS90FJDJBQMXF2Q9VJEY"),
412
+ _id: z.string().default("01KTN221REYXPS8268FM4PD069"),
413
413
  display_name: z.string(),
414
414
  description: z.nullable(z.string()).optional(),
415
415
  status: CreateDatasourceStatus$inboundSchema,
@@ -200,10 +200,10 @@ export type Llm2 = {
200
200
  */
201
201
  outputType?: LLMOutputType | undefined;
202
202
  type: LLMType;
203
- repetitions?: number | undefined;
203
+ repetitions?: number | null | undefined;
204
204
  prompt: string;
205
- categories?: Array<string> | undefined;
206
- categoricalLabels?: Array<LLMCategoricalLabels> | undefined;
205
+ categories?: Array<string> | null | undefined;
206
+ categoricalLabels?: Array<LLMCategoricalLabels> | null | undefined;
207
207
  datasetId?: string | undefined;
208
208
  /**
209
209
  * Entity storage path.
@@ -298,10 +298,10 @@ export type Llm1 = {
298
298
  */
299
299
  outputType?: CreateEvalLLMOutputType | undefined;
300
300
  type: CreateEvalLLMType;
301
- repetitions?: number | undefined;
301
+ repetitions?: number | null | undefined;
302
302
  prompt: string;
303
- categories?: Array<string> | undefined;
304
- categoricalLabels?: Array<CreateEvalLLMCategoricalLabels> | undefined;
303
+ categories?: Array<string> | null | undefined;
304
+ categoricalLabels?: Array<CreateEvalLLMCategoricalLabels> | null | undefined;
305
305
  datasetId?: string | undefined;
306
306
  /**
307
307
  * Entity storage path.
@@ -1059,10 +1059,13 @@ export type CreateEvalLlm2 = {
1059
1059
  | null
1060
1060
  | undefined;
1061
1061
  type: CreateEvalLLMEvalsResponseType;
1062
- repetitions?: number | undefined;
1062
+ repetitions?: number | null | undefined;
1063
1063
  prompt: string;
1064
- categories?: Array<string> | undefined;
1065
- categoricalLabels?: Array<CreateEvalLLMEvalsCategoricalLabels> | undefined;
1064
+ categories?: Array<string> | null | undefined;
1065
+ categoricalLabels?:
1066
+ | Array<CreateEvalLLMEvalsCategoricalLabels>
1067
+ | null
1068
+ | undefined;
1066
1069
  datasetId?: string | undefined;
1067
1070
  key: string;
1068
1071
  mode: "jury";
@@ -1137,11 +1140,12 @@ export type CreateEvalLlm1 = {
1137
1140
  | null
1138
1141
  | undefined;
1139
1142
  type: CreateEvalLLMEvalsType;
1140
- repetitions?: number | undefined;
1143
+ repetitions?: number | null | undefined;
1141
1144
  prompt: string;
1142
- categories?: Array<string> | undefined;
1145
+ categories?: Array<string> | null | undefined;
1143
1146
  categoricalLabels?:
1144
1147
  | Array<CreateEvalLLMEvalsResponseCategoricalLabels>
1148
+ | null
1145
1149
  | undefined;
1146
1150
  datasetId?: string | undefined;
1147
1151
  key: string;
@@ -1706,10 +1710,10 @@ export type Llm2$Outbound = {
1706
1710
  | undefined;
1707
1711
  output_type?: string | undefined;
1708
1712
  type: string;
1709
- repetitions?: number | undefined;
1713
+ repetitions?: number | null | undefined;
1710
1714
  prompt: string;
1711
- categories?: Array<string> | undefined;
1712
- categorical_labels?: Array<LLMCategoricalLabels$Outbound> | undefined;
1715
+ categories?: Array<string> | null | undefined;
1716
+ categorical_labels?: Array<LLMCategoricalLabels$Outbound> | null | undefined;
1713
1717
  dataset_id?: string | undefined;
1714
1718
  path: string;
1715
1719
  description: string;
@@ -1736,11 +1740,11 @@ export const Llm2$outboundSchema: z.ZodType<Llm2$Outbound, z.ZodTypeDef, Llm2> =
1736
1740
  ).optional(),
1737
1741
  outputType: LLMOutputType$outboundSchema.optional(),
1738
1742
  type: LLMType$outboundSchema,
1739
- repetitions: z.number().int().optional(),
1743
+ repetitions: z.nullable(z.number().int()).optional(),
1740
1744
  prompt: z.string(),
1741
- categories: z.array(z.string()).optional(),
1742
- categoricalLabels: z.array(
1743
- z.lazy(() => LLMCategoricalLabels$outboundSchema),
1745
+ categories: z.nullable(z.array(z.string())).optional(),
1746
+ categoricalLabels: z.nullable(
1747
+ z.array(z.lazy(() => LLMCategoricalLabels$outboundSchema)),
1744
1748
  ).optional(),
1745
1749
  datasetId: z.string().optional(),
1746
1750
  path: z.string(),
@@ -1943,11 +1947,12 @@ export type Llm1$Outbound = {
1943
1947
  | undefined;
1944
1948
  output_type?: string | undefined;
1945
1949
  type: string;
1946
- repetitions?: number | undefined;
1950
+ repetitions?: number | null | undefined;
1947
1951
  prompt: string;
1948
- categories?: Array<string> | undefined;
1952
+ categories?: Array<string> | null | undefined;
1949
1953
  categorical_labels?:
1950
1954
  | Array<CreateEvalLLMCategoricalLabels$Outbound>
1955
+ | null
1951
1956
  | undefined;
1952
1957
  dataset_id?: string | undefined;
1953
1958
  path: string;
@@ -1969,11 +1974,11 @@ export const Llm1$outboundSchema: z.ZodType<Llm1$Outbound, z.ZodTypeDef, Llm1> =
1969
1974
  ).optional(),
1970
1975
  outputType: CreateEvalLLMOutputType$outboundSchema.optional(),
1971
1976
  type: CreateEvalLLMType$outboundSchema,
1972
- repetitions: z.number().int().optional(),
1977
+ repetitions: z.nullable(z.number().int()).optional(),
1973
1978
  prompt: z.string(),
1974
- categories: z.array(z.string()).optional(),
1975
- categoricalLabels: z.array(
1976
- z.lazy(() => CreateEvalLLMCategoricalLabels$outboundSchema),
1979
+ categories: z.nullable(z.array(z.string())).optional(),
1980
+ categoricalLabels: z.nullable(
1981
+ z.array(z.lazy(() => CreateEvalLLMCategoricalLabels$outboundSchema)),
1977
1982
  ).optional(),
1978
1983
  datasetId: z.string().optional(),
1979
1984
  path: z.string(),
@@ -2188,8 +2193,8 @@ export const Typescript$inboundSchema: z.ZodType<
2188
2193
  > = z.object({
2189
2194
  _id: z.string(),
2190
2195
  description: z.string(),
2191
- created: z.string().default("2026-06-08T09:56:38.251Z"),
2192
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
2196
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
2197
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
2193
2198
  updated_by_id: z.nullable(z.string()).optional(),
2194
2199
  guardrail_config: z.nullable(
2195
2200
  z.union([
@@ -2379,8 +2384,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
2379
2384
  .object({
2380
2385
  _id: z.string(),
2381
2386
  description: z.string(),
2382
- created: z.string().default("2026-06-08T09:56:38.251Z"),
2383
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
2387
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
2388
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
2384
2389
  updated_by_id: z.nullable(z.string()).optional(),
2385
2390
  guardrail_config: z.nullable(
2386
2391
  z.union([
@@ -3205,8 +3210,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
3205
3210
  > = z.object({
3206
3211
  _id: z.string(),
3207
3212
  description: z.string(),
3208
- created: z.string().default("2026-06-08T09:56:38.251Z"),
3209
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
3213
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
3214
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
3210
3215
  updated_by_id: z.nullable(z.string()).optional(),
3211
3216
  guardrail_config: z.nullable(
3212
3217
  z.union([
@@ -3425,8 +3430,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
3425
3430
  > = z.object({
3426
3431
  _id: z.string(),
3427
3432
  description: z.string(),
3428
- created: z.string().default("2026-06-08T09:56:38.251Z"),
3429
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
3433
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
3434
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
3430
3435
  updated_by_id: z.nullable(z.string()).optional(),
3431
3436
  guardrail_config: z.nullable(
3432
3437
  z.union([
@@ -3607,8 +3612,8 @@ export const CreateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
3607
3612
  > = z.object({
3608
3613
  _id: z.string(),
3609
3614
  description: z.string(),
3610
- created: z.string().default("2026-06-08T09:56:38.251Z"),
3611
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
3615
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
3616
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
3612
3617
  updated_by_id: z.nullable(z.string()).optional(),
3613
3618
  guardrail_config: z.nullable(
3614
3619
  z.union([
@@ -3767,8 +3772,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
3767
3772
  .object({
3768
3773
  _id: z.string(),
3769
3774
  description: z.string(),
3770
- created: z.string().default("2026-06-08T09:56:38.251Z"),
3771
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
3775
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
3776
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
3772
3777
  updated_by_id: z.nullable(z.string()).optional(),
3773
3778
  guardrail_config: z.nullable(
3774
3779
  z.union([
@@ -4138,8 +4143,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
4138
4143
  > = z.object({
4139
4144
  _id: z.string(),
4140
4145
  description: z.string(),
4141
- created: z.string().default("2026-06-08T09:56:38.251Z"),
4142
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
4146
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
4147
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
4143
4148
  updated_by_id: z.nullable(z.string()).optional(),
4144
4149
  guardrail_config: z.nullable(
4145
4150
  z.union([
@@ -4155,11 +4160,11 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
4155
4160
  ]),
4156
4161
  ).optional(),
4157
4162
  type: CreateEvalLLMEvalsResponseType$inboundSchema,
4158
- repetitions: z.number().int().optional(),
4163
+ repetitions: z.nullable(z.number().int()).optional(),
4159
4164
  prompt: z.string(),
4160
- categories: z.array(z.string()).optional(),
4161
- categorical_labels: z.array(
4162
- z.lazy(() => CreateEvalLLMEvalsCategoricalLabels$inboundSchema),
4165
+ categories: z.nullable(z.array(z.string())).optional(),
4166
+ categorical_labels: z.nullable(
4167
+ z.array(z.lazy(() => CreateEvalLLMEvalsCategoricalLabels$inboundSchema)),
4163
4168
  ).optional(),
4164
4169
  dataset_id: z.string().optional(),
4165
4170
  key: z.string(),
@@ -4358,8 +4363,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
4358
4363
  > = z.object({
4359
4364
  _id: z.string(),
4360
4365
  description: z.string(),
4361
- created: z.string().default("2026-06-08T09:56:38.251Z"),
4362
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
4366
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
4367
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
4363
4368
  updated_by_id: z.nullable(z.string()).optional(),
4364
4369
  guardrail_config: z.nullable(
4365
4370
  z.union([
@@ -4375,11 +4380,13 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
4375
4380
  ]),
4376
4381
  ).optional(),
4377
4382
  type: CreateEvalLLMEvalsType$inboundSchema,
4378
- repetitions: z.number().int().optional(),
4383
+ repetitions: z.nullable(z.number().int()).optional(),
4379
4384
  prompt: z.string(),
4380
- categories: z.array(z.string()).optional(),
4381
- categorical_labels: z.array(
4382
- z.lazy(() => CreateEvalLLMEvalsResponseCategoricalLabels$inboundSchema),
4385
+ categories: z.nullable(z.array(z.string())).optional(),
4386
+ categorical_labels: z.nullable(
4387
+ z.array(z.lazy(() =>
4388
+ CreateEvalLLMEvalsResponseCategoricalLabels$inboundSchema
4389
+ )),
4383
4390
  ).optional(),
4384
4391
  dataset_id: z.string().optional(),
4385
4392
  key: z.string(),
@@ -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("tool_01KTKAKS3V1JAZW71KBQCFB956"),
1901
+ _id: z.string().default("tool_01KTN221GVJDCXW3YQV2ZBGF73"),
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("01KTKAKS3TH0GVTMP285800W82"),
1998
+ id: z.string().default("01KTN221GT49WN6D05YN8Y0K34"),
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("tool_01KTKAKS3S3YDQ34RAP5GPNW82"),
2054
+ _id: z.string().default("tool_01KTN221GQ3PR9BZNJF8AJW9P4"),
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("tool_01KTKAKS3PGCXP7C3J6FW2G0AE"),
2240
+ _id: z.string().default("tool_01KTN221GM053T5P0PPZXB4PMT"),
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("tool_01KTKAKS3NP22CEHK15EHYSRCY"),
2333
+ _id: z.string().default("tool_01KTN221GHKY3D80JKTKZ86G5Z"),
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("tool_01KTKAKS3KBT4TA07WMR5MMTWB"),
2434
+ _id: z.string().default("tool_01KTN221GFME7TRDXZ75DMQP7H"),
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("tool_01KTKAKS378ZCCT04CDKBG11VS"),
770
+ _id: z.string().default("tool_01KTN221FV0K4J94YBFBAVKDRW"),
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("01KTKAKS36G8CTV9YQD638PQCR"),
867
+ id: z.string().default("01KTN221FTXW0HT2JEDYYE5TE7"),
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("tool_01KTKAKS35GS2MFEA744SSDZ05"),
920
+ _id: z.string().default("tool_01KTN221FRYXK6SYFKRY1S40B4"),
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("tool_01KTKAKS33RYMNCMFCFYQ538E2"),
1105
+ _id: z.string().default("tool_01KTN221FMT2SZ9ED19HYDZC7Y"),
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("tool_01KTKAKS31Z7J5KQ9DKBKGNKYC"),
1198
+ _id: z.string().default("tool_01KTN221FH035XHPTBEQAB6YXA"),
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("tool_01KTKAKS30MFCHZ05V9P665S7P"),
1300
+ _id: z.string().default("tool_01KTN221FE7JRZDGKBQKFCX42B"),
1301
1301
  path: z.string(),
1302
1302
  key: z.string(),
1303
1303
  display_name: z.string().optional(),
@@ -759,10 +759,13 @@ export type GetEvalsLlm2 = {
759
759
  | null
760
760
  | undefined;
761
761
  type: GetEvalsLLMEvalsType;
762
- repetitions?: number | undefined;
762
+ repetitions?: number | null | undefined;
763
763
  prompt: string;
764
- categories?: Array<string> | undefined;
765
- categoricalLabels?: Array<GetEvalsLLMEvalsCategoricalLabels> | undefined;
764
+ categories?: Array<string> | null | undefined;
765
+ categoricalLabels?:
766
+ | Array<GetEvalsLLMEvalsCategoricalLabels>
767
+ | null
768
+ | undefined;
766
769
  datasetId?: string | undefined;
767
770
  key: string;
768
771
  mode: "jury";
@@ -837,10 +840,10 @@ export type GetEvalsLlm1 = {
837
840
  | null
838
841
  | undefined;
839
842
  type: GetEvalsLLMType;
840
- repetitions?: number | undefined;
843
+ repetitions?: number | null | undefined;
841
844
  prompt: string;
842
- categories?: Array<string> | undefined;
843
- categoricalLabels?: Array<GetEvalsLLMCategoricalLabels> | undefined;
845
+ categories?: Array<string> | null | undefined;
846
+ categoricalLabels?: Array<GetEvalsLLMCategoricalLabels> | null | undefined;
844
847
  datasetId?: string | undefined;
845
848
  key: string;
846
849
  mode: "single";
@@ -1067,8 +1070,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
1067
1070
  > = z.object({
1068
1071
  _id: z.string(),
1069
1072
  description: z.string(),
1070
- created: z.string().default("2026-06-08T09:56:38.251Z"),
1071
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
1073
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
1074
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
1072
1075
  updated_by_id: z.nullable(z.string()).optional(),
1073
1076
  guardrail_config: z.nullable(
1074
1077
  z.union([
@@ -1249,8 +1252,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1249
1252
  > = z.object({
1250
1253
  _id: z.string(),
1251
1254
  description: z.string(),
1252
- created: z.string().default("2026-06-08T09:56:38.251Z"),
1253
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
1255
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
1256
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
1254
1257
  updated_by_id: z.nullable(z.string()).optional(),
1255
1258
  guardrail_config: z.nullable(
1256
1259
  z.union([
@@ -2081,8 +2084,8 @@ export const DataFunction$inboundSchema: z.ZodType<
2081
2084
  > = z.object({
2082
2085
  _id: z.string(),
2083
2086
  description: z.string(),
2084
- created: z.string().default("2026-06-08T09:56:38.251Z"),
2085
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
2087
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
2088
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
2086
2089
  updated_by_id: z.nullable(z.string()).optional(),
2087
2090
  guardrail_config: z.nullable(
2088
2091
  z.union([
@@ -2265,8 +2268,8 @@ export const DataPython$inboundSchema: z.ZodType<
2265
2268
  > = z.object({
2266
2269
  _id: z.string(),
2267
2270
  description: z.string(),
2268
- created: z.string().default("2026-06-08T09:56:38.251Z"),
2269
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
2271
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
2272
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
2270
2273
  updated_by_id: z.nullable(z.string()).optional(),
2271
2274
  guardrail_config: z.nullable(
2272
2275
  z.union([
@@ -2445,8 +2448,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
2445
2448
  > = z.object({
2446
2449
  _id: z.string(),
2447
2450
  description: z.string(),
2448
- created: z.string().default("2026-06-08T09:56:38.251Z"),
2449
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
2451
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
2452
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
2450
2453
  updated_by_id: z.nullable(z.string()).optional(),
2451
2454
  guardrail_config: z.nullable(
2452
2455
  z.union([
@@ -2637,8 +2640,8 @@ export const DataJSON$inboundSchema: z.ZodType<
2637
2640
  > = z.object({
2638
2641
  _id: z.string(),
2639
2642
  description: z.string(),
2640
- created: z.string().default("2026-06-08T09:56:38.251Z"),
2641
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
2643
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
2644
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
2642
2645
  updated_by_id: z.nullable(z.string()).optional(),
2643
2646
  guardrail_config: z.nullable(
2644
2647
  z.union([
@@ -3005,8 +3008,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
3005
3008
  > = z.object({
3006
3009
  _id: z.string(),
3007
3010
  description: z.string(),
3008
- created: z.string().default("2026-06-08T09:56:38.251Z"),
3009
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
3011
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
3012
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
3010
3013
  updated_by_id: z.nullable(z.string()).optional(),
3011
3014
  guardrail_config: z.nullable(
3012
3015
  z.union([
@@ -3022,11 +3025,11 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
3022
3025
  ]),
3023
3026
  ).optional(),
3024
3027
  type: GetEvalsLLMEvalsType$inboundSchema,
3025
- repetitions: z.number().int().optional(),
3028
+ repetitions: z.nullable(z.number().int()).optional(),
3026
3029
  prompt: z.string(),
3027
- categories: z.array(z.string()).optional(),
3028
- categorical_labels: z.array(
3029
- z.lazy(() => GetEvalsLLMEvalsCategoricalLabels$inboundSchema),
3030
+ categories: z.nullable(z.array(z.string())).optional(),
3031
+ categorical_labels: z.nullable(
3032
+ z.array(z.lazy(() => GetEvalsLLMEvalsCategoricalLabels$inboundSchema)),
3030
3033
  ).optional(),
3031
3034
  dataset_id: z.string().optional(),
3032
3035
  key: z.string(),
@@ -3218,8 +3221,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
3218
3221
  > = z.object({
3219
3222
  _id: z.string(),
3220
3223
  description: z.string(),
3221
- created: z.string().default("2026-06-08T09:56:38.251Z"),
3222
- updated: z.string().default("2026-06-08T09:56:38.251Z"),
3224
+ created: z.string().default("2026-06-09T02:05:29.088Z"),
3225
+ updated: z.string().default("2026-06-09T02:05:29.088Z"),
3223
3226
  updated_by_id: z.nullable(z.string()).optional(),
3224
3227
  guardrail_config: z.nullable(
3225
3228
  z.union([
@@ -3235,11 +3238,11 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
3235
3238
  ]),
3236
3239
  ).optional(),
3237
3240
  type: GetEvalsLLMType$inboundSchema,
3238
- repetitions: z.number().int().optional(),
3241
+ repetitions: z.nullable(z.number().int()).optional(),
3239
3242
  prompt: z.string(),
3240
- categories: z.array(z.string()).optional(),
3241
- categorical_labels: z.array(
3242
- z.lazy(() => GetEvalsLLMCategoricalLabels$inboundSchema),
3243
+ categories: z.nullable(z.array(z.string())).optional(),
3244
+ categorical_labels: z.nullable(
3245
+ z.array(z.lazy(() => GetEvalsLLMCategoricalLabels$inboundSchema)),
3243
3246
  ).optional(),
3244
3247
  dataset_id: z.string().optional(),
3245
3248
  key: z.string(),
@@ -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-08T09:56:37.181Z",
143
+ "2026-06-09T02:05:27.696Z",
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-08T09:56:37.181Z",
188
+ "2026-06-09T02:05:27.696Z",
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-08T09:56:37.181Z",
144
+ "2026-06-09T02:05:27.696Z",
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-08T09:56:37.181Z",
189
+ "2026-06-09T02:05:27.696Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),