energy-flow-control--types-and-enums 1.0.191 → 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 +1 -1
- package/src/types/index.d.ts +2 -24
package/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -92,35 +92,14 @@ export interface IThermometer extends IProsumerEquipment {
|
|
|
92
92
|
|
|
93
93
|
export type tProsumerEquipment = IRemotelyControlledSwitch | IThermometer
|
|
94
94
|
|
|
95
|
-
export interface
|
|
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
|