@orq-ai/node 4.1.0-rc.1 → 4.1.0-rc.11

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 (412) hide show
  1. package/README.md +22 -18
  2. package/bin/mcp-server.js +35857 -37966
  3. package/bin/mcp-server.js.map +100 -74
  4. package/docs/sdks/agents/README.md +10 -10
  5. package/docs/sdks/evals/README.md +103 -1
  6. package/docs/sdks/responses/README.md +5 -5
  7. package/examples/package-lock.json +1 -1
  8. package/funcs/agentsCreate.d.ts +1 -1
  9. package/funcs/agentsCreate.d.ts.map +1 -1
  10. package/funcs/agentsCreate.js +2 -4
  11. package/funcs/agentsCreate.js.map +1 -1
  12. package/funcs/agentsResponsesCreate.d.ts +1 -1
  13. package/funcs/agentsResponsesCreate.d.ts.map +1 -1
  14. package/funcs/agentsResponsesCreate.js +4 -4
  15. package/funcs/agentsResponsesCreate.js.map +1 -1
  16. package/funcs/agentsRun.d.ts +1 -1
  17. package/funcs/agentsRun.d.ts.map +1 -1
  18. package/funcs/agentsRun.js +2 -4
  19. package/funcs/agentsRun.js.map +1 -1
  20. package/funcs/agentsStream.d.ts +1 -1
  21. package/funcs/agentsStream.d.ts.map +1 -1
  22. package/funcs/agentsStream.js +4 -4
  23. package/funcs/agentsStream.js.map +1 -1
  24. package/funcs/agentsStreamRun.d.ts +1 -1
  25. package/funcs/agentsStreamRun.d.ts.map +1 -1
  26. package/funcs/agentsStreamRun.js +2 -4
  27. package/funcs/agentsStreamRun.js.map +1 -1
  28. package/funcs/agentsUpdate.d.ts +1 -1
  29. package/funcs/agentsUpdate.d.ts.map +1 -1
  30. package/funcs/agentsUpdate.js +4 -4
  31. package/funcs/agentsUpdate.js.map +1 -1
  32. package/funcs/evalsInvoke.d.ts +15 -0
  33. package/funcs/evalsInvoke.d.ts.map +1 -0
  34. package/funcs/evalsInvoke.js +121 -0
  35. package/funcs/evalsInvoke.js.map +1 -0
  36. package/jsr.json +1 -1
  37. package/lib/config.d.ts +3 -3
  38. package/lib/config.js +3 -3
  39. package/lib/config.js.map +1 -1
  40. package/mcp-server/mcp-server.js +1 -1
  41. package/mcp-server/mcp-server.js.map +1 -1
  42. package/mcp-server/server.d.ts.map +1 -1
  43. package/mcp-server/server.js +3 -1
  44. package/mcp-server/server.js.map +1 -1
  45. package/mcp-server/tools/agentsCreate.d.ts +1 -1
  46. package/mcp-server/tools/agentsCreate.js +1 -1
  47. package/mcp-server/tools/agentsCreate.js.map +1 -1
  48. package/mcp-server/tools/agentsResponsesCreate.d.ts +1 -1
  49. package/mcp-server/tools/agentsResponsesCreate.d.ts.map +1 -1
  50. package/mcp-server/tools/agentsResponsesCreate.js +2 -3
  51. package/mcp-server/tools/agentsResponsesCreate.js.map +1 -1
  52. package/mcp-server/tools/agentsRun.d.ts +1 -1
  53. package/mcp-server/tools/agentsRun.js +1 -1
  54. package/mcp-server/tools/agentsRun.js.map +1 -1
  55. package/mcp-server/tools/agentsStream.d.ts +1 -1
  56. package/mcp-server/tools/agentsStream.js +2 -2
  57. package/mcp-server/tools/agentsStream.js.map +1 -1
  58. package/mcp-server/tools/agentsStreamRun.d.ts +1 -1
  59. package/mcp-server/tools/agentsStreamRun.js +1 -1
  60. package/mcp-server/tools/agentsStreamRun.js.map +1 -1
  61. package/mcp-server/tools/agentsUpdate.d.ts +1 -1
  62. package/mcp-server/tools/agentsUpdate.d.ts.map +1 -1
  63. package/mcp-server/tools/agentsUpdate.js +2 -3
  64. package/mcp-server/tools/agentsUpdate.js.map +1 -1
  65. package/mcp-server/tools/evalsInvoke.d.ts +8 -0
  66. package/mcp-server/tools/evalsInvoke.d.ts.map +1 -0
  67. package/mcp-server/tools/evalsInvoke.js +62 -0
  68. package/mcp-server/tools/evalsInvoke.js.map +1 -0
  69. package/models/components/actionreviewedstreamingevent.d.ts +76 -0
  70. package/models/components/actionreviewedstreamingevent.d.ts.map +1 -0
  71. package/models/components/actionreviewedstreamingevent.js +127 -0
  72. package/models/components/actionreviewedstreamingevent.js.map +1 -0
  73. package/models/components/actionreviewrequestedstreamingevent.d.ts +135 -0
  74. package/models/components/actionreviewrequestedstreamingevent.d.ts.map +1 -0
  75. package/models/components/actionreviewrequestedstreamingevent.js +180 -0
  76. package/models/components/actionreviewrequestedstreamingevent.js.map +1 -0
  77. package/models/components/agenterroredstreamingevent.d.ts +58 -0
  78. package/models/components/agenterroredstreamingevent.d.ts.map +1 -0
  79. package/models/components/agenterroredstreamingevent.js +91 -0
  80. package/models/components/agenterroredstreamingevent.js.map +1 -0
  81. package/models/components/agentexecutionstartedstreamingevent.d.ts +62 -0
  82. package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -0
  83. package/models/components/agentexecutionstartedstreamingevent.js +103 -0
  84. package/models/components/agentexecutionstartedstreamingevent.js.map +1 -0
  85. package/models/components/agenthandedoffstreamingevent.d.ts +51 -0
  86. package/models/components/agenthandedoffstreamingevent.d.ts.map +1 -0
  87. package/models/components/agenthandedoffstreamingevent.js +96 -0
  88. package/models/components/agenthandedoffstreamingevent.js.map +1 -0
  89. package/models/components/agentinactivestreamingevent.d.ts +309 -0
  90. package/models/components/agentinactivestreamingevent.d.ts.map +1 -0
  91. package/models/components/agentinactivestreamingevent.js +385 -0
  92. package/models/components/agentinactivestreamingevent.js.map +1 -0
  93. package/models/components/agentmessagecreatedstreamingevent.d.ts +141 -0
  94. package/models/components/agentmessagecreatedstreamingevent.d.ts.map +1 -0
  95. package/models/components/agentmessagecreatedstreamingevent.js +190 -0
  96. package/models/components/agentmessagecreatedstreamingevent.js.map +1 -0
  97. package/models/components/agentstartedstreamingevent.d.ts +382 -0
  98. package/models/components/agentstartedstreamingevent.d.ts.map +1 -0
  99. package/models/components/agentstartedstreamingevent.js +441 -0
  100. package/models/components/agentstartedstreamingevent.js.map +1 -0
  101. package/models/components/agentthoughtstreamingevent.d.ts +542 -0
  102. package/models/components/agentthoughtstreamingevent.d.ts.map +1 -0
  103. package/models/components/agentthoughtstreamingevent.js +626 -0
  104. package/models/components/agentthoughtstreamingevent.js.map +1 -0
  105. package/models/components/datapart.d.ts +41 -0
  106. package/models/components/datapart.d.ts.map +1 -0
  107. package/models/components/datapart.js +69 -0
  108. package/models/components/datapart.js.map +1 -0
  109. package/models/components/errorstreamingevent.d.ts +51 -0
  110. package/models/components/errorstreamingevent.d.ts.map +1 -0
  111. package/models/components/errorstreamingevent.js +87 -0
  112. package/models/components/errorstreamingevent.js.map +1 -0
  113. package/models/components/executionnamedstreamingevent.d.ts +51 -0
  114. package/models/components/executionnamedstreamingevent.d.ts.map +1 -0
  115. package/models/components/executionnamedstreamingevent.js +96 -0
  116. package/models/components/executionnamedstreamingevent.js.map +1 -0
  117. package/models/components/executionreviewedstreamingevent.d.ts +45 -0
  118. package/models/components/executionreviewedstreamingevent.d.ts.map +1 -0
  119. package/models/components/executionreviewedstreamingevent.js +81 -0
  120. package/models/components/executionreviewedstreamingevent.js.map +1 -0
  121. package/models/components/executionreviewrequiredstreamingevent.d.ts +45 -0
  122. package/models/components/executionreviewrequiredstreamingevent.d.ts.map +1 -0
  123. package/models/components/executionreviewrequiredstreamingevent.js +82 -0
  124. package/models/components/executionreviewrequiredstreamingevent.js.map +1 -0
  125. package/models/components/filepart.d.ts +104 -0
  126. package/models/components/filepart.d.ts.map +1 -0
  127. package/models/components/filepart.js +134 -0
  128. package/models/components/filepart.js.map +1 -0
  129. package/models/components/index.d.ts +22 -0
  130. package/models/components/index.d.ts.map +1 -1
  131. package/models/components/index.js +22 -0
  132. package/models/components/index.js.map +1 -1
  133. package/models/components/invokedeploymentrequest.d.ts +21 -21
  134. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  135. package/models/components/invokedeploymentrequest.js +27 -28
  136. package/models/components/invokedeploymentrequest.js.map +1 -1
  137. package/models/components/textpart.d.ts +31 -0
  138. package/models/components/textpart.d.ts.map +1 -0
  139. package/models/components/textpart.js +67 -0
  140. package/models/components/textpart.js.map +1 -0
  141. package/models/components/timeoutstreamingevent.d.ts +49 -0
  142. package/models/components/timeoutstreamingevent.d.ts.map +1 -0
  143. package/models/components/timeoutstreamingevent.js +85 -0
  144. package/models/components/timeoutstreamingevent.js.map +1 -0
  145. package/models/components/toolcallpart.d.ts +45 -0
  146. package/models/components/toolcallpart.d.ts.map +1 -0
  147. package/models/components/toolcallpart.js +84 -0
  148. package/models/components/toolcallpart.js.map +1 -0
  149. package/models/components/toolexecutionfailedstreamingevent.d.ts +144 -0
  150. package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -0
  151. package/models/components/toolexecutionfailedstreamingevent.js +223 -0
  152. package/models/components/toolexecutionfailedstreamingevent.js.map +1 -0
  153. package/models/components/toolexecutionfinishedstreamingevent.d.ts +129 -0
  154. package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -0
  155. package/models/components/toolexecutionfinishedstreamingevent.js +205 -0
  156. package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -0
  157. package/models/components/toolexecutionstartedstreamingevent.d.ts +139 -0
  158. package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -0
  159. package/models/components/toolexecutionstartedstreamingevent.js +217 -0
  160. package/models/components/toolexecutionstartedstreamingevent.js.map +1 -0
  161. package/models/components/toolresultpart.d.ts +39 -0
  162. package/models/components/toolresultpart.d.ts.map +1 -0
  163. package/models/components/toolresultpart.js +80 -0
  164. package/models/components/toolresultpart.js.map +1 -0
  165. package/models/errors/index.d.ts +1 -0
  166. package/models/errors/index.d.ts.map +1 -1
  167. package/models/errors/index.js +1 -0
  168. package/models/errors/index.js.map +1 -1
  169. package/models/errors/invokeeval.d.ts +55 -0
  170. package/models/errors/invokeeval.d.ts.map +1 -0
  171. package/models/errors/invokeeval.js +106 -0
  172. package/models/errors/invokeeval.js.map +1 -0
  173. package/models/operations/createagentrequest.d.ts +3 -0
  174. package/models/operations/createagentrequest.d.ts.map +1 -1
  175. package/models/operations/createagentrequest.js.map +1 -1
  176. package/models/operations/createagentresponserequest.d.ts +58 -167
  177. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  178. package/models/operations/createagentresponserequest.js +89 -173
  179. package/models/operations/createagentresponserequest.js.map +1 -1
  180. package/models/operations/createbudget.js +2 -2
  181. package/models/operations/createcontact.js +2 -2
  182. package/models/operations/createdataset.js +2 -2
  183. package/models/operations/createdatasetitem.js +8 -8
  184. package/models/operations/createdatasource.js +2 -2
  185. package/models/operations/createeval.d.ts +80 -145
  186. package/models/operations/createeval.d.ts.map +1 -1
  187. package/models/operations/createeval.js +190 -266
  188. package/models/operations/createeval.js.map +1 -1
  189. package/models/operations/createprompt.d.ts +9 -11
  190. package/models/operations/createprompt.d.ts.map +1 -1
  191. package/models/operations/createprompt.js +9 -11
  192. package/models/operations/createprompt.js.map +1 -1
  193. package/models/operations/createtool.js +12 -12
  194. package/models/operations/deploymentgetconfig.d.ts +241 -241
  195. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  196. package/models/operations/deploymentgetconfig.js +346 -351
  197. package/models/operations/deploymentgetconfig.js.map +1 -1
  198. package/models/operations/deploymentinvoke.d.ts +24 -26
  199. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  200. package/models/operations/deploymentinvoke.js +26 -28
  201. package/models/operations/deploymentinvoke.js.map +1 -1
  202. package/models/operations/deployments.d.ts +24 -26
  203. package/models/operations/deployments.d.ts.map +1 -1
  204. package/models/operations/deployments.js +26 -28
  205. package/models/operations/deployments.js.map +1 -1
  206. package/models/operations/deploymentstream.d.ts +25 -27
  207. package/models/operations/deploymentstream.d.ts.map +1 -1
  208. package/models/operations/deploymentstream.js +30 -34
  209. package/models/operations/deploymentstream.js.map +1 -1
  210. package/models/operations/fileget.js +2 -2
  211. package/models/operations/filelist.js +2 -2
  212. package/models/operations/fileupload.js +2 -2
  213. package/models/operations/getallprompts.d.ts +9 -11
  214. package/models/operations/getallprompts.d.ts.map +1 -1
  215. package/models/operations/getallprompts.js +9 -11
  216. package/models/operations/getallprompts.js.map +1 -1
  217. package/models/operations/getalltools.js +12 -12
  218. package/models/operations/getbudget.js +2 -2
  219. package/models/operations/getevals.d.ts +14 -79
  220. package/models/operations/getevals.d.ts.map +1 -1
  221. package/models/operations/getevals.js +49 -132
  222. package/models/operations/getevals.js.map +1 -1
  223. package/models/operations/getoneprompt.d.ts +9 -11
  224. package/models/operations/getoneprompt.d.ts.map +1 -1
  225. package/models/operations/getoneprompt.js +9 -11
  226. package/models/operations/getoneprompt.js.map +1 -1
  227. package/models/operations/getpromptversion.d.ts +9 -11
  228. package/models/operations/getpromptversion.d.ts.map +1 -1
  229. package/models/operations/getpromptversion.js +9 -11
  230. package/models/operations/getpromptversion.js.map +1 -1
  231. package/models/operations/index.d.ts +1 -0
  232. package/models/operations/index.d.ts.map +1 -1
  233. package/models/operations/index.js +1 -0
  234. package/models/operations/index.js.map +1 -1
  235. package/models/operations/invokeagent.d.ts +63 -416
  236. package/models/operations/invokeagent.d.ts.map +1 -1
  237. package/models/operations/invokeagent.js +80 -429
  238. package/models/operations/invokeagent.js.map +1 -1
  239. package/models/operations/invokeeval.d.ts +719 -0
  240. package/models/operations/invokeeval.d.ts.map +1 -0
  241. package/models/operations/invokeeval.js +954 -0
  242. package/models/operations/invokeeval.js.map +1 -0
  243. package/models/operations/listagents.d.ts +3 -0
  244. package/models/operations/listagents.d.ts.map +1 -1
  245. package/models/operations/listagents.js.map +1 -1
  246. package/models/operations/listbudgets.js +2 -2
  247. package/models/operations/listcontacts.js +2 -2
  248. package/models/operations/listdatasetdatapoints.js +8 -8
  249. package/models/operations/listdatasets.js +2 -2
  250. package/models/operations/listdatasources.js +2 -2
  251. package/models/operations/listknowledgebases.d.ts +16 -16
  252. package/models/operations/listknowledgebases.d.ts.map +1 -1
  253. package/models/operations/listknowledgebases.js +27 -25
  254. package/models/operations/listknowledgebases.js.map +1 -1
  255. package/models/operations/listpromptversions.d.ts +9 -11
  256. package/models/operations/listpromptversions.d.ts.map +1 -1
  257. package/models/operations/listpromptversions.js +9 -11
  258. package/models/operations/listpromptversions.js.map +1 -1
  259. package/models/operations/retrieveagentrequest.d.ts +3 -0
  260. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  261. package/models/operations/retrieveagentrequest.js.map +1 -1
  262. package/models/operations/retrievecontact.js +2 -2
  263. package/models/operations/retrievedatapoint.js +8 -8
  264. package/models/operations/retrievedataset.js +2 -2
  265. package/models/operations/retrievedatasource.js +2 -2
  266. package/models/operations/retrievetool.js +12 -12
  267. package/models/operations/runagent.d.ts +49 -402
  268. package/models/operations/runagent.d.ts.map +1 -1
  269. package/models/operations/runagent.js +70 -418
  270. package/models/operations/runagent.js.map +1 -1
  271. package/models/operations/streamagent.d.ts +240 -3281
  272. package/models/operations/streamagent.d.ts.map +1 -1
  273. package/models/operations/streamagent.js +160 -3604
  274. package/models/operations/streamagent.js.map +1 -1
  275. package/models/operations/streamrunagent.d.ts +888 -3929
  276. package/models/operations/streamrunagent.d.ts.map +1 -1
  277. package/models/operations/streamrunagent.js +165 -3605
  278. package/models/operations/streamrunagent.js.map +1 -1
  279. package/models/operations/updateagent.d.ts +5 -2
  280. package/models/operations/updateagent.d.ts.map +1 -1
  281. package/models/operations/updateagent.js +2 -4
  282. package/models/operations/updateagent.js.map +1 -1
  283. package/models/operations/updatebudget.js +2 -2
  284. package/models/operations/updatecontact.js +2 -2
  285. package/models/operations/updatedatapoint.js +8 -8
  286. package/models/operations/updatedataset.js +2 -2
  287. package/models/operations/updatedatasource.js +2 -2
  288. package/models/operations/updateeval.d.ts +14 -79
  289. package/models/operations/updateeval.d.ts.map +1 -1
  290. package/models/operations/updateeval.js +51 -134
  291. package/models/operations/updateeval.js.map +1 -1
  292. package/models/operations/updatememorystore.d.ts +9 -20
  293. package/models/operations/updatememorystore.d.ts.map +1 -1
  294. package/models/operations/updatememorystore.js +9 -14
  295. package/models/operations/updatememorystore.js.map +1 -1
  296. package/models/operations/updateprompt.d.ts +18 -22
  297. package/models/operations/updateprompt.d.ts.map +1 -1
  298. package/models/operations/updateprompt.js +18 -22
  299. package/models/operations/updateprompt.js.map +1 -1
  300. package/models/operations/updatetool.js +14 -14
  301. package/package.json +1 -1
  302. package/sdk/agents.d.ts +5 -5
  303. package/sdk/agents.d.ts.map +1 -1
  304. package/sdk/agents.js +4 -4
  305. package/sdk/agents.js.map +1 -1
  306. package/sdk/evals.d.ts +4 -0
  307. package/sdk/evals.d.ts.map +1 -1
  308. package/sdk/evals.js +7 -0
  309. package/sdk/evals.js.map +1 -1
  310. package/sdk/responses.d.ts +1 -1
  311. package/sdk/responses.d.ts.map +1 -1
  312. package/sdk/responses.js +2 -2
  313. package/sdk/responses.js.map +1 -1
  314. package/src/funcs/agentsCreate.ts +4 -8
  315. package/src/funcs/agentsResponsesCreate.ts +4 -4
  316. package/src/funcs/agentsRun.ts +4 -7
  317. package/src/funcs/agentsStream.ts +4 -4
  318. package/src/funcs/agentsStreamRun.ts +4 -9
  319. package/src/funcs/agentsUpdate.ts +4 -4
  320. package/src/funcs/evalsInvoke.ts +177 -0
  321. package/src/lib/config.ts +3 -3
  322. package/src/mcp-server/mcp-server.ts +1 -1
  323. package/src/mcp-server/server.ts +3 -1
  324. package/src/mcp-server/tools/agentsCreate.ts +1 -1
  325. package/src/mcp-server/tools/agentsResponsesCreate.ts +2 -3
  326. package/src/mcp-server/tools/agentsRun.ts +1 -1
  327. package/src/mcp-server/tools/agentsStream.ts +2 -2
  328. package/src/mcp-server/tools/agentsStreamRun.ts +1 -1
  329. package/src/mcp-server/tools/agentsUpdate.ts +2 -3
  330. package/src/mcp-server/tools/evalsInvoke.ts +35 -0
  331. package/src/models/components/actionreviewedstreamingevent.ts +189 -0
  332. package/src/models/components/actionreviewrequestedstreamingevent.ts +326 -0
  333. package/src/models/components/agenterroredstreamingevent.ts +142 -0
  334. package/src/models/components/agentexecutionstartedstreamingevent.ts +145 -0
  335. package/src/models/components/agenthandedoffstreamingevent.ts +142 -0
  336. package/src/models/components/agentinactivestreamingevent.ts +857 -0
  337. package/src/models/components/agentmessagecreatedstreamingevent.ts +396 -0
  338. package/src/models/components/agentstartedstreamingevent.ts +909 -0
  339. package/src/models/components/agentthoughtstreamingevent.ts +1419 -0
  340. package/src/models/components/datapart.ts +71 -0
  341. package/src/models/components/errorstreamingevent.ts +129 -0
  342. package/src/models/components/executionnamedstreamingevent.ts +142 -0
  343. package/src/models/components/executionreviewedstreamingevent.ts +122 -0
  344. package/src/models/components/executionreviewrequiredstreamingevent.ts +130 -0
  345. package/src/models/components/filepart.ts +231 -0
  346. package/src/models/components/index.ts +22 -0
  347. package/src/models/components/invokedeploymentrequest.ts +66 -52
  348. package/src/models/components/textpart.ts +68 -0
  349. package/src/models/components/timeoutstreamingevent.ts +125 -0
  350. package/src/models/components/toolcallpart.ts +92 -0
  351. package/src/models/components/toolexecutionfailedstreamingevent.ts +406 -0
  352. package/src/models/components/toolexecutionfinishedstreamingevent.ts +373 -0
  353. package/src/models/components/toolexecutionstartedstreamingevent.ts +350 -0
  354. package/src/models/components/toolresultpart.ts +86 -0
  355. package/src/models/errors/index.ts +1 -0
  356. package/src/models/errors/invokeeval.ts +128 -0
  357. package/src/models/operations/createagentrequest.ts +3 -0
  358. package/src/models/operations/createagentresponserequest.ts +190 -397
  359. package/src/models/operations/createbudget.ts +2 -2
  360. package/src/models/operations/createcontact.ts +2 -2
  361. package/src/models/operations/createdataset.ts +2 -2
  362. package/src/models/operations/createdatasetitem.ts +8 -8
  363. package/src/models/operations/createdatasource.ts +2 -2
  364. package/src/models/operations/createeval.ts +318 -615
  365. package/src/models/operations/createprompt.ts +9 -11
  366. package/src/models/operations/createtool.ts +12 -12
  367. package/src/models/operations/deploymentgetconfig.ts +877 -685
  368. package/src/models/operations/deploymentinvoke.ts +44 -46
  369. package/src/models/operations/deployments.ts +45 -47
  370. package/src/models/operations/deploymentstream.ts +64 -49
  371. package/src/models/operations/fileget.ts +2 -2
  372. package/src/models/operations/filelist.ts +2 -2
  373. package/src/models/operations/fileupload.ts +2 -2
  374. package/src/models/operations/getallprompts.ts +9 -11
  375. package/src/models/operations/getalltools.ts +12 -12
  376. package/src/models/operations/getbudget.ts +2 -2
  377. package/src/models/operations/getevals.ts +52 -287
  378. package/src/models/operations/getoneprompt.ts +9 -11
  379. package/src/models/operations/getpromptversion.ts +9 -11
  380. package/src/models/operations/index.ts +1 -0
  381. package/src/models/operations/invokeagent.ts +180 -1041
  382. package/src/models/operations/invokeeval.ts +2062 -0
  383. package/src/models/operations/listagents.ts +3 -0
  384. package/src/models/operations/listbudgets.ts +2 -2
  385. package/src/models/operations/listcontacts.ts +2 -2
  386. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  387. package/src/models/operations/listdatasets.ts +2 -2
  388. package/src/models/operations/listdatasources.ts +2 -2
  389. package/src/models/operations/listknowledgebases.ts +82 -102
  390. package/src/models/operations/listpromptversions.ts +9 -11
  391. package/src/models/operations/retrieveagentrequest.ts +3 -0
  392. package/src/models/operations/retrievecontact.ts +2 -2
  393. package/src/models/operations/retrievedatapoint.ts +8 -8
  394. package/src/models/operations/retrievedataset.ts +2 -2
  395. package/src/models/operations/retrievedatasource.ts +2 -2
  396. package/src/models/operations/retrievetool.ts +12 -12
  397. package/src/models/operations/runagent.ts +238 -1140
  398. package/src/models/operations/streamagent.ts +780 -9308
  399. package/src/models/operations/streamrunagent.ts +3839 -12309
  400. package/src/models/operations/updateagent.ts +7 -6
  401. package/src/models/operations/updatebudget.ts +2 -2
  402. package/src/models/operations/updatecontact.ts +2 -2
  403. package/src/models/operations/updatedatapoint.ts +8 -8
  404. package/src/models/operations/updatedataset.ts +2 -2
  405. package/src/models/operations/updatedatasource.ts +2 -2
  406. package/src/models/operations/updateeval.ts +52 -287
  407. package/src/models/operations/updatememorystore.ts +9 -20
  408. package/src/models/operations/updateprompt.ts +18 -22
  409. package/src/models/operations/updatetool.ts +14 -14
  410. package/src/sdk/agents.ts +7 -7
  411. package/src/sdk/evals.ts +15 -0
  412. package/src/sdk/responses.ts +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeoutstreamingevent.d.ts","sourceRoot":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AAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE;AAED,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kCAAkC,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAKrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AACD,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TimeoutStreamingEvent$outboundSchema = exports.TimeoutStreamingEvent$inboundSchema = exports.TimeoutStreamingEventData$outboundSchema = exports.TimeoutStreamingEventData$inboundSchema = exports.TimeoutStreamingEventType$outboundSchema = exports.TimeoutStreamingEventType$inboundSchema = exports.TimeoutStreamingEventType = void 0;
40
+ exports.timeoutStreamingEventDataToJSON = timeoutStreamingEventDataToJSON;
41
+ exports.timeoutStreamingEventDataFromJSON = timeoutStreamingEventDataFromJSON;
42
+ exports.timeoutStreamingEventToJSON = timeoutStreamingEventToJSON;
43
+ exports.timeoutStreamingEventFromJSON = timeoutStreamingEventFromJSON;
44
+ const z = __importStar(require("zod/v3"));
45
+ const schemas_js_1 = require("../../lib/schemas.js");
46
+ exports.TimeoutStreamingEventType = {
47
+ AgentsTimeout: "agents.timeout",
48
+ };
49
+ /** @internal */
50
+ exports.TimeoutStreamingEventType$inboundSchema = z.nativeEnum(exports.TimeoutStreamingEventType);
51
+ /** @internal */
52
+ exports.TimeoutStreamingEventType$outboundSchema = exports.TimeoutStreamingEventType$inboundSchema;
53
+ /** @internal */
54
+ exports.TimeoutStreamingEventData$inboundSchema = z.object({
55
+ message: z.string(),
56
+ });
57
+ /** @internal */
58
+ exports.TimeoutStreamingEventData$outboundSchema = z.object({
59
+ message: z.string(),
60
+ });
61
+ function timeoutStreamingEventDataToJSON(timeoutStreamingEventData) {
62
+ return JSON.stringify(exports.TimeoutStreamingEventData$outboundSchema.parse(timeoutStreamingEventData));
63
+ }
64
+ function timeoutStreamingEventDataFromJSON(jsonString) {
65
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TimeoutStreamingEventData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TimeoutStreamingEventData' from JSON`);
66
+ }
67
+ /** @internal */
68
+ exports.TimeoutStreamingEvent$inboundSchema = z.object({
69
+ type: exports.TimeoutStreamingEventType$inboundSchema,
70
+ timestamp: z.string(),
71
+ data: z.lazy(() => exports.TimeoutStreamingEventData$inboundSchema),
72
+ });
73
+ /** @internal */
74
+ exports.TimeoutStreamingEvent$outboundSchema = z.object({
75
+ type: exports.TimeoutStreamingEventType$outboundSchema,
76
+ timestamp: z.string(),
77
+ data: z.lazy(() => exports.TimeoutStreamingEventData$outboundSchema),
78
+ });
79
+ function timeoutStreamingEventToJSON(timeoutStreamingEvent) {
80
+ return JSON.stringify(exports.TimeoutStreamingEvent$outboundSchema.parse(timeoutStreamingEvent));
81
+ }
82
+ function timeoutStreamingEventFromJSON(jsonString) {
83
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TimeoutStreamingEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TimeoutStreamingEvent' from JSON`);
84
+ }
85
+ //# sourceMappingURL=timeoutstreamingevent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeoutstreamingevent.js","sourceRoot":"","sources":["../../src/models/components/timeoutstreamingevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DH,0EAMC;AACD,8EAQC;AA8BD,kEAMC;AACD,sEAQC;AAxHD,0CAA4B;AAC5B,qDAAiD;AAKpC,QAAA,yBAAyB,GAAG;IACvC,aAAa,EAAE,gBAAgB;CACvB,CAAC;AAqBX,gBAAgB;AACH,QAAA,uCAAuC,GAEhD,CAAC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C,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,45 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export declare const ToolCallPartKind: {
6
+ readonly ToolCall: "tool_call";
7
+ };
8
+ export type ToolCallPartKind = ClosedEnum<typeof ToolCallPartKind>;
9
+ /**
10
+ * A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
11
+ */
12
+ export type ToolCallPart = {
13
+ kind: ToolCallPartKind;
14
+ toolName: string;
15
+ toolCallId: string;
16
+ arguments: {
17
+ [k: string]: any;
18
+ };
19
+ metadata?: {
20
+ [k: string]: any;
21
+ } | undefined;
22
+ };
23
+ /** @internal */
24
+ export declare const ToolCallPartKind$inboundSchema: z.ZodNativeEnum<typeof ToolCallPartKind>;
25
+ /** @internal */
26
+ export declare const ToolCallPartKind$outboundSchema: z.ZodNativeEnum<typeof ToolCallPartKind>;
27
+ /** @internal */
28
+ export declare const ToolCallPart$inboundSchema: z.ZodType<ToolCallPart, z.ZodTypeDef, unknown>;
29
+ /** @internal */
30
+ export type ToolCallPart$Outbound = {
31
+ kind: string;
32
+ tool_name: string;
33
+ tool_call_id: string;
34
+ arguments: {
35
+ [k: string]: any;
36
+ };
37
+ metadata?: {
38
+ [k: string]: any;
39
+ } | undefined;
40
+ };
41
+ /** @internal */
42
+ export declare const ToolCallPart$outboundSchema: z.ZodType<ToolCallPart$Outbound, z.ZodTypeDef, ToolCallPart>;
43
+ export declare function toolCallPartToJSON(toolCallPart: ToolCallPart): string;
44
+ export declare function toolCallPartFromJSON(jsonString: string): SafeParseResult<ToolCallPart, SDKValidationError>;
45
+ //# sourceMappingURL=toolcallpart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolcallpart.d.ts","sourceRoot":"","sources":["../../src/models/components/toolcallpart.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,gBAAgB;;CAEnB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAChC,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AACnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAChC,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAYZ,CAAC;AAEH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AACD,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolCallPart$outboundSchema = exports.ToolCallPart$inboundSchema = exports.ToolCallPartKind$outboundSchema = exports.ToolCallPartKind$inboundSchema = exports.ToolCallPartKind = void 0;
40
+ exports.toolCallPartToJSON = toolCallPartToJSON;
41
+ exports.toolCallPartFromJSON = toolCallPartFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const primitives_js_1 = require("../../lib/primitives.js");
44
+ const schemas_js_1 = require("../../lib/schemas.js");
45
+ exports.ToolCallPartKind = {
46
+ ToolCall: "tool_call",
47
+ };
48
+ /** @internal */
49
+ exports.ToolCallPartKind$inboundSchema = z.nativeEnum(exports.ToolCallPartKind);
50
+ /** @internal */
51
+ exports.ToolCallPartKind$outboundSchema = exports.ToolCallPartKind$inboundSchema;
52
+ /** @internal */
53
+ exports.ToolCallPart$inboundSchema = z.object({
54
+ kind: exports.ToolCallPartKind$inboundSchema,
55
+ tool_name: z.string(),
56
+ tool_call_id: z.string(),
57
+ arguments: z.record(z.any()),
58
+ metadata: z.record(z.any()).optional(),
59
+ }).transform((v) => {
60
+ return (0, primitives_js_1.remap)(v, {
61
+ "tool_name": "toolName",
62
+ "tool_call_id": "toolCallId",
63
+ });
64
+ });
65
+ /** @internal */
66
+ exports.ToolCallPart$outboundSchema = z.object({
67
+ kind: exports.ToolCallPartKind$outboundSchema,
68
+ toolName: z.string(),
69
+ toolCallId: z.string(),
70
+ arguments: z.record(z.any()),
71
+ metadata: z.record(z.any()).optional(),
72
+ }).transform((v) => {
73
+ return (0, primitives_js_1.remap)(v, {
74
+ toolName: "tool_name",
75
+ toolCallId: "tool_call_id",
76
+ });
77
+ });
78
+ function toolCallPartToJSON(toolCallPart) {
79
+ return JSON.stringify(exports.ToolCallPart$outboundSchema.parse(toolCallPart));
80
+ }
81
+ function toolCallPartFromJSON(jsonString) {
82
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolCallPart$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolCallPart' from JSON`);
83
+ }
84
+ //# sourceMappingURL=toolcallpart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolcallpart.js","sourceRoot":"","sources":["../../src/models/components/toolcallpart.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8EH,gDAEC;AACD,oDAQC;AAvFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAKpC,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,WAAW;CACb,CAAC;AAcX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AACnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC;AAEnC,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,sCAA8B;IACpC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,cAAc,EAAE,YAAY;KAC7B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,uCAA+B;IACrC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,UAAU,EAAE,cAAc;KAC3B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AACD,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,144 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export declare const ToolExecutionFailedStreamingEventType: {
6
+ readonly EventWorkflowEventsToolExecutionFailed: "event.workflow_events.tool_execution_failed";
7
+ };
8
+ export type ToolExecutionFailedStreamingEventType = ClosedEnum<typeof ToolExecutionFailedStreamingEventType>;
9
+ export type ErrorT = {
10
+ message: string;
11
+ stack?: string | undefined;
12
+ };
13
+ /**
14
+ * Orquesta product
15
+ */
16
+ export declare const ToolExecutionFailedStreamingEventProduct: {
17
+ readonly Remoteconfigs: "remoteconfigs";
18
+ readonly Deployments: "deployments";
19
+ readonly Experiments: "experiments";
20
+ readonly Playgrounds: "playgrounds";
21
+ readonly Spreadsheets: "spreadsheets";
22
+ readonly SpreadsheetRun: "spreadsheet_run";
23
+ readonly LlmEvaluator: "llm_evaluator";
24
+ readonly Knowledge: "knowledge";
25
+ readonly Router: "router";
26
+ readonly Workflows: "workflows";
27
+ readonly ExternalEvents: "external_events";
28
+ readonly Agents: "agents";
29
+ readonly MemoryStores: "memory-stores";
30
+ readonly Generic: "generic";
31
+ readonly Evaluators: "evaluators";
32
+ readonly Otel: "otel";
33
+ };
34
+ /**
35
+ * Orquesta product
36
+ */
37
+ export type ToolExecutionFailedStreamingEventProduct = ClosedEnum<typeof ToolExecutionFailedStreamingEventProduct>;
38
+ export type ToolExecutionFailedStreamingEventMemory = {
39
+ entityId: string;
40
+ };
41
+ export type ToolExecutionFailedStreamingEventToolExecutionContext = {
42
+ actionId: string;
43
+ agentToolCallId: string;
44
+ workspaceId: string;
45
+ agentManifestId: string;
46
+ agentExecutionId: string;
47
+ /**
48
+ * Orquesta product
49
+ */
50
+ product: ToolExecutionFailedStreamingEventProduct;
51
+ memory?: ToolExecutionFailedStreamingEventMemory | undefined;
52
+ parentId?: string | undefined;
53
+ };
54
+ export type ToolExecutionFailedStreamingEventData = {
55
+ error: ErrorT;
56
+ actionType: string;
57
+ toolExecutionContext: ToolExecutionFailedStreamingEventToolExecutionContext;
58
+ responseId?: string | undefined;
59
+ workflowRunId: string;
60
+ };
61
+ /**
62
+ * Emitted when a tool execution fails. Contains the error details, action type, and execution context.
63
+ */
64
+ export type ToolExecutionFailedStreamingEvent = {
65
+ type: ToolExecutionFailedStreamingEventType;
66
+ /**
67
+ * ISO timestamp of the event
68
+ */
69
+ timestamp: string;
70
+ data: ToolExecutionFailedStreamingEventData;
71
+ };
72
+ /** @internal */
73
+ export declare const ToolExecutionFailedStreamingEventType$inboundSchema: z.ZodNativeEnum<typeof ToolExecutionFailedStreamingEventType>;
74
+ /** @internal */
75
+ export declare const ToolExecutionFailedStreamingEventType$outboundSchema: z.ZodNativeEnum<typeof ToolExecutionFailedStreamingEventType>;
76
+ /** @internal */
77
+ export declare const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown>;
78
+ /** @internal */
79
+ export type ErrorT$Outbound = {
80
+ message: string;
81
+ stack?: string | undefined;
82
+ };
83
+ /** @internal */
84
+ export declare const ErrorT$outboundSchema: z.ZodType<ErrorT$Outbound, z.ZodTypeDef, ErrorT>;
85
+ export declare function errorToJSON(errorT: ErrorT): string;
86
+ export declare function errorFromJSON(jsonString: string): SafeParseResult<ErrorT, SDKValidationError>;
87
+ /** @internal */
88
+ export declare const ToolExecutionFailedStreamingEventProduct$inboundSchema: z.ZodNativeEnum<typeof ToolExecutionFailedStreamingEventProduct>;
89
+ /** @internal */
90
+ export declare const ToolExecutionFailedStreamingEventProduct$outboundSchema: z.ZodNativeEnum<typeof ToolExecutionFailedStreamingEventProduct>;
91
+ /** @internal */
92
+ export declare const ToolExecutionFailedStreamingEventMemory$inboundSchema: z.ZodType<ToolExecutionFailedStreamingEventMemory, z.ZodTypeDef, unknown>;
93
+ /** @internal */
94
+ export type ToolExecutionFailedStreamingEventMemory$Outbound = {
95
+ entity_id: string;
96
+ };
97
+ /** @internal */
98
+ export declare const ToolExecutionFailedStreamingEventMemory$outboundSchema: z.ZodType<ToolExecutionFailedStreamingEventMemory$Outbound, z.ZodTypeDef, ToolExecutionFailedStreamingEventMemory>;
99
+ export declare function toolExecutionFailedStreamingEventMemoryToJSON(toolExecutionFailedStreamingEventMemory: ToolExecutionFailedStreamingEventMemory): string;
100
+ export declare function toolExecutionFailedStreamingEventMemoryFromJSON(jsonString: string): SafeParseResult<ToolExecutionFailedStreamingEventMemory, SDKValidationError>;
101
+ /** @internal */
102
+ export declare const ToolExecutionFailedStreamingEventToolExecutionContext$inboundSchema: z.ZodType<ToolExecutionFailedStreamingEventToolExecutionContext, z.ZodTypeDef, unknown>;
103
+ /** @internal */
104
+ export type ToolExecutionFailedStreamingEventToolExecutionContext$Outbound = {
105
+ action_id: string;
106
+ agent_tool_call_id: string;
107
+ workspace_id: string;
108
+ agent_manifest_id: string;
109
+ agent_execution_id: string;
110
+ product: string;
111
+ memory?: ToolExecutionFailedStreamingEventMemory$Outbound | undefined;
112
+ parent_id?: string | undefined;
113
+ };
114
+ /** @internal */
115
+ export declare const ToolExecutionFailedStreamingEventToolExecutionContext$outboundSchema: z.ZodType<ToolExecutionFailedStreamingEventToolExecutionContext$Outbound, z.ZodTypeDef, ToolExecutionFailedStreamingEventToolExecutionContext>;
116
+ export declare function toolExecutionFailedStreamingEventToolExecutionContextToJSON(toolExecutionFailedStreamingEventToolExecutionContext: ToolExecutionFailedStreamingEventToolExecutionContext): string;
117
+ export declare function toolExecutionFailedStreamingEventToolExecutionContextFromJSON(jsonString: string): SafeParseResult<ToolExecutionFailedStreamingEventToolExecutionContext, SDKValidationError>;
118
+ /** @internal */
119
+ export declare const ToolExecutionFailedStreamingEventData$inboundSchema: z.ZodType<ToolExecutionFailedStreamingEventData, z.ZodTypeDef, unknown>;
120
+ /** @internal */
121
+ export type ToolExecutionFailedStreamingEventData$Outbound = {
122
+ error: ErrorT$Outbound;
123
+ action_type: string;
124
+ tool_execution_context: ToolExecutionFailedStreamingEventToolExecutionContext$Outbound;
125
+ responseId?: string | undefined;
126
+ workflowRunId: string;
127
+ };
128
+ /** @internal */
129
+ export declare const ToolExecutionFailedStreamingEventData$outboundSchema: z.ZodType<ToolExecutionFailedStreamingEventData$Outbound, z.ZodTypeDef, ToolExecutionFailedStreamingEventData>;
130
+ export declare function toolExecutionFailedStreamingEventDataToJSON(toolExecutionFailedStreamingEventData: ToolExecutionFailedStreamingEventData): string;
131
+ export declare function toolExecutionFailedStreamingEventDataFromJSON(jsonString: string): SafeParseResult<ToolExecutionFailedStreamingEventData, SDKValidationError>;
132
+ /** @internal */
133
+ export declare const ToolExecutionFailedStreamingEvent$inboundSchema: z.ZodType<ToolExecutionFailedStreamingEvent, z.ZodTypeDef, unknown>;
134
+ /** @internal */
135
+ export type ToolExecutionFailedStreamingEvent$Outbound = {
136
+ type: string;
137
+ timestamp: string;
138
+ data: ToolExecutionFailedStreamingEventData$Outbound;
139
+ };
140
+ /** @internal */
141
+ export declare const ToolExecutionFailedStreamingEvent$outboundSchema: z.ZodType<ToolExecutionFailedStreamingEvent$Outbound, z.ZodTypeDef, ToolExecutionFailedStreamingEvent>;
142
+ export declare function toolExecutionFailedStreamingEventToJSON(toolExecutionFailedStreamingEvent: ToolExecutionFailedStreamingEvent): string;
143
+ export declare function toolExecutionFailedStreamingEventFromJSON(jsonString: string): SafeParseResult<ToolExecutionFailedStreamingEvent, SDKValidationError>;
144
+ //# sourceMappingURL=toolexecutionfailedstreamingevent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolexecutionfailedstreamingevent.d.ts","sourceRoot":"","sources":["../../src/models/components/toolexecutionfailedstreamingevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,qCAAqC;;CAGxC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC5D,OAAO,qCAAqC,CAC7C,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC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CAAC;AAEH,wBAAgB,2CAA2C,CACzD,qCAAqC,EAAE,qCAAqC,GAC3E,MAAM,CAMR;AACD,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,8CAA8C,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CAKjC,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AACD,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
@@ -0,0 +1,223 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolExecutionFailedStreamingEvent$outboundSchema = exports.ToolExecutionFailedStreamingEvent$inboundSchema = exports.ToolExecutionFailedStreamingEventData$outboundSchema = exports.ToolExecutionFailedStreamingEventData$inboundSchema = exports.ToolExecutionFailedStreamingEventToolExecutionContext$outboundSchema = exports.ToolExecutionFailedStreamingEventToolExecutionContext$inboundSchema = exports.ToolExecutionFailedStreamingEventMemory$outboundSchema = exports.ToolExecutionFailedStreamingEventMemory$inboundSchema = exports.ToolExecutionFailedStreamingEventProduct$outboundSchema = exports.ToolExecutionFailedStreamingEventProduct$inboundSchema = exports.ErrorT$outboundSchema = exports.ErrorT$inboundSchema = exports.ToolExecutionFailedStreamingEventType$outboundSchema = exports.ToolExecutionFailedStreamingEventType$inboundSchema = exports.ToolExecutionFailedStreamingEventProduct = exports.ToolExecutionFailedStreamingEventType = void 0;
40
+ exports.errorToJSON = errorToJSON;
41
+ exports.errorFromJSON = errorFromJSON;
42
+ exports.toolExecutionFailedStreamingEventMemoryToJSON = toolExecutionFailedStreamingEventMemoryToJSON;
43
+ exports.toolExecutionFailedStreamingEventMemoryFromJSON = toolExecutionFailedStreamingEventMemoryFromJSON;
44
+ exports.toolExecutionFailedStreamingEventToolExecutionContextToJSON = toolExecutionFailedStreamingEventToolExecutionContextToJSON;
45
+ exports.toolExecutionFailedStreamingEventToolExecutionContextFromJSON = toolExecutionFailedStreamingEventToolExecutionContextFromJSON;
46
+ exports.toolExecutionFailedStreamingEventDataToJSON = toolExecutionFailedStreamingEventDataToJSON;
47
+ exports.toolExecutionFailedStreamingEventDataFromJSON = toolExecutionFailedStreamingEventDataFromJSON;
48
+ exports.toolExecutionFailedStreamingEventToJSON = toolExecutionFailedStreamingEventToJSON;
49
+ exports.toolExecutionFailedStreamingEventFromJSON = toolExecutionFailedStreamingEventFromJSON;
50
+ const z = __importStar(require("zod/v3"));
51
+ const primitives_js_1 = require("../../lib/primitives.js");
52
+ const schemas_js_1 = require("../../lib/schemas.js");
53
+ exports.ToolExecutionFailedStreamingEventType = {
54
+ EventWorkflowEventsToolExecutionFailed: "event.workflow_events.tool_execution_failed",
55
+ };
56
+ /**
57
+ * Orquesta product
58
+ */
59
+ exports.ToolExecutionFailedStreamingEventProduct = {
60
+ Remoteconfigs: "remoteconfigs",
61
+ Deployments: "deployments",
62
+ Experiments: "experiments",
63
+ Playgrounds: "playgrounds",
64
+ Spreadsheets: "spreadsheets",
65
+ SpreadsheetRun: "spreadsheet_run",
66
+ LlmEvaluator: "llm_evaluator",
67
+ Knowledge: "knowledge",
68
+ Router: "router",
69
+ Workflows: "workflows",
70
+ ExternalEvents: "external_events",
71
+ Agents: "agents",
72
+ MemoryStores: "memory-stores",
73
+ Generic: "generic",
74
+ Evaluators: "evaluators",
75
+ Otel: "otel",
76
+ };
77
+ /** @internal */
78
+ exports.ToolExecutionFailedStreamingEventType$inboundSchema = z.nativeEnum(exports.ToolExecutionFailedStreamingEventType);
79
+ /** @internal */
80
+ exports.ToolExecutionFailedStreamingEventType$outboundSchema = exports.ToolExecutionFailedStreamingEventType$inboundSchema;
81
+ /** @internal */
82
+ exports.ErrorT$inboundSchema = z
83
+ .object({
84
+ message: z.string(),
85
+ stack: z.string().optional(),
86
+ });
87
+ /** @internal */
88
+ exports.ErrorT$outboundSchema = z.object({
89
+ message: z.string(),
90
+ stack: z.string().optional(),
91
+ });
92
+ function errorToJSON(errorT) {
93
+ return JSON.stringify(exports.ErrorT$outboundSchema.parse(errorT));
94
+ }
95
+ function errorFromJSON(jsonString) {
96
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ErrorT$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ErrorT' from JSON`);
97
+ }
98
+ /** @internal */
99
+ exports.ToolExecutionFailedStreamingEventProduct$inboundSchema = z
100
+ .nativeEnum(exports.ToolExecutionFailedStreamingEventProduct);
101
+ /** @internal */
102
+ exports.ToolExecutionFailedStreamingEventProduct$outboundSchema = exports.ToolExecutionFailedStreamingEventProduct$inboundSchema;
103
+ /** @internal */
104
+ exports.ToolExecutionFailedStreamingEventMemory$inboundSchema = z.object({
105
+ entity_id: z.string(),
106
+ }).transform((v) => {
107
+ return (0, primitives_js_1.remap)(v, {
108
+ "entity_id": "entityId",
109
+ });
110
+ });
111
+ /** @internal */
112
+ exports.ToolExecutionFailedStreamingEventMemory$outboundSchema = z.object({
113
+ entityId: z.string(),
114
+ }).transform((v) => {
115
+ return (0, primitives_js_1.remap)(v, {
116
+ entityId: "entity_id",
117
+ });
118
+ });
119
+ function toolExecutionFailedStreamingEventMemoryToJSON(toolExecutionFailedStreamingEventMemory) {
120
+ return JSON.stringify(exports.ToolExecutionFailedStreamingEventMemory$outboundSchema.parse(toolExecutionFailedStreamingEventMemory));
121
+ }
122
+ function toolExecutionFailedStreamingEventMemoryFromJSON(jsonString) {
123
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolExecutionFailedStreamingEventMemory$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolExecutionFailedStreamingEventMemory' from JSON`);
124
+ }
125
+ /** @internal */
126
+ exports.ToolExecutionFailedStreamingEventToolExecutionContext$inboundSchema = z.object({
127
+ action_id: z.string(),
128
+ agent_tool_call_id: z.string(),
129
+ workspace_id: z.string(),
130
+ agent_manifest_id: z.string(),
131
+ agent_execution_id: z.string(),
132
+ product: exports.ToolExecutionFailedStreamingEventProduct$inboundSchema,
133
+ memory: z.lazy(() => exports.ToolExecutionFailedStreamingEventMemory$inboundSchema)
134
+ .optional(),
135
+ parent_id: z.string().optional(),
136
+ }).transform((v) => {
137
+ return (0, primitives_js_1.remap)(v, {
138
+ "action_id": "actionId",
139
+ "agent_tool_call_id": "agentToolCallId",
140
+ "workspace_id": "workspaceId",
141
+ "agent_manifest_id": "agentManifestId",
142
+ "agent_execution_id": "agentExecutionId",
143
+ "parent_id": "parentId",
144
+ });
145
+ });
146
+ /** @internal */
147
+ exports.ToolExecutionFailedStreamingEventToolExecutionContext$outboundSchema = z.object({
148
+ actionId: z.string(),
149
+ agentToolCallId: z.string(),
150
+ workspaceId: z.string(),
151
+ agentManifestId: z.string(),
152
+ agentExecutionId: z.string(),
153
+ product: exports.ToolExecutionFailedStreamingEventProduct$outboundSchema,
154
+ memory: z.lazy(() => exports.ToolExecutionFailedStreamingEventMemory$outboundSchema)
155
+ .optional(),
156
+ parentId: z.string().optional(),
157
+ }).transform((v) => {
158
+ return (0, primitives_js_1.remap)(v, {
159
+ actionId: "action_id",
160
+ agentToolCallId: "agent_tool_call_id",
161
+ workspaceId: "workspace_id",
162
+ agentManifestId: "agent_manifest_id",
163
+ agentExecutionId: "agent_execution_id",
164
+ parentId: "parent_id",
165
+ });
166
+ });
167
+ function toolExecutionFailedStreamingEventToolExecutionContextToJSON(toolExecutionFailedStreamingEventToolExecutionContext) {
168
+ return JSON.stringify(exports.ToolExecutionFailedStreamingEventToolExecutionContext$outboundSchema.parse(toolExecutionFailedStreamingEventToolExecutionContext));
169
+ }
170
+ function toolExecutionFailedStreamingEventToolExecutionContextFromJSON(jsonString) {
171
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolExecutionFailedStreamingEventToolExecutionContext$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolExecutionFailedStreamingEventToolExecutionContext' from JSON`);
172
+ }
173
+ /** @internal */
174
+ exports.ToolExecutionFailedStreamingEventData$inboundSchema = z.object({
175
+ error: z.lazy(() => exports.ErrorT$inboundSchema),
176
+ action_type: z.string(),
177
+ tool_execution_context: z.lazy(() => exports.ToolExecutionFailedStreamingEventToolExecutionContext$inboundSchema),
178
+ responseId: z.string().optional(),
179
+ workflowRunId: z.string(),
180
+ }).transform((v) => {
181
+ return (0, primitives_js_1.remap)(v, {
182
+ "action_type": "actionType",
183
+ "tool_execution_context": "toolExecutionContext",
184
+ });
185
+ });
186
+ /** @internal */
187
+ exports.ToolExecutionFailedStreamingEventData$outboundSchema = z.object({
188
+ error: z.lazy(() => exports.ErrorT$outboundSchema),
189
+ actionType: z.string(),
190
+ toolExecutionContext: z.lazy(() => exports.ToolExecutionFailedStreamingEventToolExecutionContext$outboundSchema),
191
+ responseId: z.string().optional(),
192
+ workflowRunId: z.string(),
193
+ }).transform((v) => {
194
+ return (0, primitives_js_1.remap)(v, {
195
+ actionType: "action_type",
196
+ toolExecutionContext: "tool_execution_context",
197
+ });
198
+ });
199
+ function toolExecutionFailedStreamingEventDataToJSON(toolExecutionFailedStreamingEventData) {
200
+ return JSON.stringify(exports.ToolExecutionFailedStreamingEventData$outboundSchema.parse(toolExecutionFailedStreamingEventData));
201
+ }
202
+ function toolExecutionFailedStreamingEventDataFromJSON(jsonString) {
203
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolExecutionFailedStreamingEventData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolExecutionFailedStreamingEventData' from JSON`);
204
+ }
205
+ /** @internal */
206
+ exports.ToolExecutionFailedStreamingEvent$inboundSchema = z.object({
207
+ type: exports.ToolExecutionFailedStreamingEventType$inboundSchema,
208
+ timestamp: z.string(),
209
+ data: z.lazy(() => exports.ToolExecutionFailedStreamingEventData$inboundSchema),
210
+ });
211
+ /** @internal */
212
+ exports.ToolExecutionFailedStreamingEvent$outboundSchema = z.object({
213
+ type: exports.ToolExecutionFailedStreamingEventType$outboundSchema,
214
+ timestamp: z.string(),
215
+ data: z.lazy(() => exports.ToolExecutionFailedStreamingEventData$outboundSchema),
216
+ });
217
+ function toolExecutionFailedStreamingEventToJSON(toolExecutionFailedStreamingEvent) {
218
+ return JSON.stringify(exports.ToolExecutionFailedStreamingEvent$outboundSchema.parse(toolExecutionFailedStreamingEvent));
219
+ }
220
+ function toolExecutionFailedStreamingEventFromJSON(jsonString) {
221
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolExecutionFailedStreamingEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolExecutionFailedStreamingEvent' from JSON`);
222
+ }
223
+ //# sourceMappingURL=toolexecutionfailedstreamingevent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolexecutionfailedstreamingevent.js","sourceRoot":"","sources":["../../src/models/components/toolexecutionfailedstreamingevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwHH,kCAEC;AACD,sCAQC;AAyCD,sGASC;AACD,0GAcC;AAmED,kIASC;AACD,sIAcC;AAmDD,kGAQC;AACD,sGASC;AA8BD,0FAQC;AACD,8FAQC;AAjZD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAKpC,QAAA,qCAAqC,GAAG;IACnD,sCAAsC,EACpC,6CAA6C;CACvC,CAAC;AAUX;;GAEG;AACU,QAAA,wCAAwC,GAAG;IACtD,aAAa,EAAE,eAAe;IAC9B,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,iBAAiB;IACjC,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,iBAAiB;IACjC,MAAM,EAAE,QAAQ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