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
@@ -2,8 +2,10 @@ import type * as LevelFour from "../index.js";
2
2
  export interface FleetVolume {
3
3
  namespace: string;
4
4
  name: string;
5
- /** No longer in the cluster, listed for its cost in the window */
5
+ /** No longer in the cluster: a later read of its list left it out. Listed for its cost in the window. False for a row whose list went unreported (unreported_since) */
6
6
  removed?: boolean | undefined;
7
+ /** Set when the cluster's latest batch did not list the row because the agent could not read its list for more than 24 hours (it sent the list as null): the time of the last batch that read the list, which listed the row. Whether the row is still in the cluster is unknown, so removed is false and the list counts it as current; what only the latest batch can say (a node's ready and status, a workload's risk rating) reads it as not current. Null for a row the latest batch listed and for a removed one */
8
+ unreported_since?: (string | null) | undefined;
7
9
  /** Gone from the cluster yet still billed: its volume outlived it */
8
10
  released?: boolean | undefined;
9
11
  storage_class?: (string | null) | undefined;
@@ -30,6 +32,8 @@ export interface FleetVolume {
30
32
  period_cost?: (number | null) | undefined;
31
33
  /** Why period_cost is null: not_on_bill when the bill of the cluster's account arrives over the window and no line of it names the volume, no_bill when no bill for that account arrives (none connected, not there yet, or a cloud whose bill this does not read for volumes) */
32
34
  cost_unknown_reason?: (FleetVolume.CostUnknownReason | null) | undefined;
35
+ /** Why the worker could not price the claim it found, from its open candidate: not_on_bill when the bill names no line for the volume while it prices the cluster's other claims; null otherwise (api#2074) */
36
+ unpriced_reason?: ("not_on_bill" | null) | undefined;
33
37
  /** While period_cost is null, the last day any bill line named the volume; null if none ever */
34
38
  last_billed_on?: (string | null) | undefined;
35
39
  /** While period_cost is null, what the tenant's own bill charged a GiB-month of the claim's volume type in the cluster's region over the window; null when the bill charged nothing for that type there. Never a list price */
@@ -5,9 +5,11 @@ export interface FleetWorkload {
5
5
  namespace: string;
6
6
  kind: string;
7
7
  name: string;
8
- /** No longer in the cluster, listed for its cost in the window */
8
+ /** No longer in the cluster: a later read of its list left it out. Listed for its cost in the window. False for a row whose list went unreported (unreported_since) */
9
9
  removed?: boolean | undefined;
10
- /** A pull-request environment, which lives a few days: a label channel, or one ending in /channel, valued pr-<number>. The counts of workloads at risk leave it out unless the request passes include_ephemeral */
10
+ /** Set when the cluster's latest batch did not list the row because the agent could not read its list for more than 24 hours (it sent the list as null): the time of the last batch that read the list, which listed the row. Whether the row is still in the cluster is unknown, so removed is false and the list counts it as current; what only the latest batch can say (a node's ready and status, a workload's risk rating) reads it as not current. Null for a row the latest batch listed and for a removed one */
11
+ unreported_since?: (string | null) | undefined;
12
+ /** A pull-request or branch environment, which lives a few days: a label channel, or one ending in /channel, naming a pull request (pr-<number>) or a branch rather than a channel that lasts (main, master, prod, staging and the like, also as refs-heads-<name>). The counts of workloads at risk leave it out unless the request passes include_ephemeral */
11
13
  ephemeral?: boolean | undefined;
12
14
  /** As the cluster's workloads list reads it */
13
15
  cost?: (number | null) | undefined;
@@ -26,6 +28,10 @@ export interface FleetWorkload {
26
28
  reliability: LevelFour.ReliabilityCounts;
27
29
  /** Its pods no node took yet at its cluster's latest snapshot, the count the cluster summary's pods.pending and the fleet's pods_waiting add up */
28
30
  pods_waiting?: number | undefined;
31
+ /** The published raises that stop its risk, the riskiest first; none when nothing is published */
32
+ fixes?: LevelFour.WorkloadFix[] | undefined;
33
+ /** Where its fix stands: published (in fixes); in_review, a raise computed and not published yet; namespace_off, its namespace makes no recommendations until someone turns them on; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label turns them off; none otherwise */
34
+ fix_state?: (FleetWorkload.FixState | null) | undefined;
29
35
  }
30
36
  export declare namespace FleetWorkload {
31
37
  const CostUnknownReason: {
@@ -41,4 +47,12 @@ export declare namespace FleetWorkload {
41
47
  readonly None: "none";
42
48
  };
43
49
  type Risk = (typeof Risk)[keyof typeof Risk];
50
+ const FixState: {
51
+ readonly Published: "published";
52
+ readonly InReview: "in_review";
53
+ readonly NamespaceOff: "namespace_off";
54
+ readonly NamespaceOffByLabel: "namespace_off_by_label";
55
+ readonly None: "none";
56
+ };
57
+ type FixState = (typeof FixState)[keyof typeof FixState];
44
58
  }
@@ -5,9 +5,11 @@ export interface FleetWorkload {
5
5
  namespace: string;
6
6
  kind: string;
7
7
  name: string;
8
- /** No longer in the cluster, listed for its cost in the window */
8
+ /** No longer in the cluster: a later read of its list left it out. Listed for its cost in the window. False for a row whose list went unreported (unreported_since) */
9
9
  removed?: boolean | undefined;
10
- /** A pull-request environment, which lives a few days: a label channel, or one ending in /channel, valued pr-<number>. The counts of workloads at risk leave it out unless the request passes include_ephemeral */
10
+ /** Set when the cluster's latest batch did not list the row because the agent could not read its list for more than 24 hours (it sent the list as null): the time of the last batch that read the list, which listed the row. Whether the row is still in the cluster is unknown, so removed is false and the list counts it as current; what only the latest batch can say (a node's ready and status, a workload's risk rating) reads it as not current. Null for a row the latest batch listed and for a removed one */
11
+ unreported_since?: (string | null) | undefined;
12
+ /** A pull-request or branch environment, which lives a few days: a label channel, or one ending in /channel, naming a pull request (pr-<number>) or a branch rather than a channel that lasts (main, master, prod, staging and the like, also as refs-heads-<name>). The counts of workloads at risk leave it out unless the request passes include_ephemeral */
11
13
  ephemeral?: boolean | undefined;
12
14
  /** As the cluster's workloads list reads it */
13
15
  cost?: (number | null) | undefined;
@@ -26,6 +28,10 @@ export interface FleetWorkload {
26
28
  reliability: LevelFour.ReliabilityCounts;
27
29
  /** Its pods no node took yet at its cluster's latest snapshot, the count the cluster summary's pods.pending and the fleet's pods_waiting add up */
28
30
  pods_waiting?: number | undefined;
31
+ /** The published raises that stop its risk, the riskiest first; none when nothing is published */
32
+ fixes?: LevelFour.WorkloadFix[] | undefined;
33
+ /** Where its fix stands: published (in fixes); in_review, a raise computed and not published yet; namespace_off, its namespace makes no recommendations until someone turns them on; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label turns them off; none otherwise */
34
+ fix_state?: (FleetWorkload.FixState | null) | undefined;
29
35
  }
30
36
  export declare namespace FleetWorkload {
31
37
  const CostUnknownReason: {
@@ -41,4 +47,12 @@ export declare namespace FleetWorkload {
41
47
  readonly None: "none";
42
48
  };
43
49
  type Risk = (typeof Risk)[keyof typeof Risk];
50
+ const FixState: {
51
+ readonly Published: "published";
52
+ readonly InReview: "in_review";
53
+ readonly NamespaceOff: "namespace_off";
54
+ readonly NamespaceOffByLabel: "namespace_off_by_label";
55
+ readonly None: "none";
56
+ };
57
+ type FixState = (typeof FixState)[keyof typeof FixState];
44
58
  }
@@ -33,6 +33,13 @@ var FleetWorkload;
33
33
  Low: "low",
34
34
  None: "none"
35
35
  };
36
+ FleetWorkload2.FixState = {
37
+ Published: "published",
38
+ InReview: "in_review",
39
+ NamespaceOff: "namespace_off",
40
+ NamespaceOffByLabel: "namespace_off_by_label",
41
+ None: "none"
42
+ };
36
43
  })(FleetWorkload || (FleetWorkload = {}));
37
44
  // Annotate the CommonJS export names for ESM import in node:
38
45
  0 && (module.exports = {
@@ -10,6 +10,13 @@ var FleetWorkload;
10
10
  Low: "low",
11
11
  None: "none"
12
12
  };
13
+ FleetWorkload2.FixState = {
14
+ Published: "published",
15
+ InReview: "in_review",
16
+ NamespaceOff: "namespace_off",
17
+ NamespaceOffByLabel: "namespace_off_by_label",
18
+ None: "none"
19
+ };
13
20
  })(FleetWorkload || (FleetWorkload = {}));
14
21
  export {
15
22
  FleetWorkload
@@ -1,4 +1,6 @@
1
1
  export interface ForecastData {
2
+ /** False when no cost data exists for the provider: every figure is then a placeholder zero, not a forecast */
3
+ has_cost_data?: boolean | undefined;
2
4
  /** Forecasted value for the horizon */
3
5
  forecast_value: number;
4
6
  /** Lower confidence bound */
@@ -1,4 +1,6 @@
1
1
  export interface ForecastData {
2
+ /** False when no cost data exists for the provider: every figure is then a placeholder zero, not a forecast */
3
+ has_cost_data?: boolean | undefined;
2
4
  /** Forecasted value for the horizon */
3
5
  forecast_value: number;
4
6
  /** Lower confidence bound */
@@ -0,0 +1,57 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ /**
3
+ * A workload holding a node now, or a pod with no workload, on a node an autoscaler that consolidates removes,
4
+ * as a node's row lists it. It carries no saving of its own: a node goes only once every change holding it lands.
5
+ */
6
+ export interface HeldChange {
7
+ namespace: string;
8
+ /** The workload's kind, "Pod" for a pod with no workload */
9
+ kind: string;
10
+ /** The workload's name, or the pod's */
11
+ name: string;
12
+ /** The one fix the change needs, the first that applies: fix_or_scale_to_zero when its Deployment or StatefulSet wants replicas and has none ready; pdb_allows_no_eviction when a PodDisruptionBudget lets none of its pods leave; do_not_disrupt for Karpenter's annotation; other for the rest (affinity, taints, local storage, no controller) */
13
+ fix: HeldChange.Fix;
14
+ /** The kinds of blocker its pods raise at the latest batch */
15
+ reasons: HeldChange.Reasons.Item[];
16
+ /** Whether it holds a node now that would go once its blockers clear and no open recommendation covers */
17
+ counts: boolean;
18
+ /** History: the hours of the window it held a node that would go */
19
+ hours_held: number;
20
+ /** The replicas its workload wants, at the latest batch; null for a pod without a workload */
21
+ workload_replicas?: (number | null) | undefined;
22
+ /** Of those, how many are ready */
23
+ workload_ready_replicas?: (number | null) | undefined;
24
+ /** Since when every batch has read its workload wanting replicas with none ready; null once one is ready or none is wanted */
25
+ workload_zero_ready_since?: (string | null) | undefined;
26
+ /** The PodDisruptionBudgets selecting its workload that allow no disruption now, by name; empty unless one of its reasons is pdb */
27
+ pdbs?: LevelFour.BlockingPdb[] | undefined;
28
+ /** The HPA or KEDA ScaledObject that scales its workload, KEDA's own object before the HPA it runs; null when nothing does */
29
+ scaler?: (LevelFour.WorkloadScaler | null) | undefined;
30
+ }
31
+ export declare namespace HeldChange {
32
+ /** The one fix the change needs, the first that applies: fix_or_scale_to_zero when its Deployment or StatefulSet wants replicas and has none ready; pdb_allows_no_eviction when a PodDisruptionBudget lets none of its pods leave; do_not_disrupt for Karpenter's annotation; other for the rest (affinity, taints, local storage, no controller) */
33
+ const Fix: {
34
+ readonly FixOrScaleToZero: "fix_or_scale_to_zero";
35
+ readonly PdbAllowsNoEviction: "pdb_allows_no_eviction";
36
+ readonly DoNotDisrupt: "do_not_disrupt";
37
+ readonly Other: "other";
38
+ };
39
+ type Fix = (typeof Fix)[keyof typeof Fix];
40
+ type Reasons = Reasons.Item[];
41
+ namespace Reasons {
42
+ const Item: {
43
+ readonly DoNotDisrupt: "do_not_disrupt";
44
+ readonly Pdb: "pdb";
45
+ readonly NodeAffinity: "node_affinity";
46
+ readonly AntiAffinity: "anti_affinity";
47
+ readonly TopologySpread: "topology_spread";
48
+ readonly Taints: "taints";
49
+ readonly LocalStorage: "local_storage";
50
+ readonly SafeToEvict: "safe_to_evict";
51
+ readonly KubeSystem: "kube_system";
52
+ readonly NoController: "no_controller";
53
+ readonly StaticPod: "static_pod";
54
+ };
55
+ type Item = (typeof Item)[keyof typeof Item];
56
+ }
57
+ }
@@ -0,0 +1,57 @@
1
+ import type * as LevelFour from "../index.js";
2
+ /**
3
+ * A workload holding a node now, or a pod with no workload, on a node an autoscaler that consolidates removes,
4
+ * as a node's row lists it. It carries no saving of its own: a node goes only once every change holding it lands.
5
+ */
6
+ export interface HeldChange {
7
+ namespace: string;
8
+ /** The workload's kind, "Pod" for a pod with no workload */
9
+ kind: string;
10
+ /** The workload's name, or the pod's */
11
+ name: string;
12
+ /** The one fix the change needs, the first that applies: fix_or_scale_to_zero when its Deployment or StatefulSet wants replicas and has none ready; pdb_allows_no_eviction when a PodDisruptionBudget lets none of its pods leave; do_not_disrupt for Karpenter's annotation; other for the rest (affinity, taints, local storage, no controller) */
13
+ fix: HeldChange.Fix;
14
+ /** The kinds of blocker its pods raise at the latest batch */
15
+ reasons: HeldChange.Reasons.Item[];
16
+ /** Whether it holds a node now that would go once its blockers clear and no open recommendation covers */
17
+ counts: boolean;
18
+ /** History: the hours of the window it held a node that would go */
19
+ hours_held: number;
20
+ /** The replicas its workload wants, at the latest batch; null for a pod without a workload */
21
+ workload_replicas?: (number | null) | undefined;
22
+ /** Of those, how many are ready */
23
+ workload_ready_replicas?: (number | null) | undefined;
24
+ /** Since when every batch has read its workload wanting replicas with none ready; null once one is ready or none is wanted */
25
+ workload_zero_ready_since?: (string | null) | undefined;
26
+ /** The PodDisruptionBudgets selecting its workload that allow no disruption now, by name; empty unless one of its reasons is pdb */
27
+ pdbs?: LevelFour.BlockingPdb[] | undefined;
28
+ /** The HPA or KEDA ScaledObject that scales its workload, KEDA's own object before the HPA it runs; null when nothing does */
29
+ scaler?: (LevelFour.WorkloadScaler | null) | undefined;
30
+ }
31
+ export declare namespace HeldChange {
32
+ /** The one fix the change needs, the first that applies: fix_or_scale_to_zero when its Deployment or StatefulSet wants replicas and has none ready; pdb_allows_no_eviction when a PodDisruptionBudget lets none of its pods leave; do_not_disrupt for Karpenter's annotation; other for the rest (affinity, taints, local storage, no controller) */
33
+ const Fix: {
34
+ readonly FixOrScaleToZero: "fix_or_scale_to_zero";
35
+ readonly PdbAllowsNoEviction: "pdb_allows_no_eviction";
36
+ readonly DoNotDisrupt: "do_not_disrupt";
37
+ readonly Other: "other";
38
+ };
39
+ type Fix = (typeof Fix)[keyof typeof Fix];
40
+ type Reasons = Reasons.Item[];
41
+ namespace Reasons {
42
+ const Item: {
43
+ readonly DoNotDisrupt: "do_not_disrupt";
44
+ readonly Pdb: "pdb";
45
+ readonly NodeAffinity: "node_affinity";
46
+ readonly AntiAffinity: "anti_affinity";
47
+ readonly TopologySpread: "topology_spread";
48
+ readonly Taints: "taints";
49
+ readonly LocalStorage: "local_storage";
50
+ readonly SafeToEvict: "safe_to_evict";
51
+ readonly KubeSystem: "kube_system";
52
+ readonly NoController: "no_controller";
53
+ readonly StaticPod: "static_pod";
54
+ };
55
+ type Item = (typeof Item)[keyof typeof Item];
56
+ }
57
+ }
@@ -0,0 +1,53 @@
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 HeldChange_exports = {};
20
+ __export(HeldChange_exports, {
21
+ HeldChange: () => HeldChange
22
+ });
23
+ module.exports = __toCommonJS(HeldChange_exports);
24
+ var HeldChange;
25
+ ((HeldChange2) => {
26
+ HeldChange2.Fix = {
27
+ FixOrScaleToZero: "fix_or_scale_to_zero",
28
+ PdbAllowsNoEviction: "pdb_allows_no_eviction",
29
+ DoNotDisrupt: "do_not_disrupt",
30
+ Other: "other"
31
+ };
32
+ let Reasons;
33
+ ((Reasons2) => {
34
+ Reasons2.Item = {
35
+ DoNotDisrupt: "do_not_disrupt",
36
+ Pdb: "pdb",
37
+ NodeAffinity: "node_affinity",
38
+ AntiAffinity: "anti_affinity",
39
+ TopologySpread: "topology_spread",
40
+ Taints: "taints",
41
+ LocalStorage: "local_storage",
42
+ SafeToEvict: "safe_to_evict",
43
+ KubeSystem: "kube_system",
44
+ NoController: "no_controller",
45
+ StaticPod: "static_pod"
46
+ };
47
+ })(Reasons = HeldChange2.Reasons || (HeldChange2.Reasons = {}));
48
+ })(HeldChange || (HeldChange = {}));
49
+ // Annotate the CommonJS export names for ESM import in node:
50
+ 0 && (module.exports = {
51
+ HeldChange
52
+ });
53
+ //# sourceMappingURL=HeldChange.js.map
@@ -0,0 +1,29 @@
1
+ var HeldChange;
2
+ ((HeldChange2) => {
3
+ HeldChange2.Fix = {
4
+ FixOrScaleToZero: "fix_or_scale_to_zero",
5
+ PdbAllowsNoEviction: "pdb_allows_no_eviction",
6
+ DoNotDisrupt: "do_not_disrupt",
7
+ Other: "other"
8
+ };
9
+ let Reasons;
10
+ ((Reasons2) => {
11
+ Reasons2.Item = {
12
+ DoNotDisrupt: "do_not_disrupt",
13
+ Pdb: "pdb",
14
+ NodeAffinity: "node_affinity",
15
+ AntiAffinity: "anti_affinity",
16
+ TopologySpread: "topology_spread",
17
+ Taints: "taints",
18
+ LocalStorage: "local_storage",
19
+ SafeToEvict: "safe_to_evict",
20
+ KubeSystem: "kube_system",
21
+ NoController: "no_controller",
22
+ StaticPod: "static_pod"
23
+ };
24
+ })(Reasons = HeldChange2.Reasons || (HeldChange2.Reasons = {}));
25
+ })(HeldChange || (HeldChange = {}));
26
+ export {
27
+ HeldChange
28
+ };
29
+ //# sourceMappingURL=HeldChange.mjs.map
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The listed changes that need one fix. No saving: a node goes only once every change holding it lands, whatever
3
+ * their fixes.
4
+ */
5
+ export interface HeldFixGroup {
6
+ fix: HeldFixGroup.Fix;
7
+ /** The listed changes that need this fix */
8
+ changes: number;
9
+ /** Of those, the ones holding a node that would go now */
10
+ counted: number;
11
+ /** The distinct nodes they hold now */
12
+ nodes: number;
13
+ }
14
+ export declare namespace HeldFixGroup {
15
+ const Fix: {
16
+ readonly FixOrScaleToZero: "fix_or_scale_to_zero";
17
+ readonly PdbAllowsNoEviction: "pdb_allows_no_eviction";
18
+ readonly DoNotDisrupt: "do_not_disrupt";
19
+ readonly Other: "other";
20
+ };
21
+ type Fix = (typeof Fix)[keyof typeof Fix];
22
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The listed changes that need one fix. No saving: a node goes only once every change holding it lands, whatever
3
+ * their fixes.
4
+ */
5
+ export interface HeldFixGroup {
6
+ fix: HeldFixGroup.Fix;
7
+ /** The listed changes that need this fix */
8
+ changes: number;
9
+ /** Of those, the ones holding a node that would go now */
10
+ counted: number;
11
+ /** The distinct nodes they hold now */
12
+ nodes: number;
13
+ }
14
+ export declare namespace HeldFixGroup {
15
+ const Fix: {
16
+ readonly FixOrScaleToZero: "fix_or_scale_to_zero";
17
+ readonly PdbAllowsNoEviction: "pdb_allows_no_eviction";
18
+ readonly DoNotDisrupt: "do_not_disrupt";
19
+ readonly Other: "other";
20
+ };
21
+ type Fix = (typeof Fix)[keyof typeof Fix];
22
+ }
@@ -0,0 +1,37 @@
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 HeldFixGroup_exports = {};
20
+ __export(HeldFixGroup_exports, {
21
+ HeldFixGroup: () => HeldFixGroup
22
+ });
23
+ module.exports = __toCommonJS(HeldFixGroup_exports);
24
+ var HeldFixGroup;
25
+ ((HeldFixGroup2) => {
26
+ HeldFixGroup2.Fix = {
27
+ FixOrScaleToZero: "fix_or_scale_to_zero",
28
+ PdbAllowsNoEviction: "pdb_allows_no_eviction",
29
+ DoNotDisrupt: "do_not_disrupt",
30
+ Other: "other"
31
+ };
32
+ })(HeldFixGroup || (HeldFixGroup = {}));
33
+ // Annotate the CommonJS export names for ESM import in node:
34
+ 0 && (module.exports = {
35
+ HeldFixGroup
36
+ });
37
+ //# sourceMappingURL=HeldFixGroup.js.map
@@ -0,0 +1,13 @@
1
+ var HeldFixGroup;
2
+ ((HeldFixGroup2) => {
3
+ HeldFixGroup2.Fix = {
4
+ FixOrScaleToZero: "fix_or_scale_to_zero",
5
+ PdbAllowsNoEviction: "pdb_allows_no_eviction",
6
+ DoNotDisrupt: "do_not_disrupt",
7
+ Other: "other"
8
+ };
9
+ })(HeldFixGroup || (HeldFixGroup = {}));
10
+ export {
11
+ HeldFixGroup
12
+ };
13
+ //# sourceMappingURL=HeldFixGroup.mjs.map
@@ -0,0 +1,12 @@
1
+ export interface HeldPool {
2
+ /** The NodePool or node group; empty for nodes in neither */
3
+ node_pool: string;
4
+ /** Its nodes the listed changes hold now */
5
+ nodes: number;
6
+ /** Of those, the ones that would go now and no recommendation covers */
7
+ nodes_would_free: number;
8
+ /** What those cost a month, each once; null when none is priced */
9
+ monthly?: (number | null) | undefined;
10
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
11
+ monthly_net?: (number | null) | undefined;
12
+ }
@@ -0,0 +1,12 @@
1
+ export interface HeldPool {
2
+ /** The NodePool or node group; empty for nodes in neither */
3
+ node_pool: string;
4
+ /** Its nodes the listed changes hold now */
5
+ nodes: number;
6
+ /** Of those, the ones that would go now and no recommendation covers */
7
+ nodes_would_free: number;
8
+ /** What those cost a month, each once; null when none is priced */
9
+ monthly?: (number | null) | undefined;
10
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
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 HeldPool_exports = {};
16
+ module.exports = __toCommonJS(HeldPool_exports);
17
+ //# sourceMappingURL=HeldPool.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=HeldPool.mjs.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * History, outside every total: what the held nodes that would go cost over the window.
3
+ */
4
+ export interface HeldWindow {
5
+ /** The hours of the window ingest worked out the held nodes in */
6
+ hours_averaged: number;
7
+ /** The average a month of what the held nodes that would go and no open recommendation covered cost in those hours, each node-hour once for the share of the batch's window it ran; null when none was priced */
8
+ monthly_average?: (number | null) | undefined;
9
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
10
+ monthly_average_net?: (number | null) | undefined;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * History, outside every total: what the held nodes that would go cost over the window.
3
+ */
4
+ export interface HeldWindow {
5
+ /** The hours of the window ingest worked out the held nodes in */
6
+ hours_averaged: number;
7
+ /** The average a month of what the held nodes that would go and no open recommendation covered cost in those hours, each node-hour once for the share of the batch's window it ran; null when none was priced */
8
+ monthly_average?: (number | null) | undefined;
9
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
10
+ monthly_average_net?: (number | null) | undefined;
11
+ }
@@ -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 HeldWindow_exports = {};
16
+ module.exports = __toCommonJS(HeldWindow_exports);
17
+ //# sourceMappingURL=HeldWindow.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=HeldWindow.mjs.map
@@ -3,8 +3,10 @@ export interface Indicator {
3
3
  severity: Indicator.Severity;
4
4
  container?: (string | null) | undefined;
5
5
  detail: string;
6
- /** The first moment its condition held in the window, in UTC: the first hour the hourly rows show it on the first day the window's days do (oom, restarts, cpu_throttling, eviction, the usage rules, hpa_at_max), the batch that first read no replica ready (no_ready_replica, crash_looping), the hour pods sat Pending, or the start of a trend. Null for a rule on the current configuration, and once that day's hourly rows are gone */
6
+ /** The first moment its condition held in the window, in UTC: the first hour the hourly rows show it on the first day the window's days do (oom, restarts, cpu_throttling, eviction, the usage rules, hpa_at_max), the batch that first read no replica ready (never_started, no_ready_replica, crash_looping), the hour pods sat Pending, or the start of a trend. Null for a rule on the current configuration, and once that day's hourly rows are gone */
7
7
  since?: (string | null) | undefined;
8
+ /** Why no replica is ready, on never_started, no_ready_replica and crash_looping: the first stage that blocks the workload's pods, read from the Warning events of its pods and the terminations of its containers in the 2 hours before its latest batch, else since it had none ready. unschedulable (no node can take them), image_pull, config_missing (a secret, config map or key it needs), volume (a volume can't be mounted), sandbox (its nodes can't create the pod's sandbox), init_failing (an init container), crash (a container crashes or is killed out of memory), readiness_failing (its readiness or startup probe), or unknown when the cluster's agent sends pod events and none says why. `detail` states it with the fix. Null on every other indicator, and when the cluster's agent sends no pod events */
9
+ cause?: (Indicator.Cause | null) | undefined;
8
10
  }
9
11
  export declare namespace Indicator {
10
12
  const Id: {
@@ -23,6 +25,7 @@ export declare namespace Indicator {
23
25
  readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
24
26
  readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
25
27
  readonly Eviction: "eviction";
28
+ readonly NeverStarted: "never_started";
26
29
  readonly NoReadyReplica: "no_ready_replica";
27
30
  readonly CrashLooping: "crash_looping";
28
31
  readonly PodsPending: "pods_pending";
@@ -38,4 +41,16 @@ export declare namespace Indicator {
38
41
  readonly Info: "info";
39
42
  };
40
43
  type Severity = (typeof Severity)[keyof typeof Severity];
44
+ const Cause: {
45
+ readonly Unschedulable: "unschedulable";
46
+ readonly ImagePull: "image_pull";
47
+ readonly ConfigMissing: "config_missing";
48
+ readonly Volume: "volume";
49
+ readonly Sandbox: "sandbox";
50
+ readonly InitFailing: "init_failing";
51
+ readonly Crash: "crash";
52
+ readonly ReadinessFailing: "readiness_failing";
53
+ readonly Unknown: "unknown";
54
+ };
55
+ type Cause = (typeof Cause)[keyof typeof Cause];
41
56
  }
@@ -3,8 +3,10 @@ export interface Indicator {
3
3
  severity: Indicator.Severity;
4
4
  container?: (string | null) | undefined;
5
5
  detail: string;
6
- /** The first moment its condition held in the window, in UTC: the first hour the hourly rows show it on the first day the window's days do (oom, restarts, cpu_throttling, eviction, the usage rules, hpa_at_max), the batch that first read no replica ready (no_ready_replica, crash_looping), the hour pods sat Pending, or the start of a trend. Null for a rule on the current configuration, and once that day's hourly rows are gone */
6
+ /** The first moment its condition held in the window, in UTC: the first hour the hourly rows show it on the first day the window's days do (oom, restarts, cpu_throttling, eviction, the usage rules, hpa_at_max), the batch that first read no replica ready (never_started, no_ready_replica, crash_looping), the hour pods sat Pending, or the start of a trend. Null for a rule on the current configuration, and once that day's hourly rows are gone */
7
7
  since?: (string | null) | undefined;
8
+ /** Why no replica is ready, on never_started, no_ready_replica and crash_looping: the first stage that blocks the workload's pods, read from the Warning events of its pods and the terminations of its containers in the 2 hours before its latest batch, else since it had none ready. unschedulable (no node can take them), image_pull, config_missing (a secret, config map or key it needs), volume (a volume can't be mounted), sandbox (its nodes can't create the pod's sandbox), init_failing (an init container), crash (a container crashes or is killed out of memory), readiness_failing (its readiness or startup probe), or unknown when the cluster's agent sends pod events and none says why. `detail` states it with the fix. Null on every other indicator, and when the cluster's agent sends no pod events */
9
+ cause?: (Indicator.Cause | null) | undefined;
8
10
  }
9
11
  export declare namespace Indicator {
10
12
  const Id: {
@@ -23,6 +25,7 @@ export declare namespace Indicator {
23
25
  readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
24
26
  readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
25
27
  readonly Eviction: "eviction";
28
+ readonly NeverStarted: "never_started";
26
29
  readonly NoReadyReplica: "no_ready_replica";
27
30
  readonly CrashLooping: "crash_looping";
28
31
  readonly PodsPending: "pods_pending";
@@ -38,4 +41,16 @@ export declare namespace Indicator {
38
41
  readonly Info: "info";
39
42
  };
40
43
  type Severity = (typeof Severity)[keyof typeof Severity];
44
+ const Cause: {
45
+ readonly Unschedulable: "unschedulable";
46
+ readonly ImagePull: "image_pull";
47
+ readonly ConfigMissing: "config_missing";
48
+ readonly Volume: "volume";
49
+ readonly Sandbox: "sandbox";
50
+ readonly InitFailing: "init_failing";
51
+ readonly Crash: "crash";
52
+ readonly ReadinessFailing: "readiness_failing";
53
+ readonly Unknown: "unknown";
54
+ };
55
+ type Cause = (typeof Cause)[keyof typeof Cause];
41
56
  }