@abyss-project/reflex 6.0.2 → 6.0.3
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.
|
@@ -16,6 +16,8 @@ export interface IReflexServiceMonthlySpendCap {
|
|
|
16
16
|
export interface IReflexServiceCredits {
|
|
17
17
|
month: string;
|
|
18
18
|
consumedMillicredits: number;
|
|
19
|
+
organizationConsumedMillicredits: number;
|
|
20
|
+
includedMillicredits: number | null;
|
|
19
21
|
overageEnabled: boolean;
|
|
20
22
|
overageAllowedByOrganization: boolean;
|
|
21
23
|
}
|
package/package.json
CHANGED
|
@@ -30,6 +30,16 @@ export interface IReflexServiceCredits {
|
|
|
30
30
|
/** `YYYY-MM`. */
|
|
31
31
|
month: string;
|
|
32
32
|
consumedMillicredits: number;
|
|
33
|
+
/**
|
|
34
|
+
* What all the Services of the organization consumed this month, in millicredits: what abyss-main holds plus what
|
|
35
|
+
* the Reflex report has not declared yet. The stop compares this total to `includedMillicredits`.
|
|
36
|
+
*/
|
|
37
|
+
organizationConsumedMillicredits: number;
|
|
38
|
+
/**
|
|
39
|
+
* The credits the plan of the organization includes this month (effective limit, packs included), in millicredits:
|
|
40
|
+
* the same threshold that stops the Services. `null` for an unlimited plan.
|
|
41
|
+
*/
|
|
42
|
+
includedMillicredits: number | null;
|
|
33
43
|
/** True when the Service bills overage past the credits of the organization. */
|
|
34
44
|
overageEnabled: boolean;
|
|
35
45
|
/** True when the organization allows overage of the credits metric at all. */
|