@epilot/customer-portal-client 0.38.6 → 0.38.7

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/dist/openapi.d.ts CHANGED
@@ -7834,6 +7834,16 @@ declare namespace Components {
7834
7834
  *
7835
7835
  */
7836
7836
  statistical_method?: "sum" | "average" | "min" | "max";
7837
+ /**
7838
+ * Direction of energy flow at the meter for this type:
7839
+ * - `out`: outflow from the grid to the consumer (e.g. household consumption,
7840
+ * grid import). Adds to the total consumption shown for the period.
7841
+ * - `in`: inflow to the grid from the consumer (e.g. PV export, feed-in).
7842
+ * Subtracts from the total consumption.
7843
+ * With both directions present in a prosumer setup, the chart computes a *net* consumption per period — when production exceeds consumption the period total is negative and the chart can flip its label to "Total production" instead. Defaults to `out` when omitted (the legacy assumption that all values are consumption from the grid).
7844
+ *
7845
+ */
7846
+ direction?: "in" | "out";
7837
7847
  /**
7838
7848
  * Unit shared by all values of this type (e.g. "kWh").
7839
7849
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/customer-portal-client",
3
- "version": "0.38.6",
3
+ "version": "0.38.7",
4
4
  "description": "API Client for epilot portal API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/openapi.json CHANGED
@@ -13856,6 +13856,14 @@
13856
13856
  ],
13857
13857
  "description": "Statistical method already applied to this type's data. Determines the chart shape used to render the type's values: `sum` is shown as a bar chart; `min`, `average`, and `max` are shown as a line chart. Each type advertises its own method, so a single visualization can mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.\n"
13858
13858
  },
13859
+ "direction": {
13860
+ "type": "string",
13861
+ "enum": [
13862
+ "in",
13863
+ "out"
13864
+ ],
13865
+ "description": "Direction of energy flow at the meter for this type:\n - `out`: outflow from the grid to the consumer (e.g. household consumption,\n grid import). Adds to the total consumption shown for the period.\n - `in`: inflow to the grid from the consumer (e.g. PV export, feed-in).\n Subtracts from the total consumption.\nWith both directions present in a prosumer setup, the chart computes a *net* consumption per period — when production exceeds consumption the period total is negative and the chart can flip its label to \"Total production\" instead. Defaults to `out` when omitted (the legacy assumption that all values are consumption from the grid).\n"
13866
+ },
13859
13867
  "unit": {
13860
13868
  "type": "string",
13861
13869
  "description": "Unit shared by all values of this type (e.g. \"kWh\")."