@orq-ai/node 4.10.9 → 4.10.11

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 (77) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createdataset.js +1 -1
  7. package/models/operations/createdatasetitem.js +4 -4
  8. package/models/operations/createdatasource.js +1 -1
  9. package/models/operations/createeval.d.ts +18 -18
  10. package/models/operations/createeval.d.ts.map +1 -1
  11. package/models/operations/createeval.js +28 -28
  12. package/models/operations/createeval.js.map +1 -1
  13. package/models/operations/createtool.js +6 -6
  14. package/models/operations/getalltools.js +6 -6
  15. package/models/operations/getevals.d.ts +6 -6
  16. package/models/operations/getevals.d.ts.map +1 -1
  17. package/models/operations/getevals.js +22 -22
  18. package/models/operations/getevals.js.map +1 -1
  19. package/models/operations/getv2humanevalsets.js +2 -2
  20. package/models/operations/getv2humanevalsetsid.js +2 -2
  21. package/models/operations/listdatasetdatapoints.js +4 -4
  22. package/models/operations/listdatasets.js +1 -1
  23. package/models/operations/listdatasources.js +1 -1
  24. package/models/operations/listknowledgebases.d.ts +2 -5
  25. package/models/operations/listknowledgebases.d.ts.map +1 -1
  26. package/models/operations/listknowledgebases.js +1 -1
  27. package/models/operations/listknowledgebases.js.map +1 -1
  28. package/models/operations/patchv2humanevalsetsid.js +2 -2
  29. package/models/operations/postv2feedbackevaluation.js +3 -3
  30. package/models/operations/postv2humanevalsets.js +2 -2
  31. package/models/operations/retrievedatapoint.js +4 -4
  32. package/models/operations/retrievedataset.js +1 -1
  33. package/models/operations/retrievedatasource.js +1 -1
  34. package/models/operations/retrievetool.js +6 -6
  35. package/models/operations/runagent.js +1 -1
  36. package/models/operations/streamrunagent.js +1 -1
  37. package/models/operations/updatedatapoint.js +4 -4
  38. package/models/operations/updatedataset.js +1 -1
  39. package/models/operations/updatedatasource.js +1 -1
  40. package/models/operations/updateeval.d.ts +6 -6
  41. package/models/operations/updateeval.d.ts.map +1 -1
  42. package/models/operations/updateeval.js +22 -22
  43. package/models/operations/updateeval.js.map +1 -1
  44. package/models/operations/updatetool.js +7 -7
  45. package/package.json +1 -1
  46. package/sdk/feedback.d.ts +2 -2
  47. package/sdk/feedback.js +2 -2
  48. package/src/lib/config.ts +2 -2
  49. package/src/models/components/reasoningpart.ts +1 -1
  50. package/src/models/operations/createdataset.ts +1 -1
  51. package/src/models/operations/createdatasetitem.ts +4 -4
  52. package/src/models/operations/createdatasource.ts +1 -1
  53. package/src/models/operations/createeval.ts +55 -48
  54. package/src/models/operations/createtool.ts +6 -6
  55. package/src/models/operations/getalltools.ts +6 -6
  56. package/src/models/operations/getevals.ts +33 -30
  57. package/src/models/operations/getv2humanevalsets.ts +2 -2
  58. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  59. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  60. package/src/models/operations/listdatasets.ts +1 -1
  61. package/src/models/operations/listdatasources.ts +1 -1
  62. package/src/models/operations/listknowledgebases.ts +3 -6
  63. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  64. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  65. package/src/models/operations/postv2humanevalsets.ts +2 -2
  66. package/src/models/operations/retrievedatapoint.ts +4 -4
  67. package/src/models/operations/retrievedataset.ts +1 -1
  68. package/src/models/operations/retrievedatasource.ts +1 -1
  69. package/src/models/operations/retrievetool.ts +6 -6
  70. package/src/models/operations/runagent.ts +1 -1
  71. package/src/models/operations/streamrunagent.ts +1 -1
  72. package/src/models/operations/updatedatapoint.ts +4 -4
  73. package/src/models/operations/updatedataset.ts +1 -1
  74. package/src/models/operations/updatedatasource.ts +1 -1
  75. package/src/models/operations/updateeval.ts +33 -30
  76. package/src/models/operations/updatetool.ts +7 -7
  77. package/src/sdk/feedback.ts +2 -2
@@ -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-08T12:17:45.633Z"),
2197
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
2388
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
3214
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
3434
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
3616
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
3776
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
4147
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
4367
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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_01KTKJPM7ZBF5HF5P1E12KAXMM"),
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("01KTKJPM7YCZ101JEDHARW1E7B"),
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_01KTKJPM7WG9B9C3CJ566120GV"),
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_01KTKJPM7SGGWFAX8QBYD0JHQ5"),
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_01KTKJPM7QJNB7B8T63SRQQRZY"),
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_01KTKJPM7MXY8MRJPYJZRJS870"),
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_01KTKJPM73GBWSNFWJ43YF1YA2"),
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("01KTKJPM722T76B9D24B5WB392"),
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_01KTKJPM70X3QFSSSFM4Z7N158"),
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_01KTKJPM6XWXVTDDVYKTS433AG"),
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_01KTKJPM6VJ8D7K81DANY9A88X"),
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_01KTKJPM6RAEHYWSQ5YV1EWBHQ"),
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-08T12:17:45.633Z"),
1074
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
1256
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
2088
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
2272
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
2452
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
2644
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
3012
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:45.633Z"),
3225
+ updated: z.string().default("2026-06-08T12:17:45.633Z"),
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-08T12:17:43.754Z",
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-08T12:17:43.754Z",
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-08T12:17:43.754Z",
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-08T12:17:43.754Z",
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-08T09:56:52.697Z",
1273
+ "2026-06-08T12:18:14.657Z",
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-08T09:56:52.696Z",
1323
+ "2026-06-08T12:18:14.657Z",
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-08T09:56:52.696Z",
1372
+ "2026-06-08T12:18:14.656Z",
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-08T09:56:37.181Z",
1451
+ "2026-06-08T12:17:43.754Z",
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-08T09:56:37.181Z",
159
+ "2026-06-08T12:17:43.754Z",
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("01KTKAKS8XZGHBR93RN3GPGJZW"),
185
+ _id: z.string().default("01KTKJPMDQ1J9B33ZYM1ST65VF"),
186
186
  display_name: z.string(),
187
187
  description: z.nullable(z.string()).optional(),
188
188
  status: ListDatasourcesStatus$inboundSchema,
@@ -10,10 +10,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type ListKnowledgeBasesRequest = {
13
- /**
14
- * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
15
- */
16
- limit?: number | undefined;
17
13
  /**
18
14
  * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
19
15
  */
@@ -22,6 +18,7 @@ export type ListKnowledgeBasesRequest = {
22
18
  * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
23
19
  */
24
20
  endingBefore?: string | undefined;
21
+ limit?: number | undefined;
25
22
  };
26
23
 
27
24
  export const ListKnowledgeBasesObject = {
@@ -279,9 +276,9 @@ export type ListKnowledgeBasesResponseBody = {
279
276
 
280
277
  /** @internal */
281
278
  export type ListKnowledgeBasesRequest$Outbound = {
282
- limit: number;
283
279
  starting_after?: string | undefined;
284
280
  ending_before?: string | undefined;
281
+ limit: number;
285
282
  };
286
283
 
287
284
  /** @internal */
@@ -290,9 +287,9 @@ export const ListKnowledgeBasesRequest$outboundSchema: z.ZodType<
290
287
  z.ZodTypeDef,
291
288
  ListKnowledgeBasesRequest
292
289
  > = z.object({
293
- limit: z.number().int().default(10),
294
290
  startingAfter: z.string().optional(),
295
291
  endingBefore: z.string().optional(),
292
+ limit: z.number().default(300),
296
293
  }).transform((v) => {
297
294
  return remap$(v, {
298
295
  startingAfter: "starting_after",
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-06-08T09:56:37.181Z",
321
+ "2026-06-08T12:17:43.754Z",
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-08T09:56:37.181Z",
367
+ "2026-06-08T12:17:43.754Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),