energy-flow-control--types-and-enums 1.0.190 → 1.0.192

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.190",
3
+ "version": "1.0.192",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -92,35 +92,14 @@ export interface IThermometer extends IProsumerEquipment {
92
92
 
93
93
  export type tProsumerEquipment = IRemotelyControlledSwitch | IThermometer
94
94
 
95
- export interface IWallBox {
96
- id: number
97
- validFrom: Date
98
- validUntil: Date | null
99
-
100
- model: EnumProsumerModel
101
-
102
- serialNumber: string | null
103
- comment: string | null
104
- params: Record<string, any>
105
- state: EnumEquipmentState
106
- }
107
-
108
- export interface ITariffPlanPrice {
109
- id: number
110
- validFrom: Date
111
- validUntil: Date | null
112
-
95
+ export interface ITariffPlanPrice extends ITimeTravelProps {
113
96
  tariffPlanId: number
114
97
  role: EnumTariffConsumptionType
115
98
  generatedEnergyPrice: number
116
99
  purchasedEnergySurplus: number | null
117
100
  }
118
101
 
119
- export interface ITariffPlan {
120
- id: number
121
- validFrom: Date
122
- validUntil: Date | null
123
-
102
+ export interface ITariffPlan extends ITimeTravelProps {
124
103
  name: string
125
104
  startsAt: Date | null
126
105
  endsAt: Date | null
@@ -524,7 +503,6 @@ export interface IElectricityProviderContractPricing extends ITimeTravelProps {
524
503
  export type IElectricityProviderContractWithPrices = IElectricityProviderContract & { prices: IElectricityProviderContractPricing[] }
525
504
 
526
505
  export interface IBillingPeriod extends ITimeTravelProps {
527
- id: number
528
506
  periodStart: Date
529
507
  periodEnd: Date
530
508
  state: EnumBillingPeriodState
@@ -565,4 +543,22 @@ export interface ISolarForecastApi extends ITimeTravelProps {
565
543
  requestIntervalInH: number
566
544
  inUse: boolean
567
545
  params: Record<string, any>
568
- }
546
+ }
547
+
548
+ export interface IEnergyExchangePrice extends ITimeTravelProps {
549
+ periodStart: Date
550
+ periodEnd: Date
551
+ exchangePrice: number
552
+ totalPrice: number
553
+ timestamp: Date
554
+ }
555
+
556
+ export interface ISolarGenerationForecast {
557
+ id: number
558
+ apiName: string
559
+ pvStringId: number
560
+ periodStart: Date
561
+ periodEnd: Date
562
+ valueInWh: number
563
+ updatedAt: Date | null
564
+ }