@likewatt/models-front 1.99.0 → 1.101.0

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.
@@ -6,6 +6,10 @@ export type LeadThemeConfig = {
6
6
  sectionBgColor?: string;
7
7
  textColor?: string;
8
8
  };
9
+ export type LeadWelcomeConfig = {
10
+ title?: string;
11
+ subtitle?: string;
12
+ };
9
13
  export type LeadLimitRule = {
10
14
  value: number;
11
15
  comparison: string;
@@ -20,6 +24,7 @@ export type LeadTenant = {
20
24
  subdomain: string;
21
25
  domain: string;
22
26
  theme?: LeadThemeConfig;
27
+ welcome?: LeadWelcomeConfig;
23
28
  limits?: LeadTenantLimits;
24
29
  email?: string[];
25
30
  scenarioOptions: string[];
@@ -100,6 +100,12 @@ export interface Site {
100
100
  dataIsHybridFrom?: string;
101
101
  dataSource?: string;
102
102
  selectedDataSource?: string;
103
+ /**
104
+ * Nature de la donnée de consommation (soutirage) réellement produite par la
105
+ * dernière extraction réussie. Écrit par le micro conso. `undefined` sur les
106
+ * sites antérieurs = traité comme 'COURBE'.
107
+ */
108
+ extractionType?: 'COURBE' | 'INDEX' | 'HYBRIDE';
103
109
  dataSourceHistory: DataSourceHistory[];
104
110
  disabled: boolean;
105
111
  strasbourgData?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.99.0",
3
+ "version": "1.101.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",