@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
@@ -1017,6 +1017,162 @@ export type CreateDatasetItemDatasetsMessages =
1017
1017
  | CreateDatasetItemMessagesDatasetsUserMessage
1018
1018
  | CreateDatasetItemMessagesDatasetsAssistantMessage;
1019
1019
 
1020
+ /**
1021
+ * The type of evaluation
1022
+ */
1023
+ export const CreateDatasetItemEvaluationsEvaluationType = {
1024
+ HumanReview: "human_review",
1025
+ } as const;
1026
+ /**
1027
+ * The type of evaluation
1028
+ */
1029
+ export type CreateDatasetItemEvaluationsEvaluationType = ClosedEnum<
1030
+ typeof CreateDatasetItemEvaluationsEvaluationType
1031
+ >;
1032
+
1033
+ export const CreateDatasetItemEvaluationsSource = {
1034
+ Orq: "orq",
1035
+ External: "external",
1036
+ } as const;
1037
+ export type CreateDatasetItemEvaluationsSource = ClosedEnum<
1038
+ typeof CreateDatasetItemEvaluationsSource
1039
+ >;
1040
+
1041
+ export const CreateDatasetItemEvaluationsDatasetsType = {
1042
+ StringArray: "string_array",
1043
+ } as const;
1044
+ export type CreateDatasetItemEvaluationsDatasetsType = ClosedEnum<
1045
+ typeof CreateDatasetItemEvaluationsDatasetsType
1046
+ >;
1047
+
1048
+ export type Evaluations3 = {
1049
+ /**
1050
+ * The unique identifier of the human evaluation
1051
+ */
1052
+ id: string;
1053
+ /**
1054
+ * The type of evaluation
1055
+ */
1056
+ evaluationType: CreateDatasetItemEvaluationsEvaluationType;
1057
+ /**
1058
+ * The unique identifier of the human review
1059
+ */
1060
+ humanReviewId: string;
1061
+ source?: CreateDatasetItemEvaluationsSource | undefined;
1062
+ /**
1063
+ * The unique identifier of the user who reviewed the item
1064
+ */
1065
+ reviewedById: string;
1066
+ /**
1067
+ * The date and time the item was reviewed
1068
+ */
1069
+ reviewedAt?: Date | undefined;
1070
+ type: CreateDatasetItemEvaluationsDatasetsType;
1071
+ values: Array<string>;
1072
+ };
1073
+
1074
+ /**
1075
+ * The type of evaluation
1076
+ */
1077
+ export const EvaluationsEvaluationType = {
1078
+ HumanReview: "human_review",
1079
+ } as const;
1080
+ /**
1081
+ * The type of evaluation
1082
+ */
1083
+ export type EvaluationsEvaluationType = ClosedEnum<
1084
+ typeof EvaluationsEvaluationType
1085
+ >;
1086
+
1087
+ export const EvaluationsSource = {
1088
+ Orq: "orq",
1089
+ External: "external",
1090
+ } as const;
1091
+ export type EvaluationsSource = ClosedEnum<typeof EvaluationsSource>;
1092
+
1093
+ export const CreateDatasetItemEvaluationsType = {
1094
+ Number: "number",
1095
+ } as const;
1096
+ export type CreateDatasetItemEvaluationsType = ClosedEnum<
1097
+ typeof CreateDatasetItemEvaluationsType
1098
+ >;
1099
+
1100
+ export type Evaluations2 = {
1101
+ /**
1102
+ * The unique identifier of the human evaluation
1103
+ */
1104
+ id: string;
1105
+ /**
1106
+ * The type of evaluation
1107
+ */
1108
+ evaluationType: EvaluationsEvaluationType;
1109
+ /**
1110
+ * The unique identifier of the human review
1111
+ */
1112
+ humanReviewId: string;
1113
+ source?: EvaluationsSource | undefined;
1114
+ /**
1115
+ * The unique identifier of the user who reviewed the item
1116
+ */
1117
+ reviewedById: string;
1118
+ /**
1119
+ * The date and time the item was reviewed
1120
+ */
1121
+ reviewedAt?: Date | undefined;
1122
+ type: CreateDatasetItemEvaluationsType;
1123
+ value: number;
1124
+ };
1125
+
1126
+ /**
1127
+ * The type of evaluation
1128
+ */
1129
+ export const EvaluationType = {
1130
+ HumanReview: "human_review",
1131
+ } as const;
1132
+ /**
1133
+ * The type of evaluation
1134
+ */
1135
+ export type EvaluationType = ClosedEnum<typeof EvaluationType>;
1136
+
1137
+ export const Source = {
1138
+ Orq: "orq",
1139
+ External: "external",
1140
+ } as const;
1141
+ export type Source = ClosedEnum<typeof Source>;
1142
+
1143
+ export const EvaluationsType = {
1144
+ String: "string",
1145
+ } as const;
1146
+ export type EvaluationsType = ClosedEnum<typeof EvaluationsType>;
1147
+
1148
+ export type Evaluations1 = {
1149
+ /**
1150
+ * The unique identifier of the human evaluation
1151
+ */
1152
+ id: string;
1153
+ /**
1154
+ * The type of evaluation
1155
+ */
1156
+ evaluationType: EvaluationType;
1157
+ /**
1158
+ * The unique identifier of the human review
1159
+ */
1160
+ humanReviewId: string;
1161
+ source?: Source | undefined;
1162
+ /**
1163
+ * The unique identifier of the user who reviewed the item
1164
+ */
1165
+ reviewedById: string;
1166
+ /**
1167
+ * The date and time the item was reviewed
1168
+ */
1169
+ reviewedAt?: Date | undefined;
1170
+ type: EvaluationsType;
1171
+ value: string;
1172
+ };
1173
+
1174
+ export type Evaluations = Evaluations1 | Evaluations2 | Evaluations3;
1175
+
1020
1176
  export type ResponseBody = {
1021
1177
  /**
1022
1178
  * The unique identifier of the dataset item
@@ -1043,10 +1199,18 @@ export type ResponseBody = {
1043
1199
  >
1044
1200
  | undefined;
1045
1201
  expectedOutput?: string | undefined;
1202
+ /**
1203
+ * Evaluations associated with the datapoint
1204
+ */
1205
+ evaluations?: Array<Evaluations1 | Evaluations2 | Evaluations3> | undefined;
1046
1206
  /**
1047
1207
  * The unique identifier of the dataset
1048
1208
  */
1049
1209
  datasetId: string;
1210
+ /**
1211
+ * The version of the dataset snapshot
1212
+ */
1213
+ snapshotVersion?: string | undefined;
1050
1214
  /**
1051
1215
  * The unique identifier of the user who created the dataset
1052
1216
  */
@@ -6052,6 +6216,517 @@ export function createDatasetItemDatasetsMessagesFromJSON(
6052
6216
  );
6053
6217
  }
6054
6218
 
6219
+ /** @internal */
6220
+ export const CreateDatasetItemEvaluationsEvaluationType$inboundSchema:
6221
+ z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsEvaluationType> = z
6222
+ .nativeEnum(CreateDatasetItemEvaluationsEvaluationType);
6223
+
6224
+ /** @internal */
6225
+ export const CreateDatasetItemEvaluationsEvaluationType$outboundSchema:
6226
+ z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsEvaluationType> =
6227
+ CreateDatasetItemEvaluationsEvaluationType$inboundSchema;
6228
+
6229
+ /**
6230
+ * @internal
6231
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6232
+ */
6233
+ export namespace CreateDatasetItemEvaluationsEvaluationType$ {
6234
+ /** @deprecated use `CreateDatasetItemEvaluationsEvaluationType$inboundSchema` instead. */
6235
+ export const inboundSchema =
6236
+ CreateDatasetItemEvaluationsEvaluationType$inboundSchema;
6237
+ /** @deprecated use `CreateDatasetItemEvaluationsEvaluationType$outboundSchema` instead. */
6238
+ export const outboundSchema =
6239
+ CreateDatasetItemEvaluationsEvaluationType$outboundSchema;
6240
+ }
6241
+
6242
+ /** @internal */
6243
+ export const CreateDatasetItemEvaluationsSource$inboundSchema: z.ZodNativeEnum<
6244
+ typeof CreateDatasetItemEvaluationsSource
6245
+ > = z.nativeEnum(CreateDatasetItemEvaluationsSource);
6246
+
6247
+ /** @internal */
6248
+ export const CreateDatasetItemEvaluationsSource$outboundSchema: z.ZodNativeEnum<
6249
+ typeof CreateDatasetItemEvaluationsSource
6250
+ > = CreateDatasetItemEvaluationsSource$inboundSchema;
6251
+
6252
+ /**
6253
+ * @internal
6254
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6255
+ */
6256
+ export namespace CreateDatasetItemEvaluationsSource$ {
6257
+ /** @deprecated use `CreateDatasetItemEvaluationsSource$inboundSchema` instead. */
6258
+ export const inboundSchema = CreateDatasetItemEvaluationsSource$inboundSchema;
6259
+ /** @deprecated use `CreateDatasetItemEvaluationsSource$outboundSchema` instead. */
6260
+ export const outboundSchema =
6261
+ CreateDatasetItemEvaluationsSource$outboundSchema;
6262
+ }
6263
+
6264
+ /** @internal */
6265
+ export const CreateDatasetItemEvaluationsDatasetsType$inboundSchema:
6266
+ z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsDatasetsType> = z
6267
+ .nativeEnum(CreateDatasetItemEvaluationsDatasetsType);
6268
+
6269
+ /** @internal */
6270
+ export const CreateDatasetItemEvaluationsDatasetsType$outboundSchema:
6271
+ z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsDatasetsType> =
6272
+ CreateDatasetItemEvaluationsDatasetsType$inboundSchema;
6273
+
6274
+ /**
6275
+ * @internal
6276
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6277
+ */
6278
+ export namespace CreateDatasetItemEvaluationsDatasetsType$ {
6279
+ /** @deprecated use `CreateDatasetItemEvaluationsDatasetsType$inboundSchema` instead. */
6280
+ export const inboundSchema =
6281
+ CreateDatasetItemEvaluationsDatasetsType$inboundSchema;
6282
+ /** @deprecated use `CreateDatasetItemEvaluationsDatasetsType$outboundSchema` instead. */
6283
+ export const outboundSchema =
6284
+ CreateDatasetItemEvaluationsDatasetsType$outboundSchema;
6285
+ }
6286
+
6287
+ /** @internal */
6288
+ export const Evaluations3$inboundSchema: z.ZodType<
6289
+ Evaluations3,
6290
+ z.ZodTypeDef,
6291
+ unknown
6292
+ > = z.object({
6293
+ id: z.string(),
6294
+ evaluation_type: CreateDatasetItemEvaluationsEvaluationType$inboundSchema,
6295
+ human_review_id: z.string(),
6296
+ source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
6297
+ reviewed_by_id: z.string(),
6298
+ reviewed_at: z.string().datetime({ offset: true }).default(
6299
+ "2025-10-14T05:25:51.137Z",
6300
+ ).transform(v => new Date(v)),
6301
+ type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
6302
+ values: z.array(z.string()),
6303
+ }).transform((v) => {
6304
+ return remap$(v, {
6305
+ "evaluation_type": "evaluationType",
6306
+ "human_review_id": "humanReviewId",
6307
+ "reviewed_by_id": "reviewedById",
6308
+ "reviewed_at": "reviewedAt",
6309
+ });
6310
+ });
6311
+
6312
+ /** @internal */
6313
+ export type Evaluations3$Outbound = {
6314
+ id: string;
6315
+ evaluation_type: string;
6316
+ human_review_id: string;
6317
+ source: string;
6318
+ reviewed_by_id: string;
6319
+ reviewed_at: string;
6320
+ type: string;
6321
+ values: Array<string>;
6322
+ };
6323
+
6324
+ /** @internal */
6325
+ export const Evaluations3$outboundSchema: z.ZodType<
6326
+ Evaluations3$Outbound,
6327
+ z.ZodTypeDef,
6328
+ Evaluations3
6329
+ > = z.object({
6330
+ id: z.string(),
6331
+ evaluationType: CreateDatasetItemEvaluationsEvaluationType$outboundSchema,
6332
+ humanReviewId: z.string(),
6333
+ source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
6334
+ reviewedById: z.string(),
6335
+ reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.137Z"))
6336
+ .transform(v => v.toISOString()),
6337
+ type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
6338
+ values: z.array(z.string()),
6339
+ }).transform((v) => {
6340
+ return remap$(v, {
6341
+ evaluationType: "evaluation_type",
6342
+ humanReviewId: "human_review_id",
6343
+ reviewedById: "reviewed_by_id",
6344
+ reviewedAt: "reviewed_at",
6345
+ });
6346
+ });
6347
+
6348
+ /**
6349
+ * @internal
6350
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6351
+ */
6352
+ export namespace Evaluations3$ {
6353
+ /** @deprecated use `Evaluations3$inboundSchema` instead. */
6354
+ export const inboundSchema = Evaluations3$inboundSchema;
6355
+ /** @deprecated use `Evaluations3$outboundSchema` instead. */
6356
+ export const outboundSchema = Evaluations3$outboundSchema;
6357
+ /** @deprecated use `Evaluations3$Outbound` instead. */
6358
+ export type Outbound = Evaluations3$Outbound;
6359
+ }
6360
+
6361
+ export function evaluations3ToJSON(evaluations3: Evaluations3): string {
6362
+ return JSON.stringify(Evaluations3$outboundSchema.parse(evaluations3));
6363
+ }
6364
+
6365
+ export function evaluations3FromJSON(
6366
+ jsonString: string,
6367
+ ): SafeParseResult<Evaluations3, SDKValidationError> {
6368
+ return safeParse(
6369
+ jsonString,
6370
+ (x) => Evaluations3$inboundSchema.parse(JSON.parse(x)),
6371
+ `Failed to parse 'Evaluations3' from JSON`,
6372
+ );
6373
+ }
6374
+
6375
+ /** @internal */
6376
+ export const EvaluationsEvaluationType$inboundSchema: z.ZodNativeEnum<
6377
+ typeof EvaluationsEvaluationType
6378
+ > = z.nativeEnum(EvaluationsEvaluationType);
6379
+
6380
+ /** @internal */
6381
+ export const EvaluationsEvaluationType$outboundSchema: z.ZodNativeEnum<
6382
+ typeof EvaluationsEvaluationType
6383
+ > = EvaluationsEvaluationType$inboundSchema;
6384
+
6385
+ /**
6386
+ * @internal
6387
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6388
+ */
6389
+ export namespace EvaluationsEvaluationType$ {
6390
+ /** @deprecated use `EvaluationsEvaluationType$inboundSchema` instead. */
6391
+ export const inboundSchema = EvaluationsEvaluationType$inboundSchema;
6392
+ /** @deprecated use `EvaluationsEvaluationType$outboundSchema` instead. */
6393
+ export const outboundSchema = EvaluationsEvaluationType$outboundSchema;
6394
+ }
6395
+
6396
+ /** @internal */
6397
+ export const EvaluationsSource$inboundSchema: z.ZodNativeEnum<
6398
+ typeof EvaluationsSource
6399
+ > = z.nativeEnum(EvaluationsSource);
6400
+
6401
+ /** @internal */
6402
+ export const EvaluationsSource$outboundSchema: z.ZodNativeEnum<
6403
+ typeof EvaluationsSource
6404
+ > = EvaluationsSource$inboundSchema;
6405
+
6406
+ /**
6407
+ * @internal
6408
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6409
+ */
6410
+ export namespace EvaluationsSource$ {
6411
+ /** @deprecated use `EvaluationsSource$inboundSchema` instead. */
6412
+ export const inboundSchema = EvaluationsSource$inboundSchema;
6413
+ /** @deprecated use `EvaluationsSource$outboundSchema` instead. */
6414
+ export const outboundSchema = EvaluationsSource$outboundSchema;
6415
+ }
6416
+
6417
+ /** @internal */
6418
+ export const CreateDatasetItemEvaluationsType$inboundSchema: z.ZodNativeEnum<
6419
+ typeof CreateDatasetItemEvaluationsType
6420
+ > = z.nativeEnum(CreateDatasetItemEvaluationsType);
6421
+
6422
+ /** @internal */
6423
+ export const CreateDatasetItemEvaluationsType$outboundSchema: z.ZodNativeEnum<
6424
+ typeof CreateDatasetItemEvaluationsType
6425
+ > = CreateDatasetItemEvaluationsType$inboundSchema;
6426
+
6427
+ /**
6428
+ * @internal
6429
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6430
+ */
6431
+ export namespace CreateDatasetItemEvaluationsType$ {
6432
+ /** @deprecated use `CreateDatasetItemEvaluationsType$inboundSchema` instead. */
6433
+ export const inboundSchema = CreateDatasetItemEvaluationsType$inboundSchema;
6434
+ /** @deprecated use `CreateDatasetItemEvaluationsType$outboundSchema` instead. */
6435
+ export const outboundSchema = CreateDatasetItemEvaluationsType$outboundSchema;
6436
+ }
6437
+
6438
+ /** @internal */
6439
+ export const Evaluations2$inboundSchema: z.ZodType<
6440
+ Evaluations2,
6441
+ z.ZodTypeDef,
6442
+ unknown
6443
+ > = z.object({
6444
+ id: z.string(),
6445
+ evaluation_type: EvaluationsEvaluationType$inboundSchema,
6446
+ human_review_id: z.string(),
6447
+ source: EvaluationsSource$inboundSchema.default("orq"),
6448
+ reviewed_by_id: z.string(),
6449
+ reviewed_at: z.string().datetime({ offset: true }).default(
6450
+ "2025-10-14T05:25:51.136Z",
6451
+ ).transform(v => new Date(v)),
6452
+ type: CreateDatasetItemEvaluationsType$inboundSchema,
6453
+ value: z.number(),
6454
+ }).transform((v) => {
6455
+ return remap$(v, {
6456
+ "evaluation_type": "evaluationType",
6457
+ "human_review_id": "humanReviewId",
6458
+ "reviewed_by_id": "reviewedById",
6459
+ "reviewed_at": "reviewedAt",
6460
+ });
6461
+ });
6462
+
6463
+ /** @internal */
6464
+ export type Evaluations2$Outbound = {
6465
+ id: string;
6466
+ evaluation_type: string;
6467
+ human_review_id: string;
6468
+ source: string;
6469
+ reviewed_by_id: string;
6470
+ reviewed_at: string;
6471
+ type: string;
6472
+ value: number;
6473
+ };
6474
+
6475
+ /** @internal */
6476
+ export const Evaluations2$outboundSchema: z.ZodType<
6477
+ Evaluations2$Outbound,
6478
+ z.ZodTypeDef,
6479
+ Evaluations2
6480
+ > = z.object({
6481
+ id: z.string(),
6482
+ evaluationType: EvaluationsEvaluationType$outboundSchema,
6483
+ humanReviewId: z.string(),
6484
+ source: EvaluationsSource$outboundSchema.default("orq"),
6485
+ reviewedById: z.string(),
6486
+ reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.136Z"))
6487
+ .transform(v => v.toISOString()),
6488
+ type: CreateDatasetItemEvaluationsType$outboundSchema,
6489
+ value: z.number(),
6490
+ }).transform((v) => {
6491
+ return remap$(v, {
6492
+ evaluationType: "evaluation_type",
6493
+ humanReviewId: "human_review_id",
6494
+ reviewedById: "reviewed_by_id",
6495
+ reviewedAt: "reviewed_at",
6496
+ });
6497
+ });
6498
+
6499
+ /**
6500
+ * @internal
6501
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6502
+ */
6503
+ export namespace Evaluations2$ {
6504
+ /** @deprecated use `Evaluations2$inboundSchema` instead. */
6505
+ export const inboundSchema = Evaluations2$inboundSchema;
6506
+ /** @deprecated use `Evaluations2$outboundSchema` instead. */
6507
+ export const outboundSchema = Evaluations2$outboundSchema;
6508
+ /** @deprecated use `Evaluations2$Outbound` instead. */
6509
+ export type Outbound = Evaluations2$Outbound;
6510
+ }
6511
+
6512
+ export function evaluations2ToJSON(evaluations2: Evaluations2): string {
6513
+ return JSON.stringify(Evaluations2$outboundSchema.parse(evaluations2));
6514
+ }
6515
+
6516
+ export function evaluations2FromJSON(
6517
+ jsonString: string,
6518
+ ): SafeParseResult<Evaluations2, SDKValidationError> {
6519
+ return safeParse(
6520
+ jsonString,
6521
+ (x) => Evaluations2$inboundSchema.parse(JSON.parse(x)),
6522
+ `Failed to parse 'Evaluations2' from JSON`,
6523
+ );
6524
+ }
6525
+
6526
+ /** @internal */
6527
+ export const EvaluationType$inboundSchema: z.ZodNativeEnum<
6528
+ typeof EvaluationType
6529
+ > = z.nativeEnum(EvaluationType);
6530
+
6531
+ /** @internal */
6532
+ export const EvaluationType$outboundSchema: z.ZodNativeEnum<
6533
+ typeof EvaluationType
6534
+ > = EvaluationType$inboundSchema;
6535
+
6536
+ /**
6537
+ * @internal
6538
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6539
+ */
6540
+ export namespace EvaluationType$ {
6541
+ /** @deprecated use `EvaluationType$inboundSchema` instead. */
6542
+ export const inboundSchema = EvaluationType$inboundSchema;
6543
+ /** @deprecated use `EvaluationType$outboundSchema` instead. */
6544
+ export const outboundSchema = EvaluationType$outboundSchema;
6545
+ }
6546
+
6547
+ /** @internal */
6548
+ export const Source$inboundSchema: z.ZodNativeEnum<typeof Source> = z
6549
+ .nativeEnum(Source);
6550
+
6551
+ /** @internal */
6552
+ export const Source$outboundSchema: z.ZodNativeEnum<typeof Source> =
6553
+ Source$inboundSchema;
6554
+
6555
+ /**
6556
+ * @internal
6557
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6558
+ */
6559
+ export namespace Source$ {
6560
+ /** @deprecated use `Source$inboundSchema` instead. */
6561
+ export const inboundSchema = Source$inboundSchema;
6562
+ /** @deprecated use `Source$outboundSchema` instead. */
6563
+ export const outboundSchema = Source$outboundSchema;
6564
+ }
6565
+
6566
+ /** @internal */
6567
+ export const EvaluationsType$inboundSchema: z.ZodNativeEnum<
6568
+ typeof EvaluationsType
6569
+ > = z.nativeEnum(EvaluationsType);
6570
+
6571
+ /** @internal */
6572
+ export const EvaluationsType$outboundSchema: z.ZodNativeEnum<
6573
+ typeof EvaluationsType
6574
+ > = EvaluationsType$inboundSchema;
6575
+
6576
+ /**
6577
+ * @internal
6578
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6579
+ */
6580
+ export namespace EvaluationsType$ {
6581
+ /** @deprecated use `EvaluationsType$inboundSchema` instead. */
6582
+ export const inboundSchema = EvaluationsType$inboundSchema;
6583
+ /** @deprecated use `EvaluationsType$outboundSchema` instead. */
6584
+ export const outboundSchema = EvaluationsType$outboundSchema;
6585
+ }
6586
+
6587
+ /** @internal */
6588
+ export const Evaluations1$inboundSchema: z.ZodType<
6589
+ Evaluations1,
6590
+ z.ZodTypeDef,
6591
+ unknown
6592
+ > = z.object({
6593
+ id: z.string(),
6594
+ evaluation_type: EvaluationType$inboundSchema,
6595
+ human_review_id: z.string(),
6596
+ source: Source$inboundSchema.default("orq"),
6597
+ reviewed_by_id: z.string(),
6598
+ reviewed_at: z.string().datetime({ offset: true }).default(
6599
+ "2025-10-14T05:25:51.136Z",
6600
+ ).transform(v => new Date(v)),
6601
+ type: EvaluationsType$inboundSchema,
6602
+ value: z.string(),
6603
+ }).transform((v) => {
6604
+ return remap$(v, {
6605
+ "evaluation_type": "evaluationType",
6606
+ "human_review_id": "humanReviewId",
6607
+ "reviewed_by_id": "reviewedById",
6608
+ "reviewed_at": "reviewedAt",
6609
+ });
6610
+ });
6611
+
6612
+ /** @internal */
6613
+ export type Evaluations1$Outbound = {
6614
+ id: string;
6615
+ evaluation_type: string;
6616
+ human_review_id: string;
6617
+ source: string;
6618
+ reviewed_by_id: string;
6619
+ reviewed_at: string;
6620
+ type: string;
6621
+ value: string;
6622
+ };
6623
+
6624
+ /** @internal */
6625
+ export const Evaluations1$outboundSchema: z.ZodType<
6626
+ Evaluations1$Outbound,
6627
+ z.ZodTypeDef,
6628
+ Evaluations1
6629
+ > = z.object({
6630
+ id: z.string(),
6631
+ evaluationType: EvaluationType$outboundSchema,
6632
+ humanReviewId: z.string(),
6633
+ source: Source$outboundSchema.default("orq"),
6634
+ reviewedById: z.string(),
6635
+ reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.136Z"))
6636
+ .transform(v => v.toISOString()),
6637
+ type: EvaluationsType$outboundSchema,
6638
+ value: z.string(),
6639
+ }).transform((v) => {
6640
+ return remap$(v, {
6641
+ evaluationType: "evaluation_type",
6642
+ humanReviewId: "human_review_id",
6643
+ reviewedById: "reviewed_by_id",
6644
+ reviewedAt: "reviewed_at",
6645
+ });
6646
+ });
6647
+
6648
+ /**
6649
+ * @internal
6650
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6651
+ */
6652
+ export namespace Evaluations1$ {
6653
+ /** @deprecated use `Evaluations1$inboundSchema` instead. */
6654
+ export const inboundSchema = Evaluations1$inboundSchema;
6655
+ /** @deprecated use `Evaluations1$outboundSchema` instead. */
6656
+ export const outboundSchema = Evaluations1$outboundSchema;
6657
+ /** @deprecated use `Evaluations1$Outbound` instead. */
6658
+ export type Outbound = Evaluations1$Outbound;
6659
+ }
6660
+
6661
+ export function evaluations1ToJSON(evaluations1: Evaluations1): string {
6662
+ return JSON.stringify(Evaluations1$outboundSchema.parse(evaluations1));
6663
+ }
6664
+
6665
+ export function evaluations1FromJSON(
6666
+ jsonString: string,
6667
+ ): SafeParseResult<Evaluations1, SDKValidationError> {
6668
+ return safeParse(
6669
+ jsonString,
6670
+ (x) => Evaluations1$inboundSchema.parse(JSON.parse(x)),
6671
+ `Failed to parse 'Evaluations1' from JSON`,
6672
+ );
6673
+ }
6674
+
6675
+ /** @internal */
6676
+ export const Evaluations$inboundSchema: z.ZodType<
6677
+ Evaluations,
6678
+ z.ZodTypeDef,
6679
+ unknown
6680
+ > = z.union([
6681
+ z.lazy(() => Evaluations1$inboundSchema),
6682
+ z.lazy(() => Evaluations2$inboundSchema),
6683
+ z.lazy(() => Evaluations3$inboundSchema),
6684
+ ]);
6685
+
6686
+ /** @internal */
6687
+ export type Evaluations$Outbound =
6688
+ | Evaluations1$Outbound
6689
+ | Evaluations2$Outbound
6690
+ | Evaluations3$Outbound;
6691
+
6692
+ /** @internal */
6693
+ export const Evaluations$outboundSchema: z.ZodType<
6694
+ Evaluations$Outbound,
6695
+ z.ZodTypeDef,
6696
+ Evaluations
6697
+ > = z.union([
6698
+ z.lazy(() => Evaluations1$outboundSchema),
6699
+ z.lazy(() => Evaluations2$outboundSchema),
6700
+ z.lazy(() => Evaluations3$outboundSchema),
6701
+ ]);
6702
+
6703
+ /**
6704
+ * @internal
6705
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6706
+ */
6707
+ export namespace Evaluations$ {
6708
+ /** @deprecated use `Evaluations$inboundSchema` instead. */
6709
+ export const inboundSchema = Evaluations$inboundSchema;
6710
+ /** @deprecated use `Evaluations$outboundSchema` instead. */
6711
+ export const outboundSchema = Evaluations$outboundSchema;
6712
+ /** @deprecated use `Evaluations$Outbound` instead. */
6713
+ export type Outbound = Evaluations$Outbound;
6714
+ }
6715
+
6716
+ export function evaluationsToJSON(evaluations: Evaluations): string {
6717
+ return JSON.stringify(Evaluations$outboundSchema.parse(evaluations));
6718
+ }
6719
+
6720
+ export function evaluationsFromJSON(
6721
+ jsonString: string,
6722
+ ): SafeParseResult<Evaluations, SDKValidationError> {
6723
+ return safeParse(
6724
+ jsonString,
6725
+ (x) => Evaluations$inboundSchema.parse(JSON.parse(x)),
6726
+ `Failed to parse 'Evaluations' from JSON`,
6727
+ );
6728
+ }
6729
+
6055
6730
  /** @internal */
6056
6731
  export const ResponseBody$inboundSchema: z.ZodType<
6057
6732
  ResponseBody,
@@ -6077,13 +6752,21 @@ export const ResponseBody$inboundSchema: z.ZodType<
6077
6752
  ]),
6078
6753
  ).optional(),
6079
6754
  expected_output: z.string().optional(),
6755
+ evaluations: z.array(
6756
+ z.union([
6757
+ z.lazy(() => Evaluations1$inboundSchema),
6758
+ z.lazy(() => Evaluations2$inboundSchema),
6759
+ z.lazy(() => Evaluations3$inboundSchema),
6760
+ ]),
6761
+ ).optional(),
6080
6762
  dataset_id: z.string(),
6763
+ snapshot_version: z.string().optional(),
6081
6764
  created_by_id: z.string().optional(),
6082
6765
  updated_by_id: z.string().optional(),
6083
6766
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
6084
6767
  .optional(),
6085
6768
  updated: z.string().datetime({ offset: true }).default(
6086
- "2025-10-03T13:53:58.021Z",
6769
+ "2025-10-14T05:25:41.367Z",
6087
6770
  ).transform(v => new Date(v)),
6088
6771
  }).transform((v) => {
6089
6772
  return remap$(v, {
@@ -6091,6 +6774,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
6091
6774
  "workspace_id": "workspaceId",
6092
6775
  "expected_output": "expectedOutput",
6093
6776
  "dataset_id": "datasetId",
6777
+ "snapshot_version": "snapshotVersion",
6094
6778
  "created_by_id": "createdById",
6095
6779
  "updated_by_id": "updatedById",
6096
6780
  });
@@ -6111,7 +6795,13 @@ export type ResponseBody$Outbound = {
6111
6795
  >
6112
6796
  | undefined;
6113
6797
  expected_output?: string | undefined;
6798
+ evaluations?:
6799
+ | Array<
6800
+ Evaluations1$Outbound | Evaluations2$Outbound | Evaluations3$Outbound
6801
+ >
6802
+ | undefined;
6114
6803
  dataset_id: string;
6804
+ snapshot_version?: string | undefined;
6115
6805
  created_by_id?: string | undefined;
6116
6806
  updated_by_id?: string | undefined;
6117
6807
  created?: string | undefined;
@@ -6143,11 +6833,19 @@ export const ResponseBody$outboundSchema: z.ZodType<
6143
6833
  ]),
6144
6834
  ).optional(),
6145
6835
  expectedOutput: z.string().optional(),
6836
+ evaluations: z.array(
6837
+ z.union([
6838
+ z.lazy(() => Evaluations1$outboundSchema),
6839
+ z.lazy(() => Evaluations2$outboundSchema),
6840
+ z.lazy(() => Evaluations3$outboundSchema),
6841
+ ]),
6842
+ ).optional(),
6146
6843
  datasetId: z.string(),
6844
+ snapshotVersion: z.string().optional(),
6147
6845
  createdById: z.string().optional(),
6148
6846
  updatedById: z.string().optional(),
6149
6847
  created: z.date().transform(v => v.toISOString()).optional(),
6150
- updated: z.date().default(() => new Date("2025-10-03T13:53:58.021Z"))
6848
+ updated: z.date().default(() => new Date("2025-10-14T05:25:41.367Z"))
6151
6849
  .transform(v => v.toISOString()),
6152
6850
  }).transform((v) => {
6153
6851
  return remap$(v, {
@@ -6155,6 +6853,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
6155
6853
  workspaceId: "workspace_id",
6156
6854
  expectedOutput: "expected_output",
6157
6855
  datasetId: "dataset_id",
6856
+ snapshotVersion: "snapshot_version",
6158
6857
  createdById: "created_by_id",
6159
6858
  updatedById: "updated_by_id",
6160
6859
  });