@epilot/customer-portal-client 0.38.7 → 0.38.8
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 +9 -9
- package/package.json +1 -1
- package/src/openapi.json +20 -7
package/dist/openapi.d.ts
CHANGED
|
@@ -7835,19 +7835,19 @@ declare namespace Components {
|
|
|
7835
7835
|
*/
|
|
7836
7836
|
statistical_method?: "sum" | "average" | "min" | "max";
|
|
7837
7837
|
/**
|
|
7838
|
-
*
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
*
|
|
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).
|
|
7838
|
+
* Unit shared by all values of this type (e.g. "kWh").
|
|
7839
|
+
*/
|
|
7840
|
+
unit?: string;
|
|
7841
|
+
/**
|
|
7842
|
+
* Optional Spark color token used to render this type in the visualization. Maps onto the portal's Spark palette (`primary` is the org's primary brand color). When omitted the consumer falls back to its own per-type default.
|
|
7844
7843
|
*
|
|
7845
7844
|
*/
|
|
7846
|
-
|
|
7845
|
+
color?: "primary" | "slate" | "mauve" | "orange" | "red" | "tomato" | "amber" | "green" | "blue";
|
|
7847
7846
|
/**
|
|
7848
|
-
*
|
|
7847
|
+
* Optional number of decimal places to show when rendering values of this type in the visualization (axis labels, tooltips, summaries). When omitted the consumer falls back to its own default precision.
|
|
7848
|
+
*
|
|
7849
7849
|
*/
|
|
7850
|
-
|
|
7850
|
+
precision?: number;
|
|
7851
7851
|
}
|
|
7852
7852
|
export interface WidgetAction {
|
|
7853
7853
|
_id: string;
|
package/package.json
CHANGED
package/src/openapi.json
CHANGED
|
@@ -13856,17 +13856,30 @@
|
|
|
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
|
-
"
|
|
13859
|
+
"unit": {
|
|
13860
|
+
"type": "string",
|
|
13861
|
+
"description": "Unit shared by all values of this type (e.g. \"kWh\")."
|
|
13862
|
+
},
|
|
13863
|
+
"color": {
|
|
13860
13864
|
"type": "string",
|
|
13861
13865
|
"enum": [
|
|
13862
|
-
"
|
|
13863
|
-
"
|
|
13866
|
+
"primary",
|
|
13867
|
+
"slate",
|
|
13868
|
+
"mauve",
|
|
13869
|
+
"orange",
|
|
13870
|
+
"red",
|
|
13871
|
+
"tomato",
|
|
13872
|
+
"amber",
|
|
13873
|
+
"green",
|
|
13874
|
+
"blue"
|
|
13864
13875
|
],
|
|
13865
|
-
"description": "
|
|
13876
|
+
"description": "Optional Spark color token used to render this type in the visualization. Maps onto the portal's Spark palette (`primary` is the org's primary brand color). When omitted the consumer falls back to its own per-type default.\n"
|
|
13866
13877
|
},
|
|
13867
|
-
"
|
|
13868
|
-
"type": "
|
|
13869
|
-
"
|
|
13878
|
+
"precision": {
|
|
13879
|
+
"type": "integer",
|
|
13880
|
+
"minimum": 0,
|
|
13881
|
+
"maximum": 10,
|
|
13882
|
+
"description": "Optional number of decimal places to show when rendering values of this type in the visualization (axis labels, tooltips, summaries). When omitted the consumer falls back to its own default precision.\n"
|
|
13870
13883
|
}
|
|
13871
13884
|
},
|
|
13872
13885
|
"required": [
|