levelfour 1.2.0 → 1.3.1

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 (134) hide show
  1. package/README.md +5 -6
  2. package/dist/api/resources/costAlerts/client/requests/CreateAlertRequest.d.mts +2 -0
  3. package/dist/api/resources/costAlerts/client/requests/CreateAlertRequest.d.ts +2 -0
  4. package/dist/api/resources/costAlerts/client/requests/UpdateAlertRequest.d.mts +1 -0
  5. package/dist/api/resources/costAlerts/client/requests/UpdateAlertRequest.d.ts +1 -0
  6. package/dist/api/types/AutomationAction.d.mts +53 -0
  7. package/dist/api/types/AutomationAction.d.ts +53 -0
  8. package/dist/api/types/AutomationAction.js +64 -0
  9. package/dist/api/types/AutomationAction.mjs +40 -0
  10. package/dist/api/types/AutomationCaps.d.mts +6 -0
  11. package/dist/api/types/AutomationCaps.d.ts +6 -0
  12. package/dist/api/types/AutomationCaps.js +17 -0
  13. package/dist/api/types/AutomationCaps.mjs +1 -0
  14. package/dist/api/types/AutomationComponent.d.mts +11 -0
  15. package/dist/api/types/AutomationComponent.d.ts +11 -0
  16. package/dist/api/types/AutomationComponent.js +17 -0
  17. package/dist/api/types/AutomationComponent.mjs +1 -0
  18. package/dist/api/types/AutomationEvent.d.mts +16 -0
  19. package/dist/api/types/AutomationEvent.d.ts +16 -0
  20. package/dist/api/types/AutomationEvent.js +17 -0
  21. package/dist/api/types/AutomationEvent.mjs +1 -0
  22. package/dist/api/types/AutomationEventList.d.mts +6 -0
  23. package/dist/api/types/AutomationEventList.d.ts +6 -0
  24. package/dist/api/types/AutomationEventList.js +17 -0
  25. package/dist/api/types/AutomationEventList.mjs +1 -0
  26. package/dist/api/types/AutomationEventListResponse.d.mts +6 -0
  27. package/dist/api/types/AutomationEventListResponse.d.ts +6 -0
  28. package/dist/api/types/AutomationEventListResponse.js +17 -0
  29. package/dist/api/types/AutomationEventListResponse.mjs +1 -0
  30. package/dist/api/types/AutomationSettings.d.mts +18 -0
  31. package/dist/api/types/AutomationSettings.d.ts +18 -0
  32. package/dist/api/types/AutomationSettings.js +17 -0
  33. package/dist/api/types/AutomationSettings.mjs +1 -0
  34. package/dist/api/types/AutomationSteps.d.mts +6 -0
  35. package/dist/api/types/AutomationSteps.d.ts +6 -0
  36. package/dist/api/types/AutomationSteps.js +17 -0
  37. package/dist/api/types/AutomationSteps.mjs +1 -0
  38. package/dist/api/types/ChildrenSavings.d.mts +12 -0
  39. package/dist/api/types/ChildrenSavings.d.ts +12 -0
  40. package/dist/api/types/ChildrenSavings.js +17 -0
  41. package/dist/api/types/ChildrenSavings.mjs +1 -0
  42. package/dist/api/types/ClusterAutomation.d.mts +8 -0
  43. package/dist/api/types/ClusterAutomation.d.ts +8 -0
  44. package/dist/api/types/ClusterAutomation.js +17 -0
  45. package/dist/api/types/ClusterAutomation.mjs +1 -0
  46. package/dist/api/types/ClusterAutomationResponse.d.mts +6 -0
  47. package/dist/api/types/ClusterAutomationResponse.d.ts +6 -0
  48. package/dist/api/types/ClusterAutomationResponse.js +17 -0
  49. package/dist/api/types/ClusterAutomationResponse.mjs +1 -0
  50. package/dist/api/types/ContainerDetail.d.mts +2 -0
  51. package/dist/api/types/ContainerDetail.d.ts +2 -0
  52. package/dist/api/types/ContainerJvmHeap.d.mts +21 -0
  53. package/dist/api/types/ContainerJvmHeap.d.ts +21 -0
  54. package/dist/api/types/ContainerJvmHeap.js +36 -0
  55. package/dist/api/types/ContainerJvmHeap.mjs +12 -0
  56. package/dist/api/types/ContainerLimitRange.d.mts +8 -0
  57. package/dist/api/types/ContainerLimitRange.d.ts +8 -0
  58. package/dist/api/types/ContainerLimitRange.js +17 -0
  59. package/dist/api/types/ContainerLimitRange.mjs +1 -0
  60. package/dist/api/types/ContainerResources.d.mts +5 -0
  61. package/dist/api/types/ContainerResources.d.ts +5 -0
  62. package/dist/api/types/ContainerResources.js +17 -0
  63. package/dist/api/types/ContainerResources.mjs +1 -0
  64. package/dist/api/types/CostAlert.d.mts +2 -0
  65. package/dist/api/types/CostAlert.d.ts +2 -0
  66. package/dist/api/types/MaintenanceWindow.d.mts +11 -0
  67. package/dist/api/types/MaintenanceWindow.d.ts +11 -0
  68. package/dist/api/types/MaintenanceWindow.js +17 -0
  69. package/dist/api/types/MaintenanceWindow.mjs +1 -0
  70. package/dist/api/types/NamespaceAutomation.d.mts +43 -0
  71. package/dist/api/types/NamespaceAutomation.d.ts +43 -0
  72. package/dist/api/types/NamespaceAutomation.js +50 -0
  73. package/dist/api/types/NamespaceAutomation.mjs +26 -0
  74. package/dist/api/types/NamespaceAutomationResponse.d.mts +6 -0
  75. package/dist/api/types/NamespaceAutomationResponse.d.ts +6 -0
  76. package/dist/api/types/NamespaceAutomationResponse.js +17 -0
  77. package/dist/api/types/NamespaceAutomationResponse.mjs +1 -0
  78. package/dist/api/types/NamespaceChannels.d.mts +7 -0
  79. package/dist/api/types/NamespaceChannels.d.ts +7 -0
  80. package/dist/api/types/NamespaceChannels.js +17 -0
  81. package/dist/api/types/NamespaceChannels.mjs +1 -0
  82. package/dist/api/types/NamespaceConstraints.d.mts +6 -0
  83. package/dist/api/types/NamespaceConstraints.d.ts +6 -0
  84. package/dist/api/types/NamespaceConstraints.js +17 -0
  85. package/dist/api/types/NamespaceConstraints.mjs +1 -0
  86. package/dist/api/types/NamespaceConstraintsResponse.d.mts +6 -0
  87. package/dist/api/types/NamespaceConstraintsResponse.d.ts +6 -0
  88. package/dist/api/types/NamespaceConstraintsResponse.js +17 -0
  89. package/dist/api/types/NamespaceConstraintsResponse.mjs +1 -0
  90. package/dist/api/types/NamespaceLimitRange.d.mts +6 -0
  91. package/dist/api/types/NamespaceLimitRange.d.ts +6 -0
  92. package/dist/api/types/NamespaceLimitRange.js +17 -0
  93. package/dist/api/types/NamespaceLimitRange.mjs +1 -0
  94. package/dist/api/types/NamespaceResourceQuota.d.mts +8 -0
  95. package/dist/api/types/NamespaceResourceQuota.d.ts +8 -0
  96. package/dist/api/types/NamespaceResourceQuota.js +17 -0
  97. package/dist/api/types/NamespaceResourceQuota.mjs +1 -0
  98. package/dist/api/types/NodeDetail.d.mts +1 -1
  99. package/dist/api/types/NodeDetail.d.ts +1 -1
  100. package/dist/api/types/NodePoolDetail.d.mts +2 -0
  101. package/dist/api/types/NodePoolDetail.d.ts +2 -0
  102. package/dist/api/types/ProviderBreakdownItem.d.mts +2 -0
  103. package/dist/api/types/ProviderBreakdownItem.d.ts +2 -0
  104. package/dist/api/types/QuotaResources.d.mts +6 -0
  105. package/dist/api/types/QuotaResources.d.ts +6 -0
  106. package/dist/api/types/QuotaResources.js +17 -0
  107. package/dist/api/types/QuotaResources.mjs +1 -0
  108. package/dist/api/types/ReliabilityParams.d.mts +2 -0
  109. package/dist/api/types/ReliabilityParams.d.ts +2 -0
  110. package/dist/api/types/ResourceRatio.d.mts +4 -0
  111. package/dist/api/types/ResourceRatio.d.ts +4 -0
  112. package/dist/api/types/ResourceRatio.js +17 -0
  113. package/dist/api/types/ResourceRatio.mjs +1 -0
  114. package/dist/api/types/SetAutomationRequest.d.mts +8 -0
  115. package/dist/api/types/SetAutomationRequest.d.ts +8 -0
  116. package/dist/api/types/SetAutomationRequest.js +17 -0
  117. package/dist/api/types/SetAutomationRequest.mjs +1 -0
  118. package/dist/api/types/SetNamespaceAutomationRequest.d.mts +16 -0
  119. package/dist/api/types/SetNamespaceAutomationRequest.d.ts +16 -0
  120. package/dist/api/types/SetNamespaceAutomationRequest.js +39 -0
  121. package/dist/api/types/SetNamespaceAutomationRequest.mjs +15 -0
  122. package/dist/api/types/StopAutomationRequest.d.mts +5 -0
  123. package/dist/api/types/StopAutomationRequest.d.ts +5 -0
  124. package/dist/api/types/StopAutomationRequest.js +17 -0
  125. package/dist/api/types/StopAutomationRequest.mjs +1 -0
  126. package/dist/api/types/index.d.mts +27 -0
  127. package/dist/api/types/index.d.ts +27 -0
  128. package/dist/api/types/index.js +54 -0
  129. package/dist/api/types/index.mjs +27 -0
  130. package/dist/version.d.mts +1 -1
  131. package/dist/version.d.ts +1 -1
  132. package/dist/version.js +1 -1
  133. package/dist/version.mjs +1 -1
  134. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface ClusterAutomation {
3
+ settings: LevelFour.AutomationSettings;
4
+ /** Null until the component first syncs */
5
+ component?: (LevelFour.AutomationComponent | null) | undefined;
6
+ /** Every current namespace but the system ones */
7
+ namespaces: LevelFour.NamespaceAutomation[];
8
+ }
@@ -0,0 +1,8 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface ClusterAutomation {
3
+ settings: LevelFour.AutomationSettings;
4
+ /** Null until the component first syncs */
5
+ component?: (LevelFour.AutomationComponent | null) | undefined;
6
+ /** Every current namespace but the system ones */
7
+ namespaces: LevelFour.NamespaceAutomation[];
8
+ }
@@ -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 ClusterAutomation_exports = {};
16
+ module.exports = __toCommonJS(ClusterAutomation_exports);
17
+ //# sourceMappingURL=ClusterAutomation.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ClusterAutomation.mjs.map
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface ClusterAutomationResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.ClusterAutomation;
5
+ timestamp: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface ClusterAutomationResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.ClusterAutomation;
5
+ timestamp: string;
6
+ }
@@ -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 ClusterAutomationResponse_exports = {};
16
+ module.exports = __toCommonJS(ClusterAutomationResponse_exports);
17
+ //# sourceMappingURL=ClusterAutomationResponse.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ClusterAutomationResponse.mjs.map
@@ -11,6 +11,8 @@ export interface ContainerDetail {
11
11
  limits: LevelFour.ResourceList;
12
12
  /** Null where the agent did not report them */
13
13
  probes: LevelFour.ContainerProbes;
14
+ /** Null when the agent reported no JVM heap setting */
15
+ jvm_heap?: (LevelFour.ContainerJvmHeap | null) | undefined;
14
16
  usage: LevelFour.UsageSummary;
15
17
  /** Usage in containers' first 15 minutes, against the steady state */
16
18
  startup: LevelFour.StartupUsage;
@@ -11,6 +11,8 @@ export interface ContainerDetail {
11
11
  limits: LevelFour.ResourceList;
12
12
  /** Null where the agent did not report them */
13
13
  probes: LevelFour.ContainerProbes;
14
+ /** Null when the agent reported no JVM heap setting */
15
+ jvm_heap?: (LevelFour.ContainerJvmHeap | null) | undefined;
14
16
  usage: LevelFour.UsageSummary;
15
17
  /** Usage in containers' first 15 minutes, against the steady state */
16
18
  startup: LevelFour.StartupUsage;
@@ -0,0 +1,21 @@
1
+ export interface ContainerJvmHeap {
2
+ /** -Xmx or -XX:MaxHeapSize */
3
+ max_bytes?: (number | null) | undefined;
4
+ /** -XX:MaxRAMPercentage, of the memory limit */
5
+ max_ram_percentage?: (number | null) | undefined;
6
+ /** -Xms or -XX:InitialHeapSize */
7
+ initial_bytes?: (number | null) | undefined;
8
+ /** command when the setting came from the command or arguments, env from a JVM option variable, unresolved for a JVM option variable set from a ConfigMap or Secret, which the agent cannot read */
9
+ source: ContainerJvmHeap.Source;
10
+ /** The least memory a recommendation leaves this container: the heap maximum, plus 256 MiB and a tenth of the heap for the rest of the JVM. Null when the heap maximum is not known */
11
+ floor_bytes?: (number | null) | undefined;
12
+ }
13
+ export declare namespace ContainerJvmHeap {
14
+ /** command when the setting came from the command or arguments, env from a JVM option variable, unresolved for a JVM option variable set from a ConfigMap or Secret, which the agent cannot read */
15
+ const Source: {
16
+ readonly Command: "command";
17
+ readonly Env: "env";
18
+ readonly Unresolved: "unresolved";
19
+ };
20
+ type Source = (typeof Source)[keyof typeof Source];
21
+ }
@@ -0,0 +1,21 @@
1
+ export interface ContainerJvmHeap {
2
+ /** -Xmx or -XX:MaxHeapSize */
3
+ max_bytes?: (number | null) | undefined;
4
+ /** -XX:MaxRAMPercentage, of the memory limit */
5
+ max_ram_percentage?: (number | null) | undefined;
6
+ /** -Xms or -XX:InitialHeapSize */
7
+ initial_bytes?: (number | null) | undefined;
8
+ /** command when the setting came from the command or arguments, env from a JVM option variable, unresolved for a JVM option variable set from a ConfigMap or Secret, which the agent cannot read */
9
+ source: ContainerJvmHeap.Source;
10
+ /** The least memory a recommendation leaves this container: the heap maximum, plus 256 MiB and a tenth of the heap for the rest of the JVM. Null when the heap maximum is not known */
11
+ floor_bytes?: (number | null) | undefined;
12
+ }
13
+ export declare namespace ContainerJvmHeap {
14
+ /** command when the setting came from the command or arguments, env from a JVM option variable, unresolved for a JVM option variable set from a ConfigMap or Secret, which the agent cannot read */
15
+ const Source: {
16
+ readonly Command: "command";
17
+ readonly Env: "env";
18
+ readonly Unresolved: "unresolved";
19
+ };
20
+ type Source = (typeof Source)[keyof typeof Source];
21
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var ContainerJvmHeap_exports = {};
20
+ __export(ContainerJvmHeap_exports, {
21
+ ContainerJvmHeap: () => ContainerJvmHeap
22
+ });
23
+ module.exports = __toCommonJS(ContainerJvmHeap_exports);
24
+ var ContainerJvmHeap;
25
+ ((ContainerJvmHeap2) => {
26
+ ContainerJvmHeap2.Source = {
27
+ Command: "command",
28
+ Env: "env",
29
+ Unresolved: "unresolved"
30
+ };
31
+ })(ContainerJvmHeap || (ContainerJvmHeap = {}));
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ ContainerJvmHeap
35
+ });
36
+ //# sourceMappingURL=ContainerJvmHeap.js.map
@@ -0,0 +1,12 @@
1
+ var ContainerJvmHeap;
2
+ ((ContainerJvmHeap2) => {
3
+ ContainerJvmHeap2.Source = {
4
+ Command: "command",
5
+ Env: "env",
6
+ Unresolved: "unresolved"
7
+ };
8
+ })(ContainerJvmHeap || (ContainerJvmHeap = {}));
9
+ export {
10
+ ContainerJvmHeap
11
+ };
12
+ //# sourceMappingURL=ContainerJvmHeap.mjs.map
@@ -0,0 +1,8 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface ContainerLimitRange {
3
+ min?: LevelFour.ResourceList | undefined;
4
+ max?: LevelFour.ResourceList | undefined;
5
+ default?: LevelFour.ResourceList | undefined;
6
+ default_request?: LevelFour.ResourceList | undefined;
7
+ max_limit_request_ratio?: LevelFour.ResourceRatio | undefined;
8
+ }
@@ -0,0 +1,8 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface ContainerLimitRange {
3
+ min?: LevelFour.ResourceList | undefined;
4
+ max?: LevelFour.ResourceList | undefined;
5
+ default?: LevelFour.ResourceList | undefined;
6
+ default_request?: LevelFour.ResourceList | undefined;
7
+ max_limit_request_ratio?: LevelFour.ResourceRatio | undefined;
8
+ }
@@ -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 ContainerLimitRange_exports = {};
16
+ module.exports = __toCommonJS(ContainerLimitRange_exports);
17
+ //# sourceMappingURL=ContainerLimitRange.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ContainerLimitRange.mjs.map
@@ -0,0 +1,5 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface ContainerResources {
3
+ requests?: LevelFour.ResourceList | undefined;
4
+ limits?: LevelFour.ResourceList | undefined;
5
+ }
@@ -0,0 +1,5 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface ContainerResources {
3
+ requests?: LevelFour.ResourceList | undefined;
4
+ limits?: LevelFour.ResourceList | undefined;
5
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var ContainerResources_exports = {};
16
+ module.exports = __toCommonJS(ContainerResources_exports);
17
+ //# sourceMappingURL=ContainerResources.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ContainerResources.mjs.map
@@ -9,6 +9,8 @@ export interface CostAlert {
9
9
  slack_channels?: LevelFour.AlertSlackChannel[] | undefined;
10
10
  /** Deprecated and always null: read slack_channels */
11
11
  slack_channel?: (string | null) | undefined;
12
+ /** Also sends each firing to the organization's Datadog as an event */
13
+ datadog?: boolean | undefined;
12
14
  enabled: boolean;
13
15
  paused_by?: (string | null) | undefined;
14
16
  sent_to_me?: boolean | undefined;
@@ -9,6 +9,8 @@ export interface CostAlert {
9
9
  slack_channels?: LevelFour.AlertSlackChannel[] | undefined;
10
10
  /** Deprecated and always null: read slack_channels */
11
11
  slack_channel?: (string | null) | undefined;
12
+ /** Also sends each firing to the organization's Datadog as an event */
13
+ datadog?: boolean | undefined;
12
14
  enabled: boolean;
13
15
  paused_by?: (string | null) | undefined;
14
16
  sent_to_me?: boolean | undefined;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * When the component may act, in UTC, within each day it names: a window never crosses midnight, so one that
3
+ * runs overnight is two windows, the second on the next day from 00:00.
4
+ */
5
+ export interface MaintenanceWindow {
6
+ days: number[];
7
+ /** HH:MM, UTC */
8
+ start: string;
9
+ /** HH:MM, UTC, later than start; 24:00 is the end of the day */
10
+ end: string;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * When the component may act, in UTC, within each day it names: a window never crosses midnight, so one that
3
+ * runs overnight is two windows, the second on the next day from 00:00.
4
+ */
5
+ export interface MaintenanceWindow {
6
+ days: number[];
7
+ /** HH:MM, UTC */
8
+ start: string;
9
+ /** HH:MM, UTC, later than start; 24:00 is the end of the day */
10
+ end: string;
11
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var MaintenanceWindow_exports = {};
16
+ module.exports = __toCommonJS(MaintenanceWindow_exports);
17
+ //# sourceMappingURL=MaintenanceWindow.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=MaintenanceWindow.mjs.map
@@ -0,0 +1,43 @@
1
+ export interface NamespaceAutomation {
2
+ namespace: string;
3
+ /** Automation acts only where recommendations are on */
4
+ recommendations: NamespaceAutomation.Recommendations;
5
+ scope_source: NamespaceAutomation.ScopeSource;
6
+ resize_enabled: boolean;
7
+ /** The person who turned in-place resize on */
8
+ resize_enabled_by?: (string | null) | undefined;
9
+ automerge_classes: NamespaceAutomation.AutomergeClasses.Item[];
10
+ /** The person who turned auto-merge on */
11
+ automerge_enabled_by?: (string | null) | undefined;
12
+ /** approver_left when the person who turned it on lost the role */
13
+ paused_reason?: (string | null) | undefined;
14
+ /** Whether the installed component may change this namespace; null with no component */
15
+ permitted?: (boolean | null) | undefined;
16
+ /** Send it back to change the namespace; 0 before it was first set */
17
+ version: number;
18
+ }
19
+ export declare namespace NamespaceAutomation {
20
+ /** Automation acts only where recommendations are on */
21
+ const Recommendations: {
22
+ readonly Enabled: "enabled";
23
+ readonly Disabled: "disabled";
24
+ readonly System: "system";
25
+ };
26
+ type Recommendations = (typeof Recommendations)[keyof typeof Recommendations];
27
+ const ScopeSource: {
28
+ readonly Label: "label";
29
+ readonly System: "system";
30
+ readonly Dashboard: "dashboard";
31
+ readonly Default: "default";
32
+ };
33
+ type ScopeSource = (typeof ScopeSource)[keyof typeof ScopeSource];
34
+ type AutomergeClasses = AutomergeClasses.Item[];
35
+ namespace AutomergeClasses {
36
+ const Item: {
37
+ readonly ReliabilityFix: "reliability_fix";
38
+ readonly SmallRequestDecrease: "small_request_decrease";
39
+ readonly AutoscalerTarget: "autoscaler_target";
40
+ };
41
+ type Item = (typeof Item)[keyof typeof Item];
42
+ }
43
+ }
@@ -0,0 +1,43 @@
1
+ export interface NamespaceAutomation {
2
+ namespace: string;
3
+ /** Automation acts only where recommendations are on */
4
+ recommendations: NamespaceAutomation.Recommendations;
5
+ scope_source: NamespaceAutomation.ScopeSource;
6
+ resize_enabled: boolean;
7
+ /** The person who turned in-place resize on */
8
+ resize_enabled_by?: (string | null) | undefined;
9
+ automerge_classes: NamespaceAutomation.AutomergeClasses.Item[];
10
+ /** The person who turned auto-merge on */
11
+ automerge_enabled_by?: (string | null) | undefined;
12
+ /** approver_left when the person who turned it on lost the role */
13
+ paused_reason?: (string | null) | undefined;
14
+ /** Whether the installed component may change this namespace; null with no component */
15
+ permitted?: (boolean | null) | undefined;
16
+ /** Send it back to change the namespace; 0 before it was first set */
17
+ version: number;
18
+ }
19
+ export declare namespace NamespaceAutomation {
20
+ /** Automation acts only where recommendations are on */
21
+ const Recommendations: {
22
+ readonly Enabled: "enabled";
23
+ readonly Disabled: "disabled";
24
+ readonly System: "system";
25
+ };
26
+ type Recommendations = (typeof Recommendations)[keyof typeof Recommendations];
27
+ const ScopeSource: {
28
+ readonly Label: "label";
29
+ readonly System: "system";
30
+ readonly Dashboard: "dashboard";
31
+ readonly Default: "default";
32
+ };
33
+ type ScopeSource = (typeof ScopeSource)[keyof typeof ScopeSource];
34
+ type AutomergeClasses = AutomergeClasses.Item[];
35
+ namespace AutomergeClasses {
36
+ const Item: {
37
+ readonly ReliabilityFix: "reliability_fix";
38
+ readonly SmallRequestDecrease: "small_request_decrease";
39
+ readonly AutoscalerTarget: "autoscaler_target";
40
+ };
41
+ type Item = (typeof Item)[keyof typeof Item];
42
+ }
43
+ }
@@ -0,0 +1,50 @@
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 NamespaceAutomation_exports = {};
20
+ __export(NamespaceAutomation_exports, {
21
+ NamespaceAutomation: () => NamespaceAutomation
22
+ });
23
+ module.exports = __toCommonJS(NamespaceAutomation_exports);
24
+ var NamespaceAutomation;
25
+ ((NamespaceAutomation2) => {
26
+ NamespaceAutomation2.Recommendations = {
27
+ Enabled: "enabled",
28
+ Disabled: "disabled",
29
+ System: "system"
30
+ };
31
+ NamespaceAutomation2.ScopeSource = {
32
+ Label: "label",
33
+ System: "system",
34
+ Dashboard: "dashboard",
35
+ Default: "default"
36
+ };
37
+ let AutomergeClasses;
38
+ ((AutomergeClasses2) => {
39
+ AutomergeClasses2.Item = {
40
+ ReliabilityFix: "reliability_fix",
41
+ SmallRequestDecrease: "small_request_decrease",
42
+ AutoscalerTarget: "autoscaler_target"
43
+ };
44
+ })(AutomergeClasses = NamespaceAutomation2.AutomergeClasses || (NamespaceAutomation2.AutomergeClasses = {}));
45
+ })(NamespaceAutomation || (NamespaceAutomation = {}));
46
+ // Annotate the CommonJS export names for ESM import in node:
47
+ 0 && (module.exports = {
48
+ NamespaceAutomation
49
+ });
50
+ //# sourceMappingURL=NamespaceAutomation.js.map
@@ -0,0 +1,26 @@
1
+ var NamespaceAutomation;
2
+ ((NamespaceAutomation2) => {
3
+ NamespaceAutomation2.Recommendations = {
4
+ Enabled: "enabled",
5
+ Disabled: "disabled",
6
+ System: "system"
7
+ };
8
+ NamespaceAutomation2.ScopeSource = {
9
+ Label: "label",
10
+ System: "system",
11
+ Dashboard: "dashboard",
12
+ Default: "default"
13
+ };
14
+ let AutomergeClasses;
15
+ ((AutomergeClasses2) => {
16
+ AutomergeClasses2.Item = {
17
+ ReliabilityFix: "reliability_fix",
18
+ SmallRequestDecrease: "small_request_decrease",
19
+ AutoscalerTarget: "autoscaler_target"
20
+ };
21
+ })(AutomergeClasses = NamespaceAutomation2.AutomergeClasses || (NamespaceAutomation2.AutomergeClasses = {}));
22
+ })(NamespaceAutomation || (NamespaceAutomation = {}));
23
+ export {
24
+ NamespaceAutomation
25
+ };
26
+ //# sourceMappingURL=NamespaceAutomation.mjs.map
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface NamespaceAutomationResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.NamespaceAutomation;
5
+ timestamp: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface NamespaceAutomationResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.NamespaceAutomation;
5
+ timestamp: string;
6
+ }
@@ -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 NamespaceAutomationResponse_exports = {};
16
+ module.exports = __toCommonJS(NamespaceAutomationResponse_exports);
17
+ //# sourceMappingURL=NamespaceAutomationResponse.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=NamespaceAutomationResponse.mjs.map
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Where a reliability rule posts for a workload in one namespace, in place of its own channels.
3
+ */
4
+ export interface NamespaceChannels {
5
+ namespace: string;
6
+ channels: string[];
7
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Where a reliability rule posts for a workload in one namespace, in place of its own channels.
3
+ */
4
+ export interface NamespaceChannels {
5
+ namespace: string;
6
+ channels: string[];
7
+ }
@@ -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 NamespaceChannels_exports = {};
16
+ module.exports = __toCommonJS(NamespaceChannels_exports);
17
+ //# sourceMappingURL=NamespaceChannels.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=NamespaceChannels.mjs.map
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface NamespaceConstraints {
3
+ namespace: string;
4
+ resource_quotas: LevelFour.NamespaceResourceQuota[];
5
+ limit_ranges: LevelFour.NamespaceLimitRange[];
6
+ }
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface NamespaceConstraints {
3
+ namespace: string;
4
+ resource_quotas: LevelFour.NamespaceResourceQuota[];
5
+ limit_ranges: LevelFour.NamespaceLimitRange[];
6
+ }
@@ -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 NamespaceConstraints_exports = {};
16
+ module.exports = __toCommonJS(NamespaceConstraints_exports);
17
+ //# sourceMappingURL=NamespaceConstraints.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=NamespaceConstraints.mjs.map
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface NamespaceConstraintsResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.NamespaceConstraints;
5
+ timestamp: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface NamespaceConstraintsResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.NamespaceConstraints;
5
+ timestamp: string;
6
+ }