@likewatt/models 1.51.0 → 1.52.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/CollectiveSite.d.ts +2 -0
- package/dist/core/CollectiveSite.js +10 -0
- package/dist/core/Leads.d.ts +2 -0
- package/dist/core/ScenarioDefaultValue.d.ts +1 -0
- package/dist/core/ScenarioDefaultValue.js +5 -0
- package/dist/core/Site.d.ts +2 -0
- package/dist/core/Site.js +10 -0
- package/dist/core/internal/leads-form.d.ts +2 -0
- package/dist/core/internal/leads-form.js +10 -0
- package/package.json +1 -1
|
@@ -27,6 +27,8 @@ export declare class CollectiveSite {
|
|
|
27
27
|
timezone: number;
|
|
28
28
|
sites: string[];
|
|
29
29
|
hasAnalysis: boolean;
|
|
30
|
+
createdAt?: Date | string;
|
|
31
|
+
updatedAt?: Date | string;
|
|
30
32
|
}
|
|
31
33
|
export declare const CollectiveSiteSchema: import("mongoose").Schema<CollectiveSite, import("mongoose").Model<CollectiveSite, any, any, any, Document<unknown, any, CollectiveSite, any, {}> & CollectiveSite & Required<{
|
|
32
34
|
_id: string;
|
|
@@ -177,6 +177,16 @@ __decorate([
|
|
|
177
177
|
(0, class_validator_1.IsBoolean)(),
|
|
178
178
|
__metadata("design:type", Boolean)
|
|
179
179
|
], CollectiveSite.prototype, "hasAnalysis", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
182
|
+
(0, class_validator_1.IsOptional)(),
|
|
183
|
+
__metadata("design:type", Object)
|
|
184
|
+
], CollectiveSite.prototype, "createdAt", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
187
|
+
(0, class_validator_1.IsOptional)(),
|
|
188
|
+
__metadata("design:type", Object)
|
|
189
|
+
], CollectiveSite.prototype, "updatedAt", void 0);
|
|
180
190
|
exports.CollectiveSite = CollectiveSite = __decorate([
|
|
181
191
|
(0, mongoose_1.Schema)({
|
|
182
192
|
id: false,
|
package/dist/core/Leads.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export declare class LeadTenant {
|
|
|
52
52
|
isActive: boolean;
|
|
53
53
|
limits?: LeadTenantLimits;
|
|
54
54
|
email: string[];
|
|
55
|
+
createdAt?: Date | string;
|
|
56
|
+
updatedAt?: Date | string;
|
|
55
57
|
}
|
|
56
58
|
export declare const LeadTenantSchema: import("mongoose").Schema<LeadTenant, import("mongoose").Model<LeadTenant, any, any, any, Document<unknown, any, LeadTenant, any, {}> & LeadTenant & Required<{
|
|
57
59
|
_id: string;
|
|
@@ -53,6 +53,7 @@ export declare class ScenarioDefaultValue {
|
|
|
53
53
|
createdBy?: Date;
|
|
54
54
|
updatedAt?: Date;
|
|
55
55
|
isLeads?: boolean;
|
|
56
|
+
createdAt?: Date | string;
|
|
56
57
|
}
|
|
57
58
|
export type ScenarioDefaultValueDocument = ScenarioDefaultValue & Document;
|
|
58
59
|
export declare const ScenarioDefaultValueSchema: import("mongoose").Schema<ScenarioDefaultValue, import("mongoose").Model<ScenarioDefaultValue, any, any, any, Document<unknown, any, ScenarioDefaultValue, any, {}> & ScenarioDefaultValue & Required<{
|
|
@@ -251,6 +251,11 @@ __decorate([
|
|
|
251
251
|
(0, class_validator_1.IsBoolean)(),
|
|
252
252
|
__metadata("design:type", Boolean)
|
|
253
253
|
], ScenarioDefaultValue.prototype, "isLeads", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
256
|
+
(0, class_validator_1.IsOptional)(),
|
|
257
|
+
__metadata("design:type", Object)
|
|
258
|
+
], ScenarioDefaultValue.prototype, "createdAt", void 0);
|
|
254
259
|
exports.ScenarioDefaultValue = ScenarioDefaultValue = __decorate([
|
|
255
260
|
(0, mongoose_1.Schema)({
|
|
256
261
|
id: false,
|
package/dist/core/Site.d.ts
CHANGED
|
@@ -99,6 +99,8 @@ export declare class Site {
|
|
|
99
99
|
hasAnalysis: boolean;
|
|
100
100
|
hasContractData: boolean;
|
|
101
101
|
scenarioOption?: string;
|
|
102
|
+
createdAt?: Date | string;
|
|
103
|
+
updatedAt?: Date | string;
|
|
102
104
|
}
|
|
103
105
|
export type SiteDocument = Site & Document;
|
|
104
106
|
export declare const SiteSchema: import("mongoose").Schema<Site, import("mongoose").Model<Site, any, any, any, Document<unknown, any, Site, any, {}> & Site & Required<{
|
package/dist/core/Site.js
CHANGED
|
@@ -578,6 +578,16 @@ __decorate([
|
|
|
578
578
|
(0, class_validator_1.IsString)(),
|
|
579
579
|
__metadata("design:type", String)
|
|
580
580
|
], Site.prototype, "scenarioOption", void 0);
|
|
581
|
+
__decorate([
|
|
582
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
583
|
+
(0, class_validator_1.IsOptional)(),
|
|
584
|
+
__metadata("design:type", Object)
|
|
585
|
+
], Site.prototype, "createdAt", void 0);
|
|
586
|
+
__decorate([
|
|
587
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
588
|
+
(0, class_validator_1.IsOptional)(),
|
|
589
|
+
__metadata("design:type", Object)
|
|
590
|
+
], Site.prototype, "updatedAt", void 0);
|
|
581
591
|
exports.Site = Site = __decorate([
|
|
582
592
|
(0, mongoose_1.Schema)({
|
|
583
593
|
id: false,
|
|
@@ -12,6 +12,8 @@ export declare class LeadsForm {
|
|
|
12
12
|
addressGeocode: number[];
|
|
13
13
|
scenarioOption?: string;
|
|
14
14
|
code?: string;
|
|
15
|
+
createdAt?: Date | string;
|
|
16
|
+
updatedAt?: Date | string;
|
|
15
17
|
}
|
|
16
18
|
export declare const LeadsFormSchema: import("mongoose").Schema<LeadsForm, import("mongoose").Model<LeadsForm, any, any, any, import("mongoose").Document<unknown, any, LeadsForm, any, {}> & LeadsForm & {
|
|
17
19
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -97,6 +97,16 @@ __decorate([
|
|
|
97
97
|
(0, class_validator_1.IsString)(),
|
|
98
98
|
__metadata("design:type", String)
|
|
99
99
|
], LeadsForm.prototype, "code", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
102
|
+
(0, class_validator_1.IsOptional)(),
|
|
103
|
+
__metadata("design:type", Object)
|
|
104
|
+
], LeadsForm.prototype, "createdAt", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
107
|
+
(0, class_validator_1.IsOptional)(),
|
|
108
|
+
__metadata("design:type", Object)
|
|
109
|
+
], LeadsForm.prototype, "updatedAt", void 0);
|
|
100
110
|
exports.LeadsForm = LeadsForm = __decorate([
|
|
101
111
|
(0, mongoose_1.Schema)({
|
|
102
112
|
timestamps: true,
|