@orq-ai/node 4.0.0-rc.54 → 4.0.0-rc.56

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 (82) hide show
  1. package/bin/mcp-server.js +219 -213
  2. package/bin/mcp-server.js.map +38 -38
  3. package/docs/sdks/chunking/README.md +2 -0
  4. package/examples/package-lock.json +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +2 -2
  7. package/lib/config.js +2 -2
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/server.js +1 -1
  10. package/models/operations/createbudget.js +2 -2
  11. package/models/operations/createcontact.js +2 -2
  12. package/models/operations/createdataset.js +2 -2
  13. package/models/operations/createdatasetitem.js +8 -8
  14. package/models/operations/createdatasource.js +2 -2
  15. package/models/operations/createeval.js +28 -28
  16. package/models/operations/createtool.js +12 -12
  17. package/models/operations/fileget.js +2 -2
  18. package/models/operations/filelist.js +2 -2
  19. package/models/operations/fileupload.js +2 -2
  20. package/models/operations/getalltools.js +12 -12
  21. package/models/operations/getbudget.js +2 -2
  22. package/models/operations/getevals.js +28 -28
  23. package/models/operations/listbudgets.js +2 -2
  24. package/models/operations/listcontacts.js +2 -2
  25. package/models/operations/listdatasetdatapoints.js +8 -8
  26. package/models/operations/listdatasets.js +2 -2
  27. package/models/operations/listdatasources.js +2 -2
  28. package/models/operations/parse.d.ts +10 -0
  29. package/models/operations/parse.d.ts.map +1 -1
  30. package/models/operations/parse.js +6 -0
  31. package/models/operations/parse.js.map +1 -1
  32. package/models/operations/retrievecontact.js +2 -2
  33. package/models/operations/retrievedatapoint.js +8 -8
  34. package/models/operations/retrievedataset.js +2 -2
  35. package/models/operations/retrievedatasource.js +2 -2
  36. package/models/operations/retrievetool.js +12 -12
  37. package/models/operations/runagent.js +2 -2
  38. package/models/operations/streamrunagent.js +2 -2
  39. package/models/operations/updatebudget.js +2 -2
  40. package/models/operations/updatecontact.js +2 -2
  41. package/models/operations/updatedatapoint.js +8 -8
  42. package/models/operations/updatedataset.js +2 -2
  43. package/models/operations/updatedatasource.js +2 -2
  44. package/models/operations/updateeval.js +28 -28
  45. package/models/operations/updatetool.js +14 -14
  46. package/package.json +1 -1
  47. package/src/lib/config.ts +2 -2
  48. package/src/mcp-server/mcp-server.ts +1 -1
  49. package/src/mcp-server/server.ts +1 -1
  50. package/src/models/operations/createbudget.ts +2 -2
  51. package/src/models/operations/createcontact.ts +2 -2
  52. package/src/models/operations/createdataset.ts +2 -2
  53. package/src/models/operations/createdatasetitem.ts +8 -8
  54. package/src/models/operations/createdatasource.ts +2 -2
  55. package/src/models/operations/createeval.ts +28 -28
  56. package/src/models/operations/createtool.ts +12 -12
  57. package/src/models/operations/fileget.ts +2 -2
  58. package/src/models/operations/filelist.ts +2 -2
  59. package/src/models/operations/fileupload.ts +2 -2
  60. package/src/models/operations/getalltools.ts +12 -12
  61. package/src/models/operations/getbudget.ts +2 -2
  62. package/src/models/operations/getevals.ts +28 -28
  63. package/src/models/operations/listbudgets.ts +2 -2
  64. package/src/models/operations/listcontacts.ts +2 -2
  65. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  66. package/src/models/operations/listdatasets.ts +2 -2
  67. package/src/models/operations/listdatasources.ts +2 -2
  68. package/src/models/operations/parse.ts +16 -0
  69. package/src/models/operations/retrievecontact.ts +2 -2
  70. package/src/models/operations/retrievedatapoint.ts +8 -8
  71. package/src/models/operations/retrievedataset.ts +2 -2
  72. package/src/models/operations/retrievedatasource.ts +2 -2
  73. package/src/models/operations/retrievetool.ts +12 -12
  74. package/src/models/operations/runagent.ts +2 -2
  75. package/src/models/operations/streamrunagent.ts +2 -2
  76. package/src/models/operations/updatebudget.ts +2 -2
  77. package/src/models/operations/updatecontact.ts +2 -2
  78. package/src/models/operations/updatedatapoint.ts +8 -8
  79. package/src/models/operations/updatedataset.ts +2 -2
  80. package/src/models/operations/updatedatasource.ts +2 -2
  81. package/src/models/operations/updateeval.ts +28 -28
  82. package/src/models/operations/updatetool.ts +14 -14
@@ -1417,8 +1417,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
1417
1417
  > = z.object({
1418
1418
  _id: z.string(),
1419
1419
  description: z.string(),
1420
- created: z.string().default("2025-11-20T08:48:00.920Z"),
1421
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
1420
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
1421
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
1422
1422
  guardrail_config: z.union([
1423
1423
  z.lazy(() =>
1424
1424
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -1459,8 +1459,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
1459
1459
  > = z.object({
1460
1460
  id: z.string(),
1461
1461
  description: z.string(),
1462
- created: z.string().default("2025-11-20T08:48:00.920Z"),
1463
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
1462
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
1463
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
1464
1464
  guardrailConfig: z.union([
1465
1465
  z.lazy(() =>
1466
1466
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -1726,8 +1726,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1726
1726
  > = z.object({
1727
1727
  _id: z.string(),
1728
1728
  description: z.string(),
1729
- created: z.string().default("2025-11-20T08:48:00.920Z"),
1730
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
1729
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
1730
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
1731
1731
  guardrail_config: z.union([
1732
1732
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
1733
1733
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
@@ -1767,8 +1767,8 @@ export const DataRagas$outboundSchema: z.ZodType<
1767
1767
  > = z.object({
1768
1768
  id: z.string(),
1769
1769
  description: z.string(),
1770
- created: z.string().default("2025-11-20T08:48:00.920Z"),
1771
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
1770
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
1771
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
1772
1772
  guardrailConfig: z.union([
1773
1773
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
1774
1774
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
@@ -4090,8 +4090,8 @@ export const DataFunction$inboundSchema: z.ZodType<
4090
4090
  > = z.object({
4091
4091
  _id: z.string(),
4092
4092
  description: z.string(),
4093
- created: z.string().default("2025-11-20T08:48:00.920Z"),
4094
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
4093
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
4094
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
4095
4095
  guardrail_config: z.union([
4096
4096
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
4097
4097
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -4200,8 +4200,8 @@ export const DataFunction$outboundSchema: z.ZodType<
4200
4200
  > = z.object({
4201
4201
  id: z.string(),
4202
4202
  description: z.string(),
4203
- created: z.string().default("2025-11-20T08:48:00.920Z"),
4204
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
4203
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
4204
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
4205
4205
  guardrailConfig: z.union([
4206
4206
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
4207
4207
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -4467,8 +4467,8 @@ export const DataPython$inboundSchema: z.ZodType<
4467
4467
  > = z.object({
4468
4468
  _id: z.string(),
4469
4469
  description: z.string(),
4470
- created: z.string().default("2025-11-20T08:48:00.920Z"),
4471
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
4470
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
4471
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
4472
4472
  guardrail_config: z.union([
4473
4473
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
4474
4474
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -4505,8 +4505,8 @@ export const DataPython$outboundSchema: z.ZodType<
4505
4505
  > = z.object({
4506
4506
  id: z.string(),
4507
4507
  description: z.string(),
4508
- created: z.string().default("2025-11-20T08:48:00.920Z"),
4509
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
4508
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
4509
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
4510
4510
  guardrailConfig: z.union([
4511
4511
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
4512
4512
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
@@ -4729,8 +4729,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
4729
4729
  > = z.object({
4730
4730
  _id: z.string(),
4731
4731
  description: z.string(),
4732
- created: z.string().default("2025-11-20T08:48:00.920Z"),
4733
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
4732
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
4733
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
4734
4734
  guardrail_config: z.union([
4735
4735
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
4736
4736
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -4773,8 +4773,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
4773
4773
  > = z.object({
4774
4774
  id: z.string(),
4775
4775
  description: z.string(),
4776
- created: z.string().default("2025-11-20T08:48:00.920Z"),
4777
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
4776
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
4777
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
4778
4778
  guardrailConfig: z.union([
4779
4779
  z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
4780
4780
  z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
@@ -5020,8 +5020,8 @@ export const DataJSON$inboundSchema: z.ZodType<
5020
5020
  > = z.object({
5021
5021
  _id: z.string(),
5022
5022
  description: z.string(),
5023
- created: z.string().default("2025-11-20T08:48:00.920Z"),
5024
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
5023
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
5024
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
5025
5025
  guardrail_config: z.union([
5026
5026
  z.lazy(() =>
5027
5027
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
@@ -5062,8 +5062,8 @@ export const DataJSON$outboundSchema: z.ZodType<
5062
5062
  > = z.object({
5063
5063
  id: z.string(),
5064
5064
  description: z.string(),
5065
- created: z.string().default("2025-11-20T08:48:00.920Z"),
5066
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
5065
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
5066
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
5067
5067
  guardrailConfig: z.union([
5068
5068
  z.lazy(() =>
5069
5069
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
@@ -5329,8 +5329,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
5329
5329
  z.object({
5330
5330
  _id: z.string(),
5331
5331
  description: z.string(),
5332
- created: z.string().default("2025-11-20T08:48:00.920Z"),
5333
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
5332
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
5333
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
5334
5334
  guardrail_config: z.union([
5335
5335
  z.lazy(() =>
5336
5336
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -5374,8 +5374,8 @@ export const DataLLM$outboundSchema: z.ZodType<
5374
5374
  > = z.object({
5375
5375
  id: z.string(),
5376
5376
  description: z.string(),
5377
- created: z.string().default("2025-11-20T08:48:00.920Z"),
5378
- updated: z.string().default("2025-11-20T08:48:00.920Z"),
5377
+ created: z.string().default("2025-11-20T11:15:47.866Z"),
5378
+ updated: z.string().default("2025-11-20T11:15:47.866Z"),
5379
5379
  guardrailConfig: z.union([
5380
5380
  z.lazy(() =>
5381
5381
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -381,7 +381,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
381
381
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
382
382
  .optional(),
383
383
  updated: z.string().datetime({ offset: true }).default(
384
- "2025-11-20T08:47:59.142Z",
384
+ "2025-11-20T11:15:46.091Z",
385
385
  ).transform(v => new Date(v)),
386
386
  }).transform((v) => {
387
387
  return remap$(v, {
@@ -415,7 +415,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
415
415
  isActive: z.boolean(),
416
416
  consumption: z.lazy(() => ListBudgetsConsumption$outboundSchema).optional(),
417
417
  created: z.date().transform(v => v.toISOString()).optional(),
418
- updated: z.date().default(() => new Date("2025-11-20T08:47:59.142Z"))
418
+ updated: z.date().default(() => new Date("2025-11-20T11:15:46.091Z"))
419
419
  .transform(v => v.toISOString()),
420
420
  }).transform((v) => {
421
421
  return remap$(v, {
@@ -298,7 +298,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
298
298
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
299
299
  .optional(),
300
300
  updated: z.string().datetime({ offset: true }).default(
301
- "2025-11-20T08:47:58.743Z",
301
+ "2025-11-20T11:15:45.627Z",
302
302
  ).transform(v => new Date(v)),
303
303
  metrics: z.lazy(() => ListContactsMetrics$inboundSchema),
304
304
  }).transform((v) => {
@@ -334,7 +334,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
334
334
  tags: z.array(z.string()).optional(),
335
335
  metadata: z.record(z.any()).optional(),
336
336
  created: z.date().transform(v => v.toISOString()).optional(),
337
- updated: z.date().default(() => new Date("2025-11-20T08:47:58.743Z"))
337
+ updated: z.date().default(() => new Date("2025-11-20T11:15:45.627Z"))
338
338
  .transform(v => v.toISOString()),
339
339
  metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
340
340
  }).transform((v) => {
@@ -2622,7 +2622,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
2622
2622
  source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
2623
2623
  reviewed_by_id: z.string(),
2624
2624
  reviewed_at: z.string().datetime({ offset: true }).default(
2625
- "2025-11-20T08:48:12.583Z",
2625
+ "2025-11-20T11:15:59.612Z",
2626
2626
  ).transform(v => new Date(v)),
2627
2627
  type: ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema,
2628
2628
  values: z.array(z.string()),
@@ -2657,7 +2657,7 @@ export const ListDatasetDatapointsEvaluations3$outboundSchema: z.ZodType<
2657
2657
  humanReviewId: z.string(),
2658
2658
  source: ListDatasetDatapointsEvaluationsSource$outboundSchema.default("orq"),
2659
2659
  reviewedById: z.string(),
2660
- reviewedAt: z.date().default(() => new Date("2025-11-20T08:48:12.583Z"))
2660
+ reviewedAt: z.date().default(() => new Date("2025-11-20T11:15:59.612Z"))
2661
2661
  .transform(v => v.toISOString()),
2662
2662
  type: ListDatasetDatapointsEvaluationsDatasetsType$outboundSchema,
2663
2663
  values: z.array(z.string()),
@@ -2738,7 +2738,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
2738
2738
  .default("orq"),
2739
2739
  reviewed_by_id: z.string(),
2740
2740
  reviewed_at: z.string().datetime({ offset: true }).default(
2741
- "2025-11-20T08:48:12.583Z",
2741
+ "2025-11-20T11:15:59.612Z",
2742
2742
  ).transform(v => new Date(v)),
2743
2743
  type: ListDatasetDatapointsEvaluationsType$inboundSchema,
2744
2744
  value: z.number(),
@@ -2775,7 +2775,7 @@ export const ListDatasetDatapointsEvaluations2$outboundSchema: z.ZodType<
2775
2775
  source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema
2776
2776
  .default("orq"),
2777
2777
  reviewedById: z.string(),
2778
- reviewedAt: z.date().default(() => new Date("2025-11-20T08:48:12.583Z"))
2778
+ reviewedAt: z.date().default(() => new Date("2025-11-20T11:15:59.612Z"))
2779
2779
  .transform(v => v.toISOString()),
2780
2780
  type: ListDatasetDatapointsEvaluationsType$outboundSchema,
2781
2781
  value: z.number(),
@@ -2851,7 +2851,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
2851
2851
  ),
2852
2852
  reviewed_by_id: z.string(),
2853
2853
  reviewed_at: z.string().datetime({ offset: true }).default(
2854
- "2025-11-20T08:48:12.582Z",
2854
+ "2025-11-20T11:15:59.611Z",
2855
2855
  ).transform(v => new Date(v)),
2856
2856
  type: ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema,
2857
2857
  value: z.string(),
@@ -2889,7 +2889,7 @@ export const ListDatasetDatapointsEvaluations1$outboundSchema: z.ZodType<
2889
2889
  "orq",
2890
2890
  ),
2891
2891
  reviewedById: z.string(),
2892
- reviewedAt: z.date().default(() => new Date("2025-11-20T08:48:12.582Z"))
2892
+ reviewedAt: z.date().default(() => new Date("2025-11-20T11:15:59.611Z"))
2893
2893
  .transform(v => v.toISOString()),
2894
2894
  type: ListDatasetDatapointsEvaluationsDatasetsResponseType$outboundSchema,
2895
2895
  value: z.string(),
@@ -3002,7 +3002,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
3002
3002
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3003
3003
  .optional(),
3004
3004
  updated: z.string().datetime({ offset: true }).default(
3005
- "2025-11-20T08:47:58.743Z",
3005
+ "2025-11-20T11:15:45.627Z",
3006
3006
  ).transform(v => new Date(v)),
3007
3007
  }).transform((v) => {
3008
3008
  return remap$(v, {
@@ -3082,7 +3082,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
3082
3082
  createdById: z.string().optional(),
3083
3083
  updatedById: z.string().optional(),
3084
3084
  created: z.date().transform(v => v.toISOString()).optional(),
3085
- updated: z.date().default(() => new Date("2025-11-20T08:47:58.743Z"))
3085
+ updated: z.date().default(() => new Date("2025-11-20T11:15:45.627Z"))
3086
3086
  .transform(v => v.toISOString()),
3087
3087
  }).transform((v) => {
3088
3088
  return remap$(v, {
@@ -211,7 +211,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
211
211
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
212
212
  .optional(),
213
213
  updated: z.string().datetime({ offset: true }).default(
214
- "2025-11-20T08:47:58.743Z",
214
+ "2025-11-20T11:15:45.627Z",
215
215
  ).transform(v => new Date(v)),
216
216
  }).transform((v) => {
217
217
  return remap$(v, {
@@ -250,7 +250,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
250
250
  createdById: z.string().optional(),
251
251
  updatedById: z.string().optional(),
252
252
  created: z.date().transform(v => v.toISOString()).optional(),
253
- updated: z.date().default(() => new Date("2025-11-20T08:47:58.743Z"))
253
+ updated: z.date().default(() => new Date("2025-11-20T11:15:45.627Z"))
254
254
  .transform(v => v.toISOString()),
255
255
  }).transform((v) => {
256
256
  return remap$(v, {
@@ -224,7 +224,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
224
224
  z.ZodTypeDef,
225
225
  unknown
226
226
  > = z.object({
227
- _id: z.string().default("01KAG769PZMTEJRRMK95K9105H"),
227
+ _id: z.string().default("01KAGFMWXMR2Z0GQATTMKNHY4F"),
228
228
  display_name: z.string(),
229
229
  description: z.string().optional(),
230
230
  status: ListDatasourcesStatus$inboundSchema,
@@ -267,7 +267,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
267
267
  z.ZodTypeDef,
268
268
  ListDatasourcesData
269
269
  > = z.object({
270
- id: z.string().default("01KAG769PZMTEJRRMK95K9105H"),
270
+ id: z.string().default("01KAGFMWXMR2Z0GQATTMKNHY4F"),
271
271
  displayName: z.string(),
272
272
  description: z.string().optional(),
273
273
  status: ListDatasourcesStatus$outboundSchema,
@@ -133,6 +133,14 @@ export type SemanticChunkerStrategy = {
133
133
  * Embedding model to use for semantic similarity. (Available embedding models)[https://docs.orq.ai/docs/proxy#embedding-models]
134
134
  */
135
135
  embeddingModel: string;
136
+ /**
137
+ * Number of dimensions for the embedding output. Required for text-embedding-3 models. Supported range: 256-3072 for text-embedding-3-large, 256-1536 for text-embedding-3-small.
138
+ */
139
+ dimensions?: number | undefined;
140
+ /**
141
+ * Maximum number of tokens per embedding request. Default is 8191 for text-embedding-3 models.
142
+ */
143
+ maxTokens?: number | undefined;
136
144
  /**
137
145
  * Chunking mode: window-based or sentence-based similarity
138
146
  */
@@ -494,6 +502,8 @@ export const SemanticChunkerStrategy$inboundSchema: z.ZodType<
494
502
  chunk_size: z.number().int().default(512),
495
503
  threshold: z.union([z.number(), Threshold2$inboundSchema]).optional(),
496
504
  embedding_model: z.string(),
505
+ dimensions: z.number().int().optional(),
506
+ max_tokens: z.number().int().optional(),
497
507
  mode: Mode$inboundSchema.default("window"),
498
508
  similarity_window: z.number().int().default(1),
499
509
  }).transform((v) => {
@@ -501,6 +511,7 @@ export const SemanticChunkerStrategy$inboundSchema: z.ZodType<
501
511
  "return_type": "returnType",
502
512
  "chunk_size": "chunkSize",
503
513
  "embedding_model": "embeddingModel",
514
+ "max_tokens": "maxTokens",
504
515
  "similarity_window": "similarityWindow",
505
516
  });
506
517
  });
@@ -513,6 +524,8 @@ export type SemanticChunkerStrategy$Outbound = {
513
524
  chunk_size: number;
514
525
  threshold?: number | string | undefined;
515
526
  embedding_model: string;
527
+ dimensions?: number | undefined;
528
+ max_tokens?: number | undefined;
516
529
  mode: string;
517
530
  similarity_window: number;
518
531
  };
@@ -532,6 +545,8 @@ export const SemanticChunkerStrategy$outboundSchema: z.ZodType<
532
545
  chunkSize: z.number().int().default(512),
533
546
  threshold: z.union([z.number(), Threshold2$outboundSchema]).optional(),
534
547
  embeddingModel: z.string(),
548
+ dimensions: z.number().int().optional(),
549
+ maxTokens: z.number().int().optional(),
535
550
  mode: Mode$outboundSchema.default("window"),
536
551
  similarityWindow: z.number().int().default(1),
537
552
  }).transform((v) => {
@@ -539,6 +554,7 @@ export const SemanticChunkerStrategy$outboundSchema: z.ZodType<
539
554
  returnType: "return_type",
540
555
  chunkSize: "chunk_size",
541
556
  embeddingModel: "embedding_model",
557
+ maxTokens: "max_tokens",
542
558
  similarityWindow: "similarity_window",
543
559
  });
544
560
  });
@@ -112,7 +112,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
112
112
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
113
113
  .optional(),
114
114
  updated: z.string().datetime({ offset: true }).default(
115
- "2025-11-20T08:47:58.743Z",
115
+ "2025-11-20T11:15:45.627Z",
116
116
  ).transform(v => new Date(v)),
117
117
  }).transform((v) => {
118
118
  return remap$(v, {
@@ -149,7 +149,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
149
149
  tags: z.array(z.string()).optional(),
150
150
  metadata: z.record(z.any()).optional(),
151
151
  created: z.date().transform(v => v.toISOString()).optional(),
152
- updated: z.date().default(() => new Date("2025-11-20T08:47:58.743Z"))
152
+ updated: z.date().default(() => new Date("2025-11-20T11:15:45.627Z"))
153
153
  .transform(v => v.toISOString()),
154
154
  }).transform((v) => {
155
155
  return remap$(v, {
@@ -2511,7 +2511,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
2511
2511
  .default("orq"),
2512
2512
  reviewed_by_id: z.string(),
2513
2513
  reviewed_at: z.string().datetime({ offset: true }).default(
2514
- "2025-11-20T08:48:12.590Z",
2514
+ "2025-11-20T11:15:59.619Z",
2515
2515
  ).transform(v => new Date(v)),
2516
2516
  type: RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema,
2517
2517
  values: z.array(z.string()),
@@ -2548,7 +2548,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
2548
2548
  source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
2549
2549
  .default("orq"),
2550
2550
  reviewedById: z.string(),
2551
- reviewedAt: z.date().default(() => new Date("2025-11-20T08:48:12.590Z"))
2551
+ reviewedAt: z.date().default(() => new Date("2025-11-20T11:15:59.619Z"))
2552
2552
  .transform(v => v.toISOString()),
2553
2553
  type: RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema,
2554
2554
  values: z.array(z.string()),
@@ -2622,7 +2622,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
2622
2622
  ),
2623
2623
  reviewed_by_id: z.string(),
2624
2624
  reviewed_at: z.string().datetime({ offset: true }).default(
2625
- "2025-11-20T08:48:12.590Z",
2625
+ "2025-11-20T11:15:59.619Z",
2626
2626
  ).transform(v => new Date(v)),
2627
2627
  type: RetrieveDatapointEvaluationsDatasetsType$inboundSchema,
2628
2628
  value: z.number(),
@@ -2660,7 +2660,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
2660
2660
  "orq",
2661
2661
  ),
2662
2662
  reviewedById: z.string(),
2663
- reviewedAt: z.date().default(() => new Date("2025-11-20T08:48:12.590Z"))
2663
+ reviewedAt: z.date().default(() => new Date("2025-11-20T11:15:59.619Z"))
2664
2664
  .transform(v => v.toISOString()),
2665
2665
  type: RetrieveDatapointEvaluationsDatasetsType$outboundSchema,
2666
2666
  value: z.number(),
@@ -2731,7 +2731,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
2731
2731
  source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
2732
2732
  reviewed_by_id: z.string(),
2733
2733
  reviewed_at: z.string().datetime({ offset: true }).default(
2734
- "2025-11-20T08:48:12.589Z",
2734
+ "2025-11-20T11:15:59.618Z",
2735
2735
  ).transform(v => new Date(v)),
2736
2736
  type: RetrieveDatapointEvaluationsType$inboundSchema,
2737
2737
  value: z.string(),
@@ -2766,7 +2766,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
2766
2766
  humanReviewId: z.string(),
2767
2767
  source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
2768
2768
  reviewedById: z.string(),
2769
- reviewedAt: z.date().default(() => new Date("2025-11-20T08:48:12.589Z"))
2769
+ reviewedAt: z.date().default(() => new Date("2025-11-20T11:15:59.618Z"))
2770
2770
  .transform(v => v.toISOString()),
2771
2771
  type: RetrieveDatapointEvaluationsType$outboundSchema,
2772
2772
  value: z.string(),
@@ -2877,7 +2877,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
2877
2877
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2878
2878
  .optional(),
2879
2879
  updated: z.string().datetime({ offset: true }).default(
2880
- "2025-11-20T08:47:58.743Z",
2880
+ "2025-11-20T11:15:45.627Z",
2881
2881
  ).transform(v => new Date(v)),
2882
2882
  }).transform((v) => {
2883
2883
  return remap$(v, {
@@ -2951,7 +2951,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
2951
2951
  createdById: z.string().optional(),
2952
2952
  updatedById: z.string().optional(),
2953
2953
  created: z.date().transform(v => v.toISOString()).optional(),
2954
- updated: z.date().default(() => new Date("2025-11-20T08:47:58.743Z"))
2954
+ updated: z.date().default(() => new Date("2025-11-20T11:15:45.627Z"))
2955
2955
  .transform(v => v.toISOString()),
2956
2956
  }).transform((v) => {
2957
2957
  return remap$(v, {
@@ -174,7 +174,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
174
174
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
175
175
  .optional(),
176
176
  updated: z.string().datetime({ offset: true }).default(
177
- "2025-11-20T08:47:58.743Z",
177
+ "2025-11-20T11:15:45.627Z",
178
178
  ).transform(v => new Date(v)),
179
179
  }).transform((v) => {
180
180
  return remap$(v, {
@@ -213,7 +213,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
213
213
  createdById: z.string().optional(),
214
214
  updatedById: z.string().optional(),
215
215
  created: z.date().transform(v => v.toISOString()).optional(),
216
- updated: z.date().default(() => new Date("2025-11-20T08:47:58.743Z"))
216
+ updated: z.date().default(() => new Date("2025-11-20T11:15:45.627Z"))
217
217
  .transform(v => v.toISOString()),
218
218
  }).transform((v) => {
219
219
  return remap$(v, {
@@ -145,7 +145,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
145
145
  z.ZodTypeDef,
146
146
  unknown
147
147
  > = z.object({
148
- _id: z.string().default("01KAG769Q298YV9VCN6NATDG1H"),
148
+ _id: z.string().default("01KAGFMWXQX7CW0HSTGFDNMJKS"),
149
149
  display_name: z.string(),
150
150
  description: z.string().optional(),
151
151
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -188,7 +188,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
188
188
  z.ZodTypeDef,
189
189
  RetrieveDatasourceResponseBody
190
190
  > = z.object({
191
- id: z.string().default("01KAG769Q298YV9VCN6NATDG1H"),
191
+ id: z.string().default("01KAGFMWXQX7CW0HSTGFDNMJKS"),
192
192
  displayName: z.string(),
193
193
  description: z.string().optional(),
194
194
  status: RetrieveDatasourceStatus$outboundSchema,
@@ -890,7 +890,7 @@ export const RetrieveToolResponseBody5$inboundSchema: z.ZodType<
890
890
  z.ZodTypeDef,
891
891
  unknown
892
892
  > = z.object({
893
- _id: z.string().default("tool_01KAG769K4SSC5C5C9Q155QJV3"),
893
+ _id: z.string().default("tool_01KAGFMWT1BE6PN33YJT8T65AC"),
894
894
  path: z.string(),
895
895
  key: z.string(),
896
896
  display_name: z.string().optional(),
@@ -945,7 +945,7 @@ export const RetrieveToolResponseBody5$outboundSchema: z.ZodType<
945
945
  z.ZodTypeDef,
946
946
  RetrieveToolResponseBody5
947
947
  > = z.object({
948
- id: z.string().default("tool_01KAG769K4SSC5C5C9Q155QJV3"),
948
+ id: z.string().default("tool_01KAGFMWT1BE6PN33YJT8T65AC"),
949
949
  path: z.string(),
950
950
  key: z.string(),
951
951
  displayName: z.string().optional(),
@@ -1125,7 +1125,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
1125
1125
  z.ZodTypeDef,
1126
1126
  unknown
1127
1127
  > = z.object({
1128
- id: z.string().default("01KAG769K33B1WS33F7S9BP1A0"),
1128
+ id: z.string().default("01KAGFMWSZJ0J0VZ17WFK51B9Z"),
1129
1129
  name: z.string(),
1130
1130
  description: z.string().optional(),
1131
1131
  schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
@@ -1144,7 +1144,7 @@ export const RetrieveToolResponseBodyTools$outboundSchema: z.ZodType<
1144
1144
  z.ZodTypeDef,
1145
1145
  RetrieveToolResponseBodyTools
1146
1146
  > = z.object({
1147
- id: z.string().default("01KAG769K33B1WS33F7S9BP1A0"),
1147
+ id: z.string().default("01KAGFMWSZJ0J0VZ17WFK51B9Z"),
1148
1148
  name: z.string(),
1149
1149
  description: z.string().optional(),
1150
1150
  schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$outboundSchema),
@@ -1250,7 +1250,7 @@ export const RetrieveToolResponseBody4$inboundSchema: z.ZodType<
1250
1250
  z.ZodTypeDef,
1251
1251
  unknown
1252
1252
  > = z.object({
1253
- _id: z.string().default("tool_01KAG769JSV2QZKHEK9498H983"),
1253
+ _id: z.string().default("tool_01KAGFMWSXZ0RMHRKWPAK0GMFJ"),
1254
1254
  path: z.string(),
1255
1255
  key: z.string(),
1256
1256
  display_name: z.string().optional(),
@@ -1303,7 +1303,7 @@ export const RetrieveToolResponseBody4$outboundSchema: z.ZodType<
1303
1303
  z.ZodTypeDef,
1304
1304
  RetrieveToolResponseBody4
1305
1305
  > = z.object({
1306
- id: z.string().default("tool_01KAG769JSV2QZKHEK9498H983"),
1306
+ id: z.string().default("tool_01KAGFMWSXZ0RMHRKWPAK0GMFJ"),
1307
1307
  path: z.string(),
1308
1308
  key: z.string(),
1309
1309
  displayName: z.string().optional(),
@@ -1681,7 +1681,7 @@ export const RetrieveToolResponseBody3$inboundSchema: z.ZodType<
1681
1681
  z.ZodTypeDef,
1682
1682
  unknown
1683
1683
  > = z.object({
1684
- _id: z.string().default("tool_01KAG769JPEA0CNWZJY39SCN4X"),
1684
+ _id: z.string().default("tool_01KAGFMWSTYQ4BZ00DQ0TBSRGS"),
1685
1685
  path: z.string(),
1686
1686
  key: z.string(),
1687
1687
  display_name: z.string().optional(),
@@ -1734,7 +1734,7 @@ export const RetrieveToolResponseBody3$outboundSchema: z.ZodType<
1734
1734
  z.ZodTypeDef,
1735
1735
  RetrieveToolResponseBody3
1736
1736
  > = z.object({
1737
- id: z.string().default("tool_01KAG769JPEA0CNWZJY39SCN4X"),
1737
+ id: z.string().default("tool_01KAGFMWSTYQ4BZ00DQ0TBSRGS"),
1738
1738
  path: z.string(),
1739
1739
  key: z.string(),
1740
1740
  displayName: z.string().optional(),
@@ -1915,7 +1915,7 @@ export const RetrieveToolResponseBody2$inboundSchema: z.ZodType<
1915
1915
  z.ZodTypeDef,
1916
1916
  unknown
1917
1917
  > = z.object({
1918
- _id: z.string().default("tool_01KAG769JMBQ50HTGCKF6TCN57"),
1918
+ _id: z.string().default("tool_01KAGFMWSHSWVRJGGYX0BH007D"),
1919
1919
  path: z.string(),
1920
1920
  key: z.string(),
1921
1921
  display_name: z.string().optional(),
@@ -1967,7 +1967,7 @@ export const RetrieveToolResponseBody2$outboundSchema: z.ZodType<
1967
1967
  z.ZodTypeDef,
1968
1968
  RetrieveToolResponseBody2
1969
1969
  > = z.object({
1970
- id: z.string().default("tool_01KAG769JMBQ50HTGCKF6TCN57"),
1970
+ id: z.string().default("tool_01KAGFMWSHSWVRJGGYX0BH007D"),
1971
1971
  path: z.string(),
1972
1972
  key: z.string(),
1973
1973
  displayName: z.string().optional(),
@@ -2165,7 +2165,7 @@ export const RetrieveToolResponseBody1$inboundSchema: z.ZodType<
2165
2165
  z.ZodTypeDef,
2166
2166
  unknown
2167
2167
  > = z.object({
2168
- _id: z.string().default("tool_01KAG769JKJH9QPDN8VX7CD08G"),
2168
+ _id: z.string().default("tool_01KAGFMWSGFWS186ASC8YQ89MG"),
2169
2169
  path: z.string(),
2170
2170
  key: z.string(),
2171
2171
  display_name: z.string().optional(),
@@ -2216,7 +2216,7 @@ export const RetrieveToolResponseBody1$outboundSchema: z.ZodType<
2216
2216
  z.ZodTypeDef,
2217
2217
  RetrieveToolResponseBody1
2218
2218
  > = z.object({
2219
- id: z.string().default("tool_01KAG769JKJH9QPDN8VX7CD08G"),
2219
+ id: z.string().default("tool_01KAGFMWSGFWS186ASC8YQ89MG"),
2220
2220
  path: z.string(),
2221
2221
  key: z.string(),
2222
2222
  displayName: z.string().optional(),
@@ -4775,7 +4775,7 @@ export function schemaFromJSON(
4775
4775
  /** @internal */
4776
4776
  export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
4777
4777
  .object({
4778
- id: z.string().default("01KAG76970F8QTYA1PNG7Q9X98"),
4778
+ id: z.string().default("01KAGFMWDKSCVR7D51H58AV1MK"),
4779
4779
  name: z.string(),
4780
4780
  description: z.string().optional(),
4781
4781
  schema: z.lazy(() => Schema$inboundSchema),
@@ -4794,7 +4794,7 @@ export const Tools$outboundSchema: z.ZodType<
4794
4794
  z.ZodTypeDef,
4795
4795
  Tools
4796
4796
  > = z.object({
4797
- id: z.string().default("01KAG76970F8QTYA1PNG7Q9X98"),
4797
+ id: z.string().default("01KAGFMWDKSCVR7D51H58AV1MK"),
4798
4798
  name: z.string(),
4799
4799
  description: z.string().optional(),
4800
4800
  schema: z.lazy(() => Schema$outboundSchema),
@@ -6299,7 +6299,7 @@ export const AgentToolInputRunTools$inboundSchema: z.ZodType<
6299
6299
  z.ZodTypeDef,
6300
6300
  unknown
6301
6301
  > = z.object({
6302
- id: z.string().default("01KAG7698JKRBJTSEBGMXS4794"),
6302
+ id: z.string().default("01KAGFMWFAKEY17NCPMNR6XQMV"),
6303
6303
  name: z.string(),
6304
6304
  description: z.string().optional(),
6305
6305
  schema: z.lazy(() => AgentToolInputRunSchema$inboundSchema),
@@ -6318,7 +6318,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
6318
6318
  z.ZodTypeDef,
6319
6319
  AgentToolInputRunTools
6320
6320
  > = z.object({
6321
- id: z.string().default("01KAG7698JKRBJTSEBGMXS4794"),
6321
+ id: z.string().default("01KAGFMWFAKEY17NCPMNR6XQMV"),
6322
6322
  name: z.string(),
6323
6323
  description: z.string().optional(),
6324
6324
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -436,7 +436,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
436
436
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
437
437
  .optional(),
438
438
  updated: z.string().datetime({ offset: true }).default(
439
- "2025-11-20T08:47:59.142Z",
439
+ "2025-11-20T11:15:46.091Z",
440
440
  ).transform(v => new Date(v)),
441
441
  }).transform((v) => {
442
442
  return remap$(v, {
@@ -473,7 +473,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
473
473
  isActive: z.boolean(),
474
474
  consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
475
475
  created: z.date().transform(v => v.toISOString()).optional(),
476
- updated: z.date().default(() => new Date("2025-11-20T08:47:59.142Z"))
476
+ updated: z.date().default(() => new Date("2025-11-20T11:15:46.091Z"))
477
477
  .transform(v => v.toISOString()),
478
478
  }).transform((v) => {
479
479
  return remap$(v, {