@likewatt/models 1.16.3 → 1.17.1
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/Leads.d.ts +1 -1
- package/dist/core/Leads.js +1 -1
- package/dist/core/User.d.ts +1 -0
- package/dist/core/User.js +10 -0
- package/package.json +1 -1
package/dist/core/Leads.d.ts
CHANGED
package/dist/core/Leads.js
CHANGED
|
@@ -67,7 +67,7 @@ __decorate([
|
|
|
67
67
|
__decorate([
|
|
68
68
|
(0, mongoose_1.Prop)({ required: true, type: String, ref: 'User' }),
|
|
69
69
|
__metadata("design:type", String)
|
|
70
|
-
], LeadTenant.prototype, "
|
|
70
|
+
], LeadTenant.prototype, "userId", void 0);
|
|
71
71
|
__decorate([
|
|
72
72
|
(0, mongoose_1.Prop)({
|
|
73
73
|
type: String,
|
package/dist/core/User.d.ts
CHANGED
package/dist/core/User.js
CHANGED
|
@@ -153,6 +153,16 @@ __decorate([
|
|
|
153
153
|
(0, mongoose_1.Prop)({ type: String }),
|
|
154
154
|
__metadata("design:type", String)
|
|
155
155
|
], User.prototype, "_id", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, swagger_1.ApiProperty)({
|
|
158
|
+
description: 'Référence vers le LeadTenant associé',
|
|
159
|
+
example: 'uuid-of-leadtenant',
|
|
160
|
+
}),
|
|
161
|
+
(0, mongoose_1.Prop)({ type: String, required: false, ref: 'LeadTenant' }),
|
|
162
|
+
(0, class_validator_1.IsOptional)(),
|
|
163
|
+
(0, class_validator_1.IsString)(),
|
|
164
|
+
__metadata("design:type", String)
|
|
165
|
+
], User.prototype, "leadTenantId", void 0);
|
|
156
166
|
__decorate([
|
|
157
167
|
(0, swagger_1.ApiProperty)({
|
|
158
168
|
description: 'Adresse e-mail de l’utilisateur',
|