@likewatt/models 1.106.2 → 1.107.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.
@@ -33,6 +33,7 @@ export declare class CollectiveSite {
33
33
  hasAnalysis: boolean;
34
34
  buildingData?: BuildingData | null;
35
35
  buildingDataStatus?: BuildingDataStatus | null;
36
+ demoTemplateSourceId?: string;
36
37
  createdAt?: Date | string;
37
38
  updatedAt?: Date | string;
38
39
  }
@@ -219,6 +219,13 @@ __decorate([
219
219
  (0, class_validator_1.IsEnum)(BuildingDataStatus_1.BuildingDataStatus),
220
220
  __metadata("design:type", Object)
221
221
  ], CollectiveSite.prototype, "buildingDataStatus", void 0);
222
+ __decorate([
223
+ (0, swagger_1.ApiPropertyOptional)(),
224
+ (0, class_validator_1.IsOptional)(),
225
+ (0, class_validator_1.IsString)(),
226
+ (0, mongoose_1.Prop)({ required: false }),
227
+ __metadata("design:type", String)
228
+ ], CollectiveSite.prototype, "demoTemplateSourceId", void 0);
222
229
  __decorate([
223
230
  (0, swagger_1.ApiPropertyOptional)(),
224
231
  (0, class_validator_1.IsOptional)(),
@@ -135,6 +135,7 @@ export declare class Site {
135
135
  hasContractData: boolean;
136
136
  scenarioOption?: string;
137
137
  invoiceData?: InvoiceOcrResult;
138
+ demoTemplateSourceId?: string;
138
139
  createdAt?: Date | string;
139
140
  updatedAt?: Date | string;
140
141
  }
package/dist/core/Site.js CHANGED
@@ -713,6 +713,13 @@ __decorate([
713
713
  (0, class_transformer_1.Type)(() => invoiceOcrResult_1.InvoiceOcrResult),
714
714
  __metadata("design:type", invoiceOcrResult_1.InvoiceOcrResult)
715
715
  ], Site.prototype, "invoiceData", void 0);
716
+ __decorate([
717
+ (0, swagger_1.ApiPropertyOptional)(),
718
+ (0, class_validator_1.IsOptional)(),
719
+ (0, class_validator_1.IsString)(),
720
+ (0, mongoose_1.Prop)({ required: false }),
721
+ __metadata("design:type", String)
722
+ ], Site.prototype, "demoTemplateSourceId", void 0);
716
723
  __decorate([
717
724
  (0, swagger_1.ApiPropertyOptional)(),
718
725
  (0, class_validator_1.IsOptional)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.106.2",
3
+ "version": "1.107.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {