@likewatt/models-front 1.20.1 → 1.22.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.
@@ -64,8 +64,8 @@ export declare const SiteConstants: {
64
64
  };
65
65
  readonly purchaseContractType: {
66
66
  readonly 'CARD/T': "CARD/T";
67
- readonly 'Contrat unique': "Contrat unique";
68
- readonly Autoproducteur: "Autoproducteur";
67
+ readonly 'Contrat unique': "uniqueContract";
68
+ readonly Autoproducteur: "autoproducer";
69
69
  };
70
70
  readonly purchaseMeterOwner: {
71
71
  readonly AODE: "AODE";
@@ -78,8 +78,8 @@ exports.SiteConstants = {
78
78
  },
79
79
  purchaseContractType: {
80
80
  'CARD/T': 'CARD/T',
81
- 'Contrat unique': 'Contrat unique',
82
- Autoproducteur: 'Autoproducteur',
81
+ 'Contrat unique': 'uniqueContract',
82
+ Autoproducteur: 'autoproducer',
83
83
  },
84
84
  purchaseMeterOwner: {
85
85
  AODE: 'AODE',
@@ -86,5 +86,7 @@ export declare class User {
86
86
  tokenData?: tokenData;
87
87
  createdAt: Date;
88
88
  updatedAt: Date;
89
+ startDate?: Date;
90
+ endDate?: Date;
89
91
  _lastConnected?: string;
90
92
  }
@@ -87,5 +87,6 @@ export declare enum Reference {
87
87
  }
88
88
  export declare enum BuildingDataStatus {
89
89
  OK = "OK",
90
- NOT_COVERED = "NOT_COVERED"
90
+ NOT_COVERED = "NOT_COVERED",
91
+ ERROR = "ERROR"
91
92
  }
@@ -100,4 +100,5 @@ var BuildingDataStatus;
100
100
  (function (BuildingDataStatus) {
101
101
  BuildingDataStatus["OK"] = "OK";
102
102
  BuildingDataStatus["NOT_COVERED"] = "NOT_COVERED";
103
+ BuildingDataStatus["ERROR"] = "ERROR";
103
104
  })(BuildingDataStatus || (exports.BuildingDataStatus = BuildingDataStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.20.1",
3
+ "version": "1.22.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",