@likewatt/models 1.31.1 → 1.33.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.
- package/dist/core/User.d.ts +2 -1
- package/dist/core/User.js +7 -1
- package/package.json +1 -1
package/dist/core/User.d.ts
CHANGED
|
@@ -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,6 +120,7 @@ export declare class User {
|
|
|
120
120
|
startDate?: Date;
|
|
121
121
|
endDate?: Date;
|
|
122
122
|
stripeCustomerId?: string;
|
|
123
|
+
standAlone?: boolean;
|
|
123
124
|
}
|
|
124
125
|
export type UserDocument = User & Document;
|
|
125
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",
|
|
164
|
+
__metadata("design:type", Object)
|
|
165
165
|
], User.prototype, "leadTenantId", void 0);
|
|
166
166
|
__decorate([
|
|
167
167
|
(0, swagger_1.ApiProperty)({
|
|
@@ -651,6 +651,12 @@ __decorate([
|
|
|
651
651
|
(0, class_validator_1.IsString)(),
|
|
652
652
|
__metadata("design:type", String)
|
|
653
653
|
], User.prototype, "stripeCustomerId", void 0);
|
|
654
|
+
__decorate([
|
|
655
|
+
(0, swagger_1.ApiProperty)(),
|
|
656
|
+
(0, mongoose_1.Prop)({ type: Boolean, required: false }),
|
|
657
|
+
(0, class_validator_1.IsBoolean)(),
|
|
658
|
+
__metadata("design:type", Boolean)
|
|
659
|
+
], User.prototype, "standAlone", void 0);
|
|
654
660
|
exports.User = User = __decorate([
|
|
655
661
|
(0, mongoose_1.Schema)({
|
|
656
662
|
id: false,
|