levelfour 1.15.0 → 1.17.0

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 (403) hide show
  1. package/dist/api/resources/recommendations/client/Client.js +20 -2
  2. package/dist/api/resources/recommendations/client/Client.mjs +20 -2
  3. package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.mts +8 -0
  4. package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.ts +8 -0
  5. package/dist/api/resources/recommendations/client/requests/ListByProviderRecommendationsRequest.d.mts +6 -0
  6. package/dist/api/resources/recommendations/client/requests/ListByProviderRecommendationsRequest.d.ts +6 -0
  7. package/dist/api/types/AutomationAction.d.mts +1 -0
  8. package/dist/api/types/AutomationAction.d.ts +1 -0
  9. package/dist/api/types/AutomationAction.js +1 -0
  10. package/dist/api/types/AutomationAction.mjs +1 -0
  11. package/dist/api/types/AutoscalingData.d.mts +10 -0
  12. package/dist/api/types/AutoscalingData.d.ts +10 -0
  13. package/dist/api/types/BlockedNamespace.d.mts +9 -0
  14. package/dist/api/types/BlockedNamespace.d.ts +9 -0
  15. package/dist/api/types/BlockedNamespace.js +17 -0
  16. package/dist/api/types/BlockedNamespace.mjs +1 -0
  17. package/dist/api/types/BlockerTotals.d.mts +6 -0
  18. package/dist/api/types/BlockerTotals.d.ts +6 -0
  19. package/dist/api/types/BlockingPdb.d.mts +16 -0
  20. package/dist/api/types/BlockingPdb.d.ts +16 -0
  21. package/dist/api/types/BlockingPdb.js +17 -0
  22. package/dist/api/types/BlockingPdb.mjs +1 -0
  23. package/dist/api/types/ChangeWatch.d.mts +27 -0
  24. package/dist/api/types/ChangeWatch.d.ts +27 -0
  25. package/dist/api/types/ChangeWatch.js +36 -0
  26. package/dist/api/types/ChangeWatch.mjs +12 -0
  27. package/dist/api/types/CheckedByKind.d.mts +10 -0
  28. package/dist/api/types/CheckedByKind.d.ts +10 -0
  29. package/dist/api/types/CheckedByKind.js +17 -0
  30. package/dist/api/types/CheckedByKind.mjs +1 -0
  31. package/dist/api/types/CheckedObject.d.mts +37 -0
  32. package/dist/api/types/CheckedObject.d.ts +37 -0
  33. package/dist/api/types/CheckedObject.js +42 -0
  34. package/dist/api/types/CheckedObject.mjs +18 -0
  35. package/dist/api/types/ClaimOwner.d.mts +6 -0
  36. package/dist/api/types/ClaimOwner.d.ts +6 -0
  37. package/dist/api/types/ClaimOwner.js +17 -0
  38. package/dist/api/types/ClaimOwner.mjs +1 -0
  39. package/dist/api/types/ClusterFacets.d.mts +16 -0
  40. package/dist/api/types/ClusterFacets.d.ts +16 -0
  41. package/dist/api/types/ClusterItem.d.mts +38 -1
  42. package/dist/api/types/ClusterItem.d.ts +38 -1
  43. package/dist/api/types/ClusterItem.js +10 -0
  44. package/dist/api/types/ClusterItem.mjs +10 -0
  45. package/dist/api/types/ClusterLevers.d.mts +9 -0
  46. package/dist/api/types/ClusterLevers.d.ts +9 -0
  47. package/dist/api/types/ClusterLevers.js +17 -0
  48. package/dist/api/types/ClusterLevers.mjs +1 -0
  49. package/dist/api/types/ClusterSummary.d.mts +21 -2
  50. package/dist/api/types/ClusterSummary.d.ts +21 -2
  51. package/dist/api/types/ConnectedAccount.d.mts +31 -0
  52. package/dist/api/types/ConnectedAccount.d.ts +31 -0
  53. package/dist/api/types/ConnectedAccount.js +12 -0
  54. package/dist/api/types/ConnectedAccount.mjs +12 -0
  55. package/dist/api/types/ConsolidationBlocker.d.mts +17 -0
  56. package/dist/api/types/ConsolidationBlocker.d.ts +17 -0
  57. package/dist/api/types/ConsolidationChange.d.mts +62 -0
  58. package/dist/api/types/ConsolidationChange.d.ts +62 -0
  59. package/dist/api/types/ConsolidationChange.js +53 -0
  60. package/dist/api/types/ConsolidationChange.mjs +29 -0
  61. package/dist/api/types/ConsolidationChangeDetail.d.mts +65 -0
  62. package/dist/api/types/ConsolidationChangeDetail.d.ts +65 -0
  63. package/dist/api/types/ConsolidationChangeDetail.js +53 -0
  64. package/dist/api/types/ConsolidationChangeDetail.mjs +29 -0
  65. package/dist/api/types/ConsolidationChangeNode.d.mts +34 -0
  66. package/dist/api/types/ConsolidationChangeNode.d.ts +34 -0
  67. package/dist/api/types/ConsolidationChangeNode.js +42 -0
  68. package/dist/api/types/ConsolidationChangeNode.mjs +18 -0
  69. package/dist/api/types/ConsolidationChangeResponse.d.mts +6 -0
  70. package/dist/api/types/ConsolidationChangeResponse.d.ts +6 -0
  71. package/dist/api/types/ConsolidationChangeResponse.js +17 -0
  72. package/dist/api/types/ConsolidationChangeResponse.mjs +1 -0
  73. package/dist/api/types/ConsolidationChangeTotals.d.mts +31 -0
  74. package/dist/api/types/ConsolidationChangeTotals.d.ts +31 -0
  75. package/dist/api/types/ConsolidationChangeTotals.js +17 -0
  76. package/dist/api/types/ConsolidationChangeTotals.mjs +1 -0
  77. package/dist/api/types/ConsolidationChangesData.d.mts +7 -0
  78. package/dist/api/types/ConsolidationChangesData.d.ts +7 -0
  79. package/dist/api/types/ConsolidationChangesData.js +17 -0
  80. package/dist/api/types/ConsolidationChangesData.mjs +1 -0
  81. package/dist/api/types/ConsolidationChangesResponse.d.mts +6 -0
  82. package/dist/api/types/ConsolidationChangesResponse.d.ts +6 -0
  83. package/dist/api/types/ConsolidationChangesResponse.js +17 -0
  84. package/dist/api/types/ConsolidationChangesResponse.mjs +1 -0
  85. package/dist/api/types/ConsolidationLever.d.mts +20 -0
  86. package/dist/api/types/ConsolidationLever.d.ts +20 -0
  87. package/dist/api/types/ConsolidationLever.js +17 -0
  88. package/dist/api/types/ConsolidationLever.mjs +1 -0
  89. package/dist/api/types/ConsolidationNode.d.mts +50 -0
  90. package/dist/api/types/ConsolidationNode.d.ts +50 -0
  91. package/dist/api/types/ConsolidationNode.js +42 -0
  92. package/dist/api/types/ConsolidationNode.mjs +18 -0
  93. package/dist/api/types/ConsolidationNodesData.d.mts +8 -0
  94. package/dist/api/types/ConsolidationNodesData.d.ts +8 -0
  95. package/dist/api/types/ConsolidationNodesData.js +17 -0
  96. package/dist/api/types/ConsolidationNodesData.mjs +1 -0
  97. package/dist/api/types/ConsolidationNodesResponse.d.mts +6 -0
  98. package/dist/api/types/ConsolidationNodesResponse.d.ts +6 -0
  99. package/dist/api/types/ConsolidationNodesResponse.js +17 -0
  100. package/dist/api/types/ConsolidationNodesResponse.mjs +1 -0
  101. package/dist/api/types/FailingShare.d.mts +12 -0
  102. package/dist/api/types/FailingShare.d.ts +12 -0
  103. package/dist/api/types/FailingShare.js +17 -0
  104. package/dist/api/types/FailingShare.mjs +1 -0
  105. package/dist/api/types/FixAmount.d.mts +6 -0
  106. package/dist/api/types/FixAmount.d.ts +6 -0
  107. package/dist/api/types/FixAmount.js +17 -0
  108. package/dist/api/types/FixAmount.mjs +1 -0
  109. package/dist/api/types/FixChange.d.mts +16 -0
  110. package/dist/api/types/FixChange.d.ts +16 -0
  111. package/dist/api/types/FixChange.js +35 -0
  112. package/dist/api/types/FixChange.mjs +11 -0
  113. package/dist/api/types/FixSizedBy.d.mts +20 -0
  114. package/dist/api/types/FixSizedBy.d.ts +20 -0
  115. package/dist/api/types/FixSizedBy.js +36 -0
  116. package/dist/api/types/FixSizedBy.mjs +12 -0
  117. package/dist/api/types/FlagCount.d.mts +4 -0
  118. package/dist/api/types/FlagCount.d.ts +4 -0
  119. package/dist/api/types/FlagCount.js +17 -0
  120. package/dist/api/types/FlagCount.mjs +1 -0
  121. package/dist/api/types/FleetConsolidationChange.d.mts +61 -0
  122. package/dist/api/types/FleetConsolidationChange.d.ts +61 -0
  123. package/dist/api/types/FleetConsolidationChange.js +53 -0
  124. package/dist/api/types/FleetConsolidationChange.mjs +29 -0
  125. package/dist/api/types/FleetConsolidationChangesData.d.mts +8 -0
  126. package/dist/api/types/FleetConsolidationChangesData.d.ts +8 -0
  127. package/dist/api/types/FleetConsolidationChangesData.js +17 -0
  128. package/dist/api/types/FleetConsolidationChangesData.mjs +1 -0
  129. package/dist/api/types/FleetConsolidationChangesResponse.d.mts +6 -0
  130. package/dist/api/types/FleetConsolidationChangesResponse.d.ts +6 -0
  131. package/dist/api/types/FleetConsolidationChangesResponse.js +17 -0
  132. package/dist/api/types/FleetConsolidationChangesResponse.mjs +1 -0
  133. package/dist/api/types/FleetConsolidationLever.d.mts +16 -0
  134. package/dist/api/types/FleetConsolidationLever.d.ts +16 -0
  135. package/dist/api/types/FleetConsolidationLever.js +17 -0
  136. package/dist/api/types/FleetConsolidationLever.mjs +1 -0
  137. package/dist/api/types/FleetConsolidationNode.d.mts +49 -0
  138. package/dist/api/types/FleetConsolidationNode.d.ts +49 -0
  139. package/dist/api/types/FleetConsolidationNode.js +42 -0
  140. package/dist/api/types/FleetConsolidationNode.mjs +18 -0
  141. package/dist/api/types/FleetConsolidationNodesData.d.mts +8 -0
  142. package/dist/api/types/FleetConsolidationNodesData.d.ts +8 -0
  143. package/dist/api/types/FleetConsolidationNodesData.js +17 -0
  144. package/dist/api/types/FleetConsolidationNodesData.mjs +1 -0
  145. package/dist/api/types/FleetConsolidationNodesResponse.d.mts +6 -0
  146. package/dist/api/types/FleetConsolidationNodesResponse.d.ts +6 -0
  147. package/dist/api/types/FleetConsolidationNodesResponse.js +17 -0
  148. package/dist/api/types/FleetConsolidationNodesResponse.mjs +1 -0
  149. package/dist/api/types/FleetLever.d.mts +12 -0
  150. package/dist/api/types/FleetLever.d.ts +12 -0
  151. package/dist/api/types/FleetLever.js +17 -0
  152. package/dist/api/types/FleetLever.mjs +1 -0
  153. package/dist/api/types/FleetLevers.d.mts +6 -0
  154. package/dist/api/types/FleetLevers.d.ts +6 -0
  155. package/dist/api/types/FleetLevers.js +17 -0
  156. package/dist/api/types/FleetLevers.mjs +1 -0
  157. package/dist/api/types/FleetNamespace.d.mts +50 -2
  158. package/dist/api/types/FleetNamespace.d.ts +50 -2
  159. package/dist/api/types/FleetNamespace.js +30 -0
  160. package/dist/api/types/FleetNamespace.mjs +30 -0
  161. package/dist/api/types/FleetRightsizingLever.d.mts +20 -0
  162. package/dist/api/types/FleetRightsizingLever.d.ts +20 -0
  163. package/dist/api/types/FleetRightsizingLever.js +17 -0
  164. package/dist/api/types/FleetRightsizingLever.mjs +1 -0
  165. package/dist/api/types/FleetSummary.d.mts +20 -1
  166. package/dist/api/types/FleetSummary.d.ts +20 -1
  167. package/dist/api/types/FleetVolume.d.mts +5 -1
  168. package/dist/api/types/FleetVolume.d.ts +5 -1
  169. package/dist/api/types/FleetWorkload.d.mts +16 -2
  170. package/dist/api/types/FleetWorkload.d.ts +16 -2
  171. package/dist/api/types/FleetWorkload.js +7 -0
  172. package/dist/api/types/FleetWorkload.mjs +7 -0
  173. package/dist/api/types/ForecastData.d.mts +2 -0
  174. package/dist/api/types/ForecastData.d.ts +2 -0
  175. package/dist/api/types/HeldChange.d.mts +57 -0
  176. package/dist/api/types/HeldChange.d.ts +57 -0
  177. package/dist/api/types/HeldChange.js +53 -0
  178. package/dist/api/types/HeldChange.mjs +29 -0
  179. package/dist/api/types/HeldFixGroup.d.mts +22 -0
  180. package/dist/api/types/HeldFixGroup.d.ts +22 -0
  181. package/dist/api/types/HeldFixGroup.js +37 -0
  182. package/dist/api/types/HeldFixGroup.mjs +13 -0
  183. package/dist/api/types/HeldPool.d.mts +12 -0
  184. package/dist/api/types/HeldPool.d.ts +12 -0
  185. package/dist/api/types/HeldPool.js +17 -0
  186. package/dist/api/types/HeldPool.mjs +1 -0
  187. package/dist/api/types/HeldWindow.d.mts +11 -0
  188. package/dist/api/types/HeldWindow.d.ts +11 -0
  189. package/dist/api/types/HeldWindow.js +17 -0
  190. package/dist/api/types/HeldWindow.mjs +1 -0
  191. package/dist/api/types/Indicator.d.mts +16 -1
  192. package/dist/api/types/Indicator.d.ts +16 -1
  193. package/dist/api/types/Indicator.js +12 -0
  194. package/dist/api/types/Indicator.mjs +12 -0
  195. package/dist/api/types/IndicatorCount.d.mts +1 -0
  196. package/dist/api/types/IndicatorCount.d.ts +1 -0
  197. package/dist/api/types/IndicatorCount.js +1 -0
  198. package/dist/api/types/IndicatorCount.mjs +1 -0
  199. package/dist/api/types/InventoryPlanRow.d.mts +4 -0
  200. package/dist/api/types/InventoryPlanRow.d.ts +4 -0
  201. package/dist/api/types/InventoryReservationRow.d.mts +4 -0
  202. package/dist/api/types/InventoryReservationRow.d.ts +4 -0
  203. package/dist/api/types/JvmChecks.d.mts +1 -1
  204. package/dist/api/types/JvmChecks.d.ts +1 -1
  205. package/dist/api/types/KubernetesRealized.d.mts +17 -0
  206. package/dist/api/types/KubernetesRealized.d.ts +17 -0
  207. package/dist/api/types/KubernetesRealized.js +17 -0
  208. package/dist/api/types/KubernetesRealized.mjs +1 -0
  209. package/dist/api/types/KubernetesRealizedData.d.mts +7 -0
  210. package/dist/api/types/KubernetesRealizedData.d.ts +7 -0
  211. package/dist/api/types/KubernetesRealizedData.js +17 -0
  212. package/dist/api/types/KubernetesRealizedData.mjs +1 -0
  213. package/dist/api/types/KubernetesRealizedResponse.d.mts +6 -0
  214. package/dist/api/types/KubernetesRealizedResponse.d.ts +6 -0
  215. package/dist/api/types/KubernetesRealizedResponse.js +17 -0
  216. package/dist/api/types/KubernetesRealizedResponse.mjs +1 -0
  217. package/dist/api/types/KubernetesUsageSource.d.mts +1 -1
  218. package/dist/api/types/KubernetesUsageSource.d.ts +1 -1
  219. package/dist/api/types/Lever.d.mts +12 -0
  220. package/dist/api/types/Lever.d.ts +12 -0
  221. package/dist/api/types/Lever.js +17 -0
  222. package/dist/api/types/Lever.mjs +1 -0
  223. package/dist/api/types/LeverCount.d.mts +4 -0
  224. package/dist/api/types/LeverCount.d.ts +4 -0
  225. package/dist/api/types/LeverCount.js +17 -0
  226. package/dist/api/types/LeverCount.mjs +1 -0
  227. package/dist/api/types/NamespaceAutomation.d.mts +2 -0
  228. package/dist/api/types/NamespaceAutomation.d.ts +2 -0
  229. package/dist/api/types/NamespaceFacets.d.mts +10 -0
  230. package/dist/api/types/NamespaceFacets.d.ts +10 -0
  231. package/dist/api/types/NamespaceItem.d.mts +50 -2
  232. package/dist/api/types/NamespaceItem.d.ts +50 -2
  233. package/dist/api/types/NamespaceItem.js +30 -0
  234. package/dist/api/types/NamespaceItem.mjs +30 -0
  235. package/dist/api/types/NamespaceReliability.d.mts +1 -1
  236. package/dist/api/types/NamespaceReliability.d.ts +1 -1
  237. package/dist/api/types/NamespaceScope.d.mts +4 -2
  238. package/dist/api/types/NamespaceScope.d.ts +4 -2
  239. package/dist/api/types/NoReadyShare.d.mts +1 -1
  240. package/dist/api/types/NoReadyShare.d.ts +1 -1
  241. package/dist/api/types/NodeFacets.d.mts +2 -2
  242. package/dist/api/types/NodeFacets.d.ts +2 -2
  243. package/dist/api/types/NodeItem.d.mts +5 -3
  244. package/dist/api/types/NodeItem.d.ts +5 -3
  245. package/dist/api/types/OffNamespacesWaste.d.mts +17 -0
  246. package/dist/api/types/OffNamespacesWaste.d.ts +17 -0
  247. package/dist/api/types/OffNamespacesWaste.js +17 -0
  248. package/dist/api/types/OffNamespacesWaste.mjs +1 -0
  249. package/dist/api/types/OrganizationalUnit.d.mts +5 -0
  250. package/dist/api/types/OrganizationalUnit.d.ts +5 -0
  251. package/dist/api/types/OrganizationalUnit.js +17 -0
  252. package/dist/api/types/OrganizationalUnit.mjs +1 -0
  253. package/dist/api/types/OtherCheckedData.d.mts +4 -0
  254. package/dist/api/types/OtherCheckedData.d.ts +4 -0
  255. package/dist/api/types/OtherCheckedData.js +17 -0
  256. package/dist/api/types/OtherCheckedData.mjs +1 -0
  257. package/dist/api/types/OtherCheckedResponse.d.mts +5 -0
  258. package/dist/api/types/OtherCheckedResponse.d.ts +5 -0
  259. package/dist/api/types/OtherCheckedResponse.js +17 -0
  260. package/dist/api/types/OtherCheckedResponse.mjs +1 -0
  261. package/dist/api/types/OtherSavings.d.mts +16 -0
  262. package/dist/api/types/OtherSavings.d.ts +16 -0
  263. package/dist/api/types/OtherSavings.js +17 -0
  264. package/dist/api/types/OtherSavings.mjs +1 -0
  265. package/dist/api/types/OtherSavingsByKind.d.mts +12 -0
  266. package/dist/api/types/OtherSavingsByKind.d.ts +12 -0
  267. package/dist/api/types/OtherSavingsByKind.js +17 -0
  268. package/dist/api/types/OtherSavingsByKind.mjs +1 -0
  269. package/dist/api/types/PendingShare.d.mts +1 -1
  270. package/dist/api/types/PendingShare.d.ts +1 -1
  271. package/dist/api/types/ProviderBreakdownItem.d.mts +4 -0
  272. package/dist/api/types/ProviderBreakdownItem.d.ts +4 -0
  273. package/dist/api/types/RealizedChange.d.mts +28 -0
  274. package/dist/api/types/RealizedChange.d.ts +28 -0
  275. package/dist/api/types/RealizedChange.js +36 -0
  276. package/dist/api/types/RealizedChange.mjs +12 -0
  277. package/dist/api/types/RealizedChanges.d.mts +6 -0
  278. package/dist/api/types/RealizedChanges.d.ts +6 -0
  279. package/dist/api/types/RealizedChanges.js +17 -0
  280. package/dist/api/types/RealizedChanges.mjs +1 -0
  281. package/dist/api/types/RealizedMonth.d.mts +8 -0
  282. package/dist/api/types/RealizedMonth.d.ts +8 -0
  283. package/dist/api/types/RealizedMonth.js +17 -0
  284. package/dist/api/types/RealizedMonth.mjs +1 -0
  285. package/dist/api/types/RecommendationItem.d.mts +2 -0
  286. package/dist/api/types/RecommendationItem.d.ts +2 -0
  287. package/dist/api/types/ReliabilityTotals.d.mts +3 -1
  288. package/dist/api/types/ReliabilityTotals.d.ts +3 -1
  289. package/dist/api/types/ResourceEfficiency.d.mts +1 -1
  290. package/dist/api/types/ResourceEfficiency.d.ts +1 -1
  291. package/dist/api/types/RightsizedContainer.d.mts +2 -0
  292. package/dist/api/types/RightsizedContainer.d.ts +2 -0
  293. package/dist/api/types/RightsizedContainer.js +3 -1
  294. package/dist/api/types/RightsizedContainer.mjs +3 -1
  295. package/dist/api/types/RightsizingFrees.d.mts +12 -0
  296. package/dist/api/types/RightsizingFrees.d.ts +12 -0
  297. package/dist/api/types/RightsizingFrees.js +17 -0
  298. package/dist/api/types/RightsizingFrees.mjs +1 -0
  299. package/dist/api/types/RightsizingLever.d.mts +21 -0
  300. package/dist/api/types/RightsizingLever.d.ts +21 -0
  301. package/dist/api/types/RightsizingLever.js +17 -0
  302. package/dist/api/types/RightsizingLever.mjs +1 -0
  303. package/dist/api/types/SavingsChangeRef.d.mts +5 -0
  304. package/dist/api/types/SavingsChangeRef.d.ts +5 -0
  305. package/dist/api/types/SavingsChangeRef.js +17 -0
  306. package/dist/api/types/SavingsChangeRef.mjs +1 -0
  307. package/dist/api/types/SavingsItem.d.mts +61 -0
  308. package/dist/api/types/SavingsItem.d.ts +61 -0
  309. package/dist/api/types/SavingsItem.js +17 -0
  310. package/dist/api/types/SavingsItem.mjs +1 -0
  311. package/dist/api/types/SavingsMissing.d.mts +21 -0
  312. package/dist/api/types/SavingsMissing.d.ts +21 -0
  313. package/dist/api/types/SavingsMissing.js +17 -0
  314. package/dist/api/types/SavingsMissing.mjs +1 -0
  315. package/dist/api/types/SavingsNode.d.mts +10 -0
  316. package/dist/api/types/SavingsNode.d.ts +10 -0
  317. package/dist/api/types/SavingsNode.js +17 -0
  318. package/dist/api/types/SavingsNode.mjs +1 -0
  319. package/dist/api/types/SavingsNow.d.mts +26 -0
  320. package/dist/api/types/SavingsNow.d.ts +26 -0
  321. package/dist/api/types/SavingsNow.js +38 -0
  322. package/dist/api/types/SavingsNow.mjs +14 -0
  323. package/dist/api/types/SavingsNowResponse.d.mts +6 -0
  324. package/dist/api/types/SavingsNowResponse.d.ts +6 -0
  325. package/dist/api/types/SavingsNowResponse.js +17 -0
  326. package/dist/api/types/SavingsNowResponse.mjs +1 -0
  327. package/dist/api/types/SavingsRequestMove.d.mts +6 -0
  328. package/dist/api/types/SavingsRequestMove.d.ts +6 -0
  329. package/dist/api/types/SavingsRequestMove.js +17 -0
  330. package/dist/api/types/SavingsRequestMove.mjs +1 -0
  331. package/dist/api/types/SavingsSection.d.mts +16 -0
  332. package/dist/api/types/SavingsSection.d.ts +16 -0
  333. package/dist/api/types/SavingsSection.js +37 -0
  334. package/dist/api/types/SavingsSection.mjs +13 -0
  335. package/dist/api/types/SavingsTotals.d.mts +8 -0
  336. package/dist/api/types/SavingsTotals.d.ts +8 -0
  337. package/dist/api/types/SavingsTotals.js +17 -0
  338. package/dist/api/types/SavingsTotals.mjs +1 -0
  339. package/dist/api/types/SizerFlag.d.mts +6 -0
  340. package/dist/api/types/SizerFlag.d.ts +6 -0
  341. package/dist/api/types/SizerFlag.js +17 -0
  342. package/dist/api/types/SizerFlag.mjs +1 -0
  343. package/dist/api/types/SizingPolicies.d.mts +2 -0
  344. package/dist/api/types/SizingPolicies.d.ts +2 -0
  345. package/dist/api/types/SizingPolicyObject.d.mts +14 -0
  346. package/dist/api/types/SizingPolicyObject.d.ts +14 -0
  347. package/dist/api/types/SizingPolicyObject.js +17 -0
  348. package/dist/api/types/SizingPolicyObject.mjs +1 -0
  349. package/dist/api/types/UnmonitoredCluster.d.mts +7 -6
  350. package/dist/api/types/UnmonitoredCluster.d.ts +7 -6
  351. package/dist/api/types/UnmonitoredCluster.js +2 -1
  352. package/dist/api/types/UnmonitoredCluster.mjs +2 -1
  353. package/dist/api/types/UnmonitoredClusterList.d.mts +1 -1
  354. package/dist/api/types/UnmonitoredClusterList.d.ts +1 -1
  355. package/dist/api/types/UnpricedFindings.d.mts +12 -0
  356. package/dist/api/types/UnpricedFindings.d.ts +12 -0
  357. package/dist/api/types/UnpricedFindings.js +17 -0
  358. package/dist/api/types/UnpricedFindings.mjs +1 -0
  359. package/dist/api/types/UnreportedInClusters.d.mts +6 -0
  360. package/dist/api/types/UnreportedInClusters.d.ts +6 -0
  361. package/dist/api/types/UnreportedInClusters.js +17 -0
  362. package/dist/api/types/UnreportedInClusters.mjs +1 -0
  363. package/dist/api/types/VolumeDetail.d.mts +10 -0
  364. package/dist/api/types/VolumeDetail.d.ts +10 -0
  365. package/dist/api/types/VolumeItem.d.mts +5 -1
  366. package/dist/api/types/VolumeItem.d.ts +5 -1
  367. package/dist/api/types/WatchPoolSignals.d.mts +7 -0
  368. package/dist/api/types/WatchPoolSignals.d.ts +7 -0
  369. package/dist/api/types/WatchPoolSignals.js +17 -0
  370. package/dist/api/types/WatchPoolSignals.mjs +1 -0
  371. package/dist/api/types/WatchWorkloadSignals.d.mts +8 -0
  372. package/dist/api/types/WatchWorkloadSignals.d.ts +8 -0
  373. package/dist/api/types/WatchWorkloadSignals.js +17 -0
  374. package/dist/api/types/WatchWorkloadSignals.mjs +1 -0
  375. package/dist/api/types/WorkloadDetail.d.mts +4 -0
  376. package/dist/api/types/WorkloadDetail.d.ts +4 -0
  377. package/dist/api/types/WorkloadFacets.d.mts +1 -1
  378. package/dist/api/types/WorkloadFacets.d.ts +1 -1
  379. package/dist/api/types/WorkloadFix.d.mts +19 -0
  380. package/dist/api/types/WorkloadFix.d.ts +19 -0
  381. package/dist/api/types/WorkloadFix.js +17 -0
  382. package/dist/api/types/WorkloadFix.mjs +1 -0
  383. package/dist/api/types/WorkloadItem.d.mts +32 -2
  384. package/dist/api/types/WorkloadItem.d.ts +32 -2
  385. package/dist/api/types/WorkloadItem.js +20 -0
  386. package/dist/api/types/WorkloadItem.mjs +20 -0
  387. package/dist/api/types/WorkloadListItem.d.mts +32 -2
  388. package/dist/api/types/WorkloadListItem.d.ts +32 -2
  389. package/dist/api/types/WorkloadListItem.js +20 -0
  390. package/dist/api/types/WorkloadListItem.mjs +20 -0
  391. package/dist/api/types/WorkloadScaler.d.mts +19 -0
  392. package/dist/api/types/WorkloadScaler.d.ts +19 -0
  393. package/dist/api/types/WorkloadScaler.js +35 -0
  394. package/dist/api/types/WorkloadScaler.mjs +11 -0
  395. package/dist/api/types/index.d.mts +70 -0
  396. package/dist/api/types/index.d.ts +70 -0
  397. package/dist/api/types/index.js +140 -0
  398. package/dist/api/types/index.mjs +70 -0
  399. package/dist/version.d.mts +1 -1
  400. package/dist/version.d.ts +1 -1
  401. package/dist/version.js +1 -1
  402. package/dist/version.mjs +1 -1
  403. package/package.json +1 -1
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var RealizedChange_exports = {};
20
+ __export(RealizedChange_exports, {
21
+ RealizedChange: () => RealizedChange
22
+ });
23
+ module.exports = __toCommonJS(RealizedChange_exports);
24
+ var RealizedChange;
25
+ ((RealizedChange2) => {
26
+ RealizedChange2.Kind = {
27
+ Workload: "workload",
28
+ NodePool: "node_pool",
29
+ Volume: "volume"
30
+ };
31
+ })(RealizedChange || (RealizedChange = {}));
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ RealizedChange
35
+ });
36
+ //# sourceMappingURL=RealizedChange.js.map
@@ -0,0 +1,12 @@
1
+ var RealizedChange;
2
+ ((RealizedChange2) => {
3
+ RealizedChange2.Kind = {
4
+ Workload: "workload",
5
+ NodePool: "node_pool",
6
+ Volume: "volume"
7
+ };
8
+ })(RealizedChange || (RealizedChange = {}));
9
+ export {
10
+ RealizedChange
11
+ };
12
+ //# sourceMappingURL=RealizedChange.mjs.map
@@ -0,0 +1,6 @@
1
+ export interface RealizedChanges {
2
+ /** Verified changes that went out as a pull request */
3
+ pull_request: number;
4
+ /** The automation's changes: null until they are measured */
5
+ automation?: (number | null) | undefined;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface RealizedChanges {
2
+ /** Verified changes that went out as a pull request */
3
+ pull_request: number;
4
+ /** The automation's changes: null until they are measured */
5
+ automation?: (number | null) | undefined;
6
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var RealizedChanges_exports = {};
16
+ module.exports = __toCommonJS(RealizedChanges_exports);
17
+ //# sourceMappingURL=RealizedChanges.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=RealizedChanges.mjs.map
@@ -0,0 +1,8 @@
1
+ export interface RealizedMonth {
2
+ /** YYYY-MM */
3
+ month: string;
4
+ /** What the pull request changes saved in the month, each for the days it ran; partial now */
5
+ pull_request?: (number | null) | undefined;
6
+ /** Null until the automation's changes are measured */
7
+ automation?: (number | null) | undefined;
8
+ }
@@ -0,0 +1,8 @@
1
+ export interface RealizedMonth {
2
+ /** YYYY-MM */
3
+ month: string;
4
+ /** What the pull request changes saved in the month, each for the days it ran; partial now */
5
+ pull_request?: (number | null) | undefined;
6
+ /** Null until the automation's changes are measured */
7
+ automation?: (number | null) | undefined;
8
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var RealizedMonth_exports = {};
16
+ module.exports = __toCommonJS(RealizedMonth_exports);
17
+ //# sourceMappingURL=RealizedMonth.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=RealizedMonth.mjs.map
@@ -14,6 +14,8 @@ export interface RecommendationItem {
14
14
  savings_percentage: number;
15
15
  /** Display status. 'unavailable' means the recommendation is outside the tenant's evaluation allowlist, so its implementation detail is withheld */
16
16
  status?: (string | null) | undefined;
17
+ /** When a scan stopped finding this savings and retired it, ISO 8601. Retired savings read status unavailable, as a savings outside the plan does; this tells them apart. Null when no scan retired it, including one retired before the date was recorded */
18
+ retired_at?: (string | null) | undefined;
17
19
  /** Status the person reads, served once so the dashboard, the CLI and MCP all print the same word. Derived from status, saving_acceptance and execution_request_status; a request waiting on an approver outranks everything else. Prefer this over status for display */
18
20
  display_status?: RecommendationItem.DisplayStatus | undefined;
19
21
  actions?: (LevelFour.RecommendationActions | null) | undefined;
@@ -14,6 +14,8 @@ export interface RecommendationItem {
14
14
  savings_percentage: number;
15
15
  /** Display status. 'unavailable' means the recommendation is outside the tenant's evaluation allowlist, so its implementation detail is withheld */
16
16
  status?: (string | null) | undefined;
17
+ /** When a scan stopped finding this savings and retired it, ISO 8601. Retired savings read status unavailable, as a savings outside the plan does; this tells them apart. Null when no scan retired it, including one retired before the date was recorded */
18
+ retired_at?: (string | null) | undefined;
17
19
  /** Status the person reads, served once so the dashboard, the CLI and MCP all print the same word. Derived from status, saving_acceptance and execution_request_status; a request waiting on an approver outranks everything else. Prefer this over status for display */
18
20
  display_status?: RecommendationItem.DisplayStatus | undefined;
19
21
  actions?: (LevelFour.RecommendationActions | null) | undefined;
@@ -14,7 +14,7 @@ export interface ReliabilityTotals {
14
14
  /** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless every day of the window watched measured it, so it never counts part of the window */
15
15
  drained_pods: number | null;
16
16
  pending_pod_hours: number;
17
- /** Current workloads at high risk: an OOM kill, an eviction, no ready replica in two batches in a row, or a crash loop. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
17
+ /** Current workloads at high risk, on what holds now: an OOM kill or an eviction in the window's last two days, a container restarting at a crash loop's pace in them, or no ready replica in two batches in a row. Medium and low never count. An ephemeral one, a pull-request or branch environment, counts only with include_ephemeral */
18
18
  workloads_at_risk: number;
19
19
  /** Current containers whose pods run, or would run, with no CPU or no memory request */
20
20
  containers_without_requests: number;
@@ -22,6 +22,8 @@ export interface ReliabilityTotals {
22
22
  containers_without_limits: number;
23
23
  /** What the workloads with no ready replica make of the totals */
24
24
  no_ready_replica: LevelFour.NoReadyShare;
25
+ /** What the workloads that fail now, in a crash loop or with no ready replica, make of the totals */
26
+ failing_now: LevelFour.FailingShare;
25
27
  /** What the workloads with pods Pending now make of the totals */
26
28
  pods_pending: LevelFour.PendingShare;
27
29
  }
@@ -14,7 +14,7 @@ export interface ReliabilityTotals {
14
14
  /** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless every day of the window watched measured it, so it never counts part of the window */
15
15
  drained_pods: number | null;
16
16
  pending_pod_hours: number;
17
- /** Current workloads at high risk: an OOM kill, an eviction, no ready replica in two batches in a row, or a crash loop. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
17
+ /** Current workloads at high risk, on what holds now: an OOM kill or an eviction in the window's last two days, a container restarting at a crash loop's pace in them, or no ready replica in two batches in a row. Medium and low never count. An ephemeral one, a pull-request or branch environment, counts only with include_ephemeral */
18
18
  workloads_at_risk: number;
19
19
  /** Current containers whose pods run, or would run, with no CPU or no memory request */
20
20
  containers_without_requests: number;
@@ -22,6 +22,8 @@ export interface ReliabilityTotals {
22
22
  containers_without_limits: number;
23
23
  /** What the workloads with no ready replica make of the totals */
24
24
  no_ready_replica: LevelFour.NoReadyShare;
25
+ /** What the workloads that fail now, in a crash loop or with no ready replica, make of the totals */
26
+ failing_now: LevelFour.FailingShare;
25
27
  /** What the workloads with pods Pending now make of the totals */
26
28
  pods_pending: LevelFour.PendingShare;
27
29
  }
@@ -10,7 +10,7 @@ export interface ResourceEfficiency {
10
10
  use_measured?: (LevelFour.UseMeasured | null) | undefined;
11
11
  /** (provisioned - requested) / provisioned */
12
12
  overprovisioned_pct?: (number | null) | undefined;
13
- /** For storage, provisioned alone, at every scope: the claims' bill per provisioned GiB-hour, over the claims the bill priced and the agent reported every hour of that day. The bill charges a volume by its capacity, so requested and used are null */
13
+ /** For storage, over the claims the bill priced and the agent reported every hour of that day: the claims' bill per provisioned GiB-hour at every scope, per claimed GiB-hour, and per used GiB-hour over the claims the kubelet read, their bill over their use; used is null while no such claim was read */
14
14
  unit_cost: LevelFour.UnitCosts;
15
15
  /** The same on the net basis */
16
16
  unit_cost_net: LevelFour.UnitCosts;
@@ -10,7 +10,7 @@ export interface ResourceEfficiency {
10
10
  use_measured?: (LevelFour.UseMeasured | null) | undefined;
11
11
  /** (provisioned - requested) / provisioned */
12
12
  overprovisioned_pct?: (number | null) | undefined;
13
- /** For storage, provisioned alone, at every scope: the claims' bill per provisioned GiB-hour, over the claims the bill priced and the agent reported every hour of that day. The bill charges a volume by its capacity, so requested and used are null */
13
+ /** For storage, over the claims the bill priced and the agent reported every hour of that day: the claims' bill per provisioned GiB-hour at every scope, per claimed GiB-hour, and per used GiB-hour over the claims the kubelet read, their bill over their use; used is null while no such claim was read */
14
14
  unit_cost: LevelFour.UnitCosts;
15
15
  /** The same on the net basis */
16
16
  unit_cost_net: LevelFour.UnitCosts;
@@ -102,6 +102,7 @@ export declare namespace RightsizedContainer {
102
102
  readonly JvmGcThreshold: "jvm_gc_threshold";
103
103
  readonly BelowMinWaste: "below_min_waste";
104
104
  readonly NothingToMove: "nothing_to_move";
105
+ readonly AutoModeManaged: "auto_mode_managed";
105
106
  };
106
107
  type HeldReason = (typeof HeldReason)[keyof typeof HeldReason];
107
108
  const HeldByComponent: {
@@ -114,6 +115,7 @@ export declare namespace RightsizedContainer {
114
115
  readonly StepTooLarge: "step_too_large";
115
116
  readonly NotAnIncrease: "not_an_increase";
116
117
  readonly VpaManaged: "vpa_managed";
118
+ readonly AutoModeManaged: "auto_mode_managed";
117
119
  readonly StaleStep: "stale_step";
118
120
  readonly ConcurrencyCap: "concurrency_cap";
119
121
  readonly StepInterval: "step_interval";
@@ -102,6 +102,7 @@ export declare namespace RightsizedContainer {
102
102
  readonly JvmGcThreshold: "jvm_gc_threshold";
103
103
  readonly BelowMinWaste: "below_min_waste";
104
104
  readonly NothingToMove: "nothing_to_move";
105
+ readonly AutoModeManaged: "auto_mode_managed";
105
106
  };
106
107
  type HeldReason = (typeof HeldReason)[keyof typeof HeldReason];
107
108
  const HeldByComponent: {
@@ -114,6 +115,7 @@ export declare namespace RightsizedContainer {
114
115
  readonly StepTooLarge: "step_too_large";
115
116
  readonly NotAnIncrease: "not_an_increase";
116
117
  readonly VpaManaged: "vpa_managed";
118
+ readonly AutoModeManaged: "auto_mode_managed";
117
119
  readonly StaleStep: "stale_step";
118
120
  readonly ConcurrencyCap: "concurrency_cap";
119
121
  readonly StepInterval: "step_interval";
@@ -61,7 +61,8 @@ var RightsizedContainer;
61
61
  Learning: "learning",
62
62
  JvmGcThreshold: "jvm_gc_threshold",
63
63
  BelowMinWaste: "below_min_waste",
64
- NothingToMove: "nothing_to_move"
64
+ NothingToMove: "nothing_to_move",
65
+ AutoModeManaged: "auto_mode_managed"
65
66
  };
66
67
  RightsizedContainer2.HeldByComponent = {
67
68
  AutomationDisabled: "automation_disabled",
@@ -73,6 +74,7 @@ var RightsizedContainer;
73
74
  StepTooLarge: "step_too_large",
74
75
  NotAnIncrease: "not_an_increase",
75
76
  VpaManaged: "vpa_managed",
77
+ AutoModeManaged: "auto_mode_managed",
76
78
  StaleStep: "stale_step",
77
79
  ConcurrencyCap: "concurrency_cap",
78
80
  StepInterval: "step_interval",
@@ -38,7 +38,8 @@ var RightsizedContainer;
38
38
  Learning: "learning",
39
39
  JvmGcThreshold: "jvm_gc_threshold",
40
40
  BelowMinWaste: "below_min_waste",
41
- NothingToMove: "nothing_to_move"
41
+ NothingToMove: "nothing_to_move",
42
+ AutoModeManaged: "auto_mode_managed"
42
43
  };
43
44
  RightsizedContainer2.HeldByComponent = {
44
45
  AutomationDisabled: "automation_disabled",
@@ -50,6 +51,7 @@ var RightsizedContainer;
50
51
  StepTooLarge: "step_too_large",
51
52
  NotAnIncrease: "not_an_increase",
52
53
  VpaManaged: "vpa_managed",
54
+ AutoModeManaged: "auto_mode_managed",
53
55
  StaleStep: "stale_step",
54
56
  ConcurrencyCap: "concurrency_cap",
55
57
  StepInterval: "step_interval",
@@ -0,0 +1,12 @@
1
+ /**
2
+ * What sizing every workload would free on the nodes, measured only: in a namespace nobody turned on, LevelFour
3
+ * makes no recommendation, and this total is all it shows (levelfour-k8s-recommendations card #90).
4
+ */
5
+ export interface RightsizingFrees {
6
+ /** Whole nodes the pools would stop needing with every workload at its target */
7
+ nodes: number;
8
+ /** What those nodes cost a month at the margin; null while a pool's nodes are unpriced */
9
+ monthly?: (number | null) | undefined;
10
+ /** monthly on the net basis */
11
+ monthly_net?: (number | null) | undefined;
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * What sizing every workload would free on the nodes, measured only: in a namespace nobody turned on, LevelFour
3
+ * makes no recommendation, and this total is all it shows (levelfour-k8s-recommendations card #90).
4
+ */
5
+ export interface RightsizingFrees {
6
+ /** Whole nodes the pools would stop needing with every workload at its target */
7
+ nodes: number;
8
+ /** What those nodes cost a month at the margin; null while a pool's nodes are unpriced */
9
+ monthly?: (number | null) | undefined;
10
+ /** monthly on the net basis */
11
+ monthly_net?: (number | null) | undefined;
12
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var RightsizingFrees_exports = {};
16
+ module.exports = __toCommonJS(RightsizingFrees_exports);
17
+ //# sourceMappingURL=RightsizingFrees.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=RightsizingFrees.mjs.map
@@ -0,0 +1,21 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ /**
3
+ * Workload rightsizing: on as the cluster's own automation is (dashboard#1699), never by whether a namespace acts
4
+ * right now.
5
+ */
6
+ export interface RightsizingLever {
7
+ /** Whether it is on; null when it cannot be told */
8
+ on?: (boolean | null) | undefined;
9
+ /** What it yields a month; null when nothing measures it yet */
10
+ monthly?: (number | null) | undefined;
11
+ /** Of what it can act on, how much it acts on now */
12
+ count?: (LevelFour.LeverCount | null) | undefined;
13
+ /** The namespaces set to Automated (recommendations on, and turned on or taken over), whether or not they act; null with no automation component */
14
+ set?: (number | null) | undefined;
15
+ /** Of the namespaces set to Automated, the ones that do not act, and why */
16
+ blocked?: LevelFour.BlockedNamespace[] | undefined;
17
+ /** Whether the automation component reported in the last 5 minutes; null with none installed. While it is false, on is false too */
18
+ reporting?: (boolean | null) | undefined;
19
+ /** When the automation component last reported */
20
+ last_seen_at?: (string | null) | undefined;
21
+ }
@@ -0,0 +1,21 @@
1
+ import type * as LevelFour from "../index.js";
2
+ /**
3
+ * Workload rightsizing: on as the cluster's own automation is (dashboard#1699), never by whether a namespace acts
4
+ * right now.
5
+ */
6
+ export interface RightsizingLever {
7
+ /** Whether it is on; null when it cannot be told */
8
+ on?: (boolean | null) | undefined;
9
+ /** What it yields a month; null when nothing measures it yet */
10
+ monthly?: (number | null) | undefined;
11
+ /** Of what it can act on, how much it acts on now */
12
+ count?: (LevelFour.LeverCount | null) | undefined;
13
+ /** The namespaces set to Automated (recommendations on, and turned on or taken over), whether or not they act; null with no automation component */
14
+ set?: (number | null) | undefined;
15
+ /** Of the namespaces set to Automated, the ones that do not act, and why */
16
+ blocked?: LevelFour.BlockedNamespace[] | undefined;
17
+ /** Whether the automation component reported in the last 5 minutes; null with none installed. While it is false, on is false too */
18
+ reporting?: (boolean | null) | undefined;
19
+ /** When the automation component last reported */
20
+ last_seen_at?: (string | null) | undefined;
21
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var RightsizingLever_exports = {};
16
+ module.exports = __toCommonJS(RightsizingLever_exports);
17
+ //# sourceMappingURL=RightsizingLever.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=RightsizingLever.mjs.map
@@ -0,0 +1,5 @@
1
+ export interface SavingsChangeRef {
2
+ namespace: string;
3
+ kind: string;
4
+ name: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ export interface SavingsChangeRef {
2
+ namespace: string;
3
+ kind: string;
4
+ name: string;
5
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var SavingsChangeRef_exports = {};
16
+ module.exports = __toCommonJS(SavingsChangeRef_exports);
17
+ //# sourceMappingURL=SavingsChangeRef.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=SavingsChangeRef.mjs.map
@@ -0,0 +1,61 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ /**
3
+ * One change that saves money now. The fields a section does not use are null.
4
+ */
5
+ export interface SavingsItem {
6
+ /** The recommendation's id, or cluster_id/namespace/kind/name, or cluster_id/node/name */
7
+ id: string;
8
+ cluster_id: string;
9
+ cluster_name: string;
10
+ /** What found it: the worker's detector for a published recommendation (container_rightsizing, idle_workload, orphaned_pvc and so on, recommendation when none is known), or no_ready_replica for a workload read live that wants replicas and has had none ready for 24 hours */
11
+ source: string;
12
+ recommendation_id?: (string | null) | undefined;
13
+ /** The recommendation's status */
14
+ status?: (string | null) | undefined;
15
+ /** What it saves a month, counted once across the sections */
16
+ monthly?: (number | null) | undefined;
17
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
18
+ monthly_net?: (number | null) | undefined;
19
+ namespace?: (string | null) | undefined;
20
+ kind?: (string | null) | undefined;
21
+ name?: (string | null) | undefined;
22
+ /** rightsizing: the container it resizes */
23
+ container?: (string | null) | undefined;
24
+ /** rightsizing: the CPU request from and to; null if left */
25
+ cpu?: (LevelFour.SavingsRequestMove | null) | undefined;
26
+ /** rightsizing: the memory request from and to */
27
+ memory?: (LevelFour.SavingsRequestMove | null) | undefined;
28
+ /** scale_to_zero: the replicas its workload wants */
29
+ replicas?: (number | null) | undefined;
30
+ ready_replicas?: (number | null) | undefined;
31
+ /** scale_to_zero: since when none has been ready */
32
+ zero_ready_since?: (string | null) | undefined;
33
+ pdbs?: LevelFour.BlockingPdb[] | undefined;
34
+ scaler?: (LevelFour.WorkloadScaler | null) | undefined;
35
+ /** scale_to_zero: the nodes only it holds that would go now, whose cost its monthly carries in place of its pods on them */
36
+ frees?: LevelFour.SavingsNode[] | undefined;
37
+ /** scale_to_zero: the kubectl line, null for a name Kubernetes refuses */
38
+ command?: (string | null) | undefined;
39
+ /** scale_to_zero: the same change as a manifest fragment */
40
+ yaml?: (string | null) | undefined;
41
+ /** nodes: the node, for one only stopped workloads hold */
42
+ node?: (string | null) | undefined;
43
+ node_pool?: (string | null) | undefined;
44
+ instance_type?: (string | null) | undefined;
45
+ capacity_type?: (string | null) | undefined;
46
+ zone?: (string | null) | undefined;
47
+ node_monthly_cost?: (number | null) | undefined;
48
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
49
+ node_monthly_cost_net?: (number | null) | undefined;
50
+ /** nodes: the stopped workloads holding it, every one to scale to zero */
51
+ changes?: LevelFour.SavingsChangeRef[] | undefined;
52
+ /** volumes: the claim's capacity */
53
+ capacity_bytes?: (number | null) | undefined;
54
+ storage_class?: (string | null) | undefined;
55
+ /** volumes: the storage class's, Delete or Retain */
56
+ reclaim_policy?: (string | null) | undefined;
57
+ /** volumes: when the claim was made */
58
+ created_at?: (string | null) | undefined;
59
+ /** Why monthly is null, when it is */
60
+ unpriced_reason?: (string | null) | undefined;
61
+ }
@@ -0,0 +1,61 @@
1
+ import type * as LevelFour from "../index.js";
2
+ /**
3
+ * One change that saves money now. The fields a section does not use are null.
4
+ */
5
+ export interface SavingsItem {
6
+ /** The recommendation's id, or cluster_id/namespace/kind/name, or cluster_id/node/name */
7
+ id: string;
8
+ cluster_id: string;
9
+ cluster_name: string;
10
+ /** What found it: the worker's detector for a published recommendation (container_rightsizing, idle_workload, orphaned_pvc and so on, recommendation when none is known), or no_ready_replica for a workload read live that wants replicas and has had none ready for 24 hours */
11
+ source: string;
12
+ recommendation_id?: (string | null) | undefined;
13
+ /** The recommendation's status */
14
+ status?: (string | null) | undefined;
15
+ /** What it saves a month, counted once across the sections */
16
+ monthly?: (number | null) | undefined;
17
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
18
+ monthly_net?: (number | null) | undefined;
19
+ namespace?: (string | null) | undefined;
20
+ kind?: (string | null) | undefined;
21
+ name?: (string | null) | undefined;
22
+ /** rightsizing: the container it resizes */
23
+ container?: (string | null) | undefined;
24
+ /** rightsizing: the CPU request from and to; null if left */
25
+ cpu?: (LevelFour.SavingsRequestMove | null) | undefined;
26
+ /** rightsizing: the memory request from and to */
27
+ memory?: (LevelFour.SavingsRequestMove | null) | undefined;
28
+ /** scale_to_zero: the replicas its workload wants */
29
+ replicas?: (number | null) | undefined;
30
+ ready_replicas?: (number | null) | undefined;
31
+ /** scale_to_zero: since when none has been ready */
32
+ zero_ready_since?: (string | null) | undefined;
33
+ pdbs?: LevelFour.BlockingPdb[] | undefined;
34
+ scaler?: (LevelFour.WorkloadScaler | null) | undefined;
35
+ /** scale_to_zero: the nodes only it holds that would go now, whose cost its monthly carries in place of its pods on them */
36
+ frees?: LevelFour.SavingsNode[] | undefined;
37
+ /** scale_to_zero: the kubectl line, null for a name Kubernetes refuses */
38
+ command?: (string | null) | undefined;
39
+ /** scale_to_zero: the same change as a manifest fragment */
40
+ yaml?: (string | null) | undefined;
41
+ /** nodes: the node, for one only stopped workloads hold */
42
+ node?: (string | null) | undefined;
43
+ node_pool?: (string | null) | undefined;
44
+ instance_type?: (string | null) | undefined;
45
+ capacity_type?: (string | null) | undefined;
46
+ zone?: (string | null) | undefined;
47
+ node_monthly_cost?: (number | null) | undefined;
48
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
49
+ node_monthly_cost_net?: (number | null) | undefined;
50
+ /** nodes: the stopped workloads holding it, every one to scale to zero */
51
+ changes?: LevelFour.SavingsChangeRef[] | undefined;
52
+ /** volumes: the claim's capacity */
53
+ capacity_bytes?: (number | null) | undefined;
54
+ storage_class?: (string | null) | undefined;
55
+ /** volumes: the storage class's, Delete or Retain */
56
+ reclaim_policy?: (string | null) | undefined;
57
+ /** volumes: when the claim was made */
58
+ created_at?: (string | null) | undefined;
59
+ /** Why monthly is null, when it is */
60
+ unpriced_reason?: (string | null) | undefined;
61
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var SavingsItem_exports = {};
16
+ module.exports = __toCommonJS(SavingsItem_exports);
17
+ //# sourceMappingURL=SavingsItem.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=SavingsItem.mjs.map
@@ -0,0 +1,21 @@
1
+ /**
2
+ * What the total leaves out, for the line under it.
3
+ */
4
+ export interface SavingsMissing {
5
+ /** Namespaces whose recommendations are off */
6
+ namespaces_not_analyzed?: number | undefined;
7
+ /** totals.in_review */
8
+ candidates_in_review?: number | undefined;
9
+ /** One cluster's agent version; null for the fleet */
10
+ agent_version?: (string | null) | undefined;
11
+ /** The agent version to upgrade to, when that cluster is behind */
12
+ agent_needs?: (string | null) | undefined;
13
+ /** The clusters whose agent is older than agent_needs would be */
14
+ clusters_behind?: number | undefined;
15
+ /** Orphaned claims whose disk the bill has not named for 3 days: it no longer exists, or lives where no bill reaches, so the claim is no orphan to delete and is left out of volumes */
16
+ volumes_off_bill?: number | undefined;
17
+ /** The latest day the bill named one of those disks; null when it never named any */
18
+ volumes_off_bill_since?: (string | null) | undefined;
19
+ /** Stopped workloads left out of scale_to_zero because stopping one saves nothing: the bill priced none of their pods in the last 7 days and none alone holds a node that would go. Their pods still hold their nodes, so a node only stopped workloads hold, these among them, stays in nodes */
20
+ stopped_unpriced?: number | undefined;
21
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * What the total leaves out, for the line under it.
3
+ */
4
+ export interface SavingsMissing {
5
+ /** Namespaces whose recommendations are off */
6
+ namespaces_not_analyzed?: number | undefined;
7
+ /** totals.in_review */
8
+ candidates_in_review?: number | undefined;
9
+ /** One cluster's agent version; null for the fleet */
10
+ agent_version?: (string | null) | undefined;
11
+ /** The agent version to upgrade to, when that cluster is behind */
12
+ agent_needs?: (string | null) | undefined;
13
+ /** The clusters whose agent is older than agent_needs would be */
14
+ clusters_behind?: number | undefined;
15
+ /** Orphaned claims whose disk the bill has not named for 3 days: it no longer exists, or lives where no bill reaches, so the claim is no orphan to delete and is left out of volumes */
16
+ volumes_off_bill?: number | undefined;
17
+ /** The latest day the bill named one of those disks; null when it never named any */
18
+ volumes_off_bill_since?: (string | null) | undefined;
19
+ /** Stopped workloads left out of scale_to_zero because stopping one saves nothing: the bill priced none of their pods in the last 7 days and none alone holds a node that would go. Their pods still hold their nodes, so a node only stopped workloads hold, these among them, stays in nodes */
20
+ stopped_unpriced?: number | undefined;
21
+ }