@likewatt/models 1.34.0 → 1.35.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.
@@ -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.35.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {