energy-flow-control--types-and-enums 1.0.241 → 1.0.243
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/enums/index.ts +5 -2
- package/src/index.js +5 -2
- package/src/types/index.d.ts +9 -0
package/package.json
CHANGED
package/src/enums/index.ts
CHANGED
|
@@ -174,7 +174,6 @@ export enum EnumAppValueCollectionName {
|
|
|
174
174
|
SITE_ADDRESS = 'SITE_ADDRESS',
|
|
175
175
|
SITE_OWNER = 'SITE_OWNER',
|
|
176
176
|
MAX_GRID_POWER = 'MAX_GRID_POWER',
|
|
177
|
-
EXTERNAL_ADDRESS = 'EXTERNAL_ADDRESS',
|
|
178
177
|
}
|
|
179
178
|
|
|
180
179
|
export enum EnumSolarForecastApi {
|
|
@@ -223,4 +222,8 @@ export enum EnumTrippingCharacteristic {
|
|
|
223
222
|
export enum EnumExternalMaxPowerIsControllerType {
|
|
224
223
|
NONE = 'NONE',
|
|
225
224
|
GERMANY_PARAGRAPH_14_ENEG = 'GERMANY_PARAGRAPH_14_ENEG',
|
|
226
|
-
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export enum EnumIdentityProvider {
|
|
228
|
+
GOOGLE = 'GOOGLE',
|
|
229
|
+
}
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EnumExternalMaxPowerIsControllerType = exports.EnumTrippingCharacteristic = exports.EnumPhase = exports.EnumValueReadingSourceType = exports.EnumPriceComponent = 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;
|
|
3
|
+
exports.EnumIdentityProvider = exports.EnumExternalMaxPowerIsControllerType = exports.EnumTrippingCharacteristic = exports.EnumPhase = exports.EnumValueReadingSourceType = exports.EnumPriceComponent = 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";
|
|
@@ -176,7 +176,6 @@ var EnumAppValueCollectionName;
|
|
|
176
176
|
EnumAppValueCollectionName["SITE_ADDRESS"] = "SITE_ADDRESS";
|
|
177
177
|
EnumAppValueCollectionName["SITE_OWNER"] = "SITE_OWNER";
|
|
178
178
|
EnumAppValueCollectionName["MAX_GRID_POWER"] = "MAX_GRID_POWER";
|
|
179
|
-
EnumAppValueCollectionName["EXTERNAL_ADDRESS"] = "EXTERNAL_ADDRESS";
|
|
180
179
|
})(EnumAppValueCollectionName || (exports.EnumAppValueCollectionName = EnumAppValueCollectionName = {}));
|
|
181
180
|
var EnumSolarForecastApi;
|
|
182
181
|
(function (EnumSolarForecastApi) {
|
|
@@ -226,3 +225,7 @@ var EnumExternalMaxPowerIsControllerType;
|
|
|
226
225
|
EnumExternalMaxPowerIsControllerType["NONE"] = "NONE";
|
|
227
226
|
EnumExternalMaxPowerIsControllerType["GERMANY_PARAGRAPH_14_ENEG"] = "GERMANY_PARAGRAPH_14_ENEG";
|
|
228
227
|
})(EnumExternalMaxPowerIsControllerType || (exports.EnumExternalMaxPowerIsControllerType = EnumExternalMaxPowerIsControllerType = {}));
|
|
228
|
+
var EnumIdentityProvider;
|
|
229
|
+
(function (EnumIdentityProvider) {
|
|
230
|
+
EnumIdentityProvider["GOOGLE"] = "GOOGLE";
|
|
231
|
+
})(EnumIdentityProvider || (exports.EnumIdentityProvider = EnumIdentityProvider = {}));
|
package/src/types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
EnumEquipmentState,
|
|
10
10
|
EnumEventSeverity,
|
|
11
11
|
EnumEventSource,
|
|
12
|
+
EnumIdentityProvider,
|
|
12
13
|
EnumInvoiceState,
|
|
13
14
|
EnumInvoiceTopic,
|
|
14
15
|
EnumNoSupplyReason,
|
|
@@ -654,3 +655,11 @@ export interface IImplementedGeneratorSetFeatures {
|
|
|
654
655
|
setMinBatterySoc?: boolean
|
|
655
656
|
setMaxBatterySoc?: boolean
|
|
656
657
|
}
|
|
658
|
+
|
|
659
|
+
export interface IUnifiedUserProfile {
|
|
660
|
+
provider: EnumIdentityProvider
|
|
661
|
+
id: string
|
|
662
|
+
firstName: string
|
|
663
|
+
lastName: string
|
|
664
|
+
email: string
|
|
665
|
+
}
|