@likewatt/models 1.34.0 → 1.36.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.
@@ -184,6 +184,7 @@ export declare class ScenarioType extends Scenario {
184
184
  isACCScenario?: boolean;
185
185
  scenarioOption?: string;
186
186
  siteId: string;
187
+ isLeads?: boolean;
187
188
  }
188
189
  export type ScenarioTypeDocument = ScenarioType & Document;
189
190
  export declare const ScenarioTypeSchema: MSchema<ScenarioType, import("mongoose").Model<ScenarioType, any, any, any, Document<unknown, any, ScenarioType, any, {}> & ScenarioType & Required<{
@@ -632,6 +632,13 @@ __decorate([
632
632
  (0, class_validator_1.IsString)(),
633
633
  __metadata("design:type", String)
634
634
  ], ScenarioType.prototype, "siteId", void 0);
635
+ __decorate([
636
+ (0, swagger_1.ApiPropertyOptional)({ example: false }),
637
+ (0, mongoose_1.Prop)({ default: false }),
638
+ (0, class_validator_1.IsOptional)(),
639
+ (0, class_validator_1.IsBoolean)(),
640
+ __metadata("design:type", Boolean)
641
+ ], ScenarioType.prototype, "isLeads", void 0);
635
642
  exports.ScenarioType = ScenarioType = __decorate([
636
643
  (0, mongoose_1.Schema)()
637
644
  ], ScenarioType);
@@ -52,6 +52,7 @@ export declare class ScenarioDefaultValue {
52
52
  scenarioOption?: string;
53
53
  createdBy?: Date;
54
54
  updatedAt?: Date;
55
+ isLeads?: boolean;
55
56
  }
56
57
  export type ScenarioDefaultValueDocument = ScenarioDefaultValue & Document;
57
58
  export declare const ScenarioDefaultValueSchema: import("mongoose").Schema<ScenarioDefaultValue, import("mongoose").Model<ScenarioDefaultValue, any, any, any, Document<unknown, any, ScenarioDefaultValue, any, {}> & ScenarioDefaultValue & Required<{
@@ -244,6 +244,13 @@ __decorate([
244
244
  (0, class_validator_1.IsOptional)(),
245
245
  __metadata("design:type", Date)
246
246
  ], ScenarioDefaultValue.prototype, "updatedAt", void 0);
247
+ __decorate([
248
+ (0, swagger_1.ApiPropertyOptional)({ example: false }),
249
+ (0, mongoose_1.Prop)({ default: false }),
250
+ (0, class_validator_1.IsOptional)(),
251
+ (0, class_validator_1.IsBoolean)(),
252
+ __metadata("design:type", Boolean)
253
+ ], ScenarioDefaultValue.prototype, "isLeads", void 0);
247
254
  exports.ScenarioDefaultValue = ScenarioDefaultValue = __decorate([
248
255
  (0, mongoose_1.Schema)({
249
256
  id: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.34.0",
3
+ "version": "1.36.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {