@epilot/customer-portal-client 0.38.6 → 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 CHANGED
@@ -7838,6 +7838,16 @@ declare namespace Components {
7838
7838
  * Unit shared by all values of this type (e.g. "kWh").
7839
7839
  */
7840
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.
7843
+ *
7844
+ */
7845
+ color?: "primary" | "slate" | "mauve" | "orange" | "red" | "tomato" | "amber" | "green" | "blue";
7846
+ /**
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
+ */
7850
+ precision?: number;
7841
7851
  }
7842
7852
  export interface WidgetAction {
7843
7853
  _id: string;
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.8",
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
@@ -13859,6 +13859,27 @@
13859
13859
  "unit": {
13860
13860
  "type": "string",
13861
13861
  "description": "Unit shared by all values of this type (e.g. \"kWh\")."
13862
+ },
13863
+ "color": {
13864
+ "type": "string",
13865
+ "enum": [
13866
+ "primary",
13867
+ "slate",
13868
+ "mauve",
13869
+ "orange",
13870
+ "red",
13871
+ "tomato",
13872
+ "amber",
13873
+ "green",
13874
+ "blue"
13875
+ ],
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"
13877
+ },
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"
13862
13883
  }
13863
13884
  },
13864
13885
  "required": [