@orq-ai/node 4.11.0 → 4.12.0-rc.2

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 (1238) hide show
  1. package/README.md +70 -36
  2. package/funcs/notifiersCreate.d.ts +17 -0
  3. package/funcs/notifiersCreate.d.ts.map +1 -0
  4. package/funcs/notifiersCreate.js +115 -0
  5. package/funcs/notifiersCreate.js.map +1 -0
  6. package/funcs/notifiersDelete.d.ts +18 -0
  7. package/funcs/notifiersDelete.d.ts.map +1 -0
  8. package/funcs/notifiersDelete.js +121 -0
  9. package/funcs/notifiersDelete.js.map +1 -0
  10. package/funcs/notifiersGet.d.ts +18 -0
  11. package/funcs/notifiersGet.d.ts.map +1 -0
  12. package/funcs/notifiersGet.js +121 -0
  13. package/funcs/notifiersGet.js.map +1 -0
  14. package/funcs/notifiersList.d.ts +18 -0
  15. package/funcs/notifiersList.d.ts.map +1 -0
  16. package/funcs/notifiersList.js +122 -0
  17. package/funcs/notifiersList.js.map +1 -0
  18. package/funcs/notifiersUpdate.d.ts +18 -0
  19. package/funcs/notifiersUpdate.d.ts.map +1 -0
  20. package/funcs/notifiersUpdate.js +124 -0
  21. package/funcs/notifiersUpdate.js.map +1 -0
  22. package/funcs/tracesAggregate.d.ts +17 -0
  23. package/funcs/tracesAggregate.d.ts.map +1 -0
  24. package/funcs/tracesAggregate.js +115 -0
  25. package/funcs/tracesAggregate.js.map +1 -0
  26. package/funcs/tracesGet.d.ts +18 -0
  27. package/funcs/tracesGet.d.ts.map +1 -0
  28. package/funcs/tracesGet.js +121 -0
  29. package/funcs/tracesGet.js.map +1 -0
  30. package/funcs/tracesGetSpan.d.ts +18 -0
  31. package/funcs/tracesGetSpan.d.ts.map +1 -0
  32. package/funcs/tracesGetSpan.js +125 -0
  33. package/funcs/tracesGetSpan.js.map +1 -0
  34. package/funcs/tracesListFacetValues.d.ts +18 -0
  35. package/funcs/tracesListFacetValues.d.ts.map +1 -0
  36. package/funcs/tracesListFacetValues.js +128 -0
  37. package/funcs/tracesListFacetValues.js.map +1 -0
  38. package/funcs/tracesListFacets.d.ts +17 -0
  39. package/funcs/tracesListFacets.d.ts.map +1 -0
  40. package/funcs/tracesListFacets.js +105 -0
  41. package/funcs/tracesListFacets.js.map +1 -0
  42. package/funcs/tracesListFields.d.ts +17 -0
  43. package/funcs/tracesListFields.d.ts.map +1 -0
  44. package/funcs/tracesListFields.js +105 -0
  45. package/funcs/tracesListFields.js.map +1 -0
  46. package/funcs/tracesListSpans.d.ts +18 -0
  47. package/funcs/tracesListSpans.d.ts.map +1 -0
  48. package/funcs/tracesListSpans.js +126 -0
  49. package/funcs/tracesListSpans.js.map +1 -0
  50. package/funcs/tracesQuery.d.ts +17 -0
  51. package/funcs/tracesQuery.d.ts.map +1 -0
  52. package/funcs/tracesQuery.js +115 -0
  53. package/funcs/tracesQuery.js.map +1 -0
  54. package/funcs/tracesSearch.d.ts +17 -0
  55. package/funcs/tracesSearch.d.ts.map +1 -0
  56. package/funcs/tracesSearch.js +115 -0
  57. package/funcs/tracesSearch.js.map +1 -0
  58. package/jsr.json +1 -1
  59. package/lib/config.d.ts +2 -2
  60. package/lib/config.js +2 -2
  61. package/lib/config.js.map +1 -1
  62. package/models/components/actionreviewrequestedstreamingevent.d.ts +6 -0
  63. package/models/components/actionreviewrequestedstreamingevent.d.ts.map +1 -1
  64. package/models/components/actionreviewrequestedstreamingevent.js +1 -0
  65. package/models/components/actionreviewrequestedstreamingevent.js.map +1 -1
  66. package/models/components/agentstartedstreamingevent.d.ts +6 -0
  67. package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
  68. package/models/components/agentstartedstreamingevent.js +1 -0
  69. package/models/components/agentstartedstreamingevent.js.map +1 -1
  70. package/models/components/aggregatetracesrequest.d.ts +26 -0
  71. package/models/components/aggregatetracesrequest.d.ts.map +1 -0
  72. package/models/components/aggregatetracesrequest.js +63 -0
  73. package/models/components/aggregatetracesrequest.js.map +1 -0
  74. package/models/components/aggregatetracesresponse.d.ts +12 -0
  75. package/models/components/aggregatetracesresponse.d.ts.map +1 -0
  76. package/models/components/aggregatetracesresponse.js +52 -0
  77. package/models/components/aggregatetracesresponse.js.map +1 -0
  78. package/models/components/createnotifierrequest.d.ts +210 -0
  79. package/models/components/createnotifierrequest.d.ts.map +1 -0
  80. package/models/components/createnotifierrequest.js +160 -0
  81. package/models/components/createnotifierrequest.js.map +1 -0
  82. package/models/components/createnotifierresponse.d.ts +14 -0
  83. package/models/components/createnotifierresponse.d.ts.map +1 -0
  84. package/models/components/createnotifierresponse.js +51 -0
  85. package/models/components/createnotifierresponse.js.map +1 -0
  86. package/models/components/deletenotifierresponse.d.ts +8 -0
  87. package/models/components/deletenotifierresponse.d.ts.map +1 -0
  88. package/models/components/deletenotifierresponse.js +48 -0
  89. package/models/components/deletenotifierresponse.js.map +1 -0
  90. package/models/components/evaluatorresponsefunction.js +2 -2
  91. package/models/components/evaluatorresponsehttp.js +2 -2
  92. package/models/components/evaluatorresponsejsonschema.js +2 -2
  93. package/models/components/evaluatorresponsellm.js +2 -2
  94. package/models/components/evaluatorresponsepython.js +2 -2
  95. package/models/components/evaluatorresponseragas.js +2 -2
  96. package/models/components/evaluatorresponsetypescript.js +2 -2
  97. package/models/components/getnotifierresponse.d.ts +14 -0
  98. package/models/components/getnotifierresponse.d.ts.map +1 -0
  99. package/models/components/getnotifierresponse.js +51 -0
  100. package/models/components/getnotifierresponse.js.map +1 -0
  101. package/models/components/gettraceresponse.d.ts +11 -0
  102. package/models/components/gettraceresponse.d.ts.map +1 -0
  103. package/models/components/gettraceresponse.js +51 -0
  104. package/models/components/gettraceresponse.js.map +1 -0
  105. package/models/components/gettracespanresponse.d.ts +11 -0
  106. package/models/components/gettracespanresponse.d.ts.map +1 -0
  107. package/models/components/gettracespanresponse.js +51 -0
  108. package/models/components/gettracespanresponse.js.map +1 -0
  109. package/models/components/index.d.ts +36 -0
  110. package/models/components/index.d.ts.map +1 -1
  111. package/models/components/index.js +36 -0
  112. package/models/components/index.js.map +1 -1
  113. package/models/components/listnotifiersresponse.d.ts +22 -0
  114. package/models/components/listnotifiersresponse.d.ts.map +1 -0
  115. package/models/components/listnotifiersresponse.js +58 -0
  116. package/models/components/listnotifiersresponse.js.map +1 -0
  117. package/models/components/listtracefacetsresponse.d.ts +11 -0
  118. package/models/components/listtracefacetsresponse.d.ts.map +1 -0
  119. package/models/components/listtracefacetsresponse.js +51 -0
  120. package/models/components/listtracefacetsresponse.js.map +1 -0
  121. package/models/components/listtracefacetvaluesresponse.d.ts +13 -0
  122. package/models/components/listtracefacetvaluesresponse.d.ts.map +1 -0
  123. package/models/components/listtracefacetvaluesresponse.js +58 -0
  124. package/models/components/listtracefacetvaluesresponse.js.map +1 -0
  125. package/models/components/listtracefieldsresponse.d.ts +11 -0
  126. package/models/components/listtracefieldsresponse.d.ts.map +1 -0
  127. package/models/components/listtracefieldsresponse.js +51 -0
  128. package/models/components/listtracefieldsresponse.js.map +1 -0
  129. package/models/components/listtracespansresponse.d.ts +14 -0
  130. package/models/components/listtracespansresponse.d.ts.map +1 -0
  131. package/models/components/listtracespansresponse.js +60 -0
  132. package/models/components/listtracespansresponse.js.map +1 -0
  133. package/models/components/notifier.d.ts +225 -0
  134. package/models/components/notifier.d.ts.map +1 -0
  135. package/models/components/notifier.js +186 -0
  136. package/models/components/notifier.js.map +1 -0
  137. package/models/components/notifiertype.d.ts +14 -0
  138. package/models/components/notifiertype.d.ts.map +1 -0
  139. package/models/components/notifiertype.js +51 -0
  140. package/models/components/notifiertype.js.map +1 -0
  141. package/models/components/querytracesrequest.d.ts +20 -0
  142. package/models/components/querytracesrequest.d.ts.map +1 -0
  143. package/models/components/querytracesrequest.js +58 -0
  144. package/models/components/querytracesrequest.js.map +1 -0
  145. package/models/components/querytracesresponse.d.ts +12 -0
  146. package/models/components/querytracesresponse.d.ts.map +1 -0
  147. package/models/components/querytracesresponse.js +52 -0
  148. package/models/components/querytracesresponse.js.map +1 -0
  149. package/models/components/reasoningpart.js +1 -1
  150. package/models/components/searchtracesrequest.d.ts +28 -0
  151. package/models/components/searchtracesrequest.d.ts.map +1 -0
  152. package/models/components/searchtracesrequest.js +64 -0
  153. package/models/components/searchtracesrequest.js.map +1 -0
  154. package/models/components/searchtracesresponse.d.ts +32 -0
  155. package/models/components/searchtracesresponse.d.ts.map +1 -0
  156. package/models/components/searchtracesresponse.js +70 -0
  157. package/models/components/searchtracesresponse.js.map +1 -0
  158. package/models/components/spandetail.d.ts +16 -0
  159. package/models/components/spandetail.d.ts.map +1 -0
  160. package/models/components/spandetail.js +58 -0
  161. package/models/components/spandetail.js.map +1 -0
  162. package/models/components/spansummary.d.ts +27 -0
  163. package/models/components/spansummary.d.ts.map +1 -0
  164. package/models/components/spansummary.js +80 -0
  165. package/models/components/spansummary.js.map +1 -0
  166. package/models/components/traceagent.d.ts +11 -0
  167. package/models/components/traceagent.d.ts.map +1 -0
  168. package/models/components/traceagent.js +51 -0
  169. package/models/components/traceagent.js.map +1 -0
  170. package/models/components/traceaggregaterow.d.ts +15 -0
  171. package/models/components/traceaggregaterow.d.ts.map +1 -0
  172. package/models/components/traceaggregaterow.js +51 -0
  173. package/models/components/traceaggregaterow.js.map +1 -0
  174. package/models/components/tracecompute.d.ts +14 -0
  175. package/models/components/tracecompute.d.ts.map +1 -0
  176. package/models/components/tracecompute.js +50 -0
  177. package/models/components/tracecompute.js.map +1 -0
  178. package/models/components/tracecontext.d.ts +11 -0
  179. package/models/components/tracecontext.d.ts.map +1 -0
  180. package/models/components/tracecontext.js +57 -0
  181. package/models/components/tracecontext.js.map +1 -0
  182. package/models/components/tracecost.d.ts +26 -0
  183. package/models/components/tracecost.d.ts.map +1 -0
  184. package/models/components/tracecost.js +80 -0
  185. package/models/components/tracecost.js.map +1 -0
  186. package/models/components/tracefacet.d.ts +12 -0
  187. package/models/components/tracefacet.d.ts.map +1 -0
  188. package/models/components/tracefacet.js +52 -0
  189. package/models/components/tracefacet.js.map +1 -0
  190. package/models/components/tracefacetvalue.d.ts +11 -0
  191. package/models/components/tracefacetvalue.d.ts.map +1 -0
  192. package/models/components/tracefacetvalue.js +51 -0
  193. package/models/components/tracefacetvalue.js.map +1 -0
  194. package/models/components/tracefield.d.ts +20 -0
  195. package/models/components/tracefield.d.ts.map +1 -0
  196. package/models/components/tracefield.js +65 -0
  197. package/models/components/tracefield.js.map +1 -0
  198. package/models/components/tracefilter.d.ts +16 -0
  199. package/models/components/tracefilter.d.ts.map +1 -0
  200. package/models/components/tracefilter.js +51 -0
  201. package/models/components/tracefilter.js.map +1 -0
  202. package/models/components/tracesearchmeta.d.ts +13 -0
  203. package/models/components/tracesearchmeta.d.ts.map +1 -0
  204. package/models/components/tracesearchmeta.js +61 -0
  205. package/models/components/tracesearchmeta.js.map +1 -0
  206. package/models/components/tracesort.d.ts +14 -0
  207. package/models/components/tracesort.d.ts.map +1 -0
  208. package/models/components/tracesort.js +50 -0
  209. package/models/components/tracesort.js.map +1 -0
  210. package/models/components/tracesummary.d.ts +62 -0
  211. package/models/components/tracesummary.d.ts.map +1 -0
  212. package/models/components/tracesummary.js +118 -0
  213. package/models/components/tracesummary.js.map +1 -0
  214. package/models/components/traceusage.d.ts +18 -0
  215. package/models/components/traceusage.d.ts.map +1 -0
  216. package/models/components/traceusage.js +71 -0
  217. package/models/components/traceusage.js.map +1 -0
  218. package/models/components/updatenotifierrequest.d.ts +69 -0
  219. package/models/components/updatenotifierrequest.d.ts.map +1 -0
  220. package/models/components/updatenotifierrequest.js +78 -0
  221. package/models/components/updatenotifierrequest.js.map +1 -0
  222. package/models/components/updatenotifierresponse.d.ts +14 -0
  223. package/models/components/updatenotifierresponse.d.ts.map +1 -0
  224. package/models/components/updatenotifierresponse.js +51 -0
  225. package/models/components/updatenotifierresponse.js.map +1 -0
  226. package/models/operations/createagentrequest.d.ts +114 -0
  227. package/models/operations/createagentrequest.d.ts.map +1 -1
  228. package/models/operations/createagentrequest.js +13 -0
  229. package/models/operations/createagentrequest.js.map +1 -1
  230. package/models/operations/createdataset.js +1 -1
  231. package/models/operations/createdatasetitem.js +4 -4
  232. package/models/operations/createdatasource.js +1 -1
  233. package/models/operations/createprompt.d.ts +2 -0
  234. package/models/operations/createprompt.d.ts.map +1 -1
  235. package/models/operations/createprompt.js +2 -0
  236. package/models/operations/createprompt.js.map +1 -1
  237. package/models/operations/createtool.js +6 -6
  238. package/models/operations/deploymentinvoke.d.ts +2 -0
  239. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  240. package/models/operations/deploymentinvoke.js +2 -0
  241. package/models/operations/deploymentinvoke.js.map +1 -1
  242. package/models/operations/deployments.d.ts +2 -0
  243. package/models/operations/deployments.d.ts.map +1 -1
  244. package/models/operations/deployments.js +2 -0
  245. package/models/operations/deployments.js.map +1 -1
  246. package/models/operations/deploymentstream.d.ts +2 -0
  247. package/models/operations/deploymentstream.d.ts.map +1 -1
  248. package/models/operations/deploymentstream.js +2 -0
  249. package/models/operations/deploymentstream.js.map +1 -1
  250. package/models/operations/getallprompts.d.ts +2 -0
  251. package/models/operations/getallprompts.d.ts.map +1 -1
  252. package/models/operations/getallprompts.js +2 -0
  253. package/models/operations/getallprompts.js.map +1 -1
  254. package/models/operations/getalltools.js +6 -6
  255. package/models/operations/getoneprompt.d.ts +2 -0
  256. package/models/operations/getoneprompt.d.ts.map +1 -1
  257. package/models/operations/getoneprompt.js +2 -0
  258. package/models/operations/getoneprompt.js.map +1 -1
  259. package/models/operations/getpromptversion.d.ts +2 -0
  260. package/models/operations/getpromptversion.d.ts.map +1 -1
  261. package/models/operations/getpromptversion.js +2 -0
  262. package/models/operations/getpromptversion.js.map +1 -1
  263. package/models/operations/getv2humanevalsets.js +2 -2
  264. package/models/operations/getv2humanevalsetsid.js +2 -2
  265. package/models/operations/index.d.ts +8 -0
  266. package/models/operations/index.d.ts.map +1 -1
  267. package/models/operations/index.js +8 -0
  268. package/models/operations/index.js.map +1 -1
  269. package/models/operations/listagents.d.ts +6 -0
  270. package/models/operations/listagents.d.ts.map +1 -1
  271. package/models/operations/listagents.js +1 -0
  272. package/models/operations/listagents.js.map +1 -1
  273. package/models/operations/listdatasetdatapoints.js +4 -4
  274. package/models/operations/listdatasets.js +1 -1
  275. package/models/operations/listdatasources.js +1 -1
  276. package/models/operations/listpromptversions.d.ts +2 -0
  277. package/models/operations/listpromptversions.d.ts.map +1 -1
  278. package/models/operations/listpromptversions.js +2 -0
  279. package/models/operations/listpromptversions.js.map +1 -1
  280. package/models/operations/notifierdelete.d.ts +12 -0
  281. package/models/operations/notifierdelete.d.ts.map +1 -0
  282. package/models/operations/notifierdelete.js +54 -0
  283. package/models/operations/notifierdelete.js.map +1 -0
  284. package/models/operations/notifierget.d.ts +12 -0
  285. package/models/operations/notifierget.d.ts.map +1 -0
  286. package/models/operations/notifierget.js +54 -0
  287. package/models/operations/notifierget.js.map +1 -0
  288. package/models/operations/notifierlist.d.ts +30 -0
  289. package/models/operations/notifierlist.d.ts.map +1 -0
  290. package/models/operations/notifierlist.js +59 -0
  291. package/models/operations/notifierlist.js.map +1 -0
  292. package/models/operations/notifierupdate.d.ts +15 -0
  293. package/models/operations/notifierupdate.d.ts.map +1 -0
  294. package/models/operations/notifierupdate.js +57 -0
  295. package/models/operations/notifierupdate.js.map +1 -0
  296. package/models/operations/patchv2humanevalsetsid.js +2 -2
  297. package/models/operations/postv2feedbackevaluation.js +3 -3
  298. package/models/operations/postv2humanevalsets.js +2 -2
  299. package/models/operations/retrieveagentrequest.d.ts +6 -0
  300. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  301. package/models/operations/retrieveagentrequest.js +1 -0
  302. package/models/operations/retrieveagentrequest.js.map +1 -1
  303. package/models/operations/retrievedatapoint.js +4 -4
  304. package/models/operations/retrievedataset.js +1 -1
  305. package/models/operations/retrievedatasource.js +1 -1
  306. package/models/operations/retrievetool.js +6 -6
  307. package/models/operations/runagent.d.ts +99 -0
  308. package/models/operations/runagent.d.ts.map +1 -1
  309. package/models/operations/runagent.js +12 -1
  310. package/models/operations/runagent.js.map +1 -1
  311. package/models/operations/streamrunagent.d.ts +99 -0
  312. package/models/operations/streamrunagent.d.ts.map +1 -1
  313. package/models/operations/streamrunagent.js +12 -1
  314. package/models/operations/streamrunagent.js.map +1 -1
  315. package/models/operations/tracesget.d.ts +12 -0
  316. package/models/operations/tracesget.d.ts.map +1 -0
  317. package/models/operations/tracesget.js +54 -0
  318. package/models/operations/tracesget.js.map +1 -0
  319. package/models/operations/tracesgetspan.d.ts +14 -0
  320. package/models/operations/tracesgetspan.d.ts.map +1 -0
  321. package/models/operations/tracesgetspan.js +56 -0
  322. package/models/operations/tracesgetspan.js.map +1 -0
  323. package/models/operations/traceslistfacetvalues.d.ts +20 -0
  324. package/models/operations/traceslistfacetvalues.d.ts.map +1 -0
  325. package/models/operations/traceslistfacetvalues.js +58 -0
  326. package/models/operations/traceslistfacetvalues.js.map +1 -0
  327. package/models/operations/traceslistspans.d.ts +16 -0
  328. package/models/operations/traceslistspans.d.ts.map +1 -0
  329. package/models/operations/traceslistspans.js +57 -0
  330. package/models/operations/traceslistspans.js.map +1 -0
  331. package/models/operations/updateagent.d.ts +114 -0
  332. package/models/operations/updateagent.d.ts.map +1 -1
  333. package/models/operations/updateagent.js +13 -0
  334. package/models/operations/updateagent.js.map +1 -1
  335. package/models/operations/updatedatapoint.js +4 -4
  336. package/models/operations/updatedataset.js +1 -1
  337. package/models/operations/updatedatasource.js +1 -1
  338. package/models/operations/updateprompt.d.ts +2 -0
  339. package/models/operations/updateprompt.d.ts.map +1 -1
  340. package/models/operations/updateprompt.js +2 -0
  341. package/models/operations/updateprompt.js.map +1 -1
  342. package/models/operations/updatetool.js +7 -7
  343. package/package.json +3 -2
  344. package/sdk/feedback.d.ts +2 -2
  345. package/sdk/feedback.js +2 -2
  346. package/sdk/notifiers.d.ts +41 -0
  347. package/sdk/notifiers.d.ts.map +1 -0
  348. package/sdk/notifiers.js +62 -0
  349. package/sdk/notifiers.js.map +1 -0
  350. package/sdk/sdk.d.ts +6 -0
  351. package/sdk/sdk.d.ts.map +1 -1
  352. package/sdk/sdk.js +8 -0
  353. package/sdk/sdk.js.map +1 -1
  354. package/sdk/traces.d.ts +69 -0
  355. package/sdk/traces.d.ts.map +1 -0
  356. package/sdk/traces.js +102 -0
  357. package/sdk/traces.js.map +1 -0
  358. package/src/funcs/notifiersCreate.ts +162 -0
  359. package/src/funcs/notifiersDelete.ts +168 -0
  360. package/src/funcs/notifiersGet.ts +168 -0
  361. package/src/funcs/notifiersList.ts +171 -0
  362. package/src/funcs/notifiersUpdate.ts +171 -0
  363. package/src/funcs/tracesAggregate.ts +162 -0
  364. package/src/funcs/tracesGet.ts +168 -0
  365. package/src/funcs/tracesGetSpan.ts +172 -0
  366. package/src/funcs/tracesListFacetValues.ts +177 -0
  367. package/src/funcs/tracesListFacets.ts +144 -0
  368. package/src/funcs/tracesListFields.ts +144 -0
  369. package/src/funcs/tracesListSpans.ts +174 -0
  370. package/src/funcs/tracesQuery.ts +162 -0
  371. package/src/funcs/tracesSearch.ts +162 -0
  372. package/src/lib/config.ts +2 -2
  373. package/src/models/components/actionreviewrequestedstreamingevent.ts +5 -0
  374. package/src/models/components/agentstartedstreamingevent.ts +5 -0
  375. package/src/models/components/aggregatetracesrequest.ts +65 -0
  376. package/src/models/components/aggregatetracesresponse.ts +37 -0
  377. package/src/models/components/createnotifierrequest.ts +433 -0
  378. package/src/models/components/createnotifierresponse.ts +35 -0
  379. package/src/models/components/deletenotifierresponse.ts +27 -0
  380. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  381. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  382. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  383. package/src/models/components/evaluatorresponsellm.ts +2 -2
  384. package/src/models/components/evaluatorresponsepython.ts +2 -2
  385. package/src/models/components/evaluatorresponseragas.ts +2 -2
  386. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  387. package/src/models/components/getnotifierresponse.ts +35 -0
  388. package/src/models/components/gettraceresponse.ts +32 -0
  389. package/src/models/components/gettracespanresponse.ts +32 -0
  390. package/src/models/components/index.ts +36 -0
  391. package/src/models/components/listnotifiersresponse.ts +50 -0
  392. package/src/models/components/listtracefacetsresponse.ts +32 -0
  393. package/src/models/components/listtracefacetvaluesresponse.ts +44 -0
  394. package/src/models/components/listtracefieldsresponse.ts +32 -0
  395. package/src/models/components/listtracespansresponse.ts +44 -0
  396. package/src/models/components/notifier.ts +465 -0
  397. package/src/models/components/notifiertype.ts +21 -0
  398. package/src/models/components/querytracesrequest.ts +48 -0
  399. package/src/models/components/querytracesresponse.ts +37 -0
  400. package/src/models/components/reasoningpart.ts +1 -1
  401. package/src/models/components/searchtracesrequest.ts +68 -0
  402. package/src/models/components/searchtracesresponse.ts +72 -0
  403. package/src/models/components/spandetail.ts +53 -0
  404. package/src/models/components/spansummary.ts +76 -0
  405. package/src/models/components/traceagent.ts +33 -0
  406. package/src/models/components/traceaggregaterow.ts +33 -0
  407. package/src/models/components/tracecompute.ts +30 -0
  408. package/src/models/components/tracecontext.ts +39 -0
  409. package/src/models/components/tracecost.ts +77 -0
  410. package/src/models/components/tracefacet.ts +35 -0
  411. package/src/models/components/tracefacetvalue.ts +33 -0
  412. package/src/models/components/tracefield.ts +56 -0
  413. package/src/models/components/tracefilter.ts +33 -0
  414. package/src/models/components/tracesearchmeta.ts +45 -0
  415. package/src/models/components/tracesort.ts +30 -0
  416. package/src/models/components/tracesummary.ts +152 -0
  417. package/src/models/components/traceusage.ts +62 -0
  418. package/src/models/components/updatenotifierrequest.ts +130 -0
  419. package/src/models/components/updatenotifierresponse.ts +35 -0
  420. package/src/models/operations/createagentrequest.ts +77 -0
  421. package/src/models/operations/createdataset.ts +1 -1
  422. package/src/models/operations/createdatasetitem.ts +4 -4
  423. package/src/models/operations/createdatasource.ts +1 -1
  424. package/src/models/operations/createprompt.ts +2 -0
  425. package/src/models/operations/createtool.ts +6 -6
  426. package/src/models/operations/deploymentinvoke.ts +2 -0
  427. package/src/models/operations/deployments.ts +2 -0
  428. package/src/models/operations/deploymentstream.ts +2 -0
  429. package/src/models/operations/getallprompts.ts +2 -0
  430. package/src/models/operations/getalltools.ts +6 -6
  431. package/src/models/operations/getoneprompt.ts +2 -0
  432. package/src/models/operations/getpromptversion.ts +2 -0
  433. package/src/models/operations/getv2humanevalsets.ts +2 -2
  434. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  435. package/src/models/operations/index.ts +8 -0
  436. package/src/models/operations/listagents.ts +5 -0
  437. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  438. package/src/models/operations/listdatasets.ts +1 -1
  439. package/src/models/operations/listdatasources.ts +1 -1
  440. package/src/models/operations/listpromptversions.ts +2 -0
  441. package/src/models/operations/notifierdelete.ts +36 -0
  442. package/src/models/operations/notifierget.ts +36 -0
  443. package/src/models/operations/notifierlist.ts +59 -0
  444. package/src/models/operations/notifierupdate.ts +41 -0
  445. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  446. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  447. package/src/models/operations/postv2humanevalsets.ts +2 -2
  448. package/src/models/operations/retrieveagentrequest.ts +5 -0
  449. package/src/models/operations/retrievedatapoint.ts +4 -4
  450. package/src/models/operations/retrievedataset.ts +1 -1
  451. package/src/models/operations/retrievedatasource.ts +1 -1
  452. package/src/models/operations/retrievetool.ts +6 -6
  453. package/src/models/operations/runagent.ts +67 -1
  454. package/src/models/operations/streamrunagent.ts +67 -1
  455. package/src/models/operations/tracesget.ts +36 -0
  456. package/src/models/operations/tracesgetspan.ts +40 -0
  457. package/src/models/operations/traceslistfacetvalues.ts +50 -0
  458. package/src/models/operations/traceslistspans.ts +43 -0
  459. package/src/models/operations/updateagent.ts +77 -0
  460. package/src/models/operations/updatedatapoint.ts +4 -4
  461. package/src/models/operations/updatedataset.ts +1 -1
  462. package/src/models/operations/updatedatasource.ts +1 -1
  463. package/src/models/operations/updateprompt.ts +2 -0
  464. package/src/models/operations/updatetool.ts +7 -7
  465. package/src/sdk/feedback.ts +2 -2
  466. package/src/sdk/notifiers.ts +100 -0
  467. package/src/sdk/sdk.ts +12 -0
  468. package/src/sdk/traces.ts +168 -0
  469. package/packages/orq-rc/examples/evalsAll.example.ts +0 -26
  470. package/packages/orq-rc/src/core.ts +0 -13
  471. package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -163
  472. package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -181
  473. package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -178
  474. package/packages/orq-rc/src/funcs/agentsList.ts +0 -186
  475. package/packages/orq-rc/src/funcs/agentsRefreshKeyCard.ts +0 -188
  476. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +0 -187
  477. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +0 -183
  478. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -181
  479. package/packages/orq-rc/src/funcs/agentsRun.ts +0 -164
  480. package/packages/orq-rc/src/funcs/agentsStream.ts +0 -205
  481. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -191
  482. package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -185
  483. package/packages/orq-rc/src/funcs/annotationsCreate.ts +0 -175
  484. package/packages/orq-rc/src/funcs/annotationsDelete.ts +0 -175
  485. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +0 -162
  486. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +0 -168
  487. package/packages/orq-rc/src/funcs/apiKeysGet.ts +0 -173
  488. package/packages/orq-rc/src/funcs/apiKeysList.ts +0 -176
  489. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +0 -144
  490. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +0 -171
  491. package/packages/orq-rc/src/funcs/budgetsCheck.ts +0 -162
  492. package/packages/orq-rc/src/funcs/budgetsCreate.ts +0 -162
  493. package/packages/orq-rc/src/funcs/budgetsDelete.ts +0 -168
  494. package/packages/orq-rc/src/funcs/budgetsGet.ts +0 -168
  495. package/packages/orq-rc/src/funcs/budgetsGetConsumption.ts +0 -169
  496. package/packages/orq-rc/src/funcs/budgetsList.ts +0 -176
  497. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +0 -174
  498. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +0 -171
  499. package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -162
  500. package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -168
  501. package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -167
  502. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -172
  503. package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -168
  504. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -183
  505. package/packages/orq-rc/src/funcs/datasetsList.ts +0 -171
  506. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -184
  507. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -176
  508. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -182
  509. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -177
  510. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -180
  511. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -170
  512. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -170
  513. package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -178
  514. package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -180
  515. package/packages/orq-rc/src/funcs/evalsAll.ts +0 -178
  516. package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -171
  517. package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -174
  518. package/packages/orq-rc/src/funcs/evalsInvoke.ts +0 -182
  519. package/packages/orq-rc/src/funcs/evalsListVersions.ts +0 -184
  520. package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -174
  521. package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -174
  522. package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +0 -161
  523. package/packages/orq-rc/src/funcs/feedbackRemove.ts +0 -169
  524. package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +0 -161
  525. package/packages/orq-rc/src/funcs/filesCreate.ts +0 -162
  526. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -168
  527. package/packages/orq-rc/src/funcs/filesGet.ts +0 -168
  528. package/packages/orq-rc/src/funcs/filesGetContent.ts +0 -168
  529. package/packages/orq-rc/src/funcs/filesList.ts +0 -171
  530. package/packages/orq-rc/src/funcs/filesUpdate.ts +0 -169
  531. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +0 -163
  532. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +0 -172
  533. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +0 -176
  534. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +0 -147
  535. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +0 -170
  536. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +0 -172
  537. package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +0 -164
  538. package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +0 -166
  539. package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +0 -165
  540. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +0 -170
  541. package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +0 -166
  542. package/packages/orq-rc/src/funcs/identitiesCreate.ts +0 -162
  543. package/packages/orq-rc/src/funcs/identitiesDelete.ts +0 -168
  544. package/packages/orq-rc/src/funcs/identitiesList.ts +0 -175
  545. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +0 -174
  546. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +0 -171
  547. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -160
  548. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -172
  549. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -167
  550. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -168
  551. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -175
  552. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -171
  553. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -174
  554. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -174
  555. package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -175
  556. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -179
  557. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -172
  558. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -175
  559. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -167
  560. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -174
  561. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -170
  562. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -168
  563. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -165
  564. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -175
  565. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -171
  566. package/packages/orq-rc/src/funcs/managementKeysCreate.ts +0 -163
  567. package/packages/orq-rc/src/funcs/managementKeysDelete.ts +0 -172
  568. package/packages/orq-rc/src/funcs/managementKeysGet.ts +0 -171
  569. package/packages/orq-rc/src/funcs/managementKeysList.ts +0 -175
  570. package/packages/orq-rc/src/funcs/managementKeysListCapabilities.ts +0 -144
  571. package/packages/orq-rc/src/funcs/managementKeysUpdate.ts +0 -175
  572. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -164
  573. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -177
  574. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -171
  575. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -169
  576. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -186
  577. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -181
  578. package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -183
  579. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -185
  580. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -178
  581. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -178
  582. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -180
  583. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -175
  584. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -169
  585. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -181
  586. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -176
  587. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +0 -168
  588. package/packages/orq-rc/src/funcs/modelsCreate.ts +0 -162
  589. package/packages/orq-rc/src/funcs/modelsCreateAutorouter.ts +0 -163
  590. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +0 -163
  591. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +0 -163
  592. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +0 -163
  593. package/packages/orq-rc/src/funcs/modelsDelete.ts +0 -168
  594. package/packages/orq-rc/src/funcs/modelsDisable.ts +0 -168
  595. package/packages/orq-rc/src/funcs/modelsEnable.ts +0 -163
  596. package/packages/orq-rc/src/funcs/modelsList.ts +0 -144
  597. package/packages/orq-rc/src/funcs/modelsUpdate.ts +0 -168
  598. package/packages/orq-rc/src/funcs/modelsUpdateAutorouter.ts +0 -169
  599. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +0 -169
  600. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +0 -169
  601. package/packages/orq-rc/src/funcs/modelsValidate.ts +0 -163
  602. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +0 -164
  603. package/packages/orq-rc/src/funcs/piiDetect.ts +0 -162
  604. package/packages/orq-rc/src/funcs/piiRedact.ts +0 -162
  605. package/packages/orq-rc/src/funcs/piiRestore.ts +0 -162
  606. package/packages/orq-rc/src/funcs/policiesCreate.ts +0 -162
  607. package/packages/orq-rc/src/funcs/policiesDelete.ts +0 -168
  608. package/packages/orq-rc/src/funcs/policiesList.ts +0 -170
  609. package/packages/orq-rc/src/funcs/policiesRetrieve.ts +0 -167
  610. package/packages/orq-rc/src/funcs/policiesUpdate.ts +0 -168
  611. package/packages/orq-rc/src/funcs/projectsCreate.ts +0 -162
  612. package/packages/orq-rc/src/funcs/projectsDelete.ts +0 -168
  613. package/packages/orq-rc/src/funcs/projectsGet.ts +0 -168
  614. package/packages/orq-rc/src/funcs/projectsList.ts +0 -170
  615. package/packages/orq-rc/src/funcs/projectsUpdate.ts +0 -171
  616. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -163
  617. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -174
  618. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -182
  619. package/packages/orq-rc/src/funcs/promptsList.ts +0 -169
  620. package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -174
  621. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -167
  622. package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -174
  623. package/packages/orq-rc/src/funcs/reportingQuery.ts +0 -162
  624. package/packages/orq-rc/src/funcs/responsesCreate.ts +0 -170
  625. package/packages/orq-rc/src/funcs/responsesGet.ts +0 -167
  626. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +0 -163
  627. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +0 -272
  628. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +0 -262
  629. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +0 -170
  630. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +0 -170
  631. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +0 -163
  632. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +0 -224
  633. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +0 -162
  634. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +0 -220
  635. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +0 -169
  636. package/packages/orq-rc/src/funcs/routerOcr.ts +0 -160
  637. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +0 -162
  638. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +0 -163
  639. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +0 -168
  640. package/packages/orq-rc/src/funcs/routingRulesList.ts +0 -173
  641. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +0 -144
  642. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +0 -167
  643. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +0 -168
  644. package/packages/orq-rc/src/funcs/schedulesCreate.ts +0 -185
  645. package/packages/orq-rc/src/funcs/schedulesDelete.ts +0 -184
  646. package/packages/orq-rc/src/funcs/schedulesList.ts +0 -167
  647. package/packages/orq-rc/src/funcs/schedulesRetrieve.ts +0 -183
  648. package/packages/orq-rc/src/funcs/schedulesTrigger.ts +0 -190
  649. package/packages/orq-rc/src/funcs/schedulesUpdate.ts +0 -191
  650. package/packages/orq-rc/src/funcs/skillsCreate.ts +0 -162
  651. package/packages/orq-rc/src/funcs/skillsDelete.ts +0 -168
  652. package/packages/orq-rc/src/funcs/skillsGet.ts +0 -168
  653. package/packages/orq-rc/src/funcs/skillsList.ts +0 -170
  654. package/packages/orq-rc/src/funcs/skillsUpdate.ts +0 -171
  655. package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -165
  656. package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -168
  657. package/packages/orq-rc/src/funcs/toolsGetVersion.ts +0 -191
  658. package/packages/orq-rc/src/funcs/toolsList.ts +0 -178
  659. package/packages/orq-rc/src/funcs/toolsListVersions.ts +0 -184
  660. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -167
  661. package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -177
  662. package/packages/orq-rc/src/hooks/global.ts +0 -44
  663. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  664. package/packages/orq-rc/src/hooks/index.ts +0 -6
  665. package/packages/orq-rc/src/hooks/registration.ts +0 -15
  666. package/packages/orq-rc/src/hooks/types.ts +0 -113
  667. package/packages/orq-rc/src/index.ts +0 -9
  668. package/packages/orq-rc/src/lib/base64.ts +0 -37
  669. package/packages/orq-rc/src/lib/config.ts +0 -64
  670. package/packages/orq-rc/src/lib/encodings.ts +0 -525
  671. package/packages/orq-rc/src/lib/env.ts +0 -61
  672. package/packages/orq-rc/src/lib/event-streams.ts +0 -191
  673. package/packages/orq-rc/src/lib/files.ts +0 -104
  674. package/packages/orq-rc/src/lib/http.ts +0 -323
  675. package/packages/orq-rc/src/lib/logger.ts +0 -9
  676. package/packages/orq-rc/src/lib/matchers.ts +0 -346
  677. package/packages/orq-rc/src/lib/primitives.ts +0 -166
  678. package/packages/orq-rc/src/lib/retries.ts +0 -226
  679. package/packages/orq-rc/src/lib/schemas.ts +0 -91
  680. package/packages/orq-rc/src/lib/sdks.ts +0 -443
  681. package/packages/orq-rc/src/lib/security.ts +0 -275
  682. package/packages/orq-rc/src/lib/url.ts +0 -35
  683. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +0 -99
  684. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -185
  685. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +0 -73
  686. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +0 -91
  687. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +0 -71
  688. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +0 -507
  689. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +0 -165
  690. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +0 -103
  691. package/packages/orq-rc/src/models/components/agentresponserequest.ts +0 -565
  692. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +0 -520
  693. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -807
  694. package/packages/orq-rc/src/models/components/allprojects.ts +0 -39
  695. package/packages/orq-rc/src/models/components/apikey.ts +0 -287
  696. package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +0 -66
  697. package/packages/orq-rc/src/models/components/apikeyowner.ts +0 -82
  698. package/packages/orq-rc/src/models/components/apikeystatus.ts +0 -21
  699. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +0 -136
  700. package/packages/orq-rc/src/models/components/autorouterconfig.ts +0 -88
  701. package/packages/orq-rc/src/models/components/autorouterv2config.ts +0 -92
  702. package/packages/orq-rc/src/models/components/autorouterv2effortconfig.ts +0 -66
  703. package/packages/orq-rc/src/models/components/azurefoundrydeployment.ts +0 -51
  704. package/packages/orq-rc/src/models/components/azurefoundrydeploymentmasterdata.ts +0 -60
  705. package/packages/orq-rc/src/models/components/budget.ts +0 -114
  706. package/packages/orq-rc/src/models/components/budgetlimit.ts +0 -83
  707. package/packages/orq-rc/src/models/components/budgetlimits.ts +0 -84
  708. package/packages/orq-rc/src/models/components/budgetmatch.ts +0 -56
  709. package/packages/orq-rc/src/models/components/budgetperiod.ts +0 -23
  710. package/packages/orq-rc/src/models/components/budgetrejection.ts +0 -48
  711. package/packages/orq-rc/src/models/components/budgetscope.ts +0 -150
  712. package/packages/orq-rc/src/models/components/budgetscopekind.ts +0 -22
  713. package/packages/orq-rc/src/models/components/budgetsortfield.ts +0 -19
  714. package/packages/orq-rc/src/models/components/budgetusage.ts +0 -54
  715. package/packages/orq-rc/src/models/components/checkbudgetsrequest.ts +0 -111
  716. package/packages/orq-rc/src/models/components/checkbudgetsresponse.ts +0 -62
  717. package/packages/orq-rc/src/models/components/conversationparam.ts +0 -51
  718. package/packages/orq-rc/src/models/components/createagentresponse.ts +0 -305
  719. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +0 -91
  720. package/packages/orq-rc/src/models/components/createapikeyresponse.ts +0 -49
  721. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +0 -109
  722. package/packages/orq-rc/src/models/components/createbudgetresponse.ts +0 -35
  723. package/packages/orq-rc/src/models/components/createfilerequest.ts +0 -62
  724. package/packages/orq-rc/src/models/components/createfileresponse.ts +0 -35
  725. package/packages/orq-rc/src/models/components/createidentityrequest.ts +0 -100
  726. package/packages/orq-rc/src/models/components/createidentityresponse.ts +0 -35
  727. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +0 -69
  728. package/packages/orq-rc/src/models/components/createmanagementkeyresponse.ts +0 -48
  729. package/packages/orq-rc/src/models/components/createmodelparameter.ts +0 -54
  730. package/packages/orq-rc/src/models/components/createprojectrequest.ts +0 -46
  731. package/packages/orq-rc/src/models/components/createprojectresponse.ts +0 -35
  732. package/packages/orq-rc/src/models/components/createskillrequest.ts +0 -159
  733. package/packages/orq-rc/src/models/components/createskillresponse.ts +0 -35
  734. package/packages/orq-rc/src/models/components/datapart.ts +0 -38
  735. package/packages/orq-rc/src/models/components/datapoint.ts +0 -60
  736. package/packages/orq-rc/src/models/components/deleteapikeyresponse.ts +0 -27
  737. package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +0 -27
  738. package/packages/orq-rc/src/models/components/deletefileresponse.ts +0 -27
  739. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +0 -27
  740. package/packages/orq-rc/src/models/components/deletemanagementkeyresponse.ts +0 -27
  741. package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +0 -27
  742. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +0 -27
  743. package/packages/orq-rc/src/models/components/detectrequest.ts +0 -56
  744. package/packages/orq-rc/src/models/components/detectresponse.ts +0 -41
  745. package/packages/orq-rc/src/models/components/dimensioninfo.ts +0 -43
  746. package/packages/orq-rc/src/models/components/domain.ts +0 -66
  747. package/packages/orq-rc/src/models/components/embeddingcacheconfig.ts +0 -59
  748. package/packages/orq-rc/src/models/components/embeddingcontactparams.ts +0 -48
  749. package/packages/orq-rc/src/models/components/embeddingloadbalancerconfig.ts +0 -66
  750. package/packages/orq-rc/src/models/components/embeddingloadbalancermodelconfig.ts +0 -42
  751. package/packages/orq-rc/src/models/components/embeddingorqparams.ts +0 -101
  752. package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +0 -45
  753. package/packages/orq-rc/src/models/components/embeddingtimeoutconfig.ts +0 -39
  754. package/packages/orq-rc/src/models/components/errorpart.ts +0 -58
  755. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +0 -66
  756. package/packages/orq-rc/src/models/components/evaluatorref.ts +0 -93
  757. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +0 -916
  758. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +0 -71
  759. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +0 -54
  760. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +0 -304
  761. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +0 -54
  762. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +0 -78
  763. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +0 -54
  764. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +0 -71
  765. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +0 -61
  766. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +0 -67
  767. package/packages/orq-rc/src/models/components/expression.ts +0 -33
  768. package/packages/orq-rc/src/models/components/expressioninput.ts +0 -29
  769. package/packages/orq-rc/src/models/components/extendedmessage.ts +0 -146
  770. package/packages/orq-rc/src/models/components/fallbackconfig.ts +0 -27
  771. package/packages/orq-rc/src/models/components/file.ts +0 -64
  772. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +0 -87
  773. package/packages/orq-rc/src/models/components/filepart.ts +0 -223
  774. package/packages/orq-rc/src/models/components/filepurpose.ts +0 -21
  775. package/packages/orq-rc/src/models/components/filter.ts +0 -137
  776. package/packages/orq-rc/src/models/components/getagentresponse.ts +0 -348
  777. package/packages/orq-rc/src/models/components/getapikeyresponse.ts +0 -40
  778. package/packages/orq-rc/src/models/components/getbudgetconsumptionresponse.ts +0 -71
  779. package/packages/orq-rc/src/models/components/getbudgetresponse.ts +0 -35
  780. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +0 -39
  781. package/packages/orq-rc/src/models/components/getfileresponse.ts +0 -35
  782. package/packages/orq-rc/src/models/components/getmanagementkeyresponse.ts +0 -40
  783. package/packages/orq-rc/src/models/components/getprojectresponse.ts +0 -35
  784. package/packages/orq-rc/src/models/components/getskillresponse.ts +0 -35
  785. package/packages/orq-rc/src/models/components/guardrailref.ts +0 -91
  786. package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -69
  787. package/packages/orq-rc/src/models/components/identity.ts +0 -246
  788. package/packages/orq-rc/src/models/components/identitybudgetscope.ts +0 -66
  789. package/packages/orq-rc/src/models/components/identitymetrics.ts +0 -57
  790. package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -18
  791. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +0 -268
  792. package/packages/orq-rc/src/models/components/incompletedetails.ts +0 -31
  793. package/packages/orq-rc/src/models/components/index.ts +0 -291
  794. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +0 -45
  795. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +0 -3492
  796. package/packages/orq-rc/src/models/components/legacytokenfamily.ts +0 -19
  797. package/packages/orq-rc/src/models/components/limits.ts +0 -70
  798. package/packages/orq-rc/src/models/components/listapikeysresponse.ts +0 -56
  799. package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +0 -53
  800. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +0 -38
  801. package/packages/orq-rc/src/models/components/listfilesresponse.ts +0 -50
  802. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +0 -53
  803. package/packages/orq-rc/src/models/components/listmanagementcapabilitiesresponse.ts +0 -36
  804. package/packages/orq-rc/src/models/components/listmanagementkeysresponse.ts +0 -56
  805. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +0 -53
  806. package/packages/orq-rc/src/models/components/listskillsresponse.ts +0 -53
  807. package/packages/orq-rc/src/models/components/managementkey.ts +0 -132
  808. package/packages/orq-rc/src/models/components/managementkeystatus.ts +0 -23
  809. package/packages/orq-rc/src/models/components/managementpermissionmode.ts +0 -25
  810. package/packages/orq-rc/src/models/components/memoryparam.ts +0 -56
  811. package/packages/orq-rc/src/models/components/modelbudgetscope.ts +0 -67
  812. package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +0 -82
  813. package/packages/orq-rc/src/models/components/modelmetadata.ts +0 -738
  814. package/packages/orq-rc/src/models/components/modelparameterdocument.ts +0 -53
  815. package/packages/orq-rc/src/models/components/modelref.ts +0 -70
  816. package/packages/orq-rc/src/models/components/modelsconfig.ts +0 -74
  817. package/packages/orq-rc/src/models/components/outputtokensdetails.ts +0 -36
  818. package/packages/orq-rc/src/models/components/ownertype.ts +0 -17
  819. package/packages/orq-rc/src/models/components/partdelta.ts +0 -39
  820. package/packages/orq-rc/src/models/components/partdeltaevent.ts +0 -73
  821. package/packages/orq-rc/src/models/components/partdoneevent.ts +0 -70
  822. package/packages/orq-rc/src/models/components/permissionmode.ts +0 -23
  823. package/packages/orq-rc/src/models/components/piiredactionplugin.ts +0 -44
  824. package/packages/orq-rc/src/models/components/piiredactionpluginauto.ts +0 -185
  825. package/packages/orq-rc/src/models/components/piiredactionpluginen.ts +0 -222
  826. package/packages/orq-rc/src/models/components/piiredactionpluginnl.ts +0 -218
  827. package/packages/orq-rc/src/models/components/plugin.ts +0 -37
  828. package/packages/orq-rc/src/models/components/policy.ts +0 -80
  829. package/packages/orq-rc/src/models/components/policyretryconfig.ts +0 -64
  830. package/packages/orq-rc/src/models/components/price.ts +0 -56
  831. package/packages/orq-rc/src/models/components/pricing.ts +0 -93
  832. package/packages/orq-rc/src/models/components/pricingvariant.ts +0 -90
  833. package/packages/orq-rc/src/models/components/project.ts +0 -108
  834. package/packages/orq-rc/src/models/components/projectbudgetscope.ts +0 -63
  835. package/packages/orq-rc/src/models/components/projectscope.ts +0 -70
  836. package/packages/orq-rc/src/models/components/providerbudgetscope.ts +0 -57
  837. package/packages/orq-rc/src/models/components/publiccontact.ts +0 -71
  838. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +0 -60
  839. package/packages/orq-rc/src/models/components/publicembeddingusage.ts +0 -45
  840. package/packages/orq-rc/src/models/components/publicidentity.ts +0 -69
  841. package/packages/orq-rc/src/models/components/publicmodelentry.ts +0 -71
  842. package/packages/orq-rc/src/models/components/publicpiiredactionplugin.ts +0 -127
  843. package/packages/orq-rc/src/models/components/publicresponseresource.ts +0 -196
  844. package/packages/orq-rc/src/models/components/publicschedule.ts +0 -118
  845. package/packages/orq-rc/src/models/components/publicscheduleerrordetail.ts +0 -39
  846. package/packages/orq-rc/src/models/components/publicschedulepayload.ts +0 -84
  847. package/packages/orq-rc/src/models/components/publicusage.ts +0 -77
  848. package/packages/orq-rc/src/models/components/queryreportrequest.ts +0 -237
  849. package/packages/orq-rc/src/models/components/queryreportresponse.ts +0 -99
  850. package/packages/orq-rc/src/models/components/ratelimit.ts +0 -62
  851. package/packages/orq-rc/src/models/components/reasoning.ts +0 -79
  852. package/packages/orq-rc/src/models/components/reasoningparam.ts +0 -74
  853. package/packages/orq-rc/src/models/components/reasoningpart.ts +0 -62
  854. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +0 -71
  855. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +0 -66
  856. package/packages/orq-rc/src/models/components/redactrequest.ts +0 -33
  857. package/packages/orq-rc/src/models/components/redactresponse.ts +0 -41
  858. package/packages/orq-rc/src/models/components/refusalpartschema.ts +0 -64
  859. package/packages/orq-rc/src/models/components/requestlimit.ts +0 -69
  860. package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +0 -27
  861. package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +0 -38
  862. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedeltastreamevent.ts +0 -79
  863. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedonestreamevent.ts +0 -79
  864. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcompletedstreamevent.ts +0 -74
  865. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinprogressstreamevent.ts +0 -74
  866. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinterpretingstreamevent.ts +0 -74
  867. package/packages/orq-rc/src/models/components/responsecompletedstreamevent.ts +0 -61
  868. package/packages/orq-rc/src/models/components/responsecontentpartaddedstreamevent.ts +0 -79
  869. package/packages/orq-rc/src/models/components/responsecontentpartdonestreamevent.ts +0 -79
  870. package/packages/orq-rc/src/models/components/responsecreatedstreamevent.ts +0 -61
  871. package/packages/orq-rc/src/models/components/responsedoneevent.ts +0 -324
  872. package/packages/orq-rc/src/models/components/responseerror.ts +0 -33
  873. package/packages/orq-rc/src/models/components/responseerrorstreamevent.ts +0 -58
  874. package/packages/orq-rc/src/models/components/responseexecutionlimits.ts +0 -52
  875. package/packages/orq-rc/src/models/components/responsefailedevent.ts +0 -72
  876. package/packages/orq-rc/src/models/components/responsefailedstreamevent.ts +0 -61
  877. package/packages/orq-rc/src/models/components/responsefilesearchcallcompletedstreamevent.ts +0 -71
  878. package/packages/orq-rc/src/models/components/responsefilesearchcallinprogressstreamevent.ts +0 -74
  879. package/packages/orq-rc/src/models/components/responsefilesearchcallsearchingstreamevent.ts +0 -71
  880. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdeltastreamevent.ts +0 -84
  881. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +0 -79
  882. package/packages/orq-rc/src/models/components/responseidentity.ts +0 -48
  883. package/packages/orq-rc/src/models/components/responseimagegenerationcallcompletedstreamevent.ts +0 -74
  884. package/packages/orq-rc/src/models/components/responseimagegenerationcallgeneratingstreamevent.ts +0 -74
  885. package/packages/orq-rc/src/models/components/responseimagegenerationcallinprogressstreamevent.ts +0 -74
  886. package/packages/orq-rc/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +0 -86
  887. package/packages/orq-rc/src/models/components/responseincompletestreamevent.ts +0 -61
  888. package/packages/orq-rc/src/models/components/responseinprogressstreamevent.ts +0 -61
  889. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdeltastreamevent.ts +0 -78
  890. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdonestreamevent.ts +0 -78
  891. package/packages/orq-rc/src/models/components/responsemcpcallcompletedstreamevent.ts +0 -68
  892. package/packages/orq-rc/src/models/components/responsemcpcallfailedstreamevent.ts +0 -67
  893. package/packages/orq-rc/src/models/components/responsemcpcallinprogressstreamevent.ts +0 -68
  894. package/packages/orq-rc/src/models/components/responsemeta.ts +0 -103
  895. package/packages/orq-rc/src/models/components/responseoutputitemaddedstreamevent.ts +0 -67
  896. package/packages/orq-rc/src/models/components/responseoutputitemdonestreamevent.ts +0 -66
  897. package/packages/orq-rc/src/models/components/responseoutputtextannotationaddedstreamevent.ts +0 -91
  898. package/packages/orq-rc/src/models/components/responseoutputtextdeltastreamevent.ts +0 -89
  899. package/packages/orq-rc/src/models/components/responseoutputtextdonestreamevent.ts +0 -83
  900. package/packages/orq-rc/src/models/components/responsequeuedstreamevent.ts +0 -61
  901. package/packages/orq-rc/src/models/components/responsereasoningdeltastreamevent.ts +0 -83
  902. package/packages/orq-rc/src/models/components/responsereasoningdonestreamevent.ts +0 -78
  903. package/packages/orq-rc/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +0 -85
  904. package/packages/orq-rc/src/models/components/responsereasoningsummarypartdonestreamevent.ts +0 -85
  905. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdeltastreamevent.ts +0 -90
  906. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdonestreamevent.ts +0 -85
  907. package/packages/orq-rc/src/models/components/responsereasoningtextdeltastreamevent.ts +0 -84
  908. package/packages/orq-rc/src/models/components/responsereasoningtextdonestreamevent.ts +0 -79
  909. package/packages/orq-rc/src/models/components/responserefusaldeltastreamevent.ts +0 -78
  910. package/packages/orq-rc/src/models/components/responserefusaldonestreamevent.ts +0 -78
  911. package/packages/orq-rc/src/models/components/responseretryconfig.ts +0 -45
  912. package/packages/orq-rc/src/models/components/responsestartedevent.ts +0 -97
  913. package/packages/orq-rc/src/models/components/responsestreamevent.ts +0 -307
  914. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +0 -85
  915. package/packages/orq-rc/src/models/components/responsethread.ts +0 -30
  916. package/packages/orq-rc/src/models/components/responsewebsearchcallcompletedstreamevent.ts +0 -73
  917. package/packages/orq-rc/src/models/components/responsewebsearchcallinprogressstreamevent.ts +0 -71
  918. package/packages/orq-rc/src/models/components/responsewebsearchcallsearchingstreamevent.ts +0 -73
  919. package/packages/orq-rc/src/models/components/restorerequest.ts +0 -38
  920. package/packages/orq-rc/src/models/components/restoreresponse.ts +0 -36
  921. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +0 -35
  922. package/packages/orq-rc/src/models/components/reviewoutcome.ts +0 -23
  923. package/packages/orq-rc/src/models/components/routingrule.ts +0 -67
  924. package/packages/orq-rc/src/models/components/security.ts +0 -32
  925. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +0 -43
  926. package/packages/orq-rc/src/models/components/singleproject.ts +0 -59
  927. package/packages/orq-rc/src/models/components/skill.ts +0 -109
  928. package/packages/orq-rc/src/models/components/streamoptions.ts +0 -32
  929. package/packages/orq-rc/src/models/components/telemetry.ts +0 -48
  930. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +0 -211
  931. package/packages/orq-rc/src/models/components/textpart.ts +0 -54
  932. package/packages/orq-rc/src/models/components/thinkingconfigadaptiveschema.ts +0 -59
  933. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +0 -59
  934. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +0 -107
  935. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +0 -64
  936. package/packages/orq-rc/src/models/components/tokenlimit.ts +0 -69
  937. package/packages/orq-rc/src/models/components/toolcallpart.ts +0 -51
  938. package/packages/orq-rc/src/models/components/tooldoneevent.ts +0 -77
  939. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +0 -235
  940. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -219
  941. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +0 -215
  942. package/packages/orq-rc/src/models/components/toolfailedevent.ts +0 -77
  943. package/packages/orq-rc/src/models/components/toolresultpart.ts +0 -71
  944. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +0 -78
  945. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +0 -87
  946. package/packages/orq-rc/src/models/components/toolstartedevent.ts +0 -82
  947. package/packages/orq-rc/src/models/components/totals.ts +0 -34
  948. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +0 -92
  949. package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +0 -40
  950. package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +0 -94
  951. package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +0 -35
  952. package/packages/orq-rc/src/models/components/updatefilerequest.ts +0 -39
  953. package/packages/orq-rc/src/models/components/updatefileresponse.ts +0 -35
  954. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +0 -90
  955. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +0 -35
  956. package/packages/orq-rc/src/models/components/updatemanagementkeyrequest.ts +0 -80
  957. package/packages/orq-rc/src/models/components/updatemanagementkeyresponse.ts +0 -40
  958. package/packages/orq-rc/src/models/components/updatemodelparameter.ts +0 -61
  959. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -49
  960. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +0 -35
  961. package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -75
  962. package/packages/orq-rc/src/models/components/updateskillresponse.ts +0 -35
  963. package/packages/orq-rc/src/models/components/userowner.ts +0 -59
  964. package/packages/orq-rc/src/models/components/vertexcapabilities.ts +0 -37
  965. package/packages/orq-rc/src/models/components/vertexconfiguration.ts +0 -45
  966. package/packages/orq-rc/src/models/components/vertexmodelconfiguration.ts +0 -53
  967. package/packages/orq-rc/src/models/components/vertexparameters.ts +0 -47
  968. package/packages/orq-rc/src/models/components/vertexparamrange.ts +0 -34
  969. package/packages/orq-rc/src/models/components/vertexparamrangeint.ts +0 -34
  970. package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +0 -46
  971. package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
  972. package/packages/orq-rc/src/models/errors/createagentschedule.ts +0 -105
  973. package/packages/orq-rc/src/models/errors/createeval.ts +0 -51
  974. package/packages/orq-rc/src/models/errors/createmoderation.ts +0 -84
  975. package/packages/orq-rc/src/models/errors/createtranscription.ts +0 -87
  976. package/packages/orq-rc/src/models/errors/createtranslation.ts +0 -87
  977. package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -51
  978. package/packages/orq-rc/src/models/errors/deleteagentschedule.ts +0 -56
  979. package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -51
  980. package/packages/orq-rc/src/models/errors/deleteprompt.ts +0 -51
  981. package/packages/orq-rc/src/models/errors/getevals.ts +0 -51
  982. package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -51
  983. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +0 -51
  984. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +0 -51
  985. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +0 -52
  986. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -59
  987. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  988. package/packages/orq-rc/src/models/errors/index.ts +0 -38
  989. package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -141
  990. package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
  991. package/packages/orq-rc/src/models/errors/postv2agentskeycardrefresh.ts +0 -97
  992. package/packages/orq-rc/src/models/errors/postv2feedback.ts +0 -96
  993. package/packages/orq-rc/src/models/errors/postv2feedbackremove.ts +0 -51
  994. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
  995. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +0 -51
  996. package/packages/orq-rc/src/models/errors/retrieveagentschedule.ts +0 -56
  997. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
  998. package/packages/orq-rc/src/models/errors/streamagent.ts +0 -51
  999. package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -51
  1000. package/packages/orq-rc/src/models/errors/triggeragentschedule.ts +0 -105
  1001. package/packages/orq-rc/src/models/errors/updateagent.ts +0 -51
  1002. package/packages/orq-rc/src/models/errors/updateagentschedule.ts +0 -105
  1003. package/packages/orq-rc/src/models/errors/updateeval.ts +0 -51
  1004. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -51
  1005. package/packages/orq-rc/src/models/errors/updatetool.ts +0 -62
  1006. package/packages/orq-rc/src/models/operations/apikeydelete.ts +0 -39
  1007. package/packages/orq-rc/src/models/operations/apikeyget.ts +0 -49
  1008. package/packages/orq-rc/src/models/operations/apikeylist.ts +0 -118
  1009. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +0 -44
  1010. package/packages/orq-rc/src/models/operations/budgetdelete.ts +0 -39
  1011. package/packages/orq-rc/src/models/operations/budgetget.ts +0 -39
  1012. package/packages/orq-rc/src/models/operations/budgetgetconsumption.ts +0 -41
  1013. package/packages/orq-rc/src/models/operations/budgetlist.ts +0 -109
  1014. package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +0 -48
  1015. package/packages/orq-rc/src/models/operations/budgetupdate.ts +0 -44
  1016. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -39
  1017. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -7031
  1018. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -125
  1019. package/packages/orq-rc/src/models/operations/createagentschedule.ts +0 -227
  1020. package/packages/orq-rc/src/models/operations/createannotation.ts +0 -256
  1021. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +0 -6580
  1022. package/packages/orq-rc/src/models/operations/createchunk.ts +0 -222
  1023. package/packages/orq-rc/src/models/operations/createcompletion.ts +0 -3528
  1024. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -162
  1025. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -2887
  1026. package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -446
  1027. package/packages/orq-rc/src/models/operations/createembedding.ts +0 -219
  1028. package/packages/orq-rc/src/models/operations/createeval.ts +0 -659
  1029. package/packages/orq-rc/src/models/operations/createimage.ts +0 -1088
  1030. package/packages/orq-rc/src/models/operations/createimageedit.ts +0 -1045
  1031. package/packages/orq-rc/src/models/operations/createimagevariation.ts +0 -1067
  1032. package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -956
  1033. package/packages/orq-rc/src/models/operations/creatememory.ts +0 -142
  1034. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -152
  1035. package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -199
  1036. package/packages/orq-rc/src/models/operations/createmoderation.ts +0 -664
  1037. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -5834
  1038. package/packages/orq-rc/src/models/operations/creatererank.ts +0 -944
  1039. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +0 -1964
  1040. package/packages/orq-rc/src/models/operations/createspeech.ts +0 -700
  1041. package/packages/orq-rc/src/models/operations/createtool.ts +0 -2488
  1042. package/packages/orq-rc/src/models/operations/createtranscription.ts +0 -955
  1043. package/packages/orq-rc/src/models/operations/createtranslation.ts +0 -930
  1044. package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -39
  1045. package/packages/orq-rc/src/models/operations/deleteagentschedule.ts +0 -46
  1046. package/packages/orq-rc/src/models/operations/deleteannotation.ts +0 -125
  1047. package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -53
  1048. package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -125
  1049. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -46
  1050. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -39
  1051. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -46
  1052. package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -31
  1053. package/packages/orq-rc/src/models/operations/deleteidentity.ts +0 -34
  1054. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -39
  1055. package/packages/orq-rc/src/models/operations/deletememory.ts +0 -46
  1056. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -55
  1057. package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -39
  1058. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -34
  1059. package/packages/orq-rc/src/models/operations/deletetool.ts +0 -36
  1060. package/packages/orq-rc/src/models/operations/deletev2humanevalsetsid.ts +0 -36
  1061. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -4613
  1062. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -724
  1063. package/packages/orq-rc/src/models/operations/deployments.ts +0 -1372
  1064. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -4656
  1065. package/packages/orq-rc/src/models/operations/filecontent.ts +0 -39
  1066. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -39
  1067. package/packages/orq-rc/src/models/operations/fileget.ts +0 -35
  1068. package/packages/orq-rc/src/models/operations/filelist.ts +0 -60
  1069. package/packages/orq-rc/src/models/operations/fileupdate.ts +0 -44
  1070. package/packages/orq-rc/src/models/operations/getagentresponse.ts +0 -46
  1071. package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -173
  1072. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -188
  1073. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -220
  1074. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -3420
  1075. package/packages/orq-rc/src/models/operations/getalltools.ts +0 -1383
  1076. package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -142
  1077. package/packages/orq-rc/src/models/operations/getevals.ts +0 -168
  1078. package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -171
  1079. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -652
  1080. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -3343
  1081. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -3392
  1082. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +0 -162
  1083. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +0 -234
  1084. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +0 -235
  1085. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +0 -163
  1086. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +0 -110
  1087. package/packages/orq-rc/src/models/operations/guardrailrulecreate.ts +0 -126
  1088. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +0 -39
  1089. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +0 -104
  1090. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +0 -138
  1091. package/packages/orq-rc/src/models/operations/guardrailrulelistusedguardrails.ts +0 -48
  1092. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +0 -155
  1093. package/packages/orq-rc/src/models/operations/index.ts +0 -181
  1094. package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -775
  1095. package/packages/orq-rc/src/models/operations/invokeeval.ts +0 -1257
  1096. package/packages/orq-rc/src/models/operations/listagents.ts +0 -3007
  1097. package/packages/orq-rc/src/models/operations/listagentschedules.ts +0 -69
  1098. package/packages/orq-rc/src/models/operations/listchunks.ts +0 -289
  1099. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -282
  1100. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -1857
  1101. package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -218
  1102. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -241
  1103. package/packages/orq-rc/src/models/operations/listidentities.ts +0 -94
  1104. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -687
  1105. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -60
  1106. package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -3467
  1107. package/packages/orq-rc/src/models/operations/managementkeydelete.ts +0 -39
  1108. package/packages/orq-rc/src/models/operations/managementkeyget.ts +0 -39
  1109. package/packages/orq-rc/src/models/operations/managementkeylist.ts +0 -85
  1110. package/packages/orq-rc/src/models/operations/managementkeyupdate.ts +0 -45
  1111. package/packages/orq-rc/src/models/operations/modelazurefoundrydeployments.ts +0 -90
  1112. package/packages/orq-rc/src/models/operations/modelcreate.ts +0 -184
  1113. package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +0 -151
  1114. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +0 -234
  1115. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +0 -202
  1116. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +0 -144
  1117. package/packages/orq-rc/src/models/operations/modeldelete.ts +0 -34
  1118. package/packages/orq-rc/src/models/operations/modeldisable.ts +0 -39
  1119. package/packages/orq-rc/src/models/operations/modelenable.ts +0 -36
  1120. package/packages/orq-rc/src/models/operations/modelupdate.ts +0 -198
  1121. package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +0 -189
  1122. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +0 -260
  1123. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +0 -236
  1124. package/packages/orq-rc/src/models/operations/modelvalidate.ts +0 -57
  1125. package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +0 -61
  1126. package/packages/orq-rc/src/models/operations/parse.ts +0 -784
  1127. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +0 -415
  1128. package/packages/orq-rc/src/models/operations/policycreate.ts +0 -138
  1129. package/packages/orq-rc/src/models/operations/policydelete.ts +0 -39
  1130. package/packages/orq-rc/src/models/operations/policyget.ts +0 -110
  1131. package/packages/orq-rc/src/models/operations/policylist.ts +0 -94
  1132. package/packages/orq-rc/src/models/operations/policyupdate.ts +0 -174
  1133. package/packages/orq-rc/src/models/operations/postv2agentskeycardrefresh.ts +0 -100
  1134. package/packages/orq-rc/src/models/operations/postv2feedback.ts +0 -214
  1135. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +0 -357
  1136. package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
  1137. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +0 -135
  1138. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +0 -365
  1139. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +0 -478
  1140. package/packages/orq-rc/src/models/operations/projectdelete.ts +0 -39
  1141. package/packages/orq-rc/src/models/operations/projectget.ts +0 -39
  1142. package/packages/orq-rc/src/models/operations/projectlist.ts +0 -58
  1143. package/packages/orq-rc/src/models/operations/projectupdate.ts +0 -44
  1144. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -3069
  1145. package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +0 -162
  1146. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -1746
  1147. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -150
  1148. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -152
  1149. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +0 -55
  1150. package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -112
  1151. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -118
  1152. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -144
  1153. package/packages/orq-rc/src/models/operations/retrieveresponse.ts +0 -225
  1154. package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -1370
  1155. package/packages/orq-rc/src/models/operations/routingrulecreate.ts +0 -124
  1156. package/packages/orq-rc/src/models/operations/routingruledelete.ts +0 -39
  1157. package/packages/orq-rc/src/models/operations/routingruleget.ts +0 -102
  1158. package/packages/orq-rc/src/models/operations/routingrulelist.ts +0 -112
  1159. package/packages/orq-rc/src/models/operations/routingrulelistusedmodels.ts +0 -37
  1160. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +0 -154
  1161. package/packages/orq-rc/src/models/operations/runagent.ts +0 -5303
  1162. package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -1762
  1163. package/packages/orq-rc/src/models/operations/skilldelete.ts +0 -39
  1164. package/packages/orq-rc/src/models/operations/skillget.ts +0 -40
  1165. package/packages/orq-rc/src/models/operations/skilllist.ts +0 -61
  1166. package/packages/orq-rc/src/models/operations/skillupdate.ts +0 -44
  1167. package/packages/orq-rc/src/models/operations/streamagent.ts +0 -698
  1168. package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -5482
  1169. package/packages/orq-rc/src/models/operations/triggeragentschedule.ts +0 -86
  1170. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -7364
  1171. package/packages/orq-rc/src/models/operations/updateagentschedule.ts +0 -241
  1172. package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -236
  1173. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -2923
  1174. package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -206
  1175. package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -186
  1176. package/packages/orq-rc/src/models/operations/updateeval.ts +0 -446
  1177. package/packages/orq-rc/src/models/operations/updateidentity.ts +0 -43
  1178. package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -1231
  1179. package/packages/orq-rc/src/models/operations/updatememory.ts +0 -142
  1180. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -159
  1181. package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -188
  1182. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -5921
  1183. package/packages/orq-rc/src/models/operations/updatetool.ts +0 -2801
  1184. package/packages/orq-rc/src/sdk/agents.ts +0 -216
  1185. package/packages/orq-rc/src/sdk/annotations.ts +0 -45
  1186. package/packages/orq-rc/src/sdk/apikeys.ts +0 -116
  1187. package/packages/orq-rc/src/sdk/audio.ts +0 -25
  1188. package/packages/orq-rc/src/sdk/budgets.ts +0 -154
  1189. package/packages/orq-rc/src/sdk/chat.ts +0 -13
  1190. package/packages/orq-rc/src/sdk/chunking.ts +0 -27
  1191. package/packages/orq-rc/src/sdk/completions.ts +0 -32
  1192. package/packages/orq-rc/src/sdk/datasets.ts +0 -204
  1193. package/packages/orq-rc/src/sdk/deployments.ts +0 -83
  1194. package/packages/orq-rc/src/sdk/edits.ts +0 -27
  1195. package/packages/orq-rc/src/sdk/embeddings.ts +0 -27
  1196. package/packages/orq-rc/src/sdk/evals.ts +0 -102
  1197. package/packages/orq-rc/src/sdk/feedback.ts +0 -63
  1198. package/packages/orq-rc/src/sdk/files.ts +0 -118
  1199. package/packages/orq-rc/src/sdk/generations.ts +0 -27
  1200. package/packages/orq-rc/src/sdk/guardrailrules.ts +0 -115
  1201. package/packages/orq-rc/src/sdk/humanreviewsets.ts +0 -84
  1202. package/packages/orq-rc/src/sdk/identities.ts +0 -100
  1203. package/packages/orq-rc/src/sdk/images.ts +0 -25
  1204. package/packages/orq-rc/src/sdk/index.ts +0 -5
  1205. package/packages/orq-rc/src/sdk/knowledge.ts +0 -312
  1206. package/packages/orq-rc/src/sdk/managementkeys.ts +0 -116
  1207. package/packages/orq-rc/src/sdk/memorystores.ts +0 -286
  1208. package/packages/orq-rc/src/sdk/models.ts +0 -295
  1209. package/packages/orq-rc/src/sdk/moderations.ts +0 -24
  1210. package/packages/orq-rc/src/sdk/orqcompletions.ts +0 -32
  1211. package/packages/orq-rc/src/sdk/orqresponses.ts +0 -53
  1212. package/packages/orq-rc/src/sdk/pii.ts +0 -63
  1213. package/packages/orq-rc/src/sdk/policies.ts +0 -99
  1214. package/packages/orq-rc/src/sdk/projects.ts +0 -100
  1215. package/packages/orq-rc/src/sdk/prompts.ts +0 -126
  1216. package/packages/orq-rc/src/sdk/reporting.ts +0 -27
  1217. package/packages/orq-rc/src/sdk/rerank.ts +0 -27
  1218. package/packages/orq-rc/src/sdk/responses.ts +0 -47
  1219. package/packages/orq-rc/src/sdk/router.ts +0 -66
  1220. package/packages/orq-rc/src/sdk/routingrules.ts +0 -115
  1221. package/packages/orq-rc/src/sdk/schedules.ts +0 -117
  1222. package/packages/orq-rc/src/sdk/sdk.ts +0 -175
  1223. package/packages/orq-rc/src/sdk/skills.ts +0 -100
  1224. package/packages/orq-rc/src/sdk/speech.ts +0 -27
  1225. package/packages/orq-rc/src/sdk/tools.ts +0 -135
  1226. package/packages/orq-rc/src/sdk/transcriptions.ts +0 -24
  1227. package/packages/orq-rc/src/sdk/translations.ts +0 -24
  1228. package/packages/orq-rc/src/sdk/variations.ts +0 -27
  1229. package/packages/orq-rc/src/types/async.ts +0 -69
  1230. package/packages/orq-rc/src/types/blobs.ts +0 -32
  1231. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  1232. package/packages/orq-rc/src/types/enums.ts +0 -45
  1233. package/packages/orq-rc/src/types/fp.ts +0 -50
  1234. package/packages/orq-rc/src/types/index.ts +0 -11
  1235. package/packages/orq-rc/src/types/operations.ts +0 -105
  1236. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  1237. package/packages/orq-rc/src/types/streams.ts +0 -21
  1238. package/packages/orq-rc/src/types/unrecognized.ts +0 -35
@@ -1,3007 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { ClosedEnum } from "../../types/enums.js";
9
- import { Result as SafeParseResult } from "../../types/fp.js";
10
- import * as components from "../components/index.js";
11
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
-
13
- /**
14
- * Filter agents by type
15
- */
16
- export const QueryParamType = {
17
- Internal: "internal",
18
- } as const;
19
- /**
20
- * Filter agents by type
21
- */
22
- export type QueryParamType = ClosedEnum<typeof QueryParamType>;
23
-
24
- export type ListAgentsRequest = {
25
- /**
26
- * A limit on the number of objects to be returned. Limit can range between 1 and 200. When not provided, returns all agents without pagination.
27
- */
28
- limit?: number | undefined;
29
- /**
30
- * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
31
- */
32
- startingAfter?: string | undefined;
33
- /**
34
- * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
35
- */
36
- endingBefore?: string | undefined;
37
- /**
38
- * Filter agents by type
39
- */
40
- type?: QueryParamType | undefined;
41
- };
42
-
43
- export const ListAgentsObject = {
44
- List: "list",
45
- } as const;
46
- export type ListAgentsObject = ClosedEnum<typeof ListAgentsObject>;
47
-
48
- /**
49
- * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
50
- */
51
- export const ListAgentsStatus = {
52
- Live: "live",
53
- Draft: "draft",
54
- Pending: "pending",
55
- Published: "published",
56
- } as const;
57
- /**
58
- * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
59
- */
60
- export type ListAgentsStatus = ClosedEnum<typeof ListAgentsStatus>;
61
-
62
- export type ListAgentsTeamOfAgents = {
63
- /**
64
- * The unique key of the agent within the workspace
65
- */
66
- key: string;
67
- /**
68
- * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
69
- */
70
- role?: string | undefined;
71
- };
72
-
73
- export type ListAgentsMetrics = {
74
- totalCost: number;
75
- };
76
-
77
- export type ListAgentsKnowledgeBases = {
78
- /**
79
- * Unique identifier of the knowledge base to search
80
- */
81
- knowledgeId: string;
82
- };
83
-
84
- export const ListAgentsSource = {
85
- Internal: "internal",
86
- External: "external",
87
- Experiment: "experiment",
88
- } as const;
89
- export type ListAgentsSource = ClosedEnum<typeof ListAgentsSource>;
90
-
91
- export const ListAgentsEngine = {
92
- Text: "text",
93
- Jinja: "jinja",
94
- Mustache: "mustache",
95
- } as const;
96
- export type ListAgentsEngine = ClosedEnum<typeof ListAgentsEngine>;
97
-
98
- /**
99
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
100
- */
101
- export const ListAgentsType = {
102
- Internal: "internal",
103
- A2a: "a2a",
104
- } as const;
105
- /**
106
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
107
- */
108
- export type ListAgentsType = ClosedEnum<typeof ListAgentsType>;
109
-
110
- /**
111
- * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
112
- */
113
- export const ListAgentsToolApprovalRequired = {
114
- All: "all",
115
- RespectTool: "respect_tool",
116
- None: "none",
117
- } as const;
118
- /**
119
- * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
120
- */
121
- export type ListAgentsToolApprovalRequired = ClosedEnum<
122
- typeof ListAgentsToolApprovalRequired
123
- >;
124
-
125
- export type ListAgentsConditions = {
126
- /**
127
- * The argument of the tool call to evaluate
128
- */
129
- condition: string;
130
- /**
131
- * The operator to use
132
- */
133
- operator: string;
134
- /**
135
- * The value to compare against
136
- */
137
- value: string;
138
- };
139
-
140
- export type ListAgentsTools = {
141
- /**
142
- * The id of the resource
143
- */
144
- id: string;
145
- /**
146
- * Optional tool key for custom tools
147
- */
148
- key?: string | undefined;
149
- actionType: string;
150
- displayName?: string | undefined;
151
- /**
152
- * Optional tool description
153
- */
154
- description?: string | undefined;
155
- requiresApproval: boolean;
156
- /**
157
- * Nested tool ID for MCP tools (identifies specific tool within MCP server)
158
- */
159
- toolId?: string | undefined;
160
- conditions?: Array<ListAgentsConditions> | undefined;
161
- /**
162
- * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
163
- */
164
- timeout: number;
165
- };
166
-
167
- /**
168
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
169
- */
170
- export const ListAgentsExecuteOn = {
171
- Input: "input",
172
- Output: "output",
173
- } as const;
174
- /**
175
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
176
- */
177
- export type ListAgentsExecuteOn = ClosedEnum<typeof ListAgentsExecuteOn>;
178
-
179
- export type ListAgentsEvaluators = {
180
- /**
181
- * Unique key or identifier of the evaluator
182
- */
183
- id: string;
184
- /**
185
- * The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
186
- */
187
- sampleRate: number;
188
- /**
189
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
190
- */
191
- executeOn: ListAgentsExecuteOn;
192
- };
193
-
194
- /**
195
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
196
- */
197
- export const ListAgentsAgentsExecuteOn = {
198
- Input: "input",
199
- Output: "output",
200
- } as const;
201
- /**
202
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
203
- */
204
- export type ListAgentsAgentsExecuteOn = ClosedEnum<
205
- typeof ListAgentsAgentsExecuteOn
206
- >;
207
-
208
- export type ListAgentsGuardrails = {
209
- /**
210
- * Unique key or identifier of the evaluator
211
- */
212
- id: string;
213
- /**
214
- * The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
215
- */
216
- sampleRate: number;
217
- /**
218
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
219
- */
220
- executeOn: ListAgentsAgentsExecuteOn;
221
- };
222
-
223
- export type ListAgentsSettings = {
224
- /**
225
- * Maximum iterations(llm calls) before the agent will stop executing.
226
- */
227
- maxIterations: number;
228
- /**
229
- * Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
230
- */
231
- maxExecutionTime: number;
232
- /**
233
- * Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses
234
- */
235
- maxCost: number;
236
- /**
237
- * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
238
- */
239
- toolApprovalRequired: ListAgentsToolApprovalRequired;
240
- tools?: Array<ListAgentsTools> | undefined;
241
- /**
242
- * Configuration for an evaluator applied to the agent
243
- */
244
- evaluators?: Array<ListAgentsEvaluators> | undefined;
245
- /**
246
- * Configuration for a guardrail applied to the agent
247
- */
248
- guardrails?: Array<ListAgentsGuardrails> | undefined;
249
- };
250
-
251
- export type ListAgentsResponseFormatJsonSchema = {
252
- /**
253
- * A description of what the response format is for, used by the model to determine how to respond in the format.
254
- */
255
- description?: string | undefined;
256
- /**
257
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
258
- */
259
- name: string;
260
- /**
261
- * The schema for the response format, described as a JSON Schema object.
262
- */
263
- schema?: any | undefined;
264
- /**
265
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
266
- */
267
- strict: boolean;
268
- };
269
-
270
- /**
271
- * @remarks
272
- *
273
- * JSON Schema response format. Used to generate structured JSON responses
274
- */
275
- export type ListAgentsResponseFormatAgentsJSONSchema = {
276
- type: "json_schema";
277
- jsonSchema: ListAgentsResponseFormatJsonSchema;
278
- };
279
-
280
- /**
281
- * @remarks
282
- *
283
- * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
284
- */
285
- export type ListAgentsResponseFormatJSONObject = {
286
- type: "json_object";
287
- };
288
-
289
- /**
290
- * @remarks
291
- *
292
- * Default response format. Used to generate text responses
293
- */
294
- export type ListAgentsResponseFormatText = {
295
- type: "text";
296
- };
297
-
298
- /**
299
- * An object specifying the format that the model must output
300
- */
301
- export type ListAgentsResponseFormat =
302
- | ListAgentsResponseFormatText
303
- | ListAgentsResponseFormatJSONObject
304
- | ListAgentsResponseFormatAgentsJSONSchema;
305
-
306
- /**
307
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
308
- *
309
- * @remarks
310
- *
311
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
312
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
313
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
314
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
315
- *
316
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
317
- */
318
- export const ListAgentsReasoningEffort = {
319
- None: "none",
320
- Minimal: "minimal",
321
- Low: "low",
322
- Medium: "medium",
323
- High: "high",
324
- Xhigh: "xhigh",
325
- } as const;
326
- /**
327
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
328
- *
329
- * @remarks
330
- *
331
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
332
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
333
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
334
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
335
- *
336
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
337
- */
338
- export type ListAgentsReasoningEffort = ClosedEnum<
339
- typeof ListAgentsReasoningEffort
340
- >;
341
-
342
- /**
343
- * Up to 4 sequences where the API will stop generating further tokens.
344
- */
345
- export type ListAgentsStop = string | Array<string>;
346
-
347
- export type ListAgentsThinking =
348
- | components.ThinkingConfigDisabledSchema
349
- | components.ThinkingConfigEnabledSchema
350
- | components.ThinkingConfigAdaptiveSchema;
351
-
352
- /**
353
- * The type of the tool. Currently, only function is supported.
354
- */
355
- export const ListAgentsToolChoiceType = {
356
- Function: "function",
357
- } as const;
358
- /**
359
- * The type of the tool. Currently, only function is supported.
360
- */
361
- export type ListAgentsToolChoiceType = ClosedEnum<
362
- typeof ListAgentsToolChoiceType
363
- >;
364
-
365
- export type ListAgentsToolChoiceFunction = {
366
- /**
367
- * The name of the function to call.
368
- */
369
- name: string;
370
- };
371
-
372
- export type ListAgentsToolChoice2 = {
373
- /**
374
- * The type of the tool. Currently, only function is supported.
375
- */
376
- type?: ListAgentsToolChoiceType | undefined;
377
- function: ListAgentsToolChoiceFunction;
378
- };
379
-
380
- export const ListAgentsToolChoice1 = {
381
- None: "none",
382
- Auto: "auto",
383
- Required: "required",
384
- } as const;
385
- export type ListAgentsToolChoice1 = ClosedEnum<typeof ListAgentsToolChoice1>;
386
-
387
- /**
388
- * Controls which (if any) tool is called by the model.
389
- */
390
- export type ListAgentsToolChoice =
391
- | ListAgentsToolChoice2
392
- | ListAgentsToolChoice1;
393
-
394
- export const ListAgentsModalities = {
395
- Text: "text",
396
- Audio: "audio",
397
- } as const;
398
- export type ListAgentsModalities = ClosedEnum<typeof ListAgentsModalities>;
399
-
400
- /**
401
- * The key of the guardrail.
402
- */
403
- export const ListAgentsId1 = {
404
- OrqPiiDetection: "orq_pii_detection",
405
- OrqSexualModeration: "orq_sexual_moderation",
406
- OrqHarmfulModeration: "orq_harmful_moderation",
407
- } as const;
408
- /**
409
- * The key of the guardrail.
410
- */
411
- export type ListAgentsId1 = ClosedEnum<typeof ListAgentsId1>;
412
-
413
- export type ListAgentsId = ListAgentsId1 | string;
414
-
415
- /**
416
- * Determines whether the guardrail runs on the input (user message) or output (model response).
417
- */
418
- export const ListAgentsAgentsResponseExecuteOn = {
419
- Input: "input",
420
- Output: "output",
421
- } as const;
422
- /**
423
- * Determines whether the guardrail runs on the input (user message) or output (model response).
424
- */
425
- export type ListAgentsAgentsResponseExecuteOn = ClosedEnum<
426
- typeof ListAgentsAgentsResponseExecuteOn
427
- >;
428
-
429
- export type ListAgentsAgentsGuardrails = {
430
- id: ListAgentsId1 | string;
431
- /**
432
- * Determines whether the guardrail runs on the input (user message) or output (model response).
433
- */
434
- executeOn: ListAgentsAgentsResponseExecuteOn;
435
- };
436
-
437
- export type ListAgentsPlugins =
438
- | components.PIIRedactionPluginEn
439
- | components.PIIRedactionPluginNl
440
- | components.PIIRedactionPluginAuto;
441
-
442
- export type ListAgentsFallbacks = {
443
- /**
444
- * Fallback model identifier
445
- */
446
- model: string;
447
- };
448
-
449
- export const ListAgentsAgentsType = {
450
- ExactMatch: "exact_match",
451
- } as const;
452
- export type ListAgentsAgentsType = ClosedEnum<typeof ListAgentsAgentsType>;
453
-
454
- /**
455
- * Cache configuration for the request.
456
- */
457
- export type ListAgentsCache = {
458
- /**
459
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
460
- */
461
- ttl: number;
462
- type: ListAgentsAgentsType;
463
- };
464
-
465
- export const ListAgentsLoadBalancerType = {
466
- WeightBased: "weight_based",
467
- } as const;
468
- export type ListAgentsLoadBalancerType = ClosedEnum<
469
- typeof ListAgentsLoadBalancerType
470
- >;
471
-
472
- export type ListAgentsLoadBalancerModels = {
473
- /**
474
- * Model identifier for load balancing
475
- */
476
- model: string;
477
- /**
478
- * Weight assigned to this model for load balancing
479
- */
480
- weight: number;
481
- };
482
-
483
- export type ListAgentsLoadBalancer1 = {
484
- type: ListAgentsLoadBalancerType;
485
- models: Array<ListAgentsLoadBalancerModels>;
486
- };
487
-
488
- /**
489
- * Load balancer configuration for the request.
490
- */
491
- export type ListAgentsLoadBalancer = ListAgentsLoadBalancer1;
492
-
493
- /**
494
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
495
- */
496
- export type ListAgentsTimeout = {
497
- /**
498
- * Timeout value in milliseconds
499
- */
500
- callTimeout: number;
501
- };
502
-
503
- /**
504
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
505
- */
506
- export const ListAgentsAgentsResponseType = {
507
- Ephemeral: "ephemeral",
508
- } as const;
509
- /**
510
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
511
- */
512
- export type ListAgentsAgentsResponseType = ClosedEnum<
513
- typeof ListAgentsAgentsResponseType
514
- >;
515
-
516
- /**
517
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
518
- *
519
- * @remarks
520
- *
521
- * - `5m`: 5 minutes
522
- * - `1h`: 1 hour
523
- *
524
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
525
- */
526
- export const ListAgentsTtl = {
527
- Fivem: "5m",
528
- Oneh: "1h",
529
- } as const;
530
- /**
531
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
532
- *
533
- * @remarks
534
- *
535
- * - `5m`: 5 minutes
536
- * - `1h`: 1 hour
537
- *
538
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
539
- */
540
- export type ListAgentsTtl = ClosedEnum<typeof ListAgentsTtl>;
541
-
542
- /**
543
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
544
- */
545
- export type ListAgentsCacheControl = {
546
- /**
547
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
548
- */
549
- type: ListAgentsAgentsResponseType;
550
- /**
551
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
552
- *
553
- * @remarks
554
- *
555
- * - `5m`: 5 minutes
556
- * - `1h`: 1 hour
557
- *
558
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
559
- */
560
- ttl: ListAgentsTtl;
561
- };
562
-
563
- /**
564
- * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
565
- */
566
- export type ListAgentsParameters = {
567
- /**
568
- * The name to display on the trace. If not specified, the default system name will be used.
569
- */
570
- name?: string | undefined;
571
- /**
572
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
573
- */
574
- frequencyPenalty?: number | null | undefined;
575
- /**
576
- * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
577
- *
578
- * @remarks
579
- *
580
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
581
- */
582
- maxTokens?: number | null | undefined;
583
- /**
584
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
585
- */
586
- maxCompletionTokens?: number | null | undefined;
587
- /**
588
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
589
- */
590
- presencePenalty?: number | null | undefined;
591
- /**
592
- * An object specifying the format that the model must output
593
- */
594
- responseFormat?:
595
- | ListAgentsResponseFormatText
596
- | ListAgentsResponseFormatJSONObject
597
- | ListAgentsResponseFormatAgentsJSONSchema
598
- | undefined;
599
- /**
600
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
601
- *
602
- * @remarks
603
- *
604
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
605
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
606
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
607
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
608
- *
609
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
610
- */
611
- reasoningEffort?: ListAgentsReasoningEffort | undefined;
612
- /**
613
- * Adjusts response verbosity. Lower levels yield shorter answers.
614
- */
615
- verbosity?: string | undefined;
616
- /**
617
- * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
618
- */
619
- seed?: number | null | undefined;
620
- /**
621
- * Up to 4 sequences where the API will stop generating further tokens.
622
- */
623
- stop?: string | Array<string> | null | undefined;
624
- thinking?:
625
- | components.ThinkingConfigDisabledSchema
626
- | components.ThinkingConfigEnabledSchema
627
- | components.ThinkingConfigAdaptiveSchema
628
- | undefined;
629
- /**
630
- * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
631
- */
632
- temperature?: number | null | undefined;
633
- /**
634
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
635
- */
636
- topP?: number | null | undefined;
637
- /**
638
- * Limits the model to consider only the top k most likely tokens at each step.
639
- */
640
- topK?: number | null | undefined;
641
- /**
642
- * Controls which (if any) tool is called by the model.
643
- */
644
- toolChoice?: ListAgentsToolChoice2 | ListAgentsToolChoice1 | undefined;
645
- /**
646
- * Whether to enable parallel function calling during tool use.
647
- */
648
- parallelToolCalls?: boolean | undefined;
649
- /**
650
- * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
651
- */
652
- modalities?: Array<ListAgentsModalities> | null | undefined;
653
- /**
654
- * A list of guardrails to apply to the request.
655
- */
656
- guardrails?: Array<ListAgentsAgentsGuardrails> | undefined;
657
- /**
658
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
659
- */
660
- plugins?:
661
- | Array<
662
- | components.PIIRedactionPluginEn
663
- | components.PIIRedactionPluginNl
664
- | components.PIIRedactionPluginAuto
665
- >
666
- | undefined;
667
- /**
668
- * Array of fallback models to use if primary model fails
669
- */
670
- fallbacks?: Array<ListAgentsFallbacks> | undefined;
671
- /**
672
- * Cache configuration for the request.
673
- */
674
- cache?: ListAgentsCache | undefined;
675
- /**
676
- * Load balancer configuration for the request.
677
- */
678
- loadBalancer?: ListAgentsLoadBalancer1 | undefined;
679
- /**
680
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
681
- */
682
- timeout?: ListAgentsTimeout | undefined;
683
- /**
684
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
685
- */
686
- cacheControl?: ListAgentsCacheControl | undefined;
687
- /**
688
- * Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
689
- */
690
- promptCacheKey?: string | undefined;
691
- };
692
-
693
- /**
694
- * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
695
- */
696
- export type ListAgentsRetry = {
697
- /**
698
- * Number of retry attempts (1-5)
699
- */
700
- count: number;
701
- /**
702
- * HTTP status codes that trigger retry logic
703
- */
704
- onCodes?: Array<number> | undefined;
705
- };
706
-
707
- export type ListAgentsResponseFormatAgentsResponseJsonSchema = {
708
- /**
709
- * A description of what the response format is for, used by the model to determine how to respond in the format.
710
- */
711
- description?: string | undefined;
712
- /**
713
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
714
- */
715
- name: string;
716
- /**
717
- * The schema for the response format, described as a JSON Schema object.
718
- */
719
- schema?: any | undefined;
720
- /**
721
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
722
- */
723
- strict: boolean;
724
- };
725
-
726
- /**
727
- * @remarks
728
- *
729
- * JSON Schema response format. Used to generate structured JSON responses
730
- */
731
- export type ListAgentsResponseFormatAgentsResponse200JSONSchema = {
732
- type: "json_schema";
733
- jsonSchema: ListAgentsResponseFormatAgentsResponseJsonSchema;
734
- };
735
-
736
- /**
737
- * @remarks
738
- *
739
- * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
740
- */
741
- export type ListAgentsResponseFormatAgentsJSONObject = {
742
- type: "json_object";
743
- };
744
-
745
- /**
746
- * @remarks
747
- *
748
- * Default response format. Used to generate text responses
749
- */
750
- export type ListAgentsResponseFormatAgentsText = {
751
- type: "text";
752
- };
753
-
754
- /**
755
- * An object specifying the format that the model must output
756
- */
757
- export type ListAgentsFallbackModelConfigurationResponseFormat =
758
- | ListAgentsResponseFormatAgentsText
759
- | ListAgentsResponseFormatAgentsJSONObject
760
- | ListAgentsResponseFormatAgentsResponse200JSONSchema;
761
-
762
- /**
763
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
764
- *
765
- * @remarks
766
- *
767
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
768
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
769
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
770
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
771
- *
772
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
773
- */
774
- export const ListAgentsFallbackModelConfigurationReasoningEffort = {
775
- None: "none",
776
- Minimal: "minimal",
777
- Low: "low",
778
- Medium: "medium",
779
- High: "high",
780
- Xhigh: "xhigh",
781
- } as const;
782
- /**
783
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
784
- *
785
- * @remarks
786
- *
787
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
788
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
789
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
790
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
791
- *
792
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
793
- */
794
- export type ListAgentsFallbackModelConfigurationReasoningEffort = ClosedEnum<
795
- typeof ListAgentsFallbackModelConfigurationReasoningEffort
796
- >;
797
-
798
- /**
799
- * Up to 4 sequences where the API will stop generating further tokens.
800
- */
801
- export type ListAgentsFallbackModelConfigurationStop = string | Array<string>;
802
-
803
- export type ListAgentsFallbackModelConfigurationThinking =
804
- | components.ThinkingConfigDisabledSchema
805
- | components.ThinkingConfigEnabledSchema
806
- | components.ThinkingConfigAdaptiveSchema;
807
-
808
- /**
809
- * The type of the tool. Currently, only function is supported.
810
- */
811
- export const ListAgentsToolChoiceAgentsType = {
812
- Function: "function",
813
- } as const;
814
- /**
815
- * The type of the tool. Currently, only function is supported.
816
- */
817
- export type ListAgentsToolChoiceAgentsType = ClosedEnum<
818
- typeof ListAgentsToolChoiceAgentsType
819
- >;
820
-
821
- export type ListAgentsToolChoiceAgentsFunction = {
822
- /**
823
- * The name of the function to call.
824
- */
825
- name: string;
826
- };
827
-
828
- export type ListAgentsToolChoiceAgents2 = {
829
- /**
830
- * The type of the tool. Currently, only function is supported.
831
- */
832
- type?: ListAgentsToolChoiceAgentsType | undefined;
833
- function: ListAgentsToolChoiceAgentsFunction;
834
- };
835
-
836
- export const ListAgentsToolChoiceAgents1 = {
837
- None: "none",
838
- Auto: "auto",
839
- Required: "required",
840
- } as const;
841
- export type ListAgentsToolChoiceAgents1 = ClosedEnum<
842
- typeof ListAgentsToolChoiceAgents1
843
- >;
844
-
845
- /**
846
- * Controls which (if any) tool is called by the model.
847
- */
848
- export type ListAgentsFallbackModelConfigurationToolChoice =
849
- | ListAgentsToolChoiceAgents2
850
- | ListAgentsToolChoiceAgents1;
851
-
852
- export const ListAgentsFallbackModelConfigurationModalities = {
853
- Text: "text",
854
- Audio: "audio",
855
- } as const;
856
- export type ListAgentsFallbackModelConfigurationModalities = ClosedEnum<
857
- typeof ListAgentsFallbackModelConfigurationModalities
858
- >;
859
-
860
- /**
861
- * The key of the guardrail.
862
- */
863
- export const ListAgentsIdAgents1 = {
864
- OrqPiiDetection: "orq_pii_detection",
865
- OrqSexualModeration: "orq_sexual_moderation",
866
- OrqHarmfulModeration: "orq_harmful_moderation",
867
- } as const;
868
- /**
869
- * The key of the guardrail.
870
- */
871
- export type ListAgentsIdAgents1 = ClosedEnum<typeof ListAgentsIdAgents1>;
872
-
873
- export type ListAgentsFallbackModelConfigurationId =
874
- | ListAgentsIdAgents1
875
- | string;
876
-
877
- /**
878
- * Determines whether the guardrail runs on the input (user message) or output (model response).
879
- */
880
- export const ListAgentsFallbackModelConfigurationExecuteOn = {
881
- Input: "input",
882
- Output: "output",
883
- } as const;
884
- /**
885
- * Determines whether the guardrail runs on the input (user message) or output (model response).
886
- */
887
- export type ListAgentsFallbackModelConfigurationExecuteOn = ClosedEnum<
888
- typeof ListAgentsFallbackModelConfigurationExecuteOn
889
- >;
890
-
891
- export type ListAgentsFallbackModelConfigurationGuardrails = {
892
- id: ListAgentsIdAgents1 | string;
893
- /**
894
- * Determines whether the guardrail runs on the input (user message) or output (model response).
895
- */
896
- executeOn: ListAgentsFallbackModelConfigurationExecuteOn;
897
- };
898
-
899
- export type ListAgentsFallbackModelConfigurationPlugins =
900
- | components.PIIRedactionPluginEn
901
- | components.PIIRedactionPluginNl
902
- | components.PIIRedactionPluginAuto;
903
-
904
- export type ListAgentsFallbackModelConfigurationFallbacks = {
905
- /**
906
- * Fallback model identifier
907
- */
908
- model: string;
909
- };
910
-
911
- export const ListAgentsFallbackModelConfigurationType = {
912
- ExactMatch: "exact_match",
913
- } as const;
914
- export type ListAgentsFallbackModelConfigurationType = ClosedEnum<
915
- typeof ListAgentsFallbackModelConfigurationType
916
- >;
917
-
918
- /**
919
- * Cache configuration for the request.
920
- */
921
- export type ListAgentsFallbackModelConfigurationCache = {
922
- /**
923
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
924
- */
925
- ttl: number;
926
- type: ListAgentsFallbackModelConfigurationType;
927
- };
928
-
929
- export const ListAgentsLoadBalancerAgentsType = {
930
- WeightBased: "weight_based",
931
- } as const;
932
- export type ListAgentsLoadBalancerAgentsType = ClosedEnum<
933
- typeof ListAgentsLoadBalancerAgentsType
934
- >;
935
-
936
- export type ListAgentsLoadBalancerAgentsModels = {
937
- /**
938
- * Model identifier for load balancing
939
- */
940
- model: string;
941
- /**
942
- * Weight assigned to this model for load balancing
943
- */
944
- weight: number;
945
- };
946
-
947
- export type ListAgentsLoadBalancerAgents1 = {
948
- type: ListAgentsLoadBalancerAgentsType;
949
- models: Array<ListAgentsLoadBalancerAgentsModels>;
950
- };
951
-
952
- /**
953
- * Load balancer configuration for the request.
954
- */
955
- export type ListAgentsFallbackModelConfigurationLoadBalancer =
956
- ListAgentsLoadBalancerAgents1;
957
-
958
- /**
959
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
960
- */
961
- export type ListAgentsFallbackModelConfigurationTimeout = {
962
- /**
963
- * Timeout value in milliseconds
964
- */
965
- callTimeout: number;
966
- };
967
-
968
- /**
969
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
970
- */
971
- export const ListAgentsFallbackModelConfigurationAgentsType = {
972
- Ephemeral: "ephemeral",
973
- } as const;
974
- /**
975
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
976
- */
977
- export type ListAgentsFallbackModelConfigurationAgentsType = ClosedEnum<
978
- typeof ListAgentsFallbackModelConfigurationAgentsType
979
- >;
980
-
981
- /**
982
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
983
- *
984
- * @remarks
985
- *
986
- * - `5m`: 5 minutes
987
- * - `1h`: 1 hour
988
- *
989
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
990
- */
991
- export const ListAgentsFallbackModelConfigurationTtl = {
992
- Fivem: "5m",
993
- Oneh: "1h",
994
- } as const;
995
- /**
996
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
997
- *
998
- * @remarks
999
- *
1000
- * - `5m`: 5 minutes
1001
- * - `1h`: 1 hour
1002
- *
1003
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1004
- */
1005
- export type ListAgentsFallbackModelConfigurationTtl = ClosedEnum<
1006
- typeof ListAgentsFallbackModelConfigurationTtl
1007
- >;
1008
-
1009
- /**
1010
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
1011
- */
1012
- export type ListAgentsFallbackModelConfigurationCacheControl = {
1013
- /**
1014
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1015
- */
1016
- type: ListAgentsFallbackModelConfigurationAgentsType;
1017
- /**
1018
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1019
- *
1020
- * @remarks
1021
- *
1022
- * - `5m`: 5 minutes
1023
- * - `1h`: 1 hour
1024
- *
1025
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1026
- */
1027
- ttl: ListAgentsFallbackModelConfigurationTtl;
1028
- };
1029
-
1030
- /**
1031
- * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
1032
- */
1033
- export type ListAgentsFallbackModelConfigurationParameters = {
1034
- /**
1035
- * The name to display on the trace. If not specified, the default system name will be used.
1036
- */
1037
- name?: string | undefined;
1038
- /**
1039
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
1040
- */
1041
- frequencyPenalty?: number | null | undefined;
1042
- /**
1043
- * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
1044
- *
1045
- * @remarks
1046
- *
1047
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
1048
- */
1049
- maxTokens?: number | null | undefined;
1050
- /**
1051
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
1052
- */
1053
- maxCompletionTokens?: number | null | undefined;
1054
- /**
1055
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
1056
- */
1057
- presencePenalty?: number | null | undefined;
1058
- /**
1059
- * An object specifying the format that the model must output
1060
- */
1061
- responseFormat?:
1062
- | ListAgentsResponseFormatAgentsText
1063
- | ListAgentsResponseFormatAgentsJSONObject
1064
- | ListAgentsResponseFormatAgentsResponse200JSONSchema
1065
- | undefined;
1066
- /**
1067
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1068
- *
1069
- * @remarks
1070
- *
1071
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
1072
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1073
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1074
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1075
- *
1076
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1077
- */
1078
- reasoningEffort?:
1079
- | ListAgentsFallbackModelConfigurationReasoningEffort
1080
- | undefined;
1081
- /**
1082
- * Adjusts response verbosity. Lower levels yield shorter answers.
1083
- */
1084
- verbosity?: string | undefined;
1085
- /**
1086
- * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
1087
- */
1088
- seed?: number | null | undefined;
1089
- /**
1090
- * Up to 4 sequences where the API will stop generating further tokens.
1091
- */
1092
- stop?: string | Array<string> | null | undefined;
1093
- thinking?:
1094
- | components.ThinkingConfigDisabledSchema
1095
- | components.ThinkingConfigEnabledSchema
1096
- | components.ThinkingConfigAdaptiveSchema
1097
- | undefined;
1098
- /**
1099
- * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
1100
- */
1101
- temperature?: number | null | undefined;
1102
- /**
1103
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
1104
- */
1105
- topP?: number | null | undefined;
1106
- /**
1107
- * Limits the model to consider only the top k most likely tokens at each step.
1108
- */
1109
- topK?: number | null | undefined;
1110
- /**
1111
- * Controls which (if any) tool is called by the model.
1112
- */
1113
- toolChoice?:
1114
- | ListAgentsToolChoiceAgents2
1115
- | ListAgentsToolChoiceAgents1
1116
- | undefined;
1117
- /**
1118
- * Whether to enable parallel function calling during tool use.
1119
- */
1120
- parallelToolCalls?: boolean | undefined;
1121
- /**
1122
- * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
1123
- */
1124
- modalities?:
1125
- | Array<ListAgentsFallbackModelConfigurationModalities>
1126
- | null
1127
- | undefined;
1128
- /**
1129
- * A list of guardrails to apply to the request.
1130
- */
1131
- guardrails?:
1132
- | Array<ListAgentsFallbackModelConfigurationGuardrails>
1133
- | undefined;
1134
- /**
1135
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
1136
- */
1137
- plugins?:
1138
- | Array<
1139
- | components.PIIRedactionPluginEn
1140
- | components.PIIRedactionPluginNl
1141
- | components.PIIRedactionPluginAuto
1142
- >
1143
- | undefined;
1144
- /**
1145
- * Array of fallback models to use if primary model fails
1146
- */
1147
- fallbacks?: Array<ListAgentsFallbackModelConfigurationFallbacks> | undefined;
1148
- /**
1149
- * Cache configuration for the request.
1150
- */
1151
- cache?: ListAgentsFallbackModelConfigurationCache | undefined;
1152
- /**
1153
- * Load balancer configuration for the request.
1154
- */
1155
- loadBalancer?: ListAgentsLoadBalancerAgents1 | undefined;
1156
- /**
1157
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
1158
- */
1159
- timeout?: ListAgentsFallbackModelConfigurationTimeout | undefined;
1160
- /**
1161
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
1162
- */
1163
- cacheControl?: ListAgentsFallbackModelConfigurationCacheControl | undefined;
1164
- /**
1165
- * Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
1166
- */
1167
- promptCacheKey?: string | undefined;
1168
- };
1169
-
1170
- /**
1171
- * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
1172
- */
1173
- export type ListAgentsFallbackModelConfigurationRetry = {
1174
- /**
1175
- * Number of retry attempts (1-5)
1176
- */
1177
- count: number;
1178
- /**
1179
- * HTTP status codes that trigger retry logic
1180
- */
1181
- onCodes?: Array<number> | undefined;
1182
- };
1183
-
1184
- /**
1185
- * Fallback model configuration with optional parameters and retry settings.
1186
- */
1187
- export type ListAgentsFallbackModelConfiguration2 = {
1188
- /**
1189
- * A fallback model ID string. Must support tool calling.
1190
- */
1191
- id: string;
1192
- /**
1193
- * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
1194
- */
1195
- parameters?: ListAgentsFallbackModelConfigurationParameters | undefined;
1196
- /**
1197
- * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
1198
- */
1199
- retry?: ListAgentsFallbackModelConfigurationRetry | undefined;
1200
- };
1201
-
1202
- /**
1203
- * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
1204
- */
1205
- export type ListAgentsFallbackModelConfiguration =
1206
- | ListAgentsFallbackModelConfiguration2
1207
- | string;
1208
-
1209
- export type ListAgentsModel = {
1210
- /**
1211
- * The database ID of the primary model
1212
- */
1213
- id: string;
1214
- /**
1215
- * Optional integration ID for custom model configurations
1216
- */
1217
- integrationId?: string | null | undefined;
1218
- /**
1219
- * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
1220
- */
1221
- parameters?: ListAgentsParameters | undefined;
1222
- /**
1223
- * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
1224
- */
1225
- retry?: ListAgentsRetry | undefined;
1226
- /**
1227
- * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
1228
- */
1229
- fallbackModels?:
1230
- | Array<ListAgentsFallbackModelConfiguration2 | string>
1231
- | null
1232
- | undefined;
1233
- };
1234
-
1235
- export type ListAgentsData = {
1236
- id: string;
1237
- /**
1238
- * Unique identifier for the agent within the workspace
1239
- */
1240
- key: string;
1241
- displayName?: string | undefined;
1242
- createdById?: string | null | undefined;
1243
- updatedById?: string | null | undefined;
1244
- created?: string | undefined;
1245
- updated?: string | undefined;
1246
- /**
1247
- * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1248
- */
1249
- status: ListAgentsStatus;
1250
- /**
1251
- * Current semantic version of the agent manifest.
1252
- */
1253
- version?: string | undefined;
1254
- /**
1255
- * Entity storage path.
1256
- *
1257
- * @remarks
1258
- *
1259
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
1260
- *
1261
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
1262
- */
1263
- path: string;
1264
- /**
1265
- * Array of memory store identifiers. Accepts both memory store IDs and keys.
1266
- */
1267
- memoryStores?: Array<string> | undefined;
1268
- /**
1269
- * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1270
- */
1271
- teamOfAgents?: Array<ListAgentsTeamOfAgents> | undefined;
1272
- /**
1273
- * List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
1274
- */
1275
- skills: Array<string>;
1276
- metrics?: ListAgentsMetrics | undefined;
1277
- /**
1278
- * Extracted variables from agent instructions
1279
- */
1280
- variables?: { [k: string]: any } | undefined;
1281
- /**
1282
- * Agent knowledge bases reference
1283
- */
1284
- knowledgeBases?: Array<ListAgentsKnowledgeBases> | undefined;
1285
- source?: ListAgentsSource | undefined;
1286
- engine: ListAgentsEngine;
1287
- /**
1288
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1289
- */
1290
- type: ListAgentsType;
1291
- role: string;
1292
- description: string;
1293
- systemPrompt?: string | null | undefined;
1294
- instructions: string;
1295
- settings?: ListAgentsSettings | undefined;
1296
- model: ListAgentsModel;
1297
- };
1298
-
1299
- /**
1300
- * Successfully retrieved the list of agents. Returns a paginated response containing agent manifests with complete configurations, including primary and fallback models, tools, knowledge bases, and execution settings.
1301
- */
1302
- export type ListAgentsResponseBody = {
1303
- object: ListAgentsObject;
1304
- data: Array<ListAgentsData>;
1305
- hasMore: boolean;
1306
- };
1307
-
1308
- /** @internal */
1309
- export const QueryParamType$outboundSchema: z.ZodNativeEnum<
1310
- typeof QueryParamType
1311
- > = z.nativeEnum(QueryParamType);
1312
-
1313
- /** @internal */
1314
- export type ListAgentsRequest$Outbound = {
1315
- limit?: number | undefined;
1316
- starting_after?: string | undefined;
1317
- ending_before?: string | undefined;
1318
- type?: string | undefined;
1319
- };
1320
-
1321
- /** @internal */
1322
- export const ListAgentsRequest$outboundSchema: z.ZodType<
1323
- ListAgentsRequest$Outbound,
1324
- z.ZodTypeDef,
1325
- ListAgentsRequest
1326
- > = z.object({
1327
- limit: z.number().optional(),
1328
- startingAfter: z.string().optional(),
1329
- endingBefore: z.string().optional(),
1330
- type: QueryParamType$outboundSchema.optional(),
1331
- }).transform((v) => {
1332
- return remap$(v, {
1333
- startingAfter: "starting_after",
1334
- endingBefore: "ending_before",
1335
- });
1336
- });
1337
-
1338
- export function listAgentsRequestToJSON(
1339
- listAgentsRequest: ListAgentsRequest,
1340
- ): string {
1341
- return JSON.stringify(
1342
- ListAgentsRequest$outboundSchema.parse(listAgentsRequest),
1343
- );
1344
- }
1345
-
1346
- /** @internal */
1347
- export const ListAgentsObject$inboundSchema: z.ZodNativeEnum<
1348
- typeof ListAgentsObject
1349
- > = z.nativeEnum(ListAgentsObject);
1350
-
1351
- /** @internal */
1352
- export const ListAgentsStatus$inboundSchema: z.ZodNativeEnum<
1353
- typeof ListAgentsStatus
1354
- > = z.nativeEnum(ListAgentsStatus);
1355
-
1356
- /** @internal */
1357
- export const ListAgentsTeamOfAgents$inboundSchema: z.ZodType<
1358
- ListAgentsTeamOfAgents,
1359
- z.ZodTypeDef,
1360
- unknown
1361
- > = z.object({
1362
- key: z.string(),
1363
- role: z.string().optional(),
1364
- });
1365
-
1366
- export function listAgentsTeamOfAgentsFromJSON(
1367
- jsonString: string,
1368
- ): SafeParseResult<ListAgentsTeamOfAgents, SDKValidationError> {
1369
- return safeParse(
1370
- jsonString,
1371
- (x) => ListAgentsTeamOfAgents$inboundSchema.parse(JSON.parse(x)),
1372
- `Failed to parse 'ListAgentsTeamOfAgents' from JSON`,
1373
- );
1374
- }
1375
-
1376
- /** @internal */
1377
- export const ListAgentsMetrics$inboundSchema: z.ZodType<
1378
- ListAgentsMetrics,
1379
- z.ZodTypeDef,
1380
- unknown
1381
- > = z.object({
1382
- total_cost: z.number().default(0),
1383
- }).transform((v) => {
1384
- return remap$(v, {
1385
- "total_cost": "totalCost",
1386
- });
1387
- });
1388
-
1389
- export function listAgentsMetricsFromJSON(
1390
- jsonString: string,
1391
- ): SafeParseResult<ListAgentsMetrics, SDKValidationError> {
1392
- return safeParse(
1393
- jsonString,
1394
- (x) => ListAgentsMetrics$inboundSchema.parse(JSON.parse(x)),
1395
- `Failed to parse 'ListAgentsMetrics' from JSON`,
1396
- );
1397
- }
1398
-
1399
- /** @internal */
1400
- export const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<
1401
- ListAgentsKnowledgeBases,
1402
- z.ZodTypeDef,
1403
- unknown
1404
- > = z.object({
1405
- knowledge_id: z.string(),
1406
- }).transform((v) => {
1407
- return remap$(v, {
1408
- "knowledge_id": "knowledgeId",
1409
- });
1410
- });
1411
-
1412
- export function listAgentsKnowledgeBasesFromJSON(
1413
- jsonString: string,
1414
- ): SafeParseResult<ListAgentsKnowledgeBases, SDKValidationError> {
1415
- return safeParse(
1416
- jsonString,
1417
- (x) => ListAgentsKnowledgeBases$inboundSchema.parse(JSON.parse(x)),
1418
- `Failed to parse 'ListAgentsKnowledgeBases' from JSON`,
1419
- );
1420
- }
1421
-
1422
- /** @internal */
1423
- export const ListAgentsSource$inboundSchema: z.ZodNativeEnum<
1424
- typeof ListAgentsSource
1425
- > = z.nativeEnum(ListAgentsSource);
1426
-
1427
- /** @internal */
1428
- export const ListAgentsEngine$inboundSchema: z.ZodNativeEnum<
1429
- typeof ListAgentsEngine
1430
- > = z.nativeEnum(ListAgentsEngine);
1431
-
1432
- /** @internal */
1433
- export const ListAgentsType$inboundSchema: z.ZodNativeEnum<
1434
- typeof ListAgentsType
1435
- > = z.nativeEnum(ListAgentsType);
1436
-
1437
- /** @internal */
1438
- export const ListAgentsToolApprovalRequired$inboundSchema: z.ZodNativeEnum<
1439
- typeof ListAgentsToolApprovalRequired
1440
- > = z.nativeEnum(ListAgentsToolApprovalRequired);
1441
-
1442
- /** @internal */
1443
- export const ListAgentsConditions$inboundSchema: z.ZodType<
1444
- ListAgentsConditions,
1445
- z.ZodTypeDef,
1446
- unknown
1447
- > = z.object({
1448
- condition: z.string(),
1449
- operator: z.string(),
1450
- value: z.string(),
1451
- });
1452
-
1453
- export function listAgentsConditionsFromJSON(
1454
- jsonString: string,
1455
- ): SafeParseResult<ListAgentsConditions, SDKValidationError> {
1456
- return safeParse(
1457
- jsonString,
1458
- (x) => ListAgentsConditions$inboundSchema.parse(JSON.parse(x)),
1459
- `Failed to parse 'ListAgentsConditions' from JSON`,
1460
- );
1461
- }
1462
-
1463
- /** @internal */
1464
- export const ListAgentsTools$inboundSchema: z.ZodType<
1465
- ListAgentsTools,
1466
- z.ZodTypeDef,
1467
- unknown
1468
- > = z.object({
1469
- id: z.string(),
1470
- key: z.string().optional(),
1471
- action_type: z.string(),
1472
- display_name: z.string().optional(),
1473
- description: z.string().optional(),
1474
- requires_approval: z.boolean().default(false),
1475
- tool_id: z.string().optional(),
1476
- conditions: z.array(z.lazy(() => ListAgentsConditions$inboundSchema))
1477
- .optional(),
1478
- timeout: z.number().default(120),
1479
- }).transform((v) => {
1480
- return remap$(v, {
1481
- "action_type": "actionType",
1482
- "display_name": "displayName",
1483
- "requires_approval": "requiresApproval",
1484
- "tool_id": "toolId",
1485
- });
1486
- });
1487
-
1488
- export function listAgentsToolsFromJSON(
1489
- jsonString: string,
1490
- ): SafeParseResult<ListAgentsTools, SDKValidationError> {
1491
- return safeParse(
1492
- jsonString,
1493
- (x) => ListAgentsTools$inboundSchema.parse(JSON.parse(x)),
1494
- `Failed to parse 'ListAgentsTools' from JSON`,
1495
- );
1496
- }
1497
-
1498
- /** @internal */
1499
- export const ListAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<
1500
- typeof ListAgentsExecuteOn
1501
- > = z.nativeEnum(ListAgentsExecuteOn);
1502
-
1503
- /** @internal */
1504
- export const ListAgentsEvaluators$inboundSchema: z.ZodType<
1505
- ListAgentsEvaluators,
1506
- z.ZodTypeDef,
1507
- unknown
1508
- > = z.object({
1509
- id: z.string(),
1510
- sample_rate: z.number().default(50),
1511
- execute_on: ListAgentsExecuteOn$inboundSchema,
1512
- }).transform((v) => {
1513
- return remap$(v, {
1514
- "sample_rate": "sampleRate",
1515
- "execute_on": "executeOn",
1516
- });
1517
- });
1518
-
1519
- export function listAgentsEvaluatorsFromJSON(
1520
- jsonString: string,
1521
- ): SafeParseResult<ListAgentsEvaluators, SDKValidationError> {
1522
- return safeParse(
1523
- jsonString,
1524
- (x) => ListAgentsEvaluators$inboundSchema.parse(JSON.parse(x)),
1525
- `Failed to parse 'ListAgentsEvaluators' from JSON`,
1526
- );
1527
- }
1528
-
1529
- /** @internal */
1530
- export const ListAgentsAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<
1531
- typeof ListAgentsAgentsExecuteOn
1532
- > = z.nativeEnum(ListAgentsAgentsExecuteOn);
1533
-
1534
- /** @internal */
1535
- export const ListAgentsGuardrails$inboundSchema: z.ZodType<
1536
- ListAgentsGuardrails,
1537
- z.ZodTypeDef,
1538
- unknown
1539
- > = z.object({
1540
- id: z.string(),
1541
- sample_rate: z.number().default(50),
1542
- execute_on: ListAgentsAgentsExecuteOn$inboundSchema,
1543
- }).transform((v) => {
1544
- return remap$(v, {
1545
- "sample_rate": "sampleRate",
1546
- "execute_on": "executeOn",
1547
- });
1548
- });
1549
-
1550
- export function listAgentsGuardrailsFromJSON(
1551
- jsonString: string,
1552
- ): SafeParseResult<ListAgentsGuardrails, SDKValidationError> {
1553
- return safeParse(
1554
- jsonString,
1555
- (x) => ListAgentsGuardrails$inboundSchema.parse(JSON.parse(x)),
1556
- `Failed to parse 'ListAgentsGuardrails' from JSON`,
1557
- );
1558
- }
1559
-
1560
- /** @internal */
1561
- export const ListAgentsSettings$inboundSchema: z.ZodType<
1562
- ListAgentsSettings,
1563
- z.ZodTypeDef,
1564
- unknown
1565
- > = z.object({
1566
- max_iterations: z.number().int().default(100),
1567
- max_execution_time: z.number().int().default(600),
1568
- max_cost: z.number().default(0),
1569
- tool_approval_required: ListAgentsToolApprovalRequired$inboundSchema.default(
1570
- "respect_tool",
1571
- ),
1572
- tools: z.array(z.lazy(() => ListAgentsTools$inboundSchema)).optional(),
1573
- evaluators: z.array(z.lazy(() => ListAgentsEvaluators$inboundSchema))
1574
- .optional(),
1575
- guardrails: z.array(z.lazy(() => ListAgentsGuardrails$inboundSchema))
1576
- .optional(),
1577
- }).transform((v) => {
1578
- return remap$(v, {
1579
- "max_iterations": "maxIterations",
1580
- "max_execution_time": "maxExecutionTime",
1581
- "max_cost": "maxCost",
1582
- "tool_approval_required": "toolApprovalRequired",
1583
- });
1584
- });
1585
-
1586
- export function listAgentsSettingsFromJSON(
1587
- jsonString: string,
1588
- ): SafeParseResult<ListAgentsSettings, SDKValidationError> {
1589
- return safeParse(
1590
- jsonString,
1591
- (x) => ListAgentsSettings$inboundSchema.parse(JSON.parse(x)),
1592
- `Failed to parse 'ListAgentsSettings' from JSON`,
1593
- );
1594
- }
1595
-
1596
- /** @internal */
1597
- export const ListAgentsResponseFormatJsonSchema$inboundSchema: z.ZodType<
1598
- ListAgentsResponseFormatJsonSchema,
1599
- z.ZodTypeDef,
1600
- unknown
1601
- > = z.object({
1602
- description: z.string().optional(),
1603
- name: z.string(),
1604
- schema: z.any().optional(),
1605
- strict: z.boolean().default(false),
1606
- });
1607
-
1608
- export function listAgentsResponseFormatJsonSchemaFromJSON(
1609
- jsonString: string,
1610
- ): SafeParseResult<ListAgentsResponseFormatJsonSchema, SDKValidationError> {
1611
- return safeParse(
1612
- jsonString,
1613
- (x) =>
1614
- ListAgentsResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
1615
- `Failed to parse 'ListAgentsResponseFormatJsonSchema' from JSON`,
1616
- );
1617
- }
1618
-
1619
- /** @internal */
1620
- export const ListAgentsResponseFormatAgentsJSONSchema$inboundSchema: z.ZodType<
1621
- ListAgentsResponseFormatAgentsJSONSchema,
1622
- z.ZodTypeDef,
1623
- unknown
1624
- > = z.object({
1625
- type: z.literal("json_schema"),
1626
- json_schema: z.lazy(() => ListAgentsResponseFormatJsonSchema$inboundSchema),
1627
- }).transform((v) => {
1628
- return remap$(v, {
1629
- "json_schema": "jsonSchema",
1630
- });
1631
- });
1632
-
1633
- export function listAgentsResponseFormatAgentsJSONSchemaFromJSON(
1634
- jsonString: string,
1635
- ): SafeParseResult<
1636
- ListAgentsResponseFormatAgentsJSONSchema,
1637
- SDKValidationError
1638
- > {
1639
- return safeParse(
1640
- jsonString,
1641
- (x) =>
1642
- ListAgentsResponseFormatAgentsJSONSchema$inboundSchema.parse(
1643
- JSON.parse(x),
1644
- ),
1645
- `Failed to parse 'ListAgentsResponseFormatAgentsJSONSchema' from JSON`,
1646
- );
1647
- }
1648
-
1649
- /** @internal */
1650
- export const ListAgentsResponseFormatJSONObject$inboundSchema: z.ZodType<
1651
- ListAgentsResponseFormatJSONObject,
1652
- z.ZodTypeDef,
1653
- unknown
1654
- > = z.object({
1655
- type: z.literal("json_object"),
1656
- });
1657
-
1658
- export function listAgentsResponseFormatJSONObjectFromJSON(
1659
- jsonString: string,
1660
- ): SafeParseResult<ListAgentsResponseFormatJSONObject, SDKValidationError> {
1661
- return safeParse(
1662
- jsonString,
1663
- (x) =>
1664
- ListAgentsResponseFormatJSONObject$inboundSchema.parse(JSON.parse(x)),
1665
- `Failed to parse 'ListAgentsResponseFormatJSONObject' from JSON`,
1666
- );
1667
- }
1668
-
1669
- /** @internal */
1670
- export const ListAgentsResponseFormatText$inboundSchema: z.ZodType<
1671
- ListAgentsResponseFormatText,
1672
- z.ZodTypeDef,
1673
- unknown
1674
- > = z.object({
1675
- type: z.literal("text"),
1676
- });
1677
-
1678
- export function listAgentsResponseFormatTextFromJSON(
1679
- jsonString: string,
1680
- ): SafeParseResult<ListAgentsResponseFormatText, SDKValidationError> {
1681
- return safeParse(
1682
- jsonString,
1683
- (x) => ListAgentsResponseFormatText$inboundSchema.parse(JSON.parse(x)),
1684
- `Failed to parse 'ListAgentsResponseFormatText' from JSON`,
1685
- );
1686
- }
1687
-
1688
- /** @internal */
1689
- export const ListAgentsResponseFormat$inboundSchema: z.ZodType<
1690
- ListAgentsResponseFormat,
1691
- z.ZodTypeDef,
1692
- unknown
1693
- > = z.union([
1694
- z.lazy(() => ListAgentsResponseFormatText$inboundSchema),
1695
- z.lazy(() => ListAgentsResponseFormatJSONObject$inboundSchema),
1696
- z.lazy(() => ListAgentsResponseFormatAgentsJSONSchema$inboundSchema),
1697
- ]);
1698
-
1699
- export function listAgentsResponseFormatFromJSON(
1700
- jsonString: string,
1701
- ): SafeParseResult<ListAgentsResponseFormat, SDKValidationError> {
1702
- return safeParse(
1703
- jsonString,
1704
- (x) => ListAgentsResponseFormat$inboundSchema.parse(JSON.parse(x)),
1705
- `Failed to parse 'ListAgentsResponseFormat' from JSON`,
1706
- );
1707
- }
1708
-
1709
- /** @internal */
1710
- export const ListAgentsReasoningEffort$inboundSchema: z.ZodNativeEnum<
1711
- typeof ListAgentsReasoningEffort
1712
- > = z.nativeEnum(ListAgentsReasoningEffort);
1713
-
1714
- /** @internal */
1715
- export const ListAgentsStop$inboundSchema: z.ZodType<
1716
- ListAgentsStop,
1717
- z.ZodTypeDef,
1718
- unknown
1719
- > = z.union([z.string(), z.array(z.string())]);
1720
-
1721
- export function listAgentsStopFromJSON(
1722
- jsonString: string,
1723
- ): SafeParseResult<ListAgentsStop, SDKValidationError> {
1724
- return safeParse(
1725
- jsonString,
1726
- (x) => ListAgentsStop$inboundSchema.parse(JSON.parse(x)),
1727
- `Failed to parse 'ListAgentsStop' from JSON`,
1728
- );
1729
- }
1730
-
1731
- /** @internal */
1732
- export const ListAgentsThinking$inboundSchema: z.ZodType<
1733
- ListAgentsThinking,
1734
- z.ZodTypeDef,
1735
- unknown
1736
- > = z.union([
1737
- components.ThinkingConfigDisabledSchema$inboundSchema,
1738
- components.ThinkingConfigEnabledSchema$inboundSchema,
1739
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
1740
- ]);
1741
-
1742
- export function listAgentsThinkingFromJSON(
1743
- jsonString: string,
1744
- ): SafeParseResult<ListAgentsThinking, SDKValidationError> {
1745
- return safeParse(
1746
- jsonString,
1747
- (x) => ListAgentsThinking$inboundSchema.parse(JSON.parse(x)),
1748
- `Failed to parse 'ListAgentsThinking' from JSON`,
1749
- );
1750
- }
1751
-
1752
- /** @internal */
1753
- export const ListAgentsToolChoiceType$inboundSchema: z.ZodNativeEnum<
1754
- typeof ListAgentsToolChoiceType
1755
- > = z.nativeEnum(ListAgentsToolChoiceType);
1756
-
1757
- /** @internal */
1758
- export const ListAgentsToolChoiceFunction$inboundSchema: z.ZodType<
1759
- ListAgentsToolChoiceFunction,
1760
- z.ZodTypeDef,
1761
- unknown
1762
- > = z.object({
1763
- name: z.string(),
1764
- });
1765
-
1766
- export function listAgentsToolChoiceFunctionFromJSON(
1767
- jsonString: string,
1768
- ): SafeParseResult<ListAgentsToolChoiceFunction, SDKValidationError> {
1769
- return safeParse(
1770
- jsonString,
1771
- (x) => ListAgentsToolChoiceFunction$inboundSchema.parse(JSON.parse(x)),
1772
- `Failed to parse 'ListAgentsToolChoiceFunction' from JSON`,
1773
- );
1774
- }
1775
-
1776
- /** @internal */
1777
- export const ListAgentsToolChoice2$inboundSchema: z.ZodType<
1778
- ListAgentsToolChoice2,
1779
- z.ZodTypeDef,
1780
- unknown
1781
- > = z.object({
1782
- type: ListAgentsToolChoiceType$inboundSchema.optional(),
1783
- function: z.lazy(() => ListAgentsToolChoiceFunction$inboundSchema),
1784
- });
1785
-
1786
- export function listAgentsToolChoice2FromJSON(
1787
- jsonString: string,
1788
- ): SafeParseResult<ListAgentsToolChoice2, SDKValidationError> {
1789
- return safeParse(
1790
- jsonString,
1791
- (x) => ListAgentsToolChoice2$inboundSchema.parse(JSON.parse(x)),
1792
- `Failed to parse 'ListAgentsToolChoice2' from JSON`,
1793
- );
1794
- }
1795
-
1796
- /** @internal */
1797
- export const ListAgentsToolChoice1$inboundSchema: z.ZodNativeEnum<
1798
- typeof ListAgentsToolChoice1
1799
- > = z.nativeEnum(ListAgentsToolChoice1);
1800
-
1801
- /** @internal */
1802
- export const ListAgentsToolChoice$inboundSchema: z.ZodType<
1803
- ListAgentsToolChoice,
1804
- z.ZodTypeDef,
1805
- unknown
1806
- > = z.union([
1807
- z.lazy(() => ListAgentsToolChoice2$inboundSchema),
1808
- ListAgentsToolChoice1$inboundSchema,
1809
- ]);
1810
-
1811
- export function listAgentsToolChoiceFromJSON(
1812
- jsonString: string,
1813
- ): SafeParseResult<ListAgentsToolChoice, SDKValidationError> {
1814
- return safeParse(
1815
- jsonString,
1816
- (x) => ListAgentsToolChoice$inboundSchema.parse(JSON.parse(x)),
1817
- `Failed to parse 'ListAgentsToolChoice' from JSON`,
1818
- );
1819
- }
1820
-
1821
- /** @internal */
1822
- export const ListAgentsModalities$inboundSchema: z.ZodNativeEnum<
1823
- typeof ListAgentsModalities
1824
- > = z.nativeEnum(ListAgentsModalities);
1825
-
1826
- /** @internal */
1827
- export const ListAgentsId1$inboundSchema: z.ZodNativeEnum<
1828
- typeof ListAgentsId1
1829
- > = z.nativeEnum(ListAgentsId1);
1830
-
1831
- /** @internal */
1832
- export const ListAgentsId$inboundSchema: z.ZodType<
1833
- ListAgentsId,
1834
- z.ZodTypeDef,
1835
- unknown
1836
- > = z.union([ListAgentsId1$inboundSchema, z.string()]);
1837
-
1838
- export function listAgentsIdFromJSON(
1839
- jsonString: string,
1840
- ): SafeParseResult<ListAgentsId, SDKValidationError> {
1841
- return safeParse(
1842
- jsonString,
1843
- (x) => ListAgentsId$inboundSchema.parse(JSON.parse(x)),
1844
- `Failed to parse 'ListAgentsId' from JSON`,
1845
- );
1846
- }
1847
-
1848
- /** @internal */
1849
- export const ListAgentsAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<
1850
- typeof ListAgentsAgentsResponseExecuteOn
1851
- > = z.nativeEnum(ListAgentsAgentsResponseExecuteOn);
1852
-
1853
- /** @internal */
1854
- export const ListAgentsAgentsGuardrails$inboundSchema: z.ZodType<
1855
- ListAgentsAgentsGuardrails,
1856
- z.ZodTypeDef,
1857
- unknown
1858
- > = z.object({
1859
- id: z.union([ListAgentsId1$inboundSchema, z.string()]),
1860
- execute_on: ListAgentsAgentsResponseExecuteOn$inboundSchema,
1861
- }).transform((v) => {
1862
- return remap$(v, {
1863
- "execute_on": "executeOn",
1864
- });
1865
- });
1866
-
1867
- export function listAgentsAgentsGuardrailsFromJSON(
1868
- jsonString: string,
1869
- ): SafeParseResult<ListAgentsAgentsGuardrails, SDKValidationError> {
1870
- return safeParse(
1871
- jsonString,
1872
- (x) => ListAgentsAgentsGuardrails$inboundSchema.parse(JSON.parse(x)),
1873
- `Failed to parse 'ListAgentsAgentsGuardrails' from JSON`,
1874
- );
1875
- }
1876
-
1877
- /** @internal */
1878
- export const ListAgentsPlugins$inboundSchema: z.ZodType<
1879
- ListAgentsPlugins,
1880
- z.ZodTypeDef,
1881
- unknown
1882
- > = z.union([
1883
- components.PIIRedactionPluginEn$inboundSchema,
1884
- components.PIIRedactionPluginNl$inboundSchema,
1885
- components.PIIRedactionPluginAuto$inboundSchema,
1886
- ]);
1887
-
1888
- export function listAgentsPluginsFromJSON(
1889
- jsonString: string,
1890
- ): SafeParseResult<ListAgentsPlugins, SDKValidationError> {
1891
- return safeParse(
1892
- jsonString,
1893
- (x) => ListAgentsPlugins$inboundSchema.parse(JSON.parse(x)),
1894
- `Failed to parse 'ListAgentsPlugins' from JSON`,
1895
- );
1896
- }
1897
-
1898
- /** @internal */
1899
- export const ListAgentsFallbacks$inboundSchema: z.ZodType<
1900
- ListAgentsFallbacks,
1901
- z.ZodTypeDef,
1902
- unknown
1903
- > = z.object({
1904
- model: z.string(),
1905
- });
1906
-
1907
- export function listAgentsFallbacksFromJSON(
1908
- jsonString: string,
1909
- ): SafeParseResult<ListAgentsFallbacks, SDKValidationError> {
1910
- return safeParse(
1911
- jsonString,
1912
- (x) => ListAgentsFallbacks$inboundSchema.parse(JSON.parse(x)),
1913
- `Failed to parse 'ListAgentsFallbacks' from JSON`,
1914
- );
1915
- }
1916
-
1917
- /** @internal */
1918
- export const ListAgentsAgentsType$inboundSchema: z.ZodNativeEnum<
1919
- typeof ListAgentsAgentsType
1920
- > = z.nativeEnum(ListAgentsAgentsType);
1921
-
1922
- /** @internal */
1923
- export const ListAgentsCache$inboundSchema: z.ZodType<
1924
- ListAgentsCache,
1925
- z.ZodTypeDef,
1926
- unknown
1927
- > = z.object({
1928
- ttl: z.number().default(1800),
1929
- type: ListAgentsAgentsType$inboundSchema,
1930
- });
1931
-
1932
- export function listAgentsCacheFromJSON(
1933
- jsonString: string,
1934
- ): SafeParseResult<ListAgentsCache, SDKValidationError> {
1935
- return safeParse(
1936
- jsonString,
1937
- (x) => ListAgentsCache$inboundSchema.parse(JSON.parse(x)),
1938
- `Failed to parse 'ListAgentsCache' from JSON`,
1939
- );
1940
- }
1941
-
1942
- /** @internal */
1943
- export const ListAgentsLoadBalancerType$inboundSchema: z.ZodNativeEnum<
1944
- typeof ListAgentsLoadBalancerType
1945
- > = z.nativeEnum(ListAgentsLoadBalancerType);
1946
-
1947
- /** @internal */
1948
- export const ListAgentsLoadBalancerModels$inboundSchema: z.ZodType<
1949
- ListAgentsLoadBalancerModels,
1950
- z.ZodTypeDef,
1951
- unknown
1952
- > = z.object({
1953
- model: z.string(),
1954
- weight: z.number().default(0.5),
1955
- });
1956
-
1957
- export function listAgentsLoadBalancerModelsFromJSON(
1958
- jsonString: string,
1959
- ): SafeParseResult<ListAgentsLoadBalancerModels, SDKValidationError> {
1960
- return safeParse(
1961
- jsonString,
1962
- (x) => ListAgentsLoadBalancerModels$inboundSchema.parse(JSON.parse(x)),
1963
- `Failed to parse 'ListAgentsLoadBalancerModels' from JSON`,
1964
- );
1965
- }
1966
-
1967
- /** @internal */
1968
- export const ListAgentsLoadBalancer1$inboundSchema: z.ZodType<
1969
- ListAgentsLoadBalancer1,
1970
- z.ZodTypeDef,
1971
- unknown
1972
- > = z.object({
1973
- type: ListAgentsLoadBalancerType$inboundSchema,
1974
- models: z.array(z.lazy(() => ListAgentsLoadBalancerModels$inboundSchema)),
1975
- });
1976
-
1977
- export function listAgentsLoadBalancer1FromJSON(
1978
- jsonString: string,
1979
- ): SafeParseResult<ListAgentsLoadBalancer1, SDKValidationError> {
1980
- return safeParse(
1981
- jsonString,
1982
- (x) => ListAgentsLoadBalancer1$inboundSchema.parse(JSON.parse(x)),
1983
- `Failed to parse 'ListAgentsLoadBalancer1' from JSON`,
1984
- );
1985
- }
1986
-
1987
- /** @internal */
1988
- export const ListAgentsLoadBalancer$inboundSchema: z.ZodType<
1989
- ListAgentsLoadBalancer,
1990
- z.ZodTypeDef,
1991
- unknown
1992
- > = z.lazy(() => ListAgentsLoadBalancer1$inboundSchema);
1993
-
1994
- export function listAgentsLoadBalancerFromJSON(
1995
- jsonString: string,
1996
- ): SafeParseResult<ListAgentsLoadBalancer, SDKValidationError> {
1997
- return safeParse(
1998
- jsonString,
1999
- (x) => ListAgentsLoadBalancer$inboundSchema.parse(JSON.parse(x)),
2000
- `Failed to parse 'ListAgentsLoadBalancer' from JSON`,
2001
- );
2002
- }
2003
-
2004
- /** @internal */
2005
- export const ListAgentsTimeout$inboundSchema: z.ZodType<
2006
- ListAgentsTimeout,
2007
- z.ZodTypeDef,
2008
- unknown
2009
- > = z.object({
2010
- call_timeout: z.number(),
2011
- }).transform((v) => {
2012
- return remap$(v, {
2013
- "call_timeout": "callTimeout",
2014
- });
2015
- });
2016
-
2017
- export function listAgentsTimeoutFromJSON(
2018
- jsonString: string,
2019
- ): SafeParseResult<ListAgentsTimeout, SDKValidationError> {
2020
- return safeParse(
2021
- jsonString,
2022
- (x) => ListAgentsTimeout$inboundSchema.parse(JSON.parse(x)),
2023
- `Failed to parse 'ListAgentsTimeout' from JSON`,
2024
- );
2025
- }
2026
-
2027
- /** @internal */
2028
- export const ListAgentsAgentsResponseType$inboundSchema: z.ZodNativeEnum<
2029
- typeof ListAgentsAgentsResponseType
2030
- > = z.nativeEnum(ListAgentsAgentsResponseType);
2031
-
2032
- /** @internal */
2033
- export const ListAgentsTtl$inboundSchema: z.ZodNativeEnum<
2034
- typeof ListAgentsTtl
2035
- > = z.nativeEnum(ListAgentsTtl);
2036
-
2037
- /** @internal */
2038
- export const ListAgentsCacheControl$inboundSchema: z.ZodType<
2039
- ListAgentsCacheControl,
2040
- z.ZodTypeDef,
2041
- unknown
2042
- > = z.object({
2043
- type: ListAgentsAgentsResponseType$inboundSchema,
2044
- ttl: ListAgentsTtl$inboundSchema.default("5m"),
2045
- });
2046
-
2047
- export function listAgentsCacheControlFromJSON(
2048
- jsonString: string,
2049
- ): SafeParseResult<ListAgentsCacheControl, SDKValidationError> {
2050
- return safeParse(
2051
- jsonString,
2052
- (x) => ListAgentsCacheControl$inboundSchema.parse(JSON.parse(x)),
2053
- `Failed to parse 'ListAgentsCacheControl' from JSON`,
2054
- );
2055
- }
2056
-
2057
- /** @internal */
2058
- export const ListAgentsParameters$inboundSchema: z.ZodType<
2059
- ListAgentsParameters,
2060
- z.ZodTypeDef,
2061
- unknown
2062
- > = z.object({
2063
- name: z.string().optional(),
2064
- frequency_penalty: z.nullable(z.number()).optional(),
2065
- max_tokens: z.nullable(z.number().int()).optional(),
2066
- max_completion_tokens: z.nullable(z.number().int()).optional(),
2067
- presence_penalty: z.nullable(z.number()).optional(),
2068
- response_format: z.union([
2069
- z.lazy(() => ListAgentsResponseFormatText$inboundSchema),
2070
- z.lazy(() => ListAgentsResponseFormatJSONObject$inboundSchema),
2071
- z.lazy(() => ListAgentsResponseFormatAgentsJSONSchema$inboundSchema),
2072
- ]).optional(),
2073
- reasoning_effort: ListAgentsReasoningEffort$inboundSchema.optional(),
2074
- verbosity: z.string().optional(),
2075
- seed: z.nullable(z.number()).optional(),
2076
- stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
2077
- thinking: z.union([
2078
- components.ThinkingConfigDisabledSchema$inboundSchema,
2079
- components.ThinkingConfigEnabledSchema$inboundSchema,
2080
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
2081
- ]).optional(),
2082
- temperature: z.nullable(z.number()).optional(),
2083
- top_p: z.nullable(z.number()).optional(),
2084
- top_k: z.nullable(z.number()).optional(),
2085
- tool_choice: z.union([
2086
- z.lazy(() => ListAgentsToolChoice2$inboundSchema),
2087
- ListAgentsToolChoice1$inboundSchema,
2088
- ]).optional(),
2089
- parallel_tool_calls: z.boolean().optional(),
2090
- modalities: z.nullable(z.array(ListAgentsModalities$inboundSchema))
2091
- .optional(),
2092
- guardrails: z.array(z.lazy(() => ListAgentsAgentsGuardrails$inboundSchema))
2093
- .optional(),
2094
- plugins: z.array(
2095
- z.union([
2096
- components.PIIRedactionPluginEn$inboundSchema,
2097
- components.PIIRedactionPluginNl$inboundSchema,
2098
- components.PIIRedactionPluginAuto$inboundSchema,
2099
- ]),
2100
- ).optional(),
2101
- fallbacks: z.array(z.lazy(() => ListAgentsFallbacks$inboundSchema))
2102
- .optional(),
2103
- cache: z.lazy(() => ListAgentsCache$inboundSchema).optional(),
2104
- load_balancer: z.lazy(() => ListAgentsLoadBalancer1$inboundSchema).optional(),
2105
- timeout: z.lazy(() => ListAgentsTimeout$inboundSchema).optional(),
2106
- cache_control: z.lazy(() => ListAgentsCacheControl$inboundSchema).optional(),
2107
- prompt_cache_key: z.string().optional(),
2108
- }).transform((v) => {
2109
- return remap$(v, {
2110
- "frequency_penalty": "frequencyPenalty",
2111
- "max_tokens": "maxTokens",
2112
- "max_completion_tokens": "maxCompletionTokens",
2113
- "presence_penalty": "presencePenalty",
2114
- "response_format": "responseFormat",
2115
- "reasoning_effort": "reasoningEffort",
2116
- "top_p": "topP",
2117
- "top_k": "topK",
2118
- "tool_choice": "toolChoice",
2119
- "parallel_tool_calls": "parallelToolCalls",
2120
- "load_balancer": "loadBalancer",
2121
- "cache_control": "cacheControl",
2122
- "prompt_cache_key": "promptCacheKey",
2123
- });
2124
- });
2125
-
2126
- export function listAgentsParametersFromJSON(
2127
- jsonString: string,
2128
- ): SafeParseResult<ListAgentsParameters, SDKValidationError> {
2129
- return safeParse(
2130
- jsonString,
2131
- (x) => ListAgentsParameters$inboundSchema.parse(JSON.parse(x)),
2132
- `Failed to parse 'ListAgentsParameters' from JSON`,
2133
- );
2134
- }
2135
-
2136
- /** @internal */
2137
- export const ListAgentsRetry$inboundSchema: z.ZodType<
2138
- ListAgentsRetry,
2139
- z.ZodTypeDef,
2140
- unknown
2141
- > = z.object({
2142
- count: z.number().default(3),
2143
- on_codes: z.array(z.number()).optional(),
2144
- }).transform((v) => {
2145
- return remap$(v, {
2146
- "on_codes": "onCodes",
2147
- });
2148
- });
2149
-
2150
- export function listAgentsRetryFromJSON(
2151
- jsonString: string,
2152
- ): SafeParseResult<ListAgentsRetry, SDKValidationError> {
2153
- return safeParse(
2154
- jsonString,
2155
- (x) => ListAgentsRetry$inboundSchema.parse(JSON.parse(x)),
2156
- `Failed to parse 'ListAgentsRetry' from JSON`,
2157
- );
2158
- }
2159
-
2160
- /** @internal */
2161
- export const ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema:
2162
- z.ZodType<
2163
- ListAgentsResponseFormatAgentsResponseJsonSchema,
2164
- z.ZodTypeDef,
2165
- unknown
2166
- > = z.object({
2167
- description: z.string().optional(),
2168
- name: z.string(),
2169
- schema: z.any().optional(),
2170
- strict: z.boolean().default(false),
2171
- });
2172
-
2173
- export function listAgentsResponseFormatAgentsResponseJsonSchemaFromJSON(
2174
- jsonString: string,
2175
- ): SafeParseResult<
2176
- ListAgentsResponseFormatAgentsResponseJsonSchema,
2177
- SDKValidationError
2178
- > {
2179
- return safeParse(
2180
- jsonString,
2181
- (x) =>
2182
- ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema.parse(
2183
- JSON.parse(x),
2184
- ),
2185
- `Failed to parse 'ListAgentsResponseFormatAgentsResponseJsonSchema' from JSON`,
2186
- );
2187
- }
2188
-
2189
- /** @internal */
2190
- export const ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema:
2191
- z.ZodType<
2192
- ListAgentsResponseFormatAgentsResponse200JSONSchema,
2193
- z.ZodTypeDef,
2194
- unknown
2195
- > = z.object({
2196
- type: z.literal("json_schema"),
2197
- json_schema: z.lazy(() =>
2198
- ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema
2199
- ),
2200
- }).transform((v) => {
2201
- return remap$(v, {
2202
- "json_schema": "jsonSchema",
2203
- });
2204
- });
2205
-
2206
- export function listAgentsResponseFormatAgentsResponse200JSONSchemaFromJSON(
2207
- jsonString: string,
2208
- ): SafeParseResult<
2209
- ListAgentsResponseFormatAgentsResponse200JSONSchema,
2210
- SDKValidationError
2211
- > {
2212
- return safeParse(
2213
- jsonString,
2214
- (x) =>
2215
- ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema.parse(
2216
- JSON.parse(x),
2217
- ),
2218
- `Failed to parse 'ListAgentsResponseFormatAgentsResponse200JSONSchema' from JSON`,
2219
- );
2220
- }
2221
-
2222
- /** @internal */
2223
- export const ListAgentsResponseFormatAgentsJSONObject$inboundSchema: z.ZodType<
2224
- ListAgentsResponseFormatAgentsJSONObject,
2225
- z.ZodTypeDef,
2226
- unknown
2227
- > = z.object({
2228
- type: z.literal("json_object"),
2229
- });
2230
-
2231
- export function listAgentsResponseFormatAgentsJSONObjectFromJSON(
2232
- jsonString: string,
2233
- ): SafeParseResult<
2234
- ListAgentsResponseFormatAgentsJSONObject,
2235
- SDKValidationError
2236
- > {
2237
- return safeParse(
2238
- jsonString,
2239
- (x) =>
2240
- ListAgentsResponseFormatAgentsJSONObject$inboundSchema.parse(
2241
- JSON.parse(x),
2242
- ),
2243
- `Failed to parse 'ListAgentsResponseFormatAgentsJSONObject' from JSON`,
2244
- );
2245
- }
2246
-
2247
- /** @internal */
2248
- export const ListAgentsResponseFormatAgentsText$inboundSchema: z.ZodType<
2249
- ListAgentsResponseFormatAgentsText,
2250
- z.ZodTypeDef,
2251
- unknown
2252
- > = z.object({
2253
- type: z.literal("text"),
2254
- });
2255
-
2256
- export function listAgentsResponseFormatAgentsTextFromJSON(
2257
- jsonString: string,
2258
- ): SafeParseResult<ListAgentsResponseFormatAgentsText, SDKValidationError> {
2259
- return safeParse(
2260
- jsonString,
2261
- (x) =>
2262
- ListAgentsResponseFormatAgentsText$inboundSchema.parse(JSON.parse(x)),
2263
- `Failed to parse 'ListAgentsResponseFormatAgentsText' from JSON`,
2264
- );
2265
- }
2266
-
2267
- /** @internal */
2268
- export const ListAgentsFallbackModelConfigurationResponseFormat$inboundSchema:
2269
- z.ZodType<
2270
- ListAgentsFallbackModelConfigurationResponseFormat,
2271
- z.ZodTypeDef,
2272
- unknown
2273
- > = z.union([
2274
- z.lazy(() => ListAgentsResponseFormatAgentsText$inboundSchema),
2275
- z.lazy(() => ListAgentsResponseFormatAgentsJSONObject$inboundSchema),
2276
- z.lazy(() =>
2277
- ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema
2278
- ),
2279
- ]);
2280
-
2281
- export function listAgentsFallbackModelConfigurationResponseFormatFromJSON(
2282
- jsonString: string,
2283
- ): SafeParseResult<
2284
- ListAgentsFallbackModelConfigurationResponseFormat,
2285
- SDKValidationError
2286
- > {
2287
- return safeParse(
2288
- jsonString,
2289
- (x) =>
2290
- ListAgentsFallbackModelConfigurationResponseFormat$inboundSchema.parse(
2291
- JSON.parse(x),
2292
- ),
2293
- `Failed to parse 'ListAgentsFallbackModelConfigurationResponseFormat' from JSON`,
2294
- );
2295
- }
2296
-
2297
- /** @internal */
2298
- export const ListAgentsFallbackModelConfigurationReasoningEffort$inboundSchema:
2299
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationReasoningEffort> =
2300
- z.nativeEnum(ListAgentsFallbackModelConfigurationReasoningEffort);
2301
-
2302
- /** @internal */
2303
- export const ListAgentsFallbackModelConfigurationStop$inboundSchema: z.ZodType<
2304
- ListAgentsFallbackModelConfigurationStop,
2305
- z.ZodTypeDef,
2306
- unknown
2307
- > = z.union([z.string(), z.array(z.string())]);
2308
-
2309
- export function listAgentsFallbackModelConfigurationStopFromJSON(
2310
- jsonString: string,
2311
- ): SafeParseResult<
2312
- ListAgentsFallbackModelConfigurationStop,
2313
- SDKValidationError
2314
- > {
2315
- return safeParse(
2316
- jsonString,
2317
- (x) =>
2318
- ListAgentsFallbackModelConfigurationStop$inboundSchema.parse(
2319
- JSON.parse(x),
2320
- ),
2321
- `Failed to parse 'ListAgentsFallbackModelConfigurationStop' from JSON`,
2322
- );
2323
- }
2324
-
2325
- /** @internal */
2326
- export const ListAgentsFallbackModelConfigurationThinking$inboundSchema:
2327
- z.ZodType<
2328
- ListAgentsFallbackModelConfigurationThinking,
2329
- z.ZodTypeDef,
2330
- unknown
2331
- > = z.union([
2332
- components.ThinkingConfigDisabledSchema$inboundSchema,
2333
- components.ThinkingConfigEnabledSchema$inboundSchema,
2334
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
2335
- ]);
2336
-
2337
- export function listAgentsFallbackModelConfigurationThinkingFromJSON(
2338
- jsonString: string,
2339
- ): SafeParseResult<
2340
- ListAgentsFallbackModelConfigurationThinking,
2341
- SDKValidationError
2342
- > {
2343
- return safeParse(
2344
- jsonString,
2345
- (x) =>
2346
- ListAgentsFallbackModelConfigurationThinking$inboundSchema.parse(
2347
- JSON.parse(x),
2348
- ),
2349
- `Failed to parse 'ListAgentsFallbackModelConfigurationThinking' from JSON`,
2350
- );
2351
- }
2352
-
2353
- /** @internal */
2354
- export const ListAgentsToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<
2355
- typeof ListAgentsToolChoiceAgentsType
2356
- > = z.nativeEnum(ListAgentsToolChoiceAgentsType);
2357
-
2358
- /** @internal */
2359
- export const ListAgentsToolChoiceAgentsFunction$inboundSchema: z.ZodType<
2360
- ListAgentsToolChoiceAgentsFunction,
2361
- z.ZodTypeDef,
2362
- unknown
2363
- > = z.object({
2364
- name: z.string(),
2365
- });
2366
-
2367
- export function listAgentsToolChoiceAgentsFunctionFromJSON(
2368
- jsonString: string,
2369
- ): SafeParseResult<ListAgentsToolChoiceAgentsFunction, SDKValidationError> {
2370
- return safeParse(
2371
- jsonString,
2372
- (x) =>
2373
- ListAgentsToolChoiceAgentsFunction$inboundSchema.parse(JSON.parse(x)),
2374
- `Failed to parse 'ListAgentsToolChoiceAgentsFunction' from JSON`,
2375
- );
2376
- }
2377
-
2378
- /** @internal */
2379
- export const ListAgentsToolChoiceAgents2$inboundSchema: z.ZodType<
2380
- ListAgentsToolChoiceAgents2,
2381
- z.ZodTypeDef,
2382
- unknown
2383
- > = z.object({
2384
- type: ListAgentsToolChoiceAgentsType$inboundSchema.optional(),
2385
- function: z.lazy(() => ListAgentsToolChoiceAgentsFunction$inboundSchema),
2386
- });
2387
-
2388
- export function listAgentsToolChoiceAgents2FromJSON(
2389
- jsonString: string,
2390
- ): SafeParseResult<ListAgentsToolChoiceAgents2, SDKValidationError> {
2391
- return safeParse(
2392
- jsonString,
2393
- (x) => ListAgentsToolChoiceAgents2$inboundSchema.parse(JSON.parse(x)),
2394
- `Failed to parse 'ListAgentsToolChoiceAgents2' from JSON`,
2395
- );
2396
- }
2397
-
2398
- /** @internal */
2399
- export const ListAgentsToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<
2400
- typeof ListAgentsToolChoiceAgents1
2401
- > = z.nativeEnum(ListAgentsToolChoiceAgents1);
2402
-
2403
- /** @internal */
2404
- export const ListAgentsFallbackModelConfigurationToolChoice$inboundSchema:
2405
- z.ZodType<
2406
- ListAgentsFallbackModelConfigurationToolChoice,
2407
- z.ZodTypeDef,
2408
- unknown
2409
- > = z.union([
2410
- z.lazy(() => ListAgentsToolChoiceAgents2$inboundSchema),
2411
- ListAgentsToolChoiceAgents1$inboundSchema,
2412
- ]);
2413
-
2414
- export function listAgentsFallbackModelConfigurationToolChoiceFromJSON(
2415
- jsonString: string,
2416
- ): SafeParseResult<
2417
- ListAgentsFallbackModelConfigurationToolChoice,
2418
- SDKValidationError
2419
- > {
2420
- return safeParse(
2421
- jsonString,
2422
- (x) =>
2423
- ListAgentsFallbackModelConfigurationToolChoice$inboundSchema.parse(
2424
- JSON.parse(x),
2425
- ),
2426
- `Failed to parse 'ListAgentsFallbackModelConfigurationToolChoice' from JSON`,
2427
- );
2428
- }
2429
-
2430
- /** @internal */
2431
- export const ListAgentsFallbackModelConfigurationModalities$inboundSchema:
2432
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationModalities> = z
2433
- .nativeEnum(ListAgentsFallbackModelConfigurationModalities);
2434
-
2435
- /** @internal */
2436
- export const ListAgentsIdAgents1$inboundSchema: z.ZodNativeEnum<
2437
- typeof ListAgentsIdAgents1
2438
- > = z.nativeEnum(ListAgentsIdAgents1);
2439
-
2440
- /** @internal */
2441
- export const ListAgentsFallbackModelConfigurationId$inboundSchema: z.ZodType<
2442
- ListAgentsFallbackModelConfigurationId,
2443
- z.ZodTypeDef,
2444
- unknown
2445
- > = z.union([ListAgentsIdAgents1$inboundSchema, z.string()]);
2446
-
2447
- export function listAgentsFallbackModelConfigurationIdFromJSON(
2448
- jsonString: string,
2449
- ): SafeParseResult<ListAgentsFallbackModelConfigurationId, SDKValidationError> {
2450
- return safeParse(
2451
- jsonString,
2452
- (x) =>
2453
- ListAgentsFallbackModelConfigurationId$inboundSchema.parse(JSON.parse(x)),
2454
- `Failed to parse 'ListAgentsFallbackModelConfigurationId' from JSON`,
2455
- );
2456
- }
2457
-
2458
- /** @internal */
2459
- export const ListAgentsFallbackModelConfigurationExecuteOn$inboundSchema:
2460
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationExecuteOn> = z
2461
- .nativeEnum(ListAgentsFallbackModelConfigurationExecuteOn);
2462
-
2463
- /** @internal */
2464
- export const ListAgentsFallbackModelConfigurationGuardrails$inboundSchema:
2465
- z.ZodType<
2466
- ListAgentsFallbackModelConfigurationGuardrails,
2467
- z.ZodTypeDef,
2468
- unknown
2469
- > = z.object({
2470
- id: z.union([ListAgentsIdAgents1$inboundSchema, z.string()]),
2471
- execute_on: ListAgentsFallbackModelConfigurationExecuteOn$inboundSchema,
2472
- }).transform((v) => {
2473
- return remap$(v, {
2474
- "execute_on": "executeOn",
2475
- });
2476
- });
2477
-
2478
- export function listAgentsFallbackModelConfigurationGuardrailsFromJSON(
2479
- jsonString: string,
2480
- ): SafeParseResult<
2481
- ListAgentsFallbackModelConfigurationGuardrails,
2482
- SDKValidationError
2483
- > {
2484
- return safeParse(
2485
- jsonString,
2486
- (x) =>
2487
- ListAgentsFallbackModelConfigurationGuardrails$inboundSchema.parse(
2488
- JSON.parse(x),
2489
- ),
2490
- `Failed to parse 'ListAgentsFallbackModelConfigurationGuardrails' from JSON`,
2491
- );
2492
- }
2493
-
2494
- /** @internal */
2495
- export const ListAgentsFallbackModelConfigurationPlugins$inboundSchema:
2496
- z.ZodType<
2497
- ListAgentsFallbackModelConfigurationPlugins,
2498
- z.ZodTypeDef,
2499
- unknown
2500
- > = z.union([
2501
- components.PIIRedactionPluginEn$inboundSchema,
2502
- components.PIIRedactionPluginNl$inboundSchema,
2503
- components.PIIRedactionPluginAuto$inboundSchema,
2504
- ]);
2505
-
2506
- export function listAgentsFallbackModelConfigurationPluginsFromJSON(
2507
- jsonString: string,
2508
- ): SafeParseResult<
2509
- ListAgentsFallbackModelConfigurationPlugins,
2510
- SDKValidationError
2511
- > {
2512
- return safeParse(
2513
- jsonString,
2514
- (x) =>
2515
- ListAgentsFallbackModelConfigurationPlugins$inboundSchema.parse(
2516
- JSON.parse(x),
2517
- ),
2518
- `Failed to parse 'ListAgentsFallbackModelConfigurationPlugins' from JSON`,
2519
- );
2520
- }
2521
-
2522
- /** @internal */
2523
- export const ListAgentsFallbackModelConfigurationFallbacks$inboundSchema:
2524
- z.ZodType<
2525
- ListAgentsFallbackModelConfigurationFallbacks,
2526
- z.ZodTypeDef,
2527
- unknown
2528
- > = z.object({
2529
- model: z.string(),
2530
- });
2531
-
2532
- export function listAgentsFallbackModelConfigurationFallbacksFromJSON(
2533
- jsonString: string,
2534
- ): SafeParseResult<
2535
- ListAgentsFallbackModelConfigurationFallbacks,
2536
- SDKValidationError
2537
- > {
2538
- return safeParse(
2539
- jsonString,
2540
- (x) =>
2541
- ListAgentsFallbackModelConfigurationFallbacks$inboundSchema.parse(
2542
- JSON.parse(x),
2543
- ),
2544
- `Failed to parse 'ListAgentsFallbackModelConfigurationFallbacks' from JSON`,
2545
- );
2546
- }
2547
-
2548
- /** @internal */
2549
- export const ListAgentsFallbackModelConfigurationType$inboundSchema:
2550
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationType> = z
2551
- .nativeEnum(ListAgentsFallbackModelConfigurationType);
2552
-
2553
- /** @internal */
2554
- export const ListAgentsFallbackModelConfigurationCache$inboundSchema: z.ZodType<
2555
- ListAgentsFallbackModelConfigurationCache,
2556
- z.ZodTypeDef,
2557
- unknown
2558
- > = z.object({
2559
- ttl: z.number().default(1800),
2560
- type: ListAgentsFallbackModelConfigurationType$inboundSchema,
2561
- });
2562
-
2563
- export function listAgentsFallbackModelConfigurationCacheFromJSON(
2564
- jsonString: string,
2565
- ): SafeParseResult<
2566
- ListAgentsFallbackModelConfigurationCache,
2567
- SDKValidationError
2568
- > {
2569
- return safeParse(
2570
- jsonString,
2571
- (x) =>
2572
- ListAgentsFallbackModelConfigurationCache$inboundSchema.parse(
2573
- JSON.parse(x),
2574
- ),
2575
- `Failed to parse 'ListAgentsFallbackModelConfigurationCache' from JSON`,
2576
- );
2577
- }
2578
-
2579
- /** @internal */
2580
- export const ListAgentsLoadBalancerAgentsType$inboundSchema: z.ZodNativeEnum<
2581
- typeof ListAgentsLoadBalancerAgentsType
2582
- > = z.nativeEnum(ListAgentsLoadBalancerAgentsType);
2583
-
2584
- /** @internal */
2585
- export const ListAgentsLoadBalancerAgentsModels$inboundSchema: z.ZodType<
2586
- ListAgentsLoadBalancerAgentsModels,
2587
- z.ZodTypeDef,
2588
- unknown
2589
- > = z.object({
2590
- model: z.string(),
2591
- weight: z.number().default(0.5),
2592
- });
2593
-
2594
- export function listAgentsLoadBalancerAgentsModelsFromJSON(
2595
- jsonString: string,
2596
- ): SafeParseResult<ListAgentsLoadBalancerAgentsModels, SDKValidationError> {
2597
- return safeParse(
2598
- jsonString,
2599
- (x) =>
2600
- ListAgentsLoadBalancerAgentsModels$inboundSchema.parse(JSON.parse(x)),
2601
- `Failed to parse 'ListAgentsLoadBalancerAgentsModels' from JSON`,
2602
- );
2603
- }
2604
-
2605
- /** @internal */
2606
- export const ListAgentsLoadBalancerAgents1$inboundSchema: z.ZodType<
2607
- ListAgentsLoadBalancerAgents1,
2608
- z.ZodTypeDef,
2609
- unknown
2610
- > = z.object({
2611
- type: ListAgentsLoadBalancerAgentsType$inboundSchema,
2612
- models: z.array(
2613
- z.lazy(() => ListAgentsLoadBalancerAgentsModels$inboundSchema),
2614
- ),
2615
- });
2616
-
2617
- export function listAgentsLoadBalancerAgents1FromJSON(
2618
- jsonString: string,
2619
- ): SafeParseResult<ListAgentsLoadBalancerAgents1, SDKValidationError> {
2620
- return safeParse(
2621
- jsonString,
2622
- (x) => ListAgentsLoadBalancerAgents1$inboundSchema.parse(JSON.parse(x)),
2623
- `Failed to parse 'ListAgentsLoadBalancerAgents1' from JSON`,
2624
- );
2625
- }
2626
-
2627
- /** @internal */
2628
- export const ListAgentsFallbackModelConfigurationLoadBalancer$inboundSchema:
2629
- z.ZodType<
2630
- ListAgentsFallbackModelConfigurationLoadBalancer,
2631
- z.ZodTypeDef,
2632
- unknown
2633
- > = z.lazy(() => ListAgentsLoadBalancerAgents1$inboundSchema);
2634
-
2635
- export function listAgentsFallbackModelConfigurationLoadBalancerFromJSON(
2636
- jsonString: string,
2637
- ): SafeParseResult<
2638
- ListAgentsFallbackModelConfigurationLoadBalancer,
2639
- SDKValidationError
2640
- > {
2641
- return safeParse(
2642
- jsonString,
2643
- (x) =>
2644
- ListAgentsFallbackModelConfigurationLoadBalancer$inboundSchema.parse(
2645
- JSON.parse(x),
2646
- ),
2647
- `Failed to parse 'ListAgentsFallbackModelConfigurationLoadBalancer' from JSON`,
2648
- );
2649
- }
2650
-
2651
- /** @internal */
2652
- export const ListAgentsFallbackModelConfigurationTimeout$inboundSchema:
2653
- z.ZodType<
2654
- ListAgentsFallbackModelConfigurationTimeout,
2655
- z.ZodTypeDef,
2656
- unknown
2657
- > = z.object({
2658
- call_timeout: z.number(),
2659
- }).transform((v) => {
2660
- return remap$(v, {
2661
- "call_timeout": "callTimeout",
2662
- });
2663
- });
2664
-
2665
- export function listAgentsFallbackModelConfigurationTimeoutFromJSON(
2666
- jsonString: string,
2667
- ): SafeParseResult<
2668
- ListAgentsFallbackModelConfigurationTimeout,
2669
- SDKValidationError
2670
- > {
2671
- return safeParse(
2672
- jsonString,
2673
- (x) =>
2674
- ListAgentsFallbackModelConfigurationTimeout$inboundSchema.parse(
2675
- JSON.parse(x),
2676
- ),
2677
- `Failed to parse 'ListAgentsFallbackModelConfigurationTimeout' from JSON`,
2678
- );
2679
- }
2680
-
2681
- /** @internal */
2682
- export const ListAgentsFallbackModelConfigurationAgentsType$inboundSchema:
2683
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationAgentsType> = z
2684
- .nativeEnum(ListAgentsFallbackModelConfigurationAgentsType);
2685
-
2686
- /** @internal */
2687
- export const ListAgentsFallbackModelConfigurationTtl$inboundSchema:
2688
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationTtl> = z
2689
- .nativeEnum(ListAgentsFallbackModelConfigurationTtl);
2690
-
2691
- /** @internal */
2692
- export const ListAgentsFallbackModelConfigurationCacheControl$inboundSchema:
2693
- z.ZodType<
2694
- ListAgentsFallbackModelConfigurationCacheControl,
2695
- z.ZodTypeDef,
2696
- unknown
2697
- > = z.object({
2698
- type: ListAgentsFallbackModelConfigurationAgentsType$inboundSchema,
2699
- ttl: ListAgentsFallbackModelConfigurationTtl$inboundSchema.default("5m"),
2700
- });
2701
-
2702
- export function listAgentsFallbackModelConfigurationCacheControlFromJSON(
2703
- jsonString: string,
2704
- ): SafeParseResult<
2705
- ListAgentsFallbackModelConfigurationCacheControl,
2706
- SDKValidationError
2707
- > {
2708
- return safeParse(
2709
- jsonString,
2710
- (x) =>
2711
- ListAgentsFallbackModelConfigurationCacheControl$inboundSchema.parse(
2712
- JSON.parse(x),
2713
- ),
2714
- `Failed to parse 'ListAgentsFallbackModelConfigurationCacheControl' from JSON`,
2715
- );
2716
- }
2717
-
2718
- /** @internal */
2719
- export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
2720
- z.ZodType<
2721
- ListAgentsFallbackModelConfigurationParameters,
2722
- z.ZodTypeDef,
2723
- unknown
2724
- > = z.object({
2725
- name: z.string().optional(),
2726
- frequency_penalty: z.nullable(z.number()).optional(),
2727
- max_tokens: z.nullable(z.number().int()).optional(),
2728
- max_completion_tokens: z.nullable(z.number().int()).optional(),
2729
- presence_penalty: z.nullable(z.number()).optional(),
2730
- response_format: z.union([
2731
- z.lazy(() => ListAgentsResponseFormatAgentsText$inboundSchema),
2732
- z.lazy(() => ListAgentsResponseFormatAgentsJSONObject$inboundSchema),
2733
- z.lazy(() =>
2734
- ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema
2735
- ),
2736
- ]).optional(),
2737
- reasoning_effort:
2738
- ListAgentsFallbackModelConfigurationReasoningEffort$inboundSchema
2739
- .optional(),
2740
- verbosity: z.string().optional(),
2741
- seed: z.nullable(z.number()).optional(),
2742
- stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
2743
- thinking: z.union([
2744
- components.ThinkingConfigDisabledSchema$inboundSchema,
2745
- components.ThinkingConfigEnabledSchema$inboundSchema,
2746
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
2747
- ]).optional(),
2748
- temperature: z.nullable(z.number()).optional(),
2749
- top_p: z.nullable(z.number()).optional(),
2750
- top_k: z.nullable(z.number()).optional(),
2751
- tool_choice: z.union([
2752
- z.lazy(() => ListAgentsToolChoiceAgents2$inboundSchema),
2753
- ListAgentsToolChoiceAgents1$inboundSchema,
2754
- ]).optional(),
2755
- parallel_tool_calls: z.boolean().optional(),
2756
- modalities: z.nullable(
2757
- z.array(ListAgentsFallbackModelConfigurationModalities$inboundSchema),
2758
- ).optional(),
2759
- guardrails: z.array(
2760
- z.lazy(() =>
2761
- ListAgentsFallbackModelConfigurationGuardrails$inboundSchema
2762
- ),
2763
- ).optional(),
2764
- plugins: z.array(
2765
- z.union([
2766
- components.PIIRedactionPluginEn$inboundSchema,
2767
- components.PIIRedactionPluginNl$inboundSchema,
2768
- components.PIIRedactionPluginAuto$inboundSchema,
2769
- ]),
2770
- ).optional(),
2771
- fallbacks: z.array(
2772
- z.lazy(() => ListAgentsFallbackModelConfigurationFallbacks$inboundSchema),
2773
- ).optional(),
2774
- cache: z.lazy(() => ListAgentsFallbackModelConfigurationCache$inboundSchema)
2775
- .optional(),
2776
- load_balancer: z.lazy(() => ListAgentsLoadBalancerAgents1$inboundSchema)
2777
- .optional(),
2778
- timeout: z.lazy(() =>
2779
- ListAgentsFallbackModelConfigurationTimeout$inboundSchema
2780
- ).optional(),
2781
- cache_control: z.lazy(() =>
2782
- ListAgentsFallbackModelConfigurationCacheControl$inboundSchema
2783
- ).optional(),
2784
- prompt_cache_key: z.string().optional(),
2785
- }).transform((v) => {
2786
- return remap$(v, {
2787
- "frequency_penalty": "frequencyPenalty",
2788
- "max_tokens": "maxTokens",
2789
- "max_completion_tokens": "maxCompletionTokens",
2790
- "presence_penalty": "presencePenalty",
2791
- "response_format": "responseFormat",
2792
- "reasoning_effort": "reasoningEffort",
2793
- "top_p": "topP",
2794
- "top_k": "topK",
2795
- "tool_choice": "toolChoice",
2796
- "parallel_tool_calls": "parallelToolCalls",
2797
- "load_balancer": "loadBalancer",
2798
- "cache_control": "cacheControl",
2799
- "prompt_cache_key": "promptCacheKey",
2800
- });
2801
- });
2802
-
2803
- export function listAgentsFallbackModelConfigurationParametersFromJSON(
2804
- jsonString: string,
2805
- ): SafeParseResult<
2806
- ListAgentsFallbackModelConfigurationParameters,
2807
- SDKValidationError
2808
- > {
2809
- return safeParse(
2810
- jsonString,
2811
- (x) =>
2812
- ListAgentsFallbackModelConfigurationParameters$inboundSchema.parse(
2813
- JSON.parse(x),
2814
- ),
2815
- `Failed to parse 'ListAgentsFallbackModelConfigurationParameters' from JSON`,
2816
- );
2817
- }
2818
-
2819
- /** @internal */
2820
- export const ListAgentsFallbackModelConfigurationRetry$inboundSchema: z.ZodType<
2821
- ListAgentsFallbackModelConfigurationRetry,
2822
- z.ZodTypeDef,
2823
- unknown
2824
- > = z.object({
2825
- count: z.number().default(3),
2826
- on_codes: z.array(z.number()).optional(),
2827
- }).transform((v) => {
2828
- return remap$(v, {
2829
- "on_codes": "onCodes",
2830
- });
2831
- });
2832
-
2833
- export function listAgentsFallbackModelConfigurationRetryFromJSON(
2834
- jsonString: string,
2835
- ): SafeParseResult<
2836
- ListAgentsFallbackModelConfigurationRetry,
2837
- SDKValidationError
2838
- > {
2839
- return safeParse(
2840
- jsonString,
2841
- (x) =>
2842
- ListAgentsFallbackModelConfigurationRetry$inboundSchema.parse(
2843
- JSON.parse(x),
2844
- ),
2845
- `Failed to parse 'ListAgentsFallbackModelConfigurationRetry' from JSON`,
2846
- );
2847
- }
2848
-
2849
- /** @internal */
2850
- export const ListAgentsFallbackModelConfiguration2$inboundSchema: z.ZodType<
2851
- ListAgentsFallbackModelConfiguration2,
2852
- z.ZodTypeDef,
2853
- unknown
2854
- > = z.object({
2855
- id: z.string(),
2856
- parameters: z.lazy(() =>
2857
- ListAgentsFallbackModelConfigurationParameters$inboundSchema
2858
- ).optional(),
2859
- retry: z.lazy(() => ListAgentsFallbackModelConfigurationRetry$inboundSchema)
2860
- .optional(),
2861
- });
2862
-
2863
- export function listAgentsFallbackModelConfiguration2FromJSON(
2864
- jsonString: string,
2865
- ): SafeParseResult<ListAgentsFallbackModelConfiguration2, SDKValidationError> {
2866
- return safeParse(
2867
- jsonString,
2868
- (x) =>
2869
- ListAgentsFallbackModelConfiguration2$inboundSchema.parse(JSON.parse(x)),
2870
- `Failed to parse 'ListAgentsFallbackModelConfiguration2' from JSON`,
2871
- );
2872
- }
2873
-
2874
- /** @internal */
2875
- export const ListAgentsFallbackModelConfiguration$inboundSchema: z.ZodType<
2876
- ListAgentsFallbackModelConfiguration,
2877
- z.ZodTypeDef,
2878
- unknown
2879
- > = z.union([
2880
- z.lazy(() => ListAgentsFallbackModelConfiguration2$inboundSchema),
2881
- z.string(),
2882
- ]);
2883
-
2884
- export function listAgentsFallbackModelConfigurationFromJSON(
2885
- jsonString: string,
2886
- ): SafeParseResult<ListAgentsFallbackModelConfiguration, SDKValidationError> {
2887
- return safeParse(
2888
- jsonString,
2889
- (x) =>
2890
- ListAgentsFallbackModelConfiguration$inboundSchema.parse(JSON.parse(x)),
2891
- `Failed to parse 'ListAgentsFallbackModelConfiguration' from JSON`,
2892
- );
2893
- }
2894
-
2895
- /** @internal */
2896
- export const ListAgentsModel$inboundSchema: z.ZodType<
2897
- ListAgentsModel,
2898
- z.ZodTypeDef,
2899
- unknown
2900
- > = z.object({
2901
- id: z.string(),
2902
- integration_id: z.nullable(z.string()).optional(),
2903
- parameters: z.lazy(() => ListAgentsParameters$inboundSchema).optional(),
2904
- retry: z.lazy(() => ListAgentsRetry$inboundSchema).optional(),
2905
- fallback_models: z.nullable(
2906
- z.array(z.union([
2907
- z.lazy(() => ListAgentsFallbackModelConfiguration2$inboundSchema),
2908
- z.string(),
2909
- ])),
2910
- ).optional(),
2911
- }).transform((v) => {
2912
- return remap$(v, {
2913
- "integration_id": "integrationId",
2914
- "fallback_models": "fallbackModels",
2915
- });
2916
- });
2917
-
2918
- export function listAgentsModelFromJSON(
2919
- jsonString: string,
2920
- ): SafeParseResult<ListAgentsModel, SDKValidationError> {
2921
- return safeParse(
2922
- jsonString,
2923
- (x) => ListAgentsModel$inboundSchema.parse(JSON.parse(x)),
2924
- `Failed to parse 'ListAgentsModel' from JSON`,
2925
- );
2926
- }
2927
-
2928
- /** @internal */
2929
- export const ListAgentsData$inboundSchema: z.ZodType<
2930
- ListAgentsData,
2931
- z.ZodTypeDef,
2932
- unknown
2933
- > = z.object({
2934
- _id: z.string(),
2935
- key: z.string(),
2936
- display_name: z.string().optional(),
2937
- created_by_id: z.nullable(z.string()).optional(),
2938
- updated_by_id: z.nullable(z.string()).optional(),
2939
- created: z.string().optional(),
2940
- updated: z.string().optional(),
2941
- status: ListAgentsStatus$inboundSchema,
2942
- version: z.string().optional(),
2943
- path: z.string(),
2944
- memory_stores: z.array(z.string()).optional(),
2945
- team_of_agents: z.array(z.lazy(() => ListAgentsTeamOfAgents$inboundSchema))
2946
- .optional(),
2947
- skills: z.array(z.string()),
2948
- metrics: z.lazy(() => ListAgentsMetrics$inboundSchema).optional(),
2949
- variables: z.record(z.any()).optional(),
2950
- knowledge_bases: z.array(z.lazy(() => ListAgentsKnowledgeBases$inboundSchema))
2951
- .optional(),
2952
- source: ListAgentsSource$inboundSchema.optional(),
2953
- engine: ListAgentsEngine$inboundSchema.default("text"),
2954
- type: ListAgentsType$inboundSchema.default("internal"),
2955
- role: z.string(),
2956
- description: z.string(),
2957
- system_prompt: z.nullable(z.string()).optional(),
2958
- instructions: z.string(),
2959
- settings: z.lazy(() => ListAgentsSettings$inboundSchema).optional(),
2960
- model: z.lazy(() => ListAgentsModel$inboundSchema),
2961
- }).transform((v) => {
2962
- return remap$(v, {
2963
- "_id": "id",
2964
- "display_name": "displayName",
2965
- "created_by_id": "createdById",
2966
- "updated_by_id": "updatedById",
2967
- "memory_stores": "memoryStores",
2968
- "team_of_agents": "teamOfAgents",
2969
- "knowledge_bases": "knowledgeBases",
2970
- "system_prompt": "systemPrompt",
2971
- });
2972
- });
2973
-
2974
- export function listAgentsDataFromJSON(
2975
- jsonString: string,
2976
- ): SafeParseResult<ListAgentsData, SDKValidationError> {
2977
- return safeParse(
2978
- jsonString,
2979
- (x) => ListAgentsData$inboundSchema.parse(JSON.parse(x)),
2980
- `Failed to parse 'ListAgentsData' from JSON`,
2981
- );
2982
- }
2983
-
2984
- /** @internal */
2985
- export const ListAgentsResponseBody$inboundSchema: z.ZodType<
2986
- ListAgentsResponseBody,
2987
- z.ZodTypeDef,
2988
- unknown
2989
- > = z.object({
2990
- object: ListAgentsObject$inboundSchema,
2991
- data: z.array(z.lazy(() => ListAgentsData$inboundSchema)),
2992
- has_more: z.boolean(),
2993
- }).transform((v) => {
2994
- return remap$(v, {
2995
- "has_more": "hasMore",
2996
- });
2997
- });
2998
-
2999
- export function listAgentsResponseBodyFromJSON(
3000
- jsonString: string,
3001
- ): SafeParseResult<ListAgentsResponseBody, SDKValidationError> {
3002
- return safeParse(
3003
- jsonString,
3004
- (x) => ListAgentsResponseBody$inboundSchema.parse(JSON.parse(x)),
3005
- `Failed to parse 'ListAgentsResponseBody' from JSON`,
3006
- );
3007
- }