@orq-ai/node 3.12.14 → 3.12.16

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 (118) hide show
  1. package/README.md +1 -4
  2. package/bin/mcp-server.js +113 -113
  3. package/bin/mcp-server.js.map +31 -31
  4. package/examples/package-lock.json +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +3 -3
  7. package/lib/config.js +3 -3
  8. package/lib/url.js +1 -1
  9. package/lib/url.js.map +1 -1
  10. package/mcp-server/mcp-server.js +1 -1
  11. package/mcp-server/server.js +1 -1
  12. package/models/operations/createbudget.js +2 -2
  13. package/models/operations/createcontact.js +2 -2
  14. package/models/operations/createdataset.js +2 -2
  15. package/models/operations/createdatasetitem.js +2 -2
  16. package/models/operations/createdatasource.js +2 -2
  17. package/models/operations/createeval.js +16 -16
  18. package/models/operations/fileget.js +2 -2
  19. package/models/operations/filelist.js +2 -2
  20. package/models/operations/fileupload.js +2 -2
  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 +2 -2
  26. package/models/operations/listdatasets.js +2 -2
  27. package/models/operations/listdatasources.js +2 -2
  28. package/models/operations/retrievecontact.js +2 -2
  29. package/models/operations/retrievedatapoint.js +2 -2
  30. package/models/operations/retrievedataset.js +2 -2
  31. package/models/operations/retrievedatasource.js +2 -2
  32. package/models/operations/updatebudget.js +2 -2
  33. package/models/operations/updatecontact.js +2 -2
  34. package/models/operations/updatedatapoint.js +2 -2
  35. package/models/operations/updatedataset.js +2 -2
  36. package/models/operations/updatedatasource.js +2 -2
  37. package/models/operations/updateeval.js +16 -16
  38. package/package.json +1 -1
  39. package/packages/orq-rc/README.md +1 -4
  40. package/packages/orq-rc/docs/sdks/agents/README.md +8 -2
  41. package/packages/orq-rc/docs/sdks/evals/README.md +2 -0
  42. package/packages/orq-rc/examples/package-lock.json +1 -1
  43. package/packages/orq-rc/jsr.json +1 -1
  44. package/packages/orq-rc/package-lock.json +2 -2
  45. package/packages/orq-rc/package.json +1 -1
  46. package/packages/orq-rc/src/lib/config.ts +3 -3
  47. package/packages/orq-rc/src/lib/url.ts +1 -1
  48. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  49. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  50. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  51. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  52. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  53. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
  54. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  55. package/packages/orq-rc/src/models/operations/createeval.ts +167 -28
  56. package/packages/orq-rc/src/models/operations/createprompt.ts +2 -0
  57. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -0
  58. package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
  59. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  60. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  61. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  62. package/packages/orq-rc/src/models/operations/getagent.ts +2 -2
  63. package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
  64. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  65. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  66. package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
  67. package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
  68. package/packages/orq-rc/src/models/operations/listagents.ts +2 -2
  69. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  70. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  71. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  72. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  73. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  74. package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
  75. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  76. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  79. package/packages/orq-rc/src/models/operations/runagent.ts +26 -19
  80. package/packages/orq-rc/src/models/operations/searchknowledge.ts +2 -2
  81. package/packages/orq-rc/src/models/operations/streamrunagent.ts +27 -20
  82. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  85. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  87. package/packages/orq-rc/src/models/operations/updateeval.ts +181 -28
  88. package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -0
  89. package/src/lib/config.ts +3 -3
  90. package/src/lib/url.ts +1 -1
  91. package/src/mcp-server/mcp-server.ts +1 -1
  92. package/src/mcp-server/server.ts +1 -1
  93. package/src/models/operations/createbudget.ts +2 -2
  94. package/src/models/operations/createcontact.ts +2 -2
  95. package/src/models/operations/createdataset.ts +2 -2
  96. package/src/models/operations/createdatasetitem.ts +2 -2
  97. package/src/models/operations/createdatasource.ts +2 -2
  98. package/src/models/operations/createeval.ts +16 -16
  99. package/src/models/operations/fileget.ts +2 -2
  100. package/src/models/operations/filelist.ts +2 -2
  101. package/src/models/operations/fileupload.ts +2 -2
  102. package/src/models/operations/getbudget.ts +2 -2
  103. package/src/models/operations/getevals.ts +28 -28
  104. package/src/models/operations/listbudgets.ts +2 -2
  105. package/src/models/operations/listcontacts.ts +2 -2
  106. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  107. package/src/models/operations/listdatasets.ts +2 -2
  108. package/src/models/operations/listdatasources.ts +2 -2
  109. package/src/models/operations/retrievecontact.ts +2 -2
  110. package/src/models/operations/retrievedatapoint.ts +2 -2
  111. package/src/models/operations/retrievedataset.ts +2 -2
  112. package/src/models/operations/retrievedatasource.ts +2 -2
  113. package/src/models/operations/updatebudget.ts +2 -2
  114. package/src/models/operations/updatecontact.ts +2 -2
  115. package/src/models/operations/updatedatapoint.ts +2 -2
  116. package/src/models/operations/updatedataset.ts +2 -2
  117. package/src/models/operations/updatedatasource.ts +2 -2
  118. package/src/models/operations/updateeval.ts +16 -16
@@ -1556,8 +1556,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
1556
1556
  > = z.object({
1557
1557
  _id: z.string(),
1558
1558
  description: z.string(),
1559
- created: z.string().default("2025-09-22T14:20:43.147Z"),
1560
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
1559
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
1560
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
1561
1561
  guardrail_config: z.union([
1562
1562
  z.lazy(() =>
1563
1563
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -1600,8 +1600,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
1600
1600
  > = z.object({
1601
1601
  id: z.string(),
1602
1602
  description: z.string(),
1603
- created: z.string().default("2025-09-22T14:20:43.147Z"),
1604
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
1603
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
1604
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
1605
1605
  guardrailConfig: z.union([
1606
1606
  z.lazy(() =>
1607
1607
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -2002,8 +2002,8 @@ export const DataRagas$inboundSchema: z.ZodType<
2002
2002
  > = z.object({
2003
2003
  _id: z.string(),
2004
2004
  description: z.string(),
2005
- created: z.string().default("2025-09-22T14:20:43.147Z"),
2006
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
2005
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
2006
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
2007
2007
  guardrail_config: z.union([
2008
2008
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
2009
2009
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
@@ -2044,8 +2044,8 @@ export const DataRagas$outboundSchema: z.ZodType<
2044
2044
  > = z.object({
2045
2045
  id: z.string(),
2046
2046
  description: z.string(),
2047
- created: z.string().default("2025-09-22T14:20:43.147Z"),
2048
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
2047
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
2048
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
2049
2049
  guardrailConfig: z.union([
2050
2050
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
2051
2051
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
@@ -5512,8 +5512,8 @@ export const DataFunction$inboundSchema: z.ZodType<
5512
5512
  > = z.object({
5513
5513
  _id: z.string(),
5514
5514
  description: z.string(),
5515
- created: z.string().default("2025-09-22T14:20:43.147Z"),
5516
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
5515
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
5516
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
5517
5517
  guardrail_config: z.union([
5518
5518
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
5519
5519
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -5623,8 +5623,8 @@ export const DataFunction$outboundSchema: z.ZodType<
5623
5623
  > = z.object({
5624
5624
  id: z.string(),
5625
5625
  description: z.string(),
5626
- created: z.string().default("2025-09-22T14:20:43.147Z"),
5627
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
5626
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
5627
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
5628
5628
  guardrailConfig: z.union([
5629
5629
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
5630
5630
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -6006,8 +6006,8 @@ export const DataPython$inboundSchema: z.ZodType<
6006
6006
  > = z.object({
6007
6007
  _id: z.string(),
6008
6008
  description: z.string(),
6009
- created: z.string().default("2025-09-22T14:20:43.147Z"),
6010
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
6009
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
6010
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
6011
6011
  guardrail_config: z.union([
6012
6012
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
6013
6013
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -6045,8 +6045,8 @@ export const DataPython$outboundSchema: z.ZodType<
6045
6045
  > = z.object({
6046
6046
  id: z.string(),
6047
6047
  description: z.string(),
6048
- created: z.string().default("2025-09-22T14:20:43.147Z"),
6049
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
6048
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
6049
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
6050
6050
  guardrailConfig: z.union([
6051
6051
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
6052
6052
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
@@ -6392,8 +6392,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
6392
6392
  > = z.object({
6393
6393
  _id: z.string(),
6394
6394
  description: z.string(),
6395
- created: z.string().default("2025-09-22T14:20:43.147Z"),
6396
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
6395
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
6396
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
6397
6397
  guardrail_config: z.union([
6398
6398
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
6399
6399
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -6437,8 +6437,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
6437
6437
  > = z.object({
6438
6438
  id: z.string(),
6439
6439
  description: z.string(),
6440
- created: z.string().default("2025-09-22T14:20:43.147Z"),
6441
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
6440
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
6441
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
6442
6442
  guardrailConfig: z.union([
6443
6443
  z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
6444
6444
  z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
@@ -6803,8 +6803,8 @@ export const DataJSON$inboundSchema: z.ZodType<
6803
6803
  > = z.object({
6804
6804
  _id: z.string(),
6805
6805
  description: z.string(),
6806
- created: z.string().default("2025-09-22T14:20:43.147Z"),
6807
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
6806
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
6807
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
6808
6808
  guardrail_config: z.union([
6809
6809
  z.lazy(() =>
6810
6810
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
@@ -6846,8 +6846,8 @@ export const DataJSON$outboundSchema: z.ZodType<
6846
6846
  > = z.object({
6847
6847
  id: z.string(),
6848
6848
  description: z.string(),
6849
- created: z.string().default("2025-09-22T14:20:43.147Z"),
6850
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
6849
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
6850
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
6851
6851
  guardrailConfig: z.union([
6852
6852
  z.lazy(() =>
6853
6853
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
@@ -7229,8 +7229,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
7229
7229
  z.object({
7230
7230
  _id: z.string(),
7231
7231
  description: z.string(),
7232
- created: z.string().default("2025-09-22T14:20:43.147Z"),
7233
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
7232
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
7233
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
7234
7234
  guardrail_config: z.union([
7235
7235
  z.lazy(() =>
7236
7236
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -7274,8 +7274,8 @@ export const DataLLM$outboundSchema: z.ZodType<
7274
7274
  > = z.object({
7275
7275
  id: z.string(),
7276
7276
  description: z.string(),
7277
- created: z.string().default("2025-09-22T14:20:43.147Z"),
7278
- updated: z.string().default("2025-09-22T14:20:43.148Z"),
7277
+ created: z.string().default("2025-09-24T04:54:54.913Z"),
7278
+ updated: z.string().default("2025-09-24T04:54:54.913Z"),
7279
7279
  guardrailConfig: z.union([
7280
7280
  z.lazy(() =>
7281
7281
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -143,6 +143,7 @@ export type GetOnePromptEncodingFormat = ClosedEnum<
143
143
  */
144
144
  export const GetOnePromptReasoningEffort = {
145
145
  Disable: "disable",
146
+ Minimal: "minimal",
146
147
  Low: "low",
147
148
  Medium: "medium",
148
149
  High: "high",
@@ -144,6 +144,7 @@ export type GetPromptVersionEncodingFormat = ClosedEnum<
144
144
  */
145
145
  export const GetPromptVersionReasoningEffort = {
146
146
  Disable: "disable",
147
+ Minimal: "minimal",
147
148
  Low: "low",
148
149
  Medium: "medium",
149
150
  High: "high",
@@ -1022,7 +1022,7 @@ export const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<
1022
1022
  z.ZodTypeDef,
1023
1023
  unknown
1024
1024
  > = z.object({
1025
- id: z.string().default("01K5RWRYK6QDX0QEJXTW2178DP"),
1025
+ id: z.string().default("01K5X16BTBH7Y20P533FCB8SDH"),
1026
1026
  knowledge_id: z.string(),
1027
1027
  configuration: z.union([
1028
1028
  z.lazy(() => ListAgentsConfiguration2$inboundSchema),
@@ -1049,7 +1049,7 @@ export const ListAgentsKnowledgeBases$outboundSchema: z.ZodType<
1049
1049
  z.ZodTypeDef,
1050
1050
  ListAgentsKnowledgeBases
1051
1051
  > = z.object({
1052
- id: z.string().default("01K5RWRYK6QDX0QEJXTW2178DP"),
1052
+ id: z.string().default("01K5X16BTBH7Y20P533FCB8SDH"),
1053
1053
  knowledgeId: z.string(),
1054
1054
  configuration: z.union([
1055
1055
  z.lazy(() => ListAgentsConfiguration2$outboundSchema),
@@ -464,7 +464,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
464
464
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
465
465
  .optional(),
466
466
  updated: z.string().datetime({ offset: true }).default(
467
- "2025-09-22T14:20:40.492Z",
467
+ "2025-09-24T04:54:52.401Z",
468
468
  ).transform(v => new Date(v)),
469
469
  }).transform((v) => {
470
470
  return remap$(v, {
@@ -499,7 +499,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
499
499
  isActive: z.boolean(),
500
500
  consumption: z.lazy(() => ListBudgetsConsumption$outboundSchema).optional(),
501
501
  created: z.date().transform(v => v.toISOString()).optional(),
502
- updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
502
+ updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
503
503
  .transform(v => v.toISOString()),
504
504
  }).transform((v) => {
505
505
  return remap$(v, {
@@ -352,7 +352,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
352
352
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
353
353
  .optional(),
354
354
  updated: z.string().datetime({ offset: true }).default(
355
- "2025-09-22T14:20:40.492Z",
355
+ "2025-09-24T04:54:52.401Z",
356
356
  ).transform(v => new Date(v)),
357
357
  metrics: z.lazy(() => ListContactsMetrics$inboundSchema),
358
358
  }).transform((v) => {
@@ -389,7 +389,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
389
389
  tags: z.array(z.string()).optional(),
390
390
  metadata: z.record(z.any()).optional(),
391
391
  created: z.date().transform(v => v.toISOString()).optional(),
392
- updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
392
+ updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
393
393
  .transform(v => v.toISOString()),
394
394
  metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
395
395
  }).transform((v) => {
@@ -3100,7 +3100,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
3100
3100
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3101
3101
  .optional(),
3102
3102
  updated: z.string().datetime({ offset: true }).default(
3103
- "2025-09-22T14:20:40.492Z",
3103
+ "2025-09-24T04:54:52.401Z",
3104
3104
  ).transform(v => new Date(v)),
3105
3105
  }).transform((v) => {
3106
3106
  return remap$(v, {
@@ -3164,7 +3164,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
3164
3164
  createdById: z.string().optional(),
3165
3165
  updatedById: z.string().optional(),
3166
3166
  created: z.date().transform(v => v.toISOString()).optional(),
3167
- updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
3167
+ updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
3168
3168
  .transform(v => v.toISOString()),
3169
3169
  }).transform((v) => {
3170
3170
  return remap$(v, {
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
253
253
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
254
254
  .optional(),
255
255
  updated: z.string().datetime({ offset: true }).default(
256
- "2025-09-22T14:20:40.492Z",
256
+ "2025-09-24T04:54:52.401Z",
257
257
  ).transform(v => new Date(v)),
258
258
  }).transform((v) => {
259
259
  return remap$(v, {
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
293
293
  updatedById: z.string().optional(),
294
294
  metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
295
295
  created: z.date().transform(v => v.toISOString()).optional(),
296
- updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
296
+ updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
297
297
  .transform(v => v.toISOString()),
298
298
  }).transform((v) => {
299
299
  return remap$(v, {
@@ -285,7 +285,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
285
285
  z.ZodTypeDef,
286
286
  unknown
287
287
  > = z.object({
288
- _id: z.string().default("01K5RWRYR8S2EYS00ABE811GS4"),
288
+ _id: z.string().default("01K5X16BZJ8KGHD40WN8B0K0TS"),
289
289
  display_name: z.string(),
290
290
  description: z.string().optional(),
291
291
  status: ListDatasourcesStatus$inboundSchema,
@@ -329,7 +329,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
329
329
  z.ZodTypeDef,
330
330
  ListDatasourcesData
331
331
  > = z.object({
332
- id: z.string().default("01K5RWRYR8S2EYS00ABE811GS4"),
332
+ id: z.string().default("01K5X16BZJ8KGHD40WN8B0K0TS"),
333
333
  displayName: z.string(),
334
334
  description: z.string().optional(),
335
335
  status: ListDatasourcesStatus$outboundSchema,
@@ -158,6 +158,7 @@ export type ListPromptVersionsEncodingFormat = ClosedEnum<
158
158
  */
159
159
  export const ListPromptVersionsReasoningEffort = {
160
160
  Disable: "disable",
161
+ Minimal: "minimal",
161
162
  Low: "low",
162
163
  Medium: "medium",
163
164
  High: "high",
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
127
127
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
128
128
  .optional(),
129
129
  updated: z.string().datetime({ offset: true }).default(
130
- "2025-09-22T14:20:40.492Z",
130
+ "2025-09-24T04:54:52.401Z",
131
131
  ).transform(v => new Date(v)),
132
132
  }).transform((v) => {
133
133
  return remap$(v, {
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
165
165
  tags: z.array(z.string()).optional(),
166
166
  metadata: z.record(z.any()).optional(),
167
167
  created: z.date().transform(v => v.toISOString()).optional(),
168
- updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
168
+ updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
169
169
  .transform(v => v.toISOString()),
170
170
  }).transform((v) => {
171
171
  return remap$(v, {
@@ -2957,7 +2957,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
2957
2957
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2958
2958
  .optional(),
2959
2959
  updated: z.string().datetime({ offset: true }).default(
2960
- "2025-09-22T14:20:40.492Z",
2960
+ "2025-09-24T04:54:52.401Z",
2961
2961
  ).transform(v => new Date(v)),
2962
2962
  }).transform((v) => {
2963
2963
  return remap$(v, {
@@ -3015,7 +3015,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
3015
3015
  createdById: z.string().optional(),
3016
3016
  updatedById: z.string().optional(),
3017
3017
  created: z.date().transform(v => v.toISOString()).optional(),
3018
- updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
3018
+ updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
3019
3019
  .transform(v => v.toISOString()),
3020
3020
  }).transform((v) => {
3021
3021
  return remap$(v, {
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
201
201
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
202
202
  .optional(),
203
203
  updated: z.string().datetime({ offset: true }).default(
204
- "2025-09-22T14:20:40.492Z",
204
+ "2025-09-24T04:54:52.401Z",
205
205
  ).transform(v => new Date(v)),
206
206
  }).transform((v) => {
207
207
  return remap$(v, {
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
241
241
  updatedById: z.string().optional(),
242
242
  metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
243
243
  created: z.date().transform(v => v.toISOString()).optional(),
244
- updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
244
+ updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
245
245
  .transform(v => v.toISOString()),
246
246
  }).transform((v) => {
247
247
  return remap$(v, {
@@ -172,7 +172,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
172
172
  z.ZodTypeDef,
173
173
  unknown
174
174
  > = z.object({
175
- _id: z.string().default("01K5RWRYR99NWEZ4RE6DMXAQP5"),
175
+ _id: z.string().default("01K5X16BZM187B5KQFADQ4TDC0"),
176
176
  display_name: z.string(),
177
177
  description: z.string().optional(),
178
178
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -216,7 +216,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
216
216
  z.ZodTypeDef,
217
217
  RetrieveDatasourceResponseBody
218
218
  > = z.object({
219
- id: z.string().default("01K5RWRYR99NWEZ4RE6DMXAQP5"),
219
+ id: z.string().default("01K5X16BZM187B5KQFADQ4TDC0"),
220
220
  displayName: z.string(),
221
221
  description: z.string().optional(),
222
222
  status: RetrieveDatasourceStatus$outboundSchema,
@@ -103,7 +103,7 @@ export type PartsKind = ClosedEnum<typeof PartsKind>;
103
103
 
104
104
  export type Parts2 = {
105
105
  kind: PartsKind;
106
- data?: any | undefined;
106
+ data: { [k: string]: any };
107
107
  metadata?: { [k: string]: any } | undefined;
108
108
  };
109
109
 
@@ -117,7 +117,7 @@ export type Parts1 = {
117
117
  text: string;
118
118
  };
119
119
 
120
- export type Parts = Parts4 | Parts1 | Parts3 | Five | Parts2;
120
+ export type Parts = Parts4 | Parts1 | Parts2 | Parts3 | Five;
121
121
 
122
122
  /**
123
123
  * The A2A format message containing the task for the agent to perform.
@@ -134,7 +134,7 @@ export type Message = {
134
134
  /**
135
135
  * A2A message parts
136
136
  */
137
- parts: Array<Parts4 | Parts1 | Parts3 | Five | Parts2>;
137
+ parts: Array<Parts4 | Parts1 | Parts2 | Parts3 | Five>;
138
138
  /**
139
139
  * Optional message metadata
140
140
  */
@@ -371,7 +371,7 @@ export type Twelve = {
371
371
  /**
372
372
  * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
373
373
  */
374
- path: string;
374
+ path?: string | undefined;
375
375
  /**
376
376
  * Unique key of the tool as it will be displayed in the UI
377
377
  */
@@ -644,6 +644,10 @@ export type RunAgentRequestBody = {
644
644
  */
645
645
  teamOfAgents?: Array<TeamOfAgents> | undefined;
646
646
  settings: Settings;
647
+ /**
648
+ * Optional metadata for the agent run as key-value pairs that will be included in traces
649
+ */
650
+ metadata?: { [k: string]: any } | undefined;
647
651
  };
648
652
 
649
653
  /**
@@ -1267,14 +1271,14 @@ export namespace PartsKind$ {
1267
1271
  export const Parts2$inboundSchema: z.ZodType<Parts2, z.ZodTypeDef, unknown> = z
1268
1272
  .object({
1269
1273
  kind: PartsKind$inboundSchema,
1270
- data: z.any().optional(),
1274
+ data: z.record(z.any()),
1271
1275
  metadata: z.record(z.any()).optional(),
1272
1276
  });
1273
1277
 
1274
1278
  /** @internal */
1275
1279
  export type Parts2$Outbound = {
1276
1280
  kind: string;
1277
- data?: any | undefined;
1281
+ data: { [k: string]: any };
1278
1282
  metadata?: { [k: string]: any } | undefined;
1279
1283
  };
1280
1284
 
@@ -1285,7 +1289,7 @@ export const Parts2$outboundSchema: z.ZodType<
1285
1289
  Parts2
1286
1290
  > = z.object({
1287
1291
  kind: PartsKind$outboundSchema,
1288
- data: z.any().optional(),
1292
+ data: z.record(z.any()),
1289
1293
  metadata: z.record(z.any()).optional(),
1290
1294
  });
1291
1295
 
@@ -1391,18 +1395,18 @@ export const Parts$inboundSchema: z.ZodType<Parts, z.ZodTypeDef, unknown> = z
1391
1395
  .union([
1392
1396
  z.lazy(() => Parts4$inboundSchema),
1393
1397
  z.lazy(() => Parts1$inboundSchema),
1398
+ z.lazy(() => Parts2$inboundSchema),
1394
1399
  z.lazy(() => Parts3$inboundSchema),
1395
1400
  z.lazy(() => Five$inboundSchema),
1396
- z.lazy(() => Parts2$inboundSchema),
1397
1401
  ]);
1398
1402
 
1399
1403
  /** @internal */
1400
1404
  export type Parts$Outbound =
1401
1405
  | Parts4$Outbound
1402
1406
  | Parts1$Outbound
1407
+ | Parts2$Outbound
1403
1408
  | Parts3$Outbound
1404
- | Five$Outbound
1405
- | Parts2$Outbound;
1409
+ | Five$Outbound;
1406
1410
 
1407
1411
  /** @internal */
1408
1412
  export const Parts$outboundSchema: z.ZodType<
@@ -1412,9 +1416,9 @@ export const Parts$outboundSchema: z.ZodType<
1412
1416
  > = z.union([
1413
1417
  z.lazy(() => Parts4$outboundSchema),
1414
1418
  z.lazy(() => Parts1$outboundSchema),
1419
+ z.lazy(() => Parts2$outboundSchema),
1415
1420
  z.lazy(() => Parts3$outboundSchema),
1416
1421
  z.lazy(() => Five$outboundSchema),
1417
- z.lazy(() => Parts2$outboundSchema),
1418
1422
  ]);
1419
1423
 
1420
1424
  /**
@@ -1453,9 +1457,9 @@ export const Message$inboundSchema: z.ZodType<Message, z.ZodTypeDef, unknown> =
1453
1457
  z.union([
1454
1458
  z.lazy(() => Parts4$inboundSchema),
1455
1459
  z.lazy(() => Parts1$inboundSchema),
1460
+ z.lazy(() => Parts2$inboundSchema),
1456
1461
  z.lazy(() => Parts3$inboundSchema),
1457
1462
  z.lazy(() => Five$inboundSchema),
1458
- z.lazy(() => Parts2$inboundSchema),
1459
1463
  ]),
1460
1464
  ),
1461
1465
  metadata: z.record(z.any()).optional(),
@@ -1468,9 +1472,9 @@ export type Message$Outbound = {
1468
1472
  parts: Array<
1469
1473
  | Parts4$Outbound
1470
1474
  | Parts1$Outbound
1475
+ | Parts2$Outbound
1471
1476
  | Parts3$Outbound
1472
1477
  | Five$Outbound
1473
- | Parts2$Outbound
1474
1478
  >;
1475
1479
  metadata?: { [k: string]: any } | undefined;
1476
1480
  };
@@ -1487,9 +1491,9 @@ export const Message$outboundSchema: z.ZodType<
1487
1491
  z.union([
1488
1492
  z.lazy(() => Parts4$outboundSchema),
1489
1493
  z.lazy(() => Parts1$outboundSchema),
1494
+ z.lazy(() => Parts2$outboundSchema),
1490
1495
  z.lazy(() => Parts3$outboundSchema),
1491
1496
  z.lazy(() => Five$outboundSchema),
1492
- z.lazy(() => Parts2$outboundSchema),
1493
1497
  ]),
1494
1498
  ),
1495
1499
  metadata: z.record(z.any()).optional(),
@@ -2486,8 +2490,8 @@ export function httpFromJSON(
2486
2490
  /** @internal */
2487
2491
  export const Twelve$inboundSchema: z.ZodType<Twelve, z.ZodTypeDef, unknown> = z
2488
2492
  .object({
2489
- _id: z.string().default("01K5RWRYMC1SRKM5MT11ATVJHN"),
2490
- path: z.string(),
2493
+ _id: z.string().default("01K5X16BV17ZPH27JT1JZGNS5R"),
2494
+ path: z.string().optional(),
2491
2495
  key: z.string(),
2492
2496
  display_name: z.string(),
2493
2497
  description: z.string(),
@@ -2508,7 +2512,7 @@ export const Twelve$inboundSchema: z.ZodType<Twelve, z.ZodTypeDef, unknown> = z
2508
2512
  /** @internal */
2509
2513
  export type Twelve$Outbound = {
2510
2514
  _id: string;
2511
- path: string;
2515
+ path?: string | undefined;
2512
2516
  key: string;
2513
2517
  display_name: string;
2514
2518
  description: string;
@@ -2525,8 +2529,8 @@ export const Twelve$outboundSchema: z.ZodType<
2525
2529
  z.ZodTypeDef,
2526
2530
  Twelve
2527
2531
  > = z.object({
2528
- id: z.string().default("01K5RWRYMC1SRKM5MT11ATVJHN"),
2529
- path: z.string(),
2532
+ id: z.string().default("01K5X16BV17ZPH27JT1JZGNS5R"),
2533
+ path: z.string().optional(),
2530
2534
  key: z.string(),
2531
2535
  displayName: z.string(),
2532
2536
  description: z.string(),
@@ -3688,6 +3692,7 @@ export const RunAgentRequestBody$inboundSchema: z.ZodType<
3688
3692
  .optional(),
3689
3693
  team_of_agents: z.array(z.lazy(() => TeamOfAgents$inboundSchema)).optional(),
3690
3694
  settings: z.lazy(() => Settings$inboundSchema),
3695
+ metadata: z.record(z.any()).optional(),
3691
3696
  }).transform((v) => {
3692
3697
  return remap$(v, {
3693
3698
  "fallback_models": "fallbackModels",
@@ -3718,6 +3723,7 @@ export type RunAgentRequestBody$Outbound = {
3718
3723
  knowledge_bases?: Array<KnowledgeBases$Outbound> | undefined;
3719
3724
  team_of_agents?: Array<TeamOfAgents$Outbound> | undefined;
3720
3725
  settings: Settings$Outbound;
3726
+ metadata?: { [k: string]: any } | undefined;
3721
3727
  };
3722
3728
 
3723
3729
  /** @internal */
@@ -3745,6 +3751,7 @@ export const RunAgentRequestBody$outboundSchema: z.ZodType<
3745
3751
  .optional(),
3746
3752
  teamOfAgents: z.array(z.lazy(() => TeamOfAgents$outboundSchema)).optional(),
3747
3753
  settings: z.lazy(() => Settings$outboundSchema),
3754
+ metadata: z.record(z.any()).optional(),
3748
3755
  }).transform((v) => {
3749
3756
  return remap$(v, {
3750
3757
  fallbackModels: "fallback_models",
@@ -338,7 +338,7 @@ export type SearchOptions = {
338
338
  */
339
339
  export type SearchKnowledgeRerankConfig = {
340
340
  /**
341
- * The name of the rerank model to use
341
+ * The name of the rerank model to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/rerank-models).
342
342
  */
343
343
  model: string;
344
344
  /**
@@ -356,7 +356,7 @@ export type SearchKnowledgeRerankConfig = {
356
356
  */
357
357
  export type SearchKnowledgeAgenticRagConfig = {
358
358
  /**
359
- * The name of the model for the Agent to use. This model must support function calling.
359
+ * The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/chat-models).
360
360
  */
361
361
  model: string;
362
362
  };