@likewatt/models 1.9.0 → 1.10.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.
@@ -116,6 +116,8 @@ export declare class User {
116
116
  webhook?: WebhookParams;
117
117
  tokenData?: tokenData;
118
118
  _lastConnected?: string;
119
+ startDate?: Date;
120
+ endDate?: Date;
119
121
  }
120
122
  export type UserDocument = User & Document;
121
123
  export declare const UserSchema: import("mongoose").Schema<User, import("mongoose").Model<User, any, any, any, Document<unknown, any, User, any, {}> & User & Required<{
package/dist/core/User.js CHANGED
@@ -618,6 +618,18 @@ __decorate([
618
618
  (0, class_validator_1.IsString)(),
619
619
  __metadata("design:type", String)
620
620
  ], User.prototype, "_lastConnected", void 0);
621
+ __decorate([
622
+ (0, swagger_1.ApiProperty)(),
623
+ (0, mongoose_1.Prop)({ type: Date, required: false }),
624
+ (0, class_validator_1.IsDate)(),
625
+ __metadata("design:type", Date)
626
+ ], User.prototype, "startDate", void 0);
627
+ __decorate([
628
+ (0, swagger_1.ApiProperty)(),
629
+ (0, mongoose_1.Prop)({ type: Date, required: false }),
630
+ (0, class_validator_1.IsDate)(),
631
+ __metadata("design:type", Date)
632
+ ], User.prototype, "endDate", void 0);
621
633
  exports.User = User = __decorate([
622
634
  (0, mongoose_1.Schema)({
623
635
  id: false,
@@ -55,7 +55,9 @@ export declare enum FileType {
55
55
  CONSENT5 = "consent5.pdf",
56
56
  CONSENT6 = "consent6.txt",
57
57
  METADATA = "metadata.json",
58
- OVERLAY = "overlay.png"
58
+ OVERLAY = "overlay.png",
59
+ METADATA_BUILDING = "metadataBuilding.json",
60
+ OVERLAY_BUILDING = "overlayBuilding.png"
59
61
  }
60
62
  export declare enum FileName_Extra {
61
63
  LOG = "optiwize.log`"
@@ -60,6 +60,8 @@ var FileType;
60
60
  FileType["CONSENT6"] = "consent6.txt";
61
61
  FileType["METADATA"] = "metadata.json";
62
62
  FileType["OVERLAY"] = "overlay.png";
63
+ FileType["METADATA_BUILDING"] = "metadataBuilding.json";
64
+ FileType["OVERLAY_BUILDING"] = "overlayBuilding.png";
63
65
  })(FileType || (exports.FileType = FileType = {}));
64
66
  var FileName_Extra;
65
67
  (function (FileName_Extra) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.9.0",
3
+ "version": "1.10.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {