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.
- package/dist/Client.d.mts +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +25 -20
- package/dist/Client.mjs +5 -0
- package/dist/api/resources/boards/client/Client.d.mts +3 -2
- package/dist/api/resources/boards/client/Client.d.ts +3 -2
- package/dist/api/resources/boards/client/Client.js +10 -5
- package/dist/api/resources/boards/client/Client.mjs +10 -5
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.d.mts +8 -0
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.d.ts +8 -0
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.js +17 -0
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.mjs +1 -0
- package/dist/api/resources/boards/client/requests/index.d.mts +1 -0
- package/dist/api/resources/boards/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.mts +3 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +8 -1
- package/dist/api/resources/index.mjs +4 -0
- package/dist/api/resources/kubernetes/client/Client.d.mts +54 -0
- package/dist/api/resources/kubernetes/client/Client.d.ts +54 -0
- package/dist/api/resources/kubernetes/client/Client.js +251 -0
- package/dist/api/resources/kubernetes/client/Client.mjs +217 -0
- package/dist/api/resources/kubernetes/client/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/client/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/client/index.js +23 -0
- package/dist/api/resources/kubernetes/client/index.mjs +2 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.d.mts +9 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.d.ts +9 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.js +17 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.mjs +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.js +17 -0
- package/dist/api/resources/kubernetes/client/requests/index.mjs +1 -0
- package/dist/api/resources/kubernetes/exports.d.mts +2 -0
- package/dist/api/resources/kubernetes/exports.d.ts +2 -0
- package/dist/api/resources/kubernetes/exports.js +32 -0
- package/dist/api/resources/kubernetes/exports.mjs +6 -0
- package/dist/api/resources/kubernetes/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/index.js +23 -0
- package/dist/api/resources/kubernetes/index.mjs +2 -0
- package/dist/api/resources/workspace/client/Client.d.mts +2 -1
- package/dist/api/resources/workspace/client/Client.d.ts +2 -1
- package/dist/api/resources/workspace/client/Client.js +7 -3
- package/dist/api/resources/workspace/client/Client.mjs +7 -3
- package/dist/api/resources/workspace/client/index.d.mts +1 -1
- package/dist/api/resources/workspace/client/index.d.ts +1 -1
- package/dist/api/resources/workspace/client/index.js +6 -0
- package/dist/api/resources/workspace/client/index.mjs +1 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.d.mts +23 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.d.ts +23 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.js +39 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.mjs +15 -0
- package/dist/api/resources/workspace/client/requests/index.d.mts +1 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspace/client/requests/index.js +29 -0
- package/dist/api/resources/workspace/client/requests/index.mjs +5 -0
- package/dist/api/types/AccountItem.d.mts +4 -0
- package/dist/api/types/AccountItem.d.ts +4 -0
- package/dist/api/types/AutomationAction.d.mts +33 -1
- package/dist/api/types/AutomationAction.d.ts +33 -1
- package/dist/api/types/AutomationAction.js +31 -3
- package/dist/api/types/AutomationAction.mjs +31 -3
- package/dist/api/types/AutomationComponent.d.mts +6 -0
- package/dist/api/types/AutomationComponent.d.ts +6 -0
- package/dist/api/types/AutomationEvent.d.mts +13 -0
- package/dist/api/types/AutomationEvent.d.ts +13 -0
- package/dist/api/types/AutomationEvent.js +21 -0
- package/dist/api/types/AutomationEvent.mjs +13 -0
- package/dist/api/types/AutomationEventList.d.mts +3 -1
- package/dist/api/types/AutomationEventList.d.ts +3 -1
- package/dist/api/types/AutomationSettings.d.mts +9 -0
- package/dist/api/types/AutomationSettings.d.ts +9 -0
- package/dist/api/types/AutoscalerCounts.d.mts +8 -0
- package/dist/api/types/AutoscalerCounts.d.ts +8 -0
- package/dist/api/types/AutoscalerCounts.js +17 -0
- package/dist/api/types/AutoscalerCounts.mjs +1 -0
- package/dist/api/types/Board.d.mts +1 -1
- package/dist/api/types/Board.d.ts +1 -1
- package/dist/api/types/BothBasesTotals.d.mts +5 -0
- package/dist/api/types/BothBasesTotals.d.ts +5 -0
- package/dist/api/types/BothBasesTotals.js +17 -0
- package/dist/api/types/BothBasesTotals.mjs +1 -0
- package/dist/api/types/ClusterAutomation.d.mts +1 -0
- package/dist/api/types/ClusterAutomation.d.ts +1 -0
- package/dist/api/types/ClusterConfig.d.mts +15 -0
- package/dist/api/types/ClusterConfig.d.ts +15 -0
- package/dist/api/types/ClusterConfig.js +17 -0
- package/dist/api/types/ClusterConfig.mjs +1 -0
- package/dist/api/types/ClusterFilterOptions.d.mts +5 -0
- package/dist/api/types/ClusterFilterOptions.d.ts +5 -0
- package/dist/api/types/ClusterItem.d.mts +22 -0
- package/dist/api/types/ClusterItem.d.ts +22 -0
- package/dist/api/types/ClusterSummary.d.mts +16 -0
- package/dist/api/types/ClusterSummary.d.ts +16 -0
- package/dist/api/types/ComputeMonth.d.mts +10 -0
- package/dist/api/types/ComputeMonth.d.ts +10 -0
- package/dist/api/types/ComputeMonth.js +17 -0
- package/dist/api/types/ComputeMonth.mjs +1 -0
- package/dist/api/types/ConfigLock.d.mts +6 -0
- package/dist/api/types/ConfigLock.d.ts +6 -0
- package/dist/api/types/ConfigLock.js +17 -0
- package/dist/api/types/ConfigLock.mjs +1 -0
- package/dist/api/types/ConfigObjectView.d.mts +41 -0
- package/dist/api/types/ConfigObjectView.d.ts +41 -0
- package/dist/api/types/ConfigObjectView.js +48 -0
- package/dist/api/types/ConfigObjectView.mjs +24 -0
- package/dist/api/types/ConfigTarget.d.mts +12 -0
- package/dist/api/types/ConfigTarget.d.ts +12 -0
- package/dist/api/types/ConfigTarget.js +36 -0
- package/dist/api/types/ConfigTarget.mjs +12 -0
- package/dist/api/types/ContainerDetail.d.mts +2 -0
- package/dist/api/types/ContainerDetail.d.ts +2 -0
- package/dist/api/types/CostGroup.d.mts +2 -0
- package/dist/api/types/CostGroup.d.ts +2 -0
- package/dist/api/types/CostPair.d.mts +6 -0
- package/dist/api/types/CostPair.d.ts +6 -0
- package/dist/api/types/CostPair.js +17 -0
- package/dist/api/types/CostPair.mjs +1 -0
- package/dist/api/types/DatadogHygieneData.d.mts +1 -1
- package/dist/api/types/DatadogHygieneData.d.ts +1 -1
- package/dist/api/types/DatadogHygieneRule.d.mts +3 -1
- package/dist/api/types/DatadogHygieneRule.d.ts +3 -1
- package/dist/api/types/EfficiencyPoint.d.mts +6 -0
- package/dist/api/types/EfficiencyPoint.d.ts +6 -0
- package/dist/api/types/EksAddon.d.mts +7 -0
- package/dist/api/types/EksAddon.d.ts +7 -0
- package/dist/api/types/EksAddon.js +17 -0
- package/dist/api/types/EksAddon.mjs +1 -0
- package/dist/api/types/EksCluster.d.mts +34 -0
- package/dist/api/types/EksCluster.d.ts +34 -0
- package/dist/api/types/EksCluster.js +42 -0
- package/dist/api/types/EksCluster.mjs +18 -0
- package/dist/api/types/EksClusterConfig.d.mts +29 -0
- package/dist/api/types/EksClusterConfig.d.ts +29 -0
- package/dist/api/types/EksClusterConfig.js +17 -0
- package/dist/api/types/EksClusterConfig.mjs +1 -0
- package/dist/api/types/EksClusterResponse.d.mts +6 -0
- package/dist/api/types/EksClusterResponse.d.ts +6 -0
- package/dist/api/types/EksClusterResponse.js +17 -0
- package/dist/api/types/EksClusterResponse.mjs +1 -0
- package/dist/api/types/EksFleetData.d.mts +4 -0
- package/dist/api/types/EksFleetData.d.ts +4 -0
- package/dist/api/types/EksFleetData.js +17 -0
- package/dist/api/types/EksFleetData.mjs +1 -0
- package/dist/api/types/EksFleetResponse.d.mts +6 -0
- package/dist/api/types/EksFleetResponse.d.ts +6 -0
- package/dist/api/types/EksFleetResponse.js +17 -0
- package/dist/api/types/EksFleetResponse.mjs +1 -0
- package/dist/api/types/EksHealthIssue.d.mts +4 -0
- package/dist/api/types/EksHealthIssue.d.ts +4 -0
- package/dist/api/types/EksHealthIssue.js +17 -0
- package/dist/api/types/EksHealthIssue.mjs +1 -0
- package/dist/api/types/EksInsight.d.mts +9 -0
- package/dist/api/types/EksInsight.d.ts +9 -0
- package/dist/api/types/EksInsight.js +17 -0
- package/dist/api/types/EksInsight.mjs +1 -0
- package/dist/api/types/EksLogging.d.mts +7 -0
- package/dist/api/types/EksLogging.d.ts +7 -0
- package/dist/api/types/EksLogging.js +17 -0
- package/dist/api/types/EksLogging.mjs +1 -0
- package/dist/api/types/EksNetworking.d.mts +9 -0
- package/dist/api/types/EksNetworking.d.ts +9 -0
- package/dist/api/types/EksNetworking.js +17 -0
- package/dist/api/types/EksNetworking.mjs +1 -0
- package/dist/api/types/EksPodIdentity.d.mts +4 -0
- package/dist/api/types/EksPodIdentity.d.ts +4 -0
- package/dist/api/types/EksPodIdentity.js +17 -0
- package/dist/api/types/EksPodIdentity.mjs +1 -0
- package/dist/api/types/EksSupport.d.mts +8 -0
- package/dist/api/types/EksSupport.d.ts +8 -0
- package/dist/api/types/EksSupport.js +17 -0
- package/dist/api/types/EksSupport.mjs +1 -0
- package/dist/api/types/EksUnreadable.d.mts +5 -0
- package/dist/api/types/EksUnreadable.d.ts +5 -0
- package/dist/api/types/EksUnreadable.js +17 -0
- package/dist/api/types/EksUnreadable.mjs +1 -0
- package/dist/api/types/FleetNamespace.d.mts +78 -0
- package/dist/api/types/FleetNamespace.d.ts +78 -0
- package/dist/api/types/FleetNamespace.js +49 -0
- package/dist/api/types/FleetNamespace.mjs +25 -0
- package/dist/api/types/FleetNamespaceListData.d.mts +7 -0
- package/dist/api/types/FleetNamespaceListData.d.ts +7 -0
- package/dist/api/types/FleetNamespaceListData.js +17 -0
- package/dist/api/types/FleetNamespaceListData.mjs +1 -0
- package/dist/api/types/FleetNamespaceListResponse.d.mts +6 -0
- package/dist/api/types/FleetNamespaceListResponse.d.ts +6 -0
- package/dist/api/types/FleetNamespaceListResponse.js +17 -0
- package/dist/api/types/FleetNamespaceListResponse.mjs +1 -0
- package/dist/api/types/FleetNetworkDestinations.d.mts +5 -0
- package/dist/api/types/FleetNetworkDestinations.d.ts +5 -0
- package/dist/api/types/FleetNetworkDestinations.js +17 -0
- package/dist/api/types/FleetNetworkDestinations.mjs +1 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.d.mts +6 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.d.ts +6 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.js +17 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.mjs +1 -0
- package/dist/api/types/FleetStorage.d.mts +14 -0
- package/dist/api/types/FleetStorage.d.ts +14 -0
- package/dist/api/types/FleetStorage.js +17 -0
- package/dist/api/types/FleetStorage.mjs +1 -0
- package/dist/api/types/FleetSummary.d.mts +10 -0
- package/dist/api/types/FleetSummary.d.ts +10 -0
- package/dist/api/types/FleetTotals.d.mts +4 -0
- package/dist/api/types/FleetTotals.d.ts +4 -0
- package/dist/api/types/FleetWorkload.d.mts +18 -0
- package/dist/api/types/FleetWorkload.d.ts +18 -0
- package/dist/api/types/FleetWorkload.js +20 -0
- package/dist/api/types/FleetWorkload.mjs +12 -0
- package/dist/api/types/FleetWorkloadListData.d.mts +1 -1
- package/dist/api/types/FleetWorkloadListData.d.ts +1 -1
- package/dist/api/types/FleetWorkloadPair.d.mts +10 -0
- package/dist/api/types/FleetWorkloadPair.d.ts +10 -0
- package/dist/api/types/FleetWorkloadPair.js +17 -0
- package/dist/api/types/FleetWorkloadPair.mjs +1 -0
- package/dist/api/types/HardLimits.d.mts +7 -0
- package/dist/api/types/HardLimits.d.ts +7 -0
- package/dist/api/types/HardLimits.js +17 -0
- package/dist/api/types/HardLimits.mjs +1 -0
- package/dist/api/types/KubernetesDataAvailability.d.mts +2 -0
- package/dist/api/types/KubernetesDataAvailability.d.ts +2 -0
- package/dist/api/types/LensTotals.d.mts +12 -0
- package/dist/api/types/LensTotals.d.ts +12 -0
- package/dist/api/types/NamespaceAutomation.d.mts +17 -0
- package/dist/api/types/NamespaceAutomation.d.ts +17 -0
- package/dist/api/types/NamespaceAutomation.js +6 -0
- package/dist/api/types/NamespaceAutomation.mjs +6 -0
- package/dist/api/types/NamespaceItem.d.mts +14 -1
- package/dist/api/types/NamespaceItem.d.ts +14 -1
- package/dist/api/types/NamespaceItem.js +1 -0
- package/dist/api/types/NamespaceItem.mjs +1 -0
- package/dist/api/types/NamespaceScope.d.mts +3 -2
- package/dist/api/types/NamespaceScope.d.ts +3 -2
- package/dist/api/types/NamespaceScope.js +1 -0
- package/dist/api/types/NamespaceScope.mjs +1 -0
- package/dist/api/types/NetworkDayUsage.d.mts +2 -0
- package/dist/api/types/NetworkDayUsage.d.ts +2 -0
- package/dist/api/types/NodeConditionItem.d.mts +7 -0
- package/dist/api/types/NodeConditionItem.d.ts +7 -0
- package/dist/api/types/NodeConditionItem.js +17 -0
- package/dist/api/types/NodeConditionItem.mjs +1 -0
- package/dist/api/types/NodeDetail.d.mts +6 -0
- package/dist/api/types/NodeDetail.d.ts +6 -0
- package/dist/api/types/NodeFacets.d.mts +2 -0
- package/dist/api/types/NodeFacets.d.ts +2 -0
- package/dist/api/types/NodeInfoItem.d.mts +8 -0
- package/dist/api/types/NodeInfoItem.d.ts +8 -0
- package/dist/api/types/NodeInfoItem.js +17 -0
- package/dist/api/types/NodeInfoItem.mjs +1 -0
- package/dist/api/types/PodPhases.d.mts +6 -0
- package/dist/api/types/PodPhases.d.ts +6 -0
- package/dist/api/types/PodPhases.js +17 -0
- package/dist/api/types/PodPhases.mjs +1 -0
- package/dist/api/types/PoolBillEffect.d.mts +25 -0
- package/dist/api/types/PoolBillEffect.d.ts +25 -0
- package/dist/api/types/PoolBillEffect.js +35 -0
- package/dist/api/types/PoolBillEffect.mjs +11 -0
- package/dist/api/types/PotentialSavings.d.mts +5 -0
- package/dist/api/types/PotentialSavings.d.ts +5 -0
- package/dist/api/types/ProviderShare.d.mts +9 -0
- package/dist/api/types/ProviderShare.d.ts +9 -0
- package/dist/api/types/ProviderShare.js +17 -0
- package/dist/api/types/ProviderShare.mjs +1 -0
- package/dist/api/types/PurchaseTypeShare.d.mts +4 -0
- package/dist/api/types/PurchaseTypeShare.d.ts +4 -0
- package/dist/api/types/RealizedBlocker.d.mts +5 -0
- package/dist/api/types/RealizedBlocker.d.ts +5 -0
- package/dist/api/types/RealizedBlocker.js +17 -0
- package/dist/api/types/RealizedBlocker.mjs +1 -0
- package/dist/api/types/RealizedPool.d.mts +6 -0
- package/dist/api/types/RealizedPool.d.ts +6 -0
- package/dist/api/types/RealizedPool.js +17 -0
- package/dist/api/types/RealizedPool.mjs +1 -0
- package/dist/api/types/RealizedRightsizing.d.mts +12 -0
- package/dist/api/types/RealizedRightsizing.d.ts +12 -0
- package/dist/api/types/RealizedRightsizing.js +17 -0
- package/dist/api/types/RealizedRightsizing.mjs +1 -0
- package/dist/api/types/RealizedRightsizingResponse.d.mts +6 -0
- package/dist/api/types/RealizedRightsizingResponse.d.ts +6 -0
- package/dist/api/types/RealizedRightsizingResponse.js +17 -0
- package/dist/api/types/RealizedRightsizingResponse.mjs +1 -0
- package/dist/api/types/RealizedTotal.d.mts +4 -0
- package/dist/api/types/RealizedTotal.d.ts +4 -0
- package/dist/api/types/RealizedTotal.js +17 -0
- package/dist/api/types/RealizedTotal.mjs +1 -0
- package/dist/api/types/ReliabilityEventDay.d.mts +6 -0
- package/dist/api/types/ReliabilityEventDay.d.ts +6 -0
- package/dist/api/types/ReliabilityEventDay.js +17 -0
- package/dist/api/types/ReliabilityEventDay.mjs +1 -0
- package/dist/api/types/ReliabilityGroup.d.mts +9 -0
- package/dist/api/types/ReliabilityGroup.d.ts +9 -0
- package/dist/api/types/ReliabilityGroup.js +17 -0
- package/dist/api/types/ReliabilityGroup.mjs +1 -0
- package/dist/api/types/ReliabilityLens.d.mts +2 -0
- package/dist/api/types/ReliabilityLens.d.ts +2 -0
- package/dist/api/types/ResourceCapacity.d.mts +12 -0
- package/dist/api/types/ResourceCapacity.d.ts +12 -0
- package/dist/api/types/ResourceCapacity.js +17 -0
- package/dist/api/types/ResourceCapacity.mjs +1 -0
- package/dist/api/types/ResourceEfficiency.d.mts +2 -0
- package/dist/api/types/ResourceEfficiency.d.ts +2 -0
- package/dist/api/types/RightsizeGuardrails.d.mts +9 -0
- package/dist/api/types/RightsizeGuardrails.d.ts +9 -0
- package/dist/api/types/RightsizeGuardrails.js +17 -0
- package/dist/api/types/RightsizeGuardrails.mjs +1 -0
- package/dist/api/types/RightsizeGuardrailsChange.d.mts +9 -0
- package/dist/api/types/RightsizeGuardrailsChange.d.ts +9 -0
- package/dist/api/types/RightsizeGuardrailsChange.js +17 -0
- package/dist/api/types/RightsizeGuardrailsChange.mjs +1 -0
- package/dist/api/types/RightsizedContainer.d.mts +132 -0
- package/dist/api/types/RightsizedContainer.d.ts +132 -0
- package/dist/api/types/RightsizedContainer.js +99 -0
- package/dist/api/types/RightsizedContainer.mjs +75 -0
- package/dist/api/types/RightsizedContainerList.d.mts +5 -0
- package/dist/api/types/RightsizedContainerList.d.ts +5 -0
- package/dist/api/types/RightsizedContainerList.js +17 -0
- package/dist/api/types/RightsizedContainerList.mjs +1 -0
- package/dist/api/types/RightsizedContainerListResponse.d.mts +6 -0
- package/dist/api/types/RightsizedContainerListResponse.d.ts +6 -0
- package/dist/api/types/RightsizedContainerListResponse.js +17 -0
- package/dist/api/types/RightsizedContainerListResponse.mjs +1 -0
- package/dist/api/types/SavingsByKind.d.mts +11 -0
- package/dist/api/types/SavingsByKind.d.ts +11 -0
- package/dist/api/types/SavingsByKind.js +17 -0
- package/dist/api/types/SavingsByKind.mjs +1 -0
- package/dist/api/types/SetAutomationRequest.d.mts +5 -2
- package/dist/api/types/SetAutomationRequest.d.ts +5 -2
- package/dist/api/types/SetNamespaceAutomationRequest.d.mts +8 -0
- package/dist/api/types/SetNamespaceAutomationRequest.d.ts +8 -0
- package/dist/api/types/SetNamespaceAutomationRequest.js +5 -0
- package/dist/api/types/SetNamespaceAutomationRequest.mjs +5 -0
- package/dist/api/types/SetWorkloadAutomationRequest.d.mts +12 -0
- package/dist/api/types/SetWorkloadAutomationRequest.d.ts +12 -0
- package/dist/api/types/SetWorkloadAutomationRequest.js +35 -0
- package/dist/api/types/SetWorkloadAutomationRequest.mjs +11 -0
- package/dist/api/types/SourcedValue.d.mts +11 -0
- package/dist/api/types/SourcedValue.d.ts +11 -0
- package/dist/api/types/SourcedValue.js +17 -0
- package/dist/api/types/SourcedValue.mjs +1 -0
- package/dist/api/types/SpendDay.d.mts +14 -0
- package/dist/api/types/SpendDay.d.ts +14 -0
- package/dist/api/types/SpendKpis.d.mts +12 -0
- package/dist/api/types/SpendKpis.d.ts +12 -0
- package/dist/api/types/SpendUnitCost.d.mts +6 -0
- package/dist/api/types/SpendUnitCost.d.ts +6 -0
- package/dist/api/types/StopAndRevertRequest.d.mts +3 -0
- package/dist/api/types/StopAndRevertRequest.d.ts +3 -0
- package/dist/api/types/StopAndRevertRequest.js +17 -0
- package/dist/api/types/StopAndRevertRequest.mjs +1 -0
- package/dist/api/types/StorageClassTotals.d.mts +14 -0
- package/dist/api/types/StorageClassTotals.d.ts +14 -0
- package/dist/api/types/StorageClassTotals.js +17 -0
- package/dist/api/types/StorageClassTotals.mjs +1 -0
- package/dist/api/types/StorageClassUsage.d.mts +2 -0
- package/dist/api/types/StorageClassUsage.d.ts +2 -0
- package/dist/api/types/Traffic.d.mts +2 -0
- package/dist/api/types/Traffic.d.ts +2 -0
- package/dist/api/types/Waste.d.mts +6 -0
- package/dist/api/types/Waste.d.ts +6 -0
- package/dist/api/types/WasteDay.d.mts +6 -0
- package/dist/api/types/WasteDay.d.ts +6 -0
- package/dist/api/types/WasteTotal.d.mts +2 -0
- package/dist/api/types/WasteTotal.d.ts +2 -0
- package/dist/api/types/WorkloadAutomation.d.mts +15 -0
- package/dist/api/types/WorkloadAutomation.d.ts +15 -0
- package/dist/api/types/WorkloadAutomation.js +35 -0
- package/dist/api/types/WorkloadAutomation.mjs +11 -0
- package/dist/api/types/WorkloadAutomationResponse.d.mts +6 -0
- package/dist/api/types/WorkloadAutomationResponse.d.ts +6 -0
- package/dist/api/types/WorkloadAutomationResponse.js +17 -0
- package/dist/api/types/WorkloadAutomationResponse.mjs +1 -0
- package/dist/api/types/WorkloadDay.d.mts +8 -0
- package/dist/api/types/WorkloadDay.d.ts +8 -0
- package/dist/api/types/WorkloadItem.d.mts +14 -0
- package/dist/api/types/WorkloadItem.d.ts +14 -0
- package/dist/api/types/WorkloadVolume.d.mts +2 -0
- package/dist/api/types/WorkloadVolume.d.ts +2 -0
- package/dist/api/types/index.d.mts +54 -0
- package/dist/api/types/index.d.ts +54 -0
- package/dist/api/types/index.js +108 -0
- package/dist/api/types/index.mjs +54 -0
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- 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
|
|
@@ -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
|
|
@@ -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
|
}
|