@orq-ai/node 4.10.2 → 4.11.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 (703) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createdataset.js +1 -1
  7. package/models/operations/createdatasetitem.js +4 -4
  8. package/models/operations/createdatasource.js +1 -1
  9. package/models/operations/createeval.js +16 -16
  10. package/models/operations/createtool.js +6 -6
  11. package/models/operations/getalltools.js +6 -6
  12. package/models/operations/getevals.js +16 -16
  13. package/models/operations/getv2humanevalsets.js +2 -2
  14. package/models/operations/getv2humanevalsetsid.js +2 -2
  15. package/models/operations/listdatasetdatapoints.js +4 -4
  16. package/models/operations/listdatasets.js +1 -1
  17. package/models/operations/listdatasources.js +1 -1
  18. package/models/operations/patchv2humanevalsetsid.js +2 -2
  19. package/models/operations/postv2feedbackevaluation.js +3 -3
  20. package/models/operations/postv2humanevalsets.js +2 -2
  21. package/models/operations/retrievedatapoint.js +4 -4
  22. package/models/operations/retrievedataset.js +1 -1
  23. package/models/operations/retrievedatasource.js +1 -1
  24. package/models/operations/retrievetool.js +6 -6
  25. package/models/operations/runagent.js +1 -1
  26. package/models/operations/streamrunagent.js +1 -1
  27. package/models/operations/updatedatapoint.js +4 -4
  28. package/models/operations/updatedataset.js +1 -1
  29. package/models/operations/updatedatasource.js +1 -1
  30. package/models/operations/updateeval.js +16 -16
  31. package/models/operations/updatetool.js +7 -7
  32. package/package.json +7 -6
  33. package/src/lib/config.ts +2 -2
  34. package/src/models/components/reasoningpart.ts +1 -1
  35. package/src/models/operations/createdataset.ts +1 -1
  36. package/src/models/operations/createdatasetitem.ts +4 -4
  37. package/src/models/operations/createdatasource.ts +1 -1
  38. package/src/models/operations/createeval.ts +16 -16
  39. package/src/models/operations/createtool.ts +6 -6
  40. package/src/models/operations/getalltools.ts +6 -6
  41. package/src/models/operations/getevals.ts +16 -16
  42. package/src/models/operations/getv2humanevalsets.ts +2 -2
  43. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  44. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  45. package/src/models/operations/listdatasets.ts +1 -1
  46. package/src/models/operations/listdatasources.ts +1 -1
  47. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  48. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  49. package/src/models/operations/postv2humanevalsets.ts +2 -2
  50. package/src/models/operations/retrievedatapoint.ts +4 -4
  51. package/src/models/operations/retrievedataset.ts +1 -1
  52. package/src/models/operations/retrievedatasource.ts +1 -1
  53. package/src/models/operations/retrievetool.ts +6 -6
  54. package/src/models/operations/runagent.ts +1 -1
  55. package/src/models/operations/streamrunagent.ts +1 -1
  56. package/src/models/operations/updatedatapoint.ts +4 -4
  57. package/src/models/operations/updatedataset.ts +1 -1
  58. package/src/models/operations/updatedatasource.ts +1 -1
  59. package/src/models/operations/updateeval.ts +16 -16
  60. package/src/models/operations/updatetool.ts +7 -7
  61. package/packages/orq-rc/examples/postV2FeedbackEvaluationRemove.example.ts +0 -24
  62. package/packages/orq-rc/src/core.ts +0 -13
  63. package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -163
  64. package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -181
  65. package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -178
  66. package/packages/orq-rc/src/funcs/agentsList.ts +0 -186
  67. package/packages/orq-rc/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +0 -188
  68. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +0 -184
  69. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +0 -183
  70. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -181
  71. package/packages/orq-rc/src/funcs/agentsRun.ts +0 -164
  72. package/packages/orq-rc/src/funcs/agentsStream.ts +0 -205
  73. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -191
  74. package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -185
  75. package/packages/orq-rc/src/funcs/annotationsCreate.ts +0 -175
  76. package/packages/orq-rc/src/funcs/annotationsDelete.ts +0 -175
  77. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +0 -162
  78. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +0 -168
  79. package/packages/orq-rc/src/funcs/apiKeysGet.ts +0 -168
  80. package/packages/orq-rc/src/funcs/apiKeysList.ts +0 -175
  81. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +0 -144
  82. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +0 -171
  83. package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -162
  84. package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -168
  85. package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -167
  86. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -172
  87. package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -168
  88. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -183
  89. package/packages/orq-rc/src/funcs/datasetsList.ts +0 -169
  90. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -175
  91. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -176
  92. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -182
  93. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -177
  94. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -180
  95. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -170
  96. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -170
  97. package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -178
  98. package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -180
  99. package/packages/orq-rc/src/funcs/evalsAll.ts +0 -177
  100. package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -171
  101. package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -174
  102. package/packages/orq-rc/src/funcs/evalsGetV2EvaluatorsIdVersions.ts +0 -184
  103. package/packages/orq-rc/src/funcs/evalsInvoke.ts +0 -182
  104. package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -174
  105. package/packages/orq-rc/src/funcs/feedbackPostV2Feedback.ts +0 -174
  106. package/packages/orq-rc/src/funcs/feedbackPostV2FeedbackRemove.ts +0 -169
  107. package/packages/orq-rc/src/funcs/filesCreate.ts +0 -162
  108. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -165
  109. package/packages/orq-rc/src/funcs/filesGet.ts +0 -168
  110. package/packages/orq-rc/src/funcs/filesGetContent.ts +0 -168
  111. package/packages/orq-rc/src/funcs/filesList.ts +0 -171
  112. package/packages/orq-rc/src/funcs/filesUpdate.ts +0 -169
  113. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +0 -163
  114. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +0 -172
  115. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +0 -172
  116. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +0 -170
  117. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +0 -172
  118. package/packages/orq-rc/src/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.ts +0 -166
  119. package/packages/orq-rc/src/funcs/humanReviewSetsGetV2HumanEvalSets.ts +0 -170
  120. package/packages/orq-rc/src/funcs/humanReviewSetsGetV2HumanEvalSetsId.ts +0 -165
  121. package/packages/orq-rc/src/funcs/humanReviewSetsPatchV2HumanEvalSetsId.ts +0 -166
  122. package/packages/orq-rc/src/funcs/humanReviewSetsPostV2HumanEvalSets.ts +0 -164
  123. package/packages/orq-rc/src/funcs/identitiesCreate.ts +0 -162
  124. package/packages/orq-rc/src/funcs/identitiesDelete.ts +0 -168
  125. package/packages/orq-rc/src/funcs/identitiesList.ts +0 -174
  126. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +0 -173
  127. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +0 -171
  128. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -160
  129. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -172
  130. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -167
  131. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -168
  132. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -175
  133. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -171
  134. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -174
  135. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -174
  136. package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -171
  137. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -179
  138. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -172
  139. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -175
  140. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -167
  141. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -174
  142. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -170
  143. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -168
  144. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -165
  145. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -175
  146. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -171
  147. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -164
  148. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -177
  149. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -171
  150. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -169
  151. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -186
  152. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -181
  153. package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -180
  154. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -185
  155. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -178
  156. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -178
  157. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -180
  158. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -175
  159. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -169
  160. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -181
  161. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -176
  162. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +0 -168
  163. package/packages/orq-rc/src/funcs/modelsCreate.ts +0 -162
  164. package/packages/orq-rc/src/funcs/modelsCreateAutorouter.ts +0 -163
  165. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +0 -163
  166. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +0 -163
  167. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +0 -163
  168. package/packages/orq-rc/src/funcs/modelsDelete.ts +0 -168
  169. package/packages/orq-rc/src/funcs/modelsDisable.ts +0 -168
  170. package/packages/orq-rc/src/funcs/modelsEnable.ts +0 -163
  171. package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +0 -166
  172. package/packages/orq-rc/src/funcs/modelsList.ts +0 -144
  173. package/packages/orq-rc/src/funcs/modelsListLitellm.ts +0 -144
  174. package/packages/orq-rc/src/funcs/modelsUpdate.ts +0 -168
  175. package/packages/orq-rc/src/funcs/modelsUpdateAutorouter.ts +0 -169
  176. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +0 -169
  177. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +0 -169
  178. package/packages/orq-rc/src/funcs/modelsValidate.ts +0 -163
  179. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +0 -164
  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/postV2FeedbackEvaluation.ts +0 -161
  189. package/packages/orq-rc/src/funcs/postV2FeedbackEvaluationRemove.ts +0 -161
  190. package/packages/orq-rc/src/funcs/projectsCreate.ts +0 -162
  191. package/packages/orq-rc/src/funcs/projectsDelete.ts +0 -168
  192. package/packages/orq-rc/src/funcs/projectsGet.ts +0 -168
  193. package/packages/orq-rc/src/funcs/projectsList.ts +0 -170
  194. package/packages/orq-rc/src/funcs/projectsUpdate.ts +0 -171
  195. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -162
  196. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -174
  197. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -182
  198. package/packages/orq-rc/src/funcs/promptsList.ts +0 -169
  199. package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -174
  200. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -167
  201. package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -174
  202. package/packages/orq-rc/src/funcs/reportingQuery.ts +0 -162
  203. package/packages/orq-rc/src/funcs/responsesCreate.ts +0 -170
  204. package/packages/orq-rc/src/funcs/responsesGet.ts +0 -167
  205. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +0 -163
  206. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +0 -272
  207. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +0 -262
  208. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +0 -170
  209. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +0 -170
  210. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +0 -163
  211. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +0 -224
  212. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +0 -162
  213. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +0 -220
  214. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +0 -169
  215. package/packages/orq-rc/src/funcs/routerOcr.ts +0 -160
  216. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +0 -162
  217. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +0 -163
  218. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +0 -168
  219. package/packages/orq-rc/src/funcs/routingRulesList.ts +0 -170
  220. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +0 -167
  221. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +0 -168
  222. package/packages/orq-rc/src/funcs/schedulesCreate.ts +0 -185
  223. package/packages/orq-rc/src/funcs/schedulesDelete.ts +0 -184
  224. package/packages/orq-rc/src/funcs/schedulesList.ts +0 -167
  225. package/packages/orq-rc/src/funcs/schedulesRetrieve.ts +0 -183
  226. package/packages/orq-rc/src/funcs/schedulesTrigger.ts +0 -190
  227. package/packages/orq-rc/src/funcs/schedulesUpdate.ts +0 -191
  228. package/packages/orq-rc/src/funcs/skillsCreate.ts +0 -162
  229. package/packages/orq-rc/src/funcs/skillsDelete.ts +0 -168
  230. package/packages/orq-rc/src/funcs/skillsGet.ts +0 -168
  231. package/packages/orq-rc/src/funcs/skillsList.ts +0 -170
  232. package/packages/orq-rc/src/funcs/skillsUpdate.ts +0 -171
  233. package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -165
  234. package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -168
  235. package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersions.ts +0 -184
  236. package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts +0 -191
  237. package/packages/orq-rc/src/funcs/toolsList.ts +0 -178
  238. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -167
  239. package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -177
  240. package/packages/orq-rc/src/hooks/global.ts +0 -44
  241. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  242. package/packages/orq-rc/src/hooks/index.ts +0 -6
  243. package/packages/orq-rc/src/hooks/registration.ts +0 -15
  244. package/packages/orq-rc/src/hooks/types.ts +0 -112
  245. package/packages/orq-rc/src/index.ts +0 -9
  246. package/packages/orq-rc/src/lib/base64.ts +0 -37
  247. package/packages/orq-rc/src/lib/config.ts +0 -64
  248. package/packages/orq-rc/src/lib/dlv.ts +0 -53
  249. package/packages/orq-rc/src/lib/encodings.ts +0 -525
  250. package/packages/orq-rc/src/lib/env.ts +0 -57
  251. package/packages/orq-rc/src/lib/event-streams.ts +0 -165
  252. package/packages/orq-rc/src/lib/files.ts +0 -104
  253. package/packages/orq-rc/src/lib/http.ts +0 -323
  254. package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
  255. package/packages/orq-rc/src/lib/logger.ts +0 -9
  256. package/packages/orq-rc/src/lib/matchers.ts +0 -346
  257. package/packages/orq-rc/src/lib/primitives.ts +0 -150
  258. package/packages/orq-rc/src/lib/retries.ts +0 -218
  259. package/packages/orq-rc/src/lib/schemas.ts +0 -91
  260. package/packages/orq-rc/src/lib/sdks.ts +0 -406
  261. package/packages/orq-rc/src/lib/security.ts +0 -275
  262. package/packages/orq-rc/src/lib/url.ts +0 -35
  263. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +0 -99
  264. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -185
  265. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +0 -73
  266. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +0 -91
  267. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +0 -71
  268. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +0 -507
  269. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +0 -165
  270. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +0 -103
  271. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +0 -520
  272. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -795
  273. package/packages/orq-rc/src/models/components/allprojects.ts +0 -39
  274. package/packages/orq-rc/src/models/components/apikey.ts +0 -169
  275. package/packages/orq-rc/src/models/components/apikeyowner.ts +0 -82
  276. package/packages/orq-rc/src/models/components/apikeystatus.ts +0 -21
  277. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +0 -136
  278. package/packages/orq-rc/src/models/components/autorouterconfig.ts +0 -78
  279. package/packages/orq-rc/src/models/components/azurefoundrydeployment.ts +0 -44
  280. package/packages/orq-rc/src/models/components/azurefoundrydeploymentmasterdata.ts +0 -60
  281. package/packages/orq-rc/src/models/components/budgetlimit.ts +0 -83
  282. package/packages/orq-rc/src/models/components/conversationparam.ts +0 -51
  283. package/packages/orq-rc/src/models/components/createagentresponse.ts +0 -305
  284. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +0 -91
  285. package/packages/orq-rc/src/models/components/createapikeyresponse.ts +0 -49
  286. package/packages/orq-rc/src/models/components/createfilerequest.ts +0 -53
  287. package/packages/orq-rc/src/models/components/createfileresponse.ts +0 -32
  288. package/packages/orq-rc/src/models/components/createidentityrequest.ts +0 -76
  289. package/packages/orq-rc/src/models/components/createidentityresponse.ts +0 -32
  290. package/packages/orq-rc/src/models/components/createmodelparameter.ts +0 -54
  291. package/packages/orq-rc/src/models/components/createprojectrequest.ts +0 -46
  292. package/packages/orq-rc/src/models/components/createprojectresponse.ts +0 -35
  293. package/packages/orq-rc/src/models/components/createskillrequest.ts +0 -70
  294. package/packages/orq-rc/src/models/components/createskillresponse.ts +0 -35
  295. package/packages/orq-rc/src/models/components/datapart.ts +0 -38
  296. package/packages/orq-rc/src/models/components/datapoint.ts +0 -60
  297. package/packages/orq-rc/src/models/components/deleteapikeyresponse.ts +0 -27
  298. package/packages/orq-rc/src/models/components/deletefileresponse.ts +0 -27
  299. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +0 -27
  300. package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +0 -27
  301. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +0 -27
  302. package/packages/orq-rc/src/models/components/detectrequest.ts +0 -56
  303. package/packages/orq-rc/src/models/components/detectresponse.ts +0 -41
  304. package/packages/orq-rc/src/models/components/domain.ts +0 -75
  305. package/packages/orq-rc/src/models/components/embeddingcacheconfig.ts +0 -59
  306. package/packages/orq-rc/src/models/components/embeddingcontactparams.ts +0 -48
  307. package/packages/orq-rc/src/models/components/embeddingloadbalancerconfig.ts +0 -66
  308. package/packages/orq-rc/src/models/components/embeddingloadbalancermodelconfig.ts +0 -42
  309. package/packages/orq-rc/src/models/components/embeddingorqparams.ts +0 -101
  310. package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +0 -45
  311. package/packages/orq-rc/src/models/components/embeddingtimeoutconfig.ts +0 -39
  312. package/packages/orq-rc/src/models/components/errorpart.ts +0 -58
  313. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +0 -66
  314. package/packages/orq-rc/src/models/components/evaluatorref.ts +0 -93
  315. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +0 -71
  316. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +0 -61
  317. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +0 -67
  318. package/packages/orq-rc/src/models/components/expression.ts +0 -33
  319. package/packages/orq-rc/src/models/components/expressioninput.ts +0 -29
  320. package/packages/orq-rc/src/models/components/extendedmessage.ts +0 -146
  321. package/packages/orq-rc/src/models/components/fallbackconfig.ts +0 -27
  322. package/packages/orq-rc/src/models/components/file.ts +0 -52
  323. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +0 -87
  324. package/packages/orq-rc/src/models/components/filepart.ts +0 -223
  325. package/packages/orq-rc/src/models/components/filepurpose.ts +0 -21
  326. package/packages/orq-rc/src/models/components/filter.ts +0 -137
  327. package/packages/orq-rc/src/models/components/getagentresponse.ts +0 -348
  328. package/packages/orq-rc/src/models/components/getapikeyresponse.ts +0 -40
  329. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +0 -36
  330. package/packages/orq-rc/src/models/components/getfileresponse.ts +0 -32
  331. package/packages/orq-rc/src/models/components/getprojectresponse.ts +0 -35
  332. package/packages/orq-rc/src/models/components/getskillresponse.ts +0 -35
  333. package/packages/orq-rc/src/models/components/guardrailref.ts +0 -91
  334. package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -66
  335. package/packages/orq-rc/src/models/components/identity.ts +0 -83
  336. package/packages/orq-rc/src/models/components/identitymetrics.ts +0 -45
  337. package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -18
  338. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +0 -268
  339. package/packages/orq-rc/src/models/components/incompletedetails.ts +0 -31
  340. package/packages/orq-rc/src/models/components/index.ts +0 -190
  341. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +0 -45
  342. package/packages/orq-rc/src/models/components/legacytokenfamily.ts +0 -19
  343. package/packages/orq-rc/src/models/components/limits.ts +0 -70
  344. package/packages/orq-rc/src/models/components/listapikeysresponse.ts +0 -56
  345. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +0 -38
  346. package/packages/orq-rc/src/models/components/listfilesresponse.ts +0 -41
  347. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +0 -41
  348. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +0 -53
  349. package/packages/orq-rc/src/models/components/listskillsresponse.ts +0 -53
  350. package/packages/orq-rc/src/models/components/litellmmodel.ts +0 -50
  351. package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +0 -97
  352. package/packages/orq-rc/src/models/components/litellmparams.ts +0 -43
  353. package/packages/orq-rc/src/models/components/memoryparam.ts +0 -56
  354. package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +0 -82
  355. package/packages/orq-rc/src/models/components/modeldocument.ts +0 -112
  356. package/packages/orq-rc/src/models/components/modelmetadata.ts +0 -720
  357. package/packages/orq-rc/src/models/components/modelparameterdocument.ts +0 -53
  358. package/packages/orq-rc/src/models/components/modelref.ts +0 -70
  359. package/packages/orq-rc/src/models/components/modelsconfig.ts +0 -73
  360. package/packages/orq-rc/src/models/components/outputtokensdetails.ts +0 -36
  361. package/packages/orq-rc/src/models/components/ownertype.ts +0 -17
  362. package/packages/orq-rc/src/models/components/partdelta.ts +0 -39
  363. package/packages/orq-rc/src/models/components/partdeltaevent.ts +0 -73
  364. package/packages/orq-rc/src/models/components/partdoneevent.ts +0 -70
  365. package/packages/orq-rc/src/models/components/permissionmode.ts +0 -23
  366. package/packages/orq-rc/src/models/components/policy.ts +0 -80
  367. package/packages/orq-rc/src/models/components/policyretryconfig.ts +0 -64
  368. package/packages/orq-rc/src/models/components/price.ts +0 -56
  369. package/packages/orq-rc/src/models/components/pricing.ts +0 -93
  370. package/packages/orq-rc/src/models/components/pricingvariant.ts +0 -90
  371. package/packages/orq-rc/src/models/components/project.ts +0 -108
  372. package/packages/orq-rc/src/models/components/projectscope.ts +0 -70
  373. package/packages/orq-rc/src/models/components/publiccontact.ts +0 -71
  374. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +0 -60
  375. package/packages/orq-rc/src/models/components/publicembeddingusage.ts +0 -45
  376. package/packages/orq-rc/src/models/components/publicidentity.ts +0 -69
  377. package/packages/orq-rc/src/models/components/publicmodelentry.ts +0 -71
  378. package/packages/orq-rc/src/models/components/publicschedule.ts +0 -118
  379. package/packages/orq-rc/src/models/components/publicscheduleerrordetail.ts +0 -39
  380. package/packages/orq-rc/src/models/components/publicschedulepayload.ts +0 -84
  381. package/packages/orq-rc/src/models/components/publicusage.ts +0 -77
  382. package/packages/orq-rc/src/models/components/queryreportrequest.ts +0 -237
  383. package/packages/orq-rc/src/models/components/queryreportresponse.ts +0 -99
  384. package/packages/orq-rc/src/models/components/reasoning.ts +0 -33
  385. package/packages/orq-rc/src/models/components/reasoningparam.ts +0 -30
  386. package/packages/orq-rc/src/models/components/reasoningpart.ts +0 -62
  387. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +0 -71
  388. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +0 -66
  389. package/packages/orq-rc/src/models/components/redactrequest.ts +0 -33
  390. package/packages/orq-rc/src/models/components/redactresponse.ts +0 -41
  391. package/packages/orq-rc/src/models/components/refusalpartschema.ts +0 -64
  392. package/packages/orq-rc/src/models/components/requestlimit.ts +0 -69
  393. package/packages/orq-rc/src/models/components/responsedoneevent.ts +0 -324
  394. package/packages/orq-rc/src/models/components/responseerror.ts +0 -33
  395. package/packages/orq-rc/src/models/components/responseexecutionlimits.ts +0 -52
  396. package/packages/orq-rc/src/models/components/responsefailedevent.ts +0 -72
  397. package/packages/orq-rc/src/models/components/responseidentity.ts +0 -48
  398. package/packages/orq-rc/src/models/components/responsemeta.ts +0 -103
  399. package/packages/orq-rc/src/models/components/responseretryconfig.ts +0 -45
  400. package/packages/orq-rc/src/models/components/responsestartedevent.ts +0 -97
  401. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +0 -85
  402. package/packages/orq-rc/src/models/components/responsethread.ts +0 -30
  403. package/packages/orq-rc/src/models/components/restorerequest.ts +0 -38
  404. package/packages/orq-rc/src/models/components/restoreresponse.ts +0 -36
  405. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +0 -32
  406. package/packages/orq-rc/src/models/components/reviewoutcome.ts +0 -23
  407. package/packages/orq-rc/src/models/components/routingrule.ts +0 -67
  408. package/packages/orq-rc/src/models/components/security.ts +0 -32
  409. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +0 -43
  410. package/packages/orq-rc/src/models/components/singleproject.ts +0 -56
  411. package/packages/orq-rc/src/models/components/skill.ts +0 -109
  412. package/packages/orq-rc/src/models/components/streamoptions.ts +0 -32
  413. package/packages/orq-rc/src/models/components/telemetry.ts +0 -48
  414. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +0 -207
  415. package/packages/orq-rc/src/models/components/textpart.ts +0 -54
  416. package/packages/orq-rc/src/models/components/thinkingconfigadaptiveschema.ts +0 -59
  417. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +0 -59
  418. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +0 -107
  419. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +0 -64
  420. package/packages/orq-rc/src/models/components/tokenlimit.ts +0 -69
  421. package/packages/orq-rc/src/models/components/toolcallpart.ts +0 -51
  422. package/packages/orq-rc/src/models/components/tooldoneevent.ts +0 -77
  423. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +0 -235
  424. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -219
  425. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +0 -205
  426. package/packages/orq-rc/src/models/components/toolfailedevent.ts +0 -77
  427. package/packages/orq-rc/src/models/components/toolresultpart.ts +0 -71
  428. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +0 -78
  429. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +0 -87
  430. package/packages/orq-rc/src/models/components/toolstartedevent.ts +0 -82
  431. package/packages/orq-rc/src/models/components/totals.ts +0 -34
  432. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +0 -99
  433. package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +0 -40
  434. package/packages/orq-rc/src/models/components/updatefilerequest.ts +0 -40
  435. package/packages/orq-rc/src/models/components/updatefileresponse.ts +0 -32
  436. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +0 -75
  437. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +0 -32
  438. package/packages/orq-rc/src/models/components/updatemodelparameter.ts +0 -61
  439. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -60
  440. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +0 -35
  441. package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -82
  442. package/packages/orq-rc/src/models/components/updateskillresponse.ts +0 -35
  443. package/packages/orq-rc/src/models/components/userowner.ts +0 -56
  444. package/packages/orq-rc/src/models/components/vertexcapabilities.ts +0 -37
  445. package/packages/orq-rc/src/models/components/vertexconfiguration.ts +0 -45
  446. package/packages/orq-rc/src/models/components/vertexmodelconfiguration.ts +0 -53
  447. package/packages/orq-rc/src/models/components/vertexparameters.ts +0 -47
  448. package/packages/orq-rc/src/models/components/vertexparamrange.ts +0 -34
  449. package/packages/orq-rc/src/models/components/vertexparamrangeint.ts +0 -34
  450. package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
  451. package/packages/orq-rc/src/models/errors/createagentschedule.ts +0 -105
  452. package/packages/orq-rc/src/models/errors/createeval.ts +0 -51
  453. package/packages/orq-rc/src/models/errors/createmoderation.ts +0 -84
  454. package/packages/orq-rc/src/models/errors/createtranscription.ts +0 -87
  455. package/packages/orq-rc/src/models/errors/createtranslation.ts +0 -87
  456. package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -51
  457. package/packages/orq-rc/src/models/errors/deleteagentschedule.ts +0 -56
  458. package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -51
  459. package/packages/orq-rc/src/models/errors/deleteprompt.ts +0 -51
  460. package/packages/orq-rc/src/models/errors/getevals.ts +0 -51
  461. package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -51
  462. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +0 -51
  463. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +0 -51
  464. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +0 -52
  465. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -59
  466. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  467. package/packages/orq-rc/src/models/errors/index.ts +0 -38
  468. package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -141
  469. package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
  470. package/packages/orq-rc/src/models/errors/postv2agentskeycardrefresh.ts +0 -97
  471. package/packages/orq-rc/src/models/errors/postv2feedback.ts +0 -96
  472. package/packages/orq-rc/src/models/errors/postv2feedbackremove.ts +0 -51
  473. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
  474. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +0 -51
  475. package/packages/orq-rc/src/models/errors/retrieveagentschedule.ts +0 -56
  476. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
  477. package/packages/orq-rc/src/models/errors/streamagent.ts +0 -51
  478. package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -51
  479. package/packages/orq-rc/src/models/errors/triggeragentschedule.ts +0 -105
  480. package/packages/orq-rc/src/models/errors/updateagent.ts +0 -51
  481. package/packages/orq-rc/src/models/errors/updateagentschedule.ts +0 -105
  482. package/packages/orq-rc/src/models/errors/updateeval.ts +0 -51
  483. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -51
  484. package/packages/orq-rc/src/models/errors/updatetool.ts +0 -62
  485. package/packages/orq-rc/src/models/operations/apikeydelete.ts +0 -39
  486. package/packages/orq-rc/src/models/operations/apikeyget.ts +0 -39
  487. package/packages/orq-rc/src/models/operations/apikeylist.ts +0 -107
  488. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +0 -44
  489. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -39
  490. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -6380
  491. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -671
  492. package/packages/orq-rc/src/models/operations/createagentschedule.ts +0 -227
  493. package/packages/orq-rc/src/models/operations/createannotation.ts +0 -162
  494. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +0 -6399
  495. package/packages/orq-rc/src/models/operations/createchunk.ts +0 -222
  496. package/packages/orq-rc/src/models/operations/createcompletion.ts +0 -3474
  497. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -162
  498. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -2554
  499. package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -443
  500. package/packages/orq-rc/src/models/operations/createembedding.ts +0 -219
  501. package/packages/orq-rc/src/models/operations/createeval.ts +0 -4456
  502. package/packages/orq-rc/src/models/operations/createimage.ts +0 -1034
  503. package/packages/orq-rc/src/models/operations/createimageedit.ts +0 -1045
  504. package/packages/orq-rc/src/models/operations/createimagevariation.ts +0 -1067
  505. package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -958
  506. package/packages/orq-rc/src/models/operations/creatememory.ts +0 -142
  507. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -152
  508. package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -199
  509. package/packages/orq-rc/src/models/operations/createmoderation.ts +0 -664
  510. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -5408
  511. package/packages/orq-rc/src/models/operations/creatererank.ts +0 -890
  512. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +0 -1506
  513. package/packages/orq-rc/src/models/operations/createspeech.ts +0 -700
  514. package/packages/orq-rc/src/models/operations/createtool.ts +0 -2490
  515. package/packages/orq-rc/src/models/operations/createtranscription.ts +0 -955
  516. package/packages/orq-rc/src/models/operations/createtranslation.ts +0 -930
  517. package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -39
  518. package/packages/orq-rc/src/models/operations/deleteagentschedule.ts +0 -46
  519. package/packages/orq-rc/src/models/operations/deleteannotation.ts +0 -82
  520. package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -53
  521. package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -125
  522. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -46
  523. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -39
  524. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -46
  525. package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -31
  526. package/packages/orq-rc/src/models/operations/deleteidentity.ts +0 -31
  527. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -39
  528. package/packages/orq-rc/src/models/operations/deletememory.ts +0 -46
  529. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -55
  530. package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -39
  531. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -34
  532. package/packages/orq-rc/src/models/operations/deletetool.ts +0 -36
  533. package/packages/orq-rc/src/models/operations/deletev2humanevalsetsid.ts +0 -36
  534. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -4968
  535. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -4178
  536. package/packages/orq-rc/src/models/operations/deployments.ts +0 -1276
  537. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -4698
  538. package/packages/orq-rc/src/models/operations/filecontent.ts +0 -36
  539. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -36
  540. package/packages/orq-rc/src/models/operations/fileget.ts +0 -32
  541. package/packages/orq-rc/src/models/operations/filelist.ts +0 -45
  542. package/packages/orq-rc/src/models/operations/fileupdate.ts +0 -41
  543. package/packages/orq-rc/src/models/operations/getagentresponse.ts +0 -46
  544. package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -173
  545. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -188
  546. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -200
  547. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -3176
  548. package/packages/orq-rc/src/models/operations/getalltools.ts +0 -1389
  549. package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -142
  550. package/packages/orq-rc/src/models/operations/getevals.ts +0 -3346
  551. package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -171
  552. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -652
  553. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -3101
  554. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -3146
  555. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +0 -162
  556. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +0 -234
  557. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +0 -235
  558. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +0 -163
  559. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +0 -110
  560. package/packages/orq-rc/src/models/operations/guardrailrulecreate.ts +0 -124
  561. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +0 -39
  562. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +0 -102
  563. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +0 -94
  564. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +0 -153
  565. package/packages/orq-rc/src/models/operations/index.ts +0 -169
  566. package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -801
  567. package/packages/orq-rc/src/models/operations/invokeeval.ts +0 -1260
  568. package/packages/orq-rc/src/models/operations/listagents.ts +0 -2699
  569. package/packages/orq-rc/src/models/operations/listagentschedules.ts +0 -69
  570. package/packages/orq-rc/src/models/operations/listchunks.ts +0 -289
  571. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -282
  572. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -1498
  573. package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -205
  574. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -241
  575. package/packages/orq-rc/src/models/operations/listidentities.ts +0 -59
  576. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -642
  577. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -60
  578. package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -3221
  579. package/packages/orq-rc/src/models/operations/modelazurefoundrydeployments.ts +0 -90
  580. package/packages/orq-rc/src/models/operations/modelcreate.ts +0 -184
  581. package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +0 -151
  582. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +0 -218
  583. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +0 -202
  584. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +0 -144
  585. package/packages/orq-rc/src/models/operations/modeldelete.ts +0 -34
  586. package/packages/orq-rc/src/models/operations/modeldisable.ts +0 -39
  587. package/packages/orq-rc/src/models/operations/modelenable.ts +0 -36
  588. package/packages/orq-rc/src/models/operations/modelupdate.ts +0 -198
  589. package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +0 -189
  590. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +0 -248
  591. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +0 -236
  592. package/packages/orq-rc/src/models/operations/modelvalidate.ts +0 -57
  593. package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +0 -57
  594. package/packages/orq-rc/src/models/operations/parse.ts +0 -784
  595. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +0 -415
  596. package/packages/orq-rc/src/models/operations/policycreate.ts +0 -138
  597. package/packages/orq-rc/src/models/operations/policydelete.ts +0 -39
  598. package/packages/orq-rc/src/models/operations/policyget.ts +0 -110
  599. package/packages/orq-rc/src/models/operations/policylist.ts +0 -94
  600. package/packages/orq-rc/src/models/operations/policyupdate.ts +0 -174
  601. package/packages/orq-rc/src/models/operations/postv2agentskeycardrefresh.ts +0 -100
  602. package/packages/orq-rc/src/models/operations/postv2feedback.ts +0 -214
  603. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +0 -321
  604. package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
  605. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +0 -135
  606. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +0 -365
  607. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +0 -478
  608. package/packages/orq-rc/src/models/operations/projectdelete.ts +0 -39
  609. package/packages/orq-rc/src/models/operations/projectget.ts +0 -39
  610. package/packages/orq-rc/src/models/operations/projectlist.ts +0 -58
  611. package/packages/orq-rc/src/models/operations/projectupdate.ts +0 -44
  612. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -2754
  613. package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +0 -162
  614. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -1402
  615. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -150
  616. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -152
  617. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +0 -39
  618. package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -112
  619. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -118
  620. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -144
  621. package/packages/orq-rc/src/models/operations/retrieveresponse.ts +0 -225
  622. package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -1370
  623. package/packages/orq-rc/src/models/operations/routingrulecreate.ts +0 -124
  624. package/packages/orq-rc/src/models/operations/routingruledelete.ts +0 -39
  625. package/packages/orq-rc/src/models/operations/routingruleget.ts +0 -102
  626. package/packages/orq-rc/src/models/operations/routingrulelist.ts +0 -94
  627. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +0 -154
  628. package/packages/orq-rc/src/models/operations/runagent.ts +0 -4954
  629. package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -1762
  630. package/packages/orq-rc/src/models/operations/skilldelete.ts +0 -39
  631. package/packages/orq-rc/src/models/operations/skillget.ts +0 -40
  632. package/packages/orq-rc/src/models/operations/skilllist.ts +0 -61
  633. package/packages/orq-rc/src/models/operations/skillupdate.ts +0 -44
  634. package/packages/orq-rc/src/models/operations/streamagent.ts +0 -693
  635. package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -5126
  636. package/packages/orq-rc/src/models/operations/triggeragentschedule.ts +0 -86
  637. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -6704
  638. package/packages/orq-rc/src/models/operations/updateagentschedule.ts +0 -241
  639. package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -236
  640. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -2555
  641. package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -206
  642. package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -186
  643. package/packages/orq-rc/src/models/operations/updateeval.ts +0 -3819
  644. package/packages/orq-rc/src/models/operations/updateidentity.ts +0 -40
  645. package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -1231
  646. package/packages/orq-rc/src/models/operations/updatememory.ts +0 -142
  647. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -159
  648. package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -188
  649. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -5490
  650. package/packages/orq-rc/src/models/operations/updatetool.ts +0 -2801
  651. package/packages/orq-rc/src/sdk/agents.ts +0 -216
  652. package/packages/orq-rc/src/sdk/annotations.ts +0 -45
  653. package/packages/orq-rc/src/sdk/apikeys.ts +0 -116
  654. package/packages/orq-rc/src/sdk/audio.ts +0 -25
  655. package/packages/orq-rc/src/sdk/chat.ts +0 -13
  656. package/packages/orq-rc/src/sdk/chunking.ts +0 -27
  657. package/packages/orq-rc/src/sdk/completions.ts +0 -32
  658. package/packages/orq-rc/src/sdk/datasets.ts +0 -204
  659. package/packages/orq-rc/src/sdk/deployments.ts +0 -82
  660. package/packages/orq-rc/src/sdk/edits.ts +0 -27
  661. package/packages/orq-rc/src/sdk/embeddings.ts +0 -27
  662. package/packages/orq-rc/src/sdk/evals.ts +0 -102
  663. package/packages/orq-rc/src/sdk/feedback.ts +0 -33
  664. package/packages/orq-rc/src/sdk/files.ts +0 -115
  665. package/packages/orq-rc/src/sdk/generations.ts +0 -27
  666. package/packages/orq-rc/src/sdk/guardrailrules.ts +0 -99
  667. package/packages/orq-rc/src/sdk/humanreviewsets.ts +0 -84
  668. package/packages/orq-rc/src/sdk/identities.ts +0 -100
  669. package/packages/orq-rc/src/sdk/images.ts +0 -25
  670. package/packages/orq-rc/src/sdk/index.ts +0 -5
  671. package/packages/orq-rc/src/sdk/knowledge.ts +0 -312
  672. package/packages/orq-rc/src/sdk/memorystores.ts +0 -286
  673. package/packages/orq-rc/src/sdk/models.ts +0 -330
  674. package/packages/orq-rc/src/sdk/moderations.ts +0 -24
  675. package/packages/orq-rc/src/sdk/orqcompletions.ts +0 -32
  676. package/packages/orq-rc/src/sdk/orqresponses.ts +0 -53
  677. package/packages/orq-rc/src/sdk/pii.ts +0 -63
  678. package/packages/orq-rc/src/sdk/policies.ts +0 -99
  679. package/packages/orq-rc/src/sdk/projects.ts +0 -100
  680. package/packages/orq-rc/src/sdk/prompts.ts +0 -126
  681. package/packages/orq-rc/src/sdk/reporting.ts +0 -27
  682. package/packages/orq-rc/src/sdk/rerank.ts +0 -27
  683. package/packages/orq-rc/src/sdk/responses.ts +0 -47
  684. package/packages/orq-rc/src/sdk/router.ts +0 -66
  685. package/packages/orq-rc/src/sdk/routingrules.ts +0 -99
  686. package/packages/orq-rc/src/sdk/schedules.ts +0 -117
  687. package/packages/orq-rc/src/sdk/sdk.ts +0 -189
  688. package/packages/orq-rc/src/sdk/skills.ts +0 -100
  689. package/packages/orq-rc/src/sdk/speech.ts +0 -27
  690. package/packages/orq-rc/src/sdk/tools.ts +0 -135
  691. package/packages/orq-rc/src/sdk/transcriptions.ts +0 -24
  692. package/packages/orq-rc/src/sdk/translations.ts +0 -24
  693. package/packages/orq-rc/src/sdk/variations.ts +0 -27
  694. package/packages/orq-rc/src/types/async.ts +0 -69
  695. package/packages/orq-rc/src/types/blobs.ts +0 -32
  696. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  697. package/packages/orq-rc/src/types/enums.ts +0 -45
  698. package/packages/orq-rc/src/types/fp.ts +0 -50
  699. package/packages/orq-rc/src/types/index.ts +0 -11
  700. package/packages/orq-rc/src/types/operations.ts +0 -105
  701. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  702. package/packages/orq-rc/src/types/streams.ts +0 -21
  703. package/packages/orq-rc/src/types/unrecognized.ts +0 -35
@@ -1,2699 +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
- requiresApproval: boolean;
156
- /**
157
- * Nested tool ID for MCP tools (identifies specific tool within MCP server)
158
- */
159
- toolId?: string | undefined;
160
- conditions?: Array<ListAgentsConditions> | undefined;
161
- /**
162
- * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
163
- */
164
- timeout: number;
165
- };
166
-
167
- /**
168
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
169
- */
170
- export const ListAgentsExecuteOn = {
171
- Input: "input",
172
- Output: "output",
173
- } as const;
174
- /**
175
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
176
- */
177
- export type ListAgentsExecuteOn = ClosedEnum<typeof ListAgentsExecuteOn>;
178
-
179
- export type ListAgentsEvaluators = {
180
- /**
181
- * Unique key or identifier of the evaluator
182
- */
183
- id: string;
184
- /**
185
- * 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.
186
- */
187
- sampleRate: number;
188
- /**
189
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
190
- */
191
- executeOn: ListAgentsExecuteOn;
192
- };
193
-
194
- /**
195
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
196
- */
197
- export const ListAgentsAgentsExecuteOn = {
198
- Input: "input",
199
- Output: "output",
200
- } as const;
201
- /**
202
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
203
- */
204
- export type ListAgentsAgentsExecuteOn = ClosedEnum<
205
- typeof ListAgentsAgentsExecuteOn
206
- >;
207
-
208
- export type ListAgentsGuardrails = {
209
- /**
210
- * Unique key or identifier of the evaluator
211
- */
212
- id: string;
213
- /**
214
- * 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.
215
- */
216
- sampleRate: number;
217
- /**
218
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
219
- */
220
- executeOn: ListAgentsAgentsExecuteOn;
221
- };
222
-
223
- export type ListAgentsSettings = {
224
- /**
225
- * Maximum iterations(llm calls) before the agent will stop executing.
226
- */
227
- maxIterations: number;
228
- /**
229
- * 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.
230
- */
231
- maxExecutionTime: number;
232
- /**
233
- * 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
234
- */
235
- maxCost: number;
236
- /**
237
- * 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.
238
- */
239
- toolApprovalRequired: ListAgentsToolApprovalRequired;
240
- tools?: Array<ListAgentsTools> | undefined;
241
- /**
242
- * Configuration for an evaluator applied to the agent
243
- */
244
- evaluators?: Array<ListAgentsEvaluators> | undefined;
245
- /**
246
- * Configuration for a guardrail applied to the agent
247
- */
248
- guardrails?: Array<ListAgentsGuardrails> | undefined;
249
- };
250
-
251
- export type ListAgentsResponseFormatJsonSchema = {
252
- /**
253
- * A description of what the response format is for, used by the model to determine how to respond in the format.
254
- */
255
- description?: string | undefined;
256
- /**
257
- * 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.
258
- */
259
- name: string;
260
- /**
261
- * The schema for the response format, described as a JSON Schema object.
262
- */
263
- schema?: any | undefined;
264
- /**
265
- * 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.
266
- */
267
- strict: boolean;
268
- };
269
-
270
- /**
271
- * @remarks
272
- *
273
- * JSON Schema response format. Used to generate structured JSON responses
274
- */
275
- export type ListAgentsResponseFormatAgentsJSONSchema = {
276
- type: "json_schema";
277
- jsonSchema: ListAgentsResponseFormatJsonSchema;
278
- };
279
-
280
- /**
281
- * @remarks
282
- *
283
- * 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.
284
- */
285
- export type ListAgentsResponseFormatJSONObject = {
286
- type: "json_object";
287
- };
288
-
289
- /**
290
- * @remarks
291
- *
292
- * Default response format. Used to generate text responses
293
- */
294
- export type ListAgentsResponseFormatText = {
295
- type: "text";
296
- };
297
-
298
- /**
299
- * An object specifying the format that the model must output
300
- */
301
- export type ListAgentsResponseFormat =
302
- | ListAgentsResponseFormatText
303
- | ListAgentsResponseFormatJSONObject
304
- | ListAgentsResponseFormatAgentsJSONSchema;
305
-
306
- /**
307
- * 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.
308
- *
309
- * @remarks
310
- *
311
- * - `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.
312
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
313
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
314
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
315
- *
316
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
317
- */
318
- export const ListAgentsReasoningEffort = {
319
- None: "none",
320
- Minimal: "minimal",
321
- Low: "low",
322
- Medium: "medium",
323
- High: "high",
324
- Xhigh: "xhigh",
325
- } as const;
326
- /**
327
- * 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.
328
- *
329
- * @remarks
330
- *
331
- * - `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.
332
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
333
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
334
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
335
- *
336
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
337
- */
338
- export type ListAgentsReasoningEffort = ClosedEnum<
339
- typeof ListAgentsReasoningEffort
340
- >;
341
-
342
- /**
343
- * Up to 4 sequences where the API will stop generating further tokens.
344
- */
345
- export type ListAgentsStop = string | Array<string>;
346
-
347
- export type ListAgentsThinking =
348
- | components.ThinkingConfigDisabledSchema
349
- | components.ThinkingConfigEnabledSchema
350
- | components.ThinkingConfigAdaptiveSchema;
351
-
352
- /**
353
- * The type of the tool. Currently, only function is supported.
354
- */
355
- export const ListAgentsToolChoiceType = {
356
- Function: "function",
357
- } as const;
358
- /**
359
- * The type of the tool. Currently, only function is supported.
360
- */
361
- export type ListAgentsToolChoiceType = ClosedEnum<
362
- typeof ListAgentsToolChoiceType
363
- >;
364
-
365
- export type ListAgentsToolChoiceFunction = {
366
- /**
367
- * The name of the function to call.
368
- */
369
- name: string;
370
- };
371
-
372
- export type ListAgentsToolChoice2 = {
373
- /**
374
- * The type of the tool. Currently, only function is supported.
375
- */
376
- type?: ListAgentsToolChoiceType | undefined;
377
- function: ListAgentsToolChoiceFunction;
378
- };
379
-
380
- export const ListAgentsToolChoice1 = {
381
- None: "none",
382
- Auto: "auto",
383
- Required: "required",
384
- } as const;
385
- export type ListAgentsToolChoice1 = ClosedEnum<typeof ListAgentsToolChoice1>;
386
-
387
- /**
388
- * Controls which (if any) tool is called by the model.
389
- */
390
- export type ListAgentsToolChoice =
391
- | ListAgentsToolChoice2
392
- | ListAgentsToolChoice1;
393
-
394
- export const ListAgentsModalities = {
395
- Text: "text",
396
- Audio: "audio",
397
- } as const;
398
- export type ListAgentsModalities = ClosedEnum<typeof ListAgentsModalities>;
399
-
400
- /**
401
- * The key of the guardrail.
402
- */
403
- export const ListAgentsId1 = {
404
- OrqPiiDetection: "orq_pii_detection",
405
- OrqSexualModeration: "orq_sexual_moderation",
406
- OrqHarmfulModeration: "orq_harmful_moderation",
407
- } as const;
408
- /**
409
- * The key of the guardrail.
410
- */
411
- export type ListAgentsId1 = ClosedEnum<typeof ListAgentsId1>;
412
-
413
- export type ListAgentsId = ListAgentsId1 | string;
414
-
415
- /**
416
- * Determines whether the guardrail runs on the input (user message) or output (model response).
417
- */
418
- export const ListAgentsAgentsResponseExecuteOn = {
419
- Input: "input",
420
- Output: "output",
421
- } as const;
422
- /**
423
- * Determines whether the guardrail runs on the input (user message) or output (model response).
424
- */
425
- export type ListAgentsAgentsResponseExecuteOn = ClosedEnum<
426
- typeof ListAgentsAgentsResponseExecuteOn
427
- >;
428
-
429
- export type ListAgentsAgentsGuardrails = {
430
- id: ListAgentsId1 | string;
431
- /**
432
- * Determines whether the guardrail runs on the input (user message) or output (model response).
433
- */
434
- executeOn: ListAgentsAgentsResponseExecuteOn;
435
- };
436
-
437
- export type ListAgentsFallbacks = {
438
- /**
439
- * Fallback model identifier
440
- */
441
- model: string;
442
- };
443
-
444
- export const ListAgentsAgentsType = {
445
- ExactMatch: "exact_match",
446
- } as const;
447
- export type ListAgentsAgentsType = ClosedEnum<typeof ListAgentsAgentsType>;
448
-
449
- /**
450
- * Cache configuration for the request.
451
- */
452
- export type ListAgentsCache = {
453
- /**
454
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
455
- */
456
- ttl: number;
457
- type: ListAgentsAgentsType;
458
- };
459
-
460
- export const ListAgentsLoadBalancerType = {
461
- WeightBased: "weight_based",
462
- } as const;
463
- export type ListAgentsLoadBalancerType = ClosedEnum<
464
- typeof ListAgentsLoadBalancerType
465
- >;
466
-
467
- export type ListAgentsLoadBalancerModels = {
468
- /**
469
- * Model identifier for load balancing
470
- */
471
- model: string;
472
- /**
473
- * Weight assigned to this model for load balancing
474
- */
475
- weight: number;
476
- };
477
-
478
- export type ListAgentsLoadBalancer1 = {
479
- type: ListAgentsLoadBalancerType;
480
- models: Array<ListAgentsLoadBalancerModels>;
481
- };
482
-
483
- /**
484
- * Load balancer configuration for the request.
485
- */
486
- export type ListAgentsLoadBalancer = ListAgentsLoadBalancer1;
487
-
488
- /**
489
- * 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.
490
- */
491
- export type ListAgentsTimeout = {
492
- /**
493
- * Timeout value in milliseconds
494
- */
495
- callTimeout: number;
496
- };
497
-
498
- /**
499
- * 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.
500
- */
501
- export type ListAgentsParameters = {
502
- /**
503
- * The name to display on the trace. If not specified, the default system name will be used.
504
- */
505
- name?: string | undefined;
506
- /**
507
- * 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.
508
- */
509
- frequencyPenalty?: number | null | undefined;
510
- /**
511
- * `[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.
512
- *
513
- * @remarks
514
- *
515
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
516
- */
517
- maxTokens?: number | null | undefined;
518
- /**
519
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
520
- */
521
- maxCompletionTokens?: number | null | undefined;
522
- /**
523
- * 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.
524
- */
525
- presencePenalty?: number | null | undefined;
526
- /**
527
- * An object specifying the format that the model must output
528
- */
529
- responseFormat?:
530
- | ListAgentsResponseFormatText
531
- | ListAgentsResponseFormatJSONObject
532
- | ListAgentsResponseFormatAgentsJSONSchema
533
- | undefined;
534
- /**
535
- * 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.
536
- *
537
- * @remarks
538
- *
539
- * - `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.
540
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
541
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
542
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
543
- *
544
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
545
- */
546
- reasoningEffort?: ListAgentsReasoningEffort | undefined;
547
- /**
548
- * Adjusts response verbosity. Lower levels yield shorter answers.
549
- */
550
- verbosity?: string | undefined;
551
- /**
552
- * 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.
553
- */
554
- seed?: number | null | undefined;
555
- /**
556
- * Up to 4 sequences where the API will stop generating further tokens.
557
- */
558
- stop?: string | Array<string> | null | undefined;
559
- thinking?:
560
- | components.ThinkingConfigDisabledSchema
561
- | components.ThinkingConfigEnabledSchema
562
- | components.ThinkingConfigAdaptiveSchema
563
- | undefined;
564
- /**
565
- * 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.
566
- */
567
- temperature?: number | null | undefined;
568
- /**
569
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
570
- */
571
- topP?: number | null | undefined;
572
- /**
573
- * Limits the model to consider only the top k most likely tokens at each step.
574
- */
575
- topK?: number | null | undefined;
576
- /**
577
- * Controls which (if any) tool is called by the model.
578
- */
579
- toolChoice?: ListAgentsToolChoice2 | ListAgentsToolChoice1 | undefined;
580
- /**
581
- * Whether to enable parallel function calling during tool use.
582
- */
583
- parallelToolCalls?: boolean | undefined;
584
- /**
585
- * 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"].
586
- */
587
- modalities?: Array<ListAgentsModalities> | null | undefined;
588
- /**
589
- * A list of guardrails to apply to the request.
590
- */
591
- guardrails?: Array<ListAgentsAgentsGuardrails> | undefined;
592
- /**
593
- * Array of fallback models to use if primary model fails
594
- */
595
- fallbacks?: Array<ListAgentsFallbacks> | undefined;
596
- /**
597
- * Cache configuration for the request.
598
- */
599
- cache?: ListAgentsCache | undefined;
600
- /**
601
- * Load balancer configuration for the request.
602
- */
603
- loadBalancer?: ListAgentsLoadBalancer1 | undefined;
604
- /**
605
- * 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.
606
- */
607
- timeout?: ListAgentsTimeout | undefined;
608
- };
609
-
610
- /**
611
- * 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).
612
- */
613
- export type ListAgentsRetry = {
614
- /**
615
- * Number of retry attempts (1-5)
616
- */
617
- count: number;
618
- /**
619
- * HTTP status codes that trigger retry logic
620
- */
621
- onCodes?: Array<number> | undefined;
622
- };
623
-
624
- export type ListAgentsResponseFormatAgentsResponseJsonSchema = {
625
- /**
626
- * A description of what the response format is for, used by the model to determine how to respond in the format.
627
- */
628
- description?: string | undefined;
629
- /**
630
- * 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.
631
- */
632
- name: string;
633
- /**
634
- * The schema for the response format, described as a JSON Schema object.
635
- */
636
- schema?: any | undefined;
637
- /**
638
- * 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.
639
- */
640
- strict: boolean;
641
- };
642
-
643
- /**
644
- * @remarks
645
- *
646
- * JSON Schema response format. Used to generate structured JSON responses
647
- */
648
- export type ListAgentsResponseFormatAgentsResponse200JSONSchema = {
649
- type: "json_schema";
650
- jsonSchema: ListAgentsResponseFormatAgentsResponseJsonSchema;
651
- };
652
-
653
- /**
654
- * @remarks
655
- *
656
- * 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.
657
- */
658
- export type ListAgentsResponseFormatAgentsJSONObject = {
659
- type: "json_object";
660
- };
661
-
662
- /**
663
- * @remarks
664
- *
665
- * Default response format. Used to generate text responses
666
- */
667
- export type ListAgentsResponseFormatAgentsText = {
668
- type: "text";
669
- };
670
-
671
- /**
672
- * An object specifying the format that the model must output
673
- */
674
- export type ListAgentsFallbackModelConfigurationResponseFormat =
675
- | ListAgentsResponseFormatAgentsText
676
- | ListAgentsResponseFormatAgentsJSONObject
677
- | ListAgentsResponseFormatAgentsResponse200JSONSchema;
678
-
679
- /**
680
- * 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.
681
- *
682
- * @remarks
683
- *
684
- * - `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.
685
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
686
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
687
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
688
- *
689
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
690
- */
691
- export const ListAgentsFallbackModelConfigurationReasoningEffort = {
692
- None: "none",
693
- Minimal: "minimal",
694
- Low: "low",
695
- Medium: "medium",
696
- High: "high",
697
- Xhigh: "xhigh",
698
- } as const;
699
- /**
700
- * 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.
701
- *
702
- * @remarks
703
- *
704
- * - `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.
705
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
706
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
707
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
708
- *
709
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
710
- */
711
- export type ListAgentsFallbackModelConfigurationReasoningEffort = ClosedEnum<
712
- typeof ListAgentsFallbackModelConfigurationReasoningEffort
713
- >;
714
-
715
- /**
716
- * Up to 4 sequences where the API will stop generating further tokens.
717
- */
718
- export type ListAgentsFallbackModelConfigurationStop = string | Array<string>;
719
-
720
- export type ListAgentsFallbackModelConfigurationThinking =
721
- | components.ThinkingConfigDisabledSchema
722
- | components.ThinkingConfigEnabledSchema
723
- | components.ThinkingConfigAdaptiveSchema;
724
-
725
- /**
726
- * The type of the tool. Currently, only function is supported.
727
- */
728
- export const ListAgentsToolChoiceAgentsType = {
729
- Function: "function",
730
- } as const;
731
- /**
732
- * The type of the tool. Currently, only function is supported.
733
- */
734
- export type ListAgentsToolChoiceAgentsType = ClosedEnum<
735
- typeof ListAgentsToolChoiceAgentsType
736
- >;
737
-
738
- export type ListAgentsToolChoiceAgentsFunction = {
739
- /**
740
- * The name of the function to call.
741
- */
742
- name: string;
743
- };
744
-
745
- export type ListAgentsToolChoiceAgents2 = {
746
- /**
747
- * The type of the tool. Currently, only function is supported.
748
- */
749
- type?: ListAgentsToolChoiceAgentsType | undefined;
750
- function: ListAgentsToolChoiceAgentsFunction;
751
- };
752
-
753
- export const ListAgentsToolChoiceAgents1 = {
754
- None: "none",
755
- Auto: "auto",
756
- Required: "required",
757
- } as const;
758
- export type ListAgentsToolChoiceAgents1 = ClosedEnum<
759
- typeof ListAgentsToolChoiceAgents1
760
- >;
761
-
762
- /**
763
- * Controls which (if any) tool is called by the model.
764
- */
765
- export type ListAgentsFallbackModelConfigurationToolChoice =
766
- | ListAgentsToolChoiceAgents2
767
- | ListAgentsToolChoiceAgents1;
768
-
769
- export const ListAgentsFallbackModelConfigurationModalities = {
770
- Text: "text",
771
- Audio: "audio",
772
- } as const;
773
- export type ListAgentsFallbackModelConfigurationModalities = ClosedEnum<
774
- typeof ListAgentsFallbackModelConfigurationModalities
775
- >;
776
-
777
- /**
778
- * The key of the guardrail.
779
- */
780
- export const ListAgentsIdAgents1 = {
781
- OrqPiiDetection: "orq_pii_detection",
782
- OrqSexualModeration: "orq_sexual_moderation",
783
- OrqHarmfulModeration: "orq_harmful_moderation",
784
- } as const;
785
- /**
786
- * The key of the guardrail.
787
- */
788
- export type ListAgentsIdAgents1 = ClosedEnum<typeof ListAgentsIdAgents1>;
789
-
790
- export type ListAgentsFallbackModelConfigurationId =
791
- | ListAgentsIdAgents1
792
- | string;
793
-
794
- /**
795
- * Determines whether the guardrail runs on the input (user message) or output (model response).
796
- */
797
- export const ListAgentsFallbackModelConfigurationExecuteOn = {
798
- Input: "input",
799
- Output: "output",
800
- } as const;
801
- /**
802
- * Determines whether the guardrail runs on the input (user message) or output (model response).
803
- */
804
- export type ListAgentsFallbackModelConfigurationExecuteOn = ClosedEnum<
805
- typeof ListAgentsFallbackModelConfigurationExecuteOn
806
- >;
807
-
808
- export type ListAgentsFallbackModelConfigurationGuardrails = {
809
- id: ListAgentsIdAgents1 | string;
810
- /**
811
- * Determines whether the guardrail runs on the input (user message) or output (model response).
812
- */
813
- executeOn: ListAgentsFallbackModelConfigurationExecuteOn;
814
- };
815
-
816
- export type ListAgentsFallbackModelConfigurationFallbacks = {
817
- /**
818
- * Fallback model identifier
819
- */
820
- model: string;
821
- };
822
-
823
- export const ListAgentsFallbackModelConfigurationType = {
824
- ExactMatch: "exact_match",
825
- } as const;
826
- export type ListAgentsFallbackModelConfigurationType = ClosedEnum<
827
- typeof ListAgentsFallbackModelConfigurationType
828
- >;
829
-
830
- /**
831
- * Cache configuration for the request.
832
- */
833
- export type ListAgentsFallbackModelConfigurationCache = {
834
- /**
835
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
836
- */
837
- ttl: number;
838
- type: ListAgentsFallbackModelConfigurationType;
839
- };
840
-
841
- export const ListAgentsLoadBalancerAgentsType = {
842
- WeightBased: "weight_based",
843
- } as const;
844
- export type ListAgentsLoadBalancerAgentsType = ClosedEnum<
845
- typeof ListAgentsLoadBalancerAgentsType
846
- >;
847
-
848
- export type ListAgentsLoadBalancerAgentsModels = {
849
- /**
850
- * Model identifier for load balancing
851
- */
852
- model: string;
853
- /**
854
- * Weight assigned to this model for load balancing
855
- */
856
- weight: number;
857
- };
858
-
859
- export type ListAgentsLoadBalancerAgents1 = {
860
- type: ListAgentsLoadBalancerAgentsType;
861
- models: Array<ListAgentsLoadBalancerAgentsModels>;
862
- };
863
-
864
- /**
865
- * Load balancer configuration for the request.
866
- */
867
- export type ListAgentsFallbackModelConfigurationLoadBalancer =
868
- ListAgentsLoadBalancerAgents1;
869
-
870
- /**
871
- * 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.
872
- */
873
- export type ListAgentsFallbackModelConfigurationTimeout = {
874
- /**
875
- * Timeout value in milliseconds
876
- */
877
- callTimeout: number;
878
- };
879
-
880
- /**
881
- * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
882
- */
883
- export type ListAgentsFallbackModelConfigurationParameters = {
884
- /**
885
- * The name to display on the trace. If not specified, the default system name will be used.
886
- */
887
- name?: string | undefined;
888
- /**
889
- * 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.
890
- */
891
- frequencyPenalty?: number | null | undefined;
892
- /**
893
- * `[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.
894
- *
895
- * @remarks
896
- *
897
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
898
- */
899
- maxTokens?: number | null | undefined;
900
- /**
901
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
902
- */
903
- maxCompletionTokens?: number | null | undefined;
904
- /**
905
- * 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.
906
- */
907
- presencePenalty?: number | null | undefined;
908
- /**
909
- * An object specifying the format that the model must output
910
- */
911
- responseFormat?:
912
- | ListAgentsResponseFormatAgentsText
913
- | ListAgentsResponseFormatAgentsJSONObject
914
- | ListAgentsResponseFormatAgentsResponse200JSONSchema
915
- | undefined;
916
- /**
917
- * 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.
918
- *
919
- * @remarks
920
- *
921
- * - `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.
922
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
923
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
924
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
925
- *
926
- * Any of "none", "minimal", "low", "medium", "high", "xhigh".
927
- */
928
- reasoningEffort?:
929
- | ListAgentsFallbackModelConfigurationReasoningEffort
930
- | undefined;
931
- /**
932
- * Adjusts response verbosity. Lower levels yield shorter answers.
933
- */
934
- verbosity?: string | undefined;
935
- /**
936
- * 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.
937
- */
938
- seed?: number | null | undefined;
939
- /**
940
- * Up to 4 sequences where the API will stop generating further tokens.
941
- */
942
- stop?: string | Array<string> | null | undefined;
943
- thinking?:
944
- | components.ThinkingConfigDisabledSchema
945
- | components.ThinkingConfigEnabledSchema
946
- | components.ThinkingConfigAdaptiveSchema
947
- | undefined;
948
- /**
949
- * 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.
950
- */
951
- temperature?: number | null | undefined;
952
- /**
953
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
954
- */
955
- topP?: number | null | undefined;
956
- /**
957
- * Limits the model to consider only the top k most likely tokens at each step.
958
- */
959
- topK?: number | null | undefined;
960
- /**
961
- * Controls which (if any) tool is called by the model.
962
- */
963
- toolChoice?:
964
- | ListAgentsToolChoiceAgents2
965
- | ListAgentsToolChoiceAgents1
966
- | undefined;
967
- /**
968
- * Whether to enable parallel function calling during tool use.
969
- */
970
- parallelToolCalls?: boolean | undefined;
971
- /**
972
- * 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"].
973
- */
974
- modalities?:
975
- | Array<ListAgentsFallbackModelConfigurationModalities>
976
- | null
977
- | undefined;
978
- /**
979
- * A list of guardrails to apply to the request.
980
- */
981
- guardrails?:
982
- | Array<ListAgentsFallbackModelConfigurationGuardrails>
983
- | undefined;
984
- /**
985
- * Array of fallback models to use if primary model fails
986
- */
987
- fallbacks?: Array<ListAgentsFallbackModelConfigurationFallbacks> | undefined;
988
- /**
989
- * Cache configuration for the request.
990
- */
991
- cache?: ListAgentsFallbackModelConfigurationCache | undefined;
992
- /**
993
- * Load balancer configuration for the request.
994
- */
995
- loadBalancer?: ListAgentsLoadBalancerAgents1 | undefined;
996
- /**
997
- * 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.
998
- */
999
- timeout?: ListAgentsFallbackModelConfigurationTimeout | undefined;
1000
- };
1001
-
1002
- /**
1003
- * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
1004
- */
1005
- export type ListAgentsFallbackModelConfigurationRetry = {
1006
- /**
1007
- * Number of retry attempts (1-5)
1008
- */
1009
- count: number;
1010
- /**
1011
- * HTTP status codes that trigger retry logic
1012
- */
1013
- onCodes?: Array<number> | undefined;
1014
- };
1015
-
1016
- /**
1017
- * Fallback model configuration with optional parameters and retry settings.
1018
- */
1019
- export type ListAgentsFallbackModelConfiguration2 = {
1020
- /**
1021
- * A fallback model ID string. Must support tool calling.
1022
- */
1023
- id: string;
1024
- /**
1025
- * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
1026
- */
1027
- parameters?: ListAgentsFallbackModelConfigurationParameters | undefined;
1028
- /**
1029
- * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
1030
- */
1031
- retry?: ListAgentsFallbackModelConfigurationRetry | undefined;
1032
- };
1033
-
1034
- /**
1035
- * 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.
1036
- */
1037
- export type ListAgentsFallbackModelConfiguration =
1038
- | ListAgentsFallbackModelConfiguration2
1039
- | string;
1040
-
1041
- export type ListAgentsModel = {
1042
- /**
1043
- * The database ID of the primary model
1044
- */
1045
- id: string;
1046
- /**
1047
- * Optional integration ID for custom model configurations
1048
- */
1049
- integrationId?: string | null | undefined;
1050
- /**
1051
- * 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.
1052
- */
1053
- parameters?: ListAgentsParameters | undefined;
1054
- /**
1055
- * 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).
1056
- */
1057
- retry?: ListAgentsRetry | undefined;
1058
- /**
1059
- * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
1060
- */
1061
- fallbackModels?:
1062
- | Array<ListAgentsFallbackModelConfiguration2 | string>
1063
- | null
1064
- | undefined;
1065
- };
1066
-
1067
- export type ListAgentsData = {
1068
- id: string;
1069
- /**
1070
- * Unique identifier for the agent within the workspace
1071
- */
1072
- key: string;
1073
- displayName?: string | undefined;
1074
- createdById?: string | null | undefined;
1075
- updatedById?: string | null | undefined;
1076
- created?: string | undefined;
1077
- updated?: string | undefined;
1078
- /**
1079
- * 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.
1080
- */
1081
- status: ListAgentsStatus;
1082
- /**
1083
- * Current semantic version of the agent manifest.
1084
- */
1085
- version?: string | undefined;
1086
- /**
1087
- * Entity storage path.
1088
- *
1089
- * @remarks
1090
- *
1091
- * 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`.
1092
- *
1093
- * 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.
1094
- */
1095
- path: string;
1096
- /**
1097
- * Array of memory store identifiers. Accepts both memory store IDs and keys.
1098
- */
1099
- memoryStores?: Array<string> | undefined;
1100
- /**
1101
- * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1102
- */
1103
- teamOfAgents?: Array<ListAgentsTeamOfAgents> | undefined;
1104
- /**
1105
- * 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.
1106
- */
1107
- skills: Array<string>;
1108
- metrics?: ListAgentsMetrics | undefined;
1109
- /**
1110
- * Extracted variables from agent instructions
1111
- */
1112
- variables?: { [k: string]: any } | undefined;
1113
- /**
1114
- * Agent knowledge bases reference
1115
- */
1116
- knowledgeBases?: Array<ListAgentsKnowledgeBases> | undefined;
1117
- source?: ListAgentsSource | undefined;
1118
- engine: ListAgentsEngine;
1119
- /**
1120
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1121
- */
1122
- type: ListAgentsType;
1123
- role: string;
1124
- description: string;
1125
- systemPrompt?: string | null | undefined;
1126
- instructions: string;
1127
- settings?: ListAgentsSettings | undefined;
1128
- model: ListAgentsModel;
1129
- };
1130
-
1131
- /**
1132
- * 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.
1133
- */
1134
- export type ListAgentsResponseBody = {
1135
- object: ListAgentsObject;
1136
- data: Array<ListAgentsData>;
1137
- hasMore: boolean;
1138
- };
1139
-
1140
- /** @internal */
1141
- export const QueryParamType$outboundSchema: z.ZodNativeEnum<
1142
- typeof QueryParamType
1143
- > = z.nativeEnum(QueryParamType);
1144
-
1145
- /** @internal */
1146
- export type ListAgentsRequest$Outbound = {
1147
- limit?: number | undefined;
1148
- starting_after?: string | undefined;
1149
- ending_before?: string | undefined;
1150
- type?: string | undefined;
1151
- };
1152
-
1153
- /** @internal */
1154
- export const ListAgentsRequest$outboundSchema: z.ZodType<
1155
- ListAgentsRequest$Outbound,
1156
- z.ZodTypeDef,
1157
- ListAgentsRequest
1158
- > = z.object({
1159
- limit: z.number().optional(),
1160
- startingAfter: z.string().optional(),
1161
- endingBefore: z.string().optional(),
1162
- type: QueryParamType$outboundSchema.optional(),
1163
- }).transform((v) => {
1164
- return remap$(v, {
1165
- startingAfter: "starting_after",
1166
- endingBefore: "ending_before",
1167
- });
1168
- });
1169
-
1170
- export function listAgentsRequestToJSON(
1171
- listAgentsRequest: ListAgentsRequest,
1172
- ): string {
1173
- return JSON.stringify(
1174
- ListAgentsRequest$outboundSchema.parse(listAgentsRequest),
1175
- );
1176
- }
1177
-
1178
- /** @internal */
1179
- export const ListAgentsObject$inboundSchema: z.ZodNativeEnum<
1180
- typeof ListAgentsObject
1181
- > = z.nativeEnum(ListAgentsObject);
1182
-
1183
- /** @internal */
1184
- export const ListAgentsStatus$inboundSchema: z.ZodNativeEnum<
1185
- typeof ListAgentsStatus
1186
- > = z.nativeEnum(ListAgentsStatus);
1187
-
1188
- /** @internal */
1189
- export const ListAgentsTeamOfAgents$inboundSchema: z.ZodType<
1190
- ListAgentsTeamOfAgents,
1191
- z.ZodTypeDef,
1192
- unknown
1193
- > = z.object({
1194
- key: z.string(),
1195
- role: z.string().optional(),
1196
- });
1197
-
1198
- export function listAgentsTeamOfAgentsFromJSON(
1199
- jsonString: string,
1200
- ): SafeParseResult<ListAgentsTeamOfAgents, SDKValidationError> {
1201
- return safeParse(
1202
- jsonString,
1203
- (x) => ListAgentsTeamOfAgents$inboundSchema.parse(JSON.parse(x)),
1204
- `Failed to parse 'ListAgentsTeamOfAgents' from JSON`,
1205
- );
1206
- }
1207
-
1208
- /** @internal */
1209
- export const ListAgentsMetrics$inboundSchema: z.ZodType<
1210
- ListAgentsMetrics,
1211
- z.ZodTypeDef,
1212
- unknown
1213
- > = z.object({
1214
- total_cost: z.number().default(0),
1215
- }).transform((v) => {
1216
- return remap$(v, {
1217
- "total_cost": "totalCost",
1218
- });
1219
- });
1220
-
1221
- export function listAgentsMetricsFromJSON(
1222
- jsonString: string,
1223
- ): SafeParseResult<ListAgentsMetrics, SDKValidationError> {
1224
- return safeParse(
1225
- jsonString,
1226
- (x) => ListAgentsMetrics$inboundSchema.parse(JSON.parse(x)),
1227
- `Failed to parse 'ListAgentsMetrics' from JSON`,
1228
- );
1229
- }
1230
-
1231
- /** @internal */
1232
- export const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<
1233
- ListAgentsKnowledgeBases,
1234
- z.ZodTypeDef,
1235
- unknown
1236
- > = z.object({
1237
- knowledge_id: z.string(),
1238
- }).transform((v) => {
1239
- return remap$(v, {
1240
- "knowledge_id": "knowledgeId",
1241
- });
1242
- });
1243
-
1244
- export function listAgentsKnowledgeBasesFromJSON(
1245
- jsonString: string,
1246
- ): SafeParseResult<ListAgentsKnowledgeBases, SDKValidationError> {
1247
- return safeParse(
1248
- jsonString,
1249
- (x) => ListAgentsKnowledgeBases$inboundSchema.parse(JSON.parse(x)),
1250
- `Failed to parse 'ListAgentsKnowledgeBases' from JSON`,
1251
- );
1252
- }
1253
-
1254
- /** @internal */
1255
- export const ListAgentsSource$inboundSchema: z.ZodNativeEnum<
1256
- typeof ListAgentsSource
1257
- > = z.nativeEnum(ListAgentsSource);
1258
-
1259
- /** @internal */
1260
- export const ListAgentsEngine$inboundSchema: z.ZodNativeEnum<
1261
- typeof ListAgentsEngine
1262
- > = z.nativeEnum(ListAgentsEngine);
1263
-
1264
- /** @internal */
1265
- export const ListAgentsType$inboundSchema: z.ZodNativeEnum<
1266
- typeof ListAgentsType
1267
- > = z.nativeEnum(ListAgentsType);
1268
-
1269
- /** @internal */
1270
- export const ListAgentsToolApprovalRequired$inboundSchema: z.ZodNativeEnum<
1271
- typeof ListAgentsToolApprovalRequired
1272
- > = z.nativeEnum(ListAgentsToolApprovalRequired);
1273
-
1274
- /** @internal */
1275
- export const ListAgentsConditions$inboundSchema: z.ZodType<
1276
- ListAgentsConditions,
1277
- z.ZodTypeDef,
1278
- unknown
1279
- > = z.object({
1280
- condition: z.string(),
1281
- operator: z.string(),
1282
- value: z.string(),
1283
- });
1284
-
1285
- export function listAgentsConditionsFromJSON(
1286
- jsonString: string,
1287
- ): SafeParseResult<ListAgentsConditions, SDKValidationError> {
1288
- return safeParse(
1289
- jsonString,
1290
- (x) => ListAgentsConditions$inboundSchema.parse(JSON.parse(x)),
1291
- `Failed to parse 'ListAgentsConditions' from JSON`,
1292
- );
1293
- }
1294
-
1295
- /** @internal */
1296
- export const ListAgentsTools$inboundSchema: z.ZodType<
1297
- ListAgentsTools,
1298
- z.ZodTypeDef,
1299
- unknown
1300
- > = z.object({
1301
- id: z.string(),
1302
- key: z.string().optional(),
1303
- action_type: z.string(),
1304
- display_name: z.string().optional(),
1305
- description: z.string().optional(),
1306
- requires_approval: z.boolean().default(false),
1307
- tool_id: z.string().optional(),
1308
- conditions: z.array(z.lazy(() => ListAgentsConditions$inboundSchema))
1309
- .optional(),
1310
- timeout: z.number().default(120),
1311
- }).transform((v) => {
1312
- return remap$(v, {
1313
- "action_type": "actionType",
1314
- "display_name": "displayName",
1315
- "requires_approval": "requiresApproval",
1316
- "tool_id": "toolId",
1317
- });
1318
- });
1319
-
1320
- export function listAgentsToolsFromJSON(
1321
- jsonString: string,
1322
- ): SafeParseResult<ListAgentsTools, SDKValidationError> {
1323
- return safeParse(
1324
- jsonString,
1325
- (x) => ListAgentsTools$inboundSchema.parse(JSON.parse(x)),
1326
- `Failed to parse 'ListAgentsTools' from JSON`,
1327
- );
1328
- }
1329
-
1330
- /** @internal */
1331
- export const ListAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<
1332
- typeof ListAgentsExecuteOn
1333
- > = z.nativeEnum(ListAgentsExecuteOn);
1334
-
1335
- /** @internal */
1336
- export const ListAgentsEvaluators$inboundSchema: z.ZodType<
1337
- ListAgentsEvaluators,
1338
- z.ZodTypeDef,
1339
- unknown
1340
- > = z.object({
1341
- id: z.string(),
1342
- sample_rate: z.number().default(50),
1343
- execute_on: ListAgentsExecuteOn$inboundSchema,
1344
- }).transform((v) => {
1345
- return remap$(v, {
1346
- "sample_rate": "sampleRate",
1347
- "execute_on": "executeOn",
1348
- });
1349
- });
1350
-
1351
- export function listAgentsEvaluatorsFromJSON(
1352
- jsonString: string,
1353
- ): SafeParseResult<ListAgentsEvaluators, SDKValidationError> {
1354
- return safeParse(
1355
- jsonString,
1356
- (x) => ListAgentsEvaluators$inboundSchema.parse(JSON.parse(x)),
1357
- `Failed to parse 'ListAgentsEvaluators' from JSON`,
1358
- );
1359
- }
1360
-
1361
- /** @internal */
1362
- export const ListAgentsAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<
1363
- typeof ListAgentsAgentsExecuteOn
1364
- > = z.nativeEnum(ListAgentsAgentsExecuteOn);
1365
-
1366
- /** @internal */
1367
- export const ListAgentsGuardrails$inboundSchema: z.ZodType<
1368
- ListAgentsGuardrails,
1369
- z.ZodTypeDef,
1370
- unknown
1371
- > = z.object({
1372
- id: z.string(),
1373
- sample_rate: z.number().default(50),
1374
- execute_on: ListAgentsAgentsExecuteOn$inboundSchema,
1375
- }).transform((v) => {
1376
- return remap$(v, {
1377
- "sample_rate": "sampleRate",
1378
- "execute_on": "executeOn",
1379
- });
1380
- });
1381
-
1382
- export function listAgentsGuardrailsFromJSON(
1383
- jsonString: string,
1384
- ): SafeParseResult<ListAgentsGuardrails, SDKValidationError> {
1385
- return safeParse(
1386
- jsonString,
1387
- (x) => ListAgentsGuardrails$inboundSchema.parse(JSON.parse(x)),
1388
- `Failed to parse 'ListAgentsGuardrails' from JSON`,
1389
- );
1390
- }
1391
-
1392
- /** @internal */
1393
- export const ListAgentsSettings$inboundSchema: z.ZodType<
1394
- ListAgentsSettings,
1395
- z.ZodTypeDef,
1396
- unknown
1397
- > = z.object({
1398
- max_iterations: z.number().int().default(100),
1399
- max_execution_time: z.number().int().default(600),
1400
- max_cost: z.number().default(0),
1401
- tool_approval_required: ListAgentsToolApprovalRequired$inboundSchema.default(
1402
- "respect_tool",
1403
- ),
1404
- tools: z.array(z.lazy(() => ListAgentsTools$inboundSchema)).optional(),
1405
- evaluators: z.array(z.lazy(() => ListAgentsEvaluators$inboundSchema))
1406
- .optional(),
1407
- guardrails: z.array(z.lazy(() => ListAgentsGuardrails$inboundSchema))
1408
- .optional(),
1409
- }).transform((v) => {
1410
- return remap$(v, {
1411
- "max_iterations": "maxIterations",
1412
- "max_execution_time": "maxExecutionTime",
1413
- "max_cost": "maxCost",
1414
- "tool_approval_required": "toolApprovalRequired",
1415
- });
1416
- });
1417
-
1418
- export function listAgentsSettingsFromJSON(
1419
- jsonString: string,
1420
- ): SafeParseResult<ListAgentsSettings, SDKValidationError> {
1421
- return safeParse(
1422
- jsonString,
1423
- (x) => ListAgentsSettings$inboundSchema.parse(JSON.parse(x)),
1424
- `Failed to parse 'ListAgentsSettings' from JSON`,
1425
- );
1426
- }
1427
-
1428
- /** @internal */
1429
- export const ListAgentsResponseFormatJsonSchema$inboundSchema: z.ZodType<
1430
- ListAgentsResponseFormatJsonSchema,
1431
- z.ZodTypeDef,
1432
- unknown
1433
- > = z.object({
1434
- description: z.string().optional(),
1435
- name: z.string(),
1436
- schema: z.any().optional(),
1437
- strict: z.boolean().default(false),
1438
- });
1439
-
1440
- export function listAgentsResponseFormatJsonSchemaFromJSON(
1441
- jsonString: string,
1442
- ): SafeParseResult<ListAgentsResponseFormatJsonSchema, SDKValidationError> {
1443
- return safeParse(
1444
- jsonString,
1445
- (x) =>
1446
- ListAgentsResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
1447
- `Failed to parse 'ListAgentsResponseFormatJsonSchema' from JSON`,
1448
- );
1449
- }
1450
-
1451
- /** @internal */
1452
- export const ListAgentsResponseFormatAgentsJSONSchema$inboundSchema: z.ZodType<
1453
- ListAgentsResponseFormatAgentsJSONSchema,
1454
- z.ZodTypeDef,
1455
- unknown
1456
- > = z.object({
1457
- type: z.literal("json_schema"),
1458
- json_schema: z.lazy(() => ListAgentsResponseFormatJsonSchema$inboundSchema),
1459
- }).transform((v) => {
1460
- return remap$(v, {
1461
- "json_schema": "jsonSchema",
1462
- });
1463
- });
1464
-
1465
- export function listAgentsResponseFormatAgentsJSONSchemaFromJSON(
1466
- jsonString: string,
1467
- ): SafeParseResult<
1468
- ListAgentsResponseFormatAgentsJSONSchema,
1469
- SDKValidationError
1470
- > {
1471
- return safeParse(
1472
- jsonString,
1473
- (x) =>
1474
- ListAgentsResponseFormatAgentsJSONSchema$inboundSchema.parse(
1475
- JSON.parse(x),
1476
- ),
1477
- `Failed to parse 'ListAgentsResponseFormatAgentsJSONSchema' from JSON`,
1478
- );
1479
- }
1480
-
1481
- /** @internal */
1482
- export const ListAgentsResponseFormatJSONObject$inboundSchema: z.ZodType<
1483
- ListAgentsResponseFormatJSONObject,
1484
- z.ZodTypeDef,
1485
- unknown
1486
- > = z.object({
1487
- type: z.literal("json_object"),
1488
- });
1489
-
1490
- export function listAgentsResponseFormatJSONObjectFromJSON(
1491
- jsonString: string,
1492
- ): SafeParseResult<ListAgentsResponseFormatJSONObject, SDKValidationError> {
1493
- return safeParse(
1494
- jsonString,
1495
- (x) =>
1496
- ListAgentsResponseFormatJSONObject$inboundSchema.parse(JSON.parse(x)),
1497
- `Failed to parse 'ListAgentsResponseFormatJSONObject' from JSON`,
1498
- );
1499
- }
1500
-
1501
- /** @internal */
1502
- export const ListAgentsResponseFormatText$inboundSchema: z.ZodType<
1503
- ListAgentsResponseFormatText,
1504
- z.ZodTypeDef,
1505
- unknown
1506
- > = z.object({
1507
- type: z.literal("text"),
1508
- });
1509
-
1510
- export function listAgentsResponseFormatTextFromJSON(
1511
- jsonString: string,
1512
- ): SafeParseResult<ListAgentsResponseFormatText, SDKValidationError> {
1513
- return safeParse(
1514
- jsonString,
1515
- (x) => ListAgentsResponseFormatText$inboundSchema.parse(JSON.parse(x)),
1516
- `Failed to parse 'ListAgentsResponseFormatText' from JSON`,
1517
- );
1518
- }
1519
-
1520
- /** @internal */
1521
- export const ListAgentsResponseFormat$inboundSchema: z.ZodType<
1522
- ListAgentsResponseFormat,
1523
- z.ZodTypeDef,
1524
- unknown
1525
- > = z.union([
1526
- z.lazy(() => ListAgentsResponseFormatText$inboundSchema),
1527
- z.lazy(() => ListAgentsResponseFormatJSONObject$inboundSchema),
1528
- z.lazy(() => ListAgentsResponseFormatAgentsJSONSchema$inboundSchema),
1529
- ]);
1530
-
1531
- export function listAgentsResponseFormatFromJSON(
1532
- jsonString: string,
1533
- ): SafeParseResult<ListAgentsResponseFormat, SDKValidationError> {
1534
- return safeParse(
1535
- jsonString,
1536
- (x) => ListAgentsResponseFormat$inboundSchema.parse(JSON.parse(x)),
1537
- `Failed to parse 'ListAgentsResponseFormat' from JSON`,
1538
- );
1539
- }
1540
-
1541
- /** @internal */
1542
- export const ListAgentsReasoningEffort$inboundSchema: z.ZodNativeEnum<
1543
- typeof ListAgentsReasoningEffort
1544
- > = z.nativeEnum(ListAgentsReasoningEffort);
1545
-
1546
- /** @internal */
1547
- export const ListAgentsStop$inboundSchema: z.ZodType<
1548
- ListAgentsStop,
1549
- z.ZodTypeDef,
1550
- unknown
1551
- > = z.union([z.string(), z.array(z.string())]);
1552
-
1553
- export function listAgentsStopFromJSON(
1554
- jsonString: string,
1555
- ): SafeParseResult<ListAgentsStop, SDKValidationError> {
1556
- return safeParse(
1557
- jsonString,
1558
- (x) => ListAgentsStop$inboundSchema.parse(JSON.parse(x)),
1559
- `Failed to parse 'ListAgentsStop' from JSON`,
1560
- );
1561
- }
1562
-
1563
- /** @internal */
1564
- export const ListAgentsThinking$inboundSchema: z.ZodType<
1565
- ListAgentsThinking,
1566
- z.ZodTypeDef,
1567
- unknown
1568
- > = z.union([
1569
- components.ThinkingConfigDisabledSchema$inboundSchema,
1570
- components.ThinkingConfigEnabledSchema$inboundSchema,
1571
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
1572
- ]);
1573
-
1574
- export function listAgentsThinkingFromJSON(
1575
- jsonString: string,
1576
- ): SafeParseResult<ListAgentsThinking, SDKValidationError> {
1577
- return safeParse(
1578
- jsonString,
1579
- (x) => ListAgentsThinking$inboundSchema.parse(JSON.parse(x)),
1580
- `Failed to parse 'ListAgentsThinking' from JSON`,
1581
- );
1582
- }
1583
-
1584
- /** @internal */
1585
- export const ListAgentsToolChoiceType$inboundSchema: z.ZodNativeEnum<
1586
- typeof ListAgentsToolChoiceType
1587
- > = z.nativeEnum(ListAgentsToolChoiceType);
1588
-
1589
- /** @internal */
1590
- export const ListAgentsToolChoiceFunction$inboundSchema: z.ZodType<
1591
- ListAgentsToolChoiceFunction,
1592
- z.ZodTypeDef,
1593
- unknown
1594
- > = z.object({
1595
- name: z.string(),
1596
- });
1597
-
1598
- export function listAgentsToolChoiceFunctionFromJSON(
1599
- jsonString: string,
1600
- ): SafeParseResult<ListAgentsToolChoiceFunction, SDKValidationError> {
1601
- return safeParse(
1602
- jsonString,
1603
- (x) => ListAgentsToolChoiceFunction$inboundSchema.parse(JSON.parse(x)),
1604
- `Failed to parse 'ListAgentsToolChoiceFunction' from JSON`,
1605
- );
1606
- }
1607
-
1608
- /** @internal */
1609
- export const ListAgentsToolChoice2$inboundSchema: z.ZodType<
1610
- ListAgentsToolChoice2,
1611
- z.ZodTypeDef,
1612
- unknown
1613
- > = z.object({
1614
- type: ListAgentsToolChoiceType$inboundSchema.optional(),
1615
- function: z.lazy(() => ListAgentsToolChoiceFunction$inboundSchema),
1616
- });
1617
-
1618
- export function listAgentsToolChoice2FromJSON(
1619
- jsonString: string,
1620
- ): SafeParseResult<ListAgentsToolChoice2, SDKValidationError> {
1621
- return safeParse(
1622
- jsonString,
1623
- (x) => ListAgentsToolChoice2$inboundSchema.parse(JSON.parse(x)),
1624
- `Failed to parse 'ListAgentsToolChoice2' from JSON`,
1625
- );
1626
- }
1627
-
1628
- /** @internal */
1629
- export const ListAgentsToolChoice1$inboundSchema: z.ZodNativeEnum<
1630
- typeof ListAgentsToolChoice1
1631
- > = z.nativeEnum(ListAgentsToolChoice1);
1632
-
1633
- /** @internal */
1634
- export const ListAgentsToolChoice$inboundSchema: z.ZodType<
1635
- ListAgentsToolChoice,
1636
- z.ZodTypeDef,
1637
- unknown
1638
- > = z.union([
1639
- z.lazy(() => ListAgentsToolChoice2$inboundSchema),
1640
- ListAgentsToolChoice1$inboundSchema,
1641
- ]);
1642
-
1643
- export function listAgentsToolChoiceFromJSON(
1644
- jsonString: string,
1645
- ): SafeParseResult<ListAgentsToolChoice, SDKValidationError> {
1646
- return safeParse(
1647
- jsonString,
1648
- (x) => ListAgentsToolChoice$inboundSchema.parse(JSON.parse(x)),
1649
- `Failed to parse 'ListAgentsToolChoice' from JSON`,
1650
- );
1651
- }
1652
-
1653
- /** @internal */
1654
- export const ListAgentsModalities$inboundSchema: z.ZodNativeEnum<
1655
- typeof ListAgentsModalities
1656
- > = z.nativeEnum(ListAgentsModalities);
1657
-
1658
- /** @internal */
1659
- export const ListAgentsId1$inboundSchema: z.ZodNativeEnum<
1660
- typeof ListAgentsId1
1661
- > = z.nativeEnum(ListAgentsId1);
1662
-
1663
- /** @internal */
1664
- export const ListAgentsId$inboundSchema: z.ZodType<
1665
- ListAgentsId,
1666
- z.ZodTypeDef,
1667
- unknown
1668
- > = z.union([ListAgentsId1$inboundSchema, z.string()]);
1669
-
1670
- export function listAgentsIdFromJSON(
1671
- jsonString: string,
1672
- ): SafeParseResult<ListAgentsId, SDKValidationError> {
1673
- return safeParse(
1674
- jsonString,
1675
- (x) => ListAgentsId$inboundSchema.parse(JSON.parse(x)),
1676
- `Failed to parse 'ListAgentsId' from JSON`,
1677
- );
1678
- }
1679
-
1680
- /** @internal */
1681
- export const ListAgentsAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<
1682
- typeof ListAgentsAgentsResponseExecuteOn
1683
- > = z.nativeEnum(ListAgentsAgentsResponseExecuteOn);
1684
-
1685
- /** @internal */
1686
- export const ListAgentsAgentsGuardrails$inboundSchema: z.ZodType<
1687
- ListAgentsAgentsGuardrails,
1688
- z.ZodTypeDef,
1689
- unknown
1690
- > = z.object({
1691
- id: z.union([ListAgentsId1$inboundSchema, z.string()]),
1692
- execute_on: ListAgentsAgentsResponseExecuteOn$inboundSchema,
1693
- }).transform((v) => {
1694
- return remap$(v, {
1695
- "execute_on": "executeOn",
1696
- });
1697
- });
1698
-
1699
- export function listAgentsAgentsGuardrailsFromJSON(
1700
- jsonString: string,
1701
- ): SafeParseResult<ListAgentsAgentsGuardrails, SDKValidationError> {
1702
- return safeParse(
1703
- jsonString,
1704
- (x) => ListAgentsAgentsGuardrails$inboundSchema.parse(JSON.parse(x)),
1705
- `Failed to parse 'ListAgentsAgentsGuardrails' from JSON`,
1706
- );
1707
- }
1708
-
1709
- /** @internal */
1710
- export const ListAgentsFallbacks$inboundSchema: z.ZodType<
1711
- ListAgentsFallbacks,
1712
- z.ZodTypeDef,
1713
- unknown
1714
- > = z.object({
1715
- model: z.string(),
1716
- });
1717
-
1718
- export function listAgentsFallbacksFromJSON(
1719
- jsonString: string,
1720
- ): SafeParseResult<ListAgentsFallbacks, SDKValidationError> {
1721
- return safeParse(
1722
- jsonString,
1723
- (x) => ListAgentsFallbacks$inboundSchema.parse(JSON.parse(x)),
1724
- `Failed to parse 'ListAgentsFallbacks' from JSON`,
1725
- );
1726
- }
1727
-
1728
- /** @internal */
1729
- export const ListAgentsAgentsType$inboundSchema: z.ZodNativeEnum<
1730
- typeof ListAgentsAgentsType
1731
- > = z.nativeEnum(ListAgentsAgentsType);
1732
-
1733
- /** @internal */
1734
- export const ListAgentsCache$inboundSchema: z.ZodType<
1735
- ListAgentsCache,
1736
- z.ZodTypeDef,
1737
- unknown
1738
- > = z.object({
1739
- ttl: z.number().default(1800),
1740
- type: ListAgentsAgentsType$inboundSchema,
1741
- });
1742
-
1743
- export function listAgentsCacheFromJSON(
1744
- jsonString: string,
1745
- ): SafeParseResult<ListAgentsCache, SDKValidationError> {
1746
- return safeParse(
1747
- jsonString,
1748
- (x) => ListAgentsCache$inboundSchema.parse(JSON.parse(x)),
1749
- `Failed to parse 'ListAgentsCache' from JSON`,
1750
- );
1751
- }
1752
-
1753
- /** @internal */
1754
- export const ListAgentsLoadBalancerType$inboundSchema: z.ZodNativeEnum<
1755
- typeof ListAgentsLoadBalancerType
1756
- > = z.nativeEnum(ListAgentsLoadBalancerType);
1757
-
1758
- /** @internal */
1759
- export const ListAgentsLoadBalancerModels$inboundSchema: z.ZodType<
1760
- ListAgentsLoadBalancerModels,
1761
- z.ZodTypeDef,
1762
- unknown
1763
- > = z.object({
1764
- model: z.string(),
1765
- weight: z.number().default(0.5),
1766
- });
1767
-
1768
- export function listAgentsLoadBalancerModelsFromJSON(
1769
- jsonString: string,
1770
- ): SafeParseResult<ListAgentsLoadBalancerModels, SDKValidationError> {
1771
- return safeParse(
1772
- jsonString,
1773
- (x) => ListAgentsLoadBalancerModels$inboundSchema.parse(JSON.parse(x)),
1774
- `Failed to parse 'ListAgentsLoadBalancerModels' from JSON`,
1775
- );
1776
- }
1777
-
1778
- /** @internal */
1779
- export const ListAgentsLoadBalancer1$inboundSchema: z.ZodType<
1780
- ListAgentsLoadBalancer1,
1781
- z.ZodTypeDef,
1782
- unknown
1783
- > = z.object({
1784
- type: ListAgentsLoadBalancerType$inboundSchema,
1785
- models: z.array(z.lazy(() => ListAgentsLoadBalancerModels$inboundSchema)),
1786
- });
1787
-
1788
- export function listAgentsLoadBalancer1FromJSON(
1789
- jsonString: string,
1790
- ): SafeParseResult<ListAgentsLoadBalancer1, SDKValidationError> {
1791
- return safeParse(
1792
- jsonString,
1793
- (x) => ListAgentsLoadBalancer1$inboundSchema.parse(JSON.parse(x)),
1794
- `Failed to parse 'ListAgentsLoadBalancer1' from JSON`,
1795
- );
1796
- }
1797
-
1798
- /** @internal */
1799
- export const ListAgentsLoadBalancer$inboundSchema: z.ZodType<
1800
- ListAgentsLoadBalancer,
1801
- z.ZodTypeDef,
1802
- unknown
1803
- > = z.lazy(() => ListAgentsLoadBalancer1$inboundSchema);
1804
-
1805
- export function listAgentsLoadBalancerFromJSON(
1806
- jsonString: string,
1807
- ): SafeParseResult<ListAgentsLoadBalancer, SDKValidationError> {
1808
- return safeParse(
1809
- jsonString,
1810
- (x) => ListAgentsLoadBalancer$inboundSchema.parse(JSON.parse(x)),
1811
- `Failed to parse 'ListAgentsLoadBalancer' from JSON`,
1812
- );
1813
- }
1814
-
1815
- /** @internal */
1816
- export const ListAgentsTimeout$inboundSchema: z.ZodType<
1817
- ListAgentsTimeout,
1818
- z.ZodTypeDef,
1819
- unknown
1820
- > = z.object({
1821
- call_timeout: z.number(),
1822
- }).transform((v) => {
1823
- return remap$(v, {
1824
- "call_timeout": "callTimeout",
1825
- });
1826
- });
1827
-
1828
- export function listAgentsTimeoutFromJSON(
1829
- jsonString: string,
1830
- ): SafeParseResult<ListAgentsTimeout, SDKValidationError> {
1831
- return safeParse(
1832
- jsonString,
1833
- (x) => ListAgentsTimeout$inboundSchema.parse(JSON.parse(x)),
1834
- `Failed to parse 'ListAgentsTimeout' from JSON`,
1835
- );
1836
- }
1837
-
1838
- /** @internal */
1839
- export const ListAgentsParameters$inboundSchema: z.ZodType<
1840
- ListAgentsParameters,
1841
- z.ZodTypeDef,
1842
- unknown
1843
- > = z.object({
1844
- name: z.string().optional(),
1845
- frequency_penalty: z.nullable(z.number()).optional(),
1846
- max_tokens: z.nullable(z.number().int()).optional(),
1847
- max_completion_tokens: z.nullable(z.number().int()).optional(),
1848
- presence_penalty: z.nullable(z.number()).optional(),
1849
- response_format: z.union([
1850
- z.lazy(() => ListAgentsResponseFormatText$inboundSchema),
1851
- z.lazy(() => ListAgentsResponseFormatJSONObject$inboundSchema),
1852
- z.lazy(() => ListAgentsResponseFormatAgentsJSONSchema$inboundSchema),
1853
- ]).optional(),
1854
- reasoning_effort: ListAgentsReasoningEffort$inboundSchema.optional(),
1855
- verbosity: z.string().optional(),
1856
- seed: z.nullable(z.number()).optional(),
1857
- stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
1858
- thinking: z.union([
1859
- components.ThinkingConfigDisabledSchema$inboundSchema,
1860
- components.ThinkingConfigEnabledSchema$inboundSchema,
1861
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
1862
- ]).optional(),
1863
- temperature: z.nullable(z.number()).optional(),
1864
- top_p: z.nullable(z.number()).optional(),
1865
- top_k: z.nullable(z.number()).optional(),
1866
- tool_choice: z.union([
1867
- z.lazy(() => ListAgentsToolChoice2$inboundSchema),
1868
- ListAgentsToolChoice1$inboundSchema,
1869
- ]).optional(),
1870
- parallel_tool_calls: z.boolean().optional(),
1871
- modalities: z.nullable(z.array(ListAgentsModalities$inboundSchema))
1872
- .optional(),
1873
- guardrails: z.array(z.lazy(() => ListAgentsAgentsGuardrails$inboundSchema))
1874
- .optional(),
1875
- fallbacks: z.array(z.lazy(() => ListAgentsFallbacks$inboundSchema))
1876
- .optional(),
1877
- cache: z.lazy(() => ListAgentsCache$inboundSchema).optional(),
1878
- load_balancer: z.lazy(() => ListAgentsLoadBalancer1$inboundSchema).optional(),
1879
- timeout: z.lazy(() => ListAgentsTimeout$inboundSchema).optional(),
1880
- }).transform((v) => {
1881
- return remap$(v, {
1882
- "frequency_penalty": "frequencyPenalty",
1883
- "max_tokens": "maxTokens",
1884
- "max_completion_tokens": "maxCompletionTokens",
1885
- "presence_penalty": "presencePenalty",
1886
- "response_format": "responseFormat",
1887
- "reasoning_effort": "reasoningEffort",
1888
- "top_p": "topP",
1889
- "top_k": "topK",
1890
- "tool_choice": "toolChoice",
1891
- "parallel_tool_calls": "parallelToolCalls",
1892
- "load_balancer": "loadBalancer",
1893
- });
1894
- });
1895
-
1896
- export function listAgentsParametersFromJSON(
1897
- jsonString: string,
1898
- ): SafeParseResult<ListAgentsParameters, SDKValidationError> {
1899
- return safeParse(
1900
- jsonString,
1901
- (x) => ListAgentsParameters$inboundSchema.parse(JSON.parse(x)),
1902
- `Failed to parse 'ListAgentsParameters' from JSON`,
1903
- );
1904
- }
1905
-
1906
- /** @internal */
1907
- export const ListAgentsRetry$inboundSchema: z.ZodType<
1908
- ListAgentsRetry,
1909
- z.ZodTypeDef,
1910
- unknown
1911
- > = z.object({
1912
- count: z.number().default(3),
1913
- on_codes: z.array(z.number()).optional(),
1914
- }).transform((v) => {
1915
- return remap$(v, {
1916
- "on_codes": "onCodes",
1917
- });
1918
- });
1919
-
1920
- export function listAgentsRetryFromJSON(
1921
- jsonString: string,
1922
- ): SafeParseResult<ListAgentsRetry, SDKValidationError> {
1923
- return safeParse(
1924
- jsonString,
1925
- (x) => ListAgentsRetry$inboundSchema.parse(JSON.parse(x)),
1926
- `Failed to parse 'ListAgentsRetry' from JSON`,
1927
- );
1928
- }
1929
-
1930
- /** @internal */
1931
- export const ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema:
1932
- z.ZodType<
1933
- ListAgentsResponseFormatAgentsResponseJsonSchema,
1934
- z.ZodTypeDef,
1935
- unknown
1936
- > = z.object({
1937
- description: z.string().optional(),
1938
- name: z.string(),
1939
- schema: z.any().optional(),
1940
- strict: z.boolean().default(false),
1941
- });
1942
-
1943
- export function listAgentsResponseFormatAgentsResponseJsonSchemaFromJSON(
1944
- jsonString: string,
1945
- ): SafeParseResult<
1946
- ListAgentsResponseFormatAgentsResponseJsonSchema,
1947
- SDKValidationError
1948
- > {
1949
- return safeParse(
1950
- jsonString,
1951
- (x) =>
1952
- ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema.parse(
1953
- JSON.parse(x),
1954
- ),
1955
- `Failed to parse 'ListAgentsResponseFormatAgentsResponseJsonSchema' from JSON`,
1956
- );
1957
- }
1958
-
1959
- /** @internal */
1960
- export const ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema:
1961
- z.ZodType<
1962
- ListAgentsResponseFormatAgentsResponse200JSONSchema,
1963
- z.ZodTypeDef,
1964
- unknown
1965
- > = z.object({
1966
- type: z.literal("json_schema"),
1967
- json_schema: z.lazy(() =>
1968
- ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema
1969
- ),
1970
- }).transform((v) => {
1971
- return remap$(v, {
1972
- "json_schema": "jsonSchema",
1973
- });
1974
- });
1975
-
1976
- export function listAgentsResponseFormatAgentsResponse200JSONSchemaFromJSON(
1977
- jsonString: string,
1978
- ): SafeParseResult<
1979
- ListAgentsResponseFormatAgentsResponse200JSONSchema,
1980
- SDKValidationError
1981
- > {
1982
- return safeParse(
1983
- jsonString,
1984
- (x) =>
1985
- ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema.parse(
1986
- JSON.parse(x),
1987
- ),
1988
- `Failed to parse 'ListAgentsResponseFormatAgentsResponse200JSONSchema' from JSON`,
1989
- );
1990
- }
1991
-
1992
- /** @internal */
1993
- export const ListAgentsResponseFormatAgentsJSONObject$inboundSchema: z.ZodType<
1994
- ListAgentsResponseFormatAgentsJSONObject,
1995
- z.ZodTypeDef,
1996
- unknown
1997
- > = z.object({
1998
- type: z.literal("json_object"),
1999
- });
2000
-
2001
- export function listAgentsResponseFormatAgentsJSONObjectFromJSON(
2002
- jsonString: string,
2003
- ): SafeParseResult<
2004
- ListAgentsResponseFormatAgentsJSONObject,
2005
- SDKValidationError
2006
- > {
2007
- return safeParse(
2008
- jsonString,
2009
- (x) =>
2010
- ListAgentsResponseFormatAgentsJSONObject$inboundSchema.parse(
2011
- JSON.parse(x),
2012
- ),
2013
- `Failed to parse 'ListAgentsResponseFormatAgentsJSONObject' from JSON`,
2014
- );
2015
- }
2016
-
2017
- /** @internal */
2018
- export const ListAgentsResponseFormatAgentsText$inboundSchema: z.ZodType<
2019
- ListAgentsResponseFormatAgentsText,
2020
- z.ZodTypeDef,
2021
- unknown
2022
- > = z.object({
2023
- type: z.literal("text"),
2024
- });
2025
-
2026
- export function listAgentsResponseFormatAgentsTextFromJSON(
2027
- jsonString: string,
2028
- ): SafeParseResult<ListAgentsResponseFormatAgentsText, SDKValidationError> {
2029
- return safeParse(
2030
- jsonString,
2031
- (x) =>
2032
- ListAgentsResponseFormatAgentsText$inboundSchema.parse(JSON.parse(x)),
2033
- `Failed to parse 'ListAgentsResponseFormatAgentsText' from JSON`,
2034
- );
2035
- }
2036
-
2037
- /** @internal */
2038
- export const ListAgentsFallbackModelConfigurationResponseFormat$inboundSchema:
2039
- z.ZodType<
2040
- ListAgentsFallbackModelConfigurationResponseFormat,
2041
- z.ZodTypeDef,
2042
- unknown
2043
- > = z.union([
2044
- z.lazy(() => ListAgentsResponseFormatAgentsText$inboundSchema),
2045
- z.lazy(() => ListAgentsResponseFormatAgentsJSONObject$inboundSchema),
2046
- z.lazy(() =>
2047
- ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema
2048
- ),
2049
- ]);
2050
-
2051
- export function listAgentsFallbackModelConfigurationResponseFormatFromJSON(
2052
- jsonString: string,
2053
- ): SafeParseResult<
2054
- ListAgentsFallbackModelConfigurationResponseFormat,
2055
- SDKValidationError
2056
- > {
2057
- return safeParse(
2058
- jsonString,
2059
- (x) =>
2060
- ListAgentsFallbackModelConfigurationResponseFormat$inboundSchema.parse(
2061
- JSON.parse(x),
2062
- ),
2063
- `Failed to parse 'ListAgentsFallbackModelConfigurationResponseFormat' from JSON`,
2064
- );
2065
- }
2066
-
2067
- /** @internal */
2068
- export const ListAgentsFallbackModelConfigurationReasoningEffort$inboundSchema:
2069
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationReasoningEffort> =
2070
- z.nativeEnum(ListAgentsFallbackModelConfigurationReasoningEffort);
2071
-
2072
- /** @internal */
2073
- export const ListAgentsFallbackModelConfigurationStop$inboundSchema: z.ZodType<
2074
- ListAgentsFallbackModelConfigurationStop,
2075
- z.ZodTypeDef,
2076
- unknown
2077
- > = z.union([z.string(), z.array(z.string())]);
2078
-
2079
- export function listAgentsFallbackModelConfigurationStopFromJSON(
2080
- jsonString: string,
2081
- ): SafeParseResult<
2082
- ListAgentsFallbackModelConfigurationStop,
2083
- SDKValidationError
2084
- > {
2085
- return safeParse(
2086
- jsonString,
2087
- (x) =>
2088
- ListAgentsFallbackModelConfigurationStop$inboundSchema.parse(
2089
- JSON.parse(x),
2090
- ),
2091
- `Failed to parse 'ListAgentsFallbackModelConfigurationStop' from JSON`,
2092
- );
2093
- }
2094
-
2095
- /** @internal */
2096
- export const ListAgentsFallbackModelConfigurationThinking$inboundSchema:
2097
- z.ZodType<
2098
- ListAgentsFallbackModelConfigurationThinking,
2099
- z.ZodTypeDef,
2100
- unknown
2101
- > = z.union([
2102
- components.ThinkingConfigDisabledSchema$inboundSchema,
2103
- components.ThinkingConfigEnabledSchema$inboundSchema,
2104
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
2105
- ]);
2106
-
2107
- export function listAgentsFallbackModelConfigurationThinkingFromJSON(
2108
- jsonString: string,
2109
- ): SafeParseResult<
2110
- ListAgentsFallbackModelConfigurationThinking,
2111
- SDKValidationError
2112
- > {
2113
- return safeParse(
2114
- jsonString,
2115
- (x) =>
2116
- ListAgentsFallbackModelConfigurationThinking$inboundSchema.parse(
2117
- JSON.parse(x),
2118
- ),
2119
- `Failed to parse 'ListAgentsFallbackModelConfigurationThinking' from JSON`,
2120
- );
2121
- }
2122
-
2123
- /** @internal */
2124
- export const ListAgentsToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<
2125
- typeof ListAgentsToolChoiceAgentsType
2126
- > = z.nativeEnum(ListAgentsToolChoiceAgentsType);
2127
-
2128
- /** @internal */
2129
- export const ListAgentsToolChoiceAgentsFunction$inboundSchema: z.ZodType<
2130
- ListAgentsToolChoiceAgentsFunction,
2131
- z.ZodTypeDef,
2132
- unknown
2133
- > = z.object({
2134
- name: z.string(),
2135
- });
2136
-
2137
- export function listAgentsToolChoiceAgentsFunctionFromJSON(
2138
- jsonString: string,
2139
- ): SafeParseResult<ListAgentsToolChoiceAgentsFunction, SDKValidationError> {
2140
- return safeParse(
2141
- jsonString,
2142
- (x) =>
2143
- ListAgentsToolChoiceAgentsFunction$inboundSchema.parse(JSON.parse(x)),
2144
- `Failed to parse 'ListAgentsToolChoiceAgentsFunction' from JSON`,
2145
- );
2146
- }
2147
-
2148
- /** @internal */
2149
- export const ListAgentsToolChoiceAgents2$inboundSchema: z.ZodType<
2150
- ListAgentsToolChoiceAgents2,
2151
- z.ZodTypeDef,
2152
- unknown
2153
- > = z.object({
2154
- type: ListAgentsToolChoiceAgentsType$inboundSchema.optional(),
2155
- function: z.lazy(() => ListAgentsToolChoiceAgentsFunction$inboundSchema),
2156
- });
2157
-
2158
- export function listAgentsToolChoiceAgents2FromJSON(
2159
- jsonString: string,
2160
- ): SafeParseResult<ListAgentsToolChoiceAgents2, SDKValidationError> {
2161
- return safeParse(
2162
- jsonString,
2163
- (x) => ListAgentsToolChoiceAgents2$inboundSchema.parse(JSON.parse(x)),
2164
- `Failed to parse 'ListAgentsToolChoiceAgents2' from JSON`,
2165
- );
2166
- }
2167
-
2168
- /** @internal */
2169
- export const ListAgentsToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<
2170
- typeof ListAgentsToolChoiceAgents1
2171
- > = z.nativeEnum(ListAgentsToolChoiceAgents1);
2172
-
2173
- /** @internal */
2174
- export const ListAgentsFallbackModelConfigurationToolChoice$inboundSchema:
2175
- z.ZodType<
2176
- ListAgentsFallbackModelConfigurationToolChoice,
2177
- z.ZodTypeDef,
2178
- unknown
2179
- > = z.union([
2180
- z.lazy(() => ListAgentsToolChoiceAgents2$inboundSchema),
2181
- ListAgentsToolChoiceAgents1$inboundSchema,
2182
- ]);
2183
-
2184
- export function listAgentsFallbackModelConfigurationToolChoiceFromJSON(
2185
- jsonString: string,
2186
- ): SafeParseResult<
2187
- ListAgentsFallbackModelConfigurationToolChoice,
2188
- SDKValidationError
2189
- > {
2190
- return safeParse(
2191
- jsonString,
2192
- (x) =>
2193
- ListAgentsFallbackModelConfigurationToolChoice$inboundSchema.parse(
2194
- JSON.parse(x),
2195
- ),
2196
- `Failed to parse 'ListAgentsFallbackModelConfigurationToolChoice' from JSON`,
2197
- );
2198
- }
2199
-
2200
- /** @internal */
2201
- export const ListAgentsFallbackModelConfigurationModalities$inboundSchema:
2202
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationModalities> = z
2203
- .nativeEnum(ListAgentsFallbackModelConfigurationModalities);
2204
-
2205
- /** @internal */
2206
- export const ListAgentsIdAgents1$inboundSchema: z.ZodNativeEnum<
2207
- typeof ListAgentsIdAgents1
2208
- > = z.nativeEnum(ListAgentsIdAgents1);
2209
-
2210
- /** @internal */
2211
- export const ListAgentsFallbackModelConfigurationId$inboundSchema: z.ZodType<
2212
- ListAgentsFallbackModelConfigurationId,
2213
- z.ZodTypeDef,
2214
- unknown
2215
- > = z.union([ListAgentsIdAgents1$inboundSchema, z.string()]);
2216
-
2217
- export function listAgentsFallbackModelConfigurationIdFromJSON(
2218
- jsonString: string,
2219
- ): SafeParseResult<ListAgentsFallbackModelConfigurationId, SDKValidationError> {
2220
- return safeParse(
2221
- jsonString,
2222
- (x) =>
2223
- ListAgentsFallbackModelConfigurationId$inboundSchema.parse(JSON.parse(x)),
2224
- `Failed to parse 'ListAgentsFallbackModelConfigurationId' from JSON`,
2225
- );
2226
- }
2227
-
2228
- /** @internal */
2229
- export const ListAgentsFallbackModelConfigurationExecuteOn$inboundSchema:
2230
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationExecuteOn> = z
2231
- .nativeEnum(ListAgentsFallbackModelConfigurationExecuteOn);
2232
-
2233
- /** @internal */
2234
- export const ListAgentsFallbackModelConfigurationGuardrails$inboundSchema:
2235
- z.ZodType<
2236
- ListAgentsFallbackModelConfigurationGuardrails,
2237
- z.ZodTypeDef,
2238
- unknown
2239
- > = z.object({
2240
- id: z.union([ListAgentsIdAgents1$inboundSchema, z.string()]),
2241
- execute_on: ListAgentsFallbackModelConfigurationExecuteOn$inboundSchema,
2242
- }).transform((v) => {
2243
- return remap$(v, {
2244
- "execute_on": "executeOn",
2245
- });
2246
- });
2247
-
2248
- export function listAgentsFallbackModelConfigurationGuardrailsFromJSON(
2249
- jsonString: string,
2250
- ): SafeParseResult<
2251
- ListAgentsFallbackModelConfigurationGuardrails,
2252
- SDKValidationError
2253
- > {
2254
- return safeParse(
2255
- jsonString,
2256
- (x) =>
2257
- ListAgentsFallbackModelConfigurationGuardrails$inboundSchema.parse(
2258
- JSON.parse(x),
2259
- ),
2260
- `Failed to parse 'ListAgentsFallbackModelConfigurationGuardrails' from JSON`,
2261
- );
2262
- }
2263
-
2264
- /** @internal */
2265
- export const ListAgentsFallbackModelConfigurationFallbacks$inboundSchema:
2266
- z.ZodType<
2267
- ListAgentsFallbackModelConfigurationFallbacks,
2268
- z.ZodTypeDef,
2269
- unknown
2270
- > = z.object({
2271
- model: z.string(),
2272
- });
2273
-
2274
- export function listAgentsFallbackModelConfigurationFallbacksFromJSON(
2275
- jsonString: string,
2276
- ): SafeParseResult<
2277
- ListAgentsFallbackModelConfigurationFallbacks,
2278
- SDKValidationError
2279
- > {
2280
- return safeParse(
2281
- jsonString,
2282
- (x) =>
2283
- ListAgentsFallbackModelConfigurationFallbacks$inboundSchema.parse(
2284
- JSON.parse(x),
2285
- ),
2286
- `Failed to parse 'ListAgentsFallbackModelConfigurationFallbacks' from JSON`,
2287
- );
2288
- }
2289
-
2290
- /** @internal */
2291
- export const ListAgentsFallbackModelConfigurationType$inboundSchema:
2292
- z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationType> = z
2293
- .nativeEnum(ListAgentsFallbackModelConfigurationType);
2294
-
2295
- /** @internal */
2296
- export const ListAgentsFallbackModelConfigurationCache$inboundSchema: z.ZodType<
2297
- ListAgentsFallbackModelConfigurationCache,
2298
- z.ZodTypeDef,
2299
- unknown
2300
- > = z.object({
2301
- ttl: z.number().default(1800),
2302
- type: ListAgentsFallbackModelConfigurationType$inboundSchema,
2303
- });
2304
-
2305
- export function listAgentsFallbackModelConfigurationCacheFromJSON(
2306
- jsonString: string,
2307
- ): SafeParseResult<
2308
- ListAgentsFallbackModelConfigurationCache,
2309
- SDKValidationError
2310
- > {
2311
- return safeParse(
2312
- jsonString,
2313
- (x) =>
2314
- ListAgentsFallbackModelConfigurationCache$inboundSchema.parse(
2315
- JSON.parse(x),
2316
- ),
2317
- `Failed to parse 'ListAgentsFallbackModelConfigurationCache' from JSON`,
2318
- );
2319
- }
2320
-
2321
- /** @internal */
2322
- export const ListAgentsLoadBalancerAgentsType$inboundSchema: z.ZodNativeEnum<
2323
- typeof ListAgentsLoadBalancerAgentsType
2324
- > = z.nativeEnum(ListAgentsLoadBalancerAgentsType);
2325
-
2326
- /** @internal */
2327
- export const ListAgentsLoadBalancerAgentsModels$inboundSchema: z.ZodType<
2328
- ListAgentsLoadBalancerAgentsModels,
2329
- z.ZodTypeDef,
2330
- unknown
2331
- > = z.object({
2332
- model: z.string(),
2333
- weight: z.number().default(0.5),
2334
- });
2335
-
2336
- export function listAgentsLoadBalancerAgentsModelsFromJSON(
2337
- jsonString: string,
2338
- ): SafeParseResult<ListAgentsLoadBalancerAgentsModels, SDKValidationError> {
2339
- return safeParse(
2340
- jsonString,
2341
- (x) =>
2342
- ListAgentsLoadBalancerAgentsModels$inboundSchema.parse(JSON.parse(x)),
2343
- `Failed to parse 'ListAgentsLoadBalancerAgentsModels' from JSON`,
2344
- );
2345
- }
2346
-
2347
- /** @internal */
2348
- export const ListAgentsLoadBalancerAgents1$inboundSchema: z.ZodType<
2349
- ListAgentsLoadBalancerAgents1,
2350
- z.ZodTypeDef,
2351
- unknown
2352
- > = z.object({
2353
- type: ListAgentsLoadBalancerAgentsType$inboundSchema,
2354
- models: z.array(
2355
- z.lazy(() => ListAgentsLoadBalancerAgentsModels$inboundSchema),
2356
- ),
2357
- });
2358
-
2359
- export function listAgentsLoadBalancerAgents1FromJSON(
2360
- jsonString: string,
2361
- ): SafeParseResult<ListAgentsLoadBalancerAgents1, SDKValidationError> {
2362
- return safeParse(
2363
- jsonString,
2364
- (x) => ListAgentsLoadBalancerAgents1$inboundSchema.parse(JSON.parse(x)),
2365
- `Failed to parse 'ListAgentsLoadBalancerAgents1' from JSON`,
2366
- );
2367
- }
2368
-
2369
- /** @internal */
2370
- export const ListAgentsFallbackModelConfigurationLoadBalancer$inboundSchema:
2371
- z.ZodType<
2372
- ListAgentsFallbackModelConfigurationLoadBalancer,
2373
- z.ZodTypeDef,
2374
- unknown
2375
- > = z.lazy(() => ListAgentsLoadBalancerAgents1$inboundSchema);
2376
-
2377
- export function listAgentsFallbackModelConfigurationLoadBalancerFromJSON(
2378
- jsonString: string,
2379
- ): SafeParseResult<
2380
- ListAgentsFallbackModelConfigurationLoadBalancer,
2381
- SDKValidationError
2382
- > {
2383
- return safeParse(
2384
- jsonString,
2385
- (x) =>
2386
- ListAgentsFallbackModelConfigurationLoadBalancer$inboundSchema.parse(
2387
- JSON.parse(x),
2388
- ),
2389
- `Failed to parse 'ListAgentsFallbackModelConfigurationLoadBalancer' from JSON`,
2390
- );
2391
- }
2392
-
2393
- /** @internal */
2394
- export const ListAgentsFallbackModelConfigurationTimeout$inboundSchema:
2395
- z.ZodType<
2396
- ListAgentsFallbackModelConfigurationTimeout,
2397
- z.ZodTypeDef,
2398
- unknown
2399
- > = z.object({
2400
- call_timeout: z.number(),
2401
- }).transform((v) => {
2402
- return remap$(v, {
2403
- "call_timeout": "callTimeout",
2404
- });
2405
- });
2406
-
2407
- export function listAgentsFallbackModelConfigurationTimeoutFromJSON(
2408
- jsonString: string,
2409
- ): SafeParseResult<
2410
- ListAgentsFallbackModelConfigurationTimeout,
2411
- SDKValidationError
2412
- > {
2413
- return safeParse(
2414
- jsonString,
2415
- (x) =>
2416
- ListAgentsFallbackModelConfigurationTimeout$inboundSchema.parse(
2417
- JSON.parse(x),
2418
- ),
2419
- `Failed to parse 'ListAgentsFallbackModelConfigurationTimeout' from JSON`,
2420
- );
2421
- }
2422
-
2423
- /** @internal */
2424
- export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
2425
- z.ZodType<
2426
- ListAgentsFallbackModelConfigurationParameters,
2427
- z.ZodTypeDef,
2428
- unknown
2429
- > = z.object({
2430
- name: z.string().optional(),
2431
- frequency_penalty: z.nullable(z.number()).optional(),
2432
- max_tokens: z.nullable(z.number().int()).optional(),
2433
- max_completion_tokens: z.nullable(z.number().int()).optional(),
2434
- presence_penalty: z.nullable(z.number()).optional(),
2435
- response_format: z.union([
2436
- z.lazy(() => ListAgentsResponseFormatAgentsText$inboundSchema),
2437
- z.lazy(() => ListAgentsResponseFormatAgentsJSONObject$inboundSchema),
2438
- z.lazy(() =>
2439
- ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema
2440
- ),
2441
- ]).optional(),
2442
- reasoning_effort:
2443
- ListAgentsFallbackModelConfigurationReasoningEffort$inboundSchema
2444
- .optional(),
2445
- verbosity: z.string().optional(),
2446
- seed: z.nullable(z.number()).optional(),
2447
- stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
2448
- thinking: z.union([
2449
- components.ThinkingConfigDisabledSchema$inboundSchema,
2450
- components.ThinkingConfigEnabledSchema$inboundSchema,
2451
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
2452
- ]).optional(),
2453
- temperature: z.nullable(z.number()).optional(),
2454
- top_p: z.nullable(z.number()).optional(),
2455
- top_k: z.nullable(z.number()).optional(),
2456
- tool_choice: z.union([
2457
- z.lazy(() => ListAgentsToolChoiceAgents2$inboundSchema),
2458
- ListAgentsToolChoiceAgents1$inboundSchema,
2459
- ]).optional(),
2460
- parallel_tool_calls: z.boolean().optional(),
2461
- modalities: z.nullable(
2462
- z.array(ListAgentsFallbackModelConfigurationModalities$inboundSchema),
2463
- ).optional(),
2464
- guardrails: z.array(
2465
- z.lazy(() =>
2466
- ListAgentsFallbackModelConfigurationGuardrails$inboundSchema
2467
- ),
2468
- ).optional(),
2469
- fallbacks: z.array(
2470
- z.lazy(() => ListAgentsFallbackModelConfigurationFallbacks$inboundSchema),
2471
- ).optional(),
2472
- cache: z.lazy(() => ListAgentsFallbackModelConfigurationCache$inboundSchema)
2473
- .optional(),
2474
- load_balancer: z.lazy(() => ListAgentsLoadBalancerAgents1$inboundSchema)
2475
- .optional(),
2476
- timeout: z.lazy(() =>
2477
- ListAgentsFallbackModelConfigurationTimeout$inboundSchema
2478
- ).optional(),
2479
- }).transform((v) => {
2480
- return remap$(v, {
2481
- "frequency_penalty": "frequencyPenalty",
2482
- "max_tokens": "maxTokens",
2483
- "max_completion_tokens": "maxCompletionTokens",
2484
- "presence_penalty": "presencePenalty",
2485
- "response_format": "responseFormat",
2486
- "reasoning_effort": "reasoningEffort",
2487
- "top_p": "topP",
2488
- "top_k": "topK",
2489
- "tool_choice": "toolChoice",
2490
- "parallel_tool_calls": "parallelToolCalls",
2491
- "load_balancer": "loadBalancer",
2492
- });
2493
- });
2494
-
2495
- export function listAgentsFallbackModelConfigurationParametersFromJSON(
2496
- jsonString: string,
2497
- ): SafeParseResult<
2498
- ListAgentsFallbackModelConfigurationParameters,
2499
- SDKValidationError
2500
- > {
2501
- return safeParse(
2502
- jsonString,
2503
- (x) =>
2504
- ListAgentsFallbackModelConfigurationParameters$inboundSchema.parse(
2505
- JSON.parse(x),
2506
- ),
2507
- `Failed to parse 'ListAgentsFallbackModelConfigurationParameters' from JSON`,
2508
- );
2509
- }
2510
-
2511
- /** @internal */
2512
- export const ListAgentsFallbackModelConfigurationRetry$inboundSchema: z.ZodType<
2513
- ListAgentsFallbackModelConfigurationRetry,
2514
- z.ZodTypeDef,
2515
- unknown
2516
- > = z.object({
2517
- count: z.number().default(3),
2518
- on_codes: z.array(z.number()).optional(),
2519
- }).transform((v) => {
2520
- return remap$(v, {
2521
- "on_codes": "onCodes",
2522
- });
2523
- });
2524
-
2525
- export function listAgentsFallbackModelConfigurationRetryFromJSON(
2526
- jsonString: string,
2527
- ): SafeParseResult<
2528
- ListAgentsFallbackModelConfigurationRetry,
2529
- SDKValidationError
2530
- > {
2531
- return safeParse(
2532
- jsonString,
2533
- (x) =>
2534
- ListAgentsFallbackModelConfigurationRetry$inboundSchema.parse(
2535
- JSON.parse(x),
2536
- ),
2537
- `Failed to parse 'ListAgentsFallbackModelConfigurationRetry' from JSON`,
2538
- );
2539
- }
2540
-
2541
- /** @internal */
2542
- export const ListAgentsFallbackModelConfiguration2$inboundSchema: z.ZodType<
2543
- ListAgentsFallbackModelConfiguration2,
2544
- z.ZodTypeDef,
2545
- unknown
2546
- > = z.object({
2547
- id: z.string(),
2548
- parameters: z.lazy(() =>
2549
- ListAgentsFallbackModelConfigurationParameters$inboundSchema
2550
- ).optional(),
2551
- retry: z.lazy(() => ListAgentsFallbackModelConfigurationRetry$inboundSchema)
2552
- .optional(),
2553
- });
2554
-
2555
- export function listAgentsFallbackModelConfiguration2FromJSON(
2556
- jsonString: string,
2557
- ): SafeParseResult<ListAgentsFallbackModelConfiguration2, SDKValidationError> {
2558
- return safeParse(
2559
- jsonString,
2560
- (x) =>
2561
- ListAgentsFallbackModelConfiguration2$inboundSchema.parse(JSON.parse(x)),
2562
- `Failed to parse 'ListAgentsFallbackModelConfiguration2' from JSON`,
2563
- );
2564
- }
2565
-
2566
- /** @internal */
2567
- export const ListAgentsFallbackModelConfiguration$inboundSchema: z.ZodType<
2568
- ListAgentsFallbackModelConfiguration,
2569
- z.ZodTypeDef,
2570
- unknown
2571
- > = z.union([
2572
- z.lazy(() => ListAgentsFallbackModelConfiguration2$inboundSchema),
2573
- z.string(),
2574
- ]);
2575
-
2576
- export function listAgentsFallbackModelConfigurationFromJSON(
2577
- jsonString: string,
2578
- ): SafeParseResult<ListAgentsFallbackModelConfiguration, SDKValidationError> {
2579
- return safeParse(
2580
- jsonString,
2581
- (x) =>
2582
- ListAgentsFallbackModelConfiguration$inboundSchema.parse(JSON.parse(x)),
2583
- `Failed to parse 'ListAgentsFallbackModelConfiguration' from JSON`,
2584
- );
2585
- }
2586
-
2587
- /** @internal */
2588
- export const ListAgentsModel$inboundSchema: z.ZodType<
2589
- ListAgentsModel,
2590
- z.ZodTypeDef,
2591
- unknown
2592
- > = z.object({
2593
- id: z.string(),
2594
- integration_id: z.nullable(z.string()).optional(),
2595
- parameters: z.lazy(() => ListAgentsParameters$inboundSchema).optional(),
2596
- retry: z.lazy(() => ListAgentsRetry$inboundSchema).optional(),
2597
- fallback_models: z.nullable(
2598
- z.array(z.union([
2599
- z.lazy(() => ListAgentsFallbackModelConfiguration2$inboundSchema),
2600
- z.string(),
2601
- ])),
2602
- ).optional(),
2603
- }).transform((v) => {
2604
- return remap$(v, {
2605
- "integration_id": "integrationId",
2606
- "fallback_models": "fallbackModels",
2607
- });
2608
- });
2609
-
2610
- export function listAgentsModelFromJSON(
2611
- jsonString: string,
2612
- ): SafeParseResult<ListAgentsModel, SDKValidationError> {
2613
- return safeParse(
2614
- jsonString,
2615
- (x) => ListAgentsModel$inboundSchema.parse(JSON.parse(x)),
2616
- `Failed to parse 'ListAgentsModel' from JSON`,
2617
- );
2618
- }
2619
-
2620
- /** @internal */
2621
- export const ListAgentsData$inboundSchema: z.ZodType<
2622
- ListAgentsData,
2623
- z.ZodTypeDef,
2624
- unknown
2625
- > = z.object({
2626
- _id: z.string(),
2627
- key: z.string(),
2628
- display_name: z.string().optional(),
2629
- created_by_id: z.nullable(z.string()).optional(),
2630
- updated_by_id: z.nullable(z.string()).optional(),
2631
- created: z.string().optional(),
2632
- updated: z.string().optional(),
2633
- status: ListAgentsStatus$inboundSchema,
2634
- version: z.string().optional(),
2635
- path: z.string(),
2636
- memory_stores: z.array(z.string()).optional(),
2637
- team_of_agents: z.array(z.lazy(() => ListAgentsTeamOfAgents$inboundSchema))
2638
- .optional(),
2639
- skills: z.array(z.string()),
2640
- metrics: z.lazy(() => ListAgentsMetrics$inboundSchema).optional(),
2641
- variables: z.record(z.any()).optional(),
2642
- knowledge_bases: z.array(z.lazy(() => ListAgentsKnowledgeBases$inboundSchema))
2643
- .optional(),
2644
- source: ListAgentsSource$inboundSchema.optional(),
2645
- engine: ListAgentsEngine$inboundSchema.default("text"),
2646
- type: ListAgentsType$inboundSchema.default("internal"),
2647
- role: z.string(),
2648
- description: z.string(),
2649
- system_prompt: z.nullable(z.string()).optional(),
2650
- instructions: z.string(),
2651
- settings: z.lazy(() => ListAgentsSettings$inboundSchema).optional(),
2652
- model: z.lazy(() => ListAgentsModel$inboundSchema),
2653
- }).transform((v) => {
2654
- return remap$(v, {
2655
- "_id": "id",
2656
- "display_name": "displayName",
2657
- "created_by_id": "createdById",
2658
- "updated_by_id": "updatedById",
2659
- "memory_stores": "memoryStores",
2660
- "team_of_agents": "teamOfAgents",
2661
- "knowledge_bases": "knowledgeBases",
2662
- "system_prompt": "systemPrompt",
2663
- });
2664
- });
2665
-
2666
- export function listAgentsDataFromJSON(
2667
- jsonString: string,
2668
- ): SafeParseResult<ListAgentsData, SDKValidationError> {
2669
- return safeParse(
2670
- jsonString,
2671
- (x) => ListAgentsData$inboundSchema.parse(JSON.parse(x)),
2672
- `Failed to parse 'ListAgentsData' from JSON`,
2673
- );
2674
- }
2675
-
2676
- /** @internal */
2677
- export const ListAgentsResponseBody$inboundSchema: z.ZodType<
2678
- ListAgentsResponseBody,
2679
- z.ZodTypeDef,
2680
- unknown
2681
- > = z.object({
2682
- object: ListAgentsObject$inboundSchema,
2683
- data: z.array(z.lazy(() => ListAgentsData$inboundSchema)),
2684
- has_more: z.boolean(),
2685
- }).transform((v) => {
2686
- return remap$(v, {
2687
- "has_more": "hasMore",
2688
- });
2689
- });
2690
-
2691
- export function listAgentsResponseBodyFromJSON(
2692
- jsonString: string,
2693
- ): SafeParseResult<ListAgentsResponseBody, SDKValidationError> {
2694
- return safeParse(
2695
- jsonString,
2696
- (x) => ListAgentsResponseBody$inboundSchema.parse(JSON.parse(x)),
2697
- `Failed to parse 'ListAgentsResponseBody' from JSON`,
2698
- );
2699
- }