@orq-ai/node 4.16.8 → 4.16.10

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 (448) 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/lib/config.js.map +1 -1
  18. package/models/components/audiocontentpartschema.d.ts +5 -5
  19. package/models/components/audiocontentpartschema.d.ts.map +1 -1
  20. package/models/components/audiocontentpartschema.js +6 -7
  21. package/models/components/audiocontentpartschema.js.map +1 -1
  22. package/models/components/classifyanswer.d.ts +2 -1
  23. package/models/components/classifyanswer.d.ts.map +1 -1
  24. package/models/components/classifyanswer.js +2 -0
  25. package/models/components/classifyanswer.js.map +1 -1
  26. package/models/components/classifyasset.d.ts +52 -0
  27. package/models/components/classifyasset.d.ts.map +1 -0
  28. package/models/components/classifyasset.js +75 -0
  29. package/models/components/classifyasset.js.map +1 -0
  30. package/models/components/classifybox.d.ts +25 -0
  31. package/models/components/classifybox.d.ts.map +1 -0
  32. package/models/components/classifybox.js +53 -0
  33. package/models/components/classifybox.js.map +1 -0
  34. package/models/components/classifyboxanswer.d.ts +16 -0
  35. package/models/components/classifyboxanswer.d.ts.map +1 -0
  36. package/models/components/classifyboxanswer.js +53 -0
  37. package/models/components/classifyboxanswer.js.map +1 -0
  38. package/models/components/classifychoiceanswer.d.ts +1 -1
  39. package/models/components/classifyscoreanswer.d.ts +1 -1
  40. package/models/components/index.d.ts +3 -0
  41. package/models/components/index.d.ts.map +1 -1
  42. package/models/components/index.js +3 -0
  43. package/models/components/index.js.map +1 -1
  44. package/models/components/publicusage.d.ts +18 -0
  45. package/models/components/publicusage.d.ts.map +1 -1
  46. package/models/components/publicusage.js +11 -1
  47. package/models/components/publicusage.js.map +1 -1
  48. package/models/components/reasoningpart.js +1 -1
  49. package/models/operations/createclassify.d.ts +118 -17
  50. package/models/operations/createclassify.d.ts.map +1 -1
  51. package/models/operations/createclassify.js +41 -5
  52. package/models/operations/createclassify.js.map +1 -1
  53. package/models/operations/createdecisions.d.ts +124 -23
  54. package/models/operations/createdecisions.d.ts.map +1 -1
  55. package/models/operations/createdecisions.js +48 -10
  56. package/models/operations/createdecisions.js.map +1 -1
  57. package/models/operations/createrouterresponse.d.ts +18 -0
  58. package/models/operations/createrouterresponse.d.ts.map +1 -1
  59. package/models/operations/createrouterresponse.js +12 -2
  60. package/models/operations/createrouterresponse.js.map +1 -1
  61. package/models/operations/createtool.js +4 -4
  62. package/models/operations/getalltools.js +4 -4
  63. package/models/operations/getv2humanevalsets.js +2 -2
  64. package/models/operations/getv2humanevalsetsid.js +2 -2
  65. package/models/operations/index.d.ts +1 -0
  66. package/models/operations/index.d.ts.map +1 -1
  67. package/models/operations/index.js +1 -0
  68. package/models/operations/index.js.map +1 -1
  69. package/models/operations/listdeploymentversions.d.ts +1336 -0
  70. package/models/operations/listdeploymentversions.d.ts.map +1 -0
  71. package/models/operations/listdeploymentversions.js +1163 -0
  72. package/models/operations/listdeploymentversions.js.map +1 -0
  73. package/models/operations/patchv2humanevalsetsid.js +2 -2
  74. package/models/operations/postv2feedbackevaluation.js +4 -4
  75. package/models/operations/postv2humanevalsets.js +2 -2
  76. package/models/operations/retrievetool.js +4 -4
  77. package/models/operations/runagent.js +1 -1
  78. package/models/operations/streamrunagent.js +1 -1
  79. package/models/operations/updatetool.js +4 -4
  80. package/package.json +1 -1
  81. package/packages/orq-rc/src/funcs/agentsExternalCreate.ts +10 -1
  82. package/packages/orq-rc/src/funcs/agentsExternalDelete.ts +10 -1
  83. package/packages/orq-rc/src/funcs/agentsExternalList.ts +10 -1
  84. package/packages/orq-rc/src/funcs/agentsExternalRefreshCard.ts +10 -1
  85. package/packages/orq-rc/src/funcs/agentsExternalRetrieve.ts +10 -1
  86. package/packages/orq-rc/src/funcs/agentsExternalTestConnection.ts +10 -1
  87. package/packages/orq-rc/src/funcs/agentsExternalUpdate.ts +10 -1
  88. package/packages/orq-rc/src/funcs/agentsInvoke.ts +10 -1
  89. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +10 -1
  90. package/packages/orq-rc/src/funcs/agentsRun.ts +10 -1
  91. package/packages/orq-rc/src/funcs/alertsCreate.ts +11 -2
  92. package/packages/orq-rc/src/funcs/alertsDelete.ts +10 -1
  93. package/packages/orq-rc/src/funcs/alertsGet.ts +10 -1
  94. package/packages/orq-rc/src/funcs/alertsList.ts +11 -1
  95. package/packages/orq-rc/src/funcs/alertsListTriggerEvents.ts +10 -1
  96. package/packages/orq-rc/src/funcs/alertsListTriggers.ts +10 -1
  97. package/packages/orq-rc/src/funcs/alertsUpdate.ts +11 -2
  98. package/packages/orq-rc/src/funcs/annotationQueuesAddItems.ts +10 -1
  99. package/packages/orq-rc/src/funcs/annotationQueuesClear.ts +11 -2
  100. package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +10 -1
  101. package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +11 -2
  102. package/packages/orq-rc/src/funcs/annotationQueuesList.ts +10 -1
  103. package/packages/orq-rc/src/funcs/annotationQueuesListItems.ts +10 -1
  104. package/packages/orq-rc/src/funcs/annotationQueuesRemoveItems.ts +11 -2
  105. package/packages/orq-rc/src/funcs/annotationQueuesRetrieve.ts +10 -1
  106. package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +10 -1
  107. package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +10 -1
  108. package/packages/orq-rc/src/funcs/annotationsCreate.ts +11 -2
  109. package/packages/orq-rc/src/funcs/annotationsDelete.ts +11 -2
  110. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +10 -1
  111. package/packages/orq-rc/src/funcs/budgetsCreate.ts +10 -1
  112. package/packages/orq-rc/src/funcs/budgetsDelete.ts +10 -1
  113. package/packages/orq-rc/src/funcs/budgetsGet.ts +10 -1
  114. package/packages/orq-rc/src/funcs/budgetsList.ts +10 -1
  115. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +10 -1
  116. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +10 -1
  117. package/packages/orq-rc/src/funcs/chunkingParse.ts +10 -1
  118. package/packages/orq-rc/src/funcs/datasetsClear.ts +11 -2
  119. package/packages/orq-rc/src/funcs/datasetsCreate.ts +10 -1
  120. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +10 -1
  121. package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +10 -1
  122. package/packages/orq-rc/src/funcs/datasetsDelete.ts +11 -2
  123. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +11 -2
  124. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoints.ts +11 -2
  125. package/packages/orq-rc/src/funcs/datasetsList.ts +10 -1
  126. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +10 -1
  127. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +10 -1
  128. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +10 -1
  129. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +10 -1
  130. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +10 -1
  131. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +10 -1
  132. package/packages/orq-rc/src/funcs/deploymentsList.ts +4 -0
  133. package/packages/orq-rc/src/funcs/deploymentsListVersions.ts +176 -0
  134. package/packages/orq-rc/src/funcs/deploymentsStream.ts +10 -1
  135. package/packages/orq-rc/src/funcs/environmentsCreate.ts +10 -1
  136. package/packages/orq-rc/src/funcs/environmentsDelete.ts +10 -1
  137. package/packages/orq-rc/src/funcs/environmentsGet.ts +10 -1
  138. package/packages/orq-rc/src/funcs/environmentsList.ts +10 -1
  139. package/packages/orq-rc/src/funcs/environmentsUpdate.ts +10 -1
  140. package/packages/orq-rc/src/funcs/evalsGetVersion.ts +10 -1
  141. package/packages/orq-rc/src/funcs/evalsInvoke.ts +10 -1
  142. package/packages/orq-rc/src/funcs/evalsListVersions.ts +10 -1
  143. package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +11 -2
  144. package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +11 -2
  145. package/packages/orq-rc/src/funcs/feedbackSubmit.ts +10 -1
  146. package/packages/orq-rc/src/funcs/fileSystemsListFiles.ts +10 -1
  147. package/packages/orq-rc/src/funcs/fileSystemsRetrieve.ts +10 -1
  148. package/packages/orq-rc/src/funcs/fileSystemsStatFile.ts +10 -1
  149. package/packages/orq-rc/src/funcs/filesCreate.ts +10 -1
  150. package/packages/orq-rc/src/funcs/filesDelete.ts +10 -1
  151. package/packages/orq-rc/src/funcs/filesGet.ts +10 -1
  152. package/packages/orq-rc/src/funcs/filesGetContent.ts +10 -1
  153. package/packages/orq-rc/src/funcs/filesList.ts +10 -1
  154. package/packages/orq-rc/src/funcs/filesUpdate.ts +10 -1
  155. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +10 -1
  156. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +10 -1
  157. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +10 -1
  158. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +10 -1
  159. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +10 -1
  160. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +10 -1
  161. package/packages/orq-rc/src/funcs/hubGet.ts +10 -1
  162. package/packages/orq-rc/src/funcs/hubSearch.ts +10 -1
  163. package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +10 -1
  164. package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +11 -2
  165. package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +10 -1
  166. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +10 -1
  167. package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +10 -1
  168. package/packages/orq-rc/src/funcs/identitiesCreate.ts +5 -0
  169. package/packages/orq-rc/src/funcs/identitiesDelete.ts +10 -1
  170. package/packages/orq-rc/src/funcs/identitiesList.ts +10 -1
  171. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +10 -1
  172. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +10 -1
  173. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +10 -1
  174. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +10 -1
  175. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +11 -2
  176. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +10 -1
  177. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +11 -2
  178. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +10 -1
  179. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +10 -1
  180. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +10 -1
  181. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +10 -1
  182. package/packages/orq-rc/src/funcs/knowledgePreviewChunks.ts +10 -1
  183. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +10 -1
  184. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +10 -1
  185. package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +4 -0
  186. package/packages/orq-rc/src/funcs/knowledgeRetrieveProcessingStatus.ts +10 -1
  187. package/packages/orq-rc/src/funcs/knowledgeToggleChunk.ts +10 -1
  188. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +10 -1
  189. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +10 -1
  190. package/packages/orq-rc/src/funcs/logsAggregate.ts +10 -1
  191. package/packages/orq-rc/src/funcs/logsContext.ts +10 -1
  192. package/packages/orq-rc/src/funcs/logsFindPatterns.ts +10 -1
  193. package/packages/orq-rc/src/funcs/logsGet.ts +10 -1
  194. package/packages/orq-rc/src/funcs/logsListFacetValues.ts +10 -1
  195. package/packages/orq-rc/src/funcs/logsListFacets.ts +10 -1
  196. package/packages/orq-rc/src/funcs/logsListFields.ts +10 -1
  197. package/packages/orq-rc/src/funcs/logsListTraceLogs.ts +10 -1
  198. package/packages/orq-rc/src/funcs/logsQuery.ts +10 -1
  199. package/packages/orq-rc/src/funcs/logsSearch.ts +10 -1
  200. package/packages/orq-rc/src/funcs/managementKeysCreate.ts +10 -1
  201. package/packages/orq-rc/src/funcs/managementKeysDelete.ts +10 -1
  202. package/packages/orq-rc/src/funcs/managementKeysGet.ts +10 -1
  203. package/packages/orq-rc/src/funcs/managementKeysList.ts +10 -1
  204. package/packages/orq-rc/src/funcs/managementKeysListCapabilities.ts +10 -1
  205. package/packages/orq-rc/src/funcs/managementKeysUpdate.ts +10 -1
  206. package/packages/orq-rc/src/funcs/mcpGatewaysCreate.ts +10 -1
  207. package/packages/orq-rc/src/funcs/mcpGatewaysDelete.ts +10 -1
  208. package/packages/orq-rc/src/funcs/mcpGatewaysList.ts +10 -1
  209. package/packages/orq-rc/src/funcs/mcpGatewaysListTools.ts +10 -1
  210. package/packages/orq-rc/src/funcs/mcpGatewaysRetrieve.ts +10 -1
  211. package/packages/orq-rc/src/funcs/mcpGatewaysUpdate.ts +10 -1
  212. package/packages/orq-rc/src/funcs/mcpServersCreate.ts +10 -1
  213. package/packages/orq-rc/src/funcs/mcpServersDelete.ts +10 -1
  214. package/packages/orq-rc/src/funcs/mcpServersList.ts +10 -1
  215. package/packages/orq-rc/src/funcs/mcpServersRetrieve.ts +10 -1
  216. package/packages/orq-rc/src/funcs/mcpServersSync.ts +10 -1
  217. package/packages/orq-rc/src/funcs/mcpServersTestTool.ts +10 -1
  218. package/packages/orq-rc/src/funcs/mcpServersUpdate.ts +10 -1
  219. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +10 -1
  220. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +10 -1
  221. package/packages/orq-rc/src/funcs/modelCatalogGet.ts +10 -1
  222. package/packages/orq-rc/src/funcs/modelCatalogList.ts +10 -1
  223. package/packages/orq-rc/src/funcs/modelCatalogListOfferings.ts +10 -1
  224. package/packages/orq-rc/src/funcs/modelFusionsCreate.ts +10 -1
  225. package/packages/orq-rc/src/funcs/modelFusionsDelete.ts +10 -1
  226. package/packages/orq-rc/src/funcs/modelFusionsGet.ts +10 -1
  227. package/packages/orq-rc/src/funcs/modelFusionsList.ts +10 -1
  228. package/packages/orq-rc/src/funcs/modelFusionsSetEnabled.ts +10 -1
  229. package/packages/orq-rc/src/funcs/modelFusionsUpdate.ts +10 -1
  230. package/packages/orq-rc/src/funcs/modelsList.ts +10 -1
  231. package/packages/orq-rc/src/funcs/monitorsCreate.ts +10 -1
  232. package/packages/orq-rc/src/funcs/monitorsDelete.ts +10 -1
  233. package/packages/orq-rc/src/funcs/monitorsGet.ts +10 -1
  234. package/packages/orq-rc/src/funcs/monitorsList.ts +10 -1
  235. package/packages/orq-rc/src/funcs/monitorsListPresets.ts +10 -1
  236. package/packages/orq-rc/src/funcs/monitorsUpdate.ts +10 -1
  237. package/packages/orq-rc/src/funcs/notifiersCreate.ts +10 -1
  238. package/packages/orq-rc/src/funcs/notifiersDelete.ts +10 -1
  239. package/packages/orq-rc/src/funcs/notifiersGet.ts +10 -1
  240. package/packages/orq-rc/src/funcs/notifiersList.ts +10 -1
  241. package/packages/orq-rc/src/funcs/notifiersUpdate.ts +10 -1
  242. package/packages/orq-rc/src/funcs/piiCapabilities.ts +10 -1
  243. package/packages/orq-rc/src/funcs/piiDetect.ts +10 -1
  244. package/packages/orq-rc/src/funcs/piiRedact.ts +10 -1
  245. package/packages/orq-rc/src/funcs/piiRestore.ts +10 -1
  246. package/packages/orq-rc/src/funcs/policiesList.ts +10 -1
  247. package/packages/orq-rc/src/funcs/projectsCreate.ts +10 -1
  248. package/packages/orq-rc/src/funcs/projectsDelete.ts +10 -1
  249. package/packages/orq-rc/src/funcs/projectsGet.ts +10 -1
  250. package/packages/orq-rc/src/funcs/projectsList.ts +10 -1
  251. package/packages/orq-rc/src/funcs/projectsUpdate.ts +10 -1
  252. package/packages/orq-rc/src/funcs/promptsCreate.ts +10 -1
  253. package/packages/orq-rc/src/funcs/promptsList.ts +10 -1
  254. package/packages/orq-rc/src/funcs/promptsListVersions.ts +10 -1
  255. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +10 -1
  256. package/packages/orq-rc/src/funcs/reportingQuery.ts +10 -1
  257. package/packages/orq-rc/src/funcs/responsesCreate.ts +10 -1
  258. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +11 -2
  259. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +10 -1
  260. package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +3 -0
  261. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +10 -1
  262. package/packages/orq-rc/src/funcs/routerDecisionsCreate.ts +3 -0
  263. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +10 -1
  264. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +10 -1
  265. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +10 -1
  266. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +10 -1
  267. package/packages/orq-rc/src/funcs/routerOcr.ts +10 -1
  268. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +10 -1
  269. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +10 -1
  270. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +11 -2
  271. package/packages/orq-rc/src/funcs/routingRulesList.ts +10 -1
  272. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +10 -1
  273. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +10 -1
  274. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +10 -1
  275. package/packages/orq-rc/src/funcs/schedulesList.ts +14 -1
  276. package/packages/orq-rc/src/funcs/sessionsCreate.ts +10 -1
  277. package/packages/orq-rc/src/funcs/sessionsDelete.ts +11 -2
  278. package/packages/orq-rc/src/funcs/sessionsGet.ts +10 -1
  279. package/packages/orq-rc/src/funcs/sessionsGetCount.ts +10 -1
  280. package/packages/orq-rc/src/funcs/sessionsList.ts +10 -1
  281. package/packages/orq-rc/src/funcs/sessionsListTags.ts +10 -1
  282. package/packages/orq-rc/src/funcs/sessionsUpdate.ts +10 -1
  283. package/packages/orq-rc/src/funcs/skillsCreate.ts +10 -1
  284. package/packages/orq-rc/src/funcs/skillsDelete.ts +10 -1
  285. package/packages/orq-rc/src/funcs/skillsGet.ts +10 -1
  286. package/packages/orq-rc/src/funcs/skillsList.ts +10 -1
  287. package/packages/orq-rc/src/funcs/skillsUpdate.ts +10 -1
  288. package/packages/orq-rc/src/funcs/smartRoutersCreate.ts +10 -1
  289. package/packages/orq-rc/src/funcs/smartRoutersDelete.ts +10 -1
  290. package/packages/orq-rc/src/funcs/smartRoutersGet.ts +10 -1
  291. package/packages/orq-rc/src/funcs/smartRoutersList.ts +10 -1
  292. package/packages/orq-rc/src/funcs/smartRoutersUpdate.ts +10 -1
  293. package/packages/orq-rc/src/funcs/telemetryListCapabilities.ts +12 -1
  294. package/packages/orq-rc/src/funcs/telemetryListFacetValues.ts +10 -1
  295. package/packages/orq-rc/src/funcs/telemetryQuery.ts +10 -1
  296. package/packages/orq-rc/src/funcs/toolsCreate.ts +10 -1
  297. package/packages/orq-rc/src/funcs/toolsDelete.ts +11 -2
  298. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +10 -1
  299. package/packages/orq-rc/src/funcs/tracesAggregate.ts +10 -1
  300. package/packages/orq-rc/src/funcs/tracesGet.ts +10 -1
  301. package/packages/orq-rc/src/funcs/tracesGetConversation.ts +10 -1
  302. package/packages/orq-rc/src/funcs/tracesGetSpan.ts +10 -1
  303. package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +10 -1
  304. package/packages/orq-rc/src/funcs/tracesListFacets.ts +10 -1
  305. package/packages/orq-rc/src/funcs/tracesListFields.ts +10 -1
  306. package/packages/orq-rc/src/funcs/tracesListFilters.ts +10 -1
  307. package/packages/orq-rc/src/funcs/tracesListSpans.ts +10 -1
  308. package/packages/orq-rc/src/funcs/tracesQuery.ts +10 -1
  309. package/packages/orq-rc/src/funcs/tracesSearch.ts +10 -1
  310. package/packages/orq-rc/src/funcs/usersCreate.ts +10 -1
  311. package/packages/orq-rc/src/funcs/usersDelete.ts +10 -1
  312. package/packages/orq-rc/src/funcs/usersGet.ts +10 -1
  313. package/packages/orq-rc/src/funcs/usersList.ts +10 -1
  314. package/packages/orq-rc/src/funcs/usersUpdate.ts +10 -1
  315. package/packages/orq-rc/src/funcs/viewsCreate.ts +10 -1
  316. package/packages/orq-rc/src/funcs/viewsDelete.ts +10 -1
  317. package/packages/orq-rc/src/funcs/viewsGet.ts +10 -1
  318. package/packages/orq-rc/src/funcs/viewsList.ts +10 -1
  319. package/packages/orq-rc/src/funcs/viewsUpdate.ts +10 -1
  320. package/packages/orq-rc/src/funcs/webhooksCount.ts +10 -1
  321. package/packages/orq-rc/src/funcs/webhooksCreate.ts +10 -1
  322. package/packages/orq-rc/src/funcs/webhooksDelete.ts +10 -1
  323. package/packages/orq-rc/src/funcs/webhooksGenerateSecret.ts +10 -1
  324. package/packages/orq-rc/src/funcs/webhooksGet.ts +10 -1
  325. package/packages/orq-rc/src/funcs/webhooksList.ts +10 -1
  326. package/packages/orq-rc/src/funcs/webhooksQuery.ts +10 -1
  327. package/packages/orq-rc/src/funcs/webhooksUpdate.ts +10 -1
  328. package/packages/orq-rc/src/funcs/wikisCreate.ts +10 -1
  329. package/packages/orq-rc/src/funcs/wikisDelete.ts +10 -1
  330. package/packages/orq-rc/src/funcs/wikisGet.ts +10 -1
  331. package/packages/orq-rc/src/funcs/wikisGetPage.ts +10 -1
  332. package/packages/orq-rc/src/funcs/wikisGetTree.ts +10 -1
  333. package/packages/orq-rc/src/funcs/wikisInspectRepository.ts +10 -1
  334. package/packages/orq-rc/src/funcs/wikisList.ts +10 -1
  335. package/packages/orq-rc/src/funcs/wikisListRuns.ts +10 -1
  336. package/packages/orq-rc/src/funcs/wikisRefresh.ts +10 -1
  337. package/packages/orq-rc/src/funcs/wikisSearch.ts +10 -1
  338. package/packages/orq-rc/src/funcs/wikisUpdate.ts +10 -1
  339. package/packages/orq-rc/src/funcs/wikisUpdatePage.ts +10 -1
  340. package/packages/orq-rc/src/funcs/workspaceSecurityAddIPRange.ts +10 -1
  341. package/packages/orq-rc/src/funcs/workspaceSecurityCreateDomain.ts +10 -1
  342. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteDomain.ts +11 -2
  343. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteIPRange.ts +11 -2
  344. package/packages/orq-rc/src/funcs/workspaceSecurityGetIPAllowlist.ts +10 -1
  345. package/packages/orq-rc/src/funcs/workspaceSecurityListDomains.ts +10 -1
  346. package/packages/orq-rc/src/funcs/workspaceSecurityUpdateIPAllowlist.ts +10 -1
  347. package/packages/orq-rc/src/funcs/workspaceSecurityVerifyDomain.ts +10 -1
  348. package/packages/orq-rc/src/funcs/workspaceSettingsGet.ts +10 -1
  349. package/packages/orq-rc/src/funcs/workspaceSettingsUpdate.ts +10 -1
  350. package/packages/orq-rc/src/funcs/workspacesGet.ts +10 -1
  351. package/packages/orq-rc/src/funcs/workspacesList.ts +10 -1
  352. package/packages/orq-rc/src/funcs/workspacesUpdate.ts +10 -1
  353. package/packages/orq-rc/src/lib/config.ts +2 -2
  354. package/packages/orq-rc/src/models/components/alert.ts +4 -1
  355. package/packages/orq-rc/src/models/components/alertquery.ts +24 -4
  356. package/packages/orq-rc/src/models/components/alertscope.ts +20 -0
  357. package/packages/orq-rc/src/models/components/alerttelemetrysource.ts +22 -0
  358. package/packages/orq-rc/src/models/components/alerttrigger.ts +9 -0
  359. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +13 -9
  360. package/packages/orq-rc/src/models/components/budgetmatch.ts +1 -1
  361. package/packages/orq-rc/src/models/components/classifyanswer.ts +6 -0
  362. package/packages/orq-rc/src/models/components/classifyasset.ts +81 -0
  363. package/packages/orq-rc/src/models/components/classifybox.ts +49 -0
  364. package/packages/orq-rc/src/models/components/classifyboxanswer.ts +39 -0
  365. package/packages/orq-rc/src/models/components/classifychoiceanswer.ts +1 -1
  366. package/packages/orq-rc/src/models/components/classifyscoreanswer.ts +1 -1
  367. package/packages/orq-rc/src/models/components/createalertrequest.ts +8 -4
  368. package/packages/orq-rc/src/models/components/index.ts +7 -0
  369. package/packages/orq-rc/src/models/components/mcpauthconfig.ts +11 -0
  370. package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +9 -0
  371. package/packages/orq-rc/src/models/components/mcpauthtype.ts +1 -0
  372. package/packages/orq-rc/src/models/components/mcpenterpriseauthconfig.ts +72 -0
  373. package/packages/orq-rc/src/models/components/mcpenterpriseauthconfigoutput.ts +62 -0
  374. package/packages/orq-rc/src/models/components/pricing.ts +18 -0
  375. package/packages/orq-rc/src/models/components/pricingvariant.ts +18 -0
  376. package/packages/orq-rc/src/models/components/publicusage.ts +23 -0
  377. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  378. package/packages/orq-rc/src/models/components/updatealertrequest.ts +4 -1
  379. package/packages/orq-rc/src/models/errors/apierrorresponse.ts +50 -0
  380. package/packages/orq-rc/src/models/errors/errorresponse.ts +69 -0
  381. package/packages/orq-rc/src/models/errors/index.ts +2 -0
  382. package/packages/orq-rc/src/models/operations/alertlist.ts +10 -0
  383. package/packages/orq-rc/src/models/operations/createclassify.ts +169 -21
  384. package/packages/orq-rc/src/models/operations/createdecisions.ts +197 -32
  385. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +23 -0
  386. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  387. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  388. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  389. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  390. package/packages/orq-rc/src/models/operations/index.ts +1 -0
  391. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +2793 -0
  392. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  393. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  394. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  395. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  396. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  397. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  398. package/packages/orq-rc/src/models/operations/telemetrylistcapabilities.ts +24 -0
  399. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  400. package/packages/orq-rc/src/sdk/alerts.ts +2 -2
  401. package/packages/orq-rc/src/sdk/classify.ts +3 -0
  402. package/packages/orq-rc/src/sdk/decisions.ts +3 -0
  403. package/packages/orq-rc/src/sdk/deployments.ts +18 -0
  404. package/sdk/classify.d.ts +3 -0
  405. package/sdk/classify.d.ts.map +1 -1
  406. package/sdk/classify.js +3 -0
  407. package/sdk/classify.js.map +1 -1
  408. package/sdk/decisions.d.ts +3 -0
  409. package/sdk/decisions.d.ts.map +1 -1
  410. package/sdk/decisions.js +3 -0
  411. package/sdk/decisions.js.map +1 -1
  412. package/sdk/deployments.d.ts +7 -0
  413. package/sdk/deployments.d.ts.map +1 -1
  414. package/sdk/deployments.js +10 -0
  415. package/sdk/deployments.js.map +1 -1
  416. package/src/funcs/deploymentsListVersions.ts +176 -0
  417. package/src/funcs/routerClassifyCreate.ts +3 -0
  418. package/src/funcs/routerDecisionsCreate.ts +3 -0
  419. package/src/lib/config.ts +2 -2
  420. package/src/models/components/audiocontentpartschema.ts +13 -9
  421. package/src/models/components/classifyanswer.ts +6 -0
  422. package/src/models/components/classifyasset.ts +81 -0
  423. package/src/models/components/classifybox.ts +49 -0
  424. package/src/models/components/classifyboxanswer.ts +39 -0
  425. package/src/models/components/classifychoiceanswer.ts +1 -1
  426. package/src/models/components/classifyscoreanswer.ts +1 -1
  427. package/src/models/components/index.ts +3 -0
  428. package/src/models/components/publicusage.ts +23 -0
  429. package/src/models/components/reasoningpart.ts +1 -1
  430. package/src/models/operations/createclassify.ts +169 -21
  431. package/src/models/operations/createdecisions.ts +197 -32
  432. package/src/models/operations/createrouterresponse.ts +23 -0
  433. package/src/models/operations/createtool.ts +4 -4
  434. package/src/models/operations/getalltools.ts +4 -4
  435. package/src/models/operations/getv2humanevalsets.ts +2 -2
  436. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  437. package/src/models/operations/index.ts +1 -0
  438. package/src/models/operations/listdeploymentversions.ts +2793 -0
  439. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  440. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  441. package/src/models/operations/postv2humanevalsets.ts +2 -2
  442. package/src/models/operations/retrievetool.ts +4 -4
  443. package/src/models/operations/runagent.ts +1 -1
  444. package/src/models/operations/streamrunagent.ts +1 -1
  445. package/src/models/operations/updatetool.ts +4 -4
  446. package/src/sdk/classify.ts +3 -0
  447. package/src/sdk/decisions.ts +3 -0
  448. 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";
@@ -392,6 +397,8 @@ export * from "./mcpauthconfigoutput.js";
392
397
  export * from "./mcpauthtype.js";
393
398
  export * from "./mcpconnection.js";
394
399
  export * from "./mcpconnectiontype.js";
400
+ export * from "./mcpenterpriseauthconfig.js";
401
+ export * from "./mcpenterpriseauthconfigoutput.js";
395
402
  export * from "./mcpgateway.js";
396
403
  export * from "./mcpgatewaymode.js";
397
404
  export * from "./mcpgatewayplugin.js";
@@ -5,6 +5,11 @@
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { McpAuthType, McpAuthType$outboundSchema } from "./mcpauthtype.js";
8
+ import {
9
+ McpEnterpriseAuthConfig,
10
+ McpEnterpriseAuthConfig$Outbound,
11
+ McpEnterpriseAuthConfig$outboundSchema,
12
+ } from "./mcpenterpriseauthconfig.js";
8
13
  import {
9
14
  McpHeaderSecret,
10
15
  McpHeaderSecret$Outbound,
@@ -26,6 +31,10 @@ export type McpAuthConfig = {
26
31
  * OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
27
32
  */
28
33
  oauth?: McpOAuthConfig | undefined;
34
+ /**
35
+ * Client for the upstream authorization server; set when type is ENTERPRISE_MANAGED.
36
+ */
37
+ enterprise?: McpEnterpriseAuthConfig | undefined;
29
38
  };
30
39
 
31
40
  /** @internal */
@@ -33,6 +42,7 @@ export type McpAuthConfig$Outbound = {
33
42
  type: string;
34
43
  static_headers?: Array<McpHeaderSecret$Outbound> | undefined;
35
44
  oauth?: McpOAuthConfig$Outbound | undefined;
45
+ enterprise?: McpEnterpriseAuthConfig$Outbound | undefined;
36
46
  };
37
47
 
38
48
  /** @internal */
@@ -44,6 +54,7 @@ export const McpAuthConfig$outboundSchema: z.ZodType<
44
54
  type: McpAuthType$outboundSchema,
45
55
  staticHeaders: z.array(McpHeaderSecret$outboundSchema).optional(),
46
56
  oauth: McpOAuthConfig$outboundSchema.optional(),
57
+ enterprise: McpEnterpriseAuthConfig$outboundSchema.optional(),
47
58
  }).transform((v) => {
48
59
  return remap$(v, {
49
60
  staticHeaders: "static_headers",
@@ -8,6 +8,10 @@ import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import { McpAuthType, McpAuthType$inboundSchema } from "./mcpauthtype.js";
11
+ import {
12
+ McpEnterpriseAuthConfigOutput,
13
+ McpEnterpriseAuthConfigOutput$inboundSchema,
14
+ } from "./mcpenterpriseauthconfigoutput.js";
11
15
  import {
12
16
  McpHeaderSecretOutput,
13
17
  McpHeaderSecretOutput$inboundSchema,
@@ -27,6 +31,10 @@ export type McpAuthConfigOutput = {
27
31
  * OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
28
32
  */
29
33
  oauth?: McpOAuthConfigOutput | undefined;
34
+ /**
35
+ * Client for the upstream authorization server; set when type is ENTERPRISE_MANAGED.
36
+ */
37
+ enterprise?: McpEnterpriseAuthConfigOutput | undefined;
30
38
  };
31
39
 
32
40
  /** @internal */
@@ -38,6 +46,7 @@ export const McpAuthConfigOutput$inboundSchema: z.ZodType<
38
46
  type: McpAuthType$inboundSchema,
39
47
  static_headers: z.array(McpHeaderSecretOutput$inboundSchema).optional(),
40
48
  oauth: McpOAuthConfigOutput$inboundSchema.optional(),
49
+ enterprise: McpEnterpriseAuthConfigOutput$inboundSchema.optional(),
41
50
  }).transform((v) => {
42
51
  return remap$(v, {
43
52
  "static_headers": "staticHeaders",
@@ -11,6 +11,7 @@ export const McpAuthType = {
11
11
  McpAuthTypeStaticHeaders: "MCP_AUTH_TYPE_STATIC_HEADERS",
12
12
  McpAuthTypeOauthClientCredentials: "MCP_AUTH_TYPE_OAUTH_CLIENT_CREDENTIALS",
13
13
  McpAuthTypePerUserOauth: "MCP_AUTH_TYPE_PER_USER_OAUTH",
14
+ McpAuthTypeEnterpriseManaged: "MCP_AUTH_TYPE_ENTERPRISE_MANAGED",
14
15
  } as const;
15
16
  export type McpAuthType = ClosedEnum<typeof McpAuthType>;
16
17
 
@@ -0,0 +1,72 @@
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
+
8
+ /**
9
+ * McpEnterpriseAuthConfig is the client orq registered at the upstream's authorization
10
+ *
11
+ * @remarks
12
+ * server for enterprise-managed authorization (ID-JAG). Access policy lives in the
13
+ * workspace's SSO identity provider; users must sign in through SSO to use the server.
14
+ */
15
+ export type McpEnterpriseAuthConfig = {
16
+ /**
17
+ * RFC 9728 resource identifier the tokens are bound to; defaults to the connection URL.
18
+ */
19
+ resource?: string | undefined;
20
+ /**
21
+ * OAuth client identifier registered at the upstream authorization server.
22
+ */
23
+ clientId?: string | undefined;
24
+ /**
25
+ * OAuth client secret; accepted on write and never returned.
26
+ */
27
+ clientSecret?: string | undefined;
28
+ /**
29
+ * Redacted preview of `client_secret`, returned in its place.
30
+ */
31
+ maskedValue?: string | undefined;
32
+ /**
33
+ * Scopes requested when redeeming the identity assertion grant.
34
+ */
35
+ scopes?: Array<string> | undefined;
36
+ };
37
+
38
+ /** @internal */
39
+ export type McpEnterpriseAuthConfig$Outbound = {
40
+ resource?: string | undefined;
41
+ client_id?: string | undefined;
42
+ client_secret?: string | undefined;
43
+ masked_value?: string | undefined;
44
+ scopes?: Array<string> | undefined;
45
+ };
46
+
47
+ /** @internal */
48
+ export const McpEnterpriseAuthConfig$outboundSchema: z.ZodType<
49
+ McpEnterpriseAuthConfig$Outbound,
50
+ z.ZodTypeDef,
51
+ McpEnterpriseAuthConfig
52
+ > = z.object({
53
+ resource: z.string().optional(),
54
+ clientId: z.string().optional(),
55
+ clientSecret: z.string().optional(),
56
+ maskedValue: z.string().optional(),
57
+ scopes: z.array(z.string()).optional(),
58
+ }).transform((v) => {
59
+ return remap$(v, {
60
+ clientId: "client_id",
61
+ clientSecret: "client_secret",
62
+ maskedValue: "masked_value",
63
+ });
64
+ });
65
+
66
+ export function mcpEnterpriseAuthConfigToJSON(
67
+ mcpEnterpriseAuthConfig: McpEnterpriseAuthConfig,
68
+ ): string {
69
+ return JSON.stringify(
70
+ McpEnterpriseAuthConfig$outboundSchema.parse(mcpEnterpriseAuthConfig),
71
+ );
72
+ }
@@ -0,0 +1,62 @@
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 { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * McpEnterpriseAuthConfig is the client orq registered at the upstream's authorization
13
+ *
14
+ * @remarks
15
+ * server for enterprise-managed authorization (ID-JAG). Access policy lives in the
16
+ * workspace's SSO identity provider; users must sign in through SSO to use the server.
17
+ */
18
+ export type McpEnterpriseAuthConfigOutput = {
19
+ /**
20
+ * RFC 9728 resource identifier the tokens are bound to; defaults to the connection URL.
21
+ */
22
+ resource?: string | undefined;
23
+ /**
24
+ * OAuth client identifier registered at the upstream authorization server.
25
+ */
26
+ clientId?: string | undefined;
27
+ /**
28
+ * Redacted preview of `client_secret`, returned in its place.
29
+ */
30
+ maskedValue?: string | undefined;
31
+ /**
32
+ * Scopes requested when redeeming the identity assertion grant.
33
+ */
34
+ scopes?: Array<string> | undefined;
35
+ };
36
+
37
+ /** @internal */
38
+ export const McpEnterpriseAuthConfigOutput$inboundSchema: z.ZodType<
39
+ McpEnterpriseAuthConfigOutput,
40
+ z.ZodTypeDef,
41
+ unknown
42
+ > = z.object({
43
+ resource: z.string().optional(),
44
+ client_id: z.string().optional(),
45
+ masked_value: z.string().optional(),
46
+ scopes: z.array(z.string()).optional(),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ "client_id": "clientId",
50
+ "masked_value": "maskedValue",
51
+ });
52
+ });
53
+
54
+ export function mcpEnterpriseAuthConfigOutputFromJSON(
55
+ jsonString: string,
56
+ ): SafeParseResult<McpEnterpriseAuthConfigOutput, SDKValidationError> {
57
+ return safeParse(
58
+ jsonString,
59
+ (x) => McpEnterpriseAuthConfigOutput$inboundSchema.parse(JSON.parse(x)),
60
+ `Failed to parse 'McpEnterpriseAuthConfigOutput' from JSON`,
61
+ );
62
+ }
@@ -23,14 +23,17 @@ 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;
29
+ cacheWrite30m?: Price | undefined;
28
30
  cacheWrite5m?: Price | undefined;
29
31
  fetch?: Price | undefined;
30
32
  input?: Price | undefined;
31
33
  output?: Price | undefined;
32
34
  reasoning?: Price | undefined;
33
35
  search?: Price | undefined;
36
+ textInput?: Price | undefined;
34
37
  variants?: Array<PricingVariant> | null | undefined;
35
38
  };
36
39
 
@@ -39,36 +42,45 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
39
42
  z.object({
40
43
  audio_input: Price$inboundSchema.optional(),
41
44
  audio_output: Price$inboundSchema.optional(),
45
+ audio_session: Price$inboundSchema.optional(),
42
46
  cache_read: Price$inboundSchema.optional(),
43
47
  cache_write_1h: Price$inboundSchema.optional(),
48
+ cache_write_30m: Price$inboundSchema.optional(),
44
49
  cache_write_5m: Price$inboundSchema.optional(),
45
50
  fetch: Price$inboundSchema.optional(),
46
51
  input: Price$inboundSchema.optional(),
47
52
  output: Price$inboundSchema.optional(),
48
53
  reasoning: Price$inboundSchema.optional(),
49
54
  search: Price$inboundSchema.optional(),
55
+ text_input: Price$inboundSchema.optional(),
50
56
  variants: z.nullable(z.array(PricingVariant$inboundSchema)).optional(),
51
57
  }).transform((v) => {
52
58
  return remap$(v, {
53
59
  "audio_input": "audioInput",
54
60
  "audio_output": "audioOutput",
61
+ "audio_session": "audioSession",
55
62
  "cache_read": "cacheRead",
56
63
  "cache_write_1h": "cacheWrite1h",
64
+ "cache_write_30m": "cacheWrite30m",
57
65
  "cache_write_5m": "cacheWrite5m",
66
+ "text_input": "textInput",
58
67
  });
59
68
  });
60
69
  /** @internal */
61
70
  export type Pricing$Outbound = {
62
71
  audio_input?: Price$Outbound | undefined;
63
72
  audio_output?: Price$Outbound | undefined;
73
+ audio_session?: Price$Outbound | undefined;
64
74
  cache_read?: Price$Outbound | undefined;
65
75
  cache_write_1h?: Price$Outbound | undefined;
76
+ cache_write_30m?: Price$Outbound | undefined;
66
77
  cache_write_5m?: Price$Outbound | undefined;
67
78
  fetch?: Price$Outbound | undefined;
68
79
  input?: Price$Outbound | undefined;
69
80
  output?: Price$Outbound | undefined;
70
81
  reasoning?: Price$Outbound | undefined;
71
82
  search?: Price$Outbound | undefined;
83
+ text_input?: Price$Outbound | undefined;
72
84
  variants?: Array<PricingVariant$Outbound> | null | undefined;
73
85
  };
74
86
 
@@ -80,22 +92,28 @@ export const Pricing$outboundSchema: z.ZodType<
80
92
  > = z.object({
81
93
  audioInput: Price$outboundSchema.optional(),
82
94
  audioOutput: Price$outboundSchema.optional(),
95
+ audioSession: Price$outboundSchema.optional(),
83
96
  cacheRead: Price$outboundSchema.optional(),
84
97
  cacheWrite1h: Price$outboundSchema.optional(),
98
+ cacheWrite30m: Price$outboundSchema.optional(),
85
99
  cacheWrite5m: Price$outboundSchema.optional(),
86
100
  fetch: Price$outboundSchema.optional(),
87
101
  input: Price$outboundSchema.optional(),
88
102
  output: Price$outboundSchema.optional(),
89
103
  reasoning: Price$outboundSchema.optional(),
90
104
  search: Price$outboundSchema.optional(),
105
+ textInput: Price$outboundSchema.optional(),
91
106
  variants: z.nullable(z.array(PricingVariant$outboundSchema)).optional(),
92
107
  }).transform((v) => {
93
108
  return remap$(v, {
94
109
  audioInput: "audio_input",
95
110
  audioOutput: "audio_output",
111
+ audioSession: "audio_session",
96
112
  cacheRead: "cache_read",
97
113
  cacheWrite1h: "cache_write_1h",
114
+ cacheWrite30m: "cache_write_30m",
98
115
  cacheWrite5m: "cache_write_5m",
116
+ textInput: "text_input",
99
117
  });
100
118
  });
101
119
 
@@ -17,14 +17,17 @@ 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;
23
+ cacheWrite30m?: Price | undefined;
22
24
  cacheWrite5m?: Price | undefined;
23
25
  fetch?: Price | undefined;
24
26
  input?: Price | undefined;
25
27
  output?: Price | undefined;
26
28
  reasoning?: Price | undefined;
27
29
  search?: Price | undefined;
30
+ textInput?: Price | undefined;
28
31
  when: string;
29
32
  };
30
33
 
@@ -36,36 +39,45 @@ export const PricingVariant$inboundSchema: z.ZodType<
36
39
  > = z.object({
37
40
  audio_input: Price$inboundSchema.optional(),
38
41
  audio_output: Price$inboundSchema.optional(),
42
+ audio_session: Price$inboundSchema.optional(),
39
43
  cache_read: Price$inboundSchema.optional(),
40
44
  cache_write_1h: Price$inboundSchema.optional(),
45
+ cache_write_30m: Price$inboundSchema.optional(),
41
46
  cache_write_5m: Price$inboundSchema.optional(),
42
47
  fetch: Price$inboundSchema.optional(),
43
48
  input: Price$inboundSchema.optional(),
44
49
  output: Price$inboundSchema.optional(),
45
50
  reasoning: Price$inboundSchema.optional(),
46
51
  search: Price$inboundSchema.optional(),
52
+ text_input: Price$inboundSchema.optional(),
47
53
  when: z.string(),
48
54
  }).transform((v) => {
49
55
  return remap$(v, {
50
56
  "audio_input": "audioInput",
51
57
  "audio_output": "audioOutput",
58
+ "audio_session": "audioSession",
52
59
  "cache_read": "cacheRead",
53
60
  "cache_write_1h": "cacheWrite1h",
61
+ "cache_write_30m": "cacheWrite30m",
54
62
  "cache_write_5m": "cacheWrite5m",
63
+ "text_input": "textInput",
55
64
  });
56
65
  });
57
66
  /** @internal */
58
67
  export type PricingVariant$Outbound = {
59
68
  audio_input?: Price$Outbound | undefined;
60
69
  audio_output?: Price$Outbound | undefined;
70
+ audio_session?: Price$Outbound | undefined;
61
71
  cache_read?: Price$Outbound | undefined;
62
72
  cache_write_1h?: Price$Outbound | undefined;
73
+ cache_write_30m?: Price$Outbound | undefined;
63
74
  cache_write_5m?: Price$Outbound | undefined;
64
75
  fetch?: Price$Outbound | undefined;
65
76
  input?: Price$Outbound | undefined;
66
77
  output?: Price$Outbound | undefined;
67
78
  reasoning?: Price$Outbound | undefined;
68
79
  search?: Price$Outbound | undefined;
80
+ text_input?: Price$Outbound | undefined;
69
81
  when: string;
70
82
  };
71
83
 
@@ -77,22 +89,28 @@ export const PricingVariant$outboundSchema: z.ZodType<
77
89
  > = z.object({
78
90
  audioInput: Price$outboundSchema.optional(),
79
91
  audioOutput: Price$outboundSchema.optional(),
92
+ audioSession: Price$outboundSchema.optional(),
80
93
  cacheRead: Price$outboundSchema.optional(),
81
94
  cacheWrite1h: Price$outboundSchema.optional(),
95
+ cacheWrite30m: Price$outboundSchema.optional(),
82
96
  cacheWrite5m: Price$outboundSchema.optional(),
83
97
  fetch: Price$outboundSchema.optional(),
84
98
  input: Price$outboundSchema.optional(),
85
99
  output: Price$outboundSchema.optional(),
86
100
  reasoning: Price$outboundSchema.optional(),
87
101
  search: Price$outboundSchema.optional(),
102
+ textInput: Price$outboundSchema.optional(),
88
103
  when: z.string(),
89
104
  }).transform((v) => {
90
105
  return remap$(v, {
91
106
  audioInput: "audio_input",
92
107
  audioOutput: "audio_output",
108
+ audioSession: "audio_session",
93
109
  cacheRead: "cache_read",
94
110
  cacheWrite1h: "cache_write_1h",
111
+ cacheWrite30m: "cache_write_30m",
95
112
  cacheWrite5m: "cache_write_5m",
113
+ textInput: "text_input",
96
114
  });
97
115
  });
98
116