levelfour 1.3.1 → 1.4.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.
@@ -1,5 +1,7 @@
1
1
  import type * as LevelFour from "../index.mjs";
2
2
  export interface DatadogRenewalData {
3
3
  as_of: string;
4
+ /** Whether a contract with a dollar volume is in force, so the bill's charges draw from it */
5
+ volume_in_force: boolean;
4
6
  products: LevelFour.DatadogRenewalProduct[];
5
7
  }
@@ -1,5 +1,7 @@
1
1
  import type * as LevelFour from "../index.js";
2
2
  export interface DatadogRenewalData {
3
3
  as_of: string;
4
+ /** Whether a contract with a dollar volume is in force, so the bill's charges draw from it */
5
+ volume_in_force: boolean;
4
6
  products: LevelFour.DatadogRenewalProduct[];
5
7
  }
@@ -0,0 +1,7 @@
1
+ export interface DatadogRenewalPlanDatabase {
2
+ /** The RDS identifier */
3
+ name: string;
4
+ region: string;
5
+ /** What the last closed AWS bill charged it */
6
+ monthly_usd: number;
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface DatadogRenewalPlanDatabase {
2
+ /** The RDS identifier */
3
+ name: string;
4
+ region: string;
5
+ /** What the last closed AWS bill charged it */
6
+ monthly_usd: number;
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 DatadogRenewalPlanDatabase_exports = {};
16
+ module.exports = __toCommonJS(DatadogRenewalPlanDatabase_exports);
17
+ //# sourceMappingURL=DatadogRenewalPlanDatabase.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=DatadogRenewalPlanDatabase.mjs.map
@@ -6,4 +6,6 @@ export interface DatadogRenewalPlanDatabaseMonitoring {
6
6
  databases: number;
7
7
  database_monthly_usd: number;
8
8
  buckets: LevelFour.DatadogRenewalPlanDatabaseBucket[];
9
+ /** Every database, the cheapest first */
10
+ items: LevelFour.DatadogRenewalPlanDatabase[];
9
11
  }
@@ -6,4 +6,6 @@ export interface DatadogRenewalPlanDatabaseMonitoring {
6
6
  databases: number;
7
7
  database_monthly_usd: number;
8
8
  buckets: LevelFour.DatadogRenewalPlanDatabaseBucket[];
9
+ /** Every database, the cheapest first */
10
+ items: LevelFour.DatadogRenewalPlanDatabase[];
9
11
  }
@@ -1,3 +1,4 @@
1
+ import type * as LevelFour from "../index.mjs";
1
2
  export interface DatadogRenewalPlanPoint {
2
3
  product: string;
3
4
  label: string;
@@ -9,6 +10,12 @@ export interface DatadogRenewalPlanPoint {
9
10
  /** What it would save a month, in USD. Never add it to realized savings */
10
11
  monthly_usd: number;
11
12
  term_usd: number;
13
+ /** What the product costs a month today */
14
+ monthly_now_usd: number;
15
+ /** What its median month of the window cost */
16
+ median_cost_usd: number;
17
+ /** The window, month by month, oldest first */
18
+ months: LevelFour.DatadogRenewalPlanPointMonth[];
12
19
  }
13
20
  export declare namespace DatadogRenewalPlanPoint {
14
21
  const Rule: {
@@ -1,3 +1,4 @@
1
+ import type * as LevelFour from "../index.js";
1
2
  export interface DatadogRenewalPlanPoint {
2
3
  product: string;
3
4
  label: string;
@@ -9,6 +10,12 @@ export interface DatadogRenewalPlanPoint {
9
10
  /** What it would save a month, in USD. Never add it to realized savings */
10
11
  monthly_usd: number;
11
12
  term_usd: number;
13
+ /** What the product costs a month today */
14
+ monthly_now_usd: number;
15
+ /** What its median month of the window cost */
16
+ median_cost_usd: number;
17
+ /** The window, month by month, oldest first */
18
+ months: LevelFour.DatadogRenewalPlanPointMonth[];
12
19
  }
13
20
  export declare namespace DatadogRenewalPlanPoint {
14
21
  const Rule: {
@@ -0,0 +1,5 @@
1
+ export interface DatadogRenewalPlanPointMonth {
2
+ month: string;
3
+ /** What the month cost. The last reads at what a month costs today */
4
+ cost_usd: number;
5
+ }
@@ -0,0 +1,5 @@
1
+ export interface DatadogRenewalPlanPointMonth {
2
+ month: string;
3
+ /** What the month cost. The last reads at what a month costs today */
4
+ cost_usd: number;
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 DatadogRenewalPlanPointMonth_exports = {};
16
+ module.exports = __toCommonJS(DatadogRenewalPlanPointMonth_exports);
17
+ //# sourceMappingURL=DatadogRenewalPlanPointMonth.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=DatadogRenewalPlanPointMonth.mjs.map
@@ -431,10 +431,12 @@ export * from "./DatadogRenewalData.mjs";
431
431
  export * from "./DatadogRenewalMonth.mjs";
432
432
  export * from "./DatadogRenewalPlanContract.mjs";
433
433
  export * from "./DatadogRenewalPlanData.mjs";
434
+ export * from "./DatadogRenewalPlanDatabase.mjs";
434
435
  export * from "./DatadogRenewalPlanDatabaseBucket.mjs";
435
436
  export * from "./DatadogRenewalPlanDatabaseMonitoring.mjs";
436
437
  export * from "./DatadogRenewalPlanNowMonth.mjs";
437
438
  export * from "./DatadogRenewalPlanPoint.mjs";
439
+ export * from "./DatadogRenewalPlanPointMonth.mjs";
438
440
  export * from "./DatadogRenewalPlanProduct.mjs";
439
441
  export * from "./DatadogRenewalPlanResponse.mjs";
440
442
  export * from "./DatadogRenewalPlanRule.mjs";
@@ -431,10 +431,12 @@ export * from "./DatadogRenewalData.js";
431
431
  export * from "./DatadogRenewalMonth.js";
432
432
  export * from "./DatadogRenewalPlanContract.js";
433
433
  export * from "./DatadogRenewalPlanData.js";
434
+ export * from "./DatadogRenewalPlanDatabase.js";
434
435
  export * from "./DatadogRenewalPlanDatabaseBucket.js";
435
436
  export * from "./DatadogRenewalPlanDatabaseMonitoring.js";
436
437
  export * from "./DatadogRenewalPlanNowMonth.js";
437
438
  export * from "./DatadogRenewalPlanPoint.js";
439
+ export * from "./DatadogRenewalPlanPointMonth.js";
438
440
  export * from "./DatadogRenewalPlanProduct.js";
439
441
  export * from "./DatadogRenewalPlanResponse.js";
440
442
  export * from "./DatadogRenewalPlanRule.js";
@@ -448,10 +448,12 @@ __reExport(types_exports, require("./DatadogRenewalData.js"), module.exports);
448
448
  __reExport(types_exports, require("./DatadogRenewalMonth.js"), module.exports);
449
449
  __reExport(types_exports, require("./DatadogRenewalPlanContract.js"), module.exports);
450
450
  __reExport(types_exports, require("./DatadogRenewalPlanData.js"), module.exports);
451
+ __reExport(types_exports, require("./DatadogRenewalPlanDatabase.js"), module.exports);
451
452
  __reExport(types_exports, require("./DatadogRenewalPlanDatabaseBucket.js"), module.exports);
452
453
  __reExport(types_exports, require("./DatadogRenewalPlanDatabaseMonitoring.js"), module.exports);
453
454
  __reExport(types_exports, require("./DatadogRenewalPlanNowMonth.js"), module.exports);
454
455
  __reExport(types_exports, require("./DatadogRenewalPlanPoint.js"), module.exports);
456
+ __reExport(types_exports, require("./DatadogRenewalPlanPointMonth.js"), module.exports);
455
457
  __reExport(types_exports, require("./DatadogRenewalPlanProduct.js"), module.exports);
456
458
  __reExport(types_exports, require("./DatadogRenewalPlanResponse.js"), module.exports);
457
459
  __reExport(types_exports, require("./DatadogRenewalPlanRule.js"), module.exports);
@@ -1639,10 +1641,12 @@ __reExport(types_exports, require("./ZonePair.js"), module.exports);
1639
1641
  ...require("./DatadogRenewalMonth.js"),
1640
1642
  ...require("./DatadogRenewalPlanContract.js"),
1641
1643
  ...require("./DatadogRenewalPlanData.js"),
1644
+ ...require("./DatadogRenewalPlanDatabase.js"),
1642
1645
  ...require("./DatadogRenewalPlanDatabaseBucket.js"),
1643
1646
  ...require("./DatadogRenewalPlanDatabaseMonitoring.js"),
1644
1647
  ...require("./DatadogRenewalPlanNowMonth.js"),
1645
1648
  ...require("./DatadogRenewalPlanPoint.js"),
1649
+ ...require("./DatadogRenewalPlanPointMonth.js"),
1646
1650
  ...require("./DatadogRenewalPlanProduct.js"),
1647
1651
  ...require("./DatadogRenewalPlanResponse.js"),
1648
1652
  ...require("./DatadogRenewalPlanRule.js"),
@@ -431,10 +431,12 @@ export * from "./DatadogRenewalData.mjs";
431
431
  export * from "./DatadogRenewalMonth.mjs";
432
432
  export * from "./DatadogRenewalPlanContract.mjs";
433
433
  export * from "./DatadogRenewalPlanData.mjs";
434
+ export * from "./DatadogRenewalPlanDatabase.mjs";
434
435
  export * from "./DatadogRenewalPlanDatabaseBucket.mjs";
435
436
  export * from "./DatadogRenewalPlanDatabaseMonitoring.mjs";
436
437
  export * from "./DatadogRenewalPlanNowMonth.mjs";
437
438
  export * from "./DatadogRenewalPlanPoint.mjs";
439
+ export * from "./DatadogRenewalPlanPointMonth.mjs";
438
440
  export * from "./DatadogRenewalPlanProduct.mjs";
439
441
  export * from "./DatadogRenewalPlanResponse.mjs";
440
442
  export * from "./DatadogRenewalPlanRule.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.3.1";
1
+ export declare const SDK_VERSION = "1.4.0";
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.3.1";
1
+ export declare const SDK_VERSION = "1.4.0";
package/dist/version.js CHANGED
@@ -21,7 +21,7 @@ __export(version_exports, {
21
21
  SDK_VERSION: () => SDK_VERSION
22
22
  });
23
23
  module.exports = __toCommonJS(version_exports);
24
- const SDK_VERSION = "1.3.1";
24
+ const SDK_VERSION = "1.4.0";
25
25
  // Annotate the CommonJS export names for ESM import in node:
26
26
  0 && (module.exports = {
27
27
  SDK_VERSION
package/dist/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "1.3.1";
1
+ const SDK_VERSION = "1.4.0";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "levelfour",
3
- "version": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "description": "The official TypeScript SDK for the LevelFour cloud cost optimization API",
5
5
  "author": "LevelFour <support@levelfour.ai>",
6
6
  "license": "Apache-2.0",