@likewatt/models-front 1.94.0 → 1.95.1

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,18 +1,28 @@
1
1
  export interface Consent {
2
2
  _id?: string;
3
3
  _createdAt: Date;
4
- companyName: string;
4
+ companyName?: string;
5
5
  contractConsent: boolean;
6
6
  courbeConsent: boolean;
7
7
  userId: string;
8
- date?: Date;
9
- email: string;
10
- enedisNumber: string;
11
- firstname: string;
8
+ date?: Date | string;
9
+ email?: string;
10
+ enedisNumber?: string;
11
+ firstname?: string;
12
12
  indexConsent: boolean;
13
- lastname: string;
13
+ lastname?: string;
14
14
  logo?: string;
15
15
  mesureConsent: boolean;
16
16
  siteId: string;
17
17
  updatedAt?: Date;
18
+ pdls?: string[];
19
+ collectiveSiteId?: string;
20
+ fileKey?: string;
21
+ via?: 'email' | 'upload';
22
+ isValidateConsent?: boolean;
23
+ dateConsentCheck?: Date | string;
24
+ pdlNotCovered?: boolean;
25
+ identityMismatch?: boolean;
26
+ forged?: boolean;
27
+ flagReason?: string;
18
28
  }
@@ -88,6 +88,7 @@ export interface Site {
88
88
  comments?: Comments;
89
89
  connectingPower: number;
90
90
  consentFileUrl?: string;
91
+ consentId?: string;
91
92
  isValidateConsent?: boolean;
92
93
  dateConsentCheck?: Date | string;
93
94
  consumptionIndexes?: ConsumptionIndexes;
@@ -82,7 +82,6 @@ export declare const SiteConstants: {
82
82
  };
83
83
  readonly paramsGrid: {
84
84
  ACI: number;
85
- energyInflation: number;
86
85
  subscriptionRate: number;
87
86
  capex: number;
88
87
  energyPrices: number[];
@@ -713,7 +713,6 @@ exports.SiteConstants = {
713
713
  },
714
714
  paramsGrid: {
715
715
  ACI: 0,
716
- energyInflation: 3.5,
717
716
  subscriptionRate: 0,
718
717
  capex: 0,
719
718
  energyPrices: [0, 0, 0, 0, 0],
@@ -85,6 +85,7 @@ export declare class User {
85
85
  addressCity?: string;
86
86
  addressZipCode?: string;
87
87
  isAdmin: boolean;
88
+ consentDomainCheckDisabled?: boolean;
88
89
  isRenewalEmailSent: boolean;
89
90
  active: boolean;
90
91
  demo: boolean;
@@ -2,7 +2,6 @@ import { EnergyInflationRates } from './EnergyInflationRates.types';
2
2
  import { PpaBuilderSlot } from './PVParams.types';
3
3
  export interface GridParams {
4
4
  ACI: number;
5
- energyInflation: number;
6
5
  subscriptionRate: number;
7
6
  capex: number;
8
7
  energyPrices: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.94.0",
3
+ "version": "1.95.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",