@likewatt/models-front 1.33.0 → 1.35.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.
@@ -1,9 +1,10 @@
1
1
  export type LeadThemeConfig = {
2
2
  logoUrl?: string;
3
3
  backgroundImageUrl?: string;
4
- primaryColor?: string;
5
- secondaryColor?: string;
6
- accentColor?: string;
4
+ buttonBgColor?: string;
5
+ buttonTextColor?: string;
6
+ sectionBgColor?: string;
7
+ textColor?: string;
7
8
  };
8
9
  export type LeadTenant = {
9
10
  _id: string;
@@ -11,6 +12,7 @@ export type LeadTenant = {
11
12
  subdomain: string;
12
13
  domain: string;
13
14
  theme?: LeadThemeConfig;
15
+ scenarioOptions: string[];
14
16
  isActive: boolean;
15
17
  /**
16
18
  * Virtual Mongoose exposé via toJSON.virtuals = true
@@ -90,5 +90,6 @@ export declare class ScenarioType extends Scenario {
90
90
  user: string;
91
91
  principalUser?: string;
92
92
  isACCScenario?: boolean;
93
+ scenarioOption?: string;
93
94
  siteId: string;
94
95
  }
@@ -102,4 +102,5 @@ export interface Site {
102
102
  hasConsoData: boolean;
103
103
  hasAnalysis: boolean;
104
104
  hasContractData: boolean;
105
+ scenarioOption?: string;
105
106
  }
@@ -10,4 +10,5 @@ export interface LeadsForm {
10
10
  addressDepartement: string;
11
11
  addressDepartementNum: number;
12
12
  addressGeocode: number[];
13
+ scenarioOption?: string;
13
14
  }
@@ -3,6 +3,7 @@ export interface Tarif {
3
3
  days: number[];
4
4
  endHour: number;
5
5
  energyRate: number;
6
+ name: string;
6
7
  id: string;
7
8
  months: ImageryDate[];
8
9
  startHour: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.33.0",
3
+ "version": "1.35.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",