levelfour 1.6.0 → 1.7.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 (387) hide show
  1. package/dist/Client.d.mts +3 -0
  2. package/dist/Client.d.ts +3 -0
  3. package/dist/Client.js +25 -20
  4. package/dist/Client.mjs +5 -0
  5. package/dist/api/resources/boards/client/Client.d.mts +3 -2
  6. package/dist/api/resources/boards/client/Client.d.ts +3 -2
  7. package/dist/api/resources/boards/client/Client.js +10 -5
  8. package/dist/api/resources/boards/client/Client.mjs +10 -5
  9. package/dist/api/resources/boards/client/requests/ListBoardsRequest.d.mts +8 -0
  10. package/dist/api/resources/boards/client/requests/ListBoardsRequest.d.ts +8 -0
  11. package/dist/api/resources/boards/client/requests/ListBoardsRequest.js +17 -0
  12. package/dist/api/resources/boards/client/requests/ListBoardsRequest.mjs +1 -0
  13. package/dist/api/resources/boards/client/requests/index.d.mts +1 -0
  14. package/dist/api/resources/boards/client/requests/index.d.ts +1 -0
  15. package/dist/api/resources/index.d.mts +3 -0
  16. package/dist/api/resources/index.d.ts +3 -0
  17. package/dist/api/resources/index.js +8 -1
  18. package/dist/api/resources/index.mjs +4 -0
  19. package/dist/api/resources/kubernetes/client/Client.d.mts +54 -0
  20. package/dist/api/resources/kubernetes/client/Client.d.ts +54 -0
  21. package/dist/api/resources/kubernetes/client/Client.js +251 -0
  22. package/dist/api/resources/kubernetes/client/Client.mjs +217 -0
  23. package/dist/api/resources/kubernetes/client/index.d.mts +1 -0
  24. package/dist/api/resources/kubernetes/client/index.d.ts +1 -0
  25. package/dist/api/resources/kubernetes/client/index.js +23 -0
  26. package/dist/api/resources/kubernetes/client/index.mjs +2 -0
  27. package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.d.mts +9 -0
  28. package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.d.ts +9 -0
  29. package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.js +17 -0
  30. package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.mjs +1 -0
  31. package/dist/api/resources/kubernetes/client/requests/index.d.mts +1 -0
  32. package/dist/api/resources/kubernetes/client/requests/index.d.ts +1 -0
  33. package/dist/api/resources/kubernetes/client/requests/index.js +17 -0
  34. package/dist/api/resources/kubernetes/client/requests/index.mjs +1 -0
  35. package/dist/api/resources/kubernetes/exports.d.mts +2 -0
  36. package/dist/api/resources/kubernetes/exports.d.ts +2 -0
  37. package/dist/api/resources/kubernetes/exports.js +32 -0
  38. package/dist/api/resources/kubernetes/exports.mjs +6 -0
  39. package/dist/api/resources/kubernetes/index.d.mts +1 -0
  40. package/dist/api/resources/kubernetes/index.d.ts +1 -0
  41. package/dist/api/resources/kubernetes/index.js +23 -0
  42. package/dist/api/resources/kubernetes/index.mjs +2 -0
  43. package/dist/api/resources/workspace/client/Client.d.mts +2 -1
  44. package/dist/api/resources/workspace/client/Client.d.ts +2 -1
  45. package/dist/api/resources/workspace/client/Client.js +7 -3
  46. package/dist/api/resources/workspace/client/Client.mjs +7 -3
  47. package/dist/api/resources/workspace/client/index.d.mts +1 -1
  48. package/dist/api/resources/workspace/client/index.d.ts +1 -1
  49. package/dist/api/resources/workspace/client/index.js +6 -0
  50. package/dist/api/resources/workspace/client/index.mjs +1 -0
  51. package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.d.mts +23 -0
  52. package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.d.ts +23 -0
  53. package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.js +39 -0
  54. package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.mjs +15 -0
  55. package/dist/api/resources/workspace/client/requests/index.d.mts +1 -0
  56. package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
  57. package/dist/api/resources/workspace/client/requests/index.js +29 -0
  58. package/dist/api/resources/workspace/client/requests/index.mjs +5 -0
  59. package/dist/api/types/AccountItem.d.mts +4 -0
  60. package/dist/api/types/AccountItem.d.ts +4 -0
  61. package/dist/api/types/AutomationAction.d.mts +33 -1
  62. package/dist/api/types/AutomationAction.d.ts +33 -1
  63. package/dist/api/types/AutomationAction.js +31 -3
  64. package/dist/api/types/AutomationAction.mjs +31 -3
  65. package/dist/api/types/AutomationComponent.d.mts +6 -0
  66. package/dist/api/types/AutomationComponent.d.ts +6 -0
  67. package/dist/api/types/AutomationEvent.d.mts +13 -0
  68. package/dist/api/types/AutomationEvent.d.ts +13 -0
  69. package/dist/api/types/AutomationEvent.js +21 -0
  70. package/dist/api/types/AutomationEvent.mjs +13 -0
  71. package/dist/api/types/AutomationEventList.d.mts +3 -1
  72. package/dist/api/types/AutomationEventList.d.ts +3 -1
  73. package/dist/api/types/AutomationSettings.d.mts +9 -0
  74. package/dist/api/types/AutomationSettings.d.ts +9 -0
  75. package/dist/api/types/AutoscalerCounts.d.mts +8 -0
  76. package/dist/api/types/AutoscalerCounts.d.ts +8 -0
  77. package/dist/api/types/AutoscalerCounts.js +17 -0
  78. package/dist/api/types/AutoscalerCounts.mjs +1 -0
  79. package/dist/api/types/Board.d.mts +1 -1
  80. package/dist/api/types/Board.d.ts +1 -1
  81. package/dist/api/types/BothBasesTotals.d.mts +5 -0
  82. package/dist/api/types/BothBasesTotals.d.ts +5 -0
  83. package/dist/api/types/BothBasesTotals.js +17 -0
  84. package/dist/api/types/BothBasesTotals.mjs +1 -0
  85. package/dist/api/types/ClusterAutomation.d.mts +1 -0
  86. package/dist/api/types/ClusterAutomation.d.ts +1 -0
  87. package/dist/api/types/ClusterConfig.d.mts +15 -0
  88. package/dist/api/types/ClusterConfig.d.ts +15 -0
  89. package/dist/api/types/ClusterConfig.js +17 -0
  90. package/dist/api/types/ClusterConfig.mjs +1 -0
  91. package/dist/api/types/ClusterFilterOptions.d.mts +5 -0
  92. package/dist/api/types/ClusterFilterOptions.d.ts +5 -0
  93. package/dist/api/types/ClusterItem.d.mts +22 -0
  94. package/dist/api/types/ClusterItem.d.ts +22 -0
  95. package/dist/api/types/ClusterSummary.d.mts +16 -0
  96. package/dist/api/types/ClusterSummary.d.ts +16 -0
  97. package/dist/api/types/ComputeMonth.d.mts +10 -0
  98. package/dist/api/types/ComputeMonth.d.ts +10 -0
  99. package/dist/api/types/ComputeMonth.js +17 -0
  100. package/dist/api/types/ComputeMonth.mjs +1 -0
  101. package/dist/api/types/ConfigLock.d.mts +6 -0
  102. package/dist/api/types/ConfigLock.d.ts +6 -0
  103. package/dist/api/types/ConfigLock.js +17 -0
  104. package/dist/api/types/ConfigLock.mjs +1 -0
  105. package/dist/api/types/ConfigObjectView.d.mts +41 -0
  106. package/dist/api/types/ConfigObjectView.d.ts +41 -0
  107. package/dist/api/types/ConfigObjectView.js +48 -0
  108. package/dist/api/types/ConfigObjectView.mjs +24 -0
  109. package/dist/api/types/ConfigTarget.d.mts +12 -0
  110. package/dist/api/types/ConfigTarget.d.ts +12 -0
  111. package/dist/api/types/ConfigTarget.js +36 -0
  112. package/dist/api/types/ConfigTarget.mjs +12 -0
  113. package/dist/api/types/ContainerDetail.d.mts +2 -0
  114. package/dist/api/types/ContainerDetail.d.ts +2 -0
  115. package/dist/api/types/CostGroup.d.mts +2 -0
  116. package/dist/api/types/CostGroup.d.ts +2 -0
  117. package/dist/api/types/CostPair.d.mts +6 -0
  118. package/dist/api/types/CostPair.d.ts +6 -0
  119. package/dist/api/types/CostPair.js +17 -0
  120. package/dist/api/types/CostPair.mjs +1 -0
  121. package/dist/api/types/DatadogHygieneData.d.mts +1 -1
  122. package/dist/api/types/DatadogHygieneData.d.ts +1 -1
  123. package/dist/api/types/DatadogHygieneRule.d.mts +3 -1
  124. package/dist/api/types/DatadogHygieneRule.d.ts +3 -1
  125. package/dist/api/types/EfficiencyPoint.d.mts +6 -0
  126. package/dist/api/types/EfficiencyPoint.d.ts +6 -0
  127. package/dist/api/types/EksAddon.d.mts +7 -0
  128. package/dist/api/types/EksAddon.d.ts +7 -0
  129. package/dist/api/types/EksAddon.js +17 -0
  130. package/dist/api/types/EksAddon.mjs +1 -0
  131. package/dist/api/types/EksCluster.d.mts +34 -0
  132. package/dist/api/types/EksCluster.d.ts +34 -0
  133. package/dist/api/types/EksCluster.js +42 -0
  134. package/dist/api/types/EksCluster.mjs +18 -0
  135. package/dist/api/types/EksClusterConfig.d.mts +29 -0
  136. package/dist/api/types/EksClusterConfig.d.ts +29 -0
  137. package/dist/api/types/EksClusterConfig.js +17 -0
  138. package/dist/api/types/EksClusterConfig.mjs +1 -0
  139. package/dist/api/types/EksClusterResponse.d.mts +6 -0
  140. package/dist/api/types/EksClusterResponse.d.ts +6 -0
  141. package/dist/api/types/EksClusterResponse.js +17 -0
  142. package/dist/api/types/EksClusterResponse.mjs +1 -0
  143. package/dist/api/types/EksFleetData.d.mts +4 -0
  144. package/dist/api/types/EksFleetData.d.ts +4 -0
  145. package/dist/api/types/EksFleetData.js +17 -0
  146. package/dist/api/types/EksFleetData.mjs +1 -0
  147. package/dist/api/types/EksFleetResponse.d.mts +6 -0
  148. package/dist/api/types/EksFleetResponse.d.ts +6 -0
  149. package/dist/api/types/EksFleetResponse.js +17 -0
  150. package/dist/api/types/EksFleetResponse.mjs +1 -0
  151. package/dist/api/types/EksHealthIssue.d.mts +4 -0
  152. package/dist/api/types/EksHealthIssue.d.ts +4 -0
  153. package/dist/api/types/EksHealthIssue.js +17 -0
  154. package/dist/api/types/EksHealthIssue.mjs +1 -0
  155. package/dist/api/types/EksInsight.d.mts +9 -0
  156. package/dist/api/types/EksInsight.d.ts +9 -0
  157. package/dist/api/types/EksInsight.js +17 -0
  158. package/dist/api/types/EksInsight.mjs +1 -0
  159. package/dist/api/types/EksLogging.d.mts +7 -0
  160. package/dist/api/types/EksLogging.d.ts +7 -0
  161. package/dist/api/types/EksLogging.js +17 -0
  162. package/dist/api/types/EksLogging.mjs +1 -0
  163. package/dist/api/types/EksNetworking.d.mts +9 -0
  164. package/dist/api/types/EksNetworking.d.ts +9 -0
  165. package/dist/api/types/EksNetworking.js +17 -0
  166. package/dist/api/types/EksNetworking.mjs +1 -0
  167. package/dist/api/types/EksPodIdentity.d.mts +4 -0
  168. package/dist/api/types/EksPodIdentity.d.ts +4 -0
  169. package/dist/api/types/EksPodIdentity.js +17 -0
  170. package/dist/api/types/EksPodIdentity.mjs +1 -0
  171. package/dist/api/types/EksSupport.d.mts +8 -0
  172. package/dist/api/types/EksSupport.d.ts +8 -0
  173. package/dist/api/types/EksSupport.js +17 -0
  174. package/dist/api/types/EksSupport.mjs +1 -0
  175. package/dist/api/types/EksUnreadable.d.mts +5 -0
  176. package/dist/api/types/EksUnreadable.d.ts +5 -0
  177. package/dist/api/types/EksUnreadable.js +17 -0
  178. package/dist/api/types/EksUnreadable.mjs +1 -0
  179. package/dist/api/types/FleetNamespace.d.mts +78 -0
  180. package/dist/api/types/FleetNamespace.d.ts +78 -0
  181. package/dist/api/types/FleetNamespace.js +49 -0
  182. package/dist/api/types/FleetNamespace.mjs +25 -0
  183. package/dist/api/types/FleetNamespaceListData.d.mts +7 -0
  184. package/dist/api/types/FleetNamespaceListData.d.ts +7 -0
  185. package/dist/api/types/FleetNamespaceListData.js +17 -0
  186. package/dist/api/types/FleetNamespaceListData.mjs +1 -0
  187. package/dist/api/types/FleetNamespaceListResponse.d.mts +6 -0
  188. package/dist/api/types/FleetNamespaceListResponse.d.ts +6 -0
  189. package/dist/api/types/FleetNamespaceListResponse.js +17 -0
  190. package/dist/api/types/FleetNamespaceListResponse.mjs +1 -0
  191. package/dist/api/types/FleetNetworkDestinations.d.mts +5 -0
  192. package/dist/api/types/FleetNetworkDestinations.d.ts +5 -0
  193. package/dist/api/types/FleetNetworkDestinations.js +17 -0
  194. package/dist/api/types/FleetNetworkDestinations.mjs +1 -0
  195. package/dist/api/types/FleetNetworkDestinationsResponse.d.mts +6 -0
  196. package/dist/api/types/FleetNetworkDestinationsResponse.d.ts +6 -0
  197. package/dist/api/types/FleetNetworkDestinationsResponse.js +17 -0
  198. package/dist/api/types/FleetNetworkDestinationsResponse.mjs +1 -0
  199. package/dist/api/types/FleetStorage.d.mts +14 -0
  200. package/dist/api/types/FleetStorage.d.ts +14 -0
  201. package/dist/api/types/FleetStorage.js +17 -0
  202. package/dist/api/types/FleetStorage.mjs +1 -0
  203. package/dist/api/types/FleetSummary.d.mts +10 -0
  204. package/dist/api/types/FleetSummary.d.ts +10 -0
  205. package/dist/api/types/FleetTotals.d.mts +4 -0
  206. package/dist/api/types/FleetTotals.d.ts +4 -0
  207. package/dist/api/types/FleetWorkload.d.mts +18 -0
  208. package/dist/api/types/FleetWorkload.d.ts +18 -0
  209. package/dist/api/types/FleetWorkload.js +20 -0
  210. package/dist/api/types/FleetWorkload.mjs +12 -0
  211. package/dist/api/types/FleetWorkloadListData.d.mts +1 -1
  212. package/dist/api/types/FleetWorkloadListData.d.ts +1 -1
  213. package/dist/api/types/FleetWorkloadPair.d.mts +10 -0
  214. package/dist/api/types/FleetWorkloadPair.d.ts +10 -0
  215. package/dist/api/types/FleetWorkloadPair.js +17 -0
  216. package/dist/api/types/FleetWorkloadPair.mjs +1 -0
  217. package/dist/api/types/HardLimits.d.mts +7 -0
  218. package/dist/api/types/HardLimits.d.ts +7 -0
  219. package/dist/api/types/HardLimits.js +17 -0
  220. package/dist/api/types/HardLimits.mjs +1 -0
  221. package/dist/api/types/KubernetesDataAvailability.d.mts +2 -0
  222. package/dist/api/types/KubernetesDataAvailability.d.ts +2 -0
  223. package/dist/api/types/LensTotals.d.mts +12 -0
  224. package/dist/api/types/LensTotals.d.ts +12 -0
  225. package/dist/api/types/NamespaceAutomation.d.mts +17 -0
  226. package/dist/api/types/NamespaceAutomation.d.ts +17 -0
  227. package/dist/api/types/NamespaceAutomation.js +6 -0
  228. package/dist/api/types/NamespaceAutomation.mjs +6 -0
  229. package/dist/api/types/NamespaceItem.d.mts +14 -1
  230. package/dist/api/types/NamespaceItem.d.ts +14 -1
  231. package/dist/api/types/NamespaceItem.js +1 -0
  232. package/dist/api/types/NamespaceItem.mjs +1 -0
  233. package/dist/api/types/NamespaceScope.d.mts +3 -2
  234. package/dist/api/types/NamespaceScope.d.ts +3 -2
  235. package/dist/api/types/NamespaceScope.js +1 -0
  236. package/dist/api/types/NamespaceScope.mjs +1 -0
  237. package/dist/api/types/NetworkDayUsage.d.mts +2 -0
  238. package/dist/api/types/NetworkDayUsage.d.ts +2 -0
  239. package/dist/api/types/NodeConditionItem.d.mts +7 -0
  240. package/dist/api/types/NodeConditionItem.d.ts +7 -0
  241. package/dist/api/types/NodeConditionItem.js +17 -0
  242. package/dist/api/types/NodeConditionItem.mjs +1 -0
  243. package/dist/api/types/NodeDetail.d.mts +6 -0
  244. package/dist/api/types/NodeDetail.d.ts +6 -0
  245. package/dist/api/types/NodeFacets.d.mts +2 -0
  246. package/dist/api/types/NodeFacets.d.ts +2 -0
  247. package/dist/api/types/NodeInfoItem.d.mts +8 -0
  248. package/dist/api/types/NodeInfoItem.d.ts +8 -0
  249. package/dist/api/types/NodeInfoItem.js +17 -0
  250. package/dist/api/types/NodeInfoItem.mjs +1 -0
  251. package/dist/api/types/PodPhases.d.mts +6 -0
  252. package/dist/api/types/PodPhases.d.ts +6 -0
  253. package/dist/api/types/PodPhases.js +17 -0
  254. package/dist/api/types/PodPhases.mjs +1 -0
  255. package/dist/api/types/PoolBillEffect.d.mts +25 -0
  256. package/dist/api/types/PoolBillEffect.d.ts +25 -0
  257. package/dist/api/types/PoolBillEffect.js +35 -0
  258. package/dist/api/types/PoolBillEffect.mjs +11 -0
  259. package/dist/api/types/PotentialSavings.d.mts +5 -0
  260. package/dist/api/types/PotentialSavings.d.ts +5 -0
  261. package/dist/api/types/ProviderShare.d.mts +9 -0
  262. package/dist/api/types/ProviderShare.d.ts +9 -0
  263. package/dist/api/types/ProviderShare.js +17 -0
  264. package/dist/api/types/ProviderShare.mjs +1 -0
  265. package/dist/api/types/PurchaseTypeShare.d.mts +4 -0
  266. package/dist/api/types/PurchaseTypeShare.d.ts +4 -0
  267. package/dist/api/types/RealizedBlocker.d.mts +5 -0
  268. package/dist/api/types/RealizedBlocker.d.ts +5 -0
  269. package/dist/api/types/RealizedBlocker.js +17 -0
  270. package/dist/api/types/RealizedBlocker.mjs +1 -0
  271. package/dist/api/types/RealizedPool.d.mts +6 -0
  272. package/dist/api/types/RealizedPool.d.ts +6 -0
  273. package/dist/api/types/RealizedPool.js +17 -0
  274. package/dist/api/types/RealizedPool.mjs +1 -0
  275. package/dist/api/types/RealizedRightsizing.d.mts +12 -0
  276. package/dist/api/types/RealizedRightsizing.d.ts +12 -0
  277. package/dist/api/types/RealizedRightsizing.js +17 -0
  278. package/dist/api/types/RealizedRightsizing.mjs +1 -0
  279. package/dist/api/types/RealizedRightsizingResponse.d.mts +6 -0
  280. package/dist/api/types/RealizedRightsizingResponse.d.ts +6 -0
  281. package/dist/api/types/RealizedRightsizingResponse.js +17 -0
  282. package/dist/api/types/RealizedRightsizingResponse.mjs +1 -0
  283. package/dist/api/types/RealizedTotal.d.mts +4 -0
  284. package/dist/api/types/RealizedTotal.d.ts +4 -0
  285. package/dist/api/types/RealizedTotal.js +17 -0
  286. package/dist/api/types/RealizedTotal.mjs +1 -0
  287. package/dist/api/types/ReliabilityEventDay.d.mts +6 -0
  288. package/dist/api/types/ReliabilityEventDay.d.ts +6 -0
  289. package/dist/api/types/ReliabilityEventDay.js +17 -0
  290. package/dist/api/types/ReliabilityEventDay.mjs +1 -0
  291. package/dist/api/types/ReliabilityGroup.d.mts +9 -0
  292. package/dist/api/types/ReliabilityGroup.d.ts +9 -0
  293. package/dist/api/types/ReliabilityGroup.js +17 -0
  294. package/dist/api/types/ReliabilityGroup.mjs +1 -0
  295. package/dist/api/types/ReliabilityLens.d.mts +2 -0
  296. package/dist/api/types/ReliabilityLens.d.ts +2 -0
  297. package/dist/api/types/ResourceCapacity.d.mts +12 -0
  298. package/dist/api/types/ResourceCapacity.d.ts +12 -0
  299. package/dist/api/types/ResourceCapacity.js +17 -0
  300. package/dist/api/types/ResourceCapacity.mjs +1 -0
  301. package/dist/api/types/ResourceEfficiency.d.mts +2 -0
  302. package/dist/api/types/ResourceEfficiency.d.ts +2 -0
  303. package/dist/api/types/RightsizeGuardrails.d.mts +9 -0
  304. package/dist/api/types/RightsizeGuardrails.d.ts +9 -0
  305. package/dist/api/types/RightsizeGuardrails.js +17 -0
  306. package/dist/api/types/RightsizeGuardrails.mjs +1 -0
  307. package/dist/api/types/RightsizeGuardrailsChange.d.mts +9 -0
  308. package/dist/api/types/RightsizeGuardrailsChange.d.ts +9 -0
  309. package/dist/api/types/RightsizeGuardrailsChange.js +17 -0
  310. package/dist/api/types/RightsizeGuardrailsChange.mjs +1 -0
  311. package/dist/api/types/RightsizedContainer.d.mts +132 -0
  312. package/dist/api/types/RightsizedContainer.d.ts +132 -0
  313. package/dist/api/types/RightsizedContainer.js +99 -0
  314. package/dist/api/types/RightsizedContainer.mjs +75 -0
  315. package/dist/api/types/RightsizedContainerList.d.mts +5 -0
  316. package/dist/api/types/RightsizedContainerList.d.ts +5 -0
  317. package/dist/api/types/RightsizedContainerList.js +17 -0
  318. package/dist/api/types/RightsizedContainerList.mjs +1 -0
  319. package/dist/api/types/RightsizedContainerListResponse.d.mts +6 -0
  320. package/dist/api/types/RightsizedContainerListResponse.d.ts +6 -0
  321. package/dist/api/types/RightsizedContainerListResponse.js +17 -0
  322. package/dist/api/types/RightsizedContainerListResponse.mjs +1 -0
  323. package/dist/api/types/SavingsByKind.d.mts +11 -0
  324. package/dist/api/types/SavingsByKind.d.ts +11 -0
  325. package/dist/api/types/SavingsByKind.js +17 -0
  326. package/dist/api/types/SavingsByKind.mjs +1 -0
  327. package/dist/api/types/SetAutomationRequest.d.mts +5 -2
  328. package/dist/api/types/SetAutomationRequest.d.ts +5 -2
  329. package/dist/api/types/SetNamespaceAutomationRequest.d.mts +8 -0
  330. package/dist/api/types/SetNamespaceAutomationRequest.d.ts +8 -0
  331. package/dist/api/types/SetNamespaceAutomationRequest.js +5 -0
  332. package/dist/api/types/SetNamespaceAutomationRequest.mjs +5 -0
  333. package/dist/api/types/SetWorkloadAutomationRequest.d.mts +12 -0
  334. package/dist/api/types/SetWorkloadAutomationRequest.d.ts +12 -0
  335. package/dist/api/types/SetWorkloadAutomationRequest.js +35 -0
  336. package/dist/api/types/SetWorkloadAutomationRequest.mjs +11 -0
  337. package/dist/api/types/SourcedValue.d.mts +11 -0
  338. package/dist/api/types/SourcedValue.d.ts +11 -0
  339. package/dist/api/types/SourcedValue.js +17 -0
  340. package/dist/api/types/SourcedValue.mjs +1 -0
  341. package/dist/api/types/SpendDay.d.mts +14 -0
  342. package/dist/api/types/SpendDay.d.ts +14 -0
  343. package/dist/api/types/SpendKpis.d.mts +12 -0
  344. package/dist/api/types/SpendKpis.d.ts +12 -0
  345. package/dist/api/types/SpendUnitCost.d.mts +6 -0
  346. package/dist/api/types/SpendUnitCost.d.ts +6 -0
  347. package/dist/api/types/StopAndRevertRequest.d.mts +3 -0
  348. package/dist/api/types/StopAndRevertRequest.d.ts +3 -0
  349. package/dist/api/types/StopAndRevertRequest.js +17 -0
  350. package/dist/api/types/StopAndRevertRequest.mjs +1 -0
  351. package/dist/api/types/StorageClassTotals.d.mts +14 -0
  352. package/dist/api/types/StorageClassTotals.d.ts +14 -0
  353. package/dist/api/types/StorageClassTotals.js +17 -0
  354. package/dist/api/types/StorageClassTotals.mjs +1 -0
  355. package/dist/api/types/StorageClassUsage.d.mts +2 -0
  356. package/dist/api/types/StorageClassUsage.d.ts +2 -0
  357. package/dist/api/types/Traffic.d.mts +2 -0
  358. package/dist/api/types/Traffic.d.ts +2 -0
  359. package/dist/api/types/Waste.d.mts +6 -0
  360. package/dist/api/types/Waste.d.ts +6 -0
  361. package/dist/api/types/WasteDay.d.mts +6 -0
  362. package/dist/api/types/WasteDay.d.ts +6 -0
  363. package/dist/api/types/WasteTotal.d.mts +2 -0
  364. package/dist/api/types/WasteTotal.d.ts +2 -0
  365. package/dist/api/types/WorkloadAutomation.d.mts +15 -0
  366. package/dist/api/types/WorkloadAutomation.d.ts +15 -0
  367. package/dist/api/types/WorkloadAutomation.js +35 -0
  368. package/dist/api/types/WorkloadAutomation.mjs +11 -0
  369. package/dist/api/types/WorkloadAutomationResponse.d.mts +6 -0
  370. package/dist/api/types/WorkloadAutomationResponse.d.ts +6 -0
  371. package/dist/api/types/WorkloadAutomationResponse.js +17 -0
  372. package/dist/api/types/WorkloadAutomationResponse.mjs +1 -0
  373. package/dist/api/types/WorkloadDay.d.mts +8 -0
  374. package/dist/api/types/WorkloadDay.d.ts +8 -0
  375. package/dist/api/types/WorkloadItem.d.mts +14 -0
  376. package/dist/api/types/WorkloadItem.d.ts +14 -0
  377. package/dist/api/types/WorkloadVolume.d.mts +2 -0
  378. package/dist/api/types/WorkloadVolume.d.ts +2 -0
  379. package/dist/api/types/index.d.mts +54 -0
  380. package/dist/api/types/index.d.ts +54 -0
  381. package/dist/api/types/index.js +108 -0
  382. package/dist/api/types/index.mjs +54 -0
  383. package/dist/version.d.mts +1 -1
  384. package/dist/version.d.ts +1 -1
  385. package/dist/version.js +1 -1
  386. package/dist/version.mjs +1 -1
  387. package/package.json +1 -1
@@ -28,6 +28,7 @@ export declare class WorkspaceClient {
28
28
  getWorkspace(requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise<LevelFour.WorkspaceResponse>;
29
29
  private __getWorkspace;
30
30
  /**
31
+ * @param {LevelFour.CreateWorkspaceRequest} request
31
32
  * @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
32
33
  *
33
34
  * @throws {@link LevelFour.BadRequestError}
@@ -42,6 +43,6 @@ export declare class WorkspaceClient {
42
43
  * @example
43
44
  * await client.workspace.createWorkspace()
44
45
  */
45
- createWorkspace(requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise<LevelFour.WorkspaceResponse>;
46
+ createWorkspace(request?: LevelFour.CreateWorkspaceRequest, requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise<LevelFour.WorkspaceResponse>;
46
47
  private __createWorkspace;
47
48
  }
@@ -137,6 +137,7 @@ class WorkspaceClient {
137
137
  return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/v1/workspace");
138
138
  }
139
139
  /**
140
+ * @param {LevelFour.CreateWorkspaceRequest} request
140
141
  * @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
141
142
  *
142
143
  * @throws {@link LevelFour.BadRequestError}
@@ -151,10 +152,10 @@ class WorkspaceClient {
151
152
  * @example
152
153
  * await client.workspace.createWorkspace()
153
154
  */
154
- createWorkspace(requestOptions) {
155
- return core.HttpResponsePromise.fromPromise(this.__createWorkspace(requestOptions));
155
+ createWorkspace(request = {}, requestOptions) {
156
+ return core.HttpResponsePromise.fromPromise(this.__createWorkspace(request, requestOptions));
156
157
  }
157
- async __createWorkspace(requestOptions) {
158
+ async __createWorkspace(request = {}, requestOptions) {
158
159
  const _authRequest = await this._options.authProvider.getAuthRequest();
159
160
  const _headers = (0, import_headers.mergeHeaders)(
160
161
  _authRequest.headers,
@@ -168,7 +169,10 @@ class WorkspaceClient {
168
169
  ),
169
170
  method: "POST",
170
171
  headers: _headers,
172
+ contentType: "application/json",
171
173
  queryParameters: requestOptions?.queryParams,
174
+ requestType: "json",
175
+ body: request,
172
176
  timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
173
177
  maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
174
178
  abortSignal: requestOptions?.abortSignal,
@@ -104,6 +104,7 @@ class WorkspaceClient {
104
104
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/api/v1/workspace");
105
105
  }
106
106
  /**
107
+ * @param {LevelFour.CreateWorkspaceRequest} request
107
108
  * @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
108
109
  *
109
110
  * @throws {@link LevelFour.BadRequestError}
@@ -118,10 +119,10 @@ class WorkspaceClient {
118
119
  * @example
119
120
  * await client.workspace.createWorkspace()
120
121
  */
121
- createWorkspace(requestOptions) {
122
- return core.HttpResponsePromise.fromPromise(this.__createWorkspace(requestOptions));
122
+ createWorkspace(request = {}, requestOptions) {
123
+ return core.HttpResponsePromise.fromPromise(this.__createWorkspace(request, requestOptions));
123
124
  }
124
- async __createWorkspace(requestOptions) {
125
+ async __createWorkspace(request = {}, requestOptions) {
125
126
  const _authRequest = await this._options.authProvider.getAuthRequest();
126
127
  const _headers = mergeHeaders(
127
128
  _authRequest.headers,
@@ -135,7 +136,10 @@ class WorkspaceClient {
135
136
  ),
136
137
  method: "POST",
137
138
  headers: _headers,
139
+ contentType: "application/json",
138
140
  queryParameters: requestOptions?.queryParams,
141
+ requestType: "json",
142
+ body: request,
139
143
  timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
140
144
  maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
141
145
  abortSignal: requestOptions?.abortSignal,
@@ -1 +1 @@
1
- export {};
1
+ export * from "./requests/index.mjs";
@@ -1 +1 @@
1
- export {};
1
+ export * from "./requests/index.js";
@@ -11,7 +11,13 @@ var __copyProps = (to, from, except, desc) => {
11
11
  }
12
12
  return to;
13
13
  };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
14
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
16
  var client_exports = {};
16
17
  module.exports = __toCommonJS(client_exports);
18
+ __reExport(client_exports, require("./requests/index.js"), module.exports);
19
+ // Annotate the CommonJS export names for ESM import in node:
20
+ 0 && (module.exports = {
21
+ ...require("./requests/index.js")
22
+ });
17
23
  //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
+ export * from "./requests/index.mjs";
1
2
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface CreateWorkspaceRequest {
6
+ /** The company's name */
7
+ company?: string | null;
8
+ /** The person's job title */
9
+ job_title?: string | null;
10
+ /** What the company spends on, each category at most once */
11
+ spend?: CreateWorkspaceRequest.Spend.Item[] | null;
12
+ }
13
+ export declare namespace CreateWorkspaceRequest {
14
+ type Spend = Spend.Item[];
15
+ namespace Spend {
16
+ const Item: {
17
+ readonly Cloud: "cloud";
18
+ readonly Saas: "saas";
19
+ readonly Ai: "ai";
20
+ };
21
+ type Item = (typeof Item)[keyof typeof Item];
22
+ }
23
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface CreateWorkspaceRequest {
6
+ /** The company's name */
7
+ company?: string | null;
8
+ /** The person's job title */
9
+ job_title?: string | null;
10
+ /** What the company spends on, each category at most once */
11
+ spend?: CreateWorkspaceRequest.Spend.Item[] | null;
12
+ }
13
+ export declare namespace CreateWorkspaceRequest {
14
+ type Spend = Spend.Item[];
15
+ namespace Spend {
16
+ const Item: {
17
+ readonly Cloud: "cloud";
18
+ readonly Saas: "saas";
19
+ readonly Ai: "ai";
20
+ };
21
+ type Item = (typeof Item)[keyof typeof Item];
22
+ }
23
+ }
@@ -0,0 +1,39 @@
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 CreateWorkspaceRequest_exports = {};
20
+ __export(CreateWorkspaceRequest_exports, {
21
+ CreateWorkspaceRequest: () => CreateWorkspaceRequest
22
+ });
23
+ module.exports = __toCommonJS(CreateWorkspaceRequest_exports);
24
+ var CreateWorkspaceRequest;
25
+ ((CreateWorkspaceRequest2) => {
26
+ let Spend;
27
+ ((Spend2) => {
28
+ Spend2.Item = {
29
+ Cloud: "cloud",
30
+ Saas: "saas",
31
+ Ai: "ai"
32
+ };
33
+ })(Spend = CreateWorkspaceRequest2.Spend || (CreateWorkspaceRequest2.Spend = {}));
34
+ })(CreateWorkspaceRequest || (CreateWorkspaceRequest = {}));
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ CreateWorkspaceRequest
38
+ });
39
+ //# sourceMappingURL=CreateWorkspaceRequest.js.map
@@ -0,0 +1,15 @@
1
+ var CreateWorkspaceRequest;
2
+ ((CreateWorkspaceRequest2) => {
3
+ let Spend;
4
+ ((Spend2) => {
5
+ Spend2.Item = {
6
+ Cloud: "cloud",
7
+ Saas: "saas",
8
+ Ai: "ai"
9
+ };
10
+ })(Spend = CreateWorkspaceRequest2.Spend || (CreateWorkspaceRequest2.Spend = {}));
11
+ })(CreateWorkspaceRequest || (CreateWorkspaceRequest = {}));
12
+ export {
13
+ CreateWorkspaceRequest
14
+ };
15
+ //# sourceMappingURL=CreateWorkspaceRequest.mjs.map
@@ -0,0 +1 @@
1
+ export { CreateWorkspaceRequest } from "./CreateWorkspaceRequest.mjs";
@@ -0,0 +1 @@
1
+ export { CreateWorkspaceRequest } from "./CreateWorkspaceRequest.js";
@@ -0,0 +1,29 @@
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 requests_exports = {};
20
+ __export(requests_exports, {
21
+ CreateWorkspaceRequest: () => import_CreateWorkspaceRequest.CreateWorkspaceRequest
22
+ });
23
+ module.exports = __toCommonJS(requests_exports);
24
+ var import_CreateWorkspaceRequest = require("./CreateWorkspaceRequest.js");
25
+ // Annotate the CommonJS export names for ESM import in node:
26
+ 0 && (module.exports = {
27
+ CreateWorkspaceRequest
28
+ });
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,5 @@
1
+ import { CreateWorkspaceRequest } from "./CreateWorkspaceRequest.mjs";
2
+ export {
3
+ CreateWorkspaceRequest
4
+ };
5
+ //# sourceMappingURL=index.mjs.map
@@ -4,6 +4,10 @@ export interface AccountItem {
4
4
  cluster_count: number;
5
5
  cost?: (number | null) | undefined;
6
6
  idle_cost?: (number | null) | undefined;
7
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
8
+ cost_net?: (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
+ idle_cost_net?: (number | null) | undefined;
7
11
  /** CPU and memory efficiency weighted by what each cost */
8
12
  efficiency?: (number | null) | undefined;
9
13
  namespaces_enabled: number;
@@ -4,6 +4,10 @@ export interface AccountItem {
4
4
  cluster_count: number;
5
5
  cost?: (number | null) | undefined;
6
6
  idle_cost?: (number | null) | undefined;
7
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
8
+ cost_net?: (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
+ idle_cost_net?: (number | null) | undefined;
7
11
  /** CPU and memory efficiency weighted by what each cost */
8
12
  efficiency?: (number | null) | undefined;
9
13
  namespaces_enabled: number;
@@ -6,8 +6,12 @@ export interface AutomationAction {
6
6
  refusal_reason?: (AutomationAction.RefusalReason | null) | undefined;
7
7
  before?: (LevelFour.ContainerResources | null) | undefined;
8
8
  after?: (LevelFour.ContainerResources | null) | undefined;
9
- /** The person whose opt-in the change acted on */
9
+ /** The person whose opt-in the change acted on, as the dashboard verified them */
10
10
  approved_by_email?: (string | null) | undefined;
11
+ /** For a change an object turned on, the approver its levelfour.ai/approved-by annotation names: declared by whoever wrote the object, never verified */
12
+ approved_by_declared?: (string | null) | undefined;
13
+ /** The object that turned the change on: {kind, namespace, name, generation} */
14
+ turned_on_by_object?: (Record<string, unknown> | null) | undefined;
11
15
  /** The published recommendation the change serves */
12
16
  recommendation_id?: (string | null) | undefined;
13
17
  revert_requested_by?: (string | null) | undefined;
@@ -17,6 +21,8 @@ export declare namespace AutomationAction {
17
21
  const Kind: {
18
22
  readonly OomMemory: "oom_memory";
19
23
  readonly ThrottleCpu: "throttle_cpu";
24
+ readonly RightsizeCpu: "rightsize_cpu";
25
+ readonly RightsizeMemory: "rightsize_memory";
20
26
  };
21
27
  type Kind = (typeof Kind)[keyof typeof Kind];
22
28
  const Status: {
@@ -36,6 +42,11 @@ export declare namespace AutomationAction {
36
42
  readonly RevertsAtRollout: "reverts_at_rollout";
37
43
  readonly OverrideExpired: "override_expired";
38
44
  readonly Exhausted: "exhausted";
45
+ readonly Verifying: "verifying";
46
+ readonly Verified: "verified";
47
+ readonly RolledBack: "rolled_back";
48
+ readonly Revised: "revised";
49
+ readonly Superseded: "superseded";
39
50
  };
40
51
  type Status = (typeof Status)[keyof typeof Status];
41
52
  const RefusalReason: {
@@ -48,6 +59,27 @@ export declare namespace AutomationAction {
48
59
  readonly StepTooLarge: "step_too_large";
49
60
  readonly NotAnIncrease: "not_an_increase";
50
61
  readonly VpaManaged: "vpa_managed";
62
+ readonly StaleStep: "stale_step";
63
+ readonly ConcurrencyCap: "concurrency_cap";
64
+ readonly StepInterval: "step_interval";
65
+ readonly HpaTarget: "hpa_target";
66
+ readonly JvmGcThreshold: "jvm_gc_threshold";
67
+ readonly BelowFloor: "below_floor";
68
+ readonly Learning: "learning";
69
+ readonly BelowMinWaste: "below_min_waste";
70
+ readonly NothingToMove: "nothing_to_move";
71
+ readonly WorkloadExcluded: "workload_excluded";
72
+ readonly Stopped: "stopped";
73
+ readonly WorkloadDisabled: "workload_disabled";
74
+ readonly LabelExcluded: "label_excluded";
75
+ readonly IncreaseDisabled: "increase_disabled";
76
+ readonly DecreaseDisabled: "decrease_disabled";
77
+ readonly BelowMinimum: "below_minimum";
78
+ readonly AboveMaximum: "above_maximum";
79
+ readonly DailyCap: "daily_cap";
80
+ readonly WeeklyCap: "weekly_cap";
81
+ readonly TooSoon: "too_soon";
82
+ readonly RolloutInProgress: "rollout_in_progress";
51
83
  };
52
84
  type RefusalReason = (typeof RefusalReason)[keyof typeof RefusalReason];
53
85
  }
@@ -6,8 +6,12 @@ export interface AutomationAction {
6
6
  refusal_reason?: (AutomationAction.RefusalReason | null) | undefined;
7
7
  before?: (LevelFour.ContainerResources | null) | undefined;
8
8
  after?: (LevelFour.ContainerResources | null) | undefined;
9
- /** The person whose opt-in the change acted on */
9
+ /** The person whose opt-in the change acted on, as the dashboard verified them */
10
10
  approved_by_email?: (string | null) | undefined;
11
+ /** For a change an object turned on, the approver its levelfour.ai/approved-by annotation names: declared by whoever wrote the object, never verified */
12
+ approved_by_declared?: (string | null) | undefined;
13
+ /** The object that turned the change on: {kind, namespace, name, generation} */
14
+ turned_on_by_object?: (Record<string, unknown> | null) | undefined;
11
15
  /** The published recommendation the change serves */
12
16
  recommendation_id?: (string | null) | undefined;
13
17
  revert_requested_by?: (string | null) | undefined;
@@ -17,6 +21,8 @@ export declare namespace AutomationAction {
17
21
  const Kind: {
18
22
  readonly OomMemory: "oom_memory";
19
23
  readonly ThrottleCpu: "throttle_cpu";
24
+ readonly RightsizeCpu: "rightsize_cpu";
25
+ readonly RightsizeMemory: "rightsize_memory";
20
26
  };
21
27
  type Kind = (typeof Kind)[keyof typeof Kind];
22
28
  const Status: {
@@ -36,6 +42,11 @@ export declare namespace AutomationAction {
36
42
  readonly RevertsAtRollout: "reverts_at_rollout";
37
43
  readonly OverrideExpired: "override_expired";
38
44
  readonly Exhausted: "exhausted";
45
+ readonly Verifying: "verifying";
46
+ readonly Verified: "verified";
47
+ readonly RolledBack: "rolled_back";
48
+ readonly Revised: "revised";
49
+ readonly Superseded: "superseded";
39
50
  };
40
51
  type Status = (typeof Status)[keyof typeof Status];
41
52
  const RefusalReason: {
@@ -48,6 +59,27 @@ export declare namespace AutomationAction {
48
59
  readonly StepTooLarge: "step_too_large";
49
60
  readonly NotAnIncrease: "not_an_increase";
50
61
  readonly VpaManaged: "vpa_managed";
62
+ readonly StaleStep: "stale_step";
63
+ readonly ConcurrencyCap: "concurrency_cap";
64
+ readonly StepInterval: "step_interval";
65
+ readonly HpaTarget: "hpa_target";
66
+ readonly JvmGcThreshold: "jvm_gc_threshold";
67
+ readonly BelowFloor: "below_floor";
68
+ readonly Learning: "learning";
69
+ readonly BelowMinWaste: "below_min_waste";
70
+ readonly NothingToMove: "nothing_to_move";
71
+ readonly WorkloadExcluded: "workload_excluded";
72
+ readonly Stopped: "stopped";
73
+ readonly WorkloadDisabled: "workload_disabled";
74
+ readonly LabelExcluded: "label_excluded";
75
+ readonly IncreaseDisabled: "increase_disabled";
76
+ readonly DecreaseDisabled: "decrease_disabled";
77
+ readonly BelowMinimum: "below_minimum";
78
+ readonly AboveMaximum: "above_maximum";
79
+ readonly DailyCap: "daily_cap";
80
+ readonly WeeklyCap: "weekly_cap";
81
+ readonly TooSoon: "too_soon";
82
+ readonly RolloutInProgress: "rollout_in_progress";
51
83
  };
52
84
  type RefusalReason = (typeof RefusalReason)[keyof typeof RefusalReason];
53
85
  }
@@ -25,7 +25,9 @@ var AutomationAction;
25
25
  ((AutomationAction2) => {
26
26
  AutomationAction2.Kind = {
27
27
  OomMemory: "oom_memory",
28
- ThrottleCpu: "throttle_cpu"
28
+ ThrottleCpu: "throttle_cpu",
29
+ RightsizeCpu: "rightsize_cpu",
30
+ RightsizeMemory: "rightsize_memory"
29
31
  };
30
32
  AutomationAction2.Status = {
31
33
  Approved: "approved",
@@ -43,7 +45,12 @@ var AutomationAction;
43
45
  RevertNotNeeded: "revert_not_needed",
44
46
  RevertsAtRollout: "reverts_at_rollout",
45
47
  OverrideExpired: "override_expired",
46
- Exhausted: "exhausted"
48
+ Exhausted: "exhausted",
49
+ Verifying: "verifying",
50
+ Verified: "verified",
51
+ RolledBack: "rolled_back",
52
+ Revised: "revised",
53
+ Superseded: "superseded"
47
54
  };
48
55
  AutomationAction2.RefusalReason = {
49
56
  AutomationDisabled: "automation_disabled",
@@ -54,7 +61,28 @@ var AutomationAction;
54
61
  WorkloadCap: "workload_cap",
55
62
  StepTooLarge: "step_too_large",
56
63
  NotAnIncrease: "not_an_increase",
57
- VpaManaged: "vpa_managed"
64
+ VpaManaged: "vpa_managed",
65
+ StaleStep: "stale_step",
66
+ ConcurrencyCap: "concurrency_cap",
67
+ StepInterval: "step_interval",
68
+ HpaTarget: "hpa_target",
69
+ JvmGcThreshold: "jvm_gc_threshold",
70
+ BelowFloor: "below_floor",
71
+ Learning: "learning",
72
+ BelowMinWaste: "below_min_waste",
73
+ NothingToMove: "nothing_to_move",
74
+ WorkloadExcluded: "workload_excluded",
75
+ Stopped: "stopped",
76
+ WorkloadDisabled: "workload_disabled",
77
+ LabelExcluded: "label_excluded",
78
+ IncreaseDisabled: "increase_disabled",
79
+ DecreaseDisabled: "decrease_disabled",
80
+ BelowMinimum: "below_minimum",
81
+ AboveMaximum: "above_maximum",
82
+ DailyCap: "daily_cap",
83
+ WeeklyCap: "weekly_cap",
84
+ TooSoon: "too_soon",
85
+ RolloutInProgress: "rollout_in_progress"
58
86
  };
59
87
  })(AutomationAction || (AutomationAction = {}));
60
88
  // Annotate the CommonJS export names for ESM import in node:
@@ -2,7 +2,9 @@ var AutomationAction;
2
2
  ((AutomationAction2) => {
3
3
  AutomationAction2.Kind = {
4
4
  OomMemory: "oom_memory",
5
- ThrottleCpu: "throttle_cpu"
5
+ ThrottleCpu: "throttle_cpu",
6
+ RightsizeCpu: "rightsize_cpu",
7
+ RightsizeMemory: "rightsize_memory"
6
8
  };
7
9
  AutomationAction2.Status = {
8
10
  Approved: "approved",
@@ -20,7 +22,12 @@ var AutomationAction;
20
22
  RevertNotNeeded: "revert_not_needed",
21
23
  RevertsAtRollout: "reverts_at_rollout",
22
24
  OverrideExpired: "override_expired",
23
- Exhausted: "exhausted"
25
+ Exhausted: "exhausted",
26
+ Verifying: "verifying",
27
+ Verified: "verified",
28
+ RolledBack: "rolled_back",
29
+ Revised: "revised",
30
+ Superseded: "superseded"
24
31
  };
25
32
  AutomationAction2.RefusalReason = {
26
33
  AutomationDisabled: "automation_disabled",
@@ -31,7 +38,28 @@ var AutomationAction;
31
38
  WorkloadCap: "workload_cap",
32
39
  StepTooLarge: "step_too_large",
33
40
  NotAnIncrease: "not_an_increase",
34
- VpaManaged: "vpa_managed"
41
+ VpaManaged: "vpa_managed",
42
+ StaleStep: "stale_step",
43
+ ConcurrencyCap: "concurrency_cap",
44
+ StepInterval: "step_interval",
45
+ HpaTarget: "hpa_target",
46
+ JvmGcThreshold: "jvm_gc_threshold",
47
+ BelowFloor: "below_floor",
48
+ Learning: "learning",
49
+ BelowMinWaste: "below_min_waste",
50
+ NothingToMove: "nothing_to_move",
51
+ WorkloadExcluded: "workload_excluded",
52
+ Stopped: "stopped",
53
+ WorkloadDisabled: "workload_disabled",
54
+ LabelExcluded: "label_excluded",
55
+ IncreaseDisabled: "increase_disabled",
56
+ DecreaseDisabled: "decrease_disabled",
57
+ BelowMinimum: "below_minimum",
58
+ AboveMaximum: "above_maximum",
59
+ DailyCap: "daily_cap",
60
+ WeeklyCap: "weekly_cap",
61
+ TooSoon: "too_soon",
62
+ RolloutInProgress: "rollout_in_progress"
35
63
  };
36
64
  })(AutomationAction || (AutomationAction = {}));
37
65
  export {
@@ -6,6 +6,12 @@ export interface AutomationComponent {
6
6
  permitted_namespaces: string[];
7
7
  /** The last stop it confirmed */
8
8
  paused_ack_version: number;
9
+ /** The last desired values it wrote out */
10
+ desired_version_ack: number;
11
+ /** The last stop and revert it carried out */
12
+ stop_version_ack: number;
13
+ /** The namespaces labelled levelfour.ai/automation=off */
14
+ blocked_namespaces: string[];
9
15
  /** It synced in the last five minutes */
10
16
  connected: boolean;
11
17
  }
@@ -6,6 +6,12 @@ export interface AutomationComponent {
6
6
  permitted_namespaces: string[];
7
7
  /** The last stop it confirmed */
8
8
  paused_ack_version: number;
9
+ /** The last desired values it wrote out */
10
+ desired_version_ack: number;
11
+ /** The last stop and revert it carried out */
12
+ stop_version_ack: number;
13
+ /** The namespaces labelled levelfour.ai/automation=off */
14
+ blocked_namespaces: string[];
9
15
  /** It synced in the last five minutes */
10
16
  connected: boolean;
11
17
  }
@@ -3,6 +3,8 @@ export interface AutomationEvent {
3
3
  event_id: string;
4
4
  /** What the component reported (revert_finished, with no pod, ends a revert with detail.outcome and its pod counts) or what a person changed */
5
5
  type: string;
6
+ /** raise or cut for a step's events by the way it moves the request, rollback for a rollback or revert, settings for what a person changed, other for the rest */
7
+ category: AutomationEvent.Category;
6
8
  occurred_at: string;
7
9
  /** A person's email, or levelfour-automation for the component */
8
10
  actor?: (string | null) | undefined;
@@ -14,3 +16,14 @@ export interface AutomationEvent {
14
16
  action?: (LevelFour.AutomationAction | null) | undefined;
15
17
  detail: Record<string, unknown>;
16
18
  }
19
+ export declare namespace AutomationEvent {
20
+ /** raise or cut for a step's events by the way it moves the request, rollback for a rollback or revert, settings for what a person changed, other for the rest */
21
+ const Category: {
22
+ readonly Raise: "raise";
23
+ readonly Cut: "cut";
24
+ readonly Rollback: "rollback";
25
+ readonly Settings: "settings";
26
+ readonly Other: "other";
27
+ };
28
+ type Category = (typeof Category)[keyof typeof Category];
29
+ }
@@ -3,6 +3,8 @@ export interface AutomationEvent {
3
3
  event_id: string;
4
4
  /** What the component reported (revert_finished, with no pod, ends a revert with detail.outcome and its pod counts) or what a person changed */
5
5
  type: string;
6
+ /** raise or cut for a step's events by the way it moves the request, rollback for a rollback or revert, settings for what a person changed, other for the rest */
7
+ category: AutomationEvent.Category;
6
8
  occurred_at: string;
7
9
  /** A person's email, or levelfour-automation for the component */
8
10
  actor?: (string | null) | undefined;
@@ -14,3 +16,14 @@ export interface AutomationEvent {
14
16
  action?: (LevelFour.AutomationAction | null) | undefined;
15
17
  detail: Record<string, unknown>;
16
18
  }
19
+ export declare namespace AutomationEvent {
20
+ /** raise or cut for a step's events by the way it moves the request, rollback for a rollback or revert, settings for what a person changed, other for the rest */
21
+ const Category: {
22
+ readonly Raise: "raise";
23
+ readonly Cut: "cut";
24
+ readonly Rollback: "rollback";
25
+ readonly Settings: "settings";
26
+ readonly Other: "other";
27
+ };
28
+ type Category = (typeof Category)[keyof typeof Category];
29
+ }
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
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
+ };
6
10
  var __copyProps = (to, from, except, desc) => {
7
11
  if (from && typeof from === "object" || typeof from === "function") {
8
12
  for (let key of __getOwnPropNames(from))
@@ -13,5 +17,22 @@ var __copyProps = (to, from, except, desc) => {
13
17
  };
14
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
19
  var AutomationEvent_exports = {};
20
+ __export(AutomationEvent_exports, {
21
+ AutomationEvent: () => AutomationEvent
22
+ });
16
23
  module.exports = __toCommonJS(AutomationEvent_exports);
24
+ var AutomationEvent;
25
+ ((AutomationEvent2) => {
26
+ AutomationEvent2.Category = {
27
+ Raise: "raise",
28
+ Cut: "cut",
29
+ Rollback: "rollback",
30
+ Settings: "settings",
31
+ Other: "other"
32
+ };
33
+ })(AutomationEvent || (AutomationEvent = {}));
34
+ // Annotate the CommonJS export names for ESM import in node:
35
+ 0 && (module.exports = {
36
+ AutomationEvent
37
+ });
17
38
  //# sourceMappingURL=AutomationEvent.js.map
@@ -1 +1,14 @@
1
+ var AutomationEvent;
2
+ ((AutomationEvent2) => {
3
+ AutomationEvent2.Category = {
4
+ Raise: "raise",
5
+ Cut: "cut",
6
+ Rollback: "rollback",
7
+ Settings: "settings",
8
+ Other: "other"
9
+ };
10
+ })(AutomationEvent || (AutomationEvent = {}));
11
+ export {
12
+ AutomationEvent
13
+ };
1
14
  //# sourceMappingURL=AutomationEvent.mjs.map
@@ -1,6 +1,8 @@
1
1
  import type * as LevelFour from "../index.mjs";
2
2
  export interface AutomationEventList {
3
- /** Newest first */
3
+ /** Newest first unless sort=at */
4
4
  items: LevelFour.AutomationEvent[];
5
5
  pagination: LevelFour.PaginationMeta;
6
+ /** The events of each action status under every filter but status and attention */
7
+ status_counts: Record<string, number>;
6
8
  }