@enyo-energy/energy-app-sdk 0.0.63 → 0.0.65

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.
@@ -24,6 +24,7 @@ var EnergyAppPermissionTypeEnum;
24
24
  EnergyAppPermissionTypeEnum["Timeseries"] = "Timeseries";
25
25
  EnergyAppPermissionTypeEnum["EnergyManagerInfo"] = "EnergyManagerInfo";
26
26
  EnergyAppPermissionTypeEnum["ElectricityTariff"] = "ElectricityTariff";
27
+ EnergyAppPermissionTypeEnum["EnergyPrices"] = "EnergyPrices";
27
28
  EnergyAppPermissionTypeEnum["WeatherForecastRegister"] = "WeatherForecastRegister";
28
29
  EnergyAppPermissionTypeEnum["WeatherForecastUse"] = "WeatherForecastUse";
29
30
  EnergyAppPermissionTypeEnum["PvForecastRegister"] = "PvForecastRegister";
@@ -21,6 +21,7 @@ export declare enum EnergyAppPermissionTypeEnum {
21
21
  Timeseries = "Timeseries",
22
22
  EnergyManagerInfo = "EnergyManagerInfo",
23
23
  ElectricityTariff = "ElectricityTariff",
24
+ EnergyPrices = "EnergyPrices",
24
25
  WeatherForecastRegister = "WeatherForecastRegister",
25
26
  WeatherForecastUse = "WeatherForecastUse",
26
27
  PvForecastRegister = "PvForecastRegister",
@@ -43,6 +43,7 @@ __exportStar(require("./types/enyo-pv-system.cjs"), exports);
43
43
  __exportStar(require("./packages/energy-app-pv-system.cjs"), exports);
44
44
  __exportStar(require("./implementations/data-bus/data-bus-command-handler.cjs"), exports);
45
45
  __exportStar(require("./packages/energy-app-sequence-generator.cjs"), exports);
46
+ __exportStar(require("./packages/energy-app-energy-prices.cjs"), exports);
46
47
  class EnergyApp {
47
48
  energyAppSdk;
48
49
  constructor() {
@@ -51,6 +51,7 @@ export * from './types/enyo-pv-system.cjs';
51
51
  export * from './packages/energy-app-pv-system.cjs';
52
52
  export * from './implementations/data-bus/data-bus-command-handler.cjs';
53
53
  export * from './packages/energy-app-sequence-generator.cjs';
54
+ export * from './packages/energy-app-energy-prices.cjs';
54
55
  export declare class EnergyApp implements EnyoEnergyAppSdk {
55
56
  private readonly energyAppSdk;
56
57
  constructor();
@@ -13,7 +13,7 @@ export interface EnergyAppElectricityTariff {
13
13
  * @param tariff - The tariff registration data including ID, type, name, and vendor
14
14
  * @returns Promise that resolves when the tariff has been registered
15
15
  */
16
- registerTariff(tariff: EnyoElectricityTariff): Promise<void>;
16
+ registerTariff(tariff: Omit<EnyoElectricityTariff, 'id'>): Promise<EnyoElectricityTariffWithDefault>;
17
17
  /**
18
18
  * Retrieves all registered electricity tariffs.
19
19
  * Each tariff includes a defaultTariff boolean indicating whether
@@ -26,10 +26,10 @@ export interface EnergyAppElectricityTariff {
26
26
  * Removes an electricity tariff by its ID.
27
27
  * If the tariff does not exist, this operation is a no-op.
28
28
  *
29
- * @param tariffId - The unique identifier of the tariff to remove
29
+ * @param id - The unique identifier of the tariff to remove
30
30
  * @returns Promise that resolves when the tariff has been removed
31
31
  */
32
- removeTariff(tariffId: string): Promise<void>;
32
+ removeTariff(id: string): Promise<void>;
33
33
  /**
34
34
  * Retrieves the system default tariff information.
35
35
  * Returns the full tariff including pricing data.
@@ -40,5 +40,5 @@ export interface EnergyAppElectricityTariff {
40
40
  findTariff(filter: {
41
41
  applianceId?: string;
42
42
  tariffId?: string;
43
- }): Promise<EnyoElectricityTariff | null>;
43
+ }): Promise<EnyoElectricityTariffWithDefault | null>;
44
44
  }
@@ -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.63';
12
+ exports.SDK_VERSION = '0.0.65';
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.63";
8
+ export declare const SDK_VERSION = "0.0.65";
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
@@ -21,6 +21,7 @@ export declare enum EnergyAppPermissionTypeEnum {
21
21
  Timeseries = "Timeseries",
22
22
  EnergyManagerInfo = "EnergyManagerInfo",
23
23
  ElectricityTariff = "ElectricityTariff",
24
+ EnergyPrices = "EnergyPrices",
24
25
  WeatherForecastRegister = "WeatherForecastRegister",
25
26
  WeatherForecastUse = "WeatherForecastUse",
26
27
  PvForecastRegister = "PvForecastRegister",
@@ -21,6 +21,7 @@ export var EnergyAppPermissionTypeEnum;
21
21
  EnergyAppPermissionTypeEnum["Timeseries"] = "Timeseries";
22
22
  EnergyAppPermissionTypeEnum["EnergyManagerInfo"] = "EnergyManagerInfo";
23
23
  EnergyAppPermissionTypeEnum["ElectricityTariff"] = "ElectricityTariff";
24
+ EnergyAppPermissionTypeEnum["EnergyPrices"] = "EnergyPrices";
24
25
  EnergyAppPermissionTypeEnum["WeatherForecastRegister"] = "WeatherForecastRegister";
25
26
  EnergyAppPermissionTypeEnum["WeatherForecastUse"] = "WeatherForecastUse";
26
27
  EnergyAppPermissionTypeEnum["PvForecastRegister"] = "PvForecastRegister";
package/dist/index.d.ts CHANGED
@@ -51,6 +51,7 @@ export * from './types/enyo-pv-system.js';
51
51
  export * from './packages/energy-app-pv-system.js';
52
52
  export * from './implementations/data-bus/data-bus-command-handler.js';
53
53
  export * from './packages/energy-app-sequence-generator.js';
54
+ export * from './packages/energy-app-energy-prices.js';
54
55
  export declare class EnergyApp implements EnyoEnergyAppSdk {
55
56
  private readonly energyAppSdk;
56
57
  constructor();
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ export * from './types/enyo-pv-system.js';
26
26
  export * from './packages/energy-app-pv-system.js';
27
27
  export * from './implementations/data-bus/data-bus-command-handler.js';
28
28
  export * from './packages/energy-app-sequence-generator.js';
29
+ export * from './packages/energy-app-energy-prices.js';
29
30
  export class EnergyApp {
30
31
  energyAppSdk;
31
32
  constructor() {
@@ -13,7 +13,7 @@ export interface EnergyAppElectricityTariff {
13
13
  * @param tariff - The tariff registration data including ID, type, name, and vendor
14
14
  * @returns Promise that resolves when the tariff has been registered
15
15
  */
16
- registerTariff(tariff: EnyoElectricityTariff): Promise<void>;
16
+ registerTariff(tariff: Omit<EnyoElectricityTariff, 'id'>): Promise<EnyoElectricityTariffWithDefault>;
17
17
  /**
18
18
  * Retrieves all registered electricity tariffs.
19
19
  * Each tariff includes a defaultTariff boolean indicating whether
@@ -26,10 +26,10 @@ export interface EnergyAppElectricityTariff {
26
26
  * Removes an electricity tariff by its ID.
27
27
  * If the tariff does not exist, this operation is a no-op.
28
28
  *
29
- * @param tariffId - The unique identifier of the tariff to remove
29
+ * @param id - The unique identifier of the tariff to remove
30
30
  * @returns Promise that resolves when the tariff has been removed
31
31
  */
32
- removeTariff(tariffId: string): Promise<void>;
32
+ removeTariff(id: string): Promise<void>;
33
33
  /**
34
34
  * Retrieves the system default tariff information.
35
35
  * Returns the full tariff including pricing data.
@@ -40,5 +40,5 @@ export interface EnergyAppElectricityTariff {
40
40
  findTariff(filter: {
41
41
  applianceId?: string;
42
42
  tariffId?: string;
43
- }): Promise<EnyoElectricityTariff | null>;
43
+ }): Promise<EnyoElectricityTariffWithDefault | null>;
44
44
  }
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.63";
8
+ export declare const SDK_VERSION = "0.0.65";
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.63';
8
+ export const SDK_VERSION = '0.0.65';
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.63",
3
+ "version": "0.0.65",
4
4
  "description": "enyo Energy App SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",