@likewatt/models 1.32.0 → 1.34.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.
@@ -67,7 +67,7 @@ export declare const WebhookParamsSchema: import("mongoose").Schema<WebhookParam
67
67
  */
68
68
  export declare class User {
69
69
  _id: string;
70
- leadTenantId?: string;
70
+ leadTenantId?: string | null;
71
71
  email: string;
72
72
  password: string;
73
73
  firstname: string;
@@ -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
@@ -161,7 +161,7 @@ __decorate([
161
161
  (0, mongoose_1.Prop)({ type: String, required: false, ref: 'LeadTenant' }),
162
162
  (0, class_validator_1.IsOptional)(),
163
163
  (0, class_validator_1.IsString)(),
164
- __metadata("design:type", String)
164
+ __metadata("design:type", Object)
165
165
  ], User.prototype, "leadTenantId", void 0);
166
166
  __decorate([
167
167
  (0, swagger_1.ApiProperty)({
@@ -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.32.0",
3
+ "version": "1.34.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {