@orq-ai/node 4.16.7 → 4.16.9

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 (443) hide show
  1. package/README.md +66 -64
  2. package/funcs/deploymentsListVersions.d.ts +17 -0
  3. package/funcs/deploymentsListVersions.d.ts.map +1 -0
  4. package/funcs/deploymentsListVersions.js +127 -0
  5. package/funcs/deploymentsListVersions.js.map +1 -0
  6. package/funcs/routerClassifyCreate.d.ts +3 -0
  7. package/funcs/routerClassifyCreate.d.ts.map +1 -1
  8. package/funcs/routerClassifyCreate.js +3 -0
  9. package/funcs/routerClassifyCreate.js.map +1 -1
  10. package/funcs/routerDecisionsCreate.d.ts +3 -0
  11. package/funcs/routerDecisionsCreate.d.ts.map +1 -1
  12. package/funcs/routerDecisionsCreate.js +3 -0
  13. package/funcs/routerDecisionsCreate.js.map +1 -1
  14. package/jsr.json +1 -1
  15. package/lib/config.d.ts +2 -2
  16. package/lib/config.js +2 -2
  17. package/models/components/audiocontentpartschema.d.ts +5 -5
  18. package/models/components/audiocontentpartschema.d.ts.map +1 -1
  19. package/models/components/audiocontentpartschema.js +6 -7
  20. package/models/components/audiocontentpartschema.js.map +1 -1
  21. package/models/components/classifyanswer.d.ts +2 -1
  22. package/models/components/classifyanswer.d.ts.map +1 -1
  23. package/models/components/classifyanswer.js +2 -0
  24. package/models/components/classifyanswer.js.map +1 -1
  25. package/models/components/classifyasset.d.ts +52 -0
  26. package/models/components/classifyasset.d.ts.map +1 -0
  27. package/models/components/classifyasset.js +75 -0
  28. package/models/components/classifyasset.js.map +1 -0
  29. package/models/components/classifybox.d.ts +25 -0
  30. package/models/components/classifybox.d.ts.map +1 -0
  31. package/models/components/classifybox.js +53 -0
  32. package/models/components/classifybox.js.map +1 -0
  33. package/models/components/classifyboxanswer.d.ts +16 -0
  34. package/models/components/classifyboxanswer.d.ts.map +1 -0
  35. package/models/components/classifyboxanswer.js +53 -0
  36. package/models/components/classifyboxanswer.js.map +1 -0
  37. package/models/components/classifychoiceanswer.d.ts +1 -1
  38. package/models/components/classifyscoreanswer.d.ts +1 -1
  39. package/models/components/index.d.ts +3 -0
  40. package/models/components/index.d.ts.map +1 -1
  41. package/models/components/index.js +3 -0
  42. package/models/components/index.js.map +1 -1
  43. package/models/components/publicusage.d.ts +18 -0
  44. package/models/components/publicusage.d.ts.map +1 -1
  45. package/models/components/publicusage.js +11 -1
  46. package/models/components/publicusage.js.map +1 -1
  47. package/models/components/reasoningpart.js +1 -1
  48. package/models/operations/createclassify.d.ts +118 -17
  49. package/models/operations/createclassify.d.ts.map +1 -1
  50. package/models/operations/createclassify.js +41 -5
  51. package/models/operations/createclassify.js.map +1 -1
  52. package/models/operations/createdecisions.d.ts +124 -23
  53. package/models/operations/createdecisions.d.ts.map +1 -1
  54. package/models/operations/createdecisions.js +48 -10
  55. package/models/operations/createdecisions.js.map +1 -1
  56. package/models/operations/createrouterresponse.d.ts +18 -0
  57. package/models/operations/createrouterresponse.d.ts.map +1 -1
  58. package/models/operations/createrouterresponse.js +12 -2
  59. package/models/operations/createrouterresponse.js.map +1 -1
  60. package/models/operations/createtool.js +4 -4
  61. package/models/operations/getalltools.js +4 -4
  62. package/models/operations/getv2humanevalsets.js +2 -2
  63. package/models/operations/getv2humanevalsetsid.js +2 -2
  64. package/models/operations/index.d.ts +1 -0
  65. package/models/operations/index.d.ts.map +1 -1
  66. package/models/operations/index.js +1 -0
  67. package/models/operations/index.js.map +1 -1
  68. package/models/operations/listdeploymentversions.d.ts +1336 -0
  69. package/models/operations/listdeploymentversions.d.ts.map +1 -0
  70. package/models/operations/listdeploymentversions.js +1163 -0
  71. package/models/operations/listdeploymentversions.js.map +1 -0
  72. package/models/operations/patchv2humanevalsetsid.js +2 -2
  73. package/models/operations/postv2feedbackevaluation.js +4 -4
  74. package/models/operations/postv2humanevalsets.js +2 -2
  75. package/models/operations/retrievetool.js +4 -4
  76. package/models/operations/runagent.js +1 -1
  77. package/models/operations/streamrunagent.js +1 -1
  78. package/models/operations/updatetool.js +4 -4
  79. package/package.json +6 -6
  80. package/packages/orq-rc/src/funcs/agentsExternalCreate.ts +10 -1
  81. package/packages/orq-rc/src/funcs/agentsExternalDelete.ts +10 -1
  82. package/packages/orq-rc/src/funcs/agentsExternalList.ts +10 -1
  83. package/packages/orq-rc/src/funcs/agentsExternalRefreshCard.ts +10 -1
  84. package/packages/orq-rc/src/funcs/agentsExternalRetrieve.ts +10 -1
  85. package/packages/orq-rc/src/funcs/agentsExternalTestConnection.ts +10 -1
  86. package/packages/orq-rc/src/funcs/agentsExternalUpdate.ts +10 -1
  87. package/packages/orq-rc/src/funcs/agentsInvoke.ts +10 -1
  88. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +10 -1
  89. package/packages/orq-rc/src/funcs/agentsRun.ts +10 -1
  90. package/packages/orq-rc/src/funcs/alertsCreate.ts +11 -2
  91. package/packages/orq-rc/src/funcs/alertsDelete.ts +10 -1
  92. package/packages/orq-rc/src/funcs/alertsGet.ts +10 -1
  93. package/packages/orq-rc/src/funcs/alertsList.ts +11 -1
  94. package/packages/orq-rc/src/funcs/alertsListTriggerEvents.ts +10 -1
  95. package/packages/orq-rc/src/funcs/alertsListTriggers.ts +10 -1
  96. package/packages/orq-rc/src/funcs/alertsUpdate.ts +11 -2
  97. package/packages/orq-rc/src/funcs/annotationQueuesAddItems.ts +10 -1
  98. package/packages/orq-rc/src/funcs/annotationQueuesClear.ts +11 -2
  99. package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +10 -1
  100. package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +11 -2
  101. package/packages/orq-rc/src/funcs/annotationQueuesList.ts +10 -1
  102. package/packages/orq-rc/src/funcs/annotationQueuesListItems.ts +10 -1
  103. package/packages/orq-rc/src/funcs/annotationQueuesRemoveItems.ts +11 -2
  104. package/packages/orq-rc/src/funcs/annotationQueuesRetrieve.ts +10 -1
  105. package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +10 -1
  106. package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +10 -1
  107. package/packages/orq-rc/src/funcs/annotationsCreate.ts +11 -2
  108. package/packages/orq-rc/src/funcs/annotationsDelete.ts +11 -2
  109. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +10 -1
  110. package/packages/orq-rc/src/funcs/budgetsCreate.ts +10 -1
  111. package/packages/orq-rc/src/funcs/budgetsDelete.ts +10 -1
  112. package/packages/orq-rc/src/funcs/budgetsGet.ts +10 -1
  113. package/packages/orq-rc/src/funcs/budgetsList.ts +10 -1
  114. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +10 -1
  115. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +10 -1
  116. package/packages/orq-rc/src/funcs/chunkingParse.ts +10 -1
  117. package/packages/orq-rc/src/funcs/datasetsClear.ts +11 -2
  118. package/packages/orq-rc/src/funcs/datasetsCreate.ts +10 -1
  119. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +10 -1
  120. package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +10 -1
  121. package/packages/orq-rc/src/funcs/datasetsDelete.ts +11 -2
  122. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +11 -2
  123. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoints.ts +11 -2
  124. package/packages/orq-rc/src/funcs/datasetsList.ts +10 -1
  125. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +10 -1
  126. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +10 -1
  127. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +10 -1
  128. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +10 -1
  129. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +10 -1
  130. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +10 -1
  131. package/packages/orq-rc/src/funcs/deploymentsList.ts +4 -0
  132. package/packages/orq-rc/src/funcs/deploymentsListVersions.ts +176 -0
  133. package/packages/orq-rc/src/funcs/deploymentsStream.ts +10 -1
  134. package/packages/orq-rc/src/funcs/environmentsCreate.ts +10 -1
  135. package/packages/orq-rc/src/funcs/environmentsDelete.ts +10 -1
  136. package/packages/orq-rc/src/funcs/environmentsGet.ts +10 -1
  137. package/packages/orq-rc/src/funcs/environmentsList.ts +10 -1
  138. package/packages/orq-rc/src/funcs/environmentsUpdate.ts +10 -1
  139. package/packages/orq-rc/src/funcs/evalsGetVersion.ts +10 -1
  140. package/packages/orq-rc/src/funcs/evalsInvoke.ts +10 -1
  141. package/packages/orq-rc/src/funcs/evalsListVersions.ts +10 -1
  142. package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +11 -2
  143. package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +11 -2
  144. package/packages/orq-rc/src/funcs/feedbackSubmit.ts +10 -1
  145. package/packages/orq-rc/src/funcs/fileSystemsListFiles.ts +10 -1
  146. package/packages/orq-rc/src/funcs/fileSystemsRetrieve.ts +10 -1
  147. package/packages/orq-rc/src/funcs/fileSystemsStatFile.ts +10 -1
  148. package/packages/orq-rc/src/funcs/filesCreate.ts +10 -1
  149. package/packages/orq-rc/src/funcs/filesDelete.ts +10 -1
  150. package/packages/orq-rc/src/funcs/filesGet.ts +10 -1
  151. package/packages/orq-rc/src/funcs/filesGetContent.ts +10 -1
  152. package/packages/orq-rc/src/funcs/filesList.ts +10 -1
  153. package/packages/orq-rc/src/funcs/filesUpdate.ts +10 -1
  154. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +10 -1
  155. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +10 -1
  156. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +10 -1
  157. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +10 -1
  158. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +10 -1
  159. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +10 -1
  160. package/packages/orq-rc/src/funcs/hubGet.ts +10 -1
  161. package/packages/orq-rc/src/funcs/hubSearch.ts +10 -1
  162. package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +10 -1
  163. package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +11 -2
  164. package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +10 -1
  165. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +10 -1
  166. package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +10 -1
  167. package/packages/orq-rc/src/funcs/identitiesCreate.ts +5 -0
  168. package/packages/orq-rc/src/funcs/identitiesDelete.ts +10 -1
  169. package/packages/orq-rc/src/funcs/identitiesList.ts +10 -1
  170. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +10 -1
  171. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +10 -1
  172. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +10 -1
  173. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +10 -1
  174. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +11 -2
  175. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +10 -1
  176. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +11 -2
  177. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +10 -1
  178. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +10 -1
  179. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +10 -1
  180. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +10 -1
  181. package/packages/orq-rc/src/funcs/knowledgePreviewChunks.ts +10 -1
  182. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +10 -1
  183. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +10 -1
  184. package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +4 -0
  185. package/packages/orq-rc/src/funcs/knowledgeRetrieveProcessingStatus.ts +10 -1
  186. package/packages/orq-rc/src/funcs/knowledgeToggleChunk.ts +10 -1
  187. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +10 -1
  188. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +10 -1
  189. package/packages/orq-rc/src/funcs/logsAggregate.ts +10 -1
  190. package/packages/orq-rc/src/funcs/logsContext.ts +10 -1
  191. package/packages/orq-rc/src/funcs/logsFindPatterns.ts +10 -1
  192. package/packages/orq-rc/src/funcs/logsGet.ts +10 -1
  193. package/packages/orq-rc/src/funcs/logsListFacetValues.ts +10 -1
  194. package/packages/orq-rc/src/funcs/logsListFacets.ts +10 -1
  195. package/packages/orq-rc/src/funcs/logsListFields.ts +10 -1
  196. package/packages/orq-rc/src/funcs/logsListTraceLogs.ts +10 -1
  197. package/packages/orq-rc/src/funcs/logsQuery.ts +10 -1
  198. package/packages/orq-rc/src/funcs/logsSearch.ts +10 -1
  199. package/packages/orq-rc/src/funcs/managementKeysCreate.ts +10 -1
  200. package/packages/orq-rc/src/funcs/managementKeysDelete.ts +10 -1
  201. package/packages/orq-rc/src/funcs/managementKeysGet.ts +10 -1
  202. package/packages/orq-rc/src/funcs/managementKeysList.ts +10 -1
  203. package/packages/orq-rc/src/funcs/managementKeysListCapabilities.ts +10 -1
  204. package/packages/orq-rc/src/funcs/managementKeysUpdate.ts +10 -1
  205. package/packages/orq-rc/src/funcs/mcpGatewaysCreate.ts +10 -1
  206. package/packages/orq-rc/src/funcs/mcpGatewaysDelete.ts +10 -1
  207. package/packages/orq-rc/src/funcs/mcpGatewaysList.ts +10 -1
  208. package/packages/orq-rc/src/funcs/mcpGatewaysListTools.ts +10 -1
  209. package/packages/orq-rc/src/funcs/mcpGatewaysRetrieve.ts +10 -1
  210. package/packages/orq-rc/src/funcs/mcpGatewaysUpdate.ts +10 -1
  211. package/packages/orq-rc/src/funcs/mcpServersCreate.ts +10 -1
  212. package/packages/orq-rc/src/funcs/mcpServersDelete.ts +10 -1
  213. package/packages/orq-rc/src/funcs/mcpServersList.ts +10 -1
  214. package/packages/orq-rc/src/funcs/mcpServersRetrieve.ts +10 -1
  215. package/packages/orq-rc/src/funcs/mcpServersSync.ts +10 -1
  216. package/packages/orq-rc/src/funcs/mcpServersTestTool.ts +10 -1
  217. package/packages/orq-rc/src/funcs/mcpServersUpdate.ts +10 -1
  218. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +10 -1
  219. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +10 -1
  220. package/packages/orq-rc/src/funcs/modelCatalogGet.ts +10 -1
  221. package/packages/orq-rc/src/funcs/modelCatalogList.ts +10 -1
  222. package/packages/orq-rc/src/funcs/modelCatalogListOfferings.ts +10 -1
  223. package/packages/orq-rc/src/funcs/modelFusionsCreate.ts +10 -1
  224. package/packages/orq-rc/src/funcs/modelFusionsDelete.ts +10 -1
  225. package/packages/orq-rc/src/funcs/modelFusionsGet.ts +10 -1
  226. package/packages/orq-rc/src/funcs/modelFusionsList.ts +10 -1
  227. package/packages/orq-rc/src/funcs/modelFusionsSetEnabled.ts +10 -1
  228. package/packages/orq-rc/src/funcs/modelFusionsUpdate.ts +10 -1
  229. package/packages/orq-rc/src/funcs/modelsList.ts +10 -1
  230. package/packages/orq-rc/src/funcs/monitorsCreate.ts +10 -1
  231. package/packages/orq-rc/src/funcs/monitorsDelete.ts +10 -1
  232. package/packages/orq-rc/src/funcs/monitorsGet.ts +10 -1
  233. package/packages/orq-rc/src/funcs/monitorsList.ts +10 -1
  234. package/packages/orq-rc/src/funcs/monitorsListPresets.ts +10 -1
  235. package/packages/orq-rc/src/funcs/monitorsUpdate.ts +10 -1
  236. package/packages/orq-rc/src/funcs/notifiersCreate.ts +10 -1
  237. package/packages/orq-rc/src/funcs/notifiersDelete.ts +10 -1
  238. package/packages/orq-rc/src/funcs/notifiersGet.ts +10 -1
  239. package/packages/orq-rc/src/funcs/notifiersList.ts +10 -1
  240. package/packages/orq-rc/src/funcs/notifiersUpdate.ts +10 -1
  241. package/packages/orq-rc/src/funcs/piiCapabilities.ts +10 -1
  242. package/packages/orq-rc/src/funcs/piiDetect.ts +10 -1
  243. package/packages/orq-rc/src/funcs/piiRedact.ts +10 -1
  244. package/packages/orq-rc/src/funcs/piiRestore.ts +10 -1
  245. package/packages/orq-rc/src/funcs/policiesList.ts +10 -1
  246. package/packages/orq-rc/src/funcs/projectsCreate.ts +10 -1
  247. package/packages/orq-rc/src/funcs/projectsDelete.ts +10 -1
  248. package/packages/orq-rc/src/funcs/projectsGet.ts +10 -1
  249. package/packages/orq-rc/src/funcs/projectsList.ts +10 -1
  250. package/packages/orq-rc/src/funcs/projectsUpdate.ts +10 -1
  251. package/packages/orq-rc/src/funcs/promptsCreate.ts +10 -1
  252. package/packages/orq-rc/src/funcs/promptsList.ts +10 -1
  253. package/packages/orq-rc/src/funcs/promptsListVersions.ts +10 -1
  254. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +10 -1
  255. package/packages/orq-rc/src/funcs/reportingQuery.ts +10 -1
  256. package/packages/orq-rc/src/funcs/responsesCreate.ts +10 -1
  257. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +11 -2
  258. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +10 -1
  259. package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +3 -0
  260. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +10 -1
  261. package/packages/orq-rc/src/funcs/routerDecisionsCreate.ts +3 -0
  262. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +10 -1
  263. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +10 -1
  264. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +10 -1
  265. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +10 -1
  266. package/packages/orq-rc/src/funcs/routerOcr.ts +10 -1
  267. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +10 -1
  268. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +10 -1
  269. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +11 -2
  270. package/packages/orq-rc/src/funcs/routingRulesList.ts +10 -1
  271. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +10 -1
  272. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +10 -1
  273. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +10 -1
  274. package/packages/orq-rc/src/funcs/schedulesList.ts +14 -1
  275. package/packages/orq-rc/src/funcs/sessionsCreate.ts +10 -1
  276. package/packages/orq-rc/src/funcs/sessionsDelete.ts +11 -2
  277. package/packages/orq-rc/src/funcs/sessionsGet.ts +10 -1
  278. package/packages/orq-rc/src/funcs/sessionsGetCount.ts +10 -1
  279. package/packages/orq-rc/src/funcs/sessionsList.ts +10 -1
  280. package/packages/orq-rc/src/funcs/sessionsListTags.ts +10 -1
  281. package/packages/orq-rc/src/funcs/sessionsUpdate.ts +10 -1
  282. package/packages/orq-rc/src/funcs/skillsCreate.ts +10 -1
  283. package/packages/orq-rc/src/funcs/skillsDelete.ts +10 -1
  284. package/packages/orq-rc/src/funcs/skillsGet.ts +10 -1
  285. package/packages/orq-rc/src/funcs/skillsList.ts +10 -1
  286. package/packages/orq-rc/src/funcs/skillsUpdate.ts +10 -1
  287. package/packages/orq-rc/src/funcs/smartRoutersCreate.ts +10 -1
  288. package/packages/orq-rc/src/funcs/smartRoutersDelete.ts +10 -1
  289. package/packages/orq-rc/src/funcs/smartRoutersGet.ts +10 -1
  290. package/packages/orq-rc/src/funcs/smartRoutersList.ts +10 -1
  291. package/packages/orq-rc/src/funcs/smartRoutersUpdate.ts +10 -1
  292. package/packages/orq-rc/src/funcs/telemetryListCapabilities.ts +12 -1
  293. package/packages/orq-rc/src/funcs/telemetryListFacetValues.ts +10 -1
  294. package/packages/orq-rc/src/funcs/telemetryQuery.ts +10 -1
  295. package/packages/orq-rc/src/funcs/toolsCreate.ts +10 -1
  296. package/packages/orq-rc/src/funcs/toolsDelete.ts +11 -2
  297. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +10 -1
  298. package/packages/orq-rc/src/funcs/tracesAggregate.ts +10 -1
  299. package/packages/orq-rc/src/funcs/tracesGet.ts +10 -1
  300. package/packages/orq-rc/src/funcs/tracesGetConversation.ts +10 -1
  301. package/packages/orq-rc/src/funcs/tracesGetSpan.ts +10 -1
  302. package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +10 -1
  303. package/packages/orq-rc/src/funcs/tracesListFacets.ts +10 -1
  304. package/packages/orq-rc/src/funcs/tracesListFields.ts +10 -1
  305. package/packages/orq-rc/src/funcs/tracesListFilters.ts +10 -1
  306. package/packages/orq-rc/src/funcs/tracesListSpans.ts +10 -1
  307. package/packages/orq-rc/src/funcs/tracesQuery.ts +10 -1
  308. package/packages/orq-rc/src/funcs/tracesSearch.ts +10 -1
  309. package/packages/orq-rc/src/funcs/usersCreate.ts +10 -1
  310. package/packages/orq-rc/src/funcs/usersDelete.ts +10 -1
  311. package/packages/orq-rc/src/funcs/usersGet.ts +10 -1
  312. package/packages/orq-rc/src/funcs/usersList.ts +10 -1
  313. package/packages/orq-rc/src/funcs/usersUpdate.ts +10 -1
  314. package/packages/orq-rc/src/funcs/viewsCreate.ts +10 -1
  315. package/packages/orq-rc/src/funcs/viewsDelete.ts +10 -1
  316. package/packages/orq-rc/src/funcs/viewsGet.ts +10 -1
  317. package/packages/orq-rc/src/funcs/viewsList.ts +10 -1
  318. package/packages/orq-rc/src/funcs/viewsUpdate.ts +10 -1
  319. package/packages/orq-rc/src/funcs/webhooksCount.ts +10 -1
  320. package/packages/orq-rc/src/funcs/webhooksCreate.ts +10 -1
  321. package/packages/orq-rc/src/funcs/webhooksDelete.ts +10 -1
  322. package/packages/orq-rc/src/funcs/webhooksGenerateSecret.ts +10 -1
  323. package/packages/orq-rc/src/funcs/webhooksGet.ts +10 -1
  324. package/packages/orq-rc/src/funcs/webhooksList.ts +10 -1
  325. package/packages/orq-rc/src/funcs/webhooksQuery.ts +10 -1
  326. package/packages/orq-rc/src/funcs/webhooksUpdate.ts +10 -1
  327. package/packages/orq-rc/src/funcs/wikisCreate.ts +10 -1
  328. package/packages/orq-rc/src/funcs/wikisDelete.ts +10 -1
  329. package/packages/orq-rc/src/funcs/wikisGet.ts +10 -1
  330. package/packages/orq-rc/src/funcs/wikisGetPage.ts +10 -1
  331. package/packages/orq-rc/src/funcs/wikisGetTree.ts +10 -1
  332. package/packages/orq-rc/src/funcs/wikisInspectRepository.ts +10 -1
  333. package/packages/orq-rc/src/funcs/wikisList.ts +10 -1
  334. package/packages/orq-rc/src/funcs/wikisListRuns.ts +10 -1
  335. package/packages/orq-rc/src/funcs/wikisRefresh.ts +10 -1
  336. package/packages/orq-rc/src/funcs/wikisSearch.ts +10 -1
  337. package/packages/orq-rc/src/funcs/wikisUpdate.ts +10 -1
  338. package/packages/orq-rc/src/funcs/wikisUpdatePage.ts +10 -1
  339. package/packages/orq-rc/src/funcs/workspaceSecurityAddIPRange.ts +10 -1
  340. package/packages/orq-rc/src/funcs/workspaceSecurityCreateDomain.ts +10 -1
  341. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteDomain.ts +11 -2
  342. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteIPRange.ts +11 -2
  343. package/packages/orq-rc/src/funcs/workspaceSecurityGetIPAllowlist.ts +10 -1
  344. package/packages/orq-rc/src/funcs/workspaceSecurityListDomains.ts +10 -1
  345. package/packages/orq-rc/src/funcs/workspaceSecurityUpdateIPAllowlist.ts +10 -1
  346. package/packages/orq-rc/src/funcs/workspaceSecurityVerifyDomain.ts +10 -1
  347. package/packages/orq-rc/src/funcs/workspaceSettingsGet.ts +10 -1
  348. package/packages/orq-rc/src/funcs/workspaceSettingsUpdate.ts +10 -1
  349. package/packages/orq-rc/src/funcs/workspacesGet.ts +10 -1
  350. package/packages/orq-rc/src/funcs/workspacesList.ts +10 -1
  351. package/packages/orq-rc/src/funcs/workspacesUpdate.ts +10 -1
  352. package/packages/orq-rc/src/lib/config.ts +2 -2
  353. package/packages/orq-rc/src/models/components/alert.ts +4 -1
  354. package/packages/orq-rc/src/models/components/alertquery.ts +24 -4
  355. package/packages/orq-rc/src/models/components/alertscope.ts +20 -0
  356. package/packages/orq-rc/src/models/components/alerttelemetrysource.ts +22 -0
  357. package/packages/orq-rc/src/models/components/alerttrigger.ts +9 -0
  358. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +13 -9
  359. package/packages/orq-rc/src/models/components/budgetmatch.ts +1 -1
  360. package/packages/orq-rc/src/models/components/classifyanswer.ts +6 -0
  361. package/packages/orq-rc/src/models/components/classifyasset.ts +81 -0
  362. package/packages/orq-rc/src/models/components/classifybox.ts +49 -0
  363. package/packages/orq-rc/src/models/components/classifyboxanswer.ts +39 -0
  364. package/packages/orq-rc/src/models/components/classifychoiceanswer.ts +1 -1
  365. package/packages/orq-rc/src/models/components/classifyscoreanswer.ts +1 -1
  366. package/packages/orq-rc/src/models/components/createalertrequest.ts +8 -4
  367. package/packages/orq-rc/src/models/components/index.ts +5 -0
  368. package/packages/orq-rc/src/models/components/piiredactionconfig.ts +3 -2
  369. package/packages/orq-rc/src/models/components/piiredactionplugin.ts +1 -1
  370. package/packages/orq-rc/src/models/components/pricing.ts +12 -0
  371. package/packages/orq-rc/src/models/components/pricingvariant.ts +12 -0
  372. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  373. package/packages/orq-rc/src/models/components/updatealertrequest.ts +4 -1
  374. package/packages/orq-rc/src/models/errors/apierrorresponse.ts +50 -0
  375. package/packages/orq-rc/src/models/errors/errorresponse.ts +69 -0
  376. package/packages/orq-rc/src/models/errors/index.ts +2 -0
  377. package/packages/orq-rc/src/models/operations/alertlist.ts +10 -0
  378. package/packages/orq-rc/src/models/operations/createclassify.ts +169 -21
  379. package/packages/orq-rc/src/models/operations/createdecisions.ts +197 -32
  380. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  381. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  382. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  383. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  384. package/packages/orq-rc/src/models/operations/index.ts +1 -0
  385. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +2793 -0
  386. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  387. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  388. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  389. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  390. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  391. package/packages/orq-rc/src/models/operations/searchweb.ts +1 -1
  392. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  393. package/packages/orq-rc/src/models/operations/telemetrylistcapabilities.ts +24 -0
  394. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  395. package/packages/orq-rc/src/sdk/alerts.ts +2 -2
  396. package/packages/orq-rc/src/sdk/classify.ts +3 -0
  397. package/packages/orq-rc/src/sdk/decisions.ts +3 -0
  398. package/packages/orq-rc/src/sdk/deployments.ts +18 -0
  399. package/sdk/classify.d.ts +3 -0
  400. package/sdk/classify.d.ts.map +1 -1
  401. package/sdk/classify.js +3 -0
  402. package/sdk/classify.js.map +1 -1
  403. package/sdk/decisions.d.ts +3 -0
  404. package/sdk/decisions.d.ts.map +1 -1
  405. package/sdk/decisions.js +3 -0
  406. package/sdk/decisions.js.map +1 -1
  407. package/sdk/deployments.d.ts +7 -0
  408. package/sdk/deployments.d.ts.map +1 -1
  409. package/sdk/deployments.js +10 -0
  410. package/sdk/deployments.js.map +1 -1
  411. package/src/funcs/deploymentsListVersions.ts +176 -0
  412. package/src/funcs/routerClassifyCreate.ts +3 -0
  413. package/src/funcs/routerDecisionsCreate.ts +3 -0
  414. package/src/lib/config.ts +2 -2
  415. package/src/models/components/audiocontentpartschema.ts +13 -9
  416. package/src/models/components/classifyanswer.ts +6 -0
  417. package/src/models/components/classifyasset.ts +81 -0
  418. package/src/models/components/classifybox.ts +49 -0
  419. package/src/models/components/classifyboxanswer.ts +39 -0
  420. package/src/models/components/classifychoiceanswer.ts +1 -1
  421. package/src/models/components/classifyscoreanswer.ts +1 -1
  422. package/src/models/components/index.ts +3 -0
  423. package/src/models/components/publicusage.ts +23 -0
  424. package/src/models/components/reasoningpart.ts +1 -1
  425. package/src/models/operations/createclassify.ts +169 -21
  426. package/src/models/operations/createdecisions.ts +197 -32
  427. package/src/models/operations/createrouterresponse.ts +23 -0
  428. package/src/models/operations/createtool.ts +4 -4
  429. package/src/models/operations/getalltools.ts +4 -4
  430. package/src/models/operations/getv2humanevalsets.ts +2 -2
  431. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  432. package/src/models/operations/index.ts +1 -0
  433. package/src/models/operations/listdeploymentversions.ts +2793 -0
  434. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  435. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  436. package/src/models/operations/postv2humanevalsets.ts +2 -2
  437. package/src/models/operations/retrievetool.ts +4 -4
  438. package/src/models/operations/runagent.ts +1 -1
  439. package/src/models/operations/streamrunagent.ts +1 -1
  440. package/src/models/operations/updatetool.ts +4 -4
  441. package/src/sdk/classify.ts +3 -0
  442. package/src/sdk/decisions.ts +3 -0
  443. package/src/sdk/deployments.ts +18 -0
@@ -0,0 +1,81 @@
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 { ClosedEnum } from "../../types/enums.js";
8
+
9
+ /**
10
+ * The image format.
11
+ */
12
+ export const Format = {
13
+ Png: "png",
14
+ Jpg: "jpg",
15
+ Jpeg: "jpeg",
16
+ } as const;
17
+ /**
18
+ * The image format.
19
+ */
20
+ export type Format = ClosedEnum<typeof Format>;
21
+
22
+ /**
23
+ * The asset type. Only image is supported.
24
+ */
25
+ export const ClassifyAssetType = {
26
+ Image: "image",
27
+ } as const;
28
+ /**
29
+ * The asset type. Only image is supported.
30
+ */
31
+ export type ClassifyAssetType = ClosedEnum<typeof ClassifyAssetType>;
32
+
33
+ export type ClassifyAsset = {
34
+ /**
35
+ * Standard base64 with padding, without whitespace or a data: prefix. PNG or JPEG still images, 256 to 1568 px per side, at most 16 MiB each.
36
+ */
37
+ dataBase64: string;
38
+ /**
39
+ * The image format.
40
+ */
41
+ format: Format;
42
+ /**
43
+ * The asset type. Only image is supported.
44
+ */
45
+ type?: ClassifyAssetType | undefined;
46
+ };
47
+
48
+ /** @internal */
49
+ export const Format$outboundSchema: z.ZodNativeEnum<typeof Format> = z
50
+ .nativeEnum(Format);
51
+
52
+ /** @internal */
53
+ export const ClassifyAssetType$outboundSchema: z.ZodNativeEnum<
54
+ typeof ClassifyAssetType
55
+ > = z.nativeEnum(ClassifyAssetType);
56
+
57
+ /** @internal */
58
+ export type ClassifyAsset$Outbound = {
59
+ data_base64: string;
60
+ format: string;
61
+ type?: string | undefined;
62
+ };
63
+
64
+ /** @internal */
65
+ export const ClassifyAsset$outboundSchema: z.ZodType<
66
+ ClassifyAsset$Outbound,
67
+ z.ZodTypeDef,
68
+ ClassifyAsset
69
+ > = z.object({
70
+ dataBase64: z.string(),
71
+ format: Format$outboundSchema,
72
+ type: ClassifyAssetType$outboundSchema.optional(),
73
+ }).transform((v) => {
74
+ return remap$(v, {
75
+ dataBase64: "data_base64",
76
+ });
77
+ });
78
+
79
+ export function classifyAssetToJSON(classifyAsset: ClassifyAsset): string {
80
+ return JSON.stringify(ClassifyAsset$outboundSchema.parse(classifyAsset));
81
+ }
@@ -0,0 +1,49 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type ClassifyBox = {
11
+ /**
12
+ * Distance of the bottom edge from the top of the image, as a fraction of the image height.
13
+ */
14
+ bottom: number;
15
+ /**
16
+ * Distance of the left edge from the left of the image, as a fraction of the image width.
17
+ */
18
+ left: number;
19
+ /**
20
+ * Distance of the right edge from the left of the image, as a fraction of the image width.
21
+ */
22
+ right: number;
23
+ /**
24
+ * Distance of the top edge from the top of the image, as a fraction of the image height.
25
+ */
26
+ top: number;
27
+ };
28
+
29
+ /** @internal */
30
+ export const ClassifyBox$inboundSchema: z.ZodType<
31
+ ClassifyBox,
32
+ z.ZodTypeDef,
33
+ unknown
34
+ > = z.object({
35
+ bottom: z.number(),
36
+ left: z.number(),
37
+ right: z.number(),
38
+ top: z.number(),
39
+ });
40
+
41
+ export function classifyBoxFromJSON(
42
+ jsonString: string,
43
+ ): SafeParseResult<ClassifyBox, SDKValidationError> {
44
+ return safeParse(
45
+ jsonString,
46
+ (x) => ClassifyBox$inboundSchema.parse(JSON.parse(x)),
47
+ `Failed to parse 'ClassifyBox' from JSON`,
48
+ );
49
+ }
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import { ClassifyBox, ClassifyBox$inboundSchema } from "./classifybox.js";
10
+
11
+ export type ClassifyBoxAnswer = {
12
+ box: ClassifyBox;
13
+ /**
14
+ * How sure the model is of the answer it selected: on emulated chat models the largest value in probabilities, so it adds nothing the distribution does not; native providers return their own confidence value, which can sit below the largest probability. Present for choice, score and box answers.
15
+ */
16
+ confidence?: number | undefined;
17
+ type: "box";
18
+ };
19
+
20
+ /** @internal */
21
+ export const ClassifyBoxAnswer$inboundSchema: z.ZodType<
22
+ ClassifyBoxAnswer,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ box: ClassifyBox$inboundSchema,
27
+ confidence: z.number().optional(),
28
+ type: z.literal("box"),
29
+ });
30
+
31
+ export function classifyBoxAnswerFromJSON(
32
+ jsonString: string,
33
+ ): SafeParseResult<ClassifyBoxAnswer, SDKValidationError> {
34
+ return safeParse(
35
+ jsonString,
36
+ (x) => ClassifyBoxAnswer$inboundSchema.parse(JSON.parse(x)),
37
+ `Failed to parse 'ClassifyBoxAnswer' from JSON`,
38
+ );
39
+ }
@@ -13,7 +13,7 @@ export type ClassifyChoiceAnswer = {
13
13
  */
14
14
  choice: string;
15
15
  /**
16
- * How sure the model is of the answer it selected: on emulated chat models the largest value in probabilities, so it adds nothing the distribution does not; native providers return their own confidence value, which can sit below the largest probability. Present for choice and score answers.
16
+ * How sure the model is of the answer it selected: on emulated chat models the largest value in probabilities, so it adds nothing the distribution does not; native providers return their own confidence value, which can sit below the largest probability. Present for choice, score and box answers.
17
17
  */
18
18
  confidence?: number | undefined;
19
19
  /**
@@ -9,7 +9,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
 
10
10
  export type ClassifyScoreAnswer = {
11
11
  /**
12
- * How sure the model is of the answer it selected: on emulated chat models the largest value in probabilities, so it adds nothing the distribution does not; native providers return their own confidence value, which can sit below the largest probability. Present for choice and score answers.
12
+ * How sure the model is of the answer it selected: on emulated chat models the largest value in probabilities, so it adds nothing the distribution does not; native providers return their own confidence value, which can sit below the largest probability. Present for choice, score and box answers.
13
13
  */
14
14
  confidence?: number | undefined;
15
15
  /**
@@ -19,6 +19,7 @@ import {
19
19
  AlertQuery$Outbound,
20
20
  AlertQuery$outboundSchema,
21
21
  } from "./alertquery.js";
22
+ import { AlertScope, AlertScope$outboundSchema } from "./alertscope.js";
22
23
 
23
24
  export type CreateAlertRequest = {
24
25
  /**
@@ -30,9 +31,9 @@ export type CreateAlertRequest = {
30
31
  */
31
32
  description?: string | undefined;
32
33
  /**
33
- * Project that owns the alert. Required.
34
+ * Project that owns a project alert. Empty for a workspace alert.
34
35
  */
35
- projectId: string;
36
+ projectId?: string | undefined;
36
37
  /**
37
38
  * UI signal preset the alert is created from. Defaults to `custom`.
38
39
  */
@@ -60,19 +61,21 @@ export type CreateAlertRequest = {
60
61
  * Display options for the alert activity chart.
61
62
  */
62
63
  display?: AlertDisplay | undefined;
64
+ scope?: AlertScope | undefined;
63
65
  };
64
66
 
65
67
  /** @internal */
66
68
  export type CreateAlertRequest$Outbound = {
67
69
  display_name: string;
68
70
  description?: string | undefined;
69
- project_id: string;
71
+ project_id?: string | undefined;
70
72
  signal?: string | undefined;
71
73
  query: AlertQuery$Outbound;
72
74
  condition: AlertCondition$Outbound;
73
75
  notifier_ids?: Array<string> | undefined;
74
76
  enabled?: boolean | undefined;
75
77
  display?: AlertDisplay$Outbound | undefined;
78
+ scope?: string | undefined;
76
79
  };
77
80
 
78
81
  /** @internal */
@@ -83,13 +86,14 @@ export const CreateAlertRequest$outboundSchema: z.ZodType<
83
86
  > = z.object({
84
87
  displayName: z.string(),
85
88
  description: z.string().optional(),
86
- projectId: z.string(),
89
+ projectId: z.string().optional(),
87
90
  signal: z.string().optional(),
88
91
  query: AlertQuery$outboundSchema,
89
92
  condition: AlertCondition$outboundSchema,
90
93
  notifierIds: z.array(z.string()).optional(),
91
94
  enabled: z.boolean().optional(),
92
95
  display: AlertDisplay$outboundSchema.optional(),
96
+ scope: AlertScope$outboundSchema.optional(),
93
97
  }).transform((v) => {
94
98
  return remap$(v, {
95
99
  displayName: "display_name",
@@ -31,6 +31,8 @@ export * from "./alertdisplay.js";
31
31
  export * from "./alertevidence.js";
32
32
  export * from "./alertquery.js";
33
33
  export * from "./alertrun.js";
34
+ export * from "./alertscope.js";
35
+ export * from "./alerttelemetrysource.js";
34
36
  export * from "./alerttrigger.js";
35
37
  export * from "./alerttriggerevent.js";
36
38
  export * from "./allprojectsscope.js";
@@ -85,6 +87,9 @@ export * from "./chunksservicelistresponse.js";
85
87
  export * from "./chunksservicesetenabledrequest.js";
86
88
  export * from "./chunksserviceupdaterequest.js";
87
89
  export * from "./classifyanswer.js";
90
+ export * from "./classifyasset.js";
91
+ export * from "./classifybox.js";
92
+ export * from "./classifyboxanswer.js";
88
93
  export * from "./classifycacheconfig.js";
89
94
  export * from "./classifychoiceanswer.js";
90
95
  export * from "./classifyinputtokensdetails.js";
@@ -22,10 +22,11 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
22
22
  */
23
23
  export type PiiRedactionConfig = {
24
24
  /**
25
- * Detector language. One of "en" or "nl"; omit for the gateway default
25
+ * Detector language. Accepts "auto" to detect the language per request; the
26
26
  *
27
27
  * @remarks
28
- * ("en"). The valid entity catalog depends on this value.
28
+ * concrete languages come from GET /v2/pii/capabilities. Omitting the field
29
+ * defaults to "auto". The valid entity catalog depends on this value.
29
30
  */
30
31
  language?: string | undefined;
31
32
  /**
@@ -38,7 +38,7 @@ export type PIIRedactionPlugin = {
38
38
  */
39
39
  id: Id;
40
40
  /**
41
- * Detector language. Accepts "auto" to detect the language per request; GET /v2/pii/capabilities lists the concrete languages and does not include "auto". Omitting the field falls back to en.
41
+ * Detector language. Accepts "auto" to detect the language per request; GET /v2/pii/capabilities lists the concrete languages and does not include "auto". Omitting the field defaults to "auto".
42
42
  */
43
43
  language?: string | undefined;
44
44
  /**
@@ -23,6 +23,7 @@ import {
23
23
  export type Pricing = {
24
24
  audioInput?: Price | undefined;
25
25
  audioOutput?: Price | undefined;
26
+ audioSession?: Price | undefined;
26
27
  cacheRead?: Price | undefined;
27
28
  cacheWrite1h?: Price | undefined;
28
29
  cacheWrite5m?: Price | undefined;
@@ -31,6 +32,7 @@ export type Pricing = {
31
32
  output?: Price | undefined;
32
33
  reasoning?: Price | undefined;
33
34
  search?: Price | undefined;
35
+ textInput?: Price | undefined;
34
36
  variants?: Array<PricingVariant> | null | undefined;
35
37
  };
36
38
 
@@ -39,6 +41,7 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
39
41
  z.object({
40
42
  audio_input: Price$inboundSchema.optional(),
41
43
  audio_output: Price$inboundSchema.optional(),
44
+ audio_session: Price$inboundSchema.optional(),
42
45
  cache_read: Price$inboundSchema.optional(),
43
46
  cache_write_1h: Price$inboundSchema.optional(),
44
47
  cache_write_5m: Price$inboundSchema.optional(),
@@ -47,20 +50,24 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
47
50
  output: Price$inboundSchema.optional(),
48
51
  reasoning: Price$inboundSchema.optional(),
49
52
  search: Price$inboundSchema.optional(),
53
+ text_input: Price$inboundSchema.optional(),
50
54
  variants: z.nullable(z.array(PricingVariant$inboundSchema)).optional(),
51
55
  }).transform((v) => {
52
56
  return remap$(v, {
53
57
  "audio_input": "audioInput",
54
58
  "audio_output": "audioOutput",
59
+ "audio_session": "audioSession",
55
60
  "cache_read": "cacheRead",
56
61
  "cache_write_1h": "cacheWrite1h",
57
62
  "cache_write_5m": "cacheWrite5m",
63
+ "text_input": "textInput",
58
64
  });
59
65
  });
60
66
  /** @internal */
61
67
  export type Pricing$Outbound = {
62
68
  audio_input?: Price$Outbound | undefined;
63
69
  audio_output?: Price$Outbound | undefined;
70
+ audio_session?: Price$Outbound | undefined;
64
71
  cache_read?: Price$Outbound | undefined;
65
72
  cache_write_1h?: Price$Outbound | undefined;
66
73
  cache_write_5m?: Price$Outbound | undefined;
@@ -69,6 +76,7 @@ export type Pricing$Outbound = {
69
76
  output?: Price$Outbound | undefined;
70
77
  reasoning?: Price$Outbound | undefined;
71
78
  search?: Price$Outbound | undefined;
79
+ text_input?: Price$Outbound | undefined;
72
80
  variants?: Array<PricingVariant$Outbound> | null | undefined;
73
81
  };
74
82
 
@@ -80,6 +88,7 @@ export const Pricing$outboundSchema: z.ZodType<
80
88
  > = z.object({
81
89
  audioInput: Price$outboundSchema.optional(),
82
90
  audioOutput: Price$outboundSchema.optional(),
91
+ audioSession: Price$outboundSchema.optional(),
83
92
  cacheRead: Price$outboundSchema.optional(),
84
93
  cacheWrite1h: Price$outboundSchema.optional(),
85
94
  cacheWrite5m: Price$outboundSchema.optional(),
@@ -88,14 +97,17 @@ export const Pricing$outboundSchema: z.ZodType<
88
97
  output: Price$outboundSchema.optional(),
89
98
  reasoning: Price$outboundSchema.optional(),
90
99
  search: Price$outboundSchema.optional(),
100
+ textInput: Price$outboundSchema.optional(),
91
101
  variants: z.nullable(z.array(PricingVariant$outboundSchema)).optional(),
92
102
  }).transform((v) => {
93
103
  return remap$(v, {
94
104
  audioInput: "audio_input",
95
105
  audioOutput: "audio_output",
106
+ audioSession: "audio_session",
96
107
  cacheRead: "cache_read",
97
108
  cacheWrite1h: "cache_write_1h",
98
109
  cacheWrite5m: "cache_write_5m",
110
+ textInput: "text_input",
99
111
  });
100
112
  });
101
113
 
@@ -17,6 +17,7 @@ import {
17
17
  export type PricingVariant = {
18
18
  audioInput?: Price | undefined;
19
19
  audioOutput?: Price | undefined;
20
+ audioSession?: Price | undefined;
20
21
  cacheRead?: Price | undefined;
21
22
  cacheWrite1h?: Price | undefined;
22
23
  cacheWrite5m?: Price | undefined;
@@ -25,6 +26,7 @@ export type PricingVariant = {
25
26
  output?: Price | undefined;
26
27
  reasoning?: Price | undefined;
27
28
  search?: Price | undefined;
29
+ textInput?: Price | undefined;
28
30
  when: string;
29
31
  };
30
32
 
@@ -36,6 +38,7 @@ export const PricingVariant$inboundSchema: z.ZodType<
36
38
  > = z.object({
37
39
  audio_input: Price$inboundSchema.optional(),
38
40
  audio_output: Price$inboundSchema.optional(),
41
+ audio_session: Price$inboundSchema.optional(),
39
42
  cache_read: Price$inboundSchema.optional(),
40
43
  cache_write_1h: Price$inboundSchema.optional(),
41
44
  cache_write_5m: Price$inboundSchema.optional(),
@@ -44,20 +47,24 @@ export const PricingVariant$inboundSchema: z.ZodType<
44
47
  output: Price$inboundSchema.optional(),
45
48
  reasoning: Price$inboundSchema.optional(),
46
49
  search: Price$inboundSchema.optional(),
50
+ text_input: Price$inboundSchema.optional(),
47
51
  when: z.string(),
48
52
  }).transform((v) => {
49
53
  return remap$(v, {
50
54
  "audio_input": "audioInput",
51
55
  "audio_output": "audioOutput",
56
+ "audio_session": "audioSession",
52
57
  "cache_read": "cacheRead",
53
58
  "cache_write_1h": "cacheWrite1h",
54
59
  "cache_write_5m": "cacheWrite5m",
60
+ "text_input": "textInput",
55
61
  });
56
62
  });
57
63
  /** @internal */
58
64
  export type PricingVariant$Outbound = {
59
65
  audio_input?: Price$Outbound | undefined;
60
66
  audio_output?: Price$Outbound | undefined;
67
+ audio_session?: Price$Outbound | undefined;
61
68
  cache_read?: Price$Outbound | undefined;
62
69
  cache_write_1h?: Price$Outbound | undefined;
63
70
  cache_write_5m?: Price$Outbound | undefined;
@@ -66,6 +73,7 @@ export type PricingVariant$Outbound = {
66
73
  output?: Price$Outbound | undefined;
67
74
  reasoning?: Price$Outbound | undefined;
68
75
  search?: Price$Outbound | undefined;
76
+ text_input?: Price$Outbound | undefined;
69
77
  when: string;
70
78
  };
71
79
 
@@ -77,6 +85,7 @@ export const PricingVariant$outboundSchema: z.ZodType<
77
85
  > = z.object({
78
86
  audioInput: Price$outboundSchema.optional(),
79
87
  audioOutput: Price$outboundSchema.optional(),
88
+ audioSession: Price$outboundSchema.optional(),
80
89
  cacheRead: Price$outboundSchema.optional(),
81
90
  cacheWrite1h: Price$outboundSchema.optional(),
82
91
  cacheWrite5m: Price$outboundSchema.optional(),
@@ -85,14 +94,17 @@ export const PricingVariant$outboundSchema: z.ZodType<
85
94
  output: Price$outboundSchema.optional(),
86
95
  reasoning: Price$outboundSchema.optional(),
87
96
  search: Price$outboundSchema.optional(),
97
+ textInput: Price$outboundSchema.optional(),
88
98
  when: z.string(),
89
99
  }).transform((v) => {
90
100
  return remap$(v, {
91
101
  audioInput: "audio_input",
92
102
  audioOutput: "audio_output",
103
+ audioSession: "audio_session",
93
104
  cacheRead: "cache_read",
94
105
  cacheWrite1h: "cache_write_1h",
95
106
  cacheWrite5m: "cache_write_5m",
107
+ textInput: "text_input",
96
108
  });
97
109
  });
98
110
 
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m4wk5n95f4f5mw1g7jnpbetz"),
43
+ _id: z.string().default("reasoning_01m50dv9x8vm9xxs8f8jwj2zq5"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -34,7 +34,10 @@ export type UpdateAlertRequest = {
34
34
  */
35
35
  signal?: string | undefined;
36
36
  /**
37
- * Replacement query. Omit to keep the current query.
37
+ * Replacement query. Metric, operation, and filters may change within the
38
+ *
39
+ * @remarks
40
+ * current telemetry source. Source changes require creating a new alert.
38
41
  */
39
42
  query?: AlertQuery | undefined;
40
43
  /**
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import * as components from "../components/index.js";
7
+ import { OrqError } from "./orqerror.js";
8
+
9
+ export type APIErrorResponseData = {
10
+ error: components.APIError;
11
+ };
12
+
13
+ export class APIErrorResponse extends OrqError {
14
+ error: components.APIError;
15
+
16
+ /** The original data that was passed to this error instance. */
17
+ data$: APIErrorResponseData;
18
+
19
+ constructor(
20
+ err: APIErrorResponseData,
21
+ httpMeta: { response: Response; request: Request; body: string },
22
+ ) {
23
+ const message = err.error?.message
24
+ || `API error occurred: ${JSON.stringify(err)}`;
25
+ super(message, httpMeta);
26
+ this.data$ = err;
27
+ this.error = err.error;
28
+
29
+ this.name = "APIErrorResponse";
30
+ }
31
+ }
32
+
33
+ /** @internal */
34
+ export const APIErrorResponse$inboundSchema: z.ZodType<
35
+ APIErrorResponse,
36
+ z.ZodTypeDef,
37
+ unknown
38
+ > = z.object({
39
+ error: components.APIError$inboundSchema,
40
+ request$: z.instanceof(Request),
41
+ response$: z.instanceof(Response),
42
+ body$: z.string(),
43
+ })
44
+ .transform((v) => {
45
+ return new APIErrorResponse(v, {
46
+ request: v.request$,
47
+ response: v.response$,
48
+ body: v.body$,
49
+ });
50
+ });
@@ -0,0 +1,69 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { OrqError } from "./orqerror.js";
7
+
8
+ export type ErrorResponseData = {
9
+ /**
10
+ * Human-readable error message.
11
+ */
12
+ message: string;
13
+ /**
14
+ * gRPC status code, when the service reports one.
15
+ */
16
+ code?: number | undefined;
17
+ /**
18
+ * Additional error details, when the service reports any.
19
+ */
20
+ details?: Array<any> | undefined;
21
+ };
22
+
23
+ export class ErrorResponse extends OrqError {
24
+ /**
25
+ * gRPC status code, when the service reports one.
26
+ */
27
+ code?: number | undefined;
28
+ /**
29
+ * Additional error details, when the service reports any.
30
+ */
31
+ details?: Array<any> | undefined;
32
+
33
+ /** The original data that was passed to this error instance. */
34
+ data$: ErrorResponseData;
35
+
36
+ constructor(
37
+ err: ErrorResponseData,
38
+ httpMeta: { response: Response; request: Request; body: string },
39
+ ) {
40
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
41
+ super(message, httpMeta);
42
+ this.data$ = err;
43
+ if (err.code != null) this.code = err.code;
44
+ if (err.details != null) this.details = err.details;
45
+
46
+ this.name = "ErrorResponse";
47
+ }
48
+ }
49
+
50
+ /** @internal */
51
+ export const ErrorResponse$inboundSchema: z.ZodType<
52
+ ErrorResponse,
53
+ z.ZodTypeDef,
54
+ unknown
55
+ > = z.object({
56
+ message: z.string(),
57
+ code: z.number().int().optional(),
58
+ details: z.array(z.any()).optional(),
59
+ request$: z.instanceof(Request),
60
+ response$: z.instanceof(Response),
61
+ body$: z.string(),
62
+ })
63
+ .transform((v) => {
64
+ return new ErrorResponse(v, {
65
+ request: v.request$,
66
+ response: v.response$,
67
+ body: v.body$,
68
+ });
69
+ });
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  export * from "./apierror.js";
6
+ export * from "./apierrorresponse.js";
6
7
  export * from "./compactresponse.js";
7
8
  export * from "./createagentschedule.js";
8
9
  export * from "./createclassify.js";
@@ -15,6 +16,7 @@ export * from "./deleteagent.js";
15
16
  export * from "./deleteagentschedule.js";
16
17
  export * from "./deleteeval.js";
17
18
  export * from "./deleteprompt.js";
19
+ export * from "./errorresponse.js";
18
20
  export * from "./geteval.js";
19
21
  export * from "./getevals.js";
20
22
  export * from "./getpromptversion.js";
@@ -4,6 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as components from "../components/index.js";
7
8
 
8
9
  export type AlertListRequest = {
9
10
  /**
@@ -28,6 +29,13 @@ export type AlertListRequest = {
28
29
  * Restrict results to one project.
29
30
  */
30
31
  projectId?: string | undefined;
32
+ /**
33
+ * Restrict results by ownership boundary. Unspecified returns all alerts
34
+ *
35
+ * @remarks
36
+ * visible to the caller; non-admin callers never see workspace alerts.
37
+ */
38
+ scope?: components.AlertScope | undefined;
31
39
  };
32
40
 
33
41
  /** @internal */
@@ -36,6 +44,7 @@ export type AlertListRequest$Outbound = {
36
44
  starting_after?: string | undefined;
37
45
  ending_before?: string | undefined;
38
46
  project_id?: string | undefined;
47
+ scope?: string | undefined;
39
48
  };
40
49
 
41
50
  /** @internal */
@@ -48,6 +57,7 @@ export const AlertListRequest$outboundSchema: z.ZodType<
48
57
  startingAfter: z.string().optional(),
49
58
  endingBefore: z.string().optional(),
50
59
  projectId: z.string().optional(),
60
+ scope: components.AlertScope$outboundSchema.optional(),
51
61
  }).transform((v) => {
52
62
  return remap$(v, {
53
63
  startingAfter: "starting_after",