energy-flow-control--types-and-enums 1.0.272 → 1.0.274

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "energy-flow-control--types-and-enums",
3
- "version": "1.0.272",
3
+ "version": "1.0.274",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -741,7 +741,7 @@ export interface IMetric {
741
741
  label: string
742
742
  }
743
743
 
744
- interface IMetricReading {
744
+ export interface IMetricReading {
745
745
  id: number
746
746
  metricId: number
747
747
  unit: EnumUnit,
@@ -750,3 +750,30 @@ interface IMetricReading {
750
750
  value: number
751
751
  }
752
752
 
753
+ export interface IMetricReadingValue {
754
+ pos: number
755
+ metricId: number
756
+ datetime: Date
757
+ unit: EnumUnit,
758
+ value: number
759
+ }
760
+
761
+ export interface IEnergyMeterData {
762
+ inboundMeterReadingAtStartOfPeriod: number
763
+ inboundMeterReadingAtEndOfPeriod: number
764
+ inboundReadingInKwh: number
765
+ }
766
+
767
+ export interface IWallBoxData {
768
+ prosumerId?: number
769
+ inboundMeterReadingAtStartOfPeriod: number
770
+ inboundMeterReadingAtEndOfPeriod: number
771
+ inboundReadingInKwh: number
772
+ gridConsumptionInKwh: number
773
+ }
774
+
775
+ export interface IPeriodRatingData {
776
+ gridEnergyMeter: IEnergyMeterData
777
+ wallBoxes: IWallBoxData[]
778
+ householdRatings: IPeriodRating[]
779
+ }