@enyo-energy/energy-app-sdk 0.0.153 → 0.0.154

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.
@@ -75,4 +75,10 @@ export interface EnyoChargerApplianceMetadata {
75
75
  cableLocked?: boolean;
76
76
  /** Current charging power limit in kilowatts */
77
77
  currentChargingLimitKw?: number;
78
+ /**
79
+ * Hardware maximum charging power the charger can deliver, in
80
+ * kilowatts. Derived from the device's nameplate / capability
81
+ * report; treat as a physical ceiling that the EMS cannot exceed.
82
+ */
83
+ maxChargingPowerKw?: number;
78
84
  }
@@ -193,12 +193,34 @@ export interface EebusMgcpReading {
193
193
  timestamp: Date;
194
194
  /** Total active power in Watts. Positive = import, negative = export. */
195
195
  activePowerW: number;
196
- /** Optional per-phase active power in Watts (length 1 or 3) */
197
- activePowerPerPhaseW?: number[];
198
- /** Optional per-phase voltage in Volts */
199
- voltagePerPhaseV?: number[];
200
- /** Optional per-phase current in Amperes */
201
- currentPerPhaseA?: number[];
196
+ /**
197
+ * Optional per-phase active power in Watts, keyed by phase label.
198
+ * Each phase is independently optional — single-phase peers populate
199
+ * only `a`, three-phase peers populate `a`, `b`, and `c`.
200
+ */
201
+ activePowerByPhase?: {
202
+ a?: number;
203
+ b?: number;
204
+ c?: number;
205
+ };
206
+ /**
207
+ * Optional per-phase voltage in Volts, keyed by phase label. Each
208
+ * phase is independently optional.
209
+ */
210
+ voltageByPhase?: {
211
+ a?: number;
212
+ b?: number;
213
+ c?: number;
214
+ };
215
+ /**
216
+ * Optional per-phase current in Amperes, keyed by phase label. Each
217
+ * phase is independently optional.
218
+ */
219
+ currentByPhase?: {
220
+ a?: number;
221
+ b?: number;
222
+ c?: number;
223
+ };
202
224
  /** Optional grid frequency in Hertz */
203
225
  frequencyHz?: number;
204
226
  /** Cumulative energy imported from the grid in Watt-hours */
@@ -214,10 +236,25 @@ export interface EebusMpcReading {
214
236
  timestamp: Date;
215
237
  /** Active power consumption in Watts */
216
238
  activePowerW: number;
217
- /** Optional per-phase active power in Watts (length 1 or 3) */
218
- activePowerPerPhaseW?: number[];
219
- /** Optional per-phase current in Amperes */
220
- currentPerPhaseA?: number[];
239
+ /**
240
+ * Optional per-phase active power in Watts, keyed by phase label.
241
+ * Each phase is independently optional — single-phase peers populate
242
+ * only `a`, three-phase peers populate `a`, `b`, and `c`.
243
+ */
244
+ activePowerByPhase?: {
245
+ a?: number;
246
+ b?: number;
247
+ c?: number;
248
+ };
249
+ /**
250
+ * Optional per-phase current in Amperes, keyed by phase label. Each
251
+ * phase is independently optional.
252
+ */
253
+ currentByPhase?: {
254
+ a?: number;
255
+ b?: number;
256
+ c?: number;
257
+ };
221
258
  /** Cumulative energy consumed in Watt-hours */
222
259
  totalEnergyConsumedWh?: number;
223
260
  }
@@ -611,12 +648,34 @@ export interface EebusEvcemReading {
611
648
  timestamp: Date;
612
649
  /** Total active charging power in Watts. */
613
650
  activePowerW: number;
614
- /** Optional per-phase active power in Watts (length 1 or 3). */
615
- activePowerPerPhaseW?: number[];
616
- /** Optional per-phase current in Amperes (length 1 or 3). */
617
- currentPerPhaseA?: number[];
618
- /** Optional per-phase voltage in Volts (length 1 or 3). */
619
- voltagePerPhaseV?: number[];
651
+ /**
652
+ * Optional per-phase active power in Watts, keyed by phase label.
653
+ * Each phase is independently optional single-phase EVSEs populate
654
+ * only `a`, three-phase EVSEs populate `a`, `b`, and `c`.
655
+ */
656
+ activePowerByPhase?: {
657
+ a?: number;
658
+ b?: number;
659
+ c?: number;
660
+ };
661
+ /**
662
+ * Optional per-phase current in Amperes, keyed by phase label. Each
663
+ * phase is independently optional.
664
+ */
665
+ currentByPhase?: {
666
+ a?: number;
667
+ b?: number;
668
+ c?: number;
669
+ };
670
+ /**
671
+ * Optional per-phase voltage in Volts, keyed by phase label. Each
672
+ * phase is independently optional.
673
+ */
674
+ voltageByPhase?: {
675
+ a?: number;
676
+ b?: number;
677
+ c?: number;
678
+ };
620
679
  /** Cumulative energy charged since session start, in Watt-hours. */
621
680
  totalEnergyChargedWh?: number;
622
681
  }
@@ -9,7 +9,7 @@ exports.getSdkVersion = getSdkVersion;
9
9
  /**
10
10
  * Current version of the enyo Energy App SDK.
11
11
  */
12
- exports.SDK_VERSION = '0.0.153';
12
+ exports.SDK_VERSION = '0.0.154';
13
13
  /**
14
14
  * Gets the current SDK version.
15
15
  * @returns The semantic version string of the SDK
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * Current version of the enyo Energy App SDK.
7
7
  */
8
- export declare const SDK_VERSION = "0.0.153";
8
+ export declare const SDK_VERSION = "0.0.154";
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
@@ -75,4 +75,10 @@ export interface EnyoChargerApplianceMetadata {
75
75
  cableLocked?: boolean;
76
76
  /** Current charging power limit in kilowatts */
77
77
  currentChargingLimitKw?: number;
78
+ /**
79
+ * Hardware maximum charging power the charger can deliver, in
80
+ * kilowatts. Derived from the device's nameplate / capability
81
+ * report; treat as a physical ceiling that the EMS cannot exceed.
82
+ */
83
+ maxChargingPowerKw?: number;
78
84
  }
@@ -193,12 +193,34 @@ export interface EebusMgcpReading {
193
193
  timestamp: Date;
194
194
  /** Total active power in Watts. Positive = import, negative = export. */
195
195
  activePowerW: number;
196
- /** Optional per-phase active power in Watts (length 1 or 3) */
197
- activePowerPerPhaseW?: number[];
198
- /** Optional per-phase voltage in Volts */
199
- voltagePerPhaseV?: number[];
200
- /** Optional per-phase current in Amperes */
201
- currentPerPhaseA?: number[];
196
+ /**
197
+ * Optional per-phase active power in Watts, keyed by phase label.
198
+ * Each phase is independently optional — single-phase peers populate
199
+ * only `a`, three-phase peers populate `a`, `b`, and `c`.
200
+ */
201
+ activePowerByPhase?: {
202
+ a?: number;
203
+ b?: number;
204
+ c?: number;
205
+ };
206
+ /**
207
+ * Optional per-phase voltage in Volts, keyed by phase label. Each
208
+ * phase is independently optional.
209
+ */
210
+ voltageByPhase?: {
211
+ a?: number;
212
+ b?: number;
213
+ c?: number;
214
+ };
215
+ /**
216
+ * Optional per-phase current in Amperes, keyed by phase label. Each
217
+ * phase is independently optional.
218
+ */
219
+ currentByPhase?: {
220
+ a?: number;
221
+ b?: number;
222
+ c?: number;
223
+ };
202
224
  /** Optional grid frequency in Hertz */
203
225
  frequencyHz?: number;
204
226
  /** Cumulative energy imported from the grid in Watt-hours */
@@ -214,10 +236,25 @@ export interface EebusMpcReading {
214
236
  timestamp: Date;
215
237
  /** Active power consumption in Watts */
216
238
  activePowerW: number;
217
- /** Optional per-phase active power in Watts (length 1 or 3) */
218
- activePowerPerPhaseW?: number[];
219
- /** Optional per-phase current in Amperes */
220
- currentPerPhaseA?: number[];
239
+ /**
240
+ * Optional per-phase active power in Watts, keyed by phase label.
241
+ * Each phase is independently optional — single-phase peers populate
242
+ * only `a`, three-phase peers populate `a`, `b`, and `c`.
243
+ */
244
+ activePowerByPhase?: {
245
+ a?: number;
246
+ b?: number;
247
+ c?: number;
248
+ };
249
+ /**
250
+ * Optional per-phase current in Amperes, keyed by phase label. Each
251
+ * phase is independently optional.
252
+ */
253
+ currentByPhase?: {
254
+ a?: number;
255
+ b?: number;
256
+ c?: number;
257
+ };
221
258
  /** Cumulative energy consumed in Watt-hours */
222
259
  totalEnergyConsumedWh?: number;
223
260
  }
@@ -611,12 +648,34 @@ export interface EebusEvcemReading {
611
648
  timestamp: Date;
612
649
  /** Total active charging power in Watts. */
613
650
  activePowerW: number;
614
- /** Optional per-phase active power in Watts (length 1 or 3). */
615
- activePowerPerPhaseW?: number[];
616
- /** Optional per-phase current in Amperes (length 1 or 3). */
617
- currentPerPhaseA?: number[];
618
- /** Optional per-phase voltage in Volts (length 1 or 3). */
619
- voltagePerPhaseV?: number[];
651
+ /**
652
+ * Optional per-phase active power in Watts, keyed by phase label.
653
+ * Each phase is independently optional single-phase EVSEs populate
654
+ * only `a`, three-phase EVSEs populate `a`, `b`, and `c`.
655
+ */
656
+ activePowerByPhase?: {
657
+ a?: number;
658
+ b?: number;
659
+ c?: number;
660
+ };
661
+ /**
662
+ * Optional per-phase current in Amperes, keyed by phase label. Each
663
+ * phase is independently optional.
664
+ */
665
+ currentByPhase?: {
666
+ a?: number;
667
+ b?: number;
668
+ c?: number;
669
+ };
670
+ /**
671
+ * Optional per-phase voltage in Volts, keyed by phase label. Each
672
+ * phase is independently optional.
673
+ */
674
+ voltageByPhase?: {
675
+ a?: number;
676
+ b?: number;
677
+ c?: number;
678
+ };
620
679
  /** Cumulative energy charged since session start, in Watt-hours. */
621
680
  totalEnergyChargedWh?: number;
622
681
  }
package/dist/version.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * Current version of the enyo Energy App SDK.
7
7
  */
8
- export declare const SDK_VERSION = "0.0.153";
8
+ export declare const SDK_VERSION = "0.0.154";
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
package/dist/version.js CHANGED
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * Current version of the enyo Energy App SDK.
7
7
  */
8
- export const SDK_VERSION = '0.0.153';
8
+ export const SDK_VERSION = '0.0.154';
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enyo-energy/energy-app-sdk",
3
- "version": "0.0.153",
3
+ "version": "0.0.154",
4
4
  "description": "enyo Energy App SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",