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