@orq-ai/node 4.16.1 → 4.17.0-rc.0

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