@orq-ai/node 3.13.5 → 3.13.7

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 (720) hide show
  1. package/README.md +96 -94
  2. package/RUNTIMES.md +6 -6
  3. package/bin/mcp-server.js +1745 -1227
  4. package/bin/mcp-server.js.map +176 -172
  5. package/docs/sdks/agents/README.md +95 -20
  6. package/examples/package-lock.json +1 -1
  7. package/funcs/agentsList.js +1 -1
  8. package/funcs/agentsList.js.map +1 -1
  9. package/funcs/agentsListActions.js +1 -1
  10. package/funcs/agentsListActions.js.map +1 -1
  11. package/funcs/agentsListTasks.d.ts +18 -0
  12. package/funcs/agentsListTasks.d.ts.map +1 -0
  13. package/funcs/agentsListTasks.js +130 -0
  14. package/funcs/agentsListTasks.js.map +1 -0
  15. package/funcs/agentsRetrieve.d.ts +1 -1
  16. package/funcs/agentsRetrieve.js +4 -4
  17. package/funcs/agentsRetrieve.js.map +1 -1
  18. package/funcs/agentsRetrieveAction.js +1 -1
  19. package/funcs/agentsRetrieveAction.js.map +1 -1
  20. package/funcs/agentsRetrieveTask.js +1 -1
  21. package/funcs/agentsRetrieveTask.js.map +1 -1
  22. package/funcs/agentsRun.js +1 -1
  23. package/funcs/agentsRun.js.map +1 -1
  24. package/funcs/agentsStreamRun.js +1 -1
  25. package/funcs/agentsStreamRun.js.map +1 -1
  26. package/funcs/budgetsCreate.js +1 -1
  27. package/funcs/budgetsCreate.js.map +1 -1
  28. package/funcs/budgetsDelete.js +1 -1
  29. package/funcs/budgetsDelete.js.map +1 -1
  30. package/funcs/budgetsGet.js +1 -1
  31. package/funcs/budgetsGet.js.map +1 -1
  32. package/funcs/budgetsList.js +1 -1
  33. package/funcs/budgetsList.js.map +1 -1
  34. package/funcs/budgetsUpdate.js +1 -1
  35. package/funcs/budgetsUpdate.js.map +1 -1
  36. package/funcs/chunkingParse.js +1 -1
  37. package/funcs/chunkingParse.js.map +1 -1
  38. package/funcs/contactsCreate.js +1 -1
  39. package/funcs/contactsCreate.js.map +1 -1
  40. package/funcs/contactsDelete.js +1 -1
  41. package/funcs/contactsDelete.js.map +1 -1
  42. package/funcs/contactsList.js +1 -1
  43. package/funcs/contactsList.js.map +1 -1
  44. package/funcs/contactsRetrieve.js +1 -1
  45. package/funcs/contactsRetrieve.js.map +1 -1
  46. package/funcs/contactsUpdate.js +1 -1
  47. package/funcs/contactsUpdate.js.map +1 -1
  48. package/funcs/datasetsClear.js +1 -1
  49. package/funcs/datasetsClear.js.map +1 -1
  50. package/funcs/datasetsCreate.js +1 -1
  51. package/funcs/datasetsCreate.js.map +1 -1
  52. package/funcs/datasetsCreateDatapoint.js +1 -1
  53. package/funcs/datasetsCreateDatapoint.js.map +1 -1
  54. package/funcs/datasetsDelete.js +1 -1
  55. package/funcs/datasetsDelete.js.map +1 -1
  56. package/funcs/datasetsDeleteDatapoint.js +1 -1
  57. package/funcs/datasetsDeleteDatapoint.js.map +1 -1
  58. package/funcs/datasetsList.js +1 -1
  59. package/funcs/datasetsList.js.map +1 -1
  60. package/funcs/datasetsListDatapoints.js +1 -1
  61. package/funcs/datasetsListDatapoints.js.map +1 -1
  62. package/funcs/datasetsRetrieve.js +1 -1
  63. package/funcs/datasetsRetrieve.js.map +1 -1
  64. package/funcs/datasetsRetrieveDatapoint.js +1 -1
  65. package/funcs/datasetsRetrieveDatapoint.js.map +1 -1
  66. package/funcs/datasetsUpdate.js +1 -1
  67. package/funcs/datasetsUpdate.js.map +1 -1
  68. package/funcs/datasetsUpdateDatapoint.js +1 -1
  69. package/funcs/datasetsUpdateDatapoint.js.map +1 -1
  70. package/funcs/deploymentsGetConfig.js +1 -1
  71. package/funcs/deploymentsGetConfig.js.map +1 -1
  72. package/funcs/deploymentsInvoke.js +1 -1
  73. package/funcs/deploymentsInvoke.js.map +1 -1
  74. package/funcs/deploymentsList.js +1 -1
  75. package/funcs/deploymentsList.js.map +1 -1
  76. package/funcs/deploymentsMetricsCreate.js +1 -1
  77. package/funcs/deploymentsMetricsCreate.js.map +1 -1
  78. package/funcs/deploymentsStream.js +1 -1
  79. package/funcs/deploymentsStream.js.map +1 -1
  80. package/funcs/evalsAgeAppropriate.js +1 -1
  81. package/funcs/evalsAgeAppropriate.js.map +1 -1
  82. package/funcs/evalsAll.js +1 -1
  83. package/funcs/evalsAll.js.map +1 -1
  84. package/funcs/evalsBertScore.js +1 -1
  85. package/funcs/evalsBertScore.js.map +1 -1
  86. package/funcs/evalsBleuScore.js +1 -1
  87. package/funcs/evalsBleuScore.js.map +1 -1
  88. package/funcs/evalsBotDetection.js +1 -1
  89. package/funcs/evalsBotDetection.js.map +1 -1
  90. package/funcs/evalsContains.js +1 -1
  91. package/funcs/evalsContains.js.map +1 -1
  92. package/funcs/evalsContainsAll.js +1 -1
  93. package/funcs/evalsContainsAll.js.map +1 -1
  94. package/funcs/evalsContainsAny.js +1 -1
  95. package/funcs/evalsContainsAny.js.map +1 -1
  96. package/funcs/evalsContainsEmail.js +1 -1
  97. package/funcs/evalsContainsEmail.js.map +1 -1
  98. package/funcs/evalsContainsNone.js +1 -1
  99. package/funcs/evalsContainsNone.js.map +1 -1
  100. package/funcs/evalsContainsUrl.js +1 -1
  101. package/funcs/evalsContainsUrl.js.map +1 -1
  102. package/funcs/evalsContainsValidLink.js +1 -1
  103. package/funcs/evalsContainsValidLink.js.map +1 -1
  104. package/funcs/evalsCreate.js +1 -1
  105. package/funcs/evalsCreate.js.map +1 -1
  106. package/funcs/evalsDelete.js +1 -1
  107. package/funcs/evalsDelete.js.map +1 -1
  108. package/funcs/evalsEndsWith.js +1 -1
  109. package/funcs/evalsEndsWith.js.map +1 -1
  110. package/funcs/evalsExactMatch.js +1 -1
  111. package/funcs/evalsExactMatch.js.map +1 -1
  112. package/funcs/evalsFactCheckingKnowledgeBase.js +1 -1
  113. package/funcs/evalsFactCheckingKnowledgeBase.js.map +1 -1
  114. package/funcs/evalsGrammar.js +1 -1
  115. package/funcs/evalsGrammar.js.map +1 -1
  116. package/funcs/evalsInvoke.js +1 -1
  117. package/funcs/evalsInvoke.js.map +1 -1
  118. package/funcs/evalsLengthBetween.js +1 -1
  119. package/funcs/evalsLengthBetween.js.map +1 -1
  120. package/funcs/evalsLengthGreaterThan.js +1 -1
  121. package/funcs/evalsLengthGreaterThan.js.map +1 -1
  122. package/funcs/evalsLengthLessThan.js +1 -1
  123. package/funcs/evalsLengthLessThan.js.map +1 -1
  124. package/funcs/evalsLocalization.js +1 -1
  125. package/funcs/evalsLocalization.js.map +1 -1
  126. package/funcs/evalsPii.js +1 -1
  127. package/funcs/evalsPii.js.map +1 -1
  128. package/funcs/evalsRagasCoherence.js +1 -1
  129. package/funcs/evalsRagasCoherence.js.map +1 -1
  130. package/funcs/evalsRagasConciseness.js +1 -1
  131. package/funcs/evalsRagasConciseness.js.map +1 -1
  132. package/funcs/evalsRagasContextEntitiesRecall.js +1 -1
  133. package/funcs/evalsRagasContextEntitiesRecall.js.map +1 -1
  134. package/funcs/evalsRagasContextPrecision.js +1 -1
  135. package/funcs/evalsRagasContextPrecision.js.map +1 -1
  136. package/funcs/evalsRagasContextRecall.js +1 -1
  137. package/funcs/evalsRagasContextRecall.js.map +1 -1
  138. package/funcs/evalsRagasCorrectness.js +1 -1
  139. package/funcs/evalsRagasCorrectness.js.map +1 -1
  140. package/funcs/evalsRagasFaithfulness.js +1 -1
  141. package/funcs/evalsRagasFaithfulness.js.map +1 -1
  142. package/funcs/evalsRagasHarmfulness.js +1 -1
  143. package/funcs/evalsRagasHarmfulness.js.map +1 -1
  144. package/funcs/evalsRagasMaliciousness.js +1 -1
  145. package/funcs/evalsRagasMaliciousness.js.map +1 -1
  146. package/funcs/evalsRagasNoiseSensitivity.js +1 -1
  147. package/funcs/evalsRagasNoiseSensitivity.js.map +1 -1
  148. package/funcs/evalsRagasResponseRelevancy.js +1 -1
  149. package/funcs/evalsRagasResponseRelevancy.js.map +1 -1
  150. package/funcs/evalsRagasSummarization.js +1 -1
  151. package/funcs/evalsRagasSummarization.js.map +1 -1
  152. package/funcs/evalsSentimentClassification.js +1 -1
  153. package/funcs/evalsSentimentClassification.js.map +1 -1
  154. package/funcs/evalsSummarization.js +1 -1
  155. package/funcs/evalsSummarization.js.map +1 -1
  156. package/funcs/evalsToneOfVoice.js +1 -1
  157. package/funcs/evalsToneOfVoice.js.map +1 -1
  158. package/funcs/evalsTranslation.js +1 -1
  159. package/funcs/evalsTranslation.js.map +1 -1
  160. package/funcs/evalsUpdate.js +1 -1
  161. package/funcs/evalsUpdate.js.map +1 -1
  162. package/funcs/evalsValidJson.js +1 -1
  163. package/funcs/evalsValidJson.js.map +1 -1
  164. package/funcs/feedbackCreate.js +1 -1
  165. package/funcs/feedbackCreate.js.map +1 -1
  166. package/funcs/filesCreate.js +1 -1
  167. package/funcs/filesCreate.js.map +1 -1
  168. package/funcs/filesDelete.js +1 -1
  169. package/funcs/filesDelete.js.map +1 -1
  170. package/funcs/filesGet.js +1 -1
  171. package/funcs/filesGet.js.map +1 -1
  172. package/funcs/filesList.js +1 -1
  173. package/funcs/filesList.js.map +1 -1
  174. package/funcs/knowledgeCreate.js +1 -1
  175. package/funcs/knowledgeCreate.js.map +1 -1
  176. package/funcs/knowledgeCreateChunks.js +1 -1
  177. package/funcs/knowledgeCreateChunks.js.map +1 -1
  178. package/funcs/knowledgeCreateDatasource.js +1 -1
  179. package/funcs/knowledgeCreateDatasource.js.map +1 -1
  180. package/funcs/knowledgeDelete.js +1 -1
  181. package/funcs/knowledgeDelete.js.map +1 -1
  182. package/funcs/knowledgeDeleteChunk.js +1 -1
  183. package/funcs/knowledgeDeleteChunk.js.map +1 -1
  184. package/funcs/knowledgeDeleteDatasource.js +1 -1
  185. package/funcs/knowledgeDeleteDatasource.js.map +1 -1
  186. package/funcs/knowledgeList.js +1 -1
  187. package/funcs/knowledgeList.js.map +1 -1
  188. package/funcs/knowledgeListChunks.js +1 -1
  189. package/funcs/knowledgeListChunks.js.map +1 -1
  190. package/funcs/knowledgeListDatasources.js +1 -1
  191. package/funcs/knowledgeListDatasources.js.map +1 -1
  192. package/funcs/knowledgeRetrieve.js +1 -1
  193. package/funcs/knowledgeRetrieve.js.map +1 -1
  194. package/funcs/knowledgeRetrieveChunk.js +1 -1
  195. package/funcs/knowledgeRetrieveChunk.js.map +1 -1
  196. package/funcs/knowledgeRetrieveDatasource.js +1 -1
  197. package/funcs/knowledgeRetrieveDatasource.js.map +1 -1
  198. package/funcs/knowledgeSearch.js +1 -1
  199. package/funcs/knowledgeSearch.js.map +1 -1
  200. package/funcs/knowledgeUpdate.js +1 -1
  201. package/funcs/knowledgeUpdate.js.map +1 -1
  202. package/funcs/knowledgeUpdateChunk.js +1 -1
  203. package/funcs/knowledgeUpdateChunk.js.map +1 -1
  204. package/funcs/knowledgeUpdateDatasource.js +1 -1
  205. package/funcs/knowledgeUpdateDatasource.js.map +1 -1
  206. package/funcs/memoryStoresCreate.js +1 -1
  207. package/funcs/memoryStoresCreate.js.map +1 -1
  208. package/funcs/memoryStoresCreateDocument.js +1 -1
  209. package/funcs/memoryStoresCreateDocument.js.map +1 -1
  210. package/funcs/memoryStoresCreateMemory.js +1 -1
  211. package/funcs/memoryStoresCreateMemory.js.map +1 -1
  212. package/funcs/memoryStoresDelete.js +1 -1
  213. package/funcs/memoryStoresDelete.js.map +1 -1
  214. package/funcs/memoryStoresDeleteDocument.js +1 -1
  215. package/funcs/memoryStoresDeleteDocument.js.map +1 -1
  216. package/funcs/memoryStoresDeleteMemory.js +1 -1
  217. package/funcs/memoryStoresDeleteMemory.js.map +1 -1
  218. package/funcs/memoryStoresList.js +1 -1
  219. package/funcs/memoryStoresList.js.map +1 -1
  220. package/funcs/memoryStoresListDocuments.js +1 -1
  221. package/funcs/memoryStoresListDocuments.js.map +1 -1
  222. package/funcs/memoryStoresListMemories.js +1 -1
  223. package/funcs/memoryStoresListMemories.js.map +1 -1
  224. package/funcs/memoryStoresRetrieve.js +1 -1
  225. package/funcs/memoryStoresRetrieve.js.map +1 -1
  226. package/funcs/memoryStoresRetrieveDocument.js +1 -1
  227. package/funcs/memoryStoresRetrieveDocument.js.map +1 -1
  228. package/funcs/memoryStoresRetrieveMemory.js +1 -1
  229. package/funcs/memoryStoresRetrieveMemory.js.map +1 -1
  230. package/funcs/memoryStoresUpdate.js +1 -1
  231. package/funcs/memoryStoresUpdate.js.map +1 -1
  232. package/funcs/memoryStoresUpdateDocument.js +1 -1
  233. package/funcs/memoryStoresUpdateDocument.js.map +1 -1
  234. package/funcs/memoryStoresUpdateMemory.js +1 -1
  235. package/funcs/memoryStoresUpdateMemory.js.map +1 -1
  236. package/funcs/modelsList.js +1 -1
  237. package/funcs/modelsList.js.map +1 -1
  238. package/funcs/promptsCreate.js +1 -1
  239. package/funcs/promptsCreate.js.map +1 -1
  240. package/funcs/promptsDelete.js +1 -1
  241. package/funcs/promptsDelete.js.map +1 -1
  242. package/funcs/promptsGetVersion.js +1 -1
  243. package/funcs/promptsGetVersion.js.map +1 -1
  244. package/funcs/promptsList.js +1 -1
  245. package/funcs/promptsList.js.map +1 -1
  246. package/funcs/promptsListVersions.js +1 -1
  247. package/funcs/promptsListVersions.js.map +1 -1
  248. package/funcs/promptsRetrieve.js +1 -1
  249. package/funcs/promptsRetrieve.js.map +1 -1
  250. package/funcs/promptsUpdate.js +1 -1
  251. package/funcs/promptsUpdate.js.map +1 -1
  252. package/funcs/remoteconfigsRetrieve.js +1 -1
  253. package/funcs/remoteconfigsRetrieve.js.map +1 -1
  254. package/funcs/toolsCreate.js +1 -1
  255. package/funcs/toolsCreate.js.map +1 -1
  256. package/funcs/toolsDelete.js +1 -1
  257. package/funcs/toolsDelete.js.map +1 -1
  258. package/funcs/toolsDuplicate.js +1 -1
  259. package/funcs/toolsDuplicate.js.map +1 -1
  260. package/funcs/toolsList.js +1 -1
  261. package/funcs/toolsList.js.map +1 -1
  262. package/funcs/toolsRetrieve.js +1 -1
  263. package/funcs/toolsRetrieve.js.map +1 -1
  264. package/funcs/toolsUpdate.js +1 -1
  265. package/funcs/toolsUpdate.js.map +1 -1
  266. package/jsr.json +1 -1
  267. package/lib/config.d.ts +3 -3
  268. package/lib/config.js +3 -3
  269. package/lib/config.js.map +1 -1
  270. package/mcp-server/mcp-server.js +1 -1
  271. package/mcp-server/server.d.ts.map +1 -1
  272. package/mcp-server/server.js +4 -2
  273. package/mcp-server/server.js.map +1 -1
  274. package/mcp-server/tools/agentsListTasks.d.ts +8 -0
  275. package/mcp-server/tools/agentsListTasks.d.ts.map +1 -0
  276. package/mcp-server/tools/agentsListTasks.js +64 -0
  277. package/mcp-server/tools/agentsListTasks.js.map +1 -0
  278. package/mcp-server/tools/agentsRetrieve.js +1 -1
  279. package/mcp-server/tools/agentsRetrieve.js.map +1 -1
  280. package/models/errors/index.d.ts +1 -0
  281. package/models/errors/index.d.ts.map +1 -1
  282. package/models/errors/index.js +1 -0
  283. package/models/errors/index.js.map +1 -1
  284. package/models/errors/listagenttasks.d.ts +41 -0
  285. package/models/errors/listagenttasks.d.ts.map +1 -0
  286. package/models/errors/listagenttasks.js +85 -0
  287. package/models/errors/listagenttasks.js.map +1 -0
  288. package/models/operations/createbudget.js +2 -2
  289. package/models/operations/createcontact.js +2 -2
  290. package/models/operations/createdataset.js +2 -2
  291. package/models/operations/createdatasetitem.js +2 -2
  292. package/models/operations/createdatasource.js +2 -2
  293. package/models/operations/createeval.js +28 -28
  294. package/models/operations/createtool.js +14 -14
  295. package/models/operations/duplicatetool.js +10 -10
  296. package/models/operations/fileget.js +2 -2
  297. package/models/operations/filelist.js +2 -2
  298. package/models/operations/fileupload.js +2 -2
  299. package/models/operations/getagent.d.ts +7 -7
  300. package/models/operations/getagent.d.ts.map +1 -1
  301. package/models/operations/getagent.js +16 -8
  302. package/models/operations/getagent.js.map +1 -1
  303. package/models/operations/getalltools.js +10 -10
  304. package/models/operations/getbudget.js +2 -2
  305. package/models/operations/getevals.js +28 -28
  306. package/models/operations/index.d.ts +1 -0
  307. package/models/operations/index.d.ts.map +1 -1
  308. package/models/operations/index.js +1 -0
  309. package/models/operations/index.js.map +1 -1
  310. package/models/operations/listagents.d.ts +4 -4
  311. package/models/operations/listagents.d.ts.map +1 -1
  312. package/models/operations/listagents.js +6 -6
  313. package/models/operations/listagents.js.map +1 -1
  314. package/models/operations/listagenttasks.d.ts +523 -0
  315. package/models/operations/listagenttasks.d.ts.map +1 -0
  316. package/models/operations/listagenttasks.js +609 -0
  317. package/models/operations/listagenttasks.js.map +1 -0
  318. package/models/operations/listbudgets.js +2 -2
  319. package/models/operations/listchunks.d.ts +13 -13
  320. package/models/operations/listchunks.d.ts.map +1 -1
  321. package/models/operations/listchunks.js +16 -16
  322. package/models/operations/listchunks.js.map +1 -1
  323. package/models/operations/listcontacts.js +2 -2
  324. package/models/operations/listdatasetdatapoints.js +2 -2
  325. package/models/operations/listdatasets.js +2 -2
  326. package/models/operations/listdatasources.d.ts +13 -13
  327. package/models/operations/listdatasources.d.ts.map +1 -1
  328. package/models/operations/listdatasources.js +18 -19
  329. package/models/operations/listdatasources.js.map +1 -1
  330. package/models/operations/retrievecontact.js +2 -2
  331. package/models/operations/retrievedatapoint.js +2 -2
  332. package/models/operations/retrievedataset.js +2 -2
  333. package/models/operations/retrievedatasource.js +2 -2
  334. package/models/operations/retrievetool.js +10 -10
  335. package/models/operations/runagent.js +2 -2
  336. package/models/operations/streamrunagent.js +2 -2
  337. package/models/operations/updatebudget.js +2 -2
  338. package/models/operations/updatecontact.js +2 -2
  339. package/models/operations/updatedatapoint.js +2 -2
  340. package/models/operations/updatedataset.js +2 -2
  341. package/models/operations/updatedatasource.js +2 -2
  342. package/models/operations/updateeval.js +28 -28
  343. package/models/operations/updatetool.js +14 -14
  344. package/package.json +1 -1
  345. package/packages/orq-rc/README.md +98 -94
  346. package/packages/orq-rc/RUNTIMES.md +6 -6
  347. package/packages/orq-rc/docs/sdks/agents/README.md +269 -0
  348. package/packages/orq-rc/examples/package-lock.json +1 -1
  349. package/packages/orq-rc/jsr.json +1 -1
  350. package/packages/orq-rc/package-lock.json +2 -2
  351. package/packages/orq-rc/package.json +1 -1
  352. package/packages/orq-rc/src/funcs/agentsInvoke.ts +167 -0
  353. package/packages/orq-rc/src/funcs/agentsList.ts +1 -1
  354. package/packages/orq-rc/src/funcs/agentsListActions.ts +1 -1
  355. package/packages/orq-rc/src/funcs/agentsListTasks.ts +1 -1
  356. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +1 -1
  357. package/packages/orq-rc/src/funcs/agentsRetrieveAction.ts +1 -1
  358. package/packages/orq-rc/src/funcs/agentsRetrieveTask.ts +1 -1
  359. package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
  360. package/packages/orq-rc/src/funcs/agentsStream.ts +191 -0
  361. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
  362. package/packages/orq-rc/src/funcs/budgetsCreate.ts +1 -1
  363. package/packages/orq-rc/src/funcs/budgetsDelete.ts +1 -1
  364. package/packages/orq-rc/src/funcs/budgetsGet.ts +1 -1
  365. package/packages/orq-rc/src/funcs/budgetsList.ts +1 -1
  366. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +1 -1
  367. package/packages/orq-rc/src/funcs/chunkingParse.ts +1 -1
  368. package/packages/orq-rc/src/funcs/contactsCreate.ts +1 -1
  369. package/packages/orq-rc/src/funcs/contactsDelete.ts +1 -1
  370. package/packages/orq-rc/src/funcs/contactsList.ts +1 -1
  371. package/packages/orq-rc/src/funcs/contactsRetrieve.ts +1 -1
  372. package/packages/orq-rc/src/funcs/contactsUpdate.ts +1 -1
  373. package/packages/orq-rc/src/funcs/datasetsClear.ts +1 -1
  374. package/packages/orq-rc/src/funcs/datasetsCreate.ts +1 -1
  375. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +1 -1
  376. package/packages/orq-rc/src/funcs/datasetsDelete.ts +1 -1
  377. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +1 -1
  378. package/packages/orq-rc/src/funcs/datasetsList.ts +1 -1
  379. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +1 -1
  380. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +1 -1
  381. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +1 -1
  382. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +1 -1
  383. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +1 -1
  384. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +1 -1
  385. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +1 -1
  386. package/packages/orq-rc/src/funcs/deploymentsList.ts +1 -1
  387. package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +1 -1
  388. package/packages/orq-rc/src/funcs/deploymentsStream.ts +1 -1
  389. package/packages/orq-rc/src/funcs/evalsAgeAppropriate.ts +1 -1
  390. package/packages/orq-rc/src/funcs/evalsAll.ts +1 -1
  391. package/packages/orq-rc/src/funcs/evalsBertScore.ts +1 -1
  392. package/packages/orq-rc/src/funcs/evalsBleuScore.ts +1 -1
  393. package/packages/orq-rc/src/funcs/evalsBotDetection.ts +1 -1
  394. package/packages/orq-rc/src/funcs/evalsContains.ts +1 -1
  395. package/packages/orq-rc/src/funcs/evalsContainsAll.ts +1 -1
  396. package/packages/orq-rc/src/funcs/evalsContainsAny.ts +1 -1
  397. package/packages/orq-rc/src/funcs/evalsContainsEmail.ts +1 -1
  398. package/packages/orq-rc/src/funcs/evalsContainsNone.ts +1 -1
  399. package/packages/orq-rc/src/funcs/evalsContainsUrl.ts +1 -1
  400. package/packages/orq-rc/src/funcs/evalsContainsValidLink.ts +1 -1
  401. package/packages/orq-rc/src/funcs/evalsCreate.ts +1 -1
  402. package/packages/orq-rc/src/funcs/evalsDelete.ts +1 -1
  403. package/packages/orq-rc/src/funcs/evalsEndsWith.ts +1 -1
  404. package/packages/orq-rc/src/funcs/evalsExactMatch.ts +1 -1
  405. package/packages/orq-rc/src/funcs/evalsFactCheckingKnowledgeBase.ts +1 -1
  406. package/packages/orq-rc/src/funcs/evalsGrammar.ts +1 -1
  407. package/packages/orq-rc/src/funcs/evalsInvoke.ts +1 -1
  408. package/packages/orq-rc/src/funcs/evalsLengthBetween.ts +1 -1
  409. package/packages/orq-rc/src/funcs/evalsLengthGreaterThan.ts +1 -1
  410. package/packages/orq-rc/src/funcs/evalsLengthLessThan.ts +1 -1
  411. package/packages/orq-rc/src/funcs/evalsLocalization.ts +1 -1
  412. package/packages/orq-rc/src/funcs/evalsPii.ts +1 -1
  413. package/packages/orq-rc/src/funcs/evalsRagasCoherence.ts +1 -1
  414. package/packages/orq-rc/src/funcs/evalsRagasConciseness.ts +1 -1
  415. package/packages/orq-rc/src/funcs/evalsRagasContextEntitiesRecall.ts +1 -1
  416. package/packages/orq-rc/src/funcs/evalsRagasContextPrecision.ts +1 -1
  417. package/packages/orq-rc/src/funcs/evalsRagasContextRecall.ts +1 -1
  418. package/packages/orq-rc/src/funcs/evalsRagasCorrectness.ts +1 -1
  419. package/packages/orq-rc/src/funcs/evalsRagasFaithfulness.ts +1 -1
  420. package/packages/orq-rc/src/funcs/evalsRagasHarmfulness.ts +1 -1
  421. package/packages/orq-rc/src/funcs/evalsRagasMaliciousness.ts +1 -1
  422. package/packages/orq-rc/src/funcs/evalsRagasNoiseSensitivity.ts +1 -1
  423. package/packages/orq-rc/src/funcs/evalsRagasResponseRelevancy.ts +1 -1
  424. package/packages/orq-rc/src/funcs/evalsRagasSummarization.ts +1 -1
  425. package/packages/orq-rc/src/funcs/evalsSentimentClassification.ts +1 -1
  426. package/packages/orq-rc/src/funcs/evalsSummarization.ts +1 -1
  427. package/packages/orq-rc/src/funcs/evalsToneOfVoice.ts +1 -1
  428. package/packages/orq-rc/src/funcs/evalsTranslation.ts +1 -1
  429. package/packages/orq-rc/src/funcs/evalsUpdate.ts +1 -1
  430. package/packages/orq-rc/src/funcs/evalsValidJson.ts +1 -1
  431. package/packages/orq-rc/src/funcs/feedbackCreate.ts +1 -1
  432. package/packages/orq-rc/src/funcs/filesCreate.ts +1 -1
  433. package/packages/orq-rc/src/funcs/filesDelete.ts +1 -1
  434. package/packages/orq-rc/src/funcs/filesGet.ts +1 -1
  435. package/packages/orq-rc/src/funcs/filesList.ts +1 -1
  436. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +1 -1
  437. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +1 -1
  438. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +1 -1
  439. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +1 -1
  440. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +1 -1
  441. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +1 -1
  442. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +1 -1
  443. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +1 -1
  444. package/packages/orq-rc/src/funcs/knowledgeList.ts +1 -1
  445. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +1 -1
  446. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +1 -1
  447. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +1 -1
  448. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +1 -1
  449. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +1 -1
  450. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +1 -1
  451. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +1 -1
  452. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +1 -1
  453. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +1 -1
  454. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +1 -1
  455. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +1 -1
  456. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +1 -1
  457. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +1 -1
  458. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +1 -1
  459. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +1 -1
  460. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +1 -1
  461. package/packages/orq-rc/src/funcs/memoryStoresList.ts +1 -1
  462. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +1 -1
  463. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +1 -1
  464. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +1 -1
  465. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +1 -1
  466. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +1 -1
  467. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +1 -1
  468. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +1 -1
  469. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +1 -1
  470. package/packages/orq-rc/src/funcs/modelsList.ts +1 -1
  471. package/packages/orq-rc/src/funcs/promptsCreate.ts +1 -1
  472. package/packages/orq-rc/src/funcs/promptsDelete.ts +1 -1
  473. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +1 -1
  474. package/packages/orq-rc/src/funcs/promptsList.ts +1 -1
  475. package/packages/orq-rc/src/funcs/promptsListVersions.ts +1 -1
  476. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +1 -1
  477. package/packages/orq-rc/src/funcs/promptsUpdate.ts +1 -1
  478. package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +1 -1
  479. package/packages/orq-rc/src/funcs/toolsCreate.ts +1 -1
  480. package/packages/orq-rc/src/funcs/toolsDelete.ts +1 -1
  481. package/packages/orq-rc/src/funcs/toolsDuplicate.ts +1 -1
  482. package/packages/orq-rc/src/funcs/toolsList.ts +1 -1
  483. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +1 -1
  484. package/packages/orq-rc/src/funcs/toolsUpdate.ts +1 -1
  485. package/packages/orq-rc/src/lib/config.ts +3 -3
  486. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  487. package/packages/orq-rc/src/mcp-server/server.ts +5 -1
  488. package/packages/orq-rc/src/mcp-server/tools/agentsInvoke.ts +37 -0
  489. package/packages/orq-rc/src/mcp-server/tools/agentsStream.ts +37 -0
  490. package/packages/orq-rc/src/models/errors/index.ts +1 -0
  491. package/packages/orq-rc/src/models/errors/streamagent.ts +80 -0
  492. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  493. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  494. package/packages/orq-rc/src/models/operations/createdataset.ts +6 -6
  495. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +701 -2
  496. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  497. package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
  498. package/packages/orq-rc/src/models/operations/createprompt.ts +2 -0
  499. package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
  500. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
  501. package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
  502. package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
  503. package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
  504. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  505. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  506. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  507. package/packages/orq-rc/src/models/operations/getagent.ts +2 -2
  508. package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
  509. package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
  510. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  511. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  512. package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
  513. package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
  514. package/packages/orq-rc/src/models/operations/index.ts +2 -0
  515. package/packages/orq-rc/src/models/operations/invokeagent.ts +1561 -0
  516. package/packages/orq-rc/src/models/operations/listagents.ts +2 -2
  517. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  518. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  519. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +785 -2
  520. package/packages/orq-rc/src/models/operations/listdatasets.ts +6 -6
  521. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  522. package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
  523. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  524. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +767 -2
  525. package/packages/orq-rc/src/models/operations/retrievedataset.ts +6 -6
  526. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  527. package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
  528. package/packages/orq-rc/src/models/operations/runagent.ts +443 -374
  529. package/packages/orq-rc/src/models/operations/streamagent.ts +1365 -0
  530. package/packages/orq-rc/src/models/operations/streamrunagent.ts +207 -165
  531. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  532. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  533. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +763 -2
  534. package/packages/orq-rc/src/models/operations/updatedataset.ts +6 -22
  535. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  536. package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
  537. package/packages/orq-rc/src/models/operations/updatememorystore.ts +1 -0
  538. package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -0
  539. package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
  540. package/packages/orq-rc/src/sdk/agents.ts +36 -0
  541. package/sdk/agents.d.ts +11 -4
  542. package/sdk/agents.d.ts.map +1 -1
  543. package/sdk/agents.js +15 -5
  544. package/sdk/agents.js.map +1 -1
  545. package/src/funcs/agentsList.ts +1 -1
  546. package/src/funcs/agentsListActions.ts +1 -1
  547. package/src/funcs/agentsListTasks.ts +183 -0
  548. package/src/funcs/agentsRetrieve.ts +4 -4
  549. package/src/funcs/agentsRetrieveAction.ts +1 -1
  550. package/src/funcs/agentsRetrieveTask.ts +1 -1
  551. package/src/funcs/agentsRun.ts +1 -1
  552. package/src/funcs/agentsStreamRun.ts +1 -1
  553. package/src/funcs/budgetsCreate.ts +1 -1
  554. package/src/funcs/budgetsDelete.ts +1 -1
  555. package/src/funcs/budgetsGet.ts +1 -1
  556. package/src/funcs/budgetsList.ts +1 -1
  557. package/src/funcs/budgetsUpdate.ts +1 -1
  558. package/src/funcs/chunkingParse.ts +1 -1
  559. package/src/funcs/contactsCreate.ts +1 -1
  560. package/src/funcs/contactsDelete.ts +1 -1
  561. package/src/funcs/contactsList.ts +1 -1
  562. package/src/funcs/contactsRetrieve.ts +1 -1
  563. package/src/funcs/contactsUpdate.ts +1 -1
  564. package/src/funcs/datasetsClear.ts +1 -1
  565. package/src/funcs/datasetsCreate.ts +1 -1
  566. package/src/funcs/datasetsCreateDatapoint.ts +1 -1
  567. package/src/funcs/datasetsDelete.ts +1 -1
  568. package/src/funcs/datasetsDeleteDatapoint.ts +1 -1
  569. package/src/funcs/datasetsList.ts +1 -1
  570. package/src/funcs/datasetsListDatapoints.ts +1 -1
  571. package/src/funcs/datasetsRetrieve.ts +1 -1
  572. package/src/funcs/datasetsRetrieveDatapoint.ts +1 -1
  573. package/src/funcs/datasetsUpdate.ts +1 -1
  574. package/src/funcs/datasetsUpdateDatapoint.ts +1 -1
  575. package/src/funcs/deploymentsGetConfig.ts +1 -1
  576. package/src/funcs/deploymentsInvoke.ts +1 -1
  577. package/src/funcs/deploymentsList.ts +1 -1
  578. package/src/funcs/deploymentsMetricsCreate.ts +1 -1
  579. package/src/funcs/deploymentsStream.ts +1 -1
  580. package/src/funcs/evalsAgeAppropriate.ts +1 -1
  581. package/src/funcs/evalsAll.ts +1 -1
  582. package/src/funcs/evalsBertScore.ts +1 -1
  583. package/src/funcs/evalsBleuScore.ts +1 -1
  584. package/src/funcs/evalsBotDetection.ts +1 -1
  585. package/src/funcs/evalsContains.ts +1 -1
  586. package/src/funcs/evalsContainsAll.ts +1 -1
  587. package/src/funcs/evalsContainsAny.ts +1 -1
  588. package/src/funcs/evalsContainsEmail.ts +1 -1
  589. package/src/funcs/evalsContainsNone.ts +1 -1
  590. package/src/funcs/evalsContainsUrl.ts +1 -1
  591. package/src/funcs/evalsContainsValidLink.ts +1 -1
  592. package/src/funcs/evalsCreate.ts +1 -1
  593. package/src/funcs/evalsDelete.ts +1 -1
  594. package/src/funcs/evalsEndsWith.ts +1 -1
  595. package/src/funcs/evalsExactMatch.ts +1 -1
  596. package/src/funcs/evalsFactCheckingKnowledgeBase.ts +1 -1
  597. package/src/funcs/evalsGrammar.ts +1 -1
  598. package/src/funcs/evalsInvoke.ts +1 -1
  599. package/src/funcs/evalsLengthBetween.ts +1 -1
  600. package/src/funcs/evalsLengthGreaterThan.ts +1 -1
  601. package/src/funcs/evalsLengthLessThan.ts +1 -1
  602. package/src/funcs/evalsLocalization.ts +1 -1
  603. package/src/funcs/evalsPii.ts +1 -1
  604. package/src/funcs/evalsRagasCoherence.ts +1 -1
  605. package/src/funcs/evalsRagasConciseness.ts +1 -1
  606. package/src/funcs/evalsRagasContextEntitiesRecall.ts +1 -1
  607. package/src/funcs/evalsRagasContextPrecision.ts +1 -1
  608. package/src/funcs/evalsRagasContextRecall.ts +1 -1
  609. package/src/funcs/evalsRagasCorrectness.ts +1 -1
  610. package/src/funcs/evalsRagasFaithfulness.ts +1 -1
  611. package/src/funcs/evalsRagasHarmfulness.ts +1 -1
  612. package/src/funcs/evalsRagasMaliciousness.ts +1 -1
  613. package/src/funcs/evalsRagasNoiseSensitivity.ts +1 -1
  614. package/src/funcs/evalsRagasResponseRelevancy.ts +1 -1
  615. package/src/funcs/evalsRagasSummarization.ts +1 -1
  616. package/src/funcs/evalsSentimentClassification.ts +1 -1
  617. package/src/funcs/evalsSummarization.ts +1 -1
  618. package/src/funcs/evalsToneOfVoice.ts +1 -1
  619. package/src/funcs/evalsTranslation.ts +1 -1
  620. package/src/funcs/evalsUpdate.ts +1 -1
  621. package/src/funcs/evalsValidJson.ts +1 -1
  622. package/src/funcs/feedbackCreate.ts +1 -1
  623. package/src/funcs/filesCreate.ts +1 -1
  624. package/src/funcs/filesDelete.ts +1 -1
  625. package/src/funcs/filesGet.ts +1 -1
  626. package/src/funcs/filesList.ts +1 -1
  627. package/src/funcs/knowledgeCreate.ts +1 -1
  628. package/src/funcs/knowledgeCreateChunks.ts +1 -1
  629. package/src/funcs/knowledgeCreateDatasource.ts +1 -1
  630. package/src/funcs/knowledgeDelete.ts +1 -1
  631. package/src/funcs/knowledgeDeleteChunk.ts +1 -1
  632. package/src/funcs/knowledgeDeleteDatasource.ts +1 -1
  633. package/src/funcs/knowledgeList.ts +1 -1
  634. package/src/funcs/knowledgeListChunks.ts +1 -1
  635. package/src/funcs/knowledgeListDatasources.ts +1 -1
  636. package/src/funcs/knowledgeRetrieve.ts +1 -1
  637. package/src/funcs/knowledgeRetrieveChunk.ts +1 -1
  638. package/src/funcs/knowledgeRetrieveDatasource.ts +1 -1
  639. package/src/funcs/knowledgeSearch.ts +1 -1
  640. package/src/funcs/knowledgeUpdate.ts +1 -1
  641. package/src/funcs/knowledgeUpdateChunk.ts +1 -1
  642. package/src/funcs/knowledgeUpdateDatasource.ts +1 -1
  643. package/src/funcs/memoryStoresCreate.ts +1 -1
  644. package/src/funcs/memoryStoresCreateDocument.ts +1 -1
  645. package/src/funcs/memoryStoresCreateMemory.ts +1 -1
  646. package/src/funcs/memoryStoresDelete.ts +1 -1
  647. package/src/funcs/memoryStoresDeleteDocument.ts +1 -1
  648. package/src/funcs/memoryStoresDeleteMemory.ts +1 -1
  649. package/src/funcs/memoryStoresList.ts +1 -1
  650. package/src/funcs/memoryStoresListDocuments.ts +1 -1
  651. package/src/funcs/memoryStoresListMemories.ts +1 -1
  652. package/src/funcs/memoryStoresRetrieve.ts +1 -1
  653. package/src/funcs/memoryStoresRetrieveDocument.ts +1 -1
  654. package/src/funcs/memoryStoresRetrieveMemory.ts +1 -1
  655. package/src/funcs/memoryStoresUpdate.ts +1 -1
  656. package/src/funcs/memoryStoresUpdateDocument.ts +1 -1
  657. package/src/funcs/memoryStoresUpdateMemory.ts +1 -1
  658. package/src/funcs/modelsList.ts +1 -1
  659. package/src/funcs/promptsCreate.ts +1 -1
  660. package/src/funcs/promptsDelete.ts +1 -1
  661. package/src/funcs/promptsGetVersion.ts +1 -1
  662. package/src/funcs/promptsList.ts +1 -1
  663. package/src/funcs/promptsListVersions.ts +1 -1
  664. package/src/funcs/promptsRetrieve.ts +1 -1
  665. package/src/funcs/promptsUpdate.ts +1 -1
  666. package/src/funcs/remoteconfigsRetrieve.ts +1 -1
  667. package/src/funcs/toolsCreate.ts +1 -1
  668. package/src/funcs/toolsDelete.ts +1 -1
  669. package/src/funcs/toolsDuplicate.ts +1 -1
  670. package/src/funcs/toolsList.ts +1 -1
  671. package/src/funcs/toolsRetrieve.ts +1 -1
  672. package/src/funcs/toolsUpdate.ts +1 -1
  673. package/src/lib/config.ts +3 -3
  674. package/src/mcp-server/mcp-server.ts +1 -1
  675. package/src/mcp-server/server.ts +4 -2
  676. package/src/mcp-server/tools/agentsListTasks.ts +37 -0
  677. package/src/mcp-server/tools/agentsRetrieve.ts +1 -1
  678. package/src/models/errors/index.ts +1 -0
  679. package/src/models/errors/listagenttasks.ts +80 -0
  680. package/src/models/operations/createbudget.ts +2 -2
  681. package/src/models/operations/createcontact.ts +2 -2
  682. package/src/models/operations/createdataset.ts +2 -2
  683. package/src/models/operations/createdatasetitem.ts +2 -2
  684. package/src/models/operations/createdatasource.ts +2 -2
  685. package/src/models/operations/createeval.ts +28 -28
  686. package/src/models/operations/createtool.ts +14 -14
  687. package/src/models/operations/duplicatetool.ts +10 -10
  688. package/src/models/operations/fileget.ts +2 -2
  689. package/src/models/operations/filelist.ts +2 -2
  690. package/src/models/operations/fileupload.ts +2 -2
  691. package/src/models/operations/getagent.ts +23 -15
  692. package/src/models/operations/getalltools.ts +10 -10
  693. package/src/models/operations/getbudget.ts +2 -2
  694. package/src/models/operations/getevals.ts +28 -28
  695. package/src/models/operations/index.ts +1 -0
  696. package/src/models/operations/listagents.ts +10 -10
  697. package/src/models/operations/listagenttasks.ts +1099 -0
  698. package/src/models/operations/listbudgets.ts +2 -2
  699. package/src/models/operations/listchunks.ts +21 -21
  700. package/src/models/operations/listcontacts.ts +2 -2
  701. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  702. package/src/models/operations/listdatasets.ts +2 -2
  703. package/src/models/operations/listdatasources.ts +29 -22
  704. package/src/models/operations/retrievecontact.ts +2 -2
  705. package/src/models/operations/retrievedatapoint.ts +2 -2
  706. package/src/models/operations/retrievedataset.ts +2 -2
  707. package/src/models/operations/retrievedatasource.ts +2 -2
  708. package/src/models/operations/retrievetool.ts +10 -10
  709. package/src/models/operations/runagent.ts +2 -2
  710. package/src/models/operations/streamrunagent.ts +2 -2
  711. package/src/models/operations/updatebudget.ts +2 -2
  712. package/src/models/operations/updatecontact.ts +2 -2
  713. package/src/models/operations/updatedatapoint.ts +2 -2
  714. package/src/models/operations/updatedataset.ts +2 -2
  715. package/src/models/operations/updatedatasource.ts +2 -2
  716. package/src/models/operations/updateeval.ts +28 -28
  717. package/src/models/operations/updatetool.ts +14 -14
  718. package/src/sdk/agents.ts +25 -7
  719. package/docs/sdks/orq/README.md +0 -10
  720. package/packages/orq-rc/docs/sdks/orq/README.md +0 -10
@@ -499,6 +499,172 @@ export type RetrieveDatapointMessages =
499
499
  | RetrieveDatapointMessagesUserMessage
500
500
  | RetrieveDatapointMessagesAssistantMessage;
501
501
 
502
+ /**
503
+ * The type of evaluation
504
+ */
505
+ export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType = {
506
+ HumanReview: "human_review",
507
+ } as const;
508
+ /**
509
+ * The type of evaluation
510
+ */
511
+ export type RetrieveDatapointEvaluationsDatasetsResponseEvaluationType =
512
+ ClosedEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseEvaluationType>;
513
+
514
+ export const RetrieveDatapointEvaluationsDatasetsResponseSource = {
515
+ Orq: "orq",
516
+ External: "external",
517
+ } as const;
518
+ export type RetrieveDatapointEvaluationsDatasetsResponseSource = ClosedEnum<
519
+ typeof RetrieveDatapointEvaluationsDatasetsResponseSource
520
+ >;
521
+
522
+ export const RetrieveDatapointEvaluationsDatasetsResponseType = {
523
+ StringArray: "string_array",
524
+ } as const;
525
+ export type RetrieveDatapointEvaluationsDatasetsResponseType = ClosedEnum<
526
+ typeof RetrieveDatapointEvaluationsDatasetsResponseType
527
+ >;
528
+
529
+ export type RetrieveDatapointEvaluations3 = {
530
+ /**
531
+ * The unique identifier of the human evaluation
532
+ */
533
+ id: string;
534
+ /**
535
+ * The type of evaluation
536
+ */
537
+ evaluationType: RetrieveDatapointEvaluationsDatasetsResponseEvaluationType;
538
+ /**
539
+ * The unique identifier of the human review
540
+ */
541
+ humanReviewId: string;
542
+ source?: RetrieveDatapointEvaluationsDatasetsResponseSource | undefined;
543
+ /**
544
+ * The unique identifier of the user who reviewed the item
545
+ */
546
+ reviewedById: string;
547
+ /**
548
+ * The date and time the item was reviewed
549
+ */
550
+ reviewedAt?: Date | undefined;
551
+ type: RetrieveDatapointEvaluationsDatasetsResponseType;
552
+ values: Array<string>;
553
+ };
554
+
555
+ /**
556
+ * The type of evaluation
557
+ */
558
+ export const RetrieveDatapointEvaluationsDatasetsEvaluationType = {
559
+ HumanReview: "human_review",
560
+ } as const;
561
+ /**
562
+ * The type of evaluation
563
+ */
564
+ export type RetrieveDatapointEvaluationsDatasetsEvaluationType = ClosedEnum<
565
+ typeof RetrieveDatapointEvaluationsDatasetsEvaluationType
566
+ >;
567
+
568
+ export const RetrieveDatapointEvaluationsDatasetsSource = {
569
+ Orq: "orq",
570
+ External: "external",
571
+ } as const;
572
+ export type RetrieveDatapointEvaluationsDatasetsSource = ClosedEnum<
573
+ typeof RetrieveDatapointEvaluationsDatasetsSource
574
+ >;
575
+
576
+ export const RetrieveDatapointEvaluationsDatasetsType = {
577
+ Number: "number",
578
+ } as const;
579
+ export type RetrieveDatapointEvaluationsDatasetsType = ClosedEnum<
580
+ typeof RetrieveDatapointEvaluationsDatasetsType
581
+ >;
582
+
583
+ export type RetrieveDatapointEvaluations2 = {
584
+ /**
585
+ * The unique identifier of the human evaluation
586
+ */
587
+ id: string;
588
+ /**
589
+ * The type of evaluation
590
+ */
591
+ evaluationType: RetrieveDatapointEvaluationsDatasetsEvaluationType;
592
+ /**
593
+ * The unique identifier of the human review
594
+ */
595
+ humanReviewId: string;
596
+ source?: RetrieveDatapointEvaluationsDatasetsSource | undefined;
597
+ /**
598
+ * The unique identifier of the user who reviewed the item
599
+ */
600
+ reviewedById: string;
601
+ /**
602
+ * The date and time the item was reviewed
603
+ */
604
+ reviewedAt?: Date | undefined;
605
+ type: RetrieveDatapointEvaluationsDatasetsType;
606
+ value: number;
607
+ };
608
+
609
+ /**
610
+ * The type of evaluation
611
+ */
612
+ export const RetrieveDatapointEvaluationsEvaluationType = {
613
+ HumanReview: "human_review",
614
+ } as const;
615
+ /**
616
+ * The type of evaluation
617
+ */
618
+ export type RetrieveDatapointEvaluationsEvaluationType = ClosedEnum<
619
+ typeof RetrieveDatapointEvaluationsEvaluationType
620
+ >;
621
+
622
+ export const RetrieveDatapointEvaluationsSource = {
623
+ Orq: "orq",
624
+ External: "external",
625
+ } as const;
626
+ export type RetrieveDatapointEvaluationsSource = ClosedEnum<
627
+ typeof RetrieveDatapointEvaluationsSource
628
+ >;
629
+
630
+ export const RetrieveDatapointEvaluationsType = {
631
+ String: "string",
632
+ } as const;
633
+ export type RetrieveDatapointEvaluationsType = ClosedEnum<
634
+ typeof RetrieveDatapointEvaluationsType
635
+ >;
636
+
637
+ export type RetrieveDatapointEvaluations1 = {
638
+ /**
639
+ * The unique identifier of the human evaluation
640
+ */
641
+ id: string;
642
+ /**
643
+ * The type of evaluation
644
+ */
645
+ evaluationType: RetrieveDatapointEvaluationsEvaluationType;
646
+ /**
647
+ * The unique identifier of the human review
648
+ */
649
+ humanReviewId: string;
650
+ source?: RetrieveDatapointEvaluationsSource | undefined;
651
+ /**
652
+ * The unique identifier of the user who reviewed the item
653
+ */
654
+ reviewedById: string;
655
+ /**
656
+ * The date and time the item was reviewed
657
+ */
658
+ reviewedAt?: Date | undefined;
659
+ type: RetrieveDatapointEvaluationsType;
660
+ value: string;
661
+ };
662
+
663
+ export type RetrieveDatapointEvaluations =
664
+ | RetrieveDatapointEvaluations1
665
+ | RetrieveDatapointEvaluations2
666
+ | RetrieveDatapointEvaluations3;
667
+
502
668
  /**
503
669
  * Datapoint retrieved.
504
670
  */
@@ -528,10 +694,24 @@ export type RetrieveDatapointResponseBody = {
528
694
  >
529
695
  | undefined;
530
696
  expectedOutput?: string | undefined;
697
+ /**
698
+ * Evaluations associated with the datapoint
699
+ */
700
+ evaluations?:
701
+ | Array<
702
+ | RetrieveDatapointEvaluations1
703
+ | RetrieveDatapointEvaluations2
704
+ | RetrieveDatapointEvaluations3
705
+ >
706
+ | undefined;
531
707
  /**
532
708
  * The unique identifier of the dataset
533
709
  */
534
710
  datasetId: string;
711
+ /**
712
+ * The version of the dataset snapshot
713
+ */
714
+ snapshotVersion?: string | undefined;
535
715
  /**
536
716
  * The unique identifier of the user who created the dataset
537
717
  */
@@ -2933,6 +3113,565 @@ export function retrieveDatapointMessagesFromJSON(
2933
3113
  );
2934
3114
  }
2935
3115
 
3116
+ /** @internal */
3117
+ export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema:
3118
+ z.ZodNativeEnum<
3119
+ typeof RetrieveDatapointEvaluationsDatasetsResponseEvaluationType
3120
+ > = z.nativeEnum(RetrieveDatapointEvaluationsDatasetsResponseEvaluationType);
3121
+
3122
+ /** @internal */
3123
+ export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$outboundSchema:
3124
+ z.ZodNativeEnum<
3125
+ typeof RetrieveDatapointEvaluationsDatasetsResponseEvaluationType
3126
+ > = RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema;
3127
+
3128
+ /**
3129
+ * @internal
3130
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3131
+ */
3132
+ export namespace RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$ {
3133
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema` instead. */
3134
+ export const inboundSchema =
3135
+ RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema;
3136
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$outboundSchema` instead. */
3137
+ export const outboundSchema =
3138
+ RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$outboundSchema;
3139
+ }
3140
+
3141
+ /** @internal */
3142
+ export const RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema:
3143
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseSource> = z
3144
+ .nativeEnum(RetrieveDatapointEvaluationsDatasetsResponseSource);
3145
+
3146
+ /** @internal */
3147
+ export const RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema:
3148
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseSource> =
3149
+ RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema;
3150
+
3151
+ /**
3152
+ * @internal
3153
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3154
+ */
3155
+ export namespace RetrieveDatapointEvaluationsDatasetsResponseSource$ {
3156
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema` instead. */
3157
+ export const inboundSchema =
3158
+ RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema;
3159
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema` instead. */
3160
+ export const outboundSchema =
3161
+ RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema;
3162
+ }
3163
+
3164
+ /** @internal */
3165
+ export const RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema:
3166
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseType> = z
3167
+ .nativeEnum(RetrieveDatapointEvaluationsDatasetsResponseType);
3168
+
3169
+ /** @internal */
3170
+ export const RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema:
3171
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseType> =
3172
+ RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema;
3173
+
3174
+ /**
3175
+ * @internal
3176
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3177
+ */
3178
+ export namespace RetrieveDatapointEvaluationsDatasetsResponseType$ {
3179
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema` instead. */
3180
+ export const inboundSchema =
3181
+ RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema;
3182
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema` instead. */
3183
+ export const outboundSchema =
3184
+ RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema;
3185
+ }
3186
+
3187
+ /** @internal */
3188
+ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
3189
+ RetrieveDatapointEvaluations3,
3190
+ z.ZodTypeDef,
3191
+ unknown
3192
+ > = z.object({
3193
+ id: z.string(),
3194
+ evaluation_type:
3195
+ RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema,
3196
+ human_review_id: z.string(),
3197
+ source: RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema
3198
+ .default("orq"),
3199
+ reviewed_by_id: z.string(),
3200
+ reviewed_at: z.string().datetime({ offset: true }).default(
3201
+ "2025-10-14T05:25:51.133Z",
3202
+ ).transform(v => new Date(v)),
3203
+ type: RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema,
3204
+ values: z.array(z.string()),
3205
+ }).transform((v) => {
3206
+ return remap$(v, {
3207
+ "evaluation_type": "evaluationType",
3208
+ "human_review_id": "humanReviewId",
3209
+ "reviewed_by_id": "reviewedById",
3210
+ "reviewed_at": "reviewedAt",
3211
+ });
3212
+ });
3213
+
3214
+ /** @internal */
3215
+ export type RetrieveDatapointEvaluations3$Outbound = {
3216
+ id: string;
3217
+ evaluation_type: string;
3218
+ human_review_id: string;
3219
+ source: string;
3220
+ reviewed_by_id: string;
3221
+ reviewed_at: string;
3222
+ type: string;
3223
+ values: Array<string>;
3224
+ };
3225
+
3226
+ /** @internal */
3227
+ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
3228
+ RetrieveDatapointEvaluations3$Outbound,
3229
+ z.ZodTypeDef,
3230
+ RetrieveDatapointEvaluations3
3231
+ > = z.object({
3232
+ id: z.string(),
3233
+ evaluationType:
3234
+ RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$outboundSchema,
3235
+ humanReviewId: z.string(),
3236
+ source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
3237
+ .default("orq"),
3238
+ reviewedById: z.string(),
3239
+ reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.133Z"))
3240
+ .transform(v => v.toISOString()),
3241
+ type: RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema,
3242
+ values: z.array(z.string()),
3243
+ }).transform((v) => {
3244
+ return remap$(v, {
3245
+ evaluationType: "evaluation_type",
3246
+ humanReviewId: "human_review_id",
3247
+ reviewedById: "reviewed_by_id",
3248
+ reviewedAt: "reviewed_at",
3249
+ });
3250
+ });
3251
+
3252
+ /**
3253
+ * @internal
3254
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3255
+ */
3256
+ export namespace RetrieveDatapointEvaluations3$ {
3257
+ /** @deprecated use `RetrieveDatapointEvaluations3$inboundSchema` instead. */
3258
+ export const inboundSchema = RetrieveDatapointEvaluations3$inboundSchema;
3259
+ /** @deprecated use `RetrieveDatapointEvaluations3$outboundSchema` instead. */
3260
+ export const outboundSchema = RetrieveDatapointEvaluations3$outboundSchema;
3261
+ /** @deprecated use `RetrieveDatapointEvaluations3$Outbound` instead. */
3262
+ export type Outbound = RetrieveDatapointEvaluations3$Outbound;
3263
+ }
3264
+
3265
+ export function retrieveDatapointEvaluations3ToJSON(
3266
+ retrieveDatapointEvaluations3: RetrieveDatapointEvaluations3,
3267
+ ): string {
3268
+ return JSON.stringify(
3269
+ RetrieveDatapointEvaluations3$outboundSchema.parse(
3270
+ retrieveDatapointEvaluations3,
3271
+ ),
3272
+ );
3273
+ }
3274
+
3275
+ export function retrieveDatapointEvaluations3FromJSON(
3276
+ jsonString: string,
3277
+ ): SafeParseResult<RetrieveDatapointEvaluations3, SDKValidationError> {
3278
+ return safeParse(
3279
+ jsonString,
3280
+ (x) => RetrieveDatapointEvaluations3$inboundSchema.parse(JSON.parse(x)),
3281
+ `Failed to parse 'RetrieveDatapointEvaluations3' from JSON`,
3282
+ );
3283
+ }
3284
+
3285
+ /** @internal */
3286
+ export const RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema:
3287
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsEvaluationType> = z
3288
+ .nativeEnum(RetrieveDatapointEvaluationsDatasetsEvaluationType);
3289
+
3290
+ /** @internal */
3291
+ export const RetrieveDatapointEvaluationsDatasetsEvaluationType$outboundSchema:
3292
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsEvaluationType> =
3293
+ RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema;
3294
+
3295
+ /**
3296
+ * @internal
3297
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3298
+ */
3299
+ export namespace RetrieveDatapointEvaluationsDatasetsEvaluationType$ {
3300
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema` instead. */
3301
+ export const inboundSchema =
3302
+ RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema;
3303
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsEvaluationType$outboundSchema` instead. */
3304
+ export const outboundSchema =
3305
+ RetrieveDatapointEvaluationsDatasetsEvaluationType$outboundSchema;
3306
+ }
3307
+
3308
+ /** @internal */
3309
+ export const RetrieveDatapointEvaluationsDatasetsSource$inboundSchema:
3310
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsSource> = z
3311
+ .nativeEnum(RetrieveDatapointEvaluationsDatasetsSource);
3312
+
3313
+ /** @internal */
3314
+ export const RetrieveDatapointEvaluationsDatasetsSource$outboundSchema:
3315
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsSource> =
3316
+ RetrieveDatapointEvaluationsDatasetsSource$inboundSchema;
3317
+
3318
+ /**
3319
+ * @internal
3320
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3321
+ */
3322
+ export namespace RetrieveDatapointEvaluationsDatasetsSource$ {
3323
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsSource$inboundSchema` instead. */
3324
+ export const inboundSchema =
3325
+ RetrieveDatapointEvaluationsDatasetsSource$inboundSchema;
3326
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsSource$outboundSchema` instead. */
3327
+ export const outboundSchema =
3328
+ RetrieveDatapointEvaluationsDatasetsSource$outboundSchema;
3329
+ }
3330
+
3331
+ /** @internal */
3332
+ export const RetrieveDatapointEvaluationsDatasetsType$inboundSchema:
3333
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsType> = z
3334
+ .nativeEnum(RetrieveDatapointEvaluationsDatasetsType);
3335
+
3336
+ /** @internal */
3337
+ export const RetrieveDatapointEvaluationsDatasetsType$outboundSchema:
3338
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsType> =
3339
+ RetrieveDatapointEvaluationsDatasetsType$inboundSchema;
3340
+
3341
+ /**
3342
+ * @internal
3343
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3344
+ */
3345
+ export namespace RetrieveDatapointEvaluationsDatasetsType$ {
3346
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsType$inboundSchema` instead. */
3347
+ export const inboundSchema =
3348
+ RetrieveDatapointEvaluationsDatasetsType$inboundSchema;
3349
+ /** @deprecated use `RetrieveDatapointEvaluationsDatasetsType$outboundSchema` instead. */
3350
+ export const outboundSchema =
3351
+ RetrieveDatapointEvaluationsDatasetsType$outboundSchema;
3352
+ }
3353
+
3354
+ /** @internal */
3355
+ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
3356
+ RetrieveDatapointEvaluations2,
3357
+ z.ZodTypeDef,
3358
+ unknown
3359
+ > = z.object({
3360
+ id: z.string(),
3361
+ evaluation_type:
3362
+ RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema,
3363
+ human_review_id: z.string(),
3364
+ source: RetrieveDatapointEvaluationsDatasetsSource$inboundSchema.default(
3365
+ "orq",
3366
+ ),
3367
+ reviewed_by_id: z.string(),
3368
+ reviewed_at: z.string().datetime({ offset: true }).default(
3369
+ "2025-10-14T05:25:51.133Z",
3370
+ ).transform(v => new Date(v)),
3371
+ type: RetrieveDatapointEvaluationsDatasetsType$inboundSchema,
3372
+ value: z.number(),
3373
+ }).transform((v) => {
3374
+ return remap$(v, {
3375
+ "evaluation_type": "evaluationType",
3376
+ "human_review_id": "humanReviewId",
3377
+ "reviewed_by_id": "reviewedById",
3378
+ "reviewed_at": "reviewedAt",
3379
+ });
3380
+ });
3381
+
3382
+ /** @internal */
3383
+ export type RetrieveDatapointEvaluations2$Outbound = {
3384
+ id: string;
3385
+ evaluation_type: string;
3386
+ human_review_id: string;
3387
+ source: string;
3388
+ reviewed_by_id: string;
3389
+ reviewed_at: string;
3390
+ type: string;
3391
+ value: number;
3392
+ };
3393
+
3394
+ /** @internal */
3395
+ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
3396
+ RetrieveDatapointEvaluations2$Outbound,
3397
+ z.ZodTypeDef,
3398
+ RetrieveDatapointEvaluations2
3399
+ > = z.object({
3400
+ id: z.string(),
3401
+ evaluationType:
3402
+ RetrieveDatapointEvaluationsDatasetsEvaluationType$outboundSchema,
3403
+ humanReviewId: z.string(),
3404
+ source: RetrieveDatapointEvaluationsDatasetsSource$outboundSchema.default(
3405
+ "orq",
3406
+ ),
3407
+ reviewedById: z.string(),
3408
+ reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.133Z"))
3409
+ .transform(v => v.toISOString()),
3410
+ type: RetrieveDatapointEvaluationsDatasetsType$outboundSchema,
3411
+ value: z.number(),
3412
+ }).transform((v) => {
3413
+ return remap$(v, {
3414
+ evaluationType: "evaluation_type",
3415
+ humanReviewId: "human_review_id",
3416
+ reviewedById: "reviewed_by_id",
3417
+ reviewedAt: "reviewed_at",
3418
+ });
3419
+ });
3420
+
3421
+ /**
3422
+ * @internal
3423
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3424
+ */
3425
+ export namespace RetrieveDatapointEvaluations2$ {
3426
+ /** @deprecated use `RetrieveDatapointEvaluations2$inboundSchema` instead. */
3427
+ export const inboundSchema = RetrieveDatapointEvaluations2$inboundSchema;
3428
+ /** @deprecated use `RetrieveDatapointEvaluations2$outboundSchema` instead. */
3429
+ export const outboundSchema = RetrieveDatapointEvaluations2$outboundSchema;
3430
+ /** @deprecated use `RetrieveDatapointEvaluations2$Outbound` instead. */
3431
+ export type Outbound = RetrieveDatapointEvaluations2$Outbound;
3432
+ }
3433
+
3434
+ export function retrieveDatapointEvaluations2ToJSON(
3435
+ retrieveDatapointEvaluations2: RetrieveDatapointEvaluations2,
3436
+ ): string {
3437
+ return JSON.stringify(
3438
+ RetrieveDatapointEvaluations2$outboundSchema.parse(
3439
+ retrieveDatapointEvaluations2,
3440
+ ),
3441
+ );
3442
+ }
3443
+
3444
+ export function retrieveDatapointEvaluations2FromJSON(
3445
+ jsonString: string,
3446
+ ): SafeParseResult<RetrieveDatapointEvaluations2, SDKValidationError> {
3447
+ return safeParse(
3448
+ jsonString,
3449
+ (x) => RetrieveDatapointEvaluations2$inboundSchema.parse(JSON.parse(x)),
3450
+ `Failed to parse 'RetrieveDatapointEvaluations2' from JSON`,
3451
+ );
3452
+ }
3453
+
3454
+ /** @internal */
3455
+ export const RetrieveDatapointEvaluationsEvaluationType$inboundSchema:
3456
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsEvaluationType> = z
3457
+ .nativeEnum(RetrieveDatapointEvaluationsEvaluationType);
3458
+
3459
+ /** @internal */
3460
+ export const RetrieveDatapointEvaluationsEvaluationType$outboundSchema:
3461
+ z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsEvaluationType> =
3462
+ RetrieveDatapointEvaluationsEvaluationType$inboundSchema;
3463
+
3464
+ /**
3465
+ * @internal
3466
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3467
+ */
3468
+ export namespace RetrieveDatapointEvaluationsEvaluationType$ {
3469
+ /** @deprecated use `RetrieveDatapointEvaluationsEvaluationType$inboundSchema` instead. */
3470
+ export const inboundSchema =
3471
+ RetrieveDatapointEvaluationsEvaluationType$inboundSchema;
3472
+ /** @deprecated use `RetrieveDatapointEvaluationsEvaluationType$outboundSchema` instead. */
3473
+ export const outboundSchema =
3474
+ RetrieveDatapointEvaluationsEvaluationType$outboundSchema;
3475
+ }
3476
+
3477
+ /** @internal */
3478
+ export const RetrieveDatapointEvaluationsSource$inboundSchema: z.ZodNativeEnum<
3479
+ typeof RetrieveDatapointEvaluationsSource
3480
+ > = z.nativeEnum(RetrieveDatapointEvaluationsSource);
3481
+
3482
+ /** @internal */
3483
+ export const RetrieveDatapointEvaluationsSource$outboundSchema: z.ZodNativeEnum<
3484
+ typeof RetrieveDatapointEvaluationsSource
3485
+ > = RetrieveDatapointEvaluationsSource$inboundSchema;
3486
+
3487
+ /**
3488
+ * @internal
3489
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3490
+ */
3491
+ export namespace RetrieveDatapointEvaluationsSource$ {
3492
+ /** @deprecated use `RetrieveDatapointEvaluationsSource$inboundSchema` instead. */
3493
+ export const inboundSchema = RetrieveDatapointEvaluationsSource$inboundSchema;
3494
+ /** @deprecated use `RetrieveDatapointEvaluationsSource$outboundSchema` instead. */
3495
+ export const outboundSchema =
3496
+ RetrieveDatapointEvaluationsSource$outboundSchema;
3497
+ }
3498
+
3499
+ /** @internal */
3500
+ export const RetrieveDatapointEvaluationsType$inboundSchema: z.ZodNativeEnum<
3501
+ typeof RetrieveDatapointEvaluationsType
3502
+ > = z.nativeEnum(RetrieveDatapointEvaluationsType);
3503
+
3504
+ /** @internal */
3505
+ export const RetrieveDatapointEvaluationsType$outboundSchema: z.ZodNativeEnum<
3506
+ typeof RetrieveDatapointEvaluationsType
3507
+ > = RetrieveDatapointEvaluationsType$inboundSchema;
3508
+
3509
+ /**
3510
+ * @internal
3511
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3512
+ */
3513
+ export namespace RetrieveDatapointEvaluationsType$ {
3514
+ /** @deprecated use `RetrieveDatapointEvaluationsType$inboundSchema` instead. */
3515
+ export const inboundSchema = RetrieveDatapointEvaluationsType$inboundSchema;
3516
+ /** @deprecated use `RetrieveDatapointEvaluationsType$outboundSchema` instead. */
3517
+ export const outboundSchema = RetrieveDatapointEvaluationsType$outboundSchema;
3518
+ }
3519
+
3520
+ /** @internal */
3521
+ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
3522
+ RetrieveDatapointEvaluations1,
3523
+ z.ZodTypeDef,
3524
+ unknown
3525
+ > = z.object({
3526
+ id: z.string(),
3527
+ evaluation_type: RetrieveDatapointEvaluationsEvaluationType$inboundSchema,
3528
+ human_review_id: z.string(),
3529
+ source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
3530
+ reviewed_by_id: z.string(),
3531
+ reviewed_at: z.string().datetime({ offset: true }).default(
3532
+ "2025-10-14T05:25:51.132Z",
3533
+ ).transform(v => new Date(v)),
3534
+ type: RetrieveDatapointEvaluationsType$inboundSchema,
3535
+ value: z.string(),
3536
+ }).transform((v) => {
3537
+ return remap$(v, {
3538
+ "evaluation_type": "evaluationType",
3539
+ "human_review_id": "humanReviewId",
3540
+ "reviewed_by_id": "reviewedById",
3541
+ "reviewed_at": "reviewedAt",
3542
+ });
3543
+ });
3544
+
3545
+ /** @internal */
3546
+ export type RetrieveDatapointEvaluations1$Outbound = {
3547
+ id: string;
3548
+ evaluation_type: string;
3549
+ human_review_id: string;
3550
+ source: string;
3551
+ reviewed_by_id: string;
3552
+ reviewed_at: string;
3553
+ type: string;
3554
+ value: string;
3555
+ };
3556
+
3557
+ /** @internal */
3558
+ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
3559
+ RetrieveDatapointEvaluations1$Outbound,
3560
+ z.ZodTypeDef,
3561
+ RetrieveDatapointEvaluations1
3562
+ > = z.object({
3563
+ id: z.string(),
3564
+ evaluationType: RetrieveDatapointEvaluationsEvaluationType$outboundSchema,
3565
+ humanReviewId: z.string(),
3566
+ source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
3567
+ reviewedById: z.string(),
3568
+ reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.132Z"))
3569
+ .transform(v => v.toISOString()),
3570
+ type: RetrieveDatapointEvaluationsType$outboundSchema,
3571
+ value: z.string(),
3572
+ }).transform((v) => {
3573
+ return remap$(v, {
3574
+ evaluationType: "evaluation_type",
3575
+ humanReviewId: "human_review_id",
3576
+ reviewedById: "reviewed_by_id",
3577
+ reviewedAt: "reviewed_at",
3578
+ });
3579
+ });
3580
+
3581
+ /**
3582
+ * @internal
3583
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3584
+ */
3585
+ export namespace RetrieveDatapointEvaluations1$ {
3586
+ /** @deprecated use `RetrieveDatapointEvaluations1$inboundSchema` instead. */
3587
+ export const inboundSchema = RetrieveDatapointEvaluations1$inboundSchema;
3588
+ /** @deprecated use `RetrieveDatapointEvaluations1$outboundSchema` instead. */
3589
+ export const outboundSchema = RetrieveDatapointEvaluations1$outboundSchema;
3590
+ /** @deprecated use `RetrieveDatapointEvaluations1$Outbound` instead. */
3591
+ export type Outbound = RetrieveDatapointEvaluations1$Outbound;
3592
+ }
3593
+
3594
+ export function retrieveDatapointEvaluations1ToJSON(
3595
+ retrieveDatapointEvaluations1: RetrieveDatapointEvaluations1,
3596
+ ): string {
3597
+ return JSON.stringify(
3598
+ RetrieveDatapointEvaluations1$outboundSchema.parse(
3599
+ retrieveDatapointEvaluations1,
3600
+ ),
3601
+ );
3602
+ }
3603
+
3604
+ export function retrieveDatapointEvaluations1FromJSON(
3605
+ jsonString: string,
3606
+ ): SafeParseResult<RetrieveDatapointEvaluations1, SDKValidationError> {
3607
+ return safeParse(
3608
+ jsonString,
3609
+ (x) => RetrieveDatapointEvaluations1$inboundSchema.parse(JSON.parse(x)),
3610
+ `Failed to parse 'RetrieveDatapointEvaluations1' from JSON`,
3611
+ );
3612
+ }
3613
+
3614
+ /** @internal */
3615
+ export const RetrieveDatapointEvaluations$inboundSchema: z.ZodType<
3616
+ RetrieveDatapointEvaluations,
3617
+ z.ZodTypeDef,
3618
+ unknown
3619
+ > = z.union([
3620
+ z.lazy(() => RetrieveDatapointEvaluations1$inboundSchema),
3621
+ z.lazy(() => RetrieveDatapointEvaluations2$inboundSchema),
3622
+ z.lazy(() => RetrieveDatapointEvaluations3$inboundSchema),
3623
+ ]);
3624
+
3625
+ /** @internal */
3626
+ export type RetrieveDatapointEvaluations$Outbound =
3627
+ | RetrieveDatapointEvaluations1$Outbound
3628
+ | RetrieveDatapointEvaluations2$Outbound
3629
+ | RetrieveDatapointEvaluations3$Outbound;
3630
+
3631
+ /** @internal */
3632
+ export const RetrieveDatapointEvaluations$outboundSchema: z.ZodType<
3633
+ RetrieveDatapointEvaluations$Outbound,
3634
+ z.ZodTypeDef,
3635
+ RetrieveDatapointEvaluations
3636
+ > = z.union([
3637
+ z.lazy(() => RetrieveDatapointEvaluations1$outboundSchema),
3638
+ z.lazy(() => RetrieveDatapointEvaluations2$outboundSchema),
3639
+ z.lazy(() => RetrieveDatapointEvaluations3$outboundSchema),
3640
+ ]);
3641
+
3642
+ /**
3643
+ * @internal
3644
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3645
+ */
3646
+ export namespace RetrieveDatapointEvaluations$ {
3647
+ /** @deprecated use `RetrieveDatapointEvaluations$inboundSchema` instead. */
3648
+ export const inboundSchema = RetrieveDatapointEvaluations$inboundSchema;
3649
+ /** @deprecated use `RetrieveDatapointEvaluations$outboundSchema` instead. */
3650
+ export const outboundSchema = RetrieveDatapointEvaluations$outboundSchema;
3651
+ /** @deprecated use `RetrieveDatapointEvaluations$Outbound` instead. */
3652
+ export type Outbound = RetrieveDatapointEvaluations$Outbound;
3653
+ }
3654
+
3655
+ export function retrieveDatapointEvaluationsToJSON(
3656
+ retrieveDatapointEvaluations: RetrieveDatapointEvaluations,
3657
+ ): string {
3658
+ return JSON.stringify(
3659
+ RetrieveDatapointEvaluations$outboundSchema.parse(
3660
+ retrieveDatapointEvaluations,
3661
+ ),
3662
+ );
3663
+ }
3664
+
3665
+ export function retrieveDatapointEvaluationsFromJSON(
3666
+ jsonString: string,
3667
+ ): SafeParseResult<RetrieveDatapointEvaluations, SDKValidationError> {
3668
+ return safeParse(
3669
+ jsonString,
3670
+ (x) => RetrieveDatapointEvaluations$inboundSchema.parse(JSON.parse(x)),
3671
+ `Failed to parse 'RetrieveDatapointEvaluations' from JSON`,
3672
+ );
3673
+ }
3674
+
2936
3675
  /** @internal */
2937
3676
  export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
2938
3677
  RetrieveDatapointResponseBody,
@@ -2952,13 +3691,21 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
2952
3691
  ]),
2953
3692
  ).optional(),
2954
3693
  expected_output: z.string().optional(),
3694
+ evaluations: z.array(
3695
+ z.union([
3696
+ z.lazy(() => RetrieveDatapointEvaluations1$inboundSchema),
3697
+ z.lazy(() => RetrieveDatapointEvaluations2$inboundSchema),
3698
+ z.lazy(() => RetrieveDatapointEvaluations3$inboundSchema),
3699
+ ]),
3700
+ ).optional(),
2955
3701
  dataset_id: z.string(),
3702
+ snapshot_version: z.string().optional(),
2956
3703
  created_by_id: z.string().optional(),
2957
3704
  updated_by_id: z.string().optional(),
2958
3705
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2959
3706
  .optional(),
2960
3707
  updated: z.string().datetime({ offset: true }).default(
2961
- "2025-10-03T13:53:58.021Z",
3708
+ "2025-10-14T05:25:41.367Z",
2962
3709
  ).transform(v => new Date(v)),
2963
3710
  }).transform((v) => {
2964
3711
  return remap$(v, {
@@ -2966,6 +3713,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
2966
3713
  "workspace_id": "workspaceId",
2967
3714
  "expected_output": "expectedOutput",
2968
3715
  "dataset_id": "datasetId",
3716
+ "snapshot_version": "snapshotVersion",
2969
3717
  "created_by_id": "createdById",
2970
3718
  "updated_by_id": "updatedById",
2971
3719
  });
@@ -2986,7 +3734,15 @@ export type RetrieveDatapointResponseBody$Outbound = {
2986
3734
  >
2987
3735
  | undefined;
2988
3736
  expected_output?: string | undefined;
3737
+ evaluations?:
3738
+ | Array<
3739
+ | RetrieveDatapointEvaluations1$Outbound
3740
+ | RetrieveDatapointEvaluations2$Outbound
3741
+ | RetrieveDatapointEvaluations3$Outbound
3742
+ >
3743
+ | undefined;
2989
3744
  dataset_id: string;
3745
+ snapshot_version?: string | undefined;
2990
3746
  created_by_id?: string | undefined;
2991
3747
  updated_by_id?: string | undefined;
2992
3748
  created?: string | undefined;
@@ -3012,11 +3768,19 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
3012
3768
  ]),
3013
3769
  ).optional(),
3014
3770
  expectedOutput: z.string().optional(),
3771
+ evaluations: z.array(
3772
+ z.union([
3773
+ z.lazy(() => RetrieveDatapointEvaluations1$outboundSchema),
3774
+ z.lazy(() => RetrieveDatapointEvaluations2$outboundSchema),
3775
+ z.lazy(() => RetrieveDatapointEvaluations3$outboundSchema),
3776
+ ]),
3777
+ ).optional(),
3015
3778
  datasetId: z.string(),
3779
+ snapshotVersion: z.string().optional(),
3016
3780
  createdById: z.string().optional(),
3017
3781
  updatedById: z.string().optional(),
3018
3782
  created: z.date().transform(v => v.toISOString()).optional(),
3019
- updated: z.date().default(() => new Date("2025-10-03T13:53:58.021Z"))
3783
+ updated: z.date().default(() => new Date("2025-10-14T05:25:41.367Z"))
3020
3784
  .transform(v => v.toISOString()),
3021
3785
  }).transform((v) => {
3022
3786
  return remap$(v, {
@@ -3024,6 +3788,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
3024
3788
  workspaceId: "workspace_id",
3025
3789
  expectedOutput: "expected_output",
3026
3790
  datasetId: "dataset_id",
3791
+ snapshotVersion: "snapshot_version",
3027
3792
  createdById: "created_by_id",
3028
3793
  updatedById: "updated_by_id",
3029
3794
  });