levelfour 1.17.0 → 1.18.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 (265) hide show
  1. package/dist/api/resources/recommendations/client/Client.js +2 -0
  2. package/dist/api/resources/recommendations/client/Client.mjs +2 -0
  3. package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.mts +2 -0
  4. package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.ts +2 -0
  5. package/dist/api/types/CheckedObject.d.mts +1 -1
  6. package/dist/api/types/CheckedObject.d.ts +1 -1
  7. package/dist/api/types/ClusterItem.d.mts +3 -1
  8. package/dist/api/types/ClusterItem.d.ts +3 -1
  9. package/dist/api/types/ClusterSummary.d.mts +3 -1
  10. package/dist/api/types/ClusterSummary.d.ts +3 -1
  11. package/dist/api/types/ConfigObjectView.d.mts +2 -11
  12. package/dist/api/types/ConfigObjectView.d.ts +2 -11
  13. package/dist/api/types/ConfigObjectView.js +0 -9
  14. package/dist/api/types/ConfigObjectView.mjs +0 -9
  15. package/dist/api/types/ConsolidationBlocker.d.mts +26 -0
  16. package/dist/api/types/ConsolidationBlocker.d.ts +26 -0
  17. package/dist/api/types/ConsolidationBlocker.js +19 -0
  18. package/dist/api/types/ConsolidationBlocker.mjs +19 -0
  19. package/dist/api/types/ConsolidationChange.d.mts +16 -0
  20. package/dist/api/types/ConsolidationChange.d.ts +16 -0
  21. package/dist/api/types/ConsolidationChange.js +13 -0
  22. package/dist/api/types/ConsolidationChange.mjs +13 -0
  23. package/dist/api/types/ConsolidationChangeDetail.d.mts +16 -0
  24. package/dist/api/types/ConsolidationChangeDetail.d.ts +16 -0
  25. package/dist/api/types/ConsolidationChangeDetail.js +13 -0
  26. package/dist/api/types/ConsolidationChangeDetail.mjs +13 -0
  27. package/dist/api/types/ConsolidationChangeTotals.d.mts +5 -1
  28. package/dist/api/types/ConsolidationChangeTotals.d.ts +5 -1
  29. package/dist/api/types/ConsolidationLever.d.mts +2 -0
  30. package/dist/api/types/ConsolidationLever.d.ts +2 -0
  31. package/dist/api/types/FleetConsolidationChange.d.mts +16 -0
  32. package/dist/api/types/FleetConsolidationChange.d.ts +16 -0
  33. package/dist/api/types/FleetConsolidationChange.js +13 -0
  34. package/dist/api/types/FleetConsolidationChange.mjs +13 -0
  35. package/dist/api/types/FleetConsolidationLever.d.mts +2 -0
  36. package/dist/api/types/FleetConsolidationLever.d.ts +2 -0
  37. package/dist/api/types/FleetNamespace.d.mts +3 -1
  38. package/dist/api/types/FleetNamespace.d.ts +3 -1
  39. package/dist/api/types/FleetSummary.d.mts +3 -1
  40. package/dist/api/types/FleetSummary.d.ts +3 -1
  41. package/dist/api/types/FleetVolume.d.mts +1 -1
  42. package/dist/api/types/FleetVolume.d.ts +1 -1
  43. package/dist/api/types/ForecastData.d.mts +3 -3
  44. package/dist/api/types/ForecastData.d.ts +3 -3
  45. package/dist/api/types/HeldChange.d.mts +16 -0
  46. package/dist/api/types/HeldChange.d.ts +16 -0
  47. package/dist/api/types/HeldChange.js +13 -0
  48. package/dist/api/types/HeldChange.mjs +13 -0
  49. package/dist/api/types/HeldOutcome.d.mts +9 -0
  50. package/dist/api/types/HeldOutcome.d.ts +9 -0
  51. package/dist/api/types/HeldOutcome.js +17 -0
  52. package/dist/api/types/HeldOutcome.mjs +1 -0
  53. package/dist/api/types/Impact.d.mts +40 -0
  54. package/dist/api/types/Impact.d.ts +40 -0
  55. package/dist/api/types/Impact.js +36 -0
  56. package/dist/api/types/Impact.mjs +12 -0
  57. package/dist/api/types/ImpactBeforeNow.d.mts +5 -0
  58. package/dist/api/types/ImpactBeforeNow.d.ts +5 -0
  59. package/dist/api/types/ImpactBeforeNow.js +17 -0
  60. package/dist/api/types/ImpactBeforeNow.mjs +1 -0
  61. package/dist/api/types/ImpactChange.d.mts +47 -0
  62. package/dist/api/types/ImpactChange.d.ts +47 -0
  63. package/dist/api/types/ImpactChange.js +44 -0
  64. package/dist/api/types/ImpactChange.mjs +20 -0
  65. package/dist/api/types/ImpactChangeList.d.mts +5 -0
  66. package/dist/api/types/ImpactChangeList.d.ts +5 -0
  67. package/dist/api/types/ImpactChangeList.js +17 -0
  68. package/dist/api/types/ImpactChangeList.mjs +1 -0
  69. package/dist/api/types/ImpactChangeListResponse.d.mts +6 -0
  70. package/dist/api/types/ImpactChangeListResponse.d.ts +6 -0
  71. package/dist/api/types/ImpactChangeListResponse.js +17 -0
  72. package/dist/api/types/ImpactChangeListResponse.mjs +1 -0
  73. package/dist/api/types/ImpactChanges.d.mts +8 -0
  74. package/dist/api/types/ImpactChanges.d.ts +8 -0
  75. package/dist/api/types/ImpactChanges.js +17 -0
  76. package/dist/api/types/ImpactChanges.mjs +1 -0
  77. package/dist/api/types/ImpactCluster.d.mts +22 -0
  78. package/dist/api/types/ImpactCluster.d.ts +22 -0
  79. package/dist/api/types/ImpactCluster.js +35 -0
  80. package/dist/api/types/ImpactCluster.mjs +11 -0
  81. package/dist/api/types/ImpactClusterListResponse.d.mts +6 -0
  82. package/dist/api/types/ImpactClusterListResponse.d.ts +6 -0
  83. package/dist/api/types/ImpactClusterListResponse.js +17 -0
  84. package/dist/api/types/ImpactClusterListResponse.mjs +1 -0
  85. package/dist/api/types/ImpactClusters.d.mts +7 -0
  86. package/dist/api/types/ImpactClusters.d.ts +7 -0
  87. package/dist/api/types/ImpactClusters.js +17 -0
  88. package/dist/api/types/ImpactClusters.mjs +1 -0
  89. package/dist/api/types/ImpactCount.d.mts +16 -0
  90. package/dist/api/types/ImpactCount.d.ts +16 -0
  91. package/dist/api/types/ImpactCount.js +17 -0
  92. package/dist/api/types/ImpactCount.mjs +1 -0
  93. package/dist/api/types/ImpactDaySpan.d.mts +4 -0
  94. package/dist/api/types/ImpactDaySpan.d.ts +4 -0
  95. package/dist/api/types/ImpactDaySpan.js +17 -0
  96. package/dist/api/types/ImpactDaySpan.mjs +1 -0
  97. package/dist/api/types/ImpactDaysCompared.d.mts +4 -0
  98. package/dist/api/types/ImpactDaysCompared.d.ts +4 -0
  99. package/dist/api/types/ImpactDaysCompared.js +17 -0
  100. package/dist/api/types/ImpactDaysCompared.mjs +1 -0
  101. package/dist/api/types/ImpactExcluded.d.mts +14 -0
  102. package/dist/api/types/ImpactExcluded.d.ts +14 -0
  103. package/dist/api/types/ImpactExcluded.js +35 -0
  104. package/dist/api/types/ImpactExcluded.mjs +11 -0
  105. package/dist/api/types/ImpactMeasuredThrough.d.mts +6 -0
  106. package/dist/api/types/ImpactMeasuredThrough.d.ts +6 -0
  107. package/dist/api/types/ImpactMeasuredThrough.js +17 -0
  108. package/dist/api/types/ImpactMeasuredThrough.mjs +1 -0
  109. package/dist/api/types/ImpactMeasuring.d.mts +6 -0
  110. package/dist/api/types/ImpactMeasuring.d.ts +6 -0
  111. package/dist/api/types/ImpactMeasuring.js +17 -0
  112. package/dist/api/types/ImpactMeasuring.mjs +1 -0
  113. package/dist/api/types/ImpactNamespace.d.mts +11 -0
  114. package/dist/api/types/ImpactNamespace.d.ts +11 -0
  115. package/dist/api/types/ImpactNamespace.js +17 -0
  116. package/dist/api/types/ImpactNamespace.mjs +1 -0
  117. package/dist/api/types/ImpactNamespaceListResponse.d.mts +6 -0
  118. package/dist/api/types/ImpactNamespaceListResponse.d.ts +6 -0
  119. package/dist/api/types/ImpactNamespaceListResponse.js +17 -0
  120. package/dist/api/types/ImpactNamespaceListResponse.mjs +1 -0
  121. package/dist/api/types/ImpactNamespaces.d.mts +6 -0
  122. package/dist/api/types/ImpactNamespaces.d.ts +6 -0
  123. package/dist/api/types/ImpactNamespaces.js +17 -0
  124. package/dist/api/types/ImpactNamespaces.mjs +1 -0
  125. package/dist/api/types/ImpactPace.d.mts +6 -0
  126. package/dist/api/types/ImpactPace.d.ts +6 -0
  127. package/dist/api/types/ImpactPace.js +17 -0
  128. package/dist/api/types/ImpactPace.mjs +1 -0
  129. package/dist/api/types/ImpactPoint.d.mts +21 -0
  130. package/dist/api/types/ImpactPoint.d.ts +21 -0
  131. package/dist/api/types/ImpactPoint.js +17 -0
  132. package/dist/api/types/ImpactPoint.mjs +1 -0
  133. package/dist/api/types/ImpactRequests.d.mts +7 -0
  134. package/dist/api/types/ImpactRequests.d.ts +7 -0
  135. package/dist/api/types/ImpactRequests.js +17 -0
  136. package/dist/api/types/ImpactRequests.mjs +1 -0
  137. package/dist/api/types/ImpactRequestsMoved.d.mts +10 -0
  138. package/dist/api/types/ImpactRequestsMoved.d.ts +10 -0
  139. package/dist/api/types/ImpactRequestsMoved.js +17 -0
  140. package/dist/api/types/ImpactRequestsMoved.mjs +1 -0
  141. package/dist/api/types/ImpactResponse.d.mts +6 -0
  142. package/dist/api/types/ImpactResponse.d.ts +6 -0
  143. package/dist/api/types/ImpactResponse.js +17 -0
  144. package/dist/api/types/ImpactResponse.mjs +1 -0
  145. package/dist/api/types/ImpactResultWindows.d.mts +5 -0
  146. package/dist/api/types/ImpactResultWindows.d.ts +5 -0
  147. package/dist/api/types/ImpactResultWindows.js +17 -0
  148. package/dist/api/types/ImpactResultWindows.mjs +1 -0
  149. package/dist/api/types/ImpactRowTotals.d.mts +6 -0
  150. package/dist/api/types/ImpactRowTotals.d.ts +6 -0
  151. package/dist/api/types/ImpactRowTotals.js +17 -0
  152. package/dist/api/types/ImpactRowTotals.mjs +1 -0
  153. package/dist/api/types/ImpactSaved.d.mts +4 -0
  154. package/dist/api/types/ImpactSaved.d.ts +4 -0
  155. package/dist/api/types/ImpactSaved.js +17 -0
  156. package/dist/api/types/ImpactSaved.mjs +1 -0
  157. package/dist/api/types/ImpactScope.d.mts +9 -0
  158. package/dist/api/types/ImpactScope.d.ts +9 -0
  159. package/dist/api/types/ImpactScope.js +17 -0
  160. package/dist/api/types/ImpactScope.mjs +1 -0
  161. package/dist/api/types/ImpactSeries.d.mts +5 -0
  162. package/dist/api/types/ImpactSeries.d.ts +5 -0
  163. package/dist/api/types/ImpactSeries.js +17 -0
  164. package/dist/api/types/ImpactSeries.mjs +1 -0
  165. package/dist/api/types/ImpactSeriesResponse.d.mts +6 -0
  166. package/dist/api/types/ImpactSeriesResponse.d.ts +6 -0
  167. package/dist/api/types/ImpactSeriesResponse.js +17 -0
  168. package/dist/api/types/ImpactSeriesResponse.mjs +1 -0
  169. package/dist/api/types/ImpactWasNowCount.d.mts +4 -0
  170. package/dist/api/types/ImpactWasNowCount.d.ts +4 -0
  171. package/dist/api/types/ImpactWasNowCount.js +17 -0
  172. package/dist/api/types/ImpactWasNowCount.mjs +1 -0
  173. package/dist/api/types/ImpactWasNowUsd.d.mts +4 -0
  174. package/dist/api/types/ImpactWasNowUsd.d.ts +4 -0
  175. package/dist/api/types/ImpactWasNowUsd.js +17 -0
  176. package/dist/api/types/ImpactWasNowUsd.mjs +1 -0
  177. package/dist/api/types/ImpactWasWindow.d.mts +8 -0
  178. package/dist/api/types/ImpactWasWindow.d.ts +8 -0
  179. package/dist/api/types/ImpactWasWindow.js +17 -0
  180. package/dist/api/types/ImpactWasWindow.mjs +1 -0
  181. package/dist/api/types/ImpactWaste.d.mts +20 -0
  182. package/dist/api/types/ImpactWaste.d.ts +20 -0
  183. package/dist/api/types/ImpactWaste.js +17 -0
  184. package/dist/api/types/ImpactWaste.mjs +1 -0
  185. package/dist/api/types/ImpactWorkload.d.mts +27 -0
  186. package/dist/api/types/ImpactWorkload.d.ts +27 -0
  187. package/dist/api/types/ImpactWorkload.js +40 -0
  188. package/dist/api/types/ImpactWorkload.mjs +16 -0
  189. package/dist/api/types/ImpactWorkloadDetail.d.mts +34 -0
  190. package/dist/api/types/ImpactWorkloadDetail.d.ts +34 -0
  191. package/dist/api/types/ImpactWorkloadDetail.js +40 -0
  192. package/dist/api/types/ImpactWorkloadDetail.mjs +16 -0
  193. package/dist/api/types/ImpactWorkloadListResponse.d.mts +6 -0
  194. package/dist/api/types/ImpactWorkloadListResponse.d.ts +6 -0
  195. package/dist/api/types/ImpactWorkloadListResponse.js +17 -0
  196. package/dist/api/types/ImpactWorkloadListResponse.mjs +1 -0
  197. package/dist/api/types/ImpactWorkloadResponse.d.mts +6 -0
  198. package/dist/api/types/ImpactWorkloadResponse.d.ts +6 -0
  199. package/dist/api/types/ImpactWorkloadResponse.js +17 -0
  200. package/dist/api/types/ImpactWorkloadResponse.mjs +1 -0
  201. package/dist/api/types/ImpactWorkloads.d.mts +6 -0
  202. package/dist/api/types/ImpactWorkloads.d.ts +6 -0
  203. package/dist/api/types/ImpactWorkloads.js +17 -0
  204. package/dist/api/types/ImpactWorkloads.mjs +1 -0
  205. package/dist/api/types/NamespaceAutomation.d.mts +8 -0
  206. package/dist/api/types/NamespaceAutomation.d.ts +8 -0
  207. package/dist/api/types/NamespaceAutomation.js +5 -0
  208. package/dist/api/types/NamespaceAutomation.mjs +5 -0
  209. package/dist/api/types/NamespaceItem.d.mts +3 -1
  210. package/dist/api/types/NamespaceItem.d.ts +3 -1
  211. package/dist/api/types/ProviderBreakdownItem.d.mts +2 -0
  212. package/dist/api/types/ProviderBreakdownItem.d.ts +2 -0
  213. package/dist/api/types/RecommendationDetail.d.mts +2 -0
  214. package/dist/api/types/RecommendationDetail.d.ts +2 -0
  215. package/dist/api/types/ReliabilityLens.d.mts +2 -0
  216. package/dist/api/types/ReliabilityLens.d.ts +2 -0
  217. package/dist/api/types/ReliabilityThresholds.d.mts +23 -0
  218. package/dist/api/types/ReliabilityThresholds.d.ts +23 -0
  219. package/dist/api/types/ReliabilityThresholds.js +17 -0
  220. package/dist/api/types/ReliabilityThresholds.mjs +1 -0
  221. package/dist/api/types/RightsizedContainer.d.mts +2 -0
  222. package/dist/api/types/RightsizedContainer.d.ts +2 -0
  223. package/dist/api/types/SavingsBasis.d.mts +8 -0
  224. package/dist/api/types/SavingsBasis.d.ts +8 -0
  225. package/dist/api/types/SavingsBasis.js +17 -0
  226. package/dist/api/types/SavingsBasis.mjs +1 -0
  227. package/dist/api/types/SavingsCollecting.d.mts +6 -0
  228. package/dist/api/types/SavingsCollecting.d.ts +6 -0
  229. package/dist/api/types/SavingsCollecting.js +17 -0
  230. package/dist/api/types/SavingsCollecting.mjs +1 -0
  231. package/dist/api/types/SavingsItem.d.mts +8 -3
  232. package/dist/api/types/SavingsItem.d.ts +8 -3
  233. package/dist/api/types/SavingsMissing.d.mts +6 -2
  234. package/dist/api/types/SavingsMissing.d.ts +6 -2
  235. package/dist/api/types/SavingsNode.d.mts +13 -0
  236. package/dist/api/types/SavingsNode.d.ts +13 -0
  237. package/dist/api/types/SavingsNow.d.mts +11 -0
  238. package/dist/api/types/SavingsNow.d.ts +11 -0
  239. package/dist/api/types/SavingsNow.js +5 -0
  240. package/dist/api/types/SavingsNow.mjs +5 -0
  241. package/dist/api/types/SavingsSection.d.mts +4 -0
  242. package/dist/api/types/SavingsSection.d.ts +4 -0
  243. package/dist/api/types/SetWorkloadAutomationRequest.d.mts +2 -2
  244. package/dist/api/types/SetWorkloadAutomationRequest.d.ts +2 -2
  245. package/dist/api/types/UnpricedFindings.d.mts +1 -1
  246. package/dist/api/types/UnpricedFindings.d.ts +1 -1
  247. package/dist/api/types/VolumeItem.d.mts +1 -1
  248. package/dist/api/types/VolumeItem.d.ts +1 -1
  249. package/dist/api/types/WorkloadItem.d.mts +3 -1
  250. package/dist/api/types/WorkloadItem.d.ts +3 -1
  251. package/dist/api/types/WorkloadItem.js +2 -0
  252. package/dist/api/types/WorkloadItem.mjs +2 -0
  253. package/dist/api/types/WorkloadListItem.d.mts +3 -1
  254. package/dist/api/types/WorkloadListItem.d.ts +3 -1
  255. package/dist/api/types/WorkloadListItem.js +2 -0
  256. package/dist/api/types/WorkloadListItem.mjs +2 -0
  257. package/dist/api/types/index.d.mts +42 -0
  258. package/dist/api/types/index.d.ts +42 -0
  259. package/dist/api/types/index.js +84 -0
  260. package/dist/api/types/index.mjs +42 -0
  261. package/dist/version.d.mts +1 -1
  262. package/dist/version.d.ts +1 -1
  263. package/dist/version.js +1 -1
  264. package/dist/version.mjs +1 -1
  265. package/package.json +1 -1
@@ -7,6 +7,8 @@ export interface FleetConsolidationChange {
7
7
  name: string;
8
8
  /** 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) */
9
9
  fix: FleetConsolidationChange.Fix;
10
+ /** With the fix other, the reason its sentence names: the first of its reasons in BlockerReason's order (do_not_disrupt, pdb, node_affinity, anti_affinity, topology_spread, taints, local_storage, safe_to_evict, kube_system, no_controller); null with any other fix, which names its own cause (dashboard#1689) */
11
+ fix_reason?: (FleetConsolidationChange.FixReason | null) | undefined;
10
12
  /** The kinds of blocker its pods raise at the latest batch */
11
13
  reasons: FleetConsolidationChange.Reasons.Item[];
12
14
  /** Whether it holds a node now that would go once its blockers clear and no open recommendation covers */
@@ -41,6 +43,20 @@ export declare namespace FleetConsolidationChange {
41
43
  readonly Other: "other";
42
44
  };
43
45
  type Fix = (typeof Fix)[keyof typeof Fix];
46
+ const FixReason: {
47
+ readonly DoNotDisrupt: "do_not_disrupt";
48
+ readonly Pdb: "pdb";
49
+ readonly NodeAffinity: "node_affinity";
50
+ readonly AntiAffinity: "anti_affinity";
51
+ readonly TopologySpread: "topology_spread";
52
+ readonly Taints: "taints";
53
+ readonly LocalStorage: "local_storage";
54
+ readonly SafeToEvict: "safe_to_evict";
55
+ readonly KubeSystem: "kube_system";
56
+ readonly NoController: "no_controller";
57
+ readonly StaticPod: "static_pod";
58
+ };
59
+ type FixReason = (typeof FixReason)[keyof typeof FixReason];
44
60
  type Reasons = Reasons.Item[];
45
61
  namespace Reasons {
46
62
  const Item: {
@@ -7,6 +7,8 @@ export interface FleetConsolidationChange {
7
7
  name: string;
8
8
  /** 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) */
9
9
  fix: FleetConsolidationChange.Fix;
10
+ /** With the fix other, the reason its sentence names: the first of its reasons in BlockerReason's order (do_not_disrupt, pdb, node_affinity, anti_affinity, topology_spread, taints, local_storage, safe_to_evict, kube_system, no_controller); null with any other fix, which names its own cause (dashboard#1689) */
11
+ fix_reason?: (FleetConsolidationChange.FixReason | null) | undefined;
10
12
  /** The kinds of blocker its pods raise at the latest batch */
11
13
  reasons: FleetConsolidationChange.Reasons.Item[];
12
14
  /** Whether it holds a node now that would go once its blockers clear and no open recommendation covers */
@@ -41,6 +43,20 @@ export declare namespace FleetConsolidationChange {
41
43
  readonly Other: "other";
42
44
  };
43
45
  type Fix = (typeof Fix)[keyof typeof Fix];
46
+ const FixReason: {
47
+ readonly DoNotDisrupt: "do_not_disrupt";
48
+ readonly Pdb: "pdb";
49
+ readonly NodeAffinity: "node_affinity";
50
+ readonly AntiAffinity: "anti_affinity";
51
+ readonly TopologySpread: "topology_spread";
52
+ readonly Taints: "taints";
53
+ readonly LocalStorage: "local_storage";
54
+ readonly SafeToEvict: "safe_to_evict";
55
+ readonly KubeSystem: "kube_system";
56
+ readonly NoController: "no_controller";
57
+ readonly StaticPod: "static_pod";
58
+ };
59
+ type FixReason = (typeof FixReason)[keyof typeof FixReason];
44
60
  type Reasons = Reasons.Item[];
45
61
  namespace Reasons {
46
62
  const Item: {
@@ -29,6 +29,19 @@ var FleetConsolidationChange;
29
29
  DoNotDisrupt: "do_not_disrupt",
30
30
  Other: "other"
31
31
  };
32
+ FleetConsolidationChange2.FixReason = {
33
+ DoNotDisrupt: "do_not_disrupt",
34
+ Pdb: "pdb",
35
+ NodeAffinity: "node_affinity",
36
+ AntiAffinity: "anti_affinity",
37
+ TopologySpread: "topology_spread",
38
+ Taints: "taints",
39
+ LocalStorage: "local_storage",
40
+ SafeToEvict: "safe_to_evict",
41
+ KubeSystem: "kube_system",
42
+ NoController: "no_controller",
43
+ StaticPod: "static_pod"
44
+ };
32
45
  let Reasons;
33
46
  ((Reasons2) => {
34
47
  Reasons2.Item = {
@@ -6,6 +6,19 @@ var FleetConsolidationChange;
6
6
  DoNotDisrupt: "do_not_disrupt",
7
7
  Other: "other"
8
8
  };
9
+ FleetConsolidationChange2.FixReason = {
10
+ DoNotDisrupt: "do_not_disrupt",
11
+ Pdb: "pdb",
12
+ NodeAffinity: "node_affinity",
13
+ AntiAffinity: "anti_affinity",
14
+ TopologySpread: "topology_spread",
15
+ Taints: "taints",
16
+ LocalStorage: "local_storage",
17
+ SafeToEvict: "safe_to_evict",
18
+ KubeSystem: "kube_system",
19
+ NoController: "no_controller",
20
+ StaticPod: "static_pod"
21
+ };
9
22
  let Reasons;
10
23
  ((Reasons2) => {
11
24
  Reasons2.Item = {
@@ -13,4 +13,6 @@ export interface FleetConsolidationLever {
13
13
  monthly_net?: (number | null) | undefined;
14
14
  /** The clusters' changes that free their held nodes over the window, added up */
15
15
  changes?: number | undefined;
16
+ /** The oldest check the clusters' counts were read from, as the held nodes' fleet as_of (dashboard#1689); null when no count is */
17
+ count_at?: (string | null) | undefined;
16
18
  }
@@ -13,4 +13,6 @@ export interface FleetConsolidationLever {
13
13
  monthly_net?: (number | null) | undefined;
14
14
  /** The clusters' changes that free their held nodes over the window, added up */
15
15
  changes?: number | undefined;
16
+ /** The oldest check the clusters' counts were read from, as the held nodes' fleet as_of (dashboard#1689); null when no count is */
17
+ count_at?: (string | null) | undefined;
16
18
  }
@@ -8,8 +8,10 @@ export interface FleetNamespace {
8
8
  automation_step?: (FleetNamespace.AutomationStep | null) | undefined;
9
9
  /** Why a blocked step cannot act: no automation component, a component that stopped reporting, the cluster's rightsizing off, another tool sizing the namespace, the levelfour.ai/automation=off label, the Helm install's namespaces leaving it out, or the approver gone; null unless blocked */
10
10
  automation_blocked_by?: (FleetNamespace.AutomationBlockedBy | null) | undefined;
11
- /** What the namespace's available recommendations would save a month */
11
+ /** What the namespace can save now a month: the sum of GET /savings' own items in it, a stopped workload at what its item is (the NodePool or node group it alone held included, its pods on a node that would go left out), its published recommendations and its orphaned claims. The nodes two or more stopped workloads hold and a NodePool's or node group's saving are their cluster's alone, so the namespaces add up to their cluster's available_savings_monthly less the Savings tab's nodes section */
12
12
  available_savings_monthly?: (number | null) | undefined;
13
+ /** The same, net of the enterprise discount: GET /savings' monthly_net of the namespace's items */
14
+ available_savings_monthly_net?: (number | null) | undefined;
13
15
  name: string;
14
16
  /** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
15
17
  kind: FleetNamespace.Kind;
@@ -8,8 +8,10 @@ export interface FleetNamespace {
8
8
  automation_step?: (FleetNamespace.AutomationStep | null) | undefined;
9
9
  /** Why a blocked step cannot act: no automation component, a component that stopped reporting, the cluster's rightsizing off, another tool sizing the namespace, the levelfour.ai/automation=off label, the Helm install's namespaces leaving it out, or the approver gone; null unless blocked */
10
10
  automation_blocked_by?: (FleetNamespace.AutomationBlockedBy | null) | undefined;
11
- /** What the namespace's available recommendations would save a month */
11
+ /** What the namespace can save now a month: the sum of GET /savings' own items in it, a stopped workload at what its item is (the NodePool or node group it alone held included, its pods on a node that would go left out), its published recommendations and its orphaned claims. The nodes two or more stopped workloads hold and a NodePool's or node group's saving are their cluster's alone, so the namespaces add up to their cluster's available_savings_monthly less the Savings tab's nodes section */
12
12
  available_savings_monthly?: (number | null) | undefined;
13
+ /** The same, net of the enterprise discount: GET /savings' monthly_net of the namespace's items */
14
+ available_savings_monthly_net?: (number | null) | undefined;
13
15
  name: string;
14
16
  /** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
15
17
  kind: FleetNamespace.Kind;
@@ -1,7 +1,9 @@
1
1
  import type * as LevelFour from "../index.mjs";
2
2
  export interface FleetSummary {
3
- /** What can be saved now a month, GET /savings' totals.monthly: the available recommendations (as the savings page's Available tab counts them), plus the workloads that want replicas and have had none ready for a day and the nodes only they hold. The nodes other pods hold are not in it (levelfour-api#2203), added up over the connected clusters; null when none has any */
3
+ /** What can be saved now a month, GET /savings' totals.monthly for the same clusters, read from the same items (levelfour-api#2217): the available recommendations (as the savings page's Available tab counts them), the workloads that want replicas and have had none ready for a day, the nodes only they hold and the orphaned claims the bill prices now. The nodes other pods hold are not in it (levelfour-api#2203), added up over the connected clusters; null when none has any */
4
4
  available_savings_monthly?: (number | null) | undefined;
5
+ /** The same, net of the enterprise discount: GET /savings' totals.monthly_net, which its cost_monthly_net divides, added up over the connected clusters; null when none has any */
6
+ available_savings_monthly_net?: (number | null) | undefined;
5
7
  levers?: (LevelFour.FleetLevers | null) | undefined;
6
8
  /** Every connected cluster's other savings, added up */
7
9
  other_savings?: (LevelFour.OtherSavings | null) | undefined;
@@ -1,7 +1,9 @@
1
1
  import type * as LevelFour from "../index.js";
2
2
  export interface FleetSummary {
3
- /** What can be saved now a month, GET /savings' totals.monthly: the available recommendations (as the savings page's Available tab counts them), plus the workloads that want replicas and have had none ready for a day and the nodes only they hold. The nodes other pods hold are not in it (levelfour-api#2203), added up over the connected clusters; null when none has any */
3
+ /** What can be saved now a month, GET /savings' totals.monthly for the same clusters, read from the same items (levelfour-api#2217): the available recommendations (as the savings page's Available tab counts them), the workloads that want replicas and have had none ready for a day, the nodes only they hold and the orphaned claims the bill prices now. The nodes other pods hold are not in it (levelfour-api#2203), added up over the connected clusters; null when none has any */
4
4
  available_savings_monthly?: (number | null) | undefined;
5
+ /** The same, net of the enterprise discount: GET /savings' totals.monthly_net, which its cost_monthly_net divides, added up over the connected clusters; null when none has any */
6
+ available_savings_monthly_net?: (number | null) | undefined;
5
7
  levers?: (LevelFour.FleetLevers | null) | undefined;
6
8
  /** Every connected cluster's other savings, added up */
7
9
  other_savings?: (LevelFour.OtherSavings | null) | undefined;
@@ -33,7 +33,7 @@ export interface FleetVolume {
33
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) */
34
34
  cost_unknown_reason?: (FleetVolume.CostUnknownReason | null) | undefined;
35
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;
36
+ unpriced_reason?: (string | null) | undefined;
37
37
  /** While period_cost is null, the last day any bill line named the volume; null if none ever */
38
38
  last_billed_on?: (string | null) | undefined;
39
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 */
@@ -33,7 +33,7 @@ export interface FleetVolume {
33
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) */
34
34
  cost_unknown_reason?: (FleetVolume.CostUnknownReason | null) | undefined;
35
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;
36
+ unpriced_reason?: (string | null) | undefined;
37
37
  /** While period_cost is null, the last day any bill line named the volume; null if none ever */
38
38
  last_billed_on?: (string | null) | undefined;
39
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 */
@@ -1,5 +1,5 @@
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 */
2
+ /** False when no cost data exists for the provider, or none is recent enough to project from: every figure is then a placeholder zero, not a forecast */
3
3
  has_cost_data?: boolean | undefined;
4
4
  /** Forecasted value for the horizon */
5
5
  forecast_value: number;
@@ -19,9 +19,9 @@ export interface ForecastData {
19
19
  booked_to_date?: (number | null) | undefined;
20
20
  /** Median daily spend the projection uses */
21
21
  daily_rate?: (number | null) | undefined;
22
- /** Days the projection covers, counted from the last actual */
22
+ /** Days the projection covers: from the last actual to the month's end, or every day of the month while it has no row yet. For `all`, the longest of the providers. */
23
23
  days_remaining?: (number | null) | undefined;
24
- /** Last day with billing data, YYYY-MM-DD. Days after it are projected, not booked. */
24
+ /** Last day with billing data, YYYY-MM-DD. Days after it are projected, not booked. Before the month has a row it is a day of last month, and for `all` the oldest of the providers that project. */
25
25
  actuals_through?: (string | null) | undefined;
26
26
  /** How far behind today the billing data stops. Above zero means the projection covers days already past. */
27
27
  days_since_last_actual?: (number | null) | undefined;
@@ -1,5 +1,5 @@
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 */
2
+ /** False when no cost data exists for the provider, or none is recent enough to project from: every figure is then a placeholder zero, not a forecast */
3
3
  has_cost_data?: boolean | undefined;
4
4
  /** Forecasted value for the horizon */
5
5
  forecast_value: number;
@@ -19,9 +19,9 @@ export interface ForecastData {
19
19
  booked_to_date?: (number | null) | undefined;
20
20
  /** Median daily spend the projection uses */
21
21
  daily_rate?: (number | null) | undefined;
22
- /** Days the projection covers, counted from the last actual */
22
+ /** Days the projection covers: from the last actual to the month's end, or every day of the month while it has no row yet. For `all`, the longest of the providers. */
23
23
  days_remaining?: (number | null) | undefined;
24
- /** Last day with billing data, YYYY-MM-DD. Days after it are projected, not booked. */
24
+ /** Last day with billing data, YYYY-MM-DD. Days after it are projected, not booked. Before the month has a row it is a day of last month, and for `all` the oldest of the providers that project. */
25
25
  actuals_through?: (string | null) | undefined;
26
26
  /** How far behind today the billing data stops. Above zero means the projection covers days already past. */
27
27
  days_since_last_actual?: (number | null) | undefined;
@@ -11,6 +11,8 @@ export interface HeldChange {
11
11
  name: string;
12
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
13
  fix: HeldChange.Fix;
14
+ /** With the fix other, the reason its sentence names: the first of its reasons in BlockerReason's order (do_not_disrupt, pdb, node_affinity, anti_affinity, topology_spread, taints, local_storage, safe_to_evict, kube_system, no_controller); null with any other fix, which names its own cause (dashboard#1689) */
15
+ fix_reason?: (HeldChange.FixReason | null) | undefined;
14
16
  /** The kinds of blocker its pods raise at the latest batch */
15
17
  reasons: HeldChange.Reasons.Item[];
16
18
  /** Whether it holds a node now that would go once its blockers clear and no open recommendation covers */
@@ -37,6 +39,20 @@ export declare namespace HeldChange {
37
39
  readonly Other: "other";
38
40
  };
39
41
  type Fix = (typeof Fix)[keyof typeof Fix];
42
+ const FixReason: {
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 FixReason = (typeof FixReason)[keyof typeof FixReason];
40
56
  type Reasons = Reasons.Item[];
41
57
  namespace Reasons {
42
58
  const Item: {
@@ -11,6 +11,8 @@ export interface HeldChange {
11
11
  name: string;
12
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
13
  fix: HeldChange.Fix;
14
+ /** With the fix other, the reason its sentence names: the first of its reasons in BlockerReason's order (do_not_disrupt, pdb, node_affinity, anti_affinity, topology_spread, taints, local_storage, safe_to_evict, kube_system, no_controller); null with any other fix, which names its own cause (dashboard#1689) */
15
+ fix_reason?: (HeldChange.FixReason | null) | undefined;
14
16
  /** The kinds of blocker its pods raise at the latest batch */
15
17
  reasons: HeldChange.Reasons.Item[];
16
18
  /** Whether it holds a node now that would go once its blockers clear and no open recommendation covers */
@@ -37,6 +39,20 @@ export declare namespace HeldChange {
37
39
  readonly Other: "other";
38
40
  };
39
41
  type Fix = (typeof Fix)[keyof typeof Fix];
42
+ const FixReason: {
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 FixReason = (typeof FixReason)[keyof typeof FixReason];
40
56
  type Reasons = Reasons.Item[];
41
57
  namespace Reasons {
42
58
  const Item: {
@@ -29,6 +29,19 @@ var HeldChange;
29
29
  DoNotDisrupt: "do_not_disrupt",
30
30
  Other: "other"
31
31
  };
32
+ HeldChange2.FixReason = {
33
+ DoNotDisrupt: "do_not_disrupt",
34
+ Pdb: "pdb",
35
+ NodeAffinity: "node_affinity",
36
+ AntiAffinity: "anti_affinity",
37
+ TopologySpread: "topology_spread",
38
+ Taints: "taints",
39
+ LocalStorage: "local_storage",
40
+ SafeToEvict: "safe_to_evict",
41
+ KubeSystem: "kube_system",
42
+ NoController: "no_controller",
43
+ StaticPod: "static_pod"
44
+ };
32
45
  let Reasons;
33
46
  ((Reasons2) => {
34
47
  Reasons2.Item = {
@@ -6,6 +6,19 @@ var HeldChange;
6
6
  DoNotDisrupt: "do_not_disrupt",
7
7
  Other: "other"
8
8
  };
9
+ HeldChange2.FixReason = {
10
+ DoNotDisrupt: "do_not_disrupt",
11
+ Pdb: "pdb",
12
+ NodeAffinity: "node_affinity",
13
+ AntiAffinity: "anti_affinity",
14
+ TopologySpread: "topology_spread",
15
+ Taints: "taints",
16
+ LocalStorage: "local_storage",
17
+ SafeToEvict: "safe_to_evict",
18
+ KubeSystem: "kube_system",
19
+ NoController: "no_controller",
20
+ StaticPod: "static_pod"
21
+ };
9
22
  let Reasons;
10
23
  ((Reasons2) => {
11
24
  Reasons2.Item = {
@@ -0,0 +1,9 @@
1
+ /**
2
+ * How many held nodes end one way once their changes land (dashboard#1689).
3
+ */
4
+ export interface HeldOutcome {
5
+ /** goes (it goes once its changes land, the nodes_would_free); covered (an open recommendation covers it, so its cost counts there); the node_kept_reason it stays for (pods_need_room, pool_removes_only_empty, pool_never_consolidates, autoscaler_threshold); the node_not_known_reason it is not known for (not_worked_out, pool_not_reported, budget_not_reported); unknown for a node that would stay with no reason given. A code the reader does not know reads as not known */
6
+ outcome: string;
7
+ /** The held nodes with this outcome */
8
+ nodes: number;
9
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * How many held nodes end one way once their changes land (dashboard#1689).
3
+ */
4
+ export interface HeldOutcome {
5
+ /** goes (it goes once its changes land, the nodes_would_free); covered (an open recommendation covers it, so its cost counts there); the node_kept_reason it stays for (pods_need_room, pool_removes_only_empty, pool_never_consolidates, autoscaler_threshold); the node_not_known_reason it is not known for (not_worked_out, pool_not_reported, budget_not_reported); unknown for a node that would stay with no reason given. A code the reader does not know reads as not known */
6
+ outcome: string;
7
+ /** The held nodes with this outcome */
8
+ nodes: number;
9
+ }
@@ -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 HeldOutcome_exports = {};
16
+ module.exports = __toCommonJS(HeldOutcome_exports);
17
+ //# sourceMappingURL=HeldOutcome.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=HeldOutcome.mjs.map
@@ -0,0 +1,40 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface Impact {
3
+ requests?: (LevelFour.ImpactRequests | null) | undefined;
4
+ /** Every container of these workloads, as on the Efficiency tab. The estimate counts only the containers LevelFour changed, so the two don't subtract */
5
+ waste_per_day?: (LevelFour.ImpactWaste | null) | undefined;
6
+ oom?: (LevelFour.ImpactCount | null) | undefined;
7
+ /** Null where no hour carried a throttling figure */
8
+ throttled?: (LevelFour.ImpactCount | null) | undefined;
9
+ /** What a month of the requests the changes freed is worth, an estimate at the rates your bill's nodes work out to. A raise takes from it. A container with no rate for a resource it moved, or with no request of either on the last day watched, is out of it. It never adds to saved, and it is no saving until a node leaves */
10
+ estimated_monthly_usd?: (number | null) | undefined;
11
+ /** The last day the bill priced every cluster it prices now. A cluster whose bill is over 7 days behind the newest is none of them */
12
+ priced_through?: (string | null) | undefined;
13
+ /** The first day a cluster counted was watched */
14
+ first_report_day?: (string | null) | undefined;
15
+ measuring?: (LevelFour.ImpactMeasuring | null) | undefined;
16
+ /** acting once a change reached a pod, measuring while a workload is measured before its first one, off otherwise */
17
+ state: Impact.State;
18
+ scope: LevelFour.ImpactScope;
19
+ measured_through?: (LevelFour.ImpactMeasuredThrough | null) | undefined;
20
+ /** Of the namespaces of the scope on now, the one turned on first in LevelFour: its newest change from off, or from a preview, to on. A preview changes nothing, so it turns none on. Null where no such change was recorded: a configuration object that turns one on records none */
21
+ automated_since?: (string | null) | undefined;
22
+ changes?: (LevelFour.ImpactChanges | null) | undefined;
23
+ /** A projection, only while nothing changed yet, and null with fewer than 3 days priced */
24
+ waste_monthly_pace_usd?: (LevelFour.ImpactPace | null) | undefined;
25
+ /** The Saved view's own figures for every connected cluster asked about, one no other figure counts included. Null for a namespace */
26
+ saved_by_pull_request?: (LevelFour.ImpactSaved | null) | undefined;
27
+ /** Always null: what the automation's own changes took off the bill is not measured */
28
+ automation_saved?: (number | null) | undefined;
29
+ /** 90 days ending yesterday, oldest first, of the resource asked for. The only cluster asked about keeps the days it was watched once it stopped; null with nothing changed and nothing being measured */
30
+ series?: (LevelFour.ImpactPoint[] | null) | undefined;
31
+ }
32
+ export declare namespace Impact {
33
+ /** acting once a change reached a pod, measuring while a workload is measured before its first one, off otherwise */
34
+ const State: {
35
+ readonly Off: "off";
36
+ readonly Measuring: "measuring";
37
+ readonly Acting: "acting";
38
+ };
39
+ type State = (typeof State)[keyof typeof State];
40
+ }
@@ -0,0 +1,40 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface Impact {
3
+ requests?: (LevelFour.ImpactRequests | null) | undefined;
4
+ /** Every container of these workloads, as on the Efficiency tab. The estimate counts only the containers LevelFour changed, so the two don't subtract */
5
+ waste_per_day?: (LevelFour.ImpactWaste | null) | undefined;
6
+ oom?: (LevelFour.ImpactCount | null) | undefined;
7
+ /** Null where no hour carried a throttling figure */
8
+ throttled?: (LevelFour.ImpactCount | null) | undefined;
9
+ /** What a month of the requests the changes freed is worth, an estimate at the rates your bill's nodes work out to. A raise takes from it. A container with no rate for a resource it moved, or with no request of either on the last day watched, is out of it. It never adds to saved, and it is no saving until a node leaves */
10
+ estimated_monthly_usd?: (number | null) | undefined;
11
+ /** The last day the bill priced every cluster it prices now. A cluster whose bill is over 7 days behind the newest is none of them */
12
+ priced_through?: (string | null) | undefined;
13
+ /** The first day a cluster counted was watched */
14
+ first_report_day?: (string | null) | undefined;
15
+ measuring?: (LevelFour.ImpactMeasuring | null) | undefined;
16
+ /** acting once a change reached a pod, measuring while a workload is measured before its first one, off otherwise */
17
+ state: Impact.State;
18
+ scope: LevelFour.ImpactScope;
19
+ measured_through?: (LevelFour.ImpactMeasuredThrough | null) | undefined;
20
+ /** Of the namespaces of the scope on now, the one turned on first in LevelFour: its newest change from off, or from a preview, to on. A preview changes nothing, so it turns none on. Null where no such change was recorded: a configuration object that turns one on records none */
21
+ automated_since?: (string | null) | undefined;
22
+ changes?: (LevelFour.ImpactChanges | null) | undefined;
23
+ /** A projection, only while nothing changed yet, and null with fewer than 3 days priced */
24
+ waste_monthly_pace_usd?: (LevelFour.ImpactPace | null) | undefined;
25
+ /** The Saved view's own figures for every connected cluster asked about, one no other figure counts included. Null for a namespace */
26
+ saved_by_pull_request?: (LevelFour.ImpactSaved | null) | undefined;
27
+ /** Always null: what the automation's own changes took off the bill is not measured */
28
+ automation_saved?: (number | null) | undefined;
29
+ /** 90 days ending yesterday, oldest first, of the resource asked for. The only cluster asked about keeps the days it was watched once it stopped; null with nothing changed and nothing being measured */
30
+ series?: (LevelFour.ImpactPoint[] | null) | undefined;
31
+ }
32
+ export declare namespace Impact {
33
+ /** acting once a change reached a pod, measuring while a workload is measured before its first one, off otherwise */
34
+ const State: {
35
+ readonly Off: "off";
36
+ readonly Measuring: "measuring";
37
+ readonly Acting: "acting";
38
+ };
39
+ type State = (typeof State)[keyof typeof State];
40
+ }
@@ -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 Impact_exports = {};
20
+ __export(Impact_exports, {
21
+ Impact: () => Impact
22
+ });
23
+ module.exports = __toCommonJS(Impact_exports);
24
+ var Impact;
25
+ ((Impact2) => {
26
+ Impact2.State = {
27
+ Off: "off",
28
+ Measuring: "measuring",
29
+ Acting: "acting"
30
+ };
31
+ })(Impact || (Impact = {}));
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ Impact
35
+ });
36
+ //# sourceMappingURL=Impact.js.map
@@ -0,0 +1,12 @@
1
+ var Impact;
2
+ ((Impact2) => {
3
+ Impact2.State = {
4
+ Off: "off",
5
+ Measuring: "measuring",
6
+ Acting: "acting"
7
+ };
8
+ })(Impact || (Impact = {}));
9
+ export {
10
+ Impact
11
+ };
12
+ //# sourceMappingURL=Impact.mjs.map
@@ -0,0 +1,5 @@
1
+ export interface ImpactBeforeNow {
2
+ before?: (number | null) | undefined;
3
+ /** With no changed container seen that day, what the ones being measured requested, with no before. A total never counts it */
4
+ now?: (number | null) | undefined;
5
+ }
@@ -0,0 +1,5 @@
1
+ export interface ImpactBeforeNow {
2
+ before?: (number | null) | undefined;
3
+ /** With no changed container seen that day, what the ones being measured requested, with no before. A total never counts it */
4
+ now?: (number | null) | undefined;
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 ImpactBeforeNow_exports = {};
16
+ module.exports = __toCommonJS(ImpactBeforeNow_exports);
17
+ //# sourceMappingURL=ImpactBeforeNow.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ImpactBeforeNow.mjs.map
@@ -0,0 +1,47 @@
1
+ export interface ImpactChange {
2
+ /** The row's own: the action's for a change, derived from it for its way back */
3
+ id: string;
4
+ action_id: string;
5
+ what: ImpactChange.What;
6
+ /** The change's number in the order they reached the workload */
7
+ n: number;
8
+ occurred_at: string;
9
+ cluster_id: string;
10
+ cluster_name: string;
11
+ namespace: string;
12
+ kind: string;
13
+ name: string;
14
+ container: string;
15
+ resource: ImpactChange.Resource;
16
+ before?: (number | null) | undefined;
17
+ after?: (number | null) | undefined;
18
+ /** Why it was asked for, by the code the activity log gives its event. Null on a way back */
19
+ reason?: (string | null) | undefined;
20
+ result: ImpactChange.Result;
21
+ /** Where the action stands now */
22
+ status: string;
23
+ /** The person LevelFour verified. Null on a way back */
24
+ approved_by?: (string | null) | undefined;
25
+ /** Who the object that turned it on declares, which anyone who may write the object can set */
26
+ approved_by_declared?: (string | null) | undefined;
27
+ /** The event that opens the activity log at this row */
28
+ event_id: string;
29
+ }
30
+ export declare namespace ImpactChange {
31
+ const What: {
32
+ readonly Applied: "applied";
33
+ readonly RolledBack: "rolled_back";
34
+ };
35
+ type What = (typeof What)[keyof typeof What];
36
+ const Resource: {
37
+ readonly CpuMilli: "cpu_milli";
38
+ readonly MemoryBytes: "memory_bytes";
39
+ };
40
+ type Resource = (typeof Resource)[keyof typeof Resource];
41
+ const Result: {
42
+ readonly RolledBack: "rolled_back";
43
+ readonly InProgress: "in_progress";
44
+ readonly Changed: "changed";
45
+ };
46
+ type Result = (typeof Result)[keyof typeof Result];
47
+ }