@likewatt/models 1.57.4 → 1.57.6
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/CollectiveSite.d.ts +2 -2
- package/dist/core/CollectiveSite.js +16 -9
- package/dist/core/Consent.js +8 -5
- package/dist/core/DefaultRate.d.ts +1 -1
- package/dist/core/DefaultRate.js +1 -0
- package/dist/core/Invitation.js +0 -1
- package/dist/core/License.js +1 -0
- package/dist/core/Scenario.d.ts +5 -5
- package/dist/core/Scenario.js +5 -0
- package/dist/core/Subscription.js +1 -1
- package/dist/core/User.js +20 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export declare class CollectiveSite {
|
|
|
7
7
|
type: SiteType;
|
|
8
8
|
description?: string;
|
|
9
9
|
address: string;
|
|
10
|
-
initialOwner
|
|
10
|
+
initialOwner?: string;
|
|
11
11
|
name: string;
|
|
12
12
|
isC_AND_I: boolean;
|
|
13
13
|
currency: string;
|
|
@@ -24,7 +24,7 @@ export declare class CollectiveSite {
|
|
|
24
24
|
user: string;
|
|
25
25
|
country: string;
|
|
26
26
|
isVisible: boolean;
|
|
27
|
-
timezone
|
|
27
|
+
timezone?: number;
|
|
28
28
|
sites: string[];
|
|
29
29
|
hasAnalysis: boolean;
|
|
30
30
|
createdAt?: Date | string;
|
|
@@ -54,8 +54,9 @@ __decorate([
|
|
|
54
54
|
__metadata("design:type", String)
|
|
55
55
|
], CollectiveSite.prototype, "address", void 0);
|
|
56
56
|
__decorate([
|
|
57
|
-
(0, swagger_1.
|
|
57
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
58
58
|
(0, mongoose_1.Prop)({ required: false }),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
60
|
(0, class_validator_1.IsString)(),
|
|
60
61
|
__metadata("design:type", String)
|
|
61
62
|
], CollectiveSite.prototype, "initialOwner", void 0);
|
|
@@ -66,8 +67,9 @@ __decorate([
|
|
|
66
67
|
__metadata("design:type", String)
|
|
67
68
|
], CollectiveSite.prototype, "name", void 0);
|
|
68
69
|
__decorate([
|
|
69
|
-
(0, swagger_1.
|
|
70
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
70
71
|
(0, mongoose_1.Prop)({ default: false }),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
73
|
(0, class_validator_1.IsBoolean)(),
|
|
72
74
|
__metadata("design:type", Boolean)
|
|
73
75
|
], CollectiveSite.prototype, "isC_AND_I", void 0);
|
|
@@ -78,8 +80,9 @@ __decorate([
|
|
|
78
80
|
__metadata("design:type", String)
|
|
79
81
|
], CollectiveSite.prototype, "currency", void 0);
|
|
80
82
|
__decorate([
|
|
81
|
-
(0, swagger_1.
|
|
82
|
-
(0, mongoose_1.Prop)({ type: Boolean, required:
|
|
83
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
84
|
+
(0, mongoose_1.Prop)({ type: Boolean, required: false, default: false }),
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
83
86
|
(0, class_validator_1.IsBoolean)(),
|
|
84
87
|
__metadata("design:type", Boolean)
|
|
85
88
|
], CollectiveSite.prototype, "autoCo2", void 0);
|
|
@@ -91,8 +94,9 @@ __decorate([
|
|
|
91
94
|
__metadata("design:type", Object)
|
|
92
95
|
], CollectiveSite.prototype, "co2rate", void 0);
|
|
93
96
|
__decorate([
|
|
94
|
-
(0, swagger_1.
|
|
97
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
95
98
|
(0, mongoose_1.Prop)({ required: false }),
|
|
99
|
+
(0, class_validator_1.IsOptional)(),
|
|
96
100
|
(0, class_validator_1.IsString)(),
|
|
97
101
|
__metadata("design:type", String)
|
|
98
102
|
], CollectiveSite.prototype, "folder", void 0);
|
|
@@ -154,14 +158,16 @@ __decorate([
|
|
|
154
158
|
__metadata("design:type", String)
|
|
155
159
|
], CollectiveSite.prototype, "country", void 0);
|
|
156
160
|
__decorate([
|
|
157
|
-
(0, swagger_1.
|
|
161
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
158
162
|
(0, mongoose_1.Prop)({ default: false }),
|
|
163
|
+
(0, class_validator_1.IsOptional)(),
|
|
159
164
|
(0, class_validator_1.IsBoolean)(),
|
|
160
165
|
__metadata("design:type", Boolean)
|
|
161
166
|
], CollectiveSite.prototype, "isVisible", void 0);
|
|
162
167
|
__decorate([
|
|
163
|
-
(0, swagger_1.
|
|
168
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
164
169
|
(0, mongoose_1.Prop)({ required: false }),
|
|
170
|
+
(0, class_validator_1.IsOptional)(),
|
|
165
171
|
(0, class_validator_1.IsNumber)(),
|
|
166
172
|
__metadata("design:type", Number)
|
|
167
173
|
], CollectiveSite.prototype, "timezone", void 0);
|
|
@@ -172,8 +178,9 @@ __decorate([
|
|
|
172
178
|
__metadata("design:type", Array)
|
|
173
179
|
], CollectiveSite.prototype, "sites", void 0);
|
|
174
180
|
__decorate([
|
|
175
|
-
(0, swagger_1.
|
|
176
|
-
(0, mongoose_1.Prop)({ required:
|
|
181
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
182
|
+
(0, mongoose_1.Prop)({ required: false, default: false }),
|
|
183
|
+
(0, class_validator_1.IsOptional)(),
|
|
177
184
|
(0, class_validator_1.IsBoolean)(),
|
|
178
185
|
__metadata("design:type", Boolean)
|
|
179
186
|
], CollectiveSite.prototype, "hasAnalysis", void 0);
|
package/dist/core/Consent.js
CHANGED
|
@@ -47,7 +47,8 @@ __decorate([
|
|
|
47
47
|
description: 'Consentement pour le contrat',
|
|
48
48
|
example: true,
|
|
49
49
|
}),
|
|
50
|
-
(0, mongoose_2.Prop)({ type: Boolean, required:
|
|
50
|
+
(0, mongoose_2.Prop)({ type: Boolean, required: false, default: false }),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
52
|
(0, class_validator_1.IsBoolean)(),
|
|
52
53
|
__metadata("design:type", Boolean)
|
|
53
54
|
], Consent.prototype, "contractConsent", void 0);
|
|
@@ -56,7 +57,8 @@ __decorate([
|
|
|
56
57
|
description: 'Consentement pour la courbe de charge',
|
|
57
58
|
example: true,
|
|
58
59
|
}),
|
|
59
|
-
(0, mongoose_2.Prop)({ type: Boolean, required:
|
|
60
|
+
(0, mongoose_2.Prop)({ type: Boolean, required: false, default: false }),
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
62
|
(0, class_validator_1.IsBoolean)(),
|
|
61
63
|
__metadata("design:type", Boolean)
|
|
62
64
|
], Consent.prototype, "courbeConsent", void 0);
|
|
@@ -77,7 +79,6 @@ __decorate([
|
|
|
77
79
|
}),
|
|
78
80
|
(0, mongoose_2.Prop)({ type: Date, required: false }),
|
|
79
81
|
(0, class_validator_1.IsOptional)(),
|
|
80
|
-
(0, class_validator_1.IsOptional)(),
|
|
81
82
|
__metadata("design:type", Date)
|
|
82
83
|
], Consent.prototype, "date", void 0);
|
|
83
84
|
__decorate([
|
|
@@ -112,7 +113,8 @@ __decorate([
|
|
|
112
113
|
description: 'Consentement pour l’indexation',
|
|
113
114
|
example: false,
|
|
114
115
|
}),
|
|
115
|
-
(0, mongoose_2.Prop)({ type: Boolean, required:
|
|
116
|
+
(0, mongoose_2.Prop)({ type: Boolean, required: false, default: false }),
|
|
117
|
+
(0, class_validator_1.IsOptional)(),
|
|
116
118
|
(0, class_validator_1.IsBoolean)(),
|
|
117
119
|
__metadata("design:type", Boolean)
|
|
118
120
|
], Consent.prototype, "indexConsent", void 0);
|
|
@@ -140,7 +142,8 @@ __decorate([
|
|
|
140
142
|
description: 'Consentement pour la mesure d’audience',
|
|
141
143
|
example: true,
|
|
142
144
|
}),
|
|
143
|
-
(0, mongoose_2.Prop)({ type: Boolean, required:
|
|
145
|
+
(0, mongoose_2.Prop)({ type: Boolean, required: false, default: false }),
|
|
146
|
+
(0, class_validator_1.IsOptional)(),
|
|
144
147
|
(0, class_validator_1.IsBoolean)(),
|
|
145
148
|
__metadata("design:type", Boolean)
|
|
146
149
|
], Consent.prototype, "mesureConsent", void 0);
|
|
@@ -14,7 +14,7 @@ export declare class DefaultRate {
|
|
|
14
14
|
userId: string;
|
|
15
15
|
rateId?: string;
|
|
16
16
|
tarifs: Rates[];
|
|
17
|
-
restOfTheYear
|
|
17
|
+
restOfTheYear?: RestOfTheYearTarifs;
|
|
18
18
|
}
|
|
19
19
|
export type DefaultRateDocument = DefaultRate & Document;
|
|
20
20
|
export declare const DefaultRateSchema: import("mongoose").Schema<DefaultRate, import("mongoose").Model<DefaultRate, any, any, any, Document<unknown, any, DefaultRate, any, {}> & DefaultRate & Required<{
|
package/dist/core/DefaultRate.js
CHANGED
|
@@ -73,6 +73,7 @@ __decorate([
|
|
|
73
73
|
__decorate([
|
|
74
74
|
(0, swagger_1.ApiProperty)({ type: rest_of_the_years_tarif_1.RestOfTheYearTarifs }),
|
|
75
75
|
(0, mongoose_1.Prop)({ required: false }),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
77
|
__metadata("design:type", rest_of_the_years_tarif_1.RestOfTheYearTarifs)
|
|
77
78
|
], DefaultRate.prototype, "restOfTheYear", void 0);
|
|
78
79
|
exports.DefaultRate = DefaultRate = __decorate([
|
package/dist/core/Invitation.js
CHANGED
package/dist/core/License.js
CHANGED
|
@@ -98,6 +98,7 @@ __decorate([
|
|
|
98
98
|
example: false,
|
|
99
99
|
}),
|
|
100
100
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
101
|
+
(0, class_validator_1.IsOptional)(),
|
|
101
102
|
(0, class_validator_1.IsBoolean)(),
|
|
102
103
|
__metadata("design:type", Boolean)
|
|
103
104
|
], License.prototype, "trackerOkd", void 0);
|
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -48,8 +48,8 @@ export declare const DemandMultiplierSlotSchema: MSchema<DemandMultiplierSlot, i
|
|
|
48
48
|
__v: number;
|
|
49
49
|
}>;
|
|
50
50
|
export declare class DistributionKey {
|
|
51
|
-
type
|
|
52
|
-
values
|
|
51
|
+
type?: string;
|
|
52
|
+
values?: (string | number)[];
|
|
53
53
|
}
|
|
54
54
|
export declare const DistributionKeySchema: MSchema<DistributionKey, import("mongoose").Model<DistributionKey, any, any, any, Document<unknown, any, DistributionKey, any, {}> & DistributionKey & {
|
|
55
55
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -78,7 +78,7 @@ export declare class Technology {
|
|
|
78
78
|
id: string;
|
|
79
79
|
index: number;
|
|
80
80
|
type?: number;
|
|
81
|
-
settings
|
|
81
|
+
settings?: Record<string, unknown>;
|
|
82
82
|
}
|
|
83
83
|
export declare const TechnologySchema: MSchema<Technology, import("mongoose").Model<Technology, any, any, any, Document<unknown, any, Technology, any, {}> & Technology & {
|
|
84
84
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -94,7 +94,7 @@ export declare class Pv {
|
|
|
94
94
|
name: string;
|
|
95
95
|
counterId?: string;
|
|
96
96
|
type?: number;
|
|
97
|
-
settings
|
|
97
|
+
settings?: Record<string, unknown>;
|
|
98
98
|
}
|
|
99
99
|
export declare const PvSchema: MSchema<Pv, import("mongoose").Model<Pv, any, any, any, Document<unknown, any, Pv, any, {}> & Pv & {
|
|
100
100
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -133,7 +133,7 @@ export declare class ConfigSite {
|
|
|
133
133
|
distributionKey?: DistributionKey[];
|
|
134
134
|
priorityStage?: number;
|
|
135
135
|
rateOfGrowth?: RateOfGrowth[];
|
|
136
|
-
settings
|
|
136
|
+
settings?: Record<string, unknown>;
|
|
137
137
|
}
|
|
138
138
|
export declare const ConfigSiteSchema: MSchema<ConfigSite, import("mongoose").Model<ConfigSite, any, any, any, Document<unknown, any, ConfigSite, any, {}> & ConfigSite & {
|
|
139
139
|
_id: import("mongoose").Types.ObjectId;
|
package/dist/core/Scenario.js
CHANGED
|
@@ -143,12 +143,14 @@ exports.DistributionKey = DistributionKey;
|
|
|
143
143
|
__decorate([
|
|
144
144
|
(0, swagger_1.ApiProperty)({ example: 'prorata' }),
|
|
145
145
|
(0, mongoose_1.Prop)({ required: false }),
|
|
146
|
+
(0, class_validator_1.IsOptional)(),
|
|
146
147
|
(0, class_validator_1.IsString)(),
|
|
147
148
|
__metadata("design:type", String)
|
|
148
149
|
], DistributionKey.prototype, "type", void 0);
|
|
149
150
|
__decorate([
|
|
150
151
|
(0, swagger_1.ApiProperty)({ example: [] }),
|
|
151
152
|
(0, mongoose_1.Prop)({ required: false }),
|
|
153
|
+
(0, class_validator_1.IsOptional)(),
|
|
152
154
|
(0, class_validator_1.IsArray)(),
|
|
153
155
|
__metadata("design:type", Array)
|
|
154
156
|
], DistributionKey.prototype, "values", void 0);
|
|
@@ -210,6 +212,7 @@ __decorate([
|
|
|
210
212
|
required: false,
|
|
211
213
|
}),
|
|
212
214
|
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.Mixed, required: false }),
|
|
215
|
+
(0, class_validator_1.IsOptional)(),
|
|
213
216
|
(0, class_validator_1.IsObject)(),
|
|
214
217
|
__metadata("design:type", Object)
|
|
215
218
|
], Technology.prototype, "settings", void 0);
|
|
@@ -252,6 +255,7 @@ __decorate([
|
|
|
252
255
|
required: false,
|
|
253
256
|
}),
|
|
254
257
|
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.Mixed, required: false }),
|
|
258
|
+
(0, class_validator_1.IsOptional)(),
|
|
255
259
|
(0, class_validator_1.IsObject)(),
|
|
256
260
|
__metadata("design:type", Object)
|
|
257
261
|
], Pv.prototype, "settings", void 0);
|
|
@@ -400,6 +404,7 @@ __decorate([
|
|
|
400
404
|
required: false,
|
|
401
405
|
}),
|
|
402
406
|
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.Mixed, required: false }),
|
|
407
|
+
(0, class_validator_1.IsOptional)(),
|
|
403
408
|
(0, class_validator_1.IsObject)(),
|
|
404
409
|
__metadata("design:type", Object)
|
|
405
410
|
], ConfigSite.prototype, "settings", void 0);
|
|
@@ -187,6 +187,7 @@ __decorate([
|
|
|
187
187
|
example: false,
|
|
188
188
|
}),
|
|
189
189
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
190
|
+
(0, class_validator_1.IsOptional)(),
|
|
190
191
|
(0, class_validator_1.IsBoolean)(),
|
|
191
192
|
__metadata("design:type", Boolean)
|
|
192
193
|
], Subscription.prototype, "cancelAtPeriodEnd", void 0);
|
|
@@ -207,7 +208,6 @@ __decorate([
|
|
|
207
208
|
}),
|
|
208
209
|
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
209
210
|
(0, class_validator_1.IsOptional)(),
|
|
210
|
-
(0, class_validator_1.IsOptional)(),
|
|
211
211
|
__metadata("design:type", Date)
|
|
212
212
|
], Subscription.prototype, "lastSyncedAt", void 0);
|
|
213
213
|
exports.Subscription = Subscription = __decorate([
|
package/dist/core/User.js
CHANGED
|
@@ -195,6 +195,7 @@ __decorate([
|
|
|
195
195
|
__decorate([
|
|
196
196
|
(0, swagger_1.ApiProperty)({ type: [folder_model_1.Folder] }),
|
|
197
197
|
(0, mongoose_1.Prop)({ type: [folder_model_1.FolderSchema], required: false, default: [] }),
|
|
198
|
+
(0, class_validator_1.IsOptional)(),
|
|
198
199
|
(0, class_validator_1.IsArray)(),
|
|
199
200
|
__metadata("design:type", Array)
|
|
200
201
|
], User.prototype, "folders", void 0);
|
|
@@ -219,12 +220,14 @@ __decorate([
|
|
|
219
220
|
__decorate([
|
|
220
221
|
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
221
222
|
(0, mongoose_1.Prop)({ type: [String], required: false, default: [] }),
|
|
223
|
+
(0, class_validator_1.IsOptional)(),
|
|
222
224
|
(0, class_validator_1.IsArray)(),
|
|
223
225
|
__metadata("design:type", Array)
|
|
224
226
|
], User.prototype, "defaultRates", void 0);
|
|
225
227
|
__decorate([
|
|
226
228
|
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
227
229
|
(0, mongoose_1.Prop)({ type: [String], required: false, default: [] }),
|
|
230
|
+
(0, class_validator_1.IsOptional)(),
|
|
228
231
|
(0, class_validator_1.IsArray)(),
|
|
229
232
|
__metadata("design:type", Array)
|
|
230
233
|
], User.prototype, "defaultScenarios", void 0);
|
|
@@ -310,6 +313,7 @@ __decorate([
|
|
|
310
313
|
example: true,
|
|
311
314
|
}),
|
|
312
315
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
316
|
+
(0, class_validator_1.IsOptional)(),
|
|
313
317
|
(0, class_validator_1.IsBoolean)(),
|
|
314
318
|
__metadata("design:type", Boolean)
|
|
315
319
|
], User.prototype, "isAdmin", void 0);
|
|
@@ -319,6 +323,7 @@ __decorate([
|
|
|
319
323
|
example: true,
|
|
320
324
|
}),
|
|
321
325
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
326
|
+
(0, class_validator_1.IsOptional)(),
|
|
322
327
|
(0, class_validator_1.IsBoolean)(),
|
|
323
328
|
__metadata("design:type", Boolean)
|
|
324
329
|
], User.prototype, "isRenewalEmailSent", void 0);
|
|
@@ -328,6 +333,7 @@ __decorate([
|
|
|
328
333
|
example: false,
|
|
329
334
|
}),
|
|
330
335
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
336
|
+
(0, class_validator_1.IsOptional)(),
|
|
331
337
|
(0, class_validator_1.IsBoolean)(),
|
|
332
338
|
__metadata("design:type", Boolean)
|
|
333
339
|
], User.prototype, "isManager", void 0);
|
|
@@ -337,6 +343,7 @@ __decorate([
|
|
|
337
343
|
example: true,
|
|
338
344
|
}),
|
|
339
345
|
(0, mongoose_1.Prop)({ type: Boolean, default: true }),
|
|
346
|
+
(0, class_validator_1.IsOptional)(),
|
|
340
347
|
(0, class_validator_1.IsBoolean)(),
|
|
341
348
|
__metadata("design:type", Boolean)
|
|
342
349
|
], User.prototype, "active", void 0);
|
|
@@ -346,6 +353,7 @@ __decorate([
|
|
|
346
353
|
example: false,
|
|
347
354
|
}),
|
|
348
355
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
356
|
+
(0, class_validator_1.IsOptional)(),
|
|
349
357
|
(0, class_validator_1.IsBoolean)(),
|
|
350
358
|
__metadata("design:type", Boolean)
|
|
351
359
|
], User.prototype, "demo", void 0);
|
|
@@ -355,6 +363,7 @@ __decorate([
|
|
|
355
363
|
example: true,
|
|
356
364
|
}),
|
|
357
365
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
366
|
+
(0, class_validator_1.IsOptional)(),
|
|
358
367
|
(0, class_validator_1.IsBoolean)(),
|
|
359
368
|
__metadata("design:type", Boolean)
|
|
360
369
|
], User.prototype, "emailVerified", void 0);
|
|
@@ -364,6 +373,7 @@ __decorate([
|
|
|
364
373
|
example: true,
|
|
365
374
|
}),
|
|
366
375
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
376
|
+
(0, class_validator_1.IsOptional)(),
|
|
367
377
|
(0, class_validator_1.IsBoolean)(),
|
|
368
378
|
__metadata("design:type", Boolean)
|
|
369
379
|
], User.prototype, "principal", void 0);
|
|
@@ -463,6 +473,7 @@ __decorate([
|
|
|
463
473
|
example: false,
|
|
464
474
|
}),
|
|
465
475
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
476
|
+
(0, class_validator_1.IsOptional)(),
|
|
466
477
|
(0, class_validator_1.IsBoolean)(),
|
|
467
478
|
__metadata("design:type", Boolean)
|
|
468
479
|
], User.prototype, "trackerOkd", void 0);
|
|
@@ -472,6 +483,7 @@ __decorate([
|
|
|
472
483
|
example: true,
|
|
473
484
|
}),
|
|
474
485
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
486
|
+
(0, class_validator_1.IsOptional)(),
|
|
475
487
|
(0, class_validator_1.IsBoolean)(),
|
|
476
488
|
__metadata("design:type", Boolean)
|
|
477
489
|
], User.prototype, "isSignUpEmailSent", void 0);
|
|
@@ -481,6 +493,7 @@ __decorate([
|
|
|
481
493
|
example: false,
|
|
482
494
|
}),
|
|
483
495
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
496
|
+
(0, class_validator_1.IsOptional)(),
|
|
484
497
|
(0, class_validator_1.IsBoolean)(),
|
|
485
498
|
__metadata("design:type", Boolean)
|
|
486
499
|
], User.prototype, "isAdminEmailSent", void 0);
|
|
@@ -490,6 +503,7 @@ __decorate([
|
|
|
490
503
|
example: false,
|
|
491
504
|
}),
|
|
492
505
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
506
|
+
(0, class_validator_1.IsOptional)(),
|
|
493
507
|
(0, class_validator_1.IsBoolean)(),
|
|
494
508
|
__metadata("design:type", Boolean)
|
|
495
509
|
], User.prototype, "automaticRenew", void 0);
|
|
@@ -521,6 +535,7 @@ __decorate([
|
|
|
521
535
|
type: String,
|
|
522
536
|
}),
|
|
523
537
|
(0, mongoose_1.Prop)({ type: [String], default: [] }),
|
|
538
|
+
(0, class_validator_1.IsOptional)(),
|
|
524
539
|
(0, class_validator_1.IsArray)(),
|
|
525
540
|
(0, class_validator_1.IsString)({ each: true }),
|
|
526
541
|
__metadata("design:type", Array)
|
|
@@ -533,6 +548,7 @@ __decorate([
|
|
|
533
548
|
type: String,
|
|
534
549
|
}),
|
|
535
550
|
(0, mongoose_1.Prop)({ type: [String], default: [] }),
|
|
551
|
+
(0, class_validator_1.IsOptional)(),
|
|
536
552
|
(0, class_validator_1.IsArray)(),
|
|
537
553
|
(0, class_validator_1.IsString)({ each: true }),
|
|
538
554
|
__metadata("design:type", Array)
|
|
@@ -545,6 +561,7 @@ __decorate([
|
|
|
545
561
|
type: String,
|
|
546
562
|
}),
|
|
547
563
|
(0, mongoose_1.Prop)({ type: [String], default: [] }),
|
|
564
|
+
(0, class_validator_1.IsOptional)(),
|
|
548
565
|
(0, class_validator_1.IsArray)(),
|
|
549
566
|
(0, class_validator_1.IsString)({ each: true }),
|
|
550
567
|
__metadata("design:type", Array)
|
|
@@ -557,6 +574,7 @@ __decorate([
|
|
|
557
574
|
type: String,
|
|
558
575
|
}),
|
|
559
576
|
(0, mongoose_1.Prop)({ type: [String], default: [] }),
|
|
577
|
+
(0, class_validator_1.IsOptional)(),
|
|
560
578
|
(0, class_validator_1.IsArray)(),
|
|
561
579
|
(0, class_validator_1.IsString)({ each: true }),
|
|
562
580
|
__metadata("design:type", Array)
|
|
@@ -569,6 +587,7 @@ __decorate([
|
|
|
569
587
|
type: String,
|
|
570
588
|
}),
|
|
571
589
|
(0, mongoose_1.Prop)({ type: [String], default: [] }),
|
|
590
|
+
(0, class_validator_1.IsOptional)(),
|
|
572
591
|
(0, class_validator_1.IsArray)(),
|
|
573
592
|
(0, class_validator_1.IsString)({ each: true }),
|
|
574
593
|
__metadata("design:type", Array)
|
|
@@ -655,6 +674,7 @@ __decorate([
|
|
|
655
674
|
__decorate([
|
|
656
675
|
(0, swagger_1.ApiProperty)(),
|
|
657
676
|
(0, mongoose_1.Prop)({ type: Boolean, required: false }),
|
|
677
|
+
(0, class_validator_1.IsOptional)(),
|
|
658
678
|
(0, class_validator_1.IsBoolean)(),
|
|
659
679
|
__metadata("design:type", Boolean)
|
|
660
680
|
], User.prototype, "hasLeads", void 0);
|