@meetkai/mka1 0.51.4 → 0.51.5

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 (331) hide show
  1. package/README.md +227 -239
  2. package/bin/mcp-server.js +67 -717
  3. package/bin/mcp-server.js.map +22 -37
  4. package/dist/commonjs/funcs/servingDeploymentsCreate.js +1 -1
  5. package/dist/commonjs/funcs/servingDeploymentsCreate.js.map +1 -1
  6. package/dist/commonjs/funcs/servingDeploymentsDelete.js +1 -1
  7. package/dist/commonjs/funcs/servingDeploymentsDelete.js.map +1 -1
  8. package/dist/commonjs/funcs/servingDeploymentsGet.js +1 -1
  9. package/dist/commonjs/funcs/servingDeploymentsGet.js.map +1 -1
  10. package/dist/commonjs/funcs/servingDeploymentsList.js +1 -1
  11. package/dist/commonjs/funcs/servingDeploymentsList.js.map +1 -1
  12. package/dist/commonjs/funcs/servingDeploymentsListReplicas.js +1 -1
  13. package/dist/commonjs/funcs/servingDeploymentsListReplicas.js.map +1 -1
  14. package/dist/commonjs/funcs/servingDeploymentsListRevisions.js +1 -1
  15. package/dist/commonjs/funcs/servingDeploymentsListRevisions.js.map +1 -1
  16. package/dist/commonjs/funcs/servingDeploymentsUpdate.js +1 -1
  17. package/dist/commonjs/funcs/servingDeploymentsUpdate.js.map +1 -1
  18. package/dist/commonjs/funcs/servingDeploymentsUpdateScaling.js +2 -4
  19. package/dist/commonjs/funcs/servingDeploymentsUpdateScaling.js.map +1 -1
  20. package/dist/commonjs/funcs/servingModelsDelete.js +1 -1
  21. package/dist/commonjs/funcs/servingModelsDelete.js.map +1 -1
  22. package/dist/commonjs/funcs/servingSecretsDelete.js +1 -1
  23. package/dist/commonjs/funcs/servingSecretsDelete.js.map +1 -1
  24. package/dist/commonjs/lib/config.d.ts +2 -2
  25. package/dist/commonjs/lib/config.js +2 -2
  26. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  27. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  28. package/dist/commonjs/mcp-server/server.js +1 -7
  29. package/dist/commonjs/mcp-server/server.js.map +1 -1
  30. package/dist/commonjs/models/components/deploymentcreate.d.ts +5 -26
  31. package/dist/commonjs/models/components/deploymentcreate.d.ts.map +1 -1
  32. package/dist/commonjs/models/components/deploymentcreate.js +3 -16
  33. package/dist/commonjs/models/components/deploymentcreate.js.map +1 -1
  34. package/dist/commonjs/models/components/deploymentupdate.d.ts +0 -7
  35. package/dist/commonjs/models/components/deploymentupdate.d.ts.map +1 -1
  36. package/dist/commonjs/models/components/deploymentupdate.js +0 -9
  37. package/dist/commonjs/models/components/deploymentupdate.js.map +1 -1
  38. package/dist/commonjs/models/components/index.d.ts +0 -6
  39. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/components/index.js +0 -6
  41. package/dist/commonjs/models/components/index.js.map +1 -1
  42. package/dist/commonjs/models/components/replica.d.ts +0 -9
  43. package/dist/commonjs/models/components/replica.d.ts.map +1 -1
  44. package/dist/commonjs/models/components/replica.js +0 -8
  45. package/dist/commonjs/models/components/replica.js.map +1 -1
  46. package/dist/commonjs/models/operations/index.d.ts +0 -3
  47. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  48. package/dist/commonjs/models/operations/index.js +0 -3
  49. package/dist/commonjs/models/operations/index.js.map +1 -1
  50. package/dist/commonjs/models/operations/updatescaling.d.ts +2 -2
  51. package/dist/commonjs/models/operations/updatescaling.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/updatescaling.js +4 -4
  53. package/dist/commonjs/models/operations/updatescaling.js.map +1 -1
  54. package/dist/commonjs/react-query/index.d.ts +0 -3
  55. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  56. package/dist/commonjs/react-query/index.js +0 -3
  57. package/dist/commonjs/react-query/index.js.map +1 -1
  58. package/dist/commonjs/sdk/serving.d.ts +0 -3
  59. package/dist/commonjs/sdk/serving.d.ts.map +1 -1
  60. package/dist/commonjs/sdk/serving.js +0 -4
  61. package/dist/commonjs/sdk/serving.js.map +1 -1
  62. package/dist/esm/funcs/servingDeploymentsCreate.js +1 -1
  63. package/dist/esm/funcs/servingDeploymentsCreate.js.map +1 -1
  64. package/dist/esm/funcs/servingDeploymentsDelete.js +1 -1
  65. package/dist/esm/funcs/servingDeploymentsDelete.js.map +1 -1
  66. package/dist/esm/funcs/servingDeploymentsGet.js +1 -1
  67. package/dist/esm/funcs/servingDeploymentsGet.js.map +1 -1
  68. package/dist/esm/funcs/servingDeploymentsList.js +1 -1
  69. package/dist/esm/funcs/servingDeploymentsList.js.map +1 -1
  70. package/dist/esm/funcs/servingDeploymentsListReplicas.js +1 -1
  71. package/dist/esm/funcs/servingDeploymentsListReplicas.js.map +1 -1
  72. package/dist/esm/funcs/servingDeploymentsListRevisions.js +1 -1
  73. package/dist/esm/funcs/servingDeploymentsListRevisions.js.map +1 -1
  74. package/dist/esm/funcs/servingDeploymentsUpdate.js +1 -1
  75. package/dist/esm/funcs/servingDeploymentsUpdate.js.map +1 -1
  76. package/dist/esm/funcs/servingDeploymentsUpdateScaling.js +2 -4
  77. package/dist/esm/funcs/servingDeploymentsUpdateScaling.js.map +1 -1
  78. package/dist/esm/funcs/servingModelsDelete.js +1 -1
  79. package/dist/esm/funcs/servingModelsDelete.js.map +1 -1
  80. package/dist/esm/funcs/servingSecretsDelete.js +1 -1
  81. package/dist/esm/funcs/servingSecretsDelete.js.map +1 -1
  82. package/dist/esm/lib/config.d.ts +2 -2
  83. package/dist/esm/lib/config.js +2 -2
  84. package/dist/esm/mcp-server/mcp-server.js +1 -1
  85. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  86. package/dist/esm/mcp-server/server.js +1 -7
  87. package/dist/esm/mcp-server/server.js.map +1 -1
  88. package/dist/esm/models/components/deploymentcreate.d.ts +5 -26
  89. package/dist/esm/models/components/deploymentcreate.d.ts.map +1 -1
  90. package/dist/esm/models/components/deploymentcreate.js +3 -16
  91. package/dist/esm/models/components/deploymentcreate.js.map +1 -1
  92. package/dist/esm/models/components/deploymentupdate.d.ts +0 -7
  93. package/dist/esm/models/components/deploymentupdate.d.ts.map +1 -1
  94. package/dist/esm/models/components/deploymentupdate.js +0 -9
  95. package/dist/esm/models/components/deploymentupdate.js.map +1 -1
  96. package/dist/esm/models/components/index.d.ts +0 -6
  97. package/dist/esm/models/components/index.d.ts.map +1 -1
  98. package/dist/esm/models/components/index.js +0 -6
  99. package/dist/esm/models/components/index.js.map +1 -1
  100. package/dist/esm/models/components/replica.d.ts +0 -9
  101. package/dist/esm/models/components/replica.d.ts.map +1 -1
  102. package/dist/esm/models/components/replica.js +0 -8
  103. package/dist/esm/models/components/replica.js.map +1 -1
  104. package/dist/esm/models/operations/index.d.ts +0 -3
  105. package/dist/esm/models/operations/index.d.ts.map +1 -1
  106. package/dist/esm/models/operations/index.js +0 -3
  107. package/dist/esm/models/operations/index.js.map +1 -1
  108. package/dist/esm/models/operations/updatescaling.d.ts +2 -2
  109. package/dist/esm/models/operations/updatescaling.d.ts.map +1 -1
  110. package/dist/esm/models/operations/updatescaling.js +4 -4
  111. package/dist/esm/models/operations/updatescaling.js.map +1 -1
  112. package/dist/esm/react-query/index.d.ts +0 -3
  113. package/dist/esm/react-query/index.d.ts.map +1 -1
  114. package/dist/esm/react-query/index.js +0 -3
  115. package/dist/esm/react-query/index.js.map +1 -1
  116. package/dist/esm/sdk/serving.d.ts +0 -3
  117. package/dist/esm/sdk/serving.d.ts.map +1 -1
  118. package/dist/esm/sdk/serving.js +0 -4
  119. package/dist/esm/sdk/serving.js.map +1 -1
  120. package/jsr.json +1 -1
  121. package/package.json +1 -1
  122. package/src/funcs/servingDeploymentsCreate.ts +2 -3
  123. package/src/funcs/servingDeploymentsDelete.ts +2 -3
  124. package/src/funcs/servingDeploymentsGet.ts +2 -3
  125. package/src/funcs/servingDeploymentsList.ts +2 -3
  126. package/src/funcs/servingDeploymentsListReplicas.ts +0 -1
  127. package/src/funcs/servingDeploymentsListRevisions.ts +2 -3
  128. package/src/funcs/servingDeploymentsUpdate.ts +2 -3
  129. package/src/funcs/servingDeploymentsUpdateScaling.ts +1 -4
  130. package/src/funcs/servingModelsDelete.ts +1 -1
  131. package/src/funcs/servingSecretsDelete.ts +1 -1
  132. package/src/lib/config.ts +2 -2
  133. package/src/mcp-server/mcp-server.ts +1 -1
  134. package/src/mcp-server/server.ts +1 -7
  135. package/src/models/components/deploymentcreate.ts +12 -49
  136. package/src/models/components/deploymentupdate.ts +0 -19
  137. package/src/models/components/index.ts +0 -6
  138. package/src/models/components/replica.ts +0 -17
  139. package/src/models/operations/index.ts +0 -3
  140. package/src/models/operations/updatescaling.ts +6 -6
  141. package/src/react-query/index.ts +0 -3
  142. package/src/sdk/serving.ts +0 -6
  143. package/dist/commonjs/funcs/servingTenantsGet.d.ts +0 -19
  144. package/dist/commonjs/funcs/servingTenantsGet.d.ts.map +0 -1
  145. package/dist/commonjs/funcs/servingTenantsGet.js +0 -136
  146. package/dist/commonjs/funcs/servingTenantsGet.js.map +0 -1
  147. package/dist/commonjs/funcs/servingTenantsList.d.ts +0 -19
  148. package/dist/commonjs/funcs/servingTenantsList.d.ts.map +0 -1
  149. package/dist/commonjs/funcs/servingTenantsList.js +0 -135
  150. package/dist/commonjs/funcs/servingTenantsList.js.map +0 -1
  151. package/dist/commonjs/funcs/servingTenantsSet.d.ts +0 -19
  152. package/dist/commonjs/funcs/servingTenantsSet.d.ts.map +0 -1
  153. package/dist/commonjs/funcs/servingTenantsSet.js +0 -137
  154. package/dist/commonjs/funcs/servingTenantsSet.js.map +0 -1
  155. package/dist/commonjs/mcp-server/tools/servingTenantsGet.d.ts +0 -8
  156. package/dist/commonjs/mcp-server/tools/servingTenantsGet.d.ts.map +0 -1
  157. package/dist/commonjs/mcp-server/tools/servingTenantsGet.js +0 -64
  158. package/dist/commonjs/mcp-server/tools/servingTenantsGet.js.map +0 -1
  159. package/dist/commonjs/mcp-server/tools/servingTenantsList.d.ts +0 -8
  160. package/dist/commonjs/mcp-server/tools/servingTenantsList.d.ts.map +0 -1
  161. package/dist/commonjs/mcp-server/tools/servingTenantsList.js +0 -64
  162. package/dist/commonjs/mcp-server/tools/servingTenantsList.js.map +0 -1
  163. package/dist/commonjs/mcp-server/tools/servingTenantsSet.d.ts +0 -8
  164. package/dist/commonjs/mcp-server/tools/servingTenantsSet.d.ts.map +0 -1
  165. package/dist/commonjs/mcp-server/tools/servingTenantsSet.js +0 -64
  166. package/dist/commonjs/mcp-server/tools/servingTenantsSet.js.map +0 -1
  167. package/dist/commonjs/models/components/deploymentapiformat.d.ts +0 -22
  168. package/dist/commonjs/models/components/deploymentapiformat.d.ts.map +0 -1
  169. package/dist/commonjs/models/components/deploymentapiformat.js +0 -56
  170. package/dist/commonjs/models/components/deploymentapiformat.js.map +0 -1
  171. package/dist/commonjs/models/components/deploymentscalingcreate.d.ts +0 -31
  172. package/dist/commonjs/models/components/deploymentscalingcreate.d.ts.map +0 -1
  173. package/dist/commonjs/models/components/deploymentscalingcreate.js +0 -83
  174. package/dist/commonjs/models/components/deploymentscalingcreate.js.map +0 -1
  175. package/dist/commonjs/models/components/deploymentscalingupdate.d.ts +0 -28
  176. package/dist/commonjs/models/components/deploymentscalingupdate.d.ts.map +0 -1
  177. package/dist/commonjs/models/components/deploymentscalingupdate.js +0 -83
  178. package/dist/commonjs/models/components/deploymentscalingupdate.js.map +0 -1
  179. package/dist/commonjs/models/components/pageservingtenant.d.ts +0 -22
  180. package/dist/commonjs/models/components/pageservingtenant.d.ts.map +0 -1
  181. package/dist/commonjs/models/components/pageservingtenant.js +0 -72
  182. package/dist/commonjs/models/components/pageservingtenant.js.map +0 -1
  183. package/dist/commonjs/models/components/servingtenant.d.ts +0 -28
  184. package/dist/commonjs/models/components/servingtenant.d.ts.map +0 -1
  185. package/dist/commonjs/models/components/servingtenant.js +0 -81
  186. package/dist/commonjs/models/components/servingtenant.js.map +0 -1
  187. package/dist/commonjs/models/components/servingtenantset.d.ts +0 -20
  188. package/dist/commonjs/models/components/servingtenantset.d.ts.map +0 -1
  189. package/dist/commonjs/models/components/servingtenantset.js +0 -58
  190. package/dist/commonjs/models/components/servingtenantset.js.map +0 -1
  191. package/dist/commonjs/models/operations/getservingtenant.d.ts +0 -22
  192. package/dist/commonjs/models/operations/getservingtenant.d.ts.map +0 -1
  193. package/dist/commonjs/models/operations/getservingtenant.js +0 -71
  194. package/dist/commonjs/models/operations/getservingtenant.js.map +0 -1
  195. package/dist/commonjs/models/operations/listservingtenants.d.ts +0 -24
  196. package/dist/commonjs/models/operations/listservingtenants.d.ts.map +0 -1
  197. package/dist/commonjs/models/operations/listservingtenants.js +0 -71
  198. package/dist/commonjs/models/operations/listservingtenants.js.map +0 -1
  199. package/dist/commonjs/models/operations/setservingtenant.d.ts +0 -25
  200. package/dist/commonjs/models/operations/setservingtenant.d.ts.map +0 -1
  201. package/dist/commonjs/models/operations/setservingtenant.js +0 -76
  202. package/dist/commonjs/models/operations/setservingtenant.js.map +0 -1
  203. package/dist/commonjs/react-query/servingTenantsGet.core.d.ts +0 -15
  204. package/dist/commonjs/react-query/servingTenantsGet.core.d.ts.map +0 -1
  205. package/dist/commonjs/react-query/servingTenantsGet.core.js +0 -36
  206. package/dist/commonjs/react-query/servingTenantsGet.core.js.map +0 -1
  207. package/dist/commonjs/react-query/servingTenantsGet.d.ts +0 -39
  208. package/dist/commonjs/react-query/servingTenantsGet.d.ts.map +0 -1
  209. package/dist/commonjs/react-query/servingTenantsGet.js +0 -60
  210. package/dist/commonjs/react-query/servingTenantsGet.js.map +0 -1
  211. package/dist/commonjs/react-query/servingTenantsList.core.d.ts +0 -17
  212. package/dist/commonjs/react-query/servingTenantsList.core.d.ts.map +0 -1
  213. package/dist/commonjs/react-query/servingTenantsList.core.js +0 -38
  214. package/dist/commonjs/react-query/servingTenantsList.core.js.map +0 -1
  215. package/dist/commonjs/react-query/servingTenantsList.d.ts +0 -41
  216. package/dist/commonjs/react-query/servingTenantsList.d.ts.map +0 -1
  217. package/dist/commonjs/react-query/servingTenantsList.js +0 -60
  218. package/dist/commonjs/react-query/servingTenantsList.js.map +0 -1
  219. package/dist/commonjs/react-query/servingTenantsSet.d.ts +0 -30
  220. package/dist/commonjs/react-query/servingTenantsSet.d.ts.map +0 -1
  221. package/dist/commonjs/react-query/servingTenantsSet.js +0 -47
  222. package/dist/commonjs/react-query/servingTenantsSet.js.map +0 -1
  223. package/dist/commonjs/sdk/tenants.d.ts +0 -27
  224. package/dist/commonjs/sdk/tenants.d.ts.map +0 -1
  225. package/dist/commonjs/sdk/tenants.js +0 -42
  226. package/dist/commonjs/sdk/tenants.js.map +0 -1
  227. package/dist/esm/funcs/servingTenantsGet.d.ts +0 -19
  228. package/dist/esm/funcs/servingTenantsGet.d.ts.map +0 -1
  229. package/dist/esm/funcs/servingTenantsGet.js +0 -100
  230. package/dist/esm/funcs/servingTenantsGet.js.map +0 -1
  231. package/dist/esm/funcs/servingTenantsList.d.ts +0 -19
  232. package/dist/esm/funcs/servingTenantsList.d.ts.map +0 -1
  233. package/dist/esm/funcs/servingTenantsList.js +0 -99
  234. package/dist/esm/funcs/servingTenantsList.js.map +0 -1
  235. package/dist/esm/funcs/servingTenantsSet.d.ts +0 -19
  236. package/dist/esm/funcs/servingTenantsSet.d.ts.map +0 -1
  237. package/dist/esm/funcs/servingTenantsSet.js +0 -101
  238. package/dist/esm/funcs/servingTenantsSet.js.map +0 -1
  239. package/dist/esm/mcp-server/tools/servingTenantsGet.d.ts +0 -8
  240. package/dist/esm/mcp-server/tools/servingTenantsGet.d.ts.map +0 -1
  241. package/dist/esm/mcp-server/tools/servingTenantsGet.js +0 -28
  242. package/dist/esm/mcp-server/tools/servingTenantsGet.js.map +0 -1
  243. package/dist/esm/mcp-server/tools/servingTenantsList.d.ts +0 -8
  244. package/dist/esm/mcp-server/tools/servingTenantsList.d.ts.map +0 -1
  245. package/dist/esm/mcp-server/tools/servingTenantsList.js +0 -28
  246. package/dist/esm/mcp-server/tools/servingTenantsList.js.map +0 -1
  247. package/dist/esm/mcp-server/tools/servingTenantsSet.d.ts +0 -8
  248. package/dist/esm/mcp-server/tools/servingTenantsSet.d.ts.map +0 -1
  249. package/dist/esm/mcp-server/tools/servingTenantsSet.js +0 -28
  250. package/dist/esm/mcp-server/tools/servingTenantsSet.js.map +0 -1
  251. package/dist/esm/models/components/deploymentapiformat.d.ts +0 -22
  252. package/dist/esm/models/components/deploymentapiformat.d.ts.map +0 -1
  253. package/dist/esm/models/components/deploymentapiformat.js +0 -20
  254. package/dist/esm/models/components/deploymentapiformat.js.map +0 -1
  255. package/dist/esm/models/components/deploymentscalingcreate.d.ts +0 -31
  256. package/dist/esm/models/components/deploymentscalingcreate.d.ts.map +0 -1
  257. package/dist/esm/models/components/deploymentscalingcreate.js +0 -45
  258. package/dist/esm/models/components/deploymentscalingcreate.js.map +0 -1
  259. package/dist/esm/models/components/deploymentscalingupdate.d.ts +0 -28
  260. package/dist/esm/models/components/deploymentscalingupdate.d.ts.map +0 -1
  261. package/dist/esm/models/components/deploymentscalingupdate.js +0 -45
  262. package/dist/esm/models/components/deploymentscalingupdate.js.map +0 -1
  263. package/dist/esm/models/components/pageservingtenant.d.ts +0 -22
  264. package/dist/esm/models/components/pageservingtenant.d.ts.map +0 -1
  265. package/dist/esm/models/components/pageservingtenant.js +0 -34
  266. package/dist/esm/models/components/pageservingtenant.js.map +0 -1
  267. package/dist/esm/models/components/servingtenant.d.ts +0 -28
  268. package/dist/esm/models/components/servingtenant.d.ts.map +0 -1
  269. package/dist/esm/models/components/servingtenant.js +0 -43
  270. package/dist/esm/models/components/servingtenant.js.map +0 -1
  271. package/dist/esm/models/components/servingtenantset.d.ts +0 -20
  272. package/dist/esm/models/components/servingtenantset.d.ts.map +0 -1
  273. package/dist/esm/models/components/servingtenantset.js +0 -20
  274. package/dist/esm/models/components/servingtenantset.js.map +0 -1
  275. package/dist/esm/models/operations/getservingtenant.d.ts +0 -22
  276. package/dist/esm/models/operations/getservingtenant.d.ts.map +0 -1
  277. package/dist/esm/models/operations/getservingtenant.js +0 -33
  278. package/dist/esm/models/operations/getservingtenant.js.map +0 -1
  279. package/dist/esm/models/operations/listservingtenants.d.ts +0 -24
  280. package/dist/esm/models/operations/listservingtenants.d.ts.map +0 -1
  281. package/dist/esm/models/operations/listservingtenants.js +0 -33
  282. package/dist/esm/models/operations/listservingtenants.js.map +0 -1
  283. package/dist/esm/models/operations/setservingtenant.d.ts +0 -25
  284. package/dist/esm/models/operations/setservingtenant.d.ts.map +0 -1
  285. package/dist/esm/models/operations/setservingtenant.js +0 -38
  286. package/dist/esm/models/operations/setservingtenant.js.map +0 -1
  287. package/dist/esm/react-query/servingTenantsGet.core.d.ts +0 -15
  288. package/dist/esm/react-query/servingTenantsGet.core.d.ts.map +0 -1
  289. package/dist/esm/react-query/servingTenantsGet.core.js +0 -31
  290. package/dist/esm/react-query/servingTenantsGet.core.js.map +0 -1
  291. package/dist/esm/react-query/servingTenantsGet.d.ts +0 -39
  292. package/dist/esm/react-query/servingTenantsGet.d.ts.map +0 -1
  293. package/dist/esm/react-query/servingTenantsGet.js +0 -50
  294. package/dist/esm/react-query/servingTenantsGet.js.map +0 -1
  295. package/dist/esm/react-query/servingTenantsList.core.d.ts +0 -17
  296. package/dist/esm/react-query/servingTenantsList.core.d.ts.map +0 -1
  297. package/dist/esm/react-query/servingTenantsList.core.js +0 -33
  298. package/dist/esm/react-query/servingTenantsList.core.js.map +0 -1
  299. package/dist/esm/react-query/servingTenantsList.d.ts +0 -41
  300. package/dist/esm/react-query/servingTenantsList.d.ts.map +0 -1
  301. package/dist/esm/react-query/servingTenantsList.js +0 -50
  302. package/dist/esm/react-query/servingTenantsList.js.map +0 -1
  303. package/dist/esm/react-query/servingTenantsSet.d.ts +0 -30
  304. package/dist/esm/react-query/servingTenantsSet.d.ts.map +0 -1
  305. package/dist/esm/react-query/servingTenantsSet.js +0 -42
  306. package/dist/esm/react-query/servingTenantsSet.js.map +0 -1
  307. package/dist/esm/sdk/tenants.d.ts +0 -27
  308. package/dist/esm/sdk/tenants.d.ts.map +0 -1
  309. package/dist/esm/sdk/tenants.js +0 -38
  310. package/dist/esm/sdk/tenants.js.map +0 -1
  311. package/src/funcs/servingTenantsGet.ts +0 -196
  312. package/src/funcs/servingTenantsList.ts +0 -196
  313. package/src/funcs/servingTenantsSet.ts +0 -197
  314. package/src/mcp-server/tools/servingTenantsGet.ts +0 -37
  315. package/src/mcp-server/tools/servingTenantsList.ts +0 -37
  316. package/src/mcp-server/tools/servingTenantsSet.ts +0 -37
  317. package/src/models/components/deploymentapiformat.ts +0 -31
  318. package/src/models/components/deploymentscalingcreate.ts +0 -90
  319. package/src/models/components/deploymentscalingupdate.ts +0 -87
  320. package/src/models/components/pageservingtenant.ts +0 -74
  321. package/src/models/components/servingtenant.ts +0 -85
  322. package/src/models/components/servingtenantset.ts +0 -54
  323. package/src/models/operations/getservingtenant.ts +0 -69
  324. package/src/models/operations/listservingtenants.ts +0 -71
  325. package/src/models/operations/setservingtenant.ts +0 -76
  326. package/src/react-query/servingTenantsGet.core.ts +0 -76
  327. package/src/react-query/servingTenantsGet.ts +0 -141
  328. package/src/react-query/servingTenantsList.core.ts +0 -81
  329. package/src/react-query/servingTenantsList.ts +0 -148
  330. package/src/react-query/servingTenantsSet.ts +0 -112
  331. package/src/sdk/tenants.ts +0 -64
@@ -1,76 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import * as components from "../components/index.js";
10
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
-
12
- export type SetServingTenantRequest = {
13
- orgId: string;
14
- /**
15
- * Optional external end-user identifier forwarded by the API gateway.
16
- */
17
- xOnBehalfOf?: string | undefined;
18
- servingTenantSet: components.ServingTenantSet;
19
- };
20
-
21
- /** @internal */
22
- export const SetServingTenantRequest$inboundSchema: z.ZodType<
23
- SetServingTenantRequest,
24
- z.ZodTypeDef,
25
- unknown
26
- > = z.object({
27
- org_id: z.string(),
28
- "X-On-Behalf-Of": z.string().optional(),
29
- ServingTenantSet: components.ServingTenantSet$inboundSchema,
30
- }).transform((v) => {
31
- return remap$(v, {
32
- "org_id": "orgId",
33
- "X-On-Behalf-Of": "xOnBehalfOf",
34
- "ServingTenantSet": "servingTenantSet",
35
- });
36
- });
37
- /** @internal */
38
- export type SetServingTenantRequest$Outbound = {
39
- org_id: string;
40
- "X-On-Behalf-Of"?: string | undefined;
41
- ServingTenantSet: components.ServingTenantSet$Outbound;
42
- };
43
-
44
- /** @internal */
45
- export const SetServingTenantRequest$outboundSchema: z.ZodType<
46
- SetServingTenantRequest$Outbound,
47
- z.ZodTypeDef,
48
- SetServingTenantRequest
49
- > = z.object({
50
- orgId: z.string(),
51
- xOnBehalfOf: z.string().optional(),
52
- servingTenantSet: components.ServingTenantSet$outboundSchema,
53
- }).transform((v) => {
54
- return remap$(v, {
55
- orgId: "org_id",
56
- xOnBehalfOf: "X-On-Behalf-Of",
57
- servingTenantSet: "ServingTenantSet",
58
- });
59
- });
60
-
61
- export function setServingTenantRequestToJSON(
62
- setServingTenantRequest: SetServingTenantRequest,
63
- ): string {
64
- return JSON.stringify(
65
- SetServingTenantRequest$outboundSchema.parse(setServingTenantRequest),
66
- );
67
- }
68
- export function setServingTenantRequestFromJSON(
69
- jsonString: string,
70
- ): SafeParseResult<SetServingTenantRequest, SDKValidationError> {
71
- return safeParse(
72
- jsonString,
73
- (x) => SetServingTenantRequest$inboundSchema.parse(JSON.parse(x)),
74
- `Failed to parse 'SetServingTenantRequest' from JSON`,
75
- );
76
- }
@@ -1,76 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import {
6
- QueryClient,
7
- QueryFunctionContext,
8
- QueryKey,
9
- } from "@tanstack/react-query";
10
- import { SDKCore } from "../core.js";
11
- import { servingTenantsGet } from "../funcs/servingTenantsGet.js";
12
- import { combineSignals } from "../lib/primitives.js";
13
- import { RequestOptions } from "../lib/sdks.js";
14
- import * as components from "../models/components/index.js";
15
- import * as operations from "../models/operations/index.js";
16
- import { unwrapAsync } from "../types/fp.js";
17
- export type ServingTenantsGetQueryData = components.ServingTenant;
18
-
19
- export function prefetchServingTenantsGet(
20
- queryClient: QueryClient,
21
- client$: SDKCore,
22
- request: operations.GetServingTenantRequest,
23
- options?: RequestOptions,
24
- ): Promise<void> {
25
- return queryClient.prefetchQuery({
26
- ...buildServingTenantsGetQuery(
27
- client$,
28
- request,
29
- options,
30
- ),
31
- });
32
- }
33
-
34
- export function buildServingTenantsGetQuery(
35
- client$: SDKCore,
36
- request: operations.GetServingTenantRequest,
37
- options?: RequestOptions,
38
- ): {
39
- queryKey: QueryKey;
40
- queryFn: (
41
- context: QueryFunctionContext,
42
- ) => Promise<ServingTenantsGetQueryData>;
43
- } {
44
- return {
45
- queryKey: queryKeyServingTenantsGet(request.orgId, {
46
- xOnBehalfOf: request.xOnBehalfOf,
47
- }),
48
- queryFn: async function servingTenantsGetQueryFn(
49
- ctx,
50
- ): Promise<ServingTenantsGetQueryData> {
51
- const sig = combineSignals(
52
- ctx.signal,
53
- options?.signal,
54
- options?.fetchOptions?.signal,
55
- );
56
- const mergedOptions = {
57
- ...options?.fetchOptions,
58
- ...options,
59
- signal: sig,
60
- };
61
-
62
- return unwrapAsync(servingTenantsGet(
63
- client$,
64
- request,
65
- mergedOptions,
66
- ));
67
- },
68
- };
69
- }
70
-
71
- export function queryKeyServingTenantsGet(
72
- orgId: string,
73
- parameters: { xOnBehalfOf?: string | undefined },
74
- ): QueryKey {
75
- return ["@meetkai/mka1", "tenants", "get", orgId, parameters];
76
- }
@@ -1,141 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import {
6
- InvalidateQueryFilters,
7
- QueryClient,
8
- useQuery,
9
- UseQueryResult,
10
- useSuspenseQuery,
11
- UseSuspenseQueryResult,
12
- } from "@tanstack/react-query";
13
- import {
14
- ConnectionError,
15
- InvalidRequestError,
16
- RequestAbortedError,
17
- RequestTimeoutError,
18
- UnexpectedClientError,
19
- } from "../models/errors/httpclienterrors.js";
20
- import * as errors from "../models/errors/index.js";
21
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
22
- import { SDKError } from "../models/errors/sdkerror.js";
23
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
24
- import * as operations from "../models/operations/index.js";
25
- import { useSDKContext } from "./_context.js";
26
- import {
27
- QueryHookOptions,
28
- SuspenseQueryHookOptions,
29
- TupleToPrefixes,
30
- } from "./_types.js";
31
- import {
32
- buildServingTenantsGetQuery,
33
- prefetchServingTenantsGet,
34
- queryKeyServingTenantsGet,
35
- ServingTenantsGetQueryData,
36
- } from "./servingTenantsGet.core.js";
37
- export {
38
- buildServingTenantsGetQuery,
39
- prefetchServingTenantsGet,
40
- queryKeyServingTenantsGet,
41
- type ServingTenantsGetQueryData,
42
- };
43
-
44
- export type ServingTenantsGetQueryError =
45
- | errors.ServingError
46
- | errors.ServingHTTPValidationError
47
- | SDKError
48
- | ResponseValidationError
49
- | ConnectionError
50
- | RequestAbortedError
51
- | RequestTimeoutError
52
- | InvalidRequestError
53
- | UnexpectedClientError
54
- | SDKValidationError;
55
-
56
- /**
57
- * Get a serving tenant
58
- *
59
- * @remarks
60
- * Get one organization's serving enablement record. Cluster administrators only.
61
- */
62
- export function useServingTenantsGet(
63
- request: operations.GetServingTenantRequest,
64
- options?: QueryHookOptions<
65
- ServingTenantsGetQueryData,
66
- ServingTenantsGetQueryError
67
- >,
68
- ): UseQueryResult<ServingTenantsGetQueryData, ServingTenantsGetQueryError> {
69
- const client = useSDKContext();
70
- return useQuery({
71
- ...buildServingTenantsGetQuery(
72
- client,
73
- request,
74
- options,
75
- ),
76
- ...options,
77
- });
78
- }
79
-
80
- /**
81
- * Get a serving tenant
82
- *
83
- * @remarks
84
- * Get one organization's serving enablement record. Cluster administrators only.
85
- */
86
- export function useServingTenantsGetSuspense(
87
- request: operations.GetServingTenantRequest,
88
- options?: SuspenseQueryHookOptions<
89
- ServingTenantsGetQueryData,
90
- ServingTenantsGetQueryError
91
- >,
92
- ): UseSuspenseQueryResult<
93
- ServingTenantsGetQueryData,
94
- ServingTenantsGetQueryError
95
- > {
96
- const client = useSDKContext();
97
- return useSuspenseQuery({
98
- ...buildServingTenantsGetQuery(
99
- client,
100
- request,
101
- options,
102
- ),
103
- ...options,
104
- });
105
- }
106
-
107
- export function setServingTenantsGetData(
108
- client: QueryClient,
109
- queryKeyBase: [
110
- orgId: string,
111
- parameters: { xOnBehalfOf?: string | undefined },
112
- ],
113
- data: ServingTenantsGetQueryData,
114
- ): ServingTenantsGetQueryData | undefined {
115
- const key = queryKeyServingTenantsGet(...queryKeyBase);
116
-
117
- return client.setQueryData<ServingTenantsGetQueryData>(key, data);
118
- }
119
-
120
- export function invalidateServingTenantsGet(
121
- client: QueryClient,
122
- queryKeyBase: TupleToPrefixes<
123
- [orgId: string, parameters: { xOnBehalfOf?: string | undefined }]
124
- >,
125
- filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
126
- ): Promise<void> {
127
- return client.invalidateQueries({
128
- ...filters,
129
- queryKey: ["@meetkai/mka1", "tenants", "get", ...queryKeyBase],
130
- });
131
- }
132
-
133
- export function invalidateAllServingTenantsGet(
134
- client: QueryClient,
135
- filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
136
- ): Promise<void> {
137
- return client.invalidateQueries({
138
- ...filters,
139
- queryKey: ["@meetkai/mka1", "tenants", "get"],
140
- });
141
- }
@@ -1,81 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import {
6
- QueryClient,
7
- QueryFunctionContext,
8
- QueryKey,
9
- } from "@tanstack/react-query";
10
- import { SDKCore } from "../core.js";
11
- import { servingTenantsList } from "../funcs/servingTenantsList.js";
12
- import { combineSignals } from "../lib/primitives.js";
13
- import { RequestOptions } from "../lib/sdks.js";
14
- import * as components from "../models/components/index.js";
15
- import * as operations from "../models/operations/index.js";
16
- import { unwrapAsync } from "../types/fp.js";
17
- export type ServingTenantsListQueryData = components.PageServingTenant;
18
-
19
- export function prefetchServingTenantsList(
20
- queryClient: QueryClient,
21
- client$: SDKCore,
22
- request: operations.ListServingTenantsRequest,
23
- options?: RequestOptions,
24
- ): Promise<void> {
25
- return queryClient.prefetchQuery({
26
- ...buildServingTenantsListQuery(
27
- client$,
28
- request,
29
- options,
30
- ),
31
- });
32
- }
33
-
34
- export function buildServingTenantsListQuery(
35
- client$: SDKCore,
36
- request: operations.ListServingTenantsRequest,
37
- options?: RequestOptions,
38
- ): {
39
- queryKey: QueryKey;
40
- queryFn: (
41
- context: QueryFunctionContext,
42
- ) => Promise<ServingTenantsListQueryData>;
43
- } {
44
- return {
45
- queryKey: queryKeyServingTenantsList({
46
- cursor: request.cursor,
47
- limit: request.limit,
48
- xOnBehalfOf: request.xOnBehalfOf,
49
- }),
50
- queryFn: async function servingTenantsListQueryFn(
51
- ctx,
52
- ): Promise<ServingTenantsListQueryData> {
53
- const sig = combineSignals(
54
- ctx.signal,
55
- options?.signal,
56
- options?.fetchOptions?.signal,
57
- );
58
- const mergedOptions = {
59
- ...options?.fetchOptions,
60
- ...options,
61
- signal: sig,
62
- };
63
-
64
- return unwrapAsync(servingTenantsList(
65
- client$,
66
- request,
67
- mergedOptions,
68
- ));
69
- },
70
- };
71
- }
72
-
73
- export function queryKeyServingTenantsList(
74
- parameters: {
75
- cursor?: string | null | undefined;
76
- limit?: number | undefined;
77
- xOnBehalfOf?: string | undefined;
78
- },
79
- ): QueryKey {
80
- return ["@meetkai/mka1", "tenants", "list", parameters];
81
- }
@@ -1,148 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import {
6
- InvalidateQueryFilters,
7
- QueryClient,
8
- useQuery,
9
- UseQueryResult,
10
- useSuspenseQuery,
11
- UseSuspenseQueryResult,
12
- } from "@tanstack/react-query";
13
- import {
14
- ConnectionError,
15
- InvalidRequestError,
16
- RequestAbortedError,
17
- RequestTimeoutError,
18
- UnexpectedClientError,
19
- } from "../models/errors/httpclienterrors.js";
20
- import * as errors from "../models/errors/index.js";
21
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
22
- import { SDKError } from "../models/errors/sdkerror.js";
23
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
24
- import * as operations from "../models/operations/index.js";
25
- import { useSDKContext } from "./_context.js";
26
- import {
27
- QueryHookOptions,
28
- SuspenseQueryHookOptions,
29
- TupleToPrefixes,
30
- } from "./_types.js";
31
- import {
32
- buildServingTenantsListQuery,
33
- prefetchServingTenantsList,
34
- queryKeyServingTenantsList,
35
- ServingTenantsListQueryData,
36
- } from "./servingTenantsList.core.js";
37
- export {
38
- buildServingTenantsListQuery,
39
- prefetchServingTenantsList,
40
- queryKeyServingTenantsList,
41
- type ServingTenantsListQueryData,
42
- };
43
-
44
- export type ServingTenantsListQueryError =
45
- | errors.ServingError
46
- | errors.ServingHTTPValidationError
47
- | SDKError
48
- | ResponseValidationError
49
- | ConnectionError
50
- | RequestAbortedError
51
- | RequestTimeoutError
52
- | InvalidRequestError
53
- | UnexpectedClientError
54
- | SDKValidationError;
55
-
56
- /**
57
- * List serving tenants
58
- *
59
- * @remarks
60
- * List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
61
- */
62
- export function useServingTenantsList(
63
- request: operations.ListServingTenantsRequest,
64
- options?: QueryHookOptions<
65
- ServingTenantsListQueryData,
66
- ServingTenantsListQueryError
67
- >,
68
- ): UseQueryResult<ServingTenantsListQueryData, ServingTenantsListQueryError> {
69
- const client = useSDKContext();
70
- return useQuery({
71
- ...buildServingTenantsListQuery(
72
- client,
73
- request,
74
- options,
75
- ),
76
- ...options,
77
- });
78
- }
79
-
80
- /**
81
- * List serving tenants
82
- *
83
- * @remarks
84
- * List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
85
- */
86
- export function useServingTenantsListSuspense(
87
- request: operations.ListServingTenantsRequest,
88
- options?: SuspenseQueryHookOptions<
89
- ServingTenantsListQueryData,
90
- ServingTenantsListQueryError
91
- >,
92
- ): UseSuspenseQueryResult<
93
- ServingTenantsListQueryData,
94
- ServingTenantsListQueryError
95
- > {
96
- const client = useSDKContext();
97
- return useSuspenseQuery({
98
- ...buildServingTenantsListQuery(
99
- client,
100
- request,
101
- options,
102
- ),
103
- ...options,
104
- });
105
- }
106
-
107
- export function setServingTenantsListData(
108
- client: QueryClient,
109
- queryKeyBase: [
110
- parameters: {
111
- cursor?: string | null | undefined;
112
- limit?: number | undefined;
113
- xOnBehalfOf?: string | undefined;
114
- },
115
- ],
116
- data: ServingTenantsListQueryData,
117
- ): ServingTenantsListQueryData | undefined {
118
- const key = queryKeyServingTenantsList(...queryKeyBase);
119
-
120
- return client.setQueryData<ServingTenantsListQueryData>(key, data);
121
- }
122
-
123
- export function invalidateServingTenantsList(
124
- client: QueryClient,
125
- queryKeyBase: TupleToPrefixes<
126
- [parameters: {
127
- cursor?: string | null | undefined;
128
- limit?: number | undefined;
129
- xOnBehalfOf?: string | undefined;
130
- }]
131
- >,
132
- filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
133
- ): Promise<void> {
134
- return client.invalidateQueries({
135
- ...filters,
136
- queryKey: ["@meetkai/mka1", "tenants", "list", ...queryKeyBase],
137
- });
138
- }
139
-
140
- export function invalidateAllServingTenantsList(
141
- client: QueryClient,
142
- filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
143
- ): Promise<void> {
144
- return client.invalidateQueries({
145
- ...filters,
146
- queryKey: ["@meetkai/mka1", "tenants", "list"],
147
- });
148
- }
@@ -1,112 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import {
6
- MutationKey,
7
- useMutation,
8
- UseMutationResult,
9
- } from "@tanstack/react-query";
10
- import { SDKCore } from "../core.js";
11
- import { servingTenantsSet } from "../funcs/servingTenantsSet.js";
12
- import { combineSignals } from "../lib/primitives.js";
13
- import { RequestOptions } from "../lib/sdks.js";
14
- import * as components from "../models/components/index.js";
15
- import {
16
- ConnectionError,
17
- InvalidRequestError,
18
- RequestAbortedError,
19
- RequestTimeoutError,
20
- UnexpectedClientError,
21
- } from "../models/errors/httpclienterrors.js";
22
- import * as errors from "../models/errors/index.js";
23
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
24
- import { SDKError } from "../models/errors/sdkerror.js";
25
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
26
- import * as operations from "../models/operations/index.js";
27
- import { unwrapAsync } from "../types/fp.js";
28
- import { useSDKContext } from "./_context.js";
29
- import { MutationHookOptions } from "./_types.js";
30
-
31
- export type ServingTenantsSetMutationVariables = {
32
- request: operations.SetServingTenantRequest;
33
- options?: RequestOptions;
34
- };
35
-
36
- export type ServingTenantsSetMutationData = components.ServingTenant;
37
-
38
- export type ServingTenantsSetMutationError =
39
- | errors.ServingError
40
- | errors.ServingHTTPValidationError
41
- | SDKError
42
- | ResponseValidationError
43
- | ConnectionError
44
- | RequestAbortedError
45
- | RequestTimeoutError
46
- | InvalidRequestError
47
- | UnexpectedClientError
48
- | SDKValidationError;
49
-
50
- /**
51
- * Set serving tenant enablement
52
- *
53
- * @remarks
54
- * Enable or disable serving for an organization and all of its teams. Disabling blocks product API access but does not stop existing workloads or callbacks. Cluster administrators only.
55
- */
56
- export function useServingTenantsSetMutation(
57
- options?: MutationHookOptions<
58
- ServingTenantsSetMutationData,
59
- ServingTenantsSetMutationError,
60
- ServingTenantsSetMutationVariables
61
- >,
62
- ): UseMutationResult<
63
- ServingTenantsSetMutationData,
64
- ServingTenantsSetMutationError,
65
- ServingTenantsSetMutationVariables
66
- > {
67
- const client = useSDKContext();
68
- return useMutation({
69
- ...buildServingTenantsSetMutation(client, options),
70
- ...options,
71
- });
72
- }
73
-
74
- export function mutationKeyServingTenantsSet(): MutationKey {
75
- return ["@meetkai/mka1", "tenants", "set"];
76
- }
77
-
78
- export function buildServingTenantsSetMutation(
79
- client$: SDKCore,
80
- hookOptions?: RequestOptions,
81
- ): {
82
- mutationKey: MutationKey;
83
- mutationFn: (
84
- variables: ServingTenantsSetMutationVariables,
85
- ) => Promise<ServingTenantsSetMutationData>;
86
- } {
87
- return {
88
- mutationKey: mutationKeyServingTenantsSet(),
89
- mutationFn: function servingTenantsSetMutationFn({
90
- request,
91
- options,
92
- }): Promise<ServingTenantsSetMutationData> {
93
- const mergedOptions = {
94
- ...hookOptions,
95
- ...options,
96
- fetchOptions: {
97
- ...hookOptions?.fetchOptions,
98
- ...options?.fetchOptions,
99
- signal: combineSignals(
100
- hookOptions?.fetchOptions?.signal,
101
- options?.fetchOptions?.signal,
102
- ),
103
- },
104
- };
105
- return unwrapAsync(servingTenantsSet(
106
- client$,
107
- request,
108
- mergedOptions,
109
- ));
110
- },
111
- };
112
- }
@@ -1,64 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { servingTenantsGet } from "../funcs/servingTenantsGet.js";
6
- import { servingTenantsList } from "../funcs/servingTenantsList.js";
7
- import { servingTenantsSet } from "../funcs/servingTenantsSet.js";
8
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
9
- import * as components from "../models/components/index.js";
10
- import * as operations from "../models/operations/index.js";
11
- import { unwrapAsync } from "../types/fp.js";
12
-
13
- export class Tenants extends ClientSDK {
14
- /**
15
- * List serving tenants
16
- *
17
- * @remarks
18
- * List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
19
- */
20
- async list(
21
- request: operations.ListServingTenantsRequest,
22
- options?: RequestOptions,
23
- ): Promise<components.PageServingTenant> {
24
- return unwrapAsync(servingTenantsList(
25
- this,
26
- request,
27
- options,
28
- ));
29
- }
30
-
31
- /**
32
- * Get a serving tenant
33
- *
34
- * @remarks
35
- * Get one organization's serving enablement record. Cluster administrators only.
36
- */
37
- async get(
38
- request: operations.GetServingTenantRequest,
39
- options?: RequestOptions,
40
- ): Promise<components.ServingTenant> {
41
- return unwrapAsync(servingTenantsGet(
42
- this,
43
- request,
44
- options,
45
- ));
46
- }
47
-
48
- /**
49
- * Set serving tenant enablement
50
- *
51
- * @remarks
52
- * Enable or disable serving for an organization and all of its teams. Disabling blocks product API access but does not stop existing workloads or callbacks. Cluster administrators only.
53
- */
54
- async set(
55
- request: operations.SetServingTenantRequest,
56
- options?: RequestOptions,
57
- ): Promise<components.ServingTenant> {
58
- return unwrapAsync(servingTenantsSet(
59
- this,
60
- request,
61
- options,
62
- ));
63
- }
64
- }