@orq-ai/node 4.1.0 → 4.1.3

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 (669) hide show
  1. package/README.md +49 -36
  2. package/_speakeasy/.github/action-inputs-config.json +53 -0
  3. package/_speakeasy/.github/action-security-config.json +88 -0
  4. package/bin/mcp-server.js +50175 -28131
  5. package/bin/mcp-server.js.map +302 -120
  6. package/examples/package-lock.json +2 -2
  7. package/funcs/conversationsGenerateName.d.ts +18 -0
  8. package/funcs/conversationsGenerateName.d.ts.map +1 -0
  9. package/funcs/conversationsGenerateName.js +128 -0
  10. package/funcs/conversationsGenerateName.js.map +1 -0
  11. package/funcs/conversationsList.js +2 -2
  12. package/funcs/conversationsList.js.map +1 -1
  13. package/funcs/{budgetsDelete.d.ts → evaluatorsGetV2EvaluatorsIdVersions.d.ts} +5 -4
  14. package/funcs/evaluatorsGetV2EvaluatorsIdVersions.d.ts.map +1 -0
  15. package/funcs/{budgetsGet.js → evaluatorsGetV2EvaluatorsIdVersions.js} +19 -9
  16. package/funcs/evaluatorsGetV2EvaluatorsIdVersions.js.map +1 -0
  17. package/funcs/evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts +18 -0
  18. package/funcs/evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts.map +1 -0
  19. package/funcs/{budgetsUpdate.js → evaluatorsGetV2EvaluatorsIdVersionsVersionId.js} +20 -13
  20. package/funcs/evaluatorsGetV2EvaluatorsIdVersionsVersionId.js.map +1 -0
  21. package/funcs/routerChatCompletions.d.ts +23 -0
  22. package/funcs/routerChatCompletions.d.ts.map +1 -0
  23. package/funcs/routerChatCompletions.js +121 -0
  24. package/funcs/routerChatCompletions.js.map +1 -0
  25. package/funcs/{budgetsList.d.ts → routerImagesGenerate.d.ts} +4 -4
  26. package/funcs/routerImagesGenerate.d.ts.map +1 -0
  27. package/funcs/{budgetsCreate.js → routerImagesGenerate.js} +10 -10
  28. package/funcs/routerImagesGenerate.js.map +1 -0
  29. package/funcs/{budgetsUpdate.d.ts → toolsGetV2ToolsToolIdVersions.d.ts} +5 -4
  30. package/funcs/toolsGetV2ToolsToolIdVersions.d.ts.map +1 -0
  31. package/funcs/{budgetsList.js → toolsGetV2ToolsToolIdVersions.js} +23 -16
  32. package/funcs/toolsGetV2ToolsToolIdVersions.js.map +1 -0
  33. package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.d.ts +18 -0
  34. package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.d.ts.map +1 -0
  35. package/funcs/{budgetsDelete.js → toolsGetV2ToolsToolIdVersionsVersionId.js} +21 -14
  36. package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.js.map +1 -0
  37. package/jsr.json +1 -1
  38. package/lib/config.d.ts +3 -3
  39. package/lib/config.js +3 -3
  40. package/lib/config.js.map +1 -1
  41. package/lib/event-streams.js +1 -1
  42. package/lib/event-streams.js.map +1 -1
  43. package/mcp-server/mcp-server.js +1 -1
  44. package/mcp-server/prompts.d.ts +3 -3
  45. package/mcp-server/prompts.d.ts.map +1 -1
  46. package/mcp-server/prompts.js.map +1 -1
  47. package/mcp-server/resources.d.ts +3 -3
  48. package/mcp-server/resources.d.ts.map +1 -1
  49. package/mcp-server/resources.js.map +1 -1
  50. package/mcp-server/server.d.ts.map +1 -1
  51. package/mcp-server/server.js +15 -11
  52. package/mcp-server/server.js.map +1 -1
  53. package/mcp-server/tools/conversationsGenerateName.d.ts +10 -0
  54. package/mcp-server/tools/conversationsGenerateName.d.ts.map +1 -0
  55. package/mcp-server/tools/conversationsGenerateName.js +66 -0
  56. package/mcp-server/tools/conversationsGenerateName.js.map +1 -0
  57. package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersions.d.ts +8 -0
  58. package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersions.d.ts.map +1 -0
  59. package/mcp-server/tools/{budgetsCreate.js → evaluatorsGetV2EvaluatorsIdVersions.js} +9 -9
  60. package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersions.js.map +1 -0
  61. package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts +8 -0
  62. package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts.map +1 -0
  63. package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.js +64 -0
  64. package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.js.map +1 -0
  65. package/mcp-server/tools/routerChatCompletions.d.ts +8 -0
  66. package/mcp-server/tools/routerChatCompletions.d.ts.map +1 -0
  67. package/mcp-server/tools/{budgetsList.js → routerChatCompletions.js} +9 -9
  68. package/mcp-server/tools/routerChatCompletions.js.map +1 -0
  69. package/mcp-server/tools/routerImagesGenerate.d.ts +8 -0
  70. package/mcp-server/tools/routerImagesGenerate.d.ts.map +1 -0
  71. package/mcp-server/tools/{budgetsGet.js → routerImagesGenerate.js} +9 -9
  72. package/mcp-server/tools/routerImagesGenerate.js.map +1 -0
  73. package/mcp-server/tools/toolsGetV2ToolsToolIdVersions.d.ts +8 -0
  74. package/mcp-server/tools/toolsGetV2ToolsToolIdVersions.d.ts.map +1 -0
  75. package/mcp-server/tools/{budgetsUpdate.js → toolsGetV2ToolsToolIdVersions.js} +9 -9
  76. package/mcp-server/tools/toolsGetV2ToolsToolIdVersions.js.map +1 -0
  77. package/mcp-server/tools/toolsGetV2ToolsToolIdVersionsVersionId.d.ts +8 -0
  78. package/mcp-server/tools/toolsGetV2ToolsToolIdVersionsVersionId.d.ts.map +1 -0
  79. package/mcp-server/tools/toolsGetV2ToolsToolIdVersionsVersionId.js +64 -0
  80. package/mcp-server/tools/toolsGetV2ToolsToolIdVersionsVersionId.js.map +1 -0
  81. package/mcp-server/tools.d.ts +3 -3
  82. package/mcp-server/tools.d.ts.map +1 -1
  83. package/mcp-server/tools.js.map +1 -1
  84. package/models/components/agentresponsemessage.d.ts +56 -0
  85. package/models/components/agentresponsemessage.d.ts.map +1 -0
  86. package/models/components/agentresponsemessage.js +116 -0
  87. package/models/components/agentresponsemessage.js.map +1 -0
  88. package/models/components/agentstartedstreamingevent.d.ts +6 -6
  89. package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
  90. package/models/components/agentstartedstreamingevent.js +11 -12
  91. package/models/components/agentstartedstreamingevent.js.map +1 -1
  92. package/models/components/conversationresponse.d.ts +34 -0
  93. package/models/components/conversationresponse.d.ts.map +1 -1
  94. package/models/components/conversationresponse.js +25 -3
  95. package/models/components/conversationresponse.js.map +1 -1
  96. package/models/components/createagentresponse.d.ts +124 -0
  97. package/models/components/createagentresponse.d.ts.map +1 -0
  98. package/models/components/createagentresponse.js +191 -0
  99. package/models/components/createagentresponse.js.map +1 -0
  100. package/models/components/index.d.ts +5 -0
  101. package/models/components/index.d.ts.map +1 -1
  102. package/models/components/index.js +5 -0
  103. package/models/components/index.js.map +1 -1
  104. package/models/components/invokedeploymentrequest.d.ts +12 -12
  105. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  106. package/models/components/invokedeploymentrequest.js +17 -15
  107. package/models/components/invokedeploymentrequest.js.map +1 -1
  108. package/models/components/partdoneevent.js +2 -2
  109. package/models/components/publiccontact.d.ts +52 -0
  110. package/models/components/publiccontact.d.ts.map +1 -0
  111. package/models/components/publiccontact.js +79 -0
  112. package/models/components/publiccontact.js.map +1 -0
  113. package/models/components/reasoningpart.js +2 -2
  114. package/models/components/responsedoneevent.d.ts +24 -24
  115. package/models/components/responsedoneevent.d.ts.map +1 -1
  116. package/models/components/responsedoneevent.js +31 -32
  117. package/models/components/responsedoneevent.js.map +1 -1
  118. package/models/components/thinkingconfigdisabledschema.d.ts +23 -0
  119. package/models/components/thinkingconfigdisabledschema.d.ts.map +1 -0
  120. package/models/{operations/deletebudget.js → components/thinkingconfigdisabledschema.js} +12 -12
  121. package/models/components/thinkingconfigdisabledschema.js.map +1 -0
  122. package/models/components/thinkingconfigenabledschema.d.ts +49 -0
  123. package/models/components/thinkingconfigenabledschema.d.ts.map +1 -0
  124. package/models/components/thinkingconfigenabledschema.js +84 -0
  125. package/models/components/thinkingconfigenabledschema.js.map +1 -0
  126. package/models/errors/generateconversationname.d.ts +55 -0
  127. package/models/errors/generateconversationname.d.ts.map +1 -0
  128. package/models/errors/generateconversationname.js +106 -0
  129. package/models/errors/generateconversationname.js.map +1 -0
  130. package/models/errors/getv2evaluatorsidversions.d.ts +29 -0
  131. package/models/errors/getv2evaluatorsidversions.d.ts.map +1 -0
  132. package/models/errors/getv2evaluatorsidversions.js +74 -0
  133. package/models/errors/getv2evaluatorsidversions.js.map +1 -0
  134. package/models/errors/getv2evaluatorsidversionsversionid.d.ts +29 -0
  135. package/models/errors/getv2evaluatorsidversionsversionid.d.ts.map +1 -0
  136. package/models/errors/getv2evaluatorsidversionsversionid.js +74 -0
  137. package/models/errors/getv2evaluatorsidversionsversionid.js.map +1 -0
  138. package/models/errors/getv2toolstoolidversions.d.ts +29 -0
  139. package/models/errors/getv2toolstoolidversions.d.ts.map +1 -0
  140. package/{mcp-server/tools/budgetsDelete.js → models/errors/getv2toolstoolidversions.js} +36 -25
  141. package/models/errors/getv2toolstoolidversions.js.map +1 -0
  142. package/models/errors/getv2toolstoolidversionsversionid.d.ts +29 -0
  143. package/models/errors/getv2toolstoolidversionsversionid.d.ts.map +1 -0
  144. package/models/errors/getv2toolstoolidversionsversionid.js +74 -0
  145. package/models/errors/getv2toolstoolidversionsversionid.js.map +1 -0
  146. package/models/errors/index.d.ts +5 -0
  147. package/models/errors/index.d.ts.map +1 -1
  148. package/models/errors/index.js +5 -0
  149. package/models/errors/index.js.map +1 -1
  150. package/models/operations/createagentrequest.d.ts +675 -282
  151. package/models/operations/createagentrequest.d.ts.map +1 -1
  152. package/models/operations/createagentrequest.js +635 -260
  153. package/models/operations/createagentrequest.js.map +1 -1
  154. package/models/operations/createagentresponserequest.d.ts +22 -166
  155. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  156. package/models/operations/createagentresponserequest.js +35 -228
  157. package/models/operations/createagentresponserequest.js.map +1 -1
  158. package/models/operations/createchatcompletion.d.ts +3154 -0
  159. package/models/operations/createchatcompletion.d.ts.map +1 -0
  160. package/models/operations/createchatcompletion.js +3400 -0
  161. package/models/operations/createchatcompletion.js.map +1 -0
  162. package/models/operations/createcontact.js +2 -2
  163. package/models/operations/createconversation.d.ts +56 -2
  164. package/models/operations/createconversation.d.ts.map +1 -1
  165. package/models/operations/createconversation.js +49 -5
  166. package/models/operations/createconversation.js.map +1 -1
  167. package/models/operations/createdataset.js +2 -2
  168. package/models/operations/createdatasetitem.d.ts +4 -4
  169. package/models/operations/createdatasetitem.d.ts.map +1 -1
  170. package/models/operations/createdatasetitem.js +12 -12
  171. package/models/operations/createdatasetitem.js.map +1 -1
  172. package/models/operations/createdatasource.js +2 -2
  173. package/models/operations/createeval.d.ts +44 -0
  174. package/models/operations/createeval.d.ts.map +1 -1
  175. package/models/operations/createeval.js +248 -28
  176. package/models/operations/createeval.js.map +1 -1
  177. package/models/operations/createimage.d.ts +433 -0
  178. package/models/operations/createimage.d.ts.map +1 -0
  179. package/models/operations/createimage.js +455 -0
  180. package/models/operations/createimage.js.map +1 -0
  181. package/models/operations/creatememory.d.ts +4 -1
  182. package/models/operations/creatememory.d.ts.map +1 -1
  183. package/models/operations/creatememory.js.map +1 -1
  184. package/models/operations/creatememorydocument.d.ts +5 -2
  185. package/models/operations/creatememorydocument.d.ts.map +1 -1
  186. package/models/operations/creatememorydocument.js.map +1 -1
  187. package/models/operations/createprompt.d.ts +24 -22
  188. package/models/operations/createprompt.d.ts.map +1 -1
  189. package/models/operations/createprompt.js +28 -26
  190. package/models/operations/createprompt.js.map +1 -1
  191. package/models/operations/createtool.js +12 -12
  192. package/models/operations/deploymentcreatemetric.d.ts +4 -4
  193. package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
  194. package/models/operations/deploymentcreatemetric.js +4 -4
  195. package/models/operations/deploymentcreatemetric.js.map +1 -1
  196. package/models/operations/deploymentgetconfig.d.ts +4 -4
  197. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  198. package/models/operations/deploymentgetconfig.js +4 -4
  199. package/models/operations/deploymentgetconfig.js.map +1 -1
  200. package/models/operations/deploymentinvoke.d.ts +38 -6
  201. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  202. package/models/operations/deploymentinvoke.js +71 -11
  203. package/models/operations/deploymentinvoke.js.map +1 -1
  204. package/models/operations/deployments.d.ts +2 -0
  205. package/models/operations/deployments.d.ts.map +1 -1
  206. package/models/operations/deployments.js +2 -0
  207. package/models/operations/deployments.js.map +1 -1
  208. package/models/operations/deploymentstream.d.ts +42 -10
  209. package/models/operations/deploymentstream.d.ts.map +1 -1
  210. package/models/operations/deploymentstream.js +77 -17
  211. package/models/operations/deploymentstream.js.map +1 -1
  212. package/models/operations/fileget.js +2 -2
  213. package/models/operations/filelist.js +2 -2
  214. package/models/operations/fileupload.js +2 -2
  215. package/models/operations/generateconversationname.d.ts +136 -0
  216. package/models/operations/generateconversationname.d.ts.map +1 -0
  217. package/models/operations/generateconversationname.js +157 -0
  218. package/models/operations/generateconversationname.js.map +1 -0
  219. package/models/operations/getallmemories.d.ts +3 -0
  220. package/models/operations/getallmemories.d.ts.map +1 -1
  221. package/models/operations/getallmemories.js.map +1 -1
  222. package/models/operations/getallmemorydocuments.d.ts +3 -0
  223. package/models/operations/getallmemorydocuments.d.ts.map +1 -1
  224. package/models/operations/getallmemorydocuments.js.map +1 -1
  225. package/models/operations/getallprompts.d.ts +10 -8
  226. package/models/operations/getallprompts.d.ts.map +1 -1
  227. package/models/operations/getallprompts.js +13 -12
  228. package/models/operations/getallprompts.js.map +1 -1
  229. package/models/operations/getalltools.js +12 -12
  230. package/models/operations/getevals.d.ts +28 -0
  231. package/models/operations/getevals.d.ts.map +1 -1
  232. package/models/operations/getevals.js +168 -28
  233. package/models/operations/getevals.js.map +1 -1
  234. package/models/operations/getoneprompt.d.ts +2 -0
  235. package/models/operations/getoneprompt.d.ts.map +1 -1
  236. package/models/operations/getoneprompt.js +2 -0
  237. package/models/operations/getoneprompt.js.map +1 -1
  238. package/models/operations/getpromptversion.d.ts +2 -0
  239. package/models/operations/getpromptversion.d.ts.map +1 -1
  240. package/models/operations/getpromptversion.js +2 -0
  241. package/models/operations/getpromptversion.js.map +1 -1
  242. package/models/operations/getv2evaluatorsidversions.d.ts +100 -0
  243. package/models/operations/getv2evaluatorsidversions.d.ts.map +1 -0
  244. package/models/operations/getv2evaluatorsidversions.js +166 -0
  245. package/models/operations/getv2evaluatorsidversions.js.map +1 -0
  246. package/models/operations/getv2evaluatorsidversionsversionid.d.ts +61 -0
  247. package/models/operations/getv2evaluatorsidversionsversionid.d.ts.map +1 -0
  248. package/models/operations/getv2evaluatorsidversionsversionid.js +125 -0
  249. package/models/operations/getv2evaluatorsidversionsversionid.js.map +1 -0
  250. package/models/operations/getv2toolstoolidversions.d.ts +100 -0
  251. package/models/operations/getv2toolstoolidversions.d.ts.map +1 -0
  252. package/models/operations/getv2toolstoolidversions.js +168 -0
  253. package/models/operations/getv2toolstoolidversions.js.map +1 -0
  254. package/models/operations/getv2toolstoolidversionsversionid.d.ts +61 -0
  255. package/models/operations/getv2toolstoolidversionsversionid.d.ts.map +1 -0
  256. package/models/operations/getv2toolstoolidversionsversionid.js +127 -0
  257. package/models/operations/getv2toolstoolidversionsversionid.js.map +1 -0
  258. package/models/operations/index.d.ts +7 -5
  259. package/models/operations/index.d.ts.map +1 -1
  260. package/models/operations/index.js +7 -5
  261. package/models/operations/index.js.map +1 -1
  262. package/models/operations/invokeagent.d.ts +6 -6
  263. package/models/operations/invokeagent.d.ts.map +1 -1
  264. package/models/operations/invokeagent.js +10 -9
  265. package/models/operations/invokeagent.js.map +1 -1
  266. package/models/operations/invokeeval.d.ts +5 -5
  267. package/models/operations/invokeeval.d.ts.map +1 -1
  268. package/models/operations/invokeeval.js +7 -7
  269. package/models/operations/invokeeval.js.map +1 -1
  270. package/models/operations/listagents.d.ts +231 -106
  271. package/models/operations/listagents.d.ts.map +1 -1
  272. package/models/operations/listagents.js +212 -91
  273. package/models/operations/listagents.js.map +1 -1
  274. package/models/operations/listcontacts.js +2 -2
  275. package/models/operations/listconversations.d.ts +4 -4
  276. package/models/operations/listconversations.d.ts.map +1 -1
  277. package/models/operations/listconversations.js +2 -12
  278. package/models/operations/listconversations.js.map +1 -1
  279. package/models/operations/listdatasetdatapoints.d.ts +2 -2
  280. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  281. package/models/operations/listdatasetdatapoints.js +10 -10
  282. package/models/operations/listdatasetdatapoints.js.map +1 -1
  283. package/models/operations/listdatasets.js +2 -2
  284. package/models/operations/listdatasources.js +2 -2
  285. package/models/operations/listpromptversions.d.ts +2 -0
  286. package/models/operations/listpromptversions.d.ts.map +1 -1
  287. package/models/operations/listpromptversions.js +2 -0
  288. package/models/operations/listpromptversions.js.map +1 -1
  289. package/models/operations/retrieveagentrequest.d.ts +231 -106
  290. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  291. package/models/operations/retrieveagentrequest.js +213 -91
  292. package/models/operations/retrieveagentrequest.js.map +1 -1
  293. package/models/operations/retrievecontact.js +2 -2
  294. package/models/operations/retrieveconversation.d.ts +34 -0
  295. package/models/operations/retrieveconversation.d.ts.map +1 -1
  296. package/models/operations/retrieveconversation.js +26 -3
  297. package/models/operations/retrieveconversation.js.map +1 -1
  298. package/models/operations/retrievedatapoint.d.ts +2 -2
  299. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  300. package/models/operations/retrievedatapoint.js +10 -10
  301. package/models/operations/retrievedatapoint.js.map +1 -1
  302. package/models/operations/retrievedataset.js +2 -2
  303. package/models/operations/retrievedatasource.js +2 -2
  304. package/models/operations/retrievememory.d.ts +3 -0
  305. package/models/operations/retrievememory.d.ts.map +1 -1
  306. package/models/operations/retrievememory.js.map +1 -1
  307. package/models/operations/retrievememorydocument.d.ts +3 -0
  308. package/models/operations/retrievememorydocument.d.ts.map +1 -1
  309. package/models/operations/retrievememorydocument.js.map +1 -1
  310. package/models/operations/retrievetool.js +12 -12
  311. package/models/operations/runagent.d.ts +230 -106
  312. package/models/operations/runagent.d.ts.map +1 -1
  313. package/models/operations/runagent.js +218 -98
  314. package/models/operations/runagent.js.map +1 -1
  315. package/models/operations/streamrunagent.d.ts +230 -106
  316. package/models/operations/streamrunagent.d.ts.map +1 -1
  317. package/models/operations/streamrunagent.js +215 -97
  318. package/models/operations/streamrunagent.js.map +1 -1
  319. package/models/operations/updateagent.d.ts +642 -246
  320. package/models/operations/updateagent.d.ts.map +1 -1
  321. package/models/operations/updateagent.js +581 -215
  322. package/models/operations/updateagent.js.map +1 -1
  323. package/models/operations/updatecontact.js +2 -2
  324. package/models/operations/updateconversation.d.ts +57 -0
  325. package/models/operations/updateconversation.d.ts.map +1 -1
  326. package/models/operations/updateconversation.js +47 -3
  327. package/models/operations/updateconversation.js.map +1 -1
  328. package/models/operations/updatedatapoint.d.ts +4 -4
  329. package/models/operations/updatedatapoint.d.ts.map +1 -1
  330. package/models/operations/updatedatapoint.js +12 -12
  331. package/models/operations/updatedatapoint.js.map +1 -1
  332. package/models/operations/updatedataset.js +2 -2
  333. package/models/operations/updatedatasource.js +2 -2
  334. package/models/operations/updateeval.d.ts +44 -0
  335. package/models/operations/updateeval.d.ts.map +1 -1
  336. package/models/operations/updateeval.js +248 -28
  337. package/models/operations/updateeval.js.map +1 -1
  338. package/models/operations/updatememory.d.ts +4 -1
  339. package/models/operations/updatememory.d.ts.map +1 -1
  340. package/models/operations/updatememory.js.map +1 -1
  341. package/models/operations/updatememorydocument.d.ts +5 -2
  342. package/models/operations/updatememorydocument.d.ts.map +1 -1
  343. package/models/operations/updatememorydocument.js.map +1 -1
  344. package/models/operations/updatememorystore.d.ts +2 -0
  345. package/models/operations/updatememorystore.d.ts.map +1 -1
  346. package/models/operations/updatememorystore.js +2 -0
  347. package/models/operations/updatememorystore.js.map +1 -1
  348. package/models/operations/updateprompt.d.ts +6 -2
  349. package/models/operations/updateprompt.d.ts.map +1 -1
  350. package/models/operations/updateprompt.js +6 -2
  351. package/models/operations/updateprompt.js.map +1 -1
  352. package/models/operations/updatetool.js +14 -14
  353. package/package.json +2 -2
  354. package/packages/orq-rc/examples/package-lock.json +2 -2
  355. package/packages/orq-rc/jsr.json +1 -1
  356. package/packages/orq-rc/package-lock.json +603 -98
  357. package/packages/orq-rc/package.json +2 -2
  358. package/{src/funcs/budgetsUpdate.ts → packages/orq-rc/src/funcs/conversationsGenerateName.ts} +45 -18
  359. package/packages/orq-rc/src/funcs/conversationsList.ts +2 -2
  360. package/{src/funcs/budgetsGet.ts → packages/orq-rc/src/funcs/evaluatorsGetV2EvaluatorsIdVersions.ts} +32 -15
  361. package/packages/orq-rc/src/funcs/evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts +190 -0
  362. package/{src/funcs/budgetsCreate.ts → packages/orq-rc/src/funcs/routerChatCompletions.ts} +29 -17
  363. package/{src/funcs/budgetsDelete.ts → packages/orq-rc/src/funcs/routerImagesGenerate.ts} +19 -26
  364. package/packages/orq-rc/src/funcs/{budgetsList.ts → toolsGetV2ToolsToolIdVersions.ts} +34 -21
  365. package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts +190 -0
  366. package/packages/orq-rc/src/lib/config.ts +3 -3
  367. package/packages/orq-rc/src/lib/event-streams.ts +1 -1
  368. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  369. package/packages/orq-rc/src/mcp-server/prompts.ts +7 -3
  370. package/packages/orq-rc/src/mcp-server/resources.ts +7 -3
  371. package/packages/orq-rc/src/mcp-server/server.ts +15 -11
  372. package/packages/orq-rc/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
  373. package/packages/orq-rc/src/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersions.ts +39 -0
  374. package/packages/orq-rc/src/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts +40 -0
  375. package/packages/orq-rc/src/mcp-server/tools/routerChatCompletions.ts +37 -0
  376. package/packages/orq-rc/src/mcp-server/tools/{budgetsUpdate.ts → routerImagesGenerate.ts} +7 -7
  377. package/{src/mcp-server/tools/budgetsGet.ts → packages/orq-rc/src/mcp-server/tools/toolsGetV2ToolsToolIdVersions.ts} +7 -7
  378. package/packages/orq-rc/src/mcp-server/tools/toolsGetV2ToolsToolIdVersionsVersionId.ts +39 -0
  379. package/packages/orq-rc/src/mcp-server/tools.ts +7 -3
  380. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +185 -0
  381. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +30 -21
  382. package/packages/orq-rc/src/models/components/conversationresponse.ts +68 -2
  383. package/packages/orq-rc/src/models/components/createagentresponse.ts +340 -0
  384. package/packages/orq-rc/src/models/components/index.ts +5 -0
  385. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +34 -26
  386. package/packages/orq-rc/src/models/components/partdoneevent.ts +2 -2
  387. package/packages/orq-rc/src/models/components/publiccontact.ts +99 -0
  388. package/packages/orq-rc/src/models/components/reasoningpart.ts +2 -2
  389. package/packages/orq-rc/src/models/components/responsedoneevent.ts +93 -68
  390. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +59 -0
  391. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +106 -0
  392. package/packages/orq-rc/src/models/errors/generateconversationname.ts +132 -0
  393. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +67 -0
  394. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversionsversionid.ts +69 -0
  395. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +67 -0
  396. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +69 -0
  397. package/packages/orq-rc/src/models/errors/index.ts +5 -0
  398. package/packages/orq-rc/src/models/operations/createagentrequest.ts +1561 -542
  399. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +72 -513
  400. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +8948 -0
  401. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  402. package/packages/orq-rc/src/models/operations/createconversation.ts +141 -6
  403. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  404. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +16 -16
  405. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  406. package/packages/orq-rc/src/models/operations/createeval.ts +292 -28
  407. package/packages/orq-rc/src/models/operations/createimage.ts +966 -0
  408. package/packages/orq-rc/src/models/operations/creatememory.ts +4 -1
  409. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +5 -2
  410. package/packages/orq-rc/src/models/operations/createprompt.ts +54 -52
  411. package/packages/orq-rc/src/models/operations/createtool.ts +12 -12
  412. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +8 -8
  413. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +9 -9
  414. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +141 -16
  415. package/packages/orq-rc/src/models/operations/deployments.ts +2 -0
  416. package/packages/orq-rc/src/models/operations/deploymentstream.ts +171 -26
  417. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  418. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  419. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  420. package/packages/orq-rc/src/models/operations/generateconversationname.ts +319 -0
  421. package/packages/orq-rc/src/models/operations/getallmemories.ts +3 -0
  422. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +3 -0
  423. package/packages/orq-rc/src/models/operations/getallprompts.ts +47 -38
  424. package/packages/orq-rc/src/models/operations/getalltools.ts +12 -12
  425. package/packages/orq-rc/src/models/operations/getevals.ts +196 -28
  426. package/packages/orq-rc/src/models/operations/getoneprompt.ts +2 -0
  427. package/packages/orq-rc/src/models/operations/getpromptversion.ts +2 -0
  428. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +274 -0
  429. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversionsversionid.ts +193 -0
  430. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +276 -0
  431. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +194 -0
  432. package/packages/orq-rc/src/models/operations/index.ts +7 -5
  433. package/packages/orq-rc/src/models/operations/invokeagent.ts +19 -26
  434. package/packages/orq-rc/src/models/operations/invokeeval.ts +11 -10
  435. package/packages/orq-rc/src/models/operations/listagents.ts +502 -194
  436. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  437. package/packages/orq-rc/src/models/operations/listconversations.ts +6 -16
  438. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +12 -12
  439. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  440. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  441. package/packages/orq-rc/src/models/operations/listpromptversions.ts +2 -0
  442. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +532 -202
  443. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  444. package/packages/orq-rc/src/models/operations/retrieveconversation.ts +75 -2
  445. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +12 -12
  446. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  447. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  448. package/packages/orq-rc/src/models/operations/retrievememory.ts +3 -0
  449. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +3 -0
  450. package/packages/orq-rc/src/models/operations/retrievetool.ts +12 -12
  451. package/packages/orq-rc/src/models/operations/runagent.ts +505 -202
  452. package/packages/orq-rc/src/models/operations/streamrunagent.ts +532 -209
  453. package/packages/orq-rc/src/models/operations/updateagent.ts +1491 -465
  454. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  455. package/packages/orq-rc/src/models/operations/updateconversation.ts +140 -2
  456. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +16 -16
  457. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  458. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  459. package/packages/orq-rc/src/models/operations/updateeval.ts +292 -28
  460. package/packages/orq-rc/src/models/operations/updatememory.ts +4 -1
  461. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +5 -2
  462. package/packages/orq-rc/src/models/operations/updatememorystore.ts +2 -0
  463. package/packages/orq-rc/src/models/operations/updateprompt.ts +8 -4
  464. package/packages/orq-rc/src/models/operations/updatetool.ts +14 -14
  465. package/packages/orq-rc/src/sdk/conversations.ts +20 -0
  466. package/packages/orq-rc/src/sdk/evaluators.ts +45 -0
  467. package/packages/orq-rc/src/sdk/router.ts +52 -0
  468. package/packages/orq-rc/src/sdk/sdk.ts +12 -6
  469. package/packages/orq-rc/src/sdk/tools.ts +36 -0
  470. package/sdk/conversations.d.ts +7 -0
  471. package/sdk/conversations.d.ts.map +1 -1
  472. package/sdk/conversations.js +10 -0
  473. package/sdk/conversations.js.map +1 -1
  474. package/sdk/evaluators.d.ts +19 -0
  475. package/sdk/evaluators.d.ts.map +1 -0
  476. package/sdk/evaluators.js +32 -0
  477. package/sdk/evaluators.js.map +1 -0
  478. package/sdk/router.d.ts +23 -0
  479. package/sdk/router.d.ts.map +1 -0
  480. package/sdk/router.js +34 -0
  481. package/sdk/router.js.map +1 -0
  482. package/sdk/sdk.d.ts +6 -3
  483. package/sdk/sdk.d.ts.map +1 -1
  484. package/sdk/sdk.js +8 -4
  485. package/sdk/sdk.js.map +1 -1
  486. package/sdk/tools.d.ts +14 -0
  487. package/sdk/tools.d.ts.map +1 -1
  488. package/sdk/tools.js +20 -0
  489. package/sdk/tools.js.map +1 -1
  490. package/{packages/orq-rc/src/funcs/budgetsUpdate.ts → src/funcs/conversationsGenerateName.ts} +45 -18
  491. package/src/funcs/conversationsList.ts +2 -2
  492. package/{packages/orq-rc/src/funcs/budgetsGet.ts → src/funcs/evaluatorsGetV2EvaluatorsIdVersions.ts} +32 -15
  493. package/src/funcs/evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts +190 -0
  494. package/{packages/orq-rc/src/funcs/budgetsCreate.ts → src/funcs/routerChatCompletions.ts} +29 -17
  495. package/{packages/orq-rc/src/funcs/budgetsDelete.ts → src/funcs/routerImagesGenerate.ts} +19 -26
  496. package/src/funcs/{budgetsList.ts → toolsGetV2ToolsToolIdVersions.ts} +34 -21
  497. package/src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts +190 -0
  498. package/src/lib/config.ts +3 -3
  499. package/src/lib/event-streams.ts +1 -1
  500. package/src/mcp-server/mcp-server.ts +1 -1
  501. package/src/mcp-server/prompts.ts +7 -3
  502. package/src/mcp-server/resources.ts +7 -3
  503. package/src/mcp-server/server.ts +15 -11
  504. package/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
  505. package/src/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersions.ts +39 -0
  506. package/src/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts +40 -0
  507. package/src/mcp-server/tools/routerChatCompletions.ts +37 -0
  508. package/{packages/orq-rc/src/mcp-server/tools/budgetsGet.ts → src/mcp-server/tools/routerImagesGenerate.ts} +7 -7
  509. package/src/mcp-server/tools/{budgetsUpdate.ts → toolsGetV2ToolsToolIdVersions.ts} +7 -7
  510. package/src/mcp-server/tools/toolsGetV2ToolsToolIdVersionsVersionId.ts +39 -0
  511. package/src/mcp-server/tools.ts +7 -3
  512. package/src/models/components/agentresponsemessage.ts +185 -0
  513. package/src/models/components/agentstartedstreamingevent.ts +30 -21
  514. package/src/models/components/conversationresponse.ts +68 -2
  515. package/src/models/components/createagentresponse.ts +340 -0
  516. package/src/models/components/index.ts +5 -0
  517. package/src/models/components/invokedeploymentrequest.ts +33 -25
  518. package/src/models/components/partdoneevent.ts +2 -2
  519. package/src/models/components/publiccontact.ts +99 -0
  520. package/src/models/components/reasoningpart.ts +2 -2
  521. package/src/models/components/responsedoneevent.ts +93 -68
  522. package/src/models/components/thinkingconfigdisabledschema.ts +59 -0
  523. package/src/models/components/thinkingconfigenabledschema.ts +106 -0
  524. package/src/models/errors/generateconversationname.ts +132 -0
  525. package/src/models/errors/getv2evaluatorsidversions.ts +67 -0
  526. package/src/models/errors/getv2evaluatorsidversionsversionid.ts +69 -0
  527. package/src/models/errors/getv2toolstoolidversions.ts +67 -0
  528. package/src/models/errors/getv2toolstoolidversionsversionid.ts +69 -0
  529. package/src/models/errors/index.ts +5 -0
  530. package/src/models/operations/createagentrequest.ts +1561 -542
  531. package/src/models/operations/createagentresponserequest.ts +72 -513
  532. package/src/models/operations/createchatcompletion.ts +8948 -0
  533. package/src/models/operations/createcontact.ts +2 -2
  534. package/src/models/operations/createconversation.ts +141 -6
  535. package/src/models/operations/createdataset.ts +2 -2
  536. package/src/models/operations/createdatasetitem.ts +16 -16
  537. package/src/models/operations/createdatasource.ts +2 -2
  538. package/src/models/operations/createeval.ts +292 -28
  539. package/src/models/operations/createimage.ts +966 -0
  540. package/src/models/operations/creatememory.ts +4 -1
  541. package/src/models/operations/creatememorydocument.ts +5 -2
  542. package/src/models/operations/createprompt.ts +54 -52
  543. package/src/models/operations/createtool.ts +12 -12
  544. package/src/models/operations/deploymentcreatemetric.ts +8 -8
  545. package/src/models/operations/deploymentgetconfig.ts +8 -8
  546. package/src/models/operations/deploymentinvoke.ts +141 -16
  547. package/src/models/operations/deployments.ts +2 -0
  548. package/src/models/operations/deploymentstream.ts +170 -25
  549. package/src/models/operations/fileget.ts +2 -2
  550. package/src/models/operations/filelist.ts +2 -2
  551. package/src/models/operations/fileupload.ts +2 -2
  552. package/src/models/operations/generateconversationname.ts +319 -0
  553. package/src/models/operations/getallmemories.ts +3 -0
  554. package/src/models/operations/getallmemorydocuments.ts +3 -0
  555. package/src/models/operations/getallprompts.ts +47 -38
  556. package/src/models/operations/getalltools.ts +12 -12
  557. package/src/models/operations/getevals.ts +196 -28
  558. package/src/models/operations/getoneprompt.ts +2 -0
  559. package/src/models/operations/getpromptversion.ts +2 -0
  560. package/src/models/operations/getv2evaluatorsidversions.ts +274 -0
  561. package/src/models/operations/getv2evaluatorsidversionsversionid.ts +193 -0
  562. package/src/models/operations/getv2toolstoolidversions.ts +276 -0
  563. package/src/models/operations/getv2toolstoolidversionsversionid.ts +194 -0
  564. package/src/models/operations/index.ts +7 -5
  565. package/src/models/operations/invokeagent.ts +19 -26
  566. package/src/models/operations/invokeeval.ts +11 -10
  567. package/src/models/operations/listagents.ts +502 -194
  568. package/src/models/operations/listcontacts.ts +2 -2
  569. package/src/models/operations/listconversations.ts +6 -16
  570. package/src/models/operations/listdatasetdatapoints.ts +12 -12
  571. package/src/models/operations/listdatasets.ts +2 -2
  572. package/src/models/operations/listdatasources.ts +2 -2
  573. package/src/models/operations/listpromptversions.ts +2 -0
  574. package/src/models/operations/retrieveagentrequest.ts +532 -202
  575. package/src/models/operations/retrievecontact.ts +2 -2
  576. package/src/models/operations/retrieveconversation.ts +75 -2
  577. package/src/models/operations/retrievedatapoint.ts +12 -12
  578. package/src/models/operations/retrievedataset.ts +2 -2
  579. package/src/models/operations/retrievedatasource.ts +2 -2
  580. package/src/models/operations/retrievememory.ts +3 -0
  581. package/src/models/operations/retrievememorydocument.ts +3 -0
  582. package/src/models/operations/retrievetool.ts +12 -12
  583. package/src/models/operations/runagent.ts +505 -202
  584. package/src/models/operations/streamrunagent.ts +532 -209
  585. package/src/models/operations/updateagent.ts +1491 -465
  586. package/src/models/operations/updatecontact.ts +2 -2
  587. package/src/models/operations/updateconversation.ts +140 -2
  588. package/src/models/operations/updatedatapoint.ts +16 -16
  589. package/src/models/operations/updatedataset.ts +2 -2
  590. package/src/models/operations/updatedatasource.ts +2 -2
  591. package/src/models/operations/updateeval.ts +292 -28
  592. package/src/models/operations/updatememory.ts +4 -1
  593. package/src/models/operations/updatememorydocument.ts +5 -2
  594. package/src/models/operations/updatememorystore.ts +2 -0
  595. package/src/models/operations/updateprompt.ts +8 -4
  596. package/src/models/operations/updatetool.ts +14 -14
  597. package/src/sdk/conversations.ts +20 -0
  598. package/src/sdk/evaluators.ts +45 -0
  599. package/src/sdk/router.ts +52 -0
  600. package/src/sdk/sdk.ts +12 -6
  601. package/src/sdk/tools.ts +36 -0
  602. package/funcs/budgetsCreate.d.ts +0 -17
  603. package/funcs/budgetsCreate.d.ts.map +0 -1
  604. package/funcs/budgetsCreate.js.map +0 -1
  605. package/funcs/budgetsDelete.d.ts.map +0 -1
  606. package/funcs/budgetsDelete.js.map +0 -1
  607. package/funcs/budgetsGet.d.ts +0 -17
  608. package/funcs/budgetsGet.d.ts.map +0 -1
  609. package/funcs/budgetsGet.js.map +0 -1
  610. package/funcs/budgetsList.d.ts.map +0 -1
  611. package/funcs/budgetsList.js.map +0 -1
  612. package/funcs/budgetsUpdate.d.ts.map +0 -1
  613. package/funcs/budgetsUpdate.js.map +0 -1
  614. package/mcp-server/tools/budgetsCreate.d.ts +0 -8
  615. package/mcp-server/tools/budgetsCreate.d.ts.map +0 -1
  616. package/mcp-server/tools/budgetsCreate.js.map +0 -1
  617. package/mcp-server/tools/budgetsDelete.d.ts +0 -8
  618. package/mcp-server/tools/budgetsDelete.d.ts.map +0 -1
  619. package/mcp-server/tools/budgetsDelete.js.map +0 -1
  620. package/mcp-server/tools/budgetsGet.d.ts +0 -8
  621. package/mcp-server/tools/budgetsGet.d.ts.map +0 -1
  622. package/mcp-server/tools/budgetsGet.js.map +0 -1
  623. package/mcp-server/tools/budgetsList.d.ts +0 -8
  624. package/mcp-server/tools/budgetsList.d.ts.map +0 -1
  625. package/mcp-server/tools/budgetsList.js.map +0 -1
  626. package/mcp-server/tools/budgetsUpdate.d.ts +0 -8
  627. package/mcp-server/tools/budgetsUpdate.d.ts.map +0 -1
  628. package/mcp-server/tools/budgetsUpdate.js.map +0 -1
  629. package/models/operations/createbudget.d.ts +0 -315
  630. package/models/operations/createbudget.d.ts.map +0 -1
  631. package/models/operations/createbudget.js +0 -314
  632. package/models/operations/createbudget.js.map +0 -1
  633. package/models/operations/deletebudget.d.ts +0 -20
  634. package/models/operations/deletebudget.d.ts.map +0 -1
  635. package/models/operations/deletebudget.js.map +0 -1
  636. package/models/operations/getbudget.d.ts +0 -171
  637. package/models/operations/getbudget.d.ts.map +0 -1
  638. package/models/operations/getbudget.js +0 -191
  639. package/models/operations/getbudget.js.map +0 -1
  640. package/models/operations/listbudgets.d.ts +0 -234
  641. package/models/operations/listbudgets.d.ts.map +0 -1
  642. package/models/operations/listbudgets.js +0 -257
  643. package/models/operations/listbudgets.js.map +0 -1
  644. package/models/operations/updatebudget.d.ts +0 -235
  645. package/models/operations/updatebudget.d.ts.map +0 -1
  646. package/models/operations/updatebudget.js +0 -260
  647. package/models/operations/updatebudget.js.map +0 -1
  648. package/packages/orq-rc/src/mcp-server/tools/budgetsCreate.ts +0 -37
  649. package/packages/orq-rc/src/mcp-server/tools/budgetsDelete.ts +0 -35
  650. package/packages/orq-rc/src/mcp-server/tools/budgetsList.ts +0 -37
  651. package/packages/orq-rc/src/models/operations/createbudget.ts +0 -653
  652. package/packages/orq-rc/src/models/operations/deletebudget.ts +0 -54
  653. package/packages/orq-rc/src/models/operations/getbudget.ts +0 -366
  654. package/packages/orq-rc/src/models/operations/listbudgets.ts +0 -503
  655. package/packages/orq-rc/src/models/operations/updatebudget.ts +0 -511
  656. package/packages/orq-rc/src/sdk/budgets.ts +0 -99
  657. package/sdk/budgets.d.ts +0 -40
  658. package/sdk/budgets.d.ts.map +0 -1
  659. package/sdk/budgets.js +0 -62
  660. package/sdk/budgets.js.map +0 -1
  661. package/src/mcp-server/tools/budgetsCreate.ts +0 -37
  662. package/src/mcp-server/tools/budgetsDelete.ts +0 -35
  663. package/src/mcp-server/tools/budgetsList.ts +0 -37
  664. package/src/models/operations/createbudget.ts +0 -653
  665. package/src/models/operations/deletebudget.ts +0 -54
  666. package/src/models/operations/getbudget.ts +0 -366
  667. package/src/models/operations/listbudgets.ts +0 -503
  668. package/src/models/operations/updatebudget.ts +0 -511
  669. package/src/sdk/budgets.ts +0 -99
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v3";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import * as components from "../components/index.js";
4
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
6
  /**
6
7
  * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
@@ -91,6 +92,39 @@ export type UpdateAgentResponseFormatText = {
91
92
  * An object specifying the format that the model must output
92
93
  */
93
94
  export type ModelConfigurationResponseFormat = UpdateAgentResponseFormatText | UpdateAgentResponseFormatJSONObject | UpdateAgentResponseFormatJSONSchema;
95
+ /**
96
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
97
+ *
98
+ * @remarks
99
+ *
100
+ * - `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.
101
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
102
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
103
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
104
+ *
105
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
106
+ */
107
+ export declare const ModelConfigurationReasoningEffort: {
108
+ readonly None: "none";
109
+ readonly Minimal: "minimal";
110
+ readonly Low: "low";
111
+ readonly Medium: "medium";
112
+ readonly High: "high";
113
+ readonly Xhigh: "xhigh";
114
+ };
115
+ /**
116
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
117
+ *
118
+ * @remarks
119
+ *
120
+ * - `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.
121
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
122
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
123
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
124
+ *
125
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
126
+ */
127
+ export type ModelConfigurationReasoningEffort = ClosedEnum<typeof ModelConfigurationReasoningEffort>;
94
128
  /**
95
129
  * Up to 4 sequences where the API will stop generating further tokens.
96
130
  */
@@ -104,42 +138,7 @@ export type ModelConfigurationStreamOptions = {
104
138
  */
105
139
  includeUsage?: boolean | undefined;
106
140
  };
107
- /**
108
- * Enables or disables the thinking mode capability
109
- */
110
- export declare const UpdateAgentModelConfigurationType: {
111
- readonly Enabled: "enabled";
112
- readonly Disabled: "disabled";
113
- };
114
- /**
115
- * Enables or disables the thinking mode capability
116
- */
117
- export type UpdateAgentModelConfigurationType = ClosedEnum<typeof UpdateAgentModelConfigurationType>;
118
- /**
119
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
120
- */
121
- export declare const ModelConfigurationThinkingLevel: {
122
- readonly Low: "low";
123
- readonly High: "high";
124
- };
125
- /**
126
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
127
- */
128
- export type ModelConfigurationThinkingLevel = ClosedEnum<typeof ModelConfigurationThinkingLevel>;
129
- export type ModelConfigurationThinking = {
130
- /**
131
- * Enables or disables the thinking mode capability
132
- */
133
- type: UpdateAgentModelConfigurationType;
134
- /**
135
- * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
136
- */
137
- budgetTokens: number;
138
- /**
139
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
140
- */
141
- thinkingLevel?: ModelConfigurationThinkingLevel | undefined;
142
- };
141
+ export type ModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
143
142
  /**
144
143
  * The type of the tool. Currently, only function is supported.
145
144
  */
@@ -178,6 +177,37 @@ export declare const ModelConfigurationModalities: {
178
177
  readonly Audio: "audio";
179
178
  };
180
179
  export type ModelConfigurationModalities = ClosedEnum<typeof ModelConfigurationModalities>;
180
+ /**
181
+ * The key of the guardrail.
182
+ */
183
+ export declare const UpdateAgentId1: {
184
+ readonly OrqPiiDetection: "orq_pii_detection";
185
+ readonly OrqSexualModeration: "orq_sexual_moderation";
186
+ readonly OrqHarmfulModeration: "orq_harmful_moderation";
187
+ };
188
+ /**
189
+ * The key of the guardrail.
190
+ */
191
+ export type UpdateAgentId1 = ClosedEnum<typeof UpdateAgentId1>;
192
+ export type ModelConfigurationId = UpdateAgentId1 | string;
193
+ /**
194
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
195
+ */
196
+ export declare const ModelConfigurationExecuteOn: {
197
+ readonly Input: "input";
198
+ readonly Output: "output";
199
+ };
200
+ /**
201
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
202
+ */
203
+ export type ModelConfigurationExecuteOn = ClosedEnum<typeof ModelConfigurationExecuteOn>;
204
+ export type ModelConfigurationGuardrails = {
205
+ id: UpdateAgentId1 | string;
206
+ /**
207
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
208
+ */
209
+ executeOn: ModelConfigurationExecuteOn;
210
+ };
181
211
  /**
182
212
  * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
183
213
  */
@@ -223,9 +253,18 @@ export type ModelConfigurationParameters = {
223
253
  */
224
254
  responseFormat?: UpdateAgentResponseFormatText | UpdateAgentResponseFormatJSONObject | UpdateAgentResponseFormatJSONSchema | undefined;
225
255
  /**
226
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
256
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
257
+ *
258
+ * @remarks
259
+ *
260
+ * - `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.
261
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
262
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
263
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
264
+ *
265
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
227
266
  */
228
- reasoningEffort?: string | undefined;
267
+ reasoningEffort?: ModelConfigurationReasoningEffort | undefined;
229
268
  /**
230
269
  * Adjusts response verbosity. Lower levels yield shorter answers.
231
270
  */
@@ -242,7 +281,7 @@ export type ModelConfigurationParameters = {
242
281
  * Options for streaming response. Only set this when you set stream: true.
243
282
  */
244
283
  streamOptions?: ModelConfigurationStreamOptions | null | undefined;
245
- thinking?: ModelConfigurationThinking | undefined;
284
+ thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
246
285
  /**
247
286
  * 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.
248
287
  */
@@ -267,6 +306,10 @@ export type ModelConfigurationParameters = {
267
306
  * 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"].
268
307
  */
269
308
  modalities?: Array<ModelConfigurationModalities> | null | undefined;
309
+ /**
310
+ * A list of guardrails to apply to the request.
311
+ */
312
+ guardrails?: Array<ModelConfigurationGuardrails> | undefined;
270
313
  };
271
314
  /**
272
315
  * Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
@@ -393,6 +436,39 @@ export type UpdateAgentResponseFormatAgentsText = {
393
436
  * An object specifying the format that the model must output
394
437
  */
395
438
  export type UpdateAgentFallbackModelConfigurationResponseFormat = UpdateAgentResponseFormatAgentsText | UpdateAgentResponseFormatAgentsJSONObject | UpdateAgentResponseFormatAgentsRequestJSONSchema;
439
+ /**
440
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
441
+ *
442
+ * @remarks
443
+ *
444
+ * - `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.
445
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
446
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
447
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
448
+ *
449
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
450
+ */
451
+ export declare const UpdateAgentFallbackModelConfigurationReasoningEffort: {
452
+ readonly None: "none";
453
+ readonly Minimal: "minimal";
454
+ readonly Low: "low";
455
+ readonly Medium: "medium";
456
+ readonly High: "high";
457
+ readonly Xhigh: "xhigh";
458
+ };
459
+ /**
460
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
461
+ *
462
+ * @remarks
463
+ *
464
+ * - `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.
465
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
466
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
467
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
468
+ *
469
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
470
+ */
471
+ export type UpdateAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationReasoningEffort>;
396
472
  /**
397
473
  * Up to 4 sequences where the API will stop generating further tokens.
398
474
  */
@@ -406,42 +482,7 @@ export type UpdateAgentFallbackModelConfigurationStreamOptions = {
406
482
  */
407
483
  includeUsage?: boolean | undefined;
408
484
  };
409
- /**
410
- * Enables or disables the thinking mode capability
411
- */
412
- export declare const UpdateAgentFallbackModelConfigurationType: {
413
- readonly Enabled: "enabled";
414
- readonly Disabled: "disabled";
415
- };
416
- /**
417
- * Enables or disables the thinking mode capability
418
- */
419
- export type UpdateAgentFallbackModelConfigurationType = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationType>;
420
- /**
421
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
422
- */
423
- export declare const UpdateAgentFallbackModelConfigurationThinkingLevel: {
424
- readonly Low: "low";
425
- readonly High: "high";
426
- };
427
- /**
428
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
429
- */
430
- export type UpdateAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationThinkingLevel>;
431
- export type UpdateAgentFallbackModelConfigurationThinking = {
432
- /**
433
- * Enables or disables the thinking mode capability
434
- */
435
- type: UpdateAgentFallbackModelConfigurationType;
436
- /**
437
- * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
438
- */
439
- budgetTokens: number;
440
- /**
441
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
442
- */
443
- thinkingLevel?: UpdateAgentFallbackModelConfigurationThinkingLevel | undefined;
444
- };
485
+ export type UpdateAgentFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
445
486
  /**
446
487
  * The type of the tool. Currently, only function is supported.
447
488
  */
@@ -480,6 +521,37 @@ export declare const UpdateAgentFallbackModelConfigurationModalities: {
480
521
  readonly Audio: "audio";
481
522
  };
482
523
  export type UpdateAgentFallbackModelConfigurationModalities = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationModalities>;
524
+ /**
525
+ * The key of the guardrail.
526
+ */
527
+ export declare const UpdateAgentIdAgents1: {
528
+ readonly OrqPiiDetection: "orq_pii_detection";
529
+ readonly OrqSexualModeration: "orq_sexual_moderation";
530
+ readonly OrqHarmfulModeration: "orq_harmful_moderation";
531
+ };
532
+ /**
533
+ * The key of the guardrail.
534
+ */
535
+ export type UpdateAgentIdAgents1 = ClosedEnum<typeof UpdateAgentIdAgents1>;
536
+ export type UpdateAgentFallbackModelConfigurationId = UpdateAgentIdAgents1 | string;
537
+ /**
538
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
539
+ */
540
+ export declare const UpdateAgentFallbackModelConfigurationExecuteOn: {
541
+ readonly Input: "input";
542
+ readonly Output: "output";
543
+ };
544
+ /**
545
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
546
+ */
547
+ export type UpdateAgentFallbackModelConfigurationExecuteOn = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationExecuteOn>;
548
+ export type UpdateAgentFallbackModelConfigurationGuardrails = {
549
+ id: UpdateAgentIdAgents1 | string;
550
+ /**
551
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
552
+ */
553
+ executeOn: UpdateAgentFallbackModelConfigurationExecuteOn;
554
+ };
483
555
  /**
484
556
  * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
485
557
  */
@@ -525,9 +597,18 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
525
597
  */
526
598
  responseFormat?: UpdateAgentResponseFormatAgentsText | UpdateAgentResponseFormatAgentsJSONObject | UpdateAgentResponseFormatAgentsRequestJSONSchema | undefined;
527
599
  /**
528
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
600
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
601
+ *
602
+ * @remarks
603
+ *
604
+ * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
605
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
606
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
607
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
608
+ *
609
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
529
610
  */
530
- reasoningEffort?: string | undefined;
611
+ reasoningEffort?: UpdateAgentFallbackModelConfigurationReasoningEffort | undefined;
531
612
  /**
532
613
  * Adjusts response verbosity. Lower levels yield shorter answers.
533
614
  */
@@ -544,7 +625,7 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
544
625
  * Options for streaming response. Only set this when you set stream: true.
545
626
  */
546
627
  streamOptions?: UpdateAgentFallbackModelConfigurationStreamOptions | null | undefined;
547
- thinking?: UpdateAgentFallbackModelConfigurationThinking | undefined;
628
+ thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
548
629
  /**
549
630
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
550
631
  */
@@ -569,6 +650,10 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
569
650
  * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
570
651
  */
571
652
  modalities?: Array<UpdateAgentFallbackModelConfigurationModalities> | null | undefined;
653
+ /**
654
+ * A list of guardrails to apply to the request.
655
+ */
656
+ guardrails?: Array<UpdateAgentFallbackModelConfigurationGuardrails> | undefined;
572
657
  };
573
658
  /**
574
659
  * Fallback model configuration with optional parameters.
@@ -599,6 +684,16 @@ export declare const UpdateAgentToolApprovalRequired: {
599
684
  * 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.
600
685
  */
601
686
  export type UpdateAgentToolApprovalRequired = ClosedEnum<typeof UpdateAgentToolApprovalRequired>;
687
+ /**
688
+ * MCP tool type
689
+ */
690
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type: {
691
+ readonly Mcp: "mcp";
692
+ };
693
+ /**
694
+ * MCP tool type
695
+ */
696
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type>;
602
697
  /**
603
698
  * Executes tools from Model Context Protocol (MCP) servers. Specify the parent MCP tool using "key" or "id", and the specific nested tool using "tool_id".
604
699
  */
@@ -606,7 +701,7 @@ export type AgentToolInputCRUDMCPTool = {
606
701
  /**
607
702
  * MCP tool type
608
703
  */
609
- type: "mcp";
704
+ type?: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type | undefined;
610
705
  /**
611
706
  * The key of the parent MCP tool
612
707
  */
@@ -624,6 +719,16 @@ export type AgentToolInputCRUDMCPTool = {
624
719
  */
625
720
  requiresApproval?: boolean | undefined;
626
721
  };
722
+ /**
723
+ * Function tool type
724
+ */
725
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type: {
726
+ readonly Function: "function";
727
+ };
728
+ /**
729
+ * Function tool type
730
+ */
731
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
627
732
  /**
628
733
  * Calls custom function tools defined in the agent configuration. Must reference a pre-created function tool by key or id.
629
734
  */
@@ -631,7 +736,7 @@ export type AgentToolInputCRUDFunctionTool = {
631
736
  /**
632
737
  * Function tool type
633
738
  */
634
- type: "function";
739
+ type?: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type | undefined;
635
740
  /**
636
741
  * The key of the pre-created function tool
637
742
  */
@@ -645,6 +750,16 @@ export type AgentToolInputCRUDFunctionTool = {
645
750
  */
646
751
  requiresApproval?: boolean | undefined;
647
752
  };
753
+ /**
754
+ * Code execution tool type
755
+ */
756
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type: {
757
+ readonly Code: "code";
758
+ };
759
+ /**
760
+ * Code execution tool type
761
+ */
762
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
648
763
  /**
649
764
  * Executes code snippets in a sandboxed environment. Must reference a pre-created code tool by key or id.
650
765
  */
@@ -652,7 +767,7 @@ export type AgentToolInputCRUDCodeExecutionTool = {
652
767
  /**
653
768
  * Code execution tool type
654
769
  */
655
- type: "code";
770
+ type?: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type | undefined;
656
771
  /**
657
772
  * The key of the pre-created code tool
658
773
  */
@@ -666,6 +781,16 @@ export type AgentToolInputCRUDCodeExecutionTool = {
666
781
  */
667
782
  requiresApproval?: boolean | undefined;
668
783
  };
784
+ /**
785
+ * HTTP tool type
786
+ */
787
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type: {
788
+ readonly Http: "http";
789
+ };
790
+ /**
791
+ * HTTP tool type
792
+ */
793
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
669
794
  /**
670
795
  * Executes HTTP requests to interact with external APIs and web services. Must reference a pre-created HTTP tool by key or id.
671
796
  */
@@ -673,7 +798,7 @@ export type AgentToolInputCRUDHTTPTool = {
673
798
  /**
674
799
  * HTTP tool type
675
800
  */
676
- type: "http";
801
+ type?: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type | undefined;
677
802
  /**
678
803
  * The key of the pre-created HTTP tool
679
804
  */
@@ -687,111 +812,155 @@ export type AgentToolInputCRUDHTTPTool = {
687
812
  */
688
813
  requiresApproval?: boolean | undefined;
689
814
  };
815
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type: {
816
+ readonly CurrentDate: "current_date";
817
+ };
818
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
690
819
  /**
691
820
  * Returns the current date and time
692
821
  */
693
822
  export type AgentToolInputCRUDCurrentDateTool = {
694
- type: "current_date";
823
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type;
695
824
  /**
696
825
  * Whether this tool requires approval before execution
697
826
  */
698
827
  requiresApproval?: boolean | undefined;
699
828
  };
829
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type: {
830
+ readonly QueryKnowledgeBase: "query_knowledge_base";
831
+ };
832
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
700
833
  /**
701
834
  * Queries knowledge bases for information
702
835
  */
703
836
  export type AgentToolInputCRUDQueryKnowledgeBaseTool = {
704
- type: "query_knowledge_base";
837
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type;
705
838
  /**
706
839
  * Whether this tool requires approval before execution
707
840
  */
708
841
  requiresApproval?: boolean | undefined;
709
842
  };
843
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type: {
844
+ readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
845
+ };
846
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
710
847
  /**
711
848
  * Lists available knowledge bases
712
849
  */
713
850
  export type AgentToolInputCRUDRetrieveKnowledgeBasesTool = {
714
- type: "retrieve_knowledge_bases";
851
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type;
715
852
  /**
716
853
  * Whether this tool requires approval before execution
717
854
  */
718
855
  requiresApproval?: boolean | undefined;
719
856
  };
857
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type: {
858
+ readonly DeleteMemoryDocument: "delete_memory_document";
859
+ };
860
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
720
861
  /**
721
862
  * Deletes documents from memory stores
722
863
  */
723
864
  export type AgentToolInputCRUDDeleteMemoryDocumentTool = {
724
- type: "delete_memory_document";
865
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type;
725
866
  /**
726
867
  * Whether this tool requires approval before execution
727
868
  */
728
869
  requiresApproval?: boolean | undefined;
729
870
  };
871
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type: {
872
+ readonly RetrieveMemoryStores: "retrieve_memory_stores";
873
+ };
874
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type>;
730
875
  /**
731
876
  * Lists available memory stores
732
877
  */
733
878
  export type AgentToolInputCRUDRetrieveMemoryStoresTool = {
734
- type: "retrieve_memory_stores";
879
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type;
735
880
  /**
736
881
  * Whether this tool requires approval before execution
737
882
  */
738
883
  requiresApproval?: boolean | undefined;
739
884
  };
885
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType: {
886
+ readonly WriteMemoryStore: "write_memory_store";
887
+ };
888
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
740
889
  /**
741
890
  * Writes information to agent memory stores
742
891
  */
743
892
  export type AgentToolInputCRUDWriteMemoryStoreTool = {
744
- type: "write_memory_store";
893
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType;
745
894
  /**
746
895
  * Whether this tool requires approval before execution
747
896
  */
748
897
  requiresApproval?: boolean | undefined;
749
898
  };
899
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType: {
900
+ readonly QueryMemoryStore: "query_memory_store";
901
+ };
902
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
750
903
  /**
751
904
  * Queries agent memory stores for context
752
905
  */
753
906
  export type AgentToolInputCRUDQueryMemoryStoreTool = {
754
- type: "query_memory_store";
907
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType;
755
908
  /**
756
909
  * Whether this tool requires approval before execution
757
910
  */
758
911
  requiresApproval?: boolean | undefined;
759
912
  };
913
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType: {
914
+ readonly RetrieveAgents: "retrieve_agents";
915
+ };
916
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
760
917
  /**
761
918
  * Retrieves available agents in the system
762
919
  */
763
920
  export type AgentToolInputCRUDRetrieveAgentsTool = {
764
- type: "retrieve_agents";
921
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType;
765
922
  /**
766
923
  * Whether this tool requires approval before execution
767
924
  */
768
925
  requiresApproval?: boolean | undefined;
769
926
  };
927
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestType: {
928
+ readonly CallSubAgent: "call_sub_agent";
929
+ };
930
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestType>;
770
931
  /**
771
932
  * Delegates tasks to specialized sub-agents
772
933
  */
773
934
  export type AgentToolInputCRUDCallSubAgentTool = {
774
- type: "call_sub_agent";
935
+ type: UpdateAgentAgentToolInputCRUDAgentsRequestType;
775
936
  /**
776
937
  * Whether this tool requires approval before execution
777
938
  */
778
939
  requiresApproval?: boolean | undefined;
779
940
  };
941
+ export declare const UpdateAgentAgentToolInputCRUDAgentsType: {
942
+ readonly WebScraper: "web_scraper";
943
+ };
944
+ export type UpdateAgentAgentToolInputCRUDAgentsType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsType>;
780
945
  /**
781
946
  * Scrapes and extracts content from web pages
782
947
  */
783
948
  export type AgentToolInputCRUDWebScraperTool = {
784
- type: "web_scraper";
949
+ type: UpdateAgentAgentToolInputCRUDAgentsType;
785
950
  /**
786
951
  * Whether this tool requires approval before execution
787
952
  */
788
953
  requiresApproval?: boolean | undefined;
789
954
  };
955
+ export declare const UpdateAgentAgentToolInputCRUDType: {
956
+ readonly GoogleSearch: "google_search";
957
+ };
958
+ export type UpdateAgentAgentToolInputCRUDType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDType>;
790
959
  /**
791
960
  * Performs Google searches to retrieve web content
792
961
  */
793
962
  export type AgentToolInputCRUDGoogleSearchTool = {
794
- type: "google_search";
963
+ type: UpdateAgentAgentToolInputCRUDType;
795
964
  /**
796
965
  * Whether this tool requires approval before execution
797
966
  */
@@ -800,7 +969,7 @@ export type AgentToolInputCRUDGoogleSearchTool = {
800
969
  /**
801
970
  * Tool configuration for agent create/update operations. Built-in tools only require a type, while custom tools (HTTP, Code, Function, MCP) must reference pre-created tools by key or id.
802
971
  */
803
- export type UpdateAgentAgentToolInputCRUD = AgentToolInputCRUDGoogleSearchTool | AgentToolInputCRUDWebScraperTool | AgentToolInputCRUDCallSubAgentTool | AgentToolInputCRUDRetrieveAgentsTool | AgentToolInputCRUDQueryMemoryStoreTool | AgentToolInputCRUDWriteMemoryStoreTool | AgentToolInputCRUDRetrieveMemoryStoresTool | AgentToolInputCRUDDeleteMemoryDocumentTool | AgentToolInputCRUDRetrieveKnowledgeBasesTool | AgentToolInputCRUDQueryKnowledgeBaseTool | AgentToolInputCRUDCurrentDateTool | AgentToolInputCRUDHTTPTool | AgentToolInputCRUDCodeExecutionTool | AgentToolInputCRUDFunctionTool | AgentToolInputCRUDMCPTool;
972
+ export type UpdateAgentAgentToolInputCRUD = AgentToolInputCRUDGoogleSearchTool | AgentToolInputCRUDWebScraperTool | AgentToolInputCRUDCallSubAgentTool | AgentToolInputCRUDRetrieveAgentsTool | AgentToolInputCRUDQueryMemoryStoreTool | AgentToolInputCRUDWriteMemoryStoreTool | AgentToolInputCRUDRetrieveMemoryStoresTool | AgentToolInputCRUDDeleteMemoryDocumentTool | AgentToolInputCRUDRetrieveKnowledgeBasesTool | AgentToolInputCRUDQueryKnowledgeBaseTool | AgentToolInputCRUDCurrentDateTool | AgentToolInputCRUDMCPTool | AgentToolInputCRUDHTTPTool | AgentToolInputCRUDCodeExecutionTool | AgentToolInputCRUDFunctionTool;
804
973
  /**
805
974
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
806
975
  */
@@ -867,7 +1036,7 @@ export type UpdateAgentSettings = {
867
1036
  /**
868
1037
  * Tools available to the agent. Built-in tools only need a type, while custom tools (http, code, function) must reference pre-created tools by key or id.
869
1038
  */
870
- tools?: Array<AgentToolInputCRUDGoogleSearchTool | AgentToolInputCRUDWebScraperTool | AgentToolInputCRUDCallSubAgentTool | AgentToolInputCRUDRetrieveAgentsTool | AgentToolInputCRUDQueryMemoryStoreTool | AgentToolInputCRUDWriteMemoryStoreTool | AgentToolInputCRUDRetrieveMemoryStoresTool | AgentToolInputCRUDDeleteMemoryDocumentTool | AgentToolInputCRUDRetrieveKnowledgeBasesTool | AgentToolInputCRUDQueryKnowledgeBaseTool | AgentToolInputCRUDCurrentDateTool | AgentToolInputCRUDHTTPTool | AgentToolInputCRUDCodeExecutionTool | AgentToolInputCRUDFunctionTool | AgentToolInputCRUDMCPTool> | undefined;
1039
+ tools?: Array<AgentToolInputCRUDGoogleSearchTool | AgentToolInputCRUDWebScraperTool | AgentToolInputCRUDCallSubAgentTool | AgentToolInputCRUDRetrieveAgentsTool | AgentToolInputCRUDQueryMemoryStoreTool | AgentToolInputCRUDWriteMemoryStoreTool | AgentToolInputCRUDRetrieveMemoryStoresTool | AgentToolInputCRUDDeleteMemoryDocumentTool | AgentToolInputCRUDRetrieveKnowledgeBasesTool | AgentToolInputCRUDQueryKnowledgeBaseTool | AgentToolInputCRUDCurrentDateTool | AgentToolInputCRUDMCPTool | AgentToolInputCRUDHTTPTool | AgentToolInputCRUDCodeExecutionTool | AgentToolInputCRUDFunctionTool> | undefined;
871
1040
  /**
872
1041
  * Configuration for an evaluator applied to the agent
873
1042
  */
@@ -901,6 +1070,9 @@ export type UpdateAgentUpdateAgentRequest = {
901
1070
  displayName?: string | undefined;
902
1071
  projectId?: string | undefined;
903
1072
  role?: string | undefined;
1073
+ /**
1074
+ * A brief description of what the agent does
1075
+ */
904
1076
  description?: string | undefined;
905
1077
  instructions?: string | undefined;
906
1078
  /**
@@ -1176,6 +1348,39 @@ export type UpdateAgentResponseFormatAgentsResponseText = {
1176
1348
  * An object specifying the format that the model must output
1177
1349
  */
1178
1350
  export type UpdateAgentResponseFormat = UpdateAgentResponseFormatAgentsResponseText | UpdateAgentResponseFormatAgentsResponseJSONObject | UpdateAgentResponseFormatAgentsResponse200JSONSchema;
1351
+ /**
1352
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1353
+ *
1354
+ * @remarks
1355
+ *
1356
+ * - `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.
1357
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1358
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1359
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1360
+ *
1361
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1362
+ */
1363
+ export declare const UpdateAgentReasoningEffort: {
1364
+ readonly None: "none";
1365
+ readonly Minimal: "minimal";
1366
+ readonly Low: "low";
1367
+ readonly Medium: "medium";
1368
+ readonly High: "high";
1369
+ readonly Xhigh: "xhigh";
1370
+ };
1371
+ /**
1372
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1373
+ *
1374
+ * @remarks
1375
+ *
1376
+ * - `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.
1377
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1378
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1379
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1380
+ *
1381
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1382
+ */
1383
+ export type UpdateAgentReasoningEffort = ClosedEnum<typeof UpdateAgentReasoningEffort>;
1179
1384
  /**
1180
1385
  * Up to 4 sequences where the API will stop generating further tokens.
1181
1386
  */
@@ -1189,42 +1394,7 @@ export type UpdateAgentStreamOptions = {
1189
1394
  */
1190
1395
  includeUsage?: boolean | undefined;
1191
1396
  };
1192
- /**
1193
- * Enables or disables the thinking mode capability
1194
- */
1195
- export declare const UpdateAgentType: {
1196
- readonly Enabled: "enabled";
1197
- readonly Disabled: "disabled";
1198
- };
1199
- /**
1200
- * Enables or disables the thinking mode capability
1201
- */
1202
- export type UpdateAgentType = ClosedEnum<typeof UpdateAgentType>;
1203
- /**
1204
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
1205
- */
1206
- export declare const UpdateAgentThinkingLevel: {
1207
- readonly Low: "low";
1208
- readonly High: "high";
1209
- };
1210
- /**
1211
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
1212
- */
1213
- export type UpdateAgentThinkingLevel = ClosedEnum<typeof UpdateAgentThinkingLevel>;
1214
- export type UpdateAgentThinking = {
1215
- /**
1216
- * Enables or disables the thinking mode capability
1217
- */
1218
- type: UpdateAgentType;
1219
- /**
1220
- * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
1221
- */
1222
- budgetTokens: number;
1223
- /**
1224
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
1225
- */
1226
- thinkingLevel?: UpdateAgentThinkingLevel | undefined;
1227
- };
1397
+ export type UpdateAgentThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1228
1398
  /**
1229
1399
  * The type of the tool. Currently, only function is supported.
1230
1400
  */
@@ -1263,6 +1433,37 @@ export declare const UpdateAgentModalities: {
1263
1433
  readonly Audio: "audio";
1264
1434
  };
1265
1435
  export type UpdateAgentModalities = ClosedEnum<typeof UpdateAgentModalities>;
1436
+ /**
1437
+ * The key of the guardrail.
1438
+ */
1439
+ export declare const UpdateAgentIdAgentsResponse1: {
1440
+ readonly OrqPiiDetection: "orq_pii_detection";
1441
+ readonly OrqSexualModeration: "orq_sexual_moderation";
1442
+ readonly OrqHarmfulModeration: "orq_harmful_moderation";
1443
+ };
1444
+ /**
1445
+ * The key of the guardrail.
1446
+ */
1447
+ export type UpdateAgentIdAgentsResponse1 = ClosedEnum<typeof UpdateAgentIdAgentsResponse1>;
1448
+ export type UpdateAgentId = UpdateAgentIdAgentsResponse1 | string;
1449
+ /**
1450
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
1451
+ */
1452
+ export declare const UpdateAgentAgentsResponse200ApplicationJSONExecuteOn: {
1453
+ readonly Input: "input";
1454
+ readonly Output: "output";
1455
+ };
1456
+ /**
1457
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
1458
+ */
1459
+ export type UpdateAgentAgentsResponse200ApplicationJSONExecuteOn = ClosedEnum<typeof UpdateAgentAgentsResponse200ApplicationJSONExecuteOn>;
1460
+ export type UpdateAgentAgentsResponseGuardrails = {
1461
+ id: UpdateAgentIdAgentsResponse1 | string;
1462
+ /**
1463
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
1464
+ */
1465
+ executeOn: UpdateAgentAgentsResponse200ApplicationJSONExecuteOn;
1466
+ };
1266
1467
  /**
1267
1468
  * 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.
1268
1469
  */
@@ -1308,9 +1509,18 @@ export type UpdateAgentParameters = {
1308
1509
  */
1309
1510
  responseFormat?: UpdateAgentResponseFormatAgentsResponseText | UpdateAgentResponseFormatAgentsResponseJSONObject | UpdateAgentResponseFormatAgentsResponse200JSONSchema | undefined;
1310
1511
  /**
1311
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1512
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1513
+ *
1514
+ * @remarks
1515
+ *
1516
+ * - `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.
1517
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1518
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1519
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1520
+ *
1521
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1312
1522
  */
1313
- reasoningEffort?: string | undefined;
1523
+ reasoningEffort?: UpdateAgentReasoningEffort | undefined;
1314
1524
  /**
1315
1525
  * Adjusts response verbosity. Lower levels yield shorter answers.
1316
1526
  */
@@ -1327,7 +1537,7 @@ export type UpdateAgentParameters = {
1327
1537
  * Options for streaming response. Only set this when you set stream: true.
1328
1538
  */
1329
1539
  streamOptions?: UpdateAgentStreamOptions | null | undefined;
1330
- thinking?: UpdateAgentThinking | undefined;
1540
+ thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
1331
1541
  /**
1332
1542
  * 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.
1333
1543
  */
@@ -1352,6 +1562,10 @@ export type UpdateAgentParameters = {
1352
1562
  * 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"].
1353
1563
  */
1354
1564
  modalities?: Array<UpdateAgentModalities> | null | undefined;
1565
+ /**
1566
+ * A list of guardrails to apply to the request.
1567
+ */
1568
+ guardrails?: Array<UpdateAgentAgentsResponseGuardrails> | undefined;
1355
1569
  };
1356
1570
  /**
1357
1571
  * 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).
@@ -1455,6 +1669,39 @@ export type UpdateAgentResponseFormatAgentsResponse200Text = {
1455
1669
  * An object specifying the format that the model must output
1456
1670
  */
1457
1671
  export type UpdateAgentFallbackModelConfigurationAgentsResponseFormat = UpdateAgentResponseFormatAgentsResponse200Text | UpdateAgentResponseFormatAgentsResponse200JSONObject | UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema;
1672
+ /**
1673
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1674
+ *
1675
+ * @remarks
1676
+ *
1677
+ * - `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.
1678
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1679
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1680
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1681
+ *
1682
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1683
+ */
1684
+ export declare const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort: {
1685
+ readonly None: "none";
1686
+ readonly Minimal: "minimal";
1687
+ readonly Low: "low";
1688
+ readonly Medium: "medium";
1689
+ readonly High: "high";
1690
+ readonly Xhigh: "xhigh";
1691
+ };
1692
+ /**
1693
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1694
+ *
1695
+ * @remarks
1696
+ *
1697
+ * - `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.
1698
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1699
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1700
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1701
+ *
1702
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1703
+ */
1704
+ export type UpdateAgentFallbackModelConfigurationAgentsReasoningEffort = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsReasoningEffort>;
1458
1705
  /**
1459
1706
  * Up to 4 sequences where the API will stop generating further tokens.
1460
1707
  */
@@ -1468,42 +1715,7 @@ export type UpdateAgentFallbackModelConfigurationAgentsStreamOptions = {
1468
1715
  */
1469
1716
  includeUsage?: boolean | undefined;
1470
1717
  };
1471
- /**
1472
- * Enables or disables the thinking mode capability
1473
- */
1474
- export declare const UpdateAgentFallbackModelConfigurationAgentsType: {
1475
- readonly Enabled: "enabled";
1476
- readonly Disabled: "disabled";
1477
- };
1478
- /**
1479
- * Enables or disables the thinking mode capability
1480
- */
1481
- export type UpdateAgentFallbackModelConfigurationAgentsType = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType>;
1482
- /**
1483
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
1484
- */
1485
- export declare const UpdateAgentFallbackModelConfigurationAgentsThinkingLevel: {
1486
- readonly Low: "low";
1487
- readonly High: "high";
1488
- };
1489
- /**
1490
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
1491
- */
1492
- export type UpdateAgentFallbackModelConfigurationAgentsThinkingLevel = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsThinkingLevel>;
1493
- export type UpdateAgentFallbackModelConfigurationAgentsThinking = {
1494
- /**
1495
- * Enables or disables the thinking mode capability
1496
- */
1497
- type: UpdateAgentFallbackModelConfigurationAgentsType;
1498
- /**
1499
- * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
1500
- */
1501
- budgetTokens: number;
1502
- /**
1503
- * The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
1504
- */
1505
- thinkingLevel?: UpdateAgentFallbackModelConfigurationAgentsThinkingLevel | undefined;
1506
- };
1718
+ export type UpdateAgentFallbackModelConfigurationAgentsThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1507
1719
  /**
1508
1720
  * The type of the tool. Currently, only function is supported.
1509
1721
  */
@@ -1542,6 +1754,37 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsModalities: {
1542
1754
  readonly Audio: "audio";
1543
1755
  };
1544
1756
  export type UpdateAgentFallbackModelConfigurationAgentsModalities = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsModalities>;
1757
+ /**
1758
+ * The key of the guardrail.
1759
+ */
1760
+ export declare const UpdateAgentIdAgentsResponse2001: {
1761
+ readonly OrqPiiDetection: "orq_pii_detection";
1762
+ readonly OrqSexualModeration: "orq_sexual_moderation";
1763
+ readonly OrqHarmfulModeration: "orq_harmful_moderation";
1764
+ };
1765
+ /**
1766
+ * The key of the guardrail.
1767
+ */
1768
+ export type UpdateAgentIdAgentsResponse2001 = ClosedEnum<typeof UpdateAgentIdAgentsResponse2001>;
1769
+ export type UpdateAgentFallbackModelConfigurationAgentsId = UpdateAgentIdAgentsResponse2001 | string;
1770
+ /**
1771
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
1772
+ */
1773
+ export declare const UpdateAgentFallbackModelConfigurationAgentsExecuteOn: {
1774
+ readonly Input: "input";
1775
+ readonly Output: "output";
1776
+ };
1777
+ /**
1778
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
1779
+ */
1780
+ export type UpdateAgentFallbackModelConfigurationAgentsExecuteOn = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsExecuteOn>;
1781
+ export type UpdateAgentFallbackModelConfigurationAgentsGuardrails = {
1782
+ id: UpdateAgentIdAgentsResponse2001 | string;
1783
+ /**
1784
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
1785
+ */
1786
+ executeOn: UpdateAgentFallbackModelConfigurationAgentsExecuteOn;
1787
+ };
1545
1788
  /**
1546
1789
  * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
1547
1790
  */
@@ -1587,9 +1830,18 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
1587
1830
  */
1588
1831
  responseFormat?: UpdateAgentResponseFormatAgentsResponse200Text | UpdateAgentResponseFormatAgentsResponse200JSONObject | UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema | undefined;
1589
1832
  /**
1590
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1833
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1834
+ *
1835
+ * @remarks
1836
+ *
1837
+ * - `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.
1838
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1839
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1840
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1841
+ *
1842
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1591
1843
  */
1592
- reasoningEffort?: string | undefined;
1844
+ reasoningEffort?: UpdateAgentFallbackModelConfigurationAgentsReasoningEffort | undefined;
1593
1845
  /**
1594
1846
  * Adjusts response verbosity. Lower levels yield shorter answers.
1595
1847
  */
@@ -1606,7 +1858,7 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
1606
1858
  * Options for streaming response. Only set this when you set stream: true.
1607
1859
  */
1608
1860
  streamOptions?: UpdateAgentFallbackModelConfigurationAgentsStreamOptions | null | undefined;
1609
- thinking?: UpdateAgentFallbackModelConfigurationAgentsThinking | undefined;
1861
+ thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
1610
1862
  /**
1611
1863
  * 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.
1612
1864
  */
@@ -1631,6 +1883,10 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
1631
1883
  * 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"].
1632
1884
  */
1633
1885
  modalities?: Array<UpdateAgentFallbackModelConfigurationAgentsModalities> | null | undefined;
1886
+ /**
1887
+ * A list of guardrails to apply to the request.
1888
+ */
1889
+ guardrails?: Array<UpdateAgentFallbackModelConfigurationAgentsGuardrails> | undefined;
1634
1890
  };
1635
1891
  /**
1636
1892
  * Fallback model configuration with optional parameters.
@@ -1819,6 +2075,10 @@ export declare const ModelConfigurationResponseFormat$outboundSchema: z.ZodType<
1819
2075
  export declare function modelConfigurationResponseFormatToJSON(modelConfigurationResponseFormat: ModelConfigurationResponseFormat): string;
1820
2076
  export declare function modelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<ModelConfigurationResponseFormat, SDKValidationError>;
1821
2077
  /** @internal */
2078
+ export declare const ModelConfigurationReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ModelConfigurationReasoningEffort>;
2079
+ /** @internal */
2080
+ export declare const ModelConfigurationReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationReasoningEffort>;
2081
+ /** @internal */
1822
2082
  export declare const ModelConfigurationStop$inboundSchema: z.ZodType<ModelConfigurationStop, z.ZodTypeDef, unknown>;
1823
2083
  /** @internal */
1824
2084
  export type ModelConfigurationStop$Outbound = string | Array<string>;
@@ -1837,21 +2097,9 @@ export declare const ModelConfigurationStreamOptions$outboundSchema: z.ZodType<M
1837
2097
  export declare function modelConfigurationStreamOptionsToJSON(modelConfigurationStreamOptions: ModelConfigurationStreamOptions): string;
1838
2098
  export declare function modelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<ModelConfigurationStreamOptions, SDKValidationError>;
1839
2099
  /** @internal */
1840
- export declare const UpdateAgentModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentModelConfigurationType>;
1841
- /** @internal */
1842
- export declare const UpdateAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentModelConfigurationType>;
1843
- /** @internal */
1844
- export declare const ModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof ModelConfigurationThinkingLevel>;
1845
- /** @internal */
1846
- export declare const ModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationThinkingLevel>;
1847
- /** @internal */
1848
2100
  export declare const ModelConfigurationThinking$inboundSchema: z.ZodType<ModelConfigurationThinking, z.ZodTypeDef, unknown>;
1849
2101
  /** @internal */
1850
- export type ModelConfigurationThinking$Outbound = {
1851
- type: string;
1852
- budget_tokens: number;
1853
- thinking_level?: string | undefined;
1854
- };
2102
+ export type ModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
1855
2103
  /** @internal */
1856
2104
  export declare const ModelConfigurationThinking$outboundSchema: z.ZodType<ModelConfigurationThinking$Outbound, z.ZodTypeDef, ModelConfigurationThinking>;
1857
2105
  export declare function modelConfigurationThinkingToJSON(modelConfigurationThinking: ModelConfigurationThinking): string;
@@ -1898,6 +2146,33 @@ export declare const ModelConfigurationModalities$inboundSchema: z.ZodNativeEnum
1898
2146
  /** @internal */
1899
2147
  export declare const ModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationModalities>;
1900
2148
  /** @internal */
2149
+ export declare const UpdateAgentId1$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentId1>;
2150
+ /** @internal */
2151
+ export declare const UpdateAgentId1$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentId1>;
2152
+ /** @internal */
2153
+ export declare const ModelConfigurationId$inboundSchema: z.ZodType<ModelConfigurationId, z.ZodTypeDef, unknown>;
2154
+ /** @internal */
2155
+ export type ModelConfigurationId$Outbound = string | string;
2156
+ /** @internal */
2157
+ export declare const ModelConfigurationId$outboundSchema: z.ZodType<ModelConfigurationId$Outbound, z.ZodTypeDef, ModelConfigurationId>;
2158
+ export declare function modelConfigurationIdToJSON(modelConfigurationId: ModelConfigurationId): string;
2159
+ export declare function modelConfigurationIdFromJSON(jsonString: string): SafeParseResult<ModelConfigurationId, SDKValidationError>;
2160
+ /** @internal */
2161
+ export declare const ModelConfigurationExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ModelConfigurationExecuteOn>;
2162
+ /** @internal */
2163
+ export declare const ModelConfigurationExecuteOn$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationExecuteOn>;
2164
+ /** @internal */
2165
+ export declare const ModelConfigurationGuardrails$inboundSchema: z.ZodType<ModelConfigurationGuardrails, z.ZodTypeDef, unknown>;
2166
+ /** @internal */
2167
+ export type ModelConfigurationGuardrails$Outbound = {
2168
+ id: string | string;
2169
+ execute_on: string;
2170
+ };
2171
+ /** @internal */
2172
+ export declare const ModelConfigurationGuardrails$outboundSchema: z.ZodType<ModelConfigurationGuardrails$Outbound, z.ZodTypeDef, ModelConfigurationGuardrails>;
2173
+ export declare function modelConfigurationGuardrailsToJSON(modelConfigurationGuardrails: ModelConfigurationGuardrails): string;
2174
+ export declare function modelConfigurationGuardrailsFromJSON(jsonString: string): SafeParseResult<ModelConfigurationGuardrails, SDKValidationError>;
2175
+ /** @internal */
1901
2176
  export declare const ModelConfigurationParameters$inboundSchema: z.ZodType<ModelConfigurationParameters, z.ZodTypeDef, unknown>;
1902
2177
  /** @internal */
1903
2178
  export type ModelConfigurationParameters$Outbound = {
@@ -1915,13 +2190,14 @@ export type ModelConfigurationParameters$Outbound = {
1915
2190
  seed?: number | null | undefined;
1916
2191
  stop?: string | Array<string> | null | undefined;
1917
2192
  stream_options?: ModelConfigurationStreamOptions$Outbound | null | undefined;
1918
- thinking?: ModelConfigurationThinking$Outbound | undefined;
2193
+ thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
1919
2194
  temperature?: number | null | undefined;
1920
2195
  top_p?: number | null | undefined;
1921
2196
  top_k?: number | null | undefined;
1922
2197
  tool_choice?: UpdateAgentToolChoice2$Outbound | string | undefined;
1923
2198
  parallel_tool_calls?: boolean | undefined;
1924
2199
  modalities?: Array<string> | null | undefined;
2200
+ guardrails?: Array<ModelConfigurationGuardrails$Outbound> | undefined;
1925
2201
  };
1926
2202
  /** @internal */
1927
2203
  export declare const ModelConfigurationParameters$outboundSchema: z.ZodType<ModelConfigurationParameters$Outbound, z.ZodTypeDef, ModelConfigurationParameters>;
@@ -2030,6 +2306,10 @@ export declare const UpdateAgentFallbackModelConfigurationResponseFormat$outboun
2030
2306
  export declare function updateAgentFallbackModelConfigurationResponseFormatToJSON(updateAgentFallbackModelConfigurationResponseFormat: UpdateAgentFallbackModelConfigurationResponseFormat): string;
2031
2307
  export declare function updateAgentFallbackModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationResponseFormat, SDKValidationError>;
2032
2308
  /** @internal */
2309
+ export declare const UpdateAgentFallbackModelConfigurationReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationReasoningEffort>;
2310
+ /** @internal */
2311
+ export declare const UpdateAgentFallbackModelConfigurationReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationReasoningEffort>;
2312
+ /** @internal */
2033
2313
  export declare const UpdateAgentFallbackModelConfigurationStop$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
2034
2314
  /** @internal */
2035
2315
  export type UpdateAgentFallbackModelConfigurationStop$Outbound = string | Array<string>;
@@ -2048,21 +2328,9 @@ export declare const UpdateAgentFallbackModelConfigurationStreamOptions$outbound
2048
2328
  export declare function updateAgentFallbackModelConfigurationStreamOptionsToJSON(updateAgentFallbackModelConfigurationStreamOptions: UpdateAgentFallbackModelConfigurationStreamOptions): string;
2049
2329
  export declare function updateAgentFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationStreamOptions, SDKValidationError>;
2050
2330
  /** @internal */
2051
- export declare const UpdateAgentFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationType>;
2052
- /** @internal */
2053
- export declare const UpdateAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationType>;
2054
- /** @internal */
2055
- export declare const UpdateAgentFallbackModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationThinkingLevel>;
2056
- /** @internal */
2057
- export declare const UpdateAgentFallbackModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationThinkingLevel>;
2058
- /** @internal */
2059
2331
  export declare const UpdateAgentFallbackModelConfigurationThinking$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
2060
2332
  /** @internal */
2061
- export type UpdateAgentFallbackModelConfigurationThinking$Outbound = {
2062
- type: string;
2063
- budget_tokens: number;
2064
- thinking_level?: string | undefined;
2065
- };
2333
+ export type UpdateAgentFallbackModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2066
2334
  /** @internal */
2067
2335
  export declare const UpdateAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationThinking>;
2068
2336
  export declare function updateAgentFallbackModelConfigurationThinkingToJSON(updateAgentFallbackModelConfigurationThinking: UpdateAgentFallbackModelConfigurationThinking): string;
@@ -2109,6 +2377,33 @@ export declare const UpdateAgentFallbackModelConfigurationModalities$inboundSche
2109
2377
  /** @internal */
2110
2378
  export declare const UpdateAgentFallbackModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationModalities>;
2111
2379
  /** @internal */
2380
+ export declare const UpdateAgentIdAgents1$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgents1>;
2381
+ /** @internal */
2382
+ export declare const UpdateAgentIdAgents1$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgents1>;
2383
+ /** @internal */
2384
+ export declare const UpdateAgentFallbackModelConfigurationId$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationId, z.ZodTypeDef, unknown>;
2385
+ /** @internal */
2386
+ export type UpdateAgentFallbackModelConfigurationId$Outbound = string | string;
2387
+ /** @internal */
2388
+ export declare const UpdateAgentFallbackModelConfigurationId$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationId$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationId>;
2389
+ export declare function updateAgentFallbackModelConfigurationIdToJSON(updateAgentFallbackModelConfigurationId: UpdateAgentFallbackModelConfigurationId): string;
2390
+ export declare function updateAgentFallbackModelConfigurationIdFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationId, SDKValidationError>;
2391
+ /** @internal */
2392
+ export declare const UpdateAgentFallbackModelConfigurationExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationExecuteOn>;
2393
+ /** @internal */
2394
+ export declare const UpdateAgentFallbackModelConfigurationExecuteOn$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationExecuteOn>;
2395
+ /** @internal */
2396
+ export declare const UpdateAgentFallbackModelConfigurationGuardrails$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationGuardrails, z.ZodTypeDef, unknown>;
2397
+ /** @internal */
2398
+ export type UpdateAgentFallbackModelConfigurationGuardrails$Outbound = {
2399
+ id: string | string;
2400
+ execute_on: string;
2401
+ };
2402
+ /** @internal */
2403
+ export declare const UpdateAgentFallbackModelConfigurationGuardrails$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationGuardrails$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationGuardrails>;
2404
+ export declare function updateAgentFallbackModelConfigurationGuardrailsToJSON(updateAgentFallbackModelConfigurationGuardrails: UpdateAgentFallbackModelConfigurationGuardrails): string;
2405
+ export declare function updateAgentFallbackModelConfigurationGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationGuardrails, SDKValidationError>;
2406
+ /** @internal */
2112
2407
  export declare const UpdateAgentFallbackModelConfigurationParameters$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
2113
2408
  /** @internal */
2114
2409
  export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
@@ -2126,13 +2421,14 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
2126
2421
  seed?: number | null | undefined;
2127
2422
  stop?: string | Array<string> | null | undefined;
2128
2423
  stream_options?: UpdateAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
2129
- thinking?: UpdateAgentFallbackModelConfigurationThinking$Outbound | undefined;
2424
+ thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2130
2425
  temperature?: number | null | undefined;
2131
2426
  top_p?: number | null | undefined;
2132
2427
  top_k?: number | null | undefined;
2133
2428
  tool_choice?: UpdateAgentToolChoiceAgents2$Outbound | string | undefined;
2134
2429
  parallel_tool_calls?: boolean | undefined;
2135
2430
  modalities?: Array<string> | null | undefined;
2431
+ guardrails?: Array<UpdateAgentFallbackModelConfigurationGuardrails$Outbound> | undefined;
2136
2432
  };
2137
2433
  /** @internal */
2138
2434
  export declare const UpdateAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationParameters>;
@@ -2162,10 +2458,14 @@ export declare const UpdateAgentToolApprovalRequired$inboundSchema: z.ZodNativeE
2162
2458
  /** @internal */
2163
2459
  export declare const UpdateAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentToolApprovalRequired>;
2164
2460
  /** @internal */
2461
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type>;
2462
+ /** @internal */
2463
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type>;
2464
+ /** @internal */
2165
2465
  export declare const AgentToolInputCRUDMCPTool$inboundSchema: z.ZodType<AgentToolInputCRUDMCPTool, z.ZodTypeDef, unknown>;
2166
2466
  /** @internal */
2167
2467
  export type AgentToolInputCRUDMCPTool$Outbound = {
2168
- type: "mcp";
2468
+ type: string;
2169
2469
  key?: string | undefined;
2170
2470
  id?: string | undefined;
2171
2471
  tool_id: string;
@@ -2176,10 +2476,14 @@ export declare const AgentToolInputCRUDMCPTool$outboundSchema: z.ZodType<AgentTo
2176
2476
  export declare function agentToolInputCRUDMCPToolToJSON(agentToolInputCRUDMCPTool: AgentToolInputCRUDMCPTool): string;
2177
2477
  export declare function agentToolInputCRUDMCPToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDMCPTool, SDKValidationError>;
2178
2478
  /** @internal */
2479
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
2480
+ /** @internal */
2481
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
2482
+ /** @internal */
2179
2483
  export declare const AgentToolInputCRUDFunctionTool$inboundSchema: z.ZodType<AgentToolInputCRUDFunctionTool, z.ZodTypeDef, unknown>;
2180
2484
  /** @internal */
2181
2485
  export type AgentToolInputCRUDFunctionTool$Outbound = {
2182
- type: "function";
2486
+ type: string;
2183
2487
  key?: string | undefined;
2184
2488
  id?: string | undefined;
2185
2489
  requires_approval: boolean;
@@ -2189,10 +2493,14 @@ export declare const AgentToolInputCRUDFunctionTool$outboundSchema: z.ZodType<Ag
2189
2493
  export declare function agentToolInputCRUDFunctionToolToJSON(agentToolInputCRUDFunctionTool: AgentToolInputCRUDFunctionTool): string;
2190
2494
  export declare function agentToolInputCRUDFunctionToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDFunctionTool, SDKValidationError>;
2191
2495
  /** @internal */
2496
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
2497
+ /** @internal */
2498
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
2499
+ /** @internal */
2192
2500
  export declare const AgentToolInputCRUDCodeExecutionTool$inboundSchema: z.ZodType<AgentToolInputCRUDCodeExecutionTool, z.ZodTypeDef, unknown>;
2193
2501
  /** @internal */
2194
2502
  export type AgentToolInputCRUDCodeExecutionTool$Outbound = {
2195
- type: "code";
2503
+ type: string;
2196
2504
  key?: string | undefined;
2197
2505
  id?: string | undefined;
2198
2506
  requires_approval: boolean;
@@ -2202,10 +2510,14 @@ export declare const AgentToolInputCRUDCodeExecutionTool$outboundSchema: z.ZodTy
2202
2510
  export declare function agentToolInputCRUDCodeExecutionToolToJSON(agentToolInputCRUDCodeExecutionTool: AgentToolInputCRUDCodeExecutionTool): string;
2203
2511
  export declare function agentToolInputCRUDCodeExecutionToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDCodeExecutionTool, SDKValidationError>;
2204
2512
  /** @internal */
2513
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
2514
+ /** @internal */
2515
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
2516
+ /** @internal */
2205
2517
  export declare const AgentToolInputCRUDHTTPTool$inboundSchema: z.ZodType<AgentToolInputCRUDHTTPTool, z.ZodTypeDef, unknown>;
2206
2518
  /** @internal */
2207
2519
  export type AgentToolInputCRUDHTTPTool$Outbound = {
2208
- type: "http";
2520
+ type: string;
2209
2521
  key?: string | undefined;
2210
2522
  id?: string | undefined;
2211
2523
  requires_approval: boolean;
@@ -2215,10 +2527,14 @@ export declare const AgentToolInputCRUDHTTPTool$outboundSchema: z.ZodType<AgentT
2215
2527
  export declare function agentToolInputCRUDHTTPToolToJSON(agentToolInputCRUDHTTPTool: AgentToolInputCRUDHTTPTool): string;
2216
2528
  export declare function agentToolInputCRUDHTTPToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDHTTPTool, SDKValidationError>;
2217
2529
  /** @internal */
2530
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
2531
+ /** @internal */
2532
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
2533
+ /** @internal */
2218
2534
  export declare const AgentToolInputCRUDCurrentDateTool$inboundSchema: z.ZodType<AgentToolInputCRUDCurrentDateTool, z.ZodTypeDef, unknown>;
2219
2535
  /** @internal */
2220
2536
  export type AgentToolInputCRUDCurrentDateTool$Outbound = {
2221
- type: "current_date";
2537
+ type: string;
2222
2538
  requires_approval?: boolean | undefined;
2223
2539
  };
2224
2540
  /** @internal */
@@ -2226,10 +2542,14 @@ export declare const AgentToolInputCRUDCurrentDateTool$outboundSchema: z.ZodType
2226
2542
  export declare function agentToolInputCRUDCurrentDateToolToJSON(agentToolInputCRUDCurrentDateTool: AgentToolInputCRUDCurrentDateTool): string;
2227
2543
  export declare function agentToolInputCRUDCurrentDateToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDCurrentDateTool, SDKValidationError>;
2228
2544
  /** @internal */
2545
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
2546
+ /** @internal */
2547
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
2548
+ /** @internal */
2229
2549
  export declare const AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema: z.ZodType<AgentToolInputCRUDQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
2230
2550
  /** @internal */
2231
2551
  export type AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound = {
2232
- type: "query_knowledge_base";
2552
+ type: string;
2233
2553
  requires_approval?: boolean | undefined;
2234
2554
  };
2235
2555
  /** @internal */
@@ -2237,10 +2557,14 @@ export declare const AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema: z.
2237
2557
  export declare function agentToolInputCRUDQueryKnowledgeBaseToolToJSON(agentToolInputCRUDQueryKnowledgeBaseTool: AgentToolInputCRUDQueryKnowledgeBaseTool): string;
2238
2558
  export declare function agentToolInputCRUDQueryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDQueryKnowledgeBaseTool, SDKValidationError>;
2239
2559
  /** @internal */
2560
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
2561
+ /** @internal */
2562
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
2563
+ /** @internal */
2240
2564
  export declare const AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
2241
2565
  /** @internal */
2242
2566
  export type AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound = {
2243
- type: "retrieve_knowledge_bases";
2567
+ type: string;
2244
2568
  requires_approval?: boolean | undefined;
2245
2569
  };
2246
2570
  /** @internal */
@@ -2248,10 +2572,14 @@ export declare const AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema
2248
2572
  export declare function agentToolInputCRUDRetrieveKnowledgeBasesToolToJSON(agentToolInputCRUDRetrieveKnowledgeBasesTool: AgentToolInputCRUDRetrieveKnowledgeBasesTool): string;
2249
2573
  export declare function agentToolInputCRUDRetrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDRetrieveKnowledgeBasesTool, SDKValidationError>;
2250
2574
  /** @internal */
2575
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
2576
+ /** @internal */
2577
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
2578
+ /** @internal */
2251
2579
  export declare const AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema: z.ZodType<AgentToolInputCRUDDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
2252
2580
  /** @internal */
2253
2581
  export type AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound = {
2254
- type: "delete_memory_document";
2582
+ type: string;
2255
2583
  requires_approval?: boolean | undefined;
2256
2584
  };
2257
2585
  /** @internal */
@@ -2259,10 +2587,14 @@ export declare const AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema:
2259
2587
  export declare function agentToolInputCRUDDeleteMemoryDocumentToolToJSON(agentToolInputCRUDDeleteMemoryDocumentTool: AgentToolInputCRUDDeleteMemoryDocumentTool): string;
2260
2588
  export declare function agentToolInputCRUDDeleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDDeleteMemoryDocumentTool, SDKValidationError>;
2261
2589
  /** @internal */
2590
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type>;
2591
+ /** @internal */
2592
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type>;
2593
+ /** @internal */
2262
2594
  export declare const AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
2263
2595
  /** @internal */
2264
2596
  export type AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound = {
2265
- type: "retrieve_memory_stores";
2597
+ type: string;
2266
2598
  requires_approval?: boolean | undefined;
2267
2599
  };
2268
2600
  /** @internal */
@@ -2270,10 +2602,14 @@ export declare const AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema:
2270
2602
  export declare function agentToolInputCRUDRetrieveMemoryStoresToolToJSON(agentToolInputCRUDRetrieveMemoryStoresTool: AgentToolInputCRUDRetrieveMemoryStoresTool): string;
2271
2603
  export declare function agentToolInputCRUDRetrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDRetrieveMemoryStoresTool, SDKValidationError>;
2272
2604
  /** @internal */
2605
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
2606
+ /** @internal */
2607
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
2608
+ /** @internal */
2273
2609
  export declare const AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema: z.ZodType<AgentToolInputCRUDWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
2274
2610
  /** @internal */
2275
2611
  export type AgentToolInputCRUDWriteMemoryStoreTool$Outbound = {
2276
- type: "write_memory_store";
2612
+ type: string;
2277
2613
  requires_approval?: boolean | undefined;
2278
2614
  };
2279
2615
  /** @internal */
@@ -2281,10 +2617,14 @@ export declare const AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema: z.Zo
2281
2617
  export declare function agentToolInputCRUDWriteMemoryStoreToolToJSON(agentToolInputCRUDWriteMemoryStoreTool: AgentToolInputCRUDWriteMemoryStoreTool): string;
2282
2618
  export declare function agentToolInputCRUDWriteMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDWriteMemoryStoreTool, SDKValidationError>;
2283
2619
  /** @internal */
2620
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
2621
+ /** @internal */
2622
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
2623
+ /** @internal */
2284
2624
  export declare const AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema: z.ZodType<AgentToolInputCRUDQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
2285
2625
  /** @internal */
2286
2626
  export type AgentToolInputCRUDQueryMemoryStoreTool$Outbound = {
2287
- type: "query_memory_store";
2627
+ type: string;
2288
2628
  requires_approval?: boolean | undefined;
2289
2629
  };
2290
2630
  /** @internal */
@@ -2292,10 +2632,14 @@ export declare const AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema: z.Zo
2292
2632
  export declare function agentToolInputCRUDQueryMemoryStoreToolToJSON(agentToolInputCRUDQueryMemoryStoreTool: AgentToolInputCRUDQueryMemoryStoreTool): string;
2293
2633
  export declare function agentToolInputCRUDQueryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDQueryMemoryStoreTool, SDKValidationError>;
2294
2634
  /** @internal */
2635
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
2636
+ /** @internal */
2637
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
2638
+ /** @internal */
2295
2639
  export declare const AgentToolInputCRUDRetrieveAgentsTool$inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveAgentsTool, z.ZodTypeDef, unknown>;
2296
2640
  /** @internal */
2297
2641
  export type AgentToolInputCRUDRetrieveAgentsTool$Outbound = {
2298
- type: "retrieve_agents";
2642
+ type: string;
2299
2643
  requires_approval?: boolean | undefined;
2300
2644
  };
2301
2645
  /** @internal */
@@ -2303,10 +2647,14 @@ export declare const AgentToolInputCRUDRetrieveAgentsTool$outboundSchema: z.ZodT
2303
2647
  export declare function agentToolInputCRUDRetrieveAgentsToolToJSON(agentToolInputCRUDRetrieveAgentsTool: AgentToolInputCRUDRetrieveAgentsTool): string;
2304
2648
  export declare function agentToolInputCRUDRetrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDRetrieveAgentsTool, SDKValidationError>;
2305
2649
  /** @internal */
2650
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestType>;
2651
+ /** @internal */
2652
+ export declare const UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestType>;
2653
+ /** @internal */
2306
2654
  export declare const AgentToolInputCRUDCallSubAgentTool$inboundSchema: z.ZodType<AgentToolInputCRUDCallSubAgentTool, z.ZodTypeDef, unknown>;
2307
2655
  /** @internal */
2308
2656
  export type AgentToolInputCRUDCallSubAgentTool$Outbound = {
2309
- type: "call_sub_agent";
2657
+ type: string;
2310
2658
  requires_approval?: boolean | undefined;
2311
2659
  };
2312
2660
  /** @internal */
@@ -2314,10 +2662,14 @@ export declare const AgentToolInputCRUDCallSubAgentTool$outboundSchema: z.ZodTyp
2314
2662
  export declare function agentToolInputCRUDCallSubAgentToolToJSON(agentToolInputCRUDCallSubAgentTool: AgentToolInputCRUDCallSubAgentTool): string;
2315
2663
  export declare function agentToolInputCRUDCallSubAgentToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDCallSubAgentTool, SDKValidationError>;
2316
2664
  /** @internal */
2665
+ export declare const UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsType>;
2666
+ /** @internal */
2667
+ export declare const UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsType>;
2668
+ /** @internal */
2317
2669
  export declare const AgentToolInputCRUDWebScraperTool$inboundSchema: z.ZodType<AgentToolInputCRUDWebScraperTool, z.ZodTypeDef, unknown>;
2318
2670
  /** @internal */
2319
2671
  export type AgentToolInputCRUDWebScraperTool$Outbound = {
2320
- type: "web_scraper";
2672
+ type: string;
2321
2673
  requires_approval?: boolean | undefined;
2322
2674
  };
2323
2675
  /** @internal */
@@ -2325,10 +2677,14 @@ export declare const AgentToolInputCRUDWebScraperTool$outboundSchema: z.ZodType<
2325
2677
  export declare function agentToolInputCRUDWebScraperToolToJSON(agentToolInputCRUDWebScraperTool: AgentToolInputCRUDWebScraperTool): string;
2326
2678
  export declare function agentToolInputCRUDWebScraperToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDWebScraperTool, SDKValidationError>;
2327
2679
  /** @internal */
2680
+ export declare const UpdateAgentAgentToolInputCRUDType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDType>;
2681
+ /** @internal */
2682
+ export declare const UpdateAgentAgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDType>;
2683
+ /** @internal */
2328
2684
  export declare const AgentToolInputCRUDGoogleSearchTool$inboundSchema: z.ZodType<AgentToolInputCRUDGoogleSearchTool, z.ZodTypeDef, unknown>;
2329
2685
  /** @internal */
2330
2686
  export type AgentToolInputCRUDGoogleSearchTool$Outbound = {
2331
- type: "google_search";
2687
+ type: string;
2332
2688
  requires_approval?: boolean | undefined;
2333
2689
  };
2334
2690
  /** @internal */
@@ -2338,7 +2694,7 @@ export declare function agentToolInputCRUDGoogleSearchToolFromJSON(jsonString: s
2338
2694
  /** @internal */
2339
2695
  export declare const UpdateAgentAgentToolInputCRUD$inboundSchema: z.ZodType<UpdateAgentAgentToolInputCRUD, z.ZodTypeDef, unknown>;
2340
2696
  /** @internal */
2341
- export type UpdateAgentAgentToolInputCRUD$Outbound = AgentToolInputCRUDGoogleSearchTool$Outbound | AgentToolInputCRUDWebScraperTool$Outbound | AgentToolInputCRUDCallSubAgentTool$Outbound | AgentToolInputCRUDRetrieveAgentsTool$Outbound | AgentToolInputCRUDQueryMemoryStoreTool$Outbound | AgentToolInputCRUDWriteMemoryStoreTool$Outbound | AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound | AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound | AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound | AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound | AgentToolInputCRUDCurrentDateTool$Outbound | AgentToolInputCRUDHTTPTool$Outbound | AgentToolInputCRUDCodeExecutionTool$Outbound | AgentToolInputCRUDFunctionTool$Outbound | AgentToolInputCRUDMCPTool$Outbound;
2697
+ export type UpdateAgentAgentToolInputCRUD$Outbound = AgentToolInputCRUDGoogleSearchTool$Outbound | AgentToolInputCRUDWebScraperTool$Outbound | AgentToolInputCRUDCallSubAgentTool$Outbound | AgentToolInputCRUDRetrieveAgentsTool$Outbound | AgentToolInputCRUDQueryMemoryStoreTool$Outbound | AgentToolInputCRUDWriteMemoryStoreTool$Outbound | AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound | AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound | AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound | AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound | AgentToolInputCRUDCurrentDateTool$Outbound | AgentToolInputCRUDMCPTool$Outbound | AgentToolInputCRUDHTTPTool$Outbound | AgentToolInputCRUDCodeExecutionTool$Outbound | AgentToolInputCRUDFunctionTool$Outbound;
2342
2698
  /** @internal */
2343
2699
  export declare const UpdateAgentAgentToolInputCRUD$outboundSchema: z.ZodType<UpdateAgentAgentToolInputCRUD$Outbound, z.ZodTypeDef, UpdateAgentAgentToolInputCRUD>;
2344
2700
  export declare function updateAgentAgentToolInputCRUDToJSON(updateAgentAgentToolInputCRUD: UpdateAgentAgentToolInputCRUD): string;
@@ -2382,7 +2738,7 @@ export type UpdateAgentSettings$Outbound = {
2382
2738
  max_iterations: number;
2383
2739
  max_execution_time: number;
2384
2740
  tool_approval_required: string;
2385
- tools?: Array<AgentToolInputCRUDGoogleSearchTool$Outbound | AgentToolInputCRUDWebScraperTool$Outbound | AgentToolInputCRUDCallSubAgentTool$Outbound | AgentToolInputCRUDRetrieveAgentsTool$Outbound | AgentToolInputCRUDQueryMemoryStoreTool$Outbound | AgentToolInputCRUDWriteMemoryStoreTool$Outbound | AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound | AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound | AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound | AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound | AgentToolInputCRUDCurrentDateTool$Outbound | AgentToolInputCRUDHTTPTool$Outbound | AgentToolInputCRUDCodeExecutionTool$Outbound | AgentToolInputCRUDFunctionTool$Outbound | AgentToolInputCRUDMCPTool$Outbound> | undefined;
2741
+ tools?: Array<AgentToolInputCRUDGoogleSearchTool$Outbound | AgentToolInputCRUDWebScraperTool$Outbound | AgentToolInputCRUDCallSubAgentTool$Outbound | AgentToolInputCRUDRetrieveAgentsTool$Outbound | AgentToolInputCRUDQueryMemoryStoreTool$Outbound | AgentToolInputCRUDWriteMemoryStoreTool$Outbound | AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound | AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound | AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound | AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound | AgentToolInputCRUDCurrentDateTool$Outbound | AgentToolInputCRUDMCPTool$Outbound | AgentToolInputCRUDHTTPTool$Outbound | AgentToolInputCRUDCodeExecutionTool$Outbound | AgentToolInputCRUDFunctionTool$Outbound> | undefined;
2386
2742
  evaluators?: Array<UpdateAgentEvaluators$Outbound> | undefined;
2387
2743
  guardrails?: Array<UpdateAgentGuardrails$Outbound> | undefined;
2388
2744
  };
@@ -2605,6 +2961,10 @@ export declare const UpdateAgentResponseFormat$outboundSchema: z.ZodType<UpdateA
2605
2961
  export declare function updateAgentResponseFormatToJSON(updateAgentResponseFormat: UpdateAgentResponseFormat): string;
2606
2962
  export declare function updateAgentResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormat, SDKValidationError>;
2607
2963
  /** @internal */
2964
+ export declare const UpdateAgentReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentReasoningEffort>;
2965
+ /** @internal */
2966
+ export declare const UpdateAgentReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentReasoningEffort>;
2967
+ /** @internal */
2608
2968
  export declare const UpdateAgentStop$inboundSchema: z.ZodType<UpdateAgentStop, z.ZodTypeDef, unknown>;
2609
2969
  /** @internal */
2610
2970
  export type UpdateAgentStop$Outbound = string | Array<string>;
@@ -2623,21 +2983,9 @@ export declare const UpdateAgentStreamOptions$outboundSchema: z.ZodType<UpdateAg
2623
2983
  export declare function updateAgentStreamOptionsToJSON(updateAgentStreamOptions: UpdateAgentStreamOptions): string;
2624
2984
  export declare function updateAgentStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentStreamOptions, SDKValidationError>;
2625
2985
  /** @internal */
2626
- export declare const UpdateAgentType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentType>;
2627
- /** @internal */
2628
- export declare const UpdateAgentType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentType>;
2629
- /** @internal */
2630
- export declare const UpdateAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentThinkingLevel>;
2631
- /** @internal */
2632
- export declare const UpdateAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentThinkingLevel>;
2633
- /** @internal */
2634
2986
  export declare const UpdateAgentThinking$inboundSchema: z.ZodType<UpdateAgentThinking, z.ZodTypeDef, unknown>;
2635
2987
  /** @internal */
2636
- export type UpdateAgentThinking$Outbound = {
2637
- type: string;
2638
- budget_tokens: number;
2639
- thinking_level?: string | undefined;
2640
- };
2988
+ export type UpdateAgentThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2641
2989
  /** @internal */
2642
2990
  export declare const UpdateAgentThinking$outboundSchema: z.ZodType<UpdateAgentThinking$Outbound, z.ZodTypeDef, UpdateAgentThinking>;
2643
2991
  export declare function updateAgentThinkingToJSON(updateAgentThinking: UpdateAgentThinking): string;
@@ -2684,6 +3032,33 @@ export declare const UpdateAgentModalities$inboundSchema: z.ZodNativeEnum<typeof
2684
3032
  /** @internal */
2685
3033
  export declare const UpdateAgentModalities$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentModalities>;
2686
3034
  /** @internal */
3035
+ export declare const UpdateAgentIdAgentsResponse1$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse1>;
3036
+ /** @internal */
3037
+ export declare const UpdateAgentIdAgentsResponse1$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse1>;
3038
+ /** @internal */
3039
+ export declare const UpdateAgentId$inboundSchema: z.ZodType<UpdateAgentId, z.ZodTypeDef, unknown>;
3040
+ /** @internal */
3041
+ export type UpdateAgentId$Outbound = string | string;
3042
+ /** @internal */
3043
+ export declare const UpdateAgentId$outboundSchema: z.ZodType<UpdateAgentId$Outbound, z.ZodTypeDef, UpdateAgentId>;
3044
+ export declare function updateAgentIdToJSON(updateAgentId: UpdateAgentId): string;
3045
+ export declare function updateAgentIdFromJSON(jsonString: string): SafeParseResult<UpdateAgentId, SDKValidationError>;
3046
+ /** @internal */
3047
+ export declare const UpdateAgentAgentsResponse200ApplicationJSONExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsResponse200ApplicationJSONExecuteOn>;
3048
+ /** @internal */
3049
+ export declare const UpdateAgentAgentsResponse200ApplicationJSONExecuteOn$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsResponse200ApplicationJSONExecuteOn>;
3050
+ /** @internal */
3051
+ export declare const UpdateAgentAgentsResponseGuardrails$inboundSchema: z.ZodType<UpdateAgentAgentsResponseGuardrails, z.ZodTypeDef, unknown>;
3052
+ /** @internal */
3053
+ export type UpdateAgentAgentsResponseGuardrails$Outbound = {
3054
+ id: string | string;
3055
+ execute_on: string;
3056
+ };
3057
+ /** @internal */
3058
+ export declare const UpdateAgentAgentsResponseGuardrails$outboundSchema: z.ZodType<UpdateAgentAgentsResponseGuardrails$Outbound, z.ZodTypeDef, UpdateAgentAgentsResponseGuardrails>;
3059
+ export declare function updateAgentAgentsResponseGuardrailsToJSON(updateAgentAgentsResponseGuardrails: UpdateAgentAgentsResponseGuardrails): string;
3060
+ export declare function updateAgentAgentsResponseGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsResponseGuardrails, SDKValidationError>;
3061
+ /** @internal */
2687
3062
  export declare const UpdateAgentParameters$inboundSchema: z.ZodType<UpdateAgentParameters, z.ZodTypeDef, unknown>;
2688
3063
  /** @internal */
2689
3064
  export type UpdateAgentParameters$Outbound = {
@@ -2701,13 +3076,14 @@ export type UpdateAgentParameters$Outbound = {
2701
3076
  seed?: number | null | undefined;
2702
3077
  stop?: string | Array<string> | null | undefined;
2703
3078
  stream_options?: UpdateAgentStreamOptions$Outbound | null | undefined;
2704
- thinking?: UpdateAgentThinking$Outbound | undefined;
3079
+ thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2705
3080
  temperature?: number | null | undefined;
2706
3081
  top_p?: number | null | undefined;
2707
3082
  top_k?: number | null | undefined;
2708
3083
  tool_choice?: UpdateAgentToolChoiceAgentsResponse2$Outbound | string | undefined;
2709
3084
  parallel_tool_calls?: boolean | undefined;
2710
3085
  modalities?: Array<string> | null | undefined;
3086
+ guardrails?: Array<UpdateAgentAgentsResponseGuardrails$Outbound> | undefined;
2711
3087
  };
2712
3088
  /** @internal */
2713
3089
  export declare const UpdateAgentParameters$outboundSchema: z.ZodType<UpdateAgentParameters$Outbound, z.ZodTypeDef, UpdateAgentParameters>;
@@ -2796,6 +3172,10 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsResponseFormat$o
2796
3172
  export declare function updateAgentFallbackModelConfigurationAgentsResponseFormatToJSON(updateAgentFallbackModelConfigurationAgentsResponseFormat: UpdateAgentFallbackModelConfigurationAgentsResponseFormat): string;
2797
3173
  export declare function updateAgentFallbackModelConfigurationAgentsResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsResponseFormat, SDKValidationError>;
2798
3174
  /** @internal */
3175
+ export declare const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsReasoningEffort>;
3176
+ /** @internal */
3177
+ export declare const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsReasoningEffort>;
3178
+ /** @internal */
2799
3179
  export declare const UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsStop, z.ZodTypeDef, unknown>;
2800
3180
  /** @internal */
2801
3181
  export type UpdateAgentFallbackModelConfigurationAgentsStop$Outbound = string | Array<string>;
@@ -2814,21 +3194,9 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsStreamOptions$ou
2814
3194
  export declare function updateAgentFallbackModelConfigurationAgentsStreamOptionsToJSON(updateAgentFallbackModelConfigurationAgentsStreamOptions: UpdateAgentFallbackModelConfigurationAgentsStreamOptions): string;
2815
3195
  export declare function updateAgentFallbackModelConfigurationAgentsStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsStreamOptions, SDKValidationError>;
2816
3196
  /** @internal */
2817
- export declare const UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType>;
2818
- /** @internal */
2819
- export declare const UpdateAgentFallbackModelConfigurationAgentsType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType>;
2820
- /** @internal */
2821
- export declare const UpdateAgentFallbackModelConfigurationAgentsThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsThinkingLevel>;
2822
- /** @internal */
2823
- export declare const UpdateAgentFallbackModelConfigurationAgentsThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsThinkingLevel>;
2824
- /** @internal */
2825
3197
  export declare const UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsThinking, z.ZodTypeDef, unknown>;
2826
3198
  /** @internal */
2827
- export type UpdateAgentFallbackModelConfigurationAgentsThinking$Outbound = {
2828
- type: string;
2829
- budget_tokens: number;
2830
- thinking_level?: string | undefined;
2831
- };
3199
+ export type UpdateAgentFallbackModelConfigurationAgentsThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2832
3200
  /** @internal */
2833
3201
  export declare const UpdateAgentFallbackModelConfigurationAgentsThinking$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsThinking$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsThinking>;
2834
3202
  export declare function updateAgentFallbackModelConfigurationAgentsThinkingToJSON(updateAgentFallbackModelConfigurationAgentsThinking: UpdateAgentFallbackModelConfigurationAgentsThinking): string;
@@ -2875,6 +3243,33 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsModalities$inbou
2875
3243
  /** @internal */
2876
3244
  export declare const UpdateAgentFallbackModelConfigurationAgentsModalities$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsModalities>;
2877
3245
  /** @internal */
3246
+ export declare const UpdateAgentIdAgentsResponse2001$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse2001>;
3247
+ /** @internal */
3248
+ export declare const UpdateAgentIdAgentsResponse2001$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse2001>;
3249
+ /** @internal */
3250
+ export declare const UpdateAgentFallbackModelConfigurationAgentsId$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsId, z.ZodTypeDef, unknown>;
3251
+ /** @internal */
3252
+ export type UpdateAgentFallbackModelConfigurationAgentsId$Outbound = string | string;
3253
+ /** @internal */
3254
+ export declare const UpdateAgentFallbackModelConfigurationAgentsId$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsId$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsId>;
3255
+ export declare function updateAgentFallbackModelConfigurationAgentsIdToJSON(updateAgentFallbackModelConfigurationAgentsId: UpdateAgentFallbackModelConfigurationAgentsId): string;
3256
+ export declare function updateAgentFallbackModelConfigurationAgentsIdFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsId, SDKValidationError>;
3257
+ /** @internal */
3258
+ export declare const UpdateAgentFallbackModelConfigurationAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsExecuteOn>;
3259
+ /** @internal */
3260
+ export declare const UpdateAgentFallbackModelConfigurationAgentsExecuteOn$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsExecuteOn>;
3261
+ /** @internal */
3262
+ export declare const UpdateAgentFallbackModelConfigurationAgentsGuardrails$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsGuardrails, z.ZodTypeDef, unknown>;
3263
+ /** @internal */
3264
+ export type UpdateAgentFallbackModelConfigurationAgentsGuardrails$Outbound = {
3265
+ id: string | string;
3266
+ execute_on: string;
3267
+ };
3268
+ /** @internal */
3269
+ export declare const UpdateAgentFallbackModelConfigurationAgentsGuardrails$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsGuardrails$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsGuardrails>;
3270
+ export declare function updateAgentFallbackModelConfigurationAgentsGuardrailsToJSON(updateAgentFallbackModelConfigurationAgentsGuardrails: UpdateAgentFallbackModelConfigurationAgentsGuardrails): string;
3271
+ export declare function updateAgentFallbackModelConfigurationAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsGuardrails, SDKValidationError>;
3272
+ /** @internal */
2878
3273
  export declare const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsParameters, z.ZodTypeDef, unknown>;
2879
3274
  /** @internal */
2880
3275
  export type UpdateAgentFallbackModelConfigurationAgentsParameters$Outbound = {
@@ -2892,13 +3287,14 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters$Outbound = {
2892
3287
  seed?: number | null | undefined;
2893
3288
  stop?: string | Array<string> | null | undefined;
2894
3289
  stream_options?: UpdateAgentFallbackModelConfigurationAgentsStreamOptions$Outbound | null | undefined;
2895
- thinking?: UpdateAgentFallbackModelConfigurationAgentsThinking$Outbound | undefined;
3290
+ thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2896
3291
  temperature?: number | null | undefined;
2897
3292
  top_p?: number | null | undefined;
2898
3293
  top_k?: number | null | undefined;
2899
3294
  tool_choice?: UpdateAgentToolChoiceAgentsResponse2002$Outbound | string | undefined;
2900
3295
  parallel_tool_calls?: boolean | undefined;
2901
3296
  modalities?: Array<string> | null | undefined;
3297
+ guardrails?: Array<UpdateAgentFallbackModelConfigurationAgentsGuardrails$Outbound> | undefined;
2902
3298
  };
2903
3299
  /** @internal */
2904
3300
  export declare const UpdateAgentFallbackModelConfigurationAgentsParameters$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsParameters$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsParameters>;