@orq-ai/node 4.17.5 → 4.18.0-rc.1

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