energy-flow-control--types-and-enums 1.0.201 → 1.0.202

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.201",
3
+ "version": "1.0.202",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -178,3 +178,9 @@ export enum EnumUserStatus {
178
178
  ACTIVE = 'ACTIVE',
179
179
  DEACTIVATED = 'DEACTIVATED'
180
180
  }
181
+
182
+ export enum EnumNoSupplyReason {
183
+ NO_FREELY_AVAILABLE_ENERGY_AND_POWER = 'NO_FREELY_AVAILABLE_ENERGY_AND_POWER',
184
+ NOT_ENOUGH_FREELY_AVAILABLE_ENERGY_TO_KEEP_RUNNING = 'NOT_ENOUGH_FREELY_AVAILABLE_ENERGY_TO_KEEP_RUNNING',
185
+ NOT_ENOUGH_FREELY_AVAILABLE_ENERGY_TO_START_RUNNING = 'NOT_ENOUGH_FREELY_AVAILABLE_ENERGY_TO_START_RUNNING',
186
+ }
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EnumUserStatus = exports.EnumSolarForecastApi = exports.EnumAppValueCollectionName = exports.EnumRowSlots = exports.EnumBillingPeriodState = exports.EnumPricingModel = exports.EnumCarOemModel = exports.EnumCarOem = exports.EnumEventSeverity = exports.EnumEventSource = exports.EnumGeneratorSetType = exports.EnumEquipmentType = exports.TimeInterval = exports.EnumCameraModel = exports.EnumCustomerContractState = exports.EnumPvStringState = exports.EnumHttpProtocol = exports.EnumInvoiceTopic = exports.EnumBookingReason = exports.EnumInvoiceState = exports.EnumWallBoxState = exports.EnumTariffConsumptionType = exports.EnumThermometerModel = exports.EnumRemotelyControlledSwitchModel = exports.EnumEnergyMeterModel = exports.EnumProsumerEquipmentType = exports.EnumProsumerModel = exports.EnumProsumerType = exports.EnumEquipmentState = void 0;
3
+ exports.EnumNoSupplyReason = exports.EnumUserStatus = exports.EnumSolarForecastApi = exports.EnumAppValueCollectionName = exports.EnumRowSlots = exports.EnumBillingPeriodState = exports.EnumPricingModel = exports.EnumCarOemModel = exports.EnumCarOem = exports.EnumEventSeverity = exports.EnumEventSource = exports.EnumGeneratorSetType = exports.EnumEquipmentType = exports.TimeInterval = exports.EnumCameraModel = exports.EnumCustomerContractState = exports.EnumPvStringState = exports.EnumHttpProtocol = exports.EnumInvoiceTopic = exports.EnumBookingReason = exports.EnumInvoiceState = exports.EnumWallBoxState = exports.EnumTariffConsumptionType = exports.EnumThermometerModel = exports.EnumRemotelyControlledSwitchModel = exports.EnumEnergyMeterModel = exports.EnumProsumerEquipmentType = exports.EnumProsumerModel = exports.EnumProsumerType = exports.EnumEquipmentState = void 0;
4
4
  var EnumEquipmentState;
5
5
  (function (EnumEquipmentState) {
6
6
  EnumEquipmentState["ON"] = "ON";
@@ -180,3 +180,9 @@ var EnumUserStatus;
180
180
  EnumUserStatus["ACTIVE"] = "ACTIVE";
181
181
  EnumUserStatus["DEACTIVATED"] = "DEACTIVATED";
182
182
  })(EnumUserStatus || (exports.EnumUserStatus = EnumUserStatus = {}));
183
+ var EnumNoSupplyReason;
184
+ (function (EnumNoSupplyReason) {
185
+ EnumNoSupplyReason["NO_FREELY_AVAILABLE_ENERGY_AND_POWER"] = "NO_FREELY_AVAILABLE_ENERGY_AND_POWER";
186
+ EnumNoSupplyReason["NOT_ENOUGH_FREELY_AVAILABLE_ENERGY_TO_KEEP_RUNNING"] = "NOT_ENOUGH_FREELY_AVAILABLE_ENERGY_TO_KEEP_RUNNING";
187
+ EnumNoSupplyReason["NOT_ENOUGH_FREELY_AVAILABLE_ENERGY_TO_START_RUNNING"] = "NOT_ENOUGH_FREELY_AVAILABLE_ENERGY_TO_START_RUNNING";
188
+ })(EnumNoSupplyReason || (exports.EnumNoSupplyReason = EnumNoSupplyReason = {}));
@@ -11,6 +11,7 @@ import {
11
11
  EnumEventSource,
12
12
  EnumInvoiceState,
13
13
  EnumInvoiceTopic,
14
+ EnumNoSupplyReason,
14
15
  EnumPricingModel,
15
16
  EnumProsumerEquipmentType,
16
17
  EnumProsumerModel,
@@ -153,11 +154,15 @@ export interface ILiveDataEnergyMeter {
153
154
  feedInInKwh: number | null
154
155
  }
155
156
 
156
- export interface ILiveDataHeatRod {
157
+ interface ILiveDataControllableConsumer{
157
158
  id: number
158
- step: number
159
159
  powerInW: number
160
160
  consumptionInKwh: number | null
161
+ noSupplyReason: EnumNoSupplyReason | null
162
+ }
163
+
164
+ export interface ILiveDataHeatRod extends ILiveDataControllableConsumer{
165
+ step: number
161
166
  feedInInKwh: number | null
162
167
  comment: string | null
163
168
  temperature: {
@@ -181,11 +186,8 @@ export interface ILiveDataChargingProcess {
181
186
  customerId: number
182
187
  }
183
188
 
184
- export interface ILiveDataWallBox {
185
- id: number
186
- powerInW: number
189
+ export interface ILiveDataWallBox extends ILiveDataControllableConsumer{
187
190
  maxAllowedPowerInW: number
188
- consumptionInKwh: number | null
189
191
  isConnected: boolean
190
192
  isAuthorised: boolean
191
193
  isCharging: boolean