@orq-ai/node 4.11.0-rc.8 → 4.11.0

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 (1715) hide show
  1. package/README.md +70 -40
  2. package/funcs/agentsInvoke.d.ts +1 -1
  3. package/funcs/agentsInvoke.d.ts.map +1 -1
  4. package/funcs/agentsInvoke.js.map +1 -1
  5. package/funcs/agentsResponsesCreate.d.ts +2 -1
  6. package/funcs/agentsResponsesCreate.d.ts.map +1 -1
  7. package/funcs/agentsResponsesCreate.js +7 -5
  8. package/funcs/agentsResponsesCreate.js.map +1 -1
  9. package/funcs/agentsStream.d.ts +1 -1
  10. package/funcs/agentsStream.d.ts.map +1 -1
  11. package/funcs/agentsStream.js.map +1 -1
  12. package/funcs/annotationsCreate.d.ts +1 -1
  13. package/funcs/annotationsCreate.js +1 -1
  14. package/funcs/annotationsDelete.d.ts +1 -1
  15. package/funcs/annotationsDelete.js +1 -1
  16. package/funcs/apiKeysGet.js +4 -0
  17. package/funcs/apiKeysGet.js.map +1 -1
  18. package/funcs/apiKeysList.js +1 -0
  19. package/funcs/apiKeysList.js.map +1 -1
  20. package/funcs/{modelsImportLitellm.d.ts → budgetsCheck.d.ts} +4 -4
  21. package/funcs/budgetsCheck.d.ts.map +1 -0
  22. package/funcs/{modelsImportLitellm.js → budgetsCheck.js} +10 -13
  23. package/funcs/budgetsCheck.js.map +1 -0
  24. package/funcs/budgetsCreate.d.ts +17 -0
  25. package/funcs/budgetsCreate.d.ts.map +1 -0
  26. package/funcs/budgetsCreate.js +115 -0
  27. package/funcs/budgetsCreate.js.map +1 -0
  28. package/funcs/budgetsDelete.d.ts +18 -0
  29. package/funcs/budgetsDelete.d.ts.map +1 -0
  30. package/funcs/budgetsDelete.js +121 -0
  31. package/funcs/budgetsDelete.js.map +1 -0
  32. package/funcs/budgetsGet.d.ts +18 -0
  33. package/funcs/budgetsGet.d.ts.map +1 -0
  34. package/funcs/budgetsGet.js +121 -0
  35. package/funcs/budgetsGet.js.map +1 -0
  36. package/funcs/budgetsGetConsumption.d.ts +18 -0
  37. package/funcs/budgetsGetConsumption.d.ts.map +1 -0
  38. package/funcs/budgetsGetConsumption.js +121 -0
  39. package/funcs/budgetsGetConsumption.js.map +1 -0
  40. package/funcs/budgetsList.d.ts +18 -0
  41. package/funcs/budgetsList.d.ts.map +1 -0
  42. package/funcs/budgetsList.js +127 -0
  43. package/funcs/budgetsList.js.map +1 -0
  44. package/funcs/budgetsResetConsumption.d.ts +18 -0
  45. package/funcs/budgetsResetConsumption.d.ts.map +1 -0
  46. package/funcs/budgetsResetConsumption.js +124 -0
  47. package/funcs/budgetsResetConsumption.js.map +1 -0
  48. package/funcs/budgetsUpdate.d.ts +18 -0
  49. package/funcs/budgetsUpdate.d.ts.map +1 -0
  50. package/funcs/budgetsUpdate.js +124 -0
  51. package/funcs/budgetsUpdate.js.map +1 -0
  52. package/funcs/datasetsList.js +2 -0
  53. package/funcs/datasetsList.js.map +1 -1
  54. package/funcs/datasetsListDatapoints.d.ts +2 -1
  55. package/funcs/datasetsListDatapoints.d.ts.map +1 -1
  56. package/funcs/datasetsListDatapoints.js +5 -1
  57. package/funcs/datasetsListDatapoints.js.map +1 -1
  58. package/funcs/deploymentsInvoke.d.ts +2 -1
  59. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  60. package/funcs/deploymentsInvoke.js +2 -1
  61. package/funcs/deploymentsInvoke.js.map +1 -1
  62. package/funcs/evalsAll.js +1 -0
  63. package/funcs/evalsAll.js.map +1 -1
  64. package/funcs/identitiesList.js +1 -0
  65. package/funcs/identitiesList.js.map +1 -1
  66. package/funcs/identitiesRetrieve.js +1 -0
  67. package/funcs/identitiesRetrieve.js.map +1 -1
  68. package/funcs/knowledgeList.js +4 -0
  69. package/funcs/knowledgeList.js.map +1 -1
  70. package/funcs/managementKeysCreate.d.ts +17 -0
  71. package/funcs/managementKeysCreate.d.ts.map +1 -0
  72. package/funcs/managementKeysCreate.js +115 -0
  73. package/funcs/managementKeysCreate.js.map +1 -0
  74. package/funcs/managementKeysDelete.d.ts +18 -0
  75. package/funcs/managementKeysDelete.d.ts.map +1 -0
  76. package/funcs/managementKeysDelete.js +118 -0
  77. package/funcs/managementKeysDelete.js.map +1 -0
  78. package/funcs/managementKeysGet.d.ts +18 -0
  79. package/funcs/managementKeysGet.d.ts.map +1 -0
  80. package/funcs/managementKeysGet.js +118 -0
  81. package/funcs/managementKeysGet.js.map +1 -0
  82. package/funcs/managementKeysList.d.ts +18 -0
  83. package/funcs/managementKeysList.d.ts.map +1 -0
  84. package/funcs/managementKeysList.js +124 -0
  85. package/funcs/managementKeysList.js.map +1 -0
  86. package/funcs/managementKeysListCapabilities.d.ts +17 -0
  87. package/funcs/managementKeysListCapabilities.d.ts.map +1 -0
  88. package/funcs/{modelsListLitellm.js → managementKeysListCapabilities.js} +9 -9
  89. package/funcs/managementKeysListCapabilities.js.map +1 -0
  90. package/funcs/managementKeysUpdate.d.ts +18 -0
  91. package/funcs/managementKeysUpdate.d.ts.map +1 -0
  92. package/funcs/managementKeysUpdate.js +121 -0
  93. package/funcs/managementKeysUpdate.js.map +1 -0
  94. package/funcs/memoryStoresList.js +3 -0
  95. package/funcs/memoryStoresList.js.map +1 -1
  96. package/funcs/promptsCreate.d.ts +1 -1
  97. package/funcs/promptsCreate.d.ts.map +1 -1
  98. package/funcs/promptsCreate.js +2 -1
  99. package/funcs/promptsCreate.js.map +1 -1
  100. package/jsr.json +1 -1
  101. package/lib/config.d.ts +3 -3
  102. package/lib/config.js +3 -3
  103. package/lib/config.js.map +1 -1
  104. package/lib/encodings.js +12 -12
  105. package/lib/encodings.js.map +1 -1
  106. package/lib/env.d.ts.map +1 -1
  107. package/lib/env.js +3 -3
  108. package/lib/env.js.map +1 -1
  109. package/lib/event-streams.d.ts +7 -2
  110. package/lib/event-streams.d.ts.map +1 -1
  111. package/lib/event-streams.js +30 -14
  112. package/lib/event-streams.js.map +1 -1
  113. package/lib/matchers.js +3 -3
  114. package/lib/matchers.js.map +1 -1
  115. package/lib/primitives.d.ts +1 -0
  116. package/lib/primitives.d.ts.map +1 -1
  117. package/lib/primitives.js +18 -0
  118. package/lib/primitives.js.map +1 -1
  119. package/lib/retries.js +7 -0
  120. package/lib/retries.js.map +1 -1
  121. package/lib/sdks.d.ts.map +1 -1
  122. package/lib/sdks.js +37 -12
  123. package/lib/sdks.js.map +1 -1
  124. package/models/components/agentresponserequest.d.ts +336 -0
  125. package/models/components/agentresponserequest.d.ts.map +1 -0
  126. package/models/components/agentresponserequest.js +210 -0
  127. package/models/components/agentresponserequest.js.map +1 -0
  128. package/models/components/agentthoughtstreamingevent.d.ts +12 -12
  129. package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
  130. package/models/components/agentthoughtstreamingevent.js +17 -17
  131. package/models/components/agentthoughtstreamingevent.js.map +1 -1
  132. package/models/components/apikey.d.ts +79 -0
  133. package/models/components/apikey.d.ts.map +1 -1
  134. package/models/components/apikey.js +36 -1
  135. package/models/components/apikey.js.map +1 -1
  136. package/models/components/apikeybudgetscope.d.ts +23 -0
  137. package/models/components/apikeybudgetscope.d.ts.map +1 -0
  138. package/models/components/apikeybudgetscope.js +67 -0
  139. package/models/components/apikeybudgetscope.js.map +1 -0
  140. package/models/components/autorouterconfig.d.ts +3 -0
  141. package/models/components/autorouterconfig.d.ts.map +1 -1
  142. package/models/components/autorouterconfig.js +3 -0
  143. package/models/components/autorouterconfig.js.map +1 -1
  144. package/models/components/autorouterv2config.d.ts +30 -0
  145. package/models/components/autorouterv2config.d.ts.map +1 -0
  146. package/models/components/autorouterv2config.js +84 -0
  147. package/models/components/autorouterv2config.js.map +1 -0
  148. package/models/components/autorouterv2effortconfig.d.ts +19 -0
  149. package/models/components/autorouterv2effortconfig.d.ts.map +1 -0
  150. package/models/components/autorouterv2effortconfig.js +71 -0
  151. package/models/components/autorouterv2effortconfig.js.map +1 -0
  152. package/models/components/azurefoundrydeployment.d.ts +3 -0
  153. package/models/components/azurefoundrydeployment.d.ts.map +1 -1
  154. package/models/components/azurefoundrydeployment.js +4 -0
  155. package/models/components/azurefoundrydeployment.js.map +1 -1
  156. package/models/components/budget.d.ts +71 -0
  157. package/models/components/budget.d.ts.map +1 -0
  158. package/models/components/budget.js +75 -0
  159. package/models/components/budget.js.map +1 -0
  160. package/models/components/budgetlimits.d.ts +37 -0
  161. package/models/components/budgetlimits.d.ts.map +1 -0
  162. package/models/components/budgetlimits.js +72 -0
  163. package/models/components/budgetlimits.js.map +1 -0
  164. package/models/components/budgetmatch.d.ts +26 -0
  165. package/models/components/budgetmatch.d.ts.map +1 -0
  166. package/models/components/budgetmatch.js +58 -0
  167. package/models/components/budgetmatch.js.map +1 -0
  168. package/models/components/budgetperiod.d.ts +16 -0
  169. package/models/components/budgetperiod.d.ts.map +1 -0
  170. package/models/components/budgetperiod.js +53 -0
  171. package/models/components/budgetperiod.js.map +1 -0
  172. package/models/components/budgetrejection.d.ts +17 -0
  173. package/models/components/budgetrejection.d.ts.map +1 -0
  174. package/models/components/budgetrejection.js +60 -0
  175. package/models/components/budgetrejection.js.map +1 -0
  176. package/models/components/budgetscope.d.ts +71 -0
  177. package/models/components/budgetscope.d.ts.map +1 -0
  178. package/models/components/budgetscope.js +83 -0
  179. package/models/components/budgetscope.js.map +1 -0
  180. package/models/components/budgetscopekind.d.ts +15 -0
  181. package/models/components/budgetscopekind.d.ts.map +1 -0
  182. package/models/components/budgetscopekind.js +52 -0
  183. package/models/components/budgetscopekind.js.map +1 -0
  184. package/models/components/budgetsortfield.d.ts +12 -0
  185. package/models/components/budgetsortfield.d.ts.map +1 -0
  186. package/models/components/budgetsortfield.js +49 -0
  187. package/models/components/budgetsortfield.js.map +1 -0
  188. package/models/components/budgetusage.d.ts +31 -0
  189. package/models/components/budgetusage.d.ts.map +1 -0
  190. package/models/components/budgetusage.js +52 -0
  191. package/models/components/budgetusage.js.map +1 -0
  192. package/models/components/checkbudgetsrequest.d.ts +72 -0
  193. package/models/components/checkbudgetsrequest.d.ts.map +1 -0
  194. package/models/components/checkbudgetsrequest.js +69 -0
  195. package/models/components/checkbudgetsrequest.js.map +1 -0
  196. package/models/components/checkbudgetsresponse.d.ts +34 -0
  197. package/models/components/checkbudgetsresponse.d.ts.map +1 -0
  198. package/models/components/checkbudgetsresponse.js +56 -0
  199. package/models/components/checkbudgetsresponse.js.map +1 -0
  200. package/models/components/createbudgetrequest.d.ts +62 -0
  201. package/models/components/createbudgetrequest.d.ts.map +1 -0
  202. package/models/components/createbudgetrequest.js +65 -0
  203. package/models/components/createbudgetrequest.js.map +1 -0
  204. package/models/components/createbudgetresponse.d.ts +14 -0
  205. package/models/components/createbudgetresponse.d.ts.map +1 -0
  206. package/models/components/createbudgetresponse.js +51 -0
  207. package/models/components/createbudgetresponse.js.map +1 -0
  208. package/models/components/createmanagementkeyrequest.d.ts +42 -0
  209. package/models/components/createmanagementkeyrequest.d.ts.map +1 -0
  210. package/models/components/createmanagementkeyrequest.js +59 -0
  211. package/models/components/createmanagementkeyrequest.js.map +1 -0
  212. package/models/components/createmanagementkeyresponse.d.ts +21 -0
  213. package/models/components/createmanagementkeyresponse.d.ts.map +1 -0
  214. package/models/components/createmanagementkeyresponse.js +57 -0
  215. package/models/components/createmanagementkeyresponse.js.map +1 -0
  216. package/models/components/createskillrequest.d.ts +46 -2
  217. package/models/components/createskillrequest.d.ts.map +1 -1
  218. package/models/components/createskillrequest.js +29 -2
  219. package/models/components/createskillrequest.js.map +1 -1
  220. package/models/components/deletebudgetresponse.d.ts +8 -0
  221. package/models/components/deletebudgetresponse.d.ts.map +1 -0
  222. package/models/components/deletebudgetresponse.js +48 -0
  223. package/models/components/deletebudgetresponse.js.map +1 -0
  224. package/models/components/deletemanagementkeyresponse.d.ts +8 -0
  225. package/models/components/deletemanagementkeyresponse.d.ts.map +1 -0
  226. package/models/components/deletemanagementkeyresponse.js +48 -0
  227. package/models/components/deletemanagementkeyresponse.js.map +1 -0
  228. package/models/components/dimensioninfo.d.ts +15 -0
  229. package/models/components/dimensioninfo.d.ts.map +1 -0
  230. package/models/components/{litellmparams.js → dimensioninfo.js} +11 -13
  231. package/models/components/dimensioninfo.js.map +1 -0
  232. package/models/components/domain.d.ts +5 -12
  233. package/models/components/domain.d.ts.map +1 -1
  234. package/models/components/domain.js +0 -2
  235. package/models/components/domain.js.map +1 -1
  236. package/models/components/evaluatorresponsefunction.d.ts +226 -0
  237. package/models/components/evaluatorresponsefunction.d.ts.map +1 -0
  238. package/models/components/evaluatorresponsefunction.js +420 -0
  239. package/models/components/evaluatorresponsefunction.js.map +1 -0
  240. package/models/components/evaluatorresponsehttp.d.ts +33 -0
  241. package/models/components/evaluatorresponsehttp.d.ts.map +1 -0
  242. package/models/components/evaluatorresponsehttp.js +75 -0
  243. package/models/components/evaluatorresponsehttp.js.map +1 -0
  244. package/models/components/evaluatorresponsejsonschema.d.ts +18 -0
  245. package/models/components/evaluatorresponsejsonschema.d.ts.map +1 -0
  246. package/models/components/evaluatorresponsejsonschema.js +65 -0
  247. package/models/components/evaluatorresponsejsonschema.js.map +1 -0
  248. package/models/components/evaluatorresponsellm.d.ts +97 -0
  249. package/models/components/evaluatorresponsellm.d.ts.map +1 -0
  250. package/models/components/evaluatorresponsellm.js +179 -0
  251. package/models/components/evaluatorresponsellm.js.map +1 -0
  252. package/models/components/evaluatorresponsepython.d.ts +18 -0
  253. package/models/components/evaluatorresponsepython.d.ts.map +1 -0
  254. package/models/components/evaluatorresponsepython.js +65 -0
  255. package/models/components/evaluatorresponsepython.js.map +1 -0
  256. package/models/components/evaluatorresponseragas.d.ts +37 -0
  257. package/models/components/evaluatorresponseragas.d.ts.map +1 -0
  258. package/models/components/evaluatorresponseragas.js +84 -0
  259. package/models/components/evaluatorresponseragas.js.map +1 -0
  260. package/models/components/evaluatorresponsetypescript.d.ts +18 -0
  261. package/models/components/evaluatorresponsetypescript.d.ts.map +1 -0
  262. package/models/components/evaluatorresponsetypescript.js +65 -0
  263. package/models/components/evaluatorresponsetypescript.js.map +1 -0
  264. package/models/components/getbudgetconsumptionresponse.d.ts +38 -0
  265. package/models/components/getbudgetconsumptionresponse.d.ts.map +1 -0
  266. package/models/components/getbudgetconsumptionresponse.js +63 -0
  267. package/models/components/getbudgetconsumptionresponse.js.map +1 -0
  268. package/models/components/getbudgetresponse.d.ts +14 -0
  269. package/models/components/getbudgetresponse.d.ts.map +1 -0
  270. package/models/components/getbudgetresponse.js +51 -0
  271. package/models/components/getbudgetresponse.js.map +1 -0
  272. package/models/components/getmanagementkeyresponse.d.ts +14 -0
  273. package/models/components/getmanagementkeyresponse.d.ts.map +1 -0
  274. package/models/components/{litellmmodel.js → getmanagementkeyresponse.js} +10 -14
  275. package/models/components/getmanagementkeyresponse.js.map +1 -0
  276. package/models/components/guardrailrule.d.ts +2 -0
  277. package/models/components/guardrailrule.d.ts.map +1 -1
  278. package/models/components/guardrailrule.js +2 -0
  279. package/models/components/guardrailrule.js.map +1 -1
  280. package/models/components/identity.d.ts +83 -4
  281. package/models/components/identity.d.ts.map +1 -1
  282. package/models/components/identity.js +41 -6
  283. package/models/components/identity.js.map +1 -1
  284. package/models/components/identitybudgetscope.d.ts +23 -0
  285. package/models/components/identitybudgetscope.d.ts.map +1 -0
  286. package/models/components/identitybudgetscope.js +67 -0
  287. package/models/components/identitybudgetscope.js.map +1 -0
  288. package/models/components/index.d.ts +57 -4
  289. package/models/components/index.d.ts.map +1 -1
  290. package/models/components/index.js +57 -4
  291. package/models/components/index.js.map +1 -1
  292. package/models/components/invokedeploymentrequest.d.ts +1573 -0
  293. package/models/components/invokedeploymentrequest.d.ts.map +1 -0
  294. package/models/components/invokedeploymentrequest.js +1135 -0
  295. package/models/components/invokedeploymentrequest.js.map +1 -0
  296. package/models/components/listbudgetsresponse.d.ts +25 -0
  297. package/models/components/listbudgetsresponse.d.ts.map +1 -0
  298. package/models/components/listbudgetsresponse.js +58 -0
  299. package/models/components/listbudgetsresponse.js.map +1 -0
  300. package/models/components/listmanagementcapabilitiesresponse.d.ts +14 -0
  301. package/models/components/listmanagementcapabilitiesresponse.d.ts.map +1 -0
  302. package/models/components/listmanagementcapabilitiesresponse.js +51 -0
  303. package/models/components/listmanagementcapabilitiesresponse.js.map +1 -0
  304. package/models/components/listmanagementkeysresponse.d.ts +28 -0
  305. package/models/components/listmanagementkeysresponse.d.ts.map +1 -0
  306. package/models/components/listmanagementkeysresponse.js +58 -0
  307. package/models/components/listmanagementkeysresponse.js.map +1 -0
  308. package/models/components/managementkey.d.ts +80 -0
  309. package/models/components/managementkey.d.ts.map +1 -0
  310. package/models/components/managementkey.js +77 -0
  311. package/models/components/managementkey.js.map +1 -0
  312. package/models/components/managementkeystatus.d.ts +14 -0
  313. package/models/components/managementkeystatus.d.ts.map +1 -0
  314. package/models/components/managementkeystatus.js +51 -0
  315. package/models/components/managementkeystatus.js.map +1 -0
  316. package/models/components/managementpermissionmode.d.ts +14 -0
  317. package/models/components/managementpermissionmode.d.ts.map +1 -0
  318. package/models/components/managementpermissionmode.js +51 -0
  319. package/models/components/managementpermissionmode.js.map +1 -0
  320. package/models/components/modelbudgetscope.d.ts +24 -0
  321. package/models/components/modelbudgetscope.d.ts.map +1 -0
  322. package/models/components/modelbudgetscope.js +67 -0
  323. package/models/components/modelbudgetscope.js.map +1 -0
  324. package/models/components/modelmetadata.d.ts +4 -0
  325. package/models/components/modelmetadata.d.ts.map +1 -1
  326. package/models/components/modelmetadata.js +8 -0
  327. package/models/components/modelmetadata.js.map +1 -1
  328. package/models/components/modelsconfig.d.ts +5 -5
  329. package/models/components/modelsconfig.d.ts.map +1 -1
  330. package/models/components/modelsconfig.js +6 -6
  331. package/models/components/modelsconfig.js.map +1 -1
  332. package/models/components/piiredactionplugin.d.ts +14 -0
  333. package/models/components/piiredactionplugin.d.ts.map +1 -0
  334. package/models/components/piiredactionplugin.js +59 -0
  335. package/models/components/piiredactionplugin.js.map +1 -0
  336. package/models/components/piiredactionpluginauto.d.ts +126 -0
  337. package/models/components/piiredactionpluginauto.d.ts.map +1 -0
  338. package/models/components/piiredactionpluginauto.js +156 -0
  339. package/models/components/piiredactionpluginauto.js.map +1 -0
  340. package/models/components/piiredactionpluginen.d.ts +145 -0
  341. package/models/components/piiredactionpluginen.d.ts.map +1 -0
  342. package/models/components/piiredactionpluginen.js +167 -0
  343. package/models/components/piiredactionpluginen.js.map +1 -0
  344. package/models/components/piiredactionpluginnl.d.ts +137 -0
  345. package/models/components/piiredactionpluginnl.d.ts.map +1 -0
  346. package/models/components/piiredactionpluginnl.js +158 -0
  347. package/models/components/piiredactionpluginnl.js.map +1 -0
  348. package/models/components/plugin.d.ts +11 -0
  349. package/models/components/plugin.d.ts.map +1 -0
  350. package/models/components/plugin.js +57 -0
  351. package/models/components/plugin.js.map +1 -0
  352. package/models/components/projectbudgetscope.d.ts +20 -0
  353. package/models/components/projectbudgetscope.d.ts.map +1 -0
  354. package/models/components/projectbudgetscope.js +67 -0
  355. package/models/components/projectbudgetscope.js.map +1 -0
  356. package/models/components/providerbudgetscope.d.ts +23 -0
  357. package/models/components/providerbudgetscope.d.ts.map +1 -0
  358. package/models/components/providerbudgetscope.js +58 -0
  359. package/models/components/providerbudgetscope.js.map +1 -0
  360. package/models/components/publicpiiredactionplugin.d.ts +79 -0
  361. package/models/components/publicpiiredactionplugin.d.ts.map +1 -0
  362. package/models/components/publicpiiredactionplugin.js +86 -0
  363. package/models/components/publicpiiredactionplugin.js.map +1 -0
  364. package/models/components/ratelimit.d.ts +23 -0
  365. package/models/components/ratelimit.d.ts.map +1 -0
  366. package/models/components/ratelimit.js +67 -0
  367. package/models/components/ratelimit.js.map +1 -0
  368. package/models/components/reasoningpart.js +1 -1
  369. package/models/components/resetbudgetconsumptionrequest.d.ts +8 -0
  370. package/models/components/resetbudgetconsumptionrequest.d.ts.map +1 -0
  371. package/models/components/resetbudgetconsumptionrequest.js +47 -0
  372. package/models/components/resetbudgetconsumptionrequest.js.map +1 -0
  373. package/models/components/resetbudgetconsumptionresponse.d.ts +17 -0
  374. package/models/components/resetbudgetconsumptionresponse.d.ts.map +1 -0
  375. package/models/components/resetbudgetconsumptionresponse.js +51 -0
  376. package/models/components/resetbudgetconsumptionresponse.js.map +1 -0
  377. package/models/components/textcontentpartschema.d.ts +10 -10
  378. package/models/components/textcontentpartschema.d.ts.map +1 -1
  379. package/models/components/textcontentpartschema.js +11 -11
  380. package/models/components/textcontentpartschema.js.map +1 -1
  381. package/models/components/toolexecutionstartedstreamingevent.d.ts +4 -4
  382. package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
  383. package/models/components/toolexecutionstartedstreamingevent.js +7 -7
  384. package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
  385. package/models/components/updatebudgetrequest.d.ts +50 -0
  386. package/models/components/updatebudgetrequest.d.ts.map +1 -0
  387. package/models/components/updatebudgetrequest.js +65 -0
  388. package/models/components/updatebudgetrequest.js.map +1 -0
  389. package/models/components/updatebudgetresponse.d.ts +14 -0
  390. package/models/components/updatebudgetresponse.d.ts.map +1 -0
  391. package/models/components/updatebudgetresponse.js +51 -0
  392. package/models/components/updatebudgetresponse.js.map +1 -0
  393. package/models/components/updatemanagementkeyrequest.d.ts +47 -0
  394. package/models/components/updatemanagementkeyrequest.d.ts.map +1 -0
  395. package/models/components/updatemanagementkeyrequest.js +63 -0
  396. package/models/components/updatemanagementkeyrequest.js.map +1 -0
  397. package/models/components/updatemanagementkeyresponse.d.ts +14 -0
  398. package/models/components/updatemanagementkeyresponse.d.ts.map +1 -0
  399. package/models/components/updatemanagementkeyresponse.js +56 -0
  400. package/models/components/updatemanagementkeyresponse.js.map +1 -0
  401. package/models/components/workspacebudgetscope.d.ts +16 -0
  402. package/models/components/workspacebudgetscope.d.ts.map +1 -0
  403. package/models/components/workspacebudgetscope.js +54 -0
  404. package/models/components/workspacebudgetscope.js.map +1 -0
  405. package/models/operations/apikeyget.d.ts +8 -0
  406. package/models/operations/apikeyget.d.ts.map +1 -1
  407. package/models/operations/apikeyget.js +2 -0
  408. package/models/operations/apikeyget.js.map +1 -1
  409. package/models/operations/apikeylist.d.ts +9 -0
  410. package/models/operations/apikeylist.d.ts.map +1 -1
  411. package/models/operations/apikeylist.js +2 -0
  412. package/models/operations/apikeylist.js.map +1 -1
  413. package/models/operations/budgetdelete.d.ts +15 -0
  414. package/models/operations/budgetdelete.d.ts.map +1 -0
  415. package/models/operations/budgetdelete.js +54 -0
  416. package/models/operations/budgetdelete.js.map +1 -0
  417. package/models/operations/budgetget.d.ts +15 -0
  418. package/models/operations/budgetget.d.ts.map +1 -0
  419. package/models/operations/budgetget.js +54 -0
  420. package/models/operations/budgetget.js.map +1 -0
  421. package/models/operations/budgetgetconsumption.d.ts +15 -0
  422. package/models/operations/budgetgetconsumption.d.ts.map +1 -0
  423. package/models/operations/budgetgetconsumption.js +54 -0
  424. package/models/operations/budgetgetconsumption.js.map +1 -0
  425. package/models/operations/budgetlist.d.ts +72 -0
  426. package/models/operations/budgetlist.d.ts.map +1 -0
  427. package/models/operations/budgetlist.js +68 -0
  428. package/models/operations/budgetlist.js.map +1 -0
  429. package/models/operations/budgetresetconsumption.d.ts +18 -0
  430. package/models/operations/budgetresetconsumption.d.ts.map +1 -0
  431. package/models/operations/budgetresetconsumption.js +57 -0
  432. package/models/operations/budgetresetconsumption.js.map +1 -0
  433. package/models/operations/budgetupdate.d.ts +18 -0
  434. package/models/operations/budgetupdate.d.ts.map +1 -0
  435. package/models/operations/budgetupdate.js +57 -0
  436. package/models/operations/budgetupdate.js.map +1 -0
  437. package/models/operations/createagentrequest.d.ts +38 -0
  438. package/models/operations/createagentrequest.d.ts.map +1 -1
  439. package/models/operations/createagentrequest.js +65 -5
  440. package/models/operations/createagentrequest.js.map +1 -1
  441. package/models/operations/createagentresponserequest.d.ts +2 -329
  442. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  443. package/models/operations/createagentresponserequest.js +3 -166
  444. package/models/operations/createagentresponserequest.js.map +1 -1
  445. package/models/operations/createannotation.d.ts +48 -10
  446. package/models/operations/createannotation.d.ts.map +1 -1
  447. package/models/operations/createannotation.js +37 -5
  448. package/models/operations/createannotation.js.map +1 -1
  449. package/models/operations/createchatcompletion.d.ts +15 -4
  450. package/models/operations/createchatcompletion.d.ts.map +1 -1
  451. package/models/operations/createchatcompletion.js +22 -7
  452. package/models/operations/createchatcompletion.js.map +1 -1
  453. package/models/operations/createcompletion.d.ts +11 -0
  454. package/models/operations/createcompletion.d.ts.map +1 -1
  455. package/models/operations/createcompletion.js +18 -3
  456. package/models/operations/createcompletion.js.map +1 -1
  457. package/models/operations/createdataset.js +1 -1
  458. package/models/operations/createdatasetitem.d.ts +219 -15
  459. package/models/operations/createdatasetitem.d.ts.map +1 -1
  460. package/models/operations/createdatasetitem.js +144 -10
  461. package/models/operations/createdatasetitem.js.map +1 -1
  462. package/models/operations/createdatasource.d.ts +3 -0
  463. package/models/operations/createdatasource.d.ts.map +1 -1
  464. package/models/operations/createdatasource.js +1 -1
  465. package/models/operations/createdatasource.js.map +1 -1
  466. package/models/operations/createeval.d.ts +8 -1039
  467. package/models/operations/createeval.d.ts.map +1 -1
  468. package/models/operations/createeval.js +12 -1533
  469. package/models/operations/createeval.js.map +1 -1
  470. package/models/operations/createimage.d.ts +11 -0
  471. package/models/operations/createimage.d.ts.map +1 -1
  472. package/models/operations/createimage.js +16 -1
  473. package/models/operations/createimage.js.map +1 -1
  474. package/models/operations/createknowledge.d.ts +11 -0
  475. package/models/operations/createknowledge.d.ts.map +1 -1
  476. package/models/operations/createknowledge.js +1 -0
  477. package/models/operations/createknowledge.js.map +1 -1
  478. package/models/operations/creatememorystore.d.ts +3 -3
  479. package/models/operations/creatememorystore.d.ts.map +1 -1
  480. package/models/operations/creatememorystore.js +2 -2
  481. package/models/operations/creatememorystore.js.map +1 -1
  482. package/models/operations/createprompt.d.ts +35 -15
  483. package/models/operations/createprompt.d.ts.map +1 -1
  484. package/models/operations/createprompt.js +47 -19
  485. package/models/operations/createprompt.js.map +1 -1
  486. package/models/operations/creatererank.d.ts +11 -0
  487. package/models/operations/creatererank.d.ts.map +1 -1
  488. package/models/operations/creatererank.js +16 -1
  489. package/models/operations/creatererank.js.map +1 -1
  490. package/models/operations/createrouterresponse.d.ts +5 -0
  491. package/models/operations/createrouterresponse.d.ts.map +1 -1
  492. package/models/operations/createrouterresponse.js +1 -0
  493. package/models/operations/createrouterresponse.js.map +1 -1
  494. package/models/operations/createtool.d.ts +8 -8
  495. package/models/operations/createtool.d.ts.map +1 -1
  496. package/models/operations/createtool.js +16 -16
  497. package/models/operations/createtool.js.map +1 -1
  498. package/models/operations/deleteannotation.d.ts +19 -2
  499. package/models/operations/deleteannotation.d.ts.map +1 -1
  500. package/models/operations/deleteannotation.js +20 -2
  501. package/models/operations/deleteannotation.js.map +1 -1
  502. package/models/operations/deploymentgetconfig.d.ts +449 -449
  503. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  504. package/models/operations/deploymentgetconfig.js +493 -488
  505. package/models/operations/deploymentgetconfig.js.map +1 -1
  506. package/models/operations/deploymentinvoke.d.ts +0 -1562
  507. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  508. package/models/operations/deploymentinvoke.js +1 -1128
  509. package/models/operations/deploymentinvoke.js.map +1 -1
  510. package/models/operations/deployments.d.ts +1 -3
  511. package/models/operations/deployments.d.ts.map +1 -1
  512. package/models/operations/deployments.js +1 -3
  513. package/models/operations/deployments.js.map +1 -1
  514. package/models/operations/deploymentstream.d.ts +56 -58
  515. package/models/operations/deploymentstream.d.ts.map +1 -1
  516. package/models/operations/deploymentstream.js +73 -74
  517. package/models/operations/deploymentstream.js.map +1 -1
  518. package/models/operations/getallmemorystores.d.ts +16 -1
  519. package/models/operations/getallmemorystores.d.ts.map +1 -1
  520. package/models/operations/getallmemorystores.js +6 -1
  521. package/models/operations/getallmemorystores.js.map +1 -1
  522. package/models/operations/getallprompts.d.ts +9 -3
  523. package/models/operations/getallprompts.d.ts.map +1 -1
  524. package/models/operations/getallprompts.js +17 -4
  525. package/models/operations/getallprompts.js.map +1 -1
  526. package/models/operations/getalltools.d.ts +20 -20
  527. package/models/operations/getalltools.d.ts.map +1 -1
  528. package/models/operations/getalltools.js +28 -26
  529. package/models/operations/getalltools.js.map +1 -1
  530. package/models/operations/getevals.d.ts +5 -833
  531. package/models/operations/getevals.d.ts.map +1 -1
  532. package/models/operations/getevals.js +18 -1314
  533. package/models/operations/getevals.js.map +1 -1
  534. package/models/operations/getoneprompt.d.ts +9 -3
  535. package/models/operations/getoneprompt.d.ts.map +1 -1
  536. package/models/operations/getoneprompt.js +18 -5
  537. package/models/operations/getoneprompt.js.map +1 -1
  538. package/models/operations/getpromptversion.d.ts +9 -3
  539. package/models/operations/getpromptversion.d.ts.map +1 -1
  540. package/models/operations/getpromptversion.js +18 -5
  541. package/models/operations/getpromptversion.js.map +1 -1
  542. package/models/operations/getv2humanevalsets.js +2 -2
  543. package/models/operations/getv2humanevalsetsid.js +2 -2
  544. package/models/operations/guardrailrulecreate.d.ts +1 -0
  545. package/models/operations/guardrailrulecreate.d.ts.map +1 -1
  546. package/models/operations/guardrailrulecreate.js +1 -0
  547. package/models/operations/guardrailrulecreate.js.map +1 -1
  548. package/models/operations/guardrailruleget.d.ts +1 -0
  549. package/models/operations/guardrailruleget.d.ts.map +1 -1
  550. package/models/operations/guardrailruleget.js +1 -0
  551. package/models/operations/guardrailruleget.js.map +1 -1
  552. package/models/operations/guardrailruleupdate.d.ts +1 -0
  553. package/models/operations/guardrailruleupdate.d.ts.map +1 -1
  554. package/models/operations/guardrailruleupdate.js +1 -0
  555. package/models/operations/guardrailruleupdate.js.map +1 -1
  556. package/models/operations/index.d.ts +10 -0
  557. package/models/operations/index.d.ts.map +1 -1
  558. package/models/operations/index.js +10 -0
  559. package/models/operations/index.js.map +1 -1
  560. package/models/operations/invokeagent.d.ts +51 -48
  561. package/models/operations/invokeagent.d.ts.map +1 -1
  562. package/models/operations/invokeagent.js +43 -46
  563. package/models/operations/invokeagent.js.map +1 -1
  564. package/models/operations/invokeeval.d.ts +14 -13
  565. package/models/operations/invokeeval.d.ts.map +1 -1
  566. package/models/operations/invokeeval.js +23 -21
  567. package/models/operations/invokeeval.js.map +1 -1
  568. package/models/operations/listagents.d.ts +16 -0
  569. package/models/operations/listagents.d.ts.map +1 -1
  570. package/models/operations/listagents.js +32 -2
  571. package/models/operations/listagents.js.map +1 -1
  572. package/models/operations/listdatasetdatapoints.d.ts +210 -12
  573. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  574. package/models/operations/listdatasetdatapoints.js +138 -9
  575. package/models/operations/listdatasetdatapoints.js.map +1 -1
  576. package/models/operations/listdatasets.d.ts +10 -0
  577. package/models/operations/listdatasets.d.ts.map +1 -1
  578. package/models/operations/listdatasets.js +4 -1
  579. package/models/operations/listdatasets.js.map +1 -1
  580. package/models/operations/listdatasources.js +1 -1
  581. package/models/operations/listidentities.d.ts +9 -0
  582. package/models/operations/listidentities.d.ts.map +1 -1
  583. package/models/operations/listidentities.js +2 -0
  584. package/models/operations/listidentities.js.map +1 -1
  585. package/models/operations/listknowledgebases.d.ts +33 -0
  586. package/models/operations/listknowledgebases.d.ts.map +1 -1
  587. package/models/operations/listknowledgebases.js +16 -1
  588. package/models/operations/listknowledgebases.js.map +1 -1
  589. package/models/operations/listpromptversions.d.ts +9 -3
  590. package/models/operations/listpromptversions.d.ts.map +1 -1
  591. package/models/operations/listpromptversions.js +18 -5
  592. package/models/operations/listpromptversions.js.map +1 -1
  593. package/models/operations/managementkeydelete.d.ts +15 -0
  594. package/models/operations/managementkeydelete.d.ts.map +1 -0
  595. package/models/operations/managementkeydelete.js +54 -0
  596. package/models/operations/managementkeydelete.js.map +1 -0
  597. package/models/operations/managementkeyget.d.ts +15 -0
  598. package/models/operations/managementkeyget.d.ts.map +1 -0
  599. package/models/operations/managementkeyget.js +54 -0
  600. package/models/operations/managementkeyget.js.map +1 -0
  601. package/models/operations/managementkeylist.d.ts +53 -0
  602. package/models/operations/managementkeylist.d.ts.map +1 -0
  603. package/models/operations/managementkeylist.js +63 -0
  604. package/models/operations/managementkeylist.js.map +1 -0
  605. package/models/operations/managementkeyupdate.d.ts +18 -0
  606. package/models/operations/managementkeyupdate.d.ts.map +1 -0
  607. package/models/operations/managementkeyupdate.js +57 -0
  608. package/models/operations/managementkeyupdate.js.map +1 -0
  609. package/models/operations/modelcreateawsbedrock.d.ts +4 -0
  610. package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
  611. package/models/operations/modelcreateawsbedrock.js +4 -0
  612. package/models/operations/modelcreateawsbedrock.js.map +1 -1
  613. package/models/operations/modelupdateawsbedrock.d.ts +4 -2
  614. package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
  615. package/models/operations/modelupdateawsbedrock.js +4 -2
  616. package/models/operations/modelupdateawsbedrock.js.map +1 -1
  617. package/models/operations/modelvalidateawsbedrock.d.ts +2 -0
  618. package/models/operations/modelvalidateawsbedrock.d.ts.map +1 -1
  619. package/models/operations/modelvalidateawsbedrock.js +2 -0
  620. package/models/operations/modelvalidateawsbedrock.js.map +1 -1
  621. package/models/operations/patchv2humanevalsetsid.js +2 -2
  622. package/models/operations/postv2feedbackevaluation.d.ts +33 -12
  623. package/models/operations/postv2feedbackevaluation.d.ts.map +1 -1
  624. package/models/operations/postv2feedbackevaluation.js +9 -6
  625. package/models/operations/postv2feedbackevaluation.js.map +1 -1
  626. package/models/operations/postv2humanevalsets.js +2 -2
  627. package/models/operations/retrieveagentrequest.d.ts +16 -0
  628. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  629. package/models/operations/retrieveagentrequest.js +32 -2
  630. package/models/operations/retrieveagentrequest.js.map +1 -1
  631. package/models/operations/retrievedatapoint.d.ts +210 -12
  632. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  633. package/models/operations/retrievedatapoint.js +140 -8
  634. package/models/operations/retrievedatapoint.js.map +1 -1
  635. package/models/operations/retrievedataset.js +1 -1
  636. package/models/operations/retrievedatasource.js +1 -1
  637. package/models/operations/retrieveidentity.d.ts +8 -0
  638. package/models/operations/retrieveidentity.d.ts.map +1 -1
  639. package/models/operations/retrieveidentity.js +2 -0
  640. package/models/operations/retrieveidentity.js.map +1 -1
  641. package/models/operations/retrievememorystore.d.ts +1 -1
  642. package/models/operations/retrievememorystore.d.ts.map +1 -1
  643. package/models/operations/retrievememorystore.js +1 -1
  644. package/models/operations/retrievememorystore.js.map +1 -1
  645. package/models/operations/retrievetool.js +6 -6
  646. package/models/operations/runagent.d.ts +22 -0
  647. package/models/operations/runagent.d.ts.map +1 -1
  648. package/models/operations/runagent.js +34 -4
  649. package/models/operations/runagent.js.map +1 -1
  650. package/models/operations/streamagent.d.ts +9 -6
  651. package/models/operations/streamagent.d.ts.map +1 -1
  652. package/models/operations/streamagent.js +6 -6
  653. package/models/operations/streamagent.js.map +1 -1
  654. package/models/operations/streamrunagent.d.ts +22 -0
  655. package/models/operations/streamrunagent.d.ts.map +1 -1
  656. package/models/operations/streamrunagent.js +34 -4
  657. package/models/operations/streamrunagent.js.map +1 -1
  658. package/models/operations/updateagent.d.ts +38 -0
  659. package/models/operations/updateagent.d.ts.map +1 -1
  660. package/models/operations/updateagent.js +65 -5
  661. package/models/operations/updateagent.js.map +1 -1
  662. package/models/operations/updatedatapoint.d.ts +219 -15
  663. package/models/operations/updatedatapoint.d.ts.map +1 -1
  664. package/models/operations/updatedatapoint.js +146 -10
  665. package/models/operations/updatedatapoint.js.map +1 -1
  666. package/models/operations/updatedataset.js +1 -1
  667. package/models/operations/updatedatasource.js +1 -1
  668. package/models/operations/updateeval.d.ts +4 -901
  669. package/models/operations/updateeval.d.ts.map +1 -1
  670. package/models/operations/updateeval.js +10 -1376
  671. package/models/operations/updateeval.js.map +1 -1
  672. package/models/operations/updatememorystore.d.ts +3 -3
  673. package/models/operations/updatememorystore.d.ts.map +1 -1
  674. package/models/operations/updatememorystore.js +2 -2
  675. package/models/operations/updatememorystore.js.map +1 -1
  676. package/models/operations/updateprompt.d.ts +29 -9
  677. package/models/operations/updateprompt.d.ts.map +1 -1
  678. package/models/operations/updateprompt.js +40 -11
  679. package/models/operations/updateprompt.js.map +1 -1
  680. package/models/operations/updatetool.js +7 -7
  681. package/package.json +4 -5
  682. package/packages/orq-rc/examples/evalsAll.example.ts +26 -0
  683. package/packages/orq-rc/src/core.ts +13 -0
  684. package/packages/orq-rc/src/funcs/agentsCreate.ts +163 -0
  685. package/packages/orq-rc/src/funcs/agentsDelete.ts +181 -0
  686. package/packages/orq-rc/src/funcs/agentsInvoke.ts +178 -0
  687. package/packages/orq-rc/src/funcs/agentsList.ts +186 -0
  688. package/packages/orq-rc/src/funcs/agentsRefreshKeyCard.ts +188 -0
  689. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +187 -0
  690. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +183 -0
  691. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +181 -0
  692. package/packages/orq-rc/src/funcs/agentsRun.ts +164 -0
  693. package/packages/orq-rc/src/funcs/agentsStream.ts +205 -0
  694. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +191 -0
  695. package/packages/orq-rc/src/funcs/agentsUpdate.ts +185 -0
  696. package/packages/orq-rc/src/funcs/annotationsCreate.ts +175 -0
  697. package/packages/orq-rc/src/funcs/annotationsDelete.ts +175 -0
  698. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +162 -0
  699. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +168 -0
  700. package/packages/orq-rc/src/funcs/apiKeysGet.ts +173 -0
  701. package/packages/orq-rc/src/funcs/apiKeysList.ts +176 -0
  702. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +144 -0
  703. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +171 -0
  704. package/packages/orq-rc/src/funcs/budgetsCheck.ts +162 -0
  705. package/packages/orq-rc/src/funcs/budgetsCreate.ts +162 -0
  706. package/packages/orq-rc/src/funcs/budgetsDelete.ts +168 -0
  707. package/packages/orq-rc/src/funcs/budgetsGet.ts +168 -0
  708. package/packages/orq-rc/src/funcs/budgetsGetConsumption.ts +169 -0
  709. package/packages/orq-rc/src/funcs/budgetsList.ts +176 -0
  710. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +174 -0
  711. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +171 -0
  712. package/packages/orq-rc/src/funcs/chunkingParse.ts +162 -0
  713. package/packages/orq-rc/src/funcs/datasetsClear.ts +168 -0
  714. package/packages/orq-rc/src/funcs/datasetsCreate.ts +167 -0
  715. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +172 -0
  716. package/packages/orq-rc/src/funcs/datasetsDelete.ts +168 -0
  717. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +183 -0
  718. package/packages/orq-rc/src/funcs/datasetsList.ts +171 -0
  719. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +184 -0
  720. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +176 -0
  721. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +182 -0
  722. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +177 -0
  723. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +180 -0
  724. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +170 -0
  725. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +170 -0
  726. package/packages/orq-rc/src/funcs/deploymentsList.ts +178 -0
  727. package/packages/orq-rc/src/funcs/deploymentsStream.ts +180 -0
  728. package/packages/orq-rc/src/funcs/evalsAll.ts +178 -0
  729. package/packages/orq-rc/src/funcs/evalsCreate.ts +171 -0
  730. package/packages/orq-rc/src/funcs/evalsDelete.ts +174 -0
  731. package/packages/orq-rc/src/funcs/evalsInvoke.ts +182 -0
  732. package/packages/orq-rc/src/funcs/evalsListVersions.ts +184 -0
  733. package/packages/orq-rc/src/funcs/evalsUpdate.ts +174 -0
  734. package/packages/orq-rc/src/funcs/feedbackCreate.ts +174 -0
  735. package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +161 -0
  736. package/packages/orq-rc/src/funcs/feedbackRemove.ts +169 -0
  737. package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +161 -0
  738. package/packages/orq-rc/src/funcs/filesCreate.ts +162 -0
  739. package/packages/orq-rc/src/funcs/filesDelete.ts +168 -0
  740. package/packages/orq-rc/src/funcs/filesGet.ts +168 -0
  741. package/packages/orq-rc/src/funcs/filesGetContent.ts +168 -0
  742. package/packages/orq-rc/src/funcs/filesList.ts +171 -0
  743. package/packages/orq-rc/src/funcs/filesUpdate.ts +169 -0
  744. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +163 -0
  745. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +172 -0
  746. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +176 -0
  747. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +147 -0
  748. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +170 -0
  749. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +172 -0
  750. package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +164 -0
  751. package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +166 -0
  752. package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +165 -0
  753. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +170 -0
  754. package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +166 -0
  755. package/packages/orq-rc/src/funcs/identitiesCreate.ts +162 -0
  756. package/packages/orq-rc/src/funcs/identitiesDelete.ts +168 -0
  757. package/packages/orq-rc/src/funcs/identitiesList.ts +175 -0
  758. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +174 -0
  759. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +171 -0
  760. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +160 -0
  761. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +172 -0
  762. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +167 -0
  763. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +168 -0
  764. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +175 -0
  765. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +171 -0
  766. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +174 -0
  767. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +174 -0
  768. package/packages/orq-rc/src/funcs/knowledgeList.ts +175 -0
  769. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +179 -0
  770. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +172 -0
  771. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +175 -0
  772. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +167 -0
  773. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +174 -0
  774. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +170 -0
  775. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +168 -0
  776. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +165 -0
  777. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +175 -0
  778. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +171 -0
  779. package/packages/orq-rc/src/funcs/managementKeysCreate.ts +163 -0
  780. package/packages/orq-rc/src/funcs/managementKeysDelete.ts +172 -0
  781. package/packages/orq-rc/src/funcs/managementKeysGet.ts +171 -0
  782. package/packages/orq-rc/src/funcs/managementKeysList.ts +175 -0
  783. package/packages/orq-rc/src/funcs/managementKeysListCapabilities.ts +144 -0
  784. package/packages/orq-rc/src/funcs/managementKeysUpdate.ts +175 -0
  785. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +164 -0
  786. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +177 -0
  787. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +171 -0
  788. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +169 -0
  789. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +186 -0
  790. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +181 -0
  791. package/packages/orq-rc/src/funcs/memoryStoresList.ts +183 -0
  792. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +185 -0
  793. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +178 -0
  794. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +178 -0
  795. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +180 -0
  796. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +175 -0
  797. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +169 -0
  798. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +181 -0
  799. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +176 -0
  800. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +168 -0
  801. package/packages/orq-rc/src/funcs/modelsCreate.ts +162 -0
  802. package/packages/orq-rc/src/funcs/modelsCreateAutorouter.ts +163 -0
  803. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +163 -0
  804. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +163 -0
  805. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +163 -0
  806. package/packages/orq-rc/src/funcs/modelsDelete.ts +168 -0
  807. package/packages/orq-rc/src/funcs/modelsDisable.ts +168 -0
  808. package/packages/orq-rc/src/funcs/modelsEnable.ts +163 -0
  809. package/{src/funcs/modelsListLitellm.ts → packages/orq-rc/src/funcs/modelsList.ts} +12 -12
  810. package/packages/orq-rc/src/funcs/modelsUpdate.ts +168 -0
  811. package/packages/orq-rc/src/funcs/modelsUpdateAutorouter.ts +169 -0
  812. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +169 -0
  813. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +169 -0
  814. package/packages/orq-rc/src/funcs/modelsValidate.ts +163 -0
  815. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +164 -0
  816. package/packages/orq-rc/src/funcs/piiDetect.ts +162 -0
  817. package/packages/orq-rc/src/funcs/piiRedact.ts +162 -0
  818. package/packages/orq-rc/src/funcs/piiRestore.ts +162 -0
  819. package/packages/orq-rc/src/funcs/policiesCreate.ts +162 -0
  820. package/packages/orq-rc/src/funcs/policiesDelete.ts +168 -0
  821. package/packages/orq-rc/src/funcs/policiesList.ts +170 -0
  822. package/packages/orq-rc/src/funcs/policiesRetrieve.ts +167 -0
  823. package/packages/orq-rc/src/funcs/policiesUpdate.ts +168 -0
  824. package/packages/orq-rc/src/funcs/projectsCreate.ts +162 -0
  825. package/packages/orq-rc/src/funcs/projectsDelete.ts +168 -0
  826. package/packages/orq-rc/src/funcs/projectsGet.ts +168 -0
  827. package/packages/orq-rc/src/funcs/projectsList.ts +170 -0
  828. package/packages/orq-rc/src/funcs/projectsUpdate.ts +171 -0
  829. package/packages/orq-rc/src/funcs/promptsCreate.ts +163 -0
  830. package/packages/orq-rc/src/funcs/promptsDelete.ts +174 -0
  831. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +182 -0
  832. package/packages/orq-rc/src/funcs/promptsList.ts +169 -0
  833. package/packages/orq-rc/src/funcs/promptsListVersions.ts +174 -0
  834. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +167 -0
  835. package/packages/orq-rc/src/funcs/promptsUpdate.ts +174 -0
  836. package/packages/orq-rc/src/funcs/reportingQuery.ts +162 -0
  837. package/packages/orq-rc/src/funcs/responsesCreate.ts +170 -0
  838. package/packages/orq-rc/src/funcs/responsesGet.ts +167 -0
  839. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +163 -0
  840. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +272 -0
  841. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +262 -0
  842. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +170 -0
  843. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +170 -0
  844. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +163 -0
  845. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +224 -0
  846. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +162 -0
  847. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +220 -0
  848. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +169 -0
  849. package/packages/orq-rc/src/funcs/routerOcr.ts +160 -0
  850. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +162 -0
  851. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +163 -0
  852. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +168 -0
  853. package/packages/orq-rc/src/funcs/routingRulesList.ts +173 -0
  854. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +144 -0
  855. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +167 -0
  856. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +168 -0
  857. package/packages/orq-rc/src/funcs/schedulesCreate.ts +185 -0
  858. package/packages/orq-rc/src/funcs/schedulesDelete.ts +184 -0
  859. package/packages/orq-rc/src/funcs/schedulesList.ts +167 -0
  860. package/packages/orq-rc/src/funcs/schedulesRetrieve.ts +183 -0
  861. package/packages/orq-rc/src/funcs/schedulesTrigger.ts +190 -0
  862. package/packages/orq-rc/src/funcs/schedulesUpdate.ts +191 -0
  863. package/packages/orq-rc/src/funcs/skillsCreate.ts +162 -0
  864. package/packages/orq-rc/src/funcs/skillsDelete.ts +168 -0
  865. package/packages/orq-rc/src/funcs/skillsGet.ts +168 -0
  866. package/packages/orq-rc/src/funcs/skillsList.ts +170 -0
  867. package/packages/orq-rc/src/funcs/skillsUpdate.ts +171 -0
  868. package/{src/funcs/modelsImportLitellm.ts → packages/orq-rc/src/funcs/toolsCreate.ts} +14 -15
  869. package/packages/orq-rc/src/funcs/toolsDelete.ts +168 -0
  870. package/packages/orq-rc/src/funcs/toolsGetVersion.ts +191 -0
  871. package/packages/orq-rc/src/funcs/toolsList.ts +178 -0
  872. package/packages/orq-rc/src/funcs/toolsListVersions.ts +184 -0
  873. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +167 -0
  874. package/packages/orq-rc/src/funcs/toolsUpdate.ts +177 -0
  875. package/packages/orq-rc/src/hooks/global.ts +44 -0
  876. package/packages/orq-rc/src/hooks/hooks.ts +132 -0
  877. package/packages/orq-rc/src/hooks/index.ts +6 -0
  878. package/packages/orq-rc/src/hooks/registration.ts +15 -0
  879. package/packages/orq-rc/src/hooks/types.ts +113 -0
  880. package/packages/orq-rc/src/index.ts +9 -0
  881. package/packages/orq-rc/src/lib/base64.ts +37 -0
  882. package/packages/orq-rc/src/lib/config.ts +64 -0
  883. package/packages/orq-rc/src/lib/encodings.ts +525 -0
  884. package/packages/orq-rc/src/lib/env.ts +61 -0
  885. package/packages/orq-rc/src/lib/event-streams.ts +191 -0
  886. package/packages/orq-rc/src/lib/files.ts +104 -0
  887. package/packages/orq-rc/src/lib/http.ts +323 -0
  888. package/packages/orq-rc/src/lib/logger.ts +9 -0
  889. package/packages/orq-rc/src/lib/matchers.ts +346 -0
  890. package/packages/orq-rc/src/lib/primitives.ts +166 -0
  891. package/packages/orq-rc/src/lib/retries.ts +226 -0
  892. package/packages/orq-rc/src/lib/schemas.ts +91 -0
  893. package/packages/orq-rc/src/lib/sdks.ts +443 -0
  894. package/packages/orq-rc/src/lib/security.ts +275 -0
  895. package/packages/orq-rc/src/lib/url.ts +35 -0
  896. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +99 -0
  897. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +185 -0
  898. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +73 -0
  899. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +91 -0
  900. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +71 -0
  901. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +507 -0
  902. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +165 -0
  903. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +103 -0
  904. package/packages/orq-rc/src/models/components/agentresponserequest.ts +565 -0
  905. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +520 -0
  906. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +807 -0
  907. package/packages/orq-rc/src/models/components/allprojects.ts +39 -0
  908. package/packages/orq-rc/src/models/components/apikey.ts +287 -0
  909. package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +66 -0
  910. package/packages/orq-rc/src/models/components/apikeyowner.ts +82 -0
  911. package/packages/orq-rc/src/models/components/apikeystatus.ts +21 -0
  912. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +136 -0
  913. package/packages/orq-rc/src/models/components/autorouterconfig.ts +88 -0
  914. package/packages/orq-rc/src/models/components/autorouterv2config.ts +92 -0
  915. package/packages/orq-rc/src/models/components/autorouterv2effortconfig.ts +66 -0
  916. package/packages/orq-rc/src/models/components/azurefoundrydeployment.ts +51 -0
  917. package/packages/orq-rc/src/models/components/azurefoundrydeploymentmasterdata.ts +60 -0
  918. package/packages/orq-rc/src/models/components/budget.ts +114 -0
  919. package/packages/orq-rc/src/models/components/budgetlimit.ts +83 -0
  920. package/packages/orq-rc/src/models/components/budgetlimits.ts +84 -0
  921. package/packages/orq-rc/src/models/components/budgetmatch.ts +56 -0
  922. package/packages/orq-rc/src/models/components/budgetperiod.ts +23 -0
  923. package/packages/orq-rc/src/models/components/budgetrejection.ts +48 -0
  924. package/packages/orq-rc/src/models/components/budgetscope.ts +150 -0
  925. package/packages/orq-rc/src/models/components/budgetscopekind.ts +22 -0
  926. package/packages/orq-rc/src/models/components/budgetsortfield.ts +19 -0
  927. package/packages/orq-rc/src/models/components/budgetusage.ts +54 -0
  928. package/packages/orq-rc/src/models/components/checkbudgetsrequest.ts +111 -0
  929. package/packages/orq-rc/src/models/components/checkbudgetsresponse.ts +62 -0
  930. package/packages/orq-rc/src/models/components/conversationparam.ts +51 -0
  931. package/packages/orq-rc/src/models/components/createagentresponse.ts +305 -0
  932. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +91 -0
  933. package/packages/orq-rc/src/models/components/createapikeyresponse.ts +49 -0
  934. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +109 -0
  935. package/packages/orq-rc/src/models/components/createbudgetresponse.ts +35 -0
  936. package/packages/orq-rc/src/models/components/createfilerequest.ts +62 -0
  937. package/packages/orq-rc/src/models/components/createfileresponse.ts +35 -0
  938. package/packages/orq-rc/src/models/components/createidentityrequest.ts +100 -0
  939. package/packages/orq-rc/src/models/components/createidentityresponse.ts +35 -0
  940. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +69 -0
  941. package/packages/orq-rc/src/models/components/createmanagementkeyresponse.ts +48 -0
  942. package/packages/orq-rc/src/models/components/createmodelparameter.ts +54 -0
  943. package/packages/orq-rc/src/models/components/createprojectrequest.ts +46 -0
  944. package/packages/orq-rc/src/models/components/createprojectresponse.ts +35 -0
  945. package/packages/orq-rc/src/models/components/createskillrequest.ts +159 -0
  946. package/packages/orq-rc/src/models/components/createskillresponse.ts +35 -0
  947. package/packages/orq-rc/src/models/components/datapart.ts +38 -0
  948. package/packages/orq-rc/src/models/components/datapoint.ts +60 -0
  949. package/packages/orq-rc/src/models/components/deleteapikeyresponse.ts +27 -0
  950. package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +27 -0
  951. package/packages/orq-rc/src/models/components/deletefileresponse.ts +27 -0
  952. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +27 -0
  953. package/packages/orq-rc/src/models/components/deletemanagementkeyresponse.ts +27 -0
  954. package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +27 -0
  955. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +27 -0
  956. package/packages/orq-rc/src/models/components/detectrequest.ts +56 -0
  957. package/packages/orq-rc/src/models/components/detectresponse.ts +41 -0
  958. package/packages/orq-rc/src/models/components/dimensioninfo.ts +43 -0
  959. package/packages/orq-rc/src/models/components/domain.ts +66 -0
  960. package/packages/orq-rc/src/models/components/embeddingcacheconfig.ts +59 -0
  961. package/packages/orq-rc/src/models/components/embeddingcontactparams.ts +48 -0
  962. package/packages/orq-rc/src/models/components/embeddingloadbalancerconfig.ts +66 -0
  963. package/packages/orq-rc/src/models/components/embeddingloadbalancermodelconfig.ts +42 -0
  964. package/packages/orq-rc/src/models/components/embeddingorqparams.ts +101 -0
  965. package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +45 -0
  966. package/packages/orq-rc/src/models/components/embeddingtimeoutconfig.ts +39 -0
  967. package/packages/orq-rc/src/models/components/errorpart.ts +58 -0
  968. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +66 -0
  969. package/packages/orq-rc/src/models/components/evaluatorref.ts +93 -0
  970. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +916 -0
  971. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +71 -0
  972. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +54 -0
  973. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +304 -0
  974. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +54 -0
  975. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +78 -0
  976. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +54 -0
  977. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +71 -0
  978. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +61 -0
  979. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +67 -0
  980. package/packages/orq-rc/src/models/components/expression.ts +33 -0
  981. package/packages/orq-rc/src/models/components/expressioninput.ts +29 -0
  982. package/packages/orq-rc/src/models/components/extendedmessage.ts +146 -0
  983. package/packages/orq-rc/src/models/components/fallbackconfig.ts +27 -0
  984. package/packages/orq-rc/src/models/components/file.ts +64 -0
  985. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +87 -0
  986. package/packages/orq-rc/src/models/components/filepart.ts +223 -0
  987. package/packages/orq-rc/src/models/components/filepurpose.ts +21 -0
  988. package/packages/orq-rc/src/models/components/filter.ts +137 -0
  989. package/packages/orq-rc/src/models/components/getagentresponse.ts +348 -0
  990. package/packages/orq-rc/src/models/components/getapikeyresponse.ts +40 -0
  991. package/packages/orq-rc/src/models/components/getbudgetconsumptionresponse.ts +71 -0
  992. package/packages/orq-rc/src/models/components/getbudgetresponse.ts +35 -0
  993. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +39 -0
  994. package/packages/orq-rc/src/models/components/getfileresponse.ts +35 -0
  995. package/packages/orq-rc/src/models/components/getmanagementkeyresponse.ts +40 -0
  996. package/packages/orq-rc/src/models/components/getprojectresponse.ts +35 -0
  997. package/packages/orq-rc/src/models/components/getskillresponse.ts +35 -0
  998. package/packages/orq-rc/src/models/components/guardrailref.ts +91 -0
  999. package/packages/orq-rc/src/models/components/guardrailrule.ts +69 -0
  1000. package/packages/orq-rc/src/models/components/identity.ts +246 -0
  1001. package/packages/orq-rc/src/models/components/identitybudgetscope.ts +66 -0
  1002. package/packages/orq-rc/src/models/components/identitymetrics.ts +57 -0
  1003. package/packages/orq-rc/src/models/components/identitysortfield.ts +18 -0
  1004. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +268 -0
  1005. package/packages/orq-rc/src/models/components/incompletedetails.ts +31 -0
  1006. package/packages/orq-rc/src/models/components/index.ts +291 -0
  1007. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +45 -0
  1008. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +3492 -0
  1009. package/packages/orq-rc/src/models/components/legacytokenfamily.ts +19 -0
  1010. package/packages/orq-rc/src/models/components/limits.ts +70 -0
  1011. package/packages/orq-rc/src/models/components/listapikeysresponse.ts +56 -0
  1012. package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +53 -0
  1013. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +38 -0
  1014. package/packages/orq-rc/src/models/components/listfilesresponse.ts +50 -0
  1015. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +53 -0
  1016. package/packages/orq-rc/src/models/components/listmanagementcapabilitiesresponse.ts +36 -0
  1017. package/packages/orq-rc/src/models/components/listmanagementkeysresponse.ts +56 -0
  1018. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +53 -0
  1019. package/packages/orq-rc/src/models/components/listskillsresponse.ts +53 -0
  1020. package/packages/orq-rc/src/models/components/managementkey.ts +132 -0
  1021. package/packages/orq-rc/src/models/components/managementkeystatus.ts +23 -0
  1022. package/packages/orq-rc/src/models/components/managementpermissionmode.ts +25 -0
  1023. package/packages/orq-rc/src/models/components/memoryparam.ts +56 -0
  1024. package/packages/orq-rc/src/models/components/modelbudgetscope.ts +67 -0
  1025. package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +82 -0
  1026. package/packages/orq-rc/src/models/components/modelmetadata.ts +738 -0
  1027. package/packages/orq-rc/src/models/components/modelparameterdocument.ts +53 -0
  1028. package/packages/orq-rc/src/models/components/modelref.ts +70 -0
  1029. package/packages/orq-rc/src/models/components/modelsconfig.ts +74 -0
  1030. package/packages/orq-rc/src/models/components/outputtokensdetails.ts +36 -0
  1031. package/packages/orq-rc/src/models/components/ownertype.ts +17 -0
  1032. package/packages/orq-rc/src/models/components/partdelta.ts +39 -0
  1033. package/packages/orq-rc/src/models/components/partdeltaevent.ts +73 -0
  1034. package/packages/orq-rc/src/models/components/partdoneevent.ts +70 -0
  1035. package/packages/orq-rc/src/models/components/permissionmode.ts +23 -0
  1036. package/packages/orq-rc/src/models/components/piiredactionplugin.ts +44 -0
  1037. package/packages/orq-rc/src/models/components/piiredactionpluginauto.ts +185 -0
  1038. package/packages/orq-rc/src/models/components/piiredactionpluginen.ts +222 -0
  1039. package/packages/orq-rc/src/models/components/piiredactionpluginnl.ts +218 -0
  1040. package/packages/orq-rc/src/models/components/plugin.ts +37 -0
  1041. package/packages/orq-rc/src/models/components/policy.ts +80 -0
  1042. package/packages/orq-rc/src/models/components/policyretryconfig.ts +64 -0
  1043. package/packages/orq-rc/src/models/components/price.ts +56 -0
  1044. package/packages/orq-rc/src/models/components/pricing.ts +93 -0
  1045. package/packages/orq-rc/src/models/components/pricingvariant.ts +90 -0
  1046. package/packages/orq-rc/src/models/components/project.ts +108 -0
  1047. package/packages/orq-rc/src/models/components/projectbudgetscope.ts +63 -0
  1048. package/packages/orq-rc/src/models/components/projectscope.ts +70 -0
  1049. package/packages/orq-rc/src/models/components/providerbudgetscope.ts +57 -0
  1050. package/packages/orq-rc/src/models/components/publiccontact.ts +71 -0
  1051. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +60 -0
  1052. package/packages/orq-rc/src/models/components/publicembeddingusage.ts +45 -0
  1053. package/packages/orq-rc/src/models/components/publicidentity.ts +69 -0
  1054. package/packages/orq-rc/src/models/components/publicmodelentry.ts +71 -0
  1055. package/packages/orq-rc/src/models/components/publicpiiredactionplugin.ts +127 -0
  1056. package/packages/orq-rc/src/models/components/publicresponseresource.ts +196 -0
  1057. package/packages/orq-rc/src/models/components/publicschedule.ts +118 -0
  1058. package/packages/orq-rc/src/models/components/publicscheduleerrordetail.ts +39 -0
  1059. package/packages/orq-rc/src/models/components/publicschedulepayload.ts +84 -0
  1060. package/packages/orq-rc/src/models/components/publicusage.ts +77 -0
  1061. package/packages/orq-rc/src/models/components/queryreportrequest.ts +237 -0
  1062. package/packages/orq-rc/src/models/components/queryreportresponse.ts +99 -0
  1063. package/packages/orq-rc/src/models/components/ratelimit.ts +62 -0
  1064. package/packages/orq-rc/src/models/components/reasoning.ts +79 -0
  1065. package/packages/orq-rc/src/models/components/reasoningparam.ts +74 -0
  1066. package/packages/orq-rc/src/models/components/reasoningpart.ts +62 -0
  1067. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +71 -0
  1068. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +66 -0
  1069. package/packages/orq-rc/src/models/components/redactrequest.ts +33 -0
  1070. package/packages/orq-rc/src/models/components/redactresponse.ts +41 -0
  1071. package/packages/orq-rc/src/models/components/refusalpartschema.ts +64 -0
  1072. package/packages/orq-rc/src/models/components/requestlimit.ts +69 -0
  1073. package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +27 -0
  1074. package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +38 -0
  1075. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedeltastreamevent.ts +79 -0
  1076. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedonestreamevent.ts +79 -0
  1077. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcompletedstreamevent.ts +74 -0
  1078. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinprogressstreamevent.ts +74 -0
  1079. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinterpretingstreamevent.ts +74 -0
  1080. package/packages/orq-rc/src/models/components/responsecompletedstreamevent.ts +61 -0
  1081. package/packages/orq-rc/src/models/components/responsecontentpartaddedstreamevent.ts +79 -0
  1082. package/packages/orq-rc/src/models/components/responsecontentpartdonestreamevent.ts +79 -0
  1083. package/packages/orq-rc/src/models/components/responsecreatedstreamevent.ts +61 -0
  1084. package/packages/orq-rc/src/models/components/responsedoneevent.ts +324 -0
  1085. package/packages/orq-rc/src/models/components/responseerror.ts +33 -0
  1086. package/packages/orq-rc/src/models/components/responseerrorstreamevent.ts +58 -0
  1087. package/packages/orq-rc/src/models/components/responseexecutionlimits.ts +52 -0
  1088. package/packages/orq-rc/src/models/components/responsefailedevent.ts +72 -0
  1089. package/packages/orq-rc/src/models/components/responsefailedstreamevent.ts +61 -0
  1090. package/packages/orq-rc/src/models/components/responsefilesearchcallcompletedstreamevent.ts +71 -0
  1091. package/packages/orq-rc/src/models/components/responsefilesearchcallinprogressstreamevent.ts +74 -0
  1092. package/packages/orq-rc/src/models/components/responsefilesearchcallsearchingstreamevent.ts +71 -0
  1093. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdeltastreamevent.ts +84 -0
  1094. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +79 -0
  1095. package/packages/orq-rc/src/models/components/responseidentity.ts +48 -0
  1096. package/packages/orq-rc/src/models/components/responseimagegenerationcallcompletedstreamevent.ts +74 -0
  1097. package/packages/orq-rc/src/models/components/responseimagegenerationcallgeneratingstreamevent.ts +74 -0
  1098. package/packages/orq-rc/src/models/components/responseimagegenerationcallinprogressstreamevent.ts +74 -0
  1099. package/packages/orq-rc/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +86 -0
  1100. package/packages/orq-rc/src/models/components/responseincompletestreamevent.ts +61 -0
  1101. package/packages/orq-rc/src/models/components/responseinprogressstreamevent.ts +61 -0
  1102. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdeltastreamevent.ts +78 -0
  1103. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdonestreamevent.ts +78 -0
  1104. package/packages/orq-rc/src/models/components/responsemcpcallcompletedstreamevent.ts +68 -0
  1105. package/packages/orq-rc/src/models/components/responsemcpcallfailedstreamevent.ts +67 -0
  1106. package/packages/orq-rc/src/models/components/responsemcpcallinprogressstreamevent.ts +68 -0
  1107. package/packages/orq-rc/src/models/components/responsemeta.ts +103 -0
  1108. package/packages/orq-rc/src/models/components/responseoutputitemaddedstreamevent.ts +67 -0
  1109. package/packages/orq-rc/src/models/components/responseoutputitemdonestreamevent.ts +66 -0
  1110. package/packages/orq-rc/src/models/components/responseoutputtextannotationaddedstreamevent.ts +91 -0
  1111. package/packages/orq-rc/src/models/components/responseoutputtextdeltastreamevent.ts +89 -0
  1112. package/packages/orq-rc/src/models/components/responseoutputtextdonestreamevent.ts +83 -0
  1113. package/packages/orq-rc/src/models/components/responsequeuedstreamevent.ts +61 -0
  1114. package/packages/orq-rc/src/models/components/responsereasoningdeltastreamevent.ts +83 -0
  1115. package/packages/orq-rc/src/models/components/responsereasoningdonestreamevent.ts +78 -0
  1116. package/packages/orq-rc/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +85 -0
  1117. package/packages/orq-rc/src/models/components/responsereasoningsummarypartdonestreamevent.ts +85 -0
  1118. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdeltastreamevent.ts +90 -0
  1119. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdonestreamevent.ts +85 -0
  1120. package/packages/orq-rc/src/models/components/responsereasoningtextdeltastreamevent.ts +84 -0
  1121. package/packages/orq-rc/src/models/components/responsereasoningtextdonestreamevent.ts +79 -0
  1122. package/packages/orq-rc/src/models/components/responserefusaldeltastreamevent.ts +78 -0
  1123. package/packages/orq-rc/src/models/components/responserefusaldonestreamevent.ts +78 -0
  1124. package/packages/orq-rc/src/models/components/responseretryconfig.ts +45 -0
  1125. package/packages/orq-rc/src/models/components/responsestartedevent.ts +97 -0
  1126. package/packages/orq-rc/src/models/components/responsestreamevent.ts +307 -0
  1127. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +85 -0
  1128. package/packages/orq-rc/src/models/components/responsethread.ts +30 -0
  1129. package/packages/orq-rc/src/models/components/responsewebsearchcallcompletedstreamevent.ts +73 -0
  1130. package/packages/orq-rc/src/models/components/responsewebsearchcallinprogressstreamevent.ts +71 -0
  1131. package/packages/orq-rc/src/models/components/responsewebsearchcallsearchingstreamevent.ts +73 -0
  1132. package/packages/orq-rc/src/models/components/restorerequest.ts +38 -0
  1133. package/packages/orq-rc/src/models/components/restoreresponse.ts +36 -0
  1134. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +35 -0
  1135. package/packages/orq-rc/src/models/components/reviewoutcome.ts +23 -0
  1136. package/packages/orq-rc/src/models/components/routingrule.ts +67 -0
  1137. package/packages/orq-rc/src/models/components/security.ts +32 -0
  1138. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +43 -0
  1139. package/packages/orq-rc/src/models/components/singleproject.ts +59 -0
  1140. package/packages/orq-rc/src/models/components/skill.ts +109 -0
  1141. package/packages/orq-rc/src/models/components/streamoptions.ts +32 -0
  1142. package/packages/orq-rc/src/models/components/telemetry.ts +48 -0
  1143. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +211 -0
  1144. package/packages/orq-rc/src/models/components/textpart.ts +54 -0
  1145. package/packages/orq-rc/src/models/components/thinkingconfigadaptiveschema.ts +59 -0
  1146. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +59 -0
  1147. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +107 -0
  1148. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +64 -0
  1149. package/packages/orq-rc/src/models/components/tokenlimit.ts +69 -0
  1150. package/packages/orq-rc/src/models/components/toolcallpart.ts +51 -0
  1151. package/packages/orq-rc/src/models/components/tooldoneevent.ts +77 -0
  1152. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +235 -0
  1153. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +219 -0
  1154. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +215 -0
  1155. package/packages/orq-rc/src/models/components/toolfailedevent.ts +77 -0
  1156. package/packages/orq-rc/src/models/components/toolresultpart.ts +71 -0
  1157. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +78 -0
  1158. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +87 -0
  1159. package/packages/orq-rc/src/models/components/toolstartedevent.ts +82 -0
  1160. package/packages/orq-rc/src/models/components/totals.ts +34 -0
  1161. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +92 -0
  1162. package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +40 -0
  1163. package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +94 -0
  1164. package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +35 -0
  1165. package/packages/orq-rc/src/models/components/updatefilerequest.ts +39 -0
  1166. package/packages/orq-rc/src/models/components/updatefileresponse.ts +35 -0
  1167. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +90 -0
  1168. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +35 -0
  1169. package/packages/orq-rc/src/models/components/updatemanagementkeyrequest.ts +80 -0
  1170. package/packages/orq-rc/src/models/components/updatemanagementkeyresponse.ts +40 -0
  1171. package/packages/orq-rc/src/models/components/updatemodelparameter.ts +61 -0
  1172. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +49 -0
  1173. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +35 -0
  1174. package/packages/orq-rc/src/models/components/updateskillrequest.ts +75 -0
  1175. package/packages/orq-rc/src/models/components/updateskillresponse.ts +35 -0
  1176. package/packages/orq-rc/src/models/components/userowner.ts +59 -0
  1177. package/packages/orq-rc/src/models/components/vertexcapabilities.ts +37 -0
  1178. package/packages/orq-rc/src/models/components/vertexconfiguration.ts +45 -0
  1179. package/packages/orq-rc/src/models/components/vertexmodelconfiguration.ts +53 -0
  1180. package/packages/orq-rc/src/models/components/vertexparameters.ts +47 -0
  1181. package/packages/orq-rc/src/models/components/vertexparamrange.ts +34 -0
  1182. package/packages/orq-rc/src/models/components/vertexparamrangeint.ts +34 -0
  1183. package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +46 -0
  1184. package/packages/orq-rc/src/models/errors/apierror.ts +40 -0
  1185. package/packages/orq-rc/src/models/errors/createagentschedule.ts +105 -0
  1186. package/packages/orq-rc/src/models/errors/createeval.ts +51 -0
  1187. package/packages/orq-rc/src/models/errors/createmoderation.ts +84 -0
  1188. package/packages/orq-rc/src/models/errors/createtranscription.ts +87 -0
  1189. package/packages/orq-rc/src/models/errors/createtranslation.ts +87 -0
  1190. package/packages/orq-rc/src/models/errors/deleteagent.ts +51 -0
  1191. package/packages/orq-rc/src/models/errors/deleteagentschedule.ts +56 -0
  1192. package/packages/orq-rc/src/models/errors/deleteeval.ts +51 -0
  1193. package/packages/orq-rc/src/models/errors/deleteprompt.ts +51 -0
  1194. package/packages/orq-rc/src/models/errors/getevals.ts +51 -0
  1195. package/packages/orq-rc/src/models/errors/getpromptversion.ts +51 -0
  1196. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +51 -0
  1197. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +51 -0
  1198. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +52 -0
  1199. package/packages/orq-rc/src/models/errors/honoapierror.ts +59 -0
  1200. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +62 -0
  1201. package/packages/orq-rc/src/models/errors/index.ts +38 -0
  1202. package/packages/orq-rc/src/models/errors/invokeeval.ts +141 -0
  1203. package/packages/orq-rc/src/models/errors/orqerror.ts +35 -0
  1204. package/packages/orq-rc/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
  1205. package/packages/orq-rc/src/models/errors/postv2feedback.ts +96 -0
  1206. package/packages/orq-rc/src/models/errors/postv2feedbackremove.ts +51 -0
  1207. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +50 -0
  1208. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +51 -0
  1209. package/packages/orq-rc/src/models/errors/retrieveagentschedule.ts +56 -0
  1210. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +109 -0
  1211. package/packages/orq-rc/src/models/errors/streamagent.ts +51 -0
  1212. package/packages/orq-rc/src/models/errors/streamrunagent.ts +51 -0
  1213. package/packages/orq-rc/src/models/errors/triggeragentschedule.ts +105 -0
  1214. package/packages/orq-rc/src/models/errors/updateagent.ts +51 -0
  1215. package/packages/orq-rc/src/models/errors/updateagentschedule.ts +105 -0
  1216. package/packages/orq-rc/src/models/errors/updateeval.ts +51 -0
  1217. package/packages/orq-rc/src/models/errors/updateprompt.ts +51 -0
  1218. package/packages/orq-rc/src/models/errors/updatetool.ts +62 -0
  1219. package/packages/orq-rc/src/models/operations/apikeydelete.ts +39 -0
  1220. package/packages/orq-rc/src/models/operations/apikeyget.ts +49 -0
  1221. package/packages/orq-rc/src/models/operations/apikeylist.ts +118 -0
  1222. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +44 -0
  1223. package/packages/orq-rc/src/models/operations/budgetdelete.ts +39 -0
  1224. package/packages/orq-rc/src/models/operations/budgetget.ts +39 -0
  1225. package/packages/orq-rc/src/models/operations/budgetgetconsumption.ts +41 -0
  1226. package/packages/orq-rc/src/models/operations/budgetlist.ts +109 -0
  1227. package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +48 -0
  1228. package/packages/orq-rc/src/models/operations/budgetupdate.ts +44 -0
  1229. package/packages/orq-rc/src/models/operations/cleardataset.ts +39 -0
  1230. package/packages/orq-rc/src/models/operations/createagentrequest.ts +7031 -0
  1231. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +125 -0
  1232. package/packages/orq-rc/src/models/operations/createagentschedule.ts +227 -0
  1233. package/packages/orq-rc/src/models/operations/createannotation.ts +256 -0
  1234. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +6580 -0
  1235. package/packages/orq-rc/src/models/operations/createchunk.ts +222 -0
  1236. package/packages/orq-rc/src/models/operations/createcompletion.ts +3528 -0
  1237. package/packages/orq-rc/src/models/operations/createdataset.ts +162 -0
  1238. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2887 -0
  1239. package/packages/orq-rc/src/models/operations/createdatasource.ts +446 -0
  1240. package/packages/orq-rc/src/models/operations/createembedding.ts +219 -0
  1241. package/packages/orq-rc/src/models/operations/createeval.ts +659 -0
  1242. package/packages/orq-rc/src/models/operations/createimage.ts +1088 -0
  1243. package/packages/orq-rc/src/models/operations/createimageedit.ts +1045 -0
  1244. package/packages/orq-rc/src/models/operations/createimagevariation.ts +1067 -0
  1245. package/packages/orq-rc/src/models/operations/createknowledge.ts +956 -0
  1246. package/packages/orq-rc/src/models/operations/creatememory.ts +142 -0
  1247. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +152 -0
  1248. package/packages/orq-rc/src/models/operations/creatememorystore.ts +199 -0
  1249. package/packages/orq-rc/src/models/operations/createmoderation.ts +664 -0
  1250. package/packages/orq-rc/src/models/operations/createprompt.ts +5834 -0
  1251. package/packages/orq-rc/src/models/operations/creatererank.ts +944 -0
  1252. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +1964 -0
  1253. package/packages/orq-rc/src/models/operations/createspeech.ts +700 -0
  1254. package/packages/orq-rc/src/models/operations/createtool.ts +2488 -0
  1255. package/packages/orq-rc/src/models/operations/createtranscription.ts +955 -0
  1256. package/packages/orq-rc/src/models/operations/createtranslation.ts +930 -0
  1257. package/packages/orq-rc/src/models/operations/deleteagent.ts +39 -0
  1258. package/packages/orq-rc/src/models/operations/deleteagentschedule.ts +46 -0
  1259. package/packages/orq-rc/src/models/operations/deleteannotation.ts +125 -0
  1260. package/packages/orq-rc/src/models/operations/deletechunk.ts +53 -0
  1261. package/packages/orq-rc/src/models/operations/deletechunks.ts +125 -0
  1262. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +46 -0
  1263. package/packages/orq-rc/src/models/operations/deletedataset.ts +39 -0
  1264. package/packages/orq-rc/src/models/operations/deletedatasource.ts +46 -0
  1265. package/packages/orq-rc/src/models/operations/deleteeval.ts +31 -0
  1266. package/packages/orq-rc/src/models/operations/deleteidentity.ts +34 -0
  1267. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +39 -0
  1268. package/packages/orq-rc/src/models/operations/deletememory.ts +46 -0
  1269. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +55 -0
  1270. package/packages/orq-rc/src/models/operations/deletememorystore.ts +39 -0
  1271. package/packages/orq-rc/src/models/operations/deleteprompt.ts +34 -0
  1272. package/packages/orq-rc/src/models/operations/deletetool.ts +36 -0
  1273. package/packages/orq-rc/src/models/operations/deletev2humanevalsetsid.ts +36 -0
  1274. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +4613 -0
  1275. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +724 -0
  1276. package/packages/orq-rc/src/models/operations/deployments.ts +1372 -0
  1277. package/packages/orq-rc/src/models/operations/deploymentstream.ts +4656 -0
  1278. package/packages/orq-rc/src/models/operations/filecontent.ts +39 -0
  1279. package/packages/orq-rc/src/models/operations/filedelete.ts +39 -0
  1280. package/packages/orq-rc/src/models/operations/fileget.ts +35 -0
  1281. package/packages/orq-rc/src/models/operations/filelist.ts +60 -0
  1282. package/packages/orq-rc/src/models/operations/fileupdate.ts +44 -0
  1283. package/packages/orq-rc/src/models/operations/getagentresponse.ts +46 -0
  1284. package/packages/orq-rc/src/models/operations/getallmemories.ts +173 -0
  1285. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +188 -0
  1286. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +220 -0
  1287. package/packages/orq-rc/src/models/operations/getallprompts.ts +3420 -0
  1288. package/packages/orq-rc/src/models/operations/getalltools.ts +1383 -0
  1289. package/packages/orq-rc/src/models/operations/getchunkscount.ts +142 -0
  1290. package/packages/orq-rc/src/models/operations/getevals.ts +168 -0
  1291. package/packages/orq-rc/src/models/operations/getonechunk.ts +171 -0
  1292. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +652 -0
  1293. package/packages/orq-rc/src/models/operations/getoneprompt.ts +3343 -0
  1294. package/packages/orq-rc/src/models/operations/getpromptversion.ts +3392 -0
  1295. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +162 -0
  1296. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +234 -0
  1297. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +235 -0
  1298. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +163 -0
  1299. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +110 -0
  1300. package/packages/orq-rc/src/models/operations/guardrailrulecreate.ts +126 -0
  1301. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +39 -0
  1302. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +104 -0
  1303. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +138 -0
  1304. package/packages/orq-rc/src/models/operations/guardrailrulelistusedguardrails.ts +48 -0
  1305. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +155 -0
  1306. package/packages/orq-rc/src/models/operations/index.ts +181 -0
  1307. package/packages/orq-rc/src/models/operations/invokeagent.ts +775 -0
  1308. package/packages/orq-rc/src/models/operations/invokeeval.ts +1257 -0
  1309. package/packages/orq-rc/src/models/operations/listagents.ts +3007 -0
  1310. package/packages/orq-rc/src/models/operations/listagentschedules.ts +69 -0
  1311. package/packages/orq-rc/src/models/operations/listchunks.ts +289 -0
  1312. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +282 -0
  1313. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +1857 -0
  1314. package/packages/orq-rc/src/models/operations/listdatasets.ts +218 -0
  1315. package/packages/orq-rc/src/models/operations/listdatasources.ts +241 -0
  1316. package/packages/orq-rc/src/models/operations/listidentities.ts +94 -0
  1317. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +687 -0
  1318. package/packages/orq-rc/src/models/operations/listmodels.ts +60 -0
  1319. package/packages/orq-rc/src/models/operations/listpromptversions.ts +3467 -0
  1320. package/packages/orq-rc/src/models/operations/managementkeydelete.ts +39 -0
  1321. package/packages/orq-rc/src/models/operations/managementkeyget.ts +39 -0
  1322. package/packages/orq-rc/src/models/operations/managementkeylist.ts +85 -0
  1323. package/packages/orq-rc/src/models/operations/managementkeyupdate.ts +45 -0
  1324. package/packages/orq-rc/src/models/operations/modelazurefoundrydeployments.ts +90 -0
  1325. package/packages/orq-rc/src/models/operations/modelcreate.ts +184 -0
  1326. package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +151 -0
  1327. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +234 -0
  1328. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +202 -0
  1329. package/{src/models/components/modeldocument.ts → packages/orq-rc/src/models/operations/modelcreatevertex.ts} +54 -22
  1330. package/packages/orq-rc/src/models/operations/modeldelete.ts +34 -0
  1331. package/packages/orq-rc/src/models/operations/modeldisable.ts +39 -0
  1332. package/packages/orq-rc/src/models/operations/modelenable.ts +36 -0
  1333. package/packages/orq-rc/src/models/operations/modelupdate.ts +198 -0
  1334. package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +189 -0
  1335. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +260 -0
  1336. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +236 -0
  1337. package/packages/orq-rc/src/models/operations/modelvalidate.ts +57 -0
  1338. package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +61 -0
  1339. package/packages/orq-rc/src/models/operations/parse.ts +784 -0
  1340. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +415 -0
  1341. package/packages/orq-rc/src/models/operations/policycreate.ts +138 -0
  1342. package/packages/orq-rc/src/models/operations/policydelete.ts +39 -0
  1343. package/packages/orq-rc/src/models/operations/policyget.ts +110 -0
  1344. package/packages/orq-rc/src/models/operations/policylist.ts +94 -0
  1345. package/packages/orq-rc/src/models/operations/policyupdate.ts +174 -0
  1346. package/packages/orq-rc/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
  1347. package/packages/orq-rc/src/models/operations/postv2feedback.ts +214 -0
  1348. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +357 -0
  1349. package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +43 -0
  1350. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +135 -0
  1351. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +365 -0
  1352. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +478 -0
  1353. package/packages/orq-rc/src/models/operations/projectdelete.ts +39 -0
  1354. package/packages/orq-rc/src/models/operations/projectget.ts +39 -0
  1355. package/packages/orq-rc/src/models/operations/projectlist.ts +58 -0
  1356. package/packages/orq-rc/src/models/operations/projectupdate.ts +44 -0
  1357. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +3069 -0
  1358. package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +162 -0
  1359. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +1746 -0
  1360. package/packages/orq-rc/src/models/operations/retrievedataset.ts +150 -0
  1361. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +152 -0
  1362. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +55 -0
  1363. package/packages/orq-rc/src/models/operations/retrievememory.ts +112 -0
  1364. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +118 -0
  1365. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +144 -0
  1366. package/packages/orq-rc/src/models/operations/retrieveresponse.ts +225 -0
  1367. package/packages/orq-rc/src/models/operations/retrievetool.ts +1370 -0
  1368. package/packages/orq-rc/src/models/operations/routingrulecreate.ts +124 -0
  1369. package/packages/orq-rc/src/models/operations/routingruledelete.ts +39 -0
  1370. package/packages/orq-rc/src/models/operations/routingruleget.ts +102 -0
  1371. package/packages/orq-rc/src/models/operations/routingrulelist.ts +112 -0
  1372. package/packages/orq-rc/src/models/operations/routingrulelistusedmodels.ts +37 -0
  1373. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +154 -0
  1374. package/packages/orq-rc/src/models/operations/runagent.ts +5303 -0
  1375. package/packages/orq-rc/src/models/operations/searchknowledge.ts +1762 -0
  1376. package/packages/orq-rc/src/models/operations/skilldelete.ts +39 -0
  1377. package/packages/orq-rc/src/models/operations/skillget.ts +40 -0
  1378. package/packages/orq-rc/src/models/operations/skilllist.ts +61 -0
  1379. package/packages/orq-rc/src/models/operations/skillupdate.ts +44 -0
  1380. package/packages/orq-rc/src/models/operations/streamagent.ts +698 -0
  1381. package/packages/orq-rc/src/models/operations/streamrunagent.ts +5482 -0
  1382. package/packages/orq-rc/src/models/operations/triggeragentschedule.ts +86 -0
  1383. package/packages/orq-rc/src/models/operations/updateagent.ts +7364 -0
  1384. package/packages/orq-rc/src/models/operations/updateagentschedule.ts +241 -0
  1385. package/packages/orq-rc/src/models/operations/updatechunk.ts +236 -0
  1386. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2923 -0
  1387. package/packages/orq-rc/src/models/operations/updatedataset.ts +206 -0
  1388. package/packages/orq-rc/src/models/operations/updatedatasource.ts +186 -0
  1389. package/packages/orq-rc/src/models/operations/updateeval.ts +446 -0
  1390. package/packages/orq-rc/src/models/operations/updateidentity.ts +43 -0
  1391. package/packages/orq-rc/src/models/operations/updateknowledge.ts +1231 -0
  1392. package/packages/orq-rc/src/models/operations/updatememory.ts +142 -0
  1393. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +159 -0
  1394. package/packages/orq-rc/src/models/operations/updatememorystore.ts +188 -0
  1395. package/packages/orq-rc/src/models/operations/updateprompt.ts +5921 -0
  1396. package/packages/orq-rc/src/models/operations/updatetool.ts +2801 -0
  1397. package/packages/orq-rc/src/sdk/agents.ts +216 -0
  1398. package/packages/orq-rc/src/sdk/annotations.ts +45 -0
  1399. package/packages/orq-rc/src/sdk/apikeys.ts +116 -0
  1400. package/packages/orq-rc/src/sdk/audio.ts +25 -0
  1401. package/packages/orq-rc/src/sdk/budgets.ts +154 -0
  1402. package/packages/orq-rc/src/sdk/chat.ts +13 -0
  1403. package/packages/orq-rc/src/sdk/chunking.ts +27 -0
  1404. package/packages/orq-rc/src/sdk/completions.ts +32 -0
  1405. package/packages/orq-rc/src/sdk/datasets.ts +204 -0
  1406. package/packages/orq-rc/src/sdk/deployments.ts +83 -0
  1407. package/packages/orq-rc/src/sdk/edits.ts +27 -0
  1408. package/packages/orq-rc/src/sdk/embeddings.ts +27 -0
  1409. package/packages/orq-rc/src/sdk/evals.ts +102 -0
  1410. package/packages/orq-rc/src/sdk/feedback.ts +63 -0
  1411. package/packages/orq-rc/src/sdk/files.ts +118 -0
  1412. package/packages/orq-rc/src/sdk/generations.ts +27 -0
  1413. package/packages/orq-rc/src/sdk/guardrailrules.ts +115 -0
  1414. package/packages/orq-rc/src/sdk/humanreviewsets.ts +84 -0
  1415. package/packages/orq-rc/src/sdk/identities.ts +100 -0
  1416. package/packages/orq-rc/src/sdk/images.ts +25 -0
  1417. package/packages/orq-rc/src/sdk/index.ts +5 -0
  1418. package/packages/orq-rc/src/sdk/knowledge.ts +312 -0
  1419. package/packages/orq-rc/src/sdk/managementkeys.ts +116 -0
  1420. package/packages/orq-rc/src/sdk/memorystores.ts +286 -0
  1421. package/packages/orq-rc/src/sdk/models.ts +295 -0
  1422. package/packages/orq-rc/src/sdk/moderations.ts +24 -0
  1423. package/packages/orq-rc/src/sdk/orqcompletions.ts +32 -0
  1424. package/packages/orq-rc/src/sdk/orqresponses.ts +53 -0
  1425. package/packages/orq-rc/src/sdk/pii.ts +63 -0
  1426. package/packages/orq-rc/src/sdk/policies.ts +99 -0
  1427. package/packages/orq-rc/src/sdk/projects.ts +100 -0
  1428. package/packages/orq-rc/src/sdk/prompts.ts +126 -0
  1429. package/packages/orq-rc/src/sdk/reporting.ts +27 -0
  1430. package/packages/orq-rc/src/sdk/rerank.ts +27 -0
  1431. package/packages/orq-rc/src/sdk/responses.ts +47 -0
  1432. package/packages/orq-rc/src/sdk/router.ts +66 -0
  1433. package/packages/orq-rc/src/sdk/routingrules.ts +115 -0
  1434. package/packages/orq-rc/src/sdk/schedules.ts +117 -0
  1435. package/packages/orq-rc/src/sdk/sdk.ts +175 -0
  1436. package/packages/orq-rc/src/sdk/skills.ts +100 -0
  1437. package/packages/orq-rc/src/sdk/speech.ts +27 -0
  1438. package/packages/orq-rc/src/sdk/tools.ts +135 -0
  1439. package/packages/orq-rc/src/sdk/transcriptions.ts +24 -0
  1440. package/packages/orq-rc/src/sdk/translations.ts +24 -0
  1441. package/packages/orq-rc/src/sdk/variations.ts +27 -0
  1442. package/packages/orq-rc/src/types/async.ts +69 -0
  1443. package/packages/orq-rc/src/types/blobs.ts +32 -0
  1444. package/packages/orq-rc/src/types/constdatetime.ts +15 -0
  1445. package/packages/orq-rc/src/types/enums.ts +45 -0
  1446. package/packages/orq-rc/src/types/fp.ts +50 -0
  1447. package/packages/orq-rc/src/types/index.ts +11 -0
  1448. package/packages/orq-rc/src/types/operations.ts +105 -0
  1449. package/packages/orq-rc/src/types/rfcdate.ts +54 -0
  1450. package/packages/orq-rc/src/types/streams.ts +21 -0
  1451. package/packages/orq-rc/src/types/unrecognized.ts +35 -0
  1452. package/sdk/agents.d.ts +2 -2
  1453. package/sdk/agents.d.ts.map +1 -1
  1454. package/sdk/agents.js.map +1 -1
  1455. package/sdk/annotations.d.ts +2 -2
  1456. package/sdk/annotations.js +2 -2
  1457. package/sdk/budgets.d.ts +62 -0
  1458. package/sdk/budgets.d.ts.map +1 -0
  1459. package/sdk/budgets.js +92 -0
  1460. package/sdk/budgets.js.map +1 -0
  1461. package/sdk/deployments.d.ts +2 -1
  1462. package/sdk/deployments.d.ts.map +1 -1
  1463. package/sdk/deployments.js.map +1 -1
  1464. package/sdk/feedback.d.ts +6 -0
  1465. package/sdk/feedback.d.ts.map +1 -1
  1466. package/sdk/feedback.js +6 -0
  1467. package/sdk/feedback.js.map +1 -1
  1468. package/sdk/managementkeys.d.ts +48 -0
  1469. package/sdk/managementkeys.d.ts.map +1 -0
  1470. package/sdk/managementkeys.js +72 -0
  1471. package/sdk/managementkeys.js.map +1 -0
  1472. package/sdk/models.d.ts +0 -17
  1473. package/sdk/models.d.ts.map +1 -1
  1474. package/sdk/models.js +0 -20
  1475. package/sdk/models.js.map +1 -1
  1476. package/sdk/orqresponses.d.ts +1 -1
  1477. package/sdk/orqresponses.d.ts.map +1 -1
  1478. package/sdk/orqresponses.js +2 -2
  1479. package/sdk/orqresponses.js.map +1 -1
  1480. package/sdk/prompts.d.ts +1 -1
  1481. package/sdk/prompts.d.ts.map +1 -1
  1482. package/sdk/prompts.js.map +1 -1
  1483. package/sdk/sdk.d.ts +6 -0
  1484. package/sdk/sdk.d.ts.map +1 -1
  1485. package/sdk/sdk.js +8 -0
  1486. package/sdk/sdk.js.map +1 -1
  1487. package/src/funcs/agentsInvoke.ts +2 -2
  1488. package/src/funcs/agentsResponsesCreate.ts +8 -5
  1489. package/src/funcs/agentsStream.ts +2 -2
  1490. package/src/funcs/annotationsCreate.ts +1 -1
  1491. package/src/funcs/annotationsDelete.ts +1 -1
  1492. package/src/funcs/apiKeysGet.ts +6 -1
  1493. package/src/funcs/apiKeysList.ts +1 -0
  1494. package/src/funcs/budgetsCheck.ts +162 -0
  1495. package/src/funcs/budgetsCreate.ts +162 -0
  1496. package/src/funcs/budgetsDelete.ts +168 -0
  1497. package/src/funcs/budgetsGet.ts +168 -0
  1498. package/src/funcs/budgetsGetConsumption.ts +169 -0
  1499. package/src/funcs/budgetsList.ts +176 -0
  1500. package/src/funcs/budgetsResetConsumption.ts +174 -0
  1501. package/src/funcs/budgetsUpdate.ts +171 -0
  1502. package/src/funcs/datasetsList.ts +2 -0
  1503. package/src/funcs/datasetsListDatapoints.ts +10 -1
  1504. package/src/funcs/deploymentsInvoke.ts +4 -4
  1505. package/src/funcs/evalsAll.ts +1 -0
  1506. package/src/funcs/identitiesList.ts +1 -0
  1507. package/src/funcs/identitiesRetrieve.ts +1 -0
  1508. package/src/funcs/knowledgeList.ts +4 -0
  1509. package/src/funcs/managementKeysCreate.ts +163 -0
  1510. package/src/funcs/managementKeysDelete.ts +172 -0
  1511. package/src/funcs/managementKeysGet.ts +171 -0
  1512. package/src/funcs/managementKeysList.ts +175 -0
  1513. package/src/funcs/managementKeysListCapabilities.ts +144 -0
  1514. package/src/funcs/managementKeysUpdate.ts +175 -0
  1515. package/src/funcs/memoryStoresList.ts +3 -0
  1516. package/src/funcs/promptsCreate.ts +4 -3
  1517. package/src/lib/config.ts +3 -3
  1518. package/src/lib/encodings.ts +1 -1
  1519. package/src/lib/env.ts +7 -3
  1520. package/src/lib/event-streams.ts +46 -20
  1521. package/src/lib/matchers.ts +1 -1
  1522. package/src/lib/primitives.ts +16 -0
  1523. package/src/lib/retries.ts +8 -0
  1524. package/src/lib/sdks.ts +41 -13
  1525. package/src/models/components/agentresponserequest.ts +565 -0
  1526. package/src/models/components/agentthoughtstreamingevent.ts +55 -43
  1527. package/src/models/components/apikey.ts +118 -0
  1528. package/src/models/components/apikeybudgetscope.ts +66 -0
  1529. package/src/models/components/autorouterconfig.ts +10 -0
  1530. package/src/models/components/autorouterv2config.ts +92 -0
  1531. package/src/models/components/autorouterv2effortconfig.ts +66 -0
  1532. package/src/models/components/azurefoundrydeployment.ts +7 -0
  1533. package/src/models/components/budget.ts +114 -0
  1534. package/src/models/components/budgetlimits.ts +84 -0
  1535. package/src/models/components/budgetmatch.ts +56 -0
  1536. package/src/models/components/budgetperiod.ts +23 -0
  1537. package/src/models/components/budgetrejection.ts +48 -0
  1538. package/src/models/components/budgetscope.ts +150 -0
  1539. package/src/models/components/budgetscopekind.ts +22 -0
  1540. package/src/models/components/budgetsortfield.ts +19 -0
  1541. package/src/models/components/budgetusage.ts +54 -0
  1542. package/src/models/components/checkbudgetsrequest.ts +111 -0
  1543. package/src/models/components/checkbudgetsresponse.ts +62 -0
  1544. package/src/models/components/createbudgetrequest.ts +109 -0
  1545. package/src/models/components/createbudgetresponse.ts +35 -0
  1546. package/src/models/components/createmanagementkeyrequest.ts +69 -0
  1547. package/src/models/components/createmanagementkeyresponse.ts +48 -0
  1548. package/src/models/components/createskillrequest.ts +95 -6
  1549. package/src/models/components/deletebudgetresponse.ts +27 -0
  1550. package/src/models/components/deletemanagementkeyresponse.ts +27 -0
  1551. package/src/models/components/dimensioninfo.ts +43 -0
  1552. package/src/models/components/domain.ts +5 -14
  1553. package/src/models/components/evaluatorresponsefunction.ts +916 -0
  1554. package/src/models/components/evaluatorresponsehttp.ts +71 -0
  1555. package/src/models/components/evaluatorresponsejsonschema.ts +54 -0
  1556. package/src/models/components/evaluatorresponsellm.ts +304 -0
  1557. package/src/models/components/evaluatorresponsepython.ts +54 -0
  1558. package/src/models/components/evaluatorresponseragas.ts +78 -0
  1559. package/src/models/components/evaluatorresponsetypescript.ts +54 -0
  1560. package/src/models/components/getbudgetconsumptionresponse.ts +71 -0
  1561. package/src/models/components/getbudgetresponse.ts +35 -0
  1562. package/src/models/components/getmanagementkeyresponse.ts +40 -0
  1563. package/src/models/components/guardrailrule.ts +3 -0
  1564. package/src/models/components/identity.ts +127 -9
  1565. package/src/models/components/identitybudgetscope.ts +66 -0
  1566. package/src/models/components/index.ts +57 -4
  1567. package/src/models/components/invokedeploymentrequest.ts +3492 -0
  1568. package/src/models/components/listbudgetsresponse.ts +53 -0
  1569. package/src/models/components/listmanagementcapabilitiesresponse.ts +36 -0
  1570. package/src/models/components/listmanagementkeysresponse.ts +56 -0
  1571. package/src/models/components/managementkey.ts +132 -0
  1572. package/src/models/components/managementkeystatus.ts +23 -0
  1573. package/src/models/components/managementpermissionmode.ts +25 -0
  1574. package/src/models/components/modelbudgetscope.ts +67 -0
  1575. package/src/models/components/modelmetadata.ts +12 -0
  1576. package/src/models/components/modelsconfig.ts +11 -10
  1577. package/src/models/components/piiredactionplugin.ts +44 -0
  1578. package/src/models/components/piiredactionpluginauto.ts +185 -0
  1579. package/src/models/components/piiredactionpluginen.ts +222 -0
  1580. package/src/models/components/piiredactionpluginnl.ts +218 -0
  1581. package/src/models/components/plugin.ts +37 -0
  1582. package/src/models/components/projectbudgetscope.ts +63 -0
  1583. package/src/models/components/providerbudgetscope.ts +57 -0
  1584. package/src/models/components/publicpiiredactionplugin.ts +127 -0
  1585. package/src/models/components/ratelimit.ts +62 -0
  1586. package/src/models/components/reasoningpart.ts +1 -1
  1587. package/src/models/components/resetbudgetconsumptionrequest.ts +27 -0
  1588. package/src/models/components/resetbudgetconsumptionresponse.ts +38 -0
  1589. package/src/models/components/textcontentpartschema.ts +23 -19
  1590. package/src/models/components/toolexecutionstartedstreamingevent.ts +24 -14
  1591. package/src/models/components/updatebudgetrequest.ts +94 -0
  1592. package/src/models/components/updatebudgetresponse.ts +35 -0
  1593. package/src/models/components/updatemanagementkeyrequest.ts +80 -0
  1594. package/src/models/components/updatemanagementkeyresponse.ts +40 -0
  1595. package/src/models/components/workspacebudgetscope.ts +46 -0
  1596. package/src/models/operations/apikeyget.ts +10 -0
  1597. package/src/models/operations/apikeylist.ts +11 -0
  1598. package/src/models/operations/budgetdelete.ts +39 -0
  1599. package/src/models/operations/budgetget.ts +39 -0
  1600. package/src/models/operations/budgetgetconsumption.ts +41 -0
  1601. package/src/models/operations/budgetlist.ts +109 -0
  1602. package/src/models/operations/budgetresetconsumption.ts +48 -0
  1603. package/src/models/operations/budgetupdate.ts +44 -0
  1604. package/src/models/operations/createagentrequest.ts +199 -0
  1605. package/src/models/operations/createagentresponserequest.ts +4 -550
  1606. package/src/models/operations/createannotation.ts +110 -16
  1607. package/src/models/operations/createchatcompletion.ts +69 -7
  1608. package/src/models/operations/createcompletion.ts +54 -0
  1609. package/src/models/operations/createdataset.ts +1 -1
  1610. package/src/models/operations/createdatasetitem.ts +356 -23
  1611. package/src/models/operations/createdatasource.ts +4 -1
  1612. package/src/models/operations/createeval.ts +356 -4158
  1613. package/src/models/operations/createimage.ts +54 -0
  1614. package/src/models/operations/createknowledge.ts +12 -0
  1615. package/src/models/operations/creatememorystore.ts +5 -5
  1616. package/src/models/operations/createprompt.ts +130 -34
  1617. package/src/models/operations/creatererank.ts +54 -0
  1618. package/src/models/operations/createrouterresponse.ts +11 -0
  1619. package/src/models/operations/createtool.ts +22 -24
  1620. package/src/models/operations/deleteannotation.ts +46 -3
  1621. package/src/models/operations/deploymentgetconfig.ts +1174 -1626
  1622. package/src/models/operations/deploymentinvoke.ts +220 -3675
  1623. package/src/models/operations/deployments.ts +2 -4
  1624. package/src/models/operations/deploymentstream.ts +244 -287
  1625. package/src/models/operations/getallmemorystores.ts +22 -2
  1626. package/src/models/operations/getallprompts.ts +45 -4
  1627. package/src/models/operations/getalltools.ts +47 -53
  1628. package/src/models/operations/getevals.ts +33 -3214
  1629. package/src/models/operations/getoneprompt.ts +45 -4
  1630. package/src/models/operations/getpromptversion.ts +45 -4
  1631. package/src/models/operations/getv2humanevalsets.ts +2 -2
  1632. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  1633. package/src/models/operations/guardrailrulecreate.ts +2 -0
  1634. package/src/models/operations/guardrailruleget.ts +2 -0
  1635. package/src/models/operations/guardrailruleupdate.ts +2 -0
  1636. package/src/models/operations/index.ts +10 -0
  1637. package/src/models/operations/invokeagent.ts +90 -116
  1638. package/src/models/operations/invokeeval.ts +54 -57
  1639. package/src/models/operations/listagents.ts +93 -0
  1640. package/src/models/operations/listdatasetdatapoints.ts +378 -19
  1641. package/src/models/operations/listdatasets.ts +14 -1
  1642. package/src/models/operations/listdatasources.ts +1 -1
  1643. package/src/models/operations/listidentities.ts +11 -0
  1644. package/src/models/operations/listknowledgebases.ts +45 -0
  1645. package/src/models/operations/listpromptversions.ts +45 -4
  1646. package/src/models/operations/managementkeydelete.ts +39 -0
  1647. package/src/models/operations/managementkeyget.ts +39 -0
  1648. package/src/models/operations/managementkeylist.ts +85 -0
  1649. package/src/models/operations/managementkeyupdate.ts +45 -0
  1650. package/src/models/operations/modelcreateawsbedrock.ts +8 -0
  1651. package/src/models/operations/modelupdateawsbedrock.ts +8 -4
  1652. package/src/models/operations/modelvalidateawsbedrock.ts +4 -0
  1653. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  1654. package/src/models/operations/postv2feedbackevaluation.ts +42 -18
  1655. package/src/models/operations/postv2humanevalsets.ts +2 -2
  1656. package/src/models/operations/retrieveagentrequest.ts +93 -0
  1657. package/src/models/operations/retrievedatapoint.ts +363 -19
  1658. package/src/models/operations/retrievedataset.ts +1 -1
  1659. package/src/models/operations/retrievedatasource.ts +1 -1
  1660. package/src/models/operations/retrieveidentity.ts +10 -0
  1661. package/src/models/operations/retrievememorystore.ts +2 -2
  1662. package/src/models/operations/retrievetool.ts +6 -6
  1663. package/src/models/operations/runagent.ts +115 -1
  1664. package/src/models/operations/streamagent.ts +16 -11
  1665. package/src/models/operations/streamrunagent.ts +116 -1
  1666. package/src/models/operations/updateagent.ts +205 -0
  1667. package/src/models/operations/updatedatapoint.ts +391 -23
  1668. package/src/models/operations/updatedataset.ts +1 -1
  1669. package/src/models/operations/updatedatasource.ts +1 -1
  1670. package/src/models/operations/updateeval.ts +45 -3421
  1671. package/src/models/operations/updatememorystore.ts +5 -5
  1672. package/src/models/operations/updateprompt.ts +116 -15
  1673. package/src/models/operations/updatetool.ts +7 -7
  1674. package/src/sdk/agents.ts +2 -2
  1675. package/src/sdk/annotations.ts +2 -2
  1676. package/src/sdk/budgets.ts +154 -0
  1677. package/src/sdk/deployments.ts +2 -1
  1678. package/src/sdk/feedback.ts +6 -0
  1679. package/src/sdk/managementkeys.ts +116 -0
  1680. package/src/sdk/models.ts +0 -35
  1681. package/src/sdk/orqresponses.ts +2 -2
  1682. package/src/sdk/prompts.ts +1 -1
  1683. package/src/sdk/sdk.ts +12 -0
  1684. package/funcs/modelsImportLitellm.d.ts.map +0 -1
  1685. package/funcs/modelsImportLitellm.js.map +0 -1
  1686. package/funcs/modelsListLitellm.d.ts +0 -18
  1687. package/funcs/modelsListLitellm.d.ts.map +0 -1
  1688. package/funcs/modelsListLitellm.js.map +0 -1
  1689. package/lib/dlv.d.ts +0 -14
  1690. package/lib/dlv.d.ts.map +0 -1
  1691. package/lib/dlv.js +0 -49
  1692. package/lib/dlv.js.map +0 -1
  1693. package/lib/is-plain-object.d.ts +0 -2
  1694. package/lib/is-plain-object.d.ts.map +0 -1
  1695. package/lib/is-plain-object.js +0 -41
  1696. package/lib/is-plain-object.js.map +0 -1
  1697. package/models/components/litellmmodel.d.ts +0 -18
  1698. package/models/components/litellmmodel.d.ts.map +0 -1
  1699. package/models/components/litellmmodel.js.map +0 -1
  1700. package/models/components/litellmmodelinfo.d.ts +0 -44
  1701. package/models/components/litellmmodelinfo.d.ts.map +0 -1
  1702. package/models/components/litellmmodelinfo.js +0 -83
  1703. package/models/components/litellmmodelinfo.js.map +0 -1
  1704. package/models/components/litellmparams.d.ts +0 -18
  1705. package/models/components/litellmparams.d.ts.map +0 -1
  1706. package/models/components/litellmparams.js.map +0 -1
  1707. package/models/components/modeldocument.d.ts +0 -39
  1708. package/models/components/modeldocument.d.ts.map +0 -1
  1709. package/models/components/modeldocument.js +0 -99
  1710. package/models/components/modeldocument.js.map +0 -1
  1711. package/src/lib/dlv.ts +0 -53
  1712. package/src/lib/is-plain-object.ts +0 -43
  1713. package/src/models/components/litellmmodel.ts +0 -50
  1714. package/src/models/components/litellmmodelinfo.ts +0 -97
  1715. package/src/models/components/litellmparams.ts +0 -43
@@ -0,0 +1,3007 @@
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
+ }