@likewatt/models 1.114.0 → 1.115.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 +14 -0
- package/dist/core/Leads.js +20 -1
- package/package.json +1 -1
package/dist/core/Leads.d.ts
CHANGED
|
@@ -18,6 +18,19 @@ export declare const LeadThemeConfigSchema: import("mongoose").Schema<LeadThemeC
|
|
|
18
18
|
} & {
|
|
19
19
|
__v: number;
|
|
20
20
|
}>;
|
|
21
|
+
export declare class LeadWelcomeConfig {
|
|
22
|
+
title?: string;
|
|
23
|
+
subtitle?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const LeadWelcomeConfigSchema: import("mongoose").Schema<LeadWelcomeConfig, import("mongoose").Model<LeadWelcomeConfig, any, any, any, Document<unknown, any, LeadWelcomeConfig, any, {}> & LeadWelcomeConfig & {
|
|
26
|
+
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
} & {
|
|
28
|
+
__v: number;
|
|
29
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadWelcomeConfig, Document<unknown, {}, import("mongoose").FlatRecord<LeadWelcomeConfig>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadWelcomeConfig> & {
|
|
30
|
+
_id: import("mongoose").Types.ObjectId;
|
|
31
|
+
} & {
|
|
32
|
+
__v: number;
|
|
33
|
+
}>;
|
|
21
34
|
export declare class LeadLimitRule {
|
|
22
35
|
value: number;
|
|
23
36
|
comparison: string;
|
|
@@ -51,6 +64,7 @@ export declare class LeadTenant {
|
|
|
51
64
|
subdomain: string;
|
|
52
65
|
domain: string;
|
|
53
66
|
theme?: LeadThemeConfig;
|
|
67
|
+
welcome?: LeadWelcomeConfig;
|
|
54
68
|
scenarioOptions: string[];
|
|
55
69
|
isActive: boolean;
|
|
56
70
|
limits?: LeadTenantLimits;
|
package/dist/core/Leads.js
CHANGED
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.LeadTenantSchema = exports.LeadTenant = exports.LeadTenantLimitsSchema = exports.LeadTenantLimits = exports.LeadLimitRuleSchema = exports.LeadLimitRule = exports.LeadThemeConfigSchema = exports.LeadThemeConfig = void 0;
|
|
12
|
+
exports.LeadTenantSchema = exports.LeadTenant = exports.LeadTenantLimitsSchema = exports.LeadTenantLimits = exports.LeadLimitRuleSchema = exports.LeadLimitRule = exports.LeadWelcomeConfigSchema = exports.LeadWelcomeConfig = exports.LeadThemeConfigSchema = exports.LeadThemeConfig = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const uuid_1 = require("uuid");
|
|
@@ -47,6 +47,21 @@ exports.LeadThemeConfig = LeadThemeConfig = __decorate([
|
|
|
47
47
|
(0, mongoose_1.Schema)({ _id: false })
|
|
48
48
|
], LeadThemeConfig);
|
|
49
49
|
exports.LeadThemeConfigSchema = mongoose_1.SchemaFactory.createForClass(LeadThemeConfig);
|
|
50
|
+
let LeadWelcomeConfig = class LeadWelcomeConfig {
|
|
51
|
+
};
|
|
52
|
+
exports.LeadWelcomeConfig = LeadWelcomeConfig;
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, mongoose_1.Prop)({ type: String, maxlength: 120 }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], LeadWelcomeConfig.prototype, "title", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, mongoose_1.Prop)({ type: String, maxlength: 200 }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], LeadWelcomeConfig.prototype, "subtitle", void 0);
|
|
61
|
+
exports.LeadWelcomeConfig = LeadWelcomeConfig = __decorate([
|
|
62
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
63
|
+
], LeadWelcomeConfig);
|
|
64
|
+
exports.LeadWelcomeConfigSchema = mongoose_1.SchemaFactory.createForClass(LeadWelcomeConfig);
|
|
50
65
|
let LeadLimitRule = class LeadLimitRule {
|
|
51
66
|
};
|
|
52
67
|
exports.LeadLimitRule = LeadLimitRule;
|
|
@@ -124,6 +139,10 @@ __decorate([
|
|
|
124
139
|
(0, mongoose_1.Prop)({ type: exports.LeadThemeConfigSchema }),
|
|
125
140
|
__metadata("design:type", LeadThemeConfig)
|
|
126
141
|
], LeadTenant.prototype, "theme", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, mongoose_1.Prop)({ type: exports.LeadWelcomeConfigSchema }),
|
|
144
|
+
__metadata("design:type", LeadWelcomeConfig)
|
|
145
|
+
], LeadTenant.prototype, "welcome", void 0);
|
|
127
146
|
__decorate([
|
|
128
147
|
(0, mongoose_1.Prop)({ type: [String], default: [] }),
|
|
129
148
|
__metadata("design:type", Array)
|