@meetkai/mka1 0.48.34 → 0.48.35

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 (308) hide show
  1. package/README.md +250 -232
  2. package/bin/mcp-server.js +1970 -1143
  3. package/bin/mcp-server.js.map +27 -9
  4. package/dist/commonjs/funcs/llmModelsAddClusterRegistryModel.d.ts +17 -0
  5. package/dist/commonjs/funcs/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/llmModelsAddClusterRegistryModel.js +125 -0
  7. package/dist/commonjs/funcs/llmModelsAddClusterRegistryModel.js.map +1 -0
  8. package/dist/commonjs/funcs/llmModelsGetClusterRegistryModel.d.ts +18 -0
  9. package/dist/commonjs/funcs/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/llmModelsGetClusterRegistryModel.js +131 -0
  11. package/dist/commonjs/funcs/llmModelsGetClusterRegistryModel.js.map +1 -0
  12. package/dist/commonjs/funcs/llmModelsListClusterRegistryModels.d.ts +17 -0
  13. package/dist/commonjs/funcs/llmModelsListClusterRegistryModels.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/llmModelsListClusterRegistryModels.js +115 -0
  15. package/dist/commonjs/funcs/llmModelsListClusterRegistryModels.js.map +1 -0
  16. package/dist/commonjs/funcs/llmModelsListEffectivePrices.d.ts +18 -0
  17. package/dist/commonjs/funcs/llmModelsListEffectivePrices.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/llmModelsListEffectivePrices.js +126 -0
  19. package/dist/commonjs/funcs/llmModelsListEffectivePrices.js.map +1 -0
  20. package/dist/commonjs/funcs/llmModelsRemoveClusterRegistryModel.d.ts +18 -0
  21. package/dist/commonjs/funcs/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/llmModelsRemoveClusterRegistryModel.js +131 -0
  23. package/dist/commonjs/funcs/llmModelsRemoveClusterRegistryModel.js.map +1 -0
  24. package/dist/commonjs/funcs/llmModelsUpdateClusterRegistryModel.d.ts +18 -0
  25. package/dist/commonjs/funcs/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/llmModelsUpdateClusterRegistryModel.js +134 -0
  27. package/dist/commonjs/funcs/llmModelsUpdateClusterRegistryModel.js.map +1 -0
  28. package/dist/commonjs/lib/config.d.ts +2 -2
  29. package/dist/commonjs/lib/config.js +2 -2
  30. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  31. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  32. package/dist/commonjs/mcp-server/server.js +13 -1
  33. package/dist/commonjs/mcp-server/server.js.map +1 -1
  34. package/dist/commonjs/mcp-server/tools/llmModelsAddClusterRegistryModel.d.ts +8 -0
  35. package/dist/commonjs/mcp-server/tools/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
  36. package/dist/commonjs/mcp-server/tools/llmModelsAddClusterRegistryModel.js +64 -0
  37. package/dist/commonjs/mcp-server/tools/llmModelsAddClusterRegistryModel.js.map +1 -0
  38. package/dist/commonjs/mcp-server/tools/llmModelsGetClusterRegistryModel.d.ts +8 -0
  39. package/dist/commonjs/mcp-server/tools/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
  40. package/dist/commonjs/mcp-server/tools/llmModelsGetClusterRegistryModel.js +64 -0
  41. package/dist/commonjs/mcp-server/tools/llmModelsGetClusterRegistryModel.js.map +1 -0
  42. package/dist/commonjs/mcp-server/tools/llmModelsListClusterRegistryModels.d.ts +3 -0
  43. package/dist/commonjs/mcp-server/tools/llmModelsListClusterRegistryModels.d.ts.map +1 -0
  44. package/dist/commonjs/mcp-server/tools/llmModelsListClusterRegistryModels.js +26 -0
  45. package/dist/commonjs/mcp-server/tools/llmModelsListClusterRegistryModels.js.map +1 -0
  46. package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.d.ts +8 -0
  47. package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.d.ts.map +1 -0
  48. package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.js +64 -0
  49. package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.js.map +1 -0
  50. package/dist/commonjs/mcp-server/tools/llmModelsRemoveClusterRegistryModel.d.ts +8 -0
  51. package/dist/commonjs/mcp-server/tools/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
  52. package/dist/commonjs/mcp-server/tools/llmModelsRemoveClusterRegistryModel.js +64 -0
  53. package/dist/commonjs/mcp-server/tools/llmModelsRemoveClusterRegistryModel.js.map +1 -0
  54. package/dist/commonjs/mcp-server/tools/llmModelsUpdateClusterRegistryModel.d.ts +8 -0
  55. package/dist/commonjs/mcp-server/tools/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
  56. package/dist/commonjs/mcp-server/tools/llmModelsUpdateClusterRegistryModel.js +64 -0
  57. package/dist/commonjs/mcp-server/tools/llmModelsUpdateClusterRegistryModel.js.map +1 -0
  58. package/dist/commonjs/models/components/effectivepricerow.d.ts +65 -0
  59. package/dist/commonjs/models/components/effectivepricerow.d.ts.map +1 -0
  60. package/dist/commonjs/models/components/effectivepricerow.js +120 -0
  61. package/dist/commonjs/models/components/effectivepricerow.js.map +1 -0
  62. package/dist/commonjs/models/components/effectivepricesresponse.d.ts +22 -0
  63. package/dist/commonjs/models/components/effectivepricesresponse.d.ts.map +1 -0
  64. package/dist/commonjs/models/components/effectivepricesresponse.js +63 -0
  65. package/dist/commonjs/models/components/effectivepricesresponse.js.map +1 -0
  66. package/dist/commonjs/models/components/index.d.ts +2 -0
  67. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  68. package/dist/commonjs/models/components/index.js +2 -0
  69. package/dist/commonjs/models/components/index.js.map +1 -1
  70. package/dist/commonjs/models/components/modelpricerow.d.ts +2 -2
  71. package/dist/commonjs/models/components/modelpricerow.d.ts.map +1 -1
  72. package/dist/commonjs/models/components/modelpricerow.js +2 -2
  73. package/dist/commonjs/models/components/modelpricerow.js.map +1 -1
  74. package/dist/commonjs/models/operations/getclusterregistrymodel.d.ts +17 -0
  75. package/dist/commonjs/models/operations/getclusterregistrymodel.d.ts.map +1 -0
  76. package/dist/commonjs/models/operations/getclusterregistrymodel.js +58 -0
  77. package/dist/commonjs/models/operations/getclusterregistrymodel.js.map +1 -0
  78. package/dist/commonjs/models/operations/index.d.ts +4 -0
  79. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  80. package/dist/commonjs/models/operations/index.js +4 -0
  81. package/dist/commonjs/models/operations/index.js.map +1 -1
  82. package/dist/commonjs/models/operations/listeffectiveprices.d.ts +20 -0
  83. package/dist/commonjs/models/operations/listeffectiveprices.d.ts.map +1 -0
  84. package/dist/commonjs/models/operations/listeffectiveprices.js +67 -0
  85. package/dist/commonjs/models/operations/listeffectiveprices.js.map +1 -0
  86. package/dist/commonjs/models/operations/removeclusterregistrymodel.d.ts +17 -0
  87. package/dist/commonjs/models/operations/removeclusterregistrymodel.d.ts.map +1 -0
  88. package/dist/commonjs/models/operations/removeclusterregistrymodel.js +58 -0
  89. package/dist/commonjs/models/operations/removeclusterregistrymodel.js.map +1 -0
  90. package/dist/commonjs/models/operations/updateclusterregistrymodel.d.ts +20 -0
  91. package/dist/commonjs/models/operations/updateclusterregistrymodel.d.ts.map +1 -0
  92. package/dist/commonjs/models/operations/updateclusterregistrymodel.js +70 -0
  93. package/dist/commonjs/models/operations/updateclusterregistrymodel.js.map +1 -0
  94. package/dist/commonjs/react-query/index.d.ts +6 -0
  95. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  96. package/dist/commonjs/react-query/index.js +6 -0
  97. package/dist/commonjs/react-query/index.js.map +1 -1
  98. package/dist/commonjs/react-query/llmModelsAddClusterRegistryModel.d.ts +28 -0
  99. package/dist/commonjs/react-query/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
  100. package/dist/commonjs/react-query/llmModelsAddClusterRegistryModel.js +47 -0
  101. package/dist/commonjs/react-query/llmModelsAddClusterRegistryModel.js.map +1 -0
  102. package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.core.d.ts +13 -0
  103. package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.core.d.ts.map +1 -0
  104. package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.core.js +34 -0
  105. package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.core.js.map +1 -0
  106. package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.d.ts +28 -0
  107. package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
  108. package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.js +65 -0
  109. package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.js.map +1 -0
  110. package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.core.d.ts +12 -0
  111. package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.core.d.ts.map +1 -0
  112. package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.core.js +34 -0
  113. package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.core.js.map +1 -0
  114. package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.d.ts +26 -0
  115. package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.d.ts.map +1 -0
  116. package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.js +53 -0
  117. package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.js.map +1 -0
  118. package/dist/commonjs/react-query/llmModelsListEffectivePrices.core.d.ts +15 -0
  119. package/dist/commonjs/react-query/llmModelsListEffectivePrices.core.d.ts.map +1 -0
  120. package/dist/commonjs/react-query/llmModelsListEffectivePrices.core.js +36 -0
  121. package/dist/commonjs/react-query/llmModelsListEffectivePrices.core.js.map +1 -0
  122. package/dist/commonjs/react-query/llmModelsListEffectivePrices.d.ts +34 -0
  123. package/dist/commonjs/react-query/llmModelsListEffectivePrices.d.ts.map +1 -0
  124. package/dist/commonjs/react-query/llmModelsListEffectivePrices.js +65 -0
  125. package/dist/commonjs/react-query/llmModelsListEffectivePrices.js.map +1 -0
  126. package/dist/commonjs/react-query/llmModelsRemoveClusterRegistryModel.d.ts +29 -0
  127. package/dist/commonjs/react-query/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
  128. package/dist/commonjs/react-query/llmModelsRemoveClusterRegistryModel.js +47 -0
  129. package/dist/commonjs/react-query/llmModelsRemoveClusterRegistryModel.js.map +1 -0
  130. package/dist/commonjs/react-query/llmModelsUpdateClusterRegistryModel.d.ts +29 -0
  131. package/dist/commonjs/react-query/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
  132. package/dist/commonjs/react-query/llmModelsUpdateClusterRegistryModel.js +47 -0
  133. package/dist/commonjs/react-query/llmModelsUpdateClusterRegistryModel.js.map +1 -0
  134. package/dist/commonjs/sdk/models.d.ts +42 -0
  135. package/dist/commonjs/sdk/models.d.ts.map +1 -1
  136. package/dist/commonjs/sdk/models.js +60 -0
  137. package/dist/commonjs/sdk/models.js.map +1 -1
  138. package/dist/esm/funcs/llmModelsAddClusterRegistryModel.d.ts +17 -0
  139. package/dist/esm/funcs/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
  140. package/dist/esm/funcs/llmModelsAddClusterRegistryModel.js +89 -0
  141. package/dist/esm/funcs/llmModelsAddClusterRegistryModel.js.map +1 -0
  142. package/dist/esm/funcs/llmModelsGetClusterRegistryModel.d.ts +18 -0
  143. package/dist/esm/funcs/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
  144. package/dist/esm/funcs/llmModelsGetClusterRegistryModel.js +95 -0
  145. package/dist/esm/funcs/llmModelsGetClusterRegistryModel.js.map +1 -0
  146. package/dist/esm/funcs/llmModelsListClusterRegistryModels.d.ts +17 -0
  147. package/dist/esm/funcs/llmModelsListClusterRegistryModels.d.ts.map +1 -0
  148. package/dist/esm/funcs/llmModelsListClusterRegistryModels.js +79 -0
  149. package/dist/esm/funcs/llmModelsListClusterRegistryModels.js.map +1 -0
  150. package/dist/esm/funcs/llmModelsListEffectivePrices.d.ts +18 -0
  151. package/dist/esm/funcs/llmModelsListEffectivePrices.d.ts.map +1 -0
  152. package/dist/esm/funcs/llmModelsListEffectivePrices.js +90 -0
  153. package/dist/esm/funcs/llmModelsListEffectivePrices.js.map +1 -0
  154. package/dist/esm/funcs/llmModelsRemoveClusterRegistryModel.d.ts +18 -0
  155. package/dist/esm/funcs/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
  156. package/dist/esm/funcs/llmModelsRemoveClusterRegistryModel.js +95 -0
  157. package/dist/esm/funcs/llmModelsRemoveClusterRegistryModel.js.map +1 -0
  158. package/dist/esm/funcs/llmModelsUpdateClusterRegistryModel.d.ts +18 -0
  159. package/dist/esm/funcs/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
  160. package/dist/esm/funcs/llmModelsUpdateClusterRegistryModel.js +98 -0
  161. package/dist/esm/funcs/llmModelsUpdateClusterRegistryModel.js.map +1 -0
  162. package/dist/esm/lib/config.d.ts +2 -2
  163. package/dist/esm/lib/config.js +2 -2
  164. package/dist/esm/mcp-server/mcp-server.js +1 -1
  165. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  166. package/dist/esm/mcp-server/server.js +13 -1
  167. package/dist/esm/mcp-server/server.js.map +1 -1
  168. package/dist/esm/mcp-server/tools/llmModelsAddClusterRegistryModel.d.ts +8 -0
  169. package/dist/esm/mcp-server/tools/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
  170. package/dist/esm/mcp-server/tools/llmModelsAddClusterRegistryModel.js +28 -0
  171. package/dist/esm/mcp-server/tools/llmModelsAddClusterRegistryModel.js.map +1 -0
  172. package/dist/esm/mcp-server/tools/llmModelsGetClusterRegistryModel.d.ts +8 -0
  173. package/dist/esm/mcp-server/tools/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
  174. package/dist/esm/mcp-server/tools/llmModelsGetClusterRegistryModel.js +28 -0
  175. package/dist/esm/mcp-server/tools/llmModelsGetClusterRegistryModel.js.map +1 -0
  176. package/dist/esm/mcp-server/tools/llmModelsListClusterRegistryModels.d.ts +3 -0
  177. package/dist/esm/mcp-server/tools/llmModelsListClusterRegistryModels.d.ts.map +1 -0
  178. package/dist/esm/mcp-server/tools/llmModelsListClusterRegistryModels.js +23 -0
  179. package/dist/esm/mcp-server/tools/llmModelsListClusterRegistryModels.js.map +1 -0
  180. package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.d.ts +8 -0
  181. package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.d.ts.map +1 -0
  182. package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.js +28 -0
  183. package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.js.map +1 -0
  184. package/dist/esm/mcp-server/tools/llmModelsRemoveClusterRegistryModel.d.ts +8 -0
  185. package/dist/esm/mcp-server/tools/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
  186. package/dist/esm/mcp-server/tools/llmModelsRemoveClusterRegistryModel.js +28 -0
  187. package/dist/esm/mcp-server/tools/llmModelsRemoveClusterRegistryModel.js.map +1 -0
  188. package/dist/esm/mcp-server/tools/llmModelsUpdateClusterRegistryModel.d.ts +8 -0
  189. package/dist/esm/mcp-server/tools/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
  190. package/dist/esm/mcp-server/tools/llmModelsUpdateClusterRegistryModel.js +28 -0
  191. package/dist/esm/mcp-server/tools/llmModelsUpdateClusterRegistryModel.js.map +1 -0
  192. package/dist/esm/models/components/effectivepricerow.d.ts +65 -0
  193. package/dist/esm/models/components/effectivepricerow.d.ts.map +1 -0
  194. package/dist/esm/models/components/effectivepricerow.js +80 -0
  195. package/dist/esm/models/components/effectivepricerow.js.map +1 -0
  196. package/dist/esm/models/components/effectivepricesresponse.d.ts +22 -0
  197. package/dist/esm/models/components/effectivepricesresponse.d.ts.map +1 -0
  198. package/dist/esm/models/components/effectivepricesresponse.js +25 -0
  199. package/dist/esm/models/components/effectivepricesresponse.js.map +1 -0
  200. package/dist/esm/models/components/index.d.ts +2 -0
  201. package/dist/esm/models/components/index.d.ts.map +1 -1
  202. package/dist/esm/models/components/index.js +2 -0
  203. package/dist/esm/models/components/index.js.map +1 -1
  204. package/dist/esm/models/components/modelpricerow.d.ts +2 -2
  205. package/dist/esm/models/components/modelpricerow.d.ts.map +1 -1
  206. package/dist/esm/models/components/modelpricerow.js +2 -2
  207. package/dist/esm/models/components/modelpricerow.js.map +1 -1
  208. package/dist/esm/models/operations/getclusterregistrymodel.d.ts +17 -0
  209. package/dist/esm/models/operations/getclusterregistrymodel.d.ts.map +1 -0
  210. package/dist/esm/models/operations/getclusterregistrymodel.js +20 -0
  211. package/dist/esm/models/operations/getclusterregistrymodel.js.map +1 -0
  212. package/dist/esm/models/operations/index.d.ts +4 -0
  213. package/dist/esm/models/operations/index.d.ts.map +1 -1
  214. package/dist/esm/models/operations/index.js +4 -0
  215. package/dist/esm/models/operations/index.js.map +1 -1
  216. package/dist/esm/models/operations/listeffectiveprices.d.ts +20 -0
  217. package/dist/esm/models/operations/listeffectiveprices.d.ts.map +1 -0
  218. package/dist/esm/models/operations/listeffectiveprices.js +29 -0
  219. package/dist/esm/models/operations/listeffectiveprices.js.map +1 -0
  220. package/dist/esm/models/operations/removeclusterregistrymodel.d.ts +17 -0
  221. package/dist/esm/models/operations/removeclusterregistrymodel.d.ts.map +1 -0
  222. package/dist/esm/models/operations/removeclusterregistrymodel.js +20 -0
  223. package/dist/esm/models/operations/removeclusterregistrymodel.js.map +1 -0
  224. package/dist/esm/models/operations/updateclusterregistrymodel.d.ts +20 -0
  225. package/dist/esm/models/operations/updateclusterregistrymodel.d.ts.map +1 -0
  226. package/dist/esm/models/operations/updateclusterregistrymodel.js +32 -0
  227. package/dist/esm/models/operations/updateclusterregistrymodel.js.map +1 -0
  228. package/dist/esm/react-query/index.d.ts +6 -0
  229. package/dist/esm/react-query/index.d.ts.map +1 -1
  230. package/dist/esm/react-query/index.js +6 -0
  231. package/dist/esm/react-query/index.js.map +1 -1
  232. package/dist/esm/react-query/llmModelsAddClusterRegistryModel.d.ts +28 -0
  233. package/dist/esm/react-query/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
  234. package/dist/esm/react-query/llmModelsAddClusterRegistryModel.js +42 -0
  235. package/dist/esm/react-query/llmModelsAddClusterRegistryModel.js.map +1 -0
  236. package/dist/esm/react-query/llmModelsGetClusterRegistryModel.core.d.ts +13 -0
  237. package/dist/esm/react-query/llmModelsGetClusterRegistryModel.core.d.ts.map +1 -0
  238. package/dist/esm/react-query/llmModelsGetClusterRegistryModel.core.js +29 -0
  239. package/dist/esm/react-query/llmModelsGetClusterRegistryModel.core.js.map +1 -0
  240. package/dist/esm/react-query/llmModelsGetClusterRegistryModel.d.ts +28 -0
  241. package/dist/esm/react-query/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
  242. package/dist/esm/react-query/llmModelsGetClusterRegistryModel.js +55 -0
  243. package/dist/esm/react-query/llmModelsGetClusterRegistryModel.js.map +1 -0
  244. package/dist/esm/react-query/llmModelsListClusterRegistryModels.core.d.ts +12 -0
  245. package/dist/esm/react-query/llmModelsListClusterRegistryModels.core.d.ts.map +1 -0
  246. package/dist/esm/react-query/llmModelsListClusterRegistryModels.core.js +29 -0
  247. package/dist/esm/react-query/llmModelsListClusterRegistryModels.core.js.map +1 -0
  248. package/dist/esm/react-query/llmModelsListClusterRegistryModels.d.ts +26 -0
  249. package/dist/esm/react-query/llmModelsListClusterRegistryModels.d.ts.map +1 -0
  250. package/dist/esm/react-query/llmModelsListClusterRegistryModels.js +44 -0
  251. package/dist/esm/react-query/llmModelsListClusterRegistryModels.js.map +1 -0
  252. package/dist/esm/react-query/llmModelsListEffectivePrices.core.d.ts +15 -0
  253. package/dist/esm/react-query/llmModelsListEffectivePrices.core.d.ts.map +1 -0
  254. package/dist/esm/react-query/llmModelsListEffectivePrices.core.js +31 -0
  255. package/dist/esm/react-query/llmModelsListEffectivePrices.core.js.map +1 -0
  256. package/dist/esm/react-query/llmModelsListEffectivePrices.d.ts +34 -0
  257. package/dist/esm/react-query/llmModelsListEffectivePrices.d.ts.map +1 -0
  258. package/dist/esm/react-query/llmModelsListEffectivePrices.js +55 -0
  259. package/dist/esm/react-query/llmModelsListEffectivePrices.js.map +1 -0
  260. package/dist/esm/react-query/llmModelsRemoveClusterRegistryModel.d.ts +29 -0
  261. package/dist/esm/react-query/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
  262. package/dist/esm/react-query/llmModelsRemoveClusterRegistryModel.js +42 -0
  263. package/dist/esm/react-query/llmModelsRemoveClusterRegistryModel.js.map +1 -0
  264. package/dist/esm/react-query/llmModelsUpdateClusterRegistryModel.d.ts +29 -0
  265. package/dist/esm/react-query/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
  266. package/dist/esm/react-query/llmModelsUpdateClusterRegistryModel.js +42 -0
  267. package/dist/esm/react-query/llmModelsUpdateClusterRegistryModel.js.map +1 -0
  268. package/dist/esm/sdk/models.d.ts +42 -0
  269. package/dist/esm/sdk/models.d.ts.map +1 -1
  270. package/dist/esm/sdk/models.js +60 -0
  271. package/dist/esm/sdk/models.js.map +1 -1
  272. package/jsr.json +1 -1
  273. package/package.json +1 -1
  274. package/src/funcs/llmModelsAddClusterRegistryModel.ts +172 -0
  275. package/src/funcs/llmModelsGetClusterRegistryModel.ts +181 -0
  276. package/src/funcs/llmModelsListClusterRegistryModels.ts +154 -0
  277. package/src/funcs/llmModelsListEffectivePrices.ts +178 -0
  278. package/src/funcs/llmModelsRemoveClusterRegistryModel.ts +181 -0
  279. package/src/funcs/llmModelsUpdateClusterRegistryModel.ts +184 -0
  280. package/src/lib/config.ts +2 -2
  281. package/src/mcp-server/mcp-server.ts +1 -1
  282. package/src/mcp-server/server.ts +13 -1
  283. package/src/mcp-server/tools/llmModelsAddClusterRegistryModel.ts +39 -0
  284. package/src/mcp-server/tools/llmModelsGetClusterRegistryModel.ts +39 -0
  285. package/src/mcp-server/tools/llmModelsListClusterRegistryModels.ts +30 -0
  286. package/src/mcp-server/tools/llmModelsListEffectivePrices.ts +37 -0
  287. package/src/mcp-server/tools/llmModelsRemoveClusterRegistryModel.ts +39 -0
  288. package/src/mcp-server/tools/llmModelsUpdateClusterRegistryModel.ts +39 -0
  289. package/src/models/components/effectivepricerow.ts +170 -0
  290. package/src/models/components/effectivepricesresponse.ts +65 -0
  291. package/src/models/components/index.ts +2 -0
  292. package/src/models/components/modelpricerow.ts +4 -4
  293. package/src/models/operations/getclusterregistrymodel.ts +53 -0
  294. package/src/models/operations/index.ts +4 -0
  295. package/src/models/operations/listeffectiveprices.ts +63 -0
  296. package/src/models/operations/removeclusterregistrymodel.ts +53 -0
  297. package/src/models/operations/updateclusterregistrymodel.ts +69 -0
  298. package/src/react-query/index.ts +6 -0
  299. package/src/react-query/llmModelsAddClusterRegistryModel.ts +109 -0
  300. package/src/react-query/llmModelsGetClusterRegistryModel.core.ts +72 -0
  301. package/src/react-query/llmModelsGetClusterRegistryModel.ts +144 -0
  302. package/src/react-query/llmModelsListClusterRegistryModels.core.ts +67 -0
  303. package/src/react-query/llmModelsListClusterRegistryModels.ts +118 -0
  304. package/src/react-query/llmModelsListEffectivePrices.core.ts +76 -0
  305. package/src/react-query/llmModelsListEffectivePrices.ts +143 -0
  306. package/src/react-query/llmModelsRemoveClusterRegistryModel.ts +110 -0
  307. package/src/react-query/llmModelsUpdateClusterRegistryModel.ts +110 -0
  308. package/src/sdk/models.ts +106 -0
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.48.34",
22
+ currentVersion: "0.48.35",
23
23
  },
24
24
  });
25
25
 
@@ -178,6 +178,7 @@ import { tool$llmMemoryStoresList } from "./tools/llmMemoryStoresList.js";
178
178
  import { tool$llmMemoryStoresListEntries } from "./tools/llmMemoryStoresListEntries.js";
179
179
  import { tool$llmMemoryStoresUpdate } from "./tools/llmMemoryStoresUpdate.js";
180
180
  import { tool$llmMemoryStoresUpdateEntry } from "./tools/llmMemoryStoresUpdateEntry.js";
181
+ import { tool$llmModelsAddClusterRegistryModel } from "./tools/llmModelsAddClusterRegistryModel.js";
181
182
  import { tool$llmModelsAddRegistryModel } from "./tools/llmModelsAddRegistryModel.js";
182
183
  import { tool$llmModelsCheckRegistryModelHealth } from "./tools/llmModelsCheckRegistryModelHealth.js";
183
184
  import { tool$llmModelsClearClusterPrice } from "./tools/llmModelsClearClusterPrice.js";
@@ -185,20 +186,25 @@ import { tool$llmModelsClearOrgPrice } from "./tools/llmModelsClearOrgPrice.js";
185
186
  import { tool$llmModelsDeleteOrgAutoModel } from "./tools/llmModelsDeleteOrgAutoModel.js";
186
187
  import { tool$llmModelsGet } from "./tools/llmModelsGet.js";
187
188
  import { tool$llmModelsGetClusterCurrency } from "./tools/llmModelsGetClusterCurrency.js";
189
+ import { tool$llmModelsGetClusterRegistryModel } from "./tools/llmModelsGetClusterRegistryModel.js";
188
190
  import { tool$llmModelsGetRegistryModel } from "./tools/llmModelsGetRegistryModel.js";
189
191
  import { tool$llmModelsList } from "./tools/llmModelsList.js";
190
192
  import { tool$llmModelsListClusterPrices } from "./tools/llmModelsListClusterPrices.js";
191
193
  import { tool$llmModelsListClusterRegistry } from "./tools/llmModelsListClusterRegistry.js";
194
+ import { tool$llmModelsListClusterRegistryModels } from "./tools/llmModelsListClusterRegistryModels.js";
192
195
  import { tool$llmModelsListClusterRegistryOrgGrants } from "./tools/llmModelsListClusterRegistryOrgGrants.js";
196
+ import { tool$llmModelsListEffectivePrices } from "./tools/llmModelsListEffectivePrices.js";
193
197
  import { tool$llmModelsListOrgAutoModels } from "./tools/llmModelsListOrgAutoModels.js";
194
198
  import { tool$llmModelsListOrgPrices } from "./tools/llmModelsListOrgPrices.js";
195
199
  import { tool$llmModelsListRegistryModels } from "./tools/llmModelsListRegistryModels.js";
196
200
  import { tool$llmModelsPutClusterRegistryOrgGrants } from "./tools/llmModelsPutClusterRegistryOrgGrants.js";
197
201
  import { tool$llmModelsPutOrgAutoModel } from "./tools/llmModelsPutOrgAutoModel.js";
202
+ import { tool$llmModelsRemoveClusterRegistryModel } from "./tools/llmModelsRemoveClusterRegistryModel.js";
198
203
  import { tool$llmModelsRemoveRegistryModel } from "./tools/llmModelsRemoveRegistryModel.js";
199
204
  import { tool$llmModelsSetClusterCurrency } from "./tools/llmModelsSetClusterCurrency.js";
200
205
  import { tool$llmModelsSetClusterPrice } from "./tools/llmModelsSetClusterPrice.js";
201
206
  import { tool$llmModelsSetOrgPrice } from "./tools/llmModelsSetOrgPrice.js";
207
+ import { tool$llmModelsUpdateClusterRegistryModel } from "./tools/llmModelsUpdateClusterRegistryModel.js";
202
208
  import { tool$llmModelsUpdateRegistryModel } from "./tools/llmModelsUpdateRegistryModel.js";
203
209
  import { tool$llmPromptsCreate } from "./tools/llmPromptsCreate.js";
204
210
  import { tool$llmPromptsCreateVersion } from "./tools/llmPromptsCreateVersion.js";
@@ -349,7 +355,7 @@ export function createMCPServer(deps: {
349
355
  }) {
350
356
  const server = new McpServer({
351
357
  name: "SDK",
352
- version: "0.48.34",
358
+ version: "0.48.35",
353
359
  });
354
360
 
355
361
  const client = new SDKCore({
@@ -526,6 +532,11 @@ export function createMCPServer(deps: {
526
532
  tool(tool$llmModelsRemoveRegistryModel);
527
533
  tool(tool$llmModelsGetRegistryModel);
528
534
  tool(tool$llmModelsCheckRegistryModelHealth);
535
+ tool(tool$llmModelsAddClusterRegistryModel);
536
+ tool(tool$llmModelsListClusterRegistryModels);
537
+ tool(tool$llmModelsGetClusterRegistryModel);
538
+ tool(tool$llmModelsUpdateClusterRegistryModel);
539
+ tool(tool$llmModelsRemoveClusterRegistryModel);
529
540
  tool(tool$llmModelsListClusterRegistry);
530
541
  tool(tool$llmModelsListClusterRegistryOrgGrants);
531
542
  tool(tool$llmModelsPutClusterRegistryOrgGrants);
@@ -540,6 +551,7 @@ export function createMCPServer(deps: {
540
551
  tool(tool$llmModelsListOrgPrices);
541
552
  tool(tool$llmModelsSetOrgPrice);
542
553
  tool(tool$llmModelsClearOrgPrice);
554
+ tool(tool$llmModelsListEffectivePrices);
543
555
  tool(tool$llmPromptsCreate);
544
556
  tool(tool$llmPromptsList);
545
557
  tool(tool$llmPromptsGet);
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { llmModelsAddClusterRegistryModel } from "../../funcs/llmModelsAddClusterRegistryModel.js";
6
+ import * as components from "../../models/components/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: components.AddRegistryModelRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$llmModelsAddClusterRegistryModel: ToolDefinition<
14
+ typeof args
15
+ > = {
16
+ name: "llm-models-add-cluster-registry-model",
17
+ description: `Add a cluster-owned model
18
+
19
+ Adds an operator-owned, database-sourced model that a cluster admin can grant to orgs (see /models/cluster_registry). Cluster admin only.`,
20
+ args,
21
+ tool: async (client, args, ctx) => {
22
+ const [result, apiCall] = await llmModelsAddClusterRegistryModel(
23
+ client,
24
+ args.request,
25
+ { fetchOptions: { signal: ctx.signal } },
26
+ ).$inspect();
27
+
28
+ if (!result.ok) {
29
+ return {
30
+ content: [{ type: "text", text: result.error.message }],
31
+ isError: true,
32
+ };
33
+ }
34
+
35
+ const value = result.value;
36
+
37
+ return formatResult(value, apiCall);
38
+ },
39
+ };
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { llmModelsGetClusterRegistryModel } from "../../funcs/llmModelsGetClusterRegistryModel.js";
6
+ import * as operations from "../../models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.GetClusterRegistryModelRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$llmModelsGetClusterRegistryModel: ToolDefinition<
14
+ typeof args
15
+ > = {
16
+ name: "llm-models-get-cluster-registry-model",
17
+ description: `Get a cluster-owned model
18
+
19
+ Returns a single operator-owned, API-added model. Cluster admin only.`,
20
+ args,
21
+ tool: async (client, args, ctx) => {
22
+ const [result, apiCall] = await llmModelsGetClusterRegistryModel(
23
+ client,
24
+ args.request,
25
+ { fetchOptions: { signal: ctx.signal } },
26
+ ).$inspect();
27
+
28
+ if (!result.ok) {
29
+ return {
30
+ content: [{ type: "text", text: result.error.message }],
31
+ isError: true,
32
+ };
33
+ }
34
+
35
+ const value = result.value;
36
+
37
+ return formatResult(value, apiCall);
38
+ },
39
+ };
@@ -0,0 +1,30 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { llmModelsListClusterRegistryModels } from "../../funcs/llmModelsListClusterRegistryModels.js";
6
+ import { formatResult, ToolDefinition } from "../tools.js";
7
+
8
+ export const tool$llmModelsListClusterRegistryModels: ToolDefinition = {
9
+ name: "llm-models-list-cluster-registry-models",
10
+ description: `List cluster-owned models
11
+
12
+ Lists operator-owned, API-added models (the grantable, database-sourced ones). Cluster admin only.`,
13
+ tool: async (client, ctx) => {
14
+ const [result, apiCall] = await llmModelsListClusterRegistryModels(
15
+ client,
16
+ { fetchOptions: { signal: ctx.signal } },
17
+ ).$inspect();
18
+
19
+ if (!result.ok) {
20
+ return {
21
+ content: [{ type: "text", text: result.error.message }],
22
+ isError: true,
23
+ };
24
+ }
25
+
26
+ const value = result.value;
27
+
28
+ return formatResult(value, apiCall);
29
+ },
30
+ };
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { llmModelsListEffectivePrices } from "../../funcs/llmModelsListEffectivePrices.js";
6
+ import * as operations from "../../models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.ListEffectivePricesRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$llmModelsListEffectivePrices: ToolDefinition<typeof args> = {
14
+ name: "llm-models-list-effective-prices",
15
+ description: `List effective prices for the caller's models
16
+
17
+ For every model the caller's organization can use, returns the price that spend is actually rated at: the org's override if one exists, else the cluster default, else unpriced ($0). Cluster admins see the full catalog priced against their own org scope.`,
18
+ args,
19
+ tool: async (client, args, ctx) => {
20
+ const [result, apiCall] = await llmModelsListEffectivePrices(
21
+ client,
22
+ args.request,
23
+ { fetchOptions: { signal: ctx.signal } },
24
+ ).$inspect();
25
+
26
+ if (!result.ok) {
27
+ return {
28
+ content: [{ type: "text", text: result.error.message }],
29
+ isError: true,
30
+ };
31
+ }
32
+
33
+ const value = result.value;
34
+
35
+ return formatResult(value, apiCall);
36
+ },
37
+ };
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { llmModelsRemoveClusterRegistryModel } from "../../funcs/llmModelsRemoveClusterRegistryModel.js";
6
+ import * as operations from "../../models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.RemoveClusterRegistryModelRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$llmModelsRemoveClusterRegistryModel: ToolDefinition<
14
+ typeof args
15
+ > = {
16
+ name: "llm-models-remove-cluster-registry-model",
17
+ description: `Remove a cluster-owned model
18
+
19
+ Removes an operator-owned, API-added model and cleans up its cluster-default price and all per-org grants for the id. Cluster admin only.`,
20
+ args,
21
+ tool: async (client, args, ctx) => {
22
+ const [result, apiCall] = await llmModelsRemoveClusterRegistryModel(
23
+ client,
24
+ args.request,
25
+ { fetchOptions: { signal: ctx.signal } },
26
+ ).$inspect();
27
+
28
+ if (!result.ok) {
29
+ return {
30
+ content: [{ type: "text", text: result.error.message }],
31
+ isError: true,
32
+ };
33
+ }
34
+
35
+ const value = result.value;
36
+
37
+ return formatResult(value, apiCall);
38
+ },
39
+ };
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { llmModelsUpdateClusterRegistryModel } from "../../funcs/llmModelsUpdateClusterRegistryModel.js";
6
+ import * as operations from "../../models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.UpdateClusterRegistryModelRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$llmModelsUpdateClusterRegistryModel: ToolDefinition<
14
+ typeof args
15
+ > = {
16
+ name: "llm-models-update-cluster-registry-model",
17
+ description: `Update a cluster-owned model
18
+
19
+ Partially updates an operator-owned, API-added model. Only provided fields change. Cluster admin only.`,
20
+ args,
21
+ tool: async (client, args, ctx) => {
22
+ const [result, apiCall] = await llmModelsUpdateClusterRegistryModel(
23
+ client,
24
+ args.request,
25
+ { fetchOptions: { signal: ctx.signal } },
26
+ ).$inspect();
27
+
28
+ if (!result.ok) {
29
+ return {
30
+ content: [{ type: "text", text: result.error.message }],
31
+ isError: true,
32
+ };
33
+ }
34
+
35
+ const value = result.value;
36
+
37
+ return formatResult(value, apiCall);
38
+ },
39
+ };
@@ -0,0 +1,170 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type EffectivePriceRowRates = {
13
+ inputTokens?: number | undefined;
14
+ outputTokens?: number | undefined;
15
+ cachedTokens?: number | undefined;
16
+ reasoningTokens?: number | undefined;
17
+ characters?: number | undefined;
18
+ seconds?: number | undefined;
19
+ image?: number | undefined;
20
+ imageTiers?: { [k: string]: number } | undefined;
21
+ searches?: number | undefined;
22
+ };
23
+
24
+ export const EffectivePriceRowSource = {
25
+ OrgOverride: "org_override",
26
+ ClusterDefault: "cluster_default",
27
+ Unpriced: "unpriced",
28
+ } as const;
29
+ export type EffectivePriceRowSource = ClosedEnum<
30
+ typeof EffectivePriceRowSource
31
+ >;
32
+
33
+ export type EffectivePriceRow = {
34
+ model: string;
35
+ rates: EffectivePriceRowRates | null;
36
+ source: EffectivePriceRowSource;
37
+ };
38
+
39
+ /** @internal */
40
+ export const EffectivePriceRowRates$inboundSchema: z.ZodType<
41
+ EffectivePriceRowRates,
42
+ z.ZodTypeDef,
43
+ unknown
44
+ > = z.object({
45
+ input_tokens: z.number().optional(),
46
+ output_tokens: z.number().optional(),
47
+ cached_tokens: z.number().optional(),
48
+ reasoning_tokens: z.number().optional(),
49
+ characters: z.number().optional(),
50
+ seconds: z.number().optional(),
51
+ image: z.number().optional(),
52
+ image_tiers: z.record(z.number()).optional(),
53
+ searches: z.number().optional(),
54
+ }).transform((v) => {
55
+ return remap$(v, {
56
+ "input_tokens": "inputTokens",
57
+ "output_tokens": "outputTokens",
58
+ "cached_tokens": "cachedTokens",
59
+ "reasoning_tokens": "reasoningTokens",
60
+ "image_tiers": "imageTiers",
61
+ });
62
+ });
63
+ /** @internal */
64
+ export type EffectivePriceRowRates$Outbound = {
65
+ input_tokens?: number | undefined;
66
+ output_tokens?: number | undefined;
67
+ cached_tokens?: number | undefined;
68
+ reasoning_tokens?: number | undefined;
69
+ characters?: number | undefined;
70
+ seconds?: number | undefined;
71
+ image?: number | undefined;
72
+ image_tiers?: { [k: string]: number } | undefined;
73
+ searches?: number | undefined;
74
+ };
75
+
76
+ /** @internal */
77
+ export const EffectivePriceRowRates$outboundSchema: z.ZodType<
78
+ EffectivePriceRowRates$Outbound,
79
+ z.ZodTypeDef,
80
+ EffectivePriceRowRates
81
+ > = z.object({
82
+ inputTokens: z.number().optional(),
83
+ outputTokens: z.number().optional(),
84
+ cachedTokens: z.number().optional(),
85
+ reasoningTokens: z.number().optional(),
86
+ characters: z.number().optional(),
87
+ seconds: z.number().optional(),
88
+ image: z.number().optional(),
89
+ imageTiers: z.record(z.number()).optional(),
90
+ searches: z.number().optional(),
91
+ }).transform((v) => {
92
+ return remap$(v, {
93
+ inputTokens: "input_tokens",
94
+ outputTokens: "output_tokens",
95
+ cachedTokens: "cached_tokens",
96
+ reasoningTokens: "reasoning_tokens",
97
+ imageTiers: "image_tiers",
98
+ });
99
+ });
100
+
101
+ export function effectivePriceRowRatesToJSON(
102
+ effectivePriceRowRates: EffectivePriceRowRates,
103
+ ): string {
104
+ return JSON.stringify(
105
+ EffectivePriceRowRates$outboundSchema.parse(effectivePriceRowRates),
106
+ );
107
+ }
108
+ export function effectivePriceRowRatesFromJSON(
109
+ jsonString: string,
110
+ ): SafeParseResult<EffectivePriceRowRates, SDKValidationError> {
111
+ return safeParse(
112
+ jsonString,
113
+ (x) => EffectivePriceRowRates$inboundSchema.parse(JSON.parse(x)),
114
+ `Failed to parse 'EffectivePriceRowRates' from JSON`,
115
+ );
116
+ }
117
+
118
+ /** @internal */
119
+ export const EffectivePriceRowSource$inboundSchema: z.ZodNativeEnum<
120
+ typeof EffectivePriceRowSource
121
+ > = z.nativeEnum(EffectivePriceRowSource);
122
+ /** @internal */
123
+ export const EffectivePriceRowSource$outboundSchema: z.ZodNativeEnum<
124
+ typeof EffectivePriceRowSource
125
+ > = EffectivePriceRowSource$inboundSchema;
126
+
127
+ /** @internal */
128
+ export const EffectivePriceRow$inboundSchema: z.ZodType<
129
+ EffectivePriceRow,
130
+ z.ZodTypeDef,
131
+ unknown
132
+ > = z.object({
133
+ model: z.string(),
134
+ rates: z.nullable(z.lazy(() => EffectivePriceRowRates$inboundSchema)),
135
+ source: EffectivePriceRowSource$inboundSchema,
136
+ });
137
+ /** @internal */
138
+ export type EffectivePriceRow$Outbound = {
139
+ model: string;
140
+ rates: EffectivePriceRowRates$Outbound | null;
141
+ source: string;
142
+ };
143
+
144
+ /** @internal */
145
+ export const EffectivePriceRow$outboundSchema: z.ZodType<
146
+ EffectivePriceRow$Outbound,
147
+ z.ZodTypeDef,
148
+ EffectivePriceRow
149
+ > = z.object({
150
+ model: z.string(),
151
+ rates: z.nullable(z.lazy(() => EffectivePriceRowRates$outboundSchema)),
152
+ source: EffectivePriceRowSource$outboundSchema,
153
+ });
154
+
155
+ export function effectivePriceRowToJSON(
156
+ effectivePriceRow: EffectivePriceRow,
157
+ ): string {
158
+ return JSON.stringify(
159
+ EffectivePriceRow$outboundSchema.parse(effectivePriceRow),
160
+ );
161
+ }
162
+ export function effectivePriceRowFromJSON(
163
+ jsonString: string,
164
+ ): SafeParseResult<EffectivePriceRow, SDKValidationError> {
165
+ return safeParse(
166
+ jsonString,
167
+ (x) => EffectivePriceRow$inboundSchema.parse(JSON.parse(x)),
168
+ `Failed to parse 'EffectivePriceRow' from JSON`,
169
+ );
170
+ }
@@ -0,0 +1,65 @@
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 {
10
+ EffectivePriceRow,
11
+ EffectivePriceRow$inboundSchema,
12
+ EffectivePriceRow$Outbound,
13
+ EffectivePriceRow$outboundSchema,
14
+ } from "./effectivepricerow.js";
15
+
16
+ export type EffectivePricesResponse = {
17
+ object: "list";
18
+ currency: string | null;
19
+ data: Array<EffectivePriceRow>;
20
+ };
21
+
22
+ /** @internal */
23
+ export const EffectivePricesResponse$inboundSchema: z.ZodType<
24
+ EffectivePricesResponse,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ object: z.literal("list"),
29
+ currency: z.nullable(z.string()),
30
+ data: z.array(EffectivePriceRow$inboundSchema),
31
+ });
32
+ /** @internal */
33
+ export type EffectivePricesResponse$Outbound = {
34
+ object: "list";
35
+ currency: string | null;
36
+ data: Array<EffectivePriceRow$Outbound>;
37
+ };
38
+
39
+ /** @internal */
40
+ export const EffectivePricesResponse$outboundSchema: z.ZodType<
41
+ EffectivePricesResponse$Outbound,
42
+ z.ZodTypeDef,
43
+ EffectivePricesResponse
44
+ > = z.object({
45
+ object: z.literal("list"),
46
+ currency: z.nullable(z.string()),
47
+ data: z.array(EffectivePriceRow$outboundSchema),
48
+ });
49
+
50
+ export function effectivePricesResponseToJSON(
51
+ effectivePricesResponse: EffectivePricesResponse,
52
+ ): string {
53
+ return JSON.stringify(
54
+ EffectivePricesResponse$outboundSchema.parse(effectivePricesResponse),
55
+ );
56
+ }
57
+ export function effectivePricesResponseFromJSON(
58
+ jsonString: string,
59
+ ): SafeParseResult<EffectivePricesResponse, SDKValidationError> {
60
+ return safeParse(
61
+ jsonString,
62
+ (x) => EffectivePricesResponse$inboundSchema.parse(JSON.parse(x)),
63
+ `Failed to parse 'EffectivePricesResponse' from JSON`,
64
+ );
65
+ }
@@ -149,6 +149,8 @@ export * from "./doubleclickaction.js";
149
149
  export * from "./dpohyperparameters.js";
150
150
  export * from "./dragaction.js";
151
151
  export * from "./dropindexresponse.js";
152
+ export * from "./effectivepricerow.js";
153
+ export * from "./effectivepricesresponse.js";
152
154
  export * from "./embeddingmodel.js";
153
155
  export * from "./embeddingmodellimits.js";
154
156
  export * from "./embeddingmodellistresponse.js";
@@ -26,7 +26,7 @@ export type ModelPriceRow = {
26
26
  rates: Rates;
27
27
  effectiveFrom: string;
28
28
  effectiveTo: string | null;
29
- setBy: string;
29
+ setBy: string | null;
30
30
  };
31
31
 
32
32
  /** @internal */
@@ -112,7 +112,7 @@ export const ModelPriceRow$inboundSchema: z.ZodType<
112
112
  rates: z.lazy(() => Rates$inboundSchema),
113
113
  effective_from: z.string(),
114
114
  effective_to: z.nullable(z.string()),
115
- set_by: z.string(),
115
+ set_by: z.nullable(z.string()),
116
116
  }).transform((v) => {
117
117
  return remap$(v, {
118
118
  "org_id": "orgId",
@@ -128,7 +128,7 @@ export type ModelPriceRow$Outbound = {
128
128
  rates: Rates$Outbound;
129
129
  effective_from: string;
130
130
  effective_to: string | null;
131
- set_by: string;
131
+ set_by: string | null;
132
132
  };
133
133
 
134
134
  /** @internal */
@@ -142,7 +142,7 @@ export const ModelPriceRow$outboundSchema: z.ZodType<
142
142
  rates: z.lazy(() => Rates$outboundSchema),
143
143
  effectiveFrom: z.string(),
144
144
  effectiveTo: z.nullable(z.string()),
145
- setBy: z.string(),
145
+ setBy: z.nullable(z.string()),
146
146
  }).transform((v) => {
147
147
  return remap$(v, {
148
148
  orgId: "org_id",
@@ -0,0 +1,53 @@
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 GetClusterRegistryModelRequest = {
11
+ id: string;
12
+ };
13
+
14
+ /** @internal */
15
+ export const GetClusterRegistryModelRequest$inboundSchema: z.ZodType<
16
+ GetClusterRegistryModelRequest,
17
+ z.ZodTypeDef,
18
+ unknown
19
+ > = z.object({
20
+ id: z.string(),
21
+ });
22
+ /** @internal */
23
+ export type GetClusterRegistryModelRequest$Outbound = {
24
+ id: string;
25
+ };
26
+
27
+ /** @internal */
28
+ export const GetClusterRegistryModelRequest$outboundSchema: z.ZodType<
29
+ GetClusterRegistryModelRequest$Outbound,
30
+ z.ZodTypeDef,
31
+ GetClusterRegistryModelRequest
32
+ > = z.object({
33
+ id: z.string(),
34
+ });
35
+
36
+ export function getClusterRegistryModelRequestToJSON(
37
+ getClusterRegistryModelRequest: GetClusterRegistryModelRequest,
38
+ ): string {
39
+ return JSON.stringify(
40
+ GetClusterRegistryModelRequest$outboundSchema.parse(
41
+ getClusterRegistryModelRequest,
42
+ ),
43
+ );
44
+ }
45
+ export function getClusterRegistryModelRequestFromJSON(
46
+ jsonString: string,
47
+ ): SafeParseResult<GetClusterRegistryModelRequest, SDKValidationError> {
48
+ return safeParse(
49
+ jsonString,
50
+ (x) => GetClusterRegistryModelRequest$inboundSchema.parse(JSON.parse(x)),
51
+ `Failed to parse 'GetClusterRegistryModelRequest' from JSON`,
52
+ );
53
+ }
@@ -121,6 +121,7 @@ export * from "./getbatch.js";
121
121
  export * from "./getclassifyusage.js";
122
122
  export * from "./getclusterinviteinfo.js";
123
123
  export * from "./getclusterorg.js";
124
+ export * from "./getclusterregistrymodel.js";
124
125
  export * from "./getcompletionfeedback.js";
125
126
  export * from "./getcompletionsusage.js";
126
127
  export * from "./getconversationsusage.js";
@@ -200,6 +201,7 @@ export * from "./listclusterorgs.js";
200
201
  export * from "./listclusterprices.js";
201
202
  export * from "./listclusterregistryorggrants.js";
202
203
  export * from "./listdeployments.js";
204
+ export * from "./listeffectiveprices.js";
203
205
  export * from "./listembeddingmodels.js";
204
206
  export * from "./listevalruns.js";
205
207
  export * from "./listevalsamples.js";
@@ -261,6 +263,7 @@ export * from "./regeneratescopedapikey.js";
261
263
  export * from "./regenerateserviceaccountapikey.js";
262
264
  export * from "./registermodel.js";
263
265
  export * from "./reissueownerkey.js";
266
+ export * from "./removeclusterregistrymodel.js";
264
267
  export * from "./removeregistrymodel.js";
265
268
  export * from "./removeteammember.js";
266
269
  export * from "./rerunfailedevalsamples.js";
@@ -294,6 +297,7 @@ export * from "./triggerevalschedule.js";
294
297
  export * from "./unsuspendclusterorg.js";
295
298
  export * from "./updateagent.js";
296
299
  export * from "./updateagentschedule.js";
300
+ export * from "./updateclusterregistrymodel.js";
297
301
  export * from "./updatecompletionfeedback.js";
298
302
  export * from "./updatedeployment.js";
299
303
  export * from "./updateevalschedule.js";