levelfour 1.13.0 → 1.15.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 (419) hide show
  1. package/dist/api/resources/azure/client/Client.d.mts +20 -0
  2. package/dist/api/resources/azure/client/Client.d.ts +20 -0
  3. package/dist/api/resources/azure/client/Client.js +109 -0
  4. package/dist/api/resources/azure/client/Client.mjs +109 -0
  5. package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.d.mts +8 -0
  6. package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.d.ts +8 -0
  7. package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.js +17 -0
  8. package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.mjs +1 -0
  9. package/dist/api/resources/azure/client/requests/index.d.mts +1 -0
  10. package/dist/api/resources/azure/client/requests/index.d.ts +1 -0
  11. package/dist/api/resources/azure/index.d.mts +1 -0
  12. package/dist/api/resources/azure/index.d.ts +1 -0
  13. package/dist/api/resources/azure/index.js +3 -1
  14. package/dist/api/resources/azure/index.mjs +1 -0
  15. package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.d.mts +6 -0
  16. package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.d.ts +6 -0
  17. package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.js +33 -0
  18. package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.mjs +9 -0
  19. package/dist/api/resources/azure/types/index.d.mts +1 -0
  20. package/dist/api/resources/azure/types/index.d.ts +1 -0
  21. package/dist/api/resources/azure/types/index.js +23 -0
  22. package/dist/api/resources/azure/types/index.mjs +2 -0
  23. package/dist/api/resources/costs/client/Client.js +98 -18
  24. package/dist/api/resources/costs/client/Client.mjs +98 -18
  25. package/dist/api/resources/costs/client/requests/GetAllocationApiV1CostsAllocationGetRequest.d.mts +2 -0
  26. package/dist/api/resources/costs/client/requests/GetAllocationApiV1CostsAllocationGetRequest.d.ts +2 -0
  27. package/dist/api/resources/costs/client/requests/GetCostByTagApiV1CostsByTagGetRequest.d.mts +2 -0
  28. package/dist/api/resources/costs/client/requests/GetCostByTagApiV1CostsByTagGetRequest.d.ts +2 -0
  29. package/dist/api/resources/costs/client/requests/GetDailyCostsCostsRequest.d.mts +2 -0
  30. package/dist/api/resources/costs/client/requests/GetDailyCostsCostsRequest.d.ts +2 -0
  31. package/dist/api/resources/costs/client/requests/GetForecastApiV1CostsForecastGetRequest.d.mts +2 -0
  32. package/dist/api/resources/costs/client/requests/GetForecastApiV1CostsForecastGetRequest.d.ts +2 -0
  33. package/dist/api/resources/costs/client/requests/GetProviderFiltersCostsRequest.d.mts +24 -0
  34. package/dist/api/resources/costs/client/requests/GetProviderFiltersCostsRequest.d.ts +24 -0
  35. package/dist/api/resources/costs/client/requests/GetSummaryCostsRequest.d.mts +2 -0
  36. package/dist/api/resources/costs/client/requests/GetSummaryCostsRequest.d.ts +2 -0
  37. package/dist/api/resources/costs/client/requests/GetTopGrowingApiV1CostsTopGrowingGetRequest.d.mts +2 -0
  38. package/dist/api/resources/costs/client/requests/GetTopGrowingApiV1CostsTopGrowingGetRequest.d.ts +2 -0
  39. package/dist/api/resources/costs/client/requests/GetUsageApiV1CostsUsageGetRequest.d.mts +2 -0
  40. package/dist/api/resources/costs/client/requests/GetUsageApiV1CostsUsageGetRequest.d.ts +2 -0
  41. package/dist/api/resources/costs/client/requests/ListByProviderCostsRequest.d.mts +24 -0
  42. package/dist/api/resources/costs/client/requests/ListByProviderCostsRequest.d.ts +24 -0
  43. package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.d.mts +7 -0
  44. package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.d.ts +7 -0
  45. package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.js +33 -0
  46. package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.mjs +9 -0
  47. package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.d.mts +7 -0
  48. package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.d.ts +7 -0
  49. package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.js +33 -0
  50. package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.mjs +9 -0
  51. package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.d.mts +7 -0
  52. package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.d.ts +7 -0
  53. package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.js +33 -0
  54. package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.mjs +9 -0
  55. package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.d.mts +7 -0
  56. package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.d.ts +7 -0
  57. package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.js +33 -0
  58. package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.mjs +9 -0
  59. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.d.mts +5 -0
  60. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.d.ts +5 -0
  61. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.js +32 -0
  62. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.mjs +8 -0
  63. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.d.mts +5 -0
  64. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.d.ts +5 -0
  65. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.js +32 -0
  66. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.mjs +8 -0
  67. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.d.mts +5 -0
  68. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.d.ts +5 -0
  69. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.js +32 -0
  70. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.mjs +8 -0
  71. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.d.mts +5 -0
  72. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.d.ts +5 -0
  73. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.js +32 -0
  74. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.mjs +8 -0
  75. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.d.mts +5 -0
  76. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.d.ts +5 -0
  77. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.js +32 -0
  78. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.mjs +8 -0
  79. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.d.mts +5 -0
  80. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.d.ts +5 -0
  81. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.js +32 -0
  82. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.mjs +8 -0
  83. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.d.mts +5 -0
  84. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.d.ts +5 -0
  85. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.js +32 -0
  86. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.mjs +8 -0
  87. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.d.mts +5 -0
  88. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.d.ts +5 -0
  89. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.js +32 -0
  90. package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.mjs +8 -0
  91. package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.d.mts +7 -0
  92. package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.d.ts +7 -0
  93. package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.js +33 -0
  94. package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.mjs +9 -0
  95. package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.d.mts +7 -0
  96. package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.d.ts +7 -0
  97. package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.js +33 -0
  98. package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.mjs +9 -0
  99. package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.d.mts +7 -0
  100. package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.d.ts +7 -0
  101. package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.js +33 -0
  102. package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.mjs +9 -0
  103. package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.d.mts +5 -0
  104. package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.d.ts +5 -0
  105. package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.js +32 -0
  106. package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.mjs +8 -0
  107. package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.d.mts +5 -0
  108. package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.d.ts +5 -0
  109. package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.js +32 -0
  110. package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.mjs +8 -0
  111. package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.d.mts +5 -0
  112. package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.d.ts +5 -0
  113. package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.js +32 -0
  114. package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.mjs +8 -0
  115. package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.d.mts +5 -0
  116. package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.d.ts +5 -0
  117. package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.js +32 -0
  118. package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.mjs +8 -0
  119. package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.d.mts +5 -0
  120. package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.d.ts +5 -0
  121. package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.js +32 -0
  122. package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.mjs +8 -0
  123. package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.d.mts +5 -0
  124. package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.d.ts +5 -0
  125. package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.js +32 -0
  126. package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.mjs +8 -0
  127. package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.d.mts +5 -0
  128. package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.d.ts +5 -0
  129. package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.js +32 -0
  130. package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.mjs +8 -0
  131. package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.d.mts +5 -0
  132. package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.d.ts +5 -0
  133. package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.js +32 -0
  134. package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.mjs +8 -0
  135. package/dist/api/resources/costs/types/index.d.mts +23 -0
  136. package/dist/api/resources/costs/types/index.d.ts +23 -0
  137. package/dist/api/resources/costs/types/index.js +46 -0
  138. package/dist/api/resources/costs/types/index.mjs +23 -0
  139. package/dist/api/resources/index.d.mts +1 -0
  140. package/dist/api/resources/index.d.ts +1 -0
  141. package/dist/api/resources/index.js +2 -0
  142. package/dist/api/resources/index.mjs +1 -0
  143. package/dist/api/resources/kubernetes/client/Client.d.mts +19 -0
  144. package/dist/api/resources/kubernetes/client/Client.d.ts +19 -0
  145. package/dist/api/resources/kubernetes/client/Client.js +96 -0
  146. package/dist/api/resources/kubernetes/client/Client.mjs +96 -0
  147. package/dist/api/types/AgentCpuSetElsewhere.d.mts +20 -0
  148. package/dist/api/types/AgentCpuSetElsewhere.d.ts +20 -0
  149. package/dist/api/types/AgentCpuSetElsewhere.js +17 -0
  150. package/dist/api/types/AgentCpuSetElsewhere.mjs +1 -0
  151. package/dist/api/types/AllocationData.d.mts +9 -0
  152. package/dist/api/types/AllocationData.d.ts +9 -0
  153. package/dist/api/types/AllocationData.js +5 -0
  154. package/dist/api/types/AllocationData.mjs +5 -0
  155. package/dist/api/types/AnomalyDetail.d.mts +8 -0
  156. package/dist/api/types/AnomalyDetail.d.ts +8 -0
  157. package/dist/api/types/AnomalyDetail.js +4 -0
  158. package/dist/api/types/AnomalyDetail.mjs +4 -0
  159. package/dist/api/types/AnomalyListItem.d.mts +8 -0
  160. package/dist/api/types/AnomalyListItem.d.ts +8 -0
  161. package/dist/api/types/AnomalyListItem.js +4 -0
  162. package/dist/api/types/AnomalyListItem.mjs +4 -0
  163. package/dist/api/types/AutomationAction.d.mts +2 -0
  164. package/dist/api/types/AutomationAction.d.ts +2 -0
  165. package/dist/api/types/AutomationComponent.d.mts +2 -0
  166. package/dist/api/types/AutomationComponent.d.ts +2 -0
  167. package/dist/api/types/AutomationEvent.d.mts +8 -2
  168. package/dist/api/types/AutomationEvent.d.ts +8 -2
  169. package/dist/api/types/AzureBudgetItem.d.mts +14 -3
  170. package/dist/api/types/AzureBudgetItem.d.ts +14 -3
  171. package/dist/api/types/AzureDataAvailabilityData.d.mts +4 -0
  172. package/dist/api/types/AzureDataAvailabilityData.d.ts +4 -0
  173. package/dist/api/types/AzureInventoryBreakdownData.d.mts +20 -0
  174. package/dist/api/types/AzureInventoryBreakdownData.d.ts +20 -0
  175. package/dist/api/types/AzureInventoryBreakdownData.js +41 -0
  176. package/dist/api/types/AzureInventoryBreakdownData.mjs +17 -0
  177. package/dist/api/types/AzureInventoryBreakdownItem.d.mts +18 -0
  178. package/dist/api/types/AzureInventoryBreakdownItem.d.ts +18 -0
  179. package/dist/api/types/AzureInventoryBreakdownItem.js +35 -0
  180. package/dist/api/types/AzureInventoryBreakdownItem.mjs +11 -0
  181. package/dist/api/types/AzureInventoryBreakdownResponse.d.mts +6 -0
  182. package/dist/api/types/AzureInventoryBreakdownResponse.d.ts +6 -0
  183. package/dist/api/types/AzureInventoryBreakdownResponse.js +17 -0
  184. package/dist/api/types/AzureInventoryBreakdownResponse.mjs +1 -0
  185. package/dist/api/types/AzureSubscriptionItem.d.mts +12 -3
  186. package/dist/api/types/AzureSubscriptionItem.d.ts +12 -3
  187. package/dist/api/types/AzureSubscriptionItem.js +18 -0
  188. package/dist/api/types/AzureSubscriptionItem.mjs +10 -0
  189. package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.d.mts +17 -0
  190. package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.d.ts +17 -0
  191. package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.js +35 -0
  192. package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.mjs +11 -0
  193. package/dist/api/types/ClusterAutomation.d.mts +1 -0
  194. package/dist/api/types/ClusterAutomation.d.ts +1 -0
  195. package/dist/api/types/ClusterItem.d.mts +2 -0
  196. package/dist/api/types/ClusterItem.d.ts +2 -0
  197. package/dist/api/types/ConsolidationBlockersData.d.mts +1 -0
  198. package/dist/api/types/ConsolidationBlockersData.d.ts +1 -0
  199. package/dist/api/types/DailySpendingBreakdownData.d.mts +11 -0
  200. package/dist/api/types/DailySpendingBreakdownData.d.ts +11 -0
  201. package/dist/api/types/DailySpendingBreakdownData.js +19 -0
  202. package/dist/api/types/DailySpendingBreakdownData.mjs +11 -0
  203. package/dist/api/types/DoWasteSignal.d.mts +10 -1
  204. package/dist/api/types/DoWasteSignal.d.ts +10 -1
  205. package/dist/api/types/DoWasteSignal.js +18 -0
  206. package/dist/api/types/DoWasteSignal.mjs +10 -0
  207. package/dist/api/types/DoWasteSignalsData.d.mts +3 -0
  208. package/dist/api/types/DoWasteSignalsData.d.ts +3 -0
  209. package/dist/api/types/DoWasteSignalsData.js +2 -1
  210. package/dist/api/types/DoWasteSignalsData.mjs +2 -1
  211. package/dist/api/types/ExtractRequest.d.mts +28 -0
  212. package/dist/api/types/ExtractRequest.d.ts +28 -0
  213. package/dist/api/types/ExtractRequest.js +35 -0
  214. package/dist/api/types/ExtractRequest.mjs +11 -0
  215. package/dist/api/types/FleetSummary.d.mts +2 -0
  216. package/dist/api/types/FleetSummary.d.ts +2 -0
  217. package/dist/api/types/FleetWorkload.d.mts +2 -0
  218. package/dist/api/types/FleetWorkload.d.ts +2 -0
  219. package/dist/api/types/FleetWorkloadFacets.d.mts +1 -1
  220. package/dist/api/types/FleetWorkloadFacets.d.ts +1 -1
  221. package/dist/api/types/ForecastData.d.mts +9 -0
  222. package/dist/api/types/ForecastData.d.ts +9 -0
  223. package/dist/api/types/ForecastData.js +5 -0
  224. package/dist/api/types/ForecastData.mjs +5 -0
  225. package/dist/api/types/HeldOutcomeFacets.d.mts +5 -0
  226. package/dist/api/types/HeldOutcomeFacets.d.ts +5 -0
  227. package/dist/api/types/HeldOutcomeFacets.js +17 -0
  228. package/dist/api/types/HeldOutcomeFacets.mjs +1 -0
  229. package/dist/api/types/InventoryWasteSignal.d.mts +10 -1
  230. package/dist/api/types/InventoryWasteSignal.d.ts +10 -1
  231. package/dist/api/types/InventoryWasteSignal.js +18 -0
  232. package/dist/api/types/InventoryWasteSignal.mjs +10 -0
  233. package/dist/api/types/InventoryWasteSignalsData.d.mts +3 -0
  234. package/dist/api/types/InventoryWasteSignalsData.d.ts +3 -0
  235. package/dist/api/types/InventoryWasteSignalsData.js +2 -1
  236. package/dist/api/types/InventoryWasteSignalsData.mjs +2 -1
  237. package/dist/api/types/InvoiceDetail.d.mts +75 -0
  238. package/dist/api/types/InvoiceDetail.d.ts +75 -0
  239. package/dist/api/types/InvoiceDetail.js +53 -0
  240. package/dist/api/types/InvoiceDetail.mjs +29 -0
  241. package/dist/api/types/InvoiceDetailResponse.d.mts +6 -0
  242. package/dist/api/types/InvoiceDetailResponse.d.ts +6 -0
  243. package/dist/api/types/InvoiceDetailResponse.js +17 -0
  244. package/dist/api/types/InvoiceDetailResponse.mjs +1 -0
  245. package/dist/api/types/InvoiceLine.d.mts +40 -0
  246. package/dist/api/types/InvoiceLine.d.ts +40 -0
  247. package/dist/api/types/InvoiceLine.js +38 -0
  248. package/dist/api/types/InvoiceLine.mjs +14 -0
  249. package/dist/api/types/InvoiceLinesPage.d.mts +7 -0
  250. package/dist/api/types/InvoiceLinesPage.d.ts +7 -0
  251. package/dist/api/types/InvoiceLinesPage.js +17 -0
  252. package/dist/api/types/InvoiceLinesPage.mjs +1 -0
  253. package/dist/api/types/InvoiceLinesResponse.d.mts +6 -0
  254. package/dist/api/types/InvoiceLinesResponse.d.ts +6 -0
  255. package/dist/api/types/InvoiceLinesResponse.js +17 -0
  256. package/dist/api/types/InvoiceLinesResponse.mjs +1 -0
  257. package/dist/api/types/InvoiceListResponse.d.mts +6 -0
  258. package/dist/api/types/InvoiceListResponse.d.ts +6 -0
  259. package/dist/api/types/InvoiceListResponse.js +17 -0
  260. package/dist/api/types/InvoiceListResponse.mjs +1 -0
  261. package/dist/api/types/InvoiceSummary.d.mts +66 -0
  262. package/dist/api/types/InvoiceSummary.d.ts +66 -0
  263. package/dist/api/types/InvoiceSummary.js +53 -0
  264. package/dist/api/types/InvoiceSummary.mjs +29 -0
  265. package/dist/api/types/InvoiceSummaryResponse.d.mts +6 -0
  266. package/dist/api/types/InvoiceSummaryResponse.d.ts +6 -0
  267. package/dist/api/types/InvoiceSummaryResponse.js +17 -0
  268. package/dist/api/types/InvoiceSummaryResponse.mjs +1 -0
  269. package/dist/api/types/JvmChecks.d.mts +18 -0
  270. package/dist/api/types/JvmChecks.d.ts +18 -0
  271. package/dist/api/types/JvmChecks.js +17 -0
  272. package/dist/api/types/JvmChecks.mjs +1 -0
  273. package/dist/api/types/JvmReaderHealth.d.mts +2 -0
  274. package/dist/api/types/JvmReaderHealth.d.ts +2 -0
  275. package/dist/api/types/JvmReaderNodeHealth.d.mts +2 -0
  276. package/dist/api/types/JvmReaderNodeHealth.d.ts +2 -0
  277. package/dist/api/types/JvmReaderReach.d.mts +6 -0
  278. package/dist/api/types/JvmReaderReach.d.ts +6 -0
  279. package/dist/api/types/JvmReaderReach.js +17 -0
  280. package/dist/api/types/JvmReaderReach.mjs +1 -0
  281. package/dist/api/types/KubeletResize.d.mts +15 -0
  282. package/dist/api/types/KubeletResize.d.ts +15 -0
  283. package/dist/api/types/KubeletResize.js +17 -0
  284. package/dist/api/types/KubeletResize.mjs +1 -0
  285. package/dist/api/types/KubernetesUsage.d.mts +9 -0
  286. package/dist/api/types/KubernetesUsage.d.ts +9 -0
  287. package/dist/api/types/KubernetesUsage.js +17 -0
  288. package/dist/api/types/KubernetesUsage.mjs +1 -0
  289. package/dist/api/types/KubernetesUsageResponse.d.mts +6 -0
  290. package/dist/api/types/KubernetesUsageResponse.d.ts +6 -0
  291. package/dist/api/types/KubernetesUsageResponse.js +17 -0
  292. package/dist/api/types/KubernetesUsageResponse.mjs +1 -0
  293. package/dist/api/types/KubernetesUsageSource.d.mts +29 -0
  294. package/dist/api/types/KubernetesUsageSource.d.ts +29 -0
  295. package/dist/api/types/KubernetesUsageSource.js +41 -0
  296. package/dist/api/types/KubernetesUsageSource.mjs +17 -0
  297. package/dist/api/types/NamespaceReliability.d.mts +5 -1
  298. package/dist/api/types/NamespaceReliability.d.ts +5 -1
  299. package/dist/api/types/NodeFacets.d.mts +2 -0
  300. package/dist/api/types/NodeFacets.d.ts +2 -0
  301. package/dist/api/types/NodeHealthDay.d.mts +2 -0
  302. package/dist/api/types/NodeHealthDay.d.ts +2 -0
  303. package/dist/api/types/NodeItem.d.mts +8 -0
  304. package/dist/api/types/NodeItem.d.ts +8 -0
  305. package/dist/api/types/NodeItem.js +5 -0
  306. package/dist/api/types/NodeItem.mjs +5 -0
  307. package/dist/api/types/PodPhases.d.mts +1 -1
  308. package/dist/api/types/PodPhases.d.ts +1 -1
  309. package/dist/api/types/PodsOnNode.d.mts +4 -0
  310. package/dist/api/types/PodsOnNode.d.ts +4 -0
  311. package/dist/api/types/ProviderBreakdownItem.d.mts +9 -0
  312. package/dist/api/types/ProviderBreakdownItem.d.ts +9 -0
  313. package/dist/api/types/ProviderBreakdownItem.js +4 -0
  314. package/dist/api/types/ProviderBreakdownItem.mjs +4 -0
  315. package/dist/api/types/ProviderFilterOptionsData.d.mts +16 -0
  316. package/dist/api/types/ProviderFilterOptionsData.d.ts +16 -0
  317. package/dist/api/types/ProviderServiceBreakdownItem.d.mts +16 -0
  318. package/dist/api/types/ProviderServiceBreakdownItem.d.ts +16 -0
  319. package/dist/api/types/RecommendationItem.d.mts +9 -0
  320. package/dist/api/types/RecommendationItem.d.ts +9 -0
  321. package/dist/api/types/RecommendationItem.js +4 -0
  322. package/dist/api/types/RecommendationItem.mjs +4 -0
  323. package/dist/api/types/RecommendationsOverviewData.d.mts +2 -0
  324. package/dist/api/types/RecommendationsOverviewData.d.ts +2 -0
  325. package/dist/api/types/ReliabilityCounts.d.mts +5 -1
  326. package/dist/api/types/ReliabilityCounts.d.ts +5 -1
  327. package/dist/api/types/ReliabilityDay.d.mts +5 -0
  328. package/dist/api/types/ReliabilityDay.d.ts +5 -0
  329. package/dist/api/types/ReliabilityEventDay.d.mts +2 -0
  330. package/dist/api/types/ReliabilityEventDay.d.ts +2 -0
  331. package/dist/api/types/ReliabilityFacetCount.d.mts +2 -0
  332. package/dist/api/types/ReliabilityFacetCount.d.ts +2 -0
  333. package/dist/api/types/ReliabilityFacetCount.js +3 -1
  334. package/dist/api/types/ReliabilityFacetCount.mjs +3 -1
  335. package/dist/api/types/ReliabilityLens.d.mts +1 -1
  336. package/dist/api/types/ReliabilityLens.d.ts +1 -1
  337. package/dist/api/types/ReliabilityTotals.d.mts +6 -2
  338. package/dist/api/types/ReliabilityTotals.d.ts +6 -2
  339. package/dist/api/types/RequestAmounts.d.mts +6 -0
  340. package/dist/api/types/RequestAmounts.d.ts +6 -0
  341. package/dist/api/types/RequestAmounts.js +17 -0
  342. package/dist/api/types/RequestAmounts.mjs +1 -0
  343. package/dist/api/types/ResourceItem.d.mts +9 -2
  344. package/dist/api/types/ResourceItem.d.ts +9 -2
  345. package/dist/api/types/ResourceItem.js +18 -0
  346. package/dist/api/types/ResourceItem.mjs +10 -0
  347. package/dist/api/types/ResourceTotals.d.mts +9 -0
  348. package/dist/api/types/ResourceTotals.d.ts +9 -0
  349. package/dist/api/types/ResourceTotals.js +18 -0
  350. package/dist/api/types/ResourceTotals.mjs +10 -0
  351. package/dist/api/types/SetSizingPolicyRequest.d.mts +23 -4
  352. package/dist/api/types/SetSizingPolicyRequest.d.ts +23 -4
  353. package/dist/api/types/SetSizingPolicyRequest.js +14 -1
  354. package/dist/api/types/SetSizingPolicyRequest.mjs +14 -1
  355. package/dist/api/types/SizedElsewhere.d.mts +21 -0
  356. package/dist/api/types/SizedElsewhere.d.ts +21 -0
  357. package/dist/api/types/SizedElsewhere.js +17 -0
  358. package/dist/api/types/SizedElsewhere.mjs +1 -0
  359. package/dist/api/types/SizedElsewherePool.d.mts +18 -0
  360. package/dist/api/types/SizedElsewherePool.d.ts +18 -0
  361. package/dist/api/types/SizedElsewherePool.js +17 -0
  362. package/dist/api/types/SizedElsewherePool.mjs +1 -0
  363. package/dist/api/types/SizedElsewhereResponse.d.mts +6 -0
  364. package/dist/api/types/SizedElsewhereResponse.d.ts +6 -0
  365. package/dist/api/types/SizedElsewhereResponse.js +17 -0
  366. package/dist/api/types/SizedElsewhereResponse.mjs +1 -0
  367. package/dist/api/types/SizingPolicies.d.mts +6 -3
  368. package/dist/api/types/SizingPolicies.d.ts +6 -3
  369. package/dist/api/types/SizingPolicies.js +2 -1
  370. package/dist/api/types/SizingPolicies.mjs +2 -1
  371. package/dist/api/types/SizingPolicy.d.mts +24 -3
  372. package/dist/api/types/SizingPolicy.d.ts +24 -3
  373. package/dist/api/types/SizingPolicy.js +14 -1
  374. package/dist/api/types/SizingPolicy.mjs +14 -1
  375. package/dist/api/types/SpendingSummaryData.d.mts +9 -0
  376. package/dist/api/types/SpendingSummaryData.d.ts +9 -0
  377. package/dist/api/types/SpendingSummaryData.js +5 -0
  378. package/dist/api/types/SpendingSummaryData.mjs +5 -0
  379. package/dist/api/types/TagCoverage.d.mts +2 -0
  380. package/dist/api/types/TagCoverage.d.ts +2 -0
  381. package/dist/api/types/TeamCostData.d.mts +9 -0
  382. package/dist/api/types/TeamCostData.d.ts +9 -0
  383. package/dist/api/types/TeamCostData.js +5 -0
  384. package/dist/api/types/TeamCostData.mjs +5 -0
  385. package/dist/api/types/TopGrowingData.d.mts +9 -0
  386. package/dist/api/types/TopGrowingData.d.ts +9 -0
  387. package/dist/api/types/TopGrowingData.js +5 -0
  388. package/dist/api/types/TopGrowingData.mjs +5 -0
  389. package/dist/api/types/UnmonitoredCluster.d.mts +26 -0
  390. package/dist/api/types/UnmonitoredCluster.d.ts +26 -0
  391. package/dist/api/types/UnmonitoredCluster.js +39 -0
  392. package/dist/api/types/UnmonitoredCluster.mjs +15 -0
  393. package/dist/api/types/UnmonitoredClusterList.d.mts +5 -0
  394. package/dist/api/types/UnmonitoredClusterList.d.ts +5 -0
  395. package/dist/api/types/UnmonitoredClusterList.js +17 -0
  396. package/dist/api/types/UnmonitoredClusterList.mjs +1 -0
  397. package/dist/api/types/UnmonitoredClusterListResponse.d.mts +6 -0
  398. package/dist/api/types/UnmonitoredClusterListResponse.d.ts +6 -0
  399. package/dist/api/types/UnmonitoredClusterListResponse.js +17 -0
  400. package/dist/api/types/UnmonitoredClusterListResponse.mjs +1 -0
  401. package/dist/api/types/UsageData.d.mts +9 -0
  402. package/dist/api/types/UsageData.d.ts +9 -0
  403. package/dist/api/types/UsageData.js +5 -0
  404. package/dist/api/types/UsageData.mjs +5 -0
  405. package/dist/api/types/UsageTypeItem.d.mts +2 -2
  406. package/dist/api/types/UsageTypeItem.d.ts +2 -2
  407. package/dist/api/types/WorkloadItem.d.mts +4 -0
  408. package/dist/api/types/WorkloadItem.d.ts +4 -0
  409. package/dist/api/types/WorkloadListItem.d.mts +4 -0
  410. package/dist/api/types/WorkloadListItem.d.ts +4 -0
  411. package/dist/api/types/index.d.mts +28 -0
  412. package/dist/api/types/index.d.ts +28 -0
  413. package/dist/api/types/index.js +56 -0
  414. package/dist/api/types/index.mjs +28 -0
  415. package/dist/version.d.mts +1 -1
  416. package/dist/version.d.ts +1 -1
  417. package/dist/version.js +1 -1
  418. package/dist/version.mjs +1 -1
  419. package/package.json +1 -1
@@ -42,6 +42,102 @@ class KubernetesClient {
42
42
  constructor(options) {
43
43
  this._options = (0, import_BaseClient.normalizeClientOptionsWithAuth)(options);
44
44
  }
45
+ /**
46
+ * Answers every organization, with or without the Kubernetes module, so the dashboard can show the module to those who run Kubernetes. In use means a bill carries EKS, GKE or AKS spend in the last 30 days, or an agent cluster reported. Each cloud's cost is the bill's own: its Kubernetes service line plus the nodes the bill ties to a cluster, partial when some could not be tied. Its clusters are the agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it. It only reads: it never turns the module on.
47
+ *
48
+ * @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
49
+ *
50
+ * @throws {@link LevelFour.BadRequestError}
51
+ * @throws {@link LevelFour.UnauthorizedError}
52
+ * @throws {@link LevelFour.ForbiddenError}
53
+ * @throws {@link LevelFour.NotFoundError}
54
+ * @throws {@link LevelFour.ConflictError}
55
+ * @throws {@link LevelFour.UnprocessableEntityError}
56
+ * @throws {@link LevelFour.TooManyRequestsError}
57
+ * @throws {@link LevelFour.InternalServerError}
58
+ *
59
+ * @example
60
+ * await client.kubernetes.getKubernetesUsage()
61
+ */
62
+ getKubernetesUsage(requestOptions) {
63
+ return core.HttpResponsePromise.fromPromise(this.__getKubernetesUsage(requestOptions));
64
+ }
65
+ async __getKubernetesUsage(requestOptions) {
66
+ const _authRequest = await this._options.authProvider.getAuthRequest();
67
+ const _headers = (0, import_headers.mergeHeaders)(
68
+ _authRequest.headers,
69
+ this._options?.headers,
70
+ requestOptions?.headers
71
+ );
72
+ const _response = await core.fetcher({
73
+ url: core.url.join(
74
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
75
+ "api/v1/k8s/usage"
76
+ ),
77
+ method: "GET",
78
+ headers: _headers,
79
+ queryParameters: requestOptions?.queryParams,
80
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
81
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
82
+ abortSignal: requestOptions?.abortSignal,
83
+ fetchFn: this._options?.fetch,
84
+ logging: this._options.logging
85
+ });
86
+ if (_response.ok) {
87
+ return { data: _response.body, rawResponse: _response.rawResponse };
88
+ }
89
+ if (_response.error.reason === "status-code") {
90
+ switch (_response.error.statusCode) {
91
+ case 400:
92
+ throw new LevelFour.BadRequestError(
93
+ _response.error.body,
94
+ _response.rawResponse
95
+ );
96
+ case 401:
97
+ throw new LevelFour.UnauthorizedError(
98
+ _response.error.body,
99
+ _response.rawResponse
100
+ );
101
+ case 403:
102
+ throw new LevelFour.ForbiddenError(
103
+ _response.error.body,
104
+ _response.rawResponse
105
+ );
106
+ case 404:
107
+ throw new LevelFour.NotFoundError(
108
+ _response.error.body,
109
+ _response.rawResponse
110
+ );
111
+ case 409:
112
+ throw new LevelFour.ConflictError(
113
+ _response.error.body,
114
+ _response.rawResponse
115
+ );
116
+ case 422:
117
+ throw new LevelFour.UnprocessableEntityError(
118
+ _response.error.body,
119
+ _response.rawResponse
120
+ );
121
+ case 429:
122
+ throw new LevelFour.TooManyRequestsError(
123
+ _response.error.body,
124
+ _response.rawResponse
125
+ );
126
+ case 500:
127
+ throw new LevelFour.InternalServerError(
128
+ _response.error.body,
129
+ _response.rawResponse
130
+ );
131
+ default:
132
+ throw new errors.LevelFourError({
133
+ statusCode: _response.error.statusCode,
134
+ body: _response.error.body,
135
+ rawResponse: _response.rawResponse
136
+ });
137
+ }
138
+ }
139
+ return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/v1/k8s/usage");
140
+ }
45
141
  /**
46
142
  * Read through the customer's own role every few hours. A cluster LevelFour could not match to an EKS cluster in a connected account, or whose role refused a read, says why in state and reason.
47
143
  *
@@ -9,6 +9,102 @@ class KubernetesClient {
9
9
  constructor(options) {
10
10
  this._options = normalizeClientOptionsWithAuth(options);
11
11
  }
12
+ /**
13
+ * Answers every organization, with or without the Kubernetes module, so the dashboard can show the module to those who run Kubernetes. In use means a bill carries EKS, GKE or AKS spend in the last 30 days, or an agent cluster reported. Each cloud's cost is the bill's own: its Kubernetes service line plus the nodes the bill ties to a cluster, partial when some could not be tied. Its clusters are the agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it. It only reads: it never turns the module on.
14
+ *
15
+ * @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @throws {@link LevelFour.BadRequestError}
18
+ * @throws {@link LevelFour.UnauthorizedError}
19
+ * @throws {@link LevelFour.ForbiddenError}
20
+ * @throws {@link LevelFour.NotFoundError}
21
+ * @throws {@link LevelFour.ConflictError}
22
+ * @throws {@link LevelFour.UnprocessableEntityError}
23
+ * @throws {@link LevelFour.TooManyRequestsError}
24
+ * @throws {@link LevelFour.InternalServerError}
25
+ *
26
+ * @example
27
+ * await client.kubernetes.getKubernetesUsage()
28
+ */
29
+ getKubernetesUsage(requestOptions) {
30
+ return core.HttpResponsePromise.fromPromise(this.__getKubernetesUsage(requestOptions));
31
+ }
32
+ async __getKubernetesUsage(requestOptions) {
33
+ const _authRequest = await this._options.authProvider.getAuthRequest();
34
+ const _headers = mergeHeaders(
35
+ _authRequest.headers,
36
+ this._options?.headers,
37
+ requestOptions?.headers
38
+ );
39
+ const _response = await core.fetcher({
40
+ url: core.url.join(
41
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
42
+ "api/v1/k8s/usage"
43
+ ),
44
+ method: "GET",
45
+ headers: _headers,
46
+ queryParameters: requestOptions?.queryParams,
47
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
48
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
49
+ abortSignal: requestOptions?.abortSignal,
50
+ fetchFn: this._options?.fetch,
51
+ logging: this._options.logging
52
+ });
53
+ if (_response.ok) {
54
+ return { data: _response.body, rawResponse: _response.rawResponse };
55
+ }
56
+ if (_response.error.reason === "status-code") {
57
+ switch (_response.error.statusCode) {
58
+ case 400:
59
+ throw new LevelFour.BadRequestError(
60
+ _response.error.body,
61
+ _response.rawResponse
62
+ );
63
+ case 401:
64
+ throw new LevelFour.UnauthorizedError(
65
+ _response.error.body,
66
+ _response.rawResponse
67
+ );
68
+ case 403:
69
+ throw new LevelFour.ForbiddenError(
70
+ _response.error.body,
71
+ _response.rawResponse
72
+ );
73
+ case 404:
74
+ throw new LevelFour.NotFoundError(
75
+ _response.error.body,
76
+ _response.rawResponse
77
+ );
78
+ case 409:
79
+ throw new LevelFour.ConflictError(
80
+ _response.error.body,
81
+ _response.rawResponse
82
+ );
83
+ case 422:
84
+ throw new LevelFour.UnprocessableEntityError(
85
+ _response.error.body,
86
+ _response.rawResponse
87
+ );
88
+ case 429:
89
+ throw new LevelFour.TooManyRequestsError(
90
+ _response.error.body,
91
+ _response.rawResponse
92
+ );
93
+ case 500:
94
+ throw new LevelFour.InternalServerError(
95
+ _response.error.body,
96
+ _response.rawResponse
97
+ );
98
+ default:
99
+ throw new errors.LevelFourError({
100
+ statusCode: _response.error.statusCode,
101
+ body: _response.error.body,
102
+ rawResponse: _response.rawResponse
103
+ });
104
+ }
105
+ }
106
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/api/v1/k8s/usage");
107
+ }
12
108
  /**
13
109
  * Read through the customer's own role every few hours. A cluster LevelFour could not match to an EKS cluster in a connected account, or whose role refused a read, says why in state and reason.
14
110
  *
@@ -0,0 +1,20 @@
1
+ export interface AgentCpuSetElsewhere {
2
+ /** The namespace the agent runs in */
3
+ namespace: string;
4
+ kind: string;
5
+ /** The agent's workload, such as levelfour-agent */
6
+ workload: string;
7
+ container: string;
8
+ /** The CPU request, in millicores, the container's pods hold now */
9
+ cpu_request: number | null;
10
+ /** The CPU request, in millicores, the agent's chart asks for */
11
+ cpu_request_template: number | null;
12
+ /** The CPU limit, in millicores, the container's pods hold now; null when they hold none */
13
+ cpu_limit?: (number | null) | undefined;
14
+ /** The CPU limit, in millicores, the agent's chart sets; null when it sets none */
15
+ cpu_limit_template?: (number | null) | undefined;
16
+ /** The container's hours throttled in the window; null where no hour of them carried a throttling figure, as for a container without a CPU limit */
17
+ throttled_hours?: (number | null) | undefined;
18
+ /** The container's hours in the window that carried a throttling figure */
19
+ throttle_measured_hours?: (number | null) | undefined;
20
+ }
@@ -0,0 +1,20 @@
1
+ export interface AgentCpuSetElsewhere {
2
+ /** The namespace the agent runs in */
3
+ namespace: string;
4
+ kind: string;
5
+ /** The agent's workload, such as levelfour-agent */
6
+ workload: string;
7
+ container: string;
8
+ /** The CPU request, in millicores, the container's pods hold now */
9
+ cpu_request: number | null;
10
+ /** The CPU request, in millicores, the agent's chart asks for */
11
+ cpu_request_template: number | null;
12
+ /** The CPU limit, in millicores, the container's pods hold now; null when they hold none */
13
+ cpu_limit?: (number | null) | undefined;
14
+ /** The CPU limit, in millicores, the agent's chart sets; null when it sets none */
15
+ cpu_limit_template?: (number | null) | undefined;
16
+ /** The container's hours throttled in the window; null where no hour of them carried a throttling figure, as for a container without a CPU limit */
17
+ throttled_hours?: (number | null) | undefined;
18
+ /** The container's hours in the window that carried a throttling figure */
19
+ throttle_measured_hours?: (number | null) | undefined;
20
+ }
@@ -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 AgentCpuSetElsewhere_exports = {};
16
+ module.exports = __toCommonJS(AgentCpuSetElsewhere_exports);
17
+ //# sourceMappingURL=AgentCpuSetElsewhere.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=AgentCpuSetElsewhere.mjs.map
@@ -16,6 +16,8 @@ export interface AllocationData {
16
16
  by_key?: (LevelFour.AllocationKeyCoverage[] | null) | undefined;
17
17
  /** Cost basis applied: after or before Google Cloud credits */
18
18
  credits?: (AllocationData.Credits | null) | undefined;
19
+ /** The cost type these figures are: unblended, amortized, or usage_value, usage priced at the vendor's list price. usage_value is an estimate, never the bill, and is never added to another provider's cost. */
20
+ show_cost_as?: AllocationData.ShowCostAs | undefined;
19
21
  }
20
22
  export declare namespace AllocationData {
21
23
  const Credits: {
@@ -23,4 +25,11 @@ export declare namespace AllocationData {
23
25
  readonly After: "after";
24
26
  };
25
27
  type Credits = (typeof Credits)[keyof typeof Credits];
28
+ /** The cost type these figures are: unblended, amortized, or usage_value, usage priced at the vendor's list price. usage_value is an estimate, never the bill, and is never added to another provider's cost. */
29
+ const ShowCostAs: {
30
+ readonly Unblended: "unblended";
31
+ readonly Amortized: "amortized";
32
+ readonly UsageValue: "usage_value";
33
+ };
34
+ type ShowCostAs = (typeof ShowCostAs)[keyof typeof ShowCostAs];
26
35
  }
@@ -16,6 +16,8 @@ export interface AllocationData {
16
16
  by_key?: (LevelFour.AllocationKeyCoverage[] | null) | undefined;
17
17
  /** Cost basis applied: after or before Google Cloud credits */
18
18
  credits?: (AllocationData.Credits | null) | undefined;
19
+ /** The cost type these figures are: unblended, amortized, or usage_value, usage priced at the vendor's list price. usage_value is an estimate, never the bill, and is never added to another provider's cost. */
20
+ show_cost_as?: AllocationData.ShowCostAs | undefined;
19
21
  }
20
22
  export declare namespace AllocationData {
21
23
  const Credits: {
@@ -23,4 +25,11 @@ export declare namespace AllocationData {
23
25
  readonly After: "after";
24
26
  };
25
27
  type Credits = (typeof Credits)[keyof typeof Credits];
28
+ /** The cost type these figures are: unblended, amortized, or usage_value, usage priced at the vendor's list price. usage_value is an estimate, never the bill, and is never added to another provider's cost. */
29
+ const ShowCostAs: {
30
+ readonly Unblended: "unblended";
31
+ readonly Amortized: "amortized";
32
+ readonly UsageValue: "usage_value";
33
+ };
34
+ type ShowCostAs = (typeof ShowCostAs)[keyof typeof ShowCostAs];
26
35
  }
@@ -27,6 +27,11 @@ var AllocationData;
27
27
  Before: "before",
28
28
  After: "after"
29
29
  };
30
+ AllocationData2.ShowCostAs = {
31
+ Unblended: "unblended",
32
+ Amortized: "amortized",
33
+ UsageValue: "usage_value"
34
+ };
30
35
  })(AllocationData || (AllocationData = {}));
31
36
  // Annotate the CommonJS export names for ESM import in node:
32
37
  0 && (module.exports = {
@@ -4,6 +4,11 @@ var AllocationData;
4
4
  Before: "before",
5
5
  After: "after"
6
6
  };
7
+ AllocationData2.ShowCostAs = {
8
+ Unblended: "unblended",
9
+ Amortized: "amortized",
10
+ UsageValue: "usage_value"
11
+ };
7
12
  })(AllocationData || (AllocationData = {}));
8
13
  export {
9
14
  AllocationData
@@ -30,6 +30,8 @@ export interface AnomalyDetail {
30
30
  anomaly_start_date?: (string | null) | undefined;
31
31
  /** ISO date string for when the anomaly window closed, from AWS Cost Explorer. Null while the anomaly is still ongoing. */
32
32
  anomaly_end_date?: (string | null) | undefined;
33
+ /** billed when the impact is measured on the bill, estimate when it is measured on Microsoft's list price for an Azure subscription whose cost a CSP partner keeps */
34
+ impact_basis?: AnomalyDetail.ImpactBasis | undefined;
33
35
  }
34
36
  export declare namespace AnomalyDetail {
35
37
  const Severity: {
@@ -49,4 +51,10 @@ export declare namespace AnomalyDetail {
49
51
  readonly PlannedActivity: "PLANNED_ACTIVITY";
50
52
  };
51
53
  type Feedback = (typeof Feedback)[keyof typeof Feedback];
54
+ /** billed when the impact is measured on the bill, estimate when it is measured on Microsoft's list price for an Azure subscription whose cost a CSP partner keeps */
55
+ const ImpactBasis: {
56
+ readonly Billed: "billed";
57
+ readonly Estimate: "estimate";
58
+ };
59
+ type ImpactBasis = (typeof ImpactBasis)[keyof typeof ImpactBasis];
52
60
  }
@@ -30,6 +30,8 @@ export interface AnomalyDetail {
30
30
  anomaly_start_date?: (string | null) | undefined;
31
31
  /** ISO date string for when the anomaly window closed, from AWS Cost Explorer. Null while the anomaly is still ongoing. */
32
32
  anomaly_end_date?: (string | null) | undefined;
33
+ /** billed when the impact is measured on the bill, estimate when it is measured on Microsoft's list price for an Azure subscription whose cost a CSP partner keeps */
34
+ impact_basis?: AnomalyDetail.ImpactBasis | undefined;
33
35
  }
34
36
  export declare namespace AnomalyDetail {
35
37
  const Severity: {
@@ -49,4 +51,10 @@ export declare namespace AnomalyDetail {
49
51
  readonly PlannedActivity: "PLANNED_ACTIVITY";
50
52
  };
51
53
  type Feedback = (typeof Feedback)[keyof typeof Feedback];
54
+ /** billed when the impact is measured on the bill, estimate when it is measured on Microsoft's list price for an Azure subscription whose cost a CSP partner keeps */
55
+ const ImpactBasis: {
56
+ readonly Billed: "billed";
57
+ readonly Estimate: "estimate";
58
+ };
59
+ type ImpactBasis = (typeof ImpactBasis)[keyof typeof ImpactBasis];
52
60
  }
@@ -37,6 +37,10 @@ var AnomalyDetail;
37
37
  No: "NO",
38
38
  PlannedActivity: "PLANNED_ACTIVITY"
39
39
  };
40
+ AnomalyDetail2.ImpactBasis = {
41
+ Billed: "billed",
42
+ Estimate: "estimate"
43
+ };
40
44
  })(AnomalyDetail || (AnomalyDetail = {}));
41
45
  // Annotate the CommonJS export names for ESM import in node:
42
46
  0 && (module.exports = {
@@ -14,6 +14,10 @@ var AnomalyDetail;
14
14
  No: "NO",
15
15
  PlannedActivity: "PLANNED_ACTIVITY"
16
16
  };
17
+ AnomalyDetail2.ImpactBasis = {
18
+ Billed: "billed",
19
+ Estimate: "estimate"
20
+ };
17
21
  })(AnomalyDetail || (AnomalyDetail = {}));
18
22
  export {
19
23
  AnomalyDetail
@@ -29,6 +29,8 @@ export interface AnomalyListItem {
29
29
  /** ISO date string for when the anomaly window closed, as reported by AWS Cost Explorer. Null while the anomaly is still ongoing. */
30
30
  anomaly_end_date?: (string | null) | undefined;
31
31
  timestamp: string;
32
+ /** billed when the impact is measured on the bill, estimate when it is measured on Microsoft's list price for an Azure subscription whose cost a CSP partner keeps */
33
+ impact_basis?: AnomalyListItem.ImpactBasis | undefined;
32
34
  }
33
35
  export declare namespace AnomalyListItem {
34
36
  const Severity: {
@@ -48,4 +50,10 @@ export declare namespace AnomalyListItem {
48
50
  readonly PlannedActivity: "PLANNED_ACTIVITY";
49
51
  };
50
52
  type Feedback = (typeof Feedback)[keyof typeof Feedback];
53
+ /** billed when the impact is measured on the bill, estimate when it is measured on Microsoft's list price for an Azure subscription whose cost a CSP partner keeps */
54
+ const ImpactBasis: {
55
+ readonly Billed: "billed";
56
+ readonly Estimate: "estimate";
57
+ };
58
+ type ImpactBasis = (typeof ImpactBasis)[keyof typeof ImpactBasis];
51
59
  }
@@ -29,6 +29,8 @@ export interface AnomalyListItem {
29
29
  /** ISO date string for when the anomaly window closed, as reported by AWS Cost Explorer. Null while the anomaly is still ongoing. */
30
30
  anomaly_end_date?: (string | null) | undefined;
31
31
  timestamp: string;
32
+ /** billed when the impact is measured on the bill, estimate when it is measured on Microsoft's list price for an Azure subscription whose cost a CSP partner keeps */
33
+ impact_basis?: AnomalyListItem.ImpactBasis | undefined;
32
34
  }
33
35
  export declare namespace AnomalyListItem {
34
36
  const Severity: {
@@ -48,4 +50,10 @@ export declare namespace AnomalyListItem {
48
50
  readonly PlannedActivity: "PLANNED_ACTIVITY";
49
51
  };
50
52
  type Feedback = (typeof Feedback)[keyof typeof Feedback];
53
+ /** billed when the impact is measured on the bill, estimate when it is measured on Microsoft's list price for an Azure subscription whose cost a CSP partner keeps */
54
+ const ImpactBasis: {
55
+ readonly Billed: "billed";
56
+ readonly Estimate: "estimate";
57
+ };
58
+ type ImpactBasis = (typeof ImpactBasis)[keyof typeof ImpactBasis];
51
59
  }
@@ -37,6 +37,10 @@ var AnomalyListItem;
37
37
  No: "NO",
38
38
  PlannedActivity: "PLANNED_ACTIVITY"
39
39
  };
40
+ AnomalyListItem2.ImpactBasis = {
41
+ Billed: "billed",
42
+ Estimate: "estimate"
43
+ };
40
44
  })(AnomalyListItem || (AnomalyListItem = {}));
41
45
  // Annotate the CommonJS export names for ESM import in node:
42
46
  0 && (module.exports = {
@@ -14,6 +14,10 @@ var AnomalyListItem;
14
14
  No: "NO",
15
15
  PlannedActivity: "PLANNED_ACTIVITY"
16
16
  };
17
+ AnomalyListItem2.ImpactBasis = {
18
+ Billed: "billed",
19
+ Estimate: "estimate"
20
+ };
17
21
  })(AnomalyListItem || (AnomalyListItem = {}));
18
22
  export {
19
23
  AnomalyListItem
@@ -6,6 +6,8 @@ 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
+ /** What set the change off, as the component saw it: oom_kills_last_hour and crash_looping for a memory raise, measured_limit_milli and recommendation_id for a throttling raise */
10
+ trigger?: (Record<string, unknown> | null) | undefined;
9
11
  /** The person whose opt-in the change acted on, as the dashboard verified them */
10
12
  approved_by_email?: (string | null) | undefined;
11
13
  /** For a change an object turned on, the approver its levelfour.ai/approved-by annotation names: declared by whoever wrote the object, never verified */
@@ -6,6 +6,8 @@ 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
+ /** What set the change off, as the component saw it: oom_kills_last_hour and crash_looping for a memory raise, measured_limit_milli and recommendation_id for a throttling raise */
10
+ trigger?: (Record<string, unknown> | null) | undefined;
9
11
  /** The person whose opt-in the change acted on, as the dashboard verified them */
10
12
  approved_by_email?: (string | null) | undefined;
11
13
  /** 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,6 +12,8 @@ export interface AutomationComponent {
12
12
  stop_version_ack: number;
13
13
  /** The namespaces labelled levelfour.ai/automation=off */
14
14
  blocked_namespaces: string[];
15
+ /** The namespaces carrying a label the install names in automation.webhook.excludedNamespaceLabels, those another tool still sizes pods in; null while it reports none, as when the install names no such label or an older component, so a takeover is refused (label_not_reported) */
16
+ excluded_namespaces?: (string[] | null) | undefined;
15
17
  /** It synced in the last five minutes */
16
18
  connected: boolean;
17
19
  }
@@ -12,6 +12,8 @@ export interface AutomationComponent {
12
12
  stop_version_ack: number;
13
13
  /** The namespaces labelled levelfour.ai/automation=off */
14
14
  blocked_namespaces: string[];
15
+ /** The namespaces carrying a label the install names in automation.webhook.excludedNamespaceLabels, those another tool still sizes pods in; null while it reports none, as when the install names no such label or an older component, so a takeover is refused (label_not_reported) */
16
+ excluded_namespaces?: (string[] | null) | undefined;
15
17
  /** It synced in the last five minutes */
16
18
  connected: boolean;
17
19
  }
@@ -1,12 +1,12 @@
1
1
  import type * as LevelFour from "../index.mjs";
2
2
  export interface AutomationEvent {
3
3
  event_id: string;
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 */
4
+ /** What the component reported (revert_finished, with no pod, ends a revert with detail.outcome and its pod counts), what a person changed, or what LevelFour recorded on its own: in_place_ceiling_reached each time a rightsizing walk gets to the most the component sets in place for a request, twice the template's value, while its target is higher, with detail.resource, detail.reached, detail.wanted (the values the workload's spec needs) and detail.recommendation_id, the newest open pull request recommendation for the container, which changes its spec, read with the page, null with none; and hard_limit_exceeded each time a walk would take a step that leaves a request or a limit above the install's hard limits, which the component refuses, with the same fields and detail.hard_limit */
5
5
  type: string;
6
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
7
  category: AutomationEvent.Category;
8
8
  occurred_at: string;
9
- /** A person's email, levelfour-automation for the component, or levelfour-takeover (automatic) for a takeover's freeze, whose detail names the admin who marked it */
9
+ /** A person's email, levelfour-automation for the component, levelfour for what LevelFour decided on its own (a refusal, the in-place ceiling, the hard limit), or levelfour-takeover (automatic) for a takeover's freeze, whose detail names the admin who marked it */
10
10
  actor?: (string | null) | undefined;
11
11
  namespace?: (string | null) | undefined;
12
12
  workload_kind?: (string | null) | undefined;
@@ -15,6 +15,12 @@ export interface AutomationEvent {
15
15
  pod?: (string | null) | undefined;
16
16
  action?: (LevelFour.AutomationAction | null) | undefined;
17
17
  detail: Record<string, unknown>;
18
+ /** The container's values before this event: the change's starting values, the raised values a revert or a rollback took back, or what the component reported. None for an event that moves nothing */
19
+ before?: (LevelFour.ContainerResources | null) | undefined;
20
+ /** The values this event left the container on, or would have, on the same reading as before */
21
+ after?: (LevelFour.ContainerResources | null) | undefined;
22
+ /** Why: oom_kills, cpu_throttling or rightsizing_step for a change, the refusal reason for one LevelFour refused, revert for a revert, still_out_of_memory once a raise did not end the OOM kills, the rollback's trigger, in_place_ceiling for a raise the in-place ceiling stopped, hard_limit for a step the install's hard limits stopped, or the component's own reason for what it held back or skipped */
23
+ reason?: (string | null) | undefined;
18
24
  }
19
25
  export declare namespace AutomationEvent {
20
26
  /** 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 */
@@ -1,12 +1,12 @@
1
1
  import type * as LevelFour from "../index.js";
2
2
  export interface AutomationEvent {
3
3
  event_id: string;
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 */
4
+ /** What the component reported (revert_finished, with no pod, ends a revert with detail.outcome and its pod counts), what a person changed, or what LevelFour recorded on its own: in_place_ceiling_reached each time a rightsizing walk gets to the most the component sets in place for a request, twice the template's value, while its target is higher, with detail.resource, detail.reached, detail.wanted (the values the workload's spec needs) and detail.recommendation_id, the newest open pull request recommendation for the container, which changes its spec, read with the page, null with none; and hard_limit_exceeded each time a walk would take a step that leaves a request or a limit above the install's hard limits, which the component refuses, with the same fields and detail.hard_limit */
5
5
  type: string;
6
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
7
  category: AutomationEvent.Category;
8
8
  occurred_at: string;
9
- /** A person's email, levelfour-automation for the component, or levelfour-takeover (automatic) for a takeover's freeze, whose detail names the admin who marked it */
9
+ /** A person's email, levelfour-automation for the component, levelfour for what LevelFour decided on its own (a refusal, the in-place ceiling, the hard limit), or levelfour-takeover (automatic) for a takeover's freeze, whose detail names the admin who marked it */
10
10
  actor?: (string | null) | undefined;
11
11
  namespace?: (string | null) | undefined;
12
12
  workload_kind?: (string | null) | undefined;
@@ -15,6 +15,12 @@ export interface AutomationEvent {
15
15
  pod?: (string | null) | undefined;
16
16
  action?: (LevelFour.AutomationAction | null) | undefined;
17
17
  detail: Record<string, unknown>;
18
+ /** The container's values before this event: the change's starting values, the raised values a revert or a rollback took back, or what the component reported. None for an event that moves nothing */
19
+ before?: (LevelFour.ContainerResources | null) | undefined;
20
+ /** The values this event left the container on, or would have, on the same reading as before */
21
+ after?: (LevelFour.ContainerResources | null) | undefined;
22
+ /** Why: oom_kills, cpu_throttling or rightsizing_step for a change, the refusal reason for one LevelFour refused, revert for a revert, still_out_of_memory once a raise did not end the OOM kills, the rollback's trigger, in_place_ceiling for a raise the in-place ceiling stopped, hard_limit for a step the install's hard limits stopped, or the component's own reason for what it held back or skipped */
23
+ reason?: (string | null) | undefined;
18
24
  }
19
25
  export declare namespace AutomationEvent {
20
26
  /** 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,13 +7,24 @@ export interface AzureBudgetItem {
7
7
  amount_usd: number | null;
8
8
  /** Monthly, Quarterly, Annually, or their billing-period forms */
9
9
  time_grain: string;
10
- /** Actual cost in the current period, from the bill LevelFour holds */
10
+ /** Billed cost in the current period, from the bill LevelFour holds */
11
11
  spent: number;
12
- /** Straight-line projection to the end of the current period */
12
+ /** Microsoft's list-price estimate in the current period for the subscriptions a CSP partner bills with their cost hidden, whose bill is 0. Never part of spent */
13
+ estimated_spent?: number | undefined;
14
+ /** Straight-line projection to the end of the current period, of spent, or of estimated_spent when the budget covers only estimated subscriptions */
13
15
  forecast: number | null;
16
+ /** spent over the amount, or estimated_spent over it when the budget covers only estimated spend */
14
17
  burn_pct: number | null;
15
18
  /** Alert thresholds as percents of the amount */
16
19
  thresholds: number[];
17
- /** True when the budget's scope, period or currency cannot be reproduced exactly */
20
+ /** True when the budget's scope, period or currency cannot be reproduced exactly, or its spend is a list-price estimate */
18
21
  approximate: boolean;
22
+ /** billed when every subscription has a bill, estimate when every one is Microsoft's list price because a CSP partner keeps the cost, mixed when the budget covers both */
23
+ cost_basis: AzureBudgetItem.CostBasis;
24
+ }
25
+ export declare namespace AzureBudgetItem {
26
+ /**
27
+ * billed when every subscription has a bill, estimate when every one is Microsoft's list price because a CSP partner keeps the cost, mixed when the budget covers both
28
+ */
29
+ type CostBasis = ("billed" | "estimate") | "mixed";
19
30
  }
@@ -7,13 +7,24 @@ export interface AzureBudgetItem {
7
7
  amount_usd: number | null;
8
8
  /** Monthly, Quarterly, Annually, or their billing-period forms */
9
9
  time_grain: string;
10
- /** Actual cost in the current period, from the bill LevelFour holds */
10
+ /** Billed cost in the current period, from the bill LevelFour holds */
11
11
  spent: number;
12
- /** Straight-line projection to the end of the current period */
12
+ /** Microsoft's list-price estimate in the current period for the subscriptions a CSP partner bills with their cost hidden, whose bill is 0. Never part of spent */
13
+ estimated_spent?: number | undefined;
14
+ /** Straight-line projection to the end of the current period, of spent, or of estimated_spent when the budget covers only estimated subscriptions */
13
15
  forecast: number | null;
16
+ /** spent over the amount, or estimated_spent over it when the budget covers only estimated spend */
14
17
  burn_pct: number | null;
15
18
  /** Alert thresholds as percents of the amount */
16
19
  thresholds: number[];
17
- /** True when the budget's scope, period or currency cannot be reproduced exactly */
20
+ /** True when the budget's scope, period or currency cannot be reproduced exactly, or its spend is a list-price estimate */
18
21
  approximate: boolean;
22
+ /** billed when every subscription has a bill, estimate when every one is Microsoft's list price because a CSP partner keeps the cost, mixed when the budget covers both */
23
+ cost_basis: AzureBudgetItem.CostBasis;
24
+ }
25
+ export declare namespace AzureBudgetItem {
26
+ /**
27
+ * billed when every subscription has a bill, estimate when every one is Microsoft's list price because a CSP partner keeps the cost, mixed when the budget covers both
28
+ */
29
+ type CostBasis = ("billed" | "estimate") | "mixed";
19
30
  }
@@ -1,5 +1,9 @@
1
1
  export interface AzureDataAvailabilityData {
2
2
  costs: boolean;
3
+ /** Billed or amortized cost on any Azure line in the last 62 days */
4
+ billed?: boolean | undefined;
5
+ /** A list-price estimate on any Azure line in the last 62 days: a subscription whose cost a CSP partner keeps. True with billed false means every figure the tenant has is an estimate */
6
+ estimate?: boolean | undefined;
3
7
  resource_costs: boolean;
4
8
  inventory: boolean;
5
9
  changes: boolean;