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