@orq-ai/node 4.15.2 → 4.16.0-rc.1

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