@orq-ai/node 3.14.40 → 3.14.42

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 (236) hide show
  1. package/bin/mcp-server.js +696 -1501
  2. package/bin/mcp-server.js.map +55 -55
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createagent.d.ts +80 -0
  10. package/models/operations/createagent.d.ts.map +1 -1
  11. package/models/operations/createagent.js +70 -7
  12. package/models/operations/createagent.js.map +1 -1
  13. package/models/operations/createbudget.js +2 -2
  14. package/models/operations/createcontact.js +2 -2
  15. package/models/operations/createdataset.js +2 -2
  16. package/models/operations/createdatasetitem.js +8 -8
  17. package/models/operations/createdatasource.js +2 -2
  18. package/models/operations/createeval.d.ts +106 -106
  19. package/models/operations/createeval.d.ts.map +1 -1
  20. package/models/operations/createeval.js +242 -234
  21. package/models/operations/createeval.js.map +1 -1
  22. package/models/operations/creatememorystore.d.ts +10 -391
  23. package/models/operations/creatememorystore.d.ts.map +1 -1
  24. package/models/operations/creatememorystore.js +5 -563
  25. package/models/operations/creatememorystore.js.map +1 -1
  26. package/models/operations/createprompt.d.ts +40 -0
  27. package/models/operations/createprompt.d.ts.map +1 -1
  28. package/models/operations/createprompt.js +33 -7
  29. package/models/operations/createprompt.js.map +1 -1
  30. package/models/operations/createtool.js +10 -10
  31. package/models/operations/deploymentgetconfig.d.ts +20 -0
  32. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  33. package/models/operations/deploymentgetconfig.js +22 -8
  34. package/models/operations/deploymentgetconfig.js.map +1 -1
  35. package/models/operations/deployments.d.ts +20 -0
  36. package/models/operations/deployments.d.ts.map +1 -1
  37. package/models/operations/deployments.js +16 -3
  38. package/models/operations/deployments.js.map +1 -1
  39. package/models/operations/duplicatetool.js +10 -10
  40. package/models/operations/fileget.js +2 -2
  41. package/models/operations/filelist.js +2 -2
  42. package/models/operations/fileupload.js +2 -2
  43. package/models/operations/getagent.d.ts +40 -0
  44. package/models/operations/getagent.d.ts.map +1 -1
  45. package/models/operations/getagent.js +33 -3
  46. package/models/operations/getagent.js.map +1 -1
  47. package/models/operations/getallmemorystores.d.ts +5 -195
  48. package/models/operations/getallmemorystores.d.ts.map +1 -1
  49. package/models/operations/getallmemorystores.js +3 -273
  50. package/models/operations/getallmemorystores.js.map +1 -1
  51. package/models/operations/getallprompts.d.ts +20 -0
  52. package/models/operations/getallprompts.d.ts.map +1 -1
  53. package/models/operations/getallprompts.js +16 -3
  54. package/models/operations/getallprompts.js.map +1 -1
  55. package/models/operations/getalltools.js +10 -10
  56. package/models/operations/getbudget.js +2 -2
  57. package/models/operations/getevals.js +28 -28
  58. package/models/operations/getoneprompt.d.ts +20 -0
  59. package/models/operations/getoneprompt.d.ts.map +1 -1
  60. package/models/operations/getoneprompt.js +16 -3
  61. package/models/operations/getoneprompt.js.map +1 -1
  62. package/models/operations/getpromptversion.d.ts +20 -0
  63. package/models/operations/getpromptversion.d.ts.map +1 -1
  64. package/models/operations/getpromptversion.js +16 -2
  65. package/models/operations/getpromptversion.js.map +1 -1
  66. package/models/operations/listagents.d.ts +40 -0
  67. package/models/operations/listagents.d.ts.map +1 -1
  68. package/models/operations/listagents.js +36 -3
  69. package/models/operations/listagents.js.map +1 -1
  70. package/models/operations/listagenttasks.d.ts +40 -0
  71. package/models/operations/listagenttasks.d.ts.map +1 -1
  72. package/models/operations/listagenttasks.js +36 -3
  73. package/models/operations/listagenttasks.js.map +1 -1
  74. package/models/operations/listbudgets.js +2 -2
  75. package/models/operations/listcontacts.js +2 -2
  76. package/models/operations/listdatasetdatapoints.js +8 -8
  77. package/models/operations/listdatasets.js +2 -2
  78. package/models/operations/listdatasources.d.ts +5 -5
  79. package/models/operations/listdatasources.d.ts.map +1 -1
  80. package/models/operations/listdatasources.js +4 -4
  81. package/models/operations/listdatasources.js.map +1 -1
  82. package/models/operations/listpromptversions.d.ts +20 -0
  83. package/models/operations/listpromptversions.d.ts.map +1 -1
  84. package/models/operations/listpromptversions.js +16 -3
  85. package/models/operations/listpromptversions.js.map +1 -1
  86. package/models/operations/retrievecontact.js +2 -2
  87. package/models/operations/retrievedatapoint.js +8 -8
  88. package/models/operations/retrievedataset.js +2 -2
  89. package/models/operations/retrievedatasource.js +2 -2
  90. package/models/operations/retrievememorystore.d.ts +5 -196
  91. package/models/operations/retrievememorystore.d.ts.map +1 -1
  92. package/models/operations/retrievememorystore.js +3 -273
  93. package/models/operations/retrievememorystore.js.map +1 -1
  94. package/models/operations/retrievetool.js +10 -10
  95. package/models/operations/runagent.d.ts +40 -0
  96. package/models/operations/runagent.d.ts.map +1 -1
  97. package/models/operations/runagent.js +36 -6
  98. package/models/operations/runagent.js.map +1 -1
  99. package/models/operations/streamrunagent.d.ts +40 -0
  100. package/models/operations/streamrunagent.d.ts.map +1 -1
  101. package/models/operations/streamrunagent.js +39 -6
  102. package/models/operations/streamrunagent.js.map +1 -1
  103. package/models/operations/updateagent.d.ts +80 -0
  104. package/models/operations/updateagent.d.ts.map +1 -1
  105. package/models/operations/updateagent.js +73 -7
  106. package/models/operations/updateagent.js.map +1 -1
  107. package/models/operations/updatebudget.js +2 -2
  108. package/models/operations/updatecontact.js +2 -2
  109. package/models/operations/updatedatapoint.js +8 -8
  110. package/models/operations/updatedataset.js +2 -2
  111. package/models/operations/updatedatasource.js +2 -2
  112. package/models/operations/updateeval.js +28 -28
  113. package/models/operations/updatememorystore.d.ts +5 -195
  114. package/models/operations/updatememorystore.d.ts.map +1 -1
  115. package/models/operations/updatememorystore.js +3 -290
  116. package/models/operations/updatememorystore.js.map +1 -1
  117. package/models/operations/updateprompt.d.ts +40 -0
  118. package/models/operations/updateprompt.d.ts.map +1 -1
  119. package/models/operations/updateprompt.js +33 -7
  120. package/models/operations/updateprompt.js.map +1 -1
  121. package/models/operations/updatetool.js +10 -10
  122. package/package.json +1 -1
  123. package/packages/orq-rc/docs/sdks/agents/README.md +2 -0
  124. package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -2
  125. package/packages/orq-rc/examples/package-lock.json +1 -1
  126. package/packages/orq-rc/jsr.json +1 -1
  127. package/packages/orq-rc/package-lock.json +2 -2
  128. package/packages/orq-rc/package.json +1 -1
  129. package/packages/orq-rc/src/lib/config.ts +3 -3
  130. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  131. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  132. package/packages/orq-rc/src/models/operations/createagent.ts +204 -62
  133. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  134. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  135. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  136. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
  137. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  138. package/packages/orq-rc/src/models/operations/createeval.ts +423 -524
  139. package/packages/orq-rc/src/models/operations/createknowledge.ts +1 -7
  140. package/packages/orq-rc/src/models/operations/creatememorystore.ts +14 -1094
  141. package/packages/orq-rc/src/models/operations/createprompt.ts +64 -4
  142. package/packages/orq-rc/src/models/operations/createtool.ts +14 -10
  143. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +30 -0
  144. package/packages/orq-rc/src/models/operations/deployments.ts +30 -0
  145. package/packages/orq-rc/src/models/operations/duplicateagent.ts +93 -15
  146. package/packages/orq-rc/src/models/operations/duplicatetool.ts +29 -11
  147. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  148. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  149. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  150. package/packages/orq-rc/src/models/operations/getagent.ts +86 -15
  151. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +7 -595
  152. package/packages/orq-rc/src/models/operations/getallprompts.ts +30 -0
  153. package/packages/orq-rc/src/models/operations/getalltools.ts +14 -10
  154. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  155. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  156. package/packages/orq-rc/src/models/operations/getoneprompt.ts +30 -0
  157. package/packages/orq-rc/src/models/operations/getpromptversion.ts +30 -0
  158. package/packages/orq-rc/src/models/operations/listagents.ts +89 -15
  159. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  160. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  161. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
  162. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  163. package/packages/orq-rc/src/models/operations/listdatasources.ts +9 -9
  164. package/packages/orq-rc/src/models/operations/listpromptversions.ts +30 -0
  165. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  166. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
  167. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  168. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  169. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +7 -596
  170. package/packages/orq-rc/src/models/operations/retrievetool.ts +14 -10
  171. package/packages/orq-rc/src/models/operations/runagent.ts +81 -8
  172. package/packages/orq-rc/src/models/operations/streamrunagent.ts +86 -8
  173. package/packages/orq-rc/src/models/operations/syncmcptool.ts +14 -10
  174. package/packages/orq-rc/src/models/operations/updateagent.ts +176 -23
  175. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  176. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  177. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
  178. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  179. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  180. package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
  181. package/packages/orq-rc/src/models/operations/updatememorystore.ts +7 -527
  182. package/packages/orq-rc/src/models/operations/updateprompt.ts +64 -4
  183. package/packages/orq-rc/src/models/operations/updatetool.ts +25 -10
  184. package/src/lib/config.ts +3 -3
  185. package/src/mcp-server/mcp-server.ts +1 -1
  186. package/src/mcp-server/server.ts +1 -1
  187. package/src/models/operations/createagent.ts +129 -0
  188. package/src/models/operations/createbudget.ts +2 -2
  189. package/src/models/operations/createcontact.ts +2 -2
  190. package/src/models/operations/createdataset.ts +2 -2
  191. package/src/models/operations/createdatasetitem.ts +8 -8
  192. package/src/models/operations/createdatasource.ts +2 -2
  193. package/src/models/operations/createeval.ts +423 -524
  194. package/src/models/operations/creatememorystore.ts +14 -1108
  195. package/src/models/operations/createprompt.ts +60 -0
  196. package/src/models/operations/createtool.ts +10 -10
  197. package/src/models/operations/deploymentgetconfig.ts +30 -0
  198. package/src/models/operations/deployments.ts +30 -0
  199. package/src/models/operations/duplicatetool.ts +10 -10
  200. package/src/models/operations/fileget.ts +2 -2
  201. package/src/models/operations/filelist.ts +2 -2
  202. package/src/models/operations/fileupload.ts +2 -2
  203. package/src/models/operations/getagent.ts +62 -0
  204. package/src/models/operations/getallmemorystores.ts +7 -595
  205. package/src/models/operations/getallprompts.ts +30 -0
  206. package/src/models/operations/getalltools.ts +10 -10
  207. package/src/models/operations/getbudget.ts +2 -2
  208. package/src/models/operations/getevals.ts +28 -28
  209. package/src/models/operations/getoneprompt.ts +30 -0
  210. package/src/models/operations/getpromptversion.ts +30 -0
  211. package/src/models/operations/listagents.ts +67 -0
  212. package/src/models/operations/listagenttasks.ts +66 -0
  213. package/src/models/operations/listbudgets.ts +2 -2
  214. package/src/models/operations/listcontacts.ts +2 -2
  215. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  216. package/src/models/operations/listdatasets.ts +2 -2
  217. package/src/models/operations/listdatasources.ts +9 -9
  218. package/src/models/operations/listpromptversions.ts +30 -0
  219. package/src/models/operations/retrievecontact.ts +2 -2
  220. package/src/models/operations/retrievedatapoint.ts +8 -8
  221. package/src/models/operations/retrievedataset.ts +2 -2
  222. package/src/models/operations/retrievedatasource.ts +2 -2
  223. package/src/models/operations/retrievememorystore.ts +7 -596
  224. package/src/models/operations/retrievetool.ts +10 -10
  225. package/src/models/operations/runagent.ts +64 -0
  226. package/src/models/operations/streamrunagent.ts +66 -0
  227. package/src/models/operations/updateagent.ts +131 -0
  228. package/src/models/operations/updatebudget.ts +2 -2
  229. package/src/models/operations/updatecontact.ts +2 -2
  230. package/src/models/operations/updatedatapoint.ts +8 -8
  231. package/src/models/operations/updatedataset.ts +2 -2
  232. package/src/models/operations/updatedatasource.ts +2 -2
  233. package/src/models/operations/updateeval.ts +28 -28
  234. package/src/models/operations/updatememorystore.ts +7 -527
  235. package/src/models/operations/updateprompt.ts +60 -0
  236. package/src/models/operations/updatetool.ts +10 -10
@@ -179,6 +179,20 @@ export const ListAgentTasksType = {
179
179
  */
180
180
  export type ListAgentTasksType = ClosedEnum<typeof ListAgentTasksType>;
181
181
 
182
+ /**
183
+ * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
184
+ */
185
+ export const ListAgentTasksThinkingLevel = {
186
+ Low: "low",
187
+ High: "high",
188
+ } as const;
189
+ /**
190
+ * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
191
+ */
192
+ export type ListAgentTasksThinkingLevel = ClosedEnum<
193
+ typeof ListAgentTasksThinkingLevel
194
+ >;
195
+
182
196
  export type ListAgentTasksThinking = {
183
197
  /**
184
198
  * Enables or disables the thinking mode capability
@@ -188,6 +202,10 @@ export type ListAgentTasksThinking = {
188
202
  * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
189
203
  */
190
204
  budgetTokens: number;
205
+ /**
206
+ * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
207
+ */
208
+ thinkingLevel?: ListAgentTasksThinkingLevel | undefined;
191
209
  };
192
210
 
193
211
  /**
@@ -498,6 +516,20 @@ export type ListAgentTasksFallbackModelsType = ClosedEnum<
498
516
  typeof ListAgentTasksFallbackModelsType
499
517
  >;
500
518
 
519
+ /**
520
+ * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
521
+ */
522
+ export const ListAgentTasksFallbackModelsThinkingLevel = {
523
+ Low: "low",
524
+ High: "high",
525
+ } as const;
526
+ /**
527
+ * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
528
+ */
529
+ export type ListAgentTasksFallbackModelsThinkingLevel = ClosedEnum<
530
+ typeof ListAgentTasksFallbackModelsThinkingLevel
531
+ >;
532
+
501
533
  export type ListAgentTasksFallbackModelsThinking = {
502
534
  /**
503
535
  * Enables or disables the thinking mode capability
@@ -507,6 +539,10 @@ export type ListAgentTasksFallbackModelsThinking = {
507
539
  * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
508
540
  */
509
541
  budgetTokens: number;
542
+ /**
543
+ * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
544
+ */
545
+ thinkingLevel?: ListAgentTasksFallbackModelsThinkingLevel | undefined;
510
546
  };
511
547
 
512
548
  /**
@@ -1328,6 +1364,15 @@ export const ListAgentTasksType$outboundSchema: z.ZodNativeEnum<
1328
1364
  typeof ListAgentTasksType
1329
1365
  > = ListAgentTasksType$inboundSchema;
1330
1366
 
1367
+ /** @internal */
1368
+ export const ListAgentTasksThinkingLevel$inboundSchema: z.ZodNativeEnum<
1369
+ typeof ListAgentTasksThinkingLevel
1370
+ > = z.nativeEnum(ListAgentTasksThinkingLevel);
1371
+ /** @internal */
1372
+ export const ListAgentTasksThinkingLevel$outboundSchema: z.ZodNativeEnum<
1373
+ typeof ListAgentTasksThinkingLevel
1374
+ > = ListAgentTasksThinkingLevel$inboundSchema;
1375
+
1331
1376
  /** @internal */
1332
1377
  export const ListAgentTasksThinking$inboundSchema: z.ZodType<
1333
1378
  ListAgentTasksThinking,
@@ -1336,15 +1381,18 @@ export const ListAgentTasksThinking$inboundSchema: z.ZodType<
1336
1381
  > = z.object({
1337
1382
  type: ListAgentTasksType$inboundSchema,
1338
1383
  budget_tokens: z.number(),
1384
+ thinking_level: ListAgentTasksThinkingLevel$inboundSchema.optional(),
1339
1385
  }).transform((v) => {
1340
1386
  return remap$(v, {
1341
1387
  "budget_tokens": "budgetTokens",
1388
+ "thinking_level": "thinkingLevel",
1342
1389
  });
1343
1390
  });
1344
1391
  /** @internal */
1345
1392
  export type ListAgentTasksThinking$Outbound = {
1346
1393
  type: string;
1347
1394
  budget_tokens: number;
1395
+ thinking_level?: string | undefined;
1348
1396
  };
1349
1397
 
1350
1398
  /** @internal */
@@ -1355,9 +1403,11 @@ export const ListAgentTasksThinking$outboundSchema: z.ZodType<
1355
1403
  > = z.object({
1356
1404
  type: ListAgentTasksType$outboundSchema,
1357
1405
  budgetTokens: z.number(),
1406
+ thinkingLevel: ListAgentTasksThinkingLevel$outboundSchema.optional(),
1358
1407
  }).transform((v) => {
1359
1408
  return remap$(v, {
1360
1409
  budgetTokens: "budget_tokens",
1410
+ thinkingLevel: "thinking_level",
1361
1411
  });
1362
1412
  });
1363
1413
 
@@ -2187,6 +2237,15 @@ export const ListAgentTasksFallbackModelsType$outboundSchema: z.ZodNativeEnum<
2187
2237
  typeof ListAgentTasksFallbackModelsType
2188
2238
  > = ListAgentTasksFallbackModelsType$inboundSchema;
2189
2239
 
2240
+ /** @internal */
2241
+ export const ListAgentTasksFallbackModelsThinkingLevel$inboundSchema:
2242
+ z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsThinkingLevel> = z
2243
+ .nativeEnum(ListAgentTasksFallbackModelsThinkingLevel);
2244
+ /** @internal */
2245
+ export const ListAgentTasksFallbackModelsThinkingLevel$outboundSchema:
2246
+ z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsThinkingLevel> =
2247
+ ListAgentTasksFallbackModelsThinkingLevel$inboundSchema;
2248
+
2190
2249
  /** @internal */
2191
2250
  export const ListAgentTasksFallbackModelsThinking$inboundSchema: z.ZodType<
2192
2251
  ListAgentTasksFallbackModelsThinking,
@@ -2195,15 +2254,19 @@ export const ListAgentTasksFallbackModelsThinking$inboundSchema: z.ZodType<
2195
2254
  > = z.object({
2196
2255
  type: ListAgentTasksFallbackModelsType$inboundSchema,
2197
2256
  budget_tokens: z.number(),
2257
+ thinking_level: ListAgentTasksFallbackModelsThinkingLevel$inboundSchema
2258
+ .optional(),
2198
2259
  }).transform((v) => {
2199
2260
  return remap$(v, {
2200
2261
  "budget_tokens": "budgetTokens",
2262
+ "thinking_level": "thinkingLevel",
2201
2263
  });
2202
2264
  });
2203
2265
  /** @internal */
2204
2266
  export type ListAgentTasksFallbackModelsThinking$Outbound = {
2205
2267
  type: string;
2206
2268
  budget_tokens: number;
2269
+ thinking_level?: string | undefined;
2207
2270
  };
2208
2271
 
2209
2272
  /** @internal */
@@ -2214,9 +2277,12 @@ export const ListAgentTasksFallbackModelsThinking$outboundSchema: z.ZodType<
2214
2277
  > = z.object({
2215
2278
  type: ListAgentTasksFallbackModelsType$outboundSchema,
2216
2279
  budgetTokens: z.number(),
2280
+ thinkingLevel: ListAgentTasksFallbackModelsThinkingLevel$outboundSchema
2281
+ .optional(),
2217
2282
  }).transform((v) => {
2218
2283
  return remap$(v, {
2219
2284
  budgetTokens: "budget_tokens",
2285
+ thinkingLevel: "thinking_level",
2220
2286
  });
2221
2287
  });
2222
2288
 
@@ -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-16T16:11:22.331Z",
384
+ "2025-11-19T08:04:49.651Z",
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-16T16:11:22.331Z"))
418
+ updated: z.date().default(() => new Date("2025-11-19T08:04:49.651Z"))
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-16T16:11:21.924Z",
301
+ "2025-11-19T08:04:49.318Z",
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-16T16:11:21.924Z"))
337
+ updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
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-16T16:11:34.156Z",
2625
+ "2025-11-19T08:05:01.291Z",
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-16T16:11:34.156Z"))
2660
+ reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.291Z"))
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-16T16:11:34.154Z",
2741
+ "2025-11-19T08:05:01.290Z",
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-16T16:11:34.154Z"))
2778
+ reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.290Z"))
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-16T16:11:34.154Z",
2854
+ "2025-11-19T08:05:01.290Z",
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-16T16:11:34.154Z"))
2892
+ reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.290Z"))
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-16T16:11:21.924Z",
3005
+ "2025-11-19T08:04:49.318Z",
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-16T16:11:21.924Z"))
3085
+ updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
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-16T16:11:21.924Z",
214
+ "2025-11-19T08:04:49.318Z",
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-16T16:11:21.924Z"))
253
+ updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
254
254
  .transform(v => v.toISOString()),
255
255
  }).transform((v) => {
256
256
  return remap$(v, {
@@ -19,10 +19,6 @@ export type ListDatasourcesRequest = {
19
19
  * Unique identifier of the knowledge base
20
20
  */
21
21
  knowledgeId: string;
22
- /**
23
- * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
24
- */
25
- limit?: number | undefined;
26
22
  /**
27
23
  * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
28
24
  */
@@ -35,6 +31,10 @@ export type ListDatasourcesRequest = {
35
31
  * Search query to find datasources by name.
36
32
  */
37
33
  q?: string | undefined;
34
+ /**
35
+ * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
36
+ */
37
+ limit?: number | undefined;
38
38
  /**
39
39
  * Filter datasources by status.
40
40
  */
@@ -148,10 +148,10 @@ export const ListDatasourcesRequest$inboundSchema: z.ZodType<
148
148
  unknown
149
149
  > = z.object({
150
150
  knowledge_id: z.string(),
151
- limit: z.number().default(10),
152
151
  starting_after: z.string().optional(),
153
152
  ending_before: z.string().optional(),
154
153
  q: z.string().optional(),
154
+ limit: z.number().default(50),
155
155
  status: z.union([z.array(z.string()), z.string()]).optional(),
156
156
  }).transform((v) => {
157
157
  return remap$(v, {
@@ -163,10 +163,10 @@ export const ListDatasourcesRequest$inboundSchema: z.ZodType<
163
163
  /** @internal */
164
164
  export type ListDatasourcesRequest$Outbound = {
165
165
  knowledge_id: string;
166
- limit: number;
167
166
  starting_after?: string | undefined;
168
167
  ending_before?: string | undefined;
169
168
  q?: string | undefined;
169
+ limit: number;
170
170
  status?: Array<string> | string | undefined;
171
171
  };
172
172
 
@@ -177,10 +177,10 @@ export const ListDatasourcesRequest$outboundSchema: z.ZodType<
177
177
  ListDatasourcesRequest
178
178
  > = z.object({
179
179
  knowledgeId: z.string(),
180
- limit: z.number().default(10),
181
180
  startingAfter: z.string().optional(),
182
181
  endingBefore: z.string().optional(),
183
182
  q: z.string().optional(),
183
+ limit: z.number().default(50),
184
184
  status: z.union([z.array(z.string()), z.string()]).optional(),
185
185
  }).transform((v) => {
186
186
  return remap$(v, {
@@ -231,7 +231,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
231
231
  z.ZodTypeDef,
232
232
  unknown
233
233
  > = z.object({
234
- _id: z.string().default("01KA6PZ7SEXAZ17JJ379J3XYR5"),
234
+ _id: z.string().default("01KADJAG4DQVYBEEVKVZHD0J52"),
235
235
  display_name: z.string(),
236
236
  description: z.string().optional(),
237
237
  status: ListDatasourcesStatus$inboundSchema,
@@ -274,7 +274,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
274
274
  z.ZodTypeDef,
275
275
  ListDatasourcesData
276
276
  > = z.object({
277
- id: z.string().default("01KA6PZ7SEXAZ17JJ379J3XYR5"),
277
+ id: z.string().default("01KADJAG4DQVYBEEVKVZHD0J52"),
278
278
  displayName: z.string(),
279
279
  description: z.string().optional(),
280
280
  status: ListDatasourcesStatus$outboundSchema,
@@ -221,6 +221,20 @@ export type ListPromptVersionsVerbosity = ClosedEnum<
221
221
  typeof ListPromptVersionsVerbosity
222
222
  >;
223
223
 
224
+ /**
225
+ * The level of thinking to use for the model. Only supported by `Google AI`
226
+ */
227
+ export const ListPromptVersionsThinkingLevel = {
228
+ Low: "low",
229
+ High: "high",
230
+ } as const;
231
+ /**
232
+ * The level of thinking to use for the model. Only supported by `Google AI`
233
+ */
234
+ export type ListPromptVersionsThinkingLevel = ClosedEnum<
235
+ typeof ListPromptVersionsThinkingLevel
236
+ >;
237
+
224
238
  /**
225
239
  * Model Parameters: Not all parameters apply to every model
226
240
  */
@@ -313,6 +327,10 @@ export type ListPromptVersionsModelParameters = {
313
327
  * Controls the verbosity of the model output.
314
328
  */
315
329
  verbosity?: ListPromptVersionsVerbosity | undefined;
330
+ /**
331
+ * The level of thinking to use for the model. Only supported by `Google AI`
332
+ */
333
+ thinkingLevel?: ListPromptVersionsThinkingLevel | undefined;
316
334
  };
317
335
 
318
336
  export const ListPromptVersionsProvider = {
@@ -1030,6 +1048,15 @@ export const ListPromptVersionsVerbosity$outboundSchema: z.ZodNativeEnum<
1030
1048
  typeof ListPromptVersionsVerbosity
1031
1049
  > = ListPromptVersionsVerbosity$inboundSchema;
1032
1050
 
1051
+ /** @internal */
1052
+ export const ListPromptVersionsThinkingLevel$inboundSchema: z.ZodNativeEnum<
1053
+ typeof ListPromptVersionsThinkingLevel
1054
+ > = z.nativeEnum(ListPromptVersionsThinkingLevel);
1055
+ /** @internal */
1056
+ export const ListPromptVersionsThinkingLevel$outboundSchema: z.ZodNativeEnum<
1057
+ typeof ListPromptVersionsThinkingLevel
1058
+ > = ListPromptVersionsThinkingLevel$inboundSchema;
1059
+
1033
1060
  /** @internal */
1034
1061
  export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
1035
1062
  ListPromptVersionsModelParameters,
@@ -1063,6 +1090,7 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
1063
1090
  reasoningEffort: ListPromptVersionsReasoningEffort$inboundSchema.optional(),
1064
1091
  budgetTokens: z.number().optional(),
1065
1092
  verbosity: ListPromptVersionsVerbosity$inboundSchema.optional(),
1093
+ thinkingLevel: ListPromptVersionsThinkingLevel$inboundSchema.optional(),
1066
1094
  }).transform((v) => {
1067
1095
  return remap$(v, {
1068
1096
  "encoding_format": "encodingFormat",
@@ -1096,6 +1124,7 @@ export type ListPromptVersionsModelParameters$Outbound = {
1096
1124
  reasoningEffort?: string | undefined;
1097
1125
  budgetTokens?: number | undefined;
1098
1126
  verbosity?: string | undefined;
1127
+ thinkingLevel?: string | undefined;
1099
1128
  };
1100
1129
 
1101
1130
  /** @internal */
@@ -1132,6 +1161,7 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
1132
1161
  reasoningEffort: ListPromptVersionsReasoningEffort$outboundSchema.optional(),
1133
1162
  budgetTokens: z.number().optional(),
1134
1163
  verbosity: ListPromptVersionsVerbosity$outboundSchema.optional(),
1164
+ thinkingLevel: ListPromptVersionsThinkingLevel$outboundSchema.optional(),
1135
1165
  }).transform((v) => {
1136
1166
  return remap$(v, {
1137
1167
  encodingFormat: "encoding_format",
@@ -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-16T16:11:21.924Z",
115
+ "2025-11-19T08:04:49.318Z",
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-16T16:11:21.924Z"))
152
+ updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
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-16T16:11:34.168Z",
2514
+ "2025-11-19T08:05:01.308Z",
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-16T16:11:34.168Z"))
2551
+ reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.308Z"))
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-16T16:11:34.167Z",
2625
+ "2025-11-19T08:05:01.307Z",
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-16T16:11:34.167Z"))
2663
+ reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.307Z"))
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-16T16:11:34.167Z",
2734
+ "2025-11-19T08:05:01.306Z",
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-16T16:11:34.167Z"))
2769
+ reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.306Z"))
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-16T16:11:21.924Z",
2880
+ "2025-11-19T08:04:49.318Z",
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-16T16:11:21.924Z"))
2954
+ updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
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-16T16:11:21.924Z",
177
+ "2025-11-19T08:04:49.318Z",
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-16T16:11:21.924Z"))
216
+ updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
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("01KA6PZ7SGXSAZNZNPX53ZPM67"),
148
+ _id: z.string().default("01KADJAG4FNQ6PPJG48MYT8D7H"),
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("01KA6PZ7SGXSAZNZNPX53ZPM67"),
191
+ id: z.string().default("01KADJAG4FNQ6PPJG48MYT8D7H"),
192
192
  displayName: z.string(),
193
193
  description: z.string().optional(),
194
194
  status: RetrieveDatasourceStatus$outboundSchema,