@orq-ai/node 4.0.0-rc.41 → 4.0.0-rc.43

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 (128) hide show
  1. package/bin/mcp-server.js +305 -281
  2. package/bin/mcp-server.js.map +47 -47
  3. package/docs/sdks/agents/README.md +2 -0
  4. package/docs/sdks/knowledge/README.md +0 -2
  5. package/examples/package-lock.json +1 -1
  6. package/jsr.json +1 -1
  7. package/lib/config.d.ts +2 -2
  8. package/lib/config.js +2 -2
  9. package/mcp-server/mcp-server.js +1 -1
  10. package/mcp-server/server.js +1 -1
  11. package/models/operations/createagent.d.ts +15 -8
  12. package/models/operations/createagent.d.ts.map +1 -1
  13. package/models/operations/createagent.js +16 -8
  14. package/models/operations/createagent.js.map +1 -1
  15. package/models/operations/createbudget.js +2 -2
  16. package/models/operations/createcontact.js +2 -2
  17. package/models/operations/createdataset.js +2 -2
  18. package/models/operations/createdatasetitem.js +8 -8
  19. package/models/operations/createdatasource.js +2 -2
  20. package/models/operations/createeval.js +28 -28
  21. package/models/operations/createknowledge.d.ts +1 -3
  22. package/models/operations/createknowledge.d.ts.map +1 -1
  23. package/models/operations/createknowledge.js +0 -4
  24. package/models/operations/createknowledge.js.map +1 -1
  25. package/models/operations/createprompt.d.ts +2 -2
  26. package/models/operations/createprompt.d.ts.map +1 -1
  27. package/models/operations/createprompt.js +2 -2
  28. package/models/operations/createprompt.js.map +1 -1
  29. package/models/operations/createtool.js +12 -12
  30. package/models/operations/duplicateagent.d.ts +6 -4
  31. package/models/operations/duplicateagent.d.ts.map +1 -1
  32. package/models/operations/duplicateagent.js +8 -4
  33. package/models/operations/duplicateagent.js.map +1 -1
  34. package/models/operations/duplicatetool.js +12 -12
  35. package/models/operations/fileget.js +2 -2
  36. package/models/operations/filelist.js +2 -2
  37. package/models/operations/fileupload.js +2 -2
  38. package/models/operations/getagent.d.ts +6 -4
  39. package/models/operations/getagent.d.ts.map +1 -1
  40. package/models/operations/getagent.js +8 -4
  41. package/models/operations/getagent.js.map +1 -1
  42. package/models/operations/getalltools.js +12 -12
  43. package/models/operations/getbudget.js +2 -2
  44. package/models/operations/getevals.js +28 -28
  45. package/models/operations/listagents.d.ts +6 -4
  46. package/models/operations/listagents.d.ts.map +1 -1
  47. package/models/operations/listagents.js +8 -4
  48. package/models/operations/listagents.js.map +1 -1
  49. package/models/operations/listbudgets.js +2 -2
  50. package/models/operations/listcontacts.js +2 -2
  51. package/models/operations/listdatasetdatapoints.js +8 -8
  52. package/models/operations/listdatasets.js +2 -2
  53. package/models/operations/listdatasources.js +2 -2
  54. package/models/operations/retrievecontact.js +2 -2
  55. package/models/operations/retrievedatapoint.js +8 -8
  56. package/models/operations/retrievedataset.js +2 -2
  57. package/models/operations/retrievedatasource.js +2 -2
  58. package/models/operations/retrievetool.js +12 -12
  59. package/models/operations/runagent.d.ts +4 -4
  60. package/models/operations/runagent.d.ts.map +1 -1
  61. package/models/operations/runagent.js +6 -6
  62. package/models/operations/runagent.js.map +1 -1
  63. package/models/operations/streamrunagent.d.ts +4 -4
  64. package/models/operations/streamrunagent.d.ts.map +1 -1
  65. package/models/operations/streamrunagent.js +6 -6
  66. package/models/operations/streamrunagent.js.map +1 -1
  67. package/models/operations/syncmcptool.js +12 -12
  68. package/models/operations/updateagent.d.ts +12 -8
  69. package/models/operations/updateagent.d.ts.map +1 -1
  70. package/models/operations/updateagent.js +16 -8
  71. package/models/operations/updateagent.js.map +1 -1
  72. package/models/operations/updatebudget.js +2 -2
  73. package/models/operations/updatecontact.js +2 -2
  74. package/models/operations/updatedatapoint.js +8 -8
  75. package/models/operations/updatedataset.js +2 -2
  76. package/models/operations/updatedatasource.js +2 -2
  77. package/models/operations/updateeval.js +28 -28
  78. package/models/operations/updateprompt.d.ts +2 -2
  79. package/models/operations/updateprompt.d.ts.map +1 -1
  80. package/models/operations/updateprompt.js +2 -2
  81. package/models/operations/updateprompt.js.map +1 -1
  82. package/models/operations/updatetool.js +14 -14
  83. package/package.json +1 -1
  84. package/src/lib/config.ts +2 -2
  85. package/src/mcp-server/mcp-server.ts +1 -1
  86. package/src/mcp-server/server.ts +1 -1
  87. package/src/models/operations/createagent.ts +31 -16
  88. package/src/models/operations/createbudget.ts +2 -2
  89. package/src/models/operations/createcontact.ts +2 -2
  90. package/src/models/operations/createdataset.ts +2 -2
  91. package/src/models/operations/createdatasetitem.ts +8 -8
  92. package/src/models/operations/createdatasource.ts +2 -2
  93. package/src/models/operations/createeval.ts +28 -28
  94. package/src/models/operations/createknowledge.ts +1 -7
  95. package/src/models/operations/createprompt.ts +4 -4
  96. package/src/models/operations/createtool.ts +12 -12
  97. package/src/models/operations/duplicateagent.ts +14 -8
  98. package/src/models/operations/duplicatetool.ts +12 -12
  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/getagent.ts +14 -8
  103. package/src/models/operations/getalltools.ts +12 -12
  104. package/src/models/operations/getbudget.ts +2 -2
  105. package/src/models/operations/getevals.ts +28 -28
  106. package/src/models/operations/listagents.ts +14 -8
  107. package/src/models/operations/listbudgets.ts +2 -2
  108. package/src/models/operations/listcontacts.ts +2 -2
  109. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  110. package/src/models/operations/listdatasets.ts +2 -2
  111. package/src/models/operations/listdatasources.ts +2 -2
  112. package/src/models/operations/retrievecontact.ts +2 -2
  113. package/src/models/operations/retrievedatapoint.ts +8 -8
  114. package/src/models/operations/retrievedataset.ts +2 -2
  115. package/src/models/operations/retrievedatasource.ts +2 -2
  116. package/src/models/operations/retrievetool.ts +12 -12
  117. package/src/models/operations/runagent.ts +10 -10
  118. package/src/models/operations/streamrunagent.ts +10 -10
  119. package/src/models/operations/syncmcptool.ts +12 -12
  120. package/src/models/operations/updateagent.ts +28 -16
  121. package/src/models/operations/updatebudget.ts +2 -2
  122. package/src/models/operations/updatecontact.ts +2 -2
  123. package/src/models/operations/updatedatapoint.ts +8 -8
  124. package/src/models/operations/updatedataset.ts +2 -2
  125. package/src/models/operations/updatedatasource.ts +2 -2
  126. package/src/models/operations/updateeval.ts +28 -28
  127. package/src/models/operations/updateprompt.ts +4 -4
  128. package/src/models/operations/updatetool.ts +14 -14
@@ -79,7 +79,7 @@ export type ResponseFormatJsonSchema = {
79
79
  /**
80
80
  * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
81
81
  */
82
- strict?: boolean | undefined;
82
+ strict?: boolean | null | undefined;
83
83
  };
84
84
 
85
85
  /**
@@ -413,7 +413,7 @@ export type CreateAgentResponseFormatAgentsJsonSchema = {
413
413
  /**
414
414
  * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
415
415
  */
416
- strict?: boolean | undefined;
416
+ strict?: boolean | null | undefined;
417
417
  };
418
418
 
419
419
  /**
@@ -1189,6 +1189,10 @@ export type CreateAgentRequestBody = {
1189
1189
  * Unique identifier for the agent within the workspace
1190
1190
  */
1191
1191
  key: string;
1192
+ /**
1193
+ * agent display name within the workspace
1194
+ */
1195
+ displayName: string;
1192
1196
  /**
1193
1197
  * The role or function of the agent
1194
1198
  */
@@ -1458,7 +1462,7 @@ export type CreateAgentResponseFormatAgentsResponseJsonSchema = {
1458
1462
  /**
1459
1463
  * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
1460
1464
  */
1461
- strict?: boolean | undefined;
1465
+ strict?: boolean | null | undefined;
1462
1466
  };
1463
1467
 
1464
1468
  /**
@@ -1786,7 +1790,7 @@ export type CreateAgentResponseFormatAgentsResponse201ApplicationJSONJSONSchema
1786
1790
  /**
1787
1791
  * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
1788
1792
  */
1789
- strict?: boolean | undefined;
1793
+ strict?: boolean | null | undefined;
1790
1794
  };
1791
1795
 
1792
1796
  /**
@@ -2119,6 +2123,7 @@ export type CreateAgentKnowledgeBases = {
2119
2123
  export type CreateAgentResponseBody = {
2120
2124
  id: string;
2121
2125
  key: string;
2126
+ displayName: string;
2122
2127
  projectId: string;
2123
2128
  createdById?: string | null | undefined;
2124
2129
  updatedById?: string | null | undefined;
@@ -2241,14 +2246,14 @@ export const ResponseFormatJsonSchema$inboundSchema: z.ZodType<
2241
2246
  description: z.string().optional(),
2242
2247
  name: z.string(),
2243
2248
  schema: z.any().optional(),
2244
- strict: z.boolean().optional(),
2249
+ strict: z.nullable(z.boolean()).optional(),
2245
2250
  });
2246
2251
  /** @internal */
2247
2252
  export type ResponseFormatJsonSchema$Outbound = {
2248
2253
  description?: string | undefined;
2249
2254
  name: string;
2250
2255
  schema?: any | undefined;
2251
- strict?: boolean | undefined;
2256
+ strict?: boolean | null | undefined;
2252
2257
  };
2253
2258
 
2254
2259
  /** @internal */
@@ -2260,7 +2265,7 @@ export const ResponseFormatJsonSchema$outboundSchema: z.ZodType<
2260
2265
  description: z.string().optional(),
2261
2266
  name: z.string(),
2262
2267
  schema: z.any().optional(),
2263
- strict: z.boolean().optional(),
2268
+ strict: z.nullable(z.boolean()).optional(),
2264
2269
  });
2265
2270
 
2266
2271
  export function responseFormatJsonSchemaToJSON(
@@ -3057,14 +3062,14 @@ export const CreateAgentResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<
3057
3062
  description: z.string().optional(),
3058
3063
  name: z.string(),
3059
3064
  schema: z.any().optional(),
3060
- strict: z.boolean().optional(),
3065
+ strict: z.nullable(z.boolean()).optional(),
3061
3066
  });
3062
3067
  /** @internal */
3063
3068
  export type CreateAgentResponseFormatAgentsJsonSchema$Outbound = {
3064
3069
  description?: string | undefined;
3065
3070
  name: string;
3066
3071
  schema?: any | undefined;
3067
- strict?: boolean | undefined;
3072
+ strict?: boolean | null | undefined;
3068
3073
  };
3069
3074
 
3070
3075
  /** @internal */
@@ -3077,7 +3082,7 @@ export const CreateAgentResponseFormatAgentsJsonSchema$outboundSchema:
3077
3082
  description: z.string().optional(),
3078
3083
  name: z.string(),
3079
3084
  schema: z.any().optional(),
3080
- strict: z.boolean().optional(),
3085
+ strict: z.nullable(z.boolean()).optional(),
3081
3086
  });
3082
3087
 
3083
3088
  export function createAgentResponseFormatAgentsJsonSchemaToJSON(
@@ -5253,6 +5258,7 @@ export const CreateAgentRequestBody$inboundSchema: z.ZodType<
5253
5258
  unknown
5254
5259
  > = z.object({
5255
5260
  key: z.string(),
5261
+ display_name: z.string(),
5256
5262
  role: z.string(),
5257
5263
  description: z.string(),
5258
5264
  instructions: z.string(),
@@ -5273,6 +5279,7 @@ export const CreateAgentRequestBody$inboundSchema: z.ZodType<
5273
5279
  variables: z.record(z.any()).optional(),
5274
5280
  }).transform((v) => {
5275
5281
  return remap$(v, {
5282
+ "display_name": "displayName",
5276
5283
  "system_prompt": "systemPrompt",
5277
5284
  "fallback_models": "fallbackModels",
5278
5285
  "memory_stores": "memoryStores",
@@ -5283,6 +5290,7 @@ export const CreateAgentRequestBody$inboundSchema: z.ZodType<
5283
5290
  /** @internal */
5284
5291
  export type CreateAgentRequestBody$Outbound = {
5285
5292
  key: string;
5293
+ display_name: string;
5286
5294
  role: string;
5287
5295
  description: string;
5288
5296
  instructions: string;
@@ -5306,6 +5314,7 @@ export const CreateAgentRequestBody$outboundSchema: z.ZodType<
5306
5314
  CreateAgentRequestBody
5307
5315
  > = z.object({
5308
5316
  key: z.string(),
5317
+ displayName: z.string(),
5309
5318
  role: z.string(),
5310
5319
  description: z.string(),
5311
5320
  instructions: z.string(),
@@ -5329,6 +5338,7 @@ export const CreateAgentRequestBody$outboundSchema: z.ZodType<
5329
5338
  variables: z.record(z.any()).optional(),
5330
5339
  }).transform((v) => {
5331
5340
  return remap$(v, {
5341
+ displayName: "display_name",
5332
5342
  systemPrompt: "system_prompt",
5333
5343
  fallbackModels: "fallback_models",
5334
5344
  memoryStores: "memory_stores",
@@ -5771,14 +5781,14 @@ export const CreateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema:
5771
5781
  description: z.string().optional(),
5772
5782
  name: z.string(),
5773
5783
  schema: z.any().optional(),
5774
- strict: z.boolean().optional(),
5784
+ strict: z.nullable(z.boolean()).optional(),
5775
5785
  });
5776
5786
  /** @internal */
5777
5787
  export type CreateAgentResponseFormatAgentsResponseJsonSchema$Outbound = {
5778
5788
  description?: string | undefined;
5779
5789
  name: string;
5780
5790
  schema?: any | undefined;
5781
- strict?: boolean | undefined;
5791
+ strict?: boolean | null | undefined;
5782
5792
  };
5783
5793
 
5784
5794
  /** @internal */
@@ -5791,7 +5801,7 @@ export const CreateAgentResponseFormatAgentsResponseJsonSchema$outboundSchema:
5791
5801
  description: z.string().optional(),
5792
5802
  name: z.string(),
5793
5803
  schema: z.any().optional(),
5794
- strict: z.boolean().optional(),
5804
+ strict: z.nullable(z.boolean()).optional(),
5795
5805
  });
5796
5806
 
5797
5807
  export function createAgentResponseFormatAgentsResponseJsonSchemaToJSON(
@@ -6626,7 +6636,7 @@ export const CreateAgentResponseFormatAgentsResponse201ApplicationJSONJSONSchema
6626
6636
  description: z.string().optional(),
6627
6637
  name: z.string(),
6628
6638
  schema: z.any().optional(),
6629
- strict: z.boolean().optional(),
6639
+ strict: z.nullable(z.boolean()).optional(),
6630
6640
  });
6631
6641
  /** @internal */
6632
6642
  export type CreateAgentResponseFormatAgentsResponse201ApplicationJSONJSONSchema$Outbound =
@@ -6634,7 +6644,7 @@ export type CreateAgentResponseFormatAgentsResponse201ApplicationJSONJSONSchema$
6634
6644
  description?: string | undefined;
6635
6645
  name: string;
6636
6646
  schema?: any | undefined;
6637
- strict?: boolean | undefined;
6647
+ strict?: boolean | null | undefined;
6638
6648
  };
6639
6649
 
6640
6650
  /** @internal */
@@ -6647,7 +6657,7 @@ export const CreateAgentResponseFormatAgentsResponse201ApplicationJSONJSONSchema
6647
6657
  description: z.string().optional(),
6648
6658
  name: z.string(),
6649
6659
  schema: z.any().optional(),
6650
- strict: z.boolean().optional(),
6660
+ strict: z.nullable(z.boolean()).optional(),
6651
6661
  });
6652
6662
 
6653
6663
  export function createAgentResponseFormatAgentsResponse201ApplicationJSONJSONSchemaToJSON(
@@ -7777,6 +7787,7 @@ export const CreateAgentResponseBody$inboundSchema: z.ZodType<
7777
7787
  > = z.object({
7778
7788
  _id: z.string(),
7779
7789
  key: z.string(),
7790
+ display_name: z.string(),
7780
7791
  project_id: z.string(),
7781
7792
  created_by_id: z.nullable(z.string()).optional(),
7782
7793
  updated_by_id: z.nullable(z.string()).optional(),
@@ -7801,6 +7812,7 @@ export const CreateAgentResponseBody$inboundSchema: z.ZodType<
7801
7812
  }).transform((v) => {
7802
7813
  return remap$(v, {
7803
7814
  "_id": "id",
7815
+ "display_name": "displayName",
7804
7816
  "project_id": "projectId",
7805
7817
  "created_by_id": "createdById",
7806
7818
  "updated_by_id": "updatedById",
@@ -7815,6 +7827,7 @@ export const CreateAgentResponseBody$inboundSchema: z.ZodType<
7815
7827
  export type CreateAgentResponseBody$Outbound = {
7816
7828
  _id: string;
7817
7829
  key: string;
7830
+ display_name: string;
7818
7831
  project_id: string;
7819
7832
  created_by_id?: string | null | undefined;
7820
7833
  updated_by_id?: string | null | undefined;
@@ -7844,6 +7857,7 @@ export const CreateAgentResponseBody$outboundSchema: z.ZodType<
7844
7857
  > = z.object({
7845
7858
  id: z.string(),
7846
7859
  key: z.string(),
7860
+ displayName: z.string(),
7847
7861
  projectId: z.string(),
7848
7862
  createdById: z.nullable(z.string()).optional(),
7849
7863
  updatedById: z.nullable(z.string()).optional(),
@@ -7868,6 +7882,7 @@ export const CreateAgentResponseBody$outboundSchema: z.ZodType<
7868
7882
  }).transform((v) => {
7869
7883
  return remap$(v, {
7870
7884
  id: "_id",
7885
+ displayName: "display_name",
7871
7886
  projectId: "project_id",
7872
7887
  createdById: "created_by_id",
7873
7888
  updatedById: "updated_by_id",
@@ -516,7 +516,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
516
516
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
517
517
  .optional(),
518
518
  updated: z.string().datetime({ offset: true }).default(
519
- "2025-11-17T17:33:31.486Z",
519
+ "2025-11-18T08:38:01.308Z",
520
520
  ).transform(v => new Date(v)),
521
521
  }).transform((v) => {
522
522
  return remap$(v, {
@@ -553,7 +553,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
553
553
  isActive: z.boolean(),
554
554
  consumption: z.lazy(() => Consumption$outboundSchema).optional(),
555
555
  created: z.date().transform(v => v.toISOString()).optional(),
556
- updated: z.date().default(() => new Date("2025-11-17T17:33:31.486Z"))
556
+ updated: z.date().default(() => new Date("2025-11-18T08:38:01.308Z"))
557
557
  .transform(v => v.toISOString()),
558
558
  }).transform((v) => {
559
559
  return remap$(v, {
@@ -167,7 +167,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
167
167
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
168
168
  .optional(),
169
169
  updated: z.string().datetime({ offset: true }).default(
170
- "2025-11-17T17:33:31.093Z",
170
+ "2025-11-18T08:38:00.991Z",
171
171
  ).transform(v => new Date(v)),
172
172
  }).transform((v) => {
173
173
  return remap$(v, {
@@ -207,7 +207,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
207
207
  tags: z.array(z.string()).optional(),
208
208
  metadata: z.record(z.any()).optional(),
209
209
  created: z.date().transform(v => v.toISOString()).optional(),
210
- updated: z.date().default(() => new Date("2025-11-17T17:33:31.093Z"))
210
+ updated: z.date().default(() => new Date("2025-11-18T08:38:00.991Z"))
211
211
  .transform(v => v.toISOString()),
212
212
  }).transform((v) => {
213
213
  return remap$(v, {
@@ -187,7 +187,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
187
187
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
188
188
  .optional(),
189
189
  updated: z.string().datetime({ offset: true }).default(
190
- "2025-11-17T17:33:31.093Z",
190
+ "2025-11-18T08:38:00.991Z",
191
191
  ).transform(v => new Date(v)),
192
192
  }).transform((v) => {
193
193
  return remap$(v, {
@@ -226,7 +226,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
226
226
  createdById: z.string().optional(),
227
227
  updatedById: z.string().optional(),
228
228
  created: z.date().transform(v => v.toISOString()).optional(),
229
- updated: z.date().default(() => new Date("2025-11-17T17:33:31.093Z"))
229
+ updated: z.date().default(() => new Date("2025-11-18T08:38:00.991Z"))
230
230
  .transform(v => v.toISOString()),
231
231
  }).transform((v) => {
232
232
  return remap$(v, {
@@ -4929,7 +4929,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
4929
4929
  source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
4930
4930
  reviewed_by_id: z.string(),
4931
4931
  reviewed_at: z.string().datetime({ offset: true }).default(
4932
- "2025-11-17T17:33:44.528Z",
4932
+ "2025-11-18T08:38:11.466Z",
4933
4933
  ).transform(v => new Date(v)),
4934
4934
  type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
4935
4935
  values: z.array(z.string()),
@@ -4964,7 +4964,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
4964
4964
  humanReviewId: z.string(),
4965
4965
  source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
4966
4966
  reviewedById: z.string(),
4967
- reviewedAt: z.date().default(() => new Date("2025-11-17T17:33:44.528Z"))
4967
+ reviewedAt: z.date().default(() => new Date("2025-11-18T08:38:11.466Z"))
4968
4968
  .transform(v => v.toISOString()),
4969
4969
  type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
4970
4970
  values: z.array(z.string()),
@@ -5029,7 +5029,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
5029
5029
  source: EvaluationsSource$inboundSchema.default("orq"),
5030
5030
  reviewed_by_id: z.string(),
5031
5031
  reviewed_at: z.string().datetime({ offset: true }).default(
5032
- "2025-11-17T17:33:44.527Z",
5032
+ "2025-11-18T08:38:11.465Z",
5033
5033
  ).transform(v => new Date(v)),
5034
5034
  type: CreateDatasetItemEvaluationsType$inboundSchema,
5035
5035
  value: z.number(),
@@ -5064,7 +5064,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
5064
5064
  humanReviewId: z.string(),
5065
5065
  source: EvaluationsSource$outboundSchema.default("orq"),
5066
5066
  reviewedById: z.string(),
5067
- reviewedAt: z.date().default(() => new Date("2025-11-17T17:33:44.527Z"))
5067
+ reviewedAt: z.date().default(() => new Date("2025-11-18T08:38:11.465Z"))
5068
5068
  .transform(v => v.toISOString()),
5069
5069
  type: CreateDatasetItemEvaluationsType$outboundSchema,
5070
5070
  value: z.number(),
@@ -5127,7 +5127,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
5127
5127
  source: Source$inboundSchema.default("orq"),
5128
5128
  reviewed_by_id: z.string(),
5129
5129
  reviewed_at: z.string().datetime({ offset: true }).default(
5130
- "2025-11-17T17:33:44.527Z",
5130
+ "2025-11-18T08:38:11.465Z",
5131
5131
  ).transform(v => new Date(v)),
5132
5132
  type: EvaluationsType$inboundSchema,
5133
5133
  value: z.string(),
@@ -5162,7 +5162,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
5162
5162
  humanReviewId: z.string(),
5163
5163
  source: Source$outboundSchema.default("orq"),
5164
5164
  reviewedById: z.string(),
5165
- reviewedAt: z.date().default(() => new Date("2025-11-17T17:33:44.527Z"))
5165
+ reviewedAt: z.date().default(() => new Date("2025-11-18T08:38:11.465Z"))
5166
5166
  .transform(v => v.toISOString()),
5167
5167
  type: EvaluationsType$outboundSchema,
5168
5168
  value: z.string(),
@@ -5267,7 +5267,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
5267
5267
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
5268
5268
  .optional(),
5269
5269
  updated: z.string().datetime({ offset: true }).default(
5270
- "2025-11-17T17:33:31.093Z",
5270
+ "2025-11-18T08:38:00.991Z",
5271
5271
  ).transform(v => new Date(v)),
5272
5272
  }).transform((v) => {
5273
5273
  return remap$(v, {
@@ -5345,7 +5345,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
5345
5345
  createdById: z.string().optional(),
5346
5346
  updatedById: z.string().optional(),
5347
5347
  created: z.date().transform(v => v.toISOString()).optional(),
5348
- updated: z.date().default(() => new Date("2025-11-17T17:33:31.093Z"))
5348
+ updated: z.date().default(() => new Date("2025-11-18T08:38:00.991Z"))
5349
5349
  .transform(v => v.toISOString()),
5350
5350
  }).transform((v) => {
5351
5351
  return remap$(v, {
@@ -608,7 +608,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
608
608
  z.ZodTypeDef,
609
609
  unknown
610
610
  > = z.object({
611
- _id: z.string().default("01KA9E2DKB6DNVV470PDD1Z5S8"),
611
+ _id: z.string().default("01KAB1TGN47491SVA9STS1GEM4"),
612
612
  display_name: z.string(),
613
613
  description: z.string().optional(),
614
614
  status: CreateDatasourceStatus$inboundSchema,
@@ -651,7 +651,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
651
651
  z.ZodTypeDef,
652
652
  CreateDatasourceResponseBody
653
653
  > = z.object({
654
- id: z.string().default("01KA9E2DKB6DNVV470PDD1Z5S8"),
654
+ id: z.string().default("01KAB1TGN47491SVA9STS1GEM4"),
655
655
  displayName: z.string(),
656
656
  description: z.string().optional(),
657
657
  status: CreateDatasourceStatus$outboundSchema,
@@ -2756,8 +2756,8 @@ export const Typescript$inboundSchema: z.ZodType<
2756
2756
  > = z.object({
2757
2757
  _id: z.string(),
2758
2758
  description: z.string(),
2759
- created: z.string().default("2025-11-17T17:33:33.117Z"),
2760
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
2759
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
2760
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
2761
2761
  guardrail_config: z.union([
2762
2762
  z.lazy(() =>
2763
2763
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
@@ -2799,8 +2799,8 @@ export const Typescript$outboundSchema: z.ZodType<
2799
2799
  > = z.object({
2800
2800
  id: z.string(),
2801
2801
  description: z.string(),
2802
- created: z.string().default("2025-11-17T17:33:33.117Z"),
2803
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
2802
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
2803
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
2804
2804
  guardrailConfig: z.union([
2805
2805
  z.lazy(() =>
2806
2806
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
@@ -3081,8 +3081,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
3081
3081
  .object({
3082
3082
  _id: z.string(),
3083
3083
  description: z.string(),
3084
- created: z.string().default("2025-11-17T17:33:33.117Z"),
3085
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
3084
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
3085
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
3086
3086
  guardrail_config: z.union([
3087
3087
  z.lazy(() =>
3088
3088
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
@@ -3127,8 +3127,8 @@ export const Ragas$outboundSchema: z.ZodType<
3127
3127
  > = z.object({
3128
3128
  id: z.string(),
3129
3129
  description: z.string(),
3130
- created: z.string().default("2025-11-17T17:33:33.117Z"),
3131
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
3130
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
3131
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
3132
3132
  guardrailConfig: z.union([
3133
3133
  z.lazy(() =>
3134
3134
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
@@ -5416,8 +5416,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
5416
5416
  > = z.object({
5417
5417
  _id: z.string(),
5418
5418
  description: z.string(),
5419
- created: z.string().default("2025-11-17T17:33:33.117Z"),
5420
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
5419
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
5420
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
5421
5421
  guardrail_config: z.union([
5422
5422
  z.lazy(() =>
5423
5423
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
@@ -5530,8 +5530,8 @@ export const CreateEvalResponseBodyFunction$outboundSchema: z.ZodType<
5530
5530
  > = z.object({
5531
5531
  id: z.string(),
5532
5532
  description: z.string(),
5533
- created: z.string().default("2025-11-17T17:33:33.117Z"),
5534
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
5533
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
5534
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
5535
5535
  guardrailConfig: z.union([
5536
5536
  z.lazy(() =>
5537
5537
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
@@ -5848,8 +5848,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
5848
5848
  > = z.object({
5849
5849
  _id: z.string(),
5850
5850
  description: z.string(),
5851
- created: z.string().default("2025-11-17T17:33:33.117Z"),
5852
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
5851
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
5852
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
5853
5853
  guardrail_config: z.union([
5854
5854
  z.lazy(() =>
5855
5855
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -5890,8 +5890,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
5890
5890
  > = z.object({
5891
5891
  id: z.string(),
5892
5892
  description: z.string(),
5893
- created: z.string().default("2025-11-17T17:33:33.117Z"),
5894
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
5893
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
5894
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
5895
5895
  guardrailConfig: z.union([
5896
5896
  z.lazy(() =>
5897
5897
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -6171,8 +6171,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
6171
6171
  > = z.object({
6172
6172
  _id: z.string(),
6173
6173
  description: z.string(),
6174
- created: z.string().default("2025-11-17T17:33:33.117Z"),
6175
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
6174
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
6175
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
6176
6176
  guardrail_config: z.union([
6177
6177
  z.lazy(() =>
6178
6178
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -6219,8 +6219,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
6219
6219
  > = z.object({
6220
6220
  id: z.string(),
6221
6221
  description: z.string(),
6222
- created: z.string().default("2025-11-17T17:33:33.117Z"),
6223
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
6222
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
6223
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
6224
6224
  guardrailConfig: z.union([
6225
6225
  z.lazy(() =>
6226
6226
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -6476,8 +6476,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
6476
6476
  > = z.object({
6477
6477
  _id: z.string(),
6478
6478
  description: z.string(),
6479
- created: z.string().default("2025-11-17T17:33:33.117Z"),
6480
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
6479
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
6480
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
6481
6481
  guardrail_config: z.union([
6482
6482
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
6483
6483
  z.lazy(() =>
@@ -6516,8 +6516,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
6516
6516
  > = z.object({
6517
6517
  id: z.string(),
6518
6518
  description: z.string(),
6519
- created: z.string().default("2025-11-17T17:33:33.117Z"),
6520
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
6519
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
6520
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
6521
6521
  guardrailConfig: z.union([
6522
6522
  z.lazy(() =>
6523
6523
  CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
@@ -6755,8 +6755,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
6755
6755
  > = z.object({
6756
6756
  _id: z.string(),
6757
6757
  description: z.string(),
6758
- created: z.string().default("2025-11-17T17:33:33.117Z"),
6759
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
6758
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
6759
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
6760
6760
  guardrail_config: z.union([
6761
6761
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
6762
6762
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -6795,8 +6795,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
6795
6795
  > = z.object({
6796
6796
  id: z.string(),
6797
6797
  description: z.string(),
6798
- created: z.string().default("2025-11-17T17:33:33.117Z"),
6799
- updated: z.string().default("2025-11-17T17:33:33.117Z"),
6798
+ created: z.string().default("2025-11-18T08:38:02.995Z"),
6799
+ updated: z.string().default("2025-11-18T08:38:02.995Z"),
6800
6800
  guardrailConfig: z.union([
6801
6801
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
6802
6802
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -120,10 +120,9 @@ export type RequestBody1 = {
120
120
  key: string;
121
121
  description?: string | undefined;
122
122
  /**
123
- * The embeddings model to use for the knowledge base. This model will be used to embed the chunks when they are added to the knowledge base.
123
+ * The embeddings model to use for the knowledge base in the format "provider/model" for public models or "workspaceKey@provider/model" for private workspace models. This model will be used to embed the chunks when they are added to the knowledge base.
124
124
  */
125
125
  embeddingModel: string;
126
- isPrivateModel?: boolean | undefined;
127
126
  /**
128
127
  * The retrieval settings for the knowledge base. If not provider, Hybrid Search will be used as a default query strategy.
129
128
  */
@@ -720,13 +719,11 @@ export const RequestBody1$inboundSchema: z.ZodType<
720
719
  key: z.string(),
721
720
  description: z.string().optional(),
722
721
  embedding_model: z.string(),
723
- is_private_model: z.boolean().default(false),
724
722
  retrieval_settings: z.lazy(() => RetrievalSettings$inboundSchema).optional(),
725
723
  path: z.string(),
726
724
  }).transform((v) => {
727
725
  return remap$(v, {
728
726
  "embedding_model": "embeddingModel",
729
- "is_private_model": "isPrivateModel",
730
727
  "retrieval_settings": "retrievalSettings",
731
728
  });
732
729
  });
@@ -736,7 +733,6 @@ export type RequestBody1$Outbound = {
736
733
  key: string;
737
734
  description?: string | undefined;
738
735
  embedding_model: string;
739
- is_private_model: boolean;
740
736
  retrieval_settings?: RetrievalSettings$Outbound | undefined;
741
737
  path: string;
742
738
  };
@@ -751,13 +747,11 @@ export const RequestBody1$outboundSchema: z.ZodType<
751
747
  key: z.string(),
752
748
  description: z.string().optional(),
753
749
  embeddingModel: z.string(),
754
- isPrivateModel: z.boolean().default(false),
755
750
  retrievalSettings: z.lazy(() => RetrievalSettings$outboundSchema).optional(),
756
751
  path: z.string(),
757
752
  }).transform((v) => {
758
753
  return remap$(v, {
759
754
  embeddingModel: "embedding_model",
760
- isPrivateModel: "is_private_model",
761
755
  retrievalSettings: "retrieval_settings",
762
756
  });
763
757
  });
@@ -955,7 +955,7 @@ export type CreatePromptResponseFormatPromptsRequestJsonSchema = {
955
955
  /**
956
956
  * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
957
957
  */
958
- strict?: boolean | undefined;
958
+ strict?: boolean | null | undefined;
959
959
  };
960
960
 
961
961
  /**
@@ -4350,14 +4350,14 @@ export const CreatePromptResponseFormatPromptsRequestJsonSchema$inboundSchema:
4350
4350
  description: z.string().optional(),
4351
4351
  name: z.string(),
4352
4352
  schema: z.any().optional(),
4353
- strict: z.boolean().optional(),
4353
+ strict: z.nullable(z.boolean()).optional(),
4354
4354
  });
4355
4355
  /** @internal */
4356
4356
  export type CreatePromptResponseFormatPromptsRequestJsonSchema$Outbound = {
4357
4357
  description?: string | undefined;
4358
4358
  name: string;
4359
4359
  schema?: any | undefined;
4360
- strict?: boolean | undefined;
4360
+ strict?: boolean | null | undefined;
4361
4361
  };
4362
4362
 
4363
4363
  /** @internal */
@@ -4370,7 +4370,7 @@ export const CreatePromptResponseFormatPromptsRequestJsonSchema$outboundSchema:
4370
4370
  description: z.string().optional(),
4371
4371
  name: z.string(),
4372
4372
  schema: z.any().optional(),
4373
- strict: z.boolean().optional(),
4373
+ strict: z.nullable(z.boolean()).optional(),
4374
4374
  });
4375
4375
 
4376
4376
  export function createPromptResponseFormatPromptsRequestJsonSchemaToJSON(