biz-slide-core 1.2.106 → 1.2.107
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.
@@ -27,6 +27,11 @@ export interface IPPTEmailQueueSchema {
|
|
27
27
|
pptRef: Types.ObjectId;
|
28
28
|
emailType: string;
|
29
29
|
sent: boolean;
|
30
|
+
tracking: IPPTEmailTracking;
|
31
|
+
}
|
32
|
+
export interface IPPTEmailTracking {
|
33
|
+
isOpened: boolean;
|
34
|
+
ipAddress: string;
|
30
35
|
}
|
31
36
|
export declare const PPTEmailQueueModel: import("mongoose").Model<IPPTEmailQueueSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, IPPTEmailQueueSchema> & Omit<IPPTEmailQueueSchema & {
|
32
37
|
_id: Types.ObjectId;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ppt-email-queue.entity.d.ts","sourceRoot":"","sources":["../../src/entity/ppt-email-queue.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"ppt-email-queue.entity.d.ts","sourceRoot":"","sources":["../../src/entity/ppt-email-queue.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AA2BD,eAAO,MAAM,kBAAkB;;eAAsE,CAAC"}
|
@@ -2,10 +2,18 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PPTEmailQueueModel = void 0;
|
4
4
|
const mongoose_1 = require("mongoose");
|
5
|
+
const EmailTemplateTrackingSchema = new mongoose_1.Schema({
|
6
|
+
isOpened: { type: Boolean, default: false },
|
7
|
+
ipAddress: { type: String, default: "" },
|
8
|
+
}, {
|
9
|
+
timestamps: false,
|
10
|
+
_id: false
|
11
|
+
});
|
5
12
|
const PPTEmailQueueSchema = new mongoose_1.Schema({
|
6
13
|
pptRef: { type: mongoose_1.Schema.Types.ObjectId, ref: 'ppt' },
|
7
14
|
emailType: { type: String, required: true },
|
8
|
-
sent: { type: Boolean, default: false }
|
15
|
+
sent: { type: Boolean, default: false },
|
16
|
+
tracking: EmailTemplateTrackingSchema
|
9
17
|
}, {
|
10
18
|
timestamps: true,
|
11
19
|
});
|