@enyo-energy/energy-app-sdk 0.0.119 → 0.0.121

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.
@@ -106,8 +106,6 @@ var EnyoChargeModeEnum;
106
106
  EnyoChargeModeEnum["CostOptimized"] = "cost-optimized";
107
107
  /** Optimize charging schedule for a maximum price limit, for example 7 ct grid or pv production */
108
108
  EnyoChargeModeEnum["PriceLimit"] = "price-limit";
109
- /** Charge only from PV surplus, using excess solar production that would otherwise be fed into the grid */
110
- EnyoChargeModeEnum["PvSurplus"] = "pv-surplus";
111
109
  })(EnyoChargeModeEnum || (exports.EnyoChargeModeEnum = EnyoChargeModeEnum = {}));
112
110
  var EnyoDataBusMessageEnum;
113
111
  (function (EnyoDataBusMessageEnum) {
@@ -122,9 +122,7 @@ export declare enum EnyoChargeModeEnum {
122
122
  /** Optimize charging schedule for lowest cost */
123
123
  CostOptimized = "cost-optimized",
124
124
  /** Optimize charging schedule for a maximum price limit, for example 7 ct grid or pv production */
125
- PriceLimit = "price-limit",
126
- /** Charge only from PV surplus, using excess solar production that would otherwise be fed into the grid */
127
- PvSurplus = "pv-surplus"
125
+ PriceLimit = "price-limit"
128
126
  }
129
127
  export interface EnyoAggregatedStateApplianceValues {
130
128
  gridPowerW?: number;
@@ -575,7 +573,7 @@ export interface EnyoDataBusStopChargeV1 extends EnyoDataBusMessage {
575
573
  applianceId: string;
576
574
  data: {
577
575
  /** OCPP transaction identifier of the session to stop */
578
- transactionId: string;
576
+ transactionId?: string;
579
577
  /** Optional reason why this command was issued */
580
578
  reason?: EnyoDataBusCommandReason;
581
579
  };
@@ -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.119';
12
+ exports.SDK_VERSION = '0.0.121';
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.119";
8
+ export declare const SDK_VERSION = "0.0.121";
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
@@ -122,9 +122,7 @@ export declare enum EnyoChargeModeEnum {
122
122
  /** Optimize charging schedule for lowest cost */
123
123
  CostOptimized = "cost-optimized",
124
124
  /** Optimize charging schedule for a maximum price limit, for example 7 ct grid or pv production */
125
- PriceLimit = "price-limit",
126
- /** Charge only from PV surplus, using excess solar production that would otherwise be fed into the grid */
127
- PvSurplus = "pv-surplus"
125
+ PriceLimit = "price-limit"
128
126
  }
129
127
  export interface EnyoAggregatedStateApplianceValues {
130
128
  gridPowerW?: number;
@@ -575,7 +573,7 @@ export interface EnyoDataBusStopChargeV1 extends EnyoDataBusMessage {
575
573
  applianceId: string;
576
574
  data: {
577
575
  /** OCPP transaction identifier of the session to stop */
578
- transactionId: string;
576
+ transactionId?: string;
579
577
  /** Optional reason why this command was issued */
580
578
  reason?: EnyoDataBusCommandReason;
581
579
  };
@@ -103,8 +103,6 @@ export var EnyoChargeModeEnum;
103
103
  EnyoChargeModeEnum["CostOptimized"] = "cost-optimized";
104
104
  /** Optimize charging schedule for a maximum price limit, for example 7 ct grid or pv production */
105
105
  EnyoChargeModeEnum["PriceLimit"] = "price-limit";
106
- /** Charge only from PV surplus, using excess solar production that would otherwise be fed into the grid */
107
- EnyoChargeModeEnum["PvSurplus"] = "pv-surplus";
108
106
  })(EnyoChargeModeEnum || (EnyoChargeModeEnum = {}));
109
107
  export var EnyoDataBusMessageEnum;
110
108
  (function (EnyoDataBusMessageEnum) {
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.119";
8
+ export declare const SDK_VERSION = "0.0.121";
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.119';
8
+ export const SDK_VERSION = '0.0.121';
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.119",
3
+ "version": "0.0.121",
4
4
  "description": "enyo Energy App SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",