@likewatt/models 1.60.0 → 1.62.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/Leads.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare const LeadLimitRuleSchema: import("mongoose").Schema<LeadLimitRul
|
|
|
32
32
|
}>;
|
|
33
33
|
export declare class LeadTenantLimits {
|
|
34
34
|
subscribedPowers?: LeadLimitRule;
|
|
35
|
+
blockedDepartements?: number[];
|
|
35
36
|
}
|
|
36
37
|
export declare const LeadTenantLimitsSchema: import("mongoose").Schema<LeadTenantLimits, import("mongoose").Model<LeadTenantLimits, any, any, any, Document<unknown, any, LeadTenantLimits, any, {}> & LeadTenantLimits & {
|
|
37
38
|
_id: import("mongoose").Types.ObjectId;
|
package/dist/core/Leads.js
CHANGED
|
@@ -66,6 +66,10 @@ __decorate([
|
|
|
66
66
|
(0, mongoose_1.Prop)({ type: exports.LeadLimitRuleSchema }),
|
|
67
67
|
__metadata("design:type", LeadLimitRule)
|
|
68
68
|
], LeadTenantLimits.prototype, "subscribedPowers", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, mongoose_1.Prop)({ type: [Number], default: undefined }),
|
|
71
|
+
__metadata("design:type", Array)
|
|
72
|
+
], LeadTenantLimits.prototype, "blockedDepartements", void 0);
|
|
69
73
|
exports.LeadTenantLimits = LeadTenantLimits = __decorate([
|
|
70
74
|
(0, mongoose_1.Schema)({ _id: false })
|
|
71
75
|
], LeadTenantLimits);
|
|
@@ -3,7 +3,7 @@ export declare class CustomerInfos {
|
|
|
3
3
|
email: string;
|
|
4
4
|
firstname: string;
|
|
5
5
|
lastname: string;
|
|
6
|
-
organization
|
|
6
|
+
organization?: string;
|
|
7
7
|
phone: string;
|
|
8
8
|
}
|
|
9
9
|
export declare const CustomerInfosSchema: import("mongoose").Schema<CustomerInfos, import("mongoose").Model<CustomerInfos, any, any, any, import("mongoose").Document<unknown, any, CustomerInfos, any, {}> & CustomerInfos & {
|
|
@@ -36,8 +36,9 @@ __decorate([
|
|
|
36
36
|
__metadata("design:type", String)
|
|
37
37
|
], CustomerInfos.prototype, "lastname", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
(0, mongoose_1.Prop)({ required:
|
|
39
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
40
40
|
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
42
|
__metadata("design:type", String)
|
|
42
43
|
], CustomerInfos.prototype, "organization", void 0);
|
|
43
44
|
__decorate([
|