@enyo-energy/energy-app-sdk 0.0.157 → 0.0.158

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.
@@ -64,6 +64,12 @@ export declare enum EnyoChargerApplianceAvailableFeaturesEnum {
64
64
  /** If the charger supports switching between three-phase and one-phase charging */
65
65
  ThreeToOnePhaseSwitch = "ThreeToOnePhaseSwitch"
66
66
  }
67
+ /**
68
+ * Phase configurations a charger can operate in.
69
+ * - `1`: single-phase charging
70
+ * - `3`: three-phase charging
71
+ */
72
+ export type EnyoChargerAppliancePhase = 1 | 3;
67
73
  export interface EnyoChargerApplianceMetadata {
68
74
  availableFeatures: EnyoChargerApplianceAvailableFeaturesEnum[];
69
75
  status: EnyoChargerApplianceStatusEnum;
@@ -81,4 +87,14 @@ export interface EnyoChargerApplianceMetadata {
81
87
  * report; treat as a physical ceiling that the EMS cannot exceed.
82
88
  */
83
89
  maxChargingPowerKw?: number;
90
+ /**
91
+ * Phase configurations the charger supports. Each value indicates
92
+ * a phase mode the hardware can operate in:
93
+ * - `[1]`: only single-phase charging supported
94
+ * - `[3]`: only three-phase charging supported
95
+ * - `[1, 3]`: both modes supported (the charger can switch between
96
+ * single- and three-phase; typically paired with the
97
+ * `ThreeToOnePhaseSwitch` feature)
98
+ */
99
+ availablePhases?: EnyoChargerAppliancePhase[];
84
100
  }
@@ -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.157';
12
+ exports.SDK_VERSION = '0.0.158';
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.157";
8
+ export declare const SDK_VERSION = "0.0.158";
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
@@ -64,6 +64,12 @@ export declare enum EnyoChargerApplianceAvailableFeaturesEnum {
64
64
  /** If the charger supports switching between three-phase and one-phase charging */
65
65
  ThreeToOnePhaseSwitch = "ThreeToOnePhaseSwitch"
66
66
  }
67
+ /**
68
+ * Phase configurations a charger can operate in.
69
+ * - `1`: single-phase charging
70
+ * - `3`: three-phase charging
71
+ */
72
+ export type EnyoChargerAppliancePhase = 1 | 3;
67
73
  export interface EnyoChargerApplianceMetadata {
68
74
  availableFeatures: EnyoChargerApplianceAvailableFeaturesEnum[];
69
75
  status: EnyoChargerApplianceStatusEnum;
@@ -81,4 +87,14 @@ export interface EnyoChargerApplianceMetadata {
81
87
  * report; treat as a physical ceiling that the EMS cannot exceed.
82
88
  */
83
89
  maxChargingPowerKw?: number;
90
+ /**
91
+ * Phase configurations the charger supports. Each value indicates
92
+ * a phase mode the hardware can operate in:
93
+ * - `[1]`: only single-phase charging supported
94
+ * - `[3]`: only three-phase charging supported
95
+ * - `[1, 3]`: both modes supported (the charger can switch between
96
+ * single- and three-phase; typically paired with the
97
+ * `ThreeToOnePhaseSwitch` feature)
98
+ */
99
+ availablePhases?: EnyoChargerAppliancePhase[];
84
100
  }
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.157";
8
+ export declare const SDK_VERSION = "0.0.158";
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.157';
8
+ export const SDK_VERSION = '0.0.158';
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.157",
3
+ "version": "0.0.158",
4
4
  "description": "enyo Energy App SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",