@likewatt/models 1.33.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,
@@ -120,7 +120,7 @@ export declare class User {
120
120
  startDate?: Date;
121
121
  endDate?: Date;
122
122
  stripeCustomerId?: string;
123
- standAlone?: boolean;
123
+ hasLeads?: boolean;
124
124
  }
125
125
  export type UserDocument = User & Document;
126
126
  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
@@ -656,7 +656,7 @@ __decorate([
656
656
  (0, mongoose_1.Prop)({ type: Boolean, required: false }),
657
657
  (0, class_validator_1.IsBoolean)(),
658
658
  __metadata("design:type", Boolean)
659
- ], User.prototype, "standAlone", void 0);
659
+ ], User.prototype, "hasLeads", void 0);
660
660
  exports.User = User = __decorate([
661
661
  (0, mongoose_1.Schema)({
662
662
  id: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.33.0",
3
+ "version": "1.35.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {