@orq-ai/node 4.14.0 → 4.15.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1527) hide show
  1. package/README.md +58 -35
  2. package/funcs/fileSystemsCreate.d.ts +17 -0
  3. package/funcs/fileSystemsCreate.d.ts.map +1 -0
  4. package/funcs/fileSystemsCreate.js +115 -0
  5. package/funcs/fileSystemsCreate.js.map +1 -0
  6. package/funcs/fileSystemsCreateFolder.d.ts +18 -0
  7. package/funcs/fileSystemsCreateFolder.d.ts.map +1 -0
  8. package/funcs/fileSystemsCreateFolder.js +124 -0
  9. package/funcs/fileSystemsCreateFolder.js.map +1 -0
  10. package/funcs/fileSystemsDelete.d.ts +18 -0
  11. package/funcs/fileSystemsDelete.d.ts.map +1 -0
  12. package/funcs/fileSystemsDelete.js +121 -0
  13. package/funcs/fileSystemsDelete.js.map +1 -0
  14. package/funcs/fileSystemsDeleteFile.d.ts +18 -0
  15. package/funcs/fileSystemsDeleteFile.d.ts.map +1 -0
  16. package/funcs/fileSystemsDeleteFile.js +126 -0
  17. package/funcs/fileSystemsDeleteFile.js.map +1 -0
  18. package/funcs/fileSystemsList.d.ts +18 -0
  19. package/funcs/fileSystemsList.d.ts.map +1 -0
  20. package/funcs/fileSystemsList.js +123 -0
  21. package/funcs/fileSystemsList.js.map +1 -0
  22. package/funcs/fileSystemsListFiles.d.ts +18 -0
  23. package/funcs/fileSystemsListFiles.d.ts.map +1 -0
  24. package/funcs/fileSystemsListFiles.js +127 -0
  25. package/funcs/fileSystemsListFiles.js.map +1 -0
  26. package/funcs/fileSystemsMoveFile.d.ts +18 -0
  27. package/funcs/fileSystemsMoveFile.d.ts.map +1 -0
  28. package/funcs/fileSystemsMoveFile.js +124 -0
  29. package/funcs/fileSystemsMoveFile.js.map +1 -0
  30. package/funcs/fileSystemsRetrieve.d.ts +18 -0
  31. package/funcs/fileSystemsRetrieve.d.ts.map +1 -0
  32. package/funcs/fileSystemsRetrieve.js +121 -0
  33. package/funcs/fileSystemsRetrieve.js.map +1 -0
  34. package/funcs/fileSystemsStatFile.d.ts +18 -0
  35. package/funcs/fileSystemsStatFile.d.ts.map +1 -0
  36. package/funcs/fileSystemsStatFile.js +125 -0
  37. package/funcs/fileSystemsStatFile.js.map +1 -0
  38. package/funcs/fileSystemsUpdate.d.ts +18 -0
  39. package/funcs/fileSystemsUpdate.d.ts.map +1 -0
  40. package/funcs/fileSystemsUpdate.js +124 -0
  41. package/funcs/fileSystemsUpdate.js.map +1 -0
  42. package/jsr.json +1 -1
  43. package/lib/config.d.ts +2 -2
  44. package/lib/config.js +2 -2
  45. package/lib/config.js.map +1 -1
  46. package/models/components/agenttoolinputcrud.d.ts +3 -2
  47. package/models/components/agenttoolinputcrud.d.ts.map +1 -1
  48. package/models/components/agenttoolinputcrud.js +2 -0
  49. package/models/components/agenttoolinputcrud.js.map +1 -1
  50. package/models/components/createfilesystemfolderrequest.d.ts +15 -0
  51. package/models/components/createfilesystemfolderrequest.d.ts.map +1 -0
  52. package/models/components/createfilesystemfolderrequest.js +49 -0
  53. package/models/components/createfilesystemfolderrequest.js.map +1 -0
  54. package/models/components/createfilesystemfolderresponse.d.ts +10 -0
  55. package/models/components/createfilesystemfolderresponse.d.ts.map +1 -0
  56. package/models/components/createfilesystemfolderresponse.js +50 -0
  57. package/models/components/createfilesystemfolderresponse.js.map +1 -0
  58. package/models/components/createfilesystemrequest.d.ts +56 -0
  59. package/models/components/createfilesystemrequest.d.ts.map +1 -0
  60. package/models/components/createfilesystemrequest.js +71 -0
  61. package/models/components/createfilesystemrequest.js.map +1 -0
  62. package/models/components/deletefilesystemfileresponse.d.ts +21 -0
  63. package/models/components/deletefilesystemfileresponse.d.ts.map +1 -0
  64. package/models/components/deletefilesystemfileresponse.js +59 -0
  65. package/models/components/deletefilesystemfileresponse.js.map +1 -0
  66. package/models/components/deletefilesystemresponse.d.ts +8 -0
  67. package/models/components/deletefilesystemresponse.d.ts.map +1 -0
  68. package/models/components/deletefilesystemresponse.js +48 -0
  69. package/models/components/deletefilesystemresponse.js.map +1 -0
  70. package/models/components/evaluatorresponsefunction.js +2 -2
  71. package/models/components/evaluatorresponsehttp.js +2 -2
  72. package/models/components/evaluatorresponsejsonschema.js +2 -2
  73. package/models/components/evaluatorresponsellm.js +2 -2
  74. package/models/components/evaluatorresponsepython.js +2 -2
  75. package/models/components/evaluatorresponseragas.js +2 -2
  76. package/models/components/evaluatorresponsetypescript.js +2 -2
  77. package/models/components/fileentry.d.ts +52 -0
  78. package/models/components/fileentry.d.ts.map +1 -0
  79. package/models/components/fileentry.js +70 -0
  80. package/models/components/fileentry.js.map +1 -0
  81. package/models/components/filesystem.d.ts +67 -0
  82. package/models/components/filesystem.d.ts.map +1 -0
  83. package/models/components/filesystem.js +77 -0
  84. package/models/components/filesystem.js.map +1 -0
  85. package/models/components/filesystemexternalaccess.d.ts +11 -0
  86. package/models/components/filesystemexternalaccess.d.ts.map +1 -0
  87. package/models/components/filesystemexternalaccess.js +48 -0
  88. package/models/components/filesystemexternalaccess.js.map +1 -0
  89. package/models/components/filesystemtoolinput.d.ts +29 -0
  90. package/models/components/filesystemtoolinput.d.ts.map +1 -0
  91. package/models/components/filesystemtoolinput.js +56 -0
  92. package/models/components/filesystemtoolinput.js.map +1 -0
  93. package/models/components/index.d.ts +16 -0
  94. package/models/components/index.d.ts.map +1 -1
  95. package/models/components/index.js +16 -0
  96. package/models/components/index.js.map +1 -1
  97. package/models/components/knowledgebasesservicelistresponse.d.ts +4 -4
  98. package/models/components/knowledgebasesservicelistresponse.d.ts.map +1 -1
  99. package/models/components/knowledgebasesservicelistresponse.js +5 -5
  100. package/models/components/knowledgebasesservicelistresponse.js.map +1 -1
  101. package/models/components/listfilesystemfilesresponse.d.ts +27 -0
  102. package/models/components/listfilesystemfilesresponse.d.ts.map +1 -0
  103. package/models/components/listfilesystemfilesresponse.js +60 -0
  104. package/models/components/listfilesystemfilesresponse.js.map +1 -0
  105. package/models/components/listfilesystemsresponse.d.ts +20 -0
  106. package/models/components/listfilesystemsresponse.d.ts.map +1 -0
  107. package/models/components/listfilesystemsresponse.js +64 -0
  108. package/models/components/listfilesystemsresponse.js.map +1 -0
  109. package/models/components/mcpaccess.d.ts +11 -0
  110. package/models/components/mcpaccess.d.ts.map +1 -1
  111. package/models/components/mcpaccess.js +2 -0
  112. package/models/components/mcpaccess.js.map +1 -1
  113. package/models/components/movefilesystemfilerequest.d.ts +20 -0
  114. package/models/components/movefilesystemfilerequest.d.ts.map +1 -0
  115. package/models/components/movefilesystemfilerequest.js +50 -0
  116. package/models/components/movefilesystemfilerequest.js.map +1 -0
  117. package/models/components/movefilesystemfileresponse.d.ts +11 -0
  118. package/models/components/movefilesystemfileresponse.d.ts.map +1 -0
  119. package/models/components/movefilesystemfileresponse.js +51 -0
  120. package/models/components/movefilesystemfileresponse.js.map +1 -0
  121. package/models/components/orqsidekicktool.d.ts +17 -4
  122. package/models/components/orqsidekicktool.d.ts.map +1 -1
  123. package/models/components/orqsidekicktool.js +11 -2
  124. package/models/components/orqsidekicktool.js.map +1 -1
  125. package/models/components/publicusage.d.ts +2 -0
  126. package/models/components/publicusage.d.ts.map +1 -1
  127. package/models/components/publicusage.js +3 -0
  128. package/models/components/publicusage.js.map +1 -1
  129. package/models/components/reasoningpart.js +1 -1
  130. package/models/components/servertoolusedetails.d.ts +19 -0
  131. package/models/components/servertoolusedetails.d.ts.map +1 -0
  132. package/models/components/servertoolusedetails.js +73 -0
  133. package/models/components/servertoolusedetails.js.map +1 -0
  134. package/models/components/statfilesystemfileresponse.d.ts +27 -0
  135. package/models/components/statfilesystemfileresponse.d.ts.map +1 -0
  136. package/models/components/statfilesystemfileresponse.js +67 -0
  137. package/models/components/statfilesystemfileresponse.js.map +1 -0
  138. package/models/components/updatefilesystemrequest.d.ts +42 -0
  139. package/models/components/updatefilesystemrequest.d.ts.map +1 -0
  140. package/models/components/updatefilesystemrequest.js +68 -0
  141. package/models/components/updatefilesystemrequest.js.map +1 -0
  142. package/models/operations/createannotationqueue.js +1 -1
  143. package/models/operations/createdataset.js +1 -1
  144. package/models/operations/createdatasetitem.js +5 -5
  145. package/models/operations/createfolder.d.ts +15 -0
  146. package/models/operations/createfolder.d.ts.map +1 -0
  147. package/models/operations/createfolder.js +57 -0
  148. package/models/operations/createfolder.js.map +1 -0
  149. package/models/operations/createrouterresponse.d.ts +118 -7
  150. package/models/operations/createrouterresponse.d.ts.map +1 -1
  151. package/models/operations/createrouterresponse.js +36 -3
  152. package/models/operations/createrouterresponse.js.map +1 -1
  153. package/models/operations/createtool.js +4 -4
  154. package/models/operations/deletefile.d.ts +16 -0
  155. package/models/operations/deletefile.d.ts.map +1 -0
  156. package/models/operations/deletefile.js +56 -0
  157. package/models/operations/deletefile.js.map +1 -0
  158. package/models/operations/deletefilesystem.d.ts +12 -0
  159. package/models/operations/deletefilesystem.d.ts.map +1 -0
  160. package/models/operations/deletefilesystem.js +54 -0
  161. package/models/operations/deletefilesystem.js.map +1 -0
  162. package/models/operations/getalltools.js +4 -4
  163. package/models/operations/geteval.js +16 -16
  164. package/models/operations/getv2humanevalsets.js +2 -2
  165. package/models/operations/getv2humanevalsetsid.js +2 -2
  166. package/models/operations/index.d.ts +9 -0
  167. package/models/operations/index.d.ts.map +1 -1
  168. package/models/operations/index.js +9 -0
  169. package/models/operations/index.js.map +1 -1
  170. package/models/operations/listannotationqueues.js +1 -1
  171. package/models/operations/listdatasetdatapoints.js +5 -5
  172. package/models/operations/listdatasets.js +1 -1
  173. package/models/operations/listfiles.d.ts +18 -0
  174. package/models/operations/listfiles.d.ts.map +1 -0
  175. package/models/operations/listfiles.js +58 -0
  176. package/models/operations/listfiles.js.map +1 -0
  177. package/models/operations/listfilesystems.d.ts +20 -0
  178. package/models/operations/listfilesystems.d.ts.map +1 -0
  179. package/models/operations/listfilesystems.js +60 -0
  180. package/models/operations/listfilesystems.js.map +1 -0
  181. package/models/operations/movefile.d.ts +15 -0
  182. package/models/operations/movefile.d.ts.map +1 -0
  183. package/models/operations/movefile.js +57 -0
  184. package/models/operations/movefile.js.map +1 -0
  185. package/models/operations/patchv2humanevalsetsid.js +2 -2
  186. package/models/operations/postv2feedbackevaluation.js +4 -4
  187. package/models/operations/postv2humanevalsets.js +2 -2
  188. package/models/operations/retrieveannotationqueue.js +1 -1
  189. package/models/operations/retrievedatapoint.js +5 -5
  190. package/models/operations/retrievedataset.js +1 -1
  191. package/models/operations/retrievefilesystem.d.ts +12 -0
  192. package/models/operations/retrievefilesystem.d.ts.map +1 -0
  193. package/models/operations/retrievefilesystem.js +54 -0
  194. package/models/operations/retrievefilesystem.js.map +1 -0
  195. package/models/operations/retrievetool.js +4 -4
  196. package/models/operations/runagent.d.ts +8 -8
  197. package/models/operations/runagent.d.ts.map +1 -1
  198. package/models/operations/runagent.js +8 -6
  199. package/models/operations/runagent.js.map +1 -1
  200. package/models/operations/statfile.d.ts +14 -0
  201. package/models/operations/statfile.d.ts.map +1 -0
  202. package/models/operations/statfile.js +55 -0
  203. package/models/operations/statfile.js.map +1 -0
  204. package/models/operations/streamrunagent.d.ts +8 -8
  205. package/models/operations/streamrunagent.d.ts.map +1 -1
  206. package/models/operations/streamrunagent.js +8 -6
  207. package/models/operations/streamrunagent.js.map +1 -1
  208. package/models/operations/updateannotationqueue.js +1 -1
  209. package/models/operations/updatedatapoint.js +5 -5
  210. package/models/operations/updatedataset.js +1 -1
  211. package/models/operations/updatefilesystem.d.ts +15 -0
  212. package/models/operations/updatefilesystem.d.ts.map +1 -0
  213. package/models/operations/updatefilesystem.js +57 -0
  214. package/models/operations/updatefilesystem.js.map +1 -0
  215. package/models/operations/updatetool.js +4 -4
  216. package/package.json +5 -4
  217. package/sdk/filesystems.d.ts +76 -0
  218. package/sdk/filesystems.d.ts.map +1 -0
  219. package/sdk/filesystems.js +112 -0
  220. package/sdk/filesystems.js.map +1 -0
  221. package/sdk/sdk.d.ts +3 -0
  222. package/sdk/sdk.d.ts.map +1 -1
  223. package/sdk/sdk.js +4 -0
  224. package/sdk/sdk.js.map +1 -1
  225. package/src/funcs/fileSystemsCreate.ts +162 -0
  226. package/src/funcs/fileSystemsCreateFolder.ts +173 -0
  227. package/src/funcs/fileSystemsDelete.ts +169 -0
  228. package/src/funcs/fileSystemsDeleteFile.ts +183 -0
  229. package/src/funcs/fileSystemsList.ts +172 -0
  230. package/src/funcs/fileSystemsListFiles.ts +177 -0
  231. package/src/funcs/fileSystemsMoveFile.ts +173 -0
  232. package/src/funcs/fileSystemsRetrieve.ts +168 -0
  233. package/src/funcs/fileSystemsStatFile.ts +175 -0
  234. package/src/funcs/fileSystemsUpdate.ts +171 -0
  235. package/src/lib/config.ts +2 -2
  236. package/src/models/components/agenttoolinputcrud.ts +8 -0
  237. package/src/models/components/createfilesystemfolderrequest.ts +36 -0
  238. package/src/models/components/createfilesystemfolderresponse.ts +31 -0
  239. package/src/models/components/createfilesystemrequest.ts +94 -0
  240. package/src/models/components/deletefilesystemfileresponse.ts +49 -0
  241. package/src/models/components/deletefilesystemresponse.ts +27 -0
  242. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  243. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  244. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  245. package/src/models/components/evaluatorresponsellm.ts +2 -2
  246. package/src/models/components/evaluatorresponsepython.ts +2 -2
  247. package/src/models/components/evaluatorresponseragas.ts +2 -2
  248. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  249. package/src/models/components/fileentry.ts +86 -0
  250. package/src/models/components/filesystem.ts +116 -0
  251. package/src/models/components/filesystemexternalaccess.ts +20 -0
  252. package/src/models/components/filesystemtoolinput.ts +51 -0
  253. package/src/models/components/index.ts +16 -0
  254. package/src/models/components/knowledgebasesservicelistresponse.ts +9 -6
  255. package/src/models/components/listfilesystemfilesresponse.ts +57 -0
  256. package/src/models/components/listfilesystemsresponse.ts +51 -0
  257. package/src/models/components/mcpaccess.ts +13 -0
  258. package/src/models/components/movefilesystemfilerequest.ts +40 -0
  259. package/src/models/components/movefilesystemfileresponse.ts +33 -0
  260. package/src/models/components/orqsidekicktool.ts +22 -5
  261. package/src/models/components/publicusage.ts +7 -0
  262. package/src/models/components/reasoningpart.ts +1 -1
  263. package/src/models/components/servertoolusedetails.ts +63 -0
  264. package/src/models/components/statfilesystemfileresponse.ts +63 -0
  265. package/src/models/components/updatefilesystemrequest.ts +83 -0
  266. package/src/models/operations/createannotationqueue.ts +1 -1
  267. package/src/models/operations/createdataset.ts +1 -1
  268. package/src/models/operations/createdatasetitem.ts +5 -5
  269. package/src/models/operations/createfolder.ts +43 -0
  270. package/src/models/operations/createrouterresponse.ts +139 -9
  271. package/src/models/operations/createtool.ts +4 -4
  272. package/src/models/operations/deletefile.ts +42 -0
  273. package/src/models/operations/deletefilesystem.ts +36 -0
  274. package/src/models/operations/getalltools.ts +4 -4
  275. package/src/models/operations/geteval.ts +16 -16
  276. package/src/models/operations/getv2humanevalsets.ts +2 -2
  277. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  278. package/src/models/operations/index.ts +9 -0
  279. package/src/models/operations/listannotationqueues.ts +1 -1
  280. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  281. package/src/models/operations/listdatasets.ts +1 -1
  282. package/src/models/operations/listfiles.ts +46 -0
  283. package/src/models/operations/listfilesystems.ts +50 -0
  284. package/src/models/operations/movefile.ts +40 -0
  285. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  286. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  287. package/src/models/operations/postv2humanevalsets.ts +2 -2
  288. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  289. package/src/models/operations/retrievedatapoint.ts +5 -5
  290. package/src/models/operations/retrievedataset.ts +1 -1
  291. package/src/models/operations/retrievefilesystem.ts +36 -0
  292. package/src/models/operations/retrievetool.ts +4 -4
  293. package/src/models/operations/runagent.ts +15 -9
  294. package/src/models/operations/statfile.ts +37 -0
  295. package/src/models/operations/streamrunagent.ts +15 -9
  296. package/src/models/operations/updateannotationqueue.ts +1 -1
  297. package/src/models/operations/updatedatapoint.ts +5 -5
  298. package/src/models/operations/updatedataset.ts +1 -1
  299. package/src/models/operations/updatefilesystem.ts +41 -0
  300. package/src/models/operations/updatetool.ts +4 -4
  301. package/src/sdk/filesystems.ts +190 -0
  302. package/src/sdk/sdk.ts +6 -0
  303. package/packages/orq-rc/examples/evalsAll.example.ts +0 -26
  304. package/packages/orq-rc/src/core.ts +0 -13
  305. package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -163
  306. package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -181
  307. package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -178
  308. package/packages/orq-rc/src/funcs/agentsList.ts +0 -186
  309. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +0 -189
  310. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +0 -185
  311. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -181
  312. package/packages/orq-rc/src/funcs/agentsRun.ts +0 -164
  313. package/packages/orq-rc/src/funcs/agentsStream.ts +0 -205
  314. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -191
  315. package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -185
  316. package/packages/orq-rc/src/funcs/alertsCreate.ts +0 -162
  317. package/packages/orq-rc/src/funcs/alertsDelete.ts +0 -168
  318. package/packages/orq-rc/src/funcs/alertsGet.ts +0 -168
  319. package/packages/orq-rc/src/funcs/alertsList.ts +0 -171
  320. package/packages/orq-rc/src/funcs/alertsListTriggerEvents.ts +0 -182
  321. package/packages/orq-rc/src/funcs/alertsListTriggers.ts +0 -175
  322. package/packages/orq-rc/src/funcs/alertsUpdate.ts +0 -171
  323. package/packages/orq-rc/src/funcs/annotationQueuesAddItems.ts +0 -176
  324. package/packages/orq-rc/src/funcs/annotationQueuesClear.ts +0 -172
  325. package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +0 -166
  326. package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +0 -172
  327. package/packages/orq-rc/src/funcs/annotationQueuesList.ts +0 -173
  328. package/packages/orq-rc/src/funcs/annotationQueuesListItems.ts +0 -178
  329. package/packages/orq-rc/src/funcs/annotationQueuesRemoveItems.ts +0 -173
  330. package/packages/orq-rc/src/funcs/annotationQueuesRetrieve.ts +0 -171
  331. package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +0 -176
  332. package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +0 -172
  333. package/packages/orq-rc/src/funcs/annotationsCreate.ts +0 -175
  334. package/packages/orq-rc/src/funcs/annotationsDelete.ts +0 -175
  335. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +0 -162
  336. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +0 -168
  337. package/packages/orq-rc/src/funcs/apiKeysGet.ts +0 -173
  338. package/packages/orq-rc/src/funcs/apiKeysList.ts +0 -177
  339. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +0 -144
  340. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +0 -171
  341. package/packages/orq-rc/src/funcs/budgetsCreate.ts +0 -162
  342. package/packages/orq-rc/src/funcs/budgetsDelete.ts +0 -168
  343. package/packages/orq-rc/src/funcs/budgetsGet.ts +0 -168
  344. package/packages/orq-rc/src/funcs/budgetsList.ts +0 -176
  345. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +0 -174
  346. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +0 -171
  347. package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -163
  348. package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -177
  349. package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -167
  350. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -169
  351. package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -168
  352. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -183
  353. package/packages/orq-rc/src/funcs/datasetsList.ts +0 -171
  354. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -184
  355. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -176
  356. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -182
  357. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -177
  358. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -183
  359. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -170
  360. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -170
  361. package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -178
  362. package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -180
  363. package/packages/orq-rc/src/funcs/evalsAll.ts +0 -181
  364. package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -174
  365. package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -181
  366. package/packages/orq-rc/src/funcs/evalsGet.ts +0 -176
  367. package/packages/orq-rc/src/funcs/evalsInvoke.ts +0 -171
  368. package/packages/orq-rc/src/funcs/evalsListVersions.ts +0 -184
  369. package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -177
  370. package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -174
  371. package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +0 -161
  372. package/packages/orq-rc/src/funcs/feedbackRemove.ts +0 -169
  373. package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +0 -161
  374. package/packages/orq-rc/src/funcs/filesCreate.ts +0 -162
  375. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -168
  376. package/packages/orq-rc/src/funcs/filesGet.ts +0 -168
  377. package/packages/orq-rc/src/funcs/filesGetContent.ts +0 -168
  378. package/packages/orq-rc/src/funcs/filesList.ts +0 -172
  379. package/packages/orq-rc/src/funcs/filesUpdate.ts +0 -169
  380. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +0 -163
  381. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +0 -172
  382. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +0 -177
  383. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +0 -172
  384. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +0 -171
  385. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +0 -175
  386. package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +0 -164
  387. package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +0 -166
  388. package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +0 -165
  389. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +0 -170
  390. package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +0 -166
  391. package/packages/orq-rc/src/funcs/identitiesCreate.ts +0 -170
  392. package/packages/orq-rc/src/funcs/identitiesDelete.ts +0 -168
  393. package/packages/orq-rc/src/funcs/identitiesList.ts +0 -175
  394. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +0 -174
  395. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +0 -171
  396. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -163
  397. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -176
  398. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -173
  399. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -168
  400. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -178
  401. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -177
  402. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -174
  403. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -177
  404. package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -176
  405. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -183
  406. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -178
  407. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -179
  408. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -168
  409. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -178
  410. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -174
  411. package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +0 -187
  412. package/packages/orq-rc/src/funcs/knowledgeRetrieveProcessingStatus.ts +0 -180
  413. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -171
  414. package/packages/orq-rc/src/funcs/knowledgeToggleChunk.ts +0 -181
  415. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -171
  416. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -181
  417. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -177
  418. package/packages/orq-rc/src/funcs/logsAggregate.ts +0 -162
  419. package/packages/orq-rc/src/funcs/logsContext.ts +0 -171
  420. package/packages/orq-rc/src/funcs/logsFindPatterns.ts +0 -162
  421. package/packages/orq-rc/src/funcs/logsGet.ts +0 -168
  422. package/packages/orq-rc/src/funcs/logsListFacetValues.ts +0 -176
  423. package/packages/orq-rc/src/funcs/logsListFacets.ts +0 -171
  424. package/packages/orq-rc/src/funcs/logsListFields.ts +0 -144
  425. package/packages/orq-rc/src/funcs/logsListTraceLogs.ts +0 -174
  426. package/packages/orq-rc/src/funcs/logsQuery.ts +0 -162
  427. package/packages/orq-rc/src/funcs/logsSearch.ts +0 -162
  428. package/packages/orq-rc/src/funcs/managementKeysCreate.ts +0 -163
  429. package/packages/orq-rc/src/funcs/managementKeysDelete.ts +0 -172
  430. package/packages/orq-rc/src/funcs/managementKeysGet.ts +0 -171
  431. package/packages/orq-rc/src/funcs/managementKeysList.ts +0 -175
  432. package/packages/orq-rc/src/funcs/managementKeysListCapabilities.ts +0 -144
  433. package/packages/orq-rc/src/funcs/managementKeysUpdate.ts +0 -175
  434. package/packages/orq-rc/src/funcs/mcpGatewaysCreate.ts +0 -162
  435. package/packages/orq-rc/src/funcs/mcpGatewaysDelete.ts +0 -168
  436. package/packages/orq-rc/src/funcs/mcpGatewaysList.ts +0 -172
  437. package/packages/orq-rc/src/funcs/mcpGatewaysListTools.ts +0 -177
  438. package/packages/orq-rc/src/funcs/mcpGatewaysRetrieve.ts +0 -168
  439. package/packages/orq-rc/src/funcs/mcpGatewaysUpdate.ts +0 -171
  440. package/packages/orq-rc/src/funcs/mcpServersCreate.ts +0 -162
  441. package/packages/orq-rc/src/funcs/mcpServersDelete.ts +0 -168
  442. package/packages/orq-rc/src/funcs/mcpServersList.ts +0 -171
  443. package/packages/orq-rc/src/funcs/mcpServersRetrieve.ts +0 -168
  444. package/packages/orq-rc/src/funcs/mcpServersSync.ts +0 -171
  445. package/packages/orq-rc/src/funcs/mcpServersTest.ts +0 -162
  446. package/packages/orq-rc/src/funcs/mcpServersTestTool.ts +0 -171
  447. package/packages/orq-rc/src/funcs/mcpServersUpdate.ts +0 -171
  448. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -159
  449. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -180
  450. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -174
  451. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -169
  452. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -186
  453. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -181
  454. package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -184
  455. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -186
  456. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -179
  457. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -179
  458. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -181
  459. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -176
  460. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -172
  461. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -184
  462. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -179
  463. package/packages/orq-rc/src/funcs/modelCatalogGet.ts +0 -168
  464. package/packages/orq-rc/src/funcs/modelCatalogList.ts +0 -182
  465. package/packages/orq-rc/src/funcs/modelCatalogListOfferings.ts +0 -187
  466. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +0 -168
  467. package/packages/orq-rc/src/funcs/modelsCreate.ts +0 -162
  468. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +0 -163
  469. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +0 -163
  470. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +0 -163
  471. package/packages/orq-rc/src/funcs/modelsDelete.ts +0 -168
  472. package/packages/orq-rc/src/funcs/modelsDisable.ts +0 -168
  473. package/packages/orq-rc/src/funcs/modelsEnable.ts +0 -163
  474. package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +0 -166
  475. package/packages/orq-rc/src/funcs/modelsList.ts +0 -144
  476. package/packages/orq-rc/src/funcs/modelsListLitellm.ts +0 -144
  477. package/packages/orq-rc/src/funcs/modelsUpdate.ts +0 -168
  478. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +0 -169
  479. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +0 -169
  480. package/packages/orq-rc/src/funcs/modelsValidate.ts +0 -163
  481. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +0 -164
  482. package/packages/orq-rc/src/funcs/notifiersCreate.ts +0 -162
  483. package/packages/orq-rc/src/funcs/notifiersDelete.ts +0 -168
  484. package/packages/orq-rc/src/funcs/notifiersGet.ts +0 -168
  485. package/packages/orq-rc/src/funcs/notifiersList.ts +0 -173
  486. package/packages/orq-rc/src/funcs/notifiersUpdate.ts +0 -171
  487. package/packages/orq-rc/src/funcs/piiDetect.ts +0 -162
  488. package/packages/orq-rc/src/funcs/piiRedact.ts +0 -162
  489. package/packages/orq-rc/src/funcs/piiRestore.ts +0 -162
  490. package/packages/orq-rc/src/funcs/policiesCreate.ts +0 -162
  491. package/packages/orq-rc/src/funcs/policiesDelete.ts +0 -168
  492. package/packages/orq-rc/src/funcs/policiesList.ts +0 -170
  493. package/packages/orq-rc/src/funcs/policiesRetrieve.ts +0 -167
  494. package/packages/orq-rc/src/funcs/policiesUpdate.ts +0 -168
  495. package/packages/orq-rc/src/funcs/projectsCreate.ts +0 -162
  496. package/packages/orq-rc/src/funcs/projectsDelete.ts +0 -168
  497. package/packages/orq-rc/src/funcs/projectsGet.ts +0 -168
  498. package/packages/orq-rc/src/funcs/projectsList.ts +0 -170
  499. package/packages/orq-rc/src/funcs/projectsUpdate.ts +0 -171
  500. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -166
  501. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -177
  502. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -182
  503. package/packages/orq-rc/src/funcs/promptsList.ts +0 -169
  504. package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -174
  505. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -167
  506. package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -177
  507. package/packages/orq-rc/src/funcs/reportingQuery.ts +0 -162
  508. package/packages/orq-rc/src/funcs/responsesCreate.ts +0 -170
  509. package/packages/orq-rc/src/funcs/responsesGet.ts +0 -176
  510. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +0 -163
  511. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +0 -275
  512. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +0 -265
  513. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +0 -170
  514. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +0 -170
  515. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +0 -163
  516. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +0 -255
  517. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +0 -162
  518. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +0 -251
  519. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +0 -172
  520. package/packages/orq-rc/src/funcs/routerOcr.ts +0 -160
  521. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +0 -162
  522. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +0 -162
  523. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +0 -168
  524. package/packages/orq-rc/src/funcs/routingRulesList.ts +0 -174
  525. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +0 -169
  526. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +0 -168
  527. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +0 -171
  528. package/packages/orq-rc/src/funcs/schedulesCreate.ts +0 -185
  529. package/packages/orq-rc/src/funcs/schedulesDelete.ts +0 -184
  530. package/packages/orq-rc/src/funcs/schedulesList.ts +0 -167
  531. package/packages/orq-rc/src/funcs/schedulesRetrieve.ts +0 -183
  532. package/packages/orq-rc/src/funcs/schedulesTrigger.ts +0 -190
  533. package/packages/orq-rc/src/funcs/schedulesUpdate.ts +0 -191
  534. package/packages/orq-rc/src/funcs/skillsCreate.ts +0 -162
  535. package/packages/orq-rc/src/funcs/skillsDelete.ts +0 -168
  536. package/packages/orq-rc/src/funcs/skillsGet.ts +0 -168
  537. package/packages/orq-rc/src/funcs/skillsList.ts +0 -170
  538. package/packages/orq-rc/src/funcs/skillsUpdate.ts +0 -171
  539. package/packages/orq-rc/src/funcs/smartRoutersCreate.ts +0 -162
  540. package/packages/orq-rc/src/funcs/smartRoutersDelete.ts +0 -168
  541. package/packages/orq-rc/src/funcs/smartRoutersGet.ts +0 -168
  542. package/packages/orq-rc/src/funcs/smartRoutersList.ts +0 -173
  543. package/packages/orq-rc/src/funcs/smartRoutersUpdate.ts +0 -179
  544. package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -165
  545. package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -168
  546. package/packages/orq-rc/src/funcs/toolsGetVersion.ts +0 -191
  547. package/packages/orq-rc/src/funcs/toolsList.ts +0 -178
  548. package/packages/orq-rc/src/funcs/toolsListVersions.ts +0 -184
  549. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -167
  550. package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -177
  551. package/packages/orq-rc/src/funcs/tracesAggregate.ts +0 -162
  552. package/packages/orq-rc/src/funcs/tracesGet.ts +0 -168
  553. package/packages/orq-rc/src/funcs/tracesGetSpan.ts +0 -172
  554. package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +0 -177
  555. package/packages/orq-rc/src/funcs/tracesListFacets.ts +0 -144
  556. package/packages/orq-rc/src/funcs/tracesListFields.ts +0 -144
  557. package/packages/orq-rc/src/funcs/tracesListSpans.ts +0 -174
  558. package/packages/orq-rc/src/funcs/tracesQuery.ts +0 -162
  559. package/packages/orq-rc/src/funcs/tracesSearch.ts +0 -162
  560. package/packages/orq-rc/src/funcs/webhooksCount.ts +0 -144
  561. package/packages/orq-rc/src/funcs/webhooksCreate.ts +0 -162
  562. package/packages/orq-rc/src/funcs/webhooksDelete.ts +0 -168
  563. package/packages/orq-rc/src/funcs/webhooksGenerateSecret.ts +0 -144
  564. package/packages/orq-rc/src/funcs/webhooksGet.ts +0 -168
  565. package/packages/orq-rc/src/funcs/webhooksList.ts +0 -175
  566. package/packages/orq-rc/src/funcs/webhooksQuery.ts +0 -164
  567. package/packages/orq-rc/src/funcs/webhooksUpdate.ts +0 -168
  568. package/packages/orq-rc/src/funcs/workspaceSecurityAddIPRange.ts +0 -172
  569. package/packages/orq-rc/src/funcs/workspaceSecurityCreateDomain.ts +0 -174
  570. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteDomain.ts +0 -177
  571. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteIPRange.ts +0 -177
  572. package/packages/orq-rc/src/funcs/workspaceSecurityGetIPAllowlist.ts +0 -171
  573. package/packages/orq-rc/src/funcs/workspaceSecurityListDomains.ts +0 -171
  574. package/packages/orq-rc/src/funcs/workspaceSecurityUpdateIPAllowlist.ts +0 -174
  575. package/packages/orq-rc/src/funcs/workspaceSecurityVerifyDomain.ts +0 -177
  576. package/packages/orq-rc/src/funcs/workspaceSettingsGet.ts +0 -144
  577. package/packages/orq-rc/src/funcs/workspaceSettingsUpdate.ts +0 -163
  578. package/packages/orq-rc/src/hooks/global.ts +0 -44
  579. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  580. package/packages/orq-rc/src/hooks/index.ts +0 -6
  581. package/packages/orq-rc/src/hooks/registration.ts +0 -15
  582. package/packages/orq-rc/src/hooks/types.ts +0 -113
  583. package/packages/orq-rc/src/index.ts +0 -9
  584. package/packages/orq-rc/src/lib/base64.ts +0 -37
  585. package/packages/orq-rc/src/lib/config.ts +0 -64
  586. package/packages/orq-rc/src/lib/encodings.ts +0 -525
  587. package/packages/orq-rc/src/lib/env.ts +0 -61
  588. package/packages/orq-rc/src/lib/event-streams.ts +0 -191
  589. package/packages/orq-rc/src/lib/files.ts +0 -104
  590. package/packages/orq-rc/src/lib/http.ts +0 -325
  591. package/packages/orq-rc/src/lib/logger.ts +0 -9
  592. package/packages/orq-rc/src/lib/matchers.ts +0 -346
  593. package/packages/orq-rc/src/lib/primitives.ts +0 -166
  594. package/packages/orq-rc/src/lib/retries.ts +0 -226
  595. package/packages/orq-rc/src/lib/schemas.ts +0 -91
  596. package/packages/orq-rc/src/lib/sdks.ts +0 -443
  597. package/packages/orq-rc/src/lib/security.ts +0 -280
  598. package/packages/orq-rc/src/lib/url.ts +0 -35
  599. package/packages/orq-rc/src/models/components/accesslevel.ts +0 -20
  600. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +0 -99
  601. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -190
  602. package/packages/orq-rc/src/models/components/addiprangerequest.ts +0 -34
  603. package/packages/orq-rc/src/models/components/addiprangeresponse.ts +0 -32
  604. package/packages/orq-rc/src/models/components/advisortoolinput.ts +0 -51
  605. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +0 -73
  606. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +0 -91
  607. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +0 -71
  608. package/packages/orq-rc/src/models/components/agenticragconfig.ts +0 -43
  609. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +0 -507
  610. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +0 -165
  611. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +0 -103
  612. package/packages/orq-rc/src/models/components/agentresponserequest.ts +0 -569
  613. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +0 -531
  614. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -807
  615. package/packages/orq-rc/src/models/components/agenttoolinputcrud.ts +0 -181
  616. package/packages/orq-rc/src/models/components/aggregatebucket.ts +0 -45
  617. package/packages/orq-rc/src/models/components/aggregatelogsrequest.ts +0 -52
  618. package/packages/orq-rc/src/models/components/aggregatelogsresponse.ts +0 -37
  619. package/packages/orq-rc/src/models/components/aggregatetracesrequest.ts +0 -65
  620. package/packages/orq-rc/src/models/components/aggregatetracesresponse.ts +0 -37
  621. package/packages/orq-rc/src/models/components/alert.ts +0 -187
  622. package/packages/orq-rc/src/models/components/alertcondition.ts +0 -206
  623. package/packages/orq-rc/src/models/components/alertdisplay.ts +0 -109
  624. package/packages/orq-rc/src/models/components/alertevidence.ts +0 -56
  625. package/packages/orq-rc/src/models/components/alertquery.ts +0 -67
  626. package/packages/orq-rc/src/models/components/alertrun.ts +0 -76
  627. package/packages/orq-rc/src/models/components/alerttrigger.ts +0 -149
  628. package/packages/orq-rc/src/models/components/alerttriggerevent.ts +0 -67
  629. package/packages/orq-rc/src/models/components/allprojects.ts +0 -21
  630. package/packages/orq-rc/src/models/components/apierror.ts +0 -39
  631. package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +0 -66
  632. package/packages/orq-rc/src/models/components/apikeybudgetscoperestresponse.ts +0 -37
  633. package/packages/orq-rc/src/models/components/apikeyowner.ts +0 -55
  634. package/packages/orq-rc/src/models/components/apikeyrestresponse.ts +0 -119
  635. package/packages/orq-rc/src/models/components/apikeystatus.ts +0 -18
  636. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +0 -136
  637. package/packages/orq-rc/src/models/components/autorouterconfig.ts +0 -92
  638. package/packages/orq-rc/src/models/components/autorouterv2config.ts +0 -152
  639. package/packages/orq-rc/src/models/components/autorouterv2creatorconfig.ts +0 -59
  640. package/packages/orq-rc/src/models/components/autorouterv2effortconfig.ts +0 -66
  641. package/packages/orq-rc/src/models/components/azurefoundrydeployment.ts +0 -51
  642. package/packages/orq-rc/src/models/components/azurefoundrydeploymentmasterdata.ts +0 -60
  643. package/packages/orq-rc/src/models/components/budgetalert.ts +0 -92
  644. package/packages/orq-rc/src/models/components/budgetalertdimension.ts +0 -22
  645. package/packages/orq-rc/src/models/components/budgetalertrestresponse.ts +0 -58
  646. package/packages/orq-rc/src/models/components/budgetlimit.ts +0 -83
  647. package/packages/orq-rc/src/models/components/budgetlimits.ts +0 -84
  648. package/packages/orq-rc/src/models/components/budgetlimitsrestresponse.ts +0 -51
  649. package/packages/orq-rc/src/models/components/budgetmatch.ts +0 -56
  650. package/packages/orq-rc/src/models/components/budgetperiod.ts +0 -23
  651. package/packages/orq-rc/src/models/components/budgetrestresponse.ts +0 -116
  652. package/packages/orq-rc/src/models/components/budgetscope.ts +0 -150
  653. package/packages/orq-rc/src/models/components/budgetscopekind.ts +0 -22
  654. package/packages/orq-rc/src/models/components/budgetscoperestresponse.ts +0 -103
  655. package/packages/orq-rc/src/models/components/budgetsortfield.ts +0 -19
  656. package/packages/orq-rc/src/models/components/budgetusage.ts +0 -54
  657. package/packages/orq-rc/src/models/components/cacheconfig.ts +0 -30
  658. package/packages/orq-rc/src/models/components/callsubagenttoolinput.ts +0 -51
  659. package/packages/orq-rc/src/models/components/chunk.ts +0 -35
  660. package/packages/orq-rc/src/models/components/chunkingcleanupoptions.ts +0 -64
  661. package/packages/orq-rc/src/models/components/chunkingconfiguration.ts +0 -111
  662. package/packages/orq-rc/src/models/components/chunkmetadata.ts +0 -42
  663. package/packages/orq-rc/src/models/components/chunkprocessingattempts.ts +0 -42
  664. package/packages/orq-rc/src/models/components/chunksservicecountrequest.ts +0 -63
  665. package/packages/orq-rc/src/models/components/chunksservicecountresponse.ts +0 -31
  666. package/packages/orq-rc/src/models/components/chunksservicedeletemanyrequest.ts +0 -41
  667. package/packages/orq-rc/src/models/components/chunksservicedeletemanyresponse.ts +0 -39
  668. package/packages/orq-rc/src/models/components/chunksservicelistpaginatedrequest.ts +0 -71
  669. package/packages/orq-rc/src/models/components/chunksservicelistpaginatedresponse.ts +0 -58
  670. package/packages/orq-rc/src/models/components/chunksservicelistresponse.ts +0 -57
  671. package/packages/orq-rc/src/models/components/chunksservicesetenabledrequest.ts +0 -33
  672. package/packages/orq-rc/src/models/components/chunksserviceupdaterequest.ts +0 -68
  673. package/packages/orq-rc/src/models/components/codeinterpretertoolinput.ts +0 -51
  674. package/packages/orq-rc/src/models/components/codetoolinput.ts +0 -62
  675. package/packages/orq-rc/src/models/components/conversationparam.ts +0 -51
  676. package/packages/orq-rc/src/models/components/countmetadata.ts +0 -86
  677. package/packages/orq-rc/src/models/components/countwebhooksresponse.ts +0 -37
  678. package/packages/orq-rc/src/models/components/createagentresponse.ts +0 -305
  679. package/packages/orq-rc/src/models/components/createalertrequest.ts +0 -107
  680. package/packages/orq-rc/src/models/components/createalertresponse.ts +0 -35
  681. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +0 -107
  682. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +0 -123
  683. package/packages/orq-rc/src/models/components/createbudgetresponse.ts +0 -38
  684. package/packages/orq-rc/src/models/components/createdomainrequest.ts +0 -31
  685. package/packages/orq-rc/src/models/components/createdomainresponse.ts +0 -35
  686. package/packages/orq-rc/src/models/components/createfilerequest.ts +0 -62
  687. package/packages/orq-rc/src/models/components/createfileresponse.ts +0 -35
  688. package/packages/orq-rc/src/models/components/createguardrailrulerequest.ts +0 -76
  689. package/packages/orq-rc/src/models/components/createguardrailruleresponse.ts +0 -37
  690. package/packages/orq-rc/src/models/components/createidentityrequest.ts +0 -74
  691. package/packages/orq-rc/src/models/components/createidentityresponse.ts +0 -35
  692. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +0 -70
  693. package/packages/orq-rc/src/models/components/createmanagementkeyresponse.ts +0 -48
  694. package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +0 -89
  695. package/packages/orq-rc/src/models/components/createmcpgatewayresponse.ts +0 -37
  696. package/packages/orq-rc/src/models/components/createmcpserverrequest.ts +0 -96
  697. package/packages/orq-rc/src/models/components/createmcpserverresponse.ts +0 -37
  698. package/packages/orq-rc/src/models/components/creatememorydocumentrequest.ts +0 -42
  699. package/packages/orq-rc/src/models/components/creatememoryrequest.ts +0 -39
  700. package/packages/orq-rc/src/models/components/creatememorystorerequest.ts +0 -59
  701. package/packages/orq-rc/src/models/components/createmodelparameter.ts +0 -54
  702. package/packages/orq-rc/src/models/components/createnotifierrequest.ts +0 -433
  703. package/packages/orq-rc/src/models/components/createnotifierresponse.ts +0 -35
  704. package/packages/orq-rc/src/models/components/createprojectrequest.ts +0 -46
  705. package/packages/orq-rc/src/models/components/createprojectresponse.ts +0 -35
  706. package/packages/orq-rc/src/models/components/createroutingrulerequest.ts +0 -89
  707. package/packages/orq-rc/src/models/components/createskillrequest.ts +0 -159
  708. package/packages/orq-rc/src/models/components/createskillresponse.ts +0 -35
  709. package/packages/orq-rc/src/models/components/createsmartrouterrequest.ts +0 -47
  710. package/packages/orq-rc/src/models/components/createsmartrouterresponse.ts +0 -37
  711. package/packages/orq-rc/src/models/components/createwebhookrequest.ts +0 -100
  712. package/packages/orq-rc/src/models/components/currentdatetoolinput.ts +0 -51
  713. package/packages/orq-rc/src/models/components/datapart.ts +0 -38
  714. package/packages/orq-rc/src/models/components/datapoint.ts +0 -61
  715. package/packages/orq-rc/src/models/components/datasource.ts +0 -108
  716. package/packages/orq-rc/src/models/components/datasourceattachment.ts +0 -64
  717. package/packages/orq-rc/src/models/components/datasourcechunkingoptions.ts +0 -53
  718. package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +0 -79
  719. package/packages/orq-rc/src/models/components/datasourcesservicegetprocessingstatusresponse.ts +0 -69
  720. package/packages/orq-rc/src/models/components/datasourcesservicelistresponse.ts +0 -55
  721. package/packages/orq-rc/src/models/components/datasourcesserviceupdaterequest.ts +0 -41
  722. package/packages/orq-rc/src/models/components/deletealertresponse.ts +0 -27
  723. package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +0 -27
  724. package/packages/orq-rc/src/models/components/deletefileresponse.ts +0 -27
  725. package/packages/orq-rc/src/models/components/deleteguardrailruleresponse.ts +0 -27
  726. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +0 -27
  727. package/packages/orq-rc/src/models/components/deletemanagementkeyresponse.ts +0 -27
  728. package/packages/orq-rc/src/models/components/deletemcpgatewayresponse.ts +0 -30
  729. package/packages/orq-rc/src/models/components/deletemcpserverresponse.ts +0 -30
  730. package/packages/orq-rc/src/models/components/deletememorydocumenttoolinput.ts +0 -53
  731. package/packages/orq-rc/src/models/components/deletenotifierresponse.ts +0 -27
  732. package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +0 -27
  733. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +0 -27
  734. package/packages/orq-rc/src/models/components/deletesmartrouterresponse.ts +0 -27
  735. package/packages/orq-rc/src/models/components/deletewebhookresponse.ts +0 -34
  736. package/packages/orq-rc/src/models/components/detectrequest.ts +0 -56
  737. package/packages/orq-rc/src/models/components/detectresponse.ts +0 -41
  738. package/packages/orq-rc/src/models/components/domain.ts +0 -85
  739. package/packages/orq-rc/src/models/components/domaingroup.ts +0 -17
  740. package/packages/orq-rc/src/models/components/domainverification.ts +0 -63
  741. package/packages/orq-rc/src/models/components/domainverificationstatus.ts +0 -20
  742. package/packages/orq-rc/src/models/components/embeddingcacheconfig.ts +0 -59
  743. package/packages/orq-rc/src/models/components/embeddingcontactparams.ts +0 -48
  744. package/packages/orq-rc/src/models/components/embeddingdimensionsupport.ts +0 -59
  745. package/packages/orq-rc/src/models/components/embeddingloadbalancerconfig.ts +0 -66
  746. package/packages/orq-rc/src/models/components/embeddingloadbalancermodelconfig.ts +0 -42
  747. package/packages/orq-rc/src/models/components/embeddingorqparams.ts +0 -98
  748. package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +0 -45
  749. package/packages/orq-rc/src/models/components/embeddingsconfig.ts +0 -92
  750. package/packages/orq-rc/src/models/components/embeddingsmodelparameters.ts +0 -64
  751. package/packages/orq-rc/src/models/components/embeddingtimeoutconfig.ts +0 -39
  752. package/packages/orq-rc/src/models/components/errorpart.ts +0 -58
  753. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +0 -66
  754. package/packages/orq-rc/src/models/components/evaluationcontext.ts +0 -84
  755. package/packages/orq-rc/src/models/components/evaluationresult.ts +0 -108
  756. package/packages/orq-rc/src/models/components/evaluatorref.ts +0 -95
  757. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +0 -922
  758. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +0 -77
  759. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +0 -60
  760. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +0 -310
  761. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +0 -60
  762. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +0 -84
  763. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +0 -60
  764. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +0 -71
  765. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +0 -61
  766. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +0 -67
  767. package/packages/orq-rc/src/models/components/extendedmessage.ts +0 -146
  768. package/packages/orq-rc/src/models/components/facetgroup.ts +0 -41
  769. package/packages/orq-rc/src/models/components/facetkey.ts +0 -57
  770. package/packages/orq-rc/src/models/components/facetvalue.ts +0 -33
  771. package/packages/orq-rc/src/models/components/fallbackconfig.ts +0 -27
  772. package/packages/orq-rc/src/models/components/fieldinfo.ts +0 -33
  773. package/packages/orq-rc/src/models/components/file.ts +0 -64
  774. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +0 -87
  775. package/packages/orq-rc/src/models/components/filepart.ts +0 -223
  776. package/packages/orq-rc/src/models/components/filepurpose.ts +0 -22
  777. package/packages/orq-rc/src/models/components/filter.ts +0 -139
  778. package/packages/orq-rc/src/models/components/findlogpatternsmeta.ts +0 -53
  779. package/packages/orq-rc/src/models/components/findlogpatternsrequest.ts +0 -59
  780. package/packages/orq-rc/src/models/components/findlogpatternsresponse.ts +0 -43
  781. package/packages/orq-rc/src/models/components/functiontoolinput.ts +0 -60
  782. package/packages/orq-rc/src/models/components/generatewebhooksecretresponse.ts +0 -37
  783. package/packages/orq-rc/src/models/components/getagentresponse.ts +0 -348
  784. package/packages/orq-rc/src/models/components/getalertresponse.ts +0 -35
  785. package/packages/orq-rc/src/models/components/getbudgetresponse.ts +0 -38
  786. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +0 -39
  787. package/packages/orq-rc/src/models/components/getfileresponse.ts +0 -35
  788. package/packages/orq-rc/src/models/components/getguardrailruleresponse.ts +0 -37
  789. package/packages/orq-rc/src/models/components/getipallowlistresponse.ts +0 -40
  790. package/packages/orq-rc/src/models/components/getlogcontextrequest.ts +0 -71
  791. package/packages/orq-rc/src/models/components/getlogcontextresponse.ts +0 -55
  792. package/packages/orq-rc/src/models/components/getlogresponse.ts +0 -35
  793. package/packages/orq-rc/src/models/components/getmanagementkeyresponse.ts +0 -40
  794. package/packages/orq-rc/src/models/components/getmcpgatewayresponse.ts +0 -37
  795. package/packages/orq-rc/src/models/components/getmcpserverresponse.ts +0 -37
  796. package/packages/orq-rc/src/models/components/getmodelcatalogmodelresponse.ts +0 -35
  797. package/packages/orq-rc/src/models/components/getnotifierresponse.ts +0 -35
  798. package/packages/orq-rc/src/models/components/getprojectresponse.ts +0 -35
  799. package/packages/orq-rc/src/models/components/getskillresponse.ts +0 -35
  800. package/packages/orq-rc/src/models/components/getsmartrouterresponse.ts +0 -37
  801. package/packages/orq-rc/src/models/components/gettraceresponse.ts +0 -32
  802. package/packages/orq-rc/src/models/components/gettracespanresponse.ts +0 -32
  803. package/packages/orq-rc/src/models/components/getuploadfileurlresponse.ts +0 -37
  804. package/packages/orq-rc/src/models/components/getworkspacesettingsresponse.ts +0 -38
  805. package/packages/orq-rc/src/models/components/googlesearchtoolinput.ts +0 -51
  806. package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -81
  807. package/packages/orq-rc/src/models/components/guardrailruleexpression.ts +0 -86
  808. package/packages/orq-rc/src/models/components/guardrailruleguardrail.ts +0 -108
  809. package/packages/orq-rc/src/models/components/guardrailruleplugin.ts +0 -79
  810. package/packages/orq-rc/src/models/components/httptoolinput.ts +0 -62
  811. package/packages/orq-rc/src/models/components/identity.ts +0 -230
  812. package/packages/orq-rc/src/models/components/identitybudgetscope.ts +0 -66
  813. package/packages/orq-rc/src/models/components/identitybudgetscoperestresponse.ts +0 -37
  814. package/packages/orq-rc/src/models/components/identitymetrics.ts +0 -57
  815. package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -18
  816. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +0 -268
  817. package/packages/orq-rc/src/models/components/incompletedetails.ts +0 -31
  818. package/packages/orq-rc/src/models/components/index.ts +0 -595
  819. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +0 -48
  820. package/packages/orq-rc/src/models/components/internalretrievalconfig.ts +0 -44
  821. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +0 -3446
  822. package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +0 -133
  823. package/packages/orq-rc/src/models/components/invokeevaluatorresponse.ts +0 -47
  824. package/packages/orq-rc/src/models/components/ipallowlist.ts +0 -34
  825. package/packages/orq-rc/src/models/components/iprange.ts +0 -44
  826. package/packages/orq-rc/src/models/components/jsonschematoolinput.ts +0 -60
  827. package/packages/orq-rc/src/models/components/knowledge.ts +0 -558
  828. package/packages/orq-rc/src/models/components/knowledgebasesservicecreaterequest.ts +0 -439
  829. package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +0 -51
  830. package/packages/orq-rc/src/models/components/knowledgebasesserviceupdaterequest.ts +0 -649
  831. package/packages/orq-rc/src/models/components/knowledgechunk.ts +0 -120
  832. package/packages/orq-rc/src/models/components/knowledgemetadata.ts +0 -48
  833. package/packages/orq-rc/src/models/components/knowledgesettings.ts +0 -54
  834. package/packages/orq-rc/src/models/components/knowledgeupdatesettings.ts +0 -55
  835. package/packages/orq-rc/src/models/components/limits.ts +0 -70
  836. package/packages/orq-rc/src/models/components/listalertsresponse.ts +0 -53
  837. package/packages/orq-rc/src/models/components/listalerttriggereventsresponse.ts +0 -56
  838. package/packages/orq-rc/src/models/components/listalerttriggersresponse.ts +0 -53
  839. package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +0 -51
  840. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +0 -38
  841. package/packages/orq-rc/src/models/components/listdomainsresponse.ts +0 -35
  842. package/packages/orq-rc/src/models/components/listfilesresponse.ts +0 -50
  843. package/packages/orq-rc/src/models/components/listguardrailrulesresponse.ts +0 -41
  844. package/packages/orq-rc/src/models/components/listguardrailruleusedguardrailsresponse.ts +0 -44
  845. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +0 -53
  846. package/packages/orq-rc/src/models/components/listlogfacetsresponse.ts +0 -32
  847. package/packages/orq-rc/src/models/components/listlogfacetvaluesresponse.ts +0 -32
  848. package/packages/orq-rc/src/models/components/listlogfieldsresponse.ts +0 -32
  849. package/packages/orq-rc/src/models/components/listmanagementcapabilitiesresponse.ts +0 -39
  850. package/packages/orq-rc/src/models/components/listmanagementkeysresponse.ts +0 -56
  851. package/packages/orq-rc/src/models/components/listmcpgatewaysresponse.ts +0 -50
  852. package/packages/orq-rc/src/models/components/listmcpgatewaytoolsresponse.ts +0 -53
  853. package/packages/orq-rc/src/models/components/listmcpserversresponse.ts +0 -50
  854. package/packages/orq-rc/src/models/components/listmemoriesresponse.ts +0 -54
  855. package/packages/orq-rc/src/models/components/listmemorydocumentsresponse.ts +0 -57
  856. package/packages/orq-rc/src/models/components/listmemorystoresresponse.ts +0 -54
  857. package/packages/orq-rc/src/models/components/listmodelcatalogofferingsresponse.ts +0 -53
  858. package/packages/orq-rc/src/models/components/listmodelcatalogresponse.ts +0 -53
  859. package/packages/orq-rc/src/models/components/listnotifiersresponse.ts +0 -50
  860. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +0 -53
  861. package/packages/orq-rc/src/models/components/listroutingrulesresponse.ts +0 -41
  862. package/packages/orq-rc/src/models/components/listroutingruleusedmodelsresponse.ts +0 -33
  863. package/packages/orq-rc/src/models/components/listskillsresponse.ts +0 -53
  864. package/packages/orq-rc/src/models/components/listsmartroutersresponse.ts +0 -50
  865. package/packages/orq-rc/src/models/components/listtracefacetsresponse.ts +0 -32
  866. package/packages/orq-rc/src/models/components/listtracefacetvaluesresponse.ts +0 -44
  867. package/packages/orq-rc/src/models/components/listtracefieldsresponse.ts +0 -32
  868. package/packages/orq-rc/src/models/components/listtracelogsresponse.ts +0 -44
  869. package/packages/orq-rc/src/models/components/listtracespansresponse.ts +0 -44
  870. package/packages/orq-rc/src/models/components/listwebhooksresponse.ts +0 -53
  871. package/packages/orq-rc/src/models/components/litellmmodel.ts +0 -50
  872. package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +0 -97
  873. package/packages/orq-rc/src/models/components/litellmparams.ts +0 -43
  874. package/packages/orq-rc/src/models/components/loadbalancerconfig.ts +0 -39
  875. package/packages/orq-rc/src/models/components/loadbalancermodelconfig.ts +0 -34
  876. package/packages/orq-rc/src/models/components/log.ts +0 -99
  877. package/packages/orq-rc/src/models/components/logpattern.ts +0 -84
  878. package/packages/orq-rc/src/models/components/managementdomain.ts +0 -70
  879. package/packages/orq-rc/src/models/components/managementdomaingroup.ts +0 -16
  880. package/packages/orq-rc/src/models/components/managementkey.ts +0 -132
  881. package/packages/orq-rc/src/models/components/managementkeystatus.ts +0 -23
  882. package/packages/orq-rc/src/models/components/managementpermissionmode.ts +0 -25
  883. package/packages/orq-rc/src/models/components/mcpaccess.ts +0 -80
  884. package/packages/orq-rc/src/models/components/mcpauthconfig.ts +0 -55
  885. package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +0 -55
  886. package/packages/orq-rc/src/models/components/mcpauthtype.ts +0 -22
  887. package/packages/orq-rc/src/models/components/mcpconnection.ts +0 -59
  888. package/packages/orq-rc/src/models/components/mcpconnectiontype.ts +0 -23
  889. package/packages/orq-rc/src/models/components/mcpgateway.ts +0 -108
  890. package/packages/orq-rc/src/models/components/mcpgatewaymode.ts +0 -22
  891. package/packages/orq-rc/src/models/components/mcpgatewayserverlink.ts +0 -92
  892. package/packages/orq-rc/src/models/components/mcpgatewaystatus.ts +0 -22
  893. package/packages/orq-rc/src/models/components/mcpgatewaytool.ts +0 -109
  894. package/packages/orq-rc/src/models/components/mcpgatewaytooltestresult.ts +0 -79
  895. package/packages/orq-rc/src/models/components/mcpheadersecret.ts +0 -49
  896. package/packages/orq-rc/src/models/components/mcpheadersecretoutput.ts +0 -44
  897. package/packages/orq-rc/src/models/components/mcpoauthconfig.ts +0 -62
  898. package/packages/orq-rc/src/models/components/mcpoauthconfigoutput.ts +0 -56
  899. package/packages/orq-rc/src/models/components/mcpserver.ts +0 -114
  900. package/packages/orq-rc/src/models/components/mcpsyncstate.ts +0 -65
  901. package/packages/orq-rc/src/models/components/mcptestresult.ts +0 -61
  902. package/packages/orq-rc/src/models/components/mcptool.ts +0 -92
  903. package/packages/orq-rc/src/models/components/mcptoolannotations.ts +0 -58
  904. package/packages/orq-rc/src/models/components/mcptoolexposure.ts +0 -79
  905. package/packages/orq-rc/src/models/components/mcptoolexposuremode.ts +0 -23
  906. package/packages/orq-rc/src/models/components/mcptoolinput.ts +0 -63
  907. package/packages/orq-rc/src/models/components/mcptoolnaming.ts +0 -22
  908. package/packages/orq-rc/src/models/components/memory.ts +0 -74
  909. package/packages/orq-rc/src/models/components/memorydocument.ts +0 -65
  910. package/packages/orq-rc/src/models/components/memoryparam.ts +0 -56
  911. package/packages/orq-rc/src/models/components/memorystore.ts +0 -80
  912. package/packages/orq-rc/src/models/components/memorystoreembeddingconfig.ts +0 -54
  913. package/packages/orq-rc/src/models/components/model.ts +0 -206
  914. package/packages/orq-rc/src/models/components/modelbudgetscope.ts +0 -67
  915. package/packages/orq-rc/src/models/components/modelbudgetscoperestresponse.ts +0 -38
  916. package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +0 -82
  917. package/packages/orq-rc/src/models/components/modeldocument.ts +0 -121
  918. package/packages/orq-rc/src/models/components/modelmetadata.ts +0 -802
  919. package/packages/orq-rc/src/models/components/modelmodalities.ts +0 -39
  920. package/packages/orq-rc/src/models/components/modelparameterdocument.ts +0 -53
  921. package/packages/orq-rc/src/models/components/modelprovider.ts +0 -39
  922. package/packages/orq-rc/src/models/components/modelref.ts +0 -70
  923. package/packages/orq-rc/src/models/components/modelsconfig.ts +0 -75
  924. package/packages/orq-rc/src/models/components/modelsharingconfig.ts +0 -47
  925. package/packages/orq-rc/src/models/components/monitorfilter.ts +0 -87
  926. package/packages/orq-rc/src/models/components/notifier.ts +0 -465
  927. package/packages/orq-rc/src/models/components/notifiertype.ts +0 -21
  928. package/packages/orq-rc/src/models/components/orqadvisortool.ts +0 -100
  929. package/packages/orq-rc/src/models/components/orqsidekicktool.ts +0 -111
  930. package/packages/orq-rc/src/models/components/outputtokensdetails.ts +0 -36
  931. package/packages/orq-rc/src/models/components/ownertype.ts +0 -17
  932. package/packages/orq-rc/src/models/components/parseresponse.ts +0 -32
  933. package/packages/orq-rc/src/models/components/partdelta.ts +0 -39
  934. package/packages/orq-rc/src/models/components/partdeltaevent.ts +0 -73
  935. package/packages/orq-rc/src/models/components/partdoneevent.ts +0 -70
  936. package/packages/orq-rc/src/models/components/permissionmode.ts +0 -19
  937. package/packages/orq-rc/src/models/components/piiredaction.ts +0 -70
  938. package/packages/orq-rc/src/models/components/piiredactionconfig.ts +0 -108
  939. package/packages/orq-rc/src/models/components/piiredactionpluginauto.ts +0 -185
  940. package/packages/orq-rc/src/models/components/piiredactionpluginen.ts +0 -222
  941. package/packages/orq-rc/src/models/components/piiredactionpluginnl.ts +0 -218
  942. package/packages/orq-rc/src/models/components/policy.ts +0 -80
  943. package/packages/orq-rc/src/models/components/policyretryconfig.ts +0 -64
  944. package/packages/orq-rc/src/models/components/price.ts +0 -56
  945. package/packages/orq-rc/src/models/components/pricing.ts +0 -93
  946. package/packages/orq-rc/src/models/components/pricingvariant.ts +0 -90
  947. package/packages/orq-rc/src/models/components/processingattempt.ts +0 -52
  948. package/packages/orq-rc/src/models/components/processingerror.ts +0 -33
  949. package/packages/orq-rc/src/models/components/project.ts +0 -108
  950. package/packages/orq-rc/src/models/components/projectbudgetscope.ts +0 -63
  951. package/packages/orq-rc/src/models/components/projectbudgetscoperestresponse.ts +0 -34
  952. package/packages/orq-rc/src/models/components/projectscope.ts +0 -47
  953. package/packages/orq-rc/src/models/components/providerbudgetscope.ts +0 -57
  954. package/packages/orq-rc/src/models/components/providertoolinput.ts +0 -72
  955. package/packages/orq-rc/src/models/components/publiccontact.ts +0 -71
  956. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +0 -63
  957. package/packages/orq-rc/src/models/components/publicembeddingusage.ts +0 -45
  958. package/packages/orq-rc/src/models/components/publicidentity.ts +0 -69
  959. package/packages/orq-rc/src/models/components/publicmodelentry.ts +0 -71
  960. package/packages/orq-rc/src/models/components/publicplugin.ts +0 -133
  961. package/packages/orq-rc/src/models/components/publicresponseresource.ts +0 -209
  962. package/packages/orq-rc/src/models/components/publicschedule.ts +0 -130
  963. package/packages/orq-rc/src/models/components/publicscheduleerrordetail.ts +0 -39
  964. package/packages/orq-rc/src/models/components/publicschedulepayload.ts +0 -84
  965. package/packages/orq-rc/src/models/components/publicspan.ts +0 -135
  966. package/packages/orq-rc/src/models/components/publicusage.ts +0 -77
  967. package/packages/orq-rc/src/models/components/queryknowledgebasetoolinput.ts +0 -53
  968. package/packages/orq-rc/src/models/components/querylogsrequest.ts +0 -60
  969. package/packages/orq-rc/src/models/components/querylogsresponse.ts +0 -40
  970. package/packages/orq-rc/src/models/components/querymemorystoretoolinput.ts +0 -51
  971. package/packages/orq-rc/src/models/components/queryparamspagination.ts +0 -40
  972. package/packages/orq-rc/src/models/components/queryparamssort.ts +0 -32
  973. package/packages/orq-rc/src/models/components/queryreportrequest.ts +0 -296
  974. package/packages/orq-rc/src/models/components/queryreportresponse.ts +0 -99
  975. package/packages/orq-rc/src/models/components/querytracesrequest.ts +0 -48
  976. package/packages/orq-rc/src/models/components/querytracesresponse.ts +0 -37
  977. package/packages/orq-rc/src/models/components/querywebhooksrequest.ts +0 -85
  978. package/packages/orq-rc/src/models/components/querywebhooksresponse.ts +0 -34
  979. package/packages/orq-rc/src/models/components/ratelimit.ts +0 -62
  980. package/packages/orq-rc/src/models/components/ratelimitrestresponse.ts +0 -37
  981. package/packages/orq-rc/src/models/components/reasoning.ts +0 -80
  982. package/packages/orq-rc/src/models/components/reasoningparam.ts +0 -75
  983. package/packages/orq-rc/src/models/components/reasoningpart.ts +0 -62
  984. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +0 -71
  985. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +0 -66
  986. package/packages/orq-rc/src/models/components/redactrequest.ts +0 -33
  987. package/packages/orq-rc/src/models/components/redactresponse.ts +0 -41
  988. package/packages/orq-rc/src/models/components/refusalpartschema.ts +0 -64
  989. package/packages/orq-rc/src/models/components/requestlimit.ts +0 -69
  990. package/packages/orq-rc/src/models/components/rerankconfig.ts +0 -58
  991. package/packages/orq-rc/src/models/components/rerankmodelparameters.ts +0 -31
  992. package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +0 -27
  993. package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +0 -41
  994. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedeltastreamevent.ts +0 -79
  995. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedonestreamevent.ts +0 -79
  996. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcompletedstreamevent.ts +0 -74
  997. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinprogressstreamevent.ts +0 -74
  998. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinterpretingstreamevent.ts +0 -74
  999. package/packages/orq-rc/src/models/components/responsecompletedstreamevent.ts +0 -61
  1000. package/packages/orq-rc/src/models/components/responsecontentpartaddedstreamevent.ts +0 -79
  1001. package/packages/orq-rc/src/models/components/responsecontentpartdonestreamevent.ts +0 -79
  1002. package/packages/orq-rc/src/models/components/responsecreatedstreamevent.ts +0 -61
  1003. package/packages/orq-rc/src/models/components/responsecustomtoolcallinputdeltastreamevent.ts +0 -79
  1004. package/packages/orq-rc/src/models/components/responsecustomtoolcallinputdonestreamevent.ts +0 -76
  1005. package/packages/orq-rc/src/models/components/responsedoneevent.ts +0 -324
  1006. package/packages/orq-rc/src/models/components/responseerror.ts +0 -33
  1007. package/packages/orq-rc/src/models/components/responseerrorstreamevent.ts +0 -58
  1008. package/packages/orq-rc/src/models/components/responseexecutionlimits.ts +0 -52
  1009. package/packages/orq-rc/src/models/components/responsefailedevent.ts +0 -72
  1010. package/packages/orq-rc/src/models/components/responsefailedstreamevent.ts +0 -61
  1011. package/packages/orq-rc/src/models/components/responsefilesearchcallcompletedstreamevent.ts +0 -71
  1012. package/packages/orq-rc/src/models/components/responsefilesearchcallinprogressstreamevent.ts +0 -74
  1013. package/packages/orq-rc/src/models/components/responsefilesearchcallsearchingstreamevent.ts +0 -71
  1014. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdeltastreamevent.ts +0 -84
  1015. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +0 -79
  1016. package/packages/orq-rc/src/models/components/responsehealingplugin.ts +0 -77
  1017. package/packages/orq-rc/src/models/components/responseidentity.ts +0 -48
  1018. package/packages/orq-rc/src/models/components/responseimagegenerationcallcompletedstreamevent.ts +0 -74
  1019. package/packages/orq-rc/src/models/components/responseimagegenerationcallgeneratingstreamevent.ts +0 -74
  1020. package/packages/orq-rc/src/models/components/responseimagegenerationcallinprogressstreamevent.ts +0 -74
  1021. package/packages/orq-rc/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +0 -86
  1022. package/packages/orq-rc/src/models/components/responseincompletestreamevent.ts +0 -61
  1023. package/packages/orq-rc/src/models/components/responseinprogressstreamevent.ts +0 -61
  1024. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdeltastreamevent.ts +0 -78
  1025. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdonestreamevent.ts +0 -78
  1026. package/packages/orq-rc/src/models/components/responsemcpcallcompletedstreamevent.ts +0 -68
  1027. package/packages/orq-rc/src/models/components/responsemcpcallfailedstreamevent.ts +0 -67
  1028. package/packages/orq-rc/src/models/components/responsemcpcallinprogressstreamevent.ts +0 -68
  1029. package/packages/orq-rc/src/models/components/responsemcplisttoolscompletedstreamevent.ts +0 -73
  1030. package/packages/orq-rc/src/models/components/responsemcplisttoolsfailedstreamevent.ts +0 -68
  1031. package/packages/orq-rc/src/models/components/responsemcplisttoolsinprogressstreamevent.ts +0 -73
  1032. package/packages/orq-rc/src/models/components/responsemeta.ts +0 -103
  1033. package/packages/orq-rc/src/models/components/responseoutputitemaddedstreamevent.ts +0 -67
  1034. package/packages/orq-rc/src/models/components/responseoutputitemdonestreamevent.ts +0 -66
  1035. package/packages/orq-rc/src/models/components/responseoutputtextannotationaddedstreamevent.ts +0 -91
  1036. package/packages/orq-rc/src/models/components/responseoutputtextdeltastreamevent.ts +0 -89
  1037. package/packages/orq-rc/src/models/components/responseoutputtextdonestreamevent.ts +0 -83
  1038. package/packages/orq-rc/src/models/components/responsequeuedstreamevent.ts +0 -61
  1039. package/packages/orq-rc/src/models/components/responsereasoningdeltastreamevent.ts +0 -83
  1040. package/packages/orq-rc/src/models/components/responsereasoningdonestreamevent.ts +0 -78
  1041. package/packages/orq-rc/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +0 -85
  1042. package/packages/orq-rc/src/models/components/responsereasoningsummarypartdonestreamevent.ts +0 -85
  1043. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdeltastreamevent.ts +0 -90
  1044. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdonestreamevent.ts +0 -85
  1045. package/packages/orq-rc/src/models/components/responsereasoningtextdeltastreamevent.ts +0 -84
  1046. package/packages/orq-rc/src/models/components/responsereasoningtextdonestreamevent.ts +0 -79
  1047. package/packages/orq-rc/src/models/components/responserefusaldeltastreamevent.ts +0 -78
  1048. package/packages/orq-rc/src/models/components/responserefusaldonestreamevent.ts +0 -78
  1049. package/packages/orq-rc/src/models/components/responseretryconfig.ts +0 -45
  1050. package/packages/orq-rc/src/models/components/responsestartedevent.ts +0 -97
  1051. package/packages/orq-rc/src/models/components/responsestreamevent.ts +0 -337
  1052. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +0 -85
  1053. package/packages/orq-rc/src/models/components/responsetelemetry.ts +0 -39
  1054. package/packages/orq-rc/src/models/components/responsethread.ts +0 -30
  1055. package/packages/orq-rc/src/models/components/responsewebsearchcallcompletedstreamevent.ts +0 -73
  1056. package/packages/orq-rc/src/models/components/responsewebsearchcallinprogressstreamevent.ts +0 -71
  1057. package/packages/orq-rc/src/models/components/responsewebsearchcallsearchingstreamevent.ts +0 -73
  1058. package/packages/orq-rc/src/models/components/restorerequest.ts +0 -38
  1059. package/packages/orq-rc/src/models/components/restoreresponse.ts +0 -36
  1060. package/packages/orq-rc/src/models/components/retrieveagentstoolinput.ts +0 -51
  1061. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +0 -35
  1062. package/packages/orq-rc/src/models/components/retrieveknowledgebasestoolinput.ts +0 -53
  1063. package/packages/orq-rc/src/models/components/retrievememorystorestoolinput.ts +0 -53
  1064. package/packages/orq-rc/src/models/components/reviewoutcome.ts +0 -23
  1065. package/packages/orq-rc/src/models/components/routingrule.ts +0 -95
  1066. package/packages/orq-rc/src/models/components/routingrulecacheconfig.ts +0 -54
  1067. package/packages/orq-rc/src/models/components/routingruleexpression.ts +0 -95
  1068. package/packages/orq-rc/src/models/components/routingrulemodel.ts +0 -74
  1069. package/packages/orq-rc/src/models/components/routingrulemodelsconfig.ts +0 -64
  1070. package/packages/orq-rc/src/models/components/routingruleplugin.ts +0 -83
  1071. package/packages/orq-rc/src/models/components/scopemode.ts +0 -16
  1072. package/packages/orq-rc/src/models/components/searchknowledgematch.ts +0 -77
  1073. package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +0 -1656
  1074. package/packages/orq-rc/src/models/components/searchknowledgeresponse.ts +0 -38
  1075. package/packages/orq-rc/src/models/components/searchknowledgescores.ts +0 -39
  1076. package/packages/orq-rc/src/models/components/searchlogsrequest.ts +0 -83
  1077. package/packages/orq-rc/src/models/components/searchlogsresponse.ts +0 -65
  1078. package/packages/orq-rc/src/models/components/searchoptions.ts +0 -49
  1079. package/packages/orq-rc/src/models/components/searchrerankconfig.ts +0 -51
  1080. package/packages/orq-rc/src/models/components/searchretrievalconfig.ts +0 -153
  1081. package/packages/orq-rc/src/models/components/searchtracesrequest.ts +0 -68
  1082. package/packages/orq-rc/src/models/components/searchtracesresponse.ts +0 -72
  1083. package/packages/orq-rc/src/models/components/searchtype.ts +0 -17
  1084. package/packages/orq-rc/src/models/components/security.ts +0 -32
  1085. package/packages/orq-rc/src/models/components/securityconfig.ts +0 -27
  1086. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +0 -25
  1087. package/packages/orq-rc/src/models/components/sharing.ts +0 -118
  1088. package/packages/orq-rc/src/models/components/sharingallprojects.ts +0 -43
  1089. package/packages/orq-rc/src/models/components/sharingselectedprojects.ts +0 -63
  1090. package/packages/orq-rc/src/models/components/sidekicktoolinput.ts +0 -51
  1091. package/packages/orq-rc/src/models/components/singleproject.ts +0 -35
  1092. package/packages/orq-rc/src/models/components/skill.ts +0 -109
  1093. package/packages/orq-rc/src/models/components/smartrouter.ts +0 -78
  1094. package/packages/orq-rc/src/models/components/smartrouterprofile.ts +0 -23
  1095. package/packages/orq-rc/src/models/components/spandetail.ts +0 -53
  1096. package/packages/orq-rc/src/models/components/spansummary.ts +0 -76
  1097. package/packages/orq-rc/src/models/components/streamoptions.ts +0 -32
  1098. package/packages/orq-rc/src/models/components/structuredinput.ts +0 -51
  1099. package/packages/orq-rc/src/models/components/structuredoutput.ts +0 -44
  1100. package/packages/orq-rc/src/models/components/structuredtoolcall.ts +0 -43
  1101. package/packages/orq-rc/src/models/components/syncmcpserverrequest.ts +0 -39
  1102. package/packages/orq-rc/src/models/components/syncmcpserverresponse.ts +0 -37
  1103. package/packages/orq-rc/src/models/components/syncstatus.ts +0 -18
  1104. package/packages/orq-rc/src/models/components/telemetry.ts +0 -48
  1105. package/packages/orq-rc/src/models/components/testmcpserverrequest.ts +0 -67
  1106. package/packages/orq-rc/src/models/components/testmcpserverresponse.ts +0 -32
  1107. package/packages/orq-rc/src/models/components/testmcpservertoolrequest.ts +0 -71
  1108. package/packages/orq-rc/src/models/components/testmcpservertoolresponse.ts +0 -35
  1109. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +0 -211
  1110. package/packages/orq-rc/src/models/components/textpart.ts +0 -54
  1111. package/packages/orq-rc/src/models/components/thinkingconfigadaptiveschema.ts +0 -59
  1112. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +0 -59
  1113. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +0 -108
  1114. package/packages/orq-rc/src/models/components/timeoutconfig.ts +0 -32
  1115. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +0 -64
  1116. package/packages/orq-rc/src/models/components/tokenlimit.ts +0 -69
  1117. package/packages/orq-rc/src/models/components/toolcallpart.ts +0 -51
  1118. package/packages/orq-rc/src/models/components/tooldoneevent.ts +0 -77
  1119. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +0 -235
  1120. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -219
  1121. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +0 -215
  1122. package/packages/orq-rc/src/models/components/toolfailedevent.ts +0 -77
  1123. package/packages/orq-rc/src/models/components/toolresultpart.ts +0 -71
  1124. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +0 -78
  1125. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +0 -87
  1126. package/packages/orq-rc/src/models/components/toolstartedevent.ts +0 -82
  1127. package/packages/orq-rc/src/models/components/totals.ts +0 -34
  1128. package/packages/orq-rc/src/models/components/traceagent.ts +0 -33
  1129. package/packages/orq-rc/src/models/components/traceaggregaterow.ts +0 -33
  1130. package/packages/orq-rc/src/models/components/tracecompute.ts +0 -30
  1131. package/packages/orq-rc/src/models/components/tracecontext.ts +0 -39
  1132. package/packages/orq-rc/src/models/components/tracecost.ts +0 -77
  1133. package/packages/orq-rc/src/models/components/tracefacet.ts +0 -35
  1134. package/packages/orq-rc/src/models/components/tracefacetvalue.ts +0 -33
  1135. package/packages/orq-rc/src/models/components/tracefield.ts +0 -56
  1136. package/packages/orq-rc/src/models/components/tracefilter.ts +0 -33
  1137. package/packages/orq-rc/src/models/components/tracescrubbingplugin.ts +0 -100
  1138. package/packages/orq-rc/src/models/components/tracesearchmeta.ts +0 -45
  1139. package/packages/orq-rc/src/models/components/tracesort.ts +0 -30
  1140. package/packages/orq-rc/src/models/components/tracesummary.ts +0 -152
  1141. package/packages/orq-rc/src/models/components/traceusage.ts +0 -62
  1142. package/packages/orq-rc/src/models/components/updatealertrequest.ts +0 -97
  1143. package/packages/orq-rc/src/models/components/updatealertresponse.ts +0 -35
  1144. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +0 -110
  1145. package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +0 -115
  1146. package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +0 -38
  1147. package/packages/orq-rc/src/models/components/updatefilerequest.ts +0 -39
  1148. package/packages/orq-rc/src/models/components/updatefileresponse.ts +0 -35
  1149. package/packages/orq-rc/src/models/components/updateguardrailrulerequest.ts +0 -66
  1150. package/packages/orq-rc/src/models/components/updateguardrailruleresponse.ts +0 -37
  1151. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +0 -64
  1152. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +0 -35
  1153. package/packages/orq-rc/src/models/components/updateipallowlistrequest.ts +0 -31
  1154. package/packages/orq-rc/src/models/components/updateipallowlistresponse.ts +0 -37
  1155. package/packages/orq-rc/src/models/components/updatemanagementkeyrequest.ts +0 -81
  1156. package/packages/orq-rc/src/models/components/updatemanagementkeyresponse.ts +0 -40
  1157. package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +0 -107
  1158. package/packages/orq-rc/src/models/components/updatemcpgatewayresponse.ts +0 -37
  1159. package/packages/orq-rc/src/models/components/updatemcpserverrequest.ts +0 -100
  1160. package/packages/orq-rc/src/models/components/updatemcpserverresponse.ts +0 -37
  1161. package/packages/orq-rc/src/models/components/updatememorydocumentrequest.ts +0 -42
  1162. package/packages/orq-rc/src/models/components/updatememoryrequest.ts +0 -31
  1163. package/packages/orq-rc/src/models/components/updatememorystorerequest.ts +0 -37
  1164. package/packages/orq-rc/src/models/components/updatemodelparameter.ts +0 -61
  1165. package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +0 -130
  1166. package/packages/orq-rc/src/models/components/updatenotifierresponse.ts +0 -35
  1167. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -49
  1168. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +0 -35
  1169. package/packages/orq-rc/src/models/components/updateroutingrulerequest.ts +0 -79
  1170. package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -70
  1171. package/packages/orq-rc/src/models/components/updateskillresponse.ts +0 -35
  1172. package/packages/orq-rc/src/models/components/updatesmartrouterrequest.ts +0 -41
  1173. package/packages/orq-rc/src/models/components/updatesmartrouterresponse.ts +0 -37
  1174. package/packages/orq-rc/src/models/components/updateworkspacesettingsrequest.ts +0 -78
  1175. package/packages/orq-rc/src/models/components/updateworkspacesettingsresponse.ts +0 -38
  1176. package/packages/orq-rc/src/models/components/uploadpostpolicy.ts +0 -33
  1177. package/packages/orq-rc/src/models/components/upsertchunk.ts +0 -59
  1178. package/packages/orq-rc/src/models/components/userowner.ts +0 -35
  1179. package/packages/orq-rc/src/models/components/verifydomainresponse.ts +0 -35
  1180. package/packages/orq-rc/src/models/components/vertexcapabilities.ts +0 -37
  1181. package/packages/orq-rc/src/models/components/vertexconfiguration.ts +0 -45
  1182. package/packages/orq-rc/src/models/components/vertexmodelconfiguration.ts +0 -53
  1183. package/packages/orq-rc/src/models/components/vertexparameters.ts +0 -47
  1184. package/packages/orq-rc/src/models/components/vertexparamrange.ts +0 -34
  1185. package/packages/orq-rc/src/models/components/vertexparamrangeint.ts +0 -34
  1186. package/packages/orq-rc/src/models/components/webhook.ts +0 -116
  1187. package/packages/orq-rc/src/models/components/webscrapertoolinput.ts +0 -51
  1188. package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +0 -46
  1189. package/packages/orq-rc/src/models/components/workspacesettings.ts +0 -66
  1190. package/packages/orq-rc/src/models/components/writememorystoretoolinput.ts +0 -51
  1191. package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
  1192. package/packages/orq-rc/src/models/errors/createagentschedule.ts +0 -105
  1193. package/packages/orq-rc/src/models/errors/createeval.ts +0 -51
  1194. package/packages/orq-rc/src/models/errors/createmoderation.ts +0 -84
  1195. package/packages/orq-rc/src/models/errors/createtranscription.ts +0 -87
  1196. package/packages/orq-rc/src/models/errors/createtranslation.ts +0 -87
  1197. package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -51
  1198. package/packages/orq-rc/src/models/errors/deleteagentschedule.ts +0 -56
  1199. package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -96
  1200. package/packages/orq-rc/src/models/errors/deleteprompt.ts +0 -51
  1201. package/packages/orq-rc/src/models/errors/geteval.ts +0 -51
  1202. package/packages/orq-rc/src/models/errors/getevals.ts +0 -51
  1203. package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -51
  1204. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +0 -51
  1205. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +0 -51
  1206. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +0 -52
  1207. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -59
  1208. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  1209. package/packages/orq-rc/src/models/errors/index.ts +0 -39
  1210. package/packages/orq-rc/src/models/errors/knowledgeapierror.ts +0 -59
  1211. package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
  1212. package/packages/orq-rc/src/models/errors/postv2feedback.ts +0 -96
  1213. package/packages/orq-rc/src/models/errors/postv2feedbackremove.ts +0 -51
  1214. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
  1215. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +0 -51
  1216. package/packages/orq-rc/src/models/errors/retrieveagentschedule.ts +0 -56
  1217. package/packages/orq-rc/src/models/errors/retrieveresponse.ts +0 -56
  1218. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
  1219. package/packages/orq-rc/src/models/errors/streamagent.ts +0 -51
  1220. package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -51
  1221. package/packages/orq-rc/src/models/errors/triggeragentschedule.ts +0 -105
  1222. package/packages/orq-rc/src/models/errors/updateagent.ts +0 -51
  1223. package/packages/orq-rc/src/models/errors/updateagentschedule.ts +0 -105
  1224. package/packages/orq-rc/src/models/errors/updateeval.ts +0 -51
  1225. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -51
  1226. package/packages/orq-rc/src/models/errors/updatetool.ts +0 -62
  1227. package/packages/orq-rc/src/models/operations/addannotationqueueitems.ts +0 -177
  1228. package/packages/orq-rc/src/models/operations/alertdelete.ts +0 -39
  1229. package/packages/orq-rc/src/models/operations/alertget.ts +0 -37
  1230. package/packages/orq-rc/src/models/operations/alertlist.ts +0 -65
  1231. package/packages/orq-rc/src/models/operations/alertlisttriggerevents.ts +0 -74
  1232. package/packages/orq-rc/src/models/operations/alertlisttriggers.ts +0 -65
  1233. package/packages/orq-rc/src/models/operations/alertupdate.ts +0 -44
  1234. package/packages/orq-rc/src/models/operations/apikeydelete.ts +0 -39
  1235. package/packages/orq-rc/src/models/operations/apikeyget.ts +0 -49
  1236. package/packages/orq-rc/src/models/operations/apikeylist.ts +0 -118
  1237. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +0 -44
  1238. package/packages/orq-rc/src/models/operations/budgetdelete.ts +0 -39
  1239. package/packages/orq-rc/src/models/operations/budgetget.ts +0 -39
  1240. package/packages/orq-rc/src/models/operations/budgetlist.ts +0 -109
  1241. package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +0 -48
  1242. package/packages/orq-rc/src/models/operations/budgetupdate.ts +0 -44
  1243. package/packages/orq-rc/src/models/operations/clearannotationqueue.ts +0 -38
  1244. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -39
  1245. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -5923
  1246. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -125
  1247. package/packages/orq-rc/src/models/operations/createagentschedule.ts +0 -244
  1248. package/packages/orq-rc/src/models/operations/createannotation.ts +0 -256
  1249. package/packages/orq-rc/src/models/operations/createannotationqueue.ts +0 -176
  1250. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +0 -6418
  1251. package/packages/orq-rc/src/models/operations/createchunk.ts +0 -45
  1252. package/packages/orq-rc/src/models/operations/createcompletion.ts +0 -3418
  1253. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -162
  1254. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -3112
  1255. package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -43
  1256. package/packages/orq-rc/src/models/operations/createembedding.ts +0 -219
  1257. package/packages/orq-rc/src/models/operations/createeval.ts +0 -666
  1258. package/packages/orq-rc/src/models/operations/createidentity.ts +0 -40
  1259. package/packages/orq-rc/src/models/operations/createimage.ts +0 -1088
  1260. package/packages/orq-rc/src/models/operations/createimageedit.ts +0 -1076
  1261. package/packages/orq-rc/src/models/operations/createimagevariation.ts +0 -1104
  1262. package/packages/orq-rc/src/models/operations/creatememory.ts +0 -41
  1263. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -48
  1264. package/packages/orq-rc/src/models/operations/createmoderation.ts +0 -664
  1265. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -5882
  1266. package/packages/orq-rc/src/models/operations/creatererank.ts +0 -951
  1267. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +0 -2215
  1268. package/packages/orq-rc/src/models/operations/createspeech.ts +0 -700
  1269. package/packages/orq-rc/src/models/operations/createtool.ts +0 -2012
  1270. package/packages/orq-rc/src/models/operations/createtranscription.ts +0 -950
  1271. package/packages/orq-rc/src/models/operations/createtranslation.ts +0 -930
  1272. package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -39
  1273. package/packages/orq-rc/src/models/operations/deleteagentschedule.ts +0 -46
  1274. package/packages/orq-rc/src/models/operations/deleteannotation.ts +0 -125
  1275. package/packages/orq-rc/src/models/operations/deleteannotationqueue.ts +0 -38
  1276. package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -44
  1277. package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -47
  1278. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -46
  1279. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -39
  1280. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -40
  1281. package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -31
  1282. package/packages/orq-rc/src/models/operations/deleteidentity.ts +0 -34
  1283. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -36
  1284. package/packages/orq-rc/src/models/operations/deletememory.ts +0 -40
  1285. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -46
  1286. package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -36
  1287. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -34
  1288. package/packages/orq-rc/src/models/operations/deletetool.ts +0 -36
  1289. package/packages/orq-rc/src/models/operations/deletev2humanevalsetsid.ts +0 -36
  1290. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -4461
  1291. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -731
  1292. package/packages/orq-rc/src/models/operations/deployments.ts +0 -1382
  1293. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -4562
  1294. package/packages/orq-rc/src/models/operations/filecontent.ts +0 -39
  1295. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -39
  1296. package/packages/orq-rc/src/models/operations/fileget.ts +0 -35
  1297. package/packages/orq-rc/src/models/operations/filelist.ts +0 -71
  1298. package/packages/orq-rc/src/models/operations/fileupdate.ts +0 -44
  1299. package/packages/orq-rc/src/models/operations/getagentresponse.ts +0 -46
  1300. package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -65
  1301. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -82
  1302. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -72
  1303. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -3443
  1304. package/packages/orq-rc/src/models/operations/getalltools.ts +0 -1102
  1305. package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -46
  1306. package/packages/orq-rc/src/models/operations/geteval.ts +0 -2797
  1307. package/packages/orq-rc/src/models/operations/getevals.ts +0 -168
  1308. package/packages/orq-rc/src/models/operations/getlog.ts +0 -27
  1309. package/packages/orq-rc/src/models/operations/getlogcontext.ts +0 -40
  1310. package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -44
  1311. package/packages/orq-rc/src/models/operations/getonedatasourceprocessingstatus.ts +0 -43
  1312. package/packages/orq-rc/src/models/operations/getonefileuploadurl.ts +0 -54
  1313. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -36
  1314. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -3366
  1315. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -3415
  1316. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +0 -162
  1317. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +0 -234
  1318. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +0 -235
  1319. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +0 -163
  1320. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +0 -110
  1321. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +0 -36
  1322. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +0 -36
  1323. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +0 -61
  1324. package/packages/orq-rc/src/models/operations/guardrailrulelistusedguardrails.ts +0 -39
  1325. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +0 -42
  1326. package/packages/orq-rc/src/models/operations/index.ts +0 -237
  1327. package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -775
  1328. package/packages/orq-rc/src/models/operations/invokeeval.ts +0 -43
  1329. package/packages/orq-rc/src/models/operations/listagents.ts +0 -3039
  1330. package/packages/orq-rc/src/models/operations/listagentschedules.ts +0 -69
  1331. package/packages/orq-rc/src/models/operations/listannotationqueueitems.ts +0 -236
  1332. package/packages/orq-rc/src/models/operations/listannotationqueues.ts +0 -233
  1333. package/packages/orq-rc/src/models/operations/listchunks.ts +0 -131
  1334. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -48
  1335. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -2092
  1336. package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -218
  1337. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -96
  1338. package/packages/orq-rc/src/models/operations/listidentities.ts +0 -94
  1339. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -98
  1340. package/packages/orq-rc/src/models/operations/listlogfacets.ts +0 -46
  1341. package/packages/orq-rc/src/models/operations/listlogfacetvalues.ts +0 -46
  1342. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -60
  1343. package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -3490
  1344. package/packages/orq-rc/src/models/operations/listtracelogs.ts +0 -43
  1345. package/packages/orq-rc/src/models/operations/managementkeydelete.ts +0 -39
  1346. package/packages/orq-rc/src/models/operations/managementkeyget.ts +0 -39
  1347. package/packages/orq-rc/src/models/operations/managementkeylist.ts +0 -85
  1348. package/packages/orq-rc/src/models/operations/managementkeyupdate.ts +0 -45
  1349. package/packages/orq-rc/src/models/operations/mcpgatewaydelete.ts +0 -34
  1350. package/packages/orq-rc/src/models/operations/mcpgatewayget.ts +0 -34
  1351. package/packages/orq-rc/src/models/operations/mcpgatewaylist.ts +0 -65
  1352. package/packages/orq-rc/src/models/operations/mcpgatewaylisttools.ts +0 -66
  1353. package/packages/orq-rc/src/models/operations/mcpgatewayupdate.ts +0 -43
  1354. package/packages/orq-rc/src/models/operations/mcpserverdelete.ts +0 -34
  1355. package/packages/orq-rc/src/models/operations/mcpserverget.ts +0 -34
  1356. package/packages/orq-rc/src/models/operations/mcpserverlist.ts +0 -58
  1357. package/packages/orq-rc/src/models/operations/mcpserversync.ts +0 -43
  1358. package/packages/orq-rc/src/models/operations/mcpservertesttool.ts +0 -43
  1359. package/packages/orq-rc/src/models/operations/mcpserverupdate.ts +0 -43
  1360. package/packages/orq-rc/src/models/operations/modelazurefoundrydeployments.ts +0 -90
  1361. package/packages/orq-rc/src/models/operations/modelcatalogget.ts +0 -34
  1362. package/packages/orq-rc/src/models/operations/modelcataloglist.ts +0 -147
  1363. package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +0 -151
  1364. package/packages/orq-rc/src/models/operations/modelcreate.ts +0 -189
  1365. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +0 -239
  1366. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +0 -207
  1367. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +0 -149
  1368. package/packages/orq-rc/src/models/operations/modeldelete.ts +0 -34
  1369. package/packages/orq-rc/src/models/operations/modeldisable.ts +0 -39
  1370. package/packages/orq-rc/src/models/operations/modelenable.ts +0 -36
  1371. package/packages/orq-rc/src/models/operations/modelupdate.ts +0 -203
  1372. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +0 -265
  1373. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +0 -241
  1374. package/packages/orq-rc/src/models/operations/modelvalidate.ts +0 -57
  1375. package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +0 -61
  1376. package/packages/orq-rc/src/models/operations/notifierdelete.ts +0 -36
  1377. package/packages/orq-rc/src/models/operations/notifierget.ts +0 -36
  1378. package/packages/orq-rc/src/models/operations/notifierlist.ts +0 -72
  1379. package/packages/orq-rc/src/models/operations/notifierupdate.ts +0 -41
  1380. package/packages/orq-rc/src/models/operations/parse.ts +0 -809
  1381. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +0 -415
  1382. package/packages/orq-rc/src/models/operations/policycreate.ts +0 -138
  1383. package/packages/orq-rc/src/models/operations/policydelete.ts +0 -39
  1384. package/packages/orq-rc/src/models/operations/policyget.ts +0 -110
  1385. package/packages/orq-rc/src/models/operations/policylist.ts +0 -94
  1386. package/packages/orq-rc/src/models/operations/policyupdate.ts +0 -174
  1387. package/packages/orq-rc/src/models/operations/postv2feedback.ts +0 -214
  1388. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +0 -459
  1389. package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
  1390. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +0 -135
  1391. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +0 -365
  1392. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +0 -474
  1393. package/packages/orq-rc/src/models/operations/projectdelete.ts +0 -39
  1394. package/packages/orq-rc/src/models/operations/projectget.ts +0 -39
  1395. package/packages/orq-rc/src/models/operations/projectlist.ts +0 -58
  1396. package/packages/orq-rc/src/models/operations/projectupdate.ts +0 -44
  1397. package/packages/orq-rc/src/models/operations/removeannotationqueueitems.ts +0 -79
  1398. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -3101
  1399. package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +0 -174
  1400. package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +0 -161
  1401. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem.ts +0 -42
  1402. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -1977
  1403. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -150
  1404. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -40
  1405. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +0 -55
  1406. package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -40
  1407. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -46
  1408. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -36
  1409. package/packages/orq-rc/src/models/operations/retrieveresponse.ts +0 -234
  1410. package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -1081
  1411. package/packages/orq-rc/src/models/operations/routingruledelete.ts +0 -36
  1412. package/packages/orq-rc/src/models/operations/routingruleget.ts +0 -36
  1413. package/packages/orq-rc/src/models/operations/routingrulelist.ts +0 -56
  1414. package/packages/orq-rc/src/models/operations/routingrulelistusedmodels.ts +0 -38
  1415. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +0 -41
  1416. package/packages/orq-rc/src/models/operations/runagent.ts +0 -4900
  1417. package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -47
  1418. package/packages/orq-rc/src/models/operations/skilldelete.ts +0 -39
  1419. package/packages/orq-rc/src/models/operations/skillget.ts +0 -40
  1420. package/packages/orq-rc/src/models/operations/skilllist.ts +0 -61
  1421. package/packages/orq-rc/src/models/operations/skillupdate.ts +0 -44
  1422. package/packages/orq-rc/src/models/operations/smartrouterdelete.ts +0 -36
  1423. package/packages/orq-rc/src/models/operations/smartrouterget.ts +0 -36
  1424. package/packages/orq-rc/src/models/operations/smartrouterlist.ts +0 -53
  1425. package/packages/orq-rc/src/models/operations/smartrouterupdate.ts +0 -41
  1426. package/packages/orq-rc/src/models/operations/streamagent.ts +0 -698
  1427. package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -5035
  1428. package/packages/orq-rc/src/models/operations/tracesget.ts +0 -36
  1429. package/packages/orq-rc/src/models/operations/tracesgetspan.ts +0 -40
  1430. package/packages/orq-rc/src/models/operations/traceslistfacetvalues.ts +0 -50
  1431. package/packages/orq-rc/src/models/operations/traceslistspans.ts +0 -43
  1432. package/packages/orq-rc/src/models/operations/triggeragentschedule.ts +0 -86
  1433. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -6195
  1434. package/packages/orq-rc/src/models/operations/updateagentschedule.ts +0 -258
  1435. package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +0 -220
  1436. package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -50
  1437. package/packages/orq-rc/src/models/operations/updatechunkenabled.ts +0 -51
  1438. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -3156
  1439. package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -206
  1440. package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -47
  1441. package/packages/orq-rc/src/models/operations/updateeval.ts +0 -457
  1442. package/packages/orq-rc/src/models/operations/updateidentity.ts +0 -43
  1443. package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -44
  1444. package/packages/orq-rc/src/models/operations/updatememory.ts +0 -45
  1445. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -52
  1446. package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -41
  1447. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -5965
  1448. package/packages/orq-rc/src/models/operations/updatetool.ts +0 -2216
  1449. package/packages/orq-rc/src/models/operations/webhookdelete.ts +0 -31
  1450. package/packages/orq-rc/src/models/operations/webhookget.ts +0 -31
  1451. package/packages/orq-rc/src/models/operations/webhooklist.ts +0 -101
  1452. package/packages/orq-rc/src/models/operations/webhookupdate.ts +0 -84
  1453. package/packages/orq-rc/src/models/operations/workspacesecurityaddiprange.ts +0 -43
  1454. package/packages/orq-rc/src/models/operations/workspacesecuritycreatedomain.ts +0 -43
  1455. package/packages/orq-rc/src/models/operations/workspacesecuritydeletedomain.ts +0 -42
  1456. package/packages/orq-rc/src/models/operations/workspacesecuritydeleteiprange.ts +0 -42
  1457. package/packages/orq-rc/src/models/operations/workspacesecuritygetipallowlist.ts +0 -39
  1458. package/packages/orq-rc/src/models/operations/workspacesecuritylistdomains.ts +0 -38
  1459. package/packages/orq-rc/src/models/operations/workspacesecurityupdateipallowlist.ts +0 -46
  1460. package/packages/orq-rc/src/models/operations/workspacesecurityverifydomain.ts +0 -42
  1461. package/packages/orq-rc/src/sdk/agents.ts +0 -198
  1462. package/packages/orq-rc/src/sdk/alerts.ts +0 -136
  1463. package/packages/orq-rc/src/sdk/annotationqueues.ts +0 -190
  1464. package/packages/orq-rc/src/sdk/annotations.ts +0 -45
  1465. package/packages/orq-rc/src/sdk/apikeys.ts +0 -116
  1466. package/packages/orq-rc/src/sdk/audio.ts +0 -25
  1467. package/packages/orq-rc/src/sdk/budgets.ts +0 -118
  1468. package/packages/orq-rc/src/sdk/chat.ts +0 -13
  1469. package/packages/orq-rc/src/sdk/chunking.ts +0 -28
  1470. package/packages/orq-rc/src/sdk/completions.ts +0 -32
  1471. package/packages/orq-rc/src/sdk/datasets.ts +0 -207
  1472. package/packages/orq-rc/src/sdk/deployments.ts +0 -83
  1473. package/packages/orq-rc/src/sdk/edits.ts +0 -27
  1474. package/packages/orq-rc/src/sdk/embeddings.ts +0 -27
  1475. package/packages/orq-rc/src/sdk/evals.ts +0 -136
  1476. package/packages/orq-rc/src/sdk/feedback.ts +0 -57
  1477. package/packages/orq-rc/src/sdk/files.ts +0 -118
  1478. package/packages/orq-rc/src/sdk/generations.ts +0 -27
  1479. package/packages/orq-rc/src/sdk/guardrailrules.ts +0 -118
  1480. package/packages/orq-rc/src/sdk/humanreviewsets.ts +0 -84
  1481. package/packages/orq-rc/src/sdk/identities.ts +0 -100
  1482. package/packages/orq-rc/src/sdk/images.ts +0 -25
  1483. package/packages/orq-rc/src/sdk/index.ts +0 -5
  1484. package/packages/orq-rc/src/sdk/knowledge.ts +0 -406
  1485. package/packages/orq-rc/src/sdk/logs.ts +0 -188
  1486. package/packages/orq-rc/src/sdk/managementkeys.ts +0 -116
  1487. package/packages/orq-rc/src/sdk/mcpgateways.ts +0 -118
  1488. package/packages/orq-rc/src/sdk/mcpservers.ts +0 -154
  1489. package/packages/orq-rc/src/sdk/memorystores.ts +0 -287
  1490. package/packages/orq-rc/src/sdk/modelcatalog.ts +0 -64
  1491. package/packages/orq-rc/src/sdk/models.ts +0 -294
  1492. package/packages/orq-rc/src/sdk/moderations.ts +0 -27
  1493. package/packages/orq-rc/src/sdk/notifiers.ts +0 -100
  1494. package/packages/orq-rc/src/sdk/orqcompletions.ts +0 -32
  1495. package/packages/orq-rc/src/sdk/orqresponses.ts +0 -57
  1496. package/packages/orq-rc/src/sdk/pii.ts +0 -63
  1497. package/packages/orq-rc/src/sdk/policies.ts +0 -99
  1498. package/packages/orq-rc/src/sdk/projects.ts +0 -100
  1499. package/packages/orq-rc/src/sdk/prompts.ts +0 -135
  1500. package/packages/orq-rc/src/sdk/reporting.ts +0 -27
  1501. package/packages/orq-rc/src/sdk/rerank.ts +0 -27
  1502. package/packages/orq-rc/src/sdk/responses.ts +0 -47
  1503. package/packages/orq-rc/src/sdk/router.ts +0 -66
  1504. package/packages/orq-rc/src/sdk/routingrules.ts +0 -118
  1505. package/packages/orq-rc/src/sdk/schedules.ts +0 -117
  1506. package/packages/orq-rc/src/sdk/sdk.ts +0 -247
  1507. package/packages/orq-rc/src/sdk/skills.ts +0 -100
  1508. package/packages/orq-rc/src/sdk/smartrouters.ts +0 -102
  1509. package/packages/orq-rc/src/sdk/speech.ts +0 -27
  1510. package/packages/orq-rc/src/sdk/tools.ts +0 -135
  1511. package/packages/orq-rc/src/sdk/traces.ts +0 -168
  1512. package/packages/orq-rc/src/sdk/transcriptions.ts +0 -27
  1513. package/packages/orq-rc/src/sdk/translations.ts +0 -27
  1514. package/packages/orq-rc/src/sdk/variations.ts +0 -27
  1515. package/packages/orq-rc/src/sdk/webhooks.ts +0 -152
  1516. package/packages/orq-rc/src/sdk/workspacesecurity.ts +0 -154
  1517. package/packages/orq-rc/src/sdk/workspacesettings.ts +0 -43
  1518. package/packages/orq-rc/src/types/async.ts +0 -69
  1519. package/packages/orq-rc/src/types/blobs.ts +0 -32
  1520. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  1521. package/packages/orq-rc/src/types/enums.ts +0 -45
  1522. package/packages/orq-rc/src/types/fp.ts +0 -50
  1523. package/packages/orq-rc/src/types/index.ts +0 -11
  1524. package/packages/orq-rc/src/types/operations.ts +0 -105
  1525. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  1526. package/packages/orq-rc/src/types/streams.ts +0 -21
  1527. package/packages/orq-rc/src/types/unrecognized.ts +0 -35
@@ -1,4900 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { ClosedEnum } from "../../types/enums.js";
9
- import { Result as SafeParseResult } from "../../types/fp.js";
10
- import * as components from "../components/index.js";
11
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
-
13
- export type RunAgentResponseFormatAgentsJsonSchema = {
14
- /**
15
- * A description of what the response format is for, used by the model to determine how to respond in the format.
16
- */
17
- description?: string | undefined;
18
- /**
19
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
20
- */
21
- name: string;
22
- /**
23
- * The schema for the response format, described as a JSON Schema object.
24
- */
25
- schema?: any | undefined;
26
- /**
27
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
28
- */
29
- strict?: boolean | undefined;
30
- };
31
-
32
- /**
33
- * @remarks
34
- *
35
- * JSON Schema response format. Used to generate structured JSON responses
36
- */
37
- export type RunAgentResponseFormatJSONSchema = {
38
- type: "json_schema";
39
- jsonSchema: RunAgentResponseFormatAgentsJsonSchema;
40
- };
41
-
42
- /**
43
- * @remarks
44
- *
45
- * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
46
- */
47
- export type RunAgentResponseFormatJSONObject = {
48
- type: "json_object";
49
- };
50
-
51
- /**
52
- * @remarks
53
- *
54
- * Default response format. Used to generate text responses
55
- */
56
- export type RunAgentResponseFormatText = {
57
- type: "text";
58
- };
59
-
60
- /**
61
- * An object specifying the format that the model must output
62
- */
63
- export type RunAgentModelConfigurationResponseFormat =
64
- | RunAgentResponseFormatText
65
- | RunAgentResponseFormatJSONObject
66
- | RunAgentResponseFormatJSONSchema;
67
-
68
- /**
69
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
70
- *
71
- * @remarks
72
- *
73
- * - `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.
74
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
75
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
76
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
77
- *
78
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
79
- */
80
- export const RunAgentModelConfigurationReasoningEffort = {
81
- None: "none",
82
- Minimal: "minimal",
83
- Low: "low",
84
- Medium: "medium",
85
- High: "high",
86
- Xhigh: "xhigh",
87
- Max: "max",
88
- } as const;
89
- /**
90
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
91
- *
92
- * @remarks
93
- *
94
- * - `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.
95
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
96
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
97
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
98
- *
99
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
100
- */
101
- export type RunAgentModelConfigurationReasoningEffort = ClosedEnum<
102
- typeof RunAgentModelConfigurationReasoningEffort
103
- >;
104
-
105
- /**
106
- * Up to 4 sequences where the API will stop generating further tokens.
107
- */
108
- export type RunAgentModelConfigurationStop = string | Array<string>;
109
-
110
- export type RunAgentModelConfigurationThinking =
111
- | components.ThinkingConfigDisabledSchema
112
- | components.ThinkingConfigEnabledSchema
113
- | components.ThinkingConfigAdaptiveSchema;
114
-
115
- /**
116
- * The type of the tool. Currently, only function is supported.
117
- */
118
- export const RunAgentToolChoiceType = {
119
- Function: "function",
120
- } as const;
121
- /**
122
- * The type of the tool. Currently, only function is supported.
123
- */
124
- export type RunAgentToolChoiceType = ClosedEnum<typeof RunAgentToolChoiceType>;
125
-
126
- export type RunAgentToolChoiceFunction = {
127
- /**
128
- * The name of the function to call.
129
- */
130
- name: string;
131
- };
132
-
133
- export type RunAgentToolChoice2 = {
134
- /**
135
- * The type of the tool. Currently, only function is supported.
136
- */
137
- type?: RunAgentToolChoiceType | undefined;
138
- function: RunAgentToolChoiceFunction;
139
- };
140
-
141
- export const RunAgentToolChoice1 = {
142
- None: "none",
143
- Auto: "auto",
144
- Required: "required",
145
- } as const;
146
- export type RunAgentToolChoice1 = ClosedEnum<typeof RunAgentToolChoice1>;
147
-
148
- /**
149
- * Controls which (if any) tool is called by the model.
150
- */
151
- export type RunAgentModelConfigurationToolChoice =
152
- | RunAgentToolChoice2
153
- | RunAgentToolChoice1;
154
-
155
- export const RunAgentModelConfigurationModalities = {
156
- Text: "text",
157
- Audio: "audio",
158
- } as const;
159
- export type RunAgentModelConfigurationModalities = ClosedEnum<
160
- typeof RunAgentModelConfigurationModalities
161
- >;
162
-
163
- /**
164
- * The key of the guardrail.
165
- */
166
- export const RunAgentId1 = {
167
- OrqPiiDetection: "orq_pii_detection",
168
- OrqSecretDetection: "orq_secret_detection",
169
- OrqSexualModeration: "orq_sexual_moderation",
170
- OrqHarmfulModeration: "orq_harmful_moderation",
171
- } as const;
172
- /**
173
- * The key of the guardrail.
174
- */
175
- export type RunAgentId1 = ClosedEnum<typeof RunAgentId1>;
176
-
177
- export type RunAgentModelConfigurationId = RunAgentId1 | string;
178
-
179
- /**
180
- * Determines whether the guardrail runs on the input (user message) or output (model response).
181
- */
182
- export const RunAgentModelConfigurationExecuteOn = {
183
- Input: "input",
184
- Output: "output",
185
- } as const;
186
- /**
187
- * Determines whether the guardrail runs on the input (user message) or output (model response).
188
- */
189
- export type RunAgentModelConfigurationExecuteOn = ClosedEnum<
190
- typeof RunAgentModelConfigurationExecuteOn
191
- >;
192
-
193
- export type RunAgentModelConfigurationGuardrails = {
194
- id: RunAgentId1 | string;
195
- /**
196
- * Determines whether the guardrail runs on the input (user message) or output (model response).
197
- */
198
- executeOn: RunAgentModelConfigurationExecuteOn;
199
- };
200
-
201
- export type RunAgentModelConfigurationPlugins =
202
- | components.PIIRedactionPluginEn
203
- | components.PIIRedactionPluginNl
204
- | components.TraceScrubbingPlugin
205
- | components.PIIRedactionPluginAuto
206
- | components.ResponseHealingPlugin;
207
-
208
- export type RunAgentModelConfigurationFallbacks = {
209
- /**
210
- * Fallback model identifier
211
- */
212
- model: string;
213
- };
214
-
215
- export const RunAgentModelConfigurationType = {
216
- ExactMatch: "exact_match",
217
- } as const;
218
- export type RunAgentModelConfigurationType = ClosedEnum<
219
- typeof RunAgentModelConfigurationType
220
- >;
221
-
222
- /**
223
- * Cache configuration for the request.
224
- */
225
- export type RunAgentModelConfigurationCache = {
226
- /**
227
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
228
- */
229
- ttl?: number | undefined;
230
- type: RunAgentModelConfigurationType;
231
- };
232
-
233
- export const RunAgentLoadBalancerType = {
234
- WeightBased: "weight_based",
235
- } as const;
236
- export type RunAgentLoadBalancerType = ClosedEnum<
237
- typeof RunAgentLoadBalancerType
238
- >;
239
-
240
- export type RunAgentLoadBalancerModels = {
241
- /**
242
- * Model identifier for load balancing
243
- */
244
- model: string;
245
- /**
246
- * Weight assigned to this model for load balancing
247
- */
248
- weight?: number | undefined;
249
- };
250
-
251
- export type RunAgentLoadBalancer1 = {
252
- type: RunAgentLoadBalancerType;
253
- models: Array<RunAgentLoadBalancerModels>;
254
- };
255
-
256
- /**
257
- * Load balancer configuration for the request.
258
- */
259
- export type RunAgentModelConfigurationLoadBalancer = RunAgentLoadBalancer1;
260
-
261
- /**
262
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
263
- */
264
- export type RunAgentModelConfigurationTimeout = {
265
- /**
266
- * Timeout value in milliseconds
267
- */
268
- callTimeout: number;
269
- };
270
-
271
- /**
272
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
273
- */
274
- export const RunAgentModelConfigurationAgentsType = {
275
- Ephemeral: "ephemeral",
276
- } as const;
277
- /**
278
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
279
- */
280
- export type RunAgentModelConfigurationAgentsType = ClosedEnum<
281
- typeof RunAgentModelConfigurationAgentsType
282
- >;
283
-
284
- /**
285
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
286
- *
287
- * @remarks
288
- *
289
- * - `5m`: 5 minutes
290
- * - `1h`: 1 hour
291
- *
292
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
293
- */
294
- export const RunAgentModelConfigurationTtl = {
295
- Fivem: "5m",
296
- Oneh: "1h",
297
- } as const;
298
- /**
299
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
300
- *
301
- * @remarks
302
- *
303
- * - `5m`: 5 minutes
304
- * - `1h`: 1 hour
305
- *
306
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
307
- */
308
- export type RunAgentModelConfigurationTtl = ClosedEnum<
309
- typeof RunAgentModelConfigurationTtl
310
- >;
311
-
312
- /**
313
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
314
- */
315
- export type RunAgentModelConfigurationCacheControl = {
316
- /**
317
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
318
- */
319
- type: RunAgentModelConfigurationAgentsType;
320
- /**
321
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
322
- *
323
- * @remarks
324
- *
325
- * - `5m`: 5 minutes
326
- * - `1h`: 1 hour
327
- *
328
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
329
- */
330
- ttl?: RunAgentModelConfigurationTtl | undefined;
331
- };
332
-
333
- /**
334
- * 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.
335
- */
336
- export type RunAgentModelConfigurationParameters = {
337
- /**
338
- * The name to display on the trace. If not specified, the default system name will be used.
339
- */
340
- name?: string | undefined;
341
- /**
342
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
343
- */
344
- frequencyPenalty?: number | null | undefined;
345
- /**
346
- * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
347
- *
348
- * @remarks
349
- *
350
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
351
- */
352
- maxTokens?: number | null | undefined;
353
- /**
354
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
355
- */
356
- maxCompletionTokens?: number | null | undefined;
357
- /**
358
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
359
- */
360
- presencePenalty?: number | null | undefined;
361
- /**
362
- * An object specifying the format that the model must output
363
- */
364
- responseFormat?:
365
- | RunAgentResponseFormatText
366
- | RunAgentResponseFormatJSONObject
367
- | RunAgentResponseFormatJSONSchema
368
- | undefined;
369
- /**
370
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
371
- *
372
- * @remarks
373
- *
374
- * - `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.
375
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
376
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
377
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
378
- *
379
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
380
- */
381
- reasoningEffort?: RunAgentModelConfigurationReasoningEffort | undefined;
382
- /**
383
- * Adjusts response verbosity. Lower levels yield shorter answers.
384
- */
385
- verbosity?: string | undefined;
386
- /**
387
- * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
388
- */
389
- seed?: number | null | undefined;
390
- /**
391
- * Up to 4 sequences where the API will stop generating further tokens.
392
- */
393
- stop?: string | Array<string> | null | undefined;
394
- thinking?:
395
- | components.ThinkingConfigDisabledSchema
396
- | components.ThinkingConfigEnabledSchema
397
- | components.ThinkingConfigAdaptiveSchema
398
- | undefined;
399
- /**
400
- * 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.
401
- */
402
- temperature?: number | null | undefined;
403
- /**
404
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
405
- */
406
- topP?: number | null | undefined;
407
- /**
408
- * Limits the model to consider only the top k most likely tokens at each step.
409
- */
410
- topK?: number | null | undefined;
411
- /**
412
- * Controls which (if any) tool is called by the model.
413
- */
414
- toolChoice?: RunAgentToolChoice2 | RunAgentToolChoice1 | undefined;
415
- /**
416
- * Whether to enable parallel function calling during tool use.
417
- */
418
- parallelToolCalls?: boolean | undefined;
419
- /**
420
- * 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"].
421
- */
422
- modalities?: Array<RunAgentModelConfigurationModalities> | null | undefined;
423
- /**
424
- * A list of guardrails to apply to the request.
425
- */
426
- guardrails?: Array<RunAgentModelConfigurationGuardrails> | undefined;
427
- /**
428
- * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
429
- */
430
- plugins?:
431
- | Array<
432
- | components.PIIRedactionPluginEn
433
- | components.PIIRedactionPluginNl
434
- | components.TraceScrubbingPlugin
435
- | components.PIIRedactionPluginAuto
436
- | components.ResponseHealingPlugin
437
- >
438
- | undefined;
439
- /**
440
- * Array of fallback models to use if primary model fails
441
- */
442
- fallbacks?: Array<RunAgentModelConfigurationFallbacks> | undefined;
443
- /**
444
- * Cache configuration for the request.
445
- */
446
- cache?: RunAgentModelConfigurationCache | undefined;
447
- /**
448
- * Load balancer configuration for the request.
449
- */
450
- loadBalancer?: RunAgentLoadBalancer1 | undefined;
451
- /**
452
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
453
- */
454
- timeout?: RunAgentModelConfigurationTimeout | undefined;
455
- /**
456
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
457
- */
458
- cacheControl?: RunAgentModelConfigurationCacheControl | undefined;
459
- /**
460
- * Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
461
- */
462
- promptCacheKey?: string | undefined;
463
- };
464
-
465
- /**
466
- * 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.
467
- */
468
- export type RunAgentModelConfigurationRetry = {
469
- /**
470
- * Number of retry attempts (1-5)
471
- */
472
- count?: number | undefined;
473
- /**
474
- * HTTP status codes that trigger retry logic
475
- */
476
- onCodes?: Array<number> | undefined;
477
- };
478
-
479
- /**
480
- * @remarks
481
- *
482
- * Model configuration with parameters and retry settings.
483
- */
484
- export type RunAgentModelConfiguration2 = {
485
- /**
486
- * A model ID string (e.g., `openai/gpt-4o` or `anthropic/claude-haiku-4-5-20251001`). Only models that support tool calling can be used with agents.
487
- */
488
- id: string;
489
- /**
490
- * 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.
491
- */
492
- parameters?: RunAgentModelConfigurationParameters | undefined;
493
- /**
494
- * 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.
495
- */
496
- retry?: RunAgentModelConfigurationRetry | undefined;
497
- };
498
-
499
- /**
500
- * Model configuration for this execution. Can override the agent manifest defaults if the agent already exists.
501
- */
502
- export type RunAgentModelConfiguration = RunAgentModelConfiguration2 | string;
503
-
504
- export type RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
505
- /**
506
- * A description of what the response format is for, used by the model to determine how to respond in the format.
507
- */
508
- description?: string | undefined;
509
- /**
510
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
511
- */
512
- name: string;
513
- /**
514
- * The schema for the response format, described as a JSON Schema object.
515
- */
516
- schema?: any | undefined;
517
- /**
518
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
519
- */
520
- strict?: boolean | undefined;
521
- };
522
-
523
- /**
524
- * @remarks
525
- *
526
- * JSON Schema response format. Used to generate structured JSON responses
527
- */
528
- export type RunAgentResponseFormatAgentsRequestJSONSchema = {
529
- type: "json_schema";
530
- jsonSchema: RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema;
531
- };
532
-
533
- /**
534
- * @remarks
535
- *
536
- * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
537
- */
538
- export type RunAgentResponseFormatAgentsJSONObject = {
539
- type: "json_object";
540
- };
541
-
542
- /**
543
- * @remarks
544
- *
545
- * Default response format. Used to generate text responses
546
- */
547
- export type RunAgentResponseFormatAgentsText = {
548
- type: "text";
549
- };
550
-
551
- /**
552
- * An object specifying the format that the model must output
553
- */
554
- export type RunAgentFallbackModelConfigurationResponseFormat =
555
- | RunAgentResponseFormatAgentsText
556
- | RunAgentResponseFormatAgentsJSONObject
557
- | RunAgentResponseFormatAgentsRequestJSONSchema;
558
-
559
- /**
560
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
561
- *
562
- * @remarks
563
- *
564
- * - `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.
565
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
566
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
567
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
568
- *
569
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
570
- */
571
- export const RunAgentFallbackModelConfigurationReasoningEffort = {
572
- None: "none",
573
- Minimal: "minimal",
574
- Low: "low",
575
- Medium: "medium",
576
- High: "high",
577
- Xhigh: "xhigh",
578
- Max: "max",
579
- } as const;
580
- /**
581
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
582
- *
583
- * @remarks
584
- *
585
- * - `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.
586
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
587
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
588
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
589
- *
590
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
591
- */
592
- export type RunAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<
593
- typeof RunAgentFallbackModelConfigurationReasoningEffort
594
- >;
595
-
596
- /**
597
- * Up to 4 sequences where the API will stop generating further tokens.
598
- */
599
- export type RunAgentFallbackModelConfigurationStop = string | Array<string>;
600
-
601
- export type RunAgentFallbackModelConfigurationThinking =
602
- | components.ThinkingConfigDisabledSchema
603
- | components.ThinkingConfigEnabledSchema
604
- | components.ThinkingConfigAdaptiveSchema;
605
-
606
- /**
607
- * The type of the tool. Currently, only function is supported.
608
- */
609
- export const RunAgentToolChoiceAgentsType = {
610
- Function: "function",
611
- } as const;
612
- /**
613
- * The type of the tool. Currently, only function is supported.
614
- */
615
- export type RunAgentToolChoiceAgentsType = ClosedEnum<
616
- typeof RunAgentToolChoiceAgentsType
617
- >;
618
-
619
- export type RunAgentToolChoiceAgentsFunction = {
620
- /**
621
- * The name of the function to call.
622
- */
623
- name: string;
624
- };
625
-
626
- export type RunAgentToolChoiceAgents2 = {
627
- /**
628
- * The type of the tool. Currently, only function is supported.
629
- */
630
- type?: RunAgentToolChoiceAgentsType | undefined;
631
- function: RunAgentToolChoiceAgentsFunction;
632
- };
633
-
634
- export const RunAgentToolChoiceAgents1 = {
635
- None: "none",
636
- Auto: "auto",
637
- Required: "required",
638
- } as const;
639
- export type RunAgentToolChoiceAgents1 = ClosedEnum<
640
- typeof RunAgentToolChoiceAgents1
641
- >;
642
-
643
- /**
644
- * Controls which (if any) tool is called by the model.
645
- */
646
- export type RunAgentFallbackModelConfigurationToolChoice =
647
- | RunAgentToolChoiceAgents2
648
- | RunAgentToolChoiceAgents1;
649
-
650
- export const RunAgentFallbackModelConfigurationModalities = {
651
- Text: "text",
652
- Audio: "audio",
653
- } as const;
654
- export type RunAgentFallbackModelConfigurationModalities = ClosedEnum<
655
- typeof RunAgentFallbackModelConfigurationModalities
656
- >;
657
-
658
- /**
659
- * The key of the guardrail.
660
- */
661
- export const RunAgentIdAgents1 = {
662
- OrqPiiDetection: "orq_pii_detection",
663
- OrqSecretDetection: "orq_secret_detection",
664
- OrqSexualModeration: "orq_sexual_moderation",
665
- OrqHarmfulModeration: "orq_harmful_moderation",
666
- } as const;
667
- /**
668
- * The key of the guardrail.
669
- */
670
- export type RunAgentIdAgents1 = ClosedEnum<typeof RunAgentIdAgents1>;
671
-
672
- export type RunAgentFallbackModelConfigurationId = RunAgentIdAgents1 | string;
673
-
674
- /**
675
- * Determines whether the guardrail runs on the input (user message) or output (model response).
676
- */
677
- export const RunAgentFallbackModelConfigurationExecuteOn = {
678
- Input: "input",
679
- Output: "output",
680
- } as const;
681
- /**
682
- * Determines whether the guardrail runs on the input (user message) or output (model response).
683
- */
684
- export type RunAgentFallbackModelConfigurationExecuteOn = ClosedEnum<
685
- typeof RunAgentFallbackModelConfigurationExecuteOn
686
- >;
687
-
688
- export type RunAgentFallbackModelConfigurationGuardrails = {
689
- id: RunAgentIdAgents1 | string;
690
- /**
691
- * Determines whether the guardrail runs on the input (user message) or output (model response).
692
- */
693
- executeOn: RunAgentFallbackModelConfigurationExecuteOn;
694
- };
695
-
696
- export type RunAgentFallbackModelConfigurationPlugins =
697
- | components.PIIRedactionPluginEn
698
- | components.PIIRedactionPluginNl
699
- | components.TraceScrubbingPlugin
700
- | components.PIIRedactionPluginAuto
701
- | components.ResponseHealingPlugin;
702
-
703
- export type RunAgentFallbackModelConfigurationFallbacks = {
704
- /**
705
- * Fallback model identifier
706
- */
707
- model: string;
708
- };
709
-
710
- export const RunAgentFallbackModelConfigurationType = {
711
- ExactMatch: "exact_match",
712
- } as const;
713
- export type RunAgentFallbackModelConfigurationType = ClosedEnum<
714
- typeof RunAgentFallbackModelConfigurationType
715
- >;
716
-
717
- /**
718
- * Cache configuration for the request.
719
- */
720
- export type RunAgentFallbackModelConfigurationCache = {
721
- /**
722
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
723
- */
724
- ttl?: number | undefined;
725
- type: RunAgentFallbackModelConfigurationType;
726
- };
727
-
728
- export const RunAgentLoadBalancerAgentsType = {
729
- WeightBased: "weight_based",
730
- } as const;
731
- export type RunAgentLoadBalancerAgentsType = ClosedEnum<
732
- typeof RunAgentLoadBalancerAgentsType
733
- >;
734
-
735
- export type RunAgentLoadBalancerAgentsModels = {
736
- /**
737
- * Model identifier for load balancing
738
- */
739
- model: string;
740
- /**
741
- * Weight assigned to this model for load balancing
742
- */
743
- weight?: number | undefined;
744
- };
745
-
746
- export type RunAgentLoadBalancerAgents1 = {
747
- type: RunAgentLoadBalancerAgentsType;
748
- models: Array<RunAgentLoadBalancerAgentsModels>;
749
- };
750
-
751
- /**
752
- * Load balancer configuration for the request.
753
- */
754
- export type RunAgentFallbackModelConfigurationLoadBalancer =
755
- RunAgentLoadBalancerAgents1;
756
-
757
- /**
758
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
759
- */
760
- export type RunAgentFallbackModelConfigurationTimeout = {
761
- /**
762
- * Timeout value in milliseconds
763
- */
764
- callTimeout: number;
765
- };
766
-
767
- /**
768
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
769
- */
770
- export const RunAgentFallbackModelConfigurationAgentsType = {
771
- Ephemeral: "ephemeral",
772
- } as const;
773
- /**
774
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
775
- */
776
- export type RunAgentFallbackModelConfigurationAgentsType = ClosedEnum<
777
- typeof RunAgentFallbackModelConfigurationAgentsType
778
- >;
779
-
780
- /**
781
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
782
- *
783
- * @remarks
784
- *
785
- * - `5m`: 5 minutes
786
- * - `1h`: 1 hour
787
- *
788
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
789
- */
790
- export const RunAgentFallbackModelConfigurationTtl = {
791
- Fivem: "5m",
792
- Oneh: "1h",
793
- } as const;
794
- /**
795
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
796
- *
797
- * @remarks
798
- *
799
- * - `5m`: 5 minutes
800
- * - `1h`: 1 hour
801
- *
802
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
803
- */
804
- export type RunAgentFallbackModelConfigurationTtl = ClosedEnum<
805
- typeof RunAgentFallbackModelConfigurationTtl
806
- >;
807
-
808
- /**
809
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
810
- */
811
- export type RunAgentFallbackModelConfigurationCacheControl = {
812
- /**
813
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
814
- */
815
- type: RunAgentFallbackModelConfigurationAgentsType;
816
- /**
817
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
818
- *
819
- * @remarks
820
- *
821
- * - `5m`: 5 minutes
822
- * - `1h`: 1 hour
823
- *
824
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
825
- */
826
- ttl?: RunAgentFallbackModelConfigurationTtl | undefined;
827
- };
828
-
829
- /**
830
- * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
831
- */
832
- export type RunAgentFallbackModelConfigurationParameters = {
833
- /**
834
- * The name to display on the trace. If not specified, the default system name will be used.
835
- */
836
- name?: string | undefined;
837
- /**
838
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
839
- */
840
- frequencyPenalty?: number | null | undefined;
841
- /**
842
- * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
843
- *
844
- * @remarks
845
- *
846
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
847
- */
848
- maxTokens?: number | null | undefined;
849
- /**
850
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
851
- */
852
- maxCompletionTokens?: number | null | undefined;
853
- /**
854
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
855
- */
856
- presencePenalty?: number | null | undefined;
857
- /**
858
- * An object specifying the format that the model must output
859
- */
860
- responseFormat?:
861
- | RunAgentResponseFormatAgentsText
862
- | RunAgentResponseFormatAgentsJSONObject
863
- | RunAgentResponseFormatAgentsRequestJSONSchema
864
- | undefined;
865
- /**
866
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
867
- *
868
- * @remarks
869
- *
870
- * - `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.
871
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
872
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
873
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
874
- *
875
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
876
- */
877
- reasoningEffort?:
878
- | RunAgentFallbackModelConfigurationReasoningEffort
879
- | undefined;
880
- /**
881
- * Adjusts response verbosity. Lower levels yield shorter answers.
882
- */
883
- verbosity?: string | undefined;
884
- /**
885
- * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
886
- */
887
- seed?: number | null | undefined;
888
- /**
889
- * Up to 4 sequences where the API will stop generating further tokens.
890
- */
891
- stop?: string | Array<string> | null | undefined;
892
- thinking?:
893
- | components.ThinkingConfigDisabledSchema
894
- | components.ThinkingConfigEnabledSchema
895
- | components.ThinkingConfigAdaptiveSchema
896
- | undefined;
897
- /**
898
- * 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.
899
- */
900
- temperature?: number | null | undefined;
901
- /**
902
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
903
- */
904
- topP?: number | null | undefined;
905
- /**
906
- * Limits the model to consider only the top k most likely tokens at each step.
907
- */
908
- topK?: number | null | undefined;
909
- /**
910
- * Controls which (if any) tool is called by the model.
911
- */
912
- toolChoice?:
913
- | RunAgentToolChoiceAgents2
914
- | RunAgentToolChoiceAgents1
915
- | undefined;
916
- /**
917
- * Whether to enable parallel function calling during tool use.
918
- */
919
- parallelToolCalls?: boolean | undefined;
920
- /**
921
- * 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"].
922
- */
923
- modalities?:
924
- | Array<RunAgentFallbackModelConfigurationModalities>
925
- | null
926
- | undefined;
927
- /**
928
- * A list of guardrails to apply to the request.
929
- */
930
- guardrails?: Array<RunAgentFallbackModelConfigurationGuardrails> | undefined;
931
- /**
932
- * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
933
- */
934
- plugins?:
935
- | Array<
936
- | components.PIIRedactionPluginEn
937
- | components.PIIRedactionPluginNl
938
- | components.TraceScrubbingPlugin
939
- | components.PIIRedactionPluginAuto
940
- | components.ResponseHealingPlugin
941
- >
942
- | undefined;
943
- /**
944
- * Array of fallback models to use if primary model fails
945
- */
946
- fallbacks?: Array<RunAgentFallbackModelConfigurationFallbacks> | undefined;
947
- /**
948
- * Cache configuration for the request.
949
- */
950
- cache?: RunAgentFallbackModelConfigurationCache | undefined;
951
- /**
952
- * Load balancer configuration for the request.
953
- */
954
- loadBalancer?: RunAgentLoadBalancerAgents1 | undefined;
955
- /**
956
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
957
- */
958
- timeout?: RunAgentFallbackModelConfigurationTimeout | undefined;
959
- /**
960
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
961
- */
962
- cacheControl?: RunAgentFallbackModelConfigurationCacheControl | undefined;
963
- /**
964
- * Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
965
- */
966
- promptCacheKey?: string | undefined;
967
- };
968
-
969
- /**
970
- * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
971
- */
972
- export type RunAgentFallbackModelConfigurationRetry = {
973
- /**
974
- * Number of retry attempts (1-5)
975
- */
976
- count?: number | undefined;
977
- /**
978
- * HTTP status codes that trigger retry logic
979
- */
980
- onCodes?: Array<number> | undefined;
981
- };
982
-
983
- /**
984
- * Fallback model configuration with optional parameters and retry settings.
985
- */
986
- export type RunAgentFallbackModelConfiguration2 = {
987
- /**
988
- * A fallback model ID string. Must support tool calling.
989
- */
990
- id: string;
991
- /**
992
- * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
993
- */
994
- parameters?: RunAgentFallbackModelConfigurationParameters | undefined;
995
- /**
996
- * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
997
- */
998
- retry?: RunAgentFallbackModelConfigurationRetry | undefined;
999
- };
1000
-
1001
- /**
1002
- * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
1003
- */
1004
- export type RunAgentFallbackModelConfiguration =
1005
- | RunAgentFallbackModelConfiguration2
1006
- | string;
1007
-
1008
- /**
1009
- * Message containing tool execution results
1010
- */
1011
- export const RunAgentRoleToolMessage = {
1012
- Tool: "tool",
1013
- } as const;
1014
- /**
1015
- * Message containing tool execution results
1016
- */
1017
- export type RunAgentRoleToolMessage = ClosedEnum<
1018
- typeof RunAgentRoleToolMessage
1019
- >;
1020
-
1021
- /**
1022
- * Message from the end user
1023
- */
1024
- export const RunAgentRoleUserMessage = {
1025
- User: "user",
1026
- } as const;
1027
- /**
1028
- * Message from the end user
1029
- */
1030
- export type RunAgentRoleUserMessage = ClosedEnum<
1031
- typeof RunAgentRoleUserMessage
1032
- >;
1033
-
1034
- /**
1035
- * Message role (user or tool for continuing executions)
1036
- */
1037
- export type RunAgentRole = RunAgentRoleUserMessage | RunAgentRoleToolMessage;
1038
-
1039
- /**
1040
- * Message part that can be provided by users. Use "text" for regular messages, "file" for attachments, or "tool_result" when responding to tool call requests.
1041
- */
1042
- export type RunAgentPublicMessagePart =
1043
- | components.TextPart
1044
- | components.FilePart
1045
- | components.ToolResultPart
1046
- | components.ErrorPart;
1047
-
1048
- /**
1049
- * The A2A format message containing the task for the agent to perform.
1050
- */
1051
- export type RunAgentA2AMessage = {
1052
- /**
1053
- * Optional A2A message ID in ULID format
1054
- */
1055
- messageId?: string | undefined;
1056
- /**
1057
- * Message role (user or tool for continuing executions)
1058
- */
1059
- role: RunAgentRoleUserMessage | RunAgentRoleToolMessage;
1060
- /**
1061
- * A2A message parts (text, file, or tool_result only). Note: Tool role messages must only contain tool_result parts.
1062
- */
1063
- parts: Array<
1064
- | components.TextPart
1065
- | components.FilePart
1066
- | components.ToolResultPart
1067
- | components.ErrorPart
1068
- >;
1069
- };
1070
-
1071
- /**
1072
- * Information about the identity making the request. If the identity does not exist, it will be created automatically.
1073
- */
1074
- export type RunAgentIdentity = {
1075
- /**
1076
- * Unique identifier for the contact
1077
- */
1078
- id: string;
1079
- /**
1080
- * Display name of the contact
1081
- */
1082
- displayName?: string | undefined;
1083
- /**
1084
- * Email address of the contact
1085
- */
1086
- email?: string | undefined;
1087
- /**
1088
- * A hash of key/value pairs containing any other data about the contact
1089
- */
1090
- metadata?: Array<{ [k: string]: any }> | undefined;
1091
- /**
1092
- * URL to the contact's avatar or logo
1093
- */
1094
- logoUrl?: string | undefined;
1095
- /**
1096
- * A list of tags associated with the contact
1097
- */
1098
- tags?: Array<string> | undefined;
1099
- };
1100
-
1101
- /**
1102
- * @deprecated Use identity instead. Information about the contact making the request.
1103
- *
1104
- * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
1105
- */
1106
- export type RunAgentContact = {
1107
- /**
1108
- * Unique identifier for the contact
1109
- */
1110
- id: string;
1111
- /**
1112
- * Display name of the contact
1113
- */
1114
- displayName?: string | undefined;
1115
- /**
1116
- * Email address of the contact
1117
- */
1118
- email?: string | undefined;
1119
- /**
1120
- * A hash of key/value pairs containing any other data about the contact
1121
- */
1122
- metadata?: Array<{ [k: string]: any }> | undefined;
1123
- /**
1124
- * URL to the contact's avatar or logo
1125
- */
1126
- logoUrl?: string | undefined;
1127
- /**
1128
- * A list of tags associated with the contact
1129
- */
1130
- tags?: Array<string> | undefined;
1131
- };
1132
-
1133
- /**
1134
- * Thread information to group related requests
1135
- */
1136
- export type RunAgentThread = {
1137
- /**
1138
- * Unique thread identifier to group related invocations.
1139
- */
1140
- id: string;
1141
- /**
1142
- * Optional tags to differentiate or categorize threads
1143
- */
1144
- tags?: Array<string> | undefined;
1145
- };
1146
-
1147
- /**
1148
- * Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
1149
- */
1150
- export type RunAgentMemory = {
1151
- /**
1152
- * An entity ID used to link memory stores to a specific user, session, or conversation. This ID is used to isolate and retrieve memories specific to the entity across agent executions.
1153
- */
1154
- entityId: string;
1155
- };
1156
-
1157
- export type RunAgentKnowledgeBases = {
1158
- /**
1159
- * Unique identifier of the knowledge base to search
1160
- */
1161
- knowledgeId: string;
1162
- };
1163
-
1164
- export type RunAgentTeamOfAgents = {
1165
- /**
1166
- * The unique key of the agent within the workspace
1167
- */
1168
- key: string;
1169
- /**
1170
- * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
1171
- */
1172
- role?: string | undefined;
1173
- };
1174
-
1175
- export type AgentToolInputRunHeaders = {
1176
- value: string;
1177
- encrypted?: boolean | undefined;
1178
- };
1179
-
1180
- export const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType =
1181
- {
1182
- Object: "object",
1183
- } as const;
1184
- export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType =
1185
- ClosedEnum<
1186
- typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType
1187
- >;
1188
-
1189
- export type AgentToolInputRunSchema = {
1190
- type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType;
1191
- properties?: { [k: string]: any } | undefined;
1192
- required?: Array<string> | undefined;
1193
- };
1194
-
1195
- export type Tools = {
1196
- id?: string | undefined;
1197
- name: string;
1198
- description?: string | undefined;
1199
- schema: AgentToolInputRunSchema;
1200
- };
1201
-
1202
- /**
1203
- * The connection type used by the MCP server
1204
- */
1205
- export const ConnectionType = {
1206
- Http: "http",
1207
- Sse: "sse",
1208
- } as const;
1209
- /**
1210
- * The connection type used by the MCP server
1211
- */
1212
- export type ConnectionType = ClosedEnum<typeof ConnectionType>;
1213
-
1214
- export type Mcp = {
1215
- /**
1216
- * The MCP server URL (cached for execution)
1217
- */
1218
- serverUrl: string;
1219
- /**
1220
- * HTTP headers for MCP server requests with encryption support
1221
- */
1222
- headers?: { [k: string]: AgentToolInputRunHeaders } | undefined;
1223
- /**
1224
- * Array of tools available from the MCP server
1225
- */
1226
- tools: Array<Tools>;
1227
- /**
1228
- * The connection type used by the MCP server
1229
- */
1230
- connectionType: ConnectionType;
1231
- };
1232
-
1233
- /**
1234
- * MCP tool with inline definition for on-the-fly creation in run endpoint
1235
- */
1236
- export type MCPToolRun = {
1237
- type: "mcp";
1238
- /**
1239
- * Unique key of the tool as it will be displayed in the UI
1240
- */
1241
- key: string;
1242
- id?: string | undefined;
1243
- displayName?: string | undefined;
1244
- /**
1245
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
1246
- */
1247
- description: string;
1248
- mcp: Mcp;
1249
- requiresApproval?: boolean | undefined;
1250
- };
1251
-
1252
- /**
1253
- * The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
1254
- */
1255
- export type Schema = {
1256
- /**
1257
- * The JSON Schema type
1258
- */
1259
- type: string;
1260
- /**
1261
- * The properties of the JSON Schema object
1262
- */
1263
- properties: { [k: string]: any };
1264
- /**
1265
- * Array of required property names
1266
- */
1267
- required: Array<string>;
1268
- additionalProperties?: { [k: string]: any } | undefined;
1269
- };
1270
-
1271
- export type AgentToolInputRunJsonSchema = {
1272
- /**
1273
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
1274
- */
1275
- name: string;
1276
- /**
1277
- * A description of what the response format is for. This will be shown to the user.
1278
- */
1279
- description: string;
1280
- /**
1281
- * The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
1282
- */
1283
- schema: Schema;
1284
- /**
1285
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. Only compatible with `OpenAI` models.
1286
- */
1287
- strict?: boolean | undefined;
1288
- };
1289
-
1290
- /**
1291
- * JSON Schema tool with inline definition for on-the-fly creation in run endpoint
1292
- */
1293
- export type JSONSchemaToolRun = {
1294
- type: "json_schema";
1295
- /**
1296
- * Unique key of the tool as it will be displayed in the UI
1297
- */
1298
- key: string;
1299
- id?: string | undefined;
1300
- displayName?: string | undefined;
1301
- /**
1302
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
1303
- */
1304
- description: string;
1305
- jsonSchema: AgentToolInputRunJsonSchema;
1306
- requiresApproval?: boolean | undefined;
1307
- };
1308
-
1309
- /**
1310
- * The type must be "object"
1311
- */
1312
- export const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType = {
1313
- Object: "object",
1314
- } as const;
1315
- /**
1316
- * The type must be "object"
1317
- */
1318
- export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType =
1319
- ClosedEnum<
1320
- typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType
1321
- >;
1322
-
1323
- /**
1324
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
1325
- */
1326
- export type RunAgentAgentToolInputRunParameters = {
1327
- /**
1328
- * The type must be "object"
1329
- */
1330
- type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType;
1331
- /**
1332
- * The properties of the function parameters
1333
- */
1334
- properties: { [k: string]: any };
1335
- /**
1336
- * Array of required parameter names
1337
- */
1338
- required: Array<string>;
1339
- additionalProperties?: { [k: string]: any } | undefined;
1340
- };
1341
-
1342
- export type AgentToolInputRunFunction = {
1343
- /**
1344
- * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
1345
- */
1346
- name: string;
1347
- /**
1348
- * A description of what the function does, used by the model to choose when and how to call the function.
1349
- */
1350
- description?: string | undefined;
1351
- /**
1352
- * Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Currently only compatible with `OpenAI` models.
1353
- */
1354
- strict?: boolean | undefined;
1355
- /**
1356
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
1357
- */
1358
- parameters?: RunAgentAgentToolInputRunParameters | undefined;
1359
- };
1360
-
1361
- /**
1362
- * Function tool with inline definition for on-the-fly creation in run endpoint
1363
- */
1364
- export type FunctionToolRun = {
1365
- type: "function";
1366
- /**
1367
- * Unique key of the tool as it will be displayed in the UI
1368
- */
1369
- key: string;
1370
- id?: string | undefined;
1371
- displayName?: string | undefined;
1372
- description?: string | undefined;
1373
- function: AgentToolInputRunFunction;
1374
- requiresApproval?: boolean | undefined;
1375
- };
1376
-
1377
- /**
1378
- * The type must be "object"
1379
- */
1380
- export const RunAgentAgentToolInputRunAgentsRequestType = {
1381
- Object: "object",
1382
- } as const;
1383
- /**
1384
- * The type must be "object"
1385
- */
1386
- export type RunAgentAgentToolInputRunAgentsRequestType = ClosedEnum<
1387
- typeof RunAgentAgentToolInputRunAgentsRequestType
1388
- >;
1389
-
1390
- /**
1391
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
1392
- */
1393
- export type AgentToolInputRunParameters = {
1394
- /**
1395
- * The type must be "object"
1396
- */
1397
- type: RunAgentAgentToolInputRunAgentsRequestType;
1398
- /**
1399
- * The properties of the function parameters
1400
- */
1401
- properties: { [k: string]: any };
1402
- /**
1403
- * Array of required parameter names
1404
- */
1405
- required: Array<string>;
1406
- additionalProperties?: { [k: string]: any } | undefined;
1407
- };
1408
-
1409
- export const Language = {
1410
- Python: "python",
1411
- } as const;
1412
- export type Language = ClosedEnum<typeof Language>;
1413
-
1414
- export type CodeTool = {
1415
- /**
1416
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
1417
- */
1418
- parameters?: AgentToolInputRunParameters | undefined;
1419
- language: Language;
1420
- /**
1421
- * The code to execute.
1422
- */
1423
- code: string;
1424
- };
1425
-
1426
- /**
1427
- * Code execution tool with inline definition for on-the-fly creation in run endpoint
1428
- */
1429
- export type CodeToolRun = {
1430
- type: "code";
1431
- /**
1432
- * Unique key of the tool as it will be displayed in the UI
1433
- */
1434
- key: string;
1435
- id?: string | undefined;
1436
- displayName?: string | undefined;
1437
- /**
1438
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
1439
- */
1440
- description: string;
1441
- codeTool: CodeTool;
1442
- requiresApproval?: boolean | undefined;
1443
- /**
1444
- * Tool execution timeout in seconds for this agent (max: 2 minutes, the code sandbox cap). Overrides the timeout configured on the tool definition.
1445
- */
1446
- timeout?: number | undefined;
1447
- };
1448
-
1449
- /**
1450
- * The HTTP method to use.
1451
- */
1452
- export const Method = {
1453
- Get: "GET",
1454
- Post: "POST",
1455
- Put: "PUT",
1456
- Delete: "DELETE",
1457
- } as const;
1458
- /**
1459
- * The HTTP method to use.
1460
- */
1461
- export type Method = ClosedEnum<typeof Method>;
1462
-
1463
- export type Headers2 = {
1464
- value: string;
1465
- encrypted?: boolean | undefined;
1466
- };
1467
-
1468
- export type Headers = Headers2 | string;
1469
-
1470
- /**
1471
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
1472
- */
1473
- export type Blueprint = {
1474
- /**
1475
- * The URL to send the request to.
1476
- */
1477
- url: string;
1478
- /**
1479
- * The HTTP method to use.
1480
- */
1481
- method: Method;
1482
- /**
1483
- * The headers to send with the request. Can be a string value or an object with value and encrypted properties.
1484
- */
1485
- headers?: { [k: string]: Headers2 | string } | undefined;
1486
- /**
1487
- * The body to send with the request.
1488
- */
1489
- body?: { [k: string]: any } | undefined;
1490
- /**
1491
- * The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
1492
- */
1493
- timeout?: number | undefined;
1494
- };
1495
-
1496
- /**
1497
- * The type of the argument.
1498
- */
1499
- export const RunAgentAgentToolInputRunType = {
1500
- String: "string",
1501
- Number: "number",
1502
- Boolean: "boolean",
1503
- } as const;
1504
- /**
1505
- * The type of the argument.
1506
- */
1507
- export type RunAgentAgentToolInputRunType = ClosedEnum<
1508
- typeof RunAgentAgentToolInputRunType
1509
- >;
1510
-
1511
- /**
1512
- * The default value of the argument.
1513
- */
1514
- export type DefaultValue = string | number | boolean;
1515
-
1516
- export type Arguments = {
1517
- /**
1518
- * The type of the argument.
1519
- */
1520
- type: RunAgentAgentToolInputRunType;
1521
- /**
1522
- * A description of the argument.
1523
- */
1524
- description: string;
1525
- /**
1526
- * Whether to send the argument to the model. If set to false, the argument will not be sent to the model and needs to be provided by the user or it will be left blank.
1527
- */
1528
- sendToModel?: boolean | undefined;
1529
- /**
1530
- * The default value of the argument.
1531
- */
1532
- defaultValue?: string | number | boolean | undefined;
1533
- };
1534
-
1535
- export type Http = {
1536
- /**
1537
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
1538
- */
1539
- blueprint: Blueprint;
1540
- /**
1541
- * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
1542
- */
1543
- arguments?: { [k: string]: Arguments } | undefined;
1544
- };
1545
-
1546
- /**
1547
- * HTTP tool with inline definition for on-the-fly creation in run endpoint
1548
- */
1549
- export type HTTPToolRun = {
1550
- type: "http";
1551
- /**
1552
- * Unique key of the tool as it will be displayed in the UI
1553
- */
1554
- key: string;
1555
- id?: string | undefined;
1556
- displayName?: string | undefined;
1557
- /**
1558
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
1559
- */
1560
- description: string;
1561
- http: Http;
1562
- requiresApproval?: boolean | undefined;
1563
- /**
1564
- * Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
1565
- */
1566
- timeout?: number | undefined;
1567
- };
1568
-
1569
- /**
1570
- * Tool configuration for agent run operations. Built-in tools only require a type and requires_approval, while custom tools (HTTP, Code, Function, JSON Schema, MCP) support full inline definitions for on-the-fly creation.
1571
- */
1572
- export type AgentToolInputRun =
1573
- | components.GoogleSearchToolInput
1574
- | components.WebScraperToolInput
1575
- | components.CallSubAgentToolInput
1576
- | components.RetrieveAgentsToolInput
1577
- | components.QueryMemoryStoreToolInput
1578
- | components.WriteMemoryStoreToolInput
1579
- | components.RetrieveMemoryStoresToolInput
1580
- | components.DeleteMemoryDocumentToolInput
1581
- | components.RetrieveKnowledgeBasesToolInput
1582
- | components.QueryKnowledgeBaseToolInput
1583
- | components.CurrentDateToolInput
1584
- | components.AdvisorToolInput
1585
- | components.SidekickToolInput
1586
- | components.CodeInterpreterToolInput
1587
- | HTTPToolRun
1588
- | CodeToolRun
1589
- | FunctionToolRun
1590
- | JSONSchemaToolRun
1591
- | MCPToolRun;
1592
-
1593
- /**
1594
- * 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.
1595
- */
1596
- export const RunAgentToolApprovalRequired = {
1597
- All: "all",
1598
- RespectTool: "respect_tool",
1599
- None: "none",
1600
- } as const;
1601
- /**
1602
- * 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.
1603
- */
1604
- export type RunAgentToolApprovalRequired = ClosedEnum<
1605
- typeof RunAgentToolApprovalRequired
1606
- >;
1607
-
1608
- /**
1609
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1610
- */
1611
- export const RunAgentExecuteOn = {
1612
- Input: "input",
1613
- Output: "output",
1614
- } as const;
1615
- /**
1616
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1617
- */
1618
- export type RunAgentExecuteOn = ClosedEnum<typeof RunAgentExecuteOn>;
1619
-
1620
- export type RunAgentEvaluators = {
1621
- /**
1622
- * Unique key or identifier of the evaluator
1623
- */
1624
- id: string;
1625
- /**
1626
- * The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
1627
- */
1628
- sampleRate?: number | undefined;
1629
- /**
1630
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1631
- */
1632
- executeOn: RunAgentExecuteOn;
1633
- };
1634
-
1635
- /**
1636
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1637
- */
1638
- export const RunAgentAgentsExecuteOn = {
1639
- Input: "input",
1640
- Output: "output",
1641
- } as const;
1642
- /**
1643
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1644
- */
1645
- export type RunAgentAgentsExecuteOn = ClosedEnum<
1646
- typeof RunAgentAgentsExecuteOn
1647
- >;
1648
-
1649
- export type RunAgentGuardrails = {
1650
- /**
1651
- * Unique key or identifier of the evaluator
1652
- */
1653
- id: string;
1654
- /**
1655
- * The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
1656
- */
1657
- sampleRate?: number | undefined;
1658
- /**
1659
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1660
- */
1661
- executeOn: RunAgentAgentsExecuteOn;
1662
- };
1663
-
1664
- export type RunAgentSettings = {
1665
- /**
1666
- * Tools available to the agent
1667
- */
1668
- tools?:
1669
- | Array<
1670
- | components.GoogleSearchToolInput
1671
- | components.WebScraperToolInput
1672
- | components.CallSubAgentToolInput
1673
- | components.RetrieveAgentsToolInput
1674
- | components.QueryMemoryStoreToolInput
1675
- | components.WriteMemoryStoreToolInput
1676
- | components.RetrieveMemoryStoresToolInput
1677
- | components.DeleteMemoryDocumentToolInput
1678
- | components.RetrieveKnowledgeBasesToolInput
1679
- | components.QueryKnowledgeBaseToolInput
1680
- | components.CurrentDateToolInput
1681
- | components.AdvisorToolInput
1682
- | components.SidekickToolInput
1683
- | components.CodeInterpreterToolInput
1684
- | HTTPToolRun
1685
- | CodeToolRun
1686
- | FunctionToolRun
1687
- | JSONSchemaToolRun
1688
- | MCPToolRun
1689
- >
1690
- | undefined;
1691
- /**
1692
- * 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.
1693
- */
1694
- toolApprovalRequired?: RunAgentToolApprovalRequired | undefined;
1695
- /**
1696
- * Maximum iterations(llm calls) before the agent will stop executing.
1697
- */
1698
- maxIterations?: number | undefined;
1699
- /**
1700
- * Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
1701
- */
1702
- maxExecutionTime?: number | undefined;
1703
- /**
1704
- * Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses
1705
- */
1706
- maxCost?: number | undefined;
1707
- /**
1708
- * When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
1709
- */
1710
- chatExposed?: boolean | undefined;
1711
- /**
1712
- * Configuration for an evaluator applied to the agent
1713
- */
1714
- evaluators?: Array<RunAgentEvaluators> | undefined;
1715
- /**
1716
- * Configuration for a guardrail applied to the agent
1717
- */
1718
- guardrails?: Array<RunAgentGuardrails> | undefined;
1719
- };
1720
-
1721
- /**
1722
- * Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
1723
- */
1724
- export const RunAgentEngine = {
1725
- Text: "text",
1726
- Jinja: "jinja",
1727
- Mustache: "mustache",
1728
- } as const;
1729
- /**
1730
- * Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
1731
- */
1732
- export type RunAgentEngine = ClosedEnum<typeof RunAgentEngine>;
1733
-
1734
- export type RunAgentRequestBody = {
1735
- /**
1736
- * A unique identifier for the agent. This key must be unique within the same workspace and cannot be reused. When executing the agent, this key determines if the agent already exists. If the agent version differs, a new version is created at the end of the execution, except for the task. All agent parameters are evaluated to decide if a new version is needed.
1737
- */
1738
- key: string;
1739
- /**
1740
- * Optional task ID to continue an existing agent execution. When provided, the agent will continue the conversation from the existing task state. The task must be in an inactive state to continue.
1741
- */
1742
- taskId?: string | undefined;
1743
- /**
1744
- * Model configuration for this execution. Can override the agent manifest defaults if the agent already exists.
1745
- */
1746
- model: RunAgentModelConfiguration2 | string;
1747
- /**
1748
- * Optional array of fallback models used when the primary model fails. Fallbacks are attempted in order. All models must support tool calling.
1749
- */
1750
- fallbackModels?:
1751
- | Array<RunAgentFallbackModelConfiguration2 | string>
1752
- | undefined;
1753
- /**
1754
- * Specifies the agent's function and area of expertise.
1755
- */
1756
- role: string;
1757
- /**
1758
- * Provides context and purpose for the agent. Combined with the system prompt template to generate the agent's instructions.
1759
- */
1760
- instructions: string;
1761
- /**
1762
- * The A2A format message containing the task for the agent to perform.
1763
- */
1764
- message: RunAgentA2AMessage;
1765
- /**
1766
- * Optional variables for template replacement in system prompt, instructions, and messages
1767
- */
1768
- variables?: { [k: string]: any } | undefined;
1769
- /**
1770
- * Information about the identity making the request. If the identity does not exist, it will be created automatically.
1771
- */
1772
- identity?: RunAgentIdentity | undefined;
1773
- /**
1774
- * @deprecated Use identity instead. Information about the contact making the request.
1775
- *
1776
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
1777
- */
1778
- contact?: RunAgentContact | undefined;
1779
- /**
1780
- * Thread information to group related requests
1781
- */
1782
- thread?: RunAgentThread | undefined;
1783
- /**
1784
- * Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
1785
- */
1786
- memory?: RunAgentMemory | undefined;
1787
- /**
1788
- * Entity storage path.
1789
- *
1790
- * @remarks
1791
- *
1792
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
1793
- *
1794
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
1795
- */
1796
- path: string;
1797
- /**
1798
- * A brief summary of the agent's purpose.
1799
- */
1800
- description?: string | undefined;
1801
- /**
1802
- * A custom system prompt template for the agent. If omitted, the default template is used.
1803
- */
1804
- systemPrompt?: string | null | undefined;
1805
- /**
1806
- * Array of memory store identifiers that are accessible to the agent. Accepts both memory store IDs and keys.
1807
- */
1808
- memoryStores?: Array<string> | undefined;
1809
- /**
1810
- * Knowledge base configurations for the agent to access
1811
- */
1812
- knowledgeBases?: Array<RunAgentKnowledgeBases> | undefined;
1813
- /**
1814
- * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1815
- */
1816
- teamOfAgents?: Array<RunAgentTeamOfAgents> | undefined;
1817
- settings: RunAgentSettings;
1818
- /**
1819
- * Optional metadata for the agent run as key-value pairs that will be included in traces
1820
- */
1821
- metadata?: { [k: string]: any } | undefined;
1822
- /**
1823
- * Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
1824
- */
1825
- engine?: RunAgentEngine | undefined;
1826
- };
1827
-
1828
- /**
1829
- * A2A entity type identifier
1830
- */
1831
- export const RunAgentKind = {
1832
- Task: "task",
1833
- } as const;
1834
- /**
1835
- * A2A entity type identifier
1836
- */
1837
- export type RunAgentKind = ClosedEnum<typeof RunAgentKind>;
1838
-
1839
- /**
1840
- * Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
1841
- */
1842
- export const RunAgentTaskState = {
1843
- Submitted: "submitted",
1844
- Working: "working",
1845
- InputRequired: "input-required",
1846
- AuthRequired: "auth-required",
1847
- Completed: "completed",
1848
- Failed: "failed",
1849
- Canceled: "canceled",
1850
- Rejected: "rejected",
1851
- } as const;
1852
- /**
1853
- * Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
1854
- */
1855
- export type RunAgentTaskState = ClosedEnum<typeof RunAgentTaskState>;
1856
-
1857
- export const RunAgentAgentsKind = {
1858
- Message: "message",
1859
- } as const;
1860
- export type RunAgentAgentsKind = ClosedEnum<typeof RunAgentAgentsKind>;
1861
-
1862
- /**
1863
- * Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
1864
- */
1865
- export const RunAgentExtendedMessageRole = {
1866
- User: "user",
1867
- Agent: "agent",
1868
- Tool: "tool",
1869
- System: "system",
1870
- } as const;
1871
- /**
1872
- * Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
1873
- */
1874
- export type RunAgentExtendedMessageRole = ClosedEnum<
1875
- typeof RunAgentExtendedMessageRole
1876
- >;
1877
-
1878
- export type RunAgentParts =
1879
- | components.TextPart
1880
- | components.ErrorPart
1881
- | components.DataPart
1882
- | components.FilePart
1883
- | components.ToolCallPart
1884
- | components.ToolResultPart;
1885
-
1886
- /**
1887
- * Optional A2A message providing additional context about the current status
1888
- */
1889
- export type RunAgentTaskStatusMessage = {
1890
- kind: RunAgentAgentsKind;
1891
- messageId: string;
1892
- /**
1893
- * Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
1894
- */
1895
- role: RunAgentExtendedMessageRole;
1896
- parts: Array<
1897
- | components.TextPart
1898
- | components.ErrorPart
1899
- | components.DataPart
1900
- | components.FilePart
1901
- | components.ToolCallPart
1902
- | components.ToolResultPart
1903
- >;
1904
- };
1905
-
1906
- /**
1907
- * Current task status information
1908
- */
1909
- export type RunAgentTaskStatus = {
1910
- /**
1911
- * Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
1912
- */
1913
- state: RunAgentTaskState;
1914
- /**
1915
- * ISO 8601 timestamp of when the status was updated
1916
- */
1917
- timestamp?: string | undefined;
1918
- /**
1919
- * Optional A2A message providing additional context about the current status
1920
- */
1921
- message?: RunAgentTaskStatusMessage | undefined;
1922
- };
1923
-
1924
- /**
1925
- * Response format following the Agent-to-Agent (A2A) protocol. Returned when starting or continuing an agent task execution.
1926
- */
1927
- export type RunAgentA2ATaskResponse = {
1928
- /**
1929
- * The unique ID of the created agent execution task
1930
- */
1931
- id: string;
1932
- /**
1933
- * The correlation ID for this execution (used for tracking)
1934
- */
1935
- contextId: string;
1936
- /**
1937
- * A2A entity type identifier
1938
- */
1939
- kind: RunAgentKind;
1940
- /**
1941
- * Current task status information
1942
- */
1943
- status: RunAgentTaskStatus;
1944
- /**
1945
- * Array of messages in the task conversation. Only present when blocking mode is enabled.
1946
- */
1947
- messages?: Array<components.ExtendedMessage> | undefined;
1948
- /**
1949
- * Task metadata containing workspace_id and trace_id for feedback and tracking
1950
- */
1951
- metadata?: { [k: string]: any } | undefined;
1952
- };
1953
-
1954
- /** @internal */
1955
- export type RunAgentResponseFormatAgentsJsonSchema$Outbound = {
1956
- description?: string | undefined;
1957
- name: string;
1958
- schema?: any | undefined;
1959
- strict: boolean;
1960
- };
1961
-
1962
- /** @internal */
1963
- export const RunAgentResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<
1964
- RunAgentResponseFormatAgentsJsonSchema$Outbound,
1965
- z.ZodTypeDef,
1966
- RunAgentResponseFormatAgentsJsonSchema
1967
- > = z.object({
1968
- description: z.string().optional(),
1969
- name: z.string(),
1970
- schema: z.any().optional(),
1971
- strict: z.boolean().default(false),
1972
- });
1973
-
1974
- export function runAgentResponseFormatAgentsJsonSchemaToJSON(
1975
- runAgentResponseFormatAgentsJsonSchema:
1976
- RunAgentResponseFormatAgentsJsonSchema,
1977
- ): string {
1978
- return JSON.stringify(
1979
- RunAgentResponseFormatAgentsJsonSchema$outboundSchema.parse(
1980
- runAgentResponseFormatAgentsJsonSchema,
1981
- ),
1982
- );
1983
- }
1984
-
1985
- /** @internal */
1986
- export type RunAgentResponseFormatJSONSchema$Outbound = {
1987
- type: "json_schema";
1988
- json_schema: RunAgentResponseFormatAgentsJsonSchema$Outbound;
1989
- };
1990
-
1991
- /** @internal */
1992
- export const RunAgentResponseFormatJSONSchema$outboundSchema: z.ZodType<
1993
- RunAgentResponseFormatJSONSchema$Outbound,
1994
- z.ZodTypeDef,
1995
- RunAgentResponseFormatJSONSchema
1996
- > = z.object({
1997
- type: z.literal("json_schema"),
1998
- jsonSchema: z.lazy(() =>
1999
- RunAgentResponseFormatAgentsJsonSchema$outboundSchema
2000
- ),
2001
- }).transform((v) => {
2002
- return remap$(v, {
2003
- jsonSchema: "json_schema",
2004
- });
2005
- });
2006
-
2007
- export function runAgentResponseFormatJSONSchemaToJSON(
2008
- runAgentResponseFormatJSONSchema: RunAgentResponseFormatJSONSchema,
2009
- ): string {
2010
- return JSON.stringify(
2011
- RunAgentResponseFormatJSONSchema$outboundSchema.parse(
2012
- runAgentResponseFormatJSONSchema,
2013
- ),
2014
- );
2015
- }
2016
-
2017
- /** @internal */
2018
- export type RunAgentResponseFormatJSONObject$Outbound = {
2019
- type: "json_object";
2020
- };
2021
-
2022
- /** @internal */
2023
- export const RunAgentResponseFormatJSONObject$outboundSchema: z.ZodType<
2024
- RunAgentResponseFormatJSONObject$Outbound,
2025
- z.ZodTypeDef,
2026
- RunAgentResponseFormatJSONObject
2027
- > = z.object({
2028
- type: z.literal("json_object"),
2029
- });
2030
-
2031
- export function runAgentResponseFormatJSONObjectToJSON(
2032
- runAgentResponseFormatJSONObject: RunAgentResponseFormatJSONObject,
2033
- ): string {
2034
- return JSON.stringify(
2035
- RunAgentResponseFormatJSONObject$outboundSchema.parse(
2036
- runAgentResponseFormatJSONObject,
2037
- ),
2038
- );
2039
- }
2040
-
2041
- /** @internal */
2042
- export type RunAgentResponseFormatText$Outbound = {
2043
- type: "text";
2044
- };
2045
-
2046
- /** @internal */
2047
- export const RunAgentResponseFormatText$outboundSchema: z.ZodType<
2048
- RunAgentResponseFormatText$Outbound,
2049
- z.ZodTypeDef,
2050
- RunAgentResponseFormatText
2051
- > = z.object({
2052
- type: z.literal("text"),
2053
- });
2054
-
2055
- export function runAgentResponseFormatTextToJSON(
2056
- runAgentResponseFormatText: RunAgentResponseFormatText,
2057
- ): string {
2058
- return JSON.stringify(
2059
- RunAgentResponseFormatText$outboundSchema.parse(runAgentResponseFormatText),
2060
- );
2061
- }
2062
-
2063
- /** @internal */
2064
- export type RunAgentModelConfigurationResponseFormat$Outbound =
2065
- | RunAgentResponseFormatText$Outbound
2066
- | RunAgentResponseFormatJSONObject$Outbound
2067
- | RunAgentResponseFormatJSONSchema$Outbound;
2068
-
2069
- /** @internal */
2070
- export const RunAgentModelConfigurationResponseFormat$outboundSchema: z.ZodType<
2071
- RunAgentModelConfigurationResponseFormat$Outbound,
2072
- z.ZodTypeDef,
2073
- RunAgentModelConfigurationResponseFormat
2074
- > = z.union([
2075
- z.lazy(() => RunAgentResponseFormatText$outboundSchema),
2076
- z.lazy(() => RunAgentResponseFormatJSONObject$outboundSchema),
2077
- z.lazy(() => RunAgentResponseFormatJSONSchema$outboundSchema),
2078
- ]);
2079
-
2080
- export function runAgentModelConfigurationResponseFormatToJSON(
2081
- runAgentModelConfigurationResponseFormat:
2082
- RunAgentModelConfigurationResponseFormat,
2083
- ): string {
2084
- return JSON.stringify(
2085
- RunAgentModelConfigurationResponseFormat$outboundSchema.parse(
2086
- runAgentModelConfigurationResponseFormat,
2087
- ),
2088
- );
2089
- }
2090
-
2091
- /** @internal */
2092
- export const RunAgentModelConfigurationReasoningEffort$outboundSchema:
2093
- z.ZodNativeEnum<typeof RunAgentModelConfigurationReasoningEffort> = z
2094
- .nativeEnum(RunAgentModelConfigurationReasoningEffort);
2095
-
2096
- /** @internal */
2097
- export type RunAgentModelConfigurationStop$Outbound = string | Array<string>;
2098
-
2099
- /** @internal */
2100
- export const RunAgentModelConfigurationStop$outboundSchema: z.ZodType<
2101
- RunAgentModelConfigurationStop$Outbound,
2102
- z.ZodTypeDef,
2103
- RunAgentModelConfigurationStop
2104
- > = z.union([z.string(), z.array(z.string())]);
2105
-
2106
- export function runAgentModelConfigurationStopToJSON(
2107
- runAgentModelConfigurationStop: RunAgentModelConfigurationStop,
2108
- ): string {
2109
- return JSON.stringify(
2110
- RunAgentModelConfigurationStop$outboundSchema.parse(
2111
- runAgentModelConfigurationStop,
2112
- ),
2113
- );
2114
- }
2115
-
2116
- /** @internal */
2117
- export type RunAgentModelConfigurationThinking$Outbound =
2118
- | components.ThinkingConfigDisabledSchema$Outbound
2119
- | components.ThinkingConfigEnabledSchema$Outbound
2120
- | components.ThinkingConfigAdaptiveSchema$Outbound;
2121
-
2122
- /** @internal */
2123
- export const RunAgentModelConfigurationThinking$outboundSchema: z.ZodType<
2124
- RunAgentModelConfigurationThinking$Outbound,
2125
- z.ZodTypeDef,
2126
- RunAgentModelConfigurationThinking
2127
- > = z.union([
2128
- components.ThinkingConfigDisabledSchema$outboundSchema,
2129
- components.ThinkingConfigEnabledSchema$outboundSchema,
2130
- components.ThinkingConfigAdaptiveSchema$outboundSchema,
2131
- ]);
2132
-
2133
- export function runAgentModelConfigurationThinkingToJSON(
2134
- runAgentModelConfigurationThinking: RunAgentModelConfigurationThinking,
2135
- ): string {
2136
- return JSON.stringify(
2137
- RunAgentModelConfigurationThinking$outboundSchema.parse(
2138
- runAgentModelConfigurationThinking,
2139
- ),
2140
- );
2141
- }
2142
-
2143
- /** @internal */
2144
- export const RunAgentToolChoiceType$outboundSchema: z.ZodNativeEnum<
2145
- typeof RunAgentToolChoiceType
2146
- > = z.nativeEnum(RunAgentToolChoiceType);
2147
-
2148
- /** @internal */
2149
- export type RunAgentToolChoiceFunction$Outbound = {
2150
- name: string;
2151
- };
2152
-
2153
- /** @internal */
2154
- export const RunAgentToolChoiceFunction$outboundSchema: z.ZodType<
2155
- RunAgentToolChoiceFunction$Outbound,
2156
- z.ZodTypeDef,
2157
- RunAgentToolChoiceFunction
2158
- > = z.object({
2159
- name: z.string(),
2160
- });
2161
-
2162
- export function runAgentToolChoiceFunctionToJSON(
2163
- runAgentToolChoiceFunction: RunAgentToolChoiceFunction,
2164
- ): string {
2165
- return JSON.stringify(
2166
- RunAgentToolChoiceFunction$outboundSchema.parse(runAgentToolChoiceFunction),
2167
- );
2168
- }
2169
-
2170
- /** @internal */
2171
- export type RunAgentToolChoice2$Outbound = {
2172
- type?: string | undefined;
2173
- function: RunAgentToolChoiceFunction$Outbound;
2174
- };
2175
-
2176
- /** @internal */
2177
- export const RunAgentToolChoice2$outboundSchema: z.ZodType<
2178
- RunAgentToolChoice2$Outbound,
2179
- z.ZodTypeDef,
2180
- RunAgentToolChoice2
2181
- > = z.object({
2182
- type: RunAgentToolChoiceType$outboundSchema.optional(),
2183
- function: z.lazy(() => RunAgentToolChoiceFunction$outboundSchema),
2184
- });
2185
-
2186
- export function runAgentToolChoice2ToJSON(
2187
- runAgentToolChoice2: RunAgentToolChoice2,
2188
- ): string {
2189
- return JSON.stringify(
2190
- RunAgentToolChoice2$outboundSchema.parse(runAgentToolChoice2),
2191
- );
2192
- }
2193
-
2194
- /** @internal */
2195
- export const RunAgentToolChoice1$outboundSchema: z.ZodNativeEnum<
2196
- typeof RunAgentToolChoice1
2197
- > = z.nativeEnum(RunAgentToolChoice1);
2198
-
2199
- /** @internal */
2200
- export type RunAgentModelConfigurationToolChoice$Outbound =
2201
- | RunAgentToolChoice2$Outbound
2202
- | string;
2203
-
2204
- /** @internal */
2205
- export const RunAgentModelConfigurationToolChoice$outboundSchema: z.ZodType<
2206
- RunAgentModelConfigurationToolChoice$Outbound,
2207
- z.ZodTypeDef,
2208
- RunAgentModelConfigurationToolChoice
2209
- > = z.union([
2210
- z.lazy(() => RunAgentToolChoice2$outboundSchema),
2211
- RunAgentToolChoice1$outboundSchema,
2212
- ]);
2213
-
2214
- export function runAgentModelConfigurationToolChoiceToJSON(
2215
- runAgentModelConfigurationToolChoice: RunAgentModelConfigurationToolChoice,
2216
- ): string {
2217
- return JSON.stringify(
2218
- RunAgentModelConfigurationToolChoice$outboundSchema.parse(
2219
- runAgentModelConfigurationToolChoice,
2220
- ),
2221
- );
2222
- }
2223
-
2224
- /** @internal */
2225
- export const RunAgentModelConfigurationModalities$outboundSchema:
2226
- z.ZodNativeEnum<typeof RunAgentModelConfigurationModalities> = z.nativeEnum(
2227
- RunAgentModelConfigurationModalities,
2228
- );
2229
-
2230
- /** @internal */
2231
- export const RunAgentId1$outboundSchema: z.ZodNativeEnum<typeof RunAgentId1> = z
2232
- .nativeEnum(RunAgentId1);
2233
-
2234
- /** @internal */
2235
- export type RunAgentModelConfigurationId$Outbound = string | string;
2236
-
2237
- /** @internal */
2238
- export const RunAgentModelConfigurationId$outboundSchema: z.ZodType<
2239
- RunAgentModelConfigurationId$Outbound,
2240
- z.ZodTypeDef,
2241
- RunAgentModelConfigurationId
2242
- > = z.union([RunAgentId1$outboundSchema, z.string()]);
2243
-
2244
- export function runAgentModelConfigurationIdToJSON(
2245
- runAgentModelConfigurationId: RunAgentModelConfigurationId,
2246
- ): string {
2247
- return JSON.stringify(
2248
- RunAgentModelConfigurationId$outboundSchema.parse(
2249
- runAgentModelConfigurationId,
2250
- ),
2251
- );
2252
- }
2253
-
2254
- /** @internal */
2255
- export const RunAgentModelConfigurationExecuteOn$outboundSchema:
2256
- z.ZodNativeEnum<typeof RunAgentModelConfigurationExecuteOn> = z.nativeEnum(
2257
- RunAgentModelConfigurationExecuteOn,
2258
- );
2259
-
2260
- /** @internal */
2261
- export type RunAgentModelConfigurationGuardrails$Outbound = {
2262
- id: string | string;
2263
- execute_on: string;
2264
- };
2265
-
2266
- /** @internal */
2267
- export const RunAgentModelConfigurationGuardrails$outboundSchema: z.ZodType<
2268
- RunAgentModelConfigurationGuardrails$Outbound,
2269
- z.ZodTypeDef,
2270
- RunAgentModelConfigurationGuardrails
2271
- > = z.object({
2272
- id: z.union([RunAgentId1$outboundSchema, z.string()]),
2273
- executeOn: RunAgentModelConfigurationExecuteOn$outboundSchema,
2274
- }).transform((v) => {
2275
- return remap$(v, {
2276
- executeOn: "execute_on",
2277
- });
2278
- });
2279
-
2280
- export function runAgentModelConfigurationGuardrailsToJSON(
2281
- runAgentModelConfigurationGuardrails: RunAgentModelConfigurationGuardrails,
2282
- ): string {
2283
- return JSON.stringify(
2284
- RunAgentModelConfigurationGuardrails$outboundSchema.parse(
2285
- runAgentModelConfigurationGuardrails,
2286
- ),
2287
- );
2288
- }
2289
-
2290
- /** @internal */
2291
- export type RunAgentModelConfigurationPlugins$Outbound =
2292
- | components.PIIRedactionPluginEn$Outbound
2293
- | components.PIIRedactionPluginNl$Outbound
2294
- | components.TraceScrubbingPlugin$Outbound
2295
- | components.PIIRedactionPluginAuto$Outbound
2296
- | components.ResponseHealingPlugin$Outbound;
2297
-
2298
- /** @internal */
2299
- export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
2300
- RunAgentModelConfigurationPlugins$Outbound,
2301
- z.ZodTypeDef,
2302
- RunAgentModelConfigurationPlugins
2303
- > = z.union([
2304
- components.PIIRedactionPluginEn$outboundSchema,
2305
- components.PIIRedactionPluginNl$outboundSchema,
2306
- components.TraceScrubbingPlugin$outboundSchema,
2307
- components.PIIRedactionPluginAuto$outboundSchema,
2308
- components.ResponseHealingPlugin$outboundSchema,
2309
- ]);
2310
-
2311
- export function runAgentModelConfigurationPluginsToJSON(
2312
- runAgentModelConfigurationPlugins: RunAgentModelConfigurationPlugins,
2313
- ): string {
2314
- return JSON.stringify(
2315
- RunAgentModelConfigurationPlugins$outboundSchema.parse(
2316
- runAgentModelConfigurationPlugins,
2317
- ),
2318
- );
2319
- }
2320
-
2321
- /** @internal */
2322
- export type RunAgentModelConfigurationFallbacks$Outbound = {
2323
- model: string;
2324
- };
2325
-
2326
- /** @internal */
2327
- export const RunAgentModelConfigurationFallbacks$outboundSchema: z.ZodType<
2328
- RunAgentModelConfigurationFallbacks$Outbound,
2329
- z.ZodTypeDef,
2330
- RunAgentModelConfigurationFallbacks
2331
- > = z.object({
2332
- model: z.string(),
2333
- });
2334
-
2335
- export function runAgentModelConfigurationFallbacksToJSON(
2336
- runAgentModelConfigurationFallbacks: RunAgentModelConfigurationFallbacks,
2337
- ): string {
2338
- return JSON.stringify(
2339
- RunAgentModelConfigurationFallbacks$outboundSchema.parse(
2340
- runAgentModelConfigurationFallbacks,
2341
- ),
2342
- );
2343
- }
2344
-
2345
- /** @internal */
2346
- export const RunAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<
2347
- typeof RunAgentModelConfigurationType
2348
- > = z.nativeEnum(RunAgentModelConfigurationType);
2349
-
2350
- /** @internal */
2351
- export type RunAgentModelConfigurationCache$Outbound = {
2352
- ttl: number;
2353
- type: string;
2354
- };
2355
-
2356
- /** @internal */
2357
- export const RunAgentModelConfigurationCache$outboundSchema: z.ZodType<
2358
- RunAgentModelConfigurationCache$Outbound,
2359
- z.ZodTypeDef,
2360
- RunAgentModelConfigurationCache
2361
- > = z.object({
2362
- ttl: z.number().default(1800),
2363
- type: RunAgentModelConfigurationType$outboundSchema,
2364
- });
2365
-
2366
- export function runAgentModelConfigurationCacheToJSON(
2367
- runAgentModelConfigurationCache: RunAgentModelConfigurationCache,
2368
- ): string {
2369
- return JSON.stringify(
2370
- RunAgentModelConfigurationCache$outboundSchema.parse(
2371
- runAgentModelConfigurationCache,
2372
- ),
2373
- );
2374
- }
2375
-
2376
- /** @internal */
2377
- export const RunAgentLoadBalancerType$outboundSchema: z.ZodNativeEnum<
2378
- typeof RunAgentLoadBalancerType
2379
- > = z.nativeEnum(RunAgentLoadBalancerType);
2380
-
2381
- /** @internal */
2382
- export type RunAgentLoadBalancerModels$Outbound = {
2383
- model: string;
2384
- weight: number;
2385
- };
2386
-
2387
- /** @internal */
2388
- export const RunAgentLoadBalancerModels$outboundSchema: z.ZodType<
2389
- RunAgentLoadBalancerModels$Outbound,
2390
- z.ZodTypeDef,
2391
- RunAgentLoadBalancerModels
2392
- > = z.object({
2393
- model: z.string(),
2394
- weight: z.number().default(0.5),
2395
- });
2396
-
2397
- export function runAgentLoadBalancerModelsToJSON(
2398
- runAgentLoadBalancerModels: RunAgentLoadBalancerModels,
2399
- ): string {
2400
- return JSON.stringify(
2401
- RunAgentLoadBalancerModels$outboundSchema.parse(runAgentLoadBalancerModels),
2402
- );
2403
- }
2404
-
2405
- /** @internal */
2406
- export type RunAgentLoadBalancer1$Outbound = {
2407
- type: string;
2408
- models: Array<RunAgentLoadBalancerModels$Outbound>;
2409
- };
2410
-
2411
- /** @internal */
2412
- export const RunAgentLoadBalancer1$outboundSchema: z.ZodType<
2413
- RunAgentLoadBalancer1$Outbound,
2414
- z.ZodTypeDef,
2415
- RunAgentLoadBalancer1
2416
- > = z.object({
2417
- type: RunAgentLoadBalancerType$outboundSchema,
2418
- models: z.array(z.lazy(() => RunAgentLoadBalancerModels$outboundSchema)),
2419
- });
2420
-
2421
- export function runAgentLoadBalancer1ToJSON(
2422
- runAgentLoadBalancer1: RunAgentLoadBalancer1,
2423
- ): string {
2424
- return JSON.stringify(
2425
- RunAgentLoadBalancer1$outboundSchema.parse(runAgentLoadBalancer1),
2426
- );
2427
- }
2428
-
2429
- /** @internal */
2430
- export type RunAgentModelConfigurationLoadBalancer$Outbound =
2431
- RunAgentLoadBalancer1$Outbound;
2432
-
2433
- /** @internal */
2434
- export const RunAgentModelConfigurationLoadBalancer$outboundSchema: z.ZodType<
2435
- RunAgentModelConfigurationLoadBalancer$Outbound,
2436
- z.ZodTypeDef,
2437
- RunAgentModelConfigurationLoadBalancer
2438
- > = z.lazy(() => RunAgentLoadBalancer1$outboundSchema);
2439
-
2440
- export function runAgentModelConfigurationLoadBalancerToJSON(
2441
- runAgentModelConfigurationLoadBalancer:
2442
- RunAgentModelConfigurationLoadBalancer,
2443
- ): string {
2444
- return JSON.stringify(
2445
- RunAgentModelConfigurationLoadBalancer$outboundSchema.parse(
2446
- runAgentModelConfigurationLoadBalancer,
2447
- ),
2448
- );
2449
- }
2450
-
2451
- /** @internal */
2452
- export type RunAgentModelConfigurationTimeout$Outbound = {
2453
- call_timeout: number;
2454
- };
2455
-
2456
- /** @internal */
2457
- export const RunAgentModelConfigurationTimeout$outboundSchema: z.ZodType<
2458
- RunAgentModelConfigurationTimeout$Outbound,
2459
- z.ZodTypeDef,
2460
- RunAgentModelConfigurationTimeout
2461
- > = z.object({
2462
- callTimeout: z.number(),
2463
- }).transform((v) => {
2464
- return remap$(v, {
2465
- callTimeout: "call_timeout",
2466
- });
2467
- });
2468
-
2469
- export function runAgentModelConfigurationTimeoutToJSON(
2470
- runAgentModelConfigurationTimeout: RunAgentModelConfigurationTimeout,
2471
- ): string {
2472
- return JSON.stringify(
2473
- RunAgentModelConfigurationTimeout$outboundSchema.parse(
2474
- runAgentModelConfigurationTimeout,
2475
- ),
2476
- );
2477
- }
2478
-
2479
- /** @internal */
2480
- export const RunAgentModelConfigurationAgentsType$outboundSchema:
2481
- z.ZodNativeEnum<typeof RunAgentModelConfigurationAgentsType> = z.nativeEnum(
2482
- RunAgentModelConfigurationAgentsType,
2483
- );
2484
-
2485
- /** @internal */
2486
- export const RunAgentModelConfigurationTtl$outboundSchema: z.ZodNativeEnum<
2487
- typeof RunAgentModelConfigurationTtl
2488
- > = z.nativeEnum(RunAgentModelConfigurationTtl);
2489
-
2490
- /** @internal */
2491
- export type RunAgentModelConfigurationCacheControl$Outbound = {
2492
- type: string;
2493
- ttl: string;
2494
- };
2495
-
2496
- /** @internal */
2497
- export const RunAgentModelConfigurationCacheControl$outboundSchema: z.ZodType<
2498
- RunAgentModelConfigurationCacheControl$Outbound,
2499
- z.ZodTypeDef,
2500
- RunAgentModelConfigurationCacheControl
2501
- > = z.object({
2502
- type: RunAgentModelConfigurationAgentsType$outboundSchema,
2503
- ttl: RunAgentModelConfigurationTtl$outboundSchema.default("5m"),
2504
- });
2505
-
2506
- export function runAgentModelConfigurationCacheControlToJSON(
2507
- runAgentModelConfigurationCacheControl:
2508
- RunAgentModelConfigurationCacheControl,
2509
- ): string {
2510
- return JSON.stringify(
2511
- RunAgentModelConfigurationCacheControl$outboundSchema.parse(
2512
- runAgentModelConfigurationCacheControl,
2513
- ),
2514
- );
2515
- }
2516
-
2517
- /** @internal */
2518
- export type RunAgentModelConfigurationParameters$Outbound = {
2519
- name?: string | undefined;
2520
- frequency_penalty?: number | null | undefined;
2521
- max_tokens?: number | null | undefined;
2522
- max_completion_tokens?: number | null | undefined;
2523
- presence_penalty?: number | null | undefined;
2524
- response_format?:
2525
- | RunAgentResponseFormatText$Outbound
2526
- | RunAgentResponseFormatJSONObject$Outbound
2527
- | RunAgentResponseFormatJSONSchema$Outbound
2528
- | undefined;
2529
- reasoning_effort?: string | undefined;
2530
- verbosity?: string | undefined;
2531
- seed?: number | null | undefined;
2532
- stop?: string | Array<string> | null | undefined;
2533
- thinking?:
2534
- | components.ThinkingConfigDisabledSchema$Outbound
2535
- | components.ThinkingConfigEnabledSchema$Outbound
2536
- | components.ThinkingConfigAdaptiveSchema$Outbound
2537
- | undefined;
2538
- temperature?: number | null | undefined;
2539
- top_p?: number | null | undefined;
2540
- top_k?: number | null | undefined;
2541
- tool_choice?: RunAgentToolChoice2$Outbound | string | undefined;
2542
- parallel_tool_calls?: boolean | undefined;
2543
- modalities?: Array<string> | null | undefined;
2544
- guardrails?: Array<RunAgentModelConfigurationGuardrails$Outbound> | undefined;
2545
- plugins?:
2546
- | Array<
2547
- | components.PIIRedactionPluginEn$Outbound
2548
- | components.PIIRedactionPluginNl$Outbound
2549
- | components.TraceScrubbingPlugin$Outbound
2550
- | components.PIIRedactionPluginAuto$Outbound
2551
- | components.ResponseHealingPlugin$Outbound
2552
- >
2553
- | undefined;
2554
- fallbacks?: Array<RunAgentModelConfigurationFallbacks$Outbound> | undefined;
2555
- cache?: RunAgentModelConfigurationCache$Outbound | undefined;
2556
- load_balancer?: RunAgentLoadBalancer1$Outbound | undefined;
2557
- timeout?: RunAgentModelConfigurationTimeout$Outbound | undefined;
2558
- cache_control?: RunAgentModelConfigurationCacheControl$Outbound | undefined;
2559
- prompt_cache_key?: string | undefined;
2560
- };
2561
-
2562
- /** @internal */
2563
- export const RunAgentModelConfigurationParameters$outboundSchema: z.ZodType<
2564
- RunAgentModelConfigurationParameters$Outbound,
2565
- z.ZodTypeDef,
2566
- RunAgentModelConfigurationParameters
2567
- > = z.object({
2568
- name: z.string().optional(),
2569
- frequencyPenalty: z.nullable(z.number()).optional(),
2570
- maxTokens: z.nullable(z.number().int()).optional(),
2571
- maxCompletionTokens: z.nullable(z.number().int()).optional(),
2572
- presencePenalty: z.nullable(z.number()).optional(),
2573
- responseFormat: z.union([
2574
- z.lazy(() => RunAgentResponseFormatText$outboundSchema),
2575
- z.lazy(() => RunAgentResponseFormatJSONObject$outboundSchema),
2576
- z.lazy(() => RunAgentResponseFormatJSONSchema$outboundSchema),
2577
- ]).optional(),
2578
- reasoningEffort: RunAgentModelConfigurationReasoningEffort$outboundSchema
2579
- .optional(),
2580
- verbosity: z.string().optional(),
2581
- seed: z.nullable(z.number()).optional(),
2582
- stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
2583
- thinking: z.union([
2584
- components.ThinkingConfigDisabledSchema$outboundSchema,
2585
- components.ThinkingConfigEnabledSchema$outboundSchema,
2586
- components.ThinkingConfigAdaptiveSchema$outboundSchema,
2587
- ]).optional(),
2588
- temperature: z.nullable(z.number()).optional(),
2589
- topP: z.nullable(z.number()).optional(),
2590
- topK: z.nullable(z.number()).optional(),
2591
- toolChoice: z.union([
2592
- z.lazy(() => RunAgentToolChoice2$outboundSchema),
2593
- RunAgentToolChoice1$outboundSchema,
2594
- ]).optional(),
2595
- parallelToolCalls: z.boolean().optional(),
2596
- modalities: z.nullable(
2597
- z.array(RunAgentModelConfigurationModalities$outboundSchema),
2598
- ).optional(),
2599
- guardrails: z.array(
2600
- z.lazy(() => RunAgentModelConfigurationGuardrails$outboundSchema),
2601
- ).optional(),
2602
- plugins: z.array(
2603
- z.union([
2604
- components.PIIRedactionPluginEn$outboundSchema,
2605
- components.PIIRedactionPluginNl$outboundSchema,
2606
- components.TraceScrubbingPlugin$outboundSchema,
2607
- components.PIIRedactionPluginAuto$outboundSchema,
2608
- components.ResponseHealingPlugin$outboundSchema,
2609
- ]),
2610
- ).optional(),
2611
- fallbacks: z.array(
2612
- z.lazy(() => RunAgentModelConfigurationFallbacks$outboundSchema),
2613
- ).optional(),
2614
- cache: z.lazy(() => RunAgentModelConfigurationCache$outboundSchema)
2615
- .optional(),
2616
- loadBalancer: z.lazy(() => RunAgentLoadBalancer1$outboundSchema).optional(),
2617
- timeout: z.lazy(() => RunAgentModelConfigurationTimeout$outboundSchema)
2618
- .optional(),
2619
- cacheControl: z.lazy(() =>
2620
- RunAgentModelConfigurationCacheControl$outboundSchema
2621
- ).optional(),
2622
- promptCacheKey: z.string().optional(),
2623
- }).transform((v) => {
2624
- return remap$(v, {
2625
- frequencyPenalty: "frequency_penalty",
2626
- maxTokens: "max_tokens",
2627
- maxCompletionTokens: "max_completion_tokens",
2628
- presencePenalty: "presence_penalty",
2629
- responseFormat: "response_format",
2630
- reasoningEffort: "reasoning_effort",
2631
- topP: "top_p",
2632
- topK: "top_k",
2633
- toolChoice: "tool_choice",
2634
- parallelToolCalls: "parallel_tool_calls",
2635
- loadBalancer: "load_balancer",
2636
- cacheControl: "cache_control",
2637
- promptCacheKey: "prompt_cache_key",
2638
- });
2639
- });
2640
-
2641
- export function runAgentModelConfigurationParametersToJSON(
2642
- runAgentModelConfigurationParameters: RunAgentModelConfigurationParameters,
2643
- ): string {
2644
- return JSON.stringify(
2645
- RunAgentModelConfigurationParameters$outboundSchema.parse(
2646
- runAgentModelConfigurationParameters,
2647
- ),
2648
- );
2649
- }
2650
-
2651
- /** @internal */
2652
- export type RunAgentModelConfigurationRetry$Outbound = {
2653
- count: number;
2654
- on_codes?: Array<number> | undefined;
2655
- };
2656
-
2657
- /** @internal */
2658
- export const RunAgentModelConfigurationRetry$outboundSchema: z.ZodType<
2659
- RunAgentModelConfigurationRetry$Outbound,
2660
- z.ZodTypeDef,
2661
- RunAgentModelConfigurationRetry
2662
- > = z.object({
2663
- count: z.number().default(3),
2664
- onCodes: z.array(z.number()).optional(),
2665
- }).transform((v) => {
2666
- return remap$(v, {
2667
- onCodes: "on_codes",
2668
- });
2669
- });
2670
-
2671
- export function runAgentModelConfigurationRetryToJSON(
2672
- runAgentModelConfigurationRetry: RunAgentModelConfigurationRetry,
2673
- ): string {
2674
- return JSON.stringify(
2675
- RunAgentModelConfigurationRetry$outboundSchema.parse(
2676
- runAgentModelConfigurationRetry,
2677
- ),
2678
- );
2679
- }
2680
-
2681
- /** @internal */
2682
- export type RunAgentModelConfiguration2$Outbound = {
2683
- id: string;
2684
- parameters?: RunAgentModelConfigurationParameters$Outbound | undefined;
2685
- retry?: RunAgentModelConfigurationRetry$Outbound | undefined;
2686
- };
2687
-
2688
- /** @internal */
2689
- export const RunAgentModelConfiguration2$outboundSchema: z.ZodType<
2690
- RunAgentModelConfiguration2$Outbound,
2691
- z.ZodTypeDef,
2692
- RunAgentModelConfiguration2
2693
- > = z.object({
2694
- id: z.string(),
2695
- parameters: z.lazy(() => RunAgentModelConfigurationParameters$outboundSchema)
2696
- .optional(),
2697
- retry: z.lazy(() => RunAgentModelConfigurationRetry$outboundSchema)
2698
- .optional(),
2699
- });
2700
-
2701
- export function runAgentModelConfiguration2ToJSON(
2702
- runAgentModelConfiguration2: RunAgentModelConfiguration2,
2703
- ): string {
2704
- return JSON.stringify(
2705
- RunAgentModelConfiguration2$outboundSchema.parse(
2706
- runAgentModelConfiguration2,
2707
- ),
2708
- );
2709
- }
2710
-
2711
- /** @internal */
2712
- export type RunAgentModelConfiguration$Outbound =
2713
- | RunAgentModelConfiguration2$Outbound
2714
- | string;
2715
-
2716
- /** @internal */
2717
- export const RunAgentModelConfiguration$outboundSchema: z.ZodType<
2718
- RunAgentModelConfiguration$Outbound,
2719
- z.ZodTypeDef,
2720
- RunAgentModelConfiguration
2721
- > = z.union([
2722
- z.lazy(() => RunAgentModelConfiguration2$outboundSchema),
2723
- z.string(),
2724
- ]);
2725
-
2726
- export function runAgentModelConfigurationToJSON(
2727
- runAgentModelConfiguration: RunAgentModelConfiguration,
2728
- ): string {
2729
- return JSON.stringify(
2730
- RunAgentModelConfiguration$outboundSchema.parse(runAgentModelConfiguration),
2731
- );
2732
- }
2733
-
2734
- /** @internal */
2735
- export type RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound =
2736
- {
2737
- description?: string | undefined;
2738
- name: string;
2739
- schema?: any | undefined;
2740
- strict: boolean;
2741
- };
2742
-
2743
- /** @internal */
2744
- export const RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema:
2745
- z.ZodType<
2746
- RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound,
2747
- z.ZodTypeDef,
2748
- RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema
2749
- > = z.object({
2750
- description: z.string().optional(),
2751
- name: z.string(),
2752
- schema: z.any().optional(),
2753
- strict: z.boolean().default(false),
2754
- });
2755
-
2756
- export function runAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON(
2757
- runAgentResponseFormatAgentsRequestRequestBodyJsonSchema:
2758
- RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema,
2759
- ): string {
2760
- return JSON.stringify(
2761
- RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema
2762
- .parse(runAgentResponseFormatAgentsRequestRequestBodyJsonSchema),
2763
- );
2764
- }
2765
-
2766
- /** @internal */
2767
- export type RunAgentResponseFormatAgentsRequestJSONSchema$Outbound = {
2768
- type: "json_schema";
2769
- json_schema:
2770
- RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound;
2771
- };
2772
-
2773
- /** @internal */
2774
- export const RunAgentResponseFormatAgentsRequestJSONSchema$outboundSchema:
2775
- z.ZodType<
2776
- RunAgentResponseFormatAgentsRequestJSONSchema$Outbound,
2777
- z.ZodTypeDef,
2778
- RunAgentResponseFormatAgentsRequestJSONSchema
2779
- > = z.object({
2780
- type: z.literal("json_schema"),
2781
- jsonSchema: z.lazy(() =>
2782
- RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema
2783
- ),
2784
- }).transform((v) => {
2785
- return remap$(v, {
2786
- jsonSchema: "json_schema",
2787
- });
2788
- });
2789
-
2790
- export function runAgentResponseFormatAgentsRequestJSONSchemaToJSON(
2791
- runAgentResponseFormatAgentsRequestJSONSchema:
2792
- RunAgentResponseFormatAgentsRequestJSONSchema,
2793
- ): string {
2794
- return JSON.stringify(
2795
- RunAgentResponseFormatAgentsRequestJSONSchema$outboundSchema.parse(
2796
- runAgentResponseFormatAgentsRequestJSONSchema,
2797
- ),
2798
- );
2799
- }
2800
-
2801
- /** @internal */
2802
- export type RunAgentResponseFormatAgentsJSONObject$Outbound = {
2803
- type: "json_object";
2804
- };
2805
-
2806
- /** @internal */
2807
- export const RunAgentResponseFormatAgentsJSONObject$outboundSchema: z.ZodType<
2808
- RunAgentResponseFormatAgentsJSONObject$Outbound,
2809
- z.ZodTypeDef,
2810
- RunAgentResponseFormatAgentsJSONObject
2811
- > = z.object({
2812
- type: z.literal("json_object"),
2813
- });
2814
-
2815
- export function runAgentResponseFormatAgentsJSONObjectToJSON(
2816
- runAgentResponseFormatAgentsJSONObject:
2817
- RunAgentResponseFormatAgentsJSONObject,
2818
- ): string {
2819
- return JSON.stringify(
2820
- RunAgentResponseFormatAgentsJSONObject$outboundSchema.parse(
2821
- runAgentResponseFormatAgentsJSONObject,
2822
- ),
2823
- );
2824
- }
2825
-
2826
- /** @internal */
2827
- export type RunAgentResponseFormatAgentsText$Outbound = {
2828
- type: "text";
2829
- };
2830
-
2831
- /** @internal */
2832
- export const RunAgentResponseFormatAgentsText$outboundSchema: z.ZodType<
2833
- RunAgentResponseFormatAgentsText$Outbound,
2834
- z.ZodTypeDef,
2835
- RunAgentResponseFormatAgentsText
2836
- > = z.object({
2837
- type: z.literal("text"),
2838
- });
2839
-
2840
- export function runAgentResponseFormatAgentsTextToJSON(
2841
- runAgentResponseFormatAgentsText: RunAgentResponseFormatAgentsText,
2842
- ): string {
2843
- return JSON.stringify(
2844
- RunAgentResponseFormatAgentsText$outboundSchema.parse(
2845
- runAgentResponseFormatAgentsText,
2846
- ),
2847
- );
2848
- }
2849
-
2850
- /** @internal */
2851
- export type RunAgentFallbackModelConfigurationResponseFormat$Outbound =
2852
- | RunAgentResponseFormatAgentsText$Outbound
2853
- | RunAgentResponseFormatAgentsJSONObject$Outbound
2854
- | RunAgentResponseFormatAgentsRequestJSONSchema$Outbound;
2855
-
2856
- /** @internal */
2857
- export const RunAgentFallbackModelConfigurationResponseFormat$outboundSchema:
2858
- z.ZodType<
2859
- RunAgentFallbackModelConfigurationResponseFormat$Outbound,
2860
- z.ZodTypeDef,
2861
- RunAgentFallbackModelConfigurationResponseFormat
2862
- > = z.union([
2863
- z.lazy(() => RunAgentResponseFormatAgentsText$outboundSchema),
2864
- z.lazy(() => RunAgentResponseFormatAgentsJSONObject$outboundSchema),
2865
- z.lazy(() => RunAgentResponseFormatAgentsRequestJSONSchema$outboundSchema),
2866
- ]);
2867
-
2868
- export function runAgentFallbackModelConfigurationResponseFormatToJSON(
2869
- runAgentFallbackModelConfigurationResponseFormat:
2870
- RunAgentFallbackModelConfigurationResponseFormat,
2871
- ): string {
2872
- return JSON.stringify(
2873
- RunAgentFallbackModelConfigurationResponseFormat$outboundSchema.parse(
2874
- runAgentFallbackModelConfigurationResponseFormat,
2875
- ),
2876
- );
2877
- }
2878
-
2879
- /** @internal */
2880
- export const RunAgentFallbackModelConfigurationReasoningEffort$outboundSchema:
2881
- z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationReasoningEffort> = z
2882
- .nativeEnum(RunAgentFallbackModelConfigurationReasoningEffort);
2883
-
2884
- /** @internal */
2885
- export type RunAgentFallbackModelConfigurationStop$Outbound =
2886
- | string
2887
- | Array<string>;
2888
-
2889
- /** @internal */
2890
- export const RunAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<
2891
- RunAgentFallbackModelConfigurationStop$Outbound,
2892
- z.ZodTypeDef,
2893
- RunAgentFallbackModelConfigurationStop
2894
- > = z.union([z.string(), z.array(z.string())]);
2895
-
2896
- export function runAgentFallbackModelConfigurationStopToJSON(
2897
- runAgentFallbackModelConfigurationStop:
2898
- RunAgentFallbackModelConfigurationStop,
2899
- ): string {
2900
- return JSON.stringify(
2901
- RunAgentFallbackModelConfigurationStop$outboundSchema.parse(
2902
- runAgentFallbackModelConfigurationStop,
2903
- ),
2904
- );
2905
- }
2906
-
2907
- /** @internal */
2908
- export type RunAgentFallbackModelConfigurationThinking$Outbound =
2909
- | components.ThinkingConfigDisabledSchema$Outbound
2910
- | components.ThinkingConfigEnabledSchema$Outbound
2911
- | components.ThinkingConfigAdaptiveSchema$Outbound;
2912
-
2913
- /** @internal */
2914
- export const RunAgentFallbackModelConfigurationThinking$outboundSchema:
2915
- z.ZodType<
2916
- RunAgentFallbackModelConfigurationThinking$Outbound,
2917
- z.ZodTypeDef,
2918
- RunAgentFallbackModelConfigurationThinking
2919
- > = z.union([
2920
- components.ThinkingConfigDisabledSchema$outboundSchema,
2921
- components.ThinkingConfigEnabledSchema$outboundSchema,
2922
- components.ThinkingConfigAdaptiveSchema$outboundSchema,
2923
- ]);
2924
-
2925
- export function runAgentFallbackModelConfigurationThinkingToJSON(
2926
- runAgentFallbackModelConfigurationThinking:
2927
- RunAgentFallbackModelConfigurationThinking,
2928
- ): string {
2929
- return JSON.stringify(
2930
- RunAgentFallbackModelConfigurationThinking$outboundSchema.parse(
2931
- runAgentFallbackModelConfigurationThinking,
2932
- ),
2933
- );
2934
- }
2935
-
2936
- /** @internal */
2937
- export const RunAgentToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<
2938
- typeof RunAgentToolChoiceAgentsType
2939
- > = z.nativeEnum(RunAgentToolChoiceAgentsType);
2940
-
2941
- /** @internal */
2942
- export type RunAgentToolChoiceAgentsFunction$Outbound = {
2943
- name: string;
2944
- };
2945
-
2946
- /** @internal */
2947
- export const RunAgentToolChoiceAgentsFunction$outboundSchema: z.ZodType<
2948
- RunAgentToolChoiceAgentsFunction$Outbound,
2949
- z.ZodTypeDef,
2950
- RunAgentToolChoiceAgentsFunction
2951
- > = z.object({
2952
- name: z.string(),
2953
- });
2954
-
2955
- export function runAgentToolChoiceAgentsFunctionToJSON(
2956
- runAgentToolChoiceAgentsFunction: RunAgentToolChoiceAgentsFunction,
2957
- ): string {
2958
- return JSON.stringify(
2959
- RunAgentToolChoiceAgentsFunction$outboundSchema.parse(
2960
- runAgentToolChoiceAgentsFunction,
2961
- ),
2962
- );
2963
- }
2964
-
2965
- /** @internal */
2966
- export type RunAgentToolChoiceAgents2$Outbound = {
2967
- type?: string | undefined;
2968
- function: RunAgentToolChoiceAgentsFunction$Outbound;
2969
- };
2970
-
2971
- /** @internal */
2972
- export const RunAgentToolChoiceAgents2$outboundSchema: z.ZodType<
2973
- RunAgentToolChoiceAgents2$Outbound,
2974
- z.ZodTypeDef,
2975
- RunAgentToolChoiceAgents2
2976
- > = z.object({
2977
- type: RunAgentToolChoiceAgentsType$outboundSchema.optional(),
2978
- function: z.lazy(() => RunAgentToolChoiceAgentsFunction$outboundSchema),
2979
- });
2980
-
2981
- export function runAgentToolChoiceAgents2ToJSON(
2982
- runAgentToolChoiceAgents2: RunAgentToolChoiceAgents2,
2983
- ): string {
2984
- return JSON.stringify(
2985
- RunAgentToolChoiceAgents2$outboundSchema.parse(runAgentToolChoiceAgents2),
2986
- );
2987
- }
2988
-
2989
- /** @internal */
2990
- export const RunAgentToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<
2991
- typeof RunAgentToolChoiceAgents1
2992
- > = z.nativeEnum(RunAgentToolChoiceAgents1);
2993
-
2994
- /** @internal */
2995
- export type RunAgentFallbackModelConfigurationToolChoice$Outbound =
2996
- | RunAgentToolChoiceAgents2$Outbound
2997
- | string;
2998
-
2999
- /** @internal */
3000
- export const RunAgentFallbackModelConfigurationToolChoice$outboundSchema:
3001
- z.ZodType<
3002
- RunAgentFallbackModelConfigurationToolChoice$Outbound,
3003
- z.ZodTypeDef,
3004
- RunAgentFallbackModelConfigurationToolChoice
3005
- > = z.union([
3006
- z.lazy(() => RunAgentToolChoiceAgents2$outboundSchema),
3007
- RunAgentToolChoiceAgents1$outboundSchema,
3008
- ]);
3009
-
3010
- export function runAgentFallbackModelConfigurationToolChoiceToJSON(
3011
- runAgentFallbackModelConfigurationToolChoice:
3012
- RunAgentFallbackModelConfigurationToolChoice,
3013
- ): string {
3014
- return JSON.stringify(
3015
- RunAgentFallbackModelConfigurationToolChoice$outboundSchema.parse(
3016
- runAgentFallbackModelConfigurationToolChoice,
3017
- ),
3018
- );
3019
- }
3020
-
3021
- /** @internal */
3022
- export const RunAgentFallbackModelConfigurationModalities$outboundSchema:
3023
- z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationModalities> = z
3024
- .nativeEnum(RunAgentFallbackModelConfigurationModalities);
3025
-
3026
- /** @internal */
3027
- export const RunAgentIdAgents1$outboundSchema: z.ZodNativeEnum<
3028
- typeof RunAgentIdAgents1
3029
- > = z.nativeEnum(RunAgentIdAgents1);
3030
-
3031
- /** @internal */
3032
- export type RunAgentFallbackModelConfigurationId$Outbound = string | string;
3033
-
3034
- /** @internal */
3035
- export const RunAgentFallbackModelConfigurationId$outboundSchema: z.ZodType<
3036
- RunAgentFallbackModelConfigurationId$Outbound,
3037
- z.ZodTypeDef,
3038
- RunAgentFallbackModelConfigurationId
3039
- > = z.union([RunAgentIdAgents1$outboundSchema, z.string()]);
3040
-
3041
- export function runAgentFallbackModelConfigurationIdToJSON(
3042
- runAgentFallbackModelConfigurationId: RunAgentFallbackModelConfigurationId,
3043
- ): string {
3044
- return JSON.stringify(
3045
- RunAgentFallbackModelConfigurationId$outboundSchema.parse(
3046
- runAgentFallbackModelConfigurationId,
3047
- ),
3048
- );
3049
- }
3050
-
3051
- /** @internal */
3052
- export const RunAgentFallbackModelConfigurationExecuteOn$outboundSchema:
3053
- z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationExecuteOn> = z
3054
- .nativeEnum(RunAgentFallbackModelConfigurationExecuteOn);
3055
-
3056
- /** @internal */
3057
- export type RunAgentFallbackModelConfigurationGuardrails$Outbound = {
3058
- id: string | string;
3059
- execute_on: string;
3060
- };
3061
-
3062
- /** @internal */
3063
- export const RunAgentFallbackModelConfigurationGuardrails$outboundSchema:
3064
- z.ZodType<
3065
- RunAgentFallbackModelConfigurationGuardrails$Outbound,
3066
- z.ZodTypeDef,
3067
- RunAgentFallbackModelConfigurationGuardrails
3068
- > = z.object({
3069
- id: z.union([RunAgentIdAgents1$outboundSchema, z.string()]),
3070
- executeOn: RunAgentFallbackModelConfigurationExecuteOn$outboundSchema,
3071
- }).transform((v) => {
3072
- return remap$(v, {
3073
- executeOn: "execute_on",
3074
- });
3075
- });
3076
-
3077
- export function runAgentFallbackModelConfigurationGuardrailsToJSON(
3078
- runAgentFallbackModelConfigurationGuardrails:
3079
- RunAgentFallbackModelConfigurationGuardrails,
3080
- ): string {
3081
- return JSON.stringify(
3082
- RunAgentFallbackModelConfigurationGuardrails$outboundSchema.parse(
3083
- runAgentFallbackModelConfigurationGuardrails,
3084
- ),
3085
- );
3086
- }
3087
-
3088
- /** @internal */
3089
- export type RunAgentFallbackModelConfigurationPlugins$Outbound =
3090
- | components.PIIRedactionPluginEn$Outbound
3091
- | components.PIIRedactionPluginNl$Outbound
3092
- | components.TraceScrubbingPlugin$Outbound
3093
- | components.PIIRedactionPluginAuto$Outbound
3094
- | components.ResponseHealingPlugin$Outbound;
3095
-
3096
- /** @internal */
3097
- export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
3098
- z.ZodType<
3099
- RunAgentFallbackModelConfigurationPlugins$Outbound,
3100
- z.ZodTypeDef,
3101
- RunAgentFallbackModelConfigurationPlugins
3102
- > = z.union([
3103
- components.PIIRedactionPluginEn$outboundSchema,
3104
- components.PIIRedactionPluginNl$outboundSchema,
3105
- components.TraceScrubbingPlugin$outboundSchema,
3106
- components.PIIRedactionPluginAuto$outboundSchema,
3107
- components.ResponseHealingPlugin$outboundSchema,
3108
- ]);
3109
-
3110
- export function runAgentFallbackModelConfigurationPluginsToJSON(
3111
- runAgentFallbackModelConfigurationPlugins:
3112
- RunAgentFallbackModelConfigurationPlugins,
3113
- ): string {
3114
- return JSON.stringify(
3115
- RunAgentFallbackModelConfigurationPlugins$outboundSchema.parse(
3116
- runAgentFallbackModelConfigurationPlugins,
3117
- ),
3118
- );
3119
- }
3120
-
3121
- /** @internal */
3122
- export type RunAgentFallbackModelConfigurationFallbacks$Outbound = {
3123
- model: string;
3124
- };
3125
-
3126
- /** @internal */
3127
- export const RunAgentFallbackModelConfigurationFallbacks$outboundSchema:
3128
- z.ZodType<
3129
- RunAgentFallbackModelConfigurationFallbacks$Outbound,
3130
- z.ZodTypeDef,
3131
- RunAgentFallbackModelConfigurationFallbacks
3132
- > = z.object({
3133
- model: z.string(),
3134
- });
3135
-
3136
- export function runAgentFallbackModelConfigurationFallbacksToJSON(
3137
- runAgentFallbackModelConfigurationFallbacks:
3138
- RunAgentFallbackModelConfigurationFallbacks,
3139
- ): string {
3140
- return JSON.stringify(
3141
- RunAgentFallbackModelConfigurationFallbacks$outboundSchema.parse(
3142
- runAgentFallbackModelConfigurationFallbacks,
3143
- ),
3144
- );
3145
- }
3146
-
3147
- /** @internal */
3148
- export const RunAgentFallbackModelConfigurationType$outboundSchema:
3149
- z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationType> = z.nativeEnum(
3150
- RunAgentFallbackModelConfigurationType,
3151
- );
3152
-
3153
- /** @internal */
3154
- export type RunAgentFallbackModelConfigurationCache$Outbound = {
3155
- ttl: number;
3156
- type: string;
3157
- };
3158
-
3159
- /** @internal */
3160
- export const RunAgentFallbackModelConfigurationCache$outboundSchema: z.ZodType<
3161
- RunAgentFallbackModelConfigurationCache$Outbound,
3162
- z.ZodTypeDef,
3163
- RunAgentFallbackModelConfigurationCache
3164
- > = z.object({
3165
- ttl: z.number().default(1800),
3166
- type: RunAgentFallbackModelConfigurationType$outboundSchema,
3167
- });
3168
-
3169
- export function runAgentFallbackModelConfigurationCacheToJSON(
3170
- runAgentFallbackModelConfigurationCache:
3171
- RunAgentFallbackModelConfigurationCache,
3172
- ): string {
3173
- return JSON.stringify(
3174
- RunAgentFallbackModelConfigurationCache$outboundSchema.parse(
3175
- runAgentFallbackModelConfigurationCache,
3176
- ),
3177
- );
3178
- }
3179
-
3180
- /** @internal */
3181
- export const RunAgentLoadBalancerAgentsType$outboundSchema: z.ZodNativeEnum<
3182
- typeof RunAgentLoadBalancerAgentsType
3183
- > = z.nativeEnum(RunAgentLoadBalancerAgentsType);
3184
-
3185
- /** @internal */
3186
- export type RunAgentLoadBalancerAgentsModels$Outbound = {
3187
- model: string;
3188
- weight: number;
3189
- };
3190
-
3191
- /** @internal */
3192
- export const RunAgentLoadBalancerAgentsModels$outboundSchema: z.ZodType<
3193
- RunAgentLoadBalancerAgentsModels$Outbound,
3194
- z.ZodTypeDef,
3195
- RunAgentLoadBalancerAgentsModels
3196
- > = z.object({
3197
- model: z.string(),
3198
- weight: z.number().default(0.5),
3199
- });
3200
-
3201
- export function runAgentLoadBalancerAgentsModelsToJSON(
3202
- runAgentLoadBalancerAgentsModels: RunAgentLoadBalancerAgentsModels,
3203
- ): string {
3204
- return JSON.stringify(
3205
- RunAgentLoadBalancerAgentsModels$outboundSchema.parse(
3206
- runAgentLoadBalancerAgentsModels,
3207
- ),
3208
- );
3209
- }
3210
-
3211
- /** @internal */
3212
- export type RunAgentLoadBalancerAgents1$Outbound = {
3213
- type: string;
3214
- models: Array<RunAgentLoadBalancerAgentsModels$Outbound>;
3215
- };
3216
-
3217
- /** @internal */
3218
- export const RunAgentLoadBalancerAgents1$outboundSchema: z.ZodType<
3219
- RunAgentLoadBalancerAgents1$Outbound,
3220
- z.ZodTypeDef,
3221
- RunAgentLoadBalancerAgents1
3222
- > = z.object({
3223
- type: RunAgentLoadBalancerAgentsType$outboundSchema,
3224
- models: z.array(
3225
- z.lazy(() => RunAgentLoadBalancerAgentsModels$outboundSchema),
3226
- ),
3227
- });
3228
-
3229
- export function runAgentLoadBalancerAgents1ToJSON(
3230
- runAgentLoadBalancerAgents1: RunAgentLoadBalancerAgents1,
3231
- ): string {
3232
- return JSON.stringify(
3233
- RunAgentLoadBalancerAgents1$outboundSchema.parse(
3234
- runAgentLoadBalancerAgents1,
3235
- ),
3236
- );
3237
- }
3238
-
3239
- /** @internal */
3240
- export type RunAgentFallbackModelConfigurationLoadBalancer$Outbound =
3241
- RunAgentLoadBalancerAgents1$Outbound;
3242
-
3243
- /** @internal */
3244
- export const RunAgentFallbackModelConfigurationLoadBalancer$outboundSchema:
3245
- z.ZodType<
3246
- RunAgentFallbackModelConfigurationLoadBalancer$Outbound,
3247
- z.ZodTypeDef,
3248
- RunAgentFallbackModelConfigurationLoadBalancer
3249
- > = z.lazy(() => RunAgentLoadBalancerAgents1$outboundSchema);
3250
-
3251
- export function runAgentFallbackModelConfigurationLoadBalancerToJSON(
3252
- runAgentFallbackModelConfigurationLoadBalancer:
3253
- RunAgentFallbackModelConfigurationLoadBalancer,
3254
- ): string {
3255
- return JSON.stringify(
3256
- RunAgentFallbackModelConfigurationLoadBalancer$outboundSchema.parse(
3257
- runAgentFallbackModelConfigurationLoadBalancer,
3258
- ),
3259
- );
3260
- }
3261
-
3262
- /** @internal */
3263
- export type RunAgentFallbackModelConfigurationTimeout$Outbound = {
3264
- call_timeout: number;
3265
- };
3266
-
3267
- /** @internal */
3268
- export const RunAgentFallbackModelConfigurationTimeout$outboundSchema:
3269
- z.ZodType<
3270
- RunAgentFallbackModelConfigurationTimeout$Outbound,
3271
- z.ZodTypeDef,
3272
- RunAgentFallbackModelConfigurationTimeout
3273
- > = z.object({
3274
- callTimeout: z.number(),
3275
- }).transform((v) => {
3276
- return remap$(v, {
3277
- callTimeout: "call_timeout",
3278
- });
3279
- });
3280
-
3281
- export function runAgentFallbackModelConfigurationTimeoutToJSON(
3282
- runAgentFallbackModelConfigurationTimeout:
3283
- RunAgentFallbackModelConfigurationTimeout,
3284
- ): string {
3285
- return JSON.stringify(
3286
- RunAgentFallbackModelConfigurationTimeout$outboundSchema.parse(
3287
- runAgentFallbackModelConfigurationTimeout,
3288
- ),
3289
- );
3290
- }
3291
-
3292
- /** @internal */
3293
- export const RunAgentFallbackModelConfigurationAgentsType$outboundSchema:
3294
- z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationAgentsType> = z
3295
- .nativeEnum(RunAgentFallbackModelConfigurationAgentsType);
3296
-
3297
- /** @internal */
3298
- export const RunAgentFallbackModelConfigurationTtl$outboundSchema:
3299
- z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationTtl> = z.nativeEnum(
3300
- RunAgentFallbackModelConfigurationTtl,
3301
- );
3302
-
3303
- /** @internal */
3304
- export type RunAgentFallbackModelConfigurationCacheControl$Outbound = {
3305
- type: string;
3306
- ttl: string;
3307
- };
3308
-
3309
- /** @internal */
3310
- export const RunAgentFallbackModelConfigurationCacheControl$outboundSchema:
3311
- z.ZodType<
3312
- RunAgentFallbackModelConfigurationCacheControl$Outbound,
3313
- z.ZodTypeDef,
3314
- RunAgentFallbackModelConfigurationCacheControl
3315
- > = z.object({
3316
- type: RunAgentFallbackModelConfigurationAgentsType$outboundSchema,
3317
- ttl: RunAgentFallbackModelConfigurationTtl$outboundSchema.default("5m"),
3318
- });
3319
-
3320
- export function runAgentFallbackModelConfigurationCacheControlToJSON(
3321
- runAgentFallbackModelConfigurationCacheControl:
3322
- RunAgentFallbackModelConfigurationCacheControl,
3323
- ): string {
3324
- return JSON.stringify(
3325
- RunAgentFallbackModelConfigurationCacheControl$outboundSchema.parse(
3326
- runAgentFallbackModelConfigurationCacheControl,
3327
- ),
3328
- );
3329
- }
3330
-
3331
- /** @internal */
3332
- export type RunAgentFallbackModelConfigurationParameters$Outbound = {
3333
- name?: string | undefined;
3334
- frequency_penalty?: number | null | undefined;
3335
- max_tokens?: number | null | undefined;
3336
- max_completion_tokens?: number | null | undefined;
3337
- presence_penalty?: number | null | undefined;
3338
- response_format?:
3339
- | RunAgentResponseFormatAgentsText$Outbound
3340
- | RunAgentResponseFormatAgentsJSONObject$Outbound
3341
- | RunAgentResponseFormatAgentsRequestJSONSchema$Outbound
3342
- | undefined;
3343
- reasoning_effort?: string | undefined;
3344
- verbosity?: string | undefined;
3345
- seed?: number | null | undefined;
3346
- stop?: string | Array<string> | null | undefined;
3347
- thinking?:
3348
- | components.ThinkingConfigDisabledSchema$Outbound
3349
- | components.ThinkingConfigEnabledSchema$Outbound
3350
- | components.ThinkingConfigAdaptiveSchema$Outbound
3351
- | undefined;
3352
- temperature?: number | null | undefined;
3353
- top_p?: number | null | undefined;
3354
- top_k?: number | null | undefined;
3355
- tool_choice?: RunAgentToolChoiceAgents2$Outbound | string | undefined;
3356
- parallel_tool_calls?: boolean | undefined;
3357
- modalities?: Array<string> | null | undefined;
3358
- guardrails?:
3359
- | Array<RunAgentFallbackModelConfigurationGuardrails$Outbound>
3360
- | undefined;
3361
- plugins?:
3362
- | Array<
3363
- | components.PIIRedactionPluginEn$Outbound
3364
- | components.PIIRedactionPluginNl$Outbound
3365
- | components.TraceScrubbingPlugin$Outbound
3366
- | components.PIIRedactionPluginAuto$Outbound
3367
- | components.ResponseHealingPlugin$Outbound
3368
- >
3369
- | undefined;
3370
- fallbacks?:
3371
- | Array<RunAgentFallbackModelConfigurationFallbacks$Outbound>
3372
- | undefined;
3373
- cache?: RunAgentFallbackModelConfigurationCache$Outbound | undefined;
3374
- load_balancer?: RunAgentLoadBalancerAgents1$Outbound | undefined;
3375
- timeout?: RunAgentFallbackModelConfigurationTimeout$Outbound | undefined;
3376
- cache_control?:
3377
- | RunAgentFallbackModelConfigurationCacheControl$Outbound
3378
- | undefined;
3379
- prompt_cache_key?: string | undefined;
3380
- };
3381
-
3382
- /** @internal */
3383
- export const RunAgentFallbackModelConfigurationParameters$outboundSchema:
3384
- z.ZodType<
3385
- RunAgentFallbackModelConfigurationParameters$Outbound,
3386
- z.ZodTypeDef,
3387
- RunAgentFallbackModelConfigurationParameters
3388
- > = z.object({
3389
- name: z.string().optional(),
3390
- frequencyPenalty: z.nullable(z.number()).optional(),
3391
- maxTokens: z.nullable(z.number().int()).optional(),
3392
- maxCompletionTokens: z.nullable(z.number().int()).optional(),
3393
- presencePenalty: z.nullable(z.number()).optional(),
3394
- responseFormat: z.union([
3395
- z.lazy(() => RunAgentResponseFormatAgentsText$outboundSchema),
3396
- z.lazy(() => RunAgentResponseFormatAgentsJSONObject$outboundSchema),
3397
- z.lazy(() =>
3398
- RunAgentResponseFormatAgentsRequestJSONSchema$outboundSchema
3399
- ),
3400
- ]).optional(),
3401
- reasoningEffort:
3402
- RunAgentFallbackModelConfigurationReasoningEffort$outboundSchema
3403
- .optional(),
3404
- verbosity: z.string().optional(),
3405
- seed: z.nullable(z.number()).optional(),
3406
- stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
3407
- thinking: z.union([
3408
- components.ThinkingConfigDisabledSchema$outboundSchema,
3409
- components.ThinkingConfigEnabledSchema$outboundSchema,
3410
- components.ThinkingConfigAdaptiveSchema$outboundSchema,
3411
- ]).optional(),
3412
- temperature: z.nullable(z.number()).optional(),
3413
- topP: z.nullable(z.number()).optional(),
3414
- topK: z.nullable(z.number()).optional(),
3415
- toolChoice: z.union([
3416
- z.lazy(() => RunAgentToolChoiceAgents2$outboundSchema),
3417
- RunAgentToolChoiceAgents1$outboundSchema,
3418
- ]).optional(),
3419
- parallelToolCalls: z.boolean().optional(),
3420
- modalities: z.nullable(
3421
- z.array(RunAgentFallbackModelConfigurationModalities$outboundSchema),
3422
- ).optional(),
3423
- guardrails: z.array(
3424
- z.lazy(() => RunAgentFallbackModelConfigurationGuardrails$outboundSchema),
3425
- ).optional(),
3426
- plugins: z.array(
3427
- z.union([
3428
- components.PIIRedactionPluginEn$outboundSchema,
3429
- components.PIIRedactionPluginNl$outboundSchema,
3430
- components.TraceScrubbingPlugin$outboundSchema,
3431
- components.PIIRedactionPluginAuto$outboundSchema,
3432
- components.ResponseHealingPlugin$outboundSchema,
3433
- ]),
3434
- ).optional(),
3435
- fallbacks: z.array(
3436
- z.lazy(() => RunAgentFallbackModelConfigurationFallbacks$outboundSchema),
3437
- ).optional(),
3438
- cache: z.lazy(() => RunAgentFallbackModelConfigurationCache$outboundSchema)
3439
- .optional(),
3440
- loadBalancer: z.lazy(() => RunAgentLoadBalancerAgents1$outboundSchema)
3441
- .optional(),
3442
- timeout: z.lazy(() =>
3443
- RunAgentFallbackModelConfigurationTimeout$outboundSchema
3444
- ).optional(),
3445
- cacheControl: z.lazy(() =>
3446
- RunAgentFallbackModelConfigurationCacheControl$outboundSchema
3447
- ).optional(),
3448
- promptCacheKey: z.string().optional(),
3449
- }).transform((v) => {
3450
- return remap$(v, {
3451
- frequencyPenalty: "frequency_penalty",
3452
- maxTokens: "max_tokens",
3453
- maxCompletionTokens: "max_completion_tokens",
3454
- presencePenalty: "presence_penalty",
3455
- responseFormat: "response_format",
3456
- reasoningEffort: "reasoning_effort",
3457
- topP: "top_p",
3458
- topK: "top_k",
3459
- toolChoice: "tool_choice",
3460
- parallelToolCalls: "parallel_tool_calls",
3461
- loadBalancer: "load_balancer",
3462
- cacheControl: "cache_control",
3463
- promptCacheKey: "prompt_cache_key",
3464
- });
3465
- });
3466
-
3467
- export function runAgentFallbackModelConfigurationParametersToJSON(
3468
- runAgentFallbackModelConfigurationParameters:
3469
- RunAgentFallbackModelConfigurationParameters,
3470
- ): string {
3471
- return JSON.stringify(
3472
- RunAgentFallbackModelConfigurationParameters$outboundSchema.parse(
3473
- runAgentFallbackModelConfigurationParameters,
3474
- ),
3475
- );
3476
- }
3477
-
3478
- /** @internal */
3479
- export type RunAgentFallbackModelConfigurationRetry$Outbound = {
3480
- count: number;
3481
- on_codes?: Array<number> | undefined;
3482
- };
3483
-
3484
- /** @internal */
3485
- export const RunAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<
3486
- RunAgentFallbackModelConfigurationRetry$Outbound,
3487
- z.ZodTypeDef,
3488
- RunAgentFallbackModelConfigurationRetry
3489
- > = z.object({
3490
- count: z.number().default(3),
3491
- onCodes: z.array(z.number()).optional(),
3492
- }).transform((v) => {
3493
- return remap$(v, {
3494
- onCodes: "on_codes",
3495
- });
3496
- });
3497
-
3498
- export function runAgentFallbackModelConfigurationRetryToJSON(
3499
- runAgentFallbackModelConfigurationRetry:
3500
- RunAgentFallbackModelConfigurationRetry,
3501
- ): string {
3502
- return JSON.stringify(
3503
- RunAgentFallbackModelConfigurationRetry$outboundSchema.parse(
3504
- runAgentFallbackModelConfigurationRetry,
3505
- ),
3506
- );
3507
- }
3508
-
3509
- /** @internal */
3510
- export type RunAgentFallbackModelConfiguration2$Outbound = {
3511
- id: string;
3512
- parameters?:
3513
- | RunAgentFallbackModelConfigurationParameters$Outbound
3514
- | undefined;
3515
- retry?: RunAgentFallbackModelConfigurationRetry$Outbound | undefined;
3516
- };
3517
-
3518
- /** @internal */
3519
- export const RunAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<
3520
- RunAgentFallbackModelConfiguration2$Outbound,
3521
- z.ZodTypeDef,
3522
- RunAgentFallbackModelConfiguration2
3523
- > = z.object({
3524
- id: z.string(),
3525
- parameters: z.lazy(() =>
3526
- RunAgentFallbackModelConfigurationParameters$outboundSchema
3527
- ).optional(),
3528
- retry: z.lazy(() => RunAgentFallbackModelConfigurationRetry$outboundSchema)
3529
- .optional(),
3530
- });
3531
-
3532
- export function runAgentFallbackModelConfiguration2ToJSON(
3533
- runAgentFallbackModelConfiguration2: RunAgentFallbackModelConfiguration2,
3534
- ): string {
3535
- return JSON.stringify(
3536
- RunAgentFallbackModelConfiguration2$outboundSchema.parse(
3537
- runAgentFallbackModelConfiguration2,
3538
- ),
3539
- );
3540
- }
3541
-
3542
- /** @internal */
3543
- export type RunAgentFallbackModelConfiguration$Outbound =
3544
- | RunAgentFallbackModelConfiguration2$Outbound
3545
- | string;
3546
-
3547
- /** @internal */
3548
- export const RunAgentFallbackModelConfiguration$outboundSchema: z.ZodType<
3549
- RunAgentFallbackModelConfiguration$Outbound,
3550
- z.ZodTypeDef,
3551
- RunAgentFallbackModelConfiguration
3552
- > = z.union([
3553
- z.lazy(() => RunAgentFallbackModelConfiguration2$outboundSchema),
3554
- z.string(),
3555
- ]);
3556
-
3557
- export function runAgentFallbackModelConfigurationToJSON(
3558
- runAgentFallbackModelConfiguration: RunAgentFallbackModelConfiguration,
3559
- ): string {
3560
- return JSON.stringify(
3561
- RunAgentFallbackModelConfiguration$outboundSchema.parse(
3562
- runAgentFallbackModelConfiguration,
3563
- ),
3564
- );
3565
- }
3566
-
3567
- /** @internal */
3568
- export const RunAgentRoleToolMessage$outboundSchema: z.ZodNativeEnum<
3569
- typeof RunAgentRoleToolMessage
3570
- > = z.nativeEnum(RunAgentRoleToolMessage);
3571
-
3572
- /** @internal */
3573
- export const RunAgentRoleUserMessage$outboundSchema: z.ZodNativeEnum<
3574
- typeof RunAgentRoleUserMessage
3575
- > = z.nativeEnum(RunAgentRoleUserMessage);
3576
-
3577
- /** @internal */
3578
- export type RunAgentRole$Outbound = string | string;
3579
-
3580
- /** @internal */
3581
- export const RunAgentRole$outboundSchema: z.ZodType<
3582
- RunAgentRole$Outbound,
3583
- z.ZodTypeDef,
3584
- RunAgentRole
3585
- > = z.union([
3586
- RunAgentRoleUserMessage$outboundSchema,
3587
- RunAgentRoleToolMessage$outboundSchema,
3588
- ]);
3589
-
3590
- export function runAgentRoleToJSON(runAgentRole: RunAgentRole): string {
3591
- return JSON.stringify(RunAgentRole$outboundSchema.parse(runAgentRole));
3592
- }
3593
-
3594
- /** @internal */
3595
- export type RunAgentPublicMessagePart$Outbound =
3596
- | components.TextPart$Outbound
3597
- | components.FilePart$Outbound
3598
- | components.ToolResultPart$Outbound
3599
- | components.ErrorPart$Outbound;
3600
-
3601
- /** @internal */
3602
- export const RunAgentPublicMessagePart$outboundSchema: z.ZodType<
3603
- RunAgentPublicMessagePart$Outbound,
3604
- z.ZodTypeDef,
3605
- RunAgentPublicMessagePart
3606
- > = z.union([
3607
- components.TextPart$outboundSchema,
3608
- components.FilePart$outboundSchema,
3609
- components.ToolResultPart$outboundSchema,
3610
- components.ErrorPart$outboundSchema,
3611
- ]);
3612
-
3613
- export function runAgentPublicMessagePartToJSON(
3614
- runAgentPublicMessagePart: RunAgentPublicMessagePart,
3615
- ): string {
3616
- return JSON.stringify(
3617
- RunAgentPublicMessagePart$outboundSchema.parse(runAgentPublicMessagePart),
3618
- );
3619
- }
3620
-
3621
- /** @internal */
3622
- export type RunAgentA2AMessage$Outbound = {
3623
- messageId?: string | undefined;
3624
- role: string | string;
3625
- parts: Array<
3626
- | components.TextPart$Outbound
3627
- | components.FilePart$Outbound
3628
- | components.ToolResultPart$Outbound
3629
- | components.ErrorPart$Outbound
3630
- >;
3631
- };
3632
-
3633
- /** @internal */
3634
- export const RunAgentA2AMessage$outboundSchema: z.ZodType<
3635
- RunAgentA2AMessage$Outbound,
3636
- z.ZodTypeDef,
3637
- RunAgentA2AMessage
3638
- > = z.object({
3639
- messageId: z.string().optional(),
3640
- role: z.union([
3641
- RunAgentRoleUserMessage$outboundSchema,
3642
- RunAgentRoleToolMessage$outboundSchema,
3643
- ]),
3644
- parts: z.array(
3645
- z.union([
3646
- components.TextPart$outboundSchema,
3647
- components.FilePart$outboundSchema,
3648
- components.ToolResultPart$outboundSchema,
3649
- components.ErrorPart$outboundSchema,
3650
- ]),
3651
- ),
3652
- });
3653
-
3654
- export function runAgentA2AMessageToJSON(
3655
- runAgentA2AMessage: RunAgentA2AMessage,
3656
- ): string {
3657
- return JSON.stringify(
3658
- RunAgentA2AMessage$outboundSchema.parse(runAgentA2AMessage),
3659
- );
3660
- }
3661
-
3662
- /** @internal */
3663
- export type RunAgentIdentity$Outbound = {
3664
- id: string;
3665
- display_name?: string | undefined;
3666
- email?: string | undefined;
3667
- metadata?: Array<{ [k: string]: any }> | undefined;
3668
- logo_url?: string | undefined;
3669
- tags?: Array<string> | undefined;
3670
- };
3671
-
3672
- /** @internal */
3673
- export const RunAgentIdentity$outboundSchema: z.ZodType<
3674
- RunAgentIdentity$Outbound,
3675
- z.ZodTypeDef,
3676
- RunAgentIdentity
3677
- > = z.object({
3678
- id: z.string(),
3679
- displayName: z.string().optional(),
3680
- email: z.string().optional(),
3681
- metadata: z.array(z.record(z.any())).optional(),
3682
- logoUrl: z.string().optional(),
3683
- tags: z.array(z.string()).optional(),
3684
- }).transform((v) => {
3685
- return remap$(v, {
3686
- displayName: "display_name",
3687
- logoUrl: "logo_url",
3688
- });
3689
- });
3690
-
3691
- export function runAgentIdentityToJSON(
3692
- runAgentIdentity: RunAgentIdentity,
3693
- ): string {
3694
- return JSON.stringify(
3695
- RunAgentIdentity$outboundSchema.parse(runAgentIdentity),
3696
- );
3697
- }
3698
-
3699
- /** @internal */
3700
- export type RunAgentContact$Outbound = {
3701
- id: string;
3702
- display_name?: string | undefined;
3703
- email?: string | undefined;
3704
- metadata?: Array<{ [k: string]: any }> | undefined;
3705
- logo_url?: string | undefined;
3706
- tags?: Array<string> | undefined;
3707
- };
3708
-
3709
- /** @internal */
3710
- export const RunAgentContact$outboundSchema: z.ZodType<
3711
- RunAgentContact$Outbound,
3712
- z.ZodTypeDef,
3713
- RunAgentContact
3714
- > = z.object({
3715
- id: z.string(),
3716
- displayName: z.string().optional(),
3717
- email: z.string().optional(),
3718
- metadata: z.array(z.record(z.any())).optional(),
3719
- logoUrl: z.string().optional(),
3720
- tags: z.array(z.string()).optional(),
3721
- }).transform((v) => {
3722
- return remap$(v, {
3723
- displayName: "display_name",
3724
- logoUrl: "logo_url",
3725
- });
3726
- });
3727
-
3728
- export function runAgentContactToJSON(
3729
- runAgentContact: RunAgentContact,
3730
- ): string {
3731
- return JSON.stringify(RunAgentContact$outboundSchema.parse(runAgentContact));
3732
- }
3733
-
3734
- /** @internal */
3735
- export type RunAgentThread$Outbound = {
3736
- id: string;
3737
- tags?: Array<string> | undefined;
3738
- };
3739
-
3740
- /** @internal */
3741
- export const RunAgentThread$outboundSchema: z.ZodType<
3742
- RunAgentThread$Outbound,
3743
- z.ZodTypeDef,
3744
- RunAgentThread
3745
- > = z.object({
3746
- id: z.string(),
3747
- tags: z.array(z.string()).optional(),
3748
- });
3749
-
3750
- export function runAgentThreadToJSON(runAgentThread: RunAgentThread): string {
3751
- return JSON.stringify(RunAgentThread$outboundSchema.parse(runAgentThread));
3752
- }
3753
-
3754
- /** @internal */
3755
- export type RunAgentMemory$Outbound = {
3756
- entity_id: string;
3757
- };
3758
-
3759
- /** @internal */
3760
- export const RunAgentMemory$outboundSchema: z.ZodType<
3761
- RunAgentMemory$Outbound,
3762
- z.ZodTypeDef,
3763
- RunAgentMemory
3764
- > = z.object({
3765
- entityId: z.string(),
3766
- }).transform((v) => {
3767
- return remap$(v, {
3768
- entityId: "entity_id",
3769
- });
3770
- });
3771
-
3772
- export function runAgentMemoryToJSON(runAgentMemory: RunAgentMemory): string {
3773
- return JSON.stringify(RunAgentMemory$outboundSchema.parse(runAgentMemory));
3774
- }
3775
-
3776
- /** @internal */
3777
- export type RunAgentKnowledgeBases$Outbound = {
3778
- knowledge_id: string;
3779
- };
3780
-
3781
- /** @internal */
3782
- export const RunAgentKnowledgeBases$outboundSchema: z.ZodType<
3783
- RunAgentKnowledgeBases$Outbound,
3784
- z.ZodTypeDef,
3785
- RunAgentKnowledgeBases
3786
- > = z.object({
3787
- knowledgeId: z.string(),
3788
- }).transform((v) => {
3789
- return remap$(v, {
3790
- knowledgeId: "knowledge_id",
3791
- });
3792
- });
3793
-
3794
- export function runAgentKnowledgeBasesToJSON(
3795
- runAgentKnowledgeBases: RunAgentKnowledgeBases,
3796
- ): string {
3797
- return JSON.stringify(
3798
- RunAgentKnowledgeBases$outboundSchema.parse(runAgentKnowledgeBases),
3799
- );
3800
- }
3801
-
3802
- /** @internal */
3803
- export type RunAgentTeamOfAgents$Outbound = {
3804
- key: string;
3805
- role?: string | undefined;
3806
- };
3807
-
3808
- /** @internal */
3809
- export const RunAgentTeamOfAgents$outboundSchema: z.ZodType<
3810
- RunAgentTeamOfAgents$Outbound,
3811
- z.ZodTypeDef,
3812
- RunAgentTeamOfAgents
3813
- > = z.object({
3814
- key: z.string(),
3815
- role: z.string().optional(),
3816
- });
3817
-
3818
- export function runAgentTeamOfAgentsToJSON(
3819
- runAgentTeamOfAgents: RunAgentTeamOfAgents,
3820
- ): string {
3821
- return JSON.stringify(
3822
- RunAgentTeamOfAgents$outboundSchema.parse(runAgentTeamOfAgents),
3823
- );
3824
- }
3825
-
3826
- /** @internal */
3827
- export type AgentToolInputRunHeaders$Outbound = {
3828
- value: string;
3829
- encrypted: boolean;
3830
- };
3831
-
3832
- /** @internal */
3833
- export const AgentToolInputRunHeaders$outboundSchema: z.ZodType<
3834
- AgentToolInputRunHeaders$Outbound,
3835
- z.ZodTypeDef,
3836
- AgentToolInputRunHeaders
3837
- > = z.object({
3838
- value: z.string(),
3839
- encrypted: z.boolean().default(false),
3840
- });
3841
-
3842
- export function agentToolInputRunHeadersToJSON(
3843
- agentToolInputRunHeaders: AgentToolInputRunHeaders,
3844
- ): string {
3845
- return JSON.stringify(
3846
- AgentToolInputRunHeaders$outboundSchema.parse(agentToolInputRunHeaders),
3847
- );
3848
- }
3849
-
3850
- /** @internal */
3851
- export const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType$outboundSchema:
3852
- z.ZodNativeEnum<
3853
- typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType
3854
- > = z.nativeEnum(
3855
- RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType,
3856
- );
3857
-
3858
- /** @internal */
3859
- export type AgentToolInputRunSchema$Outbound = {
3860
- type: string;
3861
- properties?: { [k: string]: any } | undefined;
3862
- required?: Array<string> | undefined;
3863
- };
3864
-
3865
- /** @internal */
3866
- export const AgentToolInputRunSchema$outboundSchema: z.ZodType<
3867
- AgentToolInputRunSchema$Outbound,
3868
- z.ZodTypeDef,
3869
- AgentToolInputRunSchema
3870
- > = z.object({
3871
- type:
3872
- RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType$outboundSchema,
3873
- properties: z.record(z.any()).optional(),
3874
- required: z.array(z.string()).optional(),
3875
- });
3876
-
3877
- export function agentToolInputRunSchemaToJSON(
3878
- agentToolInputRunSchema: AgentToolInputRunSchema,
3879
- ): string {
3880
- return JSON.stringify(
3881
- AgentToolInputRunSchema$outboundSchema.parse(agentToolInputRunSchema),
3882
- );
3883
- }
3884
-
3885
- /** @internal */
3886
- export type Tools$Outbound = {
3887
- id: string;
3888
- name: string;
3889
- description?: string | undefined;
3890
- schema: AgentToolInputRunSchema$Outbound;
3891
- };
3892
-
3893
- /** @internal */
3894
- export const Tools$outboundSchema: z.ZodType<
3895
- Tools$Outbound,
3896
- z.ZodTypeDef,
3897
- Tools
3898
- > = z.object({
3899
- id: z.string().default("01M0WP27XSZNYTBZ730VZMMX06"),
3900
- name: z.string(),
3901
- description: z.string().optional(),
3902
- schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
3903
- });
3904
-
3905
- export function toolsToJSON(tools: Tools): string {
3906
- return JSON.stringify(Tools$outboundSchema.parse(tools));
3907
- }
3908
-
3909
- /** @internal */
3910
- export const ConnectionType$outboundSchema: z.ZodNativeEnum<
3911
- typeof ConnectionType
3912
- > = z.nativeEnum(ConnectionType);
3913
-
3914
- /** @internal */
3915
- export type Mcp$Outbound = {
3916
- server_url: string;
3917
- headers?: { [k: string]: AgentToolInputRunHeaders$Outbound } | undefined;
3918
- tools: Array<Tools$Outbound>;
3919
- connection_type: string;
3920
- };
3921
-
3922
- /** @internal */
3923
- export const Mcp$outboundSchema: z.ZodType<Mcp$Outbound, z.ZodTypeDef, Mcp> = z
3924
- .object({
3925
- serverUrl: z.string(),
3926
- headers: z.record(z.lazy(() => AgentToolInputRunHeaders$outboundSchema))
3927
- .optional(),
3928
- tools: z.array(z.lazy(() => Tools$outboundSchema)),
3929
- connectionType: ConnectionType$outboundSchema,
3930
- }).transform((v) => {
3931
- return remap$(v, {
3932
- serverUrl: "server_url",
3933
- connectionType: "connection_type",
3934
- });
3935
- });
3936
-
3937
- export function mcpToJSON(mcp: Mcp): string {
3938
- return JSON.stringify(Mcp$outboundSchema.parse(mcp));
3939
- }
3940
-
3941
- /** @internal */
3942
- export type MCPToolRun$Outbound = {
3943
- type: "mcp";
3944
- key: string;
3945
- _id?: string | undefined;
3946
- display_name?: string | undefined;
3947
- description: string;
3948
- mcp: Mcp$Outbound;
3949
- requires_approval: boolean;
3950
- };
3951
-
3952
- /** @internal */
3953
- export const MCPToolRun$outboundSchema: z.ZodType<
3954
- MCPToolRun$Outbound,
3955
- z.ZodTypeDef,
3956
- MCPToolRun
3957
- > = z.object({
3958
- type: z.literal("mcp"),
3959
- key: z.string(),
3960
- id: z.string().optional(),
3961
- displayName: z.string().optional(),
3962
- description: z.string(),
3963
- mcp: z.lazy(() => Mcp$outboundSchema),
3964
- requiresApproval: z.boolean().default(false),
3965
- }).transform((v) => {
3966
- return remap$(v, {
3967
- id: "_id",
3968
- displayName: "display_name",
3969
- requiresApproval: "requires_approval",
3970
- });
3971
- });
3972
-
3973
- export function mcpToolRunToJSON(mcpToolRun: MCPToolRun): string {
3974
- return JSON.stringify(MCPToolRun$outboundSchema.parse(mcpToolRun));
3975
- }
3976
-
3977
- /** @internal */
3978
- export type Schema$Outbound = {
3979
- type: string;
3980
- properties: { [k: string]: any };
3981
- required: Array<string>;
3982
- [additionalProperties: string]: unknown;
3983
- };
3984
-
3985
- /** @internal */
3986
- export const Schema$outboundSchema: z.ZodType<
3987
- Schema$Outbound,
3988
- z.ZodTypeDef,
3989
- Schema
3990
- > = z.object({
3991
- type: z.string(),
3992
- properties: z.record(z.any()),
3993
- required: z.array(z.string()),
3994
- additionalProperties: z.record(z.any()).optional(),
3995
- }).transform((v) => {
3996
- return {
3997
- ...v.additionalProperties,
3998
- ...remap$(v, {
3999
- additionalProperties: null,
4000
- }),
4001
- };
4002
- });
4003
-
4004
- export function schemaToJSON(schema: Schema): string {
4005
- return JSON.stringify(Schema$outboundSchema.parse(schema));
4006
- }
4007
-
4008
- /** @internal */
4009
- export type AgentToolInputRunJsonSchema$Outbound = {
4010
- name: string;
4011
- description: string;
4012
- schema: Schema$Outbound;
4013
- strict?: boolean | undefined;
4014
- };
4015
-
4016
- /** @internal */
4017
- export const AgentToolInputRunJsonSchema$outboundSchema: z.ZodType<
4018
- AgentToolInputRunJsonSchema$Outbound,
4019
- z.ZodTypeDef,
4020
- AgentToolInputRunJsonSchema
4021
- > = z.object({
4022
- name: z.string(),
4023
- description: z.string(),
4024
- schema: z.lazy(() => Schema$outboundSchema),
4025
- strict: z.boolean().optional(),
4026
- });
4027
-
4028
- export function agentToolInputRunJsonSchemaToJSON(
4029
- agentToolInputRunJsonSchema: AgentToolInputRunJsonSchema,
4030
- ): string {
4031
- return JSON.stringify(
4032
- AgentToolInputRunJsonSchema$outboundSchema.parse(
4033
- agentToolInputRunJsonSchema,
4034
- ),
4035
- );
4036
- }
4037
-
4038
- /** @internal */
4039
- export type JSONSchemaToolRun$Outbound = {
4040
- type: "json_schema";
4041
- key: string;
4042
- _id?: string | undefined;
4043
- display_name?: string | undefined;
4044
- description: string;
4045
- json_schema: AgentToolInputRunJsonSchema$Outbound;
4046
- requires_approval: boolean;
4047
- };
4048
-
4049
- /** @internal */
4050
- export const JSONSchemaToolRun$outboundSchema: z.ZodType<
4051
- JSONSchemaToolRun$Outbound,
4052
- z.ZodTypeDef,
4053
- JSONSchemaToolRun
4054
- > = z.object({
4055
- type: z.literal("json_schema"),
4056
- key: z.string(),
4057
- id: z.string().optional(),
4058
- displayName: z.string().optional(),
4059
- description: z.string(),
4060
- jsonSchema: z.lazy(() => AgentToolInputRunJsonSchema$outboundSchema),
4061
- requiresApproval: z.boolean().default(false),
4062
- }).transform((v) => {
4063
- return remap$(v, {
4064
- id: "_id",
4065
- displayName: "display_name",
4066
- jsonSchema: "json_schema",
4067
- requiresApproval: "requires_approval",
4068
- });
4069
- });
4070
-
4071
- export function jsonSchemaToolRunToJSON(
4072
- jsonSchemaToolRun: JSONSchemaToolRun,
4073
- ): string {
4074
- return JSON.stringify(
4075
- JSONSchemaToolRun$outboundSchema.parse(jsonSchemaToolRun),
4076
- );
4077
- }
4078
-
4079
- /** @internal */
4080
- export const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema:
4081
- z.ZodNativeEnum<
4082
- typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType
4083
- > = z.nativeEnum(
4084
- RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType,
4085
- );
4086
-
4087
- /** @internal */
4088
- export type RunAgentAgentToolInputRunParameters$Outbound = {
4089
- type: string;
4090
- properties: { [k: string]: any };
4091
- required: Array<string>;
4092
- [additionalProperties: string]: unknown;
4093
- };
4094
-
4095
- /** @internal */
4096
- export const RunAgentAgentToolInputRunParameters$outboundSchema: z.ZodType<
4097
- RunAgentAgentToolInputRunParameters$Outbound,
4098
- z.ZodTypeDef,
4099
- RunAgentAgentToolInputRunParameters
4100
- > = z.object({
4101
- type:
4102
- RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema,
4103
- properties: z.record(z.any()),
4104
- required: z.array(z.string()),
4105
- additionalProperties: z.record(z.any()).optional(),
4106
- }).transform((v) => {
4107
- return {
4108
- ...v.additionalProperties,
4109
- ...remap$(v, {
4110
- additionalProperties: null,
4111
- }),
4112
- };
4113
- });
4114
-
4115
- export function runAgentAgentToolInputRunParametersToJSON(
4116
- runAgentAgentToolInputRunParameters: RunAgentAgentToolInputRunParameters,
4117
- ): string {
4118
- return JSON.stringify(
4119
- RunAgentAgentToolInputRunParameters$outboundSchema.parse(
4120
- runAgentAgentToolInputRunParameters,
4121
- ),
4122
- );
4123
- }
4124
-
4125
- /** @internal */
4126
- export type AgentToolInputRunFunction$Outbound = {
4127
- name: string;
4128
- description?: string | undefined;
4129
- strict?: boolean | undefined;
4130
- parameters?: RunAgentAgentToolInputRunParameters$Outbound | undefined;
4131
- };
4132
-
4133
- /** @internal */
4134
- export const AgentToolInputRunFunction$outboundSchema: z.ZodType<
4135
- AgentToolInputRunFunction$Outbound,
4136
- z.ZodTypeDef,
4137
- AgentToolInputRunFunction
4138
- > = z.object({
4139
- name: z.string(),
4140
- description: z.string().optional(),
4141
- strict: z.boolean().optional(),
4142
- parameters: z.lazy(() => RunAgentAgentToolInputRunParameters$outboundSchema)
4143
- .optional(),
4144
- });
4145
-
4146
- export function agentToolInputRunFunctionToJSON(
4147
- agentToolInputRunFunction: AgentToolInputRunFunction,
4148
- ): string {
4149
- return JSON.stringify(
4150
- AgentToolInputRunFunction$outboundSchema.parse(agentToolInputRunFunction),
4151
- );
4152
- }
4153
-
4154
- /** @internal */
4155
- export type FunctionToolRun$Outbound = {
4156
- type: "function";
4157
- key: string;
4158
- _id?: string | undefined;
4159
- display_name?: string | undefined;
4160
- description?: string | undefined;
4161
- function: AgentToolInputRunFunction$Outbound;
4162
- requires_approval: boolean;
4163
- };
4164
-
4165
- /** @internal */
4166
- export const FunctionToolRun$outboundSchema: z.ZodType<
4167
- FunctionToolRun$Outbound,
4168
- z.ZodTypeDef,
4169
- FunctionToolRun
4170
- > = z.object({
4171
- type: z.literal("function"),
4172
- key: z.string(),
4173
- id: z.string().optional(),
4174
- displayName: z.string().optional(),
4175
- description: z.string().optional(),
4176
- function: z.lazy(() => AgentToolInputRunFunction$outboundSchema),
4177
- requiresApproval: z.boolean().default(false),
4178
- }).transform((v) => {
4179
- return remap$(v, {
4180
- id: "_id",
4181
- displayName: "display_name",
4182
- requiresApproval: "requires_approval",
4183
- });
4184
- });
4185
-
4186
- export function functionToolRunToJSON(
4187
- functionToolRun: FunctionToolRun,
4188
- ): string {
4189
- return JSON.stringify(FunctionToolRun$outboundSchema.parse(functionToolRun));
4190
- }
4191
-
4192
- /** @internal */
4193
- export const RunAgentAgentToolInputRunAgentsRequestType$outboundSchema:
4194
- z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestType> = z
4195
- .nativeEnum(RunAgentAgentToolInputRunAgentsRequestType);
4196
-
4197
- /** @internal */
4198
- export type AgentToolInputRunParameters$Outbound = {
4199
- type: string;
4200
- properties: { [k: string]: any };
4201
- required: Array<string>;
4202
- [additionalProperties: string]: unknown;
4203
- };
4204
-
4205
- /** @internal */
4206
- export const AgentToolInputRunParameters$outboundSchema: z.ZodType<
4207
- AgentToolInputRunParameters$Outbound,
4208
- z.ZodTypeDef,
4209
- AgentToolInputRunParameters
4210
- > = z.object({
4211
- type: RunAgentAgentToolInputRunAgentsRequestType$outboundSchema,
4212
- properties: z.record(z.any()),
4213
- required: z.array(z.string()),
4214
- additionalProperties: z.record(z.any()).optional(),
4215
- }).transform((v) => {
4216
- return {
4217
- ...v.additionalProperties,
4218
- ...remap$(v, {
4219
- additionalProperties: null,
4220
- }),
4221
- };
4222
- });
4223
-
4224
- export function agentToolInputRunParametersToJSON(
4225
- agentToolInputRunParameters: AgentToolInputRunParameters,
4226
- ): string {
4227
- return JSON.stringify(
4228
- AgentToolInputRunParameters$outboundSchema.parse(
4229
- agentToolInputRunParameters,
4230
- ),
4231
- );
4232
- }
4233
-
4234
- /** @internal */
4235
- export const Language$outboundSchema: z.ZodNativeEnum<typeof Language> = z
4236
- .nativeEnum(Language);
4237
-
4238
- /** @internal */
4239
- export type CodeTool$Outbound = {
4240
- parameters?: AgentToolInputRunParameters$Outbound | undefined;
4241
- language: string;
4242
- code: string;
4243
- };
4244
-
4245
- /** @internal */
4246
- export const CodeTool$outboundSchema: z.ZodType<
4247
- CodeTool$Outbound,
4248
- z.ZodTypeDef,
4249
- CodeTool
4250
- > = z.object({
4251
- parameters: z.lazy(() => AgentToolInputRunParameters$outboundSchema)
4252
- .optional(),
4253
- language: Language$outboundSchema,
4254
- code: z.string(),
4255
- });
4256
-
4257
- export function codeToolToJSON(codeTool: CodeTool): string {
4258
- return JSON.stringify(CodeTool$outboundSchema.parse(codeTool));
4259
- }
4260
-
4261
- /** @internal */
4262
- export type CodeToolRun$Outbound = {
4263
- type: "code";
4264
- key: string;
4265
- _id?: string | undefined;
4266
- display_name?: string | undefined;
4267
- description: string;
4268
- code_tool: CodeTool$Outbound;
4269
- requires_approval: boolean;
4270
- timeout?: number | undefined;
4271
- };
4272
-
4273
- /** @internal */
4274
- export const CodeToolRun$outboundSchema: z.ZodType<
4275
- CodeToolRun$Outbound,
4276
- z.ZodTypeDef,
4277
- CodeToolRun
4278
- > = z.object({
4279
- type: z.literal("code"),
4280
- key: z.string(),
4281
- id: z.string().optional(),
4282
- displayName: z.string().optional(),
4283
- description: z.string(),
4284
- codeTool: z.lazy(() => CodeTool$outboundSchema),
4285
- requiresApproval: z.boolean().default(false),
4286
- timeout: z.number().optional(),
4287
- }).transform((v) => {
4288
- return remap$(v, {
4289
- id: "_id",
4290
- displayName: "display_name",
4291
- codeTool: "code_tool",
4292
- requiresApproval: "requires_approval",
4293
- });
4294
- });
4295
-
4296
- export function codeToolRunToJSON(codeToolRun: CodeToolRun): string {
4297
- return JSON.stringify(CodeToolRun$outboundSchema.parse(codeToolRun));
4298
- }
4299
-
4300
- /** @internal */
4301
- export const Method$outboundSchema: z.ZodNativeEnum<typeof Method> = z
4302
- .nativeEnum(Method);
4303
-
4304
- /** @internal */
4305
- export type Headers2$Outbound = {
4306
- value: string;
4307
- encrypted: boolean;
4308
- };
4309
-
4310
- /** @internal */
4311
- export const Headers2$outboundSchema: z.ZodType<
4312
- Headers2$Outbound,
4313
- z.ZodTypeDef,
4314
- Headers2
4315
- > = z.object({
4316
- value: z.string(),
4317
- encrypted: z.boolean().default(false),
4318
- });
4319
-
4320
- export function headers2ToJSON(headers2: Headers2): string {
4321
- return JSON.stringify(Headers2$outboundSchema.parse(headers2));
4322
- }
4323
-
4324
- /** @internal */
4325
- export type Headers$Outbound = Headers2$Outbound | string;
4326
-
4327
- /** @internal */
4328
- export const Headers$outboundSchema: z.ZodType<
4329
- Headers$Outbound,
4330
- z.ZodTypeDef,
4331
- Headers
4332
- > = z.union([z.lazy(() => Headers2$outboundSchema), z.string()]);
4333
-
4334
- export function headersToJSON(headers: Headers): string {
4335
- return JSON.stringify(Headers$outboundSchema.parse(headers));
4336
- }
4337
-
4338
- /** @internal */
4339
- export type Blueprint$Outbound = {
4340
- url: string;
4341
- method: string;
4342
- headers?: { [k: string]: Headers2$Outbound | string } | undefined;
4343
- body?: { [k: string]: any } | undefined;
4344
- timeout?: number | undefined;
4345
- };
4346
-
4347
- /** @internal */
4348
- export const Blueprint$outboundSchema: z.ZodType<
4349
- Blueprint$Outbound,
4350
- z.ZodTypeDef,
4351
- Blueprint
4352
- > = z.object({
4353
- url: z.string(),
4354
- method: Method$outboundSchema,
4355
- headers: z.record(
4356
- z.union([z.lazy(() => Headers2$outboundSchema), z.string()]),
4357
- ).optional(),
4358
- body: z.record(z.any()).optional(),
4359
- timeout: z.number().optional(),
4360
- });
4361
-
4362
- export function blueprintToJSON(blueprint: Blueprint): string {
4363
- return JSON.stringify(Blueprint$outboundSchema.parse(blueprint));
4364
- }
4365
-
4366
- /** @internal */
4367
- export const RunAgentAgentToolInputRunType$outboundSchema: z.ZodNativeEnum<
4368
- typeof RunAgentAgentToolInputRunType
4369
- > = z.nativeEnum(RunAgentAgentToolInputRunType);
4370
-
4371
- /** @internal */
4372
- export type DefaultValue$Outbound = string | number | boolean;
4373
-
4374
- /** @internal */
4375
- export const DefaultValue$outboundSchema: z.ZodType<
4376
- DefaultValue$Outbound,
4377
- z.ZodTypeDef,
4378
- DefaultValue
4379
- > = z.union([z.string(), z.number(), z.boolean()]);
4380
-
4381
- export function defaultValueToJSON(defaultValue: DefaultValue): string {
4382
- return JSON.stringify(DefaultValue$outboundSchema.parse(defaultValue));
4383
- }
4384
-
4385
- /** @internal */
4386
- export type Arguments$Outbound = {
4387
- type: string;
4388
- description: string;
4389
- send_to_model: boolean;
4390
- default_value?: string | number | boolean | undefined;
4391
- };
4392
-
4393
- /** @internal */
4394
- export const Arguments$outboundSchema: z.ZodType<
4395
- Arguments$Outbound,
4396
- z.ZodTypeDef,
4397
- Arguments
4398
- > = z.object({
4399
- type: RunAgentAgentToolInputRunType$outboundSchema,
4400
- description: z.string(),
4401
- sendToModel: z.boolean().default(true),
4402
- defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),
4403
- }).transform((v) => {
4404
- return remap$(v, {
4405
- sendToModel: "send_to_model",
4406
- defaultValue: "default_value",
4407
- });
4408
- });
4409
-
4410
- export function argumentsToJSON(value: Arguments): string {
4411
- return JSON.stringify(Arguments$outboundSchema.parse(value));
4412
- }
4413
-
4414
- /** @internal */
4415
- export type Http$Outbound = {
4416
- blueprint: Blueprint$Outbound;
4417
- arguments?: { [k: string]: Arguments$Outbound } | undefined;
4418
- };
4419
-
4420
- /** @internal */
4421
- export const Http$outboundSchema: z.ZodType<Http$Outbound, z.ZodTypeDef, Http> =
4422
- z.object({
4423
- blueprint: z.lazy(() => Blueprint$outboundSchema),
4424
- arguments: z.record(z.lazy(() => Arguments$outboundSchema)).optional(),
4425
- });
4426
-
4427
- export function httpToJSON(http: Http): string {
4428
- return JSON.stringify(Http$outboundSchema.parse(http));
4429
- }
4430
-
4431
- /** @internal */
4432
- export type HTTPToolRun$Outbound = {
4433
- type: "http";
4434
- key: string;
4435
- _id?: string | undefined;
4436
- display_name?: string | undefined;
4437
- description: string;
4438
- http: Http$Outbound;
4439
- requires_approval: boolean;
4440
- timeout?: number | undefined;
4441
- };
4442
-
4443
- /** @internal */
4444
- export const HTTPToolRun$outboundSchema: z.ZodType<
4445
- HTTPToolRun$Outbound,
4446
- z.ZodTypeDef,
4447
- HTTPToolRun
4448
- > = z.object({
4449
- type: z.literal("http"),
4450
- key: z.string(),
4451
- id: z.string().optional(),
4452
- displayName: z.string().optional(),
4453
- description: z.string(),
4454
- http: z.lazy(() => Http$outboundSchema),
4455
- requiresApproval: z.boolean().default(false),
4456
- timeout: z.number().optional(),
4457
- }).transform((v) => {
4458
- return remap$(v, {
4459
- id: "_id",
4460
- displayName: "display_name",
4461
- requiresApproval: "requires_approval",
4462
- });
4463
- });
4464
-
4465
- export function httpToolRunToJSON(httpToolRun: HTTPToolRun): string {
4466
- return JSON.stringify(HTTPToolRun$outboundSchema.parse(httpToolRun));
4467
- }
4468
-
4469
- /** @internal */
4470
- export type AgentToolInputRun$Outbound =
4471
- | components.GoogleSearchToolInput$Outbound
4472
- | components.WebScraperToolInput$Outbound
4473
- | components.CallSubAgentToolInput$Outbound
4474
- | components.RetrieveAgentsToolInput$Outbound
4475
- | components.QueryMemoryStoreToolInput$Outbound
4476
- | components.WriteMemoryStoreToolInput$Outbound
4477
- | components.RetrieveMemoryStoresToolInput$Outbound
4478
- | components.DeleteMemoryDocumentToolInput$Outbound
4479
- | components.RetrieveKnowledgeBasesToolInput$Outbound
4480
- | components.QueryKnowledgeBaseToolInput$Outbound
4481
- | components.CurrentDateToolInput$Outbound
4482
- | components.AdvisorToolInput$Outbound
4483
- | components.SidekickToolInput$Outbound
4484
- | components.CodeInterpreterToolInput$Outbound
4485
- | HTTPToolRun$Outbound
4486
- | CodeToolRun$Outbound
4487
- | FunctionToolRun$Outbound
4488
- | JSONSchemaToolRun$Outbound
4489
- | MCPToolRun$Outbound;
4490
-
4491
- /** @internal */
4492
- export const AgentToolInputRun$outboundSchema: z.ZodType<
4493
- AgentToolInputRun$Outbound,
4494
- z.ZodTypeDef,
4495
- AgentToolInputRun
4496
- > = z.union([
4497
- components.GoogleSearchToolInput$outboundSchema,
4498
- components.WebScraperToolInput$outboundSchema,
4499
- components.CallSubAgentToolInput$outboundSchema,
4500
- components.RetrieveAgentsToolInput$outboundSchema,
4501
- components.QueryMemoryStoreToolInput$outboundSchema,
4502
- components.WriteMemoryStoreToolInput$outboundSchema,
4503
- components.RetrieveMemoryStoresToolInput$outboundSchema,
4504
- components.DeleteMemoryDocumentToolInput$outboundSchema,
4505
- components.RetrieveKnowledgeBasesToolInput$outboundSchema,
4506
- components.QueryKnowledgeBaseToolInput$outboundSchema,
4507
- components.CurrentDateToolInput$outboundSchema,
4508
- components.AdvisorToolInput$outboundSchema,
4509
- components.SidekickToolInput$outboundSchema,
4510
- components.CodeInterpreterToolInput$outboundSchema,
4511
- z.lazy(() => HTTPToolRun$outboundSchema),
4512
- z.lazy(() => CodeToolRun$outboundSchema),
4513
- z.lazy(() => FunctionToolRun$outboundSchema),
4514
- z.lazy(() => JSONSchemaToolRun$outboundSchema),
4515
- z.lazy(() => MCPToolRun$outboundSchema),
4516
- ]);
4517
-
4518
- export function agentToolInputRunToJSON(
4519
- agentToolInputRun: AgentToolInputRun,
4520
- ): string {
4521
- return JSON.stringify(
4522
- AgentToolInputRun$outboundSchema.parse(agentToolInputRun),
4523
- );
4524
- }
4525
-
4526
- /** @internal */
4527
- export const RunAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<
4528
- typeof RunAgentToolApprovalRequired
4529
- > = z.nativeEnum(RunAgentToolApprovalRequired);
4530
-
4531
- /** @internal */
4532
- export const RunAgentExecuteOn$outboundSchema: z.ZodNativeEnum<
4533
- typeof RunAgentExecuteOn
4534
- > = z.nativeEnum(RunAgentExecuteOn);
4535
-
4536
- /** @internal */
4537
- export type RunAgentEvaluators$Outbound = {
4538
- id: string;
4539
- sample_rate: number;
4540
- execute_on: string;
4541
- };
4542
-
4543
- /** @internal */
4544
- export const RunAgentEvaluators$outboundSchema: z.ZodType<
4545
- RunAgentEvaluators$Outbound,
4546
- z.ZodTypeDef,
4547
- RunAgentEvaluators
4548
- > = z.object({
4549
- id: z.string(),
4550
- sampleRate: z.number().default(50),
4551
- executeOn: RunAgentExecuteOn$outboundSchema,
4552
- }).transform((v) => {
4553
- return remap$(v, {
4554
- sampleRate: "sample_rate",
4555
- executeOn: "execute_on",
4556
- });
4557
- });
4558
-
4559
- export function runAgentEvaluatorsToJSON(
4560
- runAgentEvaluators: RunAgentEvaluators,
4561
- ): string {
4562
- return JSON.stringify(
4563
- RunAgentEvaluators$outboundSchema.parse(runAgentEvaluators),
4564
- );
4565
- }
4566
-
4567
- /** @internal */
4568
- export const RunAgentAgentsExecuteOn$outboundSchema: z.ZodNativeEnum<
4569
- typeof RunAgentAgentsExecuteOn
4570
- > = z.nativeEnum(RunAgentAgentsExecuteOn);
4571
-
4572
- /** @internal */
4573
- export type RunAgentGuardrails$Outbound = {
4574
- id: string;
4575
- sample_rate: number;
4576
- execute_on: string;
4577
- };
4578
-
4579
- /** @internal */
4580
- export const RunAgentGuardrails$outboundSchema: z.ZodType<
4581
- RunAgentGuardrails$Outbound,
4582
- z.ZodTypeDef,
4583
- RunAgentGuardrails
4584
- > = z.object({
4585
- id: z.string(),
4586
- sampleRate: z.number().default(50),
4587
- executeOn: RunAgentAgentsExecuteOn$outboundSchema,
4588
- }).transform((v) => {
4589
- return remap$(v, {
4590
- sampleRate: "sample_rate",
4591
- executeOn: "execute_on",
4592
- });
4593
- });
4594
-
4595
- export function runAgentGuardrailsToJSON(
4596
- runAgentGuardrails: RunAgentGuardrails,
4597
- ): string {
4598
- return JSON.stringify(
4599
- RunAgentGuardrails$outboundSchema.parse(runAgentGuardrails),
4600
- );
4601
- }
4602
-
4603
- /** @internal */
4604
- export type RunAgentSettings$Outbound = {
4605
- tools?:
4606
- | Array<
4607
- | components.GoogleSearchToolInput$Outbound
4608
- | components.WebScraperToolInput$Outbound
4609
- | components.CallSubAgentToolInput$Outbound
4610
- | components.RetrieveAgentsToolInput$Outbound
4611
- | components.QueryMemoryStoreToolInput$Outbound
4612
- | components.WriteMemoryStoreToolInput$Outbound
4613
- | components.RetrieveMemoryStoresToolInput$Outbound
4614
- | components.DeleteMemoryDocumentToolInput$Outbound
4615
- | components.RetrieveKnowledgeBasesToolInput$Outbound
4616
- | components.QueryKnowledgeBaseToolInput$Outbound
4617
- | components.CurrentDateToolInput$Outbound
4618
- | components.AdvisorToolInput$Outbound
4619
- | components.SidekickToolInput$Outbound
4620
- | components.CodeInterpreterToolInput$Outbound
4621
- | HTTPToolRun$Outbound
4622
- | CodeToolRun$Outbound
4623
- | FunctionToolRun$Outbound
4624
- | JSONSchemaToolRun$Outbound
4625
- | MCPToolRun$Outbound
4626
- >
4627
- | undefined;
4628
- tool_approval_required: string;
4629
- max_iterations: number;
4630
- max_execution_time: number;
4631
- max_cost: number;
4632
- chat_exposed?: boolean | undefined;
4633
- evaluators?: Array<RunAgentEvaluators$Outbound> | undefined;
4634
- guardrails?: Array<RunAgentGuardrails$Outbound> | undefined;
4635
- };
4636
-
4637
- /** @internal */
4638
- export const RunAgentSettings$outboundSchema: z.ZodType<
4639
- RunAgentSettings$Outbound,
4640
- z.ZodTypeDef,
4641
- RunAgentSettings
4642
- > = z.object({
4643
- tools: z.array(
4644
- z.union([
4645
- components.GoogleSearchToolInput$outboundSchema,
4646
- components.WebScraperToolInput$outboundSchema,
4647
- components.CallSubAgentToolInput$outboundSchema,
4648
- components.RetrieveAgentsToolInput$outboundSchema,
4649
- components.QueryMemoryStoreToolInput$outboundSchema,
4650
- components.WriteMemoryStoreToolInput$outboundSchema,
4651
- components.RetrieveMemoryStoresToolInput$outboundSchema,
4652
- components.DeleteMemoryDocumentToolInput$outboundSchema,
4653
- components.RetrieveKnowledgeBasesToolInput$outboundSchema,
4654
- components.QueryKnowledgeBaseToolInput$outboundSchema,
4655
- components.CurrentDateToolInput$outboundSchema,
4656
- components.AdvisorToolInput$outboundSchema,
4657
- components.SidekickToolInput$outboundSchema,
4658
- components.CodeInterpreterToolInput$outboundSchema,
4659
- z.lazy(() => HTTPToolRun$outboundSchema),
4660
- z.lazy(() => CodeToolRun$outboundSchema),
4661
- z.lazy(() => FunctionToolRun$outboundSchema),
4662
- z.lazy(() => JSONSchemaToolRun$outboundSchema),
4663
- z.lazy(() => MCPToolRun$outboundSchema),
4664
- ]),
4665
- ).optional(),
4666
- toolApprovalRequired: RunAgentToolApprovalRequired$outboundSchema.default(
4667
- "none",
4668
- ),
4669
- maxIterations: z.number().int().default(100),
4670
- maxExecutionTime: z.number().int().default(600),
4671
- maxCost: z.number().default(0),
4672
- chatExposed: z.boolean().optional(),
4673
- evaluators: z.array(z.lazy(() => RunAgentEvaluators$outboundSchema))
4674
- .optional(),
4675
- guardrails: z.array(z.lazy(() => RunAgentGuardrails$outboundSchema))
4676
- .optional(),
4677
- }).transform((v) => {
4678
- return remap$(v, {
4679
- toolApprovalRequired: "tool_approval_required",
4680
- maxIterations: "max_iterations",
4681
- maxExecutionTime: "max_execution_time",
4682
- maxCost: "max_cost",
4683
- chatExposed: "chat_exposed",
4684
- });
4685
- });
4686
-
4687
- export function runAgentSettingsToJSON(
4688
- runAgentSettings: RunAgentSettings,
4689
- ): string {
4690
- return JSON.stringify(
4691
- RunAgentSettings$outboundSchema.parse(runAgentSettings),
4692
- );
4693
- }
4694
-
4695
- /** @internal */
4696
- export const RunAgentEngine$outboundSchema: z.ZodNativeEnum<
4697
- typeof RunAgentEngine
4698
- > = z.nativeEnum(RunAgentEngine);
4699
-
4700
- /** @internal */
4701
- export type RunAgentRequestBody$Outbound = {
4702
- key: string;
4703
- task_id?: string | undefined;
4704
- model: RunAgentModelConfiguration2$Outbound | string;
4705
- fallback_models?:
4706
- | Array<RunAgentFallbackModelConfiguration2$Outbound | string>
4707
- | undefined;
4708
- role: string;
4709
- instructions: string;
4710
- message: RunAgentA2AMessage$Outbound;
4711
- variables?: { [k: string]: any } | undefined;
4712
- identity?: RunAgentIdentity$Outbound | undefined;
4713
- contact?: RunAgentContact$Outbound | undefined;
4714
- thread?: RunAgentThread$Outbound | undefined;
4715
- memory?: RunAgentMemory$Outbound | undefined;
4716
- path: string;
4717
- description?: string | undefined;
4718
- system_prompt?: string | null | undefined;
4719
- memory_stores?: Array<string> | undefined;
4720
- knowledge_bases?: Array<RunAgentKnowledgeBases$Outbound> | undefined;
4721
- team_of_agents?: Array<RunAgentTeamOfAgents$Outbound> | undefined;
4722
- settings: RunAgentSettings$Outbound;
4723
- metadata?: { [k: string]: any } | undefined;
4724
- engine: string;
4725
- };
4726
-
4727
- /** @internal */
4728
- export const RunAgentRequestBody$outboundSchema: z.ZodType<
4729
- RunAgentRequestBody$Outbound,
4730
- z.ZodTypeDef,
4731
- RunAgentRequestBody
4732
- > = z.object({
4733
- key: z.string(),
4734
- taskId: z.string().optional(),
4735
- model: z.union([
4736
- z.lazy(() => RunAgentModelConfiguration2$outboundSchema),
4737
- z.string(),
4738
- ]),
4739
- fallbackModels: z.array(
4740
- z.union([
4741
- z.lazy(() => RunAgentFallbackModelConfiguration2$outboundSchema),
4742
- z.string(),
4743
- ]),
4744
- ).optional(),
4745
- role: z.string(),
4746
- instructions: z.string(),
4747
- message: z.lazy(() => RunAgentA2AMessage$outboundSchema),
4748
- variables: z.record(z.any()).optional(),
4749
- identity: z.lazy(() => RunAgentIdentity$outboundSchema).optional(),
4750
- contact: z.lazy(() => RunAgentContact$outboundSchema).optional(),
4751
- thread: z.lazy(() => RunAgentThread$outboundSchema).optional(),
4752
- memory: z.lazy(() => RunAgentMemory$outboundSchema).optional(),
4753
- path: z.string(),
4754
- description: z.string().optional(),
4755
- systemPrompt: z.nullable(z.string()).optional(),
4756
- memoryStores: z.array(z.string()).optional(),
4757
- knowledgeBases: z.array(z.lazy(() => RunAgentKnowledgeBases$outboundSchema))
4758
- .optional(),
4759
- teamOfAgents: z.array(z.lazy(() => RunAgentTeamOfAgents$outboundSchema))
4760
- .optional(),
4761
- settings: z.lazy(() => RunAgentSettings$outboundSchema),
4762
- metadata: z.record(z.any()).optional(),
4763
- engine: RunAgentEngine$outboundSchema.default("text"),
4764
- }).transform((v) => {
4765
- return remap$(v, {
4766
- taskId: "task_id",
4767
- fallbackModels: "fallback_models",
4768
- systemPrompt: "system_prompt",
4769
- memoryStores: "memory_stores",
4770
- knowledgeBases: "knowledge_bases",
4771
- teamOfAgents: "team_of_agents",
4772
- });
4773
- });
4774
-
4775
- export function runAgentRequestBodyToJSON(
4776
- runAgentRequestBody: RunAgentRequestBody,
4777
- ): string {
4778
- return JSON.stringify(
4779
- RunAgentRequestBody$outboundSchema.parse(runAgentRequestBody),
4780
- );
4781
- }
4782
-
4783
- /** @internal */
4784
- export const RunAgentKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentKind> =
4785
- z.nativeEnum(RunAgentKind);
4786
-
4787
- /** @internal */
4788
- export const RunAgentTaskState$inboundSchema: z.ZodNativeEnum<
4789
- typeof RunAgentTaskState
4790
- > = z.nativeEnum(RunAgentTaskState);
4791
-
4792
- /** @internal */
4793
- export const RunAgentAgentsKind$inboundSchema: z.ZodNativeEnum<
4794
- typeof RunAgentAgentsKind
4795
- > = z.nativeEnum(RunAgentAgentsKind);
4796
-
4797
- /** @internal */
4798
- export const RunAgentExtendedMessageRole$inboundSchema: z.ZodNativeEnum<
4799
- typeof RunAgentExtendedMessageRole
4800
- > = z.nativeEnum(RunAgentExtendedMessageRole);
4801
-
4802
- /** @internal */
4803
- export const RunAgentParts$inboundSchema: z.ZodType<
4804
- RunAgentParts,
4805
- z.ZodTypeDef,
4806
- unknown
4807
- > = z.union([
4808
- components.TextPart$inboundSchema,
4809
- components.ErrorPart$inboundSchema,
4810
- components.DataPart$inboundSchema,
4811
- components.FilePart$inboundSchema,
4812
- components.ToolCallPart$inboundSchema,
4813
- components.ToolResultPart$inboundSchema,
4814
- ]);
4815
-
4816
- export function runAgentPartsFromJSON(
4817
- jsonString: string,
4818
- ): SafeParseResult<RunAgentParts, SDKValidationError> {
4819
- return safeParse(
4820
- jsonString,
4821
- (x) => RunAgentParts$inboundSchema.parse(JSON.parse(x)),
4822
- `Failed to parse 'RunAgentParts' from JSON`,
4823
- );
4824
- }
4825
-
4826
- /** @internal */
4827
- export const RunAgentTaskStatusMessage$inboundSchema: z.ZodType<
4828
- RunAgentTaskStatusMessage,
4829
- z.ZodTypeDef,
4830
- unknown
4831
- > = z.object({
4832
- kind: RunAgentAgentsKind$inboundSchema,
4833
- messageId: z.string(),
4834
- role: RunAgentExtendedMessageRole$inboundSchema,
4835
- parts: z.array(
4836
- z.union([
4837
- components.TextPart$inboundSchema,
4838
- components.ErrorPart$inboundSchema,
4839
- components.DataPart$inboundSchema,
4840
- components.FilePart$inboundSchema,
4841
- components.ToolCallPart$inboundSchema,
4842
- components.ToolResultPart$inboundSchema,
4843
- ]),
4844
- ),
4845
- });
4846
-
4847
- export function runAgentTaskStatusMessageFromJSON(
4848
- jsonString: string,
4849
- ): SafeParseResult<RunAgentTaskStatusMessage, SDKValidationError> {
4850
- return safeParse(
4851
- jsonString,
4852
- (x) => RunAgentTaskStatusMessage$inboundSchema.parse(JSON.parse(x)),
4853
- `Failed to parse 'RunAgentTaskStatusMessage' from JSON`,
4854
- );
4855
- }
4856
-
4857
- /** @internal */
4858
- export const RunAgentTaskStatus$inboundSchema: z.ZodType<
4859
- RunAgentTaskStatus,
4860
- z.ZodTypeDef,
4861
- unknown
4862
- > = z.object({
4863
- state: RunAgentTaskState$inboundSchema,
4864
- timestamp: z.string().optional(),
4865
- message: z.lazy(() => RunAgentTaskStatusMessage$inboundSchema).optional(),
4866
- });
4867
-
4868
- export function runAgentTaskStatusFromJSON(
4869
- jsonString: string,
4870
- ): SafeParseResult<RunAgentTaskStatus, SDKValidationError> {
4871
- return safeParse(
4872
- jsonString,
4873
- (x) => RunAgentTaskStatus$inboundSchema.parse(JSON.parse(x)),
4874
- `Failed to parse 'RunAgentTaskStatus' from JSON`,
4875
- );
4876
- }
4877
-
4878
- /** @internal */
4879
- export const RunAgentA2ATaskResponse$inboundSchema: z.ZodType<
4880
- RunAgentA2ATaskResponse,
4881
- z.ZodTypeDef,
4882
- unknown
4883
- > = z.object({
4884
- id: z.string(),
4885
- contextId: z.string(),
4886
- kind: RunAgentKind$inboundSchema,
4887
- status: z.lazy(() => RunAgentTaskStatus$inboundSchema),
4888
- messages: z.array(components.ExtendedMessage$inboundSchema).optional(),
4889
- metadata: z.record(z.any()).optional(),
4890
- });
4891
-
4892
- export function runAgentA2ATaskResponseFromJSON(
4893
- jsonString: string,
4894
- ): SafeParseResult<RunAgentA2ATaskResponse, SDKValidationError> {
4895
- return safeParse(
4896
- jsonString,
4897
- (x) => RunAgentA2ATaskResponse$inboundSchema.parse(JSON.parse(x)),
4898
- `Failed to parse 'RunAgentA2ATaskResponse' from JSON`,
4899
- );
4900
- }